Search

CN-119795767-B - Thermal printing control method and micro-processing chip

CN119795767BCN 119795767 BCN119795767 BCN 119795767BCN-119795767-B

Abstract

The invention discloses a thermal printing control method and a microprocessor chip, wherein the thermal printing control method comprises the steps of responding to a printing request, dividing pixel points of a line to be printed into at least a first group of pixel points and a second group of pixel points, heating the first group of pixel points according to heating pulses of a first order, and heating the second group of pixel points according to heating pulses of a second order to finish the heating printing of the pixel points of the line to be printed. The invention solves the problems of overlarge instantaneous current, local overheating and the like caused by simultaneous heating of a plurality of pixel points in the thermal printing process.

Inventors

  • SHAN YUXIANG
  • LUO YANHUI
  • HOU JIFA
  • LIU HANLI
  • LIANG JIANCONG
  • DING HAO
  • Cen Hongming
  • He Hehui
  • JIA TIANHANG

Assignees

  • 极海微电子股份有限公司

Dates

Publication Date
20260505
Application Date
20241205

Claims (9)

  1. 1. A thermal print control method, characterized by comprising: responding to a printing request, dividing pixel points of a line to be printed into at least a first grouping pixel point and a second grouping pixel point; in the total heating time, the first grouping pixel points are heated according to heating pulses of a first order, the second grouping pixel points are heated according to heating pulses of a second order, and pixel point heating printing of a line to be printed is completed; The first group of pixel points are heated according to heating pulses of a first sequence in which the heating pulses are output in a spaced mode, and the second sequence is included in the intervals of the first sequence, and the heating pulses corresponding to the second group of pixel points are heated.
  2. 2. A thermal printing control method according to claim 1, wherein the gray value of the pixel is achieved by a plurality of heating pulses having the same pulse width.
  3. 3. A thermal print control method according to claim 1, wherein the heating printing of the pixel points includes a total heating time; the first sequence comprises continuously heating the heating pulse corresponding to the first group of pixel points when the total heating time is started; the second sequence includes that at the end of the total heating time, the heating pulse corresponding to the second grouping of pixels completes the continuous heating.
  4. 4. A thermal print control method according to claim 3, wherein the heating pulses of the pixels are represented by binary numbers including the number and order of the heating pulses of the corresponding pixels; Byte conversion is carried out on binary numbers corresponding to the first grouping pixel points, so that heating pulses are continuously heated at the beginning of the total heating time; The second sequence includes byte conversion of binary numbers corresponding to the second grouping pixels, so that the heating pulse completes continuous heating at the end of the total heating time.
  5. 5. A thermal printing control method according to claim 1, wherein the gray value of the pixel is achieved by a plurality of heating pulses having different pulse widths.
  6. 6. The method according to claim 2 or 5, wherein the first order includes heating the heating pulses corresponding to the first group of pixels at the beginning of the total heating time; the second sequence comprises heating the heating pulse corresponding to the second grouping pixel point after the heating of the first sequence is completed.
  7. 7. The thermal print control method of claim 5, wherein said The first order comprises that heating pulses with different pulse widths corresponding to the first grouping pixel points are heated at intervals in sequence according to the order from the small pulse width to the large pulse width; The second order comprises that the heating pulses with different pulse widths corresponding to the second grouping pixel points are sequentially heated at intervals according to the order from the small pulse width to the large pulse width; the first sequence of spaced heating is complementary to the second sequence of spaced heating.
  8. 8. A thermal print control method according to claim 1, wherein dividing pixels of a line to be printed into at least two groups comprises: the pixels of the line to be printed are divided into at least two groups according to the continuous pixels or the discontinuous pixels.
  9. 9. A microprocessor chip for executing the thermal print control method according to any one of claims 1 to 8.

Description

Thermal printing control method and micro-processing chip Technical Field The present invention relates to the field of image forming technologies, and in particular, to a thermal printing control method and a microprocessor chip. Background Currently, thermal printing generally contacts a thermal printing medium by heating a heating element of the thermal printing head to form an image on the thermal printing medium, and the working principle mainly depends on electric heating pulse control, and for different gray scale requirements, the image shade change is realized by controlling the heating time length or the pulse number. In the existing thermal printing, the thermal printing head needs to reach a certain temperature before a clear image can be formed on the thermal printing medium. However, the whole row of pixel points are heated at the same time, which causes instant increase of current load and easy overcurrent. In addition, when a large-area dark region needs to be printed, the continuous high current can cause rapid temperature rise, so that the problem of local overheating is caused, the printing effect is affected, and the service life of the printing head is shortened. Disclosure of Invention Aiming at the defects existing in the prior art, the invention aims to provide a thermal printing control method and a micro-processing chip, which solve the problems of overlarge instantaneous current and local overheating caused by simultaneous heating. According to a first aspect of the present invention, there is provided a thermal print control method comprising: responding to a printing request, dividing pixel points of a line to be printed into at least a first grouping pixel point and a second grouping pixel point; And the first grouping pixel points are heated according to the heating pulse of the first order, and the second grouping pixel points are heated according to the heating pulse of the second order, so that the pixel points of the line to be printed are heated and printed. In some embodiments, the gray value of the pixel is achieved by a plurality of heating pulses having the same pulse width. In some embodiments, the heating printing of the pixel dots includes a total heating time; the first sequence comprises continuously heating the heating pulse corresponding to the first group of pixel points when the total heating time is started; the second sequence includes that at the end of the total heating time, the heating pulse corresponding to the second grouping of pixels completes the continuous heating. In this embodiment, by heating the first grouping pixel points and the second grouping pixel points in different orders, the number of simultaneous heating of the pixel points in the line to be printed can be reduced, and excessive power is avoided. In some embodiments, the heating pulses of the pixel points are represented by binary numbers, the binary numbers including the number and order of the heating pulses of the corresponding pixel points; Byte conversion is carried out on binary numbers corresponding to the first grouping pixel points, so that heating pulses are continuously heated at the beginning of the total heating time; The second sequence includes byte conversion of binary numbers corresponding to the second grouping pixels, so that the heating pulse completes continuous heating at the end of the total heating time. In some embodiments, the gray value of the pixel is achieved by a plurality of heating pulses having different pulse widths. In some embodiments, the first order includes heating the heating pulse corresponding to the first group of pixels at the beginning of the total heating time; the second sequence comprises heating the heating pulse corresponding to the second grouping pixel point after the heating of the first sequence is completed. In this embodiment, the second grouping pixel points are heated after the heating pulse of the first grouping pixel points is completed, so that it can be ensured that at most half of pixel points in the row to be printed are heated at the same time. In some embodiments, the first order comprises: heating the heating pulse corresponding to the first grouping pixel point at intervals in the total heating time; The second sequence comprises heating pulses corresponding to the second grouping pixels in intervals of the first sequence. In this embodiment, the pixels in the line to be printed are not continuously heated, so that the excessive temperature of the pixels caused by continuous heating is avoided. In some embodiments, the first order includes sequentially performing interval heating on the plurality of heating pulses with different pulse widths corresponding to the first grouping of pixels according to the order of the pulse widths from small to large; The second order comprises that the heating pulses with different pulse widths corresponding to the second grouping pixel points are sequentially heated at intervals acco