This application claims priority to Japanese Patent Application No. 2012-043685 filed on Feb. 29, 2012, and also claims priority to Japanese Patent Application No. 2013-011084 filed on Jan. 24, 2013. The disclosure of the foregoing applications is herein incorporated by reference in its entirety.
The present disclosure relates to a printer that is configured to perform printing on a printing medium by using heat and to a non-transitory computer-readable medium.
A printer is known that performs printing on a printing medium using a thermal line head that includes a plurality of heating elements. The heating elements for a single line of an image that will be formed are arrayed in a main scanning direction on the thermal line head. The printer may operate the thermal line head by applying an electric current to the heating elements, causing the heating elements to generate heat.
A method has been proposed for limiting the electric power that is consumed when the thermal line head is operated. For example, a method is disclosed for detecting a number of ON dots in printing data for one line and controlling the number of the heating elements that are heated based on the number of the detected ON dots. An outline of the method will be explained. The plurality of the heating elements that are provided in the thermal line head are divided into a plurality of blocks. In a case where the number of the detected ON dots is low, the printer heats the heating elements in all of the blocks at the same time. In this case, the printing of the entire line will be performed all at once, so the time that will be required in order to print the line may be short. Therefore, the printer can feed the printing medium at high speed, so can perform high-speed printing.
On the other hand, in a case where the number of the detected ON dots is large, the printer heats the heating elements at a different time for each block. In this case, the printing of the line will be performed by being divided into a plurality of rounds, so the time that will be required in order to print the line will become longer than in the case described above, where the printing of the entire line is performed all at once. Therefore, the printer cannot feed the printing medium at high speed. Accordingly, the printing medium is fed at low speed. As described above, the printer performs printing on the printing medium while switching the feed speed of the printing medium in accordance with the number of the detected ON dots.
In some cases, time may be required in order to switch the feed speed of the printing medium. Specifically, the printer may feed the printing medium by using a feed roller that is rotated by the operation of a motor. The printer of this type is not able to change the revolution speed of the motor rapidly, so time is required in order for the motor to switch to the specified revolution speed. In that case, it may take too much time before the feed roller is rotated at the revolution speed that corresponds to the detected number of the ON dots. Accordingly, the time that is required to complete the printing may become longer.
Various embodiments of the general principles described herein provide a printer and a non-transitory computer-readable medium that each enable printing on a printing medium with a thermal line head in a short time.
Various embodiments herein provide a printer that includes a feeding portion, a printing portion, and a processor. The feeding portion is configured to feed a printing medium in an auxiliary scanning direction. The printing portion includes a plurality of heating elements arrayed in a main scanning direction. The main scanning direction is orthogonal to the auxiliary scanning direction. The plurality of heating elements are configured to perform printing of one line at a time on the printing medium fed in the auxiliary scanning direction by the feeding portion, the one line extending in the main scanning direction. The processor is configured to specify numbers of ON dots for at least a first specified block and a second specified block among a plurality of lines that make up a printed pattern. The first specified block is one of a plurality of blocks. Each of the plurality of blocks includes a first specified number of lines. The second specified block is another of the plurality of blocks and includes a line to be printed before the first specified block. The number of ON dots is a number of heating elements, among the plurality of heating elements, to be operated when the printing of one line is performed. The processor is also configured to specify first speeds that respectively correspond to at least the first specified block and the second specified block based on the numbers of ON dots. The processor is further configured to set a second speed based on the first speeds that respectively correspond to the first specified block and the second specified block, such that the printing medium is fed by the feeding portion at the first speed for the first specified block when the printing of the first specified block is performed by the printing portion. The second speed is a feed speed of the printing medium fed by the feeding portion when the printing of the second specified block is performed by the printing portion. The processor is further configured to control the feeding portion and the printing portion such that the printing medium is fed by the feeding portion at the second speed when the printing of the second specified block is performed by the printing portion.
Various embodiments also provide a non-transitory computer-readable medium storing computer-readable instructions. When executed by a processor of a printer, the computer-readable instructions cause the printer to perform a step of specifying numbers of ON dots for at least a first specified block and a second specified block among a plurality of lines that make up a printed pattern. The first specified block is one of a plurality of blocks. Each of the plurality of blocks includes a first specified number of lines. The second specified block is another of the plurality of blocks and includes a line to be printed before the first specified block. The number of ON dots is a number of heating elements, among a plurality of heating elements of the printer, to be operated when the printing of one line is performed. The computer-readable instructions also cause the printer to perform a step of specifying first speeds that respectively correspond to at least the first specified block and the second specified block based on the numbers of ON dots. The computer-readable instructions further cause the printer to perform a step of setting a second speed based on the first speeds that respectively correspond to the first specified block and the second specified block, such that a printing medium is fed by a feeding portion at the first speed for the first specified block when the printing of the first specified block is performed by a printing portion. The second speed is a feed speed of the printing medium fed by the feeding portion when the printing of the second specified block is performed by the printing portion. The feeding portion is configured to feed the printing medium in an auxiliary scanning direction. The printing portion includes the plurality of heating elements arrayed in a main scanning direction and configured to perform printing of one line at a time on the printing medium fed in the auxiliary scanning direction by the feeding portion. The one line extends in the main scanning direction. The main scanning direction is orthogonal to the auxiliary scanning direction. The computer-readable instructions further cause the printer to perform a step of controlling the feeding portion and the printing portion such that the printing medium is fed by the feeding portion at the second speed when the printing of the second specified block is performed by the printing portion.
Embodiments will be described below in detail with reference to the accompanying drawings in which:
Hereinafter, embodiments will be explained with reference to the drawings.
An overview of a printing system 5 will be explained with reference to
The configuration of the printer 1 will be explained. The lower right, the upper left, the upper right, the lower left, the upward direction, and the downward direction in
As shown in
A discharge outlet 107 is provided in the top cover 101 (refer to
The printer 1 includes a thermal line head 112, a fixing plate 113, and a spring 114 below the rear end portion of the fixed portion 101A. The fixing plate 113 is provided in front of the platen roller 111. The thermal line head 112 is fixed on the rear face of the fixing plate 113. The thermal line head 112 has a structure in which a plurality of heating elements are arrayed in a single row in the left-right direction. The plurality of the heating elements that are arrayed in the single row correspond to one line in an image that is formed on the heat-sensitive tape 8. Each of the heating elements is configured to generate heat, when an electric current is applied. The spring 114 energizes the fixing plate 113 toward the rear. A cutting blade 160 is provided above the thermal line head 112. The user can cut the heat-sensitive tape 8 manually by pulling the heat-sensitive tape 8 that has been discharged from the discharge outlet 107 toward the front and pressing it against the cutting blade 160.
A process of creating a label will be explained. The heat-sensitive tape 8 that extends from the roll 9 passes between the platen roller 111 and the thermal line head 112. The spring 114 energizes the fixing plate 113 toward the rear, causing the thermal line head 112 to press the heat-sensitive tape 8 against the platen roller 111 with a specified force. In this state, the plurality of the heating elements of the thermal line head 112 are selectively supplied with an electric current and generate heat. Images of pixels are formed on the heat-sensitive tape 8 that correspond to the individual ones of the plurality of the heating elements that have generated heat, such that one line of the image is printed. At the same time with the supplying of the electric current to the heating elements, the platen roller 111 rotates as the drive motor 18 turns. The rotation of the platen roller 111 draws out the heat-sensitive tape 8 from the roll 9. Hereinafter, the left-right direction, which is the direction in which the plurality of the heating elements are lined up in the thermal line head 112, will also be called a main scanning direction. The direction in which the heat-sensitive tape 8 is fed will also be called an auxiliary scanning direction. The main scanning direction and the auxiliary scanning direction are orthogonal to one another.
The printer 1 prints an image of characters and graphics ultimately on the heat-sensitive tape 8 by the forming in the auxiliary scanning direction of a series of images of individual lines that each extend in the main scanning direction. After the printing, the printer 1 discharges the heat-sensitive tape 8 to the outside of the housing 100 from the discharge outlet 107. A user cuts the discharged heat-sensitive tape 8 with the cutting blade 160. The label can be thus created.
The electrical configuration of the printer 1 will be explained with reference to
The CPU 11 is configured to perform overall control of the printer 1. The flash ROM 13 is a rewriteable non-volatile storage element. A control program, a first table 131 (refer to
A method for controlling a feed speed of the heat-sensitive tape 8 fed by the platen roller 111 (hereinafter simply called the feed speed) will be explained. The thermal line head 112 is configured to cause the heating elements to generate heat by applying the electric current to the heating elements. Hereinafter, such operation of the thermal line head 112 is called operating the heating elements. As the number of the heating elements that are operated increases, the electric current that is consumed by the entire thermal line head 112 increases. Therefore, the printer 1 may ordinarily restrict the number of the heating elements that can be operated at the same time. The printer 1 may thus hold down the peak value of the electric current that is consumed by the thermal line head 112.
When the printer 1 prints a single line of an image by using the thermal line head 112, the single line may include pixels where dots are formed and pixels where dots are not formed. The number of the heating elements that are operated when a single line is printed (hereinafter called the number of ON dots) varies according to the number of the pixels where dots are formed. In a case where the number of the ON dots is large, the printer 1 does not operate the heating elements all at once. Specifically, the printer 1 divides the heating elements into a plurality of groups and operates the heating elements on a time division basis, operating each of the groups separately in a plurality of rounds. In the case of a line in which the number of the ON dots is large, the number of the groups becomes greater. Therefore, the number of rounds in which the individual groups of the heating elements are operated also becomes greater. Therefore, in the case of a line in which the number of the ON dots is large, the printer 1 requires a longer time in order to complete the printing of the line than in the case of a line in which the number of the ON dots is low.
Therefore, in a case where the printer 1 performs the printing of a line in which the number of the ON dots is large, the printer 1 reduces the revolution speed of the platen roller 111 and makes the feed speed slower. The printer 1 can thus reliably perform the printing of the single line by preventing the heat-sensitive tape 8 from being fed too far before the printing of the single line is completed. In contrast, in a case where the printer 1 performs the printing of a line in which the number of the ON dots is low, the time until the printing of the single line is completed is shorter, so the printer 1 increases the revolution speed of the platen roller 111 and makes the feed speed faster. The printer 1 can thus shorten the time that is required for the printing on the heat-sensitive tape 8 to be completed. In this manner, the printer 1 can optimize the processing for the printing on the heat-sensitive tape 8 by controlling the revolution speed of the platen roller 111 such that the heat-sensitive tape 8 is fed at a feed speed that corresponds to the number of the ON dots.
The platen roller 111 rotates in conjunction with the rotation of the drive motor 18. The time that is required in order to change the revolution speed of the drive motor 18 becomes longer as the amount of the change in the revolution speed becomes greater. Therefore, in a case where it is necessary for the printer 1 to reduce the feed speed rapidly, it takes some time until the drive motor 18 is made to turn at the new revolution speed. Therefore, in a case where the number of the ON dots has decreased abruptly, there is a possibility that the printer 1 will not be able to immediately start feeding the heat-sensitive tape 8 at the feed speed that corresponds to the number of the ON dots.
Accordingly, in the present embodiment, in a case where the printer 1 reduces the feed speed in order to print appropriately a specified line that is one of a plurality of lines that make up a pattern, the printer 1 may control the feed speed such that the speed reduction is completed just before the printing of the specified line is performed. Specifically, the printer 1 may set the feed speed that will be used when a line that is printed before the specified line is printed, then operates the platen roller 111 by controlling the drive motor 18. Thus the printer 1 is able to optimize the conformity of the feed speed to the changes in the number of the ON dots. The details will hereinafter be described.
A first example of a method for setting the feed speed in the present embodiment will be explained in concrete terms with reference to
The printer 1 is able to adjust the feed speed through a total of nine levels, from zero to eight. The minimum feed speed is zero. The maximum feed speed is eight. The CPU 11 is able to change the revolution speed of the drive motor 18 through nine levels. That is, the CPU 11 is able to adjust the speed of the heat-sensitive tape 8 that is fed by the platen roller 111 through nine levels. In addition, the drive motor 18 is able to change the feed speed at a specified rate of change. In the present embodiment, in order to change the feed speed by one level, the printer 1 needs one control pulse to be transmitted to the drive motor 18. Therefore, a time of 1T is required in order to change the feed speed by one level. In order to change the feed speed from zero to 8, eight control pulses (a time of 8T) are required.
The CPU 11 first specifies the numbers of ON dots for all of the plurality of lines that make up the pattern. Then, as shown in
Note that the reasons why the number of lines that are included in each group is ten are because the feed speed is changed through the nine levels and because the feed speed will be adjusted to the first speed just before the specified line is printed.
A table 73 indicates the first speeds (zero to 8) that are specified for the 18th to the 37th lines, respectively, based on the specified numbers of ON dots. The vertical axis of the table 73 indicates the start lines (the 18th to the 28th lines). The horizontal axis indicates the 18th to the 37th lines that will be printed by the thermal line head 112.
As indicated on the heat-sensitive tape 8 shown in
In contrast, at the 28th line, the printer 1 prints the line segment 62 (with a number X of ON dots) on the heat-sensitive tape 8. When the 28th line is printed, the number of ON dots is large. For example, the feed speed that is required in order to print a line with the number X of ON dots is 4. In this case, the CPU 11 specifies 8 as the first speed that corresponds to each of the 19th to the 27th lines in the group in which the 19th line is the start line, and specifies 4 as the first speed that corresponds to the 28th line. In the same manner, the CPU 11 specifies the numbers of ON dots for each of the lines that belong to the groups in which the 20th to the 28th lines are the start lines, and specify the corresponding first speeds. As a result, as shown in the table 73, the CPU 11 specifies, in each group, the first speed that corresponds to the 28th line as 4, and the first speeds that correspond to the other lines (the 18th to the 27th lines and the 29th to the 37th lines) as 8, respectively.
When the printing of the 28th line is performed, the printer 1 needs to set the feed speed to 4. However, as described previously, the revolution speed of the drive motor 18 cannot be changed rapidly. Therefore, in a case where the printer 1 prints the 27th line with the feed speed of 8, the printer 1 cannot reduce the feed speed to 4 by the time that the printer 1 prints the 28th line immediately thereafter. For that reason, in a case where the CPU 11 changes the feed speed in order to print the 28th line, the CPU 11 gradually changes, in advance, the feed speeds that are used when the lines that precede the 28th line are printed, such that the printer 1 can feed the heat-sensitive tape 8 reliably at the changed feed speed. Specifically, the CPU 11 performs the processing that is described below.
First, the CPU 11 revises the first speeds by applying, to the first speeds that were respectively specified for the lines, speed revisions that are stored in the first table 131 that is shown in
As an example, a case will be explained in which the first speeds are revised for the 18th to the 27th lines that belong to the group in which the start line is the 18th line. The difference between the 18th line (the start line) and the 18th line is 0. In the first table 131, a speed revision of 0 is associated with the difference of 0. Therefore, the CPU 11 adds the speed revision of 0 to the first speed of 8 for the 18th line (8+0). The difference between the 18th line (the start line) and the 19th line is 1. In the first table 131, a speed revision of 0 is associated with the difference of 1. Therefore, the CPU 11 adds the speed revision of 0 to the first speed of 8 for the 19th line (8+0). The difference between the 18th line (the start line) and the 20th line is 2. In the first table 131, a speed revision of +1 is associated with the difference of 2. Therefore, the CPU 11 adds the speed revision of +1 to the first speed of 8 for the 20th line (8+1). The CPU 11 revises the first speeds for the 21st to the 27th lines in the same manner.
A case in which the first speed of 4 that corresponds to the 28th line is revised will be explained with reference to
As the highest feed speed of the printer 1 is 8, the printer 1 cannot feed the heat-sensitive tape 8 at a feed speed of 9 or greater. Therefore, the CPU 11 adjusts all of the first speeds that have been revised as described above by using 8 as the upper limit For example, in each of the groups for which the start lines are the 18th to the 22nd lines, respectively, the first speed that corresponds to the 28th line is 9 or greater than 9. Accordingly, the CPU 11 adjusts those first speeds to 8. In contrast, in each of the groups for which the start lines are the 23rd to the 28th lines, respectively, the first speed that corresponds to the 28th line is not greater than 8. Accordingly, the CPU 11 does not adjust the revised first speeds. Next, the CPU 11 changes the table 73 according to the first speeds for which the revisions and the adjustments were carried out as necessary. As a result, the table 73 that is shown in
Next, the CPU 11 identifies, among the first speeds in the table 73, the lowest first speed in each group. As shown in
As explained previously, in order to change the feed speed by one level, the CPU 11 needs to transmit one control pulse to the drive motor 18. Therefore, in a case where the difference between the feed speeds for the two lines that are consecutively printed is not less than 2, the CPU 11 cannot change the feed speed with a single control pulse from the feed speed for one of the two lines that is printed first to the feed speed for the other of the two lines that is subsequently printed. Therefore, the CPU 11 changes the second speed as necessary, such that the second speed can be reached with a single control pulse. Of the feed speeds for the two lines that are consecutively printed, the feed speed for the line that is printed first is hereinafter referred to as the previous feed speed, and the feed speed for the other line that is subsequently printed is hereinafter referred to as the subsequent feed speed.
Specifically, the CPU 11 changes the second speed as necessary by applying the second table 132 that is shown in
For example, the second speeds for the 18th and 19th lines are both 8 (refer to
Note that in a case where the second speed for the start line in a certain group is larger than the second speed for the start line of the next group (i.e. the line to be printed next), that is, in a case where the feed speed decreases, the second feed speeds will not change, even if the second table 132 is applied. The reason is that the CPU 11 has already adjusted the second speeds for the consecutive lines such that the second speeds for the consecutive lines decrease by one level, by revising the first speeds using the first table 131, as explained previously. In contrast, in a case where the second speed for the start line in a certain group is smaller than the second speed for the start line of the next group, that is, in a case where the feed speed increases, the CPU 11 may change the second speeds as necessary, by applying the second table 132. The details will be described later with reference to
The CPU 11 ultimately sets the second speeds that have been changed as necessary as the feed speeds that will be used when the corresponding lines are respectively printed. The CPU 11 stores the set second speeds in the third table 121 in association with information (in
The method by which the CPU 11 controls the feed speed based on the third table 121 will be explained in specific terms with reference to
In the third table 121, a second speed of 7 is associated with the 24th line, so the CPU 11 sets the control pulse for setting the feed speed to 7 at the 24th line. The CPU 11 transmits the control pulse to the drive motor 18 at the time when the printing of the 24th line is performed. In the third table 121, a second speed of 6 is associated with the 25th line, so the CPU 11 sets the control pulse for setting the feed speed to 6 at the 25th line. The CPU 11 transmits the control pulse to the drive motor 18 at the time when the printing of the 25th line is performed. During the printing of the 24th to the 27th lines, the CPU 11 repeats the processing that has been described above. The feed speed thus decreases from 8 to 4 while the 24th to 27th lines are printed (the descending line segment 41 in the line graph 71). In the third table 121, a second speed of 4 is associated with the 28th line, so the CPU 11 sets the control pulse for setting the feed speed to 4 at the 28th line. The CPU 11 transmits the control pulse to the drive motor 18 at the time when the printing of the 28th line is performed. At the same time, the CPU 11 operates the thermal line head 112 such that the line segment 62 will be printed on the heat-sensitive tape 8. The thermal head 62 thus prints the line segment 62 on the heat-sensitive tape 8.
In a case where the CPU 11 controls the feed speed based on the third table 121, the CPU 11 starts reducing the feed speed at the point when the 24th line is printed (the descending line segment 41 in the line graph 71). Then the feed speed becomes 4 at the point when the printing of the 27th line, which immediately precedes the 28th line, is performed (the descending line segment 41 in the line graph 71). In this manner, in a case where the CPU 11 controls the feed speed based on the third table 121, the feed speeds that are used when the 20th to the 28th lines are printed become faster. At the point when the 28th line is printed, the feed speed has been changed to 4. Therefore, the printer 1 can perform the printing of the line segment 62 appropriately. By feeding the heat-sensitive tape 8 more quickly, the printer 1 is able to print the pattern appropriately on the heat-sensitive tape 8 while it shortens the time that is required to complete the printing on the heat-sensitive tape 8.
A second example of the method for setting the feed speed in the present embodiment will be explained in specific terms with reference to
As shown in
The CPU 11 adjusts all of the first speeds that have been revised as described above by using 8 as the upper limit Note that in the table 74, the revised first speeds are all not greater than 8. The CPU 11 changes the table 74 according to the first speeds that have been revised and appropriately adjusted. As a result, the table 74 that is shown in
The CPU 11 changes the second speeds as necessary, by applying the second table 132 (refer to
In the example that is shown in
The CPU 11 stores the second speeds that have been changed as necessary in the third table 121 (refer to
The transitions in the feed speed (in the portion indicated by the arrow 39 in the line graph 71) in a case where the CPU 11 controls the feed speed based on the third table 121 (refer to
Thus, in a case where the CPU 11 controls the feed speed based on the third table 121, the feed speeds when the 29th to the 43rd lines are printed become faster. At the point when the 44th line is printed, the feed speed has been changed to 0, and so the line segment 63 can be printed appropriately. Because the printer 1 is able to feed the heat-sensitive tape 8 more quickly, the time that is required in order to complete the printing on the heat-sensitive tape 8 can be shortened.
As described above, the printer 1 is able to set the second speed, which is the feed speed to be used when the line to be printed before the specified line is printed, such that the heat-sensitive tape 8 is fed at the first speed to be used when the specified line is printed. This makes it possible for the printer 1 to change the feed speed efficiently, such that the feed speed becomes the first speed when the specified line is printed. The printer 1 is therefore able to shorten the time that is required to complete the printing of the pattern on the heat-sensitive tape 8.
Setting the second speed based on the first table 131 makes it possible for the printer 1 to set, to the fastest possible speed, the second speed that is required in order for the specified line to be printed at the first speed. The reason for this will now be described. In the first table 131, the speed revisions are set according to the number of lines between the specified line and the start line. Specifically, in a case where the number of lines between the specified line and the start line is large, the time that elapses until the feed speed is set to the first speed when the specified line is printed is long. Accordingly, the speed revision is set to a large value. Accordingly, the second speed when the start line is printed becomes very much faster than the first speed. In contrast, in a case where the number of lines between the specified line and the start line is small, the time that elapses until the feed speed is set to the first speed when the specified line is printed is short. Accordingly, the speed revision is set to a small value. The second speed when the start line is printed is close to the first speed. Therefore, the feed speed is decreased gradually and is changed to the first speed just before the specified line is printed. Thus the printer 1 is easily able to control the feed speed such that the feed speed becomes the first speed just before the specified line is printed. Therefore, the printer 1 is easily able to shorten the time that is required in order to complete the printing on the heat-sensitive tape 8.
The processing (main processing) in a case where the control that has been described above is performed by the CPU 11 will be explained in specific terms with reference to
The CPU 11 sets groups for the first speeds, each of the groups including the first speeds for ten lines, starting from each one of the lines as the start line (Step S67) (refer to
The CPU 11 determines whether a second speed has been set for every one of the groups that were set at Step S67 (Step S74). In a case where a group remains for which the second speed has not been set (NO at Sp S74), the CPU 11, in order to set the second speed for the remaining group, returns to the processing at Step S69. The CPU 11 then defines the next unprocessed group as the object of the processing, and performs the processing at Steps S69 to S73. In a case where the CPU 11 has set the second speed for every one of the groups (YES at Step S74), the CPU 11 uses the second table 132 (refer to
As shown in
Another embodiment of the present disclosure will be hereinafter described with reference to
The present embodiment explains an example in which the number of lines that are included in each block is two. The number of lines that are included in each block, however, may be one, three, or more. Note that the embodiment that is described previously is an example in which the number of lines in each block is one.
As in the embodiment that is described previously, the CPU 11 identifies the numbers of ON dots for all of the plurality of lines that make up the pattern, and specifies the feed speeds for the respective lines based on the numbers of ON dots. The CPU 11 then sets a plurality of blocks by dividing the plurality of lines, for which the feed speeds were specified, into a plurality of pairs of lines. Hereinafter, a block that includes two lines X and Y will be expressed as a block (X, Y). Then, as shown in
The CPU 11 then specifies the feed speed that corresponds to each of the blocks based on the two feed speeds that have been specified by the CPU 11 based on the numbers of ON dots for the two lines that are included in the block. Specifically, the CPU 11 specifies, as the feed speed for the block (that is, for the two lines in the block), the slower one of the feed speeds that correspond to the two lines in the block.
In a case where the number of lines that are included in each block is three or more, the CPU 11 may specify, as the feed speed for the block (that is, for the plurality of lines in the block), the slowest one of the feed speeds that have been specified by the CPU 11 based on the numbers of ON dots, corresponding to the plurality of lines in each block. In a case where the number of lines that are included in each block is one, the CPU 11 may specify, as the feed speed for the block (that is, for the one line in the block), the feed speed that has been specified by the CPU 11 based on the number of ON dots, corresponding to the one line in each block. Note that the embodiment that is described previously is an example in which the number of lines in each block is one, and the feed speed that has been specified by the CPU 11 based on the number of ON dots for each line is set as the first speed. In the present embodiment, the feed speed that has been specified by the CPU 11 based on the numbers of ON dots for each block is called the first speed.
In the example in
The CPU 11 gradually changes the feed speeds for the blocks that are printed before the block (27, 28) in the same manner as in the previous embodiment. Specifically, the CPU 11 performs the following processing. First, the CPU 11 revises the first speeds by applying, to the first speeds that were respectively specified for the blocks, speed revisions that are stored in the first table 131 that is shown in
A case in which the first speed of 4 that corresponds to the block (27, 28) is revised will be explained with reference to
By repeating the processing that is described above, the CPU 11 carries out the revisions based on the first table 131 for all of the first speeds that correspond to the blocks that belong to the groups in which the start blocks are the blocks (17, 18) to (31, 32), respectively. The CPU 11 then adjusts all of the first speeds that have been revised as described above by using 8 as the upper limit. As a result, the table 76 in
The CPU 11 sets, among the first speeds in table 76, the slowest first speed in each group as the second speed. As shown in
The CPU 11 applies the second table 132 that is shown in
For example, the second speeds for the blocks (27, 28) and (29, 30) are respectively 4 and 6. In the second table 132, the feed speed of 5 is associated with the previous feed speed of 4 and the subsequent feed speed of 6. Accordingly, the CPU 11 changes the second speed for the block (29, 30) from 6 to 5. In this manner, the CPU 11 changes the second speeds that correspond to the blocks (17, 18) to (31, 32) to 8, 7, 6, 5, 4, 4, 5 and 5, respectively. The CPU 11 stores the second speeds that have been changed as necessary in the third table 121, in association with the information that identifies the blocks. As shown in
The method by which the CPU 11 controls the feed speed based on the third table 121 in
In a case where the CPU 11 controls the feed speed as described above, the feed speed decreases from 8 to 4 from the 19th line to the 25th line (the descending step-like segment 91 in the line graph 90). The feed speed is maintained at 4 from the 25th line to the 29th line (the horizontal line segment 92 in the line graph 90). Therefore, at the point when the 28th line is printed, the CPU 11 can feed the heat-sensitive tape 8 at the feed speed of 4, at which the line segment 62 can be printed on the heat-sensitive tape 8 appropriately. The feed speed decreases from 5 to 0 from the 33rd line to the 41st line (the descending step-like segment 94). The feed speed is maintained at 0 from the 41st line to the 45th line (the horizontal line segment 95 in the line graph 90). Therefore, at the point when the 44th line is printed, the CPU 11 can feed the heat-sensitive tape 8 at the feed speed of 0, at which the line segment 63 can be printed on the heat-sensitive tape 8 appropriately. By increasing the feed speed from 4 to 5 at the 29th line (the ascending step-like segment 93 in the line graph 90), the CPU 11 can shorten the time that is required in order to complete the printing on the heat-sensitive tape 8.
The speed setting processing in a case where the control that has been described above is performed by the CPU 11 will be explained with reference to
The CPU 11 specifies the numbers of the ON dots for all of the lines (Step S81). The CPU 11 computes the number of rounds of operation for each line based on the specified numbers of ON dots (Step S83). The CPU 11 sets blocks by dividing the plurality of lines into a plurality of pairs of lines (S84). Based on the numbers of rounds of operation that have been computed at Step S83, the CPU 11 sets the feed speed for each line. The CPU 11 specifies the slower one of the feed speeds for the two lines in each block as the first speed that corresponds to the block. The CPU 11 sequentially specifies the first speeds for all of the blocks (Step S85).
The CPU 11 sets groups for the first speeds, each of the groups including the first speeds for ten blocks, starting from each one of the blocks as the start block (Step S87) (refer to
As shown in
Note that the embodiments that are described above are only examples, and various types of modifications can be made. The printing medium is not limited to the heat-sensitive tape 8, and the printing medium may also be a heat-sensitive paper or the like. The flash ROM 13 may store a table in which the numbers of ON dots and the first speeds are associated. The CPU 11 may then specify the first speeds that correspond to the numbers of ON dots by referencing the table.
In the embodiments that are described above, the CPU 11 specifies the first speeds and the second speeds after the CPU11 has specified the numbers of ON dots for all of the lines at a time. In contrast, the CPU 11 may also specify the numbers of ON dots for a group of ten lines or of ten blocks at the time when the line that corresponds to the left end of one of the horizontal bars 50 in the bar graph 72 in
In the embodiments that are described above, after the CPU 11 revises the first speeds using the first table 131 (refer to
The embodiments that are described above are examples in which the second speeds are set based on the speeds that are derived by adding the speed revisions to the first speeds, using the first table 131 that is shown in
The apparatus and methods described above with reference to the various embodiments are merely examples. It goes without saying that they are not confined to the depicted embodiments. While various features have been described in conjunction with the examples outlined above, various alternatives, modifications, variations, and/or improvements of those features and/or examples may be possible. Accordingly, the examples, as set forth above, are intended to be illustrative. Various changes may be made without departing from the broad spirit and scope of the underlying principles.
Number | Date | Country | Kind |
---|---|---|---|
2012-043685 | Feb 2012 | JP | national |
2013-011084 | Jan 2013 | JP | national |