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

can data source provide list of scanners

Forums › TWAIN Classic › can data source provide list of scanners

  • This topic has 3 replies, 3 voices, and was last updated 9 years, 1 month ago by Vankir.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 20, 2012 at 8:03 am #22366 Reply
    Vankir
    Participant
    • Topics - 3
    • Replies - 7
    • Total Posts - 10

    Hi All,

    Data source returns information about it in TW_IDENTITY.
    Can data source return several TW_IDENTITY to let DSM show several models in the list of data sources?
    For example I have superdriver.ds and would like to present several scanners in select data source dailog like following

    Canon DS with super driver
    Fujitsu DS with super driver
    etc

    Thank you!

    January 20, 2012 at 10:18 pm #24559 Reply
    Adam
    Participant
    • Topics - 0
    • Replies - 43
    • Total Posts - 43

    Hi,

    You can use DG_CONTROL / DAT_IDENTITY / MSG_USERSELECT to display the select source dialog box. The dialog displays a list of all Sources that are installed on the system that can provide data of the type specified by the application. You can check out the the specification for detailed information.
    https://www.twain.org/docs/TWAIN_2_1_Spec.pdf

    ___________________
    Adam
    Dynamsoft: version control software and TWAIN SDK

    January 24, 2012 at 7:23 pm #24560 Reply
    dpenney
    Participant
    • Topics - 3
    • Replies - 66
    • Total Posts - 69

    @Vankir wrote:

    Can data source return several TW_IDENTITY to let DSM show several models in the list of data sources?
    For example I have superdriver.ds and would like to present several scanners in select data source dailog like following…

    TWAIN does not support that.

    Your best bet is to do what scanner vendors do when providing a single DS to support many models. They return a somewhat generic name (e.g. “ScanWizard”) in the identity struct and then provide UI when their DS is enabled to allow the user to select a specific scanner.
    –

    January 25, 2012 at 6:33 am #24561 Reply
    Vankir
    Participant
    • Topics - 3
    • Replies - 7
    • Total Posts - 10

    Thank you all for your help.

    I know that ISIS allows getting list of models from driver and thought there was something similar in TWAIN. It looks I will have to implement some tricks to emulate necessary behaviour and provide some kind of proxy TWAIN driver for every other TWAIN drivers in the system.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Reply #24561 in can data source provide list of 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

  • Scanner starts transfer when console gets closed (CITRIX)
  • Kodak RFS 3600
  • Didn’t save enough file scan
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • 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.