LinuxCommandLibrary

tunelp

Configure parallel port device parameters

TLDR

Check status of parallel port

$ tunelp -s [/dev/lp0]
copy
Reset parallel port
$ tunelp -r [/dev/lp0]
copy
Set IRQ for device
$ tunelp -i 5 [/dev/lp0]
copy
Set retry attempts and timing
$ tunelp -c [times] -t [time_in_centiseconds] [/dev/lp0]
copy
Toggle abort on error
$ tunelp -a [on|off]
copy

SYNOPSIS

tunelp [OPTIONS] DEVICE

DESCRIPTION

tunelp sets various parameters for parallel port devices. It is used for troubleshooting printer connections or optimizing performance of parallel port printers and other devices.
Part of the util-linux package, tunelp allows adjusting IRQ settings, timeout values, and error handling behavior for legacy parallel port hardware.

PARAMETERS

-s, --status

Check device status
-r, --reset
Reset the parallel port
-i, --irq N
Set interrupt line (IRQ)
-c, --chars N
Number of times to try output before sleeping
-t, --time N
Sleep time in centiseconds
-a, --abort on|off
Enable or disable abort on error

CAVEATS

Parallel ports are largely obsolete. Requires root privileges. Incorrect IRQ settings can cause system conflicts. Only affects legacy lp devices.

HISTORY

tunelp is part of the util-linux package, providing configuration for parallel port devices that were common in earlier computing eras.

SEE ALSO

lp(4)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community