Re: Writing Fujitsu M3091 backend

From: Mick Barry (mick@objects.com.au)
Date: Tue Feb 27 2001 - 14:40:13 PST

  • Next message: Frederik Ramm: "M3091 color scheme success"

    Not sure if it helps you or not but the hp driver has a 'Front button
    wait' option which if set, causes the scanner to wait until the button
    is pressed before starting the scan.

    Frederik Ramm wrote:
    >
    > Question 3 - How to support the "hot button(s)"
    >
    > This is probably beyond the scope of SANE but maybe somebody knows
    > something. The scanner has the following controls: a "scan" button, a
    > "duplex" button, a "send to" button, and a number dial that can select
    > numbers 0-9. The scanner does nothing with these buttons; the obvious
    > purpose (as supported by some Windows software that comes with it) is
    > that you can insert a document and then, by pressing one of them, have
    > your computer launch a program that does something. (My idea of use
    > would be assigning categories to the numbers, i.e. 1=bills, 2=bank
    > letters, 3=personal letters, etc., and then use the number dial and
    > "send" button on the scanner to store documents away in the proper
    > folders on my Linux box.)
    >
    > The SCSI docs tell me that there are some extended fields in the
    > scanner's response to the INQUIRY command that tell you if one of
    > these buttons has been pressed. The respective fields are "true" for
    > three seconds after button press. So I imagine I'd need some sort of
    > "inquiry daemon" that sends the command to the scanner every 2 seconds
    > or so and then launches whatever program has been defined when certain
    > fields in the response data have certain values.
    >
    > Does such a program already exist? If not, can somebody point me to a
    > very very simple program that (outside of the SANE context) sends a
    > simple SCSI command to a device and evaluates the response, so that I
    > could work from there?
    >
    > Bye
    > Frederik
    >
    > --
    > Frederik Ramm ## eMail frederik@remote.org ## N57°48.10' W005°40.32'
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Tue Feb 27 2001 - 14:27:38 PST