Home › Forums › TWAIN Classic › How to set the resolution (DPI)? › Reply To: How to set the resolution (DPI)?
When you’re setting resolution you should check what the units (ICAP_UNITS) are set to first – 499 x 499 pixels isn’t quite the same as 499×499 cm. See the capability ordering whitepaper for information on the order to set capabilities – http://twain.org/docs/CapOrderForWeb.PDF
You also may want to check the supported resolution(s) with a Get before trying the Set, some devices will round to the nearest supported and others with simply disregard your setting – recheck executeing the Get op for the resolution after you execute the set should assure you that you have successfully set the capability.
When you set the resolution are you getting an rc=success from the triplet?
.