Skip to main content

Statistic

A statistics counter kept by the printer, such as the number of printed labels or ignored triggers. See Statistics for the available counters. Their names have the form printer.<printerID>.<name>, for example printer.NoLabel.labels.printed.

PropertyValue
Data typesUINT16, INT16, UINT32, INT32
AccessR

Reading returns the counter's total since the printer started. Statistics are not saved, and start from 0 when the printer restarts. Writing returns exception 02.

Use a 32-bit type: counts such as printed columns quickly exceed 65535. A value that does not fit the type is saturated.

If the statistic does not exist, it reads as 0.

Example​

The statistic printer.NoLabel.labels.printed at 11–12 (UINT32) in the example mapping list: reading 11–12 returns the number of labels printed since the printer started.

See also Reading production statistics.