Switching Specific Export Modules On/Off

Using the option LL_­OPTIONSTR_­EXPORTS_­AVAILABLE, you can get a string containing all available export media separated by semicolons. This list also contains the standard output formats "PRN", "PRV" and "FILE". The available export formats can be restricted by setting the option LL_­OPTIONSTR_­­EXPORTS_­ALLOWED. This setting affects the available output formats in the dialog Ll­PrintOptionsDialog(). Please note that the print destination parameter in LlPrint[WithBox]Start() influences the export media as well. You should therefore use LL_­OPTIONSTR_­EXPORTS_­ALLOWED after it.

Example of how to enable certain exporters:

LlPrintWithBoxStart(..., LL_­PRINT_­EXPORT, ...);
//Only print to preview and HTML is allowed:
LlSetOptionString(hJob, LL_­OPTIONSTR_­EXPORTS_­ALLOWED,"PRV;HTML");
//...
LlPrintOptionsDialog(...);

Example of how to disable the export modules:

LlPrintWithBoxStart(..., LL_­PRINT_­EXPORT, ...);
//Prohibits all export modules:
LlSetOptionString(hJob, LL_­OPTIONSTR_­EXPORTS_­ALLOWED, "PRN;PRV;FILE");
//...
LlPrintOptionsDialog(...);