【0001】
【発明の属する技術分野】
本発明は、ホストコンピュータと画像形成装置が接続され、ホストコンピュータより転送されるプリンタ言語に基づいて、画像形成装置はバンド毎にオブジェクトのディスプレイリストを作成する画像形成システムに関する。
【0002】
【従来の技術】
ホストコンピュータと画像形成装置が接続され、ホストコンピュータより転送されるプリンタ言語に基づいて、画像形成装置はバンド毎にオブジェクトのディスプレイリストを作成する画像形成システムに関連して、例えば、特許文献1では、楕円等の複雑なオブジェクトが複数のバンドで使用される場合、図形を表現するディスプレイリストを新たに生成し、以降のバンドで新たに生成したディスプレイリストを参照することで、高速な印字を可能としている。
【特許文献1】特開2000−280542公報
【0003】
【発明が解決しようとする課題】
上記従来技術では、複数のバンドにわたってオブジェクトをディスプレイリストとして保存しておく必要がある。しかし、既に描画が完了している部分のデータは不要であり、非常に多くのオブジェクトで構成されているページでは、ディスプレイリストが消費するメモリ量がそれだけ多くなるため、他の処理に割り当てられるメモリが減り速度の低下が発生してしまう。
そこで本発明は、複数のバンドで使用されるオブジェクトに対して、ホストコンピュータで図形の分割処理を行い、分割されたオブジェクトが1つのバンドのみで使用されるようにして、効率よくデータを保持することができる画像形成システムを提供することを目的とする。
【0004】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の発明は、ホストコンピュータと画像形成装置が接続され、ホストコンピュータより転送されるプリンタ言語に基づいて、画像形成装置はバンド毎にオブジェクトのディスプレイリストを作成する画像形成システムにおいて、複数のバンドで使用されるオブジェクトは、ホストコンピュータで分割処理を行い、オブジェクトが1つのバンドのみで使用されるようにする画像形成システムを最も主要な特徴とする。
請求項2記載の発明は、請求項1記載の画像形成システムにおいて、オブジェクトが多角形である画像形成システムを主要な特徴とする。
請求項3記載の発明は、請求項1記載の画像形成システムにおいて、オブジェクトが曲線である画像形成システムを主要な特徴とする。
請求項4記載の発明は、請求項1記載の画像形成システムにおいて、オブジェクトが曲線である場合に、多角形近似を行った後に分割する画像形成システムを主要な特徴とする。
請求項5記載の発明は、請求項1記載の画像形成システムにおいて、色を含む各種設定は画像形成装置に保持しておき、分割されたオブジェクトは上記設定を参照する画像形成システムを主要な特徴とする。
請求項6記載の発明は、請求項5記載の画像形成システムにおいて、デフォルト値を設定する画像形成システムを主要な特徴とする。
請求項7記載の発明は、請求項5記載の画像形成システムにおいて、デフォルト値をページ毎に設定する画像形成システムを主要な特徴とする。
【0005】
【発明の実施の形態】
以下、本発明の実施の形態を図面を用いて説明する。
図1は本発明の実施の形態に係る画像形成システムの機能ブロック図である。本画像形成システムは、ホストコンピュータ1とプリンタ(画像形成装置)9が接続されることで構成されている。本画像形成システムにおいては、ホストコンピュータ1により作成されたプリンタ言語をプリンタ9が受信し画像形成(印刷)を行う。
ホストコンピュータ1は、プリンタドライバ2とアプリケーション8で構成されている。プリンタドライバ2は、アプリケーション8より送信される印刷要求データをインタプリタ部3で受信してデータ解析を行い、描画するべきオブジェクトデータを生成する。
ここで、オブジェクトが曲線の場合には、後述のバンドによる分割処理に大きな負荷がかかってしまうため、図形近似部4で多角形近似を行う。出力すべき画像をバンド描画するため、オブジェクト分割部5で各オブジェクトをバンド単位で分割する。分割された各オブジェクトによりバンドデータ生成部6でバンドデータを生成し、これをデータ送信部7からプリンタ9へ送信する。
プリンタ9は、コントローラ部10と画像形成部14で構成されている。コントローラ部10は、プリンタ言語で表現された印刷データを受信し、それを画像形成部14が画像形成できるようにビットマップデータへ変換を行う。画像形成部14は、コントローラ部10から送られてきたビットマップデータに従い画像を形成する。
ここで、コントローラ部10は、ホストコンピュータ1より送られてきたプリンタ言語を解釈して、ディスプレイリストに変換するインタプリタ部11と、ディスプレイリストを解釈し、ラスタライズを行うラスタライズ部12と、ラスタライズ後のビットマップを記憶しておくビットマップ記憶部13で構成されている。
インタプリタ部11は、プリンタ言語を解釈し、各オブジェクトに対し必要となる図形の情報を1つにまとめた形のディスプレイリストに変換する。ここで、各オブジェクトは、バンドデータ生成部6によりバンド内への描画が保証されているため、描画範囲の判定、クリップ処理が不要となり高速な描画が期待できる。インタプリタ部11より出力されたディスプレイリストは、ラスタライズ部12によりビットマップとしてビットマップ記憶部13に描画され、画像形成部14に送信される。
【0006】
以下、実際の例を用いて動作を説明する。アプリケーション8より図2のような2つのオブジェクト21、22が印刷要求として送信されたとする。図3の(1)のようにバンド分割されるとすると、どちらのオブジェクトも複数のバンドにまたがっているため、バンドデータ生成部6は、図3(2)のように各オブジェクトをバンド単位に分割してバンドデータを生成する。ここで、オブジェクト22は曲線データなので、バンド単位の分割の処理コストが大きくなってしまうのを避けるため、図形近似部4により多角形図形へと変換したあとにバンド単位へと分割する(図4参照)。
また、前景色、背景色、塗りつぶしの有無等は、分割されたオブジェクトに共通の設定パラメータとなるため、プリンタ9へは1回だけ送信するものとする。インタプリタ部11のメモリに前記設定パラメータを保持しておき、オブジェクトをディスプレイリストへ変換する場合に参照する(図5)。ここで、設定に偏りがある場合には、デフォルト値を設定しておくことで、保持しておくメモリ量を削減することが可能となる。さらに、ページ毎に設定が偏りがある場合には、ページの初めにデフォルト値を明示的に設定してもよい。
【0007】
【発明の効果】
請求項1、2、3に記載した画像形成システムによれば、オブジェクトをバンド単位に分割することにより、複数のバンドで1つのオブジェクトのディスプレイリストをプリンタ(画像形成装置)のメモリに保持しておく必要がなく、効率的なメモリの使用が可能となる。
請求項4に記載した画像形成システムによれば、曲線オブジェクトを多角形オブジェクトに近似した後に分割することにより、高速な分割が可能となる。
請求項5に記載した画像形成システムによれば、設定パラメータをプリンタに保持することで、高速に処理できる。
請求項6に記載した画像形成システムによれば、デフォルト設定パラメータを設定することで、パラメータ保持に必要なメモリ量を削減できる。
請求項7に記載した画像形成システムによれば、ページ毎に適したデフォルト設定パラメータを設定することで、パラメータ保持に必要なメモリ量を削減できる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係る画像形成システムの機能ブロック図である。
【図2】2つのオブジェクトを示す図である。
【図3】オブジェクトをバンドデータに分割する様子を示す図である。
【図4】分割オブジェクトを多角形近似してさらに分割する様子を示す図である。
【図5】インタプリタ部の機能を示す図である。
【符号の説明】
1 ホストコンピュータ、2 プリンタドライバ、8 アプリケーション、9
プリンタ(画像形成装置)、10 コントローラ部、14 画像形成部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image forming system in which a host computer and an image forming apparatus are connected and the image forming apparatus creates a display list of objects for each band based on a printer language transferred from the host computer.
[0002]
[Prior art]
A host computer is connected to an image forming apparatus, and based on a printer language transferred from the host computer, the image forming apparatus relates to an image forming system that creates a display list of objects for each band. When a complex object such as an ellipse is used in multiple bands, high-speed printing is possible by generating a new display list representing the figure and referring to the newly generated display list in subsequent bands. And
[Patent Document 1] Japanese Patent Application Laid-Open No. 2000-280542
[Problems to be solved by the invention]
In the above-described related art, it is necessary to store an object as a display list over a plurality of bands. However, the data of the part where drawing has already been completed is unnecessary, and for a page composed of a very large number of objects, the amount of memory consumed by the display list increases accordingly. And the speed decreases.
Therefore, according to the present invention, an object used in a plurality of bands is subjected to graphic division processing by a host computer, and the divided objects are used only in one band, thereby efficiently storing data. It is an object of the present invention to provide an image forming system capable of performing the above.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, according to the first aspect of the present invention, a host computer is connected to an image forming apparatus, and based on a printer language transferred from the host computer, the image forming apparatus generates a display list of objects for each band. In an image forming system to be created, an object used in a plurality of bands is subjected to division processing by a host computer, and an image forming system in which an object is used in only one band is the most main feature.
According to a second aspect of the present invention, in the image forming system according to the first aspect, the main feature is an image forming system in which the object is a polygon.
According to a third aspect of the present invention, in the image forming system according to the first aspect, the main feature is the image forming system in which the object is a curve.
According to a fourth aspect of the present invention, in the image forming system according to the first aspect, when an object is a curve, the image forming system performs polygonal approximation and then divides the object.
According to a fifth aspect of the present invention, in the image forming system according to the first aspect, various settings including colors are held in the image forming apparatus, and the divided objects refer to the settings. And
According to a sixth aspect of the present invention, in the image forming system of the fifth aspect, the main feature is an image forming system for setting a default value.
According to a seventh aspect of the present invention, in the image forming system according to the fifth aspect, a main feature is an image forming system that sets a default value for each page.
[0005]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a functional block diagram of the image forming system according to the embodiment of the present invention. This image forming system is configured by connecting a host computer 1 and a printer (image forming apparatus) 9. In this image forming system, the printer 9 receives the printer language created by the host computer 1 and forms an image (prints).
The host computer 1 includes a printer driver 2 and an application 8. The printer driver 2 receives the print request data transmitted from the application 8 by the interpreter 3 and performs data analysis to generate object data to be drawn.
Here, when the object is a curve, a large load is imposed on the later-described band division processing, so that the figure approximation unit 4 performs polygon approximation. In order to draw an image to be output in a band, the object dividing unit 5 divides each object in band units. The band data generation unit 6 generates band data from the divided objects, and transmits the band data from the data transmission unit 7 to the printer 9.
The printer 9 includes a controller unit 10 and an image forming unit 14. The controller unit 10 receives print data expressed in a printer language, and converts the print data into bitmap data so that the image forming unit 14 can form an image. The image forming unit 14 forms an image according to the bitmap data sent from the controller unit 10.
Here, the controller unit 10 interprets the printer language sent from the host computer 1 and converts it into a display list, a rasterizing unit 12 that interprets and rasterizes the display list, It comprises a bitmap storage unit 13 for storing a bitmap.
The interpreter unit 11 interprets the printer language and converts the information of the graphic required for each object into a display list in which the information is combined into one. Here, since each object is guaranteed to be drawn in the band by the band data generation unit 6, it is not necessary to determine the drawing range and clip processing, and high-speed drawing can be expected. The display list output from the interpreter unit 11 is rendered as a bitmap in the bitmap storage unit 13 by the rasterizing unit 12 and transmitted to the image forming unit 14.
[0006]
Hereinafter, the operation will be described using an actual example. It is assumed that two objects 21 and 22 as shown in FIG. Assuming that the objects are divided into bands as shown in FIG. 3A, the band data generating unit 6 divides each object into band units as shown in FIG. Divide to generate band data. Here, since the object 22 is curve data, in order to avoid an increase in the processing cost of division in band units, the object is converted into polygonal figures by the figure approximation unit 4 and then divided into band figures (FIG. 4). reference).
Further, the foreground color, the background color, the presence / absence of filling, and the like are set parameters common to the divided objects, and therefore, are transmitted to the printer 9 only once. The setting parameters are stored in the memory of the interpreter unit 11 and are referred to when an object is converted into a display list (FIG. 5). Here, if there is a bias in the settings, it is possible to reduce the amount of memory to be stored by setting a default value. Further, when the setting is uneven for each page, a default value may be explicitly set at the beginning of the page.
[0007]
【The invention's effect】
According to the image forming system of the present invention, the display list of one object is stored in the memory of the printer (image forming apparatus) in a plurality of bands by dividing the object into band units. It is not necessary to keep it, and efficient use of memory becomes possible.
According to the image forming system of the present invention, a curve object is divided after approximating a polygonal object, thereby enabling high-speed division.
According to the image forming system of the present invention, by storing the setting parameters in the printer, high-speed processing can be performed.
According to the image forming system of the present invention, by setting the default setting parameters, the amount of memory required for holding the parameters can be reduced.
According to the image forming system of the present invention, by setting default setting parameters suitable for each page, it is possible to reduce the amount of memory required for holding the parameters.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of an image forming system according to an embodiment of the present invention.
FIG. 2 is a diagram showing two objects.
FIG. 3 is a diagram showing how an object is divided into band data.
FIG. 4 is a diagram illustrating a state where a divided object is further divided by polygon approximation.
FIG. 5 is a diagram illustrating functions of an interpreter unit.
[Explanation of symbols]
1 host computer, 2 printer driver, 8 application, 9
Printer (image forming apparatus), 10 controller section, 14 image forming section