What ^SC does
^SC configures the printer's serial port — baud rate, word length, parity, stop bits and handshaking — so it matches the host. Both ends must agree or data is garbled.
Syntax
^SCa,b,c,d,e,fParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Baud rate | 9600, 19200, 38400, 115200… | — |
b | Word length in data bits | 7,8 | — |
c | Parity | N,E,O | — |
d | Stop bits | 1,2 | — |
e | Handshake | X (XON/XOFF), D (DTR)… | — |
f | Protocol / error mode | — | — |
Example
^XA
^SC9600,8,N,1,X
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Host and printer must use identical settings.
- Save with ^JUS to keep across power cycles.
Related commands
See the full ZPL command reference for all 92 documented commands.
