Gray scale printing method and printing chip

By alternating heating and setting multiple heating time periods, the problem of insufficient power supply for thermal printers was solved, achieving more efficient current management and more uniform heat distribution, extending the life of the printhead and improving print quality.

CN119489627BActive Publication Date: 2026-04-17APEX MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
APEX MICROELECTRONICS CO LTD
Filing Date
2024-11-20
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

When a thermal printer heats multiple points simultaneously in a row, the total current demand increases, leading to insufficient power supply to the print head and affecting print quality and lifespan.

Method used

By alternately heating the pixels in a row of a grayscale image, the instantaneous current demand is distributed across multiple time segments. Multiple heating time segments are set to avoid overheating of adjacent pixels, and different combinations of heating pulses are used to represent grayscale levels.

Benefits of technology

This reduces the current requirement for each time segment, avoids the risk of printhead overheating, extends printhead lifespan, and improves print quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119489627B_ABST
    Figure CN119489627B_ABST
Patent Text Reader

Abstract

This application provides a grayscale printing method and a printing chip. After acquiring the heating pulses corresponding to pixels in a row of a grayscale image, at least a portion of the pixels in the row are alternately heated based on the heating pulses. This disperses the instantaneous current demand across multiple time segments, thereby reducing the current demand in each time segment. This helps maintain the current within the safe range of the power supply and circuit, avoiding insufficient power supply problems. Furthermore, alternating heating helps to evenly distribute heat, preventing excessive heat generation at any given moment, thus reducing the risk of printhead overheating, extending printhead lifespan, and improving print quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of grayscale printing, and more particularly to a grayscale printing method and a printed chip. Background Technology

[0002] Currently, grayscale printing can be achieved through thermal printing, which is a printing technology that uses heat to produce images or text.

[0003] During the printing process, data from the same row of the image data is usually printed simultaneously to improve printing speed.

[0004] However, when a thermal printer heats multiple points in a row at the same time, each heating element or pixel requires a certain current to generate enough heat to change the color of the thermal paper. When multiple heating elements work at the same time, the total current demand will be limited, resulting in insufficient power supply to the print head. Summary of the Invention

[0005] This application provides a grayscale printing method and a printing chip to solve the problem of insufficient power supply to the print head.

[0006] In a first aspect, embodiments of this application provide a grayscale printing method, including:

[0007] Obtain the heating pulse corresponding to each pixel in a row of a grayscale image;

[0008] At least some pixels in a row are alternately heated based on the heating pulses corresponding to the pixels in that row.

[0009] In one possible implementation, the method further includes setting multiple heating time periods and matching the corresponding heating time period for each pixel in a row based on the heating pulse corresponding to the pixel in the row.

[0010] In this embodiment, multiple heating time periods are set. The heating time period is matched with the corresponding heating pulse of the pixel in a row. So that when printing, each pixel in a row can be heated based on the heating time period matched with each pixel in a row, thereby improving heating efficiency.

[0011] In one possible implementation, the alternating heating of at least a portion of the pixels in a row based on heating pulses corresponding to pixels in a row includes:

[0012] At least some pixels in a row are alternately heated based on the heating time period matching the pixels in the row.

[0013] In this embodiment, at least some pixels in a row are alternately heated based on a pre-matched heating time period for each pixel in a row, thereby improving heating efficiency.

[0014] In one possible implementation, the heating time period of the previous pixel is different from that of the next pixel in two adjacent pixels.

[0015] In this embodiment, the heating time periods of the previous pixel and the next pixel are different, thereby avoiding excessive heat generated by adjacent pixels at a certain moment, which would affect each other and impact the printing effect. At the same time, it reduces the risk of printhead overheating, extends the life of the printhead, and improves print quality.

[0016] In one possible implementation, setting multiple heating time periods, and matching the corresponding heating time period for each pixel in a row based on the heating pulse corresponding to that pixel, includes:

[0017] Set multiple heating time periods with the same duration;

[0018] The heating pulse corresponding to each pixel in a row is used to match the corresponding number of heating time periods for each pixel in the row.

[0019] In this embodiment, by setting multiple heating time periods of the same duration, the corresponding number of heating time periods can be matched for each pixel in a row based on the heating pulse corresponding to the pixel in the row, thus simplifying the operation.

[0020] In one possible implementation, two adjacent pixels are matched with adjacent heating time periods. If the heating time period matched by the next pixel reaches the largest heating time period among all heating time periods, the remaining heating pulse of the next pixel is matched with the earliest heating time period among all heating time periods.

[0021] Wherein, the last heating time period matched by the previous pixel is the longest heating time period among all heating time periods, and the first heating time period matched by the next pixel is the earliest heating time period among all heating time periods.

[0022] In this embodiment, the number of heating time segments can be determined based on the highest grayscale level of the grayscale image. Furthermore, adjacent pixels are matched with adjacent heating time segments. If the heating time segment of the next pixel reaches the maximum number of heating time segments, the remaining heating pulses for that next pixel are matched with the initial heating time segment, thereby ensuring that each pixel has a matched and continuous heating time segment, thus enabling the heating of the pixel's grayscale value.

[0023] In one possible implementation, setting multiple heating time periods, and matching the corresponding heating time period for each pixel in a row based on the heating pulse corresponding to that pixel, includes:

[0024] Set multiple heating time periods with different durations;

[0025] The heating pulses based on the pixels in a row are used to match the corresponding pulse combinations for the pixels in the row, and the pulse combinations based on the pixels are used to match the corresponding heating time periods for the pixels.

[0026] In this embodiment, multiple heating time periods with different durations are set. The heating pulses of the pixels in a row are matched with the corresponding heating pulses of the pixels in the row. The pulse combinations of the pixels are matched with the corresponding heating time periods of the pixels. Different pulse combinations can be used to represent the grayscale of the image, which can reduce the number of transmitted pulses and heating times, and improve the printing speed.

[0027] In one possible implementation, the number of segments in the heating time period is greater than the highest grayscale level.

[0028] In this embodiment, the number of heating time segments is greater than the highest grayscale level, reducing the number of pixels heated simultaneously and lowering power consumption requirements.

[0029] In one possible implementation, the number of segments of the heating time period is determined based on the highest gray level of the grayscale image.

[0030] In one possible implementation, acquiring the grayscale level of each pixel in a row of a grayscale image, and the heating pulse corresponding to the grayscale level of each pixel, includes:

[0031] Obtain the grayscale level of all pixels in the original image, and divide the grayscale level of all pixels in the original image by a preset value to obtain a grayscale image;

[0032] Obtain the heating pulse corresponding to the gray level of the pixel in the grayscale image.

[0033] In this embodiment, after obtaining the grayscale level of all pixels in the original image, the grayscale level of all pixels in the original image is divided by a preset value to obtain a grayscale image. Then, the heating pulse corresponding to the grayscale level of the pixels in the grayscale image is obtained so as to improve the printing speed.

[0034] In a second aspect, this application provides a printed chip for performing the first aspect and / or various possible implementations of the first aspect.

[0035] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0036] The memory stores computer-executed instructions;

[0037] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0038] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0039] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0040] The grayscale printing method and printing chip provided in this application obtain the heating pulses corresponding to pixels in a row of a grayscale image, and then alternately heat at least a portion of the pixels in the row based on the heating pulses corresponding to the pixels in the row. This disperses the instantaneous current demand across multiple time segments, thereby reducing the current demand in each time segment. This helps maintain the current within the safe range of the power supply and circuit, avoiding insufficient power supply problems. Furthermore, alternating heating helps to evenly distribute heat, preventing excessive heat generation at any given moment, thus reducing the risk of printhead overheating, extending printhead lifespan, and improving print quality. Attached Figure Description

[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0042] Figure 1 A flowchart illustrating a grayscale printing method provided in this application;

[0043] Figure 2 A schematic diagram of grayscale printing provided for this application;

[0044] Figure 3 An illustration of another grayscale printing method provided for this application;

[0045] Figure 4 A schematic diagram illustrating a grayscale printing method provided in this application;

[0046] Figure 5 A schematic diagram illustrating another grayscale printing method provided in this application;

[0047] Figure 6 A schematic diagram illustrating yet another grayscale printing method provided in this application;

[0048] Figure 7 A schematic diagram of the structure of the electronic device provided in this application.

[0049] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0050] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application.

[0051] Grayscale printing is a printing technique that uses different shades of gray to represent image details. It does not use colored inks; instead, it produces different gray levels by adjusting the concentration or density of black ink dots. Grayscale printing can depict subtle details and gradations in images, and uses less ink or color, reducing printing costs. It is suitable for various scenarios such as document printing, black and white photography, engineering drawings, and medical imaging.

[0052] Currently, grayscale printing can be achieved through thermal printing. During the printing process, data from the same line of image data is typically printed simultaneously to improve printing speed. However, when a thermal printer heats multiple points in a line simultaneously, the total current demand is limited because each heating element or pixel requires a certain current to generate enough heat to change the color of the thermal paper. This can lead to insufficient power supply to the print head.

[0053] To address this, this application proposes a heating method for grayscale printing, which alternately heats at least a portion of the pixels in a row. This disperses the instantaneous current demand across multiple time segments, reducing the current requirement in each segment and helping to keep the current within the safe range of the power supply and circuitry, thus avoiding power shortages. Furthermore, alternating heating helps to evenly distribute heat, preventing excessive heat generation at any given moment, thereby reducing the risk of printhead overheating, extending printhead lifespan, and improving print quality.

[0054] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0055] Figure 1 A flowchart illustrating the heating method for grayscale printing provided in this application is shown below. Figure 1 As shown, the method provided in this application embodiment may include:

[0056] S101. Obtain the heating pulse corresponding to the pixel in a row of the grayscale image.

[0057] A grayscale image is an image composed of different brightness levels of gray. It has no color information; each pixel is represented by only one value. In a grayscale image, the gray level of a pixel refers to the position of that pixel's brightness value within the entire possible range. It is a concept used to describe the brightness of each pixel in the image, representing different brightness levels from black to white. For example, a grayscale value of 0 represents pure white, 255 represents pure black, and intermediate values ​​represent different degrees of gray.

[0058] The number of gray levels depends directly on the range of gray values. For example, if gray values ​​can vary from 0 to 255, then there are 256 gray levels. More gray levels generally mean higher image quality because it allows for finer variations in brightness and smoother tonal transitions. In general, gray values ​​represent the specific brightness of a pixel, while gray levels describe the overall grayscale performance capability; both play important roles in image processing.

[0059] In thermal printing technology, the control of heating pulses is key to achieving these grayscale levels. Heating pulses refer to the electrical signals received by the heating element of the printhead during the printing process. These pulses control the on / off state of the heating element, thus determining the color rendering level of each dot on the thermal paper. By precisely controlling the heating pulses, thermal printers can achieve different grayscale levels during printing, thereby improving image expressiveness and detail.

[0060] In some examples, there are multiple heating pulses with the same pulse width, and the corresponding grayscale level is achieved by the number of heating pulses, such as... Figure 2 As shown, the higher the grayscale level, the more heating pulses there are; the lower the grayscale level, the fewer heating pulses there are.

[0061] In other examples, multiple heating pulses with different pulse widths are used, and the heating of corresponding gray levels is achieved by combining the heating pulses, such as... Figure 3 As shown, multiple heating pulses with different pulse widths can include eight pulses: T1, T2, T4, T8, T16, T32, T64, and T128. T1 = T, T2 = 2T, T4 = 4T, T8 = 8T, T16 = 16T, T32 = 32T, T64 = 64T, and T128 = 128T. These eight pulses represent grayscale levels from 0 to 255.

[0062] In some embodiments, after obtaining the grayscale levels of all pixels in the original image, the grayscale levels of all pixels in the original image can be divided by a preset value to obtain a grayscale image. Then, the heating pulses corresponding to the grayscale levels of the pixels in the grayscale image can be obtained to improve printing speed.

[0063] For example, considering that high-resolution thermal paper is expensive and that processing high grayscale levels puts a lot of strain on the processor, in cases where high-resolution grayscale printing is not required, the grayscale level of all pixels in the original image is divided by the same value. For example, dividing the original image data of 256 levels by 4 results in a grayscale image of 256 / 4 = 64 levels.

[0064] S102. At least some pixels in a row are alternately heated based on the heating pulses corresponding to the pixels in a row.

[0065] Alternating heating of at least some pixels means that at least some pixels in a row are not activated simultaneously, but rather in batches and alternately. For example, if there are 100 pixels in a row that need heating, the printer might activate 50 pixels at the first moment and then activate the remaining 50 pixels at the next moment. By alternating heating, the instantaneous current demand is distributed across multiple time segments, thereby reducing the current demand in each time segment. This helps keep the current within the safe range of the power supply and circuitry, avoiding power shortages. Furthermore, alternating heating helps distribute heat evenly, preventing excessive heat from being generated at any one moment, thus reducing the risk of printhead overheating, which helps extend printhead life and improve print quality.

[0066] In some embodiments, multiple heating time periods are set, and a corresponding heating time period is matched for each pixel in a row based on the heating pulse corresponding to each pixel in the row. This allows each pixel in a row to be heated based on the matching heating time period during printing, thereby improving heating efficiency.

[0067] In some embodiments, at least some pixels in a row can be alternately heated based on heating time periods matched with pixels in the row, thereby improving heating efficiency. The heating time period corresponding to each pixel in a row is matched based on the heating pulses of each pixel in the row, and each pixel in a row is matched with a corresponding heating time period.

[0068] As one implementation method, the heating time periods of the previous pixel and the next pixel are different for two adjacent pixels. This avoids excessive heat generated by adjacent pixels at a certain moment, which could affect each other and impact the printing effect. At the same time, it reduces the risk of printhead overheating, extends the life of the printhead, and improves print quality.

[0069] One approach is to set multiple heating time periods of equal duration. This allows matching a corresponding number of heating time periods to each pixel in a row based on the heating pulses corresponding to that pixel, simplifying the process. For example, when the grayscale level is 3, heating is performed using 3 pulses over 3 heating time periods; when the grayscale level is 5, heating is performed using 5 pulses over 5 heating time periods.

[0070] For example, adjacent pixels are matched with adjacent heating time periods. If the heating time period of the next pixel reaches the maximum number of heating time periods in the entire heating time period, the remaining heating pulses for the next pixel are matched with the earliest heating time period in the entire heating time period. This ensures that each pixel has a matched and relatively continuous heating time period, thereby enabling the heating of the pixel's grayscale value. Specifically, the last heating time period matched by the previous pixel is the maximum heating time period in the entire heating time period, and the first heating time period matched by the next pixel is the earliest heating time period in the entire heating time period. For example, as... Figure 4 As shown, a row contains x+1 pixels, referred to as the first pixel, the second pixel, ..., the xth pixel and the x+1th pixel. The number of segments in the heating time period can be determined as m, referred to as the 1st segment, the 2nd segment, the 3rd segment, ..., the (m-1)th segment and the mth segment. For example, if the highest grayscale level of the grayscale image is 255, then the number of segments in the heating time period is determined to be 255.

[0071] If the gray level of the first point is 2 and the corresponding heating pulse is 2T, then the heating time period for the first point can be matched as the first and second segments. If the gray level of the second point is 1 and the corresponding heating pulse is T, adjacent pixels are matched with adjacent heating time periods, so the heating time period for the second point is matched as the third segment, making the heating time period of the second point different from that of the first point. That is, the second point starts heating in the first segment after the first point ends.

[0072] If the gray level of point x is 3, the corresponding heating pulse is 3T. The corresponding heating time period for point x is the (m-1)th segment, the mth segment, and the 1st segment. The heating time period matched for point x reaches the maximum heating time period among all heating time periods. The remaining heating pulses for point x are matched with the earliest heating time period among all heating time periods, that is, the very first segment. If the gray level of point x is 4, in addition to matching the (m-1)th segment and the mth segment for point x, the very first segment and the second segment can also be matched for point x. The first segment is regarded as the next segment after the mth segment, so that the heating time period of point x is separated from the heating time period of point x-1. That is, point x starts heating from the first segment after the x-1th segment ends. And if all m heating time periods have been selected once, it can start again from the first segment. Thus, while ensuring that each pixel has a matched heating time period, it also ensures that the pixel has a continuous heating time period.

[0073] If the gray level of point x+1 is 1 and the corresponding heating pulse is T, then the heating time period corresponding to point x+1 can be matched as the second segment, so that the heating time period of point x+1 is separated from the heating time period of point x.

[0074] As one implementation method, having a heating time segment number greater than the highest grayscale level can further reduce the number of pixels heated simultaneously, thus lowering power consumption. For example, setting the heating time segment number to twice the highest grayscale level, with a highest grayscale level of 8 and 16 heating segments, and all pixels in a row having the highest grayscale level, results in the following heating situation: Figure 5 As shown, the first point is heated in segments 1 to 8, the second point is heated in segments 9 to 16, the third point is heated in segments 1 to 8, and the fourth point is heated in segments 9 to 16.

[0075] It is clear that the number of pixels that need to be printed simultaneously in a line will not exceed 1 / 2 of the total number of pixels in the line, thus reducing the number of pixels that need to be heated at the same time.

[0076] As another implementation method, multiple heating time periods with different durations are set. The heating pulses of the pixels in a row are matched with the corresponding heating pulses of the pixels in the row. The pulse combinations of the pixels are matched with the corresponding heating time periods of the pixels. Different pulse combinations can be used to represent the grayscale of the image, which can reduce the number of transmitted pulses and heating times, and improve the printing speed.

[0077] For example, pulses with different durations can include t, 2t, 4t, 8t, 16t, etc., and the grayscale levels of each pixel in a grayscale image can be achieved by using multiple pulses with different heating times. For example, as... Figure 6 As shown, when the gray level is 3, t+2t is selected; when the gray level is 5, t+4t is selected; when the gray level is 23, 2t+4t+16t is selected, and so on. This allows for the creation of k different pulses to represent 0 to 2. k-1 The grayscale level can be determined accordingly. The heating segment can include 2*k segments to calculate different pulse combinations based on the grayscale value, avoiding the selection of the same heating time period for adjacent pixels.

[0078] The grayscale printing method provided in this application alternately heats the pixels in a row, distributing the instantaneous current demand across multiple time segments. This reduces the current demand in each time segment, helping to keep the current within the safe range of the power supply and circuit, and avoiding insufficient power supply. Furthermore, alternating heating helps to evenly distribute heat, preventing excessive heat generation at any given moment, thereby reducing the risk of printhead overheating, extending printhead lifespan, and improving print quality.

[0079] This application also provides a printing chip for performing the grayscale printing method described above.

[0080] For example, the printed chip can be a microprocessor chip, such as an MCU (Micro Controller Unit), DSP (Digital Signal Processor), MPU (Micro Processor Unit), or micro CPU (Central Processing Unit), which can process digital signals, analog signals, or perform signal functions, instruction processing, and calculations.

[0081] Figure 7 A schematic diagram of the structure of the electronic device provided in this application. Figure 7 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the device 50 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.

[0082] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.

[0083] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0084] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0085] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0086] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0087] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0088] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0089] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0090] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0091] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0092] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0093] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0094] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0095] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0096] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A grayscale printing method, characterized in that, include: Obtain the gray level of each pixel in a row of a grayscale image, and the heating pulse corresponding to each gray level; At least some pixels in a row are alternately heated based on the heating pulses corresponding to the pixels in that row; Multiple heating time periods are set, and the corresponding heating time period is matched for each pixel in a row based on the heating pulse corresponding to the pixel in the row; Two adjacent pixels are matched with adjacent heating time periods. If the heating time period matched by the next pixel reaches the longest heating time period among all heating time periods, the remaining heating pulse of the next pixel is matched with the earliest heating time period among all heating time periods. Among them, the last heating time period matched by the previous pixel is the longest heating time period among all heating time periods, and the first heating time period matched by the next pixel is the earliest heating time period among all heating time periods.

2. The method according to claim 1, characterized in that, The method of alternately heating at least a portion of the pixels in a row based on the heating pulses corresponding to the pixels in a row includes: At least some pixels in a row are alternately heated based on the heating time period matching the pixels in the row.

3. The method according to claim 2, characterized in that, In two adjacent pixels, the heating time period of the previous pixel is different from that of the next pixel.

4. The method according to claim 3, characterized in that, The setting of multiple heating time periods, based on the heating pulse corresponding to a pixel in a row, matches the corresponding heating time period for each pixel in a row, including: Set multiple heating time periods with the same duration; The heating pulse corresponding to each pixel in a row is used to match the corresponding number of heating time periods for each pixel in the row.

5. The method according to any one of claims 2-4, characterized in that, The number of segments in the heating time period is greater than the highest gray level.

6. The method according to any one of claims 1-4, characterized in that, The step of acquiring the grayscale level of each pixel in a row of a grayscale image, and the heating pulse corresponding to each grayscale level, includes: Obtain the grayscale level of all pixels in the original image, and divide the grayscale level of all pixels in the original image by a preset value to obtain a grayscale image; Obtain the heating pulse corresponding to the gray level of the pixel in the grayscale image.

7. A printed chip, characterized in that, Perform the method described in any one of claims 1-6.

Citation Information

Patent Citations

  • Conducting pulse applying method for thermal head

    JP1995096626A

  • Method for thermal printing and printer

    JP1999042805A