Report issue Add example

lpstat

Display status information about CUPS printers

Description

The lpstat command is used to display status information about printers in the CUPS system.

Syntax

lpstat (options)

Options

-E: Encrypt the connection to the printer server;
-R: Display the ranking of print jobs;
-U <username>: Specify an optional username;
-a: Display the printers that are accepting print jobs;
-c: Display printer classes;
-d: Display the default printer;
-h <server>: Specify optional server information;
-l: Show long format output;
-p: Show specified printers and whether they are accepting jobs;
-s: Show summary information;
-t: Show all status information.