HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lpq — Show printer queue status. More information: <https://openprinting.github.io/cups/doc/man-lpq.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandshowqueuestatuscliprintermorelpq

Problem

How to use the lpq command: Show printer queue status. More information: <https://openprinting.github.io/cups/doc/man-lpq.html>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/lpq

Revisions (0)

No revisions yet.