JPH0825720A - Method and apparatus for outputting image - Google Patents

Method and apparatus for outputting image

Info

Publication number
JPH0825720A
JPH0825720A JP6167752A JP16775294A JPH0825720A JP H0825720 A JPH0825720 A JP H0825720A JP 6167752 A JP6167752 A JP 6167752A JP 16775294 A JP16775294 A JP 16775294A JP H0825720 A JPH0825720 A JP H0825720A
Authority
JP
Japan
Prior art keywords
pattern
character
data
test
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP6167752A
Other languages
Japanese (ja)
Inventor
Hitomi Kimura
仁美 木村
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 JP6167752A priority Critical patent/JPH0825720A/en
Publication of JPH0825720A publication Critical patent/JPH0825720A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To shorten time required for development in a pattern of a character data by a method wherein the character pattern of high frequency in use is preferentially registered in a font cache by outputting a test pattern. CONSTITUTION:A test data is stored in a storage 6, and a test pattern is outputted based on the test data stored in the storage 6. When the test pattern is outputted, a character pattern developed in a pattern is stored in a font cache 8a, and the inputted character data is developed in a pattern by using the character pattern stored in the font cache 8a. An image is thus outputted based on the character pattern developed in the pattern.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字データを入力して
文字パターンに展開して出力する画像出力方法及び装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image output method and apparatus for inputting character data, developing it into a character pattern and outputting it.

【0002】[0002]

【従来の技術】プリンタ装置は一般に、文字データを入
力し、内蔵されているフォントデータを参照して文字パ
ターンに展開して印刷を行っている。このようなプリン
タ装置では、パターン展開された文字データを一時記憶
装置(フォントキャッシュ)に登録しておき、次に同じ
文字コードで、同じ文字サイズ等の同一書体の文字デー
タが入力されると、そのフォントキャッシュに記憶され
ているパターンデータを参照して印刷を行うことによ
り、文字コードのパターン展開に要する時間を短くして
印刷速度を向上させている。
2. Description of the Related Art Generally, a printer device inputs character data, develops a character pattern by referring to font data contained therein, and prints the character pattern. In such a printer device, when the pattern-developed character data is registered in a temporary storage device (font cache), and then character data of the same typeface, such as the same character code and the same character size, is input, By performing printing by referring to the pattern data stored in the font cache, the time required for the pattern development of the character code is shortened and the printing speed is improved.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記従来
例の装置では、このフォントキャッシュへの文字パター
ンの登録は、外部装置から入力された文字データをパタ
ーン展開して登録するか、もしくはプリンタ装置が待機
中に文字データをパターン展開し、不揮発性の記憶装置
に登録することにより行っている。このため、多くの文
字パターンがフォントキャッシュに登録されていない場
合、例えば電源投入直後等の場合には、フォントキャッ
シュのヒット率が低下し、印刷速度が低下してしまう。
またこのようなフォントキャッシュの内容は、プリンタ
装置による印刷処理により更新されるため、例えば特殊
な文字が多く含まれる文書などを大量に印刷した後、通
常の印刷を行う場合に、そのフォントキャッシュのヒッ
ト率が低下し、印刷速度が低下する等の問題があった。
However, in the above-mentioned conventional apparatus, the character pattern is registered in the font cache by expanding the character data input from the external apparatus and registering it, or by the printer apparatus waiting. This is performed by developing a pattern of character data and registering it in a non-volatile storage device. Therefore, when many character patterns are not registered in the font cache, for example, immediately after the power is turned on, the hit rate of the font cache decreases and the printing speed also decreases.
Further, since the contents of such a font cache are updated by the printing process by the printer device, for example, when a large amount of documents including many special characters are printed and then normal printing is performed, the font cache contents are changed. There were problems such as a decrease in hit rate and a decrease in printing speed.

【0004】本発明は上記従来例に鑑みてなされたもの
で、テストパターンを出力することによって、使用頻度
の高い文字パターンを優先的にフォントキャッシュに登
録し、文字データのパターン展開に要する時間を短縮で
きる画像出力方法及び装置を提供することを目的とす
る。
The present invention has been made in view of the above-mentioned conventional example. By outputting a test pattern, a frequently used character pattern is preferentially registered in the font cache, and the time required for pattern expansion of character data is reduced. An object is to provide an image output method and apparatus that can be shortened.

【0005】また本発明の他の目的は、使用頻度の高い
文字データを含むテストデータを作成し、そのテストデ
ータを出力することにより、フォントキャッシュのヒッ
ト率を高めるようにした画像出力方法及び装置を提供す
ることにある。
Another object of the present invention is to create a test data including character data which is frequently used and output the test data to increase the hit ratio of the font cache. To provide.

【0006】また本発明の他の目的は、所望のタイミン
グでテストパターンの出力を行うことにより、フォント
キャッシュの内容を所望の内容に更新できる画像出力方
法及び装置を提供することにある。
Another object of the present invention is to provide an image output method and apparatus capable of updating the contents of the font cache to desired contents by outputting a test pattern at a desired timing.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明の画像出力装置は以下のような構成を備える。
即ち、文字データを入力しパターン展開して出力する画
像出力装置であって、テストデータを記憶する記憶手段
と、前記記憶手段に記憶されたテストデータに基づいて
テストパターンを出力するテストパターン出力手段と、
前記テストパターン出力手段による出力時にパターン展
開された文字パターンを記憶するフォントキャッシュ手
段と、前記フォントキャッシュ手段に記憶された文字パ
ターンを使用して、入力した文字データをパターン展開
するパターン展開手段と、前記パターン展開手段により
パターン展開された文字パターンに基づいて画像を出力
する出力手段とを有する。
In order to achieve the above object, the image output apparatus of the present invention has the following configuration.
That is, it is an image output device for inputting character data, developing a pattern, and outputting the pattern, and storing means for storing test data, and test pattern outputting means for outputting a test pattern based on the test data stored in the storing means. When,
A font cache unit that stores a character pattern that has undergone pattern expansion when output by the test pattern output unit; and a pattern expansion unit that expands the input character data using the character pattern stored in the font cache unit. Output means for outputting an image based on the character pattern developed by the pattern developing means.

【0008】上記目的を達成するために本発明の画像出
力方法は以下のような工程を備える。即ち、文字データ
を入力しパターン展開して出力する画像出力方法であっ
て、記憶されているテストデータに基づいてテストパタ
ーンを出力する工程と、テストパターンの出力時にパタ
ーン展開された文字パターンをメモリに記憶する工程
と、文字データのパターン展開時、当該文字データの文
字パターンが前記メモリに記憶されているか否かを判断
する工程と、前記メモリに記憶されている時は、その文
字パターンを使用して、入力した文字データをパターン
展開するとともに、前記メモリに記憶されていない文字
パターンに該当する文字データをフォントデータを参照
してパターン展開する工程と、そのパターン展開された
文字パターンに基づいて画像を出力する工程とを有す
る。
In order to achieve the above object, the image output method of the present invention comprises the following steps. That is, it is an image output method of inputting character data, expanding a pattern, and outputting the pattern, in which a step of outputting a test pattern based on stored test data and a step of storing a character pattern expanded at the time of outputting the test pattern in a memory And a step of determining whether the character pattern of the character data is stored in the memory when the pattern of the character data is developed, and the character pattern is used when stored in the memory. Then, the input character data is subjected to pattern expansion, and the character data corresponding to the character pattern not stored in the memory is subjected to pattern expansion by referring to the font data, and based on the pattern expanded character pattern. Outputting the image.

【0009】[0009]

【作用】以上の構成において、テストデータを記憶手段
に記憶しておき、その記憶手段に記憶されたテストデー
タに基づいてテストパターンを出力する。このテストパ
ターンの出力時に、パターン展開された文字パターンを
フォントキャッシュに記憶しておき、そのフォントキャ
ッシュに記憶された文字パターンを使用して、入力した
文字データをパターン展開する。こうしてパターン展開
された文字パターンに基づいて、画像を出力するように
動作する。
In the above structure, the test data is stored in the storage means, and the test pattern is output based on the test data stored in the storage means. At the time of outputting this test pattern, the expanded character pattern is stored in the font cache, and the input character data is expanded using the character pattern stored in the font cache. It operates so as to output an image based on the character pattern thus developed.

【0010】[0010]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。尚、以下の実施例ではプリンタ
装置の場合で説明するが本発明はこれに限定されるもの
でなく、例えばディスプレイ装置やパーソナルコンピュ
ータ等のイメージ展開の場合にも適用できる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings. In the following embodiments, the case of a printer device will be described, but the present invention is not limited to this, and can be applied to the case of image development of a display device or a personal computer, for example.

【0011】図1は、本実施例に適用されるレーザビー
ムプリンタ1000(以下、LBPと略す)の内部構造
を示す断面図で、このLBP1000は不図示のデータ
源から文字パターンの登録や定型書式(フォームデー
タ)等の登録が行なえる。
FIG. 1 is a cross-sectional view showing the internal structure of a laser beam printer 1000 (hereinafter abbreviated as LBP) applied to this embodiment. This LBP 1000 is for registering character patterns from a data source (not shown) and formal format. You can register (form data) etc.

【0012】図1において、1000はLBP本体であ
り、外部に接続されているホストコンピュータ(図2の
1)から供給される文字情報(文字コード)やフォーム
情報或いはマクロ命令等を入力して記憶するとともに、
それらの情報に従って対応する文字パターンやフォーム
パターン等を作成し、記憶媒体である記録紙上に像を形
成する。1012は操作のためのスイッチ及びLBP表
示器等が配されている操作パネル、1001はLBP1
000全体の制御及びホストコンピュータから供給され
る文字情報等を解析するプリンタ制御ユニットである。
この制御ユニット1001は、主に文字情報を対応する
文字パターンのビデオ信号に変換してレーザドライバ1
002に出力する。レーザドライバ1002は半導体レ
ーザ1003を駆動するための回路であり、入力された
ビデオ信号に応じて半導体レーザ1003から発射され
るレーザ光1004をオン・オフ切り替えする。レーザ
光1004は回転多面鏡1005で左右方向に振られて
静電ドラム1006上を走査する。これにより静電ドラ
ム1006上には文字パターンの静電潜像が形成され
る。この潜像は、静電ドラム1006周囲の現像ユニッ
ト1007により現像された後、記録紙に転写される。
この記録紙にはカットシートを用い、カットシート記録
紙はLBP1000に装着した用紙カセット1008に
収納され、給紙ローラ1009及び搬送ローラ1010
と1011とにより装置内に取り込まれて、静電ドラム
1006に供給される。
In FIG. 1, reference numeral 1000 denotes an LBP main body, which inputs and stores character information (character code) supplied from an externally connected host computer (1 in FIG. 2), form information, or a macro command. Along with
A corresponding character pattern, form pattern, or the like is created according to the information, and an image is formed on a recording paper, which is a storage medium. Reference numeral 1012 is an operation panel on which switches for operation and LBP display are arranged, and 1001 is LBP1.
000 is a printer control unit for controlling the whole and analyzing character information and the like supplied from the host computer.
The control unit 1001 mainly converts the character information into a video signal of a corresponding character pattern to convert the laser information to the laser driver 1.
Output to 002. The laser driver 1002 is a circuit for driving the semiconductor laser 1003, and switches on / off the laser light 1004 emitted from the semiconductor laser 1003 according to an input video signal. The laser light 1004 is swung in the left-right direction by the rotating polygon mirror 1005 to scan the electrostatic drum 1006. As a result, an electrostatic latent image having a character pattern is formed on the electrostatic drum 1006. The latent image is developed by the developing unit 1007 around the electrostatic drum 1006 and then transferred to the recording paper.
A cut sheet is used as this recording sheet, and the cut sheet recording sheet is stored in a sheet cassette 1008 mounted on the LBP 1000, and is fed by a sheet feeding roller 1009 and a conveying roller 1010.
And 1011 are taken into the apparatus and supplied to the electrostatic drum 1006.

【0013】図2は図1で示したレーザビームプリンタ
の制御ユニット1000の概略構成を中心に示すブロッ
ク図である。
FIG. 2 is a block diagram mainly showing a schematic configuration of the control unit 1000 of the laser beam printer shown in FIG.

【0014】同図において、1は外部装置であり、LB
P1000に印刷データ等を送信する。3はCPUで、
制御ユニット1001の全体を制御する。4は入力イン
ターフェースで、外部装置1より各種データを入力す
る。5は電源部で、LBP1000の各部に必要な電力
を供給する。6は記憶装置で、その記憶内容を不揮発に
保持する不揮発性メモリ(ハードディスク、フロッピー
ディスク等)で構成され、例えばテストデータ6a等を
記憶している。7はROMであり、CPU3が実行する
各種制御プログラム、文字フォントパターン等の各種デ
ータを記憶している。8はRAMであり、外部装置1よ
り送られてきた印刷データを格納するための受信バッフ
ァや、CPU3が制御プログラムを実行するために必要
なワークエリア等を含んでいる。8aはフォントキャッ
シュで、プリント時にパターン展開された文字パターン
データが登録されている。9は出力インターフェース
で、印刷されるイメージデータを印刷機構部10に出力
している。10は、例えば図1に示された電子写真方式
の印刷機構部で、制御ユニット1001より出力された
印刷イメージデータに基づいて、記憶媒体(記録紙)上
への記録を実行している。なお、本実施例における印刷
機構部10は、上述のレーザビーム方式であっても、或
はインクジェットプリンタ、又はサーマルプリンタ等の
いずれの印刷方式であってもよい。
In the figure, reference numeral 1 is an external device, which is an LB.
The print data and the like are transmitted to P1000. 3 is a CPU,
It controls the entire control unit 1001. An input interface 4 inputs various data from the external device 1. A power supply unit 5 supplies necessary power to each unit of the LBP 1000. A storage device 6 is composed of a non-volatile memory (hard disk, floppy disk, etc.) that holds the stored contents in a non-volatile manner, and stores, for example, test data 6a. A ROM 7 stores various control programs executed by the CPU 3 and various data such as character font patterns. Reference numeral 8 denotes a RAM, which includes a reception buffer for storing print data sent from the external device 1, a work area required for the CPU 3 to execute a control program, and the like. Reference numeral 8a is a font cache in which character pattern data which is pattern-developed at the time of printing is registered. An output interface 9 outputs image data to be printed to the printing mechanism unit 10. Reference numeral 10 denotes, for example, an electrophotographic printing mechanism unit shown in FIG. 1, which executes recording on a storage medium (recording paper) based on print image data output from the control unit 1001. It should be noted that the printing mechanism unit 10 in the present embodiment may be of the above-mentioned laser beam system or any printing system such as an inkjet printer or a thermal printer.

【0015】図3は図2のROM7に格納されている本
実施例の印刷装置(LBP)の制御プログラムによる処
理を示すフローチャートである。
FIG. 3 is a flow chart showing the processing by the control program of the printing apparatus (LBP) of this embodiment stored in the ROM 7 of FIG.

【0016】この処理は印刷装置に電源が投入されるこ
とにより開始され、ステップS1で印刷可能な状態にな
ると、テストプリントが開始される。このテストプリン
トの開始は、例えば操作パネル1012のテストプリン
ト指示スイッチが押下されるか、或は所定のキーを押下
しながら装置の電源がオンされることなどにより開始さ
れる。こうしてテストプリントが開始されると、記憶装
置6に記憶されているテストデータ6aの読み出しが開
始され、ROM7に記憶されているフォントデータ等を
参照して、そのテストデータに含まれる文字コードがパ
ターン展開される。こうしてパターン展開された文字パ
ターンは、一旦、フォントキャシュ8aにも登録される
(ステップS3)。こうしてフォントキャッシュ8aに
登録された展開済み文字パターンデータを使用して、R
AM8のイメージメモリに出力イメージ(テストパター
ンイメージ)がビットマップ展開される。このイメージ
メモリに展開されたイメージデータは、出力インターフ
ェース9を介して印刷機構部10に出力されて印刷され
る(ステップS4)。こうしてステップS5において、
例えば1ページ分のテストパターンの印刷が終了する
と、テストプリントが終了する。
This process is started by turning on the power of the printing apparatus, and when the printing becomes possible in step S1, the test printing is started. The start of the test print is started by, for example, pressing the test print instruction switch on the operation panel 1012 or turning on the power of the apparatus while pressing a predetermined key. When the test printing is started in this way, the reading of the test data 6a stored in the storage device 6 is started, the font data stored in the ROM 7 is referred to, and the character code included in the test data is converted into a pattern. Be expanded. The character pattern thus developed is once registered in the font cache 8a (step S3). By using the developed character pattern data registered in the font cache 8a in this way, R
The output image (test pattern image) is bit-mapped in the image memory of AM8. The image data expanded in the image memory is output to the printing mechanism unit 10 via the output interface 9 and printed (step S4). Thus, in step S5,
For example, when the printing of the test pattern for one page is completed, the test printing is completed.

【0017】図4はこのようなテストパターンの印刷例
を示す図である。
FIG. 4 is a diagram showing an example of printing such a test pattern.

【0018】次にステップS6に進み、外部装置1より
のデータが受信されたかどうかを調べ、データを受信す
ると、その受信データをRAM8の受信バッファに記憶
する。ステップS7では受信データを解析し、排紙命令
であればステップS7に進んで排紙処理を行ってステッ
プS6に戻る。
Next, in step S6, it is checked whether or not the data from the external device 1 is received. When the data is received, the received data is stored in the reception buffer of the RAM 8. In step S7, the received data is analyzed, and if it is a paper discharge command, the process proceeds to step S7, paper discharge processing is performed, and the process returns to step S6.

【0019】一方、ステップS7で、印刷データであれ
ばステップS8に進み、印刷データ中の文字コードの該
当するパターンデータ(同じ文字コードが同じ文字サイ
ズ、同じ書体でパターン展開されている)が、フォント
キャッシュ8aに既に登録されているか否かを判定す
る。同じ文字パターンが既に登録されている時はステッ
プS9に進み、フォントキャッシュ8aに登録された文
字パターンデータを使用して、受信した印刷データをパ
ターン展開し、RAM8のイメージメモリにビットマッ
プに展開する。そして、そのビットマップ展開したデー
タを印刷機構部10に出力して印刷を行う。
On the other hand, if it is print data in step S7, the process proceeds to step S8, and the corresponding pattern data of the character code in the print data (the same character code has the same character size and the same typeface has been developed into a pattern), It is determined whether or not it is already registered in the font cache 8a. When the same character pattern has already been registered, the process proceeds to step S9, the received print data is pattern-developed using the character pattern data registered in the font cache 8a, and is expanded into a bitmap in the image memory of the RAM 8. . Then, the bitmap-developed data is output to the printing mechanism unit 10 for printing.

【0020】一方、ステップS8で、その文字コードが
フォントキャッシュ8aにパターン展開されて登録され
ていなかった場合はステップS10に進み、その受信し
た文字コードを指定された文字サイズ及び書体でパター
ン展開する。こうしてパターン展開された文字データを
フォントキャッシュ8aに登録する。その後ステップS
9に進み、フォントキャッシュ8aに記憶されている文
字パターンデータを使用して印刷イメージの展開、およ
び印刷処理を行う。
On the other hand, in step S8, if the character code is not expanded and registered in the font cache 8a, the process proceeds to step S10, and the received character code is expanded in the specified character size and typeface. . The character data thus pattern-developed is registered in the font cache 8a. Then step S
In step 9, the character image data stored in the font cache 8a is used to develop a print image and perform print processing.

【0021】このように本実施例では、テストプリント
時に展開された文字パターンをフォントキャッシュ8a
に登録しておき、実際のプリントデータの受信時にその
文字パターンを用いて印刷イメージに展開して印刷を行
うことにより、受信した印刷データに含まれる文字コー
ドをビットマップ展開する時間を節約して高速に印刷で
きる。
As described above, in this embodiment, the character pattern developed at the time of test printing is used as the font cache 8a.
Save the time to expand the character code included in the received print data into a bitmap by registering the print data in the print data and printing it by expanding the print image using that character pattern when receiving the actual print data. Can print at high speed.

【0022】また、テストパターンを実際の印刷に使用
される頻度の高い文字パターンを含むパターンデータと
することにより、実際の印刷時にヒットされる確率が高
くなり、より効率良く印刷を行うことができる。
Further, by using the test pattern as pattern data including a character pattern that is frequently used for actual printing, the probability of hitting during actual printing increases, and more efficient printing can be performed. .

【0023】[他の実施例]上記実施例では、電源を投
入後、印刷可能になるとすぐに使用頻度の高い文字を使
用したテストパターンを印刷する印刷装置の場合で説明
したが、本発明はこれに限定されるものでなく、印刷装
置の初期化を行なった後、印刷可能になるとすぐに使用
頻度の高い文字を使用したテストプリントを実行する様
にしても良い。
[Other Embodiments] In the above embodiments, the description has been given of the case of the printing apparatus which prints a test pattern using frequently used characters as soon as printing is possible after the power is turned on. However, the present invention is not limited to this. The present invention is not limited to this, and after initializing the printing apparatus, a test print using frequently used characters may be executed as soon as printing becomes possible.

【0024】また上記実施例では、使用頻度が高いと思
われる予め決められた文字をテストプリントに使用する
印刷装置について説明したが、外部装置(ホストコンピ
ュータ)1から送られてきた印刷データに含まれる文字
コード等の使用頻度を求め、この使用頻度に基づいて、
最も使用頻度の高い文字コードやパターンを含むテスト
パターンを作成する。そして、電源の再投入時、或いは
初期化処理の実行後などに、その更新されたテストパタ
ーンに基づくテストプリントを実行することにより、フ
ォントキャッシュ8aの文字パターンを、より有効に使
用してプリントを行うことができる。
In the above embodiment, the printing apparatus that uses a predetermined character which is considered to be frequently used for the test print has been described, but it is included in the print data sent from the external apparatus (host computer) 1. Calculate the frequency of use of the character codes, etc., and based on this frequency of use,
Create a test pattern that contains the most frequently used character codes and patterns. Then, when the power is turned on again, or after the initialization process is performed, a test print based on the updated test pattern is executed to more effectively use the character pattern of the font cache 8a for printing. It can be carried out.

【0025】図5は、この使用頻度を求めてテストデー
タを更新する処理を示すフローチャートで、この処理を
実行する制御プログラムはROM7に記憶されている。
FIG. 5 is a flow chart showing the process of updating the test data by obtaining the frequency of use, and the control program for executing this process is stored in the ROM 7.

【0026】まずステップS21で、外部装置1より印
刷データを受信したかどうかを調べ、データを受信する
とステップS22に進み、入力インターフェース4を介
して受信したデータをRAM8の受信バッファに記憶す
る。次にステップS23に進み、文字コードあるいは書
体データに基づいて、印刷が指示された文字コード及び
その書体に該当する文字パターンの使用頻度を計算し
て、記憶装置6に不揮発に記憶する。
First, in step S21, it is checked whether or not print data is received from the external device 1. When the data is received, the process proceeds to step S22, and the data received via the input interface 4 is stored in the reception buffer of the RAM 8. Next, in step S23, the frequency of use of the character code for which printing is instructed and the character pattern corresponding to the typeface is calculated based on the character code or typeface data, and is stored in the storage device 6 in a nonvolatile manner.

【0027】次にステップS24に進み、プリントの開
始が指示されたかどうかを調べ、プリントの開始が指示
されるとステップS25に進み、その受信した印刷デー
タに含まれる文字コードを、指定された文字サイズ、書
体にパターン展開する。尚、この場合には、フォントキ
ャッシュ8aに該当する文字パターンが記憶されていれ
ば、それを使用する。そしてステップS26で、展開さ
れた文字パターンに基づいて印刷イメージをビットマッ
プに展開し、ステップS27で実際にプリントを実行す
る。
Next, in step S24, it is checked whether or not the print start is instructed. When the print start is instructed, the process advances to step S25, and the character code included in the received print data is set to the specified character. Expand the pattern to the size and typeface. In this case, if the corresponding character pattern is stored in the font cache 8a, it is used. Then, in step S26, the print image is developed into a bitmap based on the developed character pattern, and in step S27, printing is actually executed.

【0028】次にステップS28に進み、テストデータ
の更新が指示されたかどうかをみる。この指示は、例え
ば専用の指示スイッチ等が設けられていて、それを押下
することにより指示されても良く、或は電源オフスイッ
チが押下されたかどうかにより判断しても良い。こうし
てテストデータの更新が指示された時はステップS29
に進み、ステップS23で求めた文字データの使用頻度
に基づいて、最も使用頻度の高い文字データを含むテス
トデータを作成する。この作成或は更新されたテストデ
ータは記憶装置6に送られて記憶される。
Next, in step S28, it is determined whether or not an instruction to update the test data has been issued. This instruction may be given by, for example, providing a dedicated instruction switch or the like and pressing the switch, or may be determined by whether or not the power-off switch is pressed. When the update of the test data is instructed in this way, step S29
Proceeding to step S23, test data including the character data with the highest frequency of use is created based on the frequency of use of the character data obtained in step S23. The created or updated test data is sent to the storage device 6 and stored therein.

【0029】尚、本発明は、複数の機器から構成される
システムに適用しても1つの機器から成る装置に適用し
ても良い。また、本発明は、システム或は装置に本発明
を実施するプログラムを供給することによって達成され
る場合にも適用できる。
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.

【0030】以上説明した様に本実施例によれば、テス
トプリントを実行できる印刷装置において、例えば電源
投入後、或いは初期化処理の実行に、使用頻度の高い文
字データを使用したテストプリントを行い、その際にパ
ターン展開した文字パターンをフォントキャッシュとし
て記憶しておくことにより、キャッシュされているフォ
ントデータのヒット率を高めて印刷効率を上げることが
できる。
As described above, according to the present embodiment, in the printing apparatus capable of executing the test print, the test print using frequently used character data is performed after the power is turned on or the initialization process is executed. By storing the character pattern that has undergone pattern expansion at that time as a font cache, it is possible to increase the hit rate of the cached font data and improve the printing efficiency.

【0031】また本実施例によれば、使用頻度の高い文
字を含むテストデータを作成し、これを印刷することに
よりフォントキャッシュに使用頻度の高い文字パターン
が記憶されるため、受信した印刷データを印刷する場合
に、よりフォントキャッシュの使用効率を高めて印刷で
き、印刷速度を向上できる。
Further, according to the present embodiment, the test data containing the frequently used characters is created and printed to store the frequently used character patterns in the font cache. When printing, the font cache can be used more efficiently and the printing speed can be improved.

【0032】また本実施例によれば、テストパターンの
出力を任意のタイミングで行うことができるようにする
ことにより、ユーザが所望のタイミングでフォントキャ
ッシュの内容を所望の内容に更新できる。
Further, according to the present embodiment, the test pattern can be output at an arbitrary timing, so that the user can update the contents of the font cache to the desired contents at a desired timing.

【0033】[0033]

【発明の効果】以上説明したように本発明によれば、テ
ストパターンを出力することによって、使用頻度の高い
文字パターンを優先的にフォントキャッシュに登録し、
文字データのパターン展開に要する時間を短縮できる効
果がある。
As described above, according to the present invention, by outputting a test pattern, a frequently used character pattern is preferentially registered in the font cache,
This has the effect of reducing the time required to develop the pattern of character data.

【0034】また本発明によれば、使用頻度の高い文字
データを含むテストデータを作成し、そのテストデータ
を出力することにより、フォントキャッシュのヒット率
を高めることができる。
Further, according to the present invention, the hit rate of the font cache can be increased by creating test data including character data that is frequently used and outputting the test data.

【0035】また本発明によれば、所望のタイミングで
テストパターンの出力を行うことにより、フォントキャ
ッシュの内容を所望の内容に更新できる効果がある。
Further, according to the present invention, there is an effect that the contents of the font cache can be updated to the desired contents by outputting the test pattern at the desired timing.

【0036】[0036]

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

【図1】本実施例のレーザビームプリンタの内部構造を
表す構造断面図である。
FIG. 1 is a structural cross-sectional view showing the internal structure of a laser beam printer of this embodiment.

【図2】本実施例のレーザビームプリンタの制御ユニッ
トの構成を中心に示すブロック図である。
FIG. 2 is a block diagram mainly showing a configuration of a control unit of the laser beam printer of this embodiment.

【図3】本実施例のプリンタ制御ユニットにおける制御
処理を示すフローチャートである。
FIG. 3 is a flowchart showing a control process in the printer control unit of this embodiment.

【図4】本実施例におけるテストプリントの一例を示す
図である。
FIG. 4 is a diagram showing an example of a test print in this embodiment.

【図5】他の実施例におけるテストデータの更新処理を
示すフローチャートである。
FIG. 5 is a flowchart showing a test data update process in another embodiment.

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

1 外部装置(ホストコンピュータ) 3 CPU 4 入力インターフェース 5 電源部 6a テストデータ 6 記憶装置 7 ROM 8 RAM 8a フォントキャッシュ 9 出力インターフェース 10 印刷機構部(プリンタエンジン) 1000 レーザビームプリンタ本体(以下LBP) 1001 プリンタ制御ユニット 1012 操作パネル 1 External Device (Host Computer) 3 CPU 4 Input Interface 5 Power Supply Unit 6a Test Data 6 Storage Device 7 ROM 8 RAM 8a Font Cache 9 Output Interface 10 Printing Mechanism Unit (Printer Engine) 1000 Laser Beam Printer Main Body (hereinafter LBP) 1001 Printer Control unit 1012 Operation panel

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 文字データを入力しパターン展開して出
力する画像出力装置であって、 テストデータを記憶する記憶手段と、 前記記憶手段に記憶されたテストデータに基づいてテス
トパターンを出力するテストパターン出力手段と、 前記テストパターン出力手段による出力時にパターン展
開された文字パターンを記憶するフォントキャッシュ手
段と、 前記フォントキャッシュ手段に記憶された文字パターン
を使用して、入力した文字データをパターン展開するパ
ターン展開手段と、 前記パターン展開手段によりパターン展開された文字パ
ターンに基づいて画像を出力する出力手段と、を有する
ことを特徴とする画像出力装置。
1. An image output apparatus for inputting character data, developing a pattern, and outputting the pattern, the storage means storing test data, and a test outputting a test pattern based on the test data stored in the storage means. A pattern output unit, a font cache unit that stores a character pattern that has been expanded when output by the test pattern output unit, and a character pattern that is stored in the font cache unit are used to expand the input character data. An image output device comprising: a pattern expanding unit; and an output unit outputting an image based on the character pattern expanded by the pattern expanding unit.
【請求項2】 前記パターン展開手段は、パターン展開
しようとする文字データに対応する文字パターンが前記
フォントキャッシュ手段に記憶されているか否かを判断
し、記憶されている文字パターンがあればそれを用いて
パターン展開すると共に、記憶されていない文字パター
ンを前記フォントキャッシュに追加することを特徴とす
る請求項1に記載の画像出力装置。
2. The pattern developing means judges whether or not a character pattern corresponding to the character data to be subjected to pattern development is stored in the font cache means, and if there is a stored character pattern, it is determined. The image output device according to claim 1, wherein the pattern is expanded by using the character pattern and an unstored character pattern is added to the font cache.
【請求項3】 前記テストパターン出力手段は、電源投
入後、実際の画像出力が行われる前にテストパターンを
出力することを特徴とする請求項1に記載の画像出力装
置。
3. The image output apparatus according to claim 1, wherein the test pattern output means outputs the test pattern after the power is turned on and before the actual image output is performed.
【請求項4】 前記パターン展開手段においてパターン
展開される文字データの使用頻度を計測する計測手段
と、前記計測手段によって計測された使用頻度に応じて
前記テストデータを更新する更新手段を更に有すること
を特徴とする請求項1に記載の画像出力装置。
4. The method further comprises: a measuring means for measuring the frequency of use of the character data pattern-developed by the pattern developing means; and an updating means for updating the test data according to the frequency of use measured by the measuring means. The image output device according to claim 1.
【請求項5】 文字データを入力しパターン展開して出
力する画像出力方法であって、 記憶されているテストデータに基づいてテストパターン
を出力する工程と、 テストパターンの出力時にパターン展開された文字パタ
ーンをメモリに記憶する工程と、 文字データのパターン展開時、当該文字データの文字パ
ターンが前記メモリに記憶されているか否かを判断する
工程と、 前記メモリに記憶されている時は、その文字パターンを
使用して、入力した文字データをパターン展開するとと
もに、前記メモリに記憶されていない文字パターンに該
当する文字データをフォントデータを参照してパターン
展開する工程と、 そのパターン展開された文字パターンに基づいて画像を
出力する工程と、を有することを特徴とする画像出力方
法。
5. An image output method for inputting character data, expanding a pattern, and outputting the pattern, the step of outputting the test pattern based on the stored test data, and the character expanded in the pattern when the test pattern is output. A step of storing the pattern in a memory; a step of determining whether or not a character pattern of the character data is stored in the memory when the pattern of the character data is developed; and a step of determining whether or not the character pattern of the character data is stored in the memory. Using the pattern to expand the input character data, and to expand the character data corresponding to the character pattern not stored in the memory by referring to the font data, and the expanded character pattern. And an image output step based on the above.
【請求項6】 前記テストパターンは、電源投入後、実
際の画像出力が行われる前に出力されることを特徴とす
る請求項5に記載の画像出力方法。
6. The image output method according to claim 5, wherein the test pattern is output after power is turned on and before actual image output is performed.
【請求項7】 パターン展開される文字データの使用頻
度を計測する工程と、その計測された使用頻度に応じて
前記テストデータを更新する工程とを更に有することを
特徴とする請求項5に記載の画像出力方法。
7. The method according to claim 5, further comprising a step of measuring a frequency of use of the character data to be subjected to pattern expansion, and a step of updating the test data according to the measured frequency of use. Image output method.
JP6167752A 1994-07-20 1994-07-20 Method and apparatus for outputting image Withdrawn JPH0825720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6167752A JPH0825720A (en) 1994-07-20 1994-07-20 Method and apparatus for outputting image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6167752A JPH0825720A (en) 1994-07-20 1994-07-20 Method and apparatus for outputting image

Publications (1)

Publication Number Publication Date
JPH0825720A true JPH0825720A (en) 1996-01-30

Family

ID=15855448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6167752A Withdrawn JPH0825720A (en) 1994-07-20 1994-07-20 Method and apparatus for outputting image

Country Status (1)

Country Link
JP (1) JPH0825720A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007020116A (en) * 2005-07-11 2007-01-25 Fuji Xerox Co Ltd Image forming system and fault discrimination method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007020116A (en) * 2005-07-11 2007-01-25 Fuji Xerox Co Ltd Image forming system and fault discrimination method

Similar Documents

Publication Publication Date Title
JP2871275B2 (en) Print control apparatus and emulation program selection method in the apparatus
USRE37691E1 (en) Output method
JPH04363268A (en) Page printer
JPH0825720A (en) Method and apparatus for outputting image
JP3049158B2 (en) Character processing device and character processing method of character processing device
JP3167775B2 (en) Image forming method and apparatus
JP3121103B2 (en) Character processing apparatus and method
JPH05270055A (en) Image recording method and device, and information processing method
JP2000079742A (en) Printing apparatus, print method, printing system and memory medium
JP2004164473A (en) Output control device
JPH09188006A (en) Output device
JP3359318B2 (en) Printing apparatus, print control method, and print control apparatus
JP2859976B2 (en) Printing equipment
JPH06183074A (en) Character processing device
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
JPH11305963A (en) Printer and its control method
JPH0811357A (en) Printer and data processing method thereof
JP2004164472A (en) Output control device
JPH0872331A (en) Output device and method
JPH09274545A (en) Printing controller, printing control method and storage medium storing control program
JPH11245454A (en) Print controller, data processing method therefor and memory medium storing computer readable program
JPH11353135A (en) Printer, printing method and storage medium
JP2005111994A (en) Printer, printing method, printing system and storage medium
JP2000305729A (en) Print controller and recording medium

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011002