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

DISABLEDS returns TWCC_CAPUNSUPPORTED?

Forums › TWAIN Classic › DISABLEDS returns TWCC_CAPUNSUPPORTED?

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago by hutdone23.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 10, 2012 at 1:11 am #22725 Reply
    hutdone23
    Participant
    • Topics - 4
    • Replies - 7
    • Total Posts - 11

    I believe I’m seeing a Twain Driver bug in the Epson GT-S50 scanner in my Twain application, so I removed my code from the problem and can demonstrate the issue using Twacker alone. Here’s the steps to replicate the issue:

    1.) Run Twack_32.exe

    2.) File->Select Source…

    3.) Select the Epson GT-S50, press the Select button

    4.) File->Setup…

    5.) Close the Scanner’s UI.

    The call to the triplet DG_CONTROL/DAT_USERINTERFACE/MSG_DISABLEDS returns TWRC_FAILURE where the condition code TWCC_CAPUNSUPPORTED.

    The call is made in the Twacker source code, DCA_GLUE.c, line 807, in TWDisableDS(). Using the Kodak i40 scanner for example I don’t see this problem following the same steps.

    It seems very wrong that calling MSG_DISABLEDS would return unsupported capability, any thoughts?

    January 12, 2012 at 8:29 pm #25527 Reply
    peterp
    Participant
    • Topics - 0
    • Replies - 30
    • Total Posts - 30

    The TWAIN spec is very clear on the allowed return codes during a failure of the MSG_DISABLEDS operation, and TWCC_CAPUNSUPPORTED is not one of them.

    The allowed return codes are:

    TWCC_BADDEST
    TWCC_SEQERROR

    You should only get TWCC_CAPUNSUPPORTED if you are trying to get or set a capability and there is a problem.

    January 13, 2012 at 5:36 pm #25526 Reply
    hutdone23
    Participant
    • Topics - 4
    • Replies - 7
    • Total Posts - 11

    @peterp wrote:

    The TWAIN spec is very clear on the allowed return codes during a failure of the MSG_DISABLEDS operation, and TWCC_CAPUNSUPPORTED is not one of them.

    The allowed return codes are:

    TWCC_BADDEST
    TWCC_SEQERROR

    You should only get TWCC_CAPUNSUPPORTED if you are trying to get or set a capability and there is a problem.

    peterp, I filed an incident report with Epson, not sure if it will make it to their Twain driver engineers, but hopefully it can be addressed.

    Thanks

    February 13, 2012 at 8:40 pm #25528 Reply
    hutdone23
    Participant
    • Topics - 4
    • Replies - 7
    • Total Posts - 11

    In case anyone is interested, this is a driver bug and will be released in a future update by Epson.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: DISABLEDS returns TWCC_CAPUNSUPPORTED?
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.