insaned icon indicating copy to clipboard operation
insaned copied to clipboard

Integer Sensor

Open btro1404 opened this issue 4 years ago • 0 comments

Hey Alex,

great project, thank you for your effort!

I'm useing a fujitsu:fi-5110Cdj:116473 and insaned works fine with 13 sensors including the "Scan" and "Send to" buttons. But there is an additional button named "Function". This button increases the number of a 1-digt 7-segment Display in front of the scanner. The displayed number seems to be used by the Windows frontend for change the behavior of the scanner. But the value of "Function" is a sane-sensor too:

$ scanimage -A
[...]
  Sensors:
  [...]
    --function <int> [1] [hardware]
        Function character on screen
    --double-feed[=(yes|no)] [no] [hardware]
        Double feed detected
    --error-code <int> [0] [hardware]
        Hardware error code
    --skew-angle <int> [0] [hardware]
        Requires black background for scanning

insaned only shows sensors that reports a boolean status (like --double-feed above). Do you see a possibility to make sensors accessible that reports an integer? In that case it will be possible to select a function (like scanning single- or doubleside, color, bw ) at the panel of the device before pressing the scan button.

Thank you, and Gruß Bernd

btro1404 avatar Feb 14 '21 19:02 btro1404