Retrieve loaded labels dimensions

How can we read the label dimensions currently loaded in the printer. I can retrieve the loaded width via {}{\"ezpl\":null} but where is the label length (i.e. the length between the gaps)? In length I can only see the maximum length not the loaded length.

The printer clearly knows the label length as it can advance the roller correctly.

We have two types of labels (one long and one short) with the same width and we would like to inform the operator if the labels need to be changed.

Can anyone assist?

The command you are looking for is:

{}{"zpl.label_length":null}

 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


The documentation for zpl.label_length says:

This command defines the length of the label. This command is necessary when using continuous
media (media that is not divided into separate labels by gaps, spaces, notches, slots, or holes).

I do not want to define the length, I want to read the current length of the loaded media.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’