In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 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's lpr command to put files into the print queue to wait for printing, the article introduces in great detail, has a certain reference value, interested friends must read it!
The lpr command is used to send files to the specified printer for printing, or the default printer is used if no target printer is specified.
Syntax format: lpr [parameters]
Common parameters:
-E enforces encryption when connecting to the print server-H specifies optional print server-C specifies the name of the print task-P specifies the target printer that accepts the print task-U specifies the optional user name-# specifies the number of copies printed-h closes banner printing-m printing is completed and sends E-mail-r to delete the file after printing is complete
Reference example
Send man1 and man2 to the printer lp for printing:
[root@linuxcool] # lpr-P lp man1 man2
Print the report file on the printer named mailroom:
[root@linuxcool ~] # lpr-P mailroom report
Print 3 files on the printer named laser1:
[root@linuxcool ~] # lpr-P laser1 file_1.txt file_2.txt file_3.txt above are all the contents that use the lpr command of linux to put the file into the print queue and wait for printing. 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.