In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.