Specifications
PRNDRVR.SYS
DESCRIPTION
PRNDRVR.SYS
is a
support
utility for
the
Ampro
Little
Board/PC
which allows
you
to
use the board's V40 serial port for a RS-232 serial printer.
The
driver performs two basic functions:
1. Remaps printer output to the
V
40
serial port - the BIOS parallel output function
(lNT
17) is redirected.
Characters
to
be
written
to
the
system
printer
through
the
INT
17
function
are
sent
out
the
V40 serial
port
instead
of
being
sent
to
the
normal
parallel
port.
2.
All functions that
open
the
PRN
device for writing
are
directed to the V
40
serial port.
Use
To
install the console driver, place a command line as the ftrst line in a
CONFIG.syS
me
on
the drive from which your system will boot.
The
required line is
of
the form:
device
= prndrvr.sys
Bb
Dd
Ss
Pp
h
where:
For
example,
b
= Baud rate: 110,
150,
300, 600, 1200, 2400, 4800,
96OO,19200,or38400
d
=
Data
bits: 7
or
8 (no parity
if
8 bits)
s
= Stop bits: 1
or
2
p
= Parity:
0,
E,
or
N (odd,even,none)
h
= Hardware handshake option, as follows:
ha
= enables hardware handshake
on
"Model
4A"
boards
hb
= enables hardware handshake
on
"ModeI4B"
(or
later) boards
h
= enables hardware handshake; driver will attempt to figure
out
which type
of
board (Model 4A
or
4B) is being used
DEVICE
= PRNDRVR.SYS B19200 D8
Sl
PN
In
this example, the serial communications
data
rate
is
19200 baud, and the
data
characteris-
tics are 8
data
bits, 1 stop bit, and no parity. Handshaking is none. Note that
both
xon/xoff
and hardware
handshaking
are
supported by the driver.
The
three parameters (B, D, S,
P)
may
be
placed
in
any
order
on
the command line.
If
no parameters are declared
on
the command line, then a default value
of
9600 baud, 8
data
bits, 1 stop bit, no parity, and xon/xoff handshake is used.
Note
also
that
you
must
RESET
or
POWERUP
the
system with
the
new
CONFIG.SYS
command line to have the driver take effect.
PRNDRVR.SYS
- 1