This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2022-025282 filed on Feb. 22, 2022, the entire content of which is incorporated herein by reference.
The present disclosure relates to a printing control method, a printing control device, and a storage medium.
There has been known a printing device (nail printing device) that prints a design on the nail of a finger or the like. This type of printing device performs a printing process using an inkjet print head, for example.
Although the normal installation state of the print head is a state in which the print head is movable in a direction perpendicular to the left-right direction (main-scanning direction) with respect to the front of the printing device, the print head may be inclined from this normal installation state due to errors in designing or assembling, external shocks, or the like.
If the print head performs printing in the state of being inclined, ink landing positions deviate from their originally planned positions, so that high-quality printing results cannot be obtained.
In particular, in a case where the print head performs printing by a multi-pass method, by which printing on each area is performed by multiple passes, images printed by respective passes have positional difference, so that decrease in quality of printing is significant.
In this regard, for example, in JP 2004-017464 A, there is disclosed a printing device (“inkjet recording device” in JP 2004-017464 A) including a print head and a controller, wherein if a carrying direction (i.e., sub-scanning direction) of a printing target (recording matter, recording paper) is not parallel to a nozzle arrangement direction of nozzles provided in the print head, the controller corrects image data based on a correction value and controls operation of the print head so as to correct inclination of a pixel array formed by ink ejected from openings of the nozzles.
Such data correction makes it possible to correct displacement of the nozzle arrangement direction in the print head.
A printing control method of the present disclosure includes, in a case where a print head that performs printing on a printing target is inclined from a state parallel to a first direction toward a second direction intersecting with the first direction, and a non-printable area on which printing cannot be performed is created, generating, based on an amount of displacement of the print head toward the second direction and an area on which printing is performed in a case where the print head is not inclined toward the second direction, corrected print data according to the amount of displacement.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments, and together with the general description given above and the detailed description of the embodiments given below, serve to explain the principles of the present disclosure, wherein:
Referring to
Although various limitations technically preferable for carrying out the present disclosure are put on the embodiment(s) described below, the technical scope of the present disclosure is not limited to the embodiment(s) below or illustrated examples.
For example, in the following embodiment(s), as the printing control device, there is described a control device (control unit) that controls a printing device (nail printing device) that performs printing on fingernails of hands as the printing target. However, the control target of the printing control device of the present disclosure is not limited to the printing device that treats fingernails of hands as the printing target, but may be a printing device that treats toenails of feet as the printing target. Further, the printing device may be a printing device that treats, as the printing target, not even nails but surfaces of nail chips, various accessories, or the like.
In the following embodiment(s), up, down, left, right, front and back or similar expressions refer to directions/orientations shown in
As shown in
On the upper surface (top plate) of the case 2, an operation unit 21 and a display 22 are disposed.
Shapes and arrangement of the components of the case 2 are not limited to those shown in
The operation unit 21 is for a user to make various inputs.
The operation unit 21 is, for example, an operation button, such as a power switch button to turn on and off a power source of the printing device 1.
When the operation unit 21 is operated by the user, an operation signal corresponding to the operation is output to a controller 11, and the controller 11 performs control in accordance with the operation signal, thereby operating the components of the printing device 1. For example, if the operation unit 21 is a power switch button, the printing device 1 is powered on or off in response to a user operation on the button.
In this embodiment, the printing device 1 cooperates with, for example, a terminal device 8 (shown in
The display 22 is, for example, a liquid crystal display (LCD), an organic electroluminescent display or another flat display.
The surface of the display 22 may be integrated with a touchscreen for the user to make various inputs. In this case, the touchscreen functions as the operation unit 21.
The display 22 may display a nail design input/selected by the user through the operation unit 21 or the like, a nail image generated by imaging a nail of the user, and so forth.
The display 22 may also display a message screen or the like where an instruction(s), guidance, a warning(s) or the like for the user is displayed.
At approximately the center in the left-right direction (X direction in
The case 2 houses a finger placement unit 3, a printing mechanism 4 (shown in
The finger placement unit 3 is disposed in the case 2 at a position corresponding to the finger insertion port 23.
The finger placement unit 3 has an opening corresponding to the finger insertion port 23. The finger, the nail of which is the printing target, inserted through the finger insertion port 23 is further inserted through the opening and held at a position in the finger placement unit 3 suitable for printing.
The upper surface of the finger placement unit 3 is opened to form a window that exposes the nail of the finger placed in the finger placement unit 3.
As shown in
In this embodiment, the printing mechanism 4 performs printing with the print head 41 on the nail of a finger or the like, which is the printing target.
The print head 41 of this embodiment is an inkjet head that (i) has a surface that faces the printing target surface (surface of a nail), the surface being configured as an ink ejection surface provided with a plurality of nozzle ports to eject ink, and (ii) produces fine droplets of ink and directly sprays the ink from the ink ejection surface to the printing target surface, thereby performing printing. The print head 41 is not particularly limited in configuration, but may be a cartridge-integrated head in which an ejection mechanism, such as the ink ejection surface, and an ink cartridge, where ink is stored, are integrated, for example.
The print head 41 can eject color inks, such as cyan (C), magenta (M) and yellow (Y) inks. The print head 41 may also be able to eject an ink for undercoating, such as white ink, as a paint for forming a base. The type of ink provided in the print head 41 is not limited thereto.
The head movement mechanism 48 has an X-direction movement mechanism that moves the print head 41 in the left-right direction (X direction) of the printing device 1 and a Y-direction movement mechanism that moves the print head 41 in the front-back direction (Y direction) of the printing device 1.
The X-direction movement mechanism includes an X-direction movement motor 45 (shown in
As mentioned above, in this embodiment, the left-right direction (X direction) of the printing device 1 is the main-scanning direction, and a direction perpendicular to this main-scanning direction, namely the front-back direction (Y direction) of the printing device 1, is the sub-scanning direction.
Hereinafter, the configuration of the print head 41 of the printing mechanism 4 will be described in detail.
The print head 41 has a nozzle line 411 (schematically shown in
The printing mechanism 4 of this embodiment performs printing by a multi-pass method (multi-pass printing), by which printing on an (each) area (unit area) is performed by/during multiple (n) passes (i.e., scans in the main-scanning direction X).
The print head 41 performs printing while moving in the main-scanning direction X. Once the print head 41 moves from one end to the other end of its movable area in the main-scanning direction X, the print head 41 moves a certain distance (e.g., ¼ of the head length (nozzle line length) if the print head 41 performs printing on each unit area by four passes) in the sub-scanning direction Y (forward direction Ya of the sub-scanning direction Y), and performs printing again while moving in the main-scanning direction X (e.g., in the opposite direction to that of the immediately-before pass, i.e., from the other end to the one end of the movable area).
In this case, first nozzles (nozzle group n1) to nth nozzles (nozzle group nn) are in charge of (i.e., responsible for) printing during the first pass to printing during the nth pass, respectively.
For example, in a case where the print head 41 performs printing on each unit area by four passes, since the nozzle line 411 of the print head 41 is, as shown in
The printing device 1 recognizes the position and shape of the printing target (nail in this embodiment) from an image obtained by the camera 51, which is described later, imaging the printing target. The printing device 1 aligns camera coordinates of the camera 51 and printing coordinates of the print head 41, which performs printing, with one another, and performs printing so as to fit the shape of the printing target (nail in this embodiment).
As shown in
As described later, the imager 5 is fixed at a position where the imager 5 can image the nail of a finger or the like placed in the finger placement unit 3. Hence, axes of the imager 5 in the X, Y directions themselves are not displaced with respect to the printing device 1.
As shown in
For this reason, the print data Id is subjected to inclination correction according to the inclination of the print head 41, thereby being inclination-correction-subjected data CId, which is inclined as shown in
However, if printing is performed using such inclination-correction-subjected data CId, a triangular area shown at the left end in
In
Among the pixels Pi, pixels Pi selected as to correspond to the inclined print head 41, namely from the perspective of data, pixels Pi that can be printed, or from the perspective of the printing target surface, pixels Pi on which ink can land, are indicated by rough hatching as selected pixels Pc since corresponding nozzles are present. It is noted that the abovementioned perspectives are applicable to the other ″pixel (s)″ in the present disclosure.
The selected pixels Pc, which correspond to the nozzle line 411, can be printed correctly even if the print head 41 is inclined as shown in
In contrast, pixels Pi indicated by fine hatching cannot be printed although data is present indicating that they include pixels Pi to be printed, because nozzles in charge of their printing do not correspond to them in position. That is, these pixels Pi constitute a non-printable area Arn where printing is unperformable.
Meanwhile, at the right end in
In this embodiment, the print data Id is subjected to inclination correction, thereby being inclination-correction-subjected data CId, and a method is used for, if not preventing, reducing irregularities of a printed image that appear at its edges in the main-scanning direction X if printing using the inclination-correction-subjected data Cid is performed by the inclined print head 41.
Specific contents of the method will be described later.
The imager 5 is fixed at a position that is on the inner side of the upper surface (top panel) of the case 2 and above the window of the finger placement unit 3. The imager 5 images the nail (finger including the nail) exposed through the window, thereby obtaining an image thereof.
The imager 5 includes a camera 51 and a light source 52 (shown in
The imager 5 is not particularly limited in its specific position, but, in this embodiment, disposed and fixed at a position where it can image the nail of a finger placed in the finger placement unit 3 or the like. The imager 5 may be movable in the X, Y directions by the head movement mechanism 48 that moves the print head 41. In this case, the camera coordinates of the camera 51 and the printing coordinates of the print head 41, which performs printing, are aligned individually, for example.
As shown in
The communication unit 25 can transmit and receive information to and from the terminal device 8 that operates in cooperation with the printing device 1.
Communication between the printing device 1 and the terminal device 8 is performed, for example, by a wireless LAN. The communication between the printing device 1 and the terminal device 8 is not limited thereto, but may be performed by another system. For example, the communication may use a network line, such as the Internet, or may be wireless communication based on a short-range wireless communication standard, such as Bluetooth® or Wi-Fi. This communication is not even limited to wireless communication. The communication unit 25 may be configured to transmit and receive various data to and from the terminal device 8 by wired connection. The communication unit 25 includes an antenna chip and/or the like that agrees with the communication system of the terminal device 8.
The control unit 10 included in the printing device 1 is a computer as the printing control device that includes: a controller 11 including at least one processor, such as a central processing unit (CPU); and a storage 12 including, as at least one memory, a read only memory (ROM) and a random access memory (RAM).
The storage 12 stores various programs, various data and so forth that cause the printing device 1 to operate.
More specifically, the ROM or the like of the storage 12 stores various programs, such as a printing control program(s) for various printing control processes. The controller 11 loads these programs to a working area of the RAM and executes same, thereby performing overall control of the components of the printing device 1.
The controller 11 controls operation of the printing mechanism 4. Further, the controller 11 controls operation of the imager 5. Still further, the controller 11 controls display of the display 22 and controls the communication unit 25. Yet further, the controller 11 obtains the amount of displacement (described later) and corrects print data. The CPU of the controller 11 performs these functions by working together with the programs stored in the ROM of the storage 12.
If the print head 41 is inclined from the state parallel to the sub-scanning direction Y, which is the first direction, toward the main-scanning direction X, which is the second direction intersecting with the first direction, the controller 11 obtains the amount of displacement (amount of inclination) of the print head 41 toward the second direction.
The amount of displacement (amount of inclination) is obtained, for example, by printing in advance a test chart for obtaining a correction value, and stored in the storage 12 or the like. The controller 11 reads the amount of displacement (amount of inclination) from the storage 12 or the like, and obtains and sets same as a correction value (correction information) to be used in printing.
Further, the controller 11 controls the components of the printing mechanism 4, such as the print head 41, and the X-direction movement motor 45 and the Y-direction movement motor 47 included in the head movement mechanism 48.
Further, in this embodiment, the controller 11 generates print data Id for the print head 41 to print a design (nail design) in the printing area Ard. For example, the controller 11 detects a nail contour defining an area of a nail (nail area) by processing a nail image obtained by the camera 51 imaging the nail of a finger placed in the finger placement unit 3, and generates print data Id by fitting a user’s desired/selected design into the nail area inside the nail contour. More specifically, the controller 11 cuts out image data of a design (nail design) and performs scaling, positional adjustment and/or the like thereon as appropriate, and fits same into the nail area inside the nail contour detected from a nail image obtained. The controller 11 also assigns blank pixels Pb to pixels outside the nail contour, thereby generating rectangular print data as a whole. In this embodiment, for the sake of clear explanation, blank pixels Pb are only assigned to pixels outside the nail contour.
If curvature of a nail or the like is obtained from a nail image or the like, the controller 11 may perform, based on the curvature of the nail or the like, various types of correction on print data as appropriate, such as curved surface correction. Curved surface correction or the like can generate print data more fitted to the shape of a nail.
Further, in this embodiment, the controller 11 corrects print data based on the amount of displacement (amount of inclination) obtained by itself.
That is, the controller 11 obtains the amount of displacement (amount of inclination) of the print head 41, and based on this amount of displacement (amount of inclination) of the print head 41 and an area on which printing is performed if the print head 41 is not inclined, generates corrected print data according to the amount of displacement (amount of inclination), if an area on which printing cannot be performed (non-printable area Arn detailed below) is created.
More specifically, first, the controller 11 generates inclination-correction-subjected data CId corresponding to the amount of inclination of the print head 41. Then, the controller 11 controls the components of the printing mechanism 4 to perform printing using this inclination-correction-subjected data CId.
In order to generate inclination-correction-subjected data CId, for example, the controller 11 performs, as described above, inclination correction according to the inclination of the print head 41, thereby generating inclined inclination-correction-subjected data CId (shown in
Further, in this embodiment, the controller 11 generates corrected print data for reducing irregularities of a printed image that appear at its edges in the main-scanning direction X if printing using the inclination-correction-subjected data Cid is performed.
In this embodiment, as a correction method for reducing irregularities of a printed image that appear at its edges in the main-scanning direction X, a first method and a second method are prepared.
A method to use, the first method or the second method, may be determined by default, or may be chosen/set appropriately by the user. Alternatively, the controller 11 may choose one of the methods suitable for the type of design, the amount of displacement (degree of inclination) of the print head 41 or the like.
Although in this embodiment, the first method and the second method are prepared to be chosen to use, only one of the first method and the second method may be prepared to use.
Details of the first method and the second method will be described later.
As described above, the printing device 1 of this embodiment can communicate with the terminal device 8, and therefore performs printing and so forth in accordance with operation commands from the terminal device 8.
The terminal device 8 of this embodiment is, for example, a portable terminal, such as a smartphone or a tablet. However, the terminal device 8 is not particularly limited as far as it can communicate with the printing device 1. Examples thereof include a laptop PC, a stationary PC, and a terminal device for gaming.
As shown in
The operation unit 83 is configured to make/do various inputs/settings or the like in response to user operations. When the operation unit 83 is operated by the user, an input signal corresponding to the operation is transmitted to the control unit 80. In this embodiment, the surface of the display 84 may be integrated with a touchscreen for the user to make operations for various inputs/settings or the like by touch operations thereon.
The operation unit 83 for various inputs/settings or the like is not limited to the touchscreen. For example, the operation unit 83 may include various operation buttons, a keyboard, a pointing device and/or the like.
In this embodiment, the user can select a nail design to be printed on a nail by operating the operation unit 83, for example.
The touchscreen configured on the display 84 displays various display screens under the control of a controller 81 described later.
The display 84 can also display a nail design input/selected by the user through the operation unit 83, an image transmitted from the printing device 1, and so forth.
The communication unit 85 can transmit print data to the printing device 1. Also, the communication unit 85 receives data of a nail image or the like transmitted from the printing device 1. The communication unit 85 includes a wireless communication module or the like capable of communicating with the communication unit 25 of the printing device 1.
The communication unit 85 may be any type as far as it can communicate with the printing device 1, namely agrees with the communication standard of the communication unit 25 of the printing device 1.
The control unit 80 is a computer that includes: the controller 81 including a central processing unit (CPU); and a storage 82 including a read only memory (ROM) and a random access memory (RAM).
The controller 81 performs overall control of the components of the terminal device 8. The controller 81 performs various functions by working together with programs stored in the storage 82.
The storage 82 stores various programs, various data and so forth that cause the components of the terminal device 8 to operate.
More specifically, the storage 82 of this embodiment stores various programs, such as an operating program for performing overall control of the components of the terminal device 8 and a nail printing application program for performing nail printing with the printing device 1. The control unit 80 loads these programs, for example, to a working area of the storage 82 and executes same, thereby controlling the terminal device 8.
The storage 82 of this embodiment also stores various design data (data of nail designs).
Next, a printing control method of the printing device 1 will be described with reference to the drawings.
When the printing device 1 and the terminal device 8 that cooperates with the printing device 1 are powered on, the nail printing application program of the terminal device 8 starts.
This causes, for example, the display 22 of the printing device 1 and/or the display 84 of the terminal device 8 to display a message to urge the user to set a nail. If the printing device 1 or the terminal device 8 has an audio outputter, such as a speaker, the outputter may output audio guidance instead of or in addition to the display 22/84 displaying the message.
When guided so, the user sets his/her finger corresponding to the nail on which printing is desired to be performed in the finger placement unit 3.
When the finger corresponding to the nail is set, the controller 11 reads a correction value obtained in advance and corrects print data of a nail design.
In particular, in this embodiment, a correction value (correction information) for the amount of inclination of the print head 41 that is inclined from the state of being arranged perpendicular to the main-scanning direction X is stored in the storage 12 or the like in advance. The controller 11 corrects print data in accordance with this correction value, and then controls the printing mechanism 4 to cause the print head 41 to print the design (nail design) on the printing target, such as the nail.
Hereinafter, details of correction of print data according to the amount of inclination of the print head 41 will be described.
In this embodiment, as the correction method for correcting print data, two types of correction method (first method and second method) are usable.
First, the first method will be described. The first method is a method of, if an area on which printing cannot be performed (i.e., non-printable area Arn) is created by the inclination of the print head 41, generating corrected print data by extending print data by assigning blank pixels Pb that are not printed to an edge area of the print data such that all pixels Pi to be printed are located in a printable area.
In the first method, the controller 11 first obtains a correction value for the amount of inclination of the print head 41 (Step S1), and based on this correction value, performs inclination correction on print data Id, thereby generating inclination-correction-subjected data CId (Step S2). Then, the controller 11 determines whether a non-printable area Arn is created at an edge of the printing area Ard in the main-scanning direction X if printing is performed using this inclination-correction-subjected data CId (Step S3).
If the controller 11 determines that a non-printable area Arn is created (Step S3; YES), the controller 11 generates data for an extension area Are made up of pixels Pi (blank pixels Pb or lines of blank pixels Pb) corresponding to the amount of inclination of the print head 41, namely made up of pixels Pi for the width same as the maximum width (maximum number of pixels) of the non-printable area Arn in the main-scanning direction X (Step S4), and generates corrected print data to add the extension area Are to the edge of the printing area Ard (i.e., by adding the data for the extension area Are to the print data Id) (Step S5).
Then, the controller 11 causes the print head 41 to perform printing based on this corrected print data (Step S6), thereby performing printing on the printing area Ard extended/corrected by the pixels Pi corresponding to the amount of inclination of the print head 41 being added.
If the controller 11 determines that a non-printable area Arn is not created (Step S3; NO), the controller 11 causes the print head 41 to perform printing on the original printing area Ard based on the print data (inclination-correction-subjected data CId obtained by performing inclination correction on the print data Id).
An area having a width a (a > 0) extended from the original printing area Ard by adding pixels Pi to the left of the area Ard on which printing should be performed is the extension area Are, and a position (coordinates) at the upper left of an area formed of the printing area Ard with the extension area Are added is represented by P1(X0-a,Y0).
In
As shown in
As shown in
To this extension area Are, blank pixels Pb, which are not actually printed (i.e., on which printing is not actually performed), are assigned.
Blank pixels Pb (lines of blank pixels Pb corresponding to the extension area Are of “three pixels in the main-scanning direction X × Height h”), the number of which in the main-scanning direction X is the same as the maximum number of pixels in the main-scanning direction X (three pixels in the example shown in
If the corrected print data is data generated by extending the print data Id, the corrected print data includes information to change the coordinate(s) of the printing start position (printing reference point).
That is, in the example shown in
As shown in
In this case, as shown in
Depending on the position of the nozzle line 411 of the print head 41, selected pixels Pc may exceed the “Width w+a”. In such a case, the added blank pixels Pb are treated as selected pixels Pc to be printed.
Next, the second method will be described. The second method is a method that is used in a case where the print head 41 performs printing by the multi-pass method, by which printing on each area (unit area) is performed by multiple passes from the first pass to the nth pass, and has the first nozzles to the nth nozzles that are in charge of (i.e., responsible for) printing during the first pass to printing during the nth pass, respectively. The second method is a method of generating corrected print data to cause nozzles as substitutes to perform printing on the non-printable area Arn where nozzles originally in charge of printing thereon cannot perform printing due to the inclination of the print head 41, the nozzles as the substitutes being in charge of printing during a pass(es) that is different from a pass(es) of the nozzles originally in charge.
As shown in
As shown in
As shown in
While the second nozzles n2 perform printing during the second pass on the first unit area, the first nozzles n1 that have moved to the second unit area perform printing during the first pass on the second unit area.
As shown in
As described above, since the print head 41 is subjected to the abovementioned alignment on the upstream side in the sub-scanning direction Y, the nozzles close to the upstream side in the sub-scanning direction Y are less displaced from the sub-scanning direction Y than those far from the upstream side (i.e., close to the downstream side) in the sub-scanning direction Y. In the example shown in
While the third nozzles n3 perform printing during the third pass on the first unit area, the first nozzles n1 that have moved to the third unit area perform printing during the first pass on the third unit area. Similarly, the second nozzles n2 that have moved to the second unit area perform printing during the second pass on the second unit area.
As shown in
As shown in
While the fourth nozzles n4 perform printing during the fourth pass on the first unit area, the first nozzles n1 that have moved to the fourth unit area perform printing during the first pass on the fourth unit area. Similarly, the second nozzles n2 that have moved to the third unit area perform printing during the second pass on the third unit area. Similarly, the third nozzles n3 that have moved to the second unit area perform printing during the third pass on the second unit area.
A parallelogram frame on the right of the print head 41 in
As shown in
As shown in
As shown in
In the second method, as in the first method, the controller 11 first obtains a correction value for the amount of inclination of the print head 41, and based on this correction value, determines whether a non-printable area Arn is created at an edge of the printing area Ard in the main-scanning direction X.
If the controller 11 determines that a non-printable area Arn is not created, the controller 11 causes the print head 41 to perform printing during all the passes using the inclination-correction-subjected data CId obtained by performing inclination correction on the print data Id, without performing the correction process of the second method.
On the other hand, if the controller 11 determines that a non-printable area Arn is created, the controller 11 assigns, about printing during the last pass (nth pass) among multiple passes, by which printing on each unit area is completed, the nozzles (nth nozzles nn) that are in charge of this last pass additional works to eject ink to fill the non-printable area Arn on which the other nozzles cannot perform printing. More specifically, the controller 11 performs a spray (print) setting about the nth nozzles nn only so as to fill the non-printable area Arn.
Printings with the other nozzles (first nozzles n1 to nth-1 nozzles nn-1) are printings using the inclination-correction-subjected data CId obtained by performing inclination correction on the print data Id. Hence, referring to
In this embodiment, printing on each unit area is performed by four passes. Hereinafter, therefore, the spray setting for the fourth nozzles n4 that are in charge of printing during the fourth pass on each unit area will be described as an example.
As to the direction and degree of inclination (amount of inclination or amount of displacement) of the print head 41, the conditions shown in
As shown in
Values of the amount of displacement at respective passes, namely “d1”, “d2”, “d3”, ... (d1 > 0, d2 > 0, d3 > 0, ...), can be derived from a general correlation or the like if conditions, such as the amount of inclination of the print head 41 and the number of passes by which printing on each unit area is performed, are determined.
As shown in
Further, since the print head 41 moves in the sub-scanning direction Y a distance obtained by equally dividing the head length of the print head 41 (nozzle line length of the nozzle line 411 of the print head 41) after each pass, movement distances of the print head 41 after respective passes are all the same.
Hence, relationships “d2 = ⅔ × d1” and “d3 = ⅓ × d1” hold, and “d1”, “d2” and “d3” can be obtained accordingly.
Then, the controller 11 refers to spray conditions of the nozzles (nozzle group, fourth nozzles n4 in this embodiment) that are in charge of printing during the last pass (fourth pass in this embodiment) on each unit area in a case where printing on each unit area is performed by multiple passes, and determines whether a pixel(s) is a pixel(s) onto which spraying is originally performed by the nozzle(s) (i.e., fourth nozzle(s) n4) during the last pass, namely the fourth pass, on a unit area (Step S13). If the pixel is the one on which the fourth nozzle(s) n4 originally performs printing (Step S13; YES), the controller 11 performs the spray setting by which the fourth nozzle(s) n4 performs spraying thereto as it originally does (Step S14).
On the other hand, if the pixel is not the one on which the fourth nozzle(s) n4 originally performs printing (Step S13; NO), the controller 11 determines whether a value x (x > 0) of the position (X coordinate) of the pixel in the main-scanning direction X is (equal to or) smaller than d3 (Step S15). If the value x is smaller than d3 (Step S15; YES), the controller 11 determines whether the pixel is a pixel onto which spraying is originally performed by the third nozzle (s) n3 during the third pass on the unit area (Step S16). If the pixel is the one onto which spraying is originally performed by the third nozzle(s) n3 (Step S16; YES), the controller 11 performs the spray setting by which the fourth nozzle(s) n4 performs spraying thereto (Step 14).
On the other hand, if the value x of the position of the pixel in the main-scanning direction X is not smaller than d3 (Step S15; NO) or the pixel is not the one onto which spraying is originally performed by the third nozzle(s) n3 (Step S16; NO), the controller 11 determines whether the value x of the position of the pixel in the main-scanning direction X is (equal to or) smaller than d2 (Step S17). If the value x is smaller than d2 (Step S17; YES), the controller 11 determines whether the pixel is a pixel onto which spraying is originally performed by the second nozzle(s) n2 during the second pass on the unit area (Step S18). If the pixel is the one onto which spraying is originally performed by the second nozzle(s) n2 (Step S18; YES), the controller 11 performs the spray setting by which the fourth nozzle (s) n4 performs spraying thereto (Step S14).
On the other hand, if the value x of the position of the pixel in the main-scanning direction X is not smaller than d2 (Step S17; NO) or the pixel is not the one onto which spraying is originally performed by the second nozzle(s) n2 (Step S18; NO), the controller 11 determines whether the value x of the position of the pixel in the main-scanning direction X is (equal to or) smaller than d1 (Step S19). If the value x is smaller than d1 (Step S19; YES), the controller 11 determines whether the pixel is a pixel onto which spraying is originally performed by the first nozzle (s) n1 during the first pass on the unit area (Step S20). If the pixel is the one onto which spraying is originally performed by the first nozzle(s) n1 (Step S20; YES), the controller 11 performs the spray setting by which the fourth nozzle(s) n4 performs spraying thereto (Step S14).
On the other hand, if the pixel is not the one onto which spraying is originally performed by the first nozzle (s) n1 (Step S20; NO), the controller 11 ends the process without performing the spray setting by which the fourth nozzle(s) n4 performs spraying thereto.
In each of Steps S15, S17 and S19, if the value x of the position of the pixel in the main-scanning direction X is equal to the value of the amount of displacement (i.e., “d3”, “d2” or “d1”), the controller 11 may treat the value × as a value that satisfies the condition (i.e., “YES”) or as a value that does not satisfy the condition (i.e., “NO”).
Thus, the spray setting for the fourth nozzles n4 (nth nozzles nn) enables the fourth nozzles n4 (nth nozzles nn) that are in charge of printing during the fourth pass (nth pass or last pass) on each unit area to perform spraying to the part onto which the first nozzles n1 cannot perform spraying during the first pass, to the part onto which the second nozzles n2 cannot perform spraying during the second pass and to the part onto which the third nozzles n3 cannot perform spraying during the third pass, as substitutes.
In this embodiment described with reference to
For example, if, as shown in
As described above, according to this embodiment, in a case where the print head 41 that performs printing on the printing target is inclined from the state parallel to the sub-scanning direction Y, which is the first direction, toward the main-scanning direction X, which is the second direction intersecting with the first direction, and a non-printable area Arn on which printing cannot be performed is created, the controller 11 generates, based on the amount of displacement (amount of inclination) of the print head 41 toward the main-scanning direction X and an area on which printing is performed in a case where the print head 41 is not inclined toward the main-scanning direction X, corrected print data according to the amount of displacement (amount of inclination).
This reduces, if the print head 41 is inclined from its proper direction, influence of the inclination as much as possible and can improve quality of printing.
Further, the corrected print data is data generated by extending print data by assigning a blank pixel(s) Pb that is not printed to an edge area of the print data.
Thus, print data is extended such that pixels to be printed are located in a printable area. This reduces irregularities of a printed image that appear at its edges in the main-scanning direction X and can achieve a high-quality finish.
Further, even if the print head 41 is greatly inclined, it can be handled by assigning a greater number of blank pixels Pb.
Further, the corrected print data includes information to change the coordinate(s) of the printing start position.
This makes it possible to recognize, as the printing area, an area that includes the area to which blank pixels Pb are added (assigned), and arrange the print head 41 at a proper printing start position.
Further, the corrected print data is data generated by assigning, according to the amount of displacement (amount of inclination), a blank pixel(s) Pb that is not printed to data for an area (excessive area Arm) (i) on which printing is not performed in the case where the print head 41 is not inclined toward the main-scanning direction X, which is the second direction, and (ii) that is created by the inclination of the print head 41 toward the main-scanning direction X, which is the second direction.
Adding (assigning) blank pixels Pb corresponding to the non-printable area Arn to the excessive area Arm as an excessive data area that is created at the edge opposite to the edge where the non-printable area Arn is created can prevent actual printing on the excessive area Arm.
Further, the print head 41 performs printing on a unit area by a plurality of passes from the first pass to the nth pass in the main-scanning direction X, which is the second direction, and includes a plurality of nozzles from the first nozzles n1 to the nth nozzles nn that are in charge of printing during the first pass to printing during the nth pass, respectively, and the corrected print data is data generated to cause, among the plurality of nozzles, a nozzle(s) (e.g., nth nozzles nn that are in charge of the last pass) as a substitute(s) to perform printing on the non-printable area Arn where a nozzle (s) originally in charge of printing thereon cannot perform printing due to the inclination of the print head 41 toward the second direction.
This can solve decrease in quality of printing results due to the inclination of the print head 41 without extending print data, changing the coordinate(s) of the printing start position or the like.
Further, the controller 11 causes the print head 41 to perform printing so as to fill the non-printable area Arn with the nth nozzle(s) nn that is in charge of printing during the nth pass.
This can solve decrease in quality of printing results due to the inclination of the print head 41 with a relatively easy process.
Although one or more embodiments of the present disclosure have been described above, it goes without saying that the present disclosure is not limited to the embodiments, and can be modified in a variety of respects without departing from its scope.
For example, in the above embodiment, the printing device 1 cooperates with the terminal device 8, thereby constituting a printing system, and, for example, a nail design is selected with the terminal device 8, and printing is performed by the printing device 1. However, the printing device 1 is not limited thereto.
For example, the user may make various operations through the operation unit 21 or the display 22 of the printing device 1, and the control unit 10 of the printing device 1 may perform various processes in accordance with these operations. In this case, the printing device 1 may complete printing by itself without cooperating with the terminal device 8. Further, the degree of cooperation (degree of process sharing) of the printing device 1 and the terminal device 8 may be changed from that in the above embodiment. For example, the terminal device 8 may be in charge of most processes except for imaging and printing. If the control unit 80 of the terminal device 8 performs the processes that the control unit 10 of the printing device 1 performs as the printing control device in the above embodiment, the control unit 80 of the terminal device 8 functions as the printing control device. In this case, the program(s) for the processes that the printing control device performs are stored in the storage 82 or the like of the control unit 80.
Further, various data, such as nail designs, captured nail images and shape information on nails, may be stored in the storage 82 of the terminal device 8 or the storage 12 of the printing device 1.
Alternatively or additionally, various data may be stored in a server device or the like to which the terminal device 8 or the printing device 1 is connectable via a network line or the like, and the terminal device 8 or the printing device 1 may be configured to refer to the data by accessing the server device or the like. This makes it possible to select a nail design to be printed from a larger number of nail designs.
Although one or more embodiments of the present disclosure have been described above, the scope of the present disclosure is not limited to the embodiments described above, but includes the scope of the present disclosure stated in claims and its equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2022-025282 | Feb 2022 | JP | national |