^BL LOGMARS
LOGMARS barcode, the US military's Code 39 with a mandatory check digit.
^BL prints a LOGMARS barcode, the US military's Code 39 variant, which always adds a mod-43 check digit; ^BLN,100,N draws it 100 dots high with the text below.
Barcodes · Updated 2026-10-20
Syntax
^BLo,h,g
Parameters
| Parameter | What it does | Values |
|---|---|---|
o | Rotation. | N, R, I, B |
h | Bar height, in dots. | default: ^BY's |
g | Put that line above the code. | Y or N; default N |
Common mistakes
- LOGMARS always adds the mod-43 check digit and always prints the text line below unless g = Y.
Example
Edit the code and the label redraws. This is the same engine as the API.
Your file is downloading.
Free, with no daily limit. A free account also saves your designs and gives you an API key.

Questions
What does ^BL do in ZPL?
^BL prints a LOGMARS barcode, the US military's Code 39 variant, which always adds a mod-43 check digit; ^BLN,100,N draws it 100 dots high with the text below.
What is the syntax of ^BL?
^BLo,h,g
What should I watch out for with ^BL?
LOGMARS always adds the mod-43 check digit and always prints the text line below unless g = Y.