<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello,<BR>
&nbsp;<BR>
I need to use the ADF of the Epson Expression 10000XL (backend epson2), but cant get it to work properly. The ADF always tries to take the next sheet on the stack when scaning a sheet. So if there is exactly N sheets in the stack and I run the command<BR>
scanimage -d epson2:libusb:xxx:xxx --batch-count=N --source="Automatic Document Feeder" <BR>
The front end will crash with the following output (N=2):<BR>
<BR>Scanning 2 pages, incrementing by 1, numbering from 1<BR>Scanning page 1<BR>Scanned page 1. (scanner status = 5)<BR>Scanning page 2<BR>scanimage: sane_start: Invalid argument<BR>
&nbsp;<BR>
I sometime get the following more precise error:<BR>
"sane_read: Error during device I/O" which occurs on scanadf.c file from sane-frontends-1.0.14 on line 1058 (from gdb).<BR>
&nbsp;<BR>
It seems to me that the scanner fails to communicate when its ADF cannot grab the next sheet.<BR>
&nbsp;<BR>
And if there are strictly more than N sheets in the stack of the ADF, everything will run fine, except that the N+1 sheet will be half-way into the ADF at the end of the scan and one need to manually remove it (with strength ^^).<BR>
&nbsp;<BR>
Besides, "eject" options&nbsp;and "auto-eject=on" don't work with this scanner, maybe it is linked I don't know...<BR><BR>
Since the front-end I'm currently writing<BR>
- is supposed to be used by professionals <BR>
- will be the base for a multi-platform front-end using TWAIN on Windows which works properly with the ADF of this scanner<BR>
&nbsp;this problem is quite annoying.<BR>
&nbsp;<BR>
Do you have any idea if someone will correct this behaviour or what I can do to fix this ?<BR>
&nbsp;<BR>
Best regards,<BR>
&nbsp;<BR>
Olivier<BR>
&nbsp;<BR>
&nbsp;<BR>                                               </body>
</html>