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