44 of 51 commands supported in the playground 86%

Control

Position

Text & Fonts

ESC+PSupported
Pitch Size

Sets the character spacing (pitch) for bitmap fonts. Higher values add more space between characters. This controls the dot gap between each character in the current font.

ESC+LSupported
Character Enlargement

Enlarges the current font by multiplying its width and height. The first two digits set horizontal enlargement, the second two set vertical enlargement. For example, L0202 doubles both width and height.

ESC+%Supported
Rotation

Rotates the next field. 0 = no rotation, 1 = 90 degrees clockwise, 2 = 180 degrees (upside-down), 3 = 270 degrees clockwise. Applies to text, barcodes, and 2D codes.

ESC+PSSupported
Proportional Spacing On

Enables proportional spacing — each character takes up only as much width as it needs ("i" is narrower than "m"). This gives a more natural, professional look to text.

ESC+PRSupported
Proportional Spacing Off

Disables proportional spacing and returns to fixed-width (monospaced) mode. Every character takes the same width, which is useful for aligning columns of data.

ESC+ESupported
Auto Line Feed

Sets the automatic line feed spacing in dots. When enabled, text commands automatically advance the vertical position by this amount after printing. Set to 0 to disable.

ESC+X20Supported
Font X20 (5x9 Bitmap)

Selects the tiny X20 bitmap font (5 dots wide, 9 dots tall) and prints the text that follows. This is the smallest built-in font — good for fine print and dense information.

ESC+X21Supported
Font X21 (17x17 Bitmap)

Selects the X21 bitmap font (17 dots wide, 17 dots tall) and prints the text. A small-to-medium fixed-width font, suitable for general-purpose text.

ESC+X22Supported
Font X22 (24x24 Proportional)

Selects the X22 proportional font (24 dots base) and prints the text. This is one of the most commonly used SBPL fonts — a good default for readable label text.

ESC+X23Supported
Font X23 (48x48 Proportional)

Selects the large X23 proportional font (48 dots base) and prints the text. A big, bold font for headings and prominent information.

ESC+X24Supported
Font X24 (48x48 Proportional)

Selects the X24 proportional font (48 dots base) and prints the text. Similar in size to X23, but a different typeface. Offers an alternative look for large text.

ESC+XUSupported
Font XU (Helvetica)

Selects the Helvetica-style scalable font and prints the text. This is a clean, professional sans-serif font commonly used for product labels.

ESC+XSSupported
Font XS (Universe Condensed Bold Small)

Selects the small Universe Condensed Bold font and prints the text. A condensed font that fits more characters per line.

ESC+XMSupported
Font XM (Universe Condensed Bold Medium)

Selects the medium Universe Condensed Bold font (24 dots base) and prints the text. This is the default font used by the SBPL engine when no font is explicitly selected.

ESC+XBSupported
Font XB (Universe Condensed Bold Large)

Selects the large Universe Condensed Bold font (48 dots base) and prints the text. A large, bold condensed font for headings that need to be dense but impactful.

ESC+XLSupported
Font XL (Sans Serif Large)

Selects the large Sans Serif font (48 dots base) and prints the text. A clean, large sans-serif typeface for prominent text.

ESC+USupported
Font U (5x9 Fixed)

Selects the tiny U bitmap font (5 dots wide, 9 dots tall) and prints the text. A monospaced micro font for extremely dense or technical data.

ESC+SSupported
Font S (8x15 Fixed)

Selects the S bitmap font (8 dots wide, 15 dots tall) and prints the text. A small monospaced font — readable and compact.

ESC+MSupported
Font M (13x20 Fixed)

Selects the M bitmap font (13 dots wide, 20 dots tall) and prints the text. A medium monospaced font — good for data that needs to align in columns.

ESC+WBSupported
Font WB (18x30 Fixed)

Selects the WB bitmap font (18 dots wide, 30 dots tall) and prints the text. A large monospaced font — bold and easy to read.

ESC+WLSupported
Font WL (28x52 Fixed)

Selects the WL bitmap font (28 dots wide, 52 dots tall) and prints the text. The largest built-in monospaced font — for text that absolutely must be read from a distance.

Graphics

Barcodes

2D Codes

System

RFID

Memory

Calendar

Try these commands live

The SBPL Playground lets you write SBPL and see labels render in real time — with syntax highlighting, autocomplete, and the full command reference built in.