JPH05261974A - Printing method of outline font - Google Patents

Printing method of outline font

Info

Publication number
JPH05261974A
JPH05261974A JP4092003A JP9200392A JPH05261974A JP H05261974 A JPH05261974 A JP H05261974A JP 4092003 A JP4092003 A JP 4092003A JP 9200392 A JP9200392 A JP 9200392A JP H05261974 A JPH05261974 A JP H05261974A
Authority
JP
Japan
Prior art keywords
character
printing
speed
outline font
points
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
JP4092003A
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 JP4092003A priority Critical patent/JPH05261974A/en
Publication of JPH05261974A publication Critical patent/JPH05261974A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To print high printing-grade characters without complicated correction processing by changing printing speed in the main or sub-scanning direction at the ratio of a printing output to outline front data in the number of character points with a reference and making character-dot spaces in both directions proportional to the number of character points. CONSTITUTION:The same data of forty point characters are provided as outline font data in the number of character points as a reference. When the same data of the forty point characters are coordinate-transformed into ten points, the number of the character points is read first. Speed conversion processing is conducted on the basis of the number of character points assigned. The speed displays speed in the X direction, and indicates speed in the main scanning direction of a printing head at the time of a serial bit printer. When the reference speed of the forty point characters is represented by V, execution printing speed V' is represented by VX1/4. The execution printing speed V' obtained is set, and printing is conducted. Accordingly, when speed in the Y direction, the scanning direction, is kept constant, the spaces of printing dots in the X direction are proportional to the number of character points.

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 printing method for performing coordinate conversion and printing control when printing an outline font.

【0002】[0002]

【従来の技術】今日では、高印字品位の要請から、文字
印字を行う際にアウトラインフォントの印字が行われる
ようになってきている。このようなアウトラインフォン
トの印字方法としては、文字を構成する複数の点の集合
を座標として持ち、これらの座標点間を直線あるいは曲
線で補間してアウトラインフォントの印字を行う方法が
ある。図2はこのようなアウトラインフォントデータの
一例である。このアウトラインフォントデータは、40
ポイントの英字“H”を縦・横1/80インチピッチの
マトリクスで表示したものである。図中、黒丸「●」で
示すX,Y座標の各データがアウトラインフォントデー
タとして、印字用メモリに格納され、各データに付属し
たアトリビュート情報により各座標点間が直線または曲
線で補間される。
2. Description of the Related Art Nowadays, due to the demand for high printing quality, outline fonts are being printed when characters are printed. As such an outline font printing method, there is a method in which a set of a plurality of points forming a character is used as coordinates and a line or a curve is interpolated between these coordinate points to print the outline font. FIG. 2 is an example of such outline font data. This outline font data is 40
The letter "H" of the point is displayed in a matrix of vertical and horizontal 1/80 inch pitch. In the drawing, each data of X and Y coordinates indicated by black circles "●" is stored in the printing memory as outline font data, and the coordinate points are interpolated by a straight line or a curve by the attribute information attached to each data.

【0003】また、通常、40ポイントの文字とは異な
るポイントの文字のアウトラインフォントは、このポイ
ントのデータから座標変換することによって求める。図
3は、この一例として10ポイントの例である。これ
は、上述した図2の場合と同様の英字“H”を40ポイ
ントのアウトラインフォントデータから10ポイントの
データに座標変換した図を示している。即ち、この座標
変換は文字の大きさ(ポイント)により縦横のドット密
度は変えずに、1/180インチのドットピッチで40
ポイント文字は、100×100、10ポイント文字は
25×25に座標変換される。
Further, normally, an outline font of a character at a point different from a character at 40 points is obtained by coordinate conversion from the data at this point. FIG. 3 shows an example of 10 points. This shows a diagram in which the same letter "H" as in the case of FIG. 2 described above is coordinate-converted from 40-point outline font data to 10-point data. That is, this coordinate conversion does not change the vertical and horizontal dot densities depending on the size (points) of the characters, and the dot pitch of 1/180 inch
The point character is coordinate-converted into 100 × 100 and the point character is converted into 25 × 25.

【0004】次に、このような座標変換の動作を説明す
る。図4は、従来の座標変換の処理フローチャートであ
る。先ず、基準文字ポイント数のアウトラインフォント
データのX,Y座標を読込む(ステップS1)。ここで
は、基準文字ポイント数は40ポイントであるとする。
次に、この基準文字ポイント数のポイント数Pと、指定
文字ポイント数P′(ここでは、10ポイント)の比で
X座標変換(ステップS2)、Y座標変換(ステップS
3)を行う。また、ここで、座標変換した結果の値
X′,Y′の小数点以下は四捨五入する。
Next, the operation of such coordinate conversion will be described. FIG. 4 is a flowchart of a conventional coordinate conversion process. First, the X and Y coordinates of the outline font data of the reference character point number are read (step S1). Here, it is assumed that the reference character point number is 40 points.
Next, the X coordinate conversion (step S2) and the Y coordinate conversion (step S) are performed based on the ratio of the reference character point number P to the designated character point number P '(here, 10 points).
Perform 3). Further, here, the values after the decimal point of the values X'and Y'as a result of the coordinate conversion are rounded off.

【0005】その後、X,Yのアトリビュート情報の中
からヒント情報を読込み(ステップS4)、上記ステッ
プS2、S3で座標変換されたX′,Y′に対して、こ
の読み込んだヒント情報により補正処理(ヒンティン
グ)を行う。このヒント情報とは、例えば上述した英字
“H”の場合、2本の縦線は左右いずれか一方側に合わ
せる等の情報、また10ポイント文字の場合、高さ(Y
方向長さ)はどのくらいか等の情報であり、このような
ヒント情報によって補正処理を行うことによって、基準
文字以外のアウトラインフォントの印字を行っている。
After that, hint information is read from the X and Y attribute information (step S4), and correction processing is performed by the read hint information with respect to X'and Y'that have been coordinate-converted in steps S2 and S3. (Hinting). This hint information is, for example, in the case of the above-mentioned letter "H", information such that two vertical lines are aligned on either the left or right side, and in the case of a 10-point character, the height (Y
The length in the direction is information such as how much. The outline font other than the reference character is printed by performing the correction process with such hint information.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
アウトラインフォントの印字方法では、図3からも明か
なように、その座標変換に四捨五入等のいわゆるまるめ
処理が必要なため、例えば、“H”の縦線の太さが左右
で異なる結果となったり、文字幅、文字高さ等も座標点
の位置、指定文字ポイント数により、文字によっては異
なってしまう恐れがあった。即ち、40ポイント文字で
のX座標「10」「25」は、10ポイント文字では本
来「2.5」「6.25」であるが、四捨五入の結果そ
れぞれ「3」「6」となっている。従って、10ポイン
ト文字の“H”の2本の縦線のうち図面左側の縦線の太
さは3であり、右側の縦線は4となってしまい、太さが
一致しなくなってしまう。このため、図4のフローチャ
ートで説明したように、各座標データにヒント情報を付
加し、変換される文字ポイント数により変換された座標
を補正処理(ヒンティング)し、線幅、文字幅、文字高
さ等といった複雑な補正を行わなければならなかった。
However, in the conventional outline font printing method, as is clear from FIG. 3, so-called rounding processing such as rounding is required for the coordinate conversion. There is a possibility that the thickness of the vertical line may be different between the left and right, and that the character width, the character height, etc. may differ depending on the character depending on the position of the coordinate point and the number of designated character points. That is, the X coordinates “10” and “25” for 40-point characters are originally “2.5” and “6.25” for 10-point characters, but are rounded to “3” and “6”, respectively. .. Therefore, the thickness of the vertical line on the left side of the drawing is 3 and the vertical line on the right side is 4 out of the two vertical lines of the 10-point character "H", and the thicknesses do not match. Therefore, as described in the flowchart of FIG. 4, hint information is added to each coordinate data, and the converted coordinates are corrected (hinted) according to the number of converted character points to obtain the line width, the character width, and the character. I had to make complicated corrections such as height.

【0007】更に、上記のように複雑な補正を必要とす
るといった問題点だけではなく、文字の斜線や曲線の場
合、小さな文字ポイント数になる程、印字品位に問題が
あった。図5および図6はこの説明図であり、図5は、
40ポイントの斜線データ、図6は10ポイントの斜線
データを示す。図5において、その斜線データは、(1
0,10)、(20,90)のX,Y座標の2点で構成
される。これに対して、10ポイントの斜線データは、
上述したX,Y座標変換および四捨五入を行うと、
(3,3)、(5,23)となり、これを直線補間した
結果が図6(a)に示すものである。この図6(a)か
らも明かなように、斜線データが、3本の切断された直
線データで構成されており、満足できるような印字品位
ではなかった。
Further, in addition to the problem that complicated correction is required as described above, in the case of a diagonal line or a curved line of a character, there is a problem in print quality as the number of character points becomes smaller. 5 and 6 are explanatory diagrams of this, and FIG.
40-point diagonal line data, and FIG. 6 shows 10-point diagonal line data. In FIG. 5, the hatched data is (1
0, 10) and (20, 90) X and Y coordinates. On the other hand, the diagonal data of 10 points is
When the above X, Y coordinate conversion and rounding are performed,
(3, 3) and (5, 23) are obtained, and the result of linear interpolation is shown in FIG. As is clear from FIG. 6A, the shaded line data is composed of three straight line data that are cut, and the print quality is not satisfactory.

【0008】また、基準文字ポイント数に対し、極端に
小さなポイント数を指定した場合、例えば40ポイント
の基準文字は100×100のマトリクスであり、8ポ
イントの文字は20×20のマトリクスとなる。そのた
め、車線や曲線の印字品位が著しく低下し、別途に小さ
な文字用にデザインしたビットマップフォントのデータ
を持たなければならないといった問題点を有していた。
本発明は、上記従来の問題点を解決するためになされた
もので、複雑な補正処理を必要とせず、高印字品位の文
字を印字することのできるアウトラインフォントの印字
方法を提供することを目的とする。
When an extremely small number of points is specified with respect to the reference character point number, for example, a 40-point reference character has a 100 × 100 matrix and an 8-point character has a 20 × 20 matrix. As a result, the printing quality of lanes and curves is remarkably deteriorated, and there is a problem in that it is necessary to separately have data of a bitmap font designed for small characters.
The present invention has been made to solve the above conventional problems, and an object of the present invention is to provide an outline font printing method capable of printing characters of high print quality without requiring complicated correction processing. And

【0009】[0009]

【課題を解決するための手段】第1の発明のアウトライ
ンフォントの印字方法は、基準の文字ポイント数のアウ
トラインフォントデータを備え、前記基準の文字ポイン
ト数とは異なる文字ポイント数のアウトラインフォント
を印字出力する場合、印字出力の文字ポイント数と前記
基準の文字ポイント数のアウトラインフォントデータと
の比率で主走査方向または副走査方向の印字速度を変化
させ、主走査方向または副走査方向の文字ドット間隔を
文字ポイント数に比例させたことを特徴とするものであ
る。
According to a first aspect of the present invention, there is provided an outline font printing method, which comprises outline font data having a reference character point number, and prints an outline font having a character point number different from the reference character point number. When outputting, the printing speed in the main scanning direction or the sub scanning direction is changed by the ratio of the number of character points of the print output and the outline font data of the reference character points, and the character dot spacing in the main scanning direction or the sub scanning direction is changed. Is proportional to the number of character points.

【0010】第2の発明のアウトラインフォントの印字
方法は、基準の文字ポイント数のアウトラインフォント
データを備え、前記基準の文字ポイント数とは異なる文
字ポイント数のアウトラインフォントを印字出力する場
合、印字出力の文字ポイント数と前記基準の文字ポイン
ト数のアウトラインフォントデータとの比率で主走査方
向または副走査方向の印字速度を変化させ、主走査方向
または副走査方向の文字ドット間隔を文字ポイント数に
比例させた第1のアウトラインフォントの印字方法と、
前記基準の文字ポイント数とは異なる文字ポイント数の
アウトラインフォントを印字出力する場合に印字速度を
固定としたドット密度固定アウトラインフォント印字方
法とを備え、前記第1のアウトラインフォントの印字方
法と前記ドット密度固定アウトラインフォント印字方法
のいずれか一方を選択することを特徴とするものであ
る。
The outline font printing method of the second invention comprises outline font data of a standard character point number, and when an outline font having a character point number different from the standard character point number is printed out, a printout is carried out. The printing speed in the main scanning direction or the sub scanning direction is changed by the ratio of the number of character points of the above and the outline font data of the reference character point, and the character dot interval in the main scanning direction or the sub scanning direction is proportional to the number of character points. The first outline font printing method, and
A dot density fixed outline font printing method in which a printing speed is fixed when an outline font having a character point number different from the reference character point number is printed out; and the first outline font printing method and the dot One of the fixed-density outline font printing methods is selected.

【0011】[0011]

【作用】本発明のアウトラインフォントの印字方法にお
いては、予め決定された基準の文字ポイント数のアウト
ラインフォントデータを備えている。そして、これとは
異なる文字ポイント数のアウトラインフォントを印字出
力する場合は、先ず、その文字の文字ポイント数を調べ
る。次に、求められた文字ポイント数に対する基準の文
字ポイント数の割合で印字速度を変化させ、実行印字速
度を求める。この実行印字速度は、文字ポイント数に比
例しているため、文字ドット間隔も、文字ポイント数が
小さくなればこれにつれて小さくなる。従って、基準文
字とは異なる文字ポイント数のアウトラインフォントを
印字出力する場合の補正処理が簡略化され、かつ高印字
品位の印字が行える。
In the outline font printing method of the present invention, outline font data having a predetermined reference character point number is provided. When an outline font having a character point number different from this is printed out, first, the character point number of the character is checked. Next, the printing speed is changed at a ratio of the reference number of character points to the obtained number of character points, and the execution printing speed is obtained. Since the execution printing speed is proportional to the number of character points, the character dot interval also decreases as the number of character points decreases. Therefore, the correction process when an outline font having a character point number different from that of the reference character is printed out can be simplified and high-quality printing can be performed.

【0012】[0012]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は本発明のアウトラインフォントの印字
方法の一実施例を説明するためのフローチャートであ
る。先ず、本実施例では、基準となる文字ポイント数の
アウトラインフォントデータとして従来の技術で説明し
たのと同様に、40ポイント文字のアウトラインフォン
トデータを備えているとする。そして、今、40ポイン
ト文字のアウトラインフォントデータを10ポイントに
座標変換するとした場合、最初に、この文字ポイント数
を読込む(ステップS1)。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a flow chart for explaining an embodiment of the outline font printing method of the present invention. First, in the present embodiment, it is assumed that the outline font data of 40-point character is provided as the outline font data of the reference character points, as described in the conventional technique. If the outline font data of 40-point character is converted into 10-point coordinates, the character point number is read first (step S1).

【0013】次いで、この指定文字ポイント数に基づき
速度換算処理を行う(ステップS2)。この速度とは、
X方向への速度であり、シリアルドットプリンタの場合
ではキャリッジ速度、即ち印字ヘッドの主走査方向への
速度を指している。速度換算処理では、実行印字速度
を、基準速度×(指定文字ポイント数÷基準文字ポイン
ト数)で求める。例えば、40ポイント文字の基準速度
をVとすると、実行印字速度V′はV×1/4となる。
そして、ステップS2で求められた実行印字速度V′を
設定し、印字を行う(ステップS3)。従って、Y方向
即ち副走査方向の速度を一定とすると、X方向の印字ド
ット間隔は文字ポイント数に比例する(印字ドット密度
が大きくなる)ことになる。
Next, speed conversion processing is performed based on the number of designated character points (step S2). What is this speed?
It is the speed in the X direction, and in the case of a serial dot printer, it indicates the carriage speed, that is, the speed of the print head in the main scanning direction. In the speed conversion process, the execution print speed is calculated by reference speed × (specified character point number / reference character point number). For example, when the reference speed of 40-point character is V, the execution print speed V'is V * 1/4.
Then, the execution print speed V'obtained in step S2 is set and printing is performed (step S3). Therefore, if the speed in the Y direction, that is, the sub-scanning direction is constant, the print dot interval in the X direction is proportional to the number of character points (print dot density increases).

【0014】図7は、各指定文字ポイント数に対する実
行印字速度を示す説明図である。この図からも明らかな
ように、基準文字ポイント数を40とし、この場合の実
行印字速度をV40とすると、各指定文字ポイント数に
対する実行印字速度はそれぞれポイント数に比例した値
となる。即ち、ポイント数が小さくなれば、実行印字速
度は遅くなり、従って、X方向の印字ドット密度が大き
くなることになる。このようなテーブルデータをメモリ
に格納し、指定文字ポイント数が異なる毎に、テーブル
から実行印字速度を求めることで、速度換算処理は容易
に行うことができる。
FIG. 7 is an explanatory diagram showing the execution print speed for each designated character point number. As is clear from this figure, if the reference character point number is 40 and the execution printing speed in this case is V40, the execution printing speed for each designated character point number is a value proportional to each point number. That is, the smaller the number of points, the slower the actual printing speed, and therefore the higher the print dot density in the X direction. By storing such table data in the memory and determining the execution print speed from the table every time the number of designated character points differs, the speed conversion process can be easily performed.

【0015】図8は、本実施例により40ポイントの英
字“H”を10ポイントに座標変換した結果を示す図で
ある。上述したように、40ポイント文字を10ポイン
ト文字に座標変換した場合、実行印字速度V′は、1/
4となるため、印字ドット間隔も1/4となる。従っ
て、40ポイント文字のX座標のドットピッチを1/1
80インチとした場合、10ポイント文字のX座標のド
ットピッチは1/720となり、マトリクスは100で
あって40ポイント文字の場合と同様である。また、Y
座標は1/180インチのまま従来と同様の座標変換を
行い、そのマトリクスは100×(10/40)=25
となっている。これは、シリアルドットプリンタの場
合、Y座標の関しては印字ヘッドの縦方向に配列された
ワイヤピッチの制約によるものである。
FIG. 8 is a diagram showing a result of coordinate conversion of 40-point alphabetic character "H" into 10-point according to the present embodiment. As described above, when the 40-point character is coordinate-converted into the 10-point character, the execution printing speed V ′ is 1 /
Since it is 4, the print dot interval is also 1/4. Therefore, the dot pitch of the X coordinate of the 40-point character is 1/1
In the case of 80 inches, the dot pitch of the X coordinate of the 10-point character is 1/720, and the matrix is 100, which is the same as the case of the 40-point character. Also, Y
The coordinates are 1/180 inch and the same coordinate conversion is performed as before, and the matrix is 100 × (10/40) = 25.
Has become. In the case of the serial dot printer, this is due to the constraint of the wire pitch arranged in the vertical direction of the print head with respect to the Y coordinate.

【0016】このように、本実施例ではX座標の変換は
不要としたため、“H”の2本の縦線の太さは等しくな
り、いかなる文字ポイント数においてもX方向への補正
(ヒンティング)処理は不要である。
As described above, since the conversion of the X coordinate is unnecessary in this embodiment, the thicknesses of the two vertical lines of "H" are equal, and the correction (hinting) in the X direction is performed at any number of character points. ) No processing required.

【0017】図9に、本実施例の座標変換処理のフロー
チャートを示す。即ち、本実施例ではX座標の変換は不
要であるため、Y座標の変換のみを行う。先ず、アウト
ラインフォントデータのY座標データの読込みを行い
(ステップS1)、そのY座標の変換を行う(ステップ
S2)。この座標変換は従来と同様に基準文字のY座標
×(指定文字のポイント数P′/基準文字のポイント数
P)で求める。その後は、Y座標アトリビュート情報の
中からのヒント情報を読込み(ステップS3)、ここで
読み込んだヒント情報により、指定文字のY座標の補正
処理(ヒンティング処理)を行う(ステップS4)。従
って、この図9のフローチャートを従来の図4のフロー
チャートと比較しても明かなように、X座標の座標変換
と補正処理が不要なために、その分の処理速度の向上が
期待できる。
FIG. 9 shows a flowchart of the coordinate conversion process of this embodiment. That is, in the present embodiment, since the conversion of the X coordinate is unnecessary, only the conversion of the Y coordinate is performed. First, the Y coordinate data of the outline font data is read (step S1), and the Y coordinate is converted (step S2). This coordinate conversion is determined by the Y coordinate of the reference character x (point number P'of designated character / point number P of reference character) as in the conventional case. After that, the hint information from the Y coordinate attribute information is read (step S3), and the Y coordinate of the designated character is corrected (hinting process) by the hint information read here (step S4). Therefore, as is apparent from the comparison of the flowchart of FIG. 9 with the conventional flowchart of FIG. 4, the coordinate conversion of the X coordinate and the correction process are not necessary, so that the processing speed can be expected to be improved.

【0018】また、図6(b)は、本実施例の斜線の印
字例を示し、従来の斜線の印字例{図6(a)}と比較
して示すものである。このように、X座標の印字ドット
ピッチを1/720インチとしたことで、従来の印字と
比べて大幅に印字品位の向上が可能である。また、当然
のことながら、曲線の部分においても同様に効果が期待
することができる。
FIG. 6 (b) shows an example of the printing of the diagonal lines of this embodiment, which is shown in comparison with the conventional printing example of the diagonal lines {FIG. 6 (a)}. Thus, by setting the print dot pitch of the X coordinate to be 1/720 inch, it is possible to significantly improve the print quality as compared with the conventional print. Further, as a matter of course, the same effect can be expected in the curved portion.

【0019】次に、他の実施例として、上記実施例で説
明した高印字品位モードのアウトラインフォントと、高
速印字モードの2種類の印字を選択可能とした印字方法
を説明する。また、ここで、高速印字モードとは、印字
速度を固定としたドット密度固定アウトラインフォント
印字方法を用いた印字モードであり、例えば、従来の技
術で説明したアウトラインフォント印字方法を指してい
る。図10は、その印字方法の選択処理を示すフローチ
ャートである。先ず、上記2種類の印字方法のどちらを
選択するかの設定手段として、プリンタのディップスイ
ッチまたは操作スイッチ、外部装置からのコマンド、あ
るいはプリンタのメニュー機構により、アウトライン印
字モードセンスを行い(ステップS1)、センスされた
印字モードに基づきフラグをセットする(ステップS
2)。
Next, as another embodiment, a printing method will be described in which two types of printing, the outline font in the high print quality mode and the high speed print mode described in the above embodiment, can be selected. The high-speed printing mode is a printing mode that uses a fixed dot density outline font printing method with a fixed printing speed, and refers to, for example, the outline font printing method described in the related art. FIG. 10 is a flowchart showing the selection process of the printing method. First, as a setting means for selecting which of the above two types of printing methods is selected, outline printing mode sensing is performed by a DIP switch or operation switch of the printer, a command from an external device, or a menu mechanism of the printer (step S1). , A flag is set based on the sensed print mode (step S
2).

【0020】即ち、プリンタのディップスイッチ、操作
スイッチによる選択とは、プリンタに設けられたハード
的なスイッチによる選択であり、外部装置からのコマン
ドとは、プリンタに対して外部からあるコマンドが与え
られると、プリンタ側で予め定められた設定に基づき、
そのコマンドに対応していずれかの印字モードが選択さ
れるものである。また、メニュー設定とは、上記選択の
ための設定用のメニューをプリンタで表示あるいは印字
出力し、オペレータがこの設定用のメニューに従って選
択を行うものである。
That is, the selection by the DIP switch and the operation switch of the printer is the selection by the hardware switch provided in the printer, and the command from the external device is a command given from the outside to the printer. And, based on the preset settings on the printer side,
One of the print modes is selected according to the command. The menu setting is to display or print out a setting menu for the above selection on a printer, and the operator selects according to the setting menu.

【0021】次に、上記アウトライン印字モードフラグ
セット後のプリンタの切換え処理について説明する。図
11は、その切換え処理を示すフローチャートである。
先ず、上述した設定処理でセットされたアウトライン印
字モードフラグを読込み(ステップS1)、フラグの判
定により、高印字品位モードか否かの判別を行う(ステ
ップS2)。この判別で、高印字品位モードと判定され
た場合は、ステップS3で高印字品位モードをセット
し、高印字品位モードではないと判定された場合は、高
速印字モードをセットする(ステップS4)。
Next, the printer switching process after the outline printing mode flag is set will be described. FIG. 11 is a flowchart showing the switching process.
First, the outline printing mode flag set in the above-mentioned setting process is read (step S1), and it is determined whether the high printing quality mode is set or not by the flag determination (step S2). If it is determined in this determination that the high print quality mode is set, the high print quality mode is set in step S3, and if it is determined that the high print quality mode is not set, the high speed print mode is set (step S4).

【0022】尚、上記各実施例においては、シリアルド
ットプリンタを例にとって説明したが、この形式のプリ
ンタに限定されるものではなく、LED(発光ダイオー
ド)等のラインヘッドを使用したページプリンタ等にお
いても、LEDの駆動周期、用紙の走行速度を制御する
ことで、上記各実施例と同様の効果を奏することができ
る。即ち、このようなページプリンタでは、用紙の送り
方向(実際には感光ドラムの回転方向であるが、ここで
は説明の都合上用紙の送り方向とする)と直交する方向
にLEDのラインヘッドが設けられ、このラインヘッド
からの光のオン/オフによって印字を行うように構成さ
れている。従って、用紙の送り方向をラインヘッドの副
走査方向とした場合、副走査方向に対するLEDの駆動
周期(発光周期)を変化させるか、あるいは用紙走行速
度を変化させることによって、副走査方向の印字速度を
変化させることができるため、上記実施例と同様な方法
でアウトラインフォントの印字を行うことができる。
尚、この場合は、上記実施例が文字のX方向への制御で
あるのに対して、Y方向への制御となる。
In each of the above embodiments, the serial dot printer has been described as an example, but the invention is not limited to this type of printer, and in a page printer using a line head such as an LED (light emitting diode). Also, by controlling the driving cycle of the LEDs and the traveling speed of the paper, it is possible to obtain the same effect as that of each of the above embodiments. That is, in such a page printer, the LED line head is provided in a direction orthogonal to the paper feeding direction (actually, the photosensitive drum rotating direction, but here, for convenience of description, the paper feeding direction). The line head is configured to perform printing by turning on / off the light. Therefore, when the paper feed direction is the sub-scanning direction of the line head, the printing speed in the sub-scanning direction is changed by changing the LED driving cycle (light emitting cycle) or the paper running speed with respect to the sub-scanning direction. Therefore, the outline font can be printed by the same method as in the above embodiment.
In this case, the control is performed in the Y direction, whereas the above embodiment controls the character in the X direction.

【0023】[0023]

【発明の効果】以上説明したように、第1の発明のアウ
トラインフォントの印字方法によれば、印字出力を行う
文字のポイント数と基準文字のポイント数の比率で主走
査方向または副走査方向の印字速度を変化させ、主走査
方向または副走査方向の文字ドット間隔を文字のポイン
ト数に比例するようにしたので、複雑な補正処理が不要
で印字処理の高速化が図れると共に、高印字品位のアウ
トラインフォントの印字を行うことができる。
As described above, according to the outline font printing method of the first aspect of the invention, the ratio of the point number of the character to be printed and the point number of the reference character in the main scanning direction or the sub-scanning direction is used. Since the printing speed is changed so that the character dot spacing in the main scanning direction or sub-scanning direction is proportional to the number of character points, complicated correction processing is not required and the printing process can be speeded up, and high printing quality can be achieved. The outline font can be printed.

【0024】また、第2の発明のアウトラインフォント
の印字方法によれば、上記第1の発明の印字方法に加え
て、印字速度を固定としたドット密度固定アウトライン
フォント印字方法を備え、これらを選択可能としたの
で、用途により2種類のアウトラインフォントの印字が
可能なプリンタを提供することができるという効果が得
られる。
According to the outline font printing method of the second invention, in addition to the printing method of the first invention, a dot density fixed outline font printing method with a fixed printing speed is provided, and these are selected. Since it is possible, there is an effect that it is possible to provide a printer capable of printing two types of outline fonts depending on the application.

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

【図1】本発明のアウトラインフォントの印字方法にお
ける実行印字速度設定のフローチャートである。
FIG. 1 is a flowchart for setting an execution print speed in an outline font printing method of the present invention.

【図2】一般的なアウトラインフォントデータの説明図
である。
FIG. 2 is an explanatory diagram of general outline font data.

【図3】従来のアウトラインフォントの印字方法による
10ポイント印字の説明図である。
FIG. 3 is an explanatory diagram of 10-point printing by a conventional outline font printing method.

【図4】従来のアウトラインフォントの印字方法による
座標変換のフローチャートである。
FIG. 4 is a flowchart of coordinate conversion by a conventional outline font printing method.

【図5】40ポイントの斜線データの説明図である。FIG. 5 is an explanatory diagram of 40-point diagonal line data.

【図6】従来および実施例の10ポイントの斜線データ
の説明図である。
FIG. 6 is an explanatory diagram of 10-point diagonal line data of the conventional example and the example.

【図7】本発明のアウトラインフォントの印字方法に関
する指定文字ポイント数に対する実行印字速度の説明図
である。
FIG. 7 is an explanatory diagram of an execution print speed with respect to a designated character point number relating to the outline font printing method of the present invention.

【図8】本発明のアウトラインフォントの印字方法にお
ける10ポイントへの座標変換の説明図である。
FIG. 8 is an explanatory diagram of coordinate conversion into 10 points in the outline font printing method of the present invention.

【図9】本発明のアウトラインフォントの印字方法にお
ける座標変換処理のフローチャートである。
FIG. 9 is a flowchart of coordinate conversion processing in the outline font printing method of the present invention.

【図10】本発明のアウトラインフォントの印字方法に
おける他の実施例のフローチャートである。
FIG. 10 is a flowchart of another embodiment of the outline font printing method of the present invention.

【図11】本発明のアウトラインフォントの印字方法に
おける他の実施例の印字モード切換え処理のフローチャ
ートである。
FIG. 11 is a flowchart of a print mode switching process of another embodiment of the outline font printing method of the present invention.

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

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 基準の文字ポイント数のアウトラインフ
ォントデータを備え、 前記基準の文字ポイント数とは異なる文字ポイント数の
アウトラインフォントを印字出力する場合、 印字出力の文字ポイント数と前記基準の文字ポイント数
のアウトラインフォントデータとの比率で主走査方向ま
たは副走査方向の印字速度を変化させ、 主走査方向または副走査方向の文字ドット間隔を文字ポ
イント数に比例させたことを特徴とするアウトラインフ
ォントの印字方法。
1. When the outline font data of a standard number of character points is provided and an outline font having a number of character points different from the standard number of character points is printed out, the number of character points of the printout and the standard character point are output. Number of outline font data, the printing speed in the main scanning direction or sub-scanning direction is changed to make the character dot interval in the main scanning direction or sub-scanning direction proportional to the number of character points. Printing method.
【請求項2】 基準の文字ポイント数のアウトラインフ
ォントデータを備え、 前記基準の文字ポイント数とは異なる文字ポイント数の
アウトラインフォントを印字出力する場合、 印字出力の文字ポイント数と前記基準の文字ポイント数
のアウトラインフォントデータとの比率で主走査方向ま
たは副走査方向の印字速度を変化させ、 主走査方向または副走査方向の文字ドット間隔を文字ポ
イント数に比例させた第1のアウトラインフォントの印
字方法と、 前記基準の文字ポイント数とは異なる文字ポイント数の
アウトラインフォントを印字出力する場合に印字速度を
固定としたドット密度固定アウトラインフォント印字方
法とを備え、 前記第1のアウトラインフォントの印字方法と前記ドッ
ト密度固定アウトラインフォント印字方法のいずれか一
方を選択することを特徴とするアウトラインフォントの
印字方法。
2. When outline font data having a standard number of character points is provided and an outline font having a number of character points different from the standard character point is printed out, the number of character points of the printout and the standard character point Number of outline font data, the printing speed in the main scanning direction or sub-scanning direction is changed to make the character dot interval in the main scanning direction or the sub-scanning direction proportional to the number of character points. And a dot density fixed outline font printing method in which a printing speed is fixed when an outline font having a character point number different from the reference character point number is printed out, and the first outline font printing method, Any of the fixed dot density outline font printing methods The method of printing outline font and selects one.
JP4092003A 1992-03-18 1992-03-18 Printing method of outline font Pending JPH05261974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4092003A JPH05261974A (en) 1992-03-18 1992-03-18 Printing method of outline font

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4092003A JPH05261974A (en) 1992-03-18 1992-03-18 Printing method of outline font

Publications (1)

Publication Number Publication Date
JPH05261974A true JPH05261974A (en) 1993-10-12

Family

ID=14042260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4092003A Pending JPH05261974A (en) 1992-03-18 1992-03-18 Printing method of outline font

Country Status (1)

Country Link
JP (1) JPH05261974A (en)

Similar Documents

Publication Publication Date Title
US5727140A (en) Character generating method and apparatus
US5841552A (en) Image processed apparatus for processing images having different resolutions
US5313573A (en) Apparatus for forming character patterns with line segments
JPH10147028A (en) Printing control method for printing device and printing device
JPH05261974A (en) Printing method of outline font
KR100227056B1 (en) Bidirectional serial printer
US4914621A (en) Document processing system
JPH03213367A (en) Multicolor printer
JP2020161990A (en) Printer and image edition program
US5599114A (en) Printing control method and printer
JP3165346B2 (en) Serial printer
JPH0263762A (en) Output apparatus
JP5112223B2 (en) Image processing apparatus and image processing program
JPH049152B2 (en)
JPS59201870A (en) Printer
JP3424708B2 (en) Dot matrix printing system
JP3158726B2 (en) Data processing device
JP3317600B2 (en) Image forming device
JP2692203B2 (en) Printer
JPH0583384B2 (en)
JPH047166A (en) Dot printer
JP3119094B2 (en) Character output device
JP2836026B2 (en) Printing control device
JPH1191185A (en) Printing control method
JPH04188189A (en) Multioutline font drawing method