User guide

28 Creating Card Formats
The following example shows how text defined for magnetic stripe in the data stream merges
with the card format using these mappings. This merged card format becomes the final
instructions for sending the data to the correct track on the magnetic stripe.
Flipping the Personalization Operation with the datacard:flip Attribute
If “true” this attribute will cause the entire personalization operation design to be flipped 180
degrees. Valid values are “true” and “false”, with the default false if the attribute is not present.
This attribute does not have any effect on a MAGSTRIPE personalization operation.
<g id="GRAPHIC_MONOCHROME" datacard:flip=”true”>
. . . text and image elements go here . . .
</g>
MAGSTRIPE Example 2
OpenCard
data stream
<”%TESTING321?;=1234567890?_;=0987654321?>
Card format
<g id=”MAGSTRIPE”>
<g><text id=”ISO1” datacard:trackType=”ISO1”></text></g>
<g><text id=”ISO2” datacard:trackType=”ISO2”></text></g>
<g><text id=”ISO3” datacard:trackType=”ISO3”></text></g>
</g>
Data
merged
into card
format
<g id="MAGSTRIPE">
<g><text id="ISO1"datacard:trackType="ISO1">TESTING321</text></g>
<g><text id="ISO2"datacard:trackType="ISO2">=1234567890</text></g>
<g><text id="ISO3"datacard:trackType="ISO3">=0987654321</text></g>
</g>
Card result
datacard:flip Example
Track 1:TESTING321
Track 2: 1234567890
Track 3:0987654321