Multipage WIA scan (docfeeder) scans 1 page and blocks scanner
Asked Answered
C

2

2

Using C# (VS2008) and WIA - scanning to TIFF format;

When I use the scanner for 1 page on the flatbed or document feeder the method executes without any problem. When I load multiple forms into the feeder the execution halts after scanning the first page (keeping status: "scanning to pc") but does not scan the next page(s). The method returns the stream of the first page and halts - am able to save the stream and everything; just am lost at what to do next...

What statement am I missing? What am I missing here? TIA!

Cheadle answered 10/4, 2010 at 21:52 Comment(0)
A
2

The following forum post has a nice explanation on using WIA with ADF (automatic document feeder):

http://www.codeguru.com/forum/showthread.php?t=439027

Allistir answered 21/4, 2010 at 9:41 Comment(0)
S
1

I used some of the code from there and wrote a nice little library here: http://adfwia.codeplex.com/

Update: I've put (and manage) the project on github now: https://github.com/gideondsouza/AutoDocumentFeed_for_WIA

Senna answered 28/8, 2011 at 10:34 Comment(1)
I'm getting the below error at line 30 in the Form1.cs file (_Scanner.BeginScan....) System.Runtime.InteropServices.COMException: 'Exception from HRESULT: 0x80210003'Madaih

© 2022 - 2024 — McMap. All rights reserved.