The following example shows how to issue an LPR command from Linux Red Hat.
From the command prompt, the syntax is as follows:
LPR -Pprinter@server [-Cclass] [-Jjobname] [-Zoption] filename
where:
Specifies the printer queue name, and the name or IP address of the server where the printer resides. The values are combined by the @ symbol. (The printer queue definition should match the LPDDEST QDEST parameter.)
Is not used (if specified, it is ignored).
Specifies the name of this job.
Is not used (if specified, it is ignored).
Specifies the name of the file to be printed.
Following is a sample command:
LPR -Plpdprtr@LPDHost -Jlpdjob sample.reporta.doc
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|