JP2790198B2 - Output control method and device - Google Patents

Output control method and device

Info

Publication number
JP2790198B2
JP2790198B2 JP2279181A JP27918190A JP2790198B2 JP 2790198 B2 JP2790198 B2 JP 2790198B2 JP 2279181 A JP2279181 A JP 2279181A JP 27918190 A JP27918190 A JP 27918190A JP 2790198 B2 JP2790198 B2 JP 2790198B2
Authority
JP
Japan
Prior art keywords
dot pattern
character
font
information
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.)
Expired - Fee Related
Application number
JP2279181A
Other languages
Japanese (ja)
Other versions
JPH04156356A (en
Inventor
章男 菅谷
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 JP2279181A priority Critical patent/JP2790198B2/en
Priority to DE69124185T priority patent/DE69124185T2/en
Priority to EP91309589A priority patent/EP0481787B1/en
Priority to KR1019910018467A priority patent/KR960010410B1/en
Publication of JPH04156356A publication Critical patent/JPH04156356A/en
Priority to US08/475,833 priority patent/US5731800A/en
Application granted granted Critical
Publication of JP2790198B2 publication Critical patent/JP2790198B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Document Processing Apparatus (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION 【産業上の利用分野】[Industrial applications]

本発明は、ドットパターン情報をスケーラブル情報に
変換し、更のそのスケーラブル情報をドットパターンに
変換して出力する出力制御方法及び装置に関するもので
ある。
The present invention relates to an output control method and apparatus for converting dot pattern information into scalable information, and further converting the scalable information into a dot pattern and outputting the same.

【従来の技術】[Prior art]

文字コードを入力して記録紙などに印刷を行なうプリ
ンタ等では、文字のパターン情報をドツトパターン形成
或はアウトライン形式でフオントメモリに記憶してい
る。そして、文字コードを受信したときに、そのフオン
トメモリより対応するパターンデータを読出したり、そ
の対応するアウトラインフオントを読出してパターン展
開して記録を行つている。このアウトラインフオントに
よるパターン展開は、文字の拡大や縮小等が容易である
という利点があるが、まだまだドツトパターンによるフ
オント情報が多く用いられている。
2. Description of the Related Art In a printer or the like that inputs a character code and performs printing on recording paper or the like, character pattern information is stored in a font memory in the form of a dot pattern or in an outline format. When the character code is received, the corresponding pattern data is read out from the font memory, or the corresponding outline font is read out and the pattern is developed and recorded. This pattern development using outline fonts has the advantage that characters can be easily enlarged or reduced, but font information based on dot patterns is still widely used.

【発明が解決しようとする課題】[Problems to be solved by the invention]

このようにドツパターンでフオント情報を記憶してい
る場合、解像度を変更して記録を行なうことができるプ
リンタ等では、このドツトパターンで記憶されている文
字フオントを用いて印刷を行なうと、その解像度によ
り、その印刷された文字の大きさが異なつてしまう。例
えば、解像度180dpiで印刷する場合、25ドツト×25ドツ
トのメツシユで構成されている文字ドツトパターンが印
刷されるサイズは、約10ポイント(ポイントは1/72イン
チ)である。ところが、360dpiの解像度が指定された場
合、その印刷される文字サイズは、約5ポイントとなつ
てしまう。 このため、異なる解像度の場合でも同じサイズの文字
を印刷するために、例えば前述の場合、25ドツト×25ド
ツトのドツトフオントから一旦アウトラインフオントを
生成し、このアウトラインフオントを基に360dpiで10ポ
イントのサイズになるドツトパターン(50ドツト×50ド
ツト)を発生して印刷しなければならなかつた。 本発明は、上記従来例に鑑みてなされたもので、文字
のドツトパターン情報、そのドットパターン情報から生
成されたスケーラブル情報を用いてドットパターンを生
成して出力する出力制御方法及び装置を提供することを
目的とする。
When the font information is stored in a dot pattern as described above, in a printer or the like capable of recording by changing the resolution, when printing is performed using the character font stored in the dot pattern, However, the size of the printed characters is different. For example, when printing at a resolution of 180 dpi, the size at which a character dot pattern composed of a mesh of 25 dots × 25 dots is printed is about 10 points (point is 1/72 inch). However, when a resolution of 360 dpi is specified, the printed character size is about 5 points. For this reason, in order to print characters of the same size even at different resolutions, for example, in the case described above, an outline font is once generated from a dot of 25 dots × 25 dots, and a size of 10 points at 360 dpi based on the outline font is generated. Dot pattern (50 dots x 50 dots) must be generated and printed. The present invention has been made in view of the above conventional example, and provides an output control method and apparatus for generating and outputting a dot pattern using dot pattern information of a character and scalable information generated from the dot pattern information. The purpose is to:

【課題を解決するための手段】[Means for Solving the Problems]

上記目的を達成するために本発明の出力制御装置は以
下のような構成を備える。即ち、 文字のフォント情報を表すドットパターンからスケラ
ーブル情報を作成するスケラーブル情報生成手段と、 前記スケラーブル情報から文字ドットパターンを生成
するドットパターン生成手段と、 前記ドットパターン生成手段により生成された文字ド
ットパターンを記憶するパターン記憶手段と、 出力に係る現在の解像度を示す情報を記憶する記憶手
段と、 前記現在の解像度に従って前記文字のフォント情報を
表すドットパターン或は前記パターン記憶手段に記憶さ
れたドットパターンを優先的に検索し、前記文字のフォ
ント情報を表すドットパターン或は前記パターン記憶手
段に記憶されたドットパターン、或は前記スケラーブル
情報生成手段によって生成されるスケラーブル情報のい
ずれかを利用して、前記記憶手段に記憶される前記解像
度に対応するサイズのドットパターンの生成を制御する
制御手段と、 を有することを特徴とする。 また上記目的を達成するために本発明の出力制御方法
は以下のような構成を備える。即ち、 文字のフォント情報を表すドットパターンからスケラ
ーブル情報を作成するスケラーブル作成工程と、 前記スケラーブル情報から文字ドットパターンを生成
してメモリに記憶するドットパターン生成工程と、 出力すべき解像度に応じて、前記文字のフォント情報
を表すドットパターン或は前記メモリに記憶されたドッ
トパターンを優先的に検索し、前記文字のフォント情報
を表すドットパターン或は前記メモリに記憶されたドッ
トパターン、或は前記スケラーブル作成工程で作成され
るスケラーブル情報のいずれかを利用して、出力に係る
現在の解像度に対応するサイズのドットパターンの生成
を制御する制御工程とを有することを特徴とする。 [作用] 以上の構成により、文字のフォント情報を表すドット
パターンからスケラーブル情報を作成し、そのスケラー
ブル情報から文字ドットパターンを生成してメモリに記
憶する。出力に際しては、出力すべき解像度に応じて、
文字のフォント情報を表すドットパターン或はメモリに
記憶されたドットパターンを優先的に検索し、その文字
のフォント情報を表すドットパターン或はメモリに記憶
されたドットパターン、或は前記スケラーブル作成工程
で作成されるスケラーブル情報のいずれかを利用して、
出力に係る現在の解像度に対応するサイズのドットパタ
ーンの生成を制御するように動作する。
In order to achieve the above object, an output control device of the present invention has the following configuration. That is, scalable information generation means for generating scalable information from a dot pattern representing font information of a character, dot pattern generation means for generating a character dot pattern from the scalable information, and a character dot pattern generated by the dot pattern generation means Pattern storage means for storing information indicating the current resolution of the output; and a dot pattern representing font information of the character according to the current resolution or a dot pattern stored in the pattern storage means. Using a dot pattern representing the font information of the character or the dot pattern stored in the pattern storage means, or using any of the scalable information generated by the scalable information generation means, Stored in the storage means And having a control means for controlling the generation of the dot pattern of a size corresponding to the resolution. Further, in order to achieve the above object, the output control method of the present invention has the following configuration. That is, a scalable creation step of creating scalable information from a dot pattern representing font information of a character, a dot pattern creation step of creating a character dot pattern from the scalable information and storing it in a memory, The dot pattern representing the font information of the character or the dot pattern stored in the memory is preferentially searched, and the dot pattern representing the font information of the character or the dot pattern stored in the memory, or the scalable A control step of controlling the generation of a dot pattern having a size corresponding to the current resolution of the output using any of the scalable information created in the creation step. [Operation] With the above configuration, scalable information is created from a dot pattern representing font information of a character, and a character dot pattern is generated from the scalable information and stored in a memory. When outputting, depending on the resolution to be output,
The dot pattern representing the font information of the character or the dot pattern stored in the memory is preferentially searched, and the dot pattern representing the font information of the character or the dot pattern stored in the memory, or in the scalable creation step, Using any of the scalable information created,
It operates to control the generation of a dot pattern of a size corresponding to the current resolution of the output.

【実施例】【Example】

以下、添付図面を参照して本発明の好適な実施例を詳
細に説明する。 <プリンタの説明 (第5図)> 第5図は本実施例のレーザビームプリンタ(以下、LB
Pと略す)の内部構造を示す断面図である。なお、このL
BPは、不図示のデータ源から文字パターン(ドツトパタ
ーンデータ)を受信して登録したり、定型書式(フォー
ムデータ)などを登録できる。 同図において、500はLBP本体を示し、このLBP500は外
部に接続されているホストコンピユータ等から供給され
る文字情報(文字コード)やフオーム情報あるいはマク
ロ命令などを入力して記憶するとともに、それらの情報
に従つて対応する文字パターンやフオームパターンなど
を作成して、記録媒体である記録紙上に像を形成するこ
とができる。501はLBP500全体の制御及びホストコンピ
ユータから供給される文字情報などを解析するプリンタ
制御ユニツトである。この制御ユニツト501は、主に文
字情報を対応する文字パターンのビデオ信号に変換して
レーザドライバ502に出力する。512は操作のためのスイ
ツチおよびLED表示器などが配されている操作パネルで
ある。 レーザドライバ502は半導体レーザ503を駆動するため
の回路であり、入力されたビデオ信号に応じて半導体レ
ーザ503から発射されるレーザ光504をオン・オフ切り替
えする。このレーザ光504は回転多面鏡505で左右方向に
振られ静電ドラム506上を走査する。これにより、静電
ドラム506上には文字パターンの静電潜像が形成され
る。この静電潜像は、静電ドラム506周囲の現像ユニツ
ト507により現像された後、記録紙に転写される。 この記録紙にはカツトシートが用いられ、これらカツ
トシート記録紙はLBP500に装着した用紙カセツト508に
収納されている。そして、給紙ローラ509および搬送ロ
ーラ510と511とにより装置内に取り込まれて、静電ドラ
ム506に供給される。こうして、静電ドラム506より画像
が転写・記録された記録紙は、記録紙排出用ローラ513,
514によりトレイ515に排出される。 このLPB500は、例えば180dpi,360dpiというように、
複数の異なる解像度で印刷することができる。 <制御ユニツト501の説明(第1図)> 第1図はLBP500全体の制御をする制御ユニツト501の
ブロツク図である。 第1図において、100はホストコンピユータで、このL
BP500に各種データを出力する。101はホストコンピユー
タ100よりの受信データを格納する受信バツフア、102は
LBP500全体を制御するCPUで、このCPU102はROM102aに記
憶された制御プログラムに従つて各種制御を実行する。
102bはCPU102のワークエリアとして使用され、各種デー
タを一時的に記憶するRAMである。 103は登録メモリで、ドツトパターンフオントを格納
するためのメモリである。104はフオントメモリで、後
述するように登録メモリ103のドツトパターンフオント
から生成されたアウトラインフオント及びそのアウトラ
インフオントから生成したドツトフオントを格納する。
105はページバツフアで、ホストコンピユータ100より受
信したデータをページ毎に記憶している。106はビツト
マツプメモリで、プリンタエンジン107に出力する1ペ
ージの出力画像を格納する。107は第5図にその詳細を
示すプリンタエンジンで、ビツトマツプメモリ106に記
憶されたイメージデータを記録紙108に印刷する。108は
こうして印刷された記録紙である。109は現在のプリン
タエンジン107により記録可能な解像度を記憶する解像
度メモリである。 以上の構成により、ホストコンピユータ100よりドツ
トパターンフオントを入力すると、それを登録メモリ10
3に登録するとともに、一旦アウトラインフオントに変
換し、その変換したアウトラインフオントをさらに、プ
リンタエンジン107で印刷できる他の解像度に応じたド
ツトパターンに変換してフオントメモリ104に格納す
る。 これは例えば、プリンタエンジン107が180dpiと360dp
iで印刷可能なとき、180dpiで10ポイント(25ドツト×2
5ドツト)の文字ドツトパターンを入力すると、そのド
ツトパターンを一旦アウトラインフオントに変換し、更
にそのアウトラインフオントを用いて、360dpiで印刷し
た時に10ポイント(50ドツト×50ドツト)の大きさにな
る文字ドツトパターンを作成して登録しておく。 こうしてホストコンピユータ100より文字コードが入
力されて、その文字サイズや書式及び解像度等が指示さ
れて印刷開始が指示された場合を説明する。この時、登
録メモリ103に登録されているドツトパターン(180dpi
で10ポイント、25ドツト×25ドツト)により、その指示
された文字サイズで印刷できるときは、その入力された
ドツトパターンをそのまま使用してページバツフア105
にパターン展開してする。 一方、例えばプリンタエンジン107の解像度が360dpi
で、その登録メモリ103のドツトパターンで印刷すると
文字の大きさが指定されたサイズ(10ポイント)と異な
る場合は、既にアウトラインフオントより50ドツト×50
ドツトに展開されているドツトパターンを用いて、ビツ
トマツプに展開する。 また更に、プリンタエンジン107の解像度に対応して
同じサイズ(10ポイント)の文字が印刷できるドツトパ
ターンがないときは、フオントメモリ104に記憶してい
る、その文字コードに対応するアウトラインフオントを
読出し、これを対応するサイズのドツトパターンに変換
して、ページバツフア105にビツトマツプ展開する。こ
れにより、種々の文字サイズや解像度が指定されても、
これに適した文字サイズで印刷を行うことができる。 以下、この動作を詳しく説明する。 <フオントデータの管理の説明 (第2図)> 第2図はドツトパターンフオントと、そのドツトパタ
ーンフオントより生成したアウトラインフオントを管理
する管理テーブルの構成を示す図で、このテーブルはRA
M102bに記憶されている。 第2図において、201はドツトフオント管理テーブル
で、アウトラインフオント生成の元パターンとなるドツ
トフオントを含むドツトパターンフオント全体を管理す
るためのテーブルである。202はアウトラインフオント
管理テーブルで、ドツトパターンフオントより生成され
たアウトラインフオントのみを管理するためのテーブル
である。 203はドツトフオント情報部で、登録メモリ103内に登
録されたドツトフオント情報と、文字コードに対応する
文字パターンを指す文字ポインタ206を格納している。2
09は登録メモリ103に登録されたドツトパターンフオン
トを示している。例えば、209aはドツトフオント管理テ
ーブル201のインデツクスが“0"(25ドツト×25ドツ
ト)で、フオント情報部203のポインタ(文字コード)
が“0"のときに指示されるドツトパターンであり、209b
はドツトフオント情報部203のポインタが“1"のときに
指示されるドツトパターンである。 即ち、例えばインデツクス“0"は受信したドツトパタ
ーン(例えば、180dpiで文字サイズが10ポイント)をそ
のまま記憶する時のインデツクスで、インデツクス“1"
はプリンタエンジンの解像度が360dpiのとき、インデツ
クス“0"のドツトパターンで印刷したのと同じサイズ
(10ポイント)で印刷できるドツトパターンを示してい
る。 205は文字サイズの異なるドツトフオント情報部で、
フオントメモリ104に存在する、アウトラインフオント
から作成されたドツトパターンを管理している。この情
報部205は、文字コードに1対1に対応する、文字パタ
ーンを指す文字ポインタ208を格納している。211はフオ
ントメモリ104内に存在するドツトパターンフオントを
示し、このドツトパターンフオントはアウトラインフオ
ントより作成されたものである。この場合も、前述のド
ツトパターンフオント209と同様に、例えば、211aはド
ツトフオント管理テーブル201のインデツクスが“1"(5
0ドツト×50ドツト)で、フオント情報部205のポインタ
(文字コード)が“0"のときに指示されるドツトパター
ンであり、211bはドツトフオント情報部205のポインタ
が“1"のときに指示されるドツトパターンである。 204はアウトラインフオント情報部で、登録メモリ103
のドツトパターンフオントを基に作成され、フオントメ
モリ104に記憶されているアウトラインフオント情報
と、文字コードに1対1対応して文字パターンを指す文
字ポインタ207を格納している。210はフオントメモリ10
4に存在するアウトラインフオントを示し、210aは文字
ポインタが“0"のときに指示されるアウトラインフオン
ト、210bは文字ポインタが“1"のときに指示されるアウ
トラインフオントである。 <登録手順の説明 (第3図)> 第3図は実施例のLBP500における文字パターンの登録
処理手順を示すフローチヤートで、この処理を実行する
制御プログラムはROM102aに記憶されている。なお、こ
の処理に先立つてホストコンピユータ100から、登録メ
モリ103に登録するドツトパターンデータが転送され
て、既に受信バツフア101に記憶されているものとす
る。 まずステツプS1で、登録メモリ103に登録されるドツ
トフオントの文字種や書体等を記憶するための文字セツ
ト情報部(第2図のドツトフオント情報部203)のエリ
アを確保し、そのアドレスをドツトフオント管理テーブ
ル201に格納する。同様に、アウトラインフオント情報
部204のエリアを確保し、そのアドレスをアウトライン
フオント管理テーブル202のポインタテーブルに記憶す
る。その際、第2図に示すように、ドツトフオント管理
テーブル201の格納番号(ポインタ番号)を、アウトラ
イン管理テーブル202のドツトフオント管理テーブルへ
のインデツクス(文字サイズ情報)として記憶する。更
に、異なる解像度に対応するドツトフオント情報を、こ
のテーブル202を使用して参照できるように、ドツトフ
オント管理テーブル201のポインタの値をインデツクス
として格納する。 以上のようにして、ドツトフオントパターン情報部20
3,205と、そのドツトパターンから生成されるアウトラ
インフオント情報部204とをリンクさせておく。 次にステツプS2に進み、受信バツフア101から1文字
のドツトパターンを取出し、ステツプS3で登録メモリ10
3に登録する。このとき、第2図のドツトパターンフオ
ント情報部203の文字ポインタ部206に、登録メモリ103
にドツトパターンフオント209が記憶された先頭アドレ
スをし、文字コードと文字パターンが1対1対応になる
ようにリンクさせる。 次にステツプS4に進み、登録メモリ103に登録された
ドツトパターンフオントを読出し、そのドツトパターン
を輪郭抽出処理によつて、文字の輪郭点列を抽出して、
アウトラインフオントを生成する。こうして生成された
アウトラインフオントは、ステツプS5でフオントメモリ
104にアウトラインフオントとして格納される。 この際、アウトラインフオント情報部204の文字ポイ
ンタ207に、フオントメモリ104に記憶されたアウトライ
ンフオントの先頭アドレスを格納し、文字コードと文字
パターンが1対1対応になるようにリンクさせて登録す
る。 次にステツプS6に進み、ステツプS5で登録したアウト
ラインフオントを使用して、既に登録メモリ103に登録
されているドツトパターンと異なるサイズ(前述の例で
は50ドツト×50ドツト)のドツトパターンを作成する。
これは前述したように、プリンタエンジン107の解像度
が異なる値に設定された場合も、書式情報などの属性情
報で指定された文字サイズと同じサイズで印刷できるよ
うにするためである。 ステツプS7では、ドツトフオント情報部205の文字ポ
インタ208に、そのアウトラインフオントより作成され
たドツトパターンフオントが記憶されるフオントメモリ
104のアドレスを格納する。その際、ドツトフオント管
理テーブル201の格納番号(第2図の例では、“1")を
アウトライン管理テーブル202のドツトフオント管理テ
ーブルのインデツクスに入れる。 以上のようにして、アウトラインフオント情報部と、
このアウトラインフオントから作成されたドイツフオン
ト情報部とを関連づけておく。 こうしてステツプS8で、受信バツフア101に記憶され
た全ての文字パターンの登録と、アウトラインフオント
への展開が終了するまで、上記処理を繰り返す。 <印刷処理の説明 (第4図)> 第4図は実際にホストコンピユータ100より文字コー
ドを入力し、パターンデータに展開して印刷する印刷処
理手順を示すフローチヤートである。この処理を実行す
る制御プログラムはROM102aに記憶されている。 第4図において、まずステツプS11で文字選択を行う
ための文字セツト情報(明朝体,ゴシツク体等)が入力
される。次にステツプS12に進み、文字セツト情報を用
いてアウトラインフオント管理テーブル202の、その文
字コードに対応するアウトラインフオントを選択する。
そして、ステツプS13で文字形態(文字の高さや幅等)
が指示される。 これによりステツプS14で、ステツプS12で選択したア
ウトラインフオントのアウトライン管理テーブル202に
格納されているドツト文字セツトへのインデツクスを取
出し、そのインデツクスが示しているドツトフオント管
理テーブル201の文字の高さと幅情報を読出す。そし
て、このテーブル201に登録されているドツトパターン
データの文字サイズが、ステツプS13で指示された文字
形態と同じかどうかをみる。 同じ大きさでなければステツプS17に進み、アウトラ
インフオント管理テーブル202のドツトフオントの全て
のインデツクスを調べる。ステツプS17で全インデツク
スを調べ、大きさが同じフオントがあればステツプS15
に進む。ステツプS15では、文字コードを受信バツフア1
01から読出し、ステツプS16でその文字コードに対応す
るドツトパターンをフオントメモリ104或は登録メモリ1
03より読出す。こうしてステツプS20に進み、その読出
したドツトパターンをビツトマツプメモリ106に展開す
る。 一方、ステツプS17で全てのインデツクスを読出して
も登録されているドツトパターンデータの文字サイズ
が、ステツプS13で指示された文字形態及び解像度に鑑
みて、同じ文字サイズで印刷されないと判断するとステ
ツプS18に進み、アウトラインフオント情報部204に格納
された文字ポインタ207により、その文字コードに対応
するアウトラインフオント情報を、フオントメモリ104
より取出す。 次にステツプS19に進み、その読出したアウトライン
フオント情報を展開して、ステツプS13で指示された文
字形態及び印刷される解像度に対応する文字ドツトパタ
ーンを作成する。 以上のようにして得られたドツトパターンを、ステツ
プS20でビツトマツプメモリ106にビツトマツプ展開し
て、文字パターンの画像情報を生成する。そしてステツ
プS21で、1ページ分のビツトマツプデータを作成する
とステツプS22に進み、第5図で説明した印刷機構部に
より、記録紙上に画像を印刷する。 このように本実施例によれば、ドツトパターンフオン
トの登録時、そのドツトパターンよりアウトラインフオ
ントを作成し、そのアウトラインフオントより、記録部
の解像度に応じた他のサイズのドツトパターンを予め作
成して登録しておく。これにより、元々のドツトパター
ンサイズ以外のサイズの文字の印刷が指示されたとき
は、その新に作成されたドツトパターンを使用して印刷
できるため、印刷処理時間を短縮できる。 なお、本実施例では、ホストコンピユータ等より登録
されたドツトフオントからアウトラインフオントを作成
するように説明したが、本発明はこれに限定されるもの
でなく、例えば、印刷装置に組み込まれているROM等に
記憶されたドツトフオントを元にアウトラインフオント
を作成し、同様の処理を行つても良い。 また、第3図のフローチヤートでは、ドツトパターン
の登録時にアウトラインフオント生成(ステツプS4)、
その登録(ステツプS5)、更にはドツトフオントの生成
(ステツプS6)、格納(ステツプS7)を行なうようにし
たが、例えばホストコンピユータ100よりプリンタエン
ジンの解像度が指定されて、それにより現在の記憶して
いるドツトパターンで印刷すると印刷した文字サイズが
指定されたサイズと異なるときに、これらのステツプを
実行するようにしてもよい。 以上説明したように本実施例によれば、ドツトパター
ンをアウトラインフオントに変換し、このアウトライン
フオントより、元々のドツトサイズと異なるサイズのド
ツトパターンに対応するドツトパターンを生成して登録
しておくことにより、文字パターンの作成に要する時間
を低減でき印刷速度の向上できる。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. <Description of Printer (FIG. 5)> FIG. 5 shows a laser beam printer (hereinafter referred to as LB) of this embodiment.
FIG. 3 is a cross-sectional view showing the internal structure of the abbreviated P). Note that this L
The BP can receive and register a character pattern (dot pattern data) from a data source (not shown) or register a fixed format (form data). In the figure, reference numeral 500 denotes an LBP main body. The LBP 500 inputs and stores character information (character code), form information, macro instructions, and the like supplied from an externally connected host computer and the like. A corresponding character pattern, form pattern, or the like can be created according to the information, and an image can be formed on recording paper as a recording medium. Reference numeral 501 denotes a printer control unit which controls the entire LBP 500 and analyzes character information and the like supplied from the host computer. The control unit 501 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 502. Reference numeral 512 denotes an operation panel on which switches and LED indicators for operation are arranged. The laser driver 502 is a circuit for driving the semiconductor laser 503, and switches on / off a laser beam 504 emitted from the semiconductor laser 503 according to an input video signal. This laser light 504 is swung in the left and right direction by a rotating polygon mirror 505 to scan on an electrostatic drum 506. Thus, an electrostatic latent image of a character pattern is formed on the electrostatic drum 506. This electrostatic latent image is developed by a developing unit 507 around the electrostatic drum 506 and then transferred to a recording sheet. Cut sheets are used as the recording sheets, and these cut sheet recording sheets are stored in a sheet cassette 508 mounted on the LBP 500. Then, the sheet is taken into the apparatus by the sheet feeding roller 509 and the conveying rollers 510 and 511, and is supplied to the electrostatic drum 506. The recording paper on which the image is transferred and recorded from the electrostatic drum 506 in this manner is a recording paper discharge roller 513,
It is discharged to the tray 515 by 514. This LPB500, for example, 180dpi, 360dpi,
It can be printed at several different resolutions. <Description of Control Unit 501 (FIG. 1)> FIG. 1 is a block diagram of the control unit 501 for controlling the entire LBP 500. In FIG. 1, 100 is a host computer, and this L
Output various data to BP500. 101 is a reception buffer for storing data received from the host computer 100, and 102 is a reception buffer.
The CPU controls the entire LBP 500. The CPU 102 executes various controls according to a control program stored in the ROM 102a.
A RAM 102b is used as a work area of the CPU 102 and temporarily stores various data. Reference numeral 103 denotes a registration memory for storing dot pattern fonts. Reference numeral 104 denotes a font memory, which stores outline fonts generated from dot pattern fonts in the registration memory 103 and dot fonts generated from the outline fonts, as described later.
A page buffer 105 stores data received from the host computer 100 for each page. A bit map memory 106 stores one page of output image output to the printer engine 107. Reference numeral 107 denotes a printer engine whose details are shown in FIG. 5, and prints the image data stored in the bit map memory 106 on a recording paper 108. 108 is the recording paper printed in this way. Reference numeral 109 denotes a resolution memory that stores the resolution that can be recorded by the current printer engine 107. With the above configuration, when a dot pattern font is input from the host computer 100, it is input to the registration memory 10
3 and temporarily convert the outline font into an outline font. The converted outline font is further converted into a dot pattern corresponding to another resolution printable by the printer engine 107 and stored in the font memory 104. For example, if the printer engine 107 has 180dpi and 360dp
When printing is possible with i, 10 points at 180 dpi (25 dots x 2
When a character dot pattern of 5 dots is input, the dot pattern is temporarily converted to outline fonts, and then, using the outline font, a character that becomes 10 points (50 dots x 50 dots) when printed at 360 dpi Create a dot pattern and register it. The case where the character code is input from the host computer 100, the character size, the format, the resolution, and the like are instructed to start the printing will be described. At this time, the dot pattern registered in the registration memory 103 (180 dpi
(10 points, 25 dots x 25 dots), and if it is possible to print in the specified character size, the input dot pattern is used as it is and the page buffer 105
To expand the pattern. On the other hand, for example, the resolution of the printer engine 107 is 360 dpi
If the character size is different from the designated size (10 points) when printing with the dot pattern in the registration memory 103, the character is already 50 dots × 50 from the outline font.
Use the dot pattern developed in the dots to develop the bitmap. Further, when there is no dot pattern that can print characters of the same size (10 points) corresponding to the resolution of the printer engine 107, the outline font corresponding to the character code stored in the font memory 104 is read out. This is converted into a dot pattern of the corresponding size, and the bit map is developed on the page buffer 105. As a result, even if various character sizes and resolutions are specified,
Printing can be performed with a character size suitable for this. Hereinafter, this operation will be described in detail. <Description of Font Data Management (FIG. 2)> FIG. 2 is a diagram showing the configuration of a dot pattern font and a management table for managing outline fonts generated from the dot pattern font.
It is stored in M102b. In FIG. 2, reference numeral 201 denotes a dot management table, which is a table for managing the entire dot pattern font including the dot font serving as an original pattern for outline font generation. Reference numeral 202 denotes an outline font management table for managing only outline fonts generated from dot pattern fonts. Reference numeral 203 denotes a font information section which stores the font information registered in the registration memory 103 and a character pointer 206 pointing to a character pattern corresponding to the character code. Two
Reference numeral 09 denotes a dot pattern font registered in the registration memory 103. For example, 209a indicates that the index of the dot font management table 201 is “0” (25 dots × 25 dots) and the pointer (character code) of the font information section 203
Is a dot pattern indicated when is "0",
Is a dot pattern indicated when the pointer of the dot information section 203 is "1". That is, for example, the index “0” is an index when the received dot pattern (for example, 180 dpi and the character size is 10 points) is stored as it is, and the index “1” is used.
Indicates a dot pattern that can be printed with the same size (10 points) as when printing with the dot pattern of index “0” when the resolution of the printer engine is 360 dpi. 205 is a font information section having different character sizes,
It manages dot patterns created from outline fonts that exist in the font memory 104. This information section 205 stores a character pointer 208 that points to a character pattern and that corresponds to a character code on a one-to-one basis. Reference numeral 211 denotes a dot pattern font existing in the font memory 104. This dot pattern font is created from an outline font. In this case, similarly to the dot pattern font 209 described above, for example, the index 211a of the dot font management table 201 is "1" (5
This is a dot pattern indicated when the pointer (character code) of the font information section 205 is "0", and 211b is indicated when the pointer of the dot information section 205 is "1". This is a dot pattern. Reference numeral 204 denotes an outline font information section, and the registration memory 103
The outline font information created on the basis of the dot pattern font and stored in the font memory 104 and a character pointer 207 indicating a character pattern in one-to-one correspondence with a character code are stored. 210 is font memory 10
Reference numeral 4 denotes an outline font that is present, where 210a is an outline font designated when the character pointer is "0", and 210b is an outline font designated when the character pointer is "1". <Explanation of Registration Procedure (FIG. 3)> FIG. 3 is a flowchart showing a character pattern registration processing procedure in the LBP 500 of the embodiment. A control program for executing this processing is stored in the ROM 102a. It is assumed that prior to this processing, the dot pattern data to be registered in the registration memory 103 has been transferred from the host computer 100 and has already been stored in the reception buffer 101. First, in step S1, an area for a character set information section (dot information section 203 in FIG. 2) for storing the font type, font, and the like registered in the registration memory 103 is secured, and the address thereof is stored in the dot font management table 201. To be stored. Similarly, the area of the outline font information section 204 is secured, and the address is stored in the pointer table of the outline font management table 202. At this time, as shown in FIG. 2, the storage number (pointer number) of the font management table 201 is stored as an index (character size information) to the font management table of the outline management table 202. Further, the value of the pointer of the DFT management table 201 is stored as an index so that DFT information corresponding to different resolutions can be referenced using this table 202. As described above, the dot font pattern information section 20
3, 205 and an outline font information section 204 generated from the dot pattern. Next, the process proceeds to step S2, where a one-character dot pattern is extracted from the reception buffer 101, and the registration memory 10 is extracted in step S3.
Register to 3. At this time, the registration memory 103 is stored in the character pointer section 206 of the dot pattern font information section 203 shown in FIG.
Is set to the head address where the dot pattern font 209 is stored, and linked so that the character code and the character pattern are in one-to-one correspondence. Next, in step S4, the dot pattern font registered in the registration memory 103 is read, and the dot pattern is subjected to contour extraction processing to extract a character outline point sequence.
Generate outline fonts. The outline font thus generated is stored in the font memory in step S5.
Stored in 104 as outline font. At this time, the head address of the outline font stored in the font memory 104 is stored in the character pointer 207 of the outline font information section 204, and the character code and the character pattern are linked and registered so as to have a one-to-one correspondence. Next, the process proceeds to step S6, in which a dot pattern having a size different from the dot pattern already registered in the registration memory 103 (50 dots × 50 dots in the above-described example) is created using the outline font registered in step S5. .
This is because, as described above, even when the resolution of the printer engine 107 is set to a different value, printing can be performed in the same size as the character size specified by attribute information such as format information. In step S7, the font memory in which the dot pattern font created from the outline font is stored in the character pointer 208 of the font information section 205.
Stores 104 addresses. At this time, the storage number (“1” in the example of FIG. 2) of the desktop management table 201 is entered into the index of the desktop management table of the outline management table 202. As described above, the outline font information section,
The German font information section created from this outline font is associated. Thus, in step S8, the above processing is repeated until registration of all the character patterns stored in the reception buffer 101 and development into outline fonts are completed. <Explanation of Print Processing (FIG. 4)> FIG. 4 is a flowchart showing a print processing procedure for actually inputting a character code from the host computer 100, developing the pattern data into pattern data and printing. A control program for executing this processing is stored in the ROM 102a. In FIG. 4, character set information (Mincho, Gothic, etc.) for selecting a character is input in step S11. Next, the process proceeds to step S12, where the outline font corresponding to the character code in the outline font management table 202 is selected using the character set information.
Then, in step S13, the character form (such as the height and width of the character)
Is indicated. As a result, in step S14, the index of the outline font selected in step S12 to the dot character set stored in the outline management table 202 is extracted, and the character height and width information of the font management table 201 indicated by the index is extracted. Read. Then, it is determined whether or not the character size of the dot pattern data registered in the table 201 is the same as the character form specified in step S13. If the size is not the same, the process proceeds to step S17, and all indexes of the font in the outline font management table 202 are checked. Examine all indexes at step S17, and if there is a font of the same size, step S15
Proceed to. In step S15, the character code is received.
01, and a dot pattern corresponding to the character code is stored in the font memory 104 or the registration memory 1 in step S16.
Read from 03. Thus, the process proceeds to step S20, and the read dot pattern is developed in the bit map memory 106. On the other hand, if it is determined that the character size of the registered dot pattern data is not printed in the same character size in consideration of the character form and resolution specified in step S13 even if all the indexes are read out in step S17, the process proceeds to step S18. Then, the outline font information corresponding to the character code is stored in the font memory 104 by the character pointer 207 stored in the outline font information section 204.
Take out more. Next, the process proceeds to step S19, in which the read outline font information is developed to create a character dot pattern corresponding to the character form and the resolution to be printed designated in step S13. The dot pattern obtained as described above is subjected to bit map development in the bit map memory 106 in step S20 to generate character pattern image information. When bit map data for one page is created in step S21, the process proceeds to step S22, where an image is printed on recording paper by the printing mechanism unit described with reference to FIG. As described above, according to the present embodiment, when a dot pattern font is registered, an outline font is created from the dot pattern, and a dot pattern of another size corresponding to the resolution of the recording unit is created in advance from the outline font. Register. Thus, when printing of a character having a size other than the original dot pattern size is instructed, printing can be performed using the newly created dot pattern, so that the printing processing time can be reduced. In this embodiment, the outline font is created from the font registered by the host computer or the like. However, the present invention is not limited to this. An outline font may be created on the basis of the font stored in the above, and similar processing may be performed. In the flowchart of FIG. 3, when a dot pattern is registered, an outline font is generated (step S4).
The registration (step S5), the generation of the font (step S6), and the storage (step S7) are performed. These steps may be executed when the size of the printed character differs from the designated size when printing is performed with the dot pattern. As described above, according to the present embodiment, a dot pattern is converted into an outline font, and a dot pattern corresponding to a dot pattern having a size different from the original dot size is generated and registered from the outline font. In addition, the time required to create a character pattern can be reduced, and the printing speed can be improved.

【発明の効果】【The invention's effect】

以上説明したように本発明によれば、文字のドットパ
ターン情報、そのドットパターン情報から生成されたス
ケーラブル情報を用いてドットパターンを生成して出力
できるという効果がある。
As described above, according to the present invention, there is an effect that a dot pattern can be generated and output using dot pattern information of a character and scalable information generated from the dot pattern information.

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

第1図は実施例のLBPの制御ユニツトの構成を示すブロ
ツク図、 第2図はドツトパターンテーブルとアウトラインフオン
トテーブルとの関連を示す図、 第3図は実施例のLBPにおける文字パターンの登録処理
を示すフローチヤート、 第4図は実施例のLBPにおける印刷処理を示すフローチ
ヤート、そして 第5図は実施例のLBPのプリンタエンジンの構成を示す
構造断面図である。 図中、102……CPU、102a……ROM、102b……RAM、103…
…登録メモリ、104……フオントメモリ、105……ページ
バツフア、106……ビツトマツプメモリ、107……プリン
タエンジン、109……解像度メモリ、201……ドツトパタ
ーン管理テーブル、202……アウトラインパターン管理
テーブル、203……ドツトパターン情報部、204……アウ
トラインフオント情報部、205……ドツトパターン(ア
ウトラインより作成された)情報部,209,211……ドツト
パターンフオント、210……アウトラインフオント、500
……LBP、501……制御ユニツトである。
FIG. 1 is a block diagram showing the configuration of a control unit of the LBP of the embodiment, FIG. 2 is a diagram showing the relationship between a dot pattern table and an outline font table, and FIG. 3 is a character pattern registration process in the LBP of the embodiment. FIG. 4 is a flow chart showing a printing process in the LBP of the embodiment, and FIG. 5 is a structural sectional view showing a configuration of a printer engine of the LBP in the embodiment. In the figure, 102 ... CPU, 102a ... ROM, 102b ... RAM, 103 ...
… Registration memory, 104… font memory, 105… page buffer, 106… bit map memory, 107… printer engine, 109… resolution memory, 201… dot pattern management table, 202… outline pattern management table 203: dot pattern information section, 204: outline font information section, 205: dot pattern (created from outline) information section, 209, 211 ... dot pattern font, 210 ... outline font, 500
... LBP, 501 ... Control unit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 2/485 B41J 5/30 B41J 5/44 G06F 3/12 G09G 5/24 620──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) B41J 2/485 B41J 5/30 B41J 5/44 G06F 3/12 G09G 5/24 620

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字のフォント情報を表すドットパターン
からスケラーブル情報を作成するスケラーブル情報生成
手段と、 前記スケラーブル情報から文字ドットパターンを生成す
るドットパターン生成手段と、 前記ドットパターン生成手段により生成された文字ドッ
トパターンを記憶するパターン記憶手段と、 出力に係る現在の解像度を示す情報を記憶する記憶手段
と、 前記現在の解像度に従って前記文字のフォント情報を表
すドットパターン或は前記パターン記憶手段に記憶され
たドットパターンを優先的に検索し、前記文字のフォン
ト情報を表すドットパターン或は前記パターン記憶手段
に記憶されたドットパターン、或は前記スケラーブル情
報生成手段によって生成されるスケラーブル情報のいず
れかを利用して、前記記憶手段に記憶される前記解像度
に対応するサイズのドットパターンの生成を制御する制
御手段と、 を有することを特徴とする出力制御装置。
1. A scalable information generating means for generating scalable information from a dot pattern representing font information of a character; a dot pattern generating means for generating a character dot pattern from the scalable information; A pattern storage unit for storing a character dot pattern; a storage unit for storing information indicating a current resolution related to output; and a dot pattern representing the font information of the character according to the current resolution or the pattern storage unit. Using the dot pattern representing the font information of the character, the dot pattern stored in the pattern storage means, or the scalable information generated by the scalable information generating means. And stored in the storage means. Control means for controlling generation of a dot pattern having a size corresponding to the resolution to be obtained.
【請求項2】文字のフォント情報を表すドットパターン
からスケラーブル情報を作成するスケラーブル作成工程
と、 前記スケラーブル情報から文字ドットパターンを生成し
てメモリに記憶するドットパターン生成工程と、 出力すべき解像度に応じて、前記文字のフォント情報を
表すドットパターン或は前記メモリに記憶されたドット
パターンを優先的に検索し、前記文字のフォント情報を
表すドットパターン或は前記メモリに記憶されたドット
パターン、或は前記スケラーブル作成工程で作成される
スケラーブル情報のいずれかを利用して、出力に係る現
在の解像度に対応するサイズのドットパターンの生成を
制御する制御工程と、 を有することを特徴とする出力制御方法。
2. A scalable creation step of creating scalable information from a dot pattern representing font information of a character; a dot pattern creation step of creating a character dot pattern from the scalable information and storing it in a memory; Accordingly, the dot pattern representing the font information of the character or the dot pattern stored in the memory is preferentially searched, and the dot pattern representing the font information of the character or the dot pattern stored in the memory is searched. Controlling the generation of a dot pattern having a size corresponding to the current resolution of the output, using any of the scalable information created in the scalable creation step, an output control Method.
JP2279181A 1990-10-19 1990-10-19 Output control method and device Expired - Fee Related JP2790198B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2279181A JP2790198B2 (en) 1990-10-19 1990-10-19 Output control method and device
DE69124185T DE69124185T2 (en) 1990-10-19 1991-10-17 Dispensing method and device
EP91309589A EP0481787B1 (en) 1990-10-19 1991-10-17 Output method and apparatus
KR1019910018467A KR960010410B1 (en) 1990-10-19 1991-10-19 Output method and apparatus
US08/475,833 US5731800A (en) 1990-10-19 1995-06-07 Output method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2279181A JP2790198B2 (en) 1990-10-19 1990-10-19 Output control method and device

Publications (2)

Publication Number Publication Date
JPH04156356A JPH04156356A (en) 1992-05-28
JP2790198B2 true JP2790198B2 (en) 1998-08-27

Family

ID=17607574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2279181A Expired - Fee Related JP2790198B2 (en) 1990-10-19 1990-10-19 Output control method and device

Country Status (1)

Country Link
JP (1) JP2790198B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02189692A (en) * 1989-01-18 1990-07-25 Seiko Instr Inc Painting-out mechanism for closed graphic

Also Published As

Publication number Publication date
JPH04156356A (en) 1992-05-28

Similar Documents

Publication Publication Date Title
JP2610993B2 (en) Information processing apparatus and method
JP2844575B2 (en) Printing equipment
JP3029136B2 (en) Output method and device
US5731800A (en) Output method and apparatus
JP3486467B2 (en) Image recording apparatus and control method thereof
JP2790198B2 (en) Output control method and device
US6061070A (en) Character outputting
US6310624B1 (en) Method and apparatus for generating character pattern
JPH0877324A (en) Electronic filing device
JP3121103B2 (en) Character processing apparatus and method
JP3231863B2 (en) Character processing method and device
JPH05281946A (en) Method and device for character output
JPH0924642A (en) Method and apparatus for processing character
JP3143520B2 (en) Character processing apparatus and method
JP3167070B2 (en) Print control method and print control device
JPH07125390A (en) Image recognition processor
JP3054157B2 (en) Character processing device and character processing method
JP2595086B2 (en) Output control device and ruled line generation method
JP3171393B2 (en) Character processing method and apparatus
JP3110870B2 (en) Pattern generation method and apparatus
JPH04156355A (en) Character pattern output apparatus
JPH051492B2 (en)
JPH03223896A (en) Output device
JPH04350897A (en) Method and device for generating character
JPH0695647A (en) Method and device for generating character

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees