Drivers License Swipe Data
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 credit cards working was extremely easy, as they're all in the same format. However it quickly became clear that driver's licenses are much harder, as even within a single state (CA) the format varies from one card to the next. In any case, the goal is to take the raw data from swiping a driver's license (using a magnetic stripe reader) and extract the number from it, in a way that produces the correct number for as many U.S. States as possible (all 50 would be amazing).
Ecs Gs7610 Ultra Lan Driver on this page. The Scanshell. Career Aspirations Examples For Software Development. net magnetic stripe reader extracts data from magnetic strips of personal ID cards such as driver licenses into a powerful database.
Worth mentioning is that I am not particularly concerned with validation, at least not at this point. Has anyone else already done this, and packaged it all up in a library (either free or commercial) I could use? That would be awesome. I should also note that while I'd love to see a JavaScript solution, in reality I'm open to investigating any solution, written in any language. Note that you probably still have to contact some states individually - there are some gotchas.
For example, the mag stripe encodes ID #s as numeric only - alpha characters are converted to two numeric characters (A=01, B=02, Z=26, etc). It looks like you have to discover the letter based on valid driver license formats, but Missouri at least has formats that conflict - nine digits, and one character followed by seven digits. Without knowing some constraints, it's impossible to tell which format you've just encountered on a mag stripe. – May 8 '14 at 14:25.