Intermec 6200 Reference Guide

Page of 410
SECTION 3
Supporting Windows Applications
PEN*KEY
R
 6200/6300 Hand-Held Computer Programmer’s Reference Guide    3-37
Required WIN.INI Entries
The sections of the WIN.INI file, that appear on the next few pages, are
necessary to setup the printer device parameters for IrDA printing:
[windows]
spooler=
DosPrint=no
device=IrDA Printer,NOR6805,LPT2.DOS (6805 specific)
spooler= tells Windows not to use Print Manager to spool printing.
DosPrint=no tells Windows not to print directly to the printer port.
device=IrDA Printer,NOR6805 (6805 specific),LPT2.DOS specifies the default
printer for Windows.
The following section of the WIN.INI file are necessary to set up the paper
parameters for the 6805 printer.
[NORAND 6805,LPT2.DOS]
PaperSize=256
SizeUnit=1
PaperWidth=480
PaperLength=1450
PaperSize= specifies the size that Windows uses.
For the 6805 printer Ċ 258 selects standard roll," which has a fixed width of
1.89 inches and a fixed length of 11 inches.  256 selects a userĆdefined paper size,
which mandates the use of the 
SizeUnit
PaperWidth
, and 
PaperLength
statements.
SizeUnit= establishes the units that specify paper width and length.  For the
6805 printer: 1" indicates a unit of 0.1 millimeter (default)
2" indicates a unit of 0.01 inch
PaperWidth= For the NORAND 6805 printer, paper width is fixed at 480
(SizeUnit=1; 48 millimeters = 1.89 inch) or 189 (for SizeUnit=2).
PaperLength= For the NORAND 6805 printer, length values can be from 60 to
2794 (6 to 279.4 millimeters for SizeUnit=1) or 24 to 1100 (0.24 to 11.00 inches
for SizeUnit=2).  A value of 1450 for SizeUnit=1 sets the length at 5.7 inches.
The following 
[PrinterPorts]
 and
 [devices]
 sections of the WIN.INI file sets
up the printer name and driver.
[devices]
NORAND 6805=NOR6805,LPT2.DOS
[PrinterPorts]
IrDA Printer=NOR6805, LPT2.DOS, 15, 45
NORAND  6805=NOR6805,LPT2.DOS,15,45 tells Windows that there is a
printer named NORAND 6805 that uses the NOR6805 printer driver to print,
using the DOS device LPT2 with 15Ćsecond device timeout and 45Ćsecond retry
timeout.
IrDA Printer=NOR6805,LPT2.DOS tells Windows that there is a printer named
IrDA Printer that uses the NOR6805 printer driver to print, using the DOS
device LPT2.  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 previously).
IrDA  Printer=NOR6805,LPT2.DOS,15,45 tells Windows that there is a printer
named IrDA Printer that uses the NOR6805 printer driver to print, using the
DOS device LPT2 with 15Ćsecond device timeout and 45Ćsecond retry timeout.
3. Windows
Applications