CN115760859A - Printing control method and device of thermal printer - Google Patents

Printing control method and device of thermal printer Download PDF

Info

Publication number
CN115760859A
CN115760859A CN202310036215.8A CN202310036215A CN115760859A CN 115760859 A CN115760859 A CN 115760859A CN 202310036215 A CN202310036215 A CN 202310036215A CN 115760859 A CN115760859 A CN 115760859A
Authority
CN
China
Prior art keywords
printing
printed
image
original
line
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
CN202310036215.8A
Other languages
Chinese (zh)
Other versions
CN115760859B (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 Weiyilian Technology Co ltd
Shenzhen Lianke Network Technology Co ltd
Original Assignee
Shenzhen Weiyilian Technology Co ltd
Shenzhen Lianke Network 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 Shenzhen Weiyilian Technology Co ltd, Shenzhen Lianke Network Technology Co ltd filed Critical Shenzhen Weiyilian Technology Co ltd
Priority to CN202310036215.8A priority Critical patent/CN115760859B/en
Publication of CN115760859A publication Critical patent/CN115760859A/en
Application granted granted Critical
Publication of CN115760859B publication Critical patent/CN115760859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the technical field of thermal printers, and discloses a printing control method of a thermal printer, which comprises the following steps: extracting texture features of an original thermosensitive printing image, judging whether the original thermosensitive printing image is a defective image or not according to the texture features, if so, alarming and displaying, if not, performing image enhancement operation on the original thermosensitive digital image by using an image enhancement formula to obtain a target thermosensitive digital image, splitting pixel points in the target thermosensitive digital image into a line set to be printed, identifying the printing width, performing printing sequence arrangement according to the printing width to obtain a line sequence set to be printed, and printing the target thermosensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed. The invention also provides a printing control device of the thermal printer, an electronic device and a computer readable storage medium. The invention can solve the problem of high failure rate of the current thermal printer.

Description

Printing control method and device of thermal printer
Technical Field
The present invention relates to the field of thermal printers, and in particular, to a method and an apparatus for controlling printing of a thermal printer, an electronic device, and a computer-readable storage medium.
Background
A thermal printer is a portable printer that prints by contacting thermal printing paper with a semiconductor heating element. The principle is that the thermal printing paper is heated through the printing head, so that chemical reaction is generated in the paper, the thermal printing paper is changed in color through the chemical reaction, and the printing effect is finally realized.
The current thermal printer usually can carry out product test when leaving the factory, nevertheless still can not avoid appearing the image that prints the defect in the in-service use, and because thermal printer head needs constantly frequent heating to realize printing effect, consequently current thermal printer has the phenomenon that the fault rate is high.
Disclosure of Invention
The invention provides a printing control method and device of a thermal printer and a computer readable storage medium, and mainly aims to solve the problem that the current thermal printer has high failure rate.
In order to achieve the above object, the present invention provides a printing control method for a thermal printer, including:
acquiring an original thermosensitive printing image, and extracting texture features of the original thermosensitive printing image by utilizing a pre-constructed gray level co-occurrence matrix algorithm;
judging whether the original thermosensitive printing image is a defective image or not according to the texture features;
if the original thermosensitive printing image is a defective image, alarming and displaying the defect information of the original thermosensitive printing image;
if the original thermosensitive printing image is not a defective image, performing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using a pre-constructed image enhancement formula to obtain a target thermosensitive digital image, wherein the image enhancement formula is as follows:
Figure 168440DEST_PATH_IMAGE001
wherein ,
Figure 86717DEST_PATH_IMAGE002
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 863044DEST_PATH_IMAGE003
the pixel average value representing the area of the region centered at (i, j),
Figure 691322DEST_PATH_IMAGE004
the gain in contrast is represented by the gain in contrast,
Figure 19535DEST_PATH_IMAGE005
representing the pixel value of the pixel point with the position (i, j);
splitting pixel points in the target thermosensitive digital image into a line set to be printed, and identifying the printing width of each line to be printed in the line set to be printed;
printing sequence arrangement is carried out on each line to be printed in the line set to be printed according to the printing width, and a line sequence set to be printed is obtained;
and printing the target thermal-sensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed, thereby finishing the printing control of the thermal printer.
Optionally, the extracting the texture features of the original thermal printing image by using a pre-constructed gray level co-occurrence matrix algorithm includes:
determining a gray level co-occurrence matrix according to the printing area of the original thermosensitive printing image;
extracting an interested area in the original thermosensitive printing image by utilizing the gray level co-occurrence matrix;
and calculating the texture characteristics of the region of interest by using a pre-constructed characteristic index calculation formula.
Optionally, the feature index calculation formula is as follows:
Figure 67519DEST_PATH_IMAGE006
wherein ,
Figure 647536DEST_PATH_IMAGE007
representing the probability of two adjacent pixel points with grey values a, b appearing in the original thermal printing image,
Figure 189376DEST_PATH_IMAGE008
the second moment of the angle is represented,
Figure 563857DEST_PATH_IMAGE009
the moment of inertia is represented by the angular velocity of the rotor,
Figure 332093DEST_PATH_IMAGE010
the entropy is represented as a function of the entropy,
Figure 309276DEST_PATH_IMAGE011
the moment of the negative difference is represented,
Figure 345103DEST_PATH_IMAGE012
indicating an autocorrelation.
Optionally, the determining whether the original thermal printing image is a defective image according to the texture features includes:
inputting the texture features into a pre-constructed BP neural network for defect classification to obtain an output judgment value of the original thermal printing image;
and judging whether the original thermosensitive printing image is a defective image or not according to the output judgment value.
Optionally, the alarm displaying the defect information of the original thermal printing image includes:
determining the defect type of the original thermal printing image according to the defect type value domain to which the output judgment value belongs;
inquiring a maintenance scheme corresponding to the defect type in a pre-constructed defect maintenance index table according to the defect type;
and integrating the defect type and the maintenance scheme to obtain the defect information, and carrying out alarm display on the defect information in a pre-constructed alarm window.
Optionally, the performing, by using a pre-constructed image enhancement formula, an image enhancement operation on the original thermal-sensitive digital image corresponding to the original thermal-sensitive print image to obtain a target thermal-sensitive digital image includes:
determining the size of a local average value area;
according to the local average value region size, calculating the pixel average value of the region area by using a pre-constructed pixel average value calculation formula, wherein the pixel average value calculation formula is as follows:
Figure 15118DEST_PATH_IMAGE013
where 2n +1 denotes the dimension of the side length of the region centered at (i, j),
Figure 270650DEST_PATH_IMAGE014
the coordinates of the pixel points representing the image enhancement,
Figure 51525DEST_PATH_IMAGE015
the horizontal coordinate value of the pixel point is represented,
Figure 443323DEST_PATH_IMAGE016
the longitudinal coordinate value of the pixel point is represented,
Figure 425185DEST_PATH_IMAGE017
the display position is
Figure 27068DEST_PATH_IMAGE018
The pixel value of the pixel point of (1);
and according to the local average value, performing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using the image enhancement formula to obtain a target thermosensitive digital image.
Optionally, the splitting the pixel points in the target thermal digital image into a line set to be printed, and identifying the printing width of each line to be printed in the line set to be printed includes:
setting a line distance to be printed according to a pre-constructed paper advancing distance of each step;
dividing pixel points in the target thermosensitive digital image into a line set to be printed according to the line distance to be printed;
identifying a printing starting point and a printing end point of each line to be printed in the line set to be printed;
and determining the printing width of each line to be printed according to the distance between the printing starting point and the printing end point of each line to be printed.
Optionally, the performing, according to the printing width, a printing sequence arrangement on each line to be printed in the line set to be printed to obtain a line sequence set to be printed includes:
sequentially arranging each line to be printed in the line set to be printed according to the printing width to obtain a serialized line set to be printed;
and numbering all the lines to be printed according to the sequence of the lines to be printed in the serialized line set to be printed to obtain the line ordered set to be printed.
Optionally, the printing the target thermal-sensitive digital image according to the printing sequence of the lines to be printed in the line sequence to be printed includes:
scanning lines to be printed in the target thermal-sensitive digital image back and forth according to the printing direction of the pre-constructed printing head and the serial numbers of the lines to be printed in the line sequence set to be printed to obtain a serialized line queue to be printed;
and printing the target thermal sensitive digital image according to the line queue to be printed.
In order to solve the above problems, the present invention also provides a print control apparatus of a thermal printer, the apparatus including:
the defect image alarm module is used for acquiring an original thermosensitive printing image and extracting texture features of the original thermosensitive printing image by utilizing a pre-constructed gray level co-occurrence matrix algorithm; judging whether the original thermosensitive printing image is a defective image or not according to the texture features; if the original thermosensitive printing image is a defective image, alarming and displaying the defect information of the original thermosensitive printing image;
an image enhancement module, configured to, if the original thermal-sensitive print image is not a defective image, perform an image enhancement operation on the original thermal-sensitive digital image corresponding to the original thermal-sensitive print image by using a pre-constructed image enhancement formula to obtain a target thermal-sensitive digital image, where the image enhancement formula is as follows:
Figure 988464DEST_PATH_IMAGE019
wherein ,
Figure 624982DEST_PATH_IMAGE020
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 512166DEST_PATH_IMAGE021
a pixel average value representing an area of a region centered at (i, j),
Figure 335766DEST_PATH_IMAGE022
the gain in contrast is represented by the gain in contrast,
Figure 599388DEST_PATH_IMAGE023
representing the pixel value of the pixel point with the position (i, j);
the printing width identification module is used for splitting pixel points in the target thermosensitive digital image into a line set to be printed and identifying the printing width of each line to be printed in the line set to be printed;
the printing sequence arrangement module is used for carrying out printing sequence arrangement on each line to be printed in the line set to be printed according to the printing width to obtain a line sequence set to be printed;
and the round-trip printing module is used for printing the target thermal sensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the printing control method of the thermal printer.
In order to solve the above problem, the present invention further provides a computer-readable storage medium having at least one instruction stored therein, where the at least one instruction is executed by a processor in an electronic device to implement the above printing control method for a thermal printer.
Compared with the background art: the method comprises the steps of extracting texture features of an original thermosensitive printing image through a gray level co-occurrence matrix algorithm, judging a defective image according to the texture features, timely repairing the defective image when the defective image exists, avoiding large waste, executing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using an image enhancement formula when the image is printed to obtain a target thermosensitive digital image, splitting pixel points in the target thermosensitive digital image into line sets to be printed when the image is actually printed, then performing printing sequence arrangement on each line to be printed according to a printing width to obtain line sets to be printed, and finally printing the target thermosensitive digital image according to the printing sequence of the lines to be printed in the line sets to be printed to complete printing control of the thermosensitive printer. Therefore, the printing control method and device of the thermal printer, the electronic equipment and the computer readable storage medium provided by the invention can solve the problem that the current thermal printer has high failure rate.
Drawings
Fig. 1 is a schematic flow chart illustrating a printing control method of a thermal printer according to an embodiment of the present invention;
FIG. 2 is a functional block diagram of a print control apparatus of a thermal printer according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device for implementing a printing control method of a thermal printer according to an embodiment of the present invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a printing control method of a thermal printer. The execution main body of the printing control method of the thermal printer includes, but is not limited to, at least one of electronic devices such as a server and a terminal, which can be configured to execute the method provided by the embodiment of the present application. In other words, the print control method of the thermal printer may be performed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Example 1:
referring to fig. 1, a schematic flow chart of a printing control method of a thermal printer according to an embodiment of the present invention is shown. In this embodiment, the print control method of a thermal printer includes:
s1, obtaining an original thermosensitive printing image, and extracting texture features of the original thermosensitive printing image by utilizing a pre-constructed gray level co-occurrence matrix algorithm.
Explicably, the original thermal printing image refers to the first image printed by the thermal printer for detecting the printing quality of the thermal printer. Because the thermal printer may have the defects of unclear area, bad track, partial ink shortage and the like of the printed image, the waste of resources can be effectively avoided and the printing efficiency is improved by detecting the first printed image.
Understandably, the gray level co-occurrence matrix algorithm (abbreviated as GLCM) is a matrix algorithm for extracting image texture features. For the prior art, it is not described herein.
In an embodiment of the present invention, the extracting texture features of the original thermal printing image by using a pre-constructed gray level co-occurrence matrix algorithm includes:
determining a gray level co-occurrence matrix according to the printing area of the original thermosensitive printing image;
extracting an interested region in the original thermosensitive printing image by utilizing the gray level co-occurrence matrix;
and calculating the texture characteristics of the region of interest by using a pre-constructed characteristic index calculation formula.
Illustratively, the gray level co-occurrence matrix refers to a sliding matrix that extracts texture features on the original thermally printed image. The interested region refers to the region of the gray level co-occurrence matrix and is used for extracting texture features.
In the embodiment of the present invention, the characteristic index calculation formula is as follows:
Figure 965779DEST_PATH_IMAGE006
wherein ,
Figure 148498DEST_PATH_IMAGE024
representing the probability of two adjacent pixel points with grey values a, b appearing in the original thermal printing image,
Figure 98874DEST_PATH_IMAGE025
the angular second-order moment is represented by,
Figure 25242DEST_PATH_IMAGE026
the moment of inertia is represented by the angular velocity of the rotor,
Figure 246139DEST_PATH_IMAGE027
the entropy is represented as a function of the entropy,
Figure 865339DEST_PATH_IMAGE028
the negative difference moment is represented as a function of,
Figure 538897DEST_PATH_IMAGE029
representing an autocorrelation.
Further, the Angular Second Moment (ASM) is also called energy in the gray level co-occurrence matrix, and reflects the uniformity of the gray level distribution of the image and the thickness of the texture. The moment of inertia, also called contrast in the gray level co-occurrence matrix, measures the distribution of matrix values and the local variation of the image. The inverse difference moment represents local uniformity of the image in the gray level co-occurrence matrix, namely a value for measuring the local variation size of the texture, and when the value is larger, the local uniformity is very uniform due to lack of variation among different areas of the image texture.
It can be understood that texture features in the gray level co-occurrence matrix in the directions of 45 degrees, 90 degrees and 135 degrees may be counted, and there may be 15 feature index data in total, and each feature index corresponds to three texture features in three directions.
And S2, judging whether the original thermosensitive printing image is a defective image or not according to the texture features.
In an embodiment of the present invention, the determining, by the texture feature, whether the original thermal printing image is a defective image includes:
inputting the texture features into a pre-constructed BP neural network for defect classification to obtain an output judgment value of the original thermosensitive printing image;
and judging whether the original thermosensitive printing image is a defective image or not according to the output judgment value.
Understandably, the BP neural network can be trained by using a pre-constructed training image set containing a defect image, so as to obtain a classification neural network which can perform defect identification and even defect classification on a corresponding image according to texture features. The input layer node of the BP neural network may be set according to the feature index number of the texture feature, for example: the number of the characteristic indexes is
Figure 3376DEST_PATH_IMAGE030
Representing the angular second moment (energy),
Figure 344359DEST_PATH_IMAGE031
representing the moment of inertia (contrast),
Figure 511292DEST_PATH_IMAGE032
the entropy is represented as a function of the entropy,
Figure 531200DEST_PATH_IMAGE033
the moment of the negative difference (consistency) is represented,
Figure 205895DEST_PATH_IMAGE034
when 5 feature indexes representing autocorrelation are provided, the number of the input layer nodes can be set to be 5, and each input layer node corresponds to one feature index.
And if the original thermosensitive printing image is a defective image, executing S3 and carrying out alarm display on the defective information of the original thermosensitive printing image.
It should be understood that the output layer nodes of the BP neural network may be set according to the number of defect classes pre-constructed, for example: when the defect type is respectively unclear, bad and local ink shortage, the number of the output layer nodes can be set to 3, the defect type value range of each output layer node is in the range of 0-1, each defect type value range corresponds to one defect type, and each defect type can have a corresponding possible fault and maintenance scheme, for example: when the defect type is not clear, the corresponding defect type value range can be (0-0.3), the possible fault can be poor contact of the printing head, the maintenance scheme is to replace the printing head, and finally the defect information can be obtained by arranging the defect type, the possible fault and the maintenance scheme so as to alarm and display.
In an embodiment of the present invention, the alarm displaying of the defect information of the original thermal printing image includes:
determining the defect type of the original thermal printing image according to the defect type value domain to which the output judgment value belongs;
inquiring a maintenance scheme corresponding to the defect type in a pre-constructed defect maintenance index table according to the defect type;
and integrating the defect type and the maintenance scheme to obtain the defect information, and carrying out alarm display on the defect information in a pre-constructed alarm window.
And if the original thermosensitive printing image is not a defective image, executing S4, and executing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using a pre-constructed image enhancement formula to obtain a target thermosensitive digital image.
The image enhancement formula is explainably constructed based on an ACE algorithm, the ACE algorithm can adjust the contrast of an image, achieve color constancy and brightness constancy of human eyes, calculate the relative light and shade relation between a target point and surrounding pixel points through difference to correct a final pixel value, and the pixel enhancement effect is very strong.
In detail, the image enhancement formula is as follows:
Figure 260439DEST_PATH_IMAGE035
wherein ,
Figure 831229DEST_PATH_IMAGE036
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 744958DEST_PATH_IMAGE037
a pixel average value representing an area of a region centered at (i, j),
Figure 816819DEST_PATH_IMAGE038
the gain in contrast is represented by the gain in contrast,
Figure 99771DEST_PATH_IMAGE039
and (d) representing the pixel value of the pixel point with the position (i, j).
Understandably, the contrast gain is an amplification factor for the high frequency portion of the original thermal digital image, typically greater than 1.
In an embodiment of the present invention, the performing, by using a pre-constructed image enhancement formula, an image enhancement operation on an original thermal-sensitive digital image corresponding to the original thermal-sensitive print image to obtain a target thermal-sensitive digital image includes:
determining the size of a local average area;
according to the local average value region size, calculating the pixel average value of the region area by using a pre-constructed pixel average value calculation formula, wherein the pixel average value calculation formula is as follows:
Figure 231675DEST_PATH_IMAGE040
where 2n +1 denotes the dimension of the side length of the region centered at (i, j),
Figure 101542DEST_PATH_IMAGE014
the coordinates of the pixel points representing the image enhancement,
Figure 242673DEST_PATH_IMAGE015
the horizontal coordinate value of the pixel point is represented,
Figure 147175DEST_PATH_IMAGE016
the longitudinal coordinate value of the pixel point is expressed,
Figure 184401DEST_PATH_IMAGE017
the display position is
Figure 807144DEST_PATH_IMAGE018
The pixel value of the pixel point of (1);
and according to the local average value, performing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using the image enhancement formula to obtain a target thermosensitive digital image.
Further, the ACE algorithm is the prior art, and is not described herein again.
And S5, splitting pixel points in the target thermosensitive digital image into a line set to be printed, and identifying the printing width of each line to be printed in the line set to be printed.
It will be appreciated that when the print head of the thermal printer is in a row, printing the target thermal digital image is a line-by-line thermal print on thermal paper. Thus, the target thermal digital image may be broken down into a plurality of lines to be printed, i.e., the set of lines to be printed. The print width refers to the distance from the start print position to the end print position of each line to be printed.
In an embodiment of the present invention, the splitting of the pixel points in the target thermal digital image into a line set to be printed and the identification of the printing width of each line to be printed in the line set to be printed includes:
setting a line distance to be printed according to the pre-constructed paper advancing distance of each step;
dividing pixel points in the target thermosensitive digital image into a line set to be printed according to the line distance to be printed;
identifying a printing starting point and a printing end point of each line to be printed in the line set to be printed;
and determining the printing width of each line to be printed according to the distance between the printing starting point and the printing end point of each line to be printed.
In detail, the paper travel distance per step refers to a travel distance of the thermal paper, and may be 0.063mm. The effective printing width of the thermal printer can be 48mm, the transverse density of a printing head of the thermal printer can be 8 dots/mm, the number of printing dots in each row is 384 dots, the size of the dots printed by the printing head can be 0.125mm x 0.12mm, and the dot spacing can be 0.125mm.
And S6, carrying out printing sequence arrangement on each line to be printed in the line set to be printed according to the printing width to obtain the line sequence set to be printed.
In an embodiment of the present invention, the performing, according to the printing width, a printing sequence arrangement on each line to be printed in the line set to be printed to obtain a line sequence set to be printed includes:
sequentially arranging each line to be printed in the line set to be printed according to the printing width to obtain a serialized line set to be printed;
and numbering all the lines to be printed according to the sequence of the lines to be printed in the serialized line set to be printed to obtain the line ordered set to be printed.
Understandably, after the printing width of each line to be printed in the line set to be printed is obtained, the lines to be printed can be arranged according to the printing width of each line to be printed, numbering is carried out according to the width sequence of the arrangement, each line to be printed has a corresponding printing number, and finally, thermal printing can be realized according to the printing numbers.
And S7, printing the target thermal-sensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed, and finishing the printing control of the thermal printer.
In an embodiment of the present invention, the printing the target thermal digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed includes:
scanning the lines to be printed in the target thermosensitive digital image back and forth according to the pre-constructed printing direction of the printing head and the serial numbers of the lines to be printed in the line sequence set to be printed to obtain a serialized line queue to be printed;
and printing the target thermal sensitive digital image according to the line queue to be printed.
It should be understood that, since the printing head needs to be heated by electronic components during printing, so as to achieve the printing effect on the printing paper, the frequent and constant change of the temperature on the printing head will reduce the service life of the printing head, so that the line to be printed can be selectively printed according to the printing width of the line to be printed, for example: when the printing widths of all the lines to be printed are respectively: 100. 99, 50, 300, 70 and 20, the line subsets to be printed with the lines to be printed being 20, 50, 70, 99, 100 and 300 respectively can be obtained by sequencing, and the printing can be performed according to the sequence of the line subsets to be printed, so that the loss of the printing head can be effectively avoided, and the service life of the printing head can be prolonged.
It can be understood that when the line to be printed is scanned, the line to be printed containing the serial number can be obtained by scanning from one end of the thermal paper to the other end, at this time, the line to be printed containing the serial number can be printed according to the serial number sequence, when the line to be printed is scanned to the end point, the line to be printed which is scanned and is serial can be scanned in the opposite direction to the coming direction, the line to be printed which is scanned is sequentially printed according to the serial number, and the line to be printed is repeatedly reciprocated until the printing of the target thermal digital image is completed.
Compared with the background art: the method comprises the steps of extracting texture features of an original thermosensitive printing image through a gray level co-occurrence matrix algorithm, judging a defective image according to the texture features, timely repairing the defective image when the defective image exists, avoiding large waste, executing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using an image enhancement formula when the image is printed to obtain a target thermosensitive digital image, splitting pixel points in the target thermosensitive digital image into line sets to be printed when the image is actually printed, then performing printing sequence arrangement on each line to be printed according to a printing width to obtain line sets to be printed, and finally printing the target thermosensitive digital image according to the printing sequence of the lines to be printed in the line sets to be printed to complete printing control of the thermosensitive printer. Therefore, the printing control method and device of the thermal printer, the electronic equipment and the computer readable storage medium provided by the invention can solve the problem that the current thermal printer has high failure rate.
Example 2:
fig. 2 is a functional block diagram of a print control apparatus of a thermal printer according to an embodiment of the present invention.
The print control apparatus 100 of the thermal printer according to the present invention may be installed in an electronic device. According to the realized functions, the printing control device 100 of the thermal printer can comprise a defect image alarm module 101, an image enhancement module 102, a printing width identification module 103, a printing sequence arrangement module 104 and a reciprocating printing module 105. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform a fixed function, and are stored in a memory of the electronic device.
The defect image alarm module 101 is configured to obtain an original thermal printing image, and extract texture features of the original thermal printing image by using a pre-constructed gray level co-occurrence matrix algorithm; judging whether the original thermosensitive printing image is a defective image or not according to the texture features; if the original thermosensitive printing image is a defective image, alarming and displaying the defect information of the original thermosensitive printing image;
the image enhancement module 102 is configured to, if the original thermal-sensitive print image is not a defective image, perform an image enhancement operation on the original thermal-sensitive digital image corresponding to the original thermal-sensitive print image by using a pre-constructed image enhancement formula to obtain a target thermal-sensitive digital image, where the image enhancement formula is as follows:
Figure 117078DEST_PATH_IMAGE041
wherein ,
Figure 721DEST_PATH_IMAGE042
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 84214DEST_PATH_IMAGE043
a pixel average value representing an area of a region centered at (i, j),
Figure 194253DEST_PATH_IMAGE022
the gain in contrast is represented by the ratio of,
Figure 411608DEST_PATH_IMAGE044
representing the pixel value of the pixel point with the position (i, j);
the printing width identification module 103 is configured to split pixel points in the target thermal digital image into a line set to be printed, and identify a printing width of each line to be printed in the line set to be printed;
the printing sequence arrangement module 104 is configured to perform printing sequence arrangement on each line to be printed in the line set to be printed according to the printing width to obtain a line sequence set to be printed;
the print module 105 is configured to print the target thermal-sensitive digital image according to the print order of the lines to be printed in the line order to be printed.
In detail, the modules in the print control apparatus 100 of the thermal printer according to the embodiment of the present invention adopt the same technical means as the print control method of the thermal printer described in fig. 1, and can produce the same technical effects, and are not described herein again.
Example 3:
fig. 3 is a schematic structural diagram of an electronic device for implementing a printing control method of a thermal printer according to an embodiment of the present invention.
The electronic device 1 may include a processor 10, a memory 11, a bus 12, and a communication interface 13, and may further include a computer program, such as a print control program of a thermal printer, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic apparatus 1 and various types of data, such as codes of a print control program of a thermal printer, etc., but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the whole electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., a print Control program of a thermal printer, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The print control program of the thermal printer stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, and when running in the processor 10, can realize:
acquiring an original thermosensitive printing image, and extracting texture features of the original thermosensitive printing image by utilizing a pre-constructed gray level co-occurrence matrix algorithm;
judging whether the original thermosensitive printing image is a defective image or not according to the texture features;
if the original thermosensitive printing image is a defect image, alarming and displaying the defect information of the original thermosensitive printing image;
if the original thermosensitive printing image is not a defective image, performing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using a pre-constructed image enhancement formula to obtain a target thermosensitive digital image, wherein the image enhancement formula is as follows:
Figure 25123DEST_PATH_IMAGE045
wherein ,
Figure 935310DEST_PATH_IMAGE046
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 765600DEST_PATH_IMAGE047
the pixel average value representing the area of the region centered at (i, j),
Figure 662012DEST_PATH_IMAGE048
the gain in contrast is represented by the gain in contrast,
Figure 520247DEST_PATH_IMAGE049
representing the pixel value of the pixel point with the position (i, j);
splitting pixel points in the target thermosensitive digital image into a line set to be printed, and identifying the printing width of each line to be printed in the line set to be printed;
printing sequence arrangement is carried out on each line to be printed in the line set to be printed according to the printing width, and a line sequence set to be printed is obtained;
and printing the target thermal-sensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed, thereby finishing the printing control of the thermal-sensitive printer.
Specifically, the specific implementation method of the instruction by the processor 10 may refer to the description of the relevant steps in the corresponding embodiments of fig. 1 to fig. 2, which is not repeated herein.
Further, the integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring an original thermosensitive printing image, and extracting texture features of the original thermosensitive printing image by utilizing a pre-constructed gray level co-occurrence matrix algorithm;
judging whether the original thermosensitive printing image is a defective image or not according to the texture features;
if the original thermosensitive printing image is a defect image, alarming and displaying the defect information of the original thermosensitive printing image;
if the original thermosensitive printing image is not a defective image, performing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using a pre-constructed image enhancement formula to obtain a target thermosensitive digital image, wherein the image enhancement formula is as follows:
Figure 476701DEST_PATH_IMAGE050
wherein ,
Figure 154807DEST_PATH_IMAGE051
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 854910DEST_PATH_IMAGE052
a pixel average value representing an area of a region centered at (i, j),
Figure 944482DEST_PATH_IMAGE053
the gain in contrast is represented by the gain in contrast,
Figure 196472DEST_PATH_IMAGE054
representing the pixel value of the pixel point with the position (i, j);
splitting pixel points in the target thermosensitive digital image into a line set to be printed, and identifying the printing width of each line to be printed in the line set to be printed;
printing sequence arrangement is carried out on each line to be printed in the line set to be printed according to the printing width, and a line sequence set to be printed is obtained;
and printing the target thermal-sensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed, thereby finishing the printing control of the thermal printer.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A print control method of a thermal printer, the method comprising:
acquiring an original thermosensitive printing image, and extracting texture features of the original thermosensitive printing image by utilizing a pre-constructed gray level co-occurrence matrix algorithm;
judging whether the original thermosensitive printing image is a defective image or not according to the texture features;
if the original thermosensitive printing image is a defective image, alarming and displaying the defect information of the original thermosensitive printing image;
if the original thermosensitive printing image is not a defective image, performing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using a pre-constructed image enhancement formula to obtain a target thermosensitive digital image, wherein the image enhancement formula is as follows:
Figure 134497DEST_PATH_IMAGE001
wherein ,
Figure 121301DEST_PATH_IMAGE002
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 416016DEST_PATH_IMAGE003
a pixel average value representing an area of a region centered at (i, j),
Figure 328608DEST_PATH_IMAGE004
the gain in contrast is represented by the gain in contrast,
Figure 75985DEST_PATH_IMAGE005
representing the pixel value of the pixel point with the position (i, j);
splitting pixel points in the target thermosensitive digital image into a line set to be printed, and identifying the printing width of each line to be printed in the line set to be printed;
printing sequence arrangement is carried out on each line to be printed in the line set to be printed according to the printing width, and a line sequence set to be printed is obtained;
and printing the target thermal-sensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed, thereby finishing the printing control of the thermal-sensitive printer.
2. The print control method of a thermal printer according to claim 1, wherein said extracting texture features of said original thermal print image using a pre-constructed gray level co-occurrence matrix algorithm comprises:
determining a gray level co-occurrence matrix according to the printing area of the original thermosensitive printing image;
extracting an interested region in the original thermosensitive printing image by utilizing the gray level co-occurrence matrix;
and calculating the texture characteristics of the region of interest by using a pre-constructed characteristic index calculation formula.
3. The print control method of a thermal printer according to claim 2, wherein the characteristic index calculation formula is as follows:
Figure 630594DEST_PATH_IMAGE006
wherein ,
Figure 91400DEST_PATH_IMAGE007
representing the probability of two adjacent pixel points with grey values a, b appearing in the original thermal printing image,
Figure 706052DEST_PATH_IMAGE008
the second moment of the angle is represented,
Figure 675145DEST_PATH_IMAGE009
the moment of inertia is represented by the angular velocity of the rotor,
Figure 502287DEST_PATH_IMAGE010
the entropy is represented as a function of the entropy,
Figure 771594DEST_PATH_IMAGE011
the moment of the negative difference is represented,
Figure 25989DEST_PATH_IMAGE012
indicating an autocorrelation.
4. The print control method of a thermal printer according to claim 2, wherein said judging whether the original thermal print image is a defective image based on the texture feature comprises:
inputting the texture features into a pre-constructed BP neural network for defect classification to obtain an output judgment value of the original thermal printing image;
and judging whether the original thermosensitive printing image is a defective image or not according to the output judgment value.
5. The print control method of a thermal printer according to claim 4, wherein said alarm-displaying the defect information of said original thermal print image comprises:
determining the defect type of the original thermal printing image according to the defect type value domain to which the output judgment value belongs;
inquiring a maintenance scheme corresponding to the defect type in a pre-constructed defect maintenance index table according to the defect type;
and integrating the defect type and the maintenance scheme to obtain the defect information, and carrying out alarm display on the defect information in a pre-constructed alarm window.
6. The print control method of a thermal printer according to claim 1, wherein said performing an image enhancement operation on the original thermal digital image corresponding to said original thermal print image using a pre-constructed image enhancement formula to obtain a target thermal digital image comprises:
determining the size of a local average area;
according to the local average value region size, calculating the pixel average value of the region area by using a pre-constructed pixel average value calculation formula, wherein the pixel average value calculation formula is as follows:
Figure 482378DEST_PATH_IMAGE013
where 2n +1 denotes the dimension of the side length of the region centered at (i, j),
Figure 880255DEST_PATH_IMAGE014
the coordinates of the pixel points representing the image enhancement,
Figure 613856DEST_PATH_IMAGE015
the horizontal coordinate value of the pixel point is represented,
Figure 429365DEST_PATH_IMAGE016
the longitudinal coordinate value of the pixel point is expressed,
Figure 248416DEST_PATH_IMAGE017
the display position is
Figure 948519DEST_PATH_IMAGE018
The pixel value of the pixel point of (1);
and according to the local average value, performing image enhancement operation on the original thermosensitive digital image corresponding to the original thermosensitive printing image by using the image enhancement formula to obtain a target thermosensitive digital image.
7. The method of claim 6, wherein the splitting the pixel points in the target thermal digital image into a set of lines to be printed and identifying the print width of each line to be printed in the set of lines to be printed comprises:
setting a line distance to be printed according to the pre-constructed paper advancing distance of each step;
dividing pixel points in the target thermosensitive digital image into a line set to be printed according to the line distance to be printed;
identifying a printing starting point and a printing end point of each line to be printed in the line set to be printed;
and determining the printing width of each line to be printed according to the distance between the printing starting point and the printing end point of each line to be printed.
8. The printing control method of a thermal printer according to claim 7, wherein the performing of the printing sequence arrangement on each line to be printed in the line set to be printed according to the printing width to obtain a line sequence set to be printed comprises:
sequentially arranging each line to be printed in the line set to be printed according to the printing width to obtain a serialized line set to be printed;
and numbering all the lines to be printed according to the sequence of the lines to be printed in the serialized line set to be printed to obtain the line ordered set to be printed.
9. The print control method of a thermal printer according to claim 8, wherein said printing the target thermal digital image according to the print order of the lines to be printed in the line order to be printed comprises:
scanning the lines to be printed in the target thermosensitive digital image back and forth according to the pre-constructed printing direction of the printing head and the serial numbers of the lines to be printed in the line sequence set to be printed to obtain a serialized line queue to be printed;
and printing the target thermal sensitive digital image according to the line queue to be printed.
10. A print control apparatus of a thermal printer, characterized in that the apparatus comprises:
the defect image alarm module is used for acquiring an original thermosensitive printing image and extracting texture features of the original thermosensitive printing image by utilizing a pre-constructed gray level co-occurrence matrix algorithm; judging whether the original thermosensitive printing image is a defective image or not according to the texture features; if the original thermosensitive printing image is a defective image, alarming and displaying the defect information of the original thermosensitive printing image;
an image enhancement module, configured to, if the original thermal-sensitive print image is not a defective image, perform an image enhancement operation on the original thermal-sensitive digital image corresponding to the original thermal-sensitive print image by using a pre-constructed image enhancement formula to obtain a target thermal-sensitive digital image, where the image enhancement formula is as follows:
Figure 661260DEST_PATH_IMAGE019
wherein ,
Figure 287151DEST_PATH_IMAGE020
a pixel enhancement value representing the coordinates (i, j) of a pixel point,
Figure 718133DEST_PATH_IMAGE021
the pixel average value representing the area of the region centered at (i, j),
Figure 956347DEST_PATH_IMAGE022
the gain in contrast is represented by the gain in contrast,
Figure 398961DEST_PATH_IMAGE023
representing the pixel value of the pixel point with the position (i, j);
the printing width identification module is used for splitting pixel points in the target thermosensitive digital image into a line set to be printed and identifying the printing width of each line to be printed in the line set to be printed;
the printing sequence arrangement module is used for carrying out printing sequence arrangement on each line to be printed in the line set to be printed according to the printing width to obtain a line sequence set to be printed;
and the round-trip printing module is used for printing the target thermal sensitive digital image according to the printing sequence of the lines to be printed in the line sequence set to be printed.
CN202310036215.8A 2023-01-10 2023-01-10 Printing control method and device of thermal printer Active CN115760859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310036215.8A CN115760859B (en) 2023-01-10 2023-01-10 Printing control method and device of thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310036215.8A CN115760859B (en) 2023-01-10 2023-01-10 Printing control method and device of thermal printer

Publications (2)

Publication Number Publication Date
CN115760859A true CN115760859A (en) 2023-03-07
CN115760859B CN115760859B (en) 2023-04-25

Family

ID=85348958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310036215.8A Active CN115760859B (en) 2023-01-10 2023-01-10 Printing control method and device of thermal printer

Country Status (1)

Country Link
CN (1) CN115760859B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1915677A (en) * 2005-08-19 2007-02-21 精工爱普生株式会社 Thermal printer
US20100330262A1 (en) * 2009-06-30 2010-12-30 Canon Kabushiki Kaisha Recording apparatus and sheet processing method
US20140093139A1 (en) * 2012-09-28 2014-04-03 Fujifilm Corporation Image evaluation device, image evaluation method and program storage medium
CN104105601A (en) * 2011-11-18 2014-10-15 柯达阿拉里斯股份有限公司 Thermal printer with multiple printheads
US20160065861A1 (en) * 2003-06-26 2016-03-03 Fotonation Limited Modification of post-viewing parameters for digital images using image region or feature information
US20180096472A1 (en) * 2016-09-30 2018-04-05 Fujifilm Corporation Image inspection method, image inspection device, program, and image recording system
CN109634540A (en) * 2018-11-29 2019-04-16 深圳市新国都支付技术有限公司 A kind of mobile phone control image printing method and mobile phone
CN109683833A (en) * 2018-12-19 2019-04-26 森大(深圳)技术有限公司 Image enchancing method, system, equipment and storage medium to be printed
US20190215410A1 (en) * 2018-01-05 2019-07-11 Datamax-O'neil Corporation Methods, apparatuses, and systems for detecting printing defects and contaminated components of a printer
CN111591057A (en) * 2020-03-29 2020-08-28 许铂 Printing method of printer with multiple thermal sensitive heads
CN111596869A (en) * 2020-04-29 2020-08-28 厦门汉印电子技术有限公司 Printing data typesetting method and device, printer and storage medium
CN111959129A (en) * 2020-08-04 2020-11-20 厦门汉印电子技术有限公司 Bad point detection method and device for printing head and thermal printer
CN112060777A (en) * 2019-06-11 2020-12-11 深圳华智融科技股份有限公司 Thermal printing method and device and terminal equipment
CN113590058A (en) * 2021-08-11 2021-11-02 深圳市链科网络科技有限公司 Cloud printing method and equipment
CN114274692A (en) * 2020-12-20 2022-04-05 上海商米科技集团股份有限公司 Gray scale printing method of thermal printer
CN114372913A (en) * 2021-12-29 2022-04-19 深圳飞思通科技有限公司 Image enhancement processing method for printing sixteen-level gray image based on thermal printer
CN216507481U (en) * 2021-10-19 2022-05-13 深圳市链科网络科技有限公司 Thermal printer
CN115390774A (en) * 2022-08-26 2022-11-25 惠州市博实结科技有限公司 Rapid printing method based on portable thermal printer and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160065861A1 (en) * 2003-06-26 2016-03-03 Fotonation Limited Modification of post-viewing parameters for digital images using image region or feature information
CN1915677A (en) * 2005-08-19 2007-02-21 精工爱普生株式会社 Thermal printer
US20100330262A1 (en) * 2009-06-30 2010-12-30 Canon Kabushiki Kaisha Recording apparatus and sheet processing method
CN104105601A (en) * 2011-11-18 2014-10-15 柯达阿拉里斯股份有限公司 Thermal printer with multiple printheads
US20140093139A1 (en) * 2012-09-28 2014-04-03 Fujifilm Corporation Image evaluation device, image evaluation method and program storage medium
US20180096472A1 (en) * 2016-09-30 2018-04-05 Fujifilm Corporation Image inspection method, image inspection device, program, and image recording system
US20190215410A1 (en) * 2018-01-05 2019-07-11 Datamax-O'neil Corporation Methods, apparatuses, and systems for detecting printing defects and contaminated components of a printer
CN109634540A (en) * 2018-11-29 2019-04-16 深圳市新国都支付技术有限公司 A kind of mobile phone control image printing method and mobile phone
CN109683833A (en) * 2018-12-19 2019-04-26 森大(深圳)技术有限公司 Image enchancing method, system, equipment and storage medium to be printed
CN112060777A (en) * 2019-06-11 2020-12-11 深圳华智融科技股份有限公司 Thermal printing method and device and terminal equipment
CN111591057A (en) * 2020-03-29 2020-08-28 许铂 Printing method of printer with multiple thermal sensitive heads
CN111596869A (en) * 2020-04-29 2020-08-28 厦门汉印电子技术有限公司 Printing data typesetting method and device, printer and storage medium
CN111959129A (en) * 2020-08-04 2020-11-20 厦门汉印电子技术有限公司 Bad point detection method and device for printing head and thermal printer
CN114274692A (en) * 2020-12-20 2022-04-05 上海商米科技集团股份有限公司 Gray scale printing method of thermal printer
CN113590058A (en) * 2021-08-11 2021-11-02 深圳市链科网络科技有限公司 Cloud printing method and equipment
CN216507481U (en) * 2021-10-19 2022-05-13 深圳市链科网络科技有限公司 Thermal printer
CN114372913A (en) * 2021-12-29 2022-04-19 深圳飞思通科技有限公司 Image enhancement processing method for printing sixteen-level gray image based on thermal printer
CN115390774A (en) * 2022-08-26 2022-11-25 惠州市博实结科技有限公司 Rapid printing method based on portable thermal printer and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
彭思阳 等: "热敏打印机打印缺陷检测方法研究" *

Also Published As

Publication number Publication date
CN115760859B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN103439348B (en) Remote controller key defect detection method based on difference image method
US8605986B2 (en) Burr detecting apparatus and burr detection method thereof
CN109532239B (en) Printer segmented printing method and device and thermal printer
CN112861648A (en) Character recognition method and device, electronic equipment and storage medium
CN113920117B (en) Panel defect area detection method and device, electronic equipment and storage medium
CN112580684A (en) Target detection method and device based on semi-supervised learning and storage medium
CN113657385B (en) Data detection method and device of electronic metering device and electronic equipment
US20130201533A1 (en) Image evaluating apparatus, image evaluating method, and non-transitory storage medium
CN111950523A (en) Ship detection optimization method and device based on aerial photography, electronic equipment and medium
CN112637341B (en) File uploading method and device, electronic equipment and storage medium
CN115760859A (en) Printing control method and device of thermal printer
CN109130542B (en) Method and device for detecting printing state of bill through black mark sensor
US7843597B2 (en) Separator page processing system
CN112862703A (en) Image correction method and device based on mobile photographing, electronic equipment and medium
CN112990374A (en) Image classification method, device, electronic equipment and medium
CN112668575A (en) Key information extraction method and device, electronic equipment and storage medium
CN111814743A (en) Handwriting recognition method and device and computer readable storage medium
CN113630594B (en) Bad point detection system of display panel
JP2020047151A (en) Image forming apparatus, inspection object collation apparatus, inspection object collation system, and inspection object collation method
CN109241821A (en) A kind of color laser printing hard-copy file classification discrimination method
CN113766312A (en) Method, device, equipment and storage medium for calculating response delay between equipment
CN115035522B (en) Intelligent identification method and device for character defects of components
CN112836779B (en) Printing device of one-dimensional code format
CN108596167A (en) A kind of elongated optical character word system for rapidly identifying and method, model
WO2022227191A1 (en) Inactive living body detection method and apparatus, electronic device, 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