
lpr and lp
UNIX Printing Software Administration and Installation Guide
8/25/02
5-73
•
System V-based Printing
Users Using UNIX systems that are based on the SYSTEM V derivative must
enter the lp command at the command line to send files to the spooler daemon for
printing.
# lp -dprinter filename
where
printer
is the name of the print queue created by the system
administrator using
lpadmin
,
SMIT
or another System V related utility.
where
filename
is the name of a file that you would like to print using the
queued printer.
Example:
#
lp -dCopyroom_40 Test2.txt
The
-d
flag indicates the print queue name for the print job.
i
The installation script lpspr_install prompts you to select a path for
LPRCOM
and
a flag for
LPRFLAG
.
LPRCOM
is a program file that sends flags to the spooler daemon for printing. It
has a default path of /usr/bin/lpr. You can accept the default path by pressing
RETURN
, or you can provide a new one at the command line.
LPRFLAG
is an
LPRCOM
flag that is usually followed by the print queue name.
The flag that you select for
LPRFLAG
will depend upon your UNIX printing
subsystem. If it is a BSD-derivative, press
RETURN
to select the default flag
-P
.
However, if the subsystem is a SYSTEM V derivative, you must change the
default flag to
-d
.
Содержание B6100n
Страница 1: ...OKI DATA 81 3ULQWLQJ 6RIWZDUH GPLQLVWUDWLRQ DQG QVWDOODWLRQ XLGH...
Страница 6: ...vi8 25 02 UNIX Printing Software Administration and Installation Guide Contents...
Страница 106: ...6 1008 25 02 UNIX Printing Software Administration and Installation Guide Chapter 6 Running the Software...