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
a
Barcode type selector: 1 = Code 39 (the symbology this command prints)
b
Reserved (use 0)
c
Narrow bar width in dots
dddd
Barcode height in dots (4 digits)
data
Uppercase letters, digits, and -.$/ +%

Example

ESC+A
ESC+H0100
ESC+V0050
ESC+B1020080HELLO123
ESC+Q1
ESC+Z

Code 39 barcode (type selector 1) encoding "HELLO123"

Try it in the playground View all SBPL commands