Name
tunelp
Synopsis
tunelp
device [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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access