JPH04128064A - Printing apparatus - Google Patents

Printing apparatus

Info

Publication number
JPH04128064A
JPH04128064A JP24959890A JP24959890A JPH04128064A JP H04128064 A JPH04128064 A JP H04128064A JP 24959890 A JP24959890 A JP 24959890A JP 24959890 A JP24959890 A JP 24959890A JP H04128064 A JPH04128064 A JP H04128064A
Authority
JP
Japan
Prior art keywords
printing
data
circuit
draft
character
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
JP24959890A
Other languages
Japanese (ja)
Inventor
Hisashi Osano
久 小佐野
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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP24959890A priority Critical patent/JPH04128064A/en
Publication of JPH04128064A publication Critical patent/JPH04128064A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To perform draft printing generating no printing shift even when bidirectional printing is performed, in a printing apparatus performing thinning printing with respect to printing data consisting of a plurality of vertical double em characters, by providing a draft means performing thinning processing by one character with respect to the printing data and a means printing the printing data subjected to thinning processing by one character. CONSTITUTION:A draft circuit 4 is constituted of flip-flops (hereinbelow referred to as FF) 40, 43, an NAND circuit 41, an AND circuit 42 and a delay circuit 44. A known D-type FF is used as each of FFs 40, 43 and printing data is held by one bit in synchronous relation to a clock CLK for transmitting printing data. The data after the thinning processing due to the draft circuit 4 is inputted to a selector 3 and the selector 3 has function alternately outputting printing data 32 not subjected to thinning processing and the printing data 33 after thinning processing to the printing buffer of the next stage corresponding to the control signal from a CPU 7. By this constitution, even when a vertical double em character is subjected to bidirectional printing, the generation of printing shift can be prevented.

Description

【発明の詳細な説明】 技術分野 本発明は印字装置に関し、特に高速両方向印字の際の印
字ドラフト(間引き)方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a printing device, and particularly to a printing draft (thinning) method during high-speed bidirectional printing.

従来技術 一般に、印字装置においては、高速印字の際に印字ドラ
フト(間引き)を行い、プリントヘッドの性能を越える
高速印字が実現されていた。
2. Description of the Related Art In general, printing apparatuses perform print drafting (thinning) during high-speed printing to achieve high-speed printing that exceeds the performance of the print head.

また、従来の印字装置において印字ドラフトを行う場合
には、印字時に印字データをドラフト回路に入力し、そ
の直近のデータと比較することにより行われていた。例
えば、あるドツトをデータ有とすると、次のドツトは印
字を行わず、さらに次のドツトの処理に移るという方式
が採用されていた。これにより、プリントヘッドのヘッ
ドピンのインパクト処理性能を相対的に向上させ、プリ
ントヘッド自体の性能の2倍の性能を実現して高速印字
を行っているのである。
Further, when performing print drafting in a conventional printing device, printing data is inputted into a drafting circuit at the time of printing, and the data is compared with the most recent data. For example, when a certain dot is determined to have data, printing is not performed on the next dot, and processing moves on to the next dot. This relatively improves the impact processing performance of the head pins of the print head, achieving twice the performance of the print head itself and performing high-speed printing.

上述した従来のドラフト方式では、片方向からの印字に
ついては特に問題なく印字が行える。しかし、縦倍角文
字の印字データを両方向印字する場合、CW (C1o
ck Wise)方向及びCCW (Counter 
C1ock wise)方向の両方向からスキャンする
ことになり、1ドツトの印字ズレが発生するという欠点
があった。
In the conventional draft method described above, printing can be performed from one direction without any particular problem. However, when printing double-height character print data in both directions, CW (C1o
ck Wise) direction and CCW (Counter
This method has the drawback that scanning is performed from both directions (C1ockwise), resulting in a one-dot printing misalignment.

例えば、第4図(a)に示されているように、横2ドツ
トの縦罫線を、従来のドラフト方式により両方向印字す
ると、円A内のように印字ズレが発生して一直線ではな
くなってしまう。また、第4図(C)に示されているよ
うにrHJの縦倍角文字を、従来のドラフト方式により
、矢印Y1及びY2のように両方向印字すると、印字ズ
レが発生して縦線にズレが生じてしまう。このような印
字ズレは印字装置の印字品質を著しく害するという欠点
があった。
For example, as shown in Figure 4(a), when a vertical ruled line with two horizontal dots is printed in both directions using the conventional draft method, the printing will be misaligned as shown in circle A and will no longer be in a straight line. . Furthermore, as shown in Fig. 4(C), when double-height characters rHJ are printed in both directions as indicated by arrows Y1 and Y2 using the conventional draft method, printing misalignment occurs and the vertical lines are misaligned. It will happen. Such printing misalignment has the drawback of significantly impairing the printing quality of the printing device.

発明の目的 本発明は上述した従来の欠点を解決するためになされた
ものであり、その目的は両方向印字を行っても印字ズレ
を生ずることのないドラフト印字を行うことができる印
字装置を提供することである。
OBJECTS OF THE INVENTION The present invention has been made to solve the above-mentioned conventional drawbacks, and its purpose is to provide a printing device that can perform draft printing without causing print misalignment even when printing in both directions. That's true.

発明の構成 本発明による印字装置は、複数の縦倍角文字からなる印
字データに対して間引き印字を行う印字装置であって、
前記印字データに対して1文字ずつ間引き処理を行うド
ラフト手段と、この1文字ずつ間引き処理がされた印字
データを印字する手段とを有することを特徴とする。
Structure of the Invention A printing device according to the present invention is a printing device that performs thinning printing on print data consisting of a plurality of double-height characters, and comprises:
The present invention is characterized by comprising a draft means for thinning out the print data one character at a time, and a means for printing the print data thinned out one character at a time.

実施例 次に、本発明について図面を参照して説明する。Example Next, the present invention will be explained with reference to the drawings.

第1図は本発明による印字装置の一実施例の構成を示す
ブロック図であり、24X24ドツトの全角文字につい
ての縦倍角文字を印字する装置の構成例が示されている
。本実施例の装置が従来のものと異なる点は、間引き処
理後に印字データをバッファに格納し、その格納された
印字データを印字するという点である。すなわち、バッ
ファに格納されているデータを読出して印字する際に間
引き処理を行うという従来方式に対し、−文字ずつ間引
き処理を行った後の印字データをバッファに格納し、こ
れを読出して印字するという方式を採用しているため、
両方向印字を行っても印字スレは発生しないのである。
FIG. 1 is a block diagram showing the configuration of an embodiment of a printing device according to the present invention, and shows an example of the configuration of a device for printing double-height characters for full-width characters of 24×24 dots. The apparatus of this embodiment differs from the conventional apparatus in that the print data is stored in a buffer after the thinning process, and the stored print data is printed. In other words, unlike the conventional method in which data is thinned out when reading and printing data stored in a buffer, the print data after being thinned out character by character is stored in a buffer, read out, and printed. Because we adopt the method of
Printing scratches do not occur even when printing in both directions.

これを実現するため本実施例の印字装置は、セレクタ3
の切換え制御等を行うCPU7と、CPU7からの印字
データに対して1文字ずつ間引き処理を行うドラフト回
路4と、CW用の印字データを保持する印字バッファ1
と、CCW用の印字データを保持する印字バッファ2と
、12ビツトのラッチ回路5及び6とを含んで構成され
ている。
In order to realize this, the printing device of this embodiment uses the selector 3.
a CPU 7 that performs switching control, etc., a draft circuit 4 that performs thinning processing character by character on print data from the CPU 7, and a print buffer 1 that holds print data for CW.
, a print buffer 2 for holding print data for CCW, and 12-bit latch circuits 5 and 6.

また、ラッチ回路5及び6の出力は図示せぬ印字ヘッド
に与えられる。
Further, the outputs of the latch circuits 5 and 6 are applied to a print head (not shown).

このように、1文字ずつの間引き処理後の印字データを
印字バッファ内に保持し、これを読出して両方向印字す
る構成となっているため印字ズレは生じないのである。
In this way, the print data after thinning out each character is held in the print buffer, read out, and printed in both directions, so that no printing misalignment occurs.

なお、12ビツトのラッチ回路5及び12ビツトのラッ
チ回路6の合計24ビツトにより縦24ドツトの1列が
印字され、これを右から左に24回繰返すことにより2
4X24ドツトの全角文字についての印字が完成するの
である。また、印字バッファ1はCW用であるため左か
ら右への印字の際にデータが格納され、印字バッファ2
はCCW用であるため右から左への印字の際にデータが
格納される。
Note that one column of 24 vertical dots is printed using a total of 24 bits of the 12-bit latch circuit 5 and the 12-bit latch circuit 6, and by repeating this 24 times from right to left, 2 lines are printed.
Printing of full-width characters of 4×24 dots is completed. Also, since print buffer 1 is for CW, data is stored when printing from left to right, and print buffer 2
Since this is for CCW, data is stored when printing from right to left.

次に、ドラフト回路4の内部構成゛について説明する。Next, the internal configuration of the draft circuit 4 will be explained.

第2図はドラフト回路4の内部構成を示すブロック図で
ある。図において、ドラフト回路4は、フリップフロッ
プ(以下、FFと略す)40及び43と、ナンド(NA
ND)回路41と、アンド(AND)回路42と、デイ
レイ回路44とを含んで構成されている。
FIG. 2 is a block diagram showing the internal configuration of the draft circuit 4. As shown in FIG. In the figure, the draft circuit 4 includes flip-flops (hereinafter abbreviated as FF) 40 and 43, and a NAND (NA
The circuit includes an ND (ND) circuit 41, an AND circuit 42, and a delay circuit 44.

FF40及び43には、周知のD型FFが用いられ、印
字データ転送用のクロックCLKに同期して印字データ
が1ビツトずつ保持されることになる。ここで、両FF
間にはナンド回路41及びアンド回路42が設けられて
いるため、保持タイミング調整用としてデイレイ回路4
4が設けられているのである。
Well-known D-type FFs are used for the FFs 40 and 43, and the print data is held one bit at a time in synchronization with the print data transfer clock CLK. Here, both FF
Since a NAND circuit 41 and an AND circuit 42 are provided between them, the delay circuit 4 is used for adjusting the holding timing.
4 is provided.

かかる構成において、FF43には直前、すなわち左か
ら右にスキャンする場合には左のドツトにっ’LMでの
印字データ(2値データ)が格納されている。このFF
43の出力はナンド回路41に入力されているため、現
ドツトについての印字データ(2値データ)とナンドが
とられる。
In this configuration, the FF 43 stores print data (binary data) at the immediately preceding dot, that is, at the left dot (binary data) when scanning from left to right. This FF
Since the output of 43 is input to the NAND circuit 41, it is NANDed with the print data (binary data) for the current dot.

そのナンド結果は、更にアンド回路42に入力されて現
ドツトについての印字データ(2値データ)とアンドが
とられる。そして、そのアンド結果がドラフトデータと
して次段の回路に伝達されるとともにFF43に保持さ
れる。
The NAND result is further input to an AND circuit 42, where it is ANDed with print data (binary data) for the current dot. Then, the AND result is transmitted to the next stage circuit as draft data and is held in the FF 43.

次に、第5図を用いて、このドラフト回路4の動作を説
明する。第5図はトラフト回路4の動作を示す真理値表
であり、FF40及び43の保持データの値に対するナ
ンド回路41及びアンド回路42の出力値が示されてい
る。なお、この真理値表においては、印字されるドツト
か“1”、印字されないドツトが“0”で示されている
Next, the operation of this draft circuit 4 will be explained using FIG. 5. FIG. 5 is a truth table showing the operation of the traft circuit 4, and shows the output values of the NAND circuit 41 and the AND circuit 42 for the values of data held in the FFs 40 and 43. In this truth table, dots that are printed are shown as "1", and dots that are not printed are shown as "0".

まず、第5図の■及び■を参照すると、現ドツトについ
ての印字データ、すなわちFF40の保持データの値が
“0”の場合には、直前のドツトについての印字データ
、すなわちFF43の保持データの値が“0°又は“1
”のいずれの場合にも、ナンド回路41の出力値は“1
”てあり、アンド回路42の出力値は“0”となる。つ
まり、印字データか“0”、すなわち線部分が存在しな
ければ、間引き処理は行われないのである。
First, referring to ■ and ■ in Fig. 5, if the value of the print data for the current dot, that is, the data held in FF40, is "0", the print data for the immediately previous dot, that is, the data held in FF43, is "0". Value is “0° or “1”
”, the output value of the NAND circuit 41 is “1”.
", and the output value of the AND circuit 42 is "0". In other words, if the print data is "0", that is, if there is no line part, the thinning process is not performed.

これに対し、第5図の■及び■を参照すると、現ドツト
についての印字データ、すなわちFF40の保持データ
の値が“1”の場合には、直前のドツトについての印字
データ、すなわちFF43の保持データの値によってア
ンド回路42の出力値が異なる。
On the other hand, referring to ■ and ■ in FIG. The output value of the AND circuit 42 differs depending on the data value.

つまり、第5図の■に示されているように、直前のドツ
トについての印字データ、すなわちFF43の保持デー
タの値が“1”の場合には、間引き処理が行われる。よ
って、この場合にはアンド−回路42の出力値は“0′
となる。
That is, as shown in (■) in FIG. 5, when the print data for the immediately preceding dot, that is, the value of the data held in the FF 43 is "1", the thinning process is performed. Therefore, in this case, the output value of the AND circuit 42 is "0'"
becomes.

一方、第5図の■に示されているように、直前のドツト
についての印字データ、すなわちFF43の保持データ
の値が“0”の場合には、間引き処理は行われない。よ
って、この場合にはアンド回路42の出力値は“1”と
なる。
On the other hand, if the value of the print data for the immediately preceding dot, that is, the value of the data held in the FF 43, is "0", as shown in (■) in FIG. 5, the thinning process is not performed. Therefore, in this case, the output value of the AND circuit 42 is "1".

以上のような間引き処理は、24 X 24ドツトの全
角文字について1文字ずつ行われることになる。つまり
、第2図と同様の構成を24ビット分設けておき、1つ
の文字についての縦24ドツトが1度にFFに格納され
、これが左から右に24回繰返されることにより、24
X24ドツトの全角文字についての間引き処理が完了す
ることになる。なお、第2図の構成を1つだけ設けてお
き、24 X 24ドツトの最上段の24ドツトについ
て左から右に処理し、これを最上段から最下段へと24
回繰返すという方式でも良い。
The above-described thinning process is performed for each 24 x 24 dot full-width character one by one. In other words, the same configuration as shown in Figure 2 is provided for 24 bits, 24 vertical dots for one character are stored in the FF at one time, and this is repeated 24 times from left to right.
The thinning process for double-byte characters of X24 dots is completed. Note that only one configuration of Fig. 2 is provided, and the top 24 dots of 24 x 24 dots are processed from left to right, and then the 24 dots are processed from the top to the bottom.
It is also possible to repeat the process several times.

また、48X24ドツトの縦倍角文字の場合には、24
X24ドツトについての間引き処理を2回繰返すことに
なる。この場合、48X24ドツトの上半分の24X2
4ドツトについては、縦24ドツトを左から右に24回
繰返すことにより行われ、下半分の24X24ドツトに
ついても、縦24ドツトを左から右に24回繰返すこと
により行われる。このように、48X24ドツトの縦倍
角文字についての第1回目の24X24ドツトの間引き
処理の方向と第2回目の24X24ドツトの間引き処理
の方向とを同じ方向とし、これを1文字単位で行うこと
により、実際の印字の際に両方向に印字しても従来のよ
うな印字ズレは発生しないのである。
In addition, in the case of double-height characters of 48 x 24 dots, 24
The thinning process for X24 dots is repeated twice. In this case, 24X2 of the upper half of 48X24 dots
For 4 dots, 24 vertical dots are repeated 24 times from left to right, and for the 24×24 dots in the lower half, 24 vertical dots are repeated 24 times from left to right. In this way, by making the direction of the first thinning process of 24x24 dots and the direction of the second thinning process of 24x24 dots for a double-height character of 48x24 dots the same direction, and performing this for each character. During actual printing, even if printing is performed in both directions, the printing misalignment that occurs in the conventional method does not occur.

ところで、再び第1図を参照すると、ドラフト回路4に
よる間引き処理後のデータはセレクタ3に入力されてい
る。このセレクタ3は第3図に示されているように、C
PU7からの制御信号31に応じて間引き処理されてい
ない印字データ32と間引き処理後の印字データ33と
を択一的に次段の印字バッファに送出する機能を有して
いる。
By the way, referring again to FIG. 1, the data after being thinned out by the draft circuit 4 is input to the selector 3. As shown in FIG.
It has a function of selectively sending unthinned print data 32 and thinned print data 33 to the next print buffer in response to a control signal 31 from the PU 7.

このようにセレクタにより選択する方式を採用している
ため、簡単な構成でありながら、制御信号31の値を変
えるたけで通常印字と間引き印字とを自由に選択できる
のである。
Since this selection method is adopted using a selector, normal printing and thinning printing can be freely selected by simply changing the value of the control signal 31, although the configuration is simple.

以上のように、間引き処理を行うと、横2ドツトの縦罫
線については、印字バッファに格納された段階で既に第
4図(b)に示されているようにズレの無い間引きデー
タとなっているため、両方向印字を行っても印字ズレは
発生しないのである。
As described above, when the thinning process is performed, the vertical ruled line of 2 horizontal dots becomes thinned data without any deviation when it is stored in the print buffer, as shown in FIG. 4(b). Therefore, even if printing is performed in both directions, printing misalignment will not occur.

また、rHJの縦倍角文字についても、印字バッファに
格納された段階で既に第4図(d)に示されているよう
にズレの無い間引きデータとなっているため、矢印Y1
及びY2のように両方向印字を行っても印字ズレは発生
せず、縦線にはズレが生じないのである。
Also, for the rHJ double-height character, it is already thinned data with no deviation as shown in FIG. 4(d) when it is stored in the print buffer, so the arrow Y1
Even if printing is performed in both directions as in Y2 and Y2, no printing misalignment occurs, and no misalignment occurs on vertical lines.

なお、本実施例によれば、両方向印字ではなく片方向印
字の場合でも従来と同様に印字スレか発生しないことは
勿論である。つまり、本発明によれば印字の方向によら
ず、印字ズレが発生しない印字装置が実現できるのであ
る。
Note that, according to this embodiment, even in the case of unidirectional printing instead of bidirectional printing, printing scratches do not occur as in the conventional case. In other words, according to the present invention, it is possible to realize a printing device that does not cause printing misalignment regardless of the printing direction.

発明の詳細 な説明したように本発明は、印字データに対して1文字
ずつ間引き処理を行い、その間引き処理後のデータを印
字することにより、縦倍角文字を両方向印字しても印字
ズレが発生しないという効果がある。
DETAILED DESCRIPTION OF THE INVENTION As described above, the present invention performs thinning processing on print data one character at a time, and prints the data after the thinning processing, so that printing misalignment occurs even when double-height characters are printed in both directions. It has the effect of not doing so.

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

第1図は本発明の実施例による印字装置の主要部の構成
を示すブロック図、第2図は第1図中のドラフト回路の
内部構成を示すブロック図、第3図は第1図中のセレク
タの接続関係を示すブロック図、第4図(a)及び(c
)は従来の印字装置による印字例を示す概略図、第4図
(b)及び(d)は第1図の印字装置による印字例を示
す概略図、第5図は第2図のドラフト回路の動作を示す
真理値表である。 主要部分の符号の説明 1.2・・・・・・印字バッファ 3・・・・・・セレクタ 4・・・・・・ドラフト回路
FIG. 1 is a block diagram showing the configuration of the main parts of a printing device according to an embodiment of the present invention, FIG. 2 is a block diagram showing the internal configuration of the draft circuit in FIG. 1, and FIG. 3 is a block diagram showing the internal configuration of the draft circuit in FIG. Block diagram showing the connection relationship of selectors, FIGS. 4(a) and (c)
) is a schematic diagram showing an example of printing by a conventional printing device, FIGS. 4(b) and (d) are schematic diagrams showing an example of printing by the printing device of FIG. 1, and FIG. This is a truth table showing the operation. Explanation of symbols of main parts 1.2...Print buffer 3...Selector 4...Draft circuit

Claims (1)

【特許請求の範囲】[Claims] (1)複数の縦倍角文字からなる印字データに対して間
引き印字を行う印字装置であって、前記印字データに対
して1文字ずつ間引き処理を行うドラフト手段と、この
1文字ずつ間引き処理がされた印字データを印字する手
段とを有することを特徴とする印字装置。
(1) A printing device that performs thinning printing on print data consisting of a plurality of double-height characters, including a draft means that thins out the print data one character at a time, and a draft means that thins out the print data one character at a time; 1. A printing device comprising means for printing printed data.
JP24959890A 1990-09-19 1990-09-19 Printing apparatus Pending JPH04128064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24959890A JPH04128064A (en) 1990-09-19 1990-09-19 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24959890A JPH04128064A (en) 1990-09-19 1990-09-19 Printing apparatus

Publications (1)

Publication Number Publication Date
JPH04128064A true JPH04128064A (en) 1992-04-28

Family

ID=17195401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24959890A Pending JPH04128064A (en) 1990-09-19 1990-09-19 Printing apparatus

Country Status (1)

Country Link
JP (1) JPH04128064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0608880A1 (en) * 1993-01-29 1994-08-03 Canon Kabushiki Kaisha Image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0608880A1 (en) * 1993-01-29 1994-08-03 Canon Kabushiki Kaisha Image forming apparatus
US5844690A (en) * 1993-01-29 1998-12-01 Canon Kabushiki Kaisha Image forming apparatus that selects a suitable facsimile printing mode
US6342949B1 (en) 1993-01-29 2002-01-29 Canon Kabushiki Kaisha Image forming apparatus that prevents recording in an undesired image formation mode

Similar Documents

Publication Publication Date Title
JPH04128064A (en) Printing apparatus
JPH0535442A (en) Image data converting circuit
JPH06303366A (en) Video interface
JPS58160159A (en) Generating method of character data
JPS594706B2 (en) Print pattern generator
JPS61129975A (en) Printer control circuit
JP3222971B2 (en) Serial dot printer
KR950011810B1 (en) Preprocessing circuit of printing
JPS6049958A (en) Kanji printer
JP3341921B2 (en) Arbitrary scaling method for image data and printer device using the same
JP3987652B2 (en) Image processing device
JP2000168161A (en) Data-conversion processing apparatus
JP2974498B2 (en) Printing equipment
KR890001318B1 (en) Control device of reasor printer and crt
KR890003240Y1 (en) Rasor printer for screen magnification device
JP3442416B2 (en) Facsimile machine
JP2655621B2 (en) Management information output device
JPH0622122A (en) Picture processing unit
JP3313462B2 (en) Facsimile machine
JPH06105920B2 (en) Transmission data creation device
JPS61167268A (en) Driver ic for thermal head
JPS607265A (en) Image processor
JPH02185462A (en) Print thinning-out circuit of printer
JPH05265698A (en) Information processor
JPS59193663A (en) Buffer memory control system