User guide
36 Creating Card Formats
Using Bar Code-Specific Attributes
Datacard software has built-in support for the following one-dimensional bar code symbologies:
These may be called out in any GRAPHIC_MONOCHROME or GRAPHIC_COLOR personalization
operation using a text layer. Because the bar code patterns for these built-in bar codes are not
generated from a TrueType font, no TrueType font needs to be installed to the printer. However,
if human-readable characters are required, the Datacard TrueType font “DCP OCR-B.ttf” must be
installed in the printer.
The following attributes apply to the Datacard built-in bar codes. The designer is free to install
any other bar code as a standard TrueType font and use standard text layer attributes to work
with it.
datacard:barcode Attribute
Valid values are “true” and “false”. Default is “false” if the attribute is not defined.
If “true”, this attribute causes the software to interpret the “font-family” attribute value to be a
built-in bar code selection as follows. All font-family names are case sensitive and must be
exactly as specified:
• CODE39 • UPCA
• CODE128 • EAN8
• Interleaved 2 of 5 • EAN13
Bar code
symbology Font-family
CODE39 font-family=”Code39”
CODE128 font-family=”Code128”
Interleaved 2 of 5 font-family=”I2Of5”
UPCA font-family=”UPC-A”
EAN8 font-family=”EAN-8”
EAN13 font-family=”EAN-13”