Home › Forums › TWAIN Classic › Scan app for twain enabled scanners
- This topic has 7 replies, 3 voices, and was last updated 14 years, 8 months ago by gabe.
- AuthorPosts
Hi,
I have a requirement where I need to build a webbased scan application which will be used to scan documents from any twain based scanners.
I need help in understaning what all I need to build such solution
1. Can I implement twain driver which can interface with any twain supported scanner without their drivers being installed?
2. Is there any need of vendor supplied drivers to be installed?if so what is precisely needed?
3. What all other things I need to consider before jump starting such implementation?
I shall thank in advance for the help.
Thanks,
SanjeevI don’t know who your clients are, but if they use Windows XP, they should all have twain_32.dll installed on their computers. I am currently building a similar application in ASP.NET. If you go to your forum, you will see my post listed under the title of “Twain Web Control Issue” right after yours. What you should do, if you attempt to deploy the app over the internet (mine is an intranet with all Microsoft Based operating systems), you should run a check on the client’s computer for TWAIN_32.dll.
Which application are you using to deploy the control?
I mean, what programming language are you using?
Sanjeev
Am trying to build the same app using VB.NET. I got it to work fine except for one last bug I will explain below. So, I’ll try to help you with your project. Hopefully, as I state my bug in this forum, someone will care to present an answer.
For starters, check out this website. It will very helpful for your project: http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
You need to build an ActiveX control and deal with all the security settings required for it to work. Don’t worry about any TWAIN required installations on the client. I think most modern operating system do carry all the TWAIN libraries required.
So far, I was able to build the ActiveX Control and send it to the client. When the client, using JavaScript lauches my TWAIN ActiveX, the Source Manager loads successfully no problem. The user is also able to select a TWAIN source. However, after selecting the TWAIN source, while the UI displays with no problem, I can only pre-Scan. All the other options are disabled. The only exception is when I scan and there is no paper in the scanner, where the UI responds with an error message “no paper”.
If I move the code to an executable instead of a DLL, and install it into the client, the program work perfectly. So somehow, the Window Handle gets lost or something. I don’t know.
Hope that helps you.
1. Can I implement twain driver which can interface with any twain supported scanner without their drivers being installed?
no
2. Is there any need of vendor supplied drivers to be installed?if so what is precisely needed?
you must have the vendors driver
.
- AuthorPosts