JPH0260760A - Thermal head control method - Google Patents

Thermal head control method

Info

Publication number
JPH0260760A
JPH0260760A JP21073788A JP21073788A JPH0260760A JP H0260760 A JPH0260760 A JP H0260760A JP 21073788 A JP21073788 A JP 21073788A JP 21073788 A JP21073788 A JP 21073788A JP H0260760 A JPH0260760 A JP H0260760A
Authority
JP
Japan
Prior art keywords
energization
print data
energization time
data
thermal head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP21073788A
Other languages
Japanese (ja)
Inventor
Akio Kubota
久保田 明夫
Hitoshi Yonenaga
斉 米永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21073788A priority Critical patent/JPH0260760A/en
Publication of JPH0260760A publication Critical patent/JPH0260760A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
    • B41J2/35Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads providing current or voltage to the thermal head
    • B41J2/355Control circuits for heating-element selection

Landscapes

  • Electronic Switches (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、感熱ヘットの熱制御方式に係り、特に、印字
品質をよくする手段の一つである前歴制御、即ち、感熱
ヘッドの通電時間を現在の印字データと過去の印字デー
タの両者を考慮して決めて行う制御、を用いる場合に好
適な感熱ヘッド制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a thermal control method for a thermal head, and in particular, it relates to antecedent control, which is one of the means to improve print quality, that is, the current application time of the thermal head. The present invention relates to a thermal head control method that is suitable when using control that is determined by considering both current print data and past print data.

〔従来の技術〕[Conventional technology]

従来の感熱ヘッドの前歴制御は、複数個の前歴時間及び
印字時間を一つの通電時間制御タイマで制御していた。
In conventional prior history control of a thermal head, a plurality of prior history times and printing times are controlled by one energization time control timer.

第4図はその方式を行うブロック図で、前歴2段の場合
を示す。第5図はその制御フローである。従来方式の動
作を第4図、第5図を用いて述べる。第4図において、
1はCPU(中央処理装置)、5は感熱ヘッド、8は感
熱ヘッド5の通電時間を制御する通電時間制御タイマ、
9は印字データを格納する印字データレジスタ、2は印
字データレジスタ9に格納されたデータに応じて感熱ヘ
ッド5に通電印字パルス信号を出力するように制御する
通電ストローブ制御回路、4は印字データレジスタ9の
信号を増幅するヘッドドライバである。まずCPU1は
、前歴データ1を印字データレジスタ9にセット(ステ
ップ401)し、次いで1通電時間制御タイマ8に前歴
データ1の通電時間データをセラ(−(ステップ402
)した後、通電ストローブ制御回路2に通電開始指示を
出力(ステップ403)する。この通電開始指示によっ
て前歴データに対応する感熱ヘッド5のドツトを通電す
ると同時に通電時間制御タイマ8を動作させる。CPU
Iは、常に通電時間制御タイマ8の状態をチエツクしな
がら通電時間制御タイマ8がカウントアツプするまで待
っている(ステップ404,405)。通電時間制御タ
イマ8がカウントアツプすると、CPUIは次の前歴デ
ータ2を印字データレジスタ9にセット(ステップ40
6)L、、前歴データ2の通電時間データを通電時間制
御タイマ8にセラI−)ステップ407)する。次にC
PUIは、前記と同様に通電時間制御タイマ8の状態を
チエツク(ステップ408.409)L、通電時間制御
タイマ8がカウントアツプしたら印字データ及び印字デ
ータの通電時間データをそれぞれ印字データレジスタ9
、通電時間制御タイマ8にセット(ステップ410゜4
11)する。そして、通電時間制御タイマ8がカウント
アツプすると、CPUIは、通電ストローブ制御回路2
に通電終了の指示を出力して感熱ヘッド5の通電を停止
する。
FIG. 4 is a block diagram for implementing this method, and shows the case of two stages of previous history. FIG. 5 shows the control flow. The operation of the conventional system will be described using FIGS. 4 and 5. In Figure 4,
1 is a CPU (central processing unit); 5 is a thermal head; 8 is an energization time control timer that controls the energization time of the thermal head 5;
9 is a print data register that stores print data; 2 is an energization strobe control circuit that controls the thermal head 5 to output an energization print pulse signal according to the data stored in the print data register 9; 4 is a print data register This is a head driver that amplifies the signal of 9. First, the CPU 1 sets the previous history data 1 in the print data register 9 (step 401), and then sets the energization time data of the previous history data 1 in the 1 energization time control timer 8 (-(step 402).
), an energization start instruction is output to the energization strobe control circuit 2 (step 403). In response to this energization start instruction, the dots of the thermal head 5 corresponding to the previous history data are energized, and at the same time, the energization time control timer 8 is operated. CPU
I always checks the state of the energization time control timer 8 and waits until the energization time control timer 8 counts up (steps 404, 405). When the energization time control timer 8 counts up, the CPU sets the next previous history data 2 to the print data register 9 (step 40).
6) L,, the energization time data of the previous history data 2 is sent to the energization time control timer 8 (I-) step 407). Next, C
The PUI checks the state of the energization time control timer 8 (steps 408 and 409) L in the same way as above, and when the energization time control timer 8 counts up, the print data and the energization time data of the print data are stored in the print data register 9.
, set the energization time control timer 8 (step 410゜4
11) Do. When the energization time control timer 8 counts up, the CPU controls the energization strobe control circuit 2.
An instruction to end the energization is output to stop the energization of the thermal head 5.

なお、この種の前歴制御方式の従来技術として例えば特
開昭57−107867号がある。ここで前歴制御とは
、前述のように、感熱ヘッドの通電時間を現在の印字デ
ータだけで決定せず過去の印字データも考慮して決定す
る方式であり、その−例を第6図に示す。0は通電状態
、0はオフ状態を示す。
Incidentally, as a prior art of this type of prior history control method, there is, for example, Japanese Patent Application Laid-Open No. 57-107867. Here, prior history control, as mentioned above, is a method in which the energization time of the thermal head is determined not only based on the current print data but also in consideration of past print data.An example of this is shown in Fig. 6. . 0 indicates an energized state, and 0 indicates an OFF state.

第6図の第4段目のように、前々回通電、前回通電した
感熱ヘッドのドツトについては前歴1.前歴2共に通電
せず、また第2段目のように、前々回通電、前回通電し
なかった感熱ヘッドのドツトについては前歴1を通電せ
ず前歴2を通電する。
As shown in the fourth row of FIG. 6, the dots of the thermal head that were energized two times before and the previous time have a previous history of 1. Neither the previous history 2 is energized, and as in the second stage, for the dots of the thermal head that were energized two times before and were not energized last time, the previous history 1 is not energized and the previous history 2 is energized.

このような操作によって感熱ヘッドの温度を制御する。The temperature of the thermal head is controlled by such operations.

また通電ストローブの期間は、前歴1と前歴2と印字の
期間の和であり、l’liJ歴1と前歴2と印字のそれ
ぞれの期間は、通電ドツト数の和などによって変化する
The period of the energizing strobe is the sum of the periods of previous history 1, previous history 2, and printing, and the respective periods of l'liJ history 1, previous history 2, and printing vary depending on the sum of the number of energized dots.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、CPUIは、感熱ヘッド5に通電して
いる期間は常に通電時間制御タイマ8の状態をチエツク
している方式であることから、次の印字データの計算等
のような他の動作を行うのに時間的な制限があり、CP
U1の動作効率が悪いという問題点があった。
In the above conventional technology, since the CPU always checks the state of the energization time control timer 8 while the thermal head 5 is energized, other operations such as calculation of the next print data etc. There is a time limit to carry out the
There was a problem that the operating efficiency of U1 was poor.

本発明の目的は、前歴制御において感熱ヘッド通電中で
のCPUの時間的な制限を除去し、CPUの動作効率を
改善することのできる感熱ヘッド制御方式を提供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a thermal head control method that can improve the operating efficiency of the CPU by eliminating time restrictions on the CPU while the thermal head is energized in the antecedent control.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、感熱ヘッドの通電時間を制御する通電時間
制御タイマと、感熱ヘッドの通電データである前歴デー
タ及び印字データを格納する印字データレジスタとをそ
れぞれ複数個設け、以下の制御を行うことによって達成
される。CPUは、印字開始前に、一印字に対応する全
ての前歴データ及び印字データを印字データレジスタに
格納し。
The above purpose is achieved by providing a plurality of energization time control timers that control the energization time of the thermal head and a plurality of print data registers that store previous history data and print data that are energization data of the thermal head, and performing the following control. achieved. Before starting printing, the CPU stores all previous history data and print data corresponding to one print in a print data register.

さらに、これらの前歴データ及び印字データに対応する
全ての通電時間データを通電時間制御タイマにセットし
た後1通電ストローブ制御回路に通電開始の指示を行う
。通電ストローブ制御回路は、通電開始指示をうけて、
複数個の通電時間制御タイマのうちの最初の前歴データ
の通電時間がセットされた通電時間制御タイマaを動作
させ、それと同時に、最初の前歴データが格納された印
字データレジスタaより印字データaを出力させ、出カ
された最初の前歴データに応じて感熱ヘッドのドツトを
通電させる。通電時間制御タイマaがカウントアツプす
ると、次の前歴データの通電時間がセットされた通電時
間制御タイマbが自動的に動作し、それと同時に次の前
歴データが格納された印字データレジスタbより印字デ
ータbが出力され、この出力された、次の前歴データに
応じて感熱ヘッドのドツトが通電される。この動作を、
−卵字分に対するデータが全て出力されるまで、CPU
の介在なく自動的に繰返すことにより、本発明の目的が
達成される。
Furthermore, after setting all the energization time data corresponding to these previous history data and print data in the energization time control timer, the 1 energization strobe control circuit is instructed to start energization. The energization strobe control circuit receives the instruction to start energization, and
Among the plurality of energization time control timers, the energization time control timer a to which the energization time of the first previous history data is set is operated, and at the same time, print data a is read from the print data register a in which the first previous history data is stored. The dots of the thermal head are energized in accordance with the outputted first antecedent data. When the energization time control timer a counts up, the energization time control timer b to which the energization time for the next previous history data is set automatically operates, and at the same time, print data is read from the print data register b in which the next previous history data is stored. b is output, and the dots of the thermal head are energized in accordance with the output next previous history data. This action
-CPU until all data for the egg is output.
By repeating automatically without any intervention, the object of the present invention is achieved.

〔作用〕[Effect]

CPUは、印字開始前に複数個の通電時間制御タイマと
印字データレジスタにそれぞれ一印字分に対する全ての
前歴データの通電時間及び印字データの通電時間と、前
歴データ及び印字データとを格納する。次にCPUは、
通電ストローブ制御回路に通電開始を指示する。この通
電開始指示により、最初の通電時間制御タイマaが動作
し、同時に最初の前歴データが印字データレジスタaよ
り出力され、出力されたデータに応じて感熱ヘッドが通
電される。以降の印字通電制御は、最初の通電時間制御
タイマaのカウントアツプにより、次の通電時間制御タ
イマbの動作と、次の印字データレジスタbからのデー
タ出力とが、CPUの介在なく自動的に行われることに
より制御される。
Before starting printing, the CPU stores in a plurality of energization time control timers and a print data register, respectively, the energization time of all previous history data and the energization time of print data for one print, and the previous history data and print data. Next, the CPU
Instructs the energization strobe control circuit to start energization. In response to this energization start instruction, the first energization time control timer a operates, and at the same time, the first previous history data is output from the print data register a, and the thermal head is energized in accordance with the output data. In subsequent printing energization control, as the first energization time control timer a counts up, the operation of the next energization time control timer b and the next data output from the print data register b are automatically performed without the intervention of the CPU. Controlled by what is done.

したがって、CPUは、通電開始指示を通電ストローブ
制御回路に出力した以降は、通電時間制御タイマの状態
をチエツクする必要がなく、自由の状態となり、前述し
た従来技術での問題点が解決される。
Therefore, after the CPU outputs the energization start instruction to the energization strobe control circuit, the CPU does not need to check the state of the energization time control timer and is in a free state, thus solving the problems with the prior art described above.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図、第2図、第3図を用
いて説明する。第1図は本発明による感熱ヘッド制御回
路のブロック図の一例を示す図、第2図はその動作説明
用の各部信号のタイムチャート、第3図はCPUの動作
フローチャー1へである。本実施例では、前歴2段の前
歴制御を例に採用した。第1図において、1はCPU、
2は通電ストローブ制御回路、3は印字データ選択制御
回路、4はヘッドドライバ、5は感熱ヘッド、6は印字
データセレクタ、7は通電ストローブレジスタクリア制
御ゲートである。また、11,13゜15はそれぞれ通
電時間制御タイマa、b、aであり、12,14.16
はそれぞれステータレジスタa、b、Qであり、17,
18.19はそれぞれ印字データレジスタa、b、Qで
ある。
An embodiment of the present invention will be described below with reference to FIGS. 1, 2, and 3. FIG. 1 is a diagram showing an example of a block diagram of a thermal head control circuit according to the present invention, FIG. 2 is a time chart of signals of each part for explaining its operation, and FIG. 3 is a flowchart 1 of the operation of the CPU. In this embodiment, a two-stage previous history control is adopted as an example. In FIG. 1, 1 is a CPU,
2 is an energization strobe control circuit, 3 is a print data selection control circuit, 4 is a head driver, 5 is a thermal head, 6 is a print data selector, and 7 is an energization strobe register clear control gate. Further, 11, 13° and 15 are energization time control timers a, b, and a, respectively, and 12, 14, and 16
are stator registers a, b, and Q, respectively, and 17,
18 and 19 are print data registers a, b, and Q, respectively.

CPUIは、印字全搬の制御を行う。通電時間制御タイ
マallは、前歴データの通電時間及び印字データの通
電時間を制御する。ステータレジスタaL2は1通電時
間制御タイマallの状態を示す。印字データレジスタ
a17は前歴データ及び印字データを格納する。通電ス
トローブ制御回路2は、感熱ヘッド5の通電制御と通電
時間制御タイマallに通電開始指示とを行う。印字デ
ータ選択制御回路3は、ステータスレジスタa12ヒス
テータスレジスタb14とステータスレジスタc16の
状態に応じて印字データレジスタa17と印字データレ
ジスタb18と印字データレジスタc19の印字データ
を選択する制御信号を印字データセレクタ6に出力する
。ヘッドドライバ4は、印字データセレクタ6から出力
される印字データ111の信号の増幅と通電ストローブ
制御回路2から出力されるストローブ信号110による
感熱ヘッド5の通電制御を行う。感熱ヘッド5は、ヘッ
ドドライバ4より出力される印字パルス信号を印加し発
熱抵抗体を発熱することによって印字を行う。印字デー
タセレクタ6は、印字データ選択制御回路3から出力さ
れる制御信号に応じて印字データを選択してヘッドドラ
イバ4に出力する。
The CPUI controls the entire printing process. The energization time control timer all controls the energization time for previous history data and the energization time for print data. Stator register aL2 indicates the state of one energization time control timer all. The print data register a17 stores previous history data and print data. The energization strobe control circuit 2 controls the energization of the thermal head 5 and instructs the energization time control timer ALL to start energization. The print data selection control circuit 3 sends a control signal to the print data selector to select the print data of the print data register a17, print data register b18, and print data register c19 according to the states of the status register a12, the status register b14, and the status register c16. Output to 6. The head driver 4 amplifies the print data 111 signal output from the print data selector 6 and controls the energization of the thermal head 5 using the strobe signal 110 output from the energization strobe control circuit 2 . The thermal head 5 performs printing by applying a printing pulse signal output from the head driver 4 and generating heat through a heating resistor. The print data selector 6 selects print data according to the control signal output from the print data selection control circuit 3 and outputs the selected print data to the head driver 4 .

通電ストローブレジスタ制御ゲート7は、ステータスレ
ジスタa12とステータスレジスタb14とステータス
レジスタc16の状態で全て“0″′のとき、つまり通
電時間制御タイマallと通電時間制御タイマb13と
通電時間制御タイマc15が全てカウントアツプ状態と
なったとき、通電ストローブ制御回路2にストローブを
クリアする信号を出力する。
The energization strobe register control gate 7 operates when the states of the status register a12, status register b14, and status register c16 are all "0"', that is, when the energization time control timer all, the energization time control timer b13, and the energization time control timer c15 are all When the count-up state occurs, a signal for clearing the strobe is output to the energization strobe control circuit 2.

第2図において、通電時間制御タイマaと通電時間制御
タイマbと通電時間制御タイマCの、単線の実線の部分
b ” e期間、c”f期間、d−g期間はそれぞれ通
電時間データが書き込まれたが動作していない状態を示
し、2重の実線の部分e〜f期間+f””g期間pg”
”h期間はそれぞれ通電時間制御タイマが動作中である
ことを示す。ステータスレジスタaとステータスレジス
タbとステータスレジスタCがハイ状態のb−f期間、
C〜g期間、d−h期間はそれぞれ、通電時間データが
通電時間制御タイマに書き込ま九たか又は通電時間制御
タイマが動作中であるかの状態を示す。
In Fig. 2, energizing time data is written in the single solid line portions b''e period, c''f period, and dg period of energizing time control timer a, energizing time control timer b, and energizing time control timer C. The double solid line part e to f period + f""g period pg"
``h period indicates that the energization time control timer is in operation. bf period when status register a, status register b, and status register C are in high state,
Periods C to g and periods dh each indicate whether the energization time data has been written to the energization time control timer or whether the energization time control timer is in operation.

ストローブがハイ状態のe −h期間は、感熱ヘッドが
通電中であることを示す。
The e-h period in which the strobe is in a high state indicates that the thermal head is energized.

次に本実施例の動作を第1図、第2図、第3図を用いて
説明する。まずCPU1は、印字データレジスタa17
.b18.c19に前歴データ1と前歴データ2と印字
データを出力(ステップ301)する。次に通電時間制
御タイマallに前歴データ1の通電時間データ1を出
力(ステップ302)する。この時(第2図のb時点)
、ステータスレジスタa12は、ハイの状態、つまり通
電時間制御タイマallに通電時間データ1が書き込ま
れたことを示す状態、となる0次にCPUIは、通電時
間制御タイマb13に前歴データ2の通電時間データ2
を出力(ステップ303)する。
Next, the operation of this embodiment will be explained using FIGS. 1, 2, and 3. First, CPU1 prints data register a17.
.. b18. Previous history data 1, previous history data 2, and print data are output to c19 (step 301). Next, the energization time data 1 of the previous history data 1 is output to the energization time control timer all (step 302). At this time (point b in Figure 2)
, the status register a12 is in a high state, that is, a state indicating that the energization time data 1 has been written to the energization time control timer all.0Next, the CPU inputs the energization time of the previous history data 2 to the energization time control timer b13. data 2
is output (step 303).

この時(第2図のC時点)、ステータスレジスタb14
は、ハイの状態、つまり通電時間制御タイマb13に通
電時間データ2が書き込まれた状態、となる。同様に、
CPUIは、通電時間制御タイマc15に印字データの
通電時間データ3を出力(ステップ304)する。この
時(第2図のd時点)、ステータスレジスタc16は、
ハイの状態、つまり通電時間制御タイマc15に通電時
間データ3が書き込まれたことを示す状態、となる。次
にCPUIは、通電ストローブ制御回路2に通電開始指
示を出力(ステップ305)する。この時点(第2図の
e時点)以降、CPUIは完全に自由の状態となる。C
PUIからの通電開始指示に受けた通電ストローブ制御
回路2は、通電時間制御タイマallに通電開始指示を
出力する。通電開始指示信号を受けた通電時間制御タイ
マallは、カウントを開始(第2図のe時点)し、同
時に通電ストローブ制御回路2は、ストローブ信号11
0をハイとし、感熱ヘッドの通電を開始する。
At this time (point C in Figure 2), status register b14
is in a high state, that is, a state in which energization time data 2 is written in the energization time control timer b13. Similarly,
The CPUI outputs the energization time data 3 of the print data to the energization time control timer c15 (step 304). At this time (point d in FIG. 2), the status register c16 is
It becomes a high state, that is, a state indicating that the energization time data 3 has been written to the energization time control timer c15. Next, the CPUI outputs an instruction to start energization to the energization strobe control circuit 2 (step 305). After this point (point e in FIG. 2), the CPUI is completely free. C
The energization strobe control circuit 2 receives the energization start instruction from the PUI and outputs the energization start instruction to the energization time control timer all. Upon receiving the energization start instruction signal, the energization time control timer ALL starts counting (at time e in FIG. 2), and at the same time, the energization strobe control circuit 2 starts the strobe signal 11.
0 is set to high, and energization of the thermal head is started.

またこの時、印字データ選択制御回路3は印字データレ
ジスタa17を選択する信号を印字データセレクタ6に
出力し、印字データセレクタ6は印字データレジスタa
17からの前歴データ1をヘッドドライバ4に与える。
At this time, the print data selection control circuit 3 outputs a signal for selecting the print data register a17 to the print data selector 6, and the print data selector 6 outputs a signal to select the print data register a17.
The previous history data 1 from 17 is given to the head driver 4.

通電時間制御タイマallがカウントアツプする(第2
図のf時点)と、通電時間制御タイマallはステータ
スレジスタa12をクリアする信号を出力し、ステータ
スレジスタa12がクリアされる。同時に通電時間制御
タイマb13がカウント開始する。この時、印字データ
選択制御回路3は印字データレジスタb18を選択する
信号を印字データセレクタ6に出力し、印字データセレ
クタ6は印字データレジスタb18からの前歴データ2
をヘッドドライバ4に出力する。次に通電時間制御タイ
マb13がカウントアツプする(第2図の6時点)と、
通電時間制御タイマb13はステータスレジスタb14
をクリアする信号を出力し、ステータスレジスタb14
がクリアされる。同時に通電時間制御タイマc15がカ
ウント開始する。この時、印字データ選択制御回路3は
印字データレジスタc19を選択する信号を印字データ
セレクタ6に出力し、印字データセレクタ6は印字デー
タレジスタc19からの印字データをヘッドドライバ4
に出力する。
The energization time control timer all counts up (second
At time f in the figure), the energization time control timer all outputs a signal to clear the status register a12, and the status register a12 is cleared. At the same time, the energization time control timer b13 starts counting. At this time, the print data selection control circuit 3 outputs a signal for selecting the print data register b18 to the print data selector 6, and the print data selector 6 receives the previous history data 2 from the print data register b18.
is output to the head driver 4. Next, when the energization time control timer b13 counts up (time 6 in Fig. 2),
The energization time control timer b13 is the status register b14.
Outputs a signal to clear status register b14.
is cleared. At the same time, the energization time control timer c15 starts counting. At this time, the print data selection control circuit 3 outputs a signal for selecting the print data register c19 to the print data selector 6, and the print data selector 6 transfers the print data from the print data register c19 to the head driver 4.
Output to.

最後の通電時間制御タイマc15がカウントアンプする
(第2図のh時点)と、通電時間制御タイマc15はス
テータスレジスタc16をクリアする信号を出力し、ス
テータスレジスタc16がクリアされる。ステータスレ
ジスタa12.ステータスレジスタb14.ステータス
レジスタc16が全てクリアされると通電ストローブレ
ジスタクリア制御ゲート7は、通電ストローブ制御回路
2をクリアする信号を出力し、通電ストローブ制御回路
2がクリアされ、感熱ヘッドの通電が停止される。
When the last energization time control timer c15 counts up (time h in FIG. 2), the energization time control timer c15 outputs a signal to clear the status register c16, and the status register c16 is cleared. Status register a12. Status register b14. When all the status registers c16 are cleared, the energization strobe register clear control gate 7 outputs a signal to clear the energization strobe control circuit 2, the energization strobe control circuit 2 is cleared, and the energization of the thermal head is stopped.

一印字動作の期間中にCPUIが動作している期間は、
第2図のa ”−’ eの期間であり、e時点以降はC
PUIは自由となる。CPUの自由時間を従来技術と本
方式とで比較すると、従来技術の場合は第2図のg時点
以降、本方式では第2図のe時点以降となる。したがっ
て本方式は、従来技術よりもCPUの自由期間が長くな
り、印字制御以外の制御も可能となり、CPUの動作効
率が改善される。
During the period when the CPUI is operating during one printing operation,
This is the period a”-’e in Figure 2, and after time e, C
PUI will be free. Comparing the free time of the CPU between the prior art and this method, in the case of the prior art it is after time g in FIG. 2, and in this method it is after time e in FIG. 2. Therefore, in this method, the free period of the CPU is longer than in the conventional technology, and control other than printing control is also possible, and the operating efficiency of the CPU is improved.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、CPUは、複数個の印字レジスタに前
歴データと印字データを、複数の通電時間制御タイマに
前歴データの通電時間と印字データの通電時間を一度に
書き込み、通電開始指示を通電ストローブ制御回路に出
力するだけで、後は、通電時間制御タイマの動作と、印
字レジスタからの前歴データ及び印字データの出力が自
動的に行われるので、通電開始指示を通電ストローブ制
御回路に出力した以降は自由になり、感熱ヘッドに通電
中に印字制御以外の制御が可能となり、CPUの動作効
率が改善される。
According to the present invention, the CPU writes the previous history data and print data to the plurality of print registers, writes the energization time of the previous history data and the energization time of the print data to the plurality of energization time control timers at once, and energizes the energization start instruction. Just by outputting to the strobe control circuit, the operation of the energization time control timer and the output of previous history data and print data from the print register will be performed automatically. Thereafter, the control becomes free, and controls other than printing control can be performed while the thermal head is energized, improving the operating efficiency of the CPU.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のブロック図、第2図はその
動作説明用のタイムチャート、第3図はその処理フロー
、第4図は従来技術のブロック図、第5図はその処理フ
ロー、第6図は前歴制御の説明図である。 1・・・CPU、2・・・通電ストローブ制御回路、3
・・・印字データ選択制御回路、4・・・ヘッドドライ
バ、5・・・感熱ヘッド、6・・・印字データセレクタ
、11゜13.15・・・通電時間制御タイマa、b、
c、12.14.16−・・ステータスレジスタa、b
。 C117,18,19・・・印字データレジスタa。 b、c、110・・・ストローブ信号、111・・・印
字データ信号。 第 1 図 各Z口 鰻 図
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a time chart for explaining its operation, Fig. 3 is its processing flow, Fig. 4 is a block diagram of the prior art, and Fig. 5 is its processing. FIG. 6 is an explanatory diagram of the previous history control. 1... CPU, 2... Energization strobe control circuit, 3
...Print data selection control circuit, 4...Head driver, 5...Thermal head, 6...Print data selector, 11°13.15...Electrification time control timers a, b,
c, 12.14.16--Status register a, b
. C117, 18, 19...Print data register a. b, c, 110... Strobe signal, 111... Print data signal. Figure 1 Each Z-mouth eel diagram

Claims (1)

【特許請求の範囲】[Claims] 1、複数個配列した発熱抵抗体に印字パルス信号を印加
することにより発熱させて印字を行う感熱ヘッドの通電
時間を、現在の印字データと過去の印字データに応じて
決めて制御する前歴制御方式の感熱ヘッド制御において
、前歴データと印字データを格納する印字データレジス
タと、上記各データの通電時間を制御する通電時間制御
タイマとを複数個ずつ設け、中央処理装置が、一印字に
対応する全ての前歴データ及び印字データを上記印字デ
ータレジスタに、各前歴データ及び印字データの通電時
間を上記通電時間制御タイマに格納した後、感熱ヘッド
の通電制御を行う通電ストローブ制御回路に通電開始指
示を行うと、最初の前歴データの通電時間が格納された
通電時間制御タイマが動作し、同時に最初の前歴データ
が格納された印字データレジスタより印字データが出力
されて感熱ヘッドを通電し、上記通電時間制御タイマの
カウントアップにより次の前歴データの通電時間が格納
された通電時間制御タイマが動作し、同時に対応する印
字データレジスタより対応する印字データが出力されて
感熱ヘッドを通電する一連の制御動作を一印字が終るま
で自動的に繰返すことを特徴とする感熱ヘッド制御方式
1. Previous history control method that determines and controls the energization time of the thermal head, which prints by generating heat by applying a printing pulse signal to a plurality of heating resistors arranged in an array, according to current printing data and past printing data. In controlling the thermal head, a plurality of print data registers that store previous history data and print data, and a plurality of energization time control timers that control the energization time of each of the above data are provided, and the central processing unit controls all the data corresponding to one print. After storing the previous history data and print data in the print data register and the energization time of each previous history data and print data in the energization time control timer, instruct the energization strobe control circuit that controls the energization of the thermal head to start energization. Then, the energization time control timer that stores the energization time of the first previous history data operates, and at the same time, print data is output from the print data register that stores the first previous history data, energizes the thermal head, and controls the energization time described above. As the timer counts up, the energization time control timer, which stores the energization time of the next previous history data, operates, and at the same time, the corresponding print data is output from the corresponding print data register to complete a series of control operations for energizing the thermal head. A thermal head control system that automatically repeats printing until it is finished.
JP21073788A 1988-08-26 1988-08-26 Thermal head control method Pending JPH0260760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21073788A JPH0260760A (en) 1988-08-26 1988-08-26 Thermal head control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21073788A JPH0260760A (en) 1988-08-26 1988-08-26 Thermal head control method

Publications (1)

Publication Number Publication Date
JPH0260760A true JPH0260760A (en) 1990-03-01

Family

ID=16594277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21073788A Pending JPH0260760A (en) 1988-08-26 1988-08-26 Thermal head control method

Country Status (1)

Country Link
JP (1) JPH0260760A (en)

Similar Documents

Publication Publication Date Title
JPS6036397B2 (en) thermal recording device
JPS5867477A (en) Control on thermal head in heat-sensitive recorder
US4663734A (en) Print pulse controller for a termal printhead
JPH0243060A (en) Thermal head drive device
JP2589858B2 (en) Heating element control method for thermal head
JPH0292553A (en) Thermal head control circuit
JP3237133B2 (en) Thermal printer
JPH0371025B2 (en)
JPS634995B2 (en)
JPS59146263A (en) thermal recording device
JPH0474191B2 (en)
JPH0474190B2 (en)
JPH0319069B2 (en)
JPH03133663A (en) Thermal head driver
JP3088520B2 (en) Thermal head drive circuit
JPS6287365A (en) Thermal recorder
JPH0611800Y2 (en) Head drive circuit for thermal transfer printer
JPH0312530Y2 (en)
JPH02172761A (en) Thermal head
JP2929890B2 (en) Thermal recording device
JP2563014B2 (en) Thermal head
JPS63246262A (en) Thermal head drive circuit
JPH0624944U (en) Thermal head controller
JPS58205373A (en) Heat-sensing recorder
JPH023345A (en) Method for divided drive of thermal line head