Elo TouchSystems Entuitive ET1725L Series User Manual page 132

17" lcd desktop touchmonitor with magnetic swipe reader
Table of Contents

Advertisement

Field Type
Literal
Non-ASCII literal
Optional choice
Optional field
Optional track
There can be more than one rule specified for a particular format template. The rules should be
placed in a single string enclosed in curly braces (i.e., '{' and '}') and delimited with commas
','. When the driver applies rules for a particular template, it sequentially attempts to apply each
rule in the order it is provided in the fmtx_rules string. For example: "{rule 1},{rule 2},{rule
3}" would cause the driver to first try to apply rule 1. If the incoming data did not match rule 1,
the driver attempts to apply rule 2 followed by rule 3 if rule 2 fails. If no rules can be applied,
the driver attempts to match the incoming data to the next template.
Example
^
\r, \n, \\, \xhh
(x|y|...)
[x]
{xy}
Section 4. Magnetic Card Data Parsing
Description
A literal is placed in the string as is and is
used to determine if a particular format
should be applied and to mark the end of a
variable-length field.
Specify an escape character or non-ASCII
character.
is converted to <CR>
\r
is converted to <LF>
\n
is converted to
\\
is converted to a character with
\xhh
ASCII value hh (always two hex
digits).
The field specifies a choice where the data
can be either a literal or a property field.
There may be any number of literals
specified but there may not be more than
1 property field, for example
(=|<country_code[3]>). If the character is
a '=', skip it; otherwise store the next
three characters into a property named
"country_code".
Specifies an optional sequence that may
or may not be present in the data. x may
be one or more literal fields, property
fields, or optional choice fields.
The data parser will not enforce that the
track be present in the data when
attempting to match the data to the
template or rule. x must be a literal field
or an optional choice field containing a
literal. y may be any sequence of fields
except for another optional track field.
\
33

Advertisement

Table of Contents
loading

Table of Contents