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