Encoding Pdf417 Drivers License Formats

Posted on by

Keys for obtaining US Driver's license data Standard for US Driver's Licenses defines 9 different barcode standards (AAMVA versions) with over 80 different fields encoded inside a barcode. Some fields exist on all barcode standards, other exist only on some.

To standardize the API, we have structured the fields in the following sections: • • • • • • • • • • • • • • • • Determining AAMVA version • kPPAamvaVersionNumber (string value 'kPPAamvaVersionNumber') - Mandatory on all AAMVA driver's license versions. Specifies the version level of the PDF417 bar code format. Possible values are '0', '1', '2', '3', '4', '5', '6', '7', '8', and 'Compact'.

Keys existing on all standard barcode versions Mandatory values Personal data • kPPCustomerFamilyName (string value 'kPPCustomerFamilyName') - Family name of the cardholder. • Mandatory on all barcode versions, including compact encoding. • kPPCustomerFirstName (string value 'kPPCustomerFirstName') - First name of the cardholder. • Mandatory on all barcode versions, including compact encoding. • kPPDateOfBirth (string value 'kPPDateOfBirth') - Date on which the cardholder was born.

(MMDDCCYY format). • Mandatory on all barcode versions, including compact encoding. • kPPSex (string value 'kPPSex') - Gender of the cardholder. • Mandatory on all barcode versions, including compact encoding. • 1 = male, • 2 = female. • kPPEyeColor (string value 'kPPEyeColor') - Color of cardholder's eyes. • Mandatory on all barcode versions, including compact encoding.

(ANSI D-20 codes) • BLK = Black • BLU = Blue • BRO = Brown • GRY = Gray • GRN = Green • HAZ = Hazel • MAR = Maroon • PNK = Pink • DIC = Dichromatic • UNK = Unknown • kPPHeight (string value 'kPPHeight') - Height of cardholder. Possible values are either in inches or in centimeters. • Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact encoding. Optional on 01. • See also kPPHeightIn, kPPHeightCm • Inches (in): number of inches followed by ' in' or ' IN'. 6'1' = '073 in' • Centimeters (cm): number of centimeters followed by ' cm' or ' CM'. 181 centimeters = '181 cm' • kPPAddressStreet (string value 'kPPAddressStreet') - Street portion of the cardholder address.

Encoding Pdf417 Drivers License Formats

Using a cool little program I dug up on the web, and a scanner I was able to decode the barcodes on the back of my NY drivers license, and find out what information people get when they scan it. I'm pretty sure that just decoding the barcode is not illegal, but some of the other things I describe probably are, so let those be.

The place where the registered driver of a vehicle (individual or corporation) may be contacted such as a house number, street address etc. • Mandatory on all standard barcode versions. Not defined on Compact encoding, where you must use kPPFullAddress. • kPPAddressCity (string value 'kPPAddressCity') - City portion of the cardholder address.

• Mandatory on all standard barcode versions. Not defined on Compact encoding, where you must use kPPFullAddress. • kPPAddressJurisdictionCode (string value 'kPPAddressJurisdictionCode') - State portion of the cardholder address.

• Mandatory on all standard barcode versions. Not defined on Compact encoding, where you must use kPPFullAddress. • kPPAddressPostalCode (string value 'kPPAddressPostalCode') - Postal code portion of the cardholder address in the U.S. If the trailing portion of the postal code in the U.S.

Is not known, zeros will be used to fill the trailing set of numbers up to nine (9) digits. • Mandatory on all standard barcode versions. Not defined on Compact encoding, where you must use kPPFullAddress.

License data • kPPDocumentIssueDate (string value 'kPPDocumentIssueDate') - Date on which the document was issued. (MMDDCCYY format). • Mandatory on all barcode versions, including compact encoding. • kPPDocumentExpirationDate (string value 'kPPDocumentExpirationDate') - Date on which the driving and identification privileges granted by the document are no longer valid.

(MMDDCCYY format). • Mandatory on all barcode versions, including compact encoding. • kPPIssuerIdentificationNumber (string value 'kPPIssuerIdentificationNumber') - This number uniquely identifies the issuing jurisdiction and can be obtained by contacting the ISO Issuing Authority (AAMVA). • Mandatory on all standard barcode formats, optional on compact encoding. • kPPJurisdictionVersionNumber (string value 'kPPJurisdictionVersionNumber') - Jurisdiction Version Number: This is a number value between '0' and '99' that specifies the jurisdiction version level of the PDF417 bar code format. • Mandatory on all barcode versions, including compact encoding.

• kPPJurisdictionVehicleClass (string value 'kPPJurisdictionVehicleClass') - Jurisdiction-specific vehicle class / group code, designating the type of vehicle the cardholder has privilege to drive. • Mandatory on all standard barcode versions. Not defined on Compact encoding, which has no compatible field. • kPPJurisdictionRestrictionCodes (string value 'kPPJurisdictionRestrictionCodes') - Jurisdiction-specific codes that represent restrictions to driving privileges (such as airbrakes, automatic transmission, daylight only, etc.). • Mandatory on all standard barcode versions. Not defined on Compact encoding, which has no compatible field.

• kPPJurisdictionEndorsementCodes (string value 'kPPJurisdictionEndorsementCodes') - Jurisdiction-specific codes that represent additional privileges granted to the cardholder beyond the vehicle class (such as transportation of passengers, hazardous materials, operation of motorcycles, etc.). • Mandatory on all standard barcode versions. Not defined on Compact encoding, which has no compatible field. • kPPCustomerIdNumber (string value 'kPPCustomerIdNumber') - The number assigned or calculated by the issuing authority.

• Mandatory on all barcode versions, including compact encoding. Optional values Personal data • kPPHairColor (string value 'kPPHairColor') - Bald, black, blonde, brown, gray, red/auburn, sandy, white, unknown. If the issuing jurisdiction wishes to abbreviate colors, the three-character codes provided in ANSI D20 must be used. • Optional on all barcode versions, including compact encoding.

• BAL = Bald • BLK = Black • BLN = Blond • BRO = Brown • GRY = Grey • RED = Red/Auburn • SDY = Sandy • WHI = White • UNK = Unknown • kPPNameSuffix (string value 'kPPNameSuffix') - Name Suffix (If jurisdiction participates in systems requiring name suffix (PDPS, CDLIS, etc.), the suffix must be collected and displayed on the DL/ID). • Optional on all barcode versions, including compact encoding. • JR (Junior) • SR (Senior) • 1ST or I (First) • 2ND or II (Second) • 3RD or III (Third) • 4TH or IV (Fourth) • 5TH or V (Fifth) • 6TH or VI (Sixth) • 7TH or VII (Seventh) • 8TH or VIII (Eighth) • 9TH or IX (Ninth). • kPPAddressStreet2 (string value 'kPPAddressStreet2') - Second line of street portion of the cardholder address.

• Optional on all standard barcode versions. Not defined on Compact encoding, where you must use kPPFullAddress.

License data • kPPIssuingJurisdiction (string value 'kPPIssuingJurisdiction') - Jurisdictions may define a subfile to contain jurisdiction-specific information. These subfiles are designated with the first character of “Z” and the second character is the first letter of the jurisdiction's name. For example, 'ZC' would be the designator for a California or Colorado jurisdiction-defined subfile; 'ZQ' would be the designator for a Quebec jurisdiction-defined subfile. In the case of a jurisdiction-defined subfile that has a first letter that could be more than one jurisdiction (e.g.

California, Colorado, Connecticut) then other data, like the kPPIssuerIdentificationNumber, kPPAddressJurisdictionCode or kPPFullAddress must be examined to determine the jurisdiction. • Optional on all barcode versions, mandatory on Compact Encoding • kPPStandardVehicleClassification (string value 'kPPStandardVehicleClassification') - Standard vehicle classification code(s) for cardholder. This data element is a placeholder for future efforts to standardize vehicle classifications. • Optional on all barcode versions, including compact encoding. • kPPStandardEndorsementCode (string value 'kPPStandardEndorsementCode') - Standard endorsement code(s) for cardholder.

This data element is a placeholder for future efforts to standardize endorsement codes. • Optional on all barcode versions, including compact encoding.

• H = Hazardous Material - This endorsement is required for the operation of any vehicle transporting hazardous materials requiring placarding, as defined by U.S. Department of Transportation regulations. • L = Motorcycles – Including Mopeds/Motorized Bicycles. • N = Tank - This endorsement is required for the operation of any vehicle transporting, as its primary cargo, any liquid or gaseous material within a tank attached to the vehicle. • O = Other Jurisdiction Specific Endorsement(s) - This code indicates one or more additional jurisdiction assigned endorsements. • P = Passenger - This endorsement is required for the operation of any vehicle used for transportation of sixteen or more occupants, including the driver.

Download Anime Magic Knight Rayearth Sub Indo Tokyo. • S = School Bus - This endorsement is required for the operation of a school bus. School bus means a CMV used to transport pre-primary, primary, or secondary school students from home to school, from school to home, or to and from school sponsored events.

School bus does not include a bus used as common carrier (49 CRF 383.5). • T = Doubles/Triples - This endorsement is required for the operation of any vehicle that would be referred to as a double or triple. • X = Combined Tank/HAZ-MAT - This endorsement may be issued to any driver who qualifies for both the N and H endorsements. • kPPStandardRestrictionCode (string value 'kPPStandardRestrictionCode') - Standard restriction code(s) for cardholder. This data element is a placeholder for future efforts to standardize restriction codes. • Optional on all standard barcode versions. Not defined on Compact encoding, which has no compatible field.

I have an Android application in which i am scanning PDF417 barcode image. After scanning the Barcode i am getting the result as below.