JP2005349755A - Color printer - Google Patents
Color printer Download PDFInfo
- Publication number
- JP2005349755A JP2005349755A JP2004174192A JP2004174192A JP2005349755A JP 2005349755 A JP2005349755 A JP 2005349755A JP 2004174192 A JP2004174192 A JP 2004174192A JP 2004174192 A JP2004174192 A JP 2004174192A JP 2005349755 A JP2005349755 A JP 2005349755A
- Authority
- JP
- Japan
- Prior art keywords
- color
- data
- image data
- area
- data amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Storing Facsimile Image Data (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Record Information Processing For Printing (AREA)
- Color, Gradation (AREA)
Abstract
【課題】 ホストコンピュータ等の情報処理装置からカラープリンタに、各記録色成分のデータを圧縮符号化して送信する場合、カラープリンタが有する受信バッファメモリを有効に機能させることができるカラープリンタを提供することを目的とするものである。
【解決手段】 シアン、マゼンタ、イエロー、ブラックの色成分毎に圧縮符号化されたイメージデータを一時的に格納する受信バッファを、第1〜第5領域に予め分割し、上記第1、2、3、4領域を、それぞれ、シアン、マゼンタ、イエローのイメージデータに割り当て、上記第5領域を、印刷データ受信開始後に任意の色に割り当てるメモリ分割手段と、受信した符号化データを、シアン、マゼンタ、イエロー、ブラックの色成分毎に、独立して、イメージデータに復号するカラープリンタである。
【選択図】 図1
PROBLEM TO BE SOLVED: To provide a color printer capable of effectively functioning a reception buffer memory of a color printer when data of each recording color component is compressed and transmitted from an information processing apparatus such as a host computer to the color printer. It is for the purpose.
A reception buffer for temporarily storing image data compression-coded for each of cyan, magenta, yellow, and black color components is divided into first to fifth areas in advance, and the first, second, The memory division means for assigning the third and fourth areas to cyan, magenta, and yellow image data, and assigning the fifth area to an arbitrary color after the start of print data reception, and the received encoded data for cyan, magenta The color printer decodes image data independently for each of the yellow, black, and black color components.
[Selection] Figure 1
Description
本発明は、カラー画像を印刷するカラープリンタに関する。
The present invention relates to a color printer that prints a color image.
ホストコンピュータからの印刷データを受信して印刷を行うカラープリンタにおいて、色成分毎に、同一サイズのバッファメモリを予め確保し、それらをリングバッファとして使用する技術が知られている。 In a color printer that receives print data from a host computer and performs printing, a technique is known in which a buffer memory of the same size is secured in advance for each color component, and these are used as a ring buffer.
この技術によれば、少ないメモリ容量を有効活用して印刷することができるので、カラープリンタをコストダウンすることができる。 According to this technique, printing can be performed by effectively utilizing a small memory capacity, and the cost of the color printer can be reduced.
従来、プリンタのバッファ制御に関する技術が知られている(たとえば、特許文献1参照)。
しかし、現在、ユーザのプリンタへの解像度要求は高まり、また、ホストコンピュータからプリンタに転送するデータ量も膨大なサイズになっている。これに対応するためには、印刷すべきイメージデータを圧縮し、データ量を減らすことが必要であり、これによって、データ転送を効率良く行いつつ、必要なメモリ量を削減し、コストダウンを実現することができる。 However, at present, the resolution requirement of the user's printer has increased, and the amount of data transferred from the host computer to the printer has become enormous. In order to cope with this, it is necessary to compress the image data to be printed and reduce the amount of data, thereby reducing the amount of memory required and reducing costs while efficiently transferring data. can do.
ここで、各色成分の圧縮されたデータ量は、概して同じ比率ではない。 Here, the compressed data amount of each color component is generally not the same ratio.
したがって、上記従来例では、記録色成分毎に同サイズで、リングバッファを確保した場合、メモリの利用効率が高いとは言えず、受信バッファメモリを有効に機能させることができないという問題がある。 Therefore, in the above conventional example, when the ring buffer is secured with the same size for each recording color component, it cannot be said that the memory utilization efficiency is high, and there is a problem that the reception buffer memory cannot be effectively functioned.
つまり、上記従来例では、圧縮率の違いによって特定の色成分の画像データが大きい場合、記録スピードに対してデータ転送が間に合わなくなる可能性があるという問題がある。 In other words, the conventional example has a problem that data transfer may not be in time for the recording speed when the image data of a specific color component is large due to the difference in compression rate.
また、上記従来例では、確実に間に合わせるようにメモリ量を設定した場合、必要なメモリサイズが大きくなるという問題がある。 Further, the conventional example has a problem that the required memory size becomes large when the memory amount is set so as to be surely in time.
本発明は、ホストコンピュータ等の情報処理装置からカラープリンタに、各記録色成分のデータを圧縮符号化して送信する場合、カラープリンタが有する受信バッファメモリを有効に機能させることができるカラープリンタを提供することを目的とするものである。
The present invention provides a color printer capable of effectively functioning a reception buffer memory of a color printer when data of each recording color component is compressed and transmitted from an information processing apparatus such as a host computer to the color printer. It is intended to do.
本発明は、印刷データを受信し、カラー画像を所定の記憶媒体上に記録するカラープリンタにおいて、シアン、マゼンタ、イエロー、ブラックの色成分毎に圧縮符号化されたイメージデータを受信し、一時的に格納する受信バッファと、上記受信バッファを、第1〜第5領域に予め分割し、上記第1領域を、シアンのイメージデータに割り当て、上記第2領域を、マゼンタのイメージデータに割り当て、上記第3領域を、イエローのイメージデータに割り当て、上記第4領域を、ブラックのイメージデータに割り当て、上記第5領域を、印刷データ受信開始後に任意の色に割り当てるメモリ分割手段と、受信した符号化データを、シアン、マゼンタ、イエロー、ブラックの色成分毎に、独立して、イメージデータに復号する複数の復号手段とを有するカラープリンタである。
The present invention is a color printer that receives print data and records a color image on a predetermined storage medium, receives image data that has been compression-coded for each color component of cyan, magenta, yellow, and black, and temporarily The reception buffer to be stored in and the reception buffer are divided in advance into first to fifth areas, the first area is assigned to cyan image data, the second area is assigned to magenta image data, and Memory dividing means for allocating the third area to yellow image data, allocating the fourth area to black image data, and allocating the fifth area to an arbitrary color after printing data reception starts, and received encoding A plurality of decoding means for decoding data into image data independently for each of the cyan, magenta, yellow, and black color components; Is a color printer having.
本発明によれば、ホストコンピュータ等の情報処理装置からカラープリンタに各記録色成分のデータを圧縮符号化して送信する場合、カラープリンタが有する受信バッファメモリを有効に機能させることができるという効果を奏する。
According to the present invention, when data of each recording color component is compressed and transmitted from an information processing apparatus such as a host computer to a color printer, the reception buffer memory of the color printer can be effectively functioned. Play.
発明を実施するための最良の形態は、次の実施例である。 The best mode for carrying out the invention is the following embodiment.
図1は、本発明の実施例1であるカラープリンタ10とホストコンピュータ1とを示すブロック図である。
FIG. 1 is a block diagram illustrating a
ホストコンピュータ1は、オペレーティングシステム(OS)2と、アプリケーション3と、プリンタドライバ4と、ランゲージモニタ5と、USBポートドライバ6とを有する。
The
ホストコンピュータ1は、印刷データを生成するパーソナルコンピュータ等のコンピュータであり、CPU、メモリ、ハードディスク、フロッピー(登録商標)ディスクドライブ、キーボード、マウス等のポインティングデバイス、モニタ、USBポート等のハードウェア(不図示)を具備する。
The
オペレーティングシステム(OS)2は、ホストコンピュータ1が具備するハードウェアと、アプリケーション3、プリンタドライバ4、ランゲージモニタ5、USBポートドライバ6等のソフトウェアを管理する。
An operating system (OS) 2 manages hardware included in the
アプリケーション3は、たとえばワードプロセッサのようなアプリケーションソフトウェアであり、操作者の指示に従って文書の作成・印刷等を行う。
The
プリンタドライバ4は、アプリケーション3が発行した印刷指令をオペレーティングシステム2経由で受け取り、該印刷指令を、ランゲージモニタ5とカラープリンタ10とが解釈可能なプリンタコマンドに変換する。
The
ランゲージモニタ5は、プリンタドライバ4が出力したプリンタコマンドを受け取り、USBポートドライバ6を経由し、カラープリンタ10に送信する。
The
USBポートドライバ6は、ランゲージモニタ5が出力したプリンタコマンドを、USBポートを経て、カラープリンタ10に送信し、また、カラープリンタ10からステータスを受信すると、ランゲージモニタ5に出力する。
The
カラープリンタ10は、USBポートドライバ6から受信したプリンタコマンドに従って、印刷する。なお、実施例1は、カラープリンタ10とホストコンピュータ1とは、USBインタフェースを介して接続する例であるが、他のインタフェース、たとえばネットワークを介して接続するようにしてもよい。
The
図2は、実施例1におけるカラープリンタ10の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating the configuration of the
カラープリンタ10は、USBポート11と、DMAコントローラ12と、メモリ13と、復号回路14Y、14M、14C、14Kと、プリンタエンジン15と、制御回路16とを有する。
The
USBポート11は、コンピュータ1からプリンタコマンドを含む印刷データを受信する。なお、上記のように、ホストコンピュータ1と接続するインタフェースとして、USBに限らず、ネットワークインタフェースを使用するようにしてもよい。
The USB port 11 receives print data including a printer command from the
DMAコントローラ12は、USBポート11を介して受信した画像データを、メモリ13に格納し、また、メモリ13から読み出した画像データを構成するイエロー(以下Y)、マゼンタ(以下M)、シアン(以下C)、ブラック(以下K)成分のそれぞれに対応して用意されている復号回路14Y、14M、14C、14Kに出力する。
The
メモリ13は、たとえば16Mバイトの容量を有し、DMAコントローラ12の制御のもとに、画像データを格納し、リングバッファとして機能し、メモリ13は、5つの論理チャネル、たとえば4つの3.8Mバイトメモリと、1つの0.8Mバイトメモリとの容量を有し、FIFO(ファーストインファーストアウト)メモリとして動作する。
The
復号回路14Y、14M、14C、14Kは、メモリ13に記憶されている圧縮画像データを、それぞれ復号し、プリンタエンジン15に出力する。復号回路14Y、14M、14C、14Kのそれぞれは、互いに独立した回路であり、各チャネルの画像データを同時に復号することができる。
The
プリンタエンジン15は、レーザビームプリンタエンジンであり、制御回路16の指示によって、復号回路14Y、14M、14C、14Kが出力する画像データに従って、印刷する。プリンタエンジン15は、4つのドラムを有し、各チャネルの画像データを、Y、M、C、Kの4色の画像データとして同時に印刷する。
The
制御回路16は、たとえば1チップCPUで構成され、USBポート11、DMAコントローラ12、メモリ13、復号回路14、プリンタエンジン15等のカラープリンタ10の全体を制御する。
The
次に、実施例1におけるプリンタエンジン15の構成について説明する。
Next, the configuration of the
図3は、実施例1におけるプリンタエンジン15を示す概念図である。
FIG. 3 is a conceptual diagram illustrating the
図4は、実施例1におけるプリンタエンジン15内のスキャナ部301を示す概念図である。
FIG. 4 is a conceptual diagram illustrating the scanner unit 301 in the
プリンタエンジン15は、電子写真プロセスによってY、M、C、Kの各画像データを可視像化し、転写材上に転写する。画像生成部は、Y、M、C、Kそれぞれに対応した4つの同様なブロックによって構成されている。以下、イエロー(Y)を例にとって詳細に説明する。
The
スキャナ部301は、レーザドライバ312と、レーザ発光部313Yと、コリメータレンズ314Yと、ポリゴンモータ315Yと、多面体ミラー316Yと、結像レンズ317Yと、ミラー318Yと、感光ドラム319Yと、固定ミラー320Yと、受光素子321Yとを有する。なお、スキャナ部301は、マゼンタ(M)、シアン(C)、ブラック(K)についても、イエロー(Y)における上記構成と同様の構成を有する。
The scanner unit 301 includes a
イエロー(Y)に着目した場合、レーザドライバ312は、プリンタ画像処理部352から出力された画像データに応じて、レーザ発光部313Yを駆動する。ここで、プリンタ画像処理部352は、図2に示す各復号回路14Y、14M、14C、14Kを含み、画像データは、各復号回路14Y、14M、14C、14Kによって出力される。レーザ発光部313Yは、プリンタ画像処理部352から出力された画像データに応じて、レーザビームを変調し、出力する。変調されたレーザビームは、コリメータレンズ314Yによって平行光に変換された後に、ポリゴンモータ315Yの回転によって、一定速度で回転する多面体ミラー316Yに入射される。
When attention is paid to yellow (Y), the
多面体ミラー316Yの前に配置されている結像レンズ317Yによって、また、ミラー318Yを介して、感光ドラム319Y上に焦点を結ぶ。多面体ミラー316Yが一定速度で回転すると、レーザビームは、一定速度で感光ドラム319Y上を走査する。感光ドラム319Yが一定速度で回転し、かつレーザビームが、一定速度で感光ドラム319Y上を走査すると、感光ドラム319Y上には静電潜像が形成される。
The
レーザビームの光路中に、固定ミラー320Yが配置され、走査開始位置に到達したレーザビームは、固定ミラー320Yによって反射され、受光素子321Yに入射される。受光素子321Yに入射された光を、受光素子321Yが電流に変換し、さらに電流−電圧変換し、水平同期信号の生成に用いられる。
The
感光体ドラム319Yは、導電ドラムと光導電層とによって構成され、その周りに、一次帯電器322Y、現像器323Y、転写帯電器324Y、ブレード方式のクリーニング器325Y(不図示)、除電器326Y(不図示)が構成されている。
The
さて、感光体ドラム319Y、一次帯電器322Y、現像器323Y内の現像スリーブ323Ya(不図示)、転写帯電器324Yは、モータ327によって駆動される。駆動された感光ドラム319Yは、一次帯電器322Yが通過することによって、その表面が、均一にマイナスに直接帯電され、その後に、レーザ発光部313Yからレーザ光を受け、露光される。このレーザ光の照射によって、明部のマイナス電荷が中和され、静電潜像が形成される。
The
そして、上記静電潜像は、現像器323Y中のイエロー現像剤YTに近接すると、マイナス帯電した現像剤YTが、潜像の電位と現像器323Yの電位との電位差によって、感光ドラム319Yの表面に、ジャンプし、可視像化される。
When the electrostatic latent image comes close to the yellow developer YT in the developing
そして、転写帯電器324Yによってプラス電荷をかけ、感光体ドラム319Y上のトナー像を転写材P上に転写する。また、転写が終了した感光体ドラム319Yの表面は、クリーニング器325Yが、残留トナーを除去した後に、一次帯電器322Yがドラム電位を均一にし、次の静電潜像の形成に備える。ドラム表面上から除去された残留トナーは、図示しない現像剤回収容器に回収される。
Then, a positive charge is applied by the
さて、マゼンタ(M)、シアン(C)、ブラック(K)においても、それぞれマゼンタ現像剤MT、シアン現像剤CT、ブラック現像剤KTを用いて、感光体ドラム319M、319C、319K上に、上記と同様のプロセスで、画像が生成される。そして、転写剤P上に転写され、フルカラーのプリントアウトが行われる。
Now, in magenta (M), cyan (C), and black (K), the magenta developer MT, cyan developer CT, and black developer KT are used on the
ここで、色成分毎の感光ドラム319Y、319M、319C、319Kは、それぞれ所定間隔dを置いて配置されている。このために、その距離dと記録紙の搬送速度とに見合ったタイミングだけ、図2に示す復号回路14Y、14M、14C、14Kをずらして駆動することによって、転写材P上の所定位置に画像を重ね合わせている。すなわち、同一タイミングに着目した場合、復号回路14Y、14M、14C、14Kは、印刷位置のイメージデータを同時に復号している。
Here, the
さて、転写材Pは、用紙カセット360にセットされ、レーザ光の照射開始と同期したタイミングで給紙され、レジストローラ333を経て、図3に示す矢印方向に搬送される。そして、転写材Pは、感光ドラム319Y、319M、319C、319Kに付着された現像剤YT、MT、CT、KTが転写された後に、定着部335に搬送される。定着部335に運ばれた転写材Pに転写された現像剤YT、MT、CT、KTが、熱と圧力とによって、転写材Pに定着される。定着部335を通過した転写材Pは、排出ローラ338によって排出される。
Now, the transfer material P is set in the
なお、実施例1では、ホストコンピュータ側において、ディザ処理を行い、1画素2ビットの画像データを生成することができる。また、プリンタエンジン15において、レーザビームを、PWMパルス変調することによって、色成分毎に、1画素2ビット(すなわち4階調)の画像を記録することができる。
In the first embodiment, dither processing can be performed on the host computer side to generate image data of 2 bits per pixel. Further, the
次に、実施例1の特徴となる点を説明する。 Next, features that are characteristic of the first embodiment will be described.
図5は、カラープリンタ10に設けられているリングバッファを示すブロック図である。
FIG. 5 is a block diagram showing a ring buffer provided in the
リングバッファは、DMAコントローラ12とメモリ13とによって構成されている。
The ring buffer includes a
また、メモリ13は、メモリブロックMB1(第1領域)、メモリブロックMB2(第2領域)、メモリブロックMB3(第3領域)、メモリブロックMB4(第4領域)、メモリブロックMB5(第5領域)の5つのメモリブロック(領域)に分割されている。
The
ここで、メモリブロックMB1は、Yに予め割り当てられ、メモリブロックMB2は、Mに予め割り当てられ、メモリブロックMB3は、Cに予め割り当てられ、メモリブロックMB4は、Kに予め割り当てられている。 Here, the memory block MB1 is pre-assigned to Y, the memory block MB2 is pre-assigned to M, the memory block MB3 is pre-assigned to C, and the memory block MB4 is pre-assigned to K.
境界データ200〜205は、DMAコントローラ12に内蔵されている境界データである。すなわち、境界データ200は、メモリブロックMB1の先頭位置を示し、境界データ201は、メモリブロックMB1の末尾位置とメモリブロックMB2の先頭位置とを示し、境界データ202は、メモリブロックMB2の末尾位置とメモリブロックMB3との先頭位置とを示し、境界データ203は、メモリブロックMB3の末尾位置とメモリブロックMB4の先頭位置とを示し、境界データ204は、メモリブロックMB4の末尾位置とメモリブロックMB5との先頭位置を示し、境界データ205は、メモリブロックMB5の末尾位置を示す。
The
リードポインタ制御回路211〜214は、DMAコントローラ12に内蔵されているリードポインタ制御回路であり、各メモリブロックMBから、復号回路14Y、M、C、Kにデータを読み出すアドレスを保持し、また、DMAコントローラ12によって、読み出されたデータサイズに応じて、次に読み出すデータのアドレスを保持するように更新する。
The read
ライトポインタ制御回路221〜224は、DMAコントローラ12に内蔵されているライトポインタ制御回路であり、各メモリブロックMBに、ホストコンピュータ1からのY、M、C、K印刷データを書き込むアドレスを保持し、また、DMAコントローラ12によって、書き込まれたデータサイズに応じて、次に書き込むデータのアドレスを保持するように更新する。
The write
比較アドレス設定レジスタ231〜234は、DMAコントローラ12に内蔵されているデータレジスタである。
The comparison
比較器241〜244は、DMAコントローラ12に内蔵され、境界データ200、201、202、203からスタートするライトポインタ221〜224が、比較データレジスタ231〜234が設定した比較アドレスに達したか否かを検出する。
The
ここで、DMAコントローラ12は、1ページプリントの中で最も早く、上記比較アドレスに達したライトポインタの示す色成分に、メモリブロックMB5を割り当てる。すなわち、最も早く比較アドレスに達したライトポインタが、Y用のライトポインタであれば、Yのアドレス空間は、境界データ200〜201と、境界データ204〜205とになる。
Here, the
この場合、DMAコントローラ12は、ライトポインタ制御回路221、222、223、224と、リードポインタ制御回路211、212、213、214と、比較器241、242、243、244と、比較アドレス設定レジスタ231、232、233、234とを有する。
In this case, the
DMAコントローラ12において、ライトポインタ制御回路221またはリードポインタ制御回路211が、境界データ201に達したときに、ネクストアドレスが204になるように制御し、リングメモリを更新する。ライトポインタ制御回路221またはリードポインタ制御回路211が、末尾アドレス205に達すると、ネクストアドレスが先頭アドレス200になるように更新する。
In the
上記と同様に、最も早く比較アドレスに達したライトポインタが、M用のライトポインタであれば、Mのアドレス空間は、境界データ201〜202と、境界データ204〜205とになる。 Similarly to the above, if the write pointer that has reached the comparison address earliest is the write pointer for M, the address space of M becomes boundary data 201-202 and boundary data 204-205.
この場合、DMAコントローラ12において、ライトポインタ制御回路222またはリードポインタ制御回路212が、境界データ202に達したときに、ネクストアドレスが204になるように制御し、リングメモリを更新する。ライトポインタ制御回路222またはリードポインタ制御回路212が、末尾アドレス205に達すると、ネクストアドレスが、先頭アドレス201になるように更新する。
In this case, in the
上記と同様に、最も早く比較アドレスに達したライトポインタが、C用のライトポインタであれば、Cのアドレス空間は、境界データ202〜203と、境界データ204〜205になる。
Similarly to the above, if the write pointer that reaches the comparison address earliest is the C write pointer, the address space of C is the
この場合、DMAコントローラ12において、ライトポインタ制御回路223またはリードポインタ制御回路213が、境界データ203に達したときに、ネクストアドレスが204になるように制御し、リングメモリを更新する。ライトポインタ制御回路223またはリードポインタ制御回路213が、末尾アドレス205に達すると、ネクストアドレスが先頭アドレス202になるように更新する。
In this case, in the
上記と同様に、最も早く比較アドレスに達したライトポインタが、K用のライトポインタであれば、Kのアドレス空間は、境界データ203〜204と、境界データ204〜205になる。
Similarly to the above, if the write pointer that reaches the comparison address earliest is the K write pointer, the address space of K becomes
この場合、DMAコントローラ12において、ライトポインタ制御回路224またはリードポインタ制御回路214が、境界データ204に達すると、ネクストアドレスが204になるように制御し、リングメモリを更新する。ライトポインタ制御回路224またはリードポインタ制御回路214が、末尾アドレス205に達すると、ネクストアドレスが、先頭アドレス203になるように更新する。
In this case, in the
以下、実施例1における印刷動作について説明する。 Hereinafter, the printing operation in the first embodiment will be described.
操作者が、ホストコンピュータ1上で動作しているアプリケーション3を操作し、印刷データを生成し、これを印刷指示すると、アプリケーション3からオペレーティングシステム2を経由して、プリンタドライバ4に印刷指令が渡される。
When the operator operates the
プリンタドライバ4は、アプリケーション3から発行された印刷指令に基づいて、画像データに変換し、圧縮し、圧縮した画像データを、用紙サイズ、ビットマップデータのラインの長さとライン数等を指定する印刷条件指定コマンド、ページ終了を示すページ終了コマンドとともに出力する。
The
出力されたプリンタコマンドは、オペレーティングシステム2を経由し、ランゲージモニタ5に渡される。ランゲージモニタ5は、受け取ったプリンタコマンドを、カラープリンタ10に転送する。カラープリンタ10は、印刷条件指定コマンドを受信すると、プリンタエンジン15に対して、印刷の開始を指示する。また、カラープリンタ10は、画像データコマンドを受信すると、記録色成分毎の画像データを、メモリ13中の該当するメモリブロックMBに、ライトポインタに従って、格納し、そのライトポインタを更新する。
The output printer command is passed to the language monitor 5 via the
プリンタエンジン15は、印刷の指示を受けると、給紙を開始し、給紙した用紙が所定の位置に達すると、画像データの出力を要求する。画像データの出力が要求されると、各復号回路14は、DMAコントローラ12を経て、メモリ13のメモリブロックMBの1つに格納されている画像データの読み取りを要求する。
When the
DMAコントローラ12は、この読取要求を受け付け、該当するメモリブロックMBのリードポインタで示されるデータから読出し、この読み出されたデータを、要求元の復号回路に出力する。このときに、リードポインタを更新することになるが、既に読み出されたデータを格納していたアドレス空間は、後続する画像データを格納することができる空き領域になる。復号回路14は、DMAコントローラ12によって転送されたデータを復号し、プリンタエンジン15に出力する。
The
次に、ホストコンピュータ1におけるプリンタドライバ4の処理の詳細について説明する。
Next, details of processing of the
図6は、プリンタドライバ4がオペレーティングシステム2から1描画単位のデータを受信した場合の動作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation when the
なお、1ページのプリントを行う際に、図6に示すフローチャートの動作が複数回、実行される。 Note that when printing one page, the operation of the flowchart shown in FIG. 6 is executed a plurality of times.
まず、S6では、オペレーティングシステム2から渡されたデータ種類がページ開始指令であるか否かを判定する。ページ開始指令でなければ、S7に示すように、データの種類に応じたその他の処理(たとえばプリンタ能力問い合わせ指令等に対応する処理)を実行し、S6に戻る。
First, in S6, it is determined whether or not the data type passed from the
S6では、データ種類がページ開始指令であれば、S1に示すように、データの種類が描画指令であるか否かを判定する。描画指令であれば、S2に示すように、描画処理を行う。 In S6, if the data type is a page start command, it is determined whether the data type is a drawing command, as shown in S1. If it is a drawing command, a drawing process is performed as shown in S2.
ここで、描画データは、赤(R)、緑(G)、青(B)の各色8ビットによって生成される。たとえば、フォント種別やフォントサイズ、文字コードを受信した場合、それに応じた文字パターンを生成し、そのイメージデータの描画データを作成し、中間調画像の場合、指定された位置に、受信したイメージデータの描画データを作成する。 Here, the drawing data is generated by 8 bits for each color of red (R), green (G), and blue (B). For example, when a font type, font size, or character code is received, a character pattern corresponding to that is generated and drawing data of the image data is created. In the case of a halftone image, the received image data is placed at a specified position. Create drawing data.
次いで、S9では、S2に示す描画したイメージの領域位置と、その領域の属性(すなわち文字・線画の描画であるか、中間調イメージであるかを示す領域属性)とを示す領域属性テーブルを作成する。この領域属性テーブルは、1ページの開始時にリセットされる。また、1ページの終了を示す情報を、オペレーティングシステム2が受信したときに、上記領域属性テーブルを参照することによって、どの領域が文字線画であるのか、どの領域が中間調画像領域であるのかを認識することができる。上記領域属性テーブルを作成した後に、S1に戻る。
Next, in S9, an area attribute table indicating the area position of the drawn image shown in S2 and the attribute of the area (that is, an area attribute indicating whether the drawing is a character / line drawing or a halftone image) is created. To do. This area attribute table is reset at the start of one page. In addition, when the
さて、S1において、データの種類が描画指令でなければ、S3では、データの種類がページ終了指令であるか否かを判定する。データの種類が、ページ終了指令であれば、S4において、色変換処理と量子化数削減処理とを実行する。 If the data type is not a drawing command in S1, it is determined in S3 whether the data type is a page end command. If the data type is a page end command, color conversion processing and quantization number reduction processing are executed in S4.
具体的には、先に生成されたRGB3色の各色8ビットの画像を、公知の変換処理によって、記録色成分シアン(C)、マゼンタ(M)、黄(Y)、黒(K)(各色成分とも8ビット/画素)とし、各記録色成分の画像データを、2ビット(4値化)に変換する。4値化は、たとえばディザ処理を行うことによって生成する。なお、色変換処理と量子化処理とを高速なものにするためのLUT(ルックアップテーブル)による処理で実現してもよい。このときに、用いるディザマトリクステーブルは、ユーザが印刷時に指定したモードに応じて決定される。 Specifically, an 8-bit image of each of the three RGB colors generated previously is converted into cyan (C), magenta (M), yellow (Y), black (K) (each color) by a known conversion process. Each component is 8 bits / pixel), and the image data of each recording color component is converted into 2 bits (quaternary). The quaternarization is generated by performing dither processing, for example. Note that color conversion processing and quantization processing may be realized by processing using an LUT (Look Up Table) for speeding up the processing. At this time, the dither matrix table to be used is determined according to the mode designated by the user at the time of printing.
各テーブルの相違は、主に文章用、写真印刷用、図形等のグラフィック用のものであり、さらに、画質を優先するもの、圧縮率を優先させるもの等がある。 Differences between the tables are mainly for text, for photo printing, for graphics such as graphics, and for example, those giving priority to image quality and those giving priority to compression rate.
さて、S4では、記録色空間への変換と、4値化とが行われると、S5では、たとえば用紙サイズ、給紙元の選択、解像度、階調数、1ラインのバイト数、1ページのライン数等、印刷に必要な条件を指定する印刷条件指定コマンドを出力する。 In S4, when conversion to the recording color space and quaternarization are performed, in S5, for example, paper size, paper source selection, resolution, number of gradations, number of bytes in one line, one page Outputs a print condition designation command for designating conditions necessary for printing such as the number of lines.
続いて、S10では、色毎の比較アドレスを設定するための比較アドレス設定コマンドを出力する。これによって、画像データ量の多い色に対して、メモリブロックMBを多く割り当てることができる。 Subsequently, in S10, a comparison address setting command for setting a comparison address for each color is output. As a result, a large number of memory blocks MB can be allocated to colors having a large amount of image data.
次に、S11、S12、S13において、シアン、マゼンタ、イエロー、ブラックの色毎に、圧縮符号化した画像データをコマンドとともに出力する。まず、S11では、所定の圧縮手順に従い、画像データを圧縮符号化する。S12では、S11において符号化された画像データの色とサイズとを指定する画像データコマンドヘッダを出力する。 Next, in S11, S12, and S13, the compression-coded image data is output together with the command for each color of cyan, magenta, yellow, and black. First, in S11, image data is compression-encoded according to a predetermined compression procedure. In S12, an image data command header specifying the color and size of the image data encoded in S11 is output.
次に、S13では、S11において符号化された画像データを出力し、S14では、シアン、マゼンタ、黄、黒の各プレーンの処理が全て終了したかどうかを判定する。全色成分のプレーンの処理の全ては終了していないと判断した場合、S11に戻り、色を変えて、次のプレーンを処理する。このようにして、シアン、マゼンタ、イエロー、ブラックの各プレーンの処理が全て終了すると、S15では、ページの終了を指定するページ終了コマンドを出力し、処理を終了する。 Next, in S13, the image data encoded in S11 is output, and in S14, it is determined whether or not the processing for each of the cyan, magenta, yellow, and black planes has been completed. If it is determined that all the processing of all color component planes has not been completed, the process returns to S11 to change the color and process the next plane. In this way, when the processing for each of the cyan, magenta, yellow, and black planes is completed, a page end command for designating the end of the page is output in S15, and the processing ends.
さて、S3において、データの種類がページ終了指令でなければ、S8のように、データの種類に応じたその他の処理(たとえばプリンタ能力問い合わせ指令等に対応する処理)を実行し、終了する。 In S3, if the data type is not a page end command, other processing corresponding to the data type (for example, processing corresponding to a printer capability inquiry command) is executed as in S8 and the processing ends.
上記のようにして作成された一連のコマンドは、オペレーティングシステム2を経て、ランゲージモニタ5に渡される。ランゲージモニタ5からカラープリンタ10に至る通信路は、論理的に1つのコマンドチャネルと、シアン、マゼンタ、黄、黒の各色に対応する4つのデータチャネルによって構成される。
A series of commands created as described above is passed to the language monitor 5 via the
各チャネルでデータ転送が可能であるかどうかは、ステータス取得コマンドのレスポンスであるステータスによって示されている。ランゲージモニタ5は、コマンドを受け取ると、USBポートドライバ6を経て、カラープリンタ10にステータス要求コマンドを送信する。カラープリンタ10は、ステータス要求コマンドを受信するとステータスを送信する。送信されたステータスは、USBポートドライバ6を経て、ランゲージモニタ5に渡される。
Whether or not data transfer is possible in each channel is indicated by a status which is a response to the status acquisition command. When the
ランゲージモニタ5は、渡されたステータスを調べ、送信が許可されているチャネルで送信すべきコマンド(データ)を送信する。たとえば、コマンドチャネルでの送信が許可され、印刷条件指定コマンド等、画像データコマンド以外のコマンドで、未送信のものがあれば、それを送信する。また、ブラックの画像に対応するデータチャネルでの送信が許可され、ブラックの画像データコマンドで、未送信のものがあれば、それを送信する。このようにして、ランゲージモニタ5は、ステータスを確認しながら、コマンドを送信し、渡された一連のコマンドを全て送信し終えるまで、送信を続ける。 The language monitor 5 checks the passed status and transmits a command (data) to be transmitted on a channel for which transmission is permitted. For example, if transmission through the command channel is permitted and there is an untransmitted command other than the image data command such as a printing condition designation command, it is transmitted. In addition, transmission on the data channel corresponding to the black image is permitted, and if there is an untransmitted black image data command, it is transmitted. In this way, the language monitor 5 transmits the command while confirming the status, and continues to transmit until all of the series of passed commands have been transmitted.
ここで、送信の方法は、ある1つの色成分について全て出力してから、次の色成分に移るのではなく、複数の色成分のデータを、適当なデータ量単位に順次送信する。 Here, the transmission method outputs all of one color component and then sequentially transmits data of a plurality of color components in an appropriate data amount unit instead of moving to the next color component.
次に、実施例1におけるランゲージモニタ5の処理手順の具体例について説明する。 Next, a specific example of the processing procedure of the language monitor 5 in the first embodiment will be described.
図7は、実施例1におけるランゲージモニタ5の処理手順の具体例を示すフローチャートである。 FIG. 7 is a flowchart illustrating a specific example of a processing procedure of the language monitor 5 according to the first embodiment.
まず、S31では、1ページを構成する一連のコマンド(圧縮イメージデータを含む)全体を受信したかどうかを判定する。1ページを構成する一連のコマンド全体を受信していなければ、S32では、ジョブが終了したか(すなわちそのジョブのコマンドを全て受信し終えたか)どうかを判定する。このジョブのコマンドを全て受信し終えた場合、処理を終了し、ジョブのコマンドを全て受信し終えていなければ、S31に戻り、1ページを構成する一連のコマンド全体の受信を待つ。 First, in S31, it is determined whether or not the entire series of commands (including compressed image data) constituting one page has been received. If the entire series of commands composing one page has not been received, it is determined in S32 whether the job has been completed (that is, all the commands for the job have been received). If all the commands for this job have been received, the process ends. If all the commands for the job have not been received, the process returns to S31 and waits for the reception of the entire series of commands constituting one page.
S31において、1ページを構成する一連のコマンド全体を受信したと判断すれば、S33では、カラープリンタ10のステータスを要求し、取得する。プリンタのステータスには、各メモリブロックMBに格納されている画像データのサイズが含まれている。
If it is determined in S31 that the entire series of commands constituting one page has been received, the status of the
次に、S34では、各メモリブロックMBに全色データを格納可能であるかどうかを判断する。各メモリブロックMBに全色データを格納可能であれば、S39では、各色成分の圧縮符号化データをコマンドとして送信する。 Next, in S34, it is determined whether or not all color data can be stored in each memory block MB. If all the color data can be stored in each memory block MB, in S39, the compression encoded data of each color component is transmitted as a command.
S34において、全色データを格納可能ではないと判断すると、S35では、カラープリンタ10のステータスを要求し、取得する。そして、S36では、未処理の印刷データの有無を判断する。未処理のデータがあれば、S35に戻る。S36において、未処理の印刷データがなくなったと判断すると、S39では、各色成分の圧縮符号化データを送信する。このS39内では、各色成分について送信できる圧縮データについては送信し、バッファーフルになった後には、空きエリアができ次第、各色成分のデータを細切れにし、平均的に送信する。
If it is determined in S34 that all color data cannot be stored, the status of the
次に、実施例1におけるカラープリンタ10による印刷処理について説明する。
Next, the printing process by the
図8は、カラープリンタ10に設けられている制御回路16の処理手順(主に受信処理)を示すフローチャートである。
FIG. 8 is a flowchart showing a processing procedure (mainly reception processing) of the
先ず、S21では、コマンドを受信したか否かを判定し、コマンド受信を待つ。コマンドを受信したと判断すれば、S22では、受信したコマンドがステータス要求コマンドであるか否かを判定する。受信したコマンドがステータス要求コマンドであれば、S23では、ステータスを送信し、S21に戻る。 First, in S21, it is determined whether or not a command has been received, and the command reception is awaited. If it is determined that the command has been received, in S22, it is determined whether or not the received command is a status request command. If the received command is a status request command, in S23, the status is transmitted, and the process returns to S21.
また、S22において、受信したコマンドがステータス要求コマンドでなければ、S24では、受信したコマンドが印刷条件指定コマンドであるかどうかを判定する。受信したコマンドが、印刷条件指定コマンドであれば、S25において、指定された印刷条件に従って、プリンタエンジン15に印刷の開始を指示し、S21に戻る。この印刷条件には、記録解像度や給紙元を指定する等が含まれている。
If the received command is not a status request command in S22, it is determined in S24 whether the received command is a print condition designation command. If the received command is a printing condition designation command, in step S25, the
S24では、受信したコマンドが、印刷条件指定コマンドでもないと判断すれば、S26では、受信したコマンドが、比較アドレス設定コマンドであるか否かを判定する。受信したコマンドが、比較アドレス設定コマンドであれば、S27では、受信したメモリ比率指定コマンドに従って、比較アドレス設定レジスタを設定し、S21に戻る。4つのリードポインタ制御回路211〜214と、4つのライトポインタ制御回路221〜224とを、初期化する。
If it is determined in S24 that the received command is not a print condition designation command, it is determined in S26 whether or not the received command is a comparison address setting command. If the received command is a comparison address setting command, in S27, the comparison address setting register is set according to the received memory ratio designation command, and the process returns to S21. The four read
また、S26において、受信したコマンドが比較アドレス設定コマンドでなければ、S28では、受信したコマンドが画像データコマンドのヘッダ部分であるかどうかを判定する。受信したコマンドが画像データコマンドのヘッダ部分であれば、S29において、画像データコマンドのヘッダ部分に、引き続く画像データを、画像データコマンドのヘッダ部分が示す画像の色に応じたメモリブロックMBに格納するように、DMAコントローラ12を設定し、転送させ、S21に戻る。
If the received command is not a comparison address setting command in S26, it is determined in S28 whether the received command is a header portion of an image data command. If the received command is the header portion of the image data command, in S29, the subsequent image data is stored in the memory block MB corresponding to the color of the image indicated by the header portion of the image data command. Thus, the
DMAコントローラ12は、画像データコマンドのヘッダ部分に続く画像データを、読み込むと、指定されたメモリブロックMBに格納する。一回の転送が完了した場合、ライトポインタを更新する。
When the
なお、S28において、受信したコマンドが、画像データコマンドのヘッダ部分でなければ、S30では、その他のコマンドの処理を行い、S21に戻る。 If the received command is not the header part of the image data command in S28, other commands are processed in S30, and the process returns to S21.
上記のようにして、各記録色成分のデータの転送が終わると、制御回路16は、所定のタイミング(記録紙が所定位置まで搬送されるタイミング)で、各復号回路14Y、14M、14C、14Kについて、記録順とドラムの間隔dとに見合った時間だけずれたタイミングで、復号処理を開始させる。これによって、処理済みとなった空きエリアが、各色成分のメモリブロックMBに発生するので、ホストコンピュータ1は、未転送のデータが存在すれば、そのデータを転送することができる。
As described above, when the transfer of the data of each recording color component is completed, the
実施例1によれば、プリンタ内部のメモリ13を、データ量が多い色成分に、多く割り当てることができるので、限られたメモリを有効利用することができる。したがって、圧縮率の違いによって、特定の色成分の画像データが大きくなった場合、少ないメモリ量であっても、記録スピードに対してデータ転送が間に合わなくなることを防止できる。
According to the first embodiment, a large amount of the
また、特定の色に多くのメモリを再割り当てする場合、予め比較アドレスを設定しておくことによって、ハードウェアのみで実現されるので、ホストにおいて全ての記録データが生成されていなくても、データ転送を開始することができる。これによって、プリントのスループットをあげることができる。 Also, when reallocating a lot of memory to a specific color, it is realized only by hardware by setting a comparison address in advance, so even if not all recorded data is generated in the host, the data The transfer can be started. As a result, the throughput of printing can be increased.
また、ホストコンピュータ側で、各記録色成分8ビットを、より少ないビット数にする際に、ディザ法を利用する例を示したが、ディザに限らず、誤差拡散法を利用してもよく、誤差拡散する場合には、誤差拡散に利用する誤差拡散係数とマトリクスサイズとを変更することによって、ディザマトリクスと同等に扱うことができる。 In addition, an example in which the dither method is used when the host computer side sets each recording color component 8 bits to a smaller number of bits has been shown. However, not only dither but also an error diffusion method may be used. In the case of error diffusion, the error diffusion coefficient used for error diffusion and the matrix size can be changed to be handled in the same way as a dither matrix.
また、実施例におけるカラープリンタ10は、4階調(1画素2ビット)の階調画像を記録すると説明したが、印刷可能な階調数は、これに限らず、如何なる階調数でもよい。また、ホストコンピュータ1側で量子化する4値化も、同様であり、必ずしも少ビット化を必要とするものではない。ただし、最近のプリンタの記録解像度は非常に高いので、1ドットを多段階の濃度で再現するよりも、複数のドットで面積階調で、再現することが効率よく、しかもデータ量を削減できるので、望ましくは、上記実施例のように、1記録色成分のビット数を減らすことが望ましい。
Further, although the
また、実施例1では、プリンタエンジンとして、レーザビームプリンタを使用しているが、インク液滴を吐出するタイプのプリンタにも、実施例1を適用することができる。たとえば、1走査ライン分の吐出ノズルが並んだフルラインヘッドを、記録色成分の数だけ用意した装置にも適用できる。 In the first embodiment, a laser beam printer is used as the printer engine. However, the first embodiment can also be applied to a printer that ejects ink droplets. For example, the present invention can be applied to an apparatus in which a full line head in which ejection nozzles for one scanning line are arranged is prepared for the number of recording color components.
また、ランゲージモニタ5に相当するコンピュータプログラムは、広義のプリンタドライバの一部でもあるので、プリンタドライバ4とランゲージモニタ5との両方から構成されるコンピュータプログラムを、プリンタドライバプログラムとして見ることもできる。
In addition, since the computer program corresponding to the
また、プリンタドライバは、通常、CDROM等の可搬性のコンピュータ記憶媒体をコンピュータにセットし、システムにコピーまたはインストールして機能するものであるので、実施例1を、コンピュータ可読記憶媒体として把握することができる。
Also, since the printer driver normally functions by setting a portable computer storage medium such as a CDROM in a computer and copying or installing it in the system, the first embodiment should be understood as a computer-readable storage medium. Can do.
1…ホストコンピュータ、
10…カラープリンタ、
12…DMAコントローラ、
13…メモリ、
MB1、MB2、MB3、MB4、MB5…メモリブロック、
15…プリンタエンジン。
1 ... Host computer,
10 ... Color printer,
12 ... DMA controller,
13 ... Memory,
MB1, MB2, MB3, MB4, MB5 ... memory block,
15: Printer engine.
Claims (9)
シアン、マゼンタ、イエロー、ブラックの色成分毎に圧縮符号化されたイメージデータを受信し、一時的に格納する受信バッファと;
上記受信バッファを、第1〜第5領域に予め分割し、上記第1領域を、シアンのイメージデータに割り当て、上記第2領域を、マゼンタのイメージデータに割り当て、上記第3領域を、イエローのイメージデータに割り当て、上記第4領域を、ブラックのイメージデータに割り当て、上記第5領域を、印刷データ受信開始後に任意の色に割り当てるメモリ分割手段と;
受信した符号化データを、シアン、マゼンタ、イエロー、ブラックの色成分毎に、独立して、イメージデータに復号する複数の復号手段と;
を有することを特徴とするカラープリンタ。 In a color printer that receives print data and records a color image on a predetermined storage medium,
A reception buffer for receiving and temporarily storing image data compressed and encoded for each of the cyan, magenta, yellow, and black color components;
The reception buffer is pre-divided into first to fifth areas, the first area is assigned to cyan image data, the second area is assigned to magenta image data, and the third area is assigned to yellow. Memory dividing means for allocating image data, allocating the fourth area to black image data, and allocating the fifth area to an arbitrary color after printing data reception starts;
A plurality of decoding means for decoding the received encoded data into image data independently for each of the cyan, magenta, yellow, and black color components;
A color printer comprising:
色毎の受信データ量を、計測する受信データ量計測手段と;
色毎に、データ量比較用基準値を予め設定するデータ量比較用基準値設定手段と;
上記設定されたデータ量比較用基準値と、上記受信データ量計測手段が計測した計測値とを比較する比較手段と;
を有し、
上記メモリ分割手段は、受信データを開始した後に、上記比較手段による比較結果に基づいて、上記データ量比較用基準値を最も早く越えた領域に対応した色に対して、第5領域を受信バッファとして割り当てることを特徴とするカラープリンタ。 In claim 1,
A received data amount measuring means for measuring the received data amount for each color;
Data amount comparison reference value setting means for presetting a data amount comparison reference value for each color;
Comparing means for comparing the set reference value for data amount comparison with the measured value measured by the received data amount measuring means;
Have
The memory dividing means, after starting the reception data, based on the comparison result by the comparison means, receives the fifth area for the color corresponding to the area that has exceeded the data amount comparison reference value earliest. Color printer characterized by assigning as.
各色成分に割り当てられた上記受信バッファの各領域は、リングバッファとして機能することを特徴とするカラープリンタ。 In claim 1 or claim 2,
A color printer, wherein each area of the reception buffer assigned to each color component functions as a ring buffer.
シアン、マゼンタ、イエロー、ブラックの色成分毎に圧縮符号化されたイメージデータを受信し、受信バッファへ一時的に格納する受信工程と;
上記受信バッファを、第1〜第5領域に予め分割し、上記第1領域を、シアンのイメージデータに割り当て、上記第2領域を、マゼンタのイメージデータに割り当て、上記第3領域を、イエローのイメージデータに割り当て、上記第4領域を、ブラックのイメージデータに割り当て、上記第5領域を、印刷データ受信開始後に任意の色に割り当てるメモリ分割工程と;
受信した符号化データを、シアン、マゼンタ、イエロー、ブラックの色成分毎に、独立して、イメージデータに復号する複数の復号工程と;
を有することを特徴とするカラープリンタの制御方法。 In a color printer control method for receiving print data and recording a color image on a predetermined storage medium,
A receiving step of receiving image data compressed and encoded for each of the cyan, magenta, yellow, and black color components and temporarily storing them in a receiving buffer;
The reception buffer is pre-divided into first to fifth areas, the first area is assigned to cyan image data, the second area is assigned to magenta image data, and the third area is assigned to yellow. A memory dividing step of allocating image data, allocating the fourth area to black image data, and allocating the fifth area to an arbitrary color after starting reception of print data;
A plurality of decoding steps for decoding the received encoded data into image data independently for each of the cyan, magenta, yellow, and black color components;
A method for controlling a color printer, comprising:
色毎の受信データ量を、計測する受信データ量計測工程と;
色毎に、データ量比較用基準値を予め設定するデータ量比較用基準値設定工程と;
上記設定されたデータ量比較用基準値と、上記受信データ量計測手段が計測した計測値とを比較する比較工程と;
を有し、
上記メモリ分割工程は、受信データを開始した後に、上記比較工程による比較結果に基づいて、上記データ量比較用基準値を最も早く越えた領域に対応した色に対して、第5領域を受信バッファとして割り当てることを特徴とするカラープリンタの制御方法。 In claim 4,
A received data amount measuring step for measuring the received data amount for each color;
A data amount comparison reference value setting step for presetting a data amount comparison reference value for each color;
A comparison step for comparing the set reference value for data amount comparison with the measured value measured by the received data amount measuring means;
Have
In the memory dividing step, after the reception data is started, the fifth region is received in the reception buffer for the color corresponding to the region that has exceeded the data amount comparison reference value earliest based on the comparison result in the comparison step. A method for controlling a color printer, characterized by being assigned as:
各色成分に割り当てられた上記受信バッファの各領域をリングバッファとして使用することを特徴とするカラープリンタの制御方法。 In claim 4 or claim 5,
A method of controlling a color printer, wherein each area of the reception buffer assigned to each color component is used as a ring buffer.
シアン、マゼンタ、イエロー、ブラックの色成分毎に圧縮符号化されたイメージデータを受信し、受信バッファへ一時的に格納する受信工程と;
上記受信バッファを、第1〜第5領域に予め分割し、上記第1領域を、シアンのイメージデータに割り当て、上記第2領域を、マゼンタのイメージデータに割り当て、上記第3領域を、イエローのイメージデータに割り当て、上記第4領域を、ブラックのイメージデータに割り当て、上記第5領域を、印刷データ受信開始後に任意の色に割り当てるメモリ分割工程と;
受信した符号化データを、シアン、マゼンタ、イエロー、ブラックの色成分毎に、独立して、イメージデータに復号する複数の復号工程と;
を有することを特徴とするカラープリンタの制御プログラム。 In a control program for a color printer that receives print data and records a color image on a predetermined storage medium,
A receiving step of receiving image data compressed and encoded for each of the cyan, magenta, yellow, and black color components and temporarily storing them in a receiving buffer;
The reception buffer is pre-divided into first to fifth areas, the first area is assigned to cyan image data, the second area is assigned to magenta image data, and the third area is assigned to yellow. A memory dividing step of allocating image data, allocating the fourth area to black image data, and allocating the fifth area to an arbitrary color after starting reception of print data;
A plurality of decoding steps for decoding the received encoded data into image data independently for each of the cyan, magenta, yellow, and black color components;
A control program for a color printer, comprising:
色毎の受信データ量を、計測する受信データ量計測工程と;
色毎に、データ量比較用基準値を予め設定するデータ量比較用基準値設定工程と;
上記設定されたデータ量比較用基準値と、上記受信データ量計測手段が計測した計測値とを比較する比較工程と;
を有し、
上記メモリ分割工程は、受信データを開始した後に、上記比較工程による比較結果に基づいて、上記データ量比較用基準値を最も早く越えた領域に対応した色に対して、第5領域を受信バッファとして割り当てることを特徴とするカラープリンタの制御プログラム。 In claim 7,
A received data amount measuring step for measuring the received data amount for each color;
A data amount comparison reference value setting step for presetting a data amount comparison reference value for each color;
A comparison step for comparing the set reference value for data amount comparison with the measured value measured by the received data amount measuring means;
Have
In the memory dividing step, after the reception data is started, the fifth region is received in the reception buffer for the color corresponding to the region that has exceeded the data amount comparison reference value earliest based on the comparison result in the comparison step. A control program for a color printer, characterized by being assigned as
各色成分に割り当てられた上記受信バッファの各領域をリングバッファとして使用することを特徴とするカラープリンタの制御プログラム。 In claim 7 or claim 8,
A color printer control program, wherein each area of the reception buffer assigned to each color component is used as a ring buffer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004174192A JP2005349755A (en) | 2004-06-11 | 2004-06-11 | Color printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004174192A JP2005349755A (en) | 2004-06-11 | 2004-06-11 | Color printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005349755A true JP2005349755A (en) | 2005-12-22 |
Family
ID=35584600
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004174192A Pending JP2005349755A (en) | 2004-06-11 | 2004-06-11 | Color printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005349755A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007034601A1 (en) * | 2005-09-20 | 2007-03-29 | Mitsubishi Electric Corporation | Image encoding method, image decoding method, image encoding apparatus, image decoding apparatus, image encoded bitstream and recording medium |
| KR100966427B1 (en) | 2007-01-12 | 2010-06-28 | 미쓰비시덴키 가부시키가이샤 | Image decoding device and image decoding method |
| JP2011188081A (en) * | 2010-03-05 | 2011-09-22 | Fuji Xerox Co Ltd | Image encoding device, image forming device, and program |
| US8300694B2 (en) | 2005-09-20 | 2012-10-30 | Mitsubishi Electric Corporation | Image encoding method and image decoding method, image encoder and image decoder, and image encoded bit stream and recording medium |
| US8300700B2 (en) | 2005-09-20 | 2012-10-30 | Mitsubishi Electric Corporation | Image encoding method and image decoding method, image encoder and image decoder, and image encoded bit stream and recording medium |
| US8306112B2 (en) | 2005-09-20 | 2012-11-06 | Mitsubishi Electric Corporation | Image encoding method and image decoding method, image encoder and image decoder, and image encoded bit stream and recording medium |
| US8488889B2 (en) | 2005-07-22 | 2013-07-16 | Mitsubishi Electric Corporation | Image encoder and image decoder, image encoding method and image decoding method, image encoding program and image decoding program, and computer readable recording medium recorded with image encoding program and computer readable recording medium recorded with image decoding program |
| US8509551B2 (en) | 2005-07-22 | 2013-08-13 | Mitsubishi Electric Corporation | Image encoder and image decoder, image encoding method and image decoding method, image encoding program and image decoding program, and computer readable recording medium recording with image encoding program and computer readable recording medium recorded with image decoding program |
| US10264254B2 (en) | 2011-01-14 | 2019-04-16 | Huawei Technologies Co., Ltd. | Image coding and decoding method, image data processing method, and devices thereof |
-
2004
- 2004-06-11 JP JP2004174192A patent/JP2005349755A/en active Pending
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8488889B2 (en) | 2005-07-22 | 2013-07-16 | Mitsubishi Electric Corporation | Image encoder and image decoder, image encoding method and image decoding method, image encoding program and image decoding program, and computer readable recording medium recorded with image encoding program and computer readable recording medium recorded with image decoding program |
| US8509551B2 (en) | 2005-07-22 | 2013-08-13 | Mitsubishi Electric Corporation | Image encoder and image decoder, image encoding method and image decoding method, image encoding program and image decoding program, and computer readable recording medium recording with image encoding program and computer readable recording medium recorded with image decoding program |
| WO2007034601A1 (en) * | 2005-09-20 | 2007-03-29 | Mitsubishi Electric Corporation | Image encoding method, image decoding method, image encoding apparatus, image decoding apparatus, image encoded bitstream and recording medium |
| US8165392B2 (en) | 2005-09-20 | 2012-04-24 | Mitsubishi Electric Corporation | Image decoder and image decoding method for decoding color image signal, and image decoding method for performing decoding processing |
| US8300694B2 (en) | 2005-09-20 | 2012-10-30 | Mitsubishi Electric Corporation | Image encoding method and image decoding method, image encoder and image decoder, and image encoded bit stream and recording medium |
| US8300700B2 (en) | 2005-09-20 | 2012-10-30 | Mitsubishi Electric Corporation | Image encoding method and image decoding method, image encoder and image decoder, and image encoded bit stream and recording medium |
| US8306112B2 (en) | 2005-09-20 | 2012-11-06 | Mitsubishi Electric Corporation | Image encoding method and image decoding method, image encoder and image decoder, and image encoded bit stream and recording medium |
| US8320462B2 (en) | 2005-09-20 | 2012-11-27 | Mitsubishi Electric Corporation | Image encoding method, image decoding method, image encoding apparatus, image decoding apparatus, image encoded bitstream and recording medium |
| KR100966427B1 (en) | 2007-01-12 | 2010-06-28 | 미쓰비시덴키 가부시키가이샤 | Image decoding device and image decoding method |
| KR100966416B1 (en) * | 2007-01-12 | 2010-06-28 | 미쓰비시덴키 가부시키가이샤 | Image encoding device, image decoding device, image decoding method, and image encoding method |
| JP2011188081A (en) * | 2010-03-05 | 2011-09-22 | Fuji Xerox Co Ltd | Image encoding device, image forming device, and program |
| US10264254B2 (en) | 2011-01-14 | 2019-04-16 | Huawei Technologies Co., Ltd. | Image coding and decoding method, image data processing method, and devices thereof |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4054688B2 (en) | Printing system, information processing apparatus and control method therefor, printer driver program, and computer-readable storage medium | |
| JP4366089B2 (en) | Image forming apparatus and method | |
| US7612910B2 (en) | Information processing apparatus, information processing system, information output control method, storage medium and program | |
| US20110317187A1 (en) | Control apparatus, controlling method, program and recording medium | |
| US6226095B1 (en) | Image processing apparatus, method, and system | |
| US7161702B2 (en) | Method and apparatus for generating a print command capable of generating improved stable throughput | |
| JP2005349755A (en) | Color printer | |
| JP3159239B2 (en) | Image processing apparatus and image forming apparatus | |
| US7038815B2 (en) | Image processing apparatus and its method, and image processing system and its control method | |
| JP4115294B2 (en) | Image processing apparatus and method | |
| JPH1065919A (en) | Image forming device and image processing unit | |
| JP2021074959A (en) | Image formation apparatus, control method of the same and program | |
| US20050275883A1 (en) | Information processing apparatus and its control method | |
| JP3832519B2 (en) | Image forming apparatus and image processing apparatus | |
| JPS6216158A (en) | Printer apparatus | |
| JP2006106473A (en) | Image processing device | |
| JP2004255610A (en) | Control method of image forming apparatus | |
| JP2004185106A (en) | Information processing equipment | |
| JP7256660B2 (en) | IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM | |
| JP2004326266A (en) | Print control method, information processing apparatus and printing apparatus | |
| JP2007130850A (en) | Image forming apparatus, its control method, and program | |
| JP2002354257A (en) | Image processing apparatus, image processing method, recording medium, and program | |
| JP2004178418A (en) | Printing system | |
| JPH1128839A (en) | Image forming apparatus and image processing apparatus | |
| JP2021039199A (en) | An image processing controller, an image forming apparatus and a program provided with the image processing controller. |