[sane-devel] Querying scanner buttons
Karl Heinz Kremer
khk at khk.net
Tue Oct 30 00:19:48 GMT 2001
This functionality is not supported by the EPSON backend.
On Mon, Oct 29, 2001 at 11:12:25AM +0100, Michael Piotrowski wrote:
> Hi,
>
> I know this has already come up several times, but nevertheless...
>
> I find that I quite often use shell scripts like the following:
>
> i=0
> while read; do
> i=$(($i + 1));
> scanimage --format tiff --resolution 300 \
> --halftoning "Text Enhanced Technology" \
> -x 200mm -y 275mm > out$i.tiff;
> done
>
> 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. <mxp at dynalabs.de>
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
--
Karl Heinz Kremer khk at khk.net
PGP Key at http://www.freecolormanagement.com/download/khk.asc
EPSON Sane Backend: http://www.freecolormanagement.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 292 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20011029/fcd04913/attachment.sig>
More information about the sane-devel
mailing list