Name

lpq [options] — cups

Synopsis

/usr/bin stdin stdout - file -- opt --help --version

The lpq (line printer queue) command lists all print jobs waiting to be printed.

Useful options

-P printername

List the queue for printer printername.

-a

List the queue for all printers.

-l

Be verbose: display information in a longer format.

Get Linux Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.