lptcontrol.8 (0eba89e37566337b4ebcdbbc0e1bf82dbce77001) | lptcontrol.8 (4ae6befa9382e45f903e42b869df75bc5e1b4292) |
---|---|
1.\" 2.\" lptcontrol - a utility for manipulating the lpt driver 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 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. 12.\" 13.\" $FreeBSD$ | 1.\" 2.\" lptcontrol - a utility for manipulating the lpt driver 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 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. 12.\" 13.\" $FreeBSD$ |
14.Dd September 3, 1994 | 14.Dd October 1, 2004 |
15.Dt LPTCONTROL 8 16.Os 17.Sh NAME 18.Nm lptcontrol 19.Nd a utility for manipulating the lpt printer driver 20.Sh SYNOPSIS 21.Nm | 15.Dt LPTCONTROL 8 16.Os 17.Sh NAME 18.Nm lptcontrol 19.Nd a utility for manipulating the lpt printer driver 20.Sh SYNOPSIS 21.Nm |
22.Fl i | p | e | s 23.Op Fl d Ar device | 22.Fl e | i | p | s 23.Op Fl d Ar control_device |
24.Sh DESCRIPTION 25The 26.Nm | 24.Sh DESCRIPTION 25The 26.Nm |
27utility is used to set either the interrupt-driven, extended or polling mode 28of individual | 27utility is used to set either the interrupt-driven, extended, standard, 28or polling mode of individual |
29.Xr lpt 4 30devices. 31When a printer is switched from 32a mode to another, this change will only take effect 33the next time the device is opened. 34.Pp 35Extended mode is anything the parallel port interface can support. 36For an 37ECP/ISA parallel port, it may be FIFO+DMA or ECP. 38.Pp 39The following command line options are supported: 40.Bl -tag -width indent | 29.Xr lpt 4 30devices. 31When a printer is switched from 32a mode to another, this change will only take effect 33the next time the device is opened. 34.Pp 35Extended mode is anything the parallel port interface can support. 36For an 37ECP/ISA parallel port, it may be FIFO+DMA or ECP. 38.Pp 39The following command line options are supported: 40.Bl -tag -width indent |
41.It Fl e 42Turn on extended mode. |
|
41.It Fl i 42Turn on interrupt-driven mode. 43.It Fl p 44Turn on polled mode. | 43.It Fl i 44Turn on interrupt-driven mode. 45.It Fl p 46Turn on polled mode. |
45.It Fl e 46Turn on extended mode. | |
47.It Fl s 48Turn on standard mode, i.e., turn off extended mode. | 47.It Fl s 48Turn on standard mode, i.e., turn off extended mode. |
49.It Fl d Ar device 50Set the mode of the printer device specified by 51.Ar device . | 49.It Fl d Ar control_device 50Set the mode of the printer control device specified by 51.Ar control_device . |
52The default value for | 52The default value for |
53.Ar device | 53.Ar control_device |
54is | 54is |
55.Pa /dev/lpt0 . | 55.Pa /dev/lpt0.ctl . |
56.El 57.Pp 58One of | 56.El 57.Pp 58One of |
59.Fl i , p | 59.Fl e , i , p |
60or | 60or |
61.Fl e | 61.Fl s |
62must be specified. 63.Sh FILES 64.Bl -tag -width /sys/i386/conf/GENERIC -compact 65.It Pa /dev/lpt? 66printer devices 67.It Pa /dev/lpt?.ctl 68printer control devices 69.It Pa /sys/i386/conf/GENERIC 70kernel configuration file | 62must be specified. 63.Sh FILES 64.Bl -tag -width /sys/i386/conf/GENERIC -compact 65.It Pa /dev/lpt? 66printer devices 67.It Pa /dev/lpt?.ctl 68printer control devices 69.It Pa /sys/i386/conf/GENERIC 70kernel configuration file |
71.It Pa /boot/device.hints 72Device hints for the parallel port chipset driver, 73.Xr ppc 4 |
|
71.El 72.Sh BUGS | 74.El 75.Sh BUGS |
73Sure to be some. | 76The control device name should never have been an option, 77but should have been an optional argument. 78Because of this, a single argument is treated as a device name. |
74.Sh SEE ALSO | 79.Sh SEE ALSO |
75.Xr lpt 4 | 80.Xr lpt 4 , 81.Xr ppc 4 , 82.Xr device.hints 5 |
76.Sh AUTHORS 77.An Geoffrey M. Rehmet 78.Sh HISTORY 79The 80.Nm 81utility 82first appeared in 83.Fx 1.1.5 | 83.Sh AUTHORS 84.An Geoffrey M. Rehmet 85.Sh HISTORY 86The 87.Nm 88utility 89first appeared in 90.Fx 1.1.5 |