[go: up one dir, main page]

JP2006248184A - Printing apparatus and control method thereof - Google Patents

Printing apparatus and control method thereof Download PDF

Info

Publication number
JP2006248184A
JP2006248184A JP2005071742A JP2005071742A JP2006248184A JP 2006248184 A JP2006248184 A JP 2006248184A JP 2005071742 A JP2005071742 A JP 2005071742A JP 2005071742 A JP2005071742 A JP 2005071742A JP 2006248184 A JP2006248184 A JP 2006248184A
Authority
JP
Japan
Prior art keywords
image
printing
band
color
plane
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.)
Withdrawn
Application number
JP2005071742A
Other languages
Japanese (ja)
Inventor
Masahiko Murata
昌彦 村田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005071742A priority Critical patent/JP2006248184A/en
Publication of JP2006248184A publication Critical patent/JP2006248184A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

【課題】 カラー印刷を行う為に使用するメモリ量を軽減すると共に、より高速な印刷を、より簡便な処理でもって行うための技術を提供すること。
【解決手段】 描画装置105はそれぞれのバンドについて、印刷時に使用する色毎の画像を描画し、圧縮器109はそれぞれのバンドを印刷する際に最初に使用される第1の色以外の第2の色について描画した画像を、描画直後に圧縮する。また、第1の色について描画した画像に基づいて印刷を行うと共に、第2の色について描画した画像に基づく印刷を行う場合には、その直前でこの画像を伸張器110によって復号し、印刷する。
【選択図】 図1
PROBLEM TO BE SOLVED: To provide a technique for reducing the amount of memory used for color printing and performing higher-speed printing with simpler processing.
A drawing device 105 draws an image for each color to be used at the time of printing for each band, and a compressor 109 outputs a second color other than the first color to be used first when printing each band. The image drawn for the color is compressed immediately after drawing. When printing is performed based on the image drawn for the first color and printing is performed based on the image drawn for the second color, this image is decoded by the decompressor 110 immediately before printing. .
[Selection] Figure 1

Description

本発明は、印刷技術に関するものである。   The present invention relates to a printing technique.

従来、4ドラム電子写真方式のページプリンタ等でホストコンピュータからの画像を発生し、印刷する場合、入力した印刷データをシアン、マゼンタ、イエロー、黒(即ち、C、M、Y、K)の4色の成分に分解し、各色に対するディスプレイリストである処理リストと処理リストによって描画されるデータであるオブジェクトデータをすくなくとも1ページ分発生し、発生した処理リストによりオブジェクトデータから、各色のビットマップ画像を発生し、メモリ上に描画する。   Conventionally, when an image from a host computer is generated and printed by a 4-drum electrophotographic page printer or the like, the input print data is 4 in cyan, magenta, yellow, and black (that is, C, M, Y, K). At least one page of the processing list that is the display list for each color and the object data that is the data rendered by the processing list are generated for each color, and a bitmap image of each color is generated from the object data by the generated processing list. Occurs and draws on memory.

これを印刷プロセスにスキャンし、トナー等で現像することにより、最終画像を印刷用紙上に得ることができる。4ドラム電子写真方式のページプリンタの場合、各色の画像を同時に発生する必要があり、通常、描画して発生した4色の画像データをメモリやその他の記憶手段に少なくとも1ページ分貯めこみ、記憶手段上の画像データを印刷する方法がとられている。また、その他の方法としては、印刷装置の印刷プロセスの進行に同期して部分的な画像データを適宜発生し、印刷する方法もある。ここでは、メモリに貯めこむ方式をスプール方式、適宜部分画像を発生する方式をバンディング方式と呼称することとする。   By scanning this in a printing process and developing it with toner or the like, a final image can be obtained on the printing paper. In the case of a 4-drum electrophotographic page printer, it is necessary to generate images of each color at the same time. Usually, at least one page of image data generated by drawing is stored and stored in a memory or other storage means. A method of printing image data on the means is used. As another method, there is a method in which partial image data is appropriately generated and printed in synchronization with the progress of the printing process of the printing apparatus. Here, the method of storing in the memory is called a spool method, and the method of generating partial images as appropriate is called a banding method.

しかしながら上記従来例においては、以下の様な問題点があった。   However, the above conventional example has the following problems.

まず、スプール方式においては、少なくとも1ページの画像データの生成が完了しなければ印刷を開始することができず、ファーストプリントに時間がかかるという問題、さらには印刷スループットを得るためには、複数ページのデータをメモリ上に貯めこむ必要があるため、大量のメモリ容量を必要とし、カラープリンタの場合は、多値データが4色分必要なのでさらに膨大なメモリを必要とする問題がある。   First, in the spool method, printing cannot be started unless the generation of at least one page of image data is completed, and there is a problem that it takes time for first printing. Therefore, a large amount of memory capacity is required. In the case of a color printer, there is a problem that a large amount of memory is required because multi-value data is required for four colors.

一方、バンディング方式においては、印刷エンジンの印刷プロセスの進行に同期して部分画像を適宜発生するので、画像メモリは部分画像を最低2部分持てばよいので著しく少メモリで実現可能であるが、4ドラムの電子写真式のプリンタでは、各色の印刷プロセスの実行に時間的なずれがあり、部分画像のそれぞれの色に対する発生時期が順次ディレイする。時間を基準にしてみると異なる位置の部分画像を同時に発生する必要がある。   On the other hand, in the banding method, partial images are appropriately generated in synchronization with the progress of the printing process of the print engine. Therefore, the image memory can have at least two partial images. In the electrophotographic printer of the drum, there is a time lag in the execution of the printing process for each color, and the generation time for each color of the partial image is sequentially delayed. It is necessary to generate partial images at different positions simultaneously with respect to time.

また、この各色のプロセスの進行のずれは通常ページをまたいでおこり、描画制御が複雑になる問題がある。また描画時間のずれから描画処理リストや、描画オブジェクトデータを長時間保持する必要があり結局メモリが必要になる問題もある。   In addition, there is a problem in that the progress of the process of each color is caused across the normal pages and the drawing control becomes complicated. There is also a problem that a drawing processing list and drawing object data need to be held for a long time due to a shift in drawing time, which eventually requires a memory.

本発明は以上の問題に鑑みて成されたものであり、カラー印刷を行う為に使用するメモリ量を軽減すると共に、より高速な印刷を、より簡便な処理でもって行うための技術を提供することを目的とする。   The present invention has been made in view of the above problems, and provides a technique for reducing the amount of memory used for color printing and performing faster printing with simpler processing. For the purpose.

本発明の目的を達成するために、例えば、本発明の印刷装置は以下の構成を備える。   In order to achieve the object of the present invention, for example, a printing apparatus of the present invention comprises the following arrangement.

即ち、印刷データを受信する受信手段と、
前記印刷データに基づく画像をバンド毎に描画する描画手段と、
前記描画手段が描画した画像に基づいて印刷を行う印刷手段とを備え、
前記描画手段は、
それぞれのバンドについて、印刷時に使用する色毎の画像を描画する色画像描画手段と、
それぞれのバンドを印刷する際に最初に使用される第1の色以外の第2の色について前記色画像描画手段が描画した画像を、描画直後に圧縮する圧縮手段とを備え、
前記印刷手段は、
前記第1の色について前記色画像描画手段が描画した画像に基づいて印刷を行う第1の印刷手段と、
前記第2の色について前記色画像描画手段が描画した画像に基づく印刷を行う場合には、その直前で当該画像を復号する復号手段と、
前記復号手段が復号した画像を印刷する第2の印刷手段とを備えることを特徴とする。
A receiving means for receiving print data;
Drawing means for drawing an image based on the print data for each band;
Printing means for performing printing based on the image drawn by the drawing means,
The drawing means includes
For each band, a color image drawing means for drawing an image for each color used at the time of printing,
Compression means for compressing the image drawn by the color image drawing means for the second color other than the first color used first when printing each band, immediately after the drawing,
The printing means includes
First printing means for performing printing based on an image drawn by the color image drawing means for the first color;
When performing printing based on the image drawn by the color image drawing means for the second color, decoding means for decoding the image immediately before that,
And a second printing unit for printing the image decoded by the decoding unit.

なお、上記構成を有する印刷装置を備える複合機についても本発明の範疇である。   Note that a multi-function peripheral including the printing apparatus having the above configuration is also within the scope of the present invention.

本発明の目的を達成するために、例えば、本発明の印刷装置の制御方法は以下の構成を備える。   In order to achieve the object of the present invention, for example, a printing apparatus control method of the present invention comprises the following arrangement.

即ち、印刷データを受信する受信工程と、
前記印刷データに基づく画像をバンド毎に描画する描画工程と、
前記描画工程で描画した画像に基づいて印刷を行う印刷工程とを備え、
前記描画工程は、
それぞれのバンドについて、印刷時に使用する色毎の画像を描画する色画像描画工程と、
それぞれのバンドを印刷する際に最初に使用される第1の色以外の第2の色について前記色画像描画工程で描画した画像を、描画直後に圧縮する圧縮工程とを備え、
前記印刷工程は、
前記第1の色について前記色画像描画工程で描画した画像に基づいて印刷を行う第1の印刷工程と、
前記第2の色について前記色画像描画工程で描画した画像に基づく印刷を行う場合には、その直前で当該画像を復号する復号工程と、
前記復号工程で復号した画像を印刷する第2の印刷工程とを備えることを特徴とする。
A receiving process for receiving print data;
A drawing step of drawing an image based on the print data for each band;
A printing step for performing printing based on the image drawn in the drawing step,
The drawing step includes
For each band, a color image drawing process for drawing an image for each color used during printing,
A compression step of compressing the image drawn in the color image drawing step for the second color other than the first color used at the time of printing each band immediately after the drawing,
The printing process includes
A first printing step for performing printing based on the image drawn in the color image drawing step for the first color;
When performing printing based on the image drawn in the color image drawing step for the second color, a decoding step for decoding the image immediately before that,
And a second printing step for printing the image decoded in the decoding step.

本発明の構成により、カラー印刷を行う為に使用するメモリ量を軽減すると共に、より高速な印刷を、より簡便な処理でもって行うことができる。   According to the configuration of the present invention, the amount of memory used for color printing can be reduced, and higher-speed printing can be performed with simpler processing.

以下添付図面を参照して、本発明を好適な実施形態に従って詳細に説明する。   Hereinafter, the present invention will be described in detail according to preferred embodiments with reference to the accompanying drawings.

[第1の実施形態]
<印刷装置の構成、及び基本的な動作について>
図1は、本実施形態に係る印刷装置のハードウェア構成を示すブロック図である。同図において、101はCPU、102はメインメモリ、103はメモリコントローラ、104はインターフェース、105は描画装置、106は割り込みコントローラ、107は画像メモリ、108はメモリコントローラ、109は圧縮器、110は伸張器、111はエンジンインターフェース、112は印刷エンジン、113はIOポートである。
[First Embodiment]
<About the configuration and basic operation of the printing device>
FIG. 1 is a block diagram illustrating a hardware configuration of a printing apparatus according to the present embodiment. In the figure, 101 is a CPU, 102 is a main memory, 103 is a memory controller, 104 is an interface, 105 is a drawing device, 106 is an interrupt controller, 107 is an image memory, 108 is a memory controller, 109 is a compressor, and 110 is decompressed. , 111 is an engine interface, 112 is a print engine, and 113 is an IO port.

先ず、同図を用いて本実施形態に係る印刷装置の基本的な印刷動作について説明する。まず印刷の指示および印刷データはインターフェース104を介して、不図示のホストコンピュータから送られる。印刷データは、インターフェース104からメモリコントローラ103によって、メインメモリ102上の所定の領域に格納される。   First, the basic printing operation of the printing apparatus according to the present embodiment will be described with reference to FIG. First, a print instruction and print data are sent from a host computer (not shown) via the interface 104. The print data is stored in a predetermined area on the main memory 102 by the memory controller 103 from the interface 104.

少なくとも1ページ分の印刷データがメインメモリ102に格納されると、この印刷データはCPU101によって解釈され、メインメモリ102上に描画ディスプレイリストである処理リストと描画オブジェクト(オブジェクトデータ)とを部分ページ、即ち印刷バンドに分割して構成する。   When the print data for at least one page is stored in the main memory 102, the print data is interpreted by the CPU 101, and a processing list that is a drawing display list and a drawing object (object data) are displayed on the main memory 102 as partial pages. That is, it is divided into printing bands.

CPU101は十分な処理リストとオブジェクトデータとがメインメモリ102上に生成されると、印刷バンド単位で描画動作を行うように、IOポート113を介して起動信号を描画装置105に対して出力する。   When a sufficient processing list and object data are generated on the main memory 102, the CPU 101 outputs an activation signal to the drawing device 105 via the IO port 113 so as to perform a drawing operation in units of print bands.

描画装置105はこの信号を受けると、メインメモリ102上の処理リストとオブジェクトデータとをメモリコントローラ103を介して読み出し、メモリコントローラ108を介して画像メモリ107上にバンド画像(1バンド分の画像)を描画し、形成する。指定された描画が終了すると、描画装置105は、描画終了割り込み信号を割り込みコントローラ106に出力するので、割り込みコントローラ106はCPU101に処理の終了を通知する。   Upon receiving this signal, the drawing apparatus 105 reads out the processing list and object data on the main memory 102 via the memory controller 103, and a band image (one band image) on the image memory 107 via the memory controller 108. Draw and form. When the designated drawing is completed, the drawing apparatus 105 outputs a drawing end interrupt signal to the interrupt controller 106, so that the interrupt controller 106 notifies the CPU 101 of the end of processing.

またCPU101は圧縮器109に対して、画像メモリ107上に形成されたバンド画像を圧縮させるべく、IOポート113を介して指示する。圧縮器109はこの指示を受けると、指定された画像データをメモリコントローラ108を介して読み出し、所定の圧縮方式で圧縮し、画像メモリ107の別の領域に圧縮画像を形成する。   In addition, the CPU 101 instructs the compressor 109 via the IO port 113 to compress the band image formed on the image memory 107. Upon receiving this instruction, the compressor 109 reads the designated image data via the memory controller 108, compresses it with a predetermined compression method, and forms a compressed image in another area of the image memory 107.

指定された1バンド分の画像の圧縮が終了すると、圧縮器109は割り込みコントローラ106に圧縮終了割り込み信号を出力するので、割り込みコントローラ106は処理の終了をCPU101に通知する。   When the compression of the designated image for one band is completed, the compressor 109 outputs a compression end interrupt signal to the interrupt controller 106, so that the interrupt controller 106 notifies the CPU 101 of the end of processing.

さらにCPU101は、伸張器110に対して、画像メモリ107上に形成された圧縮バンド画像を伸張させるべく、IOポート113を介して指示する。伸張器110は指定された圧縮画像データをメモリコントローラ108を介して読み出し、所定の伸張方式で伸張し、画像メモリ107の別の領域に伸張画像を復元する。   Further, the CPU 101 instructs the decompressor 110 via the IO port 113 to decompress the compressed band image formed on the image memory 107. The decompressor 110 reads the designated compressed image data via the memory controller 108, decompresses it with a predetermined decompression method, and restores the decompressed image to another area of the image memory 107.

指定された1バンド分の画像の伸張が終了すると、伸張器110は割り込みコントローラ106に伸張終了割り込み信号を出力するので、割り込みコントローラ106は処理の終了をCPU101に通知する。   When the decompression of the designated image for one band is completed, the decompressor 110 outputs a decompression end interrupt signal to the interrupt controller 106, so that the interrupt controller 106 notifies the CPU 101 of the end of processing.

加えて、CPU101は、IOポート113を介して、エンジンインターフェース111にC、M、Y、Kの各色の印刷動作をそれぞれ独立に指示する。エンジンインターフェース111は画像メモリ107上の指定されたバンド画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従って印刷処理を行う。   In addition, the CPU 101 instructs the engine interface 111 via the IO port 113 to perform printing operations for C, M, Y, and K colors independently. The engine interface 111 reads out the designated band image on the image memory 107 via the memory controller 108, converts it into a video signal and outputs it to the print engine 112, so that the print engine 112 performs print processing according to this video signal. Do.

指定された1バンド分の印刷が終了すると、割り込みコントローラ106にそれぞれC、M、Y、Kの印刷終了割り込み信号を出力し、割り込みコントローラ106はバンド画像の印刷の終了をCPU101に通知する。   When printing for the designated band is completed, C, M, Y, and K print end interrupt signals are output to the interrupt controller 106, respectively, and the interrupt controller 106 notifies the CPU 101 of the end of band image printing.

なお、CPU101は、IOポート113を介して、印刷エンジン112からC、M、Y、Kそれぞれの印刷開始タイミングである垂直同期信号を入力し、各色の印刷タイミングを知ることができる。   Note that the CPU 101 can input the vertical synchronization signal, which is the print start timing of each of C, M, Y, and K, from the print engine 112 via the IO port 113 and can know the print timing of each color.

図2は、印刷データに基づいた画像描画処理の流れを示す図で、201は描画処理リスト、202は描画処理リストのビットフィールドの構成、203は描画オブジェクト、204、205は描画オブジェクトのヘッダ部分のビットフィールドの構成、206はマスクデータ発生器、207はカラー発生器、208は論理演算器でである。また同図において図1と同じ部分については同じ番号を付けており、その説明は省略する。   FIG. 2 is a diagram showing the flow of image drawing processing based on print data. 201 is a drawing processing list, 202 is a bit field configuration of the drawing processing list, 203 is a drawing object, and 204 and 205 are header portions of the drawing object. , Bit data configuration, 206 is a mask data generator, 207 is a color generator, and 208 is a logical operation unit. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted.

メインメモリ102上に構成された描画処理リスト201は処理コマンドのチェインとして構成され、その1つの処理コマンドは202で示す如く、描画論理、コマンド、描画座標、マスクオブジェクトの指定、カラーオブジェクトの指定、回転、拡大等の修飾情報で構成されており、描画装置105はこの処理コマンドに従って画像を形成する。   The drawing processing list 201 configured on the main memory 102 is configured as a chain of processing commands. One processing command is designated by 202 as drawing logic, command, drawing coordinates, mask object designation, color object designation, The drawing apparatus 105 forms an image according to this processing command.

オブジェクトデータ203は、処理コマンドと同様にメインメモリ102上に構成され、マスクオブジェクトはヘッダ部分と、ボディ部分で構成される。同図では、マスクオブジェクトは圧縮フォントの文字Aでボディ部分にはAを構成するデータが格納されている。マスクオブジェクトのヘッダ部分204には種類(すなわち圧縮フォントオブジェクト)と、ボディの格納される先頭アドレスが示されている。マスク発生器206はこのヘッダ部分を参照し、先頭アドレスで指定されるアドレスに格納されているボディデータからAという文字の画像を発生する。   The object data 203 is configured on the main memory 102 as with the processing command, and the mask object is configured with a header portion and a body portion. In the figure, the mask object is the character A of the compressed font, and the data constituting A is stored in the body portion. The header portion 204 of the mask object indicates the type (that is, the compressed font object) and the head address where the body is stored. The mask generator 206 refers to this header portion and generates an image of the character A from the body data stored at the address specified by the head address.

一方、カラーオブジェクトと指定されたのが、205で示すヘッダで、種類はカラーオブジェクトが示され、同様にボディデータの先頭アドレスと、印刷色のY、M、C、K各プレーンの先頭アドレスまでのオフセット情報(プレーンオフセット)が格納されている。ボディデータとしては、各印刷色プレーンの濃度データが格納されている。カラー発生器207はこのオブジェクトヘッダを参照し、各プレーンに対する濃度データを発生する。   On the other hand, a color object is designated as a header indicated by 205, and the type is a color object. Similarly, the head address of the body data and the head addresses of the Y, M, C, and K planes of the print color Offset information (plane offset) is stored. As body data, density data of each print color plane is stored. The color generator 207 refers to this object header and generates density data for each plane.

マスク発生器206で発生されたマスク画像と、カラー発生器207で発生された濃度データは描画座標で指定された場所の元画像データとは、論理演算回路208で処理コマンドで指定された描画論理、すなわち、OR,AND、XOR、NOT等の論理で演算され、描画座標で指定された位置に書き込むことにより画像を形成する。一般的には、描画論理は、濃度データをマスクデータでクリッピングし、元画像とORして書き込む場合が多い。また通常、マスクデータ、カラーデータのほかにパターンデータも発生し、論理演算するのが一般的であるが、本実施形態の本質をなすものではないので、説明を明解にするため、2つのオブジェクトデータで描画する構成として説明した。描画装置105は以上説明したように画像メモリ107上に画像を形成する。   The mask image generated by the mask generator 206 and the density data generated by the color generator 207 are the original image data at the location specified by the drawing coordinates, and the drawing logic specified by the processing command in the logic operation circuit 208. That is, an image is formed by writing in a position specified by drawing coordinates, which is calculated by logic such as OR, AND, XOR, NOT, and the like. In general, in the drawing logic, density data is often clipped with mask data and written as an OR with the original image. In general, pattern data is also generated in addition to mask data and color data, and logical operation is generally performed. However, since this is not the essence of the present embodiment, two objects are used for clarity of explanation. It has been described as a configuration for drawing with data. The drawing device 105 forms an image on the image memory 107 as described above.

図3は上記構成を有する印刷装置が行う印刷動作を時系列で説明する図で、301は描画動作、302、303、304、305はそれぞれ、印刷色C、M、Y、Kの印刷動作をバンド単位で表している。同図に示す如く、印刷される順であるC、M、Y、Kの順で同一バンドの描画を行い、Cプレーンのデータは、画像メモリから直接印刷し、M、Y、Kのデータはそのまま圧縮する。圧縮されたデータは各色の印刷のタイミングになると伸張し、用いる。このように一番先行するCプレーンの印刷プロセスに同期して、全色の描画を行い、ディレイのあるプレーンはその場で圧縮し、印刷時に伸張して印刷するようにする。   FIG. 3 is a diagram for explaining the printing operation performed by the printing apparatus having the above configuration in time series, 301 is a drawing operation, and 302, 303, 304, and 305 are printing operations of printing colors C, M, Y, and K, respectively. Expressed in band units. As shown in the figure, the same band is drawn in the order of printing, C, M, Y, K. The data of the C plane is printed directly from the image memory, and the data of M, Y, K is Compress as it is. The compressed data is expanded and used at the printing timing of each color. In this way, all colors are drawn in synchronization with the printing process of the most preceding C plane, and the plane with the delay is compressed on the spot, and is expanded and printed at the time of printing.

<印刷動作の詳細について>
次に、上記構成を備える印刷装置が行う印刷処理について詳細に説明する。図4は、印刷データを受信し、これに基づく画像の描画、及びこの画像の圧縮を行う処理のフローチャートである。
<Details of printing operation>
Next, a printing process performed by a printing apparatus having the above configuration will be described in detail. FIG. 4 is a flowchart of processing for receiving print data, rendering an image based on the print data, and compressing the image.

先ず、インターフェース104を介して外部装置から印刷データが送信されるので、CPU101はこの印刷データをインターフェース104からメモリコントローラ103によって、メインメモリ102上の所定の領域に格納する(ステップS1)。   First, since print data is transmitted from an external device via the interface 104, the CPU 101 stores this print data in a predetermined area on the main memory 102 by the memory controller 103 from the interface 104 (step S1).

そして1ページ分の印刷データを受信すると、処理をステップS2を介してステップS3に進め、CPU101はこの印刷データを解釈し、メインメモリ102上に処理リストと描画オブジェクト(オブジェクトデータ)とをバンド毎に生成する(ステップS3)。そして次に、変数nが保持する値を1に初期化する(ステップS4)。   When one page of print data is received, the process proceeds to step S3 via step S2. The CPU 101 interprets the print data, and stores the process list and drawing objects (object data) on the main memory 102 for each band. (Step S3). Next, the value held by the variable n is initialized to 1 (step S4).

次に、CPU101はnバンド目のCプレーンの画像を描画すべく、IOポート113を介して起動信号を描画装置105に対して出力する(ステップS5)。これにより描画装置105はCプレーンの画像の描画処理を開始する。Cプレーンの画像は画像メモリ107上に描画される。Cプレーンの画像の描画が終了すると、描画装置105は、描画終了割り込み信号を割り込みコントローラ106に出力するので、割り込みコントローラ106はCPU101に処理の終了を通知する。   Next, the CPU 101 outputs an activation signal to the drawing device 105 via the IO port 113 in order to draw an image of the n-th band C plane (step S5). As a result, the drawing apparatus 105 starts drawing processing of the C plane image. The C plane image is drawn on the image memory 107. When the drawing of the C-plane image is completed, the drawing apparatus 105 outputs a drawing end interrupt signal to the interrupt controller 106, so that the interrupt controller 106 notifies the CPU 101 of the end of processing.

よってCPU101はこの終了の通知を受けると処理をステップS6を介してステップS7に進め、変数nが保持する値が1であるのか否かを判断する(ステップS7)。n=1の場合には処理をステップS8に進める。一方、n=1ではない場合には処理をステップS17に進め、前のバンド、すなわち(n−1)バンド目のKプレーンの圧縮動作が終了するまで待機する(ステップS17)。そして、Kプレーンの圧縮動作終了の通知を圧縮器109から受けると処理をステップS8に進める。   Accordingly, when the CPU 101 receives this end notification, the process proceeds to step S7 via step S6, and determines whether or not the value held by the variable n is 1 (step S7). If n = 1, the process proceeds to step S8. On the other hand, if n = 1 is not satisfied, the process proceeds to step S17, and waits until the compression operation of the previous band, that is, the (n-1) th band K-plane is completed (step S17). When the notification of the completion of the compression operation for the K plane is received from the compressor 109, the process proceeds to step S8.

次に、CPU101はnバンド目のMプレーンの画像を描画すべく、IOポート113を介して起動信号を描画装置105に対して出力する(ステップS8)。これにより描画装置105はMプレーンの画像の描画処理を開始する。Mプレーンの画像は画像メモリ107上に描画される。Mプレーンの画像の描画が終了すると、描画装置105は、描画終了割り込み信号を割り込みコントローラ106に出力するので、割り込みコントローラ106はCPU101に処理の終了を通知する。   Next, the CPU 101 outputs an activation signal to the drawing device 105 via the IO port 113 in order to draw an image of the n-th M-plane (step S8). As a result, the drawing apparatus 105 starts drawing processing of the M-plane image. The M-plane image is drawn on the image memory 107. When the drawing of the M-plane image is completed, the drawing apparatus 105 outputs a drawing end interrupt signal to the interrupt controller 106, so the interrupt controller 106 notifies the CPU 101 of the end of processing.

よってCPU101はこの終了の通知を受けると処理をステップS9を介してステップS10に進め、描画装置105によって描画されたMプレーンの画像を圧縮すべく、CPU101は圧縮器109に対してIOポート113を介して指示する(ステップS10)。圧縮器109はこの指示を受けると、画像メモリ107上に描画されたMプレーンの画像を圧縮する。圧縮器109はMプレーンの画像の圧縮が完了すると割り込みコントローラ106に圧縮終了割り込み信号を出力するので、割り込みコントローラ106は処理の終了をCPU101に通知する。   Therefore, when the CPU 101 receives this end notification, the process proceeds to step S10 via step S9, and the CPU 101 connects the IO port 113 to the compressor 109 in order to compress the M-plane image drawn by the drawing device 105. (Step S10). Upon receiving this instruction, the compressor 109 compresses the M-plane image drawn on the image memory 107. When the compression of the M-plane image is completed, the compressor 109 outputs a compression end interrupt signal to the interrupt controller 106, so the interrupt controller 106 notifies the CPU 101 of the end of processing.

更にCPU101は、nバンド目のYプレーンの画像を描画すべく、IOポート113を介して起動信号を描画装置105に対して出力する(ステップS10)。これにより描画装置105はYプレーンの画像の描画処理を開始する。Yプレーンの画像は画像メモリ107上に描画される。Yプレーンの画像の描画が終了すると、描画装置105は、描画終了割り込み信号を割り込みコントローラ106に出力するので、割り込みコントローラ106はCPU101に処理の終了を通知する。   Further, the CPU 101 outputs an activation signal to the drawing apparatus 105 via the IO port 113 in order to draw an image of the n-th band Y plane (step S10). As a result, the drawing apparatus 105 starts drawing processing of the Y plane image. The Y plane image is drawn on the image memory 107. When the drawing of the Y plane image is completed, the drawing apparatus 105 outputs a drawing end interrupt signal to the interrupt controller 106, so the interrupt controller 106 notifies the CPU 101 of the end of processing.

そしてCPU101は、割り込みコントローラ106からMプレーンの画像の圧縮完了の旨を受けると共に、Yプレーンの画像の描画処理が完了した旨を受けると処理をステップS11を介してステップS12に進め、描画装置105によって描画されたYプレーンの画像を圧縮すべく、CPU101は圧縮器109に対してIOポート113を介して指示する(ステップS12)。圧縮器109はこの指示を受けると、画像メモリ107上に描画されたYプレーンの画像を圧縮する。圧縮器109はYプレーンの画像の圧縮が完了すると割り込みコントローラ106に圧縮終了割り込み信号を出力するので、割り込みコントローラ106は処理の終了をCPU101に通知する。   The CPU 101 receives the completion of compression of the M-plane image from the interrupt controller 106 and proceeds to step S12 via step S11 upon receiving the completion of drawing processing of the Y-plane image. The CPU 101 instructs the compressor 109 via the IO port 113 to compress the image of the Y plane drawn by (Step S12). Upon receiving this instruction, the compressor 109 compresses the Y plane image drawn on the image memory 107. When the compression of the Y plane image is completed, the compressor 109 outputs a compression end interrupt signal to the interrupt controller 106, so the interrupt controller 106 notifies the CPU 101 of the end of processing.

更にCPU101は、nバンド目のKプレーンの画像を描画すべく、IOポート113を介して起動信号を描画装置105に対して出力する(ステップS12)。これにより描画装置105はKプレーンの画像の描画処理を開始する。Kプレーンの画像は画像メモリ107上に描画される。Kプレーンの画像の描画が終了すると、描画装置105は、描画終了割り込み信号を割り込みコントローラ106に出力するので、割り込みコントローラ106はCPU101に処理の終了を通知する。   Further, the CPU 101 outputs an activation signal to the drawing device 105 via the IO port 113 in order to draw an image of the n-th band K plane (step S12). As a result, the drawing apparatus 105 starts drawing processing of the K plane image. The image of the K plane is drawn on the image memory 107. When the drawing of the K plane image is completed, the drawing apparatus 105 outputs a drawing end interrupt signal to the interrupt controller 106, so that the interrupt controller 106 notifies the CPU 101 of the end of processing.

そしてCPU101は、割り込みコントローラ106からYプレーンの画像の圧縮完了の旨を受けると共に、Kプレーンの画像の描画処理が完了した旨を受けると処理をステップS13を介してステップS14に進め、描画装置105によって描画されたKプレーンの画像を圧縮すべく、CPU101は圧縮器109に対してIOポート113を介して指示する(ステップS14)。圧縮器109はこの指示を受けると、画像メモリ107上に描画されたKプレーンの画像を圧縮する。圧縮器109はKプレーンの画像の圧縮が完了すると割り込みコントローラ106に圧縮終了割り込み信号を出力するので、割り込みコントローラ106は処理の終了をCPU101に通知する。   When the CPU 101 receives from the interrupt controller 106 that the compression of the Y plane image has been completed, the CPU 101 proceeds to step S14 via step S13 when the drawing processing of the K plane image has been completed. The CPU 101 instructs the compressor 109 via the IO port 113 to compress the image of the K plane drawn by (Step S14). Upon receiving this instruction, the compressor 109 compresses the K plane image drawn on the image memory 107. When the compression of the K plane image is completed, the compressor 109 outputs a compression end interrupt signal to the interrupt controller 106, so the interrupt controller 106 notifies the CPU 101 of the end of processing.

一方、CPU101は、変数nが保持する値が総バンド数であるのか否か、即ち、全てのバンドについてC、M、Y、Kの各プレーンの画像を描画、圧縮したのかを判断し(ステップS15)、変数nが保持する値が総バンド数ではない場合には処理をステップS16に進め、変数nが保持する値に1を加えて更新し(ステップS16)、処理をステップS5に戻し、次のバンドについてステップS5以降の処理を行う。   On the other hand, the CPU 101 determines whether or not the value held by the variable n is the total number of bands, that is, whether or not the images of the C, M, Y, and K planes have been drawn and compressed for all the bands (steps). S15) If the value held by the variable n is not the total number of bands, the process proceeds to step S16, the value held by the variable n is updated by adding 1 (step S16), and the process returns to step S5. The processing after step S5 is performed for the next band.

一方、変数nが保持する値が総バンド数である場合には処理をステップS18に進め、CPU101は、割り込みコントローラ106からKプレーンの画像の圧縮完了の旨を受けると本処理を完了する。   On the other hand, if the value held by the variable n is the total number of bands, the process proceeds to step S18, and the CPU 101 completes this process upon receiving a notification from the interrupt controller 106 that compression of the K-plane image has been completed.

図5A、5Bは、圧縮されたバンド毎の画像(各プレーンの画像)を伸張し、印刷する為の処理のフローチャートである。なお、図5A、5Bに示したフローチャートに従った処理は、図4に示したフローチャートに従った処理と並行してCPU101によって行われるものであり、この並行動作はいわゆるCPU101のマルチタスク処理によって実現される。   5A and 5B are flowcharts of processing for decompressing and printing a compressed image for each band (image of each plane). The processing according to the flowchart shown in FIGS. 5A and 5B is performed by the CPU 101 in parallel with the processing according to the flowchart shown in FIG. 4, and this parallel operation is realized by so-called multitask processing of the CPU 101. Is done.

先ず、変数i、j、l、mが保持する値を0に初期化する(ステップS501)。次に、1バンド目のKプレーンの画像の描画処理が完了した(即ち、割り込みコントローラ106からKプレーンの画像の描画処理が完了した旨を受けた)場合には、印刷開始可能なタイミングと判断し、処理をステップS502を介してステップS503に進め、印刷エンジン112を起動する(ステップS503)。   First, the values held by the variables i, j, l, and m are initialized to 0 (step S501). Next, when the drawing processing of the K-plane image of the first band is completed (that is, when the drawing processing of the K-plane image is completed from the interrupt controller 106), it is determined that the printing can be started. Then, the process proceeds to step S503 via step S502, and the print engine 112 is activated (step S503).

次に、変数iに値「1」を格納し(ステップS504)、1バンド目のCプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111に1バンド目のCプレーンの画像の印刷動作を指示する(ステップS505)。これによりエンジンインターフェース111は画像メモリ107上の1バンド目のCプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従って1バンド目のCプレーンの画像の印刷処理を行う。   Next, the value “1” is stored in the variable i (step S 504), and the CPU 101 prints the first band to the engine interface 111 via the IO port 113 in order to print the C plane image of the first band. The printing operation of the C plane image is instructed (step S505). As a result, the engine interface 111 reads the image of the C-plane of the first band on the image memory 107 via the memory controller 108, converts it into a video signal, and outputs it to the print engine 112. According to the signal, the first band C plane image is printed.

更に、この印刷処理と並行して、CPU101は、1バンド目の圧縮されたMプレーンの画像、Yプレーンの画像、Kプレーンの画像の復号(伸張)を行うべく、伸張器110に対して、画像メモリ107上に形成された1バンド目の圧縮されたMプレーンの画像、Yプレーンの画像、Kプレーンの画像の伸張をIOポート113を介して指示する(ステップS505)。伸張器110は1バンド目の圧縮されたMプレーンの画像、Yプレーンの画像、Kプレーンの画像をメモリコントローラ108を介して読み出して伸張し、画像メモリ107の別の領域に伸張画像を復元する。   Further, in parallel with this printing process, the CPU 101 instructs the decompressor 110 to decode (decompress) the compressed M plane image, Y plane image, and K plane image of the first band. The decompression of the compressed M plane image, Y plane image, and K plane image of the first band formed on the image memory 107 is instructed via the IO port 113 (step S505). The decompressor 110 reads and decompresses the compressed M-plane image, Y-plane image, and K-plane image of the first band via the memory controller 108, and restores the decompressed image to another area of the image memory 107. .

次に、CPU101は、変数iが保持する値が0であるのか否かを判断し(ステップS506)、変数iが保持する値が0である場合には処理をステップS512に進める。一方、変数iが保持する値が0ではない場合には処理をステップS507に進め、iバンド目の印刷が完了したか否かを判断する(ステップS507)。   Next, the CPU 101 determines whether or not the value held by the variable i is 0 (step S506). If the value held by the variable i is 0, the process proceeds to step S512. On the other hand, if the value held by the variable i is not 0, the process proceeds to step S507, and it is determined whether printing of the i-th band is completed (step S507).

iバンド目の印刷が完了していない場合には処理をステップS512に進める。一方、iバンド目の印刷が完了していれば処理をステップS508に進め、iバンド目が最終バンドであるのか(変数iが保持する値が総バンド数であるのか)を判断する(ステップS508)。   If i-th band printing has not been completed, the process advances to step S512. On the other hand, if the i-th band has been printed, the process advances to step S508 to determine whether the i-th band is the last band (whether the value held by the variable i is the total number of bands) (step S508). ).

iバンド目が最終バンドである場合には処理をステップS511に進め、変数iが保持する値を0に初期化し(ステップS511)、その後、処理をステップS512に進める。一方、iバンド目が最終バンドではない場合には処理をステップS509に進め、変数iが保持する値に1を加えて更新し(ステップS509)、iバンド目のCプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111にiバンド目のCプレーンの画像の印刷動作を指示する(ステップS510)。これによりエンジンインターフェース111は画像メモリ107上のiバンド目のCプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従ってiバンド目のCプレーンの画像の印刷処理を行う。   If the i-th band is the final band, the process proceeds to step S511, the value held by the variable i is initialized to 0 (step S511), and then the process proceeds to step S512. On the other hand, if the i-th band is not the last band, the process proceeds to step S509, and the value held by the variable i is updated by adding 1 (step S509), and the C-plane image of the i-th band is printed. Accordingly, the CPU 101 instructs the engine interface 111 to print the i-th band C-plane image via the IO port 113 (step S510). As a result, the engine interface 111 reads the image of the i-th C plane on the image memory 107 via the memory controller 108, converts it into a video signal, and outputs it to the print engine 112. In accordance with the signal, print processing of an image of the C plane of the i-th band is performed.

次に、変数jが保持する値が0であるのか否かを判断する(ステップS512)。変数jが保持する値が0ではない場合には処理をステップS517に進める。一方、変数jが保持する値が0である場合には処理をステップS513に進め、Mプレーンの画像の印刷を開始するタイミングであるのかを判断する(ステップS513)。開始するタイミングではない場合には処理をステップS524に進める。一方、開始するタイミングである場合には処理をステップS514に進め、変数jに値「1」を格納する(ステップS514)。   Next, it is determined whether or not the value held by the variable j is 0 (step S512). If the value held by variable j is not 0, the process proceeds to step S517. On the other hand, if the value held by the variable j is 0, the process proceeds to step S513, and it is determined whether it is time to start printing the image of the M plane (step S513). If it is not time to start, the process advances to step S524. On the other hand, if it is time to start, the process proceeds to step S514, and the value “1” is stored in variable j (step S514).

そして1バンド目のMプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111に1バンド目のMプレーンの画像の印刷動作を指示する(ステップS515)。これによりエンジンインターフェース111は画像メモリ107上の伸張済みの1バンド目のMプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従って1バンド目のMプレーンの画像の印刷処理を行う。   The CPU 101 instructs the engine interface 111 to print the M-plane image of the first band via the IO port 113 in order to print the M-plane image of the first band (step S515). As a result, the engine interface 111 reads the expanded first band M-plane image on the image memory 107 via the memory controller 108, converts it into a video signal, and outputs it to the print engine 112. Performs printing processing of the image of the M-plane of the first band in accordance with this video signal.

次に、CPU101は、2バンド目の圧縮されたMプレーンの画像の復号(伸張)を行うべく、伸張器110に対して、画像メモリ107上に形成された2バンド目の圧縮されたMプレーンの画像の伸張をIOポート113を介して指示する(ステップS516)。これにより、伸張器110は、2バンド目の圧縮されたMプレーンの画像をメモリコントローラ108を介して読み出して伸張し、画像メモリ107の別の領域に伸張画像を復元する。   Next, the CPU 101 performs the second band compressed M plane formed on the image memory 107 with respect to the decompressor 110 in order to decode (decompress) the image of the compressed M plane of the second band. Is instructed via the IO port 113 (step S516). Accordingly, the decompressor 110 reads and decompresses the compressed M-plane image of the second band via the memory controller 108, and restores the decompressed image to another area of the image memory 107.

次に、jバンド目の印刷が完了したか否かを判断する(ステップS517)。jバンド目の印刷が完了していない場合には処理をステップS524に進める。一方、jバンド目の印刷が完了していれば処理をステップS518に進め、jバンド目が最終バンドであるのか(変数jが保持する値が総バンド数であるのか)を判断する(ステップS518)。   Next, it is determined whether or not printing of the jth band has been completed (step S517). If printing of the jth band has not been completed, the process proceeds to step S524. On the other hand, if the printing of the jth band is completed, the process proceeds to step S518, and it is determined whether the jth band is the final band (whether the value held by the variable j is the total number of bands) (step S518). ).

jバンド目が最終バンドである場合には処理をステップS523に進め、変数jが保持する値を0に初期化し(ステップS523)、その後、処理をステップS524に進める。一方、jバンド目が最終バンドではない場合には処理をステップS519に進め、変数jが保持する値に1を加えて更新し(ステップS519)、jバンド目のMプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111にjバンド目のMプレーンの画像の印刷動作を指示する(ステップS520)。これによりエンジンインターフェース111は画像メモリ107上のjバンド目のMプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従ってjバンド目のMプレーンの画像の印刷処理を行う。   If the j-th band is the final band, the process proceeds to step S523, the value held by the variable j is initialized to 0 (step S523), and then the process proceeds to step S524. On the other hand, if the j-th band is not the final band, the process proceeds to step S519, and the value held by the variable j is updated by adding 1 (step S519), and the M-plane image of the j-th band is printed. Accordingly, the CPU 101 instructs the engine interface 111 to print the image of the M-plane of the jth band via the IO port 113 (step S520). As a result, the engine interface 111 reads the image of the Mth plane of the jth band on the image memory 107 via the memory controller 108, converts it into a video signal and outputs it to the print engine 112. In accordance with the signal, print processing of an image of the M plane of the jth band is performed.

次に、jバンド目が最終バンドであるのか(変数jが保持する値が総バンド数であるのか)を判断する(ステップS521)。   Next, it is determined whether the j-th band is the final band (whether the value held by the variable j is the total number of bands) (step S521).

jバンド目が最終バンドである場合には処理をステップS522に進め、CPU101は、(j+1)バンド目の圧縮されたMプレーンの画像の復号(伸張)を行うべく、伸張器110に対して、画像メモリ107上に形成された(j+1)バンド目の圧縮されたMプレーンの画像の伸張をIOポート113を介して指示する(ステップS522)。これにより、伸張器110は、(j+1)バンド目の圧縮されたMプレーンの画像をメモリコントローラ108を介して読み出して伸張し、画像メモリ107の別の領域に伸張画像を復元する。   If the j-th band is the final band, the process proceeds to step S522, and the CPU 101 instructs the decompressor 110 to decode (decompress) the compressed M-plane image of the (j + 1) -th band. The decompression of the (M + 1) th band compressed M plane image formed on the image memory 107 is instructed via the IO port 113 (step S522). Accordingly, the decompressor 110 reads and decompresses the compressed M-plane image of the (j + 1) th band via the memory controller 108 and restores the decompressed image to another area of the image memory 107.

一方、jバンド目が最終バンドではない場合には処理をステップS524に進め、変数lが保持する値が0であるのか否かを判断する(ステップS524)。変数lが保持する値が0ではない場合には処理をステップS529に進める。一方、変数lが保持する値が0である場合には処理をステップS525に進め、Yプレーンの画像の印刷を開始するタイミングであるのかを判断する(ステップS525)。開始するタイミングではない場合には処理をステップS536に進める。一方、開始するタイミングである場合には処理をステップS526に進め、変数lに値「1」を格納する(ステップS526)。   On the other hand, if the j-th band is not the final band, the process proceeds to step S524, and it is determined whether or not the value held by the variable l is 0 (step S524). If the value held by variable l is not 0, the process proceeds to step S529. On the other hand, if the value held by the variable l is 0, the process proceeds to step S525 to determine whether it is time to start printing the image of the Y plane (step S525). If it is not time to start, the process advances to step S536. On the other hand, if it is time to start, the process proceeds to step S526, and the value “1” is stored in variable l (step S526).

そして1バンド目のYプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111に1バンド目のYプレーンの画像の印刷動作を指示する(ステップS527)。これによりエンジンインターフェース111は画像メモリ107上の伸張済みの1バンド目のYプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従って1バンド目のYプレーンの画像の印刷処理を行う。   In order to print the Y-plane image of the first band, the CPU 101 instructs the engine interface 111 to print the Y-plane image of the first band via the IO port 113 (step S527). As a result, the engine interface 111 reads the decompressed first band Y plane image on the image memory 107 via the memory controller 108, converts it into a video signal, and outputs it to the print engine 112. Performs printing of the Y plane image of the first band in accordance with the video signal.

次に、CPU101は、2バンド目の圧縮されたYプレーンの画像の復号(伸張)を行うべく、伸張器110に対して、画像メモリ107上に形成された2バンド目の圧縮されたYプレーンの画像の伸張をIOポート113を介して指示する(ステップS528)。これにより、伸張器110は、2バンド目の圧縮されたYプレーンの画像をメモリコントローラ108を介して読み出して伸張し、画像メモリ107の別の領域に伸張画像を復元する。   Next, the CPU 101 sends the second band compressed Y plane formed on the image memory 107 to the decompressor 110 in order to decode (decompress) the second band compressed Y plane image. Is instructed via the IO port 113 (step S528). Accordingly, the decompressor 110 reads and decompresses the compressed Y plane image of the second band via the memory controller 108, and restores the decompressed image to another area of the image memory 107.

次に、lバンド目の印刷が完了したか否かを判断する(ステップS529)。lバンド目の印刷が完了していない場合には処理をステップS536に進める。一方、lバンド目の印刷が完了していれば処理をステップS530に進め、lバンド目が最終バンドであるのか(変数lが保持する値が総バンド数であるのか)を判断する(ステップS530)。   Next, it is determined whether or not printing of the l band has been completed (step S529). If printing of the l-th band has not been completed, the process proceeds to step S536. On the other hand, if the printing of the l band has been completed, the process proceeds to step S530, and it is determined whether the l band is the final band (whether the value held by the variable l is the total number of bands) (step S530). ).

lバンド目が最終バンドである場合には処理をステップS535に進め、変数lが保持する値を0に初期化し(ステップS535)、その後、処理をステップS536に進める。一方、lバンド目が最終バンドではない場合には処理をステップS531に進め、変数lが保持する値に1を加えて更新し(ステップS531)、lバンド目のYプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111にlバンド目のYプレーンの画像の印刷動作を指示する(ステップS532)。これによりエンジンインターフェース111は画像メモリ107上のlバンド目のYプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従ってlバンド目のYプレーンの画像の印刷処理を行う。   If the l-th band is the final band, the process proceeds to step S535, the value held by the variable l is initialized to 0 (step S535), and then the process proceeds to step S536. On the other hand, if the l-th band is not the final band, the process proceeds to step S531, and is updated by adding 1 to the value held in the variable l (step S531), and the image of the Y-plane Y plane is printed. Therefore, the CPU 101 instructs the engine interface 111 to print an image of the Y plane of the l-th band via the IO port 113 (step S532). As a result, the engine interface 111 reads the image of the 1st band Y plane on the image memory 107 via the memory controller 108, converts it into a video signal and outputs it to the print engine 112. In accordance with the signal, the printing process of the image of the Y plane of the l band is performed.

次に、lバンド目が最終バンドであるのか(変数lが保持する値が総バンド数であるのか)を判断する(ステップS533)。   Next, it is determined whether the l-th band is the final band (whether the value held by the variable l is the total number of bands) (step S533).

lバンド目が最終バンドである場合には処理をステップS536に進める。一方、lバンド目が最終バンドではない場合には処理をステップS534に進め、CPU101は、(l+1)バンド目の圧縮されたYプレーンの画像の復号(伸張)を行うべく、伸張器110に対して、画像メモリ107上に形成された(l+1)バンド目の圧縮されたYプレーンの画像の伸張をIOポート113を介して指示する(ステップS534)。これにより、伸張器110は、(l+1)バンド目の圧縮されたYプレーンの画像をメモリコントローラ108を介して読み出して伸張し、画像メモリ107の別の領域に伸張画像を復元する。   If the l-th band is the final band, the process proceeds to step S536. On the other hand, if the l-th band is not the final band, the process proceeds to step S534, and the CPU 101 instructs the decompressor 110 to decode (decompress) the (Y + 1) -th band compressed Y plane image. Then, the decompression of the compressed (Y + 1) band Y plane image formed on the image memory 107 is instructed via the IO port 113 (step S534). Accordingly, the decompressor 110 reads and decompresses the compressed Y plane image of the (l + 1) band via the memory controller 108, and restores the decompressed image to another area of the image memory 107.

次に、変数mが保持する値が0であるのか否かを判断する(ステップS536)。変数mが保持する値が0ではない場合には処理をステップS541に進める。一方、変数mが保持する値が0である場合には処理をステップS537に進め、Kプレーンの画像の印刷を開始するタイミングであるのかを判断する(ステップS537)。開始するタイミングではない場合には処理をステップS506に戻す。一方、開始するタイミングである場合には処理をステップS538に進め、変数mに値「1」を格納する(ステップS538)。   Next, it is determined whether or not the value held by the variable m is 0 (step S536). If the value held by variable m is not 0, the process proceeds to step S541. On the other hand, if the value held by the variable m is 0, the process proceeds to step S537, and it is determined whether it is time to start printing the K-plane image (step S537). If it is not time to start, the process returns to step S506. On the other hand, if it is time to start, the process proceeds to step S538, and the value “1” is stored in the variable m (step S538).

そして1バンド目のKプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111に1バンド目のKプレーンの画像の印刷動作を指示する(ステップS539)。これによりエンジンインターフェース111は画像メモリ107上の伸張済みの1バンド目のKプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従って1バンド目のKプレーンの画像の印刷処理を行う。   In order to print the first-band K-plane image, the CPU 101 instructs the engine interface 111 to print the first-band K-plane image via the IO port 113 (step S539). As a result, the engine interface 111 reads the decompressed first band K plane image on the image memory 107 via the memory controller 108, converts it into a video signal, and outputs it to the print engine 112. Performs printing of the image of the K-plane of the first band in accordance with this video signal.

次に、CPU101は、2バンド目の圧縮されたKプレーンの画像の復号(伸張)を行うべく、伸張器110に対して、画像メモリ107上に形成された2バンド目の圧縮されたKプレーンの画像の伸張をIOポート113を介して指示する(ステップS540)。これにより、伸張器110は、2バンド目の圧縮されたKプレーンの画像をメモリコントローラ108を介して読み出して伸張し、画像メモリ107の別の領域に伸張画像を復元する。   Next, the CPU 101 performs the second band compressed K plane formed on the image memory 107 with respect to the decompressor 110 in order to decode (decompress) the second band compressed K plane image. Is instructed via the IO port 113 (step S540). As a result, the decompressor 110 reads the decompressed K-plane image of the second band via the memory controller 108 and decompresses it, and restores the decompressed image to another area of the image memory 107.

次に、mバンド目の印刷が完了したか否かを判断する(ステップS541)。mバンド目の印刷が完了していない場合には処理をステップS506に戻す。一方、mバンド目の印刷が完了していれば処理をステップS542に進め、mバンド目が最終バンドであるのか(変数mが保持する値が総バンド数であるのか)を判断する(ステップS542)。   Next, it is determined whether printing of the mth band has been completed (step S541). If printing of the mth band has not been completed, the process returns to step S506. On the other hand, if printing of the m-th band is completed, the process proceeds to step S542, and it is determined whether the m-th band is the final band (whether the value held by the variable m is the total number of bands) (step S542). ).

mバンド目が最終バンドである場合には本処理を終了する。一方、mバンド目が最終バンドではない場合には処理をステップS543に進め、変数mが保持する値に1を加えて更新し(ステップS543)、mバンド目のKプレーンの画像の印刷を行うべく、CPU101は、IOポート113を介して、エンジンインターフェース111にmバンド目のKプレーンの画像の印刷動作を指示する(ステップS544)。これによりエンジンインターフェース111は画像メモリ107上のmバンド目のKプレーンの画像をメモリコントローラ108を介して読み出し、これをビデオ信号に変換して印刷エンジン112に出力するので、印刷エンジン112はこのビデオ信号に従ってmバンド目のKプレーンの画像の印刷処理を行う。   If the m-th band is the final band, this process ends. On the other hand, if the m-th band is not the final band, the process proceeds to step S543, and the value held by the variable m is updated by adding 1 (step S543), and the K-plane image of the m-th band is printed. Accordingly, the CPU 101 instructs the engine interface 111 to print the image of the Kth plane of the mth band via the IO port 113 (step S544). As a result, the engine interface 111 reads out the image of the m-th band K plane on the image memory 107 via the memory controller 108, converts it into a video signal and outputs it to the print engine 112. According to the signal, the m-th band K plane image is printed.

次に、mバンド目が最終バンドであるのか(変数mが保持する値が総バンド数であるのか)を判断する(ステップS545)。   Next, it is determined whether the m-th band is the final band (whether the value held by the variable m is the total number of bands) (step S545).

mバンド目が最終バンドである場合には処理をステップS506に戻す。一方、mバンド目が最終バンドではない場合には処理をステップS546に進め、CPU101は、(m+1)バンド目の圧縮されたKプレーンの画像の復号(伸張)を行うべく、伸張器110に対して、画像メモリ107上に形成された(m+1)バンド目の圧縮されたKプレーンの画像の伸張をIOポート113を介して指示する(ステップS546)。これにより、伸張器110は、(m+1)バンド目の圧縮されたKプレーンの画像をメモリコントローラ108を介して読み出して伸張し、画像メモリ107の別の領域に伸張画像を復元する。   If the m-th band is the last band, the process returns to step S506. On the other hand, if the m-th band is not the final band, the process proceeds to step S546, and the CPU 101 instructs the decompressor 110 to decode (decompress) the compressed (K + 1) -th image of the (m + 1) -th band. Then, the decompression of the (m + 1) -th band compressed K plane image formed on the image memory 107 is instructed via the IO port 113 (step S546). As a result, the decompressor 110 reads and decompresses the compressed K plane image of the (m + 1) th band via the memory controller 108 and restores the decompressed image to another area of the image memory 107.

以上の説明により、本実施形態によって、描画したプレーンの画像は即座に圧縮し(Cプレーンの画像は除く)、印刷時において復号して用いるので、メモリには印刷されるプレーンの画像のみが復号されて保持されていることになり、全てのプレーンの画像を圧縮していない状態でメモリに保持している従来に比べて、メモリの使用量を軽減させることができる。   As described above, according to the present embodiment, the drawn plane image is immediately compressed (except for the C plane image) and is decoded and used at the time of printing, so only the printed plane image is decoded in the memory. As a result, the amount of memory used can be reduced compared to the conventional case where all plane images are stored in the memory in an uncompressed state.

また、「各プレーンの画像は印刷時に復号する」というように、簡便な規則に従って各プレーンの画像(Cプレーンの画像は除く)に基づく印刷を行うので、比較的簡便な処理でもってカラー印刷処理を行うことができる。   Also, since printing based on each plane image (excluding C plane images) is performed according to a simple rule, such as “decode each plane image at the time of printing”, color printing processing is performed with relatively simple processing. It can be performed.

また本実施形態は、1バンド分のC、M、Y、Kの各プレーンの画像が得られれば印刷処理を開始するので、1ページ分の画像データが得られてから印刷処理を開始する従来よりも、より高速に印刷処理を行うことができる。   In the present embodiment, the printing process is started when images of C, M, Y, and K planes for one band are obtained. Therefore, the printing process is started after image data for one page is obtained. The printing process can be performed at a higher speed.

[第2の実施形態]
バンド単位の4プレーンの描画予測時間が、印刷プロセスの実行時間より大きい場合は、あらかじめバンドの描画を印刷装置起動前に行い、圧縮して保持しておき、印刷のタイミングにおいて、圧縮バンド画像を伸張して印刷するようにすれば、描画速度が低速な描画装置を用いても第1の実施形態で説明した処理が実施でき、より安価な印刷装置が実現できる。
[Second Embodiment]
If the estimated rendering time of 4 planes in band units is larger than the execution time of the printing process, the drawing of the band is performed in advance before starting the printing apparatus, compressed and held, and the compressed band image is displayed at the printing timing. If printing is performed in a stretched manner, the processing described in the first embodiment can be performed even if a drawing apparatus with a low drawing speed is used, and a cheaper printing apparatus can be realized.

[第3の実施形態]
第2の実施形態において、時間予測を各バンドの各プレーン単位で行い、どうしても間に合わないプレーンのバンド描画のみ、印刷前に描画するようにすれば、より効率のよい印刷装置が構成できる。
[Third Embodiment]
In the second embodiment, if the time prediction is performed for each plane of each band, and only band drawing of a plane that cannot be made in time is drawn before printing, a more efficient printing apparatus can be configured.

また、上記各実施形態に係る印刷装置は単体で動作するものとして説明したが、これに限定するものではなく、コピー機能、プリント機能、FAX機能、BOX機能、またはファイル送信機能などの機能を有する複合機に備わっている印刷機構部分に上記各実施形態に係る印刷装置を適用するようにしても良い。   Further, although the printing apparatus according to each of the above embodiments has been described as operating alone, the present invention is not limited to this, and has a function such as a copy function, a print function, a FAX function, a BOX function, or a file transmission function. You may make it apply the printing apparatus which concerns on each said embodiment to the printing mechanism part with which a multifunctional device is equipped.

また、上記各実施形態では印刷に使用する色をC、M、Y、Kとしたが、これ以外の色を用いる場合についても上記各実施形態は適用可能である。   In the above-described embodiments, the colors used for printing are C, M, Y, and K. However, the above-described embodiments can also be applied to cases where colors other than these are used.

また、上記各実施形態に係る印刷装置による印刷方法は、特定の方式に従ったものに限定するものではないし、以上説明したもの以外の機構については特に限定するものではない。   Further, the printing method by the printing apparatus according to each of the above embodiments is not limited to a method according to a specific method, and mechanisms other than those described above are not particularly limited.

本発明の第1の実施形態に係る印刷装置のハードウェア構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of a printing apparatus according to a first embodiment of the present invention. 印刷データに基づいた画像描画処理の流れを示す図である。It is a figure which shows the flow of the image drawing process based on print data. 本発明の第1の実施形態に係る印刷装置が行う印刷動作を時系列で説明する図である。FIG. 5 is a diagram for explaining a printing operation performed by the printing apparatus according to the first embodiment of the present invention in time series. 印刷データを受信し、これに基づく画像の描画、及びこの画像の圧縮を行う処理のフローチャートである。5 is a flowchart of processing for receiving print data, rendering an image based on the print data, and compressing the image. 圧縮されたバンド毎の画像(各プレーンの画像)を伸張し、印刷する為の処理のフローチャートである。It is a flowchart of a process for decompressing and printing a compressed image for each band (image of each plane). 圧縮されたバンド毎の画像(各プレーンの画像)を伸張し、印刷する為の処理のフローチャートである。It is a flowchart of a process for decompressing and printing a compressed image for each band (image of each plane).

Claims (5)

印刷データを受信する受信手段と、
前記印刷データに基づく画像をバンド毎に描画する描画手段と、
前記描画手段が描画した画像に基づいて印刷を行う印刷手段とを備え、
前記描画手段は、
それぞれのバンドについて、印刷時に使用する色毎の画像を描画する色画像描画手段と、
それぞれのバンドを印刷する際に最初に使用される第1の色以外の第2の色について前記色画像描画手段が描画した画像を、描画直後に圧縮する圧縮手段とを備え、
前記印刷手段は、
前記第1の色について前記色画像描画手段が描画した画像に基づいて印刷を行う第1の印刷手段と、
前記第2の色について前記色画像描画手段が描画した画像に基づく印刷を行う場合には、その直前で当該画像を復号する復号手段と、
前記復号手段が復号した画像を印刷する第2の印刷手段とを備えることを特徴とする印刷装置。
Receiving means for receiving print data;
Drawing means for drawing an image based on the print data for each band;
Printing means for performing printing based on the image drawn by the drawing means,
The drawing means includes
For each band, a color image drawing means for drawing an image for each color used at the time of printing,
Compression means for compressing the image drawn by the color image drawing means for the second color other than the first color used first when printing each band, immediately after the drawing,
The printing means includes
First printing means for performing printing based on an image drawn by the color image drawing means for the first color;
When performing printing based on the image drawn by the color image drawing means for the second color, decoding means for decoding the image immediately before that,
A printing apparatus comprising: a second printing unit that prints an image decoded by the decoding unit.
前記印刷時に使用する色は、C、M、Y、Kであり、前記色画像描画手段は、Cプレーンの画像、Mプレーンの画像、Yプレーンの画像、Kプレーンの画像をバンド毎に描画することを特徴とする請求項1に記載の印刷装置。   The colors used at the time of printing are C, M, Y, and K, and the color image drawing unit draws a C plane image, an M plane image, a Y plane image, and a K plane image for each band. The printing apparatus according to claim 1. 前記第1の色はCであり、前記第2の色はM、Y、Kであることを特徴とする請求項2に記載の印刷装置。   The printing apparatus according to claim 2, wherein the first color is C, and the second color is M, Y, or K. 4. 請求項1乃至3の何れか1項に記載の印刷装置を備えることを特徴とする複合機。   A multifunction machine comprising the printing apparatus according to claim 1. 印刷データを受信する受信工程と、
前記印刷データに基づく画像をバンド毎に描画する描画工程と、
前記描画工程で描画した画像に基づいて印刷を行う印刷工程とを備え、
前記描画工程は、
それぞれのバンドについて、印刷時に使用する色毎の画像を描画する色画像描画工程と、
それぞれのバンドを印刷する際に最初に使用される第1の色以外の第2の色について前記色画像描画工程で描画した画像を、描画直後に圧縮する圧縮工程とを備え、
前記印刷工程は、
前記第1の色について前記色画像描画工程で描画した画像に基づいて印刷を行う第1の印刷工程と、
前記第2の色について前記色画像描画工程で描画した画像に基づく印刷を行う場合には、その直前で当該画像を復号する復号工程と、
前記復号工程で復号した画像を印刷する第2の印刷工程とを備えることを特徴とする印刷装置の制御方法。
A receiving process for receiving print data;
A drawing step of drawing an image based on the print data for each band;
A printing step for performing printing based on the image drawn in the drawing step,
The drawing step includes
For each band, a color image drawing process for drawing an image for each color used during printing,
A compression step of compressing the image drawn in the color image drawing step for the second color other than the first color used at the time of printing each band immediately after the drawing,
The printing process includes
A first printing step for performing printing based on the image drawn in the color image drawing step for the first color;
When performing printing based on the image drawn in the color image drawing step for the second color, a decoding step for decoding the image immediately before that,
And a second printing step of printing the image decoded in the decoding step.
JP2005071742A 2005-03-14 2005-03-14 Printing apparatus and control method thereof Withdrawn JP2006248184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005071742A JP2006248184A (en) 2005-03-14 2005-03-14 Printing apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005071742A JP2006248184A (en) 2005-03-14 2005-03-14 Printing apparatus and control method thereof

Publications (1)

Publication Number Publication Date
JP2006248184A true JP2006248184A (en) 2006-09-21

Family

ID=37089152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005071742A Withdrawn JP2006248184A (en) 2005-03-14 2005-03-14 Printing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP2006248184A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8427693B2 (en) 2009-03-24 2013-04-23 Kyocera Document Solutions Inc. Image processing apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8427693B2 (en) 2009-03-24 2013-04-23 Kyocera Document Solutions Inc. Image processing apparatus and method

Similar Documents

Publication Publication Date Title
JP2003312068A (en) Image processing method and apparatus
JPH111029A (en) Color print system, color printer, and computer-readable recording medium storing computer-executable program
EP1041817B1 (en) Image processor for printing
JP4681975B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium on which the program is recorded
JP3297445B2 (en) Output method and device
JP2006248184A (en) Printing apparatus and control method thereof
JP3472057B2 (en) Output control apparatus and method
JP3685234B2 (en) Image processing device
JP3695498B2 (en) Image processing device
JP4400709B2 (en) Image processing apparatus and image processing method
JP4320497B2 (en) Image processing device
US6246795B1 (en) Image processing apparatus and method
JP3204136B2 (en) Image processing apparatus and compression processing method
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JPH10207664A (en) Printing control apparatus and method, printing apparatus and storage medium
JP4412711B2 (en) Printing method and printing apparatus
JP3663853B2 (en) Image processing device
JP2009194458A (en) Image processing apparatus and image processing method
JP2003237147A (en) Image processing method and apparatus
JP2004254187A (en) Information processing equipment
JP3459740B2 (en) Print control apparatus and method and printing apparatus
JPH11232050A (en) Device and method for controlling print
JPH08123633A (en) Color image printing system
JP3214617B2 (en) Multi-value image printer
JP2023134195A (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080603