parallel port

Parallel port. It is an interface between a computer and a peripheral . The parallel port transmits information byte by byte, that is, the 8 bits of data that make up a byte travel together. An example of a parallel port is the printer port. The Parallel Port was only created and used for the interface of printers and the PC today we see that it is one of the most used to connect various peripherals to your PC due to its high speed and reliability in data transmission, therefore, it has been perfected every day more.

Summary

[ hide ]

  • 1 History
  • 2 Design
  • 3 IEEE 1284 1994
  • 4 Specifications
  • 5 Locations
  • 6 Connectors
  • 7 Types
    • 1 Unidirectional parallel port (4 bits)
    • 2 Bidirectional parallel port (8 bits)
    • 3 Extended Parallel Port (EPP)
    • 4 Extended Capabilities Parallel Port (ECP)
  • 8 Port Drivers
  • 9 Acting problems
  • 10 Condensation of data
  • 11 Source
  • 12 External Links
  • 13 See also

History

Long before the normal parallel port with its high-speed extensions and refinements had evolved, even before IBM released its first PC onto the market, several applications had a need for a simple, high-speed interface for data retrieval. Among the first areas to embrace such connections is scientific instrumentation. To this end the Hewlett-Packard company developed its own parallel HP-BIRF interface. The design became so popular that the IEEE ( Institute of Electrical and Electronics Engineers ) adopted it as a standard in 1978 with a less proprietary name GP-IB (Bus General Purpose Interface). On 30 March as as 1994, the IEEE approved its normal parallel port, IEEE-1284-1994. The standard included all basic modes and parallel port plans including ECP and EPP. It was submitted to the American National Standards and was instituted and approved as a standard on September 2, 1994.

Design

IEEE-488 comprises 16 separate connections to move data and commands between electronic devices. Eight of these connections carry data on a true 8-bit bus. Three lines provide handshaking and flow control between the various devices that are linked together. The next five lines allow the arbitration and direction of the bus connections. The normal connector also provides eight ground connections. The data and the order flow between the devices joined in the eight data lines asynchronously, are governed by the hanshaking signals. The normal connector used by the GPIB system looks similar to the parallel port connector B but has only 24 connections.

IEEE 1284 1994

This standard provides high-speed bi-directional communication between a PC and an external peripheral, establishing communication between 50 and 100 times faster than the original parallel port. Of course it is fully compatible with all existing peripherals for parallel ports. The 1284 standard defines 5 modes of data transfer. Each mode provides an outward (PC to peripheral), inward (peripheral to PC), or bi-directional (duplex) data transfer method.

specs

It has 8 wires to simultaneously send all the bits that make up a byte. This interface is fast and usually reserved for printers.

bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7

The main problem with the parallel port is that its cables cannot be extended for any length without amplifying the signal, or that data errors occur.

Locations

Parallel ports can be found at:

-Built-in on current motherboards.
-In multi-port controller cards.
-On simple parallel port cards (currently discontinued).
-Built in MDA, HGC or CGA video cards (currently discontinued)

Connectors

The parallel port can use one of three types of connectors defined by the IEEE 1284 standard:

  1. 1284 type A is a 25-pin female connector of type D. It is the one used in
    2. 1284 type B printers, which is a 36-pin Centronics type connector and is found in most printers.
    3. 1284 type C is a connector similar to 1284 type B but smaller, with better electrical and mechanical properties.

Types

Before IEEE 1284, parallel ports could be divided into four types:

-Unidirectional (4 bits).
-Bidirectional (8 bits).
-Extended parallel port (EPP).
-Parallel port with extended capabilities (ECP)

Unidirectional parallel port (4 bits)

The only parallel port available on the original IBM-PC was used to send information from the computer to a device, such as the printer. The unidirectional nature of the original parallel port is because its primary use was to send data to the printer. Although it had never been used as an input port, there was a scheme where 4 of the lines could be used as a 4-bit input connection. Unidirectional ports are capable of transmitting speeds of approximately 40-60 Kbytes per second

Bidirectional parallel port (8 bits)

It was introduced in 1987 with the entry of the PS / 2 computers from IBM. These ports can send and receive 8 bits using the standard 8 lines of data and are considerably faster than 4-bit ports. Its speed is between 80 and 300 Kbytes / Sec.

Extended parallel port (EPP)

It operates almost at the speed of the ISA bus and offers an increase of up to 10 times the transmission speed over a conventional parallel port. The EPP is specifically designed for parallel port peripherals such as network adapters, external disk drives, tape drives, scanners etc. Its transfer speed is between 1 and 2 Mbytes / sec.

Extended Capabilities Parallel Port (ECP)

Developed by Microsoft and HP. Like EPP, ECP offers higher performance for parallel port. Unlike the EPP port, the ECP is not made to support portable peripherals for PCs, its purpose is to support a connection to very high performance printers.

Port drivers

The parallel port of the printer was designed to be controlled by a software driver. Under DOS, you might not be able to notice these drivers because they are part of the PC’s BIOS. The printer interrupt driver is actually a driver. Since the hardware resources used by the parallel port are well known and readily accessed, most programmers prefer to control the hardware of the parallel port directly to send data to their printer. Many applications incorporate their own printing routines or printer drivers. Most advanced operating systems, including OS / 2 and Windows 95, always use external drivers to take over your PC’s ports.

Acting problems

As with any interface, you want your parallel connection to operate at the highest possible speed. The speed of a parallel connection can be difficult to set. Several variables affect it. For example, the parallel cable itself puts the upper limit on the frequencies of the signals that the port can use. Also the length of the cable, the recommended practical length is 10 feet. Other factors that come into play include :, the number of steps required by the BIOS or software driver to write a character, the ability of the device at the other end of the connection to accept and process data sent to it, hence the Importance of timing parallel port signals to ensure integrity of the transfer.

Data condensation

A very effective way to increase the speed of information through any interface is to minimize the number of bytes that you have to move. By compressing the digital code, that is, reducing it to a more efficient format, you can reduce the number of bytes you need to carry text, graphics, and files. As an option, the ECP system allows you to compress the data that you send through the parallel interface. The port’s own circuitry handles condensation and decompression, invisible to your PC and its software as well as the peripheral at the other end of the connection. The effect on your transfers is the same as increasing the speed of the signals through the parallel cable but without all the electrical problems. ECPs use a simple form of condensation called the RLE code.

The specific RLE algorithm used by the ECP system works at the byte level. When the same byte is repeated in a data sequence, the system translates it into two bytes: one that indicates the original code and a multiplier.

 

Leave a Comment

Scroll to Top