Looking for Drivers License parsing for MC40

I have a customer who would like to use an MC40 to scan a drivers license to use the data to fill in a loyalty type application.  Looking for any suggestions on the easiest way to help a partner integrate this into their app (third party libs, maybe?).  This would need to work on US and Canadian licenses.  I know there is a spec for this, but I am hearing that it can be a bit different from state to state, and hoping somebody has already tackled this in a way that would work on an MC40.