In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the use of scanimage in linux, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Ran into scanimage!
Scanimage is a command line tool in the sane-utils Debian package. I think all Linux scanning tools use the sane ("scanner access now easy") library, so I guess it has similar capabilities to other scanning software. I don't need OCR here, so I'm not going to talk about OCR.
Use scanimage-L to get the name of your scanner
Scanimage-L lists all your scanning equipment.
I couldn't make it work at first, and I was a little frustrated, but it turned out that I connected the scanner to my computer, but it wasn't plugged in.
It will work as soon as it is plugged in. Apparently, our scanner is called fujitsu:ScanSnap S1500R 2314. Hooray!
List your scanner options with-- help
Obviously each scanner has different options (it makes sense! So I run this command to get the options for my scanner
Scanimage-- help-d 'fujitsu:ScanSnap S1500 fujitsu:ScanSnap 2314'
I found that my scanner supports the-- source option (which I can use to enable duplex scanning) and the-- resolution option (I changed it to 150 to reduce file size and make scanning faster).
Scanimage does not support outputting PDF files (but you can write a small script)
The only drawback is that I want a scan file in PDF format, while scanimage doesn't seem to support PDF output.
So I wrote this five-line shell script to scan a bunch of PNG files in a temporary folder and save the results to PDF.
#! / bin/bashset-e DIR= `mktemp-d`cur = $PWDcd $DIRscanimage-b-- format png-d 'fujitsu:ScanSnap S1500 PWDcd 2314'-- source 'ADF Front'-- resolution 150convert * .png $CUR/$1
I run the script like this: scan-single-sided output-file-to-save.pdf
You may need to set different-d and-source for your scanner.
Thank you for reading this article carefully. I hope the article "what is the use of scanimage in linux" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.