Guide to UNIX Printing

There are four general purpose network printers available for UNIX printing. Their location, description and print queue names are listed below.

LOCATION DESCRIPTION QUEUE NAME
Room 135, Soc/Psych - PC cluster HP LaserJet 5Si MX - 24 ppm clus
Room 258, Soc/Psych - 2nd floor copy room HP LaserJet 4100 - 26 ppm copy2 (default)
Room 330MR, Soc/Psych - 3rd floor copy room HP LaserJet 5M - 12 ppm copy3
Room 014, Languages - graduate student office HP LaserJet 4Si - 17 ppm lang

By default, all UNIX printing is directed to the printer located in the second floor copy room. This includes the following common types of output:

If you wish to permanently alter the default network printer to which all of your output is sent, please indicate to Bob Jackson which printer you would like to become your new default. [Be aware that the convenience of alternate printers must be weighed against the lesser vigilance with which other printers are monitored and output is organized and secured.]

Control of Printed Output with lpr and enscript Commands

The lpr and enscript commands are used to send files to a printer. The lpr command sends output without altering it. If the file is text, then text is printed. If the file is stored in a graphical or PostScript format, lpr directs it to the printer in that format and the printer attempts to handle it. Some examples of the use of lpr are:

The enscript command is used to convert text into PostScript formatted output which is then directed to the printer. This allows for labeling, indention, font control, landscape printing, multi-column printing and other variations which add to the flexibility and convenience of output preparation. Output from interactive UNIX SAS sessions, for example, is configured to print by default using enscript landscape, 2-column printing. Following are some examples of the use of enscript: You may combine several of the above illustrated options to produce tailored printing effects. For full discussion of enscript, see the enscript man page. Note that if you apply the enscript command to a file that contains PostScript language, you will get a listing of the PostScript code, which is probably not what you want.


back
to homepage
Last Updated September 18, 2002
Bob Jackson