[sane-devel] Querying scanner buttons

Karl Heinz Kremer khk@khk.net
Mon, 29 Oct 2001 19:19:48 -0500


--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This functionality is not supported by the EPSON backend.=20

On Mon, Oct 29, 2001 at 11:12:25AM +0100, Michael Piotrowski wrote:
> Hi,
>=20
> I know this has already come up several times, but nevertheless...
>=20
> I find that I quite often use shell scripts like the following:
>=20
>   i=3D0
>   while read; do
>     i=3D$(($i + 1));
>     scanimage --format tiff --resolution 300 \
>               --halftoning "Text Enhanced Technology" \
>               -x 200mm -y 275mm > out$i.tiff;
>   done
>=20
> Afterwards I combine all the images into one multi-page TIFF.  This
> approach is very handy to capture magazine articles for archival.
>=20
> 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).
>=20
> 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.
>=20
> sensed <http://www.remote.org/frederik/projects/software/sane/> is
> something that comes very close, but unfortunately, it's for Fujitsu
> scanners only.
>=20
> 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?
>=20
> Hints and comments welcome!
>=20
> --=20
> Michael Piotrowski, M.A.                                  <mxp@dynalabs.d=
e>
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel

--=20
Karl Heinz Kremer                                  khk@khk.net
PGP Key at http://www.freecolormanagement.com/download/khk.asc
EPSON Sane Backend:         http://www.freecolormanagement.com

--u3/rZRmxL6MmkK24
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBO93yIx4KmkKPBVxtAQGHPQP+LUA8keiQK3ufWZkdLEZV1Cj+DqMr12NH
vxyze37IbNHLpHvngxAHSTU6TKt/yNv06xUC1jRhyAUwiTZx3/9Ih+l6QZ9puwMJ
sOjlIMAYPmd/X3sGVA7sdCVTVBUCdUfcqMLrfXh+g8/b6rFj3dVChsZ/DzJD4ZSy
2YIBwzCbWYw=
=x7u+
-----END PGP SIGNATURE-----

--u3/rZRmxL6MmkK24--