; ###################################################################################### ; 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 05 05 ; Enable Track 1 & 2 only 01 10 01 ; Set Keyboard Emulation 01 14 63 ; Set the data flags to the factory defaults 01 1A 01 ; Set Sureswipe Emulation 01 1E 7E ; Set the Pre Card String property to a '~' 01 1F 00 ; Set the Post Card String property to nothing 01 20 00 ; Set the Pre Track Char to nothing 01 21 00 ; Set the Post Track Char to nothing 01 22 09 ; Set the termination char to a tab 01 24 25 ; Set the Track 1 Start Sentinel to a '%' for ISO/ABA encoded cards 01 25 3B ; Set the Track 2 Start Sentinel to a ';' for ISO/ABA encoded cards 01 26 2B ; Set the Track 3 Start Sentinel to a '+' for ISO/ABA encoded cards 01 27 23 ; AAMVA start Sentinal # 01 28 40 ; Set the Track 2 Start Sentinel to a '@' 01 29 26 ; Set the Track 3 Start Sentinel to a '&' for 7bit encoded cards 01 2B 3F ; Set the End Sentinel to a '?' for all formats except JIS Type 2 01 2D FF ; Set the Track 1 End Sentinel to use the ES property 01 2E FF ; Set the Track 2 End Sentinal to use the ES property 01 2F FF ; Set the Track 3 End Sentinal to use the ES property 02 00 00 ; Reset the device so the new settings take effect