Skip to command documentation
Partialtextrasterfield scope
^SF

Serialization Field (with a Standard ^FD String)

^SF configures serialization Field (with a Standard ^FD String). It applies to the current field and can change pixels in the rendered label.

ZPLr compatibility note

  • Serialization is Unicode-code-point based; newer printer-firmware combining-cluster and control/bidirectional-character behavior is not modeled.
Syntax
^SFa,b
a

Mask string

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

Required
No
Documented valuestext

a variations

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

Side-by-side comparison2 variations

a = text

Uses text for mask string while the other command values stay at representative defaults.

ZPLcaret-sf-a-1.zpl
^XA
^PW640
^LL360
^FO48,75
^SFtext,text
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret SF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

a = text2

Uses text2 for mask string while the other command values stay at representative defaults.

ZPLcaret-sf-a-2.zpl
^XA
^PW640
^LL360
^FO48,75
^SFtext2,text
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret SF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
b

Increment string

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

Required
No
Documented valuestext

b variations

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

Side-by-side comparison2 variations

b = text

Uses text for increment string while the other command values stay at representative defaults.

ZPLcaret-sf-b-1.zpl
^XA
^PW640
^LL360
^FO48,75
^SFtext,text
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret SF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

b = text2

Uses text2 for increment string while the other command values stay at representative defaults.

ZPLcaret-sf-b-2.zpl
^XA
^PW640
^LL360
^FO48,75
^SFtext,text2
^FDThe quick brown fox wraps across the label.^FS
^FO28,318^A0N,22,22^FDCaret SF 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