JPH10226137A - System and method for processing image - Google Patents

System and method for processing image

Info

Publication number
JPH10226137A
JPH10226137A JP9028083A JP2808397A JPH10226137A JP H10226137 A JPH10226137 A JP H10226137A JP 9028083 A JP9028083 A JP 9028083A JP 2808397 A JP2808397 A JP 2808397A JP H10226137 A JPH10226137 A JP H10226137A
Authority
JP
Japan
Prior art keywords
character
image data
image processing
application software
printer
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.)
Pending
Application number
JP9028083A
Other languages
Japanese (ja)
Inventor
Masaki Unishi
真己 卯西
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 JP9028083A priority Critical patent/JPH10226137A/en
Publication of JPH10226137A publication Critical patent/JPH10226137A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a system and method for processing images in which costs are not increased, processing efficiency of font cache is improved, incorrect gathering at the printing can be eliminated, and efficient character processing can be performed. SOLUTION: The priority level of the kinds of letters of data for font caching is determined based on the kinds of identified application soft, and data of the kind of determined priority level is preferentially stored in a cache memory 120. And data separated to characters belonging to the highest layer in a character control table 103a and data comprising characters in a layer other than the highest layer in a page buffer 103b and graphic object other than character are transferred to a printer 107 to perform a printing successively from a lower layer to a higher layer.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タ内で印刷情報及び画像データを生成し、これらのデー
タをプリンタに転送し、印刷を行う画像処理システムお
よび画像処理方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing system and an image processing method for generating print information and image data in a host computer, transferring these data to a printer, and performing printing.

【0002】[0002]

【従来の技術】従来、例えば、ホストコンピュータ内の
プリンタドライバにより生成された画像データを、プリ
ンタに転送して印刷を行うプリンティングシステムにお
いて、フォントキャッシングは、単に文字をキャッシュ
メモリにキャッシュするだけであり、文字種は特に気に
していない。
2. Description of the Related Art Conventionally, in a printing system in which image data generated by a printer driver in a host computer is transferred to a printer for printing, font caching simply caches characters in a cache memory. , I do not care about the character type.

【0003】また、従来、イメージドライバを高速化す
るための手法の一つとして、文字だけは他のグラフィッ
クオブジェクトとは別に分離して、フォントキャッシュ
を行うという方法がある。
Conventionally, as one of the techniques for speeding up an image driver, there is a method in which only characters are separated from other graphic objects and a font cache is performed.

【0004】なお、ここでいう“イメージドライバ”と
は、プリンタドライバの一形態で、すべてのグラフィッ
クオブジェクトをOSが提供するラスタライザにより展
開するか、自前のラスタライザにより展開し、ビットマ
ップデータとしてプリンタへ送るプリンタドライバのこ
とである。また、ここでいう“文字の分離”とは、イメ
ージドライバにおいて、文字データのみを他のグラフィ
ックオブジェクトとは区別して扱うことである。
[0004] Here, the "image driver" is a form of a printer driver, in which all graphic objects are developed by a rasterizer provided by the OS, or developed by a rasterizer of the user's own, and converted into bitmap data to a printer. Printer driver to send. The term "separation of characters" as used herein means that the image driver handles only character data separately from other graphic objects.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記従来例に
おいては、次のような問題点がある。
However, the above conventional example has the following problems.

【0006】まず、従来のフォントキャッシングは、単
に文字をキャッシュメモリにキャッシュするだけである
ため、処理効率の点で問題がある。
First, the conventional font caching has a problem in terms of processing efficiency because characters are simply cached in a cache memory.

【0007】また、従来のプリンティングシステムにお
いては、文字を一律に分離し、文字とそれ以外のグラフ
ィックオブジェクトとに分けてプリンタへ転送し、プリ
ンタ内で文字とそれ以外のグラフィックオブジェクトと
を最終段階で重ねることにより、最終的な印刷結果を得
ていた。
Further, in the conventional printing system, characters are uniformly separated, divided into characters and other graphic objects and transferred to a printer, and the characters and other graphic objects are separated at the final stage in the printer. By overlapping, a final print result was obtained.

【0008】図11は、印刷時の一般的な重なりの関係
を示す具体例である。グラフィックスと文字とが混ざっ
た階層的構造のドキュメントにおける描画順序は、図1
1(c)に示すウォーターマーク300(DRAFT)
のような下位層に属する文字が描かれ、その上の中位層
に図11(b)に示すグラフィックス310が描かれ、
さらにその上の上位層に図11(a)に示す通常の文字
320が描かれるのが一般的である。その結果、図12
に示すような重なり関係(すなわち、下位層の文字ET
の一部が欠落したような関係)をもって最終的な印刷結
果を得るのが普通である。
FIG. 11 is a specific example showing a general overlapping relationship during printing. The drawing order in a hierarchical document in which graphics and characters are mixed is shown in FIG.
Watermark 300 (DRAFT) shown in FIG.
Are drawn, and the graphics 310 shown in FIG. 11B are drawn on the middle layer above it.
Further, a normal character 320 shown in FIG. 11A is generally drawn on the upper layer. As a result, FIG.
(Ie, the lower-layer character ET
Is usually obtained in such a manner that a part of the image is missing).

【0009】しかし、前述した従来例のように、文字だ
けを一律に分離し、プリンタで印刷する最終段階で重ね
たのでは、本来最下層にあるウォーターマーク300
が、グラフィックス310の上に描かれることになり、
すなわち、中位層のグラフィックス310が最初に印刷
され、その上に下位層のウォーターマーク300が印刷
され、さらに上位層の通常の文字320が印刷される結
果となり、これにより、図13に示すような不正な印刷
結果(ウォーターマーク300の文字ETの一部が、グ
ラフィックス310上に描かれるような結果のこと)と
なってしまうという問題がある。
However, if only the characters are uniformly separated and superimposed at the final stage of printing by the printer as in the above-described conventional example, the watermark 300, which is originally at the lowermost layer, is not obtained.
Will be drawn on the graphics 310,
In other words, the graphics 310 of the middle layer are printed first, the watermark 300 of the lower layer is printed thereon, and the normal characters 320 of the upper layer are further printed. There is a problem that such an incorrect printing result (a result in which a part of the character ET of the watermark 300 is drawn on the graphics 310) occurs.

【0010】そこで、本発明の目的は、アプリケーショ
ンの種類(ここでいう種類とは、ワープロ・表計算など
のジャンルごとの種類のことをいうものとし、また、こ
のジャンルの決定に関しては、使用目的に応じてどのよ
うな分類も可能である)から使用される文字種の頻度を
もとに、フォントキャッシングにおける優先度を決定し
て、従来よりもフォントキャッシュのヒット率を向上さ
せることにより、フォントキャッシュの処理効率を向上
させることが可能な画像処理システムおよび画像処理方
法を提供することにある。
Therefore, an object of the present invention is to determine the type of application (here, the type refers to the type of each genre such as word processing and spreadsheet). The font cache can be prioritized in font caching based on the frequency of character types used, and the font cache hit rate can be improved compared to the conventional font cache. It is an object of the present invention to provide an image processing system and an image processing method capable of improving the processing efficiency of the image processing.

【0011】また、本発明の他の目的は、文字とグラフ
ィックが混ざった階層的構造をもつデータの重なりを調
べることにより、印刷時における重なりの不正をなく
し、なおかつ、データ分離に伴う処理効率を向上させる
ことが可能な、画像処理システムおよび画像処理方法を
提供することにある。
Another object of the present invention is to examine the overlapping of data having a hierarchical structure in which characters and graphics are mixed, thereby eliminating improper duplication at the time of printing and improving the processing efficiency accompanying data separation. An object of the present invention is to provide an image processing system and an image processing method that can be improved.

【0012】[0012]

【課題を解決するための手段】本発明は、ホストコンピ
ュータ内のプリンタドライバにおいて画像データを生成
し、該生成された画像データをプリンタに転送して印刷
を行う画像処理システムであって、前記プリンタに設け
られ、転送される画像データを記憶するフォント用記憶
手段と、前記プリンタドライバに設けられ、アプリケー
ションソフトの種類を識別する識別手段と、前記識別し
たアプリケーションソフトの種類に基づいて、前記フォ
ント用記憶手段に記憶する画像データの文字種の優先順
位を決定する文字種優先順位決定手段とを具えることに
よって、画像処理システムを構成する。
The present invention relates to an image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing. A font storage means for storing image data to be transferred, an identification means provided in the printer driver for identifying a type of application software, and a font storage means for storing the font data based on the identified type of application software. An image processing system is configured by including character type priority determining means for determining the priority of the character type of the image data stored in the storage means.

【0013】また、本発明は、ホストコンピュータ内の
プリンタドライバにおいて画像データを生成し、該生成
された画像データをプリンタに転送して印刷を行う画像
処理システムであって、前記プリンタに設けられ、転送
される画像データを記憶するフォント用記憶手段と、前
記プリンタドライバに設けられ、アプリケーションソフ
トの種類を識別する識別手段と、前記識別したアプリケ
ーションソフトの種類に基づいて、前記フォント用記憶
手段の記憶容量の大きさを変更する記憶容量変更手段と
を具えることによって、画像処理システムを構成する。
Further, the present invention is an image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing. Font storage means for storing the transferred image data, identification means provided in the printer driver for identifying the type of application software, and storage of the font storage means based on the identified type of application software An image processing system is configured by including a storage capacity changing unit that changes the size of the capacity.

【0014】また、本発明は、ホストコンピュータ内の
プリンタドライバにおいて画像データを生成し、該生成
された画像データをプリンタに転送して印刷を行う画像
処理システムであって、前記プリンタドライバに設けら
れ、転送される画像データを記憶するフォント用記憶手
段と、アプリケーションソフトの種類を識別する識別手
段と、前記識別したアプリケーションソフトの種類に基
づいて、前記フォント用記憶手段に記憶する画像データ
の文字種の優先順位を決定する文字種優先順位決定手段
とを具えることによって、画像処理システムを構成す
る。
Further, the present invention is an image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing. The image processing system is provided in the printer driver. A font storage unit for storing the transferred image data, an identification unit for identifying the type of the application software, and a character type of the image data stored in the font storage unit based on the identified type of the application software. An image processing system is configured by including character type priority determining means for determining priority.

【0015】また、本発明は、ホストコンピュータ内の
プリンタドライバにおいて画像データを生成し、該生成
された画像データをプリンタに転送して印刷を行う画像
処理システムであって、前記プリンタドライバに設けら
れ、転送される画像データを記憶するフォント用記憶手
段と、アプリケーションソフトの種類を識別する識別手
段と、前記識別したアプリケーションソフトの種類に基
づいて、前記フォント用記憶手段の記憶容量の大きさを
変更する記憶容量変更手段とを具えることによって、画
像処理システムを構成する。
Further, the present invention is an image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing, provided in the printer driver. A font storage unit for storing image data to be transferred, an identification unit for identifying the type of application software, and changing the storage capacity of the font storage unit based on the identified type of application software. An image processing system is configured by providing a storage capacity changing unit that performs the processing.

【0016】ここで、前記識別手段は、前記アプリケー
ションソフトの種類と該アプリケーションソフトの名称
とを対応させたデータベースを有し、該データベースを
参照して前記アプリケーションソフトの種類を識別する
ことができる。
Here, the identification means has a database in which the type of the application software is associated with the name of the application software, and the type of the application software can be identified with reference to the database.

【0017】前記データベース内に前記アプリケーショ
ンソフトの名称に該当するものがない場合、該アプリケ
ーションソフトの名称中にある文字列から前記アプリケ
ーションソフトの種類を識別することができる。
If the database does not include the name of the application software, the type of the application software can be identified from the character string in the name of the application software.

【0018】また、本発明は、ホストコンピュータ内の
プリンタドライバにおいて画像データを生成し、該生成
された画像データをプリンタに転送して印刷を行う画像
処理システムであって、プリンタドライバに設けられ、
階層的構造のグラフィックオブジェクトからなる画像デ
ータが文字か否かを識別する識別手段と、前記グラフィ
ックオブジェクトが文字のとき、該グラフィックオブジ
ェクトをビットマップに展開して記憶する第1記憶手段
と、前記グラフィックオブジェクトが文字以外のとき、
該文字以外のグラフィックオブジェクトと前記第1記憶
手段内の文字との領域的な位置関係を比較し、領域的に
重なる部分があるか否かを判断する重複領域判別手段
と、領域的に重なる部分があるとき、前記第1記憶手段
内の文字における、最上位層に属する文字のみを分離す
る最上位層分離手段と、領域的に重なる部分がないと
き、最上位層以外の層の文字と前記文字以外のグラフィ
ックオブジェクトとを合わせてビットマップに展開して
記憶する第2記憶手段と、前記第1記憶手段内の最上位
層に属する文字のみに分離された画像データを、前記プ
リンタに転送する第1転送手段と、前記第2記憶手段内
の最上位層以外の層の文字と文字以外のグラフィックオ
ブジェクトとからなる画像データを、前記プリンタに転
送する第2転送手段と、前記プリンタに設けられ、前記
ホストコンピュータから転送された画像データを、下位
層から上位層に向かって順次出力して印刷を行う印字制
御手段とを具えることによって、画像処理システムを構
成する。
According to another aspect of the present invention, there is provided an image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing.
Identification means for identifying whether image data composed of a graphic object having a hierarchical structure is a character, first storage means for expanding the graphic object into a bitmap and storing the graphic object when the graphic object is a character, When the object is not a character,
Overlapping region determining means for comparing a regional positional relationship between a graphic object other than the character and a character in the first storage means to determine whether or not there is a region overlapping; When there is, in the characters in the first storage means, the uppermost layer separating means for separating only the characters belonging to the uppermost layer, and when there is no area overlapping, the characters in the layers other than the uppermost layer A second storage unit that expands and stores a graphic object other than a character into a bitmap and stores the image data, and transfers the image data separated into only the characters belonging to the uppermost layer in the first storage unit to the printer A first transfer unit, and a second transfer unit that transfers, to the printer, image data composed of characters and graphic objects other than characters in layers other than the highest layer in the second storage unit. Wherein provided in the printer, the image data transferred from the host computer, by comprising a print control means for performing printing by sequentially output toward the upper layer from the lower layer, constituting the image processing system.

【0019】ここで、前記重複領域判別手段は、前記第
1記憶手段内の文字と前記文字以外のグラフィックオブ
ジェクトとの領域的な位置関係を比較するとき、文字毎
に比較される回数をカウントし、該カウント値が所定値
以上と判断される場合には比較処理を終了して次の処理
に移行することができる。
Here, when comparing the area positional relationship between the character in the first storage means and the graphic object other than the character, the overlapping area determination means counts the number of times of comparison for each character. If it is determined that the count value is equal to or greater than the predetermined value, the comparison process can be terminated and the process can proceed to the next process.

【0020】前記最上位層分離手段は、前記第1記憶手
段内を複数の領域に分割する分割手段と、該分割された
領域毎に比較処理を行う比較手段と、文字以外のグラフ
ィックオブジェクトが存在する領域においては、文字分
離を行わずに該文字をグラフィックオブジェクトと共に
ビットマップに展開する処理を行う手段とを具えること
ができる。
The uppermost layer separating means includes a dividing means for dividing the first storage means into a plurality of areas, a comparing means for performing a comparing process for each of the divided areas, and a graphic object other than a character. Means for performing a process of developing the character into a bitmap together with the graphic object without performing character separation.

【0021】また、本発明は、ホストコンピュータ内の
プリンタドライバにおいて画像データを生成し、該生成
された画像データをプリンタに転送して印刷を行う画像
処理方法であって、前記プリンタドライバにおいて、ア
プリケーションソフトの種類を識別し、該識別したアプ
リケーションソフトの種類に基づいて、フォント用記憶
手段に記憶する画像データの文字種の優先順位を決定
し、該決定された優先順位の高い文字種の画像データを
優先して前記フォント用記憶手段に記憶することによっ
て、画像処理方法を提供する。
The present invention also relates to an image processing method for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing. The type of software is identified, the priority of the character type of the image data stored in the font storage unit is determined based on the type of the identified application software, and the image data of the character type having the determined higher priority is given priority. The image processing method is provided by storing in the font storage means.

【0022】また、本発明は、ホストコンピュータ内の
プリンタドライバにおいて画像データを生成し、該生成
された画像データをプリンタに転送して印刷を行う画像
処理方法であって、プリンタドライバにおいて、アプリ
ケーションソフトの種類を識別し、該識別したアプリケ
ーションソフトの種類に基づいて、フォント用記憶手段
の記憶容量の大きさを変更し、該記憶容量が変更された
フォント用記憶手段に画像データを記憶することによっ
て、画像処理方法を提供する。
The present invention also relates to an image processing method for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing. By changing the size of the storage capacity of the font storage means based on the type of the identified application software, and storing the image data in the font storage means having the changed storage capacity. And an image processing method.

【0023】ここで、前記識別手段は、前記アプリケー
ションソフトの種類と該アプリケーションソフトの名称
とを対応させたデータベースを有し、該データベースを
参照して前記アプリケーションソフトの種類を識別する
ことができる。
Here, the identification means has a database that associates the type of the application software with the name of the application software, and can identify the type of the application software by referring to the database.

【0024】前記データベース内に前記アプリケーショ
ンソフトの名称に該当するものがない場合、該アプリケ
ーションソフトの名称中にある文字列から前記アプリケ
ーションソフトの種類を識別することができる。
When there is no corresponding application software name in the database, the type of the application software can be identified from a character string in the name of the application software.

【0025】また、本発明は、ホストコンピュータ内の
プリンタドライバにおいて画像データを生成し、該生成
された画像データをプリンタに転送して印刷を行う画像
処理方法であって、階層的構造のグラフィックオブジェ
クトからなる画像データが文字か否かを識別し、前記グ
ラフィックオブジェクトが文字のとき、該グラフィック
オブジェクトをビットマップに展開して第1記憶手段に
記憶し、前記グラフィックオブジェクトが文字以外のと
き、該文字以外のグラフィックオブジェクトと前記第1
記憶手段内の文字との領域的な位置関係を比較し、領域
的に重なる部分があるか否かを判断し、領域的に重なる
部分があるとき、前記第1記憶手段内の文字における、
最上位層に属する文字のみを分離し、領域的に重なる部
分がないとき、最上位層以外の層の文字と前記文字以外
のグラフィックオブジェクトとを合わせてビットマップ
に展開して第2記憶手段に記憶し、前記第1記憶手段内
の最上位層に属する文字のみに分離された画像データ、
および、前記第2記憶手段内の最上位層以外の層の文字
と文字以外のグラフィックオブジェクトとからなる画像
データを前記プリンタに転送し、該転送された画像デー
タを、下位層から上位層に向かって順次出力して印刷を
行うことによって、画像処理方法を提供する。
The present invention also relates to an image processing method for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing. Identifying whether the graphic object is a character or not, and when the graphic object is a character, expands the graphic object into a bitmap and stores it in the first storage means. Graphic objects other than the first
Comparing the regional positional relationship with the character in the storage means, and determining whether there is a part that overlaps in the area. When there is a part that overlaps in the area, when the part in the first storage means,
Only the characters belonging to the uppermost layer are separated, and when there is no overlapping area, the characters of the layers other than the uppermost layer and the graphic objects other than the characters are developed into a bitmap and stored in the second storage means. Image data stored and separated only into characters belonging to the highest layer in the first storage means;
And transferring image data composed of characters and graphic objects other than characters in layers other than the highest layer in the second storage means to the printer, and transferring the transferred image data from the lower layer to the upper layer. The image processing method is provided by sequentially outputting the image data and performing printing.

【0026】ここで、前記第1記憶手段内の文字と前記
文字以外のグラフィックオブジェクトとの領域的な位置
関係を比較するとき、文字毎に比較される回数をカウン
トし、該カウント値が所定値以上と判断される場合には
比較処理を終了して次の処理に移行することができる。
Here, when comparing the regional positional relationship between the character in the first storage means and the graphic object other than the character, the number of times of comparison is counted for each character, and the count value is set to a predetermined value. If it is determined that the above is the case, the comparison process is terminated and the process can proceed to the next process.

【0027】前記第1記憶手段内を複数の領域に分割
し、該分割された領域毎に比較処理を行うと共に、文字
以外のグラフィックオブジェクトが存在する領域におい
ては、文字分離を行わずに該文字をグラフィックオブジ
ェクトと共にビットマップに展開することができる。
The first storage means is divided into a plurality of areas, a comparison process is performed for each of the divided areas, and in an area where a graphic object other than a character exists, the character is separated without performing character separation. Can be expanded into a bitmap with the graphic object.

【0028】[0028]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0029】まず、本発明の第1の実施の形態を、図1
〜図3に基づいて説明する。
First, the first embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG.

【0030】図1は、本発明にかかるプリンティングシ
ステムの構成を示す。図1のホストコンピュータ100
は、主にプリンタドライバの構成を示す。本例でのプリ
ンタドライバは、印刷情報解析部102と、画像情報生
成部103と、印刷命令生成部104と、印刷環境検知
部105と、画面表示制御部106等から構成される。
FIG. 1 shows the configuration of a printing system according to the present invention. 1. Host computer 100 of FIG.
Indicates mainly the configuration of the printer driver. The printer driver in this example includes a print information analysis unit 102, an image information generation unit 103, a print instruction generation unit 104, a print environment detection unit 105, a screen display control unit 106, and the like.

【0031】ホストコンピュータ100の起動と同時に
ホストコンピュータ100内の印刷情報解析部102、
印刷環境検知部105、印刷命令生成部104を起動す
る。
At the same time when the host computer 100 is started, the print information analysis unit 102 in the host computer 100
The print environment detection unit 105 and the print command generation unit 104 are activated.

【0032】ユーザーがアプリケーション使用中に印刷
処理を実行させたとき、アプリケーション101が印刷
情報を印刷情報解析部102に送出し、印刷情報解析部
102が印刷情報から画像情報を生成して画像情報生成
部103へ送る。さらに、画像情報解析部102は、印
刷命令を生成し、印刷命令生成部104に送出する。ま
た、画像情報生成部103では、画像情報をビットマッ
プデータに変換し、印刷命令生成部104へ送る。印刷
命令生成部104は、印字命令信号により、レーザビー
ムプリンタ107に画像データを送出する。このとき、
転送された画像データは、RAM110のキャッシュメ
モリ120に記憶させる。なお、この画像データの処理
については、後述する。
When the user executes a printing process while using the application, the application 101 sends print information to the print information analysis unit 102, and the print information analysis unit 102 generates image information from the print information to generate image information. Send to section 103. Further, the image information analysis unit 102 generates a print command and sends it to the print command generation unit 104. Further, the image information generation unit 103 converts the image information into bitmap data and sends it to the print command generation unit 104. The print command generation unit 104 sends image data to the laser beam printer 107 according to a print command signal. At this time,
The transferred image data is stored in the cache memory 120 of the RAM 110. The processing of the image data will be described later.

【0033】ホストコンピュータ100から送出される
印刷命令信号は、プリンタコントローラ112内の印刷
情報制御部108、プリンタエンジン制御部109を通
り、プリンタエンジン111へと送出される。そして、
プリンタエンジン制御部109がプリンタエンジン11
1からデータ転送可能通知を検知したときに、RAM1
10から画像データをプリンタエンジン111へと転送
する。
A print command signal sent from the host computer 100 is sent to the printer engine 111 through the print information control unit 108 and the printer engine control unit 109 in the printer controller 112. And
The printer engine control unit 109 controls the printer engine 11
1 when a data transfer enabled notification is detected from RAM 1
10 transfers the image data to the printer engine 111.

【0034】プリンタエンジン111の印刷環境信号
は、プリンタエンジン制御部109、印刷制御部108
を通り、ホストコンピュータ100へ転送される。
The print environment signal of the printer engine 111 is sent to the printer engine controller 109 and the print controller 108.
Is transferred to the host computer 100.

【0035】そして、印刷環境検知部105がレーザビ
ームプリンタ107から印刷環境信号を受信し、印刷環
境を印刷情報解析部102、画面表示制御部106に通
知する。
Then, the printing environment detecting unit 105 receives the printing environment signal from the laser beam printer 107, and notifies the printing environment to the printing information analyzing unit 102 and the screen display control unit 106.

【0036】なお、プリンタエンジン111は、電子写
真方式で印刷を行うプリンタユニットである。本例で
は、特に図示しないが、公知の記録媒体の搬送機構、半
導体レーザユニット、感光ドラム、現像ユニット、定着
ユニット、ドラム・クリーニング・ユニット、分離ユニ
ット等よりなる電子写真プロセスで印刷を行うことがで
きる。
The printer engine 111 is a printer unit that performs printing by an electrophotographic system. In this example, although not specifically shown, printing can be performed by an electrophotographic process including a known recording medium transport mechanism, a semiconductor laser unit, a photosensitive drum, a developing unit, a fixing unit, a drum cleaning unit, a separation unit, and the like. it can.

【0037】なお、プリンタとしては、レーザビームプ
リンタに限定されるものではなく、バブルジェットプリ
ンタ等の他の方式のものでもよい。また、本例では、キ
ャッシュメモリ120をプリンタ側に設けたが、ホスト
側の画像情報生成部103等に設けてもよい。
The printer is not limited to a laser beam printer, but may be another type such as a bubble jet printer. Further, in this example, the cache memory 120 is provided on the printer side, but may be provided on the image information generating unit 103 on the host side.

【0038】このような構成のプリンティングシステム
において、処理について説明する。
Processing in the printing system having such a configuration will be described.

【0039】図2は、プリンタドライバ内での処理を示
すフローチャートである。図3は、アプリケーション1
01内に含まれるアプリケーション名称101aと種類
101bとの対応関係を示すデータベースである。図2
のフローチャートは、フォントキャッシュの優先順位を
決定する際に呼び出される。
FIG. 2 is a flowchart showing processing in the printer driver. FIG. 3 shows the application 1
This is a database showing the correspondence between the application name 101a and the type 101b included in 01. FIG.
Is called when determining the priority of the font cache.

【0040】まず、アプリケーション名称101aをO
Sから取得する(ステップS11)。そして、予めプリ
ンタドライバが参照可能な状態で、図3に示すようなア
プリケーション名称101aと種類101bとを記した
データベースを用意しておき、参照する(ステップS1
2)。その結果、アプリケーションソフトの種類101
bを判別する(ステップS13)。
First, the application name 101a is changed to O
Obtained from S (step S11). Then, a database in which the application name 101a and the type 101b are written as shown in FIG.
2). As a result, the application software type 101
b is determined (step S13).

【0041】そして、その種類101bが表計算と判断
された場合は(ステップS14)、フォントキャッシュ
の優先順位を、1.数字、2.アルファベット、3.ひ
らがな、4.漢字という順序にする。これは、表計算と
いう性格上、数字の使用が最も高いと考えられるので、
数字の優先順位を最も高くしたものである(この順序
は、アプリケーションソフトの種類101bやその特徴
に応じて変更可能である)。
If the type 101b is determined to be a spreadsheet (step S14), the priority of the font cache is set to 1. Numbers, 2. Alphabet, 3. 3. Hiragana; The order is kanji. This is considered to be the highest use of numbers due to the nature of spreadsheets,
The priority order of the numbers is the highest (this order can be changed according to the type 101b of the application software and its characteristics).

【0042】また、その種類101bがワープロと判断
された場合は(ステップS15)、フォントキャッシュ
の優先順位を、1.ひらがな、2.漢字、3.数字、
4.アルファベットとする(同様に、この順序はアプリ
ケーションソフトの種類101bやその特徴に応じて変
更可能である。
If the type 101b is determined to be a word processor (step S15), the priority of the font cache is set to 1. Hiragana, 2. 2. Kanji, Numbers,
4. (Also, this order can be changed according to the type 101b of the application software and its characteristics.)

【0043】このようにしてアプリケーションの種類1
01bに従って、キャッシュメモリ120にキャッシュ
する優先順位を決定することによって、優先順位の低い
すなわち使用頻度の低いフォントまでも全てキャッシン
グする必要がなくなる。これにより、フォントキャッシ
ュのヒット率を向上させることができるため、フォント
キャッシュの処理効率を向上させ、ひいてはプリンティ
ングシステムの処理速度を向上させることができる。
Thus, the type of application 1
By determining the priority of caching in the cache memory 120 in accordance with 01b, it is not necessary to cache all fonts having a low priority, that is, a font that is not frequently used. As a result, the hit rate of the font cache can be improved, so that the processing efficiency of the font cache can be improved, and the processing speed of the printing system can be improved.

【0044】次に、本発明の第2の実施の形態を図4に
基づいて説明する。
Next, a second embodiment of the present invention will be described with reference to FIG.

【0045】本例では、前述したフォントキャッシュの
優先順位を決定する代わりに、フォントキャッシュ用に
確保するメモリサイズの最適化を図るようにしたもので
ある。
In this embodiment, instead of determining the priority of the font cache described above, the memory size secured for the font cache is optimized.

【0046】図4は、そのメモリサイズの最適化を図る
ための処理を示す。ステップS13までのアプリケーシ
ョンソフトの種類101bを判別するまでの処理は、前
述した図2と同様である。本例では、ステップS24に
おいて、その判別された種類101bに合わせて、キャ
ッシュメモリ120のメモリサイズを設定して最適化を
図る。
FIG. 4 shows a process for optimizing the memory size. The processing up to the determination of the type 101b of the application software up to step S13 is the same as that of FIG. 2 described above. In this example, in step S24, optimization is performed by setting the memory size of the cache memory 120 according to the determined type 101b.

【0047】例えば、ペイント系アプリケーションと判
断された場合、ワープロなどに比べると、文字の出現回
数が少ないことが予想されるので、フォントキャッシュ
用のキャッシュメモリ120のメモリサイズを小さくす
る。これにより、メモリの効率的な利用が可能となる。
For example, if it is determined that the application is a paint-based application, the number of appearances of characters is expected to be smaller than that of a word processor or the like. Therefore, the memory size of the cache memory 120 for the font cache is reduced. This allows efficient use of the memory.

【0048】また、他の例として、フォントキャッシュ
の優先順位の決定と、フォントキャッシュ用に確保する
メモリサイズの最適化とを組み合わせることも可能であ
る。
As another example, it is also possible to combine the determination of the priority of the font cache with the optimization of the memory size reserved for the font cache.

【0049】次に、本発明の第3の実施の形態を図5に
基づいて説明する。
Next, a third embodiment of the present invention will be described with reference to FIG.

【0050】本例では、アプリケーション名称101a
中の文字列により、その種類101bを判断する処理を
示すフローチャートである。ステップS11までの処理
は、前述した図2および図4と同様である。ステップS
32において、データベースに該当するアプリケーショ
ンソフトのアプリケーション名称101aがない場合
は、そのアプリケーション名称101a中に存在する文
字列により、その種類101bを判断する。
In this example, the application name 101a
It is a flowchart which shows the process which determines the type 101b by the character string in a middle. The processing up to step S11 is the same as in FIGS. 2 and 4 described above. Step S
At 32, if there is no application name 101a of the corresponding application software in the database, the type 101b is determined based on the character string existing in the application name 101a.

【0051】例えば“write”,“word”とい
う文字列がある場合はワープロと判断し、“calc”
という文字列がある場合は表計算と判断し、“pain
t”という文字列がある場合はペイントと判断し、“d
raw”という文字列がある場合はドローと判断する。
なお、これらの文字列はほんの一例である。
For example, if there are character strings "write" and "word", it is determined that the word is a word processor, and "calc"
If there is a character string "
If there is a character string "t", it is determined to be paint, and "d"
If there is a character string "raw", it is determined to be a draw.
Note that these character strings are only examples.

【0052】なお、アプリケーションソフトの種類10
1bが判断できない場合は、予め判断不能のアプリケー
ションソフト用のデフォルト値を設けておくことによっ
て処理できる。また、ユーザに対してアプリケーション
ソフトの種類101bを問い合わせるという方法も可能
である。
The type of application software 10
If 1b cannot be determined, it can be processed by providing a default value for application software that cannot be determined in advance. It is also possible to ask the user about the type 101b of the application software.

【0053】その文字列によって種類101bを判断し
た後は、前述したようにフォントキャッシュの優先順位
やメモリサイズの設定等の処理(ステップS33)を行
うことによって、同様の効果を得ることができる。
After the type 101b is determined based on the character string, a similar effect can be obtained by performing processing (step S33) such as setting the priority order and memory size of the font cache as described above.

【0054】次に、本発明の第4の実施の形態を図1,
図6〜図7に基づいて説明する。
Next, a fourth embodiment of the present invention will be described with reference to FIGS.
A description will be given based on FIGS.

【0055】本例は、文字とグラフィックとが混ざった
画像データの重なりを調べ、印刷時における重なりの不
正をなくす場合の処理について説明する。
In this example, a description will be given of a process for examining the overlap of image data in which characters and graphics are mixed, and eliminating the improper overlap during printing.

【0056】図6のフローチャートについて説明する。
なお、図6の処理は、ホストコンピュータ100のプリ
ントドライバ(本例ではイメージドライバともいう)内
の印刷情報解析部102において主に行なわれると共
に、レーザビームプリンタ107内のプリンタコントロ
ーラ112において主に行なわれる。
The flowchart of FIG. 6 will be described.
6 is mainly performed by the print information analyzer 102 in the print driver (also referred to as an image driver in this example) of the host computer 100, and is mainly performed by the printer controller 112 in the laser beam printer 107. It is.

【0057】ホストコンピュータ100内で印刷命令
を、レーザビームプリンタ107に送るための印刷情報
及び画像データに変換する際に、1ページごとに図6の
処理を行う。まず、描画するグラフィックオブジェクト
が文字か、それ以外かを調べる(ステップS120)。
その調べ方は、OSに依存するが、Windowsの場
合は文字描画用のAPIがコールされるかどうかで、文
字かどうかの判断を行うことが可能である。
When the print command is converted into print information and image data to be sent to the laser beam printer 107 in the host computer 100, the process of FIG. 6 is performed for each page. First, it is determined whether the graphic object to be drawn is a character or not (step S120).
The method of checking depends on the OS, but in the case of Windows, it is possible to determine whether or not a character is a character by checking whether an API for drawing a character is called.

【0058】文字の場合、文字管理テーブル103aに
登録する(ステップS170)(文字管理テーブル10
3aとは、最上位層に属する文字を分離するための管理
用テーブルを意味する。このテーブルには、文字パター
ンと、それぞれの文字を認識するための認識用のID
と、それに対応する描画開始位置や描画領域、文字の種
類などの文字印字に必要な情報とを格納しておく。他の
グラフィックオブジェクトと重なると判断された場合
は、その文字は他のグラフィックオブジェクトと同様に
ビットマップとして処理するので、この管理テーブルか
らそのエントリを削除する。)。
In the case of a character, the character is registered in the character management table 103a (step S170).
3a means a management table for separating characters belonging to the uppermost layer. This table contains a character pattern and a recognition ID for recognizing each character.
And information necessary for character printing such as a drawing start position, a drawing area, and a character type corresponding thereto. If it is determined that the character overlaps with another graphic object, the character is processed as a bitmap similarly to other graphic objects, so that the entry is deleted from this management table. ).

【0059】文字以外の場合は、そのグラフィックオブ
ジェクトと領域的に重なる文字があるかどうかを前述し
た文字管理テーブル103aに含まれる描画領域に関す
る情報を利用して調べるステップ(ステップS13)。
なお、領域の重なりを判断する方法としては、単純な方
法では二つの矩形領域をあらわす4点のx・y座標の位
置関係を判断することにより、その重なりの判断が可能
である。他にも様々な手法が可能である。
If it is not a character, it is checked whether there is a character that overlaps with the graphic object in area using the information on the drawing area included in the character management table 103a (step S13).
In addition, as a method of judging the overlap of the areas, in a simple method, the judging of the overlap can be made by judging the positional relationship of the x and y coordinates of the four points representing the two rectangular areas. Various other methods are possible.

【0060】そして、重なっている文字があれば(ステ
ップS140)、その文字をページバッファ103bに
描きこむ(ステップS150)(ページバッファ103
bとは、プリンタドライバがもっている描画用のメモリ
領域を意味する。)。そして、文字管理テーブル103
aからその文字に対応するレコードを削除する。さら
に、グラフィックオブジェクトをページバッファ103
bに描く(ステップS160)。この描画は、OSの描
画エンジンを利用しても構わないし、自前のラスタライ
ザでも構わない。
If there is an overlapping character (step S140), the character is drawn in the page buffer 103b (step S150) (step S150).
b means a drawing memory area of the printer driver. ). Then, the character management table 103
Delete the record corresponding to that character from a. Further, the graphic object is stored in the page buffer 103.
b (step S160). For this drawing, a drawing engine of the OS may be used, or an original rasterizer may be used.

【0061】ステップS120〜S160までの処理を
繰り返し、1ページ分の印刷命令の処理を終える(ステ
ップS110)。この時点で文字管理テーブル103a
に残っている文字が最上位層に属する文字と判断でき
る。そこで、文字管理テーブル103aに登録されてい
る文字をレーザビームプリンタ107へ転送し(ステッ
プS180)、次にページバッファ103bの内容をレ
ーザビームプリンタ107へ転送する(ステップS19
0)。
The processing of steps S120 to S160 is repeated, and the processing of the print command for one page is completed (step S110). At this point, the character management table 103a
Can be determined as characters belonging to the highest layer. Therefore, the characters registered in the character management table 103a are transferred to the laser beam printer 107 (step S180), and then the contents of the page buffer 103b are transferred to the laser beam printer 107 (step S19).
0).

【0062】ステップS180では、図7に示すよう
に、まず文字管理テーブル103aにある文字パターン
を文字登録命令(仮称)により、レーザビームプリンタ
107のRAM110内に記憶させる。その際に、登録
した文字パターンを一意に示すID#と共に登録する。
その後で、それぞれのID#に対応する描画位置と共
に、文字印字命令(仮称)をレーザビームプリンタ10
7へ知らせることにより、レーザビームプリンタ107
はそれらの情報をもとに印字処理を行う。
In step S180, as shown in FIG. 7, first, a character pattern in the character management table 103a is stored in the RAM 110 of the laser beam printer 107 by a character registration command (tentative name). At that time, the registered character pattern is registered together with an ID # that uniquely indicates the registered character pattern.
After that, a character printing command (tentative name) along with the drawing position corresponding to each ID # is sent to the laser beam printer 10.
7, the laser beam printer 107
Performs a printing process based on the information.

【0063】ステップS190による転送後、レーザビ
ームプリンタ107は、例えば図11を例にとると、下
位層→中位層→上位層の順序で印刷を行うことによっ
て、図12に示すようなウォーターマーク300を示す
DRAFTの一部の文字FTが、グラフィックス310
の下側に存在する形となる。これにより、図13のよう
な印刷時における重なりの不正をなくすことが可能とな
る。
After the transfer in step S190, the laser beam printer 107 performs printing in the order of the lower layer, the middle layer, and the upper layer, for example, in FIG. Some of the characters FT of DRAFT indicating 300 are graphics 310
Will be present underneath. As a result, it is possible to eliminate improper overlapping at the time of printing as shown in FIG.

【0064】次に、本発明の第5の実施の形態を図8〜
図9に基づいて説明する。
Next, a fifth embodiment of the present invention will be described with reference to FIGS.
This will be described with reference to FIG.

【0065】本例は、前述した第4の実施の形態の変形
例である。以下、図8のフローチャートについて説明す
る。
This example is a modification of the above-described fourth embodiment. Hereinafter, the flowchart of FIG. 8 will be described.

【0066】本例では、前述した図6に示したフローチ
ャートにおいて、文字管理用テーブル103aにそれぞ
れの文字が比較された回数を記憶する比較回数カウンタ
をさらに設ける。文字管理用テーブル103aに文字が
登録された時に0に初期化し、文字以外のグラフィック
オブジェクトと描画位置とが比較される毎に1ずつイン
クリメントしていく(ステップS240)。ステップS
250において、文字と文字以外のグラフィックオブジ
ェクトが重なっているか、または比較回数カウンタがあ
る一定の値を超えている場合は、該当する文字をページ
バッファ103bに描き込む(ステップS260)。な
お、他の処理に関しては、図6と同様であり、その説明
は省略する。
In this example, a comparison counter for storing the number of times each character is compared is further provided in the character management table 103a in the flowchart shown in FIG. When a character is registered in the character management table 103a, it is initialized to 0, and is incremented by one each time a graphic object other than a character is compared with a drawing position (step S240). Step S
In 250, if the character and the graphic object other than the character overlap or the comparison number counter exceeds a certain value, the corresponding character is drawn in the page buffer 103b (step S260). The other processes are the same as those in FIG. 6, and the description thereof will be omitted.

【0067】図9に示すような斜線の上に文字が描かれ
るような場合は、線一本一本と文字との描画位置の比較
が行われる。このようなケースでは、文字とそれ以外の
グラフィックオブジェクト(この場合は線)との比較回
数が増加することによる処理速度の低下が発生する。そ
のような場合は、文字を分離することにこだわらずに、
全てをイメージとして処理してしまえばよい。そこで、
上述したような比較回数カウンタを用いることにより、
描画位置の比較のための処理が膨れ上がるのを防ぎ、全
体的な処理速度を向上させることが可能となる。
In the case where characters are drawn on oblique lines as shown in FIG. 9, the drawing positions of each line and the characters are compared. In such a case, the processing speed decreases due to an increase in the number of comparisons between the character and the other graphic object (in this case, a line). In such cases, don't worry about separating characters,
All should be processed as an image. Therefore,
By using the comparison counter as described above,
It is possible to prevent the processing for comparing the drawing positions from expanding, and to improve the overall processing speed.

【0068】次に、本発明の第6の実施の形態を図10
に基づいて説明する。
Next, a sixth embodiment of the present invention will be described with reference to FIG.
It will be described based on.

【0069】本例は、第4および第5の実施の形態の変
形例である。文字とそれ以外のグラフィックオブジェク
トの描画位置の比較方法として、図10に示すように、
ページを複数の領域A,B,Cに分割する(ここでは、
それぞれの分割された領域をバンドと呼ぶ)。文字管理
テーブル103aは、1ページ分すべての文字情報を管
理するものとしていたが、描画位置を比較する範囲を特
定の大きさに分割することにより、比較対象となるグラ
フィックオブジェクトが減少するので、処理効率を向上
させることができる。
This example is a modification of the fourth and fifth embodiments. As a method for comparing the drawing positions of characters and other graphic objects, as shown in FIG.
The page is divided into a plurality of areas A, B, and C (here,
Each divided area is called a band). The character management table 103a manages the character information of all pages. However, by dividing the range in which the drawing positions are compared to a specific size, the number of graphic objects to be compared is reduced. Efficiency can be improved.

【0070】また、バンドA,B,Cに分割した状態に
おいて、文字以外のグラフィックオブジェクトが存在す
るバンドは、最初から文字分離を行わずにすべてビット
マップとして処理する。そうすることにより、図10の
ように、文字以外のグラフィックオブジェクトがかたま
って存在するようなデータにおいては、前述しているよ
うなグラフィックオブジェクト同志の位置の比較回数を
減らすことが可能となるため、処理の効率化を図ること
ができる。
In the state where the graphic objects other than the characters are present in the state of being divided into the bands A, B, and C, all the bands are processed as bitmaps without performing character separation from the beginning. By doing so, as shown in FIG. 10, in data in which graphic objects other than characters collectively exist, it is possible to reduce the number of times of comparing the positions of graphic objects as described above. Processing efficiency can be improved.

【0071】なお、どのバンドに文字以外のグラフィッ
クオブジェクトが存在するかどうかの判断方法として
は、プリンタドライバの前処理の際に、一旦1ページ分
のデータを調べておくことにより可能である。特に、図
10に示すように、一個所に文字以外のグラフィックオ
ブジェクトがかたまっているような場合に有効となる。
It should be noted that a method for determining which band contains a graphic object other than a character can be determined by once examining data for one page during the preprocessing of the printer driver. In particular, this is effective when graphic objects other than characters are gathered in one place as shown in FIG.

【0072】[0072]

【発明の効果】以上説明したように、本発明によれば、
識別したアプリケーションの種類に基づいて、優先順位
の高い文字種の画像データを優先してフォントキャッシ
ュするようにしたので、コストアップすることなく、フ
ォントキャッシュの処理効率を向上させ、プリンティン
グシステムの処理速度を向上させることができる。ま
た、識別したアプリケーションの種類に基づいて、フォ
ントキャッシュ用のメモリサイズの最適化を図るように
したので、同様な効果を得ることができる。
As described above, according to the present invention,
Based on the type of application that was identified, image data of high-priority character types was prioritized for font caching, so font cache processing efficiency was improved and processing speed of the printing system was improved without increasing costs. Can be improved. Further, since the memory size for the font cache is optimized based on the type of the identified application, the same effect can be obtained.

【0073】また、本発明によれば、文字とグラフィッ
クとが混ざったデータにおいて、文字を分離する際に、
その文字と他のグラフィックオブジェクトの重なりを調
べ、もっとも上位層に属する文字のみを文字として分離
し、それ以外の文字は他のグラフィックオブジェクトと
同様にビットマップデータとして処理し、下位層から上
位層に向かって順次印刷を行うようにしたので、重なり
の不正をなくすことができると共に、コストアップする
ことなく、プリンタドライバから文字を分離して効率的
に文字処理が行えるプリンティングシステムを提供する
ことができる。
Further, according to the present invention, when characters are separated in data in which characters and graphics are mixed,
Check the overlap between the character and other graphic objects, separate only the characters that belong to the highest layer as characters, process the other characters as bitmap data in the same way as other graphic objects, and move from the lower layer to the upper layer. Since the printing is performed sequentially, it is possible to provide a printing system that can eliminate the illegality of the overlap and can perform the character processing efficiently by separating the characters from the printer driver without increasing the cost. .

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

【図1】本発明の第1の実施の形態におけるプリンティ
ングシステムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing system according to a first embodiment of the present invention.

【図2】フォントキャッシュ優先順位を設定するための
処理を説明するフローチャートである。
FIG. 2 is a flowchart illustrating a process for setting a font cache priority.

【図3】データベースの1例を示す構成図である。FIG. 3 is a configuration diagram illustrating an example of a database.

【図4】本発明の第2の実施の形態であるフォントキャ
ッシュ領域のサイズを設定するための処理を説明するフ
ローチャートである。
FIG. 4 is a flowchart illustrating a process for setting the size of a font cache area according to the second embodiment of the present invention.

【図5】本発明の第3の実施の形態を示すフローチャー
トである。
FIG. 5 is a flowchart showing a third embodiment of the present invention.

【図6】本発明の第4の実施の形態を示すフローチャー
トである。
FIG. 6 is a flowchart illustrating a fourth embodiment of the present invention.

【図7】文字印字コマンドシーケンスの1例を示す説明
図である。
FIG. 7 is an explanatory diagram showing an example of a character print command sequence.

【図8】本発明の第5の実施の形態を示すフローチャー
トである。
FIG. 8 is a flowchart showing a fifth embodiment of the present invention.

【図9】文字とグラフィックとが混ざったデータの1例
を示す説明図である。
FIG. 9 is an explanatory diagram showing an example of data in which characters and graphics are mixed.

【図10】第6の実施の形態であるバンド分割されたメ
モリの構造を示す説明図である。
FIG. 10 is an explanatory diagram showing a structure of a band-divided memory according to a sixth embodiment.

【図11】下位層から上位層までのデータの重なり関係
を示す説明図である。
FIG. 11 is an explanatory diagram showing an overlapping relationship of data from a lower layer to an upper layer.

【図12】重なりに不正がない標準的な印刷結果を示す
説明図である。
FIG. 12 is an explanatory diagram showing a standard print result in which there is no improper overlap.

【図13】重なりに不正がある場合の印刷結果を示す説
明図である。
FIG. 13 is an explanatory diagram illustrating a print result when there is an illegal overlap;

【符号の説明】[Explanation of symbols]

100 ホストコンピュータ 102〜106 プリンタドライバ 103a 文字管理テーブル(第1記憶手段) 103b ページバッファ(第2記憶手段) 120 キャッシュメモリ(フォント用記憶手段) Reference Signs List 100 Host computer 102 to 106 Printer driver 103a Character management table (first storage unit) 103b Page buffer (second storage unit) 120 Cache memory (font storage unit)

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータ内のプリンタドライ
バにおいて画像データを生成し、該生成された画像デー
タをプリンタに転送して印刷を行う画像処理システムで
あって、 前記プリンタに設けられ、転送される画像データを記憶
するフォント用記憶手段と、 前記プリンタドライバに設けられ、アプリケーションソ
フトの種類を識別する識別手段と、 前記識別したアプリケーションソフトの種類に基づい
て、前記フォント用記憶手段に記憶する画像データの文
字種の優先順位を決定する文字種優先順位決定手段とを
具え、優先順位の高い文字種の画像データを優先して前
記フォント用記憶手段に記憶することを特徴とする画像
処理システム。
1. An image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing, the image processing system being provided in the printer and transmitting the image data Font storage means for storing data; identification means provided in the printer driver for identifying the type of application software; and image data to be stored in the font storage means based on the identified type of application software. An image processing system comprising: character type priority determining means for determining a priority of a character type, wherein image data of a character type having a higher priority is stored in the font storage means with priority.
【請求項2】 ホストコンピュータ内のプリンタドライ
バにおいて画像データを生成し、該生成された画像デー
タをプリンタに転送して印刷を行う画像処理システムで
あって、 前記プリンタに設けられ、転送される画像データを記憶
するフォント用記憶手段と、 前記プリンタドライバに設けられ、アプリケーションソ
フトの種類を識別する識別手段と、 前記識別したアプリケーションソフトの種類に基づい
て、前記フォント用記憶手段の記憶容量の大きさを変更
する記憶容量変更手段とを具え、記憶容量が変更された
フォント用記憶手段に画像データを記憶することを特徴
とする画像処理システム。
2. An image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing, the image processing system being provided in the printer and transmitting the image data Font storage means for storing data; identification means provided in the printer driver for identifying the type of application software; and the size of the storage capacity of the font storage means based on the identified type of application software. An image processing system comprising: a storage capacity changing unit that changes the storage capacity; and storing the image data in the font storage unit whose storage capacity has been changed.
【請求項3】 ホストコンピュータ内のプリンタドライ
バにおいて画像データを生成し、該生成された画像デー
タをプリンタに転送して印刷を行う画像処理システムで
あって、 前記プリンタドライバに設けられ、転送される画像デー
タを記憶するフォント用記憶手段と、 アプリケーションソフトの種類を識別する識別手段と、 前記識別したアプリケーションソフトの種類に基づい
て、前記フォント用記憶手段に記憶する画像データの文
字種の優先順位を決定する文字種優先順位決定手段とを
具え、優先順位の高い文字種の画像データを優先して前
記フォント用記憶手段に記憶することを特徴とする画像
処理システム。
3. An image processing system which generates image data in a printer driver in a host computer and transfers the generated image data to a printer for printing. The image processing system is provided in the printer driver and transferred. Font storage means for storing image data; identification means for identifying the type of application software; priority of character type of image data stored in the font storage means is determined based on the identified type of application software. An image processing system, comprising: a character type priority order determining unit for storing image data of a character type having a higher priority in the font storage unit.
【請求項4】 ホストコンピュータ内のプリンタドライ
バにおいて画像データを生成し、該生成された画像デー
タをプリンタに転送して印刷を行う画像処理システムで
あって、 前記プリンタドライバに設けられ、転送される画像デー
タを記憶するフォント用記憶手段と、 アプリケーションソフトの種類を識別する識別手段と、 前記識別したアプリケーションソフトの種類に基づい
て、前記フォント用記憶手段の記憶容量の大きさを変更
する記憶容量変更手段とを具え、記憶容量が変更された
フォント用記憶手段に画像データを記憶することを特徴
とする画像処理システム。
4. An image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing, provided in the printer driver. Font storage means for storing image data; identification means for identifying the type of application software; storage capacity change for changing the storage capacity of the font storage means based on the identified type of application software Means for storing image data in a font storage means having a changed storage capacity.
【請求項5】 前記識別手段は、前記アプリケーション
ソフトの種類と該アプリケーションソフトの名称とを対
応させたデータベースを有し、該データベースを参照し
て前記アプリケーションソフトの種類を識別することを
特徴とする請求項1ないし4のいずれかに記載の画像処
理システム。
5. The apparatus according to claim 1, wherein the identification unit has a database that associates the type of the application software with the name of the application software, and identifies the type of the application software with reference to the database. The image processing system according to claim 1.
【請求項6】 前記データベース内に前記アプリケーシ
ョンソフトの名称に該当するものがない場合、該アプリ
ケーションソフトの名称中にある文字列から前記アプリ
ケーションソフトの種類を識別することを特徴とする請
求項5記載の画像処理システム。
6. The method according to claim 5, wherein when there is no corresponding application software name in the database, the type of the application software is identified from a character string in the name of the application software. Image processing system.
【請求項7】 ホストコンピュータ内のプリンタドライ
バにおいて画像データを生成し、該生成された画像デー
タをプリンタに転送して印刷を行う画像処理システムで
あって、 プリンタドライバに設けられ、階層的構造のグラフィッ
クオブジェクトからなる画像データが文字か否かを識別
する識別手段と、 前記グラフィックオブジェクトが文字のとき、該グラフ
ィックオブジェクトをビットマップに展開して記憶する
第1記憶手段と、 前記グラフィックオブジェクトが文字以外のとき、該文
字以外のグラフィックオブジェクトと前記第1記憶手段
内の文字との領域的な位置関係を比較し、領域的に重な
る部分があるか否かを判断する重複領域判別手段と、 領域的に重なる部分があるとき、前記第1記憶手段内の
文字における、最上位層に属する文字のみを分離する最
上位層分離手段と、 領域的に重なる部分がないとき、最上位層以外の層の文
字と前記文字以外のグラフィックオブジェクトとを合わ
せてビットマップに展開して記憶する第2記憶手段と、 前記第1記憶手段内の最上位層に属する文字のみに分離
された画像データを、前記プリンタに転送する第1転送
手段と、 前記第2記憶手段内の最上位層以外の層の文字と文字以
外のグラフィックオブジェクトとからなる画像データ
を、前記プリンタに転送する第2転送手段と、 前記プリンタに設けられ、前記ホストコンピュータから
転送された画像データを、下位層から上位層に向かって
順次出力して印刷を行う印字制御手段とを具えたことを
特徴とする画像処理システム。
7. An image processing system for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing, wherein the image processing system is provided in the printer driver and has a hierarchical structure. Identification means for identifying whether or not image data composed of graphic objects are characters; first storage means for expanding the graphic objects into bitmaps when the graphic objects are characters; and storing the graphic objects other than characters In this case, overlapping region discriminating means for comparing a regional positional relationship between a graphic object other than the character and the character in the first storage means to determine whether or not there is an area overlapping region, When there is a portion that overlaps with the uppermost layer in the characters in the first storage means, The uppermost layer separating unit that separates only characters that do not overlap with each other. 2 storage means, first transfer means for transferring image data separated into only characters belonging to the highest layer in the first storage means to the printer, and other than the top layer in the second storage means Second transfer means for transferring image data comprising a layer of characters and graphic objects other than characters to the printer; and image data provided in the printer and transferred from the host computer, from a lower layer to an upper layer. An image processing system, comprising: a print control unit that sequentially outputs data to perform printing.
【請求項8】 前記重複領域判別手段は、前記第1記憶
手段内の文字と前記文字以外のグラフィックオブジェク
トとの領域的な位置関係を比較するとき、文字毎に比較
される回数をカウントし、該カウント値が所定値以上と
判断される場合には比較処理を終了して次の処理に移行
することを特徴とする請求項7記載の画像処理システ
ム。
8. When comparing an area positional relationship between a character in the first storage means and a graphic object other than the character, the overlapping area determination means counts the number of times of comparison for each character, 8. The image processing system according to claim 7, wherein when the count value is determined to be equal to or greater than a predetermined value, the comparison process is terminated and the process proceeds to the next process.
【請求項9】 前記最上位層分離手段は、前記第1記憶
手段内を複数の領域に分割する分割手段と、 該分割された領域毎に比較処理を行う比較手段と、 文字以外のグラフィックオブジェクトが存在する領域に
おいては、文字分離を行わずに該文字をグラフィックオ
ブジェクトと共にビットマップに展開する処理を行う手
段とを具えたことを特徴とする請求項7又は8記載の画
像処理システム。
9. A division unit for dividing the first storage unit into a plurality of regions, a comparison unit for performing a comparison process for each of the divided regions, a graphic object other than a character. 9. The image processing system according to claim 7, further comprising: means for developing a character and a graphic object into a bitmap without performing character separation in an area where the image exists.
【請求項10】 ホストコンピュータ内のプリンタドラ
イバにおいて画像データを生成し、該生成された画像デ
ータをプリンタに転送して印刷を行う画像処理方法であ
って、 前記プリンタドライバにおいて、アプリケーションソフ
トの種類を識別し、 該識別したアプリケーションソフトの種類に基づいて、
フォント用記憶手段に記憶する画像データの文字種の優
先順位を決定し、 該決定された優先順位の高い文字種の画像データを優先
して前記フォント用記憶手段に記憶することを特徴とす
る画像処理方法。
10. An image processing method in which image data is generated by a printer driver in a host computer, and the generated image data is transferred to a printer for printing. Identifying, based on the type of the identified application software,
An image processing method comprising: determining a priority order of character types of image data stored in a font storage unit; and storing the determined image data of a character type having a higher priority order in the font storage unit. .
【請求項11】 ホストコンピュータ内のプリンタドラ
イバにおいて画像データを生成し、該生成された画像デ
ータをプリンタに転送して印刷を行う画像処理方法であ
って、 プリンタドライバにおいて、アプリケーションソフトの
種類を識別し、 該識別したアプリケーションソフトの種類に基づいて、
フォント用記憶手段の記憶容量の大きさを変更し、 該記憶容量が変更されたフォント用記憶手段に画像デー
タを記憶することを特徴とする画像処理方法。
11. An image processing method for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing, wherein the printer driver identifies a type of application software. And, based on the type of the identified application software,
An image processing method comprising: changing a storage capacity of a font storage unit; and storing image data in the font storage unit having the changed storage capacity.
【請求項12】 前記識別手段は、前記アプリケーショ
ンソフトの種類と該アプリケーションソフトの名称とを
対応させたデータベースを有し、該データベースを参照
して前記アプリケーションソフトの種類を識別すること
を特徴とする請求項10又は11記載の画像処理方法。
12. The method according to claim 1, wherein the identification unit has a database in which types of the application software are associated with names of the application software, and identifies the type of the application software by referring to the database. The image processing method according to claim 10.
【請求項13】 前記データベース内に前記アプリケー
ションソフトの名称に該当するものがない場合、該アプ
リケーションソフトの名称中にある文字列から前記アプ
リケーションソフトの種類を識別することを特徴とする
請求項12記載の画像処理方法。
13. The method according to claim 12, wherein when there is no corresponding application software name in the database, the type of the application software is identified from a character string in the name of the application software. Image processing method.
【請求項14】 ホストコンピュータ内のプリンタドラ
イバにおいて画像データを生成し、該生成された画像デ
ータをプリンタに転送して印刷を行う画像処理方法であ
って、 階層的構造のグラフィックオブジェクトからなる画像デ
ータが文字か否かを識別し、 前記グラフィックオブジェクトが文字のとき、該グラフ
ィックオブジェクトをビットマップに展開して第1記憶
手段に記憶し、 前記グラフィックオブジェクトが文字以外のとき、該文
字以外のグラフィックオブジェクトと前記第1記憶手段
内の文字との領域的な位置関係を比較し、領域的に重な
る部分があるか否かを判断し、 領域的に重なる部分があるとき、前記第1記憶手段内の
文字における、最上位層に属する文字のみを分離し、 領域的に重なる部分がないとき、最上位層以外の層の文
字と前記文字以外のグラフィックオブジェクトとを合わ
せてビットマップに展開して第2記憶手段に記憶し、 前記第1記憶手段内の最上位層に属する文字のみに分離
された画像データ、および、前記第2記憶手段内の最上
位層以外の層の文字と文字以外のグラフィックオブジェ
クトとからなる画像データを前記プリンタに転送し、 該転送された画像データを、下位層から上位層に向かっ
て順次出力して印刷を行うことを特徴とする画像処理方
法。
14. An image processing method for generating image data in a printer driver in a host computer and transferring the generated image data to a printer for printing, the image data comprising a graphic object having a hierarchical structure. Is a character or not. When the graphic object is a character, the graphic object is expanded into a bitmap and stored in a first storage unit. When the graphic object is a character, the graphic object other than the character is Is compared with a character in the first storage means in a region, and it is determined whether or not there is a region overlapping in a region. Only characters belonging to the top layer of a character are separated, and if there is no area overlapping, other than the top layer Image data separated into only characters belonging to the uppermost layer in the first storage means, wherein the character of the layer and the graphic object other than the character are developed into a bitmap and stored in the second storage means; Transferring image data composed of characters and graphic objects other than characters in layers other than the highest layer in the second storage means to the printer, and transferring the transferred image data from the lower layer to the upper layer. An image processing method characterized by sequentially outputting and printing.
【請求項15】 前記第1記憶手段内の文字と前記文字
以外のグラフィックオブジェクトとの領域的な位置関係
を比較するとき、文字毎に比較される回数をカウント
し、該カウント値が所定値以上と判断される場合には比
較処理を終了して次の処理に移行することを特徴とする
請求項14記載の画像処理方法。
15. When comparing a regional positional relationship between a character in the first storage means and a graphic object other than the character, the number of times of comparison is counted for each character, and the count value is equal to or greater than a predetermined value. 15. The image processing method according to claim 14, wherein when it is determined that the comparison process has been completed, the process proceeds to the next process.
【請求項16】 前記第1記憶手段内を複数の領域に分
割し、 該分割された領域毎に比較処理を行うと共に、 文字以外のグラフィックオブジェクトが存在する領域に
おいては、文字分離を行わずに該文字をグラフィックオ
ブジェクトと共にビットマップに展開することを特徴と
する請求項14又は15記載の画像処理方法。
16. The first storage means is divided into a plurality of regions, a comparison process is performed for each of the divided regions, and character separation is not performed in a region where a graphic object other than a character exists. 16. The image processing method according to claim 14, wherein the character is developed into a bitmap together with a graphic object.
JP9028083A 1997-02-12 1997-02-12 System and method for processing image Pending JPH10226137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9028083A JPH10226137A (en) 1997-02-12 1997-02-12 System and method for processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9028083A JPH10226137A (en) 1997-02-12 1997-02-12 System and method for processing image

Publications (1)

Publication Number Publication Date
JPH10226137A true JPH10226137A (en) 1998-08-25

Family

ID=12238897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9028083A Pending JPH10226137A (en) 1997-02-12 1997-02-12 System and method for processing image

Country Status (1)

Country Link
JP (1) JPH10226137A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002219828A (en) * 2001-01-29 2002-08-06 Jekku:Kk Print data integral processing system and recording medium
JP2010221442A (en) * 2009-03-19 2010-10-07 Canon Inc Image forming apparatus
JP2016165837A (en) * 2015-03-10 2016-09-15 三菱電機株式会社 Control method of font cache device, font cache device, character drawing processor and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002219828A (en) * 2001-01-29 2002-08-06 Jekku:Kk Print data integral processing system and recording medium
JP2010221442A (en) * 2009-03-19 2010-10-07 Canon Inc Image forming apparatus
JP2016165837A (en) * 2015-03-10 2016-09-15 三菱電機株式会社 Control method of font cache device, font cache device, character drawing processor and program

Similar Documents

Publication Publication Date Title
US6535293B1 (en) Printing system, printing control method, data processing apparatus and method, and storage medium therefor
US20050248808A1 (en) Printing control interface system and method with handwriting discrimination capability
US8126270B2 (en) Image processing apparatus and image processing method for performing region segmentation processing
JP2004046315A (en) Device and method for recognizing character, program and storage medium
US20070127085A1 (en) Printing system, printing method and program thereof
US5455871A (en) Detecting function words without converting a scanned document to character codes
US8339628B2 (en) Image forming apparatus that restricts printing of specific information
JP2001313820A (en) Image processor, image-processing method and storage medium
US20030133149A1 (en) Print controller, print control method and printer
JP2004074783A (en) Method of suppressing printing of nearly-blank page
JPH10226137A (en) System and method for processing image
US8259313B2 (en) Image processing apparatus, method, and computer-readable medium storing the program thereof
CN101373349A (en) Imaging device and method for displaying text list therein
US6061070A (en) Character outputting
US7375833B2 (en) Information processing device, page description language generating method, program, and storage medium
US7359089B2 (en) Image processing method and apparatus
JP2010105191A (en) Image processing apparatus
JP2007018158A (en) Character processor, character processing method, and recording medium
JP4103164B2 (en) Print processing device
JP3610194B2 (en) Print control apparatus, print control method, and storage medium storing computer-readable program
JP3749068B2 (en) Printing system, printing apparatus, and print image confirmation method
JPH0757040A (en) Filing device provided with ocr
JP3557720B2 (en) Printer device
JP2010026986A (en) Image forming apparatus
JP2002215616A (en) Image processor with agate giving function, method and its program