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

Connection to switched off scanner

Forums › TWAIN Classic › Connection to switched off scanner

  • This topic has 2 replies, 3 voices, and was last updated 8 years, 10 months ago by Adam.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 13, 2012 at 7:28 am #22595 Reply
    Jaroslaw.M
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    I’m working on application that gets an image from scanner.
    Generally it works good, problem appears, when the scanner is switched off – application hangs and there is no way to do anything except turning if off with the task menager.
    Is there any function in twain_32.dll, that checks if there is any connection with the device?
    I’m using this file: TwainLib.vb
    Thanks in advance for help.

    February 29, 2012 at 8:26 pm #25222 Reply
    sunshine_ak
    Participant
    • Topics - 7
    • Replies - 4
    • Total Posts - 11

    I don’t know file that you’re using, but in Twain specification is capability CAP_DEVICEONLINE. You can check if scanner is available and ready to connect. Maybe that helps you.

    March 7, 2012 at 10:13 am #25223 Reply
    Adam
    Participant
    • Topics - 0
    • Replies - 43
    • Total Posts - 43

    Hi Jaroslaw.M,

    I’m wondering whether the application hang issue is caused by the improper source close. You can try to close the source after every scanning session and see if it helps.

    Adam
    Dynamsoft: Version Control | TWAIN SDK

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Connection to switched off scanner
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.