scanimage should do when used in a pipe like
scanimage $* | ppmtops | lpr
The x-based frontends could do the same by writing output to a pipe.
Please note, that this will cause problems with 3-pass-scanners, as they
will want to seek on the output-file to make a correct PPM.
Another simple solution would be to have a configureable "commands-menu"
which can be used to do different things on the output-file. I think of
something along the lines of
XView : xview %f - xview gets started when Menu-Item is selected
Print : ppmtops %f | lpr - print the last scan
ToGif : ppmtops %f >%f.gif - convert to gif
...
CU,Andy
-- Andreas Beck | Email : <becka@sunserver1.rz.uni-duesseldorf.de>
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com