Deleted Added
full compact
lpt.4 (79538) lpt.4 (79727)
1.\"
2.\" Copyright (c) 1993 Christopher G. Demetriou
3.\" Copyright (c) 1994 Geoffrey M. Rehmet
4.\" Copyright (c) 1999 Nicolas Souchu
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1.\"
2.\" Copyright (c) 1993 Christopher G. Demetriou
3.\" Copyright (c) 1994 Geoffrey M. Rehmet
4.\" Copyright (c) 1999 Nicolas Souchu
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/share/man/man4/lpt.4 79538 2001-07-10 15:31:11Z ru $
28.\" $FreeBSD: head/share/man/man4/lpt.4 79727 2001-07-14 19:41:16Z schweikh $
29.\"
30.Dd February 14, 1999
31.Dt LPT 4
32.Os
33.Sh NAME
34.Nm lpt
35.Nd generic printer device driver
36.Sh SYNOPSIS

--- 28 unchanged lines hidden (view full) ---

65See
66.Xr ppbus 4
67for more info about the ppbus system.
68.Pp
69The parallel port bus is allocated by lpt when the printer device is opened
70and released only when the transfer is completed: either when the device
71is closed or when the entire buffer is sent in interrupt driven mode.
72.Pp
29.\"
30.Dd February 14, 1999
31.Dt LPT 4
32.Os
33.Sh NAME
34.Nm lpt
35.Nd generic printer device driver
36.Sh SYNOPSIS

--- 28 unchanged lines hidden (view full) ---

65See
66.Xr ppbus 4
67for more info about the ppbus system.
68.Pp
69The parallel port bus is allocated by lpt when the printer device is opened
70and released only when the transfer is completed: either when the device
71is closed or when the entire buffer is sent in interrupt driven mode.
72.Pp
73The driver can be configured to be either interrupt-driven, or
74to poll the printer. Ports that are configured to be
73The driver can be configured to be either interrupt-driven, or
74to poll the printer. Ports that are configured to be
75interrupt-driven can be switched to polled mode by using the
76.Xr lptcontrol 8
77command.
78.Pp
79Depending on your hardware, extended capabilities may be configured with the
80.Xr lptcontrol 8
81command.
82With an ECP/ISA port, you can take advantage

--- 14 unchanged lines hidden (view full) ---

97.Bl -tag -width Pa -compact
98.It Pa /dev/lpt0
99first parallel port driver
100.El
101.Sh BUGS
102There are lots of them, especially in cheap parallel port implementations.
103.Pp
104It is only possible to open a lpt port when a printer is connected and
75interrupt-driven can be switched to polled mode by using the
76.Xr lptcontrol 8
77command.
78.Pp
79Depending on your hardware, extended capabilities may be configured with the
80.Xr lptcontrol 8
81command.
82With an ECP/ISA port, you can take advantage

--- 14 unchanged lines hidden (view full) ---

97.Bl -tag -width Pa -compact
98.It Pa /dev/lpt0
99first parallel port driver
100.El
101.Sh BUGS
102There are lots of them, especially in cheap parallel port implementations.
103.Pp
104It is only possible to open a lpt port when a printer is connected and
105on-line, making it impossible to run
106.Xr lptcontrol 8
105on-line, making it impossible to run
106.Xr lptcontrol 8
107when there is no printer connected.
108.Pp
109This driver could still stand a rewrite.
107when there is no printer connected.
108.Pp
109This driver could still stand a rewrite.