Onepass printing method, device, equipment and medium for inserting test image

By inserting test images during the Onepass inkjet printing process, the nozzle status is detected in real time, which solves the problem of nozzle clogging, improves printing accuracy and speed, and ensures that the nozzle remains in good condition.

CN115519918BActive Publication Date: 2024-09-17SHENZHEN HOSONSOFT CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110712731.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-25
Publication Date
2024-09-17
Estimated Expiration
2041-06-25

AI Technical Summary

Technical Problem

During the Onepass inkjet printing process, the nozzles are easily clogged, causing the nozzle status to be abnormal and unable to be detected in real time, affecting the printing effect.

Method used

Using the printing method of inserting test images, by detecting the moving position of the printing medium and printing the test image at the gap between adjacent sub-original images, the accuracy of the nozzle status and nozzle color can be detected in real time to avoid nozzle clogging.

Benefits of technology

It realizes real-time detection of nozzle status during the printing process to avoid nozzle clogging, improves printing accuracy and speed, and ensures that the nozzle always maintains good inkjet status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115519918B
    Figure CN115519918B
Patent Text Reader

Abstract

The present invention belongs to the field of printing technology, and provides a Onepass printing method, device, equipment and medium for inserting a test image. The Onepass printing method for inserting a test image of the present invention comprises S1: obtaining printing task parameters; S2: determining the original image printing position and the test image printing position according to the printing task parameters; S3: obtaining the current printing position; S4: if the current printing position is the original image printing position, then printing the original image, and if the current printing position is the test image printing position, then printing the test image. The present invention also includes a device, equipment and medium for executing the above method. The present invention can effectively avoid nozzle clogging while detecting the nozzle state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of inkjet printing technology, and in particular to a Onepass printing method, device, equipment and medium for inserting a test image. Background Art

[0002] The multi-pass printing method of the step-by-step guide belt digital printing machine limits the improvement of digital printing speed, and the printing accuracy cannot meet the development needs of modern digital printing. In this regard, a Onepass digital printing machine with a fixed nozzle and continuous high-speed movement of the guide belt is currently proposed. When the printing starts, the guide belt is accelerated to a certain speed in a very short time and then remains unchanged. The fabric is transported at a constant speed under the nozzle. The computer controls the nozzle to spray ink on demand according to the pattern to be printed to achieve high-speed printing. Since the nozzle of this new digital printing machine is fixed, the printing is only affected by the movement speed of the guide belt. There is no problem of relative speed error, and no pass defective products will be produced, and the printing accuracy is improved.

[0003] During Onepass inkjet printing, the nozzle ejects ink droplets to form an image on the print medium. However, due to the differences in the color and print width of the printed image, some nozzles may not produce ink for a long time during the printing process, resulting in blockage on the nozzle surface. If a nozzle is abnormal during the printing process, the printing effect of the image will be affected. Due to the high speed of Onepass inkjet printing, it is currently impossible to accurately and real-timely detect the status of the nozzle without affecting the original printing process. Summary of the invention

[0004] In view of this, the embodiments of the present invention provide a Onepass printing method, device, equipment and medium for inserting a test image, so as to solve the technical problem that the nozzle is easily clogged during the Onepass inkjet printing process, causing the nozzle state to be abnormal and the abnormal nozzle state cannot be detected in real time.

[0005] The technical solution adopted by the present invention is:

[0006] In a first aspect, the present invention provides a Onepass printing method for inserting a test image, the method comprising the following steps:

[0007] S1: Obtaining printing task parameters including an original image and a test image;

[0008] S2: determining the original image printing position and the test image printing position according to the printing task parameters;

[0009] S3: Get the current printing position;

[0010] S4: if the current printing position is the original image printing position, then print the original image; if the current printing position is the test image printing position, then print the test image;

[0011] The original printing image includes a plurality of sub-original images arranged at intervals along the moving direction of the printing medium, the original image printing position includes the printing positions of each sub-original image, and the test image printing position is located between the printing positions of two adjacent sub-original images.

[0012] Preferably, the step S4: if the current printing position is the original image printing position, printing the original image, and if the current printing position is the test image printing position, printing the test image, comprises the following steps;

[0013] S41: acquiring original image printing data or test image printing data according to the moving position, the original image printing position and the test image printing position;

[0014] S42: when the moving position is located at the original image printing position, printing the original image according to the original image printing data;

[0015] S43: when the moving position is located between the printing positions of two adjacent sub-original images, determining whether to print a test image according to the printing task parameters;

[0016] S44: if yes, printing a test image according to the test image printing data when the moving position is located at the test image printing position;

[0017] S45: If otherwise, the test image is not printed.

[0018] Preferably, the step S2: determining the original image printing position and the test image printing position according to the printing task parameters comprises the following steps:

[0019] S21: Obtaining the starting printing position of the original image according to the printing parameters;

[0020] S22: acquiring the length of each sub-original image and the interval length between two adjacent sub-original images in the moving direction of the printing medium according to the printing parameters;

[0021] S23: determining the printing position of each sub-original image according to the starting printing position, the length of each sub-original image and the interval length;

[0022] S24: obtaining relative position information of the test image and each sub-original image according to the printing parameters;

[0023] S25: Determine the test image printing position according to the printing positions of the sub-original images and the relative position information.

[0024] Preferably, the step S1: obtaining print task parameters further includes the following steps:

[0025] S01: Acquire printing device parameters, where the printing device parameters include the number of nozzles, nozzle types, and physical layout of nozzles;

[0026] S02: Determine, according to the printing device parameters, test image printing parameters that enable each nozzle to perform inkjet operation during printing of at least a portion of the test image, wherein the test image printing parameters include the width and color composition of the test image.

[0027] S03: Generate test image printing data according to the test image printing parameters.

[0028] Preferably, after the step S03: generating the test image printing data according to the test image parameters, the following steps are also included:

[0029] S04: acquiring the length of each sub-original image and the interval between two adjacent sub-original images in the moving direction of the printing medium according to the printing task parameters;

[0030] S05: Obtain the moving speed of the printing medium;

[0031] S06: Determine the time for which the nozzle needs to remain wet according to the interval distance and the moving speed of the printing medium;

[0032] S07: adjusting the test image printing data according to the time the nozzle needs to remain wet.

[0033] Preferably, after the step S03: generating the test image printing data according to the test image printing parameters, the following steps are also included:

[0034] S031: Acquire printing data of a sub-original image adjacent to the test image;

[0035] S032: acquiring, according to the test image printing data, the printing ink volume corresponding to each nozzle printing the test image as the first printing ink volume M1 of each nozzle;

[0036] S033: acquiring, according to the printing data of the sub-original image adjacent to the test image, the printing ink amount corresponding to each nozzle printing the adjacent sub-original image as the second printing ink amount M2 of each nozzle;

[0037] S034: Calculate the total printing ink volume M3 of each nozzle according to the first printing ink volume M1 and the second printing ink volume M2 of each nozzle, where M3 = M1 + M2;

[0038] S035: adjusting the test image printing data according to the first printing ink amount and the second printing ink amount so that the mean square deviation of the overall printing ink amount of each nozzle is less than a first threshold.

[0039] Preferably, the step S035 of adjusting the test image printing data according to the first printing ink amount and the second printing ink amount so that the mean square error of the overall printing ink amount of each nozzle is less than a first threshold value comprises the following steps:

[0040] S0351: acquiring a portion of the test image corresponding to each nozzle performing inkjet operation as a first sub-test image;

[0041] S0352: Acquire printing data of the first sub-test image as first sub-test printing data;

[0042] S0353: Acquire an image other than the first sub-test image in the test image as a second sub-test image;

[0043] S0354: Acquire printing data of the second sub-test image as second sub-test printing data;

[0044] S0355: keeping the first sub-test printing data unchanged and adjusting the second sub-test printing data according to the first printing ink volume and the second printing ink volume so that the mean square deviation of the overall printing ink volume of each nozzle is less than a first threshold.

[0045] In a second aspect, the present invention further provides a Onepass printing device for inserting a test image, the device comprising:

[0046] A print task parameter acquisition module, wherein the print task parameter acquisition module is used to acquire print task parameters;

[0047] A printing position determination module, the printing position determination module is used to determine the original image printing position and the test image printing position according to the printing task parameters;

[0048] A position acquisition module, wherein the position acquisition module is used to detect the moving position of the printing medium;

[0049] An image printing module, the image printing module is used to print the original image if the current printing position is the original image printing position, and print the test image if the current printing position is the test image printing position;

[0050] The original printing image includes a plurality of sub-original images arranged at intervals along the moving direction of the printing medium, and the printing position of the test image is located between the printing positions of two adjacent sub-original images.

[0051] In a third aspect, the present invention further provides a Onepass printing device for inserting a test image, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method described in the first aspect is implemented.

[0052] In a fourth aspect, the present invention further provides a medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method described in the first aspect is implemented.

[0053] Beneficial effects: The Onepass printing method, device, equipment and medium for inserting a test image of the present invention detects the moving position of the printing medium during the printing of the original image, and prints the test image in the gap between two adjacent sub-original images according to the moving position of the printing medium, and uses the test image to detect the state of the nozzle and the accuracy of the nozzle color. Since the test image is printed between the sub-original images, the printing process of the test image will not affect the printing length, position and printing progress of the normal image, and the test can be performed while printing, thereby achieving real-time detection during the printing process. In addition, this embodiment can effectively avoid nozzle clogging caused by the printing gap of the original image by printing the test image between the sub-original images to keep the nozzle in the inkjet state. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0055] Figure 1 A flow chart of the Onepass printing method for inserting a test image of the present invention;

[0056] Figure 2 is a schematic diagram of a test image of the present invention;

[0057] Figure 3 A schematic diagram of inserting a test image into a sub-original image for printing according to the present invention;

[0058] Figure 4 A flow chart of a method for printing a test image or an original image according to the present invention;

[0059] Figure 5 A flow chart of a method for determining a test image printing position and an original image printing position according to the present invention;

[0060] Figure 6 A flow chart of a method for generating test image print data for the present invention;

[0061] Figure 7 is a schematic diagram of the physical layout of the nozzle of the present invention;

[0062] Figure 8 A flow chart of a method for adjusting test image printing data according to moisturizing time according to the present invention;

[0063] Fig. 9 A schematic diagram of the structure of the Onepass printing device for inserting a test image according to the present invention;

[0064] Fig.10 It is a structural schematic diagram of the Onepass printing device for inserting a test image according to the present invention. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described in conjunction with the drawings in the embodiment of the present invention. It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. In the absence of further restrictions, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article or device comprising the elements. If there is no conflict, the various features in the embodiments and examples of the present invention can be combined with each other, all within the scope of protection of the present invention.

[0066] Example 1

[0067] like Figure 1 As shown, this embodiment discloses a Onepass printing method for inserting a test image, the method comprising the following steps:

[0068] S1: Get print task parameters;

[0069] The print task parameters refer to some parameters related to the print task, such as the number of original images to be printed, the location of the original images to be printed, whether to print a test image, etc. The print task parameters can be sent from the host computer to the control system of the printing device. The user can set the print task parameters through the interactive interface of the host computer.

[0070] S2: determining the original image printing position and the test image printing position according to the printing task parameters;

[0071] The original image is the formal print image that the printing task is supposed to print, and the test image is the image that is printed to test the printing effect. In this step, the original image printing position refers to the position of the original image on the printing medium after the original image is printed; the test image printing position refers to the position of the test image on the printing medium after the test image is printed. Figure 2 shown.

[0072] S3: Get the current printing position;

[0073] Since the print medium moves in a certain direction relative to the nozzle during Onepass printing, the current print position obtained in this step refers to the current print medium moving position relative to the nozzle. Detecting the moving position of the print medium refers to the current relative position of the print medium to the nozzle.

[0074] S4: if the current printing position is the original image printing position, then print the original image; if the current printing position is the test image printing position, then print the test image;

[0075] like Figure 3 As shown, the original printed image includes a plurality of moving directions of the printing medium ( Figure 3 The sub-original images 10 are arranged at intervals (in the direction indicated by the arrow A in the figure), and the printing position of the test image 30 is located between the printing positions of two adjacent sub-original images 10. In this step, according to the information in the print task parameters, on the one hand, each sub-original image 10 is printed according to the normal printing process, and on the other hand, when the print medium 20 moves between the printing positions of two adjacent sub-original images 10, it is determined whether the test image 30 needs to be printed. If it is necessary, the test image 30 is printed according to the test image 30 printing data, and if it is not necessary, the test image 30 is not printed.

[0076] Onepass printing often prints multiple images in one printing process, with a certain distance between each image, and each image belongs to the aforementioned sub-original image. In one printing task, all sub-original images constitute the aforementioned original printing image. The aforementioned printing medium moving direction is the direction in which the printing medium moves relative to the nozzle.

[0077] This step detects the real-time moving position of the print medium during the printing process, and prints a test image between the printing positions of two adjacent sub-original images according to the printing task parameters. The test image is used to detect the status of each nozzle and the accuracy of each color of the nozzle.

[0078] When the printing device is working, the host computer writes the original image printing data and test image printing data processed by the software into the storage unit (DDR3, SDRAM, etc.) in the printing control system board respectively, and transmits the writing location of the original image printing data and the test image printing data to the control system through the printing task parameters. The control system then determines whether to read the test image printing data and when to read the test image printing data according to whether to perform test image printing and the test image printing location transmitted by the host computer software.

[0079] During the printing process, the starting position and length of the test image print data in the storage unit can be sent to the print control system through the print task parameters. In addition, the interval distance and color bar position information of two adjacent sub-original images set on the software interface can also be sent to the print control system.

[0080] like Figure 4 As shown, the S4: if the current printing position is the original image printing position, then print the original image; if the current printing position is the test image printing position, then print the test image, including the following steps;

[0081] S41: acquiring original image printing data or test image printing data according to the moving position, the original image printing position and the test image printing position;

[0082] The original image printing data is the printing data that can be recognized by the inkjet printing device obtained by inputting the original image into the raster image processing software for rasterization processing, and the test image printing data is the printing data that can be recognized by the inkjet printing device obtained by inputting the test image into the raster image processing software for rasterization processing. When printing, the inkjet printing device performs inkjet printing according to the original image printing data to obtain the original image, and the printing device performs inkjet printing according to the test image printing data to obtain the test image.

[0083] In this step, whether to obtain the original image print data or the test image print data can be selected according to the current position of the print medium relative to the nozzle, and the timing of obtaining the print data can be selected according to the current position of the print medium relative to the nozzle. For example, when it is detected that the portion of the print medium on which the original image needs to be printed is about to move to directly below the nozzle, the original image print data is obtained, and when the portion of the print medium on which the original image needs to be printed moves to directly below the nozzle, the nozzle prints the original image according to the original image print data. When it is detected that the portion of the print medium on which the test image needs to be printed is about to move to directly below the nozzle, the nozzle prints the original image according to the test image print data. In this step, the corresponding print data is read in real time according to the moving position of the print medium, so that data storage resources can be used more reasonably.

[0084] S42: when the moving position is located at the original image printing position, printing the original image according to the original image printing data;

[0085] In this step, when the moving position is located at the original image printing position means when the portion of the printing medium where the original image is to be printed moves to the position below the nozzle. Since the original image includes multiple sub-original images, the printing data of the original image is also divided into multiple sub-original image printing data, and the sub-original image printing data corresponds to the sub-original images one by one. Therefore, the printing data of the sub-original image can be obtained when the moving position is close to the sub-original image printing position, and the sub-original image can be printed when the moving position is located at the sub-original image printing position.

[0086] S43: when the moving position is located between the printing positions of two adjacent sub-original images, determining whether to print a test image according to the printing task parameters.

[0087] The print task parameters include the insertion position information of the test image, that is, between which adjacent sub-original images the test image is inserted.

[0088] S44: if yes, printing a test image according to the test image printing data when the moving position is located at the test image printing position;

[0089] If a test image needs to be inserted at the current position, the nozzle jets ink to print the corresponding test image when the portion of the printing medium on which the test image needs to be printed moves below the nozzle.

[0090] S45: If no, the test image is not printed.

[0091] If the current position does not need to insert a test image, the print head does not perform a printing operation.

[0092] In this embodiment, the above method is adopted, and the printing mode can be switched in real time according to the moving position of the printing medium. When the printing medium moves to the original image printing position, it switches to the original image printing mode; when the printing medium moves to the test image printing position, it switches to the test image printing mode.

[0093] like Figure 5 As shown, in this embodiment, the S2: determining the original image printing position and the test image printing position according to the printing task parameters includes the following steps:

[0094] S21: Obtain the starting printing position of the original image according to the printing parameters;

[0095] Since the print medium moves relative to the nozzle during the printing process, the starting printing position of the original image in this step refers to the position on the print medium where the nozzle first prints.

[0096] S22: acquiring the length of each sub-original image and the interval length between two adjacent sub-original images in the moving direction of the printing medium according to the printing parameters;

[0097] In this embodiment, the length of the sub-original image refers to the size of the sub-original image in the moving direction of the printing medium. Figure 3 As shown, Figure 3 Where L represents the length of the original image.

[0098] S23: determining the printing position of each sub-original image according to the starting printing position, the length of each sub-original image and the interval length;

[0099] When the starting printing position is determined, the printing position of each sub-original image can be calculated according to the length of each sub-original image and the interval length.

[0100] S24: obtaining relative position information of the test image and each sub-original image according to the printing parameters;

[0101] The relative position information between the test image and each sub-original image in this step refers to the adjacent sub-original images between which the test image is inserted. The relative position information indicates the order in which each sub-original image and the test image are printed on the printing medium.

[0102] S25: Determine the test image printing position according to the printing positions of the sub-original images and the relative position information.

[0103] In this step, the test image is inserted between adjacent sub-original images according to the relative position information for printing.

[0104] Example 2

[0105] like Figure 6 As shown, in this embodiment, the step S1: obtaining print task parameters also includes the following steps:

[0106] S01: Acquire printing device parameters, where the printing device parameters include the number of nozzles, nozzle types, and physical layout of nozzles;

[0107] like Figure 7 As shown, Figure 7 The physical layout diagram of the nozzles including four colors K, C, M, and Y is shown. The physical layout of the nozzle refers to the arrangement of the nozzles in the nozzle. For example, some nozzles are composed of multiple sub-nozzles, some of the sub-nozzles have overlapping parts, and some of the sub-nozzles do not have overlapping parts. If the sub-nozzles overlap, the overlapping parts can be printed separately when printing the test image to accurately determine whether there are abnormal nozzles.

[0108] S02: Determine, according to the printing device parameters, test image printing parameters that enable each nozzle to perform inkjet operation during printing of at least a portion of the test image, wherein the test image printing parameters include the width and color composition of the test image.

[0109] In this step, the test image is designed according to the equipment parameters. In order to accurately detect abnormal nozzles, the test image can be designed as color bars, that is, the test image is composed of different color bars, and each color prints a color bar. For example, the nozzles are divided into four groups, and each group sprays cyan ink (C), magenta ink (M), yellow ink (Y), and black ink (K). At least four color bars are printed in the test image, such as Figure 2 As shown, the colors of these four color bars are C, M, Y, and K respectively.

[0110] And the width of the test image is greater than or equal to the width of the original image. Figure 3 As shown, the width here refers to the size of the test image or the original image in the direction perpendicular to the moving direction of the printing medium ( Figure 3 In d1, Figure 3 In the figure, d2 represents the width of the printing medium. In order to accurately detect the status of all nozzles, each nozzle will perform inkjet operation when printing a part of the test image or the entire test image. If there is a nozzle blockage, a broken line will appear on the test image. For example, if the red color bar on the test image is broken, it can be judged that some nozzles that eject red ink are blocked.

[0111] S03: Generate test image printing data according to the test image printing parameters.

[0112] Once the printing parameters of the test image are determined, test image printing data that meets the test requirements can be generated according to the printing parameters so as to subsequently print the test image.

[0113] Example 3

[0114] like Figure 8 As shown, in this embodiment, after the step S03: generating the test image printing data according to the test image parameters, the following steps are also included:

[0115] S04: acquiring the length of each sub-original image and the interval length between two adjacent sub-original images in the moving direction of the printing medium according to the printing task parameters;

[0116] S05: Obtain the moving speed of the printing medium;

[0117] S06: determining the time for which the nozzle needs to be kept wet according to the interval length and the moving speed of the printing medium;

[0118] Since the nozzles of the print head maintain the ink jetting state during the process of printing the sub-original image, the present embodiment can determine the time for each nozzle in the print head to maintain the ink jetting state according to the length of each sub-original image when the moving speed of the printing medium is known. When the nozzle is located at the interval between two adjacent sub-original images, the sub-original image is not printed. Therefore, the nozzle can continue to maintain the ink jetting state by printing a test image, so that the nozzle can maintain a wet state when the print head does not print the sub-original image to avoid nozzle clogging. Therefore, the time for the print head to maintain the wet state can be calculated when the moving speed of the printing medium is known.

[0119] S07: adjusting the test image printing data according to the time the nozzle needs to remain wet.

[0120] If the nozzle needs to be kept wet for a long time, the length of the test image can be increased by adjusting the test image printing data, thereby delaying the time of the nozzle test printing and extending the time the nozzle needs to be kept wet. Conversely, the length of the test image can be reduced by adjusting the test image printing data, thereby shortening the time of the nozzle test printing and shortening the time the nozzle needs to be kept wet.

[0121] Therefore, by adopting the method of this embodiment, the nozzle can be kept in a good moisturizing state regardless of how the length and the interval distance of the sub-original images change.

[0122] Example 4

[0123] In this embodiment, after the step S03: generating the test image printing data according to the test image printing parameters, the following steps are also included:

[0124] S031: Acquire printing data of a sub-original image adjacent to the test image;

[0125] In this step, the printing data of the previous sub-original image of the test image or the printing data of the next sub-original image or the printing data of the previous and next two sub-original images can be obtained.

[0126] S032: acquiring, according to the test image printing data, the printing ink volume corresponding to each nozzle printing the test image as the first printing ink volume M1 of each nozzle;

[0127] For example, if a print head has n nozzles, the first printing ink volume M1 corresponding to each nozzle is calculated according to the printing data, wherein the first printing ink volume M1 corresponding to the i-th nozzle is the amount of ink ejected by the nozzle during the process of printing the test image.

[0128] S033: acquiring, according to the printing data of the sub-original image adjacent to the test image, the printing ink amount corresponding to the printing of the adjacent sub-original image by each nozzle as the second printing ink amount M2 of each nozzle;

[0129] That is, the second printing ink amount is the amount of ink ejected by each nozzle when printing adjacent sub-original images.

[0130] S034: Calculate the total printing ink volume M3 of each nozzle according to the first printing ink volume M1 and the second printing ink volume M2 of each nozzle, wherein M3=M1+M2.

[0131] S035: adjusting the test image printing data according to the first printing ink amount and the second printing ink amount so that the mean square error of the overall printing ink amount of each nozzle is less than a first threshold.

[0132] Since the amount of printing ink of each nozzle is different during the printing of the original image, the state of each nozzle is also quite different. In this regard, the present embodiment adjusts the state of each nozzle during the test printing process by modifying the test image printing data, so that each nozzle maintains a similar amount of ink during the entire printing process without changing the original image, thereby avoiding clogging of some nozzles due to less ink ejection. The first threshold value can be set according to actual needs.

[0133] As a preferred embodiment, the step S035: adjusting the test image printing data according to the first printing ink amount and the second printing ink amount so that the mean square error of the overall printing ink amount of each nozzle is less than a first threshold, comprises the following steps:

[0134] S0351: acquiring a portion of the test image corresponding to each nozzle performing inkjet operation as a first sub-test image;

[0135] S0352: Acquire printing data of the first sub-test image as first sub-test printing data;

[0136] S0353: Acquire an image other than the first sub-test image in the test image as a second sub-test image;

[0137] S0354: Acquire printing data of the second sub-test image as second sub-test printing data;

[0138] S0355: keeping the first sub-test printing data unchanged and adjusting the second sub-test printing data according to the first printing ink volume and the second printing ink volume so that the mean square deviation of the overall printing ink volume of each nozzle is less than a first threshold.

[0139] In this embodiment, the test image is divided into two parts for printing, one of which is the first sub-test image corresponding to the first sub-test printing data, which makes all nozzles perform inkjet operation to ensure that the status of each nozzle and the accuracy of each color of the nozzle can be accurately detected. The other part is used as a data adjustment part, which is adjusted according to the printing ink volume of each nozzle when printing the original image and the first sub-test image, so that each nozzle can discharge ink more evenly during this printing process, thereby avoiding the situation where some nozzles discharge less ink and cause clogging.

[0140] Example 5

[0141] See also Fig. 9 , this embodiment provides a Onepass printing device for inserting a test image, comprising:

[0142] A print task parameter acquisition module, wherein the print task parameter acquisition module is used to acquire print task parameters;

[0143] A printing position determination module, the printing position determination module is used to determine the original image printing position and the test image printing position according to the printing task parameters;

[0144] A position acquisition module, wherein the position acquisition module is used to acquire the current printing position;

[0145] An image printing module, the image printing module being used to print an original image or a test image at a corresponding position of a printing medium according to the original image printing position, the test image printing position and the moving position;

[0146] The original printing image includes a plurality of sub-original images arranged at intervals along the moving direction of the printing medium, and the printing position of the test image is located between the printing positions of two adjacent sub-original images.

[0147] The image printing module also includes:

[0148] a print data acquisition submodule, the print data acquisition submodule being used to acquire original image print data or test image print data according to the moving position, the original image print position and the test image print position;

[0149] an original image printing submodule, the original image printing submodule being used for printing an original image according to original image printing data when the moving position is located at the original image printing position;

[0150] A judgment submodule is used for judging whether to print a test image according to a printing task parameter when the moving position is between the printing positions of two adjacent sub-original images.

[0151] a test image printing submodule, the test image printing submodule being used for printing a test image according to the test image printing data when the moving position is located at the test image printing position;

[0152] The printing submodule is omitted, and the printing submodule is used for not executing the operation of printing the test image.

[0153] Example 6

[0154] In addition, combined Fig.10 The Onepass printing method with an inserted test image according to the described embodiment of the present invention may be implemented by a Onepass printing device with an inserted test image. Fig.10 A schematic diagram of the hardware structure of a Onepass printing device for inserting a test image provided by an embodiment of the present invention is shown.

[0155] The Onepass printing device for inserting a test image may include a processor 401 and a memory 402 storing computer program instructions.

[0156] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.

[0157] Memory 402 may include a large capacity memory for data or instructions. For example, but not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside a data processing device. In a specific embodiment, memory 402 is a non-volatile solid-state memory. In a specific embodiment, memory 402 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0158] The processor 401 reads and executes computer program instructions stored in the memory 402 to implement any one of the data addressing methods for random area printing in the above embodiments.

[0159] In one example, the Onepass printing device for inserting a test image may also include a communication interface 403 and a bus 410. Figure 6 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0160] The communication interface 403 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.

[0161] Bus 410 includes hardware, software or both, and the components for the output of small multiples of ink volume are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransmission (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 410 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0162] Example 7

[0163] In addition, in combination with the Onepass printing method with a test image inserted in the above embodiment, an embodiment of the present invention may provide a computer-readable medium for implementation. The computer-readable medium stores computer program instructions; when the computer program instructions are executed by a processor, any of the Onepass printing methods with a test image inserted in the above embodiment is implemented.

[0164] The above is a detailed introduction to the Onepass printing method, device, equipment and medium for inserting a test image provided by an embodiment of the present invention.

[0165] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0166] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0167] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0168] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. Onepass printing method with test image insertion, characterized in that: The method comprises the following steps: S1: Obtaining printing task parameters including the original image and the test image; S2: Determine the original image printing position and the test image printing position according to the printing task parameters; S3: Get the current printing position; S4: If the current printing position is the original image printing position, then print the original image; if the current printing position is the test image printing position, then print the test image; The original printing image includes a plurality of sub-original images spaced apart along a moving direction of the printing medium, the original image printing position includes the printing position of each sub-original image, and the test image printing position is located between the printing positions of two adjacent sub-original images; The step S1: obtaining print task parameters further includes the following steps: S01: Acquire printing device parameters, including the number of printheads, printhead types, and physical layout of printheads; S02: determining, based on the printing device parameters, test image printing parameters that enable each nozzle to perform an inkjet operation during printing of at least a portion of the test image, wherein the test image printing parameters include a width and a color composition of the test image; S03: Generate test image printing data according to the test image printing parameters; After the step S03 of generating the test image printing data according to the test image printing parameters, the following steps are also included: S031: Acquire printing data of the sub-original image adjacent to the test image; S032: Obtaining, according to the test image printing data, the printing ink volume corresponding to each nozzle printing the test image as the first printing ink volume M1 of each nozzle; S033: obtaining, based on the print data of the sub-original image adjacent to the test image, the amount of printing ink corresponding to each nozzle printing the adjacent sub-original image as the second printing ink amount M2 of each nozzle; S034: Calculating the total printing ink volume M3 of each nozzle based on the first printing ink volume M1 and the second printing ink volume M2 of each nozzle, where M3 = M1 + M2; S035: adjusting the test image print data according to the first printing ink amount and the second printing ink amount so that the mean square deviation of the overall printing ink amount of each nozzle is less than a first threshold; The step S4: if the current printing position is the original image printing position, then printing the original image; if the current printing position is the test image printing position, then printing the test image, includes the following steps: S41: acquiring original image printing data or test image printing data according to the moving position of the printing medium, the original image printing position, and the test image printing position; S42: When the moving position is located at the original image printing position, the original image is printed according to the original image printing data; S43: when the moving position is between the printing positions of two adjacent sub-original images, determining whether to print a test image according to the printing task parameters; S44: If yes, printing a test image according to the test image printing data when the moving position is located at the test image printing position; S45: If no, the test image is not printed.

2. The Onepass printing method with a test image inserted according to claim 1, wherein: The step S2: determining the original image printing position and the test image printing position according to the printing task parameters, includes the following steps: S21: Obtaining the starting printing position of the original image according to the printing parameters; S22: Obtaining the length of each sub-original image and the distance between two adjacent sub-original images in the moving direction of the printing medium according to the printing parameters; S23: determining the printing position of each sub-original image according to the starting printing position, the length of each sub-original image and the interval distance; S24: Obtaining relative position information of the test image and each sub-original image according to the printing parameters; S25: Determine the test image printing position according to the printing positions of the sub-original images and the relative position information.

3. The Onepass printing method with a test image inserted according to claim 1, wherein: After the step S03 of generating the test image printing data according to the test image parameters, the following steps are also included: S04: Obtaining the length of each sub-original image and the distance between two adjacent sub-original images in the moving direction of the printing medium according to the printing task parameters; S05: Obtaining the moving speed of the printing medium; S06: determining the time for the nozzle to remain wet according to the spacing distance and the moving speed of the printing medium; S07: Adjusting the test image printing data according to the time the nozzle needs to remain wet.

4. The Onepass printing method with a test image inserted according to claim 1, wherein: The step S035 of adjusting the test image printing data according to the first printing ink amount and the second printing ink amount so that the mean square deviation of the overall printing ink amount of each nozzle is less than a first threshold comprises the following steps: S0351: Acquire a portion of the test image corresponding to each nozzle performing an inkjet operation as a first sub-test image; S0352: Acquire printing data of the first sub-test image as first sub-test printing data; S0353: Acquire an image in the test image except the first sub-test image as a second sub-test image; S0354: Acquire printing data of the second sub-test image as second sub-test printing data; S0355: Keep the first sub-test printing data unchanged and adjust the second sub-test printing data according to the first printing ink volume and the second printing ink volume so that the mean square deviation of the overall printing ink volume of each nozzle is less than a first threshold.

5. Insert the test image into the Onepass printing device, characterized in that include: A print task parameter acquisition module, wherein the print task parameter acquisition module is used to acquire print task parameters; a printing position determination module, configured to determine an original image printing position and a test image printing position according to printing task parameters; A position acquisition module, configured to acquire a current printing position; an image printing module, configured to print an original image if the current printing position is the original image printing position, and to print a test image if the current printing position is the test image printing position; The original printing image includes a plurality of sub-original images arranged at intervals along the moving direction of the printing medium, and the printing position of the test image is located between the printing positions of two adjacent sub-original images; The process of obtaining the print task parameters further includes the following steps: S01: Acquire printing device parameters, including the number of printheads, printhead types, and physical layout of printheads; S02: determining, based on the printing device parameters, test image printing parameters that enable each nozzle to perform an inkjet operation during printing of at least a portion of the test image, wherein the test image printing parameters include a width and a color composition of the test image; S03: Generate test image printing data according to the test image printing parameters; After the step S03 of generating the test image printing data according to the test image printing parameters, the following steps are also included: S031: Acquire printing data of the sub-original image adjacent to the test image; S032: Obtaining, according to the test image printing data, the printing ink volume corresponding to each nozzle printing the test image as the first printing ink volume M1 of each nozzle; S033: obtaining, based on the print data of the sub-original image adjacent to the test image, the amount of printing ink corresponding to each nozzle printing the adjacent sub-original image as the second printing ink amount M2 of each nozzle; S034: Calculating the total printing ink volume M3 of each nozzle based on the first printing ink volume M1 and the second printing ink volume M2 of each nozzle, where M3 = M1 + M2; S035: adjusting the test image print data according to the first printing ink amount and the second printing ink amount so that the mean square deviation of the overall printing ink amount of each nozzle is less than a first threshold; If the current printing position is the original image printing position, then the original image is printed; if the current printing position is the test image printing position, then the test image is printed, including the following steps: S41: acquiring original image printing data or test image printing data according to the moving position of the printing medium, the original image printing position, and the test image printing position; S42: When the moving position is located at the original image printing position, the original image is printed according to the original image printing data; S43: when the moving position is between the printing positions of two adjacent sub-original images, determining whether to print a test image according to the printing task parameters; S44: If yes, printing a test image according to the test image printing data when the moving position is located at the test image printing position; S45: If no, the test image is not printed. 6.Onepass printing device, characterized in that, include: At least one processor, at least one memory, and computer program instructions stored in the memory, which implement the method according to any one of claims 1 to 4 when the computer program instructions are executed by the processor.

7. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Array type inkjet printer and method for determining condition of nozzles thereof

    CN101125483A

  • Method for detecting printing nozzle errors in inkjet printing machine

    CN107433780A

  • Page gap nozzle spitting

    CN108472956A

  • Inkjet printing data processing method, device and equipment and storage medium

    CN110588179A

  • Image forming device, pattern forming method and its program

    CN1625221A