Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Parallel Ports

The parallel port as we know it was originally designed by Centronics Data Computer Corporation.

Therefore, you will sometimes hear the parallel port described as the “Centronics” port or interface.

The parallel port, in contrast to the serial port, has eight data lines, or 8-bits in “parallel”.

Status RegisterBuffered status pins from the printer.Status RegisterBuffered status pins from the printer.X79h, X7Dh76543210BUSYACKPESLCTERRORUnused
BitsNameDescription
0:2UnusedUnused
3ERROR0: The printer has encountered an error condition.
1: The printer reports no current error condition.
4SLCT0: The printer has not been selected (Printer offline)
1: The printer has been selected (Select/Online button pressed)
5PE0: The printer reports it has paper.
1: The printer reports it is out of paper.
6ACK0: The printer has acknowledged the last character and is ready to receive another.
1: The printer is processing (busy).
7BUSY0: The printer is busy and cannot accept data.
1: The printer is not busy and can receive data.
Control RegisterSet control signals from the CPU to the printer.Control RegisterSet control signals from the CPU to the printer.X7Ah, X7Eh76543210UnusedIRQENSLCT_ININITALFSTR
BitsNameDescription
0STRData clock strobe to feed data into the printer.
1ALF0: Do not line-feed automatically.
1: Line-feed automatically.
2INIT0: Initialize the printer.
1: Do nothing.
3SLCT_IN0: Leave printer unselected.
1: Select the printer.
4IRQEN0: Disable interrupts.
1: Enable interrupts triggered by a rising edge of the /ACK pin.
5:7UnusedUnused