JP5720086B2 - Image forming apparatus and control method in image forming apparatus - Google Patents

Image forming apparatus and control method in image forming apparatus Download PDF

Info

Publication number
JP5720086B2
JP5720086B2 JP2009185925A JP2009185925A JP5720086B2 JP 5720086 B2 JP5720086 B2 JP 5720086B2 JP 2009185925 A JP2009185925 A JP 2009185925A JP 2009185925 A JP2009185925 A JP 2009185925A JP 5720086 B2 JP5720086 B2 JP 5720086B2
Authority
JP
Japan
Prior art keywords
power
initialization
state
unit
control unit
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.)
Active
Application number
JP2009185925A
Other languages
Japanese (ja)
Other versions
JP2011037109A (en
Inventor
高文 樋口
高文 樋口
片山 敏彦
敏彦 片山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009185925A priority Critical patent/JP5720086B2/en
Publication of JP2011037109A publication Critical patent/JP2011037109A/en
Application granted granted Critical
Publication of JP5720086B2 publication Critical patent/JP5720086B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、操作及び動作がないまま経過時間が設定時間に達すると、電源をオフさせる自動電源オフ機能を備えた画像形成装置及び画像形成装置における制御方法に関する。   The present invention relates to an image forming apparatus having an automatic power-off function that turns off power when an elapsed time reaches a set time without any operation and operation, and a control method in the image forming apparatus.

従来、この種の画像形成装置の一つであるプリンターには、操作及び動作がないまま経過時間が設定時間に達すると、自動で電源を遮断するオートパワーオフ機能(自動電源オフ機能)を備えるものが知られている。(例えば特許文献1)。このプリンターは、現在時刻が予め決められた時間帯内の時刻であるか否かを判断し、操作及び動作がないまま設定時間を経過した場合、その時間帯外の時刻であればノーマルモードからスリープモードへ移行し、その時間帯内の時刻であれば、プリンターの電源をオフする構成であった。   2. Description of the Related Art Conventionally, a printer that is one of this type of image forming apparatus has an auto power off function (auto power off function) that automatically shuts off power when an elapsed time reaches a set time without any operation or operation. Things are known. (For example, patent document 1). This printer determines whether or not the current time is within a predetermined time zone, and if the set time has passed without any operation or action, if the time is outside that time zone, the normal mode is The printer is switched to the sleep mode and the printer is turned off at a time within that time zone.

さらに特許文献2には、ファックス機能を有するプリンターが開示されている。このプリンターは、主電源回路と補助電源回路とを備え、操作及び動作がないまま設定時間を経過すると、主電源回路をオフするものの補助電源回路の給電によりファックス着信機能及びUSB通信機能はオン状態に維持する。そして、この状態でファックスを着信すると、主電源回路がオフからオンに切り換わり、ファックス印刷が可能になる構成であった。   Further, Patent Document 2 discloses a printer having a fax function. This printer has a main power supply circuit and an auxiliary power supply circuit. When the set time elapses without any operation or operation, the main power supply circuit is turned off, but the fax power receiving function and USB communication function are turned on by the power supply of the auxiliary power supply circuit. To maintain. When a fax is received in this state, the main power supply circuit is switched from off to on, and fax printing is possible.

また、通常、プリンターは、電源オンされた際に初期化動作を行う(例えば特許文献3)。初期化動作としては、例えばシリアルプリンターであれば、キャリッジ(記録ヘッド)を移動させて主走査方向における原点出しを行ってホーム位置を割り出すホームシーク動作が挙げられる。この特許文献3には、電源オフ処理の際に、キャリッジがホーム位置になければ、キャリッジをホーム位置に移動させる動作を行い、動作が正しく終了すれば、正常終了の旨を不揮発性メモリーに記憶し、次に電源オンされた際に、不揮発性メモリーに正常終了の旨の情報が記憶されていれば、初期化動作をスキップする構成も開示されている。   Normally, the printer performs an initialization operation when the power is turned on (for example, Patent Document 3). As the initialization operation, for example, in the case of a serial printer, there is a home seek operation in which the home position is determined by moving the carriage (recording head) and performing the origin search in the main scanning direction. In Patent Document 3, when the power is turned off, if the carriage is not at the home position, an operation for moving the carriage to the home position is performed. A configuration is also disclosed in which the initialization operation is skipped if information indicating normal termination is stored in the nonvolatile memory when the power is turned on next time.

特開2008−142942号公報JP 2008-142942 A 特開2003−228444号公報JP 2003-228444 A 特開2000−99214号公報JP 2000-99214 A

ところで、自動電源オフ機能を備えたプリンターにおいては、自動電源オフ状態から電源オン状態に復帰したときと、電源スイッチをオフ操作した通常電源オフから復帰したときとで、同様の初期化動作を行う構成であった。しかし、自動電源オフは、省電力を目的として行われユーザーがプリンターの近くにいるとは限らず、その自動電源オフ中にユーザーがプリンターを移動又は傾ける可能性は極めて低い。そのため、自動電源オフ時のキャリッジの位置情報を不揮発性記憶手段に記憶しておけば、次回の電源オン時にその位置情報を用いることで、ホームシーク動作など一部の初期化動作を省略(スキップ)可能である。一方、通常電源オフとは、エラー発生や印刷の終了などを理由にユーザーが意図してプリンターの電源をオフした場合である。この場合、少なくとも電源オフ操作時にはユーザーがプリンターの近くに居り、ユーザーがプリンターを移動又は傾ける可能性はある。この場合、次の電源オン時に、エラーが原因であるいはプリンターの移動や傾け等が原因で、キャリッジがホーム位置からずれている可能性がある。そのため、通常電源オフ状態から電源オンに復帰した際は、初期化動作を省略することなく行うことが好ましい。   By the way, in a printer having an automatic power-off function, the same initialization operation is performed when returning from the automatic power-off state to the power-on state and when returning from the normal power-off when the power switch is turned off. It was a configuration. However, the automatic power-off is performed for the purpose of power saving, and the user is not always near the printer, and the possibility that the user moves or tilts the printer during the automatic power-off is extremely low. Therefore, if the position information of the carriage at the time of automatic power-off is stored in the non-volatile storage means, a part of initialization operations such as a home seek operation can be omitted by using the position information at the next power-on (skip). It is possible. On the other hand, the normal power off is a case where the user intentionally turns off the printer due to an error or the end of printing. In this case, at least when the power is turned off, the user may be near the printer and the user may move or tilt the printer. In this case, at the next power-on, the carriage may be displaced from the home position due to an error or due to movement or tilting of the printer. For this reason, it is preferable to perform the initialization operation without omission when the power is returned from the normal power-off state.

自動電源オフ機能は省電力を目的とする機能なので、省電力の観点からは、不要な初期化動作、もしくは、省略しても信頼性上ほとんど問題のないレベルの初期化動作は、なるべく省略することが好ましい。しかし、従来は、自動電源オフ状態から復帰した場合と、通常電源オフ状態から復帰した場合とで、同じ初期化動作を行っていたので、自動電源オフ状態から復帰した際に、不要もしくは不要とみなしうる初期化動作まで行われ、このことが、自動電源オフ機能を備えたプリンターの省電力効果を低下させる原因になっているという問題があった。   Since the automatic power-off function is a function intended to save power, from the viewpoint of power saving, unnecessary initialization operations or initialization operations that have almost no problem in reliability even if omitted are omitted as much as possible. It is preferable. However, in the past, the same initialization operation was performed when returning from the automatic power-off state and when returning from the normal power-off state, so it is unnecessary or unnecessary when returning from the automatic power-off state. There is a problem that the initialization operation that can be considered is performed, and this causes a reduction in the power saving effect of the printer having the automatic power-off function.

本発明は前記の問題点に鑑みてなされたものであって、その目的は、自動電源オフ状態から電源オン状態に復帰したときに行われる初期化動作を、自動電源オフ状態以外の電源オフ状態から復帰したときに行われる初期化動作に比べ簡単に済ませることで、省電力効果を高められる画像形成装置及び画像形成装置における制御方法を提供することにある。   The present invention has been made in view of the above-described problems, and its purpose is to perform an initialization operation performed when returning from the automatic power-off state to the power-on state in a power-off state other than the automatic power-off state. It is an object of the present invention to provide an image forming apparatus and a control method for the image forming apparatus that can improve the power saving effect by simply completing the initialization operation that is performed when returning from the operation.

上記問題点を解決するために、本発明は、画像形成装置であって、電源投入手段と、不揮発性記憶手段と、記録媒体に画像を記録する機能を有するとともに所定方向に移動可能な記録ヘッドと、電源投入後においてユーザーによる操作及び動作がないまま経過した時間を測定する経過時間測定手段と、前記経過時間測定手段が測定した経過時間が設定時間を超えた場合に、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報を記憶してから、電源をオフにする電源オフ手段とを備え、前記電源投入手段により電源が投入された場合に、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されていない場合には、前記記録ヘッドの位置を検出する位置検出動作を含む第一の初期化動作を行い、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合には、前記位置検出動作を含まない第二の初期化動作を行う初期化動作制御手段と、を備えたことを要旨とする。 In order to solve the above problems, the present invention is an image forming apparatus, which has a function of recording an image on a recording medium , a power-on unit, a non-volatile storage unit, and a recording head movable in a predetermined direction. And an elapsed time measuring means for measuring a time elapsed without user operation and operation after power-on, and when the elapsed time measured by the elapsed time measuring means exceeds a set time, the nonvolatile storage means Storing information indicating that the power is automatically turned off, and then turning off the power, and when the power is turned on by the power-on means, the nonvolatile storage means when the information indicating the oFF state is not stored, it performs a first initialization operation including the position detecting operation for detecting the position of the recording head, the non-volatile memory When the information indicating that the automatic power-off state to the stage are stored, and a brief by comprising an initialization operation control means for performing a second initializing operation not including the position detecting operation To do.

前記位置検出動作は、前記記録ヘッドを前記所定方向の一方のエンドに当てて前記記録ヘッドの前記所定方向における原点を探すことにより前記記録ヘッドの位置を検出する動作であることが好ましい。
本発明の画像形成装置によれば、電源投入後においてユーザーによる操作及び動作がないまま経過した時間が経過時間測定手段により計測される。その測定した経過時間が設定時間を超えた場合、電源オフ手段は、不揮発性記憶手段に自動電源オフ状態であることを示す情報を記憶してから、画像形成装置の電源をオフにする。この自動電源オフ状態から電源投入手段により電源が投入された場合に、初期化動作制御手段は、不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されていない場合に、記録ヘッドの位置を検出する位置検出動作を含む第一の初期化動作を行い、一方、不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合に、位置検出動作を含まない第二の初期化動作を行う。このため、自動電源オフ状態から電源オン状態に復帰したときに行われる初期化動作(第二の初期化動作)を、自動電源オフ状態以外の電源オフ状態から復帰したときに行われる初期化動作(第一の初期化動作)に比べ簡単に済ませることで、省電力効果を高めることができる。
The position detecting operation, and this is an operation for detecting a position of said recording head by against the recording head to one end of said predetermined direction Find origin in the predetermined direction of the recording head is preferable.
According to the image forming apparatus of the present invention, the elapsed time is measured by the elapsed time measuring means after the power is turned on without any user operation or action. If the measured elapsed time exceeds the set time, the power-off means stores information indicating that the automatic power-off state is stored in the nonvolatile storage means, and then turns off the power of the image forming apparatus. When power is turned on by the power-on means from this automatic power-off state, the initialization operation control means is a recording head when information indicating that the automatic power-off state is not stored in the nonvolatile storage means. When the first initialization operation including the position detection operation for detecting the position of the vehicle is performed and information indicating that the automatic power-off state is stored in the nonvolatile storage means, the position detection operation is not included. A second initialization operation is performed. For this reason, the initialization operation (second initialization operation) performed when returning from the automatic power-off state to the power-on state is performed when returning from a power-off state other than the automatic power-off state. The power saving effect can be enhanced by simply completing the operation compared to the first initialization operation.

また、本発明の画像形成装置では、前記位置検出動作は、前記記録ヘッドを前記所定方向の一方のエンドに当てて前記記録ヘッドの前記所定方向における原点を探すことにより前記記録ヘッドの位置を検出する動作であることが好ましい。
また、本発明の画像形成装置では、前記不揮発性記憶手段は、前記記録ヘッドの位置を記憶し、前記第二の初期化動作では、電源をオフする前に前記不揮発性記憶手段に記憶された前記記録ヘッドの位置を現在の前記記録ヘッドの位置とすることが好ましい。
また、本発明の画像形成装置では、画像形成動作を行うためのメカニカル機構を備え、前記第一の初期化動作はメカニカル機構の初期化動作を含み、第二の初期化動作は、前記第一の初期化動作に含まれるメカニカル機構の初期化動作のうち少なくとも一つのメカニカル機構の初期化動作を含まないことが好ましい。
In the image forming apparatus according to the aspect of the invention, the position detection operation may detect the position of the recording head by applying the recording head to one end in the predetermined direction and searching for the origin of the recording head in the predetermined direction. It is preferable that the operation be performed.
In the image forming apparatus according to the aspect of the invention, the nonvolatile storage unit stores the position of the recording head, and is stored in the nonvolatile storage unit before the power is turned off in the second initialization operation. It is preferable that the position of the recording head is the current position of the recording head.
The image forming apparatus of the present invention further includes a mechanical mechanism for performing an image forming operation, wherein the first initialization operation includes an initialization operation of the mechanical mechanism, and the second initialization operation includes the first initialization operation. It is preferable that the initialization operation of at least one mechanical mechanism is not included in the initialization operation of the mechanical mechanism included in the initialization operation.

この発明によれば、第一の初期化動作はメカニカル機構の初期化動作を含み、第二の初期化動作は第一の初期化動作に含まれるメカニカル機構の初期化動作のうち少なくとも一つのメカニカル機構の初期化動作を含まないので、自動電源オフ状態から電源オン状態に復帰した際の初期化動作を簡易に済ませることができる。   According to this invention, the first initialization operation includes an initialization operation of the mechanical mechanism, and the second initialization operation includes at least one mechanical operation among the initialization operations of the mechanical mechanism included in the first initialization operation. Since the initialization operation of the mechanism is not included, the initialization operation when returning from the automatic power-off state to the power-on state can be easily completed.

本発明の画像形成装置では、前記メカニカル機構の一つとしてシリアル式の記録ヘッドを備え、前記第一の初期化動作は、前記記録ヘッドの走査範囲を走査して基準位置を設定するシーク動作を含み、第二の初期化動作は前記シーク動作を含まないことが好ましい。   In the image forming apparatus of the present invention, a serial type recording head is provided as one of the mechanical mechanisms, and the first initialization operation includes a seek operation for setting a reference position by scanning a scanning range of the recording head. It is preferable that the second initialization operation does not include the seek operation.

この発明によれば、第一の初期化動作は、記録ヘッドの走査範囲を走査して基準位置を設定するシーク動作を含み、自動電源オフ状態から電源オン状態に復帰する際の第二の初期化動作はシーク動作を含まないので、自動電源オフ状態から電源オン状態に復帰した際の初期化動作を簡易に済ませることができる。   According to the present invention, the first initialization operation includes a seek operation for setting the reference position by scanning the scanning range of the recording head, and the second initial operation when returning from the automatic power-off state to the power-on state. Since the initialization operation does not include a seek operation, the initialization operation when returning from the automatic power-off state to the power-on state can be easily completed.

さらに、本発明の画像形成装置では、ファックス着信手段をさらに備え、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合に、前記ファックスの着信に基づいて電源が投入された場合には、該ファックスのジョブの終了後に前記設定時間を経過する前に、前記不揮発性記憶手段に前記自動電源オフ状態であることを示す情報を記憶した状態で、電源をオフにすることが好ましい。 Further, in the image forming apparatus of the present invention, when further comprising a fax call means, the previous SL information indicating that the automatic power-off state to the non-volatile memory means are stored, based on the incoming of the fax source Is turned on with information indicating that the automatic power-off state is stored in the non-volatile storage means before the set time elapses after the fax job is completed. It is preferable to make it.

この発明によれば、不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合に、ファックスの着信に基づいて電源が投入された場合には、このファックスのジョブの終了後に、電源オフ手段は、設定時間を経過する前に、不揮発性記憶手段に自動電源オフ状態であることを示す情報を記憶した状態で(例えば自動電源オフ状態であることを示す情報が残っていればそのままの状態で、その情報が残っていなければ記憶してから)、電源をオフにする。この場合、ユーザーが画像形成装置の近傍にいない確率が高いので、ジョブ処理後、速やかに自動電源オフした方が省電力に寄与できる。
本発明の画像形成装置では、ファックス着信手段と、電源投入手段と、不揮発性記憶手段と、電源投入後においてユーザーによる操作及び動作がないまま経過した時間を測定する経過時間測定手段と、前記経過時間測定手段が測定した経過時間が設定時間を超えた場合に、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報を記憶してから、電源をオフにする電源オフ手段と、前記電源投入手段により電源が投入された場合に、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されていない場合には、第一の初期化動作を行い、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合には、前記第一の初期化動作よりも簡易な第二の初期化動作を行う初期化動作制御手段と、を備え、前記電源オフ手段は、前記自動電源オフ状態の下で、前記ファックスの着信に基づいて電源が投入された場合には、該ファックスのジョブの終了後に前記設定時間を経過する前に、前記不揮発性記憶手段に前記自動電源オフ状態であることを示す情報を記憶した状態で、電源をオフにすることを要旨とする。
According to the present invention, when information indicating that the automatic power-off state is stored in the non-volatile storage means and the power is turned on based on the incoming fax, the end of the fax job is completed. Later, before the set time elapses, the power-off means stores information indicating that the automatic power-off state is stored in the nonvolatile storage means (for example, information indicating that the automatic power-off state remains). If it does not remain, store it (if it does not remain) and turn off the power. In this case, since there is a high probability that the user is not in the vicinity of the image forming apparatus, it is possible to contribute to power saving by automatically turning off the power immediately after job processing.
In the image forming apparatus of the present invention, the fax receiving means, the power-on means, the nonvolatile storage means, the elapsed time measuring means for measuring the elapsed time without user operation and operation after the power-on, When the elapsed time measured by the time measuring unit exceeds a set time, the nonvolatile storage unit stores information indicating that the power is automatically turned off, and then turns off the power. When the power is turned on by the power-on means and the information indicating that the automatic power-off state is not stored in the nonvolatile storage means, a first initialization operation is performed, and the nonvolatile storage is performed. When the information indicating that the automatic power-off state is stored in the means, initialization operation control means for performing a second initialization operation simpler than the first initialization operation; And the power-off means, when the power is turned on based on the incoming fax under the automatic power-off state, before the set time elapses after the fax job ends. The gist of the invention is to turn off the power in a state in which information indicating that the power is automatically turned off is stored in the nonvolatile storage means.

本発明の画像形成装置では、前記電源オフ手段は、自動電源オフ時には、前記ファックス着信手段をファックスの着信が可能な状態に着信機能をオンにし、前記自動電源オフ以外の電源オフ時には前記ファックス着信手段の着信機能をオフにすることが好ましい。   In the image forming apparatus according to the present invention, when the power is turned off, the power-off means turns on the reception function so that the fax incoming means can receive a fax, and when the power is off except for the automatic power-off, It is preferable to turn off the incoming function of the means.

この発明によれば、電源オフ手段は、自動電源オフ時には、ファックス着信手段をファックスの着信が可能な状態に着信機能をオンにし、自動電源オフ以外の電源オフ時にはファックス着信手段の着信機能をオフにする。よって、ユーザーの電源オフの意思のない自動電源オフ時には、ユーザーの意図するとおり、ファックス着信手段によるファックスの着信ができ、ユーザーの電源オフの意思のある自動電源オフ以外の電源オフ時には、ユーザーの意図するとおり、ファックス着信手段によるファックスの着信ができない。   According to the present invention, the power-off means turns on the incoming call function so that the fax incoming means can receive a fax when the automatic power is turned off, and turns off the incoming call function of the fax incoming means when the power is off except for the automatic power-off. To. Therefore, at the time of automatic power-off without the user's intention to power off, the fax can be received by the fax receiving means as intended by the user, and at the time of power-off other than the automatic power-off that the user intends to power off, As intended, incoming faxes cannot be received by fax incoming means.

また、本発明の画像形成装置では、前記電源投入手段が前記ファックス着信に基づき電源を投入した場合は、前記第二の初期化動作ではファックス印刷に必要な最低限のハードウェア初期化を行うことが好ましい。   In the image forming apparatus of the present invention, when the power-on means turns on the power based on the incoming fax, the second initialization operation performs minimum hardware initialization necessary for fax printing. Is preferred.

この発明によれば、電源投入手段がファックス着信に基づき電源を投入した場合は、第二の初期化動作ではファックス印刷に必要な最低限のハードウェア初期化を行う。このため、不要なハードウェア初期化が省かれるので、ファックス印刷を比較的早期に開始できるうえ、省いたハードウェア初期化の分だけ省電力にも寄与できる。   According to the present invention, when the power-on means is turned on based on an incoming fax, the second initialization operation performs the minimum hardware initialization necessary for fax printing. For this reason, unnecessary hardware initialization is omitted, so that fax printing can be started relatively early, and power saving can be contributed by the omitted hardware initialization.

本発明の画像形成装置は、前記メカニカル機構の一つとしてシリアル式の記録ヘッドを備えたシリアル記録方式の画像形成装置であって、設定時間経過後に、自動電源オフ状態であることを示す情報とともに前記記録ヘッドの位置情報を前記不揮発性記憶手段に記憶し、前記第二の初期化動作においては、前記不揮発性記憶手段に記憶された位置情報を取得して、位置情報を新たに取得するための初期化動作を省略することが好ましい。   The image forming apparatus of the present invention is a serial recording type image forming apparatus provided with a serial type recording head as one of the mechanical mechanisms, together with information indicating an automatic power-off state after a set time has elapsed. The position information of the recording head is stored in the non-volatile storage unit, and in the second initialization operation, the position information stored in the non-volatile storage unit is acquired to newly acquire the position information. It is preferable to omit the initialization operation.

この発明によれば、設定時間経過後に、自動電源オフ状態であることを示す情報とともに記録ヘッドの位置情報を不揮発性記憶手段に記憶し、第二の初期化動作においては、不揮発性記憶手段に記憶された位置情報を取得して、位置情報を新たに取得するための初期化動作を省略する。よって、初期化動作を省略しても、不揮発性記憶手段から記録ヘッドの位置情報を取得できる。   According to the present invention, after the set time elapses, the position information of the recording head is stored in the nonvolatile storage means together with the information indicating that the power is automatically turned off, and in the second initialization operation, the nonvolatile storage means is stored. An initialization operation for acquiring the stored position information and newly acquiring the position information is omitted. Therefore, even if the initialization operation is omitted, the position information of the recording head can be acquired from the nonvolatile storage means.

さらに、本発明の画像形成装置では、自動電源オフ前に位置検出動作を行い、当該位置検出動作の終了後における位置情報を前記不揮発性記憶手段に記憶することが好ましい。
この発明によれば、自動電源オフ前に位置検出動作を行い、この位置検出動作の終了後における位置情報を不揮発性記憶手段に記憶する。例えば位置検出動作を省略し続けた場合には、位置情報の誤差が累積するので、自動電源オフ前に位置検出動作を行ってから位置情報を取得すれば、誤差の累積を抑えることができる。
Further, in the image forming apparatus of the present invention performs position detection operation before the automatic power-off, it is preferable to store the location information after completion of the position detection operation in the nonvolatile storage means.
According to the present invention, it performs position detection operation before the automatic power-off, and stores the position information after the end of the position detection operation in the nonvolatile memory means. If for example continued to omit the position detection operation, since the error of the position information is accumulated, by obtaining the positional information after performing the position detection operation before the automatic power-off, it is possible to suppress the accumulation of errors it can.

本発明の画像形成装置では、現在時刻を計時する時計手段をさらに備え、前記電源オフ手段は、現在時刻が属する時間帯に応じた異なる前記設定時間を設定することが好ましい。   In the image forming apparatus of the present invention, it is preferable that the image forming apparatus further includes a clock unit that counts the current time, and the power-off unit sets the different set time according to a time zone to which the current time belongs.

この発明によれば、自動電源オフされるまでの経過時間が時間帯に応じて変化するので、使い勝手の犠牲をなるべく回避しつつ、自動電源オフまでの経過時間を短縮することで省電力効果を高めることができる。   According to the present invention, since the elapsed time until the automatic power is turned off changes according to the time zone, the power saving effect is achieved by reducing the elapsed time until the automatic power is turned off while avoiding the sacrifice of usability as much as possible. Can be increased.

本発明は、画像形成装置における制御方法であって、電源投入手段による電源投入後においてユーザーによる操作及び動作がないまま経過した時間を測定すると共に測定した経過時間が設定時間を超えた場合は、不揮発性記憶手段に自動電源オフ状態であることを示す情報を記憶してから電源を自動でオフにし、一方、電源投入手段による電源投入後においてユーザーによる電源オフ操作があった場合に当該電源オフ操作に基づき電源をオフにする電源オフステップと、前記電源投入手段により電源が投入された場合に、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されていない場合には、所定方向に移動可能な記録ヘッドの位置を検出する位置検出動作を含む第一の初期化動作を行い、一方、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合には、前記位置検出動作を含まない第二の初期化動作を行う初期化動作制御ステップと、を備えたことを要旨とする。この発明によれば、画像形成装置の発明と同様の効果を得ることができる。
本発明は、画像形成装置における制御方法であって、電源投入手段による電源投入後においてユーザーによる操作及び動作がないまま経過した時間を測定すると共に測定した経過時間が設定時間を超えた場合は、不揮発性記憶手段に自動電源オフ状態であることを示す情報を記憶してから電源を自動でオフにし、一方、電源投入手段による電源投入後においてユーザーによる電源オフ操作があった場合に当該電源オフ操作に基づき電源をオフにする電源オフステップと、前記電源投入手段により電源が投入された場合に、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されていない場合には、第一の初期化動作を行い、一方、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合には、前記第一の初期化動作よりも簡易な第二の初期化動作を行う初期化動作制御ステップと、を備え、前記電源オフステップでは、前記自動電源オフ状態の下で、ファックスの着信に基づいて電源が投入された場合には、該ファックスのジョブの終了後に前記設定時間を経過する前に、前記不揮発性記憶手段に前記自動電源オフ状態であることを示す情報を記憶した状態で、電源をオフにすることを要旨とする。
The present invention is a control method in an image forming apparatus, and measures the time elapsed without user operation and operation after power-on by a power-on means, and when the measured elapsed time exceeds a set time, Information indicating that the power is automatically turned off is stored in the non-volatile storage means, and then the power is automatically turned off. On the other hand, if the user turns off the power after the power is turned on, the power is turned off. A power-off step for turning off the power based on the operation, and when the power is turned on by the power-on means, and information indicating that the automatic power-off state is not stored in the nonvolatile storage means performs first initialization operation including the position detecting operation for detecting the position of the movable recording head in a predetermined direction, whereas, the non-volatile memory hand Information indicating that the auto power-off state if it is stored, and the gist that and an initialization operation control step of performing a second initializing operation does not include the position detection operation . According to this invention, it is possible to obtain the same effect as that of the invention of the image forming apparatus.
The present invention is a control method in an image forming apparatus, and measures the time elapsed without user operation and operation after power-on by a power-on means, and when the measured elapsed time exceeds a set time, Information indicating that the power is automatically turned off is stored in the non-volatile storage means, and then the power is automatically turned off. On the other hand, if the user turns off the power after the power is turned on, the power is turned off. A power-off step for turning off the power based on the operation, and when the power is turned on by the power-on means, and information indicating that the automatic power-off state is not stored in the nonvolatile storage means When the first initialization operation is performed, while information indicating that the automatic power-off state is stored in the nonvolatile storage unit, An initialization operation control step for performing a second initialization operation that is simpler than the first initialization operation, wherein the power off step is based on an incoming fax under the automatic power off state. When the power is turned on, the information indicating that the automatic power-off state is stored in the non-volatile storage means before the set time elapses after the fax job is completed. The gist is to turn it off.

一実施形態における複合型プリンターの斜視図。1 is a perspective view of a composite printer according to an embodiment. プリンター部の斜視図。The perspective view of a printer part. 複合型プリンターの電気的構成を示すブロック図。FIG. 3 is a block diagram illustrating an electrical configuration of the composite printer. 電源オン初期化処理ルーチンを示すフローチャート。The flowchart which shows a power-on initialization process routine. 電源オン復帰動作処理ルーチンを示すフローチャート。7 is a flowchart showing a power-on return operation processing routine.

以下、本発明を画像形成装置の一種であるインクジェット式複合型プリンターに具体化した一実施形態を図1〜図5を用いて説明する。図1は、インクジェット式複合型プリンターの斜視図である。図1に示すように、画像形成装置としてのインクジェット式複合型プリンター(複合機)(以下、単に「プリンター11」という)は、一台で、スキャナー、プリンター、コピーの3つの機能を備えるカラープリンターである。プリンター11は、原稿の画像を読み取って画像データを生成するスキャナー部12と、印刷データに基づく画像をターゲットとしての用紙P(記録媒体)に印刷するプリンター部13と、操作パネル14とを備えている。なお、コピー機能は、スキャナー部12で読み取った画像データに基づきプリンター部13が印刷することで実現される。   Hereinafter, an embodiment in which the present invention is embodied in an ink jet type composite printer which is a kind of image forming apparatus will be described with reference to FIGS. FIG. 1 is a perspective view of an ink jet type composite printer. As shown in FIG. 1, an inkjet type composite printer (multifunction machine) (hereinafter simply referred to as “printer 11”) as an image forming apparatus is a single color printer having three functions of a scanner, a printer, and a copy. It is. The printer 11 includes a scanner unit 12 that reads an image of a document and generates image data, a printer unit 13 that prints an image based on print data on a sheet P (recording medium) as a target, and an operation panel 14. Yes. Note that the copy function is realized by the printer unit 13 printing based on the image data read by the scanner unit 12.

プリンター部13の上側に配置されたスキャナー部12は、その上部に、原稿を載置するための原稿台15と、この原稿台15を覆うことが可能な開閉式の原稿台カバー16とを有している。   The scanner unit 12 disposed on the upper side of the printer unit 13 has a document table 15 for placing a document and an openable document table cover 16 capable of covering the document table 15 on the upper part. doing.

プリンター11の下部には、複数枚の用紙Pを収容可能な給紙カセット17が脱着可能な状態で挿着されている。給紙カセット17の上側部位には排出部18が開口しており、印刷後の用紙Pは排出部18に設けられた伸縮式の排紙スタッカー20上に排出される。   A paper feed cassette 17 that can store a plurality of sheets P is detachably attached to the lower portion of the printer 11. A discharge unit 18 is opened at an upper portion of the paper feed cassette 17, and the printed paper P is discharged onto a telescopic discharge stacker 20 provided in the discharge unit 18.

プリンター11の前面に配置された操作パネル14は、ユーザーが各種操作を行うための操作部21と、メニュー画面や画像選択画面などを表示するための表示部22とを備えている。操作部21には、電源をオン/オフ(投入/遮断)する電源スイッチ23や、印刷開始を指示する印刷開始スイッチ24、コピー開始を指示するコピースイッチ25、キャンセルスイッチ26等が設けられている。   The operation panel 14 disposed on the front surface of the printer 11 includes an operation unit 21 for a user to perform various operations, and a display unit 22 for displaying a menu screen, an image selection screen, and the like. The operation unit 21 is provided with a power switch 23 for turning on / off (turning on / off) the power, a print start switch 24 for instructing print start, a copy switch 25 for instructing copy start, a cancel switch 26, and the like. .

また、プリンター11は、その前面右側に設けられたカードスロット27に挿着されたメモリーカードMCに保存された画像データに基づく画像の印刷も可能になっている。さらに、プリンター11はUSBポート(図示せず)を備え、パーソナルコンピューター等のホスト装置100(図3に示す)のプリンタードライバーからUSBケーブルを介して受信した印刷データに基づく印刷も可能になっている。なお、プリンター11の前部左右両側下部には、複数個のインクカートリッジ28がカバー13aに覆われた状態で収容されている。   The printer 11 can also print an image based on image data stored in a memory card MC inserted in a card slot 27 provided on the right front side of the printer 11. Further, the printer 11 includes a USB port (not shown), and printing based on print data received via a USB cable from a printer driver of a host device 100 (shown in FIG. 3) such as a personal computer is also possible. . Note that a plurality of ink cartridges 28 are accommodated in the lower part of the front left and right sides of the printer 11 while being covered with a cover 13a.

本実施形態のプリンター11は、操作パネル14に対する操作やカードスロット27に対するメモリーカードMCの脱着操作などの各種操作、及びスキャナー部12やプリンター部13による各種動作(スキャン動作、印刷動作、コピー動作等)がないまま経過時間が設定時間に達すると、自動で電源をオフするオートパワーオフ機能を備えている。   The printer 11 according to this embodiment includes various operations such as an operation on the operation panel 14 and a memory card MC insertion / removal operation on the card slot 27, and various operations (scanning operation, printing operation, copying operation, etc.) by the scanner unit 12 and the printer unit 13. Auto power off function that automatically turns off the power when the elapsed time reaches the set time without).

図2はプリンター部の斜視図である。図2に示すように、プリンター部13は、本体フレーム29の内側に架設されたガイド軸30に沿って主走査方向Xに往復移動可能なキャリッジ31を備えている。キャリッジ31は、一対のプーリー32,32に巻き掛けられた無端状のタイミングベルト33に固定され、一方のプーリー32に駆動軸が取着されたキャリッジモーター34が正逆転駆動されることにより主走査方向Xに往復移動する。   FIG. 2 is a perspective view of the printer unit. As shown in FIG. 2, the printer unit 13 includes a carriage 31 that can reciprocate in the main scanning direction X along a guide shaft 30 installed inside the main body frame 29. The carriage 31 is fixed to an endless timing belt 33 wound around a pair of pulleys 32 and 32, and a carriage motor 34 having a drive shaft attached to one pulley 32 is driven forward and backward to perform main scanning. Reciprocate in direction X.

キャリッジ31の下部には、インクジェット式の記録ヘッド35が設けられており、この記録ヘッド35の下面に開口する複数列のノズル(図示せず)からインクを噴射することで用紙Pへの印刷が行われる。記録ヘッド35の移動経路の下側には、記録ヘッド35と用紙Pとの間隔を規定するプラテン36が設けられている。記録ヘッド35へは複数本のインク供給チューブを集束するフレキシブル配管板37を通じて複数のインクカートリッジ28(図1参照)から複数色のインクが供給されるようになっている。   An ink jet recording head 35 is provided below the carriage 31, and printing on the paper P is performed by ejecting ink from a plurality of rows of nozzles (not shown) opened on the lower surface of the recording head 35. Done. A platen 36 that defines the distance between the recording head 35 and the paper P is provided below the movement path of the recording head 35. The recording head 35 is supplied with a plurality of colors of ink from a plurality of ink cartridges 28 (see FIG. 1) through a flexible piping plate 37 that converges a plurality of ink supply tubes.

また、キャリッジ31は、その背面側にガイド軸30に沿って延びるように設けられたリニアエンコーダー38から出力されるキャリッジ31の移動量に比例する数のパルスを有するパルス信号に基づき位置制御及び速度制御されるようになっている。   The carriage 31 is controlled in position and speed based on a pulse signal having a number of pulses proportional to the amount of movement of the carriage 31 output from a linear encoder 38 provided on the back side of the carriage 31 so as to extend along the guide shaft 30. To be controlled.

図2におけるプリンター11の後部には、給紙カセット17(図1参照)内の用紙Pを、プラテン36上へ1枚ずつ給送する自動給送装置39が設けられている。自動給送装置39から給送された用紙Pは、本体フレーム29の一端側下部に配設された紙送りモーター40の駆動力により、プラテン36を挟んで用紙搬送方向の上流側と下流側にそれぞれ配置された搬送ローラー対41及び排出ローラー対(図示省略)がそれぞれ回転することで、副走査方向Yに搬送される。   An automatic feeding device 39 that feeds the sheets P in the sheet feeding cassette 17 (see FIG. 1) one by one onto the platen 36 is provided at the rear portion of the printer 11 in FIG. The paper P fed from the automatic feeding device 39 is moved upstream and downstream in the paper transport direction across the platen 36 by the driving force of the paper feed motor 40 disposed at the lower end of the main body frame 29. Each of the transport roller pair 41 and the discharge roller pair (not shown in the figure) arranged respectively rotates and is transported in the sub-scanning direction Y.

また、プリンター11には、記録ヘッド35とプラテン36との間隔(プラテンギャップ)を調整可能に、キャリッジ31の高さ方向の移動が可能なプラテンギャップ自動調整装置(以下、「APG調整装置42」という)が装備されている。APG調整装置42は、用紙Pの紙厚に応じてキャリッジ31の高さ位置を調整して、記録ヘッド35と用紙Pの間に適切なペーパーギャップを確保する。そして、キャリッジ31を主走査方向Xに往復動させながら記録ヘッド35のノズルから用紙Pにインクを噴射する印字動作と、用紙Pを副走査方向Yに指定の搬送量で搬送する送り動作とを交互に繰り返すことで、用紙Pに印刷が施される。   Further, the printer 11 includes an automatic platen gap adjusting device (hereinafter referred to as “APG adjusting device 42”) that can move the carriage 31 in the height direction so that the interval (platen gap) between the recording head 35 and the platen 36 can be adjusted. Is equipped). The APG adjusting device 42 adjusts the height position of the carriage 31 according to the paper thickness of the paper P, and ensures an appropriate paper gap between the recording head 35 and the paper P. A printing operation for ejecting ink from the nozzles of the recording head 35 onto the paper P while reciprocating the carriage 31 in the main scanning direction X, and a feeding operation for transporting the paper P in the sub-scanning direction Y by a specified transport amount are performed. By alternately repeating, printing is performed on the paper P.

図2においてキャリッジ31が移動経路上一端部のホーム位置に配置された際の直下には、記録ヘッド35に対してノズルクリーニング等を行うメンテナンス装置44が配設されている。メンテナンス装置44は、記録ヘッド35をキャッピングするためのキャップ45と、記録ヘッド35のノズル開口面を払拭するためのワイパー46と、キャリッジ31をホーム位置にロックするためのロック部材47(ロックレバー)と、これらの部材45〜47を昇降させる昇降機構44aと、吸引ポンプ48とを備える。キャリッジ31がホーム位置に移動している印刷待機中は、ノズル目詰まり防止のために記録ヘッド35にキャップ45で蓋をし、さらにロック部材47が凹部31aに係入されることでキャリッジ31はホーム位置にロックされる。プリンター11は、キャリッジ31がホーム位置にある状態で電源オフされる。そのため、エラー発生時にユーザーが電源スイッチ23をオフ操作したり、電源プラグがコンセントから抜かれたり停電などの特殊事情がない限り、電源オフ中のキャリッジ31はホーム位置に保持される。なお、吸引ポンプ48は、記録ヘッド35のノズルからインクを吸引排出させるクリーニングの際に駆動される。また、自動給送装置39、APG調整装置42及び吸引ポンプ48は紙送りモーター40を共通の動力源としているが、各装置39、42、44に専用モーターを個別に設けてもよい。   In FIG. 2, a maintenance device 44 that performs nozzle cleaning or the like on the recording head 35 is disposed immediately below when the carriage 31 is disposed at the home position at one end on the movement path. The maintenance device 44 includes a cap 45 for capping the recording head 35, a wiper 46 for wiping the nozzle opening surface of the recording head 35, and a lock member 47 (lock lever) for locking the carriage 31 to the home position. And an elevating mechanism 44a for elevating and lowering these members 45 to 47, and a suction pump 48. During printing standby when the carriage 31 is moving to the home position, the recording head 35 is covered with a cap 45 to prevent nozzle clogging, and the lock member 47 is engaged with the recess 31a, so that the carriage 31 is Locked to home position. The printer 11 is powered off with the carriage 31 in the home position. Therefore, the carriage 31 in the power-off state is held at the home position unless there is a special circumstance such as the user turning off the power switch 23 when the error occurs, the power plug being removed from the outlet, or a power failure. The suction pump 48 is driven at the time of cleaning for sucking and discharging ink from the nozzles of the recording head 35. The automatic feeding device 39, the APG adjusting device 42, and the suction pump 48 use the paper feed motor 40 as a common power source, but each device 39, 42, 44 may be provided with a dedicated motor.

図3は、プリンターの電気的構成を示すブロック図である。図3に示すように、プリンター11は、プリンター11を統括的に制御するコントローラー51を備える。コントローラー51には、リニアエンコーダー38、スキャナー52、記録ヘッド35、キャリッジモーター34及び紙送りモーター40が電気的に接続されている。また、プリンター11から延出する電源ケーブル先端の電源プラグ53が、不図示のコンセント(プラグソケット)に差し込まれることで、電源54からの交流がプリンター11内の電源回路55に供給される。   FIG. 3 is a block diagram showing the electrical configuration of the printer. As shown in FIG. 3, the printer 11 includes a controller 51 that comprehensively controls the printer 11. The controller 51 is electrically connected with a linear encoder 38, a scanner 52, a recording head 35, a carriage motor 34, and a paper feed motor 40. Further, the power plug 53 at the tip of the power cable extending from the printer 11 is inserted into a not-shown outlet (plug socket), so that alternating current from the power source 54 is supplied to the power circuit 55 in the printer 11.

また、プリンター11は、USB通信部56を備え、ホスト装置100から通信ケーブルを介して転送されてきた印刷データ(印刷ジョブデータ)はUSB通信部56で受信され、コントローラー51に送られる。   The printer 11 includes a USB communication unit 56, and print data (print job data) transferred from the host device 100 via the communication cable is received by the USB communication unit 56 and sent to the controller 51.

また、プリンター11は、リング検出部58及びFAX通信部59(ファクシミリ通信部)を備える。電話回線を介したファックスの着信は、リング検出部58がリング信号を検出したリング検出信号が入力されることでコントローラー51は認知し、コントローラー51はファックスの着信があると、FAX通信部59をFAX通信可能な接続状態にする。この結果、電話回線を介して送られてきたファックスデータはFAX通信部59を介してコントローラー51に受信される。このFAX通信部59は、プリンター11からファックスデータを送信する際にも使用される。   Further, the printer 11 includes a ring detection unit 58 and a FAX communication unit 59 (facsimile communication unit). When a fax is received via a telephone line, the controller 51 recognizes that the ring detection signal detected by the ring detection unit 58 detects the ring signal. When the controller 51 receives a fax, the FAX communication unit 59 is activated. A connection state in which FAX communication is possible is set. As a result, the fax data sent via the telephone line is received by the controller 51 via the FAX communication unit 59. The FAX communication unit 59 is also used when transmitting fax data from the printer 11.

電源回路55は、電源54から供給された交流を直流に変換し、その変換した直流電圧を、操作パネル14、コントローラー51、スキャナー52、記録ヘッド35、各モーター34,40、各通信部56,59、及びリング検出部58などの各所に供給する。   The power supply circuit 55 converts the alternating current supplied from the power supply 54 into direct current, and converts the converted direct current voltage into the operation panel 14, controller 51, scanner 52, recording head 35, motors 34 and 40, communication units 56, 59 and the ring detector 58 and the like.

図3に示すコントローラー51は、マイクロコンピューター(以下、単に「コンピューター61」と称す)及びリセットIC62を内蔵している。さらに、コンピューター61は、メイン制御部63、サブ制御部64、ROM65及びRAM66を備えている。メイン制御部63は、例えばCPU(中央処理装置)とASIC(Application Specific Integrated Circuit)により構成され、一方、サブ制御部64は例えばASICにより構成されている。   The controller 51 shown in FIG. 3 includes a microcomputer (hereinafter simply referred to as “computer 61”) and a reset IC 62. Further, the computer 61 includes a main control unit 63, a sub control unit 64, a ROM 65, and a RAM 66. The main control unit 63 is configured by, for example, a CPU (Central Processing Unit) and an ASIC (Application Specific Integrated Circuit), while the sub control unit 64 is configured by, for example, an ASIC.

ROM65には、メイン制御部63を構成するCPUが実行するための制御プログラム等が記憶されている。RAM66には、CPUの演算結果や各種設定データなどが一時記憶される。また、RAM66は、プリンター11が受信した印刷データ、メイン制御部63を構成するCPUやASICがデータに画像処理などを施して得た画像データなどを一時格納するバッファーとしても用いられる。なお、コンピューター61は、CPUがプログラムを実行して構築されるソフトウェアの部分と、ASIC等のハードウェアの部分とにより構成されるが、ソフトウェアで構成したりハードウェアで構成したりしてもよい。   The ROM 65 stores a control program to be executed by the CPU constituting the main control unit 63. The RAM 66 temporarily stores CPU calculation results and various setting data. The RAM 66 is also used as a buffer for temporarily storing print data received by the printer 11 and image data obtained by subjecting the CPU or ASIC constituting the main control unit 63 to image processing. The computer 61 is composed of a software part constructed by the CPU executing a program and a hardware part such as an ASIC, but may be composed of software or hardware. .

メイン制御部63は、スキャナー52、記録ヘッド35、キャリッジモーター34及び紙送りモーター40を駆動制御する。例えばホスト装置100から印刷データを受信したとき、又は電話回線を通じてファックスデータを受信したときは、メイン制御部63が記録ヘッド35、キャリッジモーター34及び紙送りモーター40を駆動制御することにより、その受信したデータに基づく印刷を行う。   The main control unit 63 drives and controls the scanner 52, the recording head 35, the carriage motor 34, and the paper feed motor 40. For example, when print data is received from the host apparatus 100 or fax data is received through a telephone line, the main control unit 63 controls the recording head 35, carriage motor 34, and paper feed motor 40 to receive the print data. Print based on the data.

本実施形態におけるプリンター11は、操作パネル14(そのうちの操作部21)の操作、及びスキャン動作、印刷動作、コピー動作などの各種動作がない状態のまま、その経過時間が設定時間に達すると、プリンター11の電源を自動でオフするオートパワーオフ機能(自動電源オフ機能)を有している。メイン制御部63は、前記操作及び動作がないまま経過時間が設定時間に達すると、サブ制御部64にオートパワーオフ(自動電源オフ)を指示する。サブ制御部64が電源スイッチ23からオフ操作信号を入力したとき、及び、メイン制御部63からオートパワーオフ指示信号を受け付けたときに、電源回路55を制御してその出力電圧を停止させるようになっている。このとき、オフ操作信号入力時は、サブ制御部64はプリンター11を完全に電源オフさせ、電源オン中に保持していた各種情報は不揮発性記憶領域にあるもの以外すべて消去される。一方、オートパワーオフ指示信号の入力時は、サブ制御部64は、オートパワーオフ状態であることを示す情報、及びオートパワーオフから復帰後の初期化動作を省略する替わりに必要な位置情報を不揮発領域に保持し、かつオートパワーオフから自動復帰するためのトリガーとなるイベントの発生を検出可能に一部の検出系(56,58)への電力供給を維持した状態で、プリンター11の電源をオフする。   When the elapsed time reaches the set time while the operation of the operation panel 14 (of which the operation unit 21) and the various operations such as the scan operation, the print operation, and the copy operation are not performed, An auto power off function (automatic power off function) for automatically turning off the power of the printer 11 is provided. When the elapsed time reaches the set time without the operation and operation, the main control unit 63 instructs the sub control unit 64 to perform automatic power off (automatic power off). When the sub control unit 64 inputs an off operation signal from the power switch 23 and when an auto power off instruction signal is received from the main control unit 63, the power supply circuit 55 is controlled to stop the output voltage. It has become. At this time, when the off operation signal is input, the sub-control unit 64 completely turns off the printer 11 and all the information held during the power-on is erased except for the information stored in the nonvolatile storage area. On the other hand, when the auto power-off instruction signal is input, the sub-control unit 64 provides information indicating that the power is in the auto power-off state and necessary position information instead of omitting the initialization operation after returning from the auto power-off. The power supply of the printer 11 is maintained in a state where power is supplied to some of the detection systems (56, 58) so as to be able to detect the occurrence of an event that is held in a non-volatile area and triggers automatic recovery from auto power off. Turn off.

次に、電源のオン・オフ制御に関する構成について詳細に説明する。図3に示すように、サブ制御部64は、電源制御部71、不揮発性記憶手段としての不揮発性記憶部72及び第1USB処理部73を内蔵している。電源制御部71は、電源オフ状態下にあっても、電源スイッチ23からのオン操作信号を検出できるようにその内部の電源オン操作検出系の回路に電力が供給されており、電源スイッチ23から電源オン操作信号を入力すると、電源回路55を制御して電源をオンさせる。その結果、電源回路55からプリンター11内の各所へ必要な所定電圧が出力される。   Next, a configuration related to power on / off control will be described in detail. As shown in FIG. 3, the sub control unit 64 includes a power supply control unit 71, a nonvolatile storage unit 72 as a nonvolatile storage unit, and a first USB processing unit 73. The power control unit 71 is supplied with power to the circuit of the power-on operation detection system therein so that the on-operation signal from the power switch 23 can be detected even in the power-off state. When a power-on operation signal is input, the power supply circuit 55 is controlled to turn on the power. As a result, a necessary predetermined voltage is output from the power supply circuit 55 to various places in the printer 11.

電源回路55は、電源スイッチ23がオン操作状態(オン操作信号入力状態)にあり、かつ電源54から電力供給がある場合に、リセットIC62へ規定の電圧を出力する。リセットIC62は、コンピューター61に対してリセット信号を出力する回路である。リセットIC62は、電源回路55からの入力電圧が規定の閾値を超えると、リセット信号を出力する。リセット信号は、最初Lレベルで一定時間(例えば10〜30ミリ秒)経過後に遅れてHレベルに立ち上がる信号である。リセットIC62の出力は、Hレベルに立ち上がった後は、電源回路55からの入力電圧が規定の閾値以下になれば直ちにLレベルに立ち下がる。よって、(1)電源プラグ53がコンセントに差し込まれた状態で電源スイッチ23がオン操作された時、あるいは、(2)プリンター11が電源オン(つまり電源スイッチ23がオン操作状態)中に電源プラグ53がコンセントから抜かれ、その後、電源プラグ53にコンセントが差し込まれた時、又は(3)プリンター11が電源オン中に停電し、その後、停電から復帰した時には、リセットIC62からリセット信号が出力されることになる。   The power supply circuit 55 outputs a specified voltage to the reset IC 62 when the power switch 23 is in an ON operation state (ON operation signal input state) and power is supplied from the power supply 54. The reset IC 62 is a circuit that outputs a reset signal to the computer 61. The reset IC 62 outputs a reset signal when the input voltage from the power supply circuit 55 exceeds a specified threshold value. The reset signal is a signal that rises to the H level with a delay after a certain time (for example, 10 to 30 milliseconds) has elapsed at the first L level. After the output of the reset IC 62 rises to the H level, it immediately falls to the L level when the input voltage from the power supply circuit 55 becomes equal to or lower than a specified threshold value. Therefore, (1) when the power switch 23 is turned on with the power plug 53 inserted into the outlet, or (2) the power plug is turned on while the printer 11 is turned on (that is, the power switch 23 is turned on). A reset signal is output from the reset IC 62 when the power outlet 53 is unplugged and then plugged into the power plug 53, or (3) when the printer 11 fails during power-on and then recovers from the power failure. It will be.

図3に示すように、コンピューター61は、リセット信号を入力する負論理のオア回路(以下、「負論理オア回路74」と称す)を内蔵している。リセットIC62の出力端子は、負論理オア回路74の2つの入力端子のうち一方と接続され、負論理オア回路74の他方の入力端子にはサブ制御部64の出力端子が接続されている。そして、この負論理オア回路74の出力端子はメイン制御部63のRESET端子に接続されている。   As shown in FIG. 3, the computer 61 incorporates a negative logic OR circuit (hereinafter referred to as “negative logic OR circuit 74”) for inputting a reset signal. The output terminal of the reset IC 62 is connected to one of the two input terminals of the negative logic OR circuit 74, and the output terminal of the sub-control unit 64 is connected to the other input terminal of the negative logic OR circuit 74. The output terminal of the negative logic OR circuit 74 is connected to the RESET terminal of the main control unit 63.

電源制御部71は、上記(1)〜(3)の場合に、電源スイッチ23からオン操作信号を入力し、オン操作信号の入力があると、サブ制御部64内の不図示のクロック回路を駆動する。この結果、サブ制御部64内のクロック回路から出力されたクロックパルス(クロック信号)が、メイン制御部63のCLK端子に入力されるようになっている。メイン制御部63はCMOS素子で動作する回路であるので、CLK端子にクロックパルスが入力されることで動作する。このとき、負論理オア回路74の2つの入力端子には、そのうち一方にリセットIC62からのリセット信号が、他方にはサブ制御部64からの出力信号が入力されるので、負論理オア回路74の出力端子からはリセット信号が出力され、そのリセット信号がメイン制御部63のRESET端子に入力される。こうして、メイン制御部63は、そのCLK端子にクロックパルスが入力されると共に、そのRESET端子にリセット信号が入力されることで起動する。   In the above cases (1) to (3), the power supply control unit 71 inputs an on operation signal from the power switch 23. When the on operation signal is input, the power control unit 71 turns on a clock circuit (not shown) in the sub control unit 64. To drive. As a result, the clock pulse (clock signal) output from the clock circuit in the sub control unit 64 is input to the CLK terminal of the main control unit 63. Since the main controller 63 is a circuit that operates with a CMOS element, it operates when a clock pulse is input to the CLK terminal. At this time, the reset signal from the reset IC 62 is input to one of the two input terminals of the negative logic OR circuit 74, and the output signal from the sub-control unit 64 is input to the other. A reset signal is output from the output terminal, and the reset signal is input to the RESET terminal of the main control unit 63. Thus, the main control unit 63 is activated when a clock pulse is input to the CLK terminal and a reset signal is input to the RESET terminal.

また、図3に示すように、サブ制御部64内の不揮発性記憶部72には、フリップフロップ75及び不揮発性メモリー76が内蔵されている。リセットIC62からのリセット信号はフリップフロップ75にも入力され、フリップフロップ75はリセット信号を入力することにより「0」にリセットされるようになっている。   As shown in FIG. 3, the nonvolatile storage unit 72 in the sub-control unit 64 includes a flip-flop 75 and a nonvolatile memory 76. The reset signal from the reset IC 62 is also input to the flip-flop 75, and the flip-flop 75 is reset to “0” by inputting the reset signal.

メイン制御部63は起動されると、最初にコンピューター61の初期化処理を行い、続いてプリンター11の初期化動作を行う。そして、初期化動作を終了したプリンター11は、ユーザーによる操作や、通信トリガー、受信データ等に基づき、パネル表示動作、スキャン動作、印刷動作、コピー動作などを行う。これらの初期化処理、初期化動作、パネル表示動作、スキャン動作、印刷動作、コピー動作などの各種動作は、メイン制御部63が表示部22や、スキャナー52、記録ヘッド35、キャリッジモーター34及び紙送りモーター40等のメカニカル機構を制御することにより行われる。なお、初期化処理及び初期化動作の詳細は後述する。   When the main control unit 63 is activated, it first performs initialization processing of the computer 61 and then performs initialization operation of the printer 11. The printer 11 that has completed the initialization operation performs a panel display operation, a scanning operation, a printing operation, a copying operation, and the like based on a user operation, a communication trigger, received data, and the like. For various operations such as initialization processing, initialization operation, panel display operation, scan operation, printing operation, and copy operation, the main control unit 63 performs display unit 22, scanner 52, recording head 35, carriage motor 34, and paper. This is performed by controlling a mechanical mechanism such as the feed motor 40. Details of the initialization process and the initialization operation will be described later.

図3に示すように、メイン制御部63は主制御部80を備え、この主制御部80はメイン制御部63を統括的に制御する。また、メイン制御部63は、オートパワーオフ機能を実現するための時間管理及びサブ制御部64に対してオートパワーオフの指示を行うオートパワーオフ制御部81、オートパワーオフさせるまでの経過時間を計時する計時部82(経過時間測定手段)、時刻を計時するための時計部83を備える。また、メイン制御部63は、電源オフ状態から電源オン状態に復帰する際に、オートパワーオフからの復帰か通常電源オフからの復帰かを判別する判断部84、及びイベントが発生したときにそのイベントの種類を判定するイベント判定部85を備えている。さらに、メイン制御部63は、サブ制御部64側の第1USB処理部73と通信可能な第2USB処理部86、表示部22の表示制御を行う表示処理部87、プリンター11の初期化動作を行う初期化処理部88(初期化動作制御手段)、ファックスデータに画像処理を施して印刷データを生成するFAX処理部89、スキャナー52にスキャン動作を行わせるスキャナー処理部90、プリンター部13に印刷動作を行わせる印刷処理部91、及びコピー動作(スキャン動作及び印刷動作)を行わせるコピー処理部92を内蔵している。また、メイン制御部63は、リニアエンコーダー38からのエンコーダーパルス信号を基にキャリッジ31の主走査方向Xにおける位置を測定する位置カウンター93を内蔵している。なお、本実施形態では、電源制御部71、リング検出部58、USB通信部56、第1USB処理部73、操作部21、電源スイッチ23及び電源回路55により、電源投入手段が構成される。また、電源回路55、電源制御部71及びオートパワーオフ制御部81などにより、電源オフ手段が構成される。   As shown in FIG. 3, the main control unit 63 includes a main control unit 80, and the main control unit 80 controls the main control unit 63 in an integrated manner. In addition, the main control unit 63 performs time management for realizing the auto power off function and an auto power off control unit 81 that instructs the sub control unit 64 to perform auto power off. A timer unit 82 (elapsed time measuring means) for measuring time and a clock unit 83 for measuring time are provided. In addition, the main control unit 63 includes a determination unit 84 that determines whether to return from auto power off or normal power off when returning from the power off state to the power on state, and when an event occurs, An event determination unit 85 that determines the type of event is provided. Further, the main control unit 63 performs a second USB processing unit 86 that can communicate with the first USB processing unit 73 on the sub control unit 64 side, a display processing unit 87 that performs display control of the display unit 22, and an initialization operation of the printer 11. An initialization processing unit 88 (initialization operation control means), a FAX processing unit 89 that performs image processing on fax data to generate print data, a scanner processing unit 90 that causes the scanner 52 to perform a scanning operation, and a printing operation that is performed on the printer unit 13 And a copy processing unit 92 for performing a copy operation (scanning operation and printing operation). The main control unit 63 includes a position counter 93 that measures the position of the carriage 31 in the main scanning direction X based on the encoder pulse signal from the linear encoder 38. In the present embodiment, the power control unit 71, the ring detection unit 58, the USB communication unit 56, the first USB processing unit 73, the operation unit 21, the power switch 23, and the power circuit 55 constitute a power-on unit. The power supply circuit 55, the power control unit 71, the auto power off control unit 81, and the like constitute a power off unit.

主制御部80は、イベントに応じたジョブを実行させるために用意されている処理部86〜92のうちその指示されたジョブの実行に必要な処理部を起動する。表示処理部87は、操作部21が操作された操作信号を入力した主制御部80により起動され、その操作内容に応じて表示部22の画面を切り換えるなどの表示制御を行う。ホスト装置100からUSB通信部56が受信した印刷データは、サブ制御部64内の第1USB処理部73を経由してメイン制御部63内の第2USB処理部86に入力される。ここで、第1USB処理部73は、ホスト装置100からプリンター11が起動状態(ケーブル接続状態)にあるか否かの確認など下位階層における要求に応答する簡易な通信処理を主に担当する。第2USB処理部86は、プリンター11が印刷可能状態にあることが確認できた後、ホスト装置100から転送されてくる印刷データを受信するデータ受信処理(転送処理)など上位階層の通信処理を主に担当する。   The main control unit 80 activates a processing unit necessary for executing the instructed job among the processing units 86 to 92 prepared for executing a job corresponding to the event. The display processing unit 87 is activated by the main control unit 80 that has input an operation signal operated by the operation unit 21 and performs display control such as switching the screen of the display unit 22 according to the operation content. The print data received by the USB communication unit 56 from the host device 100 is input to the second USB processing unit 86 in the main control unit 63 via the first USB processing unit 73 in the sub control unit 64. Here, the first USB processing unit 73 is mainly in charge of simple communication processing that responds to a request in a lower layer, such as checking whether the printer 11 is in an activated state (cable connection state) from the host device 100. The second USB processing unit 86 mainly performs upper-layer communication processing such as data reception processing (transfer processing) for receiving print data transferred from the host device 100 after confirming that the printer 11 is in a printable state. In charge.

印刷処理部91は、第2USB処理部86を経由して受信した印刷データに基づいて、記録ヘッド35、キャリッジモーター34及び紙送りモーター40を駆動制御することで、プリンター部13に印刷データに基づく画像や文書を用紙Pに印刷させる印刷動作を行わせる。   The print processing unit 91 drives and controls the recording head 35, the carriage motor 34, and the paper feed motor 40 based on the print data received via the second USB processing unit 86, so that the printer unit 13 is based on the print data. A printing operation for printing an image or a document on the paper P is performed.

また、FAX処理部89は、リング検出部58がリング信号を検出したファックス着信時に、電話回線と接続されたFAX通信部59が受信したファックスデータを入力し、その入力したファックスデータに画像処理を施し印刷データに変換する。次に印刷処理部91が、FAX処理部89からの印刷データに基づいて記録ヘッド35、キャリッジモーター34及び紙送りモーター40を駆動制御することで、プリンター部13にファックス印刷を行わせる。   Further, the FAX processing unit 89 inputs the fax data received by the FAX communication unit 59 connected to the telephone line when receiving a fax when the ring detection unit 58 detects the ring signal, and performs image processing on the input fax data. Convert to application print data. Next, the print processing unit 91 controls the recording head 35, the carriage motor 34, and the paper feed motor 40 based on the print data from the FAX processing unit 89, thereby causing the printer unit 13 to perform fax printing.

また、スキャナー処理部90は、ホスト装置100からスキャン指令を受け付けた主制御部80により起動される。スキャナー処理部90は、スキャナー52を駆動して原稿台15にセットされた原稿の読み取りを行わせると共に、スキャナー52から入力される読取信号(例えばRGB信号)に基づいて原稿の画像データを生成する。さらに、コピー処理部92は、コピースイッチ25が操作された操作信号を受け付けた主制御部80により起動される。コピー処理部92はスキャナー52にスキャン動作を行わせて原稿台15の原稿から画像を読み取って生成された画像データを取得し、その取得した画像データを印刷データに変換しつつ、その印刷データに基づいて記録ヘッド35、キャリッジモーター34及び紙送りモーター40を駆動制御することで、プリンター部13にコピー印刷を行わせる。   The scanner processing unit 90 is activated by the main control unit 80 that has received a scan command from the host device 100. The scanner processing unit 90 drives the scanner 52 to read a document set on the document table 15 and generates image data of the document based on a read signal (for example, RGB signal) input from the scanner 52. . Further, the copy processing unit 92 is activated by the main control unit 80 that has received an operation signal indicating that the copy switch 25 has been operated. The copy processing unit 92 causes the scanner 52 to perform a scanning operation, acquires image data generated by reading an image from the document on the document table 15, converts the acquired image data into print data, and converts the acquired image data into the print data. Based on this, the recording head 35, carriage motor 34, and paper feed motor 40 are driven and controlled to cause the printer unit 13 to perform copy printing.

ここで、プリンター11が電源オンされた最初に行う初期化処理は、コンピューター61の初期化処理と、プリンター11の初期化動作とに分かれる。コンピューター61の初期化処理とは、システム初期化、メモリーチェック、周辺ハードウェアの初期化(設定)、オペレーティングシステムの起動、タスクの起動(初期起動)などの初期化項目がある。コンピューター61の初期化処理は、メイン制御部63のCPUが行う。一方、プリンター11の初期化動作は、初期化処理部88が主制御部80の指示に従って行う。初期化処理部88は、コンピューター61の初期化処理終了を確認した主制御部80により起動される。初期化処理部88が初期化の対象とするプリンター11の初期化動作には、キャリッジ31のホームシーク動作、APG調整装置42のリセット動作(APGリセット動作)、インクチェック、PFリセット動作、キャッピング動作、スキャナーリセット動作などの初期化項目がある。本実施形態では、初期化処理部88は、判断部84の判断結果に応じて、通常電源オフ状態からの復帰と判断されたときには全ての初期化項目について初期化動作を行う完全初期化動作を実施し、オートパワーオフ状態からの復帰と判断されたときには一部の初期化項目の初期化動作を省略して行う簡易初期化動作を実施する。   Here, the initialization process performed first when the printer 11 is turned on is divided into the initialization process of the computer 61 and the initialization operation of the printer 11. The initialization processing of the computer 61 includes initialization items such as system initialization, memory check, peripheral hardware initialization (setting), operating system activation, and task activation (initial activation). The initialization process of the computer 61 is performed by the CPU of the main control unit 63. On the other hand, the initialization operation of the printer 11 is performed by the initialization processing unit 88 in accordance with an instruction from the main control unit 80. The initialization processing unit 88 is activated by the main control unit 80 that has confirmed the end of the initialization processing of the computer 61. The initialization operation of the printer 11 to be initialized by the initialization processing unit 88 includes a home seek operation of the carriage 31, a reset operation (APG reset operation) of the APG adjusting device 42, an ink check, a PF reset operation, and a capping operation. There are initialization items such as scanner reset operation. In the present embodiment, the initialization processing unit 88 performs a complete initialization operation for performing the initialization operation for all the initialization items when it is determined to return from the normal power-off state according to the determination result of the determination unit 84. When it is determined that the vehicle has returned from the auto power off state, a simple initialization operation is performed by omitting the initialization operation of some initialization items.

ここで、各初期化動作について説明する。ホームシーク動作とは、キャリッジ31の主走査方向Xの原点出し及びキャリッジ31がその移動経路全域で移動が可能であることを保証する処理動作である。具体的には、前述の位置カウンター93をキャリッジ31が主走査方向Xの原点位置にあるときにリセットするリセット動作と、キャリッジ31を主走査方向Xの移動経路全域で何ら支障なく移動できることを確認するための試走動作とを含む。リセット動作では、キャリッジモーター34を駆動してキャリッジ31をホーム位置側のエンドまで移動させ、モーター電流値が閾値を超えてエンドに達したと判断されると、位置カウンター93をリセットすることでキャリッジ31の主走査方向の原点を設定する。また、試走動作では、その後、キャリッジモーター34を逆転駆動させてキャリッジ31を反ホーム位置側のエンドまで移動させてその主走査方向Xの移動経路全域でキャリッジ31が何ら支障なく移動できることを確認後、キャリッジ31をホーム位置に移動させる。   Here, each initialization operation will be described. The home seek operation is a processing operation that guarantees that the origin of the carriage 31 in the main scanning direction X and that the carriage 31 can move over the entire movement path. Specifically, a reset operation for resetting the above-described position counter 93 when the carriage 31 is at the origin position in the main scanning direction X, and confirming that the carriage 31 can be moved through the entire movement path in the main scanning direction X without any trouble. Including a test run operation. In the reset operation, the carriage motor 34 is driven to move the carriage 31 to the end on the home position side. When it is determined that the motor current value exceeds the threshold value and reaches the end, the position counter 93 is reset to reset the carriage. 31 is set as the origin in the main scanning direction. In the test run operation, after confirming that the carriage 31 can move without any trouble in the entire movement path in the main scanning direction X by driving the carriage motor 34 in the reverse direction and moving the carriage 31 to the end opposite to the home position. Then, the carriage 31 is moved to the home position.

APGリセット動作とは、キャリッジ31の高さ方向の原点出し及びキャリッジ31が高さ方向の移動経路全域で移動が可能であることを保証する処理動作である。具体的には、まずAPG調整装置42を駆動してキャリッジ31を上側のエンド位置まで最上昇させることで、その最上昇位置で不図示のPG用のカウンターをリセットするリセット動作を行う。次にAPG調整装置42を再び駆動してPGカウンターの計数値に基づきキャリッジ31を下降側のエンドまで一旦下降させた後に最上昇位置に戻し、高さ方向の移動経路全域でキャリッジ31が何ら支障なく昇降できることを確認する。   The APG reset operation is a processing operation that guarantees that the origin of the carriage 31 in the height direction and that the carriage 31 can move over the entire movement path in the height direction. Specifically, first, the APG adjusting device 42 is driven to raise the carriage 31 to the upper end position, thereby performing a reset operation for resetting a PG counter (not shown) at the highest position. Next, the APG adjusting device 42 is driven again, and the carriage 31 is once lowered to the lower end based on the count value of the PG counter, and then returned to the highest position, so that the carriage 31 does not interfere with the entire moving path in the height direction. Make sure that you can move up and down.

インクチェックとは、各インクカートリッジ28のカートリッジホルダーへの装着(電気的接続)の良否チェック及び各インクカートリッジ28のインク残量のチェックを行う処理である。また、PFリセット動作とは、搬送経路上に用紙Pの搬送の障害となる異物(例えばジャムの用紙)などがないことを保証するための処理である。具体的には、PFリセット動作は、紙送りモーター40を駆動させて仮に搬送経路上に用紙が残っていたとしても、その用紙を搬送経路から完全に排出しうる十分な所定回転量だけ搬送ローラー対41を回転駆動させる排出動作と、この排出動作終了後に不図示の紙検出センサー(媒体検出器)により搬送経路上に用紙などの異物がないことを確認する処理とを含む。また、キャッピング動作とは、メンテナンス装置44を駆動させてキャップ45等を昇降させて原点出し及び移動経路の保証などを行うリセット動作である。さらに、スキャナーリセット動作とは、スキャナーヘッドの原点出し及び移動経路の保証などを行うリセット動作である。   The ink check is a process of checking whether each ink cartridge 28 is attached (electrically connected) to the cartridge holder and checking the remaining amount of ink in each ink cartridge 28. The PF reset operation is a process for ensuring that there is no foreign matter (for example, jammed paper) that obstructs the transport of the paper P on the transport path. Specifically, in the PF reset operation, even if the paper feed motor 40 is driven and paper remains on the transport path, the transport roller is rotated by a sufficient predetermined rotation amount that can completely discharge the paper from the transport path. A discharge operation for rotationally driving the pair 41 and a process of confirming that there is no foreign matter such as paper on the transport path by a paper detection sensor (medium detector) (not shown) after the discharge operation is completed. Further, the capping operation is a reset operation in which the maintenance device 44 is driven to raise and lower the cap 45 and the like so as to find the origin and guarantee the movement path. Further, the scanner reset operation is a reset operation for performing origin search of the scanner head, guaranteeing a movement path, and the like.

これらのうちホームシーク動作とAPGリセット動作の2つの初期化動作は、オートパワーオフ時における終了処理としても行われる。このため、オートパワーオフは、終了処理完了後に、キャリッジ31がホーム位置でロックされ、かつ高さ方向に原点位置(最上昇位置)に配置された状態で行われる。従って、キャリッジ31の主走査方向Xと高さ方向の各位置は、次に電源オンされたときにも保たれている可能性が極めて高い。一方、通常電源オフの場合は、例えばエラー発生時にユーザーが電源スイッチ23を操作する場合があるため、キャリッジ31がホーム位置にない状態や、キャリッジ31が高さ方向の原点位置にない状態で、プリンター11が電源オフされる場合がありうる。そのため、本実施形態では、電源オン時にメイン制御部63はオートパワーオフからの復帰であるか否かを判断し、オートパワーオフからの復帰の場合は、ホームシーク動作とAPGリセット動作のうち少なくともホームシーク動作を省略する簡易初期化動作で済ませ、通常電源オフからの復帰の場合は、ホームシーク動作とAPGリセット動作とを含む全ての初期化動作を実行する完全初期化動作を行うようにしている。   Of these, two initialization operations, a home seek operation and an APG reset operation, are also performed as termination processing during auto power off. For this reason, the auto power-off is performed in a state in which the carriage 31 is locked at the home position and is disposed at the origin position (the highest position) in the height direction after completion of the termination process. Therefore, the positions of the carriage 31 in the main scanning direction X and the height direction are very likely to be maintained when the power is turned on next time. On the other hand, when the power is normally off, for example, the user may operate the power switch 23 when an error occurs, so that the carriage 31 is not at the home position or the carriage 31 is not at the origin position in the height direction. The printer 11 may be turned off. Therefore, in the present embodiment, when the power is turned on, the main control unit 63 determines whether or not it is a return from auto power off, and in the case of a return from auto power off, at least of the home seek operation and the APG reset operation. A simple initialization operation that omits the home seek operation is sufficient, and in the case of a return from normal power off, a complete initialization operation that performs all initialization operations including the home seek operation and the APG reset operation is performed. Yes.

ここで、プリンター11はメカニカル機構として、スキャナー部12を構成するスキャニング機構、プリンター部13を構成する自動給送装置39(給送機構)、紙送り機構(40,41)、記録ヘッド走査機構(30〜35)、プラテンギャップ調整機構(APG調整装置42)を備えている。そして、第一の初期化動作である完全初期化動作では、これらのうち初期化動作を必要とする全てのメカニカル機構について初期化動作を行い、第二の初期化動作である簡易初期化動作では、完全初期化動作で初期化動作の対象とされるメカニカル機構のうち、記録ヘッド走査機構とプラテンギャップ調整機構の2つの初期化動作を省略する。なお、完全初期化動作が第一の初期化動作の一部を構成し、簡易初期化動作が第二の初期化動作の一部を構成する。また、記録ヘッド走査機構(30〜35)、プラテンギャップ調整機構(APG調整装置42)及び紙送り機構(40,41)が、画像形成動作(印刷動作)のためのメカニカル機構に相当する。   Here, the printer 11 is a mechanical mechanism that includes a scanning mechanism that constitutes the scanner unit 12, an automatic feeding device 39 (feeding mechanism) that constitutes the printer unit 13, a paper feeding mechanism (40, 41), and a recording head scanning mechanism ( 30 to 35) and a platen gap adjusting mechanism (APG adjusting device 42). Then, in the complete initialization operation that is the first initialization operation, the initialization operation is performed for all mechanical mechanisms that require the initialization operation, and in the simple initialization operation that is the second initialization operation. Of the mechanical mechanisms that are the targets of the initialization operation in the complete initialization operation, the two initialization operations of the recording head scanning mechanism and the platen gap adjustment mechanism are omitted. Note that the complete initialization operation constitutes a part of the first initialization operation, and the simple initialization operation constitutes a part of the second initialization operation. The recording head scanning mechanism (30 to 35), the platen gap adjusting mechanism (APG adjusting device 42), and the paper feeding mechanism (40, 41) correspond to a mechanical mechanism for an image forming operation (printing operation).

そして、初期化動作が省略されるメカニカル機構が備える移動体(例えば記録ヘッド35(キャリッジ31))の移動方向(例えば主走査方向又は高さ方向)におけるオートパワーオフ時の位置情報を不揮発性記憶部72に記憶し、オートパワーオフからの復帰時に不揮発性記憶部72から読み出した位置情報を、復帰時点における移動体の現在位置として設定する。   Then, the position information at the time of auto power-off in the moving direction (for example, main scanning direction or height direction) of the moving body (for example, the recording head 35 (carriage 31)) included in the mechanical mechanism in which the initialization operation is omitted is stored in a nonvolatile manner. The position information stored in the unit 72 and read from the nonvolatile storage unit 72 when returning from auto power off is set as the current position of the moving object at the time of return.

また、本実施形態では、第2USB処理部86、表示処理部87、初期化処理部88、FAX処理部89、スキャナー処理部90、印刷処理部91、コピー処理部92は、CPUが、第2USB処理タスク、初期化タスク、FAXタスク、スキャナータスク、印刷タスク、コピータスクをそれぞれ実行することにより起動される。主制御部80はタスク管理を行い、受け付けたイベント(又はジョブ)や指令などに応じて選択したタスクを実行させることで、指示された処理をマルチタスクで実行する。   In the present embodiment, the second USB processing unit 86, the display processing unit 87, the initialization processing unit 88, the FAX processing unit 89, the scanner processing unit 90, the print processing unit 91, and the copy processing unit 92 are connected by the CPU to the second USB. It is started by executing a processing task, an initialization task, a FAX task, a scanner task, a print task, and a copy task. The main control unit 80 performs task management, and executes the task selected in accordance with the received event (or job), command, or the like, thereby executing the instructed process as a multitask.

図3に示すように、オートパワーオフ制御部81は設定部94を備えている。計時部82は、オートパワーオフ制御部81の管理の下で、計時の開始・停止を行う。オートパワーオフ制御部81は、操作部21の操作、及びスキャン動作、印刷動作、コピー動作、表示動作などのプリンター11の動作がないまま経過する経過時間を、計時部82に計時させる。設定部94には、オートパワーオフするまでの経過時間に相当する設定時間Toffが設定されている。オートパワーオフ制御部81は、前記操作も動作もなくなると、計時部82に計時を開始させ、その計時時間が、設定部94に設定された設定時間Toffに達すると、サブ制御部64に対してオートパワーオフ指示信号を出力する。   As shown in FIG. 3, the auto power-off control unit 81 includes a setting unit 94. The timer unit 82 starts and stops timing under the management of the auto power-off control unit 81. The auto power-off control unit 81 causes the time counting unit 82 to count the elapsed time that has elapsed without the operation of the operation unit 21 and the operation of the printer 11 such as the scan operation, the printing operation, the copy operation, and the display operation. In the setting unit 94, a set time Toff corresponding to the elapsed time until auto power off is set. When the operation or operation is lost, the auto power off control unit 81 causes the time measuring unit 82 to start measuring. When the time reaches the set time Toff set in the setting unit 94, the auto power off control unit 81 Output an auto power off instruction signal.

ここで、オートパワーオフ制御部81は、現在時刻を計時している時計部83から時刻情報を取得し、その時刻情報から把握される1日のうちの時間帯に応じた設定時間Toffを設定部94に設定する。例えばプリンター11が設置されたオフィス等で仕事が行われている可能性の高い時間帯(例えばAM8〜PM6)であれば、プリンター11の使用頻度が比較的高いはずなので、長めの設定時間Toffを設定する。一方、例えばオフィス等で仕事がまず行われないとみなしうる時間帯(例えばPM10〜AM5)であれば、プリンター11の使用頻度が極めて低いはずなので、短めの設定時間Toffを設定する。そして、両者の間の時間帯(例えばAM5〜AM8とPM6〜PM10)では、両者の設定時間の中間の長さの設定時間Toffを設定するようにしている。よって、オートパワーオフ制御部81は、計時部82の計時時間(測定時間)が、そのときの時刻が属する時間帯に応じた設定時間Toffに達すると、サブ制御部64に対してオートパワーオフ指示信号を出力する。なお、設定時間Toffを決めるために1日を複数の時間帯に分ける時間帯の数は2つでもよいし、4つ以上でもよい。   Here, the auto power-off control unit 81 acquires time information from the clock unit 83 that keeps the current time, and sets a set time Toff corresponding to the time zone of the day grasped from the time information. Part 94. For example, in a time zone (eg, AM8 to PM6) where there is a high possibility that work is performed in an office where the printer 11 is installed, the usage frequency of the printer 11 should be relatively high. Set. On the other hand, for example, in a time zone (for example, PM10 to AM5) where it can be considered that work is not performed first in an office or the like, since the frequency of use of the printer 11 should be extremely low, a shorter set time Toff is set. In the time zone between the two (for example, AM5 to AM8 and PM6 to PM10), a setting time Toff having a length intermediate between the two setting times is set. Therefore, the auto power-off control unit 81 causes the sub-control unit 64 to perform auto power-off when the timed time (measurement time) of the time measuring unit 82 reaches the set time Toff corresponding to the time zone to which the time belongs. An instruction signal is output. Note that the number of time zones that divide a day into a plurality of time zones in order to determine the set time Toff may be two, or four or more.

メイン制御部63からのオートパワーオフ指示信号はサブ制御部64内の電源制御部71が受け付けられる。電源制御部71は、オートパワーオフ指示信号を受け付けると、フリップフロップ75に「1」をセットすると共に、電源回路55を制御して電源オフさせ、さらにサブ制御部64内のクロック回路を停止させる。クロック回路が停止することで、メイン制御部63のCLK端子へのクロックパルスの入力が停止され、メイン制御部63はその動作を停止する。このフリップフロップ75は不揮発性であるのでその値は電源オフ中も保持される。   The auto power off instruction signal from the main control unit 63 is received by the power control unit 71 in the sub control unit 64. When receiving the auto power off instruction signal, the power control unit 71 sets “1” in the flip-flop 75, controls the power circuit 55 to turn off the power, and further stops the clock circuit in the sub control unit 64. . When the clock circuit is stopped, the input of the clock pulse to the CLK terminal of the main control unit 63 is stopped, and the main control unit 63 stops its operation. Since the flip-flop 75 is non-volatile, the value is retained even when the power is off.

ここで、図3に示すように、電源回路55にはスイッチ回路96が内蔵されている。このスイッチ回路96は、オートパワーオフ状態においても、発生したイベントを検出できるようにイベント検出系の部分への電力供給を維持するためのものである。オートパワーオフ状態では、このスイッチ回路96はオン状態に維持されることで、操作部21、リング検出部58、USB通信部56及び第1USB処理部73への電力供給状態が維持される。また、電源回路55は、オートパワーオフと通常電源オフとの区別なく電源オフ中は、電源制御部71への電力供給を維持する構成になっている。   Here, as shown in FIG. 3, the power supply circuit 55 includes a switch circuit 96. The switch circuit 96 is for maintaining the power supply to the event detection system so that the generated event can be detected even in the auto power off state. In the auto power off state, the switch circuit 96 is maintained in the on state, so that the power supply state to the operation unit 21, the ring detection unit 58, the USB communication unit 56, and the first USB processing unit 73 is maintained. The power supply circuit 55 is configured to maintain power supply to the power supply control unit 71 during power-off without distinguishing between auto power-off and normal power-off.

電源回路55は、電源制御部71からオートパワーオフ信号を入力したときには、スイッチ回路96のオン状態を維持したまま、他の全てのスイッチ回路(図示せず)をオフ状態にする。このため、オートパワーオフ中は、操作部21、リング検出部58、USB通信部56、電源制御部71及び第1USB処理部73への電力供給が維持される。   When the auto power off signal is input from the power controller 71, the power circuit 55 turns off all other switch circuits (not shown) while maintaining the switch circuit 96 on. For this reason, during auto power off, power supply to the operation unit 21, the ring detection unit 58, the USB communication unit 56, the power supply control unit 71, and the first USB processing unit 73 is maintained.

一方、電源スイッチ23がオフ操作されたときは、そのオフ操作信号を入力したメイン制御部63は、サブ制御部64に対して通常の電源オフ(つまりオートパワーオフ以外の電源オフ)を指示する電源オフ指示信号を出力する。電源制御部71は電源オフ指示信号を入力すると、電源回路55に対して通常の電源オフを指示する電源オフ信号を出力する。このとき、電源制御部71は、フリップフロップ75のセットは行わない。電源回路55は、電源オフ信号を入力すると、スイッチ回路96を含むすべてのスイッチ回路をオフする。このため、通常電源オフ状態では、電源スイッチ23以外の操作部21、リング検出部58、USB通信部56及び第1USB処理部73への電力供給が停止され、電源制御部71及び電源スイッチ23のみ電力供給が維持される。よって、オートパワーオフ状態ではファックス着信機能及びUSB通信機構がオンし、通常電源オフ状態ではファックス着信機能及びUSB通信機構がオフする。   On the other hand, when the power switch 23 is turned off, the main control unit 63 that has input the off operation signal instructs the sub control unit 64 to perform normal power off (that is, power off other than auto power off). Outputs a power-off instruction signal. When the power control unit 71 receives the power off instruction signal, the power control unit 71 outputs a power off signal that instructs the power circuit 55 to perform normal power off. At this time, the power supply control unit 71 does not set the flip-flop 75. The power supply circuit 55 turns off all the switch circuits including the switch circuit 96 when the power supply off signal is input. For this reason, in the normal power-off state, power supply to the operation unit 21, the ring detection unit 58, the USB communication unit 56, and the first USB processing unit 73 other than the power switch 23 is stopped, and only the power control unit 71 and the power switch 23 are stopped. Power supply is maintained. Therefore, the fax reception function and the USB communication mechanism are turned on in the auto power-off state, and the fax reception function and the USB communication mechanism are turned off in the normal power-off state.

このように、通常電源オフ状態ではフリップフロップ75の値が「0」であり、オートパワーオフ状態ではフリップフロップ75の値が「1」である。このため、電源オフ状態から次回電源オンされたときには、メイン制御部63は、フリップフロップ75の値を読み込んで、その値が「0」であれば、今回の電源オンが通常電源オフ状態からの復帰であり、一方、その値が「1」であれば、オートパワーオフからの復帰であることを認知できる。なお、フリップフロップ75の値「1」が、自動電源オフ状態(オートパワーオフ状態)であることを示す情報に相当し、フリップフロップ75の値「0」である場合が、自動電源オフ状態であることを示す情報が記憶されていない場合に相当する。   As described above, the value of the flip-flop 75 is “0” in the normal power-off state, and the value of the flip-flop 75 is “1” in the auto power-off state. For this reason, when the power is turned on next time from the power-off state, the main control unit 63 reads the value of the flip-flop 75, and if the value is “0”, the current power-on is changed from the normal power-off state. On the other hand, if the value is “1”, it can be recognized that the power is returned from auto power off. Note that the value “1” of the flip-flop 75 corresponds to information indicating the automatic power-off state (auto power-off state), and the case where the value “0” of the flip-flop 75 is the automatic power-off state. This corresponds to the case where no information indicating that the information exists is stored.

例えばオートパワーオフ中に、電源プラグ53がコンセントから抜けたり停電が発生した場合は、その後、電源スイッチ23をコンセントに差し込んだり停電から復帰した場合に、電源スイッチ23がオン操作状態にあることから、リセットIC62からリセット信号が出力され、オートパワーオフ中で「1」がセットされたフリップフロップ75は「0」にリセットされる。このため、オートパワーオフ中に、コンセントから抜けた電源プラグ53を再びコンセントに差し込んだり停電から復帰したりしてプリンター11の電源がオンした場合は、フリップフロップ75の値が「0」になることから、通常電源オフ状態であると認知され、完全初期化動作が行われる。   For example, when the power plug 53 is disconnected from the outlet or a power failure occurs during auto power off, the power switch 23 is in the ON operation state when the power switch 23 is inserted into the outlet or the power is restored from the power failure. Then, a reset signal is output from the reset IC 62, and the flip-flop 75 in which “1” is set during auto power-off is reset to “0”. For this reason, when the power of the printer 11 is turned on by reinserting the power plug 53 that has been removed from the outlet or returning from a power failure during auto power off, the value of the flip-flop 75 becomes “0”. Therefore, it is recognized that the power is normally off, and the complete initialization operation is performed.

ここで、位置カウンター93について説明する。リニアエンコーダー38は、キャリッジ31の移動経路に沿って張設されてその長手方向に一定刻みでスリットが形成された光非透過性のテープ状の符号板と、該符号板のスリットを検知可能な状態でキャリッジ31の所定位置に固定された光学センサー(いずれも図示せず)とを有する。光学センサーは、符号板を挟んで対峙する一対の発光素子と受光素子とを有し、受光素子が発光素子からのスリットを通過した光を受光する。よって、リニアエンコーダー38は、キャリッジ31の移動距離に比例するパルス数で、かつキャリッジ31の移動速度に反比例するパルス周期のパルスを出力する。電源オン時には、初期化処理部88はキャリッジ31のホームシーク動作を行い、キャリッジ31がホーム位置側のエンド位置に達したときに位置カウンター93をリセットする原点出しを行う。以後、位置カウンター93は、リニアエンコーダー38からの入力パルスのパルスエッジの数を計数する。すなわち、キャリッジ31が反ホーム位置側へ向かって移動するときに位置カウンター93の計数値をインクリメントし、キャリッジ31がホーム位置側へ向かって移動するときに位置カウンター93の計数値をデクリメントすることで、キャリッジ31の主走査方向Xの位置を測定する。このため、主制御部80は位置カウンター93の計数値から、キャリッジ31の主走査方向Xにおける位置を把握できる構成になっている。   Here, the position counter 93 will be described. The linear encoder 38 is stretched along the movement path of the carriage 31 and has a light-impermeable tape-shaped code plate in which slits are formed in the longitudinal direction at regular intervals, and can detect the slit of the code plate. And an optical sensor (none of which is shown) fixed to a predetermined position of the carriage 31. The optical sensor has a pair of light emitting elements and light receiving elements facing each other with the code plate interposed therebetween, and the light receiving elements receive light that has passed through the slits from the light emitting elements. Therefore, the linear encoder 38 outputs pulses having a pulse number proportional to the moving distance of the carriage 31 and a pulse period inversely proportional to the moving speed of the carriage 31. When the power is turned on, the initialization processing unit 88 performs a home seek operation of the carriage 31 and performs origin search for resetting the position counter 93 when the carriage 31 reaches the end position on the home position side. Thereafter, the position counter 93 counts the number of pulse edges of the input pulse from the linear encoder 38. That is, the count value of the position counter 93 is incremented when the carriage 31 moves toward the non-home position, and the count value of the position counter 93 is decremented when the carriage 31 moves toward the home position. Then, the position of the carriage 31 in the main scanning direction X is measured. Therefore, the main control unit 80 is configured to be able to grasp the position of the carriage 31 in the main scanning direction X from the count value of the position counter 93.

そして、メイン制御部63がサブ制御部64へオートパワーオフ指示信号又は電源オフ指示信号を出力する場合は、そのときのプリンター11の状態を示す各種情報を含む付属情報97を、不揮発性メモリー76の所定記憶領域に書き込む。この付属情報97は、オートパワーオフ時と通常電源オフ時とで異なる。オートパワーオフ時の付属情報97には、位置カウンター93及びPG用の位置カウンターの各計数値(位置カウント値)が含まれている。オートパワーオフや通常電源オフが行われるときには、キャリッジ31はホーム位置にある。特に本実施形態では、オートパワーオフ直前に、キャリッジ31の主走査方向Xにおける原点出しであるホームシーク動作(原点シーク動作)と、キャリッジ31の高さ方向の原点出しであるAPGリセット動作(原点シーク動作)とを含む終了処理を行う。そして、これらのシーク動作(ホームシーク動作とAPGリセット動作)終了後、キャリッジ31を主走査方向Xの原点位置(基準位置)から電源オフ時の位置であるホーム位置に復帰させてから、電源オフ時のキャリッジ31の主走査方向と高さ方向の各位置カウント値を含む付属情報97を不揮発性メモリー76に記憶し、その後、プリンター11をオートパワーオフする。このオートパワーオフ時における各位置カウント値がキャリッジ31の位置情報に相当する。   When the main control unit 63 outputs an auto power-off instruction signal or a power-off instruction signal to the sub control unit 64, the auxiliary information 97 including various information indicating the state of the printer 11 at that time is stored in the nonvolatile memory 76. Are written in a predetermined storage area. The attached information 97 is different when auto power is off and when normal power is off. The attached information 97 at the time of auto power off includes the count values (position count values) of the position counter 93 and the position counter for PG. When auto power off or normal power off is performed, the carriage 31 is at the home position. In particular, in this embodiment, immediately before the auto power off, the home seek operation (origin seek operation) that is the origin search in the main scanning direction X of the carriage 31 and the APG reset operation (origin origin) that is the origin search in the height direction of the carriage 31. A termination process including a seek operation) is performed. After these seek operations (home seek operation and APG reset operation) are completed, the carriage 31 is returned from the home position (reference position) in the main scanning direction X to the home position, which is the power-off position, and then the power is turned off. The auxiliary information 97 including the position count values in the main scanning direction and the height direction of the carriage 31 at that time is stored in the nonvolatile memory 76, and then the printer 11 is automatically powered off. Each position count value at the time of auto power off corresponds to the position information of the carriage 31.

オートパワーオフ期間中はキャリッジ31はロック部材47に係止されてホーム位置にロックされているため、オートパワーオフ状態からの復帰時に、不揮発性メモリー76から読み出した付属情報97中の各位置カウント値は、この復帰時におけるキャリッジ31の主走査方向Xと高さ方向における各現在位置を正確に表していると言える。このため、本実施形態では、オートパワーオフから復帰した場合は、付属情報97中の各位置カウント値を位置カウンター93及びPG用の位置カウンターにそれぞれセットすることとし、初期化処理部88によるキャリッジ31のホームシーク動作及びAPGリセット動作を省略する。もちろん、ホームシーク動作のみ省略する構成も採用できる。例えばキャリッジ31を高さ方向の所定位置にロックする機構を有する構成であれば、初期化動作の1つとしてAPGリセット動作も省略するのが好ましい。ロックされることでオートパワーオフ時と電源オン時のキャリッジ位置が同じ位置に保たれる可能性が極めて高いからである。   During the auto power off period, the carriage 31 is locked by the lock member 47 and locked at the home position. Therefore, when returning from the auto power off state, each position count in the auxiliary information 97 read from the nonvolatile memory 76 is counted. It can be said that the value accurately represents each current position in the main scanning direction X and the height direction of the carriage 31 at the time of return. For this reason, in this embodiment, when returning from auto power off, each position count value in the attached information 97 is set in the position counter 93 and the position counter for PG, respectively, and the carriage by the initialization processing unit 88 is performed. The home seek operation 31 and the APG reset operation are omitted. Of course, a configuration in which only the home seek operation is omitted can be employed. For example, if the configuration has a mechanism for locking the carriage 31 at a predetermined position in the height direction, it is preferable to omit the APG reset operation as one of the initialization operations. This is because the possibility that the carriage position at the time of auto power-off and power-on is kept at the same position by locking is extremely high.

プリンター11は、ホスト装置100から通信アクセスがあった場合、電話回線を介したファックの着信があった場合、操作部21が操作された場合、これらをイベントとして認識する。例えば、ファックス着信時はリング検出部58がリング信号を検出し、リング検出信号を電源制御部71に送る。電源制御部71はリング検出信号の入力があると、「FAXイベント」が発生したと判断し、そのFAXイベント情報を不揮発性メモリー76の所定記憶領域に書き込む。   The printer 11 recognizes these as events when there is a communication access from the host device 100, when there is a fuck incoming via the telephone line, or when the operation unit 21 is operated. For example, when receiving a fax, the ring detector 58 detects a ring signal and sends the ring detection signal to the power supply controller 71. When receiving a ring detection signal, the power supply control unit 71 determines that a “FAX event” has occurred, and writes the FAX event information in a predetermined storage area of the nonvolatile memory 76.

また、例えばホスト装置100から印刷データが送られてくる際は、事前にホスト装置100から、プリンター11が起動しているか(通信ケーブルがプリンター11に接続されているか)など印刷可能な状態にあるか否かの確認の要求がプリンター11に入る。第1USB処理部73はこの種の要求を受け付けてホスト装置100に応答すると共に、この種の要求を受け付けた旨の信号を電源制御部71へ送る。電源制御部71は第1USB処理部73からその信号を受け付けると、印刷データなどのデータや指令をUSBポート経由で受信する「USBイベント」が発生したと判断し、そのUSBイベント情報を不揮発性メモリー76の所定記憶領域に書き込む。さらに、ホスト装置100からスキャン動作可能な状態にあるか否かの確認要求に対する応答も第1USB処理部73が行い、電源制御部71は第1USB処理部73からその確認要求を受け付けると、スキャンイベントが発生したと判断し、そのスキャンイベント情報を不揮発性メモリー76の所定記憶領域に書き込む。また、ユーザーが操作部21を操作した場合の操作信号は電源制御部71へ入力される。電源制御部71は、操作信号を入力すると、表示部22を起動させる「パネルイベント」が発生したと判断し、そのパネルイベント情報を不揮発性メモリー76の所定記憶領域に書き込む。   For example, when print data is sent from the host device 100, the printer 11 is ready to print from the host device 100, such as whether the printer 11 is activated (the communication cable is connected to the printer 11). The printer 11 receives a request for confirmation of whether or not. The first USB processing unit 73 receives this type of request and responds to the host device 100, and sends a signal indicating that this type of request has been received to the power supply control unit 71. When the power supply control unit 71 receives the signal from the first USB processing unit 73, the power supply control unit 71 determines that a “USB event” for receiving data and commands such as print data via the USB port has occurred, and stores the USB event information in the nonvolatile memory. Write to 76 predetermined storage areas. Further, the first USB processing unit 73 also responds to a confirmation request as to whether or not the scan operation is possible from the host device 100, and when the power supply control unit 71 receives the confirmation request from the first USB processing unit 73, the scan event The scan event information is written in a predetermined storage area of the nonvolatile memory 76. An operation signal when the user operates the operation unit 21 is input to the power supply control unit 71. When the operation signal is input, the power control unit 71 determines that a “panel event” that activates the display unit 22 has occurred, and writes the panel event information in a predetermined storage area of the nonvolatile memory 76.

例えば通常電源オフ状態では、操作部21、リング検出部58及びUSB通信部56には電力が供給されていないので、FAXイベント、USBイベント、パネルイベント(電源オンのパネルイベントは除く)のどのイベントも発生しない。そして、電源スイッチ23がオン操作された場合だけは、そのオン操作信号が電源制御部71に入力され、電源投入イベントが発生する。電源制御部71は電源投入イベントが発生すると、電源回路55を制御してプリンター11を電源オンさせる。   For example, since power is not supplied to the operation unit 21, the ring detection unit 58, and the USB communication unit 56 in the normal power-off state, any event such as a FAX event, a USB event, or a panel event (excluding a power-on panel event) Does not occur. Then, only when the power switch 23 is turned on, the on-operation signal is input to the power control unit 71, and a power-on event occurs. When a power-on event occurs, the power control unit 71 controls the power circuit 55 to turn on the printer 11.

一方、オートパワーオフ状態では、操作部21、リング検出部58及びUSB通信部56に電力が供給されているので、リング信号の検出、ホスト装置100からの要求受信(印刷要求受信、スキャン要求受信)、パネル操作の検出(操作部21の操作の検出)があれば、それをトリガーとして、FAXイベント、USBイベント、パネルイベントのうち、そのときのトリガーに応じたイベントが発生する。また、オートパワーオフ状態においても、電源制御部71は、電源スイッチ23からオン操作信号を入力すれば、電源オン投入イベントが発生するので、電源回路55を制御してプリンター11を電源オンさせる。   On the other hand, in the auto power off state, since power is supplied to the operation unit 21, the ring detection unit 58, and the USB communication unit 56, detection of a ring signal and reception of a request from the host device 100 (reception of a print request, reception of a scan request) ) If there is a panel operation detection (operation unit 21 operation detection), an event corresponding to the trigger at that time occurs among the FAX event, USB event, and panel event. Even in the auto power off state, if the power control unit 71 inputs an on operation signal from the power switch 23, a power on event is generated, so the power circuit 55 is controlled to power on the printer 11.

ROM65には、電源オフ状態から電源オン状態に復帰した際にコンピューターを初期化するための図4に示す電源オン初期化処理ルーチン用のプログラムと、このコンピューター初期化処理に続いて行われるプリンター動作を司る図5に示す電源オン復帰動作処理ルーチン用のプログラムとが記憶されている。これらのプログラムを含む制御プログラムを実行するメイン制御部63内のCPUにより、メイン制御部63内の主制御部80、オートパワーオフ制御部81、判断部84、イベント判定部85、各処理部86〜92の主要部は構成される。各処理部89〜92のうち、画像処理をはじめとするデータ処理などを行う部分はASICにより構成されている。もちろん、各部80,81,84〜92のうちその一部又は全部をASIC等のハードウェアで構成することもできる。   The ROM 65 includes a program for the power-on initialization process routine shown in FIG. 4 for initializing the computer when the power is turned off from the power-off state, and a printer operation performed following the computer initialization process. And a program for the power-on return operation processing routine shown in FIG. The CPU in the main control unit 63 that executes a control program including these programs causes the main control unit 80, the auto power-off control unit 81, the determination unit 84, the event determination unit 85, and each processing unit 86 in the main control unit 63. The main part of -92 is comprised. Of each of the processing units 89 to 92, a portion that performs data processing such as image processing is configured by an ASIC. Of course, some or all of the units 80, 81, and 84 to 92 can be configured by hardware such as ASIC.

以下、電源オフ状態から電源オン状態に復帰されるときの処理について説明する。
ここで、通常電源オフ状態では、フリップフロップ75は「0」にリセットされた状態にある。オートパワーオフ状態ではフリップフロップ75には、オートパワーオフ状態であることを示す情報「1」が記憶されている。また、オートパワーオフ状態では、電源制御部71の他に、操作部21、リング検出部58、USB通信部56及び第1USB処理部73にも電力が供給されているので、これらは起動状態にある。このため、ファックス着信時のリング信号検出、ホスト装置100からのUSB通信部56を介したアクセス、操作部21からの操作信号の入力のうち1つがあると、それぞれFAXイベント、USBイベント、パネルイベントとして受け付けられ、その受け付けられたイベント情報は電源制御部71により不揮発性メモリー76に書き込まれる。
Hereinafter, processing when returning from the power-off state to the power-on state will be described.
Here, in the normal power-off state, the flip-flop 75 is reset to “0”. In the auto power off state, the flip-flop 75 stores information “1” indicating the auto power off state. In addition, in the auto power off state, power is supplied to the operation unit 21, the ring detection unit 58, the USB communication unit 56, and the first USB processing unit 73 in addition to the power supply control unit 71. is there. Therefore, when there is one of ring signal detection at the time of incoming fax, access from the host device 100 via the USB communication unit 56, and input of an operation signal from the operation unit 21, a FAX event, a USB event, and a panel event, respectively. The received event information is written into the nonvolatile memory 76 by the power control unit 71.

このイベント発生時は、電源制御部71は、クロック回路からクロックパルスをメイン制御部63のCLK端子へ出力させる。メイン制御部63はCLK端子にクロックパルスが入力されることで起動する。また、これとほぼ同時に、電源制御部71はリセット信号を出力し、このリセット信号が負論理オア回路74の他方の入力端子に入力されることで、負論理オア回路74の出力端子から出力されたリセット信号がメイン制御部63のRESET端子に入力される。その結果、メイン制御部63のCPUは、まず図4の電源オン初期化処理ルーチンを実行し、その後、続いて図5の電源オン復帰処理ルーチンを実行する。   When this event occurs, the power supply control unit 71 causes the clock circuit to output a clock pulse to the CLK terminal of the main control unit 63. The main control unit 63 is activated when a clock pulse is input to the CLK terminal. At almost the same time, the power supply control unit 71 outputs a reset signal, and this reset signal is input to the other input terminal of the negative logic OR circuit 74, so that it is output from the output terminal of the negative logic OR circuit 74. The reset signal is input to the RESET terminal of the main control unit 63. As a result, the CPU of the main control unit 63 first executes the power-on initialization process routine of FIG. 4, and then executes the power-on return process routine of FIG.

一方、通常電源オフ状態においては、電源スイッチ23がオン操作されると、プリンター11は電源オンする。このとき、リセットIC62から出力されたリセット信号が負論理オア回路74の一方の入力端子に入力されることで、負論理オア回路74の出力端子から出力されたリセット信号がメイン制御部63のRESET端子に入力される。その結果、メイン制御部63のCPUは、まず図4の電源オン初期化処理ルーチンを実行し、その後、続いて図5の電源オン復帰処理ルーチンを実行する。   On the other hand, in the normal power-off state, when the power switch 23 is turned on, the printer 11 is turned on. At this time, when the reset signal output from the reset IC 62 is input to one input terminal of the negative logic OR circuit 74, the reset signal output from the output terminal of the negative logic OR circuit 74 becomes the RESET of the main control unit 63. Input to the terminal. As a result, the CPU of the main control unit 63 first executes the power-on initialization process routine of FIG. 4, and then executes the power-on return process routine of FIG.

以下、メイン制御部63がコンピューター初期化処理のために実行する電源オン初期化処理ルーチンを図4に基づいて説明する。まずステップS10では、システム初期化を行う。次のステップS20では、オートパワーオフからの復帰であるか否かを判断する。すなわち、判断部84がサブ制御部64側のフリップフロップ75の値を読み込んで、その値がオートパワーオフ状態であることを示す情報「1」であるか否かを判断する。オートパワーオフ状態であることを示す情報「1」であればステップS30に進み、一方、オートパワーオフ状態であることを示す情報「1」でなければ(つまり通常電源オフ状態であることを示す情報「0」であれば)、ステップS40に進む。   Hereinafter, a power-on initialization process routine executed by the main control unit 63 for the computer initialization process will be described with reference to FIG. First, in step S10, system initialization is performed. In the next step S20, it is determined whether or not it is a return from auto power off. That is, the determination unit 84 reads the value of the flip-flop 75 on the sub-control unit 64 side, and determines whether or not the value is information “1” indicating that it is in the auto power off state. If the information is “1” indicating the auto power off state, the process proceeds to step S30. On the other hand, if the information is not “1” indicating the auto power off state (that is, the normal power off state is indicated). If the information is “0”), the process proceeds to step S40.

ステップS30では、簡易メモリーチェックを行う。ここで、簡易メモリーチェックとは、オートパワーオフからの復帰の場合は、イベント発生による復帰になるので、サブ制御部64内の不揮発性メモリー76からイベント情報を読み込んで、そのイベント情報で示されたイベント内容を判定し、判定したイベント内容に応じたジョブの実行に必要な分の記憶領域を確保できるかどうかチェックする目的で一部の記憶領域に対してメモリーチェックを行う。なお、イベント内容の判定は、イベント判定部85が行う。一方、ステップS40では、完全メモリーチェックを行う。つまり、すべての記憶領域に対してメモリーチェックを行う。   In step S30, a simple memory check is performed. Here, the simple memory check is a return due to the occurrence of an event in the case of a return from auto power off, so event information is read from the nonvolatile memory 76 in the sub-control unit 64 and indicated by the event information. The memory contents are checked for a part of the storage areas in order to check whether the storage areas required for job execution corresponding to the determined event contents can be secured. The event content is determined by the event determination unit 85. On the other hand, in step S40, a complete memory check is performed. That is, a memory check is performed on all storage areas.

次のステップS50では、周辺ハードウェアの初期化(設定)を行う。次のステップS60では、オペレーティングシステムを起動させる。次にオートパワーオフからの復帰であるか否かを判断する。オートパワーオフからの復帰であれば、ステップS80に進み、通常電源オフからの復帰であればステップS100に進む。ステップS80では、イベントはFAX(FAXイベント)又はUSB(USBイベント)であるか否かを判断する。すなわち、イベント判定部85が不揮発性メモリー76からイベント情報を読み出し、その読み出したイベント情報に基づきイベントを判別する。イベントがFAX又はUSBであれば、ステップS90に進んで、イベントに応じたタスクを起動する。一方、イベントがFAXでもUSBでもなければ、ステップS100に進む。そして、ステップS100では、全てのタスクを起動させる。なお、ここで、タスクの起動とは、タスクを実行できるようにRAM66の所定領域に読み込んでタスクを発生させる処理などを指す。また、本実施形態では、図4のフローチャートにおいて、完全メモリーチェック(S40)と全タスクの起動(S100)の各処理により第一の初期化動作の一部が構成され、簡易メモリーチェック(S30)とイベントに応じたタスク起動(S90)の各処理により第二の初期化動作の一部が構成される。そして、第二の初期化動作の一部を構成するステップS30,S90の各処理により、最低限のハードウェア初期化が行われる。   In the next step S50, the peripheral hardware is initialized (set). In the next step S60, the operating system is started. Next, it is determined whether or not it is a return from auto power off. If it is a return from auto power off, the process proceeds to step S80, and if it is a return from normal power off, the process proceeds to step S100. In step S80, it is determined whether the event is FAX (FAX event) or USB (USB event). That is, the event determination unit 85 reads event information from the nonvolatile memory 76 and determines an event based on the read event information. If the event is FAX or USB, the process proceeds to step S90, and a task corresponding to the event is activated. On the other hand, if the event is neither FAX nor USB, the process proceeds to step S100. In step S100, all tasks are activated. Here, the task activation refers to a process of generating a task by reading it into a predetermined area of the RAM 66 so that the task can be executed. Further, in the present embodiment, in the flowchart of FIG. 4, a part of the first initialization operation is configured by the complete memory check (S40) and the activation of all tasks (S100), and the simple memory check (S30). A part of the second initialization operation is configured by each process of task activation (S90) according to the event. Then, the minimum hardware initialization is performed by the processes in steps S30 and S90 constituting a part of the second initialization operation.

こうして電源オン初期化処理ルーチンを終えると、メイン制御部63は、次に図5に示す電源オン復帰動作処理ルーチンを実行する。
まずステップS210では、オートパワーオフからの復帰であるか否かを判断する。すなわち、判断部84がサブ制御部64側のフリップフロップ75の値を読み込んで、その値がオートパワーオフ状態であることを示す情報「1」であるか否かを判断する。オートパワーオフ状態であることを示す情報「1」であればステップS220に進み、一方、オートパワーオフ状態であることを示す情報「1」でなければ(つまり通常電源オフ状態であることを示す情報「0」であれば)、ステップS330に進む。
When the power-on initialization processing routine is thus completed, the main control unit 63 next executes a power-on return operation processing routine shown in FIG.
First, in step S210, it is determined whether or not it is a return from auto power off. That is, the determination unit 84 reads the value of the flip-flop 75 on the sub-control unit 64 side, and determines whether or not the value is information “1” indicating that it is in the auto power off state. If the information is “1” indicating the auto power off state, the process proceeds to step S220. On the other hand, if the information is not “1” indicating the auto power off state (that is, indicates the normal power off state). If the information is “0”), the process proceeds to step S330.

そして、ステップS220において、簡易初期化動作を行う。一方、通常電源オフからの復帰である場合は、ステップS330に進んで完全初期化動作を行う。
以下、オートパワーオフからの復帰である場合の処理をまず説明し、次に通常電源オフからの復帰である場合の処理について説明する。
In step S220, a simple initialization operation is performed. On the other hand, in the case of returning from normal power-off, the process proceeds to step S330 to perform a complete initialization operation.
Hereinafter, the process in the case of return from auto power off will be described first, and then the process in the case of return from normal power off will be described.

オートパワーオフからの復帰である場合は、ステップS220において、プリンター11の簡易初期化動作を行う。この簡易初期化動作では、初期化処理部88が、初期化動作のうちホームシーク動作とAPGリセット動作を省略し、その他のインクチェック、PFリセット動作、キャッピング動作、スキャナーリセット動作などからなる簡易初期化動作を行う。詳しくは、初期化処理部88がサブ制御部64側の不揮発性メモリー76の付属情報97を読み込んで、その付属情報97中の各位置カウント値を、位置カウンター93及びPG用の位置カウンターにそれぞれセットする。こうしてオートパワーオフ時に保存した位置情報を位置カウンター93等にセットすることで、初期化動作のうちホームシーク動作とAPGリセット動作を省略する。このようにオートパワーオフからの復帰時は、一部の初期化動作を省略した簡易初期化動作を行うことで、プリンター初期化動作の所要時間が短くなり、イベントに応じたジョブ動作を比較的早期に開始できる。   If it is a return from auto power off, a simple initialization operation of the printer 11 is performed in step S220. In this simple initialization operation, the initialization processing unit 88 omits the home seek operation and the APG reset operation among the initialization operations, and performs simple initial operations including other ink checks, PF reset operations, capping operations, scanner reset operations, and the like. Perform the operation. Specifically, the initialization processing unit 88 reads the auxiliary information 97 of the non-volatile memory 76 on the sub-control unit 64 side, and each position count value in the auxiliary information 97 is respectively stored in the position counter 93 and the position counter for PG. set. Thus, the position information stored at the time of auto power off is set in the position counter 93 and the like, so that the home seek operation and the APG reset operation in the initialization operation are omitted. In this way, when returning from auto power off, a simple initialization operation that omits some of the initialization operations is performed, so that the time required for the printer initialization operation is shortened, and the job operation corresponding to the event is relatively reduced. Start early.

次のステップS230では、イベントはFAX(FAXイベント)であるか否かを判断する。すなわち、イベント判定部85が不揮発性メモリー76からイベント情報を読み出し、その読み出したイベント情報に基づきイベントを判別する。FAXイベントであれば、ステップS240でFAXタスクを実行し、さらにステップS250で印刷タスクを実行する。この結果、FAX処理部89と印刷処理部91が順次起動され、FAX処理部89がファックスデータに画像処理を施して印刷データを生成しつつ、印刷処理部91がその印刷データに基づき記録ヘッド35、キャリッジモーター34及び紙送りモーター40を駆動制御して、用紙Pにファックス画像を印刷させる。このとき、FAXタスクと印刷タスクとがマルチタスク処理で交互に実行されることで、FAX処理部89によるFAX処理と印刷処理部91による印刷処理は同時並行で進められる。   In the next step S230, it is determined whether or not the event is a FAX (FAX event). That is, the event determination unit 85 reads event information from the nonvolatile memory 76 and determines an event based on the read event information. If it is a FAX event, a FAX task is executed in step S240, and a print task is further executed in step S250. As a result, the FAX processing unit 89 and the print processing unit 91 are sequentially activated, and the FAX processing unit 89 performs image processing on the fax data to generate print data, while the print processing unit 91 is based on the print data. Then, the carriage motor 34 and the paper feed motor 40 are driven and controlled to print a fax image on the paper P. At this time, the FAX task and the print task are alternately executed in the multi-task process, so that the FAX process by the FAX processing unit 89 and the print process by the print processing unit 91 are advanced in parallel.

一方、ステップS230の判断で、イベントがFAXイベントでなかった場合は、ステップS260に進んで、イベントがUSB(USBイベント)であるか否かを判断する。USBイベントであれば、ステップS270においてUSB通信タスクを実行し、さらにステップS280において、指示されたジョブの実行に必要なタスクを実行する。詳しくは、主制御部80は、例えば第2USB処理部86が印刷データ(印刷ジョブデータ)を受信した場合は、印刷タスクを実行し、スキャン指令を受信した場合はスキャンタスクを実行する。すなわち、印刷データ受信時には、印刷処理部91が印刷データに基づきプリンター部13のメカニカル機構に印刷動作を行わせ、一方、スキャン指令受信時はスキャナー処理部90がスキャナー52にスキャン動作を行わせる。なお、印刷動作を行うときは、第2USB処理部86と印刷処理部91が順次起動され、印刷処理部91は、第2USB処理部86から印刷データを逐次受信しつつ、その印刷データに基づきプリンター11のメカニカル機構部を構成する記録ヘッド35、キャリッジモーター34及び紙送りモーター40を駆動制御して、用紙Pに1行ずつ印刷を施す。このとき、USBタスクと印刷タスクがマルチタスク処理で交互に実行されることで、第2USB処理部86によるUSB通信処理と印刷処理部91による印刷処理は同時並行で進められる。   On the other hand, if it is determined in step S230 that the event is not a FAX event, the process proceeds to step S260 to determine whether the event is USB (USB event). If the event is a USB event, a USB communication task is executed in step S270, and a task necessary for executing the instructed job is executed in step S280. Specifically, the main control unit 80 executes a print task when the second USB processing unit 86 receives print data (print job data), for example, and executes a scan task when a scan command is received. That is, when the print data is received, the print processing unit 91 causes the mechanical mechanism of the printer unit 13 to perform a printing operation based on the print data. On the other hand, when the scan command is received, the scanner processing unit 90 causes the scanner 52 to perform the scanning operation. When the printing operation is performed, the second USB processing unit 86 and the print processing unit 91 are sequentially activated, and the print processing unit 91 sequentially receives print data from the second USB processing unit 86 and performs printing based on the print data. The recording head 35, the carriage motor 34, and the paper feed motor 40 constituting the mechanical mechanism 11 are driven and controlled, and printing is performed on the paper P line by line. At this time, the USB task and the print task are alternately executed in the multi-task process, so that the USB communication process by the second USB processing unit 86 and the print process by the print processing unit 91 are simultaneously performed in parallel.

さらにステップS260の判断で、イベントがUSBイベントでなかった場合は、ステップS290に進む。ステップS290では、他のイベントがあるか否かを判断する。他のイベントがあれば、ステップS300において、他のイベントに対応する他のタスクを実行する。ここで、他のイベントとしては、操作部21(操作パネル14)が操作されたときのパネルイベントが挙げられる。パネルイベントがあった場合は、表示タスクを実行する(S300)。すなわち、表示処理部87が起動され、この表示処理部87が表示部22を起動させて操作部21で操作されたスイッチに応じた表示内容を画面に表示する。   If it is determined in step S260 that the event is not a USB event, the process proceeds to step S290. In step S290, it is determined whether there is another event. If there is another event, another task corresponding to the other event is executed in step S300. Here, the other event includes a panel event when the operation unit 21 (operation panel 14) is operated. If there is a panel event, a display task is executed (S300). That is, the display processing unit 87 is activated, and the display processing unit 87 activates the display unit 22 to display the display content corresponding to the switch operated by the operation unit 21 on the screen.

着信したファックスを印刷するFAXジョブ、あるいはUSB通信経由で受け付けた印刷データ又は指示に基づくUSB通信系のジョブ(印刷ジョブ、コピージョブ、スキャンジョブ)を終了した場合はステップS360に進む。一方、他のイベントに応じた他のタスク(他のジョブ)(例えばパネルイベントに基づく表示タスク(表示ジョブ))を終了した場合はステップS310に進み、このステップS310において、他のタスク(他のジョブ)の終了から設定時間Toffを経過したか否かを判断する。詳しくは、ジョブを終了すると、オートパワーオフ制御部81が計時部82に計時を開始させ、設定時間Toffを計時し終わる前に他のイベントが発生した場合(S290で肯定判定)はその計時を中止する。そして、ステップS310で設定時間Toffを経過したと判断するまでは、ステップS290に戻って他のイベントがあるか否かを判断しつつ設定時間Toffの経過の成否を判断する(S290,S310)。例えば、計時部82による経過時間測定中に、ユーザーが印刷開始スイッチ24を操作して印刷指示を受け付けた場合は印刷ジョブを行い、ユーザーがコピースイッチ25を操作してコピー指示を受け付けた場合はコピージョブを行い、ジョブ終了から経過時間の計時(測定)をやり直す。そして、その計時中に他のイベント(他のジョブ又は操作など)がないまま設定時間Toffを経過すると、ステップS320に進む。なお、設定時間Toffを経過するまでの計時中に、他のイベント以外のイベント(FAXイベント又はUSB通信系のイベント)が発生した場合は、図5では処理経路を省略しているが、S230からの処理を実行するようになっている。   If the FAX job for printing the received fax or the USB communication system job (print job, copy job, scan job) based on the print data or instruction received via USB communication is terminated, the process proceeds to step S360. On the other hand, when another task (other job) corresponding to another event (for example, a display task (display job) based on a panel event) is finished, the process proceeds to step S310. In step S310, another task (other job) It is determined whether or not a set time Toff has elapsed since the end of (job). Specifically, when the job is finished, the auto power-off control unit 81 causes the time counting unit 82 to start timing, and when another event occurs before the set time Toff is timed (Yes in S290), the time counting is performed. Discontinue. Then, until it is determined in step S310 that the set time Toff has elapsed, the process returns to step S290 to determine whether or not the set time Toff has elapsed while determining whether there is another event (S290, S310). For example, when the user operates the print start switch 24 and receives a print instruction while the elapsed time is measured by the timer 82, the user performs a print job, and when the user operates the copy switch 25 and receives a copy instruction. Perform a copy job and repeat the measurement (measurement) of the elapsed time from the end of the job. Then, when the set time Toff elapses without any other event (other job or operation, etc.) during the timing, the process proceeds to step S320. If an event other than another event (FAX event or USB communication event) occurs during the time until the set time Toff has elapsed, the processing path is omitted in FIG. The process is executed.

そして、ステップS320において、キャリッジ31のホームシーク動作及びAPGリセット動作とを行う。すなわち、初期化処理部88が終了動作としてホームシーク動作及びAPGリセット動作を行う。詳しくは、初期化処理部88は、キャリッジモーター34を駆動制御してキャリッジ31をホーム位置側のエンド位置まで移動させると共に、このキャリッジ移動過程におけるキャリッジモーター34の電流値を監視し、その電流値が閾値を超えると、キャリッジ31がエンド位置に達したと判断し、そのときのキャリッジ31がエンド位置にある状態で位置カウンター93をリセットする。その後、キャリッジ31を、ホーム位置に移動させる。また、APG調整装置42を駆動させ、キャリッジ31が上限位置まで上昇する過程で、監視するモーター電流値が閾値を超えると、PG用の位置カウンターをリセットすることでAPGリセット動作を行う。そして、キャリッジ31がホーム位置にあるときの位置カウンター93の位置カウント値と、APGリセット動作終了時のPG用の位置カウンターの位置カウント値とを読み取って、各位置カウント値を一情報として含む付属情報97を、サブ制御部64内の不揮発性メモリー76に書き込む。この書込み後、ステップS370に進む。   In step S320, the home seek operation and the APG reset operation of the carriage 31 are performed. That is, the initialization processing unit 88 performs a home seek operation and an APG reset operation as end operations. Specifically, the initialization processing unit 88 drives and controls the carriage motor 34 to move the carriage 31 to the end position on the home position side, and monitors the current value of the carriage motor 34 during the carriage movement process. Exceeds the threshold, it is determined that the carriage 31 has reached the end position, and the position counter 93 is reset while the carriage 31 is at the end position. Thereafter, the carriage 31 is moved to the home position. Further, when the APG adjusting device 42 is driven and the carriage 31 is raised to the upper limit position and the monitored motor current value exceeds the threshold value, the APG reset operation is performed by resetting the position counter for PG. Then, the position count value of the position counter 93 when the carriage 31 is at the home position and the position count value of the PG position counter at the end of the APG reset operation are read, and each position count value is included as one piece of information. Information 97 is written into the nonvolatile memory 76 in the sub-control unit 64. After this writing, the process proceeds to step S370.

そして、ステップS370において、オートパワーオフを行う。このオートパワーオフは、オートパワーオフ制御部81が、サブ制御部64内の電源制御部71に対してオートパワーオフ指示信号を出力することにより行われる。   In step S370, auto power off is performed. This auto power off is performed by the auto power off control unit 81 outputting an auto power off instruction signal to the power control unit 71 in the sub control unit 64.

このようにオートパワーオフから復帰した際は、ホームシーク動作などの一部の初期化動作を省略した簡易初期化動作で済ますことで、イベントに応じたメカニカル動作(FAX印刷動作、USB印刷動作、コピー印刷動作、スキャン動作)を早期に開始できるうえ、イベントに応じたメカニカル動作を終了すれば、設定時間Toffの経過を待つことなく直ちにプリンター11をオートパワーオフさせる。このため、イベントに応じたジョブの実行を早期に開始してジョブ終了までのユーザーの待ち時間を短くできるうえ、省電力効果も高めることができる。   In this way, when returning from auto power off, a simple initialization operation that omits some of the initialization operations such as the home seek operation can be performed, so that the mechanical operation (FAX printing operation, USB printing operation, When the mechanical operation corresponding to the event is finished, the printer 11 is automatically powered off immediately without waiting for the set time Toff to elapse. For this reason, it is possible to shorten the waiting time of the user from the early execution of the job according to the event to the end of the job, and to improve the power saving effect.

次に通常電源オフ状態からの復帰の場合の処理について説明する。オートパワーオフからの復帰ではないと判断した場合(つまり通常電源オフ状態からの復帰の場合)は(S210で否定判定)、ステップS330において、プリンター11の完全初期化動作を行う。すなわち、キャリッジ31のホームシーク動作、APGリセット動作、インクチェック、PFリセット動作、キャッピング動作、スキャナーリセット動作などの全ての初期化動作を行う。   Next, processing in the case of returning from the normal power-off state will be described. If it is determined that it is not a return from auto power-off (that is, a return from the normal power-off state) (No in S210), the printer 11 is completely initialized in step S330. That is, all initialization operations such as a home seek operation of the carriage 31, an APG reset operation, an ink check, a PF reset operation, a capping operation, and a scanner reset operation are performed.

次のステップS340では、イベントがあるか否かを判断する。イベントありの場合はステップS350に進み、イベントなしの場合はステップS360に進む。ここで、通常電源オフ状態から復帰した場合、電源制御部71が電源スイッチ23からのオン操作信号入力時にそのオン操作信号に基づくパネルイベント情報を不揮発性メモリー76に書き込んでいる。そして、イベント判定部85は不揮発性メモリー76から読み出すべきイベント情報の有無を確認し、読み出すべきイベント情報があればイベントありと判断し、イベント情報がなければイベントなしと判断する。   In the next step S340, it is determined whether or not there is an event. If there is an event, the process proceeds to step S350, and if there is no event, the process proceeds to step S360. When the normal power-off state is restored, the power control unit 71 writes panel event information based on the on-operation signal in the nonvolatile memory 76 when the on-operation signal is input from the power switch 23. Then, the event determination unit 85 checks whether there is event information to be read from the nonvolatile memory 76, and determines that there is an event if there is event information to be read, and determines that there is no event if there is no event information.

そして、ステップS350では、イベントに応じたタスクを実行する。すなわち、各処理部86〜92のうちイベントに応じた処理部が起動され、その起動された処理部がイベントに応じたジョブを実行する。ユーザーが電源スイッチ23をオン操作した際は、表示部22に初期画面(例えばメニュー画面)を表示させるためのパネルイベントが発生しており、不揮発性メモリー76から読み出したパネルイベント情報に応じた表示タスクを実行することで表示処理部87が起動される。そして、表示処理部87は表示部22に初期画面を表示させる。そして、タスクを終了すると、オートパワーオフ制御部81が計時部82に計時を開始させることで、タスク終了からの経過時間の測定が行われる。   In step S350, a task corresponding to the event is executed. That is, the processing unit corresponding to the event is activated among the processing units 86 to 92, and the activated processing unit executes a job corresponding to the event. When the user turns on the power switch 23, a panel event for displaying an initial screen (for example, a menu screen) on the display unit 22 is generated, and a display corresponding to the panel event information read from the nonvolatile memory 76 is generated. The display processing unit 87 is activated by executing the task. Then, the display processing unit 87 causes the display unit 22 to display an initial screen. When the task is completed, the auto power-off control unit 81 causes the time measuring unit 82 to start measuring the time, thereby measuring the elapsed time from the end of the task.

次のステップ360では、設定時間Toffを経過したか否かを判断する。設定時間Toffを経過していない場合は、ステップS340に戻り、イベントがあれば、ステップS350においてイベントに応じたタスクを実行し、イベントが無ければステップS360において設定時間Toffの経過の成否を判断する。なお、ステップS350においてタスクを実行した場合は、計時部82の計時を中止し、そのタスク終了後に、計時部82による計時をやり直す。例えば電源スイッチ23をオン操作したユーザーは、通常、プリンター11が立ち上がった後、印刷、コピー、スキャン等のうち所望のジョブをプリンター11に指示するので、通常は、ステップS340においてイベントありと判断される。この場合、ステップS350では、イベント(スキャンイベント、印刷イベント、コピーイベント等)に応じたタスク(スキャンタスク、印刷タスク、コピータスク等)を実行することで、処理部(スキャナー処理部90、印刷処理部91、コピー処理部92等)が、ジョブ(スキャンジョブ、印刷ジョブ、コピージョブ等)を行う。   In the next step 360, it is determined whether or not the set time Toff has elapsed. If the set time Toff has not elapsed, the process returns to step S340. If there is an event, a task corresponding to the event is executed in step S350, and if there is no event, the success or failure of the set time Toff is determined in step S360. . When the task is executed in step S350, the time measurement by the time measuring unit 82 is stopped, and the time measurement by the time measuring unit 82 is performed again after the task ends. For example, a user who turns on the power switch 23 normally instructs the printer 11 to perform a desired job among printing, copying, scanning, and the like after the printer 11 is started up. Therefore, it is usually determined in step S340 that there is an event. The In this case, in step S350, a processing unit (scanner processing unit 90, print processing, etc.) is executed by executing a task (scan task, print task, copy task, etc.) corresponding to the event (scan event, print event, copy event, etc.). Section 91, copy processing section 92, etc.) perform jobs (scan jobs, print jobs, copy jobs, etc.).

そして、タスク終了(ジョブ終了)後に経過時間の測定(計時)を開始し、その経過時間測定中に何らイベント(ジョブ又は操作など)がないまま設定時間Toffを経過すると(S360で肯定判定)、ステップS370に進む。このように、通常電源オフからの復帰の場合は、イベントに応じて実行されたタスク(ジョブ)が終了しても、その後、必ず設定時間Toffの経過を待ってから、ステップS370に進む。   Then, the measurement of elapsed time (time measurement) is started after the task ends (job end), and when the set time Toff elapses without any event (job or operation) during the elapsed time measurement (Yes in S360), Proceed to step S370. As described above, in the case of returning from the normal power-off, even if the task (job) executed in response to the event ends, the process proceeds to step S370 after always waiting for the set time Toff.

そして、ステップS370において、オートパワーオフを行う。このオートパワーオフは、オートパワーオフ制御部81が、サブ制御部64内の電源制御部71に対してオートパワーオフ指示信号を出力することにより行われる。   In step S370, auto power off is performed. This auto power off is performed by the auto power off control unit 81 outputting an auto power off instruction signal to the power control unit 71 in the sub control unit 64.

ここで、オートパワーオフ状態において、電源プラグ53がコンセントから抜かれた場合又は停電の場合(以下「停電等」という)は、その後、電源プラグ53がコンセントに差し込まれた際又は停電から復帰した際に、リセットIC62からリセット信号が出力され、そのリセット信号を入力したフリップフロップ75の値が「0」にリセットされる。このため、オートパワーオフ中に電源プラグ53がコンセントから抜かれたり、停電があった場合は、次回電源オン時におけるフリップフロップ75の値が、オートパワーオフ状態でないことを示す情報「0」(つまり通常電源オフ状態であることを示す情報「0」)となっているので、メイン制御部63の判断部84は、通常電源オフ状態からの復帰であると判断する。   Here, in the auto power off state, when the power plug 53 is disconnected from the outlet or in the event of a power failure (hereinafter referred to as “power failure etc.”), when the power plug 53 is subsequently plugged in or restored from the power failure. In addition, a reset signal is output from the reset IC 62, and the value of the flip-flop 75 to which the reset signal is input is reset to “0”. For this reason, if the power plug 53 is disconnected from the power outlet or a power failure occurs during auto power off, the value of the flip-flop 75 at the next power on is information “0” indicating that the auto power off state is not present (that is, Therefore, the determination unit 84 of the main control unit 63 determines that it is a return from the normal power-off state.

このように通常電源オフから復帰した際、あるいはオートパワーオフされたものの、その後、電源プラグ53の抜け又は停電が発生した場合は、通常電源オフ状態からの復帰と判断して、メカニカル機構の初期化動作を全て行う完全初期化動作を行う。このように、電源スイッチ23がオフ操作された場合の他、オートパワーオフ状態にあるときに電源プラグ53の抜けや停電が発生した場合は、電力供給が強制的に遮断されて、キャリッジ31が適切な位置(ホーム位置やAPGリセット位置)にあることを必ずしも保証できない。しかし、本実施形態では、オートパワーオフ中に電源プラグ53の抜けや停電が発生した場合は、フリップフロップ75の値が「0」になることから、通常電源オフ状態からの復帰とみなされ、ホームシーク動作とAPGリセット動作とを省略することなく全て実施する完全初期化動作が行われる。その結果、キャリッジ31の主走査方向及び高さ方向の位置を示す位置カウンター93及びPG用の位置カウンターの各位置カウント値の信頼性を確保できる。よって、例えば、用紙P上の適切な位置にドットが形成され、高い印刷品質を維持できる。   As described above, when the power supply is returned from the normal power-off state or when the auto power-off is performed, and then the power plug 53 is disconnected or a power failure occurs, it is determined that the power supply is returned from the normal power-off state, and the mechanical mechanism is initialized. Perform a complete initialization operation that performs all the initialization operations. Thus, in addition to the case where the power switch 23 is turned off, when the power plug 53 is disconnected or a power failure occurs in the auto power off state, the power supply is forcibly cut off and the carriage 31 is It cannot always be guaranteed that the vehicle is in an appropriate position (home position or APG reset position). However, in this embodiment, when the power plug 53 is disconnected or a power failure occurs during auto power off, the value of the flip-flop 75 becomes “0”, so that it is regarded as a return from the normal power off state. A complete initialization operation is performed in which the home seek operation and the APG reset operation are all omitted without being omitted. As a result, the reliability of each position count value of the position counter 93 indicating the position of the carriage 31 in the main scanning direction and the height direction and the position counter for PG can be ensured. Therefore, for example, dots are formed at appropriate positions on the paper P, and high print quality can be maintained.

また、ユーザーが電源スイッチ23をオン操作してプリンター11を起動させた場合は、ユーザーがプリンター11の近くに居て何らかの操作や指示をプリンター11に対して行う可能性が高いので、タスク終了(ジョブ終了)後も、操作及び動作がないまま設定時間Toffを経過するまで待ってから、プリンター11をオートパワーオフする。例えば、設定時間Toffの経過を待つことなく直ちにオートパワーオフしてしまう構成とした場合は、ユーザーが再度電源オン操作してプリンター11を再起動させるための無駄なオン操作や余分な待ちが発生する。しかし、設定時間Toffを待ってからオートパワーオフするので、ユーザーの使い勝手も確保できる。   When the user turns on the power switch 23 to activate the printer 11, the user is likely to be near the printer 11 and perform some operation or instruction on the printer 11. Even after the end of the job, the printer 11 is automatically powered off after waiting for the set time Toff to pass without any operation or action. For example, in a configuration in which auto power off is performed immediately without waiting for the set time Toff to elapse, a wasteful on operation or extra waiting for the user to restart the printer 11 by turning on the power again occurs. To do. However, since the auto power off is performed after waiting for the set time Toff, user convenience can be secured.

以上詳述したように、本実施形態によれば、以下に示す効果が得られる。
(1)電源オン状態で、計時部82がユーザーによる操作及び動作がないまま経過した時間を測定した経過時間が設定時間Toffを超えた場合、電源オフ手段を構成する電源制御部71は、不揮発性記憶部72のフリップフロップ75に、自動電源オフ状態であることを示す情報「1」を記憶してから、プリンター11の電源をオフにする。そして、このオートパワーオフ状態から電源制御部71により電源が投入された場合、初期化動作制御手段としての初期化処理部88は、フリップフロップ75に自動電源オフ状態であることを示す情報「1」が記憶されていない場合(つまり「0」である場合)に、第一の初期化動作として完全初期化動作を行い、一方、フリップフロップ75に自動電源オフ状態であることを示す情報「1」が記憶されている場合に、第一の初期化動作から一部の初期化動作を省略した簡易初期化動作を第二の初期化動作として行う。このため、オートパワーオフ状態から電源オン状態に復帰した場合の初期化動作を、通常電源オフ状態から復帰した場合の初期化動作に比べ簡単に済ませることができる。よって、プリンター11の省電力効果を高めることができる。
As described above in detail, according to the present embodiment, the following effects can be obtained.
(1) In the power-on state, when the elapsed time measured by the time measuring unit 82 without the user's operation and operation exceeds the set time Toff, the power control unit 71 constituting the power-off means is nonvolatile The information “1” indicating that the automatic power-off state is stored in the flip-flop 75 of the characteristic storage unit 72, and then the printer 11 is turned off. When power is turned on by the power control unit 71 from the auto power off state, the initialization processing unit 88 as the initialization operation control means stores information “1” indicating that the flip-flop 75 is in the automatic power off state. ”Is not stored (that is, when it is“ 0 ”), the complete initialization operation is performed as the first initialization operation, while the information“ 1 ”indicating that the flip-flop 75 is in the automatic power-off state. ”Is stored, the simplified initialization operation in which a part of the initialization operation is omitted from the first initialization operation is performed as the second initialization operation. For this reason, the initialization operation when returning from the auto power-off state to the power-on state can be easily completed compared to the initialization operation when returning from the normal power-off state. Therefore, the power saving effect of the printer 11 can be enhanced.

(2)また、第二の初期化動作としての簡易初期化動作は、第一の初期化動作としての完全初期化動作に含まれるメカニカル機構の初期化動作のうち少なくとも一つのメカニカル機構の初期化動作を含まないので、オートパワーオフ状態から電源オン状態に復帰した際の初期化動作を簡易に済ませることができる。よって、メカニカル機構を初期化動作のために駆動させる電力を、省略した初期化動作の分だけ低減できる。   (2) The simple initialization operation as the second initialization operation is the initialization of at least one mechanical mechanism among the initialization operations of the mechanical mechanism included in the complete initialization operation as the first initialization operation. Since the operation is not included, the initialization operation when returning from the auto power off state to the power on state can be easily performed. Therefore, the power for driving the mechanical mechanism for the initialization operation can be reduced by the omitted initialization operation.

(3)完全初期化動作は、記録ヘッド35(つまりキャリッジ31)の走査範囲を走査して基準位置を設定するホームシーク動作を含み、オートパワーオフ状態から電源オン状態に復帰する際の簡易初期化動作はホームシーク動作を含まないので、オートパワーオフ状態から電源オン状態に復帰した際の初期化動作を簡単に済ませることができる。   (3) The complete initialization operation includes a home seek operation for setting the reference position by scanning the scanning range of the recording head 35 (that is, the carriage 31), and is a simple initial operation when returning from the auto power off state to the power on state. Since the initialization operation does not include the home seek operation, the initialization operation when the auto power off state returns to the power on state can be easily completed.

(4)不揮発性記憶部72のフリップフロップ75にオートパワーオフ状態であることを示す情報「1」が記憶されている場合に、ファックスの着信を検出して電源が投入された場合には、このファックスのジョブの終了後に、主制御部80は設定時間Toffの経過を待つことなく(つまり設定時間Toffを経過する前に)、電源制御部71にオートパワーオフを指示する。そして、電源制御部71は、フリップフロップ75にオートパワーオフ状態であることを示す情報「1」を記憶(セット)し、あるいは「1」を記憶(セット)したまま、電源をオフにする。この場合、ユーザーがプリンター11の近傍にいない確率が高いので、ジョブ終了後、速やかにオートパワーオフした方が省電力に寄与できる。   (4) When information “1” indicating that the auto power-off state is stored in the flip-flop 75 of the nonvolatile storage unit 72, when the incoming fax is detected and the power is turned on, After the end of the fax job, the main control unit 80 instructs the power supply control unit 71 to perform automatic power off without waiting for the set time Toff to elapse (that is, before the set time Toff elapses). Then, the power control unit 71 stores (sets) information “1” indicating that the flip-flop 75 is in the auto power off state, or turns off the power while storing (set) “1”. In this case, since the probability that the user is not in the vicinity of the printer 11 is high, it is possible to contribute to power saving if the power is automatically turned off immediately after the job is completed.

(5)電源オフ手段(電源制御部71及び電源回路55等)は、オートパワーオフ時には、ファックス着信手段を構成するリング検出部58を電力の供給によりファックスの着信を検出可能な状態にしておくことで着信機能をオンにし、通常電源オフ(オートパワーオフ以外の電源オフ)時にはリング検出部58への電力供給を停止することで着信機能をオフにする。よって、ユーザーが電源オフする意思のないオートパワーオフ時には、ユーザーの意図通りFAX通信部59によるファックスの着信及び印刷処理部91による印刷ができ、ユーザーが意図的に電源をオフした通常電源オフ時には、ユーザーの意図通りFAX通信部59によるファックスの着信及び印刷処理部91による印刷が行われないようにすることができる。   (5) The power-off means (power control unit 71, power supply circuit 55, etc.) keeps the ring detector 58 constituting the fax incoming means in a state where it can detect incoming faxes by supplying power during auto power-off. Thus, the incoming call function is turned on, and when the normal power is off (power off other than auto power off), the power supply to the ring detector 58 is stopped to turn off the incoming call function. Therefore, at the time of auto power off when the user does not intend to turn off the power, the FAX communication unit 59 can receive a fax and print by the print processing unit 91 as the user intends, and at the time of normal power off when the user intentionally turns off the power. Thus, it is possible to prevent the fax communication unit 59 from receiving a fax and the print processing unit 91 to perform printing as intended by the user.

(6)電源投入手段(電源制御部71及び電源回路55等)がリング検出部58からのファックス着信の旨の検出信号に基づき電源を投入した場合は、第二の初期化動作ではファックス印刷に必要な最低限のハードウェア初期化を行う。すなわち、最低限のハードウェア初期化として、簡易メモリーチェック(図4のS30)で済ませ、かつファックス印刷に必要なタスクのみを起動させる(図4のS90)。このため、過度なメモリーチェックや不要なタスクを起動させるなどの不要なハードウェア初期化が省かれるので、ファックス印刷を比較的早期に開始できるうえ、省いたハードウェア初期化の分だけ省電力にも寄与できる。   (6) When the power-on means (power control unit 71, power circuit 55, etc.) is turned on based on a detection signal indicating the arrival of a fax from the ring detection unit 58, the second initialization operation performs fax printing. Perform the minimum hardware initialization required. That is, as a minimum hardware initialization, a simple memory check (S30 in FIG. 4) is completed, and only tasks necessary for fax printing are activated (S90 in FIG. 4). This eliminates unnecessary hardware initialization, such as excessive memory checks and unnecessary task activation, so that fax printing can be started relatively quickly and power savings can be achieved by the amount of hardware initialization that is omitted. Can also contribute.

(7)設定時間Toff経過後に、オートパワーオフ状態であることを示す情報「1」とともにキャリッジ31(記録ヘッド35)の位置カウント値を不揮発性メモリー76に記憶する。そして、簡易初期化動作においては、不揮発性メモリー76に記憶された位置カウント値を、キャリッジ31の現在位置を示す位置カウント値として設定することで、キャリッジ31の位置カウント値を新たに取得するための初期化動作(ホームシーク動作)を省略する。よって、不揮発性メモリー76に記憶された位置カウント値を用いて、キャリッジ31の位置カウント値を正しく設定しつつ、初期化動作を省略することができる。特に省略する初期化動作は、その初期化動作の対象が、オートパワーオフ中はホーム位置にロックされるキャリッジ31であるホームシーク動作なので、オートパワーオフ時と電源オン時とで同じ位置に保持されている可能性が極めて高く、過去の位置カウント値を用いても比較的信頼性の高い位置精度が得られる。   (7) After the set time Toff has elapsed, the position count value of the carriage 31 (recording head 35) is stored in the non-volatile memory 76 together with the information “1” indicating that the auto power is off. In the simple initialization operation, the position count value stored in the nonvolatile memory 76 is set as the position count value indicating the current position of the carriage 31 to newly acquire the position count value of the carriage 31. The initialization operation (home seek operation) is omitted. Therefore, the initialization operation can be omitted while correctly setting the position count value of the carriage 31 using the position count value stored in the nonvolatile memory 76. In particular, the initialization operation to be omitted is the home seek operation, which is the carriage 31 locked to the home position during auto power off, and is held at the same position during auto power off and power on. The position accuracy is relatively high even if the past position count value is used.

(8)オートパワーオフ前にホームシーク動作を行い、このホームシーク動作終了後におけるオートパワーオフ時のキャリッジ位置を示す位置カウント値を不揮発性メモリー76に記憶し、その記憶した位置カウント値を電源オン時のキャリッジ位置として取得する。例えばオートパワーオフ前のホームシーク動作を行わない構成とすると、ホームシーク動作を省略し続けた場合に位置カウント値の誤差が累積し、キャリッジ31の位置カウント値の信頼性が低下する。これに対し、オートパワーオフの度に事前にホームシーク動作を行ってから位置カウント値を取得すれば、位置カウント値の誤差の累積を回避できる。   (8) A home seek operation is performed before auto power off, a position count value indicating the carriage position at the time of auto power off after the home seek operation is completed is stored in the nonvolatile memory 76, and the stored position count value is supplied to the power source. Acquired as the carriage position when ON. For example, if the home seek operation before auto power-off is not performed, errors in the position count value accumulate when the home seek operation is omitted, and the reliability of the position count value of the carriage 31 decreases. On the other hand, if the position count value is acquired after performing the home seek operation in advance every time the auto power is turned off, accumulation of errors in the position count value can be avoided.

(9)時計部83から得られる現在時刻が属する時間帯に応じた異なる設定時間Toffを設定部94が設定する。このため、オートパワーオフまでの経過時間が時間帯に応じて変化するので、例えばプリンター11の使用頻度の比較的高い就業時間帯における設定時間Toffを相対的に長く設定し、その使用頻度の比較的低い夜間の時間帯における設定時間Toffを相対的に短く設定することで、プリンター11の使い勝手の犠牲をなるべく回避しつつ、オートパワーオフまでの経過時間の短縮による省電力効果を高めることができる。   (9) The setting unit 94 sets a different set time Toff corresponding to the time zone to which the current time obtained from the clock unit 83 belongs. For this reason, since the elapsed time until auto power off changes according to the time zone, for example, the set time Toff in the working time zone where the printer 11 is used is relatively high, and the usage frequency is compared. By setting the set time Toff in a relatively low nighttime period relatively short, it is possible to enhance the power saving effect by shortening the elapsed time until the auto power off while avoiding the sacrifice of the usability of the printer 11 as much as possible. .

前記実施形態は上記に限定されず、以下の態様に変更することもできる。
・ステップS220における簡易初期化動作において、メカニカル機構の初期化動作のうち省略する初期化動作を、イベント内容に応じて変化させてもよい。つまり、発生したイベントに対応するジョブの実行に必要なメカニカル機構についての初期化動作(但し簡易初期化動作で省略することになっているホームシーク動作などは除く)のみ行い、そのジョブの実行に必要のないメカニカル機構の初期化動作は行わない構成とする。例えば、FAXイベント発生時は、FAXジョブの実行に必要な印刷系のメカニカル機構の初期化動作(例えば紙送り機構のPFリセット動作)は行うが、そのジョブの実行に必要のないスキャン系のメカニカル機構の初期化動作は行わない。また、例えばスキャンイベント発生時は、スキャンジョブの実行に必要なスキャン系のメカニカル機構の初期化動作(スキャニング機構のスキャナーヘッドの原点出し動作)は行うが、そのジョブの実行に必要のない印刷系のメカニカル機構の初期化動作は行わない。この構成によれば、不要なメカニカル機構の初期化動作を行わないので、発生イベントに応じた適切な省電力を実現できる。
The said embodiment is not limited above, It can also change into the following aspects.
In the simple initialization operation in step S220, the initialization operation that is omitted from the initialization operation of the mechanical mechanism may be changed according to the event content. In other words, only the initialization operation (except for the home seek operation, which is omitted in the simple initialization operation) for the mechanical mechanism necessary for the execution of the job corresponding to the event that has occurred, is performed. An unnecessary mechanical mechanism initialization operation is not performed. For example, when a FAX event occurs, an initialization operation of a printing mechanical mechanism necessary for executing a FAX job (for example, a PF resetting operation of a paper feed mechanism) is performed, but a scanning mechanical mechanism that is not necessary for the execution of the job is performed. The mechanism is not initialized. Also, for example, when a scan event occurs, a printing system that performs initialization operation of the scanning mechanical mechanism necessary for execution of the scan job (originating operation of the scanning mechanism's scanner head), but is not required for execution of the job. The mechanical mechanism is not initialized. According to this configuration, since unnecessary initialization of the mechanical mechanism is not performed, it is possible to realize appropriate power saving according to the generated event.

・オートパワーオフ直前に終了処理として行った初期化動作(ホームシーク動作やAPGリセット動作)を廃止してもよい。この構成によれば、位置カウンターの誤差の累積により移動体(キャリッジ31等)の位置精度の信頼性は若干低下するものの、オートパワーオフ状態から復帰した際の初期化動作を簡易初期化動作で済ませることで得られる効果は同様に得られる。ここで、位置カウンターの誤差の累積に起因する位置精度の低下を抑える対策としては、以下の構成を挙げることができる。例えば、第二の初期化動作(例えば簡易初期化動作)の連続実施回数を計数する計数手段を設け、計数手段の計数回数が規定回数Ko(但しKo≧2)以上になった場合は、たとえオートパワーオフ状態からの復帰時でも、第一の初期化動作(例えば完全初期化動作)を行う構成とする。この構成によれば、簡易初期化動作の連続実施回数(つまりオートパワーオフから復帰した連続回数)が規定回数Ko以上になれば、オートパワーオフからの復帰時でも完全初期化動作を行うので、例えば位置カウンターの原点出しが行われることで、誤差の累積による移動体(キャリッジ31等)の位置精度の低下をなるべく小さく抑えることができる。   -The initialization operation (home seek operation or APG reset operation) performed as a termination process immediately before auto power off may be abolished. According to this configuration, although the reliability of the position accuracy of the moving body (such as the carriage 31) slightly decreases due to the accumulation of errors in the position counter, the initialization operation when returning from the auto power-off state can be performed with the simple initialization operation. The effect obtained by doing it is obtained in the same way. Here, as a measure for suppressing a decrease in position accuracy caused by accumulation of errors in the position counter, the following configuration can be cited. For example, a counting means for counting the number of continuous executions of the second initialization operation (for example, a simple initialization operation) is provided, and if the counting number of the counting means exceeds a specified number Ko (provided that Ko ≧ 2), for example, Even when returning from the auto power-off state, the first initialization operation (for example, complete initialization operation) is performed. According to this configuration, if the number of continuous executions of the simple initialization operation (that is, the number of continuous returns from the auto power off) is equal to or more than the specified number Ko, the complete initialization operation is performed even when returning from the auto power off. For example, the origin of the position counter is determined, so that the deterioration of the position accuracy of the moving body (such as the carriage 31) due to accumulated errors can be minimized.

・電源オフ期間も計時できる時計部を備え、オートパワーオフ時に自動電源オフ状態であることを示す情報(フリップフロップ75の値「1」)と、オートパワーオフ時刻とを不揮発性記憶手段に格納する。そして、電源投入(電源オン)時に不揮発性記憶手段に自動電源オフ状態であることを示す情報(フリップフロップ75の値「1」)が記憶されていた場合に、電源投入時刻とオートパワーオフ時刻とから求まるオートパワーオフから電源投入までの期間が所定期間(例えば1週間〜3ヶ月の範囲内の期間)を超える場合には、第一の初期化動作(例えば完全初期化動作)を行うのが好ましい。これは、電源オフ期間の間に、プリンターの移設に伴いキャリッジ31の位置が変化している可能性があり、完全初期化動作を行う必要性が高いからである。なお、所定期間は、プリンターの設計思想や顧客ニーズ等に応じて適宜変更でき、例えば1日〜半年の間で設定してよい。   A clock unit that can also measure the power-off period is provided, and information indicating that the automatic power-off state is present at the time of auto power-off (the value “1” of the flip-flop 75) and the auto power-off time are stored in the nonvolatile storage means. To do. Then, when information (a value “1” of the flip-flop 75) indicating that the automatic power-off state is stored in the nonvolatile storage means at the time of power-on (power-on), the power-on time and the auto power-off time If the period from auto power-off to power-on that is obtained from the above exceeds a predetermined period (for example, a period in the range of one week to three months), the first initialization operation (for example, complete initialization operation) is performed. Is preferred. This is because there is a possibility that the position of the carriage 31 is changed with the transfer of the printer during the power-off period, and it is highly necessary to perform a complete initialization operation. The predetermined period can be appropriately changed according to the design concept of the printer, customer needs, etc., and may be set, for example, between one day and half a year.

・自動電源オフ状態であることを示す情報を記憶する不揮発性記憶手段は、EEPROM等の不揮発性メモリーでもよいし、不揮発性のレジスター(例えばキャパシター付きレジスター)でもよい。また、位置情報を記憶する不揮発性記憶手段は、不揮発性のレジスターでもよい。   The non-volatile storage means for storing information indicating the automatic power-off state may be a non-volatile memory such as an EEPROM or a non-volatile register (for example, a register with a capacitor). Further, the nonvolatile storage means for storing the position information may be a nonvolatile register.

・メカニカル機構を構成する移動体(例えばキャリッジ31等)の電源オフ状態における適正な位置を記憶手段に記憶しておき、オートパワーオフからの復帰時に不揮発性記憶手段から読み出した位置カウント値(位置情報)が、移動体の適正な位置とみなしうる範囲内にあるか否かを判断手段により判断し、その範囲内にあれば、第二の初期化動作(簡易初期化動作)を行うが、その範囲外にあれば、たとえオートパワーオフからの復帰であっても、第一の初期化動作(完全初期化動作)を行う。   A proper position in the power-off state of the moving body (for example, the carriage 31) constituting the mechanical mechanism is stored in the storage unit, and the position count value (position) read out from the non-volatile storage unit when returning from auto power-off Information) is within a range that can be regarded as an appropriate position of the moving body, and if it is within that range, the second initialization operation (simple initialization operation) is performed. If it is out of the range, the first initialization operation (complete initialization operation) is performed even if the power is returned from auto power off.

・第二の初期化動作の一部として行った最低限のハードウェア初期化は、簡易メモリーチェックと簡易タスク起動とを行ったが、イベントに対応するジョブの実行に必要なタスクのみを起動する簡易タスク起動に替え、イベント内容に応じてタスクの起動順序を切り換える構成を採用してもよい。   ・ Minimum hardware initialization performed as part of the second initialization operation performed simple memory check and simple task activation, but only the tasks necessary for executing the job corresponding to the event are activated. Instead of simple task activation, a configuration may be adopted in which the task activation order is switched according to the event content.

・第二の初期化動作を構成する簡易初期化動作では、メカニカル機構のうちキャリッジ系機構の初期化動作を省略したが、省略するメカニカル機構の初期化動作は適宜変更できる。例えば紙送り機構のPFリセット動作を省略してもよいし、メンテナンス装置44のキャッピング動作を省略してもよい。   In the simple initialization operation that constitutes the second initialization operation, the initialization operation of the carriage system mechanism among the mechanical mechanisms is omitted, but the initialization operation of the mechanical mechanism that is omitted can be changed as appropriate. For example, the PF reset operation of the paper feed mechanism may be omitted, or the capping operation of the maintenance device 44 may be omitted.

・第一初期化動作は完全初期化動作に限定されず、例えば特許文献3のように、記録ヘッドを有するキャリッジをホーム位置に移動させてから電源オフさせた旨の情報が不揮発性メモリーに記憶されていれば、電源オン時にホームシーク動作をスキップするものであってもよい。この場合、第二の初期化動作が、第一の初期化動作で行われるうちの一部の初期化動作が省略されたものであれば、省電力効果は得られる。   The first initialization operation is not limited to the complete initialization operation. For example, as in Patent Document 3, information indicating that the power is turned off after the carriage having the recording head is moved to the home position is stored in the nonvolatile memory. If so, the home seek operation may be skipped when the power is turned on. In this case, if the second initialization operation is performed by omitting a part of the initialization operation performed in the first initialization operation, a power saving effect can be obtained.

・画像形成装置はシリアルプリンターに限定されず、ラインプリンターあるいはページプリンターに適用してもよい。また、スキャナー機能やコピー機能を有しないプリンターにも適用できる。さらに、記録方式についても、インクジェット方式に限定されず、ドットインパクト方式や感熱方式、レーザー方式などの画像形成装置にも適用できる。その他、オートパワーオフ機能を備え、かつ電源投入直後にメカニカル機構の初期化動作が行われる画像形成装置に広く適用できる。   The image forming apparatus is not limited to a serial printer, and may be applied to a line printer or a page printer. It can also be applied to a printer that does not have a scanner function or a copy function. Further, the recording method is not limited to the ink jet method, and can be applied to an image forming apparatus such as a dot impact method, a heat sensitive method, or a laser method. In addition, the present invention can be widely applied to image forming apparatuses that have an auto power off function and that perform initialization of a mechanical mechanism immediately after power-on.

前記実施形態及び変形例から把握される技術的思想を以下に記載する。
(1)データ受信手段を備え、前記電源投入手段は、前記データ受信手段がデータを受信すると、電源を投入するように構成され、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合に、前記データの受信に基づいて電源が投入された場合には、該データに基づくジョブの終了後に前記設定時間を経過する前に、前記不揮発性記憶手段に前記自動電源オフ状態であることを示す情報を記憶した状態で、電源をオフにすることを特徴とする請求項1乃至3のいずれか一項に記載の画像形成装置。なお、データ受信手段とは、ファックスデータを受信するファックス着信手段と、印刷データを受信する印刷データ受信手段(56,73,83)とを含む。
The technical idea grasped from the embodiment and the modifications will be described below.
(1) Data receiving means is provided, and the power-on means is configured to turn on power when the data receiving means receives data, and information indicating that the nonvolatile storage means is in an automatic power-off state Is stored in the non-volatile storage means before the set time elapses after the job based on the data is turned on. The image forming apparatus according to any one of claims 1 to 3, wherein the power is turned off in a state where information indicating the off state is stored. The data receiving means includes fax receiving means for receiving fax data and print data receiving means (56, 73, 83) for receiving print data.

(2)前記電源オフ手段は、自動電源オフ時には、前記データ受信手段をデータの受信が可能な状態に受信機能をオンにし、前記自動電源オフ以外の電源オフ時には前記データ受信手段の受信機能をオフにすることを特徴とする技術的思想(1)に記載の画像形成装置。   (2) When the power is turned off, the power off means turns on the reception function so that the data receiving means can receive data, and when the power is turned off other than the automatic power off, the data receiving means receives the reception function. The image forming apparatus according to the technical idea (1), wherein the image forming apparatus is turned off.

(3)データ受信手段を備え、前記電源投入手段は、前記データ受信手段がデータを受信すると、電源を投入するように構成され、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合に、前記データの受信に基づいて電源が投入された場合には、該データに基づくジョブの実施に必要なメカニカル機構の初期化動作に限定して前記第二の初期化動作を行うことを特徴とする請求項1乃至3のいずれか一項に記載の画像形成装置。   (3) Data receiving means is provided, and the power-on means is configured to turn on power when the data receiving means receives data, and information indicating that the nonvolatile storage means is in an automatic power-off state When the power is turned on based on the reception of the data, the second initialization is limited to the initialization operation of the mechanical mechanism necessary for executing the job based on the data. The image forming apparatus according to claim 1, wherein the image forming apparatus performs an operation.

11…画像形成装置としてのプリンター(複合機)、12…スキャナー部、13…プリンター部、14…操作パネル、21…操作部、22…表示部、23…電源投入手段を構成する電源スイッチ、24…印刷開始スイッチ、25…コピースイッチ、28…インクカートリッジ、31…メカニカル機構(記録ヘッド走査機構)を構成するキャリッジ、34…メカニカル機構(記録ヘッド走査機構)を構成するキャリッジモーター、35…メカニカル機構(記録ヘッド走査機構)を構成する記録ヘッド、38…リニアエンコーダー、39…自動給送装置、40…メカニカル機構(紙送り機構)を構成する紙送りモーター、41…メカニカル機構(紙送り機構)を構成する搬送ローラー対、42…メカニカル機構(プラテンギャップ調整機構)を構成するプラテンギャップ自動調整装置(APG調整装置)、44…メンテナンス装置、45…キャップ、47…ロック部材、51…コントローラー、53…電源プラグ、54…電源、55…電源投入手段及び電源オフ手段を構成する電源回路、56…USB通信部、58…ファックス着信手段を構成するリング検出部、59…ファックス着信手段を構成するFAX通信部、61…コンピューター、62…リセットIC、63…メイン制御部、64…サブ制御部、65…ROM、66…RAM、71…電源投入手段及び電源オフ手段を構成する電源制御部、72…不揮発性記憶手段としての不揮発性記憶部、73…第1USB処理部、75…不揮発性記憶手段を構成するフリップフロップ、76…不揮発性記憶手段を構成する不揮発性メモリー、80…主制御部、81…電源オフ手段を構成するオートパワーオフ制御部、82…経過時間測定手段としての計時部、83…時計部、84…初期化動作制御手段を構成する判断部、85…イベント判定部、86…第2USB処理部、87…表示処理部、88…初期化動作制御手段を構成する初期化処理部、89…FAX処理部、90…スキャナー処理部、91…印刷処理部、92…コピー処理部、93…位置カウンター、94…設定部、96…スイッチ回路、97…付属情報、100…ホスト装置、Toff…設定時間、P…ターゲットとしての用紙。   DESCRIPTION OF SYMBOLS 11 ... Printer (multifunction machine) as an image forming apparatus, 12 ... Scanner part, 13 ... Printer part, 14 ... Operation panel, 21 ... Operation part, 22 ... Display part, 23 ... Power switch which comprises power-on means, 24 ... print start switch, 25 ... copy switch, 28 ... ink cartridge, 31 ... carriage constituting mechanical mechanism (recording head scanning mechanism), 34 ... carriage motor constituting mechanical mechanism (recording head scanning mechanism), 35 ... mechanical mechanism (Recording head scanning mechanism) recording head, 38 ... linear encoder, 39 ... automatic feeding device, 40 ... paper feeding motor constituting mechanical mechanism (paper feeding mechanism), 41 ... mechanical mechanism (paper feeding mechanism) Conveying roller pair to be configured, 42 ... Mechanical mechanism (platen gap adjusting mechanism) is configured. Platen gap automatic adjusting device (APG adjusting device), 44 ... maintenance device, 45 ... cap, 47 ... lock member, 51 ... controller, 53 ... power plug, 54 ... power source, 55 ... power on means and power off means Power supply circuit, 56... USB communication unit, 58... Ring detection unit constituting fax reception means, 59. FAX communication unit constituting fax reception means, 61 .. computer, 62... Reset IC, 63. ... sub-control unit, 65 ... ROM, 66 ... RAM, 71 ... power control unit constituting power-on means and power-off means, 72 ... non-volatile storage unit as non-volatile storage means, 73 ... first USB processing unit, 75 ... Flip-flop constituting nonvolatile memory means, 76 ... Nonvolatile memory constituting nonvolatile memory means 80... Main control unit 81. Auto power off control unit constituting power off means 82 82 Time counting unit as elapsed time measuring means 83 83 Clock unit 84. Judgment unit constituting initialization operation control means 85 ... Event determination unit, 86 ... second USB processing unit, 87 ... display processing unit, 88 ... initialization processing unit constituting initialization operation control means, 89 ... FAX processing unit, 90 ... scanner processing unit, 91 ... print processing unit , 92: Copy processing unit, 93: Position counter, 94: Setting unit, 96: Switch circuit, 97: Attached information, 100: Host device, Toff: Setting time, P: Paper as target.

Claims (2)

電源投入手段と、
不揮発性記憶手段と、
記録媒体に画像を記録する機能を有するとともに所定方向に移動可能な記録ヘッドと、
電源投入後においてユーザーによる操作及び動作がないまま経過した時間を測定する経過時間測定手段と、
前記経過時間測定手段が測定した経過時間が設定時間を超えた場合に、前記記録ヘッドを移動させて原点を探すシーク動作を行い、当該シーク動作の後、当該記録ヘッドを所定位置に移動させて当該所定位置にロック機構によりロックする終了処理を行い、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報と前記記録ヘッドの前記原点を基準とする位置情報とを記憶してから、電源をオフにする電源オフ手段と、
前記電源投入手段により電源が投入された場合に、
前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されていない場合には、前記シーク動作を含む第一の初期化動作を行い、
前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合には、前記自動電源オフ状態において電源から供給される電力の異常な遮断が検出されなかった場合は、前記シーク動作を含まない第二の初期化動作を行い、前記電力の異常な遮断が検出された場合は、前記第一の初期化動作を行う初期化動作制御手段と、
を備えたことを特徴とする画像形成装置。
Power-on means;
Non-volatile storage means;
A recording head having a function of recording an image on a recording medium and movable in a predetermined direction;
An elapsed time measuring means for measuring the time elapsed without user operation and action after power-on,
When the elapsed time measured by the elapsed time measuring means exceeds a set time, the seek operation is performed by moving the recording head to search for the origin, and after the seek operation, the recording head is moved to a predetermined position. An end process of locking by the lock mechanism at the predetermined position is performed, and information indicating that the automatic power-off state is stored in the nonvolatile storage unit and position information with reference to the origin of the recording head , Power off means for turning off the power ;
When the power is turned on by the power-on means,
Wherein when the information indicating that the auto power-off state is not stored in the nonvolatile memory means, it performs a first initialization operation including pre Symbol seek operation,
When information indicating that the automatic power-off state is stored in the non-volatile storage means, when no abnormal interruption of the power supplied from the power source is detected in the automatic power-off state, There second row initialization operation without the seek operation, when an abnormal interruption of the power is detected, the initialization operation control means for performing said first initialization operation,
An image forming apparatus comprising:
電源投入手段による電源投入後においてユーザーによる操作及び動作がないまま経過した時間を測定すると共に測定した経過時間が設定時間を超えた場合は、記録ヘッドを移動させて原点を探すシーク動作を行い、当該シーク動作の後、当該記録ヘッドを所定位置に移動させて当該所定位置にロック機構によりロックする終了処理を行い、不揮発性記憶手段に自動電源オフ状態であることを示す情報と前記記録ヘッドの前記原点を基準とする位置情報とを記憶してから電源を自動でオフにし、一方、電源投入手段による電源投入後においてユーザーによる電源オフ操作があった場合は、当該電源オフ操作に基づき電源をオフにする電源オフステップと、
前記電源投入手段により電源が投入された場合に、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されていない場合には、前記シーク動作を含む第一の初期化動作を行い、一方、前記不揮発性記憶手段に自動電源オフ状態であることを示す情報が記憶されている場合には、前記自動電源オフ状態において電源から供給される電力の異常な遮断が検出されなかった場合は、前記シーク動作を含まない第二の初期化動作を行い、前記電力の異常な遮断が検出された場合は、前記第一の初期化動作を行う初期化動作制御ステップと、
を備えたことを特徴とする画像形成装置における制御方法。
After the power is turned on by the power-on means, measure the time that has passed without any user operation and operation, and if the measured elapsed time exceeds the set time , perform a seek operation to move the recording head to find the origin, After the seek operation, the recording head is moved to a predetermined position and an end process is performed to lock the recording head to the predetermined position by a lock mechanism . After storing the position information with reference to the origin, the power is automatically turned off.On the other hand, if the user performs a power-off operation after power-on by the power-on means , the power is turned on based on the power-off operation. Power off step to turn off,
When the power is turned on by the power-on means and the information indicating that the automatic power-off state is not stored in the nonvolatile storage means, the first initialization operation including the seek operation is performed. On the other hand, when information indicating the automatic power-off state is stored in the non-volatile storage means, no abnormal interruption of the power supplied from the power source was detected in the automatic power-off state If, have second row initialization operation not including the seek operation, when an abnormal interruption of the power is detected, the initialization operation control step for performing said first initialization operation,
And a control method in the image forming apparatus.
JP2009185925A 2009-08-10 2009-08-10 Image forming apparatus and control method in image forming apparatus Active JP5720086B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009185925A JP5720086B2 (en) 2009-08-10 2009-08-10 Image forming apparatus and control method in image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009185925A JP5720086B2 (en) 2009-08-10 2009-08-10 Image forming apparatus and control method in image forming apparatus

Publications (2)

Publication Number Publication Date
JP2011037109A JP2011037109A (en) 2011-02-24
JP5720086B2 true JP5720086B2 (en) 2015-05-20

Family

ID=43765409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009185925A Active JP5720086B2 (en) 2009-08-10 2009-08-10 Image forming apparatus and control method in image forming apparatus

Country Status (1)

Country Link
JP (1) JP5720086B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10432816B1 (en) 2018-08-17 2019-10-01 Hewlett-Packard Development Company, L.P. Finishing line controllers to optimize the initialization of a printing device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5984361B2 (en) 2011-11-08 2016-09-06 キヤノン株式会社 Image forming apparatus, image forming apparatus control method, and program
JP5648864B2 (en) 2012-04-27 2015-01-07 京セラドキュメントソリューションズ株式会社 Image processing device
JP5986908B2 (en) * 2012-12-04 2016-09-06 理想科学工業株式会社 Printing device
JP6221385B2 (en) * 2013-06-17 2017-11-01 セイコーエプソン株式会社 Printing device
JP6365009B2 (en) 2014-06-30 2018-08-01 セイコーエプソン株式会社 Printing apparatus and printing method
JP6350211B2 (en) * 2014-10-27 2018-07-04 株式会社リコー Recording position control apparatus and abnormality detection method thereof
JP2018020575A (en) * 2017-10-02 2018-02-08 セイコーエプソン株式会社 Printer

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099214A (en) * 1998-09-21 2000-04-07 Canon Inc Electronic apparatus, printer device and control method therefor
JP3651758B2 (en) * 1998-12-25 2005-05-25 株式会社リコー Energy saving return method and recording device using the same
JP2000231310A (en) * 1999-02-09 2000-08-22 Ricoh Co Ltd Copying machine
JP2001358858A (en) * 2000-06-13 2001-12-26 Ricoh Co Ltd Facsimile machine
JP2002344673A (en) * 2001-05-17 2002-11-29 Ricoh Co Ltd Image forming system
JP3666656B2 (en) * 2001-11-28 2005-06-29 京セラミタ株式会社 Compound equipment
JP2003331674A (en) * 2002-05-14 2003-11-21 Konica Minolta Holdings Inc Switch and image forming device
JP2004193807A (en) * 2002-12-09 2004-07-08 Ricoh Co Ltd Digital composite device
JP2004299359A (en) * 2003-04-01 2004-10-28 Canon Inc Recorder
JP2005178106A (en) * 2003-12-18 2005-07-07 Murata Mach Ltd Image forming device with power saving function
JP4645799B2 (en) * 2004-06-30 2011-03-09 セイコーエプソン株式会社 Carriage driving device, and liquid ejecting apparatus including the carriage driving device
JP4703389B2 (en) * 2005-12-12 2011-06-15 株式会社リコー Image forming apparatus
JP2007160756A (en) * 2005-12-15 2007-06-28 Canon Inc Method of initializing carriage position of recording device, recording device, and control program therefor
JP2007331272A (en) * 2006-06-15 2007-12-27 Ricoh Co Ltd Image forming device
JP2008142942A (en) * 2006-12-07 2008-06-26 Canon Inc Power management controller of printer, power management control method of printer, and control program of printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10432816B1 (en) 2018-08-17 2019-10-01 Hewlett-Packard Development Company, L.P. Finishing line controllers to optimize the initialization of a printing device

Also Published As

Publication number Publication date
JP2011037109A (en) 2011-02-24

Similar Documents

Publication Publication Date Title
JP5720086B2 (en) Image forming apparatus and control method in image forming apparatus
US8142087B2 (en) Printing device with paper width detector mounted to carriage and method of controlling the printing device
US9643433B2 (en) Media processing device and method of controlling a media processing device
US8390832B2 (en) Printing apparatus and initialization method of the same
US8523344B2 (en) Image recording apparatus and controlling method for the same
JP7207929B2 (en) Detection device, control method and program
JP2020023103A (en) Image processing device
US20130077120A1 (en) Media processing device and method of controlling a media processing device
JP4345548B2 (en) Serial printer
US10081203B2 (en) Inkjet printing apparatus and method of controlling the same
JP2007296663A (en) Inkjet printer and control method of inkjet printer
JP4703389B2 (en) Image forming apparatus
US8985719B2 (en) Image forming apparatus, image forming apparatus control method and storage medium of program of control method
JP6146034B2 (en) Printing apparatus and control method thereof
JP2004122681A (en) Image forming apparatus
JP2009208894A (en) Printing device
JP4497243B2 (en) Inkjet serial printer
JP2023078619A (en) Liquid discharge device
JP7337488B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP4544365B2 (en) Serial printer with facsimile function
JP6019713B2 (en) Fluid ejection device, fluid ejection method and program thereof
US8915661B2 (en) Media drive restraint
JP6645091B2 (en) Printing apparatus, printing method, and printing program
JP2006224391A (en) Inkjet recording device, information processing method, and storage medium and program
JP2024068419A (en) Printing device and edge detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120727

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130521

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140707

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: 20150224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150309

R150 Certificate of patent or registration of utility model

Ref document number: 5720086

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350