home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p115 / 6.ddi / DEF / PSCRIPT.DEF < prev    next >
Encoding:
Text File  |  1989-11-17  |  3.4 KB  |  81 lines

  1. BEGIN DDIF
  2. ------------------------------------------------------------------------
  3. -- DEVICE INFORMATION FILE  FOR POSTSCRIPT OUTPUT DEVICES             --
  4. --                                                                    --
  5. ------------------------------------------------------------------------
  6. -- 11/17/89 SJO Changed xmax & ymax lines 201 & 202 & added size AY
  7. -- 10-15-89 JSM Added prefix & suffix string, port information, etc.
  8. -- 10-14-89 JSM Enhanced
  9. -- 02/24/88 TAA Created
  10. ------------------------------------------------------------------------
  11. -- ******** Attention all programmers: you must document any ******** --
  12. -- ******** and all changes you make to this file at the top! ******* --
  13. ------------------------------------------------------------------------
  14.  
  15. 101 1  -- communications port number:
  16. --  0 = custom port configuration, see documentation for more information
  17. --  1 = COM1
  18. --  2 = COM2
  19. -- -1 = LPT1 (using BIOS) \
  20. -- -2 = LPT2 (using BIOS)  - these can be redirected by most networks
  21. -- -3 = LPT3 (using BIOS) /  (10k bits per second)
  22. -- -4 = LPT1 (using direct I/O) \
  23. -- -5 = LPT1 (using direct I/O) - These are very fast, but do not work
  24. --                                on all machines, and cannot be redirected
  25. --                                by any networks
  26. --                                (80k bits per second)
  27.    
  28.  
  29. --  +--+----------- Smallest, largest pen numbers
  30. --  |  |  +-------- Do pen changing optimization  { good for plotters, }
  31. --  |  |  | +------ Do pen movement optimization  { bad for printers!  }
  32. --  |  |  | |  +-- lineto buffer size (output a stroke after
  33. --  |  |  | |  |                       this many lineto's in a row)  
  34. --  V  V  V V  V
  35. 102 1  16 0 0 20
  36. --    The lineto buffer count (line 102) is used so that you may specify
  37. --    how many vectors in a single stroke can be output. This helps prevent
  38. --    overflowing printer's vector buffer, which cuases postscript devices 
  39. --    to abort plots.
  40.  
  41. -- Line font definitions in ASCII strings
  42. 2       '1 1             '           ;--font 1
  43. 3       '2 2             '           ;--font 2
  44. 4       '3 3             '           ;--font 3
  45. 5       '4 4             '           ;--font 4
  46. 6       '5 5             '           ;--font 5
  47. 7       '6 6             '           ;--font 6
  48. 8       '3 6 9 12 15 18  '           ;--font 7
  49. -- The line fonts are in the defined UNITS PER INCH - see lines 10 and 103. 
  50. -- The first number is the initial pen down, then pen up, then pen down, etc... 
  51. -- MAXIMUM LENGTH IS SIXTEEN CHARACTERS!!
  52.  
  53. -- 
  54. --  +-+- Swap x/y axis for each paper size (0 = no, 1 = yes)
  55. --  V V
  56. 105 1 0
  57. 1  'A AY '  --'SIZE' words (must have space at end)
  58.  
  59. --Plot size in UNITS PER INCH
  60. --   xmin ymin    xmax  ymax
  61. 201    75   113    3225  2465   -- ANSI Engineering A @ 300 ppi
  62. 202   113    75    2465  3225   -- ANSI Engineering AY @ 300 ppi
  63.  
  64. --  Defined plotter units per inch are:
  65. --    +---X & Y plotter units per inch
  66. --    V  
  67. 103  300
  68. 10  '300   '
  69. --    Both line 103 and line 10 should say the same thing!!
  70. --    one number is the ASCII number used to scale the postscript
  71. --    device, and the other is the number passed back into GCD to
  72. --    set up the appropriate numbers for plotting.
  73.  
  74. -- Prefix string to send before each plot
  75. -- 29 '#4#' -- control-D to clear & reset postscript device (if needed)
  76. -- Suffix string to send after each plot
  77. -- 30 ''
  78.  
  79. END DDIF
  80. END
  81.