*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> lpt (4)              



NAME    [Toc]    [Back]

     lpt -- generic printer device driver

SYNOPSIS    [Toc]    [Back]

     device ppc
     device ppbus
     device lpt

DESCRIPTION    [Toc]    [Back]

     The current lpt driver is the port of the original lpt driver to the
     ppbus(4) system.

     One purpose of this port was to allow parallel port sharing with other
     parallel devices.	Secondly, inb()/outb() calls have been replaced by
     ppbus function calls.  lpt is now arch-independent thanks to the ppbus
     interface.  See ppbus(4) for more info about the ppbus system.

     The parallel port bus is allocated by lpt when the printer device is
     opened and released only when the transfer is completed: either when the
     device is closed or when the entire buffer is sent in interrupt driven

     The driver can be configured to be either interrupt-driven, or to poll
     the printer.  Ports that are configured to be interrupt-driven can be
     switched to polled mode by using the lptcontrol(8) command.

     Depending on your hardware, extended capabilities may be configured with
     the lptcontrol(8) command.  With an ECP/ISA port, you can take advantage
     of FIFO and DMA.

     In order to retrieve printer info from /dev/lpt0, just apply the cat command
 to the device.  If the printer supports IEEE1284 nibble mode and has
     data to send to the host, you'll get it.

SEE ALSO    [Toc]    [Back]

     ppbus(4), ppc(4), lptcontrol(8)

HISTORY    [Toc]    [Back]

     This driver replaces the functionality of the lpa driver, which is now

FILES    [Toc]    [Back]

     /dev/lpt0			       first parallel port driver

BUGS    [Toc]    [Back]

     There are lots of them, especially in cheap parallel port implementations.

     It is only possible to open a lpt port when a printer is connected and
     on-line, making it impossible to run lptcontrol(8) when there is no
     printer connected.

     This driver could still stand a rewrite.

FreeBSD 5.2.1		       February 14, 1999		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
iic FreeBSD I2C generic i/o device driver
smb FreeBSD SMB generic I/O device driver
psf IRIX PostScript printer driver.
lptcontrol FreeBSD a utility for manipulating the lpt printer driver
plip FreeBSD printer port Internet Protocol driver
lp FreeBSD printer port Internet Protocol driver
ugen OpenBSD USB generic device support
ugen FreeBSD USB generic device support
pci FreeBSD generic PCI driver
ioctl HP-UX generic device control commands
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service