Update cheatsheets

This commit is contained in:
ivuorinen
2024-03-28 00:13:34 +00:00
parent d9dd35567e
commit 7c4268f0fa
3 changed files with 67 additions and 0 deletions

30
tldr/linux/tunelp Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`