Printing remotely over TCP/IP

SCO OpenServer clients

On SCO OpenServer 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 -L spooler|local|live=<device>
local or spooled printing

lp -T file_type
type of input files

lp -o length=scaled_number
page length

lp -o width=scaled_number
page width

lp -o lpi=scaled_number
line pitch

lp -o cpi=scaled_number
character pitch

lp -o stty='stty_options'
port characteristics

lp -o other_local_options
as defined locally

lp -o nofilebreak
no inter-file form feed

lp -o nobanner
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 -p list -D
give printer description

lpstat -vremote_printer_name
pathnames of associated devices

lpstat -c classes
show available classes

lpstat -u users
show status of user requests

lpstat -f forms
show available forms

lpstat -S char_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 OpenServer 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.

Next topic: For more about remote line printing
Previous topic: 4.3BSD clients

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007