CN111483246A - Method for heating thermosensitive point according to temperature interval range and content ratio - Google Patents

Method for heating thermosensitive point according to temperature interval range and content ratio Download PDF

Info

Publication number
CN111483246A
CN111483246A CN202010398278.4A CN202010398278A CN111483246A CN 111483246 A CN111483246 A CN 111483246A CN 202010398278 A CN202010398278 A CN 202010398278A CN 111483246 A CN111483246 A CN 111483246A
Authority
CN
China
Prior art keywords
printing
heating
time
data
point
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
CN202010398278.4A
Other languages
Chinese (zh)
Other versions
CN111483246B (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.)
Shenzhen Carewell Electronics Co ltd
Original Assignee
Shenzhen Carewell Electronics 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 Shenzhen Carewell Electronics Co ltd filed Critical Shenzhen Carewell Electronics Co ltd
Priority to CN202010398278.4A priority Critical patent/CN111483246B/en
Publication of CN111483246A publication Critical patent/CN111483246A/en
Application granted granted Critical
Publication of CN111483246B publication Critical patent/CN111483246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41MPRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
    • B41M5/00Duplicating or marking methods; Sheet materials for use therein
    • B41M5/26Thermography ; Marking by high energetic means, e.g. laser otherwise than by burning, and characterised by the material used
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management

Abstract

The embodiment of the invention relates to a method for heating a thermosensitive point according to a temperature interval range and content ratio, which comprises the following steps: acquiring printing content; obtaining first real-time content proportion data according to the ratio of the content points of the printing content to the maximum printing points; acquiring real-time temperature data of a first thermosensitive point; acquiring a corresponding relation table of temperature interval range, content ratio and heating time; inquiring corresponding relation records of a corresponding relation table according to the first heat-sensitive point real-time temperature data and the first real-time content proportion data, and extracting corresponding heating time data as heat-sensitive point heating time when the first heat-sensitive point real-time temperature data meets the temperature data and the first real-time content proportion data meets the content proportion data; and carrying out timing heating treatment on the thermosensitive point according to the heating time of the thermosensitive point. The invention can dynamically adjust the heating time data of the thermal point, realizes the precision control of the heating process of the thermal point and improves the stability of thermal printing.

Description

Method for heating thermosensitive point according to temperature interval range and content ratio
Technical Field
The invention relates to the technical field of thermal printing, in particular to a method for heating thermal points according to temperature interval range and content proportion.
Background
The working principle of thermal printing is that a plurality of heating semiconductor elements (thermal points for short) are integrated on a printing head, and the thermal printing paper is heated by the thermal points, so that the color of the thermal printing paper is changed at the heating position, and the purpose of printing is achieved. The printing mode of the thermal printer includes row printing and column printing, and the total number of dots per row/column is constant. When a straight line is printed, the content ratio (the number of printing dots/the maximum number of printing dots) is 100%; when an empty line is printed, the content proportion is 0%; in conventional text printing, the content ratio generally does not exceed 20%. In practical applications, it has been found that when the content ratio of row/column contents is greatly changed, the thermal printer may have problems of uneven color, faint pattern, and the like.
Disclosure of Invention
The invention aims to provide a method for heating a thermal point according to a temperature interval range and a content proportion, which can dynamically adjust heating time data of the thermal point based on a corresponding relation table of the temperature interval range, the content proportion and the heating time, realize the precision control of the heating process of the thermal point and improve the stability of thermal printing.
In order to achieve the above object, an embodiment of the present invention provides a method for heating a thermal point according to a temperature interval range and a content ratio, the method including:
acquiring printing content;
performing printing point counting processing on the printing content to generate content points, and generating first real-time content proportion data according to the ratio of the content points to the maximum printing points;
acquiring real-time temperature data of a first thermosensitive point;
acquiring a corresponding relation table of temperature interval range, content ratio and heating time; the corresponding relation table comprises a plurality of corresponding relation records; the corresponding relation records comprise temperature data, content proportion data and heating time data corresponding to the temperature data and the content proportion data;
inquiring the corresponding relation record of the corresponding relation table according to the first heat-sensitive point real-time temperature data and the first real-time content proportion data, and extracting corresponding heating time data as heat-sensitive point heating time when the first heat-sensitive point real-time temperature data meets the temperature data and the first real-time content proportion data meets the content proportion data;
and carrying out timing heating treatment on the thermosensitive point according to the heating time of the thermosensitive point.
Preferably, the method further comprises:
and when the first real-time content ratio data is 0, stopping heating processing on the thermosensitive point.
Preferably, after the heat-sensitive spot is subjected to the timed heating process according to the heat-sensitive spot heating time, the method further includes:
acquiring target temperature data;
acquiring real-time temperature data of a second thermosensitive point;
when the real-time temperature data of the second thermosensitive point is lower than the target temperature data, generating insufficient heating compensation information of the thermosensitive point;
and when the real-time temperature data of the second thermosensitive point is higher than the target temperature data, generating information that the thermosensitive point is too large in heating compensation.
Preferably, the method further comprises:
acquiring the corresponding relation table;
sequentially marking the corresponding relation records in the corresponding relation table as debugging corresponding relation records; taking the temperature data recorded by the debugging corresponding relation as initial temperature data, and taking the content proportion data recorded by the debugging corresponding relation as debugging content proportion data;
acquiring the target temperature data;
heating a thermal point according to the initial temperature data and the target temperature data, heating the real-time temperature of the thermal point from the initial temperature data to the target temperature data, and counting the heating time to obtain a debugging heating time;
acquiring debugging printing pattern information corresponding to the debugging content proportion data;
printing the debugging printing pattern information by using the thermal sensitive dots to obtain a corresponding printing pattern, and performing printing effect identification processing on the printing pattern to obtain printing effect information; the printing effect information comprises printing gray scale information and printing definition information;
and when the printing gray information is greater than or equal to a gray threshold and the printing definition information is greater than or equal to a definition threshold, taking the debugging heating time as the heating time data recorded by the debugging corresponding relationship.
Further, in the above-mentioned case,
the ratio of the content points of the debugging printing pattern information to the maximum printing points is equal to the debugging content proportion data.
Further, when the printing gray scale information is smaller than the gray scale threshold value, the method further comprises:
increasing the debugging heating time to obtain increased debugging heating time; carrying out timing heating treatment on the heat-sensitive point according to the increased debugging heating time, and heating the real-time temperature of the heat-sensitive point from the initial temperature data to the target temperature data;
and continuously printing the debugging printing pattern information by using the heated thermal sensitive dots to obtain the corresponding printing pattern, and continuously performing printing effect identification processing on the pattern printing result to obtain the printing effect information.
Further, when the print definition information is smaller than the definition threshold, the method further includes:
reducing the debugging heating time to obtain reduced debugging heating time; carrying out timing heating treatment on the heat-sensitive point according to the reduced debugging heating time, and heating the real-time temperature of the heat-sensitive point from the initial temperature data to the target temperature data;
and continuously printing the debugging printing pattern information by using the heated thermal sensitive dots to obtain the corresponding printing pattern, and continuously performing printing effect identification processing on the pattern printing result to obtain the printing effect information.
The embodiment of the invention provides a method for heating a thermal point according to a temperature interval range and a content ratio, which can dynamically adjust heating time data of the thermal point based on a corresponding relation table of the temperature interval range, the content ratio and the heating time, realize precision control of a thermal point heating process and improve the stability of thermal printing.
Drawings
FIG. 1 is a schematic diagram of a method for heating a thermal point according to a temperature range and a content ratio according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a method for debugging a correspondence table between a temperature range, a content ratio and a heating time according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to the method for heating the thermal point according to the temperature interval range and the content proportion, provided by the embodiment of the invention, the corresponding thermal point heating time data is acquired under different real-time temperatures and different content proportions to heat the thermal point by inquiring the corresponding relation table of the temperature interval range, the content proportion and the heating time, so that the precision control of the thermal point heating process is realized, and the stability of thermal printing is improved.
As shown in fig. 1, which is a schematic diagram of a method for heating a thermal point according to a temperature range and a content ratio according to an embodiment of the present invention, the method mainly includes the following steps:
step 1, acquiring printing content.
Specifically, the thermal printing device may obtain the print content from a local storage medium, obtain the print content from a device connected to the local, obtain the print content from another program executed locally, and obtain the print content sent to the thermal printing device by another network device through the network.
Here, when the thermal printing apparatus is in the line printing mode, the print contents are specifically the entire line print data; when the thermal printing device is in the column printing mode, the printing content is the whole column of printing data. Here, the thermal printing apparatus may be a thermal printer, or may be a terminal apparatus or a server having a thermal printing function, and the thermal printing apparatus includes at least a storage medium for storing data, a paper feed motor for thermal printing paper, a thermal dot for printing thermal printing paper, a thermistor for obtaining real-time temperature data of the thermal dot, and the like.
And 2, performing printing point counting processing on the printing content to generate content points, and generating first real-time content proportion data according to the ratio of the content points to the maximum printing points.
Here, when the thermal printing apparatus is in the line printing mode, the maximum number of printing dots is specifically the total number of all printing dots within one line; when the thermal printing apparatus is in the column printing mode, the maximum number of print dots is specifically the total number of all print dots within a column. For example, if the content dot count of the print content is 128 and the maximum print dot count is 512, the content percentage is 25%.
In addition, when the first real-time content ratio data is specifically 0, it indicates that there is no print content in the present row/column, and then the subsequent heating process for the thermal dots is not required.
And 3, acquiring real-time temperature data of the first thermosensitive point.
Specifically, the thermal printing device obtains the real-time temperature of the thermal point through the thermistor to generate first thermal point real-time temperature data.
Here, the real-time temperature of the thermal point is by default identical to the ambient temperature before the thermal point is not heated.
For example, the thermal printing apparatus is placed outdoors at an outdoor temperature of 11 ℃, and the temperature of the thermal point is identical to the ambient temperature before heating is not started, so that the real-time temperature data of the first thermal point is 11 ℃.
Step 4, acquiring a corresponding relation table of temperature interval range, content ratio and heating time;
wherein the corresponding relation table comprises a plurality of corresponding relation records; the correspondence record includes temperature data, content proportion data, and heating time data corresponding to the temperature data and the content proportion data.
Here, the structure of the correspondence table is as shown in table one, and is composed of M (M is an integer greater than 0) correspondence records, each of which includes one temperature data and one content proportion data and one heating time data corresponding to the temperature data and the content proportion data; here, the temperature data is a specific temperature interval range; the content proportion data is a specific content proportion interval range; the heating time data is time data for heating the thermosensitive dot.
Figure BDA0002488484060000061
Watch 1
And 5, inquiring the corresponding relation record of the corresponding relation table according to the first heat-sensitive point real-time temperature data and the first real-time content ratio data, and extracting corresponding heating time data as the heat-sensitive point heating time when the first heat-sensitive point real-time temperature data meets the temperature data and the first real-time content ratio data meets the content ratio data.
For example, the real-time temperature data of the first thermosensitive point is 11 ℃, the real-time content percentage data of the first thermosensitive point is 25%, and the corresponding relation table is specifically shown in table two, where M is 8, where T is1To T8Respectively recording corresponding heating time data in the corresponding relation; then the second thermal printing device inquires the table II, the 1 st, 2 nd, 3 rd and 4 th corresponding relation records are recorded according to the corresponding relation that the temperature interval range includes the first thermal point real-time temperature data (11 ℃), the 1 st corresponding relation record is obtained by searching the corresponding relation record that the content proportion interval range includes the first real-time content proportion data (25%) from the 1 st, 2 nd, 3 th and 4 th corresponding relation records, and the 1 st heating time data (T) is extracted from the 1 st corresponding relation record1) Obtaining the heating time data of the thermosensitive point as T1
Figure BDA0002488484060000062
Figure BDA0002488484060000071
Watch two
And 6, performing timing heating treatment on the thermosensitive point according to the heating time of the thermosensitive point.
Here, the thermal printing apparatus performs a timed heating process on the thermal dots using a heating current, which is thermal dot heating time data. For example, the heat-sensitive spot heating time data is T1The thermal printing equipment carries out timing heating treatment on the thermal point by using heating current, and the heating time of the current is T1
In addition, the thermal printing device can detect whether the real-time temperature of the thermal point reaches the target temperature data after the thermal point is heated according to the thermal point heating time data every time, can also automatically detect whether the real-time temperature of the thermal point reaches the target temperature data regularly, and can also provide a single triggering mode for detecting whether the real-time temperature of the thermal point reaches the target temperature data by the user selection. Wherein, whether the real-time temperature to the temperature sensing point reaches target temperature data detects, specifically includes:
acquiring target temperature data;
specifically, the thermal printing device acquires preset target temperature data from a storage medium;
here, the target temperature data is a specific target temperature interval range preset by the thermal printing device, when the real-time temperature of the thermal dots is within the target temperature interval range, the gray scale information of the printed pattern can reach a gray scale threshold (i.e. the printing color depth is normal), and the definition information of the printed pattern can reach a definition threshold (i.e. the printing can not generate blocking and pattern shading). For example, the target temperature data is 170 ℃ to 180 ℃;
acquiring real-time temperature data of a second thermosensitive point;
specifically, the thermal printing equipment obtains the real-time temperature of the thermal point through the thermistor to generate second thermal point real-time temperature data;
when the real-time temperature data of the second thermal point is lower than the target temperature data, generating insufficient heating compensation information of the thermal point;
here, there are various reasons for generating insufficient heat compensation information of the thermal point (for example, insufficient heat compensation due to aging of the thermal printing apparatus, insufficient heat compensation due to aging of the thermal point component, etc.), and the generation of insufficient heat compensation information of the thermal point indicates that the heating time given by the correspondence table needs to be adjusted when increasing; for example, the real-time temperature data of the second thermal point is 168 ℃, the thermal printing equipment considers that the thermal point is insufficiently heated and does not reach the target temperature data (170 ℃ to 180 ℃), and then insufficient thermal point heating compensation information is generated to prompt information and further activate a corresponding relation table time-increasing debugging process;
and when the real-time temperature data of the second thermosensitive point is higher than the target temperature data, generating the information that the heating compensation of the thermosensitive point is too large.
There are various reasons for generating the information that the heating compensation of the thermal point is too large (such as too large heating compensation due to too large heating current of the thermal printing device, etc.), and the generation of the information that the heating compensation of the thermal point is too large indicates that the heating time given by the correspondence table needs to be adjusted when the heating time needs to be reduced; for example, the real-time temperature data of the second thermal point is 181 ℃, the thermal printing device considers that the thermal point is overheated and exceeds the target temperature data (170 ℃ to 180 ℃), and then information of excessive thermal point heating compensation is generated for information prompt and further activation of the time reduction debugging process of the corresponding relation table.
In summary, when the thermal printing apparatus processes thermal printing, by referring to the method for heating thermal dots according to the temperature interval range and the content ratio provided by the embodiment of the present invention, by querying a corresponding relationship table of the temperature interval range, the content ratio and the heating time, corresponding thermal dot heating time data is acquired at different real-time temperatures and different content ratios to heat the thermal dots, so that the precision control of the thermal dot heating process is realized, and the stability of the thermal printing is improved.
In the second embodiment of the present invention, the corresponding relationship table of the temperature interval range, the content ratio, and the heating time used in the first embodiment is debugged, and when the corresponding relationship table is first put into use, the corresponding relationship table needs to be debugged (initialized), and when the thermal printing apparatus generates insufficient thermal point heating compensation information or excessive thermal point heating compensation information, the corresponding relationship table also needs to be debugged (increased or decreased).
As shown in fig. 2, which is a schematic diagram of a debugging method of a correspondence table of a temperature range, a content ratio and a heating time according to a second embodiment of the present invention, the method mainly includes the following steps:
step 101, acquiring a corresponding relation table of temperature interval range, content ratio and heating time;
wherein the corresponding relation table comprises a plurality of corresponding relation records; the correspondence record includes temperature data, content proportion data, and heating time data corresponding to the temperature data and the content proportion data.
Specifically, the thermal printing apparatus acquires a correspondence table of a temperature range, a content ratio, and a heating time from a local storage medium.
Here, the thermal printing apparatus may be a thermal printer, or may be a terminal apparatus or a server having a thermal printing function, and the thermal printing apparatus includes at least a storage medium for storing data, a paper feed motor for thermal printing paper, a thermal dot for printing thermal printing paper, a thermistor for obtaining real-time temperature data of the thermal dot, and the like. The structure of the corresponding relation table is shown in a table I, and the corresponding relation table consists of M (M is an integer larger than 0) corresponding relation records, wherein each corresponding relation record comprises temperature data, content proportion data and heating time data corresponding to the temperature data and the content proportion data; here, the temperature data is a specific temperature interval range; the content proportion data is a specific content proportion interval range; the heating time data is time data for heating the thermosensitive dot.
Step 102, sequentially marking the corresponding relation records in the corresponding relation table as debugging corresponding relation records; and taking the temperature data recorded by the debugging corresponding relation as initial temperature data, and taking the content proportion data recorded by the debugging corresponding relation as debugging content proportion data.
Here, in the second embodiment, the thermal printing apparatus will debug the heating time data in each corresponding relationship record in the corresponding relationship table, and mark the corresponding relationship record as a debugging corresponding relationship record before debugging each corresponding relationship record; the temperature data recorded by the debugging correspondence relation is used as initial temperature data (specifically, a temperature range), and the content proportion data recorded by the debugging correspondence relation (specifically, a content proportion range) is used as debugging content proportion data.
For example, when the thermal printing apparatus debugs the correspondence table, the specific content of the correspondence table is as shown in table two, when the 1 st correspondence record is debugged, the 1 st initial temperature data is in the temperature range of 10 ℃ to 20 ℃, and the 1 st debugged content proportion data is in the content proportion range of 0% to 25%; when the 2 nd corresponding relation record is debugged, the 2 nd initial temperature data is in the temperature range of 10 ℃ to 20 ℃, and the 2 nd debugging content proportion data is in the content proportion range of 25 percent to 50 percent; and analogizing in sequence, when the 8 th corresponding relation record is debugged, the 8 th initial temperature data is in the temperature range from 20 ℃ to 30 ℃, and the 8 th debugging content proportion data is in the content proportion range from 75% to 100%.
Step 103, acquiring target temperature data.
Specifically, the thermal printing apparatus acquires preset target temperature data from a storage medium.
Here, the target temperature data is a specific target temperature interval range preset by the thermal printing device, when the real-time temperature of the thermal dots is within the target temperature interval range, the gray level information of the printed pattern can reach a gray level threshold (i.e. the printing color depth is normal), and the definition information of the printed pattern can reach a definition threshold (i.e. the printing can not generate blocking and pattern shading). The target temperature data can be set before the thermal printing equipment leaves the factory, and can be modified after the thermal printing equipment leaves the factory. For example, the target temperature data is 170 ℃ to 180 ℃.
And step 104, heating the thermosensitive point according to the initial temperature data and the target temperature data, heating the real-time temperature of the thermosensitive point from the initial temperature data to the target temperature data, and counting the heating time to obtain the debugging heating time.
For example, the target temperature data is 170 ℃ to 180 ℃, the specific content of the correspondence table is shown in table two, when the thermal printing device debugs the 1 st correspondence record, the thermal point is subjected to timing heating treatment, the real-time temperature of the thermal point is heated from the temperature range of 10 ℃ to 20 ℃ to the temperature range of 170 ℃ to 180 ℃, and the obtained heating time is used as the 1 st debugging heating time; when the thermal printing equipment debugs the 2 nd corresponding relation record, the obtained heating time is used as the 2 nd debugging heating time; by analogy, when the thermal printing apparatus is debugging the 8 th correspondence record, the obtained heating time is taken as the 8 th debugging heating time.
And 105, acquiring debugging printing pattern information corresponding to the debugging content proportion data.
Here, the debug print pattern information is a fixed print pattern information (figure, character, or combination of character and figure) prepared specifically for the thermal printing apparatus to test the printing effect, and the ratio of the content dot number of the debug print pattern information to the maximum print dot number is equal to the debug content proportion data. For example, if the debug content ratio data is 35% and the maximum print dot number is 512, the content dot number of the debug print pattern information should be 179, and the debug print pattern information is one print pattern information including 179 print dot numbers.
Step 106, printing the debugging printing pattern information by using the thermal sensitive points to obtain a corresponding printing pattern, and performing printing effect identification processing on the printing pattern to obtain printing effect information;
wherein the printing effect information comprises printing gray information and printing definition information.
Here, the print effect information obtained by performing the print effect recognition processing on the print pattern mainly includes two pieces of information: printing gray information and printing definition information; print grey scale information sign printing colour effect (if the heat sensitive point heating is not enough can lead to the colour degree of depth not enough to make and print grey scale information not up to standard), print definition information sign printing definition effect (if the heat sensitive point heating too big can lead to printing the adhesion, the pattern is tinged, thereby makes and prints definition information not up to standard).
For example, the specific content of the correspondence table is as shown in table two, when the thermal printing device debugs the 1 st correspondence record, after heating the thermal point to the target temperature data through the 1 st debugging heating time, printing and effect identifying are performed on the debugging printing pattern information to obtain the 1 st printing effect information (including the 1 st printing gray scale information and the 1 st printing definition information); when the thermal printing equipment debugs the 2 nd corresponding relation record, obtaining 2 nd printing effect information (including 2 nd printing gray information and 2 nd printing definition information); by analogy, when the thermal printing apparatus is debugging the 8 th correspondence record, the 8 th printing effect information (including the 8 th printing gradation information and the 8 th printing definition information) is obtained.
Step 107, when the printing gray information is smaller than the gray threshold, increasing the debugging heating time to obtain increased debugging heating time; carrying out timing heating treatment on the thermosensitive point according to the increased debugging heating time, and heating the real-time temperature of the thermosensitive point from the initial temperature data to the target temperature data; go to step 106.
Here, the reason why the print gradation information is caused to be smaller than the gradation threshold value is that the temperature of the thermal dots is insufficient; on one hand, under the condition that the target temperature data is not changed, the debugging heating time of the thermal point is gradually increased according to the specified time increasing step, so that the temperature of the heated thermal point is adjusted from the bottom to the top of the interval range of the target temperature data; on the other hand, target temperature data can be directly improved, and debugging heating time is prolonged; after the heating time is increased, the thermal printing device heats the thermal point by using the heating time, and then the step 106 is carried out to continue the printing effect recognition until the recognized printing gray scale information exceeds the gray scale threshold value.
For example, the target temperature data is 170 ℃ to 180 ℃, the specific content of the correspondence table is shown in table two, and when the thermal printing device debugs the 1 st correspondence record, the obtained 1 st debugged heating time is T1If the 1 st printing gray scale information obtained by printing the debugging printing pattern information and identifying the effect does not meet the gray scale threshold, the thermal printing equipment takes 0.5 ms/time as the time increment step, and the 1 st debugging heating time is subjected to 1 time increment treatment to obtain the 1 st increased debugging heating time as T1′=T1+0.5ms, replacing the 1 st debug heating time before the increase time with the 1 st increase debug heating time to obtain a new 1 st debug heating time T1The thermal printing device starts heating the thermal point from the initial temperature data to the target temperature data with the new 1 st debugging heating time as the heating time, and then goes to step 106 to perform the printing effect recognition until the printing gray scale information is greater than or equal to the gray scale threshold value.
108, when the printing definition information is smaller than a definition threshold value, reducing the debugging heating time to obtain reduced debugging heating time; carrying out timing heating treatment on the thermosensitive point according to the reduced debugging heating time, and heating the real-time temperature of the thermosensitive point from the initial temperature data to the target temperature data; go to step 106.
Here, the reason why the print definition information is caused to be smaller than the definition threshold is that the temperature of the thermal dots is excessively high; on one hand, under the condition that the target temperature data is not changed, the debugging heating time of the thermal point is gradually reduced according to the specified time reduction step, so that the temperature of the heated thermal point is adjusted from the top to the bottom of the interval range of the target temperature data; on the other hand, target temperature data can be directly reduced, and debugging heating time is shortened; after the heating time is reduced, the thermal printing device heats the thermal point by using the heating time, and then goes to step 106 to continue the print effect recognition until the recognized print definition information exceeds the definition threshold.
For example, the target temperature range is 170 ℃ to 180 ℃, the specific content of the correspondence table is shown in table two, and when the thermal printing device debugs the 2 nd correspondence record, the obtained 2 nd debugging heating time is T2If the definition information of the 2 nd printing obtained by printing the debugging printing pattern information and identifying the effect does not satisfy the definition threshold value, the thermal printing equipment takes 0.5 ms/time as the time-reducing step length, and carries out 1 time-reducing treatment on the 2 nd debugging heating time to obtain the 2 nd time-reducing debugging heating time as T2′=T2-0.5ms, replacing the 2 nd commissioning heating time before the increase time with the 2 nd decreasing commissioning heating time resulting in a new 2 nd commissioning heating time T2The thermal printing device starts heating the thermal point from the initial temperature data to the target temperature data by taking the new 2 nd debugging heating time as the heating time, and then goes to step 106 to perform printing effect recognition until the printing definition information is greater than or equal to the definition threshold.
And step 109, when the printing gray information is greater than or equal to the gray threshold and the printing definition information is greater than or equal to the definition threshold, taking the debugging heating time as the heating time data recorded by the debugging corresponding relationship.
The debug heating time here is the latest debug heating time.
For example, the specific content of the correspondence table is as shown in table two, after debugging, the thermal printing apparatus adjusts all the correspondence records from 1 st to 8 th, and the adjusted 8 debugging heating times are respectively T'1、T′2、T′3、T′4、T′5、T′6、T′7And T'8: the corresponding relationship table after debugging is shown in table three:
Figure BDA0002488484060000131
watch III
In summary, when the thermal printing effect changes, the thermal printing apparatus incorporates the method for debugging the correspondence table of the temperature interval range, the content ratio and the heating time provided by the embodiment of the present invention, and can adjust the precision of the correspondence table.
According to the method for heating the thermal point according to the temperature interval range and the content proportion, the heating time data of the thermal point can be dynamically adjusted based on the corresponding relation table of the temperature interval range, the content proportion and the heating time, the precision control of the thermal point heating process is realized, and the stability of thermal printing is improved.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (7)

1. A method for heating a thermal point according to a temperature interval range and content ratio, the method comprising:
acquiring printing content;
performing printing point counting processing on the printing content to generate content points, and generating first real-time content proportion data according to the ratio of the content points to the maximum printing points;
acquiring real-time temperature data of a first thermosensitive point;
acquiring a corresponding relation table of temperature interval range, content ratio and heating time; the corresponding relation table comprises a plurality of corresponding relation records; the corresponding relation records comprise temperature data, content proportion data and heating time data corresponding to the temperature data and the content proportion data;
inquiring the corresponding relation record of the corresponding relation table according to the first heat-sensitive point real-time temperature data and the first real-time content proportion data, and extracting corresponding heating time data as heat-sensitive point heating time when the first heat-sensitive point real-time temperature data meets the temperature data and the first real-time content proportion data meets the content proportion data;
and carrying out timing heating treatment on the thermosensitive point according to the heating time of the thermosensitive point.
2. The method for heating a thermal point according to the temperature interval range and the content ratio as claimed in claim 1, wherein the method further comprises:
and when the first real-time content ratio data is 0, stopping heating processing on the thermosensitive point.
3. The method for heating a thermal point according to the temperature interval range and the content ratio as claimed in claim 1, wherein the method further comprises, after the thermal point is subjected to the timed heating process according to the thermal point heating time:
acquiring target temperature data;
acquiring real-time temperature data of a second thermosensitive point;
when the real-time temperature data of the second thermosensitive point is lower than the target temperature data, generating insufficient heating compensation information of the thermosensitive point;
and when the real-time temperature data of the second thermosensitive point is higher than the target temperature data, generating information that the thermosensitive point is too large in heating compensation.
4. The method for heating a thermal point according to the temperature interval range and the content ratio as claimed in claim 1 or 3, wherein the method further comprises:
acquiring the corresponding relation table;
sequentially marking the corresponding relation records in the corresponding relation table as debugging corresponding relation records; taking the temperature data recorded by the debugging corresponding relation as initial temperature data, and taking the content proportion data recorded by the debugging corresponding relation as debugging content proportion data;
acquiring the target temperature data;
heating a thermal point according to the initial temperature data and the target temperature data, heating the real-time temperature of the thermal point from the initial temperature data to the target temperature data, and counting the heating time to obtain a debugging heating time;
acquiring debugging printing pattern information corresponding to the debugging content proportion data;
printing the debugging printing pattern information by using the thermal sensitive dots to obtain a corresponding printing pattern, and performing printing effect identification processing on the printing pattern to obtain printing effect information; the printing effect information comprises printing gray scale information and printing definition information;
and when the printing gray information is greater than or equal to a gray threshold and the printing definition information is greater than or equal to a definition threshold, taking the debugging heating time as the heating time data recorded by the debugging corresponding relationship.
5. The method for heating a thermal point according to the temperature interval range and the content ratio as claimed in claim 4,
the ratio of the content points of the debugging printing pattern information to the maximum printing points is equal to the debugging content proportion data.
6. The method for heating a thermal point according to the temperature interval range and the content ratio as claimed in claim 4, wherein when the printing gradation information is less than the gradation threshold value, the method further comprises:
increasing the debugging heating time to obtain increased debugging heating time; carrying out timing heating treatment on the heat-sensitive point according to the increased debugging heating time, and heating the real-time temperature of the heat-sensitive point from the initial temperature data to the target temperature data;
and continuously printing the debugging printing pattern information by using the heated thermal sensitive dots to obtain the corresponding printing pattern, and continuously performing printing effect identification processing on the pattern printing result to obtain the printing effect information.
7. The method for heating a thermal dot according to the temperature interval range and the content ratio as claimed in claim 4, wherein when the print definition information is less than the definition threshold, the method further comprises:
reducing the debugging heating time to obtain reduced debugging heating time; carrying out timing heating treatment on the heat-sensitive point according to the reduced debugging heating time, and heating the real-time temperature of the heat-sensitive point from the initial temperature data to the target temperature data;
and continuously printing the debugging printing pattern information by using the heated thermal sensitive dots to obtain the corresponding printing pattern, and continuously performing printing effect identification processing on the pattern printing result to obtain the printing effect information.
CN202010398278.4A 2020-05-12 2020-05-12 Method for heating thermosensitive point according to temperature interval range and content ratio Active CN111483246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010398278.4A CN111483246B (en) 2020-05-12 2020-05-12 Method for heating thermosensitive point according to temperature interval range and content ratio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010398278.4A CN111483246B (en) 2020-05-12 2020-05-12 Method for heating thermosensitive point according to temperature interval range and content ratio

Publications (2)

Publication Number Publication Date
CN111483246A true CN111483246A (en) 2020-08-04
CN111483246B CN111483246B (en) 2022-04-08

Family

ID=71811947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010398278.4A Active CN111483246B (en) 2020-05-12 2020-05-12 Method for heating thermosensitive point according to temperature interval range and content ratio

Country Status (1)

Country Link
CN (1) CN111483246B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114851715A (en) * 2022-04-19 2022-08-05 福建慧捷通科技有限公司 Temperature alarm method for thermal printer

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1104586A (en) * 1993-05-17 1995-07-05 三星电子株式会社 Thermal printer and printing method thereof
CN102501641A (en) * 2011-10-10 2012-06-20 深圳市理邦精密仪器股份有限公司 Device and method for controlling heating time of thermosensitive head
CN104191824A (en) * 2014-09-19 2014-12-10 青岛海信智能商用系统有限公司 Thermal printer and method for controlling same
CN104309339A (en) * 2014-10-23 2015-01-28 福建联迪商用设备有限公司 Print control method and device of thermal printer
CN104494317A (en) * 2014-11-27 2015-04-08 深圳市理邦精密仪器股份有限公司 Apparatus and method for automatically adjusting heating time of thermo-sensitive printer
CN105984241A (en) * 2015-02-02 2016-10-05 深圳市科曼医疗设备有限公司 Thermal printer and thermal printing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1104586A (en) * 1993-05-17 1995-07-05 三星电子株式会社 Thermal printer and printing method thereof
CN102501641A (en) * 2011-10-10 2012-06-20 深圳市理邦精密仪器股份有限公司 Device and method for controlling heating time of thermosensitive head
CN104191824A (en) * 2014-09-19 2014-12-10 青岛海信智能商用系统有限公司 Thermal printer and method for controlling same
CN104309339A (en) * 2014-10-23 2015-01-28 福建联迪商用设备有限公司 Print control method and device of thermal printer
CN104494317A (en) * 2014-11-27 2015-04-08 深圳市理邦精密仪器股份有限公司 Apparatus and method for automatically adjusting heating time of thermo-sensitive printer
CN105984241A (en) * 2015-02-02 2016-10-05 深圳市科曼医疗设备有限公司 Thermal printer and thermal printing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114851715A (en) * 2022-04-19 2022-08-05 福建慧捷通科技有限公司 Temperature alarm method for thermal printer
CN114851715B (en) * 2022-04-19 2023-03-10 福建慧捷通科技有限公司 Temperature alarm method for thermal printer

Also Published As

Publication number Publication date
CN111483246B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
US8881251B1 (en) Electronic authentication using pictures and images
US7372475B2 (en) System and method for thermal transfer print head profiling
US7280242B2 (en) Printer control based on media attributes
CN111483246B (en) Method for heating thermosensitive point according to temperature interval range and content ratio
CN107346580B (en) Billing information recognition methods and device
CN111483248B (en) Method for heating thermosensitive point according to temperature interval range and paper feeding speed
CN111483249B (en) Method for heating thermosensitive point according to temperature interval range
CN111857611A (en) Print preview method, device, equipment and storage medium
CN105407244B (en) The detection device and detection method of colour killing ink image
CN111483247B (en) Method for heating thermosensitive point
CN111814779A (en) Bill text recognition method, device, equipment and storage medium
CN112099740B (en) Image output method and device and image output equipment
CN104842668A (en) Control method for printing system
US10291820B2 (en) Image processing apparatus, image processing system, image processing method, and non-transitory computer readable medium for registering reservation printing users
CN106626845B (en) The printing method of gray scale two dimensional code
CN115938244B (en) Multi-pen-shaped adaptive electronic paper book display method, system and storage medium
CN115583115B (en) Method and device for realizing thermal printing
US20040223645A1 (en) Generation of documents
CN111873638B (en) Printing head temperature compensation method and device, printer and storage medium
CN112257718A (en) Text recognition method and device for radiology department films
US10063728B2 (en) Information processing apparatus, image reading apparatus, information processing method, and non-transitory computer readable medium
EP1658990A2 (en) Apparatus for and a method of setting a print condition
GB2413419A (en) Authentication system
CN107451581B (en) A kind of method of batch Automatic Read Overmarginalia answering card
JP3019488B2 (en) Printing device

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