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: Try to Open data source when it is powered off….

Forums › TWAIN Classic › Try to Open data source when it is powered off…. › Reply To: Try to Open data source when it is powered off….

May 7, 2007 at 9:20 am #23248
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

Funny I just reread this post again over the weekend (don’t remember why) and I then I reread the cap description. From the twain spec under Application for CAP_DEVICEONLINE:

“This capability can be issued at any time to determine the availability of the image source hardware .”

You *should* be able to use this to determine if the hardware is online. The spec makes no mention of having to be between states 4 and 7 – and while the spec is not always 100% accurate (severe understatement) I believe in this case it is correct. I’ll double check this with a couple of drivers that I have installed and update this thread within a day but until then I’m going to stick to my original answer; use CAP_DEVICEONLINE.

.

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