General Error Codes

Note: The constants all begin with LL_ERR_, i.e. the entry BAD_JOBHANDLE corresponds to the constant LL_ERR_BAD_JOBHANDLE.

 

Value

Meaning

BAD_­JOBHANDLE (-1)

A function is called with a job handle not generated with LlJobOpen() or the job was closed.

TASK_­ACTIVE (-2)

Only one Designer window can be open for each application; you have tried to open a second window (only if hWnd in LlDefine­Layout() is NULL).

BAD_­OBJECTTYPE (-3)

An invalid type was passed to a function which requires the type of object as a parameter.
Valid types: LL_PROJECT_LABEL, LL_PROJECT_­LIST, LL_PROJECT_CARD.

PRINTING_­JOB (-4)

A print function was called, although no print job had been started.

NO_­BOX (-5)

LlPrintSetBoxText() was called and the print job was not opened with LlPrintWithBox­Start().

ALREADY_­PRINTING (-6)

The current operation cannot be performed while a print job is open.

NOT_­YET_­PRINTING (-7)

LlPrint[G|S]etOption[String](), LlPrintReset­Pro­ject­State(). The print job has not started yet.

NO_­PROJECT (-10)

LlPrint[WithBox]Start():There is no object with the given object name. Identical to LL_ERR_­NO_OBJECT

NO_­PRINTER (-11)

LlPrint[WithBox]Start(): Printer job could not be started as no printer device could be opened. List & Label requires a printer driver to be installed or the option LL_OPTION_PRINTERLESS to be set.

PRINTING (-12)

An error occurred during print. Most frequent cause: print spooler is full. Other reasons: no sufficient disk space, paper jam, general printer failure.

EXPORTING (-13)

An error occurred during print (e.g. no access rights to the destination path, export file already existing and write-protected,…)

NEEDS_­VB (-14)

This DLL version requires Visual Basic.

BAD_­PRINTER (-15)

LlPrintOptionsDialogTitle(): No printer available.

NO_­PREVIEWMODE (-16)

Preview functions: No preview mode is set.

NO_­PREVIEWFILES (-17)

LlPreviewDisplay(): No preview files found.

PARAMETER (-18)

NULL pointer as a parameter is not allowed, other parameter errors are also possible. Please use the debug mode to determine the error.

BAD_­EXPRESSION (-19)

New expression mode: an expression in LlExpr­Evaluate() could not be interpreted.

BAD_­EXPRMODE (-20)

Unknown expression mode in LlSetOption().

CFGNOTFOUND (-22)

LlPrint[WithBox]Start(): Project file not found.

EXPRESSION (-23)

LlPrint[WithBox]Start(),LlDefineLayout(): One of the expressions used has an error. When starting the Designer, these errors will be displayed interactively. When printing, the errors are logged to Debwin. When working with LlExprEval() use LlExprError() to find the error.

CFGBADFILE (-24)

LlPrint[WithBox]Start():Project file has the wrong format or is defective.

BADOBJNAME (-25)

LlPrintEnableObject(): The object name is not correct.

UNKNOWNOBJECT (-27)

LlPrintEnableObject(): No object exists with this object name.

NO_­TABLEOBJECT (-28)

LlPrint[WithBox]Start(): No table available in the list mode.

NO_­OBJECT (-29)

LlPrint[WithBox]Start(): The project has no objects, and empty pages can be printed another way!

NO_­TEXTOBJECT (-30)

LlPrintGetTextCharsPrinted(): No text object in this project.

UNKNOWN (-31)

LlPrintIsVariableUsed(), LlPrintIsFieldUsed(: The given variable does not exist. LlGetUsedIdentifiers(): The project contains no information about variables and fields used because it has not yet been saved with List & Label 11 or newer.

BAD_­MODE (-32)

Field functions were used, although the project is not a list project.

CFGBADMODE (-33)

LlPrint[WithBox]Start(), LlDefineLayout(): The expression mode of the project file is the new mode, but the old mode is set (see LlSetOption()).

ONLYWITHONETABLE (-34)

This error code can only be returned if - in the list mode - the OneTable mode (LL_OPTION_ ONLYONETABLE) is chosen, but more than one table is present when loading the project with LlPrint[WithBox]Start()(See LlSetOption()).

UNKNOWNVARIABLE (-35)

The variable given with LlGetVariableType() or LlGetVariableContents() has not been defined.

UNKNOWNFIELD (-36)

The field given with LlGetFieldType() or LlGetFieldContents() has not been defined.

UNKNOWNSORTORDER (-37)

The sorting order given by the ID for the grouping functions has not been defined.

NOPRINTERCFG (-38)

LlPrintCopyPrinterConfiguration(): File not found or wrong format.

SAVEPRINTERCFG (-39)

LlPrintCopyPrinterConfiguration(): File write error (network rights allow writing/creation, disk full?).

NOVALIDPAGES (-41)

Storage file contains no valid pages.

NOTINHOSTPRINTERMODE (-42)

This command cannot be called in HOSTPRINTER mode (LlSetPrinterInPrinterFile(), LlPrintCopyPrinterConfiguration()).

NOTFINISHED (-43)

One or more objects have not been completely printed.

BUFFERTOOSMALL (-44)

Ll[G|S]etOptionString(),LlPrint[G|S]etOptionString(), ... A buffer passed to List & Label is not large enough for the data that should be stored in it. The data is not complete.

BADCODEPAGE (-45)

LL_OPTION_CODEPAGE: The code page is invalid (NLS not installed).

CANNOTCREATETEMPFILE (-46)

A temporary file could not be created.

NODESTINATION (-47)

List & Label has no valid print medium (see LL_OPTIONSTRING_EXPORTS_ALLOWED).

NOCHART (-48)

LlPrintDeclareChartRow(): No chart object exists in the project.

NO_WEBSERVER_LICENSE

(-51)

Only in server/web server applications. The use in server/web server applications is only possible from the Enterprise Edition.

INVALIDDATE (-52)

LlSystemTimeFromLocaleString(): invalid date format has been used.

DRAWINGNOTFOUND (-53)

A required drawing file could not be found, see also LL_OPTION_ERR_ON_FILENOTFOUND.

NOUSERINTERACTION
(-54)

A call would require a user interaction; however the application is running on a web server.

BADDATABASE­STRUCTURE (-55)

The database structure at design time and runtime does not match.

UNKNOWNPROPERTY (-56)

The property is not supported by the object.

INVALIDOPERATION (-57)

A DOM function could not be executed (e.g. an object could not be created).

PROPERTY_ALREADY_DEFINED (-58)

The property already exists (DOM).

CFGFOUND (-59)

The selected project already exists or is write protected.

SAVECFG (-60)

Error saving the project file.

ACCESS_DENIED (-65)

An existing object cannot be accessed in the repository.

IDLEITERATION_DETECTED (-66)

The number of print attempts is greater than the value of the LL_OPTION_IDLEITERATIONCHECK_MAX_ITERATIONS option.

USER_­ABORTED (-99)

The user aborted the print.

BAD_­DLLS (-100)

The DLLs required by List & Label are not on the required level.

NO_­LANG_­DLL (-101)

The required language DLL was not found and a CMLL29@@.LNG is not available.

NO_­MEMORY (-102)

Not enough free memory.

EXCEPTION (-104)

An unhandled Exception happened inside a List & Label call. List & Label might be unstable.

LICENSEVIOLATION (-105)

Returned if the action (LlDefineLayout()) is not allowed with the current standard license, or if the program passes wrong licensing information in LL_OPTIONSTR_LICENSEINFO.