User guide

SD/CD Series Card Printers OpenCard Data Format Guide 19
XML Header — The first line of an OpenCard card format must be a standard XML declaration.
The header must also include the SVG declaration shown, with the beginning <svg> and its
corresponding </svg> at the end of the card format. An XML header also includes the card
dimensions, which correspond to the number of pixels (px) when printing at 300 dpi (width =
3.375” x 300 = 1013 px; height = 2.125” x 300 = 638 px). This is the only resolution supported.
Card Side Layer — Identifies on which side of the card the personalization occurs.
datacard:translations (not shown) — Applied at the same level as a card side layer,
datacard:translations are instructions to apply translations to the data stream.
Personalization Operation —Defines monochrome or color graphics, and instructions for
magnetic stripe and topcoat.
datacard:flip (not shown) — Applied at the same level as the personalization operation,
datacard:flip flips the card to prepare it for personalization.
Image and Text ID Layers — Provide the appearance and placement details for images and text.
Naming a Card Format in the Data Stream
The @G command in the OpenCard data stream defines which card format (or Legacy SP/CP
Series card layout ) to use to print the card.
If an @G command is in the data stream, then the printer uses the card format. If the named
card format is not loaded on the printer, then the card is rejected and does not print.
If no @G command exists in the data stream, then the printer software uses the card format
named Default. If Default doesn’t exist, the card is rejected and the request does not print.
Naming Card Stock in the Data Stream
The @C command in the OpenCard data stream defines which card stock to use. A card stock
definition is required when setting up the LCD panel to prompt the user to insert a card in the
exception slot of the input hopper. Prompts from the LCD panel are shown only with manual
card insertion.
If an @C command is in the data stream, then the printer uses the card stock requested.
If the card stock is not defined on the printer, then the card will use the card stock defined in
Printer Manager as Default. If Default doesn’t exist, the card is rejected and the request does
not print.