Graphics Commands
^GF - Graphic Field
Downloads and prints graphic/raster image
^GF - Graphic Field
Overview
The ^GF command embeds and prints raster graphics (bitmapped images) directly in a label format.
Syntax
^GFc,b,t,data
Parameters
- c = Compression type
- A = ASCII hexadecimal
- B = Binary
- C = Compressed
- b = Bytes per row
- Width of image in bytes
- t = Total bytes
- Complete size of image data
- data = Image data (hex or binary)
Description
- Embeds image data directly in label
- Supports compression for efficiency
- Positions with ^FO
- Useful for logos and photos
Usage Notes
- Image must be pre-converted to bitmap
- Data can be ASCII hex or binary
- Compression reduces format size
- Use with ^FO for positioning
Example
^XA
^FO50,50
^GFA,100,100,ABC123...
^FS
^XZCompression Types
| Type | Encoding | Usage | Size |
|---|---|---|---|
| A | ASCII hex | Text formats | Largest |
| B | Binary | Direct data | Medium |
| C | Compressed | Efficient | Smallest |
Image Preparation
- Convert image to monochrome bitmap
- Determine width and height in bytes
- Compress if needed
- Convert to hex or binary format
Related Commands
~DG- Download Graphic^XG- Recall Graphic^FO- Field Origin