Automatic Storage of Form Data

If you are using the form elements, it is possible to perform automatic storage after completion of the preview with the project parameters. Besides the automatic storage of form data these parameters can also be used to define the file names for sending e-mail out of the preview and for defining the default settings for saving out of the preview. For this purpose, you can use the following project parameters:

SaveAs.Format

Desired export format, e.g. "XML"

Supported formats are "TTY", "PDF", "EMF", "XPS", "PRN", "TIFF" resp. "PICTURE_MULTITIFF", "JPEG" resp. "PICTURE_JPEG", "PNG" resp. "PICTURE_PNG", "LL" resp. "PRV", "XML" resp. "XFDF". Further information can be found in chapter The Export Modules.

SaveAs.Filename

Output file name, e.g. "test.xml"

SaveAs.ShowDialog

Allows the save dialog to be enabled ("1") or disabled ("0")

SaveAs.NoSaveQuery

Disables the request as to whether the file should be saved after completion or not.

Note: SaveAs.NoSaveQuery overwrites the value of SaveAs.ShowDialog, i.e. if no dialog should be shown, but the save query should be, the dialog will be shown anyway and vice versa.

 

Example:

LlPrintSetProjectParameter(hJob,"SaveAs.Format","XML",
       LL_PARAMETERFLAG_VALUE);
LlPrintSetProjectParameter(hJob,"SaveAs.Filename","test.xml",
       LL_PARAMETERFLAG_VALUE);
LlPrintSetProjectParameter(hJob,"SaveAs.ShowDialog","0",
       LL_PARAMETERFLAG_VALUE);
LlPrintSetProjectParameter(hJob,"SaveAs.NoSaveQuery","1",
       LL_PARAMETERFLAG_VALUE);