This is a commented sample of a printer "def" file.

The contents are distilled from the Adobe .ppd files for each printer
type. Since the .ppd files are do not necessarily describe each printer
accurately, you should run the "psizes.ps" programme (generated by
"selectdef") to the printer to determine the imageable area actually
recorded in your printer roms.  You may then change your psfprint.def
control file to identify the accurate imageable area.

The various sections of the file are separated by a line starting
with "*".  The first section describes the page sizes known to
the printer.



NEC LC-890 v47.0 (modified)             <-- printer name for selectdef
Letter                                  <-- user name (e.g.   psf -g Letter)
statusdict begin lettertray end         <-- actual postscript to select size
  612   792    18    15   599   776     <-- page dimensions
   |     |      |     |    |     +- upper right y-coord (points)
   |     |      |     |    +------- upper right x-coord
   |     |      |     +------------ lower left y-coord
   |     |      +------------------ lower left x-coord
   |     +------------------------- total page height in points
   +------------------------------- total page width in points

Legal                                   <-+-- the above is repeated for
statusdict begin legaltray end            |   each page size known
  612  1008    18    19   593   990     <-+-- to the printer
A4
statusdict begin a4tray end
  595   842    10     8   585   813
B5
statusdict begin b5tray end
  516   729    18     7   482   702
*fonts                                  <-- marker for fonts
AvantGarde-Book                         <-- real font names in font dictionary
AvantGarde-Demi                             ( these font names are shown
Bookman-Demi                                  to the user on the psf
Bookman-Light                                 usage  with:   psf -? )
Courier                                          
Helvetica
Helvetica-Narrow
NewCenturySchlbk-Roman
Palatino-Roman
Symbol
Times-Roman
ZapfChancery-MediumItalic
ZapfDingbats
*slots                                  <-- marker for paper trays
statusdict begin 1 setpapertray end     <-- how to select first tray
statusdict begin 2 setpapertray end     <-- how to select second tray  etc..
*eof                                    <-- logical eof
