z/OS Infoprint Server User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Using the LPR command

z/OS Infoprint Server User's Guide
SA38-0695-00

Using the LPR command

Some Windows systems provide an LPR command, which you can use to print on any printer defined to Infoprint Server in the Printer Inventory. The LPR command lets you print a file directly without using a Windows application that supports printing.

To use the LPR command, the administrator must have configured the Infoprint Server LPD to listen at port 515. If the Infoprint Server LPD listens at a different port, use the print command instead. To use the print command, you must configure the Infoprint Port Monitor to submit print requests to the port at which the Infoprint Server LPD is listening.

You can specify this command and these options when you print using Infoprint Server:

LPR  -S server -P printer -J job file
server
Specifies the IP address or host name of the z/OS system on which Infoprint Server is running.
printer
Specifies the name of the printer definition in the Printer Inventory. This name is case-sensitive.
job
Specifies a job name that is printed as the title on a separator page. Whether the title is printed depends on how the administrator has configured the printer's separator page. If the file is sent to an email destination, this job name is used as the subject of the email.
file
Specifies the name of the file you want to print or send to an email destination.

Infoprint Server does not support or require these LPR options:

-C class
Infoprint Server does not support this option. It is ignored if specified.
-d
The LPR sends the data file first. Infoprint Server supports this option. However, IBM® suggests that you do not specify it for large files or files that need to be transformed to another data format because it can hurt system performance.
-o option
Indicates the type of print file. This option is not required because Infoprint Server automatically detects the type of file.
-x
Infoprint Server does not support this option.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014