Plain English

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.

When to use

When you need text or barcodes rotated — common for side labels, vertical text, or upside-down printing.

Syntax

ESC+%n

Parameters

ParameterDescription
nRotation: 0 (normal), 1 (90°), 2 (180°), 3 (270°)

Example

ESC+A
ESC+H0050
ESC+V0050
ESC+%0
ESC+X22Normal
ESC+H0300
ESC+V0050
ESC+%1
ESC+X22Rotated 90
ESC+Q1
ESC+Z

Normal text alongside 90-degree rotated text

Try it in the playground View all SBPL commands