On 10/30/07, Jens Gulden <mail at jensgulden.de> wrote: > Hello, > > Julien BLACHE schrieb: > >> I think you've just reinvented scanimage --batch-prompt :-) > > Oops, yes. But you must admit it's a useful 'invention' :-). > > The script originated from a more complex thing: double-side scanning of > multiple pages via adf (see > below). > It first scans a pile of pages on one side, then the pile is turned around > and the other sides are > scanned. Finally, the script re-sorts the page numbers so that subsequent > pages appear in the right > order again (which is a bit tricky because the second sides got scanned in > reverse order). > > Is there an option in scanadf or another tool in sane-utils which does about > the same? Would be > useful, I guess. >
it looks like the --batch-increment option to scanimage can be negative, which could be combined with a high --batch-start to give the same effect in two commands. allan -- "The truth is an offense, but not a sin"
