Printing Files on Kitt Peak

The lpr command

ASCII-text files can be easily printed with the lpr command:

The default printer for each computer is the printer nearest that workstation. More options are available with the manual entry for lpr:

Here are the Kitt Peak printers and locations:

lw1 - 4 Meter Console Room
lw2 - 2.1 Meter Console Room
lw3 - bordeaux console (Admin)
lw4 - McMath-Pierce Solar Telescope
lw5 - 0.9 Meter Console Room
lw7 - WIYN Computer Room
lw8 - Admin front desk

You can also view the printer queue and remove items from the queue:

Many postscript files can also be printed on these laserwriters.

The enscript Command

Text files that have longer than standard lines may be printed on the laserprinters located throughout the mountain using the command enscript. Rotate, r, the output by 90 degrees on the page with a gaudy appearance (G) using:

The example uses the 4 Meter printer.

For a file with short lines, compact the output by printing two pages on one sheet of paper, using the -r2 option.