~JL - Set Label Length
Makes the printer feed media to measure the label length for itself.
~JL asks the printer to measure the label length. The printer feeds media past the
media sensor until it sees the pattern repeat. The command takes no arguments: the
answer comes from the stock, not from the format. One or more blank labels come out
while the printer measures.
Syntax
~JLSupport
Accepted and skipped, because it configures the printer rather than the label. It cannot change the rendered output, and Labelary skips it too.
The printer measures the length as it feeds blank media past the sensor, and draws nothing. The page size comes from the dimensions in the API request, so a measurement has nothing to set here. 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
~JL takes no arguments.
Behavior
~JL acts as soon as the printer reads it rather than at ^XZ. Send it on its own
or ahead of a format.
~JL is the narrow member of a family:
~JLmeasures the length only.~JCalso adjusts the media and ribbon sensor readings.~JGdoes what~JCdoes, and prints the resulting profile.
^MF can request the same measurement at power-up or head-close, and ^XS decides
whether the printer re-measures between labels.
No media moves here, and the page size comes from the dimensions in the API request
rather than from a measured length. 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.
Example
A length measurement requested before the format that follows it.
~JL
^XA
^FO50,50^A0N,40,40^FDMeasured length^FS
^XZ
Related commands
~JCSet Media Sensor CalibrationThis command runs a full calibration of both the label length and the sensor thresholds.^LLLabel LengthSets the label length, for continuous media.^MLMaximum Label LengthTells the printer how far to look for the next label gap.^XSSet Dynamic CalibrationThis command enables or disables the automatic recalibration between labels.