NTPSetOption (Zip compression)

 

Below is a description of all options supported by the ZIP Archive module. These options can be set with the NTPSetOption function. One part of this option can also be set directly from the printer dialog.

 

The ZIP Archive module is used for storing the entire result of the export as a ZIP archive. All export formats support a programming interface for this purpose. The user can start compression interactively in dialog, by selecting the filter "ZIP Archive (*.zip)" from the list of available file filters. Alternatively, the output can naturally also be fully script-driven.

 

The following options are available:

 

CONST NTPOPTION_ZIPEXP_SAVEASZIP

Activates compression of the export files. If this option is set, the ZIP filter is preselected in dialog.

0 = No compression occurs

1 = The export files are compressed into a ZIP archive

Default: 0

 

CONST NTPOPTION_ZIPEXP_SAVEASZIPAVAILABLE

Show the ZIP archive filter in the file selection dialog.

0 = Filter hidden

1 = User selection possible

Default: 1

 

CONST NTPOPTION_ZIPEXP_FILE

Gives the file name for the ZIP archive to be generated.

 

CONST NTPOPTION_ZIPEXP_PATH

Gives the path for the ZIP archive to be generated.