JP4496645B2 - Printing control method and printing apparatus using the same - Google Patents

Printing control method and printing apparatus using the same Download PDF

Info

Publication number
JP4496645B2
JP4496645B2 JP2000403286A JP2000403286A JP4496645B2 JP 4496645 B2 JP4496645 B2 JP 4496645B2 JP 2000403286 A JP2000403286 A JP 2000403286A JP 2000403286 A JP2000403286 A JP 2000403286A JP 4496645 B2 JP4496645 B2 JP 4496645B2
Authority
JP
Japan
Prior art keywords
printing
print
dot
mode
divided
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
JP2000403286A
Other languages
Japanese (ja)
Other versions
JP2002200779A (en
JP2002200779A5 (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 JP2000403286A priority Critical patent/JP4496645B2/en
Publication of JP2002200779A publication Critical patent/JP2002200779A/en
Publication of JP2002200779A5 publication Critical patent/JP2002200779A5/ja
Application granted granted Critical
Publication of JP4496645B2 publication Critical patent/JP4496645B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、複数の印刷ヘッドが印刷行方向に配列されているラインプリンタにおいて、電源電圧の変動に伴なう印刷品質の低下を防止するための印刷制御装置及び印刷制御方法に関する。
【0002】
【従来の技術】
ドットプリンタでは、文字、記号、絵等は細かいドットの連続集合体(ドットパターン)として印刷される。実際の印刷は、例えばドットラインプリンタでは、1行を構成する各文字のドットパターンを1行分まとめて、複数のドットが印刷用紙の幅方向に並んだ複数段の行(1段のドットの行をドット行又はドットラインと呼ぶ)から構成されるドットパターンに展開しておき、ドットラインの全幅(範囲)に亘り配列された印刷ヘッドにより、展開されたドットパターンをドットライン毎に上から順に印刷して、1行の文字等の印刷を完了する。具体的には、印刷用紙を移送しながら、行方向に整列した複数の印刷ヘッドをドットパターンに対応してドットライン毎に駆動することにより印刷を実行する。まず第1行目のドットラインが印刷され、印刷用紙が所定量移動したときに次のドットラインが印刷されるという動作を、ドットパターンの最下段のドットラインまで順次繰り返すことにより1行の文字列又は記号列の印刷が完了する。
【0003】
図8は上述のようなドットラインプリンタによる印刷を説明するための図である。印刷ヘッド部60には、用紙幅方向に複数の印刷ヘッド(図示せず)が並列して配設されており、印刷用紙の幅方向の全ドットが印刷できるように構成されている。印刷用紙70は、図示しない用紙搬送機構により矢印「X」方向に移送される。印刷は、図8に2行の文字列「ABCDE・・・・・・・OPQ」の印刷例で示すように、印刷用紙を矢印「X」方向に移送しながら、印刷しようとするデータのドットパターン(1ドットライン)に対応する印刷ヘッド部60の各印刷ヘッドを駆動することにより、実行される。
【0004】
印刷ヘッドとしては、一般的に、サーマルプリントヘッド、インクジェットヘッドを含むインク吐出型プリントヘッド、又はインパクトプリントヘッド等が使用されている。サーマルプリントヘッドでは、発熱体に電流を流して熱エネルギーにより感熱紙または熱転写リボンのインクを溶融することにより印刷を行う。インク吐出型プリントヘッドでは、圧電素子による変移、又は発熱による空気の瞬間的な膨張等によりインク滴を印刷用紙に吐出して印刷を行う。
【0005】
ラインプリンタによる印刷においては、ドットラインの全印刷ヘッドを同時に駆動すると、印字用紙幅方向のドットラインを1直線上に整列して印刷でき、かつ印刷のための制御が簡素化でき、印刷速度を上げることができるというメリットがある。
【0006】
しかし、1ドットラインを同時に印刷する方式では、同時に多くの印刷ヘッドを駆動する場合に大きなヘッド駆動電流が必要となる場合がある。例えば、印字用紙幅全体に亘る直線の印刷の場合には、全印刷ヘッドが同時に駆動される。また、反転文字の印刷の場合には、通常の印刷では空白部分にドットが印刷され、文字を構成する部分が空白となるので、通常の文字に比べて1ドットライン当たりの印刷ドット密度が極端に高くなる。そのため、数百個の印刷ヘッドが同時に駆動されて、1ドットラインの同時印刷のために大電流が流れることがある。また、ラインプリンタの印刷においては、印刷ヘッドの駆動だけでなく、印刷用紙も同時に移送しているので、用紙移送のための駆動電流も必要になる。したがって、プリンタの電源は、これらに対応可能な最大電流を供給する能力を備えていることが望ましい。
【0007】
もし、プリンタの電源能力を超える電流の供給が要求される状態が続くと、電源は十分な電流を供給することができず電圧が低下する。電源電圧が低下すると、印刷ヘッドの駆動電流も低下する。直線又は罫線の印刷の場合には、通常1ドットラインの印刷だけであるから電源電圧への影響は少ないが、反転文字等の場合には高密度のドットラインの印刷が連続するので、電源能力を超える電流の連続供給による電圧低下が問題となる。
【0008】
このように印刷ヘッドに印加される電圧が低下して印刷ヘッド駆動電流が減少すると、サーマルプリントヘッドでは発熱量が減少して印刷が薄くなり、インク吐出型プリントヘッドではインク滴を正確に噴出することができない等の印刷品質を劣化を生ずるおそれがある。
【0009】
従って、適正な印刷品質を確保するためにも、ラインプリンタの電源は、上述のような稼働条件にも対応できる十分な出力能力を有することが望ましい。しかし、実際のプリンタの稼働においては、全印刷ヘッドが同時に駆動されるようなことはあまり多く発生しない。すなわち、直線、罫線又は反転文字の印刷等の場合に上述のような問題となる高密度の印刷が行われるが、直線及び罫線の印刷では1ドットラインの印刷であるので電源への影響は少なく、反転文字のような特殊印刷はあまり頻繁には行われない。にもかかわらず、このような事態に対応可能な高い出力能力を有する電源を使用することは、プリンタのコストパフォーマンス上は、必ずしも好ましいとは言えない。
【0010】
そこで、通常印刷時に必要な程度の出力能力の電源を使用しつつ、過酷な稼働条件(反転文字印刷等)においても適正な印刷品質を保持できるような印刷方法として、1ドットラインの印刷を2回に分けて印刷する方式が採用されている。これは、1ドットライン上の印刷ヘッドの駆動タイミングを複数回に分けて印刷する印刷方式(本明細書ではこのように1ドットラインの印刷を分割して印刷する方式を分割印刷制御方式と称する)であり、この方式によると、同時に駆動する印刷ヘッドの数が半分以下になるので、必要とされる最大ヘッド駆動電流も半分以下に抑制することができる。そのため、プリンタの電源の出力能力を小さくすることが可能となる(このように、ヘッド駆動電流に応じて分割印刷を行うよう制御することを「電流制御」と呼ぶことがある)。
【0011】
一方、たとえ印刷タイミングを2分割して同時に必要とされる印刷ヘッド駆動電流を抑制したとしても、印刷用紙の搬送状況、外部から供給される電圧の変動の影響、及び電源の故障等により、電源電圧の低下は起こり得る。電源電圧が低下すると、前述のように、印刷が薄くなる等の印刷品質が劣化を招来するおそれがあるため、電流制御とは別に電圧低下に対処する制御は必要となる。そこで、電圧が低下したときには印刷を強制的に一時停止させ、電圧が回復したら印刷を再開するように制御するラインプリンタもある(このような制御を「電圧制御」と呼ぶ)。
【0012】
通常、分割印刷制御方式のプリンタでは、同時に駆動される印刷ヘッドの数等から、分割条件に合致するかどうかを判断して、所定の分割印刷条件に合致する場合には、分割印刷を実行する。初期設定モードから分割印刷を実行するような構成とすることもできるが、電源投入直後は、非分割印刷とするのが一般的である。すなわち、初期状態では、1ドットライン分の印刷パターンデータを1ドットライン同時に印刷し、分割印刷条件を満たすときには印刷タイミングをずらすことにより、分割印刷を実行する。例えば、1ドットライン分の複数の印刷ヘッドを2回に分けて駆動して、2分割印刷を実行する。
【0013】
一方、印刷品質確保等の観点から電源電圧も監視されており、電圧が低下すると、印刷用紙の搬送の停止し印字ヘッドの駆動を停止する。電圧が所定のレベルに回復すると印刷を再開する。印刷の再開は、初期設定モードで実行される。すなわち、初期設定モードが非分割印刷であるときには、印刷停止直前の印刷が分割印刷モードであったとしても、印刷再開時には非分割印刷が実行される。このように再開時に初期設定モードで印刷をするのは、電源電圧が正常に回復していることが印刷再開の条件であり、この場合には非分割印刷を行っても、電流減少による印刷品質の劣化は発生しないと考えに基づくものである。
【0014】
【発明が解決しようとする課題】
確かに、電圧制御による印刷停止後に印刷が再開される場合には既に電源電圧は回復しているため、印刷を再開する時には分割印刷をしなくても、ヘッド駆動電流の低下に起因する印刷品質への影響は少ないと考えられる。しかし、従来技術のように印刷再開後は常に非分割印刷を行うとすると、分割印刷の途中に電圧低下による印刷停止が発生した場合には、印刷停止前後の印刷の状態が分割印刷から非分割印刷に変わるためにその境目に行方向の空隙ができ、全体として印刷斑が発生してしまう。
【0015】
図9を用いて説明する。図9(a)は、2分割印刷中に電圧低下による印刷停止状態が発生し、その後印刷再開した場合の印刷状態をイメージ的に示した平面図であり、図9(b)は、印刷斑の原因となる行方向の空隙をわかり易く示すために、図9(a)の破線で囲った部分Pを拡大した図である。
【0016】
図9からわかるように、2分割印刷では、1行のドットラインの印刷をヘッド駆動のタイミングをずらして2回に分けて行うため、先に印刷した部分(以下「前部分」という)71と後に印刷した部分(以下「後部分」と称す)72の境目に縦方向のずれ(分割境目の縦ずれ)が生じてしまう。2分割印刷状態が連続していれば、分割境目の全体が連続して縦ずれしているので、2分割印刷に伴なうこの縦ずれはあまり目立たない。しかし、2分割印刷から非分割印刷に切り替わる境目では、分割印刷において先に印刷した部分と非分割印刷部分との間に行方向の空隙76ができて、これが印刷全体から見た場合に印刷斑となってあらわれる。
【0017】
図9(b)は、2分割印刷の最中に電圧低下が発生したため印刷が一時停止され、その後印刷を再開した場合の印刷例を拡大して示している。停止直前の2分割印刷においては、1ドットラインが前部分印刷73と、後部分印刷74に分けて印刷されている。その後に電圧低下による印刷停止が発生し、電圧が回復するとそれ以後は、非分割印刷により1ドットラインの非分割印刷部分75全体が同時に印刷される。図9からわかるように、この場合には、2分割印刷の前部分印刷73と非分割印刷部分75との間に空隙76ができ、これにより、文字の途中に印刷斑ができる。電源電圧の低下が頻繁に起こって印刷停止が繰り返されると、分割印刷制御と1ドットライン印刷制御方式の切り換えが頻繁に発生する。このような印刷制御方式の切り換えが頻繁に起こると、空隙76による印刷斑が頻発し印刷品質が著しく低下することになる。
【0018】
本発明は、かかる問題点に鑑みて成されたものであり、分割印刷中に電圧制御等のような何らかの原因に基づく印刷停止があり、その原因回復後に引き続きその印刷を続行する場合に、印刷品質を劣化させることのない分割印刷制御装置及び制御方法を提供することを目的とする。
【0019】
【課題を解決するための手段】
本発明においては、上述の課題を達成するために、印刷停止時の印刷モード等の印刷条件等の記憶を印刷再開時点まで維持しておき、印刷の再開時に当該記憶維持している印刷条件を読み出して、印刷停止時と同一の印刷条件で印刷を再開するように構成した。
【0020】
本発明にかかる印刷制御方法の第1の実施態様は、印刷用紙の移送方向と直行するドット行方向に配列された複数の印刷ヘッドを有するラインプリンタにおいて、(a) 印刷データを構成するドットパターンのドット行の印刷ドット数を算出する工程と、(b) 算出した印刷ドット数を所定の基準値と比較し、比較結果に応じて、1ドット行を同時に印刷する非分割印刷モード又は1ドット行を複数に分割して印刷する分割印刷モードのいずれかの印刷モードを設定する工程と、(c) 印刷モードの設定に基づき分割印刷を行う場合、1ドット行を分割して各分割単位毎に印刷タイミングをずらして印刷する工程と、(d) 印刷中に所定の原因が発生したときに、印刷を一時停止する工程と、(e) 所定の復帰条件を満たしたときに、印刷停止時の印刷モードと同じ印刷モードで印刷を再開する工程とを備えることを特徴とする。
【0021】
本実施態様による印刷制御方法によれば、例えば、1行の文字列を構成する複数のドット行を分割印刷しているときに電源電圧の低下等による印刷の一時停止が発生したとしても、電源電圧が回復したときの印刷の再開時の印刷においては、分割印刷による印刷が行われる。従って、印刷停止の前後において印刷モードの変更はなく、全体として良好な印刷を得ることができる。このように印刷再開時に印刷停止時と同じ形式で印刷を再開する方法としては、印刷時に印刷モード等を記憶している場合には、その記憶を印刷停止後も引き続き維持しておく方法、又は、印刷時に印刷モード等を記憶していない場合には、印刷停止時に印刷モード等を記憶して印刷再開まで記憶維持するように構成する等の方法が可能である。
【0022】
また、上述の印刷制御方法において、印刷モードを設定する工程(b) が、所定の基準値を複数有しており、算出した印刷ドット数と各所定の基準値との比較結果に応じて複数の分割印刷モード又は非分割印刷モードのいずれか1つを設定するようにすることもできる。このような、複数の分割印刷モードを有する場合には、本発明は特に有用である。すなわち、複数の分割印刷モードが可能であると、各印刷停止時にそれぞれ異なる分割印刷モードで印刷されている可能性があるので、従来技術のように非分割印刷モードで印刷を再開すると、2分割印刷モードの場合よりさらに複雑な印刷斑が発生する可能性が高いからである。
【0023】
さらに、上述の印刷制御方法において、印刷ドット数を算出する工程(a) は、各ドット行毎の印刷ドット数を算出し、印刷モードを設定する工程(b) は、所定の印刷ドット数を超えるドット行が所定行数以上連続するか否かの判定結果により印刷モードを設定することも可能である。これにより、より正確なドット行単位の印刷ドット数の確認が可能となる。
【0024】
また、ドット行の印刷ドットパターンにより分割印刷モードとするか否かを判断する場合だけでなく、ヘッド駆動電流を基準に分割印刷モードの切換を判断する印刷制御方法をとる場合にも、本発明の適用は可能である。
【0025】
本発明の他の実施態様は、印刷用紙の幅方向に配列された複数の印刷ヘッドと、印刷ヘッドにより印刷する印刷データのドットパターンデータを記憶する印刷バッファとを有し、ドットパターンデータをドット行単位で印刷するラインプリンタの印刷制御装置であって、同時に駆動される前記複数の印刷ヘッドの総駆動電流値と所定の値とを比較し、当該比較結果に応じて非分割印刷モード、又は1ドット行を分割して印刷する分割印刷モードによる印刷かを設定する分割印刷制御手段と、記分割印刷制御手段により設定された印刷モードに対応する所定のタイミングで、印刷データの印刷ドットパターンに応じて選択された複数の前記印刷ヘッドを駆動するヘッド駆動制御手段と、印刷ヘッドを駆動するためのヘッド駆動電圧が第1の基準電圧以下となったときに印刷動作を一時停止させ、ヘッド駆動電圧が第2の基準電圧以上に回復したときに印刷動作を再開させるようにヘッド駆動手段を制御する電圧確認制御手段とを備え、分割印刷制御手段は、電圧確認制御手段の制御により印刷動作を停止した後に印刷を再開するときには、当該印刷動作の停止時と同じ印刷モードで印刷を再開するよう印刷モードの設定を維持することを特徴とするラインプリンタの印刷制御装置である。
【0026】
さらに本発明の他の実施態様は、印刷用紙の幅方向に配列された複数の印刷ヘッドと、印刷ヘッドで印刷する印刷データを記憶する印刷バッファと、各部に電力を供給する電源と、同時に駆動される複数の印刷ヘッドの総駆動電流値と所定の値とを比較し、当該比較結果に応じて非分割印刷モード、又は1ドット行を分割して印刷する分割印刷モードによる印刷かを確定する分割印刷制御手段と、分割印刷制御手段により確定された印刷モードに従って、印刷データの印刷ドットパターンに応じて選択された複数の前記印刷ヘッドを、所定のタイミングで駆動するヘッド駆動制御手段と、印刷ヘッドを駆動するためのヘッド駆動電圧が第1の基準電圧以下となったときに印刷動作を一時停止させ、前記ヘッド駆動電圧が第2の基準電圧以上に回復したときに印刷動作を再開させるように前記ヘッド駆動手段を制御する電圧確認制御手段とを備え、分割印刷制御手段が、電圧確認制御手段の制御により印刷動作を停止しその後に印刷を再開するときには、印刷動作の停止時と同じ印刷モードで印刷を行うよう印刷モードの設定を維持することを特徴とするラインプリンタである。
【0027】
【発明の実施の形態】
以下、図面を参照しつつ、本発明の実施形態を説明する。なお、以下に説明する実施形態は説明のためのものであり、本発明の範囲を制限するものではない。したがって、当業者であればこれらの各要素若しくは全要素をこれと均等なものに置換した実施形態を採用することが可能であり、それらの実施形態も本発明の範囲に含まれる。
【0028】
(印刷装置の制御部の基本構成)
図1は、販売時点管理端末装置(POS端末装置)または、パーソナルコンピュータ(PC)等に接続され、これらの制御に基づき所定の印刷を行うラインプリンタ2の基本構造を説明するブロック図である。尚、本明細書では、このようなプリンタが接続されるPOS端末装置の主制御装置又はPCのようにプリンタを制御する装置をホスト装置と呼ぶ。
【0029】
ラインプリンタは、ROM5及びRAM6等のメモリーに記憶された制御用プログラムに基づきCPU3が制御する。ホスト装置50から送信されたコマンドまたはデータは、通信インターフェース(通信I/F)4により受信されてCPU3の制御の下で、RAM6に記憶される。送信されたコマンドは、各種制御プログラム(図示せず)の制御により解析され、所定の処理が実行される。データの印刷、印字用紙の搬送等は、入出力インターフェース(入出力I/F)8を介して、制御データ及び印刷データ等が各種制御回路9、10(ゲートアレイ)等に送信されることにより実行される。印刷データは印刷機構11に送信されて、印刷制御回路9及びタイミングクロック(図示せず)の制御により、印刷される。搬送制御データは、搬送制御回路10に送信されて、用紙搬送機構12の動作を制御する。電源13は、印刷機構11、用紙搬送機構12及びその他の各部に電気エネルギーを供給する。電源13の電圧は、低電圧検出回路14により監視される。また、プリンタには、用紙の残量検出、用紙位置の検出、用紙ジャムの検出、インク残量の検出等を含む各種センサ16が設けられている。低電圧検出回路14及び各種センサ16の出力は、アナログ/デジタル変換器(A/D変換器)15によりデジタル信号に変換されて、入出力I/F8又は割込ポート(図示せず)を介してCPU3に伝達される。制御プログラムはこれらの出力信号の状態に応じて各種処理を実行する。尚、CPU3と通信I/F4、ROM5、RAM6、入出力I/F8間のデータの送受信はバス7を介して行われる。
【0030】
図2は、図1のCPU3、ROM5、RAM6、これらメモリに記憶されている制御プログラム(図示せず)及びゲートアレイ9,10により実行される機能をブロック構成として表した図1のプリンタ2の機能ブロック図である。図2では、本発明の説明に必要な機能のみを説明するための図であり、詳細は省略している。
【0031】
通信インターフェース4は、ホスト装置50から受信したコマンド等の制御データを主制御部22に送信するとともに、印刷データをドットパターンに展開して印刷バッファ21に記憶する。印刷バッファ21に記憶された印刷データは印刷制御部23に出力され、印刷制御部23の制御のもとで印刷機構11により印刷される。印刷の際には、主制御部22からの制御信号が搬送制御部24に送信され、搬送制御部24の制御により用紙搬送機構12が駆動されて印刷用紙が搬送される。電源13、低電圧検出回路14、各種センサ16、A/D変換器15の動作については、既に図1において説明した。
【0032】
(印刷の基本動作)
次に、印刷処理に関する各種の動作を説明する。以下に説明する各種処理動作の制御は、図1で説明したように、ROM5及びRAM6等に記載された制御プログラム及び制御データ等を用いて、CPU3及び所定のゲートアレイ9,10等により実行される。
【0033】
まず、図2及び図3を用いて印刷動作の全体的な動作について説明する。図3は、印刷動作の全体的な制御手順の1実施例を示すフローチャートである。印刷が起動されると、まず主制御部22(図2)から紙送りが起動され、搬送制御部24の制御の下で用紙搬送機構により印刷用紙の搬送を開始する(S101)。次に、印刷ヘッドに流す電流値を計算する等のために温度/電圧等の所定のデータを読み取る(S102)。適正な印刷品質を確保するため、読み取ったデータと紙送り速度/希望する印刷濃度等から印刷ヘッドに通電する時間を計算する(S103)。通電時間は、例えばサーマルプリントヘッドの場合には、当該印刷ヘッドの履歴(直前若しくは最近駆動されたかどうか、どのような色を印刷したかどうか等)及び、印刷する色等に応じて決定される。直前に印刷されているかどうか及び印刷された色によって駆動前の印刷ヘッドの温度が異なり、これから印刷しようとする色によって、発色に必要な印刷ヘッドの温度が異なるからである。通電時間の計算は本発明と直接の関係を有しないので、詳細な説明は省略する。通電時間の計算が終了すると、印刷するドットパターンデータをプリントバッファから印刷ヘッド部へ転送し、通電時間をセットして通電トリガをオンにする(S104)。通電トリガがオンになると、通電時間の計算により設定された時間だけ印刷ヘッドが駆動されて印刷が実行される。印刷中に電源電圧の低下、カバーオープン等の緊急停止事由が発生すると緊急停止する(S105;Yes)。緊急停止後は、緊急停止事由がなくなった時点で印刷が再開される(S101)。緊急停止事由がない場合には(S105;No)、印刷ヘッド駆動電流値のチェックを行い(S106)、1行の文字列又は記号列の印刷が終了しているかどうかを確認する(S107)。電流値チェックにより分割印刷するかどうかを判断するが、これにについては後述する。1行の文字列等の印刷が終了していない場合には(S107;No)、引き続き後続するドットラインの印刷を継続する(S102〜S107)。1行の文字列等の印刷が終了している場合には(S107;Yes)、引き続き印刷する文字列があるかどうかを確認し、次行がある場合には(S108;Yes)、印刷を継続する(S102〜S108)。次行がない場合には(S108;No)、印刷を終了する。
【0034】
(緊急停止制御)
プリンタは印刷の際中であっても、一定の事態が発生すると印刷を停止する。印刷を停止するときには、紙送り(用紙移送)を停止(スローダウン)するとともに印刷ヘッドの駆動を停止する。このような緊急停止を行うのは、カバーオープン、印字用紙又はインクが無くなったとき、前述したような電源電圧が低下した場合等である。
【0035】
本発明では、何らかの原因により印刷を一時停止し、印刷停止原因が解除されたときに印刷を再開する場合に生じる印刷の品質低下を問題としているが、本実施例では、典型的な例として、電圧降下による緊急停止の場合を用いて説明する。電圧降下の場合には、紙送り速度を減速しつつ用紙の搬送速度に同期して印刷を行いながら最終的に印刷動作を停止する。このように印刷を行いながら印刷動作を停止させるのは、電圧制御による一時停止は、電圧が回復した場合には継続して印刷続行することを前提としているからである。すなわち、印刷を再開したときに、印字停止部分から印字再開部分に印字用紙の制動距離分の隙間ができることを防止するためである。
【0036】
図4を用いて電圧制御について説明する。図4は、プリンタ2の電圧制御の処理手順の1実施例を示すフローチャートである。まず、低電圧検出回路14(図2)により、電源電圧のチェックが行われる(S201)。電源電圧が第1の基準電圧以上であれば(S202;No)、電源電圧は正常でありそのまま通常処理が実行される。電源電圧が第1の基準電圧以下であれば(S202;Yes)、主制御部22(図2)から搬送制御部24(図2)に用紙の搬送の停止を起動する信号が出力され、これに基づき搬送制御部24は、用紙搬送機構(図2)による印刷用紙の搬送を減速し停止させるよう制御する(S203)。同時に印刷用紙の搬送に同期しながらドットラインの印刷を行うように印刷タイミングを制御する(S204)。
【0037】
印刷用紙の搬送が終わるまで同様の動作を繰り返し(S205;No)、印刷用紙が停止すると((S205;Yes)、印刷停止時の印刷モードを維持しつつ(S206)電源電圧が第2の基準電圧以上に回復するのを待つ(S207)。電源電圧が第2の基準電圧以上に回復すると(S207;Yes)、印刷を再開するために用紙の搬送を開始する(図1のS101)。尚、ここでは印刷再開の条件として電源電圧が第2の基準電圧以上に回復したこととしたが(S207)、印刷の停止条件と同じ第1の基準電圧を基準にして印刷を再開するようにしてもよい。図4では、印刷モード維持(S206)として説明したが、これは積極的に維持する動作を行うことを必須とすることを意味するものではなく、消極的に直前の印刷モードをリセットしないことをも含む。
【0038】
(電流制御)
電流制御は、電源の能力以上の電流を継続して流さないようにするため、印刷ヘッドの駆動電流を所定値以下に抑制するための制御である。
【0039】
ラインドットプリンタでは、印刷用紙を移送しながら印刷するものであるので、横方向(印刷用紙の移送方向と直交する方向:行方向と称する)のドットの印刷は、行単位(1ドットライン)で同時に行うのが望ましい。しかし、行方向の印刷ドット数が所定の数を超えると、印刷ドットに対応する印刷ヘッドを全て同時に駆動するために同時に多くのヘッド駆動電流を供給する必要がある。このような状態が連続すると、要求される電流が電源の能力を超えることになり、電源の電圧降下を生じ、ヘッド駆動電流が低下して印字が薄くなる等の印字品質の劣化を招来することになる。そのため、電源の能力を超える印刷が要求されていると判断した場合には、1ドットラインの印刷を2分割以上にわけて印刷する。2分割印刷モードは1つのドットラインを、2つに分割した上で印刷タイミングをずらして印刷するものである。このような分割印刷では、できるだけ1ドットラインの印刷を1直線上に整列させるように印刷する必要がある。そこで、印刷タイミングのずれによる印刷ラインのずれを少なくするため、印刷用紙の搬送速度を落としてから2分割印刷を実行する。
【0040】
図5を用いて電流制御(分割印刷モードの切り替え)の処理手順を説明する。図5は電流制御の処理手順の1実施例を示すフローチャートである。電流制御においては、まずラインドットの印刷ドット密度の計算を行う(S301)。印刷ドット密度の計算については後述する。印刷密度の計算が終わると現在分割印刷モード中かどうかを確認し(S302)、分割印刷モード中でなければ(S302;No)、印刷ドット密度が第1の基準値以上かどうかを確認する(S303)。印刷ドット密度が第1の基準値以上の場合には(S303;Yes)、印刷ヘッドの駆動数が多すぎて消費電流が電源能力を超えると判断し、印刷モードが非分割印刷モードから分割印刷モードに切り換えられる(S304)。印刷ドット密度が第1の基準値以下の場合には(S303;No)、そのまま印刷が続行される。
【0041】
現在分割印刷モード中であれば(S302;Yes)、印刷密度が第2の基準値以下かどうかが確認される(S305)。印刷密度が第2の基準値以下であれば(S305;Yes)、1ドットラインの印刷のために駆動される印刷ヘッド数が所定数以下であり、その消費電力が電源能力以内であると判断されて非分割印刷モードへの切り換えが行われる(S306)。印刷密度が第2の基準値以上の場合には、分割印刷モードが維持される(S305;No)。第2の基準値は第1の基準値と同じ値であってもよい。
【0042】
図5では、1つの分割モードへの切り換えのみしか示していないが、印刷密度を複数の基準値と比較することにより、複数の分割モードへ選択的に切り換えるように構成することも可能である。
【0043】
図6を用いて、印刷制御部23における分割印刷の制御についてさらに詳細に説明する。図6は本発明の1実施例にかかる印刷制御部23の機能ブロック図である。印刷バッファ21に展開されたドットパターンデータが1ドットラインづつ印刷制御部23に送信される。送信された1ドットラインのドットパターンデータは、印刷ヘッド駆動制御手段30に入力されて印刷機構11により印刷されると同時に、分割モード判定手段31にも入力される。
【0044】
分割モード判定手段31は最近印刷されたドットの密度を算出し、算出したドットの密度から分割の是非を判定する。分割モード判定手段31の機能については、後程さらに詳細に説明する。分割モード判定手段31による分割印刷の判定結果は、判定信号として、分割制御手段32に入力される。分割制御手段32は分割モード切換手段33、分割モード設定手段34及び復帰判定手段35とを含んでいる。
【0045】
分割モード切換手段33は、分割モード判定手段31から送信された判定信号に応じて、分割モード設定手段34の分割印刷モードを設定を切り替えるモード切換信号を出力する。分割モード設定手段34は、分割モード切換手段33からの切換信号に応じて、分割印刷モード信号を印刷ヘッド駆動制御手段30に出力する。印刷ヘッド駆動制御手段30は、分割モード設定手段34からの分割モード信号で指定された分割印刷又は非分割印刷の実行するよう印刷機構11の印刷動作を制御する。
【0046】
分割モード設定手段34は、復帰判定手段35からの入力により、初期設定モードに復帰する。復帰判定手段35は、電源投入時リセット信号またはスリープモード信号のいずれかが入力されたときに復帰信号を出力し、分割モード設定手段34を初期設定する。すなわち、電源投入時又はスリープモードに入るとき以外の条件では分割印刷モードは初期設定されず、印刷が緊急停止されるときであっても設定されている分割印刷モードが維持される。したがって、従来技術のように、分割印刷モード中に電源電圧が低下して印刷を一時停止しても、印刷再開は引き続き同じ分割印刷モードで印刷が実行される。これにより、印刷停止時と印刷再開時の印刷斑の発生を防止することができる。
【0047】
尚、スリープモードとは、プリンタの動作が一定期間以上継続して停止している場合に、消費電力を節約する観点から必要最低限の電力だけを供給し、主要電力の供給を停止している状態をいう。このようなスリープモード状態に入るのは、印刷動作等が全て終了しているときであるので、分割印刷モードを初期設定して、次回の印刷からは非分割印刷モードにより印刷を開始しても、印刷斑は発生しない。
【0048】
低電圧検出回路14(図2)により、電源電圧の低下が検出されると、A/D変換器15を介して主制御部22に送信される。主制御部22は、電圧低下信号を受信すると、印刷停止信号37を印刷ヘッド駆動制御手段30及び搬送制御部24(図6には示さず)に送信する。印刷停止信号37を受信すると、搬送制御部24は印刷用紙の搬送を停止し、印刷ヘッド駆動制御手段30は印刷を停止する。実際には、印刷用紙の搬送を瞬間的に停止することはできないので、印刷用紙の搬送速度を減速させながら、印刷用紙の搬送速度に同期させてドットラインの印刷を行い、印刷用紙が停止した時点で印刷を完全に停止する。この場合の印刷のタイミング及び通電時間は、印刷用紙の搬送速度によって変化する。印刷のタイミングは、主制御部22から送信されるタイミング制御信号38によりタイミング制御手段36により制御される。
【0049】
次に、図7を用いて分割モードの判定について説明する。図7は、本発明の1実施例にかかる分割モード判定手段31の機能ブロック図を示す。印刷バッファ21から送信される1ドットラインの印刷データは、印刷のために印刷ヘッド駆動制御手段30に送信される一方、印刷ドットカウンタ42に送信される。印刷ドットカウンタ42は印刷バッファ21から送信されてきた1ドットラインの印刷ドット数をカウントするカウンタである。総カウンタ43は最新の10ドットライン中の印刷ドットの総数をカウントするカウンタである。
【0050】
印刷バッファ21から送信された1ドットラインのパターンデータが分割モード判定手段31においてでどのように処理されるかを順を追って説明する。印刷バッファ21から送信されたデータは、まず印刷ドットカウンタ42において印刷ドット数がカウントされる。印刷ドットカウンタ42でカウントした1ドットラインのカウント値は、加算手段39により、総カウンタ43のカウント値と加算されて、その加算結果が総カウンタ43に累積記憶される。今、電源を投入して印刷を開始したばかりであるとすると、この時点では総カウンタ43には何も記憶されていないので、総カウンタ43には最初の1ドットラインの印刷ドット数のみが記憶される。次に、総カウンタ43に記憶された総カウンタ値は、履歴バッファ41からの最も古いドットラインのカウント値が差し引かれる。本実施例では、履歴バッファ41は10ドットライン分のカウント値を記憶できるバッファであるものとする。このような履歴バッファ41はRAM6(図1)内に設けることができる。総カウンタ値から最も古いドットラインのカウント値を差し引くのは、総カウンタ43に最新の10ドットラインの印刷ドットの総カウント値を記憶しておくためである。印刷ドットカウンタ42のカウント値を履歴バッファ41の最新記憶部に記憶し、残りのカウント値を1つづつシフトして、一番古いカウント値を履歴バッファ41から追い出す。したがって、履歴バッファ41はファーストイン・ファーストアウト(FIFO)形式で構成するとよい。これにより、最新の1ドットラインカウントと最も古い1ドットラインカウントとが入れ替わり、最新の10ドットラインの印刷ドットカウントが1ドットライン毎に履歴バッファに記憶されていることになる。この様にして、総カウンタ43の値を常に最新の10ドットラインの印刷ドットの総カウンタの値に維持する。
【0051】
総カウンタ43に記憶されている総カウンタ値は、比較器44により第1の基準値と比較される。第1の基準値は電源の出力能力と1ドットラインの印刷ドット密度等により予め確定される。例えば、300ドット×10ドットラインに相当するドット印刷密度3000を第1の基準値とすると、総カウンタ値が3000になったときに、第1の比較器44から分割信号が出力される。第1の比較器44からの分割信号を受信した分割モード切換手段33は、分割モード設定手段34の設定が非分割モードであれば、設定を分割モードに切り替える。
【0052】
一方、分割設定時とは逆に、分割印刷の設定がなされた後に1ドットラインの印刷ドット数が所定数を超えない状態が連続した場合には、1ドットラインの印刷ドットに対応する印刷ヘッドを同時駆動しても電源能力を超えることはないため、同時印刷することが可能である。そのため、1ドットラインの印刷ドット数が所定数を超えない状態が所定の数の行だけ継続した場合には、非分割印字に戻すように構成するのが好ましい。この場合も分割の場合と同様に、印刷ドット数の数により、分割数を減少させるような処理形態とすることも可能である。
【0053】
また、分割印刷へ変更する場合と、非分割印刷等へ戻す場合の印刷ドット数及び連続する印刷行数は同じであっても異なっていてもよい。但し、あまり頻繁に分割印刷モードが切り替わると印刷の境目に印刷斑ができるので、分割印刷モード及び非分割モード間の頻繁な切換が行われないように設定することが望ましい。その観点からは、分割印刷モードから非分割印刷モードへの復帰条件は、非分割印刷から分割印刷への移行条件より厳しくすることが好ましい。
【0054】
このような観点から図7においては、印刷ドットカウンタ42のカウンタ値(1ドットラインの印刷ドットカウンタ値)は第2の比較器46において第2の基準値と比較している。例えば1ドットライン当たりの印刷ドット数が300ドット以下であることを条件とする場合には、第2の基準値が300と設定される。第2の比較器46による比較結果が第2の基準値以下である場合には、復帰カウンタ47のカウンタ値から1減算する。第2の基準値以上である場合には、初期化する。復帰カウンタ47には、第2の基準値未満のドットラインがどの位連続したら分割モードを非分割モードに復帰するかに応じて、予め所定の数値を設定しておく。例えば、第2の基準値未満のドットラインが80ドットライン連続した場合に分割モードを非分割モードに復帰させるとすると、復帰カウンタ47の初期値を80にセットする。復帰カウンタ47の値は第3の比較器48により比較されて、復帰カウンタ47が“0”になったかどうかが確認される。第3の比較器48により、復帰カウンタ47が“0”になったことが確認されると、分割モード切換手段33に復帰信号を出力する。今、分割印刷モード中であるとすると、分割モード設定手段34の設定を分割印刷モードから非分割モードに変更する。
【0055】
以上の説明からわかるように、この実施例では、1ドットラインあたりの印刷ドット数が300ドットを超える状態が10ドットライン継続するとき又は総カウンタ値が3000を超えたときに2分割モードに切り替える。また、分割印刷モードのときには、1ドットラインの印刷ドットが300ドット未満の印刷が80ドットライン連続した場合に限り非分割モードに復帰し、その途中で1度でも300ドットを超えるドットラインがあると、分割印刷モードを維持する構成となっている。しかし、当業者に明らかなとおり、1ドットライン当たりの印刷ドット数(印刷密度)及び、そのような印刷密度がどの位連続した場合に分割モードに切換、又は非分割モードに復帰するかは、電源の能力等を勘案して自由に設定することが出来る事項である。すなわち、分割印刷するかどうかは、基本的には、同時に駆動される印刷ヘッドが所定数を超える状態が所定時間または所定量以上連続したかどうかにより判定する。具体的には、印刷密度が所定値を超えたかどうか又は所定の印刷密度を超えたドットラインが所定の数だけ連続したかどうか等に基づいて判定する。分割印刷制御は、2分割印刷に限定することなく、印刷密度と電源の出力能力を勘案して、3分割、4分割又は5分割等にすることができる。この場合に、印刷密度に応じて分割の種類を自動的に選択するように構成することも可能である。
【0056】
また、図7の実施例では、第1の基準値以上のドットラインが連続して発生しなくても、10ドットライン当たりの総カウンタ値が3000を超えた場合には、分割印刷モードに切り替えるような構成としたが、復帰処理の場合と同様の構成を採用することにより、1ドットライン当たりの印刷ドット数が第1の基準値を超える状態が連続して継続した場合に限り、分割印刷モードに変更するように構成することも可能である。さらに、分割印刷モードを複数段階に分けて、印刷密度に応じて、分割印刷モードを選択的に設定するように構成することも可能である。
【0057】
また、本明細書の実施例では、電圧制御に基づく印刷停止と印刷再開時における印刷斑のみを説明したが、電圧制御に限定することなく、分割印刷中の印刷の一時停止と印刷再開の処理の場合には、同様に適用可能である。
【0058】
(分割印刷モードの解除と電圧制御の関係)
分割モード設定手段34(図7)に分割印刷モードが設定されている限り、分割印刷が持続される。分割印刷モードは、分割モード切換手段33からの非分割への切換信号または、復帰判定手段35からの復帰信号を受信したときに解除される。従って、一度設定された分割モードは、分割モード判定手段31により印刷密度が低下したとの判定がされるか、復帰判定手段35により復帰信号が出力されない限り、維持される。復帰判定手段35は、所定の条件を受信したときに限り分割モードを初期設定値に復帰させる。本発明では、従来技術と異なり、電圧低下に伴なう印刷停止の場合には、復帰手段12は、分割設定部を解除しない。本発明の実施例においては、復帰判定手段35は、スリープモード、電源のオン/オフ時のリセット信号の場合にのみ復帰信号を出力する。従って、電圧低下による印刷の一時停止後に印刷を再開する場合も、引き続き分割印刷が継続される。そのため従来技術のように印刷停止前後の印刷の行間には空隙はできず、電圧低下による印刷停止が頻繁に発生しても印刷斑は発生しない。
【0059】
【発明の効果】
以上説明したように本発明によれば、分割印刷モード中の電圧低下により印刷を一時停止し、電圧回復後に印刷を再開する場合には引き続き印刷停止時と同じ分割モードで印刷を再開するようにしたことにより、分割印刷モードと非分割モードの境目に生じる印刷斑の発生を防止することができるようになった。
【図面の簡単な説明】
【図1】ラインプリンタ2の基本構造を説明するブロック図である。
【図2】CPU3、ROM5、RAM6、これらのメモリに記憶されている制御プログラム(図示せず)、及びゲートアレイ9,10により実行される各種の機能をブロック構成として表した図1のプリンタ2の機能ブロック図である。
【図3】ラインプリンタ2の印刷動作の制御手順の1実施例を示すフローチャートである。
【図4】プリンタ2の電圧制御の処理手順の1実施例を示すフローチャートである。
【図5】プリンタ2の電流制御の処理手順の1実施例を示すフローチャートである。
【図6】本発明の1実施例にかかる印刷制御部23の機能ブロック図である。
【図7】本発明の1実施例にかかる分割モード判定手段31の機能ブロック図を示す。
【図8】ドットラインプリンタによる印刷を説明するための図である。
【図9】(a)は、2分割印刷中に電圧低下による印刷停止状態が発生し、その後印刷再開した場合の印刷状態をイメージ的に示した平面図であり、(b)は、印刷斑の原因となる行方向の空隙をわかり易く示すために、(a)の破線で囲った部分Pを拡大した図である。
【符号の説明】
2 ラインプリンタ
23 印刷制御部
32 分割制御手段
35 復帰判定手段
60 印刷ヘッド部
70 印刷用紙
71 先に印刷した部分(前部分)
72 後に印刷した部分(後部分)
73 前部分印刷
74 後部分印刷
75 非分割印刷部分
76 空隙
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a print control apparatus and a print control method for preventing deterioration in print quality due to fluctuations in power supply voltage in a line printer in which a plurality of print heads are arranged in the print row direction.
[0002]
[Prior art]
In a dot printer, characters, symbols, pictures and the like are printed as a continuous collection (dot pattern) of fine dots. In actual printing, for example, in a dot line printer, a dot pattern of each character constituting one line is gathered for one line, and a plurality of lines are arranged in the width direction of the printing paper (one dot dot). Line is called a dot line or dot line), and the dot pattern is expanded from the top for each dot line by a print head arranged over the entire width (range) of the dot line. Printing is sequentially performed to complete the printing of one line of characters. Specifically, printing is executed by driving a plurality of print heads aligned in the row direction for each dot line corresponding to a dot pattern while transferring printing paper. First, the dot line of the first line is printed, and the next dot line is printed when the printing paper moves by a predetermined amount. Printing of the row or symbol row is completed.
[0003]
FIG. 8 is a diagram for explaining printing by the dot line printer as described above. The print head unit 60 is provided with a plurality of print heads (not shown) arranged in parallel in the paper width direction so that all dots in the width direction of the print paper can be printed. The printing paper 70 is transferred in the arrow “X” direction by a paper transport mechanism (not shown). As shown in the printing example of the character string “ABCDE... OPQ” in two lines in FIG. 8, while printing paper is transferred in the direction of the arrow “X”, the dots of data to be printed are printed. This is executed by driving each print head of the print head unit 60 corresponding to the pattern (one dot line).
[0004]
In general, a thermal print head, an ink ejection print head including an inkjet head, an impact print head, or the like is used as the print head. In the thermal print head, printing is performed by passing an electric current through a heating element and melting the ink of the thermal paper or the thermal transfer ribbon by thermal energy. In an ink ejection type print head, printing is performed by ejecting ink droplets onto a printing paper by a displacement due to a piezoelectric element or an instantaneous expansion of air due to heat generation.
[0005]
In printing with a line printer, if all the dot line print heads are driven at the same time, the dot lines in the width direction of the printing paper can be aligned and printed on one straight line, and the control for printing can be simplified, and the printing speed can be increased. There is a merit that it can be raised.
[0006]
However, in the method of printing one dot line at the same time, a large head driving current may be required when many print heads are driven at the same time. For example, in the case of linear printing over the entire printing paper width, all the print heads are driven simultaneously. Also, in the case of reversed character printing, dots are printed in the blank area in normal printing, and the portion that constitutes the character is blank, so the print dot density per dot line is extremely high compared to normal characters. To be high. For this reason, hundreds of print heads are driven simultaneously, and a large current may flow for simultaneous printing of one dot line. In line printer printing, not only the print head is driven, but also the printing paper is simultaneously transferred, so that a driving current for transferring the paper is also required. Therefore, it is desirable that the power source of the printer has a capability of supplying a maximum current that can cope with them.
[0007]
If a state where a current supply exceeding the power supply capability of the printer is required continues, the power supply cannot supply a sufficient current and the voltage drops. When the power supply voltage decreases, the drive current of the print head also decreases. In the case of straight line or ruled line printing, there is usually only one dot line printing, so there is little effect on the power supply voltage, but in the case of reversed characters, etc., high-density dot line printing continues, so power supply capability The voltage drop due to the continuous supply of current exceeding 1 becomes a problem.
[0008]
When the voltage applied to the print head is reduced and the print head drive current is reduced, the thermal print head generates less heat and the print becomes lighter. The ink ejection print head ejects ink droplets accurately. There is a risk of degrading the print quality, such as being unable to do so.
[0009]
Therefore, in order to ensure proper print quality, it is desirable that the power source of the line printer has a sufficient output capability that can cope with the above operating conditions. However, in actual printer operation, not all print heads are driven at the same time. That is, high-density printing that causes problems as described above is performed in the case of printing of straight lines, ruled lines, or reversed characters, etc., but printing of straight lines and ruled lines is printing of one dot line, so there is little influence on the power supply. Special printing such as reverse characters is not performed very often. Nevertheless, it is not always preferable to use a power supply having a high output capability that can cope with such a situation in terms of cost performance of the printer.
[0010]
Therefore, as a printing method that can maintain an appropriate print quality even under severe operating conditions (reversed character printing, etc.) while using a power supply with an output capability necessary for normal printing, printing 1 dot line is 2 A method of printing in divided times is adopted. This is a printing method in which the drive timing of the print head on one dot line is divided into a plurality of printings (in this specification, a method in which printing of one dot line is divided in this way is called a divided printing control method). According to this method, since the number of print heads that are driven simultaneously is less than half, the required maximum head drive current can be suppressed to less than half. Therefore, it becomes possible to reduce the output capability of the power supply of the printer (in this way, controlling to perform divided printing according to the head drive current may be referred to as “current control”).
[0011]
On the other hand, even if the print timing is divided into two and the print head drive current required at the same time is suppressed, the power supply will be affected by the printing paper conveyance status, the influence of fluctuations in the voltage supplied from the outside, and the power supply failure. A voltage drop can occur. When the power supply voltage is lowered, as described above, the print quality such as thinning of the print may be deteriorated. Therefore, control for dealing with the voltage drop is necessary in addition to the current control. Therefore, there is a line printer that controls to forcibly suspend printing when the voltage drops and resume printing when the voltage recovers (such control is referred to as “voltage control”).
[0012]
Normally, in a divided printing control type printer, it is determined whether or not the dividing condition is met from the number of print heads that are simultaneously driven, and divided printing is executed if the dividing condition is met. . Although it is possible to adopt a configuration in which division printing is executed from the initial setting mode, it is common to perform non-division printing immediately after the power is turned on. That is, in the initial state, print pattern data for one dot line is printed simultaneously for one dot line, and division printing is executed by shifting the print timing when the division printing condition is satisfied. For example, a plurality of print heads for one dot line are driven twice to execute two-division printing.
[0013]
On the other hand, the power supply voltage is also monitored from the viewpoint of ensuring print quality, and when the voltage drops, the conveyance of the printing paper is stopped and the drive of the print head is stopped. Printing resumes when the voltage recovers to a predetermined level. Printing is resumed in the initial setting mode. That is, when the initial setting mode is non-division printing, non-division printing is executed when resuming printing even if printing immediately before the stop of printing is the division printing mode. In this way, printing in the initial setting mode when restarting is a condition for restarting that the power supply voltage has recovered normally.In this case, even if non-split printing is performed, the print quality due to current reduction is reduced. This is based on the idea that no deterioration occurs.
[0014]
[Problems to be solved by the invention]
Certainly, if the printing is resumed after the printing is stopped by voltage control, the power supply voltage has already been recovered. Therefore, even if the divided printing is not performed when the printing is resumed, the printing quality caused by the decrease in the head drive current There is little impact on However, if non-split printing is always performed after resuming printing as in the prior art, if a print stop occurs due to a voltage drop during split printing, the print status before and after the print stop changes from split printing to non-split printing. Since it changes to printing, a gap in the row direction is formed at the boundary, and printing spots are generated as a whole.
[0015]
This will be described with reference to FIG. FIG. 9A is a plan view conceptually showing a printing state when a printing stop state due to a voltage drop occurs during two-division printing and printing is resumed, and FIG. 9B shows a printing spot. FIG. 10 is an enlarged view of a portion P surrounded by a broken line in FIG.
[0016]
As can be seen from FIG. 9, in the two-division printing, printing of one dot line is performed in two times with the head drive timing being shifted, so that a previously printed portion (hereinafter referred to as “front portion”) 71 and A vertical shift (vertical shift at the division boundary) occurs at the boundary between the portions printed later (hereinafter referred to as “rear portions”) 72. If the two-divided printing state is continuous, since the entire dividing boundary is continuously shifted in the vertical direction, this vertical shift due to the two-divided printing is not so conspicuous. However, at the boundary between the two-division printing and the non-division printing, a gap 76 in the row direction is formed between the previously printed portion and the non-division printing portion in the division printing. Appears.
[0017]
FIG. 9B shows an enlarged print example in which printing is temporarily stopped because voltage drop occurs during two-division printing and printing is resumed thereafter. In the two-division printing just before the stop, one dot line is printed separately for the front partial print 73 and the rear partial print 74. Thereafter, printing stops due to a voltage drop, and when the voltage recovers, thereafter, the entire non-divided printing portion 75 of one dot line is simultaneously printed by non-dividing printing. As can be seen from FIG. 9, in this case, a gap 76 is formed between the front partial printing 73 and the non-divided printing portion 75 of the two-division printing, thereby causing printing spots in the middle of the characters. If the power supply voltage is frequently lowered and printing is repeatedly stopped, switching between divided printing control and 1-dot line printing control method frequently occurs. When such switching of the printing control method frequently occurs, printing spots due to the gaps 76 frequently occur, and the printing quality is significantly deteriorated.
[0018]
The present invention has been made in view of such a problem, and there is a printing stop based on some cause such as voltage control during divided printing, and when the printing is continued after the cause is recovered, the printing is performed. An object of the present invention is to provide a divided printing control device and a control method that do not deteriorate the quality.
[0019]
[Means for Solving the Problems]
In the present invention, in order to achieve the above-described problem, the storage of the printing conditions such as the printing mode at the time of printing stop is maintained until the printing resumption time, and the printing conditions maintained at the time of resuming the printing are maintained. It was configured to read out and resume printing under the same printing conditions as when printing was stopped.
[0020]
A first embodiment of a print control method according to the present invention is a line printer having a plurality of print heads arranged in a dot row direction orthogonal to a print paper transport direction, and (a) a dot pattern constituting print data A step of calculating the number of printed dots in a dot line, and (b) a non-split printing mode in which the calculated number of printed dots is compared with a predetermined reference value, and one dot line is simultaneously printed according to the comparison result, or one dot A step of setting one of the divided printing modes for dividing the line into a plurality of prints, and (c) when performing divided printing based on the setting of the print mode, dividing one dot line for each division unit (D) a step of temporarily stopping printing when a predetermined cause occurs during printing, and (e) when printing is stopped when a predetermined return condition is satisfied. Same as print mode And a step of restarting printing in the same print mode.
[0021]
According to the printing control method according to the present embodiment, for example, even when printing is temporarily stopped due to a decrease in power supply voltage or the like when a plurality of dot lines constituting one character string are divided and printed, the power supply In printing at the time of resuming printing when the voltage is restored, printing by divided printing is performed. Therefore, there is no change in the print mode before and after the stop of printing, and good printing can be obtained as a whole. As a method of resuming printing in the same format as when printing is stopped when resuming printing as described above, if the print mode or the like is stored at the time of printing, the method of maintaining the storage even after the printing is stopped, or If the print mode or the like is not stored at the time of printing, a method of storing the print mode or the like when the printing is stopped and maintaining the storage until the printing is resumed is possible.
[0022]
Further, in the above-described print control method, the step (b) of setting the print mode has a plurality of predetermined reference values, and a plurality of values are set according to the comparison result between the calculated number of print dots and each predetermined reference value. Any one of the divided printing mode and the non-divided printing mode can be set. The present invention is particularly useful when such a plurality of divided printing modes are provided. That is, if a plurality of divided printing modes are possible, there is a possibility that printing is performed in different divided printing modes when each printing is stopped. Therefore, when printing is resumed in the non-divided printing mode as in the prior art, two divisions are performed. This is because there is a high possibility that more complicated printing spots will occur than in the printing mode.
[0023]
Further, in the print control method described above, the step (a) of calculating the number of print dots calculates the number of print dots for each dot row, and the step (b) of setting the print mode sets the predetermined number of print dots. It is also possible to set the print mode according to the determination result of whether or not more than a predetermined number of dot lines continue. As a result, it is possible to check the number of printed dots in a more accurate dot row unit.
[0024]
Further, the present invention is applicable not only when determining whether or not to set the divided print mode based on the print dot pattern of the dot row, but also when using a print control method for determining switching of the divided print mode based on the head drive current. Can be applied.
[0025]
Another embodiment of the present invention includes a plurality of print heads arranged in the width direction of the printing paper and a print buffer for storing dot pattern data of print data to be printed by the print head. A print control device for a line printer that prints in line units, and compares a total drive current value of the plurality of print heads that are driven simultaneously with a predetermined value, and depending on the comparison result, a non-split print mode, or A divided print control unit that sets whether to print in a divided print mode that divides and prints one dot line, and a print dot pattern of print data at a predetermined timing corresponding to the print mode that is set by the divided print control unit The head drive control means for driving the plurality of print heads selected in response to the head drive voltage for driving the print head is a first reference. Voltage check control means for controlling the head driving means to temporarily stop the printing operation when the pressure is lower than the pressure, and to resume the printing operation when the head driving voltage is restored to the second reference voltage or higher, The division print control means maintains the print mode setting so that the print is resumed in the same print mode as when the print operation is stopped when the print operation is resumed after the print operation is stopped by the control of the voltage confirmation control means. This is a print control apparatus for a line printer.
[0026]
In another embodiment of the present invention, a plurality of print heads arranged in the width direction of the print paper, a print buffer for storing print data to be printed by the print head, a power source for supplying power to each unit, and a drive simultaneously The total drive current value of a plurality of print heads to be compared is compared with a predetermined value, and whether to print in the non-divided print mode or the divided print mode in which one dot row is divided and printed is determined according to the comparison result. Division print control means, head drive control means for driving the plurality of print heads selected according to the print dot pattern of the print data at a predetermined timing according to the print mode determined by the division print control means, and printing When the head driving voltage for driving the head becomes equal to or lower than the first reference voltage, the printing operation is temporarily stopped, and the head driving voltage becomes equal to or higher than the second reference voltage. Voltage check control means for controlling the head drive means so that the printing operation is resumed when recovered, and the divided print control means stops the printing operation under the control of the voltage check control means and then resumes printing. In some cases, the line printer is characterized in that the print mode setting is maintained so that printing is performed in the same print mode as when the printing operation is stopped.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, embodiment described below is for description and does not limit the scope of the present invention. Therefore, those skilled in the art can adopt embodiments in which each of these elements or all of the elements are replaced with equivalent ones, and those embodiments are also included in the scope of the present invention.
[0028]
(Basic configuration of the control unit of the printing device)
FIG. 1 is a block diagram illustrating the basic structure of a line printer 2 connected to a point-of-sale management terminal device (POS terminal device) or a personal computer (PC) and performing predetermined printing based on these controls. In this specification, an apparatus for controlling a printer such as a main controller of a POS terminal apparatus or a PC to which such a printer is connected is called a host apparatus.
[0029]
The line printer is controlled by the CPU 3 based on a control program stored in a memory such as the ROM 5 and the RAM 6. The command or data transmitted from the host device 50 is received by the communication interface (communication I / F) 4 and stored in the RAM 6 under the control of the CPU 3. The transmitted command is analyzed under the control of various control programs (not shown), and predetermined processing is executed. Data printing, printing paper conveyance, and the like are performed by transmitting control data and print data to various control circuits 9 and 10 (gate array) via an input / output interface (input / output I / F) 8. Executed. The print data is transmitted to the printing mechanism 11 and printed under the control of the print control circuit 9 and a timing clock (not shown). The conveyance control data is transmitted to the conveyance control circuit 10 and controls the operation of the paper conveyance mechanism 12. The power supply 13 supplies electrical energy to the printing mechanism 11, the paper transport mechanism 12, and other components. The voltage of the power supply 13 is monitored by the low voltage detection circuit 14. The printer is also provided with various sensors 16 including detection of the remaining amount of paper, detection of the paper position, detection of paper jam, detection of the remaining amount of ink, and the like. The outputs of the low-voltage detection circuit 14 and the various sensors 16 are converted into digital signals by an analog / digital converter (A / D converter) 15 and input / output I / F 8 or an interrupt port (not shown). Is transmitted to the CPU 3. The control program executes various processes according to the states of these output signals. Data transmission / reception between the CPU 3 and the communication I / F 4, the ROM 5, the RAM 6, and the input / output I / F 8 is performed via the bus 7.
[0030]
2 is a block diagram showing the functions of the CPU 3, ROM 5, RAM 6 in FIG. 1, the control program (not shown) stored in these memories, and the functions executed by the gate arrays 9, 10. It is a functional block diagram. FIG. 2 is a diagram for explaining only functions necessary for describing the present invention, and details are omitted.
[0031]
The communication interface 4 transmits control data such as a command received from the host device 50 to the main control unit 22 and develops the print data into a dot pattern and stores it in the print buffer 21. The print data stored in the print buffer 21 is output to the print control unit 23 and printed by the printing mechanism 11 under the control of the print control unit 23. At the time of printing, a control signal from the main control unit 22 is transmitted to the conveyance control unit 24, and the paper conveyance mechanism 12 is driven by the control of the conveyance control unit 24 to convey the printing paper. The operations of the power supply 13, the low voltage detection circuit 14, the various sensors 16, and the A / D converter 15 have already been described with reference to FIG.
[0032]
(Basic printing operation)
Next, various operations related to print processing will be described. The control of various processing operations described below is executed by the CPU 3 and the predetermined gate arrays 9 and 10 using the control program and control data described in the ROM 5 and RAM 6 as described with reference to FIG. The
[0033]
First, the overall operation of the printing operation will be described with reference to FIGS. FIG. 3 is a flowchart showing one embodiment of the overall control procedure of the printing operation. When printing is started, first, paper feeding is started from the main control unit 22 (FIG. 2), and under the control of the conveyance control unit 24, conveyance of printing paper is started by the paper conveyance mechanism (S101). Next, predetermined data such as temperature / voltage is read in order to calculate a current value to be passed through the print head (S102). In order to ensure proper print quality, the time for energizing the print head is calculated from the read data and the paper feed speed / desired print density (S103). For example, in the case of a thermal print head, the energization time is determined according to the history of the print head (whether it was driven immediately before or recently, what color was printed, etc.), the color to be printed, and the like. . This is because the temperature of the print head before driving differs depending on whether printing has been performed immediately before and on the printed color, and the temperature of the print head necessary for color development varies depending on the color to be printed. Since the calculation of the energization time does not have a direct relationship with the present invention, a detailed description is omitted. When the calculation of the energization time is completed, the dot pattern data to be printed is transferred from the print buffer to the print head unit, the energization time is set, and the energization trigger is turned on (S104). When the energization trigger is turned on, the print head is driven for the time set by the calculation of the energization time, and printing is executed. If an emergency stop event such as a drop in power supply voltage or cover open occurs during printing, the emergency stop occurs (S105; Yes). After the emergency stop, printing is resumed when there is no longer an emergency stop event (S101). If there is no emergency stop reason (S105; No), the print head drive current value is checked (S106), and it is confirmed whether printing of one line of character string or symbol string has been completed (S107). Whether or not to perform divided printing is determined by current value check, which will be described later. If printing of one line of character string or the like has not been completed (S107; No), the subsequent dot line printing is continued (S102 to S107). If printing of one line of character string or the like has been completed (S107; Yes), it is checked whether there is a character string to be continuously printed. If there is a next line (S108; Yes), printing is performed. Continue (S102 to S108). If there is no next line (S108; No), printing is terminated.
[0034]
(Emergency stop control)
Even during printing, the printer stops printing when a certain situation occurs. When stopping printing, the paper feed (paper transport) is stopped (slow down) and the drive of the print head is stopped. Such an emergency stop is performed when the cover is open, when printing paper or ink runs out, or when the power supply voltage is lowered as described above.
[0035]
In the present invention, printing is temporarily stopped for some reason, and there is a problem of print quality degradation that occurs when printing is resumed when the cause of printing stop is canceled. In this embodiment, as a typical example, An explanation will be given using an emergency stop due to a voltage drop. In the case of a voltage drop, the printing operation is finally stopped while printing is performed in synchronization with the paper transport speed while the paper feed speed is reduced. The reason why the printing operation is stopped while performing printing is that the temporary stop by voltage control is based on the premise that the printing is continued when the voltage is recovered. In other words, when printing is resumed, a gap corresponding to the braking distance of the printing paper is prevented from being formed from the printing stop portion to the printing resumption portion.
[0036]
The voltage control will be described with reference to FIG. FIG. 4 is a flowchart showing one embodiment of the voltage control processing procedure of the printer 2. First, the power supply voltage is checked by the low voltage detection circuit 14 (FIG. 2) (S201). If the power supply voltage is equal to or higher than the first reference voltage (S202; No), the power supply voltage is normal and normal processing is executed as it is. If the power supply voltage is equal to or lower than the first reference voltage (S202; Yes), the main control unit 22 (FIG. 2) outputs a signal for starting the conveyance stop of the sheet to the conveyance control unit 24 (FIG. 2). Based on the above, the conveyance control unit 24 controls to decelerate and stop the conveyance of the printing paper by the paper conveyance mechanism (FIG. 2) (S203). At the same time, the printing timing is controlled so as to print the dot lines while synchronizing with the conveyance of the printing paper (S204).
[0037]
The same operation is repeated until the conveyance of the printing paper is finished (S205; No). When the printing paper is stopped ((S205; Yes), the printing mode at the time of the printing stop is maintained (S206), and the power supply voltage is the second reference. It waits for the voltage to recover above the voltage (S207) When the power supply voltage recovers above the second reference voltage (S207; Yes), the conveyance of the paper is started to resume printing (S101 in FIG. 1). In this case, the power supply voltage has recovered to the second reference voltage or more as a condition for resuming printing (S207). However, printing is resumed based on the same first reference voltage as the printing stop condition. 4, the print mode maintenance (S206) has been described, but this does not mean that it is essential to perform the active maintenance operation, and the previous print mode is passively performed. Including that it does not reset.
[0038]
(Current control)
The current control is a control for suppressing the drive current of the print head to a predetermined value or less in order not to continuously flow a current exceeding the capacity of the power source.
[0039]
In a line dot printer, printing is performed while transporting printing paper. Therefore, printing of dots in the horizontal direction (direction orthogonal to the printing paper transport direction: referred to as row direction) is performed in line units (one dot line). It is desirable to do it simultaneously. However, if the number of print dots in the row direction exceeds a predetermined number, it is necessary to supply a large number of head drive currents simultaneously to drive all the print heads corresponding to the print dots at the same time. If such a state continues, the required current will exceed the capacity of the power supply, causing a voltage drop in the power supply, leading to deterioration in print quality such as a decrease in head drive current and thin print. become. For this reason, when it is determined that printing exceeding the capacity of the power supply is required, printing of one dot line is divided into two or more parts. In the two-division printing mode, one dot line is divided into two, and printing is performed while shifting the printing timing. In such divided printing, it is necessary to print so that one dot line is aligned on one straight line as much as possible. Therefore, in order to reduce the deviation of the printing line due to the deviation of the printing timing, the two-division printing is executed after the conveyance speed of the printing paper is lowered.
[0040]
A processing procedure of current control (switching of divided printing mode) will be described with reference to FIG. FIG. 5 is a flowchart showing one embodiment of a current control processing procedure. In the current control, first, the print dot density of line dots is calculated (S301). The calculation of the print dot density will be described later. When the calculation of the print density is completed, it is confirmed whether or not it is currently in the divided print mode (S302). If it is not in the divided print mode (S302; No), it is confirmed whether or not the print dot density is equal to or higher than the first reference value (S302). S303). When the print dot density is equal to or higher than the first reference value (S303; Yes), it is determined that the number of print heads driven is too large and the current consumption exceeds the power supply capacity, and the print mode is divided from the non-split print mode. The mode is switched (S304). If the print dot density is less than or equal to the first reference value (S303; No), printing continues.
[0041]
If it is currently in the divided printing mode (S302; Yes), it is confirmed whether the printing density is equal to or lower than the second reference value (S305). If the print density is less than or equal to the second reference value (S305; Yes), it is determined that the number of print heads driven for printing one dot line is less than or equal to a predetermined number and the power consumption is within the power supply capacity. Then, switching to the non-split printing mode is performed (S306). When the printing density is equal to or higher than the second reference value, the divided printing mode is maintained (S305; No). The second reference value may be the same value as the first reference value.
[0042]
FIG. 5 shows only switching to one division mode, but it is also possible to selectively switch to a plurality of division modes by comparing the print density with a plurality of reference values.
[0043]
The division printing control in the printing control unit 23 will be described in more detail with reference to FIG. FIG. 6 is a functional block diagram of the print control unit 23 according to one embodiment of the present invention. The dot pattern data developed in the print buffer 21 is transmitted to the print control unit 23 one dot line at a time. The transmitted dot pattern data of one dot line is input to the print head drive control unit 30 and printed by the printing mechanism 11, and at the same time is input to the division mode determination unit 31.
[0044]
The division mode determination unit 31 calculates the density of recently printed dots, and determines whether or not to divide from the calculated dot density. The function of the division mode determination unit 31 will be described in more detail later. The determination result of the division printing by the division mode determination unit 31 is input to the division control unit 32 as a determination signal. The division control unit 32 includes a division mode switching unit 33, a division mode setting unit 34, and a return determination unit 35.
[0045]
The division mode switching unit 33 outputs a mode switching signal for switching the setting of the division print mode of the division mode setting unit 34 in accordance with the determination signal transmitted from the division mode determination unit 31. The division mode setting unit 34 outputs a division print mode signal to the print head drive control unit 30 in response to the switching signal from the division mode switching unit 33. The print head drive control unit 30 controls the printing operation of the printing mechanism 11 to execute divided printing or non-divided printing designated by the division mode signal from the division mode setting unit 34.
[0046]
The division mode setting unit 34 returns to the initial setting mode in response to an input from the return determination unit 35. The return determination means 35 outputs a return signal when either a power-on reset signal or a sleep mode signal is input, and initializes the division mode setting means 34. That is, the divided print mode is not initially set under conditions other than when the power is turned on or when the sleep mode is entered, and the set divided print mode is maintained even when printing is urgently stopped. Therefore, even if the power supply voltage is lowered during the divided printing mode and printing is temporarily stopped as in the prior art, printing resumes in the same divided printing mode. Thereby, it is possible to prevent the occurrence of printing spots when printing is stopped and when printing is resumed.
[0047]
Note that the sleep mode means that when the printer operation has been stopped for a certain period or longer, only the minimum necessary power is supplied and the main power supply is stopped from the viewpoint of saving power consumption. State. The sleep mode state is entered when all printing operations and the like have been completed. Therefore, even if the divided print mode is initially set and printing is started in the non-split print mode from the next printing, , Printing spots do not occur.
[0048]
When the low voltage detection circuit 14 (FIG. 2) detects a drop in the power supply voltage, it is transmitted to the main control unit 22 via the A / D converter 15. When receiving the voltage drop signal, the main control unit 22 transmits a print stop signal 37 to the print head drive control unit 30 and the conveyance control unit 24 (not shown in FIG. 6). When the print stop signal 37 is received, the conveyance control unit 24 stops conveyance of the printing paper, and the print head drive control unit 30 stops printing. Actually, since the printing paper transport cannot be stopped instantaneously, the dot paper is printed in synchronization with the printing paper conveyance speed while the printing paper conveyance speed is reduced, and the printing paper stops. Stop printing completely at that point. In this case, the printing timing and energization time vary depending on the conveyance speed of the printing paper. The timing of printing is controlled by the timing control means 36 by a timing control signal 38 transmitted from the main control unit 22.
[0049]
Next, division mode determination will be described with reference to FIG. FIG. 7 shows a functional block diagram of the split mode determination means 31 according to one embodiment of the present invention. The print data for one dot line transmitted from the print buffer 21 is transmitted to the print head drive control means 30 for printing, and is also transmitted to the print dot counter 42. The print dot counter 42 is a counter that counts the number of print dots of one dot line transmitted from the print buffer 21. The total counter 43 is a counter that counts the total number of print dots in the latest 10 dot lines.
[0050]
How the pattern data of one dot line transmitted from the print buffer 21 is processed in the division mode determination unit 31 will be described in order. For the data transmitted from the print buffer 21, the print dot counter 42 first counts the number of print dots. The count value of one dot line counted by the print dot counter 42 is added to the count value of the total counter 43 by the adding means 39, and the addition result is accumulated and stored in the total counter 43. If it is assumed that printing has just been started after the power is turned on, nothing is stored in the total counter 43 at this time, so only the number of print dots of the first one-dot line is stored in the total counter 43. Is done. Next, the count value of the oldest dot line from the history buffer 41 is subtracted from the total counter value stored in the total counter 43. In this embodiment, it is assumed that the history buffer 41 is a buffer capable of storing count values for 10 dot lines. Such a history buffer 41 can be provided in the RAM 6 (FIG. 1). The reason why the count value of the oldest dot line is subtracted from the total counter value is that the total count value of the latest 10 dot line print dots is stored in the total counter 43. The count value of the print dot counter 42 is stored in the latest storage unit of the history buffer 41, the remaining count values are shifted one by one, and the oldest count value is expelled from the history buffer 41. Therefore, the history buffer 41 may be configured in a first-in first-out (FIFO) format. As a result, the latest 1-dot line count and the oldest 1-dot line count are interchanged, and the latest 10-dot print dot count is stored in the history buffer for each dot line. In this manner, the value of the total counter 43 is always maintained at the value of the total counter of the latest 10 dots printed dots.
[0051]
The total counter value stored in the total counter 43 is compared with the first reference value by the comparator 44. The first reference value is determined in advance based on the output capability of the power source, the print dot density of one dot line, and the like. For example, assuming that the dot printing density 3000 corresponding to 300 dots × 10 dot lines is the first reference value, the divided signal is output from the first comparator 44 when the total counter value reaches 3000. The division mode switching unit 33 that has received the division signal from the first comparator 44 switches the setting to the division mode if the setting of the division mode setting unit 34 is the non-division mode.
[0052]
On the other hand, in contrast to the division setting, if the number of printing dots per dot line does not exceed a predetermined number after the division printing is set, the print head corresponding to the printing dots per dot line Since the power supply capacity is not exceeded even if the two are simultaneously driven, simultaneous printing is possible. For this reason, it is preferable to configure so as to return to non-divided printing when the number of printed dots per dot line does not exceed the predetermined number for a predetermined number of lines. In this case as well, as in the case of division, it is possible to adopt a processing mode in which the number of divisions is reduced by the number of print dots.
[0053]
The number of print dots and the number of continuous print lines when changing to divided printing and when returning to non-divided printing or the like may be the same or different. However, if the divided printing mode is switched too frequently, printing spots are formed at the boundary of printing, so it is desirable to set so that frequent switching between the divided printing mode and the non-dividing mode is not performed. From that point of view, the return condition from split print mode to non-split print mode is the transition condition from non-split print to split print Than It is preferable to be strict.
[0054]
From this point of view, in FIG. 7, the counter value of the print dot counter 42 (print dot counter value for one dot line) is compared with the second reference value in the second comparator 46. For example, when the condition is that the number of printing dots per dot line is 300 dots or less, the second reference value is set to 300. When the comparison result by the second comparator 46 is equal to or smaller than the second reference value, 1 is subtracted from the counter value of the return counter 47. If it is greater than or equal to the second reference value, it is initialized. In the return counter 47, a predetermined numerical value is set in advance in accordance with how many dot lines less than the second reference value continue to return the division mode to the non-division mode. For example, if the division mode is returned to the non-division mode when 80 dot lines less than the second reference value continue, the initial value of the return counter 47 is set to 80. The value of the return counter 47 is compared by the third comparator 48 to check whether or not the return counter 47 has become “0”. When it is confirmed by the third comparator 48 that the return counter 47 has become “0”, a return signal is output to the division mode switching means 33. If it is now in the split print mode, the setting of the split mode setting means 34 is changed from the split print mode to the non-split mode.
[0055]
As can be seen from the above description, in this embodiment, when the state where the number of print dots per dot line exceeds 300 dots continues for 10 dot lines or when the total counter value exceeds 3000, the mode is switched to the 2-split mode. . In the divided printing mode, the non-divided mode is restored only when printing with less than 300 printing dots of one dot line continues for 80 dot lines, and there is a dot line exceeding 300 dots even once in the middle. And the division print mode is maintained. However, as will be apparent to those skilled in the art, the number of print dots per dot line (print density) and how long such print density is switched to split mode or return to non-split mode This is a matter that can be set freely in consideration of the power supply capability. That is, whether or not to perform divided printing is basically determined by whether or not a state in which the number of print heads driven simultaneously exceeds a predetermined number continues for a predetermined time or a predetermined amount or more. Specifically, the determination is made based on whether the print density exceeds a predetermined value or whether a predetermined number of dot lines exceeding the predetermined print density are continuous. The division printing control is not limited to two division printing, and can be divided into three divisions, four divisions, five divisions, etc. in consideration of the print density and the output capability of the power source. In this case, the division type can be automatically selected according to the print density.
[0056]
Further, in the embodiment of FIG. 7, even if dot lines equal to or greater than the first reference value do not occur continuously, when the total counter value per 10 dot lines exceeds 3000, the mode is switched to the divided print mode. However, by adopting the same configuration as in the case of the return processing, divided printing is performed only when the number of print dots per dot line continuously exceeds the first reference value. It can also be configured to change to a mode. Further, the divided print mode can be divided into a plurality of stages, and the divided print mode can be selectively set according to the print density.
[0057]
Further, in the embodiments of the present specification, only printing spots at the time of stopping printing and resuming printing based on voltage control have been described. However, the present invention is not limited to voltage control, and processing for temporarily stopping printing and restarting printing during divided printing is described. In this case, the same applies.
[0058]
(Relationship between split print mode cancellation and voltage control)
As long as the division printing mode is set in the division mode setting unit 34 (FIG. 7), the division printing is continued. The division print mode is canceled when the non-division switching signal from the division mode switching means 33 or the return signal from the return determination means 35 is received. Accordingly, the division mode once set is maintained unless the division mode determination unit 31 determines that the printing density has decreased or the return determination unit 35 does not output a return signal. The return determination means 35 returns the division mode to the initial set value only when a predetermined condition is received. In the present invention, unlike the prior art, the return unit 12 does not cancel the division setting unit when printing is stopped due to a voltage drop. In the embodiment of the present invention, the return determination means 35 outputs a return signal only in the case of a reset signal at the time of sleep mode and power on / off. Therefore, even when the printing is resumed after the printing is suspended due to the voltage drop, the divided printing is continued. Therefore, unlike the prior art, there is no gap between printed lines before and after printing is stopped, and printing spots do not occur even if printing is stopped frequently due to voltage drop.
[0059]
【The invention's effect】
As described above, according to the present invention, when printing is temporarily stopped due to a voltage drop during the divided printing mode and printing is resumed after voltage recovery, printing is resumed in the same divided mode as when printing was stopped. As a result, it is possible to prevent the occurrence of printing spots at the boundary between the divided printing mode and the non-dividing mode.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a basic structure of a line printer.
2 is a block diagram of the printer 2 shown in FIG. 1 representing various functions executed by the CPU 3, ROM 5, RAM 6, control programs (not shown) stored in these memories, and gate arrays 9, 10. FIG. It is a functional block diagram.
FIG. 3 is a flowchart showing one embodiment of a control procedure of a printing operation of the line printer 2;
FIG. 4 is a flowchart illustrating an example of a voltage control processing procedure of the printer 2;
FIG. 5 is a flowchart illustrating an embodiment of a current control process procedure of the printer 2;
FIG. 6 is a functional block diagram of a print control unit 23 according to an embodiment of the present invention.
FIG. 7 is a functional block diagram of a division mode determination unit 31 according to one embodiment of the present invention.
FIG. 8 is a diagram for explaining printing by a dot line printer.
FIG. 9A is a plan view schematically showing a printing state when a printing stop state due to a voltage drop occurs during two-division printing and then printing is resumed, and FIG. FIG. 9 is an enlarged view of a portion P surrounded by a broken line in FIG.
[Explanation of symbols]
2 Line printer
23 Print control unit
32 division control means
35 Return determination means
60 Print head
70 printing paper
71 First printed part (front part)
72 Parts printed later (rear part)
73 Front part printing
74 Rear part printing
75 Non-split printing part
76 Air gap

Claims (2)

印刷用紙の移送方向と直交するドット行方向に配列された複数の印刷ヘッドを有し、初期状態では1ドット行を同時に印刷する非分割印刷モードで印刷を行い、所定の条件下では1ドット行を複数に分割して印刷する分割印刷モードで印刷を行なうラインプリンタの印刷制御方法において、以下の工程を有することを特徴とする印刷制御方法。
(a) 印刷データを構成するドットパターンの1ドット行の印刷ドット数または所定の複数ドット行の印刷ドットの総数を算出する工程と、
(b) 前記算出した1ドット行の印刷ドット数が所定の数を超えるドット行が、第1の基準行数以上連続した場合、または前記所定の複数ドット行の印刷ドットの総数が、所定の基準値を超えた場合に、印刷モードを前記分割印刷モードに設定し、前記1ドット行の印刷ドット数が前記所定の数を超えないドット行が、前記第1の基準行数よりも大きな数の第2の基準行数以上連続した場合に、印刷モードを前記非分割印刷モードに設定する工程と、
(c) 前記印刷モードの設定に基づき分割印刷を行う場合、1ドット行を分割して各分割単位毎に印刷タイミングをずらして印刷する工程と、
(d) 前記分割印刷モードで印刷中に電源電圧が第1の基準電圧以下となったときに、前記印刷モードを初期化せずに印刷を一時停止する工程と、
(e) 前記電源電圧が第2の基準電圧以上に復帰したときに、前記印刷停止時に初期化せずに維持した前記分割印刷モードで印刷を再開する工程。
Have a plurality of print heads arranged in a dot column direction perpendicular to the transport direction of the printing paper, subjected to printing in the non-division printing mode for printing one dot line at a time in the initial state, one dot line is under a predetermined condition A printing control method for a line printer that performs printing in a divided printing mode that divides a print into a plurality of prints, and includes the following steps.
(a) calculating the number of print dots in one dot row of the dot pattern constituting the print data or the total number of print dots in a predetermined plurality of dot rows ;
(b) When the calculated number of dot dots in a single dot row exceeds a predetermined number, the number of print dots in the predetermined plurality of dot rows is equal to or greater than a predetermined number of reference lines. When the reference value is exceeded, the print mode is set to the divided print mode, and the number of dot lines in which the number of print dots in the one dot line does not exceed the predetermined number is greater than the first reference line number. A step of setting the print mode to the non-divided print mode when the second reference line number is continued ,
(c) when performing divided printing based on the setting of the print mode, a step of dividing one dot row and shifting the printing timing for each division unit; and
(d) a step of temporarily stopping printing without initializing the printing mode when the power supply voltage becomes equal to or lower than a first reference voltage during printing in the divided printing mode ;
(e) A step of resuming printing in the divided printing mode maintained without being initialized when the printing is stopped when the power supply voltage returns to the second reference voltage or higher .
印刷用紙の移送方向と直交するドット行方向に配列された複数の印刷ヘッドと、前記印刷ヘッドにより印刷する印刷データのドットパターンデータを記憶する印刷バッファとを有し、前記ドットパターンデータを、初期状態では1ドット行を同時に印刷する非分割印刷モードで印刷を行い、所定の条件下では1ドット行を複数に分割して印刷する分割印刷モードで印刷するラインプリンタの印刷置であって、
前記印刷データを構成するドットパターンの1ドット行の印刷ドット数または所定の複数ドット行の印刷ドットの総数を算出し、前記算出した1ドット行の印刷ドット数が所定の数を超えるドット行が、第1の基準行数以上連続した場合、または前記所定の複数ドット行の印刷ドットの総数が、所定の基準値を超えた場合に、印刷モードを前記分割印刷モードに設定し、前記1ドット行の印刷ドット数が前記所定の数を超えないドット行が、前記第1の基準行数よりも大きな数の第2の基準行数以上連続した場合に、印刷モードを前記非分割印刷モードに設定する分割印刷制御手段と、
前記刷モードに対応する所定のタイミングで、前記印刷データの印刷ドットパターンに応じて選択された複数の前記印刷ヘッドを駆動するヘッド駆動制御手段と、
前記分割印刷モードで印刷中に電源電圧が第1の基準電圧以下となったときに、前記印刷モードを初期化せずに印刷動作を一時停止させ、前記電源電圧が第2の基準電圧以上に復帰したときに、前記印刷停止時に初期化せずに維持した前記分割印刷モードで印刷動作を再開させるように前記ヘッド駆動手段を制御する電圧確認制御手段とを備え
ことを特徴とするラインプリンタの印刷置。
A plurality of print heads arranged in a dot column direction perpendicular to the transport direction of the printing paper, and a print buffer for storing dot pattern data of the print data to be printed by the print head, the dot pattern data, initial in the state performs printing with non-division printing mode for printing one dot line at the same time, in certain conditions a printing equipment line printer to print in divided print mode for printing by dividing one dot line into a plurality,
The number of print dots in one dot line of the dot pattern constituting the print data or the total number of print dots in a predetermined plurality of dot lines is calculated, and there are dot lines in which the calculated number of print dots in one dot line exceeds a predetermined number. When the number of continuous print dots exceeds the first reference line number, or when the total number of print dots of the predetermined plurality of dot lines exceeds a predetermined reference value, the print mode is set to the divided print mode, and the one dot When the number of dot lines whose number of print dots does not exceed the predetermined number continues for the second reference line number greater than the first reference line number, the print mode is changed to the non-split print mode. a divided print control means for setting,
At a predetermined timing corresponding to the print mode, a head drive control means for driving a plurality of the print heads selected according to the print dot pattern of the print data,
When the power supply voltage becomes equal to or lower than the first reference voltage during printing in the divided print mode, the printing operation is temporarily stopped without initializing the print mode, and the power supply voltage becomes equal to or higher than the second reference voltage. when waking, characterized <br/> that a voltage confirmation control means for controlling said head driving means so as to resume the printing operation by the divided print mode maintained without initializing when the printing is stopped printing equipment of the line printer to.
JP2000403286A 2000-12-28 2000-12-28 Printing control method and printing apparatus using the same Expired - Fee Related JP4496645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000403286A JP4496645B2 (en) 2000-12-28 2000-12-28 Printing control method and printing apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000403286A JP4496645B2 (en) 2000-12-28 2000-12-28 Printing control method and printing apparatus using the same

Publications (3)

Publication Number Publication Date
JP2002200779A JP2002200779A (en) 2002-07-16
JP2002200779A5 JP2002200779A5 (en) 2007-10-04
JP4496645B2 true JP4496645B2 (en) 2010-07-07

Family

ID=18867441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000403286A Expired - Fee Related JP4496645B2 (en) 2000-12-28 2000-12-28 Printing control method and printing apparatus using the same

Country Status (1)

Country Link
JP (1) JP4496645B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005153153A (en) * 2003-11-20 2005-06-16 Ishida Co Ltd Thermal printer
JP5281862B2 (en) * 2008-09-30 2013-09-04 株式会社沖データ Printer
JP2017159486A (en) * 2016-03-08 2017-09-14 三菱電機株式会社 Thermal printer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63116863A (en) * 1986-11-06 1988-05-21 Mitsubishi Electric Corp Printing method for dot printer
JPH0459360A (en) * 1990-06-29 1992-02-26 Oki Electric Ind Co Ltd Control method for overload printing in printer
JP2000015868A (en) * 1998-07-03 2000-01-18 Canon Inc Image-recording apparatus and method for recording image

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09240025A (en) * 1996-03-12 1997-09-16 Canon Inc Recording apparatus and its method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63116863A (en) * 1986-11-06 1988-05-21 Mitsubishi Electric Corp Printing method for dot printer
JPH0459360A (en) * 1990-06-29 1992-02-26 Oki Electric Ind Co Ltd Control method for overload printing in printer
JP2000015868A (en) * 1998-07-03 2000-01-18 Canon Inc Image-recording apparatus and method for recording image

Also Published As

Publication number Publication date
JP2002200779A (en) 2002-07-16

Similar Documents

Publication Publication Date Title
RU2443569C1 (en) Recording control device, recording device, method of operation recording device, and recording medium
JP3217930B2 (en) Printer device
EP2082884A2 (en) Barcode printing device and barcode printing method
JP5004539B2 (en) Image recording apparatus, maintenance operation management method using the same, and program
US7399059B2 (en) Ink jet printing apparatus, ink jet printing method, information processing device and program
JP4496645B2 (en) Printing control method and printing apparatus using the same
EP0976568B1 (en) Printing apparatus, method of resetting it, and storage medium
JP5370179B2 (en) Image forming apparatus
JP2012192600A (en) Recording device, recording system, method of controlling recording device, and program
US20120268786A1 (en) Recording device, method of controlling a recording device, and storage medium storing a program run by a control unit that controls a recording device
JP2003103769A (en) Recording apparatus and discharge controlling method
JP2006102962A (en) Printer and its printing control method
JP2004216778A (en) Image forming apparatus and method of controlling command therein
JP2008023921A (en) Line printer
JP2007140959A (en) Printer system
JP4581606B2 (en) Printing apparatus and printing control method therefor
JP2006150938A (en) Inkjet recorder, inkjet recording method, information processor, recording medium and program
JP2001229003A (en) Power supply device
JP2018126911A (en) Image forming system and image forming apparatus
JP2010094942A (en) Inkjet recording system and inkjet recording device
JP2000103127A (en) Printer, printing method, and method for developing image data
JPH0934752A (en) Method for processing memory lack at the time of print, printer system, printer and printer interface
JPS6141576A (en) Dot impact type printer
JP2000247002A (en) Image forming device
JPH11221929A (en) Apparatus and method for printing

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070820

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100204

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: 20100323

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: 20100405

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

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140423

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees