User guide

Using the lpr utilities Using the lpr Utilities for DOS and UNIX
2-2
The lpr command syntax and options
This section gives the syntax for the lpr command, and lists the
required and optional information you use to submit a print job.
Syntax lpr –P <queue name> <options> <file names>
Required
Information
–P <queue name>
Identify the queue to send the jobs to.
<filenames>
Specify the names of the files to print. You must include any
filename extension when you type the filename. Using the
wildcard (*) character is not recommended.
Using the lpr options
In addition to the required information, you can use the options
listed in this section to specify the print characteristics of the
document. Some options may not be appropriate for every
printer; for example, some printers do not perform binding or
cannot accept precut tabs.
Notice that all the –C options are enclosed by double quotation
marks and parentheses. You may enter multiple options
separated by commas within those parentheses.
The –C and –J options are case-sensitive and must be entered
in uppercase, but the other options are not case-sensitive.
When you enter the optional text after the print options, shown in
angle brackets, the text string must not contain any spaces. If
you enter text that contains spaces, enclose the text with the
carat character (^).
NOTE: In addition to the extended options described in this
guide, the standard lpr options are also available. Refer to the
man pages for lpr for more information.