<div class="gmail_quote">Thanks again for the quick reply.<br><br>I'm answering one of my questions here for the sake of the list archives:<br><br>On OS X, it appears the SANE headers and libraries are in<br><br>/usr/local/include/sane/<br>
/usr/local/lib/sane/<br>
<br>and the SANE Mac SDK installs its files in<br><br>/usr/local/Developer/SDKs/<div id=":15z" class="ii gt">MacOSX10.5.sdk/usr/local/include/sane/<br>/usr/local/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib/sane/<br><font color="#888888"><br>
-Arthur</font></div><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><br><div class="gmail_quote">
On Tue, Jan 19, 2010 at 10:23 AM, m. allan noah <span dir="ltr"><<a href="mailto:kitno455@gmail.com" target="_blank">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;">
<div>On Tue, Jan 19, 2010 at 1:14 PM, Arthur Hebert <<a href="mailto:arthur@evcl.com" target="_blank">arthur@evcl.com</a>> wrote:<br>
> Thanks Allan. I am comfortable digging in and writing code, much more so for<br>
> scripting languages (e.g. bash, python) than compiled/linked languages (e.g.<br>
> C).<br>
><br>
> A few related questions come to mind:<br>
><br>
> * Is scanimage considered a frontend or a backend?<br>
<br>
</div>frontend<br>
<div><br>
><br>
> * How do I read/poll the scan-button hardware state from the device? (Note:<br>
> scanimage --help | grep "\-\-scan" results in "no" even when I hold down the<br>
> button)<br>
<br>
</div>you would have to write your own frontend, or modify the button daemon<br>
in our old experimental tree. I don't think you can do it with<br>
scanimage.<br>
<div><br>
> * How do I invoke the fujitsu backend by itself (e.g. to see hardware<br>
> states, and to make use of JPEG output)?<br>
<br>
</div>the backend is not a program. you cannot 'run' it. it is a library,<br>
which is 'ingested' by some other frontend program. the frontend then<br>
calls functions that are provided by this backend.<br>
<div><br>
> * I installed the SDK from the download page on my OS X 10.5. My system<br>
> developer tools are installed. Where did the SDK install the source code?<br>
> How do I build from it?<br>
<br>
</div>I know nothing about this sdk, as it is not provided by us. Perhaps<br>
Mattias can give some help on the OSX specific parts. For front-end<br>
development, you only need to have some minimal sane header files<br>
installed someplace like /usr/include or /usr/local/include. No need<br>
to rebuild sane backends or sane frontends packages (yet).<br>
<br>
allan<br>
<font color="#888888">--<br>
</font><div><div></div><div>"The truth is an offense, but not a sin"<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>