Click here to Skip to main content
15,938,682 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
How to access client side scanner to provide option to upload image direct by scanning a document on webpage and upload it directly on server?
Posted
Updated 2-Jul-13 23:19pm
v2
Comments
Denis Shemenko 2-Jul-13 6:09am    
I think its impossible.
In reverse direction it is widely used by scanners developers.
But client-side capabilities dont allow you to use Drivers.

Maybe im wrong :)
Bernhard Hiller 2-Jul-13 7:38am    
There is a commercial SDK for that purpose: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx

I have another solution for you if you don't like TWAIN
you can create a simple desktop application (exp: Scan.exe) run in the client machine that has the scanner device,
then call this exe from your web page ,it will run on Client machine with all access to scanner driver, you can send parameter to the exe

the problem come when you want to save the scanned image to the server ??

if you inside a intranet you can directly let the exe save the image useing file share

if you work outside your network you can send your image to web service in your site and save it in your server
 
Share this answer
 
Comments
bhuvamehul 4-Jul-13 7:59am    
I already tried this solution also but in this case problem is from website we can not execute exe on client side directly. But I also found solution for that and done exactly same.
Please see below link. It may help you
http://www.rasteredge.com/how-to/csharp-imaging/twain-scanning/[^]
 
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