摘要 |
<p><P>PROBLEM TO BE SOLVED: To obtain a controller for controlling heat generation of heaters in a thermal head such that printing is performed in an appropriate print time depending on the voltage of a mounted battery. <P>SOLUTION: In a thermal printer mounted with a thermal head 10 arranged with heaters in the main scanning direction, the voltage V of a battery 30 for supplying a current to the thermal head 10 is detected at a battery voltage detecting section 31 when the printer is stated. An upper limit number of heaters capable of generating heat simultaneously is set depending on the voltage V at a control section 20, then number of print pixels included in a line of image data is calculated every time when a line of image data is inputted, and the image data is outputted, as it is, to the thermal head and printed if the number of print pixels does not exceed the upper limit number of heaters. If the number of print pixels exceeds the upper limit number of heaters, the image data is divided into a plurality of pieces of data and printing of one line is performed while being divided into a plurality of times. If the voltage V is large, a large upper limit number of heaters is set and the number of printing times is decreased. <P>COPYRIGHT: (C)2003,JPO</p> |