Use the lpq command of linux to view the print queue status
This article mainly introduces the use of linux lpq command to check the print queue status, the article is very detailed, has a certain reference value, interested friends must read it!
The lpq command is used to display the status information of print tasks in the print queue and the print tasks they contain, and if no printer or class is specified when using this command, jobs queued on the default destination are displayed.
Syntax format: lpq [parameters]
Common parameters:
-E force encrypted connection to the server-print queue status on the printer in the P display-U automatically optional user name-a report definition task for all printers-h specify print server information-l use long format output + specify the interval for display status
Reference example
Displays the print queue status:
[root@linuxcool ~] # lpq
View the current print task:
[root@linuxcool ~] # lpq-l above is to use the lpq command of linux to check all the contents of the print queue status, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!