Printing a DVI file

Before printing a DVI file it is a good idea to select ``Page Setup'' from the File menu and make sure the paper size and orientation are correct. To print nasty.dvi choose either of the top two items in the File menu. Choosing the second item simply avoids the standard file dialog. tries to support all Macintosh printers, but it also tries to take advantage of the sophisticated features available in PostScript printers. This has often meant going against Apple's guidelines for device-independent printing, so 's printing code has had a long and interesting history! All this is half-explanation and half-apology for what might seem to be an unnecessarily complicated printing strategy. supports four(!) methods of printing a DVI file:
  1. Non-PostScript printing.
  2. Low-level PostScript printing.
  3. Standard PostScript printing.
  4. Using dvips.
Of course, most people will only ever use one or two of these methods. The printing method chosen by depends on whether or not the current printer (selected in the Chooser) is a PostScript device, and the current state of two flags in the File menu: ``Use Standard PostScript'' and ``Use DVIPS''. If ``Use DVIPS'' is ticked then ignores both the current printer and the ``Use Standard PostScript'' flag. Instead, it will call dvips to translate the DVI file into a PostScript file, as described in section [*]. If ``Use DVIPS'' is not ticked then one of the following three printing methods will be selected.

Subsections