Printer Scripts
For each type of printer we have, I wrote a script that gives the user
maximum flexibility and isolates them from differences between our
machines running (BSD Unix style) SunOS 4.x and (SysV Unix style) SunOS
5.x. These scripts allow the user to print all kinds of input that tops can deal with, even compressed input, to
rearrange pages in longer documents, print little booklets, etc. Duplex
printing is supported even on printers without duplex hardware: In this
case, the scripts monitor the printer queue and instruct the user when
and how to reinsert the paper after the first sides have been printed.
The printer scripts can be controlled by options and/or environment
variables. They require tops
and for non-PostScript printers also ghostscript.
Examples of man pages:
- dj - for the HP
DeskJet (non-PostScript printer, requires ghostscript)
- lj - for the HP LaserJet IV si
(with its own duplex hardware)
- lw - for the
"nearest" laser printer finds out what type of printer it
points to; supports also an old Apple LaserWriter II NTX (without duplex
hardware).

June 26, 1996 Reiner Hammer <hammer@kis.uni-freiburg.de>