prtscrn
Printing a screen
There are two ways to print the session window of a display emulation session:
-
Print Screen
Print Screen is available in 3270 Display sessions, 5250 Display sessions, VT Display sessions, and CICS Gateway sessions. Click File > Print Screen to immediately print the screen or part of the screen. For more information see the following topics:
-
Print Graphics
Print Graphics is available in 3270 Display sessions, 5250 Display sessions, and CICS Gateway sessions. Click File > Print Graphics to immediately print the screen or part of the screen in color.
If you selects Windows Style selection, the print will be the square made of selected start and end co-ordinates. This option is disabled if Java print mode is not enabled.
-
Print Screen Collection (3270 Display sessions only)
Print Screen Collection is available in 3270 Display sessions only. Click File > Print Screen Collection > Collect Screen to store an image of the current screen in a list of images for later printing. For more information see the following topics:
When you print host graphics (that is, a picture or a bitmap image) the image is scaled. Therefore the aspect ratio of the printed image may be different than the aspect ratio of displayed image.
The rest of this online help file covers the following topics:
- Issues with Unix-based operating systems
- Disabling the printing of a marked area (for administrators)
Issues with Unix-based operating systems
|
The Print Screen function does not work on the AIX platform due to a browser JVM problem on AIX. |
Missing Unix lp command
The Print Screen function of Host On-Demand uses a programming interface provided by Java, which does not work on some Unix-based operating systems, such as Linux. The implementation of the programming interface uses the Unix lp command, which is not available on some Unix-based operating systems.
Following is the workaround for this problem:
- Log into the system as a superuser.
- Open a terminal session to input commands from prompt.
- Change directory to the directory where lpr command is stored.
Typically, it is /usr/bin. If this is so, type
cd /usr/bin
- Create a symbolic link with the ln command. Type
ln -s lpr lp
- Log out.
- Log in to the system as a user and start a Host On-Demand display session.
- Click File > Print Screen.
- Delete the string specified for Banner Page Title. By default, it is specified like Print Screen.
- Press OK.
Menu/Toolbar fix
If the Host On-Demand Print Screen menu and toolbar option does not work on your Unix system when the output is directed to a printer, you can do the following:
- Select Print Screen from the menu bar or tool bar of the session.
- Select to send the output to FILE and enter a file name.
- Use the Unix LPR command to send the file to a network printer. The
command syntax is
LPR -Pprinterqueuefilename, for example,
.LPR -P51pcl /home/usr.txt
Disabling the printing of a marked area
Normally a user can print a marked area of the screen by following these steps:
- Use the marking rectangle to mark an area of the screen (see Marking and unmarking).
- To print the area immediately, click File > Print Screen; or
- To collect an image of the area and store it in the list of screen images, click File > Print Screen Collection > Collect Screen. Host On-Demand saves an image of the entire screen, but prints only the marked area. See Using Print Screen Collection to capture part of a screen.
You can disable the printing of a marked area, so that the entire screen is printed (or collected). When you disable this option, Host On-Demand always prints or collects the the entire screen, even if the user has marked an area using the marking rectangle.
To disable the printing of a marked area, set the HTML parameter
markedAreaPrintingEnabled to false in the Deployment Wizard
or in your client HTML page. In your client HTML page, add the parameter as
follows:
<PARAM NAME=markedAreaPrintingEnabled
VALUE=false>.