Display status information of printers in CUPS
lpstat command is used to display the status information of printers in CUPS.
lpstat(options)
-E: Encrypt when connecting to the printer;
-R: Display the level of the print task;
-U: Specify an optional username;
-a: Display the printers accepting print tasks;
-c: Display printer class;
-d: Display the default printer;
-h: Specify optional server information;
-l: display long format;
-p: Displays the specified printer and whether the printer accepts print tasks;
-s: Display summary information;
-t: Display all status information.