Skip to command documentation
Device onlyprinterdevicesession scope
^SC

Set Serial Communications

^SC configures set Serial Communications. It applies to the printer session and subsequent formats and controls printer hardware or connectivity rather than label pixels.

ZPLr compatibility note

  • Recognized by the renderer but has no label-raster effect.

These are code examples only. This printer or session command does not produce a standalone label image.

Syntax
^SCa,b,c,d,e,f
a

Baud rate

Sets baud rate. It can be omitted when the documented default is suitable.

Default
must be specified or the parameter is ignored
Required
No
Documented values0

a variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

a = 0

Uses 0 for baud rate while the other command values stay at representative defaults.

ZPLcaret-sc-a-1.zpl
^SC0,7,N,1,X,A

a = 1

Uses 1 for baud rate while the other command values stay at representative defaults.

ZPLcaret-sc-a-2.zpl
^SC1,7,N,1,X,A
b

Word length (in data bits)

Sets word length (in data bits). It can be omitted when the documented default is suitable.

Default
must be specified
Required
No
Documented values78

b variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

b = 7

Uses 7 for word length (in data bits) while the other command values stay at representative defaults.

ZPLcaret-sc-b-1.zpl
^SC0,7,N,1,X,A

b = 8

Uses 8 for word length (in data bits) while the other command values stay at representative defaults.

ZPLcaret-sc-b-2.zpl
^SC0,8,N,1,X,A
c

Parity

Sets parity. It can be omitted when the documented default is suitable.

Default
must be specified
Required
No
Documented valuesNEO

c variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

c = N

Uses N for parity while the other command values stay at representative defaults.

ZPLcaret-sc-c-1.zpl
^SC0,7,N,1,X,A

c = E

Uses E for parity while the other command values stay at representative defaults.

ZPLcaret-sc-c-2.zpl
^SC0,7,E,1,X,A

c = O

Uses O for parity while the other command values stay at representative defaults.

ZPLcaret-sc-c-3.zpl
^SC0,7,O,1,X,A
d

Stop bits

Sets stop bits. It can be omitted when the documented default is suitable.

Default
must be specified
Required
No
Documented values12

d variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

d = 1

Uses 1 for stop bits while the other command values stay at representative defaults.

ZPLcaret-sc-d-1.zpl
^SC0,7,N,1,X,A

d = 2

Uses 2 for stop bits while the other command values stay at representative defaults.

ZPLcaret-sc-d-2.zpl
^SC0,7,N,2,X,A
e

Protocol mode

Sets protocol mode. It can be omitted when the documented default is suitable.

Default
must be specified
Required
No
Documented valuesXDRM

e variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

e = X

Uses X for protocol mode while the other command values stay at representative defaults.

ZPLcaret-sc-e-1.zpl
^SC0,7,N,1,X,A

e = D

Uses D for protocol mode while the other command values stay at representative defaults.

ZPLcaret-sc-e-2.zpl
^SC0,7,N,1,D,A

e = M

Uses M for protocol mode while the other command values stay at representative defaults.

ZPLcaret-sc-e-3.zpl
^SC0,7,N,1,M,A
f

Zebra protocol

Sets zebra protocol. It can be omitted when the documented default is suitable.

Default
must be specified
Required
No
Documented valuesANZ

f variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

f = A

Uses A for zebra protocol while the other command values stay at representative defaults.

ZPLcaret-sc-f-1.zpl
^SC0,7,N,1,X,A

f = N

Uses N for zebra protocol while the other command values stay at representative defaults.

ZPLcaret-sc-f-2.zpl
^SC0,7,N,1,X,N

f = Z

Uses Z for zebra protocol while the other command values stay at representative defaults.

ZPLcaret-sc-f-3.zpl
^SC0,7,N,1,X,Z

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation