Defining Field Setup XML Tags 3-13
Defining the LineField Tag (Required)
The LineField tag defines a line. Use lines to form borders and mark out original prices.
Note: The solid black print can not exceed 30 percent of any given square inch of the label.
It contains the following attribute: id.
Syntax <LineField id=”value” >
line field information
</LineField>
id The identifier (name) of the line 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 <LineField id=”Border1” >
line field information
</LineField>
Specifies a line field called “Border1” in the LNT file.
Defining the Offset1 Tag (Required)
The Offset1 tag defines the first point of a line segment.
It contains the following attributes: units, x, and y.
Syntax <Offset1 units=”value” x=”value” y=”value” />
units Unit of measure. Options:
Inches Inches
MM Millimeters
Pixels Pixels (default)
x An integer or float (in selected units) that is less than the <ImageWidth>.
y An integer or float (in selected units) that is less than the <ImageHeight>.
Example <Offset1 units=”Inches” x=”0.25” y=”0.15” />
Sets the starting point for the line on the x axis at 0.25 and the y axis at 0.15.
Defining the Offset2 Tag (Required)
The Offset2 tag defines the ending point of a line segment.
It contains the following attributes: units, x, and y.
To create horizontal lines, keep the y values the same and only change the x values.
To create vertical lines, keep the x values the same and only change the y values.
Syntax <Offset2 units=”value” x=”value” y=”value” />
units Unit of measure. Options:
Inches Inches
MM Millimeters
Pixels Pixels (default)
x An integer or float (in selected units) that is less than the <ImageWidth>.
y An integer or float (in selected units) that is less than the <ImageHeight>.
Example <Offset2 units=”Inches” x=”0.25” y=”0.75” />
Sets the ending point for the line on the x axis at 0.25 and the y axis at 0.75.