Skip to command documentation
Supportedgraphicrasterfield scope
^GS

Graphic Symbol

^GS configures graphic Symbol. It applies to the current field and can change pixels in the rendered label.

Syntax
^GSo,h,w
o

Field orientation

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

Default
N or last ^FW value
Required
No
Documented valuesNRIB

o variations

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

Side-by-side comparison3 variations

o = N

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

ZPLcaret-gs-o-1.zpl
^XA
^PW640
^LL360
^FO250,70
^GSN,120,120
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = R

Uses R for field orientation while the other command values stay at representative defaults.

ZPLcaret-gs-o-2.zpl
^XA
^PW640
^LL360
^FO250,70
^GSR,120,120
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = I

Uses I for field orientation while the other command values stay at representative defaults.

ZPLcaret-gs-o-3.zpl
^XA
^PW640
^LL360
^FO250,70
^GSI,120,120
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h

Character height proportional to width (in dots)

Sets character height proportional to width (in dots). It can be omitted when the documented default is suitable.

Default
last ^CF value
Range
0–32000
Required
No
Documented values30032000

h variations

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

Side-by-side comparison3 variations

h = 60

Uses 60 for character height proportional to width (in dots) while the other command values stay at representative defaults.

ZPLcaret-gs-h-1.zpl
^XA
^PW640
^LL360
^FO250,70
^GSN,60,120
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 120

Uses 120 for character height proportional to width (in dots) while the other command values stay at representative defaults.

ZPLcaret-gs-h-2.zpl
^XA
^PW640
^LL360
^FO250,70
^GSN,120,120
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 180

Uses 180 for character height proportional to width (in dots) while the other command values stay at representative defaults.

ZPLcaret-gs-h-3.zpl
^XA
^PW640
^LL360
^FO250,70
^GSN,180,120
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
w

Character width proportional to height (in dots)

Sets character width proportional to height (in dots). It can be omitted when the documented default is suitable.

Default
last ^CF value
Range
0–32000
Required
No
Documented values30032000

w variations

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

Side-by-side comparison3 variations

w = 60

Uses 60 for character width proportional to height (in dots) while the other command values stay at representative defaults.

ZPLcaret-gs-w-1.zpl
^XA
^PW640
^LL360
^FO250,70
^GSN,120,60
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

w = 120

Uses 120 for character width proportional to height (in dots) while the other command values stay at representative defaults.

ZPLcaret-gs-w-2.zpl
^XA
^PW640
^LL360
^FO250,70
^GSN,120,120
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

w = 180

Uses 180 for character width proportional to height (in dots) while the other command values stay at representative defaults.

ZPLcaret-gs-w-3.zpl
^XA
^PW640
^LL360
^FO250,70
^GSN,120,180
^FDA^FS
^FO28,318^A0N,22,22^FDCaret GS 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.