JPH08194461A - Character processing method and character processing device - Google Patents

Character processing method and character processing device

Info

Publication number
JPH08194461A
JPH08194461A JP7024663A JP2466395A JPH08194461A JP H08194461 A JPH08194461 A JP H08194461A JP 7024663 A JP7024663 A JP 7024663A JP 2466395 A JP2466395 A JP 2466395A JP H08194461 A JPH08194461 A JP H08194461A
Authority
JP
Japan
Prior art keywords
character
area
cache
pattern
character pattern
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
JP7024663A
Other languages
Japanese (ja)
Inventor
Toshiya Goto
俊也 後藤
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 JP7024663A priority Critical patent/JPH08194461A/en
Publication of JPH08194461A publication Critical patent/JPH08194461A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE: To hold and use character patterns having a high using frequency without erasing them by judging whether or not the respective character patterns must be stored in a cache area on the basis of the bit map size after the character patternes are developed. CONSTITUTION: Processing is started by reading out data equivalent to a single character from a page buffer area 29b, and information of a registered character existing in the cache area 29a is searched, and whether or not read-out character data is stored in the cache area 29a is judged. When the character data is registered, a character pattern is read out of a pattern data area 32 in the cache area 29a, and is developed to a bit map area 29c, and the processing ends. When a read-out character is not registered in the cache area, font information of an outline is read out of a font memory 28, and whether or not the size falls within a cache object range is judged by information of the upper limit and the lower limit of the cache object size.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子写真プロセスの実
行可能なレーザビームプリンタ等の印刷装置に利用さ
れ、アウトラインフォントメモリから読み出されるアウ
トラインフォントデータに基づいて文字パターンを発生
する文字処理方法及び文字処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a printing apparatus such as a laser beam printer capable of executing an electrophotographic process, and a character processing method for generating a character pattern based on outline font data read from an outline font memory, and a character processing method. It relates to a character processing device.

【0002】[0002]

【従来の技術】従来、電子写真プロセスの実行可能なレ
ーザビームプリンタ等の印刷装置においては、アウトラ
インフォントが採用されている場合が多い。アウトライ
ンフォントの特徴としては、文字の加工の容易性や鮮明
さにあるが、文字パターンを発生するまでに要する時間
がドットパターンを用いるよりも多くかかる。そのた
め、一回使われた文字パターンは同一パターンに展開し
た状態でキャッシュメモリに登録しておき、再び同一の
コードが入力されたときには該キャッシュメモリから文
字パターンを読出して使用することにより、文字の展開
に要する時間が長くなるのを抑制している。
2. Description of the Related Art Conventionally, an outline font is often used in a printing apparatus such as a laser beam printer capable of executing an electrophotographic process. The features of outline fonts are ease of character processing and sharpness, but the time required to generate a character pattern is longer than that using a dot pattern. Therefore, a character pattern that has been used once is registered in the cache memory in the state of being expanded into the same pattern, and when the same code is input again, the character pattern is read from the cache memory and used, thereby It suppresses the long time required for deployment.

【0003】また、良く使われるサイズの文字等は、予
めドットパターンに展開された状態で印刷装置内の記憶
領域に保持することにより、高速印字を達成していた。
Further, high-speed printing has been achieved by holding characters, which are often used in size, in a storage area in a printing device in a state of being developed in a dot pattern in advance.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の文字処理方法では、キャッシュメモリ領域が一杯に
なり次の文字の展開ができなくなったときは、そのペー
ジで使用されていない特殊文字パターン(大きな文字や
飾り文字等のパターン)をキャッシュメモリ内から取り
除き、さらにキャッシュメモリ領域が足りない場合に
は、そのページで使用されていない文字のパターンを全
て削除して文字を展開する。
However, in the above-described conventional character processing method, when the cache memory area becomes full and the next character cannot be expanded, a special character pattern (large (Patterns such as characters and decorative characters) are removed from the cache memory, and if the cache memory area is insufficient, all the character patterns not used on the page are deleted and the characters are expanded.

【0005】そのため、見出し等の大きな文字や、通常
使用しているアプリケーションの文書データと異なった
特殊なデータ(異なったフォントを使用しているアプリ
ケーションの文書データと違った特殊なデータ)を印刷
してしまうと、この特殊なデータがキャッシュメモリに
登録されるので、今までキャッシュメモリ内に学習、蓄
積されていた使用頻度の高い文字パターンデータが消去
されてしまい、その分、印刷速度が低下するという問題
があった。
Therefore, a large character such as a headline or special data different from the document data of an application which is normally used (special data different from the document data of an application using a different font) is printed. If this happens, this special data will be registered in the cache memory, and the frequently used character pattern data that has been learned and accumulated in the cache memory will be erased, and the printing speed will decrease accordingly. There was a problem.

【0006】さらに、高速印字を達成するために予めド
ットパターンに展開された状態で印刷装置内に記憶して
おく良く使われるサイズの文字等は、フォントの種類の
増大や印刷装置の使用目的の多様化により、それを限定
することが困難となってきている。このフォント種類の
増大や使用目的の多様化に対応させるとしてもメモリ容
量を増加させる必要が生じ、装置のコストを大幅に引き
上げてしまう等の問題もあった。
Furthermore, in order to achieve high-speed printing, characters of a commonly used size which are stored in the printing device in advance in the state of being developed into a dot pattern are increased in the type of font and the purpose of use of the printing device. Diversification has made it difficult to limit it. In order to cope with the increase in font types and diversification of purposes of use, it is necessary to increase the memory capacity, and there is a problem that the cost of the device is significantly increased.

【0007】本発明は上記従来の問題点に鑑み、キャッ
シュメモリ等の記憶媒体に対する文字パターンの登録に
おいて、使用頻度の高い文字パターンを消去せずに保
持、利用することができるようにして文書処理速度を向
上させると共に、低コスト化を可能にした文字処理方
法、及び文字処理装置を提供することを目的とする。
In view of the above-mentioned conventional problems, the present invention enables a character pattern to be stored and used without erasing a frequently used character pattern when registering a character pattern in a storage medium such as a cache memory. An object of the present invention is to provide a character processing method and a character processing device that can improve speed and reduce cost.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に第1の発明の文字処理方法は、アウトラインフォント
メモリから読み出される各文字のアウトラインフォント
パターンに基づいて発生された各文字パターンを記憶す
る第1の記憶領域と、文字パターンを前記第1の記憶領
域に格納するか否かの文字サイズに基づいた判定基準を
記憶する第2の記憶領域とを確保し、前記第2の記憶領
域に記憶された判定基準に基づいて、前記第1の記憶領
域に各文字パターンを記憶するか否かの判定を行うよう
にしたもものである。
In order to achieve the above object, the character processing method of the first invention stores each character pattern generated based on the outline font pattern of each character read from the outline font memory. A first storage area and a second storage area for storing a criterion based on a character size of whether or not to store a character pattern in the first storage area are secured, and the second storage area is stored in the second storage area. It is also configured to determine whether or not to store each character pattern in the first storage area based on the stored determination criteria.

【0009】また、上述の第1の発明において、前記文
字サイズに基づいた判定基準は、文字パターン展開後の
ビットマップサイズとすることが望ましい。
Further, in the above-mentioned first invention, it is desirable that the criterion based on the character size is a bitmap size after the character pattern is developed.

【0010】上記目的を達成するために第2の発明の文
字処理装置は、各文字のアウトラインフォントデータを
記憶するアウトラインフォントメモリと、前記アウトラ
インフォントメモリから読み出される各文字のアウトラ
インフォントデータに基づいて発生された各文字パター
ンを記憶する第1の記憶手段と、文字パターンを前記第
1の記憶手段に格納するか否かを判定する判定情報を記
憶する第2の記憶手段と、前記第2の記憶手段が記憶し
ている前記判定情報を参照して、前記第1の記憶領域に
各文字パターンを記憶するか否かの判定を行う判定手段
とを備えたものである。
In order to achieve the above object, the character processing device of the second invention is based on an outline font memory for storing outline font data of each character and outline font data of each character read from the outline font memory. First storage means for storing each generated character pattern, second storage means for storing determination information for determining whether or not to store the character pattern in the first storage means, and the second storage means. The determination means refers to the determination information stored in the storage means and determines whether or not to store each character pattern in the first storage area.

【0011】また、上記第2の発明において、前記判定
情報は、文字パターン展開後のビットマップサイズにす
ることが望ましい。
Further, in the second aspect of the invention, it is preferable that the determination information is a bitmap size after the character pattern is developed.

【0012】[0012]

【作用】上記構成により、第1の発明の文字処理方法に
よれば、第2の記憶領域に記憶された判定基準(例えば
文字パターン展開後のビットマップサイズ)に基づい
て、第1の記憶領域(例えばキャッシュ領域)に各文字
パターンを記憶するか否かの判定を行うので、ヒット率
の高い文字パターンを消去してしまう可能性の高い文字
パターンや、ヒット率の低い文字パターンを判別するこ
とができ、第1の記憶領域には、このような文字パター
ンが記憶されずに、条件に適合した文字パターンのみが
記憶される。これにより、簡易な文字処理方法でありな
がら、第1の記憶領域において使用頻度の高い文字パタ
ーンを消去せずに保持、利用することが可能となる。
With the above arrangement, according to the character processing method of the first aspect of the present invention, the first storage area is based on the judgment standard (for example, the bit map size after the character pattern expansion) stored in the second storage area. Since it is determined whether or not to store each character pattern in the cache area (for example, in the cache area), character patterns with a high probability of erasing character patterns with a high hit rate and character patterns with a low hit rate can be determined. Therefore, such a character pattern is not stored in the first storage area, and only the character pattern that meets the condition is stored. This makes it possible to hold and use a frequently used character pattern in the first storage area without erasing it, even though it is a simple character processing method.

【0013】第2の発明の文字処理装置によれば、判定
手段は、第2の記憶手段が記憶している判定情報を参照
し、第1の記憶手段に各文字パターンを記憶するか否か
の判定を行うので、ヒット率の高い文字パターンを消去
してしまう可能性の高い文字パターンや、ヒット率の低
い文字パターンを判別することができ、第1の記憶手段
には、このような文字パターンは記憶されずに、条件に
適合した文字パターンのみが記憶される。これにより、
第1の記憶手段において使用頻度の高い文字パターンを
消去せずに保持、利用することが可能となる。
According to the character processing device of the second invention, the judgment means refers to the judgment information stored in the second storage means, and whether or not each character pattern is stored in the first storage means. Therefore, it is possible to determine a character pattern having a high probability of erasing a character pattern having a high hit rate and a character pattern having a low hit rate. The pattern is not stored, but only the character pattern that meets the conditions is stored. This allows
It becomes possible to hold and use a frequently used character pattern in the first storage means without erasing it.

【0014】[0014]

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

【0015】図1は、本発明の実施例に係る文字処理方
法を実施するための文字処理装置の内部構成を示す断面
図である。
FIG. 1 is a sectional view showing the internal structure of a character processing apparatus for carrying out a character processing method according to an embodiment of the present invention.

【0016】この文字処理装置は、外部のデータ源から
文字パターンの登録や定型書式(フォームデータ)など
の登録が行えるレーザビームプリンタ(以下、LBPと
いう)で構成されいる。すなわち、このLBPは、外部
に接続されているホストコンピュータ等の外部機器(図
2の21)から供給される文字情報(文字コード)やフ
ォーム情報あるいはマクロ命令などを入力して記憶する
と共に、それらの情報に従って対応する文字パターンや
フォームパターンなどを作成し、記録媒体である記録紙
上に像を形成する機能を有する。
The character processing device is composed of a laser beam printer (hereinafter referred to as LBP) capable of registering a character pattern and a fixed form (form data) from an external data source. That is, this LBP inputs and stores character information (character code), form information, macro commands, or the like supplied from an external device (21 in FIG. 2) such as a host computer connected to the outside and stores them. It has a function of forming a corresponding character pattern, form pattern, or the like according to the information of 1, and forming an image on a recording paper as a recording medium.

【0017】図中10は、LBP本体であり、11は操
作のためのスイッチ及びLED表示機などが配されてい
る操作パネル、12はLBPの全体の制御及び外部機器
から供給される文字情報などを解析するプリンタ制御ユ
ニット(コントローラ)である。この制御ユニット12
は、主に文字情報を対応する文字パターンのビデオ信号
に変換してレーザドライバ13に出力する。
In the figure, 10 is an LBP main body, 11 is an operation panel on which switches for operation and an LED display are arranged, and 12 is overall control of the LBP and character information supplied from an external device. Is a printer control unit (controller) for analyzing the. This control unit 12
Mainly converts character information into a video signal having a corresponding character pattern and outputs the video signal to the laser driver 13.

【0018】レーザドライバ13は、半導体レーザ14
を駆動するための回路であり、入力されたビデオ信号に
応じて半導体レーザ14から発射されるレーザ光15を
オン/オフ切り替えする。レーザ光15は回転多面鏡1
6で左右方向に振られ静電ドラム17上を走査する。こ
れにより、静電ドラム17上には文字パターンの静電潜
像が形成される。この潜像は、静電ドラム17周囲の現
像ユニット18により現像されたのち、記録紙に転送さ
れる。
The laser driver 13 is a semiconductor laser 14.
Is a circuit for driving the laser beam, and turns on / off the laser beam 15 emitted from the semiconductor laser 14 according to the input video signal. The laser light 15 is the rotating polygon mirror 1.
It is shaken in the left-right direction at 6 and scans on the electrostatic drum 17. As a result, an electrostatic latent image having a character pattern is formed on the electrostatic drum 17. The latent image is developed by the developing unit 18 around the electrostatic drum 17 and then transferred to the recording paper.

【0019】この記録紙にはカットシートが用いられ、
カットシート記録紙はLBP10に装着した用紙カセッ
ト19に収納され、給紙ローラ20及び搬送ローラ2
1,22により装置内に取り込まれて、静電ドラム17
へ供給される。
A cut sheet is used for this recording paper,
The cut sheet recording paper is stored in the paper cassette 19 mounted on the LBP 10, and the paper feed roller 20 and the transport roller 2
1, 22 is taken into the apparatus and the electrostatic drum 17
Supplied to

【0020】図2は、図1中のコントローラ12の内部
構成を示すブロック図である。
FIG. 2 is a block diagram showing the internal structure of the controller 12 shown in FIG.

【0021】このコントローラ12は、主としてホスト
コンピュータ等の外部機器21から印刷情報を入力し、
その印刷情報に従って対応する文字パターン等の画像デ
ータを作成する。さらに、その作成された画像データを
プリンタエンジン22へ出力し、該プリンタエンジン2
2に記録媒体である紙やOHPシート上の像形成を行わ
せる。
The controller 12 inputs print information mainly from an external device 21 such as a host computer,
Image data such as a corresponding character pattern is created according to the print information. Further, the created image data is output to the printer engine 22, and the printer engine 2
2 is made to form an image on a recording medium such as paper or an OHP sheet.

【0022】図2において、23は外部機器21からの
印刷データを受信するための入力インターフェースであ
り、25は、コントローラ12の内部通信のためのシス
テムバスであり、26は装置全体の制御を司るCPUで
あり、27はCPU26の動作手順等を記憶するROM
であり、28はアウトラインフォントデータを記憶して
いるフォントメモリである。29はCPU26のワーク
エリアや後述するキャッシュ領域などを格納したりする
のに使用されるRAMであり、30は形成する画像デー
タをプリンタエンジン22へ送信するための出力インタ
ーフェースである。
In FIG. 2, 23 is an input interface for receiving print data from the external device 21, 25 is a system bus for internal communication of the controller 12, and 26 is for controlling the entire apparatus. Reference numeral 27 is a CPU, and 27 is a ROM for storing the operating procedure of the CPU 26.
28 is a font memory for storing outline font data. Reference numeral 29 is a RAM used to store a work area of the CPU 26, a cache area described later, and the like, and 30 is an output interface for transmitting image data to be formed to the printer engine 22.

【0023】ここで、RAM29は、図示のごとく、ド
ットパターンに展開されたパターンデータとその管理情
報を記憶するためのキャッシュ領域29aと、外部機器
21からの受信データを格納するページバッファ領域2
9bと、プリンタエンジン22へ出力する画像データを
収めるビットマップ領域29cとを有している。
Here, the RAM 29 is, as shown in the figure, a cache area 29a for storing the pattern data expanded into a dot pattern and its management information, and a page buffer area 2 for storing the received data from the external device 21.
9b and a bitmap area 29c for storing image data to be output to the printer engine 22.

【0024】図3は、図2中のキャッシュ領域29aの
構成を示す図であり、31はキャッシュ管理テーブルで
後記のキャッシュ対象情報33や登録されている文字の
情報などがおされられている。32はドットパターンに
展開されたパターンデータを記憶するためのパターンデ
ータ領域、そして、33は前記キャッシュ管理テーブル
31内に記憶されているキャッシュ対象情報である。
FIG. 3 is a diagram showing the structure of the cache area 29a shown in FIG. 2. Reference numeral 31 denotes a cache management table, which includes cache target information 33, which will be described later, and registered character information. Reference numeral 32 is a pattern data area for storing the pattern data expanded into a dot pattern, and 33 is the cache target information stored in the cache management table 31.

【0025】キャッシュ対象情報33には、キャッシュ
メモリ自身のサイズ情報のほかに、文字パターンのキャ
ッシュ対象サイズの上限と下限の情報を有し、キャッシ
ュ領域29aへの文字パターン記憶の可否を判定する際
の後述の手順において参照される。また、ここではキャ
ッシュ対象サイズは文字パターン展開後のキャッシュメ
モリ使用量として定義される。
The cache target information 33 has information on the upper and lower limits of the cache target size of a character pattern in addition to the size information of the cache memory itself, and is used for determining whether or not the character pattern can be stored in the cache area 29a. Will be referred to in the procedure described later. Further, here, the cache target size is defined as the cache memory usage after the character pattern expansion.

【0026】次に、図4に示すフローチャートを参照し
ながら、上記構成の文字処理装置における文字データ処
理動作(文字処理方法)について説明する。図4は、本
実施例の文字処理装置における文字データ処理手順の一
例を示すフローチャートである。なお、説明のため、印
字データの受信に先だってキャッシュ領域29aには文
字が登録されているものとする。また、キャッシュ対象
情報33にも、操作パネル11などからの不図示の手順
により、値が設定されているものとする。また、外部機
器21からの印刷データの受信は、本実施例の処理と並
行して実行され、受信された印刷データは、入力インタ
ーフェース23及びシステムバス25を介してページバ
ッファ領域29bに格納される。
Next, the character data processing operation (character processing method) in the character processing apparatus having the above configuration will be described with reference to the flowchart shown in FIG. FIG. 4 is a flowchart showing an example of a character data processing procedure in the character processing device of this embodiment. For the sake of explanation, it is assumed that characters are registered in the cache area 29a prior to receiving print data. Further, it is assumed that a value is set also in the cache target information 33 by a procedure (not shown) from the operation panel 11 or the like. The print data is received from the external device 21 in parallel with the process of this embodiment, and the received print data is stored in the page buffer area 29b via the input interface 23 and the system bus 25. .

【0027】まず、ページバッファ領域29bから1文
字分のデータを読み出すことにより処理が開始される
(ステップS41)。次いで、キャッシュ領域29aに
ある登録された文字の情報を検索し、読み出した文字デ
ータが既にキャッシュ領域29aに記憶されているかを
判断する(ステップS42)。
First, the processing is started by reading the data for one character from the page buffer area 29b (step S41). Then, the information of the registered character in the cache area 29a is searched to determine whether the read character data is already stored in the cache area 29a (step S42).

【0028】このステップS42の判断で、読み出した
文字データが登録されていた場合には、処理はステップ
S43へ進み、キャッシュ領域29a内のパターンデー
タ領域32から該当した文字パターンを読み出し、ビッ
トマップ領域29cに展開して(ステップS44)、1
文字の処理を終了する。
If it is determined in step S42 that the read character data is registered, the process proceeds to step S43, the corresponding character pattern is read from the pattern data area 32 in the cache area 29a, and the bit map area is read. 29c (step S44), 1
Terminates character processing.

【0029】一方、ステップS42の判断で、読み出さ
れた文字がまだキャッシュ領域に登録されていない場合
には、ステップS45へ進んで、該当するアウトライン
データのフォント情報をフォントメモリ28から読み出
す。そしてその読み出されたデータに基づいて文字パタ
ーンを発生させた際に、キャッシュ対象情報33内のキ
ャッシュ対象サイズの上限と下限の情報により、文字パ
ターンのサイズがキャッシュ対象範囲に収まっているか
否かを判断する(ステップS46)。
On the other hand, if it is determined in step S42 that the read character is not yet registered in the cache area, the process proceeds to step S45 to read the font information of the corresponding outline data from the font memory 28. Then, when a character pattern is generated based on the read data, whether the size of the character pattern falls within the cache target range is determined by the upper and lower limit information of the cache target size in the cache target information 33. Is determined (step S46).

【0030】もし、キャッシュ対象となるなら通常のキ
ャッシング処理を実行した後(ステップS47)、該当
文字パターンを読出し(ステップS43)、ビットマッ
プ領域29cに展開して(ステップS44)、1文字の
処理を終了する。
If it is to be cached, a normal caching process is executed (step S47), then the corresponding character pattern is read (step S43) and expanded in the bitmap area 29c (step S44) to process one character. To finish.

【0031】また、ステップS46の判断で、文字パタ
ーンのサイズがキャッシュ対象範囲に収まっていない場
合には、CPU26のワークエリアを使用して文字パタ
ーンを展開し(ステップS48)、その後、ビットマッ
プ領域29cに転送して(ステップS44)、1文字の
処理を終了する。
If it is determined in step S46 that the size of the character pattern is not within the cache target range, the character area is expanded using the work area of the CPU 26 (step S48), and then the bitmap area is created. 29c (step S44), and the processing for one character is completed.

【0032】なお、本発明は、図示の実施例に限定され
ず、種々の変形が可能である。例えば、その変形例とし
て次のようなものがある。
The present invention is not limited to the illustrated embodiment, and various modifications can be made. For example, there are the following modifications.

【0033】(1)前述の実施例におけるキャッシュ対
象情報33では、即値を用いているが、これを図5に示
すような構成とし、キャッシュサイズに対する比率で相
対的に求められる値としてもよい。この場合、キャッシ
ュサイズが変動した場合に自動的に再計算を行うことに
より、キャッシュサイズに合わせて動的に上限・下限サ
イズを変動させることも可能となる。
(1) Although the immediate value is used in the cache target information 33 in the above-described embodiment, this may be configured as shown in FIG. 5 and may be a value relatively obtained by the ratio to the cache size. In this case, it is also possible to dynamically change the upper and lower limit sizes according to the cache size by automatically performing recalculation when the cache size changes.

【0034】(2)上記変形例(1)において、上限と
下限の指定方法を上記実施例における直値指定法と組み
合わせてもよい。この場合、キャッシュ容量に影響が大
きい上限値の方だけを比率で動的に変更可能にすること
ができる。
(2) In the modified example (1), the method of designating the upper limit and the lower limit may be combined with the direct value designating method of the above embodiment. In this case, only the upper limit value, which has a large effect on the cache capacity, can be dynamically changed in proportion.

【0035】(3)前述の実施例及び上記変形例
(1)、(2)において、キャッシュ対象情報33への
値の設定を、操作パネル11からではなく外部機器21
等の外部装置からの印刷装置に対する制御命令によるも
のであってもよい。この場合、ユーザのパネルからの操
作を不要とすることが可能となる上、キャッシュへの登
録条件を印刷データ中で動的に変更することも可能とな
り、よりきめ細かいキャッシュ制御が可能となる。
(3) In the above-described embodiment and the modified examples (1) and (2), the setting of the value to the cache target information 33 is performed not by the operation panel 11 but by the external device 21.
It may be based on a control command to the printing device from an external device such as. In this case, the operation from the user's panel can be eliminated, and the cache registration condition can be dynamically changed in the print data, which enables more detailed cache control.

【0036】(4)前述の実施例及び上記変形例
(1)、(2)において、キャッシュ対象情報33の値
の設定は、システムデフォルト値のみとして、キャッシ
ュ制限の実行可、不可の指定のみを実行することができ
るようにしておいてもよい。この場合、システム推奨値
を使用するため、ユーザは設定されているキャッシュサ
イズを意識しなくとも済む。
(4) In the above-described embodiment and the above-described modified examples (1) and (2), the value of the cache target information 33 is set only by the system default value, and only the specification of whether cache restriction can be executed or not is executed. It may be possible to execute. In this case, since the system recommended value is used, the user does not have to be aware of the set cache size.

【0037】(5)前述の実施例において、キャッシュ
サイズの指定法は、例えばポイント数によるフォントサ
イズ指定にするような間接的な指定法であっても構わな
い。この場合、内部的な再計算は必要となるが、ユーザ
にとって分かりやすい指定法となる。
(5) In the above-described embodiment, the cache size specifying method may be an indirect specifying method such as font size specification by the number of points. In this case, an internal recalculation is necessary, but the specification method is easy for the user to understand.

【0038】(6)前述の実施例において、キャッシュ
対象情報33に対しての設定値は、NVRAM等の不揮
発性メモリに設定された値を使用してもよい。
(6) In the above embodiment, the setting value for the cache target information 33 may be the value set in the nonvolatile memory such as NVRAM.

【0039】(7)前述の実施例では、レーザビームプ
リンタ装置の例で説明したが、本発明はこれに限定され
るものではなく、例えばインクジェットプリンタや熱転
写プリンタのような他の印刷方式のプリンタ装置の場合
にも適用可能である。
(7) In the above-mentioned embodiments, the laser beam printer device has been described as an example, but the present invention is not limited to this, and a printer of another printing system such as an ink jet printer or a thermal transfer printer is used. It is also applicable to the device.

【0040】(8)本発明は複数の機器から構成される
システムに対して適用しても、1つの機器からなる装置
に適用してもよい。また、本発明はシステムあるいは装
置に、本発明を実施するプログラムを供給することによ
って達成される場合にも適用することができる。
(8) The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. The present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0041】[0041]

【発明の効果】以上詳細に説明したように、第1の発明
の文字処理方法によれば、アウトラインフォントメモリ
から読み出される各文字のアウトラインフォントパター
ンに基づいて発生された各文字パターンを記憶する第1
の記憶領域と、文字パターンを前記第1の記憶領域に格
納するか否かの文字サイズに基づいた判定基準を記憶す
る第2の記憶領域とを確保し、前記第2の記憶領域に記
憶された判定基準に基づいて、前記第1の記憶領域に各
文字パターンを記憶するか否かの判定を行うので、第1
の記憶領域には条件に適合した文字パターンのみが記憶
される。これにより、簡易な文字処理方法でありなが
ら、第1の記憶領域において使用頻度の高い文字パター
ンを消去せずに保持、利用することができ、記憶容量の
増加などを行わずに第1の記憶領域を効率よく使用する
ことが可能となり、実施装置の低コスト化と共に、本発
明を例えば印刷装置に適用した場合には印字速度を向上
させることができる。
As described above in detail, according to the character processing method of the first invention, each character pattern generated based on the outline font pattern of each character read from the outline font memory is stored. 1
And a second storage area for storing a criterion based on the character size of whether or not to store a character pattern in the first storage area, and stored in the second storage area. It is determined whether or not each character pattern is stored in the first storage area based on the determination criteria.
Only the character patterns that meet the conditions are stored in the storage area of. As a result, it is possible to retain and use a frequently used character pattern in the first storage area without erasing, even though it is a simple character processing method. The area can be used efficiently, the cost of the execution apparatus can be reduced, and the printing speed can be improved when the present invention is applied to, for example, a printing apparatus.

【0042】第2の発明の文字処理装置によれば、各文
字のアウトラインフォントデータを記憶するアウトライ
ンフォントメモリと、前記アウトラインフォントメモリ
から読み出される各文字のアウトラインフォントデータ
に基づいて発生された各文字パターンを記憶する第1の
記憶手段と、文字パターンを前記第1の記憶手段に格納
するか否かを判定する判定情報を記憶する第2の記憶手
段と、前記第2の記憶手段が記憶している前記判定情報
を参照して、前記第1の記憶領域に各文字パターンを記
憶するか否かの判定を行う判定手段とを備えたので、第
1の記憶手段には条件に適合した文字パターンのみが記
憶される。これにより、第1の記憶手段において使用頻
度の高い文字パターンを消去せずに保持、利用すること
ができ、記憶容量の増加などを行わずに第1の記憶手段
の記憶領域を効率よく使用することが可能となり、実施
装置の低コスト化と共に、本発明を例えば印刷装置に適
用した場合には印字速度を向上させることができる。
According to the character processing apparatus of the second invention, an outline font memory for storing outline font data of each character and each character generated based on the outline font data of each character read from the outline font memory. A first storage unit that stores a pattern; a second storage unit that stores determination information for determining whether to store a character pattern in the first storage unit; and a second storage unit that stores the determination information. Since the determination means for determining whether or not to store each character pattern in the first storage area is provided with reference to the determination information stored in the first storage area, the first storage means stores characters that meet the conditions. Only patterns are stored. As a result, the frequently used character pattern can be retained and used in the first storage unit without being erased, and the storage area of the first storage unit can be efficiently used without increasing the storage capacity. This makes it possible to reduce the cost of the printing apparatus and improve the printing speed when the present invention is applied to, for example, a printing apparatus.

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

【図1】本発明の実施例に係る文字処理方法を実施する
ための文字処理装置の内部構成を示す断面図である。
FIG. 1 is a cross-sectional view showing an internal configuration of a character processing device for carrying out a character processing method according to an embodiment of the present invention.

【図2】図1中のコントローラ12の内部構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing an internal configuration of a controller 12 in FIG.

【図3】図2中のキャッシュ領域29aの構成を示す図
である。
FIG. 3 is a diagram showing a configuration of a cache area 29a in FIG.

【図4】実施例における文字データ処理手順の一例を示
すフローチャートである。
FIG. 4 is a flowchart showing an example of a character data processing procedure in the embodiment.

【図5】変形例におけるキャッシュ対象情報を示す図で
ある。
FIG. 5 is a diagram showing cache target information in a modified example.

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

10 LBP 12 コントローラ 21 外部機器 26 CPU 27 ROM 28 フォントメモリ 29 RAM 29a キャッシュ領域 29b ページバッファ領域 29c ビットマップ領域 31 キャッシュ管理テーブル 33 キャッシュ対象情報 10 LBP 12 controller 21 external device 26 CPU 27 ROM 28 font memory 29 RAM 29a cache area 29b page buffer area 29c bitmap area 31 cache management table 33 cache target information

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 アウトラインフォントメモリから読み出
される各文字のアウトラインフォントパターンに基づい
て発生された各文字パターンを記憶する第1の記憶領域
と、文字パターンを前記第1の記憶領域に格納するか否
かの文字サイズに基づいた判定基準を記憶する第2の記
憶領域とを確保し、 前記第2の記憶領域に記憶された判定基準に基づいて、
前記第1の記憶領域に各文字パターンを記憶するか否か
の判定を行うことを特徴とする文字処理方法。
1. A first storage area for storing each character pattern generated based on an outline font pattern of each character read from an outline font memory, and whether or not to store the character pattern in the first storage area. A second storage area for storing a criterion based on the character size, and based on the criterion stored in the second memory area,
A character processing method, comprising: determining whether or not to store each character pattern in the first storage area.
【請求項2】 前記文字サイズに基づいた判定基準を、
文字パターン展開後のビットマップサイズとしたことを
特徴とする請求項1記載の文字処理方法。
2. The criterion based on the character size is
2. The character processing method according to claim 1, wherein the bitmap size after the character pattern is expanded is used.
【請求項3】 各文字のアウトラインフォントデータを
記憶するアウトラインフォントメモリと、 前記アウトラインフォントメモリから読み出される各文
字のアウトラインフォントデータに基づいて発生された
各文字パターンを記憶する第1の記憶手段と、 文字パターンを前記第1の記憶手段に格納するか否かを
判定する判定情報を記憶する第2の記憶手段と、 前記第2の記憶手段が記憶している前記判定情報を参照
して、前記第1の記憶領域に各文字パターンを記憶する
か否かの判定を行う判定手段とを備えたことを特徴とす
る文字処理装置。
3. An outline font memory for storing outline font data of each character, and a first storage means for storing each character pattern generated based on the outline font data of each character read from the outline font memory. With reference to the second storage unit that stores determination information for determining whether to store a character pattern in the first storage unit and the determination information stored in the second storage unit, A character processing device comprising: a determination unit that determines whether or not to store each character pattern in the first storage area.
【請求項4】 前記判定情報は、文字パターン展開後の
ビットマップサイズであることを特徴とする請求項3記
載の文字処理装置。
4. The character processing device according to claim 3, wherein the determination information is a bit map size after character pattern expansion.
JP7024663A 1995-01-19 1995-01-19 Character processing method and character processing device Pending JPH08194461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7024663A JPH08194461A (en) 1995-01-19 1995-01-19 Character processing method and character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7024663A JPH08194461A (en) 1995-01-19 1995-01-19 Character processing method and character processing device

Publications (1)

Publication Number Publication Date
JPH08194461A true JPH08194461A (en) 1996-07-30

Family

ID=12144392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7024663A Pending JPH08194461A (en) 1995-01-19 1995-01-19 Character processing method and character processing device

Country Status (1)

Country Link
JP (1) JPH08194461A (en)

Similar Documents

Publication Publication Date Title
JP3639685B2 (en) Printing apparatus and printing control method
JPH0263763A (en) Printing apparatus
JP3486467B2 (en) Image recording apparatus and control method thereof
JP3049158B2 (en) Character processing device and character processing method of character processing device
JPH05270093A (en) Method and apparatus for processing image
JPH08194461A (en) Character processing method and character processing device
JP3032682B2 (en) Printing apparatus and control method thereof
JP3167775B2 (en) Image forming method and apparatus
JP2981400B2 (en) Printing apparatus and data processing method for printing apparatus
JPH05270055A (en) Image recording method and device, and information processing method
JP3359165B2 (en) Printer control device and printer control method
JP3241767B2 (en) Image processing device
JP3143520B2 (en) Character processing apparatus and method
JP4307110B2 (en) Image forming apparatus, image forming method, and image forming program
JP4401661B2 (en) Image forming apparatus, image forming method, and image forming program
JP2869923B2 (en) Printing control device
JPH09146521A (en) Device and method for output control
JPH0924642A (en) Method and apparatus for processing character
JPH07256974A (en) Image forming device and its control method
JP2000094797A (en) Printing controller, data processing method therefor, and memory medium storing program readable by computer
JPH07299931A (en) Printer and control thereof
JPH1198360A (en) Device and method for processing picture and computer readable storage medium
JP2004164473A (en) Output control device
JPH0557959A (en) Printer
JP2002196618A (en) Image processor and image processing method