How Parallel Ports Work

The parallel port is the interface most used for printers. They are also used to connect a PC to scanners, CD-writers, external hard drives, Zip removable drives, network adapters, and tape backup drives.Parallel port basicsIBM originally developed parallel ports to connect PCs to Centronics printers.

01/15/2002


The parallel port is the interface most used for printers. They are also used to connect a PC to scanners, CD-writers, external hard drives, Zip removable drives, network adapters, and tape backup drives.

Parallel port basics

IBM originally developed parallel ports to connect PCs to Centronics printers. However, it decided not to use the same port interface on the computer that Centronics used on the printer. Instead, IBM engineers coupled a 25-pin connector with a 36-pin connector creating a special cable. Other printer manufacturers adopted the Centronics interface, making this strange hybrid cable an unlikely de facto standard.

When a PC sends data to a printer or other device using a parallel port, it sends one byte (eight bits) of data at a time. The standard parallel port is capable of sending 50-100 kbytes of data per second.

The following list explains what each pin does when used with a printer.

  • Pin 1 carries the strobe signal. It maintains a logic high (5V or binary 1), but drops to a logic low (0V or binary 0) when the computer sends a byte of data. This high-to-low logic transition tells the printer that data is being sent.

  • Pins 2-9 carry data.

  • Pin 10 sends the acknowledge signal from the printer to the computer. Like pin 1, it maintains a logic high and drops to a logic low to let the computer know that the data was received.

  • If the printer is busy, it drives pin 11 high. It goes low to let the computer know it is ready to receive more data.

  • The printer lets the computer know if it is out of paper by driving pin 12 high.

  • As long as pin 13 is high, the computer knows that the device is online.

  • The computer sends an autofeed signal to the printer through pin 14 using a logic high.

  • If the printer has problems, it puts a logic low on pin 15 to let the computer know that there is an error.

  • When a new print job is ready, the computer drives pin 16 low to initialize the printer.

  • Pin 17 is used by the computer to remotely take the printer offline. This is accomplished by maintaining a logic low on this line as long as you want the printer offline.

  • Pins 18-25 are grounds used as a reference signal for the logic low levels.

    • A handshaking signal is also sent with each byte so the printer can latch the byte.

      SPP/EPP/ECP

      The original specification for parallel ports was unidirectional, meaning that data traveled in only one direction for each pin. With the introduction of the PS/2 in 1987, IBM offered a new bidirectional parallel port design. This mode is commonly known as standard parallel port (SPP) and has completely replaced the original design. Bidirectional communication allows each device to receive data as well as transmit it. Many devices use the eight pins (2-9) originally designated for data. Using these eight pins limits communication to half-duplex, meaning that information can travel in only one direction at a time. But pins 18-25, originally used as grounds, can be used as data pins also, allowing full-duplex (both directions at the same time) communication.

      Intel, Xircom, and Zenith created the enhanced parallel port (EPP) in 1991. EPP allows much more data (500 kbytes-2 Mbytes) to be transferred each second. It was targeted specifically towards non-printer devices — particularly storage devices that needed a high transfer rate.

      Microsoft and Hewlett Packard jointly announced a specification called extended capabilities port (ECP) in 1992. While EPP was geared towards other devices, ECP was designed to provide improved speed and functionality for printers.

      In 1994, the IEEE 1284 standard was released. It included the two specifications for parallel port devices — EPP and ECP. In order for them to work, both the operating system and the device must support the required specification. This is seldom a problem since most computers sold today support SPP, ECP, and EPP, and will detect which mode should be used, depending on the attached device.





No comments
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2015 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Safer human-robot collaboration; 2017 Maintenance Survey; Digital Training; Converting your lighting system
IIoT grows up; Six ways to lower IIoT costs; Six mobile safety strategies; 2017 Salary Survey
2016 Top Plant; 2016 Best Practices on manufacturing progress, efficiency, safety
Mobility as the means to offshore innovation; Preventing another Deepwater Horizon; ROVs as subsea robots; SCADA and the radio spectrum
Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
Automation modernization; Predictive analytics enable open connectivity; System integration success; Automation turns home brewer into brew house
Commissioning electrical systems; Designing emergency and standby generator systems; Paralleling switchgear generator systems
Natural gas for tomorrow's fleets; Colleges and universities moving to CHP; Power and steam and frozen foods

Annual Salary Survey

Before the calendar turned, 2016 already had the makings of a pivotal year for manufacturing, and for the world.

There were the big events for the year, including the United States as Partner Country at Hannover Messe in April and the 2016 International Manufacturing Technology Show in Chicago in September. There's also the matter of the U.S. presidential elections in November, which promise to shape policy in manufacturing for years to come.

But the year started with global economic turmoil, as a slowdown in Chinese manufacturing triggered a worldwide stock hiccup that sent values plummeting. The continued plunge in world oil prices has resulted in a slowdown in exploration and, by extension, the manufacture of exploration equipment.

Read more: 2015 Salary Survey

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.
Motion control advances and solutions can help with machine control, automated control on assembly lines, integration of robotics and automation, and machine safety.
Compressed air plays a vital role in most manufacturing plants, and availability of compressed air is crucial to a wide variety of operations.
Maintenance Manager; California Oils Corp.
Associate, Electrical Engineering; Wood Harbinger
Control Systems Engineer; Robert Bosch Corp.
click me