Predefined Project Parameters

List & Label uses project parameters for sending emails and faxes. The user may change and edit the values. As List & Label expects the contents to be a formula, it will be necessary to mask them as a string value ("…") whenever fixed values are used.

Example:

LlPrintSetProjectParameter(hJob,"LL.FAX.RecipNumber","\"+497531906018\"",0);

 

LL.FAX.Queue

LOCAL, PRIVATE

LL.FAX.RecipNumber

GLOBAL, PUBLIC
[LL_OPTIONSTR_FAX_RECIPNUMBER]

LL.FAX.RecipName

GLOBAL, PUBLIC
[LL_OPTIONSTR_FAX_RECIPNAME]

LL.FAX.SenderName

GLOBAL, PRIVATE
[LL_OPTIONSTR_FAX_SENDERNAME]

LL.FAX.SenderCompany

GLOBAL, PRIVATE
[LL_OPTIONSTR_FAX_SENDERCOMPANY]

LL.FAX.SenderDepartment

GLOBAL, PRIVATE
[LL_OPTIONSTR_FAX_SENDERDEPT]

LL.FAX.SenderBillingCode

GLOBAL, PRIVATE
[LL_OPTIONSTR_FAX_SENDERBILLINGCODE]

LL.MinPageCount

GLOBAL, FORMULA, PUBLIC

LL.ProjectDescription

GLOBAL, VALUE, PUBLIC

LL.IssueCount

GLOBAL, FORMULA, PUBLIC

LL.PageCondition

GLOBAL, FORMULA, PUBLIC

LL.PrintJobLCID

GLOBAL, FORMULA, PUBLIC

 

Further information on the project parameters can be found in the Designer manual.

Analog to the LL.FAX parameters LL.MAIL parameters exists, see chapter Setting Mail Parameters by Code for further information.

Parameters that are not defined prior to LlDefineLayout() or were defined with the PRIVATE-Flag are not editable.

For example, the application could pass the value for "LL.Mail.To" using an email field (here: "EMAIL") from a database:

LlSetDefaultProjectParameter(hJob,"LL.MAIL.To","EMAIL",0);

The user may then add a "FIRSTNAME" and "NAME" field in order to enhance the address:

FIRSTNAME + " " + NAME + " <" + EMAIL + ">"

The preview control automatically adopts the values of LL.FAX.* and LL.MAIL.*. In addition, the values are passed to the export modules – these also use the user-defined contents.

Please note a change in the behavior of the export modules up to version List & Label 9: if the user enters an email address in the settings dialog, the export result will always be sent to this address, regardless of the settings made using LlXSetParameter(). We recommend setting all mail settings using the project parameter API. Unchanged projects should behave as before.