~JE - Disable Diagnostics
Leaves the diagnostic mode `~JD` starts and resumes interpreting ZPL.
~JE ends the diagnostic mode ~JD starts, and the printer parses ZPL again. It
is inert on its own: without a preceding ~JD it has nothing to switch back.
Syntax
~JESupport
Recognised as valid ZPL and not implemented yet, so it has no effect on the output.
The command is inert alone, because the renderer never enters diagnostic mode. It must land together with ~JD rather than count as ignored. ~JD alone dumps the entire tail of any format that turns diagnostics on and off, and ~JE is what closes the dump and flushes its page (measured 2026-08-22). No milestone covers this yet. — not pinned by a test
Labelary renders this command.
Parameters
~JE takes no arguments.
Behavior
The pair bracket a region of the stream: the printer prints everything between
~JD and ~JE as a byte dump, and treats everything after ~JE as a format
again. Measured against Labelary on 2026-07-30, ~JD label ~JE label returns
two pages: the first a hex dump of the bracketed bytes, the second the second
label rendered normally.
The renderer returns two pages for that stream, so the page count agrees. The
first page differs, because the renderer never enters diagnostic mode and renders
it as a label. That is a gap in ~JD rather than in this command, but the two must
land together. ~JD alone dumps the whole tail of any format that switches
diagnostics back off.
Example
Diagnostics bracketed around one label, with a second label after them:
~JD
^XA
^FO50,50^A0N,40,40^FDhi^FS
^XZ
~JE
^XA
^FO50,50^A0N,40,40^FDback^FS
^XZ
Related commands
~JDEnable Communications DiagnosticsSwitches the printer into diagnostic mode: it prints received bytes as a hex dump and does not interpret them.