6.5 Printing Using the lp/lpr Command

Details of each command are explained.

Bold characters represent input character strings in each example.

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 entering a numeric value from 1 to 99 for the 6030/6050 or 1 to 199 for the 6050A. If more than 100 for the 6030/6050 or more than 1000 for the 6050A is specified, an error message is displayed and the specification is canceled.

If nothing is entered, one copy is printed for the 6030/6050, and the default copy count is used for the 6050A.

-s

Specify this to transfer a file by a symbolic link without storing in the spool area.

Do not delete or modify the file specified by <File Name> before the processing of the print request ends completely.

The lpr options other than above are ignored.

240

Chapter 6 Ethernet Print Service (for UNIX)

Page 268
Image 268
Xerox 6050A Printing Using the lp/lpr Command, Printing lpr Command, 240, Format, Details of each command are explained