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 &quot;\-\-scan&quot;</span> results in &quot;no&quot; 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">&lt;<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>&gt;</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 &#39;polled&#39; 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 &lt;<a href="mailto:arthur@evcl.com">arthur@evcl.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I have setup SANE to work with my Fujitsu fi-6130 scanner. How do I use SANE<br>
&gt; to work with my scanner&#39;s &quot;Scan&quot; button? The regular command,<br>
&gt;<br>
&gt;&gt; scanimage --format tiff &gt; foo.tiff<br>
&gt;<br>
&gt; works as expected. However, the command<br>
&gt;<br>
&gt;&gt; scanimage --format tiff --scan=yes &gt; foo.tiff<br>
&gt;<br>
&gt; results in the error<br>
&gt;<br>
&gt;&gt; scanimage: unrecognized option `--scan=yes&#39;<br>
&gt;<br>
&gt;<br>
&gt; My system is Mac OS X 10.5. The command scanimage --help produces output,<br>
&gt; which includes awareness of the hardware sensors:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; ... &lt;snip&gt;<br>
&gt;&gt;<br>
&gt;&gt;   Sensors:<br>
&gt;&gt;     --top-edge[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Paper is pulled partly into adf<br>
&gt;&gt;     --a3-paper[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         A3 paper detected<br>
&gt;&gt;     --b4-paper[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         B4 paper detected<br>
&gt;&gt;     --a4-paper[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         A4 paper detected<br>
&gt;&gt;     --b5-paper[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         B5 paper detected<br>
&gt;&gt;     --page-loaded[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Page loaded<br>
&gt;&gt;     --omr-df[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         OMR or double feed detected<br>
&gt;&gt;     --cover-open[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Cover open<br>
&gt;&gt;     --power-save[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Scanner in power saving mode<br>
&gt;&gt;     --email[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Email button<br>
&gt;&gt;     --manual-feed[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Manual feed selected<br>
&gt;&gt;     --scan[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Scan button<br>
&gt;&gt;     --function &lt;int&gt; [0] [hardware]<br>
&gt;&gt;         Function character on screen<br>
&gt;&gt;     --double-feed[=(yes|no)] [no] [hardware]<br>
&gt;&gt;         Double feed detected<br>
&gt;&gt;     --error-code &lt;int&gt; [0] [hardware]<br>
&gt;&gt;         Hardware error code<br>
&gt;&gt;     --skew-angle &lt;int&gt; [0] [hardware]<br>
&gt;&gt;         Requires black background for scanning<br>
&gt;&gt;<br>
&gt;&gt; Type ``scanimage --help -d DEVICE&#39;&#39; to get list of all options for DEVICE.<br>
&gt;&gt;<br>
&gt;&gt; List of available devices:<br>
&gt;&gt;     fujitsu:fi-6130dj:90080<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Arthur<br>
</div></div>&gt; --<br>
&gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt;             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
&quot;The truth is an offense, but not a sin&quot;<br>
</font></blockquote></div><br>