--- Aaron J Albright <[EMAIL PROTECTED]> wrote:
> Alex/Ralf, > > What version of scanimage are you using? > It is sane-backends-1.0.18 from sane-backends-1.0.18-2.fc5.rpm The scanimage from sane-backends-1.0.17 worked fine. (Fedora Core 5 updated from sane-backends-1.0.17 to sane-backends-1.0.18 within the last two days, so if you are having trouble reproducing check if you really have sane-backends-1.0.18) The scan command is: scanimage -v -b --batch-scan=yes -d hpaio:/usb/Officejet_5600_series?serial=CN66KDE4YH04CY It worked fine until the update. I am sure the relevant difference between versions 17 and 18 of scanimage is that the newer version does not call sane_cancel after every page from the ADF. Alex > Thanks. > > A > > Alex Eskin wrote: > > It is an OfficeJet 5610. I am using Fedora Core 5 with all the > > updates. > > > > The symptoms are exactly as in Ralf's message: extra scans while > > the ADF is switching pages. Older versions of scanimage (up to 1.0.17) > > work since they call sane_cancel after every page. Newer versions of > > scanimage and xsane do not work, but a patched xsane does. > > > > Best, > > > > Alex > > > > --- Aaron J Albright <[EMAIL PROTECTED]> wrote: > > > >> Alex what printer are you using? I'll work on reproducing this. > >> > >> Thanks! > >> > >> A > >> > >> Alex Eskin wrote: > >>> 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 > >>>>> HPLIP-Help@lists.sourceforge.net > >>>>> 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 > >>>> HPLIP-Devel@lists.sourceforge.net > >>>> 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 > >>> > > > > > > __________________________________________________ > > 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 > > HPLIP-Devel@lists.sourceforge.net > > 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 HPLIP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-devel