home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume12 / psf2 / part02 / sample.def < prev   
Encoding:
Text File  |  1990-05-19  |  2.3 KB  |  54 lines

  1. This is a commented sample of a printer "def" file.
  2.  
  3. The contents are distilled from the Adobe .ppd files for each printer
  4. type. Since the .ppd files are do not necessarily describe each printer
  5. accurately, you should run the "psizes.ps" programme (generated by
  6. "selectdef") to the printer to determine the imageable area actually
  7. recorded in your printer roms.  You may then change your psfprint.def
  8. control file to identify the accurate imageable area.
  9.  
  10. The various sections of the file are separated by a line starting
  11. with "*".  The first section describes the page sizes known to
  12. the printer.
  13.  
  14.  
  15.  
  16. NEC LC-890 v47.0 (modified)             <-- printer name for selectdef
  17. Letter                                  <-- user name (e.g.   psf -g Letter)
  18. statusdict begin lettertray end         <-- actual postscript to select size
  19.   612   792    18    15   599   776     <-- page dimensions
  20.    |     |      |     |    |     +- upper right y-coord (points)
  21.    |     |      |     |    +------- upper right x-coord
  22.    |     |      |     +------------ lower left y-coord
  23.    |     |      +------------------ lower left x-coord
  24.    |     +------------------------- total page height in points
  25.    +------------------------------- total page width in points
  26.  
  27. Legal                                   <-+-- the above is repeated for
  28. statusdict begin legaltray end            |   each page size known
  29.   612  1008    18    19   593   990     <-+-- to the printer
  30. A4
  31. statusdict begin a4tray end
  32.   595   842    10     8   585   813
  33. B5
  34. statusdict begin b5tray end
  35.   516   729    18     7   482   702
  36. *fonts                                  <-- marker for fonts
  37. AvantGarde-Book                         <-- real font names in font dictionary
  38. AvantGarde-Demi                             ( these font names are shown
  39. Bookman-Demi                                  to the user on the psf
  40. Bookman-Light                                 usage  with:   psf -? )
  41. Courier                                          
  42. Helvetica
  43. Helvetica-Narrow
  44. NewCenturySchlbk-Roman
  45. Palatino-Roman
  46. Symbol
  47. Times-Roman
  48. ZapfChancery-MediumItalic
  49. ZapfDingbats
  50. *slots                                  <-- marker for paper trays
  51. statusdict begin 1 setpapertray end     <-- how to select first tray
  52. statusdict begin 2 setpapertray end     <-- how to select second tray  etc..
  53. *eof                                    <-- logical eof
  54.