Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
C# Application to scan multiple pages via document feeder (WIA)
I'm trying to use WIA to scan multiple pages through the document feeder. I can access the scanner, connect to the scanner, and even actually scan but it doesn't quite work as expected. If I have more than one page in the document feeder the scanner scans all pages at once and then creates a single image that is only the first page. I'm following the examples from here:
There seems to be some reference to other people experiencing the same problem and a link to a supposed solution here:
Unfortunately, that link is dead so I'm hoping someone here might have a clue. How do I get the scanner to actually scan multiple pages rather than feed them all but only scan the first one?
Printers and Scanners
8/22/2022 - Mon
You probably know about NAPS2? Use that first, see if it scans correctly. If it does, you already have the code, and re-inventing the wheel seems pointless. Source code here:
Others have had that problem before,
multiple pages with adf
scan multiple images from scanners with an auto document feeder
the bottom line is that instead of setting device properties and then setting item properties , you need to set item first
if you call WiaDev.Items apprently it erases the item from memory so you cant call it again
so you must store it in a variable THEN the properties must be set.
check for more pages and loop until no more
check both codes its a little different approach from each one but the bottomline is the same
I have been down that road already and addressed the issue. The current oddity is with an HP LaserJet Pro MFP M426f. When I connect via USB it seems to scan and print all pages from the ADF as well as a single page from the flatbed. However, when I connect to the same printer via Ethernet and use the exact same code the ADF feeds all pages but only scans the first one.
From the additional research I've been doing it appears that WIA may not be the solution here. I may need to look into using TWAIN instead.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent