2024-03-27 00:54:37 -03:00
|
|
|
# tunelp
|
|
|
|
|
|
|
|
> Set various parameters for parallel port devices for troubleshooting or for better performance.
|
|
|
|
> Part of `util-linux`.
|
|
|
|
> More information: <https://manned.org/tunelp>.
|
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
- Check the status of a parallel port device:
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
`tunelp {{[-s|--status]}} {{/dev/lp0}}`
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
- Reset a given parallel port:
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
`tunelp {{[-r|--reset]}} {{/dev/lp0}}`
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
- Use a given IRQ for a device, each one representing an interrupt line:
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
`tunelp {{[-i|--irq]}} 5 {{/dev/lp0}}`
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
- Try a given number of times to output a character to the printer before sleeping for a given time:
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
`tunelp {{[-c|--chars]}} {{times}} {{[-t|--time]}} {{time_in_centiseconds}} {{/dev/lp0}}`
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
- Enable or disable aborting on error (disabled by default):
|
2024-03-27 00:54:37 -03:00
|
|
|
|
2025-03-27 16:42:21 +02:00
|
|
|
`tunelp {{[-a|--abort]}} {{on|off}}`
|