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...
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).
Just like at home, use Print on the File menu.
- the shell
lprwith the name of a PostScript file or text file (e.g.
lpr silly.ps). You can
man lprfor 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 try
a2pswith a list of files after it, for example
a2ps EADME *.[CH]. You can also
How do I print single-sided?
-o sides=one-sided option to
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
Note that jobs sent to
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.