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

  1. BEGIN DDIF
  2. -------------------------------------------------------------------------
  3. -- DEVICE INFORMATION FILE  for Hewlett-Packard Draft Pro plotter      --
  4. --                          (D-size)                                   --
  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.HP
  34.  
  35. 1  'C A2 A B D A4 A3 A1 BS  '   -- Paper size string (must have space at end)
  36. 105 0  0 1 0 0 1  0  0  0       -- XY axis rotation flag for each paper size
  37.  
  38. -- Paper sizes
  39. 201          -10500   -7464    10500    7464     -- C
  40. 202          -11080   -7080   11080    7080     -- A2
  41. 203           -4900   -3190    4900    3190     -- A
  42. 204           -7500   -4988    7500    4988     -- B
  43. 205          -16160  -10480   16160   10480     -- D
  44. 206           -5140   -2990    5140    2990     -- A4
  45. 207           -7120   -5140    7120    5140     -- A3
  46. 208          -15500  -11080   15500   11080     -- A1
  47. 209           -7250   -4900    7250    4900     -- BS
  48.  
  49. --  +--+----------- Smallest, largest pen numbers
  50. --  |  |  +-------- Do pen changing optimization  { good for plotters, }
  51. --  |  |  | +------ Do pen movement optimization  { bad for printers!  }
  52. --  V  V  V V
  53. 102 1  8  1 1
  54.  
  55. --    +-----+------ X,Y plotter units per inch
  56. --    V     V
  57. 103 1016  1016
  58.  
  59. 104 60           -- Max pen speed
  60.  
  61. -- PREDEFINED COMMAND STRINGS
  62. -- format for these must be as follows:
  63. --    +-- string name, up to eight characters, ending with a space
  64. --    |      +-- plotter commands up to 55 characters.  Any characters
  65. --    |      |   allowable, control codes must be formatted in '#n#'-style
  66. --    |      |   notation.  This data will be sent verbatim to the plotter
  67. --    |      |   so any base conversion or bias must already be incorporated
  68. --    v         v
  69. -- 'NAME     plotter command data'
  70.  
  71. 20 'RESET    IN;'
  72. 21 'OFFLINE  NR;'
  73. 22 'FEED     PG;'
  74. --23
  75. --24
  76. --25
  77. --26
  78. --27 
  79. --28
  80.  
  81. -- PREFIX AND SUFFIX STRINGS:
  82. -- data must be in quotes (single or double) names are case sensitive
  83. -- EXAMPLE:  'RESET "some plotter data" FEED'
  84. -- NAME(s) of Predefined string(s) or data to send BEFORE PLOT
  85. --29  ''
  86. -- NAME(s) of Predefined string(s) or data to send AFTER PLOT
  87. --30  'FEED'
  88.  
  89. END DDIF
  90. END
  91.