3-10 LNT Programmer’s Manual
Defining the BarcodeField (Required)
The BarcodeField tag specifies how the bar code field appears on the label.
It contains the following attribute: id.
Syntax <BarcodeField id=”value” >
bar code field information
</BarcodeField>
id The identifier (name) of the bar code field. Any applications using LNT should
reference this data. Use any 32-character maximum (UNICODE) string. Do
not use the same name for two fields or an error occurs!
Example <BarcodeField id=”UPCA” >
bar code field information
</BarcodeField>
Specifies a bar code field called “UPCA” in the LNT file.
Defining the Data Tag (Required)
The Data tag specifies how many characters are expected in the field. It can also contain the
fixed bar code data.
Note: If this field is Volatile, min and max are required attributes.
We recommend setting the min and max attributes.
Valid values include: Any Unicode string less than 2K characters.
It contains the following attributes: min and max.
Syntax <Data min=”value” max=”value”>value</Data>
min Minimum number of characters in the field.
max Maximum number of characters in the field.
Example <Data min=”1” max=”12” />
Specifies the data length from 1 to 12 characters in the bar code field.
Example <Data>012345678901</Data>
Prints the fixed data 0123456789012 in the bar code field.
Defining the Volatile Tag (Required)
The Volatile tag specifies whether the field’s data is set at creation or print time. For data set
at print time, the user enters the data.
Valid values include: 0 (set at creation) or 1 (set at print time). The default is 1.
Syntax <Volatile>value</Volatile>
Example <Volatile>1</Volatile>
The data for this field is entered at print time.
Note: To create a fixed bar code on a label, set volatile to 0 and add a <Data> tag with the
fixed data for the bar code.
Example <Volatile>0</Volatile>
<Data>012345678901</Data>
Prints the fixed data 012345678901 in the specified bar code field (all required bar code
attributes are not shown).