JP2013043294A - Printing apparatus, printing method, computer program, and recording medium - Google Patents

Printing apparatus, printing method, computer program, and recording medium Download PDF

Info

Publication number
JP2013043294A
JP2013043294A JP2011180502A JP2011180502A JP2013043294A JP 2013043294 A JP2013043294 A JP 2013043294A JP 2011180502 A JP2011180502 A JP 2011180502A JP 2011180502 A JP2011180502 A JP 2011180502A JP 2013043294 A JP2013043294 A JP 2013043294A
Authority
JP
Japan
Prior art keywords
setting
memory
rip
processing
rip processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011180502A
Other languages
Japanese (ja)
Inventor
Yosuke Kametani
洋亮 亀谷
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2011180502A priority Critical patent/JP2013043294A/en
Publication of JP2013043294A publication Critical patent/JP2013043294A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To effectively cope with memory shortage caused during RIP processing.SOLUTION: A memory capacity detecting part 18a of a printing apparatus 10 which carries out printing processing by dividing printing data of one page to a plurality of bands and performing RIP processing of the printing data for each band detects capacity shortage of a memory 16 secured for RIP processing. When the capacity shortage of the memory 16 is detected, a setting changing part 18b changes a first setting for RIP processing to a second setting in which RIP processing is performed with a smaller use amount of the memory than when RIP processing is performed on the basis of the first setting, and a video control part 17 performs RIP processing on the basis of the second setting.

Description

本発明は、印刷装置、印刷方法、その印刷方法をコンピュータに実行させることを特徴とするコンピュータプログラム、および、そのコンピュータプログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体に関する。   The present invention relates to a printing apparatus, a printing method, a computer program that causes a computer to execute the printing method, and a computer-readable recording medium that records the computer program.

従来、プリンタによりなされるRIP(Raster Image Processing)処理では、印刷データをプリンタ内部で処理可能な中間言語に一旦変換し、中間言語からビットマップイメージ(ラスターイメージ)の生成を行っている。1ページ分の印刷データのRIP処理は、複数に分割されたバンド単位で行われる。   Conventionally, in RIP (Raster Image Processing) processing performed by a printer, print data is once converted into an intermediate language that can be processed inside the printer, and a bitmap image (raster image) is generated from the intermediate language. RIP processing of print data for one page is performed in units of bands divided into a plurality.

ここで、バンドの分割数を少なくすると、一度に処理しなければならない中間言語やビットマップイメージのデータ量が増えるため、多くのメモリ容量が必要となる。一方、バンドの分割数を多くすると、一度に処理しなければならない中間言語やビットマップイメージのデータ量が減るため、必要なメモリ容量が減る。   Here, if the number of band divisions is reduced, the amount of intermediate language or bitmap image data that must be processed at one time increases, and a large memory capacity is required. On the other hand, if the number of divisions of the band is increased, the amount of data of intermediate language and bitmap image that must be processed at one time is reduced, so that the required memory capacity is reduced.

しかし、バンドの分割数を多くすると、複数のバンドに跨って存在するオブジェクトの数が多くなる。この場合、バンドの境界部分の処理を行うための中間言語をバンド毎に生成し、処理する必要が生じるため、印刷パフォーマンスが低下する。   However, when the number of divisions of the band is increased, the number of objects existing across a plurality of bands increases. In this case, an intermediate language for processing the band boundary portion needs to be generated and processed for each band, so that the printing performance is deteriorated.

このようなことから、プリンタに割り当てられたシステムメモリの使用量と、印刷パフォーマンスのバランスを考慮して、バンドの分割数が調整されるが、多数のオブジェクトを含む印刷データでは、中間言語のデータ量が多くなるため、メモリ不足が発生し、RIP処理が継続できない場合がある。   For this reason, the number of band divisions is adjusted in consideration of the balance between the amount of system memory allocated to the printer and the printing performance. However, for print data that contains many objects, intermediate language data Since the amount increases, memory shortage may occur and RIP processing may not be continued.

そのため、RIP処理では、複数バンド分の中間言語のデータをメモリに保持して、中間言語からビットマップイメージを生成する際のオーバーヘッドを少なくすることにより、印刷速度の向上が図られている。ただし、この場合、必要なメモリ容量が増えるという問題がある。   For this reason, in RIP processing, intermediate language data for a plurality of bands is stored in a memory, and the overhead when generating a bitmap image from the intermediate language is reduced, thereby improving the printing speed. However, in this case, there is a problem that a necessary memory capacity increases.

先頭のバンドからバンド単位でシーケンシャルに処理を行うこととすれば、必要なメモリ容量を少なくすることができるものの、オーバーヘッドが大きくなるので、印刷速度が低下してしまう。   If processing is performed sequentially in units of bands from the first band, the required memory capacity can be reduced, but the overhead increases, and the printing speed decreases.

例えば、特許文献1には、バンド数やオブジェクト分割により増加するオブジェクト情報用のメモリ増加を考慮して、使用するメモリ量が最も小さくなるようにバンド数を決定する印刷装置が開示されている。   For example, Patent Document 1 discloses a printing apparatus that determines the number of bands so that the amount of memory to be used is minimized in consideration of the number of bands and the increase in memory for object information that increases due to object division.

この印刷装置は、バンド数が多くなるほど少なくなるバンドメモリのメモリ使用量と、バンド数が多くなるほど多くなるオブジェクト情報用メモリのメモリ使用量との和を考慮し、ページを印刷するために最もメモリ使用量が少なくなるバンド数を決定する。   This printing device takes into consideration the sum of the memory usage of the band memory that decreases as the number of bands increases and the memory usage of the object information memory that increases as the number of bands increases, and is the most memory for printing a page. Determine the number of bands that use less.

特開平8−174920号公報JP-A-8-174920

しかしながら、特許文献1の印刷装置のように、たとえページを印刷するために最もメモリ使用量が少なくなるバンド数を決定したとしても、印刷処理以外でメモリが多量に使用されている場合、メモリ不足が発生し、印刷処理を継続することができなくなる可能性がある。特許文献1には、このような場合の対処について、何ら記載されていない。   However, even if the number of bands with the smallest memory usage for printing a page is determined as in the printing apparatus of Patent Document 1, if the memory is used in a large amount other than the printing process, the memory is insufficient. May occur, making it impossible to continue the printing process. Patent Document 1 does not describe any countermeasures for such a case.

本発明は、上述した実情に鑑み、RIP処理中に発生するメモリ不足に効果的に対処することができる印刷装置、印刷方法、その印刷方法をコンピュータに実行させるコンピュータプログラム、および、そのコンピュータプログラムを記録したコンピュータが読み取り可能な記録媒体を提供することを目的とする。   In view of the above-described circumstances, the present invention provides a printing apparatus, a printing method, a computer program that causes a computer to execute the printing method, and a computer program that can effectively cope with a memory shortage that occurs during RIP processing. It is an object of the present invention to provide a recorded computer-readable recording medium.

上記課題を解決する為に、本発明の第1の技術手段は、1ページ分の印刷データを複数のバンドに分割し、バンド毎に印刷データのRIP処理を行って印刷処理を実行する印刷装置であって、前記RIP処理用に確保したメモリの容量不足を検出するメモリ容量検出部と、前記メモリの容量不足が検出された場合に、前記RIP処理用の第1の設定を、該第1の設定に基づいて前記RIP処理が行われる場合よりも少ないメモリ使用量で前記RIP処理が行われる第2の設定に変更する設定変更部と、前記第2の設定に基づいて前記RIP処理を行うビデオコントロール部と、を備えることを特徴とする。   In order to solve the above-described problem, the first technical means of the present invention is a printing apparatus that divides print data for one page into a plurality of bands and performs print processing by performing RIP processing of print data for each band. A memory capacity detecting unit for detecting an insufficient capacity of the memory reserved for the RIP processing, and a first setting for the RIP processing when the insufficient memory capacity is detected, A setting change unit for changing to the second setting in which the RIP process is performed with a smaller memory usage than when the RIP process is performed based on the setting of the RIP, and the RIP process is performed based on the second setting And a video control unit.

本発明の第2の技術手段は、第1の技術手段において、前記ビデオコントロール部は、前記メモリの容量不足が発生したページについてのみ、前記第2の設定に基づいて前記RIP処理を行うことを特徴とする。   According to a second technical means of the present invention, in the first technical means, the video control unit performs the RIP processing only on the page where the memory capacity is insufficient based on the second setting. Features.

本発明の第3の技術手段は、第1または第2の技術手段において、前記第1の設定は、前記バンドの第1の分割数の設定を含み、前記第2の設定は、前記第1の分割数よりも多い前記バンドの第2の分割数の設定を含み、前記ビデオコントロール部は、前記バンドの第2の分割数の設定に基づいて前記RIP処理を行うことを特徴とする。   According to a third technical means of the present invention, in the first or second technical means, the first setting includes setting a first division number of the band, and the second setting is the first setting. And the video control unit performs the RIP process based on the setting of the second division number of the band.

本発明の第4の技術手段は、第1〜第3のいずれかの技術手段において、前記第1の設定は、前記複数のバンド分の前記RIP処理用のデータを前記メモリに記憶する第1の記憶設定を含み、前記第2の設定は、前記複数のバンド分よりも少ない数の前記RIP処理用のデータを前記メモリに記憶する第2の記憶設定を含み、前記ビデオコントロール部は、前記第2の記憶設定に基づいて前記RIP処理を行うことを特徴とする。   According to a fourth technical means of the present invention, in any one of the first to third technical means, the first setting stores the data for the RIP processing for the plurality of bands in the memory. The second setting includes a second storage setting for storing in the memory a smaller number of data for the RIP processing than the plurality of bands, and the video control unit includes: The RIP process is performed based on a second storage setting.

本発明の第5の技術手段は、第1〜第4のいずれかの技術手段において、前記第1の設定は、前記RIP処理における画像展開方向を長辺方向にする第1の方向設定を含み、前記第2の設定は、前記RIP処理における画像展開方向を短辺方向にする第2の方向設定を含み、前記ビデオコントロール部は、前記第2の方向設定に基づいて前記RIP処理を行うことを特徴とする。   According to a fifth technical means of the present invention, in any one of the first to fourth technical means, the first setting includes a first direction setting in which an image development direction in the RIP processing is a long side direction. The second setting includes a second direction setting in which the image development direction in the RIP processing is a short side direction, and the video control unit performs the RIP processing based on the second direction setting. It is characterized by.

本発明の第6の技術手段は、1ページ分の印刷データを複数のバンドに分割し、バンド毎に印刷データのRIP処理を行って印刷処理を実行する印刷方法であって、前記RIP処理用に確保したメモリの容量不足を検出するメモリ容量検出ステップと、前記メモリの容量不足が検出された場合に、前記RIP処理用の第1の設定を、該第1の設定に基づいて前記RIP処理が行われる場合よりも少ないメモリ使用量で前記RIP処理が行われる第2の設定に変更する設定変更ステップと、前記第2の設定に基づいて前記RIP処理を行うRIP処理実行ステップと、を含むことを特徴とする。   A sixth technical means of the present invention is a printing method for executing print processing by dividing print data for one page into a plurality of bands, and performing RIP processing of the print data for each band. A memory capacity detecting step for detecting a memory capacity shortage secured in the memory, and a first setting for the RIP processing when the memory capacity shortage is detected, based on the first setting. A setting change step for changing to the second setting in which the RIP processing is performed with a smaller memory usage than when the RIP processing is performed, and a RIP processing execution step for performing the RIP processing based on the second setting. It is characterized by that.

本発明の第7の技術手段は、上記印刷方法をコンピュータに実行させることを特徴とするコンピュータプログラムである。   A seventh technical means of the present invention is a computer program that causes a computer to execute the printing method.

本発明の第8の技術手段は、上記コンピュータプログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体である。   An eighth technical means of the present invention is a computer-readable recording medium characterized by recording the above computer program.

本発明によれば、RIP処理用に確保したメモリの容量不足を検出し、メモリの容量不足が検出された場合に、RIP処理用の第1の設定を、第1の設定に基づいてRIP処理が行われる場合よりも少ないメモリ使用量でRIP処理が行われる第2の設定に変更し、第2の設定に基づいてRIP処理を行うこととしたので、RIP処理中に発生するメモリ不足に効果的に対処することができる。   According to the present invention, when a shortage of memory capacity reserved for RIP processing is detected, and when a shortage of memory capacity is detected, the first setting for RIP processing is determined based on the first setting. Is changed to the second setting in which the RIP processing is performed with a smaller amount of memory usage than in the case where the RIP processing is performed, and the RIP processing is performed based on the second setting, which is effective for a memory shortage occurring during the RIP processing. Can be dealt with.

本発明の実施形態に係る印刷装置の一例を示す図である。It is a figure which shows an example of the printing apparatus which concerns on embodiment of this invention. メモリのメモリ領域の一例について説明する図である。It is a figure explaining an example of the memory area of a memory. 1ページ分の画像データのバンド分割の一例について説明する図である。It is a figure explaining an example of the band division | segmentation of the image data for 1 page. ビデオコントロール部が行う処理の一例を示すタイミングチャートである。It is a timing chart which shows an example of the process which a video control part performs. 中間言語データの生成処理の中断の一例について説明する図である。It is a figure explaining an example of the interruption of the production | generation process of intermediate language data. ビットマップ変換処理に要する時間が短い場合のビデオコントロール部の動作の一例を示すタイミングチャートである。It is a timing chart which shows an example of operation | movement of a video control part when the time which a bitmap conversion process requires is short. RIP処理中に発生するメモリ不足の一例を示す図である。It is a figure which shows an example of the memory shortage which generate | occur | produces during a RIP process. メモリの容量不足が検出された後に行われるRIP処理の一例を示す図である。It is a figure which shows an example of the RIP process performed after the memory capacity shortage is detected. 画像の展開方向の変更について説明する図である。It is a figure explaining the change of the expansion | deployment direction of an image. 本発明の実施形態に係る印刷処理の処理手順の一例を示すフローチャートである。6 is a flowchart illustrating an example of a processing procedure of print processing according to the embodiment of the present invention. 本発明の実施形態に係る印刷処理の処理手順の一例を示すフローチャートである。6 is a flowchart illustrating an example of a processing procedure of print processing according to the embodiment of the present invention. 第1のRIP設定処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of a 1st RIP setting process. 第2のRIP設定処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of a 2nd RIP setting process.

以下、本発明の実施形態について図面を参照して詳細に説明する。図1は、本発明の実施形態に係る印刷装置10の一例を示す図である。図1に示すように、印刷装置10は、ホストコンピュータ20と接続されている。ホストコンピュータ20は、印刷装置10にPDL(Page Description Language)で記述された印刷データを送信し、印刷装置10にその印刷データの印刷を依頼する装置である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram illustrating an example of a printing apparatus 10 according to an embodiment of the present invention. As shown in FIG. 1, the printing apparatus 10 is connected to a host computer 20. The host computer 20 is a device that transmits print data described in PDL (Page Description Language) to the printing apparatus 10 and requests the printing apparatus 10 to print the print data.

印刷装置10は、ホストコンピュータ20から受信した印刷データを印刷する装置である。印刷装置10は、印刷コントロール部11、操作パネル12、印刷エンジン13を備える。印刷コントロール部11は、PDLで記述されたデータに対してRIP処理を行い、ビットマップデータを生成する処理部である。   The printing apparatus 10 is an apparatus that prints print data received from the host computer 20. The printing apparatus 10 includes a print control unit 11, an operation panel 12, and a print engine 13. The print control unit 11 is a processing unit that performs RIP processing on data described in PDL and generates bitmap data.

操作パネル12は、各種情報を表示するとともに、ユーザから情報の入力を受け付ける操作パネルである。印刷エンジン13は、画像形成部13aを備える印刷エンジンである。画像形成部13aは、印刷コントロール部11により生成されたビットマップデータの印刷を行う。   The operation panel 12 is an operation panel that displays various types of information and receives input of information from the user. The print engine 13 is a print engine including an image forming unit 13a. The image forming unit 13a prints the bitmap data generated by the print control unit 11.

印刷コントロール部11は、ネットワークコントロール部14、ハードディスク装置15、メモリ16、ビデオコントロール部17、制御部18を備える。ネットワークコントロール部14は、印刷装置10とホストコンピュータ20との間でネットワークを介して行われる通信処理を制御する制御部である。   The print control unit 11 includes a network control unit 14, a hard disk device 15, a memory 16, a video control unit 17, and a control unit 18. The network control unit 14 is a control unit that controls communication processing performed between the printing apparatus 10 and the host computer 20 via a network.

ハードディスク装置15は、ホストコンピュータ20から受信した印刷データ15aや、ビデオコントロール部17により生成されるビットマップデータ15bを記憶するハードディスク装置である。メモリ16は、RAM(Random Access Memory)などの記憶デバイスである。メモリ16は、印刷データ15aのRIP処理用に利用される。   The hard disk device 15 is a hard disk device that stores print data 15 a received from the host computer 20 and bitmap data 15 b generated by the video control unit 17. The memory 16 is a storage device such as a RAM (Random Access Memory). The memory 16 is used for RIP processing of the print data 15a.

図2は、メモリ16におけるメモリ領域30の一例について説明する図である。図2は、RIP処理が実行されているある時点でのメモリ領域30の一例を示している。図2に示すように、このメモリ領域30は、RIP用ワークメモリ領域30a、バンド1の中間言語データ領域30b、バンド2の中間言語データ領域30c、バンド3の中間言語データ領域30d、バンド1のビットマップデータ領域30e、バンド2のビットマップデータ領域30fを有する。   FIG. 2 is a diagram for explaining an example of the memory area 30 in the memory 16. FIG. 2 shows an example of the memory area 30 at a certain point in time when the RIP process is being executed. As shown in FIG. 2, the memory area 30 includes an RIP work memory area 30a, an intermediate language data area 30b for band 1, an intermediate language data area 30c for band 2, an intermediate language data area 30d for band 3, and an intermediate language data area 30d for band 1. It has a bitmap data area 30e and a band 2 bitmap data area 30f.

RIP用ワークメモリ領域30aは、ビデオコントロール部17によるRIP処理に用いられるワークメモリ領域である。バンド1の中間言語データ領域30b、バンド2の中間言語データ領域30c、および、バンド3の中間言語データ領域30dは、それぞれビデオコントロール部17により生成された中間言語のデータを記憶した領域である。図2の例では、1ページ分の画像データが分割されてできた複数のバンドのうち、3バンド分の中間言語のデータが記憶されている。   The RIP work memory area 30 a is a work memory area used for RIP processing by the video control unit 17. The intermediate language data area 30b of band 1, the intermediate language data area 30c of band 2, and the intermediate language data area 30d of band 3 are areas in which intermediate language data generated by the video control unit 17 is stored. In the example of FIG. 2, intermediate language data for three bands among a plurality of bands formed by dividing image data for one page is stored.

図3は、1ページ分の画像データのバンド分割の一例について説明する図である。図3では、1ページ分の画像データ40が5つのバンド40a〜40eに分割されている。また、図3に示す画像データ40には、4つのオブジェクト41a〜41dが含まれている。   FIG. 3 is a diagram illustrating an example of band division of image data for one page. In FIG. 3, the image data 40 for one page is divided into five bands 40a to 40e. Also, the image data 40 shown in FIG. 3 includes four objects 41a to 41d.

図2の説明に戻ると、バンド1のビットマップデータ領域30e、バンド2のビットマップデータ領域30fは、それぞれビデオコントロール部17により生成されたビットマップデータを記憶した領域である。図2の例では、その時点までに生成された2バンド分のビットマップデータが記憶されている。   Returning to the description of FIG. 2, the bitmap data area 30 e of band 1 and the bitmap data area 30 f of band 2 are areas in which bitmap data generated by the video control unit 17 is stored. In the example of FIG. 2, bitmap data for two bands generated up to that point is stored.

図1の説明に戻ると、ビデオコントロール部17は、RIP処理用の設定に基づいて印刷データ15aから中間言語データを生成し、さらにその中間言語データからビットマップデータを生成し、生成したビットマップデータを印刷エンジン13に出力するコントローラである。   Returning to the description of FIG. 1, the video control unit 17 generates intermediate language data from the print data 15a based on the setting for RIP processing, further generates bitmap data from the intermediate language data, and generates the generated bitmap. A controller that outputs data to the print engine 13.

このRIP処理用の設定には、1ページ分の印刷データを複数のバンドに分割してRIP処理を行う場合の分割数の設定や、メモリ16に複数のバンドに対応する中間言語データを記憶するか否かの設定、RIP処理における画像展開方向を長辺方向にするか、短辺方向にするかの設定などが含まれる。このRIP処理用の設定情報は、ビデオコントロール部17内のメモリに記憶される。   In the setting for RIP processing, setting of the division number when RIP processing is performed by dividing print data for one page into a plurality of bands, or intermediate language data corresponding to the plurality of bands is stored in the memory 16. Whether the image development direction in the RIP process is the long side direction or the short side direction is included. The setting information for RIP processing is stored in a memory in the video control unit 17.

制御部18は、印刷コントロール部11を全体的に制御するCPU(Central Processing Unit)などの制御デバイスである。この制御部18は、メモリ容量検出部18a、設定変更部18bを備える。   The control unit 18 is a control device such as a CPU (Central Processing Unit) that controls the print control unit 11 as a whole. The control unit 18 includes a memory capacity detection unit 18a and a setting change unit 18b.

メモリ容量検出部18aは、RIP処理用に確保したメモリ16の容量不足を検出する処理部である。設定変更部18bは、メモリ容量検出部18aによりメモリ16の容量不足が検出された場合に、RIP処理用の設定を、その設定に基づいてRIP処理が行われる場合よりも少ないメモリ使用量でRIP処理が行われる別の設定に変更する処理部である。   The memory capacity detection unit 18a is a processing unit that detects an insufficient capacity of the memory 16 reserved for RIP processing. When the memory capacity detection unit 18a detects that the memory 16 is insufficient in capacity, the setting change unit 18b sets the RIP processing setting with a smaller memory usage than when the RIP processing is performed based on the setting. It is a processing unit for changing to another setting for processing.

具体的には、設定変更部18bは、メモリの容量不足が検出された場合に、RIP処理用に設定されていたバンドの分割数を、より多い分割数に変更したり、複数のバンド分のRIP処理用のデータ(例えば、中間言語データ)をメモリ16に記憶する設定を無効化したり、RIP処理における画像展開方向を長辺方向から短辺方向に変更したりする。この変更された設定に基づいて、ビデオコントロール部17は、印刷データ15aからビットマップデータを生成する。   Specifically, when a memory capacity shortage is detected, the setting changing unit 18b changes the number of bands set for RIP processing to a larger number of divisions, or a plurality of bands. The setting for storing the data for RIP processing (for example, intermediate language data) in the memory 16 is invalidated, or the image development direction in the RIP processing is changed from the long side direction to the short side direction. Based on this changed setting, the video control unit 17 generates bitmap data from the print data 15a.

つぎに、ビデオコントロール部17が行う処理について説明する。図4は、ビデオコントロール部17が行う処理の一例を示すタイミングチャートである。図4において、(a)は、PDLで記述された印刷データを解析するパーサ処理のタイミングを示し、(b)は、PDLで記述された印刷データを中間言語データに変換する中間言語変換処理のタイミングを示し、(c)は、中間言語データをビットマップデータに変換するビットマップ変換処理のタイミングを示し、(d)は、ビットマップデータを圧縮して、ハードディスク装置15に記憶するデータ圧縮・記憶処理のタイミングを示し、(e)は、ビットマップデータをハードディスク装置15から読み出し、読み出したビットマップデータを伸張して画像形成部13aに出力する印刷制御処理のタイミングを示す。また、図4において、P1、P2はページを示し、B1〜B5は1ページが分割されてできた5つのバンドのそれぞれを示す。   Next, processing performed by the video control unit 17 will be described. FIG. 4 is a timing chart showing an example of processing performed by the video control unit 17. 4A shows the timing of parser processing for analyzing print data described in PDL, and FIG. 4B shows intermediate language conversion processing for converting print data described in PDL into intermediate language data. (C) shows the timing of bitmap conversion processing for converting the intermediate language data into bitmap data, and (d) shows the data compression / compression stored in the hard disk device 15 by compressing the bitmap data. The timing of the storage process is shown. (E) shows the timing of the print control process in which the bitmap data is read from the hard disk device 15 and the read bitmap data is expanded and output to the image forming unit 13a. In FIG. 4, P1 and P2 indicate pages, and B1 to B5 indicate five bands formed by dividing one page.

図4に示すように、ビデオコントロール部17は、あるページ(P1、P2)に対してパーサ処理を行い(図4(a))、PDLで記述された印刷データをバンド単位(B1〜B5)で中間言語データに変換する(図4(b))。そして、ビデオコントロール部17は、中間言語データへの変換が完了したバンドから、中間言語データをビットマップデータに変換する(図4(c))。   As shown in FIG. 4, the video control unit 17 performs a parser process on a certain page (P1, P2) (FIG. 4A), and print data described in PDL in band units (B1 to B5). Is converted into intermediate language data (FIG. 4B). Then, the video control unit 17 converts the intermediate language data into bitmap data from the band that has been converted into the intermediate language data (FIG. 4C).

さらに、ビデオコントロール部17は、ビットマップデータへの変換が完了したバンドから、データ圧縮処理を行い、ハードディスク装置15に記憶する(図4(d))。そして、ビデオコントロール部17は、1ページ分のビットマップデータがすべて揃い、ハードディスク装置15に圧縮して記憶した後、1ページ分のビットマップデータを画像形成部13aに出力する(図4(e))。   Further, the video control unit 17 performs data compression processing from the band that has been converted into bitmap data, and stores it in the hard disk device 15 (FIG. 4D). Then, the video control unit 17 completes the bitmap data for one page, stores the compressed data in the hard disk device 15, and outputs the bitmap data for one page to the image forming unit 13a (FIG. 4 (e)). )).

なお、メモリ16に記憶される中間言語データの数が予め設定されている場合には、その数の中間言語データが記憶された時点で、中間言語のデータの生成処理が中断される。図5は、中間言語データの生成処理の中断の一例について説明する図である。図5には、最大で3バンド分の中間言語データがメモリ16に記憶される場合の中間言語変換処理のタイミング(図5(b))、および、ビットマップ変換処理のタイミング(図5(c))が示されている。また、図5の例では、B1のバンドのビットマップ変換処理に時間がかかったため、メモリ16には記憶可能な最大数である3バンド分の中間言語データが記憶されている。   If the number of intermediate language data stored in the memory 16 is preset, the intermediate language data generation process is interrupted when the number of intermediate language data is stored. FIG. 5 is a diagram illustrating an example of interruption of the intermediate language data generation process. FIG. 5 shows the timing of intermediate language conversion processing (FIG. 5B) when intermediate language data for up to three bands is stored in the memory 16, and the timing of bitmap conversion processing (FIG. 5C). ))It is shown. In the example of FIG. 5, since the bitmap conversion processing for the B1 band takes time, the memory 16 stores intermediate language data for three bands, which is the maximum number that can be stored.

メモリ16に記憶される中間言語データの数は、メモリ16の容量とパフォーマンスとのバランスを考慮して決定される。すなわち、メモリ16に記憶される中間言語データの数が多いと、オーバーヘッドが少なくなるためパフォーマンスは向上するものの、メモリ16の容量が不足する。一方、メモリ16に記憶される中間言語データの数が少ないと、メモリ16の容量には余裕ができるが、オーバーヘッドが多くなり、パフォーマンスが低下する。   The number of intermediate language data stored in the memory 16 is determined in consideration of the balance between the capacity of the memory 16 and performance. That is, if the number of intermediate language data stored in the memory 16 is large, the overhead is reduced and the performance is improved, but the capacity of the memory 16 is insufficient. On the other hand, when the number of intermediate language data stored in the memory 16 is small, the capacity of the memory 16 can be afforded, but the overhead increases and the performance decreases.

図5の場合、ビデオコントロール部17は、1バンド分の中間言語データを生成する度に、カウンタ(Cnt)を1増やす。そして、ビデオコントロール部17は、カウンタ(Cnt)が3になると、中間言語データの生成を中止する。そして、ビデオコントロール部17は、ビットマップ変換処理中のバンド(B1)のビットマップ変換処理が完了すると、ビットマップ変換処理が完了したバンド(B1)の中間言語データが不要となるので、カウンタ(Cnt)を1減らし、中間言語データの生成を再開する。そして、ビットマップ変換処理が完了したバンド(B1)の中間言語データの代わりに、新たなバンド(B4)に対して生成された中間言語データがメモリ16に記憶される。   In the case of FIG. 5, the video controller 17 increments the counter (Cnt) by 1 each time intermediate language data for one band is generated. When the counter (Cnt) reaches 3, the video control unit 17 stops generating the intermediate language data. When the bitmap conversion process for the band (B1) being subjected to the bitmap conversion process is completed, the video control unit 17 does not need the intermediate language data of the band (B1) for which the bitmap conversion process has been completed. Cnt) is decreased by 1, and the generation of intermediate language data is resumed. Then, the intermediate language data generated for the new band (B4) is stored in the memory 16 instead of the intermediate language data of the band (B1) for which the bitmap conversion processing has been completed.

なお、ビットマップ変換処理に要する時間が短い場合は、中間言語データの生成処理が滞ることはない。図6は、ビットマップ変換処理に要する時間が短い場合のビデオコントロール部17の動作の一例を示すタイミングチャートである。図6には、最大で3バンド分の中間言語データがメモリ16に記憶される場合の中間言語変換処理のタイミング(図6(b))、および、ビットマップ変換処理のタイミング(図6(c))が示されている。   If the time required for the bitmap conversion process is short, the intermediate language data generation process will not be delayed. FIG. 6 is a timing chart showing an example of the operation of the video control unit 17 when the time required for the bitmap conversion process is short. 6 shows the timing of intermediate language conversion processing (FIG. 6B) when intermediate language data for up to three bands is stored in the memory 16, and the timing of bitmap conversion processing (FIG. 6C). ))It is shown.

中間言語変換処理に要する時間も、ビットマップ変換処理に要する時間も、図3に示したような画像データ40に含まれるオブジェクト41a〜41dの数により変化する。しかし、ビットマップ変換処理に要する時間が短くなった場合でも、ビデオコントロール部17が、十分な数の中間言語データを生成しておくことで、ビットマップ変換処理の滞りを抑制し、処理効率を高めることができる。   Both the time required for the intermediate language conversion process and the time required for the bitmap conversion process vary depending on the number of objects 41a to 41d included in the image data 40 as shown in FIG. However, even when the time required for the bitmap conversion process is shortened, the video control unit 17 generates a sufficient number of intermediate language data, thereby suppressing the stagnation of the bitmap conversion process and improving the processing efficiency. Can be increased.

つぎに、RIP処理中に発生するメモリ不足について説明する。図7は、RIP処理中に発生するメモリ不足の一例を示す図である。図7の(a)は、図4を用いて説明したパーサ処理のタイミングを示し、(b)は、中間言語変換処理のタイミングを示し、(c)は、ビットマップ変換処理のタイミングを示し、(d)は、データ圧縮・記憶処理のタイミングを示す。また、(f)は、メモリ16の容量不足の検出タイミングを示す。   Next, a memory shortage that occurs during RIP processing will be described. FIG. 7 is a diagram illustrating an example of a memory shortage that occurs during RIP processing. 7A shows the timing of the parser process described with reference to FIG. 4, FIG. 7B shows the timing of the intermediate language conversion process, FIG. 7C shows the timing of the bitmap conversion process, (D) shows the timing of data compression / storage processing. Further, (f) shows the detection timing of the capacity shortage of the memory 16.

図7の(c)においては、バンドB4のビットマップデータのデータ量が多いため、ビットマップ変換処理に時間がかかっている。そして、バンドB4のビットマップデータの記憶に必要なメモリ領域の大きさが、図2に示したようなメモリ領域30において、バンドB4のビットマップデータの記憶に割り当てられたメモリ領域を超えた場合、メモリ容量検出部18aは、メモリ16の容量不足を検出する。その後、ビデオコントロール部17は、図7(c)の処理を一時中断する。   In FIG. 7C, since the amount of bitmap B4 data is large, the bitmap conversion process takes time. When the size of the memory area necessary for storing the band B4 bitmap data exceeds the memory area allocated for storing the band B4 bitmap data in the memory area 30 as shown in FIG. The memory capacity detection unit 18a detects a capacity shortage of the memory 16. Thereafter, the video control unit 17 temporarily stops the process of FIG.

つぎに、メモリ16の容量不足が検出された後に行われるRIP処理について説明する。図8は、メモリ16の容量不足が検出された後に行われるRIP処理の一例を示す図である。図8は、図7の例の10ページ目(P10)でメモリ16の容量不足が検出された結果行われるRIP処理の例を示している。なお、図4の(a)〜(e)と同様に、図8における(a)は、パーサ処理のタイミングを示し、(b)は、中間言語変換処理のタイミングを示し、(c)は、ビットマップ変換処理のタイミングを示し、(d)は、データ圧縮・記憶処理のタイミングを示し、(e)は、印刷制御処理のタイミングを示す。   Next, a description will be given of the RIP process that is performed after the capacity shortage of the memory 16 is detected. FIG. 8 is a diagram illustrating an example of the RIP process performed after the lack of capacity of the memory 16 is detected. FIG. 8 shows an example of the RIP process performed as a result of detecting the lack of capacity of the memory 16 on the 10th page (P10) of the example of FIG. As in (a) to (e) of FIG. 4, (a) in FIG. 8 shows the timing of parser processing, (b) shows the timing of intermediate language conversion processing, and (c) shows The timing of bitmap conversion processing is shown, (d) shows the timing of data compression / storage processing, and (e) shows the timing of printing control processing.

まず、メモリ16に複数のバンド分の中間言語データを記憶するように予め設定されている場合、設定変更部18bは、その設定を無効化し、上記複数のバンド分よりも少ない数の中間言語データを記憶する設定に変更する。例えば、設定変更部18bは、複数のバンド分の中間言語データを記憶する設定を、1バンド分の中間データを記憶する設定に変更する。その結果、メモリ16には、中間言語データが1バンド分のみ記憶されることになる。これにより、RIP処理のパフォーマンスは低下するものの、メモリ16の使用量を減らすことができる。   First, when preset to store intermediate language data for a plurality of bands in the memory 16, the setting changing unit 18b invalidates the setting, and a smaller number of intermediate language data than for the plurality of bands. Change the setting to remember. For example, the setting changing unit 18b changes the setting for storing the intermediate language data for a plurality of bands to the setting for storing the intermediate data for one band. As a result, only one band of intermediate language data is stored in the memory 16. As a result, although the performance of the RIP process is lowered, the usage amount of the memory 16 can be reduced.

図2の例では、3バンド分の中間言語データがメモリ16に記憶されるように設定されていたが、中間言語データが1バンド分のみメモリ16に記憶されるように設定の変更がなされる。   In the example of FIG. 2, the intermediate language data for three bands is set to be stored in the memory 16, but the setting is changed so that only one band of intermediate language data is stored in the memory 16. .

また、設定変更部18bは、1ページ分の画像データを複数のバンドに分割する際の分割数の設定を、より分割数が多くなる設定に変更する。例えば、図4の例では、分割数を5としていたが、設定変更部18bは、図8に示すように、その分割数を10に変更する。これにより、一度に処理しなければならない中間言語データやビットマップデータのデータ量が少なくなるので、必要なメモリ16の容量を減らすことができる。   Further, the setting changing unit 18b changes the setting of the number of divisions when dividing the image data for one page into a plurality of bands to a setting for increasing the number of divisions. For example, in the example of FIG. 4, the number of divisions is 5, but the setting change unit 18b changes the number of divisions to 10 as shown in FIG. As a result, the amount of intermediate language data and bitmap data that must be processed at a time is reduced, so that the required capacity of the memory 16 can be reduced.

なお、PDLで記述されたデータの先頭に、全ページに適用される設定(例えば、全ページの背景に特定の画像を合成する設定)があったり、PDLで記述されたデータの途中に、それ以降のページに適用される設定がある場合があり、仮に途中のページのデータからRIP処理をやり直すこととすると、上記設定が適用されず、不適切なページ画像が生成される可能性がある。そのため、RIP処理をやり直す場合、最初のページ(P1)からパーサ処理を行う必要がある。この場合、ビデオコントロール部17は、図7においてメモリ16の容量不足が検出された10ページ目(P10)の前のページ(P9)までRIP処理を行わずにパーサ処理のみ行い、10ページ目(P10)でパーサ処理を行うとともに、各バンド(B1〜B10)に対するRIP処理を行う。   Note that there are settings that apply to all pages at the beginning of the data described in PDL (for example, settings that synthesize a specific image with the background of all pages), or in the middle of data described in PDL. There may be a setting applied to the subsequent pages. If the RIP process is performed again from the data of the intermediate page, the above setting is not applied, and an inappropriate page image may be generated. Therefore, when redoing RIP processing, it is necessary to perform parser processing from the first page (P1). In this case, the video control unit 17 performs only the parser process without performing the RIP process up to the page (P9) before the 10th page (P10) in which the memory 16 capacity shortage is detected in FIG. In P10), the parser process is performed and the RIP process for each band (B1 to B10) is performed.

また、メモリ16の容量不足が検出された場合に、画像の展開方向の設定を変更することにより、RIP処理に必要なメモリ16の容量を減らすこととしてもよい。図9は、画像の展開方向の変更について説明する図である。図9(A)は、画像の展開方向が長辺方向である場合を示し、図9(B)は、画像の展開方向が短辺方向である場合を示し、図9(C)は、画像の展開方向が短辺方向で、さらにバンド分割数が5から10に増やされた場合を示す。   In addition, when the capacity shortage of the memory 16 is detected, the capacity of the memory 16 necessary for the RIP process may be reduced by changing the setting of the image development direction. FIG. 9 is a diagram illustrating the change of the image development direction. FIG. 9A shows the case where the image development direction is the long side direction, FIG. 9B shows the case where the image development direction is the short side direction, and FIG. 9C shows the image development direction. This shows a case where the development direction is the short side direction and the number of band divisions is increased from 5 to 10.

印刷する用紙のサイズが小さい場合(例えば、用紙のサイズがA4サイズ、B5サイズ、A5サイズである場合)、ビデオコントロール部17は、画像を長辺方向で展開するが、展開方向を短辺方向に変更するよう設定を変更することもできる。そのため、メモリ16の容量不足が検出された場合に、設定変更部18bは、画像の展開方向の設定を長辺方向から短辺方向に変更する。そして、ビデオコントロール部17は、その設定に基づき、短辺方向に画像を展開して、ビットマップデータを生成する。   When the size of the paper to be printed is small (for example, when the paper size is A4 size, B5 size, A5 size), the video control unit 17 develops the image in the long side direction, but the development direction is the short side direction. You can also change the setting to change to Therefore, when a shortage of the capacity of the memory 16 is detected, the setting changing unit 18b changes the setting of the image development direction from the long side direction to the short side direction. Then, the video control unit 17 expands the image in the short side direction based on the setting, and generates bitmap data.

図9(A)、図9(B)に示すように、画像の展開方向を長辺方向から短辺方向に変更することにより、各バンド(B1〜B5)における長辺と短辺の長さの比が1に近くなる。そのため、複数のバンドに跨って存在するオブジェクトの数が少なくなることが期待され、そのようなオブジェクトの数が少なくなれば、バンドの境界部分の処理を行うための中間言語データのデータ量も少なくなるので、メモリ使用量が減ることになる。   As shown in FIGS. 9A and 9B, the length of the long side and the short side in each band (B1 to B5) is changed by changing the image development direction from the long side direction to the short side direction. The ratio is close to 1. For this reason, it is expected that the number of objects existing across a plurality of bands will be reduced. If the number of such objects is reduced, the amount of intermediate language data for processing the boundary portion of the band is also reduced. As a result, memory usage is reduced.

なお、図9(C)の例では、画像の展開方向を長辺方向から短辺方向に変更するだけでなく、バンド分割数も多くしている。バンド分割数を多くすることにより、一度に処理しなければならない中間言語データやビットマップデータのデータ量が少なくなるので、必要なメモリ16の容量を減らすことができる。   In the example of FIG. 9C, not only the image development direction is changed from the long side direction to the short side direction, but also the number of band divisions is increased. By increasing the number of band divisions, the amount of intermediate language data and bitmap data that must be processed at one time is reduced, so that the required capacity of the memory 16 can be reduced.

また、図9(C)の場合を図9(B)の場合と比べると、複数のバンドに跨って存在するオブジェクトの数が多くなる可能性があり、その場合メモリ使用量も多くなるが、その増加量は、一般にバンド分割数を多くすることによってメモリ使用量が減少する量に比べて少ないと考えられる。   In addition, in the case of FIG. 9C, there is a possibility that the number of objects that exist across a plurality of bands may be increased compared to the case of FIG. The increase amount is generally considered to be smaller than the amount that the memory usage decreases by increasing the number of band divisions.

つぎに、本発明の実施形態に係る印刷処理の処理手順について説明する。図10、図11は、本発明の実施形態に係る印刷処理の処理手順の一例を示すフローチャートである。まず、ホストコンピュータ20からPDLで記述された印刷データを受信すると、制御部18は、その印刷データをハードディスク装置15に記憶する(ステップS101)。   Next, the processing procedure of the printing process according to the embodiment of the present invention will be described. 10 and 11 are flowcharts showing an example of the processing procedure of the printing process according to the embodiment of the present invention. First, when print data described in PDL is received from the host computer 20, the control unit 18 stores the print data in the hard disk device 15 (step S101).

そして、ビデオコントロール部17は、ハードディスク装置15から1ページ分の印刷データを読み込む(ステップS102)。さらに、ビデオコントロール部17は、読み込んだ1ページ分の印刷データに対してRIP処理を開始する(ステップS103)。   Then, the video control unit 17 reads print data for one page from the hard disk device 15 (step S102). Further, the video control unit 17 starts RIP processing for the read print data for one page (step S103).

その後、メモリ容量検出部18aは、RIP処理の実行によりメモリ16の容量不足が発生し、RIP処理が中断されたか否かを検出する(ステップS104)。メモリ16の容量不足が発生せず、RIP処理が中断されなかった場合(ステップS104においてNOの場合)、画像形成部13aは、RIP処理により得られた1ページ分のビットマップデータの印刷を行う(ステップS105)。   Thereafter, the memory capacity detection unit 18a detects whether or not the capacity of the memory 16 is insufficient due to the execution of the RIP process and the RIP process is interrupted (step S104). If the memory 16 is not short of capacity and the RIP process is not interrupted (NO in step S104), the image forming unit 13a prints one page of bitmap data obtained by the RIP process. (Step S105).

そして、ビデオコントロール部17は、全てのページに対する印刷が完了したか否かを調べる(ステップS106)。なお、ビデオコントロール部17は、1ページ分の印刷が完了した場合に、画像形成部13aから通知を受けるものとする。   Then, the video control unit 17 checks whether printing for all pages is completed (step S106). The video control unit 17 receives a notification from the image forming unit 13a when printing for one page is completed.

全てのページに対する印刷が完了していない場合(ステップS106においてNOの場合)、ステップS102に移行して、それ以後の処理が継続される。全てのページに対する印刷が完了した場合(ステップS106においてYESの場合)、この印刷処理は終了する。   If printing for all pages has not been completed (NO in step S106), the process proceeds to step S102, and the subsequent processing is continued. If printing for all pages is completed (YES in step S106), the printing process ends.

ステップS104において、メモリ16の容量不足が発生し、RIP処理が中断された場合(ステップS104においてYESの場合)、設定変更部18bは、図11に示すように、第1のRIP設定処理を実行する(ステップS107)。   In step S104, when the capacity of the memory 16 is insufficient and the RIP process is interrupted (in the case of YES in step S104), the setting changing unit 18b executes the first RIP setting process as shown in FIG. (Step S107).

第1のRIP設定処理は、RIP処理用の設定を、その設定に基づいてRIP処理が行われる場合よりも少ないメモリ使用量でRIP処理が行われる別の設定に変更する処理部である。第1のRIP設定処理については、図12を用いて詳しく説明する。   The first RIP setting process is a processing unit that changes a setting for RIP processing to another setting for performing RIP processing with a smaller memory usage than when RIP processing is performed based on the setting. The first RIP setting process will be described in detail with reference to FIG.

そして、メモリ容量検出部18aは、図12を用いて説明する第1のRIP設定処理において再度実行されたRIP処理において、メモリ16の容量不足が発生し、RIP処理が中断されたか否かを検出する(ステップS108)。例えば、図8の例では、メモリ容量検出部18aは、10ページ目(P10)の10個のバンド(B1〜B10)に対するRIP処理において、メモリ16の容量不足が発生し、RIP処理が中断されたか否かを検出する。   Then, the memory capacity detection unit 18a detects whether or not the capacity of the memory 16 is insufficient and the RIP process is interrupted in the RIP process executed again in the first RIP setting process described with reference to FIG. (Step S108). For example, in the example of FIG. 8, the memory capacity detection unit 18a has a capacity shortage of the memory 16 in the RIP process for the 10 bands (B1 to B10) of the 10th page (P10), and the RIP process is interrupted. It is detected whether or not.

メモリ16の容量不足が発生した場合(ステップS108においてYESの場合)、設定変更部18bは、第2のRIP設定処理を実行する(ステップS109)。第2のRIP設定処理も、第1のRIP設定処理と同様、RIP処理用の設定を、その設定に基づいてRIP処理が行われる場合よりも少ないメモリ使用量でRIP処理が行われる別の設定に変更する処理部である。第2のRIP設定処理については、図13を用いて詳しく説明する。   When the capacity of the memory 16 is insufficient (YES in step S108), the setting changing unit 18b executes a second RIP setting process (step S109). Similarly to the first RIP setting process, the second RIP setting process is another setting in which the RIP process is performed with a smaller memory usage than when the RIP process is performed based on the setting. It is a processing part to change to. The second RIP setting process will be described in detail with reference to FIG.

ステップS109の処理の後、メモリ容量検出部18aは、図13を用いて説明する第2のRIP設定処理において、メモリ16の容量不足が発生し、RIP処理が中断されたか否かを検出する(ステップS110)。   After the process of step S109, the memory capacity detection unit 18a detects whether or not the capacity of the memory 16 is insufficient and the RIP process is interrupted in the second RIP setting process described with reference to FIG. Step S110).

メモリ16の容量不足が発生した場合(ステップS110においてYESの場合)、RIP処理用の設定を変更しても印刷が成功しなかったことを示すノーティスページを印刷する(ステップS114)。その後、この印刷処理は終了する。   If the capacity of the memory 16 is insufficient (YES in step S110), a notice page indicating that printing has not succeeded even if the setting for RIP processing is changed is printed (step S114). Thereafter, this printing process ends.

ステップS110において、メモリ16の容量不足が発生しなかった場合(ステップS110においてNOの場合)、あるいは、ステップS108において、メモリ16の容量不足が発生しなかった場合(ステップS108においてNOの場合)、ビデオコントロール部17は、ハードディスク装置15から印刷データを読み込む(ステップS111)。   If there is no shortage of memory 16 in step S110 (NO in step S110), or if no shortage of memory 16 occurs in step S108 (NO in step S108), The video controller 17 reads print data from the hard disk device 15 (step S111).

そして、ビデオコントロール部17は、RIP処理が完了したページまで、RIP処理を行うことなくパーサ処理を実行する(ステップS112)。図8の例では、10ページ目(P10)まで、RIP処理を行うことなくパーサ処理を実行する。   Then, the video control unit 17 executes the parser process without performing the RIP process until the page where the RIP process is completed (step S112). In the example of FIG. 8, the parser process is executed up to the 10th page (P10) without performing the RIP process.

続いて、ビデオコントロール部17は、ステップS107、ステップS109で変更した設定をもとの設定に戻す処理を行う(ステップS113)。その後、図10のステップS102に移行し、ビデオコントロール部17は、ハードディスク装置15から1ページ分の印刷データを読み込む。   Subsequently, the video control unit 17 performs processing for returning the setting changed in step S107 and step S109 to the original setting (step S113). Thereafter, the process proceeds to step S102 in FIG. 10, and the video control unit 17 reads print data for one page from the hard disk device 15.

図11のステップS112において、図8の例における10ページ目(P10)までパーサ処理を実行したものとすると、図10のステップS102では、ビデオコントロール部17は、11ページ目の印刷データを読み込む。そして、その後の処理が継続される。   If it is assumed that the parser processing is executed up to the 10th page (P10) in the example of FIG. 8 in step S112 of FIG. 11, the video control unit 17 reads the print data of the 11th page in step S102 of FIG. Then, the subsequent processing is continued.

つぎに、図11のステップS107に示した第1のRIP設定処理について説明する。図12は、第1のRIP設定処理の処理手順の一例を示すフローチャートである。まず、設定変更部18bは、ビデオコントロール部17のメモリに記憶されたRIP処理用の設定に、複数バンド分の中間言語データをメモリ16に記憶するように設定されているか否かを判定する(ステップS201)。   Next, the first RIP setting process shown in step S107 of FIG. 11 will be described. FIG. 12 is a flowchart illustrating an example of a processing procedure of the first RIP setting process. First, the setting changing unit 18b determines whether or not the setting for RIP processing stored in the memory of the video control unit 17 is set to store intermediate language data for a plurality of bands in the memory 16 ( Step S201).

RIP処理用の設定に、複数バンド分の中間言語データをメモリ16に記憶するように設定されている場合(ステップS201においてYESの場合)、設定変更部18bは、その設定を無効化し、1バンド分の中間言語データのみメモリ16に記憶するよう設定を変更する(ステップS202)。これにより、メモリ16の使用量を減らすことができる。なお、メモリ16に記憶する中間言語データの数は、設定変更前のバンド数よりも少ない数であれば2バンド分以上であってもよい。この場合も、設定変更前よりメモリ使用量を減らすことができる。   If the setting for RIP processing is set so that intermediate language data for a plurality of bands is stored in the memory 16 (YES in step S201), the setting changing unit 18b invalidates the setting and sets one band. The setting is changed so that only the intermediate language data for the minute is stored in the memory 16 (step S202). Thereby, the usage amount of the memory 16 can be reduced. Note that the number of intermediate language data stored in the memory 16 may be two or more bands as long as the number is less than the number of bands before the setting change. Also in this case, the memory usage can be reduced from before the setting change.

ステップS202の処理の後、あるいは、ステップS201においてRIP処理用の設定に、複数バンド分の中間言語データをメモリ16に記憶するように設定されていない場合(ステップS201においてNOの場合)、設定変更部18bは、その時点でのバンド分割数の設定が、設定可能な最大のバンド分割数よりも小さいか否かを判定する(ステップS203)。   After the process of step S202, or when the setting for RIP processing in step S201 is not set to store intermediate language data for a plurality of bands in the memory 16 (NO in step S201), the setting is changed. The unit 18b determines whether or not the setting of the number of band divisions at that time is smaller than the maximum settable number of band divisions (step S203).

その時点でのバンド分割数の設定が、設定可能な最大のバンド分割数よりも小さい場合(ステップS203においてYESの場合)、設定変更部18bは、バンドの分割数が、設定可能な最大のバンド分割数となるように設定を変更する(ステップS204)。図7、図8の例では、設定変更部18bは、バンド分割数が、5から最大数である10となるように設定を変更する。   When the setting of the number of band divisions at that time is smaller than the maximum number of band divisions that can be set (YES in step S203), the setting changing unit 18b sets the maximum number of band divisions that can be set. The setting is changed so as to be the number of divisions (step S204). In the example of FIGS. 7 and 8, the setting changing unit 18 b changes the setting so that the number of band divisions is 5 to 10 which is the maximum number.

ステップS204の処理の後、あるいは、ステップS203において、その時点でのバンド分割数の設定が、設定可能な最大のバンド分割数よりも小さくない場合(ステップS203においてNOの場合)、ビデオコントロール部17は、RIP処理が中断したページについて、再度RIP処理を実行する(ステップS205)。   After the process of step S204, or in step S203, when the setting of the number of band divisions at that time is not smaller than the maximum settable band division number (in the case of NO in step S203), the video control unit 17 Performs the RIP process again on the page where the RIP process is interrupted (step S205).

図7、図8の例では、ビデオコントロール部17は、RIP処理が中断した10ページ目(P10)について、再度RIP処理を実行する。その後、この第1のRIP設定処理は終了する。   7 and 8, the video control unit 17 executes the RIP process again for the tenth page (P10) where the RIP process is interrupted. Thereafter, the first RIP setting process ends.

ここで、図12の例では、第1のRIP設定処理として、ステップS201およびステップS202の処理と、ステップS203およびステップS204の処理とを行うこととしたが、いずれか一方の処理のみ行うこととしてもよい。また、ステップS201およびステップS202の処理よりも先に、ステップS203およびステップS204の処理を行うこととしてもよい。また、図12の例では、ステップS201およびステップS202の処理と、ステップS203およびステップS204の処理とを連続して行うこととしているが、必ずしも連続して行う必要はない。   Here, in the example of FIG. 12, as the first RIP setting process, the process of step S201 and step S202 and the process of step S203 and step S204 are performed, but only one of the processes is performed. Also good. Moreover, it is good also as performing the process of step S203 and step S204 prior to the process of step S201 and step S202. In the example of FIG. 12, the processing of step S201 and step S202 and the processing of step S203 and step S204 are performed continuously, but are not necessarily performed continuously.

つぎに、図11のステップS109に示した第2のRIP設定処理について説明する。図13は、第2のRIP設定処理の処理手順の一例を示すフローチャートである。まず、設定変更部18bは、複数の画像展開方向の設定が可能か否かを判定する(ステップS301)。   Next, the second RIP setting process shown in step S109 of FIG. 11 will be described. FIG. 13 is a flowchart illustrating an example of a processing procedure of the second RIP setting process. First, the setting changing unit 18b determines whether or not a plurality of image development directions can be set (step S301).

複数の画像展開方向の設定が不可能な場合(ステップS301においてNOの場合)、すなわち、印刷する用紙のサイズがA3サイズなどの大きなものであり、画像展開方向を変更することができない場合、そのままこの第2のRIP設定処理は終了する。複数の画像展開方向の設定が可能な場合(ステップS301においてYESの場合)、設定変更部18bは、その時点での画像展開方向の印刷設定が、図9(A)に一例を示した長辺方向となっているか否かを判定する(ステップS302)。   If setting of a plurality of image development directions is impossible (NO in step S301), that is, if the size of the paper to be printed is large, such as A3 size, and the image development direction cannot be changed, it remains as it is. This second RIP setting process ends. When a plurality of image development directions can be set (YES in step S301), the setting change unit 18b determines that the print setting of the image development direction at that time is the long side shown in FIG. 9A as an example. It is determined whether or not the direction is correct (step S302).

画像展開方向の印刷設定が長辺方向ではなく、短辺方向となっている場合(ステップS302においてNOの場合)、そのままこの第2のRIP設定処理は終了する。画像展開方向の印刷設定が長辺方向となっている場合(ステップS302においてYESの場合)、設定変更部18bは、画像展開方向の設定を長辺方向から短辺方向に変更する(ステップS303)。   If the print setting in the image development direction is not the long side direction but the short side direction (NO in step S302), the second RIP setting process is terminated. If the print setting in the image development direction is the long side direction (YES in step S302), the setting changing unit 18b changes the setting of the image development direction from the long side direction to the short side direction (step S303). .

その後、ビデオコントロール部17は、RIP処理が中断したページについて、再度RIP処理を実行する(ステップS304)。図7、図8の例では、ビデオコントロール部17は、RIP処理が中断した10ページ目(P10)について、再度RIP処理を実行する。そして、この第2のRIP設定処理は終了する。   Thereafter, the video control unit 17 executes the RIP process again for the page where the RIP process is interrupted (step S304). 7 and 8, the video control unit 17 executes the RIP process again for the tenth page (P10) where the RIP process is interrupted. Then, the second RIP setting process ends.

さて、これまで印刷装置および印刷方法の実施形態を中心に説明を行ったが、本発明はこれらの実施形態に限定されるものではなく、印刷装置の機能を実現するためのコンピュータプログラムとしての形態、あるいは、当該コンピュータプログラムが記録されたコンピュータ読み取り可能な記録媒体の形態として本発明が実施されることとしてもよい。   The embodiments of the printing apparatus and the printing method have been described so far. However, the present invention is not limited to these embodiments, and the form as a computer program for realizing the functions of the printing apparatus. Alternatively, the present invention may be implemented as a form of a computer-readable recording medium on which the computer program is recorded.

ここで、記録媒体としては、ディスク系(例えば、磁気ディスク、光ディスク等)、カード系(例えば、メモリカード、光カード等)、半導体メモリ系(例えば、ROM、不揮発性メモリ等)、テープ系(例えば、磁気テープ、カセットテープ等)等、さまざまな形態のものを採用することができる。   Here, as a recording medium, a disk system (for example, magnetic disk, optical disk, etc.), a card system (for example, memory card, optical card, etc.), a semiconductor memory system (for example, ROM, nonvolatile memory, etc.), a tape system (for example) For example, various forms such as a magnetic tape and a cassette tape can be employed.

これら記録媒体に上記実施形態における印刷装置の機能を実現させるコンピュータプログラム、または、印刷方法をコンピュータに実行させるコンピュータプログラムを記録して流通させることにより、コストの低廉化、及び可搬性や汎用性を向上させることができる。   By recording and distributing a computer program for realizing the functions of the printing apparatus in the above embodiment or a computer program for causing the computer to execute the printing method on these recording media, cost reduction, portability and versatility can be achieved. Can be improved.

そして、コンピュータに上記記録媒体を装着し、コンピュータにより記録媒体に記録されたコンピュータプログラムを読み出してメモリに格納し、コンピュータが備えるプロセッサ(CPU:Central Processing Unit、MPU:Micro Processing Unit)が当該コンピュータプログラムをメモリから読み出して実行することにより、本実施形態に係る印刷装置の機能を実現し、印刷方法を実行することができる。   Then, the above-described recording medium is mounted on a computer, a computer program recorded on the recording medium is read out by the computer, stored in a memory, and a processor (CPU: Central Processing Unit, MPU: Micro Processing Unit) included in the computer is the computer program. Is read from the memory and executed, the function of the printing apparatus according to the present embodiment can be realized and the printing method can be executed.

また、本発明は上述した実施形態に限定されず、本発明の要旨を逸脱しない範囲内で各種の変形、修正が可能である。   The present invention is not limited to the above-described embodiments, and various modifications and corrections can be made without departing from the scope of the present invention.

10…印刷装置、11…印刷コントロール部、12…操作パネル、13…印刷エンジン、13a…画像形成部、14…ネットワークコントロール部、15…ハードディスク装置、15a…印刷データ、15b…ビットマップデータ、16…メモリ、17…ビデオコントロール部、18…制御部、18a…メモリ容量検出部、18b…設定変更部、20…ホストコンピュータ。 DESCRIPTION OF SYMBOLS 10 ... Printing apparatus, 11 ... Print control part, 12 ... Operation panel, 13 ... Print engine, 13a ... Image formation part, 14 ... Network control part, 15 ... Hard disk apparatus, 15a ... Print data, 15b ... Bitmap data, 16 ... Memory, 17 ... Video control unit, 18 ... Control unit, 18a ... Memory capacity detection unit, 18b ... Setting change unit, 20 ... Host computer.

Claims (8)

1ページ分の印刷データを複数のバンドに分割し、バンド毎に印刷データのRIP処理を行って印刷処理を実行する印刷装置であって、
前記RIP処理用に確保したメモリの容量不足を検出するメモリ容量検出部と、
前記メモリの容量不足が検出された場合に、前記RIP処理用の第1の設定を、該第1の設定に基づいて前記RIP処理が行われる場合よりも少ないメモリ使用量で前記RIP処理が行われる第2の設定に変更する設定変更部と、
前記第2の設定に基づいて前記RIP処理を行うビデオコントロール部と、
を備えることを特徴とする印刷装置。
A printing apparatus that divides print data for one page into a plurality of bands and performs print processing by performing RIP processing of the print data for each band,
A memory capacity detection unit for detecting a shortage of memory capacity reserved for the RIP processing;
When the memory capacity shortage is detected, the RIP processing is performed with a smaller memory usage than when the RIP processing is performed based on the first setting. A setting changing unit for changing to the second setting,
A video control unit that performs the RIP processing based on the second setting;
A printing apparatus comprising:
前記ビデオコントロール部は、前記メモリの容量不足が発生したページについてのみ、前記第2の設定に基づいて前記RIP処理を行うことを特徴とする請求項1に記載の印刷装置。   2. The printing apparatus according to claim 1, wherein the video control unit performs the RIP processing based only on the second setting only for a page in which the memory capacity is insufficient. 前記第1の設定は、前記バンドの第1の分割数の設定を含み、前記第2の設定は、前記第1の分割数よりも多い前記バンドの第2の分割数の設定を含み、前記ビデオコントロール部は、前記バンドの第2の分割数の設定に基づいて前記RIP処理を行うことを特徴とする請求項1または2に記載の印刷装置。   The first setting includes a setting of a first division number of the band, and the second setting includes a setting of a second division number of the band larger than the first division number, The printing apparatus according to claim 1, wherein the video control unit performs the RIP process based on a setting of the second division number of the band. 前記第1の設定は、前記複数のバンド分の前記RIP処理用のデータを前記メモリに記憶する第1の記憶設定を含み、前記第2の設定は、前記複数のバンド分よりも少ない数の前記RIP処理用のデータを前記メモリに記憶する第2の記憶設定を含み、前記ビデオコントロール部は、前記第2の記憶設定に基づいて前記RIP処理を行うことを特徴とする請求項1〜3のいずれか1項に記載の印刷装置。   The first setting includes a first storage setting for storing the data for the RIP processing for the plurality of bands in the memory, and the second setting is smaller in number than the plurality of bands. 4. The method according to claim 1, further comprising a second storage setting for storing data for the RIP processing in the memory, wherein the video control unit performs the RIP processing based on the second storage setting. The printing apparatus according to any one of the above. 前記第1の設定は、前記RIP処理における画像展開方向を長辺方向にする第1の方向設定を含み、前記第2の設定は、前記RIP処理における画像展開方向を短辺方向にする第2の方向設定を含み、前記ビデオコントロール部は、前記第2の方向設定に基づいて前記RIP処理を行うことを特徴とする請求項1〜4のいずれか1項に記載の印刷装置。   The first setting includes a first direction setting in which the image development direction in the RIP process is a long side direction, and the second setting is a second direction in which the image development direction in the RIP process is a short side direction. The printing apparatus according to claim 1, wherein the video control unit performs the RIP processing based on the second direction setting. 1ページ分の印刷データを複数のバンドに分割し、バンド毎に印刷データのRIP処理を行って印刷処理を実行する印刷方法であって、
前記RIP処理用に確保したメモリの容量不足を検出するメモリ容量検出ステップと、
前記メモリの容量不足が検出された場合に、前記RIP処理用の第1の設定を、該第1の設定に基づいて前記RIP処理が行われる場合よりも少ないメモリ使用量で前記RIP処理が行われる第2の設定に変更する設定変更ステップと、
前記第2の設定に基づいて前記RIP処理を行うRIP処理実行ステップと、
を含むことを特徴とする印刷方法。
A printing method in which print data for one page is divided into a plurality of bands, and print processing is performed by performing RIP processing of the print data for each band,
A memory capacity detecting step for detecting a shortage of memory capacity reserved for the RIP processing;
When the memory capacity shortage is detected, the RIP processing is performed with a smaller memory usage than when the RIP processing is performed based on the first setting. A setting change step for changing to the second setting,
An RIP process execution step for performing the RIP process based on the second setting;
A printing method comprising:
請求項6に記載の印刷方法をコンピュータに実行させることを特徴とするコンピュータプログラム。   A computer program for causing a computer to execute the printing method according to claim 6. 請求項7に記載のコンピュータプログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体。   A computer-readable recording medium having the computer program according to claim 7 recorded thereon.
JP2011180502A 2011-08-22 2011-08-22 Printing apparatus, printing method, computer program, and recording medium Withdrawn JP2013043294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011180502A JP2013043294A (en) 2011-08-22 2011-08-22 Printing apparatus, printing method, computer program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011180502A JP2013043294A (en) 2011-08-22 2011-08-22 Printing apparatus, printing method, computer program, and recording medium

Publications (1)

Publication Number Publication Date
JP2013043294A true JP2013043294A (en) 2013-03-04

Family

ID=48007596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011180502A Withdrawn JP2013043294A (en) 2011-08-22 2011-08-22 Printing apparatus, printing method, computer program, and recording medium

Country Status (1)

Country Link
JP (1) JP2013043294A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015130029A (en) * 2014-01-07 2015-07-16 株式会社Screenホールディングス Printing data processing device, printer, printing data processing method, and printing system
JP2018151958A (en) * 2017-03-14 2018-09-27 株式会社リコー Control program, image processing system, and processing execution control apparatus
EP3745244A1 (en) 2019-05-29 2020-12-02 Riso Kagaku Corporation Print data generating apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015130029A (en) * 2014-01-07 2015-07-16 株式会社Screenホールディングス Printing data processing device, printer, printing data processing method, and printing system
JP2018151958A (en) * 2017-03-14 2018-09-27 株式会社リコー Control program, image processing system, and processing execution control apparatus
EP3745244A1 (en) 2019-05-29 2020-12-02 Riso Kagaku Corporation Print data generating apparatus
US11068216B2 (en) 2019-05-29 2021-07-20 Riso Kagaku Corporation Print data generating apparatus, capable of determining optimized raster image processor (RIP) setting conditions that maximize printing speed

Similar Documents

Publication Publication Date Title
JP2012030575A (en) Printing apparatus, control method thereof, and program
JP4818389B2 (en) Printing apparatus and control method for data processing by parallel processing
JP6447564B2 (en) Image forming apparatus, program, and information processing system
JP2013043294A (en) Printing apparatus, printing method, computer program, and recording medium
US20110235080A1 (en) Image processing apparatus and image forming apparatus
JP5471681B2 (en) Image processing apparatus and image processing program
CN102681800B (en) Image processing apparatus and information processing method
JP5842590B2 (en) Image processing apparatus and control program for image processing apparatus
US9330351B2 (en) Image forming apparatus with recursive memory configured for selectively storing print error logs
US11405520B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium for generating intermediate data based on print data
US10089561B2 (en) Generating a raster image region by rendering in parallel plural regions of smaller height and segmenting the generated raster image region into plural regions of smaller width
JP6187110B2 (en) Print control apparatus and program
US9336468B2 (en) Image forming apparatus, image forming method, and medium
JP2009269179A (en) Printer, program and recording medium
JP5501298B2 (en) Image processing device
JP2010181999A (en) Printing system, printer, and print control program
JP2011152666A (en) Image information processing device, and image information processing program
JP2019009593A (en) Image formation system, image formation device, information processing unit, image formation program, and information processing program
JP6455676B2 (en) Electronic device and font image output program
JP2020144604A (en) Image formation system, information processor, and information processing method
JP6078954B2 (en) Image processing device
JP2016055536A (en) Image formation device, program, and control method for image formation device
JP2011165022A (en) Image processing apparatus, image forming apparatus, and program
JP6123356B2 (en) Information processing apparatus, program, and log data generation method
JP2019142104A (en) Image formation apparatus

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141104