
Script Data Source
l Layouts are not supported.
l While Design allows different unit setting options, the Script data source only supports field
positions set in inches.
l Changing the Human Readable property to / from Free floating, Fixed below, or None is not
currently supported using scripts.
Figure 8.5: Data Source Window Using Script Source
Syntax
JavaScript is the scripting language currently supported by the Script data source.The JavaScript engine
utilized for LLM's Script data source conforms to ECMA-262 Edition 5 specification
A script can be used to
l Change field properties such as font, bold, size, inverse, printing field based upon data included
in the data stream, database fields on the label or data sources. For example, the script may
specify that the font size of a field be changed based on the number of characters supplied.
l Perform logical (if then else), mathematical, and Boolean logic on data elements included in the
data stream, database fields on the label and/or data sources.
l Use fields, operations, and functions also supported by the Formula data source.
Loftware LabelManager Version 10.1.1 User's Guide
295
Comentarios a estos manuales