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

how to set a Range->CurrentValue

Forums › TWAIN Classic › how to set a Range->CurrentValue

  • This topic has 1 reply, 1 voice, and was last updated 10 years, 6 months ago by kpr.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 28, 2010 at 12:42 pm #22616 Reply
    kpr
    Participant
    • Topics - 7
    • Replies - 6
    • Total Posts - 13

    Hello again,

    I am using the Twain2.0 CLI Sample App to understand how TWAIN works. The App is very good to learn. But it only uses TWON_ONEVALUE for ICAP_XRESOLUTION and ICAP_YRESOLUTION. When used with the Avision Scanner, it returns “Unsupported Capability”, because it only supports TWON_ONEVALUE and TWON_ENUMERATION.

    I was able to manage to write a function to GET an ICAP_XRESOLUTION, the source returns a TWON_RANGE type. But at the moment I am stuck to SET the CurrentValue.

    I am able to set it simply as TWON_ONEVALUE, but then the application chrashes during the scan.

    If I leave the Resolution untouched, the app works.

    The MFC-Sample app from TWAIN.org is able to set the resolution (with the vendor UI)…

    Thanks in advance!

    July 2, 2010 at 9:14 am #25284 Reply
    kpr
    Participant
    • Topics - 7
    • Replies - 6
    • Total Posts - 13

    well, allthough the Avision support told me that the Dual Interface driver was the best one for the AVA6 Plus device, I was not able to find a solution to that problem.

    I tried an older AVA6Plus driver, that solved the problem for me. I suppose that the Dual Interface driver is somehow special, because it is able to connect 2 devices somehow and use them as one..

    just for the record:
    Dual Interface driver: dualv56r20090828
    AVA6 Plus standard driver: AVA6Plus_v542beta_20081202

    older, but better…

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: how to set a Range->CurrentValue
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.