Defining Field Setup XML Tags 3-7
butter and sea salt.
Example <Font pointsizeheight="11" pointsizewidth="8">comic</Font>
Specifies Comic Sans MS font with a height of 11 points and a width of 8 points for this text
field.
Note: The Comic Sans MS font must be installed on the printer. See “
Installing Fonts” for
more information.
Example Text Field with Wordwrap
<TextField id="item">
<Volatile>0</Volatile>
<BoundingBox units="Inches" x="0.350" y="0.250" height="0" width="1.250" />
<Font pointsizeheight="9" pointsizewidth="9" wordwrap="1" >Arial</Font>
<VerticalJustification>Bottom </VerticalJustification>
<HorizontalJustification>Left</HorizontalJustification>
<Data>PRETZELS with butter and sea salt.</Data>
</TextField>
Example Text Field with MPCLSTYLE
<TextField id="item">
<Volatile>0</Volatile>
<BoundingBox units="Inches" x="0.350" y="0.250" height="0" width="1.250" />
<Font pointsizeheight="9" pointsizewidth="9" mpclstyle="1" codepage="100"
>Arial</Font>
<VerticalJustification>Bottom </VerticalJustification>
<HorizontalJustification>Left</HorizontalJustification>
<Data>~219 35</Data>
</TextField>
The data in this field prints as € 35 since ~219 is the tilde sequence for the Euro symbol.
The text field “PRETZELS with butter and
sea salt.” has word-wrapping enabled. The
dotted line represents the bounding box
with a width of 1.25 inches. Arial Bold font
is used with a height and width of 9 points.