Thanks Allan. I am comfortable digging in and writing code, much more so for scripting languages (e.g. bash, python) than compiled/linked languages (e.g. C). <br><br>A few related questions come to mind:<br><br>* Is <span style="font-family: courier new,monospace;">scanimage</span> considered a frontend or a backend?<br>
<br>* How do I read/poll the scan-button hardware state from the device? (Note: <span style="font-family: courier new,monospace;">scanimage --help | grep "\-\-scan"</span> results in "no" even when I hold down the button)<br>
<br>* How do I invoke the fujitsu backend by itself (e.g. to see hardware states, and to make use of JPEG output)?<br><br>* I installed the SDK from the <a href="http://www.ellert.se/twain-sane/">download page</a> on my OS X 10.5. My system developer tools are installed. Where did the SDK install the source code? How do I build from it? <br>
<br>-Arthur<br><br><div class="gmail_quote">On Mon, Jan 18, 2010 at 4:20 PM, m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Button support is one of the weak parts of sane. The button options<br>
exposed by the fujitsu backend (and most others) are read-only. They<br>
can be 'polled' periodically by a front-end program, which will then<br>
activate the appropriate command to perform the requested action. They<br>
cannot be used directly. Unfortunately, there is not a good<br>
general-purpose polling frontend yet written, though there is a good<br>
start in our old experimental tree.<br>
<br>
allan<br>
<div><div></div><div class="h5"><br>
On Mon, Jan 18, 2010 at 5:49 PM, Arthur Hebert <<a href="mailto:arthur@evcl.com">arthur@evcl.com</a>> wrote:<br>
> Hello,<br>
><br>
> I have setup SANE to work with my Fujitsu fi-6130 scanner. How do I use SANE<br>
> to work with my scanner's "Scan" button? The regular command,<br>
><br>
>> scanimage --format tiff > foo.tiff<br>
><br>
> works as expected. However, the command<br>
><br>
>> scanimage --format tiff --scan=yes > foo.tiff<br>
><br>
> results in the error<br>
><br>
>> scanimage: unrecognized option `--scan=yes'<br>
><br>
><br>
> My system is Mac OS X 10.5. The command scanimage --help produces output,<br>
> which includes awareness of the hardware sensors:<br>
><br>
>><br>
>> ... <snip><br>
>><br>
>> Sensors:<br>
>> --top-edge[=(yes|no)] [no] [hardware]<br>
>> Paper is pulled partly into adf<br>
>> --a3-paper[=(yes|no)] [no] [hardware]<br>
>> A3 paper detected<br>
>> --b4-paper[=(yes|no)] [no] [hardware]<br>
>> B4 paper detected<br>
>> --a4-paper[=(yes|no)] [no] [hardware]<br>
>> A4 paper detected<br>
>> --b5-paper[=(yes|no)] [no] [hardware]<br>
>> B5 paper detected<br>
>> --page-loaded[=(yes|no)] [no] [hardware]<br>
>> Page loaded<br>
>> --omr-df[=(yes|no)] [no] [hardware]<br>
>> OMR or double feed detected<br>
>> --cover-open[=(yes|no)] [no] [hardware]<br>
>> Cover open<br>
>> --power-save[=(yes|no)] [no] [hardware]<br>
>> Scanner in power saving mode<br>
>> --email[=(yes|no)] [no] [hardware]<br>
>> Email button<br>
>> --manual-feed[=(yes|no)] [no] [hardware]<br>
>> Manual feed selected<br>
>> --scan[=(yes|no)] [no] [hardware]<br>
>> Scan button<br>
>> --function <int> [0] [hardware]<br>
>> Function character on screen<br>
>> --double-feed[=(yes|no)] [no] [hardware]<br>
>> Double feed detected<br>
>> --error-code <int> [0] [hardware]<br>
>> Hardware error code<br>
>> --skew-angle <int> [0] [hardware]<br>
>> Requires black background for scanning<br>
>><br>
>> Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.<br>
>><br>
>> List of available devices:<br>
>> fujitsu:fi-6130dj:90080<br>
><br>
> Thanks,<br>
> Arthur<br>
</div></div>> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
> to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
"The truth is an offense, but not a sin"<br>
</font></blockquote></div><br>