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

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