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 Connection Server, and then print it as you would a local file.
To print from the UNIX command line:
- Enable printing and specify the appropriate printing behavior for your X session. For more information, see Defining Printing Settings.
- Transfer the file that you want to print from your X session to Exceed Connection Server using the elpr command:
-
-
> elpr display filename
-
where display is the display ID of 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 Connection 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, you are prompted to select one. |
|
|
If the Server Files dialog box is already opened, 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. |
- In the Server Files dialog box, select the file that you want to print and then select the appropriate file format:
- AutoExceed onDemand attempts to select the appropriate file format.
- BinaryRecommended for printing file types other than text.
- ASCIIRecommended for printing text files (.txt or.ps).
- Print the selected file by doing the following:
- To print a printable file (a .txt or .ps file), click Print. The selected file is automatically sent to the default printer. Alternatively, you can click Open to preview, or Save to save the file to your local machine before printing the file.
- To print a non-printable file (a file other than .txt or .ps), you must first open the file using an application that supports it by clicking Open. You can then print the file from within the application. Alternatively, you can click Save to save the file to your local machine before opening and printing the file.
Related Topics
Printing with Exceed onDemand Client
Printing Files from X Applications
Exceed Connection Server Files Dialog Box