Previous Topic: Transferring Files Using Native LPRNext Topic: LPR Syntax: Linux


LPR Syntax: Windows

Important! For Windows platforms, the OS/390 Printer Port Monitor cannot be used because it will convert the print file to PCL, PostScript, AFP, or Text.

The following example shows how to initiate the LPR command from a Windows machine:

From the command prompt, the syntax is as follows:

LPR -Sserver -Pprinter [-Cclass] [-Jjobname] [-Ooption] filename

where:

-Sserver

Specifies the name or IP address of the remote LPD.

-Pprinter

Specifies the name of the printer queue (see LPDDEST QDEST parameter).

-Cclass

Is not used (if specified, it is ignored).

-Jjobname

Specifies the name of this job.

-Ooption

Is not used (if specified, it is ignored).

Filename

Specifies the name of the file to be printed.

Following is a sample command:

LPR -SLPHost -Plpdprtr -Jlpdjob sample reporta doc