In my program, I want to allow users to turn off the scanner's interface, but I'd like the program to use the settings already in place on the scanner for resolution, bitdepth, pixeltype, etc. Basically, I want the user to be able to use the scanner's interface to make selections, but not have to go through that interface with each subsequent scan.
I've tried just the TwainGetCurrentResolution, (TW-Brother DCP-7020 USB) and all I ever get back is a value of 100, no matter what the scanner's settings actually are. Is there something I'm missing here? If this is not a reliable method, is there a better one?
What I'd love as a workaround is a simple 3-level quality selection (low, better, best) that makes settings for either pdf or image, but I don't know enough about this sort of thing to even know what those settings should be.
Getting scanner settings
Re: Getting scanner settings
Hi,
TwainGetCurrentResolution is the good method to get the current resolution.
Unfortunately some non 100% TWAIN complaint driver returns false values. And you can't do anything for that excepted trying another TWAIN driver.
Kind regards,
Loïc
TwainGetCurrentResolution is the good method to get the current resolution.
Unfortunately some non 100% TWAIN complaint driver returns false values. And you can't do anything for that excepted trying another TWAIN driver.
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest