JPS6019024B2 - printer interface device - Google Patents

printer interface device

Info

Publication number
JPS6019024B2
JPS6019024B2 JP54152840A JP15284079A JPS6019024B2 JP S6019024 B2 JPS6019024 B2 JP S6019024B2 JP 54152840 A JP54152840 A JP 54152840A JP 15284079 A JP15284079 A JP 15284079A JP S6019024 B2 JPS6019024 B2 JP S6019024B2
Authority
JP
Japan
Prior art keywords
data
signal
circuit
input
flip
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
Application number
JP54152840A
Other languages
Japanese (ja)
Other versions
JPS5676841A (en
Inventor
督 阿部
重生 菊池
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP54152840A priority Critical patent/JPS6019024B2/en
Publication of JPS5676841A publication Critical patent/JPS5676841A/en
Publication of JPS6019024B2 publication Critical patent/JPS6019024B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 この発明は例えばシリアルプリンターに使用されるプリ
ンタのインターフェイス装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a printer interface device used, for example, in a serial printer.

例えばシリアルプリンターにおいてはキヤリツジを駆動
するキャリッジデータ、文字印字のためのキャラクタデ
ータおよび用紙送り用のべーパフィードデータが順次入
力され用紙に対して文字印字を行なうようにしている。
従来、このようなシリアルプリンタ−に使用されるイン
ターフェイス装置としては3個のラッチ回路を設け、入
力される各データをそれぞれラツチするようにしたもの
が知られている。
For example, in a serial printer, carriage data for driving a carriage, character data for printing characters, and vapor feed data for feeding paper are sequentially input to print characters on paper.
Conventionally, as an interface device used in such a serial printer, one is known in which three latch circuits are provided and each input data is latched.

しかしこのようなものでは3個のラッチ回路を設けなけ
ればならず回路構成が複雑化するとともに比較的高価な
ラッチ回路を3個も必要となるため経済性が悪い欠点が
あった。
However, in this type of device, three latch circuits must be provided, which complicates the circuit configuration and also requires three relatively expensive latch circuits, which has the disadvantage of being uneconomical.

この発明はこのような欠点を除去するために考えられた
もので、回路構成を簡単化できるとともに経済性を向上
できるプリンタのインターフェイス装置を提供すること
を目的とする。
The present invention has been devised to eliminate these drawbacks, and an object of the present invention is to provide a printer interface device that can simplify the circuit configuration and improve economic efficiency.

以下、この発明の実施例を図面を参照して説明する。Embodiments of the present invention will be described below with reference to the drawings.

外部コネクタ1を介してラッチ回路2に共通のデータ・
ライン3を通してキヤリツジデータ・キヤラクタデータ
およびべーパフイードデータを入力させている。
Common data and data are sent to the latch circuit 2 via the external connector 1.
Carriage data, character data, and vapor feed data are input through line 3.

また前記ラッチ回路2には前記コネクタ1を介してキャ
リッジデータのラッチを行なわせるキヤリツジストロー
プ(CASTR)信号、キャラクタデータのラツチを行
なわせるキヤラクタ・ストローブ(PW.STR)信号
、ベーパフイードデータのラッチを行なわせるPF.S
TR信号が入力されるようになっている。そして前記各
信号を3,入力用オアゲート4を介してフリツブフ。ッ
プ5の入力端に入力している。前記フリップフロップ5
は前記各信号の1つを検出してセット動作し、前記ラッ
チ回路2内に内臓されているデータラッチ判別用回路を
動作させるようにしている。6はデータ処理部としての
CPU(中央処理ユニット)で、このCPU6はラッチ
回路2内のデータラッチ判別用回路の動作を検知して上
記ラッチ回路2からデータを議出して取込むようにして
いる。
The latch circuit 2 also receives a carriage strobe (CASTR) signal for latching carriage data via the connector 1, a character strobe (PW.STR) signal for latching character data, and a vapor feed data signal. PF. S
A TR signal is input. Then, each of the above-mentioned signals is sent to Fritzbuf via an input OR gate 4. It is input to the input end of step 5. Said flip-flop 5
detects one of the signals and performs a set operation to operate a data latch discrimination circuit built in the latch circuit 2. Reference numeral 6 denotes a CPU (central processing unit) as a data processing section, and this CPU 6 detects the operation of a data latch discrimination circuit in the latch circuit 2 and outputs and takes in data from the latch circuit 2.

そして上記CPU6はデータの取込みを終了すると前記
フリップフロップ5をリセットするようにしている。ま
た前記CPU6は1/0ボート7を介して2入力用の第
1のナンドゲート8の一方の入力端にキャリッジデータ
の受取り準備OKを知らせるキャリツジレデイ(CA.
RDY)信号を出力し、また2入力用の第2のナンドゲ
ート9の一方入力端にキャラクタデータの受取り準備O
Kを知らせるPW.RDY信号を出力し、さらに2入力
用の第3のナンドゲート10の一方の入力端にべーパフ
ィードデータの受取り準備OKを知らせるPF.RDY
信号を出力するようにしている。前記各ナンドゲート8
,9,10の他方の入力機には前記フリップフロップ5
からセット動作時ハィレベルとなる信号をそれぞれ入力
するようにしている。前記第1のナンドゲート8を介し
て出力されるCARDY信号、前記第2のナンドゲート
9を介して出力されるPW.RDY信号並びに前記第3
のナンドゲート10を介して出力されるPF.RDY信
号を前記外部コネク夕1を介して、キヤリッジデータ、
キヤラクタデータおよびべーパフイードデータを出力す
る外部回路(図示せず)に供給するようにしている。シ
リアルプリンタにおいては文字を印字する位置決めのた
め先ずキャリッジデータが入力され、続いて文字を検索
して打点させるためのキャラクタデータが入力され、最
後にべーパフイードデータが必要なときにはべーパフイ
ードデータが入力される。
Then, the CPU 6 resets the flip-flop 5 after completing the data acquisition. Further, the CPU 6 sends a carriage ready (CA.
RDY) signal, and also prepares to receive character data to one input terminal of the second NAND gate 9 for two inputs.
PW informing K. PF. which outputs the RDY signal and also notifies one input terminal of the third NAND gate 10 for two inputs that it is ready to receive vapor feed data. R.D.Y.
I am trying to output a signal. Each of the above NAND gates 8
, 9, 10, the flip-flop 5 is connected to the other input device.
A signal that becomes high level during set operation is inputted from each of them. CARDY signal outputted via the first NAND gate 8, PW. signal outputted via the second NAND gate 9. RDY signal and the third
PF. output via the NAND gate 10. The RDY signal is sent to the carriage data via the external connector 1.
Character data and vapor feed data are supplied to an external circuit (not shown) that outputs them. In a serial printer, carriage data is first input to determine the position to print characters, then character data is input to search for and dot characters, and finally, when vapor feed data is required, vapor feed data is input. Data is entered.

したがって上述した構成においてはCPU6が1/0ボ
ート7を制御してCA.RDY信4号の出力を開始させ
る。このCARDY信号は第1のナンドゲート8および
外部コネクタ1を介して外部回路に出力される。これに
より外部回路はCA.STR信号とともにキヤリツジデ
ータを出力する。このCASTR信号とキャリッジデー
タは外部コネクタ1を介してラツチ回路2に入力されキ
ヤリッジデータがラッチされる。一方フリップフロップ
5はCASTR信号の入力を検出してセット勤タ作する
。こうしてラッチ回路2のデータラッチ判別用回路が動
作されるとともに各ナンドゲート8,9,10がそのゲ
ートを閉じ信号の出力を禁止する。CPU6はデータラ
ッチ判別用回路出力によってデータのラッチを判別しラ
ッチ回路2か0らキャリツジデータを取り込む。そして
CPU6はキャリッジデータの取込みが終了するとフリ
ツプフロツプ5をリセットさせる。こうしてデータラツ
チ判別用回路および各ナンドゲート8,9,10は元の
状態に復帰する。続いてCPU6は夕1/0ボート7と
制御してPW.RDY信号の出力を開始させる。これに
より外部回路は続いてPW.STR信号とキヤラクタデ
ータを出力する。このPW.STR信号とキャラクタデ
ータは外部コネク夕1を介してラッチ回路2に入力され
、キヤラクタ0データがラツチされる。一方フリップフ
ロツプ5はPW.STR信号を検出してセット動作する
。こうしてラッテ回路2のデータラッチ判別用回路が動
作されるとともに各ナンドゲート8,9,10がそのゲ
ートを閉じ信号の出力を禁止する。に CPU6はデー
タラッチ判別用回路出力によってデータのラッチを判別
し、ラッチ回路2からキヤラクタデータを取込む。
Therefore, in the configuration described above, the CPU 6 controls the 1/0 port 7 and the CA. Start outputting RDY signal 4. This CARDY signal is output to an external circuit via the first NAND gate 8 and external connector 1. This allows the external circuit to connect to CA. Carriage data is output together with the STR signal. This CASTR signal and carriage data are input to a latch circuit 2 via an external connector 1, and the carriage data is latched. On the other hand, the flip-flop 5 detects the input of the CASTR signal and performs a set operation. In this way, the data latch determination circuit of the latch circuit 2 is operated, and each NAND gate 8, 9, 10 closes its gate and prohibits output of a signal. The CPU 6 determines whether data is latched based on the data latch determination circuit output, and takes in the carriage data from the latch circuit 2-0. Then, the CPU 6 resets the flip-flop 5 when the loading of the carriage data is completed. In this way, the data latch determination circuit and each NAND gate 8, 9, 10 return to their original states. Subsequently, the CPU 6 controls the Yu1/0 boat 7 and PW. Start outputting the RDY signal. This causes the external circuit to continue to PW. Outputs STR signal and character data. This PW. The STR signal and character data are input to a latch circuit 2 via an external connector 1, and character 0 data is latched. On the other hand, flip-flop 5 is PW. Detects the STR signal and performs a set operation. In this way, the data latch discrimination circuit of the latch circuit 2 is activated, and each NAND gate 8, 9, 10 closes its gate and prohibits output of a signal. The CPU 6 determines whether data is latched based on the data latch determination circuit output, and takes in character data from the latch circuit 2.

そしてCPU6はキヤラクタデータの取込みが終了する
とフリツプフロツプ5をリセットさせる。こうしてデー
タラツチ判別用回路および各ナンドゲート8,9,1川
ま元の状態に復帰する。続いてCPU6は1/0ボート
7を制御するがべーパフィードが必要ないときにはCA
RDY信号の出力を開始させ、またべ−パフイードが必
要なときはPF.RDY信号の出力を開始させる。CA
RDY信号を出力させたときは前述したキャリッジデー
タのラッチ処理と同じようになる。PF.RDY信号を
出力させたときは外部回路からPF.STR信号とべ‐
パフィードデー夕が外部コネクタ1を介してラツチ回路
2に入力され、前記同様ラッチ回路2にラッチされた後
CPU6に取込まれる。
Then, the CPU 6 resets the flip-flop 5 when the character data has been taken in. In this way, the data latch discrimination circuit and each NAND gate 8, 9, and 1 are restored to their original state. Next, the CPU 6 controls the 1/0 boat 7, but when vapor feed is not required, the CA
Starts the output of the RDY signal, and when vapor feed is required, the PF. Start outputting the RDY signal. CA
When the RDY signal is output, the process is similar to the carriage data latch process described above. P.F. When the RDY signal is output, the PF. STR signal
The puffed data is inputted to the latch circuit 2 via the external connector 1, and after being latched by the latch circuit 2 as described above, is taken into the CPU 6.

このようにキヤリツジデータ、キヤラクタデータ並びに
べーパフイードデータを入力処理するのに1個のラツチ
回路2とフリツプフロツプ回路5を設けるのみでよいか
ら従来の各データ毎にラッチ回路を設けたものに比べて
回路構成を簡単化できるとともに比較的高価なラツチ回
路を1個使用するのみでよいから経済性を向上すること
ができる。
In this way, only one latch circuit 2 and flip-flop circuit 5 are required to input and process the carriage data, character data, and vapor feed data. The circuit configuration can be simplified compared to the conventional circuit, and economical efficiency can be improved because only one relatively expensive latch circuit is required.

また、このようなプリンタのインターフェイス装置であ
れば、CPU6がラツチ回路2からデータを取込むと直
ちに各ナンドゲート8,,9,10はゲートを開放する
ので、CPU6は処理可能のデー外こ対しては直ちに1
/0ボート7を介してレディ信号を送出し、現在処理中
のデータに対してはしディ信号の送出をひかえて新たな
データの入力を阻止することが可能である。
In addition, in such a printer interface device, as soon as the CPU 6 receives data from the latch circuit 2, the NAND gates 8, 9, and 10 open their gates, so the CPU 6 does not receive data that is not processable. immediately becomes 1
It is possible to send a ready signal via the /0 port 7 and to refrain from sending a ready signal for the data currently being processed to prevent new data from being input.

したがって、全体の処理速度を向上できる。以上詳述し
たように本発明によれば、共通のデータ・ラインを通し
て少なくともキャリッジデータ、キャラクタデータを含
む複数のデータを所要のタイミングで順次入力処理する
プリンタのイソターフェィス装置において、前記複数の
データの各データに対応する各ストローブ信号の入力に
応動して各データを1データずつラッチする1個のラッ
チ回路と、前記複数のストローブ信号の論理和信号にて
セットされ、ラッチ回路にラッチされたデータを取込み
データ処理するデータ処理部から送出されるデータ取込
み終了信号にてリセットされるフリップフロップ回路と
、データ処理部から出力される各データの入力許可を示
す各レディ信号の送出経路に介挿され、これ等各レディ
信号とフリツプフロツプ回路の出力端子から出力される
セット解除信号との各論理積を算出する複数の論理積回
路を備えているので、回路構成を簡単化できるとともに
経済性を向上できる。
Therefore, the overall processing speed can be improved. As described in detail above, according to the present invention, in the isosurface device of a printer that sequentially inputs and processes a plurality of data including at least carriage data and character data through a common data line at a required timing, One latch circuit that latches each data one by one in response to the input of each strobe signal corresponding to each data, and the data that is set by the OR signal of the plurality of strobe signals and latched in the latch circuit. A flip-flop circuit is inserted in a flip-flop circuit that is reset by a data acquisition end signal sent from a data processing section that processes the captured data, and a transmission path for each ready signal that indicates permission to input each data output from the data processing section. , it is equipped with multiple AND circuits that calculate the AND of each of these ready signals and the set release signal output from the output terminal of the flip-flop circuit, making it possible to simplify the circuit configuration and improve economic efficiency. .

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

図はこの発明の実施例を示すブロック図である。 2・・・・・・ラツチ回路、3・・・・・・データ・ラ
イン、5……フリツプフロツプ。
The figure is a block diagram showing an embodiment of the invention. 2...Latch circuit, 3...Data line, 5...Flip-flop.

Claims (1)

【特許請求の範囲】[Claims] 1 共通のデータ・ラインを通して少なくともキヤリツ
ジデータ・キヤラクタデータを含む複数のデータを所要
のタイミングで順次入力処理するプリンタのインターフ
エイス装置において、前記複数のデータの各データに対
応する各ストローブ信号の入力に応動して前記各データ
を1データずつラツチする1個のラツチ回路と、前記複
数のストローブ信号の論理和信号にてセツトされ、前記
ラツチ回路にラツチされたデータを取込みデータ処理す
るデータ処理部から送出されるデータ取込み終了信号に
てリセツトされるフリツプフロツプ回路と、前記データ
処理部から出力される前記各データの入力許可を示す各
レデイ信号の送出経路に介挿され、これ等各レデイ信号
と前記フリツプフロツプ回路の出力端子から出力される
セツト解除信号との各論理積を算出する複数の論理積回
路とを備えたことを特徴とするプリンタのインターフエ
イス装置。
1. In a printer interface device that sequentially inputs and processes a plurality of data including at least carriage data and character data through a common data line at a required timing, each strobe signal corresponding to each data of the plurality of data one latch circuit that latches each piece of data one by one in response to an input, and data processing that takes in and processes the data that is set by the OR signal of the plurality of strobe signals and is latched in the latch circuit. A flip-flop circuit is inserted in the transmission path of the flip-flop circuit that is reset by the data acquisition completion signal sent from the data processing section and the ready signal indicating permission to input each data outputted from the data processing section. and a set release signal outputted from the output terminal of the flip-flop circuit.
JP54152840A 1979-11-26 1979-11-26 printer interface device Expired JPS6019024B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54152840A JPS6019024B2 (en) 1979-11-26 1979-11-26 printer interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54152840A JPS6019024B2 (en) 1979-11-26 1979-11-26 printer interface device

Publications (2)

Publication Number Publication Date
JPS5676841A JPS5676841A (en) 1981-06-24
JPS6019024B2 true JPS6019024B2 (en) 1985-05-14

Family

ID=15549274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54152840A Expired JPS6019024B2 (en) 1979-11-26 1979-11-26 printer interface device

Country Status (1)

Country Link
JP (1) JPS6019024B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58146929A (en) * 1982-02-25 1983-09-01 Seiko Epson Corp Method for receiving data of printer

Also Published As

Publication number Publication date
JPS5676841A (en) 1981-06-24

Similar Documents

Publication Publication Date Title
JP3016415B2 (en) Data transfer method and data transfer system
JP2587909B2 (en) Data transfer method
EP1081638B1 (en) A system for communication with multiple ink jet printheads
EP0077892B1 (en) Word processing system having a formatting bidirectional printer
JPS6019024B2 (en) printer interface device
JPH05110753A (en) Data transmission method between equipment main body and extended unit
JPS6259330B2 (en)
US5842044A (en) Input buffer device for a printer using an FIFO and data input method
JPH0514621B2 (en)
US4054745A (en) Motor control device for data terminals
JP2995532B2 (en) Ticketing printer
JPH0236968B2 (en)
US4968163A (en) Hot zone control of automatic line feed
JPS6047112B2 (en) Print control method
JPS6210830Y2 (en)
US5408635A (en) Method of controlling data output by direct memory access
JPS6238931A (en) Printing device
KR0126663B1 (en) Printer
JP2767245B2 (en) Printhead print control method
JPH0254328A (en) Time-over preventing system for printer
JPS63145067A (en) Line feed control method
JPS6255168B2 (en)
JP2790304B2 (en) Printer control device
JPH026088B2 (en)
JP2021122998A (en) Image formation apparatus and additional unit