Skip to command documentation
Supportedtextrasterfield scope
^SN

Serialization Data

^SN configures serialization Data. It applies to the current field and can change pixels in the rendered label.

Syntax
^SNv,n,z
v

Starting value

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

Default
1
Required
No
Documented values1

v variations

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

Side-by-side comparison3 variations

v = 0001

Uses 0001 for starting value while the other command values stay at representative defaults.

ZPLcaret-sn-v-1.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

v = 0099

Uses 0099 for starting value while the other command values stay at representative defaults.

ZPLcaret-sn-v-2.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0099,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

v = 1200

Uses 1200 for starting value while the other command values stay at representative defaults.

ZPLcaret-sn-v-3.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN1200,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
n

Increment or decrement value

Sets increment or decrement value. It can be omitted when the documented default is suitable.

Default
1 To indicate a decrement value, precede the value with a minus (-) sign
Required
No
Documented values1

n variations

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

Side-by-side comparison3 variations

n = 1

Uses 1 for increment or decrement value while the other command values stay at representative defaults.

ZPLcaret-sn-n-1.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

n = 5

Uses 5 for increment or decrement value while the other command values stay at representative defaults.

ZPLcaret-sn-n-2.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,5,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

n = -1

Uses -1 for increment or decrement value while the other command values stay at representative defaults.

ZPLcaret-sn-n-3.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,-1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
z

Add leading zeros (if needed)

Sets add leading zeros (if needed). It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

z variations

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

Side-by-side comparison2 variations

z = N

Uses N for add leading zeros (if needed) while the other command values stay at representative defaults.

ZPLcaret-sn-z-1.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,N^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

z = Y

Uses Y for add leading zeros (if needed) while the other command values stay at representative defaults.

ZPLcaret-sn-z-2.zpl
^XA
^PW640
^LL360
^FO190,95^A0N,68,56
^SN0001,1,Y^FS
^FO28,318^A0N,22,22^FDCaret SN parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

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

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.