JPH0624044A - Area fill printing method - Google Patents

Area fill printing method

Info

Publication number
JPH0624044A
JPH0624044A JP4205992A JP20599292A JPH0624044A JP H0624044 A JPH0624044 A JP H0624044A JP 4205992 A JP4205992 A JP 4205992A JP 20599292 A JP20599292 A JP 20599292A JP H0624044 A JPH0624044 A JP H0624044A
Authority
JP
Japan
Prior art keywords
line
print
data
area fill
fill
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
JP4205992A
Other languages
Japanese (ja)
Inventor
Tadao Shimizu
忠雄 清水
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4205992A priority Critical patent/JPH0624044A/en
Publication of JPH0624044A publication Critical patent/JPH0624044A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform an area fill processing of an outline font at a high speed by generating necessary printing data after area fill information is arranged at a non-printing dot part. CONSTITUTION:A print dot data 3 shown by black circles in the figure is an outline font after a coordinate transformation. A print head is to be scanned in the direction of the arrow, i.e., from right to left. A space between lines Ca and Cb expresses a part inhibited from being subjected to area fill. A space between the lines Cb and Cc is a part to be subjected to area fill. The left side of the line Cc is a part inhibited from being subjected to area fill. In order to transmit such information, area fill information 4 is stored in lines adjacent to the line Ca and the line Cc. In the case of the figure, the area fill information adjacent to the line Ca has a content for inhibiting the area fill until the line Cb. The area fill information 4 adjacent to the line Cc also expresses information on inhibiting the area fill.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シリアルドットマトリ
クスプリンタを用いたアウトラインフォントの塗りつぶ
し印字方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an outline font fill printing method using a serial dot matrix printer.

【0002】[0002]

【従来の技術】文字や図形を印字するためのプリンタに
は各種の方式のものがある。シリアルドットマトリクス
プリンタは、所定の印字データを印字ヘッドに一定量ず
つ転送し、用紙の上を印字ヘッドを走査させながら印字
する。図2に、ワイヤドットプリンタの印字動作を説明
するための一般の疑似マトリクス印字方法説明図を示
す。図において、ワイヤドットプリンタが例えば図のよ
うな印字ドット1を斜めに配列し、斜線を印字する場合
を考える。(a)と(b)はそれぞれ同じ能力の印字ヘ
ッドにより異なる方式で印字を行なった場合のドットの
配列を示している。この例に示す印字ヘッドは、8本の
印字ヘッドワイヤを、その走査方向に垂直な方向に配列
している。そして、これらのワイヤを印字ドットデータ
に合わせて駆動してプリントする。
2. Description of the Related Art There are various types of printers for printing characters and figures. The serial dot matrix printer transfers predetermined print data to the print head by a fixed amount, and prints on the paper while scanning the print head. FIG. 2 is an explanatory view of a general pseudo matrix printing method for explaining the printing operation of the wire dot printer. In the figure, consider a case where the wire dot printer prints diagonal lines by arranging the print dots 1 as shown in the figure diagonally. (A) and (b) show dot arrays when printing is performed by different methods by print heads having the same ability. In the print head shown in this example, eight print head wires are arranged in a direction perpendicular to the scanning direction. Then, these wires are driven and printed according to the print dot data.

【0003】通常、この種のシリアルドットマトリクス
プリンタの印字速度は、印字ヘッドワイヤの駆動周波数
で制限される。例えば横方向に1インチあたり100ド
ットの密度で、1秒間に100字の印字速度を得るため
には、次のような速度で印字を行なう必要がある。なお
文字ピッチは、1インチ当り10キャラクタとする。ま
た、1インチは2.54cmである。 (1/100)÷(180/10)=0.00056秒
/ドット このような条件では印字ヘッドワイヤの駆動周波数は1
800ヘルツにする必要がある。図の(a)は疑似マト
リクスを用いた印字方法を採用しており、(b)は通常
の印字方法を使用している。
Generally, the printing speed of this type of serial dot matrix printer is limited by the drive frequency of the print head wire. For example, in order to obtain a printing speed of 100 characters per second at a density of 100 dots per inch in the lateral direction, it is necessary to perform printing at the following speed. The character pitch is 10 characters per inch. Also, 1 inch is 2.54 cm. (1/100) ÷ (180/10) = 0.00056 sec / dot Under these conditions, the drive frequency of the print head wire is 1
It needs to be 800 hertz. In the figure, (a) uses a printing method using a pseudo matrix, and (b) uses a normal printing method.

【0004】ここで、もし同一の印字ヘッドワイヤが隣
接する印字ドット1を次々に印字するとすれば、上記の
印字速度では180分の1インチの間隔でしかドットを
配列できない。従って、斜線を描こうとする場合には
(b)に示すような配列で印字ドット1が印字されるこ
とになる。しかしながら、例えば(a)に示すように、
最初に斜線の一番下に配置された印字ドット1が、印字
ヘッドの一番下の印字ヘッドワイヤで印字されたものと
する。同一の印字ヘッドワイヤで次に印字される印字ド
ット2は、180分の1インチ離れてしまう。しかしな
がら、下から2番目の印字ヘッドワイヤにより印字され
る印字ドット1が、図の(a)に示すように、一番下の
印字ドット1よりも360分の1インチだけ走査方向に
ずれたところに配置されれば、印字ドットワイヤの駆動
周波数を倍にしなくても、見かけ上2分の1のピッチで
印字ドットを配列することができる。これによって、
(b)に示すものよりも高品質の印字ができる。このよ
うな方法が疑似マトリクス印字と呼ばれ、従来この種の
プリンタに広く使用されてきた。
If the same print head wire prints adjacent print dots 1 one after another, the dots can be arranged only at intervals of 1/180 inch at the above printing speed. Therefore, when an oblique line is to be drawn, the print dots 1 are printed in the arrangement as shown in (b). However, for example, as shown in (a),
It is assumed that the print dot 1 initially arranged at the bottom of the diagonal line is printed by the print head wire at the bottom of the print head. The next print dot 2 printed with the same print head wire is 1/180 inch apart. However, the print dot 1 printed by the second print head wire from the bottom is displaced from the bottom print dot 1 by 1/360 inch in the scanning direction as shown in FIG. With the above arrangement, it is possible to arrange the print dots at the apparent half pitch without doubling the drive frequency of the print dot wire. by this,
Higher quality printing than that shown in (b) can be achieved. Such a method is called pseudo matrix printing, and has been widely used in printers of this type conventionally.

【0005】一方、文字や図形を印字する場合、従来、
文字の印刷のためにそのビットマップを各文字について
記憶したフォントメモリを使用していた。しかしなが
ら、この種のメモリ容量の増大を防止し、また文字の拡
大、縮小を容易にするために、アウトラインフォントが
広く採用されるようになった。このようなアウトライン
フォントは、文字の輪郭をその頂点の座標データと、各
頂点を結ぶ線分に関するデータ等から構成される。この
ようなアウトラインフォントを用いても、シリアルドッ
トプリンタは疑似マトリクスを利用して、高品位の印字
を行なうことができる。
On the other hand, when printing characters or graphics,
For printing the characters, a font memory was used that stored that bitmap for each character. However, outline fonts have come into widespread use in order to prevent an increase in this type of memory capacity and to facilitate enlargement and reduction of characters. Such an outline font is composed of the outline of a character, the coordinate data of its vertices, the data on the line segment connecting each vertex, and the like. Even if such an outline font is used, the serial dot printer can perform high-quality printing by utilizing the pseudo matrix.

【0006】[0006]

【発明が解決しようとする課題】図3に一般のアウトラ
インフォントの一例説明図を示す。例えば図の図形は、
その8個の頂点の座標と、これらを結ぶ輪郭を構成する
線分のデータから成る。通常、このようなアウトライン
フォントは十分大きなイメージについて用意され、印字
が必要な場合、その要求される大きさに座標変換して縮
小してからビットマップが生成される。図3に示したも
のは、例えば32ポイントのアウトラインフォントとす
る。図4に一般の縮小されたアウトラインフォントの一
例説明図を示す。図4に示したものは、10ポイントの
アウトラインフォントとする。このような場合、図3に
示した図形の各頂点の座標はそれぞれ32分の10に演
算処理され、例えば、(X、Y)座標が(10、10)
の場合、(3、3)に座標変換される。
FIG. 3 shows an example of a general outline font. For example, the figure in the figure
It consists of the coordinates of the eight vertices and the data of the line segments that make up the contour connecting them. Usually, such an outline font is prepared for a sufficiently large image, and when printing is necessary, the coordinates are converted into the required size and reduced, and then the bitmap is generated. The one shown in FIG. 3 is, for example, a 32-point outline font. FIG. 4 shows an example explanatory view of a general reduced outline font. The font shown in FIG. 4 is a 10-point outline font. In such a case, the coordinates of the vertices of the figure shown in FIG. 3 are calculated to be 10/32, and, for example, the (X, Y) coordinates are (10, 10).
In the case of, the coordinates are converted into (3, 3).

【0007】ここで、図3及び図4の図形を比較して分
かるように、アウトラインフォントを縮小した場合、3
2ポイントでは2個の並んだ長方形がそれぞれ塗りつぶ
し処理される構成となっていたが、10ポイントに縮小
した場合、幅の狭い長方形については1本の垂直な直線
となり塗りつぶし部分がなくなっている。従って、この
ようなアウトラインフォントからビットマップを生成す
る場合、塗りつぶしの必要の有無等について適当な制御
を行なう必要がある。また、この種のデータ処理は、少
しでも演算処理の簡単な方式であることが好ましい。こ
の目的のために、アウトラインフォントに対し塗りつぶ
し用のデータを追加するには、そのデータ量ができるだ
け少量であることが資源の有効利用等のために好まし
い。
Here, as can be seen by comparing the figures in FIGS. 3 and 4, when the outline font is reduced, 3
At 2 points, two lined rectangles were respectively filled, but when reduced to 10 points, a narrow rectangle becomes one vertical straight line and there is no filled portion. Therefore, when a bitmap is generated from such an outline font, it is necessary to appropriately control whether or not painting is necessary. In addition, it is preferable that this kind of data processing is a method in which arithmetic processing is as simple as possible. For this purpose, in order to add the filling data to the outline font, it is preferable that the amount of the data is as small as possible for effective use of resources.

【0008】本発明は以上の点について着目してなされ
たもので、アウトラインフォントの塗りつぶし処理を疑
似マトリクスの特性を利用して効率的に行なう塗りつぶ
し印字方法を提供することを目的とするものである。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a fill printing method for efficiently performing outline font filling processing by utilizing the characteristics of a pseudo matrix. .

【0009】[0009]

【課題を解決するための手段】本発明の塗りつぶし印字
処理方法は、アウトラインフォントを擬似マトリクスを
用いて塗りつぶし印字する場合において、アウトライン
を構成する印字ドットデータの、印字ヘッドの走査方向
に隣接する前記擬似マトリクス上の非印字ドット部分
に、前記印字ヘッドの走査方向に向かって塗りつぶしを
実行するか禁止するかを指定する塗りつぶし情報を予め
配置して、その印字ドットデータと塗りつぶし情報を参
照しながら、前記印字ヘッドに供給すべき印字データを
生成することを特徴とするものである。
According to the fill printing method of the present invention, when fill printing is performed on an outline font using a pseudo matrix, print dot data forming an outline is adjacent to each other in the scanning direction of the print head. In the non-printed dot portion on the pseudo matrix, fill information for designating whether or not to perform fill in the scanning direction of the print head is arranged in advance, while referring to the print dot data and fill information, The print data to be supplied to the print head is generated.

【0010】[0010]

【作用】この方法は、アウトラインを構成する印字ドッ
トデータと共に、その印字ドットデータに隣接し、かつ
印字に使用されない非印字ドット部分に、塗りつぶし情
報を格納する。印字のためのビットマップデータを生成
する際には、印字ドットデータの印字ヘッドの走査方向
に見たすぐ後ろ側に、例えば内容が“0”という塗りつ
ぶし情報があった場合、印字ドットデータをそのまま連
続させて塗りつぶしを行なう。また塗りつぶし情報が
“1”の場合、その後の塗りつぶしを禁止する。非印字
ドット部分は実際に印字動作に使用されないため、この
種の塗りつぶし情報が印字データと共に格納されていて
も何ら印字動作に影響しない。従って、疑似マトリクス
を効果的に利用し効率のよい印字データの生成ができ
る。
According to this method, the fill information is stored in the non-print dot portion which is adjacent to the print dot data and which is not used for printing together with the print dot data forming the outline. When generating bitmap data for printing, if there is fill information whose content is “0”, for example, immediately behind the print dot data in the scanning direction of the print head, the print dot data remains unchanged. Fill continuously. When the fill information is "1", the subsequent fill is prohibited. Since the non-printed dot portion is not actually used in the printing operation, even if this kind of filling information is stored together with the printing data, the printing operation is not affected at all. Therefore, the pseudo matrix can be effectively used to efficiently generate print data.

【0011】[0011]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。図1は本発明の塗りつぶし印字方法の実施例を
示すアウトラインフォント説明図である。図のアウトラ
インフォントは、先に図3及び図4を用いて説明した通
り、既に一定の倍率で縮小され座標変換された後のデー
タに対し、その塗りつぶし制御に必要な塗りつぶし情報
を追加したものである。即ち、図の黒丸で示した印字ド
ットデータ3は、座標変換後のアウトラインフォントで
ある。そして、印字ヘッドは、図1に示す矢印、即ち右
から左の方向に走査されるものとする。この場合、図4
に示すように右側の垂直のラインは1本の線のみで表わ
され、真中の垂直のラインとの間の塗りつぶしは行なわ
れない。即ち、図1に示したように、ラインCaとライ
ンCbの間は塗りつぶし禁止部分である。
The present invention will be described in detail below with reference to the embodiments shown in the drawings. FIG. 1 is an outline font explanatory view showing an embodiment of the solid printing method of the present invention. The outline font in the figure is, as described above with reference to FIGS. 3 and 4, added to the data that has already been reduced and coordinate-converted by a certain scale factor, and fill information necessary for the fill control. is there. That is, the print dot data 3 shown by the black circles in the figure is an outline font after coordinate conversion. The print head is assumed to scan in the arrow shown in FIG. 1, that is, from right to left. In this case,
As shown in, the vertical line on the right side is represented by only one line, and the filling with the vertical line in the middle is not performed. That is, as shown in FIG. 1, the area between the line Ca and the line Cb is a non-painting prohibited portion.

【0012】また、ラインCbとラインCcの間は塗り
つぶし部分である。さらに、ラインCcより左側は塗り
つぶし禁止部分である。このような情報を伝えるため
に、ラインCaやCcに隣接するラインに塗りつぶし情
報4が格納される。この塗りつぶし情報4が格納された
部分は、ちょうどラインCaから360分の1インチ離
れた部分のドットを示しており、ラインCa上で印字が
行なわれたときには、この塗りつぶし情報4が格納され
た部分は非印字ドット部分となる。この実施例では、ラ
インCaに隣接する塗りつぶし情報4は、ラインCbに
至るまで塗りつぶしを禁止する内容の情報であって、ラ
インCcに隣接する部分に格納された塗りつぶし情報4
も塗りつぶしを禁止する情報である。また、ラインCb
に隣接する部分は塗りつぶしを許容する情報があるとみ
なしてよい。
The area between the line Cb and the line Cc is a filled area. Further, the left side of the line Cc is a non-painting portion. In order to convey such information, the fill information 4 is stored in the line adjacent to the lines Ca and Cc. The portion in which the fill information 4 is stored indicates the dot at a portion that is exactly 1/360 inch away from the line Ca, and when printing is performed on the line Ca, the portion in which the fill information 4 is stored. Is the non-printed dot portion. In this embodiment, the fill information 4 adjacent to the line Ca is the information of the content that prohibits the fill up to the line Cb, and the fill information 4 stored in the portion adjacent to the line Cc.
Is also information that prohibits filling. Also, the line Cb
The area adjacent to may be considered to have information that allows filling.

【0013】図5に本発明の方法実施のためのハードウ
ェアブロック図を示す。本発明は例えばこの図に示した
ようなハードウェアによって実施される。即ち、この装
置は、アウトラインフォントデータメモリ5、座標変換
部6、塗りつぶし情報付加部7、データ展開部8、ビッ
トマップメモリ9及び印字部10から構成される。アウ
トラインフォントデータメモリ5には、先に図3に示し
たような原形となるアウトラインフォント11が格納さ
れている。また、座標変換部6は、原形となるアウトラ
インフォント11から一定の倍率で縮小したアウトライ
ンフォントを得るための座標変換処理を行なう部分であ
る。塗りつぶし情報付加部7は、座標変換部6の出力し
たアウトラインフォント12に対し、図1で説明したよ
うな塗りつぶし情報4を付加する部分である。またデー
タ展開部8は、この塗りつぶし情報付加部7の出力を読
み取って印字のための印字データ14を生成する部分で
ある。これによってビットマップが形成される。ビット
マップメモリ9は、印字データ15を一時格納するメモ
リである。印字部10は、ビットマップメモリ9から印
字データ15を一定量ずつ読み出し、印字ヘッドに送っ
て印字を行なう部分である。
FIG. 5 shows a hardware block diagram for carrying out the method of the present invention. The present invention is implemented, for example, by the hardware shown in this figure. That is, this apparatus comprises an outline font data memory 5, a coordinate conversion unit 6, a fill information addition unit 7, a data expansion unit 8, a bitmap memory 9 and a printing unit 10. The outline font data memory 5 stores the outline font 11 which is the original form as shown in FIG. The coordinate conversion unit 6 is a part that performs coordinate conversion processing to obtain an outline font that is reduced from the original outline font 11 by a constant scale factor. The fill information addition unit 7 is a unit that adds the fill information 4 as described with reference to FIG. 1 to the outline font 12 output by the coordinate conversion unit 6. The data expansion unit 8 is a unit that reads the output of the filling information addition unit 7 and generates the print data 14 for printing. This forms a bitmap. The bitmap memory 9 is a memory for temporarily storing the print data 15. The printing unit 10 is a unit that reads out the print data 15 from the bitmap memory 9 by a predetermined amount and sends it to the print head to perform printing.

【0014】図6に本発明のビットマップデータ展開動
作説明図を示す。図1に示したようなアウトラインフォ
ント及びこれに塗りつぶし情報4を付加したデータは、
図6に示すような論理演算処理によって、塗りつぶしの
ためのビットマップデータに展開される。図6(1)式
がその論理式である。この式のうち、Dnは、図1に示
すアウトラインフォントの1ライン分のデータを示して
いる。図6の下側に示した表の1ライン分のデータは、
図1に示した、例えばb5のラインの左の端から16番
目までの印字ドットデータの内容を示す。図1に示す印
字ドットデータ3及び塗りつぶし情報4の部分は、何れ
もその内容が1となっており、その他の部分は0となっ
ている。
FIG. 6 is a diagram for explaining the bitmap data expansion operation of the present invention. The outline font as shown in FIG. 1 and the data in which the fill information 4 is added to the outline font are
Bit map data for filling is developed by the logical operation processing as shown in FIG. The equation (1) in FIG. 6 is the logical equation. In this equation, Dn represents data for one line of the outline font shown in FIG. The data for one line in the table shown on the lower side of FIG.
For example, the contents of the print dot data from the left end to the 16th line of the line b5 shown in FIG. 1 are shown. The contents of the print dot data 3 and the fill information 4 shown in FIG. 1 are 1 and the other parts are 0.

【0015】ここで、図6に示す表のDn−1というの
は、着目している印字ドットデータの1つ右側の印字ド
ットデータのことを示す。また、Dn−2は、着目して
いる印字ドットデータの2つ右側の印字ドットデータを
示す。さらに、その文字の上にバーが引かれているもの
は、そのデータの内容を反転するという意味である。即
ち、0ならば1、1ならば0とする意味である。従っ
て、例えばDnの左から16番目の印字ドットデータに
ついて(2)式の演算を行なおうとすると、まず、Dn
−1は着目している印字ドットデータの右側のデータで
あり0となる。またDn−2も着目している印字ドット
データの2個右側のデータでその内容は0となる。これ
にはバーがついているため反転すると1になるが、Dn
−1とDn−2の積をとると0となる。従って、(2)
式の演算を行なった場合、左から16番目の印字ドット
データは0となる。
Here, Dn-1 in the table shown in FIG. 6 indicates print dot data to the right of the print dot data of interest. Further, Dn-2 indicates print dot data on the right side of the print dot data of interest. Further, a bar drawn on the character means that the contents of the data are inverted. That is, 0 means 1 and 1 means 0. Therefore, for example, if the operation of the equation (2) is performed on the 16th print dot data from the left of Dn, first, Dn
-1 is the data on the right side of the print dot data of interest and is 0. Further, Dn-2 is the data to the right of the print dot data of interest, and its content is 0. This has a bar, so it becomes 1 when inverted, but Dn
The product of -1 and Dn-2 gives 0. Therefore, (2)
When the equation is calculated, the 16th print dot data from the left is 0.

【0016】一方、左から15番目のDnの印字ドット
データに着目すると、Dn−1は1となり、Dn−2を
反転すると1になる。従って両者の積は1となる。これ
により、(2)式の15番目の印字ドットデータは1と
なる。Dnから(2)式の演算を行なうのはこのような
方法による。(3)式の場合も同様で、式に示したよう
な論理演算を行なう。これによって最後のDn′の印字
ドットデータが得られる。
On the other hand, paying attention to the print dot data of the fifteenth Dn from the left, Dn-1 becomes 1, and Dn-2 becomes 1 when inverted. Therefore, the product of both is 1. As a result, the fifteenth print dot data in the equation (2) becomes 1. The calculation of the equation (2) from Dn is performed by such a method. The same applies to the case of the expression (3), and the logical operation shown in the expression is performed. As a result, the final Dn 'print dot data is obtained.

【0017】図6のようなデータ展開によって得られた
ビットマップに従って印字を行なうと、図7に示すよう
になる。図7は本発明の方法による印字例説明図であ
る。図において、図6の演算処理で得た印字ドットデー
タは、図7の黒丸21に示すような配列となる。また、
印字ヘッドワイヤは、印字をした時そのインクの広がり
を考慮すると、塗りつぶし部分22の半径は約0.25
ミリとなる。従って、実際に印字を行なえば、図のよう
な形状で全体の塗りつぶしを行なうことができる。な
お、図の縦線は360分の1インチ間隔で引いてある。
これによって、360分の1インチの疑似マトリクスを
用いた場合でも良好な塗りつぶしが可能となる。勿論、
さらに複雑な文字や図形の輪郭についても同様の処理が
可能である。
When printing is performed according to the bit map obtained by the data development as shown in FIG. 6, the result is as shown in FIG. FIG. 7 is an explanatory diagram of a printing example according to the method of the present invention. In the figure, the print dot data obtained by the arithmetic processing of FIG. 6 has an array as shown by the black circles 21 of FIG. Also,
The radius of the filled portion 22 of the print head wire is about 0.25 in consideration of the spread of the ink when printing.
Will be millimeters. Therefore, if printing is actually performed, it is possible to fill the entire area with the shape shown in the figure. The vertical lines in the figure are drawn at 1/360 inch intervals.
This allows good fill even when using a 1/360 inch pseudo matrix. Of course,
Similar processing can be performed for more complicated character and graphic contours.

【0018】図8に本発明の方法による別のアウトライ
ンフォント説明図を示す。この図のアウトラインフォン
トの場合、ラインCbとラインCcとの間が180分の
1インチの偶数倍になっていない。即ち、図1を用いて
説明した例では、ラインCbとラインCcの間の間隔が
180分の1インチの倍数となっていた。従って、ライ
ンCbとラインCcの間にちょうど規則的に2本のライ
ンが挟み込まれ、図7に示したような印字が行なわれ
る。しかしながら、ラインCbとラインCcとの間隔が
図8に示すように360分の1インチの奇数倍になって
いる時には、その間の塗りつぶし処理が特殊になる。本
発明の場合、先に図6を用いて説明した論理式によって
このような場合でも良好な塗りつぶしが可能なことを示
す。
FIG. 8 shows another outline font explanatory diagram according to the method of the present invention. In the case of the outline font in this figure, the distance between the line Cb and the line Cc is not an even multiple of 1/180 inch. That is, in the example described with reference to FIG. 1, the interval between the line Cb and the line Cc is a multiple of 1/180 inch. Therefore, exactly two lines are regularly sandwiched between the line Cb and the line Cc, and the printing as shown in FIG. 7 is performed. However, when the interval between the line Cb and the line Cc is an odd multiple of 1/360 inch as shown in FIG. 8, the filling process between them becomes special. In the case of the present invention, it is shown by the logical expression described above with reference to FIG. 6 that good filling is possible even in such a case.

【0019】図9には、図8のようなアウトラインフォ
ントのデータ展開を行なう論理演算処理経過とその印字
例を示した。図の論理演算の処理は、既に図6を用いて
説明したものと全く同様であるため具体的な説明は省略
するが、このような論理演算処理によれば、図8に示す
ラインCbとラインCcの間で、塗りつぶしのための印
字ドットデータが、ラインCdとラインCe上にのみ挿
入される。このような印字データをもとに印字を行なう
と、図9の下側に示すように、その1ドットの塗りつぶ
し半径が約0.25ミリとすれば、見かけ上連続した塗
りつぶしが可能となる。
FIG. 9 shows a logical operation process for expanding the outline font data as shown in FIG. 8 and a print example thereof. The logical operation processing in the figure is exactly the same as that already described with reference to FIG. 6, so a detailed description thereof will be omitted. However, according to such logical operation processing, the line Cb and the line shown in FIG. Between Cc, print dot data for filling is inserted only on the lines Cd and Ce. When printing is performed based on such print data, as shown in the lower side of FIG. 9, if the filling radius of one dot is about 0.25 mm, apparently continuous painting is possible.

【0020】本発明は以上の実施例に限定されない。上
記実施例においては、印字ドットデータに隣接して格納
された塗りつぶし情報は、それ以降の塗りつぶしを禁止
する意味の情報として説明したが、これは、それ以降を
塗りつぶしする意味のものとしてよい。即ち、図1に示
したラインCa、ラインCb及びラインCcに隣接し
て、常にそれ以降塗りつぶしを行なうか塗りつぶしを禁
止するかの指示を行なう塗りつぶし情報が、何らかの形
で格納されていればよい。また、印字データの生成方法
やその論理式は上記以外の方法によってもよく、これら
の処理はソフトウェアを用いてもまたゲート等を用いた
ハードウェアを使用して実行してもよい。
The present invention is not limited to the above embodiments. In the above-described embodiment, the fill information stored adjacent to the print dot data has been described as the information indicating the prohibition of the subsequent fill, but this may mean the fill of the rest. That is, it is sufficient that adjacent to the line Ca, the line Cb, and the line Cc shown in FIG. 1, fill information for instructing whether or not the fill is to be performed or prohibiting the fill is stored in some form. The method of generating print data and the logical expression thereof may be other than those described above, and these processes may be performed using software or hardware using a gate or the like.

【0021】[0021]

【発明の効果】以上説明した本発明の塗りつぶし印字方
法は、シリアルドットマトリクスプリンタにおいて採用
される疑似マトリクスに存在する非印字ドット部分に、
塗りつぶしを行なうか、塗りつぶしを禁止するかを示す
塗りつぶし情報を配置してから必要な印字データを生成
するようにしたので、アウトラインフォントの塗りつぶ
し処理を簡単なアルブリズムで高速に実行することが可
能となる。
As described above, the fill printing method according to the present invention is applied to the non-printing dot portion existing in the pseudo matrix used in the serial dot matrix printer.
Since the necessary print data is generated after arranging the fill information indicating whether to apply the fill or prohibit the fill, it is possible to execute the outline font fill process at high speed with a simple algorithm. .

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

【図1】本発明の方法によるアウトラインフォント説明
図である。
FIG. 1 is an explanatory diagram of an outline font according to the method of the present invention.

【図2】一般の疑似マトリクス印字方法説明図である。FIG. 2 is an explanatory diagram of a general pseudo matrix printing method.

【図3】一般のアウトラインフォントの一例説明図であ
る。
FIG. 3 is a diagram illustrating an example of a general outline font.

【図4】一般の縮小されたアウトラインフォントの一例
説明図である。
FIG. 4 is a diagram illustrating an example of a general reduced outline font.

【図5】本発明の方法実施のためのハードウェアブロッ
ク図である。
FIG. 5 is a hardware block diagram for implementing the method of the present invention.

【図6】本発明のビットマップデータ展開動作説明図で
ある。
FIG. 6 is an explanatory diagram of a bitmap data expansion operation of the present invention.

【図7】本発明の方法による印字例説明図である。FIG. 7 is a diagram illustrating a printing example according to the method of the present invention.

【図8】本発明の方法による別のアウトラインフォント
説明図である。
FIG. 8 is an explanatory diagram of another outline font according to the method of the present invention.

【図9】本発明による別の印字例説明図である。FIG. 9 is a diagram illustrating another example of printing according to the present invention.

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

3 印字ドットデータ 4 塗りつぶし情報 3 Print dot data 4 Fill information

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/72 400 9192−5L G09G 5/24 9061−5G ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G06F 15/72 400 9192-5L G09G 5/24 9061-5G

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アウトラインフォントを擬似マトリクス
を用いて塗りつぶし印字する場合において、 アウトラインを構成する印字ドットデータの、印字ヘッ
ドの走査方向に隣接する前記擬似マトリクス上の非印字
ドット部分に、前記印字ヘッドの走査方向に向かって、
塗りつぶしを実行するか禁止するかを指定する塗りつぶ
し情報を予め配置して、 その印字ドットデータと塗りつぶし情報を参照しなが
ら、前記印字ヘッドに供給すべき印字データを生成する
ことを特徴とする塗りつぶし印字方法。
1. When an outline font is filled and printed by using a pseudo matrix, the print head is formed at a non-print dot portion on the pseudo matrix which is adjacent to the print dot data forming the outline in the scanning direction of the print head. Toward the scanning direction of
Filling printing characterized in that fill information for specifying whether to execute the fill is arranged in advance, and the print data to be supplied to the print head is generated by referring to the print dot data and the fill information. Method.
JP4205992A 1992-07-09 1992-07-09 Area fill printing method Pending JPH0624044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4205992A JPH0624044A (en) 1992-07-09 1992-07-09 Area fill printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4205992A JPH0624044A (en) 1992-07-09 1992-07-09 Area fill printing method

Publications (1)

Publication Number Publication Date
JPH0624044A true JPH0624044A (en) 1994-02-01

Family

ID=16516117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4205992A Pending JPH0624044A (en) 1992-07-09 1992-07-09 Area fill printing method

Country Status (1)

Country Link
JP (1) JPH0624044A (en)

Similar Documents

Publication Publication Date Title
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
JP3504331B2 (en) Print quality improvement method and apparatus for improving dot print image quality
JP3111639B2 (en) Continuous pattern printing system
JPH1166327A (en) Method and device for processing image and recording medium
JP4773639B2 (en) Image recording apparatus, computer program, and image recording control method
US6118457A (en) Resolution conversion with preservation of fine lines and of hue
JPH0624044A (en) Area fill printing method
JP3085036B2 (en) Image output device
JP2918632B2 (en) Character processing method and apparatus
EP0944876B1 (en) Printing apparatus and method for saving printing material
JP2935510B2 (en) Output device and output method
JP2771629B2 (en) Character processor
JP2767873B2 (en) Character dot pattern signal generator
JP3990743B2 (en) Printer control method and printer control apparatus
JPH09156084A (en) Printing apparatus conducting continuous printing by lowering resolution
JP3449015B2 (en) Color inkjet recording method
JP2637921B2 (en) Character symbol generator
JPH04350897A (en) Method and device for generating character
JPH07182504A (en) Method and device for processing image
JP3030833B2 (en) High-speed printing method of dot line printer
JPH11110150A (en) Image processing system, method therefor and computer-readable recording medium recording image processing control program
JPH06238860A (en) Character pattern generating method
JP2000190478A (en) Method and apparatus for ink jet recording
JPH10157240A (en) Printing method, printing apparatus, and recording medium