Graphic Commands
Graphic Commands

Graphic Commands

In addition to text and bar codes, multiple types of graphics can be printed on a Zebra printer:
  • boxes and lines (^GB), circles (^GC), diagonal lines (^GD), and ellipses (^GE)
  • ZPL II label formats saved as graphics images
  • graphic images in Hexadecimal format
  • graphic symbols (^GS)
Boxes, Lines, Circles, Diagonal Lines, and Ellipses
Command
Function
^GB (Graphic Box)
The ^GB command is used to draw boxes and lines as part of a label format. Boxes and lines are used to highlight important information, divide labels into distinct areas, or to improve the appearance of the label. The same format command is used for drawing either boxes or lines.
^GC (Graphic Circle)
The ^GC command produces a circle on the printed label. The command parameters specify the diameter (width) of the circle, outline thickness, and color. Thickness extends inward from the outline.
^GD (Graphic Diagonal Line)
The ^GC command produces a circle on the printed label. The command parameters specify the diameter (width) of the circle, outline thickness, and color. Thickness extends inward from the outline.
^GE (Graphic Ellipse)
The ^GE command produces an ellipse in the label format.
^GS (Graphic Symbol)
The ^GS command enables you to generate the registered trademark, copyright symbol, and other symbols.
These label formats can also be stored as graphic images and data can be merged with them at print time. Additionally, ZPL II will permit the printing of graphic images from other sources that have been created in (or converted to) hexadecimal (HEX) format. Such graphic images can come from a variety of sources, including CAD programs, draw and paint programs, and scanned images.