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.
17 .Nd a utility for manipulating the lpt printer driver
21 .Op Fl d Ar control_device
25 utility is used to set either the interrupt-driven, extended, standard,
26 or polling mode of individual
29 When a printer is switched from
30 a mode to another, this change will only take effect
31 the next time the device is opened.
33 Extended mode is anything the parallel port interface can support.
35 ECP/ISA parallel port, it may be FIFO+DMA or ECP.
37 The following command line options are supported:
38 .Bl -tag -width indent
40 Turn on extended mode.
42 Turn on interrupt-driven mode.
46 Turn on standard mode, i.e., turn off extended mode.
47 .It Fl d Ar control_device
48 Set the mode of the printer control device specified by
62 .Bl -tag -width /sys/i386/conf/GENERIC -compact
66 printer control devices
67 .It Pa /sys/i386/conf/GENERIC
68 kernel configuration file
69 .It Pa /boot/device.hints
70 device hints for the parallel port chipset driver,
84 .An Geoffrey M. Rehmet
86 The control device name should never have been an option,
87 but should have been an optional argument.
88 Because of this, a single argument is treated as a device name.