This application claims priority from Japanese Patent Application No. 2022-094156 filed on Jun. 10, 2020. The entire content of the priority application is incorporated herein by reference.
In a printing apparatus that performs printing using a thermal head, a technique for printing a print image having a high resolution by increasing the density of dots has been proposed. A printing apparatus in a related art performs printing using a thermal head including a heating body having a short length in a sub-scanning direction and using a control signal having a plurality of heating pulses in a printing cycle. Accordingly, the printing apparatus increases the density of the dots formed on a print medium in the sub-scanning direction.
Even if the density of the dots formed in a print image in the sub-scanning direction is increased, there is a matter that the density of the dots in a main scanning direction is not increased.
An object of the present disclosure is to provide a printing apparatus, a printing method, and a printing program that are capable of printing a high-quality print image by easily increasing the density of dots formed on a print medium in a main scanning direction.
According to a first aspect of the disclosure, a printing apparatus includes a thermal head in which a plurality of heating elements is arranged in a main scanning direction, a moving mechanism configured to relatively move a print medium with respect to the thermal head in a sub-scanning direction crossing the main scanning direction, a controller configured to control the thermal head and the moving mechanism, and a storage unit configured to store first print data in which pixels are arranged in the main scanning direction and the sub-scanning direction, the pixels including print pixels indicating pixels with which corresponding dots are formed on the print medium by heat generated by the heating elements and non-print pixels with which no dot is formed on the print medium, the first print data being for printing a first print image represented by the print pixels. The controller is configured to execute generation processing of generating second print data based on the first print data stored in the storage unit. The generation processing includes extracting, from the non-print pixels, a target pixel to which one of the print pixels is adjacent on one side or the other side in the sub-scanning direction and to which one of the print pixels is adjacent on one side or the other side in the main scanning direction, generating n divided pixels by dividing the extracted target pixel into n in the main scanning direction, n being an integer equal to or greater than 2, identifying a second print image formed of the print pixels and at least one divided print pixel with which corresponding dot is formed on the print medium and chosen from the n divided pixels in order of closeness to one of the print pixels adjacent to the extracted target pixel in the main scanning direction, and generating the second print data for printing the second print image. The controller executes control processing of controlling the thermal head and the moving mechanism based on at least the second print data generated by the generation processing. The control processing includes setting, as a first value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position corresponding to one of the print pixels on the print medium, and setting, as a second value, a value of energy smaller than the first value and applied to the heating element in order to cause the heating element to generate heat at a position corresponding to the target pixel on the print medium.
According to the first aspect, since the density of the dots formed on the print medium in the main scanning direction may be increased, the printing apparatus may print a high-quality print image on the print medium.
In the first aspect, in the control processing, when n is equal, the second value may be made larger as the number of the divided print pixels is larger. In this case, the printing apparatus may appropriately form the dot at the position corresponding to the divided print pixel in the print medium.
In the first aspect, in the control processing, when the number of the divided print pixels is equal, the second value may be made smaller as n is larger. In this case, the printing apparatus may appropriately form the dot at the position corresponding to the divided print pixel in the print medium.
In the first aspect, the control processing may further include, based on the second print data, setting, as the first value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position where the print pixel in the second print image is provided in the print medium, and setting, as the second value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position where the target pixel including the divided print pixel in the second print image is provided in the print medium. In this case, the printing apparatus may easily distinguish the positions corresponding to the target pixels, apply the energy of the second value to the heating element, and form the dot at the position corresponding to the divided print pixel.
In the first aspect, the control processing may further include, based on the first print data and the second print data, setting, as the first value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position where the first print image and the second print image are provided in the print medium, and setting, as the second value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position where only the second print image is provided in the print medium. In this case, the printing apparatus may easily distinguish the positions corresponding to the target pixels, apply the energy of the second value to the heating element, and form the dot at the position corresponding to the divided print pixel.
In the first aspect, the pixel of the first print data may be generated by dividing an original pixel having the same length in the main scanning direction and the sub-scanning direction into m (m is an integer equal to or greater than 2) in the sub-scanning direction, and a length in the sub-scanning direction may be 1/m of a length in the main scanning direction. In this case, since the printing apparatus may increase the dot density not only in the main scanning direction but also in the sub-scanning direction, a high-quality print image with higher resolution may be printed on the print medium.
In the first aspect, n may be 2. In this case, the printing apparatus may increase the dot density while preventing an increase in processing load of the controller.
In the first aspect, the heating element may include two heating bodies configured to form one dot on the print medium by heat generation and divided in the main scanning direction. That is, the printing apparatus causes the two heating bodies of the heating element to generate heat at the position corresponding to the target pixel. In this case, the position at which heat is applied from the two heating bodies in the print medium approaches the position corresponding to the print pixel adjacent to one side or the other side with respect to the target pixel in the main scanning direction. Therefore, the printing apparatus may easily form the dot at the position corresponding to the divided print pixel in the print medium.
In the first aspect, when energy equal to or greater than a predetermined value is applied to the heating element to generate heat, a dot may be formed on the print medium, and when energy less than the predetermined value is applied to the heating element to generate heat, no dot may be formed on the print medium, and the second value may be equal to or greater than the predetermined value. In this case, the printing apparatus may appropriately form the dot at the position corresponding to the divided print pixel.
In the first aspect, the controller may set, as the first value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position corresponding to a part of the print pixel in the print medium, and may set, as the second value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position corresponding to a part other than the part of the print pixel, thereby dividing, in the main scanning direction, a dot formed at the position corresponding to the part other than the part of the print pixel in the print medium. In this case, since the printing apparatus may increase the density of the dot formed at the position corresponding to the print pixel in the print medium in the main scanning direction, a high-quality print image with higher resolution may be printed on the print medium.
In the first aspect, the controller may shorten a cycle of the heating element generating heat by applying energy to the heating element, thereby dividing, in the sub-scanning direction, a dot formed on the print medium. In this case, since the printing apparatus may increase the dot density in the sub-scanning direction, a high-quality print image with higher resolution may be printed on the print medium.
According to a second aspect of the present disclosure, a printing method includes generating second print data based on first print data in which pixels are arranged in a main scanning direction and a sub-scanning direction crossing the main scanning direction, the pixel including print pixels indicating pixels with which corresponding dots are formed on a print medium by heat generated by a heating element of a thermal head in which a plurality of heating elements are arranged in the main scanning direction, the non-print pixels indicating pixels with which no dot is formed on the print medium, the first print data being for printing a first print image represented by the print pixels, controlling the thermal head and a moving mechanism, based on at least the second print data generated in the generating, configured to relatively move the print medium with respect to the thermal head in the sub-scanning direction. The generating includes extracting, from the non-print pixels, a target pixel to which one of the print pixels is adjacent on one side or the other side in the sub-scanning direction and to which one of the print pixels is adjacent on one side or the other side in the main scanning direction, generating n divided pixels by dividing the extracted target pixel into n in the main scanning direction, n being an integer equal to or greater than 2, identifying a second print image formed of the print pixels and at least one divided print pixel with which corresponding dot is formed on the print medium and chosen from the n divided pixels in order of closeness to one of the print pixels adjacent to the extracted target pixel in the main scanning direction, and generating the second print data for printing the second print image. The controlling includes setting, as a first value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position corresponding to one of the print pixels on the print medium, and setting, as a second value, a value of energy smaller than the first value and applied to the heating element in order to cause the heating element to generate heat at a position corresponding to the target pixel on the print medium. According to the second aspect, the same effects as those according to the first aspect may be achieved.
According a third aspect of the present disclosure, a non-transitory computer readable medium stores a program causing a computer to execute a process for performing printing on a print medium. The process includes generating second print data based on first print data in which pixels are arranged in a main scanning direction and a sub-scanning direction crossing the main scanning direction, the pixel including print pixels indicating pixels with which corresponding dots are formed on the print medium by heat generated by a heating element of a thermal head in which a plurality of heating elements are arranged in the main scanning direction, the non-print pixels indicating pixels with which no dot is formed on the print medium, the first print data being for printing a first print image represented by the print pixels, and controlling the thermal head and a moving mechanism, based on at least the second print data generated in the generating, configured to relatively move the print medium with respect to the thermal head in the sub-scanning direction. The generating includes extracting, from the non-print pixels, a target pixel to which one of the print pixels is adjacent on one side or the other side in the sub-scanning direction and to which one of the print pixels is adjacent on one side or the other side in the main scanning direction, generating n divided pixels by dividing the extracted target pixel into n in the main scanning direction, n being an integer equal to or greater than 2, identifying a second print image formed of the print pixels and at least one divided print pixel with which corresponding dot is formed on the print medium and chosen from the n divided pixels in order of closeness to one of the print pixels adjacent to the extracted target pixel in the main scanning direction, and generating the second print data for printing the second print image. The controlling includes setting, as a first value, a value of energy applied to the heating element in order to cause the heating element to generate heat at a position corresponding to one of the print pixels on the print medium, and setting, as a second value, a value of energy smaller than the first value and applied to the heating element in order to cause the heating element to generate heat at a position corresponding to the target pixel on the print medium. According to the third aspect, the same effects as those according to the first aspect may be achieved.
A printer 1 will be described with reference to
As shown in
As shown in
As shown in
The cassette mounting portion 8 is a recess recessed downward on which the cassette 6 may be mounted. The head holder 16 is in the form of a metal plate provided at a front portion of the cassette mounting portion 8. The thermal head 15 is mounted on a front surface of the head holder 16.
The platen holder 13 has an arm shape and is provided in front of the head holder 16. A right end portion of the platen holder 13 is pivotally supported in a manner of being pivotable about a shaft 14 extending in the upper-lower direction. The platen roller 11 and the transport roller 12 are pivotally supported at a left end portion of the platen holder 13 in a manner of being pivotable about a shaft extending in the upper-lower direction. The platen roller 11 faces the thermal head 15, and may be brought into contact with and separated from the thermal head 15. The transport roller 12 is located on a left side of the platen roller 11. The transport roller 12 may be brought into contact with and separated from a transport roller (not shown) provided in the cassette 6. The platen holder 13 swings between a standby position and a printing position in conjunction with the opening and closing of the cover 3. The printing position is a position where the platen holder 13 is close to the cassette mounting portion 8.
When the cover 3 is opened, the platen holder 13 moves from the printing position to the standby position. The standby position is a position where the platen holder 13 is separated from the cassette mounting portion 8. When the platen holder 13 is at the standby position, the user may attach and detach the cassette 6 to and from the cassette mounting portion 8. When the cover 3 is closed, the platen holder 13 swings from the standby position toward the printing position. When the cassette 6 is mounted on the cassette mounting portion 8, the platen roller 11 presses the thermal tape M against the thermal head 15. The transport roller 12 sandwiches the thermal tape M between the transport roller 12 and the transport roller of the cassette 6.
The motor 36 is a stepping motor. A rotational driving force of the motor 36 is transmitted to the platen roller 11 and the transport roller 12. When the motor 36 is driven in a state in which the cassette 6 is mounted on the cassette mounting portion 8, the platen roller 11 and the transport roller 12 rotate in a counterclockwise direction in a plan view.
The cutting mechanism 17 is provided on a left side of the cassette mounting portion 8 and on a right side of the discharge slit 10 (see
As shown in (A) of
The printer 1 feeds the thermal tape M from the cassette 6 and transports the thermal tape M toward the discharge slit 10. The thermal tape M is pressed against the thermal head 15 by the platen roller 11 while passing between the thermal head 15 and the platen roller 11. In this state, the printer 1 selectively applies a voltage to the heating element F of the thermal head 15. Electric power is supplied to the heating element F to which a voltage is applied in response to a current flowing due to the application of the voltage. The heating element F generates heat by being supplied with electric power. The heating element F that has generated heat applies energy to the thermal tape M.
When the heating element F of the thermal head 15 is supplied with electric power equal to or greater than a predetermined value Th and the heating element F generates heat, a part of the thermal tape M heated by the heating element F that has generated heat develops color. Accordingly, a plurality of dots D aligned in the main scanning direction are formed on the thermal tape M. In the thermal tape M, when the heating element F of the thermal head 15 is supplied with electric power less than the predetermined value Th and the heating element F generates heat, the part of the thermal tape M heated by the heating element F that has generated heat does not develop color, and the plurality of dots D are not formed on the thermal tape M.
The printer 1 periodically repeats the supply of electric power to the heating element F of the thermal head 15 while transporting the thermal tape M. Accordingly, as shown in (B) of
Here, a cycle when electric power is repeatedly supplied to the heating element F such that a distance between the plurality of dots D in the sub-scanning direction matches an interval d between the heating elements F is denoted by t. On the other hand, the printer 1 sets a cycle of supplying electric power to the heating element F to t/2. Accordingly, as shown in (B) of
The method for increasing the dot density of the print image in the sub-scanning direction is not limited to the above-described method. For example, the printer 1 may increase the dot density of the print image in the sub-scanning direction by reducing a transport speed of the thermal tape M and performing printing.
The printed thermal tape M is transported by the platen roller 11 and the transport roller 12, which are rotated by the driving of the motor 36, and is discharged to the outside of the printer 1 through the discharge slit 10.
The electrical configuration of the printer 1 will be described with reference to
The motor 36 is driven according to a signal output from the CPU 71 to rotate the platen roller 11 and the transport roller 12. The driver 73 supplies electric power to the heating element F of the thermal head 15 according to the signal output from the CPU 71. The measurement unit 74 measures the electric power supplied to the thermal head 15, and outputs a signal indicating the measured electric power to the CPU 71. The CPU 71 may detect the electric power actually supplied to the heating element F of the thermal head 15 based on the signal output from the measurement unit 74.
First print data W1, which is an example of the first print data, will be described with reference to
Further, in the first print data W1, a print pixel P (P1, P2, P3, P4, P5, P6) or a non-print pixel q is set. The print pixel P is a pixel in which a dot is formed by heat generated by the heating element F. The non-print pixel q is a pixel in which no dot is formed. The printer 1 may print a print image (hereinafter referred to as “first print image G1”) represented by the print pixel P of the first print data W1 on the thermal tape M by being driven based on the first print data W1.
As described above, the printer 1 increases the dot density in the sub-scanning direction by setting the cycle of supplying electric power to the heating element F to t/2. Therefore, the length of each pixel in the first print data W1 in the sub-scanning direction is ½ of the length in the main scanning direction. That is, the pixels of the first print data W1 are generated by dividing an original pixel having the same length in the main scanning direction and the sub-scanning direction into two in the sub-scanning direction.
Second print data W2, which is an example of the second print data, will be described with reference to
The second print image G2 is a print image represented by the print pixel P and divided print pixels V21, V12, V23, V14 (hereinafter referred to as “divided print pixel V). That is, the second print image G2 is a print image obtained by adding the divided print pixel V to the first print image G1 represented by the print pixel P. The divided print pixel V has a shape obtained by dividing the pixel into two in the main scanning direction. The length of the divided print pixel V in the main scanning direction and the length of the divided print pixel V in the sub-scanning direction are the same.
Hereinafter, a pixel including the divided print pixel V will be referred to as a “target pixel Q”. The target pixel Q including the divided print pixel V21 is referred to as a “target pixel Q1”. The target pixel Q including the divided print pixel V12 is referred to as a “target pixel Q2”. The target pixel Q including the divided print pixel V23 is referred to as a “target pixel Q3”. The target pixel Q including the divided print pixel V14 is referred to as a “target pixel Q4”. A row of pixels arranged in the main scanning direction is referred to as a “row C”. The row C including the print pixel P1 is referred to as a “row C1”. The row C including the print pixel P2, the target pixel Q2, and the divided print pixel V12 is referred to as a “row C2”. The row C including the print pixel P3, the target pixel Q1, and the divided print pixel V21 is referred to as a “row C3”. The row C including the print pixel P4, the target pixel Q4, and the divided print pixel V14 is referred to as a “row C4”. The row C including the print pixel P5, the target pixel Q3, and the divided print pixel V23 is referred to as a “row C5”. The row C including the print pixel P6 is referred to as a “row C6”.
The main processing will be described with reference to
The CPU 71 reads and acquires the first print data stored in the storage unit 72 (S11). Hereinafter, a case in which the first print data W1 shown in
Condition 1: The print pixel P is adjacent on one side in the sub-scanning direction, and the print pixel P is adjacent on one side in the main scanning direction (for example, a target pixel Qa in
Condition 2: The print pixel P is adjacent on the other side in the sub-scanning direction, and the print pixel P is adjacent on the one side in the main scanning direction (for example, a target pixel Qb in
Condition 3: The print pixel P is adjacent on the one side in the sub-scanning direction, and the print pixel P is adjacent on the other side in the main scanning direction (for example, a target pixel Qc in
Condition 4: The print pixel P is adjacent on the other side in the sub-scanning direction, and the print pixel P is adjacent on the other side in the main scanning direction (for example, a target pixel Qd in
Since the first print data W1 is acquired in S11, the non-print pixels q1, q2, q3, q4 shown in
As shown in
As shown in
As shown in
In
As shown in
The CPU 71 drives the motor 36 to start rotating the platen roller 11 and the transport roller 12. Accordingly, the CPU 71 starts transporting the thermal tape M fed from the cassette 6 (S25).
The CPU 71 controls the electric power supplied to the heating element F of the thermal head 15 via the driver 73 based on the second print data W2 generated in S23. Accordingly, the CPU 71 performs the printing operation. The details are as follows.
When the CPU 71 causes the heating element F to generate heat at a position where the print pixel P in the second print image G2 is provided in the thermal tape M (S27: YES), the CPU 71 controls the driver 73 such that a value of the electric power supplied to the heating element F by the driver 73 is a first value T1 (S29). When the CPU 71 causes the heating element F to generate heat at a position where the target pixel Q in the second print image G2 is provided in the thermal tape M (S27: NO, S31: YES), the CPU 71 controls the driver 73 such that the value of the electric power supplied to the heating element F by the driver 73 is a second value T2 smaller than the first value T1 (S33). Here, both the first value T1 and the second value T2 are larger than the predetermined value Th, which is a threshold value of the electric power supplied to the heating element F when the thermal tape M is colored.
On the other hand, the CPU 71 controls the driver 73 such that the heating element F does not generate heat at a position where the non-print pixel q is provided in the thermal tape M (S31: NO, S35).
The CPU 71 determines whether printing based on the second print data W2 has been completed (S37). When the CPU 71 determines that the printing is not completed (S37: NO), the CPU 71 returns the processing to S27 and repeats the processing in S27 to S35.
A case in which the second print image G2 is printed on the thermal tape M based on the second print data W2 (see
First, information on the row C1 (see
Next, the information on the row C2 (see
The position at which the dot D2 is formed is adjacent to the dot D1. Therefore, in consideration of heat for forming the dot D1, the value of the electric power supplied to the heating element F(2) in order to form the dot D2 may be smaller than the value of the electric power supplied to the heating element F(2) in order to form the dot D1. In this case, the value of the electric power supplied to the heating element F(2) in order to form the dot D2 may be calculated by heat accumulation calculation based on the electric power supplied to the heating element F(2) in order to form the dot D1.
The heat of the heating element F(2) to which the electric power of the first value T1 is supplied in order to form the dot D2 affects a region of the thermal tape M that is heated by the heat generated by the heating element F(3). Therefore, the dot D12 formed by coloring the thermal tape M due to the heat generated by the heating element F(3) is connected to the dot D2, and no gap is generated therebetween. On the other hand, since the heating element F(4) adjacent to the heating element F(3) on a side opposite to the heating element F(2) does not generate heat, the dot D12 does not spread to a side opposite to the dot D2. Accordingly, the dot D12 is formed at a position close to the dot D2 with respect to a center of the position corresponding to the target pixel Q2 in the main scanning direction.
Next, the information on the row C3 (see
The heat of the heating element F(3) to which the electric power of the first value T1 is supplied in order to form the dot D3 affects a region of the thermal tape M that is heated by the heat generated by the heating element F(2). Therefore, the dot D21 formed by coloring the thermal tape M due to the heat generated by the heating element F(2) is connected to the dot D3, and no gap is generated therebetween. On the other hand, since the heating element F(1) (see
Next, the information on the row C4 (see
Next, the information on the row C5 (see
Next, information on the row C6 (see
As described above, as shown in (G) of
As shown in
In the printer 1, the length of the dot D formed at the position corresponding to the target pixel Q in the thermal tape M in the main scanning direction may be made smaller than the length of the dot D formed at the position corresponding to the print pixel P in the main scanning direction. Accordingly, since the printer 1 may increase the density of the dot D formed on the thermal tape M in the main scanning direction, a high-quality print image may be printed on the thermal tape M.
Regardless of which of the divided pixels v1, v2 obtained by dividing the target pixel Q into two in the main scanning direction is set as the divided print pixel V, the printer 1 uniformly supplies the electric power of the second value T2 to the heating element F to form the dot D at the position corresponding to the target pixel Q in the thermal tape M. Since the dot D formed in this case is connected to the other dot D adjacent thereto in the main scanning direction, the second print image G2 in which the jaggies seen in the outline portion of the first print image G1 are smoothed is printed on the thermal tape M. Therefore, since the printer 1 may form the dot D having a high density in the main scanning direction on the thermal tape M by simple control, the processing load of the CPU 71 may be reduced.
Based on the second print data W2, the printer 1 sets, as the first value T1, the value of the electric power supplied to the heating element F in order to cause the heating element F to generate heat at a position where the print pixel P in the second print image G2 is provided in the thermal tape M. On the other hand, the printer 1 sets, as the second value T2, the electric power supplied to the heating element F in order to cause the heating element F to generate heat at a position where the target pixel Q including the divided print pixel V in the second print image G2 is provided in the thermal tape M. Accordingly, the printer 1 may easily determine the position corresponding to the target pixel Q, supply the electric power of the second value T2 to the heating element F, and form the dot D at the position corresponding to the divided print pixel V.
The pixels of the first print data W1 are generated by dividing the original pixel (see
The printer 1 sets, as the first value T1, the electric power supplied to the heating element F in order to cause the heating element F to generate heat at the position corresponding to the print pixel P in the thermal tape M, and sets, as the second value T2, the electric power supplied to the heating element F in order to cause the heating element F to generate heat at the position corresponding to the target pixel Q in the thermal tape M. Both the first value T1 and the second value T2 are larger than the predetermined value Th, which is a minimum value of the electric power required to form a dot on the thermal tape M. That is, when the electric power of the second value T2 is supplied to the heating element F, the thermal tape M develops color without being affected by the heat generated by the adjacent heating element F, and forms the dot D. Therefore, the printer 1 may appropriately form the dot D at the position corresponding to the divided print pixel V.
While the disclosure has been described in conjunction with various example structures outlined above and illustrated in the figures, various alternatives, modifications, variations, improvements, and/or substantial equivalents, whether known or that may be presently unforeseen, may become apparent to those having at least ordinary skill in the art. Accordingly, the example embodiments of the disclosure, as set forth above, are intended to be illustrative of the invention, and not limiting the invention. Various changes may be made without departing from the spirit and scope of the disclosure. Therefore, the disclosure is intended to embrace all known or later developed alternatives, modifications, variations, improvements, and/or substantial equivalents. Some specific examples of potential alternatives, modifications, or variations in the described invention are provided below
Main processing according to a modification will be described with reference to
As shown in
The CPU 71 identifies the first print image G1 including the print pixel P based on the first print data W1 stored in the storage unit 72. The CPU 71 identifies, based on the second print data W2 stored in the storage unit 72, the second print image G2 in which the divided print pixel V is added to the print pixel P.
The CPU 71 identifies a part where both the first print image G1 and the second print image G2 are provided as the position of the print pixel P. When the CPU 71 causes the heating element F to generate heat at the position corresponding to the identified print pixel P in the thermal tape M (S57: YES), the CPU 71 controls the driver 73 such that the value of the electric power supplied to the heating element F by the driver 73 is the first value T1 (S59).
The CPU 71 identifies a part where only the second print image G2 is provided and where the first print image G1 is not provided as the position of the divided print pixel V. When the CPU 71 causes the heating element F to generate heat at the position corresponding to the target pixel Q including the identified divided print pixel V in the thermal tape M (S57: NO, S61: YES), the CPU 71 controls the driver 73 such that the value of the electric power supplied to the heating element F by the driver 73 is the second value T2 smaller than the first value T1 (S63).
The CPU 71 identifies a part where neither the first print image G1 nor the second print image G2 is provided as the position of the non-print pixel q. The CPU 71 controls the driver 73 such that the heating element F does not generate heat at the position corresponding to the identified non-print pixel q in the thermal tape M (S61: NO, S65).
The CPU 71 determines whether the printing based on the second print data W2 has been completed (S37). When the CPU 71 determines that the printing is not completed (S37: NO), the CPU 71 returns the processing to S57 and repeats the processing in S57 to S65.
According to the modification, the printer 1 may easily determine the position corresponding to the target pixel Q, supply the electric power of the second value T2 to the heating element F, and form the dot D at the position corresponding to the divided print pixel V.
Each heating element F of the thermal head 15 may include two heating bodies that form one dot on the thermal tape M by generating heat. For example, as shown in
The heating bodies f(10), f(20) of the heating elements F are arranged in the main scanning direction. A separator S is provided between the heating bodies f(10), f(20). The heating bodies f(10), f(20) are separated from each other in the main scanning direction.
The printer 1 causes each of the heating bodies f(10), f(20) of the heating element F to generate heat at the position corresponding to the target pixel Q in the thermal tape M. In this case, the position to which heat is applied from the heating bodies f(10), f(20) in the thermal tape M approaches the position of the print pixel P adjacent to a central part of the target pixel Q in the main scanning direction on one side or the other side in the main scanning direction. Therefore, the heat of the heating element F to which the electric power of the first value T1 is supplied in order to form the dot D at the position corresponding to the print pixel P is more likely to affect a region of the thermal tape M that is heated by the heat generated by the heating bodies f(10), f(20) to which the electric power of the second value T2 is supplied in order to form the dot D at the position corresponding to the print pixel Q. Therefore, the dot D formed at the position corresponding to the target pixel Q is more likely to connect with the adjacent dot D, in other words, the dot D formed at the position corresponding to the print pixel P. Therefore, the printer 1 may easily form the dot D at the position corresponding to the divided print pixel V in the thermal tape M.
The printer 1 generates the divided pixels v1, v2 by dividing the target pixel Q into two in the main scanning direction. On the other hand, the printer 1 may generate n divided pixels v by dividing the target pixel Q into n (n is an integer equal to or greater than 2) in the main scanning direction. That is, the number of the divided pixels v generated by dividing the target pixel Q is not limited to two, and may be three or more. As the number of n increases, the dot density in the main scanning direction may be increased. On the other hand, as in the above-described embodiment, by setting the value of n to 2 and dividing the target pixel Q into two in the main scanning direction, it is possible to increase the dot density in the main scanning direction while preventing an increase in processing load of the CPU 71.
For example, as shown in
The printer 1 may use, as the divided print pixels V, two or more of the divided pixels v in order from a side that is closest to the print pixel P adjacent to the target pixel Q in the main scanning direction. For example, as shown in
In the above description, the second value T2, which is the value of the electric power supplied to cause the heating element F to generate heat at the position corresponding to the target pixel Q in the thermal tape M, may be larger as the number of the divided print pixels V is larger. For example, when the second value T2 in a case in which x (x is any integer of 1 to 5) divided pixels v in order from the side closest to the print pixel P adjacent to the target pixel Q in the main scanning direction are set as the divided print pixels V is denoted as the second value 2×(5), as shown in
The pixels of the first print data W1 are generated by dividing an original pixel having the same length in the main scanning direction and the sub-scanning direction into m (m is an integer equal to or greater than 2) in the sub-scanning direction. That is, the pixels of the first print data W1 may be generated by dividing the original pixel into three or more in the sub-scanning direction. In this case, the length of each pixel in the first print data W1 in the sub-scanning direction may be 1/m of the length in the main scanning direction. On the other hand, the lengths of the pixels of the first print data W1 in the main scanning direction and the sub-scanning direction may be the same. That is, the first print data W1 may include the original pixel as it is.
The second value T2 may be smaller than the predetermined value Th. In this case, when the electric power of the second value T2 is supplied in order to cause the heating element F to generate heat at the position corresponding to the target pixel Q in the thermal tape M, the thermal tape M may be colored by being affected by the heat corresponding to the heat generation of the heating element F adjacent to the individual heating element F, and the dot D may be formed.
The printer 1 may set, as the first value T1, the value of the electric power supplied to the heating element F in order to cause the heating element F to generate heat at a position corresponding to a print pixel Pp, which is a part of the print pixel P in the thermal tape M, and may set, as the second value T2, the value of the electric power supplied to the heating element F in order to cause the heating element F to generate heat at a position corresponding to a print pixel Pq, which is a part of the print pixel P other than the print pixel Pp part. Accordingly, the printer 1 may divide, in the main scanning direction, the dot D formed at the position corresponding to the print pixel Pq in the thermal tape M. Accordingly, since the printer 1 may increase the density of the dot D formed at the position corresponding to the print pixel Pq in the thermal tape M in the main scanning direction, a high-quality print image with higher resolution may be printed on the thermal tape M.
The printer 1 may divide the dot D formed on the thermal tape M in the sub-scanning direction by making the cycle of causing the heating element F to generate heat by supplying the electric power to the heating element F shorter than t/2. In this case, since the printer 1 may increase the dot density in the sub-scanning direction, a high-quality print image with higher resolution may be printed on the thermal tape M.
The printer 1 may control the voltage applied to the heating element F of the thermal head 15 to be the first value T1 or the second value T2. The printer 1 may control the amount of electric power applied to the heating element F of the thermal head 15 to be the first value T1 or the second value T2.
The printer 1 is an example of a “printing apparatus” according to the present disclosure. The thermal tape M is an example of a “print medium” according to the present disclosure. The platen roller 11 and the transport roller 12 are an example of a “moving mechanism” according to the present disclosure. The CPU 71 is an example of a “controller” according to the present disclosure. The CPU 71 that performs the processing in S11 to S23 is an example of “generation processing” according to the present disclosure. The CPU 71 that performs the processing in S25 to S35 is an example of “control processing” according to the present disclosure. The processing in S11 to S23 is an example of a “generation step” according to the present disclosure. The processing in S25 to S35 is an example of a “control step” according to the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2022-094156 | Jun 2022 | JP | national |