Skip to command documentation
Device onlyprinterdevicesession scope
^HG

Host Graphic

^HG configures host Graphic. It applies to the printer session and subsequent formats and controls printer hardware or connectivity rather than label pixels.

ZPLr compatibility note

  • Recognized by the renderer but has no label-raster effect.

These are code examples only. This printer or session command does not produce a standalone label image.

Syntax
^HGd:o.x
d

Object device

Sets object device. It can be omitted when the documented default is suitable.

Default
search priority
Required
No
Documented valuesREBA

d variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

d = R

Uses R for object device while the other command values stay at representative defaults.

ZPLcaret-hg-d-1.zpl
^HGR:IMAGE.GRF

d = E

Uses E for object device while the other command values stay at representative defaults.

ZPLcaret-hg-d-2.zpl
^HGE:IMAGE.GRF

d = A

Uses A for object device while the other command values stay at representative defaults.

ZPLcaret-hg-d-3.zpl
^HGA:IMAGE.GRF
o

Object name

Sets object name. It can be omitted when the documented default is suitable.

Required
No
Documented valuesIMAGE

o variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

o = IMAGE

Uses IMAGE for object name while the other command values stay at representative defaults.

ZPLcaret-hg-o-1.zpl
^HGR:IMAGE.GRF

o = EXAMPLE

Uses EXAMPLE for object name while the other command values stay at representative defaults.

ZPLcaret-hg-o-2.zpl
^HGR:EXAMPLE.GRF
x

Extension

Sets extension. It can be omitted when the documented default is suitable.

Required
No
Documented valuesGRF

x variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

x = GRF

Uses GRF for extension while the other command values stay at representative defaults.

ZPLcaret-hg-x-1.zpl
^HGR:IMAGE.GRF

x = GRF2

Uses GRF2 for extension while the other command values stay at representative defaults.

ZPLcaret-hg-x-2.zpl
^HGR:IMAGE.GRF2

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation