To do so developers will need to:
- Create a cdintfex object.
- Call a DriverInit function
- Set whatever parameter you want to set, whether devmode parameter or registry parameter:
Code: Select all
Cdi.FilenameOptions = blablabla
Cdi.SetEncryption(2)
Cdi.SetImageOptions(...)
Cdi.SetEmailSubject(...)
Cdi.SaveCurrentConfig("TheNewConfigurationName")
are saved. The developer can modify whatever needed.
Cdi.SetEncryption(1)
Print or do whatever....
Anytime the developer wants to set all the saved settings again, all he/she
has to do is call:
Cdi.LoadSavedConfig("TheNewConfigurationName")
NB: some settings to take effect the developer needs to call
SetDefaultConfigEx. This applies to the saved and loaded configuration
settings too.