6.4
Printing Using the lp/lpr Command
Details of each command are explained.
Printing (lpr Command)
This section explains the printing procedure using the lpr command.
Format
lpr [-P<Logical Printer Name>] [-#<Copy Count>] [-s] <File Name>
-P<Logical Printer Name>
Specify a logical printer name immediately after P (with no space) to output data to the
specified printer.
If no logical printer name is specified, the logical printer lpr is selected.
-#<Copy Count>
Specify the number of copies by a numeric value from 1 to 99. If 100 or more is
specified, an error message is displayed and the specification is canceled.
If this is omitted, one copy is output.
-s
Specify this to transfer a file by a symbolic link without storing in the spool area.
Examples of use
The printing procedure using the lpr command is explained below.
Bold characters represent input character strings in each example.
Do not delete or modify the file specified by <File Name> before processing of
print request ends completely.
The lpr options other than above are ignored.
6.4 Printing Using the lp/lpr Command
185