I\'m working on a JavaScript project that involves reading credit cards and driver\'s licenses from a USB magnetic stripe reader in keyboard emulation mode. It turns out getting
First of all most states don't use magnetic stripe on drivers' licences, or at least that was the case in 2009: http://www.digitaldoorkeep.com/blog/tag/drivers-license-magnetic-stripe/
Finding data format for the remaining states is a matter of spending some time with google (I found this in 3 minutes: http://www.dgahouston.com/msrdata2.htm ) or actually requesting the information: it's public information.
Also read this: http://www.dgahouston.com/dlsplit1.htm - scanning licences is illegal in some states.