JPH07195801A - Power on-of controller of printer - Google Patents

Power on-of controller of printer

Info

Publication number
JPH07195801A
JPH07195801A JP5352356A JP35235693A JPH07195801A JP H07195801 A JPH07195801 A JP H07195801A JP 5352356 A JP5352356 A JP 5352356A JP 35235693 A JP35235693 A JP 35235693A JP H07195801 A JPH07195801 A JP H07195801A
Authority
JP
Japan
Prior art keywords
power supply
main power
command
unit
printer
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
JP5352356A
Other languages
Japanese (ja)
Inventor
Ryuichi Kamimura
立一 上村
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5352356A priority Critical patent/JPH07195801A/en
Publication of JPH07195801A publication Critical patent/JPH07195801A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To turn on and off a printer connected with a host unit by a polling system, interlocking the printer with the host unit. CONSTITUTION:When a printer 10 is in an on state, even if a predetermined time has elapsed, unless a command is sent from a host unit, the printer 10 is turned off automatically on the assumption that the host unit 30 is turned off. When the printer 10 is in an off condition, if a command is sent from the host unit 30, the printer 10 is turned on automatically on the assumption that the host unit is turned on.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、上位装置にポーリング
方式で接続される印刷装置の主電源をオンオフ制御する
電源オンオフ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply on / off control device for controlling on / off of a main power supply of a printing device connected to a host device by a polling method.

【0002】[0002]

【従来の技術】例えばホストコンピュータのような上位
装置からの指示によって印刷装置(例えば、プリンタ、
ファクシミリ装置、複写機、画像印刷装置、等)の電源
をオン(投入)あるいはオフ(切断)にする電源オンオ
フ制御装置については、特開平4−275613号公報
に記載されるように、インタフェースケーブルを介して
ホストコンピュータからの電源ON/OFF信号を常時
監視する信号監視回路と、信号監視回路に接続され印刷
装置の電源のオンまたはオフを行う電源ON/OFF回
路と、を備えた電源オンオフ制御装置が知られている。
この装置によれば、ホストコンピュータ側とプリンタ装
置側の両方にプリンタ装置の主電源のオンオフ制御装置
を備える。そして、ホストコンピュータ側の電源オンオ
フ制御装置からの電源のオンまたはオフを指示する信号
によって、プリンタ側の電源オンオフ制御装置がプリン
タ装置の主電源をオンオフ制御している。
2. Description of the Related Art A printing device (for example, a printer, etc.) is instructed by a host device such as a host computer.
As for a power on / off control device for turning on (turning on) or turning off (off) a power source of a facsimile device, a copying machine, an image printing device, etc., as described in JP-A-4-275613, an interface cable is used. A power on / off control device including a signal monitoring circuit that constantly monitors a power on / off signal from a host computer via a power supply, and a power on / off circuit that is connected to the signal monitoring circuit to turn on / off the power of the printing apparatus. It has been known.
According to this device, an on / off control device for the main power supply of the printer device is provided on both the host computer side and the printer device side. Then, the power on / off control device on the printer side controls on / off of the main power supply of the printer device by a signal from the power on / off control device on the host computer side to instruct the power on / off.

【0003】一般的に、このようなホストコンピュータ
からの指示によって印刷装置の主電源をオンオフ制御す
る機能は、ホストコンピュータ側の電源がオンあるいは
オフにされたことに連動して印刷装置の主電源もまたオ
ンあるいはオフにされるような場合に使用される。
Generally, the function of controlling on / off of the main power supply of the printing apparatus according to such an instruction from the host computer is linked to the fact that the power supply of the host computer is turned on or off. Is also used when it is turned on or off.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
たような電源オンオフ制御装置では、ホストコンピュー
タと印刷装置との両側に電源の制御機能を備える必要が
ある。すなわち、印刷装置側に電源制御機能を備えると
ともに、印刷装置の電源を制御するようには、予め設計
されていないホストコンピュータ側にも電源制御機能を
備えるための改造が必要であった。
However, in the power supply on / off control device as described above, it is necessary to provide a power supply control function on both sides of the host computer and the printing device. That is, in order to control the power supply of the printing apparatus while the printing apparatus has the power supply control function, it is necessary to modify the host computer side, which is not designed in advance, to have the power supply control function.

【0005】ゆえに、本発明の目的は、特にホストコン
ピュータとポーリング方式で接続された印刷装置におい
て、ホストコンピュータ側の機能を増設することなく、
主電源をオンオフ制御する印刷装置の電源オンオフ制御
装置を提供することにある。
Therefore, it is an object of the present invention, particularly in a printing apparatus connected to a host computer by a polling method, without increasing the function of the host computer side.
Another object of the present invention is to provide a power supply on / off control device for a printing device, which controls on / off of a main power supply.

【0006】[0006]

【課題を解決するための手段】本発明による印刷装置の
電源オンオフ制御装置は、上位装置から所定時間間隔で
送出されてくるコマンドを常時監視し、コマンドを受信
するたびにコマンド受信通知を出力するコマンド監視部
と、起動時からの経過時間をカウントし、所定時間以上
の第2の所定時間を経過したときにタイムアウト発生通
知を出力するタイマ部と、主電源がオン状態のときは、
もしタイマ部からタイムアウト発生通知があれば主電源
をオフにし、もしコマンド監視部からコマンド受信通知
があればタイマ部をリセットすると同時に起動し、主電
源がオフ状態のときは、コマンド監視部からコマンド受
信通知があれば主電源をオンにする主電源制御手段と、
を備えている。
A power supply on / off control device for a printing apparatus according to the present invention constantly monitors a command sent from a higher-level device at predetermined time intervals, and outputs a command reception notification each time the command is received. When the main power supply is in the ON state, the command monitoring unit, the timer unit that counts the elapsed time from the startup and outputs the timeout occurrence notification when the second predetermined time that is equal to or longer than the predetermined time has elapsed,
If there is a timeout occurrence notification from the timer unit, turn off the main power supply, and if there is a command reception notification from the command monitoring unit, reset the timer unit and start it at the same time.If the main power supply is off, the command monitoring unit Main power control means to turn on the main power if there is a reception notification,
Is equipped with.

【0007】[0007]

【作用】本発明によれば、印刷装置の主電源がオンの状
態では、コマンド監視部からコマンド受信通知があれ
ば、主電源制御手段は、タイマ部をリセットすると同時
に起動する。このような動作をコマンド受信通知のある
たびに繰り返す。これにより、主電源オンの状態でタイ
マ部のタイムアウトが発生する前にコマンド受信通知が
ある間は主電源はオン状態を維持する。
According to the present invention, when the main power source of the printing apparatus is on, the main power source control means is activated at the same time as resetting the timer portion if there is a command reception notification from the command monitoring portion. Such an operation is repeated each time a command reception notification is issued. As a result, the main power supply is maintained in the on state while the command reception notification is issued before the time-out of the timer section occurs in the main power-on state.

【0008】反対に、主電源がオンの状態でコマンド監
視部からコマンド受信通知がなくタイマ部のタイムアウ
ト発生通知があれば、第2の所定の時間を経過してもな
おコマンドを受信していないので上位装置の電源がオフ
にされたと判断することができ、主電源制御手段は主電
源をオフにする。
On the other hand, when the main power supply is on and there is no command reception notification from the command monitoring unit but a timer occurrence notification, the command has not been received even after the second predetermined time has elapsed. Therefore, it can be determined that the power supply of the host device has been turned off, and the main power supply control means turns off the main power supply.

【0009】この一方、主電源がオフの状態で、コマン
ド監視部からコマンド受信通知があれば、上位装置の電
源がオンにされたと判断することができ、主電源制御手
段は主電源をオンにする。
On the other hand, if there is a command reception notification from the command monitoring unit while the main power supply is off, it can be determined that the power supply of the host device has been turned on, and the main power supply control means turns on the main power supply. To do.

【0010】このようにして、本発明では、上位装置の
電源オンオフに連動して主電源のオンオフ制御を行う。
In this way, according to the present invention, the on / off control of the main power source is performed in conjunction with the power on / off of the host device.

【0011】[0011]

【実施例】以下、図面に基づいて本発明の実施例につい
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1には、本発明に係わる電源オンオフ制
御装置32が設けられた印刷装置10の一実施例の構成
が概略的に示されている。この印刷装置10は、本発明
による電源オンオフ制御装置32およびプリンタ部20
からなり、その電源オンオフ制御装置32は、コマンド
監視部12と、タイマ部16と、主電源制御手段34
と、副電源回路26と、を備えている。この内、コマン
ド監視部12は、上位装置としてのホストコンピュータ
30にインタフェースケーブル28を介してポーリング
方式で接続されている。このコマンド監視部12は、ホ
ストコンピュータ30から所定のポーリング周期で送信
されてくるコマンドブロックの受信を監視し、コマンド
ブロックを受信するたびに、コマンドを受信したことに
よる割り込みを発生し、後述する電源ON/OFF判断
部14にコマンドを受信したことを通知する。
FIG. 1 schematically shows the construction of an embodiment of a printing apparatus 10 provided with a power on / off control device 32 according to the present invention. This printing device 10 includes a power on / off control device 32 and a printer section 20 according to the present invention.
The power supply on / off control device 32 includes a command monitoring unit 12, a timer unit 16, and a main power supply control unit 34.
And a sub power supply circuit 26. Among them, the command monitoring unit 12 is connected to a host computer 30 as a host device via an interface cable 28 by a polling method. The command monitoring unit 12 monitors the reception of a command block transmitted from the host computer 30 in a predetermined polling cycle, generates an interrupt due to the reception of the command every time the command block is received, and supplies power to the power supply described later. The ON / OFF determination unit 14 is notified that the command has been received.

【0013】主電源制御手段34は、電源ON/OFF
判断部14と、主電源制御部18と、主電源回路22
と、を含んで構成されている。これをさらに詳述する
と、電源ON/OFF判断部14は、図2(a)に示さ
れる電源管理テーブルを備えている。電源管理テーブル
の「主電源状態」には、現在の印刷装置10の主電源が
オンまたはオフいずれの状態であるかを表すデータが格
納されており、図2(b)に、「主電源状態」に格納さ
れるデータがどのような状態を表すかを示す。16進表
示のX′80′が格納されていれば現在の主電源がオン
であることを示し、16進表示のX′40′が格納され
ていれば現在の主電源がオフであることを示す。電源管
理テーブルの「タイマ値」には、現在の時間間隔を監視
するのに使用されているタイムアウト値が格納されてお
り、秒単位で管理される値(例えば、1秒であればX′
01′、10秒であればX′0A′)が格納されてい
る。
The main power source control means 34 turns on / off the power source.
Judgment unit 14, main power supply control unit 18, and main power supply circuit 22
And are included. More specifically, the power ON / OFF determination unit 14 has a power management table shown in FIG. In the "main power supply state" of the power management table, data indicating whether the current main power supply of the printing apparatus 10 is on or off is stored, and "main power supply state" is shown in FIG. 2B. "Shows what state the data stored in" represents. If the hexadecimal display X'80 'is stored, it means that the current main power supply is on, and if the hexadecimal display X'40' is stored, it means that the current main power supply is off. Show. The "timer value" of the power management table stores a timeout value used to monitor the current time interval, and is a value managed in seconds (for example, if 1 second is X '.
If 01 'and 10 seconds, X'0A') is stored.

【0014】この電源ON/OFF判断部14は、コマ
ンド監視部12からコマンドブロックを受信したことを
通知されることによって、もし現在の印刷装置10の主
電源状態がオフであれば、電源管理テーブルの「主電源
状態」の内容を主電源オン(X′80′)にして主電源
制御部18に電源ON要求を送出する。そして、タイマ
部16をリセットし、電源管理テーブルの「タイマ値」
に格納された所定のタイムアウト値をタイマ部16に設
定し、タイマ部16を起動する。もし現在の印刷装置1
0の主電源状態がオンであれば、タイマ部16をリセッ
トし、電源管理テーブルの「タイマ値」に格納された所
定のタイムアウト値をタイマ部16にあらたに設定し、
そしてタイマ部16を起動する。
The power ON / OFF judging section 14 is notified from the command monitoring section 12 that the command block has been received, and if the current main power state of the printing apparatus 10 is OFF, the power management table is displayed. The content of the "main power supply state" is turned on (X'80 ') and the power supply request is sent to the main power supply control unit 18. Then, the timer unit 16 is reset, and the "timer value" in the power management table is reset.
The predetermined time-out value stored in is set in the timer unit 16, and the timer unit 16 is activated. If the current printing device 1
If the main power supply state of 0 is ON, the timer unit 16 is reset, and the predetermined timeout value stored in the "timer value" of the power supply management table is newly set in the timer unit 16,
Then, the timer unit 16 is activated.

【0015】タイマ部16は設定されたタイムアウト値
の時間が経過するとタイムアウトが発生したことを電源
ON/OFF判断部14に通知する。このタイマ部16
からの通知によって、電源ON/OFF判断部14は、
電源管理テーブルの「主電源状態」の内容を主電源オフ
(X′40′)にして、主電源制御部18に対して印刷
装置10の主電源をオフにするための電源OFF要求を
送出する。
The timer section 16 notifies the power ON / OFF judging section 14 that a time-out has occurred when the set time-out value has elapsed. This timer unit 16
From the notification from the power ON / OFF determination unit 14,
The content of "main power supply state" in the power supply management table is set to main power off (X'40 '), and a power off request for turning off the main power of the printing apparatus 10 is sent to the main power control unit 18. .

【0016】主電源制御部18は、電源ON/OFF判
断部14からの電源ON要求または電源OFF要求に基
づいて、主電源をオンまたはオフにする信号を主電源回
路22に送出する。
The main power source control unit 18 sends a signal for turning on or off the main power source to the main power source circuit 22 based on the power source ON request or the power source OFF request from the power source ON / OFF judging unit 14.

【0017】外部からプラグ24を介して電源を取り込
む主電源回路22は、主電源制御部18からの信号に応
じて主電源を投入あるいは切断する。なお、主電源回路
22は、主電源をオフにする信号によって、印刷装置1
0の主要部分であるプリンタ部20への主電源を切断す
るが、プラグ24から外部電源を取り込む副電源回路2
6からプリンタ部20以外の上述した各処理部へは、図
示されない電源供給線を介して必要とされる電源が供給
されている。
The main power supply circuit 22 which takes in power from the outside via the plug 24 turns on or off the main power according to a signal from the main power control unit 18. Note that the main power supply circuit 22 receives the signal to turn off the main power supply, and then the printing apparatus 1
The main power supply to the printer unit 20, which is the main part of 0, is cut off, but the auxiliary power supply circuit 2 that takes in the external power supply from the plug 24
The required power is supplied from 6 to the above-described processing units other than the printer unit 20 via a power supply line (not shown).

【0018】以下、図3のフローチャートに基づいて、
上述の各部により構成された本実施例の電源オンオフ制
御装置32の動作について説明する。
Hereinafter, based on the flowchart of FIG.
The operation of the power supply on / off control device 32 of the present embodiment configured by the above-mentioned units will be described.

【0019】稼働中のホストコンピュータ30は、送信
すべき印刷ファイルがない場合、すなわち、アイドル状
態の場合には、予め定められたポーリング周期でコマン
ドブロックをインタフェースケーブル28を介して印刷
装置10に送信している。印刷装置10側では、コマン
ド監視部12がホストコンピュータ30からコマンドブ
ロックが受信されたかどうかを常時監視している。コマ
ンド監視部12は、コマンドブロックが受信されたなら
ば、コマンド受信による割り込みを発生することによっ
て電源ON/OFF判断部14にコマンドブロックの受
信を通知する。このコマンド受信による割り込みが発生
したときの割り込み処理のエントリポイントはステップ
100のコマンド受信割り込みルーチンのアドレスが設
定されている。
When there is no print file to be transmitted, that is, in the idle state, the host computer 30 in operation transmits a command block to the printing apparatus 10 via the interface cable 28 at a predetermined polling cycle. is doing. On the printer 10 side, the command monitoring unit 12 constantly monitors whether a command block is received from the host computer 30. When the command block is received, the command monitoring unit 12 notifies the power ON / OFF determination unit 14 of the reception of the command block by generating an interrupt due to the command reception. The address of the command reception interrupt routine of step 100 is set as the entry point of the interrupt processing when the interrupt due to this command reception occurs.

【0020】また、タイマ部16は所定のタイムアウト
値が設定されて起動されると、そのタイムアウト値の時
間が経過すれば、タイムアウト割り込みを発生する。こ
のタイムアウト割り込みが発生したときの割り込み処理
のエントリポイントはステップ200のタイムアウト割
り込みルーチンのアドレスが設定されている。
Further, when the timer section 16 is started with a predetermined time-out value set, when the time-out of the time-out value elapses, a time-out interrupt is generated. The address of the timeout interrupt routine of step 200 is set as the entry point of the interrupt process when the timeout interrupt occurs.

【0021】ここで、コマンド監視部12からのコマン
ド受信割り込みが発生すれば、処理は図示されないメイ
ンルーチンから電源ON/OFF判断部14のステップ
100のコマンド受信割り込みルーチンに切り換わる。
電源ON/OFF判断部14は、ステップ102におい
て、電源管理テーブルの「主電源状態」を参照し、現在
の印刷装置の主電源がオンまたはオフのいずれであるか
を判断する。もし主電源がオンであれば、ステップ10
8において、タイマ部16をリセットし、ステップ11
0において、電源管理テーブルの「タイマ値」に格納さ
れた所定のタイムアウト値をタイマ部16に設定し、タ
イマ部16を起動してメインルーチンに復帰する。ステ
ップ102の判断において、もし現在の印刷装置の主電
源がオフであれば、ステップ104に分岐し、電源管理
テーブルの「主電源状態」をオン(X′80′)に更新
し、ステップ106において、主電源制御部18に印刷
装置の主電源をオンにするための電源ON要求を送出
し、ステップ108に進んで上述のタイマ部16を起動
する処理を実行してメインルーチンに復帰する。
Here, if a command reception interrupt from the command monitoring unit 12 occurs, the process switches from a main routine (not shown) to the command reception interrupt routine of step 100 of the power ON / OFF determination unit 14.
In step 102, the power supply ON / OFF determination unit 14 refers to the “main power supply state” of the power supply management table and determines whether the current main power supply of the printing apparatus is ON or OFF. If the main power is on, step 10
8, the timer unit 16 is reset, and step 11
At 0, the predetermined timeout value stored in the “timer value” of the power management table is set in the timer unit 16, the timer unit 16 is activated, and the process returns to the main routine. If it is determined in step 102 that the current main power supply of the printing apparatus is off, the process branches to step 104, the "main power supply status" of the power management table is updated to on (X'80 '), and in step 106. A power-on request for turning on the main power supply of the printing apparatus is sent to the main power supply control unit 18, and the process proceeds to step 108 to execute the above-mentioned processing for starting the timer unit 16 to return to the main routine.

【0022】ここで、タイマ部16に設定されたタイム
アウト値の時間が経過してタイマ部16からタイムアウ
ト割り込みが発生すれば、処理はメインルーチンから電
源ON/OFF判断部14のステップ200のタイムア
ウト割り込みルーチンに切り換わる。電源ON/OFF
判断部14は、タイムアウトの発生によって、つまりホ
ストコンピュータ30から所定の時間間隔以内にコマン
ドブロックが受信されない場合、ホストコンピュータ3
0側の電源がオフにされたものと認識する。ステップ2
02において、電源管理テーブルの「主電源状態」をオ
フ(X′40′)に更新し、ステップ204において、
主電源制御部18に対して印刷装置の主電源をオフにす
るための電源OFF要求を送出してメインルーチンに復
帰する。
Here, if the time-out interrupt is generated from the timer unit 16 after the time of the time-out value set in the timer unit 16 has elapsed, the process is from the main routine to the time-out interrupt of step 200 of the power ON / OFF judging unit 14. Switch to routine. Power ON / OFF
When the command block is not received from the host computer 30 within a predetermined time interval due to the occurrence of timeout, the determination unit 14 determines that the host computer 3
Recognize that the power supply on the 0 side has been turned off. Step two
In 02, the "main power state" of the power management table is updated to off (X'40 '), and in step 204,
A power-off request for turning off the main power supply of the printing apparatus is sent to the main power supply control unit 18 to return to the main routine.

【0023】このようにして、コマンドブロックが受信
されるたびに、つぎのコマンドブロックがタイムアウト
にならずに受信されるか、あるいはタイムアウトになる
かどうかが検査され、それぞれの事象の発生に応じた処
理が繰り返し実行される。
In this way, each time a command block is received, it is checked whether the next command block is received without timing out, or whether it times out, and it is determined whether or not each event occurs. The process is repeatedly executed.

【0024】上述した処理の結果によって、電源ON/
OFF判断部14から送出されてくる印刷装置の主電源
をオンまたはオフにするための電源ON要求または電源
OFF要求によって、主電源制御部18が、主電源回路
22に主電源をオンまたはオフにする信号を送出する。
主電源回路22は主電源制御部18からの信号に基づい
てプリンタ部20への主電源をオンまたはオフにする。
Depending on the result of the above processing, the power is turned on /
In response to a power ON request or a power OFF request for turning on or off the main power of the printing apparatus, which is sent from the OFF determination unit 14, the main power control unit 18 turns on or off the main power to the main power circuit 22. To send the signal.
The main power supply circuit 22 turns on or off the main power supply to the printer unit 20 based on a signal from the main power supply control unit 18.

【0025】図3に示されるフローチャートでの処理
は、コマンド監視部12からのコマンドブロックの受信
による割り込みとタイマ部16からのタイムアウトによ
る割り込みによって処理が起動される実施例を述べた
が、コマンドブロックの受信を常時監視するプログラム
がコマンドブロックを受信することによって割り込みで
はなく分岐によって上述した処理と同様の処理がなさ
れ、タイマ部16が起動されてもよい。
The processing in the flowchart shown in FIG. 3 has been described with reference to the embodiment in which the processing is activated by the interruption due to the reception of the command block from the command monitoring section 12 and the interruption due to the timeout from the timer section 16. When the program that constantly monitors the reception of the command block receives the command block, the same process as the above-described process may be performed by the branch instead of the interrupt, and the timer unit 16 may be activated.

【0026】上述したように、本発明の電源オンオフ制
御装置32によれば、所定の時間内にホストコンピュー
タ30からコマンドが送出されてこなければ、ホストコ
ンピュータ30がその電源をオフにしたものと判断し
て、印刷装置10の現在の電源がオンであれば、印刷装
置10側の主電源もオフにすることができる。また、印
刷装置10の現在の電源がオフの状態のときに、ホスト
コンピュータ30からコマンドが送出されてくれば、ホ
ストコンピュータ30の電源がオンにされたものと判断
して、印刷装置10側の主電源もオンにすることができ
る。
As described above, according to the power-on / off control device 32 of the present invention, if the command is not sent from the host computer 30 within a predetermined time, it is determined that the host computer 30 has turned off the power. Then, if the current power supply of the printing apparatus 10 is on, the main power supply on the printing apparatus 10 side can also be turned off. If a command is sent from the host computer 30 while the current power supply of the printing apparatus 10 is off, it is determined that the power of the host computer 30 has been turned on, and the printing apparatus 10 side Main power can also be turned on.

【0027】なお、電源管理テーブルの「タイマ値」に
格納されているタイムアウトの時間間隔を定義する値
は、コマンド周期の時間間隔以上の値かあるいはコマン
ド周期の時間間隔の整数倍以上の値であってもよい。こ
の「タイマ値」は、固定的に記憶されたものであっても
よいし、あるいはオペレータが例えば印刷装置10の操
作パネルのような外部の入力装置から入力することによ
って任意に設定できるようになされてあってもよい。
The value that defines the time interval of the timeout stored in the "timer value" of the power management table is a value that is equal to or greater than the time interval of the command cycle or a value that is an integer multiple or more of the time interval of the command cycle. It may be. This "timer value" may be fixedly stored, or may be arbitrarily set by an operator by inputting it from an external input device such as an operation panel of the printing device 10. You can

【0028】また、ホストコンピュータと印刷装置との
間において特定の通信プロトコルが使用される場合は、
ポーリング周期の代わりにアイドル状態で周期的に送信
されてくる確認応答ブロックの時間間隔が監視されても
よい。
When a specific communication protocol is used between the host computer and the printing device,
Instead of the polling period, the time interval of the acknowledgment block periodically transmitted in the idle state may be monitored.

【0029】また、本発明による電源オンオフ制御装置
32は、ホストコンピュータと複数の印刷装置がマルチ
ポイントの形態で接続される場合にも適用することがで
きる。この場合には、アイドル状態でのホストコンピュ
ータから印刷装置に周期的に送信される制御ブロックの
時間間隔を上述のコマンド監視部12が監視してもよ
い。この場合には、「タイマ値」は、ホストコンピュー
タに接続される印刷装置の台数、等によって予め設計さ
れた値である。
The power on / off control device 32 according to the present invention can also be applied to a case where a host computer and a plurality of printing devices are connected in a multipoint form. In this case, the command monitoring unit 12 may monitor the time interval of the control block periodically transmitted from the host computer to the printing apparatus in the idle state. In this case, the "timer value" is a value designed in advance depending on the number of printing devices connected to the host computer.

【0030】[0030]

【発明の効果】上述したように、本発明によれば、ホス
トコンピュータを改造することなく、印刷装置側の制御
装置によって印刷装置の主電源をオンオフ制御すること
ができるので、ホストコンピュータの製造工程、検査、
等を変更する必要がない。また、ホストコンピュータの
付加機能を追加する費用が節減される。
As described above, according to the present invention, the main power supply of the printing apparatus can be turned on / off by the control unit on the printing apparatus side without modifying the host computer. , Inspection,
There is no need to change etc. Also, the cost of adding the additional function of the host computer is reduced.

【0031】さらに、ホストコンピュータ側の電源のオ
ンオフにあわせて印刷装置側の電源を自動的にオンオフ
制御することができるので、印刷装置の消費電力を節減
することができる。
Further, since the power source of the printing apparatus can be automatically turned on / off in accordance with the power source on / off of the host computer side, the power consumption of the printing apparatus can be saved.

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

【図1】本発明による印刷装置の電源オンオフ制御装置
のブロック図。
FIG. 1 is a block diagram of a power on / off control device for a printing apparatus according to the present invention.

【図2】図2(a)は電源管理テーブルの構造を示し、
図2(b)は「主電源状態」に格納される主電源状態を
表すデータの具体例を示す図。
FIG. 2A shows the structure of a power management table,
FIG. 2B is a diagram showing a specific example of data representing the main power supply state stored in “main power supply state”.

【図3】本発明による印刷装置の電源オンオフ制御装置
の動作を説明するフローチャート。
FIG. 3 is a flowchart illustrating an operation of a power on / off control device for a printing apparatus according to the present invention.

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

12 コマンド監視部 14 電源ON/OFF判断部 16 タイマ部 18 主電源制御部 20 プリンタ部 22 主電源回路 24 プラグ 26 副電源回路 28 インタフェースケーブル 30 ホストコンピュータ 32 電源オンオフ制御装置 34 主電源制御手段 12 command monitoring unit 14 power ON / OFF determination unit 16 timer unit 18 main power supply control unit 20 printer unit 22 main power supply circuit 24 plug 26 auxiliary power supply circuit 28 interface cable 30 host computer 32 power supply ON / OFF control device 34 main power supply control means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 上位装置にポーリング方式で接続された
印刷装置の主電源をオンオフ制御する印刷装置の電源オ
ンオフ制御装置であって、 前記上位装置から所定時間間隔で送出されてくるコマン
ドを常時監視し、前記コマンドを受信するたびにコマン
ド受信通知を出力するコマンド監視部と、 起動時からの経過時間をカウントし、前記所定時間以上
の第2の所定時間を経過したときにタイムアウト発生通
知を出力するタイマ部と、 前記主電源がオン状態で前記タイマ部からタイムアウト
発生通知があれば前記主電源をオフにし前記コマンド監
視部からコマンド受信通知があれば前記タイマ部をリセ
ットすると同時に起動し、前記主電源がオフ状態で前記
コマンド監視部からコマンド受信通知があれば前記主電
源をオンにする主電源制御手段と、 を備えた印刷装置の電源オンオフ制御装置。
1. A power on / off control device for a printing device, which controls on / off of a main power supply of a printing device connected to a host device by a polling method, and constantly monitors a command sent from the host device at a predetermined time interval. Then, a command monitoring unit that outputs a command reception notification each time the command is received, and a time elapsed from the time of startup are counted, and a timeout occurrence notification is output when a second predetermined time equal to or more than the predetermined time elapses. When the main power supply is in the ON state and there is a timeout occurrence notification from the timer unit, the main power supply is turned off, and if there is a command reception notification from the command monitoring unit, the timer unit is reset and activated at the same time. A main power supply control means for turning on the main power supply when a command reception notification is issued from the command monitoring unit while the main power supply is off A power-on / off control device for a printing device, comprising:
JP5352356A 1993-12-29 1993-12-29 Power on-of controller of printer Pending JPH07195801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5352356A JPH07195801A (en) 1993-12-29 1993-12-29 Power on-of controller of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5352356A JPH07195801A (en) 1993-12-29 1993-12-29 Power on-of controller of printer

Publications (1)

Publication Number Publication Date
JPH07195801A true JPH07195801A (en) 1995-08-01

Family

ID=18423503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5352356A Pending JPH07195801A (en) 1993-12-29 1993-12-29 Power on-of controller of printer

Country Status (1)

Country Link
JP (1) JPH07195801A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120812B2 (en) 2004-03-11 2006-10-10 Seiko Epson Corporation Power supply control apparatus and power supply control method
JP2007196533A (en) * 2006-01-26 2007-08-09 Seiko Epson Corp Printer, host computer, printing system and control method of printing system
US7369173B2 (en) 1997-02-28 2008-05-06 Canon Kabushiki Kaisha Image processing apparatus and control method therefor
JP2009205538A (en) * 2008-02-28 2009-09-10 Canon Inc Electronic apparatus, power state control method and computer program
JP2010176708A (en) * 2010-05-07 2010-08-12 Buffalo Inc Network connecting type device and program
US8819160B2 (en) 2007-11-05 2014-08-26 Buffalo Inc. Network-connectable device and method for managing power thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7369173B2 (en) 1997-02-28 2008-05-06 Canon Kabushiki Kaisha Image processing apparatus and control method therefor
US7120812B2 (en) 2004-03-11 2006-10-10 Seiko Epson Corporation Power supply control apparatus and power supply control method
JP2007196533A (en) * 2006-01-26 2007-08-09 Seiko Epson Corp Printer, host computer, printing system and control method of printing system
US8819160B2 (en) 2007-11-05 2014-08-26 Buffalo Inc. Network-connectable device and method for managing power thereof
JP2009205538A (en) * 2008-02-28 2009-09-10 Canon Inc Electronic apparatus, power state control method and computer program
US9098273B2 (en) 2008-02-28 2015-08-04 Canon Kabushiki Kaisha Electronic apparatus, method for controlling power state thereof, and storage medium storing the same
JP2010176708A (en) * 2010-05-07 2010-08-12 Buffalo Inc Network connecting type device and program

Similar Documents

Publication Publication Date Title
JP2000020179A (en) Printer system
KR20130090801A (en) Information processing apparatus and method for controlling the same
US6351824B1 (en) Methods and apparatuses for controlling the operation of a digital processing system
JPH07195801A (en) Power on-of controller of printer
JP2015026251A (en) Information processing device, control method for information processing device, and program
JP6547962B2 (en) Electronic device and power control program
JP2003032885A (en) Method and device for power control
JP2000353032A (en) Peripheral equipment with power saving function
JP2013183318A (en) Network system, network apparatus, and terminal device
JP4751628B2 (en) Image forming apparatus and image forming system
JPH08238822A (en) Power source controlling circuit for printer
JP6406520B2 (en) Electronic equipment and power control program
JP2002073220A (en) Automatic shut-down control system
US9628655B2 (en) Image forming apparatus and image forming method that are normally resettable in mode where operating voltage is not supplied to main CPU
JP2007021992A (en) Image forming system
JP2705617B2 (en) Power off method
JP2007034843A (en) Image forming apparatus, power control method, program, and memory medium
JP2004054560A (en) Power source managing device
JP2002108657A (en) Fault recovering method
JPH06342325A (en) Automatic power-on/off system for image reproducing device
JP2020076864A (en) Image forming apparatus, method for controlling the same, and program
JP2004206332A (en) Printer device and power supply control method of printer device
JP6341383B2 (en) Electronic equipment and power control program
JP2022175702A (en) Information processing device, method and program
JP2001341380A (en) Printing apparatus and printing system