Printing method, apparatus, device, and readable storage medium

By setting multiple step numbers in the thermal printer and controlling the print head heating at specific step numbers, the problems of tailing and smudging caused by overlapping heating points are solved, and the print quality is improved.

CN115610115BActive Publication Date: 2025-10-14XIAMEN HANIN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211114158.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-14
Publication Date
2025-10-14
Estimated Expiration
2042-09-14

AI Technical Summary

Technical Problem

When thermal printers print large sizes, the overlapping heating points can cause tailing and blurring, which affects print quality.

Method used

By setting at least three step numbers, controlling the print head to heat in the first step number and the last step number, and controlling the print head not to heat in other step numbers, the degree of overlap between printed dots is reduced.

Benefits of technology

It effectively avoids excessive overlap between printed dots, improves printing quality, and reduces tailing and blurring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115610115B_ABST
    Figure CN115610115B_ABST
Patent Text Reader

Abstract

The application discloses a printing method, device, equipment and readable storage medium. The method comprises the following steps: obtaining a preset step number S of a current printing line; wherein the step number S is greater than or equal to 3; controlling a stepping motor to step according to the step number S, so as to change the position relationship of a printing medium relative to a printing head; in the stepping process, the printing head is controlled to heat in the first step number and the last step number, and the printing head is controlled not to heat in at least one remaining step number. The application can reduce the coincidence degree between printing points, avoid the problems such as tailing and blooming caused by excessive coincidence of printing points with different step numbers, and improve the printing effect.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of printing, in particular to a printing method, device, equipment and readable storage medium. BACKGROUND

[0002] The working principle of a thermal printer is to install semiconductor heating points on a print head, and the print head can print the required pattern after being heated and contacting the thermal printing paper.

[0003] For a thermal printer, each heating point needs a large power to heat during printing. Due to the limitation of power supply, for a large-size printer, when the same row contains more content, the content of this row needs to be divided into multiple segments and printed in batches.

[0004] Taking a 203DPI printer as an example, the distance of each row of the 203DPI printer is 0.12mm. Assuming that the size of the heating point is 0.08mm, the size of the heating point is about 0.08mm. As shown in Figure 1 , assuming that three steps are needed for each row, each step is 0.12mm / 2=0.04mm. In the process of walking and printing, assuming that the first segment point A is heated in the first step of the first row, the second segment point B is heated in the second step, and the third segment point C is heated in the third step, there will be serious overlap between points A, B and C, resulting in tailing, bleeding and other problems, which leads to the decline of printing quality. SUMMARY

[0005] Therefore, the purpose of the present application is to provide a printing method, device, equipment and readable storage medium to improve the above problems.

[0006] The embodiment of the present application provides a printing method, which comprises:

[0007] obtaining a preset step number S of a current printing row; wherein the step number S is greater than or equal to 3;

[0008] controlling the stepping motor to step according to the step number S, so as to change the position relationship of the printing medium relative to the print head;

[0009] In the stepping process, the print head is controlled to heat in the first step number and the last step number, and the print head is controlled not to heat in at least one remaining step number.

[0010] Preferably, in the stepping process, the print head is controlled to heat in the first step number and the last step number, and the print head is controlled not to heat in at least one remaining step number, specifically:

[0011] Controlling the printing head to heat at the first step number and the last step number;

[0012] In the remaining step number, it is determined whether the print head is heated in the previous step number;

[0013] If so, the print head is controlled not to heat;

[0014] If not, the print head is controlled to heat.

[0015] Preferably, the step number S is 3, and the print head is controlled to be heated in the first step number and the third step number, and is controlled not to be heated in the second step number.

[0016] Preferably, the diameter of the heating point of the print head is larger than the length of each step.

[0017] An embodiment of the present invention further provides a printing device, comprising:

[0018] A step number obtaining unit, configured to obtain a preset step number S for the current print line; wherein the step number S is greater than or equal to 3;

[0019] a stepping control unit, configured to control the stepping motor to step according to the stepping number S, thereby changing the positional relationship of the printing medium relative to the print head;

[0020] The printing control unit is used to control the printing head to heat up in the first step number and the last step number during the stepping process, and to control the printing head not to heat up in at least one remaining step number.

[0021] Preferably, the printing control unit is specifically used to:

[0022] Controlling the printing head to heat at the first step number and the last step number;

[0023] In the remaining step number, it is determined whether the print head is heated in the previous step number;

[0024] If so, the print head is controlled not to heat;

[0025] If not, the print head is controlled to heat.

[0026] Preferably, the step number S is 3, and the print head is controlled to be heated in the first step number and the third step number, and is controlled not to be heated in the second step number.

[0027] Preferably, the diameter of the heating point of the print head is larger than the length of each step.

[0028] An embodiment of the present invention also provides a printing device, which includes a print head with a heating element, a controller and a memory. The controller is electrically connected to the print head and the memory. A computer program is stored in the memory, and the computer program can be executed by the controller to implement the printing method as described above.

[0029] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program. The computer program can be executed by a processor of a device where the computer-readable storage medium is located to implement the above-mentioned printing method.

[0030] To sum up, in this embodiment, during the printing process, the step number is set to at least three times, and in these three step numbers, the print head is controlled to heat at the first step number and the last step number, and the print head is controlled not to heat at at least one remaining step number. In this way, the degree of overlap between printed dots can be reduced, thereby avoiding problems such as tailing and blurring caused by excessive overlap of printed dots with asynchronous step numbers, and improving the printing effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the implementation. Obviously, the drawings described below are only some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0032] Figure 1 It is a schematic diagram of the printing effect of the existing printing process.

[0033] Figure 2 It is a flowchart of the printing method provided by the first embodiment of the present invention.

[0034] Figure 3 Schematic diagram of the printing effect of this embodiment.

[0035] Figure 4 It is a schematic structural diagram of a printing device provided by the second embodiment of the present invention. DETAILED DESCRIPTION

[0036] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0037] See also Figure 2A first embodiment of the present invention provides a printing method, which can be executed by a printing device, and in particular, by one or more processors in the printing device, to implement the following steps:

[0038] S101, obtaining a preset step number S for the current print line; wherein the step number S is greater than or equal to 3.

[0039] In this embodiment, the number of steps S for each print line can be set according to the actual needs of the user. Since the total step height is determined by the height of the print line, the greater the number of steps, the smaller the length of each step, which can be controlled by subdividing the steps.

[0040] Particularly, in this embodiment, the step number S is greater than or equal to 3.

[0041] S102: Control the stepping motor to step according to the step number S, thereby changing the position relationship of the printing medium relative to the print head.

[0042] In this embodiment, after determining the step number S, the printing device can control the stepper motor to rotate the corresponding angle, thereby controlling the rotation of the rubber roller located in the printing channel, and then driving the printing medium located in the printing channel to be transported forward in the printing channel.

[0043] S103 , during the stepping process, controlling the print head to heat at the first step number and the last step number, and controlling the print head not to heat at at least one remaining step number.

[0044] In this embodiment, during the stepping process, the printing device can control the heating of the print head, thereby presenting corresponding print dots on the print medium.

[0045] Among them, in this embodiment, considering that the diameter of the heating point of the print head is larger than the length of each step, if the print head is heated in each step, it will cause a large area of ​​overlap between the printed points, resulting in problems such as tailing and blurring in the overlapping part.

[0046] To this end, in this embodiment, in the S step numbers, the printing device controls the print head to heat at the first step number and the last step number (so as to ensure the height of the printed line), and then controls the print head not to heat at at least one remaining step number, thereby reducing the degree of overlap and thus reducing the degree of tailing and smudging.

[0047] Specifically, in one implementation,

[0048] Controlling the printing head to heat at the first step number and the last step number;

[0049] In the remaining step number, it is determined whether the print head is heated in the previous step number;

[0050] If so, the print head is controlled not to heat;

[0051] If not, the print head is controlled to heat.

[0052] For example, Figure 3 As shown, taking the step number S equal to 3 as an example, it is obvious that the print head is controlled to be heated in the first step number and the last step number, and is controlled not to be heated in the second step number.

[0053] For another example, taking the step number S equal to 4, it is obvious that the print head is controlled to be heated in the first step number and the last step number, while the print head is controlled not to be heated in the second step number, and is controlled to be heated again in the third step number.

[0054] For another example, taking the step number S equal to 5, it is obvious that the print head is controlled to be heated in the first step number and the last step number, while the print head is controlled not to be heated in the second and fourth step numbers, and is controlled to be heated again in the third step number.

[0055] To sum up, in this embodiment, during the printing process, the step number is set to at least three times, and in these three step numbers, the print head is controlled to heat at the first step number and the last step number, and the print head is controlled not to heat at at least one remaining step number. In this way, the degree of overlap between printed dots can be reduced, thereby avoiding problems such as tailing and blurring caused by excessive overlap of printed dots with asynchronous step numbers, and improving the printing effect.

[0056] Referring to the figure, an embodiment of the present invention further provides a printing device, which includes:

[0057] The step number obtaining unit 210 is used to obtain the preset step number S of the current print line; wherein the step number S is greater than or equal to 3;

[0058] a stepping control unit 220 for controlling the stepping motor to step according to the stepping number S, thereby changing the positional relationship of the printing medium relative to the print head;

[0059] The print control unit 230 is configured to control the print head to heat up in the first step number and the last step number during the stepping process, and to control the print head not to heat up in at least one remaining step number.

[0060] Preferably, the printing control unit 230 is specifically configured to:

[0061] Controlling the printing head to heat at the first step number and the last step number;

[0062] In the remaining step number, it is determined whether the print head is heated in the previous step number;

[0063] If so, the print head is controlled not to heat;

[0064] If not, the print head is controlled to heat.

[0065] Preferably, the step number S is 3, and the print head is controlled to be heated in the first step number and the third step number, and is controlled not to be heated in the second step number.

[0066] Preferably, the diameter of the heating point of the print head is larger than the length of each step.

[0067] The third embodiment of the present invention also provides a printing device, which includes a print head with a heating element, a controller and a memory. The controller is electrically connected to the print head and the memory. A computer program is stored in the memory, and the computer program can be executed by the controller to implement the printing method as described above.

[0068] A fourth embodiment of the present invention further provides a computer-readable storage medium storing a computer program. The computer program can be executed by a processor of a device where the computer-readable storage medium is located to implement the above-mentioned printing method.

[0069] For example, the computer program of the present invention may be divided into one or more modules, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in the device.

[0070] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the printing method and connects various parts of the method using various interfaces and circuits.

[0071] The memory can be used to store the computer program and / or module. The processor implements various functions of the printing method by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, a text conversion function, etc.), etc.; the data storage area can store data created based on the use of the user terminal (such as audio data, text message data, etc.). In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0072] If the module for implementing the user terminal is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer-readable storage medium. The computer program can implement the steps of each method embodiment when executed by a processor. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms, etc. The computer-readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the contents included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0073] It should be noted that the above-described device embodiments are only schematic, and the units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment scheme according to actual needs. In addition, the connection relationship between the modules in the device embodiment provided by the present application indicates that there is a communication connection between them, which can be implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement it without creative labor.

[0074] The above is only a preferred specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed by the present application can be easily thought of by those skilled in the art, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

[0075] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A printing method, characterized in that: include: Obtaining a preset step number S for the current print line; wherein the step number S is greater than or equal to 3; Controlling the stepping motor to step according to the step number S, thereby changing the positional relationship of the printing medium relative to the print head; wherein the diameter of the heating point of the print head is greater than the length of each step; During the stepping process, the print head is controlled to be heated at the first step number and the last step number, and the print head is controlled not to be heated at at least one remaining step number; specifically: Controlling the printing head to heat at the first step number and the last step number; In the remaining step number, it is determined whether the print head is heated in the previous step number; If so, the print head is controlled not to heat; If not, the print head is controlled to heat.

2. The printing method according to claim 1, wherein: If the step number S is 3, the print head is controlled to be heated in the first step number and the third step number, and is controlled not to be heated in the second step number.

3. A printing device, characterized in that: include: A step number obtaining unit, configured to obtain a preset step number S for the current print line; wherein the step number S is greater than or equal to 3; a stepping control unit for controlling the stepping motor to step according to the step number S, thereby changing the positional relationship of the printing medium relative to the print head; wherein the diameter of the heating point of the print head is greater than the length of each step; A print control unit configured to control the print head to heat at the first and last stepping steps during a stepping process, and to control the print head not to heat at at least one remaining stepping step; wherein: Controlling the printing head to heat at the first step number and the last step number; In the remaining step number, it is determined whether the print head is heated in the previous step number; If so, the print head is controlled not to heat; If not, the print head is controlled to heat.

4. The printing device according to claim 3, characterized in that If the step number S is 3, the print head is controlled to be heated in the first step number and the third step number, and is controlled not to be heated in the second step number.

5. A printing device, characterized in that: The system comprises a memory and a processor, wherein the memory stores a computer program, and the computer program can be executed by the processor to implement the printing method according to any one of claims 1 to 2.

6. A computer-readable storage medium, characterized in that A computer program is stored, and the computer program can be executed by a processor of the device where the computer-readable storage medium is located to implement the printing method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Thermal printing method and device and terminal equipment

    CN112060777A

  • Thermal printer and drive control method of thermal head

    US20070280767A1