home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p120 / 3.ddi / DEF / BEN1625.DEF < prev    next >
Encoding:
Text File  |  1991-07-22  |  3.7 KB  |  94 lines

  1. BEGIN DDIF
  2. ------------------------------------------------------------------------
  3. -- DEVICE INFORMATION FILE  for Benson 16 Series plotters             --
  4. ------------------------------------------------------------------------
  5. ------------------------------------------------------------------------
  6. -- ******** Attention all programmers: you must document any ******** --
  7. -- ******** and all changes you make to this file at the top! ******* --
  8. ------------------------------------------------------------------------
  9.  
  10. -- COMMUNICATIONS PARAMETERS
  11. --   +-- commications port number  0        = use default file name below
  12. --   |                   1 to  4  = SERIAL ports COM1 to COM4 
  13. --   |                  -1 to -3  = PARALLEL ports LPT1 to LPT3
  14. --   |                  -4 to -6  = PARALLEL ports LPT1 to LPT3
  15. --   |                              (using direct, hardware I/O)
  16. --   |     SERIAL PORT PARAMETERS (default = 9600 baud, none, 1 stop, 8 data)
  17. --   |   +------------------------------------------- BAUD RATE   
  18. --   |   |  +------------------------------ PARITY     0 =  9600              
  19. --   |   |  |  +---------------- STOP BITS   0 = NONE  1 =   300           
  20. --   |   |  |  |  +-- DATA BITS   0 = 1         1 = EVEN  2 =  1200           
  21. --   |   |  |  |  |    0 = 8      1 = 1         2 = ODD   3 =  2400           
  22. --   |   |  |  |  |    7 = 7      2 = 2                4 =  4800           
  23. --   |   |  |  |  |    8 = 8                   5 =  9600           
  24. --   |   |  |  |  |                           6 = 19200           
  25. --   |   |  |  |  |                           7 = 38400           
  26. --   |   |  |  |  |                           8 = 57600
  27. --   v   v  v  v  v
  28. 101  2
  29.  
  30. -- DEFAULT FILE NAME  to use if communication port is '0' (above)
  31. -- and file name or port number is not given at plot time
  32. 19 PD_PLOT.BEN
  33.  
  34. 1  'B A C D E A4 A3 A2 A1 A0 BS  ' -- Paper size strings (must have space at end)
  35.  
  36. 105 0 1 1 0 0  1  0  1  0  0  0    -- XY axis rotation flag for each paper size
  37.  
  38. -- Paper sizes
  39. 201          0       0    7500    4900  -- B
  40. 202          0       0    4900    3190  -- A
  41. 203          0       0   10480    7485  -- C
  42. 204          0       0   17535   10285  -- D
  43. 205          0       0   21250   16580  -- E
  44. 206          0       0    5230    3090  -- A4
  45. 207          0       0    7180    5240  -- A3
  46. 208          0       0   11180    7270  -- A2
  47. 209          0       0   15520   11160  -- A1
  48. 210          0       0   22190   16145  -- A0
  49. 211          0       0    7000    4900  -- BS
  50.  
  51. --  +--+----------- Smallest, largest pen numbers
  52. --  |  |  +-------- Do pen changing optimization  { good for plotters, }
  53. --  |  |  | +------ Do pen movement optimization  { bad for printers!  }
  54. --  V  V  V V
  55. 102 1  8  1 1
  56.  
  57. --    +-----+-------- X,Y plotter units per inch
  58. --    V     V
  59. 103  508   508
  60.  
  61. 104  60            -- Max pen speed
  62.  
  63. -- PREDEFINED COMMAND STRINGS
  64. -- format for these must be as follows:
  65. --    +-- string name, up to eight characters, ending with a space
  66. --    |      +-- plotter commands up to 55 characters.  Any characters
  67. --    |      |   allowable, control codes must be formatted in '#n#'-style
  68. --    |      |   notation.  This data will be sent verbatim to the plotter
  69. --    |      |   so any base conversion or bias must already be incorporated
  70. --    v         v
  71. -- 'NAME     plotter command data'
  72.  
  73. 20 'RESET    RE #13##10#'
  74. 21 'OFFLINE  OP 1#13##10#'
  75. 22 'FEED     GW 20 1 1 18#13##10#'
  76. --23
  77. --24
  78. --25
  79. --26
  80. --27 
  81. --28
  82.  
  83. -- PREFIX AND SUFFIX STRINGS:
  84. -- data must be in quotes (single or double) names are case sensitive
  85. -- EXAMPLE:  'RESET "some plotter data" FEED'
  86. -- NAME(s) of Predefined string(s) or data to send BEFORE PLOT
  87. --29  ''
  88. -- NAME(s) of Predefined string(s) or data to send AFTER PLOT
  89. --30  'FEED'
  90.  
  91. END DDIF
  92. END
  93.  
  94.