https://forum.pdf-xchange.com/ ... 825#p56825
I already figured out, how to do this with PDF-XChange 5.
BUT: What I didn't find out is how to set the Default-Profile.
After Installing PDF-XChange 5 there is a Default-Profile "Current".
When importing a Profile using
Code: Select all
rundll32 drvui5.dll,DUI30_Command /InstallProfile:%FullPathToProfileFile% /PrinterName:%PrinterName% /ForUser
We would like to to the following (scripted/automated):
1. Import a new Profile named "XYZ-Export"
2. Set this Profile as Default-Profile
3. Do some Printjobs with this prepared Profile
4. set back the Default-Profile to "Current"
5. Optionally: Delete the "XYZ-Export" Profile (which probably could be done by simply deleting the HCKU-Registry-Keys)
I'm still searching a Solution for Steps 2 and 4.