Click here to Skip to main content
15,889,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have to scan a batch of images in my web app(asp.net).when i click the scan button in my app it should start scanning directly without directing it to the scanner's scanning interface.so does any one know how to do this through the browser.
Posted

There's no generic method for web browser applications to access scanners, and it is not a scalable option in my opinion.

There are a couple of solutions, but they are unsecure, and rely on your clients only using Windows machines.

1. You can use ActiveX control - But that won't work in all browsers.
2. You can't use Windows Image Acquisition library directly from ASP.NET on the client side, since the code would run at the server.
 
Share this answer
 
Like Prasad wrote, web browsers do not support acquisition (scanning) features. This means to scan at the client side, the client machine must have components installed (such as ActiveX) that can be accessed from a web application.
Here's an example of one way to do it using a Twain scanning library:
http://support.leadtools.com/CS/forums/18445/ShowPost.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900