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

^BL — LOGMARS Barcode

Prints a LOGMARS barcode, the US Department of Defense application of Code 39.

Syntax^BLo,h,g
In Labelixa's previewDrawn in the preview

What it does

LOGMARS stands for Logistics Applications of Automated Marking and Reading Symbols. It supports print ratios from 2.0:1 to 3.0:1, and lowercase letters in the data are converted to uppercase.

The printer always calculates and adds a Mod 43 check digit. Field data is limited to the label width (or length, when rotated).

In the preview

Labelixa's preview draws this command.

Example

^XA
^FO100,75^BY3
^BLN,100,N
^FD12AB^FS
^XZ

Three-dot modules, 100 dots high, no interpretation line above.

Parameters

ParameterDescriptionValuesDefault
oorientationN · R · I · B^FW
hbarcode height in dots1–32000^BY
gprint the interpretation line above the codeN · YN

Source

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

^B3 · ^BY · ^FD

ZPL commands list and reference →

Try ZPL in the online viewer