Zebra CPCL Programming Manual - Graphics Commands
P7-8
Mobile Printer CPCLProgramming Manual
GRAPHICS Commands
Bit-mapped graphics can be printed by using graphics
commands. ASCII hex (hexadecimal) is used for ex-
panded graphics data (see example). Data size can be
reduced to one-half by utilizing the COMPRESSED-
GRAPHICS commands with the equivalent binary
character(s) of the hex data.
Format:
{command} {width} {height} {x} {y} {data}
where:
{command}:
Choose from the following:
EXPANDED-GRAPHICS
Prints expanded
(or EG)
graphics horizontally.
VEXPANDED-GRAPHICS
Prints expanded
(or VEG)
graphics vertically.
COMPRESSED-GRAPHICS
Prints compressed
(or CG)
graphics horizontally.
VCOMPRESSED-GRAPHICS Prints compressed
(or VCG)
graphics vertically.
{width}:
Byte-width of image.
{height}:
Dot-height of image.
{x}:
Horizontal starting position.
{y}:
Vertical starting position.
{data}:
Graphics data.