JPH0930059A - Output device and method - Google Patents

Output device and method

Info

Publication number
JPH0930059A
JPH0930059A JP7177379A JP17737995A JPH0930059A JP H0930059 A JPH0930059 A JP H0930059A JP 7177379 A JP7177379 A JP 7177379A JP 17737995 A JP17737995 A JP 17737995A JP H0930059 A JPH0930059 A JP H0930059A
Authority
JP
Japan
Prior art keywords
font
output
bitmap
character size
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP7177379A
Other languages
Japanese (ja)
Inventor
Yukimasa Satou
幸優 佐藤
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 JP7177379A priority Critical patent/JPH0930059A/en
Publication of JPH0930059A publication Critical patent/JPH0930059A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To save the capacity of a memory by storing a bit map front in a type independent of resolution by installing a character size unit conversion means for converting a logical character size with a character to be output designated into a pixel unit physical character size and others. SOLUTION: A size unit conversion part 206 obtains resolution, a pixel size, and a logical character size from a format analysis part 203, converts into a physical character size, and sends to a font selection part 207. A parameter operation part 210 calculates the logical layout information value of a character from the standard character information value of a scalable font. A bit map formation part 211 forms a bit map pattern from the control point data of the scalable font given from the format analysis part 203. A resolution conversion part 212 converts a printing image prepared by the format analysis part 203 into engine resolution and sends it to a printer engine part 204.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の解像度で出
力が可能な出力装置及び方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an output device and method capable of outputting at a plurality of resolutions.

【0002】[0002]

【従来の技術】近年、出力装置においては、文字の大き
さを自由に選べるベクトルデータ形式のスケーラブルフ
ォントが使用されている。しかし、スケーラブルフォン
トはビットマップパターンへの変換に時間がかかり画像
形成処理の速度低下に繋がっている。そこで、解決法の
一手段として頻繁に使用する大きさにおいてはスケーラ
ブルフォントをあらかじめビットマップパターンに展開
してROM等に記憶してあるビットマップフォント(S
dotフォント)を使用している。また、Sdotフォ
ントは、小さいサイズで出力するさいに潰れてしまう文
字もビットマップパターン化しておくこともある。
2. Description of the Related Art In recent years, an output device has used a scalable font in a vector data format in which a character size can be freely selected. However, it takes time to convert a scalable font into a bitmap pattern, which leads to a reduction in the speed of image forming processing. Therefore, as a means for solving the problem, in a size which is frequently used, a scalable font is previously expanded into a bitmap pattern and stored in a ROM or the like.
dot font) is used. In the Sdot font, characters that are crushed when output in a small size may be converted into a bitmap pattern.

【0003】近年、出力装置においては、文字の大きさ
を自由に選べるスケーラブルフォントが使用されてい
る。しかし、スケーラブルフォントはビットマップパタ
ーンへの変換に時間がかかり画像生成処理の速度低下に
繋がっている。そこで、解決法の一手段として生成した
ビットマップパターンをキャッシュしておき2度目以降
はキャッシュしておかれたパターンを使用することで速
度の向上を行なっている。
In recent years, scalable fonts have been used in output devices so that the size of characters can be freely selected. However, it takes time to convert a scalable font into a bitmap pattern, which leads to a reduction in the speed of image generation processing. Therefore, as a means of solving the problem, the generated bitmap pattern is cached and the cached pattern is used for the second time and thereafter to improve the speed.

【0004】[0004]

【発明が解決しようとしている課題】しかしながら、上
記従来例では、複数の解像度を持つ出力装置において、
各解像度毎にSdotフォントを持つ為、フォント格納
領域の増大を招き資源の無駄を招いている。
However, in the above conventional example, in the output device having a plurality of resolutions,
Since each resolution has an Sdot font, the font storage area is increased and resources are wasted.

【0005】しかしながら、上記従来例では、複数の解
像度を持つ出力装置において各解像度毎にビットマップ
パターンをキャッシュしておくことはRAM容量等の格
納領域を無駄に使用し、キャッシュシステムに負荷を掛
けることにより速度低下の原因になり得る。
However, in the above-mentioned conventional example, in the output device having a plurality of resolutions, caching the bitmap pattern for each resolution wastefully uses the storage area such as the RAM capacity and puts a load on the cache system. This can cause a decrease in speed.

【0006】よって、上記課題を解決するために本発明
の目的は、解像度に非依存な形式でビットマップフォン
トを記憶しておくことにより、メモリ容量を節約できる
出力装置及び方法を提供することにある。
Therefore, in order to solve the above problems, an object of the present invention is to provide an output device and method capable of saving memory capacity by storing a bitmap font in a format independent of resolution. is there.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに本発明の出力装置は、複数の解像度での出力が可能
な出力装置において、ビットマップフォントをピクセル
単位の物理文字サイズで記憶する記憶手段と、出力すべ
き文字の指定された論理文字サイズをピクセル単位の物
理文字サイズに変換する文字サイズ単位変換手段と、前
記変換された物理文字サイズに対応するビットマップフ
ォントがあるか否かを判定する判定手段と、を有するこ
とを特徴とする。
In order to achieve the above object, an output device of the present invention stores a bitmap font in a physical character size of a pixel unit in the output device capable of outputting at a plurality of resolutions. Whether there is a storage means, a character size unit conversion means for converting a designated logical character size of a character to be output into a physical character size in pixels, and whether or not there is a bitmap font corresponding to the converted physical character size Determination means for determining.

【0008】また、上記目的を達成するために本発明の
出力方法は、ビットマップフォントをピクセル単位の物
理文字サイズで記憶する記憶手段を利用し、複数の解像
度での出力が可能な出力方法において、出力すべき文字
の指定された論理文字サイズをピクセル単位の物理文字
サイズに変換する文字サイズ単位変換工程と、前記変換
された物理文字サイズに対応するビットマップフォント
があるか否かを判定する判定工程と、を有することを特
徴とする。
In order to achieve the above object, the output method of the present invention uses a storage means for storing a bitmap font in a physical character size of a pixel unit, and is an output method capable of outputting at a plurality of resolutions. A character size unit conversion step of converting a specified logical character size of a character to be output into a physical character size in pixels, and determining whether or not there is a bitmap font corresponding to the converted physical character size And a determination step.

【0009】[0009]

【発明の実施の形態】図1は、本実施例に適用されるレ
ーザビームプリンタ(以下、LBPと略す)の内部構造
を示す断面図で、このLBPは不図示のデータ源から文
字パターンの登録や定型書式(フォームデータ)などの
登録が行える。同図において、1000はLBP本体で
あり、外部に接続されているホストコンピュータ(図2
の201)から供給される文字情報(文字コード)やフ
ォーム情報あるいはマクロ命令などを入力して記憶する
とともに、それらの情報に従って対応する文字パターン
やフォームパターンなどを作成し、記録媒体である記録
紙上に像を形成する。1012は操作のためのスイッチ
およびLED表示器などが配されている操作パネル、1
001はLBP1000全体の制御およびホストコンピ
ュータから供給される文字情報などを解析するプリンタ
制御ユニットである。この制御ユニット1001は、主
に文字情報を対応する文字パターンのビデオ信号に変換
してレーザドライバ1002に出力する。レーザドライ
バ1002は半導体レーザ1003を駆動するための回
路であり、入力されたビデオ信号に応じて半導体レーザ
1003から発射されるレーザ光1004をオンオフ切
り替えする。レーザ1004は回転多面鏡1005で左
右方向に振られ静電ドラム1006上を走査する。これ
により、静電ドラム1006上には文字パターンの静電
潜像が形成される。この潜像はは、静電ドラム1006
周囲の現像ユニット1007により現像された後、記録
紙に転送される。この記録紙にはカットシートを用い、
カットシート記録紙はLBP1000に装着した用紙カ
セット1008に収納され、給紙ローラ1009および
搬送ローラ1010と1011とにより装置内に取り込
まれて、静電ドラム1006に供給される。
FIG. 1 is a sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP) applied to this embodiment. This LBP is a character pattern registration from a data source (not shown). You can register a standard form (form data), etc. In FIG. 2, reference numeral 1000 denotes an LBP main body, which is a host computer (FIG. 2) connected to the outside.
No. 201), the character information (character code), the form information, or the macro command is input and stored, and the corresponding character pattern or form pattern is created in accordance with the information, and on the recording paper as a recording medium. To form an image. Reference numeral 1012 denotes an operation panel on which switches for operation and an LED display are arranged.
A printer control unit 001 controls the entire LBP 1000 and analyzes character information and the like supplied from the host computer. The control unit 1001 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 1002. The laser driver 1002 is a circuit for driving the semiconductor laser 1003, and switches on and off a laser beam 1004 emitted from the semiconductor laser 1003 according to an input video signal. The laser 1004 is swung right and left by a rotary polygon mirror 1005 to scan on an electrostatic drum 1006. As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1006. This latent image is the electrostatic drum 1006.
After being developed by the surrounding developing unit 1007, it is transferred to a recording sheet. Using a cut sheet for this recording paper,
The cut sheet recording paper is stored in a paper cassette 1008 mounted on the LBP 1000, taken into the apparatus by a paper feed roller 1009 and conveyance rollers 1010 and 1011 and supplied to the electrostatic drum 1006.

【0010】また、図2は本実施例の印刷装置を示すブ
ロック図である。
FIG. 2 is a block diagram showing the printing apparatus of this embodiment.

【0011】201はホストコンピュータでありプリン
トデータ及び制御データからなる印刷情報を印刷装置2
02に出力するものである。
Reference numeral 201 denotes a host computer which prints print information including print data and control data.
It is output to 02.

【0012】202は印刷装置であり、図1の1000
に相当する。本実施例においては印字データの解析処理
において解像度を300dpiと600dpiとの2つ
に設定できる。解像度はパネルでの指定またはホストコ
ンピュータ201から受信した解像度情報に従い解像度
を設定される場合と自動解像度変換処理により設定され
る場合がある。本実施例において自動解像度変換処理と
は高解像度時に1ページ分のラスタメモリが確保できな
い場合に印字イメージをバンドに分割し処理をするバン
ディング処理を行なうが、該処理中にオーバーランが発
生すると判断された場合自動的に解像度を低解像度にし
1ページ分のラスタメモリを確保することでフルバンド
処理に切替え、オーバーランを回避する処理を指す。
Reference numeral 202 denotes a printing apparatus, which is 1000 in FIG.
Is equivalent to In the present embodiment, the resolution can be set to two of 300 dpi and 600 dpi in the print data analysis process. The resolution may be set according to the designation on the panel or the resolution information received from the host computer 201, or may be set by the automatic resolution conversion processing. In the present embodiment, the automatic resolution conversion process is a banding process in which a print image is divided into bands and processed when a raster memory for one page cannot be secured at high resolution, but it is determined that an overrun occurs during the process. In this case, the resolution is automatically set to a low resolution and a raster memory for one page is secured to switch to the full band processing and to avoid overrun.

【0013】生成された印字イメージは解像度変換部2
12によってエンジン解像度に変換される。印刷装置2
01は大きく分けて、受信バッファ205とフォーマッ
タ制御部203とプリンタエンジン部204からなる。
The generated print image has a resolution conversion unit 2
Converted to engine resolution by 12. Printing device 2
01 is roughly divided into a reception buffer 205, a formatter control unit 203, and a printer engine unit 204.

【0014】受信バッファは、ホストコンピュータから
送信されてくるデータを受け取り、フォーマッタ制御部
203に送る。
The receive buffer receives the data transmitted from the host computer and sends it to the formatter control unit 203.

【0015】フォーマッタ制御部203はユーザーの指
定またはホストコンピュータ201から受信した印字情
報の解析処理を指定された解像度で行なう。そして、フ
ォント選択部207から得たSdotフォントのビット
マップデータやスケーラブルフォントの印字情報をビッ
トマップ生成部211に渡してビットマップデータに展
開し、パラメータ演算部210で算出した文字情報値を
元に印刷イメージを作成し、解像度変換部212を経て
プリンタエンジン部204に送る。また、高解像度に
は、印字データの解析情報よりオーバーランの発生を予
測し、オーバーランが発生すると予測されるならば自動
解像度変換処理を行う。フォーマッタ制御部203はC
PU、RAM、ROM等で構成される。また、フォーマ
ッタ情報部はサイズ単位変換部206、フォント選択部
207、フォントテーブル部209、パラメータ演算部
210及びビットマップ生成部211を含む。
The formatter control unit 203 performs the analysis process of the print information received from the host computer 201 or specified by the user at the specified resolution. Then, the bitmap data of the Sdot font and the print information of the scalable font obtained from the font selection unit 207 are passed to the bitmap generation unit 211 to be expanded into bitmap data, and based on the character information value calculated by the parameter calculation unit 210. A print image is created and sent to the printer engine unit 204 via the resolution conversion unit 212. For high resolution, the occurrence of overrun is predicted from the analysis information of the print data, and if it is predicted that overrun will occur, automatic resolution conversion processing is performed. The formatter control unit 203 uses C
It is composed of PU, RAM, ROM and the like. The formatter information section includes a size unit conversion section 206, a font selection section 207, a font table section 209, a parameter calculation section 210, and a bitmap generation section 211.

【0016】プリンタエンジン部204は、印字情報部
を永久画像を形成させるための印字機能を備えている。
The printer engine section 204 has a print function for forming a permanent image on the print information section.

【0017】本発明の文字サイズ単位変換手段であると
ころのサイズ単位変換部206ではフォーマッタ解析部
203より解像度やピクセルサイズ、論理文字サイズを
得、物理文字サイズに変換しフォント選択部207へ渡
す。
The size unit conversion unit 206, which is the character size unit conversion means of the present invention, obtains the resolution, pixel size, and logical character size from the formatter analysis unit 203, converts them into physical character sizes, and transfers them to the font selection unit 207.

【0018】本発明のSdotフォント判定手段である
ところのフォント選択部207はフォントデータの管
理、フォントの選択、フォントテーブルの作成などフォ
ントデータに関する管理を行なう。フォントデータ部2
08、フォントテーブル部209を含む。
The font selection unit 207, which is the Sdot font determining means of the present invention, manages font data such as font data management, font selection, and font table creation. Font data part 2
08, a font table unit 209 is included.

【0019】本発明のフォントリンク手段であるところ
のフォントテーブル部209はフォントテーブルを格納
する。フォントテーブルにはフォント情報の他、スケー
ラブルフォントとSdotフォント間のリンク情報を持
っている。フォントテーブルの一例を図4に記す。図4
ではスケーラブルフォントのテーブルにSdotフォン
トのテーブルへのポインタという形でリンク情報を表し
ている。
The font table section 209, which is the font linking means of the present invention, stores a font table. In addition to font information, the font table has link information between scalable fonts and Sdot fonts. An example of the font table is shown in FIG. FIG.
In the table of scalable fonts, link information is represented in the form of a pointer to the table of Sdot fonts.

【0020】フォントデータ部208は、フォントデー
タを格納する。
The font data section 208 stores font data.

【0021】本発明のフォント情報計算手段であるとこ
ろのパラメータ演算部210は文字の論理レイアウト情
報値をスケーラブルフォントの基準文字情報値より算出
する。
The parameter calculation unit 210, which is the font information calculation means of the present invention, calculates the logical layout information value of the character from the reference character information value of the scalable font.

【0022】ビットマップ生成部211は、フォーマッ
タ生成部203から与えられたスケーラブルフォントの
制御点データからビットマップパターンを生成する。
The bitmap generation unit 211 generates a bitmap pattern from the control point data of the scalable font provided by the formatter generation unit 203.

【0023】解像度変換部212にはフォーマット解析
部203で作成された印字イメージをエンジン解像度に
変換をしプリンタエンジン部204に送る。本実施例で
は、プリンタのエンジン解像度が600dpiなので、
600dpiでビットマップデータが生成された場合
は、そのままエンジンに出力するが、300dpiで生
成された場合は、スムージング処理や拡大処理を施こし
てエンジンに出力する。
The resolution conversion unit 212 converts the print image created by the format analysis unit 203 into engine resolution and sends it to the printer engine unit 204. In this embodiment, since the printer engine resolution is 600 dpi,
When the bitmap data is generated at 600 dpi, it is output to the engine as it is, but when it is generated at 300 dpi, it is subjected to smoothing processing and enlargement processing and output to the engine.

【0024】図3は本発明であるサイズ単位変換部20
6、フォント選択部207、パラメータ演算部210を
説明するフローチャートであり、図2においてホストコ
ンピュータ201から印刷装置202へ印字情報が送信
された時の印刷装置202の印刷処理を示す。
FIG. 3 shows a size unit converter 20 according to the present invention.
6 is a flowchart for explaining the font selection unit 207 and the parameter calculation unit 210, showing the printing process of the printing apparatus 202 when print information is transmitted from the host computer 201 to the printing apparatus 202 in FIG. 2.

【0025】なお、フローチャートに係るプログラムは
ROMに記憶され、該プログラムはCPUによって制御
される。
The program relating to the flowchart is stored in the ROM, and the program is controlled by the CPU.

【0026】ホストからの印刷データを受信する(S3
01)。
Receive print data from the host (S3)
01).

【0027】フォーマッタ解析部203で、印刷データ
を解析する(S302)。
The formatter analysis unit 203 analyzes the print data (S302).

【0028】印刷データ内にスケーラブルフォントの選
択があればフォント選択部にフォント情報を送り、フォ
ントの選択する(S303)、選択されたスケーラブル
フォントの基準文字情報値をパラメータ演算部210に
送り論理レイアウト情報値を得る(S304)。
If a scalable font is selected in the print data, the font information is sent to the font selection section, the font is selected (S303), the reference character information value of the selected scalable font is sent to the parameter calculation section 210, and the logical layout is performed. An information value is obtained (S304).

【0029】印字データ中で指定されている論理文字サ
イズをサイズ単位変換部206に渡し、物理文字サイズ
に変換する(S305)。
The logical character size specified in the print data is passed to the size unit conversion unit 206 and converted into a physical character size (S305).

【0030】サイズ単位変換部206はS304で算出
した物理文字サイズをフォント選択部207に渡す。フ
ォント選択部207は既に選択されているスケーラブル
フォントに対応するSdotフォントの中から該物理文
字サイズと同じ物理文字サイズを持つSdotフォント
をフォントテーブル部209より検索する(S30
6)。
The size unit conversion unit 206 transfers the physical character size calculated in S304 to the font selection unit 207. The font selection unit 207 searches the Sdot font having the same physical character size as the Sdot font corresponding to the already selected scalable font from the font table unit 209 (S30).
6).

【0031】もし、該当するSdotフォントが存在す
れば、該Sdotフォントをフォーマッタ解析部203
に渡す(S307)。
If the corresponding Sdot font exists, the Sdot font is converted to the formatter analysis unit 203.
(S307).

【0032】もし、該当するSdotフォントがなけれ
ばスケーラブルフォントをフォーマッタ解析部203に
渡す(S308)。
If there is no corresponding Sdot font, the scalable font is passed to the formatter analysis unit 203 (S308).

【0033】フォーマッタ解析部203において、S3
07又はS308で選択されたフォントを用い、S30
4で作成された文字レイアウト情報値をもとに印刷デー
タをビットマップデータに展開する(S309)。
In the formatter analysis unit 203, S3
07 or S30, using the font selected in S308
The print data is expanded into bitmap data based on the character layout information value created in step 4 (S309).

【0034】展開されたビットマップデータに基づき、
必要があれば解像度変換部212で変換して印刷する
(S310)。
Based on the expanded bitmap data,
If necessary, the resolution is converted by the resolution converter 212 and printed (S310).

【0035】なお、上記のフローチャートにおいて、S
303とS304の順序が変わらなければ、S303と
S305の順序は入れ替わっても良い。
In the above flow chart, S
If the order of 303 and S304 does not change, the order of S303 and S305 may be exchanged.

【0036】(他の発明の実施の形態)また、図5は本
実施例の印刷装置を示すブロック図である。
(Other Embodiments of the Invention) FIG. 5 is a block diagram showing a printing apparatus of this embodiment.

【0037】501はホストコンピュータでありプリン
トデータ及び制御データからなる印刷情報を印刷装置5
02に出力するものである。
Reference numeral 501 denotes a host computer, which prints print information consisting of print data and control data by the printer 5.
It is output to 02.

【0038】502は印刷装置であり、図1の1000
に相当する。本実施例においては印字データの解析処理
において解像度を300dpiと600dpiとの2つ
に設定できる。解像度はパネルでの指定またはホストコ
ンピュータ201から受信した解像度情報に従い解像度
を設定される場合と自動解像度変換処理により設定され
る場合がある。本実施例において自動解像度変換処理と
は高解像度時に1ページ分のラスタメモリが確保できな
い場合に印字イメージをバンドに分割し処理をするバン
ディング処理を行なうが、該処理中にオーバランが発生
すると判断された場合自動的に解像度を低解像度にし1
ページ分のラスタメモリを確保することでフルバンド処
理に切替え、オーバランを回避する処理を指す。
Reference numeral 502 denotes a printing apparatus, which is 1000 in FIG.
Is equivalent to In the present embodiment, the resolution can be set to two of 300 dpi and 600 dpi in the print data analysis process. The resolution may be set according to the designation on the panel or the resolution information received from the host computer 201, or may be set by the automatic resolution conversion processing. In the present embodiment, the automatic resolution conversion process is a banding process in which a print image is divided into bands and processed when a raster memory for one page cannot be secured at high resolution, but it is determined that an overrun occurs during the process. If you do, the resolution is automatically lowered to 1
It refers to the process that avoids overrun by switching to full band processing by securing raster memory for pages.

【0039】生成された印字イメージは解像度変換部2
12によってエンジン解像度に変換される。印刷装置5
01は大きく分けて、受信バッファ505とフォーマッ
タ制御部503とプリンタエンジン部504からなる。
The generated print image is the resolution conversion unit 2
Converted to engine resolution by 12. Printer 5
01 is roughly divided into a reception buffer 505, a formatter control unit 503, and a printer engine unit 504.

【0040】受信バッファは、ホストコンピュータから
送信されてくるデータを受け取り、フォーマッタ解析部
503に送る。
The reception buffer receives the data transmitted from the host computer and sends it to the formatter analysis unit 503.

【0041】フォーマッタ制御部503はユーザの指定
またはホストコンピュータ501から受信した印字情報
の解析処理を指定された解像度で行なう。そして、印字
情報をビットマップデータに展開し、解像度変換部51
3を経てプリンタエンジン部504に送る。また、高解
像度には、印字データの解析情報よりオーバーランの発
生を予測し、オーバーランが発生すると予測されるなら
ば自動解像度変換処理を行う。フォーマッタ制御部50
3はCPU、RAM、ROM等で構成される。また、フ
ォーマッタ情報部503はサイズ単位変換部506、フ
ォント選択部507、パラメータ演算部511及びビッ
トマップ生成部512を含む。
The formatter control unit 503 performs user-specified processing or analysis processing of print information received from the host computer 501 at a specified resolution. Then, the print information is expanded into bitmap data, and the resolution conversion unit 51
3 to the printer engine unit 504. For high resolution, the occurrence of overrun is predicted from the analysis information of the print data, and if it is predicted that overrun will occur, automatic resolution conversion processing is performed. Formatter control unit 50
Reference numeral 3 includes a CPU, a RAM, a ROM and the like. The formatter information unit 503 also includes a size unit conversion unit 506, a font selection unit 507, a parameter calculation unit 511, and a bitmap generation unit 512.

【0042】プリンタエンジン部504は、印字情報部
を永久画像を形成させるための印字機能を備えている。
The printer engine section 504 has a printing function for forming a permanent image on the print information section.

【0043】本発明の文字サイズ単位変換手段であると
ころのサイズ単位変換部506ではフォーマッタ解析部
503より解像度やピクセルサイズ、論理文字サイズを
得、物理文字サイズに変換しフォント選択部507へ渡
す。
The size unit conversion unit 506, which is the character size unit conversion means of the present invention, obtains the resolution, pixel size, and logical character size from the formatter analysis unit 503, converts them into physical character sizes, and transfers them to the font selection unit 507.

【0044】本発明のSdotフォント判定手段である
ところのフォント選択部507はフォントデータの管
理、フォントの選択、フォントテーブルの作成などフォ
ントデータに関する管理を行なう。フォントデータ部5
09、フォントテーブル部508及びフォントキャッシ
ュ部510を含む。
The font selection unit 507, which is the Sdot font determination means of the present invention, manages font data, font selection, font table creation, and other font data management. Font data section 5
09, a font table unit 508, and a font cache unit 510.

【0045】本発明のフォントリンク手段であるところ
のフォントテーブル部508はフォントテーブルを格納
する。フォントテーブルにはスケーラブルフォントとS
dotフォント間のリンク情報を持っている。フォント
テーブルの一例を図5に示す。図5ではスケーラブルフ
ォントのテーブルにSdotフォントのテーブルへのポ
インタという形でリンク情報を表している。
The font table section 508, which is the font linking means of the present invention, stores a font table. The font table contains scalable fonts and S
It has link information between dot fonts. An example of the font table is shown in FIG. In FIG. 5, the link information is represented in the scalable font table in the form of a pointer to the Sdot font table.

【0046】フォントデータ部509は、フォントデー
タを格納する。
The font data section 509 stores font data.

【0047】フォントキャッシュ部510はビットマッ
プ生成部511で生成されたビットマップパターンを記
憶装置上に格納し、フォント選択部の要求にしたがい指
定されたフォントを検索し渡す。記憶装置はRAM、ハ
ードディスク等何でも良い。
The font cache unit 510 stores the bitmap pattern generated by the bitmap generation unit 511 in the storage device, retrieves the designated font in accordance with the request from the font selection unit, and delivers it. The storage device may be a RAM, a hard disk, or anything.

【0048】本発明のフォント情報計算手段であるとこ
ろのパラメータ演算部511は文字の論理レイアウト情
報値をスケーラブルフォントの基準文字情報値より算出
する。
The parameter calculation unit 511, which is the font information calculation means of the present invention, calculates the logical layout information value of the character from the reference character information value of the scalable font.

【0049】ビットマップ生成部511はスケーラブル
フォントの制御点データからビットマップパターンを生
成する。
The bitmap generation unit 511 generates a bitmap pattern from the control point data of the scalable font.

【0050】解像度変換部212はフォーマット解析部
203で作成された印字イメージをエンジン解像度に変
換をしプリンタエンジン部204に送る。本実施例で
は、プリンタのエンジン解像度が600dpiなので、
600dpiでビットマップデータが生成された場合
は、そのままエンジンに出力するが、300dpiで生
成された場合は、スムージング処理や拡大処理を施こし
てエンジンに出力する。
The resolution converter 212 converts the print image created by the format analyzer 203 into engine resolution and sends it to the printer engine 204. In this embodiment, since the printer engine resolution is 600 dpi,
When the bitmap data is generated at 600 dpi, it is output to the engine as it is, but when it is generated at 300 dpi, it is subjected to smoothing processing and enlargement processing and output to the engine.

【0051】図6は本発明であるサイズ単位変換部50
6、フォント選択部507を説明するフローチャートで
あり、図5においてホストコンピュータ501から印刷
装置502へ印字情報が送信された時の印刷装置502
の印刷処理を示す。
FIG. 6 shows a size unit converter 50 according to the present invention.
6 is a flowchart illustrating a font selection unit 507, which is a printing apparatus 502 when print information is transmitted from the host computer 501 to the printing apparatus 502 in FIG.
Shows the print processing of.

【0052】なお、フローチャートに係るプログラムは
ROMに記憶され、該プログラムはCPUによって制御
される。
The program according to the flowchart is stored in the ROM, and the program is controlled by the CPU.

【0053】ホストからの印刷データを受信する(S6
01)。
Receive print data from the host (S6)
01).

【0054】フォーマッタ解析部503で、印刷データ
を解析する(S602)。
The formatter analysis unit 503 analyzes the print data (S602).

【0055】印字データ中で指定されている論理文字サ
イズをサイズ単位変換部506に渡し、物理文字サイズ
に変換する(S603)。
The logical character size specified in the print data is passed to the size unit conversion unit 506 and converted to the physical character size (S603).

【0056】サイズ単位変換部506はS604で算出
した物理文字サイズをフォント選択部507に渡す。フ
ォント選択部507は指定されたスケーラブルフォント
に対応するキャッシュ内のフォントの中から該物理文字
サイズのビットマップパターンをフォントキャッシュ部
510より検索する(S604)。
The size unit conversion unit 506 transfers the physical character size calculated in S604 to the font selection unit 507. The font selection unit 507 searches the font cache unit 510 for a bitmap pattern of the physical character size from the fonts in the cache corresponding to the specified scalable font (S604).

【0057】もし、該当するビットマップパターンが存
在すれば(S605)、該ビットマップパターンをフォ
ーマッタ解析部503に渡す(S606)。
If the corresponding bitmap pattern exists (S605), the bitmap pattern is passed to the formatter analysis unit 503 (S606).

【0058】もし、該当するビットマップパターンがな
ければ、該当するスケーラブルフォントをビットマップ
生成部511に渡し、パターンを生成する。生成したパ
ターンはフォントキャッシュに保存しておく(S60
7)。
If there is no corresponding bitmap pattern, the corresponding scalable font is passed to the bitmap generation unit 511 to generate the pattern. The generated pattern is saved in the font cache (S60
7).

【0059】次にフォント選択部507にスケーラブル
フォントの基準文字情報値を要求する。
Next, the font selecting unit 507 is requested for the reference character information value of the scalable font.

【0060】フォント選択部507はフォントテーブル
部508より指定されたスケーラブルフォントをフォン
トテーブル部508より検索し、フォントデータ部50
9より該基準文字情報値を得、フォーマッタ解析部50
3に返す(S608)。
The font selection unit 507 searches the font table unit 508 for a scalable font specified by the font table unit 508, and the font data unit 50.
The reference character information value is obtained from 9, and the formatter analysis unit 50
It returns to 3 (S608).

【0061】フォーマッタ解析部503はS608で得
られた基準文字情報をパラメータ解析部511に送り、
論理文字情報値を計算する(S609)。
The formatter analysis unit 503 sends the reference character information obtained in S608 to the parameter analysis unit 511,
The logical character information value is calculated (S609).

【0062】フォーマッタ解析部503において、S6
06又はS607で生成されたビットマップパターン及
び、S609で得られた論理レイアウト情報値を用い、
印刷データをビットマップデータに展開する(S61
0)。
In the formatter analysis unit 503, S6
06 or using the bitmap pattern generated in S607 and the logical layout information value obtained in S609,
The print data is expanded into bitmap data (S61)
0).

【0063】展開されたビットマップデータに基づき、
必要があれば解像度変換部212で変換して印刷する
(S611)。
Based on the expanded bitmap data,
If necessary, the resolution is converted by the resolution converter 212 and printed (S611).

【0064】なお、上記の例では基準情報値をスケーラ
ブルフォントの検索を行なうことで得ているが、フォン
トキャッシュ内に予め該基準文字情報値をキャッシュし
ておいても良い。
Although the reference information value is obtained by searching the scalable font in the above example, the reference character information value may be cached in advance in the font cache.

【0065】なお、上記の例では基準文字情報値をスケ
ーラブルフォントの検索を行なうことで得ているが、フ
ォントキャッシュ内に予め該基準文字情報値の格納領域
へのポインタ等をキャッシュしておいても良い。
In the above example, the reference character information value is obtained by searching the scalable font. However, a pointer to the storage area of the reference character information value is cached in the font cache in advance. Is also good.

【0066】なお、本発明は、複数の機器から構成され
るシステムに適用しても、1つの機器からなる装置に適
用しても構わない。また、本発明はシステムあるいは装
置にプログラムを供給することによって実施される場合
にも適用できることは言うまでもない。この場合、本発
明に係わるプログラムを格納した媒体が、本発明を構成
することになる。そして、該記憶媒体からそのプログラ
ムをシステム或は装置に読み出すことによって、そのシ
ステム或いは装置が特定の態様で機能する。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case of being implemented by supplying a program to a system or an apparatus. In this case, the medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium to the system or device, the system or device functions in a specific mode.

【0067】[0067]

【発明の効果】以上説明したように、本発明によれば複
数の解像度で出力が可能な出力装置及び方法において、
解像度非依存でビットマップフォントの使用が可能とな
り、ビットマップフォントを格納する記憶領域の省資源
化を行なうことができ、コストパフォーマンスの高い出
力装置及び方法の実現が可能である。
As described above, according to the present invention, in the output device and method capable of outputting at a plurality of resolutions,
It is possible to use the bitmap font independently of the resolution, save resources in the storage area for storing the bitmap font, and realize an output device and method with high cost performance.

【0068】以上説明したように、本発明によれば複数
の解像度で出力が可能な出力装置及び方法において、解
像度非依存型でフォントキャッシュの検索を行なうこと
で、キャッシュフォントのヒット率の向上及びキャッシ
ュフォントを格納する記憶領域の省資源化を行なうこと
ができ、コストパフォーマンスの高い出力装置及び方法
の実現が可能である。
As described above, according to the present invention, in the output device and method capable of outputting at a plurality of resolutions, the font cache is searched in a resolution-independent manner to improve the hit ratio of cache fonts. It is possible to save resources in a storage area for storing cache fonts, and to realize an output device and method with high cost performance.

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

【図1】本発明の一実施例である印刷装置であるレーザ
ビームプリンタの断面図である。
FIG. 1 is a sectional view of a laser beam printer which is a printing apparatus according to an embodiment of the present invention.

【図2】本実施例1の印刷装置の基本構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing the basic configuration of the printing apparatus according to the first embodiment.

【図3】実施例における印刷処理を表すフローチャート
である。
FIG. 3 is a flowchart illustrating a printing process according to an embodiment.

【図4】本実施例の優先フォントテーブルの一例を示す
図である。
FIG. 4 is a diagram showing an example of a priority font table of this embodiment.

【図5】本実施例2の印刷装置の基本構成を示すブロッ
ク図である。
FIG. 5 is a block diagram showing the basic arrangement of a printing apparatus according to the second embodiment.

【図6】本実施例2における印刷処理を表すフローチャ
ートである。
FIG. 6 is a flowchart illustrating print processing according to the second embodiment.

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

201 ホストコンピュータ 202 印刷装置(レーザビームプリンタ) 203 フォーマッタ制御部 204 プリンタエンジン部 205 受信バッファ 206 サイズ単位変換部 207 フォント選択部 208 フォントデータ部 209 フォントテーブル部 210 パラメータ演算部 211 ビットマップ生成部 212 解像度変換部 501 ホストコンピュータ 502 印刷装置(レーザビームプリンタ) 503 フォーマッタ制御部 504 プリンタエンジン部 505 受信バッファ 506 サイズ単位変換部 507 フォント選択部 508 フォントテーブル部 509 フォントデータ部 510 フォントキャッシュ部 511 パラメータ演算部 512 ビットマップ生成部 1000 レーザビームプリンタ 1001 プリンタ制御ユニット 1002 レーザドライバ 1003 半導体レーザ 1004 レーザ光 1005 回転多面鏡 1006 静電ドラム 1007 現像ユニット 1008 用紙カセット 1009 給紙ローラ 1010 搬紙ローラ 1011 搬紙ローラ 1012 操作パネル 201 host computer 202 printing device (laser beam printer) 203 formatter control unit 204 printer engine unit 205 reception buffer 206 size unit conversion unit 207 font selection unit 208 font data unit 209 font table unit 210 parameter calculation unit 211 bitmap generation unit 212 resolution Conversion unit 501 Host computer 502 Printing device (laser beam printer) 503 Formatter control unit 504 Printer engine unit 505 Receive buffer 506 Size unit conversion unit 507 Font selection unit 508 Font table unit 509 Font data unit 510 Font cache unit 511 Parameter calculation unit 512 Bitmap generation unit 1000 Laser beam printer 1001 Printer control unit 1002 Laser driver 1003 Semiconductor laser 1004 Laser light 1005 Rotating polygon mirror 1006 Electrostatic drum 1007 Developing unit 1008 Paper cassette 1009 Paper feeding roller 1010 Paper feeding roller 1011 Paper feeding roller 1012 Operation panel

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 複数の解像度での出力が可能な出力装置
において、 ビットマップフォントをピクセル単位の物理文字サイズ
で記憶する記憶手段と、 出力すべき文字の指定された論理文字サイズをピクセル
単位の物理文字サイズに変換する文字サイズ単位変換手
段と、 前記変換された物理文字サイズに対応するビットマップ
フォントがあるか否かを判定する判定手段と、を有する
ことを特徴とする出力装置。
1. In an output device capable of outputting at a plurality of resolutions, a storage means for storing a bitmap font in a physical character size in pixels, and a specified logical character size of a character to be output in pixels. An output device comprising: a character size unit conversion means for converting into a physical character size; and a judgment means for judging whether or not there is a bitmap font corresponding to the converted physical character size.
【請求項2】 前記ビットマップフォントは、使用頻度
の高い予め展開されているスケーラブルフォントの一部
であることを特徴とする請求項1記載の出力装置。
2. The output device according to claim 1, wherein the bitmap font is a part of a scalable font which is frequently used and is developed in advance.
【請求項3】 前記ビットマップフォントはスケーラブ
ルフォントから展開されたキャッシュされているビット
マップフォントであることを特徴とする請求項1記載の
出力装置。
3. The output device according to claim 1, wherein the bitmap font is a cached bitmap font developed from a scalable font.
【請求項4】 前記判定手段により対応するビットマッ
プフォントが存在すると判定された場合、そのビットマ
ップフォントを用いてビットマップデータを生成し、前
記判定手段により対応するビットマップフォントが存在
しないと判定された場合、スケーラブルフォントからビ
ットマップフォントを生成し、生成されたビットマップ
フォントを用いてビットマップデータを生成する生成手
段を有することを特徴とする請求項1記載の出力装置。
4. When the determination unit determines that the corresponding bitmap font exists, bitmap data is generated using the bitmap font, and the determination unit determines that the corresponding bitmap font does not exist. The output device according to claim 1, further comprising: a generating unit that generates a bitmap font from the scalable font when generated, and generates bitmap data using the generated bitmap font.
【請求項5】 前記生成手段により生成されたビットマ
ップデータに基づきか可視化出力を行う出力手段を有す
ることを特徴とする請求項4記載の出力装置。
5. The output device according to claim 4, further comprising output means for performing visual output based on the bitmap data generated by the generation means.
【請求項6】 前記出力手段はプリンタであることを特
徴とする請求項1記載の出力装置。
6. The output device according to claim 1, wherein the output unit is a printer.
【請求項7】 前記生成手段により生成されたビットマ
ップデータを前記プリンタの解像度に応じて変換する変
換手段とを有することを特徴とする請求項6記載の出力
装置。
7. The output device according to claim 6, further comprising a conversion unit that converts the bitmap data generated by the generation unit according to the resolution of the printer.
【請求項8】 前記文字サイズ変換手段は、出力すべき
解像度に応じて出力すべき文字の指定された論理文字サ
イズをピクセル単位の物理文字サイズに変換することを
特徴とする請求項1記載の出力装置。
8. The character size conversion means converts the specified logical character size of a character to be output into a physical character size in units of pixel according to the resolution to be output. Output device.
【請求項9】 ビットマップフォントをピクセル単位の
物理文字サイズで記憶する記憶手段を利用し、複数の解
像度での出力が可能な出力方法において、 出力すべき文字の指定された論理文字サイズをピクセル
単位の物理文字サイズに変換する文字サイズ単位変換工
程と、 前記変換された物理文字サイズに対応するビットマップ
フォントがあるか否かを判定する判定工程と、を有する
ことを特徴とする出力方法。
9. An output method capable of outputting at a plurality of resolutions by using a storage means for storing a bitmap font in a physical character size in units of pixels, in which a specified logical character size of a character to be output is specified in pixels. An output method comprising: a character size unit conversion step of converting to a physical character size of a unit; and a determination step of determining whether or not there is a bitmap font corresponding to the converted physical character size.
【請求項10】 前記ビットマップフォントは、使用頻
度の高い予め展開されているスケーラブルフォントの一
部であることを特徴とする請求項9記載の出力方法。
10. The output method according to claim 9, wherein the bitmap font is a part of a scalable font which is frequently used and is developed in advance.
【請求項11】 前記ビットマップフォントはスケーラ
ブルフォントから展開されたキャッシュされているビッ
トマップフォントであることを特徴とする請求項9記載
の出力方法。
11. The output method according to claim 9, wherein the bitmap font is a cached bitmap font expanded from a scalable font.
【請求項12】 前記判定工程により対応するビットマ
ップフォントが存在すると判定された場合、そのビット
マップフォントを用いてビットマップデータを生成し、
前記判定手段により対応するビットマップフォントが存
在しないと判定された場合、スケーラブルフォントから
ビットマップフォントを生成し、生成されたビットマッ
プフォントを用いてビットマップデータを生成する生成
工程を有することを特徴とする請求項9記載の出力方
法。
12. When it is determined in the determining step that a corresponding bitmap font exists, bitmap data is generated using the bitmap font,
When the determination unit determines that the corresponding bitmap font does not exist, a bitmap font is generated from the scalable font and a bitmap data is generated using the generated bitmap font. The output method according to claim 9.
【請求項13】 前記生成工程により生成されたビット
マップデータを出力手段に出力する出力工程を有するこ
とを特徴とする請求項12記載の出力方法。
13. The output method according to claim 12, further comprising an output step of outputting the bitmap data generated by the generation step to an output means.
【請求項14】 前記出力手段はプリンタであることを
特徴とする請求項13記載の出力方法。
14. The output method according to claim 13, wherein the output means is a printer.
【請求項15】 前記生成工程により生成されたビット
マップデータを前記プリンタの解像度に応じて変換する
変換工程とを有することを特徴とする請求項13記載の
出力方法。
15. The output method according to claim 13, further comprising a conversion step of converting the bitmap data generated by the generation step according to the resolution of the printer.
【請求項16】 前記文字サイズ変換工程は、出力すべ
き解像度に応じて出力すべき文字の指定された論理文字
サイズをピクセル単位の物理文字サイズに変換すること
を特徴とする請求項9記載の出力方法。
16. The character size conversion step converts a specified logical character size of a character to be output according to a resolution to be output into a physical character size in units of pixels. output method.
JP7177379A 1995-07-13 1995-07-13 Output device and method Withdrawn JPH0930059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7177379A JPH0930059A (en) 1995-07-13 1995-07-13 Output device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7177379A JPH0930059A (en) 1995-07-13 1995-07-13 Output device and method

Publications (1)

Publication Number Publication Date
JPH0930059A true JPH0930059A (en) 1997-02-04

Family

ID=16029919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7177379A Withdrawn JPH0930059A (en) 1995-07-13 1995-07-13 Output device and method

Country Status (1)

Country Link
JP (1) JPH0930059A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006088561A (en) * 2004-09-24 2006-04-06 Fuji Xerox Co Ltd Image processing apparatus and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006088561A (en) * 2004-09-24 2006-04-06 Fuji Xerox Co Ltd Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
US6247028B1 (en) Controlling attributes of pre-registered form data to match those of data to be printed with the form data
JPH111029A (en) Color print system, color printer, and computer readable recording medium storing computer executable program
JP3634447B2 (en) Image processing apparatus and method
JP2610993B2 (en) Information processing apparatus and method
US6016155A (en) Character processing apparatus, character processing method, and memory
JPH09325867A (en) Printing controlling method, and printing system
JPH10129050A (en) Printing processor
JPH07168681A (en) Pdl data processor and its control method, and pattern expanding device
JPH0930059A (en) Output device and method
JP3308663B2 (en) Image forming device
JP2000335021A (en) Image processing apparatus and method
JP3015133B2 (en) Print control apparatus and method
JP3204136B2 (en) Image processing apparatus and compression processing method
US6246795B1 (en) Image processing apparatus and method
JP3727962B2 (en) Printing apparatus and printing method
JPH08234949A (en) Image processor and drawing method therefor
JP2737880B2 (en) Character processing apparatus and method
JP3056948B2 (en) PRINTING APPARATUS, CONTROLLER THEREOF, AND METHOD OF CONTROLLING PRINTING APPARATUS
JPH07104954A (en) Printer and control method therefor
JP3143520B2 (en) Character processing apparatus and method
JPH08290627A (en) Method and apparatus for printing
JP3495877B2 (en) Printer control system, printer control device and their methods
JPH1086459A (en) Print controlling apparatus, print controlling method therefor, and memory medium stored with program readable by computer
JP2942117B2 (en) Output device
JP3728083B2 (en) Image output apparatus and image output method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021001