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

ConditionCode 15 Returned when setting custom capabilities

Forums › TWAIN Classic › ConditionCode 15 Returned when setting custom capabilities

  • This topic has 0 replies, 1 voice, and was last updated 8 years, 9 months ago by hutdone23.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • April 25, 2012 at 8:51 pm #22746 Reply
    hutdone23
    Participant
    • Topics - 4
    • Replies - 7
    • Total Posts - 11

    We have a customer setting a custom capability on the Kodak i2000 series scanners:

    #define CCAP_TRANSPORTTIMEOUTRESPONSE 0x8028
    #define CCAP_TRANSPORTTIMEOUT 0x8003

    I can get these capabilities no problem, CCAP_TRANSPORTTIMEOUTRESPONSE uses an ENUM container, and CCAP_TRANSPORTTIMEOUT uses a RANGE container.

    When the CCAP_TRANSPORTTIMEOUT capability is ‘set’ it succeeds, but then when I try to ‘get’ the CCAP_TRANSPORTTIMEOUTRESPONSE next I get it fails with condition code 15 (“Capability has dependency on other capability.”).

    vs.

    When the CCAP_TRANSPORTTIMEOUTRESPONSE capability is ‘set’ it succeeds, and then when I try to ‘get’ the CCAP_TRANSPORTTIMEOUT next it works without error.

    This leads me to believe I can’t set CCAP_TRANSPORTTIMEOUTRESPONSE after setting CCAP_TRANSPORTTIMEOUT, so I have to set CCAP_TRANSPORTTIMEOUTRESPONSE first. The bizarre thing is when I duplicate these steps in Twacker it works both ways without issue.

    Is this some weirdness with custom capabilities or if something is wrong our implementation and if so any clues where should I be looking?

    😯

  • Author
    Posts
Viewing 1 post (of 1 total)
Reply To: ConditionCode 15 Returned when setting custom capabilities
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.