mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 18:02:02 +00:00
Update cheatsheets
This commit is contained in:
30
tldr/linux/tunelp
Normal file
30
tldr/linux/tunelp
Normal 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}}`
|
||||
Reference in New Issue
Block a user