On SCO clients, the RLP commands are
lp, lpmove, cancel, and lpstat.
These commands work just like their non-RLP
counterparts when invoked with no
options and when invoked with the following supported options:
lp -dprinter_name
lp -nnumber_of_copies
lp -ttitle_to_print_on_banner
lp -irequest_id_options
modify an earlier print request of a job still in the local queue.
lp -qpriority_level
lp -Lspooler|local|live=<device>
local or spooled printing
lp -Tfile_type
type of input files
lp -olength=scaled_number
page length
lp -owidth=scaled_number
page width
lp -olpi=scaled_number
line pitch
lp -ocpi=scaled_number
character pitch
lp -ostty='stty_options'
port characteristics
lp -oother_local_options
as defined locally
lp -onofilebreak
no inter-file form feed
lp -onobanner
no banner page
lp -m | -w
mail/write when done
lp -H hold
hold -- do not print until notified. The print job will remain on the
spool on the local machine instead of going to the remote printer.
Other print requests will go ahead of a held request until it is resumed.
lp -H immediate
print the request next. The printer will attempt to print the job at queue
priority one.
lp -H resume
resume a previously held request.
lp -c
make copies first
lp -r
use no filter
lp -R
remove after spooling
lp -s
no request-id message
lpstat -aremote_printer_name
acceptance status
lpstat -oremote_printer_name
output requests status
lpstat -premote_printer_name
available printers and printer status
lpstat -plist-D
give printer description
lpstat -vremote_printer_name
pathnames of associated devices
lpstat -cclasses
show available classes
lpstat -uusers
show status of user requests
lpstat -fforms
show available forms
lpstat -Schar_sets,print_wheels
show available fonts
lpstat -d
show default destination
lpstat -l
verbose mode
lpstat -r
show status of spooler
lpstat -s
show summary status
lpstat -t
show status of everything
NOTE:
Multiple lp options specified with the -o
option must be strung consecutively within double quotes
and separated by commas. For example,
lp -o "nobanner, length=10" is valid, while
lp -o nobanner -o length=10 is not.
The variable ``all'' is allowed with the
-a, -c, -f, -o, -p,
-S, -u, -v options for
lpstat.
Only the options listed above are supported for the lp
and lpstat commands when used for remote printing.
If one or more unsupported options are specified, they are ignored
and the print job is submitted without them.
If printing is to be done locally, all of the options that are
normally available for local printing are supported.
NOTE:
On an SCO client, you must install RLP before you can
do remote printing. See
``Installing and removing RLP''
earlier in this chapter for more information.
See the
cancel(C),
lp(C),
lpmove(ADM),
and
lpstat(C)
manual pages for more information on the supported options.