INTERFACE CIRCUIT AND THERMAL HISTORY CONTROL METHOD
20230089133 · 2023-03-23
Inventors
Cpc classification
H04N1/32
ELECTRICITY
International classification
Abstract
An interface circuit includes an operation controller that controls an operation state of the interface circuit; a converter that outputs divided print data signals, each divided print data signal of the divided print data signals having a predetermined bit width; a storage that stores the divided print data signals. The interface circuit includes a data controller that controls an order of writing of the divided print data signals into the storage and reading of the divided print data signals from the storage; a logical arithmetic module that performs logical arithmetic operations based on the divided print data signal and a history pulse signal and outputs a history print data signal that defines heat generating time periods of dots corresponding to print lines to be printed; and a conversion clock synchronizer that outputs the history print data signal in synchronization with a driving signal for a thermal head.
Claims
1. An interface circuit that: is connected to both, a system controller that controls a system of a thermal printer, and a driving circuit that controls driving of a heat generating element installed in a thermal head, and that transfers a print data signal and a control signal output from the system controller, to the driving circuit, the interface circuit comprising: an operation controller that controls an operation state of the interface circuit; a converter that outputs divided print data signals, each divided print data signal of the divided print data signals resulting from division of the print data signal into the divided print data signals each having a predetermined bit width; a storage that stores the divided print data signals; a data controller that controls an order of each of writing of the divided print data signals into the storage and reading of the divided print data signals from the storage; a logical arithmetic module that performs logical arithmetic operations based on the divided print data signals, and a history pulse signal included in the control signal, and generates and outputs a history print data signal that defines heat generating time periods of dots corresponding to print lines that are printed on the basis of the divided print data signals; and a conversion clock synchronizer that outputs the history print data signal in synchronization with a driving signal for the thermal head.
2. The interface circuit according to claim 1, wherein the logical arithmetic module has a compressed data arithmetic module that generates history data indicating a past printing history and stores the history data into the storage based on the history print data signal corresponding to previously printed plural print lines.
3. The interface circuit according to claim 2, wherein the converter divides the print data signal corresponding to print lines into predetermined bit widths, and generates and outputs a first divided print data signal and a second divided print data signal; the logical arithmetic module has a history data arithmetic module that generates and outputs a first divided history print data signal based on the history data and the first divided print data signal, and generates and outputs a second divided history print data signal based on the history data and the second divided print data signal, generation and output of the history data by the compressed data arithmetic module is executed in parallel with generation and output of the first divided history print data signal and the second divided history print data signal by the history data arithmetic module; and generation and output of the second divided print data signal by the converter is executed in parallel with generation and output of the first divided history print data signal by the logical arithmetic module.
4. The interface circuit according to claim 2, wherein the compressed data arithmetic module stores into the storage a history print data signal corresponding to a predetermined number of print lines that includes an immediately preceding line printed immediately before a print line to be printed next, and generates the history data resulting from compression of the history print data signal corresponding to past print lines other than the predetermined number of print lines that includes the immediately preceding line, and stores the history data into the storage.
5. A thermal history control method executed in an interface circuit that: is connected to both a system controller that controls a system of a thermal printer, and a driving circuit that controls driving of a heat generating element installed in a thermal head, and that transfers a print data signal and a control signal output from the system controller, to the driving circuit, the thermal history control method comprising: outputting divided print data signals resulting from division of the print data signal into the divided print data signals, each divided print data signal of the divided print data signals having a predetermined bit width; controlling an order of each of writing of the divided print data signals into a storage that stores the divided print data signals and reading of the divided print data signals from the storage; performing logical arithmetic operations based on the divided print data signals, and a history pulse signal included in the control signal, and generating and outputting a history print data signal that defines heat generating time periods of dots corresponding to print lines that are printed on the basis of the divided print data signals; and outputting the history print data signal in synchronization with a driving signal for the thermal head.
6. The thermal history control method according to claim 5, comprising: generating history data indicating a past printing history, and storing the history data into the storage based on the history print data signal corresponding to previously printed plural print lines.
7. The thermal history control method according to claim 6, comprising: dividing the print data signal corresponding to the print lines into predetermined bit widths, and generating and outputting a first divided print data signal and a second divided print data signal; generating and outputting a first divided history print data signal based on the history data and the first divided print data signal; generating and outputting a second divided history print data signal based on the history data and the second divided print data signal; executing generation and output of the history data in parallel with generation and output of the first divided history print data signal and the second divided history print data signal; and executing generation and output of the second divided print data signal in parallel with generation and output of the first divided history print data signal.
8. The thermal history control method according to claim 6, comprising: storing into the storage a history print data signal corresponding to a predetermined number of print lines that includes an immediately preceding line printed immediately before a print line to be printed next, and generating the history data resulting from compression of the history print data signal corresponding to past print lines other than the predetermined number of print lines that includes the immediately preceding line, and storing the history data into the storage.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
DESCRIPTION OF EMBODIMENTS
[0033] Embodiments of an interface circuit and a thermal history control method disclosed by the present application will be described in detail below while reference is made to the appended drawings. A thermal printer having, installed therein, the interface circuit that executes the thermal history control method disclosed by the present application will be described with respect to the following embodiments.
[0034] Introduction
[0035] Thermal printers with a line thermal head are used as printing devices, such as receipt issuing printers installed in point of sales (POS) devices, for example. On the basis of a print data signal and a print command transmitted from a host, such as a POS device, for example, a thermal printer drives plural heat generating elements allocated to respective dots corresponding to the print data signal to be printed, and performs printing on a print medium, such as recording paper, using heat generated by the heat generating elements.
[0036] In such a thermal printer, thermal history control for reducing influence of heat accumulation due to past print operation is performed for dots corresponding to a print data signal to be printed.
[0037] In the example of the printing without thermal history control illustrated in
[0038] In contrast, in the example of the printing by thermal history control illustrated in
[0039] For example, if a driver IC installed in a thermal head performs thermal history control, as illustrated in
[0040] In a case where thermal history control is performed outside a thermal head, a print data signal needs to be converted to thermal history control data, and the thermal history control data need to be transmitted at appropriate times to be in synchronization with driving of the thermal head. When the thermal history control is performed outside, a memory for storing the thermal history control data is needed and the circuit size is thus increased correspondingly to the number of print lines (the number of history stages) referred to for the thermal history control.
[0041] In view of the above, in the present application, an interface circuit described below is installed in a thermal printer that performs thermal history control outside a thermal head. This aims to improve each of the cost required for the thermal history control, and the printing speed and printing quality in the thermal history control.
[0042] Example of Configuration of Thermal Printer
[0043]
[0044] The central processing unit (CPU) 11 executes control of each module of the thermal printer 1 and various types of processing, on the basis of programs and applications stored in the read only memory (ROM) 12. By the CPU 11 reading, for example, a program stored in the ROM 12 and executing the program read, with the random access memory (RAM) 13 serving as a work area, the control of each module of the thermal printer 1 and the various types of processing are implemented. The CPU 11 functions as a system controller that controls the overall system of the thermal printer 1.
[0045] The ROM 12 stores the programs for controlling each module of the thermal printer 1 and the applications for executing the various types of processing of the thermal printer 1.
[0046] The RAM 13 is used as a memory area needed for the CPU 11 to execute arithmetic operations, for example.
[0047] The communication controller 14 receives, for example, print commands and print data signals from an external device, such as a host, not illustrated in the drawings.
[0048] The head driving signal generating circuit 15 outputs various signals on the basis of signals input from the interface circuit 16.
[0049] As illustrated in
[0050] The interface circuit 16 is installed upstream of the thermal head 17, and is connected to: the CPU 11 that controls the overall system of the thermal printer 1; and a driver IC 17a that controls driving of a heat generating element 17b installed in the thermal head 17. The interface circuit 16 transfers a print data signal and a control signal output from the CPU 11, to the driver IC 17a. Thermal history control data are thereby able to be generated readily outside the thermal head 17 by using existing signals for driving the thermal head 17, while minimizing increase in the circuit size.
[0051] The thermal head 17 includes the driver IC 17a and the heat generating element 17b. On the basis of the latch signal and enable signal output from the head driving signal generating circuit 15, the driver IC 17a drives the heat generating element 17b and executes print operation corresponding to the print data signal output from the interface circuit 16.
[0052] Example of Configuration of Interface Circuit
[0053]
[0054] As illustrated in
[0055] Each block included in the interface circuit 16 is a functional block representing a function that the interface circuit 16 has. These functional blocks are, for example, hardware blocks, and each of these functional blocks may be a circuit block on a semiconductor chip (die). Each of the functional blocks may be a processor or an integrated circuit, of course.
[0056] The serial data-arithmetic bit converter 161 functions as a converter that obtains a print data signal and a clock signal that is included in a control signal, and outputs the print data signal divided into pieces each having a predetermined bit width.
[0057] When the serial data-arithmetic bit converter 161 detects input of a clock signal (a clock signal input from the CPU) and a print data signal, the serial data-arithmetic bit converter 161 notifies the overall control state machine 167, of that detection by turning each detection signal “ON”. Specifically, when a clock signal is input to the serial data-arithmetic bit converter 161, a detection signal for the clock signal is turned “ON” for a specified time period. In response to this, the serial data-arithmetic bit converter 161 notifies the overall control state machine 167 of the input of the clock signal. When a print data signal corresponding to a specified number of bits is input to the serial data-arithmetic bit converter 161, a detection signal for the print data signal is turned “ON”. In response to this, the serial data-arithmetic bit converter 161 notifies the overall control state machine 167, of the input of the print data signal.
[0058] The serial data-arithmetic bit converter 161 outputs the print data signal divided into pieces each having a predetermined bit width (for example, 16 bits) that has been set beforehand for arithmetic operations, as illustrated in
[0059] The history memory 162 functions as a storage that stores pieces of a print data signal (divided print data signals) divided by the serial data-arithmetic bit converter 161, each of the pieces having the predetermined bit width.
[0060] As illustrated in
[0061] At the time of write operation in the interface circuit 16, writing in an address area of a corresponding line in the history memory 162 is performed. At the time of read operation in the interface circuit 16, each divided print data signal stored in an address area of a corresponding line in the history memory 162 is output.
[0062] The history memory 162 is implemented by a part of an additional memory, such as an SRAM, a part of a memory area provided in the interface circuit 16, or a flip-flop (FF) circuit provided in the interface circuit 16, for example.
[0063] The history memory 162 is able to stores compression information (a compressed history print data signal) resulting from compression of a past history print data signal corresponding to plural print lines.
[0064] The IF data controller 163 functions as a data controller that controls the order of each of: writing of a print data signal into the history memory 162; and reading of a history print data signal from the history memory 162.
[0065] As illustrated in
[0066] Write Operation
[0067] For write operation, the IF data controller 163 performs writing by repeating the following operations (A) to (C).
[0068] (A) Outputting an address and an enable signal to the history memory 162, the address and enable signal being for writing in an area corresponding to the current line, with a start address of an address area specified per line being the starting point
[0069] (B) Outputting an address and an enable signal while incrementing the address per data line when there are plural input data lines
[0070] (C) Being brought into a standby state and maintaining the current address, if data to be written (a divided print data signal) have not arrived
[0071] When the IF data controller 163 controls writing in the history memory 162 by repeating each of the above mentioned operations (A) to (C) and performs writing corresponding to the number of bits that have been specified beforehand, the IF data controller 163 outputs an end signal.
[0072] Read Operation
[0073] For read operation, the IF data controller 163 performs the following operations (W) to (Z).
[0074] (W) In response to input of an arithmetic operation start signal, simultaneously performing: outputting an address of a divided print data signal corresponding to the current line; and outputting an enable signal for an FF of the current line of the arithmetic bit FF group 164 and storing the divided print data signal
[0075] (X) Outputting an enable signal of the arithmetic bit FF group 164 corresponding to an address corresponding to a line immediately preceding the current line and repeating similarly for the number of lines
[0076] (Y) When divided print data signals corresponding to the number of lines needed have been stored, outputting a data notification signal and an enable signal, to the history data-serial data conversion clock synchronizer 166
[0077] (Z) When there are plural input and output data lines, incrementing the address to the corresponding data line number, and repeating the above mentioned operations (X) to (Z)
[0078] When the above mentioned operations (W) to (Z) are completed, the IF data controller 163 outputs an arithmetic bit output completion signal, waits for input of the next arithmetic operation start signal, and in response to input of the next arithmetic operation start signal, returns to the above operation (W).
[0079] When output corresponding to a specified number of bits is completed, the IF data controller 163 outputs an end signal, to the overall control state machine 167.
[0080] For the arithmetic bit logical arithmetic module 165 to generate a history print data signal, the arithmetic bit FF group 164 temporarily stores divided print data signals read out from the history memory 162.
[0081] As illustrated in
[0082] The arithmetic bit logical arithmetic module 165 functions as a logical arithmetic module that: performs logical arithmetic operations based on divided print data signals divided such that each divided print data signal has a predetermined bit width, and a history pulse signal included in a control signal; and generates and outputs divided history print data signals defining heat generating time periods for dots corresponding to print lines to be printed on the basis of a print data signal.
[0083] As illustrated in
[0084] Thermal history control is performed by allocating a pulse width corresponding to each dot on the basis of past print data signals and surrounding print data signals intended to be printed. The pulse width defines a heat generating time period of the dot and is defined by a history pulse signal. If the number of surrounding print data signals used is “n−1”, “2.sup.n” types of pulse widths are needed. In view of the data transmission time period and the quality of printing, similar pulse widths are considered as the same pulse widths for simplification of the logical arithmetic operations. Allocation of pulse widths in thermal history control will be described while reference is made to the drawings. Two-stage history control for two history stages will be described below.
[0085] In
[0086] The two-stage history control requires four types of pulse widths but for practical use, the number of types of the pulse widths may be reduced to two or three. For example, for the logical arithmetic operations illustrated in
[0087]
[0088] As described above, by performing logical arithmetic operation based on divided print data signals for several lines and a history pulse signal, the history data arithmetic module 165a generates and outputs a history print data signal for printing by thermal history control.
[0089] The compressed data arithmetic module 165b generates a compressed divided history print data signal that is compression information resulting from compression of past divided history print data signals corresponding to plural print lines, and stores the compressed divided history print data signal into the history memory 162.
[0090] For two-stage history control, the compressed data arithmetic module 165b performs compression of divided history print data signals by performing logical arithmetic operations per two lines of: a divided history print data signal of a print line to be printed next; and a divided history print data signal of a print line that has been printed immediately before that print line to be printed next. For example, as illustrated in
[0091] The compressed data arithmetic module 165b may store, as history data, as is, divided history print data signals corresponding to a predetermined number of print lines (a predetermined number of past print lines) from and including an immediately preceding line printed immediately before a print line to be printed next, without compressing the divided history print data signals, into the history memory 162, or generate compressed history data and store the compressed history data into the history memory 162 for divided history print data signals corresponding to past print lines (past print lines that are older than the predetermined number of print lines) other than the predetermined number of print lines from and including the immediately preceding line. The history data arithmetic module 165a is thereby able to generate divided history print data signals for thermal history control based on the divided history print data signal for the print line to be printed next, the divided history print data signals (history data) corresponding to the predetermined number of print lines from and including the immediately preceding line, and the compressed divided history print data signal (history data) for the past lines from the third past line. Specifically, as illustrated in
[0092] On the contrary, the compressed data arithmetic module 165b performs compression per three lines, according to a logical expression LF.sub.3 illustrated in
[0093] For example, if the divided history print data signals are not compressed in the example illustrated in
[0094] The reduction in the memory size also contributes to improvement of the speed of arithmetic operations in the arithmetic bit logical arithmetic module 165. The improvement of the speed of arithmetic operations is associated with improvement of the printing speed.
[0095] As illustrated in the upper half of
[0096] In contrast, as illustrated in the lower half of
[0097] As described above, by compressing divided history print data signals, the interface circuit 16 (the arithmetic bit logical arithmetic module 165) in the present application is able to achieve an arithmetic operation speed that is about 1.6 times that in a case where the divided history print data signals are not compressed. As described above, the interface circuit 16 enables the memory size to be reduced and the arithmetic operation speed to be improved, in consideration of the influence of the thermal history.
[0098] The history data-serial data conversion clock synchronizer 166 functions as a conversion clock synchronizer that outputs a history print data signal in synchronization with a driving signal for the thermal head 17.
[0099] As illustrated in
[0100] The output controller 166d is brought into a synchronization standby state when a start signal is input from the overall control state machine 167.
[0101] When the output controller 166d receives, while the output controller 166d is in the synchronization standby state, input of the above mentioned data notification signal that notifies the output controller 166d of input of history data, from the IF data controller 163, the output controller 166d temporarily stores the history data output from the arithmetic bit logical arithmetic module 165, into the data buffer 166c. The output controller 166d then outputs an input disabling signal for the corresponding history data with respect to the data buffer 166c, to the overall control state machine 167.
[0102] When storage of all of the output history data signal into the data buffer 166c is completed, the output controller 166d stores the data in the data buffer 166c, into the serial data converter 166a, turns the input disabling signal off, and returns to the synchronization standby state.
[0103] When the output controller 166d receives input of the above mentioned data notification signal again, the output controller 166d temporarily stores history data into the data buffer 166c, and outputs an input disabling signal for the corresponding history data with respect to the data buffer 166c, to the overall control state machine 167.
[0104] When storage of all of the output history data signal into the data buffer 166c is completed, the output controller 166d stores the data in the data buffer 166c, into the serial data converter 166b, and turns the input disabling signal off.
[0105] The history data stored in the serial data converter 166a or the serial data converter 166b are converted into serial data.
[0106] By switching the multiplexer 166e as appropriate, the output controller 166d controls output of the serial data from the serial data converter 166a or serial data converter 166b, to the multiplexer 166e. The output controller 166d executes output of the serial data in the order of storage of the history data into the serial data converter 166a or serial data converter 166b.
[0107] The output controller 166d then outputs a history print data signal that is the serial data input to the multiplexer 166e, in synchronization with a driving signal for the thermal head 17, to the thermal head 17. The history print data signal to be output from the history data-serial data conversion clock synchronizer 166 to the thermal head 17 is output, as data for thermal history control synchronized with driving of the thermal head 17, to the thermal head 17.
[0108] If the data buffer 166c is empty, the output controller 166d requests the overall control state machine 167 and the IF data controller 163 to input history data, in parallel with output of serial data from the serial data converter 166a and serial data converter 166b.
[0109] If the data buffer 166c is not empty, the output controller 166d inputs history data stored in the data buffer 166c to the serial data converter 166a or serial data converter 166b when the serial data are no longer available.
[0110] The serial data converter 166a and the serial data converter 166b execute input of history data and output of serial data by alternately swapping their roles. Clock signals and print data signals are thereby able to be output continuously. The serial data converter 166a and serial data converter 166b prevent any hazard that occurs in multiplexer switching, by picking up the first one bit of subsequent data at the time of outputting the last one bit.
[0111] When output of a specified number of bits is completed, the output controller 166d outputs an output completion signal to the overall control state machine 167 and waits until the start signal is turned off.
[0112] The output controller 166d transmits a non-print data signal automatically whenever the system makes a transition to a write state before an output completion signal is output. That is, if a print data signal of the next line is input before print operation for the current line is completed, the print operation of the current line is appropriately ended to protect the system.
[0113] The output controller 166d outputs an enable signal, a load signal, and a load/shift clock signal to the thermal head 17 in synchronization with a frequency divided clock signal (a clock signal acquired by frequency division of a system clock) input from the head driving signal generating circuit 15, and outputs a clock signal correspondingly to these signals, to the thermal head 17.
[0114] A clock signal input to the thermal head 17 serves as a signal for inputting data into a shift register included in the thermal head 17.
[0115] As illustrated in
[0116] Each flip-flop outputs a signal input and held, at a rise of a clock signal. Therefore, when one pulse of a clock signal is input, data in a history print data signal are shifted one by one as follows: FF1.fwdarw.FF2.fwdarw. . . . .fwdarw.FFn. That is, if the shift register has 64 bits, the history print data signal is updated by input of 64 clock pulses. In a case where a clock signal and a history print data signal illustrated in
[0117] A clock signal input to the interface circuit 16 and a clock signal input to the thermal head 17 have the same number of pulses (as they both represent the number of dots), but have different frequencies and phases. The frequency of a clock signal is determined by circuit characteristics of the interface circuit 16 and driver IC 17a.
[0118]
[0119] A illustrated in
[0120] By turning the enable signal for the thermal head 17 off, heat generation by the thermal head 17 (the heat generating element 17b) is able to be turned off regardless of the history print data signal. When the enable signal is turned on, heat generation by the thermal head 17 is able to be turned on for a time period in which the enable signal is on, on the basis of the history print data signal. In thermal history control, heat generation by the thermal head 17 is turned on and off according to the history print data signal. Therefore, the enable signal is turned on after the latch signal for the first data transfer in one line, and this time period is the same as the longest time period of the history pulse signals. In thermal history control, the enable signal is turned off: during transfer of the first data of each line; or when heat generation by the thermal head 17 is turned off. An enable signal to be output from the interface circuit 16 is output with a delay from the enable signal input to the interface circuit 16, the delay corresponding to a transfer time period for the history print data signal and an arithmetic operation time period for the first divided print data signal. That is, since the arithmetic operation time period for the first divided print data signal is quite short, the enable signal output from the interface circuit 16 is delayed substantially by the transfer time period for the history print data signal.
[0121] The head driving signal generating circuit 15 includes, as illustrated in
[0122] The head driving signal generating circuit 15 receives input of an enable signal output from the overall control state machine 167 and turns a latch signal to input (=L) after a delay time period that has been specified beforehand. Subsequently, the head driving signal generating circuit 15 turns the latch signal off (=H) after an ON time period that has been specified beforehand, and outputs an output completion signal for the latch signal, to the overall control state machine 167. The overall control state machine 167 receives input of the output completion signal from the head driving signal generating circuit 15, and turns the enable signal off, thereby completing the operation.
[0123] Specifically, for a latch signal, a counter in the counter circuit is turned on by an enable signal input from the overall control state machine 167, the enable signal being for latch signal output. Thereafter, system clocks are counted, the count and a delay time period held (specified) in the input module are compared to each other, and the output module is turned on if the count is equal to the held (specified) value. Thereafter, system clocks are counted, the count and an ON time period held (specified) in the input module are compared to each other, the output module is turned off if the count is equal to the held (specified) value, and an output completion signal for the latch signal is output to the overall control state machine 167. In contrast, for an enable signal, when an enable signal is input to the interface circuit 16 (on.fwdarw.off/off.fwdarw.on) to the interface circuit 16, the counter of the counter circuit is turned on. Thereafter, system clocks are counted, the count and a delay time period held (specified) in the input module are compared to each other, and the output module is turned into a state (on or off) that is the same as that of the enable signal that has been input if the count is equal to the held (specified) value.
[0124] The thermal head 17 may be driven theoretically by a method in which an enable signal that drives the thermal head 17 in thermal history control is turned on when printing of the first print line is started and turned off when printing of the last print line is ended, without being repeatedly turned on and off per print line. However, in this case, if incorrect data are transmitted due to noise, for example, a resistor may be overheated too much and the head may be damaged. Therefore, repetition of switching between on and off per line at a pulse width corresponding to the maximum rating is desirable.
[0125] The overall control state machine 167 functions as an operation controller that integrally controls the operating state of the interface circuit.
[0126] Write State
[0127] When the overall control state machine 167 detects input of a clock signal and a print data signal on the basis of the detection signal, the overall control state machine 167 makes a transition to a write state for the history memory 162.
[0128] When conversion of the print data signal to divided print data signals is completed on the basis of the detection signal, the overall control state machine 167 outputs a write signal to the IF data controller 163 to perform writing.
[0129] If the conversion from the print data signal to the divided print data signals is not completed, the overall control state machine 167 waits until the conversion is completed.
[0130] When an end signal from the IF data controller 163 is input or a latch signal is input, the overall control state machine 167 makes a transition to a read state.
[0131] Read State
[0132] The overall control state machine 167 waits until a change in a history pulse signal is detected.
[0133] Subsequently, the overall control state machine 167 causes the IF data controller 163 to operate in a read state, performs arithmetic operations, and performs conversion of a print data signal. When an end signal is input from the history data-serial data conversion clock synchronizer 166, the overall control state machine 167 outputs a latch signal output signal.
[0134] If input of a clock signal and a print data signal is detected in a read standby state, the overall control state machine 167 makes a transition to a write state for the memory.
[0135] When input of a clock signal and a print data signal is detected during arithmetic operations, the overall control state machine 167 causes the history data-serial data conversion clock synchronizer 166 and the head driving signal generating circuit 15 to make a transition to an auto-clear state and makes a transition to the write state. In the auto-clear state, data for the thermal head 17 are all changed to non-heat-generating.
[0136] As described above, by installation of the interface circuit 16 according to the embodiment in the thermal printer 1, using a signal that is the same as a signal that drives the thermal head 17 facilitates execution of thermal history control. That is, when the interface circuit 16 obtains a print data signal obtained from the CPU 11, the interface circuit 16 divides the print data signal obtained into pieces each having a predetermined bit width, accumulates the divided pieces into a memory (the history memory 162), and performs arithmetic operations with history data by sequentially reading the divided print data signals. The memory for holding the print data signal is thereby able to be reduced. The interface circuit 16 also sequentially reads the arithmetically operated history data from a memory (the arithmetic bit FF group 164), converts them into a history print data signal (serial data) for thermal history control, and sequentially outputs the history print data signal, in synchronization with a drive signal for the thermal head 17, to the thermal head 17. Response performance to input of a print data signal is thereby able to be maintained.
[0137] As described above, by the installation of the interface circuit 16 in the thermal printer 1, arithmetic operations with data for thermal history control and synchronization with each signal for driving the thermal head 17 are concurrently and parallelly performed, with the print data signal being limited to an appropriate size, and the response performance to input signals is thereby able to be maintained as much as possible while avoiding increase in the circuit size as much as possible.
[0138]
[0139] Circuit size and memory size written in
[0140] As illustrated in
[0141] As illustrated in
[0142] Accordingly, by installation of the interface circuit 16 according to the embodiment in the thermal printer 1, the circuit size of the thermal printer 1 is able to be reduced.
[0143] As illustrated in
[0144] As illustrated in
[0145] Accordingly, by the installation of the interface circuit 16 according to the embodiment in the thermal printer 1, the printing speed of the thermal printer 1 is able to be increased.
[0146] As illustrated in
[0147] As illustrated in
[0148] Accordingly, by the installation of the interface circuit 16 according to the embodiment in the thermal printer 1, the printing quality of the thermal printer 1 is able to be improved.
[0149] Characteristic embodiments have been described to completely and clearly disclose the techniques according to the appended claims. However, the appended claims are not to be limited to the above described embodiments, and are to be implemented through all modifications and substitutable configurations that can be invented by those skilled in the art within the scope of the basic matter disclosed in this specification.