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

How to list the Twain data sources only (excluding WIA)?

Forums › TWAIN Classic › How to list the Twain data sources only (excluding WIA)?

  • This topic has 2 replies, 3 voices, and was last updated 5 years, 7 months ago by Kaij.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 14, 2015 at 9:06 am #23030 Reply
    kvmshaheer
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Hi,

    I am developing a ‘Twain Data Source Administration Utility’ for a specific company products (like HP). I am using windows twain data source manger (DSM_Entry – twain_32.dll) internally for handling with Data Sources.
    I have a requirement to display only the Twain data sources on DSM’s select source dialog (excluding WIA data sources). How can i make this possible?
    Please help me.

    Thanks in advance,
    Shaheer

    August 14, 2015 at 4:53 pm #26309 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Hi Shaheer – I don’t believe there is any way to restrict the set of TWAIN data sources listed in the Select Source dialog.
    What people normally do is present their own list using their own UI, and then they can filter the list however they like.

    This doesn’t allow the user to set the global ‘default TWAIN scanner’ however, although probably even that can be done if you are willing to do a ‘hack’. 8)

    August 28, 2015 at 1:26 pm #26310 Reply
    Kaij
    Participant
    • Topics - 9
    • Replies - 132
    • Total Posts - 141

    Shaheer,

    Spike is right. It is not possible when you use the standard dialog from the DSM.

    Anyhow there is a different way. Create your own dialog, retrieve all DS names (MSG_GETFIRST/MSG_GETNEXT) and filter them string based before adding into the list box.

    Best regards,

    kaij
    http://www.jse.de

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to list the Twain data sources only (excluding WIA)?
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

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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.