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: Setting DPI sometimes fails

Forums › TWAIN Classic › Setting DPI sometimes fails › Reply To: Setting DPI sometimes fails

April 30, 2007 at 9:19 pm #23751
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

ICAP_XRESOLUTION and ICAP_YRESOLUTION are TW_FIX32, which when I wrote my wrapper were tricky (yeah I’m slow). If I were to guess, I’d say your TW_FIX32 logic isn’t quite right ot the vendor is misbehaving. If you want to post the code or logic you use to read the take pointer and get a TW_FIX32 out of it, someone here might be able to help. Also, if you let us know what vendor and driver (and version) you see this on someone (probably spike, as Dosadi _must_ have to have a massive library of scanner properties and quirks) may know if the driver is odd across platforms.

rc= failure and cc=success I’ve seen. I treat those as a success. Double check that you aren’t calling the cc twice as the cc is (should be if the vendor follows the api, but.. well that isn’t always or even usually the case) reset after you call it and if you’re checking the second read instead of the first then you’re looking in the wrong place.

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