This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / usr.sbin / lptcontrol / lptcontrol.1
CommitLineData
053e40ad
GR
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.\"
c069f1e9 14.\" $Id$
053e40ad
GR
15.TH lptcontrol 1 "March 12, 1994" "" "FreeBSD"
16
17.SH NAME
18lptcontrol - a utility for manipulating the lpt printer driver.
19.SH SYNOPSIS
20.na
21.B lptcontrol
22.RB [options]
23.SH DESCRIPTION
24The
25.B lptcontrol
26command is used to set either the interrupt-driven or polling mode
27of individual lpt devices. When a printer is switched between
28interrupt-driven and polled mode, this change will only take effect
29the next time the device is opened.
30.SH OPTIONS
31.TP
32The following command line options are supported.
33.TP
34.B \-i
35Turns on interrupt-driven mode.
36.TP
37.B \-p
38Turns on polled mode.
39.TP
40.BI "\-f\ " file
41Sets the mode of the printer device specified by
42.I file.
43The default value for
44.I file
45is
46.I /dev/lpt0
47.TP
48One of
49.B \-i
50or
51.B \-p
52must be specified.
53.PP
54.SH FILES
55/dev/lpt?
56.PP
57.SH BUGS
58Sure to be some.
59.SH "SEE ALSO"
60.BR lpt (4) ,
61.BR /sys/i386/conf/GENERICAH
62.SH AUTHOR
63Geoffrey M. Rehmet