JPH07125337A - Image recording apparatus - Google Patents

Image recording apparatus

Info

Publication number
JPH07125337A
JPH07125337A JP5278028A JP27802893A JPH07125337A JP H07125337 A JPH07125337 A JP H07125337A JP 5278028 A JP5278028 A JP 5278028A JP 27802893 A JP27802893 A JP 27802893A JP H07125337 A JPH07125337 A JP H07125337A
Authority
JP
Japan
Prior art keywords
data
dot pattern
pattern
predetermined
scalable
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.)
Granted
Application number
JP5278028A
Other languages
Japanese (ja)
Other versions
JP3122567B2 (en
Inventor
Miyuki Miyazaki
幸 宮崎
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 JP05278028A priority Critical patent/JP3122567B2/en
Publication of JPH07125337A publication Critical patent/JPH07125337A/en
Application granted granted Critical
Publication of JP3122567B2 publication Critical patent/JP3122567B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently perform the registration of a character and suppress the memory consumption low. CONSTITUTION:When a character pattern is sent to a receiving buffer 106 along with a command showing the execution of registration from a host computer 300, a CPU 101 judges whether the constitutional number of the dots of a sent dot pattern is equal to or more than a predetermined number. When the number of dots is judged to be equal to or greater than a specific number, it is estimated that the scalable data extracted from the dot pattern is good and, therefore, the dot pattern is eliminated and only the scalable data is stored in an RAM and also registered in a font table 103.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像記録装置、詳しくは
上位装置から送られてきた印刷データに基づく画像を所
定の記録媒体上に記録する画像記録装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording device, and more particularly to an image recording device for recording an image based on print data sent from a host device on a predetermined recording medium.

【0002】[0002]

【従来の技術】一般に、印刷装置には、上位装置(ホス
トコンピュータ)で作成させた外字パターンを登録する
ことが可能になっている。上位装置における操作者は、
表示画面に表示する外字パターンと印刷装置登録する外
字パターンの両方を作成し、それを上位装置及び印刷装
置に登録させる。
2. Description of the Related Art Generally, it is possible to register an external character pattern created by a host device (host computer) in a printing device. The operator in the host device is
Both an external character pattern to be displayed on the display screen and an external character pattern to be registered in the printing device are created and registered in the host device and the printing device.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな印刷装置に外字パターン等を登録する場合、上位装
置から印刷装置にダウンロードされるフォントの形式
は、ドットパターンが一般的である。
However, when an external character pattern or the like is registered in such a printing apparatus, a dot pattern is generally used as the font format downloaded from the host apparatus to the printing apparatus.

【0004】また、近年では、レーザビームプリンタに
代表されるように、記録解像度が高くなり、より高品位
な文字を印刷することが可能になった。このような装置
においては、文字フォントもドットフォントとして持つ
以外に、アウトラインフォント(或はスケーラブルフォ
ント)として持ち、このデータに基づいて文字パターン
を発生し印刷するようになってきている。
Further, in recent years, as represented by a laser beam printer, the recording resolution has increased and it has become possible to print higher quality characters. In such an apparatus, in addition to having a character font as a dot font, it has an outline font (or a scalable font), and a character pattern is generated and printed based on this data.

【0005】このようなアウトラインフォントを採用し
て印刷する装置に外字登録しようとする場合には、上位
装置における特別なアプリケーションプログラム(或は
OSの一部)を使用するしかなかった。しかしながら、
アウトラインフォントの作成にかかる作業では、文字パ
ターン情報の形式や付随情報のフォーマットが複雑すぎ
て、一般のユーザには難しい。
When an external character is to be registered in a printing device using such an outline font, there is no choice but to use a special application program (or a part of OS) in the host device. However,
In the work for creating the outline font, the format of the character pattern information and the format of the accompanying information are too complicated, and it is difficult for general users.

【0006】また、アウトラインフォントデータは、比
較的大きなサイズの文字(或は、縦横のドット数の大き
い文字)に対しては有効であるものの、小さいサイズの
文字についてはあまり良好なパターンを発生することが
できないことが知られている。従って、1つの文字パタ
ーンを発生するにしても、予め記憶されたドットパター
ンを採用したり、アウトラインデータを採用したりし
て、これらを適宜切り換えるようになっている。
Further, the outline font data is effective for a character having a relatively large size (or a character having a large number of vertical and horizontal dots), but generates a very good pattern for a character having a small size. It is known that you cannot do it. Therefore, even if one character pattern is generated, a previously stored dot pattern or outline data is used to switch these appropriately.

【0007】従って、このような印刷装置に外字を登録
する場合には、ドットパターンのフォントとアウトライ
ンデータのフォントの両方を登録することが必要にな
り、印刷装置が備えるメモリ領域を圧迫することにもな
る。
Therefore, when an external character is registered in such a printing apparatus, it is necessary to register both the dot pattern font and the outline data font, which puts pressure on the memory area of the printing apparatus. Also becomes.

【0008】[0008]

【課題を解決するための手段】本発明はかかる問題点に
鑑みなされたものであり、文字登録を効率良く行え、且
つ、メモリ消費量を低く抑えることを可能にする画像記
録装置を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide an image recording apparatus capable of efficiently performing character registration and suppressing memory consumption. To do.

【0009】この課題を解決するため、本発明の画像記
録装置は例えば以下に示す構成を備える。すなわち、文
字コードに対応するスケーラブルフォントデータとドッ
トパターンデータを記憶し、所定の上位装置から送出さ
れてきた印刷データ中に含まれる文字コードに対応する
パターンを前記スケーラブルフォントデータ或はドット
パターンデータに基づいて発生し、所定の記録媒体上に
記録する画像記録装置において、前記上位装置から所定
コマンドと共に送出されてきたドットパターンに基づい
てスケーラブルデータを抽出する抽出手段と、抽出した
スケーラブルデータを登録する第1の登録手段と、前記
上位装置から所定コマンドと共に送出されてきたドット
パターンで登録する第2の登録手段と、送出されてきた
ドットパターンのドット構成数が所定以上ある場合、前
記第2の登録手段を消勢し、前記第1の登録手段を付勢
する制御手段とを備える。
In order to solve this problem, the image recording apparatus of the present invention has, for example, the following configuration. That is, the scalable font data and the dot pattern data corresponding to the character code are stored, and the pattern corresponding to the character code included in the print data sent from a predetermined upper device is used as the scalable font data or the dot pattern data. In the image recording apparatus which is generated based on the above, and which is recorded on a predetermined recording medium, extraction means for extracting the scalable data based on the dot pattern sent from the host apparatus together with the predetermined command, and the extracted scalable data are registered. The first registration means, the second registration means for registering with the dot pattern sent together with the predetermined command from the higher-level device, and the second configuration when the number of dot configurations of the sent dot pattern is more than a predetermined number. Deactivate the registration means and activate the first registration means And a control means.

【0010】[0010]

【作用】かかる本発明の構成において、上位装置装置か
ら登録しようとして文字ドットパターンをダウンロード
した場合、そのドットパターンのサイズが所定サイズ以
上の場合には、良好なスケーラブルデータを抽出できる
と判断して、ドットパターンの登録は行わず、抽出した
スケーラブルデータを登録する。
In the configuration of the present invention, when a character dot pattern is downloaded for registration from a host device, and if the size of the dot pattern is equal to or larger than a predetermined size, it is determined that good scalable data can be extracted. , The dot pattern is not registered, and the extracted scalable data is registered.

【0011】[0011]

【実施例】以下、添付図面に従って本発明に係る実施例
を詳細を説明する。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0012】尚、実施例ではレーザビームプリンタに適
応させた例を説明するが、本発明がこれに限定されるも
のではないことは以下の説明から明らかになるであろ
う。
In the embodiment, an example applied to a laser beam printer will be described, but it will be apparent from the following description that the present invention is not limited to this.

【0013】<装置構成の説明(図1)>図1に実施例
における印刷装置の構成概略を示す。
<Description of Apparatus Configuration (FIG. 1)> FIG. 1 shows a schematic configuration of a printing apparatus in the embodiment.

【0014】図中、100が本実施例における印刷装置
であり、印刷結果200を形成するものである。300
は印刷データを出力してくるホストコンピュータであ
る。
In the figure, reference numeral 100 denotes a printing apparatus according to this embodiment, which forms a printing result 200. 300
Is a host computer that outputs print data.

【0015】印刷装置100内には、印刷装置全体を制
御し、後述する各種処理を実行する処理部としてのCP
U101をはじめ、以下に示す構成を備えている。
In the printing apparatus 100, a CP as a processing unit that controls the entire printing apparatus and executes various processes described later.
It has the following configuration including U101.

【0016】106はホストコンピュータからのデータ
を一旦格納する受信バッファ、102はアウトラインフ
ォントデータ及びドット形式のフォントデータを記憶し
ているフォントメモリ、103は内蔵されているフォン
トの属性、パターンへのポインタをテーブルとして持っ
ているフォントテーブル、104は受信データを格納す
るページバッファ、107はビットマップメモリ105
に展開されたイメージデータに基づいて実際に印刷処理
を行うプリンタエンジン部である。尚、CPU101に
は後述する図2のフローチャートをはじめとし、各種処
理手順(プログラム)を記憶しているROM、及びワー
クエリアとして使用されるRAMが備えられている。
Reference numeral 106 is a reception buffer for temporarily storing data from the host computer, 102 is a font memory for storing outline font data and dot format font data, 103 is a built-in font attribute, and a pointer to a pattern. A font table having a table, 104 is a page buffer for storing received data, and 107 is a bitmap memory 105.
This is a printer engine unit that actually performs a printing process based on the image data expanded in. The CPU 101 is provided with a ROM storing various processing procedures (programs), including a flowchart of FIG. 2 described later, and a RAM used as a work area.

【0017】図14を用いて、実施例のプリンタエンジ
ン部107の構造を説明する。
The structure of the printer engine unit 107 of the embodiment will be described with reference to FIG.

【0018】同図は、本実施例に適用される印刷装置の
内部構造を示す断面図で、不図示のデータ発生源(ホス
トコンピュータ等の上位装置)から文字パターンの登録
や定着書式(フォームデータ)などの登録が行える。
FIG. 1 is a cross-sectional view showing the internal structure of the printing apparatus applied to this embodiment. Registration of character patterns and fixing format (form data) from a data generation source (host apparatus such as host computer) not shown. ) Etc. can be registered.

【0019】同図において、印刷装置100は、外部に
接続されているホストコンピュータから供給される文字
情報(文字コード)やフォーム情報あるいはマクロ命令
などを入力して記憶するとともに、それらの情報に従っ
て対応する文字パターンやフォームパターンなどを作成
し、記録媒体である記録紙上に像を形成する。700は
操作のためのスイッチおよびLCD表示器などが配され
ている操作パネル、701は装置100全体に制御およ
びホストコンピュータから供給される文字情報などを解
析するプリンター制御ユニット(図1における符号10
1〜106の各ユニットを配置したプリント基板)であ
る。このプリンタ制御ユニット701は、主に文字情報
を対応する文字パターンをビデオ信号に変換してレーザ
ドライバ702に出力する。レーザドライバ702は半
導体レーザ703を駆動するための回路であり、入力さ
れたビデオ信号に応じて半導体レーザ703から発射さ
れるレーザ光704をオンオフ切り替えする。レーザ光
704は回転多面鏡705で左右方向に振られ静電ドラ
ム706上を走査露光する。これにより、静電ドラム7
06上には文字パターン等の静電潜像が形成される。こ
の潜像は、静電ドラム706周囲に配設された現像ユニ
ット707により現像された後、記録紙に転送される。
この記録紙にはカットシートを用い、カットシート記録
紙は装置100に装着した用紙カセット708に収納さ
れ、給紙ローラ709および配送ローラ710と711
とにより装置内に取り込まれて、静電ドラム706に供
給される。また、手差し口714から手差しで記録紙を
挿入した場合にも、静電ドラム706の位置まで供給さ
れる。
In the figure, the printing apparatus 100 inputs and stores character information (character code), form information, macro commands, etc. supplied from an externally connected host computer, and responds in accordance with these information. A character pattern, a form pattern, or the like is created, and an image is formed on a recording medium which is a recording medium. Reference numeral 700 denotes an operation panel on which switches for operation and an LCD display are arranged, and 701 denotes a printer control unit (reference numeral 10 in FIG. 1) for controlling the entire apparatus 100 and analyzing character information supplied from a host computer.
1 to 106) is a printed circuit board on which each unit is arranged. The printer control unit 701 mainly converts character information corresponding to character information into a video signal and outputs the video signal to the laser driver 702. The laser driver 702 is a circuit for driving the semiconductor laser 703, and switches on / off the laser light 704 emitted from the semiconductor laser 703 according to an input video signal. The laser light 704 is shaken in the left-right direction by the rotating polygon mirror 705 to scan and expose the electrostatic drum 706. As a result, the electrostatic drum 7
An electrostatic latent image such as a character pattern is formed on 06. The latent image is developed by the developing unit 707 arranged around the electrostatic drum 706, 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 708 mounted in the apparatus 100, and has a paper feed roller 709 and delivery rollers 710 and 711.
Is taken into the apparatus by and and supplied to the electrostatic drum 706. Further, even when the recording paper is manually inserted from the manual insertion port 714, it is supplied to the position of the electrostatic drum 706.

【0020】こうして、記録紙が静電ドラム706にま
で搬送されてくると、現像器707によって静電ドラム
706上に付着されたトナー像が、その記録紙に転写さ
れる。その後、記録紙は定着器712方向に搬送され、
トナーが定着され、最終的に排出ローラ713によって
外部に排出される。
In this way, when the recording paper is conveyed to the electrostatic drum 706, the toner image adhered on the electrostatic drum 706 by the developing device 707 is transferred to the recording paper. After that, the recording paper is conveyed toward the fixing device 712,
The toner is fixed and finally discharged to the outside by the discharge roller 713.

【0021】<登録文字パターン処理手順の説明(図2
〜図3)>次に、実施例における文字登録処理手順を図
2のフローチャートに従って説明する。
<Description of Registered Character Pattern Processing Procedure (FIG. 2
-FIG. 3)> Next, a character registration processing procedure in the embodiment will be described with reference to the flowchart of FIG.

【0022】先ず、ステップS1でホストコンピュータ
300から受信バッファ108を介して文字登録コマン
ドを受信する。次に付随されてきた情報(登録使用とす
る文字コードとドットパターン)を、予めクリアしたワ
ーク領域に格納する(ステップS2)。そして、ワーク
領域内のドットパターンからアウトラインデータを抽出
し、RAMの所定アドレス位置から順に格納する(ステ
ップS3)。このとき、ダウンロードしたドットパター
ンの大きさが予め設定されてる大きさ以上の場合には、
そのドットパターンの登録は行わず、アウトラインデー
タのみを登録するする(理由は後述する)。
First, in step S1, a character registration command is received from the host computer 300 via the reception buffer 108. Next, the accompanying information (the character code and the dot pattern to be used for registration) is stored in the work area cleared in advance (step S2). Then, the outline data is extracted from the dot pattern in the work area and sequentially stored from a predetermined address position in the RAM (step S3). At this time, if the size of the downloaded dot pattern is larger than the preset size,
The dot pattern is not registered, only the outline data is registered (the reason will be described later).

【0023】そして、ワーク領域内付随情報(文字コー
ド)を用いてフォントテーブル103に登録することに
より文字パターンの登録は終了する(ステップS4)。
フォントテーブル103には、登録された文字コードと
それに対応するアウトラインデータの存在場所を示すア
ドレスが書き込まれる。尚、通常の文字のアウトライン
データはフォンロメモリ102に格納されているので、
格納場所(フォントメモリかRAMか)を示す情報も書
き込む(但し、CPU101から見た場合のこれらのア
ドレス空間が異なる場合にはこれは不要である)。
Then, the registration of the character pattern is completed by registering in the font table 103 using the accompanying information (character code) in the work area (step S4).
In the font table 103, the registered character code and the address indicating the location of the outline data corresponding thereto are written. Since the outline data of normal characters is stored in the font memory 102,
Information indicating the storage location (font memory or RAM) is also written (however, this is not necessary if these address spaces are different when viewed from the CPU 101).

【0024】アウトラインに変換する方法については、
本実施例において特に言及しないが、プリンタで解析・
展開可能なフォーマット・情報で、公知の方法により、
ショートベクタ、2次(3次)Bスプライン、2次(3
次)ベジェ等の情報に変換する。
Regarding the method of converting into an outline,
Although not particularly mentioned in this embodiment, the printer analyzes /
It is a format and information that can be expanded by a known method.
Short vector, secondary (3rd) B-spline, secondary (3rd)
Next) Convert to information such as Bezier.

【0025】図3に実施例の印刷処理時における出力手
順のフローチャートを示す。
FIG. 3 shows a flow chart of an output procedure at the time of printing processing of the embodiment.

【0026】先ず、コマンドにより属性や名称を指定、
または、指定しない場合には、パネル又はデフォルトで
決められたフォントが選択される(ステップS11)。
そして、実際に印字する文字コードが指定され(ステッ
プS12)、一旦、ページバッファメモリ104に格納
される。そして、実際にビットマップメモリ105に画
像を形成する際、ユーザが登録したパターンを持つコー
ドが指定されていた場合(フォントテーブル103を参
照することで判断する)には、RAMから登録してある
アウトラインデータ或はドットパターンを取り出し(ス
テップS13,S14)、そうでない場合(登録文字パ
ターン以外の文字が指定されていた場合)には、フォン
トメモリ102からアウトラインデータ或はドットパタ
ーンを取り出す(ステップS13,S15)。そして、
ステップS16に進んで、先のステップS11で指定さ
れ、ページバッファ104に格納されている大きさでド
ットパターンに展開し、ビットマップメモリ105に出
力する(ステップS16)。
First, an attribute or name is designated by a command,
Alternatively, if not specified, a font determined by the panel or default is selected (step S11).
Then, the character code to be actually printed is designated (step S12) and temporarily stored in the page buffer memory 104. Then, when a code having a pattern registered by the user is specified when actually forming an image in the bitmap memory 105 (determined by referring to the font table 103), it is registered from the RAM. The outline data or the dot pattern is taken out (steps S13 and S14). If not (when a character other than the registered character pattern is designated), the outline data or the dot pattern is taken out from the font memory 102 (step S13). , S15). And
In step S16, the dot pattern is developed with the size specified in step S11 and stored in the page buffer 104, and the dot pattern is output to the bitmap memory 105 (step S16).

【0027】次に、実際の登録例を説明する。文字の登
録は、ホストコンピュータ上の専用のアプリケーション
(或はOSがサポートしている場合もある)を起動し、
実際に使われる大きさの文字を実際に使われる解像度の
ドットイメージでデザインし、所定の操作によってホス
トコンピュータ及びそれの下位装置であるプリンタに所
定の登録コマンドと付随情報を提供する。ホストコンピ
ュータ上の画面解像度とプリンタの解像度が異なる場合
には、登録しようとする文字のパターンを表示用、印刷
用それぞれを作成し、後者のパターンを印刷装置に転送
することで、両方が共通の文字を持つことになる。
Next, an actual registration example will be described. To register characters, start a dedicated application on the host computer (or OS may support it),
Characters of actual sizes are designed with dot images of actual resolution, and predetermined registration commands and associated information are provided to the host computer and its subordinate printer by a predetermined operation. If the screen resolution on the host computer and the printer's resolution are different, create a pattern for the character to be registered for display and a pattern for printing, and transfer the latter pattern to the printing device so that both patterns are the same. Will have letters.

【0028】ここで、注目する点は、近年のプリンタに
おいては、印刷する文字サイズは様々であり、これはユ
ーザが自由に設定できることである。従って、上記手法
で登録させた文字パターンを拡大或は縮小する指示コマ
ンドを受信した場合には、オリジナルパターンを単純に
拡大させるか(縦横2倍にする場合にはオリジナルパタ
ーンの1ドットを2×2ドット全てに対応させることに
なる)、間引きによるので、どうしても文字パターンの
ジャギー(ギザギザ)が目立ってしまうことになる。ま
た、ドットパターンをスムージングすることも考えられ
るが、一般のアウトラインフォントと比較して、どうし
ても品位は落ちる。
Here, the point to be noted is that in recent printers, the size of characters to be printed varies, and this can be freely set by the user. Therefore, when an instruction command for enlarging or reducing the character pattern registered by the above method is received, the original pattern is simply enlarged (or 1 × 2 × 1 dot of the original pattern is used to double the length and width). Since it corresponds to all 2 dots), the jaggies (jagged edges) of the character pattern are inevitably noticeable due to thinning. Also, smoothing the dot pattern can be considered, but the quality is inevitably lower than that of a general outline font.

【0029】また、本実施例の印刷装置の如く、文字パ
ターンをアウトラインデータに基づいて文字パターンを
発生する手法を取り入れた装置では、ダウンロードした
ドットパターンとそれによって抽出されたアウトライン
データの両方を無条件で登録させ、ホストコンピュータ
からの指示サイズが小さい場合には、ドットパターンを
使い、指示サイズが大きい場合にはアウトラインデータ
を使用した文字パターンを発生することも考えられる
が、これでは両方のデータを記憶させるための確保する
メモリ容は大きくなるので、好ましくない。
Further, in an apparatus such as the printing apparatus of the present embodiment, which adopts a method of generating a character pattern based on outline data, the downloaded dot pattern and the outline data extracted thereby are not used. It is possible to register under the conditions and use a dot pattern when the instruction size from the host computer is small, and to generate a character pattern that uses outline data when the instruction size is large. Is not preferable, because the memory capacity to be secured for storing is large.

【0030】以上の理由により、本実施例では、ダウン
ロードした文字のドットパターンの大きさn×mが予め
設定された大きさより大きい場合(登録しようとする文
字パターンが既に高品位であると認識できる程度の文字
の場合)には、ドットパターンの登録を行わず(ダウン
ロードしたドットパターンを消去するという意味)、抽
出したアウトラインデータのみを登録する。
For the above reason, in this embodiment, when the size n × m of the dot pattern of the downloaded character is larger than the preset size (the character pattern to be registered can be recognized as being of high quality). In the case of characters of a certain degree), the dot pattern is not registered (meaning that the downloaded dot pattern is erased), and only the extracted outline data is registered.

【0031】以上示した通り、本実施例によれば、出力
品位が高いユーザ登録文字を少ないメモリで管理するこ
とが可能になる。
As described above, according to this embodiment, it is possible to manage user-registered characters having high output quality with a small memory.

【0032】[第2の実施例の説明]上記実施例(第1
の実施例)では、あるサイズ以上のドットパターンをダ
ウンロードした場合には、そのドットパターンの登録を
行わず、抽出したアウトラインデータを登録したが、使
用するサイズそのもので登録を行なうことを要求するユ
ーザも考えられる。従って、登録するRAMの容量が許
す限り、ドットフォントも記憶する例を本第2の実施例
として説明する。
[Explanation of Second Embodiment] The above embodiment (first embodiment)
In the embodiment), when a dot pattern of a certain size or more is downloaded, the dot pattern is not registered and the extracted outline data is registered, but a user who requests registration with the size itself to be used. Can also be considered. Therefore, as long as the capacity of the registered RAM allows, an example in which dot fonts are also stored will be described as the second embodiment.

【0033】図4は、第2の実施例における文字パター
ンの登録処理を示すフローチャートである。尚、装置構
成は上記第1の実施例と同様であるものとする。
FIG. 4 is a flow chart showing a character pattern registration process in the second embodiment. The device configuration is the same as that of the first embodiment.

【0034】まず、ステップS21でホストコンピュー
タ300から受信バッファ108を介して文字登録コマ
ンドを受信する。次に付随情報を含めて登録パターンを
クリアしたワーク領域に格納する(ステップS22)。
次に、ワーク領域内ドットパターンをアウトラインに変
換しRAMに格納し(ステップS23)、ワーク領域内
付随情報を用いてフォントテーブル103に登録する
(ステップS24)。ここで空きRAM領域が所定量以
上の余裕がある場合には(ステップS25)、ワーク領
域に格納したドットのパターンをRAM領域に格納し
(ステップS26)、フォントテーブル103に登録す
る(ステップS27)。また、空きRAM領域がない場
合には、ドットフォントの登録は行なわない。
First, in step S21, a character registration command is received from the host computer 300 via the reception buffer 108. Next, the registration pattern including the accompanying information is stored in the cleared work area (step S22).
Next, the dot pattern in the work area is converted into an outline, stored in the RAM (step S23), and registered in the font table 103 using the accompanying information in the work area (step S24). If the free RAM area has a predetermined amount or more (step S25), the dot pattern stored in the work area is stored in the RAM area (step S26) and registered in the font table 103 (step S27). . If there is no free RAM area, the dot font is not registered.

【0035】図5に第2の実施例における印刷処理時の
出力処理手順のフローチャートを示す。
FIG. 5 shows a flow chart of an output processing procedure at the time of printing processing in the second embodiment.

【0036】まず、先に説明した第1の実施例と同様
に、コマンドにより属性や名称を指定し、または、指定
しない場合には、パネル又はデフォルトで決められたフ
ォントが選択され(ステップS31)、実際に印字する
文字コードが指定され(ステップS32)、一旦のペー
ジバッファメモリ104に格納される。そして、実際に
ビットマップメモリ105に画像を形成する際、まず
は、ドットパターンがあるかどうかをフォントテーブル
103を参照して確認し(ステップS33)、あればそ
のドットパターンを出力する(ステップS38)。
First, similarly to the first embodiment described above, when an attribute or name is designated by a command or is not designated, a panel or a font determined by default is selected (step S31). A character code to be actually printed is designated (step S32) and temporarily stored in the page buffer memory 104. Then, when actually forming an image in the bitmap memory 105, first, it is confirmed whether or not there is a dot pattern by referring to the font table 103 (step S33), and if there is, the dot pattern is output (step S38). .

【0037】また、なければユーザ登録パターンか内蔵
の文字パターンかを判定し(ステップS34)、ユーザ
が登録したパターンを持つコードが指定されていた場合
には、RAMに登録してあるパターンを取り出し(ステ
ップS35)、そうでない場合(登録文字パターン以外
の文字が指定されていた場合)には、ROMからパター
ンを取り出す(ステップS36)。そして、ステップS
31で指定され、ページバッファ104に格納されてい
る指示情報の大きさでドットパターンに展開し(ステッ
プS37)、ビットマップメモリに出力する(ステップ
S38)。
If not, it is determined whether the pattern is a user-registered pattern or a built-in character pattern (step S34). If a code having a pattern registered by the user is designated, the pattern registered in the RAM is taken out. (Step S35), otherwise (when a character other than the registered character pattern is designated), the pattern is taken out from the ROM (step S36). And step S
It is developed into a dot pattern with the size of the instruction information designated by 31 and stored in the page buffer 104 (step S37), and output to the bit map memory (step S38).

【0038】以上示した通り、従来のように小さなサイ
ズのパターンを送ってきた場合にも高速に印字可能な画
像形成装置が提供可能となる。なぜなら、小さいサイズ
の文字パターンをダウンロードした場合には、そのドッ
トパターンそのものが登録される確立が高いからであ
る。
As shown above, it becomes possible to provide an image forming apparatus capable of printing at high speed even when a pattern of a small size is sent as in the conventional case. This is because, when a small-sized character pattern is downloaded, it is highly likely that the dot pattern itself will be registered.

【0039】[第3の実施例の説明]第3の実施例で
は、ユーザがパターンを登録する際に、登録したドット
パターンをメインで使用するのか、それとも、登録した
ドットパターンはアウトラインに変換すれば、必要のな
いパターンなのかを、コマンドで指示する方法について
説明を行なう。
[Explanation of Third Embodiment] In the third embodiment, when the user registers a pattern, the registered dot pattern is mainly used, or the registered dot pattern is converted into an outline. For example, the method of instructing whether the pattern is unnecessary is explained.

【0040】図6は、第3の実施例における文字パター
ンの登録処理を示すフローチャートである。
FIG. 6 is a flow chart showing a character pattern registration process in the third embodiment.

【0041】先ず、ステップS41で、ホストコンピュ
ータ300から受信バッファ108を介して文字登録コ
マンドを受信する。この文字登録コマンドには、文字の
属性情報の他に、ドットパターン登録を行なうのかどう
かの1ビットのフラグも含まれている。次に付随情報を
含めて登録パターンをクリアしたワーク領域に格納する
(ステップS42)。そして、ワーク領域内ドットパタ
ーンをアウトラインに変換しRAMに格納し(ステップ
S43)、ワーク領域内付随情報を用いてフォントテー
ブル103に登録する(ステップS44)。ここで、ワ
ーク領域内付随情報の前記フラグの内容、すなわち、ド
ットパターンを記憶するかどうかを確認し(ステップS
45)、記憶するとなっていた場合には、空きRAM領
域があるかどうかを確認する(ステップS46)。ある
場合には、ワーク領域に格納したドットのパターンをR
AM領域に格納し(ステップS47)、フォントテーブ
ル103に登録する(ステップS48)。また、ドット
パターンの記憶が指示されていない場合や、空きRAM
領域がない場合には、ドットフォントの登録は行なわな
い。
First, in step S41, a character registration command is received from the host computer 300 via the reception buffer 108. In addition to the character attribute information, the character registration command also includes a 1-bit flag indicating whether or not to perform dot pattern registration. Next, the registration pattern including the accompanying information is stored in the cleared work area (step S42). Then, the dot pattern in the work area is converted into an outline, stored in the RAM (step S43), and registered in the font table 103 using the accompanying information in the work area (step S44). Here, it is confirmed whether the content of the flag of the accompanying information in the work area, that is, the dot pattern is stored (step S
45) If it is to be stored, it is confirmed whether or not there is a free RAM area (step S46). If there is a pattern of dots stored in the work area,
It is stored in the AM area (step S47) and registered in the font table 103 (step S48). In addition, if there is no instruction to store the dot pattern,
If there is no area, the dot font is not registered.

【0042】以上ドットパターンを記憶するかどうかの
フラグ1ビットで、説明を行なったが、これは、ドット
パターン登録(ドットパターンのみ登録)なのか、ドッ
ト・アウトライン登録(ドットパターンも残し、アウト
ラインデータも作成する)なのか、アウトライン登録
(アウトラインのみ登録)なのかを示す2ビットのフラ
グを用いることも可能である。
The explanation has been given above with a 1-bit flag indicating whether or not to store a dot pattern. This is either dot pattern registration (dot pattern registration only) or dot outline registration (dot pattern remains, outline data It is also possible to use a 2-bit flag indicating whether it is created) or outline registration (only outline is registered).

【0043】また、本第3の実施例における印刷時にお
ける文字の出力手順は、上記第2の実施例で説明したも
のと同様であるので、その説明は省略する。
Further, since the character output procedure at the time of printing in the third embodiment is the same as that described in the second embodiment, the description thereof will be omitted.

【0044】以上示した通り、ユーザがよりきめ細かい
指定を行なう手段を設けることにより、効率良く、メモ
リを使用することが可能となり、高速に印字可能な画像
形成装置が提供可能となる。
As described above, by providing the means for the user to make more detailed designations, the memory can be used efficiently and the image forming apparatus capable of high-speed printing can be provided.

【0045】[第4の実施例の説明]本第4の実施例で
は、ユーザがパターンを登録する際に、登録したドット
パターンのサイズと文字コードをチェックし、それらサ
イズとコードが、使用頻度の高いサイズ・コードであっ
た場合には、そのドットパターンが使用される確立が高
いと判断し、空きRAM領域がある間、ドットパターン
を記憶するという方法について説明を行なう。
[Explanation of Fourth Embodiment] In the fourth embodiment, when a user registers a pattern, the size and character code of the registered dot pattern are checked, and the size and code are checked for frequency of use. When the size code is high, it is determined that the probability that the dot pattern is used is high, and a method of storing the dot pattern while there is a free RAM area will be described.

【0046】図8は、第4の実施例における文字パター
ンの登録処理を示すフローチャートである。
FIG. 8 is a flow chart showing a character pattern registration process in the fourth embodiment.

【0047】まず、ステップS51でホストコンピュー
タ300から受信バッファ108を介して文字登録コマ
ンドを受信する。次に付随情報を含めて登録パターンを
クリアしたワーク領域に格納する(ステップS52)。
そして、ワーク領域内ドットパターンをアウトラインに
変換しRAMに格納し(ステップS53)、ワーク領域
内付随情報を用いてフォントテーブル103に登録する
(ステップS54)。ここでワーク領域内付随情報文字
サイズを確認し(ステップS55)、文字サイズが8ポ
イント又は10ポイントであった場合には、再びワーク
領域内付随情報文字コードを確認する(ステップS5
6)。文字コードが2バイトJISコード第1水準のコ
ードであった場合には、空きRAM領域があるかどうか
を確認する(ステップS57)。ある場合には、ワーク
領域に格納したドットのパターンをRAM領域に格納し
(ステップS58)、フォントテーブル103に登録す
る(ステップS59)。
First, in step S51, a character registration command is received from the host computer 300 via the reception buffer 108. Next, it is stored in the work area in which the registered pattern including the accompanying information is cleared (step S52).
Then, the dot pattern in the work area is converted into an outline, stored in the RAM (step S53), and registered in the font table 103 using the accompanying information in the work area (step S54). Here, the accompanying information character size in the work area is checked (step S55), and when the character size is 8 points or 10 points, the accompanying information character code in the work area is checked again (step S5).
6). If the character code is a 2-byte JIS code first level code, it is confirmed whether or not there is a free RAM area (step S57). If there is, the dot pattern stored in the work area is stored in the RAM area (step S58) and registered in the font table 103 (step S59).

【0048】従って、文字サイズやコードが使用頻度の
高いものでない場合や、空きRAM領域がない場合に
は、ドットフォントの登録は行なわないことになる。
Therefore, if the character size and the code are not frequently used or if there is no free RAM area, the dot font is not registered.

【0049】以上説明した様に、使用頻度の高い文字サ
イズを8ポイント又は10ポイントで、説明を行なった
が、これは、範囲を指定するように構成しても良いし、
プリンタ内部で統計をとるような手段を持って、使用頻
度の高いサイズをプリンタ如に求めるよう構成すること
も可能である。また、使用頻度の高い文字コードとし
て、2バイトJISコード第1水準を用いたが、その他
の漢字コード体系にも対応可能であることはもちろんで
ある。さらに、第1水準内でも優先順位を持つことや、
サイズによる、コードの優先順位など、一層、カスタマ
イズすることも可能である。
As described above, the description has been made with the frequently used character size being 8 points or 10 points, but this may be configured to specify the range.
It is also possible to have a means for collecting statistics inside the printer, and to configure the printer to obtain a frequently used size. Further, although the 2-byte JIS code first level is used as the frequently used character code, it is needless to say that it can also be applied to other Kanji code systems. Furthermore, having priority within the first level,
It is possible to further customize the priority of the code depending on the size.

【0050】尚、本第4の実施例における印刷時の出力
手順は、第2の実施例と同様であるので、その説明は省
略する。
Since the output procedure at the time of printing in the fourth embodiment is the same as that in the second embodiment, its explanation is omitted.

【0051】以上示した通り、プリンタ内で自動的に登
録されたドットパターンの優先順位を判定し、記憶する
ことにより、ユーザの手は煩わさず、効率良く、メモリ
を使用することが可能となり、高速に印字可能な画像形
成装置が提供可能となる。
As described above, by determining and storing the priority order of the dot patterns automatically registered in the printer, it becomes possible to use the memory efficiently without the user's hand. An image forming apparatus capable of printing at high speed can be provided.

【0052】尚、本第4の実施例では文字サイズが所定
範囲内にあり(条件1)、且つ、文字の使用頻度が高く
(条件2)、RAMに余裕がある場合(条件3)に、ド
ットパターンを登録したが、必ずしもこの3つの条件を
満足するときのみ登録しなくても良い。例えば条件1、
3が満足する場合や、条件2、3が満足する場合であっ
ても良い。 [第5の実施例の説明]本第5の実施例では、優先順位
の高いドットのパターンを空きRAMに格納できるよ
う、登録レベルを用いてドットパターンを管理する方法
について説明を行なう。
In the fourth embodiment, when the character size is within the predetermined range (condition 1), the frequency of character use is high (condition 2), and the RAM has a margin (condition 3), Although the dot pattern is registered, it is not always necessary to register it only when these three conditions are satisfied. For example, condition 1,
3 may be satisfied, or conditions 2 and 3 may be satisfied. [Explanation of the Fifth Embodiment] In the fifth embodiment, a method of managing the dot pattern by using the registration level will be explained so that the dot pattern having a high priority can be stored in the empty RAM.

【0053】図8は、第5の実施例における文字パター
ンの登録処理を示すフローチャートである。
FIG. 8 is a flow chart showing a character pattern registration process in the fifth embodiment.

【0054】先ず、ステップS61で、ホストコンピュ
ータ300から受信バッファ108を介して文字登録コ
マンドを受信する。次に付随情報を含めて登録パターン
を、クリアしたワーク領域に格納する(ステップS6
2)。そして、ワーク領域内ドットパターンをアウトラ
インに変換しRAMに格納し(ステップS63)、ワー
ク領域内付随情報を用いてフォントテーブル103に登
録する(ステップS64)。ここで空きRAM領域があ
るかどうを確認し(ステップS65)、ある場合には、
ワーク領域に格納したドットパターンをRAM領域に格
納(ステップS68)し、フォントテーブル103に登
録する(ステップS69)。
First, in step S61, a character registration command is received from the host computer 300 via the reception buffer 108. Next, the registered pattern including the accompanying information is stored in the cleared work area (step S6).
2). Then, the dot pattern in the work area is converted into an outline, stored in the RAM (step S63), and registered in the font table 103 using the accompanying information in the work area (step S64). Here, it is confirmed whether or not there is a free RAM area (step S65).
The dot pattern stored in the work area is stored in the RAM area (step S68) and registered in the font table 103 (step S69).

【0055】また、ステップS65の判定で、空きRA
M領域がないと判断した場合には、RAM内に既に登録
されているドットフォントを検索し、優先順位の低いも
のから削除していく(ステップS66)。削除の仕方と
しては、登録レベルを持ち、ユーザがドットを記憶する
よう指示したものについてはレベル0、サイズが8ポイ
ント又は10ポイントで2バイトJISコード第1水準
の文字についてはレベル1、それ以外の7から12ポイ
ントはレベル2、レベル4が50ポイント以上で、それ
以外がレベル3として今現在登録しようとしている文字
のレベルを判定し(ステップS67)、それ以下のレベ
ルの文字で現在ページで使用されていないものがあれば
削除する。そして、現在登録しようとしているドットパ
ターンをRAMに格納(ステップS68)し、フォント
テーブル103に登録(ステップS69)して終了す
る。
Further, in the determination of step S65, the free RA
If it is determined that there is no M area, dot fonts that have already been registered in the RAM are searched, and those with the lowest priority are deleted (step S66). The deletion method is as follows: Level 0 if the user has a registration level and the user has instructed to store dots, level 1 for a character of the 2-byte JIS code first level with a size of 8 points or 10 points, and other than that. 7 to 12 points is level 2 and level 4 is 50 points or more, and the others are level 3 and the level of the character which is currently being registered is determined (step S67), and the character of lower level is used on the current page. Delete any that are not used. Then, the dot pattern to be registered at present is stored in the RAM (step S68), registered in the font table 103 (step S69), and the process ends.

【0056】尚、本第5の実施例における印刷時におけ
る出力手順は、第2の実施例と同様であるので、その説
明は省略する。
Since the output procedure at the time of printing in the fifth embodiment is the same as that in the second embodiment, its explanation is omitted.

【0057】以上示した通り、プリンタ内で自動的に登
録されたドットパターンの優先順位を判定し、空きRA
Mを管理、有効利用することにより、ユーザの手は煩わ
さず、効率良く、メモリを使用することが可能となり、
高速に印字可能な画像形成装置が提供可能となる。
As shown above, the priority order of dot patterns automatically registered in the printer is determined, and the empty RA
By managing and effectively using M, it is possible to use the memory efficiently without the user's hand.
An image forming apparatus capable of printing at high speed can be provided.

【0058】[第6の実施例の説明]以下、添付図面に
従って本発明に係る第6の実施例を詳細に説明する。
[Description of Sixth Embodiment] The sixth embodiment according to the present invention will be described in detail below with reference to the accompanying drawings.

【0059】<装置構成の説明(図9)>図9に本実施
例における印刷装置の構成概略を示す。上述した第1〜
第5の実施例の装置構成と異なるのは、フォントキャッ
シュメモリ108を備えた点である。その他の構成につ
いては、上述した実施例と同じものとし説明は省略す
る。
<Description of Device Configuration (FIG. 9)> FIG. 9 shows a schematic configuration of the printing device in this embodiment. First to the above
The difference from the device configuration of the fifth embodiment is that the font cache memory 108 is provided. Other configurations are the same as those in the above-described embodiment, and description thereof will be omitted.

【0060】ここで、本第6の実施例におけるフォント
キャッシュメモリ108は、一旦展開したアウトライン
フォントを一時記憶し、複数回出力する際には、高速に
出来るようにドットパターンを記憶・管理しているもの
である。
Here, the font cache memory 108 in the sixth embodiment temporarily stores the developed outline font, and stores and manages the dot pattern so that it can be executed at high speed when outputting a plurality of times. There is something.

【0061】<登録文字パターン処理手順の説明(図1
0、図11)>図10は、本第6の実施例における文字
パターンの登録処理手順を示すフローチャートである。
<Description of Registered Character Pattern Processing Procedure (FIG. 1
0, FIG. 11)> FIG. 10 is a flow chart showing a character pattern registration processing procedure in the sixth embodiment.

【0062】まず、ステップS71でホストコンピュー
タ300から受信バッファ108を介して文字登録コマ
ンドを受信する。次に付随情報を含めて登録パターン
を、クリアしたワーク領域に格納する(ステップS7
2)。そして、ワーク領域内ドットパターンをアウトラ
インに変換しRAMに格納し(ステップS73)、ワー
ク領域内付随情報を用いて103フォントテーブルに登
録することにより文字パターンの登録は終了する(ステ
ップS74)。
First, in step S71, a character registration command is received from the host computer 300 via the reception buffer 108. Next, the registered pattern including the accompanying information is stored in the cleared work area (step S7).
2). Then, the dot pattern in the work area is converted into an outline, stored in the RAM (step S73), and registered in the 103 font table using the accompanying information in the work area to complete the registration of the character pattern (step S74).

【0063】その後、ステップS75に進み、通常文字
の印字の手順に従い、フォントキャッシュメモリ106
にドットパターンを登録する。この際、キャッシュメモ
リ内に空き領域があれば、すぐに登録されるが、空き領
域がない場合にはキャッシュメモリ内管理レベルに従い
レベルの低いものが削除される。よって、登録される文
字は、印字されている文字と同様に扱われ、使用頻度の
高い文字についてのみフォントキャッシュメモリ内に格
納されていく。
Thereafter, the process proceeds to step S75, and the font cache memory 106 is followed in accordance with the procedure for printing the normal characters.
Register the dot pattern to. At this time, if there is a free area in the cache memory, it is registered immediately, but if there is no free area, the one with a low level is deleted according to the management level in the cache memory. Therefore, the registered characters are treated in the same manner as the printed characters, and only the frequently used characters are stored in the font cache memory.

【0064】図11は、本第6の実施例における印刷時
の出力手順を示すフローチャートである。尚、フォント
キャッシュメモリ108は固定領域を使用して構わない
が、空きRAMを有効活用することにより、より良い効
果が生まれる。また、実際に印字されている文字と登録
された文字のキャッシュ内管理レベルを細かく規定する
ことにより、より効果的なフォントキャッシュが可能と
なる。
FIG. 11 is a flow chart showing the output procedure at the time of printing in the sixth embodiment. The font cache memory 108 may use a fixed area, but better utilization is achieved by effectively utilizing the free RAM. Further, by finely defining the cache management level of the characters actually printed and the registered characters, a more effective font cache can be realized.

【0065】先ず、コマンドにより属性や名称を指定、
または、指定しない場合には、パネル又はデフォルトで
決められたフォントが選択され(ステップS81)、実
際に印字する文字コードが指定され(ステップS8
2)、一旦104のページバッファメモリに格納され
る。
First, an attribute or name is designated by a command,
Alternatively, if not specified, the font determined by the panel or the default is selected (step S81), and the character code to be actually printed is specified (step S8).
2), temporarily stored in 104 page buffer memory.

【0066】そして、実際にビットマップメモリ105
に画像を形成する際、まずはフォントキャッシュ管理テ
ーブル(不図示)を検索し(ステップS83)、格納さ
れていれば、キャッシュ内のドットパターンを出力する
(ステップS89)。また、キャッシュされていないと
判断した場合には、フォントテーブル103を検索し
(ステップS84)、ドットフォントとして登録されて
いるかどうかを判断する。ドットフォントとして格納さ
れていると判断した場合には、ステップS89に処理を
進める。
Then, the bitmap memory 105 is actually
When an image is formed on the sheet, first, a font cache management table (not shown) is searched (step S83), and if stored, the dot pattern in the cache is output (step S89). If it is determined that the font is not cached, the font table 103 is searched (step S84) to determine whether the font is registered as a dot font. If it is determined that it is stored as a dot font, the process proceeds to step S89.

【0067】また、アウトラインとして登録されている
場合には、ユーザ登録文字かどうかを判定し(ステップ
S85)、ユーザ登録文字であればRAMから、内蔵文
字であればROMから、データを取り出し(ステップS
86,S87)、ページバッファ104に格納されてい
る大きさでドットパターンに展開し(ステップS8
8)、そのドットパターンをビットマップメモリに出力
する。
If it is registered as an outline, it is determined whether the character is a user-registered character (step S85). If the character is a user-registered character, the data is taken out from the RAM, and if it is a built-in character, the data is taken out from the ROM (step S
86, S87), and develops into a dot pattern with the size stored in the page buffer 104 (step S8).
8) The dot pattern is output to the bitmap memory.

【0068】以上示した通り、本第6の実施例により登
録文字のドットパターンとして特別な処理を用いて管理
するのではなく、フォントキャッシュメモリに登録・管
理することにより、効率の良いメモリ管理、文字出力が
可能となり、より高速な画像形成装置の提供が可能とな
る。
As described above, according to the sixth embodiment, it is possible to perform efficient memory management by registering and managing in the font cache memory instead of managing the dot pattern of registered characters by using special processing. It is possible to output characters, and it is possible to provide a faster image forming apparatus.

【0069】[第7の実施例の説明]本第7の実施例に
おいては、ユーザがパターンを登録する際に、登録した
ドットパターンの情報から、アウトライン化した際の容
量を概算し、そのサイズがドットのパターンの容量とく
らべ大きくなる場合には、アウトラインに変換しないよ
うにするものである。
[Explanation of Seventh Embodiment] In the seventh embodiment, when a user registers a pattern, the outline capacity is roughly estimated from the registered dot pattern information, and its size is calculated. Is larger than the capacity of the dot pattern, it is not converted into an outline.

【0070】尚、装置構成としては、第6の実施例の構
成を採用するものとする。
As the device configuration, the configuration of the sixth embodiment is adopted.

【0071】図12は、第7の実施例における文字パタ
ーンの登録処理を示すフローチャートである。
FIG. 12 is a flow chart showing a character pattern registration process in the seventh embodiment.

【0072】まず、ステップS91でホストコンピュー
タ300から受信バッファ108を介して文字登録コマ
ンドを受信する。次に付随情報を含めて登録パターン
を、クリアしたワーク領域に格納する(ステップS9
2)。そして、格納された情報に基づき、アウトライン
に変換した際の容量を概算する(ステップS93)。そ
して、ドットパターンのサイズと計算されたアウトライ
ンデータの量を比較し(ステップS94)、アウトライ
ンの容量の方が小さい場合には、アウトラインに変換し
(ステップS95)、フォントテーブル103に登録
(ステップS96)する。また、ドットパターンの容量
が小さい場合には、ワーク内に格納したパターンをRA
M内に格納し(ステップS97)、フォントテーブル1
03に登録する(ステップS98)。
First, in step S91, a character registration command is received from the host computer 300 via the reception buffer 108. Next, the registered pattern including the accompanying information is stored in the cleared work area (step S9).
2). Then, based on the stored information, the capacity when converted into the outline is roughly estimated (step S93). Then, the size of the dot pattern is compared with the calculated amount of outline data (step S94), and if the outline capacity is smaller, it is converted to an outline (step S95) and registered in the font table 103 (step S96). ) Do. When the dot pattern capacity is small, the pattern stored in the work is RA
Stored in M (step S97), font table 1
03 (step S98).

【0073】アウトラインに変換する際の容量の概算
は、計算するまでもなく、ドットパターンのサイズによ
って判定する等の簡略化もある。また、実際にアウトラ
インデータを抽出してみてもよい。
There is no need for calculation to roughly estimate the capacity when converting to an outline, and there is also simplification such as determination based on the size of the dot pattern. Alternatively, the outline data may be actually extracted.

【0074】次に、第7の実施例における印刷時の出力
手順を図13のフローチャートに従って説明する。
Next, the output procedure at the time of printing in the seventh embodiment will be described with reference to the flowchart of FIG.

【0075】まず、コマンドにより属性や名称を指定、
または、指定しない場合には、パネル又はデフォルトで
決められたフォントが選択さる(ステップS101)。
次に、実際に印字する文字コードが指定され(ステップ
S102)、一旦、ページバッファメモリ104に格納
される。そして、実際にビットマップメモリ105に画
像を形成する際、まずはフォントキャッシュ管理テーブ
ル(不図示)を検索する(ステップS103)。格納さ
れていれば、ドットパターンを出力する(ステップS1
09)。
First, an attribute or name is designated by a command,
Alternatively, if no designation is made, the panel or default font is selected (step S101).
Next, the character code to be actually printed is designated (step S102) and temporarily stored in the page buffer memory 104. Then, when actually forming an image in the bitmap memory 105, first, a font cache management table (not shown) is searched (step S103). If it is stored, the dot pattern is output (step S1).
09).

【0076】また、キャッシュ存在しないと判断した場
合には、ステップS104に進んで、フォントテーブル
103を検索してドットパターンとして登録されている
かどうかを判断する。ドットパターンとして登録されて
いると判断した場合には、ステップS109の処理を行
う。
If it is determined that the cache does not exist, the process proceeds to step S104 to search the font table 103 to determine whether or not it is registered as a dot pattern. If it is determined that the dot pattern is registered, the process of step S109 is performed.

【0077】そして、ドットパターンとしての登録もさ
れていないと判断した場合には、ステップS105に進
んで、アウトラインとして登録されているかどうかを判
断する。このとき、アウトラインとして登録されている
ものには、ユーザ登録文字(RAMに登録されている)
と内蔵文字(ROM)がある。
If it is determined that the dot pattern is not registered, the process advances to step S105 to determine whether the dot pattern is registered as an outline. At this time, the characters registered as outlines are registered by the user (registered in RAM).
There is a built-in character (ROM).

【0078】さて、該当するアウトラインが存在すると
判断した場合には、ステップS106に進んで、RAM
或はROMからアウトラインデータを取り出す。一方、
該当するアウトラインデータがいずれにも存在しないと
判断した場合には、ステップS107に進んで、異なる
サイズのドットフォントを探し、そのドットフォントか
らアウトラインデータを抽出する。いじれにしても、ア
ウトラインの取り出しが済むと、ステップS108に進
んで、そのアウトラインデータに基づいてパターン展開
し、ステップS109のパターン出力を行う。
If it is determined that the corresponding outline exists, the process proceeds to step S106 and the RAM
Alternatively, the outline data is retrieved from the ROM. on the other hand,
If it is determined that there is no corresponding outline data, the process proceeds to step S107, a dot font of a different size is searched for, and the outline data is extracted from the dot font. Even if it is tampered with, if the outline is taken out, the process proceeds to step S108, the pattern is developed based on the outline data, and the pattern output in step S109 is performed.

【0079】以上示した通り、プリンタ内には、ドット
パターンもしくはアウトラインパターンのどちらか一方
を記憶しておくことにより、メモリを効率良く使用する
ことが可能となり、高速に印字可能な画像形成装置が提
供可能となる。
As described above, by storing either the dot pattern or the outline pattern in the printer, the memory can be used efficiently and an image forming apparatus capable of high-speed printing can be provided. Can be provided.

【0080】尚、実施例は、レーザビームプリンタを例
にして説明したが、これに限らず他の方式のプリンタ、
例えばインクジェットやドットインパクト、熱転写方式
等のプリンタでも構わない。要は、文字フォントをアウ
トライン等のスケーラブルデータとして記憶するプリン
タであれば良いからである。
Although the embodiment has been described by taking the laser beam printer as an example, the present invention is not limited to this, and printers of other systems,
For example, an inkjet printer, a dot impact printer, a thermal transfer printer, or the like may be used. The point is that any printer can store a character font as scalable data such as an outline.

【0081】[0081]

【発明の効果】以上説明した様に本発明によれば、文字
登録を効率良く行え、且つ、メモリ消費量を低く抑える
ことが可能になる。
As described above, according to the present invention, it is possible to perform character registration efficiently and suppress the memory consumption to a low level.

【0082】[0082]

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

【図1】第1の実施例における印刷装置のブロック構成
図である。
FIG. 1 is a block configuration diagram of a printing apparatus according to a first embodiment.

【図2】第1の実施例における文字登録処理手順を示す
フローチャートである。
FIG. 2 is a flowchart showing a character registration processing procedure in the first embodiment.

【図3】第1の実施例における文字パターン出力処理の
手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure of character pattern output processing in the first embodiment.

【図4】第2の実施例における文字登録処理手順を示す
フローチャートである。
FIG. 4 is a flowchart showing a character registration processing procedure in the second embodiment.

【図5】第2の実施例における文字パターン出力処理の
手順を示すフローチャートである。
FIG. 5 is a flowchart showing a procedure of character pattern output processing in the second embodiment.

【図6】第3の実施例における文字登録処理手順を示す
フローチャートである。
FIG. 6 is a flowchart showing a character registration processing procedure in the third embodiment.

【図7】第4の実施例における文字登録処理手順を示す
フローチャートである。
FIG. 7 is a flowchart showing a character registration processing procedure in the fourth embodiment.

【図8】第5の実施例における文字登録処理手順を示す
フローチャートである。
FIG. 8 is a flowchart showing a character registration processing procedure in the fifth embodiment.

【図9】第6の実施例における印刷装置のブロック構成
図である。
FIG. 9 is a block configuration diagram of a printing apparatus according to a sixth embodiment.

【図10】第6の実施例における文字登録処理手順を示
すフローチャートである。
FIG. 10 is a flowchart showing a character registration processing procedure in the sixth embodiment.

【図11】第6の実施例における文字パターン出力処理
の手順を示すフローチャートである。
FIG. 11 is a flowchart showing a procedure of character pattern output processing in the sixth embodiment.

【図12】第7の実施例における文字登録処理手順を示
すフローチャートである。
FIG. 12 is a flowchart showing a character registration processing procedure in the seventh embodiment.

【図13】第7の実施例における文字パターン出力処理
の手順を示すフローチャートである。
FIG. 13 is a flowchart showing a procedure of character pattern output processing in the seventh embodiment.

【図14】実施例が適応する印刷装置の構造断面図であ
る。
FIG. 14 is a structural cross-sectional view of a printing apparatus to which the embodiment is applied.

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

101 CPU 102 フォントメモリ 103 フォントテーブル 104 ページバッファメモリ 105 ビットマップメモリ 106 受信バッファ 107 プリンタエンジン部 101 CPU 102 Font Memory 103 Font Table 104 Page Buffer Memory 105 Bitmap Memory 106 Receive Buffer 107 Printer Engine Section

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 文字コードに対応するスケーラブルフォ
ントデータとドットパターンデータを記憶し、所定の上
位装置から送出されてきた印刷データ中に含まれる文字
コードに対応するパターンを前記スケーラブルフォント
データ或はドットパターンデータに基づいて発生し、所
定の記録媒体上に記録する画像記録装置において、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータを登録する第1の登録手段
と、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンで登録する第2の登録手段と、 送出されてきたドットパターンのドット構成数が所定以
上ある場合、前記第2の登録手段を消勢し、前記第1の
登録手段を付勢する制御手段とを備えることを特徴とす
る画像記録装置。
1. Scalable font data and dot pattern data corresponding to a character code are stored, and a pattern corresponding to a character code included in print data sent from a predetermined upper device is used as the scalable font data or dots. In the image recording device which is generated based on the pattern data and records on the predetermined recording medium, the extracting means for extracting the scalable data based on the dot pattern sent from the upper device together with the predetermined command, and the extracted scalable data. A second registration means for registering the dot pattern transmitted from the host device together with a predetermined command, and a second registration means for registering the dot pattern transmitted from the host device, if the number of dots formed in the transmitted dot pattern is greater than or equal to a predetermined number, Deactivate the second registration means and attach the first registration means. Further comprising a control means for an image recording apparatus characterized.
【請求項2】 文字コードに対応するスケーラブルフォ
ントデータとドットパターンデータを記憶し、所定の上
位装置から送出されてきた印刷データ中に含まれる文字
コードに対応するパターンを前記スケーラブルフォント
データ或はドットパターンデータに基づいて発生し、所
定の記録媒体上に記録する画像記録装置において、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータを登録する第1の登録手段
と、 所定コマンドと共に送出されてきたドットパターンを登
録する第2の登録手段と、 登録対象の記録領域の残り量が少ない場合、前記第2の
登録手段を消勢する手段とを備えることを特徴とする画
像記録装置。
2. The scalable font data or dot pattern data corresponding to a character code is stored, and the pattern corresponding to the character code included in the print data sent from a predetermined upper device is used as the scalable font data or the dot. In the image recording device which is generated based on the pattern data and records on the predetermined recording medium, the extracting means for extracting the scalable data based on the dot pattern sent from the upper device together with the predetermined command, and the extracted scalable data. Registering the dot pattern sent together with the predetermined command, and deactivating the second registering means when the remaining amount of the recording area to be registered is small. An image recording apparatus comprising:
【請求項3】 文字コードに対応するスケーラブルフォ
ントデータとドットパターンデータを記憶し、所定の上
位装置から送出されてきた印刷データ中に含まれる文字
コードに対応するパターンを前記スケーラブルフォント
データ或はドットパターンデータに基づいて発生し、所
定の記録媒体上に記録する画像記録装置において、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータを登録する第1の登録手段
と、 前記所定コマンドにドットパターンの登録要望指示であ
り、登録対象の記録領域の残り量が所定以上ある場合
に、当該ドットパターンを文字パターンとして登録する
第2の登録手段とを備えることを特徴とする画像記録装
置。
3. A scalable font data or dot pattern data corresponding to a character code is stored, and a pattern corresponding to a character code included in print data sent from a predetermined upper device is used as the scalable font data or the dot. In the image recording device which is generated based on the pattern data and records on the predetermined recording medium, the extracting means for extracting the scalable data based on the dot pattern sent from the upper device together with the predetermined command, and the extracted scalable data. A second registration unit for registering the dot pattern as a character pattern when the predetermined command is a dot pattern registration request instruction, and the remaining amount of the recording area to be registered is equal to or more than a predetermined amount. An image recording apparatus comprising: a registration unit.
【請求項4】 文字コードに対応するスケーラブルフォ
ントデータとドットパターンデータを記憶し、所定の上
位装置から送出されてきた印刷データ中に含まれる文字
コードに対応するパターンを前記スケーラブルフォント
データ或はドットパターンデータに基づいて発生し、所
定の記録媒体上に記録する画像記録装置において、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータを登録する第1の登録手段
と、 前記所定コマンドと共に送出されてきたドットパターン
が、所定サイズ範囲のドットパターンであり、登録対象
の記録領域の残り量が所定以上ある場合に、当該ドット
パターンを文字パターンとして登録する第2の登録手段
とを備えることを特徴とする画像記録装置。
4. The scalable font data or dot pattern data corresponding to a character code is stored, and the pattern corresponding to the character code included in the print data sent from a predetermined upper device is used as the scalable font data or the dot. In the image recording device which is generated based on the pattern data and records on the predetermined recording medium, the extracting means for extracting the scalable data based on the dot pattern sent from the upper device together with the predetermined command, and the extracted scalable data. When the dot pattern transmitted together with the predetermined command is a dot pattern in a predetermined size range and the remaining amount of the recording area to be registered is equal to or more than a predetermined value, the dot pattern is registered. The second registration means for registering as a character pattern An image recording apparatus comprising:
【請求項5】 文字コードに対応するスケーラブルフォ
ントデータとドットパターンデータを記憶し、所定の上
位装置から送出されてきた印刷データ中に含まれる文字
コードに対応するパターンを前記スケーラブルフォント
データ或はドットパターンデータに基づいて発生し、所
定の記録媒体上に記録する画像記録装置において、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータを登録する第1の登録手段
と、 前記所定コマンドと共に送出されれきたドットパターン
が、使用頻度の高い文字であり、登録対象の記録領域の
残り量が所定以上ある場合に、当該ドットパターンを文
字パターンとして登録する第2の登録手段と、 を備えることを特徴とする画像記録装置。
5. A scalable font data or dot pattern data corresponding to a character code is stored, and a pattern corresponding to a character code included in print data sent from a predetermined upper device is used as the scalable font data or the dot. In the image recording device which is generated based on the pattern data and records on the predetermined recording medium, the extracting means for extracting the scalable data based on the dot pattern sent from the upper device together with the predetermined command, and the extracted scalable data. And a dot pattern sent together with the predetermined command is a frequently used character, and when the remaining amount of the recording area to be registered is equal to or more than a predetermined amount, the dot pattern is changed to a character. A second registration means for registering as a pattern, and The image recording apparatus according to claim.
【請求項6】 文字コードに対応するスケーラブルフォ
ントデータとドットパターンデータを記憶し、所定の上
位装置から送出されてきた印刷データ中に含まれる文字
コードに対応するパターンを前記スケーラブルフォント
データ或はドットパターンデータに基づいて発生し、所
定の記録媒体上に記録する画像記録装置において、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータを登録する第1の登録手段
と、 前記所定コマンドと共に送出されれきたドットパターン
を登録する第2の登録手段と、 登録対象の記憶容量が少ない場合、登録済みのドットパ
ターンと登録しようとするドットパターンのうち優先順
位の低いドットパターンから順に削除する削除手段とを
備えることを特徴とする画像記録装置。
6. Scalable font data or dot pattern data corresponding to a character code is stored, and a pattern corresponding to a character code included in print data sent from a predetermined upper device is used as the scalable font data or dots. In the image recording device which is generated based on the pattern data and records on the predetermined recording medium, the extracting means for extracting the scalable data based on the dot pattern sent from the upper device together with the predetermined command, and the extracted scalable data. First registration means for registering the dot pattern, second registration means for registering the dot pattern sent together with the predetermined command, and if the storage capacity of the registration target is small, the registered dot pattern and the dot to be registered are registered. Is the dot pattern with the lowest priority among the patterns? Image recording apparatus, comprising a deleting means for deleting the order.
【請求項7】 前記優先順位は、使用頻度、ドット構成
数に基づいて決定されることを特徴とする請求項第6項
に記載の画像記録装置。
7. The image recording apparatus according to claim 6, wherein the priority order is determined based on the frequency of use and the number of dots formed.
【請求項8】 文字コードに対応するスケーラブルフォ
ントデータを記憶し、所定の上位装置から送出されてき
た印刷データ中に含まれる文字コードに対応するパター
ンを前記スケーラブルフォントデータに基づいて発生
し、所定の記録媒体上に記録する画像記録装置におい
て、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータを登録する第1の登録手段
と、 所定のキャッシュメモリに登録したスケーラブルデータ
に対応するドットパターンをキャッシュ登録する第2の
登録手段とを備えることを特徴とする画像記録装置。
8. A scalable font data corresponding to a character code is stored, and a pattern corresponding to the character code included in the print data sent from a predetermined host device is generated based on the scalable font data, and a predetermined pattern is generated. In the image recording apparatus for recording on the recording medium, the extracting means for extracting the scalable data based on the dot pattern transmitted together with the predetermined command from the upper apparatus, and the first registering means for registering the extracted scalable data. An image recording apparatus comprising: a second registration unit that cache-registers a dot pattern corresponding to the scalable data registered in a predetermined cache memory.
【請求項9】 文字コードに対応するスケーラブルフォ
ントデータとドットパターンデータを記憶し、所定の上
位装置から送出されてきた印刷データ中に含まれる文字
コードに対応するパターンを前記スケーラブルフォント
データ或はドットパターンデータに基づいて発生し、所
定の記録媒体上に記録する画像記録装置において、 前記上位装置から所定コマンドと共に送出されてきたド
ットパターンに基づいてスケーラブルデータを抽出する
抽出手段と、 抽出したスケーラブルデータの情報量と当該ドットパタ
ーンの情報量とを比較する比較手段と、 該比較手段の比較結果、少ないと判断されたデータ形式
に従って登録する登録手段とを備えることを特徴とする
画像記録装置。
9. Scalable font data and dot pattern data corresponding to a character code are stored, and a pattern corresponding to a character code included in print data sent from a predetermined upper device is used as the scalable font data or dots. In the image recording device which is generated based on the pattern data and records on the predetermined recording medium, the extracting means for extracting the scalable data based on the dot pattern sent from the upper device together with the predetermined command, and the extracted scalable data. An image recording apparatus, comprising: a comparing unit that compares the information amount of the dot pattern with the information amount of the dot pattern;
JP05278028A 1993-11-08 1993-11-08 Image recording apparatus and control method thereof Expired - Fee Related JP3122567B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05278028A JP3122567B2 (en) 1993-11-08 1993-11-08 Image recording apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05278028A JP3122567B2 (en) 1993-11-08 1993-11-08 Image recording apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JPH07125337A true JPH07125337A (en) 1995-05-16
JP3122567B2 JP3122567B2 (en) 2001-01-09

Family

ID=17591650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05278028A Expired - Fee Related JP3122567B2 (en) 1993-11-08 1993-11-08 Image recording apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP3122567B2 (en)

Also Published As

Publication number Publication date
JP3122567B2 (en) 2001-01-09

Similar Documents

Publication Publication Date Title
US6597471B1 (en) Information processing apparatus, its control method, and memory medium
JPH05318840A (en) Image forming device and formation thereof
JP2610993B2 (en) Information processing apparatus and method
JPH05270069A (en) Printer and controlling method therefor
JP2839119B2 (en) Character processing apparatus and method
JPH0916149A (en) Character processor, character processing method, and memory
JP3486467B2 (en) Image recording apparatus and control method thereof
JP3049158B2 (en) Character processing device and character processing method of character processing device
JP3122567B2 (en) Image recording apparatus and control method thereof
JPH05324930A (en) Image forming device and control method for the device
JP3308663B2 (en) Image forming device
JPH05270055A (en) Image recording method and device, and information processing method
JP3143520B2 (en) Character processing apparatus and method
JP3391185B2 (en) Drawing processing device
JP3121103B2 (en) Character processing apparatus and method
JPH09212312A (en) Printer controller and its registered data managing method
JPH09254459A (en) Character processing device, character process method and memory
JP2974638B2 (en) Document processing apparatus and method
JPH05318829A (en) Device and method of forming image
JPH09188011A (en) Apparatus and method for controlling memory means
JPH08194461A (en) Character processing method and character processing device
JPH0973289A (en) Output device and its control method
JPH06183074A (en) Character processing device
JP2001092609A (en) Information outputting system, method for controlling the same and recording medium for recording its control program
JP2002196618A (en) Image processor and image processing method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000918

LAPS Cancellation because of no payment of annual fees