Why PDF417 is wide and stacked
Unlike square matrix codes, PDF417 (Portable Data File) stacks 3 to 90 horizontal rows between distinctive vertical start and stop bar clusters. Because each row encodes 1 to 30 data codewords, handheld linear laser guns and fixed conveyor imagers can read the symbol smoothly without needing a full square camera field.
PDF417 landscape bars compared side by side with Data Matrix and Aztec Code.Choosing rows, columns & aspect ratio
| Workflow | Layout consideration | Validation check |
|---|---|---|
| Shipping & FedEx/freight labels | Keep aspect ratio near 3:1; avoid crushing row height below 3× module width | Test on the target warehouse or dock handheld gun |
| Document / AAMVA prototypes | Encode required ANSI control/line-feed delimiters deliberately | Verify UTF-8 vs ASCII newlines match your parser |
| Dense text manifests | Lower data columns force taller stacks; more columns widen the strip | Leave Rows & Columns blank first for automatic layout |
Practical printing rules
- Never squash height independently: shrinking vertical row height in Illustrator below 2–3× the narrow bar width makes hand scanners fail between adjacent rows.
- Keep left & right quiet zones: PDF417 readers calibrate on blank margins outside the start/stop bars—keep the Margin slider at
2modules or higher. - For public phone scanning, switch to QR: most native phone cameras ignore PDF417 in favor of standard QR codes.
Related 2D & 1D tools
Data Matrix generator
ECC 200 compact square or strip marks down to 10×10 modules.
Data MatrixAztec barcode generator
Bullseye-finder ticket codes with zero required outer margin.
AztecCODE 128 barcode generator
Compact 1D labels for warehouse SKUs and numeric shipping IDs.
CODE 128ITF-14 carton barcode
14-digit GTIN-14 master shipping carton barcodes.
ITF-14