JP2000168200A - Printing apparatus, method of notifying operation history thereof, and recording medium - Google Patents
Printing apparatus, method of notifying operation history thereof, and recording mediumInfo
- Publication number
- JP2000168200A JP2000168200A JP10344252A JP34425298A JP2000168200A JP 2000168200 A JP2000168200 A JP 2000168200A JP 10344252 A JP10344252 A JP 10344252A JP 34425298 A JP34425298 A JP 34425298A JP 2000168200 A JP2000168200 A JP 2000168200A
- Authority
- JP
- Japan
- Prior art keywords
- printing apparatus
- host computer
- operation history
- communication interface
- interface 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 14
- 238000004891 communication Methods 0.000 claims abstract description 54
- 230000008859 change Effects 0.000 claims description 11
- 238000012544 monitoring process Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 5
- 230000003213 activating effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 101001062854 Rattus norvegicus Fatty acid-binding protein 5 Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
(57)【要約】
【課題】 印字装置の制御部において障害が発生したよ
うな場合においても、印字装置の動作履歴を確実にホス
トコンピュータ側へ送信できるようにする。
【解決手段】本発明の印字装置10は、ホストコンピュ
ータ30との通信インタフェース12を、印字装置本体
11に対して独立して交換可能なようにユニット化し、
ここに印字装置の動作履歴を記録する記録手段21、並
びにその読み出し及び送信のための制御手段18を搭載
するものである。これによって印字装置本体の制御手段
14に障害が発生したような場合でも、確実に動作履歴
をホストコンピュータ30側へ送信することができるよ
うになる。
(57) Abstract: An operation history of a printing device can be reliably transmitted to a host computer even when a failure occurs in a control unit of the printing device. A printing apparatus according to the present invention has a communication interface (12) with a host computer (30) unitized so as to be exchangeable independently of a printing apparatus main body (11).
Here, a recording unit 21 for recording the operation history of the printing apparatus and a control unit 18 for reading and transmitting the recording unit 21 are mounted. As a result, even when a failure occurs in the control unit 14 of the printing apparatus main body, the operation history can be reliably transmitted to the host computer 30 side.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ホストコンピュー
タに接続され、該ホストコンピュータからの命令に基い
て動作される印字装置に関し、特に、印字装置の障害発
生時に有用な印字装置の動作履歴を記録する機能を有す
る印字装置及びその動作履歴の通知方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus connected to a host computer and operated based on an instruction from the host computer, and in particular, records an operation history of the printing apparatus useful when a failure occurs in the printing apparatus. The present invention relates to a printing apparatus having a function of performing the operation and a method of notifying an operation history thereof.
【0002】[0002]
【従来の技術】近年の印字装置においては、自己の動作
状況や状態(以下、これをステータスということがあ
る)を、ホストコンピュータからの要求に基いて又はこ
れに基かずに、送信する機能を備えたものがある。送信
されたプリンタ装置のステータスをホストコンピュータ
側で把握することによって、適切な印字処理やユーザへ
の通知をより確実なものとすることが可能となる。2. Description of the Related Art A recent printing apparatus has a function of transmitting its own operation status or state (hereinafter, sometimes referred to as status) based on a request from a host computer or not. Some have been provided. By ascertaining the transmitted status of the printer device on the host computer side, it is possible to more appropriately perform appropriate printing processing and notify the user.
【0003】また、印字装置において障害が発生した場
合、該障害発生時における印字装置の動作状況及びその
前の経過をホストコンピュータ側で把握することが、障
害の原因を究明するための有用な情報となる。When a failure occurs in a printing apparatus, it is useful for the host computer to grasp the operating state of the printing apparatus at the time of occurrence of the failure and the progress before the failure, thereby providing useful information for investigating the cause of the failure. Becomes
【0004】これに関連して、特開平5−31975号
公報には、プリンタの制御部で処理されたデータを順次
履歴としてプリンタ上の記憶手段に記録し、通信エラー
の発生時にこれをホストコンピュータに送信する技術が
開示されている。In connection with this, Japanese Patent Laid-Open Publication No. Hei 5-31975 discloses that data processed by a control unit of a printer is sequentially recorded as a history in a storage means on the printer, and when a communication error occurs, this is recorded in a host computer. Is disclosed.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、プリン
タ装置の制御部自体に障害が発生した場合には、記憶手
段からの履歴の読み出し、ホストコンピュータへの履歴
の送信等の処理が適切に行えなくなる可能性があり、上
記履歴を確実にホストコンピュータ側へ送信することが
できないという問題がある。However, if a failure occurs in the control unit itself of the printer device, it is impossible to properly perform processing such as reading the history from the storage means and transmitting the history to the host computer. There is a problem that the history cannot be reliably transmitted to the host computer.
【0006】本発明の目的は、上記従来の課題を解決
し、印字装置の制御部において障害が発生したような場
合においても、印字装置の動作履歴を確実にホストコン
ピュータ側へ送信することができるようにすることにあ
る。SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned conventional problems, and to reliably transmit an operation history of a printing apparatus to a host computer even when a failure occurs in a control section of the printing apparatus. Is to do so.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
本発明の印字装置は、ホストコンピュータとの通信イン
タフェースを、印字装置本体に対して独立して交換可能
なようにユニット化し、ここに印字装置の動作履歴を記
録する記録手段、並びにその読み出し及び送信のための
制御手段を搭載するものである。これによって印字装置
本体の制御手段に障害が発生したような場合でも、確実
に動作履歴をホストコンピュータ側へ送信することがで
きるようになる。すなわち本発明は、ホストコンピュー
タに接続され、該ホストコンピュータからの命令に基い
て動作される印字装置において、印字装置本体に対し交
換可能に実装された、上記ホストコンピュータとの間で
データを送受するための通信インタフェースユニット
と、上記通信インタフェースユニットに搭載され、印字
装置の動作履歴を記録する記憶手段と、上記通信インタ
フェースユニットに搭載され、上記記憶手段に記録され
た印字装置の動作履歴を読み出して、上記ホストコンピ
ュータへ送信するための制御手段とを備えて構成され
る。According to the present invention, there is provided a printing apparatus in which a communication interface with a host computer is unitized so as to be independently replaceable with respect to a printing apparatus main body. It is equipped with recording means for recording the operation history of the apparatus, and control means for reading and transmitting the recording. As a result, even when a failure occurs in the control unit of the printing apparatus main body, the operation history can be reliably transmitted to the host computer. That is, the present invention relates to a printing apparatus connected to a host computer and operated based on an instruction from the host computer, for transmitting and receiving data to and from the host computer which is exchangeably mounted on the printing apparatus main body. A communication interface unit, a storage unit mounted on the communication interface unit for recording an operation history of the printing device, and an operation history of the printing device mounted on the communication interface unit and recorded on the storage unit for reading out the operation history. And control means for transmitting to the host computer.
【0008】この場合に、上記印字装置本体は、その状
態変化を監視する状態監視手段を備え、上記記憶手段
は、上記状態変化が発生する毎に生成される状態情報を
動作履歴として記憶するよう構成することが好ましい。In this case, the printing apparatus main body includes state monitoring means for monitoring a change in the state, and the storage means stores state information generated each time the state change occurs as an operation history. It is preferable to configure.
【0009】また、本発明は、上記印字装置本体に搭載
され、所定数の上記状態情報を一時的に保持するレジス
タと、上記レジスタに対し、上記状態変化が発生する毎
に、上記状態情報を順次書き込む第1の書き込み制御手
段と、上記レジスタに書き込まれる最新の状態情報が所
定数を超える前に、該最新の状態情報を上記記憶手段に
書き込む第2の書き込み制御手段とを備えて構成するこ
とができる。The present invention also provides a register which is mounted on the printing apparatus main body and temporarily holds a predetermined number of the state information, and stores the state information in the register each time the state change occurs. A first write control means for sequentially writing and a second write control means for writing the latest status information to the storage device before the latest status information written to the register exceeds a predetermined number. be able to.
【0010】所定数の動作履歴を上記レジスタに一時的
に保持し、まとめて通信インタフェースユニット側の記
憶手段に書き込むことによって、動作履歴の記録のため
の処理に掛かる時間を抑えることができる。[0010] By temporarily storing a predetermined number of operation histories in the register and collectively writing the histories in the storage means on the communication interface unit side, it is possible to reduce the time required for processing for recording the operation histories.
【0011】更に、本発明は、上記通信インタフェース
ユニットに搭載され、上記レジスタに書き込まれた状態
情報に基づいて、上記印字装置における障害の有無を判
断する障害判断手段を備え、上記障害判断手段により印
字装置において障害があったと判断された場合に、上記
制御手段により上記記憶手段に記録した動作履歴を上記
ホストコンピュータへ送信させるよう構成することがで
きる。Further, the present invention further comprises a fault determining means mounted on the communication interface unit for determining the presence or absence of a fault in the printing apparatus based on the status information written in the register. When it is determined that a failure has occurred in the printing apparatus, the control unit may transmit the operation history recorded in the storage unit to the host computer.
【0012】これによって、印字装置における障害の発
生をホストコンピュータ側で把握することができるよう
になる。Thus, the occurrence of a failure in the printing apparatus can be grasped on the host computer side.
【0013】本発明は、また、ホストコンピュータに接
続され、該ホストコンピュータからの命令に基いて動作
されると共に、印字装置本体に対し交換可能に実装され
た、上記ホストコンピュータとの間でデータを送受する
ための通信インタフェースユニットを有した印字装置に
おける動作履歴の通知方法に関する。本発明に係る動作
履歴の通信方法は、上記通信インタフェースユニットに
備えた記憶手段に、印字装置の動作履歴を記録する工程
と、上記印字装置本体において障害が発生した場合に、
上記通信インタフェースユニットに備えた制御手段によ
って、上記記憶手段に記録した動作履歴をホストコンピ
ュータへ送信する工程とを備えて構成される。According to the present invention, there is also provided a printer connected to a host computer, which is operated based on an instruction from the host computer, and which exchanges data with the host computer which is exchangeably mounted on a printing apparatus main body. The present invention relates to a method of notifying an operation history in a printing apparatus having a communication interface unit for transmitting and receiving. The communication method of the operation history according to the present invention, a step of recording the operation history of the printing device in the storage means provided in the communication interface unit, and when a failure occurs in the printing device body,
Transmitting the operation history recorded in the storage means to the host computer by the control means provided in the communication interface unit.
【0014】更に本発明は、ホストコンピュータに接続
され、該ホストコンピュータからの命令に基いて動作さ
れると共に、印字装置本体に対し交換可能に実装され
た、上記ホストコンピュータとの間でデータを送受する
ための通信インタフェースユニットを備えた印字装置に
おいて動作履歴を通知するためのコンピュータ読み取り
可能な記録媒体に関する。本発明に係る記録媒体は、上
記通信インタフェースユニットに備えた記憶手段に、印
字装置の動作履歴を記録するよう上記印字装置を動作さ
せるプログラムコードと、上記印字装置本体において障
害が発生した場合に、上記通信インタフェースユニット
に備えた制御手段によって、上記記憶手段に記録した動
作履歴をホストコンピュータへ送信するよう上記印字装
置を動作させるプログラムコードとを備えて構成され
る。Further, the present invention is connected to a host computer, is operated based on an instruction from the host computer, and exchanges data with the host computer which is exchangeably mounted on the printing apparatus main body. The present invention relates to a computer-readable recording medium for notifying an operation history in a printing apparatus provided with a communication interface unit for performing the operation. The recording medium according to the present invention, the storage means provided in the communication interface unit, a program code for operating the printing apparatus to record the operation history of the printing apparatus, when a failure occurs in the printing apparatus body, The communication interface unit includes a program code for operating the printing apparatus so that the operation history recorded in the storage means is transmitted to the host computer by the control means.
【0015】[0015]
【発明の実施の形態】以下、本発明の実施形態を図面に
沿って説明する。図1は、本発明の一実施形態に係る印
字装置のブロック図である。図では本印字装置10を接
続するホストコンピュータ30が共に示されている。印
字装置10は、図に示すように、基本的に印字装置本体
11と通信インタフェースユニット12で構成される。
通信インタフェースユニット12は、印字装置における
ホストコンピュータ30との通信インタフェースに関す
る機能をユニット化し、1枚のボード上に構成したもの
である。従って、通信インタフェースユニット12の交
換により、異なるホストコンピュータ30との間の各種
インタフェース、例えばRS232C、セントロニク
ス、USB(Universal Serial Bus)等のインタフェー
スに対応できるようになる。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a printing apparatus according to an embodiment of the present invention. FIG. 1 shows a host computer 30 to which the printing apparatus 10 is connected. The printing device 10 basically includes a printing device main body 11 and a communication interface unit 12, as shown in the drawing.
The communication interface unit 12 is a unit in which functions relating to a communication interface with the host computer 30 in the printing apparatus are unitized and configured on a single board. Therefore, by exchanging the communication interface unit 12, it becomes possible to support various interfaces with different host computers 30, for example, interfaces such as RS232C, Centronics, and USB (Universal Serial Bus).
【0016】印字装置10における通信インタフェース
ユニット12に含まれる機能以外の全ての機能は、印字
装置本体11に実装される。すなわち、印字装置本体1
1は、印字機構、用紙の搬送機構その他の機構部分を含
む印字機構部13、印字機構部13その他を制御するた
めのコントローラ14、プログラム、フォントデータ等
を格納したROM及び印字データ、制御コマンドその他
の情報を一時的に保持するRAMで構成されるメモリ1
5、通信インタフェースユニット12とのインタフェー
スを実現するユニットインタフェース16、及び動作履
歴レジスタ17を備える。All functions of the printing apparatus 10 other than the functions included in the communication interface unit 12 are implemented in the printing apparatus main body 11. That is, the printing apparatus main body 1
Reference numeral 1 denotes a printing mechanism, a printing mechanism 13 including a paper transport mechanism and other mechanical parts, a controller 14 for controlling the printing mechanism 13 and others, a ROM storing programs, font data, and the like, printing data, control commands, and the like. 1 composed of a RAM for temporarily storing the information of
5. A unit interface 16 for realizing an interface with the communication interface unit 12 and an operation history register 17 are provided.
【0017】コントローラ14は、印字装置本体11上
の各種制御を司る。すなわちコントローラ14は、ホ
ストコンピュータ30から送信されたデータに含まれる
制御コマンドを解釈し、印字機構部13を制御して印字
を行なう、ユニットインタフェース16を制御し、通
信インタフェースユニット12との間でデータの送受信
を行う、メモリ15を管理する、印字装置本体11
のステータスの変化を監視する、動作履歴レジスタ1
7へステータスを書き込み又は読み出す、等の処理を行
う。The controller 14 controls various controls on the printing apparatus main body 11. That is, the controller 14 interprets a control command included in the data transmitted from the host computer 30, controls the printing mechanism unit 13 to perform printing, controls the unit interface 16, and exchanges data with the communication interface unit 12. Printer unit 11 for transmitting and receiving data, managing the memory 15
Operation history register 1 that monitors the status change
7 to write or read the status.
【0018】上記動作履歴レジスタ17は、印字装置1
0における各ステータスに対して予め決められたコード
を、所定数だけ順次蓄積する。すなわち、印字装置にお
いて印字処理のステップが進行したり、印字装置のモー
ドが切り替えられる等して、その状態が変化した場合、
コントローラ14は、変化後の状態に予め割り当てられ
たコードを、現在の状態を示すものとして、動作履歴レ
ジスタ17に書き込む。動作履歴レジスタ17は、ステ
ータスを格納する領域を複数備え、最も先に書き込んだ
コード上に、最新のコードを書き込む方式、すなわちF
IFO(FirstIn First Out)方式のものを採用するこ
とが好ましい。レジスタ17は、コントローラ14の内
部のものとして構成しても良いし、また外部のものとし
て構成しても良い。動作履歴レジスタ17に書き込む印
字装置10の状態としては、例えば、印字における各処
理のステップ等の動作状況、印字データの待ち受け中、
ヘッドクリーニング動作中、筐体カバーの開放中等の各
状態を含むことができる。動作履歴レジスタ17に蓄積
された複数のステータスコード(以下、これをレジスタ
データということがある)は、それが上書きされる前
に、コントローラ14によって全て読み出され、まとめ
て通信インタフェースユニット12へ転送される。な
お、ステータスコードが上書きされない程度の所定の周
期ごとに該ステータスコードを通信インタフェースユニ
ット12へ転送することとしてもよいし、ステータスコ
ードが動作履歴レジスタ17に書き込まれる度に該ステ
ータスコードを通信インタフェースユニット12へ転送
し、古いステータスコードは順次上書きされていくよう
にすることとしてもよい。The operation history register 17 stores the printing device 1
Codes predetermined for each status at 0 are sequentially stored by a predetermined number. That is, when the state of the printing device changes due to the progress of the printing process step or the switching of the mode of the printing device,
The controller 14 writes a code assigned in advance to the state after the change into the operation history register 17 as an indication of the current state. The operation history register 17 includes a plurality of areas for storing statuses, and a method of writing the latest code on the code written first, that is, F
It is preferable to adopt an IFO (First In First Out) system. The register 17 may be configured as an internal one of the controller 14 or an external one. The state of the printing apparatus 10 to be written into the operation history register 17 includes, for example, an operation state such as a step of each processing in printing, a state of waiting for print data,
Each state, such as during the head cleaning operation and during opening of the housing cover, can be included. A plurality of status codes (hereinafter, sometimes referred to as register data) accumulated in the operation history register 17 are all read out by the controller 14 before being overwritten, and are collectively transferred to the communication interface unit 12. Is done. It should be noted that the status code may be transferred to the communication interface unit 12 at a predetermined cycle such that the status code is not overwritten. 12, the old status code may be sequentially overwritten.
【0019】一方、通信インタフェースユニット12
は、その制御を司るコントローラ18、ホストコンピュ
ータ30とのインタフェースを実現するホストインタフ
ェース19、印字装置本体11とのインタフェースを実
現する本体インタフェース20、及び、動作履歴記憶手
段21を備える。通信インタフェースユニット12は、
RS232C、セントロニクス、USB等各種通信イン
タフェースに対応したものが用意され、ホストコンピュ
ータ30との間における通信インタフェースに合わせた
ものが使用される。On the other hand, the communication interface unit 12
Includes a controller 18 for controlling the control, a host interface 19 for realizing an interface with the host computer 30, a main body interface 20 for realizing an interface with the printing apparatus main body 11, and an operation history storage means 21. The communication interface unit 12
A device compatible with various communication interfaces such as RS232C, Centronics, and USB is prepared, and a device compatible with a communication interface with the host computer 30 is used.
【0020】通信インタフェースユニット12に搭載さ
れたコントローラ18は、ホストインタフェース19を
制御してホストコンピュータ30との間でデータの送受
信を実行し、また本体インタフェース20を制御して印
字装置本体11との間でデータの送受信を実行する。ホ
ストコンピュータ30からの印字データや制御コマンド
等のデータは、ホストインタフェース19から通信イン
タフェースユニット12内に受け入れられ、コントロー
ラ18において所定の処理やチェックを受けた後に、本
体インタフェース20から印字装置本体11へ送り出さ
れる。また、印字装置本体11からのステータス情報そ
の他のデータは、本体インタフェース20から通信イン
タフェースユニット12内に受け入れられ、コントロー
ラ18において所定の処理やチェックを受けた後に、ホ
ストインタフェース19からホストコンピュータ30へ
送信される。なお、印字装置10のステータス情報は、
ホストコンピュータ30からのステータス要求に対して
返送されるようなものであっても良いし、また、印字装
置本体11のコントローラ14がステータスの変化を検
出した際に、自動的にホストコンピュータ30へ送信さ
れるようなものであっても良い。A controller 18 mounted on the communication interface unit 12 controls a host interface 19 to transmit and receive data to and from a host computer 30, and controls a main body interface 20 to communicate with the printing apparatus main body 11. Send and receive data between Data such as print data and control commands from the host computer 30 are received from the host interface 19 into the communication interface unit 12 and subjected to predetermined processing and checks by the controller 18. Will be sent out. Further, status information and other data from the printing apparatus main body 11 are received from the main body interface 20 into the communication interface unit 12, and are transmitted from the host interface 19 to the host computer 30 after undergoing predetermined processing and checks in the controller 18. Is done. The status information of the printing device 10 includes:
The status may be returned in response to a status request from the host computer 30, or may be automatically transmitted to the host computer 30 when the controller 14 of the printing apparatus main body 11 detects a change in status. It may be something that is done.
【0021】また、コントローラ18は、印字装置本体
11から上記レジスタデータが転送されるのを常時監視
し、その内容によって、印字装置本体11側に障害が発
生したことを判断する機能を有する。すなわちコントロ
ーラ18は、受信したレジスタデータを直前に受信した
レジスタデータと比較してその値が変化していない場
合、受信したレジスタデータ内の各ステータスコードを
確認し未定義のコードが発見された場合、及びレジスタ
データが所定の時間受信されなかった場合に、印字装置
本体11側に障害が発生したと判断する。そして、この
場合、コントローラ18は、印字装置において障害が発
生したことをホストコンピュータ30へ通知すると共
に、後述する動作履歴記憶手段21に記録された動作履
歴を送信する。The controller 18 has a function of constantly monitoring the transfer of the register data from the printing apparatus main body 11 and judging that a failure has occurred in the printing apparatus main body 11 based on the content of the register data. That is, the controller 18 compares the received register data with the register data received immediately before, if the value has not changed, checks each status code in the received register data, and finds an undefined code. , And when the register data has not been received for a predetermined time, it is determined that a failure has occurred on the printing apparatus main body 11 side. Then, in this case, the controller 18 notifies the host computer 30 that a failure has occurred in the printing apparatus, and transmits an operation history recorded in an operation history storage unit 21 described later.
【0022】上記動作履歴記憶手段21は、印字装置本
体11から受信したレジスタデータを記憶し、蓄積する
ためのものである。動作履歴記憶手段21は、動作履歴
レジスタ17に比して十分な記憶容量を持つ不揮発性メ
モリで構成することが好ましい。上記コントローラ18
において、印字装置本体11から受信したレジスタデー
タを検査した結果、印字装置本体11に障害が発生して
いないとの判断がなされた場合に、コントローラ18
は、該レジスタデータを動作履歴記憶手段21へ書き込
む。The operation history storage means 21 is for storing and accumulating the register data received from the printing apparatus main body 11. It is preferable that the operation history storage unit 21 is constituted by a nonvolatile memory having a sufficient storage capacity as compared with the operation history register 17. Controller 18
In the above, when it is determined that no failure has occurred in the printing device main body 11 as a result of checking the register data received from the printing device main body 11,
Writes the register data into the operation history storage means 21.
【0023】次に、印字装置本体11におけるステータ
スの記録及び通信インタフェースユニット12への送信
の手順について説明する。図2は、印字装置本体11に
おいてステータスを記録し、通信インタフェースユニッ
ト12へ送信する手順を示すフローチャートである。図
において、印字装置10の動作中、コントローラ14
は、印字装置10のステータスの変化を常時監視してい
る(201)。印字装置10のステータスが変化した場
合、変化後のステータスに予約されたコードが、動作履
歴レジスタ17の一領域に書き込まれる(202)。コ
ントローラ14は、動作履歴レジスタ17のオーバーフ
ローを監視し(203)、オーバーフローが発生する
前、すなわち全ての領域にステータスコードが書き込ま
れ、次の書き込みによってデータが上書きされる前に、
現在書き込まれているステータスコードをまとめて読み
出す(204)。そして、これをレジスタデータとし
て、ユニットインタフェース16を介して、通信インタ
フェースユニット12へ送信する(205)。Next, a procedure for recording the status in the printing apparatus main body 11 and transmitting the status to the communication interface unit 12 will be described. FIG. 2 is a flowchart illustrating a procedure for recording a status in the printing apparatus main body 11 and transmitting the status to the communication interface unit 12. In the figure, during operation of the printing apparatus 10, the controller 14
Monitors the status change of the printing apparatus 10 at all times (201). When the status of the printer 10 changes, a code reserved for the changed status is written to one area of the operation history register 17 (202). The controller 14 monitors the overflow of the operation history register 17 (203), and before the overflow occurs, that is, before the status code is written in all the areas and the data is overwritten by the next write,
The currently written status codes are collectively read (204). Then, this is transmitted as register data to the communication interface unit 12 via the unit interface 16 (205).
【0024】次に、通信インタフェースユニット12に
おけるレジスタデータの取り扱いについて説明する。図
3は、通信インタフェースユニット12におけるレジス
タデータの取り扱いの手順を示すフローチャートであ
る。通信インタフェースユニット12において、コント
ローラ18は、印字装置本体11から送信されるレジス
タデータの受信を監視している(301)。通信インタ
フェースユニット12の本体インタフェース20がレジ
スタデータを受信したことが確認されると、コントロー
ラ18は、そのデータに基づいて、印字装置に障害が発
生しているか否を判断する(302)。すなわち、受信
したレジスタデータを直前に受信したそれと比較すると
共に、受信したレジスタデータ内の各ステータスコード
を確認して未定義のコードが含まれていないか調査す
る。その結果、レジスタデータに変化がなかったか、ま
たは未定義のコードが発見された場合に、印字装置本体
11側に障害が発生したと判断する。なお、直前のレジ
スタデータは、動作履歴記憶手段21から読み出すよう
にしても良いし、またコントローラ18のレジスタ内に
保持し、ここから読み出しように構成しても良い。一
方、工程301で前回のレジスタデータの受信から所定
時間経過しても(306)新たなレジスタデータが受信
されないときは印字装置本体11側に障害が発生したと
判断する。Next, handling of register data in the communication interface unit 12 will be described. FIG. 3 is a flowchart showing a procedure of handling the register data in the communication interface unit 12. In the communication interface unit 12, the controller 18 monitors reception of register data transmitted from the printing apparatus main body 11 (301). When it is confirmed that the main body interface 20 of the communication interface unit 12 has received the register data, the controller 18 determines whether a failure has occurred in the printing apparatus based on the data (302). That is, the received register data is compared with that received immediately before, and each status code in the received register data is checked to check whether an undefined code is included. As a result, when there is no change in the register data or when an undefined code is found, it is determined that a failure has occurred on the printing apparatus main body 11 side. Note that the immediately preceding register data may be read from the operation history storage unit 21 or may be held in a register of the controller 18 and read from there. On the other hand, in step 301, if new register data is not received after a predetermined time has passed from the previous reception of register data (306), it is determined that a failure has occurred in the printing apparatus main body 11 side.
【0025】コントローラ18は、印字装置本体11に
障害が発生したと判断した場合、動作履歴記憶手段21
の動作履歴データを読み出し(303)、これを、障害
の発生の通知と共に、ホストコンピュータ30へ送信す
る(304)。ここで、印字装置本体11における障害
によって、そのコントローラ14が正常に動作しない場
合においても、該障害の検出及び動作履歴のホストコン
ピュータ30への送信は、通信インタフェースユニット
12側で行われることとなる。ホストコンピュータ30
側では、この動作履歴を調査することによって、迅速か
つ適切に、印字装置の障害の対策を施すことが可能とな
る。工程302において、印字装置本体11で障害が発
生していないと判断された場合には、受信したレジスタ
データを動作履歴記憶手段21へ追加的に書き込む(3
05)。When the controller 18 determines that a failure has occurred in the printing apparatus main body 11, the operation history storage means 21
The operation history data is read out (303) and transmitted to the host computer 30 together with the notification of the occurrence of the failure (304). Here, even when the controller 14 does not operate normally due to a failure in the printing apparatus main body 11, the detection of the failure and transmission of the operation history to the host computer 30 are performed on the communication interface unit 12 side. . Host computer 30
By examining the operation history, the side can quickly and appropriately take measures against the failure of the printing apparatus. If it is determined in step 302 that a failure has not occurred in the printing apparatus main body 11, the received register data is additionally written into the operation history storage unit 21 (3.
05).
【0026】以上、本発明の一実施形態を図面に沿って
説明したが、本発明は上記実施形態において示された事
項に限定されず、特許請求の範囲及び発明の詳細な説明
の記載、並びに周知の技術に基いて、当業者がその変更
・応用を行うことができる範囲が含まれる。例えば、上
記実施形態においては、印字装置本体11側に動作履歴
レジスタ17を備えた例を示したが、ステータスの変化
が発生する毎に、これを通信インタフェースユニット1
2側へ送信し、順次動作履歴記憶手段21に記憶するよ
うにすれば、動作履歴レジスタ17を備えなくとも良
い。また、通信インタフェースユニット12を、印字装
置本体11の電源と別の電源によって起動することによ
って、印字装置本体11を起動する電源の障害が発生し
た場合でも、通信インタフェースユニット12の動作を
保証することによって、障害発生時の動作履歴を確実に
ホストコンピュータへ送信するように構成しても良い。
更に、ホストコンピュータ30からの要求信号に基い
て、動作履歴記憶手段21内のデータを送るように構成
しても良い。As described above, one embodiment of the present invention has been described with reference to the drawings. However, the present invention is not limited to the matters described in the above embodiment, and is described in the claims and the detailed description of the invention. The range in which those skilled in the art can make changes and applications based on well-known techniques is included. For example, in the above-described embodiment, an example in which the operation history register 17 is provided on the printing apparatus main body 11 side is described.
If the data is transmitted to the second side and sequentially stored in the operation history storage means 21, the operation history register 17 may not be provided. In addition, by activating the communication interface unit 12 with a power supply different from the power supply of the printing apparatus main body 11, even if a failure occurs in the power supply for activating the printing apparatus main body 11, the operation of the communication interface unit 12 is guaranteed. Thereby, the operation history at the time of occurrence of a failure may be reliably transmitted to the host computer.
Further, the data in the operation history storage unit 21 may be transmitted based on a request signal from the host computer 30.
【0027】[0027]
【発明の効果】以上の如く本発明によれば、印字装置の
制御部において障害が発生したような場合においても、
印字装置の動作履歴を確実にホストコンピュータ側へ送
信することができるようになる。As described above, according to the present invention, even when a failure occurs in the control unit of the printing apparatus,
The operation history of the printing device can be reliably transmitted to the host computer.
【図1】本発明の第1の実施形態に係る印字装置のブロ
ック図である。FIG. 1 is a block diagram of a printing apparatus according to a first embodiment of the present invention.
【図2】印字装置本体においてステータスを記録し、通
信インタフェースユニットへ送信する手順を示すフロー
チャートである。FIG. 2 is a flowchart illustrating a procedure for recording a status in a printing apparatus main body and transmitting the status to a communication interface unit.
【図3】通信インタフェースユニットにおけるレジスタ
データの取り扱いの手順を示すフローチャートである。FIG. 3 is a flowchart illustrating a procedure of handling register data in a communication interface unit.
10 印字装置 11 印字装置本体 12 通信インタフェースユニット 13 印字機構部 14 コントローラ 15 メモリ 16 ユニットインタフェース 17 動作履歴レジスタ 18 コントローラ 19 ホストインタフェース 20 本体インタフェース 21 動作履歴記憶手段 30 ホストコンピュータ Reference Signs List 10 printing device 11 printing device main body 12 communication interface unit 13 printing mechanism unit 14 controller 15 memory 16 unit interface 17 operation history register 18 controller 19 host interface 20 main body interface 21 operation history storage means 30 host computer
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C061 HJ06 HJ08 HJ10 HN05 HN15 HQ20 HQ21 HV02 HV19 HV22 HV35 2C087 AB05 BA01 BB20 BC07 BC11 BD01 BD41 BD46 BD53 DA11 5B021 AA01 AA02 BB04 DD12 NN00 NN19 ────────────────────────────────────────────────── ─── Continued on the front page F term (reference) 2C061 HJ06 HJ08 HJ10 HN05 HN15 HQ20 HQ21 HV02 HV19 HV22 HV35 2C087 AB05 BA01 BB20 BC07 BC11 BD01 BD41 BD46 BD53 DA11 5B021 AA01 AA02 BB04 DD12 NN00 NN19
Claims (6)
トコンピュータからの命令に基いて動作される印字装置
において、 印字装置本体に対し交換可能に実装された、上記ホスト
コンピュータとの間でデータを送受するための通信イン
タフェースユニットと、 上記通信インタフェースユニットに搭載され、印字装置
の動作履歴を記録する記憶手段と、 上記通信インタフェースユニットに搭載され、上記記憶
手段に記録された印字装置の動作履歴を読み出して、上
記ホストコンピュータへ送信するための制御手段と、を
備えたことを特徴とする印字装置。1. A printing apparatus connected to a host computer and operated based on an instruction from the host computer, for transmitting and receiving data to and from the host computer which is exchangeably mounted on a printing apparatus main body. A communication interface unit for storing the operation history of the printing device mounted on the communication interface unit and reading the operation history of the printing device mounted on the communication interface unit and stored in the storage device And a control means for transmitting to the host computer.
視する状態監視手段を備え、上記記憶手段は、上記状態
変化が発生する毎に生成される状態情報を動作履歴とし
て記憶することを特徴とする請求項1記載の印字装置。2. The printing apparatus according to claim 1, wherein the printing apparatus main body includes state monitoring means for monitoring a state change, and the storage means stores state information generated each time the state change occurs as an operation history. The printing device according to claim 1, wherein
上記状態情報を一時的に保持するレジスタと、 上記レジスタに対し、上記状態変化が発生する毎に、上
記状態情報を順次書き込む第1の書き込み制御手段と、 上記レジスタに書き込まれる最新の状態情報が所定数を
超える前に、該最新の状態情報を上記記憶手段に書き込
む第2の書き込み制御手段と、を備えることを特徴とす
る請求項2記載の印字装置。3. A register mounted on the printing apparatus main body and temporarily storing a predetermined number of the state information, and a first state information is sequentially written into the register each time the state change occurs. And write control means for writing the latest status information to the storage means before the latest status information written to the register exceeds a predetermined number. Item 3. The printing device according to Item 2.
され、上記レジスタに書き込まれた状態情報に基づい
て、上記印字装置における障害の有無を判断する障害判
断手段を備え、上記障害判断手段により印字装置におい
て障害があったと判断された場合に、上記制御手段によ
り上記記憶手段に記録した動作履歴を上記ホストコンピ
ュータへ送信させることを特徴とする請求項3記載の印
字装置。And a failure judging means mounted on the communication interface unit for judging the presence or absence of a failure in the printing device based on status information written in the register. 4. The printing apparatus according to claim 3, wherein when it is determined that there has been an operation history, the control unit transmits the operation history recorded in the storage unit to the host computer.
トコンピュータからの命令に基いて動作されると共に、
印字装置本体に対し交換可能に実装された、上記ホスト
コンピュータとの間でデータを送受するための通信イン
タフェースユニットを有した印字装置における動作履歴
の通知方法において、 上記通信インタフェースユニットに備えた記憶手段に、
印字装置の動作履歴を記録する工程と、 上記印字装置本体において障害が発生した場合に、上記
通信インタフェースユニットに備えた制御手段によっ
て、上記記憶手段に記録した動作履歴をホストコンピュ
ータへ送信する工程と、を備えたことを特徴とする印字
装置における動作履歴の通知方法。5. Connected to a host computer, operated based on an instruction from the host computer,
In a method of notifying an operation history in a printing apparatus having a communication interface unit for exchanging data with the host computer, which is exchangeably mounted on the printing apparatus main body, a storage means provided in the communication interface unit To
A step of recording an operation history of the printing apparatus; and a step of transmitting the operation history recorded in the storage means to a host computer by control means provided in the communication interface unit when a failure occurs in the printing apparatus main body. And a notification method of an operation history in the printing apparatus.
トコンピュータからの命令に基いて動作されると共に、
印字装置本体に対し交換可能に実装された、上記ホスト
コンピュータとの間でデータを送受するための通信イン
タフェースユニットを備えた印字装置において動作履歴
を通知するためのコンピュータ読み取り可能な記録媒体
であって、 上記通信インタフェースユニットに備えた記憶手段に、
印字装置の動作履歴を記録するよう上記印字装置を動作
させるプログラムコードと、 上記印字装置本体において障害が発生した場合に、上記
通信インタフェースユニットに備えた制御手段によっ
て、上記記憶手段に記録した動作履歴をホストコンピュ
ータへ送信するよう上記印字装置を動作させるプログラ
ムコードと、を備えたことを特徴とする記録媒体。6. Connected to a host computer, operated based on an instruction from the host computer,
A computer-readable recording medium for notifying an operation history in a printing apparatus provided with a communication interface unit for exchanging data with the host computer, which is mounted interchangeably with the printing apparatus main body, The storage means provided in the communication interface unit,
A program code for operating the printing apparatus so as to record an operation history of the printing apparatus; and an operation history recorded in the storage means by a control means provided in the communication interface unit when a failure occurs in the printing apparatus main body. And a program code for operating the printing apparatus so as to transmit the data to the host computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34425298A JP3778243B2 (en) | 1998-12-03 | 1998-12-03 | Printing device, operation history notification method and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34425298A JP3778243B2 (en) | 1998-12-03 | 1998-12-03 | Printing device, operation history notification method and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000168200A true JP2000168200A (en) | 2000-06-20 |
| JP3778243B2 JP3778243B2 (en) | 2006-05-24 |
Family
ID=18367814
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34425298A Expired - Fee Related JP3778243B2 (en) | 1998-12-03 | 1998-12-03 | Printing device, operation history notification method and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3778243B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2397552A (en) * | 2002-12-04 | 2004-07-28 | Hewlett Packard Development Co | Image forming device having a transmission control and method of operating an image forming device |
| JP2013090275A (en) * | 2011-10-21 | 2013-05-13 | Ricoh Co Ltd | Information processor and remote management system |
| JP2016128242A (en) * | 2015-01-09 | 2016-07-14 | シチズンホールディングス株式会社 | Printer, relay device, transmission mode switching method and transmission mode switching program |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02257154A (en) * | 1989-03-30 | 1990-10-17 | Toshiba Corp | Information collecting system for image forming device |
| JPH05164801A (en) * | 1991-12-16 | 1993-06-29 | Fuji Xerox Co Ltd | Diagnostic method and its device |
| JPH0624102A (en) * | 1992-07-09 | 1994-02-01 | Oki Electric Ind Co Ltd | Printer |
| JPH06110591A (en) * | 1992-09-25 | 1994-04-22 | Canon Inc | Image recorder |
-
1998
- 1998-12-03 JP JP34425298A patent/JP3778243B2/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02257154A (en) * | 1989-03-30 | 1990-10-17 | Toshiba Corp | Information collecting system for image forming device |
| JPH05164801A (en) * | 1991-12-16 | 1993-06-29 | Fuji Xerox Co Ltd | Diagnostic method and its device |
| JPH0624102A (en) * | 1992-07-09 | 1994-02-01 | Oki Electric Ind Co Ltd | Printer |
| JPH06110591A (en) * | 1992-09-25 | 1994-04-22 | Canon Inc | Image recorder |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2397552A (en) * | 2002-12-04 | 2004-07-28 | Hewlett Packard Development Co | Image forming device having a transmission control and method of operating an image forming device |
| GB2397552B (en) * | 2002-12-04 | 2005-12-28 | Hewlett Packard Development Co | Image forming device having a transmission control and method of operating an image forming device |
| JP2013090275A (en) * | 2011-10-21 | 2013-05-13 | Ricoh Co Ltd | Information processor and remote management system |
| JP2016128242A (en) * | 2015-01-09 | 2016-07-14 | シチズンホールディングス株式会社 | Printer, relay device, transmission mode switching method and transmission mode switching program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3778243B2 (en) | 2006-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100456180B1 (en) | A peripheral device and control method thereof | |
| US7515286B2 (en) | Printer, control method for the same, and control device | |
| KR100484336B1 (en) | Composite printing device and control method with multiple printer mechanisms | |
| KR100255889B1 (en) | Communications terminal and control method therefor | |
| JP2004130784A (en) | Printer | |
| US6886050B2 (en) | Method for controlling a communication terminal device and rewritable storage medium having initialization setting data | |
| CN102145597B (en) | Recording device, method of controlling recording device and recording medium | |
| JP4561270B2 (en) | Image forming apparatus | |
| JP2011016376A (en) | Communication terminal device and method for processing received data | |
| CN100361824C (en) | Printing system, control method therefor, and print control method, host apparatus, and printer therewith | |
| CN100368989C (en) | Recording device, information processing device and control method and recording system | |
| JP2000168200A (en) | Printing apparatus, method of notifying operation history thereof, and recording medium | |
| CN103399717B (en) | Print controlling apparatus and data managing method | |
| JP2011068022A (en) | Recording device, control method of recording device and program | |
| JPH10333856A (en) | Communication terminal, control method therefor, and computer-readable recording medium on which the control program is recorded | |
| JP4449367B2 (en) | Printer | |
| JPH10320147A (en) | Network printing system | |
| JP3856341B2 (en) | Interface control method | |
| JPH096550A (en) | Printer control device and method | |
| JP4865140B2 (en) | Printer, received data processing method and program | |
| JPH0930091A (en) | Printer control device | |
| JPH10119391A (en) | Composite printing apparatus having a plurality of printer mechanisms and control method thereof | |
| JPH10283131A (en) | Printer | |
| JP2001282394A (en) | Communication terminal device, control method therefor, and recording medium therefor | |
| JP2504928Y2 (en) | Facsimile reception system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050715 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050726 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050913 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20050913 |
|
| 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: 20060208 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060221 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090310 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100310 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100310 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110310 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120310 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |