lpt(4) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
LPT(4)               NetBSD/pc532 Kernel Interfaces Manual              LPT(4)


NAME
lpt - Centronics parallel port
SYNOPSIS
lpt0 at mainbus? addr ? irq ? lpt1 at mainbus? addr ? irq ?
DESCRIPTION
This driver provides access to Centronics parallel ports. Bit 6 in the minor number selects whether to omit pulling /PRIME low on opens or not. If the minor has bit 5 set, AUTOLINEFEED will be asserted when transferring data to the printer. Address and IRQ default to 0xffc80030,7 for lpt0 and to 0xffc80034,6 for lpt1.
FILES
/dev/lpt0 first parallel port device /dev/lpt1 second parallel port device
DIAGNOSTICS
lpt?: out of paper The printer asserted the Paper Empty signal. lpt?: offline The printer did not assert the Select signal. lpt?: output error The printer asserted the /Error signal. lpt?: NACK low The printer didn't release the /Ack signal. lpt?: NBUSY low The printer didn't release the Busy signal.
SEE ALSO
plip(4) Contact Matthias Pfaller <leo@dachau.marco.de> to get instructions on building a Centronics interface for your pc532.
HISTORY
The lpt driver appeared in NetBSD 1.0. NetBSD 2.1 December 1, 1994 NetBSD 2.1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.