LlPreviewSetTempPath

Syntax:

INT LlPreviewSetTempPath (HLLJOB hJob, LPCTSTR lpszPath);

Task:

Sets a temporary path for the print preview file(s). Especially useful for applications running in a network environment.

Parameter:

hJob: List & Label job handle

lpszPath: Valid path with a concluding backslash "\"

Return Value:

Error code

Hints:

The preview file(s) will be stored in this path. The file name is the project's name, the file extension is ".LL". The preview file can be archived, sent or viewed whenever needed.

If the path is NULL or "", the path in which the project file is stored is taken.

This command must be called before the first call to LlPrint() in the print loop.

See also:

LlPrintStart, LlPrintWithBoxStart