Skip to command documentation
Partialgraphicrasterfield scope
^GF

Graphic Field

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

ZPLr compatibility note

  • Zebra compressed-binary (C) payloads are diagnosed but not decoded.
Syntax
^GFa,b,c,d,data
a

Compression type

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

Default
A
Required
No
Documented valuesABC

a variations

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

Side-by-side comparison2 variations

a = A

Uses A for compression type while the other command values stay at representative defaults.

ZPLcaret-gf-a-1.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,8,8,1,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

a = B

Uses B for compression type while the other command values stay at representative defaults.

ZPLcaret-gf-a-2.zpl
^XA
^PW640
^LL360
^FO70,50
^GFB,8,8,1,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
b

Binary byte count

Sets binary byte count. It can be omitted when the documented default is suitable.

Default
command is ignored if a value is not specified
Range
1–99999
Required
No
Documented values0199999

b variations

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

Side-by-side comparison2 variations

b = 0

Uses 0 for binary byte count while the other command values stay at representative defaults.

ZPLcaret-gf-b-1.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,0,8,1,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

b = 1

Uses 1 for binary byte count while the other command values stay at representative defaults.

ZPLcaret-gf-b-2.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,1,8,1,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
c

Graphic field count

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

Default
command is ignored if a value is not specified
Range
1–99999
Required
No
Documented values199999

c variations

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

Side-by-side comparison2 variations

c = 1

Uses 1 for graphic field count while the other command values stay at representative defaults.

ZPLcaret-gf-c-1.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,8,1,1,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

c = 2

Uses 2 for graphic field count while the other command values stay at representative defaults.

ZPLcaret-gf-c-2.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,8,2,1,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
d

Bytes per row

Sets bytes per row. It can be omitted when the documented default is suitable.

Default
command is ignored if a value is not specified
Range
1–99999
Required
No
Documented values0199999

d variations

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

Side-by-side comparison2 variations

d = 0

Uses 0 for bytes per row while the other command values stay at representative defaults.

ZPLcaret-gf-d-1.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,8,8,0,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

d = 1

Uses 1 for bytes per row while the other command values stay at representative defaults.

ZPLcaret-gf-d-2.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,8,8,1,FF818181818181FF^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
data

Data

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

Required
No
Documented valuesdata00

data variations

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

Side-by-side comparison2 variations

data = data

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

ZPLcaret-gf-data-1.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,8,8,1,data^FS
^FO28,318^A0N,22,22^FDCaret GF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

data = 00

Uses 00 for data while the other command values stay at representative defaults.

ZPLcaret-gf-data-2.zpl
^XA
^PW640
^LL360
^FO70,50
^GFA,8,8,1,00^FS
^FO28,318^A0N,22,22^FDCaret GF 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