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

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