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

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