i want to add a device property to continously scan papers using scanjet pro f1 in c# windows forms, only this device.Properties["3088"].set_Value(5); // 5 = duplex (front back) is working but the continous scan, please hel
Loading
i want to add a device property to continously scan papers using scanjet pro f1 in c# windows forms, only this device.Properties["3088"].set_Value(5); // 5 = duplex (front back) is working but the continous scan, please hel
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Stein MakhamberaPosted Sep 25, 2024, 6:37 AM
thanks for the reply Abhishek Yadav, now continous scanning is working but it is resting in between scans, i want to scan one after another without resting until the feeder is empty and if i run with this line of code
// Enable continuous scanning
device.Properties["3104"].set_Value(1);
it is showing error >>E_ACCESSDENIED <<<
help me to fix it.
Abhishek YadavPosted Sep 25, 2024, 5:06 AM
To continuously scan documents using the ScanJet Pro F1 in a C# Windows Forms application, you'll need to set up a loop that continuously retrieves and processes scans. Below is a simplified example of how to accomplish this, along with the configuration for duplex scanning.
Prerequisites- Ensure you have the necessary drivers installed for the ScanJet Pro F1.
- Include references to the appropriate imaging libraries, like WIA (Windows Image Acquisition) or TWAIN.
Sample CodeHere's a basic example using WIA: