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

ParameterDescription
widthModule width in dots
heightRow height in dots
eccError correction level (0-8)
dataThe 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

Try it in the playground View all SBPL commands