Xerox 6050A, 6030 manual Printing lp Command for SunOS, 243, Examples of use

Models: 6050A 6030 6050

1 332
Download 332 pages 61.49 Kb
Page 271
Image 271

Printing (lp Command) (for SunOS 5.x)

This section explains the printing procedure using the lp command.

Format

lp [-d <Logical Printer Name>] [-n <Copy Count>] [-c] <File Name>

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>.

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

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)

%lp -d plt00h -c drawa.hpgl

Example 2:To print two copies each of the files [drawb.hpgl] and [drawc.hpgl] to

logical printer [plt00h] ([raw] for 6050A)

%lp -d plt00h -c -n 2 drawb.hpgl drawc.hpgl

Example 3:To print one copy of the file [drawd.hpgl] to logical printer [plt01h] ([raw]

for 6050A)

%lp -d plt01h -c drawd.hpgl

6.5 Printing Using the lp/lpr Command

243

Page 271
Image 271
Xerox 6050A, 6030 manual Printing lp Command for SunOS, 243, Examples of use