User guide
30 Creating Card Formats
Static Text Elements
If a text element is static, non-changing personalization, define it using these rules:
• Use any ID value other than the form “LINEn”.
• Set the attribute datacard:staticElement to “true” to signal that this text item must not be
dropped due to there being no ID match with any OpenCard data stream line data.
• Add the static data content at the end of the element.
• Include the end-of-text element (</text>) after the last static data character.
x Attribute
The x attribute defines the distance from the left edge of a card to the left edge of the first
character of the text line. Default units are in pixels (px).
y Attribute
The y attribute defines the distance from the top edge of a card to the baseline of the text line.
Default units are in pixels (px).
Font-Family Attribute
The font-family attribute selects the font for rendering this text line. To view a list of the font
families that are currently installed in the printer, select Printer Manager > Personalization Tools
> Managed Items > Font Families.
Font-Size Attribute
The font-size attribute sets the size at which the text is rendered. Default units are pixels (px),
but point size (pt) is also accepted.
At 300 dpi:
pixel size = (point size / 72) * 300
OR
pixel size = point size * 4.167