Re: Scanner and Printer - Copier

becka@sunserver1.rz.uni-duesseldorf.de
Wed, 14 May 1997 19:07:14 +0200 (MET DST)

> i am wondering if there is a simple way to copy something with scanner
> and printer. It would be nice to have a copy button in sane or just a
> simple new frontend.
Adding such a function to an existing frontend shouldn't be hard.

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