<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks. I never knew this existed. It's really great!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have to use a modified fujitsu.so to add a patch that Allan gave us some years ago. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I wonder if the API will pick up the modified .so as long as LD_LIBRARY_PATH has the path?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="verdana, sans-serif">-- Wes</font></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 11, 2023 at 9:03 AM Jeff <<a href="mailto:jffry@posteo.net">jffry@posteo.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/12/2023 19:16, Wes Rishel wrote:<br>
> re: Really, for what you are trying to do, you might be better off <br>
> interfacing with the SANE API instead of trying to drive scanimage.<br>
> <br>
> Thanks. This is something I have thought before. Right now I invoke <br>
> scanimage as a subprocess for each batch, so there is a noticeable delay <br>
> while it polls the USB addresses. It would be nice to do that once and <br>
> have each batch start quickly. If I had more access to the scanner for <br>
> debugging I might use that approach.<br>
> <br>
> Meanwhile I will check out scanimage sources.<br>
<br>
When I am away from my scanner and want to hack (and indeed for things <br>
like unit tests), I use the "test" backend.<br>
<br>
It is not exactly the same as a fujitsu scanner, but for most frontend <br>
development, I find it very useful.<br>
<br>
I would also recommend using the C, Python, or Perl APIs for libsane <br>
rather than wrapping scanimage.<br>
<br>
Regards<br>
<br>
Jeff<br>
</blockquote></div>