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 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 24.Sh DESCRIPTION 25The 26.Nm 27utility is used to set either the interrupt-driven, extended or polling mode 28of 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 41.It Fl i 42Turn on interrupt-driven mode. 43.It Fl p 44Turn 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. 49.It Fl d Ar device 50Set the mode of the printer device specified by 51.Ar device . 52The default value for 53.Ar device 54is 55.Pa /dev/lpt0 . 56.El 57.Pp 58One of 59.Fl i , p 60or 61.Fl e 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.El 72.Sh BUGS 73Sure to be some. 74.Sh SEE ALSO 75.Xr lpt 4 76.Sh AUTHORS 77.An Geoffrey M. Rehmet 78.Sh HISTORY 79The 80.Nm 81utility 82first appeared in 83.Fx 1.1.5 84