1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:22:07 +02:00

tunelp: add page (#12542)

* tunelp: add page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
Vitor Henrique 2024-03-27 00:54:37 -03:00 committed by GitHub
parent 7713587eaa
commit 1108517ad8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
pages/linux/tunelp.md Normal file
View file

@ -0,0 +1,25 @@
# tunelp
> Set various parameters for parallel port devices for troubleshooting or for better performance.
> Part of `util-linux`.
> More information: <https://manned.org/tunelp>.
- Check the [s]tatus of a parallel port device:
`tunelp --status {{/dev/lp0}}`
- [r]eset a given parallel port:
`tunelp --reset {{/dev/lp0}}`
- Use a given [i]RQ for a device, each one representing an interrupt line:
`tunelp -i 5 {{/dev/lp0}}`
- Try a given number of times to output a [c]haracter to the printer before sleeping for a given [t]ime:
`tunelp --chars {{times}} --time {{time_in_centiseconds}} {{/dev/lp0}}`
- Enable or disable [a]borting on error (disabled by default):
`tunelp --abort {{on|off}}`