1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 15:53:34 +02:00
tldr/pages/common/lpq.md
Managor 7fb7795435
lp{rm, q, options}: remove optionality (#17962)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-09-04 14:23:53 +03:00

485 B

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}}