Skip to content
WiFiLabel

^GFA: Graphic Field (ZPL)

Prints a 1-bit image sent as ASCII hex.

Graphic field ASCII places a monochrome bitmap on the label. The counts are the binary size, the graphic size, and the bytes per row, followed by hex digits. This library's wrapper sends an uncompressed image: both sizes equal the packed bitmap length, and each source byte becomes two hex characters. The bitmap must be row-packed, one bit per dot, with the row padded to a whole byte. A short buffer is rejected instead of printing a torn image. The wrapper also sets print width and label length so a 4 by 6 inch page is not clipped by a narrower previous format.

Syntax

^GFAa,b,c,d,data

ParameterTypeRangeDefault
compressionnumber0 to 0
binary bytesnumber1 to 5000000 bytes
graphic bytesnumber1 to 5000000 bytes
bytes per rownumber1 to 2000 bytes

Examples

Related fixes

See also

Supported models

Source: Zebra documentation

Free and open source (MIT). GitHub. Made by WiFiLabel

Zebra, ZPL, and Link-OS are trademarks of Zebra Technologies. Not affiliated with Zebra Technologies.

This page uses Vercel Web Analytics. We record tool actions such as connect and calibrate. Analytics never include serial numbers, IP addresses, or label text. A label preview is sent to Labelary only while that checkbox is on.