ESC+2D10 — PDF417
Plain English
Prints a PDF417 barcode — a stacked 2D barcode that looks like a series of small 1D barcodes on top of each other. It can hold a lot of data and is used on ID cards, boarding passes, and postage stamps.
When to use
For applications that need to encode large amounts of data in a scannable format — ID cards, transport documents, and government applications.
Syntax
ESC+2D10,params,data
Parameters
| Parameter | Description |
|---|---|
width | Module width in dots |
height | Row height in dots |
ecc | Error correction level (0-8) |
data | The data to encode |
Example
ESC+A ESC+H0050 ESC+V0050 ESC+2D10,03,10,02,00,00,0000PASSENGER:JOHN SMITH FLIGHT:QF123 ESC+Q1 ESC+Z
PDF417 barcode encoding passenger data