Linux Command
lpq
Display status information for print jobs in the print queue
Supplementary instructions
lpq command is used to display status information of print tasks in the print queue.
grammar
lpq(option)
Options
-E: Force the use of encryption to connect to the server;
-P: Print queue status on the printer being displayed;;
-U: Automatically optional username;
-a: Report defined tasks for all printers;
-h: Specify print server information;
-l: Use long format output;
+: Specify the interval for displaying status.


