Physics Computing

Bureau of Mines Printing

Bureau of Mines has several printers available for use. Below is a table of printer names, and where they are.

Printer NameLocationComment
bom00lpBOM room 110
bom01lpBOM room 212
bom02lpBOM room 212Color
Currently not functional
bom03lpBOM room 217
bom04lpBOM room 200

For most computers, the default should be bom00lp for people on the first floor, bom01lp for people on the second floor, and bom04lp for people in room 200.

Printing

Printing can be done from most any printing enabled application. Additionally, the lpr command can be used to submit printing jobs from the command line. The syntax is
lpr filename
The lpr command accepts many common formats of files to print, including postscript, pdf, most common image formats, and plain text.

Full documentation for using CUPS, the common unix printing system, can be found at http://localhost:631/sum.html if your computer is currently running cups.

Specifying a different printer

To change the default printer, most applications will let you choose which printer to use. To specify a printer on the command line, use this syntax:
lpr -P printer filename
So to print to the color printer, I would use:
lpr -P bom02lp filetoprint.ps

Printing Duplex

bom00lp and bom01lp I know have duplex, the others may also. To print duplex from the command line, use the following argument to the lpr command:
lpr -o sides=two-sided-long-edge filename
Be careful when typing this, any typo will cause lpr to silently ignore the syntax error and print normally, using twice as many sheets of paper.

Printing more than one page per sheet

lpr also has an option for printing 2, 4, 6, 9, and even 16 pages on each sheet of paper. The syntax is:
lpr -o number-up=2 filename
With the appropriate number instead of 2.

To combine more than one -o option to lpr, specify a second -o option, as thus:
lpr -o number-up=2 -o sides=two-sided-long-edge filename
That will print two pages on each side of each sheet of paper.