Skip to command documentation
Device onlyprinterdevicesession scope
~HD

Head Diagnostic

~HD configures head Diagnostic. 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
~HD

This command form has no parameters.

~HD basic example

Shows the parameterless command form in a complete ZPL sample.

ZPLtilde-hd-basic-1.zpl
~HD

Primary source

Official Zebra reference

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

Open Zebra documentation