tsplCalibrate static method
Measures the gap / label length with the sensor (feeds a few labels). Run after loading a new roll.
Implementation
static List<int> tsplCalibrate({LabelMedia media = LabelMedia.gap}) =>
latin1.encode(
media == LabelMedia.blackMark ? 'BLINEDETECT\r\n' : 'GAPDETECT\r\n',
);