lptcontrol -- a utility for manipulating the lpt printer driver
lptcontrol -i | -p | -e | -s [-d device]
The lptcontrol utility is used to set either the interrupt-driven,
extended or polling mode of individual lpt(4) devices. When a printer is
switched from a mode to another, this change will only take effect the
next time the device is opened.
Extended mode is anything the parallel port interface can support. For
an ECP/ISA parallel port, it may be FIFO+DMA or ECP.
The following command line options are supported:
-i Turn on interrupt-driven mode.
-p Turn on polled mode.
-e Turn on extended mode.
-s Turn on standard mode, i.e. turn off extended mode.
-d device
Set the mode of the printer device specified by device. The
default value for device is /dev/lpt0.
One of -i, -p or -e must be specified.
/dev/lpt? printer devices
/dev/lpctl? printer control devices
/sys/i386/conf/GENERIC kernel configuration file
Sure to be some.
lpt(4)
Geoffrey M. Rehmet
The lptcontrol utility first appeared in FreeBSD 1.1.5
FreeBSD 5.2.1 September 3, 1994 FreeBSD 5.2.1 [ Back ] |