mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 14:59:43 +00:00
Update cheatsheets
This commit is contained in:
29
lpq
Normal file
29
lpq
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lpq
|
||||
|
||||
> Show printer queue status.
|
||||
> More information: <https://openprinting.github.io/cups/doc/man-lpq.html>.
|
||||
|
||||
- Show the queued jobs of the default destination:
|
||||
|
||||
`lpq`
|
||||
|
||||
- Show the queued jobs of all printers enforcing encryption:
|
||||
|
||||
`lpq -a -E`
|
||||
|
||||
- Show the queued jobs in a long format:
|
||||
|
||||
`lpq -l`
|
||||
|
||||
- Show the queued jobs of a specific printer or class:
|
||||
|
||||
`lpq -P {{destination[/instance]}}`
|
||||
|
||||
- Show the queued jobs once every n seconds until the queue is empty:
|
||||
|
||||
`lpq +{{interval}}`
|
||||
Reference in New Issue
Block a user