Defining Field Setup XML Tags 3-1
DEFINING FIELD SETUP XML TAGS
This chapter provides a reference for defining the field setup XML tags, which is the label’s
layout:
♦ text and constant text fields
♦ bar code fields
♦ line, box, ellipse, and graphic fields.
Defining the Fields Container (Required)
The Fields tag is a container for all field setup XML tags (label layout) in the LNT file. There
must be one of these within the <Image> tag.
It contains the following attribute: count.
Syntax <Fields count=”value”>
field information
</Fields>
count The number of fields on the label. Use an integer from 1 to 65535.
Note: Line, Box, Ellipse, and graphic fields must be included in this total.
Example <Fields count=”4”>
field information
</Fields>
Specifies the label contains four fields.
Defining the TextField (Required)
The TextField tag specifies how the text field appears on the label.
It contains the following attribute: id.
Syntax <TextField id=”value” >
text field information
</TextField>
id The identifier (name) of the text 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 <TextField id=”Price” >
text field information
</TextField>
Specifies a text field called “Price” in the LNT file.