The INI File: 2.23 Categories in the INI File: [printer]

Up: GEOS SDK TechDocs | Up | Prev: 2.22 [paths] | Next: 2.24 [<printer device name>]

The printer category defines all the printers configured for the system running GEOS. The printers key within this category (see below) defines the printer names, each of which must then have its own category in the INI file (see the following section under printer device name ).

count

count = <number>

This key indicates the number of printers installed.

count = 0			; no printers installed
count = 2			; two printers installed

defaultPrinter

defaultPrinter = <number>

This key specifies the number of the installed printer that will act as the default device.

defaultPrinter = 2				; printer #2 is the default

numFacsimiles

numFacsimiles = <number>

This key specifies the number of installed print devices which are actually fax drivers rather than printer drivers.

numFacsimiles = 1

numPrinters

numPrinters = <number>

This key specifies the number of installed print devices which are actually printers (as opposed to faxes or other devices).

numPrinters = 2

printers

printers = {<list of devices>}

This key defines all the installed print devices. Each entry in the list is the device name; the list must be a blob, with one printer named per line as in the example below. Each entry in the list must also have its own category defining the driver, device name, port, and type.

printers = { My Printer
		 My PostScript to file }

Up: GEOS SDK TechDocs | Up | Prev: 2.22 [paths] | Next: 2.24 [<printer device name>]