What ^GF does
^GF places a raw bitmap image (logo, icon, signature) inline as hex or compressed data. It's how logos get onto labels without pre-downloading them. The data encodes each pixel row as 1-bit black/white.
Syntax
^GFa,b,c,d,dataParameters
| Parameter | Description | Values | Default |
|---|---|---|---|
a | Compression | A (ASCII hex), B, C | — |
b | Binary byte count | — | — |
c | Graphic field count | — | — |
d | Bytes per row | — | — |
Example
^XA
^FO50,50^GFA,120,120,10,<hex-rows>^FS
^XZZentralabel's Studio converts uploaded images to ^GF automatically.
Paste this into the free ZPL viewer to see it render, or convert it to PDF.
Related commands
See the full ZPL command reference for all 92 documented commands.
