JP2923950B2 - Print control device for thermal printer - Google Patents

Print control device for thermal printer

Info

Publication number
JP2923950B2
JP2923950B2 JP18760888A JP18760888A JP2923950B2 JP 2923950 B2 JP2923950 B2 JP 2923950B2 JP 18760888 A JP18760888 A JP 18760888A JP 18760888 A JP18760888 A JP 18760888A JP 2923950 B2 JP2923950 B2 JP 2923950B2
Authority
JP
Japan
Prior art keywords
data
circuit
head
signal
input
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.)
Expired - Lifetime
Application number
JP18760888A
Other languages
Japanese (ja)
Other versions
JPH0236957A (en
Inventor
政寛 箕輪
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP18760888A priority Critical patent/JP2923950B2/en
Publication of JPH0236957A publication Critical patent/JPH0236957A/en
Application granted granted Critical
Publication of JP2923950B2 publication Critical patent/JP2923950B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はサーマルプリンタに関し、特にその発熱要素
の発熱制御をする制御回路に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thermal printer, and more particularly, to a control circuit for controlling heat generation of a heat generating element.

〔従来の技術〕[Conventional technology]

従来からサーマルプリンタでは、サーマルヘッドの連
続使用時間の熱蓄積による印字品位の低下を防止するた
め、様々な方法が用いられてきている。その中には特公
昭55−48631のように、ドットごとに前のデタを記憶し
て通電時間を決定する方法や、特公昭57−18507のよう
に駆動周期によって通電時間を変える方式等が用いられ
ている。これらを一般に履歴制御方式と言う。
Conventionally, in a thermal printer, various methods have been used in order to prevent deterioration of print quality due to heat accumulation during continuous use time of a thermal head. Among them, a method of storing the previous data for each dot and determining the energization time, such as Japanese Patent Publication No. 55-48631, and a method of changing the energization time depending on the drive cycle, such as Japanese Patent Publication No. 57-18507, are used. Have been. These are generally called a history control method.

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

これら従来例では一般にCPUによってデータ処理をし
ながら、サーマルヘッドのドライブICへ順次データを送
出する方式が一般的であった,このような方式では、サ
ーマルプリンタを高速に動作させようとしても処理が追
い付かずサーマルプリンタの高速化の障害となってい
た。
In these conventional examples, generally, a method of sequentially transmitting data to a drive IC of a thermal head while performing data processing by a CPU was generally used. In such a method, even when an attempt was made to operate a thermal printer at high speed, processing was not performed. Unable to keep up, it was an obstacle to speeding up the thermal printer.

本発明の目的は、このような従来の問題点を除去し、
高速でかつ、印字品位のすぐれたシリアル型サーマルプ
リンタの印字制御装置を提供することにある。
An object of the present invention is to eliminate such a conventional problem,
It is an object of the present invention to provide a printing control device for a serial type thermal printer which is high speed and has excellent printing quality.

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

かかる目的を達成するため、本発明のサーマルプリン
タの印字制御装置は、サーマルの駆動データの出力を所
定タイミングごとに行う処理装置と、処理装置とサーマ
ルヘッドとの間に配置されたヘッド制御回路とを有する
サーマルプリンタの印字制御装置であって、ヘッド制御
回路は少なくとも2個以上のユニット回路より構成さ
れ、ユニット回路は過去及び現在のサーマルヘッドの駆
動データを保有する記憶回路と、駆動データを入力する
データ入力端子と、処理装置のアドレスバスに接続され
たアドレス入力端子と、駆動データの入力時の同期信号
を得るデータラッチタイミング入力端子と、ヘッド制御
回路へのアクセスを可能とする主及び副のチップセレク
ト端子とを有し、主及び副のどちらか一方のチップセレ
クト端子を用いて2個以上のユニット回路を同時にアク
セス可能に構成したことを特徴とする。
In order to achieve the above object, a print control device of a thermal printer according to the present invention includes a processing device that outputs thermal drive data at predetermined timings, and a head control circuit disposed between the processing device and the thermal head. Wherein the head control circuit is composed of at least two or more unit circuits, and the unit circuits are configured to store past and present thermal head drive data and to input drive data. A data input terminal, an address input terminal connected to an address bus of the processing device, a data latch timing input terminal for obtaining a synchronization signal at the time of inputting drive data, and a main and sub terminals for enabling access to a head control circuit. Two chip select terminals using either the main or sub chip select terminal. Characterized in that simultaneously accessible to configure a unit circuit of the above.

又、ヘッド制御回路は、チップ化された少なくとも2
個以上のユニット回路より構成され、ユニット回路は、
サーマルヘッドの駆動データの少なくとも過去一回分
と、現在の駆動データとを保有する記憶回路と、処理装
置のデータバスに接続されたデータ入力端子と、処理装
置のアドレスバスの少なくとも3ビットに接続されたア
ドレス入力端子と、処理装置のデータストローブ端子に
接続されたデータラッチタイミング入力端子と、アドレ
スバスの所定のアドレス情報に応ずる主及び副の複数の
チップセレクト入力端子と、発熱要素の通電時間を決定
する通電パルス決定回路と、記憶回路の入力信号と通電
パルス決定回路からの入力信号とを混合するゲート回路
と、ゲート回路に接続され発熱要素への駆動信号を出力
するヘッド駆動出力端子とを有し、複数のユニット回路
を共通に制御する制御信号は同一アドレス信号によって
同時に複数のユニット回路にセットされるよう構成した
ことを特徴とする。
Also, the head control circuit has at least two
It consists of more than one unit circuit, and the unit circuit is
A storage circuit holding at least one past drive data of the thermal head and current drive data, a data input terminal connected to a data bus of the processing device, and at least 3 bits of an address bus of the processing device. Address input terminal, a data latch timing input terminal connected to the data strobe terminal of the processing device, a plurality of main and sub chip select input terminals corresponding to predetermined address information of the address bus, and a power supply time of the heating element. An energizing pulse determining circuit for determining, a gate circuit for mixing an input signal of the storage circuit and an input signal from the energizing pulse determining circuit, and a head drive output terminal connected to the gate circuit and outputting a drive signal to the heating element. A control signal for controlling a plurality of unit circuits in common has a plurality of units simultaneously by the same address signal. Characterized by being configured to be set in the circuit.

〔実施例〕〔Example〕

第1図は本発明によるサーマルプリンタの印字制御装
置を用いたターミナルプリンタの一実施例の構成を示す
略図である。
FIG. 1 is a schematic diagram showing the configuration of an embodiment of a terminal printer using a print control device of a thermal printer according to the present invention.

1は複数の発熱要素1aを有するサーマルヘッド、2は
このサーマルヘッドをドライブするヘッドドライブ回
路、3a,3bは処理装置の一種のCPU4とサーマルヘッドと
の間に挿入されたサーマルヘッドの発熱量をドットごと
に制御するヘッド制御回路(以下HCUと略す)、15はサ
ーマルヘッド1の周囲温度もしくは基板温度を検出する
サーミスタ14と抵抗器14aとの直列回路の分圧点の電位
をディジタル量に変換するA/Dコンバータ、12はROM、13
はRAM、17はデータバス、18はアドレスバス、19は印制
データを入力するインターフェイス、20は電源入力端子
をそれぞれ示している。
1 is a thermal head having a plurality of heating elements 1a, 2 is a head drive circuit for driving the thermal head, and 3a and 3b are heat generation amounts of the thermal head inserted between the CPU 4 of a processing device and the thermal head. A head control circuit (hereinafter abbreviated as HCU) for controlling each dot, 15 converts the potential at a voltage dividing point of a series circuit of a thermistor 14 and a resistor 14a for detecting the ambient temperature or substrate temperature of the thermal head 1 into a digital quantity. A / D converter, 12 is ROM, 13
Denotes a RAM, 17 denotes a data bus, 18 denotes an address bus, 19 denotes an interface for inputting sealing data, and 20 denotes a power input terminal.

CPU4は、1例として8ビットのCPUを示し、データス
トローブ端子の▲▼端子及びI/Oポート(図示せ
ず)、タイマー(図示せず)等を有している。
The CPU 4 is, for example, an 8-bit CPU, and has a ▲ ▼ terminal of a data strobe terminal, an I / O port (not shown), a timer (not shown), and the like.

HCU3a,3bはユニット回路としてCPUの一種のペリフェ
ラルとして働き、ROM12、RAM13と同様メモリマップ上の
特定の番地に割り当てられる。アドレスデコーダ16この
ユニット回路をアクセスするためのチップセレクト端子
である▲▼1端子7及び▲▼2端子8に接続さ
れる。9はデータを入力するときの同期信号をCPUのWR
端子より受信するデータラッチタイミング入力端子を示
している。5はデータバス17に接続されるデータ入力端
子、6はアドレスバスの下位3ビット以上を入力するア
ドレス入力端子をそれぞれ示している。
The HCUs 3a and 3b function as a kind of peripheral of the CPU as a unit circuit, and are assigned to specific addresses on a memory map, like the ROM 12 and the RAM 13. The address decoder 16 is connected to the (1) terminal 7 and the (2) terminal 8 which are chip select terminals for accessing this unit circuit. 9 uses the WR of the CPU as the synchronization signal for data input.
The data latch timing input terminal received from the terminal is shown. Reference numeral 5 denotes a data input terminal connected to the data bus 17, and reference numeral 6 denotes an address input terminal for inputting lower three bits or more of the address bus.

第2図は本発明による印字制御装置のヘッド制御回路
HCU3a及びHCU3bの詳細回路図である。
FIG. 2 is a head control circuit of a print control device according to the present invention.
FIG. 3 is a detailed circuit diagram of HCU3a and HCU3b.

データ入力端子5はD0〜D7の8ビットデータがパラレ
ルに入力可能である。
Data input terminal 5 is 8-bit data D 0 to D 7 can be input in parallel.

チップセレクト端子▲▼1、▲▼2端子から
の信号は、アドレスデコーダ30からの出力とゲート回路
によって混合され、データ入力等のそれぞれのアドレス
情報に応じた処理がHCU内部で実行される。
The signals from the chip select terminals 1 and 2 are mixed with the output from the address decoder 30 by the gate circuit, and processing according to each address information such as data input is executed inside the HCU.

21から29は8ビットのデータを保有するデータラッチ
回路をそれぞれ示し、21〜23はヘッド駆動信号のH0〜H7
のデータを保持し、24〜26はH8〜H15のデータを、27〜2
9はH16〜H23のデータをそれぞれラッチしている。
21 to 29 shows a data latch circuit to hold 8-bit data, respectively, 21 to 23 of the head drive signals H 0 to H 7
Data holds, 24-26 data H 8 to H 15, from 27 to 2
9 is latching data of H 16 to H 23, respectively.

ヘッド駆動出力は一例として24ドットのサーマルヘッ
ドを駆動するものとして24コの出力端子H0〜H23を有し
ている。
The head drive output has, for example, 24 output terminals H 0 to H 23 for driving a 24-dot thermal head.

31は現在のヘッドデータの1ドット列分を保持するラ
ッチ回路群であり、32は1回前の過去のデータの1ドッ
ト列分を、33は2回前の過去のデータの1ドット列分を
それぞれ保有するラッチ回路群を示している。
Reference numeral 31 denotes a latch circuit group for holding one dot row of the current head data, 32 denotes one dot row of the previous data of one time before, and 33 denotes one dot row of the past data of two times before. Are shown in FIG.

34は通電パルス決定回路の一種の通電区間信号発生回
路を示している。
Reference numeral 34 denotes an energization section signal generation circuit which is a kind of energization pulse determination circuit.

30はアドレスデコーダであり、ヘッド駆動データの格
納、データラッチ回路のデータのリセット、及び通電区
間信号発生回路34のアクセス等を選択可能である。
Reference numeral 30 denotes an address decoder, which can select storage of head drive data, reset of data of a data latch circuit, access of the conduction section signal generation circuit 34, and the like.

チップセレクト端子の▲▼1端子7とアドレスデ
コーダの出力6a,6b,6cがアンドゲードで混合され、ヘッ
ド駆動データが8ビットごとにデータラッチ回路21,24,
27にふり分けて格納される。▲▼2端子8とアドレ
スデコーダの出力6dとのアンド出力は、データラッチ回
路21〜29の全てのデータを同時にリセットすることが可
能となっている。同様に▲▼2端子8とアドレスデ
コーダの出力6e,6fとのアンド出力は通電区間信号発生
回路34をアクセス可能となっている。
The terminal 7 of the chip select terminal 7 and the outputs 6a, 6b, 6c of the address decoder are mixed by AND gate, and the head drive data is data latch circuits 21, 24,
Stored separately in 27. {Circle around (2)} The AND output between the terminal 8 and the output 6d of the address decoder enables all the data of the data latch circuits 21 to 29 to be reset simultaneously. Similarly, the AND output of the terminal 2 and the outputs 6e and 6f of the address decoder can access the conduction section signal generation circuit 34.

CPU4からデータバスにヘッド駆動データが出力される
と同時に、▲▼信号が出力され、あらかじめCPU4の
メモリマップ上に定めたアドレス情報によって▲▼
1端子がアクセスされ、アドレスバスの下位3ビットの
情報によってデータラッチ回路21,24,27のそれぞれにデ
ータが転送される。すると既に格納されていたデータ
は、第2図の右方向、例えばデータラッチ回路21のデー
タはデータラッチ回路22へと言うようにシフトされ過去
のデータとして順次保有される。
At the same time as the head drive data is output from the CPU 4 to the data bus, the ▲ ▼ signal is output.
One terminal is accessed, and data is transferred to each of the data latch circuits 21, 24, 27 according to the lower three bits of information on the address bus. Then, the already stored data is shifted rightward in FIG. 2, for example, the data of the data latch circuit 21 is shifted to the data latch circuit 22 and sequentially stored as past data.

下位2ビットの情報では4つのデータラッチ回路まで
アクセス可能であるが、発熱要素に数に応じてアドレス
入力端子数と、データラッチ回路を増加すれば良い。
The lower two bits of information can access up to four data latch circuits, but the number of address input terminals and the number of data latch circuits may be increased according to the number of heating elements.

データがセットされた後、▲▼2端子をアクセス
し、下位3ビットの所定のアドレス情報によって通電信
号入力端子34a,34bに所定のパルスを入力すると発熱要
素への通電がなされる。
After the data is set, the terminal is accessed, and a predetermined pulse is input to the energization signal input terminals 34a and 34b based on predetermined lower three bits of address information, thereby energizing the heating element.

通電パルス決定回路34はCPU4から周期信号に変調され
た通電信号を通電区間信号として復調する通電区間信号
発生回路であり、バイナリィカウンタ35とインバーダ34
a、AND回路35bからなっている。34aはバイナリィカウン
タ35のクロック入力端子として、34bはリセット入力端
子として機能する。クロック入力は、周期を可変して転
送されてくる信号であり、この周期を選択的に取り出し
て区間信号を作るのが通電区間信号発生回路34である。
The energizing pulse determination circuit 34 is an energizing section signal generating circuit for demodulating the energizing signal modulated into a periodic signal from the CPU 4 as an energizing section signal, and includes a binary counter 35 and an inverter 34.
a, and an AND circuit 35b. 34a functions as a clock input terminal of the binary counter 35, and 34b functions as a reset input terminal. The clock input is a signal that is transferred with a variable cycle, and the energization section signal generation circuit 34 selectively extracts the cycle to generate a section signal.

第5図は上記したアドレス情報と機能の関係を示す説
明図である。
FIG. 5 is an explanatory diagram showing the relationship between the above address information and functions.

アドレスバスの下位3ビットのA2、A1、A0の情報によ
って、これらが(000)ではデータラッチ回路21〜29の
全てのリセットし、(001)、(010)、(011)でそれ
ぞれのデータラッチ回路へサーマルヘッドの駆動データ
を入力するアドレス情報である。
According to the information of the lower three bits A2, A1, and A0 of the address bus, when these are (000), all of the data latch circuits 21 to 29 are reset, and when (001), (010), and (011), the respective data latches are reset. Address information for inputting drive data for the thermal head to the circuit.

又、(100)では通電区間信号発生回路へのリセット
信号を入力し、(101)では通電区間信号発生回路のク
ロック信号を入力する。(100)、(101)のアドレス情
報を出力する時はデータバス上に乗っているデータは何
ら関係しない。
At (100), a reset signal to the energization section signal generation circuit is input, and at (101), a clock signal of the energization section signal generation circuit is input. When outputting the address information of (100) and (101), the data on the data bus has no relation.

ラッチ回路のデータリセット、通電区間信号発生回路
のアクセスは▲▼2端子をアクセスした場合にのみ
可能であり、データ入力は▲▼1端子をアクセスし
た場合のみ可能である。
Data reset of the latch circuit and access to the energization section signal generation circuit are possible only when the terminal (2) is accessed, and data input is possible only when the terminal (1) is accessed.

このように構成することによって、第1図に示したよ
うにユニット回路を2個以上併設した場合、ラッチ回路
の全てのデータをリセットする時、及び、通電区間信号
発生回路をアクセスする時等、共通の制御コードを与え
るためのアドレスデコーダを設置し、▲▼2端子に
接続することによって、同時に併設した全てのユニット
回路を制御することが可能となる。
With this configuration, when two or more unit circuits are provided side by side as shown in FIG. 1, when all data in the latch circuit is reset, and when the energized section signal generation circuit is accessed, etc. By installing an address decoder for giving a common control code and connecting it to the terminal ▲ ▼ 2, it is possible to control all the unit circuits provided together.

本実施例では、通電パルス決定回路を通前区間信号発
生回路を用いて示したが、ユニット回路の外部に通電区
間信号発生回路を設置することも可能であり、この場
合、通電パルス決定回路は複数の通電区間信号入力端子
とすれば良い。
In the present embodiment, the energization pulse determination circuit is shown using the previous section signal generation circuit. However, it is also possible to install an energization section signal generation circuit outside the unit circuit. A plurality of energization section signal input terminals may be used.

第3図はこの通前パルス決定回路の入出力波形を示し
ている。41はリセット入力波形、42はクロック入力波形
を示している。クロック入力信号は周期が順次変化する
ものである。バイナリィカウンタ35がリセット入力後、
このクロックを受けると4ビットのコードに変換する。
これをインバータ35a、AND回路35bによって、43〜46の
出力波形に変換する。43は36a端子の出力波形、44は、3
6b端子の、45は36c端子の、46は36d端子の出力波形をそ
れぞれ示していてそのパルス幅はそれぞれt3,t2,t1,t0
である。これらのパルス幅は発熱要素の通電時間とな
り、過去の駆動履歴と対応させた通電区間として発熱要
素に付与される。
FIG. 3 shows the input / output waveforms of the pass-through pulse determination circuit. 41 shows a reset input waveform, and 42 shows a clock input waveform. The cycle of the clock input signal changes sequentially. After the binary counter 35 receives a reset input,
When this clock is received, it is converted into a 4-bit code.
This is converted into output waveforms of 43 to 46 by the inverter 35a and the AND circuit 35b. 43 is the output waveform of the 36a terminal, 44 is 3
The 6b terminal, 45 indicates the output waveform of the 36c terminal, and 46 indicates the output waveform of the 36d terminal, and the pulse widths thereof are t 3 , t 2 , t 1 , t 0, respectively.
It is. These pulse widths are the energizing time of the heating element, and are given to the heating element as an energizing section corresponding to the past drive history.

第2図のゲータ回路37(GO)は通電区間信号発生回路
34の出力信号と記憶回路の駆動データとを混合し発熱要
素へのヘッド駆動信号を出力するものであり、過去の駆
動データに対応する第1のゲート回路38と現在の駆動デ
ータに対応する第2のゲート回路40過去の駆動履歴に応
じて予熱パルスを加える第3のゲート回路39とから構成
されている。通電区間t3,t2,t1は過去の駆動データに対
応する副通電区間であり第1のゲート回路に入力され、
通電区間t0は現在の駆動データに対応する主通電区間で
あり第2のゲート回路に入力される。副通電区間のうち
t2は予熱パルス用として第3のゲート回路にも入力され
る。
The gater circuit 37 (GO) shown in FIG.
34, and outputs a head drive signal to the heating element by mixing the output signal of 34 with the drive data of the storage circuit. The first gate circuit 38 corresponding to the past drive data and the first gate circuit 38 corresponding to the current drive data are output. A second gate circuit 40 and a third gate circuit 39 for applying a preheating pulse according to the past driving history. The energizing sections t 3 , t 2 , and t 1 are sub-energizing sections corresponding to past drive data and are input to the first gate circuit,
Energization interval t 0 is input to the second gate circuit is a main current interval corresponding to the current drive data. Of the sub-current section
t 2 is also input to the third gate circuit for the preheating pulse.

〔動作〕〔motion〕

第1図のA/Dコンバータ15によってサーマルヘッドの
温度をディジタル量で読み取る。次にこれに応じた発熱
要素への主通電区間及び副通電区間のそれぞれのパルス
幅をCPU4によって演算処理し、これを内蔵タイマー等を
用いてアドレス端子から所定のアドレス情報をHCU3a、3
bに書き込み、周期信号として出力する。CPU4は通電信
号出力手段を兼ねていることになる。
The temperature of the thermal head is read by a digital quantity by the A / D converter 15 in FIG. Next, the respective pulse widths of the main energizing section and the sub energizing section to the heat generating element are subjected to arithmetic processing by the CPU 4, and the predetermined address information is transferred from the address terminals to the HCUs 3a, 3 using an internal timer or the like.
Write to b and output as periodic signal. The CPU 4 also serves as the energization signal output means.

第4図は本発明による印字制御装置のサーマルヘッド
への通電方法を示す説明図であり、51,52,53は記憶回路
31,32,33内のデータをそれぞれ示し、1がオンデータ
を、0がオフデータを表し、51は現在の、52は一つ前の
回の、53は二つ前の回のデータを示している。54〜58は
ヘッド駆動信号の出力波形を示していて、54はH0端子
の、55はH2端子の、56はH5端子の、57はH7端子の、58は
H10端子の出力波形をそれぞれ示している。
FIG. 4 is an explanatory view showing a method of energizing the thermal head of the printing control device according to the present invention.
The data in 31, 32, and 33 are shown, respectively, 1 indicates ON data, 0 indicates OFF data, 51 indicates the current data, 52 indicates the previous data, and 53 indicates the data of the previous data. ing. 54-58 is shows the output waveforms of the head driving signal, the H 0 terminal 54, 55 of the H 2 terminal, 56 a H 5 terminal, 57 is the H 7 terminals, 58
Respectively show the output waveform of the H 10 terminals.

第4図では53が印刷開始時のデータとして示してい
る。通電初回に通電オンのドットは全ての通電区間が通
電される全通電間が印加され、通電オフのドットはt1
間が予熱パレスとして付与される。この予熱パルスはサ
ーマルヘッドの基板温度を高めるだけでドットを形成す
ることはない。
In FIG. 4, reference numeral 53 denotes data at the start of printing. Dot energization on the current first time between all energization of all the current section is energized is applied, the dot energizing off t 1 interval is given as a preheating Palace. This preheating pulse only raises the substrate temperature of the thermal head and does not form dots.

一つ前のタイミングで自己の発熱要素の通電データが
オンであると斜線部で示したt3区間が削減され(出力波
形54に示す)、二つ前のタイミングで駆動データがある
とt2区間が削減され(出力波形57に示す)、これが連続
していると、t3+t2区間が削減される(出力波形54に示
す)。前回の駆動結果で隣接した双方のドットが通電オ
ンである時はt1区間が削減される(出力波形56に示
す)。そして全ての削減しようとして比較されるデータ
がオンデータであって自己の現在のデータがオンの時
は、t0区間のみが通電オンとなる。逆に削減すようとし
て比較されるデータがオフデータで、かつ現在のデータ
がオフの時は予熱パルスが与えられる。このようの駆動
データの比較と通電区間の選択をゲート回路37が行って
いる。
Drive data of the own heating element previous timing When it is turned on t 3 period indicated by hatched portion is reduced (shown in the output waveform 54), when there is drive data in two previous timing t 2 section is reduced (shown in the output waveform 57), when it is continuous (as shown in the output waveform 54) t 3 + t 2 interval is reduced. T 1 interval is reduced when both dots adjacent in the previous driving result is energized on (shown by the output waveform 56). And when its current data is on the data to be compared in an attempt to all reduction be on data, only t 0 interval is energized on. Conversely, when the data to be reduced is the off data and the current data is off, a preheating pulse is given. The gate circuit 37 performs such comparison of the drive data and selection of the energized section.

ヘッド制御回路はゲートアレイ化しワンチップするこ
とによってきわめて簡略な構成を有するサーマルプリン
タを実現することが可能となる。これはサーマルプリン
タを用いたターミナルプリンタばかりでなく、ポータブ
ルワードプロセッサ等の小型化指向の機器に組み込む場
合きわめて重要な要素である。
By forming the head control circuit as a gate array and forming one chip, a thermal printer having a very simple configuration can be realized. This is a very important factor when incorporating not only a terminal printer using a thermal printer but also a miniaturized device such as a portable word processor.

本実施例では一例として過去のデータを二回前まで記
憶する例で示したが、これを三回、四回として副通電区
間の数を4回、5回の増加することが可能であり、この
ようにすることによって更にきめ細かな履歴制御を実現
するこのができる。
In the present embodiment, as an example, an example in which the past data is stored up to twice before is shown. However, the number of sub energization sections can be increased by four or five times as three times or four times. By doing so, more detailed history control can be realized.

又、CPU4は、インクリボンの種類や紙の種類に応じ
て、全通電時間、通電区間の幅を便宜可変して通電信号
を出力するため、これらの印字のモード別に全通電時
間、各通電区間の比をROM12内に記憶しておき、印字モ
ードに対応してこれらを読み出し周期信号に変換して出
力する。
In addition, the CPU 4 outputs the energization signal according to the type of the ink ribbon and the type of paper, and changes the width of the energization interval and the energization interval for convenience. Are stored in the ROM 12, and are converted into readout cycle signals corresponding to the print mode and output.

〔発明の効果〕〔The invention's effect〕

本発明によれば、過去の駆動履歴によるデータ処理を
CPUで行う必要がないため、CPUの高速処理が可能とな
り、サーマルプリンタの印字スピードを上昇することが
可能となる。
According to the present invention, data processing based on past driving history is performed.
Since there is no need to perform the processing in the CPU, high-speed processing of the CPU becomes possible, and the printing speed of the thermal printer can be increased.

又、ゲートアレイ等によってヘッド制御回路をユニッ
ト化することにより、これをCPUのメモリマップ上に割
り当て、データバス、アドレスバスと直結しCPUから直
接データを書き込むだけで良いためきわめて簡単の構成
で、複雑な処理を可能とした。
In addition, by unitizing the head control circuit with a gate array, etc., it is allocated on the memory map of the CPU, it is directly connected to the data bus and address bus, and it is only necessary to write data directly from the CPU. Complex processing was enabled.

更に、ユニット化されたヘッド制御回路を、サーマル
ヘッドの発熱要素の数に応じて増加した場合に於いて、
チップセレクト端子を複数設置することによって共通に
制御できる内容は、同時に制御可能となり、処理速度を
上昇し、CPUの負担を軽減し、サーマルプリンタの高速
化にきわめて有利なものである。
Further, when the unitized head control circuit is increased according to the number of heat generating elements of the thermal head,
The contents that can be controlled in common by installing a plurality of chip select terminals can be controlled simultaneously, which is extremely advantageous for increasing the processing speed, reducing the load on the CPU, and increasing the speed of the thermal printer.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明によるサーマルプリンタの印字制御装置
を用いたターミナルプリンタの一実施例の構成を示す略
図。 第2図は本発明の印字制御装置のヘッド制御回路HCU3の
詳細回路図。 第3図は本発明の印字制御装置の通電パルス決定回路の
入出力波形を示す説明図。 第4図は本発明の印字制御装置のサーマルヘッドへの通
電方法を示す説明図。 第5図は本発明の印字制御装置のヘッド制御回路のアド
レス情報と機能の関係を示す説明図。 1……サーマルヘッド 2……ヘッドドライブ回路 31,32,33……記憶回路 4……通電信号出力手段、CPU 34……通電区間信号発生回路 37……ゲート回路 7,8……チップセレクト端子
FIG. 1 is a schematic diagram showing a configuration of an embodiment of a terminal printer using a print control device of a thermal printer according to the present invention. FIG. 2 is a detailed circuit diagram of a head control circuit HCU3 of the print control device of the present invention. FIG. 3 is an explanatory diagram showing input / output waveforms of an energizing pulse determination circuit of the print control device of the present invention. FIG. 4 is an explanatory diagram showing a method for energizing the thermal head of the print control device of the present invention. FIG. 5 is an explanatory diagram showing a relationship between address information and functions of a head control circuit of the print control device of the present invention. 1 thermal head 2 head drive circuit 31, 32, 33 storage circuit 4 energizing signal output means, CPU 34 energizing section signal generating circuit 37 gate circuit 7, 8 chip select terminal

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の発熱要素を有するサーマルヘッドを
有し、該サーマルヘッドの駆動データの出力を所定タイ
ミングごとに行う処理装置と、該処理装置と前記サーマ
ルヘッドとの間に配置されたヘッド制御回路とを有する
サーマルプリンタの印字制御装置に於いて、前記ヘッド
制御回路は少なくとも2個以上のユニット回路より構成
され、該ユニット回路は過去及び現在の前記サーマルヘ
ッドの駆動データを保有する記憶回路と、駆動データを
入力するデータ入力端子と、前記処理装置のアドレスバ
スに接続されたアドレス入力端子と、前記駆動データの
入力時の同期信号を得るデータラッチタイミング入力端
子と、前記ヘッド制御回路へのアクセスを可能とする主
及び副のチップセレクト端子とを有し、前記主及び副の
どちらか一方のチップセレクト端子を用いて前記2個以
上のユニット回路を同時にアクセス可能に構成したこと
を特徴とするサーマルプリンタの印字制御装置。
1. A processing device having a thermal head having a plurality of heat generating elements and outputting drive data of the thermal head at predetermined timings, and a head disposed between the processing device and the thermal head. A print control device for a thermal printer having a control circuit, wherein the head control circuit is composed of at least two or more unit circuits, and the unit circuits store past and present drive data of the thermal head. A data input terminal for inputting drive data; an address input terminal connected to an address bus of the processing device; a data latch timing input terminal for obtaining a synchronization signal when the drive data is input; And a main and sub chip select terminal for enabling access to the main and sub chips. Printing control device of the thermal printer being characterized in that simultaneously accessible configured the two or more unit circuits via the use of an Puserekuto terminal.
【請求項2】前記ヘッド制御回路は、チップ化された少
なくとも2個以上のユニット回路より構成され、該ユニ
ット回路は、前記サーマルヘッドの駆動データの少なく
とも過去一回分と、現在の駆動データとを保有する記憶
回路と、前記処理装置のデータバスに接続されたデータ
入力端子と、前記処理装置のアドレスバスの少なくとも
3ビットに接続されたアドレス入力端子と、前記処理装
置のデータストローブ端子に接続されたデータラッチタ
イミング入力端子と、前記アドレスバスの所定のアドレ
ス情報に応ずる主及び副の複数のチップセレクト入力端
子と、前記発熱要素の通電時間を決定する通電パルス決
定回路と、前記記憶回路の入力信号と通電パルス決定回
路からの入力信号とを混合するゲート回路と、該ゲート
回路に接続され前記発熱要素への駆動信号を出力するヘ
ッド駆動出力端子とを有し、前記複数のユニット回路を
共通に制御する制御信号は同一アドレス信号によって同
時に複数のユニット回路にセットされるよう構成したこ
とを特徴とする請求項1記載のサーマルプリンタの印字
制御装置。
2. The head control circuit is composed of at least two or more unit circuits formed into chips, and the unit circuit stores at least one past drive data of the thermal head and current drive data. A storage circuit, a data input terminal connected to a data bus of the processing device, an address input terminal connected to at least 3 bits of an address bus of the processing device, and a data strobe terminal of the processing device. A data latch timing input terminal, a plurality of main and sub chip select input terminals corresponding to predetermined address information of the address bus, an energizing pulse determining circuit for determining an energizing time of the heating element, and an input of the storage circuit. A gate circuit for mixing the signal and the input signal from the energizing pulse determination circuit; A head drive output terminal for outputting a drive signal to the heat generating element, wherein a control signal for commonly controlling the plurality of unit circuits is set to a plurality of unit circuits simultaneously by the same address signal. The print control device for a thermal printer according to claim 1.
JP18760888A 1988-07-27 1988-07-27 Print control device for thermal printer Expired - Lifetime JP2923950B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18760888A JP2923950B2 (en) 1988-07-27 1988-07-27 Print control device for thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18760888A JP2923950B2 (en) 1988-07-27 1988-07-27 Print control device for thermal printer

Publications (2)

Publication Number Publication Date
JPH0236957A JPH0236957A (en) 1990-02-06
JP2923950B2 true JP2923950B2 (en) 1999-07-26

Family

ID=16209089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18760888A Expired - Lifetime JP2923950B2 (en) 1988-07-27 1988-07-27 Print control device for thermal printer

Country Status (1)

Country Link
JP (1) JP2923950B2 (en)

Also Published As

Publication number Publication date
JPH0236957A (en) 1990-02-06

Similar Documents

Publication Publication Date Title
US5365257A (en) Thermal printer and method of controlling a thermal print head
US4912485A (en) Print controlling apparatus for a thermal printer
JP2923950B2 (en) Print control device for thermal printer
JP2570768B2 (en) Print control device for thermal printer
JP2570741B2 (en) Head drive control device for thermal printer
JPH0243060A (en) Thermal head driving apparatus
JP2570715B2 (en) Print control device for thermal printer
JPH0382562A (en) Thermal head driver
JPH0829599B2 (en) Print control device for thermal printer
JP2867539B2 (en) Thermal line printer
JPH03126563A (en) Drive controller in thermal printer
JPH0829600B2 (en) Print control device for thermal printer
JPH03126564A (en) Drive controller in thermal printer
JPH03120052A (en) Driving controller for thermal printer
JP2562379B2 (en) Drive controller for thermal printer
JP3222327B2 (en) Thermal printer
JPH02305657A (en) Printing controller in thermal printer
JPS63295278A (en) Head driving controller of thermal printer
JPS623565A (en) Driving system for thermal head
JP2679686B2 (en) Print control device for thermal printer
JP2647062B2 (en) Print control device for thermal printer
JP2570723B2 (en) Thermal head control circuit
JPS61179663A (en) Recording head
JPH02305659A (en) Printing controller in thermal printer
JPH022031A (en) Thermal head circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080507

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090507

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090507

Year of fee payment: 10