Infocenter

Printing a screen

Overview
Issues with Unix-based operating systems
Setting the printable area (for administrators)

Overview

You can only print screens to printers installed on your desktop. When you print a host graphics screen, the image is scaled to print on paper; therefore, print quality may be degraded.

To print a terminal emulator session screen, click File > Print screen. Before printing a screen, however, you can optionally set the following printing parameters:

The Page Setup and Print Setup commands are available only on browsers that support Java 2.

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
Menu/Toolbar fix

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:

  1. Log into the system as a superuser.
  2. Open a terminal session to input commands from prompt.
  3. Change directory to the directory where lpr command is stored. Typically, it is /usr/bin. If this is so, type
     cd /usr/bin
  4. Create a symbolic link with the ln command. Type
     ln -s lpr lp
  5. Log out.
  6. Log in to the system as a user and start a Host On-Demand display session.
  7. Click File > Print Screen.
  8. Delete the string specified for Banner Page Title. By default, it is specified like Print Screen.
  9. 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:

  1. Select Print Screen from the menu bar or tool bar of the session
  2. Select to the send the output to FILE and enter a file name
  3. Use the Unix LPR command to send the file to a network printer. The command syntax is:

    LPR -Pprinterqueue filename

    For example,

    LPR -P51pcl /home/usr.txt

Setting the printable area

Users can print the entire presentation space of their Host On-Demand windows when no area is marked using a trim-rectangle. If there is a marked area, only that portion of the presentation space is printed out.  So that users can print the entire presentation space even when there is a marked area, set the markedAreaPrintingEnabled HTML parameter to false in your client HTML page. For example, set:

<PARAM NAME=markedAreaPrintingEnabled VALUE=false>.

The default value is true.



Related topics: