commands.sh

tunelp

linux

Set various parameters for parallel port devices for troubleshooting or for better performance. Part of `util-linux`.

More info →

Options (6)

-s, --statusboolean

Check the status of a parallel port device

Example: tunelp {{[-s|--status]}} {{/dev/lp0}}
-r, --resetboolean

Reset a given parallel port

Example: tunelp {{[-r|--reset]}} {{/dev/lp0}}
-i, --irqboolean

Use a given IRQ for a device, each one representing an interrupt line

Example: tunelp {{[-i|--irq]}} 5 {{/dev/lp0}}
-c, --charsboolean

Try a given number of times to output a character to the printer before sleeping for a given time

Example: tunelp {{[-c|--chars]}} {{times}} {{[-t|--time]}} {{time_in_centiseconds}} {{/dev/lp0}}
-t, --timeboolean

Try a given number of times to output a character to the printer before sleeping for a given time

Example: tunelp {{[-c|--chars]}} {{times}} {{[-t|--time]}} {{time_in_centiseconds}} {{/dev/lp0}}
-a, --abortboolean

Enable or disable aborting on error (disabled by default)

Example: tunelp {{[-a|--abort]}} {{on|off}}

Examples (5)

Check the status of a parallel port device

tunelp [-s|--status] /dev/lp0

Reset a given parallel port

tunelp [-r|--reset] /dev/lp0

Use a given IRQ for a device, each one representing an interrupt line

tunelp [-i|--irq] 5 /dev/lp0

Try a given number of times to output a character to the printer before sleeping for a given time

tunelp [-c|--chars] times [-t|--time] time_in_centiseconds /dev/lp0

Enable or disable aborting on error (disabled by default)

tunelp [-a|--abort] on|off
made by @shridhargupta | data from tldr-pages