Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
The international standard IEC 16388-08 (2018), also published as ISO/IEC 16388:2018, specifies the requirements for the PDF417 (Portable Data File 417) bar code symbology. PDF417 is a two-dimensional stacked bar code symbology capable of encoding large amounts of data in a machine-readable format. This standard, developed jointly by the International Electrotechnical Commission (IEC) and the International Organization for Standardization (ISO), defines the symbology characteristics, data encoding rules, symbol structure, dimensions, error detection and correction algorithms, and the reference decode algorithm. It is applicable to all applications that utilize PDF417, such as logistics, identification cards, transportation, and healthcare.
A PDF417 symbol is composed of rows and columns of codewords, where each codeword is a group of 17 modules representing a number from 0 to 928. The symbol consists of a start pattern, left row indicator codewords, data codewords, error correction codewords, right row indicator codewords, and a stop pattern. The number of rows can range from 3 to 90, and the number of data columns per row can range from 1 to 30, allowing a total data capacity of up to 1,108 bytes per symbol.
PDF417 supports three data compaction modes: Text (for alphanumeric characters), Byte (for binary data), and Numeric (for digits). The encoder automatically selects the most efficient mode to minimize the number of codewords. Each codeword represents a value from 0 to 928, and the data is encoded using a base-929 representation.
The standard mandates error correction codewords to ensure reliable reading even if the symbol is partially damaged or obscured. There are nine error correction levels (0 through 8), with level 0 providing minimal protection and level 8 offering maximum protection. The number of error correction codewords increases with each level, from 2 at level 0 to 512 at level 8.
| Error Correction Level | Number of Error Correction Codewords | Approximate Data Capacity (Bytes) at Maximum Symbol Size | Recommended Use Case |
|---|---|---|---|
| 0 | 2 | 1,106 | Clean printing, low damage risk |
| 1 | 4 | 1,104 | Office documents |
| 2 | 8 | 1,100 | General use |
| 3 | 16 | 1,092 | Retail, logistics |
| 4 | 32 | 1,076 | Shipping labels |
| 5 | 64 | 1,044 | ID cards |
| 6 | 128 | 980 | Healthcare, pharmaceuticals |
| 7 | 256 | 852 | High-reliability environments |
| 8 | 512 | 596 | Harsh environments, critical assets |
The standard specifies minimum quiet zone (blank margin) of at least 1X module width on all sides, where X is the narrowest bar width. For most applications, X is 0.01 inches (0.254 mm) or larger. The symbol’s minimum height is 3 rows, and minimum width is determined by the number of columns and codewords. Print quality must meet the specifications for bar code symbols defined in ISO/IEC 15416.
To implement PDF417 encoding, the data is first analyzed to select the optimal compaction mode and switch modes as needed. The data is then converted into a sequence of codewords using the base-929 conversion. Error correction codewords are generated using a Reed-Solomon algorithm over a Galois Field GF(929). Finally, the codewords are arranged into rows with row indicators, and the start/stop patterns are added.
Decoding involves scanning the symbol to locate the start and stop patterns, reading the row indicators to determine the symbol configuration, then extracting the codewords. The Reed-Solomon decoder checks and corrects errors using the error correction codewords. Corrected data codewords are then converted back to the original data using the mode switches.
Organizations adopting PDF417 should ensure that both the printing and scanning systems comply with the relevant parts of the ISO/IEC 15416 (print quality) and ISO/IEC 15415 (two-dimensional symbol quality) standards. Verification tools can measure the symbol’s quality grade (A through F). Compliance with IEC 16388-08 (2018) requires that the encoded data and the physical symbol parameters (dimensions, quiet zone, module size) adhere strictly to the standard.
Application identifiers (AIs) as defined by GS1 can be used within PDF417 to encode specific data elements like batch numbers, expiration dates, and serial numbers. The standard allows any data representation, but for interoperability, using AIs or ASC MH10 data identifiers is highly advised.