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 LlPrintOptionsDialog(). 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(...);