Control method of miniature thermal printer
The invention discloses a control method of a miniature thermal printer, and belongs to the technical field of thermal printing. The control method comprises the following steps of S1, calculating therotating speed of a motor according to requirements for parameters of a motor, parameters of a therm...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a control method of a miniature thermal printer, and belongs to the technical field of thermal printing. The control method comprises the following steps of S1, calculating therotating speed of a motor according to requirements for parameters of a motor, parameters of a thermal head, mechanical design of the printer and printing speed: controlling a micro-step drive of 2-2phases of the thermal printer motor, determining a reasonable number of segments through calculation according to specifications of the thermal printing head, determining the angle of a micro-step ofthe motor, and calculating the rotating speed of the motor at idle time; and S2, calculating a count value and a comparison value of a timer according to the requirement for the motor rotating speedcalculated in the step S1: determining the count value of the timer according to the motor rotating speed, and determining the comparison value according to the position of the motor. On a low-cost household thermal printing pro |
---|