JP4061562B2 - Color printer and operation method thereof - Google Patents
Color printer and operation method thereof Download PDFInfo
- Publication number
- JP4061562B2 JP4061562B2 JP08649099A JP8649099A JP4061562B2 JP 4061562 B2 JP4061562 B2 JP 4061562B2 JP 08649099 A JP08649099 A JP 08649099A JP 8649099 A JP8649099 A JP 8649099A JP 4061562 B2 JP4061562 B2 JP 4061562B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- address
- image data
- print head
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、印刷媒体表面を印刷ヘッドによって走査しつつ複数色の着色剤を付着させてイメージを形成するカラープリンタに関する。
【0002】
【従来の技術】
この種のカラープリンタは、図1に示すように、キャリッジ21に搭載された印刷ヘッド23が用紙(印刷媒体)25表面を主走査方向27(例えば、水平方向)に移動しつつ、例えばイエロー(Y)、マゼンタ(M)、シアン(C)などの各色の1印刷行分のイメージデータを読み込み、各色データに従って各色の着色剤を用紙25に付着させていくことにより、1印刷行のカラーイメージ29を形成する。次に、印刷ヘッドは用紙25に対して所定距離だけ副走査方向31へ移動し、かつ次の主走査の開始位置に移動して、そして再び主走査を行いつつ次の印刷行のイメージデータを読み込んで次の印刷行のカラーイメージを形成する。
【0003】
このような印刷ヘッドの駆動方法の従来技術として、特公平4−28231号に記載のものが知られている。この従来の方法は、同じ印刷行であってもイメージのカラム数(ドット数又は文字数、要するにイメージの長さ)が色毎に異なる場合が存在し、その場合にはカラム数の多い方の色のイメージを完全に印刷できないという問題を解決するために、レジスタに格納されたデータから色別に1印刷行分のカラム数を計数して、計数したカラム数のうち最大のカラム数を選択し、この最大のカラム数分だけ印刷ヘッドを主走査方向へ連続移動させ、その後にリターンするように、キャリッジを制御する。
【0004】
【発明が解決しようとする課題】
実際のカラーイメージでは、1印字行のイメージの開始位置及び終了位置が色毎に異なる場合がある。例えば図2に示すように、同一印刷行のY,M,Cの3色のイメージデータ41Y,41M,41Cは、それぞれの開始位置43Y,43M,43Cで相違し、終了位置45Y,45M,45Cでも相違する。このような場合、上述した従来技術ではカラーイメージを正しく印刷することができない。上述した従来技術は、色別の1印刷行分のカラム数(つまり、各色イメージデータの開始位置から終了位置までの長さ)の中の最大のカラム数分だけ印刷ヘッドを連続移動させるものであるが、図2に例示したような色毎にイメージの開始位置が相違する場合には、各色イメージデータのカラム数からでは、印刷ヘッドが移動すべき範囲つまり1印刷行の印刷範囲を割り出すことができないからである。
【0005】
従って、本発明の目的は、同一印刷行のイメージ開始位置とイメージ終了位置が色毎に相違するカラーイメージを正しく印刷することができるカラープリンタを提供することにある。
【0006】
【課題を解決するための手段】
本発明のカラープリンタは、印刷ヘッドと、この印刷ヘッドを主走査方向に移動させる移動機構と、1印刷行分の色別のイメージデータをそれぞれ記憶する複数のイメージバッファとを備える。そして、主走査方向における1印刷行の各色イメージの開始位置から終了位置までの範囲に対応する各色イメージバッファの記憶領域に、1印刷行分の各色イメージデータが格納される。各色イメージバッファに格納された各色イメージデータの開始アドレスと終了アドレスが検出され、次に、検出された開始アドレスのうちの最先頭アドレスと、検出された終了アドレスのうちの最後尾アドレスとが検出される。そして、検出された最先頭アドレスから最後尾アドレスまでのアドレス範囲に対応する主走査方向の位置範囲を印刷ヘッドが連続移動するように、移動機構が制御される。また、各色イメージバッファの最先頭アドレスから最後尾アドレスまでの記憶領域から各色イメージデータが読み出され、印刷ヘッドの連続移動に同期して印刷ヘッドに供給される。
【0007】
このカラープリンタによれば、色毎にイメージの開始位置及び終了位置が相違していても、開始位置の中の最先頭の位置から終了位置の中の最後尾の位置までの範囲を印刷ヘッドが移動して、この範囲に対応するイメージバッファのアドレス範囲から各色イメージデータを読み出して印刷ヘッドに供給するので、完全なカラーイメージを正しく印刷することができる。
【0008】
好適な実施形態では、各色イメージバッファ内に各色イメージデータを一旦格納した後、その各色イメージデータの両端部にヌル領域が存在するかを調べ、存在する場合にはそのヌル領域を除外して各色の正味のイメージデータの開始アドレスと終了アドレスを確定する。そして、確定した正味のイメージデータの開始アドレスから最先頭アドレスを選び、また、確定した正味のイメージデータの終了アドレスから最後尾アドレスを選ぶ。これにより、正味のイメージデータが存在する範囲だけ印刷ヘッドが連続移動すれば済むので、各印刷行の印刷時間が短縮される。
【0009】
好適な実施形態では、1印刷行の印刷が終了したときに次の印刷行における印刷ヘッドを連続移動させる位置範囲が未だ決まっていない場合、その1印刷行の印刷が終了した後に印刷ヘッドを所定の位置へ移動させる。所定位置とは、例えば、今印刷の終わった行の開始位置、或いは、0桁目の位置などである。これは、特に、単方向印刷で、且つどの印刷行も同じ又は近い位置から印刷を開始するような場合に、印刷速度を高める上で有効である。
【0010】
本発明に従うカラープリンタの動作方法は、1印刷行分の色別のイメージデータの主走査方向における開始位置と終了位置を検出し、検出した開始位置の中の最先頭位置と、検出した終了位置の中の最後尾位置とを決定するステップと、最先頭位置から最後尾位置までの位置範囲を印刷ヘッドが連続移動するステップと、印刷ヘッドが各色イメージデータの開始位置から終了位置までを連続移動しているときに、各色イメージデータを用いて印刷ヘッドを駆動するステップとを備える。
【0011】
好適な実施形態では、最先頭位置から最後尾位置を決定する際、1印刷行分の各色のイメージデータの両端部にヌル領域が存在するならば、そのヌル領域を各色のイメージデータから除外することにより、各色の正味のイメージデータの開始位置と終了位置を確定し、その確定した正味のイメージデータの開始位置と終了位置の中から最先頭位置と最後尾位置を決定する。
【0012】
好適な実施形態では、1印刷行の印刷が終了したときに次の印刷行における印刷ヘッドを連続移動させる範囲が未だ決まっていない場合、1印刷行の印刷が終了した後に印刷ヘッドを所定の位置へ移動させる。
【0013】
本発明の動作方法によれば、同一印刷行のイメージ開始位置とイメージ終了位置が色毎に相違していても、カラーイメージを正しく印刷することができる。
【0014】
【発明の実施の形態】
以下、図面を参照して本発明の一実施形態にかかるカラープリンタを説明する。実際のカラープリンタは4色、6色、7色などの多数の着色剤を用いるものが存在するが、説明を分りやすくするため、この実施形態のカラープリンタはY,M,Cの3色の着色剤を用いるものとする。
【0015】
このカラープリンタは、図1に示したようなキャリッジ21及びこれに搭載された印刷ヘッド23を備える。図3(A)又は(B)に示すように、印刷ヘッド23は、例えばY,M,Cの3色の色別ヘッド部23Y,23M,23Cを有し、各色別ヘッド部23Y,23M,23Cは夫々の色の着色剤を用紙に付着させるための多数のドット形成素子(例えば、インクジェットプリンタのインクジェットノズル、ワイヤインパクトドットプリンタのインパクトワイヤ、熱転写プリンタの発熱素子など)33Y,33M,33Cを有している。なお、3色の色別ヘッド部23Y,23M,23Cは、図3(A)の例では副走査方向31に配列され、図3(B)の例では主走査方向27に配列されているが、これらは単なる例示であって、様々な配列形態が考え得る。
【0016】
図1に示すように、印刷ヘッド23は、キャリッジ21によって運ばれて用紙(印刷媒体)25表面を主走査方向(水平方向)27に移動しつつ、Y,M,Cの3色の1印刷行のイメージデータを読み込み3色の着色剤を用紙25に付着させていくことにより、1印刷行分のカラーイメージ29を形成していく。1印刷行のイメージを形成し終わると、用紙が副走査方向(垂直方向)へ送られて、印刷ヘッド23は用紙25の次の印刷行の垂直位置まで移動し、かつ、印刷ヘッド23は次の印刷行の印刷開始位置まで主走査方向へ移動し、その後に次の印刷行のイメージの印刷を行う。
【0017】
図4及び図5はそれぞれ、このカラープリンタがもつコントローラのハードウェア構成及びその機能的構成を示す。
【0018】
図4に示すように、このプリンタ100のコントローラは、ホスト装置51と通信して印刷コマンドを受信するホストインタフェース回路53、ホスト装置51から受信した印刷コマンドに基づいて後述するような印刷処理を行うCPU55、このCPUのためのプログラムを格納したROM57、受信した印刷コマンドを一時蓄える受信バッファ61や1印刷行のイメージデータを蓄えるイメージバッファ63やワークエリアなどとして使用されるRAM95、及びCPU55の制御の下で紙送モータ67やキャリッジモータ69や印刷ヘッド23などのメカニズムを駆動するメカニズムドライバ65を備える。周知のとおり、紙送りモータ67は用紙25の副走査方向への送りを行い、キャリッジモータ69はキャリッジ21を主走査方向へ走行させる。イメージバッファ63は、図5に示すように、Y,M,Cの3色用のイメージバッファ63Y,63M,63Cに分けられている。
【0019】
このようなハード構成をもつコントローラは、これを機能的に見ると図5に示すように、受信部71、コマンド解釈部73、Y,M,Cの3色用のイメージバッファ63Y,63M,63C、3色用のイメージ範囲検出部75Y,75M,75C、3色用のヘッドドライバ77Y,77M,77C、印刷範囲決定部79、紙送制御部81、及びキャリッジモータドライバ83を備える。
【0020】
受信部71は、ホスト装置51から印刷コマンドを受信してこれを図4に示した受信バッファ61に蓄積する。コマンド解釈部73は、受信バッファ61から印刷コマンドを順番に読み出し、これを解釈してその結果に応じ、例えばその印刷コマンドが1印刷行のイメージデータを送ってきたコマンドであるならば、その送られてきた1印刷行のY,M,C各色のイメージデータを、印刷ヘッド23へ転送できる形式に変換したり必要な補正を施すなどした上で各色用のイメージバッファ63Y,63M,63Cに書き込んだり、或いは、その印刷コマンドが次の紙送りを指示するものであるならば、紙送制御部81に紙送命令を与える、などの動作を行う。
【0021】
各色のイメージ範囲検出部75Y,75M,75Cは、各色のイメージバッファ63Y,63M,63Cにそれぞれアクセスして、そこに格納されている1印刷行分の各色のイメージデータの開始アドレス(各色イメージの開始位置に相当する)と終了アドレス(各色イメージの終了位置に相当する)を検出し、その開始アドレスと終了アドレスを記憶する。印刷範囲決定部79は、3色のイメージ範囲検出部75Y,75M,75Cが記憶した3色のイメージデータの開始及び終了アドレスに基づいて、印刷ヘッド23へ各色イメージデータを転送する際にその各色イメージデータを各色イメージバッファ63Y,63M,63Cから読み出すべきアドレス範囲(以下、「読み出しアドレス範囲」といい、これは、印刷ヘッド23を実際に走行させて印刷を行うべき水平方向の「印刷範囲」に相当する。)を決定する。そして、印刷範囲決定部79は、その決定した「読み出しアドレス範囲」を各色のヘッドドライバ77Y,77M,77Cに指定してこれを起動すると共に、その決定した「読み出しアドレス範囲」に相当する水平方向(主走査方向)の「印刷範囲」を印印刷ヘッド23が連続移動するように、キャリッジモータドライバ83を介してキャリッジモータ69を起動し制御する。
【0022】
各色のヘッドドライバ77Y,77M,77Cは、印刷ヘッド23が上記印刷範囲を連続移動している間、各色イメージバッファ63Y,63M,63Cの上記読出アドレス範囲からアドレス順に各色イメージデータを読み出して印刷ヘッド23の各色ヘッド部23Y,23M,23Cに転送することにより、各色ヘッド部23Y,23M,23Cに印刷動作を行わせる。
【0023】
紙送制御部81は、コマンド解釈部73からの紙送命令に応答して、用紙25を垂直方向に送る。
【0024】
以上の構成の下でのコントローラの動作を以下により具体的に説明する。
【0025】
図6は、ホスト装置51からプリンタ100に送られて来る1印刷行分の印刷コマンドのセットの構成を示す。
【0026】
図6に示すように、1印刷行分の印刷コマンドセットには、まず、各色のイメージデータを送ってくるイメージデータコマンドが3色分含まれる。1色分のイメージデータコマンドには、そのコマンドコード(図示せず)と、「色」を指定するパラメータと、水平方向(主走査方向)の「イメージ開始位置」を指定するパラメータと、「イメージデータ長」(イメージデータのデータ量)を指定するパラメータと、その色の「イメージデータ」それ自体とから構成される。この1色分のイメージデータコマンドの後に「キャリッジリターン」(CR)のコマンドが付く。この1色分のイメージデータコマンドとCRコマンドの組が、Y,M,Cの3色分繰り返される。その後に、次の印刷行の「垂直位置」(副走査方向の位置)を指定した紙送りコマンドが続く。以上で、1印刷行分の印刷コマンドのセットが構成される。
【0027】
図6に示したような1印刷行分の印刷コマンドのセットがホスト装置51からプリンタ100に送り込まれると、プリンタ100のコマンド解釈部73がその受信した各コマンドを受信順に解釈していく。最初に、各色のイメージデータコマンドを解釈することで、コマンド解釈部73は、各色のイメージデータを各色のイメージバッファ63Y,63M,63Cに格納する。
【0028】
図7は、1印刷行分の印刷コマンドセットの受信が終了し、コマンド解釈部73が3色の1印刷行分のイメージデータを3色のイメージバッファ63Y,63M,63Cに格納し終わったときの、イメージバッファ63Y,63M,63Cの状態を示す。
【0029】
図7に示すように、各色のイメージバッファ63Y,63M、63Cは、水平方向の印刷可能全範囲(つまり、印刷ヘッド23が移動しながらイメージ形成することができる全移動範囲であり、例えば、第0桁〜第80桁。)分の記憶領域をそれぞれもつ。コマンド解釈部73は、各色のイメージデータコマンドを受けると、そのコマンドで指定された「イメージ開始位置」に対応する各色イメージバッファ63Y,63M、63Cのアドレス(以下、「イメージ開始アドレス」という)102Y,102M,102Cから、各色の1印刷行分のイメージデータの各色イメージバッファ63Y,63M,63Cへの格納を開始する。そして、上記イメージ開始アドレス102Y,102M,102Cにコマンドで指定された「イメージデータ長」を加えたアドレス(以下、「イメージ終了アドレス」という)103Y,103M,103Cで、各色イメージデータの格納が終了する。結果として、図7に示すように、各色イメージバッファ63Y,63M,63C内のイメージ開始アドレス102Y,102M,102Cからイメージ終了アドレス103Y,103M,103Cまでの記憶領域104Y,104M,104Cに、各色イメージデータが格納される。当然、各イメージバッファ63Y,63M,63C中のイメージ開始アドレス102Y,102M,102Cよりアドレスの小さい記憶領域105Y,105M,105Cと、イメージ終了アドレス103Y,103M,103Cよりアドレスの大きい記憶領域106Y,106M,106Cは、イメージデータが格納されていない空領域(ヌル領域)である。
【0030】
このように各色イメージバッファ63Y,63M,63Cに各色の1印刷行分のイメージデータが格納されると、次に、各色のイメージ範囲検出部75Y,75M,75Cが、各色イメージバッファ63Y,63M,63Cにアクセスして、図8に示す空領域のスキャン操作を行う。
【0031】
すなわち、図8に示すように、各色のイメージ範囲検出部75Y,75M,75Cは、各色イメージバッファ63Y,63M,63Cをイメージ開始アドレス102Y,102M,102Cからアドレス増方向へ、及びイメージ終了アドレス103Y,103M,103Cからアドレス減方向へスキャンして、各バッファに格納した各色イメージデータの両端部分に印刷の必要の無い空白のイメージデータ(ヌルデータ)が格納されている空領域(ヌル領域)が無いかチェックする。そのようなヌル領域があれば、そのヌル領域をイメージデータから除外して、実際に印刷の必要のある正味のイメージデータのイメージ開始アドレス107Y,107M,107Cとイメージ終了位置108Y,108M,108Cを確定する。確定したイメージ開始位置107Y,107M,107Cとイメージ終了位置108Y,108M,108Cの外側の記憶領域はヌルデータのみのヌル領域である。各色のイメージ範囲検出部75Y,75M,75Cは、確定した正味のイメージ開始アドレス107Y,107M,107Cとイメージ終了位置108Y,108M,108Cを記憶する。
【0032】
次に、プリンタ100の印刷範囲決定部79が、各色のイメージ範囲検出部75Y,75M,75Cが記憶した正味のイメージ開始アドレス107Y,107M,107Cとイメージ終了位置108Y,108M,108Cに基づいて、図9に示すようにして、3色のイメージバッファ63Y,63M,63Cの読み出しアドレス範囲を決定する。
【0033】
すなわち、図9に示すように、イメージ範囲検出部75Y,75M,75Cが記憶した3色の正味のイメージ開始アドレス107Y,107M,107Cを比較して、その中の最小のアドレスつまり正味のイメージデータの最先頭アドレス109(図示の例ではMのイメージ開始アドレス107M)を選択する。また、イメージ範囲検出部75Y,75M,75Cが記憶した3色の正味のイメージ終了アドレス108Y,108M,108Cを比較して、その中の最大のアドレスつまり正味のイメージデータの最後尾アドレス110(図示の例ではCのイメージ開始アドレス108C)を選択する。この最先頭アドレス109から最後尾アドレス110までのアドレス範囲が、イメージバッファ63Y,63M,63Cの読み出しアドレス範囲111となる。図9に示すように、この読み出しアドレス範囲111にはY,M,Cの3色の正味のイメージデータが完全に含まれているから、この読み出しアドレス範囲111のイメージデータ(正味のイメージデータと、その前又は後のヌルデータを含む)を印刷ヘッド23に転送すれば、正しくカラーイメージが形成できることになる。
【0034】
以上のように読み出しアドレス範囲111(つまり、正味のイメージデータの最先頭アドレス109と最後尾アドレス110)を決定した後、印刷範囲決定部79は、その最先頭アドレス109と最後尾アドレス110を各色ヘッドドライバ77Y,77M,77Cに指定して、各色ヘッドドライバ77Y,77M,77Cを起動する。各色ヘッドドライバ77Y,77M,77Cは、各色イメージバッファ63Y,63M,63Cの読み出しアドレス範囲111(つまり、最先頭アドレス109から最後尾アドレス110までの範囲)からアドレス順に各色イメージデータを読み出して、各色ヘッド部23Y,23M,23Cに転送する。
【0035】
このイメージデータの転送と同期して、印刷範囲決定部79は、最先頭アドレス109に対応する水平方向(主走査方向)の印刷開始位置113から、最後尾アドレス110に対応する水平方向の印刷終了位置114までの範囲115(つまり、上述した「印刷範囲」)を印刷ヘッド23が連続移動するように、キャリッジモータドライバ83を介してキャリッジモータ69を駆動し制御する。この場合、印刷開始位置113が決定できた時点で、まず、前の印刷行の終了位置で止まっている印刷ヘッド23を印刷開始位置113まで移動させ、その後に、上記イメージデータの転送と同期して印刷ヘッド23を印刷開始位置113から印刷終了位置114まで連続移動させる。結果として、印刷ヘッド23は、印刷開始位置113から印刷終了位置114まで連続移動しつつ、各色イメージバッファ63Y,63M,63Cの読み出しアドレス範囲111から転送されてきた3色のイメージデータに基づいて、用紙25上にカラーイメージを形成していく。なお、双方向印刷を行う場合には、上に説明したデータ転送及びヘッド移動動作と、それとは逆方向の動作、つまり、最後尾アドレス110から最先頭アドレス109へ逆アドレス順にイメージデータを読み出し印刷ヘッド23へ転送しつつ、印刷終了位置114から印刷開始位置113へ印刷ヘッド23を連続移動させる動作とを、交互に行う。
【0036】
以上のように、3色の正味のカラーイメージデータの最先頭アドレス109と最後尾アドレス110までの読み出しアドレス範囲111から、3色のイメージデータを読み出して印刷ヘッド23へ転送すると共に、その読み出しアドレス範囲111に対応する印刷範囲115を印刷ヘッド23が連続移動することにより、各色イメージデータの開始位置及び終了位置が色毎に異なっていても、正しくカラーイメージを印刷することができる。しかも、必要最低限の範囲だけ印刷ヘッド23を連続移動させるので1印刷行の印刷時間も短い。
【0037】
こうして1印刷行の印刷が終わった後、プリンタ100のコマンド解釈部73は、次の印刷行の垂直位置を指定した紙送りコマンドに従って、用紙25上の次の印字行の垂直位置に印刷ヘッド23が位置するように、紙送り制御部81を介して紙送りモータ67を駆動して用紙25を垂直方向(副走査方向)に送る。なお、この紙送りは、次の印刷行の印印刷開始位置113へ印刷ヘッド23を移動させるときに、これと一緒に行ってもよい。
【0038】
1つの印刷行の印刷が終了した後、次の印刷行の印刷のためにキャリッジの移動と紙送りをどのタイミングでどのように行うかについては、幾つものバリーエーションが考え得る。例えば、単方向印刷の場合であって、どの印刷行も同じ位置又は近い位置から印刷を開始すること可能性が高い場合、イメージデータの転送量が多い又はプリンタの処理速度が遅いなどの理由で1印刷行の印刷終了時点で次の印刷行のイメージデータが未だ準備できてなければ、その1印刷行の印刷終了後、すぐさま今印刷し終わった印刷行の開始位置へキャリッジを移動させるようにしてもよい。そうすると、次の印刷行のイメージデータが準備でき次第、即座に又は僅かな遅れだけで次行の印刷を開始することができる。その場合、キャリッジ移動時に次印刷行までの紙送り量が確定していれば、キャリッジ移動と同じに紙送りを行うことができる。また、キャリッジの移動先は、前行の開始位置ではなしに、0桁位置でもよい。そうすると、次行開始位置が異なっている場合の無駄なロジカルシークを無くすることが可能である。
【0039】
以上、本発明の一実施形態を説明したが、これらの実施形態はあくまで本発明の説明のための例示であり、本発明をこれら実施形態にのみ限定する趣旨ではない。従って、本発明は、上記実施形態以外の様々な形態でも実施することができるものである。例えば、図3(B)に示すように、各色のヘッド部23Y,23M,23Cが主走査方向に並んでいる場合には、各色ヘッド間の距離に相当するオフセットを、各色のヘッド部23Y,23M,23Cの駆動タイミング又は各色イメージバッファ63Y,63M,63Cからの読み出しアドレス範囲に適用する必要がある。
【図面の簡単な説明】
【図1】本発明が適用されるカラープリンタの印刷ヘッドを移動させるための機械構成を示す斜視図。
【図2】色毎にイメージデータの開始位置と終了位置が異なる例を示す説明図。
【図3】印刷ヘッドの正面図。
【図4】本発明の一実施形態にかかるカラープリンタのコントローラのハードウェア構成を示すブロック図。
【図5】同コントローラの機能的構成を示すブロック図。
【図6】1印刷行分の印刷コマンドのセットの構成を示す説明図。
【図7】1印刷行分のイメージデータが格納し終えた段階のイメージバッファの状態を示す説明図。
【図8】イメージバッファの空領域スキャンの様子を示す説明図。
【図9】読み出しアドレス範囲及び印刷範囲を決定する様子を示す説明図。
【符号の説明】
21 キャリッジ
23 印刷ヘッド
63 イメージバッファ
73 コマンド解釈部
75 イメージ範囲検出部
77 ヘッドドライバ
79 印刷範囲決定部
102 イメージ開始アドレス
103 イメージ終了アドレス
107 正味のイメージ開始アドレス
108 正味のイメージ終了アドレス
109 正味のイメージの最先頭アドレス
110 正味のイメージの最後尾アドレス
111 読み出しアドレス範囲
113 印刷開始位置
114 印刷終了位置
115 印刷範囲[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color printer that forms an image by adhering a plurality of colorants while scanning the surface of a print medium with a print head.
[0002]
[Prior art]
In this type of color printer, as shown in FIG. 1, a
[0003]
Japanese Patent Publication No. 4-28231 discloses a conventional technique for driving such a print head. In this conventional method, there are cases where the number of image columns (number of dots or characters, in short, the length of the image) differs for each color even in the same print line, in which case the color with the larger number of columns In order to solve the problem that the image cannot be printed completely, the number of columns for one print line is counted for each color from the data stored in the register, and the maximum number of columns among the counted number of columns is selected, The carriage is controlled so that the print head is continuously moved in the main scanning direction by the maximum number of columns and then returned.
[0004]
[Problems to be solved by the invention]
In an actual color image, the start position and end position of the image of one print line may differ for each color. For example, as shown in FIG. 2, the
[0005]
Accordingly, an object of the present invention is to provide a color printer that can correctly print a color image in which the image start position and the image end position of the same print line are different for each color.
[0006]
[Means for Solving the Problems]
The color printer of the present invention includes a print head, a moving mechanism that moves the print head in the main scanning direction, and a plurality of image buffers that store image data for each color for one print line. Then, each color image data for one print line is stored in the storage area of each color image buffer corresponding to the range from the start position to the end position of each color image of one print line in the main scanning direction. The start address and end address of each color image data stored in each color image buffer are detected, and then the top address of the detected start address and the end address of the detected end address are detected. Is done. Then, the moving mechanism is controlled so that the print head continuously moves in the position range in the main scanning direction corresponding to the detected address range from the top address to the end address. Further, each color image data is read from the storage area from the top address to the last address of each color image buffer, and is supplied to the print head in synchronization with the continuous movement of the print head.
[0007]
According to this color printer, even if the start position and end position of the image are different for each color, the print head covers the range from the top position of the start position to the end position of the end position. Since each color image data is read out from the address range of the image buffer corresponding to this range and supplied to the print head, a complete color image can be printed correctly.
[0008]
In a preferred embodiment, after each color image data is temporarily stored in each color image buffer, it is checked whether there is a null area at both ends of each color image data. Determine the start and end addresses of the net image data. Then, the head address is selected from the start address of the determined net image data, and the tail address is selected from the end address of the determined net image data. This reduces the printing time for each print line because the print head need only move continuously within the range where the net image data exists.
[0009]
In a preferred embodiment, when the position range for continuously moving the print head in the next print line is not yet determined when the printing of one print line is completed, the print head is set to the predetermined position after the printing of the one print line is completed. Move to the position. The predetermined position is, for example, the start position of the line where printing has been completed, or the position of the 0th digit. This is effective in increasing the printing speed, particularly in the case of unidirectional printing and when printing is started from the same or close position in every print line.
[0010]
The operation method of the color printer according to the present invention detects the start position and the end position in the main scanning direction of the image data for each color for one print line, and detects the top position and the detected end position in the detected start position. Determining the last position of the print head, continuously moving the print head through the position range from the first position to the last position, and continuously moving the print head from the start position to the end position of each color image data And driving the print head using each color image data.
[0011]
In a preferred embodiment, when determining the last position from the top position, if there are null areas at both ends of the image data for each color for one print line, the null areas are excluded from the image data for each color. Thus, the start position and end position of the net image data of each color are determined, and the top position and the end position are determined from the start position and end position of the determined net image data.
[0012]
In a preferred embodiment, when the range for continuously moving the print head in the next print line is not yet determined when printing of one print line is finished, the print head is moved to a predetermined position after the printing of one print line is finished. Move to.
[0013]
According to the operation method of the present invention, a color image can be printed correctly even if the image start position and the image end position of the same print line are different for each color.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
A color printer according to an embodiment of the present invention will be described below with reference to the drawings. There are actual color printers that use a large number of colorants such as four colors, six colors, and seven colors, but in order to make the explanation easy to understand, the color printer of this embodiment has three colors Y, M, and C. A colorant shall be used.
[0015]
This color printer includes a
[0016]
As shown in FIG. 1, the
[0017]
4 and 5 show the hardware configuration and the functional configuration of the controller of this color printer, respectively.
[0018]
As shown in FIG. 4, the controller of the
[0019]
When the controller having such a hardware configuration is viewed functionally as shown in FIG. 5, the
[0020]
The receiving
[0021]
The
[0022]
The
[0023]
The
[0024]
The operation of the controller under the above configuration will be described more specifically below.
[0025]
FIG. 6 shows the configuration of a set of print commands for one print line sent from the
[0026]
As shown in FIG. 6, the print command set for one print line first includes three image data commands for sending image data of each color. An image data command for one color includes a command code (not shown), a parameter for specifying “color”, a parameter for specifying an “image start position” in the horizontal direction (main scanning direction), and “image It consists of a parameter that specifies the “data length” (data amount of image data) and the “image data” itself for that color. A "carriage return" (CR) command is added after the image data command for one color. A set of the image data command for one color and the CR command is repeated for three colors Y, M, and C. This is followed by a paper feed command specifying the “vertical position” (position in the sub-scanning direction) of the next print line. Thus, a set of print commands for one print line is configured.
[0027]
When a set of print commands for one print line as shown in FIG. 6 is sent from the
[0028]
In FIG. 7, when the reception of the print command set for one print line is finished, the
[0029]
As shown in FIG. 7, the image buffers 63Y, 63M, and 63C for the respective colors are the entire printable range in the horizontal direction (that is, the entire movement range in which an image can be formed while the
[0030]
When the image data for one print line of each color is stored in the color image buffers 63Y, 63M, and 63C as described above, the image
[0031]
That is, as shown in FIG. 8, the
[0032]
Next, the print
[0033]
That is, as shown in FIG. 9, the three color net image start addresses 107Y, 107M, and 107C stored by the
[0034]
After determining the read address range 111 (that is, the
[0035]
In synchronization with the transfer of the image data, the printing
[0036]
As described above, the three-color image data is read out from the read address range 111 up to the
[0037]
After the printing of one print line is completed in this way, the
[0038]
After completing the printing of one print line, there are a number of variations that can be considered as to when and how the carriage is moved and the paper is fed for printing the next print line. For example, in the case of unidirectional printing, if there is a high possibility that printing will start from the same position or close position, there is a large amount of transfer of image data or the processing speed of the printer is slow. If the image data of the next print line is not yet prepared at the end of printing of one print line, the carriage is moved to the start position of the print line that has been printed immediately after the end of printing of that one print line. May be. Then, as soon as the image data of the next print line is prepared, the next line can be printed immediately or with a slight delay. In this case, if the paper feed amount up to the next printing line is determined when the carriage is moved, the paper can be fed in the same manner as the carriage movement. Further, the carriage movement destination may be the 0-digit position, not the start position of the previous line. Then, it is possible to eliminate useless logical seek when the next line start position is different.
[0039]
As mentioned above, although one Embodiment of this invention was described, these embodiment is an illustration for description of this invention to the last, and is not the meaning which limits this invention only to these embodiment. Therefore, the present invention can be implemented in various forms other than the above-described embodiment. For example, as shown in FIG. 3B, when the
[Brief description of the drawings]
FIG. 1 is a perspective view showing a mechanical configuration for moving a print head of a color printer to which the present invention is applied.
FIG. 2 is an explanatory diagram showing an example in which the start position and the end position of image data are different for each color.
FIG. 3 is a front view of a print head.
FIG. 4 is a block diagram showing a hardware configuration of a color printer controller according to the embodiment of the present invention.
FIG. 5 is a block diagram showing a functional configuration of the controller.
FIG. 6 is an explanatory diagram illustrating a configuration of a set of print commands for one print line.
FIG. 7 is an explanatory diagram illustrating a state of an image buffer at a stage where image data for one print line has been stored.
FIG. 8 is an explanatory diagram showing a state of scanning an empty area of an image buffer.
FIG. 9 is an explanatory diagram showing how a read address range and a print range are determined.
[Explanation of symbols]
21
Claims (4)
前記印刷ヘッドを主走査方向に移動させる移動機構と、
1印刷行分の色別のイメージデータを含み且つ色別のイメージ開始位置を指定する印刷コマンド、を受信する受信手段と、
前記1印刷行分の色別のイメージデータをそれぞれ記憶するための複数のイメージバッファと、
各色イメージバッファ内の、受信した前記印刷コマンドにより指定される各色イメージ開始位置に対応するアドレスから始まる記憶領域に、受信した前記印刷コマンドに含まれる前記1印刷行分の各色イメージデータを格納するデータ格納手段と、
前記各色イメージバッファ内に格納された前記各色イメージデータの開始アドレスと終了アドレスを検出し、検出した前記各色イメージデータの開始アドレスから終了アドレスまでの記憶領域の両端部にヌル領域が存在するか調べ、存在する場合には前記ヌル領域を除外して各色の正味のイメージデータの開始アドレスと終了アドレスを確定し、そして、確定した前記正味のイメージデータの開始アドレスのうちの最先頭アドレスと、確定した前記正味のイメージデータの終了アドレスのうちの最後尾アドレスとを検出するアドレス検出手段と、
検出した前記最先頭アドレスから前記最後尾アドレスまでのアドレス範囲に対応する前記主走査方向の位置範囲を前記印刷ヘッドが連続移動するように、前記移動機構を制御する移動制御手段と、
前記各色イメージバッファの前記最先頭アドレスから前記最後尾アドレスまでの記憶領域から前記各色のイメージデータを読み出して、読み出したイメージデータを前記印刷ヘッドの連続移動に同期して前記印刷ヘッドに供給するヘッド駆動手段と、
を備えたカラープリンタ。A print head;
A moving mechanism for moving the print head in the main scanning direction;
Receiving means for receiving a print command including image data for each color for one print line and designating an image start position for each color;
A plurality of image buffers for storing the image data for each color of one print line;
Data for storing each color image data for the one print line included in the received print command in a storage area starting from an address corresponding to each color image start position specified by the received print command in each color image buffer Storage means;
The start address and the end address of each color image data stored in each color image buffer are detected, and it is checked whether null areas exist at both ends of the storage area from the start address to the end address of each detected color image data. If present, the null area is excluded to determine the start address and end address of the net image data of each color, and the start address of the determined start address of the net image data is determined. Address detecting means for detecting a tail address of end addresses of the net image data,
A movement control means for controlling the moving mechanism so that the print head continuously moves in a position range in the main scanning direction corresponding to the detected address range from the top address to the tail address;
A head that reads the image data of each color from a storage area from the head address to the tail address of each color image buffer and supplies the read image data to the print head in synchronization with the continuous movement of the print head Driving means;
With color printer.
1印刷行分の色別のイメージデータを含み且つ色別のイメージ開始位置を指定する印刷コマンド、を受信するステップと、
前記各色イメージバッファ内の、受信した前記印刷コマンドにより指定される各色イメージ開始位置に対応するアドレスから始まる記憶領域に、受信した前記印刷コマンドに含まれる前記1印刷行分の各色イメージデータを格納するステップと、
前記各色イメージバッファ内に格納された前記各色イメージデータの開始アドレスと終了アドレスを検出し、検出した前記各色イメージデータの開始アドレスから終了アドレスまでの記憶領域の両端部にヌル領域が存在するか調べ、存在する場合には前記ヌル領域を除外して各色の正味のイメージデータの開始アドレスと終了アドレスを確定し、そして、確定した前記正味のイメージデータの開始アドレスのうちの最先頭アドレスと、確定した前記正味のイメージデータの終了アドレスのうちの最後尾アドレスとを検出するステップと、
検出した前記最先頭アドレスに対応する最先頭位置から、検出した前記最後尾アドレスに対応する最後尾位置までの位置範囲を前記印刷ヘッドが連続移動するステップと、
前記印刷ヘッドが連続移動しているときに、前記各色イメージデータを用いて前記印刷ヘッドを駆動するステップと
を備えたカラープリンタの動作方法。In an operating method of a color printer comprising a print head, a moving mechanism for moving the print head in the main scanning direction, and a plurality of image buffers,
Receiving a print command including image data for each color for one print line and designating an image start position for each color;
Each color image data for one print line included in the received print command is stored in a storage area starting from an address corresponding to each color image start position specified by the received print command in each color image buffer. Steps,
The start address and the end address of each color image data stored in each color image buffer are detected, and it is checked whether null areas exist at both ends of the storage area from the start address to the end address of each detected color image data. If present, the null area is excluded to determine the start address and end address of the net image data of each color, and the start address of the determined start address of the net image data is determined. Detecting a last address of end addresses of the net image data,
A step from the forefront position corresponding to the detected the forefront address of the position range to the end position corresponding to the detected the last address the print head continuously moves,
And a step of driving the print head using the color image data when the print head is continuously moving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP08649099A JP4061562B2 (en) | 1999-03-29 | 1999-03-29 | Color printer and operation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP08649099A JP4061562B2 (en) | 1999-03-29 | 1999-03-29 | Color printer and operation method thereof |
Related Child Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007291617A Division JP2008100521A (en) | 2007-11-09 | 2007-11-09 | Color printer and its controlling method |
JP2007291615A Division JP2008105427A (en) | 2007-11-09 | 2007-11-09 | Color printer and its control method |
JP2007291616A Division JP2008055917A (en) | 2007-11-09 | 2007-11-09 | Color printer and operation method therefor |
JP2007291618A Division JP4603571B2 (en) | 2007-11-09 | 2007-11-09 | Color printer and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000272175A JP2000272175A (en) | 2000-10-03 |
JP4061562B2 true JP4061562B2 (en) | 2008-03-19 |
Family
ID=13888437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP08649099A Expired - Fee Related JP4061562B2 (en) | 1999-03-29 | 1999-03-29 | Color printer and operation method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4061562B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6402294B2 (en) | 1999-12-27 | 2002-06-11 | Seiko Epson Corporation | Printer, printing method, and data storage medium |
JP2006247905A (en) * | 2005-03-08 | 2006-09-21 | Canon Inc | Recording device, data processing method for recording device, and recording system |
JP5277591B2 (en) * | 2007-08-27 | 2013-08-28 | セイコーエプソン株式会社 | Fluid ejecting apparatus and control method thereof |
-
1999
- 1999-03-29 JP JP08649099A patent/JP4061562B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000272175A (en) | 2000-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4528576A (en) | Recording apparatus | |
EP0730971B1 (en) | Printing control method and apparatus using the same method | |
EP0655706B1 (en) | A data transfer circuit and a recording apparatus and method | |
JP4208488B2 (en) | Inkjet recording device | |
WO2000058102A1 (en) | Printer | |
EP0902357B1 (en) | Output method and apparatus | |
JP4061562B2 (en) | Color printer and operation method thereof | |
JP2008100521A (en) | Color printer and its controlling method | |
JP3744273B2 (en) | RECORDING METHOD, RECORDING DEVICE, AND READABLE MEDIUM RECORDING PROGRAM FOR THE SAME | |
JP4603571B2 (en) | Color printer and control method thereof | |
JP2003305834A (en) | Recorder and method of recording | |
JP2008105427A (en) | Color printer and its control method | |
US6597466B1 (en) | Image formation method, image formation control system, and image formation system | |
JPH0377066B2 (en) | ||
JP2008055917A (en) | Color printer and operation method therefor | |
JP3320233B2 (en) | Recording device | |
JPH10315541A (en) | Serial printer, printing method and printing system | |
JP3293707B2 (en) | Ink jet recording device | |
US7477416B2 (en) | Printing method and printing apparatus for printing on a label sheet | |
JP2001054943A (en) | Ink jet recording apparatus | |
US10675864B2 (en) | Printing apparatus and print control method | |
JP2002248810A (en) | Recorder and method for driving recording head | |
JPH0376223B2 (en) | ||
JP2003072151A (en) | Recording apparatus and drive controlling method for recording apparatus | |
JP2002361988A (en) | Serial printer and its operating method for printing test pattern |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060131 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060222 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060222 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070913 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071109 |
|
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: 20071130 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071213 |
|
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: 20110111 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110111 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120111 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120111 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130111 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130111 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140111 Year of fee payment: 6 |
|
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 |