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