mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-27 19:53:58 +02:00
25 lines
468 B
Markdown
25 lines
468 B
Markdown
![]() |
# lpq
|
||
|
|
||
|
> Show printer queue status.
|
||
|
> More information: <https://www.cups.org/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}}`
|