]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/lptcontrol/lptcontrol.8
unbound: Vendor import 1.19.0
[FreeBSD/FreeBSD.git] / usr.sbin / lptcontrol / lptcontrol.8
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 .Dd October 1, 2004
13 .Dt LPTCONTROL 8
14 .Os
15 .Sh NAME
16 .Nm lptcontrol
17 .Nd a utility for manipulating the lpt printer driver
18 .Sh SYNOPSIS
19 .Nm
20 .Fl e | i | p | s
21 .Op Fl d Ar control_device
22 .Sh DESCRIPTION
23 The
24 .Nm
25 utility is used to set either the interrupt-driven, extended, standard,
26 or polling mode of individual
27 .Xr lpt 4
28 devices.
29 When a printer is switched from
30 a mode to another, this change will only take effect
31 the next time the device is opened.
32 .Pp
33 Extended mode is anything the parallel port interface can support.
34 For an
35 ECP/ISA parallel port, it may be FIFO+DMA or ECP.
36 .Pp
37 The following command line options are supported:
38 .Bl -tag -width indent
39 .It Fl e
40 Turn on extended mode.
41 .It Fl i
42 Turn on interrupt-driven mode.
43 .It Fl p
44 Turn on polled mode.
45 .It Fl s
46 Turn on standard mode, i.e., turn off extended mode.
47 .It Fl d Ar control_device
48 Set the mode of the printer control device specified by
49 .Ar control_device .
50 The default value for
51 .Ar control_device
52 is
53 .Pa /dev/lpt0.ctl .
54 .El
55 .Pp
56 One of
57 .Fl e , i , p
58 or
59 .Fl s
60 must be specified.
61 .Sh FILES
62 .Bl -tag -width /sys/i386/conf/GENERIC -compact
63 .It Pa /dev/lpt?
64 printer devices
65 .It Pa /dev/lpt?.ctl
66 printer control devices
67 .It Pa /sys/i386/conf/GENERIC
68 kernel configuration file
69 .It Pa /boot/device.hints
70 device hints for the parallel port chipset driver,
71 .Xr ppc 4
72 .El
73 .Sh SEE ALSO
74 .Xr lpt 4 ,
75 .Xr ppc 4 ,
76 .Xr device.hints 5
77 .Sh HISTORY
78 The
79 .Nm
80 utility
81 first appeared in
82 .Fx 1.1.5
83 .Sh AUTHORS
84 .An Geoffrey M. Rehmet
85 .Sh BUGS
86 The control device name should never have been an option,
87 but should have been an optional argument.
88 Because of this, a single argument is treated as a device name.