Name
tunelp
Synopsis
tunelpdevice
[options
]
System administration command. Control a line printer’s device parameters. Without options, print information about device(s).
Options
- -a [on|off]
Specify whether or not to abort if the printer encounters an error. By default, do not abort.
- -c n
Retry device n times if it refuses a character. (Default is 250.) After exhausting n, sleep before retrying.
- -i irq
Use irq for specified parallel port. Ignore -t and -c. If 0, restore noninterrupt driven (polling) action.
- -o [on|off]
Specify whether to abort if device is not online or is out of paper.
- -q [on|off]
Specify whether to print current IRQ setting.
- -r
Reset port.
- -s
Display printer’s current status.
- -t time
Specify a delay of time in jiffies to sleep before resending a refused character to the device. A jiffy is defined as either one tick of the system clock or one AC cycle time; it should be approximately 1/100 of a second.
- -w time
Specify a delay of time in jiffies to sleep before resending a strobe signal.
- -C [on|off]
Specify whether to be extremely careful in checking for printer error. Obsolete; the default beginning with Linux 2.1.131.
- -T [on|off]
Tell the lp driver whether it can trust the IRQ. Useful only if using with interrupts, to handle IRQ printing efficiently. Requires at least Linux 2.1.131.
Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.