JP3134256B2 - Printer bidirectional communication method - Google Patents

Printer bidirectional communication method

Info

Publication number
JP3134256B2
JP3134256B2 JP04063504A JP6350492A JP3134256B2 JP 3134256 B2 JP3134256 B2 JP 3134256B2 JP 04063504 A JP04063504 A JP 04063504A JP 6350492 A JP6350492 A JP 6350492A JP 3134256 B2 JP3134256 B2 JP 3134256B2
Authority
JP
Japan
Prior art keywords
printer
external device
signal
data
line
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 - Fee Related
Application number
JP04063504A
Other languages
Japanese (ja)
Other versions
JPH05265667A (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.)
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 JP04063504A priority Critical patent/JP3134256B2/en
Publication of JPH05265667A publication Critical patent/JPH05265667A/en
Priority to JP2000257380A priority patent/JP3784624B2/en
Application granted granted Critical
Publication of JP3134256B2 publication Critical patent/JP3134256B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、プリンタのパラレルイ
ンタフェース、特にプリンタの標準的インタフェースで
あるセントロパラレルインタフェース(米国、セントロ
ニクス・データ・コンピュータ社が開発したインタフェ
ース)を双方向通信に切り替えて使用することを可能と
するプリンタの双方向通信方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention uses a parallel interface of a printer, particularly a centro parallel interface (an interface developed by Centronics Data Computer Co., USA), which is a standard interface of a printer, by switching to bidirectional communication. The present invention relates to a bidirectional communication method of a printer that enables the communication.

【0002】[0002]

【従来の技術】図4は、従来のパソコン等の外部装置と
プリンタ間に使用される一般的なセントロパラレルイン
タフェースの信号の種類、方向を図示したものである。
図5は、従来の通信のタイムチャートである。
2. Description of the Related Art FIG. 4 shows types and directions of signals of a general centro parallel interface used between a conventional external device such as a personal computer and a printer.
FIG. 5 is a time chart of the conventional communication.

【0003】図4に示す信号は、プリンタから外部装置
に出力するものと、外部装置からプリンタに出力するも
のと、信号及び接地アースの3種に大別できる。プリン
タから外部装置に出力する信号として、プリンタが処理
中もしくは処理終了である旨を外部装置に知らせる処理
中信号(以下、単にBUSYと称する)、プリンタがデ
ータを確認した旨を外部装置に知らせるアクノーリッジ
信号(以下、単にACKと称する)、プリンタが用紙エ
ンド状態である旨を外部装置に知らせる用紙エンド信号
(以下、単にPEと称する)、セレクト信号(以下、単
にSELECTと称する)、プリンタが異常状態である
旨を外部装置に知らせるフォルト信号(以下、単にFA
ULTと称する)等がある。外部装置からプリンタに出
力する信号として、データ信号(以下、単にDATAと
称する)、ストローブ信号(以下、単にSTBと称す
る)、初期設定信号(以下、単にI−PRIMEと称す
る)等がある。信号及び接地アースとして、シグナルグ
ランド(以下、単にSGと称する)、フレームグランド
(以下、単にFGと称する)等がある。
The signals shown in FIG. 4 can be broadly classified into three types: signals output from a printer to an external device, signals output from an external device to a printer, and a signal and a ground. As a signal to be output from the printer to the external device, an in-process signal (hereinafter simply referred to as BUSY) for notifying the external device that the printer is processing or ending the process, and an active signal for notifying the external device that the printer has confirmed the data. A normal signal (hereinafter simply referred to as ACK), a paper end signal (hereinafter simply referred to as PE) for notifying an external device that the printer is in a paper end state, a select signal (hereinafter simply referred to as SELECT), and a printer malfunction A fault signal (hereinafter simply referred to as FA)
ULT). Signals output from the external device to the printer include a data signal (hereinafter, simply referred to as DATA), a strobe signal (hereinafter, simply referred to as STB), an initialization signal (hereinafter, simply referred to as I-PRIME), and the like. As a signal and a ground, there are a signal ground (hereinafter simply referred to as SG), a frame ground (hereinafter simply referred to as FG) and the like.

【0004】図5に示すタイムチャートを参照して以下
に通信手順を説明する。パソコン等の外部装置は、まず
DATA1〜8にプリンタへのデータをセットし、ST
Bを(ON状態)にする。プリンタは、外部装置のST
B(ON状態)を検出すると、BUSYを(OFF状
態)から(ON状態)にしてDATA1〜8中のデータ
の読み込みを行う。プリンタは、データの読み込みを終
えるとBUSYを(ON状態)から(OFF状態)に
し、同時にACKを(OFF状態)から(ON状態)に
してデータの読み込みを終了した旨を外部装置に通知す
る。外部装置は、BUSY(OFF状態)又はACK
(ON状態)を検出することにより次のデータを出力す
る。この様な手順の繰り返しで順次外部装置からプリン
タにデータが出力される。
The communication procedure will be described below with reference to a time chart shown in FIG. An external device such as a personal computer first sets data to the printer in DATA 1 to 8 and
B is set to (ON state). The printer is an external device ST
When B (ON state) is detected, BUSY is changed from (OFF state) to (ON state), and data in DATA 1 to 8 is read. When the printer finishes reading data, it changes BUSY from (ON state) to (OFF state), and at the same time, changes ACK from (OFF state) to (ON state) to notify the external device that the data reading has been completed. External device is BUSY (OFF state) or ACK
The next data is output by detecting (ON state). By repeating such a procedure, data is sequentially output from the external device to the printer.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前述の
セントロパラレルインタフェースは、元来外部装置から
プリンタにデータを出力する片方向通信である。又、信
号PE,SELECT,FAULTによりプリンタから
外部装置に出力されるステータスデータは、ごく限定さ
れた内容のものであり、外部装置は、プリンタの設定モ
ード,印字終了,バッファエンプティ,アラーム等の詳
細情報(以後、単にステータスデータと称する)が得ら
れないでいる。この様に従来のセントロパラレルインタ
フェースは、片方向通信であるので高度化するシステム
や試験装置等に対して通信情報量が過少なものとなって
いる。
However, the above-described centro parallel interface is originally one-way communication for outputting data from an external device to a printer. The status data output from the printer to the external device in response to the signals PE, SELECT, and FAULT have very limited contents, and the external device includes details such as the printer setting mode, printing end, buffer empty, and alarm. Information (hereinafter simply referred to as status data) has not been obtained. As described above, since the conventional centro parallel interface is one-way communication, the amount of communication information is too small for an advanced system or a test apparatus.

【0006】本発明の目的は、以上述べたセントロパラ
レルインターフェースにおける片方向通信の課題を除去
するために、現有の信号線を使用して、プリンタと外部
装置間の高速な双方向通信を可能とするプリンタの双方
向通信方法を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to enable high-speed bidirectional communication between a printer and an external device using an existing signal line in order to eliminate the above-described problem of one-way communication in the Centro parallel interface. It is an object of the present invention to provide a bidirectional communication method for a printer.

【0007】[0007]

【課題を解決するための手段】その為の手段は、外部装
置からプリンタにデータを片方向に送信するデータ線、
該外部装置から該プリンタに制御信号をそれぞれ独立に
片方向に送信する外部装置信号専用線、及び該プリンタ
から該外部装置に制御信号をそれぞれ独立に片方向に送
信する複数本のプリンタ信号専用線からなるセントロパ
ラレルインターフェースを経由して、印刷時に、前記外
部装置からプリンタに前記データ線及び外部装置信号専
用線を用いてデータを送信する一方、前記プリンタ信号
専用線の各信号線にそれぞれ対応する専用の状態を前記
プリンタから外部装置に送信するモードでデータを出力
し、前記プリンタから外部装置に前記プリンタの状態に
対し拡大された、アラームの詳細情報を含むプリンタ情
報を送信する場合には、外部装置からプリンタに情報を
要求するステータス送信コマンドコードを受信し、受信
データが前記ステータス送信コマンドコードであるか否
かを検出し、受信データが前記ステータス送信コマンド
コードである場合には、前記プリンタ信号専用線から選
択された複数の信号線を、コード化されたプリンタ情報
の一部を構成する各ビット情報を同時に送信するプリン
タデータ線、該プリンタ信号専用線のうちアクノーリッ
ジ信号線を該プリンタデータ線のデータがセットされる
とON状態となるストローブ信号機能を有する制御線と
して割り当てたモードに切替えて該コード化されたプリ
ンタ情報を現有の信号線を利用してプリンタから外部装
置へ出力するものである。
Means for achieving the object are a data line for transmitting data in one direction from an external device to a printer,
An external device signal dedicated line for independently transmitting a control signal from the external device to the printer in one direction, and a plurality of printer signal dedicated lines for independently transmitting a control signal from the printer to the external device in one direction. At the time of printing, data is transmitted from the external device to the printer by using the data line and the external device signal dedicated line during printing, while corresponding to each signal line of the printer signal dedicated line. When outputting data in a mode for transmitting a dedicated state from the printer to an external device, and transmitting printer information including detailed information of an alarm, which is expanded from the printer to the external device, for the status of the printer, A status transmission command code for requesting information from the external device to the printer is received, and the received data is If the received data is the status transmission command code, a plurality of signal lines selected from the printer signal dedicated line are connected to the coded printer information. The printer data line for simultaneously transmitting each bit information constituting the unit, and the acknowledge signal line among the printer signal exclusive lines as a control line having a strobe signal function which is turned on when data of the printer data line is set. The mode is switched to the assigned mode, and the coded printer information is output from the printer to an external device using the existing signal line.

【0008】[0008]

【作用】現有の信号線を使用して、パソコン等の外部装
置とプリンタ間の双方向通信が実現される。
The bidirectional communication between the external device such as a personal computer and the printer is realized by using the existing signal lines.

【0009】[0009]

【実施例】図1は、本発明に係るステータス送信モード
の制御手順を示すフローチャートである。図2は、本発
明に係るステータス送信モードの切替手順を示すタイム
チャートである。図3は、本発明に係るステータス送信
モードにおける通信手順を示すタイムチャートである。
FIG. 1 is a flowchart showing a control procedure of a status transmission mode according to the present invention. FIG. 2 is a time chart showing a procedure for switching the status transmission mode according to the present invention. FIG. 3 is a time chart showing a communication procedure in the status transmission mode according to the present invention.

【0010】以下、ステータス送信モードの切り替え手
順を図2に基づいて詳細に説明する。プリンタは、外部
装置からステータス送信コマンドを受信すると、プリン
タの設定モード、印字終了、バッファエンプティ、アラ
ーム等のステータスデータを出力するステータス送信モ
ードに切り替わる。図2に示すように、ステータス送信
コマンドは外部装置からプリンタ装置に出力されるデー
タDATA1〜8により送信される。これらDATA1
〜8からなるステータス送信コマンドは、nバイトで構
成されており、例えばESCコード,ステータス送信コ
マンドコード,ステータス種別指定コードの3バイトで
構成できる。ESCコードは、外部装置からプリンタに
送信される印字情報と、ステータス送信コマンドコード
との差別化を図るためのコードである。ESCコードの
後に連続してプリンタに送信されるステータス送信コマ
ンドコードは、プリンタをステータス送信モードに切り
替えるためのコードである。ステータス種別指定コード
は、ステータス送信モード時において外部装置に出力す
る種々のステータスデータを指定するためのコードであ
る。このようなステータス送信コマンドを以下のように
用いることにより、プリンタを印字モードからステータ
ス送信モードに切り替えることができる。図2に示すよ
うに、まず、コマンドnの時点で外部装置よりステータ
ス送信コマンドがプリンタに送信される。するとプリン
タは、ステータス送信コマンドを検出し(の時点)、
BUSYをON状態に維持し、このBUSYをON状態
に維持したままACKをON状態にする(の状態)。
外部装置は、プリンタのBUSYがON状態で、ACK
がON状態になったことを検出するとSTBをON状態
にする(の状態)。プリンタは、BUSYをON状
態、ACKをON状態でSTBのON状態を検出するこ
とによりステータス送信モードに切り替える。同時に、
BUSYをOFF状態、ACKをOFF状態にする(
の状態)。以後、ステータス送信モードとなり各制御信
号線をデータ線として割り当てて使用して外部装置にス
テータスデータを出力する(以降の状態)。尚、図2
の各〜の状態におけるSTBとBUSY、ACK間
の信号の立ち上がりの時間的ずれは、外部装置及びプリ
ンタが相互に通信状態(信号のON/OFF状態)を確
認しながら信号を切り替えるために生じる。
Hereinafter, the procedure for switching the status transmission mode will be described in detail with reference to FIG. Upon receiving the status transmission command from the external device, the printer switches to the status transmission mode for outputting status data such as the printer setting mode, printing end, buffer empty, and alarm. As shown in FIG. 2, the status transmission command is transmitted by data DATA1 to DATA8 output from the external device to the printer device. These DATA1
The status transmission command consisting of .about.8 is composed of n bytes, and can be composed of, for example, three bytes of an ESC code, a status transmission command code, and a status type designation code. The ESC code is a code for distinguishing print information transmitted from an external device to a printer from a status transmission command code. The status transmission command code transmitted to the printer after the ESC code is a code for switching the printer to the status transmission mode. The status type designation code is a code for designating various status data to be output to the external device in the status transmission mode. By using such a status transmission command as follows, the printer can be switched from the print mode to the status transmission mode. As shown in FIG. 2, first, at the time of the command n, a status transmission command is transmitted from the external device to the printer. Then, the printer detects (at) the status transmission command,
BUSY is maintained in the ON state, and ACK is turned on while this BUSY is maintained in the ON state (state).
When the BUSY of the printer is ON,
When it is detected that is turned on, the STB is turned on (state). The printer switches to the status transmission mode by detecting the ON state of the STB with the BUSY ON state and the ACK ON state. at the same time,
BUSY to OFF state, ACK to OFF state (
State). Thereafter, the status transmission mode is set, and each control signal line is allocated and used as a data line to output status data to an external device (the subsequent state). FIG.
The time lag of the rise of the signal between STB, BUSY, and ACK in each of the conditions (1) to (4) occurs because the external device and the printer switch signals while confirming the communication state (ON / OFF state of the signal) with each other.

【0011】以下、ステータス送信モードにおける通信
手順を図3に基づいて詳細に説明する。図3は、BUS
Y,PE,SELECT,FAULTの4本の制御信号
線をステータスデータを出力するためのステータスデー
タ線として使用し、ACK,STBを互いの通信状態を
相互に確認するためのハンドシェイク制御線として使用
した場合の通信手順を示している。プリンタは、ステー
タス送信モードになると外部装置から指定されたステー
タスデータをステータスデータ1としてセットし、AC
Kを(ON状態)にする。外部装置は、プリンタがAC
K(ON状態)になったことを検出するとステータスデ
ータ1を読み込み、STBを(ON状態)にする(図3
のの状態)。プリンタは、外部装置がSTB(ON状
態)になったことを検出するとACKを(OFF状態)
にする(図3のの状態)。外部装置は、プリンタがA
CK(OFF状態)になったことを検出するとSTBを
(OFF状態)にする(図3のの状態)。プリンタ
は、次のステータスデータをステータスデータ2として
セットし、ACKを(ON状態)にする。以後、図3の
〜の状態を繰り返すことにより、プリンタから外部
装置にステータスデータを順次出力する。
Hereinafter, a communication procedure in the status transmission mode will be described in detail with reference to FIG. FIG. 3 shows the BUS
The four control signal lines Y, PE, SELECT, and FAULT are used as status data lines for outputting status data, and ACK and STB are used as handshake control lines for mutually confirming the communication state of each other. This shows the communication procedure in the case where the communication is performed. When the printer enters the status transmission mode, the printer sets status data designated by the external device as status data 1 and outputs
Set K to (ON state). As for the external device, the printer is AC
When it is detected that K (ON state) has been reached, status data 1 is read and STB is set to (ON state) (FIG. 3).
State). When the printer detects that the external device has become STB (ON state), it issues an ACK (OFF state).
(The state shown in FIG. 3). The external device is a printer A
When it is detected that CK (OFF state) has been reached, the STB is set to (OFF state) (state in FIG. 3). The printer sets the next status data as status data 2 and sets ACK (ON state). Thereafter, the status data is sequentially output from the printer to the external device by repeating the states (1) to (3) in FIG.

【0012】以下、上述のステータス送信モードの切替
手順及びステータス送信モードにおける通信手順を図1
のフローチャートに基づいて、再度詳細に説明する。ま
ず外部装置よりステータス送信コマンドが、プリンタに
出力される。プリンタは、このステータス送信コマンド
を入力し、これを検出する(図1のS1の状態)と、B
USYを(ON状態)に,ACKを(ON状態)にし
て、ステータス送信コマンドコードを検出した旨を外部
装置に知らせる(図1のS2の状態)。外部装置は、プ
リンタがBUSY(ON状態),ACK(ON状態)に
なったことを検出するとSTBを(ON状態)にする
(図1のS3の状態)。プリンタは、BUSY(ON状
態),ACK(ON状態)の出力状態でSTB(ON状
態)を検出することによりステータス送信モード、即ち
BUSYを(OFF状態)に,ACKを(OFF状態)
にする(図1のS4の状態)。プリンタは、ステータス
送信コマンド中のステータス種別指定コードに従い、要
求されるステータスデータをBUSY,PE,SELE
CT,FAULTの4本の制御信号線から出力するよう
にセットする(図1のS5の状態)。続いてプリンタ
は、ACKを(ON状態)に出力する(図1のS6の状
態)。外部装置は、プリンタがACK(ON状態)にな
ったことを検出するとステータスデータを読み込み、S
TBを(ON状態)にする(図1のS7の状態)。プリ
ンタは、外部装置がSTB(ON状態)になったことを
検出するとACKを(OFF状態)にする(図1のS8
の状態)。外部装置は、プリンタがACK(OFF状
態)になったことを検出するとSTBを(OFF状態)
にする。プリンタは、所定のステータスデータの出力が
終了したかを判別し(図1のS9の状態)、未出力のス
テータスデータがあれば、図1のS5の状態に戻り、再
度同じ手順でステータスデータを出力する。ステータス
データの出力が終了した場合、ステータス送信モードか
ら抜けて通常のセントロパラレルインタフェースの待機
状態に戻る(図1のS10の状態)。
FIG. 1 shows the procedure for switching the status transmission mode and the communication procedure in the status transmission mode.
This will be described again in detail based on the flowchart of FIG. First, a status transmission command is output from the external device to the printer. The printer inputs this status transmission command and detects it (state of S1 in FIG. 1).
USY is set to (ON state) and ACK is set to (ON state) to notify the external device that the status transmission command code is detected (state of S2 in FIG. 1). Upon detecting that the printer has become BUSY (ON state) or ACK (ON state), the external device sets the STB to (ON state) (the state of S3 in FIG. 1). The printer detects the STB (ON state) in the BUSY (ON state) and ACK (ON state) output states, and sets the status transmission mode, ie, BUSY to (OFF state) and ACK (OFF state).
(The state of S4 in FIG. 1). The printer sends the requested status data to BUSY, PE, SELE according to the status type designation code in the status transmission command.
It is set so as to be output from four control signal lines CT and FAULT (state of S5 in FIG. 1). Subsequently, the printer outputs ACK (ON state) (state of S6 in FIG. 1). When the external device detects that the printer is in the ACK (ON state), the external device reads the status data.
TB is turned on (ON state) (state of S7 in FIG. 1). When the printer detects that the external device is in the STB (ON state), it sets ACK to the (OFF state) (S8 in FIG. 1).
State). When the external device detects that the printer is in the ACK (OFF state), it turns off the STB (OFF state).
To The printer determines whether or not the output of the predetermined status data has been completed (the state of S9 in FIG. 1). If there is any status data that has not been output, the printer returns to the state of S5 in FIG. Output. When the output of the status data is completed, the process exits the status transmission mode and returns to the normal Centro parallel interface standby state (the state of S10 in FIG. 1).

【0013】以上詳細に説明したように、本発明のプリ
ンタの双方向通信方法は、新たにプリンタから外部装置
にステータスデータを提供するためのステータス送信コ
マンドを設定すると共に、ステータスデータを提供する
パラレルの通信手順を追加することにより、現有の信号
線を使用して、パソコンなどの外部装置とプリンタ間の
高速な双方向通信が実現される。これにより、外部装置
からプリンタのステータスを知ることが可能となりセン
トロパラレルインターフェースの機能拡大が期待でき
る。
As described above in detail, the printer bidirectional communication method of the present invention sets a new status transmission command for providing status data from a printer to an external device, and sets a parallel status transmission command for providing status data. By adding the communication procedure described above, high-speed bidirectional communication between an external device such as a personal computer and a printer can be realized using the existing signal lines. As a result, the status of the printer can be known from the external device, and the function expansion of the Centro Parallel Interface can be expected.

【0014】尚、本発明は、種々の変形が可能であり、
例えば、プリンタ内にステータスデータを一時記憶する
メモリ手段を付加することによりインタフェースの信号
線の機能を切り替える工程とステータスデータをセット
する工程とを入れ替えた通信手順にすることも可能であ
る。従って、例えば制御信号線の本数、ステータスデー
タ線の本数、ステータスデータ数、通信手順等は、必ず
しも本実施例に限定するものではなく、本発明の趣旨に
沿う限りこれらを変形したものを除外するものではな
い。
The present invention is capable of various modifications.
For example, a communication procedure in which the step of switching the function of the signal line of the interface and the step of setting the status data are interchangeable by adding a memory unit for temporarily storing the status data in the printer may be adopted. Therefore, for example, the number of control signal lines, the number of status data lines, the number of status data, the communication procedure, and the like are not necessarily limited to the present embodiment, and those modified from these are excluded as long as they conform to the gist of the present invention. Not something.

【0015】[0015]

【発明の効果】現有の信号線を使用して、パソコン等の
外部装置とプリンタ間の双方向通信が実現されることに
より、外部装置からプリンタの設定モード,印字終了,
バッファエンプティ,アラーム等のステータスデータを
知ることが可能となる。これによりセントロパラレルイ
ンタフェースの機能を拡大することができる。
The bidirectional communication between the external device such as a personal computer and the printer is realized by using the existing signal line.
It becomes possible to know status data such as buffer empty and alarm. Thereby, the function of the centro parallel interface can be expanded.

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

【図1】本発明に係るステータス送信モードの制御手順
フローチャート。
FIG. 1 is a control procedure flowchart of a status transmission mode according to the present invention.

【図2】本発明に係るステータス送信モードの切替手順
を示すタイムチャート。
FIG. 2 is a time chart showing a procedure for switching a status transmission mode according to the present invention.

【図3】本発明に係るステータス送信モード時の通信手
順を示すタイムチャート。
FIG. 3 is a time chart showing a communication procedure in a status transmission mode according to the present invention.

【図4】従来のセントロパラレルインタフェースの説明
図。
FIG. 4 is an explanatory diagram of a conventional centro parallel interface.

【図5】従来のセントロパラレルインタフェースのタイ
ムチャート。
FIG. 5 is a time chart of a conventional centro parallel interface.

【符号の説明】[Explanation of symbols]

DATA ステータスデータ STB ストローブ信号 BUSY 処理中信号 ACK アクノーリッジ信号 DATA Status data STB Strobe signal BUSY Processing signal ACK Acknowledge signal

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−110625(JP,A) 特開 平4−84315(JP,A) 特開 昭60−157353(JP,A) 特開 昭62−106560(JP,A) 特開 昭62−40522(JP,A) 実開 昭62−96751(JP,U) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-2-110625 (JP, A) JP-A-4-84315 (JP, A) JP-A-60-157353 (JP, A) JP-A-62-162 106560 (JP, A) JP-A-62-40522 (JP, A) JP-A-62-96751 (JP, U)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部装置からプリンタにデータを片方向
に送信するデータ線、該外部装置から該プリンタに制御
信号をそれぞれ独立に片方向に送信する外部装置信号専
用線、及び該プリンタから該外部装置に制御信号をそれ
ぞれ独立に片方向に送信する複数本のプリンタ信号専用
線からなるセントロパラレルインターフェースを経由し
て、 印刷時に、前記外部装置からプリンタに前記データ線及
び外部装置信号専用線を用いてデータを送信する一方、
前記プリンタ信号専用線の各信号線にそれぞれ対応する
専用の状態を前記プリンタから外部装置に送信するモー
ドでデータを出力し、 前記プリンタから外部装置に前記プリンタの状態に対し
拡大された、アラームの詳細情報を含むプリンタ情報を
送信する場合には、 外部装置からステータス送信コマンドコード受信し、 受信データが前記ステータス送信コマンドコードである
か否かを検出し、 受信データが前記ステータス送信コマンドコードである
場合には、前記プリンタ信号専用線から選択された複数
の信号線を、コード化されたプリンタ情報の一部を構成
する各ビット情報を同時に送信するプリンタデータ線、
該プリンタ信号専用線のうちアクノーリッジ信号線を該
プリンタデータ線のデータがセットされるとON状態と
なるストローブ信号機能を有する制御線として割り当て
たモードに切替えて該コード化されたプリンタ情報を現
有の信号線を利用してプリンタから外部装置へ出力する
プリンタの双方向通信方法。
1. A data line for transmitting data unidirectionally from an external device to a printer, an external device signal dedicated line for independently transmitting a control signal from the external device to the printer in one direction, and a data line for transmitting a control signal independently from the external device to the printer. The printer uses the data line and the external device signal dedicated line from the external device to the printer at the time of printing via a centro parallel interface composed of a plurality of dedicated printer signal lines that independently transmit control signals to the device in one direction. While sending data,
Outputting data in a mode for transmitting a dedicated state corresponding to each signal line of the printer signal dedicated line from the printer to an external device, and expanding the alarm from the printer to the external device with respect to the status of the printer . when transmitting printer information including detailed information, receives status transmission command code from the external device, the received data is detected whether or not the status transmission command code, the received data is in the status transmission command code In the case, a plurality of signal lines selected from the printer signal dedicated line, a printer data line for simultaneously transmitting each bit information constituting a part of the encoded printer information,
The acknowledge signal line of the printer signal dedicated line is
When printer data line data is set,
A printer bidirectional communication method for switching to a mode assigned as a control line having a strobe signal function and outputting the coded printer information from the printer to an external device using an existing signal line.
JP04063504A 1992-03-19 1992-03-19 Printer bidirectional communication method Expired - Fee Related JP3134256B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP04063504A JP3134256B2 (en) 1992-03-19 1992-03-19 Printer bidirectional communication method
JP2000257380A JP3784624B2 (en) 1992-03-19 2000-08-28 Communication direction switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04063504A JP3134256B2 (en) 1992-03-19 1992-03-19 Printer bidirectional communication method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2000257380A Division JP3784624B2 (en) 1992-03-19 2000-08-28 Communication direction switching method

Publications (2)

Publication Number Publication Date
JPH05265667A JPH05265667A (en) 1993-10-15
JP3134256B2 true JP3134256B2 (en) 2001-02-13

Family

ID=13231133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04063504A Expired - Fee Related JP3134256B2 (en) 1992-03-19 1992-03-19 Printer bidirectional communication method

Country Status (1)

Country Link
JP (1) JP3134256B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2639340B2 (en) * 1993-12-24 1997-08-13 日本電気株式会社 Printer with network function
JP4054394B2 (en) * 1996-09-20 2008-02-27 キヤノン株式会社 Data communication method and data communication system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02110625A (en) * 1988-10-19 1990-04-23 Hitachi Ltd Reading system for sort of printer
JPH0484315A (en) * 1990-07-27 1992-03-17 Casio Comput Co Ltd Printer controller

Also Published As

Publication number Publication date
JPH05265667A (en) 1993-10-15

Similar Documents

Publication Publication Date Title
US4442485A (en) Dynamically buffered data transfer system for large capacity data source
JPS62216582A (en) Facsimile equipment
EP1901177B1 (en) Data processing apparatus, external storage apparatus, data processing system and data transmitting method
US6681269B2 (en) Data processing apparatus, external storage apparatus, data processing system and data transmitting method
JP3134256B2 (en) Printer bidirectional communication method
JP4736576B2 (en) Image forming apparatus
TW456123B (en) Packet transfer apparatus which generates access reject command during a DMA transfer
JP3784624B2 (en) Communication direction switching method
US5732199A (en) Control method and device of scanner with built-in plug-and-play printer port
JP2004046891A (en) Data processing system, data processor, external device, and data transmission method
JP2755242B2 (en) Error notification method
JPH04319467A (en) Printing device
JPH024182B2 (en)
JPH0234518B2 (en)
JPH0981342A (en) Print system
JP2000357056A (en) External storage device
JPH0628125A (en) Method and device for image formation
JPH0991100A (en) Data transmission controller
JP3027849B2 (en) Printing device
JP2001024735A (en) Data processing system and data transmission method
JP2000357062A (en) Device and system for processing data, external storage device and data transmitting method
JPH08185286A (en) Printer controller
JPH0484315A (en) Printer controller
JPH0532765B2 (en)
JPS6111843A (en) Recorder

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19961112

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111201

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees