Where can I print to?
Undergraduate CS-related coursework can be printed to bw1, the printer in the back of the Sunlab. For more information on departmental printing policies, click here.
How do I print from...
- XEmacs
Use Print or Pretty Print on the File menu. The second one gives you fancy headers with the name of the file, page numbers, and the date and time printed. - Dr. Racket
User Print Definitions on the File menu (or Print Interactions if you want the interactions). - Mozilla
Just like at home, use Print on the File menu. - the shell
Uselpr
with the name of a PostScript file or text file (e.g.lpr HappyMonkey.java
orlpr silly.ps
). You canman lpr
for more help on this. - the shell, but lots of files at once
To print a bunch of files in one directory and make them pretty (to hand in, for example), you might want to trya2ps
with a list of files after it, for examplea2ps *.java
ora2ps EADME *.[CH]
. You can alsoman a2ps
.
How do I print single-sided?
Add the -o sides=one-sided
option to lpr
.
The print queue
You can get a list of the jobs waiting in a print queue with the lpq
command. You can use the -P
option to see a print queue other than bw1
. man lpq
Note that jobs sent to cis
and cissingle
both end up in the same queue.
If you submit a print job by accident, you can cancel it with the lprm
command. Each time you run lprm
, it removes one of your jobs from the queue. man lprm