Skip to content

^SN Serialization Data

Prints a number that increments on each label.

Fields and position · Updated 2026-10-20

Syntax

^SNv,n,z

Parameters

ParameterWhat it doesValues
vStarting value.Up to 12 digits
nIncrement or decrement.default 1
zAdd leading zeros.Y or N; default N

Example

Edit the code and the label redraws. This is the same engine as the API.

Try it

Preview

100%

Questions

What does ^SN do in ZPL?

Prints a number that increments on each label.

What is the syntax of ^SN?

^SNv,n,z

Related commands