Aamva Driver License Format

Jan 1, 2020 - pdf417 barcode generator for drivers license. The AAMVA defines the standard for driver license. Inclusion of these numbers is required by the AAMVA driver license. The new Florida driver license and ID card allows for the identification. CLASS E UNDER 21 DRIVER LICENSE (vertical format) Optically Variable Ghost (OVG) with UV.

Driver License's Format Recommended by (AAMVA)

Track1 Format:

Field LetterElement/DefinitionSize
A

Start Sentinel

This Character must bed used at the beginning of the track.

1
B

State of Province (addressee)

(Mailing or Residential code)this field will use the ANSI D-20 standard

2
C City

This field should be truncated with a field separator ^ if less than 13 characters long. If a field separator is used, the 'NAME' field follows immediately.

EXAMPLE: Bear^

13
D

Name

This field should be truncated with a field separator ^ if less than 35 characters long. If a field separator is used. The 'ADDRESS' field follows immediately. The $ symbol is to be used as a delimiter between names.

EXAMPLE: Roe$Chery1$A^

EXAMPLE using 'City and Name'

Bear^Roe$Chery1$A^

at this point a total of 19 bytes have been used, allowing the remainder to be used for the address.

35

E

Address

This field has a minimum length of 29 which can be exceeded when utilizing the space from either the city and/or name field. The $ symbol can be used a as delimiter of multiple address lines.

EXAMPLE: Using the City, Address

Combination: Bear^Roe$Chery1$A^123 Something St^

29
F

End Sentinel

This character must be the next to the last character of the track.

1

G

LRC

This character must be used at the end of the track.

1

Track2 Format:

Field LetterElement/DefinitionSize
A

Start Sentinel

This character must be used at the beginning of the track.

1
B

ANSI User Code

This field is assigned by ANSI for the utilization of Track2

1
C

ANSI User ID

This field is the assigned identification number from ISO (International Standards Organization).

5
D

Jurisdiction ID/DL Number

This field is used to represent the ID/DL number assigned by each jurisdiction. If less than 13 bytes are used the field is truncated by a field separator character. If 13 bytes are used the field separator character MUST appear in the 14th position. Overflow can be accommodated in field letter g.

14
E

Expiration Date

This field will be represented in the following format YYMM.

4
F

Birthdate

This field will be represented in the ANSI D-20 Standard YYYYMMDD

8
G

Remainder of Jurisdictional ID/DL

This field is used to handle the overflow from the jurisdiction ID/DL field.

5
H

End Sentinel

This character must be the next to the last character of the track.

1
I

LRC

This character must be used at the end of the track.

1
Aamva Driver License FormatAamva Driver License Format

Track3 Format:

Field LetterElement/DefinitionSize
A

Start Sentinel

This character must be used at the beginning of the track.

1
B

Template Version#

1 byte table, value 01-63, this field will be used to store the magnetic stripe version being used. It will be necessary to register the use with AAMVA.

1
C

Security Version #.

1 byte table, value 01-63, this field will be used to store the magnetic stripe security version used. 00 represents security is not used.

1
D

Postal Code

This field will be used to store an 11 position Zip Code or the Canadian postal code. 11 Alphanumeric digits will soon be required to meet postal standards. Left justified with spaces filled. Use no hyphens.

11
E

Class

This field will be alphanumeric and will represent the type of license. Use ANSI D-20 codes as modified for CDLIS.

2
F

Restrictions

This field will be alphanumeric and will use the ANSI D-20 standard.

10
G

Endorsements

This field will be alphanumeric and will use the ANSI D-20 standard.

4
H

Sex

Represent as alphanumeric

1
I

Height

Represent as numeric. See ANSI D-20

3
J

Weight

Represent as numeric. See ANSI D-20

3
K

Hair Color

Represent as alphanumeric. See ANSI D-20

3
L

Eye Color

Represent as alphanumeric. See ANSI D-20

3
MThis field can be utilized by each jurisdiction as needed, but if used it will be necessary to register the use with AAMVA 10
N

Reserved Space

This field can be utilized by each jurisdiction as needed, but if used it will be necessary to register the use with AAMVA

16
O

Error Correction

This field can be utilized by each jurisdiction, but is not a mandatory field.

6
P

Security

This field is for the use of each jurisdiction.

5
Q

End Sentinel

This character must be the next to the last character for the track.

1
R

LRC

This character must be used at the end of the track.

1


© Copyright 2000 Escan. All Rights Reserved

License is a parser/decoder for the American Association of Motor Vehicle Administrators(AAMVA) format that is used to encode the magnetic stripe found on Driver's Licenses in the US and Canada. Most data is available both in its raw and decoded form. You should refer to the latest specification at www.aamva.org for details on the field contents. Starting and ending sentinals in the track data are optional.

Load the tracks you have available, only track 1 is mandatory. Not all magnetic stripe readers can read track 3.

(1). If expiration date year is 2077, license never expires. Otherwise, this field represents the last valid date.

(2). Height is in inches or cm depending on country. Weight is in pounds or kg. Call the country method to determine country of origin: USA, MEX or CAN.

(3). This the raw hair color, e.g. BRO. For a description, call the haircolor method.

$p->loadtrack(tracknumber,string);
$p->parse_magstripe
$p->country

Attempts to determine country of origin from the ISO ID. Returns CAN, MEX or USA.

Aamva Driver License

$p->haircolor

Copyright Curt Evans, 2014. This program is free software; you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License; either version 2 of the License, or (at your option) any later version. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA b) the Perl Artistic License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

To install Parser::AAMVA::License, copy and paste the appropriate command in to your terminal.

Aamva Driver License Format Template

For more information on module installation, please visit the detailed CPAN module installation guide.

Comments are closed.