home *** CD-ROM | disk | FTP | other *** search
- BEGIN DDIF
- -------------------------------------------------------------------------
- -- DEVICE INFORMATION FILE for Hewlett-Packard Draft Pro plotter --
- -- (D-size) --
- -------------------------------------------------------------------------
- ------------------------------------------------------------------------
- -- ******** Attention all programmers: you must document any ******** --
- -- ******** and all changes you make to this file at the top! ******* --
- ------------------------------------------------------------------------
-
- -- COMMUNICATIONS PARAMETERS
- -- +-- commications port number 0 = use default file name below
- -- | 1 to 4 = SERIAL ports COM1 to COM4
- -- | -1 to -3 = PARALLEL ports LPT1 to LPT3
- -- | -4 to -6 = PARALLEL ports LPT1 to LPT3
- -- | (using direct, hardware I/O)
- -- | SERIAL PORT PARAMETERS (default = 9600 baud, none, 1 stop, 8 data)
- -- | +------------------------------------------- BAUD RATE
- -- | | +------------------------------ PARITY 0 = 9600
- -- | | | +---------------- STOP BITS 0 = NONE 1 = 300
- -- | | | | +-- DATA BITS 0 = 1 1 = EVEN 2 = 1200
- -- | | | | | 0 = 8 1 = 1 2 = ODD 3 = 2400
- -- | | | | | 7 = 7 2 = 2 4 = 4800
- -- | | | | | 8 = 8 5 = 9600
- -- | | | | | 6 = 19200
- -- | | | | | 7 = 38400
- -- | | | | | 8 = 57600
- -- v v v v v
- 101 2
-
- -- DEFAULT FILE NAME to use if communication port is '0' (above)
- -- and file name or port number is not given at plot time
- 19 PD_PLOT.HP
-
- 1 'C A2 A B D A4 A3 A1 BS ' -- Paper size string (must have space at end)
- 105 0 0 1 0 0 1 0 0 0 -- XY axis rotation flag for each paper size
-
- -- Paper sizes
- 201 -10500 -7464 10500 7464 -- C
- 202 -11080 -7080 11080 7080 -- A2
- 203 -4900 -3190 4900 3190 -- A
- 204 -7500 -4988 7500 4988 -- B
- 205 -16160 -10480 16160 10480 -- D
- 206 -5140 -2990 5140 2990 -- A4
- 207 -7120 -5140 7120 5140 -- A3
- 208 -15500 -11080 15500 11080 -- A1
- 209 -7250 -4900 7250 4900 -- BS
-
- -- +--+----------- Smallest, largest pen numbers
- -- | | +-------- Do pen changing optimization { good for plotters, }
- -- | | | +------ Do pen movement optimization { bad for printers! }
- -- V V V V
- 102 1 8 1 1
-
- -- +-----+------ X,Y plotter units per inch
- -- V V
- 103 1016 1016
-
- 104 60 -- Max pen speed
-
- -- PREDEFINED COMMAND STRINGS
- -- format for these must be as follows:
- -- +-- string name, up to eight characters, ending with a space
- -- | +-- plotter commands up to 55 characters. Any characters
- -- | | allowable, control codes must be formatted in '#n#'-style
- -- | | notation. This data will be sent verbatim to the plotter
- -- | | so any base conversion or bias must already be incorporated
- -- v v
- -- 'NAME plotter command data'
-
- 20 'RESET IN;'
- 21 'OFFLINE NR;'
- 22 'FEED PG;'
- --23
- --24
- --25
- --26
- --27
- --28
-
- -- PREFIX AND SUFFIX STRINGS:
- -- data must be in quotes (single or double) names are case sensitive
- -- EXAMPLE: 'RESET "some plotter data" FEED'
- -- NAME(s) of Predefined string(s) or data to send BEFORE PLOT
- --29 ''
- -- NAME(s) of Predefined string(s) or data to send AFTER PLOT
- --30 'FEED'
-
- END DDIF
- END