-.\" 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
.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.
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 ,
.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 .