UNIX Printing Resources The printers available to users of ITS
Unix systems are located in the ITS Center. There are 4 Xerox Phaser 5400
printers, capable of both simplex (one-sided) and
duplex (two-sided) printing. The printers are located in a row
behind the help desk. They are labeled with the numbers 1-4. There are 2
Pharos Printing System stations adjacent to the printers for ordering jobs
to be printed. Pharos is a "pay for print" system.
By default, all printing is duplex, unless the user specifies
otherwise.
Print command
- lp
- duplex (double-sided) printing for both Postscript and ASCII files
Options:
- -Psimplex
- simplex (single-sided) printing instead of duplex
- -Pduplex
- duplex (double-sided) printing; this is the default setting.
Printing a file To
print a file, use the lp command, followed by the name of the file you
want to print. For example: lp
myfile.c would produce a duplex (two-sided) printed
copy of the file myfile.c. You can change your default
printer using the -P option with the lp
command. For example: lp -Psimplex
myfile.c would produce a simplex (one-sided) printed
copy of the file myfile.c.
To override the default printing method, use the LPDEST
environment
variable. For example:
setenv LPDEST simplex
would change default printing from duplex to simplex for the remainder
of the interactive session. To permanently override the default print,
add this line, or other valid setenv LPDEST option,
to your .login file.
Checking the printer status
To check the status of printer queues, use the
"lpstat" command.
Without options, lpstat shows the status of the currently
defined
default queue. For example:
lpstat -D itsbwfd
would show the status of the simplex queue.
Removing a file from the queue
If you have queued a file for printing and later decide you
do not want it to print, use the lprm command. Use
lpq
(with any appropriate options) to determine your job number.
Then use lprm with that job number to remove the job from the
queue. For example:
lprm -Psimplex 1234
would remove job number 1234 from the simplex queue.
See also:
lp(1), lpstat(1), lprm(1)
Last updated October 07, 2005
Questions or corrections?
problem@mail.rochester.edu
|