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: Refreshing the data Source

Forums › TWAIN Classic › Refreshing the data Source › Reply To: Refreshing the data Source

May 6, 2007 at 8:10 pm #23762
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

for your #2 problem, it seems to me that you need to verify that an image exists before enabling the device. for a twain solution take a look at the file related triplets. in appendix A there is an section “File System”, it’ll show you how to check if files exist using MSG_GETFIRSTFILE MSG_GETNEXTFILE. if your device doesn’t suuport those caps, then you might be able to verify this with stand io calls. .. or I’ve misunderstood the problem.

for #1, walk me thru the rough logic opening enabling disabling and closing the device with how that relates to the user taking shots.

and I wonder, why use twain here? I’m assuming you have the device connected and most devices that I have are mounted as a drive when connected. Couldn’t you use standard io calls to pull images off of the device as soon as they become available? Are you using twain calls to take the shots or just pull them once they’ve been taken? Do you use any twain calls to configure the device (set brightness etc,)? or are you trying to setup some automation?

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

  • Sports betting Bonus Code
  • 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