Printing device, printing system, and printing method

The printing device and method address barcode reading accuracy and symbol disappearance by selectively deleting dot data based on predetermined patterns, enhancing image integrity and efficiency.

JP7581798B2Active Publication Date: 2024-11-13BROTHER KOGYO KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020196051
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-26
Publication Date
2024-11-13
Estimated Expiration
2040-11-26

AI Technical Summary

Technical Problem

Existing printing systems face issues with barcode reading accuracy due to liquid smearing, which increases line width, and thin lines of characters or symbols disappearing during width adjustment processing, leading to processing time inefficiencies.

Method used

A printing device and method that selectively deletes dot data matching a predetermined deletion pattern while preserving dot data that matches an exclusion pattern, ensuring accurate code reading and symbol visibility without complex width adjustments.

Benefits of technology

The solution effectively suppresses barcode reading accuracy deterioration and prevents symbol disappearance by strategically deleting or modifying dot data, maintaining image integrity and reducing processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007581798000001
    Figure 0007581798000001
  • Figure 0007581798000002
    Figure 0007581798000002
  • Figure 0007581798000003
    Figure 0007581798000003
Patent Text Reader

Abstract

To provide a printer which can easily suppress reduction in reading accuracy of a code and disappearance of a signal.SOLUTION: In a printer, a control device selects dot data corresponding to dots forming an image in printing data, determines whether or not a dot pattern in a prescribed range including the selected dot data (selected dot data) matches a prescribed deletion pattern, and whether or not the dot pattern in the prescribed range including the selected dot data matches a prescribed exclusion pattern, does not perform correction of deleting the selected dot data that is determined not to match the deletion pattern and the selected dot data that is determined to match the deletion pattern and match the exclusion pattern from the printing data, performs correction of deleting the selected dot data that is determined to match the deletion pattern and not to match the exclusion pattern from the printing data, and forms an image on a discharge object medium by discharging liquid to the discharge object medium from a head on the basis of the corrected printing data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a printing device, a printing system, and a printing method. [Background technology]

[0002] As a conventional printing system, for example, the printing system of Patent Document 1 is known. The purpose of this printing system is to print tables and ruled lines other than barcodes well without reducing the accuracy of reading barcodes. Therefore, in this printing system, when the print data is barcode data, the printer driver prints the print data without making corrections to thicken the contour lines, and when the print data is not barcode data, the printer driver prints the print data after making corrections to thicken the contour lines. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2008-3994 A Summary of the Invention [Problem to be solved by the invention]

[0004] In this way, when printing a barcode, the printing data is not corrected in the printing system of Patent Document 1. However, when printing a barcode by ejecting liquid onto paper, if the liquid bleeds on the paper, the line width of the barcode increases, and the accuracy of reading the barcode decreases. In response to this, it is conceivable to carry out width adjustment processing to narrow the line width of the barcode print data. However, if the line width indicated by the print data for characters or other symbols other than barcodes is originally thin, there is a risk that the lines of the symbols will disappear due to the width adjustment processing. Furthermore, when printing such barcodes and symbols, carrying out complex width adjustment processing on them will take a lot of processing time.

[0005] In view of the above, an object of the present invention is to provide a printing device, a printing system, and a printing method that can easily prevent a decrease in code reading accuracy and the disappearance of symbols. [Means for solving the problem]

[0006] A printing device according to one aspect of the present invention includes a head that ejects liquid onto a receiving medium, and a control device, and the control device acquires print data for forming an image including a code having information on the receiving medium by dots formed by landing the liquid on the receiving medium, selects dot data from the acquired print data that correspond to the dots that form the image, determines whether a dot pattern of a predetermined range including the selected dot data (hereinafter referred to as selected dot data) matches a predetermined deletion pattern and whether a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern, does not make a correction to delete from the print data the selected dot data that is determined to match at least the deletion pattern, does not make a correction to delete from the print data the selected dot data that is determined to match the deletion pattern and to match the exclusion pattern, and makes a correction to delete from the print data the selected dot data that is determined to match the deletion pattern and not to match the exclusion pattern, and ejects the liquid from the head onto the receiving medium based on the corrected print data to form the image on the receiving medium.

[0007] A printing system according to one aspect of the present invention includes a computer and a printing device, the computer having a first control device, the printing device having a head that ejects liquid onto a liquid receiving medium, and a second control device, the first control device acquiring print data for forming an image including a code having information on the liquid receiving medium by dots formed by landing the liquid on the liquid receiving medium, selecting dot data from the acquired print data that corresponds to the dots that form the image, determining whether a dot pattern within a predetermined range including the selected dot data (hereinafter, selected dot data) matches a predetermined deletion pattern, and calculating the selected dot data. the second control device determines whether a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern, does not make any correction to delete from the print data the selected dot data that is determined to not match at least the deletion pattern, does not make any correction to delete from the print data the selected dot data that is determined to match the deletion pattern and to match the exclusion pattern, and deletes from the print data the selected dot data that is determined to match the deletion pattern and not to match the exclusion pattern, and the second control device ejects the liquid from the head onto the ejection medium based on the corrected print data to form the image on the ejection medium.

[0008] A printing method according to one aspect of the present invention is a printing method for a printing device that has a head that ejects liquid onto a receiving medium and a control device, and the printing method involves obtaining print data for forming an image including a code having information on the receiving medium by dots formed by landing the liquid on the receiving medium, selecting dot data from the obtained print data that correspond to the dots that form the image, determining whether a dot pattern of a predetermined range including the selected dot data (hereinafter referred to as selected dot data) matches a predetermined deletion pattern and whether a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern, not making a correction to delete from the print data the selected dot data that is determined to match at least the deletion pattern, not making a correction to delete from the print data the selected dot data that is determined to match the deletion pattern and to match the exclusion pattern, and deleting from the print data the selected dot data that is determined to match the deletion pattern and not to match the exclusion pattern, and ejecting the liquid from the head onto the receiving medium based on the corrected print data to form the image on the receiving medium. Effect of the Invention

[0009] The printing device, printing system, and printing method according to the present invention can easily prevent a decrease in code reading accuracy and the disappearance of symbols. [Brief description of the drawings]

[0010] [Figure 1] 1 is a schematic diagram of a printing device according to an embodiment of the present invention, viewed from above. [Diagram 2] FIG. 2 is a schematic view of the head in FIG. 1 as viewed from below. [Diagram 3] 2 is a functional block diagram illustrating an example of the printing device of FIG. 1. [Figure 4] Fig. 4(a) is a diagram showing an information code. Fig. 4(b) is a diagram showing an information code obtained by removing dots from the contour of Fig. 4(a). Fig. 4(c) is a diagram showing the information code of Fig. 4(a) printed on a receiving medium that is prone to bleeding of liquid. [Diagram 5] Fig. 5(a) is a diagram showing a symbol, Fig. 5(b) is a diagram showing the symbol obtained by removing dots from the outline of Fig. 5(a), and Fig. 5(c) is a diagram showing the symbol of Fig. 5(a) in digital form. [Figure 6] FIG. 13 is a diagram showing an example of a two-dot deletion pattern. [Figure 7] FIG. 13 is a diagram showing an example of an exclusion pattern corresponding to a two-dot deletion pattern. [Figure 8] 2 is a flowchart showing an example of the printing method of FIG. 1. [Figure 9] FIG. 13 is a diagram showing an example of an exclusion pattern corresponding to a three-dot deletion pattern. [Figure 10] FIG. 13 is a diagram showing an example of an exclusion pattern corresponding to a 4-dot deletion pattern. [Figure 11] 1 is a functional block diagram illustrating an example of a printing system according to an embodiment of the present invention. [Figure 12] 10 is a flowchart illustrating another example of a printing method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] (Embodiment) <Printing device configuration> 1, a printing device 10 according to an embodiment of the present invention is, for example, an inkjet printer that ejects liquid such as ink onto an ejection receiving medium A, which is paper. The printing device 10 includes a housing 11, a platen 12, a conveying device 20, one or more (for example, four) heads 30, a tank 13, and a control device 40. The control device 40 will be described in detail later.

[0012] Moreover, the transport direction in which the ejection receiving medium A is transported by the transport device 20 is referred to as the front, and the opposite direction is referred to as the rear. A direction that intersects (for example, perpendicular to) the transport direction is referred to as the left-right direction. Moreover, a direction that intersects (for example, perpendicular to) the front-rear direction and the left-right direction is referred to as the up-down direction. However, the arrangement direction of the printing device 10 is not limited to this.

[0013] The housing 11 houses a platen 12, a transport device 20, a head 30, a tank 13, and a control device 40. The platen 12 has a flat upper surface, and the ejection receiving medium A is placed on this upper surface.

[0014] The transport device 20 has a pair of transport rollers 21 and a transport motor 22 (FIG. 3). The pair of transport rollers 21 are arranged in the front-rear direction to sandwich the head 30 therebetween, and are aligned parallel to each other with their central axes extending in the left-right direction. The transport motor 22 is connected to the transport rollers 21, and rotates the transport rollers 21 to transport the ejection receiving medium A forward.

[0015] The heads 30 are fixed to the housing 11, are rectangular, and have a left-right dimension longer than the ejection receiving medium A. The lower surfaces of the heads 30 face the upper surface of the platen 12, and are arranged parallel to one another. The four heads 30 are aligned in a line in the front-rear direction. Details of the heads 30 will be described later.

[0016] The tanks 13 are provided in the same number as the heads 30, for example, and store different types of liquids, and are connected to the heads 30 via tubes 14. For example, the four tanks 13 store cyan, magenta, yellow, and black liquids, respectively, and supply the liquids to the corresponding heads 30 via the tubes 14.

[0017] <Head configuration> As shown in Fig. 2, the head 30 has a holder 31 and a plurality of chips 32. The holder 31 has, for example, a rectangular parallelepiped shape, and holds the chips 32 so that the undersides of the chips 32 are exposed on the underside of the holder 31. Note that Fig. 2 shows only one head 30.

[0018] The chip 32 has a plurality of nozzles 33 and driving elements 34 (FIG. 3) corresponding to the nozzles 33. The nozzles 33 are connected to the tank 13 via the liquid flow path and the tube 14. The plurality of nozzles 33 are arranged in a row at predetermined intervals in the left-right direction, for example, to form a nozzle row. In each chip 32, the plurality of nozzle rows are arranged in the front-rear direction so that the plurality of nozzles 33 are arranged at equal intervals in the left-right direction.

[0019] The multiple chips 32 are arranged in the head 30 along the left-right direction, and adjacent chips 32 are arranged with a shift in the front-rear direction. Therefore, the multiple chips 32 are arranged in the left-right direction so that they are staggered one by one in the front-rear direction. The multiple chips 32 are arranged so that the multiple nozzles 33 are equally spaced in the left-right direction and extend longer than the ejection receiving medium A in the left-right direction.

[0020] <Control device configuration> 3, the control device 40 has a calculation unit 41, a storage unit 42, and an interface 43. The control device 40 may be a single control device performing centralized control, or may be a plurality of control devices performing distributed control.

[0021] The interface 43 is connected to an external device B such as a computer, a network, and a recording medium, and receives various data such as print data from the external device B. The print data is data for forming an image including a code having information on the discharge-receiving medium A by dots formed by landing liquid on the discharge-receiving medium A, and includes image data such as raster data. The print data includes gradations indicating the density per unit area in the image. The print data may be data stored in the storage unit 42. The print data may also be binary or higher data for instructing whether or not to discharge liquid from the head 30. Furthermore, the print data may be RGB value data before being converted into the binary or higher data.

[0022] The storage unit 42 is a storage medium accessible by the calculation unit 41, and is composed of, for example, a RAM and a ROM. The RAM temporarily stores various data. Examples of this data include print data and data converted by the calculation unit 41. The ROM stores programs for performing various processes. The programs may be stored in a storage medium other than the storage unit 42. The programs may be stored in a single storage medium or multiple storage media.

[0023] The calculation unit 41 is composed of, for example, a processor such as a CPU, and an integrated circuit such as an ASIC. The calculation unit 41 executes a program stored in the ROM to control the driving element 34 and the conveying motor 22 and perform various processes. Examples of these processes include an acquisition process, a determination process, a correction process, and a printing process, and the details of these processes will be described later.

[0024] The control device 40 is connected to the driving elements 34 via a head driving circuit 44, and outputs a control signal based on print data to the head driving circuit 44. The head driving circuit 44 generates a driving signal based on the control signal and outputs it to the driving elements 34. As a result, the driving elements 34 are driven in response to the driving signal, pressure is applied to the liquid in the flow path connected to the nozzles 33, and the liquid is ejected from the nozzles 33.

[0025] The control device 40 is also connected to the carry motor 22 via a carry drive circuit 45, and outputs a control signal based on print data to the carry drive circuit 45. The carry drive circuit 45 outputs a drive signal generated based on this control signal to the carry motor 22. This controls the drive timing, rotation speed, rotation amount, etc. of the carry motor 22, and the ejection receiving medium A is carried forward.

[0026] <Printing process> The control device 40 executes a printing process that prints an image on the ejection receiving medium A based on the print data. In this printing process, the control device 40 performs a discharge operation that drives the drive elements 34 to discharge liquid from the nozzles 33, and a transport operation that drives the transport motor 22 to transport the ejection receiving medium A forward, based on the print data. As a result, the liquid ejected from the nozzles 33 lands on the ejection receiving medium A, and dots are formed by this liquid on the ejection receiving medium A. The dots are lined up in the left-right direction along the nozzle row that extends in the left-right direction, and are also lined up in the front-rear direction along the transport direction of the ejection receiving medium A, and an image is printed on the ejection receiving medium A.

[0027] The image is formed by one or more dots, and includes, for example, an information code C and a symbol D. The symbol D is an image other than the information code C, and examples thereof include characters and symbols. The information code C is a code for reading information from reflected light, and examples thereof include one-dimensional codes such as barcodes and two-dimensional codes such as QR codes (registered trademark). The information code C is irradiated with light such as infrared light by a code reader, and the information contained in the information code C is read from the reflected light.

[0028] 4(a), the information code C has a first portion C1 and a second portion C2. The first portion C1 is a portion formed of dots of a color with high light absorption rate (i.e., a color with low light reflectance) such as black in the image representing the information code C.

[0029] The second portion C2 is a portion formed by a space provided between adjacent first portions C1. The second portion C2 has a color such as white that has a higher light reflectance (i.e., a color with a lower light absorption rate) than the first portion C1. In the present embodiment, the second portion C2 is a blank portion into which liquid is not ejected from the nozzle 33, and is made of, for example, a white ejection receiving medium A.

[0030] <Determination process> As described above, the printing device 10 prints an image on the ejection receiving medium A by ejecting liquid onto the ejection receiving medium A in the printing process. For example, when the information code C in FIG. 4(a) is printed, if the liquid bleeds on the ejection receiving medium A, the line width of the image increases as shown in FIG. 4(c), resulting in a decrease in the reading accuracy of the information code C. On the other hand, as shown in FIG. 5(a), the line width of the symbol D may be thin. In this case, as shown in FIG. 5(b), if the line width in the print data is narrowed, the thin line may be deleted (not printed), and the symbol D may disappear. Therefore, the control device 40 executes a determination process to make corrections so as to easily suppress the decrease in the reading accuracy of the code and the disappearance of the symbol D.

[0031] In the determination process, the control device 40 selects dot data corresponding to the dots forming the image from the print data, and determines whether or not a dot pattern F of a predetermined range including the selected dot data (hereinafter, selected dot data E) matches a predetermined deletion pattern, and whether or not a dot pattern G of a predetermined range including the selected dot data E matches a predetermined exclusion pattern. Note that the dot patterns F and G may be set in the same range, or may be set in different ranges. In this embodiment, for the sake of convenience, an example will be described in which the dot patterns F and G are set in the same range.

[0032] For example, as shown in FIG. 5(c), the control device 40 divides the image to be printed into a plurality of cells in a lattice shape based on the print data so that one cell corresponds to one dot. The control device 40 sets dot data "1" to cells whose density is equal to or greater than a predetermined value, assuming that a dot is to be formed. The control device 40 sets blank data "0" to cells whose density is less than a predetermined value, assuming that a dot is not to be formed. The control device 40 then selects dot data "1" from the plurality of cells in the print data in order, and extracts dot patterns F and G of a predetermined range including the selected dot data E. For example, as shown by the shading in FIG. 5(c), the control device 40 sets a total of 25 cells in a range of five columns in the front-rear direction and five rows in the left-right direction centered on the selected dot data E as the predetermined range. Then, the patterns formed by the cells (dots) within this range are set as dot patterns F and G for the selected dot data E.

[0033] The deletion patterns include dot patterns for extracting dot data corresponding to dots that form the contour of an image, and are stored in storage unit 42. For example, the deletion patterns include an N-dot deletion pattern for extracting dot data corresponding to N dots (N is an integer equal to or greater than 1) to be deleted from the contour of an image in which multiple dots are continuously arranged in a predetermined direction.

[0034] Examples 1 to 8 in Fig. 6 are examples of two-dot deletion patterns. In these deletion patterns, one of the eight cells surrounding the central dot data "1" is blank data "0" and the other cells are non-reference data "-1". The non-reference cell "-1" is data that is not used in the determination process.

[0035] In this case, the dots based on the central dot data and the blank spaces based on the blank data are adjacent to each other in the image. Therefore, there is a possibility that the dots based on the central dot data will be located at the edge of the image and form the contour of the image. Therefore, the control device 40 compares the dot pattern F including the selected dot data E and the data of the eight surrounding cells shown in FIG. 5(c) with the deletion patterns shown in Examples 1 to 8 of FIG. 6. Note that, during the comparison, the selected dot data E is made to overlap with the central dot data of the deletion pattern. As a result of the comparison, the control device 40 determines that the dot pattern F matches the deletion patterns of Examples 1 to 3 and Example 6 of FIG. 6.

[0036] In this way, the control device 40 compares the image with the deletion pattern for each dot pattern F. As a result, if there is at least one empty cell data "0" around the selected dot data E in the dot pattern F, the control device 40 determines that the dot pattern F matches the deletion pattern. On the other hand, if there is not one empty cell data "0" around the selected dot data E in the dot pattern F, the control device 40 determines that the dot pattern F does not match the deletion pattern.

[0037] As a result, dot data for two dots is extracted so that one dot is removed from each of the top and bottom edges of the image contour in the vertical direction, and dot data for two dots is extracted so that one dot is removed from each of the left and right edges of the image contour in the horizontal direction.

[0038] The exclusion pattern includes a dot pattern for extracting dot data that, when dot data corresponding to dots constituting a line that matches the deletion pattern is deleted from the print data, will result in a predetermined percentage or more of the dot data corresponding to the dots constituting the line being deleted. This predetermined percentage is the percentage at which thin lines become unreadable, and is, for example, 80%. The predetermined percentage may be set at the time of designing the printing device 10, etc.

[0039] For example, in the example of FIG. 5(a), each of the diagonally extending lines (four lines) except for the central portion is composed of seven dots. These seven dots correspond to the dots that make up the line. In this case, the control device 40 deletes the dot data that matches the deletion pattern from the print data. As a result, as shown in FIG. 5(b), the dot data (line dot data) corresponding to the dots that make up the line is deleted. As a result, all seven dots are deleted, so 100% of the line dot data is deleted. The deleted ratio is equal to or greater than a predetermined ratio, and the symbol D is deleted to the extent that it cannot be identified. An exclusion pattern for avoiding such deletion is stored in the memory unit 42. A plurality of exclusion patterns are provided for this N-dot deletion pattern.

[0040] For example, four exclusion patterns are provided for a two-dot deletion pattern, as shown in examples 1 to 4 of Fig. 7. In the exclusion pattern of example 1 of Fig. 7, the central dot data is sandwiched between two blank data in the vertical direction. In the exclusion pattern of example 3 of Fig. 7, the central dot data and adjacent dot data below it are included, and further, these two dot data are sandwiched between two blank data in the vertical direction. These exclusion patterns of examples 1 and 3 are intended to prevent thin lines extending in the horizontal direction from becoming so thin that they are difficult to see, or from disappearing.

[0041] That is, when the dot pattern matches the exclusion pattern of Example 1 in FIG. 7, a thin line in which one dot is arranged in the left-right direction may be specified as the print data. Also, when the dot pattern matches the exclusion pattern of Example 3 in FIG. 7, a thin line in which two dots adjacent to each other are arranged in the left-right direction may be specified as the print data. In response to this, the control device 40 determines that these dot patterns match the exclusion pattern of Example 1 or Example 3 in FIG. 7, and excludes the selected dot data E corresponding to the dot pattern from the deletion target. As a result, the dots corresponding to the selected dot data E are not deleted, and the line extending in the left-right direction composed of these dots is set not to disappear. Also, the exclusion patterns of Examples 2 and 4 in FIG. 7 are intended to prevent the thin line extending in the up-down direction from becoming so thin that it is difficult to see or disappearing, and the principle is the same as that of Examples 1 and 3 in FIG. 7. That is, the control device 40 applies the exclusion pattern of Example 2 or Example 4 in FIG. 7, and sets that the dots arranged in the up-down direction are not deleted, and the thin line extending in the up-down direction composed of these dots is not erased.

[0042] Furthermore, the exclusion pattern corresponding to the N-dot deletion pattern includes a dot pattern that extracts dot data corresponding to dots in which N or less dots are consecutively arranged in a predetermined direction. As shown in examples 1 to 4 of Fig. 7, the exclusion pattern for the 2-dot deletion pattern sets dot data for dots in which 2 or less dots are consecutively arranged in each of the vertical and horizontal directions. In this way, the exclusion pattern is set so that all dots that make up a line are not deleted and the line does not disappear.

[0043] <Correction process> The control device 40 executes a correction process to correct the print data based on the results of the determination process. In the correction process, the control device 40 does not perform a correction to delete from the print data selected dot data E that is determined to not match at least the deletion pattern. The control device 40 also does not perform a correction to delete from the print data selected dot data E that is determined to match both the deletion pattern and the exclusion pattern. Furthermore, the control device 40 performs a correction to delete from the print data selected dot data E that is determined to match the deletion pattern and not match the exclusion pattern.

[0044] In this correction, the control device 40 replaces the "1" of the selected dot data E that does not match the exclusion pattern but matches the deletion pattern with blank data "0." This causes the selected dot data E to be deleted from the print data. As a result, dots are not formed in the image at positions that correspond to the selected dot data E, and the dots that make up the outline of the image are deleted.

[0045] In addition, when the control device 40 is configured to use an N-dot deletion pattern as the deletion pattern when determining whether a dot pattern F of a specified range including the selected dot data E matches a deletion pattern, and whether a dot pattern G of a specified range including the selected dot data E matches an exclusion pattern, when making a correction to delete the selected dot data E from the print data, the print data is corrected to delete less than N dots from the contour of the image for at least a portion of the image.

[0046] For example, the control device 40 determines in the determination process that the dot pattern F including the dot data of the leftmost dot and the rightmost dot among the multiple dots arranged continuously in the left-right direction matches the two-dot deletion pattern. Here, for example, the control device 40 determines in the determination process that the dot pattern G of the leftmost dot matches the exclusion pattern corresponding to the two-dot deletion pattern, and the dot pattern G of the rightmost dot does not match the exclusion pattern. In this case, in the correction process, the dot data of the leftmost dot is not deleted, and the dot data of the rightmost dot is deleted from the print data. Therefore, one dot is not deleted from the left end of the image contour in the left-right direction, and one dot is deleted from the right end of the contour.

[0047] Alternatively, the control device 40 determines in the determination process that the dot pattern G of the leftmost dot and the dot pattern G of the rightmost dot match the exclusion pattern. In this case, in the correction process, the dot data of the leftmost dot and the dot data of the rightmost dot are not deleted from the print data, and zero dots are deleted from the contour of the image in the left-right direction. In this way, when a two-dot deletion pattern is used in the determination process, one or zero dots may be deleted from the image.

[0048] <Printing method> The printing method of the printer 10 is executed by the control device 40, for example, in accordance with the flowchart of Fig. 8. The control device 40 executes an acquisition process for acquiring print data from an external device B or the like (step S1).

[0049] Then, for example, as shown in Fig. 5(a), the control device 40 divides the image to be printed into a plurality of cells based on the print data, and obtains the density of each cell. As shown in Fig. 5(c), the control device 40 sets dot data "1" to cells whose density is equal to or greater than a predetermined value, and sets blank data "0" to cells whose density is less than the predetermined value. The control device 40 selects dot data from each of the plurality of cells, and obtains dot patterns F and G of cells in a predetermined range that include the selected dot data E.

[0050] The control device 40 executes a determination process to determine whether the dot patterns F and G match the deletion pattern and the exclusion pattern (step S2). For example, the control device 40 compares the dot pattern F in Fig. 5(c) with the deletion patterns of Examples 1 to 8 in Fig. 6. As a result of the comparison, the dot pattern F matches the deletion patterns of Examples 1 to 3 and Example 6 in Fig. 6 (step S3: YES).

[0051] The control device 40 also compares the dot pattern G in Fig. 5(c) with the exclusion patterns of Examples 1 to 4 in Fig. 7. As a result of the comparison, this dot pattern G matches the exclusion patterns of Examples 3 and 4 in Fig. 7 (Step S4: YES). In this way, the control device 40 does not make a correction to delete from the print data the selected dot data E for which it has been determined that the dot pattern G matches the deletion pattern and the exclusion pattern.

[0052] If the control device 40 has not yet performed the determination process for all dot patterns F in the print data (step S5: NO), the control device 40 returns to step S2 and repeats the process. Here, the control device 40 does not correct the selected dot data E for which it has been determined that the dot pattern F is not a deletion pattern by deleting it from the print data (step S3: NO).

[0053] On the other hand, when it is determined that the dot patterns F and G match the deletion pattern but do not match the exclusion pattern (step S3: YES, step S4: NO), the control device 40 performs a correction to delete the selected dot data E from the print data (step S6). For example, in the information code C of Fig. 4(a), the dot pattern F of the dots that make up the outline of the first portion C1 matches the deletion pattern. On the other hand, the lines of this information code C are thick, and three or more dots that make up the lines are arranged consecutively in each of the front-back and left-right directions, and this dot pattern G does not match the exclusion pattern.

[0054] Therefore, the control device 40 deletes the dot data of the dot arranged at the front end and the dot arranged at the rear end of the multiple dots arranged consecutively in the front-rear direction from the print data of the information code C in Fig. 4(a). Also, the control device 40 deletes the dot data of the dot arranged at the left end and the dot arranged at the right end of the multiple dots arranged consecutively in the left-right direction from the print data of the information code C. As a result, the dots that form the outline of the first portion C1 are deleted from the front-rear and left-right directions, as shown in Fig. 4(b).

[0055] Then, when the control device 40 has performed the determination process for all dot patterns F, G in the print data (step S5: YES), it performs the printing process (step S7). Note that the printing process may be executed each time the determination process is performed for the dot patterns F, G of the dot data in all cells arranged in the left-right direction.

[0056] In the printing process, the control device 40 ejects liquid from the head 30 onto the ejection receiving medium A based on the corrected print data, forming an image on the ejection receiving medium A. Here, the control device 40 drives the drive element 34 for dot data "1" of the print data. As a result, the liquid is ejected from the nozzle 33 and lands on the ejection receiving medium A, forming dots of the liquid on the ejection receiving medium A. The first portion C1 of the information code C and the symbol D are printed on the ejection receiving medium A by the dots.

[0057] Furthermore, the control device 40 does not drive the drive elements 34 for blank data "0" in the print data. As a result, no dots are formed in positions on the ejection receiving medium A that correspond to the blank data, and the ejection receiving medium A appears. This ejection receiving medium A constitutes, for example, the second portion C2 of the information code C. In this way, the information code C is formed by the second portion C2 of the ejection receiving medium A and the first portion C1 of dots.

[0058] For example, even if the liquid is likely to spread onto the receiving medium A, by deleting dots that match the deletion pattern as shown in Fig. 4(b), it is possible to reduce the increase in line width of the information code C as shown in Fig. 4(a) and suppress a decrease in the reading accuracy of the information code C. Also, by not deleting dots that match the exclusion pattern as shown in Fig. 5(a), it is possible to suppress the disappearance of the symbol D due to a reduction in the line width of the symbol D as shown in Fig. 5(b). Furthermore, by comparing the deletion pattern and exclusion pattern with the dot patterns F and G, it is possible to reduce the comparison data of the dot patterns F and G, thereby shortening the processing time.

[0059] <Variation 1> In the printing device 10 according to the first modification, in the above embodiment, the deletion patterns include an M dot deletion pattern that extracts dot data corresponding to M dots (M is an integer equal to or greater than 1 and different from N) to be deleted from the contour of an image in which multiple dots are lined up consecutively in a predetermined direction. At least one of the multiple exclusion patterns corresponding to the N dot deletion pattern and the multiple exclusion patterns corresponding to the M dot deletion pattern includes an exclusion pattern made of a dot pattern different from the other.

[0060] For example, the ease with which the liquid spreads on the ejection receiving medium A differs depending on the type of the ejection receiving medium A. For this reason, the number of dots to be removed from the contour of the image may be changed depending on the type of the ejection receiving medium A. In this case, the control device 40 may acquire medium data.

[0061] The medium data is data indicating the tendency of the liquid to spread on the ejection receiving medium A on which the image is printed, for example, the type of paper. If the printing device 10 has an input device 15 such as a keyboard and a mouse, the medium data may be data input by a user from the input device 15. Furthermore, the printing data may include the medium data in addition to the image data.

[0062] The control device 40 sets the deletion pattern based on the medium data. This medium data and the M dot deletion pattern are associated in advance and stored in the storage unit 42. Here, the number M of dots to be deleted is set to be larger for the ejection receiving medium A on which the liquid is more likely to bleed. Note that if the liquid is less likely to bleed on the ejection receiving medium A and the medium data matches predetermined conditions, the control device 40 may execute the acquisition process and print process without executing the determination process and correction process.

[0063] For example, when the control device 40 extracts dot data of one dot to be deleted from the contour of an image, the one-dot deletion patterns of Examples 1 to 3 in Fig. 6 are stored in the storage unit 42. In this case, dot data for one dot is extracted so as to delete one dot from each of the top and left ends of the contour of the image.

[0064] For this one-dot deletion pattern, the exclusion patterns of Examples 1 and 2 in Fig. 7 are set. In this way, the exclusion patterns for the two-dot deletion pattern include the exclusion patterns of Examples 3 and 4 in Fig. 7, which are different from the exclusion patterns for the one-dot deletion pattern.

[0065] Furthermore, for example, in a 3-dot deletion pattern, the deletion pattern is set so that 2 dots are deleted from the top end of the image contour and 1 dot is deleted from the bottom end, and 2 dots are deleted from the left end and 1 dot is deleted from the right end of the image contour. For this 3-dot deletion pattern, the exclusion patterns of Examples 1 to 6 in Fig. 9 are set so as to extract dot data corresponding to dots in which 3 or less dots are consecutively arranged in a predetermined direction. In this way, the exclusion patterns for the 3-dot deletion pattern include the exclusion patterns of Examples 5 and 6 in Fig. 9, which are different from the exclusion patterns for the 2-dot deletion pattern.

[0066] Furthermore, for example, in a 4-dot deletion pattern, the deletion pattern is set so that 2 dots are deleted from the top end and 2 dots are deleted from the bottom end of the image contour, and 2 dots are deleted from the left end and 2 dots are deleted from the right end of the image contour. For this 4-dot deletion pattern, the exclusion patterns of Examples 1 to 8 in Fig. 10 are set so as to extract dot data corresponding to dots in which 4 or less dots are consecutively arranged in a predetermined direction. In this way, the exclusion patterns for the 4-dot deletion pattern include the exclusion patterns of Examples 7 and 8 in Fig. 10, which are different from the exclusion patterns for the 3-dot deletion pattern.

[0067] In this way, the deletion pattern and the exclusion pattern are set according to the bleeding tendency of the ejection receiving medium A, so that the print data can be more appropriately corrected, and it is possible to easily prevent a decrease in the reading accuracy of the code and the disappearance of symbols. Note that the type of deletion pattern may be set based on information other than the medium data input by the user through the input device 15.

[0068] <Variation 2> As shown in FIG. 11, the printing system 50 according to the second modification includes a computer 51 and a printing device 10. The computer 51 includes a first control device 52. The printing device 10 includes a head 30 that ejects liquid onto the ejection receiving medium A, and a second control device 46. The first control device 52 acquires print data for forming an image including a code having information on the ejection receiving medium A by dots formed by landing liquid on the ejection receiving medium A. The first control device 52 selects dot data corresponding to dots that form the image from the acquired print data, and determines whether a dot pattern F of a predetermined range including the selected dot data (hereinafter, selected dot data E) matches a predetermined deletion pattern, and whether a dot pattern G of a predetermined range including the selected dot data E matches a predetermined exclusion pattern. The first control device 52 does not correct the selected dot data E that is determined to not match at least the deletion pattern by deleting it from the print data, and does not correct the selected dot data E that is determined to match the deletion pattern and the exclusion pattern by deleting it from the print data. The first control device 52 deletes the selected dot data E that is determined to match the deletion pattern and not match the exclusion pattern from the print data. The second control device 46 ejects liquid from the head 30 onto the ejection receiving medium A based on the corrected print data to form an image on the ejection receiving medium A.

[0069] For example, the first control device 52 has a first calculation unit 53, a first storage unit 54, and a first interface 55. Note that the first control device 52 may be a single control device 40 performing centralized control, or may be a plurality of control devices 40 performing distributed control.

[0070] The first interface 55 is connected to the printing device 10 and transmits various data such as print data to the printing device 10. The first storage unit 54 is a storage medium accessible by the first calculation unit 53, and is composed of, for example, a RAM and a ROM. The RAM temporarily stores various data, and the ROM stores programs for performing various processes.

[0071] The first calculation unit 53 is configured with, for example, a processor such as a CPU, and an integrated circuit such as an ASIC. The first calculation unit 53 executes a program stored in the ROM to perform various processes such as acquisition process, determination process, and correction process in the same manner as the calculation unit 41, and transmits the corrected print data to the printing device 10 via the first interface 55.

[0072] The print data may be data stored in the first storage unit 54. The print data may also be data acquired by the first interface 55 from an external device such as a network or a storage medium. If the computer 51 has an input device such as a keyboard and a mouse, the print data may be data input from the input device. The print data may also be binary or higher data for instructing whether or not to eject liquid from the head 30. The print data may also be RGB value data before being converted into the binary or higher data.

[0073] The second control device 46 has a second calculation unit 47, a second storage unit 48, and a second interface 49. The second interface 49 receives the print data corrected by the computer 51 from the first control device 52. The second calculation unit 47 executes a program stored in the second storage unit 48 to perform a print process based on the corrected print data. In other respects, the second control device 46, the second calculation unit 47, the second storage unit 48, and the second interface 49 are similar to the control device 40, the calculation unit 41, the storage unit 42, and the interface 43 in FIG. 3.

[0074] In the printing system 50, the first control device 52 executes the acquisition process, the determination process, and the correction process, and the second control device 46 executes the printing process. This makes it possible to easily prevent a decrease in the reading accuracy of the information code C and the disappearance of the symbol D.

[0075] <Other Modifications> In all of the above embodiments and modifications, the selected dot data E "1" that does not match the exclusion pattern but matches the deletion pattern is replaced with blank data "0", thereby deleting the selected dot data E from the print data. However, the method of deleting the selected dot data E is not limited to this. The second portion C2 is not limited to a blank portion, and as long as the first portion C1 and the second portion C2 can be distinguished by a code reader and the information contained in the information code C can be read, dots may also be formed in the second portion C2 by landing liquid.

[0076] For example, a first portion C1 of the information code C is printed with a black liquid, and a second portion C2 is printed with a yellow liquid. In this case, the print data has color data for each region such as a cell, in addition to density data per unit region in the image. The selected dot data E that does not match the exclusion pattern but matches the deletion pattern may be deleted from the print data by replacing the color of the selected dot data E from black to yellow.

[0077] In all the above embodiments and modifications, the control device may compare the dot pattern with the deletion pattern and the exclusion pattern, and may delete selected dot data of dot patterns that do not match the exclusion pattern but match the deletion pattern from the print data, and may correct other selected dot data so as not to delete them from the print data. For this reason, the control device may execute the printing method, for example, in accordance with the flowchart shown in Fig. 12. The processes of steps S11-S12 and S15-S17 in Fig. 12 are similar to the processes of steps S1-S2 and S5-S7 in Fig. 8, respectively.

[0078] In this case, the control device executes an acquisition process to acquire print data from an external device B or the like (step S11), and executes a judgment process to judge whether or not the dot patterns F and G match the deletion pattern and the exclusion pattern (step S12). Then, if the dot pattern G does not match the exclusion pattern (step S13: NO) and the dot pattern F matches the deletion pattern (step S14: YES), the control device performs a correction to delete the selected dot data E from the print data (step S16). On the other hand, if the dot pattern G matches the exclusion pattern (step S13: YES), the dot pattern G does not match the exclusion pattern (step S13: NO), and the dot pattern F does not match the deletion pattern (step S14: NO), the control device does not perform a correction to delete the selected dot data E from the print data. Then, when the control device executes a judgment process for all dot patterns F and G in the print data (step S15: YES), it performs a print process based on the corrected print data (step S17).

[0079] In all the above embodiments and modified examples, the ejection receiving medium A is a medium onto which the liquid that lands from the head 30 easily spreads, such as paper. Examples of this paper include cut paper, roll paper, and label paper.

[0080] In all of the above embodiments and modified examples, the printing device 10 uses a line head system in which the head 30 is fixed. However, the printing device 10 may use a serial head system in which a carriage carrying the head 30 is provided and the carriage moves the head 30 in the left-right direction. Also, the printing device 10 may not be provided with the transport device 20, and may use a system in which the ejection receiving medium A is not transported and the head 30 moves relative to the ejection receiving medium A.

[0081] It should be noted that all the above-mentioned embodiments may be combined with each other as long as they do not exclude each other. Also, many improvements and other embodiments of the present invention will be apparent to those skilled in the art from the above description. Therefore, the above description should be construed as merely illustrative and is provided for the purpose of teaching those skilled in the art the best mode for carrying out the present invention. Details of the structure and / or function of the present invention may be substantially modified without departing from the spirit of the present invention. [Industrial Applicability]

[0082] INDUSTRIAL APPLICABILITY The printing device, printing system, and printing method of the present invention are useful as printing devices, printing systems, and printing methods that can easily prevent a decrease in code reading accuracy and the disappearance of symbols. [Explanation of symbols]

[0083] 10:Printing device 30: Head 40: Control device 46: Second control device 50: Printing system 51: Computer 52: First control device

Claims

1. A head that ejects liquid onto an ejection receiving medium; A control device, The control device includes: acquiring print data for forming an image including a code having information on the ejection receiving medium by dots formed by landing the liquid on the ejection receiving medium; From the acquired print data, select dot data corresponding to the dots that form the image, and determine whether or not a dot pattern of a predetermined range including the selected dot data (hereinafter, selected dot data) matches a predetermined deletion pattern, and whether or not a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern; At least the selected dot data that is determined not to match the deletion pattern is not deleted from the print data, The selected dot data that is determined to match the deletion pattern and the exclusion pattern is not corrected to be deleted from the print data; a correction is performed to delete the selected dot data that is determined to match the deletion pattern and not match the exclusion pattern from the print data; forming the image on the ejection receiving medium by ejecting the liquid from the head onto the ejection receiving medium based on the corrected print data; the deletion pattern includes a dot pattern for extracting dot data corresponding to dots that form a contour of the image, A printing device, wherein the exclusion pattern includes a dot pattern that extracts dot data corresponding to dots that make up a line in the image, which, when dot data that matches the deletion pattern is deleted from the print data, will result in the line being deleted.

2. the deletion pattern includes an N-dot deletion pattern for extracting dot data corresponding to N dots (N is an integer equal to or greater than 1) to be deleted from a contour of the image in which a plurality of the dots are successively arranged in a predetermined direction, The printing apparatus according to claim 1 , wherein a plurality of the exclusion patterns are provided for the N-dot deletion pattern.

3. the deletion pattern includes an M dot deletion pattern for extracting dot data corresponding to M dots (M is an integer different from N and equal to or greater than 1) to be deleted from a contour of the image in which a plurality of the dots are successively arranged in a predetermined direction, 3. A printing device according to claim 2, wherein at least one of the plurality of exclusion patterns corresponding to the N dot deletion pattern and the plurality of exclusion patterns corresponding to the M dot deletion pattern includes an exclusion pattern consisting of a dot pattern different from the other.

4. A head that ejects liquid onto an ejection medium; A control device, The control device includes: acquiring print data for forming an image including a code having information on the ejection receiving medium by dots formed by landing the liquid on the ejection receiving medium; From the acquired print data, select dot data corresponding to the dots that form the image, and determine whether or not a dot pattern of a predetermined range including the selected dot data (hereinafter, selected dot data) matches a predetermined deletion pattern, and whether or not a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern; At least the selected dot data that is determined not to match the deletion pattern is not deleted from the print data, The selected dot data that is determined to match the deletion pattern and the exclusion pattern is not corrected to be deleted from the print data; a correction is performed to delete the selected dot data that is determined to match the deletion pattern and not match the exclusion pattern from the print data; forming the image on the ejection receiving medium by ejecting the liquid from the head onto the ejection receiving medium based on the corrected print data; the deletion pattern includes an N-dot deletion pattern for extracting dot data corresponding to N dots (N is an integer equal to or greater than 1) to be deleted from a contour of the image in which a plurality of the dots are successively arranged in a predetermined direction, A plurality of the exclusion patterns are provided for the N dot deletion pattern, a printing device, wherein the exclusion pattern corresponding to the N dot deletion pattern includes a dot pattern that extracts dot data corresponding to the N or fewer dots that are successively arranged in the predetermined direction.

5. A head that ejects liquid onto an ejection medium; A control device, The control device includes: acquiring print data for forming an image including a code having information on the ejection receiving medium by dots formed by landing the liquid on the ejection receiving medium; From the acquired print data, select dot data corresponding to the dots that form the image, and determine whether or not a dot pattern of a predetermined range including the selected dot data (hereinafter, selected dot data) matches a predetermined deletion pattern, and whether or not a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern; At least the selected dot data that is determined not to match the deletion pattern is not deleted from the print data, The selected dot data that is determined to match the deletion pattern and the exclusion pattern is not corrected to be deleted from the print data; a correction is performed to delete the selected dot data that is determined to match the deletion pattern and not match the exclusion pattern from the print data; forming the image on the ejection receiving medium by ejecting the liquid from the head onto the ejection receiving medium based on the corrected print data; the deletion pattern includes an N-dot deletion pattern for extracting dot data corresponding to N dots (N is an integer equal to or greater than 1) to be deleted from a contour of the image in which a plurality of the dots are successively arranged in a predetermined direction, A plurality of the exclusion patterns are provided for the N dot deletion pattern, When the control device is configured to use the N-dot deletion pattern as the deletion pattern when determining whether a dot pattern of a specified range including the selected dot data matches the deletion pattern, and whether a dot pattern of a specified range including the selected dot data matches the exclusion pattern, the control device corrects the printing data when making a correction to delete the selected dot data from the printing data so that less than N dots are deleted from the contour of the image for at least a portion of the image.

6. A computer and a printing device are provided, The computer has a first control device, The printing device includes a head that ejects liquid onto an ejection receiving medium, and a second control device; The first control device is acquiring print data for forming an image including a code having information on the ejection receiving medium by dots formed by landing the liquid on the ejection receiving medium; From the acquired print data, select dot data corresponding to the dots that form the image, and determine whether or not a dot pattern of a predetermined range including the selected dot data (hereinafter, selected dot data) matches a predetermined deletion pattern, and whether or not a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern; At least the selected dot data that is determined not to match the deletion pattern is not deleted from the print data, The selected dot data that is determined to match the deletion pattern and the exclusion pattern is not corrected to be deleted from the print data; The selected dot data that is determined to match the deletion pattern and not match the exclusion pattern is deleted from the print data; the deletion pattern includes a dot pattern for extracting dot data corresponding to dots that form a contour of the image, the exclusion pattern includes a dot pattern for extracting dot data that corresponds to dots constituting a line in the image and that, when dot data that matches the deletion pattern is deleted from the print data, will result in the deletion of the line; The second control device is A printing system that forms the image on the ejection receiving medium by ejecting the liquid from the head onto the ejection receiving medium based on the corrected print data.

7. A head that ejects liquid onto an ejection receiving medium; A printing method for a printing device including a control device, the method comprising: acquiring print data for forming an image including a code having information on the ejection receiving medium by dots formed by landing the liquid on the ejection receiving medium; From the acquired print data, select dot data corresponding to the dots that form the image, and determine whether or not a dot pattern of a predetermined range including the selected dot data (hereinafter, selected dot data) matches a predetermined deletion pattern, and whether or not a dot pattern of a predetermined range including the selected dot data matches a predetermined exclusion pattern; At least the selected dot data that is determined not to match the deletion pattern is not deleted from the print data, The selected dot data that is determined to match the deletion pattern and the exclusion pattern is not corrected to be deleted from the print data; The selected dot data that is determined to match the deletion pattern and not match the exclusion pattern is deleted from the print data; the deletion pattern includes a dot pattern for extracting dot data corresponding to dots that form a contour of the image, the exclusion pattern includes a dot pattern for extracting dot data that corresponds to dots constituting a line in the image and that, when dot data that matches the deletion pattern is deleted from the print data, will result in the deletion of the line; a printing method in which the liquid is ejected from the head onto the ejection receiving medium based on the corrected print data, thereby forming the image on the ejection receiving medium.

Citation Information

Patent Citations

  • Printing system

    JP2008003994A

  • Printer driver, print control method, and printer system

    JP2011076359A

  • Liquid discharge device, liquid discharge method and program used for the liquid discharge device

    JP2015009503A

  • Image formation apparatus and image processing program

    JP2018052088A