Topic: [Howto]Scanning from the commandline
Yes. You must think I'm joking. But it's pretty nice
So here goes:
1) Connect your scanner (duh!)
2) Run
scanimage -L to make sure your scanner is detected. If this step returns "No scanners found", then...I can't help you
You'll need to figure that part out on your own (or post here on the forums)
3) Once step 2 shows that your scanner is detected, you're in for the fun part. Run
scanimage --helpto see what all the options are and set your desired options. Remember that one of these must be your scanner device (the -d flag).
For example, I use the following set of options:
scanimage -d epkowa --quick-format Letter --resolution=4004) Take the command line you created in step 3 and append
> test.pnmand run it. This will create a file called test.pnm that contains the stuff you scanned. You can stop right here, but it's kind of a pain to share the file with other people. If you want to share the file with your peers/coworkers/whatever, proceed to step 5.
5) Run
pnmtops test.pnm > test.ps && pstopdf test.ps. This will generate two files: test.ps and test.pdf.
That's it! ![]()
Enjoy! ![]()
Join SpiderOak using this link and get an extra 1 GB free: https://spideroak.com/download/referral 660e787ff1