Create a new Configuration in the PDF Converter 3.0

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Create a new Configuration in the PDF Converter 3.0

Post by Joan »

Starting version 3, users of the PDF Converter are able to create a configuration, save it and use it regularly.

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")
At this stage, the devmode is saved and a snapshot of all registry settings
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.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply