JPH05298044A - Data processor - Google Patents

Data processor

Info

Publication number
JPH05298044A
JPH05298044A JP4103145A JP10314592A JPH05298044A JP H05298044 A JPH05298044 A JP H05298044A JP 4103145 A JP4103145 A JP 4103145A JP 10314592 A JP10314592 A JP 10314592A JP H05298044 A JPH05298044 A JP H05298044A
Authority
JP
Japan
Prior art keywords
data
power
turned
printing
state
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
JP4103145A
Other languages
Japanese (ja)
Inventor
Kimiyoshi Kawaura
公義 川浦
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP4103145A priority Critical patent/JPH05298044A/en
Publication of JPH05298044A publication Critical patent/JPH05298044A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent data from being transmitted to a device, which power source is turned off, by outputting a status signal showing that data reception is disabled to the outside in the state of turning off the power source. CONSTITUTION:In the state of turning off the power source switch of a printer, no power 32 for logic is supplied to a resistor 30 of an output circuit. As the result, a transistor 24 is turned to a non-conducted state. At such a time, auxiliary power from an auxiliary power source is supplied to a resistor 26 connected to the collector terminal of the transistor 24 as power 29 for final output terminal, and the output terminal of a busy signal outputs signals at a high (active) level. Even when a user instructs printing to this printer to a host equipment in this step, the busy signal in the active state is transmitted to the host equipment so as not to transmit printing data or the like from the host equipment. Thus, trouble caused by data transmission can be prevented.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は印刷装置等のように外部
より信号を受け、その信号を処理するデータ処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus such as a printing apparatus which receives a signal from the outside and processes the signal.

【0002】[0002]

【従来の技術】従来、このように外部からのデータを受
け、そのデータを処理する装置として印刷装置が知られ
ている。
2. Description of the Related Art Conventionally, a printing apparatus has been known as an apparatus for receiving data from the outside and processing the data.

【0003】この印刷装置と上位装置(例えばホストコ
ンピュータ)とは、複数のデータ信号と、複数の制御信
号とによりデータの受渡しがなされる。上位装置は、こ
の制御信号の内、印刷装置から出力されるデータ受信不
可能を示すステータス信号(以下ビジー信号と称する)
を監視し、この信号がノンアクティブの場合に、印刷装
置に対してデータを送信する。
Data is passed between the printing apparatus and a host apparatus (for example, a host computer) by a plurality of data signals and a plurality of control signals. Among these control signals, the host device outputs a status signal (hereinafter referred to as a busy signal) indicating that data output from the printing device cannot be received.
Is monitored, and if this signal is inactive, data is transmitted to the printing device.

【0004】このビジー信号は、印刷装置の代表的なイ
ンターフェイスの規格上、電気的レベルがハイの状態を
アクティブレベルとしている。
According to the standard of a typical interface of a printing apparatus, this busy signal has an active level when the electrical level is high.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、印刷装
置の電源の遮断中には、印刷装置から上位装置に対して
出力されるべきビジー信号の電気的レベルをハイに確定
することができず、不定となる。このため印刷装置の電
源スイッチが切られている状態において上位装置が印字
データを送出しようとした時に、上位装置がビジー信号
の状態を読み取る際に、その信号線の電圧レベルがロー
レベルとなることがある。すると上位装置は、印刷装置
がデータ受信可能状態であると誤判断し、印刷装置に対
してデータを送信することになる。
However, while the power supply of the printing apparatus is cut off, the electric level of the busy signal to be output from the printing apparatus to the host apparatus cannot be determined to be high, so that it is undefined. Becomes Therefore, when the host device tries to send print data while the power switch of the printer is turned off, the voltage level of the signal line becomes low when the host device reads the busy signal status. There is. Then, the higher-level device erroneously determines that the printing device is in the data receivable state and transmits the data to the printing device.

【0006】ここで、上位装置がデータを送信している
最中に、印刷装置の電源を投入した場合、印刷装置は、
その電源が遮断中に上位装置から送信されたデータを受
信できず、電源投入後のデータのみを受信することにな
る。この結果、印刷装置は電源投入後の不十分なデータ
に基づく途中からの印刷を行うことになり、印刷媒体で
ある用紙等を無駄にすることになる。
If the power of the printing device is turned on while the upper device is transmitting data, the printing device
While the power is off, the data transmitted from the host device cannot be received, and only the data after the power is turned on will be received. As a result, the printing apparatus performs printing from the middle based on insufficient data after the power is turned on, and wastes paper or the like as a printing medium.

【0007】また上位装置において、データ送出と同時
にデータを消去してしまうようにプログラムされている
ことがある。そのような場合にあっては、データの授受
がなされていないにも関わらず、データが消去されると
いった事故が発生するといった問題点があった。
Further, the host device may be programmed to erase the data at the same time as the data transmission. In such a case, there has been a problem that an accident occurs such that the data is erased even though the data is not exchanged.

【0008】本発明は、上述した問題点を解決するため
になされたものであり、その目的は、電源遮断中に、デ
ータを送信する側の装置に対するビジー信号出力をアク
ティブとすることにより、データを送信する側が、誤っ
て電源が切られた状態にある装置へデータを送信するこ
とを防ぎ、上記した様々な弊害を未然に防ぐことが可能
なデータ処理装置を提供することにある。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to activate a busy signal output to a device which transmits data during power cutoff, thereby It is an object of the present invention to provide a data processing device capable of preventing the data transmitting side from accidentally transmitting data to a device that is in a power-off state, and can prevent the above-mentioned various adverse effects.

【0009】[0009]

【課題を解決するための手段】この目的を達成するため
に請求項1の発明は、外部より信号を受信してそのデー
タを処理する処理回路を有するデータ処理装置におい
て、電源が遮断された状態において、外部にデータ受信
不可能であることを示すステータス信号を出力するステ
ータス信号出力手段を有することを特徴とする。
In order to achieve this object, the invention of claim 1 is a data processing device having a processing circuit for receiving a signal from the outside and processing the data, in a state in which the power is cut off. In the above, it is characterized by further having a status signal output means for outputting a status signal indicating that data cannot be received externally.

【0010】また請求項2記載の発明は、請求項1記載
のデータ処理装置であって、前記ステータス信号出力手
段は、電源が投入された場合に所要の初期化処理を行っ
た後に、データ受信不可能であることを示すステータス
信号の送出を自動的に停止することを特徴とする。
According to a second aspect of the present invention, in the data processing apparatus according to the first aspect, the status signal output means receives data after performing required initialization processing when power is turned on. It is characterized by automatically stopping the transmission of the status signal indicating that it is impossible.

【0011】[0011]

【作用】上記構成を有する請求項1の発明のデータ処理
装置にあっては、該データ処理装置の電源が遮断中であ
る場合に、上位装置が当該データ処理装置に対するデー
タの送出を指示されたとしても、当該データ処理装置は
データ送信不可能を示すステータスを出力している為、
上位装置からのデータの送信はなされない。
According to the data processing apparatus of the present invention having the above structure, when the power source of the data processing apparatus is cut off, the host apparatus is instructed to send data to the data processing apparatus. However, since the data processing device outputs a status indicating that data transmission is impossible,
No data is transmitted from the host device.

【0012】また請求項2の発明にあっては、当該デー
タ処理装置の電源が投入された場合、印刷装置は適宜初
期化処理等を実行した後に、データ送信不可能を示すス
テータス信号の送出を停止するため、その時点で、上位
装置は当該データ処理装置に対してデータを送信を開始
できる。そのため、電源を投入し、所要の初期化処理が
行われた後に、当該データ処理装置は、データをその先
頭より欠落なく受信することができる。
Further, in the invention of claim 2, when the power of the data processing device is turned on, the printing device appropriately performs initialization processing and the like, and then sends out a status signal indicating that data transmission is impossible. Since it is stopped, the host device can start transmitting data to the data processing device at that point. Therefore, after the power is turned on and a required initialization process is performed, the data processing device can receive data from the beginning without loss.

【0013】[0013]

【実施例】以下、本発明のデータ処理装置を印刷装置に
具体化した一実施例を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which a data processing device of the present invention is embodied in a printing device will be described below with reference to the drawings.

【0014】図1は印刷装置の制御回路、駆動回路、及
びその周辺回路を示すブロック図である。
FIG. 1 is a block diagram showing a control circuit, a drive circuit, and peripheral circuits of the printing apparatus.

【0015】制御回路10はインターフェイス回路12
を介して上位装置からのデータを受信し、そのデータに
指示される動作を行う。駆動回路14は、制御回路の指
示に基づき、駆動系である印字ヘッド16、各種モータ
ー類18に対して電気的信号を供給しする。電源ユニッ
ト20は制御回路10、インターフェイス回路12等に
ロジック用電力を供給し、印字ヘッド16、各種モータ
ー類18等の駆動回路14には駆動用電力を供給する。
操作パネル22は、印刷装置の各種設定状態のオペレー
タに対する表示器、及びオペレータが印刷装置の設定を
変更する為のスイッチ等にて構成され、それらは制御回
路10にて制御及び監視される。また電源スイッチ23
は電源ユニット20に接続される。
The control circuit 10 is an interface circuit 12
Data is received from the higher-level device via the, and the operation instructed by the data is performed. The drive circuit 14 supplies an electric signal to the print head 16 and various motors 18, which are a drive system, based on an instruction from the control circuit. The power supply unit 20 supplies logic power to the control circuit 10, the interface circuit 12 and the like, and supplies drive power to the drive circuit 14 such as the print head 16 and various motors 18.
The operation panel 22 is composed of an indicator for an operator in various setting states of the printing apparatus, a switch for the operator to change the setting of the printing apparatus, etc., and these are controlled and monitored by the control circuit 10. The power switch 23
Is connected to the power supply unit 20.

【0016】印刷装置が上位装置に対してビジー信号を
アクティブとするのは、印刷装置の電源投入時の初期化
処理の時、印刷装置において内部的に故障が生じた時、
印字媒体が正常にセットされていない時、オペレータの
操作パネルでの操作により印刷装置と上位装置のインタ
ーフェイスが切断された時等がある。尚、印刷装置が電
源投入中においてこのビジー信号をアクティブにするか
否かの判断については公知であるので、その詳細な説明
は省略する。
The printing device activates the busy signal to the higher-level device when the printer is initialized when the power is turned on, or when an internal failure occurs in the printing device.
For example, when the print medium is not properly set, or when the interface between the printing apparatus and the upper apparatus is disconnected by the operation of the operator's operation panel. Note that it is well known to determine whether or not to activate the busy signal while the printing apparatus is powered on, and thus detailed description thereof will be omitted.

【0017】制御回路10には、ロジック用電力の電圧
が所定値以下の状態から所定値以上に推移したのを検知
して制御回路のリセット端子に公知のリセット信号を出
力するリセット回路が設けられている。従って、電源ス
イッチ23がオンとなりロジック用電力の電圧が安定し
た後に制御回路がリセットされるように構成されてい
る。
The control circuit 10 is provided with a reset circuit which detects that the voltage of the logic power has changed from a state below a predetermined value to a predetermined value or more and outputs a known reset signal to a reset terminal of the control circuit. ing. Therefore, the control circuit is reset after the power switch 23 is turned on and the voltage of the logic power is stabilized.

【0018】図2は、電源ユニットの構成を示す回路図
である。主電源20aは、一般の交流電源より電力を供
給され、所定直流電圧を出力する安定化電源である。こ
の主電源20aは、電源スイッチ23がオンの状態にお
いては、ロジック用電力として5ボルトの出力及び駆動
用電力として所望電圧の出力を出力するが、電源スイッ
チ23のオフ時にあってはその出力電圧がいずれも0ボ
ルトに落ちる。また補助電源20bは、蓄電池を主体と
するものであり、電源スイッチ23がオンの状態におい
て充電され、電源スイッチ23がオフとなっても、その
出力電圧は5ボルトに保たれる。
FIG. 2 is a circuit diagram showing the structure of the power supply unit. The main power supply 20a is a stabilized power supply that is supplied with power from a general AC power supply and outputs a predetermined DC voltage. When the power switch 23 is on, the main power source 20a outputs an output of 5 V as logic power and a desired voltage output as driving power. However, when the power switch 23 is off, the output voltage thereof is Both fall to 0 volts. The auxiliary power supply 20b is mainly composed of a storage battery, and is charged with the power switch 23 turned on, and its output voltage is kept at 5 volts even when the power switch 23 is turned off.

【0019】次に最終出力端用電力の発生回路について
説明すると、電源スイッチ23オン時には、その主電源
20aから供給されるロジック用電力32が、ダイオー
ド34を通して最終出力端用電力29として供給され
る。電源スイッチ23がオフされた状態においては、補
助電源20bから供給される補助電力37が、トランジ
スタ38、ダイオード40を通して最終出力端用電力2
9として供給される。
The power generation circuit for the final output terminal will be described. When the power switch 23 is turned on, the logic power 32 supplied from the main power supply 20a is supplied as the final output terminal power 29 through the diode 34. .. When the power switch 23 is turned off, the auxiliary power 37 supplied from the auxiliary power supply 20b passes through the transistor 38 and the diode 40 and the final output power 2
Supplied as 9.

【0020】また補助電源20bからの補助電力供給用
トランジスタ38の前段には、トランジスタ42、4
4、及び抵抗46、48、50、52が接続され、電源
投入中には、トランジスタ42はベース端子が電源ユニ
ット20からのロジック用電力32の供給線に抵抗46
によってプルアップされていることより導通状態とな
り、トランジスタ44を非導通状態とし、その結果、ト
ランジスタ38を非導通状態とする。このことにて、印
刷装置の電源スイッチ23がオンされている状態では、
補助電源20bからの電力供給は停止させられ、補助電
源20bの浪費を防いでいる。
Transistors 42, 4 are provided in front of the transistor 38 for supplying auxiliary power from the auxiliary power source 20b.
4 and resistors 46, 48, 50, 52 are connected, and the base terminal of the transistor 42 is connected to the resistor 46 to the supply line of the logic power 32 from the power supply unit 20 during power-on.
Since it is pulled up by, it becomes conductive, and the transistor 44 becomes non-conductive, and as a result, the transistor 38 becomes non-conductive. Therefore, when the power switch 23 of the printing apparatus is turned on,
The power supply from the auxiliary power source 20b is stopped, and the waste of the auxiliary power source 20b is prevented.

【0021】図3は、ビジー信号の出力回路を示す。こ
の回路はインターフェイス回路12に含まれ、制御回路
10によって制御される。ビジー信号の最終出力端には
オープンコレクタのトランジスタ24を用い、その出力
端子であるコレクタ端子は、抵抗26にて最終出力端用
電力29の供給線にプルアップされている。同時に、制
御回路10と最終出力端のトランジスタ24の入力端子
であるベース端子間の信号線は、電源ユニット20から
のロジック用電力32の供給線に抵抗30にてプルアッ
プされている。又、制御回路10のトランジスタ24へ
の出力は、オープンコレクタ出力とする。
FIG. 3 shows a busy signal output circuit. This circuit is included in the interface circuit 12 and controlled by the control circuit 10. An open collector transistor 24 is used for the final output terminal of the busy signal, and the collector terminal, which is the output terminal thereof, is pulled up by the resistor 26 to the supply line of the power 29 for the final output terminal. At the same time, the signal line between the control circuit 10 and the base terminal which is the input terminal of the transistor 24 at the final output end is pulled up by the resistor 30 to the supply line of the logic power 32 from the power supply unit 20. The output of the control circuit 10 to the transistor 24 is an open collector output.

【0022】印刷装置の電源スイッチ23がオフされて
いる状態では、出力回路の抵抗30に対してロジック用
電力32は供給されない。この結果、トランジスタ24
が非導通状態となる。この時、トランジスタのコレクタ
端子に接続された抵抗26には、補助電源20bからの
補助電力37が最終出力端用電力29として供給され、
ビジー信号の出力端子はハイ(アクティブ)を出力する
ことになる。
When the power switch 23 of the printing apparatus is off, the logic power 32 is not supplied to the resistor 30 of the output circuit. As a result, the transistor 24
Becomes non-conductive. At this time, the auxiliary power 37 from the auxiliary power supply 20b is supplied to the resistor 26 connected to the collector terminal of the transistor as the final output power 29,
The busy signal output terminal outputs high (active).

【0023】もしこの段階において、上位機器に対して
使用者がこの印刷装置に対する印字を指示したとして
も、上位機器に対してアクティブ状態のビジー信号が送
出されているので、上位機器から印字データ等が送出さ
れることはない。
At this stage, even if the user instructs the upper device to perform printing on the printing apparatus, since the busy signal in the active state is sent to the upper device, print data, etc. is sent from the upper device. Is never sent.

【0024】電源スイッチ23がオンとなると、ロジッ
ク用電力の電圧が安定した後に制御回路がリセット回路
より信号を受け、内部レジスタ等の初期化を行うととも
に、駆動回路等を初期位置に戻す等の装置全体の初期化
処理を行う。なお、この段階においては、まだ制御回路
はトランジスタ24のベース端子をロウとしたままとし
ている。このことにより、トランジスタ24は非導通状
態となり、その結果、出力端子であるコレクタ端子は、
抵抗26にて電源ユニット20からのロジック用電力3
2の供給線にプルアップされていることにより、ハイを
出力することになる。従ってビジー信号はアクティブの
ままである(図4のフローチャートにおけるS1)。そ
して、この初期化の処理が終了するとオンライン状態に
変える(同S2)。そしてその後に、トランジスタ24
のベースをハイとする。従ってビジー信号がノンアクテ
ィブとなる(同S3)。この状態において制御回路10
は必要に応じてトランジスタ24のベース電位のハイ/
ロウを切換え、ビジー信号を制御するのだが、その処理
は従来の印刷装置と同等でありその説明を省く。
When the power switch 23 is turned on, the control circuit receives a signal from the reset circuit after the logic power voltage is stabilized, initializes the internal registers and the like, and returns the drive circuit and the like to the initial position. Initialize the entire device. Note that at this stage, the control circuit still leaves the base terminal of the transistor 24 low. As a result, the transistor 24 becomes non-conductive, and as a result, the collector terminal, which is the output terminal, becomes
Power for logic 3 from power supply unit 20 by resistor 26
Since it is pulled up to the second supply line, it outputs high. Therefore, the busy signal remains active (S1 in the flowchart of FIG. 4). When the initialization process is completed, the online state is set (S2). And after that, the transistor 24
The base of is set to high. Therefore, the busy signal becomes non-active (at step S3). In this state, the control circuit 10
Is a high level of the base potential of the transistor 24 as necessary.
Although the row is switched and the busy signal is controlled, the processing is the same as that of the conventional printing apparatus and its explanation is omitted.

【0025】従って、上位機器が印刷を指示した時に印
刷装置が電源スイッチ23がオフであれば、印刷装置
は、上位装置に対してビジー信号出力をアクティブとし
ているので、上位装置は印刷装置に対してデータの送信
ができず、待機状態となる。
Therefore, if the power switch 23 of the printing apparatus is off when the printing apparatus instructs the printing apparatus, the printing apparatus activates the busy signal output to the printing apparatus, and the printing apparatus sends the printing apparatus to the printing apparatus. Data cannot be sent, and the device enters the standby state.

【0026】使用者が上位機器に対して印字を指示した
後に、印刷装置の電源スイッチ23をオンとしたとして
も、当該印刷装置の初期化が終了し、オンライン状態に
切り替わるまでビジー信号がアクティブとなり続ける。
そしてオンライン状態に切換わると自動的にビジー信号
がノンアクティブとなる(印字不可を示すステータス信
号の送出が停止される)ので、上位機器は、その段階で
初めてデータの送出を開始することになる。
Even if the user turns on the power switch 23 of the printing device after the user instructs the upper device to print, the busy signal becomes active until the initialization of the printing device is completed and the printer is switched to the online state. to continue.
Then, when switching to the online state, the busy signal automatically becomes inactive (the transmission of the status signal indicating that printing is not possible is stopped), so the host device will start transmitting data for the first time at that stage. ..

【0027】従って印刷装置はデータを欠落することな
く最初から受信できる。
Therefore, the printing apparatus can receive data from the beginning without missing data.

【0028】なお、上記実施例にあっては補助電源20
bとして蓄電池を用いたが、大容量コンデンサー、乾電
池等でも代用可能である。
In the above embodiment, the auxiliary power source 20
Although the storage battery is used as b, a large capacity condenser, a dry battery, or the like can be used instead.

【0029】又、印刷装置が電源遮断中でも、印刷装置
が上位装置と接続されていなければビジー信号出力をア
クティブにする必要はない。このことから、上位装置と
の接続を検出する機構を設けて、未接続時には、補助電
源20bからの最終出力端用電力の供給を停止する様に
すれば、補助電源20bの電力の浪費を防ぐことができ
る。
Further, even if the printing device is powered off, it is not necessary to activate the busy signal output unless the printing device is connected to the host device. Therefore, if a mechanism for detecting the connection with the host device is provided and the supply of the power for the final output terminal from the auxiliary power supply 20b is stopped when the device is not connected, the power consumption of the auxiliary power supply 20b is prevented. be able to.

【0030】更に、印刷装置が上位装置と接続されてい
ても上位装置の電源が投入されていなければ、データは
送信されてこない為、ビジー信号出力をアクティブにす
る必要はない。このことから、上位装置の電源投入状態
を検出する回路を設けて、上位装置の電源が投入されて
いない時には、補助電源20bからの電源供給を停止す
る様にすれば補助電源20bの浪費を防ぐことができ
る。
Further, even if the printing apparatus is connected to the host apparatus, if the power of the host apparatus is not turned on, no data is transmitted, so it is not necessary to activate the busy signal output. For this reason, a circuit for detecting the power-on state of the host device is provided, and when the power of the host device is not turned on, the power supply from the auxiliary power source 20b is stopped to prevent waste of the auxiliary power source 20b. be able to.

【0031】更に、上位装置とのインターフェイス回路
において上位装置から補助電源20bとして用いること
ができる電力の供給がなされている場合には、印刷装置
にて補助電源20bを用意することなく、その上位装置
から供給される電力に依存してビジー信号出力をハイと
することができる。この場合には、上位装置との接続を
検出する機構、及び上位装置の電源投入状態を検出する
回路は不要となる。
Further, when the interface circuit with the higher-level device supplies electric power that can be used as the auxiliary power source 20b from the higher-level device, the higher-level device does not need to prepare the auxiliary power source 20b in the printing device. The busy signal output can be high depending on the power supplied from the. In this case, the mechanism for detecting the connection with the host device and the circuit for detecting the power-on state of the host device are unnecessary.

【0032】又、印刷装置の上位装置に対するビジー信
号がロウ状態でアクティブの場合には、電気的回路を設
けることなく、印刷装置と上位装置が接続されている時
には、その信号をロウとする機構を設けることにより対
処できる。この構成を図5に示す。スイッチ54は印刷
装置の電源スイッチ23の反転スイッチであり、電源遮
断中にのみ接続状態となる。印刷装置が電源遮断中おい
て、印刷装置と上位装置が接続されている場合、スイッ
チ54が接続状態となり、ビジー信号出力をロウとす
る。印刷装置が電源投入中では、スイッチ54が未接続
状態となり、ビジー信号出力は制御回路10の制御に基
づく。
Further, when the busy signal to the host device of the printing device is active in the low state, when the printing device and the host device are connected, the signal is set to be low without providing an electric circuit. Can be dealt with. This configuration is shown in FIG. The switch 54 is an inversion switch of the power switch 23 of the printing apparatus, and is in a connected state only when the power is cut off. If the printing apparatus is connected to the upper apparatus while the printing apparatus is powered off, the switch 54 is in the connected state and the busy signal output is set to low. While the printing apparatus is powered on, the switch 54 is not connected and the busy signal output is based on the control of the control circuit 10.

【0033】[0033]

【発明の効果】以上詳述したことから明らかなように、
請求項1の発明のデータ処理装置にあっては、該データ
処理装置の電源が遮断中である場合に、上位装置が当該
データ処理装置に対するデータの送出を指示されたとし
ても、当該データ処理装置はデータ送信不可能を示すス
テータスを出力している為、上位装置からのデータの送
信はなされない。そのため上位装置から無為にデータが
送信されてしまうことに起因する様々な弊害を未然に防
ぐことができる。また上位機器がデータの送信を始めた
後に、当該データ処理装置の電源が投入され、受信可能
状態となることにより、不完全なデータ(先頭部分が欠
落したデータ)を受信されることが無いので、誤ったデ
ータ処理、あるいは不完全なデータ処理を行うことがな
いといった効果もある。
As is clear from the above description,
According to the data processing apparatus of the invention of claim 1, even when the host apparatus is instructed to send data to the data processing apparatus when the power supply of the data processing apparatus is cut off, the data processing apparatus Outputs a status indicating that data cannot be transmitted, the data is not transmitted from the host device. Therefore, it is possible to prevent various adverse effects caused by the data being transmitted from the host device in a random manner. Also, since the data processing apparatus is powered on and becomes ready to receive data after the higher-level device starts transmitting data, incomplete data (data lacking the leading part) will not be received. Also, there is an effect that erroneous data processing or incomplete data processing is not performed.

【0034】また請求項2の発明にあっては、当該デー
タ処理装置の電源が投入された場合、印刷装置は適宜初
期化処理等を実行した後に、データ送信不可能を示すス
テータス信号の送出を停止するため、その時点で、上位
装置は当該データ処理装置に対してデータを送信を開始
できる。そのため、電源が投入され所要の初期化処理が
行われた後に、使用者の手を煩わせることなく当該デー
タ処理装置は自動的にデータをその先頭より欠落なく受
信することができるといった効果がある。
According to the second aspect of the present invention, when the power of the data processing device is turned on, the printing device appropriately performs initialization processing and the like and then sends out a status signal indicating that data transmission is impossible. Since it is stopped, the host device can start transmitting data to the data processing device at that point. Therefore, after the power is turned on and the required initialization processing is performed, the data processing device can automatically receive data from the beginning without any trouble for the user. ..

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

【図1】印刷装置の制御回路を示すブロック図である。FIG. 1 is a block diagram illustrating a control circuit of a printing apparatus.

【図2】電源ユニットを示す図である。FIG. 2 is a diagram showing a power supply unit.

【図3】ビジー信号出力回路を示す図である。FIG. 3 is a diagram showing a busy signal output circuit.

【図4】制御回路の制御を示すフローチャートである。FIG. 4 is a flowchart showing control of a control circuit.

【図5】ビジー信号がロウでアクティブである場合の実
施例を示す図である。
FIG. 5 is a diagram showing an embodiment in which a busy signal is low and active.

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

10 制御回路 12 インターフェイス回路 20 電源ユニット 24 最終出力端用トランジスタ 28 最終出力端用電源 32 ロジック用電力 20b 補助電源 38 補助電力供給用トランジスタ 54 電源遮断反転スイッチ 10 Control Circuit 12 Interface Circuit 20 Power Supply Unit 24 Final Output End Transistor 28 Final Output End Power Supply 32 Logic Power 20b Auxiliary Power Supply 38 Auxiliary Power Supply Transistor 54 Power Cutoff Inversion Switch

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 外部より信号を受信してそのデータを処
理する処理回路を有するデータ処理装置において、 電源が遮断された状態において、外部にデータ受信不可
能であることを示すステータス信号を出力するステータ
ス信号出力手段を有することを特徴とするデータ処理装
置。
1. A data processing device having a processing circuit which receives a signal from the outside and processes the data, and outputs a status signal indicating that the data cannot be received to the outside when the power is cut off. A data processing device comprising a status signal output means.
【請求項2】 請求項1記載のデータ処理装置にあっ
て、 前記ステータス信号出力手段は、電源が投入された場合
に所要の初期化処理を行った後にデータ受信不可能であ
ることを示すステータス信号の送出を自動的に停止する
ことを特徴とするデータ処理装置。
2. The data processing device according to claim 1, wherein the status signal output means indicates that data cannot be received after performing required initialization processing when power is turned on. A data processing device characterized by automatically stopping signal transmission.
JP4103145A 1992-04-22 1992-04-22 Data processor Pending JPH05298044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4103145A JPH05298044A (en) 1992-04-22 1992-04-22 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4103145A JPH05298044A (en) 1992-04-22 1992-04-22 Data processor

Publications (1)

Publication Number Publication Date
JPH05298044A true JPH05298044A (en) 1993-11-12

Family

ID=14346354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4103145A Pending JPH05298044A (en) 1992-04-22 1992-04-22 Data processor

Country Status (1)

Country Link
JP (1) JPH05298044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012206428A (en) * 2011-03-30 2012-10-25 Oki Data Corp Printing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012206428A (en) * 2011-03-30 2012-10-25 Oki Data Corp Printing apparatus

Similar Documents

Publication Publication Date Title
US6727952B1 (en) Electronic device having common connector
US20040015733A1 (en) Power management apparatus, power management method, and power management system
JP2001337752A (en) Peripheral device of host unit
JPH05298044A (en) Data processor
JPH11215031A (en) Electronic unit
JPH0594236A (en) Power source controller
EP0369782A2 (en) Drive circuit for operating an appliance such as a printer
JP3012378B2 (en) Printer interface circuit
JP2004127188A (en) Information processing system
JPH05333973A (en) Power unit for portable computer
US6097506A (en) Electricity turning-on control device and facsimile device
KR100272102B1 (en) Image forming apparatus
JP2006211499A (en) Image forming system
JP3076196B2 (en) Computer system and communication method thereof
JP3031099B2 (en) Portable printer
JPH0946915A (en) Power control circuit of small-sized electronic equipment
JPH1185337A (en) Portable information terminal
JPH0738147B2 (en) Uninterruptible power system
KR0130785Y1 (en) Card exchange detecting device
JPH10230665A (en) Printing apparatus
JP2022180860A (en) Power supply control device and power supply control method
JPH05241978A (en) Electronic equipment
JPH054427A (en) Printer
KR20010056419A (en) Circuit controlling power supply in computer
JPH10287023A (en) Power source control apparatus