GEOS SDK TechDocs
|
|
2.23 [printer]
|
2.25 [screen 0]
Each printer defined in the printers key of the printer category (see above) must have its own category. The name of the category must be the same as the printer named in the installed printers list of the printer category. The keys below define the printer's characteristics.
baudRate = <number>
This key defines the printer's communication rate, for those printers which communicate via a serial connection.
device = <device name>
This key defines the device name of the installed print device.
device = Apple LaserWriter Plus v38.0 (PostScript)
driver = <file name>
This key defines the print driver used for the installed print device.
driver = PostScript driver
handshake = <hardware, software>
This key indicates the type of handshake used by the printer for those printers which communciate via a serial connection. It must be one of the values specified above.
handshake = hardware handshake = software
parity = <none, even, odd, mark, space>
This key indicates the printer's parity type for those printers which communicate via a serial connection. It must be one of the values shown above.
parity = none parity = even
port = <port name>
This key specifies the port to which the device is attached. This must be one of the values shown in the following examples.
port = LPT1 port = LPT2 port = LPT3
port = COM1 port = COM2 port = COM3 port = COM4
port = FILE
stopBits = <number>
This key specifies the number of stop bits used by the printer for those printers which communciate via a serial connection. This should be 1, 1.5, or 2.
stopBits = 1 stopBits = 1.5 stopBits = 2
type = <number>
This key defines the type of device this installed print device is. The number indicates the PrinterDriverType as defined in spool.goh .
type = 0 ; PDT_PRINTER type = 3 ; PDT_CAMERA
wordLength = <number>
This key indicates the communication word length for those printers which communciate via a serial connection. This should be a number between five and eight inclusive.
wordLength = 8
GEOS SDK TechDocs
|
|
2.23 [printer]
|
2.25 [screen 0]