beautypg.com

Defining a graphicfield (required), Defining the volatile tag (required), Defining the boundingbox tag (required) – Avery Dennison Pathfinder 6057 LNT Programmer Manual using XML User Manual

Page 39: Defining a graphicfield (required) -19

background image

Defining Field Setup XML Tags 3-19

Defining a Gra phicField (Re quire d)

The GraphicField tag defines a graphic. The following graphic file types are supported: BMP,
GIF, JPG, and PNG.

It contains the following attribute: id.

Syntax

graphic field information

id

The identifier (name) of t he field. Any
applications using LNT should reference this
data. Use any 32-charact er ma ximum
(UNI CODE) string. Do no t use the same name
for t wo fields or an erro r occurs!

Example

graphic field information

Specifies a graphic field called “Logo1” in the LNT file.
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

value

Example

1

The data for this field is entered at print time.
Defining the BoundingBox Tag (Required)
The BoundingBox tag defines the area on the label where the field appears. Each field on a
label must fit inside a bounding box.

It contains the following attributes: units, x, y, height, and width.

Syntax

units

Unit of measure. Options:

Inches

Inches

MM

Millimeters

Pi xels

Pi xels (default)

x

X-Coordinate of the Origi n corner of the bounding bo x. Use an integer o r fl oat
(in selected units) that is less than the width.

y

Y-Coordinate of the Origi n corner of the bounding bo x. Use an integer o r fl oat
(in selected units) that is less than the height.

height

The height (in selected u nits) of the print area. Us e an integer or float
value that is less than the image height. Use zero t o let the printer determine
the height.

width

The width (in selected units) of the print area. Use an integer or float value
that is less than the image width. Use zero to let t he printer determine the
width.

Example

Sets the coordinates for the graphic field’s bounding box and specifies the height as 0.20
inches and the width as 0.80 inches.

This manual is related to the following products: