JPH0234790B2 - - Google Patents

Info

Publication number
JPH0234790B2
JPH0234790B2 JP55118040A JP11804080A JPH0234790B2 JP H0234790 B2 JPH0234790 B2 JP H0234790B2 JP 55118040 A JP55118040 A JP 55118040A JP 11804080 A JP11804080 A JP 11804080A JP H0234790 B2 JPH0234790 B2 JP H0234790B2
Authority
JP
Japan
Prior art keywords
printing
dot
printed
print
output
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
JP55118040A
Other languages
Japanese (ja)
Other versions
JPS5741771A (en
Inventor
Hiroshige Nakano
Kensho Hosoya
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.)
Koki Holdings Co Ltd
Original Assignee
Hitachi Koki 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 Hitachi Koki Co Ltd filed Critical Hitachi Koki Co Ltd
Priority to JP11804080A priority Critical patent/JPS5741771A/en
Publication of JPS5741771A publication Critical patent/JPS5741771A/en
Publication of JPH0234790B2 publication Critical patent/JPH0234790B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明はドツトエレメントを有する印字ハンマ
を水平方向に複数個並べて設け、これら印字ハン
マを桁方向に往復させて印字するドツト印字装置
の制御装置に関するものである。 かかるドツト印字装置は、印字ハンマ群を印字
用紙を横切つて往復運動させ、この往復運動の過
程で印字ハンマを駆動して印字するものである。
すなわち、往復運動の片道で水平方向1ドツト行
の印字を行い、つぎに印字用紙を次の垂直ドツト
印字位置まで歩進させた後、往復運動の戻りの片
道で1ドツト行の印字を行い、この動作を所定回
繰り返して水平方向及び垂直方向に所定ドツト数
からなる文字をマトリクスで形成して印字するも
のである。 アルフアベツト、数字、記号、カタカナ等を印
字する場合、CPU等の上位装置から印字データ
コードが転送され、この印字データを印字データ
バツフア(以下PLBという)に一時記憶される。
1行分の印字データの転送が終了するとデータ転
送終了命令が転送され、印字装置は印字を開始す
る。 夫々の桁に指定された文字を印字するには、印
字装置内にあるキヤラクタジエネレータ(以下
CGという)から、水平方向と垂直方向の位置を
照合して必要なドツトパターン情報を読み出し、
その情報によつて前記印字ハンマを駆動すること
により行われる。 文字を構成するドツト数は種々あるが、水平方
向5ドツト、垂直方向7ドツトによるマトリクス
構成について説明する。この文字構成による印字
例を第1図に示し、文字1及び2の前記CG内の
パターン情報を夫々表1、表2に示す。この文字
構成の場合、ドツトマトリクスは水平5、垂直7
の35ドツトから成つている。
The present invention relates to a control device for a dot printing device in which a plurality of printing hammers having dot elements are arranged horizontally and these printing hammers are reciprocated in the digit direction to print. Such a dot printing device reciprocates a group of printing hammers across a printing paper, and in the process of this reciprocating movement, drives the printing hammers to print.
That is, one line of dots is printed in the horizontal direction in one direction of the reciprocating motion, and then the printing paper is advanced to the next vertical dot printing position, and then one line of dots is printed in one direction of the reciprocating motion. This operation is repeated a predetermined number of times to form and print characters consisting of a predetermined number of dots in a matrix in the horizontal and vertical directions. When printing alpha characters, numbers, symbols, katakana, etc., a print data code is transferred from a host device such as a CPU, and this print data is temporarily stored in a print data buffer (hereinafter referred to as PLB).
When the transfer of print data for one line is completed, a data transfer end command is transferred, and the printing device starts printing. To print the specified characters in each digit, use the character generator (hereinafter referred to as
CG), the required dot pattern information is read out by comparing the horizontal and vertical positions.
This is done by driving the printing hammer according to the information. There are various numbers of dots that make up a character, but a matrix configuration of 5 dots in the horizontal direction and 7 dots in the vertical direction will be explained. An example of printing with this character structure is shown in FIG. 1, and pattern information in the CG for characters 1 and 2 is shown in Tables 1 and 2, respectively. In this character structure, the dot matrix is 5 horizontally and 7 vertically.
It consists of 35 dots.

【表】【table】

【表】 上記アルフアベツト、数字、カタカナ等を印字
する場合、この35ドツト総てを印字することはな
く、平均的に約40%、最高でも約60%のドツトを
用いれば文字を形成できる。 従つて印字ハンマ及びその駆動回路等の性能は
35ドツトの約60%の連続動作に耐えるようにして
おけば十分である。 一方ドツト印字装置は、上記したドツトによる
文字の印字ばかりでなく、印字用紙上の任意の位
置にドツト印字を印字することができるため、図
形を描いたり、大形文字(前記35ドツトによる文
字よりも大きい文字)を印字することができる。 これら図形、大形文字を印字する場合、前記上
位装置から水平方向1ドツト行のドツト印字パタ
ーンが転送されるが、この方法を以下説明する。 先にアルフアベツト、数字、カタカナ等の文字
は水平方向5ドツトから成ると述べたが、各文字
間にスペースを保持するため、1ドツト分の間隔
を設けている。従つて1桁の水平方向ドツト数は
6である。 上位装置から転送されるコードは、7ビツトあ
るいは8ビツトが通常である。これらのビツトの
うち6ビツトを各桁の水平方向6ビツトに対応さ
せることで、次のようにして任意のドツト位置に
ドツトを印字することが可能となる。 第2図に示した図形の一部を描く場合について
説明する。 垂直位置1の1桁、2桁、3桁の丸で示した位
置にドツトを印字する。PLBは各桁8ビツトか
ら構成されるが、このうち6ビツトすなわちビツ
ト1からビツト6を用いる(アルフアベツト、数
字、記号、カタカナのコードは8ビツト総てを用
いる)。ビツト1は各桁の水平位置1に対応し、
ビツト2は水平位置2、以下同様にしてビツト6
は水平位置6に対応する。ビツト7とビツト8は
無視する。またPLBは垂直位置1〜4の印字を
開始する前に夫々の垂直位置における印字データ
が転送されるが、その例を第2図に対応させて表
3〜表6に示す。なお、ドツトを印字する位置を
論理値1、しない位置を論理値0とした(×は論
理値1、0のいずれでもよいことを示す。
[Table] When printing the above-mentioned alphanumeric characters, numbers, katakana, etc., it is not necessary to print all 35 dots; on average, about 40% of the dots, and at most about 60%, can be used to form characters. Therefore, the performance of the printing hammer and its drive circuit, etc.
It is sufficient to withstand approximately 60% of the continuous operation of 35 dots. On the other hand, the dot printing device not only prints characters using dots as described above, but also can print dots at any position on printing paper. (also large characters) can be printed. When printing these figures and large characters, a dot print pattern of one dot line in the horizontal direction is transferred from the host device, and this method will be explained below. It was mentioned earlier that characters such as alphabets, numbers, and katakana are composed of five dots in the horizontal direction, but in order to maintain space between each character, an interval of one dot is provided. Therefore, the number of horizontal dots in one digit is six. The code transferred from the host device is normally 7 or 8 bits. By making 6 bits of these bits correspond to the 6 horizontal bits of each digit, it becomes possible to print dots at arbitrary dot positions as follows. A case in which a part of the figure shown in FIG. 2 is drawn will be described. Print dots at the positions indicated by circles in the 1st, 2nd, and 3rd digits of vertical position 1. The PLB consists of 8 bits for each digit, of which 6 bits, bits 1 to 6 are used (all 8 bits are used for alphanumeric characters, symbols, and katakana codes). Bit 1 corresponds to horizontal position 1 of each digit,
Bit 2 is horizontal position 2, and so on, bit 6 is
corresponds to horizontal position 6. Bits 7 and 8 are ignored. Further, before the PLB starts printing at vertical positions 1 to 4, print data at each vertical position is transferred, and examples thereof are shown in Tables 3 to 6 in correspondence with FIG. Note that the position where dots are printed is set to a logical value of 1, and the position where no dots are printed is set to a logical value of 0 (x indicates that either a logical value of 1 or 0 may be used).

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】 このような水平方向1ドツト行のドツト印字パ
ターンを転送し、1ドツト行の転送終了命令によ
る印字開始の前に、この転送データが文字を示す
コードではなくドツト印字パターンであることを
示す命令を転送するか、あるいは別の信号により
現在転送中のコードがドツト印字パターンである
ことを示したり、スイツチ等により印字装置に認
知させる。印字装置はドツト印字パターンである
ことを認知すると、前記CGからドツトパターン
情報を読み出すことなく、PLBのドツト印字パ
ターンから、水平方向の位置を照合して必要なビ
ツト情報を読み出し、印字ハンマを駆動して図
形、大形文字等を印字する。 この場合、任意のドツト位置に印字できること
から、文字の場合のように35ドツト中の高々60%
のドツトしか印字しないということは言えず、さ
らに水平方向に各桁1ドツトづつ増加しているた
め、印字ハンマ及びその駆動回路等には厳しい性
能が要求される。 この最悪の場合に耐えるために、印字ハンマ及
びその駆動回路等を構成することは、印字装置の
価格上昇を避けられない。また印字ハンマのコイ
ルの発熱対策としての冷却装置も大形化し、印字
装置の重量増加、ブロウ等を用いた場合は消費電
力の増加となる等種々の不都合がある。 本発明の目的は、上記した従来技術の欠点をな
くし、実印字速度を低下させることなく、印字装
置を安価に製造でき、併せて重量及び消費電力を
低減できるようにすることである。 本発明は、上位装置から転送されてくるコード
を見張り、ドツト印字する情報を1ドツト行分加
算し、あらかじめ定めた数より大きい場合は、そ
の1ドツト行の印字を1往復(片道2回)で印字
終了するようにし、印字ハンマ及びその駆動回路
等の性能を必要以上に厳しく設定することがない
ようにしたことを特徴とするものである。 以下実施例図面を参照して本発明を説明する。 本発明制御装置を説明する前に、アルフアベツ
ト、数字、記号、カタカナ等の文字を印字する場
合を説明する。 第3図において印字装置が上位装置1からの印
字データの受信が可能になると、データ転送開始
信号iが論理値1になり、フリツプフロツプ9を
リセツトする。データ転送開始信号iは、上位装
置1にも送られ、上位装置1から印字データaの
転送が行われる。 印字データaは、8ビツトから成つており、文
字に対応したコードである。この印字データa
は、上位装置1からの図示しない同期信号により
PLB2に書き込まれる。 このようにして上位装置1が1行分の印字デー
タaを転送終了すると、上位装置1は1行データ
転送終了信号gを論理値1にして、データ転送終
了を印字装置に知らせる。印字装置は、本信号を
受信すると、データ受信サイクルを終了し、印字
サイクルへ移行する。このときに転送した印字デ
ータaは、文字を指定するコードであるので、上
位装置1からのプロツトモード信号hは論理的0
である。従つてフリツプフロツプ9はリセツトさ
れたままであり、フリツプフロツプ9の0出力端
は論理値1であるから、ハンマ駆動可信号lは論
理値1を1行の印字中維持する。 プロツトモード信号hが論理値0であるので、
アンドゲート22はそのゲードを閉じたままであ
る。インバータ20の出力が接続されているアン
ドゲート21はデータセレクト18の出力Oが論
理値1のときそのゲートを開いて出力を論理値1
とし、オアゲード23を経由して印字情報信号p
となり、アンドゲート15に入り、ハンマ駆動信
号qは論理値1になり、印字ハンマを駆動して、
用紙上にドツト印字される。 つぎに各印字を構成するドツトを所定印字位置
に印字する方法を説明する。 ある桁に印字する印字データaは、PLB2に
記憶されており、PLBアドレスカウンタ5の出
力であるPLBアドレスCでその桁を指定すると
PLBデータdが出力される。印字データaと
PLBデータdは同じものである。PLBデータd
はCG17に入力され、PLBデータdに対応する
文字のドツトパターンが記憶されているブロツク
を指定する。このブロツクは、水平方向8、ビツ
ト垂直方向8ビツトから成つている。 水平位置制御回路7からの3ビツトから成る水
平位置情報eにより、ある文字の水平方向のドツ
トパターンnが選択される。水平位置制御回路7
の水平位置情報eは印字ハンマ群の位置に応じた
ものであり、例えば、印字ハンマ群を駆動する電
動機に連結されたエンコーダからの信号が入力さ
れている。このドツトパターンは垂直方向8ビツ
トから成つている。 このようにして出力されたある水平位置におけ
る垂直方向8ビツトのドツトパターンから、必要
な垂直位置のドツト情報を選択するのはつぎのよ
うにして実現される。 印字サイクルに入ると垂直位置制御回路19は
垂直位置1にセツトされる。その後、水平方向1
ドツト行の印字が終了するたびに、次のドツト行
まで歩進される。このとき垂直位置制御回路19
は1づつ増加され、垂直位置2から順に指定して
ゆくことになる。この垂直位置制御回路19から
の垂直位置情報rにより、データセレクタ18に
入力される垂直位置1から8までのドツトパター
ンのうち必要なドツト情報を選択することができ
る。 具体的に、第1の文字2を印字する場合につい
て説明する。 印字サイクルに入ると垂直位置制御回路19は
初期設定され、垂直位置情報rは垂直位置1を指
定する。 PLB2からのPLBデータdは、CG17の文字
2のドツトパターンが記憶されているブロツクを
指定する。CG17からは水平位置制御回路7の
出力である水平位置情報eにより、文字2のドツ
トパターンのうち水平位置1の8ビツトのドツト
パターンnが出力される。データセレクタ18は
垂直位置情報rにより垂直位置1のビツトを出力
する。このときの出力は論理的0であるので印字
情報Oは論理値0であり、ハンマ駆動信号も論理
値0である。従つてこの位置では、印字ハンマは
付勢されず、ドツトは印字されない。 次に印字ハンマの位置に応じ水平位置制御回路
7は、水平位置情報eを2、3、4、5、6と
し、夫々の水平位置にある文字2のドツトパター
ンnをCG17から出力する。それらのドツトパ
ターンnから垂直位置1にあるビツトをデータセ
レクタ18で選択する。データセレクタ18の出
力である印字情報Oが論理値1であるとき、ハン
マ駆動信号qが論理値1になり、印字ハンマは付
勢され、ドツトを印字することになる。 この場合、水平位置2、3、4のビツトが論理
値1であるので、第1図の印字例の文字2の垂直
位置1の3つのドツトが印字されることになる。 垂直位置1の水平ドツト行が印字終了すると、
印字用紙は垂直位置2の水平ドツト行まで歩進さ
れる。このとき垂直位置制御回路19は1増加さ
れ、垂直位置情報rは垂直位置2を指定する。こ
の水平ドツト行は、印字ハンマ群の往復運動の戻
りの片道で印字される。従つて水平位置制御回路
7の水平位置情報eは、印字ハンマ群の位置に応
じて水平位置6、5、4、3、2、1の順に指定
することになる。このようにして選択されたドツ
トパターンnから、このときは垂直位置2のビツ
トをデータセレクタ18により選択する。この出
力が論理値1のとき、ハンマ駆動信号qも論理値
1になり印字がされることは先に述べたのと同じ
である。この時は、水平位置5と1からのビツト
が論理値1であるので、第1図の印字例の文字2
の垂直位置2の2つのドツトが印字されることに
なる。 以下同じようにして、垂直位置3から7までを
印字し、1行の印字が終了する。 1行の印字終了後、次行の垂直位置1となる位
置まで印字用紙が送られる。 このようにして、文字、アルフアベツト、数
字、記号、カタカナ等の文字は印字することがで
きる。 つぎに図形や大形文字を印字する際に利用され
る本発明制御装置を第3図、第4図を参照して説
明する。 印字装置が上位装置1からの印字データの受信
が可能になると、データ転送開始信号iが論理値
1になり、フリツプフロツプ9をリセツトする。
データ転送開始信号iは、上位装置1にも送ら
れ、上位装置1から印字データaの転送が行われ
るのは、文字の印字と同じである。 印字データaは、表3〜表6に示した如く、8
ビツトから成る印字ドツトパターンである。印字
データaは、前記同期信号によりPLB2に書き
込まれる。また加算器3は、印字データaの1ド
ツト行分転送前に零にクリアされており、その後
転送されてくる印字データaを順に加算して記憶
する。加算するのは印字データaの中の、ビツト
1からビツト6までの6ビツトである。第4図の
印字データaは論理値が1の数を示し、加算結果
はbとして示している。 このようにして上位装置1が1ドツト行分の印
字データaを転送終了すると、上位装置1は1ド
ツト行データ転送終了信号gを論理値1にして、
データ転送終了を印字装置に知らせる。印字装置
は、本信号を受信すると、データ受信サイクルを
終了し印字サイクルへ移行する。本信号は、印字
装置内のナンドゲート11にも入力されている。 ナンドゲート11には、1ドツト行分の印字デ
ータaの加算結果bが、あらかじめ定めた値Nよ
り大きいか否かを比較器4で比較した結果も入力
される。加算結果bがNより大きいとは、オーバ
ーNfが論理値1になり、小さいときは論理値0
である。さらにプロツトモードであることを示す
上位装置1からのプロツトモード信号hも論理値
1で入力される。 プロツトモード信号hが論理値1で、1ドツト
行データ転送終了信号gが論理値になつたとき、
オーバーNfが論理値1であるとフリツプフロツ
プ8と9はセツトされ、フリツプフロツプ8と9
の1出力端が論理値1になる。フリツプフロツプ
9の1出力端が論理値1であることは、受信した
1ドツト行の印字データaの合計のドツト印字数
がNより大きいことを意味し、往復で印刷するよ
う指示する。 フリツプフロツプ8の1出力端が論理値1であ
るとき、水平方向印字位置のうち奇数位置1、
3、5の印字を可能にし、フリツプフロツプ8の
0出力端が論理値1であるとき、水平方向印字位
置のうち偶数位置2、4、6の印字を可能にす
る。 一方、水平位置制御回路7は、印字ハンマ群の
位置に対応し、印字される水平位置を指示し、3
ビツトから成る水平位置情報eを出力する。この
水平位置情報eの最下位ビツト2゜が論理値0のと
き奇数の水平位置を示し、論理値1のとき偶数の
水平位置を示す。 まず奇数位置の印字から第3図、第5図を参照
して説明する。尚、第5図中の符号a〜qは第4
図の符号a〜qに対応している。 先に述べたように、フリツプフロツプ8と9の
1出力端が共に論理値1であるので、アンドゲー
ト13の出力は、インバータ10の出力が論理値
1すなわち奇数の水平位置であれば論理値1にな
る。 水平位置情報eの2゜ビツトが論理値0である
と、インバータ10の出力は論理値1になり、ア
ンドゲート13の出力は論理値1となり、オアゲ
ート14の出力信号lはその期間だけ論理値1に
なる。この信号lはアンドゲート15に入力され
る。 アンドゲート15のもう一方の入力信号pは、
プロツトモード信号hが論理値1のときは、アン
ゲート22がそのゲートを開くのでPLB2に記
憶された印字データaの中から、水平位置に対応
したビツト情報である。すなわち、PLBアドレ
スCの指示に従つてPLB2から出力された6ビ
ツトのPLBデータdは、データセレクタ6に入
力され、6ビツトの中から、水平位置制御回路7
の出力である水平位置情報eにより現在の水平位
置のビツト情報が選択され、信号mとして出力さ
れる。この信号が論理値1であるとき、アンドゲ
ート22の出力が論理値1になり、オアゲート2
3を経由しハンマ駆動信号qを論理値1にし、印
字ハンマを駆動して、用紙上にドツトが印字され
る。 さらに動作を詳細に説明すれば、第5図に示さ
れるように水平位置信号eが印字ハンマ群の位置
に応じてある値、例えば0である場合にPLBア
ドレスcの0〜131まで132個のアドレスに対応し
て0〜131まで132個のPLBデータdを順次出力
する。この順次出力される132個のPLBデータd
のうちから水平位置0の位置にあるデータのみが
データセレクタ6から印字情報信号nとして出力
される。水平位置情報eが0(奇数)である場合
にはハンマ駆動可信号は論理値1であるのでハン
マ駆動信号qは印字情報信号mに対応する信号と
なる。ハンマ駆動信号qは1つの水平位置の132
個のPLBデータdに対応するものであり、例え
ばシストレジスタ(図示せず)に入力されて132
桁分のデータが揃つたところで印字ハンマに信号
を伝達して印字ハンマを駆動し、用紙上に132桁
のそれぞれについて第1番目のドツト印字位置に
所定のドツトを印字する。しかし、水平位置情報
eが1(偶数)であるとハンマ駆動可信号lは論
理値0となり、印字情報信号mがどのような値で
あつてもハンマ駆動信号qは論理値0となり印字
ハンマは駆動されず、ドツトは印字されない。同
様に水平位置情報eが2(奇数)、4(奇数)の場
合にはハンマ駆動可信号lが論理値1となつて印
字情報信号mをハンマ駆動信号qとして所定のド
ツトがそれぞれ第3番目または第5番目のドツト
印字位置に所定のドツトを印字する。水平位置信
号eが3(偶数)、5(偶数)の場合にはハンマ駆
動信号qは論理値0となつてドツトは印字されな
い。 このようにして、印字ハンマ群の片道の運動途
中で、水平位置のうち奇数の位置だけが印字され
る。 1ドツト行の奇数位置の印字が終了すると、印
字ハンマ群はそれまでと逆方向に運動を開始す
る。このとき、奇数位置印字終了信号jが論理値
0になりフリツプフロツプ8をリセツトする。こ
の運動方向が反転する期間に、通常であれば、次
のドツト印字列まで印字用紙を歩進させるが、フ
リツプフロツプ9がセツトされたときは歩進は行
わない。 さて印字ハンマ群が逆方向の運動を開始した場
合の動作を第6図と共に説明する。第6図中の符
号a〜qは第4図の符号a〜qに対応している。 先に述べたようにフリツプフロツプ8の1出力
端は論理値0、0出力端が論理値1になつてい
る。従つてアンドゲート12の出力は、水平位置
情報eの最下位ビツト2゜が論理値1すなわち偶数
の水平位置のとき、論理値1になる。このためオ
アゲート14の出力信号lは、その期間だけ論理
値1になる。この信号lはアンドゲート15に入
力される。アンドゲート15のもう一方の入力信
号qは、PLB2に記憶された印字データaの中
から、水平位置位置信号情報eにより現在の水平
位置のビツト情報mである。この信号が論理値1
であると、アンドゲート15の出力、ハンマ駆動
信号qは論理値1になり、印字ハンマを駆動し
て、用紙上にドツトが印字される。 このようにして、印字ハンマ群の片道の運動途
中で、水平位置のうち偶数の位置だけが印字され
る。 これまで述べてきたごとく、1ドツト行に印字
されるドツト数が、あらかじめ定めた値Nより大
きいときは、印字ハンマ群の往復運動途中で1ド
ツト行が印字されるので、最悪印字時でも通常の
文字を印字するのに十分な印字ハンマ及びその駆
動回路であればよい。従つて印字ハンマのコイル
の発熱対策のための冷却装置も小形でよく、装置
の小形化、ひいては装置を安価に製造することが
できる。 1ドツト行に印字されるドツト数が、Nより小
さいときは、印字ハンマ群の片道で、1ドツト行
すなわち印字ハンマ群の1往復で2ドツト行が印
字されるので、印字速度を低下させることはな
い。 本発明によれば、1ドツト行に印字されるドツ
ト数があらかじめ定めた数よりも多い場合には、
印字ハンマの1往復で1ドツト行を印字するよう
にしたものであるので、片道で印字するドツトの
数を少なくすることができ、最も条件の厳しい状
態でも、通常の印字ハンマ及びその駆動回路が使
用できる。このため、最悪印字に対処するために
印字ハンマ及びその駆動回路を大形のものとした
り、印字ハンマのコイル冷却装置を大型化する必
要がなくなるので、印字装置の小形、軽量化及び
安価に製造することができる。
[Table] When transferring such a dot print pattern of 1 dot line in the horizontal direction, and before starting printing with the 1 dot line transfer end command, check that the transferred data is a dot print pattern rather than a code indicating a character. A command indicating that the code is currently being transferred is transferred, or another signal is used to indicate that the code currently being transferred is a dot printing pattern, or a switch or the like is used to make the printing device recognize it. When the printing device recognizes that the printing pattern is a dot print pattern, without reading the dot pattern information from the CG, it collates the horizontal position from the dot print pattern on the PLB, reads the necessary bit information, and drives the printing hammer. to print figures, large characters, etc. In this case, since it is possible to print at any dot position, at most 60% of the 35 dots can be printed, as in the case of letters.
It cannot be said that only one dot is printed, and furthermore, the number of dots increases by one dot for each digit in the horizontal direction, so strict performance is required of the printing hammer and its drive circuit. Configuring the printing hammer, its driving circuit, etc. to withstand this worst case inevitably increases the price of the printing device. In addition, the cooling device as a countermeasure against the heat generation of the coil of the printing hammer is also enlarged, resulting in various disadvantages such as an increase in the weight of the printing device and an increase in power consumption when a blower or the like is used. An object of the present invention is to eliminate the above-described drawbacks of the prior art, to enable a printing device to be manufactured at low cost without reducing the actual printing speed, and to reduce weight and power consumption. The present invention monitors the code transferred from the host device, adds the information to be printed by one dot line, and if the number is larger than a predetermined number, prints that one dot line one round trip (twice each way). The present invention is characterized in that the printing is completed at the point where the printing is completed, so that the performance of the printing hammer and its drive circuit, etc., is not set more strictly than necessary. The present invention will be explained below with reference to the drawings. Before explaining the control device of the present invention, a case will be explained in which characters such as alphabets, numbers, symbols, and katakana are printed. In FIG. 3, when the printing device becomes capable of receiving print data from the host device 1, the data transfer start signal i becomes a logical value 1, and the flip-flop 9 is reset. The data transfer start signal i is also sent to the host device 1, and the print data a is transferred from the host device 1. Print data a consists of 8 bits and is a code corresponding to a character. This print data a
is determined by a synchronization signal (not shown) from the host device 1.
Written to PLB2. When the host device 1 finishes transferring one line of print data a in this way, the host device 1 sets the one-line data transfer end signal g to a logical value of 1 to notify the printer of the end of data transfer. When the printing device receives this signal, it ends the data reception cycle and shifts to the printing cycle. Since the print data a transferred at this time is a code specifying a character, the plot mode signal h from the host device 1 is a logical 0.
It is. Therefore, flip-flop 9 remains reset, and since the 0 output of flip-flop 9 is at logic 1, hammer drive enable signal l maintains logic 1 during printing of one line. Since the plot mode signal h has a logical value of 0,
AND gate 22 keeps its gate closed. The AND gate 21 to which the output of the inverter 20 is connected opens the gate when the output O of the data select 18 has a logic value of 1, and outputs the logic value of 1.
Then, the print information signal p is sent via the ORGADE 23.
Then, it enters the AND gate 15, the hammer drive signal q becomes logical 1, and the printing hammer is driven.
Dots are printed on the paper. Next, a method for printing dots forming each print at predetermined printing positions will be explained. Print data a to be printed on a certain digit is stored in PLB 2, and when that digit is specified with PLB address C, which is the output of PLB address counter 5,
PLB data d is output. Print data a and
PLB data d is the same. PLB data d
is input to the CG 17 and specifies the block in which the character dot pattern corresponding to the PLB data d is stored. This block consists of 8 bits horizontally and 8 bits vertically. A dot pattern n in the horizontal direction of a certain character is selected based on horizontal position information e consisting of 3 bits from the horizontal position control circuit 7. Horizontal position control circuit 7
The horizontal position information e corresponds to the position of the printing hammer group, and for example, a signal from an encoder connected to an electric motor that drives the printing hammer group is input. This dot pattern consists of 8 bits in the vertical direction. Selecting dot information at a necessary vertical position from the vertical 8-bit dot pattern at a certain horizontal position output in this manner is realized as follows. Upon entering the print cycle, the vertical position control circuit 19 is set to vertical position 1. Then horizontal direction 1
Each time printing of a dot line is completed, it advances to the next dot line. At this time, the vertical position control circuit 19
is incremented by 1, and specified sequentially starting from vertical position 2. Using the vertical position information r from the vertical position control circuit 19, necessary dot information can be selected from among the dot patterns at vertical positions 1 to 8 inputted to the data selector 18. Specifically, the case where the first character 2 is printed will be explained. When a printing cycle begins, the vertical position control circuit 19 is initialized, and the vertical position information r specifies vertical position 1. PLB data d from PLB2 specifies the block in which the dot pattern of character 2 of CG17 is stored. The CG 17 outputs an 8-bit dot pattern n at horizontal position 1 of the dot pattern of character 2 based on the horizontal position information e output from the horizontal position control circuit 7. The data selector 18 outputs the bit at vertical position 1 based on the vertical position information r. Since the output at this time is a logical 0, the print information O has a logical value of 0, and the hammer drive signal also has a logical value of 0. Therefore, in this position, the printing hammer is not energized and no dots are printed. Next, depending on the position of the printing hammer, the horizontal position control circuit 7 sets the horizontal position information e to 2, 3, 4, 5, or 6, and outputs the dot pattern n of the character 2 at each horizontal position from the CG 17. The data selector 18 selects the bit at vertical position 1 from these dot patterns n. When the print information O, which is the output of the data selector 18, has a logical value of 1, the hammer drive signal q has a logical value of 1, and the printing hammer is energized to print a dot. In this case, since the bits at horizontal positions 2, 3, and 4 have a logical value of 1, three dots at vertical position 1 of character 2 in the printing example of FIG. 1 will be printed. When the horizontal dot line at vertical position 1 is finished printing,
The printing paper is advanced to the horizontal dot row at vertical position 2. At this time, the vertical position control circuit 19 is incremented by 1, and the vertical position information r specifies vertical position 2. This horizontal dot row is printed in one direction during the return of the reciprocating motion of the printing hammer group. Therefore, the horizontal position information e of the horizontal position control circuit 7 is designated in the order of horizontal positions 6, 5, 4, 3, 2, and 1 according to the positions of the printing hammer group. From the dot pattern n selected in this way, the bit at vertical position 2 is selected by the data selector 18. When this output has a logical value of 1, the hammer drive signal q also has a logical value of 1, and printing is performed, as described above. At this time, the bits from horizontal positions 5 and 1 have a logical value of 1, so character 2 in the printing example in Figure 1
Two dots at vertical position 2 will be printed. Thereafter, in the same manner, vertical positions 3 to 7 are printed, and one line of printing is completed. After printing one line, the printing paper is fed to the vertical position 1 of the next line. In this way, characters such as letters, alphabets, numbers, symbols, and katakana can be printed. Next, the control device of the present invention used when printing figures and large characters will be explained with reference to FIGS. 3 and 4. When the printing device becomes able to receive print data from the host device 1, the data transfer start signal i becomes logical 1, and the flip-flop 9 is reset.
The data transfer start signal i is also sent to the host device 1, and the transfer of print data a from the host device 1 is the same as when printing characters. The print data a is 8 as shown in Tables 3 to 6.
A printed dot pattern consisting of bits. Print data a is written to PLB2 by the synchronization signal. Further, the adder 3 is cleared to zero before transferring one dot line of print data a, and sequentially adds and stores the print data a transferred thereafter. What is added is 6 bits from bit 1 to bit 6 in print data a. Print data a in FIG. 4 indicates a number whose logical value is 1, and the addition result is indicated as b. When the host device 1 finishes transferring the print data a for one dot line in this way, the host device 1 sets the one dot line data transfer end signal g to a logical value of 1, and
Notify the printer of the end of data transfer. When the printing device receives this signal, it ends the data reception cycle and shifts to the printing cycle. This signal is also input to the NAND gate 11 in the printing device. Also input to the NAND gate 11 is the result of comparison by the comparator 4 to determine whether the addition result b of the print data a for one dot line is greater than a predetermined value N. When the addition result b is larger than N, the over Nf becomes a logical value 1, and when it is smaller, it becomes a logical value 0.
It is. Furthermore, a plot mode signal h from the host device 1 indicating that the program is in the plot mode is also input with a logic value of 1. When the plot mode signal h has a logical value of 1 and the 1-dot row data transfer end signal g has a logical value,
If over Nf is logic 1, flip-flops 8 and 9 are set;
1 output terminal becomes logical value 1. When one output terminal of the flip-flop 9 has a logic value of 1, it means that the total number of printed dots of the received one-dot line of print data a is greater than N, and instructs to print in a round trip. When one output terminal of the flip-flop 8 has a logical value of 1, the odd numbered position 1 among the horizontal printing positions,
When the 0 output terminal of the flip-flop 8 has a logical value of 1, it enables printing at even positions 2, 4, and 6 among the horizontal printing positions. On the other hand, the horizontal position control circuit 7 corresponds to the position of the printing hammer group and instructs the horizontal position at which printing is performed.
Outputs horizontal position information e consisting of bits. When the least significant bit 2° of this horizontal position information e has a logical value of 0, it indicates an odd horizontal position, and when it has a logical value of 1, it indicates an even horizontal position. First, printing at odd-numbered positions will be explained with reference to FIGS. 3 and 5. Note that the symbols a to q in FIG.
They correspond to the symbols a to q in the figure. As mentioned earlier, since the 1 output terminals of flip-flops 8 and 9 both have a logic value of 1, the output of the AND gate 13 will have a logic value of 1 if the output of the inverter 10 is a logic value of 1, that is, at an odd horizontal position. become. When the 2° bit of the horizontal position information e has a logical value of 0, the output of the inverter 10 has a logical value of 1, the output of the AND gate 13 has a logical value of 1, and the output signal l of the OR gate 14 has a logical value of only that period. Becomes 1. This signal l is input to AND gate 15. The other input signal p of the AND gate 15 is
When the plot mode signal h has a logical value of 1, the ungate 22 opens its gate, so that the bit information corresponding to the horizontal position is obtained from the print data a stored in the PLB 2. That is, the 6-bit PLB data d output from the PLB 2 according to the instruction of the PLB address C is input to the data selector 6, and from among the 6 bits, the horizontal position control circuit 7
The bit information of the current horizontal position is selected based on the horizontal position information e which is the output of the signal m, and is output as a signal m. When this signal has a logic value of 1, the output of the AND gate 22 becomes a logic value of 1, and the OR gate 2
3, the hammer drive signal q is set to a logical value of 1, the printing hammer is driven, and dots are printed on the paper. To explain the operation in more detail, as shown in FIG. 5, when the horizontal position signal e is a certain value, for example 0, depending on the position of the printing hammer group, 132 signals from 0 to 131 of the PLB address c are 132 pieces of PLB data d from 0 to 131 are sequentially output in accordance with the address. These 132 PLB data d that are output sequentially
Among them, only the data at the horizontal position 0 is outputted from the data selector 6 as the print information signal n. When the horizontal position information e is 0 (odd number), the hammer drive enable signal has a logical value of 1, so the hammer drive signal q becomes a signal corresponding to the print information signal m. Hammer drive signal q is 132 of one horizontal position
For example, it corresponds to 132 PLB data d input to the system register (not shown).
When the data for the digits is complete, a signal is transmitted to the printing hammer to drive the printing hammer, and a predetermined dot is printed on the paper at the first dot printing position for each of the 132 digits. However, if the horizontal position information e is 1 (even number), the hammer drive enable signal l will have a logical value of 0, and no matter what value the print information signal m has, the hammer drive signal q will have a logical value of 0, and the printing hammer will It is not driven and no dots are printed. Similarly, when the horizontal position information e is 2 (odd number) or 4 (odd number), the hammer drive enable signal l has a logical value of 1, and the print information signal m is set as the hammer drive signal q, and the predetermined dots are placed at the third position. Alternatively, a predetermined dot is printed at the fifth dot printing position. When the horizontal position signal e is 3 (even number) or 5 (even number), the hammer drive signal q has a logical value of 0 and no dots are printed. In this way, during one-way movement of the printing hammer group, only odd-numbered horizontal positions are printed. When printing of one dot row at an odd numbered position is completed, the printing hammer group starts moving in the opposite direction. At this time, the odd-numbered position printing end signal j becomes a logical value of 0, and the flip-flop 8 is reset. During this period in which the direction of movement is reversed, normally the printing paper is advanced to the next dot print row, but when the flip-flop 9 is set, no advancement is performed. Now, the operation when the printing hammer group starts moving in the opposite direction will be explained with reference to FIG. The symbols a to q in FIG. 6 correspond to the symbols a to q in FIG. As mentioned above, the 1 output terminal of the flip-flop 8 has a logic value of 0, and the 0 output terminal has a logic value of 1. Therefore, the output of the AND gate 12 becomes a logical value 1 when the least significant bit 2° of the horizontal position information e is a logical value 1, that is, an even horizontal position. Therefore, the output signal l of the OR gate 14 has a logic value of 1 only during that period. This signal l is input to AND gate 15. The other input signal q of the AND gate 15 is bit information m of the current horizontal position from the print data a stored in the PLB 2 based on the horizontal position signal information e. This signal has a logic value of 1
Then, the output of the AND gate 15, the hammer drive signal q, becomes a logical value of 1, and the printing hammer is driven to print a dot on the paper. In this way, only even-numbered horizontal positions are printed during one-way movement of the printing hammer group. As mentioned above, when the number of dots printed in one dot line is larger than the predetermined value N, the one dot line is printed during the reciprocating movement of the printing hammer group, so even in the worst case, it is normal. The printing hammer and its driving circuit may be sufficient to print the characters. Therefore, the cooling device for preventing the heat generation of the coil of the printing hammer can also be made small, and the device can be downsized and manufactured at low cost. When the number of dots printed in one dot line is smaller than N, one dot line is printed in one way of the printing hammer group, that is, two dot lines are printed in one round trip of the printing hammer group, so the printing speed must be reduced. There isn't. According to the present invention, if the number of dots printed in one dot line is greater than a predetermined number,
Since one line of dots is printed in one round trip of the printing hammer, the number of dots printed one way can be reduced, and even under the most severe conditions, the normal printing hammer and its drive circuit can be used. Can be used. For this reason, there is no need to make the printing hammer and its drive circuit large in order to cope with worst-case printing, or to make the coil cooling device for the printing hammer large, so the printing device can be made smaller, lighter, and cheaper. can do.

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

第1図及び第2図は通常の文字及びプロツトモ
ードによる図形の印字例を示す正面図、第3図は
本発明制御装置の一実施例を示すブロツク図、第
4図〜第6図は第3図の動作説明用タイミングチ
ヤートであつて、第4図はデータ転送期間、第5
図は奇数位置印字期間、第6図は偶数位置印字期
間を示す。 図において、1は上位装置、2はPLB、3は
加算器、4は比較器、5はPLBアドレスカウン
タ、6,18はデータセレクタ、7は水平位置制
御回路、8,9はフリツプフロツプ、10,1
6,20はインバータ、11はナンドゲート、1
2,13,15,21,22はアンドゲート、1
4,23はオアゲート、17はCG、19は垂直
位置制御回路である。
1 and 2 are front views showing an example of printing ordinary characters and figures in the plot mode, FIG. 3 is a block diagram showing an embodiment of the control device of the present invention, and FIGS. 4 to 6 are FIG. 4 is a timing chart for explaining the operation of FIG. 3; FIG. 4 is a data transfer period;
The figure shows an odd position printing period, and FIG. 6 shows an even position printing period. In the figure, 1 is a host device, 2 is a PLB, 3 is an adder, 4 is a comparator, 5 is a PLB address counter, 6 and 18 are data selectors, 7 is a horizontal position control circuit, 8 and 9 are flip-flops, 10, 1
6 and 20 are inverters, 11 is a NAND gate, 1
2, 13, 15, 21, 22 are AND gates, 1
4 and 23 are OR gates, 17 is a CG, and 19 is a vertical position control circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 ドツト印字エレメントを有する印字ハンマを
印字行に沿つて複数個並べて設け、これら印字ハ
ンマ群を印字用紙を横切る方向に往復移動させ、
この往復移動の過程で印字ハンマ群を駆動して印
字するようにしたドツト印字装置において、該装
置に印字すべきデータを伝達する上位装置から転
送される1ドツト行の印字ドツトデータを記憶す
る印字データバツフアと、前記印字ハンマ群の行
方向移動に伴つて出力する値を変え、印字ハンマ
群の移動位置に対応する水平位置の出力を発生す
る水平位置指示手段と、前記印字データバツフア
からの印字ドツトデータのうち前記水平位置指示
手段により指定された水平位置の印字情報を出力
する選択手段と、印字開始前に1ドツト印字行に
おいて印字すべき印字情報数をカウントし、所定
値をカウントした時信号を発生するカウント手段
と、該カウント手段が発生した出力信号を受け、
前記選択手段から出力された印字情報を、印字ハ
ンマ群の往路移動時に印字するものと復路移動時
に印字するものとに選択する制御手段とを設け、
前記カウント手段が出力を発生しない場合には印
字ハンマ群の1往復で2ドツト行を印字し、前記
カウント手段が出力を発生した場合には印字ハン
マ群の1往復で1ドツト行を前記制御手段の出力
に応じて印字するようにしたことを特徴とするド
ツト印字装置の制御装置。
1. A plurality of printing hammers having dot printing elements are arranged side by side along the printing line, and these printing hammer groups are reciprocated in a direction across the printing paper,
In a dot printing device that drives a group of printing hammers to print during this reciprocating process, a printing device stores one dot line of printing dot data transferred from a host device that transmits data to be printed to the device. a data buffer; horizontal position indicating means for changing output values as the printing hammer group moves in the row direction and generating an output at a horizontal position corresponding to the moving position of the printing hammer group; and printing dot data from the printing data buffer. Of these, a selection means outputs print information at the horizontal position designated by the horizontal position instruction means, and a selection means that counts the number of print information to be printed in one dot print line before starting printing, and outputs a signal when a predetermined value is counted. a counting means for generating and receiving an output signal generated by the counting means;
control means for selecting printing information outputted from the selection means into information to be printed during the forward movement of the printing hammer group and information to be printed during the return movement;
When the counting means does not generate an output, two dot lines are printed in one reciprocation of the printing hammer group, and when the counting means generates an output, one dot line is printed in one reciprocation of the printing hammer group. 1. A control device for a dot printing device, characterized in that printing is performed according to the output of a dot printing device.
JP11804080A 1980-08-26 1980-08-26 Controller of dot printer Granted JPS5741771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11804080A JPS5741771A (en) 1980-08-26 1980-08-26 Controller of dot printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11804080A JPS5741771A (en) 1980-08-26 1980-08-26 Controller of dot printer

Publications (2)

Publication Number Publication Date
JPS5741771A JPS5741771A (en) 1982-03-09
JPH0234790B2 true JPH0234790B2 (en) 1990-08-06

Family

ID=14726550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11804080A Granted JPS5741771A (en) 1980-08-26 1980-08-26 Controller of dot printer

Country Status (1)

Country Link
JP (1) JPS5741771A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5764569A (en) * 1980-10-08 1982-04-19 Hitachi Koki Co Ltd Controller for dot printer
JPS5772870A (en) * 1980-10-24 1982-05-07 Hitachi Koki Co Ltd Control apparaus in dot printing apparatus
JPS57181878A (en) * 1981-04-30 1982-11-09 Hitachi Koki Co Ltd Control device for dot printing device
JPS59176050A (en) * 1983-03-25 1984-10-05 Seikosha Co Ltd Printing system
JPS6025765A (en) * 1983-07-22 1985-02-08 Sanyo Electric Co Ltd System for driving printing head for printer
JPS6087063A (en) * 1983-10-20 1985-05-16 Sanyo Electric Co Ltd Control device of dot printer
JPS60242070A (en) * 1984-05-17 1985-12-02 Oki Electric Ind Co Ltd Printing system of multiple head type dot printer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5256544A (en) * 1975-11-04 1977-05-10 Hitachi Ltd Heat-sensitive recording device
JPS5453022A (en) * 1977-10-04 1979-04-26 Oki Electric Ind Co Ltd Dotted line printer
JPS5588177A (en) * 1978-12-26 1980-07-03 Fujitsu Ltd Dot printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5256544A (en) * 1975-11-04 1977-05-10 Hitachi Ltd Heat-sensitive recording device
JPS5453022A (en) * 1977-10-04 1979-04-26 Oki Electric Ind Co Ltd Dotted line printer
JPS5588177A (en) * 1978-12-26 1980-07-03 Fujitsu Ltd Dot printer

Also Published As

Publication number Publication date
JPS5741771A (en) 1982-03-09

Similar Documents

Publication Publication Date Title
US3703949A (en) High-speed printer
US4159882A (en) High quality printer
EP0050338B1 (en) Picture information processing and storing device
US3833891A (en) High speed matrix printer
US5149212A (en) Dot printer with changeable quality dot pattern
JPH0234790B2 (en)
US6009245A (en) Serial printer, and image buffer access method for serial printer
US4480541A (en) Control system for dot matrix line printer
JPS6353949B2 (en)
US3212435A (en) High speed printer with reciprocable type bar
US3921517A (en) Random firing of multiple width print hammers
JPS6353950B2 (en)
US3845710A (en) Print control logic circuitry for on-the-fly printers
JPS6347482Y2 (en)
JPS5916765A (en) Controlling system of printing
US5171093A (en) Control system for a dot matrix printer
US4780006A (en) Dot matrix printer
US3196404A (en) Printer buffer load and read control means
US3869571A (en) Device for the use of a facsimile apparatus as a printing mechanism
US3582905A (en) Character generation by improved scan, storage, and decoding apparatus
US4384520A (en) Device for controlling solenoids of high speed printer
JPS61209167A (en) Printing control circuit in wire dotline printer
US20020140979A1 (en) Record control apparatus and recording apparatus
JP3313462B2 (en) Facsimile machine
JPH08142409A (en) Printer