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

Reply To: Transition from state 5 to 6

Forums › TWAIN Classic › Transition from state 5 to 6 › Reply To: Transition from state 5 to 6

July 13, 2007 at 6:35 am #23899
TheCrow99
Participant
  • Topics - 6
  • Replies - 54
  • Total Posts - 60

as far as I understand that, by setting showUI=FALSE and DAT_USERINTERFACE MSG_ENABLEDS I am in state 5 and the source knows that there is something to scan. then it should send a message to the application with XFERREADY. which brings it to state 6 and then I can get the picture with DG_IMAGE, DAT_IMAGEFILEXFER, MSG_GET which takes place in state 7.
the only thing which I still don’t understand is if I have to do anything special to make the source send the XFERREADY message like sending requests if there are any messages ready for me.
The only thing I found in the spec was MSG_PROCESSEVENT but I understood that this is only needed if I want to use Windows messages to start the scan process.

>>SCAN BUTTON
yes I looked up a few windows commands (GetSTILaunchInformation, RegisterLaunchApplication,…) which looked useful but I want to have a program which doesn’t only work in windows.
I also found MSG_DEVICEEVENT and CAP_DEVICEEVENT but they are unfortunately not supported by most devices, but maybe with the new TWAIN 2.0….hopefully

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