]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/tunelp.8
scriptreplay: check for EOF
[thirdparty/util-linux.git] / sys-utils / tunelp.8
index 444cfb452257988796791a5eb7e528ec67cc3c70..90db834917e3e49807b8b75608299e70feca7ed4 100644 (file)
@@ -1,10 +1,9 @@
-.\" This file Copyright (C) 1992-1997 Michael K. Johnson <johnsonm@redhat.com>
-.\" This file Copyright (C) 1998      Andrea Arcangeli   <andrea@e-mind.com>
+.\" Copyright (C) 1992-1997 Michael K. Johnson <johnsonm@redhat.com>
+.\" Copyright (C) 1998      Andrea Arcangeli   <andrea@e-mind.com>
 .\" It may be distributed under the terms of the GNU General Public License,
 .\" version 2, or any higher version.  See section COPYING of the GNU General
 .\" Public license for conditions under which this file may be redistributed.
 .\"
-.\" Polished a bit - aeb
 .TH TUNELP 8 "October 2011" "util-linux" "System Administration"
 .SH NAME
 tunelp \- set various parameters for the lp device
@@ -78,7 +77,7 @@ isn't ready, quit trying, and send you mail about it.  The choice is yours.
 .TP
 \fB\-o\fR, \fB\-\-check\-status\fR \fI<on|off>\fR
 This option is much like \-a.  It makes any
-.I open()
+.BR open (2)
 of this device check to see that the device is on-line and not reporting any
 out of paper or other errors.  This is the correct setting for most versions
 of lpd.
@@ -97,27 +96,11 @@ This option returns the current printer status, both as a decimal number from
 0..255, and as a list of active flags.  When this option is specified, \-q
 off, turning off the display of the current IRQ, is implied.
 .TP
-\fB\-T\fR, \fB\-\-trust\-irq\fR \fI<on|off>\fR
-This option is obsolete. It was added in Linux 2.1.131, and removed again in
-Linux 2.3.10.  The below is for these old kernels only.
-.IP
-This option tells the lp driver to trust or not the IRQ.  This option makes
-sense only if you are using interrupts.  If you tell the lp driver to trust
-the irq, then, when the lp driver will get an irq, it will send the next
-pending character to the printer unconditionally, even if the printer still
-claims to be BUSY.  This is the only way to sleep on interrupt (and so the
-handle the irq printing efficiently) at least on Epson Stylus Color Printers.
-The lp driver automagically detects if you could get improved performance by
-setting this flag, and in such case it will warn you with a kernel message.
-.IP
-NOTE: Trusting the irq is reported to corrupt the printing on some hardware,
-you must try to know if your printer will work or not...
-.TP
 \fB\-r\fR, \fB\-\-reset\fR
 This option resets the port.  It requires a Linux kernel version of 1.1.80 or
 later.
 .TP
-\fB\-q\fR, \fB\-\-print-irq\fR \fI<on|off>\fR
+\fB\-q\fR, \fB\-\-print\-irq\fR \fI<on|off>\fR
 This option sets printing the display of the current IRQ setting.
 .SH NOTES
 .BR \-o ,
@@ -128,20 +111,12 @@ all require a Linux kernel version of 1.1.76 or later.
 .PP
 .B \-C
 requires a Linux version prior to 2.1.131.
-.PP
-.B \-T
-requires a Linux version of 2.1.131 or later.
-.SH BUGS
-By some unfortunate coincidence the ioctl LPSTRICT of 2.0.36 has the same
-number as the ioctl LPTRUSTIRQ introduced in 2.1.131.  So, use of the \-T
-option on a 2.0.36 kernel with an tunelp compiled under 2.1.131 or later may
-have unexpected effects.
 .SH FILES
 .I /dev/lp?
 .br
 .I /proc/parport/*/*
 .SH AVAILABILITY
 The tunelp  command is part of the util-linux package and is available from
-.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
+.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
 Linux Kernel Archive
 .UE .