2 .\" lptcontrol - a utility for manipulating the lpt driver
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
19 .Nd a utility for manipulating the lpt printer driver
23 .Op Fl d Ar control_device
27 utility is used to set either the interrupt-driven, extended, standard,
28 or polling mode of individual
31 When a printer is switched from
32 a mode to another, this change will only take effect
33 the next time the device is opened.
35 Extended mode is anything the parallel port interface can support.
37 ECP/ISA parallel port, it may be FIFO+DMA or ECP.
39 The following command line options are supported:
40 .Bl -tag -width indent
42 Turn on extended mode.
44 Turn on interrupt-driven mode.
48 Turn on standard mode, i.e., turn off extended mode.
49 .It Fl d Ar control_device
50 Set the mode of the printer control device specified by
64 .Bl -tag -width /sys/i386/conf/GENERIC -compact
68 printer control devices
69 .It Pa /sys/i386/conf/GENERIC
70 kernel configuration file
71 .It Pa /boot/device.hints
72 device hints for the parallel port chipset driver,
86 .An Geoffrey M. Rehmet
88 The control device name should never have been an option,
89 but should have been an optional argument.
90 Because of this, a single argument is treated as a device name.