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

Feeder empty during Batch Scan

Forums › TWAIN Classic › Feeder empty during Batch Scan

  • This topic has 2 replies, 3 voices, and was last updated 11 years ago by Kaij.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 25, 2010 at 8:39 am #22569 Reply
    MarioGuenther
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Hi all,

    in Twain there is no Condition Code to show the application an empty feeder (no more sheets to scan) during batch scanning. I know before start to scan a batch of paper the data source should check CAP_FEEDERLOADED. But in case the batch scan is running and after the last page was scanned the next DAT_IMAGExxxXFER should return something like TWRC_FAILURE/TWCC_NOPAPER. Do anybody know how the data source can tell it to the application ?

    January 25, 2010 at 5:35 pm #25122 Reply
    Thierry
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    After you receive the last image, so after you leave the image transfer loop, why don’t you do a timer with Get/CAP_FEEDERLOADED, and if TRUE : EnableDS ?

    From my point of view, if your code leaves the loop, there are two reasons, first there’s no page in the feeder, or second, the user took too much time to put paper in the feeder and the driver reached its timeout, disabling DS. I assume that you want to restart scanning in the second case.

    January 26, 2010 at 8:12 pm #25123 Reply
    Kaij
    Participant
    • Topics - 9
    • Replies - 132
    • Total Posts - 141

    Mario,

    If TW_PENDINGXFERS == 0 the feeder is empty.

    Best regards,

    Kaij

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Feeder empty during Batch Scan
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

  • 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

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.