tail head cat sleep
QR code linking to this page

Manual Pages  — LPTCONTROL


lptcontrol – a utility for manipulating the lpt printer driver



lptcontrol -e | -i | -p | -s [-d control_device]


The lptcontrol utility is used to set either the interrupt-driven, extended, standard, 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:
  Turn on extended mode.
  Turn on interrupt-driven mode.
  Turn on polled mode.
  Turn on standard mode, i.e., turn off extended mode.
-d control_device
  Set the mode of the printer control device specified by control_device. The default value for control_device is /dev/lpt0.ctl.

One of -e -, -i -, -p or -s must be specified.


/dev/lpt? printer devices
/dev/lpt?.ctl printer control devices
  kernel configuration file
/boot/device.hints device hints for the parallel port chipset driver, ppc(4)


lpt(4), ppc(4), device.hints(5)


The lptcontrol utility first appeared in FreeBSD 1.1.5


Geoffrey M. Rehmet


The control device name should never have been an option, but should have been an optional argument. Because of this, a single argument is treated as a device name.

LPTCONTROL (8) October 1, 2004

tail head cat sleep
QR code linking to this page

Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.
— Maurice Wilkes