Predefine Settings
PDFCreator allows administrators to predefine settings for their users. PDFCreator stores the settings in the registry key HKEY_CURRENT_USER\Software\PDFCreator.net. When these settings do not exist when the user starts PDFCreator for the first time, our default settings will be created. During this process, PDFCreator looks at HKEY_USERS\.DEFAULT\Software\PDFCreator.net (note the HKEY_USERS hive) for other defaults that can be applied.
You can now define settings in the .DEFAULT key to overwrite the PDFCreator defaults. The registry key follows the same structure. It is also possible to define new profiles there as well as changing values in existing profiles.
Note
If a user already has own profile settings, the defaults will not be applied.
Create defaults with PDFCreator
The easiest way to get started is to modify the user settings within PDFCreator and to copy them to the .DEFAULT key.
- Start PDFCreator, modify the settings and profiles as you like and close the application again
- Open regedit.exe and navigate to HKEY_CURRENT_USER\Software\PDFCreator.net
- Open the file menu and use “Export” to export the current key to a file
- Open the exported file in a text editor
- Use the search/replace function to replace “HKEY_CURRENT_USER\Software\PDFCreator.net” with HKEY_USERS\.DEFAULT\Software\PDFCreator.net” and save the file
- Double click the file to import it again.
When users now start PDFCreator for the first time, they will see the settings you have predefined
Create defaults from scratch
If you want to change some values but want to keep the defaults for the rest, you can also set selected values in the registry.
This small sample shows how to change the logging level to “Info” (“Error” is the default):
- Open regedit.exe and navigate to HKEY_USERS\.DEFAULT\Software
- Create the subkeys till HKEY_USERS\.DEFAULT\Software\PDFCreator.net\Settings\ApplicationSettings
- Create a string value with the name LoggingLevel and set its value to “Info”
Creating profiles involves a few more steps:
- Perform the steps 1 and 2 from above
- Create the subkey HKEY_USERS\.DEFAULT\Software\PDFCreator.net\Settings\ConversionProfiles and open it
- Create a string value “numClasses” with the value “1” (if you want to create more profiles, take the respective number)
- Create a subkey named “0” and open it
- Create a string value named “Guid” and give it a unique value. If you want to overwrite the default profile, use the GUID “DefaultGuid”.
- Define other settings as desired. They will be used to create a new profile or overwrite values in an existing profile
Note
The default profile is required by PDFCreator and will always be added if it does not exist.