Xerox 6050A Printer User Manual


 
243
6.5 Printing Using the lp/lpr Command
Printing (lp Command) (for SunOS 5.x)
This section explains the printing procedure using the lp command.
Format
lp [-d <Logical Printer Name>
Data is output to the specified printer.
-n <Copy Count>
Specify the number of copies by entering a numeric value from 1 to 99 for 6030/
6050 and 1 to 999 for 6050A. If 100 or more is specified for the 6030/6050 or if
more than 1000 is specified for the 6050A, an error message is displayed and
the specification is canceled.
If no entry is made, one copy is output for the 6030/6050 and the default amount
of copies are output for 6050A..
-c
Specify this to create a copy of <File Name> before starting printing. A file is
then transferred. If this is omitted, a file is transferred by a link without creating a
copy of <File Name>.
Examples of use
The printing procedure using the lp command is as explained below.
Example 1:To print one copy of the file [drawa.hpgl] to logical printer [plt00h] ([raw]
for 6050A)
Example 2:To print two copies each of the files [drawb.hpgl] and [drawc.hpgl] to
logical printer [plt00h]
([raw] for 6050A)
Example 3:To print one copy of the file [drawd.hpgl] to logical printer [plt01h] ([raw]
for 6050A)
Do not delete or modify the file specified by <File Name> before the
processing of the print request ends completely.
% lp -d plt00h -c drawa.hpgl
% lp -d plt00h -c -n 2 drawb.hpgl drawc.hpgl
% lp -d plt01h -c drawd.hpgl
lp [-d <Logical Printer Name>] [-n <Copy Count>] [-c] <File Name>