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

How Twacker gets source list

Forums › TWAIN Classic › How Twacker gets source list

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 1 month ago by MarkM.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 10, 2015 at 1:08 pm #23041 Reply
    FedyuninV
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Good day everyone!

    My problem is that my application doesn’t detect Kyocera scanner connected via network. But Twacker detects this scanner. My realisation uses it’s own selection dialog, that’s why I’m mageking DG_CONTROL / DAT_IDENTITY / MSG_GETFIRST + DG_CONTROL / DAT_IDENTITY / MSG_GETNEXT. But if Kyocera is the only connected scanner, my program gets TWCC_NODS after MSG_GETFIRST.

    Am I right about that Twacker probably uses MSG_USERSELECT. If so, how built-in selection dialog detects scanners? Why I don’t get this source via MSG_GETFIRST + MSG_GETNEXT?

    I didn’t find any specification or documentation for TWACKER that’s why I’m asking here.

    P.S. this thread doesn’t look similar to my trouble because this scanner is not via-twain source.

    December 17, 2015 at 3:03 pm #26343 Reply
    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    It sounds like you’ve run into a badly behaving TWAIN Driver. Calls to DG_CONTROL / DAT_PARENT / MSG_GETFIRST and DG_CONTROL / DAT_PARENT / MSG_GETNEXT should only return a status of TWRC_SUCESS or TWRC_ENDOFLIST.

    I recommend that you ignore the status and continue enumerating until you find your scanner, or until you reach TWRC_ENDOFLIST.

    There is also the ugly possibility that your scanner is reporting TWRC_FAILURE / TWCC_NODS, but still returning valid TW_IDENTITY data, so you might need to check for that too.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How Twacker gets source list
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

  • Big Ass Photos – Free Huge Butt Porn, Big Booty Pics
  • 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.