Home › Forums › TWAIN Classic › how to set a Range->CurrentValue
- This topic has 1 reply, 1 voice, and was last updated 13 years, 9 months ago by kpr.
- AuthorPosts
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!
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_20081202older, but better…
- AuthorPosts