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




Recommended
Parallel Port Complete: Programming, Interfacing, & Using the PC's Parallel Printer Port
Parallel Port Complete: Programming, Interfacing, & Using the PC's Parallel Printer Port, by Jan Axelson (Lakeview Research), starting at $8.98
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 Motorbooks How to Build a Hot Rod Model Ford Dennis Parks ISBN RGMN2Y $.
Buy.com: $64.18

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 (5)

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

  • Recommended Deal.
    USB 2.0 PCI Card 5-Port Adapter Hi-Speed 5PORTIogear PCI to 5 Ports USB2.0 Card Model GIC251U - Retail


    Newegg: $19.99 Wal-Mart: $21.98
    Amazon: $17.97 CDW: $20.99

    RSSLatest News
    IN WIN LAN Party in Southern California
    November 20, 2009 - 12:37 PM PST
    Patriot Announces PS-100 SSD Series
    November 19, 2009 - 7:30 AM PST
    Antec Launches TPQ-1200 PSU
    November 18, 2009 - 11:30 AM PST
    AMD/ATI Launches Radeon HD 5970
    November 18, 2009 - 10:18 AM PST
    OCZ Launches Colossus SSD Series
    November 17, 2009 - 1:39 PM PST
    NZXT Unleashes Tempest EVO Mid-Tower Case
    November 17, 2009 - 1:06 PM PST
    nVidia Launches GeForce GT 240
    November 17, 2009 - 10:18 AM PST
    Arctic Cooling Announces Accelero TWIN TURBO PRO VGA Cooler
    November 16, 2009 - 11:46 AM PST
    PowerColor Announces PLAY! HD5770 Video Card
    November 13, 2009 - 12:51 PM PST
    G.Skill Announces Falcon II SSD Series
    November 11, 2009 - 3:31 PM PST
    .:: More News ::.

    RSSLatest Content
    Ultra X4 500 W Power Supply Review
    Seagate Barracuda XT 2 TB Hard Disk Drive Review
    Nintendo Wii Fit Plus Review
    AMD ATI Chips Comparison Table
    nVidia Chips Comparison Table
    Gigabyte G41M-ES2L Motherboard
    Netflix on Playstation 3 Review
    CM Storm Sentinel Advance Mouse Review
    Titan Skalli CPU Cooler Review
    Nexus RX-6300 630 W Power Supply Review
    Gigabyte P55-UD6 Motherboard
    Nintendo Wii Review
    SilverStone Grandia GD04 Case Review
    Can We Trust the 80 Plus Certification?
    NZXT Gamma Case Review

    Our Most Popular Articles
    Maximum CPU Temperature
    1,078,571 views
    How to Find Out Your Motherboard Manufacturer and Model
    706,555 views
    nVidia Chips Comparison Table
    679,354 views
    Connecting Two PCs Using a USB-USB Cable
    593,688 views
    How To Correctly Apply Thermal Grease
    562,689 views
    AMD ATI Chips Comparison Table
    560,293 views
    ATI Radeon X1300 Pro Review
    488,001 views
    ATI Radeon X1600 XT Review
    477,162 views
    How To Perform a BIOS Upgrade
    394,665 views
    Sempron vs. Athlon XP
    338,575 views

    Latest Threads in Our Forums
    Dell Inspiron 6000 Powers but will not boot...
    by Merman
    Ultra X4 500 W Power Supply Review
    by Merman
    IN WIN LAN Party in Southern California
    by Hardware Secrets Team
    Getting A Hard Copy
    by Trevorrross
    Am I Making The Right Choice?
    by need2know
    Is it available to mount the Zalman cooler?
    by Olle P
    dsl modem prob
    by Sherry
    Seagate Barracuda XT 2 TB Hard Disk Drive Review
    by Hardware Secrets Team
    Overclocking a dell xps 410
    by 6dracing
    How to recover mp3's, pdf & chm files, applications from formated harddrive partition
    by tomahawk 1705
    .:: Visit Our Forums ::.


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