zpl.tools
Media and sensors

~JC - Set Media Sensor Calibration

Runs a full calibration, measuring both the label length and the sensor thresholds.

~JC forces a calibration. The printer feeds media to measure the label length, and adjusts its media and ribbon sensor values to the stock now loaded. Send it after a change to a different label or ribbon. It takes no arguments, because it measures every number it sets.

Syntax

~JC

Support

Recognised, deliberately skippedparsed: none · state: none · rendered: none

Accepted and skipped, because it configures the printer rather than the label. It cannot change the rendered output, and Labelary skips it too.

This command feeds blank media to find the sensor thresholds and the label length. Every result is a printer setting, and the media carries no image. The renderer does not parse this command. It reports IGNORED_COMMAND at info severity, which does not reach X-Warnings. Labelary is also silent, so the rendered label is identical in both engines. — not pinned by a test

Labelary renders this command.

Parameters

~JC takes no arguments.

Behavior

~JC runs the moment the printer reads it, not at ^XZ.

What it calibrates depends on the media setting. Continuous stock, ^MNN, has no label break to find, so the guide calibrates the media and ribbon sensors only and leaves the length alone.

^SS is the opposite: ~JC measures the sensor values, and ^SS sets them by hand. ~JG runs the same calibration and prints a graph of the result. ^XS decides whether the printer repeats parts of it between labels.

The renderer does not parse this command. It reports IGNORED_COMMAND at info severity, which does not reach X-Warnings. Labelary is also silent, so the rendered label is identical in both engines. Unlike ~JG, ~JC renders no page, so the page count matches.

Example

A calibration ahead of a format.

~JC
^XA
^FO50,50^A0N,40,40^FDCalibrated^FS
^XZ

Open in viewer