; ###################################################################################### ; This will configure a MagTek Mini USB Reader so it will work with Tofino. ; ; When all is said and done the format should be as follows: ; [P18] [Tk1 SS] [Tk1 Data] [ES] [Tk2 SS] [Tk2 Data] [ES] [Tk3 SS] [Tk3 Data] [ES] [P19] ; where: ; P18 = ~ ; Tk1 SS = % (7-bit start sentinel) ; Tk2 SS = ; (ISO/ABA 5-bit start sentinel) ; @ (7-bit start sentinel) ; DEL (0x7F) (JIS type 2 start sentinel)* ; Tk3 SS = + (ISO/ABA start sentinel) ; # (AAMVA start sentinel) ; & (7-bit start sentinel) ; ES = ? (end sentinel for all formats except JIS type 2) ; DEL (0x7F) (JIS type 2 end sentinel)* ; P19 = Tab ; ###################################################################################### AutoLength=True 01 03 95 ; Enable all three tracks 01 04 63 ; Set the data flags to the factory defaults 01 05 09 ; Set the termination char to a tab 01 06 40 ; Set the Track 2 Start Sentinel to a '@' 01 08 2B ; Set the Track 3 Start Sentinel to a '+' for ISO/ABA encoded cards 01 09 23 ; Set the Track 3 Start Sentinel to a '#' for AAMVA encoded cards 01 0A 26 ; Set the Track 3 Start Sentinel to a '&' for 7bit encoded cards 01 0B 00 ; Set the Pre Card Char to nothing 01 0C 00 ; Set the Post Card Char to nothing 01 0D 00 ; Set the Pre Track Char to nothing 01 0E 00 ; Set the Post Track Char to nothing 01 12 7E ; Set the Pre Card String property to a '~' 01 13 00 ; Set the Post Card String property to nothing 01 14 25 ; Set the Track 1 Start Sentinel to a '%' for ISO/ABA encoded cards 01 15 3B ; Set the Track 2 Start Sentinel to a ';' for ISO/ABA encoded cards 01 16 3F ; Set the End Sentinel to a '?' for all formats except JIS Type 2 01 17 FF ; Set the Track 1 End Sentinel to use the ES property 01 18 FF ; Set the Track 2 End Sentinal to use the ES property 01 19 FF ; Set the Track 3 End Sentinal to use the ES property ; The Following Command only works with devices that have post Oct 2008 firmware installed ; 01 1A 00 ; Set the Decode Enable property to non JIS Type 2 Cards (factory default) 02 00 00 ; Reset the device so the new settings take effect