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: Looking for a "push model" (ICAP_FEEDERLOADED) exa

Forums › TWAIN Classic › Looking for a "push model" (ICAP_FEEDERLOADED) exa › Reply To: Looking for a "push model" (ICAP_FEEDERLOADED) exa

December 17, 2009 at 9:00 pm #25080
eramgarden
Participant
  • Topics - 2
  • Replies - 8
  • Total Posts - 10

I am back this topic again and I don’t understand how this works..

I added this to the code that I got from that link:

internal enum TwCap : short
{
XferCount = 0x0001, // CAP_XFERCOUNT
ICompression = 0x0100, // ICAP_…
IPixelType = 0x0101,
IUnits = 0x0102,
CAP_FEEDERLOADED = 0x1003,
IXferMech = 0x0103
}

now, in the code I have this which doesnt work:

while(true)
{
while (TwCap.CAP_FEEDERLOADED )
{

}
}

— i get an error that TwCap.Cap_FeederLoaded cannot be converted to Bool…

Not sure how to use this to check for scanner being ready to scan…

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

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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