2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`lpq -P {{destination}}/{{instance}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show the queued jobs once every n seconds until the queue is empty:
|
|
|
|
|
|
|
|
|
|
`lpq +{{interval}}`
|