[sane-devel] Querying scanner buttons
Karl Heinz Kremer
Mon, 29 Oct 2001 19:19:48 -0500
Content-Type: text/plain; charset=us-ascii
This functionality is not supported by the EPSON backend.=20
On Mon, Oct 29, 2001 at 11:12:25AM +0100, Michael Piotrowski wrote:
> I know this has already come up several times, but nevertheless...
> I find that I quite often use shell scripts like the following:
> while read; do
> i=3D$(($i + 1));
> scanimage --format tiff --resolution 300 \
> --halftoning "Text Enhanced Technology" \
> -x 200mm -y 275mm > out$i.tiff;
> Afterwards I combine all the images into one multi-page TIFF. This
> approach is very handy to capture magazine articles for archival.
> Now, since my EPSON 1640 scanner has a button, it would be nice if I
> could "read" it in the script above instead of having to hit Return on
> the keyboard (which is sometimes difficult while trying to make sure
> that the source on the scanner doesn't move).
> I know that it would probably be conceptually difficult to integrate
> this functionality into the SANE API; I'm rather thinking of separate
> utility that behaves just like read.
> sensed <http://www.remote.org/frederik/projects/software/sane/> is
> something that comes very close, but unfortunately, it's for Fujitsu
> scanners only.
> I guess that most of the necessary code is already available in SANE,
> so that it shouldn't be too difficult to implement, right? Maybe
> someone has already done it? Or working on it?
> Hints and comments welcome!
> Michael Piotrowski, M.A. <email@example.com=
> Sane-devel mailing list
Karl Heinz Kremer firstname.lastname@example.org
PGP Key at http://www.freecolormanagement.com/download/khk.asc
EPSON Sane Backend: http://www.freecolormanagement.com
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
-----END PGP SIGNATURE-----