installer: Add serial number and /etc/devtab support.
[dragonfly.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 .\"
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
26 The
27 .Nm
28 utility is used to set either the interrupt-driven, extended or polling mode
29 of individual
30 .Xr lpt 4
31 devices.
32 When a printer is switched from
33 a mode to another, this change will only take effect
34 the next time the device is opened.
35 .Pp
36 Extended mode is anything the parallel port interface can support.
37 For an
38 ECP/ISA parallel port, it may be FIFO+DMA or ECP.
39 .Pp
40 The following command line options are supported:
41 .Bl -tag -width indent
42 .It Fl i
43 Turn on interrupt-driven mode.
44 .It Fl p
45 Turn on polled mode.
46 .It Fl e
47 Turn on extended mode.
48 .It Fl s
49 Turn on standard mode, i.e. turn off extended mode.
50 .It Fl d Ar device
51 Set the mode of the printer device specified by
52 .Ar device .
53 The default value for
54 .Ar device
55 is
56 .Pa /dev/lpt0 .
57 .El
58 .Pp
59 One of
60 .Fl i , p
61 or
62 .Fl e
63 must be specified.
64 .Sh FILES
65 .Bl -tag -width /sys/config/GENERIC -compact
66 .It Pa /dev/lpt?
67 printer devices
68 .It Pa /dev/lpctl?
69 printer control devices
70 .It Pa /sys/config/GENERIC
71 kernel configuration file
72 .El
73 .Sh SEE ALSO
74 .Xr lpt 4
75 .Sh HISTORY
76 The
77 .Nm
78 utility
79 first appeared in
80 .Fx 1.1.5
81 .Sh AUTHORS
82 .An Geoffrey M. Rehmet
83 .Sh BUGS
84 Sure to be some.