Ever wonder what's in that barcode on the back of your driver's license?
I just got a new toy that I'm playing around with, and I'd like to incorporate A5 to allow me to use it for something useful. It's a Handheld 2D Barcode Scanner, and I want to use it to scan the barcode on the back of a driver's license, then populate forms with the resulting data. I'm using a special "sample" Maryland driver's license for testing, but it conforms to the AAMVA standards for universal license data coding. (In other words, it should pretty much work the same way on a license from any state using the AAMVA format.)
So what's in the that funny looking barcode? Well when scanned into a simple wordpad, the result of this particular license looks like this:
@AAMVA6360030101DL00290197DLDAQD-123-456-789-000DAADOE,JOHN,MICHAEL,JRDAG26 MAIN STDAIVILLAGE PARKDAJMDDAK20912 DARC DAS DAT DAU600DAW167DBA20110124DBB19820124DBC1DBD20051126DBHN
And here is how the data breaks down, and how they separate the data fields:
@AAMVA6360030101DL00290197
DL (Means "Driver's License" as opposed to a non-driver ID card)
DAQ
D-123-456-789-000 (Driver's License Number)
DAA
DOE (Last Name)
JOHN (First Name)
MICHAEL (Middle Name)
JR (Suffix)
DAG
26 MAIN ST (Address)
DAI
VILLAGE PARK (City)
DAJ
MD (State)
DAK
20912 (Zip)
DAR
C (License Class)
DAS
DAT
DAU
600 (Height)
DAW
167 (Weight)
DBA
20110124 (Expiration Date)
DBB
19820124 (DOB)
DBC
1 (Sex 1=M, 2=F)
DBD
20051126 (Issue Date)
DBH
N (Organ Donor Y/N?)
So now that I know all this, I'm looking for a simple (if possible) way to scan it to a field on a web page, then upon clicking submit, having the data parsed correctly into separate fields for use on that particular web form.
Has anyone worked with anything like this, or have any ideas on how to set it up? I've played around a little bit with using an "operation" to break apart the fields, but since the delimiters change with every field, it didn't work too well, plus operations are a desktop function, and I'm looking to do this on the web.
I just got a new toy that I'm playing around with, and I'd like to incorporate A5 to allow me to use it for something useful. It's a Handheld 2D Barcode Scanner, and I want to use it to scan the barcode on the back of a driver's license, then populate forms with the resulting data. I'm using a special "sample" Maryland driver's license for testing, but it conforms to the AAMVA standards for universal license data coding. (In other words, it should pretty much work the same way on a license from any state using the AAMVA format.)
So what's in the that funny looking barcode? Well when scanned into a simple wordpad, the result of this particular license looks like this:
@AAMVA6360030101DL00290197DLDAQD-123-456-789-000DAADOE,JOHN,MICHAEL,JRDAG26 MAIN STDAIVILLAGE PARKDAJMDDAK20912 DARC DAS DAT DAU600DAW167DBA20110124DBB19820124DBC1DBD20051126DBHN
And here is how the data breaks down, and how they separate the data fields:
@AAMVA6360030101DL00290197
DL (Means "Driver's License" as opposed to a non-driver ID card)
DAQ
D-123-456-789-000 (Driver's License Number)
DAA
DOE (Last Name)
JOHN (First Name)
MICHAEL (Middle Name)
JR (Suffix)
DAG
26 MAIN ST (Address)
DAI
VILLAGE PARK (City)
DAJ
MD (State)
DAK
20912 (Zip)
DAR
C (License Class)
DAS
DAT
DAU
600 (Height)
DAW
167 (Weight)
DBA
20110124 (Expiration Date)
DBB
19820124 (DOB)
DBC
1 (Sex 1=M, 2=F)
DBD
20051126 (Issue Date)
DBH
N (Organ Donor Y/N?)
So now that I know all this, I'm looking for a simple (if possible) way to scan it to a field on a web page, then upon clicking submit, having the data parsed correctly into separate fields for use on that particular web form.
Has anyone worked with anything like this, or have any ideas on how to set it up? I've played around a little bit with using an "operation" to break apart the fields, but since the delimiters change with every field, it didn't work too well, plus operations are a desktop function, and I'm looking to do this on the web.
Comment