driver is the port of the original lpt driver to the
One purpose of this port was to allow parallel port sharing with other
Secondly, inb()/outb() calls have been replaced by ppbus
lpt is now arch-independent thanks to the ppbus interface.
for more info about the ppbus system.
The parallel port bus is allocated by lpt when the printer device is opened
and released only when the transfer is completed: either when the device
is closed or when the entire buffer is sent in interrupt driven mode.
The driver can be configured to be either interrupt-driven, or
to poll the printer.
Ports that are configured to be
interrupt-driven can be switched to polled mode by using the
Depending on your hardware, extended capabilities may be configured with the
With an ECP/ISA port, you can take advantage
of FIFO and DMA.
In order to retrieve printer info from /dev/lpt0, just apply the
command to the device.
If the printer supports IEEE1284 nibble mode and has
data to send to the host, you will get it.