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

Ability information for the TWAIN DIRECT scanner

Forums › TWAIN Direct › Ability information for the TWAIN DIRECT scanner

  • This topic has 2 replies, 1 voice, and was last updated 2 years ago by Kazu.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 1, 2019 at 8:01 pm #50890 Reply
    Kazu
    • Topics - 102
    • Replies - 197
    • Total Posts - 299

    How does the TWAIN DIRECT client know the capabilities of the TWAIN DIRECT scanner?

    I could not find it in the TWAIN DIRECT specification.

    April 3, 2019 at 12:10 pm #50891 Reply
    markm
    • Topics - 102
    • Replies - 197
    • Total Posts - 299

    The TWAIN Direct Specification discusses this, but here’s the answer in brief. Application are not expected (or more importantly required) to query a scanner for all of its possible settings. Instead a task is submitted to a scanner, which acts on it to the best of its abilities, which may include ignoring a setting it cannot perform. The application has the option to ask for multiple settings in decreasing priority within a single task. It may also require a specific setting, and if that setting cannot be satisfied the scanner must fail the task.

    If absolutely necessary tasks can be used to probe for major accessories, such as bar code or printer support by attempting to turn them on with a fail exception, and examining the result. Note that if a fail exception is specified in a task, and the scanner reject it, it must provide information that precisely identifies the element that failed, so that applications can inform their users. This behavior is mandatory, and is confirmed through the self-certification tool.

    I hope that helps clarify.

    April 3, 2019 at 8:10 pm #50893 Reply
    Kazu
    • Topics - 102
    • Replies - 197
    • Total Posts - 299

    Thank you, markm

    I was able to understand that the application does not need to know in advance the function of the scanner.

    Your explanation was very nice and helpful.

    Thank you very much.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Ability information for the TWAIN DIRECT scanner
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.