IEEE 1284

An IEEE 1284 36-pin male micro ribbon printer cable connection. The computer side of this cable normally uses a DB-25 male connector.

IEEE 1284, also known as the Centronics port, is a standard that defines bi-directional parallel communications between computers and other devices, with a theoretical maximum throughput of 4 MB/s. It was originally developed in the 1970s by Centronics for use with dot matrix printers before being formally standardized by the IEEE in March 1994.

The standard defines five operating modes Compatibility Mode, Nibble Mode, Byte Mode, Enhanced Parallel Port (EPP), and Extended Capability Port (ECP) and three connector types. It supports a variety of peripheral devices including printers, scanners, tape drives, and hard disks. Since its release, the parallel interface has been largely displaced by local area network interfaces and USB 2.0.

History

An IEEE 1284 36-pin female on a circuit board

In the 1970s, Centronics developed a parallel connector for their dot matrix printers that soon became a de facto standard.

The original port design was send-only, allowing eight bits of data to be sent from the host computer to the printer at a time. Separate pins in the port allow status information to be sent back to the computer. This was a serious limitation as printers became "smarter" and a richer set of status codes was desired. This led to an early expansion of the system introduced by HP, the "Bitronics" implementation released in 1992. This used the status pins of the original port to form a four-bit parallel port for sending arbitrary data back to the host.

A further modification, "Bi-Directional", used the status pins to indicate the direction of data flow on the eight-bit main data bus; by indicating there was data to send to the host on one of the pins, all eight data pins became available for use. This proved adaptable, and led to the "Enhanced Parallel Port" standard, which worked like Bi-Directional mode but greatly increased the signalling speeds to 2 MB/s, and later the "Extended Capability Port" version increased this to 2.5 MB/s.

In 1991 the Network Printing Alliance was formed to develop a new standard. In March 1994, the IEEE 1284 specification was released. 1284 included all of these modes, and allowed operation in any of them.

The parallel interface has since been mostly displaced by local area network interfaces and USB 2.0.

Characteristics

An IEEE-1284–compliant printer cable. Connectors are DB-25 for the computer and a 36-pin Centronics for the printer.

The IEEE 1284 standard allows for faster throughput and bidirectional data flow with a theoretical maximum throughput of 4 MB/s; actual throughput is around 2 MB/s depending on hardware. For printers, this allows for faster printing and back-channel status and management. Since the new standard allowed the peripheral to send large amounts of data back to the host, devices that had previously used SCSI interfaces could be produced at a much lower cost. This included scanners, tape drives, hard disks, computer networks connected directly via parallel interface, network adapters and other devices. This removed the need for a separate SCSI card, as the built-in parallel interface could be used instead.

Modes

IEEE 1284 can operate in five modes:

Most recent computers that include a parallel port can operate the port in ECP or EPP mode, or both simultaneously.

IEEE-1284 requires that bi-directional device communication is always initiated in Nibble Mode. If the host receives no reply in this mode, it will assume that the device is a legacy printer, and enter Compatibility Mode. Otherwise, the best mode that is supported on both sides of the connection is negotiated between the host and client devices by exchanging standardized Nibble Mode messages.

Connectors and cables

Mini-Centronics 36-pin male connector (top) with Micro ribbon 36-pin male Centronics connector (bottom)
Mini-Centronics 36-pin male connector (right) with Micro ribbon 36-pin male Centronics connector (left).

An IEEE-compliant cable must meet several standards of wiring and quality. Three types of connectors are defined:

There are two kinds of IEEE 1284 cables:

In IEEE 1284 Daisy Chain Specification, up to eight devices can be connected to a single parallel port.

All modes use TTL voltage logic levels, which limits the possible cable length to a few meters unless expensive special cables are used.

Standards

Typical color codes

The following are the typical colors found on 25-pin IEEE 1284 cable leads.[citation needed]

PinColorAlt. color
1red
2pink/red
3brown
4orange
5light-blue/yellow
6light-blue/red
7light-blue
8blue
9light-blue/blackgreen/blue
10green
11yellow
12pink/orange
13gray
14gray/green
15pink/blueorange/white
16pink/blackbrown/white
17light blue/bluelight blue/green
18blue-white
19green/blackgreen/red
20pink/whiteyellow/black
21gray/black
22white/blackgray/yellow
23purple
24pink
25white
NCwhite/yellowwhite/green
Allwhite/purplered/black

See also

References

  1. ↑ EP 0640229 Buxton, C.L. / Kohtz, R.A. / Zenith Data Systems Corp.: Enhanced parallel port. filing date 15 May 1992
  2. ↑ LAVA Computer MFG Inc (2002). "IEEE 1284: Parallel Ports" (PDF). Archived from the original (PDF) on 15 November 2006.
  3. ↑ IBM Parallel Port FAQ/Tutorial