SECTION 3
Supporting Windows Applications
3-38 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
Required SYSTEM.INI Entries
[boot]
drivers= power irda pen penwindows scanner npcp
drivers=
tells Windows to load the installable drivers. This list of drivers is the
standard driver list (in the required order). The significant driver here, is irda.
This is just a token name for the driver. The actual driver name is specified in
the following [drivers] section of the SYSTEM.INI file:
[drivers]
irda=norirda.drv
irda=
tells Windows the actual name of the installable driver named in the [boot]
section of the SYSTEM.INI file.
[IRDA Driver]
deviceName=LPT2
UARTAddress=0x2f8
UARTIRQ=3
Technology=6300
PrinterFlush=TRUE
DeviceName=
is the name of the printer device to output to (LPT1, LPT2, or
LPT3). This option must match the settings in WIN.INI (listed previously).
UARTAddress=
used to set the base address on which the driver looks for the IR
UART. The correct setting is 0x2f8 for COM2.
UARTIRQ=
used to set the IRQ line on which the UART interrupts. The correct
setting is 3 (COM2).
Technology=
sets the type of the handĆheld computer. The correct setting is
PENKEY.
PrinterFlush=
tells Windows to flush the printer's input buffer, as part of the
printer initialization stream.
The following section of the SYSTEM.INI file sets up the parameters for the
NORAND 6805 printer:
[NORAND 6805 Printer]
DoGraphicsOnly=FALSE
Timeout=10
WakeupChars=200
DoGraphicsOnly=
forces the drivers to use Graphics commands for the entire
document. The default value is FALSE. Valid settings are TRUE and FALSE
(that is, graphics commands are used whenever device fonts are not used).
Timeout=
sets idle time in seconds for a period of printer inactivity, after which a
wakeup is issued to the printer. Valid settings are 10 to 50.
Default is 10.
WakeupChars=
controls the number of NULL characters that are sent to the
printer after the Initialize command, for it to wake up properly. The default
value is 200. Valid settings are 200 to 500. Setting a lower value may disrupt
graphics printing, resulting in garbled output to printer.
3. Windows
Applications