Text field sample – Avery Dennison Pathfinder 6057 LNT Programmer Manual using XML User Manual
Page 67

Sample LNT Files A-3
T e xt F i el d S a mp l e
This sample contains four text fields. The application needs to call this LNT file before the
user enters data at print time.
<?
xml
version
=
"1.0"
?>
<Job>
<UseBlackMark>
1
</UseBlackMark>
<PrintSpeed fixed="1">
5.0
</PrintSpeed>
<Quantity>
1
</Quantity>
<LabelSize
units
=
"Inches"
length
=
"1.0"
width
=
"2.0"
/>
<Image
id
=
"ScanNPrint"
version
=
"1"
>
<ImageSize
units
=
"Inches"
x
=
"0.1"
y
=
"0.1"
height
=
".75"
width
=
"2"
origin
=
"TopLeft"
/>
<Fields
count
=
"4"
>
<TextField
id
=
"TYPE_TEXT"
>
<Volatile>
0
</Volatile>
<BoundingBox
units
=
"Inches"
x
=
"0.01"
y
=
"0.01"
/>
<DrawMode>
Opaque
</DrawMode>
<Font
pointsizeheight
=
"7.0"
pointsizewidth
=
"6.0"
weight
=
"800"
>
Vera Mono
</Font>
<VerticalJustification>
Bottom
</VerticalJustification>
<HorizontalJustification>
Left
</HorizontalJustification>
<Data
max
=
"4"
min
=
"0"
/>
</TextField>
<TextField
id
=
"TYPE"
>
<Volatile>
1
</Volatile>
<BoundingBox
units
=
"Inches"
x
=
"0.1"
y
=
"0.14"
/>
<DrawMode>
Opaque
</DrawMode>
<Font
pointsizeheight
=
"7.0"
pointsizewidth
=
"6.0"
weight
=
"800"
>
Arial
</Font>
<VerticalJustification>
Bottom
</VerticalJustification>
<HorizontalJustification>
Left
</HorizontalJustification>
<Data
max
=
"20"
min
=
"0"
/>
</TextField>
<TextField
id
=
"DATA_TEXT"
>
<Volatile>
0
</Volatile>
<BoundingBox
units
=
"Inches"
x
=
"0.01"
y
=
"0.3"
/>
<DrawMode>
Opaque
</DrawMode>
<Font
pointsizeheight
=
"7.0"
pointsizewidth
=
"6.0"
weight
=
"800"
>
Vera Mono
</Font>
<VerticalJustification>
Bottom
</VerticalJustification>
<HorizontalJustification>
Left
</HorizontalJustification>
<Data
max
=
"4"
min
=
"0"
/>
</TextField>
<TextField
id
=
"DATA"
>
<Volatile>
1
</Volatile>
<BoundingBox
units
=
"Inches"
x
=
"0.1"
y
=
"0.43"
/>
<DrawMode>
Opaque
</DrawMode>
<Font
pointsizeheight
=
"7.0"
pointsizewidth
=
"6.0"
weight
=
"800"
>
Arial
</Font>
<VerticalJustification>
Bottom
</VerticalJustification>
<HorizontalJustification>
Left
</HorizontalJustification>
<Data
max
=
"20"
min
=
"0"
/>
</TextField>