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
R
Rotation: 1 (0 deg), 2 (90 deg), 3 (180 deg), 4 (270 deg)
E
Barcode type identifier for Code 128
w
Narrow bar width multiplier (1-9)
h
Wide bar width multiplier (not used for Code 128, set to 1)
SSS
Barcode height in dots (3 digits, zero-padded)
rrrr
Row position in dots (4 digits, zero-padded)
cccc
Column position in dots (4 digits, zero-padded)
DATA
The data to encode (full ASCII)

Example

<STX>L
D11
1E1100800200050SHIP-2026-001
E

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

Glossary entry

Try it in the playground View all DPL commands