- LPT
LPT (Line Print Terminal) is the original, yet still common, name of the
parallel port interface on IBM PC-compatiblecomputer s. It was designed to operate a text printer that usedIBM 's 8-bitextended ASCII character set . The name derives from the fact that "line printer " was a common generic term at the time for any type of text printer. Graphical printers, along with a host of other devices, have been designed to communicate with the system. It was a "de facto " industry standard for many years, and was finally standardized asIEEE 1284 in the late 1990s. Today, the parallel port interface is seeing decreasing use because of the rise ofUniversal Serial Bus (USB) andFireWire (IEEE 1394) devices; along with network printing usingEthernet .History
Most PC-compatible systems in the 1980s and 1990s had one or two ports, with communication interfaces defined like this:
*LPT1:
I/O port 0x378,IRQ 7 (usually in graphics adapter)
*LPT2: I/O port 0x278, IRQ 5 (usually in serial port controller)Some systems also had an LPT3 port, but this was less-consistently defined. In reality, computers rarely have more than one LPT port.
A wide variety of devices were eventually designed to operate on a parallel port. Most were uni-directional (one-way) devices, only meant to respond to information sent from the PC. However, some devices such as
Zip drive s were able to operate in bi-directional mode. Printers also eventually took up the bi-directional system, allowing various status report information to be sent.In
MS-DOS andPC-DOS , the parallel ports could be accessed directly on thecommand line . For example, the command "type c:autoexec.bat > LPT1" would direct the contents of theautoexec.bat file to the printer port. A PRN device was also available as an alias for LPT1. A special "print" command also existed to achieve the same effect.Microsoft Windows still refers to the ports in this manner in many cases, though this is often fairly hidden. InLinux operating system first LPT port is available via filesystem as /dev/lp0.Naming
PRN, along with CON, AUX and a few others are invalid file and folder names in DOS and Windows, even Windows XP. There is even a "
Concon " bug in Windows 95 and 98, which causes the computer to crash if the user types "C:concon", "C:prnprn" or "C:auxaux" in the Windows Explorer address bar. A patch to fix this bug has been released byMicrosoft , but freshly installed Windows 95 and 98 operating systems will still have the bug.Pinout
An LPT port has an 8-bit data bus and four pins for control output (Strobe, Linefeed, Initialize, and Select In), and five more for control input (ACK, Busy, Select, Error, and Paper Out). Its data transfer speed is at 12,000 kbit/s.
Etymology
The original meaning of the "LPT" acronym was "Line Print Terminal". According to the
Jargon File , a similar port naming convention was used on ITS, DEC systems, andCP/M .ee also
*
Device file
*COM
*Input/Output Base Address
*en [http://lpt.hw.cz/download/piny.html LPT connectors]
Wikimedia Foundation. 2010.