JP4353595B2 - Thermal printer - Google Patents

Thermal printer Download PDF

Info

Publication number
JP4353595B2
JP4353595B2 JP29044499A JP29044499A JP4353595B2 JP 4353595 B2 JP4353595 B2 JP 4353595B2 JP 29044499 A JP29044499 A JP 29044499A JP 29044499 A JP29044499 A JP 29044499A JP 4353595 B2 JP4353595 B2 JP 4353595B2
Authority
JP
Japan
Prior art keywords
printing
print data
timing signal
interval
line
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 - Fee Related
Application number
JP29044499A
Other languages
Japanese (ja)
Other versions
JP2001105640A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP29044499A priority Critical patent/JP4353595B2/en
Publication of JP2001105640A publication Critical patent/JP2001105640A/en
Application granted granted Critical
Publication of JP4353595B2 publication Critical patent/JP4353595B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、サーマルヘッドにより媒体に1ライン分づつドットを印字するサーマルプリンタに関するものである。
【0002】
【従来の技術】
所定の媒体に印字を行って券として発行する券発行用端末装置が各種の分野で用いられている。
このような券発行用端末装置等に用いられるサーマルプリンタとして、印字の行方向に1ライン分の発熱素子を配列して、印字データを1ライン分づつドットとして印字するサーマルヘッドを備えたものがある。
【0003】
図7は従来のこの種のプリンタにおける印字のタイムチャートである。
図においてTMGは印字すべき媒体を搬送するモーターの回転に同期して印字の1ライン毎に出力されるタイミング信号で、このタイミング信号TMGが出力されるとサーマルヘッドにより1ライン分のドットの印字を行い、この1ライン分の印字が終了するとサーマルヘッドは次のタイミング信号TMGが出力されるまで待機するものとなっている。
【0004】
MEMは印字データ格納メモリのデータバス信号で、このデータバス信号により印字データ格納メモリにアクセスして1ライン分の印字データを取り出すものとなっている。
DATAはサーマルヘッドへ転送するデータ信号である。
ENBはサーマルヘッドのイネーブル信号で、このイネーブル信号ENBはロウアクティブとなっていて、ロウのときサーマルヘッドに通電が行われ、これにより媒体が発色する。
【0005】
ここでイネーブル信号ENBが3つに分かれているのは、1つのドットを3回に分割して印字しているからで、この3回のうち何回通電させるかによって1つのドットのエネルギーを調整するものとなっており、印字すべき1ライン分のサーマルヘッドへの印字データの転送が終わってからイネーブル信号ENBをアクティブすることにより1ライン分の印字が行われる。
【0006】
このようにして所定の媒体にドットの印字を行うが、この図に示したように従来は次のタイミング信号TMGが出力される少し前の段階でデータバス信号により印字データ格納メモリにアクセスするものとなっている。
従って、印字のタイミング信号の正常か異常かの判断の基準になるタイミング信号間隔のMIN値は、今回のタイミング信号TMGが出力されてから次回の印字のための印字データ格納メモリへのアクセスが終了するまでの間の値として設定されており、このMIN値より小さい間隔で出力されたタイミング信号TMGはエラーとして判断され、印字が中止される。
【0007】
【発明が解決しようとする課題】
しかしながら、上述した従来の技術では、タイミング信号間隔のMIN値は、規定のタイミング信号間隔に対して比較的大きい値として設定されるため、例えばノイズ等によりタイミング信号間隔が僅かに短くなった場合でも、すぐにエラー扱いとなってしまうという問題があった。
【0008】
このような問題に対処するため、印字のタイミング信号の間隔に応じて正常信号と異常信号に分け、異常信号の場合はその信号を無視して印字を続けるという方法が提案されているが、これによると、印字のタイミング信号が異常信号と判断された場合は無視されるため、ノイズでなく媒体を搬送するモーターの速度変動によりタイミング信号の間隔が短くなった場合は、無視されたタイミング信号に該当する部分の印字ドットが抜け落ちてしまうという問題がある。
【0009】
従って本発明は、媒体を搬送するモーターの速度変動によりタイミング信号の間隔が短くなった場合でも、印字ドットの抜け落ちを防止して印字を継続させることができるサーマルプリンタを実現することを課題としている。
【0010】
【課題を解決するための手段】
そのため、本発明は、印字データ格納メモリから1ライン分づつ印字データを取り出してサーマルヘッドに送り、印字データ1ライン毎に出力される印字のタイミング信号に基づいて前記サーマルヘッドにより媒体に1ライン分の印字を行うサーマルプリンタにおいて、印字のタイミング信号の出力直後に次の印字のための印字データ格納メモリへのアクセスを行い、1ライン分の印字の途中で次のタイミング信号が出力された場合、印字データ格納メモリからの印字データの読み出しが終了していれば、当該ラインの印字を途中で打ち切り、次のラインの印字へ移行することを特徴とする。
【0011】
【発明の実施の形態】
以下に図面を参照して本発明によるサーマルプリンタの実施の形態について説明する。
図1は第1の実施の形態を示すブロック図である。
図において1はコントロール部で、このコントロール部1にはタイミング信号の間隔から異常を検出する異常タイミング検出部2を有している。
【0012】
3は印字データをイメージ形式で格納する印字データ格納メモリで、印字に先立ちCPU(本図では図示せず)により印字データが格納される。
4は印字データ格納メモリ3から取り出された印字データをパラレル/シリアル変換するパラレル/シリアル変換器である。
5はラインデータメモリで、各ドット毎に過去1〜nラインに黒データ(発色したドット)があったかどうかを記録しておくものである。
【0013】
6は履歴メモリで、この履歴メモリにはラインデータメモリ5からのデータに基づいて、どれだけのエネルギーをかけるかの熱履歴制御用のパラメータを格納している。
この構成の作用について説明する。
まず、印字に際して、コントール部1により印字データ格納メモリ3から印字データを取り出し、パラレル/シリアル変換器4でパラレル/シリアル変換した後、ラインデータメモリ5へ転送して、このラインデータメモリ5における1ライン分の内容を更新する。
【0014】
その後、ラインデータメモリ5から1ライン分の印字データを履歴メモリ6に送ってより適切なエネルギーとなるように変換をかけ、その変換をかけた印字データをサーマルヘッドにデータを転送して印字を行う。
図2は上述した第1の実施の形態における印字の通常時のタイムチャートである。
【0015】
図においてTMGはタイミング信号、MEMは印字データ格納メモリ3のデータバス信号、DATAはサーマルヘッドへ転送するデータ信号、ENBはサーマルヘッドのイネーブル信号で、これらの信号は図7に示した従来のものに相当する。
ここで、タイミング信号TMGは媒体を搬送するモータの速度に同期して印字データ1ライン毎に図示しない回路により出力され、コントロール部1に与えられる。
【0016】
また、タイミング信号TMGに基づいてコントロール部1から印字データ格納メモリ3に出力されたアドレスにより印字データ格納メモリ3へのアクセスが行われ、印字データ(データバス信号MEM)が読み出されるが、本実施の形態ではこのデータバス信号MEMを取得するための印字データ格納メモリ3へのアクセスを、印字データ1ライン毎に出される印字の同期タイミング信号の直後に設定している。
【0017】
また、このように印字データ格納メモリ3へのアクセスを設定していることから、本実施の形態では印字のタイミング信号TMGの正常か異常かの判断の基準になるタイミング信号間隔のMIN値は規定のタイミング信号間隔に比べて小さくすることができる。
このMIN値以下の間隔でタイミング信号が出力された場合、異常タイミング検出部2はそのタイミング信号を異常信号として検出し、コントロール部1により印字が中止されるが、本実施の形態ではMIN値を越える間隔であれば規定の間隔以下であっても印字は継続されるようにしている。
【0018】
図3はこのようなタイミング信号TMGの間隔が規定の間隔より短い場合つまり異常時の作用を示すタイムチャートである。
この図に示したように、先行のタイミング信号TMGと次のタイミング信号TMGの間隔が、媒体を搬送するモーターの速度変動やノイズ等により規定の間隔より短くなった場合、コントロール部1は次のタイミング信号TMGが出力された時点で印字データ格納メモリ3へのアクセスが終わっていれば、つまりMIN値を越える間隔であれば、現在実行中のサーマルヘッドへの印字データの転送を打ち切って当該ラインの印字を打ち切り、新たに次のラインの印字データの転送を開始させ、サーマルヘッドに次のラインの印字を行わせる。
【0019】
この場合、印字データの転送を打ち切った時点でイネーブル信号ENBも一旦打ち切ってもよく、また、次のラインのデータ転送が終わるまでイネーブル信号ENBの印加を続けてもよいが、本実施の形態では、なるべく印加エネルギーを減らさないように、イネーブル信号ENBは継続して印加するものとしている。
以上のように第1の実施の形態によれば、印字データ格納メモリへのアクセスを印字データ1ライン毎に出力されるタイミング信号の出力直後に行うようにしているため、先行のタイミング信号から次のタイミング信号が出力されるまでの間に印字データ格納メモリへのアクセスが終っていれば、規定より短いタイミング信号間隔であっても、エラーとすることなく印字動作を継続するようにしているため、印字ドットの抜け落ちを防止することができる。
【0020】
図4は第2の実施の形態を示すブロック図である。
この実施の形態は第1の実施の形態の構成に異常タイミングカウント部7と、限界数設定部8、及び比較器9を追加したものである。
ここで異常タイミングカウント部7は、第1の実施の形態において、タイミング信号間隔のMIN値より大きくかつ規定より短い間隔でタイミング信号TMGが出力された場合、異常タイミング検出部2からの通知によりその都度カウントアップするもので、これをCPUが読むことができるようになっている。
【0021】
限界数設定部8はタイミング信号間隔のMIN値より大きくかつ規定より短い間隔でタイミング信号TMGが出力された場合の限界数を格納するもので、この限界数は予め任意に設定されCPUにより書き込まれている。
比較器9は異常タイミングカウント部7のカウント値と限界数設定部8に格納された限界数を比較して、比較結果をコントロール部1に通知するものである。
【0022】
次に作用について説明する。
まず、印字については第1の実施の形態と同様に先行のタイミング信号と次のタイミング信号までの間に印字データ格納メモリへのアクセスが終っていれば、規定より短いタイミング信号間隔であっても、エラーとすることなく印字動作を継続するものとする。
【0023】
そこで、印字動作に入ると、タイミング信号間隔のMIN値より大きくかつ規定より短い間隔でタイミング信号TMGが出力された場合、異常タイミング検出部2からの通知により異常タイミングカウント部7は「+1」づつカウントアップする。
比較器9はこの異常タイミングカウント部7のカウント値と限界回数設定部8に格納された限界数を比較して、カウント値のほうが限界数より大きくなった場合、これをコントロール部1に通知し、これによりコントロール部1はエラーと判断して印字を中止し、CPUへエラー情報を通知する。
【0024】
尚、この実施の形態において、比較器9からコントロール部1に通知があっても、コントロール部1ではエラーとせず、印字終了時にCPUにより異常タイミングカウント部7のカウント値を読み取り、CPUにより正常,異常の判断を行って、異常の場合は以後の印字を中止することもできる。
以上説明した第2の実施の形態によれば、規定の間隔より短い間隔でタイミング信号が出力された場合その回数をカウントする異常タイミングカウント部と、規定の間隔より短い間隔でタイミング信号が出力された場合の限界回数を格納した限界回数設定部を設けて、異常タイミングカウント部のカウント値が限界回数を越えた場合、エラーとして印字を中止するようにしているため、全体としての印字濃度の品位を保つことが可能となる。
【0025】
図5は第3の実施の形態を示すブロック図である。
この実施の形態は第1の実施の形態の構成に限界位置設定部10とタイミング位置検出部11を追加したものである。
ここで限界位置設定部10はCPUから予め設定された限界位置(先行タイミング信号と限界位置に規定される次のタイミングとの間隔(限界間隔))を書き込むことができるようになっている。
【0026】
また、タイミング位置検出部11は異常タイミング検出部2から通知されるタイミング信号の位置を検出して、その検出位置が限界位置設定部10に格納された限界位置より手前(限界間隔内)である場合、その情報をコントロール部1に通知するものとなっている。
次に作用について説明する。
【0027】
図6は第3の実施の形態の作用を示すタイムチャートである。
このタイムチャートは、1ライン分の印字データを3回に分けてドットを印字する場合の印字の動作状態をブロックに区切って細分化し、それぞれに番号を割り当てて示している。
ここで▲1▼は2回目の印字データの転送中の状態、▲2▼は2回目の印字データの転送が終わり、1回目の印字データを印字している状態、▲3▼は3回目の印字データの転送中の状態、▲4▼は3回目のデータの転送が終わり、2回目の印字データを印字している状態である。
【0028】
本実施の形態は、タイミング信号TMGが出力されてから次のタイミング信号TMGが出力される限界位置を▲3▼は3回目の印字データの転送中の位置として設定して、その位置データを限界位置設定部10に格納している。
印字については、第1の実施の形態と同様に先行のタイミング信号と次のタイミング信号までの間に印字データ格納メモリへのアクセスが終っていれば、規定より短いタイミング信号間隔であっても、エラーとすることなく印字動作を継続するものとする。
【0029】
そこで、印字においてタイミング位置検出部は11が異常タイミング検出部2から通知されるタイミング信号TMGの位置を検出し、その検出位置が限界位置設定部10に格納された限界位置より手前である場合、その情報をコントロール部1に通知する。
これによりコントロール部1はエラーと判断して印字を中止し、CPUへエラー情報を通知する。
【0030】
尚、この実施の形態では、印字の動作状態をブロックに区切って限界位置を設定し、これを限界位置設定部10に格納するものとしたが、ブロックでなく時間で設定し、先行のタイミング信号TMGから次のタイミングタイミング信号TMGまでの限界時間を設定し、これを限界時間設定部に格納して、タイミング信号間時間が限界時間であればエラーとして印字を中止するように構成するようにしてもよい。
【0031】
以上説明した第3の実施の形態によれば、規定の間隔より短い間隔でタイミング信号が出力された場合の限界位置(限界間隔)を格納した限界位置設定部を設けて、タイミング信号の位置が限界位置の手前(限界間隔内)の場合、エラーとして印字を中止するようにしているため、極端に印字濃度が薄いラインの発生を防止することができ、例えばバーコード印字のように1ラインでも印字が薄いラインがあると問題となるような媒体について、印字不良の媒体をなくすことができる。
【0032】
尚、本発明は上述した実施の形態に限られるものではなく、例えば、第2の実施の形態と第3の実施の形態を組み合わせ、タイミング信号間隔が予め設定した限界値以下の印字データのラインをカウントして、カウント値が予め設定した限界回数を越えた場合にエラーとして、印字を中止するようにしてもよい。
【0033】
【発明の効果】
以上説明したように、本発明は、印字データ格納メモリから1ライン分づつ印字データを取り出してサーマルヘッドに送り、印字データ1ライン毎に出力される印字のタイミング信号に基づいて前記サーマルヘッドにより媒体に1ライン分の印字を行うサーマルプリンタにおいて、印字のタイミング信号の出力直後に次の印字のための印字データ格納メモリへのアクセスを行い、1ライン分の印字の途中で次のタイミング信号が出力された場合、印字データ格納メモリからの印字データの読み出しが終了していれば、当該ラインの印字を途中で打ち切り、次のラインの印字へ移行するものとして、規定より短いタイミング信号間隔であっても、エラーとすることなく印字動作を継続するようにしているため、印字ドットの抜け落ちを防止することができる。
【図面の簡単な説明】
【図1】第1の実施の形態を示すブロック図。
【図2】第1の実施の形態の通常時の作用を示すタイムチャート。
【図3】第1の実施の形態の異常時の作用を示すタイムチャート。
【図4】第2の実施の形態を示すブロック図。
【図5】第3の実施の形態を示すブロック図。
【図6】第3の実施の形態の作用を示すタイムチャート。
【図7】従来技術を示すタイムチャート。
【符号の説明】
1 コントロール部
2 異常タイミング検出部
3 印字データ格納メモリ
4 パラレル/シリアル変換器
5 ラインデータメモリ
6 履歴メモリ
7 異常タイミングカウント部
8 限界数設定部
9 比較器
10 限界位置設定部
11 タイミング位置検出部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a thermal printer that prints dots on a medium for each line by a thermal head.
[0002]
[Prior art]
A ticket issuing terminal device that prints on a predetermined medium and issues it as a ticket is used in various fields.
A thermal printer used in such a ticket issuing terminal device or the like is provided with a thermal head that arranges heating elements for one line in the line direction of printing and prints printing data as dots for each line. is there.
[0003]
FIG. 7 is a time chart for printing in this type of conventional printer.
In the figure, TMG is a timing signal that is output for each line of printing in synchronization with the rotation of the motor that transports the medium to be printed. When this timing signal TMG is output, the thermal head prints dots for one line. When the printing for one line is completed, the thermal head waits until the next timing signal TMG is output.
[0004]
MEM is a data bus signal of the print data storage memory, and the data bus signal is used to access the print data storage memory and take out print data for one line.
DATA is a data signal transferred to the thermal head.
ENB is an enable signal for the thermal head. This enable signal ENB is low active. When the low signal is low, the thermal head is energized, and the medium is colored.
[0005]
Here, the enable signal ENB is divided into three because one dot is divided into three times for printing, and the energy of one dot is adjusted according to how many times the current is energized. Thus, printing of one line is performed by activating the enable signal ENB after the transfer of print data to the thermal head for one line to be printed is completed.
[0006]
In this way, dots are printed on a predetermined medium. Conventionally, as shown in this figure, the print data storage memory is accessed by a data bus signal just before the next timing signal TMG is output. It has become.
Therefore, the MIN value of the timing signal interval, which is a reference for determining whether the printing timing signal is normal or abnormal, is the end of access to the print data storage memory for the next printing after the current timing signal TMG is output. The timing signal TMG output at an interval smaller than the MIN value is determined as an error, and printing is stopped.
[0007]
[Problems to be solved by the invention]
However, in the conventional technique described above, the MIN value of the timing signal interval is set as a relatively large value with respect to the specified timing signal interval, so even when the timing signal interval is slightly shortened due to noise or the like, for example. There was a problem that it would be treated as an error immediately.
[0008]
In order to deal with such problems, a method has been proposed in which the normal signal and the abnormal signal are divided according to the interval of the printing timing signal, and in the case of the abnormal signal, the signal is ignored and printing is continued. Therefore, if the timing signal of printing is judged to be an abnormal signal, it will be ignored, so if the timing signal interval becomes shorter due to the speed fluctuation of the motor that transports the medium instead of noise, the timing signal will be ignored. There is a problem in that the print dots in the corresponding part are lost.
[0009]
Accordingly, an object of the present invention is to realize a thermal printer that can prevent printing dots from dropping out and continue printing even when the timing signal interval is shortened due to fluctuations in the speed of the motor that transports the medium. .
[0010]
[Means for Solving the Problems]
Therefore, according to the present invention, print data for one line is taken out from the print data storage memory and sent to the thermal head, and one line is printed on the medium by the thermal head based on the print timing signal output for each print data line. In the thermal printer that performs printing, when the print data storage memory for the next printing is accessed immediately after the printing timing signal is output and the next timing signal is output during printing for one line, If the reading of the printing data from the printing data storage memory has been completed , the printing of the line is interrupted and the process proceeds to the printing of the next line.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a thermal printer according to the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing the first embodiment.
In the figure, reference numeral 1 denotes a control unit, and the control unit 1 has an abnormal timing detection unit 2 for detecting an abnormality from an interval of timing signals.
[0012]
A print data storage memory 3 stores print data in an image format, and print data is stored by a CPU (not shown in the figure) prior to printing.
Reference numeral 4 denotes a parallel / serial converter that performs parallel / serial conversion on the print data extracted from the print data storage memory 3.
Reference numeral 5 denotes a line data memory for recording whether or not there is black data (colored dots) in the past 1 to n lines for each dot.
[0013]
Reference numeral 6 denotes a history memory. The history memory stores a parameter for heat history control indicating how much energy is applied based on data from the line data memory 5.
The operation of this configuration will be described.
First, at the time of printing, the print data is taken out from the print data storage memory 3 by the control unit 1, parallel / serial converted by the parallel / serial converter 4, and then transferred to the line data memory 5. Update the contents of the line.
[0014]
Thereafter, the print data for one line is sent from the line data memory 5 to the history memory 6 and converted so as to have more appropriate energy, and the converted print data is transferred to the thermal head for printing. Do.
FIG. 2 is a time chart for normal printing in the first embodiment described above.
[0015]
In the figure, TMG is a timing signal, MEM is a data bus signal of the print data storage memory 3, DATA is a data signal to be transferred to the thermal head, ENB is an enable signal for the thermal head, and these signals are the conventional ones shown in FIG. It corresponds to.
Here, the timing signal TMG is output by a circuit (not shown) for each line of print data in synchronization with the speed of the motor for transporting the medium, and is given to the control unit 1.
[0016]
Further, the print data storage memory 3 is accessed by the address output from the control unit 1 to the print data storage memory 3 based on the timing signal TMG, and the print data (data bus signal MEM) is read out. In this embodiment, the access to the print data storage memory 3 for acquiring the data bus signal MEM is set immediately after the print synchronization timing signal issued for each print data line.
[0017]
Further, since the access to the print data storage memory 3 is set in this way, in this embodiment, the MIN value of the timing signal interval serving as a reference for determining whether the print timing signal TMG is normal or abnormal is specified. The timing signal interval can be reduced.
When a timing signal is output at an interval equal to or smaller than the MIN value, the abnormal timing detection unit 2 detects the timing signal as an abnormal signal, and printing is stopped by the control unit 1, but in this embodiment, the MIN value is set. Printing is continued even if the interval exceeds the specified interval.
[0018]
FIG. 3 is a time chart showing the operation when the interval of the timing signal TMG is shorter than a predetermined interval, that is, when an abnormality occurs.
As shown in this figure, when the interval between the preceding timing signal TMG and the next timing signal TMG becomes shorter than the prescribed interval due to speed fluctuation or noise of the motor carrying the medium, the control unit 1 If the access to the print data storage memory 3 is completed when the timing signal TMG is output, that is, if the interval exceeds the MIN value, the transfer of the print data to the thermal head currently being executed is aborted and the line The printing of the next line is started, and the transfer of the printing data of the next line is newly started to cause the thermal head to print the next line.
[0019]
In this case, the enable signal ENB may be stopped once when the transfer of the print data is stopped, or the application of the enable signal ENB may be continued until the data transfer of the next line is completed. The enable signal ENB is continuously applied so as not to reduce the applied energy as much as possible.
As described above, according to the first embodiment, the print data storage memory is accessed immediately after the output of the timing signal output for each line of print data. If the access to the print data storage memory is completed before the timing signal is output, the printing operation is continued without causing an error even if the timing signal interval is shorter than specified. Therefore, it is possible to prevent the printing dots from dropping out.
[0020]
FIG. 4 is a block diagram showing the second embodiment.
In this embodiment, an abnormality timing count unit 7, a limit number setting unit 8, and a comparator 9 are added to the configuration of the first embodiment.
Here, in the first embodiment, when the timing signal TMG is output at an interval that is larger than the MIN value of the timing signal interval and shorter than specified in the first embodiment, the abnormality timing count unit 7 is notified by the notification from the abnormality timing detection unit 2. It counts up each time, and the CPU can read it.
[0021]
The limit number setting unit 8 stores the limit number when the timing signal TMG is output at an interval larger than the MIN value of the timing signal interval and shorter than the specified value. This limit number is arbitrarily set in advance and written by the CPU. ing.
The comparator 9 compares the count value of the abnormality timing count unit 7 with the limit number stored in the limit number setting unit 8 and notifies the control unit 1 of the comparison result.
[0022]
Next, the operation will be described.
First, as for printing, as in the first embodiment, if access to the print data storage memory is completed between the preceding timing signal and the next timing signal, even if the timing signal interval is shorter than specified. The printing operation is continued without an error.
[0023]
Therefore, when the printing operation is started, when the timing signal TMG is output at an interval larger than the MIN value of the timing signal interval and shorter than the specified value, the abnormality timing count unit 7 increments “+1” by the notification from the abnormality timing detection unit 2. Count up.
The comparator 9 compares the count value of the abnormality timing count unit 7 with the limit number stored in the limit number setting unit 8, and notifies the control unit 1 when the count value becomes larger than the limit number. Thus, the control unit 1 determines that there is an error, stops printing, and notifies the CPU of error information.
[0024]
In this embodiment, even if there is a notification from the comparator 9 to the control unit 1, the control unit 1 does not make an error, and the CPU reads the count value of the abnormal timing count unit 7 at the end of printing, Abnormality is judged and if it is abnormal, the subsequent printing can be stopped.
According to the second embodiment described above, when a timing signal is output at an interval shorter than a specified interval, an abnormal timing count unit that counts the number of times is output, and a timing signal is output at an interval shorter than the specified interval. If the count value of the abnormal timing count section exceeds the limit count, printing is stopped as an error, so the quality of the print density as a whole is provided. Can be maintained.
[0025]
FIG. 5 is a block diagram showing a third embodiment.
In this embodiment, a limit position setting unit 10 and a timing position detection unit 11 are added to the configuration of the first embodiment.
Here, the limit position setting unit 10 can write a limit position preset by the CPU (the interval between the preceding timing signal and the next timing defined by the limit position (limit interval)).
[0026]
Further, the timing position detection unit 11 detects the position of the timing signal notified from the abnormality timing detection unit 2, and the detection position is in front of the limit position stored in the limit position setting unit 10 (within the limit interval). In this case, the control unit 1 is notified of the information.
Next, the operation will be described.
[0027]
FIG. 6 is a time chart showing the operation of the third embodiment.
In this time chart, the printing operation state when the printing data for one line is divided into three times to print dots is divided into blocks and subdivided, and each is assigned a number.
Here, (1) is the state during the transfer of the second print data, (2) is the state where the transfer of the second print data is completed, and the first print data is being printed, and (3) is the third time A state in which the print data is being transferred. (4) is a state in which the third data transfer is completed and the second print data is being printed.
[0028]
In this embodiment, the limit position at which the next timing signal TMG is output after the timing signal TMG is output is set as the position during transfer of print data for the third time, and the position data is limited. It is stored in the position setting unit 10.
As for printing, as in the first embodiment, if access to the print data storage memory is completed between the preceding timing signal and the next timing signal, even if the timing signal interval is shorter than specified, It is assumed that the printing operation is continued without an error.
[0029]
Therefore, in the printing, when the timing position detection unit 11 detects the position of the timing signal TMG notified from the abnormality timing detection unit 2 and the detection position is before the limit position stored in the limit position setting unit 10, The information is notified to the control unit 1.
As a result, the control unit 1 determines that there is an error, stops printing, and notifies the CPU of error information.
[0030]
In this embodiment, the printing operation state is divided into blocks and the limit position is set and stored in the limit position setting unit 10; however, the preceding timing signal is set by time instead of the block. A limit time from TMG to the next timing timing signal TMG is set, and this is stored in the limit time setting unit. If the time between timing signals is the limit time, printing is stopped as an error. Also good.
[0031]
According to the third embodiment described above, a limit position setting unit that stores a limit position (limit interval) when a timing signal is output at an interval shorter than a predetermined interval is provided, and the position of the timing signal is Since the printing is stopped as an error before the limit position (within the limit interval), it is possible to prevent the generation of a line with extremely low printing density. For example, even one line such as barcode printing can be prevented. With respect to a medium that causes a problem when there is a thin line for printing, a medium with poor printing can be eliminated.
[0032]
The present invention is not limited to the above-described embodiment. For example, a print data line in which the timing signal interval is equal to or less than a preset limit value by combining the second embodiment and the third embodiment. And the printing may be stopped as an error when the count value exceeds a preset limit number.
[0033]
【The invention's effect】
As described above, the present invention takes out print data for each line from the print data storage memory, sends the print data to the thermal head, and prints the medium by the thermal head based on the print timing signal output for each print data line. In a thermal printer that prints one line at a time, the print data storage memory for the next print is accessed immediately after the print timing signal is output, and the next timing signal is output during the print of one line. If the reading of the print data from the print data storage memory has been completed , the printing of the line is interrupted and the next line is printed. However, since the printing operation is continued without causing an error, the missing print dots are prevented. Door can be.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment.
FIG. 2 is a time chart showing the normal operation of the first embodiment.
FIG. 3 is a time chart showing an operation when an abnormality occurs in the first embodiment.
FIG. 4 is a block diagram showing a second embodiment.
FIG. 5 is a block diagram showing a third embodiment.
FIG. 6 is a time chart showing the operation of the third embodiment.
FIG. 7 is a time chart showing the prior art.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Control part 2 Abnormal timing detection part 3 Print data storage memory 4 Parallel / serial converter 5 Line data memory 6 History memory 7 Abnormal timing count part 8 Limit number setting part 9 Comparator 10 Limit position setting part 11 Timing position detection part

Claims (4)

印字データ格納メモリから1ライン分づつ印字データを取り出してサーマルヘッドに送り、印字データ1ライン毎に出力される印字のタイミング信号に基づいて前記サーマルヘッドにより媒体に1ライン分の印字を行うサーマルプリンタにおいて、
印字のタイミング信号の出力直後に次の印字のための印字データ格納メモリへのアクセスを行い、
1ライン分の印字中に規定の間隔より短い間隔で次のタイミング信号が出力された場合、印字データ格納メモリからの印字データの読み出しが終了していれば、当該ラインの印字を途中で打ち切り、次のラインの印字へ移行することを特徴とするサーマルプリンタ。
A thermal printer that extracts print data for each line from the print data storage memory, sends the print data to the thermal head, and prints one line on the medium by the thermal head based on a print timing signal output for each print data line. In
Immediately after the printing timing signal is output, the print data storage memory for the next printing is accessed.
If the next timing signal is output at an interval shorter than the specified interval during printing for one line, if the reading of the print data from the print data storage memory has been completed , the printing of the line is interrupted halfway, A thermal printer characterized by shifting to printing of the next line.
請求項1において、
規定の間隔より短い間隔で出力されたタイミング信号の限界回数を設定し、
規定の間隔より短い間隔で出力されたタイミング信号の数が限界回数を越えた場合、エラーとして印字を中止することを特徴とするサーマルプリンタ。
In claim 1,
Set the limit number of timing signals output at intervals shorter than the specified interval,
A thermal printer characterized by stopping printing as an error when the number of timing signals output at intervals shorter than a specified interval exceeds a limit number.
請求項1において、
タイミング信号の限界間隔を設定し、
タイミング信号間隔が限界間隔より短い場合、エラーとして印字を中止することを特徴とするサーマルプリンタ。
In claim 1,
Set the timing signal limit interval,
A thermal printer characterized by stopping printing as an error when the timing signal interval is shorter than the limit interval.
請求項1において、
規定の間隔より短い間隔で出力されたタイミング信号の限界回数と、タイミング信号の限界間隔を設定し、
タイミング信号間隔が限界値以下の印字データのラインをカウントして、カウント値が限界回数を越えた場合、エラーとして印字を中止することを特徴とするサーマルプリンタ。
In claim 1,
Set the limit number of timing signals output at intervals shorter than the specified interval and the timing signal limit interval,
A thermal printer that counts print data lines whose timing signal interval is less than or equal to a limit value, and stops printing as an error if the count value exceeds the limit number.
JP29044499A 1999-10-13 1999-10-13 Thermal printer Expired - Fee Related JP4353595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29044499A JP4353595B2 (en) 1999-10-13 1999-10-13 Thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29044499A JP4353595B2 (en) 1999-10-13 1999-10-13 Thermal printer

Publications (2)

Publication Number Publication Date
JP2001105640A JP2001105640A (en) 2001-04-17
JP4353595B2 true JP4353595B2 (en) 2009-10-28

Family

ID=17756119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29044499A Expired - Fee Related JP4353595B2 (en) 1999-10-13 1999-10-13 Thermal printer

Country Status (1)

Country Link
JP (1) JP4353595B2 (en)

Also Published As

Publication number Publication date
JP2001105640A (en) 2001-04-17

Similar Documents

Publication Publication Date Title
US4875056A (en) Thermal recording apparatus with variably controlled energization of the heating elements thereof
US4737860A (en) Image recording apparatus
US4531133A (en) Thermal recording device
JP4353595B2 (en) Thermal printer
US6606108B2 (en) Thermal print head high-speed driving apparatus and method
JP3357972B2 (en) Data DMA transfer circuit for thermal transfer line printer
JP2616323B2 (en) Line thermal head protection circuit
JPS61131967A (en) Thermal printer
JP2895485B2 (en) Video memory controller used for printer
JPH01226357A (en) Method for controlling thermal head array
JP3595704B2 (en) Printer device and print output method
JPH025678A (en) Facsimile equipment
JPS63109654A (en) Facsimile receiver
JP2789340B2 (en) Image information recording method
JPS6236976A (en) Thermosensitive recorder
JPH02215554A (en) Recorder of thermal recording system
JPS6042978A (en) Recorder
JPH10151786A (en) Control system for a plurality of thermal heads
JPH08267812A (en) Drive control device for heating elements
JPH0768827A (en) Preheating method of thermal head
JPH08152978A (en) Controller for printer engine
JPH0376658A (en) High-speed printing method using line head system
JPH0624024A (en) Thermal recording device
JPH0443054A (en) Thermal recorder
JPH06340130A (en) Control device of printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090512

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090627

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090728

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090728

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20120807

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130807

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees