[sane-devel] how do I use scanner hardware sensors (e.g. scan button)?
m. allan noah
kitno455 at gmail.com
Tue Jan 19 00:20:35 UTC 2010
Button support is one of the weak parts of sane. The button options
exposed by the fujitsu backend (and most others) are read-only. They
can be 'polled' periodically by a front-end program, which will then
activate the appropriate command to perform the requested action. They
cannot be used directly. Unfortunately, there is not a good
general-purpose polling frontend yet written, though there is a good
start in our old experimental tree.
allan
On Mon, Jan 18, 2010 at 5:49 PM, Arthur Hebert <arthur at evcl.com> wrote:
> Hello,
>
> I have setup SANE to work with my Fujitsu fi-6130 scanner. How do I use SANE
> to work with my scanner's "Scan" button? The regular command,
>
>> scanimage --format tiff > foo.tiff
>
> works as expected. However, the command
>
>> scanimage --format tiff --scan=yes > foo.tiff
>
> results in the error
>
>> scanimage: unrecognized option `--scan=yes'
>
>
> My system is Mac OS X 10.5. The command scanimage --help produces output,
> which includes awareness of the hardware sensors:
>
>>
>> ... <snip>
>>
>> Sensors:
>> --top-edge[=(yes|no)] [no] [hardware]
>> Paper is pulled partly into adf
>> --a3-paper[=(yes|no)] [no] [hardware]
>> A3 paper detected
>> --b4-paper[=(yes|no)] [no] [hardware]
>> B4 paper detected
>> --a4-paper[=(yes|no)] [no] [hardware]
>> A4 paper detected
>> --b5-paper[=(yes|no)] [no] [hardware]
>> B5 paper detected
>> --page-loaded[=(yes|no)] [no] [hardware]
>> Page loaded
>> --omr-df[=(yes|no)] [no] [hardware]
>> OMR or double feed detected
>> --cover-open[=(yes|no)] [no] [hardware]
>> Cover open
>> --power-save[=(yes|no)] [no] [hardware]
>> Scanner in power saving mode
>> --email[=(yes|no)] [no] [hardware]
>> Email button
>> --manual-feed[=(yes|no)] [no] [hardware]
>> Manual feed selected
>> --scan[=(yes|no)] [no] [hardware]
>> Scan button
>> --function <int> [0] [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
>>
>> Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
>>
>> List of available devices:
>> fujitsu:fi-6130dj:90080
>
> Thanks,
> Arthur
> --
> 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
>
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list