JPH02147261A - Thinning printing method - Google Patents

Thinning printing method

Info

Publication number
JPH02147261A
JPH02147261A JP30060788A JP30060788A JPH02147261A JP H02147261 A JPH02147261 A JP H02147261A JP 30060788 A JP30060788 A JP 30060788A JP 30060788 A JP30060788 A JP 30060788A JP H02147261 A JPH02147261 A JP H02147261A
Authority
JP
Japan
Prior art keywords
data
thinning
circuit
printing
dot
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
JP30060788A
Other languages
Japanese (ja)
Inventor
Shunichi Ito
俊一 伊藤
Koichi Ogura
小倉 宏一
Katsuhiko Sato
克彦 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP30060788A priority Critical patent/JPH02147261A/en
Publication of JPH02147261A publication Critical patent/JPH02147261A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To thin a printing dot without lowering printing quality by controlling thinning processing on the basis of thinning start control data to independently set the thinning printing start position of a place where at least one or more printing dot continues in a line direction. CONSTITUTION:The first dot row data Dc is subjected to thinning processing by a thinning processing circuit 10 and thinning start control data Ds is further subjected to AND operation by an AND circuit 13 to be stored in a printing data register 6 as printing data D. The printing data D is stored in a data memory 3 as the previous dot row data Df to be utilized in thinning processing. The thinning start control data Ds and the thinning start control data Ds' of this time are inputted to an AND circuit 14 and inputted to an OR circuit 15 along with the dot row data Dc of this time. The output of the OR circuit 15 is stored in a control data memory 12 as the next thinning start control data Ds'. Therefore, when the dot row data Dc of this time on and after the second time is read from a character font memory 1, control is performed on the basis of the next thinning start control data Ds' through the AND circuit 13.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ドツトマトリクス式プリンタにおいて印字ド
ツトと非印字ドツトを組合わせて所定の文字等を印字す
る際に、行方向へ連続的に印字するための印字ドツトを
1ドツト毎に間引きする間引き印字方法に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention provides continuous printing in the line direction when printing predetermined characters, etc. by combining printing dots and non-printing dots in a dot matrix printer. The present invention relates to a thinning printing method for thinning out printed dots one by one for printing.

(従来の技術) 第8図(a)は文字rAJの高品位印字パターンを示し
、同図(b)はドツトマトリクス式プリンタの印字ヘッ
ドを示している。この印字ヘッドは縦1列に24個のド
ツトビンが配設された構成を有している。このような印
字ヘッドは、文字フォントメモリ内の文字フォントデー
タな縦1列のドツト列データ毎に読出し、かっこのドツ
ト列データを間引き処理せずにそのまま印字データとし
て印字駆動部に供給することで、各対応するビンが駆動
されるので、印字ドツト(黒点)の連続した高品位の文
字や図形等を印字する。従って、文字「A」の場合には
、同図(a)に示すように、印字ドツトが行(横)方向
に連続した印字パターンとなる。尚、ドツトビンが縦2
列の千鳥形に配設されている印字ヘッドも同様に印字す
ることができるのは勿論である。
(Prior Art) FIG. 8(a) shows a high-quality printing pattern of the character rAJ, and FIG. 8(b) shows a print head of a dot matrix printer. This print head has a configuration in which 24 dot bins are arranged in a vertical row. Such a print head can read character font data in character font memory for each vertical row of dot row data, and supply the dot row data in parentheses as print data as is to the print driver without thinning out the data. , each corresponding bin is driven, so that high quality characters, figures, etc. with continuous printing dots (black dots) are printed. Therefore, in the case of the letter "A", the printed dots form a continuous printing pattern in the row (horizontal) direction, as shown in FIG. In addition, the dot bin is vertical 2
Of course, print heads arranged in staggered rows can also print in the same way.

ところで、ドツトマトリクス式プリンタの印字速度を向
上させる方式として、行方向に連続する印字ドツトを1
ドツト毎に間引きする間引き処理方式が採用されている
By the way, as a method to improve the printing speed of dot matrix printers, printing dots that are continuous in the line direction are
A thinning processing method is used that thins out each dot.

第9図は間引き処理回路のブロック図であり、図中、1
は文字フォントメモリを示している。この文字フォント
メモリ1には印字すべき文字を示す文字フォントデータ
が格納される0文字フォントメモリ1の出力側にはドツ
ト列レジスタ2が接続され、ドツト列レジスタ2の出力
側はAND回路5の一方の入力端子に接続されている。
FIG. 9 is a block diagram of the thinning processing circuit, and in the figure, 1
indicates character font memory. This character font memory 1 stores character font data indicating characters to be printed.A dot string register 2 is connected to the output side of the zero character font memory 1, and the output side of the dot string register 2 is connected to an AND circuit 5. Connected to one input terminal.

AND回路5の他方の入力端子にはデータメモリ3がN
OT回路4を介して接続され、AND回路5の出力側は
データメモリ3の入力側に接続されている。また、AN
D回路5の出力側には印字データレジスタ6が接続され
、印字データレジスタ6の出力側には印字駆動部8が接
続されている。そして、この印字駆動部8にて第8図(
b)で示すような印字ヘッドのドツトビンが駆動される
。尚、図中、7は高速印字制御回路を示している。
The data memory 3 is connected to the other input terminal of the AND circuit 5.
The output side of the AND circuit 5 is connected to the input side of the data memory 3. Also, AN
A print data register 6 is connected to the output side of the D circuit 5, and a print drive section 8 is connected to the output side of the print data register 6. Then, in this print drive section 8, as shown in FIG.
The dot bin of the print head as shown in b) is driven. In the figure, 7 indicates a high-speed printing control circuit.

以上の構成を有する間引き処理回路において、文字フォ
ントメモリ1に所定の文字フォントデータが格納される
と、この文字フォントデータは縦1列の今回のドツト列
(カラム)データDCとして文字フォントメモリlより
読出され、ドツト列レジスタ2に格納される。このドツ
ト列レジスタ2に格納された今回のドツト列データDC
はそのままAND回路5に入力される。一方、AND回
路5より出力されていた前回のドツト列データD、はデ
ータメモリ3に格納されており、この前回のドツト列デ
ータDtはNOT回路4を介して同様にAND回路5に
入力される。従って、これらのドツト列データDC及び
り、はAND回路5にてAND演算され、印字データD
として印字データレジスタ6に格納される。この印字デ
ータDは印字駆動部8に供給されるので、該データDに
基づいて印字ヘッドが駆動され、間引き印字が行なわれ
る。また、この印字データDは前回のドツト列データD
、としてデータメモリ3に格納される。尚、高速印字時
においては、高速印字制御回路7が動作して通常の印字
速度より高速で印字駆動部8が駆動される。
In the thinning processing circuit having the above configuration, when predetermined character font data is stored in the character font memory 1, this character font data is transferred from the character font memory l as the current dot row (column) data DC in one vertical column. The data is read out and stored in the dot string register 2. The current dot string data DC stored in this dot string register 2
is input to the AND circuit 5 as is. On the other hand, the previous dot string data D output from the AND circuit 5 is stored in the data memory 3, and this previous dot string data Dt is similarly input to the AND circuit 5 via the NOT circuit 4. . Therefore, these dot string data DC and D are ANDed in the AND circuit 5, and the print data D
It is stored in the print data register 6 as . This print data D is supplied to the print drive section 8, so the print head is driven based on the data D, and thinning printing is performed. Also, this print data D is the previous dot row data D.
, is stored in the data memory 3 as . Note that during high-speed printing, the high-speed printing control circuit 7 operates to drive the print drive section 8 at a higher speed than the normal printing speed.

以上の動作を更に詳細に説明すると、前の印字データD
が印字を示す「1」の場合前回のドツト列データDtも
「1」なので、NOT回路4の出力が「0」になる。従
って、今回のドツト列データDCが「1」であっても次
の印字データDは「0」を示して印字されることがない
。これに対して、前の印字データDがrOJの場合前回
のドツト列データDtも「0」なので、NOT回路4の
出力が「1」になる。従って、今回のドツト列データD
Cが「1」であると、AND回路5より「1」を示す印
字データDが得られ、rOJであると、「0」を示す印
字データDが得られる。
To explain the above operation in more detail, the previous print data D
When is "1" indicating printing, the previous dot string data Dt is also "1", so the output of the NOT circuit 4 becomes "0". Therefore, even if the current dot string data DC is "1", the next print data D will not be printed as "0". On the other hand, when the previous print data D is rOJ, the previous dot row data Dt is also "0", so the output of the NOT circuit 4 becomes "1". Therefore, the current dot string data D
When C is "1", print data D indicating "1" is obtained from the AND circuit 5, and when C is rOJ, print data D indicating "0" is obtained.

第1表は上記間引き処理動作を説明するもので、「1」
は印字を示し、rOJは非印字を示している。
Table 1 explains the above thinning processing operation.
indicates printing, and rOJ indicates non-printing.

(以下余白) 第1表 よって、上記した間引き処理により、例えば、第8図(
a)で示す高品位文字rAJを間引きすると、第10図
に示す間引き印字パターンが得られる。つまり、行(横
)方向に印字ドツトdと非印字ドツトdoとが交互に表
示された間引き印字パターンが得られる。
(Margins below) According to Table 1, by the thinning process described above, for example, Fig. 8 (
When the high-quality characters rAJ shown in a) are thinned out, a thinned-out printing pattern shown in FIG. 10 is obtained. In other words, a thinned printing pattern is obtained in which printed dots d and non-printed dots do are alternately displayed in the row (horizontal) direction.

(発明が解決しようとする課題) しかし、このように間引き処理回路にて単に印字ドツト
dを間引き処理するだけでは品位の優れた印字パターン
を得ることは不可能であった。即ち、第10図において
A部では不要な印字ドットd′が存在してしまうので、
斜めの線分が一直線状ではなく段状に表示されてしまう
。また、B部は印字ドツトdが上下でずれているので、
−直線状に表示されるが、0部では印字ドツトdが上下
で整列しているので、線切れが生じたように表示されて
しまう。
(Problems to be Solved by the Invention) However, it has been impossible to obtain a high-quality print pattern by simply thinning out the print dots d using the thinning circuit. That is, in FIG. 10, there is an unnecessary printing dot d' in part A, so
Diagonal line segments are displayed in steps instead of in a straight line. Also, in part B, the printed dot d is shifted vertically, so
-Although it is displayed in a straight line, in the 0th copy, the printed dots d are aligned vertically, so it appears as if a line break has occurred.

本発明はこのような点を解決するためになされたもので
、印字品質を低下させることなく印字ドツトを間引きす
ることができる間引き印字方法を提供することを目的と
する。
The present invention has been made to solve these problems, and it is an object of the present invention to provide a thinning printing method that can thin out printed dots without degrading print quality.

(課題を解決するための手段) 本発明は、印字ドツト及び非印字ドツトを含んで行方向
に印字ドツトの連続する箇所が二以上存在するドツトマ
トリクスを形成するフォントデータを、縦1列のドツト
列データ毎に間引き処理し、行方向で連続している印字
ドツトを1ドツト毎に間引きする間引き印字方法におい
て、各フォントデータに間引き開始制御データを対応さ
せて選定し、この間引き開始制御データに基づいて間引
き処理を制御して前記行方向で少なくとも一以上の印字
ドツトの連続する箇所の間引き印字開始位置を独立に設
定することを特徴とする。
(Means for Solving the Problems) The present invention converts font data forming a dot matrix in which there are two or more consecutive locations of printed dots in the row direction, including printed dots and non-printed dots, into one vertical column of dots. In a thinning printing method that thins out each column data and thins out consecutive printing dots in the row direction one by one, thinning start control data is selected in correspondence with each font data, and this thinning start control data is The present invention is characterized in that the thinning process is controlled based on the line direction, and thinning printing start positions are independently set at locations where at least one or more printed dots are continuous in the line direction.

(作用) 以上の間引き印字方法は、間引き開始制御データにて行
方向で少なくとも一以上の印字ドツトの連続する箇所の
間引き印字開始位置を独立に設定する。従って、行方向
で印字ドツトの連続する箇所が二以上存在してもそれぞ
れの印字ドツトの始まり位置を任意に設定することがで
きる。よって、各印字パターンの印字品質が最も優れる
ように印字ドツトの始まり位置を設定して間引き印字す
ることが可能である。
(Operation) In the above thinning printing method, the thinning printing start position of at least one or more consecutive print dots in the row direction is independently set using thinning start control data. Therefore, even if there are two or more consecutive locations of printed dots in the line direction, the starting position of each printed dot can be set arbitrarily. Therefore, it is possible to perform thinning printing by setting the starting position of the printing dots so that the printing quality of each printing pattern is the best.

(実施例) 以下、本発明の実施例を図面を参照して詳細に説明する
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明に係る間引き印字方法に用いる回路のブ
ロック図である。
FIG. 1 is a block diagram of a circuit used in the thinning printing method according to the present invention.

この第1図において、10は間引き処理回路を示し、こ
の間引き処理回路10は第9図に示す回路と同一構成を
有している。従って、同一部分には同一符号を付してそ
の説明を省略する。
In FIG. 1, numeral 10 indicates a thinning processing circuit, and this thinning processing circuit 10 has the same configuration as the circuit shown in FIG. Therefore, the same parts are given the same reference numerals and the explanation thereof will be omitted.

間引き処理回路lOは間引き開始制御回路11にて制御
される。この間引き開始制御回路11は文字フォントメ
モリlに接続されている制御データメモリ12と、この
メモリ12に一方の入力端子が接続されているAND回
路13及び14とから成る。一方のADN回路13の他
方の入力端子には間引き処理回路10側のAND回路5
の出力側が接続されている。また、このAND回路13
の出力側には印字データレジスタ6及びデータメモリ3
の入力側がそれぞれ接続されいている。他方のADN回
路14の他方の入力端子は制御データメモリ12の入力
側に接続され、その出力側にはOR回路15の一方の入
力端子が接続されている。このOR回路15の他方の入
力端子はドツト列レジスタ2の出力側に接続され、その
出力端子は制御データメモリ12の他の入力側に接続さ
れている。
The thinning processing circuit IO is controlled by a thinning start control circuit 11. This thinning start control circuit 11 consists of a control data memory 12 connected to a character font memory 1, and AND circuits 13 and 14 each having one input terminal connected to this memory 12. The other input terminal of one ADN circuit 13 is an AND circuit 5 on the thinning processing circuit 10 side.
The output side of is connected. In addition, this AND circuit 13
On the output side of the print data register 6 and data memory 3
The input sides of each are connected. The other input terminal of the other ADN circuit 14 is connected to the input side of the control data memory 12, and one input terminal of the OR circuit 15 is connected to its output side. The other input terminal of this OR circuit 15 is connected to the output side of the dot string register 2, and its output terminal is connected to the other input side of the control data memory 12.

次に、本発明の印字方法を上記した回路の動作と共に説
明する。
Next, the printing method of the present invention will be explained together with the operation of the above-described circuit.

先ず、文字フォントメモリ1には所定の文字フォントデ
ータが格納され、又聞引き開始制御データD1も格納さ
れる。
First, predetermined character font data is stored in the character font memory 1, and listening start control data D1 is also stored therein.

第2図は文字rAJのフォントデータ及び対応する間引
き開始制御データD1を文字フォントメモリlに格納し
た例を示している。この第2図において、文字フォント
データの「1」は印字ドツトを示し、rOJは非印字ド
ツトを示している。
FIG. 2 shows an example in which the font data of the character rAJ and the corresponding thinning start control data D1 are stored in the character font memory l. In FIG. 2, character font data "1" indicates a printed dot, and rOJ indicates a non-printed dot.

従って、この文字フォントデータな間引き処理せずにそ
のまま印字データとして用いる場合には、第8図(a)
に示す印字パターンで高品位文字rAJが印字される。
Therefore, if this character font data is used as print data without being thinned out, as shown in Fig. 8(a).
High-quality characters rAJ are printed using the printing pattern shown in FIG.

一方、図示の間引き開始制御データD、は文字rAJの
フォントデータのみに対応して間引き印字開始位置を選
定するためのもので、5列目のみが「1」、その他はr
OJより形成されいている縦1列のデータである。
On the other hand, the thinning start control data D shown in the figure is for selecting the thinning printing start position corresponding only to the font data of the character rAJ, and only the fifth column is "1", and the rest are r
This is data in one vertical column formed from OJ.

次に、文字フォントメモリlからは文字フォントデータ
が縦1列の今回のドツト列(カラム)データDCとして
読出され、このドツト列データDCはドツト列レジスタ
2に格納される。この格納された今回のドツト列データ
DCはそのままAND回路5に入力される。また、今回
のドツト列データDCが読出された時点ではデータメモ
リ3より前回のドツト列データD、が続出され、この前
回のドツト列データDtはNOT回路4を介して反転さ
れ、ADN回路5に入力される。
Next, character font data is read out from the character font memory l as current dot row data DC in one vertical column, and this dot row data DC is stored in the dot row register 2. The stored current dot string data DC is inputted as is to the AND circuit 5. Furthermore, at the time when the current dot string data DC is read out, the previous dot string data D is successively outputted from the data memory 3, and this previous dot string data Dt is inverted via the NOT circuit 4 and sent to the ADN circuit 5. is input.

一方、最初のドツト列データDCが読出された時点では
文字フォントメモリlからは間引き開始制御データD、
が続出され、この制御データD。
On the other hand, at the time when the first dot string data DC is read out, the thinning start control data D,
is output one after another, and this control data D.

は制御データメモリ12に格納される。この格納された
間引き開始制御データD、はそのままAND回路13に
入力される。従って、最初のドツト列データDCは間引
き処理回路lOにて間引き処理された後、間引き開始制
御データD3にてAND回路13にて更にAND演算さ
れ、印字データDとして印字データレジスタ6に格納さ
れる。そして、この印字データDは前回のドツト列デー
タD、としてデータメモリ3に格納され、間引き処理に
利用される。
is stored in the control data memory 12. This stored thinning start control data D is input to the AND circuit 13 as is. Therefore, the first dot row data DC is thinned out in the thinning processing circuit IO, and then subjected to an AND operation in the AND circuit 13 using the thinning start control data D3, and is stored in the print data register 6 as print data D. . Then, this print data D is stored in the data memory 3 as the previous dot row data D, and is used for thinning processing.

また、上記間引き開始制御データD、及び今回の間引き
開始制御データD8′はAND回路14の両入力端子に
入力され、このAND回路14の出力は今回のドツト列
データDCと共にOR回路15に入力される。OR回路
15の出力は次の間引き開始制御データD、′として制
御データメモリ12に格納される。従って、文字フォン
トメモリ1より第2番目以後の今回のドツト列データD
Cが読出された場合にはその間引き処理結果(AND回
路5の出力)は次の間引き開始制御データD、′にてA
ND回路13を介して制御される。
The thinning start control data D and the current thinning start control data D8' are input to both input terminals of an AND circuit 14, and the output of the AND circuit 14 is input to an OR circuit 15 together with the current dot string data DC. Ru. The output of the OR circuit 15 is stored in the control data memory 12 as the next thinning start control data D,'. Therefore, the second and subsequent dot string data D from character font memory 1
When C is read out, the thinning processing result (output of AND circuit 5) is read out as A with the next thinning start control data D,'.
It is controlled via the ND circuit 13.

ここで、上記論理回路の演算動作を次の論理式により説
明する。
Here, the arithmetic operation of the above logic circuit will be explained using the following logical formula.

先ず、NOT回路4及びAND回路5,13にて印字デ
ータQnを得るための式を示すと、以下のようになる。
First, the formula for obtaining print data Qn using the NOT circuit 4 and the AND circuits 5 and 13 is as follows.

Qn 4− (I n and 亘”;TV) and
 Wn ・・・(1)この (1)式において、Inは
第2図に示す文字フォントデータの第n列目のドツト列
(カラム)データDCを示し、Q n−+は前回の印字
データDを示している。また、W、、は第n列目のドツ
ト列データIllを間引きする際に用いられる次回の間
引き開始制御データD、′を示し、上記第2図に示す間
引き開始制御データD、より得られる。
Qn 4- (I n and Wataru”; TV) and
Wn...(1) In this equation (1), In represents the nth dot row (column) data DC of the character font data shown in Fig. 2, and Qn-+ represents the previous print data D. It shows. Further, W, , represents the next thinning start control data D,' used when thinning out the nth column dot row data Ill, and is obtained from the thinning start control data D shown in FIG. 2 above.

次に、AND回路14とOR回路15にて次回の間引き
開始制御データW B + 1を得るための式を示すと
、以下のようになる。
Next, the formula for obtaining the next thinning start control data W B + 1 using the AND circuit 14 and the OR circuit 15 is as follows.

wn+1 ”−I n Or (Wn and W +
 )  ”” (2)この (2)式において、WIは
第2図に示す間引き開始制御データD、を示している。
wn+1 ”-I n Or (Wn and W +
) "" (2) In equation (2), WI indicates the thinning start control data D shown in FIG.

従って、間引き開始制御データD、が「0」の場合AN
D回路14より「0」が出力されるので、OR回路15
の出力はドツト列データDCと同一になり、この゛デー
タDC出力が次回の間引き開始制御データWnや、(D
、’)として利用される。また、該制御データD、が「
1」の場合AND回路14より「1」が出力されるので
、次回の間引き開始制御データw、、、、(D、’)は
常に「1」となり、AND回路13の一方の入力には常
時「1」が入力される。つまり、間引き開始制御データ
D8が「0」の場合には次回の間引き開始制御データw
n、、(D、’)は今回のドツト列データDCと同一と
なり、又該データD、が「1」の場合AND回路13の
一方の入力は常に「1」に保持される。
Therefore, if the thinning start control data D is "0", AN
Since "0" is output from the D circuit 14, the OR circuit 15
The output of is the same as the dot row data DC, and this data DC output is used as the next thinning start control data Wn and (D
, '). Further, the control data D is “
1", the AND circuit 14 outputs "1", so the next thinning start control data w, ..., (D,') is always "1", and one input of the AND circuit 13 is always "1" is input. In other words, when the thinning start control data D8 is "0", the next thinning start control data w
n, , (D,') are the same as the current dot string data DC, and when the data D is "1", one input of the AND circuit 13 is always held at "1".

さて、最初に第1のドツト列データ(全て「O」)DC
を読出し、 (1)式を演算すると、前回の印字データ
Qn−+が存在せず、かつ最初の間引き開始制御データ
Wnが間引き開始制御データD、どなる。従って、最初
の印字データQ1は次のようになる。
Now, first, let's start with the first dot string data (all "O") DC
, and when formula (1) is calculated, it is found that the previous print data Qn-+ does not exist, and the first thinning start control data Wn is the thinning start control data D. Therefore, the first print data Q1 is as follows.

Q+ = (Oand  U) and Da   −
(3)よって、印字データQ1=0なので、印字ヘッド
が駆動されず、印字されない。
Q+ = (Oand U) and Da −
(3) Therefore, since the print data Q1=0, the print head is not driven and no printing is performed.

一方、次回の間引き開始制御データW n + 1を(
2)式より演算すると、上述したように、間引き開始制
御データD、がrOJの場合今回のドツト列データDC
が次回の間引き開始制御データW B + 1 となり
、該制御データD3が「1」の場合「1」となる。しか
るに、ドツト列データDCがrOJを続けると、次回の
間引き開始制御データWn◆1が「1」に保持されてい
てもAND回路5の出力が「0」なので、印字データD
はrOJとなる。よって、第3図に示すように、印字パ
ターンには第1空白部が形成される。
On the other hand, the next thinning start control data W n + 1 is (
2) Calculating from the formula, as mentioned above, if the thinning start control data D is rOJ, the current dot row data DC
becomes the next thinning start control data W B + 1, which becomes "1" when the control data D3 is "1". However, if the dot string data DC continues rOJ, even if the next thinning start control data Wn◆1 is held at "1", the output of the AND circuit 5 is "0", so the print data D
becomes rOJ. Therefore, as shown in FIG. 3, a first blank portion is formed in the printed pattern.

これに対して、最初の印字ドツトの連続する箇所が始ま
り、第9列のドツト列データIpで初めて「1」が現わ
れると、上記 (1)式より、p番目の印字データQp
は次のようになる。
On the other hand, when the first continuous portion of printed dots begins and "1" appears for the first time in the dot string data Ip of the 9th column, from the above equation (1), the pth printed data Qp
becomes as follows.

Qp” (l  and  ’Q””;TT ) an
d W、 ・・・(4)−(1and  U) and
 W。
Qp" (l and 'Q""; TT) an
d W, ... (4) - (1 and U) and
W.

←(1and  1 ) and Dm← 1  an
d  Da ここで、今回の間引き開始制御データW、は第2図に示
す間引き開始制御データD、がrOJの場合rOJであ
り、該データD1が「1」の場合「1」となっている。
←(1 and 1) and Dm← 1 an
d Da Here, the current thinning start control data W is rOJ when the thinning start control data D shown in FIG. 2 is rOJ, and is "1" when the data D1 is "1".

従って、第2図に示す間引き開始制御データD、= r
OJを設定すると、第3図に示すように、各行方向の最
初の印字の始まるべきドツト位置が非印字ドツトdot
となる。また、この制御データD、= rlJを設定す
ると、各行方向の最初に印字すべきドツト位置に印字ド
ツトd、が印字される。
Therefore, the thinning start control data D shown in FIG. 2, = r
When OJ is set, as shown in Figure 3, the dot position where the first printing in each line direction should start is set to the non-printing dot dot.
becomes. Furthermore, when this control data D,=rlJ is set, a print dot d is printed at the position of the first dot to be printed in each row direction.

そして、間引き開始制御データD、= rlJの設定に
よりAND回路13に常に今回の間引き開始制御データ
D、= rlJが入力されている状態で、次のドツト列
データ1.I以後も「1」の場合印字データQ pal
は次式のようになる。
Then, the next dot row data 1. If it is still “1” after I, print data Q pal
is as follows.

Q、+ ←(1and  丁7) and 1  ・・
・(5)← l  and  フコ− 一 丁7 つまり、前回の印字データDがNOT回路4にて反転さ
れ、印字データDがrlJ、roJを繰り返すので、各
行方向において間引き開始位置が印字ドツトd+ とな
り、その後、非印字ドツトd03.印字ドツトd+が繰
り返され、間引き処理される。
Q, + ← (1 and 7) and 1...
・(5) ← l and Fuco 7 In other words, the previous print data D is inverted in the NOT circuit 4, and the print data D repeats rlJ and roJ, so the thinning start position in each line direction becomes print dot d+. , then non-printing dot d03. The printed dots d+ are repeated and thinned out.

一方、間引き開始制御データD、= ro」の設定によ
りAND回路13に今回の間引き開始制御データD、’
=rOJが入力されている場合に、最初の印字ドツトの
連続する箇所が始まり、OR回路15にドツト列データ
1.= rlJが入力されると、該OR回路15より「
1」が出力され、この「1」が制御データメモリ12に
次回の間引き開始制御データW、、、(D、’)として
入力される。即ち、この制御データWp+、は次のよう
になる。
On the other hand, by setting the thinning start control data D,=ro'', the current thinning start control data D,' is sent to the AND circuit 13.
When =rOJ is input, the first continuous portion of printed dots begins, and the OR circuit 15 receives dot string data 1. = When rlJ is input, the OR circuit 15 outputs “
1" is output, and this "1" is input into the control data memory 12 as the next thinning start control data W, . . . (D,'). That is, this control data Wp+ is as follows.

W、、  4−1  or  (Wpand W+  
)   ・・・(6)← 1 よって、ドツト列データDCが「1」を続けると、AN
D回路13には間引き開始制御データD、’=rlJが
入力され続けるので、同様に印字データDがro」、r
l」を繰り返し、非印字ドツトd。lと印字ドツトd1
とが現われ、間引き処理される。
W,, 4-1 or (Wpand W+
) ... (6) ← 1 Therefore, if the dot string data DC continues to be "1", AN
Since the thinning-out start control data D,'=rlJ continues to be input to the D circuit 13, the print data D is similarly inputted to the D circuit 13.
Repeat ``l'' until the non-printing dot d. l and printed dot d1
appears and is thinned out.

最初の印字ドツトの連続する箇所が終了し、S番目のド
ツト列データDcがrOJになると、印字データDも次
式に示すように「0」となる。
When the first consecutive print dots end and the S-th dot row data Dc becomes rOJ, the print data D also becomes "0" as shown in the following equation.

Qs = (Oand  ”CTT’V ) and 
Da ・・・(7)−〇 即ち、第2図に示す間引き開始制御データD。
Qs = (Oand ”CTT'V) and
Da...(7)-0, that is, the thinning start control data D shown in FIG.

がrOJの場合は勿論、「1」によってAND回路13
にrlJが入力され続けていてもドツト列データDCが
rOJであると、AND回路5の出力が常にrOJとな
るので、印字データDもrOJになる。従って、ドツト
列データDCが「0」の場合間引き開始制御データD、
とは無関係に印字データDがrOJとなるので、第3図
に示すように、第2空白部が形成され、印字されること
がない。
If is rOJ, of course, the AND circuit 13 is set to "1".
Even if rlJ continues to be input to , if the dot string data DC is rOJ, the output of the AND circuit 5 will always be rOJ, so the print data D will also be rOJ. Therefore, when the dot string data DC is "0", the thinning start control data D,
Since the print data D becomes rOJ regardless of this, a second blank area is formed as shown in FIG. 3 and is not printed.

第2空白部が終了し、次の印字ドツトの連続する箇所が
始まると、を番目のドツト列データDCが「1」となる
。従って、印字データDは上記(4)式に示すように、 Q t = (1and  ″”CXTTV ) an
d W t ・・・(8)← 1  and  Dm よって、第2図の間引き開始制御データD、= rOJ
の場合、第3図に示すように、次の最初に印字すべきド
ツト位置が非印字ドツトd。lとなる。また、この制御
データD、= rlJの場合同位置が印字ドツトd、(
第3図の印字パターンでは存在しない)となる。
When the second blank section ends and the next consecutive print dot begins, the second dot row data DC becomes "1". Therefore, the print data D is as shown in the above equation (4), Q t = (1and ″”CXTTV) an
d W t ... (8) ← 1 and Dm Therefore, thinning start control data D, = rOJ in Fig. 2
In this case, as shown in FIG. 3, the next dot position to be printed first is the non-printing dot d. It becomes l. In addition, in the case of control data D, = rlJ, the same position is printed dot d, (
(does not exist in the printing pattern shown in FIG. 3).

一方、次回の間引き開始制御データD、′は上記(6)
式に示すように、印字ドツトが連続する場合rlJに保
持されるので、印字データDは上記(5)式に示すよう
にrlJ、rOJを繰り返し、同様に次の印字ドツトの
連続する箇所においても各行方向の間引き印字開始位置
がそれぞれ独立に設定されることになる。
On the other hand, the next thinning start control data D,' is shown in (6) above.
As shown in the formula, when the printed dots are continuous, they are held in rlJ, so the print data D repeats rlJ and rOJ as shown in the above formula (5), and similarly at the next consecutive printed dots. The thinning printing start position in each line direction is set independently.

この結果、第3図に示すように、B部及び0部において
は上下で印字ドツトd、が交互にずれ、連続した線分が
表示される。また、傾斜している線分は直線的に表示さ
れ、かつ不要な印字ドツトが生ぜず、従って、全体的に
バランスのよい高品位の文字rAJが得られる。
As a result, as shown in FIG. 3, in the B section and the 0 section, the upper and lower printed dots d are alternately shifted and a continuous line segment is displayed. Further, the slanted line segments are displayed linearly, and unnecessary printing dots are not generated, so that a well-balanced and high-quality character rAJ can be obtained as a whole.

尚、第4図には第2空白部の後の次の印字ドツトの連続
する箇所において、間引き開始制御データD8を無効処
理して間引き印字した印字パターンが示されている。こ
の第4図から明らかなように、第2空白部の狭い不自然
な印字パターンでrAJが印字されている。従って、文
字rAJにおいては最初及び次回の印字ドツトの連続す
る三箇所をそれぞれ間引き開始制御データD、にて間引
き制御するのが好ましいことが判かる。
Incidentally, FIG. 4 shows a printing pattern in which the thinning start control data D8 is invalidated and thinned printing is performed at the next consecutive printing dots after the second blank area. As is clear from FIG. 4, rAJ is printed in an unnatural printing pattern with a narrow second blank area. Therefore, it can be seen that in the character rAJ, it is preferable to perform thinning control at three successive locations of the first and next printed dots using the thinning start control data D, respectively.

第5図には本発明の他の実施例が示されている。この実
施例ではAND回路14の一方の入力に他のOR回路1
6の出力側が接続され、このOR回路16の一方の入力
は制御データメモリ12の入力側に接続されている。従
って、間引き開始制御データD1はOR回路16を介し
てAND回路14に入力されることになる。OR回路1
6の他方の入力は文字フォントメモリ1のメモリ部1a
に接続されている。
Another embodiment of the invention is shown in FIG. In this embodiment, one input of the AND circuit 14 is connected to the other OR circuit 1.
6 is connected, and one input of this OR circuit 16 is connected to the input side of the control data memory 12. Therefore, the thinning start control data D1 is input to the AND circuit 14 via the OR circuit 16. OR circuit 1
The other input of 6 is the memory part 1a of the character font memory 1.
It is connected to the.

第6図は文字フォントメモリ1への各種データの格納例
が示され、図示の例では文字rAJのフォントデータ及
び間引き開始制御データD、が格納されている。そして
、本実施例では更にメモリ部1aに選択データD0が格
納されている。この選択データD、は最初若しくは次回
以後の印字ドツトの連続する箇所において印字開始位置
を設定するか否かを判定するためのデータであり、図示
の例では「1」を示している。この選択データD、は「
1」の場合次回以後の印字ドツトの連続する箇所におい
て印字開始位置を設定しないことを示し、rOJの場合
最初の印字ドツトの連続する箇所と同様にそれ以後の箇
所においても印字開始位置を設定することを示している
FIG. 6 shows an example of storing various data in the character font memory 1. In the illustrated example, font data of the character rAJ and thinning start control data D are stored. In this embodiment, selection data D0 is further stored in the memory section 1a. This selection data D is data for determining whether or not to set the printing start position at the first or subsequent printing dots, and indicates "1" in the illustrated example. This selection data D is “
1” indicates that the printing start position will not be set for the next consecutive printing dots, and in the case of rOJ, the printing start position will be set for the subsequent printing dots in the same way as for the first printing dots. It is shown that.

次に、第5図の実施例における間引き印字動作を説明す
る。
Next, the thinning printing operation in the embodiment shown in FIG. 5 will be explained.

先ず、ドツト列データDCを文字フォントメモリ1より
読出すと同時に該メモリ1のメモリ部1aより選択デー
タD、= rlJをOR回路16に供給する。従って、
OR回路16からは間引き開始制御データD1.とは無
関係に常にrlJが出力され、AND回路14の一方の
入力が常時「l」に保持される。一方、間引き開始制御
データD、が「0」の場合上記(2)式より明らかなよ
うに、次回の間引き開始制御データD3′も「o」なの
で、AND回路14の他方の入力にはrOJが供給され
る。また、第1空白部(第4図参照)ではドツト列デー
タDeが「0」なので、OR回路15よりrOJが出力
される。従って、次回の間引き開始制御データD、′は
「0」に保持される。
First, dot string data DC is read from the character font memory 1, and at the same time selection data D,=rlJ is supplied from the memory section 1a of the memory 1 to the OR circuit 16. Therefore,
The OR circuit 16 outputs thinning start control data D1. Regardless of this, rlJ is always output, and one input of the AND circuit 14 is always held at "L". On the other hand, when the thinning start control data D is "0", as is clear from equation (2) above, the next thinning start control data D3' is also "o", so the other input of the AND circuit 14 has rOJ. Supplied. Further, in the first blank area (see FIG. 4), since the dot row data De is "0", the OR circuit 15 outputs rOJ. Therefore, the next thinning start control data D,' is held at "0".

第1空白部が終了し、最初の印字ドツトの連続する箇所
が始まり、ドツト列データDCが「1」となると、OR
回路15に「1」が供給され、上記 (6)式に示すよ
うに、次回の間引き開始制御データD、′がrlJに変
化する。従って、その後はAND回路13に「1」が供
給され続けるので、最初のドツト位置が非印字ドツトd
01となり、その後印字データDがro」、rl」を繰
り返して間引き印字される。
When the first blank section ends and the first consecutive printed dot begins, and the dot string data DC becomes "1", the OR
"1" is supplied to the circuit 15, and the next thinning start control data D,' changes to rlJ, as shown in equation (6) above. Therefore, since "1" continues to be supplied to the AND circuit 13, the first dot position is the non-printing dot d.
01, and thereafter the print data D repeats "ro" and "rl" and is thinned out and printed.

最初の印字ドツトの連続する箇所が終了し、ドツト列デ
ータD0がrOJになると、OR回路15の一方の入力
にもrOJが供給される。しかるに、今回の間引き開始
制御データD、′が「1」で、かつOR回路16より「
1」が出力されているので、AND回路14からは「1
」が出力され、OR回路15に供給される。よって、第
2空白部以後は間引き開始制御データD 、1がrlJ
に保持されるので、次回の印字ドツトの連続する箇所か
らは間引き処理回路10の出力がそのまま印字データD
となる。つまり、間引き開始制御データD、は次回の印
字ドツトの連続する箇所からは無効となり、従来の間引
き処理が行なわれる。
When the first continuous portion of printed dots is completed and the dot string data D0 becomes rOJ, rOJ is also supplied to one input of the OR circuit 15. However, the current thinning start control data D,' is "1", and the OR circuit 16 outputs "
1" is output, the AND circuit 14 outputs "1".
" is output and supplied to the OR circuit 15. Therefore, after the second blank part, the thinning start control data D, 1 is rlJ.
Therefore, the output of the thinning processing circuit 10 will be used as the print data D from the next consecutive print dots.
becomes. In other words, the thinning start control data D becomes invalid from the point where the next printed dots are continuous, and the conventional thinning process is performed.

また、間引き開始制御データD、’=rlJの場合ドツ
ト列データDc=「O」であっても制御データメモリ1
2より「1」の次回の間引き開始制御データD 、Jが
出力される。従って、OR回路16よりrlJが出力さ
れているので、AND回路14よりrlJが出力され、
以後は次回の間引き開始制御データD 、1が「1」に
保持される。
Furthermore, when the thinning start control data D,'=rlJ, even if the dot row data Dc='O', the control data memory 1
2 outputs the next thinning start control data D and J of "1". Therefore, since rlJ is output from the OR circuit 16, rlJ is output from the AND circuit 14,
Thereafter, the next thinning start control data D1 is held at "1".

よって、最初の印字ドツトの連続する箇所においては最
初の印字すべきドツト位置が印字ドツトd1となるが、
次回の印字ドツトの連続する箇所からは間引き開始制御
データD、が無効となり、従来の間引き処理が行なわれ
る。
Therefore, in the area where the first printing dots are continuous, the position of the first printing dot is the printing dot d1,
The thinning start control data D becomes invalid from the point where the next printed dots are continuous, and the conventional thinning process is performed.

この結果、文字rAJでは第4図に示す印字パターンと
なり、最初の印字ドツトの連続する箇所のみが所定の印
字開始位置より印字が行なわれる。
As a result, the character rAJ has a printing pattern as shown in FIG. 4, in which only the first continuous printing dots are printed from a predetermined printing start position.

上記実施例において、選択データD、= rOJを選定
すると、第1図で示す回路と同一動作を行なうので、全
ての印字ドツトの連続する箇所において印字開始位置を
設定することができる。従って、第3図に示す印字パタ
ーンを有する文字rAJが得られる。
In the embodiment described above, when the selection data D,=rOJ is selected, the same operation as the circuit shown in FIG. 1 is performed, so that the printing start position can be set at all consecutive printing dots. Therefore, the character rAJ having the print pattern shown in FIG. 3 is obtained.

第7図(A)、(B)は第5図の回路において、選択デ
ータD、をrlJ、rOJにそれぞれ選択して文字「B
」を間引き処理した印字パターンを示している。即ち、
同図(A)では最初の印字ドツトの連続する箇所のみが
印字開始位置を設定されている。また、同図(B)では
最初及び次回の印字ドツトの連続する三箇所でそれぞれ
印字開始位置が設定されている。これらの図から明らか
なように、文字rBJの印字パターンは選択データD、
を「0」に設定して各印字ドθトの連続する箇所におい
て印字開始位置を設定するのが品質的に優れている。
7(A) and 7(B) show that the selection data D is selected as rlJ and rOJ, respectively, and the character "B" is used in the circuit of FIG.
” is thinned out. That is,
In FIG. 5A, only the first consecutive print dots are set as printing start positions. Further, in FIG. 2B, printing start positions are set at three successive locations for the first and next printing dots. As is clear from these figures, the printing pattern of the character rBJ is based on the selection data D,
It is better in terms of quality to set θ to "0" and set the print start position at a consecutive location of each print dot θ.

第7図(C)、(D)は選択データD、をrl」、ro
」に選定して文字rHJを間引き処理した印字パターン
を示している。文字rHJの印字パターンは選択データ
D、を「1」に設定し、最初の印字ドツトの連続する箇
所のみの印字開始位置を設定するのが品質的に優れてい
る。
FIGS. 7(C) and (D) show the selection data D, rl', ro
'' is selected and the characters rHJ are thinned out. For the printing pattern of the character rHJ, it is better in terms of quality to set the selection data D to "1" and to set the printing start position only at the location where the first printing dots are continuous.

尚、間引き開始制御データD8及び選択データD、は文
字フォントメモリ1以外のメモリやレジスタに格納して
読出してもよい。
Incidentally, the thinning start control data D8 and the selection data D may be stored in a memory or register other than the character font memory 1 and read out.

(発明の効果) 以上説明したように、本発明によれば、印字ドツトの連
続する箇所が二以上存在するドツトマトリクスにおいて
、間引き開始制御データにて間引き処理を制御し、行方
向で少なくとも一以上の印字ドツトの連続する箇所の間
引き印字開始位置を独立に設定するようにしたので、各
文字に対応させて印字品質の優れた間引き印字を行なう
ことができる。
(Effects of the Invention) As described above, according to the present invention, in a dot matrix where there are two or more consecutive printed dots, the thinning process is controlled by the thinning start control data, and at least one or more consecutive printed dots are controlled in the row direction. Since the thinning printing start positions of successive printing dots are set independently, thinning printing with excellent print quality can be performed corresponding to each character.

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

第1図は本発明に係る間引き印字方法に用いる回路のブ
ロック図、第2図は文字フォントメモリに格納した文字
フォントデータと間引き開始制御データを示す図、第3
図及び第4図は文字rAJの各間引き印字パターンを間
引き開始制御データと対応させてそれぞれ示す図、第5
図は本発明の他の実施例に係る回路ブロック図、第6図
は文字フォントメモリに格納した文字フォントデータと
間引き開始制御データ及び選択データを示す図、第7図
(A)乃至(D)は他の文字の間引き印字パターンを間
引き開始制御データ及び選択データと対応させて示す図
、第8図(a)、(b)は文字rAJの高品位印字パタ
ーンを示す図と印字ヘッドの概略図、第9図は間引き処
理回路のブロック図、第10図は従来の間引き処理にて
印字した印字パターンを示す図である。 1・・・フォントメモリ、2・・・ドツト列レジスタ、
5.13.14・・・AND回路、 6・・・印字データレジスタ、 10−・・間引き処理回路、11・・・間引き制御回路
、12・・・制御データメモリ、 15゜ 6・・・OR回路。
FIG. 1 is a block diagram of a circuit used in the thinning printing method according to the present invention, FIG. 2 is a diagram showing character font data and thinning start control data stored in the character font memory, and FIG.
4 and 4 are diagrams showing each thinning printing pattern of the character rAJ in correspondence with thinning start control data, and FIG.
The figure is a circuit block diagram according to another embodiment of the present invention, FIG. 6 is a diagram showing character font data, thinning start control data, and selection data stored in the character font memory, and FIGS. 7 (A) to (D) 8A and 8B are diagrams showing thinning printing patterns of other characters in correspondence with thinning start control data and selection data, and FIGS. 8(a) and 8(b) are diagrams showing high quality printing patterns of characters rAJ and a schematic diagram of the print head. , FIG. 9 is a block diagram of a thinning processing circuit, and FIG. 10 is a diagram showing a print pattern printed by conventional thinning processing. 1... Font memory, 2... Dot row register,
5.13.14...AND circuit, 6...Print data register, 10-...Thinning processing circuit, 11...Thinning control circuit, 12...Control data memory, 15°6...OR circuit.

Claims (1)

【特許請求の範囲】 印字ドット及び非印字ドットを含んで行方向に印字ドッ
トの連続する箇所が二以上存在するドットマトリクスを
形成するフォントデータを、縦1列のドット列データ毎
に間引き処理し、行方向で連続している印字ドットを1
ドット毎に間引きする間引き印字方法において、 各フォントデータに対応させて間引き開始制御データを
選定し、 該間引き開始制御データに基づいて間引き処理を制御し
て、前記各行方向で少なくとも一以上の印字ドットの連
続する箇所の間引き印字開始位置を独立に設定すること
を特徴とする間引き印字方法。
[Claims] Font data forming a dot matrix in which two or more consecutive print dots exist in the row direction, including print dots and non-print dots, is thinned out for each vertical column of dot row data. , print dots that are continuous in the line direction as 1
In a thinning printing method that thins out each dot, thinning start control data is selected in correspondence with each font data, and thinning processing is controlled based on the thinning start control data, so that at least one or more printing dots are thinned out in each line direction. A thinning printing method characterized by independently setting thinning printing start positions of successive parts.
JP30060788A 1988-11-30 1988-11-30 Thinning printing method Pending JPH02147261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30060788A JPH02147261A (en) 1988-11-30 1988-11-30 Thinning printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30060788A JPH02147261A (en) 1988-11-30 1988-11-30 Thinning printing method

Publications (1)

Publication Number Publication Date
JPH02147261A true JPH02147261A (en) 1990-06-06

Family

ID=17886888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30060788A Pending JPH02147261A (en) 1988-11-30 1988-11-30 Thinning printing method

Country Status (1)

Country Link
JP (1) JPH02147261A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016087973A (en) * 2014-11-06 2016-05-23 シチズンホールディングス株式会社 Serial dot printer and method for controlling the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016087973A (en) * 2014-11-06 2016-05-23 シチズンホールディングス株式会社 Serial dot printer and method for controlling the same

Similar Documents

Publication Publication Date Title
JPH0149632B2 (en)
JPH02147261A (en) Thinning printing method
JP3306653B2 (en) Dot line printer
JPH04149633A (en) Information processor
JPH03293135A (en) Ink jet recording device
JP3165346B2 (en) Serial printer
JPH0292559A (en) Thinning out printing method
JPS6139672B2 (en)
JP3242523B2 (en) Printing information processing device
JP3327430B2 (en) Printer control device
JPH02276656A (en) Dot printer
JPH05301378A (en) Printing system of dot matrix type printer
JPS6328663A (en) Impact-type dot printer with noise reduction function
JPH03258567A (en) Method of controlling reduced printing by dot type serial printer
JPS63189247A (en) Printer device
JPH0292560A (en) Thinning out printing method
JPS63116858A (en) Dot driving method for printing head
JPH03120060A (en) Scale-down printing method
JPH0740599A (en) Serial printer
JPH07137343A (en) Printing method in recorder
JPS63116859A (en) Dot driving method for printing head
JPH02238964A (en) Serial printer
JPH0533914B2 (en)
JP2000025250A (en) Method for expressing gradation of thin line for ink-jet printer
JPH06191092A (en) Printer