Defining the linefield tag (required), Defining the offset1 tag (required), Defining the offset2 tag (required) – Avery Dennison Pathfinder 6057 LNT Programmer Manual using XML User Manual

Page 33: Defining the linefield tag (required) -13

Advertising
background image

Defining Field Setup XML Tags 3-13

Defining the LineField Ta g (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 t he line field. Any applica tions using LNT should
reference this data. Use any 32-character ma ximu m (UNICODE) string. Do
not use the same name for t wo 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

Pi xels

Pi xels (default)

x

An integer or float (in sel ected units) that is less than the <ImageW idth>.

y

An integer or float (in sel ected 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

Pi xels

Pi xels (default)

x

An integer or float (in sel ected units) that is less than the <ImageW idth>.

y

An integer or float (in sel ected 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.

Advertising
This manual is related to the following products: