JP5012344B2 - Image forming apparatus, image forming method, and image forming program - Google Patents
Image forming apparatus, image forming method, and image forming program Download PDFInfo
- Publication number
- JP5012344B2 JP5012344B2 JP2007234458A JP2007234458A JP5012344B2 JP 5012344 B2 JP5012344 B2 JP 5012344B2 JP 2007234458 A JP2007234458 A JP 2007234458A JP 2007234458 A JP2007234458 A JP 2007234458A JP 5012344 B2 JP5012344 B2 JP 5012344B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- variable
- image forming
- rectangle
- rectangular area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Description
本発明は、可変印刷を実行するための画像形成装置、画像形成方法、及び画像形成プログラムに関する。 The present invention relates to an image forming apparatus, an image forming method, and an image forming program for executing variable printing.
可変印刷機能とは、名刺やダイレクトメールのようにページ毎に特定部分が差し替えられた印刷物を作成するための機能であり、帳票印刷、フォームオーバレイ印刷、及びバリアブル印刷等を含む。そして、可変印刷用のプリントデータは、下地や地紋やフォーム等の複数ページに共通して使用される固定データと、住所や氏名や金額等のページ毎に内容が変化する可変データを含んでおり、印刷実行時には、固定データと可変データが別々に画像データに展開され、ページ毎に可変データが差し替えられる。 The variable printing function is a function for creating a printed material in which a specific portion is replaced for each page, such as a business card or direct mail, and includes form printing, form overlay printing, variable printing, and the like. The print data for variable printing includes fixed data that is commonly used for multiple pages such as backgrounds, background patterns, and forms, and variable data whose contents change for each page, such as address, name, and amount. When printing is performed, fixed data and variable data are separately developed into image data, and the variable data is replaced for each page.
近年、印刷機のカラー化及び高画質化が進んだ結果、可変印刷時に取り扱うデータ量が大きくなり、印刷速度が低下するという問題点がある。そのため、可変印刷時に実行される処理の効率化が求められているが、かかる効率化のためには、各ページの印刷処理が終了したらページバッファ内の画像データをより早く可変データが配置される前の状態に復元することが重要である。 In recent years, there has been a problem that the amount of data handled at the time of variable printing is increased and the printing speed is lowered as a result of the advancement of color and image quality of printing presses. For this reason, it is required to improve the efficiency of processing executed at the time of variable printing. For this efficiency, variable data is arranged earlier in the image data in the page buffer after the printing process of each page is completed. It is important to restore to the previous state.
ここで、ページバッファ内の画像データを復元するための一般的な方法として、ページバッファと同サイズの退避用バッファを用意しておき、当該退避用バッファに固定データ全体を退避させる方法が採用されている。しかし、この方法によれば、実際には可変データが配置されない部分(以下、「不変部分」という)までもが退避対象とされるため、退避用バッファの一部が無駄に利用されるという問題点がある。特に、プリントデータ中の可変データが占める割合が小さければ小さいほど、そして、固定データの容量が大きければ大きいほど、無駄に利用されるメモリ領域は大きくなる。 Here, as a general method for restoring image data in the page buffer, a method of preparing a save buffer having the same size as the page buffer and saving the entire fixed data in the save buffer is employed. ing. However, according to this method, a portion where variable data is not actually arranged (hereinafter referred to as “invariant portion”) is also subject to saving, so that a part of the saving buffer is wasted. There is a point. In particular, the smaller the proportion of variable data in the print data is, and the larger the fixed data capacity is, the larger the memory area that is wasted.
上記問題点を解決するため、プリントデータに含まれる可変データの配置情報から、可変データの配置場所となる矩形領域を検出し、かかる矩形領域に相当する部分のみ退避/復元する手法が提案されている。この手法によれば、可変データが配置される矩形領域のみを選択的に退避/復元することができる。しかし、複数の可変データの一部、または全体が互いに重なり合うように配置される複雑なレイアウトの可変印刷を行なう場合には、互いに重なり合う領域が重複して退避/復元させられることになるので、無駄に利用されるメモリ領域が却って大きくなってしまう虞がある。 In order to solve the above problems, a method has been proposed in which a rectangular area that is the location of variable data is detected from variable data arrangement information included in print data, and only a portion corresponding to the rectangular area is saved / restored. Yes. According to this method, it is possible to selectively save / restore only a rectangular area in which variable data is arranged. However, when performing variable printing of a complex layout in which some or all of a plurality of variable data are arranged so as to overlap each other, the overlapping areas are saved and restored in an overlapping manner, which is wasteful. However, there is a risk that the memory area used for the process will become larger.
これに関連して、以下の特許文献1には、通常のページバッファ及び退避用のページバッファのそれぞれのバッファ内を所定サイズの複数の「セル」に分割し、配置情報に基づき各セルに可変データが存在するか否かを判定し、可変データが存在するセルのみを選択的に退避させる技術が提案されている。
In relation to this, the following
この技術によれば、固定データの一部を重畳的に退避させることはなくなるが、可変データの形状やレイアウトによっては、退避対象となるセル内に多くの不変部分が含まれることになる。そのため、固定データの不変部分が無駄に退避させられるという問題点は依然として解消されない。
本発明は上記従来技術の有する問題点に鑑みてなされたものであり、本発明の目的は、可変印刷実行時に、固定データの不変部分が無駄に退避/復元させられることを防止すると同時に、固定データの可変部分の一部が重複して退避/復元させられることを防止できる画像形成装置、画像形成方法、及び画像形成プログラムを提供することである。 The present invention has been made in view of the above-described problems of the prior art, and an object of the present invention is to prevent an invariable portion of fixed data from being saved / restored unnecessarily at the time of execution of variable printing, and at the same time, fixed. An object of the present invention is to provide an image forming apparatus, an image forming method, and an image forming program capable of preventing a part of a variable portion of data from being saved / restored redundantly.
本発明の上記目的は、下記の手段によって達成される。 The above object of the present invention is achieved by the following means.
(1)複数ページ共通の固定データ及びページ毎に可変の可変データを印刷するための可変印刷機能を備えた画像形成装置であって、受信したプリントデータから、前記可変データの配置先となる矩形領域の位置情報を取得する取得手段と、取得した前記位置情報に基づき、前記矩形領域から当該矩形領域どうしが重複する部分を除いた新たな矩形領域と抽出する抽出手段と、
前記固定データのうち、前記新たな矩形領域に相当する部分を退避データとして一時的に退避させる退避手段と、前記固定データ及び前記可変データが展開されたページバッファに前記退避データを復元する復元手段と、を備えていることを特徴とする画像形成装置。
(1) An image forming apparatus having a variable print function for printing fixed data common to a plurality of pages and variable data variable for each page, and a rectangle that is a destination of the variable data from the received print data An acquisition means for acquiring position information of an area; and an extraction means for extracting a new rectangular area from the rectangular area excluding a portion where the rectangular areas overlap, based on the acquired position information;
A save unit that temporarily saves a portion corresponding to the new rectangular area of the fixed data as save data, and a restore unit that restores the save data to a page buffer in which the fixed data and the variable data are expanded. And an image forming apparatus.
(2)複数ページ共通の固定データ及びページ毎に可変の可変データを印刷するための可変印刷機能を備えた画像形成装置において実行される画像形成方法であって、受信したプリントデータから、前記可変データの配置先となる矩形領域の位置情報を取得するステップと、取得した前記位置情報に基づき、前記矩形領域から当該矩形領域どうしが重複する部分を除いた新たな矩形領域と抽出するステップと、前記固定データのうち、前記新たな矩形領域に相当する部分を退避データとして一時的に退避させるステップと、前記固定データ及び前記可変データが展開されたページバッファに前記退避データを復元するステップと、を有することを特徴とする画像形成方法。 (2) An image forming method executed in an image forming apparatus having a variable print function for printing fixed data common to a plurality of pages and variable data variable for each page. A step of acquiring position information of a rectangular area as a data placement destination, and a step of extracting a new rectangular area from the rectangular area excluding a portion where the rectangular areas overlap each other based on the acquired position information; A step of temporarily saving a portion corresponding to the new rectangular area of the fixed data as save data; a step of restoring the save data in a page buffer in which the fixed data and the variable data are expanded; An image forming method comprising:
(3)複数ページ共通の固定データ及びページ毎に可変の可変データを印刷する可変印刷機能を実行するための画像形成プログラムであって、受信したプリントデータから、前記可変データの配置先となる矩形領域の位置情報を取得する手順と、取得した前記位置情報に基づき、前記矩形領域から当該矩形領域どうしが重複する部分を除いた新たな矩形領域と抽出する手順と、
前記固定データのうち、前記新たな矩形領域に相当する部分を退避データとして一時的に退避させる手順と、前記固定データ及び前記可変データが展開されたページバッファに前記退避データを復元する手順と、を画像形成装置に実行させることを特徴とする画像形成プログラム。
(3) An image forming program for executing a variable printing function for printing fixed data common to a plurality of pages and variable data for each page, and from the received print data, a rectangle to which the variable data is to be placed A procedure for acquiring position information of a region, and a procedure for extracting a new rectangular region from the rectangular region excluding a portion where the rectangular regions overlap each other based on the acquired position information;
Of the fixed data, a procedure for temporarily saving a portion corresponding to the new rectangular area as save data, a procedure for restoring the save data in a page buffer in which the fixed data and the variable data are expanded, An image forming program for causing an image forming apparatus to execute the above.
(4)上記(3)に記載の画像形成プログラムを記憶したコンピュータ読み取り可能な記録媒体。 (4) A computer-readable recording medium storing the image forming program described in (3) above.
本発明の画像形成装置、画像形成方法、及び画像形成プログラムによれば、可変印刷実行時に、固定データの不変部分が無駄に退避させられることを防止すると同時に、固定データの一部が重複して退避させられることを防止することができる。その結果、可変印刷実行時に取り扱われるデータ量を削減することができると同時に、固定データの退避/復元のために確保すべきメモリ領域を最小限に抑えることができるので、可変印刷実行時の処理の効率化を実現することができる。 According to the image forming apparatus, the image forming method, and the image forming program of the present invention, it is possible to prevent the invariable portion of the fixed data from being saved unnecessarily during variable printing, and at the same time, a part of the fixed data is duplicated. It can be prevented from being retracted. As a result, the amount of data handled during variable printing can be reduced, and at the same time, the memory area to be secured for saving / restoring fixed data can be minimized, so that processing during variable printing can be performed. Efficiency can be realized.
以下、本発明の実施の形態を、図面を参照して詳細に説明する。図1は、本発明の実施形態にかかる画像形成システムの全体構成を示すブロック図である。図1に示すように、本実施形態にかかる画像形成システム、クライアント装置としてのPC1と、画像形成装置としてのプリンタコントローラ2と、プリンタコントローラ2の指示に従って印刷を実行するプリンタ3とを備えている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of an image forming system according to an embodiment of the present invention. As shown in FIG. 1, the image forming system according to the present embodiment includes a
PC1とプリンタコントローラ2は、ネットワーク4を介して相互に通信可能に接続されている。ここで、ネットワーク4は、イーサネット(登録商標)、トークンリング、FDDI等の規格によりコンピュータやネットワーク機器同士を接続したLAN、あるいはLAN同士を専用線で接続したWAN等からなる。なお、ネットワーク4に接続される機器の種類および台数は図1に示す例に限定されない。また、プリンタコントローラ2は、ネットワーク4を介することなく、PC1と直接機器間で接続(ローカル接続)されていてもよい。そして、プリンタコントローラ2とプリンタ3は、IEEE1394シリアルバス等の専用インタフェース用バスを介して接続されている。ただし、プリンタコントローラ2とプリンタ3はネットワーク4を介して接続されてもよい。
The PC 1 and the
次に、上記各機器の構成について説明する。図2、図3、及び図4は、それぞれ本実施形態におけるPC1、プリンタコントローラ2、及びプリンタ3の構成の一例を示すブロック図である。なお、上記各機器は後述する構成要素以外の構成要素を含んでいてもよく、あるいは、後述する構成要素のうちの一部が含まれていなくてもよい。また、各機器で同様の機能を有する部分については、説明の重複を避けるため初回のみその説明を行い、2回目以降はその説明を省略する。
Next, the configuration of each device will be described. 2, 3, and 4 are block diagrams illustrating examples of configurations of the
図2に示すように、PC1は、CPU11、ROM12、RAM13、ハードディスク14、ディスプレイ15、入力装置16、及びネットワークインタフェース17を備えており、これらは信号をやり取りするためのバス18を介して相互に接続されている。
As shown in FIG. 2, the PC 1 includes a
CPU11は、プログラムにしたがって上記各部の制御や各種の演算処理等を行う。ROM12は、PC1の基本動作を制御する各種プログラムやパラメータを格納する。RAM13は、作業領域として一時的にプログラムやデータを記憶する。
The
ハードディスク14は、OS(オペレーティングシステム、基本ソフトウエア)やPC1の所定の動作を制御するためのプログラムおよびパラメータを格納する。特に、ハードディスク14は、文書ファイルを作成するためのアプリケーションと、文書ファイルをプリンタコントローラ2が解釈可能なページ記述言語(PDL:Page Description Language)で記述されたプリントデータに変換するためのプリンタドライバを格納する。PDLとしては、例えば、PDF(Portable Document Format)や、PS(PostScript(登録商標))が挙げられる。
The
ディスプレイ15は、各種の情報を表示する。入力装置16は、キーボードやマウス等であり、各種の入力を行うために使用される。
The
ネットワークインタフェース18は、ネットワークに接続しネットワーク上の他の機器と通信するためのインタフェースであり、イーサネット(登録商標)、トークンリング、FDDI等の規格が用いられる。
The
図3に示すように、プリンタコントローラ2は、画像形成部21、画像退避部22、画像復元部23、画像合成部24、プリンタエンジンインタフェース25、制御部26、記憶装置27、外部記憶装置28、及び矩形抽出部29を備えている。
3, the
画像形成部21は、PC1から送信されたプリントデータ5に対してラスタライズ処理を実行することにより、ビットマップ等のラスタデータからなる固定データ7及び可変データ8を生成する。ここで、PC1から送信されたプリントデータ5は、外部記憶装置28に記憶されており、上記のラスタライズ処理実行時に読み出される。そして、生成された固定データ7及び可変データ8は記憶部27に記憶され、後述のように画像形成部24によって使用された後は速やかに消去される。なお、固定データ7は、下地、地紋、フォーム等に対応する複数ページに亘り共通の画像データであり、可変データ8は、住所、氏名、金額等に対応するページ毎に可変の画像データである。また、プリントデータ5は、可変データ8の配置先となる矩形領域の位置情報(以下、「配置情報」とする)を含んでいる。
The
画像退避部22は、ページバッファ6に展開された固定データ7のうち、後述の出力矩形情報12によって示される矩形領域のみを複写する。さらに、画像退避部22は、複写した画像データ及び出力矩形情報12を退避データ9として記憶装置27に記憶する。
The
画像復元部23は、ページバッファ6内の印刷画像データが印刷処理のためにプリンタ3に転送され次第、記憶装置27内の退避データ9をページバッファ6上に復元する。なお、プリンタ3へのデータの転送はプリンタエンジンインタフェース24によって行われる。
The
画像合成部24は、プリントデータ5内の配置情報に基づき、ページバッファ6内に固定データ7及び可変データ8を展開してページ毎の印刷画像データを生成する。
The
プリンタエンジンインタフェース25は、プリンタ3との通信のためのインタフェースであり、ページバッファ6内の印刷画像データを印刷処理のためにプリンタ3に転送する。
The
制御部26は、プリンタコントローラ2の各部を制御して、PC1から送信されたプリントデータ5のラスタライズ、画像形成、矩形抽出、画像退避、画像合成、プリンタ3への印刷画像データの転送、及び画像復元等の処理を実行させる。
The
記憶装置27は、画像形成部21が生成したラスタデータ(固定データ7及び可変データ8)及び画像退避部22が生成した退避データ9を一時的に記憶する。さらに、記憶装置27は、画像合成部24が固定データ7及び可変データ8を展開してページ毎の印刷画像データを生成するための領域であるページバッファ6を含む。また、外部記憶装置28は、PC1から受信したプリントデータ5を記憶する。
The
矩形抽出部29は、制御部26からプリントデータ5の配置情報を取得し、取得した配置情報に基づき、可変データ8の配置先となる矩形領域どうしの重複部分を除外した新たな矩形領域を抽出する。さらに、矩形抽出部29は、抽出した新たな矩形領域の位置情報である出力矩形情報12を生成して制御部26に渡す。なお、出力矩形情報12を生成するための処理の手順については、図9のフローチャートを用いて詳細に説明する。
The
図4に示すように、プリンタ3は、制御部31、記憶部32、操作部33、印刷部34、プリンタコントローラインタフェース35を備えており、これらは信号をやり取りするためのバス36を介して相互に接続されている。
As shown in FIG. 4, the
制御部31はCPUであり、プログラムに従って上記各部の制御や各種の演算処理等を行う。記憶部32は、予め各種プログラムやパラメータを格納しておくROM、作業領域として一時的にプログラムやデータを記憶するRAM、各種プログラムやパラメータを格納し、または画像処理により得られた画像データ等を一時的に保存するために使用されるハードディスク等からなる。
The
操作部33は、各種情報を表示し、または各種設定入力を行うタッチパネル、コピー枚数等を設定するテンキー、動作の開始を指示するスタートキー、動作の停止を指示するストップキー、各種設定条件を初期化するリセットキー等の各種固定キー、表示ランプ等からなる。 The operation unit 33 displays various information or a touch panel for inputting various settings, a numeric keypad for setting the number of copies, a start key for instructing start of operation, a stop key for instructing stop of operation, and various setting conditions in the initial stage. It consists of various fixed keys such as reset keys, display lamps and the like.
印刷部34は、画像データを電子写真方式により帯電、露光、現像、転写および定着の各工程を経て用紙に画像データを印刷して排出する。ただし、本発明における印刷部34の印刷方式はこれに限定されるものではなく、電子写真方式以外にも、インパクト方式、熱転写方式、インクジェット方式等によるものであってもよい。
The
プリンタコントローラインタフェース35は、プリンタコントローラ2と通信するためのインタフェースである。
The
次に、本実施形態におけるプリントデータ5及び配置情報10について図5〜図7を用いて説明する。図5は、プリントデータ5に基づく印刷画像の一例をページ毎に示す図である。図5のように、プリントデータ5の印刷画像は合計2ページであり、各ページの印刷画像は両ページに共通する固定データ7に基づく画像、及びページ毎に差し替えられる可変データ8に基づく画像からなる。
Next, the
続いて、図6は、固定データ7に基づく画像と可変データ8に基づく画像を別々に示した図である。図6より、プリントデータ5は、1つの固定データ7A、及びページ毎に5つの可変データ8A−1(8A−2)、8B−1(8B−2)、8C−1(8C−2)、8D−1(8D−2)、及び8E−1(8E−2)を含んでいることが分かる(「−」の後の数字はページ番号を表す)。そして、図7は、プリントデータ5の配置情報10を示す図である。図7のように、配置情報10は、各々の可変データ8の配置先となる矩形領域の位置(座標X、座標Y)及び寸法(幅、高さ)を示す情報である。
Next, FIG. 6 is a diagram separately showing an image based on the fixed
次に、プリンタコントローラ2の制御部26による可変印刷用プリントデータ5に対する処理の手順について説明する。なお、以下の説明において処理されるプリントデータ5は、図5〜7において例示されたものである。また、当該処理が行われるための前提条件として、PC1のプリンタドライバまたは専用アプリケーションによって生成されたプリントデータ5が、プリンタコントローラ2側に送信され、外部記憶装置28内に記憶されているものとする。
Next, a processing procedure for the
先ず、制御部26は、外部記憶装置28内のプリントデータ5を画像形成部21に渡し、プリントデータ5に対してラスタライズ処理を実行して固定データ7及び可変データ8を生成するよう画像形成部21に指示する(S101)。
First, the
続いて、制御部26は、プリントデータ5の配置情報を取得して画像合成部24に渡し、S101において生成された固定データ7をページバッファ6に展開するよう画像合成部24に指示する(S102)。
Subsequently, the
続いて、制御部26は、プリントデータ5の配置情報を矩形抽出部29に渡し、矩形抽出部29に、可変データ8の配置先となる矩形領域どうしの重複部分を検出し、検出した重複部分を除外した新たな矩形領域を抽出し、さらに、抽出した新たな矩形領域の配置情報である出力矩形情報12を生成するよう矩形抽出部29に指示する(S103)。このときの矩形抽出部29の処理の手順については図9のフローチャートを用いて詳細に説明する。
Subsequently, the
続いて、制御部26は、矩形抽出部29により生成された出力矩形情報12を画像退避部22に渡し、ページバッファ6に展開された固定データ7のうち、出力矩形情報12に示された矩形領域に対応する部分をページバッファ6外に退避させるよう画像退避部22に指示する(S104)。このときの画像退避部22の処理の手順については図20のフローチャートを用いて詳細に説明する。
Subsequently, the
続いて、制御部26は、プリントデータ5の配置情報を画像合成部24に渡し、当該配置情報に基づきページバッファ6にさらに可変データ8を展開し、1ページ分の印刷画像データを生成するよう画像合成部24に指示する(S105)。
Subsequently, the
続いて、制御部26は、プリンタ3による印刷処理のため、ページバッファ6内の印刷画像データをプリンタエンジンインタフェース35によってプリンタ3に送信する(S106)。
Subsequently, the
続いて、制御部26は、全ページ分の印刷画像データの転送が完了したか否かを解析し、転送が完了した場合は(S107のYES)、処理を終了する。また、転送が完了していない場合は(S107のNO)、記憶装置27内の退避データ9をページバッファ6に展開することによって固定データ7を復元するよう画像復元部23に指示し(S108)、ページを1つ進めてからS105に戻る。このときの画像復元部23の処理の手順については図21のフローチャートを用いて詳細に説明する。
Subsequently, the
なお、以上の説明では、プリントデータ5に含まれる固定データ7は1つだけであり、全ページに亘り共通の固定データ7が用いられるが、プリントデータ5に含まれる固定データ7は複数であってもよく、その場合、固定データ7が差し替えられる都度、図5のフローチャートの処理が繰り返されることになる。
In the above description, there is only one fixed
次に、図9は、矩形抽出部29の処理(S103)の手順を示すフローチャートである。先ず、矩形抽出部29は、プリントデータ5内の配置情報10を取得し、取得した配置情報10を入力矩形情報11として設定する(S201)。例えば、図7の配置情報10が設定された入力矩形情報11の内容は図10の通りである。
Next, FIG. 9 is a flowchart showing the procedure of the process (S103) of the
続いて、矩形抽出部29は、入力矩形情報11に含まれる矩形のうち他の矩形に完全に内包されるものを検出し、検出した矩形を入力矩形情報11から除外する(S202)。図7の例において、矩形eは矩形dに完全に内包されるので入力矩形情報11から除外される。このように矩形eが除外された後の入力矩形情報11の内容は図11に示す通りである。
Subsequently, the
続いて、矩形抽出部29は、入力矩形情報11に含まれる矩形を、他の矩形と交差する交差矩形、及び他の矩形と交差しない非交差矩形に分類する(S203)。図7の例において、矩形cは他のどの矩形とも交差しないので非交差矩形に分類される。また、矩形aは矩形dと、矩形bは矩形dとそれぞれ交差するので、矩形a、矩形b、及び矩形dはいずれも交差矩形に分類される。図7の例において、交差/非交差の分類が行われた後の入力矩形情報11の内容は図12に示す通りである。
Subsequently, the
続いて、矩形抽出部29は、非交差矩形に分類された矩形を入力矩形情報11から除外し、それを新たに出力矩形情報12に追加する(S204)。図7の例において、非交差矩形に分類された矩形cが入力矩形情報11から除外され、新たに出力矩形情報12に追加されるが、このように矩形cの追加/除外が行われた後の入力矩形情報11及び出力矩形情報12の内容は図13に示す通りである。
Subsequently, the
続いて、矩形抽出部29は、入力矩形情報11内に交差矩形が存在するか否かを解析し、交差矩形が存在しない場合には(S205のNO)、その時点での出力矩形情報12を制御部26に送信してから(S208)、図8のフローチャートに戻る(リターン)。
Subsequently, the
他方、入力矩形情報11内に交差矩形が存在する場合には(S205のYES)、交差矩形を入力矩形情報11から除外した後に、交差矩形どうしの交差領域及び非交差領域をなす矩形を検出し(S206)、検出した矩形を新たに入力矩形情報11に追加してから(S207)、S202に戻る。なお、図7の例において、矩形aと矩形dの交差領域をなす矩形は図14の矩形hであり、非交差領域をなす矩形は図14の矩形f、矩形g、矩形iである。また、矩形bと矩形dの交差領域をなす矩形は図15の矩形lであり、非交差領域をなす矩形は図15の矩形j、矩形k、矩形mである。そして、S207において、図14の矩形f〜i及び図15のj〜mが追加された後の入力矩形情報11の内容は図16に示す通りである。そして、再びS202において、矩形kに内包される矩形g、矩形kに内包される矩形h、矩形iに内包される矩形l、及び矩形iに内包される矩形mが除外され(図17)、さらに、S203において矩形f、矩形i、矩形j、矩形kが非交差矩形に分類されると(図18)、S204において非交差矩形である矩形f、矩形i、矩形j、矩形kが出力矩形情報12に追加される。図19の通り、このときの出力矩形情報12には、矩形c、矩形f、矩形i、矩形j、矩形kが含まれている。そして、この時点ではもう交差矩形が存在しないので(S205のNO)、S208において、図19の出力矩形情報12が制御部26に送信される
次に、図20は、画像退避部22の処理(S104)の手順を示すフローチャートである。先ず、画像退避部22は、矩形抽出部29により生成された出力矩形情報12を制御部26から取得する(S301)。続いて、画像退避部33は、取得した出力矩形情報12から矩形情報を1つ取り出し(S302)、ページバッファ6に展開された固定データ7のうち、当該矩形情報に対応する矩形領域を複写し(S303)、複写したデータを退避データ9として記憶領域27内に保存する(S304)。
On the other hand, if there is an intersection rectangle in the input rectangle information 11 (YES in S205), after the intersection rectangle is excluded from the
続いて、画像退避部23は、出力矩形情報12に含まれる全ての矩形情報に対して上記S302〜S304の処理が完了したか否かを解析し、完了した場合には(S305のYES)、図8のフローチャートに戻り(リターン)、完了していない場合には(S305のNO)、S302に戻る。
Subsequently, the
次に、図21は、画像復元部23の処理(S104)の手順を示すフローチャートである。先ず、画像復元部23は、S104において退避させられた退避データ9のうち1つの矩形情報に対応する部分を取り出し(S401)、取り出したデータを当該矩形情報に基づきページバッファ6に展開することで退避データ9の復元を行う(S402)。
Next, FIG. 21 is a flowchart showing the procedure of the process (S104) of the
続いて、画像復元部23は、全ての退避データ9の復元が完了したか否かを解析し、全ての退避データ9の復元が完了した場合には(S403のYES)、図8のフローチャートに戻り(リターン)、完了していない場合には(S403のNO)、S401に戻る。
Subsequently, the
以上のように、本実施形態のプリンタコントローラ2によれば、可変印刷実行時に、固定データの不変部分が無駄に退避させられることを防止すると同時に、固定データの一部が重複して退避させられることを防止することができる。その結果、可変印刷実行時に取り扱われるデータ量を削減することができると同時に、固定データの退避/復元のために確保すべきメモリ領域を最小限に抑えることができるので、可変印刷実行時の処理の効率化を実現することができる。
As described above, according to the
本発明は、上記実施形態のみに限定されるものではなく、特許請求の範囲内において、種々改変することができる。例えば、上記実施形態においては、プリントデータに固定データが含まれている場合について説明したが、本発明は必ずしもこれに限定されず、固定データがプリンタコントローラの外部記憶装置等に予め格納されているような構成も可能である。この場合、固定データの画像形成処理が不要になるため、可変印刷実行時の処理のさらなる効率化を図れる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims. For example, in the above embodiment, the case where the fixed data is included in the print data has been described. However, the present invention is not necessarily limited to this, and the fixed data is stored in advance in an external storage device of the printer controller. Such a configuration is also possible. In this case, the fixed data image forming process is not required, so that the efficiency of the variable printing process can be further improved.
上記実施形態においては、本発明にかかる画像処理装置としてプリンタコントローラを例に挙げて説明したが、本発明は必ずしもこれに限定されない。本発明の画像形成装置の他の態様としては、プリンタコントローラ内蔵型のプリンタ、及びプリンタコントローラ内蔵型のMFP(Multiple Function Peripheral 多機能周辺機器)等が考えられる。 In the above embodiment, the printer controller has been described as an example of the image processing apparatus according to the present invention, but the present invention is not necessarily limited thereto. As another aspect of the image forming apparatus of the present invention, a printer controller built-in printer, a printer controller built-in MFP (Multi Function Peripheral Peripheral Peripheral Device), and the like are conceivable.
本発明による画像形成装置および画像形成方法は、上記各手順を実行するための専用のハードウエア回路によっても、また、上記各手順を記述したプログラムをCPUが実行することによっても実現することができる。後者により本発明を実現する場合、画像形成装置を動作させる上記プログラムは、フロッピー(登録商標)ディスクやCD−ROM等のコンピュータ読み取り可能な記録媒体によって提供されてもよいし、インターネット等のネットワークを介してオンラインで提供されてもよい。この場合、コンピュータ読み取り可能な記録媒体に記録されたプログラムは、通常、ROMやハードディスク等に転送され記憶される。また、このプログラムは、たとえば、単独のアプリケーションソフトとして提供されてもよいし、画像形成装置の一機能としてその装置のソフトウエアに組み込んでもよい。 The image forming apparatus and the image forming method according to the present invention can be realized by a dedicated hardware circuit for executing each procedure described above, or by executing a program describing each procedure described above by a CPU. . When the present invention is realized by the latter, the program for operating the image forming apparatus may be provided by a computer-readable recording medium such as a floppy (registered trademark) disk or a CD-ROM, or a network such as the Internet. May be provided online. In this case, the program recorded on the computer-readable recording medium is usually transferred and stored in a ROM, a hard disk or the like. Further, this program may be provided as, for example, a single application software, or may be incorporated in the software of the apparatus as one function of the image forming apparatus.
1 PC、
2 プリンタコントローラ
21 画像形成部、
22 画像退避部、
23 画像復元部、
24 画像合成部、
25 プリンタエンジンインタフェース
26 制御部、
27 記憶装置、
28 外部記憶装置、
29 矩形抽出部、
3 プリンタ、
4 ネットワーク、
5 プリントデータ、
6 ページバッファ、
7 固定データ、
8 可変データ、
9 退避データ、
10 配置情報、
11 入力矩形情報、
12 出力矩形情報。
1 PC,
2
22 Image saving unit,
23 Image restoration unit,
24 Image composition unit,
25
27 storage device,
28 external storage device,
29 rectangle extraction unit,
3 Printer,
4 network,
5 Print data,
6 page buffer,
7 fixed data,
8 Variable data,
9 Saved data,
10 Placement information,
11 Input rectangle information,
12 Output rectangle information.
Claims (4)
受信したプリントデータから、前記可変データの配置先となる矩形領域の位置情報を取得する取得手段と、
取得した前記位置情報に基づき、前記矩形領域から当該矩形領域どうしが重複する部分を除いた新たな矩形領域と抽出する抽出手段と、
前記固定データのうち、前記新たな矩形領域に相当する部分を退避データとして一時的に退避させる退避手段と、
前記固定データ及び前記可変データが展開されたページバッファに前記退避データを復元する復元手段と、を備えていることを特徴とする画像形成装置 An image forming apparatus having a variable printing function for printing fixed data common to a plurality of pages and variable data variable for each page,
An acquisition means for acquiring position information of a rectangular area where the variable data is to be arranged, from the received print data;
Based on the acquired position information, an extraction means for extracting a new rectangular area from the rectangular area excluding a portion where the rectangular areas overlap with each other; and
A saving unit that temporarily saves a portion corresponding to the new rectangular area of the fixed data as save data;
An image forming apparatus comprising: a restoring unit that restores the saved data to a page buffer in which the fixed data and the variable data are expanded.
受信したプリントデータから、前記可変データの配置先となる矩形領域の位置情報を取得するステップと、
取得した前記位置情報に基づき、前記矩形領域から当該矩形領域どうしが重複する部分を除いた新たな矩形領域と抽出するステップと、
前記固定データのうち、前記新たな矩形領域に相当する部分を退避データとして一時的に退避させるステップと、
前記固定データ及び前記可変データが展開されたページバッファに前記退避データを復元するステップと、を有することを特徴とする画像形成方法。 An image forming method executed in an image forming apparatus having a variable printing function for printing fixed data common to a plurality of pages and variable data variable for each page,
Obtaining the position information of the rectangular area to which the variable data is to be arranged from the received print data;
Based on the acquired position information, extracting from the rectangular area a new rectangular area excluding a portion where the rectangular areas overlap, and
A step of temporarily saving a portion corresponding to the new rectangular area of the fixed data as save data;
An image forming method comprising: restoring the saved data to a page buffer in which the fixed data and the variable data are expanded.
受信したプリントデータから、前記可変データの配置先となる矩形領域の位置情報を取得する手順と、
取得した前記位置情報に基づき、前記矩形領域から当該矩形領域どうしが重複する部分を除いた新たな矩形領域と抽出する手順と、
前記固定データのうち、前記新たな矩形領域に相当する部分を退避データとして一時的に退避させる手順と、
前記固定データ及び前記可変データが展開されたページバッファに前記退避データを復元する手順と、を画像形成装置に実行させることを特徴とする画像形成プログラム。 An image forming program for executing a variable printing function for printing fixed data common to a plurality of pages and variable data variable for each page,
From the received print data, a procedure for obtaining position information of the rectangular area where the variable data is to be arranged;
Based on the acquired position information, a procedure for extracting a new rectangular area excluding a portion where the rectangular areas overlap from the rectangular area; and
Of the fixed data, a procedure for temporarily saving a portion corresponding to the new rectangular area as save data;
An image forming program that causes an image forming apparatus to execute a procedure for restoring the saved data to a page buffer in which the fixed data and the variable data are expanded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007234458A JP5012344B2 (en) | 2007-09-10 | 2007-09-10 | Image forming apparatus, image forming method, and image forming program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007234458A JP5012344B2 (en) | 2007-09-10 | 2007-09-10 | Image forming apparatus, image forming method, and image forming program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009066769A JP2009066769A (en) | 2009-04-02 |
JP5012344B2 true JP5012344B2 (en) | 2012-08-29 |
Family
ID=40603560
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007234458A Active JP5012344B2 (en) | 2007-09-10 | 2007-09-10 | Image forming apparatus, image forming method, and image forming program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5012344B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7304019B2 (en) * | 2021-11-09 | 2023-07-06 | 株式会社スカイコム | DATA OUTPUT COMPUTER, DATA OUTPUT SYSTEM, DATA OUTPUT METHOD AND PROGRAM |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03197064A (en) * | 1989-12-26 | 1991-08-28 | Kanzaki Paper Mfg Co Ltd | Dot printer |
JPH0926781A (en) * | 1995-07-13 | 1997-01-28 | Fuji Xerox Co Ltd | Plotting processing device |
JP2003319167A (en) * | 2002-04-25 | 2003-11-07 | Canon Finetech Inc | Print processing method and apparatus therefor |
-
2007
- 2007-09-10 JP JP2007234458A patent/JP5012344B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009066769A (en) | 2009-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3862652B2 (en) | Printing control method and information processing apparatus | |
JP6089801B2 (en) | Print control apparatus and program | |
JP2006237825A (en) | Image processing device, image processing method and image processing program | |
JP4375449B2 (en) | Image processing apparatus, image processing program, and image processing method | |
JP2006311487A (en) | Image forming apparatus, image processor, image processing method, and image processing program | |
JP2013178652A (en) | Print control device | |
JP5370044B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP2004058651A (en) | Printing controller, method of controlling printing, printing control program, and memory medium containing the program | |
JP5842590B2 (en) | Image processing apparatus and control program for image processing apparatus | |
JP5542177B2 (en) | DATA GENERATION DEVICE, DATA GENERATION METHOD, AND PROGRAM | |
JP5012344B2 (en) | Image forming apparatus, image forming method, and image forming program | |
US9626606B2 (en) | Data generating apparatus, data generating method, and non-transitory storage medium | |
JP2004246583A (en) | Image processing device, image processing method, and program therefor | |
JP2009269179A (en) | Printer, program and recording medium | |
JP2012146196A (en) | Print control device and print control program | |
JP2020024516A (en) | Information processing apparatus and information processing program | |
JP2006197210A (en) | Information processing device, printing system, printing operation assisting method, and program | |
JP2006218819A (en) | Image formation apparatus, image processing apparatus, program, and image processing method | |
JP2007312119A (en) | Image processing apparatus, image processing method and image processing program | |
JP6946771B2 (en) | Image processing device, job processing control program and job processing control method | |
JP2005047137A (en) | Image arrangement method, image arrangement device, and image arrangement program | |
JP5861689B2 (en) | Information processing apparatus, information processing method, information processing program, and recording medium | |
JPH10187397A (en) | Printing device and method therefor | |
JP5304422B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2004284265A (en) | Printing control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100408 |
|
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: 20120508 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120521 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150615 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5012344 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |