BEGIN DDIF
------------------------------------------------------------------------
-- DEVICE INFORMATION FILE  FOR POSTSCRIPT OUTPUT 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

-- 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.EPS

--  +--+----------- 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.

-- 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    #4#'
--21 'OFFLINE  '
22 'FEED     SHOWPAGE#13#'
--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" DUPLEX'
-- 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  ''

END DDIF
END
