Printing Files from the UNIX Command Line

If the file that you want to print is saved on your UNIX machine, then you can use the elpr command to send the file from your X session to Exceed onDemand Server, and then print it as you would a local file.

To print from the UNIX command line:

  1. Enable printing and specify the appropriate printing behavior for your X session. For more information, see Defining Printing Settings.
  2. Transfer the file that you want to print from your X session to Exceed onDemand Server using the elpr command:

> elpr display filename

where display is the display ID the session and filename is the name of the file you want to print.

Depending on which When Print Job(s) Available option is enabled on the Printing page of the Exceed onDemand Xconfig dialog box, the Server Files dialog box may open to prompt you to select a file for printing. If the dialog box does not open automatically, you can access it by clicking File and then Server Files from the Exceed onDemand Desktop menu. The icons to the left of the file name in the dialog box indicate the file's printability. For more information, see Exceed onDemand Server Files Dialog Box.
Note: 
  If you enabled Print Automatically for the When Print Job(s) Available option on the Printing page of the Exceed onDemand Xconfig dialog box, then all printable files are automatically sent to the default printer. In this case, the Server Files dialog box does not appear and you are not required to select files for printing. If no default printer is specified, then you are prompted to select one.

  If the Server Files dialog box is already opened, then a confirmation message appears. For printable files, click Yes to begin printing the file, or click No to cancel printing and update the Server Files dialog box with a new list of print files. For non-printable files, click Yes to print all printable files on the server, or click No to cancel printing and update the Server Files dialog box with a new list of print files.
  1. In the Server Files dialog box, select the file that you want to print and then select the appropriate file format:
  2. Print the selected file by doing the following:

Related Topics

Printing with Exceed onDemand Client

Printing Files from X Applications

Exceed onDemand Server Files Dialog Box