Department Specifics
The department's networked postscript printer is available to all
Faculty, Staff and Graduate Students. The printer is located in room
1404, and is called hp.astro.
Any ascii or postscript file does not require special formatting for the printer, and can be printed with the command 'lpr':
lepus% lpr filename
A somewhat more enhanced version of 'lpr' is 'nenscript'. This is for ascii files only. 'nenscript' allows formatting of the page, and a choice of fonts. For example, to print a document in landscape mode (90 degree rotation), in 2 columns, and with the Courier 10pt font, you would do the following:
lepus% nenscript -2r -fCourier10 filename
Please note that you (or for students, your supervisor) will be charged $0.08 per laser printed page.
Undergraduate PC Lab specifics
Attached to ungrad1 is an HP laser printer. A small fee ($0.10/page in units of 20 pages) may be charged in advance, details from your instructor. The 'PS' stands for PostScript: the language of the printer. You can send postscript files to this printer with the command lpr filename, and ascii files can be sent with the command nenscript filename.
If you have written a document in TeX (or LaTeX ), you first run TeX (LaTeX ) on the file, and a 'filename.dvi' file is created. Before you can print this '.dvi' file, you must first convert it into Postscript. To do this you use a program called 'dvips'. You can dump the output of this into a file, or directly to the printer (which is a bit more direct). The default action on lepus or the ungrads is to send the output to the printer. Use the -o option to create a file.
lepus% dvips filename.dvi
The Printing Queue and Removing Jobs: lpq, lprm
lpq will print to your screen a listing of the print queue:
Rank Owner Job Files Total Size
active astlibr2 809 TEMP.PRT 53796 bytes
1st eales 810 standard input 51266 bytes
If for some reason you needed to remove a print job from the queue, you would
use: lprm job#