LPT(4)                OpenBSD Programmer's Manual (PC532)               LPT(4)

NAME
     lpt - Parallel port driver

SYNOPSIS
     lpt0 at membus? addr ? irq ?
     lpt1 at membus? addr ? irq ?

DESCRIPTION
     This driver provides access to centronics ports. Bit 6 in the minor num-
     ber selects wether to omit pulling /PRIME low on opens or not. If the mi-
     nor has bit 5 set, AUTOLINEFEED will be asserted when transferring data
     to the printer.  Addr 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.

OpenBSD 2.6                    December 1, 1994                              1
