Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the lpq command of linux to view the print queue status

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report