Tuesday, September 29, 2009

Magnetic Stripe Encoding

 
Start Sentinel

End Sentinel

Field
Separator

Valid
Characters
Max # Chars
Track 1 % ? ^ 0-9, A-Z, Punct. (ASCII 32-95) 78
Track 2 ; ? = 0-9, ;, =, ? (ASCII 48-63) 39
Track 3 ; ? = 0-9, ;, =, ? (ASCII 48-63) 106

Examples:

Sending data to Track 1
~1%TRACK DATA HERE^623-22-6512?

Sending data to Track 2
~2;0123456789?

Sending data to Track 3
~3;0123456789?

No comments:

Post a Comment