Skip to command documentation
Device onlyprinterdevicesession scope
^HV

Host Verification

^HV configures host Verification. 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
^HV#,n,h,t,a
#

Field number specified with another command

Sets field number specified with another command. It can be omitted when the documented default is suitable.

Default
0
Range
0–9999
Required
No
Documented values09999

# variations

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

Side-by-side comparison2 variations

# = 0

Uses 0 for field number specified with another command while the other command values stay at representative defaults.

ZPLcaret-hv-value-1.zpl
^HV0,64,data,0,F

# = 9999

Uses 9999 for field number specified with another command while the other command values stay at representative defaults.

ZPLcaret-hv-value-2.zpl
^HV9999,64,data,0,F
n

Number of bytes to be returned

Sets number of bytes to be returned. It can be omitted when the documented default is suitable.

Default
64
Range
1–256
Required
No
Documented values641256

n variations

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

Side-by-side comparison3 variations

n = 64

Uses 64 for number of bytes to be returned while the other command values stay at representative defaults.

ZPLcaret-hv-n-1.zpl
^HV0,64,data,0,F

n = 1

Uses 1 for number of bytes to be returned while the other command values stay at representative defaults.

ZPLcaret-hv-n-2.zpl
^HV0,1,data,0,F

n = 256

Uses 256 for number of bytes to be returned while the other command values stay at representative defaults.

ZPLcaret-hv-n-3.zpl
^HV0,256,data,0,F
h

Header to be returned with the data

Sets header to be returned with the data. It can be omitted when the documented default is suitable.

Default
no header
Range
0–3072
Required
No
Documented valuesdata03072

h variations

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

Side-by-side comparison3 variations

h = data

Uses data for header to be returned with the data while the other command values stay at representative defaults.

ZPLcaret-hv-h-1.zpl
^HV0,64,data,0,F

h = 0

Uses 0 for header to be returned with the data while the other command values stay at representative defaults.

ZPLcaret-hv-h-2.zpl
^HV0,64,0,0,F

h = 3072

Uses 3072 for header to be returned with the data while the other command values stay at representative defaults.

ZPLcaret-hv-h-3.zpl
^HV0,64,3072,0,F
t

Termination

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

Required
No
Documented values03072

t variations

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

Side-by-side comparison2 variations

t = 0

Uses 0 for termination while the other command values stay at representative defaults.

ZPLcaret-hv-t-1.zpl
^HV0,64,data,0,F

t = 3072

Uses 3072 for termination while the other command values stay at representative defaults.

ZPLcaret-hv-t-2.zpl
^HV0,64,data,3072,F
a

Command applies to

Sets command applies to. It can be omitted when the documented default is suitable.

Default
F
Required
No
Documented valuesFL

a variations

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

Side-by-side comparison2 variations

a = F

Uses F for command applies to while the other command values stay at representative defaults.

ZPLcaret-hv-a-1.zpl
^HV0,64,data,0,F

a = L

Uses L for command applies to while the other command values stay at representative defaults.

ZPLcaret-hv-a-2.zpl
^HV0,64,data,0,L

Primary source

Official Zebra reference

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

Open Zebra documentation