Hi, I have a bug report for Skanlite where I suspect that the backend returns SANE_STATUS_EOF in sane_read() but still has data, because the read data does not match the expected size. The scanner is a Samsung CLX-3175FW and I do not have access to the scanner. If I have googled correctly, it is also a binary only backend :(
The standard clearly states that "*len" has to be set to 0 if anything else than SANE_STATUS_GOOD is returned from sane_read() (4.3.10). I wonder what other frontend developers, would do in this situation. Would you just ask the user to file a bug report to the backend provider or would you do a workaround? I can check "*len" and see if it matches the remaining data, but where would you draw the line for other similar non-conforming backend problems? Regards, K?re
