<html><head></head><body><div dir="auto">Double feeds:<br><br>The 5900c has a super sonic double feed detection.<br></div><br><br><div class="gmail_quote"><div dir="auto">On December 9, 2023 8:56:58 PM GMT+02:00, Wes Rishel <wrishel@gmail.com> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div class="gmail_default" style="font-size:small">I have a program that uses SANE to run a Fujitsu fi-5900c scanner, but I only have access to the scanner when I am doing production work. So I am writing code on a system where the scanner is not available.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It would help to have a list of the return codes from scanimage while working on a Fujitsu scanner. In particular, I would like to identify the error codes returned for various errors where the operator might correct them. Examples include stops due to double feeds, due to something stuck on the page (like a sticky note), due to a failure to pass a single page through the scanner, and so forth. I know that fujitsu.c somehow sets different return codes for some of these situations but I haven't found the list in sane-fujitsu(5) or sane-epjitsu(5). </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I believe that a good enough list is the SANE_status enum for the general SANE specification.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">What I don't know is how to map the various values in the enum to the return codes that scanimage uses on exit or whether there are specific additional values for Fujitsu. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Can someone share the secret decoder ring ;-) or point me to a document or source file that has this info?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks in advance.</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></div>
</blockquote></div><div dir="auto"><div class='k9mail-signature'>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></div></body></html>