Sign In
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutionsAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›ZPL Command Matrix›^B8

^B8 — EAN-8

EAN-8 — short retail code for small packaging.

Syntax^B8o,h,f,g
CategoryBarcodes

In the preview

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

Example

^B8N,100,Y,N^FD12345678^FS

Runnable example

^XA^PW609^LL406^FO120,60^BY3^B8N,120,Y,N^FD1234567^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

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 83.

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

Try this command in the preview