LPT(3) Library Functions Manual LPT(3)
lpt - parallel port interface for PC's
bind -a #L /dev
The lpt driver provides an interface to the parallel interface normally
used for printers. The specifiers 1, 2, and 3 correspond to the paral-
lel interfaces at PC ports 0x3bc, 0x378, and 0x278 respectively.
Lpt?data is write only. Writing to it sends data to the interface.
This file is sufficient for communicating with most printers.
Lpt?dlr, lpt?pcr, and lpt?psr are used for fine control of the parallel
port. Reading or writing these files corresponds to reading and writ-
ing the data latch register, printer control register, and printer sta-
tus register. These are used by programs to drive special devices.