JPH08286862A - Printer and power supply control method for printer - Google Patents

Printer and power supply control method for printer

Info

Publication number
JPH08286862A
JPH08286862A JP7085009A JP8500995A JPH08286862A JP H08286862 A JPH08286862 A JP H08286862A JP 7085009 A JP7085009 A JP 7085009A JP 8500995 A JP8500995 A JP 8500995A JP H08286862 A JPH08286862 A JP H08286862A
Authority
JP
Japan
Prior art keywords
power supply
potential
unit
state
interface
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
JP7085009A
Other languages
Japanese (ja)
Inventor
Muneji Hamano
宗二 浜野
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP7085009A priority Critical patent/JPH08286862A/en
Publication of JPH08286862A publication Critical patent/JPH08286862A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE: To allow a printer to manage power supply to a print resource by itself independently of a command of a host device. CONSTITUTION: When a timer finishes time-count of a prescribed time, a control circuit section 306 identifies a potential of an initializing signal monitored by a signal monitor section 302 is a potential for initialization or a potential caused by interruption of power by a host device to interrupt power supply from a power supply section 307 to a print processing section or part of the print processing section.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、上位装置の電源オン/
オフ状態をインタフェース信号の状態から自己診断して
自動的に印刷資源に対する電力供給状態を制御するプリ
ンタ装置およびプリンタ装置の電源制御方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention
The present invention relates to a printer device that self-diagnoses an off state from a state of an interface signal and automatically controls a power supply state to a printing resource, and a power supply control method of the printer device.

【0002】[0002]

【従来の技術】従来、インタフェースケーブルを介し
て、上位装置と接続され、電源オン/オフを自動的に行
うプリント装置は上位装置との通信が途絶えてから一定
時間後に電源オフしていた。電源オンする場合は、上位
装置からのデータ伝送の再開を検知し、それにより電源
オンし、印字を再開していた。
2. Description of the Related Art Conventionally, a printing apparatus, which is connected to a higher-level device via an interface cable and automatically turns on / off the power, has been turned off after a predetermined time has elapsed since the communication with the higher-level device was interrupted. When the power was turned on, the restart of data transmission from the host device was detected, and accordingly the power was turned on and printing was restarted.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例では、前記インタフェースケーブルの両サイドで電
源が別々であるために、一方だけ(上位装置またはプリ
ント装置)の電源オン/オフを行うと前記インタフェー
ス部の信号が不安定となり、論理レベルの中間レベルで
安定してしまう場合もあり、この時前記インタフェース
部に電源オンの状態で接続されている装置側は誤動作が
発生するという問題点があった。
However, in the above-mentioned conventional example, since the power supplies are different on both sides of the interface cable, if only one of them (upper device or printing device) is turned on / off, the interface is changed. In some cases, the signal of the unit becomes unstable and becomes stable at the intermediate level of the logic level. At this time, there is a problem that the device side connected to the interface unit in the power-on state causes a malfunction. .

【0004】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1〜第5の発明は、上
位装置側とプリンタ装置側のインタフェースポート上に
それぞれ電力を個別に供給してインタフェース上の信号
ラインの電位レベルを遷移させてインタフェースの状態
を自己判断して印刷資源に対する電力供給を制御するこ
とにより、上位装置側のコマンドに依存することなく、
印刷資源に対する電力供給を自己制御することができる
プリンタ装置およびプリンタ装置の電源制御方法を提供
することである。
The present invention has been made to solve the above problems. In the first to fifth aspects of the present invention, electric power is individually supplied to the interface ports of the host device side and the printer device side. To control the power supply to the printing resource by making a self-judgment of the state of the interface by changing the potential level of the signal line on the interface by supplying the
It is an object of the present invention to provide a printer device capable of self-controlling the power supply to a printing resource and a power supply control method for the printer device.

【0005】[0005]

【課題を解決するための手段】本発明に係る第1の発明
は、上位装置との通信を行うインタフェース手段と、前
記上位装置から受信した出力情報を処理して印刷する印
刷処理部と、前記印刷処理部を制御する制御手段と、前
記制御手段に常時電源を供給する電源手段と、前記上位
装置から前記制御手段に対して出力される所定の初期化
信号の電位をモニタするモニタ手段と、前記モニタ手段
がモニタする前記初期化信号の電位が初期化電位と認知
した場合に、所定時間を計時するタイマ手段とを設け、
前記制御手段が前記タイマ手段により前記所定時間の計
時を終了した場合に、前記モニタ手段がモニタする前記
初期化信号の電位状態が初期化のための電位状態か、ま
たは前記上位装置の電源オフによる電位状態かを識別し
て前記印刷処理部又はその一部に対する前記電源手段か
らの電源供給を遮断するものである。
According to a first aspect of the present invention, there is provided an interface means for communicating with a host device, a print processing unit for processing and printing output information received from the host device, and Control means for controlling the print processing unit; power supply means for constantly supplying power to the control means; monitor means for monitoring the potential of a predetermined initialization signal output from the host device to the control means; When the potential of the initialization signal monitored by the monitor means is recognized as an initialization potential, a timer means for counting a predetermined time is provided,
When the control means has finished counting the predetermined time by the timer means, the potential state of the initialization signal monitored by the monitor means is the potential state for initialization, or the power supply of the host device is turned off. The power supply from the power supply unit to the print processing unit or a part of the print processing unit is cut off by discriminating whether it is in a potential state.

【0006】本発明に係る第2の発明は、前記印刷処理
部又はその一部に対する前記電源手段からの電源供給を
遮断した状態中に、前記モニタ手段がモニタする前記初
期化信号の電位状態が初期化のための電位状態に遷移し
たかどうかを判別する判別手段とを設け、制御手段は前
記判別手段が前記初期化信号の電位状態が初期化のため
の電位状態に遷移したと判別した場合に、前記印刷処理
部又はその一部に対する前記電源手段からの電源供給を
再開するものである。
According to a second aspect of the present invention, the potential state of the initialization signal monitored by the monitor means is maintained while the power supply from the power supply means to the print processing section or a part thereof is cut off. And a control unit for determining whether the potential state of the initialization signal has transitioned to the potential state for initialization. In addition, the power supply from the power supply unit to the print processing unit or a part thereof is restarted.

【0007】本発明に係る第3の発明は、モニタ手段
は、前記上位装置から前記制御手段に対して出力される
所定の初期化信号をプルアップする抵抗器に印加される
電源をオンオフ制御して初期化信号の電位状態をモニタ
するものである。
According to a third aspect of the present invention, the monitor means controls ON / OFF of a power source applied to a resistor for pulling up a predetermined initialization signal output from the host device to the control means. To monitor the potential state of the initialization signal.

【0008】本発明に係る第4の発明は、モニタ手段
は、前記インタフェース手段の各インタフェースライン
入力をプルアップする抵抗器に印加する電源を入切する
入切手段と、前記インタフェースライン入力の初期化信
号のアナログ電圧値を検出する検出手段とを備えるもの
である。
According to a fourth aspect of the present invention, the monitor means is an on / off means for turning on / off a power supply applied to a resistor for pulling up each interface line input of the interface means, and an initial stage of the interface line input. And a detection means for detecting the analog voltage value of the converted signal.

【0009】本発明に係る第5の発明は、上位装置との
通信を行うインタフェース手段と、前記上位装置から受
信した出力情報を処理して印刷する印刷処理部を制御す
る制御手段と、前記制御手段に常時電源を供給する電源
手段とを備えるプリンタ装置の電源制御方法において、
前記インタフェース手段のリセット要求ラインの電位レ
ベルを検出する第1の検出工程と、該検出された電位レ
ベルが第1の電位範囲内かどうかを判定する第1の判定
工程と、タイマにより第1の時間を計時する第1の計時
工程と、該電位レベルが前記第1の電位範囲内と判定さ
れた場合に、前記インタフェース手段に接続されるプル
アップ抵抗器に対する電源をオフする第1の電源オフ工
程と、タイマにより第2の時間を計時する第2の計時工
程と、前記インタフェース手段のリセット要求ラインの
電位レベルが第2の電位範囲内かどうかを判定する第2
の判定工程と、該電位レベルが前記第2の電位範囲内と
判定された場合に、前記印刷処理部に対する前記電源手
段からの電源供給を遮断する第2の電源オフ工程とを有
するものである。
According to a fifth aspect of the present invention, interface means for communicating with a host device, control means for controlling a print processing unit for processing and printing output information received from the host device, and the control A power supply control method for a printer device, comprising:
A first detection step of detecting the potential level of the reset request line of the interface means, a first determination step of determining whether the detected potential level is within a first potential range, and a first step of using a timer. A first timing step of timing the time, and a first power-off for turning off power to the pull-up resistor connected to the interface means when the potential level is determined to be within the first potential range. And a second timing step of timing a second time by a timer, and a second step of determining whether the potential level of the reset request line of the interface means is within the second potential range.
And a second power-off step of shutting off the power supply from the power supply unit to the print processing unit when the potential level is determined to be within the second potential range. .

【0010】[0010]

【作用】第1の発明においては、制御手段が前記タイマ
手段により前記所定時間の計時を終了した場合に、前記
モニタ手段がモニタする前記初期化信号の電位状態が初
期化のための電位状態か、または前記上位装置の電源オ
フによる電位状態かを識別して前記印刷処理部又はその
一部に対する前記電源手段からの電源供給を遮断して、
上位装置からの指示に依らずに、印刷資源に対する電力
供給状態を上位装置からの指示がなくても印刷装置側が
自己管理することを可能とする。
In the first aspect of the present invention, the potential state of the initialization signal monitored by the monitor means is the potential state for initialization when the control means has finished counting the predetermined time by the timer means. Alternatively, the power supply from the power supply unit to the print processing unit or a part thereof is cut off by identifying whether the potential state is due to power-off of the host device,
This makes it possible for the printing apparatus to self-manage the power supply state for the printing resources without receiving an instruction from the higher-level apparatus, without depending on the instruction from the higher-level apparatus.

【0011】第2の発明においては、制御手段は前記判
別手段が前記初期化信号の電位状態が初期化のための電
位状態に遷移したと判別した場合に、前記印刷処理部又
はその一部に対する前記電源手段からの電源供給を再開
して、制御手段が上位装置側の電源オン状態を捉えて印
刷処理部を印刷可能な状態に遷移させることを可能とす
る。
In the second aspect of the present invention, the control means controls the print processing unit or a part thereof when the determining means determines that the potential state of the initialization signal has changed to the potential state for initialization. The power supply from the power supply unit is restarted, and the control unit can detect the power-on state of the higher-level device and shift the print processing unit to the printable state.

【0012】第3の発明においては、モニタ手段は、前
記上位装置から前記制御手段に対して出力される所定の
初期化信号をプルアップする抵抗器に印加される電源を
オンオフ制御して初期化信号の電位状態をモニタして、
初期化信号の電位状態が初期化のための電位状態か、ま
たは前記上位装置の電源オフによる電位状態かを速や
に、かつ適切なタイミングで識別することを可能とす
る。
In the third invention, the monitor means performs on / off control of a power supply applied to a resistor for pulling up a predetermined initialization signal output from the host device to the control means for initialization. Monitor the potential state of the signal,
It is possible to quickly and at a suitable timing discriminate whether the potential state of the initialization signal is the potential state for initialization or the potential state due to the power-off of the host device.

【0013】第4の発明においては、入切手段により前
記インタフェース手段の各インタフェースライン入力を
プルアップする抵抗器に印加する電源を入切した状態で
検出手段が前記インタフェースライン入力の初期化信号
のアナログ電圧値を検出して、初期化信号の電位状態が
初期化のための電位状態にあるのか、または前記上位装
置の電源オフによる電位状態にあるのかをモニタするこ
とを可能とする。
In a fourth aspect of the present invention, the detecting means outputs the initialization signal of the interface line input with the power supply applied to the resistor for pulling up each interface line input of the interface means by the on / off means. It is possible to detect the analog voltage value and monitor whether the potential state of the initialization signal is the potential state for initialization or the potential state due to the power-off of the host device.

【0014】第5の発明においては、前記インタフェー
ス手段のリセット要求ラインの電位レベルを検出し、該
検出された電位レベルが第1の時間を計時終了時点で第
1の電位範囲内かどうかを判定し、該電位レベルが前記
第1の電位範囲内と判定された場合に、前記インタフェ
ース手段に接続されるプルアップ抵抗器に対する電源を
オフした状態中に、インタフェース手段のリセット要求
ラインの電位レベルを検出し、第2の時間計時終了時点
で、該電位レベルが前記第2の電位範囲内と判定された
場合に、前記印刷処理部に対する前記電源手段からの電
源供給を遮断して、初期化信号の電位状態が初期化のた
めの電位状態か、または前記上位装置の電源オフによる
電位状態かを速やに、かつ適切なタイミングで識別し、
印刷資源に対する電力供給状態を上位装置からの指示が
なくても印刷装置側が自己管理することを可能とする。
In a fifth aspect of the invention, the potential level of the reset request line of the interface means is detected, and it is determined whether the detected potential level is within the first potential range at the time when the first time measurement is completed. However, when the potential level is determined to be within the first potential range, the potential level of the reset request line of the interface unit is set to the level while the power supply to the pull-up resistor connected to the interface unit is turned off. If the potential level is detected and the potential level is determined to be within the second potential range at the end of the second time counting, the power supply from the power supply unit to the print processing unit is shut off, and the initialization signal is output. The potential state of is a potential state for initialization, or a potential state due to the power-off of the host device, is quickly and at an appropriate timing identified,
It is possible for the printing apparatus side to self-manage the power supply state to the printing resource without an instruction from the host apparatus.

【0015】[0015]

【実施例】【Example】

〔第1実施例〕図1は本発明の第1実施例を示すプリン
タ装置の構成を説明するブロック図である。
[First Embodiment] FIG. 1 is a block diagram for explaining the arrangement of a printer apparatus according to the first embodiment of the present invention.

【0016】図において、301は上位装置で、プリン
タ装置Pに印刷情報(文字コード,制御コードまたはペ
ージ記述言語に準拠する印刷情報等)を送出するととも
に、プリンタ装置Pからステータス情報を受信して、印
刷情報の送信を行う。
In FIG. 1, reference numeral 301 denotes a host device which sends print information (character code, control code or print information conforming to a page description language) to the printer device P and receives status information from the printer device P. , Send print information.

【0017】302信号監視部で、上位装置301から
リセット信号309,データ信号310,ストローブ信
号312の入力を監視し、エラー信号311を上位装置
301に出力する。
The 302 signal monitoring section monitors the input of the reset signal 309, the data signal 310, and the strobe signal 312 from the host device 301, and outputs an error signal 311 to the host device 301.

【0018】303は受信バッファ部で、上位装置30
1から入力された印刷情報を記憶する。304はデータ
処理部で、印刷情報を解析して印字イメージへの展開を
行う。305は印刷部(プリンタエンジン)で、データ
処理部304から出力されるビットイメージデータに従
って記録媒体に印刷を行うものであって、例えばレーザ
ビームプリンタエンジン,インクジェットプリンタエン
ジン等で構成されている。
Reference numeral 303 denotes a reception buffer unit, which is the upper device 30.
The print information input from 1 is stored. A data processing unit 304 analyzes print information and develops it into a print image. A printing unit (printer engine) 305 prints on a recording medium according to the bit image data output from the data processing unit 304, and includes, for example, a laser beam printer engine and an inkjet printer engine.

【0019】306は制御回路部で、信号監視部302
からの入力に基づいてスイッチSW2の入切を制御す
る。スイッチSW2のオンオフにより制御回路部306
を除く印刷処理部(受信バッファ部303,処理部30
4,印刷部305)等への電源部307からの電源供給
が遮断される。308は前記制御回路部306のコント
ロールする電源ラインである。313はAC電源ライ
ン、314は常時供給される電源部からの電源ラインで
ある。
A control circuit unit 306 is a signal monitoring unit 302.
The ON / OFF of the switch SW2 is controlled based on the input from. The control circuit unit 306 is turned on / off by turning on / off the switch SW2.
Print processing units (reception buffer unit 303, processing unit 30)
4, the power supply from the power supply unit 307 to the printing unit 305) is cut off. Reference numeral 308 is a power supply line controlled by the control circuit unit 306. Reference numeral 313 is an AC power supply line, and 314 is a power supply line from the power supply unit that is constantly supplied.

【0020】図2は、図1に示した上位装置とプリンタ
装置Pとのインタフェース機構を説明する回路ブロック
図である。
FIG. 2 is a circuit block diagram for explaining an interface mechanism between the higher-level device shown in FIG. 1 and the printer device P.

【0021】図において、101はデータラインで、コ
ンピュータ側制御回路108からオープンコレクタイン
バータOCを介して送出されるデータをTTLインバー
タIVを介してプリンタ側信号監視部および制御回路部
106に入力する。
In the figure, 101 is a data line for inputting data sent from the computer side control circuit 108 via the open collector inverter OC to the printer side signal monitoring section and control circuit section 106 via the TTL inverter IV.

【0022】なお、プリンタ側信号監視部および制御回
路部106に入力されたデータはプリンタ側信号監視部
302および制御回路部306に送出される。
The data input to the printer-side signal monitoring unit and control circuit unit 106 is sent to the printer-side signal monitoring unit 302 and control circuit unit 306.

【0023】102は信号をライトするためのストロー
ブ、103はエラーライン、104はリセットライン、
105はプリンタ側電源の監視ラインである。
Reference numeral 102 is a strobe for writing a signal, 103 is an error line, 104 is a reset line,
Reference numeral 105 is a monitoring line for the power supply on the printer side.

【0024】107はインタフェースケーブル、109
はアナログ電圧入力ポートで、リセットライン104を
介して入力される初期化信号が初期化のための状態かそ
れとも上位装置301側の電源オフの原因に基づく状態
かをそれぞれの電位状態レベルおよびその経過時間とか
ら制御回路部306が判定してスイッチSW1の入切を
制御するとともに、受信バッファ部303,処理部30
4,印刷部305への電源供給状態を制御する。110
はプリンタ側プルアップ抵抗電源の制御ラインである。
107 is an interface cable, and 109
Is an analog voltage input port, which indicates whether the initialization signal input via the reset line 104 is in a state for initialization or a state based on the cause of power-off on the host device 301 side and the potential state level and its progress. The control circuit unit 306 makes a determination based on the time and controls the on / off state of the switch SW1, and at the same time, the reception buffer unit 303 and the processing unit 30.
4. Control the power supply state to the printing unit 305. 110
Is a control line for the pull-up resistor power supply on the printer side.

【0025】なお、図中のR1〜R5はプリンタ側のプ
ルアップ抵抗器、R6〜R9はコンピュータ側のプルア
ップ抵抗器、R10はプルダウン抵抗器、OCはオープ
ンコレクタインバータ、IVはインバータである。
In the figure, R1 to R5 are pull-up resistors on the printer side, R6 to R9 are pull-up resistors on the computer side, R10 is a pull-down resistor, OC is an open collector inverter, and IV is an inverter.

【0026】以下、本実施例と第1〜第4の発明の各手
段との対応及びその作用について図1,図2等を参照し
て説明する。
Correspondence between the present embodiment and each means of the first to fourth inventions and their functions will be described below with reference to FIGS.

【0027】第1の発明は、上位装置301との通信を
行うインタフェース手段(インタフェースケーブル10
7)と、前記上位装置から受信した出力情報を処理して
印刷する印刷処理部(受信バッファ部303,処理部3
04,印刷部305)と、前記印刷処理部を制御する制
御手段(制御回路部306)と、前記制御手段に常時電
源を供給する電源手段(電源部307)と、前記上位装
置から前記制御手段に対して出力される所定の初期化信
号の電位をモニタするモニタ手段(プリンタ側信号監視
部及び制御回路部106)と、前記モニタ手段がモニタ
する前記初期化信号の電位が初期化電位と認知した場合
に、所定時間を計時するタイマ手段(プリンタ側信号監
視部及び制御回路部106内のタイマ)とを設け、制御
回路部306がタイマにより前記所定時間の計時を終了
した場合に、プリンタ側信号監視部及び制御回路部10
6がモニタする前記初期化信号の電位状態が初期化のた
めの電位状態か、または前記上位装置の電源オフによる
電位状態かを識別して前記印刷処理部又はその一部に対
する前記電源部307からの電源供給を遮断し、上位装
置301からの指示に依らずに、印刷資源に対する電力
供給状態を上位装置からの指示がなくても印刷装置側が
自己管理することを可能とする。
The first aspect of the present invention is an interface means (interface cable 10) for communicating with the host device 301.
7) and a print processing unit (reception buffer unit 303, processing unit 3) that processes and prints the output information received from the host device.
04, the printing unit 305), a control unit (control circuit unit 306) for controlling the print processing unit, a power supply unit (power supply unit 307) for constantly supplying power to the control unit, and the control unit from the host device. To monitor the potential of a predetermined initialization signal output to the printer (the signal monitoring unit on the printer side and the control circuit unit 106), and the potential of the initialization signal monitored by the monitoring unit is recognized as the initialization potential. In this case, a timer means (timer in the printer-side signal monitoring unit and the control circuit unit 106) for counting a predetermined time is provided, and when the control circuit unit 306 has finished counting the predetermined time by the timer, the printer side Signal monitoring unit and control circuit unit 10
From the power supply unit 307 for the print processing unit or a part thereof, it is discriminated whether the potential state of the initialization signal monitored by 6 is a potential state for initialization or a potential state due to power-off of the host device. Thus, the printing apparatus side can self-manage the power supply state for the printing resource without the instruction from the higher-level device 301, by cutting off the power supply of the higher-level device 301.

【0028】第2の発明は、前記印刷処理部又はその一
部に対する前記電源手段からの電源供給を遮断した状態
中に、前記モニタ手段がモニタする前記初期化信号の電
位状態が初期化のための電位状態に遷移したかどうかを
判別する判別手段(信号監視部302の機能による)と
を設け、制御回路部306は信号監視部302が前記初
期化信号の電位状態が初期化のための電位状態に遷移し
たと判別した場合に、前記印刷処理部又はその一部に対
する前記電源部307からの電源供給を再開して、上位
装置から何らコマンドが送出されなくても、制御手段が
上位装置側の電源オン状態を捉えて印刷処理部を印刷可
能な状態に遷移させることを可能とする。
According to a second aspect of the invention, the potential state of the initialization signal monitored by the monitor means is initialized while the power supply from the power supply means to the print processing section or a part thereof is cut off. Determination means (depending on the function of the signal monitoring unit 302) for determining whether or not the potential state of the initialization signal is the potential for initialization. When it is determined that the state has transited to the state, the control unit restarts the power supply from the power supply unit 307 to the print processing unit or a part of the print processing unit and the control unit does not send any command. It is possible to shift the print processing unit to a printable state by capturing the power-on state of.

【0029】第3の発明は、モニタ手段は、前記上位装
置から前記制御手段に対して出力される所定の初期化信
号をプルアップする抵抗器R1に印加される電源をオン
オフ制御して初期化信号の電位状態をモニタして、初期
化信号の電位状態が初期化のための電位状態か、または
前記上位装置301の電源オフによる電位状態かを速や
に、かつ適切なタイミングで識別することを可能とす
る。
According to a third aspect of the invention, the monitor means performs on / off control of a power source applied to a resistor R1 for pulling up a predetermined initialization signal output from the host device to the control means for initialization. A potential state of a signal is monitored, and the potential state of an initialization signal is identified quickly or at an appropriate timing whether it is a potential state for initialization or a potential state due to power-off of the host device 301. Is possible.

【0030】第4の発明は、モニタ手段は、前記インタ
フェース手段の各インタフェースライン入力をプルアッ
プする抵抗器R1に印加する電源を入切する入切手段
(スイッチSW1)と、前記インタフェースライン入力
の初期化信号のアナログ電圧値を検出する検出手段(信
号監視部及び制御回路部106)とを有し、初期化信号
の電位状態が初期化のための電位状態にあるのか、また
は前記上位装置の電源オフによる電位状態にあるのかを
モニタすることを可能とする以下、図3に示すフローチ
ャートを参照しながら本発明に係るプリンタ装置の電源
制御動作について説明する。
According to a fourth aspect of the invention, the monitor means includes an on / off means (switch SW1) for turning on / off the power applied to the resistor R1 for pulling up each interface line input of the interface means, and the interface line input. A detection unit (signal monitoring unit and control circuit unit 106) for detecting the analog voltage value of the initialization signal, and whether the potential state of the initialization signal is in the potential state for initialization, or The power supply control operation of the printer device according to the present invention will be described below with reference to the flowchart shown in FIG. 3, which makes it possible to monitor whether or not the power supply is in a potential state.

【0031】図3は本発明に係るプリンタ装置の電源制
御方法の第1実施例を示すフローチャートである。な
お、(1)〜(7)は各ステップを示す。
FIG. 3 is a flow chart showing a first embodiment of a power supply control method for a printer device according to the present invention. Note that (1) to (7) indicate each step.

【0032】まず、電源部にAC電源が供給されると、
制御回路部306内での電源ON後の初期設定が行われ
る(1)。次いで、図2に示したプルアップ抵抗器R1
〜R5の電源をオフするため、図2に示したプルアップ
抵抗電源制御ライン110を制御する(2)。次いで、
インタフェース信号の電圧が安定するよう100mse
cウエイトする(3)。
First, when AC power is supplied to the power supply unit,
Initialization is performed after the power is turned on in the control circuit unit 306 (1). Then, the pull-up resistor R1 shown in FIG.
In order to turn off the power supplies of R5 to R5, the pull-up resistor power supply control line 110 shown in FIG. 2 is controlled (2). Then
100mse to stabilize the interface signal voltage
c Wait (3).

【0033】次いで、プリンタ側の信号監視部302は
アナログ電圧入力ポート109をリードし、読み取り値
が3回とも3.5vから5vの範囲内にあるかどうかを
判断し(4)、NOであればステップ(3)に戻り、Y
ESであればステップ(5)に移行し、抵抗器R1〜R
5の電源をオンするため、プルアップ電源制御ライン1
10を制御する。さらに、制御回路部306は電源ライ
ン308をオンし、印字可能な状態にプリンタ装置Pを
制御する。
Next, the signal monitoring section 302 on the printer side reads the analog voltage input port 109, judges whether the read value is within the range of 3.5v to 5v for all three times (4), and if it is NO. For example, go back to step (3) and do Y
If it is ES, move to step (5), and use resistors R1 to R
Pull-up power supply control line 1 to turn on power supply
Control 10 Further, the control circuit unit 306 turns on the power line 308 to control the printer device P in a printable state.

【0034】次いで、上位装置301からの印字データ
を受信可能な状態として待機し(6)、データを受信し
たら、印字処理を行う((7)。
Next, the print data from the host device 301 is put into a ready state for reception (6), and when the data is received, the print processing is performed ((7)).

【0035】なお、ステップ(6),(7)を処理中に
制御回路部306の内部タイマにより、1秒毎に割り込
みをかけ、後述する図4のフローチャートにエントリー
する。
During the processing of steps (6) and (7), the internal timer of the control circuit unit 306 interrupts every one second, and the flow chart of FIG. 4 described later is entered.

【0036】図4は本発明に係るプリンタ装置の電源制
御方法の第2実施例を示すフローチャートである。な
お、(1)〜(9)は各ステップを示す。
FIG. 4 is a flowchart showing a second embodiment of the power supply control method for the printer device according to the present invention. Note that (1) to (9) indicate each step.

【0037】上記図3の処理中に割込みにより当該処理
にエントリーすると、まず、アナログ電圧入力ポート1
09の読み取りを3回行い、3回とも3.5v〜0vの
間の値(上位装置側がパワーオフした時または上位装置
からリセット信号(Lowアクティブ)が送出されてい
るLow状態)がリードされたかどうかをチェックしお
(1)、NOであればリターンし、データ受信と印字を
再開する。
When an entry is made to the processing by an interrupt during the processing of FIG. 3, first, the analog voltage input port 1
09 was read three times, and a value between 3.5v and 0v (a Low state when the host device was powered off or a reset signal (Low active) was sent from the host device) was read all three times. Check whether or not (1), and if NO, return and resume data reception and printing.

【0038】一方、ステップ(1)の判定でYESであ
れば、上位装置301からのリセット信号かどうかを判
断するため、3秒間ウエイトする(2)。
On the other hand, if the result of the determination in step (1) is YES, then it waits for 3 seconds to determine whether or not it is a reset signal from the host device 301 (2).

【0039】アナログ電源入力ポート109の値を3回
リードし、3回とも3.5v〜0vの間の値がリードさ
れたかどうかをチェックし(3)、NOであれば図3に
示したステップ(1)に遷移する。
The value of the analog power supply input port 109 is read three times, and it is checked whether a value between 3.5v and 0v has been read all three times (3). If NO, the steps shown in FIG. Transition to (1).

【0040】一方、ステップ(3)の判定でYESであ
れば、すなわち、上位装置側がパワーオフ状態だろうと
推定され、抵抗器R1〜R5の電源をオフするため、プ
ルアップ抵抗電源制御ライン110を制御する(4)。
次いで、インタフェース部分での電圧が安定するよう5
00msecウエイトし(5)、アナログ電圧入力ポー
ト109を3回読み取り、3回とも0〜1.0vの値か
どうかを判断し(6)、NOであれば、エラーLED
(不図示)を点灯し、制御回路部306は停止する
(9)。
On the other hand, if the result of the determination in step (3) is YES, that is, it is estimated that the upper device side is in the power-off state and the resistors R1 to R5 are powered off. Control (4).
Then, in order to stabilize the voltage at the interface part, 5
Wait for 00 msec (5), read the analog voltage input port 109 three times, and judge whether the value is 0-1.0v for all three times (6). If NO, error LED
(Not shown) is turned on, and the control circuit unit 306 stops (9).

【0041】一方、ステップ(6)の判定で、YESで
あれば、すなわち、完全に上位装置側はパワーオフ状態
と判断され、制御回路306は電源ライン308の電源
を切る(7)。次いで、アナログ電圧入力ポート109
の値を3回リードし、3回とも3.5v〜5vの間の値
がリードされるまで待機し(8)、リードされたら、図
3に示すフローチャートのステップ(1)の処理に遷移
する。
On the other hand, if the result of the determination in step (6) is YES, that is, it is determined that the upper device side is completely in the power-off state, and the control circuit 306 turns off the power supply line 308 (7). Then, the analog voltage input port 109
Value is read three times, all three times wait until a value between 3.5v and 5v is read (8), and when read, the process proceeds to step (1) of the flowchart shown in FIG. .

【0042】なお、リセットライン104の電位は、抵
抗器R6と抵抗器R1とがともに5Vが印加された場合
に、5Vに近い電圧値を示し、上位装置の電源がオフし
て抵抗器R6の電源側がGNDと等価となり、かつ抵抗
器R1に5Vが印加されていると、リセットライン10
4はGND(上位装置側の5V電源)とプリンタの5V
電源間に抵抗器R1と抵抗器R6を直列に接続された形
式となるので、抵抗器R1と抵抗器R6で分圧された電
圧値を示し、上位装置の電源がオフして抵抗器R6の電
源側がGNDと等価となり、かつプルアップ抵抗電源制
御ライン110がOFFとなっている場合には、リセッ
トライン104はGNDに接続された状態(0V)近辺
の電圧値を示す。
Incidentally, the potential of the reset line 104 shows a voltage value close to 5 V when both the resistors R6 and R1 are applied with 5 V, and the power supply of the host device is turned off and the potential of the resistor R6 is reduced. If the power supply side is equivalent to GND and 5V is applied to the resistor R1, the reset line 10
4 is GND (5V power supply on the host side) and printer 5V
Since the resistor R1 and the resistor R6 are connected in series between the power supplies, the voltage value divided by the resistor R1 and the resistor R6 is shown, and the power supply of the host device is turned off to turn on the resistor R6. When the power supply side is equivalent to GND and the pull-up resistor power supply control line 110 is OFF, the reset line 104 shows a voltage value near the state (0V) connected to GND.

【0043】以下、本実施例と第5の発明の各工程との
対応及びその作用について図4等を参照して説明する。
Correspondence between the present embodiment and each step of the fifth invention and its action will be described below with reference to FIG.

【0044】第5の発明は、上位装置との通信を行うイ
ンタフェース手段(インタフェースケーブル107)
と、前記上位装置から受信した出力情報を処理して印刷
する印刷処理部を制御する制御手段(制御回路部30
6)と、前記制御手段に常時電源を供給する電源手段
(電源部307)とを備えるプリンタ装置の電源制御方
法において、前記インタフェース手段のリセット要求ラ
インの電位レベルを検出する第1の検出工程(図4のス
テップ(1))と、該検出された電位レベルが第1の電
位範囲内かどうかを判定する第1の判定工程(図4のス
テップ(3))と、タイマにより第1の時間を計時する
第1の計時工程(図4のステップ(2))と、該電位レ
ベルが前記第1の電位範囲内と判定された場合に、前記
インタフェース手段に接続されるプルアップ抵抗器に対
する電源をオフする第1の電源オフ工程(図4のステッ
プ(4))と、タイマにより第2の時間を計時する第2
の計時工程(図4のステップ(5))と、前記インタフ
ェース手段のリセット要求ラインの電位レベルが第2の
電位範囲内かどうかを判定する第2の判定工程(図4の
ステップ(6))と、該電位レベルが前記第2の電位範
囲内と判定された場合に、前記印刷処理部に対する前記
電源手段からの電源供給を遮断する第2の電源オフ工程
(図4のステップ(7))とを実行して、初期化信号の
電位状態が初期化のための電位状態か、または前記上位
装置の電源オフによる電位状態かを速やに、かつ適切な
タイミングで識別し、印刷資源に対する電力供給状態を
上位装置からの指示がなくても印刷装置側が自己管理す
ることを可能とする。 〔第2実施例〕図5は本発明の第2実施例を示すプリン
タ装置のインタフェース構成を説明する回路ブロック図
であり、図2と同一のものには同一の符号を付してあ
る。
A fifth aspect of the present invention is an interface means (interface cable 107) for communicating with a host device.
And a control unit (control circuit unit 30) for controlling the print processing unit that processes and prints the output information received from the host device.
6) and a power supply unit (power supply unit 307) that constantly supplies power to the control unit, the first detection step of detecting the potential level of the reset request line of the interface unit in the power supply control method of the printer. 4 (step (1)), a first determination step (step (3) in FIG. 4) of determining whether the detected potential level is within a first potential range, and a timer for a first time period. And a power source for the pull-up resistor connected to the interface means when the potential level is determined to be within the first potential range. The first power-off step (step (4) in FIG. 4) of turning off the power and the second time of measuring the second time by the timer.
Timing step (step (5) in FIG. 4) and a second determination step (step (6) in FIG. 4) for determining whether the potential level of the reset request line of the interface means is within the second potential range. And a second power-off step of cutting off the power supply from the power supply unit to the print processing unit when it is determined that the potential level is within the second potential range (step (7) in FIG. 4). By executing the following, the potential state of the initialization signal is promptly identified at an appropriate timing whether the potential state for initialization is the potential state for initialization or the potential state due to the power-off of the host device, and the power to the printing resource is It is possible for the printing apparatus side to self-manage the supply state without an instruction from the host apparatus. [Second Embodiment] FIG. 5 is a circuit block diagram for explaining the interface configuration of a printer apparatus according to the second embodiment of the present invention. The same components as those in FIG. 2 are designated by the same reference numerals.

【0045】図2との相違は、アナログ電圧入力ポート
109が配設されていない点である。
The difference from FIG. 2 is that the analog voltage input port 109 is not provided.

【0046】以下、この様に構成されたプリンタ装置に
おける電源制御について図6,図7を参照しながら説明
する。
Hereinafter, power supply control in the printer device having such a configuration will be described with reference to FIGS. 6 and 7.

【0047】図6は本発明に係るプリンタ装置の電源制
御方法の第3実施例示すフローチャートである。なお、
(1)〜(7)は各ステップを示す。
FIG. 6 is a flow chart showing a third embodiment of the power supply control method for a printer according to the present invention. In addition,
(1) to (7) show each step.

【0048】まず、電源部にAC電源が供給されると、
制御回路部306内での電源ON後の初期設定が行われ
(1)、図5に示した抵抗器R1〜R5の電源をオフす
るため、プルアップ抵抗電源制御ライン110を制御す
る(2)。次いで、インタフェース信号の電圧が安定す
るよう100msecウエイトする(3)。
First, when AC power is supplied to the power supply unit,
Initialization is performed after the power is turned on in the control circuit unit 306 (1), and the pull-up resistor power control line 110 is controlled to turn off the resistors R1 to R5 shown in FIG. 5 (2). . Next, wait for 100 msec so that the voltage of the interface signal becomes stable (3).

【0049】次いで、プリンタ側信号監視部はリセット
信号が“H”かどうかチェックし(5)、NOであれ
ば、後述する図7に示すフローチャートのステップ
(4)に遷移し、YESであれば、ステップ(5)に遷
移して、抵抗器R1〜R5の電源をオンするため、プル
アップ抵抗電源制御ライン110を制御する。さらに制
御回路部306は電源ライン308をオンし、印字可能
な状態にプリンタ装置Pを制御する。
Next, the printer-side signal monitoring unit checks whether the reset signal is "H" (5). If NO, the process proceeds to step (4) of the flowchart shown in FIG. 7 to be described later, and if YES, Then, the process goes to step (5) to control the pull-up resistor power supply control line 110 to turn on the power supplies of the resistors R1 to R5. Further, the control circuit unit 306 turns on the power supply line 308 to control the printer device P in a printable state.

【0050】次いで、上位装置301からの印字データ
を受信可能な状態で待機し(6)、データを受信した
ら、データが無くなるまで印字処理を行う(7)一方、
ステップ(6),(7)処理中に制御回路部306の内
部タイマにより、1秒毎に割り込みをかけ、図7に示す
フローチャートの処理にエントリーする。
Next, the printer waits in a state of being able to receive the print data from the host device 301 (6), and when the data is received, the print processing is performed until there is no more data (7).
During the processing of steps (6) and (7), the internal timer of the control circuit unit 306 interrupts every one second, and the process of the flowchart shown in FIG. 7 is entered.

【0051】図7は本発明に係るプリンタ装置の電源制
御方法の第4実施例示すフローチャートである。なお、
(1)〜(6)は各ステップを示す。
FIG. 7 is a flow chart showing a fourth embodiment of the power supply control method for the printer device according to the present invention. In addition,
(1) to (6) show each step.

【0052】上記図6に示したフローチャートに示す手
順に従って割り込みがかかると、図7に示すフローチャ
ートにエントリーし、まず1分間ずっと印字データが来
ていないかを判断する(1)、NOであればリターン
し、YESであればステップ(2)に遷移し、抵抗器R
1〜R5の電源をオフするため、プルアップ抵抗電源制
御ライン110を制御する。
When an interrupt occurs according to the procedure shown in the flow chart shown in FIG. 6, the flow chart shown in FIG. 7 is entered, and it is first judged whether print data has not come for 1 minute (1). If it returns and the result is YES, the process proceeds to step (2) and the resistor R
In order to turn off the power supplies 1 to R5, the pull-up resistor power supply control line 110 is controlled.

【0053】次いで、インタフェース部分での電圧が安
定するよう500msecウエイトし(3)、リセット
信号が“L”であるかどうかを判断し(4)、NOであ
れば図6に示したステップ(5)に遷移し、YESであ
れば制御回路部306は電源ライン308の電圧を切る
(5)。次いで、信号監視部302はリセット信号が
“H”となるのを待機し(6)、リセット信号が“H”
となったら、図6に示すステップ(5)に遷移する。
Next, wait for 500 msec to stabilize the voltage at the interface portion (3), judge whether the reset signal is "L" (4), and if NO, step (5) shown in FIG. ), And if YES, the control circuit unit 306 turns off the voltage of the power supply line 308 (5). Next, the signal monitoring unit 302 waits until the reset signal becomes "H" (6), and the reset signal becomes "H".
When it becomes, it changes to step (5) shown in FIG.

【0054】上記実施例によれば、上位装置301との
インタフェースを有し、前記インタフェース手段の入出
力ポートP1,P2を境に独立の電源(入出力ポートP
2側に印刷装置の電源部307から電力を供給され、プ
ルアップ抵抗器R1〜R5により所定の中間電位に電位
レベルが設定される(初期化状態中))を有するプリン
ト装置(図1,図5参照)において、上位装置301と
のインタフェースを介した命令に従い、動作する当該プ
リント装置は前記インタフェース手段の当該プリント装
置に対する初期化信号をモニタする手段(信号監視部3
02)と、当該プリント装置内の制御装置に常時電源を
供給する手段(電源部307)と当該プリント装置の印
字のための回路の電源をオフする手段(スイッチSW)
を有し、当該プリント装置内の前記制御手段は、前記初
期化信号をモニタし、前記初期化信号が初期化のための
状態か情報処理装置の電源オフが原因による状態かをタ
イマ手段(図示しない内部タイマ)の経時前後の電位状
態から判断し、当該プリント装置の電源をオフすること
ができる。
According to the above-mentioned embodiment, it has an interface with the host device 301, and an independent power source (the input / output port P is provided between the input / output ports P1, P2 of the interface means).
A printer having power supplied to the second side from a power supply unit 307 of the printer and having a potential level set to a predetermined intermediate potential by pull-up resistors R1 to R5 (during initialization) (FIGS. 1 and 2). 5), the printing device operating in accordance with a command via the interface with the higher-level device 301 monitors the initialization signal of the interface means for the printing device (signal monitoring unit 3).
02), means for constantly supplying power to the control device in the printing apparatus (power supply unit 307), and means for turning off the power supply of the printing circuit of the printing apparatus (switch SW).
The control means in the printing apparatus monitors the initialization signal, and determines whether the initialization signal is in a state for initialization or a state due to power-off of the information processing apparatus (illustrated). The internal power supply of the printing apparatus can be turned off by judging from the potential state before and after the elapse of time of the internal timer).

【0055】また、電源のオフの間に前記初期化信号の
モニタ手段(信号監視部302)により、前記初期化信
号が初期化状態でなくなったことを検出する手段を有
し、前記検出手段(信号監視部302)により前記初期
化信号状態でないと判断され、かつ前記情報処理装置が
電源オンであると判断されたなら、前記制御回路部30
6は電源をオンし、印字可能な状態に遷移できる。
Further, while the power is off, the initialization signal monitor means (signal monitoring section 302) has means for detecting that the initialization signal is no longer in the initialization state, and the detection means ( If it is determined by the signal monitoring unit 302) that the initialization signal state is not set and that the information processing device is powered on, the control circuit unit 30
6 can turn on the power source and transit to a printable state.

【0056】また、前記初期化信号のモニタ手段(信号
監視部302)は当該プリント装置側の前記インタフェ
ース回路部分の上位装置301からの入力信号のプルア
ップ抵抗器R6〜R10の電源をオフする手段(図示し
ない)とを有し、前記初期化信号を前記信号監視部30
2がアナログ電圧として検出するプリント装置であっ
て、印字中または印字のためのデータ受信中(前記プル
アップ抵抗器R1〜R5)の電源はオン状態)に一定時
間毎に前記アナログ電圧検出手段(図示しない)によ
り、前記初期化信号の電圧値をリードし、初期化信号出
力中かまたは上位装置が電源オフであるかをタイマ手段
(信号監視部302の内部タイマ)と前記リードした電
圧値により判断し、自動的に当該プリント装置を電源オ
フモードか、初期化処理に遷移させる。
The initialization signal monitoring means (signal monitoring section 302) is means for turning off the power supply of the pull-up resistors R6 to R10 of the input signal from the host device 301 of the interface circuit portion on the printing device side. (Not shown), and sends the initialization signal to the signal monitoring unit 30.
2 is a printing device for detecting as an analog voltage, and the analog voltage detecting means (at a constant power-on state during printing or receiving data for printing (the pull-up resistors R1 to R5 are in an ON state)) (Not shown), the voltage value of the initialization signal is read, and whether the initialization signal is being output or the host device is powered off is determined by the timer means (internal timer of the signal monitoring unit 302) and the read voltage value. It is determined and the printing apparatus is automatically changed to the power-off mode or the initialization processing.

【0057】さらに、電源オンモードにする場合は前記
プルアップ抵抗の電源をオフしておき、タイマ手段によ
り一定時間待った後、前記アナログ電圧値をリードし
“H”の論理レベルが検出されれば前記プルアップ抵抗
の電源をオンし、前記印字のための回路の電源をオン
し、印字可能な状態に遷移することができる。
Further, when the power-on mode is set, the power source of the pull-up resistor is turned off, the timer means waits for a certain period of time, and then the analog voltage value is read to detect the logic level of "H". The power of the pull-up resistor is turned on, the power of the circuit for printing is turned on, and a transition can be made to a printable state.

【0058】もう一つの前記初期化信号のモニタ手段
は、当該プリント装置側の前記インタフェース回路部分
の前記上位装置301からの入力信号のプルアップ抵抗
器R1〜R5の電源をオフすることにより検出すること
で実現され、印字中または印字データ受信中(前記印字
のための回路の電源はオン、前記プルアップ抵抗器R1
〜R5に対する電源もオン)に上位装置301から前記
インタフェース手段を介して印字データが送られてきて
いるかをタイマ手段を用い定期的にチェックし、一定時
間印字データが送られてこなければ前記プルアップ抵抗
器R1〜R5の電源をスイッチSWによってオフし、タ
イマ手段により一定時間待った後、前記初期化信号をリ
ードし、“H”と判断されれば前記プルアップ抵抗器R
1〜R5の電源をスイッチSWによりオンし、印字可能
な状態に遷移する。
The other monitor means for the initialization signal detects the input signal from the host device 301 of the interface circuit portion on the side of the printing device by turning off the power supply of the pull-up resistors R1 to R5. This is realized during printing or while receiving print data (the circuit for printing is turned on, the pull-up resistor R1 is
~ R5 is also turned on), whether or not the print data is sent from the host device 301 via the interface means is periodically checked using the timer means, and if the print data is not sent for a certain time, the pull-up is performed. The power source of the resistors R1 to R5 is turned off by the switch SW, the timer means waits for a certain period of time, the initialization signal is read, and if it is judged as "H", the pull-up resistor R
The power supplies 1 to R5 are turned on by the switch SW, and a transition is made to a printable state.

【0059】一方、記初期化信号をリードし、“L”と
判断されれば、前記印字のための回路の電源をオフする
(パワーオフモード)。
On the other hand, when the initialization signal is read and judged to be "L", the power supply of the circuit for printing is turned off (power off mode).

【0060】このように、上記モードで前記初期化信号
が“H”になるのを待ち、パワーオンシーケンスに遷移
することができる。
In this way, it is possible to wait for the initialization signal to go to "H" in the above mode, and transition to the power-on sequence.

【0061】[0061]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、制御手段が前記タイマ手段により前記
所定時間の計時を終了した場合に、前記モニタ手段がモ
ニタする前記初期化信号の電位状態が初期化のための電
位状態か、または前記上位装置の電源オフによる電位状
態かを識別して前記印刷処理部又はその一部に対する前
記電源手段からの電源供給を遮断するので、上位装置か
らの指示に依らずに、印刷資源に対する電力供給状態を
上位装置からの指示がなくても印刷装置側が自己管理す
ることができる。
As described above, the first aspect of the present invention
According to the invention, when the control means finishes measuring the predetermined time by the timer means, the potential state of the initialization signal monitored by the monitor means is the potential state for initialization, or the higher-order state. Since the power supply from the power supply unit to the print processing unit or a part thereof is cut off by identifying whether the potential state is due to the power-off of the apparatus, the power supply state to the printing resource can be determined regardless of the instruction from the host apparatus. Even if there is no instruction from the host device, the printing device side can manage itself.

【0062】第2の発明によれば、制御手段は前記判別
手段が前記初期化信号の電位状態が初期化のための電位
状態に遷移したと判別した場合に、前記印刷処理部又は
その一部に対する前記電源手段からの電源供給を再開す
るので、制御手段が上位装置側の電源オン状態を捉えて
印刷処理部を印刷可能な状態に遷移させることができ
る。
According to the second aspect of the invention, the control means determines the print processing section or a part thereof when the determining means determines that the potential state of the initialization signal has changed to the potential state for initialization. Since the power supply from the power supply means is restarted, the control means can detect the power-on state of the higher-level device and shift the print processing unit to the printable state.

【0063】第3の発明によれば、モニタ手段は、前記
上位装置から前記制御手段に対して出力される所定の初
期化信号をプルアップする抵抗器に印加される電源をオ
ンオフ制御して初期化信号の電位状態をモニタするの
で、初期化信号の電位状態が初期化のための電位状態
か、または前記上位装置の電源オフによる電位状態かを
速やに、かつ適切なタイミングで識別することができ
る。
According to the third invention, the monitor means performs on / off control of a power supply applied to a resistor for pulling up a predetermined initialization signal output from the host device to the control means to initialize the power supply. Since the potential state of the initialization signal is monitored, it is possible to quickly and at an appropriate timing identify whether the potential state of the initialization signal is the potential state for initialization or the potential state due to the power-off of the host device. You can

【0064】第4の発明によれば、入切手段により前記
インタフェース手段の各インタフェースライン入力をプ
ルアップする抵抗器に印加する電源を入切した状態で検
出手段が前記インタフェースライン入力の初期化信号の
アナログ電圧値を検出するので、初期化信号の電位状態
が初期化のための電位状態にあるのか、または前記上位
装置の電源オフによる電位状態にあるのかをモニタする
ことができる。
According to the fourth aspect of the invention, the detecting means sets the interface line input initialization signal with the power applied to the resistor for pulling up each interface line input of the interface means by the on / off means. Since the analog voltage value is detected, it is possible to monitor whether the potential state of the initialization signal is the potential state for initialization or the potential state due to the power-off of the host device.

【0065】第5の発明によれば、前記インタフェース
手段のリセット要求ラインの電位レベルを検出し、該検
出された電位レベルが第1の時間を計時終了時点で第1
の電位範囲内かどうかを判定し、該電位レベルが前記第
1の電位範囲内と判定された場合に、前記インタフェー
ス手段に接続されるプルアップ抵抗器に対する電源をオ
フした状態中に、インタフェース手段のリセット要求ラ
インの電位レベルを検出し、第2の時間計時終了時点
で、該電位レベルが前記第2の電位範囲内と判定された
場合に、前記印刷処理部に対する前記電源手段からの電
源供給を遮断するので、初期化信号の電位状態が初期化
のための電位状態か、または前記上位装置の電源オフに
よる電位状態かを速やに、かつ適切なタイミングで識別
し、印刷資源に対する電力供給状態を上位装置からの指
示がなくても印刷装置側が自己管理する処理を実現でき
る。
According to the fifth aspect of the invention, the potential level of the reset request line of the interface means is detected, and the detected potential level is the first level at the time when the first time measurement is completed.
If the potential level is determined to be within the first potential range, the interface means is connected to the pull-up resistor connected to the interface means while the power is off. The reset request line potential level is detected, and when the potential level is determined to be within the second potential range at the end of the second time counting, power is supplied from the power supply unit to the print processing unit. Is interrupted, the potential state of the initialization signal is identified as a potential state for initialization or a potential state when the power of the host device is turned off quickly and at an appropriate timing to supply power to the printing resource. Even if there is no instruction from the higher-level device, it is possible to realize a process in which the printing device manages itself.

【0066】従って、上位装置側のコマンドに依存する
ことなく、印刷資源に対する電力供給を印刷装置側が自
己管理することができる等の効果を奏する。
Therefore, there is an effect that the printing device side can self-manage the power supply to the printing resource without depending on the command from the upper device side.

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

【図1】本発明の第1実施例を示すプリンタ装置の構成
を説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printer device according to a first embodiment of the present invention.

【図2】図1に示した上位装置とプリンタ装置とのイン
タフェース機構を説明する回路ブロック図である。
FIG. 2 is a circuit block diagram illustrating an interface mechanism between a higher-level device shown in FIG. 1 and a printer device.

【図3】本発明に係るプリンタ装置の電源制御方法の第
1実施例を示すフローチャートである。
FIG. 3 is a flowchart showing a first embodiment of a power supply control method for a printer device according to the present invention.

【図4】本発明に係るプリンタ装置の電源制御方法の第
2実施例を示すフローチャートである。
FIG. 4 is a flowchart showing a second embodiment of the power supply control method for the printer device according to the present invention.

【図5】本発明の第2実施例を示すプリンタ装置のイン
タフェース構成を説明する回路ブロック図である。
FIG. 5 is a circuit block diagram illustrating an interface configuration of a printer device according to a second embodiment of the present invention.

【図6】本発明に係るプリンタ装置の電源制御方法の第
3実施例を示すフローチャートである。
FIG. 6 is a flowchart showing a third embodiment of a power supply control method for a printer device according to the present invention.

【図7】本発明に係るプリンタ装置の電源制御方法の第
4実施例を示すフローチャートである。
FIG. 7 is a flowchart showing a fourth embodiment of a power supply control method for a printer device according to the present invention.

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

301 上位装置 302 信号監視部 303 受信バッファ部 304 処理部 305 印刷部 306 制御回路部 307 電源部 301 Host device 302 Signal monitoring unit 303 Reception buffer unit 304 Processing unit 305 Printing unit 306 Control circuit unit 307 Power supply unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 上位装置との通信を行うインタフェース
手段と、前記上位装置から受信した出力情報を処理して
印刷する印刷処理部と、前記印刷処理部を制御する制御
手段と、前記制御手段に常時電源を供給する電源手段
と、前記上位装置から前記制御手段に対して出力される
所定の初期化信号の電位をモニタするモニタ手段と、前
記モニタ手段がモニタする前記初期化信号の電位が初期
化電位と認知した場合に、所定時間を計時するタイマ手
段とを設け、前記制御手段が前記タイマ手段により前記
所定時間の計時を終了した場合に、前記モニタ手段がモ
ニタする前記初期化信号の電位状態が初期化のための電
位状態か、または前記上位装置の電源オフによる電位状
態かを識別して前記印刷処理部又はその一部に対する前
記電源手段からの電源供給を遮断することを特徴とする
プリンタ装置。
1. An interface unit for communicating with a higher-level device, a print processing unit for processing and printing output information received from the higher-level device, a control unit for controlling the print processing unit, and the control unit. A power supply means for constantly supplying power, a monitor means for monitoring a potential of a predetermined initialization signal output from the host device to the control means, and a potential of the initialization signal monitored by the monitor means are initially set. A potential of the initialization signal monitored by the monitoring means when the control means terminates the counting of the predetermined time by the timer means when the predetermined potential is recognized. A power supply from the power supply unit for the print processing unit or a part of the print processing unit by identifying whether the state is a potential state for initialization or a potential state when the power supply of the host device is turned off. A printer device characterized by cutting off supply.
【請求項2】 前記印刷処理部又はその一部に対する前
記電源手段からの電源供給を遮断した状態中に、前記モ
ニタ手段がモニタする前記初期化信号の電位状態が初期
化のための電位状態に遷移したかどうかを判別する判別
手段とを設け、制御手段は前記判別手段が前記初期化信
号の電位状態が初期化のための電位状態に遷移したと判
別した場合に、前記印刷処理部又はその一部に対する前
記電源手段からの電源供給を再開することを特徴とする
請求項1記載のプリンタ装置。
2. The potential state of the initialization signal monitored by the monitor means is changed to a potential state for initialization while the power supply from the power supply means to the print processing section or a part thereof is cut off. And a control unit for determining whether the potential state of the initialization signal has transitioned to the potential state for initialization. 2. The printer device according to claim 1, wherein power supply from the power supply unit to a part is restarted.
【請求項3】 モニタ手段は、前記上位装置から前記制
御手段に対して出力される所定の初期化信号をプルアッ
プする抵抗器に印加される電源をオンオフ制御して初期
化信号の電位状態をモニタすることを特徴とする請求項
1記載の印刷装置。
3. The monitor means controls ON / OFF of a power supply applied to a resistor for pulling up a predetermined initialization signal output from the host device to the control means to control the potential state of the initialization signal. The printing apparatus according to claim 1, which is monitored.
【請求項4】 モニタ手段は、前記インタフェース手段
の各インタフェースライン入力をプルアップする抵抗器
に印加する電源を入切する入切手段と、前記インタフェ
ースライン入力の初期化信号のアナログ電圧値を検出す
る検出手段とを備えることを特徴とする請求項1記載の
印刷装置。
4. The monitor means detects an on / off means for turning on / off a power applied to a resistor for pulling up each interface line input of the interface means, and an analog voltage value of an initialization signal of the interface line input. The printing apparatus according to claim 1, further comprising:
【請求項5】 上位装置との通信を行うインタフェース
手段と、前記上位装置から受信した出力情報を処理して
印刷する印刷処理部を制御する制御手段と、前記制御手
段に常時電源を供給する電源手段とを備えるプリンタ装
置の電源制御方法において、前記インタフェース手段の
リセット要求ラインの電位レベルを検出する第1の検出
工程と、該検出された電位レベルが第1の電位範囲内か
どうかを判定する第1の判定工程と、タイマにより第1
の時間を計時する第1の計時工程と、該電位レベルが前
記第1の電位範囲内と判定された場合に、前記インタフ
ェース手段に接続されるプルアップ抵抗器に対する電源
をオフする第1の電源オフ工程と、タイマにより第2の
時間を計時する第2の計時工程と、前記インタフェース
手段のリセット要求ラインの電位レベルが第2の電位範
囲内かどうかを判定する第2の判定工程と、該電位レベ
ルが前記第2の電位範囲内と判定された場合に、前記印
刷処理部に対する前記電源手段からの電源供給を遮断す
る第2の電源オフ工程とを有することを特徴とするプリ
ンタ装置の電源制御方法。
5. An interface unit for communicating with a higher-level device, a control unit for controlling a print processing unit for processing and printing output information received from the higher-level device, and a power supply for constantly supplying power to the control unit. And a first detecting step of detecting a potential level of a reset request line of the interface means, and determining whether the detected potential level is within a first potential range. The first determination step and the first by the timer
And a first power supply for turning off the power supply to the pull-up resistor connected to the interface means when the potential level is determined to be within the first potential range. An off step, a second timing step of timing a second time by a timer, a second determination step of determining whether the potential level of the reset request line of the interface means is within a second potential range, and A second power-off step of cutting off the power supply from the power supply unit to the print processing unit when the potential level is determined to be within the second potential range. Control method.
JP7085009A 1995-04-11 1995-04-11 Printer and power supply control method for printer Pending JPH08286862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7085009A JPH08286862A (en) 1995-04-11 1995-04-11 Printer and power supply control method for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7085009A JPH08286862A (en) 1995-04-11 1995-04-11 Printer and power supply control method for printer

Publications (1)

Publication Number Publication Date
JPH08286862A true JPH08286862A (en) 1996-11-01

Family

ID=13846753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7085009A Pending JPH08286862A (en) 1995-04-11 1995-04-11 Printer and power supply control method for printer

Country Status (1)

Country Link
JP (1) JPH08286862A (en)

Cited By (1)

* 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

Cited By (1)

* 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

Similar Documents

Publication Publication Date Title
US6330069B1 (en) Power supply controlling method and printer adopting the power supply controlling method
KR950020304A (en) Printing apparatus, system having same and control method thereof
JP3346956B2 (en) Image forming device
JP4654788B2 (en) Information processing apparatus and information processing apparatus control method
JPH08324071A (en) Printing control device, data receiving method thereof and sleep releasing method thereof
KR0135453B1 (en) Supply saving method for image forming apparatus for electrographic exposing mechanism
JPH08286862A (en) Printer and power supply control method for printer
JP3752893B2 (en) Power monitoring method for peripheral device, power monitoring device, power monitoring system, and information recording medium
JP3101963B2 (en) Power off state determination method for communication source device
JPH08255040A (en) Printer device
KR100193820B1 (en) Fusing temperature control method in power saving mode
KR0146538B1 (en) Electrophotographic image forming device having power saving switch and power saving method
JPH09188039A (en) Image forming device and control method therefor
JP2004090243A (en) Image forming system and its power saving method
JP3235940B2 (en) Printer device
JP3235941B2 (en) Printer device
JPH08123261A (en) Printer and self-diagnostic processing method
JPH106620A (en) Printing apparatus and method for controlling power source of printing apparatus
JPS6271685A (en) Printer
JPH04353887A (en) Printer device
JPH0811392A (en) Printing machine and method for controlling power source of the same
JPS60156126A (en) Data output device
JP2002215005A (en) Image forming device and fan motor control method
JPH08187920A (en) Printer controller
JP2003280464A (en) Image forming apparatus