Search

CN-120019960-B - Printer detection method, device, equipment and storage medium

CN120019960BCN 120019960 BCN120019960 BCN 120019960BCN-120019960-B

Abstract

The invention belongs to the technical field of detection of nozzle blockage of printing equipment, and particularly relates to a method, a device, equipment and a storage medium for detecting a printer. The printer detection method comprises the steps of obtaining detection printing data of a first color channel as first detection printing data, wherein the first color channel is a color channel to be detected, replacing ink dot data in the first detection printing data with ink dot data printed by a mixture of the first color channel and a second color channel to obtain second detection printing data, replacing the ink dot data in the first detection printing data with ink dot data printed by a single color channel to obtain third detection printing data, printing according to the second detection printing data and the third detection printing data to obtain a first detection diagram, detecting the blocking condition of a spray hole of the first color channel according to the first detection diagram, and enabling the ink color corresponding to the second color channel to be different from the ink color corresponding to the first color channel. The invention can accurately detect the blocking condition of the spray hole of the spray head.

Inventors

  • REN JIANPING
  • NIE ZHAOMIN
  • XU GUOMIN

Assignees

  • 深圳市汉森软件股份有限公司

Dates

Publication Date
20260512
Application Date
20231120

Claims (9)

  1. 1. A method of printer detection, the method comprising the steps of: acquiring detection printing data of a first color channel as first detection printing data, wherein the first color channel is a color channel to be detected; Replacing the ink dot data in the first detection printing data with the ink dot data printed by the mixture of the first color channel and the second color channel to obtain second detection printing data, and replacing the ink dot data in the first detection printing data with the ink dot data printed by the second color channel to obtain third detection printing data; Printing according to the second detection printing data and the third detection printing data to obtain a first detection diagram; Detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram; the color of the ink corresponding to the second color channel is different from the color of the ink corresponding to the first color channel; the detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram comprises the following steps: detecting the printing condition of the second color channel, and judging whether the printing condition of the second color channel is normal or not; if the first color channel is normal, detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram; if not, replacing the second color channel with the third color channel for printing to obtain a new first detection diagram; Detecting the blocking condition of the spray hole of the first color channel according to the new first detection diagram; the color of the ink corresponding to the third color channel is different from the color of the ink corresponding to the second color channel and the color of the ink corresponding to the first color channel.
  2. 2. The method for detecting a printer according to claim 1, wherein detecting the printing condition of the second color channel, and determining whether the printing condition of the second color channel is normal, further comprises the steps of: Detecting whether the spray hole of the second color channel is blocked according to the image printed by the third detection printing data in the first detection diagram; detecting whether the color registration of the second color channel and the first color channel is accurate according to the image printed by the second detection printing data in the first detection chart; If the spray hole of the second color channel is not blocked and the color of the second color channel and the color of the first color channel are accurate, the printing condition of the second color channel is normal, otherwise, the printing condition of the second color channel is abnormal.
  3. 3. The printer detection method according to claim 1, wherein the detecting of the clogging condition of the nozzle hole of the first color channel according to the first detection map if normal further includes the steps of: acquiring an image printed by second detection data in the first detection graph; acquiring Lab values of drop point positions of all ink points on the image printed by the second detection data; If the Lab value of the drop point position of each ink point is equal to the Lab value of the mixed printing of the first color channel and the second color channel, the spray hole of the first color channel is not blocked; If the difference value between the Lab value at a certain position and the Lab value printed by the second color channel is smaller than or equal to a first threshold value, the spray hole of the first color channel corresponding to the position is blocked.
  4. 4. The method of claim 1, wherein the step of printing with the third color channel instead of the second color channel to obtain a new first detection chart if it is abnormal further comprises the steps of: Acquiring the position of a spray hole with a blockage in a second color channel; Acquiring ink point data printed by the nozzle with the blockage in the second detection data as data to be replaced according to the position of the nozzle with the blockage; replacing the data to be replaced in the second detection data with the ink dot data mixed and printed by the third color channel and the first color channel to obtain new second detection data; And printing according to the third detection data and the new second detection data to obtain a new first detection graph.
  5. 5. The printer detection method according to claim 1, wherein the detection of the clogging condition of the nozzle hole of the first color channel according to the new first detection map further includes the steps of; acquiring an image printed by the second detection data in the new first detection image; acquiring Lab values of drop point positions of all ink points on the image printed by the second detection data; if the Lab value of the drop point position of each ink point is equal to the Lab value of the mixed printing of the first color channel and the second color channel or the Lab value of the mixed printing of the first color channel and the third color channel, the spray hole of the first color channel is not blocked; If the Lab value at a certain position is equal to the Lab value printed by the second color channel or the Lab value printed by the third color channel, the spray hole of the first color channel corresponding to the position is blocked.
  6. 6. The method for detecting a printer according to claim 1, wherein the first color channel is a yellow channel and the second color channel is a cyan channel or a magenta channel.
  7. 7. A printer detection apparatus, the apparatus comprising: the first detection printing data acquisition module is used for acquiring detection printing data of a first color channel as first detection printing data, wherein the first color channel is a color channel to be detected; The detection printing data generation module is used for replacing the ink dot data in the first detection printing data with the ink dot data printed by the first color channel and the second color channel in a mixed mode to obtain second detection printing data, and replacing the ink dot data in the first detection printing data with the ink dot data printed by the second color channel independently to obtain third detection printing data; The first detection diagram acquisition module is used for printing according to the second detection printing data and the third detection printing data to obtain a first detection diagram; The spray hole blockage detection module is used for detecting spray hole blockage conditions of the first color channel according to the first detection diagram; The color of the ink corresponding to the second color channel and the color of the ink corresponding to the third color channel are different from the color of the ink corresponding to the first color channel; the detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram comprises the following steps: detecting the printing condition of the second color channel, and judging whether the printing condition of the second color channel is normal or not; if the first color channel is normal, detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram; if not, replacing the second color channel with the third color channel for printing to obtain a new first detection diagram; Detecting the blocking condition of the spray hole of the first color channel according to the new first detection diagram; the color of the ink corresponding to the third color channel is different from the color of the ink corresponding to the second color channel and the color of the ink corresponding to the first color channel.
  8. 8. A printer detection device comprising at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method of any one of claims 1-6.
  9. 9. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-6.

Description

Printer detection method, device, equipment and storage medium Technical Field The present invention relates to the field of detection technology of nozzle blockage of printing devices, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a printer. Background At present, in the working process of an industrial inkjet printer, a printer nozzle ejects ink drops on a printing medium to form images and texts, after a period of printing, ink or dust is easy to remain on the nozzle orifice of the nozzle, and the nozzle orifice is easy to cause blockage, and the nozzle orifice under the condition is called an abnormal nozzle orifice. The image position corresponding to the abnormal spray hole often has the condition of broken lines or poor effect, and the quality of the image is seriously affected. Because the effect of printing is different when the spray nozzle spray hole is normal and when the spray nozzle spray hole is blocked, the applicant proposes that the detection chart can be printed on the printing medium under the spray nozzle, and then the blocked spray hole on the spray nozzle can be found out through the analysis and the detection of the detection chart, so that the treatment can be carried out according to the position of the blocked spray hole in the follow-up formal printing. When an image is printed, multiple colors of ink are often used for printing, and different colors of ink are used for printing through different color channels. However, ink of certain colors is poorly visible when printed on a print medium, and it is difficult to properly detect the drop of ink dots, whether by the naked eye or by certain cameras. In this case, it is difficult to accurately detect the position of the clogged nozzle hole from the image printed by the head nozzle. Disclosure of Invention In view of the above, the embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for detecting a printer, which are used for solving the technical problem that in the prior art, the blocking condition of a nozzle hole of a nozzle cannot be accurately detected by printing an image. The technical scheme adopted by the invention is as follows: in a first aspect, the present invention provides a printer detection method, the method comprising the steps of: acquiring detection printing data of a first color channel as first detection printing data, wherein the first color channel is a color channel to be detected; Replacing the ink dot data in the first detection printing data with the ink dot data printed by the mixture of the first color channel and the second color channel to obtain second detection printing data, and replacing the ink dot data in the first detection printing data with the ink dot data printed by the second color channel to obtain third detection printing data; Printing according to the second detection printing data and the third detection printing data to obtain a first detection diagram; Detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram; The color of the ink corresponding to the second color channel is different from the color of the ink corresponding to the first color channel. Preferably, the step S4 of detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram comprises the following steps: detecting the printing condition of the second color channel, and judging whether the printing condition of the second color channel is normal or not; if the first color channel is normal, detecting the blocking condition of the spray hole of the first color channel according to the first detection diagram; if not, replacing the second color channel with the third color channel for printing to obtain a new first detection diagram; Detecting the blocking condition of the spray hole of the first color channel according to the new first detection diagram; the color of the ink corresponding to the third color channel is different from the color of the ink corresponding to the second color channel and the color of the ink corresponding to the first color channel. Preferably, the detecting the printing condition of the second color channel, and determining whether the printing condition of the second color channel is normal further includes the following steps: Detecting whether the spray hole of the second color channel is blocked according to the image printed by the third detection printing data in the first detection diagram; detecting whether the color registration of the second color channel and the first color channel is accurate according to the image printed by the second detection printing data in the first detection chart; If the spray hole of the second color channel is not blocked and the color of the second color channel and the color of the first color channel are accurate, the printing condition of