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

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