Skip to command documentation
Device onlyprinterdevicesession scope
^HW

Host Directory List

^HW configures host Directory List. 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
^HWd:o.x,f
d

Location to retrieve object listing

Sets location to retrieve object listing. It can be omitted when the documented default is suitable.

Default
R:
Required
No
Documented valuesR:

d variations

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

Side-by-side comparison2 variations

d = R:

Uses R: for location to retrieve object listing while the other command values stay at representative defaults.

ZPLcaret-hw-d-1.zpl
^HWR::*.*,c

d = E:

Uses E: for location to retrieve object listing while the other command values stay at representative defaults.

ZPLcaret-hw-d-2.zpl
^HWE::*.*,c
o

Object name

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

Default
asterisk ( * )
Required
No
Documented values*

o variations

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

Side-by-side comparison2 variations

o = *

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

ZPLcaret-hw-o-1.zpl
^HWR::*.*,c

o = X

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

ZPLcaret-hw-o-2.zpl
^HWR::X.*,c
x

Extension

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

Default
asterisk ( * )
Required
No
Documented values*

x variations

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

Side-by-side comparison2 variations

x = *

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

ZPLcaret-hw-x-1.zpl
^HWR::*.*,c

x = X

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

ZPLcaret-hw-x-2.zpl
^HWR::*.X,c
f

Format

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

Default
d
Required
No
Documented valuescd

f variations

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

Side-by-side comparison2 variations

f = c

Uses c for format while the other command values stay at representative defaults.

ZPLcaret-hw-f-1.zpl
^HWR::*.*,c

f = d

Uses d for format while the other command values stay at representative defaults.

ZPLcaret-hw-f-2.zpl
^HWR::*.*,d

Primary source

Official Zebra reference

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

Open Zebra documentation