User guide

SD/CD Series Card Printers OpenCard Data Format Guide 25
Defining Color for Text and Graphics
The GRAPHIC_COLOR operation defines all of the text and image elements to print using a three-
panel combination of yellow, magenta, and cyan (YMC) at 300 dpi on either side of the card. The
details of text and image elements are children of this layer, contained between
<g id="GRAPHIC_COLOR"> and its corresponding </g>.
GRAPHIC_COLOR Example
Card format
<g id="GRAPHIC_COLOR">
<g><image id="Background" datacard:staticElement="true” y="0"
x="0" height="638px" width="1013px"xlink:href="TreeDebit.jpg" />
</g>
</g>
Card result
Any items to be printed in
color are defined within the
GRAPHIC_COLOR
operation. In this example,
the background image
TreeDebit.jpg
requires color processing.
Note that the x and y
coordinates define the
background image
placement, and the image
dimensions are described in
pixels (px), scaled to the full
height and width of the
card.