I think I made a big mistake in xsane-0.32
when I made the repeatadly call of sane_start dependent on
the return value of sane_read == SANE_STATUS_[EOF or GOOD].
In xsane-0.33 sane_cancel is only called if sane_start is not called again.
sane_start is called again when mode ="Automatic Document Feeder",
the test for this is in xsane-scan.c routine test_adf(), you can
change this for your backend until we have a common way to
detect multiple image modes!
xsane-0.33 is available here:
http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
Bye
Oliver
-- EMAIL: Oliver.Rauch@Wolfsburg.DE WWW: http://www.wolfsburg.de/~rauch
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com