Centronics printer port
   HOME

TheInfoList



OR:

IEEE 1284 is a standard that defines bi-directional
parallel communications In data transmission, parallel communication is a method of conveying multiple binary digits (bits) simultaneously using multiple conductors. This contrasts with serial communication, which conveys only a single bit at a time; this distinction i ...
between computers and other devices. It was originally developed in the 1970s by
Centronics Centronics Data Computer Corporation was an American manufacturer of computer printers, now remembered primarily for the parallel interface that bears its name, the Centronics connector. History Foundations Centronics began as a division ...
, and was widely known as the Centronics port, both before and after its
IEEE The Institute of Electrical and Electronics Engineers (IEEE) is a 501(c)(3) professional association for electronic engineering and electrical engineering (and associated disciplines) with its corporate office in New York City and its operat ...
standardization.


History

In the 1970s,
Centronics Centronics Data Computer Corporation was an American manufacturer of computer printers, now remembered primarily for the parallel interface that bears its name, the Centronics connector. History Foundations Centronics began as a division ...
developed the now-familiar printer parallel port that soon became a ''de facto'' standard. Centronics had introduced the first successful low-cost seven-wire print head, which used a series of solenoids to pull the individual metal pins to strike a ribbon and the paper. A dot matrix print head consists of a series of metal pins arranged in a vertical row. Each pin is attached to some sort of actuator, a solenoid in the case of Centronics, which can pull the pin forward to strike a ribbon and the paper. The entire print head is moved horizontally in order to print a line of text, striking the paper several times to produce a matrix for each character. Character sets on early printers normally used 7 by 5 "pixels" to produce 80-column text. The complexity of printing a character as a sequence of columns of dots is managed by the printer electronics, which receives character encodings from the computer one at a time, with the bits transferred serially or in parallel. As printers grew in sophistication, and the cost of memory dropped, printers began adding increasing amounts of buffer memory, initially a line or two, but then whole pages and then documents. The original port design was send-only, allowing ''data'' to be sent from the host computer to the printer. 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 were 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 4-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 8-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 MByte/s, and later the "Extended Capability Port" version increased this to 2.5 MByte/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.


Overview

The IEEE 1284 standard allows for faster throughput and bidirectional data flow with a theoretical maximum throughput of 4 megabytes per second; actual throughput is around 2 megabytes/second depending on hardware. In the printer venue, 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 ''Scanners'' is a 1981 Canadian science fiction horror film written and directed by David Cronenberg and starring Stephen Lack, Jennifer O'Neill, Michael Ironside, and Patrick McGoohan. In the film, "scanners" are psychics with unusual telepathi ...
,
tape drive A tape drive is a data storage device that reads and writes data on a magnetic tape. Magnetic tape data storage is typically used for offline, archival data storage. Tape media generally has a favorable unit cost and a long archival stability. ...
s, hard disks, computer networks connected directly via parallel interface, network adapters and other devices. No longer was the consumer required to purchase an expensive SCSI card—they could simply use their built-in parallel interface. The parallel interface has since been mostly displaced by
local area network A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, school, laboratory, university campus or office building. By contrast, a wide area network (WAN) not only covers a larger ...
interfaces and
USB 2.0 Universal Serial Bus (USB) is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers. A broad ...
.


IEEE 1284 modes

IEEE 1284 can operate in five modes: *Compatibility Mode, also known as Centronics standard or SPP, is a uni-directional implementation with only a few differences from the original Centronics design. This mode is almost exclusively used for printers. The only signals that the printer can send back to the host are some fixed-meaning status lines that signal common error conditions, such as the printer running out of paper. *Nibble Mode is an interface that allows the device to transmit data four bits (a nibble) at a time, (re)using four of the status lines of Compatibility Mode for data. This is the Bi-tronics mode introduced by HP and is generally used for enhanced printer status. Although never officially supported with these, Nibble Mode works with most of the pre-IEEE-1284 Centronics interfaces as well. *Byte Mode, also known as "Bi-Directional" (although all modes except Compatibility Mode are in fact bi-directional), is a half-duplex mode that allows the device to transmit eight bits at a time using the same data lines that are used for the other direction. This mode is supported on a minority of pre-IEEE-1284 interfaces as well, such as those built into the
IBM PS/2 The Personal System/2 or PS/2 is IBM's second generation of personal computers. Released in 1987, it officially replaced the IBM PC, XT, AT, and PC Convertible in IBM's lineup. Many of the PS/2's innovations, such as the 16550 UART (serial p ...
computers; because of this, it is sometimes unofficially called the PS/2 mode. *Enhanced Parallel Port (EPP) is a half-duplex bi-directional interface designed to allow devices like printers, scanners, or storage devices to transmit large amounts of data while quickly being able to switch channel direction. EPP can provide up to 2 MByte/s bandwidth, approximately 15 times the speed achieved with normal parallel-port communication with far less CPU overhead. *Extended Capability Port (ECP) is a half-duplex bi-directional interface similar to EPP, except that PC implementations use
direct memory access Direct memory access (DMA) is a feature of computer systems and allows certain hardware subsystems to access main system memory independently of the central processing unit (CPU). Without DMA, when the CPU is using programmed input/output, it is ...
(usually ISA DMA on channel 3) to provide even faster data transfer than EPP by having the ISA DMA hardware and the parallel port interface hardware handle the work of transferring the data instead of letting the CPU do this work. Many devices that interface using this mode support RLE compression. ECP can provide up to 2.5 MByte/s of bandwidth, which is the natural limit of 8-bit ISA DMA. An ECP interface on a PC can improve transfers to pre-IEEE-1284 printers as well, by reducing the CPU load during the transfer; however, the transfer in that case is unidirectional. 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.


IEEE 1284 connectors and cables

An IEEE-compliant cable must meet several standards of wiring and quality. Three types of connectors are defined: *Type A:
DB-25 The D-subminiature or D-sub is a common type of electrical connector. They are named for their characteristic D-shaped metal shield. When they were introduced, D-subs were among the smallest connectors used on computer systems. Description, no ...
25 pin, for the host connection. *Type B:
Centronics Centronics Data Computer Corporation was an American manufacturer of computer printers, now remembered primarily for the parallel interface that bears its name, the Centronics connector. History Foundations Centronics began as a division ...
(officially called "
Micro Ribbon The micro ribbon or miniature ribbon connector is a common type of electrical connector for a variety of applications, such as in computer and telecommunications equipment having many contacts. The connector contains two parallel rows o ...
") 36-pin, for the printer or device connection. *Type C: Mini-Centronics (MDR36 or HPCN36) 36-pin, a half-pitch, smaller alternative for the device connection that has not proven popular. There are two kinds of IEEE 1284 cables: *IEEE 1284-I: uses IEEE 1284-A and IEEE 1284-B connectors. *IEEE 1284-II: uses IEEE 1284-C connectors. In IEEE 1284 Daisy Chain Specification, up to eight devices can be connected to a single parallel port. All modes use
TTL TTL may refer to: Photography * Through-the-lens metering, a camera feature * Zenit TTL, an SLR film camera named for its TTL metering capability Technology * Time to live, a computer data lifespan-limiting mechanism * Transistor–transistor lo ...
voltage
logic level In digital circuits, a logic level is one of a finite number of states that a digital signal can inhabit. Logic levels are usually represented by the voltage difference between the signal and ground, although other standards exist. The range ...
s, which limits the possible cable length to a few meters unless expensive special cables are used.IBM Parallel Port FAQ/Tutorial
/ref> For detailed specifications, including pinouts, refer to the links below.


IEEE 1284 standards

*IEEE 1284-1994: Standard Signaling Method for a Bi-directional Parallel Peripheral Interface for Personal Computers *IEEE 1284.1-1997: Transport Independent Printer/System Interface- a protocol for returning printer configuration and status *IEEE 1284.2: Standard for Test, Measurement and Conformance to IEEE 1284 (not approved) *IEEE 1284.3-2000: Interface and Protocol Extensions to IEEE 1284-Compliant Peripherals and Host Adapters- a protocol to allow sharing of the parallel port by multiple peripherals (daisy chaining) *IEEE 1284.4-2000: Data Delivery and Logical Channels for IEEE 1284 Interfaces- allows a device to carry on multiple, concurrent exchanges of data


IEEE 1284 typical color codes

Here are the typical colors found on 25-pin IEEE 1284 cable leads.


See also

*
IFSP IFSP (german: Interface sternförmig parallel, russian: Интерфейс радиальный параллельный (ИРПР)), or radial parallel interface, was a parallel interface similar to the Centronics connector (IEEE 1284) but incompat ...
– Comecon version of Centronics * Parallel port ("LPT" on x86 DOS systems) * FireWire (IEEE 1394) *
Universal Serial Bus Universal Serial Bus (USB) is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers. A broad ...
* List of device bandwidths


References


External links


Warp Nine Engineering's introduction to the IEEE 1284-1994 standardUndocumented Printing Wiki – IEEE 1284 StandardsIEEE 1284 – Updating the PC Parallel PortIEEE 1284 ports pinoutsSignal Diagrams for IEEE 1284 ProtocolParallel port – LPT (IEEE 1284)Linux C code for 1284.3 Daisy Chaining using Command Packet Protocol (CPP)
Interrupt list related to the EPP BIOS calls:

{{IEEE standards Computer buses IEEE standards Legacy hardware