Ink-jet printing PRT data processing method, storage medium and printing equipment
By performing simplified shearing transformation and ink volume redistribution on PRT data blocks during the Post-RIP data stream stage, the efficiency and data redundancy issues of industrial inkjet printers when handling media with angular deviations are solved, achieving efficient and low-cost printing processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING BOYUAN HENGXIN TECH CO LTD
- Filing Date
- 2026-03-25
- Publication Date
- 2026-04-21
AI Technical Summary
Existing industrial inkjet printers suffer from efficiency bottlenecks, wasted computing resources, and data redundancy when processing printing media with angular deviations. In particular, when the media position changes, they need to be rearranged and rasterized again, resulting in high computing costs and extended production cycle time.
In the Post-RIP data stream stage, the initial PRT data block is simplified by shearing transformation, repositioning and filling. Combined with the sensor detection of media angle deviation, the dynamic displacement is automatically calculated and the ink volume is redistributed to form the corrected PRT data block.
It effectively reduces the amount and difficulty of calculation, avoids the cost of secondary RIP, improves automation efficiency, reduces data redundancy, and ensures print quality.
Smart Images

Figure CN121900713A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing methods for printed images, and more specifically to a method for processing inkjet printed PRT data, a storage medium, and a printing device. Background Technology
[0002] Existing industrial inkjet printers involve the following steps during the printing process: the customer provides the target print image, the printing software processes it through rasterization (RIP) to obtain PRT data that the printer can recognize, and the printer completes the printing based on the PRT data. The PRT data typically contains the following information: (x, y, c, n), where (x, y) are the coordinates of the ink droplet position, c is the basic inkjet color information corresponding to the (x, y) position, and n is the inkjet volume corresponding to color c at the (x, y) position.
[0003] In inkjet printing, the printing media travels along the Y-axis, while the printing carriage travels along the X-axis, which are perpendicular to the Y-axis. The Y-axis moves in a stepping motion, and the printing carriage completes printing by moving back and forth along the X-axis. When the printing media is placed, there may be some misalignment. Existing technologies have the following main drawbacks when handling media with angular deviations: 1. Efficiency Bottleneck – High Cost of Secondary RIP: In traditional methods, if the position of the medium changes, it is necessary to return to the host computer design software for re-layout and perform secondary rasterization (Re-RIP) on the entire image. This leads to a waste of computing resources, extremely long job preparation time, and seriously affects the cycle time of industrial production.
[0004] 2. Insufficient precision – Static typesetting cannot handle dynamic deviations: Traditional automatic typesetting software (such as nesting software) is an operation before RIP. Any slight change in the result requires a second rasterization (Re-RIP) of the entire image, which is an unacceptably high computational cost in industrial production.
[0005] 3. Data redundancy: For scenarios involving repeated printing (printing the same image on multiple media), huge amounts of full-format raster data still need to be generated and transmitted, resulting in wasted bandwidth.
[0006] Therefore, there is an urgent need for a method for processing inkjet printed PRT data, a printing device, and a storage medium to solve at least one of the above problems. Summary of the Invention
[0007] To alleviate or solve at least one aspect or point of the above-mentioned problems, this invention is proposed. This invention overcomes this bottleneck by achieving dynamic geometric processing in the Post-RIP data stream stage (rasterized data). A method for processing inkjet printed PRT data according to this invention includes the following steps: The preset print image is rasterized to obtain an initial PRT data block. The initial PRT data block includes the following data information: (x,y,c,n), where (x,y) are the position coordinates of the ink dot, c is the inkjet color information corresponding to the above (x,y) position, and n is the inkjet amount corresponding to the above color c at the (x,y) position. Obtain the angular deviation of the printing media ; Based on angle deviation Perform simplified shearing transformation, relocation, and padding on (x,y,c,n) in the initial PRT data block to form a corrected PRT data block; Performing simplified shear transformation, repositioning, and filling includes: assuming that the information after transformation (x,y) is (x1,y1), then let y1=y, where (x1,y1) are the position coordinates of the transformed ink dot; Based on the angular deviation of the medium Calculate the dynamic displacement required by x1 on the X-axis corresponding to the current y1. and x1;
[0008]
[0009] If x1 is an integer, then x1 is based on the dynamic displacement. The adjustment is made without adjusting the ink volume information; that is, the (x,y,c,n) data is transformed into (x1,y,c,n). If x1 has a non-integer part: That is, x1zs is the integer part of the transformed ink dot position, and x1xs is the non-integer part of the transformed ink dot position, where x1xs is not 0; then (x,y,c,n) is transformed into (x1zs,y,c,n1) and (x1zs+1,y,c,n2), where n1+n2=n.
[0010] Preferably, multiple printing media are used, and the angular deviation of each printing media is obtained. According to the angular deviation of each medium The initial PRT data block is subjected to shearing transformation, relocation, and padding to form multiple corrected PRT data blocks.
[0011] Preferably, the angular deviation of the printing medium is obtained. Includes: employing at least two sensors placed parallel to the X-axis direction, with a spacing of [missing information] in the X-axis direction. A known sensor is used to detect the Y coordinates Y1 and Y2 of the leading edge of the medium, thereby calculating... .
[0012] Preferably, the angular deviation of the printing medium is obtained. This includes: obtaining angular deviations through manual measurement. .
[0013] Preferred, regarding: The calculation is based on the deflection direction of the printing medium. If the deflection direction of the printing medium is from the positive Y direction to the positive X direction, then... On the contrary .
[0014] Preferably, angular deviation Less than 5 degrees.
[0015] Preferably, the ink volume is allocated according to the size of x1xs. Since the range of x1xs is between (0, 1), the larger x1xs is, the larger n2 is.
[0016] Preferably, the allocation is carried out in the following proportion: n2=x1xs*n, n1=n-n2, where n2 is rounded to the nearest integer.
[0017] The present invention also provides a storage medium having a computer program stored thereon, the computer program being used to execute the processing method described in any of the preceding claims.
[0018] The present invention also provides a printing device employing any of the processing methods described above.
[0019] This invention generates a corrected PRT data block by performing a shearing transformation, repositioning, and padding on (x, y, c, n) in the initial PRT data block. This avoids the technical problems of high cost and data redundancy associated with secondary RIP. Based on the actual situation of small deflection angles, this invention simplifies the shearing transformation instead of rotation, significantly reducing the computational load and difficulty. Furthermore, for non-integer cases occurring during the shearing transformation, ink redistribution makes the transformed image smoother, resolving the issue of handling non-integer cases.
[0020] The technical solution of this invention further utilizes a sensor to detect distance and automatically calculate the deflection angle, thereby enabling the handling of printing media deflection issues without shutting down the machine, greatly improving automation efficiency. Attached Figure Description
[0021] Figure 1This is a schematic diagram of the clockwise rotation of a printing medium, which is an exemplary embodiment of the present invention.
[0022] Figure 2 This is a schematic diagram of a printing medium rotating counterclockwise, which is an exemplary embodiment of the present invention.
[0023] Figure 3 This is a schematic diagram showing the position of an ink dot as an exemplary embodiment of the present invention.
[0024] Figure 4 This is a schematic diagram of a clockwise shear transformation of a printing medium, which is an exemplary embodiment of the present invention.
[0025] Figure 5 This is a schematic diagram of the counterclockwise shear transformation of a printing medium, which is an exemplary embodiment of the present invention.
[0026] Figure 6 This is a simplified clockwise shear transformation diagram of a printing medium, which is an exemplary embodiment of the present invention.
[0027] Figure 7 This is a simplified clockwise shear transformation diagram of a printing medium, which is an exemplary embodiment of the present invention.
[0028] Figure 8 This is a schematic diagram illustrating the detection of the deflection angle of the printing medium, as an exemplary embodiment of the present invention.
[0029] Figure 9 This is a schematic diagram of a printing medium and a printed image, which is an exemplary embodiment of the present invention.
[0030] Wherein: 1-printing medium, 2-printing carriage, 3-X-axis track, 4-first sensor, 5-second sensor. Detailed Implementation
[0031] The following description of embodiments of the present invention with reference to the accompanying drawings is intended to explain the overall inventive concept of the invention and should not be construed as a limitation thereof. In this invention, the same reference numerals denote the same or similar parts.
[0032] The features described herein may be implemented in various forms and should not be construed as limited to the examples described herein. Rather, the examples described herein are provided only to illustrate some of the many feasible ways in which the methods, apparatuses, and / or systems described herein will become clear upon understanding the disclosure of the invention.
[0033] The terminology used herein is for the purpose of describing various examples only and is not intended to limit disclosure. Unless the context clearly indicates otherwise, the singular form is intended to include the plural form as well. The terms “comprising,” “including,” and “having” indicate the presence of the described features, quantities, operations, components, elements, and / or combinations thereof, but do not preclude the presence or addition of one or more other features, quantities, operations, components, elements, and / or combinations thereof.
[0034] To enable those skilled in the art to utilize the content of this invention, the following exemplary embodiments may be provided in conjunction with specific application scenarios, specific systems, device and component parameters, and specific connection methods. However, these embodiments are merely examples for those skilled in the art, and the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this invention.
[0035] According to an exemplary embodiment of the present invention: Figures 1-9 As shown, the present invention provides a method for processing PRT data in inkjet printing, which involves rasterizing a preset printed image to obtain an initial PRT data block. The initial PRT data block includes the following data information: (x, y, c, n), where (x, y) are the position coordinates of the ink dot, c is the inkjet color information corresponding to the position (x, y), and n is the inkjet amount corresponding to the color at the position (x, y). For example, such as Figure 8 As shown, a printing medium is placed on the printing platform. The direction of the printing medium's movement is defined as the Y-axis, and the direction of the printing carriage's movement is defined as the X-axis. The X-axis is perpendicular to the Y-axis. Obtain the angular deviation of the printing media The angular deviation of the printing medium refers to the deflection angle between the ideal placement position and the actual placement position of the printing medium. The ideal placement position of the printing medium corresponds to the initial PRT data block mentioned above. That is, printing the printing medium at the ideal placement position using the initial PRT data block yields the expected printed image. Typically, for a square printing medium, the ideal placement position has its length direction parallel to the Y-axis and its width direction parallel to the X-axis.
[0036] For example, such as Figure 1 As shown, taking a square printing medium ABCD as an example, its ideal placement is the location of the solid-lined frame ABCD in the diagram, while the actual placement is... Figure 1 or Figure 2The position of the dotted line in the diagram indicates an angular deviation between the two. For example, when the printing medium is square, the aforementioned angle is the angle between the base of the square and the X-axis. Although this invention schematically uses a square ABCD to illustrate the printing medium, it does not mean that the printing medium is limited to a square; it can be any shape, as long as it falls within the range of ABCD.
[0037] The initial PRT data block includes the following data information: (x, y, c, n), where (x, y) are the position coordinates of the ink dot, c is the inkjet color information corresponding to the (x, y) position, and n is the inkjet volume corresponding to the color at the (x, y) position. The color information here refers to the basic CMYK colors as mentioned above. It should be noted that one (x, y) position coordinate may correspond to multiple color information and multiple ink volume information. Since the color information does not change, this invention only adjusts the ink volume information corresponding to the color, while the corresponding color information remains unchanged.
[0038] like Figure 3 As shown, the ink droplet positions are illustrated. In the PRT data block, all ink droplet positions and ink volumes are integers. When an inkjet printhead ejects ink, if the volume ejected in one stroke is v, then at a single ink droplet position, if five strokes are made, 5v will be ejected, thus achieving color gradation.
[0039] like Figure 1 , Figure 2 As shown, for the most accurate transformation, a rotational transformation is required. Figure 1 or Figure 2 The coordinates of ABCD are transformed into Figure 1 or Figure 2 The coordinates at the dashed line. The above transformation requires a significant amount of computation because it involves not only rotational transformations but also handling non-integer parts encountered during the rotational transformation. For example... Figure 3 As shown, in the original PRT data, the coordinates (x, y) of the ink dots are all integers. However, if they are transformed into (x1, y1) through rotation, then x1 and y1 may be non-integers. The processing of these non-integers requires a lot of calculation and design.
[0040] like Figure 4 , Figure 5 As shown, to simplify calculations, this invention will... Figure 1 The rotational transformation is simplified to Figure 4 The shear transform. Correspondingly, the shear transform will... Figure 2 The rotational transformation is simplified to Figure 5 Shearing transform. For example... Figure 1As shown in Figure 2, the angular deviation of the printing media is usually small, typically within 2 or 3 degrees, that is, usually less than 5 degrees, because the deviation can be controlled within the above range when the printing media is properly placed. Figure 4 , Figure 5 As shown, within the above range, the error generated by the Y-axis is significantly smaller than the error of the X-axis. The specific reasons are as follows: For example, assuming... Figure 4 , Figure 5 The medium ABCD is a square with a side length of 500mm and an angular deviation of 2 degrees. Therefore, the maximum error on the Y-axis is the change in the Y-axis at point B or A, which is less than 500 * (1 - cos( The error on the X-axis is 0.3mm, and the maximum error is the change in the X-axis at point B or point A, which is approximately 500 * tan( =17.45mm. It can be seen that the change in the Y-axis is extremely small compared to the change in the X-axis. Therefore, this invention does not consider the change in the Y-axis, but only calculates the change in the X-axis, i.e. Figure 4 Further simplification to Figure 6 In form, Figure 5 Further simplified to Figure 7 This is in the form of a simplified shearing transformation. That is, in actual printing, the deflection angle of the medium... Typically very small (e.g.) or At such minute angles, the shearing transformation can replace the rotation transformation to reduce computational complexity. Furthermore, the shearing transformation can be further simplified, making its computational complexity significantly lower than that of the rotation transformation.
[0041] This invention is based on angular deviation The initial PRT data block (x, y, c, n) undergoes shearing transformation, repositioning, and padding to form a corrected PRT data block. The shearing transformation, also known as simplified shearing transformation, ignores changes in y and only affects changes in x, significantly reducing computational complexity. Repositioning involves dynamically calculating the offset of x. Padding refers to redistributing and filling ink amounts where non-integer portions exist.
[0042] Row iteration: Traverse each ink dot position data in the corresponding PRT data block (x, y), which can be done row by row. As mentioned above, since this invention does not consider the change in y, the data on the Y-axis does not need to change. That is, assuming the transformed coordinate data is (x1, y1), then y1 = y. At this time, only x1 needs to be calculated to achieve the transformation.
[0043] Dynamic displacement calculation: Based on the deflection angle of the medium. Calculate the dynamic displacement required on the x-axis for the current row y corresponding to x1. : ; Calculate the value of x1.
[0044] like Figure 6 As shown, the deflection direction of the printing medium is clockwise, then x1 = x + ; like Figure 7 As shown, the deflection direction of the printing medium is counterclockwise, then x1 = x - ; like Figure 3 As shown, assuming the original PRT data is point E with coordinates (x, y), the calculated x1 has two possibilities: one is an integer, i.e., it is point F, and the other is a decimal, i.e., point G as shown in the figure.
[0045] If x1 is an integer, then x is based on the dynamic displacement. The adjustment is made without adjusting the ink volume information; that is, the (x,y,c,n) data is transformed into (x1,y,c,n). If x1 has a non-integer part: Let x1zs be the integer part of the transformed ink dot position, and x1xs be the non-integer part of the transformed ink dot position, where x1xs is not 0. Then (x,y,c,n) is transformed into (x1zs,y,c,n1) and (x1zs+1,y,c,n2), where n1+n2=n. n1 is the ink amount corresponding to color c at position (x1zs,y), and n2 is the ink amount corresponding to color c at position (x1zs+1,y).
[0046] Preferably, the ink volume is allocated based on the size of x1xs. Since the range of x1xs is between (0, 1), the larger x1xs is, the larger n2 is.
[0047] Preferably, the allocation is carried out in the following proportion: n2=x1xs*n, n1=n-n2, where n2 is rounded to the nearest integer.
[0048] According to an exemplary embodiment of the present invention, preferably, the method further includes the following step: merging ink droplet amounts located at the same position and of the same color. For example, in the newly corrected PRT data block, there may be data with multiple ink droplet amounts at the same position and of the same color, such as (x2, y2, c1, n3) and (x2, y2, c1, n4). These data can then be merged into (x2, y2, c1, n3 + n4), where (x2, y2) is the position information of the ink droplet, c1 is the color information of the ink droplet, and n3 and n4 are the number of inkjet prints. Through the above operation, the data volume of the newly corrected PRT data block can be reduced.
[0049] According to an exemplary embodiment of the present invention: Figure 9 As shown, the diagram illustrates the printing media and the image printing area, as follows: Figure 9 As shown, for the case where the deflection angle is counterclockwise, the formula for calculating x1 is: x1 = x - The printing media is ABCD, the image range is EFGH (illustrative), and the origin of the coordinate system is the lower left of the printing media. Because the deflection angle is very small, under normal circumstances, such as... Figure 9 As shown, the newly corrected PRT data block contains the following information (x1, y1, c, n), where all x1 values are positive. Therefore, no further transformation is needed at this stage. In a few preferred cases, the following steps are also included: assuming the newly corrected PRT data block contains the following information (x1, y1, c, n), if x1 is less than 0, a translation transformation is performed to transform (x1, y1, c, n) into (x1 + Dz, y1, c, n), where Dz is a positive integer, thus ensuring that all x1 + Dz are positive integers. Preferably, Dz can be selected as follows: obtain the minimum negative value among all x1 values, take the integer part of the absolute value of the minimum value, and add the value 1 to the integer part to obtain Dz.
[0050] According to an exemplary embodiment of the present invention: obtaining the angular deviation of the printing medium The angle deviation is obtained through manual measurement. Preferably, the present invention also obtains the above-mentioned angle deviation through the following automated method.
[0051] like Figure 8 As shown, the printing media is fed along the Y-axis direction (arrow in the diagram). The printing carriage 2 can move along the bracket 3, which is parallel to the X-axis. The bracket is equipped with fixed-distance... Two distance sensors, a first sensor 4 and a second sensor 5, are used. The first sensor 4 measures a first distance Y1 from the leading edge of the medium and a second distance Y2 from the leading edge of the medium. Based on these distances, the direction of the deflection angle can be determined, and the deflection angle of the medium can be calculated. The above method allows for obtaining the deflection angle without stopping the printing press, thereby improving printing efficiency.
[0052] According to an exemplary embodiment of the present invention: the present invention also provides a printing device employing the aforementioned PRT data processing method.
[0053] According to an exemplary embodiment of the present invention: the present invention also provides a storage medium having a computer program stored thereon, the computer program being used to execute the PRT data processing method described in any of the preceding claims.
[0054] This invention forms a corrected PRT data block by performing a shearing transformation, repositioning, and padding on (x, y, c, n) in the initial PRT data block. This avoids the technical problems of high cost and data redundancy associated with secondary RIP. Based on the actual situation of small deflection angles, this invention significantly reduces the computational load and difficulty by using a shearing transformation instead of a rotation transformation, and further simplifies the shearing calculation, further reducing the computational load. Simultaneously, for non-integer cases occurring during the shearing transformation, ink redistribution makes the transformed image smoother, resolving the issue of non-integer cases being unprocessable.
[0055] The technical solution of this invention further utilizes sensors to automatically calculate the deflection angle, thereby enabling the handling of printing media deflection issues without shutting down the machine, greatly improving automation efficiency.
[0056] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that variations and combinations of elements may be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for processing PRT data from inkjet printing, characterized in that: Includes the following steps: The preset print image is rasterized to obtain an initial PRT data block. The initial PRT data block includes the following data information: (x,y,c,n), where (x,y) are the position coordinates of the ink dot, c is the inkjet color information corresponding to the above (x,y) position, and n is the inkjet amount corresponding to the above color c at the (x,y) position. Obtain the angular deviation of the printing media ; Based on angle deviation Perform simplified shearing transformation, relocation, and padding on (x,y,c,n) in the initial PRT data block to form a corrected PRT data block; Performing simplified shear transformation, repositioning, and filling includes: assuming that the information after transformation (x,y) is (x1,y1), then let y1=y, where (x1,y1) are the position coordinates of the transformed ink dot; Based on the angular deviation of the medium Calculate the dynamic displacement required by x1 on the X-axis corresponding to the current y1. and x1; ; ; If x1 is an integer, then x1 is based on the dynamic displacement. The adjustment is made without adjusting the ink volume information; that is, the (x,y,c,n) data is transformed into (x1,y,c,n). If x1 has a non-integer part: That is, x1zs is the integer part of the transformed ink dot position, and x1xs is the non-integer part of the transformed ink dot position, where x1xs is not 0; then (x,y,c,n) is transformed into (x1zs,y,c,n1) and (x1zs+1,y,c,n2), where n1+n2=n.
2. The processing method according to claim 1, characterized in that: The printing media consisted of multiple media; the angular deviation of each media was obtained. According to the angular deviation of each medium The initial PRT data block is subjected to shearing transformation, relocation, and padding to form multiple corrected PRT data blocks.
3. The processing method according to claim 1, characterized in that: Obtain the angular deviation of the printing media Includes: employing at least two sensors placed parallel to the X-axis direction, with a spacing of [missing information] in the X-axis direction. A known sensor is used to detect the Y coordinates Y1 and Y2 of the leading edge of the medium, thereby calculating... .
4. The processing method according to claim 1, characterized in that: Obtain the angular deviation of the printing media This includes: obtaining angular deviations through manual measurement. .
5. The processing method according to claim 1, characterized in that: As for The calculation is based on the deflection direction of the printing medium. If the deflection direction of the printing medium is from the positive Y direction to the positive X direction, then... On the contrary .
6. The processing method according to claim 1, characterized in that: Angle deviation Less than 5 degrees.
7. The processing method according to claim 1, characterized in that: The ink volume is allocated based on the size of x1xs. Since the range of x1xs is between (0, 1), the larger x1xs is, the larger n2 is.
8. The processing method according to claim 7, characterized in that: The distribution is carried out in the following proportions: n2 = x1xs*n, n1 = n - n2, where n2 is rounded to the nearest integer.
9. A storage medium, characterized in that: It stores a computer program thereon, the computer program being used to execute the processing method according to any one of claims 1-8.
10. A printing device, characterized in that: The processing method described in any one of claims 1-8 shall be used.
Citation Information
Patent Citations
Multi-printing-image typesetting interval control method and device, equipment and storage medium
CN110275686A
Ink-jet printing method, device and equipment based on feathering treatment and storage medium
CN112223929A
Ink-jet printing color difference adjusting method, device and equipment based on ink dot adjustment
CN116461214A
Image correction device
JP2014033342A