CN111267489B - Print data processing method, device, equipment and storage medium - Google Patents

Print data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111267489B
CN111267489B CN202010189749.0A CN202010189749A CN111267489B CN 111267489 B CN111267489 B CN 111267489B CN 202010189749 A CN202010189749 A CN 202010189749A CN 111267489 B CN111267489 B CN 111267489B
Authority
CN
China
Prior art keywords
data
printing
dot matrix
dot
original image
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.)
Active
Application number
CN202010189749.0A
Other languages
Chinese (zh)
Other versions
CN111267489A (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 Hansen Software Co ltd
Original Assignee
Shenzhen Hosonsoft 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 Hosonsoft Co Ltd filed Critical Shenzhen Hosonsoft Co Ltd
Priority to CN202010189749.0A priority Critical patent/CN111267489B/en
Publication of CN111267489A publication Critical patent/CN111267489A/en
Application granted granted Critical
Publication of CN111267489B publication Critical patent/CN111267489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/07Ink jet characterised by jet control
    • B41J2/11Ink jet characterised by jet control for ink spray
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns

Landscapes

  • Ink Jet (AREA)

Abstract

The invention relates to the technical field of ink-jet printing, in particular to a method, a device, equipment and a storage medium for processing print data, wherein the method comprises the following steps of S1: acquiring original image dot matrix data of an image to be printed, wherein the original image dot matrix data comprises a plurality of dot data representing ink quantity; step S2: inserting one or more blank dot data representing that ink does not appear into the original image dot matrix data to obtain second image dot matrix data; step S3: and outputting the second image dot matrix data for ink-jet printing. By adding one or more blank point data to the dot matrix data of the original image, the printing precision of the image can be increased, and the printing effect of the image can be optimized.

Description

Print data processing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of ink-jet printing, in particular to a printing data processing method, a device, equipment and a storage medium.
Background
In the ink-jet printing process, the original image can be processed to obtain the dot matrix data of the original image. Processing an original image to obtain original image dot matrix data, comprising: carrying out dot segmentation on the original image, and segmenting the original image into images of a plurality of small areas; and generating original image dot matrix data according to the position and the state of each small-area image. The position of each point data in the dot matrix data of the original image corresponds to the position of the small area image corresponding to the point data in the original image. The size of each dot data corresponds to the form of the small-area image corresponding to the dot data, such as the gradation of the image.
In the prior art, after an original image is divided into original image dot matrix data, the original image dot matrix data is used for printing to generate a printed image. The state of the printed image generated by printing is consistent with the division mode of dividing the original image into dots, the dot division mode of the original image determines the state of the printed image, and a printing data processing method for optimizing the printing effect by optimizing the dot matrix data of the original image after the dot division of the original image is performed to form the dot matrix data of the original image is lacked.
Disclosure of Invention
The embodiment of the invention provides a method, a device and equipment for processing print data and a storage medium. The printing data processing method, the printing data processing device, the printing data processing equipment and the printing data processing storage medium can optimize the printing effect to a certain extent.
In a first aspect, an embodiment of the present invention provides a print data processing method, where the method includes:
step S1: acquiring original image dot matrix data of an image to be printed, wherein the original image dot matrix data comprises a plurality of dot data representing ink quantity;
step S2: inserting one or more blank dot data representing that ink does not appear into the original image dot matrix data to obtain second image dot matrix data;
step S3: and outputting the second image dot matrix data for ink-jet printing.
In a second aspect, an embodiment of the present invention further provides a print data processing apparatus, including:
the system comprises an acquisition module, a printing module and a printing module, wherein the acquisition module is used for acquiring original image dot matrix data of an image to be printed, and the original image dot matrix data comprises a plurality of dot data representing ink amount;
the inserting module is used for inserting one or more blank dot data representing no ink in the original image dot matrix data to obtain second image dot matrix data;
and the output module is used for outputting the second image dot matrix data for ink-jet printing.
In a third aspect, an embodiment of the present invention provides a print data processing apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described print data processing method.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described print data processing method.
In summary, the print data processing method, apparatus, device and storage medium provided by the embodiments of the present invention can increase the printing precision of an image by inserting one or more blank dot data into the dot matrix data of an original image, thereby optimizing the image printing effect.
Drawings
FIG. 1 is a diagram of a nozzle arrangement for a print head according to an embodiment of the present invention;
2-4 are graphs of the printing effect of each PASS when printing is carried out by using the printing nozzle and the original image dot matrix data in FIG. 1;
FIGS. 5-8 are graphs of the printing effect of each PASS when printing is performed by using the printing nozzle and the second image dot matrix data in FIG. 1;
FIG. 9 is a flow chart illustrating a method of processing print data according to an embodiment of the present invention;
FIG. 10 is a flow chart illustrating a method of processing print data according to an embodiment of the present invention;
FIG. 11 is a diagram of the effect of printing when printing with a line of data in the original dot matrix data;
FIG. 12 is a flow chart illustrating a method of processing print data according to an embodiment of the present invention;
FIG. 13 is a flowchart illustrating a method of processing print data according to an embodiment of the present invention;
FIG. 14 is a schematic diagram showing a connection of a print data processing apparatus according to an embodiment of the present invention;
FIG. 15 is a schematic diagram showing a connection of a print data processing apparatus according to an embodiment of the present invention;
FIG. 16 is a schematic diagram showing a connection of a print data processing apparatus according to an embodiment of the present invention;
fig. 17 is a connection diagram of respective parts of a print data processing apparatus according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Before image printing, original image dot matrix data of an image to be printed is acquired, and the original image dot matrix data can be used as the following matrix A
Figure BDA0002415446120000031
And (4) showing.
The matrix A is an m-row n-column matrix, and a graph displayed by the spray head on the matrix AAnd printing the image dot matrix data. The print head used for printing comprises a plurality of rows of nozzles. The arrangement of the nozzles on the head is shown in fig. 1. In the figure z is the distance between two adjacent rows of nozzles. A in matrix A11、a12、a13…amnAnd the dot data is used for controlling the printing and jetting to form one ink dot.
The nozzle adopts a 3PASS printing mode, and can realize printing of original image dot matrix data in the matrix A.
Fig. 2 shows the printed effect diagram when the first PASS printing is performed. A first row of nozzles in the spray head prints a first row of data in the matrix A, and the first row of ink dots in the figure 2 are formed by printing; a second row of nozzles in the nozzle head prints the fourth row of data in the matrix A, and the second row of ink dots in the second row in FIG. 2 are formed by printing; the third row of nozzles in the head prints the seventh row of data in matrix a, printing the second row of dots forming fig. 2. The spacing between each row of dots is equal to the distance z between two adjacent rows of nozzles in the head.
After the nozzle is moved downwards along the vertical direction by the sixth distance e, the printed effect graph is shown in fig. 3. The head performs a second PASS printing. The first row of nozzles in the nozzle prints a second row of data in the matrix A, and the second row of ink dots in the second row of the ink dots in the second matrix A are formed in a printing mode; a second row of nozzles in the nozzle head prints a fifth row of data in the matrix A, and the fourth row of ink dots in the figure 3 are formed by printing; the third row of nozzles in the head prints the eighth row of data in matrix a, forming the sixth row of dots in fig. 3.
After the nozzle is moved downwards along the vertical direction by the sixth distance e, the printed effect diagram is shown in fig. 4. The head performs the third PASS printing. The first row of nozzles in the nozzle prints the data of the third row in the matrix A, and the third row of ink dots in the figure 4 are formed by printing; a second row of nozzles in the nozzle head prints a sixth row of data in the matrix a, forming a sixth row of ink dots in fig. 4; the third row of nozzles in the head prints the ninth row of data in matrix a, printing the ninth row of dots forming fig. 4.
And the third step distance e of the spray head is equal to z/3. z is the distance between two adjacent rows of nozzles.
In order to improve the printing effect of the image, the image is subjected to extended PASS printing. The 3PASS printing mode is changed to the 4PASS printing mode or the 5PASS printing mode. To implement extended PASS printing of the original image dot matrix data, one or more lines of dummy dot data may be inserted into the original image dot matrix data. The nozzles of the head do not eject ink under the control of blank dot data.
If the 3PASS mode is changed to the 4PASS mode, it is necessary to insert one line of blank dot data in every adjacent three lines of the original image dot matrix data and make the inserted blank dot data not adjacent to each other to prevent continuous blank dots from being formed on the print-formed pattern, thereby acquiring the second image dot matrix data, which can be represented by the matrix B.
After the interpolation operation, the resulting matrix B is as follows:
Figure BDA0002415446120000051
data a in matrix B0I.e. the inserted blank dot data, the nozzles of the head do not discharge ink under the control of this data.
The nozzle adopts a 4PASS printing mode, and can realize the printing of the second image dot matrix data in the matrix B.
Fig. 5 shows the printed effect diagram when the first PASS printing is performed. A first row of nozzles in the nozzle head prints a first row of data in the matrix B, printing forming a first row of ink dots in fig. 5; a second row of nozzles in the nozzle prints the fifth row of data in matrix B, forming a second row of ink dots in fig. 5; the third row of nozzles in the head prints the ninth row of data in matrix B, printing the third row of dots forming figure 5,
after the nozzle is moved downwards along the vertical direction by the seventh distance h, the nozzle performs the second PASS printing, and the printed effect graph is shown in fig. 6. A first row of nozzles in the nozzle head prints a second row of data in the matrix B, and the second row of ink dots in the matrix B is formed by printing; a second row of nozzles in the head prints a sixth row of data in matrix B, forming a fourth row of ink dots in fig. 6; the third row of nozzles in the head prints the tenth row of data in matrix B, forming the sixth row of dots in fig. 6.
After the nozzle is moved downwards along the vertical direction for the seventh distance h, the printed effect graph is shown in fig. 7. The head performs the third PASS printing. The first row of nozzles in the nozzle prints the data of the third row in the matrix B, and the third row of ink dots in the figure 7 are formed by printing; a second row of nozzles in the head prints a seventh row of data in matrix B, forming a sixth row of ink dots in fig. 7; the third row of nozzles in the head prints the eleventh row of data in matrix B, printing the ninth row of dots forming fig. 7.
After the nozzle is moved downwards along the vertical direction by the seventh distance h, the printed effect graph is shown in fig. 8. The head performs the fourth PASS printing. The first row of nozzles in the nozzle head prints the fourth row of data in the matrix B, and the fourth row of ink dots in the matrix B are formed by printing; a second row of nozzles in the nozzle prints the eighth row of data in matrix B, and the eighth row of ink dots in FIG. 8 are formed by printing; the twelfth row of nozzles in the head prints the twelfth row of data in matrix B, forming the twelfth row of dots in fig. 8.
The fourth step distance h, z/4, e, 3/4, e being the fifth distance.
An embodiment of the present invention provides a print data processing method, as shown in fig. 9, including the following steps S1-S3.
Step S1: the method comprises the steps of obtaining original image dot matrix data of an image to be printed, wherein the original image dot matrix data comprises a plurality of dot data representing ink quantity.
In the image printing process, the original image is firstly scanned to obtain the dot matrix data of the original image, and then the dot matrix data of the original image is utilized to perform ink-jet printing to generate the image to be printed.
In one embodiment, scanning the original image and obtaining original image dot matrix data comprises: carrying out dot segmentation, and segmenting an original image into a plurality of small-area images; aiming at any small area image in each small area image, generating point data corresponding to the small area image in original image dot matrix data according to the form of the small area image, such as gray scale, pixel and the like; the dot data corresponding to the small-area image in the original image dot matrix data has the same positional order in the original image dot matrix data as the positional order of the small-area image in each of the small-area images formed by dividing the original image.
In one embodiment, the original image dot matrix data is arranged in a matrix.
In the process of printing by using the dot matrix data of the original image, firstly, the data in the dot matrix data of the original image is acquired, the read data is sent to the corresponding nozzle, and the nozzle performs ink-jet printing under the control of the acquired data.
In one embodiment, the original image dot matrix data is a matrix composed of four numbers 0, 1, 2, and 3, and the data 0, 1, 2, and 3 are all the dot data in the original image dot matrix data. And for any point data in the dot matrix data of the original image, after the point data is read and sent to the corresponding nozzle, the point data controls the primary injection process of the corresponding nozzle. When a nozzle acquires point data of 0 from the dot matrix data of the original image, the nozzle does not eject ink; when a nozzle acquires dot data of 1 from the dot matrix data of the original image, the nozzle sprays a first set amount of ink for one time; when a nozzle acquires dot data of 1 from the dot matrix data of the original image, the nozzle sprays a first set amount of ink for one time; when the dot data obtained by a nozzle from the dot matrix data of the original image is 2, the nozzle sprays a second set amount of ink for one time; when the dot data obtained by a nozzle from the dot matrix data of the original image is 3, the nozzle sprays a third set amount of ink once; the third set amount is greater than the second set amount, which is greater than the first set amount.
In the process of data processing of the printed data, the purpose of optimizing the printed image can be achieved by firstly acquiring original image dot matrix data and then processing the original image dot matrix data according to a preset processing method.
Step S2: and inserting blank dot data representing that ink does not appear into the original image dot matrix data to obtain second image dot matrix data.
When the original image is subjected to grid division, if the area of the divided small-region image is large, the number of dot data in the acquired dot data of the original image is small, and when the dot data of the original image is used for printing, the distance between the ink dots sprayed to the printing medium is large, and the resolution of the image formed by printing is low.
In order to improve the condition that the resolution of the image printed and formed by using the dot matrix data of the original image is low, one or more rows of blank dot data can be inserted into the dot matrix data of the original image, so that the number of times of ink jetting in the printing process is increased, and the resolution of the image to be printed and formed by printing is improved.
In one embodiment, step S2 further includes: the original image dot matrix data are arranged in a matrix, and the same number of blank dot data are inserted into each row of the matrix; and completing the insertion of blank dot data to obtain second image dot matrix data.
One or more lines of blank point data may be inserted into the matrix in the following manner: and inserting one or more blank point data into any row point data in the matrix, wherein the blank point data inserted into each row is the same in quantity, and further the second image dot matrix data is obtained.
By inserting the same amount of blank point data into each row of point data of the matrix, the purpose of inserting one or more rows of blank point data into the dot matrix data of the original image can be achieved.
In one embodiment, step S2 includes: and for any two adjacent lines of dot data in the matrix, inserting the same number of blank dot data into any one line of dot data of the two adjacent lines, and enabling the insertion sequence of any blank dot data in the line to be different from the insertion sequence of each blank dot data in the other line of the two adjacent lines, thereby obtaining the second image dot matrix data. This can prevent the inserted blank dot data from being aggregated in the second image dot matrix data, which has a large influence on the image printing effect.
In one embodiment, the same amount of blank dot data is inserted in each row of the matrix; completing the insertion of the blank dot data to obtain the second image dot matrix data, wherein the second image dot matrix data comprises: and inserting one or more blank dot data which represent that ink does not appear into the original image dot matrix data to obtain second image dot matrix data, wherein the inserted blank dot data are not adjacent in the second image dot matrix data. Thus, the inserted blank dot data can be prevented from influencing the display effect of the printed and formed image, and the second image dot matrix data can be utilized without obvious stripes or color difference.
In one embodiment, as shown in fig. 10, in step S2, the same number of blank dot data is inserted in each row of the matrix; completing the insertion of the blank dot data to obtain the second image dot matrix data, wherein the second image dot matrix data comprises: step S21: dividing the point data of each row in the matrix into a plurality of data sections, wherein each data section comprises the same amount of point data; step S22: an equal amount of blank dot data is inserted into each data segment.
By dividing a row of dot data into a plurality of data sections and inserting the same number of blank dot data into each data section, the inserted blank dot data can be respectively positioned at different positions in the second image dot matrix data, so that the inserted blank dot data can not obviously influence the form of an image printed and formed by using the second image dot matrix data, and the image printed and formed can not have obvious stripes or color differences.
In one embodiment, step S22 further includes: when inserting blank point data into each data segment, the space between any two adjacent blank point data is not equal.
By making the distance between any two adjacent blank point data unequal, each inserted blank point data presents an irregular distribution state in the second image dot matrix data, thereby preventing the inserted blank point data from influencing the printing effect of the image to be printed.
In one embodiment, when performing shuttle scanning printing using the original image dot matrix data, the method further includes, at step S2, setting the shuttle scanning number as n, denoted as n Pass: and inserting blank dot data of the m Pass to form n + m Pass printing, wherein m and n are positive integers.
In one embodiment, as shown in fig. 11, after step S2, the method further includes: acquiring the distance of two adjacent ink jets of the same nozzle on a printing medium in the n Pass printing, and recording the distance as y;
the distance of two times of ink jetting of the same nozzle on a printing medium in the n + m Pass printing is obtained by the following formula and is marked as l, and the l is obtained by the following formula: l ═ x × y × m/n; wherein m is the number of point data contained in any one data segment in the original image dot matrix data; x is an integer greater than or equal to 1, and represents the quantity of dot data of an interval between two times of ink jetting of the same nozzle in n + m Pass printing; wherein y is greater than 0.
In the reciprocating scanning printing, one Pass printing is a one-time ink jet process of the printing nozzle.
Blank dot data for mPass insertion, including: and inserting the dot data required by m times of spraying of the spray head. When inserting blank point data of mPass, the number of the inserted blank point data is: m v, where v is the number of nozzles on the print head.
In one embodiment, when mPass blank dot data is inserted, the inserted blank dot data are not adjacent to each other.
In one embodiment, the printing nozzle is provided with nozzles arranged in rows, the row of nozzles on the printing nozzle is a nozzle row, and the nozzle rows are arranged in parallel on the printing nozzle. And aiming at any two adjacent data segments in each divided data segment, utilizing two dot data in the same sequence in the two adjacent data segments to respectively print the distance of two ink dots on a printing medium in the direction vertical to the nozzle row, wherein the distance is equal to the distance between two adjacent nozzle rows in the printing nozzle.
And dividing every adjacent three point data in the point data of each row of the matrix into a data section. As shown in fig. 12, when the first column of data in the matrix is taken as an example for division, the first column of data can be sequentially divided into: the m/3 th section of the first section 01, the second section 02 and the third section 03 … … is 0 m/3.
When m is an integral multiple of 3, when the nozzle arrangement mode such as the nozzle shown in fig. 1 is used for printing the dot matrix data of the image in the matrix, the first dot data in the first section 01 is printed to form the first dot in the figure; dot data in the second segment 02, printed to form a fourth dot in the figure; the first dot data in the third segment 03 is printed to form the first dot data in the (m/3) th segment 0m/3 of the seventh dot … … in the figure, and is printed to form the (3 m + 1) th dot in the figure. The distance between the first point and the fourth point in the direction perpendicular to the nozzle row, the distance between the fourth point and the seventh point in the direction perpendicular to the nozzle row … …, the distance between the 3 rd (m-1) +1 th point and the 3 rd m +1 th point in the direction perpendicular to the nozzle row, are equal to the distance o between two adjacent nozzle rows in the head.
Because each point is distributed on the printing medium in an array, the distance between two ink points formed by printing according to the point data in the same sequence in the first section 01 and the second section 02 in the direction vertical to the nozzle rows is equal to the distance between two adjacent nozzle rows in the printing nozzle; the spacing of two dots printed according to the same order of dot data in the second and third segments 02 and 03 in a direction perpendicular to the nozzle rows is equal to the distance … … between two adjacent nozzle rows in the print head, and the spacing of two dots printed according to the same order of dot data in the m-3/3 segment 0m-3/3 and the m/3 segment 0m/3 in a direction perpendicular to the nozzle rows is equal to the distance o between two adjacent nozzle rows in the print head.
Therefore, after the same number of blank dot data are inserted into each data segment, each row of nozzles of the sprayer are controlled by the second image dot matrix data when each PASS is still used for printing.
And the blank dot data of each inserted data segment are not adjacent, so that the inserted blank dot data can not be gathered in the second image dot matrix data, and the condition that the printed pattern has obvious color difference due to the inserted blank dot data can be prevented.
In one embodiment, step S2 further includes: and inserting one or more blank dot data which represent that ink does not appear into the original image dot matrix data to obtain second image dot matrix data, wherein the inserted blank dot data are not adjacent in the second image dot matrix data.
By making the inserted blank dot data non-adjacent, it is also possible to prevent the inserted blank dot data from affecting the printing effect of the image to be printed.
Step S3: and outputting the second image dot matrix data for ink-jet printing.
Outputting the second image dot matrix data for inkjet printing, comprising: sending the second image dot matrix data to a controller of the printer; the controller writes the second image dot matrix data into an internal buffer of the printer; during printing, the controller reads one data in the second image dot matrix data from the internal buffer and sends the data to the corresponding nozzle, so that the data is used for controlling one ink jetting process of the nozzle.
Outputting the second image dot matrix data for inkjet printing, comprising: sending the second image dot matrix data to a controller of the printer; the controller writes the second image dot matrix data into an internal buffer of the printer; the controller reads part or all of the data in the u-th row of data in the second dot matrix data from the internal buffer and sends the row of data to the p-th row of nozzles in the spray head, so that the u-th row of data is used for controlling one ink jet process of the p-th row of nozzles.
In one embodiment, during printing, the t-th row of data in each parallel row of data is used to control the k-th row of nozzles in the print head.
Step S2 includes: and aiming at any row point data of the matrix, inserting one or more blank point data into all the point data corresponding to any nozzle in the printing nozzle in the row point data, and further acquiring second image dot matrix data.
The dot data corresponding to any nozzle in the print head is the dot data for controlling the nozzle to perform ink jet printing. All the dot data corresponding to any nozzle in the printing nozzle in one row of dot data are as follows: the row of dot data includes all dot data for respectively controlling any nozzle in the print head.
By inserting one or more blank dot data into all dot data for controlling each nozzle in one line of dot data, each nozzle of the head can be controlled by each data in the second image dot matrix data when multi-pass printing is performed.
In one embodiment, for any nozzle in the print head, all the dot data corresponding to the nozzle in any row of dot data in the matrix is adjacent dot data.
Step S2 includes: and for any nozzle in the printing nozzle, inserting one or more blank dot data into the adjacent dot data corresponding to the nozzle in any row dot data of the matrix, wherein the inserted blank dot data are not adjacent to each other, and further obtaining second image dot matrix data.
As shown in fig. 13, after step S2, the method further includes: step S203: acquiring the distance, marked as a, between two adjacent jetting areas formed by jetting of the printing nozzle on the printing medium twice along the direction parallel to the nozzle row when the original image dot matrix data is used for printing; step S204: the distance between the two jetting areas respectively formed on the printing medium by the two jets of the printing nozzle when the second image dot matrix data is used for printing is obtained by the following formula and is marked as d, and the d is obtained by the following formula:
d ═ k ═ a ═ b/c; wherein b is the number of dot data for controlling a nozzle in any row of dot data of the matrix, c is the number of dot data for controlling the nozzle in any row of dot data of the second image dot matrix data, and k is an integer greater than 1.
When the height and length of the print image are unchanged, the distances between adjacent dots printed by the print head in the direction parallel to the rows of nozzles are different when printing is performed using the original image dot matrix data and the second image dot matrix data, respectively. Therefore, before the inkjet printing is performed using the second image dot matrix data, the distance between the dots formed by the ejection of the printing nozzles in the direction parallel to the rows of nozzles may be calculated and acquired.
An embodiment of the present invention provides a print data processing apparatus, as shown in fig. 14, including a first acquiring module 1, an inserting module 2, and an outputting module 3.
The printing device comprises a first acquisition module 1, a second acquisition module and a printing module, wherein the first acquisition module is used for acquiring original image dot matrix data of an image to be printed, and the original image dot matrix data comprises a plurality of dot data representing ink outlet amount;
the inserting module 2 is used for inserting one or more blank dot data representing no ink in the original image dot matrix data to obtain second image dot matrix data;
and the output module 3 is used for outputting the second image dot matrix data for ink-jet printing.
In one embodiment, the inserting module 2 is further configured to arrange the original image dot matrix data in a matrix, and insert the same amount of blank dot data into each row of the matrix; and completing the insertion of blank dot data to obtain second image dot matrix data.
In one embodiment, as shown in fig. 15, the insertion module 2 includes a dividing sub-module 21 and an insertion sub-module 22.
The dividing submodule 21 is configured to divide the point data in each row in the matrix into a plurality of data segments, where each data segment includes the same amount of point data;
and an inserting submodule 22 for inserting an equal amount of blank dot data into each data segment.
In one embodiment, when the original image dot matrix data is used for reciprocating scanning printing, the reciprocating scanning times are set to be n and recorded as n Pass, and the inserting module 2 is further used for inserting blank dot data of m Pass to form n + m Pass printing.
In one embodiment, as shown in fig. 16, the apparatus further comprises: a second acquisition module 201 and a calculation module 202.
The second acquiring module 201 is configured to acquire a distance, which is recorded as y, between two adjacent ink jets of the same nozzle on the print medium in the n Pass printing;
a calculating module 202, configured to obtain, by the following formula, a distance l between two times of ink jetted by the same nozzle on a printing medium in the n + m Pass printing, where l is obtained by the following formula:
l=x*y*m/n;
wherein m is the number of point data contained in any one data segment in the original image dot matrix data; x is an integer greater than or equal to 1, and represents the quantity of dot data of an interval between two times of ink jetting of the same nozzle in n + m Pass printing; wherein m and n are positive integers, and y is more than 0.
In an embodiment, the inserting module 2 is further configured to insert one or more blank dot data representing that ink does not appear into the original image dot matrix data to obtain second image dot matrix data, and make the inserted blank dot data not adjacent in the second image dot matrix data.
When the device is used for processing the printing data, the operation method of each module in the device is the same as the printing data processing method, so the using method of each module and each sub-module in the device is also the same as the printing data processing method. The modules, the using method and the operating method of the sub-modules in the print data processing device of the present invention can refer to the print data processing method, and are not described in detail herein.
Referring to fig. 17, the printing method according to the above embodiment of the present invention further provides a printing data processing apparatus, which mainly includes:
at least one processor 401; and the number of the first and second groups,
a memory 402 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 402 stores instructions executable by the at least one processor to be executed by the at least one processor 401 to enable the at least one processor 401 to perform the method of the above-described embodiments of the present invention. For a detailed description of the device, reference is made to the above embodiments, which are not repeated herein.
Specifically, the processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. The memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 401 realizes any of the print data processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 402.
In one example, the print data processing apparatus may further include a communication interface 403 and a bus 410. As shown in fig. 17, the processor 401, the memory 402, and the communication interface 403 are connected by a bus 410 to complete communication therebetween.
The communication interface 403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.
Bus 410 includes hardware, software, or both to couple the components comprising the print data processing apparatus to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 410 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
In addition, in combination with the print data processing method in the above embodiment, the embodiment of the present invention can be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the print data processing methods of the above embodiments.
In summary, the print data processing method, apparatus, device and storage medium provided in the embodiments of the present invention can utilize a mathematical modeling manner and a pure computer algorithm to solve the technical problem that the generated original image dot matrix data cannot be reprocessed and the print effect is further optimized in the prior art after the original image dot matrix data is acquired.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention. These are all intended to be covered by the scope of protection of the present invention.

Claims (9)

1. A method of processing print data, the method comprising:
step S1: acquiring original image dot matrix data of an image to be printed, wherein the original image dot matrix data comprises a plurality of dot data representing ink quantity;
step S2: inserting one or more blank dot data representing that ink does not appear into the original image dot matrix data to obtain second image dot matrix data;
step S3: outputting the second image dot matrix data for inkjet printing;
when the original image dot matrix data is used for shuttle scanning printing, the shuttle scanning number is set to be n and recorded as n Pass, and the method further includes, in step S2:
and inserting blank dot data of the m Pass to form n + m Pass printing, wherein m and n are positive integers.
2. The method according to claim 1, wherein the step S2 includes: the original image dot matrix data are arranged in a matrix, and the same number of blank dot data are inserted into each row of the matrix; and completing the insertion of blank dot data to obtain second image dot matrix data.
3. The method of claim 2, wherein inserting the same amount of blank dot data in each row of the matrix comprises:
step S21: dividing the point data of each row in the matrix into a plurality of data sections, wherein each data section comprises the same amount of point data;
step S22: an equal amount of blank dot data is inserted into each data segment.
4. The method according to claim 3, wherein step S22 further comprises: when inserting blank point data into each data segment, the space between any two adjacent blank point data is not equal.
5. The method according to claim 3, further comprising, after step S2: step 201: acquiring the distance of two adjacent ink jets of the same nozzle on a printing medium in the nPass printing, and recording the distance as y;
step S202: the distance of two times of ink jetting of the same nozzle on a printing medium in the n + m Pass printing is obtained by the following formula and is marked as l, and the l is obtained by the following formula:
l=x*y*m/n;
wherein m is the number of point data contained in any one data segment in the original image dot matrix data; x is an integer greater than or equal to 1, and represents the quantity of dot data of an interval between two times of ink jetting of the same nozzle in n + m Pass printing; wherein y is greater than 0.
6. The method according to claim 1, further comprising, at step S2: and inserting one or more blank dot data which represent that ink does not appear into the original image dot matrix data to obtain second image dot matrix data, wherein the inserted blank dot data are not adjacent in the second image dot matrix data.
7. A print data processing apparatus, characterized in that the apparatus comprises:
the printing device comprises a first acquisition module, a second acquisition module and a printing module, wherein the first acquisition module is used for acquiring original image dot matrix data of an image to be printed, and the original image dot matrix data comprises a plurality of dot data representing ink quantity;
the inserting module is used for inserting one or more blank dot data representing no ink in the original image dot matrix data to obtain second image dot matrix data;
the output module is used for outputting the second image dot matrix data for ink-jet printing;
when the original image dot matrix data is adopted to carry out reciprocating scanning printing, the reciprocating scanning times are set to be n and recorded as nPass, and the inserting module is also used for inserting blank dot data of m Pass to form n + m Pass printing.
8. A print data processing apparatus, characterized in that the apparatus comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
9. A computer storage medium having computer program instructions stored thereon, wherein,
the computer program instructions, when executed by a processor, implement the method of any one of claims 1-6.
CN202010189749.0A 2020-03-18 2020-03-18 Print data processing method, device, equipment and storage medium Active CN111267489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010189749.0A CN111267489B (en) 2020-03-18 2020-03-18 Print data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010189749.0A CN111267489B (en) 2020-03-18 2020-03-18 Print data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111267489A CN111267489A (en) 2020-06-12
CN111267489B true CN111267489B (en) 2021-09-17

Family

ID=70992971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010189749.0A Active CN111267489B (en) 2020-03-18 2020-03-18 Print data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111267489B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113858802B (en) * 2020-06-30 2022-10-21 森大(深圳)技术有限公司 Method, device and equipment for eliminating nozzle splicing channel and storage medium
CN113858801B (en) * 2020-06-30 2022-12-09 森大(深圳)技术有限公司 Print data processing method, apparatus, device and storage medium
CN114379228B (en) * 2020-10-16 2023-02-21 森大(深圳)技术有限公司 Cylindrical surface printing control method, device, printer and storage medium
CN114536969B (en) * 2020-11-27 2023-07-14 深圳市汉森软件有限公司 Processing liquid data printing method, device and equipment based on pixel point position information
CN114789605B (en) * 2021-01-26 2023-07-14 深圳市汉森软件有限公司 Image printing data processing method, device, equipment and storage medium
CN115179666B (en) * 2021-04-02 2023-07-14 深圳市汉森软件有限公司 Image closed-loop printing method, device, equipment and storage medium
CN115447284B (en) * 2021-06-08 2023-09-08 深圳市汉森软件有限公司 Printing method, device, equipment and storage medium for eliminating nozzle chromatic aberration
CN115447278B (en) * 2021-06-08 2023-08-15 深圳市汉森软件有限公司 Printing method, device, equipment and storage medium for improving image uniformity

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003101743A1 (en) * 2002-05-31 2003-12-11 Seiko Epson Corporation Image formation device and image formation method
CN102452233B (en) * 2010-10-25 2014-09-03 山东新北洋信息技术股份有限公司 Printing control method and device, and printing device
CN109254742B (en) * 2018-10-13 2021-11-09 深圳市汉森软件有限公司 Ink jet printing method, ink jet printing apparatus, and ink jet printing apparatus
CN110053361B (en) * 2019-05-14 2020-10-09 微特智能科技(南通)有限公司 Printing defect compensation method and system based on PCB ink-jet printer
CN110561929B (en) * 2019-08-23 2020-06-26 深圳市汉森软件有限公司 Scanning type ink-jet printing control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111267489A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN111267489B (en) Print data processing method, device, equipment and storage medium
CN110733253B (en) Spray head moisturizing printing control method, device, equipment and storage medium
CN110027325B (en) Printing control method, device, equipment and printer
CN111045609B (en) Ink jet printing method, device, equipment and storage medium
CN113829755B (en) Method, apparatus, device and medium for compensating drop deviation in bidirectional printing
CN107531047B (en) Information processing apparatus, information processing method, computer readable medium, and image forming apparatus
US20160031208A1 (en) Liquid Droplet Discharging Method and Liquid Droplet Discharging Apparatus
CN115476587B (en) Inkjet printing method, device, equipment and storage medium based on eclosion template
CN111267496B (en) Printing data processing method and device based on multiple nozzles
CN113829751B (en) Printing data processing method, apparatus, device and medium for eliminating ink drop deviation
CN113320291B (en) Data processing method, device, equipment and medium for printing color uniform image
CN110865779B (en) Data extraction method, device, equipment and storage medium for single-nozzle multicolor printing
CN113327213B (en) Method, device, equipment and medium for eliminating influence of nozzle splicing on printing quality
WO2020073836A1 (en) Method and device for processing print data, and storage medium
CN113760199B (en) Print data processing method, device, equipment and medium
JP2008290324A (en) Threshold value matrix formation method, image data formation method, image data formation apparatus, printer and threshold value matrix
CN115447278B (en) Printing method, device, equipment and storage medium for improving image uniformity
CN114789605B (en) Image printing data processing method, device, equipment and storage medium
CN113442577B (en) Printing method, device, equipment and storage medium for outputting decimal ink quantity
CN114179505B (en) Print data processing method, device, equipment and storage medium
CN115230333B (en) Print data processing method, device, equipment and medium for increasing eclosion area
CN114379267B (en) Ink curing method, device, equipment and storage medium for multi-Pass printing
CN113370661B (en) Method, device, control panel and equipment for detecting nozzle abnormality by adopting machine vision
CN107846531B (en) Image processing circuit for multi-point ink jet head
JP7041520B2 (en) Inkjet recording equipment, image processing methods and programs

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong

Patentee after: Shenzhen Hansen Software Co.,Ltd.

Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000

Patentee before: SHENZHEN HOSONSOFT Co.,Ltd.