SECTION 6
Conversions and Interfaces
6-8 PEN*KEY
R
6100 Computer Programmer’s Reference Guide
KBDIO
The current font files used with FONTMAP.EXE generate different display sizes
than those fonts supported on the 4000 Series. Applications that use
GETCTL 3
(KB_PHYSIZE)
need to do the following:
"
Include code to handle the new display size generated by FONTSEL.EXE.
Applications that support multiple display sizes most commonly check the
display size in menu functions or other places where a larger screen is used.
MEMIO
Because the PEN*KEY 6000 Series Computer has a reset switch, to maintain
data integrity, the application must make sure that all file writes are committed
to disk. Because of DOS disk buffers and the fact that DOS does not update the
directory entry for a file with each write, a new standard routine, IPFCMT6, is
provided. This routine flushes DOS buffers and updates the directory entries for
all open files. Applications should call this routine at the completion of every
transaction; for example, a sales invoice. IPFCMT6 is described under
New
Standard Routines
paragraph, on page 6Ć10.
All files that are written by OUT instead of PUT require additional measures to
properly commit them to disk. The use of OUT causes MEMIO to do buffering of
its own. To cause MEMIO to flush its buffers, close and reopen these files. AlterĆ
natively, replace all OUT statements with calls to the standard routine
PZUFT1P, which ensures that partial buffers are written correctly.
PRTIO
The 4805 Endcap Printer is not supported on the PEN*KEY 6000 Series platĆ
form. Remove references to PUTCTL 1047 (PR_4805) as well as any other code
that is specific to the 4805 Printer.
RCT printers, e.g. NP207 and NP111, are not supported on the PEN*KEY 6000
Series platform. Remove references to PUTCTL 1044 (PR_NONNPCP) as well
as any other code that is specific to these printers.
Set PRT.LAST = 256 or 0 at the start of a report. Many applications set
PRT.LAST = 256 when a formfeed is done to reset the line counter. This causes
problems on the PEN*KEY 6000 Series platform. Instead, set PRT.LAST = 257
after the first line of the page printed.
The standard routine PGWTE1P should be used at the end of each report to wait
for the printer completion, or printer errors might be missed.
The standard routines PGAPR2P/PGPER2P should be used. Some applications
may still be using the older routines PGAPR1P/PGPER1P.
SYSIO
Remove references to PUTCTL 1026 (SY_POWER_ON) and PUTCTL 1027
(SY_OFF_POWER). These were used on a 4000 Series Platform to enable the
internal modem. Remove any references to the internal modems for the 4000
Series Platform.
XLMEMIO
XLMEMIO is not supported on the PEN*KEY 6000 Series platform. ApplicaĆ
tions must be converted to be DOSĆcompatible.
6. Conversions and
Interfaces
Summary of Contents for PEN*KEY 6100
Page 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Page 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Page 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Page 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...