Home › Forums › TWAIN Classic › Question About ICAP_UNITS › Reply To: Question About ICAP_UNITS
Wow. Amazing how different devices can be. What I’m trying to do is find the very largest image size in pixels that a device will provide. Yep, first thought is to get ICAP_PHYSICALHEIGHT and ICAP_PHYSICALWIDTH. Unfortunately, at least with the Fujitsu it is returning different values depending on the X/Y Resolution. So I figured I’d enumerate the X/Y Resolutions to find the maximum, set to the maximum, then get the physical height/width. Using Twacker, I can see that the Fujitsu returns bad value when trying to set the resolution with units set to pixels, but if I set units back to the inches that it defaults to, then set the resolutions it works fine. With the Lanier, it will allow me to set the units to pixels, then set the resolutions. What is the point of a spec/standard if no one is going to follow it? 🙂
Torin