User guide
24 Creating Card Formats
Defining Monochrome for Text and Graphics
Use the GRAPHIC_MONOCHROME operation to define the text and image elements to print
using a monochrome “K” ribbon panel at 300 dpi on either side of the card. All formatting details
of text and image elements using monochrome are children of this layer, contained between
<g id="GRAPHIC_MONOCHROME"> and its corresponding </g>.
GRAPHIC_MONOCHROME Example
Card format
<g id="GRAPHIC_MONOCHROME">
<g><text id="NameHeader" fill="black" x="75" y="300" font-size="12pt"
font-weight="bold" font-family="DejaVu Serif"
datacard:staticElement="true">Name:</text>
</g>
<g><text id="LINE1" fill="black" x="375" y="300" font-size="12pt"
font-family="DejaVu Serif"/>
</g>
<g><text id="PlayerIdHeader" fill="black" x="75" y="400"
font-size="12pt" font-weight="bold"
font-family="DejaVu Serif"
datacard:staticElement="true">Player ID:</text>
</g>
<g><text id="LINE2" fill="black" x="375" y="400" font-size="12pt"
font-family="DejaVu Serif" datacard:format="XXXXX"/>
</g>
<g><text id="LINE3" fill="black" x="75" y="525" font-size="11pt"
font-family="DejaVu Serif"
datacard:appendData="true">Expires </text>
</g>
</g>
Card result
For this example, placing each
of these five text IDs within the
GRAPHIC_MONOCHROME
operation tells the printer to
print each of the them with
monochrome ribbon.
Note that all other details
about size, font, placement
and data stream source are
part of the text ID.
“NameHeader”
“LINE1”
“LINE2”
“LINE3”
“PlayerIdHeader”