JP4819564B2 - Printing apparatus control method, printing apparatus control program, and printing apparatus - Google Patents
Printing apparatus control method, printing apparatus control program, and printing apparatus Download PDFInfo
- Publication number
- JP4819564B2 JP4819564B2 JP2006122797A JP2006122797A JP4819564B2 JP 4819564 B2 JP4819564 B2 JP 4819564B2 JP 2006122797 A JP2006122797 A JP 2006122797A JP 2006122797 A JP2006122797 A JP 2006122797A JP 4819564 B2 JP4819564 B2 JP 4819564B2
- Authority
- JP
- Japan
- Prior art keywords
- printing apparatus
- power saving
- time
- saving mode
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Power Sources (AREA)
Description
本発明は、ホスト装置と接続されて動作する印刷装置の制御方法、印刷装置の制御プログラム、および印刷装置に関するものである。 The present invention is a control method of a printing device operatively connected to the host device, the printing device control program, and a printing device.
近年、全世界的に消費電力の低下を推進する動きが広がっている。国によっては、国家レベルで環境基準規制が設けられ、規制を満たしていない電化製品には販売の許可を与えないなどの制限を課せられることも考えられる。 In recent years, there has been a worldwide movement to promote a reduction in power consumption. Depending on the country, environmental standard regulations may be established at the national level, and restrictions may be imposed on appliances that do not meet the regulations, such as not permitting sales.
PC(パーソナルコンピュータ)やその周辺機器では、いわゆるパワーマネジメント機能が実用化されているが、今後市場に出る他の電子機器においても、広くパワーマネジメント機能を設けることが必要になると考えられる。 A so-called power management function is put into practical use in PCs (personal computers) and peripheral devices, but it is considered that it is necessary to provide a wide power management function in other electronic devices that will be put on the market in the future.
PCなどで用いられているパワーマネジメント機能に関しては、ACPI(Advanced Configuration and Power Interface)、あるいはAPM(Advanced Power Management)のような規格が知られている。 Regarding power management functions used in PCs and the like, standards such as Advanced Configuration and Power Interface (ACPI) or Advanced Power Management (APM) are known.
たとえば、ACPIでは、電源モードが次のように定義されている。
S0 フル稼働状態(通常動作状態)
S1 低消費電力状態(CPU/チップセットともに電源オン)
S2 低消費電力状態(CPU/キャッシュは電源オフ、チップセットは電源オン)
S3 スタンバイ状態
S4 休止状態(ハイバネーション)
S5 ソフトウェアによる電源オフ
現在のパワーマネジメント機能は、装置が使用されていない間、機能の一部を停止させて消費電力を低下させ、節電モード、たとえばスリープモードと呼ばれる状態(上記ACPIの場合電源モードS1〜S5のいずれか)に移行させる。また、装置に対するユーザの操作や、外部装置からのアクセスを契機として通常状態(同S0)に復帰させる。
For example, in ACPI, the power supply mode is defined as follows.
S0 Full operation state (normal operation state)
S1 Low power consumption state (CPU / chipset is powered on)
S2 Low power consumption state (CPU / cache is powered off, chipset is powered on)
S3 Standby state S4 Hibernation state
S5 Power off by software The current power management function stops a part of the function to reduce power consumption while the device is not in use, and is in a state called a power saving mode, for example, a sleep mode (power mode in the case of the above ACPI) One of S1 to S5). In addition, the apparatus is returned to the normal state (same as S0) triggered by a user operation on the apparatus or an access from an external apparatus.
なお、各種パワーマネジメント規格においては、多少の用語の不統一があるが、以下では、「スリープモード」を低消費電力モード、ないし節電(パワーセーブ)モードを代表する用語として用いる。 In various power management standards, there are some inconsistencies in terms, but in the following, “sleep mode” is used as a term representing a low power consumption mode or a power saving mode.
すなわち、本明細書では、「スリープモード」は、通常動作モード(パワーオンモード:上の電源モードS0)よりも低消費電力な全ての節電モード(上の電源モードS1〜S5)を指すものとする。 That is, in this specification, “sleep mode” refers to all power saving modes (upper power supply modes S1 to S5) that consume less power than the normal operation mode (power-on mode: upper power supply mode S0). To do.
さて、プリンタのような印刷装置においても、上記のようなパワーマネジメント機能を設けた構成が知られている。たとえば、スリープモードへの移行/復帰をタイマで制御したり、アプリケーションのプリンタアクセスに応じてホストからプリンタに覚醒コマンドを送信し、スリープモードからの復帰処理を高速化するような構成が提案されている(たとえば下記の特許文献1)。 In a printing apparatus such as a printer, a configuration provided with the power management function as described above is known. For example, a configuration has been proposed in which the transition / return to the sleep mode is controlled by a timer, or a wake-up command is transmitted from the host to the printer in response to the application's printer access to speed up the return process from the sleep mode. (For example, Patent Document 1 below).
また、外部の機器と通信するためのインターフェースに対するアクセスを検出してスリープモードから復帰する構成も公知である。たとえば、CSMA/CD(イーサネット(登録商標))のようなネットワークインターフェースでは、WOL(Wake−On−LAN)機能が知られている。 A configuration for detecting access to an interface for communicating with an external device and returning from the sleep mode is also known. For example, in a network interface such as CSMA / CD (Ethernet (registered trademark)), a WOL (Wake-On-LAN) function is known.
WOLでは、ネットワークインターフェースを介して特定のパケットを受信した時に、スリープモード中の装置を復帰させる。このWOLで使用する特定のパケットはいくつか提案されているが、たとえば、AMD社が開発したMagicPacket(登録商標)が知られている。 In WOL, when a specific packet is received via the network interface, the device in the sleep mode is restored. Several specific packets used in this WOL have been proposed. For example, MagicPacket (registered trademark) developed by AMD is known.
このMagicPacketは、ターゲット装置のMACアドレスからフレームの情報フィールドを生成した特別なフォーマットのCSMA/CDパケットであり、このパケットにより、目的の装置(だけ)を起動させることができる。MagicPacketに対応したネットワークインターフェースはそのパケットのパターンに反応するように作られており、自分のMacアドレスを認識すると装置全体を起動させる信号を出力する。 This MagicPacket is a special-format CSMA / CD packet in which the frame information field is generated from the MAC address of the target device, and the target device (only) can be activated by this packet. The network interface corresponding to MagicPacket is designed to respond to the packet pattern, and outputs a signal that activates the entire device when it recognizes its own Mac address.
このWOL機能を用いることにより、ネットワークに接続された装置もパワーマネジメント機能を実現できる。
従来のパワーマネジメント機能を有する装置では、スリープモードへの移行/復帰の期間では通常動作を保証できない、という問題がある。 A conventional device having a power management function has a problem that normal operation cannot be guaranteed during the transition / return period to the sleep mode.
図2は、パワーマネジメント機能を有する装置、たとえばプリンタとホスト間の通信応答を示している。図2のプリンタは、時刻t201において通常状態からスリープモードへ移行を開始し、時刻203からスリープモードから通常状態への復帰を開始する。
FIG. 2 shows a communication response between a device having a power management function, for example, a printer and a host. The printer in FIG. 2 starts transition from the normal state to the sleep mode at time t201 and starts returning from the sleep mode to the normal state from
そして図2の時刻201、および時刻203から始まる遷移期間t202、t204は、通常モードの終了処理、あるいは起動初期化処理のために必ず必要であり、通常動作を保証できない。また、期間t202、t204の長さを0にすることは不可能である。
The transition periods t202 and t204 starting from the
一方、ホスト装置は、プリンタが通常状態であると想定して通信を行なう場合があるが、特にホスト装置からのアクセスが期間t202やt204と重なった場合には、プリンタはホスト装置に対して正常な通信応答が行なえないことが考えられる。このような事態は、ネットワークインターフェースを介して複数のホスト装置からアクセスされるようなプリンタでは、珍しいことではない。 On the other hand, the host device may perform communication assuming that the printer is in a normal state. However, particularly when the access from the host device overlaps the periods t202 and t204, the printer is normal with respect to the host device. It is possible that an unsuccessful communication response cannot be made. Such a situation is not uncommon in printers that are accessed from a plurality of host devices via a network interface.
このため、従来では、図2のt202、t204のような遷移期間を見越してホスト装置から適当なインターバルでMagicPacketや、アクセスのためのパケットを繰り返し送信する(あるいはTCPなどでは自動再送を利用する)ことが行なわれている。これにより、通信再送による通信回線帯域が無駄に消費される問題が生じる。あるいは、ホストが期待するプリンタの応答が得られなければ、タイミングによっては、ホスト装置が印刷装置が動作していないと判断してしまい、その後ホストがプリンタアクセスをあきらめてしまう場合も考えられる。 For this reason, conventionally, a MagicPacket or a packet for access is repeatedly transmitted from the host device at an appropriate interval in anticipation of the transition period such as t202 and t204 in FIG. 2 (or automatic retransmission is used in TCP or the like). Has been done. This causes a problem that the communication line bandwidth due to communication retransmission is wasted. Alternatively, if the response of the printer expected by the host cannot be obtained, depending on the timing, the host device may determine that the printing device is not operating, and then the host may give up the printer access.
現在では、ホスト装置の側から、プリンタのようなターゲット機器がいつどのようにしてスリープモードに入り、また通常動作モードに復帰するかを全く知ることができないので、上記の問題を回避することは非常に困難である。 At present, the host device cannot know at all when the target device such as a printer will enter the sleep mode and return to the normal operation mode, so that the above problem cannot be avoided. It is very difficult.
以上では、節電動作を行なう電子機器として印刷装置(プリンタ)を例示したが、上記の問題はもちろん他の節電動作を行なう電子機器にも共通するものである。 In the above, the printing apparatus (printer) is exemplified as the electronic device that performs the power saving operation. However, the above-described problem is also common to other electronic devices that perform the power saving operation.
本発明の課題は、上記問題を解決し、ホスト装置から、節電動作を行なう印刷装置がいつどのようにして節電モードから通常動作モードに復帰するかを認識できるようにすることにある。また、これによりホスト装置が節電モード〜通常動作モードの遷移期間を回避して接続インターフェース上に無駄なトラフィックを生じることなく確実に印刷装置と通信できるようにすることにある。 SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems, and to make it possible for the host device to recognize when and how the printing apparatus that performs the power saving operation returns from the power saving mode to the normal operation mode. In addition, this is to prevent the host device from transiting from the power saving mode to the normal operation mode and reliably communicate with the printing device without causing unnecessary traffic on the connection interface.
上記課題を解決するため、本発明においては、ホスト装置と接続され、前記ホスト装置からのコマンドを受信して節電モードから復帰する印刷装置の制御方法、印刷装置の制御プログラム、および印刷装置において、節電モードに移行するに先立って、前記印刷装置に用紙がセットされているかどうか判定し、用紙がセットされていないと判定された場合は前記ホスト装置からコマンドを受信して前記節電モードから復帰するのに要する復帰時間として第1の時間を示す情報を、前記節電モードに移行するに先立って前記ホスト装置に通知し、用紙がセットされていると判定された場合は前記ホスト装置からコマンドを受信して前記節電モードから復帰するのに要する復帰時間として前記第1の時間に第2の時間を加えた時間を示す情報を、前記節電モードに移行するに先立って前記ホスト装置に通知する構成を採用した。 In order to solve the above problems, in the present invention, in a printing apparatus control method, a printing apparatus control program, and a printing apparatus that are connected to a host apparatus and receive a command from the host apparatus and return from a power saving mode , Prior to entering the power saving mode, it is determined whether or not a sheet is set in the printing apparatus. If it is determined that a sheet is not set, a command is received from the host device to return from the power saving mode. The information indicating the first time required for the recovery is notified to the host device prior to shifting to the power saving mode, and when it is determined that the paper is set, the command is received from the host device. Then, information indicating a time obtained by adding a second time to the first time as a return time required for returning from the power saving mode, Adopting a configuration for notifying the host device prior to transition to serial power saving mode.
上記構成によれば、ホスト装置から、節電動作を行なう印刷装置がいつどのようにして節電モードから通常動作モードに復帰するかを認識できる。また、これによりホスト装置が節電モード〜通常動作モードの遷移期間を回避して接続インターフェース上に無駄なトラフィックを生じることなく確実に印刷装置と通信できる。しかも、印刷装置に用紙がセットされているかどうかに応じた適切な復帰時間をホスト装置に通知できるので、適切な復帰時間をホスト装置側で認識させることができる。 According to the above configuration, the host apparatus can recognize when and how the printing apparatus that performs the power saving operation returns from the power saving mode to the normal operation mode. This also allows the host device to reliably communicate with the printing apparatus without causing unnecessary traffic on the connection interface by avoiding the transition period from the power saving mode to the normal operation mode. In addition, since the host device can be notified of an appropriate return time depending on whether or not a sheet is set in the printing apparatus, the host device can recognize the appropriate return time.
以下、本発明を実施するための最良の形態について図面を用いて説明する。以下では、節電動作を行なう電子機器の一例として、印刷装置(プリンタ)を例示する。 The best mode for carrying out the present invention will be described below with reference to the drawings. Hereinafter, a printing apparatus (printer) will be exemplified as an example of an electronic device that performs a power saving operation.
図1は本発明を採用した印刷装置100の構成を示している。図1の印刷装置100は、装置全体の動作制御を司るCPU101を中心にバス109を介して互いにデータ授受するよう接続された次のような各部材を含む。
FIG. 1 shows the configuration of a printing apparatus 100 employing the present invention. The printing apparatus 100 of FIG. 1 includes the following members connected to exchange data via a
ROM102はCPU101が実行するプログラムを格納する。後述のパワーマネジメントに関する制御プログラムは、たとえばこのROM102に格納しておくことができる。RAM103は、装置の制御に必要な各種のデータの格納に用いられる。このデータには、たとえば印刷される画像データなども含まれる。
The
モータ駆動制御手段104は、印刷装置100に設けられる用紙や印刷ヘッド搬送用などのモータ駆動の検出制御を行なう。モータ駆動制御手段104には、印刷ヘッド111を駆動するヘッド駆動モータ109および用紙の紙送りを行なう給紙駆動モータ110が接続されている。
The motor drive control means 104 performs detection control of motor drive for conveying paper or a print head provided in the printing apparatus 100. A
印刷ヘッド制御手段105は、所定の記録方式の印刷ヘッド111と接続され、この印刷ヘッド111の印刷動作を制御する。印刷ヘッドがインクジェット方式のものであれば、印刷ヘッド制御手段105はたとえば印刷ヘッド111の用紙に対するインク吐出動作を制御する。 The print head control means 105 is connected to a print head 111 of a predetermined recording method, and controls the printing operation of this print head 111. If the print head is of an ink jet type, the print head control means 105 controls, for example, the ink ejection operation of the print head 111 on the paper.
センサ制御手段106は、印刷装置100に設けられる用紙や記録材を検出するための各種センサから得られる情報を取りまとめる。センサ制御手段106には、用紙の存在の有無および用紙枚数を検出する紙センサ112および印刷ヘッド111から吐出するインクの残量を検出するインクセンサ113が接続されている。CPU101は、このセンサ制御手段106を介して印刷装置100の動作状態を把握することができる。
The
ネットワークI/F(ネットワークインターフェース)107は、たとえばCSMA/CD方式のもので、ネットワーク上に接続された後述のホスト150との通信インターフェースとして用いられる。印刷装置100は、ネットワークI/F107を介してホスト150から送信される印刷データや制御コマンドを受信する他、本実施例では、モード移行時刻およびモード移行完了時間の情報をホスト150に送信する。
A network I / F (network interface) 107 is of the CSMA / CD system, for example, and is used as a communication interface with a host 150 (described later) connected on the network. In addition to receiving print data and control commands transmitted from the
液晶パネル108は、操作者に対して装置名称、動作状態などの各種情報や、操作の指示を表示するメッセージ文字列の表示に用いられるメッセージ表示手段として機能する。
The
タイマ114はRTC(リアルタイムクロック)などの素子から構成され、現在時刻(日時)や経過時間の計時に用いられる。タイマ114は下記のパワーマネジメント制御に関する計時に用いることができる。 The timer 114 is composed of an element such as an RTC (real time clock) and is used to measure the current time (date and time) and elapsed time. The timer 114 can be used for timing related to the following power management control.
次に、上記構成におけるパワーマネジメント制御に関して説明する。図3は、本実施例における印刷装置100のスリープモード移行処理の流れを示している。図3の手順は、たとえばタイマ割り込みなどによって、定期的に実行される。図3の手順は、CPU101の制御プログラムとしてたとえばROM102に格納しておく。
Next, power management control in the above configuration will be described. FIG. 3 shows the flow of the sleep mode transition process of the printing apparatus 100 in this embodiment. The procedure of FIG. 3 is periodically executed by, for example, a timer interrupt. The procedure in FIG. 3 is stored in the
図3のステップS301では、タイマ114により(あるいは他の手段により)構成したタイマカウンタをリセットし、続いてステップS302にて装置が現在、稼動中であるかを判断する。 In step S301 in FIG. 3, the timer counter configured by the timer 114 (or by other means) is reset, and then in step S302, it is determined whether the apparatus is currently operating.
ステップS301〜S304で用いられるタイマカウンタは、装置が動作しておらず、かつユーザの操作も行なわれていない状態において経過した時間を計時する。 The timer counter used in steps S301 to S304 measures the elapsed time in a state where the apparatus is not operating and no user operation is performed.
ステップS302において、装置がなんらかの動作を実行中であればステップS301へ戻り、タイマカウンタがリセットされる。 If it is determined in step S302 that the device is performing any operation, the process returns to step S301, and the timer counter is reset.
ステップS302にて装置が現在動作稼動中でなければ、ステップS303でユーザのパネル操作が行われたか否かを判断する。ステップS303でパネル操作が行なわれていたら、ステップS301へ戻り、タイマカウンタがリセットされる。 If it is determined in step S302 that the apparatus is not currently operating, it is determined in step S303 whether or not a user panel operation has been performed. If the panel operation is performed in step S303, the process returns to step S301, and the timer counter is reset.
ステップS303にてパネル操作が行なわれていなければ、ステップS304で、ステップS301でスタートされたタイマカウンタの値を調べることにより、一定時間が経過したか否かを判断する。ステップS304にてタイマ114により一定時間が経過していなければ、ステップS302へ戻る。 If the panel operation is not performed in step S303, it is determined in step S304 whether or not a predetermined time has elapsed by checking the value of the timer counter started in step S301. If the predetermined time has not elapsed by the timer 114 in step S304, the process returns to step S302.
ステップS304にてタイマ114により一定時間が経過していた場合、つまり装置が動作しておらず、かつユーザの操作も行なわれていない状態が一定時間続いた場合は、ステップS305に移行し、ROM102に記憶されている通常モードからスリープモードへの移行完了時間であるシャットダウン時間、およびスリープモードから通常モードへの移行完了時間である再起動時間の値を取得してRAM103に記憶する。
If the predetermined time has elapsed by the timer 114 in step S304, that is, if the apparatus is not operating and no user operation is performed for a predetermined time, the process proceeds to step S305, and the
このシャットダウン時間、および再起動時間は、図2においてはそれぞれ期間t202およびt204に相当するもので、印刷装置のハードウェア構成に応じてあらかじめ選んだ時間値をROM102に格納しておく。あるいはタイマ114(通常スリープモード中も動作させる)により実測した時間値を不揮発メモリに格納するようにし、この値を用いてもよい。
The shutdown time and restart time correspond to periods t202 and t204 in FIG. 2, respectively, and time values previously selected according to the hardware configuration of the printing apparatus are stored in the
ステップS306では、紙センサ112により印刷装置100に用紙がセットされているかをセンサ制御手段106を介して判別する。ステップS306で用紙がセットされていると判断した場合は、ステップS307でステップS305において取得した再起動時間の値に5秒を加えてRAM103に記憶し直し、ステップS308に進む。前記の5秒は印刷装置の再起動処理時における用紙のロード動作完了に必要な時間である。
In step S <b> 306, the
なお、ここでは、再起動時間を用紙セットの有無に応じて補正することを考えたが、再起動時間を左右する他の条件(たとえば印刷ヘッドの回復動作が必要か否かなど)に応じて再起動時間を加減するようにしてもよい。また、シャットダウン時間の方も同様であり、印刷ヘッドのホームポジションへの移動が必要か否かなどに応じてシャットダウン時間を加減することが考えられる。 Here, it is considered that the restart time is corrected according to the presence / absence of the paper set. However, depending on other conditions that influence the restart time (for example, whether the recovery operation of the print head is necessary). The restart time may be adjusted. The same applies to the shutdown time, and it is conceivable to adjust the shutdown time depending on whether or not the print head needs to move to the home position.
このように、電子機器の構成部材の動作状態を検出し、検出した構成部材の動作状態に応じて節電モードに移行する、または節電モードから復帰する遷移期間に関する時間(あるいは時刻)情報を求めることによって、該情報としてより正確、確実かつ現実的な情報をホスト150に通知できる。
As described above, the operation state of the component member of the electronic device is detected, and time (or time) information related to the transition period in which the operation mode is shifted to or returned from the power saving mode according to the detected operation state of the component member is obtained. Thus, more accurate, reliable and realistic information can be notified to the
ステップS306で印刷用紙がセットされていない場合は、ステップS306からステップS308に進む。 If no printing paper is set in step S306, the process proceeds from step S306 to step S308.
ステップS308では、タイマ114から得た現在時刻にシャットダウン時間を加えた時刻をシャットダウン完了時刻としてRAM103に記憶する。
In step S308, the time obtained by adding the shutdown time to the current time obtained from the timer 114 is stored in the
さらに、ステップS309ではステップS305、S307、S308にて算出および記憶されたシャットダウン完了時刻、シャットダウン時間、および再起動時間を、適当なデータフォーマットでパケットに構成し、ネットワークI/F107からブロードキャストアドレスを指定してパケット送信する。
Further, in step S309, the shutdown completion time, shutdown time, and restart time calculated and stored in steps S305, S307, and S308 are configured into packets in an appropriate data format, and a broadcast address is designated from the network I /
これにより、ネットワークI/F107に接続されている全てのホストにこれからスリープモードに入る印刷装置100のシャットダウン完了時刻、シャットダウン時間、および再起動時間が通知される。
As a result, all the hosts connected to the network I /
ステップS309の通知処理完了後、ステップS310で印刷装置100のシャットダウン処理として印刷ヘッドの駆動動作などをシャットダウン時間内に行なった後、CPU101をスリープモードに移行することでスリープモード移行処理を終了する。 After the notification process in step S309 is completed, the print head drive operation or the like is performed within the shutdown time as the shutdown process of the printing apparatus 100 in step S310, and then the CPU 101 is shifted to the sleep mode to end the sleep mode transition process.
以上のように本実施例のスリープモード移行処理によれば、印刷装置100に接続されたホストは、印刷装置100のシャットダウン完了時刻、シャットダウン時間および再起動時間を知ることができ、印刷装置100が通信応答できない間にホスト側から通信を行なうことを抑制することができる。 As described above, according to the sleep mode transition process of the present embodiment, the host connected to the printing apparatus 100 can know the shutdown completion time, the shutdown time, and the restart time of the printing apparatus 100. It is possible to suppress communication from the host side while the communication response is not possible.
たとえば、シャットダウン完了時刻からシャットダウン時間を減算した時刻から、シャットダウン完了時刻まで、ホストから印刷装置100に対するアクセスを控えるようにすれば、動作が不安定な期間において印刷装置100にアクセスすることを防止できる。 For example, if the host refrains from accessing the printing apparatus 100 from the time when the shutdown time is subtracted from the shutdown completion time until the shutdown completion time, it is possible to prevent the printing apparatus 100 from being accessed during a period of unstable operation. .
また、スリープモードにおいては、たとえば前述のMagicPacketのような覚醒(WakeUp)パケットを印刷装置100に送信することにより、印刷装置100をいつでもスリープモードから復帰させることができる。 In the sleep mode, for example, by sending a wake-up packet such as the above-mentioned MagicPacket to the printing apparatus 100, the printing apparatus 100 can be returned from the sleep mode at any time.
したがって、たとえばMagicPacketを送信した後、目的の印刷データを送信する前に印刷装置100から通知された再起動時間、あるいはそれ以上の時間、待機した上、印刷装置100へのアクセスを開始する。これにより、無駄なネットワークトラフィックを生じたり、誤動作を生じることなく確実に印刷装置100を動作させることができる。すなわち、ホストは、印刷装置100から取得した再起動時間を算出することにより、印刷装置100の再起動時間をより正確に判別することができる。 Therefore, for example, after transmitting MagicPacket, the apparatus waits for the restart time notified from the printing apparatus 100 before transmitting the target print data, or longer, and then starts access to the printing apparatus 100. As a result, it is possible to reliably operate the printing apparatus 100 without causing unnecessary network traffic or malfunction. That is, the host can more accurately determine the restart time of the printing apparatus 100 by calculating the restart time acquired from the printing apparatus 100.
なお、以上では、節電を行なうモードとして「スリープモード」を例示したが、上記「スリープモード」は通常動作モード以外のなんらかの節電を行なう任意の節電モードに置換することができる。また、上記シャットダウン完了時刻、シャットダウン時間および再起動時間は、それぞれ当該の節電モード制御における、節電モードへの移行完了時刻、節電モード移行時間、および節電モード復帰時間と考えればよい。 In the above description, the “sleep mode” is exemplified as the power saving mode. However, the “sleep mode” can be replaced with any power saving mode other than the normal operation mode. The shutdown completion time, shutdown time, and restart time may be considered as the completion time of transition to power saving mode, power saving mode transition time, and power saving mode return time in the power saving mode control, respectively.
また、以上では、ホストと印刷装置が通信するインターフェースとしてネットワークI/F107を例示したが、USB(UniversalSerialBus)などホストと印刷装置が双方向の通信が可能な手段であれば上記同様の効果を期待できる。
In the above, the network I /
また、印刷装置からホストに対して節電モードに関する通知を行なう手法として印刷装置がブロードキャストアドレスに一斉同報する方法を採用したが、他の手法によっても同様の目的を達成できるのはいうまでもない。 In addition, as a method of notifying the host about the power saving mode from the printing device, a method in which the printing device broadcasts simultaneously to the broadcast address is adopted, but it goes without saying that the same object can be achieved by other methods. .
例えば、あらかじめ、節電モードに関する通知を行なうべきホストの識別情報(たとえばホストのIPアドレス)を当該印刷装置に登録しておく。そして、登録されたホスト(のみ)に対して節電モードに関する通知を行なうためのパケットを送信する。 For example, identification information (for example, the IP address of the host) of the host to be notified about the power saving mode is registered in advance in the printing apparatus. Then, a packet for notifying the power saving mode is transmitted to the registered host (only).
あるいは、ホスト側から印刷装置に対して自発的に完了時間内容の問い合わせをする内容の通信を行なうようにしてもよい。この通信にはSNMPなど、リモート機器の設定/動作状態を通知しあうためのプロトコルを流用することが考えられる。そして、問い合わせを受けた印刷装置が節電モードに関する通知を行なうためのパケットを送信する。 Alternatively, the host side may communicate with the printing apparatus for contents that voluntarily inquire about the contents of the completion time. For this communication, it is conceivable to use a protocol such as SNMP for notifying the setting / operation state of the remote device. Then, the printing apparatus that has received the inquiry transmits a packet for notifying the power saving mode.
以上のような通信手法によっても、ブロードキャスト通信の場合と同様の効果を期待できる。 The same effect as in the case of broadcast communication can also be expected by the above communication method.
また、上記実施例では、印刷装置の状態を取得する状態取得手段としてセンサ制御手段106を採用したが、ROM102やRAM103内に記憶されている当該印刷装置の設定値、あるいはネットワークI/F107に記憶されているネットワークプロトコル設定の設定値を状態取得手段として使用するような構成であっても同様の効果が得られる。
In the above-described embodiment, the
また、上記実施例では、印刷装置の現在時刻を取得する手段については、タイマ114(RTC)を用いることを考えた。しかし、印刷装置に設けた何らかの他の構成によるカレンダタイマ手段のような内部時刻保持手段を用いることができるのはいうまでもない。また、NTP(Network Time Protocol)のようなプロトコルを用いて、印刷装置がネットワークI/F107を通じて他のホストから時刻情報を取得する外部時刻取得手段を利用してもよい。すなわち、現在時刻取得については、いかなる時刻を取得する方法を用いても上述の効果は変わらない。
In the above embodiment, the timer 114 (RTC) is considered as means for obtaining the current time of the printing apparatus. However, it goes without saying that an internal time holding unit such as a calendar timer unit having some other configuration provided in the printing apparatus can be used. In addition, an external time acquisition unit may be used in which the printing apparatus acquires time information from another host via the network I /
また、以上の実施例では、節電動作を行ない、その節電モードに関する通知を行なう電子機器として印刷装置を例示した。しかしながら、節電動作を行ない、その節電モードに関する通知を行なう電子機器としては、印刷装置のみならず、他のあらゆる電子機器が考えられる。これらの機器には、もちろん、PC本体やスキャナなどの機器が含まれる。 Further, in the above embodiment, the printing apparatus is exemplified as the electronic device that performs the power saving operation and notifies the power saving mode. However, not only the printing apparatus but also any other electronic device can be considered as an electronic device that performs the power saving operation and notifies the power saving mode. Of course, these devices include devices such as a PC body and a scanner.
本発明は、節電動作を行ない、その節電モードに関する通知を行なう各種電子機器に適用できる。この種の電子機器において本発明を実施するための制御プログラムは、あらかじめ電子機器のROMに格納しておく他、たとえばUSBインターフェースなどにより電子機器に接続されたMOやCD−ROMなどのメディアからインストール/アップデートしたり、電子機器が任意のサーバからネットワーク経由で供給されるようにすることもできる。 The present invention can be applied to various electronic devices that perform power saving operation and perform notification regarding the power saving mode. A control program for carrying out the present invention in this type of electronic device is stored in advance in a ROM of the electronic device, or installed from a medium such as an MO or a CD-ROM connected to the electronic device via a USB interface, for example. It is also possible to update / update the electronic device from any server via the network.
100 印刷装置
101 CPU
102 ROM
103 RAM
104 モータ駆動制御手段
105 印刷ヘッド制御手段
106 センサ制御手段
107 ネットワークI/F
109 バス
110 給紙駆動モータ
111 印刷ヘッド
112 紙センサ
113 インクセンサ
114 タイマ
150 ホスト
100 Printing apparatus 101 CPU
102 ROM
103 RAM
104 Motor drive control means 105 Print head control means 106 Sensor control means 107 Network I / F
109
Claims (5)
節電モードに移行するに先立って、前記印刷装置に用紙がセットされているかどうか判定し、
用紙がセットされていないと判定された場合は前記ホスト装置からコマンドを受信して前記節電モードから復帰するのに要する復帰時間として第1の時間を示す情報を、前記節電モードに移行するに先立って前記ホスト装置に通知し、
用紙がセットされていると判定された場合は前記ホスト装置からコマンドを受信して前記節電モードから復帰するのに要する復帰時間として前記第1の時間に第2の時間を加えた時間を示す情報を、前記節電モードに移行するに先立って前記ホスト装置に通知することを特徴とする印刷装置の制御方法。 In a control method of a printing apparatus connected to a host apparatus, receiving a command from the host apparatus and returning from a power saving mode ,
Prior to entering the power saving mode, it is determined whether paper is set in the printing apparatus,
When it is determined that no paper is set , information indicating a first time as a return time required for returning from the power saving mode upon receiving a command from the host device is displayed prior to shifting to the power saving mode. To notify the host device ,
When it is determined that a sheet is set, information indicating a time obtained by adding a second time to the first time as a return time required for receiving a command from the host device and returning from the power saving mode Prior to shifting to the power saving mode, the host apparatus is notified of the printing apparatus control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006122797A JP4819564B2 (en) | 2006-04-27 | 2006-04-27 | Printing apparatus control method, printing apparatus control program, and printing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006122797A JP4819564B2 (en) | 2006-04-27 | 2006-04-27 | Printing apparatus control method, printing apparatus control program, and printing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007293729A JP2007293729A (en) | 2007-11-08 |
JP4819564B2 true JP4819564B2 (en) | 2011-11-24 |
Family
ID=38764287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006122797A Expired - Fee Related JP4819564B2 (en) | 2006-04-27 | 2006-04-27 | Printing apparatus control method, printing apparatus control program, and printing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4819564B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4945528B2 (en) | 2008-08-21 | 2012-06-06 | 株式会社東芝 | Display device, communication method, and communication program |
JP2010067182A (en) * | 2008-09-12 | 2010-03-25 | Toshiba Corp | Server and client device |
JP5370651B2 (en) * | 2009-03-25 | 2013-12-18 | 富士ゼロックス株式会社 | Power control apparatus, power control system, and power control program |
JP5267599B2 (en) | 2011-02-28 | 2013-08-21 | ブラザー工業株式会社 | Image forming apparatus and image reading apparatus |
EP2787598B1 (en) | 2011-11-28 | 2018-04-25 | Kyocera Corporation | Power control device, power control system, and power control method |
JP5838862B2 (en) | 2012-03-01 | 2016-01-06 | セイコーエプソン株式会社 | Network system, start control method, and network device |
WO2018221591A1 (en) * | 2017-05-31 | 2018-12-06 | キヤノン株式会社 | Accessory device, camera, and communication control program |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07160370A (en) * | 1993-12-06 | 1995-06-23 | Nissan Motor Co Ltd | Service interruption controller |
JP3077788B2 (en) * | 1994-04-28 | 2000-08-14 | シャープ株式会社 | Information processing device |
JP3325417B2 (en) * | 1995-02-08 | 2002-09-17 | 株式会社リコー | Image forming apparatus and its higher-level equipment |
JPH10175353A (en) * | 1996-10-17 | 1998-06-30 | Canon Inc | Output system |
JP2002202834A (en) * | 2000-12-28 | 2002-07-19 | Canon Inc | Information processor, communication system, power control method, and storage medium |
JP2002244834A (en) * | 2001-02-15 | 2002-08-30 | Fuji Xerox Co Ltd | Printing device |
JP2003208247A (en) * | 2002-01-17 | 2003-07-25 | Canon Inc | Picture display system and its power source control method |
JP2003241582A (en) * | 2002-02-20 | 2003-08-29 | Ricoh Co Ltd | Image forming apparatus |
JP4192608B2 (en) * | 2003-01-27 | 2008-12-10 | コニカミノルタビジネステクノロジーズ株式会社 | Image forming apparatus, printing system, and data transmission program |
JP2005335275A (en) * | 2004-05-28 | 2005-12-08 | Fuji Xerox Co Ltd | Image forming apparatus |
-
2006
- 2006-04-27 JP JP2006122797A patent/JP4819564B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2007293729A (en) | 2007-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4819564B2 (en) | Printing apparatus control method, printing apparatus control program, and printing apparatus | |
US8547564B2 (en) | Image processing apparatus connectable to a plurality of host devices and having a receiver | |
US7593661B2 (en) | Power-saving control method of image forming device, and image forming device | |
US9430016B2 (en) | Information processing apparatus capable of switching patterns to be compared with data received by network interface control method for information processing apparatus, and computer-readable storage medium | |
JP2005041214A (en) | Printing control device and control method therefor and program | |
JP2006215686A (en) | Host computer, network printer, and method for controlling power management of network printer | |
CN107645618B (en) | Image forming apparatus and power control method for image forming apparatus | |
JP2011235493A (en) | Communication unit | |
US9319294B2 (en) | Wake-up processing by network apparatus in response to remotely-transmitted wake-up instruction | |
JP5477773B2 (en) | Image forming apparatus | |
US20150138593A1 (en) | Image forming apparatus, method for controlling image forming apparatus, and program | |
JP2007320099A (en) | Image forming system, user interfacing device, and image forming device | |
JP4654788B2 (en) | Information processing apparatus and information processing apparatus control method | |
JP2015022646A (en) | Printing system and printer | |
US10379597B2 (en) | Processor, host device, power saving method of USB device, and computer program | |
JP4508629B2 (en) | Recording device | |
JP6702790B2 (en) | Information processing apparatus having network interface having proxy response function | |
JP2004248047A (en) | Image forming device and electronic equipment | |
JP2007108862A (en) | Sleep mode shift control method for network connecting peripheral equipment | |
JP2010005911A (en) | Printer | |
JP2010089424A (en) | Printer | |
JP2010010942A (en) | Image formation system and image formation method | |
JP2006092474A (en) | Information processing apparatus and power saving control method for use in the same | |
JP2006113947A (en) | Status monitor for network peripheral device | |
JP2005169623A (en) | Printing device, printing device system and power saving control method/program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090403 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100201 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20100630 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101111 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101116 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110117 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110830 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110901 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140909 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140909 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |