Driver’s license swipe
Another method for looking up or creating new guests is by swiping a driver's license that conforms to AAMVA DL/ID Standards. When a swipe of a driver's license that conforms to AAMVA DL/ID Standards is performed in the Guest Lookup dialog, Sales will check for a valid driver’s license prefix defined in the Prefix line of the .INI setting, Prefix=%CO,%CA,%NM. If a valid driver’s license swipe is identified, Sales will parse out info from the swipe. The database is checked against the found first name, last name and birth date. If at least one matching guest is found, a dialog is displayed with the matching guest(s) or the option to create a new guest. If no matching guests are found or if the operator selects to create a new guest, the Guest Lookup dialog is populated with information found in the swipe (First and Last Name, Address, Birth Date, Height and Weight). A new .INI section is required in order to import info from a driver's license swipe:
[DriversLicense1]
Prefix=%CO,%CA,%NM
Regex = ([^\^]{0,13})\^?([^\^]{0,35})\^?([^\^]{0,29})\^?\?;.*?=.{4}(.{8}).*?\?.{3}(.{5}).{22}(.)(.{3})(.
{3})
Fields=address.state,address.city,CustRegex1,CustRegex2,birth_date,address.zip,gender,heig
ht,weight
CustRegex1=([^\$]*)\$?([^\$]*)
CustRegex1Fields=last_name,first_name
CustRegex2=([^\$]*)\$?([^\$]*)
CustRegex2Fields=address.address,address.address2
• Prefix - comma delimited list of swipe prefixes to check in Sales
• Regex - regular expression which contains the format of the desired data
• Fields - list of the fields which corresponds to the Regex key above
• CustRegex1 - sub field defined in Regex string above
• CustRegex1Fields - list of the fields which corresponds to CustRegex1sample