Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Inspector Twain bug #2?

Last post 14 Apr 2009, 2:57 PM by Glenn. 3 replies.
Sort Posts: Previous Next
  •  09 Apr 2009, 9:50 PM 18150

    Inspector Twain bug #2?

    Glenn,

    Is Inspector Twain (IT) still in active development? Maybe I'm missing something but the forum messages are over a year old.

    The reason I ask is I'm testing my company's TWAIN with IT v2.0.0.4 and I found a bug. IT gives me an error message, "MSG_SET failed even though the driver indicates it's supported", on several capabilities: ICAP_COMPRESSION, ICAP_UNITS , CAP_AUTOFEED, ICAP_IMAGEFILEFORMAT, ICAP_PLANARCHUNKY, ICAP_BITDEPTH, and ICAP_BITDEPTHREDUCTION. In debugging, I find that the value IT is setting is not valid for my DS.

    Except for CAP_AUTOFEED, what these capabilities have in common is the specification says they can all return a TW_ENUMERATION on MSG_GET but my DS returns a TW_ONEVALUE which is also allowed by the spec. IT is correctly using a TW_ONEVALUE to set these but the value it sets is not supported by my DS.

    For example, when setting ICAP_PLANARCHUNKY, IT gives me this:

    TW_CAPABILITY structure:
        Cap    : 0x1120 (ICAP_PLANARCHUNKY)
        ConType:      5 (TWON_ONEVALUE)
        TW_ONEVALUE structure:
            ItemType:   4 (TWTY_UINT16)
            Item    :   4 (???)

    The Item value in the TW_ONEVALUE should be 0 (TWPC_CHUNKY) since that's the only value my DS supports but instead it's giving me 4 which happens to be the same as TWTY_UINT16.

    In all of the capabilities listed above, IT is trying to set the TWTY_ value as the Item value. So for all of the TW_UINT16 capabilities, the Item value is 4 (TWTY_UINT16). For the TW_BOOL capability (CAP_AUTOFEED)  the item value is 6 (TWTY_BOOL).

    Any other reports of this problem? I can send my DS to Atalasoft for testing if needed.

    -Doug

  •  09 Apr 2009, 10:32 PM 18151 in reply to 18150

    Re: Inspector Twain bug #2?

    The version of Inspector Twain that is available on the site is a bit old and does contain a few bugs.  A new version of Inspector Twain has been developed with guidelines from the TWAIN Working Group and will be used by the TWG to certify TWAIN drivers.

    Currently only members of the TWG have access to this new version.  They have been testing it for a while and I would expect the official release to be coming soon.


    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  13 Apr 2009, 2:55 PM 18291 in reply to 18151

    Re: Inspector Twain bug #2?

    Glenn,

    Thanks for your reply. Do you know if the TWG will offer the updated Inspector Twain to developers or will developers have to submit their DS to the TWG for certification?

    Offering driver certification is a step in the right direction but it's only a partial solution if application testing is not offered. Ultimately, users don't care if drivers are in compliance with the TWAIN specification. They only care that their scanner works in the application they're using. To that end, I'm hoping the TWG will also consider offering an application tester in the form of a DS.

    -Doug

  •  14 Apr 2009, 2:57 PM 18297 in reply to 18291

    Re: Inspector Twain bug #2?

    It will be available for developers to test with and submit their test results to TWG for certification.


    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML