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›^B9

^B9 — UPC-E

UPC-E — compressed UPC for small packaging.

Syntax^B9o,h,f,g,e
CategoryBarcodes

In the preview

This command is supported by the preview engine. Parameters ignored in the preview: g, e.

Example

^B9N,100,Y,N,N^FD12345678^FS

Runnable example

^XA^PW609^LL406^FO120,60^BY3^B9N,120,Y,N^FD123456^FS^XZ

Open this label in the editor

Parameters

ParameterDescriptionType
orotationenumDefault: N · Options: N, R, I, B
hbarcode height in dots; taken from ^BY when omittedintRange: 1–32000
fprint the interpretation (human-readable) lineenumDefault: Y · Options: Y, N
gprint the interpretation line ABOVE the barcode; the preview always draws it belowenumDefault: N · Options: Y, N · ignored in preview
eprint the check digitenumDefault: Y · Options: Y, N · ignored in preview

The marked parameters are part of the ZPL specification and work on a real printer; the preview engine ignores them today.

Source

Zebra ZPL II Programming Guide (P1134473-11EN), page 85.

^BY · ^BC · ^BE · ^BQ · ^BX · ^B3 · ^B7 · ^B1 · ^B2 · ^B8 · ^BA · ^BI · ^BJ · ^BK · ^BM · ^BU · ^BR · ^B0 · ^BO · ^BF · ^BD

Try this command in the preview