JP6040690B2 - Drawing processing apparatus, image forming apparatus, computer program, and drawing processing method - Google Patents

Drawing processing apparatus, image forming apparatus, computer program, and drawing processing method Download PDF

Info

Publication number
JP6040690B2
JP6040690B2 JP2012219064A JP2012219064A JP6040690B2 JP 6040690 B2 JP6040690 B2 JP 6040690B2 JP 2012219064 A JP2012219064 A JP 2012219064A JP 2012219064 A JP2012219064 A JP 2012219064A JP 6040690 B2 JP6040690 B2 JP 6040690B2
Authority
JP
Japan
Prior art keywords
job
image
area
drawn
spare area
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.)
Active
Application number
JP2012219064A
Other languages
Japanese (ja)
Other versions
JP2014069526A (en
Inventor
森川 武
武 森川
健朗 濱
健朗 濱
一美 澤柳
一美 澤柳
崎山 大輔
大輔 崎山
陽介 谷口
陽介 谷口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2012219064A priority Critical patent/JP6040690B2/en
Publication of JP2014069526A publication Critical patent/JP2014069526A/en
Application granted granted Critical
Publication of JP6040690B2 publication Critical patent/JP6040690B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、メモリ上でラスター画像を描画する技術に関する。   The present invention relates to a technique for drawing a raster image on a memory.

印刷やディスプレイによる表示に際して、ベクターデータやテキストデータといったラスター形式以外のデータをラスター形式の多値または2値の画像データに変換するラスタライズが行なわれる。ラスタライズにはランダムアクセスの可能なメモリが用いられ、このメモリ上でラスター画像が描画される。すなわち、出力すべき画像を表すようにメモリ上の所定ビットのビット値を書き換えるビットマッピングが行なわれる。   When printing or displaying on a display, rasterization is performed to convert data other than the raster format, such as vector data and text data, into multi-value or binary image data in the raster format. For rasterization, a randomly accessible memory is used, and a raster image is drawn on this memory. That is, bit mapping is performed to rewrite a bit value of a predetermined bit on the memory so as to represent an image to be output.

ラスター画像の描画に際して、描画に用いるメモリエリアを“1クリア状態”または“0クリア状態”にしておく必要がある。1クリア状態はメモリエリア内の全ビットにビット値の一方である「1」が書き込まれた状態であり、0クリア状態はメモリエリア内の全ビットにビット値の他方である「0」が書き込まれた状態である。   When rendering a raster image, the memory area used for rendering must be set to “1 clear state” or “0 clear state”. The 1 clear state is a state in which “1” which is one of the bit values is written to all the bits in the memory area, and the “0” which is the other of the bit values is written to all the bits in the memory area. It is a state that has been.

ページ記述言語(PDL: Page Description Language)で記述されたプリントジョブを実行する画像形成装置は、ページ記述言語に応じたクリア処理を行なう。代表的なページ記述言語の一つであるPCL(Printer Control Language)は、加法混色用のRGBの各色成分の画像を指定する。PCLで記述されたプリントジョブ(以下、これを「PCLジョブ」という)を実行するとき、画像形成装置は描画用のメモリエリアを1クリア状態にするクリア処理(以下、これを「1クリア」という)を行なう。また、代表的なページ記述言語の他の一つであるPostScript(登録商標)は、減法混色用のYMCKの各色成分の画像を指定する。PostScriptで記述されたプリントジョブ(以下、これを「PSジョブ」という)を実行するとき、画像形成装置は描画用のメモリエリアを0クリア状態にするクリア処理(以下、これを「0クリア」という)を行なう。   An image forming apparatus that executes a print job described in a page description language (PDL) performs clear processing according to the page description language. PCL (Printer Control Language), which is one of typical page description languages, specifies an image of each color component of RGB for additive color mixture. When a print job described in PCL (hereinafter referred to as “PCL job”) is executed, the image forming apparatus clears the drawing memory area to 1 clear state (hereinafter referred to as “1 clear”). ). Further, PostScript (registered trademark), which is another typical page description language, specifies an image of each color component of YMCK for subtractive color mixture. When executing a print job described in PostScript (hereinafter referred to as “PS job”), the image forming apparatus clears the drawing memory area to 0 clear state (hereinafter referred to as “0 clear”). ).

一般に、画像形成装置では、描画に用いるメモリエリアのメモリサイズを低減するため、特許文献1に記載されているように、1ページ分の描画すべき画像を指定するデータをバンドと呼ばれる複数の部分に分割してバンド単位で描画する。バンド単位の描画では、最大印刷サイズ(例えば、A3サイズ)に対応する大サイズのメモリエリアを用意する代わりに、それぞれが一つのバンドに対応する複数の小サイズのメモリエリアを用意する。そして、一つのメモリエリアへの描画と、描画された1バンド分の部分画像を読み出して後処理用のメモリへ移す転送と、読出しを終えたエリアのクリア処理とを並行して行い、このシーケンスを繰り返して1ページ分の画像を描画する。複数ページの画像を印刷する場合は各ページの描画を連続的に行なう。一つのプリントジョブにおいて各メモリエリアを繰り返し用いて描画をするので、読出しを終えるごとに各メモリエリアに対してプリントジョブのページ記述言語に応じて1クリアまたは0クリアを行なう。   In general, in an image forming apparatus, in order to reduce the memory size of a memory area used for drawing, as described in Patent Document 1, data for designating an image to be drawn for one page includes a plurality of portions called bands. Divide into two and draw in band units. In drawing in units of bands, instead of preparing a large memory area corresponding to the maximum print size (for example, A3 size), a plurality of small memory areas each corresponding to one band are prepared. Then, drawing in one memory area, transferring the drawn partial image for one band and transferring it to the post-processing memory, and clearing the area after reading are performed in parallel. Is repeated to draw an image for one page. When printing an image of a plurality of pages, each page is continuously drawn. Since drawing is performed by repeatedly using each memory area in one print job, 1-clear or 0-clear is performed on each memory area depending on the page description language of the print job each time reading is completed.

また、複数のページ記述言語に対応する画像形成装置、すなわちページ記述言語の異なる複数種のプリントジョブの実行が可能な画像形成装置が知られている。特許文献2には、複数のページ記述言語のそれぞれに割り当てるべきワークメモリを予めRAMに確保し、それによって複数種のプリントジョブに対する並行処理を可能にする手法が記載されている。   In addition, an image forming apparatus corresponding to a plurality of page description languages, that is, an image forming apparatus capable of executing a plurality of types of print jobs having different page description languages is known. Japanese Patent Application Laid-Open No. 2004-228561 describes a technique in which work memory to be assigned to each of a plurality of page description languages is secured in a RAM in advance, thereby enabling parallel processing for a plurality of types of print jobs.

特開2002−356019号公報JP 2002-356019 A 特開2009−220457号公報JP 2009-220457 A

画像形成装置が複数のプリントジョブを連続的に実行することはよくある。例えば、複数のパーソナルコンピューターと画像形成装置とが接続されるネットワークにおいて、パーソナルコンピューターからの印刷要求が一時期に集中することがある。このようなとき、画像形成装置は、複数のプリントジョブを受付順または予め決められた優先順位の順に一つずつ次々に実行する。プリントジョブの実行には画像の描画が伴うので、必然的に各プリントジョブに対応した画像の描画を連続的に行なうことになる。   An image forming apparatus often executes a plurality of print jobs continuously. For example, in a network in which a plurality of personal computers and image forming apparatuses are connected, print requests from personal computers may be concentrated at one time. In such a case, the image forming apparatus sequentially executes a plurality of print jobs one by one in the order of acceptance or in a predetermined priority order. Since the execution of a print job involves drawing of an image, the image corresponding to each print job is necessarily drawn continuously.

実行順序が連続する二つのプリントジョブの間で描画すべき画像の種類が同一である場合は、先に実行されるm番目のプリントジョブに伴う描画が終了した後、直ちに次のn番目のプリントジョブに伴う描画を開始することができる。ここでいう画像の種類とは、1クリアを必要とするか0クリアを必要とするかによって区別される種類である。上述のように、バンド単位の描画では一つのメモリエリアへの描画と並行して、既に読出しを終えた他のメモリエリアのクリア処理が行なわれる。つまり、m番目のプリントジョブに伴う描画が終了した時点で、複数のメモリエリアのうちの少なくとも一つはクリア処理を受けたままの状態である。行なうべきクリア処理はm番目のプリントジョブとn番目のプリントジョブとで同一であるので、このクリア処理を受けたままの状態であるメモリエリアを、次のn番目のプリントジョブに伴う描画における最初のバンドの描画に用いることができる。   When the types of images to be drawn are the same between two print jobs having consecutive execution orders, immediately after the drawing associated with the m-th print job executed first is completed, the next n-th print The drawing accompanying the job can be started. The kind of image here is a kind distinguished depending on whether 1 clear is required or 0 clear is required. As described above, in the drawing for each band, in parallel with the drawing in one memory area, the other memory area that has already been read is cleared. That is, at the time when drawing with the m-th print job is completed, at least one of the plurality of memory areas is in a state of being subjected to the clear process. Since the clear process to be performed is the same for the m-th print job and the n-th print job, the memory area that has been subjected to this clear process is used as the first drawing in the next n-th print job. It can be used to draw a band.

しかし、実行順序が連続する二つのプリントジョブの間で描画すべき画像の種類が異なる場合は、m番目のプリントジョブに伴う描画が終了した後、次のn番目のプリントジョブに伴う描画を開始するのに先立って、クリア処理をやり直さなければならない。それは、行なうべきクリア処理がm番目のプリントジョブとn番目のプリントジョブとで異なるからである。例えばPCLジョブに続けてPSジョブを実行する場合、PCLジョブに伴う描画が終了した時点のメモリエリアは1クリア状態であるので、PSジョブに伴う描画を行なうために、1クリア状態を0クリア状態に変える必要がある。PSジョブに続けてPCLジョブを実行する場合は、逆に0クリア状態をクリア状態に変える必要がある。クリア処理をやり直すことによって、n番目のプリントジョブに伴う描画の開始が遅れ、画像形成装置のパフォーマンスが低下する。   However, if the types of images to be drawn are different between two print jobs that are sequentially executed, after drawing with the mth print job is finished, drawing with the next nth print job is started. Prior to doing this, the clear process must be redone. This is because the clear process to be performed differs between the m-th print job and the n-th print job. For example, when a PS job is executed subsequent to a PCL job, the memory area at the time when drawing with the PCL job is completed is in a 1 clear state. Therefore, in order to perform drawing with a PS job, the 1 clear state is set to 0 clear state. It is necessary to change to. When a PCL job is executed after a PS job, it is necessary to change the 0 clear state to the clear state. By performing the clear process again, the start of drawing accompanying the nth print job is delayed, and the performance of the image forming apparatus is degraded.

本発明は、このような事情に鑑み、描画用のメモリエリアに対して行なうべきクリア処理のビット値が異なる2種の画像の描画の迅速化を目的としている。   In view of such circumstances, an object of the present invention is to speed up drawing of two types of images having different bit values for clear processing to be performed on a drawing memory area.

上記目的を達成する装置は、メモリ上で画像を描画する描画処理装置であって、画像出力を指示するジョブによって指定される、描画に用いるメモリエリアのビット値を0および1のいずれのクリア値に一様化する必要があるかによって区別される二つの種類のラスター画像のいずれかである描画すべき画像を、複数のメモリエリアを一つずつ順に用いて一部分ずつ描画する描画手段と、前記描画手段による描画に用いられたメモリエリアから当該メモリエリアに描画された部分画像を読み出す読出し手段と、前記読出し手段による読み出しが行なわれた前記メモリエリアに対して、前記二つの種類のうちの前記描画すべき画像の種類に応じたクリア値にビット値を一様化するクリア処理を行なう第1のクリア手段と、当該描画処理装置に前記ジョブが与えられてから前記描画すべき画像の描画に最後に用いられるメモリエリアからの前記読出し手段による読出しが終了するまでの期間内に、前記描画すべき画像とは種類が異なりかつ当該ジョブよりも後の他のジョブによって指定され得る画像を描画するためのメモリエリアである予備エリアとして、前記複数のメモリエリア以外のメモリエリアを設定する設定手段と、前記描画すべき画像の描画に最後に用いられるメモリエリアに対する前記第1のクリア手段によるクリア処理が終了する以前に、前記設定手段によって設定された前記予備エリアに対して、前記二つの種類のうちの前記描画すべき画像の種類ではない他方の種類に応じたクリア値にビット値を一様化するクリア処理を行なう第2のクリア手段と、を備える。
A device that achieves the above object is a drawing processing device that draws an image on a memory, and the bit value of a memory area used for drawing specified by a job that instructs image output is set to any clear value of 0 and 1 An image to be rendered, which is one of two types of raster images that are distinguished depending on whether they need to be uniformed, a plurality of memory areas one by one in order, and a rendering means for rendering a part A reading means for reading a partial image drawn in the memory area from a memory area used for drawing by the drawing means, and the memory area read by the reading means for the memory area of the two types. A first clear means for performing a clear process for making the bit value uniform to a clear value corresponding to the type of image to be rendered; Wherein within a period of up to reading by the reading means is completed, the drawing image and Li Kui the job type is different is to be from the memory area to be used after the job is given to the last drawing of the image to be the drawing Setting means for setting a memory area other than the plurality of memory areas as a spare area , which is a memory area for drawing an image that can be specified by another job later than the last one, and drawing the image to be drawn last For the spare area set by the setting means before the clear processing by the first clearing means for the memory area used for the above is completed, no comprising the other of the second clear means it will row the clear processing for uniforming the bit value clear value corresponding to the type, the.

本発明によれば、描画用のメモリエリアに対して行なうべきクリア処理のビット値が異なる2種の画像のうちの一方の種類の画像を描画した後、クリア処理を行なう以前に他方の種類の画像の描画を開始することができる。   According to the present invention, after drawing one kind of images of two kinds of images having different bit values for the clear process to be performed on the drawing memory area, before performing the clear process, the other kind of image is drawn. Image drawing can be started.

本発明の実施形態に係る画像形成装置の概略の構成を示す図である。1 is a diagram illustrating a schematic configuration of an image forming apparatus according to an embodiment of the present invention. 画像形成装置に組み込まれて描画処理装置として動作するメインコントローラーのハードウェア構成を示す図である。FIG. 2 is a diagram illustrating a hardware configuration of a main controller that is incorporated in an image forming apparatus and operates as a drawing processing apparatus. メインコントローラーの印刷に関わる機能構成を示す図である。It is a figure which shows the function structure in connection with the printing of a main controller. バンド単位の描画に用いるバンドエリアの設定例を示す図である。It is a figure which shows the example of a setting of the band area used for drawing of a band unit. 描画処理動作の基本シーケンスを示す図である。It is a figure which shows the basic sequence of drawing process operation. 描画処理動作の第1例における予備エリアが設定されたワークメモリを示す図である。It is a figure which shows the work memory in which the reserve area in the 1st example of drawing process operation was set. 描画処理動作の第1例のシーケンスを示す図である。It is a figure which shows the sequence of the 1st example of drawing process operation | movement. 描画処理動作の第1例における同種のジョブが連続する場合のシーケンスを示す図である。It is a figure which shows the sequence in case the same kind of job in the 1st example of drawing process operation continues. 描画処理動作の第2例における予備エリアが設定されたワークメモリを示す図である。It is a figure which shows the work memory to which the reserve area in the 2nd example of drawing process operation was set. 描画処理動作の第2例のシーケンスを示す図である。It is a figure which shows the sequence of the 2nd example of drawing process operation | movement. 描画処理動作の第2例における同種のジョブが連続する場合のシーケンスを示す図である。It is a figure which shows the sequence in case the same kind of job in the 2nd example of drawing process operation continues. 描画処理動作の第3例のシーケンスを示す図である。It is a figure which shows the sequence of the 3rd example of drawing process operation | movement. 描画処理動作の第3例における同種のジョブが連続する場合のシーケンスを示す図である。It is a figure which shows the sequence in case the same kind of job in the 3rd example of drawing process operation continues. 描画処理動作の第4例の第1のジョブに対応したシーケンスを示す図である。It is a figure which shows the sequence corresponding to the 1st job of the 4th example of drawing process operation | movement. 描画処理動作の第4例の第2のジョブに対応したシーケンスを示す図である。It is a figure which shows the sequence corresponding to the 2nd job of the 4th example of drawing process operation | movement.

図1に例示される画像形成装置1は、複数のページ記述言語に対応した印刷機能および印刷以外の多様な機能を有するMFP(Multi-functional Peripheral)である。画像形成装置1には、操作パネル13による直接の操作またはネットワーク8を介して接続される外部装置(典型的にはパーソナルコンピューター)5,6,7からのアクセスによって印刷ジョブが与えられる。印刷ジョブとして、コピージョブ、ネットワークプリントジョブ、およびストレージ12に保存されたドキュメントを印刷するジョブがある。画像形成装置1は、PCLジョブおよびPSジョブをネットワークプリントジョブとして実行することができる。   An image forming apparatus 1 illustrated in FIG. 1 is an MFP (Multi-functional Peripheral) having a printing function corresponding to a plurality of page description languages and various functions other than printing. A print job is given to the image forming apparatus 1 by direct operation from the operation panel 13 or access from external devices (typically personal computers) 5, 6, 7 connected via the network 8. The print job includes a copy job, a network print job, and a job for printing a document stored in the storage 12. The image forming apparatus 1 can execute a PCL job and a PS job as a network print job.

印刷ジョブでは、プリンターコントローラー16によって制御される電子写真式のプリンターエンジン17が、用紙スタッカー18から供給される用紙に画像を印刷する。コピージョブでは、ADF(Auto Document Feeder)14によって搬送される原稿シートからイメージスキャナー15によって読み取られた原稿画像が印刷される。また、ネットワークプリントジョブでは、ネットワークコントローラー11が受信したページ記述言語データによって指定される画像が印刷される。   In the print job, the electrophotographic printer engine 17 controlled by the printer controller 16 prints an image on the paper supplied from the paper stacker 18. In a copy job, a document image read by an image scanner 15 from a document sheet conveyed by an ADF (Auto Document Feeder) 14 is printed. In the network print job, an image designated by the page description language data received by the network controller 11 is printed.

画像形成装置1では、画像形成装置1の制御を統括するメインコントローラー10がネットワークプリントジョブに伴う描画処理を受け持つ。言い換えれば、メインコントローラー10が描画処理装置として動作する。このようなメインコントローラー10のハードウェア構成が図2に示される。   In the image forming apparatus 1, the main controller 10 that controls the image forming apparatus 1 is responsible for drawing processing associated with a network print job. In other words, the main controller 10 operates as a drawing processing device. The hardware configuration of such a main controller 10 is shown in FIG.

図2のように、メインコントローラー10は、CPU(Central Processing Unit)20、フラッシュROM(Read Only Memory)21、ブリッジ回路22、バス調停器23、圧縮・伸長回路25、ファイルメモリ26、出力バッファ27、入力バッファ28、およびワークメモリ30を有する。   As shown in FIG. 2, the main controller 10 includes a CPU (Central Processing Unit) 20, a flash ROM (Read Only Memory) 21, a bridge circuit 22, a bus arbiter 23, a compression / decompression circuit 25, a file memory 26, and an output buffer 27. , An input buffer 28, and a work memory 30.

CPU20にブリッジ回路22を介して接続されるフラッシュROM21に、画像形成装置1を動作させるためのプログラムが予め格納されている。このプログラムは、画像形成装置1の電源投入時にフラッシュROM21からワークメモリ30上にロードされ、CPU20によって実行される。   A program for operating the image forming apparatus 1 is stored in advance in a flash ROM 21 connected to the CPU 20 via a bridge circuit 22. This program is loaded from the flash ROM 21 onto the work memory 30 when the image forming apparatus 1 is turned on, and is executed by the CPU 20.

バス調停器23は、ブリッジ回路22に通じるPCIバスの使用を調停する。バス調停器23は、ワークメモリ30に対するDMA(Direct Memory Access)を実現する転送コントローラー24を備えている。   The bus arbiter 23 arbitrates use of the PCI bus leading to the bridge circuit 22. The bus arbiter 23 includes a transfer controller 24 that implements DMA (Direct Memory Access) for the work memory 30.

圧縮・伸張回路25は、圧縮動作および伸張動作のうちの選択された一方を行なう複数の圧縮伸張器を備えており、圧縮および伸張を並行して行なうことができる。各圧縮伸張器の動作の選択は、バス調停器23に備わる転送コントローラー24によって行なわれる。   The compression / expansion circuit 25 includes a plurality of compression / decompression units that perform a selected one of the compression operation and the expansion operation, and can perform compression and expansion in parallel. Selection of the operation of each compression / decompression unit is performed by the transfer controller 24 provided in the bus arbiter 23.

ファイルメモリ26は、圧縮・伸張回路25によって圧縮されたデータの一時記憶に用いられる。出力バッファ27は、プリンターインタフェース16Bを介するプリンターコントローラー16への印刷用ラスター画像データの出力に用いられる。入力バッファ28は、スキャナーインタフェース15Bを介するイメージスキャナー15からの読取り画像データの入力に用いられる。   The file memory 26 is used for temporary storage of data compressed by the compression / decompression circuit 25. The output buffer 27 is used to output raster image data for printing to the printer controller 16 via the printer interface 16B. The input buffer 28 is used for inputting read image data from the image scanner 15 via the scanner interface 15B.

このようなメインコントローラー10は、ネットワークプリントジョブに係る次の動作を行なう。ネットワークコントローラー11が受信した外部装置からのページ記述言語データを、ソフトウェア処理によって解析し、印刷すべき画像に対応したラスター画像をワークメモリ30上にバンド単位で描画する。描画したラスター画像を、ワークメモリ30からブリッジ回路22およびバス調停器23を介して圧縮・伸張回路25へ転送して圧縮する。そして、圧縮によって得られた圧縮データをファイルメモリ26にいったん格納する。所定バンド数分の圧縮データを格納した後、圧縮データをファイルメモリ26から読み出す。読み出した圧縮データを圧縮・伸張回路25によって伸張し、出力バッファ27を用いてプリンターインタフェース16Bへ出力する。印刷すべき全ページのデータを出力し終えるまで、描画、圧縮および伸張というバンド単位の各処理を繰り返す。   Such a main controller 10 performs the following operation related to the network print job. The page description language data received from the external device by the network controller 11 is analyzed by software processing, and a raster image corresponding to the image to be printed is drawn on the work memory 30 in units of bands. The rendered raster image is transferred from the work memory 30 to the compression / expansion circuit 25 via the bridge circuit 22 and the bus arbiter 23 and compressed. Then, the compressed data obtained by the compression is temporarily stored in the file memory 26. After storing the compressed data for a predetermined number of bands, the compressed data is read from the file memory 26. The read compressed data is decompressed by the compression / decompression circuit 25 and output to the printer interface 16B using the output buffer 27. Until the output of all pages of data to be printed is completed, each process of drawing, compression, and decompression is repeated.

なお、コピージョブに際しては、入力バッファ28に入力された読み取り画像データを圧縮・伸張回路25へバス調停器23を介して転送して圧縮する。その後はネットワークプリントジョブの場合と同様に、圧縮データをいったんファイルメモリ26に格納した後に読み出して伸張し、伸張したデータをプリンターインタフェース16Bへ出力する。   In the case of a copy job, the read image data input to the input buffer 28 is transferred to the compression / expansion circuit 25 via the bus arbitrator 23 and compressed. Thereafter, similarly to the case of the network print job, the compressed data is temporarily stored in the file memory 26 and then read and decompressed, and the decompressed data is output to the printer interface 16B.

図3はメインコントローラー10の印刷に関わる機能構成を示している。メインコントローラー10は、ジョブ管理部101、ネットワーク管理部102、操作パネル制御部103、描画処理部104、圧縮制御部105、伸張制御部106、スキャナーIF制御部107、およびプリンターIF制御部108を有する。これらの要素は、CPU20が所定のプログラムを実行することによって実現される機能要素である。そして、これらの要素のうちの描画処理部104および圧縮制御部105が、メインコントローラー10のハードウェアを制御して描画処理装置100としての動作を実現する機能要素である。   FIG. 3 shows a functional configuration related to printing of the main controller 10. The main controller 10 includes a job management unit 101, a network management unit 102, an operation panel control unit 103, a drawing processing unit 104, a compression control unit 105, a decompression control unit 106, a scanner IF control unit 107, and a printer IF control unit 108. . These elements are functional elements realized by the CPU 20 executing a predetermined program. Of these elements, the drawing processing unit 104 and the compression control unit 105 are functional elements that control the hardware of the main controller 10 to realize the operation as the drawing processing apparatus 100.

ジョブ管理部101は、操作パネル13からの指示またはネットワーク8からの要求に応じて実行すべきジョブを設定し、ジョブの進行を制御する。ネットワーク管理部102は、ネットワーク8による外部装置との送受信を管理する。操作パネル制御部103は、操作パネル13の画面表示処理および操作入力処理を受け持つ。伸張制御部106は、圧縮・伸張回路25による伸張を制御する。スキャナーIF制御部107は、スキャナーインタフェース15Bからのデータ入力を制御する。プリンターIF制御部108は、プリンターインタフェース16Bへのデータ出力を制御する。   The job management unit 101 sets a job to be executed in response to an instruction from the operation panel 13 or a request from the network 8, and controls the progress of the job. The network management unit 102 manages transmission / reception with an external device via the network 8. The operation panel control unit 103 is responsible for screen display processing and operation input processing of the operation panel 13. The expansion control unit 106 controls expansion by the compression / expansion circuit 25. The scanner IF control unit 107 controls data input from the scanner interface 15B. The printer IF control unit 108 controls data output to the printer interface 16B.

描画処理部104は、描画部401と設定部402とを有する。描画部401は、ページ記述言語データを解析してワークメモリ30にラスター画像を描画する。設定部402は、“予備エリア”をワークメモリ30内に設定する。予備エリアは、1クリアを必要とするか0クリアを必要とするかによって区別される2種のラスター画像の一方の描画に引き続いて他方の描画を遅滞なく開始するために準備する描画用のメモリエリアである。   The drawing processing unit 104 includes a drawing unit 401 and a setting unit 402. The drawing unit 401 analyzes the page description language data and draws a raster image on the work memory 30. The setting unit 402 sets “reserve area” in the work memory 30. The spare area is a drawing memory that is prepared to start drawing the other raster image without delay following the drawing of one of the two types of raster images distinguished depending on whether 1 clear is required or 0 clear is required. It is an area.

圧縮制御部105は、読出し部501と、第1のクリア手段としての通常クリア処理部502と、第2のクリア手段としての予備クリア処理部503とを有する。読出し部501は、転送コントローラー24に対して、描画したラスター画像のワークメモリ30からの読出しを要求する。通常クリア処理部502は、ワークメモリ30における予備エリア以外の読出しを終えたメモリエリア(後述のバンドエリア)に対するクリア処理を転送コントローラー24に要求する。予備クリア処理部503は、予備エリアに対するクリア処理を転送コントローラー24に要求する。   The compression control unit 105 includes a reading unit 501, a normal clear processing unit 502 as a first clearing unit, and a preliminary clear processing unit 503 as a second clearing unit. The reading unit 501 requests the transfer controller 24 to read the drawn raster image from the work memory 30. The normal clear processing unit 502 requests the transfer controller 24 to perform clear processing on a memory area (a band area described later) that has been read other than the spare area in the work memory 30. The spare clear processing unit 503 requests the transfer controller 24 to clear the spare area.

図4はバンド単位の描画に用いるバンドエリアの設定例を示している。図示において、1ジョブ分の描画すべき画像Dは三つのページP1,P2,P3である。ただし、ページ数Nは3に限らず、1、2または4以上であってもよい。また、画像Dを指定するデータは、ページ記述言語データであってもよいし、描画し易いようにページ記述言語データを変換した中間データであってもよい。ページP1,P2,P3は、先頭のページP1から最終のページP3まで、例えば256ライン幅のバンドに分割されて描画される。図示ではページP1,P2,P3がそれぞれk個のバンドに分割されている。   FIG. 4 shows a setting example of band areas used for drawing in band units. In the figure, an image D to be drawn for one job is three pages P1, P2, and P3. However, the number of pages N is not limited to 3, and may be 1, 2 or 4 or more. Further, the data specifying the image D may be page description language data, or may be intermediate data obtained by converting the page description language data so that drawing is easy. The pages P1, P2, and P3 are drawn by being divided into bands having a width of, for example, 256 lines from the first page P1 to the last page P3. In the figure, pages P1, P2, and P3 are each divided into k bands.

ワークメモリ30には、電源投入時の初期設定において、カラー印刷を要求するPSジョブのための描画を想定した四つのプレーンエリア31,32,33,34が確保される。   In the work memory 30, four plane areas 31, 32, 33, and 34 that are assumed to be drawn for a PS job that requests color printing are secured in the initial setting when the power is turned on.

PSジョブでは、Y(イエロー)、M(マゼンタ)、C(シアン)、およびK(ブラック)の色成分濃度を表す四つのプレーン(多値ラスター画像)が、プレーンエリア31,32,33,34を用いて描画される。また、PCLジョブでは、R(レッド)、G(グリーン)、およびB(ブルー)の色成分輝度を表す三つのプレーン(多値ラスター画像)が、プレーンエリア31,32,33,34のうちの三つのプレーンエリア31,32,33を用いて描画される。つまり、プレーンエリア31,32,33はPSジョブおよびPCLジョブに共用され、残りのプレーンエリア34はPSジョブにおいてのみ用いられる。   In the PS job, four planes (multi-value raster images) representing color component densities of Y (yellow), M (magenta), C (cyan), and K (black) are plane areas 31, 32, 33, and 34. Rendered using. In the PCL job, three planes (multi-value raster images) representing R (red), G (green), and B (blue) color component luminances are included in the plane areas 31, 32, 33, and 34. Drawing is performed using three plane areas 31, 32, and 33. That is, the plane areas 31, 32, and 33 are shared by the PS job and the PCL job, and the remaining plane area 34 is used only for the PS job.

プレーンエリア31,32,33,34のそれぞれが四つのバンドエリアに区分される。各プレーンエリア31,32,33,34における各バンドエリアがページP1,P2,P3の一つのバンドに対応する。プレーンエリア31,32,33,34のそれぞれにおいて、一つのバンドエリアへの描画、既に描画された他のバンドエリアからの部分画像の読出し、および読出しを終えたバンドエリアに対するクリア処理が並行して行なわれる。先頭のページP1の先頭のバンドから最終のページP3の最終(k番目)のバンドまでの1ジョブ分の描画において、各バンドエリアが繰り返し用いられる。   Each of the plane areas 31, 32, 33, and 34 is divided into four band areas. Each band area in each plane area 31, 32, 33, 34 corresponds to one band of pages P1, P2, P3. In each of the plane areas 31, 32, 33, and 34, drawing in one band area, reading out a partial image from another band area that has already been drawn, and clearing processing for the band area that has been read out are performed in parallel. Done. Each band area is repeatedly used in drawing for one job from the first band of the first page P1 to the last (kth) band of the last page P3.

PSジョブにおいてのみ用いられるプレーンエリア34については、クリア処理として0クリアのみを行なえばよい。これに対して、PSジョブおよびPCLジョブに共用されるプレーンエリア31,32,33については、PSジョブでは0クリアを行い、PCLジョブでは1クリアを行なう必要がある。   For the plain area 34 used only in the PS job, only 0 clear may be performed as the clear process. On the other hand, for the plane areas 31, 32, and 33 shared by the PS job and the PCL job, it is necessary to clear 0 in the PS job and clear 1 in the PCL job.

従来の描画処理方法では、PSジョブの次にPCLジョブを実行する場合には、プレーンエリア内の全バンドを0クリア状態から1クリア状態に変えてからPCLジョブのための描画を開始し、逆にPCLジョブの次にPSジョブを実行する場合には、1クリア状態を0クリア状態に変えてからPSジョブのための描画を開始する。このため、ジョブの切り替わりに際して、クリア処理の所要時間分の遅延が生じる。   In the conventional drawing processing method, when the PCL job is executed after the PS job, drawing for the PCL job is started after all the bands in the plane area are changed from the 0 clear state to the 1 clear state. When the PS job is executed after the PCL job, the drawing for the PS job is started after the 1 clear state is changed to the 0 clear state. For this reason, when the job is switched, a delay corresponding to the time required for the clear process occurs.

この遅延を無くすため、本実施形態の画像形成装置1では、PCLジョブの実行中にPSジョブの描画に適した0クリア状態の予備エリアを準備しておき、PSジョブの実行中にPCLジョブの描画に適した1クリア状態の予備エリアを準備しておく。予備エリアを準備して必要に応じてそれを使用する動作は、プレーンエリア31,32,33の間で共通であるので、以下では代表としてプレーンエリア31に注目し、描画処理装置100の動作を説明する。   In order to eliminate this delay, the image forming apparatus 1 according to the present embodiment prepares a 0-clear state spare area suitable for PS job drawing during execution of a PCL job, and the PCL job execution during PS job execution. A spare area in a clear state suitable for drawing is prepared. The operation of preparing a spare area and using it as necessary is common between the plane areas 31, 32, and 33. Therefore, the following description will focus on the plane area 31 as a representative, and the operation of the drawing processing apparatus 100 will be described. explain.

図5は描画処理の基本シーケンス、すなわち予備エリアの準備を行なわないシーケンスを示している。   FIG. 5 shows a basic sequence of the drawing process, that is, a sequence in which a spare area is not prepared.

ネットワーク管理部102(図3参照)が外部装置から送信されたページ記述言語データを描画処理部104に引き渡す。描画処理部104は、実行中のネットワークプリントジョブ(以下、単にジョブということがある)のための描画処理期間TJにおいて、最初にジョブに応じた処理動作を決定するモード設定要求を圧縮制御部105に対して行う。圧縮制御部105は描画処理部104からの要求を受けてモード設定に必要な処理を完了させ、モード設定完了応答を返す。以降のシーケンスは描画処理部104からの要求に対する圧縮制御部105からの応答という形式で時系列に進んでいく。上述のとおり描画・転送・クリア処理がバンド単位で行なわれ、描画処理部104と圧縮制御部105との連携によって、ジョブの実行に必要な画像データを出力していく。   The network management unit 102 (see FIG. 3) delivers the page description language data transmitted from the external device to the drawing processing unit 104. The drawing processing unit 104 first issues a mode setting request for determining a processing operation according to a job in the drawing processing period TJ for a network print job being executed (hereinafter simply referred to as a job). To do. Upon receiving a request from the drawing processing unit 104, the compression control unit 105 completes processing necessary for mode setting, and returns a mode setting completion response. The subsequent sequence proceeds in time series in the form of a response from the compression control unit 105 to the request from the drawing processing unit 104. As described above, drawing / transfer / clear processing is performed in band units, and image data necessary for job execution is output in cooperation with the drawing processing unit 104 and the compression control unit 105.

転送開始要求は、一つのバンドの描画の完了および描画に用いたバンドエリアのアドレス情報を圧縮制御部105に通知する処理である。圧縮制御部105は通知されたバンドエリアから描画されたデータを読み出して圧縮・伸張回路25へ送るDMAの転送制御を行ない、転送が完了すると転送完了応答を返す。   The transfer start request is processing for notifying the compression control unit 105 of completion of drawing of one band and address information of the band area used for drawing. The compression control unit 105 performs DMA transfer control for reading the drawn data from the notified band area and sending it to the compression / decompression circuit 25, and returns a transfer completion response when the transfer is completed.

クリア開始要求は、描画に用いたバンドエリアに対するクリア処理を実施させる指示である。今回の描画に用いたバンドエリアへの次回の描画の準備として、当該バンドエリアについての転送が完了したタイミングでクリア処理を実施しておく。クリア開始要求の属性(0クリアまたは1クリアの指定)は、実行中のジョブに係るページ記述言語に対応する。   The clear start request is an instruction to perform clear processing on the band area used for drawing. As a preparation for the next drawing to the band area used for the current drawing, a clear process is performed at the timing when the transfer for the band area is completed. The attribute of the clear start request (designation of 0 clear or 1 clear) corresponds to the page description language related to the job being executed.

このような基本シーケンスに、上述の予備エリアに関わるシーケンスを組み入れることにより、PCLジョブとPSジョブとを続けて実行する場合におけるジョブの変わり目での描画開始前のクリア処理を不要にすることができる。以下に、予備エリアの準備を行なうシーケンスの四つの例を挙げる。   By incorporating a sequence related to the above-described spare area into such a basic sequence, it is possible to eliminate the need for clear processing before starting drawing at the transition of the job when the PCL job and the PS job are continuously executed. . The following are four examples of sequences for preparing a spare area.

〔描画処理動作の第1例〕
図6のように、第1例ではワークメモリ30内にプレーンエリア31の四つのバンドエリア41,42,43,44とは別に予備エリア45が設定される。予備エリア45の設定は動的であり、ワークメモリ30において設定時点で解放されているメモリエリアが予備エリア45とされる。また、予備エリア45の設定時期は1ジョブの描画処理期間TJの終わり近くであり、描画処理期間TJの初期段階でそれ以前に設定された予備エリア45が解放される。つまり、描画処理期間TJのうちの始まりと終わりの部分を除く大半においてワークメモリ30内に予備エリア45は確保されていない。このことは、CPU20が他の処理の実行のために使用することのできるメモリエリアが多くなるという効果をもつ。
[First example of drawing processing operation]
As shown in FIG. 6, in the first example, a spare area 45 is set in the work memory 30 separately from the four band areas 41, 42, 43, 44 of the plane area 31. The setting of the spare area 45 is dynamic, and the memory area released at the time of setting in the work memory 30 is set as the spare area 45. The spare area 45 is set near the end of the drawing process period TJ of one job, and the spare area 45 set before that is released at the initial stage of the drawing process period TJ. That is, the spare area 45 is not secured in the work memory 30 in most of the drawing processing period TJ except for the beginning and end portions. This has the effect of increasing the memory area that the CPU 20 can use for executing other processes.

なお、PCLジョブとPSジョブとに共用される他のプレーンエリア32,33についても、それぞれに対応する予備エリアがプレーンエリア31と同様に動的に設定されかつ解放される。   For the other plane areas 32 and 33 shared by the PCL job and the PS job, the spare areas corresponding to the plane areas 32 and 33 are dynamically set and released in the same manner as the plane area 31.

図7は描画処理動作の第1例のシーケンスを示している。図では上段、中段、および下段に分けて三つのジョブを続けて実行する場合の描画処理装置100の動作が示されている。三つのジョブのうちの1番目はPCLジョブであり、2番目はPSジョブであり、3番目はPCLジョブである。ここで、1番目はPCLジョブの実行開始時点で四つのバンドエリア41,42,43,44がPCLジョブに適した1クリア状態にされているものとする。   FIG. 7 shows a sequence of a first example of the drawing processing operation. The figure shows the operation of the drawing processing apparatus 100 when three jobs are executed in succession divided into an upper stage, a middle stage, and a lower stage. The first of the three jobs is a PCL job, the second is a PS job, and the third is a PCL job. Here, it is assumed that the four band areas 41, 42, 43, and 44 are in the 1 clear state suitable for the PCL job at the start of execution of the PCL job.

図7の上段に示されるように、1番目のPCLジョブにおいて、四つのバンドエリア41,42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。描画が終われば転送が行なわれ、転送が終われば1クリアが行なわれる。例えば、第1のバンドエリア41からの転送と並行して第2のバンドエリア42への描画が行なわれ、第1のバンドエリア41の1クリアと並行して第2のバンドエリア42からの転送および第3のバンドエリア43への描画が行なわれる。ジョブが指定するN個のページについての処理が終わるまで、このシーケンスが繰り返される。例示では最終のページの最終のバンドの描画に第3のバンドエリア43が用いられる。期間Tz1において最終のバンドの描画が行なわれ、期間Tz1に続く期間Tz2においてバンドエリア43からの転送が行なわれ、さらに期間Tz2に続く期間Tz3においてバンドエリア43の1クリアが行なわれる。   As shown in the upper part of FIG. 7, in the first PCL job, drawing is performed using the four band areas 41, 42, 43, 44 one after another in order. When drawing is completed, transfer is performed, and when the transfer is completed, 1 clear is performed. For example, the drawing to the second band area 42 is performed in parallel with the transfer from the first band area 41, and the transfer from the second band area 42 is performed in parallel with one clear of the first band area 41. In addition, drawing in the third band area 43 is performed. This sequence is repeated until processing for N pages designated by the job is completed. In the example, the third band area 43 is used for drawing the last band of the last page. The last band is drawn in the period Tz1, the transfer from the band area 43 is performed in the period Tz2 following the period Tz1, and the band area 43 is cleared by 1 in the period Tz3 following the period Tz2.

最終のバンドの描画が行なわれる期間Tz1において、予備エリア45が設定部402によって確保される。すなわち、ワークメモリ30内の一部が予備エリア45に設定される。確保された予備エリア45に対するクリア処理を描画処理部104が圧縮制御部105に要求し、要求に応えて圧縮制御部105の予備クリア処理部503が期間Tz2において予備エリア45に対して0クリアを実施する。0クリアの完了により、PSジョブの描画に適したメモリエリアが準備されたことになる。   The spare area 45 is secured by the setting unit 402 in the period Tz1 during which the final band is drawn. That is, a part of the work memory 30 is set in the spare area 45. The drawing processing unit 104 requests the compression control unit 105 to clear the reserved spare area 45, and in response to the request, the preliminary clear processing unit 503 of the compression control unit 105 clears the spare area 45 to 0 in the period Tz2. carry out. With the completion of 0 clear, a memory area suitable for PS job drawing is prepared.

図7の中段に示されるように、PCLジョブに続くPSジョブにおいて、先頭のページの先頭のバンドを描画する期間Ta1に、予備エリア45を用いて描画が行なわれる。期間Ta1の開始時点で予備エリア45は0クリア状態であるので、一つ前のジョブ(PCLジョブ)における最後の期間Tz3と当該期間Ta1との間に1クリア状態を0クリア状態に変える必要がない。クリア状態を変える処理が省略される分だけ早い時点でPSジョブの最初の描画を開始することができる。   As shown in the middle part of FIG. 7, in the PS job following the PCL job, drawing is performed using the spare area 45 during the period Ta1 in which the top band of the top page is drawn. Since the spare area 45 is in the 0 clear state at the start of the period Ta1, it is necessary to change the 1 clear state to the 0 clear state between the last period Tz3 in the previous job (PCL job) and the period Ta1. Absent. The first drawing of the PS job can be started as soon as the process of changing the clear state is omitted.

予備エリア45に描画する期間Ta1において、1クリア状態である四つのバンドエリア41,42,43,44に対して0クリアが行なわれる。0クリアが完了した後は、四つのバンドエリア41,42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。例えば、期間Ta1に続く期間Ta2では、先頭のページの2番目のバンドが第1のバンドエリア41に描画される。そして、この期間Ta2において、予備エリア45から先頭ページの先頭のバンドの描画されたデータが転送される。   In the period Ta1 for drawing in the spare area 45, zero clear is performed for the four band areas 41, 42, 43, and 44 that are in one clear state. After the 0 clear is completed, drawing is performed using the four band areas 41, 42, 43, and 44 one by one in order and repeatedly. For example, in the period Ta2 following the period Ta1, the second band of the first page is drawn in the first band area 41. Then, in this period Ta2, data drawn in the head band of the head page is transferred from the spare area 45.

PSジョブのための1ジョブ分の描画処理が進行するのと並行して、期間Ta2に続く期間Ta3において、転送を終えた予備エリア45が解放される。すなわち、予備エリア45の設定がいったん解除される。その後、PCLジョブの場合と同様に、最後のバンドを描画する期間Tz1において、新たに予備エリア45が確保される。そして、確保された予備エリア45に対して、0クリアではなく1クリアが行なわれる。1クリアの完了により、PCLジョブの描画に適したメモリエリアが準備されたことになる。   In parallel with the progress of the drawing process for one job for the PS job, the spare area 45 that has been transferred is released in the period Ta3 following the period Ta2. That is, the setting of the spare area 45 is once canceled. Thereafter, as in the case of the PCL job, a spare area 45 is newly secured in the period Tz1 for drawing the last band. Then, the cleared spare area 45 is cleared not by 0 but by 1. When one clear is completed, a memory area suitable for drawing a PCL job is prepared.

図7の下段に示されるように、PSジョブに続くPCLジョブにおいて、先頭のページの先頭のバンドを描画する期間Ta1に、予備エリア45を用いて描画が行なわれる。期間Ta1の開始時点で予備エリア45は1クリア状態であるので、一つ前のジョブ(PSジョブ)における最後の期間Tz3と当該期間Ta1との間に0クリア状態を1クリア状態に変える必要がない。クリア状態を変える処理が省略される分だけ早い時点でPCLジョブの最初の描画を開始することができる。   As shown in the lower part of FIG. 7, in the PCL job following the PS job, drawing is performed using the spare area 45 during the period Ta1 in which the top band of the top page is drawn. Since the spare area 45 is in the 1 clear state at the start of the period Ta1, it is necessary to change the 0 clear state to the 1 clear state between the last period Tz3 and the period Ta1 in the immediately preceding job (PS job). Absent. The first drawing of the PCL job can be started as soon as the process of changing the clear state is omitted.

下段のシーケンスにおいても、中段のシーケンスと同様に予備エリア45が解放され、その後に上段のシーケンスと同様に新たに予備エリア45が確保されるとともに0クリアが行なわれる。   Also in the lower sequence, the spare area 45 is released in the same manner as the middle sequence, and thereafter, the spare area 45 is newly secured and cleared to 0 as in the upper sequence.

図8(A)は実行順位の連続する二つのジョブが共にPCLジョブである場合のシーケンスを示している。先に実行されるm番目のPCLジョブの実行中に、図7で説明したとおりのシーケンスによって、0クリア状態の予備エリア45が準備される。しかし、m番目の次のn番目のPCLジョブの実行に際して、準備されている予備エリア45を用いることなく、既に1クリア状態である四つのバンドエリア41,42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。準備されている予備エリア45は、先頭のバンドを描画する期間Ta1に解放される。最後のバンドを描画する期間Tz1に予備エリア45を確保して期間Tz2に0クリアを行なう準備動作は、m番目のジョブが図8(A)のようにPCLジョブである場合も図7のようにPSジョブである場合も同様に行なわれる。   FIG. 8A shows a sequence in the case where two jobs having consecutive execution orders are both PCL jobs. During execution of the m-th PCL job that is executed first, the spare area 45 in the 0-clear state is prepared by the sequence described with reference to FIG. However, when the m-th next n-th PCL job is executed, the four band areas 41, 42, 43, and 44 that are already in the 1-clear state are sequentially used one by one without using the prepared spare area 45. And drawing is performed repeatedly. The prepared spare area 45 is released during a period Ta1 in which the leading band is drawn. The preparation operation for securing the spare area 45 in the period Tz1 for drawing the last band and clearing 0 in the period Tz2 is performed as shown in FIG. 7 even when the mth job is a PCL job as shown in FIG. The same applies to PS jobs.

図8(B)は実行順位の連続する二つのジョブが共にPSジョブである場合のシーケンスを示している。先に実行されるm番目のPSジョブの実行中に、図7で説明したとおりのシーケンスによって、1クリア状態の予備エリア45が準備される。しかし、n番目のPSジョブの実行に際して、準備されている予備エリア45を用いることなく、既に0クリア状態である四つのバンドエリア41,42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。準備されている予備エリア45は、期間Ta1に解放される。期間Tz1に予備エリア45を確保して期間Tz2に1クリアを行なう準備動作は、m番目のジョブが図8(B)のようにPSジョブである場合も図7のようにPSジョブである場合も同様に行なわれる。   FIG. 8B shows a sequence in the case where two jobs having consecutive execution orders are PS jobs. During the execution of the m-th PS job executed first, the spare area 45 in the 1-clear state is prepared by the sequence as described with reference to FIG. However, when the n-th PS job is executed, the drawing is performed by sequentially and repeatedly using the four band areas 41, 42, 43, and 44 that are already in the zero clear state without using the prepared spare area 45. Is done. The prepared spare area 45 is released in the period Ta1. The preparatory operation for securing the spare area 45 in the period Tz1 and clearing 1 in the period Tz2 is performed when the m-th job is a PS job as shown in FIG. 8B or a PS job as shown in FIG. Is done in the same way.

〔描画処理動作の第2例〕
第2例では、図9(A)および(B)のように、プレーンエリア31における四つのバンドエリア41,42,43,44のうちの一つが予備エリアとされる。図9(A)のように、PCLジョブの実行中にPSジョブのために準備される予備エリアは第4のバンドエリア44と決められている。一方、図9(B)のように、PSジョブの実行中にPCLジョブのために準備される予備エリアは第1のバンドエリア41と決められている。すなわち、PSジョブの場合とPCLジョブの場合とで異なるバンドエリアが予備エリアとされる。設定部402は、実行するジョブの種類に応じて、第4のバンドエリア44または第1のバンドエリア41を予備エリアに設定する。
[Second example of drawing processing operation]
In the second example, as shown in FIGS. 9A and 9B, one of the four band areas 41, 42, 43, and 44 in the plane area 31 is set as a spare area. As shown in FIG. 9A, the spare area prepared for the PS job during the execution of the PCL job is determined as the fourth band area 44. On the other hand, as shown in FIG. 9B, the spare area prepared for the PCL job during the execution of the PS job is determined as the first band area 41. In other words, different band areas are used as spare areas for PS jobs and PCL jobs. The setting unit 402 sets the fourth band area 44 or the first band area 41 as a spare area according to the type of job to be executed.

図10は描画処理動作の第2例のシーケンスを示している。図7と同様に、上段、中段、および下段に分けてPCLジョブ、PSジョブおよびPCLジョブを続けて実行する場合の描画処理装置100の動作が示されている。   FIG. 10 shows a second example sequence of the drawing processing operation. Similarly to FIG. 7, the operation of the drawing processing apparatus 100 when the PCL job, the PS job, and the PCL job are continuously executed divided into an upper stage, a middle stage, and a lower stage is shown.

図10の上段に示されるように、1番目のPCLジョブにおいて、三つのバンドエリア41,42,43を一つずつ順にかつ繰り返し用いて描画が行なわれる。描画が終われば転送が行なわれ、転送が終われば1クリアが行なわれる。ジョブが指定するN個のページについての処理が終わるまで、このシーケンスが繰り返される。例示では最終のページの最終のバンドの描画に第3のバンドエリア43が用いられる。   As shown in the upper part of FIG. 10, in the first PCL job, drawing is performed using the three band areas 41, 42, and 43 one after another in order. When drawing is completed, transfer is performed, and when the transfer is completed, 1 clear is performed. This sequence is repeated until processing for N pages designated by the job is completed. In the example, the third band area 43 is used for drawing the last band of the last page.

先頭ページの先頭のバンドを描画する期間Ta1において、第1のバンドエリア41への描画と並行して、予備エリアに設定された第4のバンドエリア44に対して0クリアが行なわれる。0クリアの完了により、PSジョブの描画に適したメモリエリアが準備されたことになる。   In the period Ta1 in which the first band of the first page is drawn, the fourth band area 44 set as the spare area is cleared to 0 in parallel with the drawing in the first band area 41. With the completion of 0 clear, a memory area suitable for PS job drawing is prepared.

図10の中段に示されるように、PCLジョブに続くPSジョブにおいて、先頭のページの先頭のバンドを描画する期間Ta1に、一つ前のジョブ(PCLジョブ)での予備エリアであった第4のバンドエリア44を用いて描画が行なわれる。期間Ta1の開始時点でバンドエリア44は0クリア状態であるので、一つ前のジョブにおける最後の期間Tz3と当該期間Ta1との間に1クリア状態を0クリア状態に変える必要がない。クリア状態を変える処理が省略される分だけ早い時点でPSジョブの最初の描画を開始することができる。   As shown in the middle part of FIG. 10, in the PS job following the PCL job, the fourth area that was the spare area in the previous job (PCL job) in the period Ta1 for drawing the top band of the top page. Drawing is performed using the band area 44. Since the band area 44 is in the 0 clear state at the start of the period Ta1, it is not necessary to change the 1 clear state to the 0 clear state between the last period Tz3 in the previous job and the period Ta1. The first drawing of the PS job can be started as soon as the process of changing the clear state is omitted.

また、期間Ta1では、バンドエリア44への描画と並行して、1クリア状態である第2および第3のバンドエリア42,43に対して0クリアが行なわれる。そして、PSジョブにおける予備エリアとしての第1のバンドエリア41に対して1クリアが行なわれる。ただし、期間Ta1の開始時点でバンドエリア41は1クリア状態であるので、期間Ta1での1クリアを省略してもよい。バンドエリア41が予備エリアに設定されることにより、PCLジョブの描画に適したメモリエリアが準備されたことになる。期間Ta1より以降においては、第2、第3および第4のバンドエリア42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。   In the period Ta1, in parallel with drawing in the band area 44, 0 clear is performed on the second and third band areas 42 and 43 which are in the 1 clear state. Then, 1 clear is performed on the first band area 41 as a spare area in the PS job. However, since the band area 41 is in the 1 clear state at the start of the period Ta1, 1 clear in the period Ta1 may be omitted. By setting the band area 41 as a spare area, a memory area suitable for drawing a PCL job is prepared. After the period Ta1, drawing is performed using the second, third, and fourth band areas 42, 43, and 44 sequentially and repeatedly.

図10の下段に示されるように、PSジョブに続くPCLジョブにおいて、期間Ta1の描画に一つ前のジョブ(PSジョブ)での予備エリアであった第1のバンドエリア41が用いられる。期間Ta1の開始時点でバンドエリア41は1クリア状態であるので、一つ前のジョブにおける最後の期間Tz3と当該期間Ta1との間に0クリア状態を1クリア状態に変える必要がない。クリア状態を変える処理が省略される分だけ早い時点でPCLジョブの最初の描画を開始することができる。   As shown in the lower part of FIG. 10, in the PCL job following the PS job, the first band area 41 that was the spare area in the immediately preceding job (PS job) is used for drawing in the period Ta1. Since the band area 41 is in the 1 clear state at the start of the period Ta1, it is not necessary to change the 0 clear state to the 1 clear state between the last period Tz3 and the period Ta1 in the immediately preceding job. The first drawing of the PCL job can be started as soon as the process of changing the clear state is omitted.

また、期間Ta1では、バンドエリア41への描画と並行して、0クリア状態である第2および第3のバンドエリア42,43に対して1クリアが行なわれる。そして、PCLジョブにおける予備エリアとしての第4のバンドエリア44に対して0クリアが行なわれる。ただし、期間Ta1の開始時点でバンドエリア44は0クリア状態であるので、期間Ta1での0クリアを省略してもよい。バンドエリア44が予備エリアに設定されることにより、PSジョブの描画に適したメモリエリアが準備されたことになる。期間Ta1より以降においては、第1、第2および第3のバンドエリア41,42,43を一つずつ順にかつ繰り返し用いて描画が行なわれる。   In the period Ta1, 1 clear is performed on the second and third band areas 42 and 43 that are in the 0 clear state in parallel with the drawing on the band area 41. Then, 0 clear is performed on the fourth band area 44 as a spare area in the PCL job. However, since the band area 44 is in the 0 clear state at the start of the period Ta1, the 0 clear in the period Ta1 may be omitted. By setting the band area 44 as a spare area, a memory area suitable for drawing a PS job is prepared. After the period Ta1, drawing is performed using the first, second and third band areas 41, 42 and 43 one after another in order.

図11(A)は実行順位の連続する二つのジョブが共にPCLジョブである場合のシーケンスを示している。先に実行されるm番目のPCLジョブの実行中に、図10で説明したとおりのシーケンスによって、予備エリアとして0クリア状態のバンドエリア44が準備される。しかし、m番目の次のn番目のPCLジョブの実行に際して、予備エリアとして準備されているバンドエリア44を用いることなく、既に1クリア状態である三つのバンドエリア41,42,43を一つずつ順にかつ繰り返し用いて描画が行なわれる。予備エリアとして準備されているバンドエリア44は、n番目の次のジョブの準備として、引き続き0クリア状態に保たれる。   FIG. 11A shows a sequence in the case where two jobs having consecutive execution orders are both PCL jobs. During the execution of the m-th PCL job executed first, the band area 44 in the 0 clear state is prepared as a spare area by the sequence described with reference to FIG. However, when the m-th next n-th PCL job is executed, the three band areas 41, 42, and 43 that are already in the 1 clear state are used one by one without using the band area 44 prepared as a spare area. Drawing is performed sequentially and repeatedly. The band area 44 prepared as a spare area is continuously kept in the 0 clear state as preparation for the nth next job.

図11(B)は実行順位の連続する二つのジョブが共にPSジョブである場合のシーケンスを示している。先に実行されるm番目のPSジョブの実行中に、図10で説明したとおりのシーケンスによって、予備エリアとして1クリア状態のバンドエリア41が準備される。しかし、n番目のPCLジョブの実行に際して、予備エリアとして準備されているバンドエリア41を用いることなく、既に0クリア状態である三つのバンドエリア42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。予備エリアとして準備されているバンドエリア41は、n番目の次のジョブの準備として、引き続き1クリア状態に保たれる。   FIG. 11B shows a sequence in the case where two jobs having consecutive execution orders are PS jobs. During the execution of the m-th PS job executed first, the band area 41 in the 1 clear state is prepared as a spare area by the sequence as described with reference to FIG. However, when the n-th PCL job is executed, the three band areas 42, 43, and 44 that are already in the zero clear state are used one by one in order and repeatedly without using the band area 41 prepared as a spare area. Drawing is performed. The band area 41 prepared as a spare area is continuously kept in the 1 clear state as preparation for the nth next job.

〔描画処理動作の第3例〕
図12は描画処理動作の第3例のシーケンスを示している。図7および図10と同様に、上段、中段、および下段に分けてPCLジョブ、PSジョブおよびPCLジョブを続けて実行する場合の描画処理装置100の動作が示されている。
[Third example of drawing processing operation]
FIG. 12 shows a sequence of a third example of the drawing processing operation. Similar to FIGS. 7 and 10, the operation of the drawing processing apparatus 100 when the PCL job, the PS job, and the PCL job are continuously executed in the upper, middle, and lower stages is shown.

図12の上段に示されるように、1番目のPCLジョブにおいて、四つのバンドエリア41,42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。描画が終われば転送が行なわれ、転送が終われば1クリアが行なわれる。ジョブが指定するN個のページについての処理が終わるまで、このシーケンスが繰り返される。例示では最終のページの最終のバンドの描画に第1のバンドエリア41が用いられる。   As shown in the upper part of FIG. 12, in the first PCL job, drawing is performed using the four band areas 41, 42, 43, and 44 one after another in order. When drawing is completed, transfer is performed, and when the transfer is completed, 1 clear is performed. This sequence is repeated until processing for N pages designated by the job is completed. In the example, the first band area 41 is used for drawing the last band of the last page.

第3例では、最終のバンドの描画に用いられるバンドエリア以外のいずれかのバンドエリアが予備エリアに設定される。図示では、最終のバンドの描画に用いられる第1のバンドエリア41の次のバンドエリアである第2のバンドエリア42が予備エリアに設定されている。   In the third example, any band area other than the band area used for drawing the final band is set as the spare area. In the figure, a second band area 42 that is the band area next to the first band area 41 used for drawing the final band is set as a spare area.

予備エリアに設定された第2のバンドエリア42に対して、最終のバンドを描画する期間Tz1に0クリアが実施される。0クリアの完了により、PSジョブの描画に適したメモリエリアが準備されたことになる。期間Tz1で0クリアが実施されるので、当然ながら予備エリアの設定は期間Tz1よりも以前の時点で行なわれる。   For the second band area 42 set as the spare area, 0 clear is performed in the period Tz1 for drawing the final band. With the completion of 0 clear, a memory area suitable for PS job drawing is prepared. Since 0 clear is performed in the period Tz1, the spare area is naturally set at a time before the period Tz1.

図12の中段に示されるように、PCLジョブに続くPSジョブにおいて、期間Ta1に行なわれる先頭のページの先頭のバンドの描画に、一つ前のジョブ(PCLジョブ)で予備エリアに設定された第2のバンドエリア42が用いられる。期間Ta1の開始時点でバンドエリア42は0クリア状態であるので、一つ前のジョブにおける最後の期間Tz3と当該期間Ta1との間に1クリア状態を0クリア状態に変える必要がない。クリア状態を変える処理が省略される分だけ早い時点でPSジョブの最初の描画を開始することができる。   As shown in the middle of FIG. 12, in the PS job following the PCL job, the spare area is set in the previous job (PCL job) for drawing the first band of the first page performed in the period Ta1. A second band area 42 is used. Since the band area 42 is in the 0 clear state at the start of the period Ta1, there is no need to change the 1 clear state to the 0 clear state between the last period Tz3 in the previous job and the period Ta1. The first drawing of the PS job can be started as soon as the process of changing the clear state is omitted.

また、期間Ta1では、バンドエリア42への描画と並行して、1クリア状態である第1、第3および第4のバンドエリア41,43,44に対して0クリアが行なわれる。期間Ta1より以降においては、四つのバンドエリア41,42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。描画が終われば転送が行なわれ、転送が終われば1クリアが行なわれる。ジョブが指定するN個のページについての処理が終わるまで、このシーケンスが繰り返される。図示において、最終のバンドの描画に第2のバンドエリア42が用いられている。   In the period Ta1, the first, third and fourth band areas 41, 43, and 44 that are in the one clear state are cleared to 0 in parallel with the drawing in the band area. After the period Ta1, drawing is performed using the four band areas 41, 42, 43, and 44 one after another in order. When drawing is completed, transfer is performed, and when the transfer is completed, 1 clear is performed. This sequence is repeated until processing for N pages designated by the job is completed. In the figure, the second band area 42 is used for drawing the final band.

最終のバンドが描画される期間Tz1において、第3のバンドエリア43に対して1クリアが実施される。第3のバンドエリア43は、最終のバンドが描画される第2のバンドエリア42の次のバンドエリアであって、期間Tz1の以前に予備エリアに設定されたバンドエリアである。1クリアの完了により、PCLジョブの描画に適したメモリエリアが準備されたことになる。   In the period Tz <b> 1 in which the final band is drawn, 1 clear is performed on the third band area 43. The third band area 43 is a band area next to the second band area 42 in which the final band is drawn, and is a band area set as a spare area before the period Tz1. When one clear is completed, a memory area suitable for drawing a PCL job is prepared.

図12の下段に示されるように、PSジョブに続くPCLジョブにおいて、期間Ta1に行なわれる先頭のページの先頭のバンドの描画に、一つ前のジョブ(PSジョブ)で予備エリアに設定された第3のバンドエリア43が用いられる。期間Ta1の開始時点でバンドエリア43は1クリア状態であるので、一つ前のジョブにおける最後の期間Tz3と当該期間Ta1との間に0クリア状態を1クリア状態に変える必要がない。クリア状態を変える処理が省略される分だけ早い時点でPSジョブの最初の描画を開始することができる。   As shown in the lower part of FIG. 12, in the PCL job following the PS job, the drawing of the first band of the first page performed in the period Ta1 was set as the spare area in the previous job (PS job). A third band area 43 is used. Since the band area 43 is in the 1 clear state at the start of the period Ta1, there is no need to change the 0 clear state to the 1 clear state between the last period Tz3 in the previous job and the period Ta1. The first drawing of the PS job can be started as soon as the process of changing the clear state is omitted.

また、期間Ta1では、バンドエリア43への描画と並行して、0クリア状態である第1、第2および第4のバンドエリア41,42,44に対して1クリアが実施される。期間Ta1より以降においては、四つのバンドエリア41,42,43,44を一つずつ順にかつ繰り返し用いて描画が行なわれる。描画が終われば転送が行なわれ、転送が終われば1クリアが行なわれる。ジョブが指定するN個のページについての処理が終わるまで、このシーケンスが繰り返される。例示では、最終のバンドの描画に第3のバンドエリア43が用いられており、これの次の予備エリアに設定されたバンドエリア44に対して期間Tz1に0クリアが実施される。   In the period Ta1, 1 clear is performed on the first, second, and fourth band areas 41, 42, and 44 that are in the 0 clear state in parallel with drawing in the band area 43. After the period Ta1, drawing is performed using the four band areas 41, 42, 43, and 44 one after another in order. When drawing is completed, transfer is performed, and when the transfer is completed, 1 clear is performed. This sequence is repeated until processing for N pages designated by the job is completed. In the example, the third band area 43 is used for drawing the final band, and 0 clear is performed in the period Tz1 for the band area 44 set as the next spare area.

図13(A)は実行順位の連続する二つのジョブが共にPCLジョブである場合のシーケンスを示している。先に実行されるm番目のPCLジョブの実行中に、図12で説明したとおりのシーケンスによって、予備エリアとして0クリア状態のバンドエリア42が準備される。しかし、m番目の次のn番目のPCLジョブの実行に際して、予備エリアとして準備されているバンドエリア42ではなく、1クリア状態である三つのバンドエリア41,43,44のいずれかが先頭のバンドの描画に用いられる。図示では、第1のバンドエリア41が期間Ta1における先頭のバンドの描画に用いられている。   FIG. 13A shows a sequence in the case where two jobs having consecutive execution orders are both PCL jobs. During the execution of the m-th PCL job executed first, the band area 42 in the 0 clear state is prepared as a spare area by the sequence described with reference to FIG. However, when the m-th next n-th PCL job is executed, any one of the three band areas 41, 43, and 44 in the clear state is not the band area 42 prepared as a spare area. Used for drawing. In the figure, the first band area 41 is used for drawing the leading band in the period Ta1.

期間Ta1における先頭のバンドの描画と並行して、一つ前のジョブで予備エリアとされた第2のバンドエリア42に対して1クリアが実施される。これによって予備エリアの設定が解除されたことになる。   In parallel with the drawing of the first band in the period Ta1, 1 clear is performed on the second band area 42 which is set as a spare area in the previous job. As a result, the spare area setting is cancelled.

図13(B)は実行順位の連続する二つのジョブが共にPSジョブである場合のシーケンスを示している。先に実行されるm番目のPSジョブの実行中に、図12で説明したとおりのシーケンスによって、予備エリアとして1クリア状態のバンドエリア43が準備される。しかし、m番目の次のn番目のPSジョブの実行に際して、予備エリアとして準備されているバンドエリア43ではなく、0クリア状態である三つのバンドエリア41,42,44のいずれかが先頭のバンドの描画に用いられる。図示では、第2のバンドエリア42が期間Ta1における先頭のバンドの描画に用いられている。   FIG. 13B shows a sequence in the case where two jobs having consecutive execution orders are PS jobs. During the execution of the m-th PS job executed first, the band area 43 in the 1-clear state is prepared as a spare area by the sequence described with reference to FIG. However, when the m-th next n-th PS job is executed, one of the three band areas 41, 42, and 44 in the 0 clear state is not the first band, but the band area 43 prepared as a spare area. Used for drawing. In the figure, the second band area 42 is used for drawing the leading band in the period Ta1.

期間Ta1における先頭のバンドの描画と並行して、一つ前のジョブで予備エリアとされた第3のバンドエリア43に対して0クリアが実施される。これによって予備エリアの設定が解除されたことになる。   In parallel with the drawing of the first band in the period Ta1, the zero clear is performed on the third band area 43, which was set as the spare area in the previous job. As a result, the spare area setting is cancelled.

〔描画処理動作の第4例〕
第4例では、第3例と同様に、各ジョブにおいて最後の描画に用いるバンドエリア以外の一つが予備エリアとされる。第3例と比較したときの第4例の特徴は、実行待ちのジョブを示すスプール情報に基づいて、準備をする必要がある場合に限って所定クリア状態の予備エリアを準備することである。準備をする必要がある場合とは、実行中のジョブの種類と次に実行するジョブの種類とが異なる場合である。具体的には、PCLジョブの次にPSジョブを実行する場合およびPSジョブの次にPCLジョブを実行する場合である。
[Fourth example of drawing processing operation]
In the fourth example, as in the third example, one area other than the band area used for the last drawing in each job is set as a spare area. The feature of the fourth example when compared with the third example is that a spare area in a predetermined clear state is prepared only when it is necessary to prepare based on spool information indicating a job waiting for execution. The case where preparation is necessary is a case where the type of job being executed is different from the type of job to be executed next. Specifically, this is a case where a PS job is executed after a PCL job and a case where a PCL job is executed after a PS job.

図14(A)および(B)はPCLジョブに適用されるシーケンスを示している。   FIGS. 14A and 14B show sequences applied to the PCL job.

実行中のPCLジョブにおける最終(k番目)より一つ前の(k−1)番目のバンドを描画する期間Tyまたはそれ以前において、設定部402がジョブ管理部101からのスプール情報に基づいて、予備エリアの設定の要否を判定する。   Based on the spool information from the job management unit 101, the setting unit 402 during or before the period Ty for drawing the (k-1) th band immediately before the last (kth) in the PCL job being executed, It is determined whether or not a spare area needs to be set.

図14(A)に示される場合では、PCLジョブの次のジョブがPSジョブであるので、予備エリアを設定する必要がある。設定部402は、図12の例と同様に例えばバンドエリア42を予備エリアに設定し、予備エリアに対する0クリアを圧縮制御部105に要求する。最終のバンドを描画する期間Tz1において、予備エリアに対する0クリアが実施される。   In the case shown in FIG. 14A, since the job next to the PCL job is a PS job, it is necessary to set a spare area. As in the example of FIG. 12, the setting unit 402 sets the band area 42 as a spare area, for example, and requests the compression control unit 105 to clear 0 for the spare area. In the period Tz1 in which the final band is drawn, 0 clear is performed on the spare area.

これに対して、図14(B)に示される場合では、PCLジョブの次のジョブが同種のPCLジョブであるので、予備エリアを設定する必要がない。設定部402は、予備エリアに設定せず、予備エリアに対する0クリアの要求も行なわない。したがって、期間Tz1において、予備エリアに対しては実質的に何の処理も行なわれない。   On the other hand, in the case shown in FIG. 14B, since the next job of the PCL job is the same type of PCL job, there is no need to set a spare area. The setting unit 402 does not set the spare area and does not request 0 clear for the spare area. Therefore, substantially no processing is performed on the spare area in the period Tz1.

図15(A)および(B)はPSジョブに適用されるシーケンスを示している。   FIGS. 15A and 15B show sequences applied to the PS job.

実行中のPSジョブにおける最終(k番目)より一つ前の(k−1)番目のバンドを描画する期間Tyまたはそれ以前において、設定部402がジョブ管理部101からのスプール情報に基づいて、予備エリアの設定の要否を判定する。   Based on the spool information from the job management unit 101, the setting unit 402 during or before the period Ty for drawing the (k-1) th band immediately before the last (kth) in the PS job being executed, It is determined whether or not a spare area needs to be set.

図15(A)に示される場合では、PSジョブの次のジョブがPCLジョブであるので、予備エリアを設定する必要がある。設定部402は、例えばバンドエリア42を予備エリアに設定し、予備エリアに対する1クリアを圧縮制御部105に要求する。最終のバンドを描画する期間Tz1において、予備エリアに対する1クリアが実施される。   In the case shown in FIG. 15A, since the job next to the PS job is a PCL job, it is necessary to set a spare area. For example, the setting unit 402 sets the band area 42 as a spare area, and requests the compression control unit 105 to clear 1 for the spare area. In the period Tz1 in which the final band is drawn, 1 clear for the spare area is performed.

これに対して、図15(B)に示される場合では、PSジョブの次のジョブが同種のPSジョブであるので、予備エリアを設定する必要がない。設定部402は、予備エリアに設定せず、予備エリアに対する1クリアの要求も行なわない。したがって、期間Tz1において、予備エリアに対しては実質的に何の処理も行なわれない。   On the other hand, in the case shown in FIG. 15B, since the job following the PS job is the same type of PS job, there is no need to set a spare area. The setting unit 402 does not set the spare area and does not request 1 clear for the spare area. Therefore, substantially no processing is performed on the spare area in the period Tz1.

以上の実施形態において、予備エリア45または予備エリアとして用いるバンドエリア41,42,43,44を設定して所定のクリア処理を実施しておく準備動作を完了すべき時期は、実行すべきジョブが決まってから次のジョブの実行を開始するまでの期間内であればよい。   In the embodiment described above, the job to be executed is set at the time when the preparatory operation for setting the spare area 45 or the band areas 41, 42, 43, and 44 used as the spare area and executing the predetermined clear process is to be completed. It may be within a period from when it is determined until execution of the next job starts.

画像形成装置1に限らず、パーソナルコンピューターや他の情報機器において、予備エリアを準備する本発明の描画処理方法を実施してもよい。0クリアおよび1クリアを選択的に行なう必要があれば、表示のためのラスター画像の描画に本発明を適用することができる。   The drawing processing method of the present invention for preparing a spare area may be implemented not only in the image forming apparatus 1 but also in a personal computer or other information equipment. If it is necessary to selectively perform 0 clear and 1 clear, the present invention can be applied to rendering a raster image for display.

1 画像形成装置
100 描画処理装置
30 ワークメモリ
D 画像
41,42,43,44 バンドエリア(メモリエリア)
401 描画部(描画手段)
501 読出し部(読出し手段)
502 通常クリア処理部(第1のクリア処理手段)
503 予備クリア処理部(第2のクリア処理手段)
Tz1 期間
Ta1 期間
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 100 Drawing processing apparatus 30 Work memory D Image 41, 42, 43, 44 Band area (memory area)
401 Drawing unit (drawing means)
501 Reading unit (reading means)
502 Normal clear processing unit (first clear processing means)
503 Preliminary clear processing unit (second clear processing means)
Tz1 period Ta1 period

Claims (10)

メモリ上で画像を描画する描画処理装置であって、
画像出力を指示するジョブによって指定される、描画に用いるメモリエリアのビット値を0および1のいずれのクリア値に一様化する必要があるかによって区別される二つの種類のラスター画像のいずれかである描画すべき画像を、複数のメモリエリアを一つずつ順に用いて一部分ずつ描画する描画手段と、
前記描画手段による描画に用いられたメモリエリアから当該メモリエリアに描画された部分画像を読み出す読出し手段と、
前記読出し手段による読み出しが行なわれた前記メモリエリアに対して、前記二つの種類のうちの前記描画すべき画像の種類に応じたクリア値にビット値を一様化するクリア処理を行なう第1のクリア手段と、
当該描画処理装置に前記ジョブが与えられてから前記描画すべき画像の描画に最後に用いられるメモリエリアからの前記読出し手段による読出しが終了するまでの期間内に、前記描画すべき画像とは種類が異なりかつ当該ジョブよりも後の他のジョブによって指定され得る画像を描画するためのメモリエリアである予備エリアとして、前記複数のメモリエリア以外のメモリエリアを設定する設定手段と、
前記描画すべき画像の描画に最後に用いられるメモリエリアに対する前記第1のクリア手段によるクリア処理が終了する以前に、前記設定手段によって設定された前記予備エリアに対して、前記二つの種類のうちの前記描画すべき画像の種類ではない他方の種類に応じたクリア値にビット値を一様化するクリア処理を行なう第2のクリア手段と、を備える
ことを特徴とする描画処理装置。
A drawing processing device for drawing an image on a memory,
One of two types of raster images specified by a job instructing image output, which is distinguished depending on whether the bit value of the memory area used for drawing should be equalized to 0 or 1 clear value A drawing means for drawing a portion of the image to be drawn, using a plurality of memory areas one by one in order,
Reading means for reading out a partial image drawn in the memory area from the memory area used for drawing by the drawing means;
A first clear process is performed on the memory area that has been read by the reading means to make the bit value uniform to a clear value corresponding to the type of the image to be drawn out of the two types. Clearing means,
The image to be drawn is a type within a period from when the job is given to the drawing processing apparatus to when reading by the reading unit from the memory area used for drawing of the image to be drawn last is completed. a setting unit as a reserve area, set the memory area other than the plurality of memory areas is a memory area for drawing an image that can be specified by but other jobs later than Li Kui the job different,
Before the clear process by the first clearing unit for the memory area used for the final drawing of the image to be drawn is completed, the spare area set by the setting unit is out of the two types. drawing processing apparatus, characterized in that the and a second clear means will row the clear processing for uniforming the bit value clear value corresponding to the other type is not a type of image to be the drawing.
前記ジョブをm番目ジョブとしたときの次のジョブであるn番目ジョブによって指定される描画すべき画像の種類が、前記m番目ジョブに対応する前記描画すべき画像の種類と異なる場合において、
前記描画手段は、前記n番目ジョブによって指定される前記描画すべき画像であるn番目画像の先頭部分の描画に際して、それ以前に前記設定手段によって設定された前記予備エリアを用い、当該n番目画像の残りの部分の描画に前記複数のメモリエリアを順に用い、
前記第1のクリア手段は、前記複数のメモリエリアのそれぞれに対して、当該各メモリエリアが前記n番目画像の描画に用いられる以前に、前記n番目画像の種類に応じたクリア処理を行い、
前記読出し手段は、前記複数のメモリエリアの一つを用いて行なわれる前記n番目画像の前記残りの部分の最初の描画と並行して、前記予備エリアに描画された前記先頭部分を読み出し、
前記設定手段は、前記予備エリアからの読出しが終了したときに当該予備エリアを解放し、その後に前記n番目画像の最後の描画が開始されてから当該n番目画像の最後の読出しが終了するまでの期間内に、新たに予備エリアを設定し、
前記第2のクリア手段は、新たに設定された前記予備エリアに対して、前記二つの種類のうちの前記n番目画像の種類ではない他方の種類に応じたクリア処理を行なう
請求項1記載の描画処理装置。
When the type of image to be drawn specified by the nth job, which is the next job when the job is the mth job, is different from the type of image to be drawn corresponding to the mth job,
The drawing means uses the spare area previously set by the setting means when drawing the head portion of the nth image that is the image to be drawn specified by the nth job, and uses the spare area Sequentially use the plurality of memory areas for drawing the remaining portion of
The first clear unit performs a clear process on each of the plurality of memory areas according to the type of the nth image before each memory area is used for rendering the nth image.
The reading means reads the head portion drawn in the spare area in parallel with the first drawing of the remaining portion of the n-th image performed using one of the plurality of memory areas,
The setting unit releases the spare area when the reading from the spare area is completed, and thereafter starts the last drawing of the nth image and ends the last reading of the nth image. Within the period of, set up a new spare area,
The said 2nd clear means performs the clear process according to the other kind which is not the kind of the said nth image of the said two types with respect to the newly set spare area. Drawing processing device.
前記設定手段は、前記描画すべき画像の最初の描画を開始する以前に、前記複数のメモリエリアよりも多いM個のメモリエリアのうちのいずれか一つを前記予備エリアに設定し、かつ前記ジョブをm番目ジョブとしたときの次のジョブであるn番目ジョブによって指定される描画すべき画像の種類が、前記m番目ジョブに対応する前記描画すべき画像の種類と異なる場合において、前記n番目ジョブによって描画が指示された前記画像であるn番目画像の最初の描画を開始する以前に、前記m番目ジョブによって指定される描画すべき画像の最初の描画を開始する以前に設定した前記予備エリアに代えて、前記のM個のメモリエリアのうちの当該予備エリア以外の一つを新たな予備エリアに設定し、
前記描画手段は、前記m番目ジョブによって指示された描画および前記n番目ジョブによって指示された描画に際して、前記M個のメモリエリアのうちの前記予備エリアに設定されている一つを除いた残りのメモリエリアを前記複数のメモリエリアとして用いる
請求項1記載の描画処理装置。
The setting means sets any one of M memory areas larger than the plurality of memory areas as the spare area before starting the first drawing of the image to be drawn, and When the type of the image to be drawn specified by the nth job, which is the next job when the job is the mth job, is different from the type of the image to be drawn corresponding to the mth job, the n The preliminary set before starting the first drawing of the image to be drawn specified by the m-th job before starting the first drawing of the n-th image that is the image instructed to be drawn by the th-th job. instead of the area, sets the one other than the spare area of said M memory areas of the new reserve area,
The drawing means, when drawing indicated by the m-th job and drawing indicated by the n-th job, except for one remaining in the spare area among the M memory areas. The drawing processing apparatus according to claim 1, wherein a memory area is used as the plurality of memory areas.
前記設定手段は、実行待ちのジョブがスプールされており、かつ次に実行すべきジョブによって指定される描画すべき画像の種類が実行中の前記ジョブによって指定される前記描画すべき画像の種類と異なる場合にのみ前記予備エリアを設定する
請求項1または2記載の描画処理装置。
The setting means includes: a job waiting for execution spooled; a type of an image to be drawn designated by a job to be executed next; a type of the image to be drawn designated by the job being executed; drawing processing apparatus according to claim 1 or 2, wherein setting the reserve area only if they differ.
請求項1ないしのいずれかに記載の描画処理装置を備え、
前記画像出力ジョブとして、ページ記述言語によって前記描画すべき画像を指定するプリントジョブが与えられ、
前記描画処理装置によって描画された画像に対応する印刷画像を形成する
ことを特徴とする画像形成装置。
A drawing processing apparatus according to any one of claims 1 to 4 ,
As the image output job, a print job specifying the image to be drawn by a page description language is given,
An image forming apparatus, wherein a print image corresponding to an image drawn by the drawing processing device is formed.
メモリ上で画像を描画する描画処理方法であって、
画像出力を指示するジョブによって指定される描画すべき画像を前記メモリ内の複数のメモリエリアを一つずつ順に用いて一部分ずつ描画しながら、描画された部分画像の読出しおよび読出しを終えたメモリエリアのビット値の一様化をする一連の処理を繰り返し、それによって前記画像の全体を出力し終えるまでに、以後に他のジョブによって指定され得る他の画像を描画するためのメモリエリアである予備エリアとして、前記複数のメモリエリア以外のメモリエリアを設定するとともに、前記予備エリアに対して前記読出しを終えたメモリエリアのビット値の一様化とは異なる値にビット値を一様化する処理を行なう
ことを特徴とする描画処理方法。
A drawing processing method for drawing an image on a memory,
A memory area that has finished reading and reading the drawn partial image while drawing the image to be drawn specified by the job instructing image output one by one using the plurality of memory areas in the memory one by one This is a spare area that is a memory area for drawing another image that can be designated by another job after the series of processes for equalizing the bit values of the image is repeated, thereby completing the output of the entire image. A process of setting a memory area other than the plurality of memory areas as an area and making the bit value uniform to a value different from the uniformization of the bit value of the memory area that has been read out with respect to the spare area The drawing processing method characterized by performing.
前記ジョブをm番目ジョブとしたときの次のジョブであるn番目ジョブによって指定される描画すべき画像の種類が、前記m番目ジョブに対応する前記描画すべき画像の種類と異なる場合において、
前記n番目ジョブによって指定される前記描画すべき画像であるn番目画像の先頭部分の描画に際して、それ以前に前記設定手段によって設定した前記予備エリアを用い、当該n番目画像の残りの部分の描画に前記複数のメモリエリアを順に用い、
前記複数のメモリエリアのそれぞれに対して、当該各メモリエリアが前記n番目画像の描画に用いられる以前に、前記n番目画像の種類に応じたクリア処理を行い、
前記複数のメモリエリアの一つを用いて行なわれる前記n番目画像の前記残りの部分の最初の描画と並行して、前記予備エリアに描画された前記先頭部分を読み出し、
前記予備エリアからの読出しが終了したときに当該予備エリアを解放し、その後に前記n番目画像の最後の描画を開始してから当該n番目画像の最後の読出しが終了するまでの期間内に、新たに予備エリアを設定し、
新たに設定した前記予備エリアに対して、前記二つの種類のうちの前記n番目画像の種類ではない他方の種類に応じたクリア処理を行なう
請求項6記載の描画処理方法。
When the type of image to be drawn specified by the nth job, which is the next job when the job is the mth job, is different from the type of image to be drawn corresponding to the mth job,
When drawing the head portion of the nth image, which is the image to be drawn, designated by the nth job, drawing the remaining portion of the nth image using the spare area previously set by the setting means Sequentially using the plurality of memory areas,
For each of the plurality of memory areas, before each memory area is used for drawing the n-th image, a clear process according to the type of the n-th image is performed,
In parallel with the first drawing of the remaining portion of the nth image performed using one of the plurality of memory areas, the head portion drawn in the spare area is read out,
When the reading from the spare area is completed, the spare area is released, and then the last drawing of the nth image is started until the last reading of the nth image is finished. Set a new spare area,
The drawing processing method according to claim 6, wherein clear processing is performed on the newly set spare area according to the other type that is not the type of the n-th image among the two types.
前記描画すべき画像の最初の描画を開始する以前に、前記複数のメモリエリアよりも多いM個のメモリエリアのうちのいずれか一つを前記予備エリアに設定し、かつ前記ジョブをm番目ジョブとしたときの次のジョブであるn番目ジョブによって指定される描画すべき画像の種類が、前記m番目ジョブに対応する前記描画すべき画像の種類と異なる場合において、前記n番目ジョブによって描画が指示された前記画像であるn番目画像の最初の描画を開始する以前に、前記描画すべき画像の最初の描画を開始する以前に設定した前記予備エリアに代えて、前記のM個のメモリエリアのうちの当該予備エリア以外の一つを新たな予備エリアに設定し、
前記m番目ジョブによって指示された描画および前記n番目ジョブによって指示された描画に際して、前記M個のメモリエリアのうちの前記予備エリアに設定した一つを除いた残りのメモリエリアを前記複数のメモリエリアとして用いる
請求項6記載の描画処理方法。
Before starting the first drawing of the image to be drawn, any one of M memory areas larger than the plurality of memory areas is set as the spare area, and the job is set as the mth job. When the type of the image to be drawn specified by the nth job, which is the next job, is different from the type of the image to be drawn corresponding to the mth job, the drawing by the nth job is performed. Before starting the first drawing of the nth image that is the designated image, the M memory areas are replaced with the spare area set before starting the first drawing of the image to be drawn. One of the spare areas is set as a new spare area,
In the drawing instructed by the mth job and the drawing instructed by the nth job, the remaining memory areas excluding one set as the spare area among the M memory areas are used as the plurality of memories. The drawing processing method according to claim 6, wherein the drawing processing method is used as an area.
実行待ちのジョブがスプールされており、かつ次に実行すべきジョブによって指定される描画すべき画像の種類が実行中の前記ジョブによって指定される前記描画すべき画像の種類と異なる場合にのみ前記予備エリアを設定する
請求項6または7記載の描画処理方法。
Only when the job waiting for execution is spooled and the type of image to be drawn specified by the job to be executed next is different from the type of image to be drawn specified by the job being executed The drawing processing method according to claim 6 or 7, wherein a spare area is set.
請求項6ないし9のいずれかに記載の描画処理方法を描画処理装置に実現させるコンピュータープログラム。   A computer program for causing a drawing processing apparatus to implement the drawing processing method according to claim 6.
JP2012219064A 2012-10-01 2012-10-01 Drawing processing apparatus, image forming apparatus, computer program, and drawing processing method Active JP6040690B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012219064A JP6040690B2 (en) 2012-10-01 2012-10-01 Drawing processing apparatus, image forming apparatus, computer program, and drawing processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012219064A JP6040690B2 (en) 2012-10-01 2012-10-01 Drawing processing apparatus, image forming apparatus, computer program, and drawing processing method

Publications (2)

Publication Number Publication Date
JP2014069526A JP2014069526A (en) 2014-04-21
JP6040690B2 true JP6040690B2 (en) 2016-12-07

Family

ID=50745188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012219064A Active JP6040690B2 (en) 2012-10-01 2012-10-01 Drawing processing apparatus, image forming apparatus, computer program, and drawing processing method

Country Status (1)

Country Link
JP (1) JP6040690B2 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04193561A (en) * 1990-11-27 1992-07-13 Nec Niigata Ltd Page printer
JP3655457B2 (en) * 1998-01-20 2005-06-02 株式会社リコー Printer control device
JP3660154B2 (en) * 1999-04-01 2005-06-15 セイコーエプソン株式会社 Image processing device for printing
JP2003266810A (en) * 2002-03-15 2003-09-25 Hitachi Printing Solutions Ltd Printer and printing system
JP2004086751A (en) * 2002-08-28 2004-03-18 Fuji Xerox Co Ltd Memory management device and memory management method
JP2008186110A (en) * 2007-01-29 2008-08-14 Fuji Xerox Co Ltd Image processor
JP5239356B2 (en) * 2008-01-25 2013-07-17 株式会社リコー Image forming apparatus having blank paper discharge suppression function, blank paper discharge suppression method, blank paper discharge suppression program
JP2009220457A (en) * 2008-03-17 2009-10-01 Ricoh Co Ltd Image forming device, image forming method and program for making computer execute the method
JP5594470B2 (en) * 2010-09-10 2014-09-24 富士ゼロックス株式会社 Printing control apparatus, printing system, and program

Also Published As

Publication number Publication date
JP2014069526A (en) 2014-04-21

Similar Documents

Publication Publication Date Title
JP4543340B2 (en) Image processing apparatus, image forming system, and program
US8928912B2 (en) Printing control device, image forming system and computer readable medium storing program
JP4458176B2 (en) Printing control apparatus, printing apparatus, and program
US8842325B2 (en) Image processing apparatus, control method thereof, and storage medium
JP2014000753A (en) Image processing apparatus, image processing method, and program
JP2011224798A (en) Image processing apparatus, image processing method, and program
US9785871B2 (en) Print control device and non-transitory computer readable medium
JP2007030252A (en) Image forming system, interruption processing method and printing apparatus
JP2017024321A (en) Image processor, image formation device, and image processing time prediction method and program
JP6040690B2 (en) Drawing processing apparatus, image forming apparatus, computer program, and drawing processing method
JP6904717B2 (en) Image processing equipment, its control method, and programs
JP2012060401A (en) Image formation apparatus and drawing control method
US8427660B2 (en) Image processing apparatus, image forming apparatus, and computer readable medium storing program
JP2010056769A (en) Device and method for processing image
JP5895428B2 (en) Printing apparatus and control method thereof
JP5202265B2 (en) Image processing apparatus, program, and control method for image processing apparatus
JP5447219B2 (en) Print data generation apparatus, print data generation method, and print data generation program
JP6809158B2 (en) Image processing equipment and programs
JP6794765B2 (en) Image processing accelerator and image forming device
US9454719B2 (en) Print control apparatus, print control method, and non-transitory computer readable medium
JP2016055536A (en) Image formation device, program, and control method for image formation device
EP2816795B1 (en) Image forming apparatus having function of combining stamp image with original image
JP5841902B2 (en) Image forming apparatus
JP2011155502A (en) Printing system performing color/monochrome determination, printing method, program
JP4835735B2 (en) Image processing apparatus and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160309

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160509

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20160509

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161011

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161024

R150 Certificate of patent or registration of utility model

Ref document number: 6040690

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150