JPH07156448A - Printer - Google Patents

Printer

Info

Publication number
JPH07156448A
JPH07156448A JP5308270A JP30827093A JPH07156448A JP H07156448 A JPH07156448 A JP H07156448A JP 5308270 A JP5308270 A JP 5308270A JP 30827093 A JP30827093 A JP 30827093A JP H07156448 A JPH07156448 A JP H07156448A
Authority
JP
Japan
Prior art keywords
data
character
thinning
bit map
bitmap data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5308270A
Other languages
Japanese (ja)
Inventor
Akihito Sato
彰人 佐藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP5308270A priority Critical patent/JPH07156448A/en
Publication of JPH07156448A publication Critical patent/JPH07156448A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To remove deterioration in quality of a character owing to quantization by providing a means or the like wherein a data read out from a storage means is processed by smoothing, and restored to a bit map data conforming to output resolution. CONSTITUTION:A character device 111 generates a character data using an outline font in conformity with output resolution based on information sent from an external device 120, and transfers it to a thinning out processor 112 as a bit map data. The thining out processor 112 stores the character data processed by thinning out in a memory 113 by using a specific thinning out processing method. The bit map data is a bit map data of the character data generated by using the outline font in the character generation device 111. By thinning out all bits of the bit map data longitudinally and laterally respectively by each one dot interval, the bit map data is obtained.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字、画像などの出力
を行う印字装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device for outputting characters, images and the like.

【0002】[0002]

【従来の技術】特開平4−301469号公報で開示の
印字装置のように、出力解像度よりも低い解像度の文字
データを印字装置内で生成、もしくは外部装置から受け
取り、前記文字データに直接スムージング処理を伴う展
開処理を施して、所望の高解像度出力を得る印字装置が
ある。
2. Description of the Related Art As in the printer disclosed in Japanese Patent Laid-Open No. 4-301469, character data having a resolution lower than the output resolution is generated in the printer or received from an external device, and the character data is directly smoothed. There is a printing device that obtains a desired high-resolution output by performing a development process involving.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前記装
置において、前記文字データをアウトラインフォントを
用いて生成する場合、小さい文字データになると、例え
ば、図9(a)に示す解像度600dpi、文字サイズ
4ポイントのビットマップデータ901のように、文字
生成時の演算過程で生ずる量子化誤差の影響で文字品質
が劣化してしまう。
However, in the above apparatus, when the character data is generated by using the outline font, if the character data becomes small, for example, the resolution is 600 dpi and the character size is 4 points shown in FIG. 9A. As in the bit map data 901, the character quality is deteriorated due to the influence of the quantization error generated in the calculation process at the time of character generation.

【0004】従って、前記劣化したビットマップデータ
901にスムージング処理を伴う展開処理を施しても、
結果として得られる文字データは、図9(b)に示すビ
ットマップデータ902のように、量子化誤差による文
字品質の劣化がそのまま再現されてしまう。
Therefore, even if the deteriorated bitmap data 901 is subjected to the expansion process accompanied by the smoothing process,
In the resulting character data, the deterioration of the character quality due to the quantization error is reproduced as it is, as in the bitmap data 902 shown in FIG. 9B.

【0005】そこで、量子化誤差を小さくするために、
ビットマップデータを出力解像度と同じ解像度で生成す
れば量子化誤差が小さく押えられ文字品質が向上するわ
けであるが、その分ビットマップデータを記憶するメモ
リ容量が増え、必要となるメモリ容量は出力解像度の二
乗に比例して増大する。
Therefore, in order to reduce the quantization error,
If the bitmap data is generated with the same resolution as the output resolution, the quantization error will be suppressed and the character quality will be improved, but the memory capacity for storing the bitmap data will increase, and the required memory capacity will be output. It increases in proportion to the square of the resolution.

【0006】本発明はこの様な問題に鑑みてなされたも
のであって、その目的とするところは、アウトラインフ
ォントを用いて文字データを生成する場合に、前記文字
データを格納するメモリ容量を増大させることなく、且
つ小さい文字データにおいても量子化による文字品質の
劣化が生じない印字装置を提供するところにある。
The present invention has been made in view of the above problems, and an object thereof is to increase the memory capacity for storing the character data when the character data is generated using an outline font. It is an object of the present invention to provide a printing device that does not cause deterioration of character quality due to quantization even in small character data.

【0007】[0007]

【課題を解決するための手段】本発明による印字装置
は、文字コードに対応づけて該文字の輪郭情報を記憶し
たアウトラインフォントから前記輪郭情報を読み出し、
ビットマップデータに変換して、文字を印字する印字装
置において、前記ビットマップデータに間引き処理を施
し、前記ビットマップデータのビット量を減ずる間引き
処理手段と、前記間引き処理手段の出力結果を記憶する
間引きビットデータ記憶手段と、印字時に、前記間引き
ビットデータ記憶手段からデータを読み出し、前記デー
タにスムージング処理を施し、出力解像度に合ったビッ
トマップデータに復元する展開手段と、を備えてなるこ
とを特徴とする印字装置。
A printer according to the present invention reads contour information from an outline font in which contour information of a character is stored in association with a character code,
In a printing device for converting characters into bitmap data and printing characters, thinning processing means for performing thinning processing on the bitmap data and reducing the bit amount of the bitmap data, and storing output results of the thinning processing means A thinning bit data storage means, and a expanding means for reading data from the thinning bit data storage means at the time of printing, performing smoothing processing on the data, and restoring the bitmap data to match the output resolution. Characteristic printing device.

【0008】また、前記間引き処理手段は、前記ビット
マップデータの縦列及び横列を所定間隔で削除するもの
であることを特徴とする。
Further, the thinning-out processing means deletes the vertical and horizontal rows of the bitmap data at predetermined intervals.

【0009】更に、また、前記間引き処理手段は、前記
ビットマップデータのn×m(n、mは自然数)マトリ
ックスを一画素に変換するものであることを特徴とす
る。
Furthermore, the thinning-out processing means is for converting an n × m (n, m is a natural number) matrix of the bitmap data into one pixel.

【0010】[0010]

【作用】量子化誤差を抑えるために、印字出力解像度に
合わせた高解像度でビットマップデータを生成し、その
後、間引き処理手段でビットマップデータを圧縮するか
ら、圧縮されたビットマップデータには量子化誤差が含
まれず、且つ記憶容量が少なくてすむ。
In order to suppress the quantization error, the bitmap data is generated with a high resolution that matches the print output resolution, and then the bitmap data is compressed by the thinning processing means. It does not include a conversion error and requires a small storage capacity.

【0011】そして、印字時に圧縮されたビットマップ
データを読み出し、出力解像度に合わせてスムーシング
を行うから、量子化誤差が含まれない高品質の印字がで
きる。
Since the bit map data compressed at the time of printing is read and smoothing is performed according to the output resolution, high quality printing without quantization error can be performed.

【0012】[0012]

【実施例】以下、本発明について実施例に基づいて詳細
に説明する。
EXAMPLES The present invention will be described in detail below based on examples.

【0013】図1は本発明による印字装置101の構成
要素を示したブロック図である。本発明による印字装置
101は、外部装置120から送られる制御情報に基づ
いてアウトラインフォントを用いて文字データを生成す
る文字生成装置111、前記文字生成装置111から得
られる文字データの間引き処理を行う間引き処理装置1
12、前記間引き処理装置112によって間引き処理を
施された文字データを格納するメモリ113、前記メモ
リ113に格納されているデータに対して、スムージン
グ処理を行いながら所望の出力解像度に展開する展開装
置114、前記展開装置によって展開された文字データ
を出力する出力装置115からなる。
FIG. 1 is a block diagram showing components of a printing apparatus 101 according to the present invention. A printing apparatus 101 according to the present invention includes a character generation device 111 that generates character data using an outline font based on control information sent from an external device 120, and a thinning process that performs a thinning process of character data obtained from the character generation device 111. Processor 1
12, a memory 113 for storing the character data thinned by the thinning processing device 112, and a decompressing device 114 for decompressing the data stored in the memory 113 to a desired output resolution while performing a smoothing process. The output device 115 outputs the character data expanded by the expansion device.

【0014】前記出力装置115は図2に示すように、
転写媒体である転写ドラム201の周囲に、マルチ走査
印字ヘッド202、転写手段である転写押圧ローラ20
3とが配置され、記録媒体である記録紙204に所望の
印字を出力する。
The output device 115, as shown in FIG.
A multi-scan print head 202 and a transfer pressing roller 20 that is a transfer unit are provided around a transfer drum 201 that is a transfer medium.
3 are arranged to output desired printing on the recording paper 204 which is a recording medium.

【0015】転写ドラム201は、マルチ走査印字ヘッ
ド202に対して一定の隙間を介して図中矢印の方向に
回転可能に支持されている。駆動はドラム駆動モーター
211により行われ、転写ドラム201上に取り付けら
れた回転エンコーダー212の出力信号で制御される。
回転エンコーダー212の出力信号はさらにマルチ走査
印字ヘッド202のインク吐出タイミング及び移動タイ
ミングの基礎となっている。
The transfer drum 201 is rotatably supported by the multi-scan print head 202 with a certain gap therebetween in the direction of the arrow in the figure. The driving is performed by a drum driving motor 211, and is controlled by an output signal of a rotary encoder 212 mounted on the transfer drum 201.
The output signal of the rotary encoder 212 is further the basis of ink ejection timing and movement timing of the multi-scan print head 202.

【0016】マルチ走査印字ヘッド202は、圧電素子
を用いる形式のマルチ走査印字ヘッドであり、インク容
器228からインク供給パイプ229でインクを供給さ
れる。また、マルチ走査印字ヘッド202は複数のノズ
ルを転写ドラム201の軸方向に一定の間隔で持ってお
り、入力されるビットマップデータに応じてインクをイ
ンク滴として図3に示す複数のノズル301、302、
303、…、から選択的に吐出する。このように構成し
たマルチ走査印字ヘッド202は記録時に転写ドラム2
01の回転に同期し、図示しないヘッド移動装置によ
り、転写ドラム201が1回転する毎に軸方向に移動す
ることにより転写ドラム201上にインク像形成を行
う。例えば本実施例では、図3に示すように、マルチ走
査印字ヘッド202に8/300インチピッチで512
本のノズルを有しており、転写ドラム201が1回転す
る毎に1/600インチ移動することにより16回転で
インク像形成を終了する。マルチ走査印字ヘッド202
はヘッド保持部材225上に固定され、移動ガイド22
6に沿って駆動モータ224により転写ドラム201の
回転に同期して移動する。
The multi-scan print head 202 is a multi-scan print head of a type using a piezoelectric element, and ink is supplied from an ink container 228 through an ink supply pipe 229. Further, the multi-scan print head 202 has a plurality of nozzles at regular intervals in the axial direction of the transfer drum 201, and the plurality of nozzles 301 shown in FIG. 302,
, 303, ... Are selectively ejected. The multi-scan print head 202 configured as described above is used for the transfer drum 2 during recording.
In synchronization with the rotation of 01, an ink image is formed on the transfer drum 201 by moving the transfer drum 201 in the axial direction every one rotation by a head moving device (not shown). For example, in this embodiment, as shown in FIG. 3, the multi-scan print head 202 has 512 pitches of 8/300 inches.
It has a number of nozzles, and moves 1/600 inch every time the transfer drum 201 makes one rotation, thereby completing the ink image formation in 16 rotations. Multi-scan print head 202
Is fixed on the head holding member 225, and the movement guide 22
6, the drive motor 224 moves in synchronism with the rotation of the transfer drum 201.

【0017】転写ドラム201上にインク像形成が終了
した後、記録紙204を搬送ローラ241により転写押
圧ローラ203まで搬送する。この状態で転写ドラム2
01と転写押圧ローラ203を当接させ、転写圧力印加
手段233によって圧力を印加し、この当接部に記録紙
204を通過させ、印加される圧力によって転写ドラム
201上のインク像を記録紙204に転写し、印字を行
う。記録紙204へのインク像の転写が終わると記録紙
204は排紙され、転写ドラム201と転写押圧ローラ
203の当接は解除される。
After the ink image formation on the transfer drum 201 is completed, the recording paper 204 is conveyed by the conveying roller 241 to the transfer pressing roller 203. Transfer drum 2 in this state
01 and the transfer pressing roller 203 are brought into contact with each other, pressure is applied by the transfer pressure applying means 233, the recording paper 204 is passed through this contact portion, and the applied pressure causes the ink image on the transfer drum 201 to be transferred onto the recording paper 204. Transfer to and print. When the transfer of the ink image to the recording paper 204 is completed, the recording paper 204 is ejected and the contact between the transfer drum 201 and the transfer pressing roller 203 is released.

【0018】次に、前記出力装置に文字データを出力す
る過程を説明する。
Next, a process of outputting character data to the output device will be described.

【0019】前記文字装置111は、外部装置120か
ら送られてくる情報に基づき、出力解像度に合わせてア
ウトラインフォントを用いた文字データを生成し、ビッ
トマップデータとして間引き処理装置112へ転送す
る。
The character device 111 generates character data using an outline font in accordance with the output resolution based on the information sent from the external device 120, and transfers it to the thinning processing device 112 as bitmap data.

【0020】前記間引き処理装置112は、次に示す間
引き処理の方法を用いて間引き処理を施した文字データ
をメモリ113に格納する。
The thinning processing device 112 stores in the memory 113 the character data subjected to the thinning processing using the thinning processing method described below.

【0021】図4は、間引き処理方法の1つの実施例
(以下、間引き処理方法1とする)を示した図で、ビッ
トマップデータ401は文字生成装置111においてア
ウトラインフォントを用いて生成された文字データのビ
ットマップデータである。前記ビットマップデータ40
1の全ドットに対して縦横各々1ドット間隔で間引くと
ビットマップデータ402が得られる、前記ビットマッ
プデータ402の間引かれた隙間をつめることにより間
引き処理を施されたビットマップデータ403が得られ
る。
FIG. 4 is a diagram showing one embodiment of the thinning-out processing method (hereinafter referred to as thinning-out processing method 1). Bit map data 401 is a character generated by the character generation device 111 using an outline font. It is bitmap data of data. Bit map data 40
Bit-map data 402 is obtained by thinning out all dots of one dot at intervals of 1 dot vertically and horizontally. Bit-map data 403 subjected to thinning processing is obtained by closing the thinned gaps of the bitmap data 402. To be

【0022】図5は、間引き処理方法のもう1つの実施
例(以下、間引き処理方法2とする)を示した図で、前
記ビットマップデータ401の全ドットに対して2×2
ドットのマトリックス(図中太線)を参照するとビット
マップデータ501が得られる。前記2×2ドットのマ
トリックスに囲まれた各々のドットの状態を見たとき
に、黒のドットが2ドット以上あった時に2×2ドット
のマトリックスを黒とし、黒のドットが1ドット以下の
時には2×2ドットのマトリックスを白とする処理を施
すと、ビットマップデータ502が得られる。前記ビッ
トマップデータ502の隙間をつめることにより間引き
処理を施されたビットマップデータ503が得られる。
FIG. 5 is a diagram showing another embodiment of the thinning-out processing method (hereinafter referred to as thinning-out processing method 2), which is 2.times.2 for all dots of the bitmap data 401.
Bit map data 501 is obtained by referring to the dot matrix (thick line in the figure). When looking at the state of each dot surrounded by the matrix of 2 × 2 dots, when there are two or more black dots, the matrix of 2 × 2 dots is set to black, and the number of black dots is 1 dot or less. Bitmap data 502 can be obtained by sometimes performing a process of making a matrix of 2 × 2 dots white. By closing the gap of the bitmap data 502, the bitmap data 503 subjected to the thinning process can be obtained.

【0023】上記に示した間引き処理方法を用いて間引
き処理を施すことにより、ドット密度は縦横方向それぞ
れ1/2に圧縮されることになり、前記文字データのデ
ータ量は1/4になる。従って、文字データを格納する
メモリの容量は、文字データを出力解像度のまま格納す
る時に比べて1/4の容量でよいことになる。
By performing the thinning-out processing using the above-described thinning-out processing method, the dot density is compressed to 1/2 in each of the vertical and horizontal directions, and the data amount of the character data becomes 1/4. Therefore, the capacity of the memory for storing the character data may be 1/4 of the capacity for storing the character data in the output resolution.

【0024】なお、図5で示した間引き処理方法は2×
2のマトリックスを参照したが、n×m(n、mは自然
数)のマトリックスを参照しても同様な効果が得られ
る。
The thinning processing method shown in FIG.
Although the matrix of 2 is referred to, the same effect can be obtained by referring to the matrix of n × m (n and m are natural numbers).

【0025】なお、本実施例では転写型の出力装置を用
いているため図4、図5に示されるビットマップデータ
を左右反転したデータを用いている。
Since a transfer type output device is used in this embodiment, the bit map data shown in FIG. 4 and FIG.

【0026】次に、前記間引き処理方法によって間引か
れた文字データに対してスムージング処理を行いながら
所望の出力解像度(本実施例では600dpi)に展開
する方法(以下、展開方法と呼ぶ)を説明する。
Next, a method of expanding the character data thinned by the thinning processing method to a desired output resolution (600 dpi in this embodiment) while performing a smoothing processing (hereinafter referred to as a developing method) will be described. To do.

【0027】文字生成装置111においてアウトライン
フォントを用いて生成された600dpiの文字データ
に、前記間引き処理方法2を用いて間引き処理を施した
文字データのドット密度は、縦横方向それぞれ1/2に
圧縮されている。よって、前記文字データを、元の60
0dpiの解像度に変換するにはドット密度を縦横それ
ぞれ2倍にすればよい。即ち、前記文字データの1ドッ
トを2×2ドットで構成されるドットパターン(以下、
補正パターンと呼ぶ)に置き換えることにより展開処理
を行うことができる。また、適正な補正パターンを選択
して置き換えることによりスムージングの効果を同時に
得ることができる。なお、補正パターンは間引き処理方
法によるため2×2ドットに限らない。
The dot density of the character data obtained by thinning the 600 dpi character data generated using the outline font in the character generation device 111 using the thinning processing method 2 is compressed to 1/2 in each of the vertical and horizontal directions. Has been done. Therefore, the character data is converted into the original 60
To convert the resolution to 0 dpi, the dot density may be doubled vertically and horizontally. That is, one dot of the character data is a dot pattern composed of 2 × 2 dots (hereinafter,
It is possible to perform the expansion process by replacing it with a correction pattern). In addition, the smoothing effect can be obtained at the same time by selecting and replacing an appropriate correction pattern. The correction pattern is not limited to 2 × 2 dots because it depends on the thinning processing method.

【0028】図11は前記補正パターンを選択する方法
を示した図である。
FIG. 11 is a diagram showing a method of selecting the correction pattern.

【0029】図11(a)は、本実施例で用いる3×3
のマトリックス(以下、参照マトリックスと呼ぶ)を示
した図で、補正パターンで置き換えるドット(以下着目
ドットと呼ぶ)が中央にくるように参照マトリックス上
にビットマップデータを置き、前記着目ドットをd0
0、d01、d10、d11の4つに分割する。
FIG. 11A shows the 3 × 3 used in this embodiment.
Of the matrix (hereinafter referred to as a reference matrix), bitmap data is placed on the reference matrix so that a dot to be replaced by a correction pattern (hereinafter referred to as a target dot) is in the center, and the target dot is d0.
It is divided into four, 0, d01, d10, and d11.

【0030】図11(b)は、前記分割されたドット
(以下、分割ドットと呼ぶ)に隣接するドット(図中矢
印が示すドット、以下、隣接ドットと呼ぶ)を示した図
で、前記分割ドットは前記隣接ドットを参照して白黒の
判断を行う。即ち、前記隣接ドットの何れか一つが黒で
あったならば分割ドットを黒、前記隣接ドットすべてが
白であったら分割ドットを白とする。但し、着目ドット
が白の時は隣接ドットとの参照は行わずに分割ドットは
すべて白とする。
FIG. 11B is a diagram showing dots (dots indicated by arrows in the drawing, hereinafter referred to as adjacent dots) adjacent to the divided dots (hereinafter referred to as divided dots). The dot is judged to be black and white by referring to the adjacent dot. That is, if any one of the adjacent dots is black, the divided dot is black, and if all of the adjacent dots are white, the divided dot is white. However, when the target dot is white, the divided dots are all white without reference to adjacent dots.

【0031】例えば、図11(c)に示すようにD00
=黒、D01=黒、D02=黒、D10=黒、D11
(着目ドット)=1、D12=黒、D20=黒、D21
=白、D22=白であったときに、d00、d01、d
10、d11の参照結果はそれぞれ黒、白、黒、黒とな
る。
For example, as shown in FIG. 11C, D00
= Black, D01 = Black, D02 = Black, D10 = Black, D11
(Dot of interest) = 1, D12 = black, D20 = black, D21
= White, D22 = white, d00, d01, d
The reference results of 10 and d11 are black, white, black, and black, respectively.

【0032】ここで、分割ドットの参照結果の黒を1白
を0として扱うと二進数として表現できる。例えば、d
00、d01、d10、d11の順に並べると、前記参
照結果は1011(二進数)となり、これを十進数に直
すと11(十進数)という数字になる。前記数字のとる
範囲は0から15であり、前記数字をいくつかの補正パ
ターンの中から一つの補正パターンを選択する番号とし
て用いれば補正パターンの選択を行うことができる。
Here, if the black of the reference result of the divided dots is treated as 1 white and 0, it can be expressed as a binary number. For example, d
When 00, d01, d10, and d11 are arranged in this order, the reference result becomes 1011 (binary number), and when converted into decimal number, the number becomes 11 (decimal number). The range of the number is from 0 to 15, and the correction pattern can be selected by using the number as a number for selecting one correction pattern from several correction patterns.

【0033】また、黒を1、白を0として扱うときに、
分割ドットの参照結果は下記の論理式で表わすことがで
きる(+記号は論理OR、*記号は論理ANDを示
す)。
When black is treated as 1 and white is treated as 0,
The reference result of the divided dots can be expressed by the following logical expression (+ symbol indicates logical OR, * symbol indicates logical AND).

【0034】 d00=(D00+D01+D10)*D11 d01=(D01+D02+D12)*D11 d10=(D10+D20+D21)*D11 d11=(D12+D21+D22)*D11 また、上記論理式は図12に示す論理回路で構成するこ
とができる。
D00 = (D00 + D01 + D10) * D11 d01 = (D01 + D02 + D12) * D11 d10 = (D10 + D20 + D21) * D11 d11 = (D12 + D21 + D22) * D11 The above logical expression can be configured by the logical circuit shown in FIG.

【0035】以上が本実施例で用いた展開方法である。The development method used in this embodiment is as described above.

【0036】前記展開方法を用いた簡単な展開処理例を
図7に示す。
FIG. 7 shows an example of a simple expansion process using the expansion method.

【0037】図7(a)は、斜め線のビットマップデー
タ701で、前記ビットマップデータ701に間引き処
理を施すと図7(b)に示すビットマップデータ702
となり、これに展開処理を施すと図7(c)に示すビッ
トマップデータ703が得られる。
FIG. 7A shows the bit map data 701 of diagonal lines. When the bit map data 701 is thinned out, the bit map data 702 shown in FIG. 7B.
Then, when the expansion processing is performed on this, the bitmap data 703 shown in FIG. 7C is obtained.

【0038】図6は、上述の展開方法を用いた展開装置
114のブロックを示した図で、パターン参照装置60
1、パターン選択装置602、補正パターン記憶装置6
03、入力バッファ604、出力バッファ605からな
っている。前記補正パターン記憶装置603にはあらか
じめ用意された図8に示す補正パターン0から補正パタ
ーン15までの16種類の補正パターンが記憶されてい
る。
FIG. 6 is a block diagram of the expanding device 114 using the above-described expanding method. The pattern referring device 60 is shown in FIG.
1, pattern selection device 602, correction pattern storage device 6
03, an input buffer 604, and an output buffer 605. The correction pattern storage device 603 stores 16 types of correction patterns 0 to 15 shown in FIG. 8 which are prepared in advance.

【0039】パターン参照装置601は、ビットマップ
データを入力バッファ604から読み出した後参照マト
リックスに格納する。しかる後、パターン参照装置60
1は、前述の展開方法を用いて、着目ドットと置き換え
るべき補正パターンの番号を算出した後、前記補正パタ
ーンの番号をパターン選択装置602に送る。
The pattern reference device 601 reads the bitmap data from the input buffer 604 and then stores it in the reference matrix. Then, the pattern reference device 60
First, the number of the correction pattern to be replaced with the dot of interest is calculated using the above-described expansion method, and then the number of the correction pattern is sent to the pattern selection device 602.

【0040】パターン選択装置602は前記パターン参
照装置601から送られる補正パターンの番号に従って
補正パターン記憶装置603から補正パターンを選択
し、着目ドットと置き換えた後600dpiのビットマ
ップデータとして出力バッファ605に格納する。
The pattern selection device 602 selects a correction pattern from the correction pattern storage device 603 according to the number of the correction pattern sent from the pattern reference device 601, replaces it with the dot of interest, and stores it in the output buffer 605 as 600 dpi bitmap data. To do.

【0041】出力バッファ605に格納されたビットマ
ップデータは、随時出力装置115に転送され出力され
る。
The bitmap data stored in the output buffer 605 is transferred to the output device 115 and output as needed.

【0042】上記動作を文字データの全ドットに対して
行うことにより、スムージング処理を施された600d
piの文字データが印字される。
By performing the above operation for all dots of the character data, the smoothed 600d is obtained.
The character data of pi is printed.

【0043】以上説明したような動作に従って文字デー
タを印字する際の印字例として、それぞれの過程におけ
る文字データのビットマップデータを図10に示す。
FIG. 10 shows the bit map data of the character data in each process as an example of printing when the character data is printed according to the operation described above.

【0044】図10(a)は、文字生成装置111にお
いて、アウトラインフォントを用いて生成した8ポイン
ト(解像度600dpi)の文字データのビットマップ
データ1001を示した図である。
FIG. 10A is a diagram showing bitmap data 1001 of 8-point (600 dpi resolution) character data generated using an outline font in the character generation device 111.

【0045】図10(b)は、前記文字データを、間引
き処理装置112において間引き処理方法2を用いて間
引き処理を施して4ポイント(解像度600dpi)に
した文字データのビットマップデータ1002を示した
図で、ビットマップデータ901に示す文字データと同
等の解像度でありながら、ビットマップデータ901よ
りも高い文字品質の文字データが得られる。
FIG. 10B shows the bit map data 1002 of the character data in which the character data is thinned by the thinning processing device 112 using the thinning processing method 2 to 4 points (resolution 600 dpi). In the figure, character data having a resolution equivalent to that of the character data shown in the bitmap data 901, but having a character quality higher than that of the bitmap data 901 can be obtained.

【0046】図10(c)は、前記間引き処理を施され
た文字データを、展開装置114において、スムージン
グ処理を伴う展開処理を施して得られる文字データのビ
ットマップデータ1003を示した図で、ビットマップ
データ902と同じ8ポイントの文字データと同等の解
像度でありながら、ビットマップデータ902に示す文
字データよりも高い文字品質の文字データが得られる。
FIG. 10 (c) is a diagram showing bitmap data 1003 of character data obtained by subjecting the thinned character data to the expansion processing accompanied by smoothing processing in the expansion device 114. Although the resolution is the same as that of the 8-point character data that is the same as the bitmap data 902, character data having higher character quality than the character data shown in the bitmap data 902 can be obtained.

【0047】なお、本実施例では印字ヘッドをマルチ走
査印字ヘッドとして説明したが、印字ヘッドはこれに限
らない。
Although the print head has been described as a multi-scan print head in this embodiment, the print head is not limited to this.

【0048】また、本実施例では出力装置を転写型の出
力装置として説明したが、これに限らず直接記録媒体に
印字する装置でもよい。
Further, although the output device is described as the transfer type output device in the present embodiment, the output device is not limited to this and may be a device which directly prints on the recording medium.

【0049】また、本実施例では600dpiへの高解
像度変換処理を例として説明したが、解像度はこれに限
らない。
In this embodiment, the high resolution conversion processing to 600 dpi has been described as an example, but the resolution is not limited to this.

【0050】[0050]

【発明の効果】以上説明したように、文字コードに対応
づけて該文字の輪郭情報を記憶したアウトラインフォン
トから輪郭情報を読み出し、量子化誤差を抑制する解像
度でもって、ビットマップデータを生成した後、ビット
マップデータに間引き処理を施す圧縮を行うので、量子
化誤差を含まず、かつ記憶メモリ容量を減らすことがで
きる。そして、印字時に、圧縮したビットマップデータ
をスムージング処理を施して、出力解像度に合ったビッ
トマップデータに復元するので、量子化誤差を含まない
高品質の印字出力を得ることができる。
As described above, after the outline information is read from the outline font in which the outline information of the character is stored in association with the character code and the bitmap data is generated with the resolution that suppresses the quantization error. Since compression is performed by thinning out the bitmap data, it is possible to reduce the storage memory capacity without including the quantization error. Then, at the time of printing, the compressed bitmap data is subjected to smoothing processing to be restored to bitmap data that matches the output resolution, so that it is possible to obtain a high-quality print output that does not include a quantization error.

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

【図1】本発明の印字装置の構成要素を示したブロック
図である。
FIG. 1 is a block diagram showing components of a printing apparatus of the present invention.

【図2】本実施例で用いたマルチ走査印字ヘッドを有す
る出力装置の概略図である。
FIG. 2 is a schematic diagram of an output device having a multi-scan print head used in this embodiment.

【図3】本実施例で用いたマルチ走査印字ヘッドの概略
図である。
FIG. 3 is a schematic diagram of a multi-scan print head used in this embodiment.

【図4】本実施例で用いた間引き処理方式1を示す図で
ある。
FIG. 4 is a diagram showing a thinning-out processing method 1 used in this embodiment.

【図5】本実施例で用いた間引き処理方式2を示す図で
ある。
FIG. 5 is a diagram showing a thinning-out processing method 2 used in this embodiment.

【図6】本実施例で用いたスムージング処理装置の構成
要素を示したブロック図である。
FIG. 6 is a block diagram showing components of a smoothing processing device used in this embodiment.

【図7】(a)は本実施例で用いた斜め線のビットマッ
プデータを示す図で、(b)は、ビットマップデータ7
01に間引き処理を施した結果を示す図で、(c)はビ
ットマップデータ702に展開処理を施した結果を示す
図である。
FIG. 7A is a diagram showing bitmap data of diagonal lines used in this embodiment, and FIG. 7B is a bitmap data 7
01 is a diagram showing the result of performing the thinning-out process on 01, and (c) is a diagram showing the result of performing the expanding process on the bitmap data 702.

【図8】本実施例で用いた補正データ群を示す図であ
る。
FIG. 8 is a diagram showing a correction data group used in this embodiment.

【図9】(a)は、本実施例におけるアウトラインフォ
ントを用いて生成した4ポイント文字データのビットマ
ップデータを示す図で、(b)は、本実施例における4
ポイントの文字データをスムーシングを伴う展開処理を
して生成した文字データのビットマップデータを示す図
である。
9A is a diagram showing bitmap data of 4-point character data generated using an outline font in this embodiment, and FIG. 9B is a diagram showing the bitmap data of 4 points in this embodiment.
It is a figure which shows the bitmap data of the character data produced | generated by carrying out the expansion process with smoothing of the character data of a point.

【図10】(a)は、本実施例におけるアウトラインフ
ォントを用いて生成した8ポイントの文字データのビッ
トマップデータを示す図で、(b)は、本実施例におけ
る8ポイントの文字データに間引き処理を施して得られ
る文字データのビットマップデータを示す図で、(c)
は、本実施例における間引き処理を施して得られた文字
データをスムーシングを伴う展開処理をして生成した8
ポイントの文字データのビットマップデータを示す図で
ある。
10A is a diagram showing bitmap data of 8-point character data generated using an outline font in the present embodiment, and FIG. 10B is thinned out to 8-point character data in the present embodiment. It is a figure which shows the bitmap data of the character data obtained by performing a process.
Is generated by performing expansion processing with smoothing on the character data obtained by performing the thinning processing in the present embodiment.
It is a figure which shows the bitmap data of the character data of a point.

【図11】(a)は、本実施例で用いた参照マトリック
スを示す図で、(b)は、本実施例における分割ドット
の参照画素を示す図で、(c)は、本実施例における分
割ドットの参照結果を示す図である。
11A is a diagram showing a reference matrix used in the present embodiment, FIG. 11B is a diagram showing reference pixels of divided dots in the present embodiment, and FIG. 11C is a diagram in the present embodiment. It is a figure which shows the reference result of a division dot.

【図12】本実施例における、補正パターンの選択方法
の論理回路を示す図である。
FIG. 12 is a diagram showing a logic circuit of a correction pattern selecting method in the present embodiment.

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

111 文字生成装置 112 間引き処理装置 113 メモリ 114 展開装置 115 出力装置 401 600dpiの文字データ 403 文字データ401に間引き処理1を用いて間引
き処理を施した結果 503 文字データ401に間引き処理2を用いて間引
き処理を施した結果 601 パターン参照装置 602 パターン選択装置 603 補正パターン記憶装置
111 character generation device 112 thinning processing device 113 memory 114 expansion device 115 output device 401 character data of 600 dpi 403 result of thinning processing using the thinning processing 1 on the character data 401 503 thinning processing using the thinning processing 2 on the character data 401 Result of processing 601 Pattern reference device 602 Pattern selection device 603 Correction pattern storage device

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/387 101 8420−5L G06F 15/66 355 P 9191−5L 15/68 410 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location H04N 1/387 101 8420-5L G06F 15/66 355 P 9191-5L 15/68 410

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 文字コードに対応づけて該文字の輪郭情
報を記憶したアウトラインフォントから前記輪郭情報を
読み出し、ビットマップデータに変換して文字を印字す
る印字装置において、 前記ビットマップデータに間引き処理を施し、前記ビッ
トマップデータのデータ量を減ずる間引き処理手段と、 前記間引き処理手段の出力結果を記憶する間引きビット
データ記憶手段と、 印字時に、前記間引きビットデータ記憶手段からデータ
を読み出し、前記データにスムージング処理を施し、出
力解像度に合ったビットマップデータに復元する展開手
段と、を備えてなることを特徴とする印字装置。
1. A printing apparatus for reading out the outline information from an outline font in which outline information of the character is stored in association with a character code, converting the outline information into bitmap data and printing the characters, thinning out the bitmap data. Thinning processing means for reducing the data amount of the bitmap data, thinning bit data storage means for storing the output result of the thinning processing means, and reading the data from the thinning bit data storage means at the time of printing. And a developing means for performing smoothing processing to restore bit map data suitable for output resolution.
【請求項2】 前記間引き処理手段は、前記ビットマッ
プデータの縦列及び横列を所定間隔で削除するものであ
ることを特徴とする請求項1記載の印字装置。
2. The printer according to claim 1, wherein the thinning-out processing unit deletes columns and rows of the bitmap data at predetermined intervals.
【請求項3】 前記間引き処理手段は、前記ビットマッ
プデータのn×m(n、mは自然数)マトリックスを一
画素に変換するものであることを特徴とする請求項1記
載の印字装置。
3. The printer according to claim 1, wherein the thinning-out processing unit converts an n × m (n and m are natural numbers) matrix of the bitmap data into one pixel.
JP5308270A 1993-12-08 1993-12-08 Printer Pending JPH07156448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5308270A JPH07156448A (en) 1993-12-08 1993-12-08 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5308270A JPH07156448A (en) 1993-12-08 1993-12-08 Printer

Publications (1)

Publication Number Publication Date
JPH07156448A true JPH07156448A (en) 1995-06-20

Family

ID=17979003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5308270A Pending JPH07156448A (en) 1993-12-08 1993-12-08 Printer

Country Status (1)

Country Link
JP (1) JPH07156448A (en)

Similar Documents

Publication Publication Date Title
US6791714B1 (en) Image forming apparatus capable of saving consumption of toner without deterioration of printing quality and method thereof
JPH0732650A (en) Biaxial dot reduction for obtaining 600 dpi edge sharpness using 300 dpi printing cartridge
US4887228A (en) Method for filling surface parts of an image with a surface pattern
US6344870B1 (en) Methods of providing lower resolution format data into higher resolution format
JP4773639B2 (en) Image recording apparatus, computer program, and image recording control method
JP4369995B2 (en) Method and apparatus for draft printing
JPH0818790A (en) Compression system for half tone image
JPH07156448A (en) Printer
JP3254672B2 (en) Image forming device
US5672016A (en) Method for controlling color image data
JP3015133B2 (en) Print control apparatus and method
JP3244745B2 (en) Image processing device
JP4311791B2 (en) Inkjet recording method and apparatus
EP0150988A2 (en) Enlarged picture output apparatus
JPH06155728A (en) Printer
JP4058157B2 (en) Image processing method, image forming apparatus, and recording medium
JP2801730B2 (en) Data compression method
JPS58181359A (en) Picture data processor
JP3570316B2 (en) Image data conversion method and apparatus
JP3657081B2 (en) Printer controller
JP2564947B2 (en) Bitmap memory control method
JPH05212913A (en) Image forming device
JP2000236448A (en) Data compressor
JP2000203103A (en) Image data processor for printer
JPH1028222A (en) Image processor and method thereof