Appendix C I Installable Device Drivers
Whenever you boot
the
system, KEYCNVRT.SYS converts
the
following keyboard codes:
Key
Slash
(I)
Vert. Line (I)
Tilde n
Single Left quote
(')
minus (- ) (DELETE NUMLOCK)
plus (
+) (INSERT NUMLOCK)
Tandy
Scan
ASCII
Code
475C
4B7C
487E
5060
532D
552B
Converted
Te
2B5C
2B7C
297E
2960
4A2D
4E2B
) i
. ,
I
'----'
LPDRVR.SYS
(For
Extended
Printer
Capabilities)
The loadable printer driver extends
the
useable capabilities of a
Tandy printer. The functions of LPDRVR are:
•
Set
the
number of lines per page
•
Set
vertical
tabs
•
Set
the
form feed function
•
Set
horizontal
tabs
• Tab horizontally
•
Set
the
skip perforation function
• Cancel
the
skip perforation function
• Ignore
the
next n codes
• Reset
the
printer driver
• Convert a single
code
into a series of printer codes
• Repeat
n characters
• Suppress
the
line feed function
Include
this
DEVICE command
in
your CONFIG.8YS file to
install
the
printer driver:
DEVICE =LPDRVR.SYS
Next, look
up
the
function's control code sequence
in
the
Printer
Control Codes table
in
this
section. Then find
the
equivalent
ASCII code(s)
in
the
ASCII Character Code table
in
Appendix A.
For example,
the
control code needed to
set
lines per page is
ESCAPE
C;n. The ASCII equivalent of ESCAPE is 27. The
ASCII equivalent of C is 67.
n is
the
number of lines.
Finally, send
the
control code sequence,
in
ASCII form, to
the
printer driver.
You
can
do
this
in
any of
three
ways.
334
i '
,
'--
! '