Re: Error codes returned by Fujitsu fi-5900c?
Jeff <[email protected]>
| Newsgroups | gmane.comp.graphics.scanning.sane.devel |
|---|---|
| Message-ID | <[email protected]> |
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
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEERjKT5K4zhxhG8wInsyHyAxEPyvMFAmV3PU8FAwAAAAAACgkQsyHyAxEPyvMr eQ//Vcf4Qydxef+TAWvKCCc3u4V5NjbH/IabBue1Ohwfo/3KKUTHDzUoa7LKal9VlYqbKvSKyKnd xEekuJHcKXCIklLkfgZAILQ/D7He9DRln6Tr3wmyyYDcDDhjPBJlWC5VtPZNFpDWCFdrBvZ9CHl1 kpnJUgnpW7ngRjZSPj/06xO1kJo3A2pRAShFOvk7DkJRA+g55jIhU93q9LnwFjdXO1CzLj7v6nXf feOwN85VYoE/ELJtTJPgt+cRwCMySfKHDtTC6m6Jipd52TT8FLtrxDwvfY3dFGukqIl1dflDZFR7 vROCZAgYd6tjEoUybz8FGNHMdj+HGVrUTjrTJIZHDfJ7Ke7FClRmaxIPcFk9i6ylLkt4HOtPBcjS fnWjFKMI31Q1B/8Tn5e4Y45ccPBPFbXmS2MG6JrEq/ieiQxjPlZVXIcbKtIp7sfzLK/d7QyFhQtU KgymKsRwCjhGBc0DAB/9+0lzYCcajHwARPW8PDCIDioNlj8jVqxQxQMYzBhir0F+leryCgC8Y0d7 9A+IJOZ/haxEAc7zCMeyApSzfCZARIhRcZSHDt43Oc+gMMaUz0eFGKjmLXOrS+7YFKBKncALB9Xg R8xDfWv9Ur/vWYjvtyE7K9qzcR/J75Tx3tuhers35tZlx8vByQvQPiXsbIqniG3fD22odhdzAy3Y eMM= =g+fu -----END PGP SIGNATURE-----