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: How to catch end of scan on multi-page scanner? Kodak i-30

Forums › TWAIN Classic › How to catch end of scan on multi-page scanner? Kodak i-30 › Reply To: How to catch end of scan on multi-page scanner? Kodak i-30

June 21, 2006 at 8:27 pm #23365
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

so if the sample works on your device but your code doesn’t….,

ok describe your transfer.

you execute OperationTriplets Image.ImageFileXfer.Get

you check the rc, its either , XferDone, Cancel or Failure
for the XferDone and Cancel results you end up executing
Control.PendingXfers.EndXfer, you check the pxfr.Count and if it is 0 then you go do something else and if its not 0 you loop. yours is never 0? is this where you come to an infinate loop? what happens here?

have you tried anyone else code? does your code work anywhere else? Maybe this is odd bit o twain i just havent run up against, but when you say that the twain sample source works, i’m inclined to believe that your code is the source (no pun intended).

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

  • Hello world
  • Girls of Desire: All babes in one place, crazy, art
  • 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
  • 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