JPH0457510B2 - - Google Patents

Info

Publication number
JPH0457510B2
JPH0457510B2 JP58135228A JP13522883A JPH0457510B2 JP H0457510 B2 JPH0457510 B2 JP H0457510B2 JP 58135228 A JP58135228 A JP 58135228A JP 13522883 A JP13522883 A JP 13522883A JP H0457510 B2 JPH0457510 B2 JP H0457510B2
Authority
JP
Japan
Prior art keywords
dot
matrix pattern
dot matrix
column
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58135228A
Other languages
Japanese (ja)
Other versions
JPS6027552A (en
Inventor
Hirokuni Takano
Tadao Shimizu
Osamu Isaki
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 JP13522883A priority Critical patent/JPS6027552A/en
Priority to EP84305069A priority patent/EP0132415B1/en
Priority to DE8484305069T priority patent/DE3474933D1/en
Publication of JPS6027552A publication Critical patent/JPS6027552A/en
Priority to US06/815,280 priority patent/US4632579A/en
Publication of JPH0457510B2 publication Critical patent/JPH0457510B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/111Arrangements for producing a permanent visual presentation of the output data with overlapping swaths

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、ドツトの集合で文字や記号等を印字
するドツトプリンタの高品位な印字方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a high-quality printing method for a dot printer that prints characters, symbols, etc. using a collection of dots.

〔従来技術〕[Prior art]

以下に、従来のドツトプリンタの高品位な印字
方式を図に示すドツトパターンに基づいて説明す
ると共に、その欠点について述べる。
Below, the high-quality printing method of a conventional dot printer will be explained based on the dot pattern shown in the figure, and its drawbacks will also be discussed.

第1図aは従来の基本ドツトパターン、同図
b,cは高印字品位パターン、第2図a,bは二
つの異なつた印字パターン、同図cは高印字品位
パターンを示す。1列として数字4を用いてい
る。
1A shows a conventional basic dot pattern, FIGS. 1B and 2C show a high print quality pattern, FIGS. 2A and 2B show two different printing patterns, and FIG. 2C shows a high print quality pattern. The number 4 is used as one column.

第1方式として、印字ヘツドのワイヤ数を増や
して千鳥状に配列し高密度のドツト構成とする方
式があるが、この方式では高印字品位は得られる
が装置の構成や制御が複雑になる欠点があると共
に、高価な装置となつてしまう欠点となる。
The first method is to increase the number of wires in the print head and arrange them in a staggered pattern to create a high-density dot configuration, but this method provides high print quality but has the disadvantage that the device configuration and control are complicated. This also has the disadvantage of making the device expensive.

第2方式として、第1図aに示す基本パターン
の印字を同図bに示すようにわずかに横方向にず
らして印字を行なう方式及び同図cに示すように
前記基本パターンをわずかに縦方向にずらして印
字を行なう方式があるが、この方式では方式が簡
単なので装置は安価となるが印字の品位が劣る欠
点がある。
The second method is to print the basic pattern shown in Figure 1a by slightly shifting it in the horizontal direction as shown in Figure 1b, and to print the basic pattern slightly in the vertical direction as shown in Figure 1c. There is a method in which printing is performed by shifting the image, but this method is simple and the device is inexpensive, but it has the disadvantage of poor printing quality.

第3方式として、第2図aに示すパターンと同
図bに示すパターンのように異なつた二つのパタ
ーンを縦方向にわずかにずらして、同図cに示す
ように高品位の印字を得る方式もあるが、この方
式では文字パターンを別に持つためメモリの容量
が増え、高価になる欠点がある。
The third method is to slightly shift two different patterns in the vertical direction, such as the pattern shown in Figure 2a and the pattern shown in Figure 2B, to obtain high-quality printing as shown in Figure 2C. However, this method has the disadvantage that the character pattern is stored separately, which increases the memory capacity and makes it expensive.

〔発明の目的〕[Purpose of the invention]

そこで、本発明は文字パターン発生用メモリ容
量が少なく安価なドツトプリンタで高品位な印字
方式を提供することにより、従来の欠点を解決す
ることにある。
SUMMARY OF THE INVENTION Accordingly, the present invention aims to solve the conventional drawbacks by providing a high-quality printing method using an inexpensive dot printer with a small memory capacity for character pattern generation.

〔発明の構成〕[Structure of the invention]

本発明は、基本のドツトマトリクスパターンか
らアルゴリズムにより基本のドツトマトリクスパ
ターンの横方向を補間する第1のドツトマトリク
スパターンを発生させ、この第1のドツトマトリ
クスパターンと基本のドツトマトリクスパターン
を合成編集したドツトマトリクスパターンを印字
ヘツドの第1パス目で印字し、印字ヘツドと印字
用紙を基本のドツトマトリクスパターンの1/2
ドツト印字間隔だけ縦方向に相対的に移動した
後、基本のドツトマトリクスパターンからアルゴ
リズムにより基本のドツトマトリクスパターンの
縦および斜め方向を補間する第2のドツトマトリ
クスパターンを発生させ、この第2のドツトマト
リクスパターンを印字ヘツドの第2パス目で印字
するドツトプリンタの印字方法において、上記第
2のドツトマトリクスパターンは、基本のドツト
マトリクスパターンのm行目の(n−1)列と
(n+1)列に各ドツトがあり(m、nは整数)、
かつ(m+1)行目のn列にドツトがある場合、
m行と(m+1)行との中間でかつn列目の位置
にドツトを補間し、さらに、基本のドツトマトリ
クスパターンのm行目のn列にドツトがあり、か
つ(m+1)行目の(n−1)列と(n十1)列
に各々ドツトがある場合、m行と(m+1)行と
の中間でかつn列目の位置にドツトを補間するド
ツトパターンを含み、高品位な印字を得ることが
できる。
The present invention generates a first dot matrix pattern by interpolating the horizontal direction of the basic dot matrix pattern from the basic dot matrix pattern using an algorithm, and synthesizes and edits the first dot matrix pattern and the basic dot matrix pattern. The dot matrix pattern is printed in the first pass of the print head, and the print head and printing paper are 1/2 of the basic dot matrix pattern.
After relatively moving in the vertical direction by the dot printing interval, a second dot matrix pattern is generated from the basic dot matrix pattern by interpolating the vertical and diagonal directions of the basic dot matrix pattern, and this second dot matrix pattern is In a dot printer printing method in which a matrix pattern is printed in the second pass of the print head, the second dot matrix pattern is printed on the mth row (n-1) and column (n+1) of the basic dot matrix pattern. There is each dot (m, n are integers),
And if there is a dot in the n column of the (m+1)th row,
A dot is interpolated at the n-th column position between rows m and (m+1), and if there is a dot at the n-th column of the m-th row of the basic dot matrix pattern and there is a dot at the (m+1)-th row ( If there are dots in columns n-1) and (n1), high-quality printing is possible, including a dot pattern that interpolates the dots at the n-th position between rows m and (m+1). can be obtained.

〔実施例〕〔Example〕

以下に、本発明の一実施例を図面に基づいて説
明すると共に、その効果を述べる。
An embodiment of the present invention will be described below based on the drawings, and its effects will be described.

第3図は本発明の一実施例による装置の慨略構
成を示すブロツク図であり、1はプリンタを制御
するマイクロプロセツサ(以下CPUと云う)、2
はプログラムを格納しているリードオンリーメモ
リ(以下ROMaと云う)、3は文字や記号等のド
ツトパターンを格納しているリードオンリーメモ
リ(以下ROMbと云う)、4はCPU1からの指令
によつて駆動するI/Oドライバ、5はI/Oド
ライバ4に接続する印字ヘツド5であり、I/O
ドライバ4には他に図示外の印字用紙改行用の
LFモータと印字ヘツドを印字方向に移動させる
スペーシング用のSPモータ及び外部から印字デ
ータを取込むインターフエイス部が接続してあ
る。6は各部品を接続するバスラインである。
FIG. 3 is a block diagram showing a schematic configuration of an apparatus according to an embodiment of the present invention, in which 1 is a microprocessor (hereinafter referred to as CPU) that controls the printer;
3 is a read-only memory (hereinafter referred to as ROMa) that stores programs, 3 is a read-only memory (hereinafter referred to as ROMb) that stores dot patterns such as characters and symbols, and 4 is a read-only memory (hereinafter referred to as ROMb) that stores programs. A driving I/O driver 5 is a print head 5 connected to the I/O driver 4,
Driver 4 also includes a printer for printing paper line breaks (not shown).
The LF motor is connected to the SP motor for spacing that moves the print head in the printing direction, and the interface unit that takes in print data from the outside. 6 is a bus line connecting each component.

このように、回路構成をした装置による印字
は、CPU1がROMa2が格納されているプログ
ラムによりインターフエイスより先ず制御データ
と印字データ(文字コード)を受信する。該印字
データが受信されると、それをアドレスとして
ROMb3から文字ドツトパターンを読込む。こ
こで、上記制御データが高品位印字の印刷を指定
していると、ROMb3から読込んだ文字ドツト
パターンを変換アルゴリズムにより編集し、該編
集データを基づき印刷を行なう。
In printing by a device having such a circuit configuration, the CPU 1 first receives control data and print data (character code) from the interface according to the program stored in the ROMa 2. When the print data is received, use it as an address.
Read the character dot pattern from ROMb3. Here, if the control data specifies high-quality printing, the character dot pattern read from ROMb3 is edited by a conversion algorithm, and printing is performed based on the edited data.

次に、高印字品位を達成するための変換アルゴ
リズムについて第4図を基に述べる。
Next, a conversion algorithm for achieving high print quality will be described based on FIG. 4.

第4図a〜hは各種基本パターンのアルゴリズ
ムによる変換を示し、〓で示すドツトはROMb
3から読込まれたドツトのデータ、〓はその格子
上にROMb3から読込まれたドツトのデータが
無いことを示し、〓は補間するドツトのデータで
ある。
Figure 4 a to h show the conversion of various basic patterns by the algorithm.
The dot data read from ROMb3 indicates that there is no dot data read from ROMb3 on that grid, and the dot data to be interpolated.

次に、一例として数字4を用いて上記変換アル
ゴリズムによる印字例を第5図及び第6図に示
す。
Next, an example of printing by the above conversion algorithm using the number 4 as an example is shown in FIGS. 5 and 6.

第5図は基本パターンであり、該パターンは
ROMb3から読込まれる。尚、ここでは縦7ロ
ー(r1〜r7)、横9カラム(c1〜c9)で文字パター
ンを構成している。
Figure 5 shows the basic pattern, and the pattern is
Read from ROMb3. Here, the character pattern is composed of seven vertical rows (r 1 to r 7 ) and nine horizontal columns (c 1 to c 9 ).

第6図は第5図に示す基本パターンに上記第4
図に示した変換アルゴリズムによつて編集した第
2パターンを印字した印字パターンである。図に
示す、a1〜a4は第4図aの変換による補間ドツ
ト、b1〜b4は第4図bの変換による補間ドツト、
e1〜e3は第4図eの変換による補間ドツト、h1
第4図hの変換による補間ドツトである。
Figure 6 shows the basic pattern shown in Figure 5 and the 4th pattern above.
This is a print pattern obtained by printing a second pattern edited using the conversion algorithm shown in the figure. As shown in the figure, a 1 to a 4 are interpolated dots obtained by the conversion shown in FIG. 4 a, b 1 to b 4 are interpolated dots obtained by the conversion shown in FIG. 4 b,
e 1 to e 3 are interpolated dots obtained by the conversion shown in FIG. 4e, and h 1 is an interpolated dot obtained by the conversion shown in FIG. 4 h.

この数字4の印字は上記した第3図のヘツド5
が行なう。ヘツド5は7本のワイヤで構成され、
先ず1回目のスペーシング(1パス)で第6図に
示すローr1〜r7上のドツトを印字した後、印字用
紙を上方向に1/2ドツト改行するかまたは印字ヘ
ツド5を下方向に1/2ドツト下げて2回目のスペ
ーシングで第6図に示すr1′〜r6′上のドツトを印
字して同図に示すように高品位の印字を行なう。
この基本パターンの隙間を埋める印字は変換アル
ゴリズムによる補間データを基に行なわれるので
ある。
This number 4 is printed on head 5 in Figure 3 above.
will do it. The head 5 consists of seven wires,
First, in the first spacing (1 pass), after printing the dots on rows r1 to r7 shown in Figure 6, either line feed the printing paper by 1/2 dot upwards or move the print head 5 downwards. The dots are lowered by 1/2 dot and the dots on r 1 ' to r 6 ' shown in FIG. 6 are printed in the second spacing to achieve high quality printing as shown in the same figure.
Printing that fills in the gaps in this basic pattern is performed based on interpolated data by a conversion algorithm.

次に、この補間データの生成及び印字動作につ
いて第7図、第8図を基に説明する。
Next, generation of this interpolation data and printing operation will be explained based on FIGS. 7 and 8.

第7図は整数カラムの場合の変換処理のフロー
チヤート、第8図は整数カラム以外の場合の変換
処理のフローチヤートである。
FIG. 7 is a flowchart of conversion processing for integer columns, and FIG. 8 is a flowchart of conversion processing for cases other than integer columns.

図において、上記第6図で示すc1〜c9を整数カ
ラムとし、Rn,Rn-1,Rn+1は整数カラムのとき
各々印字すべきカラムの印字データ、1つ前のカ
ラムの印字データ、1つ後のカラムの印字データ
を格納するレジスタである。ただし、整数カラム
以外(第6図に示すカラムC1′〜c8′)では各々印
字すべきカラムの1/4ドツト後のカラムの印字
データ、1/4ドツト前のカラムの印字データ、
3/4ドツト後のカラムの印字データを格納す
る。Ra〜Rd及びRx〜Rzは各々汎用レジスタ、
Rxは1/4ドツト前の印字データを格納するレ
ジスタ、Aはアキユムレータである。各演算を示
す・は論理積、+は論理和、×2は1ビツトのシフ
トアツプ、×1/2は1ビツトのシフトダウン、−
はコンプリメントを表わす。〜は各ステツプ
の番号である。
In the figure, c 1 to c 9 shown in Figure 6 above are integer columns, and Rn, Rn -1 , and Rn +1 are the print data of the column to be printed respectively when they are integer columns, and the print data of the previous column. , is a register that stores print data for the next column. However, for columns other than integer columns (columns C1 ' to C8 ' shown in Figure 6), the print data of the column 1/4 dot after the column to be printed, the print data of the column 1/4 dot before the column to be printed,
Stores the print data of the column after 3/4 dots. Ra~Rd and Rx~Rz are general-purpose registers, respectively.
Rx is a register that stores print data 1/4 dot before, and A is an accumulator. Indicating each operation, / indicates logical product, + indicates logical sum, ×2 indicates 1-bit shift up, ×1/2 indicates 1-bit shift down, -
represents complement. ~ is the number of each step.

ここで、印字動作の説明に入るが第3図、第4
図、第5図及び第6図を必要に応じて加えて説明
を行なつていく。
Here, we will begin to explain the printing operation, as shown in Figures 3 and 4.
The explanation will be continued with reference to FIGS. 5, 5, and 6 as necessary.

その動作は、第3図のSPモータが駆動され、
印字ヘツド5が所定の位置に移動し、印字すべき
文字コードがインターフエイスからI/Oドライ
バ4を介してCPU1に与えられる。
Its operation is driven by the SP motor shown in Figure 3.
The print head 5 moves to a predetermined position, and the character code to be printed is given to the CPU 1 from the interface via the I/O driver 4.

CPU1は、上記文字コードとカラム番号をア
ドレスとしてROMb3から印字すべきカラムと
1つ後のカラムの印字データを読込みレジスタ
Rn,Rn+1に格納する。この時レジスタRn-1には
0が格納されている。
CPU1 reads the print data of the column to be printed and the next column from ROMb3 using the above character code and column number as an address and registers it.
Store in Rn, Rn +1 . At this time, 0 is stored in register Rn -1 .

この、格納後第7図に示す変換処理に入る。先
ず、ステツプで1パス目かどうかを判定する。
1パス目であればステツプの処理を行ない、第
4図bの補間を行なう。
After this storage, the conversion process shown in FIG. 7 begins. First, it is determined whether the step is the first pass.
If it is the first pass, step processing is performed and the interpolation shown in FIG. 4b is performed.

この、ステツプではROMb3から次の印字
データを読込みレジスタRn+1に格納する。
In this step, the next print data is read from ROMb3 and stored in register Rn +1 .

この状態から印字が行なわれる。それは、アキ
ユムレータAのデータを印字ヘツド5に与えて行
なわれるのであり、1つの整数カラムの印字が終
了すると次の整数カラムに移ると云うようにして
ステツプ,の処理を繰返し1文字を終了する
ことであり、これは上記第6図で例示したローr1
〜r7上の印字となる。このようにして、1文字の
印字が終了するとCPU1は新たに次のコードを
受取り前記同様の処理を行なうという手順で1行
分の印字を行なう。これは、第6図で例示したロ
ーr1〜r7の印字が1行にわたつて全て行なわれた
状態である。
Printing is performed from this state. This is done by supplying the data from the accumulator A to the print head 5, and when the printing of one integer column is completed, the process moves to the next integer column, and so on, repeating the process of step 3 to finish one character. , which is the row r 1 illustrated in Figure 6 above.
~r 7 will be printed above. In this manner, when printing of one character is completed, the CPU 1 receives the next code and performs the same process as described above, thereby printing one line. This is a state in which all rows r 1 to r 7 illustrated in FIG. 6 have been printed over one line.

このようにして、1行分のローr1〜r7の印字を
行なつた後、印字用紙を上方向に1/2ドツト改
行または印字ヘツド5を下方に1/2ドツト下げ
ると共に、印字ヘツド5をその行の第1字印字位
置まで復帰し2パス目の印字に入る。
After printing one line of rows r 1 to r 7 in this way, move the printing paper upwards with a 1/2 dot line feed or move the print head 5 downwards with a 1/2 dot line feed, and then 5 is returned to the first character printing position in that line and printing begins for the second pass.

先ず、上記同様にレジスタRn,Rn-1,Rn+1
印字データを格納して変換処理に入る。
First, as above, print data is stored in registers Rn, Rn -1 , and Rn +1 , and conversion processing begins.

ステツプでは2パス目なので、ここではステ
ツプに進む。ステツプで整数カラムか整数カ
ラム以外かを判定し、整数カラムの場合にはステ
ツプに入る。
Since this is the second pass in the step, we will proceed to the step here. The step determines whether it is an integer column or a non-integer column, and if it is an integer column, the step is entered.

ステツプは第4図aの補間データを作成処
理、ステツプは第4図c及びdの補間データを
作成処理、ステツプは第4図c及びdの〓で示
したビツトにデータのない場合のみステツプの
補間データを有効に処理、ステツプは第4図g
及びhの補間を行うための処理(3個のドツトに
より三角形を形成しているときには中点にドツト
を補間するための処理)、ステツプは編集処理
であり1/4ドツト前に印字したローは印字しな
い様にしている。ステツプは次のカラムのため
の準備処理である。
The step is to create the interpolated data shown in Figure 4 a, the step is to create the interpolated data shown in Figures 4 c and d, and the step is executed only when there is no data in the bits shown in Figure 4 c and d. Effectively process interpolated data, steps are shown in Figure 4g.
Processing to interpolate and h (processing to interpolate a dot at the midpoint when three dots form a triangle), the step is editing processing, and the row printed 1/4 dot before is I'm trying not to print it. A step is a preparation process for the next column.

なお、上記ステツプの補間処理は、基本のド
ツトマトリクスパターンのm行目の(n−1)列
と(n+1)列に各々ドツトがあり(m、nは整
数)、かつ(m+1)行目のn列にドツトがある
場合、m行と(m+1)行の中間でかつn列目の
位置にドツトを補間し(第4図gに示す補間)、
また、基本のドツトマトリクスパターンのm行目
のn列にドツトがあり、かつ(m+1)行目の
(n−1)列と(n+1)列に各々ドツトがある
場合、m行と(m+1)行の中間で且つn列目の
位置にドツトを補間する(第4図hに示す補間)
ものである。
Note that the interpolation process in the above steps is performed when there are dots in the m-th row (n-1) column and (n+1) column of the basic dot matrix pattern (m and n are integers), and the (m+1)-th row If there is a dot in column n, interpolate the dot at the position between rows m and (m+1) and in the nth column (interpolation shown in Figure 4g),
In addition, if there is a dot in the mth row and n column of the basic dot matrix pattern, and there are dots in the (m+1)th row, the (n-1) column and the (n+1) column, then the mth row and (m+1) Interpolate a dot in the middle of the row and at the nth column position (interpolation shown in Figure 4h)
It is something.

上記処理は、縦、横、斜め方向のドツト間の補
間に加え、このような三角形の頂点上に位置する
3個のドツト間の中間位置にドツトを補間するこ
とにより、方向の異なる線分が交わる部分の印字
の輪郭が細からず、太からず適度の太さに見える
ようにすることができる。
The above process not only interpolates between dots in the vertical, horizontal, and diagonal directions, but also interpolates dots at intermediate positions between the three dots located on the vertices of such triangles, thereby creating line segments in different directions. The outline of the printed characters at the intersection can be made to appear to have an appropriate thickness without being thin or thick.

例えば、第6図の例で説明すると、ローr4とカ
ラムc2の交点、ローr5とカラムc1,c3の二つの交
点にドツトがあるパターンは、第4図hに示す変
換例に相当するが、これら3つの交点の中間位置
であるローr4′をカラムc2の交点にただ1個ドツト
h1を補間するだけでこの部分の印字の輪郭を適度
な太さに見せることができる。仮に、上記ドツト
h1を補間することがないならば、この部分の印字
の輪郭は細く見えることになり、一方ローr4′と
カラムc1′,c3′の二つの交点に2個のドツトを補
間すればこの部分の印字の輪郭はその周囲の部分
より太く見えたり、つぶれて見えることになつ
て、いずれの場合も印字文字を構成する線分の太
さのばらつきが生じて印字文字の品質を低下させ
ることになる。
For example, using the example in Figure 6, a pattern with dots at the intersection of row r 4 and column c 2 , and at the two intersections of row r 5 and columns c 1 and c 3 is the conversion example shown in Figure 4 h. Corresponding to
By simply interpolating h 1 , the outline of the print in this area can be made to appear appropriately thick. If the above dot
If h 1 were not interpolated, the outline of the print in this area would appear thin, whereas if two dots were interpolated at the intersection of row r 4 ′ and columns c 1 ′ and c 3 ′, The outline of the printed character on the cigarette will appear thicker or crushed than the surrounding area, and in either case, variations in the thickness of the line segments that make up the printed character will occur, reducing the quality of the printed character. I will let you do it.

以上は、第7図に示す整数カラムの処理であ
り、これに第8図に示す整数カラム以外の場合の
変換処理が加わる。
The above is the processing for the integer column shown in FIG. 7, and the conversion processing for cases other than the integer column shown in FIG. 8 is added to this.

その、第8図のステツプは第4図e及びfの
補間データを作成する処理、ステツプは第4図
e及びfの〓で示したビツトにデータのない場合
にのみステツプの補間データを有効にする処
理、ステツプは上記第7図のステツプと同様
の編集処理、ステツプも第7図のステツプと
同様に準備処理である。
The step in Fig. 8 is a process for creating interpolated data in e and f in Fig. 4, and the step makes the interpolated data in the step valid only when there is no data in the bits shown in Fig. 4 e and f. The processing and steps are editing processing similar to the steps shown in FIG. 7 above, and the steps are also preparation processing similar to the steps shown in FIG.

この、2パス目の印字は、上記のステツプの
編集処理及びステツプで求められたアキユムレ
ータAのデータを印字ヘツド5に与えて行なわれ
る。
This second pass printing is performed by applying the data of the accumulator A obtained in the editing process and step described above to the print head 5.

これを基に1つのカラムの印字が終了すると次
のカラムに移りステツプ以降の処理を繰返え
し、1文字の印字を終了する。これは、上記第6
図に例示したローr1′〜r6′の印字となる。このよ
うにして、1文字の印字が終了するとCPU1は
新たに次の文字の文字コードを受取り前記のよう
な処理を繰返す、というようにして1行分の印字
を終了する。これは、第6図に示すローr1′〜
r6′について1行分全てを印字した状態であり、
その行のアルゴリズム変換処理の印字、すなわち
高品位な印字は終了する。
Based on this, when the printing of one column is completed, the process moves to the next column and repeats the process from the step onwards, and the printing of one character is completed. This is the 6th above
The rows r 1 ′ to r 6 ′ illustrated in the figure are printed. In this manner, when the printing of one character is completed, the CPU 1 receives a new character code of the next character and repeats the above-described process, thus completing the printing of one line. This is the result of the row r 1 ′~ shown in Figure 6.
The entire line for r 6 ′ is printed,
The printing of the algorithm conversion process for that line, that is, the high-quality printing ends.

その後、1行分の改行を行なうと共に印字ヘツ
ド5を印字開始位置に復帰させ、次行の印字活動
に入ることとなる。
Thereafter, a line feed for one line is performed, and the print head 5 is returned to the printing start position, and printing of the next line begins.

尚、上記実施例ではプリンタの印字速度が遅い
変換処理となつているが、プリンタの印字速度が
速い場合には第3図のバスライン6にバツフアメ
モリを接続して印字動作前に編集処理を行ない該
バツフアメモリに印字データを格納しておき印字
時に該バツフアメモリから印字データを読出し印
字を行なうこととすれば同様の効果での高速印字
を行なえる。
Incidentally, in the above embodiment, the conversion process is performed at a slow printing speed of the printer, but if the printing speed of the printer is fast, a buffer memory is connected to the bus line 6 in FIG. 3 and editing processing is performed before the printing operation. If print data is stored in the buffer memory and the print data is read out from the buffer memory and printed at the time of printing, high-speed printing with the same effect can be achieved.

この場合の変換処理は、第7図のステツプの
編集結果と第7図及び第8図のステツプ、ステ
ツプの編集結果とを区別してバツフアメモリに
格納することとし、他は上記実施例同様で、印字
時にはバツフアメモリの区別された領域から1パ
ス目の印字データ、2パス目の印字データを各々
読出せば良い。
The conversion process in this case is to distinguish between the editing results of the step in FIG. 7 and the editing results of the steps and steps in FIGS. 7 and 8, and to store them in the buffer memory. Sometimes, it is sufficient to read the first pass print data and the second pass print data from distinct areas of the buffer memory.

また、本実施例では縦7、横9のドツトマトリ
クスで説明したがこれに限らずどのようなドツト
マトリクスの構成であつても基本となるドツトマ
トリクスに対して本発明は実施することができ、
少ないメモリ容量で高印字品位のドツトパターン
を得ることができる。
In addition, although the present embodiment has been described using a dot matrix of 7 vertical by 9 horizontal, the present invention is not limited to this, and the present invention can be implemented on a basic dot matrix of any dot matrix configuration.
A dot pattern with high print quality can be obtained with a small memory capacity.

例えば、通常のプリンタで使用される文字数は
英字、数字、記号、カナ文字で約256種あり、高
印字品位用のドツトパターンを持つと、冒頭の第
2図で示した従来例では1文字につき2パターン
であり、9カラム構成とすると256×2×9=
4608バイトのメモリが必要になる。これが、本発
明によれば約200バイトの変換プログラムにする
ことができる。
For example, the number of characters used in normal printers is approximately 256 alphabets, numbers, symbols, and kana characters, and if the printer has a dot pattern for high print quality, each character is There are 2 patterns, and if it is configured with 9 columns, 256 x 2 x 9 =
4608 bytes of memory is required. According to the present invention, this can be made into a conversion program of about 200 bytes.

そして、本発明はプリンタに限らず表示装置等
に利用できることはいうまでもない。また、外部
装置からプリンタのランダムアクセスメモリ
(RAM)に文字ドツトパターンを登録できる機
能を持つプリンタについても登録された基本パタ
ーンから本発明を応用することができ高印字品位
の文字パターンの印字を行なうことができる。
It goes without saying that the present invention can be used not only for printers but also for display devices and the like. Furthermore, the present invention can be applied to printers that have a function of registering character dot patterns from an external device into the printer's random access memory (RAM) from the registered basic patterns, and can print character patterns with high print quality. be able to.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した本発明によると、基本のド
ツトマトリクスパターンからアルゴリズムによ
り、縦、横、斜め方向はもとより、ドツトが三角
形の各頂点に配列する場合の中点の位置にもドツ
トを補間する補間用ドツトパターンを生成し、印
字するようにしたために、高品質、高鮮明の印字
が得られる効果があり、本発明を適用するドツト
プリンタはさらに次のような効果を発揮すること
ができる。
According to the present invention described in detail above, an algorithm is used to interpolate dots not only in the vertical, horizontal, and diagonal directions but also at the midpoint position when dots are arranged at each vertex of a triangle using an algorithm based on the basic dot matrix pattern. Since a custom dot pattern is generated and printed, there is an effect that high quality and highly clear printing can be obtained, and the dot printer to which the present invention is applied can also exhibit the following effects.

それは、従来のようにヘツドのワイヤ数を増や
す方式に比べて装置構成が簡単なものとなるので
安価な装置を提供できる効果がある。
Compared to the conventional method of increasing the number of wires in the head, this has a simpler device configuration and has the effect of providing an inexpensive device.

また、従来の同一パターンをわずかにずらして
2回印字する方式に比べて高印字品位が確かなも
のとなり高印字品位を向上させる効果がある。
Moreover, compared to the conventional method of printing the same pattern twice with a slight shift, high print quality is ensured and there is an effect of improving high print quality.

そして、従来の異なつたパターンをわずかにず
らして印字する方式に比べて、メモリ容量を激減
する効果がある。
Moreover, compared to the conventional method of printing different patterns slightly shifted from each other, this method has the effect of drastically reducing memory capacity.

このように、簡単で安価な高印字品位のドツト
プリンタを提供できる本発明は、ドツトプリンタ
に限らず登録した基本パターンから高印字品位を
行なうプリンタについて利用できると共に、表示
装置にも利用できる。
As described above, the present invention, which can provide a simple and inexpensive dot printer with high print quality, can be used not only for dot printers but also for printers that perform high print quality from registered basic patterns, and can also be used for display devices.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図aは従来の基本ドツトパターン、同図
b,cは従来の高印字品位パターン、第2図a,
bは従来の二つの異なつた印字パターン、同図c
は従来の高印字品位パターン、第3図は本発明の
一実施例による装置の概略構成を示すブロツク
図、第4図a〜hは各種基本パターンのアルゴリ
ズムによる変換処理図、第5図は基本パターン
図、第6図はアルゴリズム変換処理図、第7図は
整数カラムの場合の変換処理のフローチヤート、
第8図は整数カラム以外の場合の変換処理のフロ
ーチヤートである。 1…CPU、2…ROMa、3…ROMb、4…
I/Oドライバ、5…印字ヘツド、6…バスライ
ン。
Figure 1a is a conventional basic dot pattern, Figures b and c are conventional high print quality patterns, Figure 2a,
b shows two different conventional printing patterns, and c shows the same figure.
3 is a block diagram showing a schematic configuration of a device according to an embodiment of the present invention, FIGS. 4 a to h are conversion processing diagrams using algorithms for various basic patterns, and FIG. 5 is a basic pattern. Pattern diagram, Figure 6 is an algorithm conversion process diagram, Figure 7 is a flowchart of conversion process for integer columns,
FIG. 8 is a flowchart of conversion processing for cases other than integer columns. 1...CPU, 2...ROMa, 3...ROMb, 4...
I/O driver, 5...print head, 6...bus line.

Claims (1)

【特許請求の範囲】 1 基本のドツトマトリクスパターンからアルゴ
リズムにより基本のドツトマトリクスパターンの
横方向を補間する第1のドツトマトリクスパター
ンを発生させ、 この第1のドツトマトリクスパターンと基本の
ドツトマトリクスパターンを合成編集したドツト
マトリクスパターンを印字ヘツドの第1パス目で
印字し、 印字ヘツドと印字用紙を基本のドツトマトリク
スパターンの1/2ドツト印字間隔だけ縦方向に
相対的に移動した後、基本のドツトマトリクスパ
ターンからアルゴリズムにより基本のドツトマト
リクスパターンの縦および斜め方向を補間する第
2のドツトマトリクスパターンを発生させ、 この第2のドツトマトリクスパターンを印字ヘ
ツドの第2パス目で印字するドツトプリンタの印
字方法において、 上記第2のドツトマトリクスパターンは、基本
のドツトマトリクスパターンのm行目の(n−
1)列と(n+1)列に各ドツトがあり(m、n
は整数)、かつ(m+1)行目のn列にドツトが
ある場合、m行と(m+1)行との中間でかつn
列目の位置にドツトを補間し、 さらに、基本のドツトマトリクスパターンのm
行目のn列にドツトがあり、かつ(m+1)行目
の(n−1)列と(n+1)列に各々ドツトがあ
る場合、m行と(m+1)行との中間でかつn列
目の位置にドツトを補間するドツトパターンを含
むことを特徴とするドツトプリンタの印字方法。
[Claims] 1. Generate a first dot matrix pattern that interpolates the basic dot matrix pattern in the horizontal direction using an algorithm from the basic dot matrix pattern, and combine the first dot matrix pattern with the basic dot matrix pattern. The synthesized and edited dot matrix pattern is printed in the first pass of the print head, and the print head and printing paper are moved relative to each other in the vertical direction by 1/2 dot printing interval of the basic dot matrix pattern, and then the basic dot matrix pattern is printed. A dot printer printing method in which a second dot matrix pattern is generated from the matrix pattern by interpolating the basic dot matrix pattern in the vertical and diagonal directions using an algorithm, and this second dot matrix pattern is printed in the second pass of the print head. In the above, the second dot matrix pattern is the mth row (n-) of the basic dot matrix pattern.
1) There are dots in columns (m, n) and (n+1).
is an integer), and if there is a dot in the (m+1)th row and the n column, then the dot is between the m and (m+1) rows and the n
Interpolate dots at the column positions, and then add m of the basic dot matrix pattern.
If there is a dot in the nth column of the row, and there are dots in the (n-1)th column and the (n+1)th column of the (m+1)th row, 1. A dot printer printing method comprising a dot pattern for interpolating dots at positions.
JP13522883A 1983-07-26 1983-07-26 Printing system for dot printer Granted JPS6027552A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP13522883A JPS6027552A (en) 1983-07-26 1983-07-26 Printing system for dot printer
EP84305069A EP0132415B1 (en) 1983-07-26 1984-07-25 Printing system for a dot printer
DE8484305069T DE3474933D1 (en) 1983-07-26 1984-07-25 Printing system for a dot printer
US06/815,280 US4632579A (en) 1983-07-26 1985-12-26 Printing system in dot printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13522883A JPS6027552A (en) 1983-07-26 1983-07-26 Printing system for dot printer

Publications (2)

Publication Number Publication Date
JPS6027552A JPS6027552A (en) 1985-02-12
JPH0457510B2 true JPH0457510B2 (en) 1992-09-11

Family

ID=15146806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13522883A Granted JPS6027552A (en) 1983-07-26 1983-07-26 Printing system for dot printer

Country Status (1)

Country Link
JP (1) JPS6027552A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4703323A (en) * 1985-01-29 1987-10-27 International Business Machines Corporation Method and apparatus for displaying enhanced dot matrix characters
JPH0749223B2 (en) * 1990-04-25 1995-05-31 マックス株式会社 Printing method
JPH0749224B2 (en) * 1990-04-25 1995-05-31 マックス株式会社 Driving method of print head in printing apparatus
JPH0749225B2 (en) * 1990-04-25 1995-05-31 マックス株式会社 Tape printer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5099746A (en) * 1973-12-30 1975-08-07
JPS5412525A (en) * 1977-06-30 1979-01-30 Sanders Tech Syst High quality printer
JPS5747676A (en) * 1980-09-08 1982-03-18 Canon Inc Dot printer
JPS57135177A (en) * 1981-02-17 1982-08-20 Nippon Telegr & Teleph Corp <Ntt> Dot matrix printer
JPS5825968A (en) * 1981-08-08 1983-02-16 Nippon Telegr & Teleph Corp <Ntt> Overlapping dot printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5099746A (en) * 1973-12-30 1975-08-07
JPS5412525A (en) * 1977-06-30 1979-01-30 Sanders Tech Syst High quality printer
JPS5747676A (en) * 1980-09-08 1982-03-18 Canon Inc Dot printer
JPS57135177A (en) * 1981-02-17 1982-08-20 Nippon Telegr & Teleph Corp <Ntt> Dot matrix printer
JPS5825968A (en) * 1981-08-08 1983-02-16 Nippon Telegr & Teleph Corp <Ntt> Overlapping dot printer

Also Published As

Publication number Publication date
JPS6027552A (en) 1985-02-12

Similar Documents

Publication Publication Date Title
US4491834A (en) Display controlling apparatus
US4400791A (en) Dot matrix printer with compressed character data storage
US4632579A (en) Printing system in dot printer
GB2033307A (en) Digital typesetter
US4887228A (en) Method for filling surface parts of an image with a surface pattern
JPS5850589A (en) Display processor
JPH0457510B2 (en)
JPH0795392A (en) Smooting and scaling method of facsimile image
JPS6346429B2 (en)
JP2980732B2 (en) How to generate outline fonts
JPH0456317B2 (en)
JPH021677B2 (en)
JPS60155472A (en) Image magnification processing system
JPS62290546A (en) Recorder
JPH03120060A (en) Scale-down printing method
JPH0281639A (en) Printing pattern forming system
JPS63265656A (en) Character-enlarging circuit
JPH0632953B2 (en) Dot printer printing method
JPS606474A (en) Character pattern and printing apparatus using the same
JPH0647301B2 (en) Charactor pattern generator
JPS6346431B2 (en)
JPS60255474A (en) Rule pattern output control for dot type output device
JPH0525673B2 (en)
JPH02107459A (en) Contract printing method
JPS6014286A (en) Graphic processor