JP5679123B2 - Print control device, print control program - Google Patents

Print control device, print control program Download PDF

Info

Publication number
JP5679123B2
JP5679123B2 JP2011244822A JP2011244822A JP5679123B2 JP 5679123 B2 JP5679123 B2 JP 5679123B2 JP 2011244822 A JP2011244822 A JP 2011244822A JP 2011244822 A JP2011244822 A JP 2011244822A JP 5679123 B2 JP5679123 B2 JP 5679123B2
Authority
JP
Japan
Prior art keywords
unit
data
image data
reusable
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011244822A
Other languages
Japanese (ja)
Other versions
JP2013101495A (en
Inventor
秀幸 山崎
秀幸 山崎
慎哉 倉富
慎哉 倉富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2011244822A priority Critical patent/JP5679123B2/en
Priority to CN201210432060.1A priority patent/CN103085506B/en
Publication of JP2013101495A publication Critical patent/JP2013101495A/en
Application granted granted Critical
Publication of JP5679123B2 publication Critical patent/JP5679123B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、バリアブル画像生成を行う印刷制御装置、印刷制御プログラムに関する。   The present invention relates to a print control apparatus and a print control program that perform variable image generation.

印刷するページの一枚一枚に対して、テキスト、線画、画像など多数のオブジェクトで構成されるフォーム部分は同じデータを使用し、顧客名のように印刷毎に変更される部分のみを差し替えて印刷するバリアブル画像生成という技術がある。   For each page to be printed, the form part consisting of many objects such as text, line drawings, images, etc. uses the same data, and replaces only the part that changes each time it is printed, such as the customer name. There is a technique called variable image generation for printing.

印刷用の画像をレンダリングする際に、毎回、すべてのオブジェクトをRIP(Raster Image Processor)したのでは、大量印刷の際に多くの時間がかかってしまう。そこで、バリアブル画像生成(即ち、バリアブルデータの処理)における一態様として、複数回登場するオブジェクト(再利用オブジェクト)と1回のみ使用されるオブジェクト(1回利用オブジェクト)とを区別し、再利用オブジェクトは初回のみRIPしてそのイメージデータをキャッシュして2回目以後はキャッシュからイメージデータを読み出してRIPを省略し、1回利用オブジェクトはその都度RIPする、といったことが行われる。   If every object is RIP (Raster Image Processor) every time an image for printing is rendered, it takes a lot of time for mass printing. Therefore, as an aspect in variable image generation (that is, variable data processing), an object that appears multiple times (reusable object) and an object that is used only once (single-use object) are distinguished, and a reusable object. RIP is performed only for the first time, the image data is cached, the image data is read from the cache after the second time, the RIP is omitted, and the object used once is RIPed each time.

図12は、印刷制御装置が行う従来のバリアブル画像生成の処理の概略の流れを示している。最初にスキーマー処理(スキーマーチェック)でバリアブルデータの文法チェックなどを行った後、各オブジェクトのRIPや、RIPして得たイメージデータを必要時にキャッシュするページ処理、各オブジェクトのイメージデータを配置情報に従ってページメモリに配置して合成するページ合成処理を実施する。1ページ分のイメージデータの合成が完成したら、印刷装置(或いは、印刷エンジン)に該ページのイメージデータを転送する。   FIG. 12 shows a schematic flow of a conventional variable image generation process performed by the print control apparatus. First, after checking the grammar of variable data by schema processing (schema check), RIP of each object, page processing that caches image data obtained by RIP when necessary, arrangement information of image data of each object A page composition process for arranging and composing in the page memory is executed. When the composition of image data for one page is completed, the image data of the page is transferred to a printing apparatus (or print engine).

通常、従来のページ処理では、各オブジェクトはバリアブルデータに定義されている順にRIPされ、再利用オブジェクトについてはRIPされた順にキャッシュされる。   Normally, in conventional page processing, each object is RIP in the order defined in the variable data, and reusable objects are cached in the RIP order.

図13は、図12に概念的に示した従来のバリアブル画像生成(バリアブルデータの処理)のページ処理に関する部分をより詳細に示した流れ図である。図13は、1ページ目の画像生成を行うまでの処理を示している。   FIG. 13 is a flowchart showing in more detail a portion related to page processing of the conventional variable image generation (variable data processing) conceptually shown in FIG. FIG. 13 shows processing until image generation for the first page is performed.

まず、バリアブルデータ全体についてスキーマーチェックを実施する(ステップS101)。その後、ページ記述の先頭に処理ポインタを移動させ(ステップS102)、バリアブルデータに定義されている順に各オブジェクトを処理する。すなわち、バリアブルデータの先頭から順にオブジェクトを検索して次に処理するオブジェクトを特定し、このオブジェクトが再利用可能なオブジェクト(再利用オブジェクト)か否かを調べる(ステップS103)。次に処理するオブジェクトが再利用オブジェクトであって未RIPであれば、これをRIPし、該RIPによって得たイメージデータをキャッシュして(ステップS104)、ステップS106へ移行する。一方、次に処理するオブジェクトが既にRIP済みの再利用オブジェクトの場合は、この再利用オブジェクトに対応するイメージデータをキャッシュから読み出して(ステップS104)、ステップS106に進む。ステップS103で特定した次に処理するオブジェクトが1回利用オブジェクトであれば、これをRIPして(ステップS105)、ステップS106に進む。   First, a schema check is performed on the entire variable data (step S101). Thereafter, the processing pointer is moved to the head of the page description (step S102), and the objects are processed in the order defined in the variable data. That is, an object is searched in order from the top of the variable data, an object to be processed next is specified, and it is checked whether or not this object is a reusable object (reusable object) (step S103). If the object to be processed next is a reusable object and is not RIP, RIP this, cache the image data obtained by the RIP (step S104), and proceed to step S106. On the other hand, if the object to be processed next is a reuse object that has already been RIPed, image data corresponding to this reuse object is read from the cache (step S104), and the process proceeds to step S106. If the object to be processed next specified in step S103 is a one-time use object, it is RIPed (step S105), and the process proceeds to step S106.

ステップS106では、ページ合成処理を行う。ページ合成処理では、ステップS104またはステップS105の処理でRIPしてあるいはキャッシュから読み出して得たイメージデータをその配置情報に従ってページ内の該当位置に配置し合成する。1ページ分の合成処理が未完了の場合は(ステップS107;No)、ステップS103に戻って処理を継続する。1ページ分の合成処理が完了したら(ステップS107;Yes)、その合成した1ページ分のイメージデータを印刷装置へ転送して(ステップS108)、処理を終了する。この処理の流れをページごとに繰り返し行うことで、バリアブルデータ全体の印刷が行われる。   In step S106, page composition processing is performed. In the page composition process, the image data obtained by RIP or reading from the cache in the process of step S104 or step S105 is arranged and synthesized at a corresponding position in the page according to the arrangement information. If the composition process for one page has not been completed (step S107; No), the process returns to step S103 to continue the process. When the composition process for one page is completed (step S107; Yes), the combined image data for one page is transferred to the printing apparatus (step S108), and the process ends. By repeating this process flow for each page, the entire variable data is printed.

ところで、キャッシュ領域のサイズには制限があるので、キャッシュ領域を有効に利用することが重要になる。   By the way, since the size of the cache area is limited, it is important to use the cache area effectively.

キャッシュの利用効率を高める技術として、たとえば、下記特許文献1には、再利用オブジェクトで構成されるフォームは圧縮してキャッシュメモリに保存しておき、この圧縮されたフォームにフォーム以外のオブジェクトを圧縮形式で直接合成可能にする技術が開示されている。   As a technique for improving the usage efficiency of a cache, for example, in Patent Document 1 below, a form composed of reusable objects is compressed and stored in a cache memory, and objects other than the form are compressed into the compressed form. A technique for enabling direct synthesis in a form is disclosed.

また、下記特許文献2には、ファイルの拡張子の種類などから再利用される可能性を判断し、再利用される可能性が低く、容量の大きいファイルは、キャッシュメモリに保存しないようにする技術が開示されている。   Also, in Patent Document 2 below, the possibility of being reused is determined based on the type of file extension, etc., and a file that has a low possibility of being reused and has a large capacity is not stored in the cache memory. Technology is disclosed.

また下記特許文献3には、再利用するオブジェクトをページ単位でキャッシュメモリに保存するか否かを判断する技術が開示されている。   Patent Document 3 below discloses a technique for determining whether or not an object to be reused is stored in a cache memory in units of pages.

米国特許第6134018号明細書US Pat. No. 6,134,018 特開2007−334687号公報JP 2007-334687 A 特開2010−128941号公報JP 2010-128941 A

図12、図13に示した、バリアブルデータに定義されている順にRIPし、再利用オブジェクトも上記定義順にRIPしてキャッシュする従来の処理方法では、キャッシュの容量制限から、すべての再利用オブジェクトのイメージデータをキャッシュできない場合、定義順で後ろに位置する再利用オブジェクトのイメージデータがキャッシュされなくなる。この場合、定義順によっては、登場回数は少ないが定義順で前に位置する再利用オブジェクトがキャッシュされ、すべてのページに登場するといったように登場回数は多いが定義順で後ろに位置する再利用オブジェクトがキャッシュされないケースが生じ得る。   In the conventional processing method shown in FIGS. 12 and 13, in which RIP is performed in the order defined in the variable data, and the reusable objects are also cached by RIP in the above defined order, all the reusable objects are excluded from the cache capacity limit. If the image data cannot be cached, the image data of the reusable object located behind in the definition order is not cached. In this case, depending on the order of definition, the reuse object that has a small number of appearances but is positioned earlier in the definition order is cached, and the reuse object that has a large number of appearances, such as appearing on all pages, is positioned behind in the definition order. There may be cases where objects are not cached.

また、キャッシュ領域として、半導体メモリのキャッシュメモリとハードディスク装置とを併用する構成では、キャッシュ先としてキャッシュメモリが優先的に使用され、キャッシュメモリに保存できない場合はハードディスク装置に保存する、といった処理が行われる。この構成の場合、ハードディスク装置は大容量なので、キャッシュ全体として容量不足になる問題は生じないかもしれないが、ハードディスク装置は半導体メモリに比べてアクセス速度が遅いので、ハードディスク装置に再利用オブジェクトのイメージデータがキャッシュされると、半導体メモリにキャッシュされる場合に比べて、そのイメージデータの読み出しに時間を要してしまう。したがって、前述の定義順にRIPやキャッシュを行う方式では、数回しか登場しないが定義順の早い再利用オブジェクトが半導体のキャッシュメモリにキャッシュされ、すべてのページに登場する定義順の遅い再利用オブジェクトがハードディスク装置にキャッシュされて読み出し効率が低下する場合が生じ得る。   In addition, in a configuration in which the cache memory of the semiconductor memory and the hard disk device are used together as the cache area, the cache memory is preferentially used as a cache destination, and if it cannot be stored in the cache memory, a process such as saving to the hard disk device is performed. Is called. In this configuration, since the hard disk device has a large capacity, there may not be a problem that the entire cache capacity is insufficient. However, since the hard disk device has a slower access speed than the semiconductor memory, the image of the reusable object is stored in the hard disk device. When data is cached, it takes more time to read out the image data than when cached in a semiconductor memory. Therefore, in the above-described method of performing RIP or caching in the order of definition, a reusable object that appears only a few times but is early in the order of definition is cached in the semiconductor cache memory, and a reusable object with a slow definition order that appears in all pages There may be a case where read efficiency decreases due to being cached in the hard disk device.

特許文献1に開示の方法のように圧縮した状態で合成可能にした場合でも、保存すべき圧縮データのデータ量が多い場合は、一部はキャッシュできない、もしくはハードディスク装置へ転送されてしまうので、利用回数の多い再利用オブジェクトがキャッシュされない、あるいはハードディスク装置にキャッシュされる場合が生じる。   Even if it is possible to synthesize in a compressed state as in the method disclosed in Patent Document 1, if the amount of compressed data to be stored is large, some of the data cannot be cached or transferred to the hard disk device. There are cases where a reusable object with a large number of uses is not cached or cached in a hard disk device.

特許文献2に開示の方法では、ファイルの拡張子の種類などから判断して再利用される可能性が低く、容量の大きいファイルをキャッシュメモリに保存しないようにしているが、拡張子の種類から再利用の可能性を的確に判断することは難しい。特許文献3に開示の方法は、再利用するオブジェクトをページ単位でキャッシュメモリに保存するか否かを判断するので、キャッシュすると判断したページ内に再利用回数の少ないオブジェクトが混在する場合には、その再利用回数の少ないオブジェクトもキャッシュされてしまい、キャッシュを十分有効利用できない場合が生じる。   In the method disclosed in Patent Document 2, there is a low possibility that the file will be reused based on the extension type of the file, and a large capacity file is not stored in the cache memory. It is difficult to accurately determine the possibility of reuse. Since the method disclosed in Patent Document 3 determines whether or not to store objects to be reused in the cache memory in units of pages, if objects with a small number of reuses are mixed in a page determined to be cached, Objects that have a small number of reuses are also cached, and the cache may not be used effectively enough.

本発明は、上記の問題を解決しようとするものであり、再利用する頻度の高いオブジェクトのイメージデータを優先的にキャッシュすることのできる印刷制御装置及び印刷制御プログラムを提供することを目的としている。   SUMMARY An advantage of some aspects of the invention is to provide a print control apparatus and a print control program capable of preferentially caching image data of an object that is frequently reused. .

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。   The gist of the present invention for achieving the object lies in the inventions of the following items.

[1]再利用可能なオブジェクトと1回利用のオブジェクトとが区別可能に含まれるバリアブル形式の印刷データを入力する入力部と、
前記印刷データに含まれるオブジェクトを展開してイメージデータを生成する展開部と、
前記入力部から入力した前記印刷データに含まれる再利用可能なオブジェクトそれぞれの利用回数を調べ、利用回数の多い順に再利用可能なオブジェクトの展開を前記展開部に指示する前処理部と、
キャッシュ用記憶部と、
前記展開部で前記前処理部からの指示に基づく再利用可能なオブジェクトのイメージデータの生成が完了する毎に、その再利用可能なオブジェクトのイメージデータを、前記キャッシュ用記憶部に必要な空き領域があって保存可能であれば前記キャッシュ用記憶部に保存する保存管理部と、
前記前処理部の指示に基づく再利用可能なオブジェクトの展開が終了した後に動作し、前記入力部から入力された前記印刷データに対応するページ毎のイメージデータを、前記キャッシュ用記憶部に保存されていないイメージデータは前記展開部に生成させて取得し、前記キャッシュ用記憶部に保存されているイメージデータはこれを読み出し、これらを合成して生成する合成部と、
前記合成部の生成したページ毎のイメージデータを印刷装置へ出力する出力部と
を有する
ことを特徴とする印刷制御装置。
[1] An input unit for inputting variable format print data including a reusable object and a one-time use object that can be distinguished from each other;
A development unit that develops an object included in the print data to generate image data;
A preprocessing unit that examines the number of uses of each reusable object included in the print data input from the input unit, and instructs the development unit to deploy reusable objects in descending order of the number of uses;
A cache storage unit;
Every time generation of image data of a reusable object based on an instruction from the preprocessing unit is completed in the expansion unit, the reusable object image data is stored in a free space necessary for the cache storage unit. A storage management unit for storing in the cache storage unit if it can be stored;
The image data for each page corresponding to the print data input from the input unit is stored in the cache storage unit, which operates after the development of the reusable object based on the instruction of the preprocessing unit is completed. Image data that is not generated is generated and acquired by the expansion unit, image data stored in the cache storage unit is read out, and a combining unit that generates and combines them;
An output unit that outputs image data for each page generated by the synthesis unit to a printing apparatus.

上記[1]及び下記[6]に係る発明では、バリアブル形式の印刷データに含まれている各再利用可能なオブジェクトの利用頻度を調べ、利用頻度の高い順番に展開部にイメージデータへの展開(RIP)を指示する。保存管理部は、RIPの完了した順に再利用オブジェクトのイメージデータを、キャッシュ用記憶部の空き容量が足りるならば、キャッシュする。ページの合成処理では、キャッシュされていないオブジェクトはその都度RIPしてイメージデータを取得し、キャッシュされているオブジェクトのイメージデータはキャッシュ用記憶部から読み出し、これらのイメージデータを合成して1ページ分の画像生成を行う。再利用可能なオブジェクトを利用頻度の高い順番にRIPし、該RIPによって得たイメージデータをRIPの完了順にキャッシュすることで、利用頻度の高い再利用可能なオブジェクトのイメージデータをキャッシュメモリに優先的に保存する。これにより、利用回数が多いオブジェクトのキャッシュ率が高まり、高い処理効率でバリアブル画像の生成を行うことができる。   In the inventions according to [1] and [6] below, the usage frequency of each reusable object included in the variable format print data is checked, and the development unit develops the image data in the order of the highest usage frequency. (RIP) is indicated. The storage management unit caches the image data of the reuse object in the order in which the RIP is completed if the free space of the cache storage unit is sufficient. In the page composition process, an uncached object RIPs each time to obtain image data, and the image data of the cached object is read from the cache storage unit, and these image data are synthesized to cover one page. Image generation is performed. RIP reusable objects in order of frequency of use, and cache the image data obtained by the RIP in the order of completion of RIP, so that image data of reusable objects with high frequency of use is given priority to the cache memory. Save to. As a result, the cache rate of an object that is frequently used is increased, and a variable image can be generated with high processing efficiency.

[2]前記キャッシュ用記憶部は、キャッシュメモリと、キャッシュメモリよりアクセス速度の遅い補助記憶装置とを有して構成され、
前記保存管理部は、保存対象のイメージデータを前記キャッシュメモリに優先的に保存し、前記キャッシュメモリの空き容量が不足する場合は、前記保存対象のイメージデータを前記補助記憶装置に保存する
ことを特徴とする請求項1に記載の印刷制御装置。
[2] The cache storage unit includes a cache memory and an auxiliary storage device having a lower access speed than the cache memory.
The storage management unit preferentially stores image data to be stored in the cache memory, and stores the image data to be stored in the auxiliary storage device when the cache memory has insufficient free space. The print control apparatus according to claim 1, wherein the print control apparatus is a print control apparatus.

上記[2]及び下記[7]に係る発明では、キャッシュメモリの空き容量が、保存対象のイメージデータの保存に不足する場合は、保存対象のイメージデータを補助記憶装置に保存する。利用頻度の高い再利用オブジェクトのイメージデータがアクセス速度の速いキャッシュメモリに優先的に保存される。   In the inventions according to [2] and [7] below, when the free space of the cache memory is insufficient for storing the image data to be stored, the image data to be stored is stored in the auxiliary storage device. Image data of a reuse object that is frequently used is preferentially stored in a cache memory having a high access speed.

[3]イメージデータを圧縮伸張する圧縮伸張部を備え、
前記保存管理部は、前記キャッシュメモリの空き容量が、保存対象のイメージデータを非圧縮の状態で保存するには不足するが前記イメージデータを前記圧縮伸張部で圧縮して得た圧縮データを保存するには足りる場合は、前記圧縮データを前記キャッシュメモリに保存する
ことを特徴とする[2]に記載の印刷制御装置。
[3] A compression / decompression unit that compresses / decompresses image data,
The storage management unit stores compressed data obtained by compressing the image data by the compression / decompression unit, although the free space of the cache memory is insufficient to store the image data to be stored in an uncompressed state. The print control apparatus according to [2], wherein the compressed data is stored in the cache memory when it is sufficient.

上記[3]及び下記[8]に係る発明では、非圧縮でキャッシュする場合に比べて圧縮してキャッシュしたイメージデータは、再利用時に伸張する必要があってその分処理時間が長くなるので、イメージデータをキャッシュメモリに保存する際には、容量的に保存可能ならば非圧縮で保存する。キャッシュメモリの空き容量不足により保存対象のイメージデータを非圧縮のまま保存できない場合は、そのデータを圧縮してキャッシュメモリに保存する。なお、圧縮してもキャッシュメモリに保存できない場合は、補助記憶装置に、たとえば、圧縮された状態で、キャッシュされる。   In the inventions according to the above [3] and [8] below, the image data that has been compressed and cached is required to be decompressed at the time of reuse as compared with the case of non-compressed caching, and the processing time is accordingly increased. When the image data is stored in the cache memory, the image data is stored uncompressed if it can be stored in a capacity. If the image data to be stored cannot be stored uncompressed due to insufficient free space in the cache memory, the data is compressed and stored in the cache memory. If the data cannot be stored in the cache memory even after being compressed, the data is cached in the auxiliary storage device in a compressed state, for example.

[4]前記前処理部は、前記印刷データに含まれる再利用可能なオブジェクトの中からすべてのページで再利用される再利用可能なオブジェクトを抽出し、抽出した再利用可能なオブジェクトの集合をフォームオブジェクトとし、前記利用回数の多い順に前記展開部に展開を指示する対象となる再利用可能なオブジェクトから該フォームオブジェクトに含まれる再利用可能なオブジェクトを除外すると共に、前記フォームオブジェクトを前記展開部でページ単位のイメージデータに展開させ、
前記保存管理部は、前記フォームオブジェクトを前記展開部で展開して得たページ単位のイメージデータをフォームデータとして前記補助記憶装置に保存し、
前記合成部は、前記印刷データに対応するページ毎のイメージデータを合成する際に、前記フォームデータを前記補助記憶装置から読み出して合成する
ことを特徴とする[2]または[3]のいずれか1項に記載の印刷制御装置。
[4] The pre-processing unit extracts reusable objects that can be reused on all pages from reusable objects included in the print data, and sets a set of the extracted reusable objects. A reusable object included in the form object is excluded from reusable objects that are targets for instructing expansion to the expansion unit in the descending order of the number of uses, and the form object is converted to the expansion unit To expand the image data in page units,
The storage management unit stores image data in units of pages obtained by expanding the form object in the expansion unit as form data in the auxiliary storage device,
The composition unit reads out the form data from the auxiliary storage device and composes the image data for each page corresponding to the print data, either [2] or [3] The printing control apparatus according to item 1.

上記[4]及び下記[9]に係る発明では、バリアブルデータの中から全てのページで使用される再利用可能なオブジェクトを抽出して、それらをフォームオブジェクトとし、該フォームオブジェクトをRIPしたイメージデータをページサイズのフォームデータとしてキャッシュしておき、ページの合成の際に使用する。これにより、全てのページに共通する再利用オブジェクトが複数存在する場合には、それらのイメージデータのページ合成を、ページ単位のフォームデータとして一括して行うことができ、その分のページ合成の処理負担を軽減することができる。   In the inventions according to [4] and [9] below, reusable objects used in all pages are extracted from variable data, made into form objects, and image data obtained by RIPing the form objects Is cached as page-size form data and used when composing pages. As a result, when there are multiple reusable objects common to all pages, the page composition of those image data can be performed collectively as form data for each page, and the corresponding page composition processing The burden can be reduced.

[5]INTERNAL_DATA形式のPPMLデータをEXTRNAL_DATA形式のPPMLデータに変換する変換部を備え、
前記入力部から入力された前記印刷データがINTERNAL_DATA形式のPPMLデータの場合は、これを前記変換部でEXTRNAL_DATA形式のPPMLデータに変換し、該変換後のデータを前記前処理部および前記合成部で処理する
ことを特徴とする[1]乃至[4]のいずれか1項に記載の印刷制御装置。
[5] A conversion unit that converts PPML data in INTERNAL_DATA format into PPML data in EXTRNAL_DATA format,
When the print data input from the input unit is INTERNAL_DATA format PPML data, the conversion unit converts the print data into EXTRNAL_DATA format PPML data, and the converted data is converted by the preprocessing unit and the synthesis unit. The printing control apparatus according to any one of [1] to [4], wherein processing is performed.

上記[5]及び下記[10]に係る発明では、入力されたバリアブル形式の印刷データがINTERNAL_DATA形式のPPMLデータであった場合、そのデータをEXTRNAL_DATA形式のPPMLデータに変換する。利用頻度を調べてソートする処理などのその後の処理でオブジェクトの配置情報等を解析しやすくなり、INTERNAL_DATA形式のPPMLデータのまま処理を行う場合よりも処理効率が上がる。   In the inventions according to [5] and [10] below, when the input variable format print data is PPML data in INTERNAL_DATA format, the data is converted into PPML data in EXTRNAL_DATA format. Subsequent processing such as processing for checking and sorting the usage frequency makes it easier to analyze the object arrangement information and the like, and the processing efficiency is higher than when processing is performed with PPML data in the INTERNAL_DATA format.

[6]キャッシュ用記憶部を備えた情報処理装置を、
再利用可能なオブジェクトと1回利用のオブジェクトとが区別可能に含まれるバリアブル形式の印刷データを入力する入力部と、
前記印刷データに含まれるオブジェクトを展開してイメージデータを生成する展開部と、
前記入力部から入力した前記印刷データに含まれる再利用可能なオブジェクトそれぞれの利用回数を調べ、利用回数の多い順に再利用可能なオブジェクトの展開を前記展開部に指示する前処理部と、
前記展開部で前記前処理部からの指示に基づく再利用可能なオブジェクトのイメージデータの生成が完了する毎に、その再利用可能なオブジェクトのイメージデータを、前記キャッシュ用記憶部に必要な空き領域があって保存可能であれば前記キャッシュ用記憶部に保存する保存管理部と、
前記前処理部の指示に基づく再利用可能なオブジェクトの展開が終了した後に動作し、前記入力部から入力された前記印刷データに対応するページ毎のイメージデータを、前記キャッシュ用記憶部に保存されていないイメージデータは前記展開部に生成させて取得し、前記キャッシュ用記憶部に保存されているイメージデータはこれを読み出し、これらを合成して生成する合成部と、
前記合成部の生成したページ毎のイメージデータを印刷装置へ出力する出力部と
として機能するように動作させる
ことを特徴とする印刷制御プログラム。
[6] An information processing apparatus including a cache storage unit is provided.
An input unit for inputting variable-format print data including a reusable object and a one-time use object that can be distinguished from each other;
A development unit that develops an object included in the print data to generate image data;
A preprocessing unit that examines the number of uses of each reusable object included in the print data input from the input unit, and instructs the development unit to deploy reusable objects in descending order of the number of uses;
Every time generation of image data of a reusable object based on an instruction from the preprocessing unit is completed in the expansion unit, the reusable object image data is stored in a free space necessary for the cache storage unit. A storage management unit for storing in the cache storage unit if it can be stored;
The image data for each page corresponding to the print data input from the input unit is stored in the cache storage unit, which operates after the development of the reusable object based on the instruction of the preprocessing unit is completed. Image data that is not generated is generated and acquired by the expansion unit, image data stored in the cache storage unit is read out, and a combining unit that generates and combines them;
A printing control program that operates to function as an output unit that outputs image data for each page generated by the combining unit to a printing apparatus.

[7]前記キャッシュ用記憶部は、キャッシュメモリと、キャッシュメモリよりアクセス速度の遅い補助記憶装置とを有して構成されており、
前記保存管理部は、保存対象のイメージデータを前記キャッシュメモリに優先的に保存し、前記キャッシュメモリの空き容量が不足する場合は、前記保存対象のイメージデータを前記補助記憶装置に保存する機能を果たす
ことを特徴とする[6]に記載の印刷制御プログラム。
[7] The cache storage unit includes a cache memory and an auxiliary storage device having an access speed slower than that of the cache memory.
The storage management unit preferentially stores the image data to be stored in the cache memory, and saves the image data to be stored in the auxiliary storage device when the cache memory has insufficient free space. The print control program according to [6], wherein the print control program is fulfilled.

[8]前記情報処理装置を、イメージデータを圧縮伸張する圧縮伸張部として更に機能させ、
前記保存管理部は、前記キャッシュメモリの空き容量が、保存対象のイメージデータを非圧縮の状態で保存するには不足するが前記イメージデータを前記圧縮伸張部で圧縮して得た圧縮データを保存するには足りる場合は、前記圧縮データを前記キャッシュメモリに保存する機能を果たす
ことを特徴とする[7]に記載の印刷制御プログラム。
[8] The information processing apparatus further functions as a compression / decompression unit that compresses / decompresses image data,
The storage management unit stores compressed data obtained by compressing the image data by the compression / decompression unit, although the free space of the cache memory is insufficient to store the image data to be stored in an uncompressed state. The print control program according to [7], wherein if necessary, the function of saving the compressed data in the cache memory is achieved.

[9]前記前処理部は、前記印刷データに含まれる再利用可能なオブジェクトの中からすべてのページで再利用される再利用可能なオブジェクトを抽出し、抽出した再利用可能なオブジェクトの集合をフォームオブジェクトとし、前記利用回数の多い順に前記展開部に展開を指示する対象となる再利用可能なオブジェクトから該フォームオブジェクトに含まれる再利用可能なオブジェクトを除外すると共に、前記フォームオブジェクトを前記展開部でページ単位のイメージデータに展開する機能を果たし、
前記保存管理部は、前記フォームオブジェクトを前記展開部で展開して得たページ単位のイメージデータをフォームデータとして前記補助記憶装置に保存する機能を果たし、
前記印刷データに対応するページ毎のイメージデータを合成する際に、前記フォームデータを前記補助記憶装置から読み出して合成する機能を果たす
ことを特徴とする[7]または[8]のいずれか1項に記載の印刷制御プログラム。
[9] The preprocessing unit extracts reusable objects that can be reused on all pages from reusable objects included in the print data, and sets a set of the extracted reusable objects. A reusable object included in the form object is excluded from reusable objects that are targets for instructing expansion to the expansion unit in the descending order of the number of uses, and the form object is converted to the expansion unit In order to expand the image data page by page,
The storage management unit fulfills a function of storing image data in page units obtained by expanding the form object in the expansion unit as form data in the auxiliary storage device,
[7] or [8], wherein when combining image data for each page corresponding to the print data, the form data is read from the auxiliary storage device and combined. Print control program described in 1.

[10]前記情報処理装置を、前記入力部から入力された前記印刷データがINTERNAL_DATA形式のPPMLデータの場合は、これをEXTRNAL_DATA形式のPPMLデータに変換する変換部として更に機能させ、
前記前処理部および前記合成部は、前記変換部で前記変換が行われた場合は、その変換後のデータを処理する
ことを特徴とする[6]乃至[9]のいずれか1項に記載の印刷制御プログラム。
[10] When the print data input from the input unit is PPML data in INTERNAL_DATA format, the information processing apparatus further functions as a conversion unit that converts the data into PPML data in EXTRNAL_DATA format.
The preprocessing unit and the synthesizing unit process data after the conversion when the conversion is performed by the conversion unit. The method according to any one of [6] to [9], Print control program.

本発明に係る印刷制御装置及び印刷制御プログラムによれば、バリアブルデータの印刷において、利用頻度の高い再利用可能なオブジェクトのイメージデータが優先的にキャッシュされて処理効率を高めることができる。   According to the printing control apparatus and the printing control program according to the present invention, it is possible to preferentially cache image data of a reusable object that is frequently used in variable data printing, thereby improving processing efficiency.

本発明の実施の形態に係る印刷制御システムの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a print control system according to an embodiment of the present invention. 本発明の実施の形態に係る印刷制御装置の機能構成を示すブロック図である。FIG. 2 is a block diagram illustrating a functional configuration of a print control apparatus according to an embodiment of the present invention. 本発明のバリアブルデータ処理の概念を示す説明図である。It is explanatory drawing which shows the concept of the variable data processing of this invention. 本発明のバリアブルデータ処理の流れを示す流れ図である。It is a flowchart which shows the flow of the variable data processing of this invention. フォームオブジェクトを抽出する処理の流れを示す流れ図である。It is a flowchart which shows the flow of the process which extracts a form object. キャッシュ処理の流れを示す流れ図である。It is a flowchart which shows the flow of a cache process. バリアブルデータのファイルを、オブジェクトを取り出しやすい形式に変更する際の処理を示す説明図である。It is explanatory drawing which shows the process at the time of changing the file of variable data into the format which is easy to take out an object. バリアブルデータを受信した際に画像形成装置が行う処理の流れの前半を示す流れ図である。6 is a flowchart showing the first half of the flow of processing performed by the image forming apparatus when variable data is received. バリアブルデータを受信した際に画像形成装置が行う処理の流れの後半を示す流れ図である。6 is a flowchart illustrating the second half of the flow of processing performed by the image forming apparatus when variable data is received. 再利用オブジェクトの利用頻度算出処理の流れを示す流れ図である。It is a flowchart which shows the flow of the utilization frequency calculation process of a reuse object. フォームオブジェクトを除く再利用オブジェクトのリストを作成し、その利用頻度をカウントし、ソートするまでの処理を示す説明図である。It is explanatory drawing which shows the process until it creates the list | wrist of the reuse object except a form object, counts the utilization frequency, and sorts. 従来のバリアブルデータ処理の概念を示す説明図である。It is explanatory drawing which shows the concept of the conventional variable data processing. 従来のバリアブルデータ処理の流れを示す流れ図である。It is a flowchart which shows the flow of the conventional variable data processing.

以下、図面に基づき本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る印刷制御システム5の概略構成を示している。印刷制御システム5は印刷制御装置10とプリンタ部20で構成される。印刷制御装置10は、当該印刷制御装置10の動作を制御するCPU(Central Processing Unit)11とこのCPU11に接続されたROM(Read Only Memory)12と、RAM(Random Access Memory)13と、不揮発メモリ14と、ハードディスク装置15と、ネットワークI/F部16と、画像処理部17と、プリンタ出力部18とで構成されている。   FIG. 1 shows a schematic configuration of a print control system 5 according to an embodiment of the present invention. The print control system 5 includes a print control device 10 and a printer unit 20. The print control apparatus 10 includes a CPU (Central Processing Unit) 11 that controls the operation of the print control apparatus 10, a ROM (Read Only Memory) 12 connected to the CPU 11, a RAM (Random Access Memory) 13, and a nonvolatile memory. 14, a hard disk device 15, a network I / F unit 16, an image processing unit 17, and a printer output unit 18.

印刷制御装置10は、バリアブル形式の印刷データ(以後、バリアブルデータとする)に含まれる各オブジェクトをRIPしてページ毎にイメージデータを合成して外部の印刷装置(本例では、プリンタ部20)に転送する機能を備えている。バリアブルデータには、印刷内容となる文字、図形、画像など各種のオブジェクトの内容および配置情報が含まれている。また、バリアブルデータに含まれるオブジェクトには、1回のみ利用される1回利用オブジェクトと、同一ページ内や複数のページで複数回利用される再利用オブジェクトとがあり、バリアブルデータは、各オブジェクトが再利用オブジェクトか否かを示す情報を含んでいる。   The print control apparatus 10 RIPs each object included in variable format print data (hereinafter referred to as variable data) and synthesizes the image data for each page to create an external printing apparatus (in this example, the printer unit 20). The function to transfer to. The variable data includes the contents and arrangement information of various objects such as characters, figures, and images that are the print contents. In addition, the objects included in the variable data include a one-time use object that is used only once and a reuse object that is used a plurality of times in the same page or on a plurality of pages. Information indicating whether or not the object is a reuse object is included.

CPU11はOSプログラムをベースとし、その上で、ミドルウェアやアプリケーションプログラムなどが実行される。ROM12には各種のプログラムが格納されており、これらのプログラムに従ってCPU11が処理を実行することで印刷制御装置10の各機能が実現される。   The CPU 11 is based on an OS program, on which middleware and application programs are executed. Various programs are stored in the ROM 12, and each function of the print control apparatus 10 is realized by the CPU 11 executing processing according to these programs.

RAM13はCPU11がプログラムを実行する際に各種のデータを一時的に格納するワークメモリやイメージデータを格納するメモリとして使用される。RAM13の一部は、キャッシュメモリ19として使用される。本例では、キャッシュメモリ19として、所定サイズの領域が固定的に確保される。   The RAM 13 is used as a work memory that temporarily stores various data and a memory that stores image data when the CPU 11 executes a program. A part of the RAM 13 is used as a cache memory 19. In this example, an area of a predetermined size is secured as the cache memory 19.

不揮発メモリ14は、電源がオフにされても記憶が保持できる書き換え可能なメモリ(フラッシュメモリ)である。不揮発メモリ14には、装置固有の情報や各種の設定情報などが記憶される。ハードディスク装置15は、大容量の不揮発の記憶装置であり、OSプログラムや各種アプリケーションプログラムや画像データなどが保存される。また、キャッシュメモリ19が空き容量不足になったときは、キャッシュ用の記憶領域としても使用される。   The nonvolatile memory 14 is a rewritable memory (flash memory) that can retain memory even when the power is turned off. The nonvolatile memory 14 stores device-specific information and various setting information. The hard disk device 15 is a large-capacity nonvolatile storage device, and stores an OS program, various application programs, image data, and the like. When the cache memory 19 runs out of free space, it is also used as a cache storage area.

ネットワークI/F部16は、LAN(Local Area Network)などのネットワークを通じて接続されている他の外部装置などと通信を行うNIC(Network Interface Card)等である。   The network I / F unit 16 is a NIC (Network Interface Card) that communicates with other external devices connected through a network such as a LAN (Local Area Network).

画像処理部17は、画像の拡大縮小、回転などの処理のほか、印刷データをイメージデータに変更するラスタライズ処理、画像データの圧縮、伸張処理を行う。   The image processing unit 17 performs processing such as image enlargement / reduction and rotation, rasterization processing for changing print data to image data, and image data compression / decompression processing.

プリンタ出力部18は、生成されたページ毎のイメージデータをプリンタ部20に転送する。   The printer output unit 18 transfers the generated image data for each page to the printer unit 20.

プリンタ部20は、印刷制御装置10のプリンタ出力部18から転送されたイメージデータを受信すると、そのイメージデータに応じた画像を記録紙上に画像形成する機能を果たす。ここでは、プリンタ部20は、記録紙の搬送装置と、感光体ドラムと、帯電装置と、レーザーユニットと、現像装置と、転写分離装置と、クリーニング装置と、定着装置とを有し、電子写真プロセスによって画像形成を行う、所謂、レーザープリンタとして構成されている。画像形成は、インクジェット方式や、他の方式でもかまわない。   When the printer unit 20 receives the image data transferred from the printer output unit 18 of the print control apparatus 10, the printer unit 20 functions to form an image corresponding to the image data on a recording sheet. Here, the printer unit 20 includes a recording paper conveyance device, a photosensitive drum, a charging device, a laser unit, a developing device, a transfer separation device, a cleaning device, and a fixing device. It is configured as a so-called laser printer that forms an image by a process. The image formation may be an ink jet method or other methods.

図2は印刷制御装置10の機能構成図である。印刷制御装置10は、前処理部39と、展開部35と、再利用オブジェクト管理部36と、ページ合成処理部37と、ラスターイメージエンジン転送部38の各機能を備えている。前処理部39は、バリアブルデータ解釈部31と、フォーム抽出処理部32と、再利用オブジェクト利用頻度算出部33と、利用頻度ソート部34の各機能を果たす。   FIG. 2 is a functional configuration diagram of the print control apparatus 10. The print control apparatus 10 includes functions of a preprocessing unit 39, a development unit 35, a reuse object management unit 36, a page composition processing unit 37, and a raster image engine transfer unit 38. The preprocessing unit 39 functions as a variable data interpretation unit 31, a form extraction processing unit 32, a reuse object usage frequency calculation unit 33, and a usage frequency sorting unit 34.

バリアブルデータ解釈部31は、入力されたバリアブルデータに対してスキーマーチェック(文法が正しいか否かを判断する)等を行って、バリアブルデータとして正しいか否かを判定し、正しい場合は、バリアブルデータの内容の解析を行い、RIP指示や、合成イメージデータを作成する為の指示を出す処理を行う。   The variable data interpretation unit 31 performs a schema check (determining whether the grammar is correct) or the like on the input variable data to determine whether it is correct as variable data. The contents of the data are analyzed, and processing for issuing an RIP instruction and an instruction for creating composite image data is performed.

フォーム抽出処理部32は、バリアブルデータに含まれる再利用オブジェクトの中から、印刷する全てのページで使用される再利用オブジェクトを抽出する。そして、抽出した再利用オブジェクトの集合をフォームオブジェクトとし、このフォームオブジェクトをRIPして、1ページ分のイメージデータであるフォームデータを作成してハードディスク装置15に保存(キャッシュ)する。   The form extraction processing unit 32 extracts a reusable object used for all pages to be printed from reusable objects included in the variable data. Then, a set of the extracted reuse objects is used as a form object, and the form object is RIPed to create form data which is image data for one page and save (cache) it in the hard disk device 15.

再利用オブジェクト利用頻度算出部33は、フォーム抽出処理部32によって抽出されなかった再利用オブジェクトの利用頻度を算出し、各再利用オブジェクトの利用回数を表したリストを作成して保存する。   The reuse object usage frequency calculation unit 33 calculates the usage frequency of the reuse object that has not been extracted by the form extraction processing unit 32, and creates and stores a list representing the number of times each reuse object is used.

利用頻度ソート部34は、再利用オブジェクト利用頻度算出部33が作成したリストに登録されている再利用オブジェクトを、利用頻度の多い順にソートし、展開部35に対してソート後の順番で再利用オブジェクトのRIP指示を出す。   The usage frequency sorting unit 34 sorts the reuse objects registered in the list created by the reuse object usage frequency calculation unit 33 in descending order of usage frequency, and reuses them in the order after sorting with respect to the expansion unit 35. Issue RIP indication for object.

展開部35は、利用頻度ソート部34に指示された順に再利用オブジェクトをRIPし、再利用オブジェクトのイメージデータ(ラスターイメージ)を作成する。また、ページ合成処理を行う際には、1回利用オブジェクトなど、キャッシュされていないオブジェクトをその都度RIPする。   The expansion unit 35 RIPs the reuse objects in the order instructed by the usage frequency sorting unit 34, and creates image data (raster image) of the reuse objects. In addition, when performing page composition processing, RIP is performed on an object that is not cached, such as a one-time use object.

再利用オブジェクト管理部36は、展開部35でRIPして得た再利用オブジェクトのイメージデータをキャッシュ(保存)すると共に、それぞれのキャッシュ先を管理する。再利用オブジェクト管理部36は、キャッシュメモリ19の空き容量に応じて、保存対象のイメージデータをキャッシュメモリ19とハードディスク装置15のいずれに保存するかを決定する。また、イメージデータを圧縮して保存するか非圧縮で保存するかについてもキャッシュメモリ19の空き容量に応じて決定する。基本的には、キャッシュメモリ19への保存を優先し、キャッシュメモリ19の空き容量が足りなくなったらハードディスク装置15に保存する。キャッシュメモリに保存したイメージデータの方が、ハードディスクに保存したイメージデータより早く読み出すことができるため、前者の方がイメージデータの読み出しにかかる時間が短くなる。キャッシュメモリ19にイメージデータを保存する場合は非圧縮での保存が優先される。これは伸張処理が不要なので早くイメージデータを取得して合成することができるためである。なお、ハードディスク装置15にキャッシュするときは、常に、圧縮したイメージデータを保存する。   The reusable object management unit 36 caches (saves) reusable object image data obtained by RIP in the expansion unit 35 and manages each cache destination. The reuse object management unit 36 determines whether to store the image data to be stored in the cache memory 19 or the hard disk device 15 according to the free space of the cache memory 19. Whether the image data is stored after being compressed or not is determined according to the free space of the cache memory 19. Basically, priority is given to storage in the cache memory 19, and storage in the hard disk device 15 is performed when the free space of the cache memory 19 becomes insufficient. Since the image data stored in the cache memory can be read out faster than the image data stored in the hard disk, the former takes less time to read out the image data. When image data is stored in the cache memory 19, uncompressed storage is prioritized. This is because image data can be acquired and synthesized quickly because no expansion process is required. Note that the compressed image data is always stored when the data is cached in the hard disk device 15.

ページ合成処理部37は、バリアブルデータ解釈部31からのイメージ合成指示に従い、フォーム抽出部処理部32がハードディスク装置15に保存したフォームデータと、再利用オブジェクト管理部36がキャッシュした再利用オブジェクトのイメージデータとを保存先から読み出して取得し、1回利用オブジェクトは展開部35でRIPしてそのイメージデータを取得し、それぞれのイメージデータをページメモリ上に配置してページ毎の画像を合成する。   The page composition processing unit 37 follows the image composition instruction from the variable data interpretation unit 31 and the form data stored in the hard disk device 15 by the form extraction unit 32 and the image of the reuse object cached by the reuse object management unit 36. The data is read from the storage destination and acquired. The once-used object RIPs the expansion unit 35 to acquire the image data, and the image data is arranged on the page memory to synthesize the images for each page.

ラスターイメージエンジン転送部38は、ページ合成処理部37によって合成されたページ毎のイメージデータをプリンタ部20に転送するプリンタ出力部18としての機能を果たす。   The raster image engine transfer unit 38 functions as the printer output unit 18 that transfers the image data for each page combined by the page combination processing unit 37 to the printer unit 20.

図3は本発明の印刷制御装置10が行うバリアブルデータの印刷処理の概念図であり、図4は本発明の印刷制御装置10が行うバリアブルデータの印刷処理の処理手順の流れを示す。図4は1ページ目の画像生成を行うまでの処理を示している。図3の概念図を参照しながら、図4の処理について説明する。   FIG. 3 is a conceptual diagram of variable data print processing performed by the print control apparatus 10 of the present invention, and FIG. 4 shows a flow of processing procedures of variable data print processing performed by the print control apparatus 10 of the present invention. FIG. 4 shows processing until image generation for the first page is performed. The process of FIG. 4 will be described with reference to the conceptual diagram of FIG.

バリアブルデータの印刷処理ではまず、スキーマーチェックを実施し(ステップS201)、その後、フォームオブジェクト抽出処理を行う(ステップS202)。フォームオブジェクト抽出処理では、バリアブルデータの印刷において全てのページで使用される再利用オブジェクトがあれば、それらの集合をページ単位のフォームオブジェクトとして抽出する。そしてこのフォームオブジェクトをRIPして得た1ページ分のイメージデータをフォームデータとし、これを圧縮してハードディスク装置15にキャッシュ(保存)する(図3参照)。フォームオブジェクト抽出処理の詳細については後述する。   In the variable data printing process, a schema check is first performed (step S201), and then a form object extraction process is performed (step S202). In the form object extraction process, if there are reusable objects that are used on all pages in the printing of variable data, those sets are extracted as form objects for each page. Then, image data for one page obtained by RIPing the form object is used as form data, which is compressed and cached (saved) in the hard disk device 15 (see FIG. 3). Details of the form object extraction processing will be described later.

その後、バリアブルデータから、フォームオブジェクトとして抽出された再利用オブジェクトを除いた、再利用オブジェクトを取り出し、その取り出した再利用オブジェクトのリストを作成する。そして、このリストに登録されている各再利用オブジェクトの利用回数を調べ、利用回数の多い順にリストをソートし、ソート後の順番で再利用オブジェクトのRIP指示を出す(ステップS203)。   Thereafter, a reuse object is extracted from the variable data excluding the reuse object extracted as a form object, and a list of the extracted reuse objects is created. Then, the number of uses of each reuse object registered in the list is checked, the list is sorted in descending order of the number of use, and RIP instructions for the reuse objects are issued in the sorted order (step S203).

ステップS203で指示された順番で再利用オブジェクトをRIPし(ステップS204)、RIPの完了した順に、再利用オブジェクトのイメージデータをキャッシュする(ステップS205)。このキャッシュ処理の詳細は後述する。上記ステップS203〜S205は図3の再利用オブジェクト処理に相当する。   The reusable objects are RIPed in the order instructed in step S203 (step S204), and the image data of the reusable objects is cached in the order of completion of the RIP (step S205). Details of this cache processing will be described later. Steps S203 to S205 correspond to the reuse object process of FIG.

次に、ページ記述の先頭に処理ポインタを移動させ(ステップS206)、バリアブルデータ内での定義順にオブジェクトのイメージデータを取得する(ステップS207)。イメージデータの取得は、処理対象のオブジェクトが1回利用オブジェクトならば、該オブジェクトをRIPしてイメージデータを取得する。処理対象のオブジェクトが再利用オブジェクトならば、その再利用オブジェクトのイメージデータをキャッシュ(保存)先から読み出して取得する。こうして取得したオブジェクトのイメージデータをそのオブジェクトの配置情報に従ってページメモリ内に配置してページ合成処理を行う(ステップS208)。   Next, the processing pointer is moved to the top of the page description (step S206), and the image data of the object is acquired in the order of definition in the variable data (step S207). For obtaining image data, if an object to be processed is a one-time use object, the image data is obtained by RIPing the object. If the object to be processed is a reuse object, the image data of the reuse object is read and acquired from the cache (storage) destination. The image data of the object acquired in this way is arranged in the page memory according to the arrangement information of the object and a page composition process is performed (step S208).

ページの合成処理が未完了の場合は(ステップS209;No)、ステップS207に戻って処理を継続する。1ページ分の合成処理が完了したら(ステップS209;Yes)、その合成済みのページのイメージデータをプリンタ部20に転送して(ステップS210)、処理を終了する。ステップS207からS208の処理をページごとに繰り返し行うことで、バリアブルデータ全体の印刷が行われる。なお、本実施形態においては、フォームオブジェクトは上記ステップS207〜S209の対象外であり、各ページのページ合成処理の最初にフォームデータをページメモリに書き込む処理が行われる。しかし、本発明の別実施形態として、フォームオブジェクトについても他の再利用オブジェクトと同様に扱い、ステップS207〜S209の対象とするようにしてもよい。この場合、ステップステップS202のフォームオブジェクト抽出処理は不要となる。   If the page composition process is not completed (step S209; No), the process returns to step S207 and continues. When the composition process for one page is completed (step S209; Yes), the image data of the combined page is transferred to the printer unit 20 (step S210), and the process ends. By repeating the processing of steps S207 to S208 for each page, the entire variable data is printed. In this embodiment, the form object is not subject to the above steps S207 to S209, and the process of writing the form data to the page memory is performed at the beginning of the page composition process of each page. However, as another embodiment of the present invention, the form object may be handled in the same manner as other reuse objects, and may be the target of steps S207 to S209. In this case, the form object extraction process in step S202 is not necessary.

本発明では、バリアブルデータの印刷処理において、再利用オブジェクトの利用回数を算出する処理と、利用回数の多い順に再利用オブジェクトをソートする処理を行うので、これらの処理を行わない従来の処理に比べて当然余分に処理時間が掛かる。しかし、バリアブルデータに依存して処理量が変わるため、一概に処理時間の増加量は算出できないが、一般的には各バリアブルデータの全体処理時間に対する増加処理時間の割合は、0.19%〜1%以内であることが経験上で確認されており、上記処理時間の増加は全体の性能にほとんど影響しない。   In the present invention, in the variable data printing process, the process for calculating the number of reused objects and the process for sorting the reused objects in the descending order of the number of times used are performed. Compared to conventional processes that do not perform these processes. Of course, it takes extra processing time. However, since the amount of processing changes depending on the variable data, the amount of increase in processing time cannot be calculated generally. However, generally, the ratio of the increased processing time to the total processing time of each variable data is 0.19% to It has been confirmed by experience that it is within 1%, and the increase in the processing time hardly affects the overall performance.

図5は、図4のステップS202で行われるフォームオブジェクト抽出処理の詳細を示している。フォームオブジェクトの抽出処理ではまず、バリアブルデータに含まれている再利用可能なオブジェクトの中から、すべてのページで再利用される再利用オブジェクトを抽出する(ステップS601)。ここで抽出した再利用オブジェクトの集合をフォームオブジェクトとする。   FIG. 5 shows details of the form object extraction process performed in step S202 of FIG. In the form object extraction process, first, a reusable object that is reused in all pages is extracted from reusable objects included in the variable data (step S601). A set of reuse objects extracted here is a form object.

すべてのページで再利用される再利用オブジェクトが無く、フォームオブジェクトが抽出されなかった場合は(ステップS602;No)、処理を終了する。フォームオブジェクトが抽出された場合は(ステップS602;Yes)、その抽出によって得たフォームオブジェクトをRIPして、1ページ分のサイズのイメージデータ(フォームデータ)を作成する(ステップS603)。詳細には、ゼロクリアしたページメモリを用意しておき、フォームオブジェクトに含まれる各再利用オブジェクトをRIPして得たイメージデータをそれぞれのオブジェクトの配置情報に従って上記ページメモリ上に配置して合成する。これにより、1ページ分のイメージデータがフォームデータとして作成される。   If there is no reusable object to be reused on all pages and no form object is extracted (step S602; No), the process ends. When the form object is extracted (step S602; Yes), the form object obtained by the extraction is RIPed to create image data (form data) having a size for one page (step S603). Specifically, a zero-cleared page memory is prepared, and image data obtained by RIPing each reusable object included in the form object is arranged on the page memory according to the arrangement information of each object and synthesized. Thereby, image data for one page is created as form data.

次に、このフォームデータを圧縮してハードディスク装置15に保存(キャッシュ)して(ステップS604)処理を終了する。   Next, the form data is compressed and saved (cached) in the hard disk device 15 (step S604), and the process is terminated.

図6は、図4のステップS205で行われる再利用オブジェクトのイメージデータのキャッシュ処理について詳細を示す。キャッシュ処理ではまず、キャッシュするイメージデータのサイズ(データ量)を取り出す(ステップS501)。キャッシュメモリの空き容量が、イメージデータのサイズより多ければ(ステップS502;Yes)、そのイメージデータを非圧縮でキャッシュメモリに保存して(ステップS503)処理を終了する。   FIG. 6 shows the details of the cache processing of the reuse object image data performed in step S205 of FIG. In the cache process, first, the size (data amount) of the image data to be cached is extracted (step S501). If the free capacity of the cache memory is larger than the size of the image data (step S502; Yes), the image data is stored in the cache memory without being compressed (step S503), and the process is terminated.

キャッシュメモリの空き容量が、イメージデータのサイズより少なければ(ステップS502;No)、そのイメージデータを圧縮し(ステップS504)、圧縮後のイメージデータのサイズ(データ量)を取り出す(ステップS505)。キャッシュメモリの空き容量が、圧縮後のイメージデータのサイズより多ければ(ステップS506;Yes)、その圧縮後のイメージデータをキャッシュメモリに保存して(ステップS507)、処理を終了する。キャッシュメモリの空き容量が、圧縮後のイメージデータのサイズより少なければ(ステップS506;No)、その圧縮後のイメージデータをハードディスク装置15に保存して(ステップS508)、処理を終了する。   If the free capacity of the cache memory is smaller than the size of the image data (step S502; No), the image data is compressed (step S504), and the size (data amount) of the compressed image data is extracted (step S505). If the free capacity of the cache memory is larger than the size of the compressed image data (step S506; Yes), the compressed image data is stored in the cache memory (step S507), and the process ends. If the free space of the cache memory is smaller than the size of the compressed image data (step S506; No), the compressed image data is stored in the hard disk device 15 (step S508), and the process is terminated.

イメージデータをキャッシュする際に、その保存場所をキャッシュメモリ19にするかハードディスク装置15にするか、および圧縮して保存するか否かは、各ページのイメージデータを合成する処理の処理効率に大きく影響する。圧縮された状態で保存されたイメージデータをページ合成で使用する為には、そのイメージデータの読み出しに加えて伸張処理を行う必要がある。ページ合成するイメージデータを取得するまでにかかる時間は「非圧縮でキャッシュメモリへ保存」した場合が最も短く、その次は「圧縮してキャッシュメモリへ保存」した場合であり、「圧縮してハードディスクへ保存」した場合が最も時間が長くなる。なお、イメージデータをハードディスクに保存する場合、非圧縮状態よりも圧縮状態で保存した方が前述の時間は短くなる。現状では、圧縮でデータ量が減少することによってハードディスク装置からの読み出し時間が短縮される時間の長さが、伸張処理の時間より長いことによる。   When image data is cached, whether the storage location is the cache memory 19 or the hard disk device 15 and whether the image data is compressed and stored or not is greatly affected by the processing efficiency of combining the image data of each page. Affect. In order to use image data stored in a compressed state in page composition, it is necessary to perform decompression processing in addition to reading out the image data. It takes the shortest time to acquire the image data for page composition when “uncompressed and stored in cache memory”, followed by “compressed and stored in cache memory” and “compressed hard disk” "Save to" will take the longest time. Note that when the image data is stored in the hard disk, the above-described time is shorter when the image data is stored in the compressed state than in the uncompressed state. At present, the length of time that the time for reading from the hard disk device is shortened by reducing the amount of data due to compression is longer than the time for decompression processing.

図7は、バリアブルデータの形式を揃える処理の概要を示す。この処理は、スキーマーチェック後、フォームオブジェクト抽出処理などが行われる前に行われる。   FIG. 7 shows an outline of processing for aligning the format of variable data. This process is performed after the schema check and before the form object extraction process or the like is performed.

本例では、バリアブルデータはPPML(Personalized Print Markup Language)データとする。PPMLデータには、画像データと配置ファイル(PPMLファイル)を別にしたEXTRNAL_DATA形式と、画像データと配置ファイルとを同一ファイル内に持つINTERNAL_DATA形式とがある。個々の画像データの形式には、たとえば、XML(Extensible Markup Language)、TIFF(Tagged Image File Format)、PS(PostScript)や、EPS(Encapsulated PostScript)等がある。それらのファイルはZIPでアーカイブされていてもよい。   In this example, the variable data is PPML (Personalized Print Markup Language) data. The PPML data includes an EXTRNAL_DATA format in which image data and an arrangement file (PPML file) are separately provided, and an INTERRNAL_DATA format in which the image data and the arrangement file are included in the same file. Examples of the format of individual image data include XML (Extensible Markup Language), TIFF (Tagged Image File Format), PS (PostScript), and EPS (Encapsulated PostScript). Those files may be archived by ZIP.

EXTRNAL_DATA形式は、1つ1つの画像データを個別のファイルとして保持する形式(EXTRNAL_DATA)と、PDF等の外部ファイルで複数の画像データを1つのファイルに保持する形式(EXTRNAL_DATA_ARRAY)の2タイプが有る。後者のタイプでは、たとえば、1つの画像を1つのページとした複数ページの画像ファイルが使用される。画像データと配置ファイルを同一ファイル内に持った形式(INTERNAL_DATA)は、画像データをunencodeした文字として配置ファイル内に保存したものである。   There are two types of EXTRNAL_DATA format: a format in which each piece of image data is held as an individual file (EXTRNAL_DATA), and a format in which a plurality of image data is held in one file as an external file such as PDF (EXTRNAL_DATA_ARRAY). In the latter type, for example, an image file of a plurality of pages in which one image is one page is used. The format (INTERNAL_DATA) having the image data and the arrangement file in the same file is stored in the arrangement file as unencoded characters of the image data.

ここで、バリアブルデータから再利用オブジェクトを取り出す前に、バリアブルデータの形式を、後の処理を効率よく行うことのできる形式に変換する。まず、ファイルがZIPされていたら解凍する。EXTRNAL_DATA形式の場合と、EXTRNAL_DATA_ARRAY形式の場合はそのままでよく、変換しない。   Here, before the reusable object is extracted from the variable data, the format of the variable data is converted into a format that allows efficient subsequent processing. First, if the file is ZIP, unzip it. In the case of the EXTRNAL_DATA format and the case of the EXTRNAL_DATA_ARRAY format, it can be left as it is and is not converted.

INTERNAL_DATA形式の場合、そのままでも、そこから画像データを取り出すことは可能であるが、画像データが配置ファイルと共に1つのファイルに含まれているため、画像データを取り出す度に画像データを取り出すための膨大な処理を行わなければならない。また、各オブジェクトの利用頻度を調べる際には、画像データを含むINTERNAL_DATA形式のバリアブルデータ全体を検索しなければならず、配置情報だけのファイルを検索する場合に比べて処理時間を要する。   In the case of the INTERNAL_DATA format, it is possible to extract the image data from there as it is, but since the image data is included in one file together with the arrangement file, the enormous volume for extracting the image data every time the image data is extracted. Must be done. Further, when examining the usage frequency of each object, it is necessary to search the entire INTERNAL_DATA format variable data including the image data, and processing time is required compared to the case of searching for a file containing only arrangement information.

そこで、まず画像データを全て取り出し、取り出した画像データを外部ファイル形式に変換することで、INTERNAL_DATA形式のファイルをEXTRNAL_DATA形式に変換する。これにより、その後の処理で、オブジェクトの配置情報を取り出したり、再利用オブジェクトのリストを作成したり、利用頻度を調べたりする処理を効率よく行うことができ、INTERNAL_DATA形式のPPMLデータのまま処理を行う場合よりも処理効率が上がる。   Therefore, first, all the image data is extracted, and the extracted image data is converted into an external file format, thereby converting the INTERNAL_DATA format file into the EXTRNAL_DATA format. As a result, in subsequent processing, it is possible to efficiently perform processing such as retrieving object arrangement information, creating a list of reusable objects, and examining usage frequency, and processing with PPML data in INTERNAL_DATA format. The processing efficiency is higher than when it is performed.

図8、図9は印刷制御装置10がバリアブルデータを受信し、バリアブル印刷を行う際の処理の詳細な流れを示す。   8 and 9 show a detailed flow of processing when the print control apparatus 10 receives variable data and performs variable printing.

印刷制御装置10はバリアブルデータを受信したら、まずスキーマー処理を行い(ステップS301)、フォームオブジェクトの抽出処理を行う(ステップS302)。フォームオブジェクトの抽出処理については図5で説明した処理を行う。そして、フォームオブジェクトとして抽出された再利用オブジェクト以外の再利用オブジェクトの利用頻度算出処理を行う(ステップS303)。この再利用オブジェクトの利用頻度算出処理の詳細は後述する。   When receiving the variable data, the print control apparatus 10 first performs schema processing (step S301), and performs form object extraction processing (step S302). The form object extraction process is the same as that described with reference to FIG. Then, the usage frequency calculation processing of the reuse object other than the reuse object extracted as the form object is performed (step S303). Details of the reuse object usage frequency calculation process will be described later.

フォームオブジェクトとして抽出された再利用オブジェクト以外の再利用オブジェクトをステップS303で算出した利用頻度(利用回数)順にRIPするように展開部35に指示し(ステップS304)、指示を受けた展開部35は、指示に従って再利用オブジェクトをRIPし、その再利用オブジェクトのイメージデータを作成する(ステップS305)。その後、展開部35によって作成されたイメージデータのキャッシュ処理を行う(ステップS306)。キャッシュ処理については、図6で説明した処理を行う。そして、ページ記述の先頭に処理ポインタを移動させる(ステップS307)。   The expansion unit 35 is instructed to RIP reuse objects other than the reuse object extracted as the form object in the order of the usage frequency (number of times of use) calculated in step S303 (step S304). In accordance with the instruction, the reusable object is RIPed to create image data of the reusable object (step S305). Thereafter, the image data created by the expansion unit 35 is cached (step S306). For the cache processing, the processing described in FIG. 6 is performed. Then, the processing pointer is moved to the top of the page description (step S307).

これより、図3の概念図で示したページ処理に入る。ページ処理では1ページずつ画像生成を行う。ステップS308では、フォームオブジェクトのフォームデータがハードディスク装置15に保存されているかを調べる(ステップS308)。フォームデータが保存されていなければ(ステップS308;No)、ページメモリをクリアし(ステップS310)、ステップS311に進む。フォームデータがあれば(ステップS308;Yes)、そのフォームデータをページメモリに書き込み(ステップS309)、ステップS311に進む。   Thus, the page processing shown in the conceptual diagram of FIG. 3 is entered. In page processing, images are generated page by page. In step S308, it is checked whether the form object form data is stored in the hard disk device 15 (step S308). If the form data is not stored (step S308; No), the page memory is cleared (step S310), and the process proceeds to step S311. If there is form data (step S308; Yes), the form data is written in the page memory (step S309), and the process proceeds to step S311.

ステップS311以降の処理では、バリアブルデータでの定義順に従って各オブジェクトのイメージデータを取得してページ合成する。まず、定義順に従って次に処理するオブジェクトを特定し、そのオブジェクトのイメージデータを取得する(ステップS311)。具体的には、このオブジェクトが1回利用オブジェクトであればRIPして、そのイメージデータを取得し、オブジェクトが再利用オブジェクトであれば、ステップS306でキャッシュしておいた当該再利用オブジェクトのイメージデータをキャッシュから読み出す。次に、ステップS311で取得したイメージデータを使用してページの合成処理を行う(ステップS312)。すなわち、そのオブジェクトの配置情報に従ってそのオブジェクトのイメージデータをページメモリに書き込み合成する。1ページ分のページの合成処理が完了したか否かを調べ、未完了ならば(ステップS313;No)ステップS311に戻って処理を継続する。1ページ分の合成処理が完了した場合は(ステップS313;Yes)、その合成処理が完了したページのイメージデータを、プリンタ部20に転送する(ステップS314)。   In the processing after step S311, image data of each object is acquired in accordance with the definition order in the variable data, and the page is synthesized. First, an object to be processed next is specified according to the definition order, and image data of the object is acquired (step S311). Specifically, if this object is a one-time use object, RIP is performed to obtain the image data. If the object is a reuse object, the image data of the reuse object cached in step S306 is obtained. Is read from the cache. Next, page composition processing is performed using the image data acquired in step S311 (step S312). That is, the image data of the object is written into the page memory and synthesized according to the arrangement information of the object. It is checked whether or not the page combining process for one page is completed. If it is not completed (step S313; No), the process returns to step S311 to continue the process. When the composition process for one page is completed (step S313; Yes), the image data of the page for which the composition process has been completed is transferred to the printer unit 20 (step S314).

続いて、バリアブルデータで印刷指示されたすべてのページのイメージデータの転送が終了したか否かを調べ、終了していなければ(ステップS315;No)、ステップS308に戻る。全てのページの転送が終了したら(ステップS315;Yes)、処理を終了する。   Subsequently, it is checked whether or not the transfer of the image data of all pages instructed to print with the variable data is completed. If not completed (step S315; No), the process returns to step S308. When the transfer of all pages is completed (step S315; Yes), the process ends.

図10は、図8のステップS303で行われる再利用オブジェクトの利用頻度算出処理の詳細を、図11は、フォームオブジェクト以外の再利用オブジェクトのリストを作成して利用頻度(利用回数)によってソートする際の概要を示す。図11を参照しつつ、図10について説明する。   FIG. 10 shows details of the reuse object usage frequency calculation processing performed in step S303 of FIG. 8, and FIG. 11 creates a list of reuse objects other than form objects and sorts them by usage frequency (usage frequency). An overview of the situation is shown. FIG. 10 will be described with reference to FIG.

まず、バリアブルデータの中から、フォームオブジェクトとして抽出された再利用オブジェクト以外の再利用オブジェクトの名前を全て取り出し、取り出した再利用オブジェクトのリストを作成する(ステップS401)。図11では、再利用オブジェクト1〜10がリストに記載されている。この段階のリストには、バリアブルデータ内の定義順(登場順)に再利用オブジェクトが登録されている。   First, all the names of reusable objects other than reusable objects extracted as form objects are extracted from the variable data, and a list of extracted reusable objects is created (step S401). In FIG. 11, the reuse objects 1 to 10 are listed. In the list at this stage, reusable objects are registered in the definition order (appearance order) in the variable data.

次に、ページ記述の先頭に処理ポインタを移動させ(ステップS402)、バリアブルデータに定義されている順番に再利用オブジェクトを取り出す(ステップS403)。取り出した再利用オブジェクトがステップS401で作成したリストに記載の再利用オブジェクトであるか否かを判定し(ステップS404)、取り出した再利用オブジェクトはリストに記載の再利用オブジェクトでないと判定したら(ステップS404;No)、ステップS406に進む。リストに記載の再利用オブジェクトであると判定したら(ステップS404;Yes)、リストの該当する再利用オブジェクトの回数の欄の値をカウントアップし(ステップS405)、ステップS406に進む。   Next, the processing pointer is moved to the top of the page description (step S402), and reusable objects are extracted in the order defined in the variable data (step S403). It is determined whether or not the extracted reuse object is the reuse object described in the list created in step S401 (step S404). If it is determined that the extracted reuse object is not the reuse object described in the list (step S404). S404; No), the process proceeds to step S406. If it is determined that the object is a reuse object described in the list (step S404; Yes), the value of the number of the corresponding reuse object in the list is counted up (step S405), and the process proceeds to step S406.

フォームオブジェクトを除いた全ての再利用オブジェクトを取り出していなければ(ステップS406;No)、ステップS402に戻って処理を継続する。フォームオブジェクトを除いた全ての再利用オブジェクトの取り出しが終了したら(ステップS406;Yes)、リストの再利用オブジェクトを、ステップS405でカウントされた回数が多い順にソートし(ステップS407)、処理を終了する。   If all the reuse objects except the form object have not been extracted (step S406; No), the process returns to step S402 and the process is continued. When extraction of all the reuse objects excluding form objects is completed (step S406; Yes), the list reuse objects are sorted in descending order of the number counted in step S405 (step S407), and the process is terminated. .

図11ではソート後において、再利用オブジェクト6(50回)が最も回数が多かったのでリストの一番上に移動している。再利用オブジェクト6(50回)の下には、再利用オブジェクト8(30回)、再利用オブジェクト10(11回)・・・と回数が多い順に続いていく。そして、このソートされたリストの再利用オブジェクトについて、上から順番にRIP指示を出していく。再利用オブジェクトはこの指示された順番でRIPされ、キャッシュされる。   In FIG. 11, after the sorting, the reusable object 6 (50 times) has moved to the top of the list because it has the highest number of times. Under the reuse object 6 (50 times), the reuse object 8 (30 times), the reuse object 10 (11 times),... Then, RIP instructions are issued in order from the top for the reusable objects in the sorted list. Reusable objects are RIPed and cached in this indicated order.

詳細には、1つのRIP指示を出し、そのRIPが完了したら次のRIP指示を出す。なお、RIP処理を行う展開部が複数存在するような場合には、複数の展開部に利用頻度の多い順にRIP指示を出す。   Specifically, one RIP instruction is issued, and when the RIP is completed, the next RIP instruction is issued. If there are a plurality of expansion units that perform RIP processing, RIP instructions are issued to the plurality of expansion units in order of frequency of use.

本発明のバリアブルデータの印刷処理では、再利用オブジェクトのイメージデータをキャッシュする際に、利用頻度の高い再利用オブジェクトから順番にRIP指示を出し、RIPの完了順に再利用オブジェクトのイメージデータをキャッシュするので、利用頻度の高い再利用オブジェクトのイメージデータが優先的にキャッシュメモリに保存される。これにより処理効率が高い状態で、バリアブル画像生成を行うことができる。   In the variable data printing process of the present invention, when image data of reusable objects is cached, RIP instructions are issued in order from reusable objects that are frequently used, and the image data of reusable objects is cached in the order of completion of RIP. Therefore, the image data of the reuse object that is frequently used is preferentially stored in the cache memory. This makes it possible to generate a variable image with high processing efficiency.

以上、本発明の実施の形態を図面によって説明してきたが、具体的な構成は実施の形態に示したものに限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。   The embodiment of the present invention has been described with reference to the drawings. However, the specific configuration is not limited to that shown in the embodiment, and there are changes and additions within the scope of the present invention. Are also included in the present invention.

本発明の実施の形態では、プリンタ部20を外部に設けたが、印刷制御装置10と一体の装置であってもよい。   In the embodiment of the present invention, the printer unit 20 is provided outside, but an apparatus integrated with the print control apparatus 10 may be used.

本発明の実施の形態では、キャッシュメモリ19に保存できなかった再利用オブジェクトのイメージデータはハードディスク装置15に保存したが、キャッシュメモリ19に保存できなかった再利用オブジェクトのイメージデータは保存しない構成でもよい。   In the embodiment of the present invention, the image data of the reuse object that could not be saved in the cache memory 19 was saved in the hard disk device 15, but the image data of the reuse object that could not be saved in the cache memory 19 was not saved. Good.

本発明の実施の形態では、フォームオブジェクト抽出処理は、再利用オブジェクトのリスト作成前に行ったが、全ての再利用オブジェクトのリストを作成後、その中からフォームオブジェクトとなる再利用オブジェクトを抽出してもよい。   In the embodiment of the present invention, the form object extraction process is performed before creating a list of reuse objects. After creating a list of all reuse objects, a reuse object to be a form object is extracted from the list. May be.

本発明の実施の形態では、バリアブルデータのファイルがPPMLであったが、他の種類のファイルでもよい。画像データと配置ファイルを分けることができるファイル形式であることが望ましい。   In the embodiment of the present invention, the variable data file is PPML, but other types of files may be used. It is desirable that the file format can separate the image data and the arrangement file.

5…印刷制御システム
10…印刷制御装置
11…CPU
12…ROM
13…RAM
14…不揮発メモリ
15…ハードディスク装置
16…ネットワークI/F部
17…画像処理部
18…プリンタ出力部
19…キャッシュメモリ
20…プリンタ部
31…バリアブルデータ解釈部
32…フォーム抽出処理部
33…再利用オブジェクト利用頻度算出部
34…利用頻度ソート部
35…展開部
36…再利用オブジェクト管理部
37…ページ合成処理部
38…ラスターイメージエンジン転送部
39…前処理部
5 ... Print control system 10 ... Print control device 11 ... CPU
12 ... ROM
13 ... RAM
DESCRIPTION OF SYMBOLS 14 ... Non-volatile memory 15 ... Hard disk device 16 ... Network I / F part 17 ... Image processing part 18 ... Printer output part 19 ... Cache memory 20 ... Printer part 31 ... Variable data interpretation part 32 ... Form extraction process part 33 ... Reuse object Usage frequency calculation unit 34 ... Usage frequency sorting unit 35 ... Development unit 36 ... Reuse object management unit 37 ... Page composition processing unit 38 ... Raster image engine transfer unit 39 ... Pre-processing unit

Claims (10)

再利用可能なオブジェクトと1回利用のオブジェクトとが区別可能に含まれるバリアブル形式の印刷データを入力する入力部と、
前記印刷データに含まれるオブジェクトを展開してイメージデータを生成する展開部と、
前記入力部から入力した前記印刷データに含まれる再利用可能なオブジェクトそれぞれの利用回数を調べ、利用回数の多い順に再利用可能なオブジェクトの展開を前記展開部に指示する前処理部と、
キャッシュ用記憶部と、
前記展開部で前記前処理部からの指示に基づく再利用可能なオブジェクトのイメージデータの生成が完了する毎に、その再利用可能なオブジェクトのイメージデータを、前記キャッシュ用記憶部に必要な空き領域があって保存可能であれば前記キャッシュ用記憶部に保存する保存管理部と、
前記前処理部の指示に基づく再利用可能なオブジェクトの展開が終了した後に動作し、前記入力部から入力された前記印刷データに対応するページ毎のイメージデータを、前記キャッシュ用記憶部に保存されていないイメージデータは前記展開部に生成させて取得し、前記キャッシュ用記憶部に保存されているイメージデータはこれを読み出し、これらを合成して生成する合成部と、
前記合成部の生成したページ毎のイメージデータを印刷装置へ出力する出力部と
を有する
ことを特徴とする印刷制御装置。
An input unit for inputting variable-format print data including a reusable object and a one-time use object that can be distinguished from each other;
A development unit that develops an object included in the print data to generate image data;
A preprocessing unit that examines the number of uses of each reusable object included in the print data input from the input unit, and instructs the development unit to deploy reusable objects in descending order of the number of uses;
A cache storage unit;
Every time generation of image data of a reusable object based on an instruction from the preprocessing unit is completed in the expansion unit, the reusable object image data is stored in a free space necessary for the cache storage unit. A storage management unit for storing in the cache storage unit if it can be stored;
The image data for each page corresponding to the print data input from the input unit is stored in the cache storage unit, which operates after the development of the reusable object based on the instruction of the preprocessing unit is completed. Image data that is not generated is generated and acquired by the expansion unit, image data stored in the cache storage unit is read out, and a combining unit that generates and combines them;
An output unit that outputs image data for each page generated by the synthesis unit to a printing apparatus.
前記キャッシュ用記憶部は、キャッシュメモリと、キャッシュメモリよりアクセス速度の遅い補助記憶装置とを有して構成され、
前記保存管理部は、保存対象のイメージデータを前記キャッシュメモリに優先的に保存し、前記キャッシュメモリの空き容量が不足する場合は、前記保存対象のイメージデータを前記補助記憶装置に保存する
ことを特徴とする請求項1に記載の印刷制御装置。
The cache storage unit includes a cache memory and an auxiliary storage device having an access speed slower than that of the cache memory.
The storage management unit preferentially stores image data to be stored in the cache memory, and stores the image data to be stored in the auxiliary storage device when the cache memory has insufficient free space. The print control apparatus according to claim 1, wherein the print control apparatus is a print control apparatus.
イメージデータを圧縮伸張する圧縮伸張部を備え、
前記保存管理部は、前記キャッシュメモリの空き容量が、保存対象のイメージデータを非圧縮の状態で保存するには不足するが前記イメージデータを前記圧縮伸張部で圧縮して得た圧縮データを保存するには足りる場合は、前記圧縮データを前記キャッシュメモリに保存する
ことを特徴とする請求項2に記載の印刷制御装置。
A compression / decompression unit that compresses and decompresses image data
The storage management unit stores compressed data obtained by compressing the image data by the compression / decompression unit, although the free space of the cache memory is insufficient to store the image data to be stored in an uncompressed state. The print control apparatus according to claim 2, wherein the compressed data is stored in the cache memory when it is sufficient.
前記前処理部は、前記印刷データに含まれる再利用可能なオブジェクトの中からすべてのページで再利用される再利用可能なオブジェクトを抽出し、抽出した再利用可能なオブジェクトの集合をフォームオブジェクトとし、前記利用回数の多い順に前記展開部に展開を指示する対象となる再利用可能なオブジェクトから該フォームオブジェクトに含まれる再利用可能なオブジェクトを除外すると共に、前記フォームオブジェクトを前記展開部でページ単位のイメージデータに展開させ、
前記保存管理部は、前記フォームオブジェクトを前記展開部で展開して得たページ単位のイメージデータをフォームデータとして前記補助記憶装置に保存し、
前記合成部は、前記印刷データに対応するページ毎のイメージデータを合成する際に、前記フォームデータを前記補助記憶装置から読み出して合成する
ことを特徴とする請求項2または3のいずれか1項に記載の印刷制御装置。
The pre-processing unit extracts reusable objects that can be reused on all pages from reusable objects included in the print data, and sets the extracted set of reusable objects as form objects. The reusable object included in the form object is excluded from the reusable objects to be instructed to be expanded to the expansion unit in the descending order of the number of uses, and the form object is paged by the expansion unit. To the image data of
The storage management unit stores image data in units of pages obtained by expanding the form object in the expansion unit as form data in the auxiliary storage device,
4. The composition unit according to claim 2, wherein the composition unit reads the form data from the auxiliary storage device and composes the image data for each page corresponding to the print data. The printing control apparatus according to 1.
INTERNAL_DATA形式のPPMLデータをEXTRNAL_DATA形式のPPMLデータに変換する変換部を備え、
前記入力部から入力された前記印刷データがINTERNAL_DATA形式のPPMLデータの場合は、これを前記変換部でEXTRNAL_DATA形式のPPMLデータに変換し、該変換後のデータを前記前処理部および前記合成部で処理する
ことを特徴とする請求項1乃至4のいずれか1項に記載の印刷制御装置。
A conversion unit for converting PPML data in INTERRNAL_DATA format into PPML data in EXTRNAL_DATA format;
When the print data input from the input unit is INTERNAL_DATA format PPML data, the conversion unit converts the print data into EXTRNAL_DATA format PPML data, and the converted data is converted by the preprocessing unit and the synthesis unit. The printing control apparatus according to claim 1, wherein the printing control apparatus performs processing.
キャッシュ用記憶部を備えた情報処理装置を、
再利用可能なオブジェクトと1回利用のオブジェクトとが区別可能に含まれるバリアブル形式の印刷データを入力する入力部と、
前記印刷データに含まれるオブジェクトを展開してイメージデータを生成する展開部と、
前記入力部から入力した前記印刷データに含まれる再利用可能なオブジェクトそれぞれの利用回数を調べ、利用回数の多い順に再利用可能なオブジェクトの展開を前記展開部に指示する前処理部と、
前記展開部で前記前処理部からの指示に基づく再利用可能なオブジェクトのイメージデータの生成が完了する毎に、その再利用可能なオブジェクトのイメージデータを、前記キャッシュ用記憶部に必要な空き領域があって保存可能であれば前記キャッシュ用記憶部に保存する保存管理部と、
前記前処理部の指示に基づく再利用可能なオブジェクトの展開が終了した後に動作し、前記入力部から入力された前記印刷データに対応するページ毎のイメージデータを、前記キャッシュ用記憶部に保存されていないイメージデータは前記展開部に生成させて取得し、前記キャッシュ用記憶部に保存されているイメージデータはこれを読み出し、これらを合成して生成する合成部と、
前記合成部の生成したページ毎のイメージデータを印刷装置へ出力する出力部と
として機能するように動作させる
ことを特徴とする印刷制御プログラム。
An information processing apparatus including a cache storage unit is provided.
An input unit for inputting variable-format print data including a reusable object and a one-time use object that can be distinguished from each other;
A development unit that develops an object included in the print data to generate image data;
A preprocessing unit that examines the number of uses of each reusable object included in the print data input from the input unit, and instructs the development unit to deploy reusable objects in descending order of the number of uses;
Every time generation of image data of a reusable object based on an instruction from the preprocessing unit is completed in the expansion unit, the reusable object image data is stored in a free space necessary for the cache storage unit. A storage management unit for storing in the cache storage unit if it can be stored;
The image data for each page corresponding to the print data input from the input unit is stored in the cache storage unit, which operates after the development of the reusable object based on the instruction of the preprocessing unit is completed. Image data that is not generated is generated and acquired by the expansion unit, image data stored in the cache storage unit is read out, and a combining unit that generates and combines them;
A printing control program that operates to function as an output unit that outputs image data for each page generated by the combining unit to a printing apparatus.
前記キャッシュ用記憶部は、キャッシュメモリと、キャッシュメモリよりアクセス速度の遅い補助記憶装置とを有して構成されており、
前記保存管理部は、保存対象のイメージデータを前記キャッシュメモリに優先的に保存し、前記キャッシュメモリの空き容量が不足する場合は、前記保存対象のイメージデータを前記補助記憶装置に保存する機能を果たす
ことを特徴とする請求項6に記載の印刷制御プログラム。
The cache storage unit includes a cache memory and an auxiliary storage device having a slower access speed than the cache memory.
The storage management unit preferentially stores the image data to be stored in the cache memory, and saves the image data to be stored in the auxiliary storage device when the cache memory has insufficient free space. The print control program according to claim 6, wherein the print control program is executed.
前記情報処理装置を、イメージデータを圧縮伸張する圧縮伸張部として更に機能させ、
前記保存管理部は、前記キャッシュメモリの空き容量が、保存対象のイメージデータを非圧縮の状態で保存するには不足するが前記イメージデータを前記圧縮伸張部で圧縮して得た圧縮データを保存するには足りる場合は、前記圧縮データを前記キャッシュメモリに保存する機能を果たす
ことを特徴とする請求項7に記載の印刷制御プログラム。
Further causing the information processing apparatus to function as a compression / decompression unit that compresses / decompresses image data;
The storage management unit stores compressed data obtained by compressing the image data by the compression / decompression unit, although the free space of the cache memory is insufficient to store the image data to be stored in an uncompressed state. The print control program according to claim 7, wherein if necessary, the print control program has a function of storing the compressed data in the cache memory.
前記前処理部は、前記印刷データに含まれる再利用可能なオブジェクトの中からすべてのページで再利用される再利用可能なオブジェクトを抽出し、抽出した再利用可能なオブジェクトの集合をフォームオブジェクトとし、前記利用回数の多い順に前記展開部に展開を指示する対象となる再利用可能なオブジェクトから該フォームオブジェクトに含まれる再利用可能なオブジェクトを除外すると共に、前記フォームオブジェクトを前記展開部でページ単位のイメージデータに展開する機能を果たし、
前記保存管理部は、前記フォームオブジェクトを前記展開部で展開して得たページ単位のイメージデータをフォームデータとして前記補助記憶装置に保存する機能を果たし、
前記印刷データに対応するページ毎のイメージデータを合成する際に、前記フォームデータを前記補助記憶装置から読み出して合成する機能を果たす
ことを特徴とする請求項7または8のいずれか1項に記載の印刷制御プログラム。
The pre-processing unit extracts reusable objects that can be reused on all pages from reusable objects included in the print data, and sets the extracted set of reusable objects as form objects. The reusable object included in the form object is excluded from the reusable objects to be instructed to be expanded to the expansion unit in the descending order of the number of uses, and the form object is paged by the expansion unit. The function to expand to the image data of
The storage management unit fulfills a function of storing image data in page units obtained by expanding the form object in the expansion unit as form data in the auxiliary storage device,
9. The function according to claim 7, wherein when combining image data for each page corresponding to the print data, the form data is read from the auxiliary storage device and combined. Print control program.
前記情報処理装置を、前記入力部から入力された前記印刷データがINTERNAL_DATA形式のPPMLデータの場合は、これをEXTRNAL_DATA形式のPPMLデータに変換する変換部として更に機能させ、
前記前処理部および前記合成部は、前記変換部で前記変換が行われた場合は、その変換後のデータを処理する
ことを特徴とする請求項6乃至9のいずれか1項に記載の印刷制御プログラム。
When the print data input from the input unit is PPML data in INTERNAL_DATA format, the information processing apparatus further functions as a conversion unit that converts the print data into PPML data in EXTRNAL_DATA format.
The printing according to any one of claims 6 to 9, wherein the preprocessing unit and the synthesis unit process data after the conversion when the conversion is performed by the conversion unit. Control program.
JP2011244822A 2011-11-08 2011-11-08 Print control device, print control program Active JP5679123B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011244822A JP5679123B2 (en) 2011-11-08 2011-11-08 Print control device, print control program
CN201210432060.1A CN103085506B (en) 2011-11-08 2012-11-02 Printing control apparatus and printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011244822A JP5679123B2 (en) 2011-11-08 2011-11-08 Print control device, print control program

Publications (2)

Publication Number Publication Date
JP2013101495A JP2013101495A (en) 2013-05-23
JP5679123B2 true JP5679123B2 (en) 2015-03-04

Family

ID=48198844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011244822A Active JP5679123B2 (en) 2011-11-08 2011-11-08 Print control device, print control program

Country Status (2)

Country Link
JP (1) JP5679123B2 (en)
CN (1) CN103085506B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6058496B2 (en) * 2013-07-19 2017-01-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus, image forming system, and image forming method
JP6017505B2 (en) 2014-09-18 2016-11-02 京セラドキュメントソリューションズ株式会社 Printing program
JP6759922B2 (en) * 2016-09-20 2020-09-23 富士ゼロックス株式会社 Image processing equipment and programs
CN108196850A (en) * 2018-01-29 2018-06-22 上海法顿印刷有限公司 A kind of automatic data processing and keyline layout method applied to variable information printing
JP7163833B2 (en) * 2019-03-15 2022-11-01 コニカミノルタ株式会社 Variable print image inspection system
JP2021071811A (en) * 2019-10-29 2021-05-06 富士ゼロックス株式会社 Print control device, printing system, and print control program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06106810A (en) * 1992-09-24 1994-04-19 Canon Inc Method for forming image and its device
JP2006237825A (en) * 2005-02-23 2006-09-07 Konica Minolta Business Technologies Inc Image processing device, image processing method and image processing program
JP2007331312A (en) * 2006-06-16 2007-12-27 Canon Inc Printing equipment, printing control method, program, storage medium
JP2008152624A (en) * 2006-12-19 2008-07-03 Canon Inc Information processing apparatus and printing apparatus control method
JP5305930B2 (en) * 2009-01-13 2013-10-02 キヤノン株式会社 Image forming apparatus, job processing method, program, and storage medium
JP4771241B2 (en) * 2009-07-17 2011-09-14 コニカミノルタビジネステクノロジーズ株式会社 Variable printing system
JP5679652B2 (en) * 2009-12-09 2015-03-04 キヤノン株式会社 Printing apparatus, information processing method, and program
JP4895408B2 (en) * 2009-12-28 2012-03-14 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and computer program

Also Published As

Publication number Publication date
CN103085506A (en) 2013-05-08
CN103085506B (en) 2015-06-17
JP2013101495A (en) 2013-05-23

Similar Documents

Publication Publication Date Title
JP5679123B2 (en) Print control device, print control program
KR100661173B1 (en) Print having a direct printing function and printing method thereof
US8553272B2 (en) Image processing apparatus, image processing method, program therefor, and medium storing program
US8520243B2 (en) Image forming apparatus, computer-readable recording medium on which print data processing program code is recorded, and print data processing method
JP5370044B2 (en) Image processing apparatus, image forming apparatus, and program
JP5691688B2 (en) Print control apparatus, print control program, and print control method
JP2004348622A (en) Electronic document printing system
JP2012148429A (en) Print data processing apparatus, cache processing method, and program
JP4183557B2 (en) Electronic document printing system
US8325376B2 (en) Image-forming device having index printing function
JP6135329B2 (en) Print data processing apparatus, program, and system
JPH06106810A (en) Method for forming image and its device
JP5297238B2 (en) Image forming apparatus, control method therefor, and program
JP5244770B2 (en) Image forming apparatus
JP2018029275A (en) Image processing apparatus, method, and program
JP2001075759A (en) Information processor and its method
JP2004348423A (en) Electronic document printing system
US8756491B2 (en) PDL data processing device
JP5574242B2 (en) Print control apparatus, print control program, and print control method
US8755079B2 (en) Image forming apparatus discriminating whether image data of an object to be subjected to transformation processing is stored in a storage unit
JP6320146B2 (en) Information processing system, information processing apparatus, information processing method, and program
JP4155513B2 (en) Electronic document printing system
JP5125888B2 (en) Printing apparatus and program
JP2011070294A (en) Image processing system, information processor, image processor and program
US8705141B2 (en) Method and system for efficiently printing simple data using a complex page data stream

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130417

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131030

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140610

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140715

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141223

R150 Certificate of patent or registration of utility model

Ref document number: 5679123

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150