lptcontrol.8 revision 79537

lptcontrol - a utility for manipulating the lpt driver

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

$FreeBSD: head/usr.sbin/lptcontrol/lptcontrol.8 79537 2001-07-10 15:12:08Z ru $
.Dd September 3, 1994 .Dt LPTCONTROL 8 .Os .Sh NAME .Nm lptcontrol .Nd a utility for manipulating the lpt printer driver .Sh SYNOPSIS .Nm .Fl i | p | e | s .Op Fl d Ar device .Sh DESCRIPTION The .Nm command is used to set either the interrupt-driven, extended or polling mode of individual .Xr lpt 4 devices. When a printer is switched from a mode to another, this change will only take effect the next time the device is opened.

p Extended mode is anything the parallel port interface can support. For an ECP/ISA parallel port, it may be FIFO+DMA or ECP.

p The following command line options are supported: l -tag -width indent t Fl i Turn on interrupt-driven mode. t Fl p Turn on polled mode. t Fl e Turn on extended mode. t Fl s Turn on standard mode, i.e. turn off extended mode. t Fl d Ar device Set the mode of the printer device specified by .Ar device . The default value for .Ar device is

a /dev/lpt0 . .El

p One of .Fl i , p or .Fl e must be specified. .Sh FILES l -tag -width /sys/i386/conf/GENERIC -compact t Pa /dev/lpt? printer devices t Pa /dev/lpctl? printer control devices t Pa /sys/i386/conf/GENERIC kernel configuration file .El .Sh BUGS Sure to be some. .Sh SEE ALSO .Xr lpt 4 .Sh AUTHORS .An Geoffrey M. Rehmet .Sh HISTORY The .Nm command first appeared in .Fx 1.1.5