Hardware Secrets
Home | Audio | Case | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
News
Reviews
Tutorials
Main Menu
About Us
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Gabriel's Blog
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Newsletter
Subscribe today!
Search




Recommended Book
Parallel Port Complete: Programming, Interfacing, & Using the PC's Parallel Printer Port
By Jan Axelson
Lakeview Research
Price: $18.71

Home » Motherboard » Bus
How To Build Parallel Port Prototypes
Author: Gabriel Torres
Type: Tutorials Last Updated: October 13, 2005
Page: 2 of 7
$ Check REAL-TIME pricing for LaCie USB 2.0 PCI Card (107435) Serial Adapter $
HP Small/Medium Business: $29.51 Amazon: $69.99
Superwarehouse: $434.99 Pcnation: $402.00
Abes Of Maine: $24.99 HP: $29.51

Understanding The Parallel Port

On the PC the parallel port uses a 25-pin connector (called DB-25, 25-pin D-sub or 25-pin D-shell), as you can see on Figure 2. On printers, however, a different kind of connector is used, called Centronics, which has 36 pins.

Parallel Port (LPT1)
click to enlarge
Figure 2: The parallel port.

Besides the eight data bits, there are more signals available on the parallel port. On the table below we list all the basic parallel port signals and their function, as well as their location on both standard 25-pin and Centronics connector. The I/O column indicates if the signal is input (I) or output (O). Input means that the signal must come from the device to the parallel port (i.e. the signal must be provided by your prototype); output means that the signal comes from the parallel port.

Signal Name Pin (25-pin standard connector) Pin (36-pin Centronics Connector) I/O  Description
/STROBE Strobe  01 01 O Indicates if data is ready or not to be transmitted.(0 = Data ready to be transmitted, 1 = Data not ready to be transmitted)
/ACK Acknowledge 10 10 I Indicates that the printer is ready to receive data.
BUSY Busy 11 11 I Indicates that the printer is not ready to receive data.
PE Paper Empty 12 12 I Indicates that the printer has no paper to print on.
SELECT  Select 13 13 I Indicates that the printer is on its “on line” state, ready to get information.
/AUTO FD XT Auto Feed 14 14 O The printer moves the paper to the beginning of the next line.
/ERROR Error 15 32 I Some error occured (printer disabled, paper empty).
/INIT Init 16 31 O Resets the printer and clears its printing buffer.
/SELECT INPUT Select Input 17 36 O Data can only be transferred to the printer when this line is set to “0”.
D0 thru D7 D0 thru D7 2 thru 9 2 thru 9 O Data bits.
GND Ground  18 thru 25 19 thru 30 O Ground.


The parallel port uses three I/O addresses: data (378h), status (379h) and control (37Ah). If you want to send data to the parallel port and get this data outside the computer, just write this data to the parallel port data address. For example, if we want to turn on all our LEDs, all we need to do is to send the value 255 (which is the decimal equivalent for 11111111, i.e. all data bits set to “on”) on the address 378h. Of course we will explain more about this and also the role of the status and control addresses.

Pages (7): « 1 [2] 3 4 5 6 7 »
Print Version | Send to Friend | | Bookmark Article | Comments (1)

Related Content
  • Computer Port Extension
  • Why Serial?
  • Installing Frontal USB Ports

  • Recommended Deals

    RSSLatest News
    Exceleram Launches Five New Memory Kits
    October 10, 2008 - 10:57 AM PST
    Kingston Launches 32 GB DataTraveler Flash Memory
    October 9, 2008 - 10:13 AM PST
    Gelid Launches Silent Spirit CPU Cooler
    October 8, 2008 - 11:18 AM PST
    Antec Skeleton Case
    October 7, 2008 - 10:42 AM PST
    Lexar Media Launches Crucial Ballistix Tracer DDR3-1333
    October 7, 2008 - 10:11 AM PST
    Elpida Develops 65-nm Memory Chips
    October 6, 2008 - 11:10 AM PST
    Transcend Launches T5 Flash Memory
    October 3, 2008 - 11:50 AM PST
    Thermaltake Announces BigTyp14 Pro CPU Cooler
    October 3, 2008 - 11:28 AM PST
    A-Data Announces Triple-Channel DDR3 kits for Core i7 Processors
    October 3, 2008 - 11:17 AM PST
    EVGA Launches nForce 790i SLI FTW Mainboard
    October 3, 2008 - 11:07 AM PST
    .:: More News ::.

    RSSLatest Content
    500 GB Hard Disk Drive Round-Up
    Anatomy of the Playstation 3
    AMD ATI Chips Comparison Table
    Bgears b-Envi Case Review
    Everything You Need to Know About Digital Cameras
    Kingwin Mach 1 ABT-700MA1S 700 W Power Supply Review
    Thermaltake V9 Case Review
    OCZ Dominatrix Gaming Mouse Review
    Rosewill Wind Ryder RZLS142-AP Case Review
    AeroCool AeroRacer Pro Case Review
    iPod Touch 2nd Generation Review
    Olympus SP-570UZ Digital Camera Review
    Zalman ZM600-HP 600 W Power Supply Review
    Tagan A+ Curbic Case Review
    Everything You Need to Know About The Motherboard Voltage Regulator Circuit

    Our Most Popular Articles
    Maximum CPU Temperature
    796,586 views
    nVidia Chips Comparison Table
    495,713 views
    AMD ATI Chips Comparison Table
    438,165 views
    ATI Radeon X1300 Pro Review
    421,058 views
    ATI Radeon X1600 XT Review
    415,097 views
    How to Find Out Your Motherboard Manufacturer and Model
    407,413 views
    Connecting Two PCs Using a USB-USB Cable
    365,431 views
    How To Correctly Apply Thermal Grease
    349,900 views
    Sempron vs. Athlon XP
    284,629 views
    Sempron 3400+ Review
    275,614 views

    Latest Threads in Our Forums
    IGP vs video card which one? im confused
    by Cheetos
    Sapphire HD 4870 X2 Video Card Review
    by Micromancer
    CPU Over Voltage error
    by GreyCricket
    500 GB Hard Disk Drive Round-Up
    by EliteKiller
    ATHLON x2 6000 or C2D E8400??
    by ianb
    Budget Gaming PC
    by AeroWB
    what mobo and PSU pls..
    by AeroWB
    is this an "ok!" build?
    by AeroWB
    may notebook just shutdowns! help..
    by trojancya
    computer lock ups!
    by trojancya
    .:: Visit Our Forums ::.


    © 2004-8, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)