diff options
author | nsouch <nsouch@FreeBSD.org> | 1999-02-14 16:22:27 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 1999-02-14 16:22:27 +0000 |
commit | e0c0c55d0fa296308857c59218bce9c9307588f9 (patch) | |
tree | d11ab8497d9158fc9c0c96c91728f298a4479ee9 /share/man/man4/lpt.4 | |
parent | 9f6adcd1d82fbfb6c8fcd9953213bbcdc1fd6cb7 (diff) | |
download | FreeBSD-src-e0c0c55d0fa296308857c59218bce9c9307588f9.zip FreeBSD-src-e0c0c55d0fa296308857c59218bce9c9307588f9.tar.gz |
Move lp.4 to man4. It is not i386 dependent.
Fix ppbus and lpt declaration ('0' forgotten). Add info about retrieving
printer status with 'cat /dev/lpt0'.
Diffstat (limited to 'share/man/man4/lpt.4')
-rw-r--r-- | share/man/man4/lpt.4 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/share/man/man4/lpt.4 b/share/man/man4/lpt.4 index 5b08cbe..322748c 100644 --- a/share/man/man4/lpt.4 +++ b/share/man/man4/lpt.4 @@ -1,7 +1,7 @@ .\" .\" Copyright (c) 1993 Christopher G. Demetriou .\" Copyright (c) 1994 Geoffrey M. Rehmet -.\" Copyright (c) 1998 Nicolas Souchu +.\" Copyright (c) 1999 Nicolas Souchu .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -34,8 +34,8 @@ .Nd Generic printer device driver .Sh SYNOPSIS -.Cd "controller ppbus" -.Cd "device lpt at ppbus?" +.Cd "controller ppbus0" +.Cd "device lpt0 at ppbus?" .Pp .Cd "controller ppc0 at isa? port" \&"IO_LPT1\&" tty irq 7 .Cd "controller ppc1 at isa? port" \&"IO_LPT2\&" tty irq 7 @@ -75,8 +75,13 @@ command. .Pp Depending on your hardware, extended capabilities may be configured with the .Xr lptcontrol 8 -command (use the -e option). With an ECP/ISA port, you can take advantage +command. With an ECP/ISA port, you can take advantage of FIFO and DMA. +.Pp +In order to retrieve printer info from /dev/lpt0, just apply the +.Nm cat +command to the device. If the printer supports IEEE1284 nibble mode and has +data to send to the host, you'll get it. .Sh SEE ALSO .Xr ppbus 4 , .Xr lptcontrol 8 |