TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Scan app for twain enabled scanners

Forums › TWAIN Classic › Scan app for twain enabled scanners

  • This topic has 7 replies, 3 voices, and was last updated 11 years, 5 months ago by gabe.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 17, 2009 at 6:23 pm #22527 Reply
    ursanju
    Participant
    • Topics - 2
    • Replies - 2
    • Total Posts - 4

    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,
    Sanjeev

    August 17, 2009 at 7:12 pm #25008 Reply
    mcohen
    Participant
    • Topics - 2
    • Replies - 13
    • Total Posts - 15

    I 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.

    August 17, 2009 at 7:18 pm #25009 Reply
    mcohen
    Participant
    • Topics - 2
    • Replies - 13
    • Total Posts - 15

    Which application are you using to deploy the control?

    August 17, 2009 at 8:23 pm #25010 Reply
    ursanju
    Participant
    • Topics - 2
    • Replies - 2
    • Total Posts - 4

    @mcohen wrote:

    Which application are you using to deploy the control?

    What do u mean by control?

    August 17, 2009 at 8:39 pm #25011 Reply
    mcohen
    Participant
    • Topics - 2
    • Replies - 13
    • Total Posts - 15

    I mean, what programming language are you using?

    August 18, 2009 at 2:26 am #25012 Reply
    ursanju
    Participant
    • Topics - 2
    • Replies - 2
    • Total Posts - 4

    @mcohen wrote:

    I mean, what programming language are you using?

    it’s c#

    August 18, 2009 at 5:16 pm #25013 Reply
    mcohen
    Participant
    • Topics - 2
    • Replies - 13
    • Total Posts - 15

    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.

    August 20, 2009 at 6:24 pm #25014 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    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

    .

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Scan app for twain enabled scanners
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • Girls of Desire: All babes in one place, crazy, art
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.