Hardware pinouts information and cables schemes

PC parallel LPT port pinout

parallel interface

bookmark this page

One of the most used printer interfaces, since every Intel/DOS/Windows based Personal Computer today has a Sub-D25 female connector which is called LPT1



Parallel port will allow the input of up to 9 bits or the output of 12 bits at any one given time. This port may be used for interfacing home made projects since external circuitry is minimal for many simple tasks. The port is composed of 4 control lines, 5 status lines and 8 data lines. It's found commonly on the back of your PC as a 25 Pin D-SUB female connector (note, that 25 pin D-SUB male connector represent RS-232 serial port, not compatible with LPT!).

There are differnt modes of Parallel port work in modern computer. Take a look to newer ECP Parallel LPT port (IEEE-1284A) interface for more detailed explanations. Information included in current page is about older, but still widely accepted SPP LPT port interface. ECP specification includes SPP as one of possible modes.

Pin Name Dir Description
1/STROBE-->Strobe
2D0-->Data Bit 0
3D1-->Data Bit 1
4D2-->Data Bit 2
5D3-->Data Bit 3
6D4-->Data Bit 4
7D5-->Data Bit 5
8D6-->Data Bit 6
9D7-->Data Bit 7
10/ACK<--Acknowledge
11BUSY<--Busy
12PE<--Paper End
13SEL<--Select
14/AUTOFD-->Autofeed
15/ERROR<--Error
16/INIT-->Initialize
17/SELIN-->Select In
18GND---Signal Ground
19GND---Signal Ground
20GND---Signal Ground
21GND---Signal Ground
22GND---Signal Ground
23GND---Signal Ground
24GND---Signal Ground
25GND---Signal Ground

The data output of the Parallel Port is normally TTL logic levels. Most Parallel Ports implemented in ASIC, can sink and source around 12mA. However voer variations possible: Sink/Source 6mA, Source 12mA/Sink 20mA, Sink 16mA/Source 4mA, Sink/Source 12mA and others.

Centronics is an early used standard for transferring data from a host to the printer. The majority of printers use this handshake.

               ______          ___________________
 nStrobe             \        /
                      \______/
                       ______________
 Busy                 /              \
               ______/                \___________
               ______________________         ____
 nAck                                \       /
                                      \_____/
               ___    _______    _________________
                  \  /       \  /
 Data              \/         \/
                   /\         /\
               __ /  \_______/  \_________________
                                                 

Data is first applied on the Parallel Port pins 2 to 7. The host then checks to see if the printer is busy. i.e. the busy line should be low. The program then asserts the strobe, waits a minimum of 1mS, and then de-asserts the strobe. Data is normally read by the printer/peripheral on the rising edge of the strobe. The printer will indicate that it is busy processing data via the Busy line. Once the printer has accepted data, it will acknowledge the byte by a negative pulse about 5mS on the nAck line. Host may ignore the nAck line to save time.

Note: Direction is Computer relative Device.

Pinouts.ru > Parallel interfaces pinouts listing >  Pinout of PC parallel LPT port and layout of 25 pin D-SUB female connector
Document status: correct
Source(s) of this and additional information: Hardware Book, Petr Krc, Interfacing the Standard Parallel Port 10 reports
Last updated at Sun Jun 25 2006. Submit additions or corrections for this document. Is this document correct or incorrect? What is your opinion?
[Discuss at the forum] [Back to index] [SUBMIT new pinout]
This page contain parts under Copyright © 2000-2007 by pinouts.ru team.
No any portion of this webpage may be reproduced in any form without visible direct link to this page provided. Webmaster permission required in any other cases.
Efforts have been made to ensure this page is correct, but it is the responsibility of the user to verify the data is correct for their application.
27512 hits since March 4, 2005