Sign In
Products
ZPL ViewerBarcode GeneratorImage → ZPLZPL cheat sheetLabel DesignerTemplate Gallery
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutions
Tools
ZPL Diagnostics HubZPL DebuggerSize & DPI AnalyzerDPI ConverterBarcode fit calculatorShipping Label AnalyzerFont InspectorOrientation DebuggerCalibration AssistantPrinter Compatibility CheckerBarcode Readability CheckerPrinter Language DetectorThermal Printer Test PackZPL ToolsEPL ToolsTSPL ToolsCPCL ToolsPrinter Language ConverterAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›ZPL Command Matrix›^BZ

^BZ — POSTAL Barcode

Prints US postal barcodes — POSTNET, PLANET or the USPS Intelligent Mail barcode — chosen with the t parameter.

Syntax^BZo,h,f,g,t
In Labelixa's previewDrawn in the preview

What it does

POSTAL codes automate mail handling with a series of tall and short bars that represent digits. ^BZ supports print ratios from 2.0:1 to 3.0:1; field data is limited by the label width (or length, when rotated) and by the barcode specification.

In the preview

Labelixa's preview draws this command.

Example

^XA
^FO100,100^BY3
^BZN,40,Y,N,0
^FD12345^FS
^XZ

A POSTNET code for a five-digit ZIP, 40 dots high, interpretation line below.

Parameters

ParameterDescriptionValuesDefault
oorientationN · R · I · B^FW
hbarcode height in dots1–32000^BY
fprint the interpretation lineN · YN
gprint the interpretation line above the codeN · YN
tcode type: 0 POSTNET, 1 PLANET, 2 reserved, 3 USPS Intelligent Mail0 · 1 · 2 · 30

Source

Zebra ZPL II Programming Guide (P1134473-11EN Rev A), page 150. Zebra guide page →

^B5 · ^BY · ^FD

ZPL commands list and reference →

Try ZPL in the online viewer