The present invention discloses a method, device and storage medium for automatically locating the starting point of
label printing
consumables, and relates to the technical field of printers. By presetting the standard parameters of
label consumables on the printer mainboard, driving the trolley to run at a
low speed along the X-axis, using a
photoelectric sensor to detect the edge of the
label and
record the
grating value to form a set L1, the mainboard CPU calculates and matches according to the label parameters, determines the ink outlet line of the X-axis, performs Y-axis measurement through the stepping reverse distance method, records the stepping value when
spitting out the label, and generates a metric distance set L2; the present invention greatly improves the working efficiency and printing accuracy of the label printer through
automation technology, reduces manual intervention, automatically identifies the specifications of
consumables and automatically locates the printing starting point, ensures the adaptability of consumables of different specifications and the rapid calibration after the consumables are offset, and can also realize unattended continuous printing and consumable replacement
adaptation, reduce the complexity of operation, and improve production efficiency and the flexibility of printing operations.