SECTION 3
Supporting Windows Applications
3-24 PEN*KEY
R
6100 Computer Programmer’s Reference Guide
NPCP Printer=NOR4800,LPT1.DOS,15,45
tells Windows that there is a printer
named
NPCP Printer
that uses the NOR4800 printer driver to print, using the
DOS device LPT1 with 15Ćsecond device timeĆout and 45Ćsecond retry timeĆout.
[devices]
NPCP Printer=NOR4800,LPT1.DOS
NPCP Printer=NOR4800, LPT1.DOS
tells Windows that there is a printer
named
NPCP Printer
that uses the NOR4800 printer driver to print, using the
DOS device LPT1. This section is included for compatibility with older Windows
applications and should match the entry in the
[PrinterPorts]
section of the
WIN.INI file (listed above).
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 order that it needs to be). The significant driver here,
is
npcp
. This is just a token name for the driver. The actual driver name is speĆ
cified in the following [
drivers
] section of the SYSTEM.INI file:
[drivers]
npcp=nornpcp.drv
npcp=
tells Windows the actual name of the installable driver named in the
[boot]
section of the SYSTEM.INI file (listed above).
[NPCP Driver]
PrtPort= 0
deviceName=LPT1
CommAddress=0x318
CommVector=0x0C
FIFODepth=16
PrtPort=
PrtPort specifies the printer port to use; 0=LPT1, 1=LPT2, 2=LPT3.
This option must match the options set in the CONFIG.SYS file and the
WIN.INI file (above).
deviceName=
name of printer device to output to (LPT1, LPT2, or LPT3).
ComAddress=
Communications port address.
ComVector=
Communications IRQ vector.
FIFODepth=
Determines FIFO usage on UART.
Usage
Communications Port Usage
The NPCP printer driver uses COM1 communication hardware directly. The
COM1 hardware is initialized and the external RSĆ232 driver hardware is powĆ
ered on, thus allowing the driver a free and clean" data path to the printer.
This makes it necessary to be careful when sharing the COM1 hardware with
any other driver. Currently, there is no method of arbitrating COM1 access, so
drivers must be enabled and disabled only when they are needed. This means
that printing in the background and trying to use another driver that talks to
the COM1 hardware causes undetermined problems.
3. Windows
Applications
Содержание PEN*KEY 6100
Страница 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Страница 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Страница 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Страница 112: ...SECTION 4 Power Management 4 10 PEN KEYR 6100 Computer Programmer s Reference Guide 4 Power Management ...
Страница 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...