Ralf,
I have the same symptoms, and I suspect your problem is caused by
a disagreement over the meaning of sane_cancel (see my other post).
The following one-line patch to xsane-0.991 solved the problem for
me, even though it is just a workaround which violates the sane
API spec.
--- src/xsane-scan.c.orig 2006-09-15 20:50:56.000000000 -0500
+++ src/xsane-scan.c 2006-09-15 20:53:00.000000000 -0500
@@ -1560,6 +1560,7 @@
DBG(DBG_info, "ADF mode end of scan: increment page counter and
restart scan\n");
xsane.adf_page_counter += 1;
+ sane_cancel(xsane.dev);
gtk_timeout_add(100, (GtkFunction)xsane_scan_dialog, NULL); /*
wait 100ms then call xsane_scan_dialog(); */
}
else if ( ( (status == SANE_STATUS_GOOD) || (status ==
SANE_STATUS_EOF) ) && (xsane.batch_loop == BATCH_MODE_LOOP) )
--- Aaron J Albright <[EMAIL PROTECTED]> wrote:
> Ralf,
>
> Can you do this process over and run tail -f /var/log/messages and post
> any errors?
>
> Thanks!
>
> A
>
> Ralf Jardon wrote:
> > If i try to make a batch scan using ADF (sane-1.0.14, xsane-0.99.1,
> > hplip 1.6.7, HP Officejet 7120, Ubuntu dapper) i have some problems.
> > The scan starts normally but after the first page the scanner makes
> > three short scans while the ADF is loading the second page. The result
> > is as follows:
> >
> > out0001.jpg = good!
> > out0002.jpg = wrong (a small piece of white)
> > out0003.jpg = wrong (...)
> > out0004.jpg = wrong
> > out0005.jpg = good!
> > out0006.jpg = wrong
> > out0007.jpg = wrong
> > out0008.jpg = wrong
> > out0009.jpg = good!
> > [...] and so on...
> >
> > So, if i want to scan 3 pages with batch scan automatically i have to
> > set up xsane scanning 9 pages. After that i have to delete 6 empty pages
> > by hand...
> >
> > Do you have some hints?
> >
> > Best regards
> > Ralf
> >
> >
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > HPLIP-Help mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/hplip-help
> >
> > -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
_______________________________________________
> HPLIP-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hplip-devel
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
HPLIP-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-devel