home *** CD-ROM | disk | FTP | other *** search
- BEGIN DDIF
- ------------------------------------------------------------------------
- -- DEVICE INFORMATION FILE for Generic HP-GL/2 plotter devices --
- ------------------------------------------------------------------------
- ------------------------------------------------------------------------
- -- ******** 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
-
- -- WARNING: This version of HPGL2 does not support 7 data bits!
-
- -- 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.HP2
-
- -- Paper sizes from the HP-GL/2 Product Comparison Guide
- -- Paper size names, in the order defined below
- 1 'A AY B C CY D DY E A4 A4Y A3 A2 A2Y A1 A1Y A0 PJA PJB PJA4 PJA3 '
- -- rotation flag for each paper size (1=rotated)
- 105 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0
-
- -- Paper size definitions (maximum 20 sizes, default size is line 201)
- -- lower-left | upper-right
- -- X Y | X Y
- -- ====== ====== ====== ======
- 201 0 0 8936 7356 -- A ( 8.80 X 7.24 in.)
- 202 0 0 6396 9896 -- AY (rotated) ( 6.30 x 9.74 in.)
- 203 0 0 15032 9896 -- B (14.80 x 6.30 in.)
- 204 0 0 21072 15032 -- C (20.74 x 14.80 in.)
- 205 0 0 15032 21072 -- CY (rotated) (14.80 x 20.74 in.)
- 206 0 0 32304 21072 -- D (31.80 x 20.72 in.)
- 207 0 0 20112 33264 -- DY (rotated) (19.80 x 32.74 in.)
- 208 0 0 42464 33264 -- E (41.80 x 32.74 in.)
- 209 0 0 9640 7120 -- A4 ( 9.49 x 7.01 in.)
- 210 0 0 6160 10600 -- A4Y (rotated) ( 6.06 x 10.43 in.)
- 211 0 0 14560 10600 -- A3 (14.33 x 10.43 in.)
- 212 0 0 22480 14560 -- A2 (22.13 x 14.33 in.)
- 213 0 0 14560 22480 -- A2Y (rotated) (14.33 x 22.13 in.)
- 214 0 0 31400 22480 -- A1 (30.91 x 22.13 in.)
- 215 0 0 21520 32360 -- A1Y (rotated) (21.18 x 31.85 in.)
- 216 0 0 45320 32360 -- A0 (44.61 x 31.85 in.)
- 217 0 0 10894 8303 -- PJA (10.72 x 8.17 in.)
- 218 0 0 16871 10832 -- PJB (16.61 x 10.66 in.)
- 219 0 0 11594 8122 -- PJA4 (11.41 x 7.99 in.)
- 220 0 0 16397 11193 -- PJA3 (16.14 x 11.02 in.)
-
- -- +--+----------- Smallest, largest pen numbers
- -- | | +-------- Do pen changing optimization { good for plotters, }
- -- | | | +------ Do pen movement optimization { bad for printers! }
- -- V V V V
- 102 0 15 1 1
-
- -- +-----+------ X,Y plotter units per inch
- -- V V
- 103 1016 1016
-
-
- 104 38 -- 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 #27#E'
- 21 'OFFLINE NR;'
- 22 'FEED PG;'
- 23 'HPGL2ON #27#%-1B'
- 24 'HPGL2OFF #27#%A'
- --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" DUPLEX'
- -- NAME(s) of Predefined string(s) or data to send BEFORE PLOT
- 29 'HPGL2ON'
- -- NAME(s) of Predefined string(s) or data to send AFTER PLOT
- 30 'HPGL2OFF'
-
- END DDIF
- END
-
-