Default formats – Elo TouchSystems 1525L User Manual

Page 124

Advertising
background image

Section 4. Magnetic Card Data Parsing


121

DEFAULT FORMATS

The MTD drivers will be assigned parameters with default formats for parsing magnetic stripe
data. The formats will be placed in the INF file for the driver and written to the registry when
the driver is installed. Some examples are shown below; more are included with the drivers. In
these examples, spaces are inserted between fields for readability; they should not be included in
the actual rules.

fmt1_name "ISO59"
fmt1_template"%B<*>^<*>^<*>?;59<*>=<*>?"
fmt1_rules "{%B<*>^<*[3]><LastName>/<FirstName>\x20<MidName>

^<*[7]><DiscData1>?

;<PAN[13..19]>=<*[3]><ExpDate[4]><SrvCode[3]><DiscData2>?},

{%B<*>^<*[3]><LastName>/<FirstName>^<*[7]><DiscData1>?
;<PAN[13..19]>=<*[3]><ExpDate[4]><SrvCode[3]><DiscData2>?}"


fmt2_name "BankCardA"
fmt2_template"%A<*>^<*>^<*>?;<*>=<*>?"
fmt2_rules "{%A<LastName>/<FirstName>\x20<MidName>^<*>^<*[7]><DiscData1>?

;<PAN[13..19]>=<ExpDate[4]><SrvCode[3]><DiscData2>?},

{%A<LastName>/<FirstName>^<*>^<*[7]><DiscData1>?
;<PAN[13..19]>=<ExpDate[4]><SrvCode[3]><DiscData2>?}"

fmt3_name "BankCard"
fmt3_template"%B<*>^<*>^<*>?;<*>=<*>?"
fmt3_rules "{%B<*>^<LastName>/<FirstName>\x20<MidName>.<Title>

^<*[7]><DiscData1>?

;<PAN[13..19]>=<ExpDate[4]><SrvCode[3]><DiscData2>?},
{%B<*>^<LastName>/<FirstName>.<Title>^<*[7]><DiscData1>?
;<PAN[13..19]>=<ExpDate[4]><SrvCode[3]><DiscData2>?}"

fmt4_name "CADL"
fmt4_template"%(C|S|D|I|R)<*>?;600646<*>?{(#|!)<*>?}"
fmt4_rules "{%<*[1]><FirstName>\x20<MidName>\x20<LastName>[\x20]<*:\x20[0..57]>

<Adr[29]><City[13]>?

;<*[6]><DLID[9]><*>=<ExpDate>=<DateOfBirth[8]>?
{(#|!)<*[8]><State[2]><ZIP[9]><Sex[1]><Hair[3]><Eye[3]><Hgt[3]><Wgt[3]>

<*>?}}"

Advertising