Plain English

Prints a Code 39 barcode with a 1:3 wide-to-narrow ratio. Code 39 is one of the oldest barcode standards — it encodes uppercase letters, digits, and a few special characters. The 1:3 ratio produces a more compact barcode.

When to use

When your application requires Code 39 — common in military (MIL-STD), automotive (AIAG), and legacy systems.

Syntax

ESC+Babcdddddata

Parameters

ParameterDescription
aCheck digit: 0=none, 1=include
bReserved (use 0)
cNarrow bar width in dots
ddddBarcode height in dots (4 digits)
dataUppercase letters, digits, and -.$/ +%

Example

ESC+A
ESC+H0100
ESC+V0050
ESC+B0020080HELLO123
ESC+Q1
ESC+Z

Code 39 barcode encoding "HELLO123"

Try it in the playground View all SBPL commands