[go: up one dir, main page]

JP2008030400A - Image memory storage control method and image forming apparatus - Google Patents

Image memory storage control method and image forming apparatus Download PDF

Info

Publication number
JP2008030400A
JP2008030400A JP2006208509A JP2006208509A JP2008030400A JP 2008030400 A JP2008030400 A JP 2008030400A JP 2006208509 A JP2006208509 A JP 2006208509A JP 2006208509 A JP2006208509 A JP 2006208509A JP 2008030400 A JP2008030400 A JP 2008030400A
Authority
JP
Japan
Prior art keywords
image data
page
band
memory
forming apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006208509A
Other languages
Japanese (ja)
Inventor
Ken Sato
研 佐藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006208509A priority Critical patent/JP2008030400A/en
Publication of JP2008030400A publication Critical patent/JP2008030400A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Storing Facsimile Image Data (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

【課題】バンドのオープン、クローズの要求にはアプリケーションからの要求通りに従うが、バンドの分割数や圧縮タイミングを画像形成装置側で判断させることにより、描画・圧縮の高速化を図ることを可能とする。
【解決手段】外部のPC等から入力される画像データは、ページ記述言語により構成されており、画像形成装置内部で描画用のビットマップデータに変換された後、バンド描画用メモリ空間201に書き込まれる。このバンド描画用メモリ空間201に書き込まれたビットマップデータは、データ圧縮器202によりそのデータが圧縮されて圧縮符号とされ、圧縮符号保管用メモリ空間203に一旦保持された後、あるいは、直接ハードディスク等の記憶装置10に格納される。記憶装置10に格納された印刷用の圧縮符号は、その後、任意のときに、ユーザからの指示により、印刷される。
【選択図】図2
[PROBLEMS] To request the opening and closing of a band as requested by an application, but by allowing the image forming apparatus to determine the number of band divisions and the compression timing, it is possible to speed up drawing and compression. To do.
Image data input from an external PC or the like is composed of a page description language, converted into drawing bitmap data inside the image forming apparatus, and then written in a band drawing memory space. It is. The bitmap data written in the band drawing memory space 201 is compressed by the data compressor 202 to be compressed code, and is temporarily stored in the compressed code storage memory space 203 or directly on the hard disk. Is stored in the storage device 10. The compressed code for printing stored in the storage device 10 is then printed at an arbitrary time according to an instruction from the user.
[Selection] Figure 2

Description

本発明は、画像メモリの記憶制御方法及び画像形成装置に係り、特に、画像メモリに描画を行うときのバンドのサイズがアプリケーションにより自由に設定可能であり、メモリ上の画像データを圧縮して保持する画像メモリの記憶制御方法及び画像形成装置に関する。   The present invention relates to an image memory storage control method and an image forming apparatus, and in particular, a band size when drawing in an image memory can be freely set by an application, and image data on the memory is compressed and held. The present invention relates to an image memory storage control method and an image forming apparatus.

一般に、印刷機能を有する画像形成装置は、その内部でページ記述言語から実際の画像データへの変換を行っている。この画像データは、メモリを効率的に使用するために1ページをいくつかの短冊状領域(バンド)に区切って処理されるのが一般的である。   In general, an image forming apparatus having a printing function internally converts a page description language into actual image data. This image data is generally processed by dividing one page into several strip-like areas (bands) in order to use the memory efficiently.

プリンタアプリケーションが画像データ(バンド)を描画する場合、画像形成装置内部のソフトウェアは、アプリケーションからのバンドのオープン要求を受けてバンドメモリの確保を行い、バンドのクローズ要求を受けてバンドデータの圧縮を行っている。   When the printer application draws image data (band), the software in the image forming apparatus receives the band open request from the application, secures the band memory, and receives the band close request to compress the band data. Is going.

なお、バンド単位でのメモリ確保のタイミングでメモリの状況を見て、HDD等に画像データを退避することにより、メモリフルを生じさせないようにする技術が、例えば、特許文献1等に記載されて知られており、また、ホスト上のフレームバッファへの描画完了までの待ち時間を少なくすることを可能とした技術が、例えば、特許文献2等に記載されて知られている。
特開2006−44157号公報 特開平10−320152号公報
For example, Patent Document 1 discloses a technique for preventing memory fullness by checking the memory status at the timing of memory allocation in band units and saving image data to an HDD or the like. A known technique that can reduce the waiting time until the drawing to the frame buffer on the host is completed is described in, for example, Patent Document 2 and the like.
JP 2006-44157 A JP-A-10-320152

前述したアプリケーションからのバンドのオープン要求を受けてバンドメモリの確保を行い、バンドのクローズ要求を受けてバンドデータの圧縮を行う従来技術は、ソフトウェアが、アプリケーションからの要求通りに処理動作を行うため、印刷機能を有する画像形成装置側の都合が充分に考慮されておらず、処理速度やメモリの使用効率を低下させることになるという問題点を有している。   The conventional technology that secures band memory in response to a band open request from the above-described application and compresses band data in response to a band close request causes the software to perform processing operations as requested by the application. However, the convenience of the image forming apparatus having the printing function is not sufficiently taken into consideration, and there is a problem that the processing speed and the memory use efficiency are lowered.

本発明の目的は、前述した従来技術の問題点を解決し、バンドのオープン、クローズの要求にはアプリケーションからの要求通りに従うが、バンドの分割数や圧縮タイミングを画像形成装置側で判断させることにより、描画・圧縮の高速化を図ることを可能とした画像メモリの記憶制御方法及び画像形成装置を提供することにある。   The object of the present invention is to solve the above-mentioned problems of the prior art, and to request the opening and closing of the band as requested by the application, but to allow the image forming apparatus to determine the number of divisions of the band and the compression timing. Accordingly, it is an object of the present invention to provide an image memory storage control method and an image forming apparatus capable of speeding up drawing and compression.

前記目的を達成するための本発明の第1の手段は、外部装置から入力される画像データを印刷する画像形成装置における画像データの記憶制御方法において、入力される1ページの画像データをバンドに分割してメモリ上に描画し、描画されたバンドデータを圧縮して保持することを特徴とする。   According to a first aspect of the present invention for achieving the above object, in the image data storage control method in an image forming apparatus for printing image data input from an external device, the input image data of one page is in a band. The divided band data is drawn on the memory, and the drawn band data is compressed and held.

また、本発明の第2の手段は、第1の手段において、画像を描画するプリンタアプリケーションが決定した1ページの画像データの分割数と、該プリンタアプリケーションが決定した1ページの画像データを、機器側で分割し直した分割数とのどちらかを選択してメモリ上に描画することを特徴とする。   According to a second means of the present invention, in the first means, the number of divisions of one page of image data determined by the printer application for rendering an image and the one page of image data determined by the printer application are stored in the device. One of the division numbers re-divided on the side is selected and drawn on the memory.

また、本発明の第3の手段は、第1の手段において、画像データの圧縮を開始するタイミングをバンド描画完了毎に行うか、バンド描画完了タイミングに依存せず、機器側でのメモリ使用効率から判断した結果に従うかを選択することを特徴とする。   According to a third means of the present invention, in the first means, the timing for starting the compression of the image data is performed every time the band drawing is completed, or the memory usage efficiency on the device side is independent of the band drawing completion timing. It is characterized by selecting whether to follow the result judged from.

また、本発明の第4の手段は、第2の手段において、1ページ分の画像データがメモリに格納可能と判断された場合、プリンタアプリケーションからの描画をバンド単位で行う場合も、機器側で描画用メモリを連続的に確保することを特徴とする。   Further, according to the fourth means of the present invention, when it is determined in the second means that image data for one page can be stored in the memory, even when drawing from the printer application is performed in band units, A drawing memory is continuously secured.

また、本発明の第5の手段は、第4の手段において、バンド単位での描画であっても、確保した1ページ分の連続領域に1ページ分の画像が描画されるように描画メモリを配置することを特徴とする。   Further, the fifth means of the present invention is the fourth means in which a drawing memory is arranged so that an image for one page is drawn in a secured continuous area for one page even when drawing in a band unit. It is characterized by arranging.

また、本発明の第6の手段は、第5の手段において、1ページ分の描画画像データを機器側で効率のよい単位で分割し直すことを特徴とする。   The sixth means of the present invention is characterized in that, in the fifth means, the drawing image data for one page is re-divided into efficient units on the device side.

また、本発明の第7の手段は、第6の手段において、1ページ分の描画画像データを分割し直した後、バンド単位でシーケンシャルに圧縮処理をすることを特徴とする。   The seventh means of the present invention is characterized in that, in the sixth means, the drawing image data for one page is re-divided, and then compression processing is sequentially performed in band units.

また、本発明の第8の手段は、外部装置から入力される画像データを印刷する画像形成装置において、入力される1ページの画像データをバンドに分割してメモリ上に描画する手段と、描画されたバンドデータを圧縮する手段と、圧縮されたバンドデータを保持する手段とを備えることを特徴とする。   According to an eighth aspect of the present invention, there is provided an image forming apparatus that prints image data input from an external apparatus. Means for compressing the compressed band data, and means for holding the compressed band data.

また、本発明の第9の手段は、第8の手段において、画像を描画するプリンタアプリケーションが決定した1ページの画像データの分割数と、該プリンタアプリケーションが決定した1ページの画像データを、機器側で分割し直した分割数とのどちらかを選択する手段をさにな備えることを特徴とする。   According to a ninth means of the present invention, in the eighth means, the number of divisions of one page of image data determined by the printer application for drawing an image and the one page of image data determined by the printer application are A means for selecting either the number of divisions re-divided on the side is provided.

また、本発明の第10の手段は、第8の手段において、画像データの圧縮を開始するタイミングをバンド描画完了毎に行うか、バンド描画完了タイミングに依存せず、機器側でのメモリ使用効率から判断した結果に従うかを選択する手段をさらに備えることを特徴とする。   According to a tenth means of the present invention, in the eighth means, the timing of starting the compression of the image data is performed every time the band drawing is completed, or the memory use efficiency on the device side is not dependent on the band drawing completion timing. The apparatus further comprises means for selecting whether to follow the result determined from the above.

また、本発明の第11の手段は、第9の手段において、1ページ分の画像データがメモリに格納可能と判断された場合、プリンタアプリケーションからの描画をバンド単位で行う場合も、機器側で描画用メモリを連続的に確保することを特徴とする。   Further, according to the eleventh means of the present invention, when it is determined in the ninth means that image data for one page can be stored in the memory, even when drawing from a printer application is performed in band units, A drawing memory is continuously secured.

また、本発明の第12の手段は、第11の手段において、バンド単位での描画であっても、確保した1ページ分の連続領域に1ページ分の画像が描画されるように描画メモリを配置することを特徴とする。   In addition, the twelfth means of the present invention provides the drawing memory in the eleventh means, so that even if drawing is performed in band units, an image for one page is drawn in a continuous area for one page secured. It is characterized by arranging.

また、本発明の第13の手段は、第12の手段において、1ページ分の描画画像データを機器側で効率のよい単位で分割し直すことを特徴とする。   The thirteenth means of the present invention is characterized in that, in the twelfth means, the drawing image data for one page is re-divided into efficient units on the device side.

また、本発明の第14の手段は、第13の手段において、1ページ分の描画画像データを分割し直した後、バンド単位でシーケンシャルに圧縮処理をすることを特徴とする。   The fourteenth means of the present invention is characterized in that, in the thirteenth means, the drawing image data for one page is re-divided, and then compression processing is sequentially performed in band units.

本発明によれば、入力される印刷すべき1ページの画像データをバンドに分割してメモリ上に描画し、描画されたバンドデータをバンド単位で圧縮することとしているため、メモリサイズの節約ができる。   According to the present invention, since the input image data of one page to be printed is divided into bands and drawn on the memory, and the drawn band data is compressed in units of bands, the memory size can be saved. it can.

以下、本発明による画像メモリの記憶制御方法及び画像形成装置の実施形態を図面により詳細に説明する。   Embodiments of an image memory storage control method and an image forming apparatus according to the present invention will be described below in detail with reference to the drawings.

図1は本発明の一実施形態による印刷装置を含む画像形成装置のハードウェア構成を示すブロック図である。図1に示すように、画像形成装置は、CPU1、ROM2、RAM3、NV−RAM4、パネル制御部5、操作パネル6、エンジン制御部7、スキャン/プリントエンジン8、ディスクドライバ9、記憶装置10、モデム11、外部I/F12及び通信制御部13を含み、これらの各部がデータバス14を介して接続されて構成されている。なお、CPU1の制御下にROM2ないし通信制御部13の各部が位置する。   FIG. 1 is a block diagram showing a hardware configuration of an image forming apparatus including a printing apparatus according to an embodiment of the present invention. As shown in FIG. 1, the image forming apparatus includes a CPU 1, a ROM 2, a RAM 3, an NV-RAM 4, a panel control unit 5, an operation panel 6, an engine control unit 7, a scan / print engine 8, a disk driver 9, a storage device 10, A modem 11, an external I / F 12, and a communication control unit 13 are included, and these components are connected via a data bus 14. In addition, each part of ROM2 thru | or the communication control part 13 is located under control of CPU1.

前述において、ROM2は、プログラムコード、フォント及びその他の静的なデータを格納している。RAM3は、CPU1のワークメモリとして機能すると共に、一時的な記憶場所として使用される。NV−RAM4には、不揮発性を必要とするデータが格納される。パネル制御部5と操作パネル6とは、ユーザとのインタフェースを司る。エンジン制御部7とスキャン/プリントエンジン8とは、イメージデータの入出力ユニットとして紙原稿の読み取りと転写紙への印刷とを実行する。ディスクドライバ9とハードディスク等の記憶装置10とは、大量のイメージデータ等を蓄積したり、データベースを記憶する。通信制御部13は、イーサネット(登録商標)等のネットワークと接続され、外部機器との通信を可能とするものである。モデム11は、公衆回線と接続され、外部機器との通信のために使用される。外部I/F12は、セントロニクスやRS232等のインタフェースを用いて通信を行うために使用され、データバス14は、前述した各種デバイス相互間及びCPU1と各デバイス間の通信に使用される。   As described above, the ROM 2 stores program codes, fonts, and other static data. The RAM 3 functions as a work memory for the CPU 1 and is used as a temporary storage location. The NV-RAM 4 stores data that requires non-volatility. The panel control unit 5 and the operation panel 6 manage the user interface. The engine control unit 7 and the scan / print engine 8 execute reading of a paper document and printing on a transfer paper as image data input / output units. The disk driver 9 and the storage device 10 such as a hard disk accumulate a large amount of image data and store a database. The communication control unit 13 is connected to a network such as Ethernet (registered trademark), and enables communication with an external device. The modem 11 is connected to a public line and is used for communication with an external device. The external I / F 12 is used for communication using an interface such as Centronics or RS232, and the data bus 14 is used for communication between the various devices described above and between the CPU 1 and each device.

前述した画像形成装置の構成において、印刷装置は、エンジン制御部7とスキャン/プリントエンジン8とにより構成され、また、画像メモリとしてはRAM3が利用される。そして、本発明の実施形態での画像メモリの制御は、画像形成装置の外部に通信制御部13を介して接続されるPC等のホストとうと呼ばれる機器から入力される印刷データに対する画像メモリの制御であり、ROM2内に格納されているプリントアプリケーションがCPU1によって実行されることにより実現される制御である。   In the configuration of the image forming apparatus described above, the printing apparatus includes the engine control unit 7 and the scan / print engine 8, and the RAM 3 is used as the image memory. The control of the image memory in the embodiment of the present invention is control of the image memory for print data input from a device called a host such as a PC connected to the outside of the image forming apparatus via the communication control unit 13. The control is realized by the CPU 1 executing a print application stored in the ROM 2.

図2は図1に示す画像形成装置に外部のPC等から印刷等のために画像データ書き込みが行われたときのデータの流れの概要を説明する図である。   FIG. 2 is a diagram for explaining an outline of a data flow when image data is written to the image forming apparatus shown in FIG. 1 for printing or the like from an external PC or the like.

図2において、外部のPC等から入力される画像データは、ページ記述言語により構成されており、画像形成装置内部で描画用のビットマップデータに変換された後、分割されたバンド毎にRAM3内に確保されたバンド描画用メモリ空間201に書き込まれる。このバンド描画用メモリ空間201に書き込まれたビットマップデータは、ROM2内のプログラムがCPU1により実行されて構築されるデータ圧縮器202によりそのデータが圧縮されて圧縮符号とされ、RAM3内に確保された圧縮符号保管用メモリ空間203に一旦保持された後、ハードディスク等の記憶装置10に格納される。データ圧縮器202により圧縮されて得られた圧縮符号は、図2に点線で示すように、圧縮符号保管用メモリ空間203に一旦保持されることなく、直接ハードディスク等の記憶装置10に格納されてもよい。記憶装置10に格納された印刷用の圧縮符号は、その後、任意のときに、ユーザからの指示により、スキャン/プリントエンジン8に与えられて印刷させることができる。   In FIG. 2, image data input from an external PC or the like is composed of a page description language, converted into drawing bitmap data inside the image forming apparatus, and then stored in the RAM 3 for each divided band. Are written in the band drawing memory space 201 secured in The bitmap data written in the band drawing memory space 201 is compressed into a compressed code by the data compressor 202 constructed by executing the program in the ROM 2 by the CPU 1 and secured in the RAM 3. The data is once held in the compressed code storage memory space 203 and then stored in the storage device 10 such as a hard disk. The compression code obtained by the compression by the data compressor 202 is directly stored in the storage device 10 such as a hard disk without being temporarily held in the compression code storage memory space 203 as shown by a dotted line in FIG. Also good. The compression code for printing stored in the storage device 10 can then be given to the scan / print engine 8 to be printed at any time by an instruction from the user.

図3は図1に示す画像形成装置に外部のPC等から印刷等のために画像データ書き込みが行われたときの画像形成装置が持つプリンタアプリケーションとメモリ管理モジュールとの間での処理を説明するシーケンスチャートである。なお、メモリ管理モジュールは、プリンタアプリケーションと同様にROM2内にプログラムとして格納されている。   FIG. 3 illustrates processing between the printer application of the image forming apparatus and the memory management module when image data is written to the image forming apparatus shown in FIG. 1 for printing or the like from an external PC or the like. It is a sequence chart. The memory management module is stored as a program in the ROM 2 as in the printer application.

(1)外部から入力された画像データがビットマップデータに展開されて画像データの書き込みが要求されると、プリンタアプリケーション301は、メモリ管理モジュール302に描画メモリの確保を要求する(ステップ303)。 (1) When image data input from outside is expanded into bitmap data and writing of image data is requested, the printer application 301 requests the memory management module 302 to secure a drawing memory (step 303).

(2)描画メモリの確保要求を受け取ったメモリ管理モジュール302は、RAM3内にバンド描画用メモリ空間を確保し、バンドメモリ空間を確保したことをプリンタアプリケーション301に応答する(ステップ304、305)。 (2) The memory management module 302 that has received the drawing memory securing request secures a band drawing memory space in the RAM 3 and responds to the printer application 301 that the band memory space has been secured (steps 304 and 305).

(3)プリンタアプリケーション301は、メモリ管理モジュール302からバンドメモリ空間の確保の応答を受けると、確保された描画メモリに画像データの書き込みを行い、全ての画像データの書き込みが終了すれば、書き込み完了をメモリ管理モジュール302に通知する(ステップ306、307)。 (3) Upon receiving a response for securing the band memory space from the memory management module 302, the printer application 301 writes image data to the secured drawing memory, and when all the image data has been written, the writing is completed. Is notified to the memory management module 302 (steps 306 and 307).

(4)書き込み完了の通知を受けたメモリ管理モジュール302は、その後、データ圧縮器202を使用してデータの圧縮を行い、その圧縮符号化されたデータを圧縮符号保管用メモリ空間203に一旦保持し、あるいは、直接ハードディスク等の記憶装置10に格納して、プリンタアプリケーション301に書き込み完了の応答を行う(ステップ308、309)。 (4) The memory management module 302 that has received the notification of the completion of writing then compresses the data using the data compressor 202 and temporarily holds the compressed and encoded data in the compressed code storage memory space 203. Alternatively, the data is directly stored in the storage device 10 such as a hard disk, and a write completion response is sent to the printer application 301 (steps 308 and 309).

図4は図3により説明したシーケンスにおけるメモリ管理モジュール302でのバンドオープンの処理動作を説明するフローチャートであり、次にこれについて説明する。   FIG. 4 is a flowchart for explaining the band open processing operation in the memory management module 302 in the sequence explained with reference to FIG.

(1)メモリ管理モジュール301は、プリンタアプリケーション301からの描画メモリの確保、すなわち、バンドオープンの要求を受信すると、画像メモリの領域として、すでに1ページ分のメモリ領域がRAM3内に確保されているか否かを判定し、1ページ分のメモリ領域が確保されていた場合、バンドの順序が合うように、画像メモリの使用エリアを決定する(ステップ401、402)。 (1) When the memory management module 301 receives a drawing memory reservation from the printer application 301, that is, when a band open request is received, whether a memory area for one page has already been reserved in the RAM 3 as an image memory area. If the memory area for one page is secured, the use area of the image memory is determined so that the band order matches (steps 401 and 402).

(2)ステップ401の判定で、1ページ分のメモリ領域がRAM3内に確保されていなかった場合、RAM3内に1ページ分の連続した空き領域があるか否かを判定し、1ページ分の連続した空き領域がなかった場合、従来技術の場合と同様に、1バンド分の連続したメモリ領域をRAM3内に確保する(ステップ403、404)。 (2) If the memory area for one page is not secured in the RAM 3 in the determination in step 401, it is determined whether or not there is a continuous free area for one page in the RAM 3. If there is no continuous free area, a continuous memory area for one band is secured in the RAM 3 as in the prior art (steps 403 and 404).

(3)ステップ403の判定で、メモリ内に1ページ分の連続した空き領域があった場合、1ページ分の連続したメモリ領域を確保する(ステップ405)。 (3) If it is determined in step 403 that there is a continuous free area for one page in the memory, a continuous memory area for one page is secured (step 405).

(4)ステップ402の処理で決定したメモリエリア、あるいは、ステップ404、405の処理で確保したメモリ領域をプリンタアプリケーション301に提供して、バンドオープンの処理を終了する(ステップ406)。 (4) The memory area determined by the process of step 402 or the memory area secured by the processes of steps 404 and 405 is provided to the printer application 301, and the band open process is terminated (step 406).

前述したバンドオープンの処理によれば、1ページ分の全データを格納することが可能な連続するメモリ領域があるか否かを判定し、ある場合、バンド分ではなく、1ページ分のメモリ領域を確保してしまうので、同じページの次のバンドオープンからは、バンド分のメモリを確保しないで、すでに確保してある1ページ分のそのバンドに相当する領域をアプリに提供することができ、全てのバンドが描画完了したときに、1ページが分断されることなく連続エリアに描画されることになる。   According to the band open process described above, it is determined whether or not there is a continuous memory area capable of storing all data for one page, and if there is, the memory area for one page instead of the band. Therefore, from the next band opening of the same page, the area corresponding to the band for one page that has already been secured can be provided to the application without securing the memory for the band, When all the bands have been drawn, one page is drawn in a continuous area without being divided.

図5はプリンタアプリケーション301からのバンド描画完了の要求であるバンドクローズの要求を受けたときのメモリ管理モジュール302での処理動作を説明するフローチャートであり、次に、これについて説明する。   FIG. 5 is a flowchart for explaining the processing operation in the memory management module 302 when a band close request, which is a request for band drawing completion from the printer application 301, is received.

(1)プリンタアプリケーション301からのバンドクローズ要求を受信すると、メモリ管理モジュール302は、画像メモリの領域として、1ページ分のメモリ領域が確保されていた状態か否かを判定し、1ページ分のメモリ領域が確保されていた場合、全てのバンドが描画されるまでは何もせずに、ここでの処理を終了する(ステップ501)。 (1) Upon receiving a band close request from the printer application 301, the memory management module 302 determines whether or not a memory area for one page has been secured as an area of the image memory, and determines for one page. If the memory area is secured, nothing is done until all the bands are drawn, and the processing here is terminated (step 501).

(2)ステップ301の判定で、1ページ分のメモリ領域が確保されていなかった場合、クローズが要求されたバンドの領域内のデータを圧縮し、その圧縮符号化されたデータを圧縮符号保管用メモリ空間203に一旦保持し、あるいは、直接ハードディスク等の記憶装置10に格納してここでの処理を終了する(ステップ502)。 (2) If it is determined in step 301 that the memory area for one page has not been secured, the data in the area of the band requested to be closed is compressed, and the compressed and encoded data is used for storing the compressed code. The data is temporarily held in the memory space 203 or directly stored in the storage device 10 such as a hard disk, and the processing here is terminated (step 502).

図6はプリンタアプリケーションからの全てのバンド描画完了の要求であるページクローズの要求を受けたときのメモリ管理モジュール302での処理動作を説明するフローチャートであり、次に、これについて説明する。   FIG. 6 is a flowchart for explaining the processing operation in the memory management module 302 when a page close request, which is a request for completion of all band drawing from the printer application, is received.

(1)プリンタアプリケーション301からのページクローズ要求を受信するとメモリ管理モジュール302は、画像メモリの領域として、1ページ分のメモリ領域が確保されていた状態か否かを判定し、1ページ分のメモリ領域が確保されていなかった場合、バンドのデータがバンド毎に圧縮されているので、何の処理も行わずに、ここでの処理を終了する(ステップ601)。 (1) Upon receiving a page close request from the printer application 301, the memory management module 302 determines whether or not a memory area for one page has been secured as an area of the image memory, and the memory for one page. If the area is not secured, the band data is compressed for each band, so the processing here ends without performing any processing (step 601).

(2)ステップ601の判定で、1ページ分のメモリ領域が確保されていた場合、1ページ分のデータ(画像)を、印刷装置を備える画像形成装置側の都合に合わせて、例えば、印刷装置のメモリに効率がよいサイズに分割し直して、先頭のバンドのデータから順次圧縮処理を行い、その圧縮符号化されたデータを圧縮符号保管用メモリ空間203に一旦保持し、あるいは、直接ハードディスク等の記憶装置10に格納してここでの処理を終了する(ステップ602、603)。 (2) When the memory area for one page is secured in the determination in step 601, the data (image) for one page is adjusted to the convenience of the image forming apparatus provided with the printing apparatus, for example, the printing apparatus The memory is re-divided into an efficient size, and the compression processing is sequentially performed from the data of the first band, and the compression-coded data is temporarily held in the compression code storage memory space 203, or directly to a hard disk or the like Are stored in the storage device 10 and the process is terminated (steps 602 and 603).

前述した本発明の実施形態での各処理は、プログラムにより構成し、本発明の設計装置が備えるCPUに実行させることができ、また、それらのプログラムは、FD、CDROM、DVD等の記録媒体に格納して提供することができ、また、ネットワークを介してディジタル情報により提供することができる。   Each process in the above-described embodiment of the present invention is configured by a program and can be executed by a CPU included in the design apparatus of the present invention. These programs are stored in a recording medium such as an FD, a CDROM, and a DVD. It can be stored and provided, or can be provided by digital information via a network.

前述した本発明の実施形態によれば、1ページの画像をバンドに分割してメモリ上に描画し、描画されたバンドデータを圧縮する際、描画をページではなくバンド単位に分割し、バンド単位で圧縮しているので、メモリサイズの節約を図ることができる。   According to the above-described embodiment of the present invention, when an image of one page is divided into bands and drawn on a memory, and the drawn band data is compressed, the drawing is divided into bands instead of pages. Since the compression is performed in the memory, the memory size can be saved.

また、本発明の実施形態は、1ページの画像分割数を描画するアプリケーションが決定した分割数と、機器側で分割し直した分割数とのどちらかを選択するようにすることができ、これにより、アプリケーション側の都合と機器側の都合との両方のバンド分割数をサポートすることができ、大容量メモリ搭載の装置ではより高速かつ高効率な圧縮を行うことができ生産性の向上を図ることができる。また、メモリの搭載容量が少ない装置では少ないメモリ領域を効率よく使うことができ、大きなサイズの画像でも少ないメモリで描画完了することができる。   In addition, the embodiment of the present invention can select either the division number determined by the application for drawing the image division number of one page or the division number re-divided on the device side. Therefore, it is possible to support both the application-side convenience and the device-side convenience of band division, and devices with large-capacity memory can perform faster and more efficient compression, thereby improving productivity. be able to. In addition, a device with a small memory capacity can efficiently use a small memory area, and even a large image can be drawn with a small amount of memory.

また、本発明の実施形態は、画像データの圧縮開始のタイミングを、バンド描画完了毎に行うか、バンド描画完了タイミングに依存せず、機器側でのメモリ使用効率から判断した結果に従うかを選択するようにすることができ、これにより、アプリケーション側の都合と機器側の都合との両方の圧縮タイミングをサポートすることができ、大容量メモリ搭載の装置ではより高速かつ高効率な圧縮を行うことができ生産性の向上を図ることがができる。   Also, the embodiment of the present invention selects whether to start the compression of image data every time band drawing is completed, or whether to follow the result determined from the efficiency of memory usage on the device side without depending on the band drawing completion timing. As a result, it is possible to support both the application-side and device-side compression timing, and a device with a large-capacity memory can perform faster and more efficient compression. And productivity can be improved.

また、本発明の実施形態は、1ページ分の画像データがメモリに格納可能と判断された場合、プリンタアプリケーションからの描画をバンド単位で行う場合も、機器側で描画用メモリを連続的に確保するようにすることができ、これにより、アプリケーション側の都合でバンド分割をサポートすることができるので、アプリケーションに対して変更を要求することなく、機器側だけで高速・高効率な記憶制御を実現することができる。   In the embodiment of the present invention, when it is determined that the image data for one page can be stored in the memory, even when drawing from the printer application is performed in units of bands, the drawing memory is continuously secured on the device side. As a result, it is possible to support band division for the convenience of the application side, so high-speed and highly efficient storage control is realized only on the device side without requiring changes to the application. can do.

また、本発明の実施形態は、バンド毎の描画であっても、確保した1ページ分の連続領域に1ページの画像が描画されるように描画メモリを配置するようにすることができ、これにより、アプリケーション側の都合によるバンド分割での描画を行うことができ、アプリケーションに対して変更を要求することなく、機器側だけで高速・高効率な記憶制御を実現することができる。   In the embodiment of the present invention, even in the case of drawing for each band, the drawing memory can be arranged so that the image of one page is drawn in the secured continuous area for one page. Thus, it is possible to perform drawing by band division for the convenience of the application side, and it is possible to realize high-speed and high-efficiency storage control only on the device side without requiring a change to the application.

また、本発明の実施形態は、1ページ分の描画画像データを機器側で効率のよい単位で分割し直すようにすることができ、これにより、機器の都合に合わせたバンド分割を行うことができるので、メモリの使用効率を上げることができる。   In addition, according to the embodiment of the present invention, drawing image data for one page can be re-divided in an efficient unit on the device side, thereby performing band division according to the convenience of the device. As a result, the memory usage efficiency can be increased.

さらに、本発明の実施形態によれば、分割し直した後、バンド単位でシーケンシャルに圧縮処理をすることができるので、順次圧縮を行うことにより、メモリの分断化を防ぎメモリの使用効率を上げることができる。   Furthermore, according to the embodiment of the present invention, after the re-division, the compression processing can be performed sequentially in units of bands, so that the sequential use of the compression prevents memory fragmentation and increases the use efficiency of the memory. be able to.

本発明の一実施形態による印刷装置を含む画像形成装置のハードウェア構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of an image forming apparatus including a printing apparatus according to an embodiment of the present invention. 図1に示す画像形成装置に外部のPC等から印刷等のために画像データ書き込みが行われたときのデータの流れの概要を説明する図である。FIG. 2 is a diagram illustrating an outline of a data flow when image data is written for printing or the like from an external PC or the like to the image forming apparatus illustrated in FIG. 1. 図1に示す画像形成装置に外部のPC等から印刷等のために画像データ書き込みが行われたときの画像形成装置が持つプリンタアプリケーションとメモリ管理モジュールとの間での処理を説明するシーケンスチャートである。3 is a sequence chart for explaining processing between a printer application and a memory management module of the image forming apparatus when image data is written to the image forming apparatus shown in FIG. 1 for printing or the like from an external PC or the like. is there. 図3により説明したシーケンスにおけるメモリ管理モジュールでのバンドオープンの処理動作を説明するフローチャートである。FIG. 4 is a flowchart illustrating a band open processing operation in the memory management module in the sequence described with reference to FIG. 3. FIG. プリンタアプリケーションからのバンド描画完了の要求であるバンドクローズの要求を受けたときのメモリ管理モジュールでの処理動作を説明するフローチャートである。6 is a flowchart for explaining a processing operation in a memory management module when a band close request, which is a request for band drawing completion from a printer application, is received. プリンタアプリケーションからの全てのバンド描画完了の要求であるページクローズの要求を受けたときのメモリ管理モジュールでの処理動作を説明するフローチャートである。10 is a flowchart for explaining a processing operation in the memory management module when receiving a page close request that is a request for completion of all band drawing from the printer application.

符号の説明Explanation of symbols

1 CPU
2 ROM
3 RAM
4 NV−RAM
5 パネル制御部
6 操作パネル
7 エンジン制御部
8 スキャン/プリントエンジン
9 ディスクドライバ
10 記憶装置
11 モデム
12 外部I/F
13 通信制御部
14 データバス
1 CPU
2 ROM
3 RAM
4 NV-RAM
5 Panel Control Unit 6 Operation Panel 7 Engine Control Unit 8 Scan / Print Engine 9 Disk Driver 10 Storage Device 11 Modem 12 External I / F
13 Communication control unit 14 Data bus

Claims (14)

外部装置から入力される画像データを印刷する画像形成装置における画像データの記憶制御方法において、入力される1ページの画像データをバンドに分割してメモリ上に描画し、描画されたバンドデータを圧縮して保持することを特徴とする画像データの記憶制御方法。   In an image data storage control method in an image forming apparatus that prints image data input from an external device, the input image data of one page is divided into bands and drawn on a memory, and the drawn band data is compressed. And storing the image data. 請求項1記載の画像データの記憶制御方法において、画像を描画するプリンタアプリケーションが決定した1ページの画像データの分割数と、該プリンタアプリケーションが決定した1ページの画像データを、機器側で分割し直した分割数とのどちらかを選択してメモリ上に描画することを特徴とする画像データの記憶制御方法。   2. The image data storage control method according to claim 1, wherein the number of divisions of one page of image data determined by a printer application for drawing an image and the image data of one page determined by the printer application are divided on the device side. A storage control method for image data, wherein either one of the corrected division numbers is selected and drawn on a memory. 請求項1記載の画像データの記憶制御方法において、画像データの圧縮を開始するタイミングをバンド描画完了毎に行うか、バンド描画完了タイミングに依存せず、機器側でのメモリ使用効率から判断した結果に従うかを選択することを特徴とする画像データの記憶制御方法。   2. The image data storage control method according to claim 1, wherein the timing for starting the compression of the image data is performed every time the band drawing is completed, or the result determined from the memory use efficiency on the device side without depending on the band drawing completion timing. A method for storing and storing image data, characterized by selecting whether to comply with the above. 請求項2記載の画像データの記憶制御方法において、1ページ分の画像データがメモリに格納可能と判断された場合、プリンタアプリケーションからの描画をバンド単位で行う場合も、機器側で描画用メモリを連続的に確保することを特徴とする画像データの記憶制御方法。   3. The image data storage control method according to claim 2, wherein when it is determined that one page of image data can be stored in the memory, the drawing memory is stored on the device side even when drawing from the printer application is performed in band units. A storage control method for image data, which is ensured continuously. 請求項4記載の画像データの記憶制御方法において、バンド単位での描画であっても、確保した1ページ分の連続領域に1ページ分の画像が描画されるように描画メモリを配置することを特徴とする画像データの記憶制御方法。   5. The image data storage control method according to claim 4, wherein the drawing memory is arranged so that an image for one page is drawn in a secured continuous area for one page even when drawing in a band unit. A storage control method for image data as a feature. 請求項5記載の画像データの記憶制御方法において、1ページ分の描画画像データを機器側で効率のよい単位で分割し直すことを特徴とする画像データの記憶制御方法。   6. The image data storage control method according to claim 5, wherein the drawing image data for one page is re-divided into efficient units on the device side. 請求項6記載の画像データの記憶制御方法において、1ページ分の描画画像データを分割し直した後、バンド単位でシーケンシャルに圧縮処理をすることを特徴とする画像データの記憶制御方法。   The image data storage control method according to claim 6, wherein after the drawing image data for one page is re-divided, the image data is subjected to sequential compression processing in units of bands. 外部装置から入力される画像データを印刷する画像形成装置において、入力される1ページの画像データをバンドに分割してメモリ上に描画する手段と、描画されたバンドデータを圧縮する手段と、圧縮されたバンドデータを保持する手段とを備えることを特徴とする画像形成装置。   In an image forming apparatus that prints image data input from an external device, means for dividing input image data of one page into bands and drawing it on a memory, means for compressing the drawn band data, and compression An image forming apparatus comprising: means for holding the band data. 請求項8記載の画像形成装置において、画像を描画するプリンタアプリケーションが決定した1ページの画像データの分割数と、該プリンタアプリケーションが決定した1ページの画像データを、機器側で分割し直した分割数とのどちらかを選択する手段をさにな備えることを特徴とする画像形成装置。   9. The image forming apparatus according to claim 8, wherein the number of divisions of one page of image data determined by a printer application for drawing an image and the division obtained by dividing again the image data of one page determined by the printer application on the device side. An image forming apparatus comprising: means for selecting one of numbers. 請求項8記載の画像形成装置において、画像データの圧縮を開始するタイミングをバンド描画完了毎に行うか、バンド描画完了タイミングに依存せず、機器側でのメモリ使用効率から判断した結果に従うかを選択する手段をさらに備えることを特徴とする画像形成装置。   9. The image forming apparatus according to claim 8, wherein the timing for starting the compression of the image data is performed every time the band drawing is completed, or whether to follow the result determined from the memory usage efficiency on the device side without depending on the band drawing completion timing. An image forming apparatus, further comprising means for selecting. 請求項9記載の画像形成装置において、1ページ分の画像データがメモリに格納可能と判断された場合、プリンタアプリケーションからの描画をバンド単位で行う場合も、機器側で描画用メモリを連続的に確保することを特徴とする画像形成装置。   10. The image forming apparatus according to claim 9, wherein when it is determined that image data for one page can be stored in the memory, the drawing memory is continuously provided on the device side even when drawing from the printer application is performed in band units. An image forming apparatus characterized by being secured. 請求項11記載の画像形成装置において、バンド単位での描画であっても、確保した1ページ分の連続領域に1ページ分の画像が描画されるように描画メモリを配置することを特徴とする画像形成装置。   12. The image forming apparatus according to claim 11, wherein the drawing memory is arranged so that an image for one page is drawn in a secured continuous area for one page even when drawing in a band unit. Image forming apparatus. 請求項12記載の画像形成装置において、1ページ分の描画画像データを機器側で効率のよい単位で分割し直すことを特徴とする画像形成装置。   13. The image forming apparatus according to claim 12, wherein the drawing image data for one page is re-divided into efficient units on the device side. 請求項13記載の画像データの記憶制御方法において、1ページ分の描画画像データを分割し直した後、バンド単位でシーケンシャルに圧縮処理をすることを特徴とする画像形成装置。   14. An image forming apparatus according to claim 13, wherein after one page of drawing image data is divided again, compression processing is sequentially performed in band units.
JP2006208509A 2006-07-31 2006-07-31 Image memory storage control method and image forming apparatus Pending JP2008030400A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006208509A JP2008030400A (en) 2006-07-31 2006-07-31 Image memory storage control method and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006208509A JP2008030400A (en) 2006-07-31 2006-07-31 Image memory storage control method and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2008030400A true JP2008030400A (en) 2008-02-14

Family

ID=39120303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006208509A Pending JP2008030400A (en) 2006-07-31 2006-07-31 Image memory storage control method and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2008030400A (en)

Similar Documents

Publication Publication Date Title
JPH10124268A (en) Printing control device
JP2012148429A (en) Print data processing apparatus, cache processing method, and program
US8526049B2 (en) Systems and methods for display list management
US20120320423A1 (en) Printing apparatus provided with plural processing systems for generating print data, printing method and recording medium
US20020054342A1 (en) Image processing apparatus and method, and storage medium
JP5244770B2 (en) Image forming apparatus
JP2008030400A (en) Image memory storage control method and image forming apparatus
JP3230815B2 (en) Printer
US20110205591A1 (en) Image processing device and image processing method
JP4100912B2 (en) Information processing apparatus, control method therefor, program, and storage medium
US8756491B2 (en) PDL data processing device
US20110032558A1 (en) Pdl data processing device
JP2007223163A (en) Image forming apparatus and image display method
JPWO1991016685A1 (en) printer
JP4065194B2 (en) Image forming apparatus
JPH1132207A (en) Image processing apparatus and method, and memory medium
JP4259328B2 (en) Image processing apparatus, printer, and method for reading stored data
JP3174730B2 (en) PRINTING APPARATUS, PRINT CONTROL METHOD, AND STORAGE MEDIUM
JP2003072161A (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, STORAGE MEDIUM, AND PROGRAM
JP2008071054A (en) Data transfer control method, data processing apparatus, and image processing apparatus
JP6330397B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program
JP2007030353A (en) Image forming apparatus
JP5105011B1 (en) Print control apparatus, image forming system, and program
JP2000276317A (en) Banding method
JP3847995B2 (en) Data processing apparatus and data processing method of data processing apparatus