microloft.co.uk     

HOWTO: Setup the Parallel Port

in the Computer's BIOS

 

To help you setup the parallel port in the computer's BIOS the following may be helpful

IEEE Std.1284-1994 Standard Signaling Method for a Bi-directional Parallel Peripheral Interface for Personal Computers, provides for high speed bi-directional communication between the PC and an external peripheral that can communicate 50 to 100 times faster that the original parallel port. It can do this and still be fully backward compatible with all existing parallel port peripherals and printers

The 1284 standard defines 5 modes of data transfer. Each mode provides a method of transferring data in either the forward direction (PC to peripheral), reverse direction (peripheral to PC) or bi-directional data transfer (half duplex). The defined modes are:

  • Forward direction only
  • Compatibility Mode
    "Centronics" or standard mode
  • Reverse direction only
  • Nibble Mode
    4 bits at a time using status lines for data.
    Hewlett Packard Bi-tronics
    Byte Mode
    8 bits at a time using data lines, sometimes referred to as a "bi-directional" port.
  • Bi-directional
  • EPP
    Enhanced Parallel Port- used primarily by non-printer peripherals, CD ROM, tape, hard drive, network adapters, etc....
    ECP
    Extended Capability Port- used primarily by new generation of printers and scanners

All parallel ports can implement a bi-directional link by using the Compatible and Nibble modes for data transfer. Byte mode can be utilized by about 25% of the installed base of parallel ports. All three of these modes utilize software only to transfer the data. The driver has to write the data, check the handshake lines (i.e.: BUSY), assert the appropriate control signals (i.e.: STROBE) and then go on to the next byte. This is very software intensive and limits the effective data transfer rate to 50 to 100 Kbytes per second

In addition to the previous 3 modes, EPP and ECP are being implemented on the latest I/O controllers by most of the Super I/O chip manufacturers. These modes use hardware to assist in the data transfer. For example, in EPP mode, a byte of data can be transferred to the peripheral by a simple OUT instruction. The I/O controller handles all the handshaking and data transfer to the peripheral