Ultra electronic XID590ie, XID580ie, XID570ie manual Encoding String, John Doe Wood, User Data

Page 69

Prima 3 Driver Manual

6.8. Encoding String

In an encoding environment, there are many parameters that must be configured in order to the encoding to be performed correctly.

We have seen above how to set-up the hardware, a way to configure the formatting and positioning of the data with sophisticated plugins, and now there's one thing left:

The user data that actually needs to be encoded on the card.

Since this data is different for each printed card, it is placed directly on the layout.

The encoding string has a special format that can be recognized by the printer driver. There are several keywords that are reserved and required by the driver to determine what needs to be done.

The basic syntax of an encoding string is:

{pi="<pluginname>" [ft="<formattemplatename>"] [so="<n>"] [pre] [pid="<n>"] [[field1="abcd"] [field2="732894732984"]...] }

Attributes in square brackets [...] are optional.

Attributes in pointy brackets <...> are mandatory.

Double quotes "..." must be present in the string

Double-quotes inside encoding data must be escaped with a backslash before the character, e.g. when encoding the string

John "Doe" Wood

the attribute must look like:

{ pi=... field1="John \"Doe\" Wood" ...}

The encoding string always starts and ends with the curly brackets {...}, containing the encoding information for one encoding. There may be multiple encoding strings on the layout, as described in 6.6.

User Data

The "field1" and "field2" attributes contain the user data that will be encoded and must be named according to the plugin and the used format template. There is no fixed naming convention, so field1 may be Firstname or EmployeeNo or anything else except the reserved keywords (see table below for a description).

The number of user data attributes depends on the plugin and the template format that is used for the encoding string.

Since the encoding string is fixed in the layout, it is the responsibility of the application to replace the variable user data on runtime, when printing the layout.

Many card managements and even other standard applications allow the replacement of placeholders when a job is sent to the printer.

Since almost every application handles variable data in a different way, it is far beyond the scope of this document to give instructions on how to do this. It is recommended to look up the

69

Image 69
Contents Prima Technical Support Prima 3 Driver ManualTable of contents Printing and encoding over network Legal and Copyright Information Printer Driver Installation Prima 3 Driver Manual Prima 3 Driver Manual Prima 3 Driver Manual Prima 3 Driver Manual Prima 3 Driver Manual Click Continue Anyway Choose Install the software automatically and click NextPrima 3 Driver Manual Advanced Printer Configuration Prima 3 Driver Manual Prima 3 Driver Manual Yellow Magenta Cyan Carbon K I n t d i r e c t i o n Introduction into driver and print technologySet-up for Control of Printing / Encoding Layout / Setup OrientationSet-up for Layout Orientation K/PO Panel Introduction Default SettingsSelection of text objects to be printed on K-plane Selection of black & white images to print on K-plane Plane optionsDefinition of special colors for printing on K-plane Prima 3 Driver Manual Definition of areas for printing on K-plane Prima 3 Driver Manual Preview of defined sample K-Panel areas Measurement changes Prima 3 Driver Manual PO Panel Area Definition Peel Off Yellow Magenta Cyan Carbon K Peel Off PO Default SettingsPrima 3 Driver Manual Definition of areas Peel Off Preview of defined sample K-Panel areas Settings UV Panel IntroductionYellow Magenta Cyan Carbon K Ultra Violet UV Option UV Area + Offset Option Bitmap from fileOption UV from second Security Area Dithering Advanced Global Print Offset and K Plane OffsetGlobal Print Offset Plane OffsetTrack Formats SynchronizationMaterial Usage Card OutputSample of magnetic stripe Encoding Sending Track InformationSample for Windows XP Dispatcher Advanced Intelligent Printer Management AipmPrinters Material Capacity ListPrint Jobs Tools Prima 3 Driver Manual Printer Settings Administration CenterInk settings Re-transfer settingsOther settings Bend remedyPrint setting transfers General Options OptionsDisp Printer Driver Profiles and Printer Grouping DefinitionCreation of Printer Groups Sample a Sample B Deleting of Printer Groups Setting up Printing PreferencesExporting of Printer Driver Profiles Importing of Printer Driver Profiles Password LUT / Password Lookup Table ConfigurationDriver Config Advanced Chip Encoding Framework Acef Plugin architecture Plugin InstallationEncoder Position Software and Hardware Setup Plugin InfoCan Precode Multi ThreadedPort Assignment Creating the link between encoder and printer ID Fieldname Sector Key Len Filler Format Format TemplatesCopy-Button Add-ButtonEdit-Button Delete-ButtonConfiguration Global Settings and Test Application Setup Multi-printer encoding Multiple encodings on one card Printing and encoding over networkWhat is done in the precode step? What is precoding?Precoding IntroductionEncoding String John Doe WoodUser Data Prima 3 Driver Manual Precoding is done and must be present in both steps Keyword Option Format DescriptionSimple encoding string Encoding string examplesMultiple encoding strings PrecodingVisual appearance of encoding strings Known limitations Print ErrorsAppendix a Layout placement on cardOne- or two-sided layout Landscape or portrait Visible encoding features, Magnetic Stripe or Contact Chip Rule of thumb Flip axisRotation of the card Magnetic stripeContact chip Exchange the card sides Ultra Electronics Card Systems