home *** CD-ROM | disk | FTP | other *** search
- BEGIN DDIF
- ------------------------------------------------------------------------
- -- DEVICE INFORMATION FILE FOR POSTSCRIPT OUTPUT DEVICES --
- -- --
- ------------------------------------------------------------------------
- -- 11/17/89 SJO Changed xmax & ymax lines 201 & 202 & added size AY
- -- 10-15-89 JSM Added prefix & suffix string, port information, etc.
- -- 10-14-89 JSM Enhanced
- -- 02/24/88 TAA Created
- ------------------------------------------------------------------------
- -- ******** Attention all programmers: you must document any ******** --
- -- ******** and all changes you make to this file at the top! ******* --
- ------------------------------------------------------------------------
-
- 101 1 -- communications port number:
- -- 0 = custom port configuration, see documentation for more information
- -- 1 = COM1
- -- 2 = COM2
- -- -1 = LPT1 (using BIOS) \
- -- -2 = LPT2 (using BIOS) - these can be redirected by most networks
- -- -3 = LPT3 (using BIOS) / (10k bits per second)
- -- -4 = LPT1 (using direct I/O) \
- -- -5 = LPT1 (using direct I/O) - These are very fast, but do not work
- -- on all machines, and cannot be redirected
- -- by any networks
- -- (80k bits per second)
-
-
- -- +--+----------- Smallest, largest pen numbers
- -- | | +-------- Do pen changing optimization { good for plotters, }
- -- | | | +------ Do pen movement optimization { bad for printers! }
- -- | | | | +-- lineto buffer size (output a stroke after
- -- | | | | | this many lineto's in a row)
- -- V V V V V
- 102 1 16 0 0 20
- -- The lineto buffer count (line 102) is used so that you may specify
- -- how many vectors in a single stroke can be output. This helps prevent
- -- overflowing printer's vector buffer, which cuases postscript devices
- -- to abort plots.
-
- -- Line font definitions in ASCII strings
- 2 '1 1 ' ;--font 1
- 3 '2 2 ' ;--font 2
- 4 '3 3 ' ;--font 3
- 5 '4 4 ' ;--font 4
- 6 '5 5 ' ;--font 5
- 7 '6 6 ' ;--font 6
- 8 '3 6 9 12 15 18 ' ;--font 7
- -- The line fonts are in the defined UNITS PER INCH - see lines 10 and 103.
- -- The first number is the initial pen down, then pen up, then pen down, etc...
- -- MAXIMUM LENGTH IS SIXTEEN CHARACTERS!!
-
- --
- -- +-+- Swap x/y axis for each paper size (0 = no, 1 = yes)
- -- V V
- 105 1 0
- 1 'A AY ' --'SIZE' words (must have space at end)
-
- --Plot size in UNITS PER INCH
- -- xmin ymin xmax ymax
- 201 75 113 3225 2465 -- ANSI Engineering A @ 300 ppi
- 202 113 75 2465 3225 -- ANSI Engineering AY @ 300 ppi
-
- -- Defined plotter units per inch are:
- -- +---X & Y plotter units per inch
- -- V
- 103 300
- 10 '300 '
- -- Both line 103 and line 10 should say the same thing!!
- -- one number is the ASCII number used to scale the postscript
- -- device, and the other is the number passed back into GCD to
- -- set up the appropriate numbers for plotting.
-
- -- Prefix string to send before each plot
- -- 29 '#4#' -- control-D to clear & reset postscript device (if needed)
- -- Suffix string to send after each plot
- -- 30 ''
-
- END DDIF
- END
-