CN117734321A - Heating control method, device and system of thermal printer - Google Patents

Heating control method, device and system of thermal printer Download PDF

Info

Publication number
CN117734321A
CN117734321A CN202410193976.9A CN202410193976A CN117734321A CN 117734321 A CN117734321 A CN 117734321A CN 202410193976 A CN202410193976 A CN 202410193976A CN 117734321 A CN117734321 A CN 117734321A
Authority
CN
China
Prior art keywords
temperature
heat preservation
printing
printing head
executed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410193976.9A
Other languages
Chinese (zh)
Other versions
CN117734321B (en
Inventor
杨超杰
刘能明
陈乐�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qianhai Lianda Shenzhen Technology Co ltd
Original Assignee
Qianhai Lianda Shenzhen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qianhai Lianda Shenzhen Technology Co ltd filed Critical Qianhai Lianda Shenzhen Technology Co ltd
Priority to CN202410193976.9A priority Critical patent/CN117734321B/en
Publication of CN117734321A publication Critical patent/CN117734321A/en
Application granted granted Critical
Publication of CN117734321B publication Critical patent/CN117734321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention provides a heating control method, a heating control device and a heating control system of a thermal printer, wherein the method comprises the steps of selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of a printing task; judging whether to execute heat preservation according to the connection condition after printing is completed; if the heat preservation is not carried out, the printing head is enabled to continue to naturally cool; if the heat preservation is executed, judging whether the high heat preservation or the low heat preservation is executed according to the program state; in the method and the device, the time for executing the printing task can be determined in a targeted manner according to the task quantity, so that the printing efficiency is improved, and the printing energy consumption is reduced; further, after printing is completed, if the program of the printer is not closed, the heat preservation function can be automatically started, and the temperature at which temperature level is preserved can be determined according to the specific state of the program, so that the printer can timely enter secondary work without consuming excessive energy and time for secondary heating.

Description

Heating control method, device and system of thermal printer
Technical Field
The present invention relates to the field of computers, and in particular, to a heating control method, apparatus and system for a thermal printer.
Background
A thermal printer is a printer that performs printing using a thermal technique. The working principle is that a semiconductor heating element arranged on a printing head is used for heating specific thermal printing paper, so that a thermal coating on the paper surface is subjected to chemical reaction, and a visible pattern is formed on the paper surface.
The common thermal printer is ready-to-use, the printing head is heated to the working temperature when the thermal printer is started, the temperature is immediately reduced after the printing is finished, the thermal printer is heated according to times, the intelligent control of heating cannot be realized, the electric quantity consumption in the whole working process is mainly consumed in a heating link, and the printer has the problem of overhigh energy consumption.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus and system for controlling heating of a thermal printer.
The embodiment of the invention is realized in such a way that a heating control method of a thermal printer comprises the following steps:
s1: acquiring a print job and determining the data volume of the print job;
s2: heating the printing head to raise the temperature, and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
s3: printing is completed, and the printing head is naturally cooled;
s4: the temperature of the printing head is reduced to a set first temperature, and whether heat preservation is executed is judged according to the connection condition;
s5: if the heat preservation is not carried out, the printing head is enabled to continue to naturally cool;
s6: if the heat preservation is executed, judging whether the high heat preservation or the low heat preservation is executed according to the program state;
s7: if the high heat preservation is performed, performing the high heat preservation on the printing head from the first temperature;
s8: if the low heat preservation is executed, the low heat preservation is executed for the printing head when the printing head is naturally cooled to the second temperature.
In one embodiment, the present invention provides a heating control device of a thermal printer, the device comprising:
the acquisition module is used for acquiring the print task and determining the data volume of the print task;
the heating module is used for heating the printing head and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
the printing module is used for completing printing and naturally cooling the printing head;
the first judging module is used for judging whether to execute heat preservation according to the connection condition when the temperature of the printing head is reduced to the set first temperature;
the cooling module is used for enabling the printing head to continue to naturally cool if the heat preservation is not executed;
the second judging module is used for judging whether to execute high heat preservation or low heat preservation according to the program state if the heat preservation is executed;
the high heat preservation module is used for carrying out high heat preservation on the printing head from the first temperature if the high heat preservation is carried out;
and the low heat preservation module is used for carrying out low heat preservation on the printing head when the printing head is naturally cooled to the second temperature if the low heat preservation is carried out.
In one embodiment, the present invention provides a thermal printer heating control system, the system comprising:
a thermal printer for thermal printing;
and the computer equipment is communicated with the thermal printer and is used for executing the heating control method of the thermal printer.
The invention provides a heating control method, a heating control device and a heating control system of a thermal printer, wherein the method comprises the steps of obtaining a printing task and determining the data volume of the printing task; heating the printing head to raise the temperature, and selecting an initial printing temperature from the first working temperature and the second working temperature according to the data volume of the printing task; printing is completed, and the printing head is naturally cooled; the temperature of the printing head is reduced to a set first temperature, and whether heat preservation is executed is judged according to the connection condition; if the heat preservation is not carried out, the printing head is enabled to continue to naturally cool; if the heat preservation is executed, judging whether the high heat preservation or the low heat preservation is executed according to the program state; if the high heat preservation is performed, performing the high heat preservation on the printing head from the first temperature; if the low heat preservation is executed, the printing head is naturally cooled to the second temperature, and the low heat preservation is executed for the printing head; in the application, whether to start printing in the process of heating the printing head or after the printing head is heated can be determined according to the number of the printing tasks, namely, the time for executing the printing tasks can be determined in a targeted manner according to the task amount, so that the printing efficiency is improved, and the printing energy consumption is reduced; further, after printing is completed, if the program of the printer is not closed, the heat preservation function can be automatically started, and the temperature at which temperature level is preserved can be determined according to the specific state of the program, so that the printer can timely enter secondary work without consuming excessive energy and time for secondary heating.
Drawings
FIG. 1 is a first flow chart of a method of controlling heating of a thermal printer provided in one embodiment;
FIG. 2 is a second flowchart of a method of controlling heating of a thermal printer provided in one embodiment;
FIG. 3 is a graph of operating speed versus heating time in a thermal printer heating control method provided in one embodiment;
FIG. 4 is a block flow diagram of a thermal printer heating control apparatus provided in one embodiment;
FIG. 5 is a schematic diagram of the composition of a thermal printer heating control system provided in one embodiment;
FIG. 6 is a block diagram of the internal architecture of a computer device in one embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of this disclosure.
As shown in fig. 1-2, in one embodiment, a method of controlling heating of a thermal printer is provided, the method comprising:
s1: acquiring a print job and determining the data volume of the print job;
s2: heating the printing head to raise the temperature, and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
s3: printing is completed, and the printing head is naturally cooled;
s4: the temperature of the printing head is reduced to a set first temperature, and whether heat preservation is executed is judged according to the connection condition;
s5: if the heat preservation is not carried out, the printing head is enabled to continue to naturally cool;
s6: if the heat preservation is executed, judging whether the high heat preservation or the low heat preservation is executed according to the program state;
s7: if the high heat preservation is performed, performing the high heat preservation on the printing head from the first temperature;
s8: if the low heat preservation is executed, the low heat preservation is executed for the printing head when the printing head is naturally cooled to the second temperature.
In this embodiment, the method is executed in a computer device, where the computer device may be an independent physical server or terminal, or may be a server cluster formed by multiple physical servers, or may be a cloud server that provides basic cloud computing services such as a cloud server, a cloud database, a cloud storage, a CDN, and the like; the computer device can be a processing device arranged in the thermal printer and connected with the thermal printer in a wired way; the device can also be arranged outside the thermal printer and is in wireless communication with the thermal printer;
in this embodiment, the working temperature of the thermal print head is typically 80 ℃ to 120 ℃, and the room temperature is typically 20 ℃ to 30 ℃, and the print head is heated from room temperature; the first working temperature is the temperature in the heating process (such as 80 ℃), the second working temperature is the temperature at which the heating is finished (such as 100 ℃), and the printing head is heated to the second working temperature and then kept at the temperature for printing until the printing is finished; at the first operating temperature, the printer is also capable of performing print jobs, except that the printing efficiency is lower than at the second operating temperature.
In this embodiment, the first temperature may be set to a set proportion of the second operating temperature, such as 60%, for example, the second operating temperature is 100 ℃, and the first temperature is 60 ℃; the second temperature is lower than the first temperature and may be set to a set proportion of the second operating temperature, such as 40 c, with the second temperature being 40 c.
In this embodiment, the connection condition is a connection condition between the thermal printer and the terminal that transmits the print job; program status, i.e., the status of the executed print program, such as opening another file, closing the current file, etc.;
in the application, whether to start printing in the process of heating the printing head or after the printing head is heated can be determined according to the number of the printing tasks, namely, the time for executing the printing tasks can be determined in a targeted manner according to the task amount, so that the printing efficiency is improved, and the printing energy consumption is reduced; further, after printing is completed, if the program of the printer is not closed, the heat preservation function can be automatically started, and the temperature at which temperature level is preserved can be determined according to the specific state of the program, so that the printer can timely enter secondary work without consuming excessive energy and time for secondary heating.
As a preferred embodiment, the selecting the initial printing temperature from the first operating temperature and the second operating temperature according to the data amount of the print job includes:
judging whether the data volume of the print job exceeds the critical data volume;
if the data volume of the printing task does not exceed the critical data volume, selecting the first working temperature as the initial printing temperature;
and if the data volume of the printing task exceeds the critical data volume, selecting the second working temperature as the initial printing temperature.
The critical data amount is found by the following formula:
wherein,for critical data volume, t is the time to heat the print head, < >>Time for heating the printhead to the first operating temperature, +.>The operating speed of the printhead;
the critical data amount satisfies the following condition:
wherein,time for heating the printhead to the second operating temperature +.>Is the average operating speed of the printhead after the second operating temperature is reached.
The first operating temperature satisfies the following conditions:
wherein,to select the first working temperatureThe time for the printhead to heat to the second operating temperature at the initial printing temperature.
In this embodiment, as shown in fig. 3, when the temperature of the print head reaches the second operating temperature, the temperature of the print head is not increased any more, and the energy consumption of heating keeps the temperature at the second operating temperature, so as to keep the operating speed of the print head at a stable value, namely, an average operating speed; when the data amount to be printed is very large, the value of t is very large, and in this case, whether the printing is started from the first working temperature or the second working temperature, the printing speed is almost the same as the whole printing speed, so that the printing is started in advance without the first working temperature; when the data quantity to be printed is small, printing is performed in advance at the first working temperature, so that the heating time of the whole printing head can be remarkably reduced (even the printing task can be completed before the printing head is heated to the second working temperature), and at the moment, the printing efficiency can be greatly improved by mobilizing the thermal printer to start printing in advance at the first working temperature; therefore, by setting a critical data amount Q to determine whether the data amount is more or less, and further whether printing should be started at the first operating temperature or at the second operating temperature, the specific value of Q is determined according to the actual situation, and the limitation is not limited herein, as long as the limitation condition a is satisfied, where a may take on 0.3, 0.5, or other values, and the limitation is not limited herein.
As a preferred embodiment, the determining whether to perform the heat preservation according to the connection condition includes:
judging whether the thermal printer is in a connection state;
if the thermal printer is in a connection state, performing heat preservation, and if the thermal printer is in a disconnection state, not performing heat preservation;
the judging whether to perform high thermal insulation or low thermal insulation according to the program state includes:
judging whether the printing program is still running or not;
if the printing program is still running, high heat preservation is executed, and if the printing program is not running, low heat preservation is executed.
The second temperature is lower than the first temperature, and performing high thermal insulation on the print head from the first temperature includes:
calculating a first temperature difference between the second temperature and the first temperature, and taking a temperature interval between the first temperature and the second temperature as a first temperature interval;
dividing the first temperature interval into a plurality of first sub-temperature intervals according to the first temperature difference and a preset first temperature interval;
dividing the total electric energy for high heat preservation into a plurality of parts of first sub-electric energy according to the number of the first sub-temperature intervals, wherein the fraction of the first sub-electric energy is consistent with the number of the first sub-temperature intervals;
every time the temperature slides to a first subinterval, a first piece of sub-electric energy is called for heat preservation.
Calculating a second temperature difference between the second temperature and the room temperature, and taking a temperature interval between the second temperature and the room temperature as a second temperature interval;
dividing the second temperature interval into a plurality of second sub-temperature intervals according to the second temperature difference and a preset second temperature interval;
dividing the total electric energy for low heat preservation into a plurality of second sub-electric energy according to the number of the second sub-temperature intervals, wherein the fraction of the second sub-electric energy is consistent with the number of the second sub-temperature intervals;
every time the temperature slides to a second subinterval, a second piece of sub-electric energy is called for heat preservation.
In this embodiment, if the thermal printer is in a connected state with the external terminal, that is, the external terminal may continue to send the print job to the thermal printer for printing, that is, there may be a subsequent working step, and at this time, the print head needs to be insulated; further, if the printing program is running, it indicates that a new printing task is fast available, and at this time, the high heat preservation is adopted to preserve the heat of the printing head at a relatively high temperature, so that the printing head can be quickly heated to the second working temperature again when the printing task is executed again, thereby saving time and saving energy consumption for heating; if the printing program is not running, the fact that a new printing task is not available temporarily is indicated, and at the moment, the low heat preservation is adopted to preserve the heat of the printing head at a relatively low temperature, so that heat preservation energy consumption is reduced, and energy consumption required for reheating to a second working temperature is reduced to a certain extent; further, whether the heat preservation principle is consistent for high heat preservation or low heat preservation, taking high heat preservation as an example, the first temperature interval is 40-60 ℃, the preset first temperature interval is 5 ℃, the first temperature interval can be divided into four first sub-temperature intervals of 40-45 ℃, 45-50 ℃, 50-55 ℃ and 55-60 ℃, and if the total electric energy for high heat preservation is 2 kilowatt-hours, the first sub-electric energy is 2/4=0.5 kilowatt-hours; when the temperature of the printing head is reduced to 60 ℃, high heat preservation is carried out, 0.5 kilowatt hour is called for high heat preservation at the stage, the speed of reducing the temperature from 60 ℃ to 55 ℃ can be delayed, when the temperature is reduced to 55 ℃, another 0.5 kilowatt hour is called for high heat preservation at the stage, and the like until the high heat preservation is completed.
As shown in fig. 4, in one embodiment, there is provided a heating control device of a thermal printer, the device comprising:
the acquisition module is used for acquiring the print task and determining the data volume of the print task;
the heating module is used for heating the printing head and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
the printing module is used for completing printing and naturally cooling the printing head;
the first judging module is used for judging whether to execute heat preservation according to the connection condition when the temperature of the printing head is reduced to the set first temperature;
the cooling module is used for enabling the printing head to continue to naturally cool if the heat preservation is not executed;
the second judging module is used for judging whether to execute high heat preservation or low heat preservation according to the program state if the heat preservation is executed;
the high heat preservation module is used for carrying out high heat preservation on the printing head from the first temperature if the high heat preservation is carried out;
and the low heat preservation module is used for carrying out low heat preservation on the printing head when the printing head is naturally cooled to the second temperature if the low heat preservation is carried out.
The process of implementing the respective functions of each module in the heating control device of the thermal printer provided in this embodiment may refer to the description of the embodiment shown in fig. 1, and will not be repeated here.
As shown in fig. 5, in one embodiment, there is provided a heating control system of a thermal printer, the system comprising:
a thermal printer for thermal printing;
and the computer equipment is communicated with the thermal printer and is used for executing the heating control method of the thermal printer.
In this embodiment, the computer device is matched with the thermal printer, so that whether to start printing in the process of heating the print head or after the print head is heated is determined according to the number of print tasks, that is, the time for executing the print tasks can be determined in a targeted manner according to the task amount, so as to improve the printing efficiency and reduce the printing energy consumption; further, after printing is completed, if the program of the printer is not closed, the heat preservation function can be automatically started, and the temperature at which temperature level is preserved can be determined according to the specific state of the program, so that the printer can timely enter secondary work without consuming excessive energy and time for secondary heating.
FIG. 6 illustrates an internal block diagram of a computer device in one embodiment. As shown in fig. 6, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program, where the computer program when executed by the processor may cause the processor to implement the heating control method of the thermal printer provided by the embodiment of the present invention. The internal memory may also store a computer program, which when executed by the processor, causes the processor to execute the heating control method of the thermal printer provided by the embodiment of the invention. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the heating control device of the thermal printer provided in the embodiment of the present invention may be implemented in the form of a computer program, and the computer program may be executed on a computer device as shown in fig. 6. The memory of the computer device may store various program modules constituting the heating control device of the thermal printer, such as the acquisition module, the heating module, the printing module, the first judgment module, the cooling module, the second judgment module, the high thermal insulation module, and the low thermal insulation module shown in fig. 4. The computer program constituted by the respective program modules causes the processor to execute the steps in the heating control method of the thermal printer of the respective embodiments of the present invention described in the present specification.
For example, the computer apparatus shown in fig. 6 may perform step S1 by the acquisition module in the heating control device of the thermal printer as shown in fig. 4; the computer equipment can execute the step S2 through the heating module; the computer equipment can execute the step S3 through the printing module; the computer equipment can execute the step S4 through the first judging module; the computer equipment can execute the step S5 through the cooling module; the computer equipment can execute the step S6 through the second judging module; the computer equipment can execute the step S7 through the high heat preservation module; the computer device may execute step S8 through the low thermal insulation module.
In one embodiment, a computer device is presented, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
s1: acquiring a print job and determining the data volume of the print job;
s2: heating the printing head to raise the temperature, and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
s3: printing is completed, and the printing head is naturally cooled;
s4: the temperature of the printing head is reduced to a set first temperature, and whether heat preservation is executed is judged according to the connection condition;
s5: if the heat preservation is not carried out, the printing head is enabled to continue to naturally cool;
s6: if the heat preservation is executed, judging whether the high heat preservation or the low heat preservation is executed according to the program state;
s7: if the high heat preservation is performed, performing the high heat preservation on the printing head from the first temperature;
s8: if the low heat preservation is executed, the low heat preservation is executed for the printing head when the printing head is naturally cooled to the second temperature.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor causes the processor to perform the steps of:
s1: acquiring a print job and determining the data volume of the print job;
s2: heating the printing head to raise the temperature, and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
s3: printing is completed, and the printing head is naturally cooled;
s4: the temperature of the printing head is reduced to a set first temperature, and whether heat preservation is executed is judged according to the connection condition;
s5: if the heat preservation is not carried out, the printing head is enabled to continue to naturally cool;
s6: if the heat preservation is executed, judging whether the high heat preservation or the low heat preservation is executed according to the program state;
s7: if the high heat preservation is performed, performing the high heat preservation on the printing head from the first temperature;
s8: if the low heat preservation is executed, the low heat preservation is executed for the printing head when the printing head is naturally cooled to the second temperature.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (9)

1. A heating control method of a thermal printer, the method comprising:
s1: acquiring a print job and determining the data volume of the print job;
s2: heating the printing head to raise the temperature, and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
s3: printing is completed, and the printing head is naturally cooled;
s4: the temperature of the printing head is reduced to a set first temperature, and whether heat preservation is executed is judged according to the connection condition;
s5: if the heat preservation is not carried out, the printing head is enabled to continue to naturally cool;
s6: if the heat preservation is executed, judging whether the high heat preservation or the low heat preservation is executed according to the program state;
s7: if the high heat preservation is performed, performing the high heat preservation on the printing head from the first temperature;
s8: if the low heat preservation is executed, the low heat preservation is executed for the printing head when the printing head is naturally cooled to the second temperature.
2. The method of claim 1, wherein selecting the starting printing temperature from the first operating temperature and the second operating temperature based on the amount of data of the print job comprises:
judging whether the data volume of the print job exceeds the critical data volume;
if the data volume of the printing task does not exceed the critical data volume, selecting the first working temperature as the initial printing temperature;
and if the data volume of the printing task exceeds the critical data volume, selecting the second working temperature as the initial printing temperature.
3. The method of claim 2, wherein the critical data amount is determined by the following formula:
wherein,for critical data volume, t is the time to heat the print head, < >>Time for heating the printhead to the first operating temperature, +.>The operating speed of the printhead;
the critical data amount satisfies the following condition:
wherein,time for heating the printhead to the second operating temperature +.>Is the average operating speed of the printhead after the second operating temperature is reached.
4. A method according to claim 3, wherein the first operating temperature satisfies the following condition:
wherein,the time for which the printhead is heated to the second operating temperature is selected when the first operating temperature is the initial printing temperature.
5. The method of claim 1, wherein the determining whether to perform the insulation based on the connection condition comprises:
judging whether the thermal printer is in a connection state;
if the thermal printer is in a connection state, performing heat preservation, and if the thermal printer is in a disconnection state, not performing heat preservation;
the judging whether to perform high thermal insulation or low thermal insulation according to the program state includes:
judging whether the printing program is still running or not;
if the printing program is still running, high heat preservation is executed, and if the printing program is not running, low heat preservation is executed.
6. The method of claim 5, wherein the second temperature is lower than the first temperature, and wherein the performing high thermal insulation on the printhead from the first temperature comprises:
calculating a first temperature difference between the second temperature and the first temperature, and taking a temperature interval between the first temperature and the second temperature as a first temperature interval;
dividing the first temperature interval into a plurality of first sub-temperature intervals according to the first temperature difference and a preset first temperature interval;
dividing the total electric energy for high heat preservation into a plurality of parts of first sub-electric energy according to the number of the first sub-temperature intervals, wherein the fraction of the first sub-electric energy is consistent with the number of the first sub-temperature intervals;
every time the temperature slides to a first subinterval, a first piece of sub-electric energy is called for heat preservation.
7. The method of claim 6, wherein performing low thermal insulation on the printhead comprises:
calculating a second temperature difference between the second temperature and the room temperature, and taking a temperature interval between the second temperature and the room temperature as a second temperature interval;
dividing the second temperature interval into a plurality of second sub-temperature intervals according to the second temperature difference and a preset second temperature interval;
dividing the total electric energy for low heat preservation into a plurality of second sub-electric energy according to the number of the second sub-temperature intervals, wherein the fraction of the second sub-electric energy is consistent with the number of the second sub-temperature intervals;
every time the temperature slides to a second subinterval, a second piece of sub-electric energy is called for heat preservation.
8. A heating control device of a thermal printer, the device comprising:
the acquisition module is used for acquiring the print task and determining the data volume of the print task;
the heating module is used for heating the printing head and selecting an initial printing temperature from a first working temperature and a second working temperature according to the data volume of the printing task, wherein the first working temperature is smaller than the second working temperature;
the printing module is used for completing printing and naturally cooling the printing head;
the first judging module is used for judging whether to execute heat preservation according to the connection condition when the temperature of the printing head is reduced to the set first temperature;
the cooling module is used for enabling the printing head to continue to naturally cool if the heat preservation is not executed;
the second judging module is used for judging whether to execute high heat preservation or low heat preservation according to the program state if the heat preservation is executed;
the high heat preservation module is used for carrying out high heat preservation on the printing head from the first temperature if the high heat preservation is carried out;
and the low heat preservation module is used for carrying out low heat preservation on the printing head when the printing head is naturally cooled to the second temperature if the low heat preservation is carried out.
9. A heating control system for a thermal printer, the system comprising:
a thermal printer for thermal printing;
computer device in communication with a thermal printer for performing the method of controlling heating of a thermal printer according to any one of claims 1 to 7.
CN202410193976.9A 2024-02-21 2024-02-21 Heating control method, device and system of thermal printer Active CN117734321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410193976.9A CN117734321B (en) 2024-02-21 2024-02-21 Heating control method, device and system of thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410193976.9A CN117734321B (en) 2024-02-21 2024-02-21 Heating control method, device and system of thermal printer

Publications (2)

Publication Number Publication Date
CN117734321A true CN117734321A (en) 2024-03-22
CN117734321B CN117734321B (en) 2024-04-30

Family

ID=90261451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410193976.9A Active CN117734321B (en) 2024-02-21 2024-02-21 Heating control method, device and system of thermal printer

Country Status (1)

Country Link
CN (1) CN117734321B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62135382A (en) * 1985-12-10 1987-06-18 Toshiba Corp Driving system for thermal head
CN1131613A (en) * 1994-12-02 1996-09-25 精工爱普生株式会社 Driving control of method of thermal head
JPH1148515A (en) * 1997-08-05 1999-02-23 Tec Corp Thermal head control apparatus
US6476838B1 (en) * 1999-09-03 2002-11-05 Oki Data America, Inc. Method of driving a thermal print head
CN103112254A (en) * 2013-02-01 2013-05-22 深圳市理邦精密仪器股份有限公司 Thermal head heating adjusting device, thermal head heating adjusting method and thermal printer
KR20140025174A (en) * 2012-08-21 2014-03-04 주식회사 디지아이 Method for controlling temperature of drying device for printing machine
CN104494317A (en) * 2014-11-27 2015-04-08 深圳市理邦精密仪器股份有限公司 Apparatus and method for automatically adjusting heating time of thermo-sensitive printer
CN114261215A (en) * 2021-12-22 2022-04-01 北京思普瑞特科技发展有限公司 Printing control method and system of thermal printer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62135382A (en) * 1985-12-10 1987-06-18 Toshiba Corp Driving system for thermal head
CN1131613A (en) * 1994-12-02 1996-09-25 精工爱普生株式会社 Driving control of method of thermal head
JPH1148515A (en) * 1997-08-05 1999-02-23 Tec Corp Thermal head control apparatus
US6476838B1 (en) * 1999-09-03 2002-11-05 Oki Data America, Inc. Method of driving a thermal print head
KR20140025174A (en) * 2012-08-21 2014-03-04 주식회사 디지아이 Method for controlling temperature of drying device for printing machine
CN103112254A (en) * 2013-02-01 2013-05-22 深圳市理邦精密仪器股份有限公司 Thermal head heating adjusting device, thermal head heating adjusting method and thermal printer
CN104494317A (en) * 2014-11-27 2015-04-08 深圳市理邦精密仪器股份有限公司 Apparatus and method for automatically adjusting heating time of thermo-sensitive printer
CN114261215A (en) * 2021-12-22 2022-04-01 北京思普瑞特科技发展有限公司 Printing control method and system of thermal printer

Also Published As

Publication number Publication date
CN117734321B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
Kamitsos et al. Optimal sleep patterns for serving delay-tolerant jobs
CN109597571B (en) Data storage method, data reading method, data storage device, data reading device and computer equipment
US11314305B2 (en) Dynamic thermal management simulation using improved reduced order modeling
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
Choi et al. Minimizing makespan on an m-machine re-entrant flowshop
CN117734321B (en) Heating control method, device and system of thermal printer
CN107037872A (en) Integrated circuit and mobile device including it for implementing cooling algorithm
CN104461732A (en) Network chip temperature optimization method applied to two-dimensional grid structure piece
CN113568612A (en) Service configuration method, device, computer equipment and storage medium
CN117033880A (en) Automatic operation and maintenance method, device, equipment and storage medium for data center
CN112902516B (en) Control method of water chiller, water chiller and storage medium
CN111796658A (en) Information processing method, electronic equipment and computer readable storage medium
CN113949629B (en) Initialization method and device for server baseboard management controller and computer equipment
CN115904055A (en) Power saving method, device, equipment and storage medium based on baseboard management controller
CN113311926A (en) Fan speed regulation method and device, electronic equipment and computer readable storage medium
CN111191082B (en) Data management method, device, computer equipment and storage medium
CN115297076A (en) Offline message pulling method and device, computer equipment and storage medium
CN110134475B (en) Method and device for displaying interface parameter configuration, computer equipment and storage medium
CN113887052A (en) Integrated energy system, simulation calculation method and device thereof, and computer readable storage medium
CN109857759A (en) Processing method, device, computer equipment and the storage medium of concurrent data
CN113761672B (en) Liquid cooling plate selection method and device, electronic equipment and storage medium
CN116826669B (en) Device junction temperature protection method, device, equipment and storage medium
CN117279305A (en) Thermal management control method, apparatus, device, storage medium, and program product
CN109656949B (en) Bitmap index searching method and device, computer equipment and storage medium
CN116842029B (en) Asset management method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant