[sane-devel] Re: How to link the Scan Button of CX3100 to a linux application?
Karl Heinz Kremer
khk at khk.net
Mon Jan 26 22:07:11 GMT 2004
I assume this is an EPSON CX-3100. In this case, the scanner does not
send anything when you press the button. The Windows software checks
every half second or second or so to find out if the button was
pressed.
The problem with handling buttons with Sane is that we don't have an
API for this, so every backend would potentially handle this
differently. Also, there is no official way to communicate a button
event to a frontend.
The EPSON backend has a mode where you can setup your scan, and then
configure it to wait for a button event. This would not allow you to
send the scans to another application, but it's a start :-)
On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote:
> I recommend that you post this on the SANE mailing list
> (http://www.sane-project.org/), as this is a scanning problem. I am
> CCing this posting to there.
>
> AFAIK noone has written a driver for scanner buttons yet (also not for
> other scanner models). The scanner probably sends a certain signal
> through the USB which is caught by a background process under Windows.
> This process then starts a program to do the scan. The best way to
> write a similar program under Linux is to use a USB sniffer to analyze
> how the signal looks like and then write a daemon which listens for
> such signals.
>
> Till
>
> Alton Hernandez wrote:
>> Hi,
>> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux
>> application? I believe in the Windows environment, you can just
>> press this
>> button and the printer will scan the document and send it to your
>> application
>> of choice. But in Linux, this button seems to be useless because it
>> does not
>> do anything.
>
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
More information about the sane-devel
mailing list