unknown
2004-07-22 08:39:44 UTC
Hi,
i experienced the following behaviour:
Is used SetPrinter to change a printers "Print Quality" setting to
DMRES_something.
After the successful call, i used GetPrinter to re-read the settings but now
the dwPrintQuality member of the DEVMODE structure doesn't contain
DMRES_something, but some resolution in DPI!
Another quite strange behaviour is, that I have a printer driver which maps
two of the four DMRES_* values to the same DPI values.
My problem is, that I want to display the current settings using radio
buttons which represent the DMRES_* values, but it's difficult with DPI
values, because I don't know which values the printer supports.
Has anybody an idea how i can solve this problem and if it's possible to map
DPI values to DMRES_* values?
Thank you very much!
Max
i experienced the following behaviour:
Is used SetPrinter to change a printers "Print Quality" setting to
DMRES_something.
After the successful call, i used GetPrinter to re-read the settings but now
the dwPrintQuality member of the DEVMODE structure doesn't contain
DMRES_something, but some resolution in DPI!
Another quite strange behaviour is, that I have a printer driver which maps
two of the four DMRES_* values to the same DPI values.
My problem is, that I want to display the current settings using radio
buttons which represent the DMRES_* values, but it's difficult with DPI
values, because I don't know which values the printer supports.
Has anybody an idea how i can solve this problem and if it's possible to map
DPI values to DMRES_* values?
Thank you very much!
Max