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 set Scan type as flatbed or feeder

Forums › TWAIN Classic › How to set Scan type as flatbed or feeder › Reply To: How to set Scan type as flatbed or feeder

May 3, 2007 at 12:05 pm #23758
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

Sorry, I won’t be able to provide code as I set very few Caps one by one. Instead I use EnableDsUiOnly to set up a profile of the scan that I want, pull all the settings out with CustomDsData.Get then when I want to run the scans I use CustomDsData.Set. I’ll typicaly only set fileformat, transfer methed and trasnfer count. After I check for EnableDsUiOnly support. Everything else I leave up to the vendor.

In a rough overview I’d say you want to set CAP_FEEDERENABLED to True, then check CAP_FEEDERLOADED.
If CAP_FEEDERLOADED = True (and you were able to set CAP_FEEDERENABLED = True). Then use whatever code you have that aquires from the ADF.

If CAP_FEEDERLOADED = False (or if you weren’t able to set CAP_FEEDERENABLED = True) then set CAP_FEEDERENABLED = False and use your other code.

Oh, and CAP_PAPERDETECTABLE is supported probably plays a role here too.

But I could have this all wrong as again, I don’t use twain the way you’re trying to use twain.

.

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