of a document when printing it to PDF?
There are three ways you can change the resolution depending on your application:
1 - If you are using the DEVMODE structure and a Device Context to handle the printing, then you can directly use the Resolution field of the DEVMODE structure.
2 - If you are using the CDICreateDC function of the CDINTF DLL, then you can use the SetResolution function.
3 - If you are using some external tool to handle the printing, then you need to make the required resolution as default by calling SetDefaultConfig right after SetResolution.