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.