PDA

View Full Version : [ubuntu] Scanimage



smacintyre569
December 9th, 2008, 06:53 PM
I use scanimage on my server 8.10

I made a script that sets resolution, color mode, etc and makes a file called scan.

If I have more than one page to scan I have to

cp scan scan1

before I can scan again.

What do I need to add to my script to get it to rename the scanned document scan# if scan arleady exists (# being the next consecutive number)

Also is there a way I can scan multiple pages without having to type:

sudo sh scan.sh

each time?

Maybe have it scan everytime I hit enter until I hit esc.

tia
Shane