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.\" $Id: lptcontrol.1,v 1.3 1994/05/22 12:31:54 csgr Exp $ 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.Op Fl u Ar unit no 27.Sh DESCRIPTION 28The 29.Nm lptcontrol 30command is used to set either the interrupt-driven or polling mode 31of individual 32.Xr lpt 4 33devices. When a printer is switched between 34interrupt-driven and polled mode, this change will only take effect 35the next time the device is opened. 36.Sh OPTIONS 37.TP 38The following command line options are supported: 39.Bl -tag -width indent 40.It Fl i 41Turns on interrupt-driven mode. 42.It Fl p 43Turns on polled mode. 44.It Fl u Ar n 45Sets the mode of the printer device specified by 46.Em n . 47The default value for 48.Em n 49is 50.Em 0 (ie. /dev/lpt0) 51.El 52.Pp 53One of 54.Fl i 55or 56.Fl p 57must be specified. 58.Pp 59.Sh FILES 60.Bl -tag -width indent -compact 61.It Pa /dev/lpt? - printer devices 62.It Pa /dev/lpctl? - printer control devices 63.El 64.Sh BUGS 65Sure to be some. 66.Sh "SEE ALSO" 67.Xr lpt 4 68.Xr /sys/i386/conf/GENERICAH 69.Sh AUTHOR 70Geoffrey M. Rehmet 71.Sh HISTORY 72.Nm lptcontrol 73first appeared in FreeBSD 1.1.5 74