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

Cannot Set CAP_AUTOSCAN Capability to True

Forums › TWAIN Classic › Cannot Set CAP_AUTOSCAN Capability to True

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 9 months ago by xiaoyuan.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 7, 2009 at 8:48 pm #22482 Reply
    xiaoyuan
    Participant
    • Topics - 2
    • Replies - 2
    • Total Posts - 4

    I have a scanner which supports CAP_AUTOSCAN, but when I try to set this capability to true, the DSM_Entry routine returns error coce 1 and condition code 0.

    Does anyone know what the causes this error?

    Thanks.

    April 8, 2009 at 1:14 pm #24861 Reply
    Thierry
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    @xiaoyuan wrote:

    I have a scanner which supports CAP_AUTOSCAN, but when I try to set this capability to true, the DSM_Entry routine returns error coce 1 and condition code 0.

    Does anyone know what the causes this error?

    Thanks.

    What’s the scanner and the driver version ?

    April 8, 2009 at 9:16 pm #24862 Reply
    xiaoyuan
    Participant
    • Topics - 2
    • Replies - 2
    • Total Posts - 4

    Thanks, Thierry, for the reply.

    My purpose is to create a generic application that can talk to any commercial scanner. Their drivers can be implemented following any TWAIN version.

    I actually have a general question for any driver following TWAIN spec:
    if calling DSM_Entry() gets return code 1 and condition code 0, what kind of erro does it mean? A driver implementation error or an error in my application?

    Thanks.

    April 8, 2009 at 9:42 pm #24863 Reply
    Thierry
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    @xiaoyuan wrote:

    A driver implementation error or an error in my application?

    Hard to know, as it is vendor’s related behavior …
    A good data source will give you a log file and enough feedback to be able to find if it’s an application error or not.
    Some vendors expose capabilities because it is mandatory from TWAIN spec, but that doesn’t mean that you can change their value.
    CAP_AUTOSCAN for example is a scanner specific capability controlling the behavior of the feeder so it could be read only.

    April 8, 2009 at 10:07 pm #24864 Reply
    xiaoyuan
    Participant
    • Topics - 2
    • Replies - 2
    • Total Posts - 4

    Got it. Thanks very much.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Cannot Set CAP_AUTOSCAN Capability to True
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.