LP(4) BSD Programmer's Manual LP(4)NAMElp - parallel printer driver
SYNOPSIS
lp0 at isa? port 0x378 flags 1
DESCRIPTION
The lp driver supports standard PC compatible parallel output ports.
Each device uses a block of 4 i/o ports. The block must be aligned on an
4 port boundary. Each device should have its own interrupt. The driver
attempts to detect the hardware interrupt level at autoconfiguration;
however, this may fail if the printer is off line. If no interrupt is
detected, then the default of 7 is used if the device is at the standard
LPT1 address, otherwise, no interrupt is used. You may specify an ex-
plicit interrupt number in the kernel config file if desired. The driver
polls the device periodically, so if the printer has a reasonable sized
buffer, throughput will be acceptable even without using an interrupt.
Newline is translated to carriage-return/linefeed if the flags field in
the kernel config file is set to 0. This translation is prevented by
setting flags to 1 in the kernel config file. Translation of newlines is
likely to be removed from future versions of this driver, with any trans-
lation being done in user-level software.
FILES
/dev/lp[0-2]
BUGS
The standard parallel port address of LPT3 conflicts with some port ad-
dresses used by the PC Card subsystem. To use a parallel port at this
address the following line must be added to /etc/boot.default:
-ioport enable 0x3bc 4
BSDI BSD/OS February 27, 1993 1