4
4-2
Printing with UNIX Workstations
•
On a system running Solaris 2 or any System V implementation of UNIX, use the lpr
command to send a job to the DocuColor as follows:
lpr -d <printername> {-n <-#copies>} <filename>
For example, if the Print queue of your DocuColor is named
print_Server
, your file is
named
Sample
, and you want to print two copies, type:
lpr -d print_Server -n 2 Sample
T
O
DISPLAY
A
LIST
OF
JOBS
IN
THE
QUEUE
:
•
On a system running SunOS 4 or another BSD-based variant, use the lpq command to
see printer jobs in the queue as follows:
lpq <-Pprinter>
For example, if the Print queue of your DocuColor is named
print_Server
, type:
lpq -Pprint_Server
Your workstation displays the contents of the queue.
•
On a system running Solaris 2 or any System V implementation of UNIX, use the lpstat
command to see printer jobs in the queue as follows:
lpstat -o <printername>
For example, if the Print queue of your DocuColor is named
print_Server
, type:
lpstat -o print_Server
Your workstation displays the contents of the queue.
T
O
REMOVE
JOBS
FROM
THE
QUEUE
:
N
OTE
:
Unless you log in as the
root
user, you can remove only your own jobs.
•
On a system running SunOS 4 or another BSD-based variant, use the lprm command to
remove jobs from the queue as follows.
lprm <-Pprinter> <job #…>