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

Suppressing error messages thrown by the scanner during call to DSM_Entry

Forums › TWAIN Classic › Suppressing error messages thrown by the scanner during call to DSM_Entry

  • This topic has 4 replies, 1 voice, and was last updated 3 years, 2 months ago by Rajat.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 17, 2017 at 3:59 am #30498 Reply
    Sankalp
    • Topics - 93
    • Replies - 186
    • Total Posts - 279

    Hi,

    I am a developer working on giving support for scanners in our application.

    Initially, we need to Open the source by calling DSM_Entry with message set to ‘MSG_OPENDS’. If the source is not connected to the system, then the scanner throws an error message. In my application, I want to suppress that error message and show my own custom message to the user instead. But, I am not able to find any way to get around it.

    Any ideas?

    August 23, 2017 at 11:46 am #30523 Reply
    MarkM
    • Topics - 93
    • Replies - 186
    • Total Posts - 279

    Unfortunately that behavior is outside of the scope of the TWAIN Working Group. I agree that a TWAIN driver should not be showing a dialog to the user during MSG_OPENDS. However, you’ll have to contact the manufacturer of that specific scanner to see if they have a workaround.

    October 13, 2017 at 3:45 am #30672 Reply
    Sankalp
    • Topics - 93
    • Replies - 186
    • Total Posts - 279

    Thanks Mark! However, I do believe that there should be a chain of command from Application to Twain to Scanner for such messages.

    November 17, 2017 at 5:15 am #30712 Reply
    Rajat
    • Topics - 93
    • Replies - 186
    • Total Posts - 279

    I have a similar requirement. I do want TWAIN driver message to be popped up. Can you please help out on this

    November 17, 2017 at 5:16 am #30713 Reply
    Rajat
    • Topics - 93
    • Replies - 186
    • Total Posts - 279

    Its a EPSON FF 640 scanner.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Suppressing error messages thrown by the scanner during call to DSM_Entry
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

  • 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.
  • To get the list of scanners from javascript client side (browser)
  • 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.