[sane-devel] Scanner panel buttons
Peter Fales
psfales at lucent.com
Wed Jul 30 02:36:37 BST 2003
On Tue, Jul 29, 2003 at 09:44:15AM -0500, Matthew wrote:
> Is there some documentation regarding the use of the "Scan" and other
> buttons on the various scanners? I assume that a standard is not in
> place so it would be a scanner-specific hack but I'm interested in
> getting the buttons to work.
Take a look at
http://www.remote.org/frederik/projects/software/sane/
It's a program that "watches" for the scanner buttons to be pressed and
launches a user defined program (e.g. scanimage or scanadf) when that
happens. This particular program is specific to Fujitsu scanners and uses
the SCSI "sense" command to poll the scanner and detect when the
button is pressed.
I wanted to do something similar with my Microtek PageWiz which can detect
when a sheet of paper is in the feeder. I wanted it watch for that
and automatically start scanning, so I used sensed as a starting
point for my own utility which periodically polls the scanner using
the SCSI "inquiry" command.
--
Peter Fales
More information about the sane-devel
mailing list