Re: Error codes returned by Fujitsu fi-5900c?

Wes Rishel <[email protected]>
Newsgroups gmane.comp.graphics.scanning.sane.devel
Message-ID <CAN+zFMmNr-J=gq3R9C02qLNHHOCwVSKTU0wT8MZ2carE94YJqA@mail.gmail.com>
Thanks. I never knew this existed. It's really great!

I have to use a modified fujitsu.so to add a patch that Allan gave us some
years ago.

I wonder if the API will pick up the modified .so as long as
LD_LIBRARY_PATH has the path?


-- Wes


On Mon, Dec 11, 2023 at 9:03 AM Jeff <[email protected]> wrote:

> On 10/12/2023 19:16, Wes Rishel wrote:
> > re: Really, for what you are trying to do, you might be better off
> > interfacing with the SANE API instead of trying to drive scanimage.
> >
> > Thanks. This is something I have thought before. Right now I invoke
> > scanimage as a subprocess for each batch, so there is a noticeable delay
> > while it polls the USB addresses. It would be nice to do that once and
> > have each batch start quickly. If I had more access to the scanner for
> > debugging I might use that approach.
> >
> > Meanwhile I will check out scanimage sources.
>
> When I am away from my scanner and want to hack (and indeed for things
> like unit tests), I use the "test" backend.
>
> It is not exactly the same as a fujitsu scanner, but for most frontend
> development, I find it very useful.
>
> I would also recommend using the C, Python, or Perl APIs for libsane
> rather than wrapping scanimage.
>
> Regards
>
> Jeff
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.