JPH09300769A - Printing device, method for registering data, and storage medium with control program stored therein - Google Patents

Printing device, method for registering data, and storage medium with control program stored therein

Info

Publication number
JPH09300769A
JPH09300769A JP8124625A JP12462596A JPH09300769A JP H09300769 A JPH09300769 A JP H09300769A JP 8124625 A JP8124625 A JP 8124625A JP 12462596 A JP12462596 A JP 12462596A JP H09300769 A JPH09300769 A JP H09300769A
Authority
JP
Japan
Prior art keywords
data
image data
intermediate data
input
rasterizing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP8124625A
Other languages
Japanese (ja)
Inventor
Masanari Toda
雅成 戸田
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP8124625A priority Critical patent/JPH09300769A/en
Priority to US08/684,971 priority patent/US5859954A/en
Publication of JPH09300769A publication Critical patent/JPH09300769A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten a rendering process time of registered intermediate languages by providing a controller for reregistering intermediate data with image data in accordance with the results compared by means of a comparator. SOLUTION: As a form registration completion order is read in, a CPU 109 operates to form groups of intermediate languages in a file system 106 in accordance with its superimposition, and to calculate by making a prediction of the rasterized size at a group unit. A combination of intermediate languages is found out, where the resterized size becomes smaller than the total size of intermediate languages, and CPU 109 works to rasterize intermediate languages included in the group in use of a page buffer 107 and reregister them in the file system 106 as intermediate languages.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は印刷装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device.

【0002】[0002]

【従来の技術】近年の印刷装置として、CAD(計算機
支援用設計)、CG(コンピュータグラフィックス)、
デサイン、ビジネスにおけるDTP(デスクトップパブ
リッシング)分野等のマルチメディア処理で利用される
データを高精細に印刷・記録するプリンタが製品化され
ている。
2. Description of the Related Art Recent printing apparatuses include CAD (design for computer support), CG (computer graphics),
Printers for printing and recording data used in multimedia processing such as design and DTP (Desktop Publishing) in business in high definition have been commercialized.

【0003】このようなプリンタは、ホストコンピュー
タから送られるPDL(ページ記述言語)コードを受け
取って解析し、中間言語を作成して1ページ分保持し、
保持された中間言語をハードウェアまたはソフトウェア
で高速にレンダリング(ラスタライズ)を行う。
Such a printer receives a PDL (page description language) code sent from a host computer, analyzes it, creates an intermediate language, and holds one page,
The retained intermediate language is rendered (rasterized) at high speed by hardware or software.

【0004】中間言語の形態としては、ハードウェアで
も高速に処理が可能なもので左右点の座標を高さ分持つ
ランレングスオブジェクトや、イメージデータをそのま
ま持つイメージオブジェクトなどがある。
As the form of the intermediate language, there are a run-length object which can be processed at high speed even by hardware and has coordinates of left and right points by the height, and an image object which has image data as it is.

【0005】また、複数ページに同じフォームデータ
(罫線、ロゴ)で描画するような場合に中間言語の形式
で同じフォームデータをプリンタ内のファイルシステム
に登録しておき、格納されたフォームデータを指定する
ことでデータを何度もホストコンピュータから送ること
なく同じフォームデータの印刷を繰り返し行う手法をフ
ォームオーバーレイ印刷という。
Further, when drawing the same form data (ruled lines, logo) on a plurality of pages, the same form data is registered in the file system in the printer in an intermediate language format, and the stored form data is designated. By doing so, a method of repeatedly printing the same form data without sending the data from the host computer many times is called form overlay printing.

【0006】フォームオーバーレイ印刷は、フォーム登
録開始命令、フォーム登録終了命令、フォーム指定命令
の3つのPDLコードて実現可能である。フォーム登録
開始命令とフォーム登録終了命令と挟まれたPDLコー
ドが中間言語に変換され、一意に特定される名前を付加
してフォームデータとしてプリンタ内のファイルシステ
ムに登録される。
Form overlay printing can be realized by three PDL codes, a form registration start command, a form registration end command, and a form designation command. The PDL code sandwiched between the form registration start command and the form registration end command is converted into an intermediate language, and a uniquely specified name is added to register as form data in the file system in the printer.

【0007】なお、中間言語とは、PDLコードからイ
メージデータを生成し易い様にPDLコードを加工した
データである。
The intermediate language is data obtained by processing the PDL code so that image data can be easily generated from the PDL code.

【0008】PDLコード中のフォーム指定命令が解析
されると、指定された名前のフォームデータ(中間言
語)は他の中間言語が格納されているメモリ空間にコピ
ーされ、解析されてイメージデータに変換されページバ
ッファに格納される。
When the form designation command in the PDL code is parsed, the form data (intermediate language) with the designated name is copied to the memory space in which another intermediate language is stored, parsed and converted into image data. Stored in the page buffer.

【0009】上記フォーム指定命令は何度も呼び出し可
能であるので、異なるページで呼び出すことで同じフォ
ーマット形式の紙面を繰り返しレンダリング(ラスタラ
イズ)することができる。
Since the form designation command can be called many times, it is possible to repeatedly render (rasterize) the paper of the same format by calling it on different pages.

【0010】また、近年プリンタは、ホストコンピュー
タから送られるPDL(ページ記述言語)を受けとり解
析し、中間言語を作成し1ページ分保持し、中間言語は
ハードウェアまたはソフトウェアで排紙処理時に2つの
バンドメモリを交互に使って高速にレンダリング(ラス
タライズ)される物がある。
In recent years, the printer receives and analyzes the PDL (page description language) sent from the host computer, creates an intermediate language and holds one page, and the intermediate language is hardware or software, and two There are objects that are rendered (rasterized) at high speed by alternately using band memories.

【0011】中間言語の形態としてはハードウェアでも
高速に処理が可能な単純な物であり、左右点の座標を高
さ分持つ(ランレングス中間言語)、イメージデータを
そのまま持つ(イメージ中間言語)、イメージを圧縮し
て持つ(圧縮イメージ中間言語)などがある。イメージ
中間言語は、1ピクセル当たり2、4、8ビットの多値
イメージを扱い、描画時に描画場所に応じたプリンタの
階調に落して描画する物がある。
The intermediate language is a simple one that can be processed at high speed even by hardware, and has the coordinates of the left and right points by the height (run length intermediate language) and the image data as it is (image intermediate language). , Have images compressed (compressed image intermediate language) and so on. The image intermediate language handles multi-valued images of 2, 4, and 8 bits per pixel, and there is a thing which is drawn at the time of drawing with the gradation of the printer depending on the drawing place.

【0012】また、中間言語を展開する際に、既にメモ
リ上に展開されているデスティネーションイメージに対
して論理描画を加えることによって、白黒反転文字など
を生成するものがある。
Further, there is a method in which, when the intermediate language is developed, a black-and-white inverted character or the like is generated by adding a logical drawing to the destination image already developed in the memory.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、上記従
来の印刷装置には以下に掲げる問題があった。
However, the conventional printing apparatus described above has the following problems.

【0014】即ち、フォーム指定命令が呼ばれる度に中
間言語を解析するので、中間言語の解析、ラスタライズ
処理が重複し、処理時間が長くなってしまう。
That is, since the intermediate language is analyzed each time the form designation command is called, the analysis of the intermediate language and the rasterizing process are duplicated and the processing time becomes long.

【0015】また、中間言語の形態は一般にPDLコー
ドより小さいサイズであるが、同じ箇所に重ね書きする
場合、レンダリング(ラスタライズ)した方が小さい場
合がある。
Further, although the form of the intermediate language is generally smaller than the PDL code, in the case of overwriting at the same place, the rendered (rasterized) may be smaller.

【0016】しかしながら、多値イメージ中間言語は、
2値イメージ中間言語に比べてサイズが大きい、また、
複数の中間言語が同じ位置に描画されると中間言語格納
領域のサイズをとても大きくとる必要がある。
However, the multivalued image intermediate language is
Larger than the binary image intermediate language,
If multiple intermediate languages are drawn at the same position, the size of the intermediate language storage area must be very large.

【0017】また、同じバンド内に多くの中間言語を重
ね書きしたり、ラスタライズ時間が大きい中間言語が複
数ある場合に、中間言語の展開スピードがエンジンスピ
ードに間に合わないことがある。
Further, when many intermediate languages are overwritten in the same band, or when there are a plurality of intermediate languages having a long rasterization time, the development speed of the intermediate languages may not meet the engine speed.

【0018】以上の場合には、解像度または階調を低下
させてデグレードイメージデータを生成し、当該データ
を格納する1ページ分メモリ領域を確保し、そこに全て
の中間言語を展開した後に排紙処理を行っていた。しか
しそれでは、プリンタの出力結果がデータによって悪く
なるという問題を抱えていた。
In the above case, the resolution or gradation is lowered to generate the degraded image data, the one-page memory area for storing the data is secured, and after all the intermediate languages are expanded, the paper is discharged. It was processing. However, it has a problem that the output result of the printer is bad depending on the data.

【0019】上述した課題を解決するために本発明は、
登録したフォームデータ(中間言語)レンダリング処理
時間を短くし、かつ中間言語を保持するメモリ領域を小
さくできる印刷装置を提供することを目的とする。
In order to solve the above problems, the present invention provides
An object of the present invention is to provide a printing device that can shorten the rendering processing time of registered form data (intermediate language) and can reduce the memory area for holding the intermediate language.

【0020】[0020]

【課題を解決するための手段】上記目的を達成する為に
本発明の印刷装置は、情報処理装置から入力する入力デ
ータから中間データを作成し、該作成した中間データを
ラスタライズしてイメージデータを生成し印刷する印刷
装置であって、中間データを登録する登録手段と、前記
登録手段に登録された複数の中間データをラスタライズ
して生成するイメージデータのサイズと前記複数の中間
データのサイズを比較する比較手段と、前記比較手段で
の比較結果に応じて、前記中間データをイメージデータ
で再登録する制御手段とを有する。
In order to achieve the above object, a printing apparatus of the present invention creates intermediate data from input data input from an information processing apparatus and rasterizes the created intermediate data to generate image data. A printing apparatus for generating and printing, comparing a size of the plurality of intermediate data with a size of image data generated by rasterizing a plurality of the intermediate data registered in the registration unit And a control means for re-registering the intermediate data as image data according to the comparison result of the comparison means.

【0021】また、上記目的を達成する為に本発明のデ
ータ登録方法は、情報処理装置から入力する入力データ
から中間データを作成し、該作成した中間データをラス
タライズしてイメージデータを生成し印刷する印刷装置
におけるデータ登録方法であって、中間データを登録す
る登録工程と、前記登録工程で登録された複数の中間デ
ータをラスタライズして生成するイメージデータのサイ
ズと前記複数の中間データのサイズを比較する比較工程
と、前記比較工程での比較結果に応じて、前記中間デー
タをイメージデータで再登録する制御工程とを有する。
In order to achieve the above object, the data registration method of the present invention creates intermediate data from the input data input from the information processing apparatus, rasterizes the created intermediate data to generate image data, and prints it. A method of registering data in a printing apparatus, comprising: a registration step of registering intermediate data; a size of image data generated by rasterizing a plurality of intermediate data registered in the registration step; and a size of the plurality of intermediate data. There is a comparison step of comparing and a control step of re-registering the intermediate data as image data according to the comparison result in the comparison step.

【0022】また、上記目的を達成する為に本発明の記
憶媒体は、情報処理装置から入力する入力データから中
間データを作成し、該作成した中間データをラスタライ
ズしてイメージデータを生成し印刷する印刷装置で使用
される制御プログラムを記憶する記憶媒体であって、中
間データを登録する登録モジュールと、前記登録された
複数の中間データをラスタライズして生成するイメージ
データのサイズと前記複数の中間データのサイズを比較
する比較モジュールと、前記比較結果に応じて、前記中
間データをイメージデータで再登録する制御モジュール
から構成される制御プログラムを記憶している。
In order to achieve the above object, the storage medium of the present invention creates intermediate data from input data input from an information processing device, rasterizes the created intermediate data to generate image data and prints it. A storage medium for storing a control program used in a printing device, the registration module for registering intermediate data, the size of image data generated by rasterizing the plurality of registered intermediate data, and the plurality of intermediate data. It stores a control program composed of a comparison module for comparing the sizes of the two and a control module for re-registering the intermediate data as image data according to the comparison result.

【0023】また、上記目的を達成する為に本発明の印
刷装置は、情報処理装置から入力する入力データから中
間データを作成し、該作成した中間データをラスタライ
ズしてイメージデータを生成し印刷する印刷装置であっ
て、前記中間データのラスタライズ時間と所定時間を比
較する比較手段と、前記比較手段での比較結果に応じ
て、前記中間データをラスタライズしてイメージデータ
を生成し当該イメージデータを圧縮する圧縮手段と、前
記圧縮手段で圧縮したイメージデータを中間データに変
換して登録する登録手段とを有する。
Further, in order to achieve the above object, the printing apparatus of the present invention creates intermediate data from the input data input from the information processing apparatus, rasterizes the created intermediate data to generate image data and prints it. A printing device, comparing means for comparing the rasterization time of the intermediate data with a predetermined time, and rasterizing the intermediate data to generate image data according to the comparison result by the comparing means, and compressing the image data. And a registration unit that converts the image data compressed by the compression unit into intermediate data and registers the intermediate data.

【0024】また、上記目的を達成する為に本発明のデ
ータ登録方法は、情報処理装置から入力する入力データ
から中間データを作成し、該作成した中間データをラス
タライズしてイメージデータを生成し印刷する印刷装置
におけるデータ登録方法であって、前記中間データのラ
スタライズ時間と所定時間を比較する比較工程と、前記
比較工程での比較結果に応じて、前記中間データをラス
タライズしてイメージデータを生成し当該イメージデー
タを圧縮する圧縮工程と、前記圧縮工程で圧縮したイメ
ージデータを中間データに変換して登録する登録工程と
を有する。
In order to achieve the above object, the data registration method of the present invention creates intermediate data from input data input from an information processing apparatus, rasterizes the created intermediate data to generate image data, and prints the image data. A method for registering data in a printing apparatus, comprising: comparing a rasterizing time of the intermediate data with a predetermined time; and rasterizing the intermediate data according to a comparison result in the comparing step to generate image data. The method includes a compression step of compressing the image data and a registration step of converting the image data compressed in the compression step into intermediate data and registering it.

【0025】また、上記目的を達成する為に本発明の記
憶媒体は、情報処理装置から入力する入力データから中
間データを作成し、該作成した中間データをラスタライ
ズしてイメージデータを生成し印刷する印刷装置で使用
される制御プログラムを記憶した記憶媒体であって、前
記中間データのラスタライズ時間と所定時間を比較する
比較モジュールと、前記比較モジュールでの比較結果に
応じて、前記中間データをラスタライズしてイメージデ
ータを生成し当該イメージデータを圧縮する圧縮モジュ
ールと、前記圧縮モジュールで圧縮したイメージデータ
を中間データに変換して登録する登録モジュールから構
成される制御プログラムを記憶する。
In order to achieve the above object, the storage medium of the present invention creates intermediate data from input data input from an information processing device, rasterizes the created intermediate data to generate image data and prints it. A storage medium for storing a control program used in a printing device, the comparison module comparing a rasterization time of the intermediate data with a predetermined time, and rasterizing the intermediate data according to a comparison result of the comparison module. A control program that includes a compression module that generates image data and compresses the image data and a registration module that converts the image data compressed by the compression module into intermediate data and registers the intermediate data is stored.

【0026】[0026]

【発明の実施の形態】本発明の印刷装置の実施の形態に
ついて説明する。図1は実施の形態における印刷装置の
構成を示すブロック図である。図において、101はホ
ストコンピュータであり、作画アプリケーションを用い
てコードデータを作成し、作成されたコードデータを対
応するPDL(ページ記述言語)に変換し、変換された
PDLをプリンタコントローラ102に送出する。ホス
トコンピュータ101とプリンタコントローラ102と
の間にはPDLが転送される。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of a printing apparatus of the present invention will be described. FIG. 1 is a block diagram illustrating a configuration of a printing apparatus according to the embodiment. In the figure, reference numeral 101 is a host computer, which creates code data using a drawing application, converts the created code data into a corresponding PDL (page description language), and sends the converted PDL to the printer controller 102. . PDL is transferred between the host computer 101 and the printer controller 102.

【0027】プリンタコントローラ102に入力された
PDLは入力バッファ103(RAM)に一時格納さ
れ、プログラム用ROM104内のPDL解析プログラ
ムによって処理される。プログラム用ROM104は後
述する図4、図10に示す処理手順(制御プログラム)
を格納するメモリであり、CPU109がこの制御プロ
グラムにしたがってPDLを読み込み、各種処理を実行
する。
The PDL input to the printer controller 102 is temporarily stored in the input buffer 103 (RAM) and processed by the PDL analysis program in the program ROM 104. The program ROM 104 is a processing procedure (control program) shown in FIGS.
The CPU 109 reads the PDL according to the control program and executes various processes.

【0028】105は制御プログラムの管理領域として
のRAMであり、入力されたPDLを解析して変換され
た中間言語(ページオブジェクト)やグローバル情報等
が格納される。106はフォームデータ(中間言語)を
登録するときに使用されるファイルシステムである。
Reference numeral 105 denotes a RAM as a control program management area, which stores an intermediate language (page object), global information, etc., which is obtained by analyzing the input PDL and converted. Reference numeral 106 is a file system used when registering form data (intermediate language).

【0029】ページバッファ107は中間言語をラスタ
ライズしたイメージデータを格納する領域である。ペー
ジバッファ107(RAM)には、バンディング処理を
行うために最低2バンドのメモリ(ページ幅×256ま
たは512位のバンド高さ)、またはバンディング処理
ができない場合、レーザビームプリンタ(LBP)のよ
うにエンジンに同期してイメージを転送する必要のある
装置ではデーグレードイメージデータを格納するページ
分のメモリを確保する必要がある。
The page buffer 107 is an area for storing image data in which an intermediate language is rasterized. The page buffer 107 (RAM) has a memory of at least two bands (page width × 256 or band height of 512) for performing banding processing, or like a laser beam printer (LBP) when banding processing cannot be performed. In an apparatus that needs to transfer an image in synchronization with an engine, it is necessary to secure a page of memory for storing grade image data.

【0030】プリンタインターフェース108は、プリ
ンタエンジン110、例えばLBPとの間でページバッ
ファ107の内容をプリンタ側の水平・垂直同期信号に
シンクロナイズさせてビデオ情報を転送する。バブルジ
ェットプリンタ(BJ)の場合、ヘッド制御および複数
のラインのヘッドサイズに合わせたビデオ情報を転送す
る。また、プリンタインターフェース108はプリンタ
エンジン110との間でプリンタへのコマンド送信やプ
リンタからのステータス受信を行う。
The printer interface 108 synchronizes the contents of the page buffer 107 with a printer engine 110, for example, an LBP, into horizontal / vertical synchronizing signals on the printer side, and transfers video information. In the case of a bubble jet printer (BJ), head control and video information matching the head sizes of a plurality of lines are transferred. Further, the printer interface 108 transmits a command to the printer and receives a status from the printer with the printer engine 110.

【0031】CPU109はプリンタコントローラ10
2の内部処理を制御する演算装置である。110はプリ
ンタコントローラ102から送出されるビデオ信号を印
字するカラープリンタであり、電子写真によるカラーL
BPでもインクジェット方式であってもよい。
The CPU 109 is the printer controller 10
2 is an arithmetic unit for controlling internal processing. A color printer 110 prints a video signal sent from the printer controller 102.
Either BP or an inkjet method may be used.

【0032】(第1実施形態)図2はPDLを受け取っ
た場合にプリンタコントローラ102が行う処理の流れ
を示す説明図である。
(First Embodiment) FIG. 2 is an explanatory diagram showing the flow of processing performed by the printer controller 102 when a PDL is received.

【0033】(フォーム登録時)図において、201は
PDLである。PDLの図形、文字などは位置情報、ア
スキーコードなどの記号と共にホストコンピュータ10
1から送られてくるが、イメージデータは位置情報など
と共に送られてくる。PDLは送られてきた順に(図2
の上から)PDL解析プログラムに基づいて解析され、
中間言語に変換されて中間言語格納バッファ(メモリ空
間)202に格納される。中間言語格納バッファ202
はRAM105に設けられる。
(At the time of form registration) In the figure, 201 is a PDL. The PDL graphic, characters, etc., together with position information, symbols such as ASCII code, etc.
The image data is sent together with position information and the like. PDLs are sent in the order in which they were sent (Fig. 2
From above) is analyzed based on the PDL analysis program,
It is converted into an intermediate language and stored in the intermediate language storage buffer (memory space) 202. Intermediate language storage buffer 202
Is provided in the RAM 105.

【0034】フォーム登録開始命令2011が読み込ま
れると、CPU109はそれからフォーム登録終了命令
2012が来るまでに生成した中間言語をファイルシス
テム106に格納する。フォーム登録終了命令2012
が読み込まれると、CPU109はそれまでに格納した
ファイルシステム106内の中間言語を重なり具合でグ
ループを作り、グループ単位でラスタライズしたときの
サイズを予測して計算する。
When the form registration start command 2011 is read, the CPU 109 stores in the file system 106 the intermediate language generated until the form registration end command 2012 comes. Form registration end instruction 2012
When is read, the CPU 109 forms a group by overlapping the intermediate languages stored in the file system 106, and predicts and calculates the size when rasterized in group units.

【0035】ラスタライズしたサイズが中間言語のトー
タルサイズより最も小さくなる中間言語の組み合わせを
見つけ、CPU109はページバッファ107を用いて
グループに含まれる中間言語をラスタライズし、ファイ
ルシステム106に中間言語として再登録する。処理が
終わった中間言語はファイルシステム106から消去す
る。
The CPU 109 finds a combination of intermediate languages whose rasterized size is smaller than the total size of the intermediate languages, rasterizes the intermediate languages included in the group using the page buffer 107, and re-registers them in the file system 106 as the intermediate languages. To do. The processed intermediate language is deleted from the file system 106.

【0036】(フォーム指定時)PDL中のフォーム指
定命令2013が読み込まれると、CPU109は指定
されたフォームデータはファイルシステム106からメ
モリ空間202にコピーし、指定されたページにおいて
一番最初にページバッファ107にラスタライズする。
(When designating a form) When the form designating instruction 2013 in the PDL is read, the CPU 109 copies the designated form data from the file system 106 to the memory space 202, and first in the designated page buffers the page buffer. Rasterize to 107.

【0037】(オーバーレイ用中間言語のラスタライズ
時のデータサイズ予測方法)図3はオーバーレイ用中間
言語のラスタライズ時のイメージ(ビットマップ)デー
タのサイズ予測方法を示す説明図である。301は中間
言語3011、3012、3013、3014の順に登
録されたものを用いて描画された図である。
(Data Size Prediction Method for Overlay Intermediate Language Rasterization) FIG. 3 is an explanatory view showing a size prediction method for image (bitmap) data during overlay intermediate language rasterization. Reference numeral 301 is a drawing drawn by using intermediate languages 3011, 3012, 3013, and 3014 registered in this order.

【0038】各々の要素をラスタライズしたときの重な
り具合を調べるために、それぞれの要素のX、Y座標の
最大値、最小値を計算する。302はその様子を示す図
である。302において、中間言語3021は最初に描
かれるので、単体でイメージデータにする場合、イメー
ジデータのサイズの計算は最大値、最小値から簡単に求
めることができる。
In order to examine the degree of overlap when each element is rasterized, the maximum and minimum values of the X and Y coordinates of each element are calculated. Reference numeral 302 is a diagram showing the situation. In 302, since the intermediate language 3021 is drawn first, when the image data is formed by itself, the size of the image data can be easily calculated from the maximum value and the minimum value.

【0039】中間言語3022をイメージデータにする
には、下に重なっている中間言語3021を描画(ラス
タライズ)し、その上に描画しなくてはならない。つま
り、中間言語3021、3022を一緒にイメージデー
タとするには矩形「あ」で囲まれた範囲をイメージデー
タに変換する必要がある。このようにしてそれぞれの要
素毎に他の要素との重なり具合を計算し、重なりあって
いるものは一緒にイメージデータに変換したときのサイ
ズを計算し、元の中間言語のサイズの合計と計算したイ
メージデータのサイズとを比較したときにイメージデー
タの方が小さい場合、イメージデータにラスタライズし
てそれを中間言語とすることで中間言語全体の大きさを
小さくすることができる。
In order to convert the intermediate language 3022 into image data, it is necessary to draw (rasterize) the underlying intermediate language 3021 and draw on it. That is, in order to make the intermediate languages 3021 and 3022 together as image data, it is necessary to convert the range surrounded by the rectangle "A" into image data. In this way, calculate the degree of overlap with other elements for each element, calculate the size when overlapping it together with the image data, and calculate with the total size of the original intermediate language. When the size of the image data is smaller than the size of the image data, the size of the entire intermediate language can be reduced by rasterizing the image data and using it as an intermediate language.

【0040】(最大、最小座標値の更新方法の説明)図
4は最大、最小座標値の更新処理の為の制御プログラム
を示すフローチャートである。図5はオブジェクト登録
表を示す説明図である。図5に示すオブジェクト登録表
を用いてそれぞれの要素をイメージデータに変換するか
どうかを判断する。はじめに、オブジェクトをイメージ
データに変換するときのサイズ計算に使用する最小値、
最大値の計算方法を説明する。
(Description of Method of Updating Maximum and Minimum Coordinate Values) FIG. 4 is a flowchart showing a control program for updating the maximum and minimum coordinate values. FIG. 5 is an explanatory diagram showing an object registration table. It is determined using the object registration table shown in FIG. 5 whether each element is converted into image data. First, the minimum value used for size calculation when converting an object to image data,
The method of calculating the maximum value will be described.

【0041】なお、図5のオブジェクト登録表は管理用
RAM105に格納されている。
The object registration table of FIG. 5 is stored in the management RAM 105.

【0042】まず、CPU109は新しいオブジェクト
(中間言語)の取り込み処理を開始する(ステップS4
01)。新しく追加するオブジェクトの最小値(X、
Y)と最大値(X、Y)とを求め、オフジェクト登録表
501の列5011のmin(n)=(minX、mi
nY)、列5012のmax(n)=(maxX,ma
xY)と、オブジェクトをイメージデータに変換すると
きに必要なサイズである列5013のMIN(n)=
(MIN_X,MIN_Y)、列5014のMAX
(n)=(MAX_X,MAX_Y)に値をセットする
(ステップS402)。
First, the CPU 109 starts the process of importing a new object (intermediate language) (step S4).
01). Minimum value of newly added object (X,
Y) and the maximum value (X, Y) are calculated, and min (n) = (minX, mi) in the column 5011 of the object registration table 501.
nY), max (n) of column 5012 = (maxX, ma
xY) and MIN (n) of column 5013, which is the size required when converting the object to image data =
(MIN_X, MIN_Y), MAX in column 5014
A value is set to (n) = (MAX_X, MAX_Y) (step S402).

【0043】カウンタCntに現在のオブジェクト数を
セットし(ステップS403)、カウンタCntの値を
1つ減らす(ステップS404)。オブジェクトOBJ
(Cnt)と新たに取り込んだオブジェクトが重なって
いるかどうかをMIN(n),MAX(n)と、min
(Cnt),max(Cnt)を比較することによって
求める(ステップS405)。
The current number of objects is set in the counter Cnt (step S403), and the value of the counter Cnt is decremented by 1 (step S404). Object OBJ
Whether MIN (n), MAX (n) and min (n) overlap with the newly imported object, min
It is obtained by comparing (Cnt) and max (Cnt) (step S405).

【0044】重なっている場合、MIN(n),MAX
(n)とmin(Cnt),max(Cnt)の中での
最も大きい値、小さい値をMIN(n),MAX(n)
に再入力し(ステップS406)、さらに、列5015
に重なったオブジェクトを全て登録する。
If they overlap, MIN (n), MAX
The highest and lowest values of (n), min (Cnt), and max (Cnt) are MIN (n) and MAX (n).
(Step S406), and the column 5015
Register all objects that overlap.

【0045】既に登録されているデータがないか否かを
判別し(ステップS407)、登録されているデータが
ない場合、MIN(n),MAX(n)からイメージに
変換したときに必要なサイズ「あ」と、下に重なるオブ
ジェクト全てのサイズの合計「い」とを計算する(ステ
ップS408)。
It is determined whether or not there is already registered data (step S407), and if there is no registered data, the size required when converting from MIN (n), MAX (n) to an image. "A" and the total size "I" of all the objects that overlap below are calculated (step S408).

【0046】イメージに変換したときのデータ量「あ」
よりも全てのオブジェクトサイズ「い」の方が大きいか
否かを判別し(ステップS409)、オブジェクトサイ
ズ「い」の方が大きい場合、MIN(n),MAX
(n)のサイズのイメージデータを列5015に登録さ
れたオブジェクトを用いて作成し、最も下のオブジェク
トがあった部分に登録する(ステップS410)(図5
の5041参照)。処理が終わったオブジェクトはオブ
ジェクト登録表501から削除する。
Data amount "a" when converted to an image
It is determined whether or not all the object sizes “i” are larger than the object sizes (step S409), and if the object sizes “i” are larger, MIN (n), MAX.
Image data of size (n) is created using the object registered in the column 5015, and is registered in the portion where the lowest object was (step S410) (FIG. 5).
5041). The processed object is deleted from the object registration table 501.

【0047】オブジェクトが終了したか否かを判別し
(ステップS411)、オブジェクトがなくなるまで繰
り返しステップS401にループする。
It is determined whether or not the object has ended (step S411), and the process repeatedly loops to step S401 until there is no object.

【0048】オブジェクト5021〜5026までが枠
502に示す様にページバッファ107に描かれる場
合、オブジェクト登録表501を作成していく。502
5まではそれぞれのオブジェクトをそのまま登録してい
た方がデータ量が小さいのでそのまま中間言語として登
録されているが、5026のイメージオブジェクトが登
録されるときに計算を行うと、5025、5021と共
にイメージデータとして登録したほうがよいと判断され
ると、枠504のオブジェクト5041に示される大き
さのイメージデータとして再登録される。
When the objects 5021 to 5026 are drawn in the page buffer 107 as shown in the frame 502, the object registration table 501 is created. 502
Up to 5 each object is registered as it is because the amount of data is smaller, so it is registered as an intermediate language as it is. However, if calculation is performed when 5026 image objects are registered, image data will be displayed together with 5025 and 5021. If it is determined that the image data should be registered as, the image data having the size indicated by the object 5041 in the frame 504 is re-registered.

【0049】尚、フォームオーバーレイ印刷時に限ら
ず、中間言語を事前にラスタライズする処理を通常モー
ド時に適用してもよい。またフォームオーバーレイ時に
は中間言語をそのまま登録し、登録後の空き時間に再計
算を行って最も小さなオブジェクトに再登録するように
してもよい。
The process of rasterizing the intermediate language in advance may be applied not only during the form overlay printing but also during the normal mode. Alternatively, the intermediate language may be registered as it is at the time of form overlay, and recalculation may be performed in the free time after registration to re-register the smallest object.

【0050】(第2実施形態)次に図6〜図10を用い
て本発明の第2の実施形態を説明する。
(Second Embodiment) Next, a second embodiment of the present invention will be described with reference to FIGS.

【0051】以下、図6を用いて中間言語よりもイメー
ジデータの方がサイズが小さい場合を説明する。
The case where the size of the image data is smaller than that of the intermediate language will be described below with reference to FIG.

【0052】図6の201は入力バッファ103に送ら
れてきたPDLである。PDLは図形、文字等は位置情
報、アスキーコードなどの記号と送られてくるが、イメ
ージデータは位置情報などと共に送られてくる。PDL
はPDL解析プログラムによって送られてきた順(上か
ら)に解析され、中間言語に変換されて通常は202の
中間言語格納メモリ空間(管理用RAM105)に格納
される。
Reference numeral 201 in FIG. 6 denotes a PDL sent to the input buffer 103. The PDL is sent with figures, characters and the like as position information and symbols such as ASCII codes, but the image data is sent with position information and the like. PDL
Are analyzed in the order sent from the PDL analysis program (from the top), converted into an intermediate language, and usually stored in the intermediate language storage memory space 202 (management RAM 105).

【0053】通常モードにおいて、円描画命令(201
1)が読み込まれると、中間言語格納メモリ202に円
の中間言語203が格納される。
In the normal mode, the circle drawing command (201
When 1) is read, the circle intermediate language 203 is stored in the intermediate language storage memory 202.

【0054】次にイメージ描画命令2012が読み込ま
れ処理され、イメージ中間言語204が202に格納さ
れる。ところが、多値イメージ中間言語204を2値プ
リンタで出力する場合に、描画時に変換するイメージデ
ータは2値イメージであり、2値化して変換した時の方
がサイズが小さくなる。そこで、こういう場合は、CP
U109はバンドレンダリング時に用いるページバッフ
ァ107を使って多値イメージ中間言語を2値イメージ
207に変換する。
Next, the image drawing command 2012 is read and processed, and the image intermediate language 204 is stored in 202. However, when the multi-valued image intermediate language 204 is output by a binary printer, the image data converted at the time of drawing is a binary image, and the size is smaller when the image is binarized and converted. Therefore, in such a case, CP
U109 converts the multi-valued image intermediate language into a binary image 207 by using the page buffer 107 used in band rendering.

【0055】これをそのまま2値イメージ中間言語とし
て格納することによって、元のサイズよりも小さな中間
言語を作ることが可能となる。
By storing this as a binary image intermediate language as it is, it is possible to create an intermediate language smaller than the original size.

【0056】また、格納する際には、Loss Les
s 圧縮または単純間引きなどのLossy圧縮によっ
て、圧縮して圧縮イメージ中間言語として格納しても良
い。
Also, when storing, Loss Les
It may be compressed and stored as a compressed image intermediate language by Lossy compression such as s compression or simple thinning.

【0057】そして、中間言語が再登録されたところ
で、CPU109は中間言語格納メモリ202からソー
スである多値イメージ中間言語は消去する。
When the intermediate language is re-registered, the CPU 109 erases the source multi-valued image intermediate language from the intermediate language storage memory 202.

【0058】次に、図7を用いて複数の中間言語を変換
した時に同一箇所に重なる場合を説明する。
Next, the case where a plurality of intermediate languages are converted and overlapped at the same location will be described with reference to FIG.

【0059】図7の301は入力バッファ103に送ら
れてきたPDLである。PDLは図形、文字等は位置情
報とアスキーコードなどの記号が送られてくる。イメー
ジデータは位置情報などと共に送られてくる。PDLは
PDL解析プログラムによって送られてきた順(上か
ら)に解析され、中間言語に変換されて通常は302の
中間言語格納メモリ空間(管理用RAM105)に格納
される。
Reference numeral 301 in FIG. 7 denotes a PDL sent to the input buffer 103. Position information and symbols such as ASCII code are sent to the PDL for figures and characters. The image data is sent together with position information and the like. The PDL is analyzed in the order sent from the PDL analysis program (from the top), converted into an intermediate language, and usually stored in the intermediate language storage memory space 302 (management RAM 105).

【0060】通常モードにおいて、イメージ描画命令
(3011)が読み込まれると、中間言語格納メモリ3
02にイメージ中間言語303が格納される。
In the normal mode, when the image drawing command (3011) is read, the intermediate language storage memory 3
The image intermediate language 303 is stored in 02.

【0061】次にCPU109は矩形描画命令3012
を読み込み、処理することで、矩形の中間言語304を
302に格納する。ところが、イメージ中間言語303
と矩形中間言語の描画位置は同じ位置、同じ大きさに描
画する場合、2つの中間言語の合計サイズは描画時に必
要なメモリサイズよりも大きい場合がある。(以上のよ
うに片方の中間言語がイメージなどの場合)、こういう
場合は、バンドレンダリング時に用いるページバッファ
107を使いイメージ中間言語と、矩形中間言語を相関
位置を合わせて一つの2値イメージ307に展開する。
Next, the CPU 109 instructs the rectangle drawing command 3012.
Is read and processed to store the rectangular intermediate language 304 in 302. However, the image intermediate language 303
When the drawing positions of and the rectangular intermediate language are drawn at the same position and the same size, the total size of the two intermediate languages may be larger than the memory size required at the time of drawing. (In the case where one of the intermediate languages is an image as described above), in such a case, the page buffer 107 used at the time of band rendering is used and the image intermediate language and the rectangular intermediate language are matched with each other to form one binary image 307. expand.

【0062】それを2値イメージ中間言語として格納す
ることによって、元のサイズよりも小さな中間言語を作
ることが可能となる。
By storing it as a binary image intermediate language, it is possible to create an intermediate language smaller than the original size.

【0063】また、格納する際には、Loss Les
sな圧縮または単純間引きなどのLossyな圧縮によ
って、圧縮して圧縮イメージ中間言語として格納しても
良い。
Also, when storing, Loss Les
It may be compressed and stored as a compressed image intermediate language by lossy compression such as s compression or simple thinning.

【0064】そして、中間言語が再登録されたところ
で、中間言語格納メモリ302からソースである多値イ
メージ中間言語は消去する。
When the intermediate language is re-registered, the source multivalued image intermediate language is deleted from the intermediate language storage memory 302.

【0065】次に、図8を用いて中間言語のラスタライ
ズ時間(中間言語からイメージデータを生成するまでに
要する時間)が排紙スピード(ページバッファ内のイメ
ージデータをエンジンへ転送して印字するまでに要する
時間)に間に合わない場合を説明する。
Next, referring to FIG. 8, the rasterizing time of the intermediate language (the time required to generate the image data from the intermediate language) depends on the discharge speed (the image data in the page buffer is transferred to the engine and printed). (Time required for) will be explained.

【0066】図8の401は入力バッファ103に送ら
れてきたPDLである。PDLは図形、文字等は位置情
報とアスキーコードなどの記号が送られてくる。イメー
ジデータは位置情報などと共に送られてくる。PDLは
PDL解析プログラムによって送られてきた順(上か
ら)に解析され、中間言語に変換されて402の中間言
語格納メモリ空間(管理用RAM105)に格納され
る。その際に、中間言語のラスタライズに要する予測時
間をバンド毎に計算し、管理用RAM105内のテーブ
ル404に格納する。
Reference numeral 401 in FIG. 8 is a PDL sent to the input buffer 103. Position information and symbols such as ASCII code are sent to the PDL for figures and characters. The image data is sent together with position information and the like. The PDL is analyzed in the order sent from the PDL analysis program (from the top), converted into an intermediate language, and stored in the intermediate language storage memory space 402 (management RAM 105). At that time, the predicted time required for rasterizing the intermediate language is calculated for each band and stored in the table 404 in the management RAM 105.

【0067】PDL401において、ページ開始命令に
続いて多値イメージ描画命令(4011)が読み込まれ
ると、イメージ中間言語(403)が中間言語格納メモ
リ(402)に格納され、CPU109は同時にバンド
毎のイメージへのラスタライズ時間を予測し、その値を
描画時間予測テーブル(404)に格納する。
In the PDL 401, when the multi-valued image drawing command (4011) is read after the page start command, the image intermediate language (403) is stored in the intermediate language storage memory (402), and the CPU 109 simultaneously causes the image of each band to be read. The rasterization time for the image is predicted, and the value is stored in the drawing time prediction table (404).

【0068】次に文字描画命令4012が読み込まれ、
文字の中間言語404が中間言語格納メモリ402に格
納される。この時に文字の描画位置が403のイメージ
と同じバンドであるために、描画時間の合計が排紙時間
に間に合わないと判断されたとする。この場合は描画時
間が最もかかる多値イメージ中間言語をページバッファ
107を用いて2値イメージに展開し、これをイメージ
中間言語407として登録する。
Next, the character drawing command 4012 is read,
The intermediate language 404 of the character is stored in the intermediate language storage memory 402. At this time, it is assumed that it is determined that the total drawing time is not in time for the paper discharge time because the character drawing position is in the same band as the image 403. In this case, the multi-valued image intermediate language that requires the longest rendering time is developed into a binary image using the page buffer 107, and this is registered as the image intermediate language 407.

【0069】また、登録する際には、Loss Les
sな圧縮または単純間引きなどのLossyな圧縮によ
って、圧縮したイメージ中間言語として格納しても良
い。
When registering, Loss Les
It may be stored as a compressed image intermediate language by lossy compression such as s compression or simple thinning.

【0070】そして、中間言語が再登録されたところ
で、中間言語格納メモリ402からソースデータである
多値イメージ中間言語(403)は消去し、描画時間予
測テーブルのイメージ描画時間も2値イメージ描画時間
の予測時間に変更する。
When the intermediate language is re-registered, the multivalued image intermediate language (403) which is the source data is erased from the intermediate language storage memory 402, and the image drawing time of the drawing time prediction table is also the binary image drawing time. Change to the estimated time of.

【0071】次に、図9を用いてオーバーレイモードの
場合を説明する。
Next, the case of the overlay mode will be described with reference to FIG.

【0072】図9の501は入力バッファ103に送ら
れてきたPDLである。PDLは図形、文字等は位置情
報、アスキーコードなどの記号と送られてくるが、イメ
ージデータは位置情報などと共に送られてくる。PDL
はPDL解析プログラムによって送られてきた順(上か
ら)に解析され、中間言語に変換されて通常は502の
中間言語格納メモリ空間(管理用RAM105)に格納
される。
Reference numeral 501 in FIG. 9 is a PDL sent to the input buffer 103. The PDL is sent with figures, characters and the like as position information and symbols such as ASCII codes, but the image data is sent with position information and the like. PDL
Are analyzed in the order sent from the PDL analysis program (from the top), converted into an intermediate language, and normally stored in the intermediate language storage memory space 502 (management RAM 105).

【0073】こういったページプリンタにおいて、複数
ページに同じフォーム(罫線、ロゴ)で描画するような
場合に、中間言語の形式でプリンタ内のファイルシステ
ム106に登録しておき、格納したフォームを指定する
ことで、データを何度もホストコンピュータ1から送る
ことなく同じフォームデータの印刷を繰り返し行うこと
を可能とする手法をフォームオーバーレイ印刷と呼んで
いる。
When drawing the same form (ruled lines, logo) on multiple pages in such a page printer, it is registered in the file system 106 in the printer in the intermediate language format and the stored form is designated. By doing so, a method capable of repeatedly printing the same form data without sending the data from the host computer 1 many times is called form overlay printing.

【0074】501のフォーム登録開始命令5011が
読み込まれると、フォーム登録終了命令5012が読み
込まれるまでに読み込まれて生成された中間言語はファ
イルシステム106に格納される。格納された中間言語
群は名前をつけて登録され、フォーム指定命令5013
によって呼ばれた時にファイルシステム106から読み
込まれて描画処理が行われる。以上のシステムにおい
て、フォームデータを中間言語として登録する際に、こ
れまでに説明した、 1)多値イメージデータがあり、ラスタライズした方が
小さな中間言語になる。 2)複数の中間言語が重なって描画される。 3)ラスタライズ時間が排紙時間に間に合わないバンド
がある。 などの場合には、ページバッファ107を用いて2値イ
メージ中間言語に展開し、これをオーバーレイ用中間言
語507としてファイルシステム106に登録する。
When the form registration start command 5011 of 501 is read, the intermediate language read and generated by the time the form registration end command 5012 is read is stored in the file system 106. The stored intermediate languages are registered with a name, and the form designation command 5013
When called by, the file system 106 is read and the drawing process is performed. In the above system, when registering form data as an intermediate language, 1) multi-valued image data, which has been described so far, and rasterized becomes a smaller intermediate language. 2) A plurality of intermediate languages are overlaid and drawn. 3) For some bands, the rasterize time does not meet the paper discharge time. In such a case, the page buffer 107 is used to develop the binary image intermediate language, and this is registered in the file system 106 as the overlay intermediate language 507.

【0075】また、格納する際には、Loss Les
sな圧縮または単純間引きなどのLossyな圧縮によ
って、圧縮して圧縮イメージ中間言語として格納しても
良い。
When storing, Loss Les
It may be compressed and stored as a compressed image intermediate language by lossy compression such as s compression or simple thinning.

【0076】そして、中間言語が再登録されたところ
で、ファイルシステム106からソースの中間言語は消
去する。
When the intermediate language is re-registered, the source intermediate language is deleted from the file system 106.

【0077】次に図10の制御プログラムを示すフロー
チャートを用いて以上の処理を一つの処理系としてまと
めて説明する。
Next, the above processing will be collectively described as one processing system with reference to the flowchart showing the control program of FIG.

【0078】S601で入力バッファ103からPDL
を読みだし、CPU109は解析して中間言語Nを作成
し、S602で中間言語Nをラスタライズ時にメモリ空
間上にラスタライズした時の位置と幅width、高さ
heightを計算する。(展開した形が矩形ではない
場合はXY座標の最小値、最大値を矩形の角点として計
算する)。
In step S601, the PDL is input from the input buffer 103.
The CPU 109 analyzes and creates the intermediate language N, and calculates the position, width and height when rasterizing the intermediate language N in the memory space at the time of rasterizing in S602. (If the expanded shape is not a rectangle, the minimum and maximum values of XY coordinates are calculated as the corner points of the rectangle).

【0079】次に、S603で中間言語Nをラスタライ
ズした時に必要なメモリサイズXをwidth,hei
ghtから求め、S604で中間言語Nのサイズがこれ
をラスタライズするのに必要なサイズXよりも大きい場
合は、CPU109はS605を間に合う時はS608
を実行する。
Next, the memory size X required when the intermediate language N is rasterized in S603 is set to width, hei.
If the size of the intermediate language N is larger than the size X required to rasterize the intermediate language N in S604, the CPU 109 executes S605 when S605 is sufficient.
To execute.

【0080】S605でそれまでにそのページ用に登録
されている中間言語の中に同じ位置、同じ幅高さにラス
タライズされる中間言語Lがある場合はCPU109は
S606を、ない場合はS607を実行する。
If there is an intermediate language L rasterized at the same position and the same width and height among the intermediate languages registered so far in S605, the CPU 109 executes S606, otherwise executes S607. To do.

【0081】S606で中間言語Lをページメモリ10
7にラスタライズし、Lを削除する。
In step S606, the intermediate language L is set to the page memory 10
Rasterize to 7 and delete L.

【0082】S607で中間言語Nをページメモリ10
7上にラスタライズし、圧縮処理を加えて圧縮イメージ
中間言語として登録し、Nは削除する。
In step S607, the intermediate language N is set to the page memory 10
7 is rasterized, compressed and added as a compressed image intermediate language, and N is deleted.

【0083】S608で中間言語Nをそのまま登録し、
S609で中間言語のラスタライズ時間が排紙時間より
もかかる部分がある場合はCPU109はS610を、
それ以外はS611を実行する。
In S608, the intermediate language N is registered as it is,
If there is a portion where the rasterizing time of the intermediate language is longer than the paper discharge time in S609, the CPU 109 executes S610,
Otherwise, S611 is executed.

【0084】S610で展開に時間がかかる中間言語を
ページメモリ107にラスタライズし、その中間言語は
削除する。展開した2値イメージ部分を圧縮して圧縮中
間言語として再登録し、S611で入力バッファ103
にPDLがある場合はS601を、ない場合は処理を終
了する。
In step S610, the intermediate language that takes a long time to develop is rasterized in the page memory 107, and the intermediate language is deleted. The expanded binary image portion is compressed and re-registered as a compressed intermediate language, and in step S611, the input buffer 103
If there is a PDL in step S601, the process ends. If not, the process ends.

【0085】次に、本実施形態の印刷装置に用いる例え
ばプログラム用ROM104の様な記憶媒体について、
図11と図12を用いて説明する。
Next, regarding a storage medium such as the program ROM 104 used in the printing apparatus of the present embodiment,
This will be described with reference to FIGS. 11 and 12.

【0086】図11と図12は本発明の各実施形態にお
ける制御プログラムを記憶した記憶媒体のメモリマップ
の一例である。
FIG. 11 and FIG. 12 are examples of a memory map of the storage medium storing the control program in each embodiment of the present invention.

【0087】登録された複数の中間データをラスタライ
ズして生成したイメージデータのサイズと複数の中間デ
ータのサイズを比較し、その比較結果に応じて、中間デ
ータをイメージデータで再登録する制御プログラムを格
納する記憶媒体には、図11に示す様に、少なくとも
「登録モジュール」、「比較モジュール」「制御モジュ
ール」の各モジュールのプログラムコードを記憶媒体に
格納すれば良い。
A control program for comparing the size of image data generated by rasterizing a plurality of registered intermediate data with the size of a plurality of intermediate data and re-registering the intermediate data as image data according to the comparison result. As shown in FIG. 11, the storage medium to be stored may store at least the program codes of at least the “registration module”, the “comparison module”, and the “control module” in the storage medium.

【0088】ここで、「登録モジュール」は、中間デー
タを登録する為のプログラムモジュールである。
Here, the "registration module" is a program module for registering intermediate data.

【0089】また、「比較モジュール」は、前記登録さ
れた複数の中間データをラスタライズして生成するイメ
ージデータのサイズと前記複数の中間データのサイズを
比較する為のプログラムモジュールである。
The "comparison module" is a program module for comparing the size of the image data generated by rasterizing the plurality of registered intermediate data with the size of the plurality of intermediate data.

【0090】また、「制御モジュール」は、比較結果に
応じて、前記中間データをイメージデータで再登録する
為のプログラムモジュールである。
The "control module" is a program module for re-registering the intermediate data as image data according to the comparison result.

【0091】また、中間データのラスタライズ時間と所
定時間を比較し、その比較結果に応じて、中間データを
ラスタライズしてイメージデータを生成し当該イメージ
データを圧縮し、圧縮したイメージデータを中間データ
に変換して登録する制御プログラムを格納する記憶媒体
には、図12に示す様に、少なくとも「比較モジュー
ル」、「圧縮モジュール」「登録モジュール」の各モジ
ュールのプログラムコードを記憶媒体に格納すれば良
い。
Further, the rasterizing time of the intermediate data is compared with a predetermined time, the intermediate data is rasterized to generate image data according to the comparison result, the image data is compressed, and the compressed image data is converted into the intermediate data. As shown in FIG. 12, the storage medium storing the control program to be converted and registered may store at least the program code of each module of “comparison module”, “compression module” and “registration module”. .

【0092】ここで、「比較モジュール」は、中間デー
タのラスタライズ時間と所定時間を比較する為のプログ
ラムモジュールである。
Here, the "comparison module" is a program module for comparing the rasterizing time of the intermediate data with a predetermined time.

【0093】また、「圧縮モジュール」は、比較結果に
応じて、中間データをラスタライズしてイメージデータ
を生成し当該イメージデータを圧縮する為にプログラム
モジュールである。
The "compression module" is a program module for rasterizing the intermediate data to generate image data and compressing the image data according to the comparison result.

【0094】また、「登録モジュール」は、圧縮モジュ
ールで圧縮したイメージデータを中間データに変換して
登録する為のプログラムモジュールである。
The "registration module" is a program module for converting the image data compressed by the compression module into intermediate data and registering it.

【0095】なお、記憶媒体としては本実施形態のRO
M104の他、印刷装置に着脱可能なフロッピーディス
ク、光ディスク、光磁気ディスク、CD−ROM、CD
−R、磁気テープ、不揮発性のメモリカードなどを用い
ることができる。
As the storage medium, the RO of this embodiment is used.
In addition to M104, a floppy disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD that can be attached to and detached from a printing device
-R, a magnetic tape, a non-volatile memory card, etc. can be used.

【0096】[0096]

【発明の効果】以上の発明によって、通常モードまた
は、オーバーレイモード時に中間言語を小さなデータ形
式で登録可能となる。これによって、描画時間を短縮
し、中間言語格納領域を節約することで多くのデータを
同一サイズの容量で格納することが可能となる。
As described above, the intermediate language can be registered in a small data format in the normal mode or the overlay mode. This shortens the drawing time and saves the intermediate language storage area, so that a large amount of data can be stored in the same size capacity.

【図面の簡単な説明】[Brief description of drawings]

【図1】実施の形態における印刷制御システムの構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a print control system according to an embodiment.

【図2】PDLを受け取った場合にプリンタコントロー
ラ102が行う処理の流れを示す説明図である。
FIG. 2 is an explanatory diagram showing a flow of processing performed by the printer controller when a PDL is received.

【図3】オーバーレイ用中間言語のラスタライズ時のイ
メージ(ビットマップ)データのサイズ予測方法を示す
説明図である。
FIG. 3 is an explanatory diagram showing a size prediction method of image (bitmap) data when rasterizing an intermediate language for overlay.

【図4】第1実施形態の更新処理の為の制御プログラム
を示すフローチャートである。
FIG. 4 is a flowchart showing a control program for update processing of the first embodiment.

【図5】オブジェクト登録表を示す説明図である。FIG. 5 is an explanatory diagram showing an object registration table.

【図6】多値イメージデータが中間言語として登録され
た場合を示す説明図である。
FIG. 6 is an explanatory diagram showing a case where multi-valued image data is registered as an intermediate language.

【図7】複数の中間言語がラスタライズした時に重なる
場合を示す説明図である。
FIG. 7 is an explanatory diagram showing a case where a plurality of intermediate languages overlap when rasterized.

【図8】中間言語のラスタライズ時間が排紙時間に間に
合わない場合を示す説明図である。
FIG. 8 is an explanatory diagram showing a case where the rasterizing time of the intermediate language is not in time for the paper discharge time.

【図9】オーバーレイモードの場合を示す説明図であ
る。
FIG. 9 is an explanatory diagram showing a case of an overlay mode.

【図10】第2実施例の更新処理の為の制御プログラム
を示すフローチャートである。
FIG. 10 is a flowchart showing a control program for update processing of the second embodiment.

【図11】制御プログラムを格納した記憶媒体のメモリ
マップの一例である。
FIG. 11 is an example of a memory map of a storage medium that stores a control program.

【図12】制御プログラムを格納した記憶媒体のメモリ
マップの一例である。
FIG. 12 is an example of a memory map of a storage medium that stores a control program.

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 情報処理装置から入力する入力データか
ら中間データを作成し、該作成した中間データをラスタ
ライズしてイメージデータを生成し印刷する印刷装置で
あって、 中間データを登録する登録手段と、 前記登録手段に登録された複数の中間データをラスタラ
イズして生成するイメージデータのサイズと前記複数の
中間データのサイズを比較する比較手段と、 前記比較手段での比較結果に応じて、前記中間データを
イメージデータで再登録する制御手段とを有することを
特徴とする印刷装置。
1. A printing apparatus that creates intermediate data from input data input from an information processing apparatus, rasterizes the created intermediate data to generate image data, and prints the intermediate data, and a registration unit that registers the intermediate data. Comparing means for comparing the size of the image data generated by rasterizing the plurality of intermediate data registered in the registering means with the size of the plurality of intermediate data, and the intermediate according to the comparison result by the comparing means. And a control unit for re-registering data as image data.
【請求項2】 前記入力データはPDLであることを特
徴とする請求項1に記載の印刷装置。
2. The printing apparatus according to claim 1, wherein the input data is PDL.
【請求項3】 前記登録手段で登録される中間データは
フォームデータであり、前記入力データと重ねて印刷さ
れることを特徴とする請求項1に記載の印刷装置。
3. The printing apparatus according to claim 1, wherein the intermediate data registered by the registration unit is form data, and the form data is printed so as to overlap the input data.
【請求項4】 前記イメージデータは圧縮された後中間
データに変換されて再登録されることを特徴とする請求
項1に記載の印刷装置。
4. The printing apparatus according to claim 1, wherein the image data is compressed, converted into intermediate data, and re-registered.
【請求項5】 情報処理装置から入力する入力データか
ら中間データを作成し、該作成した中間データをラスタ
ライズしてイメージデータを生成し印刷する印刷装置に
おけるデータ登録方法であって、 中間データを登録する登録工程と、 前記登録工程に登録された複数の中間データをラスタラ
イズして生成するイメージデータのサイズと前記複数の
中間データのサイズを比較する比較工程と、 前記比較工程での比較結果に応じて、前記中間データを
イメージデータで再登録する制御工程とを有することを
特徴とするデータ登録方法。
5. A data registration method in a printing apparatus for creating intermediate data from input data input from an information processing apparatus, rasterizing the created intermediate data to generate image data, and printing the image, wherein the intermediate data is registered. Depending on the comparison result of the registration step, a comparison step of comparing the size of the image data generated by rasterizing the plurality of intermediate data registered in the registration step with the size of the plurality of intermediate data, and a comparison result in the comparison step. And a control step of re-registering the intermediate data as image data.
【請求項6】 前記入力データはPDLであることを特
徴とする請求項5に記載のデータ登録方法。
6. The data registration method according to claim 5, wherein the input data is PDL.
【請求項7】 前記登録工程で登録される中間データは
フォームデータであり、前記入力データと重ねて印刷さ
れることを特徴とする請求項5に記載のデータ登録方
法。
7. The data registration method according to claim 5, wherein the intermediate data registered in the registration step is form data, and the form data is printed so as to overlap the input data.
【請求項8】 前記イメージデータは圧縮された後中間
データに変換されて再登録されることを特徴とする請求
項5に記載のデータ登録方法。
8. The data registration method according to claim 5, wherein the image data is compressed, converted into intermediate data, and re-registered.
【請求項9】 情報処理装置から入力する入力データか
ら中間データを作成し、該作成した中間データをラスタ
ライズしてイメージデータを生成し印刷する印刷装置で
使用される制御プログラムを記憶する記憶媒体であっ
て、 中間データを登録する登録モジュールと、 前記登録された複数の中間データをラスタライズして生
成するイメージデータのサイズと前記複数の中間データ
のサイズを比較する比較モジュールと、 前記比較結果に応じて、前記中間データをイメージデー
タで再登録する制御モジュールから構成される制御プロ
グラムを格納することを特徴とする記憶媒体。
9. A storage medium for storing a control program used in a printing device for creating intermediate data from input data input from an information processing device, rasterizing the created intermediate data to generate image data, and printing the image data. A registration module for registering intermediate data; a comparison module for comparing the size of the image data generated by rasterizing the registered plurality of intermediate data with the size of the plurality of intermediate data; And a control program configured by a control module for re-registering the intermediate data as image data.
【請求項10】 前記入力データはPDLであることを
特徴とする請求項9に記載の記憶媒体。
10. The storage medium according to claim 9, wherein the input data is PDL.
【請求項11】 前記登録モジュールで登録される中間
データはフォームデータであり、前記入力データと重ね
て印刷されることを特徴とする請求項9に記載の記憶媒
体。
11. The storage medium according to claim 9, wherein the intermediate data registered by the registration module is form data, which is printed so as to be superimposed on the input data.
【請求項12】 前記イメージデータは圧縮された後中
間データに変換されて再登録されることを特徴とする請
求項9に記載の記憶媒体。
12. The storage medium according to claim 9, wherein the image data is compressed, converted into intermediate data, and re-registered.
【請求項13】 情報処理装置から入力する入力データ
から中間データを作成し、該作成した中間データをラス
タライズしてイメージデータを生成し印刷する印刷装置
であって、 前記中間データのラスタライズ時間と所定時間を比較す
る比較手段と、 前記比較手段での比較結果に応じて、前記中間データを
ラスタライズしてイメージデータを生成し当該イメージ
データを圧縮する圧縮手段と、 前記圧縮手段で圧縮したイメージデータを中間データに
変換して登録する登録手段とを有することを特徴とする
印刷装置。
13. A printing device for creating intermediate data from input data input from an information processing device, rasterizing the created intermediate data to generate image data, and printing the image data, the rasterizing time of the intermediate data and a predetermined value. Comparing means for comparing time; compression means for rasterizing the intermediate data to generate image data and compressing the image data according to the comparison result by the comparing means; and image data compressed by the compression means. A printing apparatus comprising: a registration unit that converts the data into intermediate data and registers the data.
【請求項14】 前記入力データはPDLであることを
特徴とする請求項13に記載の印刷装置。
14. The printing apparatus according to claim 13, wherein the input data is PDL.
【請求項15】 情報処理装置から入力する入力データ
から中間データを作成し、該作成した中間データをラス
タライズしてイメージデータを生成し印刷する印刷装置
におけるデータ登録方法であって、 中間データのラスタライズ時間と所定時間を比較する比
較工程と、 前記比較工程での比較結果に応じて、前記中間データを
ラスタライズしてイメージデータを生成し当該イメージ
データを圧縮する圧縮工程と、 前記圧縮工程で圧縮したイメージデータを中間データに
変換して登録する登録工程とを有することを特徴とする
データ登録方法。
15. A data registration method in a printing device, which creates intermediate data from input data input from an information processing device, rasterizes the created intermediate data to generate image data, and prints the data, the rasterizing of the intermediate data. A comparison step of comparing time with a predetermined time, a compression step of rasterizing the intermediate data to generate image data and compressing the image data according to the comparison result in the comparison step, and a compression step of the compression step. And a registration step of converting the image data into intermediate data and registering the intermediate data.
【請求項16】 前記入力データはPDLであることを
特徴とする請求項15に記載のデータ登録方法。
16. The data registration method according to claim 15, wherein the input data is PDL.
【請求項17】 情報処理装置から入力する入力データ
から中間データを作成し、該作成した中間データをラス
タライズしてイメージデータを生成し印刷する印刷装置
で使用される制御プログラムを記憶した記憶媒体であっ
て、 前記中間データのラスタライズ時間と所定時間を比較す
る比較モジュールと、 前記比較モジュールでの比較結果に応じて、前記中間デ
ータをラスタライズしてイメージデータを生成し当該イ
メージデータを圧縮する圧縮モジュールと、 前記圧縮モジュールで圧縮したイメージデータを中間デ
ータに変換して登録する登録モジュールから構成される
制御プログラムを記憶することを特徴とする記憶媒体。
17. A storage medium storing a control program used in a printing device for creating intermediate data from input data input from an information processing device, rasterizing the created intermediate data to generate image data, and printing the image data. A comparison module for comparing the rasterization time of the intermediate data with a predetermined time, and a compression module for rasterizing the intermediate data to generate image data and compressing the image data according to the comparison result of the comparison module. And a control program including a registration module for converting the image data compressed by the compression module into intermediate data and registering the intermediate data.
【請求項18】 前記入力データはPDLであることを
特徴とする請求項17に記載の記憶媒体。
18. The storage medium according to claim 17, wherein the input data is PDL.
JP8124625A 1995-07-27 1996-05-20 Printing device, method for registering data, and storage medium with control program stored therein Withdrawn JPH09300769A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP8124625A JPH09300769A (en) 1996-05-20 1996-05-20 Printing device, method for registering data, and storage medium with control program stored therein
US08/684,971 US5859954A (en) 1995-07-27 1996-07-19 Printing apparatus, data registration method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8124625A JPH09300769A (en) 1996-05-20 1996-05-20 Printing device, method for registering data, and storage medium with control program stored therein

Publications (1)

Publication Number Publication Date
JPH09300769A true JPH09300769A (en) 1997-11-25

Family

ID=14890054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8124625A Withdrawn JPH09300769A (en) 1995-07-27 1996-05-20 Printing device, method for registering data, and storage medium with control program stored therein

Country Status (1)

Country Link
JP (1) JPH09300769A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010099973A (en) * 2008-10-24 2010-05-06 Kyocera Mita Corp Image forming apparatus and image forming program
JP2011121241A (en) * 2009-12-09 2011-06-23 Canon Inc Printing apparatus and method, and program
JP2015167290A (en) * 2014-03-03 2015-09-24 キヤノン株式会社 Image formation time prediction device and image formation time prediction method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010099973A (en) * 2008-10-24 2010-05-06 Kyocera Mita Corp Image forming apparatus and image forming program
JP2011121241A (en) * 2009-12-09 2011-06-23 Canon Inc Printing apparatus and method, and program
JP2015167290A (en) * 2014-03-03 2015-09-24 キヤノン株式会社 Image formation time prediction device and image formation time prediction method

Similar Documents

Publication Publication Date Title
US6219149B1 (en) Print processing apparatus
US6611347B1 (en) Print control apparatus, print control method, storage medium, and computer readable program performing a form overlay process
US7692813B2 (en) Image processing apparatus and method, and storage medium
US5859954A (en) Printing apparatus, data registration method, and storage medium
JP2817687B2 (en) Image forming device
US6247028B1 (en) Controlling attributes of pre-registered form data to match those of data to be printed with the form data
US7965411B2 (en) Image forming apparatus and method for faster rendering of monochromatic scan lines
JP3834935B2 (en) Print processing device
EP0886243B1 (en) Printer with procedure for pattern tiling and scaling
JPH09300769A (en) Printing device, method for registering data, and storage medium with control program stored therein
JP3685234B2 (en) Image processing device
JPH0939312A (en) Printer, printing method and printing mechanism
JP3308663B2 (en) Image forming device
JP2000013601A (en) Print information processor and device and method for generating intermediate data
JP3204136B2 (en) Image processing apparatus and compression processing method
JPH10151815A (en) Printing-processing apparatus
JP4325339B2 (en) Printing system, host computer and printer driver
JP2002024840A (en) Drawing processing device
US20060139693A1 (en) Printing system, computer readable medium recording a driver program, and printing device
JP2004243569A (en) Image forming apparatus
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JPH09277616A (en) Printer and control method therefor
JP2000343769A (en) Printer control device
JPH08230250A (en) Printer
JPH1110961A (en) Print processor and printing method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030805