Plain English

A barcode format record using Code 128 symbology. Code 128 is the most versatile 1D barcode, supporting the full ASCII character set. It produces compact barcodes and is widely used in shipping and logistics.

When to use

When you need a compact, full-ASCII barcode — shipping labels, inventory, and logistics.

Syntax

REwhSSSrrrrccccDATA

Parameters

ParameterDescription
RRotation: 1 (0 deg), 2 (90 deg), 3 (180 deg), 4 (270 deg)
EBarcode type identifier for Code 128
wNarrow bar width multiplier (1-9)
hWide bar width multiplier (not used for Code 128, set to 1)
SSSBarcode height in dots (3 digits, zero-padded)
rrrrRow position in dots (4 digits, zero-padded)
ccccColumn position in dots (4 digits, zero-padded)
DATAThe data to encode (full ASCII)

Example

1E1100800200050SHIP-2026-001

Code 128 barcode at row 200, column 50, height 80 dots

Try it in the playground View all DPL commands