[sane-devel] Epson "Expression 10000XL" ADF support by epson2

Olivier Jolit olivier.jolit at hotmail.fr
Thu Nov 18 14:41:19 UTC 2010


Hello,
 
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
scanimage -d epson2:libusb:xxx:xxx --batch-count=N --source="Automatic Document Feeder" 
The front end will crash with the following output (N=2):

Scanning 2 pages, incrementing by 1, numbering from 1
Scanning page 1
Scanned page 1. (scanner status = 5)
Scanning page 2
scanimage: sane_start: Invalid argument
 
I sometime get the following more precise error:
"sane_read: Error during device I/O" which occurs on scanadf.c file from sane-frontends-1.0.14 on line 1058 (from gdb).
 
It seems to me that the scanner fails to communicate when its ADF cannot grab the next sheet.
 
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 ^^).
 
Besides, "eject" options and "auto-eject=on" don't work with this scanner, maybe it is linked I don't know...

Since the front-end I'm currently writing
- is supposed to be used by professionals 
- will be the base for a multi-platform front-end using TWAIN on Windows which works properly with the ADF of this scanner
 this problem is quite annoying.
 
Do you have any idea if someone will correct this behaviour or what I can do to fix this ?
 
Best regards,
 
Olivier
 
  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20101118/f6a815d2/attachment.htm>


More information about the sane-devel mailing list