Intermec 6100 Reference Guide

Page of 328
SECTION 6
Conversions and Interfaces
PEN*KEY
R
 6100 Computer Programmer’s Reference Guide    6-9
Adding 6805 Printer Support to PL/N Applications
These steps explain how to add 6805 Printer support to a PL/N application.
1. Install the IrDA Drivers.
For installation instructions for these device drivers, refer to the DOS IrDA
Printing paragraph, in the Supporting DOS Applications section, or the
Windows IrDA Printing paragraph, in the Supporting Windows ApplicaĆ
tions section.
EXAMPLE:
6100 CONFIG.SYS file:
buffers=50
files=99
stacks=64,256
DEVICE=D:\ELANUMP.SYS /X=C000,C400
DOS=HIGH,UMB
DEVICEHIGH=D:\ELANAPM.EXE
DEVICEHIGH=D:\NORDOSPM.EXE
DEVICEHIGH=D:\CLOCK.EXE
DEVICEHIGH=D:\PC4800.SYS LPT1 1 /I1
DEVICEHIGH=D:\PRDRV.SYS NP6805$
EXAMPLE:
100 AUTOEXEC.BAT file:
@echo off
D:\4000API.EXE /10 /16 /PC /C3
LH D:\MININET.EXE –c1 –s1152 –t0
LH D:\IRDAPDRV.EXE –fNP6805$ –b19200 –r25 –d8 –t6100
LH D:\61MOUSE.COM
C:\CALIB.EXE
C:\VROTATE.EXE 12 20 159 240 –PLN
LH D:\FONTSEL.EXE 1
C:\PSEKM0C.EXE KBDFILE.DAT
LH D:\DOSGAS.EXE 25 1 –u5000 –C
LH D:\ELANCFG.EXE /H12 /L1 /D4 /V0 /T2 /R1 /C0
LH D:\BKSP2DEL.COM
DPLNI.COM PBRRR0P.PL6 CONFIG.PLN –p –w2
2. Use PCĆPRTIO.BIN instead of PRTIO.BIN
A new PL/N driver named PCĆPRTIO. BIN supports the use of the IrDA
drivers.  Use this instead of PRTIO.BIN.  This driver can be found in
PLN4000 V1.07 or greater.
"
NOTE:
As of this writing, PC-PRTIO.BIN does not support printing to 4810/4815/4820 Printers and
PRTIO.BIN does not support the 6805 Printer.  Include only one of these drivers in a configu-
ration, not both.  Work is in progress to support all printers in a single PL/N driver.
3. Change the Printer Open Procedure
A new putctl is added to PRTIO which selects the 6805 Printer.  As of this
time, no constant is defined in PCPRCNP.
EXAMPLE:
OPEN (PRT, PRTBUF) PR_NAME
IF CONFIG.PRINTER = PRT_6805 THEN
PUTCTL (PRT) 1049
;for 6805 IR printer
ELSE
PUTCTL (PRT) PR_NPCPROT
;for 4810/4815/4820 printer
ENDIF
IF CONFIG.PRINTER = PRT_4815 THEN PAGELEN = 66
6. Conversions and
Interfaces