Skip to command documentation
Device onlyprinterdevicesession scope
^JH

Early Warning Settings

^JH configures early Warning Settings. 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
^JHa,b,c,d,e,f,g,h,i,j
a

Early warning media or supplies warning

Sets early warning media or supplies warning. It can be omitted when the documented default is suitable.

Default
D
Required
No
Documented valuesDE

a variations

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

Side-by-side comparison2 variations

a = E

Uses E for early warning media or supplies warning while the other command values stay at representative defaults.

ZPLcaret-jh-a-1.zpl
^JHE,900,N,1,N,D,1,N,1000000,N

a = D

Uses D for early warning media or supplies warning while the other command values stay at representative defaults.

ZPLcaret-jh-a-2.zpl
^JHD,900,N,1,N,D,1,N,1000000,N
b

Labels per roll

Sets labels per roll. It can be omitted when the documented default is suitable.

Default
900
Range
100–9999
Required
No
Documented values9001009999

b variations

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

Side-by-side comparison3 variations

b = 900

Uses 900 for labels per roll while the other command values stay at representative defaults.

ZPLcaret-jh-b-1.zpl
^JHD,900,N,1,N,D,1,N,1000000,N

b = 100

Uses 100 for labels per roll while the other command values stay at representative defaults.

ZPLcaret-jh-b-2.zpl
^JHD,100,N,1,N,D,1,N,1000000,N

b = 9999

Uses 9999 for labels per roll while the other command values stay at representative defaults.

ZPLcaret-jh-b-3.zpl
^JHD,9999,N,1,N,D,1,N,1000000,N
c

Media replaced

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

Default
N
Required
No
Documented valuesNY

c variations

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

Side-by-side comparison2 variations

c = Y

Uses Y for media replaced while the other command values stay at representative defaults.

ZPLcaret-jh-c-1.zpl
^JHD,900,Y,1,N,D,1,N,1000000,N

c = N

Uses N for media replaced while the other command values stay at representative defaults.

ZPLcaret-jh-c-2.zpl
^JHD,900,N,1,N,D,1,N,1000000,N
d

Ribbon length

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

Default
1 - for 96XiIIIPlus 7 - for all other printers
Required
No
Documented values1N023456710111213141516

d variations

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

Side-by-side comparison3 variations

d = N

Uses N for ribbon length while the other command values stay at representative defaults.

ZPLcaret-jh-d-1.zpl
^JHD,900,N,N,N,D,1,N,1000000,N

d = 0

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

ZPLcaret-jh-d-2.zpl
^JHD,900,N,0,N,D,1,N,1000000,N

d = 16

Uses 16 for ribbon length while the other command values stay at representative defaults.

ZPLcaret-jh-d-3.zpl
^JHD,900,N,16,N,D,1,N,1000000,N
e

Ribbon replaced

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

Default
N
Required
No
Documented valuesNY

e variations

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

Side-by-side comparison2 variations

e = Y

Uses Y for ribbon replaced while the other command values stay at representative defaults.

ZPLcaret-jh-e-1.zpl
^JHD,900,N,1,Y,D,1,N,1000000,N

e = N

Uses N for ribbon replaced while the other command values stay at representative defaults.

ZPLcaret-jh-e-2.zpl
^JHD,900,N,1,N,D,1,N,1000000,N
f

Early warning maintenance

Sets early warning maintenance. It can be omitted when the documented default is suitable.

Default
D On G-Series printers, this parameter must be enabled for the ^MA driven system to work
Required
No
Documented valuesDE

f variations

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

Side-by-side comparison2 variations

f = E

Uses E for early warning maintenance while the other command values stay at representative defaults.

ZPLcaret-jh-f-1.zpl
^JHD,900,N,1,N,E,1,N,1000000,N

f = D

Uses D for early warning maintenance while the other command values stay at representative defaults.

ZPLcaret-jh-f-2.zpl
^JHD,900,N,1,N,D,1,N,1000000,N
g

Head cleaning interval

Sets head cleaning interval. It can be omitted when the documented default is suitable.

Default
1 - for 96XiIIIPlus 7 - for all other printers
Required
No
Documented values1023456789101112131415+1 more

g variations

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

Side-by-side comparison3 variations

g = 0

Uses 0 for head cleaning interval while the other command values stay at representative defaults.

ZPLcaret-jh-g-1.zpl
^JHD,900,N,1,N,D,0,N,1000000,N

g = 1

Uses 1 for head cleaning interval while the other command values stay at representative defaults.

ZPLcaret-jh-g-2.zpl
^JHD,900,N,1,N,D,1,N,1000000,N

g = 16

Uses 16 for head cleaning interval while the other command values stay at representative defaults.

ZPLcaret-jh-g-3.zpl
^JHD,900,N,1,N,D,16,N,1000000,N
h

Head clean

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

Default
N
Required
No
Documented valuesNY

h variations

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

Side-by-side comparison2 variations

h = N

Uses N for head clean while the other command values stay at representative defaults.

ZPLcaret-jh-h-1.zpl
^JHD,900,N,1,N,D,1,N,1000000,N

h = Y

Uses Y for head clean while the other command values stay at representative defaults.

ZPLcaret-jh-h-2.zpl
^JHD,900,N,1,N,D,1,Y,1000000,N
i

Head life threshold

Sets head life threshold. It can be omitted when the documented default is suitable.

Default
1000000
Required
No
Documented values1000000

i variations

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

Side-by-side comparison2 variations

i = 1000000

Uses 1000000 for head life threshold while the other command values stay at representative defaults.

ZPLcaret-jh-i-1.zpl
^JHD,900,N,1,N,D,1,N,1000000,N

i = 1000001

Uses 1000001 for head life threshold while the other command values stay at representative defaults.

ZPLcaret-jh-i-2.zpl
^JHD,900,N,1,N,D,1,N,1000001,N
j

Head replaced

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

Default
N
Required
No
Documented valuesNY

j variations

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

Side-by-side comparison2 variations

j = N

Uses N for head replaced while the other command values stay at representative defaults.

ZPLcaret-jh-j-1.zpl
^JHD,900,N,1,N,D,1,N,1000000,N

j = Y

Uses Y for head replaced while the other command values stay at representative defaults.

ZPLcaret-jh-j-2.zpl
^JHD,900,N,1,N,D,1,N,1000000,Y

Primary source

Official Zebra reference

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

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.