Display status information about CUPS printers
The lpstat command is used to display status information about printers in the CUPS system.
lpstat (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.