JP2000148430A - System and method for printer maintenance and recording medium recorded with control program therefor - Google Patents

System and method for printer maintenance and recording medium recorded with control program therefor

Info

Publication number
JP2000148430A
JP2000148430A JP10315729A JP31572998A JP2000148430A JP 2000148430 A JP2000148430 A JP 2000148430A JP 10315729 A JP10315729 A JP 10315729A JP 31572998 A JP31572998 A JP 31572998A JP 2000148430 A JP2000148430 A JP 2000148430A
Authority
JP
Japan
Prior art keywords
printer
information
error
host computer
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10315729A
Other languages
Japanese (ja)
Inventor
Naoyuki Tokimune
直之 時宗
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP10315729A priority Critical patent/JP2000148430A/en
Publication of JP2000148430A publication Critical patent/JP2000148430A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the printer maintenance system which can obtain module state information at the time of error occurrence without causing an increase in costs and can effectively use a log file for the maintenance. SOLUTION: An error detection part 11 detects a printer error occurring to a printer 1 in such a case. A control module monitor part 12 monitors a program controlling the operation of the printer 1, module by module. A printer information generation part 14 generates printer information on the basis of error information and module information. A printer information transmission part 15 sends the printer information to a host computer 2. A printer information analysis part 23 analyzes the printer information received by a printer information monitor part 21. A hard disk write control part 24 writes the information analyzed by the printer information analysis part 23 as the log file on a hard disk.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はプリンタメンテナン
スシステム及びそのメンテナンス方法並びにその制御プ
ログラムを記録した記録媒体に関し、特にホストコンピ
ュータと双方向通信で接続されているプリンタにおいて
プリンタ情報をホストコンピュータに送信するためのメ
ンテナンス方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer maintenance system, a maintenance method thereof, and a recording medium on which a control program is recorded. In particular, a printer connected to a host computer through bidirectional communication transmits printer information to the host computer. Related to maintenance methods.

【0002】[0002]

【従来の技術】従来、ホストコンピュータと双方向通信
で接続されたプリンタとしては、例えば、図4に示すよ
うに、プリンタ3でエラー情報が検出されると、双方向
通信で接続されているホストコンピュータ4にエラー情
報を送信し、ホストコンピュータ4のモニタ画面にエラ
ーメッセージを表示するものがある。
2. Description of the Related Art Conventionally, as a printer connected to a host computer through bidirectional communication, for example, as shown in FIG. In some cases, error information is transmitted to the computer 4 and an error message is displayed on a monitor screen of the host computer 4.

【0003】プリンタ3はエラーを検出するエラー検出
部31と、エラー情報等をホストコンピュータ4に通知
するプリンタ情報送信部32とから構成されている。ま
た、ホストコンピュータ4はプリンタ3からの情報を監
視するプリンタ情報監視部41と、監視周期を制御する
タイマ制御部42と、エラー情報をホストコンピュータ
のモニタ画面(図示せず)に表示するモニタ画面表示部
43とから構成されている。
The printer 3 includes an error detecting section 31 for detecting an error, and a printer information transmitting section 32 for notifying the host computer 4 of error information and the like. The host computer 4 includes a printer information monitoring unit 41 for monitoring information from the printer 3, a timer control unit 42 for controlling a monitoring cycle, and a monitor screen for displaying error information on a monitor screen (not shown) of the host computer. And a display unit 43.

【0004】上記の構成において、プリンタ3でエラー
が発生すると、エラー検出部31でそのエラーが検出さ
れ、検出されたエラー情報がプリンタ情報としてプリン
タ情報送信部32からホストコンピュータ4に送信され
る。
In the above configuration, when an error occurs in the printer 3, the error is detected by the error detecting section 31, and the detected error information is transmitted from the printer information transmitting section 32 to the host computer 4 as printer information.

【0005】ホストコンピュータ4のプリンタ情報監視
部41はタイマ制御部42で作られた監視周期によって
一定間隔でプリンタ3からの情報を監視しており、プリ
ンタ情報を受信するとモニタ画面表示部43によってホ
ストコンピュータ4のモニタ画面にエラーメッセージの
表示を行う。
A printer information monitoring unit 41 of the host computer 4 monitors information from the printer 3 at regular intervals according to a monitoring cycle created by the timer control unit 42. An error message is displayed on the monitor screen of the computer 4.

【0006】上記のような構成のプリンタではエラーを
検出すると、ホストコンピュータのモニタ画面にエラー
メッセージを表示するのみで、制御プログラムのモジュ
ール状態の詳細がわからず、問題解決には多くの時間と
手間を必要としている。そのため、エラーを検出した時
点でのモジュール状態情報をログすることが必要であ
る。
When an error is detected in the printer having the above configuration, an error message is only displayed on the monitor screen of the host computer, but the details of the module state of the control program are not understood. In need. Therefore, it is necessary to log the module state information at the time when the error is detected.

【0007】このプリンタの状態情報をログする方法と
しては、特開平6−214896号公報に開示された方
法がある。この公報記載の方法では、プリンタとLAN
(Local Area Network)との間に結
合される対話型ネッットワーク基板を使用している。
As a method of logging the printer status information, there is a method disclosed in Japanese Patent Application Laid-Open No. Hei 6-214896. In the method described in this publication, a printer and a LAN
(Local Area Network).

【0008】この方法ではメモリが対話型ネットワーク
基板に結合され、受信したプリンタ状態データを蓄積す
るために使用されている。プリントデータにプリントジ
ョブインデックスの開始と終了とを加えてからプリンタ
に送信し、プリンタ状態要求がプリンタとの間で第一所
定間隔(例えば、毎分)で送受されるようにするため
に、プロセッサも基板に結合される。
In this method, a memory is coupled to the interactive network board and used to store received printer status data. A processor for adding the start and end of the print job index to the print data and transmitting the print data to the printer so that the printer status request is transmitted to and received from the printer at a first predetermined interval (for example, every minute). Is also coupled to the substrate.

【0009】さらに、プロセッサは受信したプリンタ状
態データとジョブインデックスの開始と終了とに基づ
き、第二所定間隔(例えば、毎日)でプリンタ状態統計
を計算する。最後に、プロセッサは計算されたプリンタ
状態統計をメモリに記憶する。
Further, the processor calculates printer status statistics at a second predetermined interval (for example, every day) based on the received printer status data and the start and end of the job index. Finally, the processor stores the calculated printer status statistics in memory.

【0010】[0010]

【発明が解決しようとする課題】上述した従来のプリン
タ状態情報のログ方法では、プリンタをLANに接続し
た場合のみ利用可能であり、かつネットワーク基板とプ
ロセッサとが新たに必要となるため、コストの増加を招
くという問題がある。
The above-described conventional method of logging printer status information can be used only when the printer is connected to a LAN, and requires a new network board and a processor. There is a problem that causes an increase.

【0011】また、エラーの発生を監視していないた
め、エラー発生時点でのモジュール状態情報を取得する
ことができず、ログファイルをメンテナンス時に有効利
用することができないという問題がある。
In addition, since the occurrence of an error is not monitored, there is a problem that the module status information at the time of the occurrence of the error cannot be obtained, and the log file cannot be effectively used at the time of maintenance.

【0012】そこで、本発明の目的は上記の問題点を解
消し、コストの増加を招くことなく、エラー発生時点で
のモジュール状態情報を取得することができ、ログファ
イルをメンテナンス時に有効利用することができるプリ
ンタメンテナンスシステム及びそのメンテナンス方法並
びにその制御プログラムを記録した記録媒体を提供する
ことにある。
Accordingly, an object of the present invention is to solve the above-mentioned problems, to obtain module status information at the time of occurrence of an error without increasing costs, and to effectively use a log file at the time of maintenance. It is an object of the present invention to provide a printer maintenance system, a maintenance method thereof, and a recording medium recording a control program thereof.

【0013】[0013]

【課題を解決するための手段】本発明によるプリンタメ
ンテナンスシステムは、プリンタとホストコンピュータ
とが双方向通信で接続されるプリンタメンテナンスシス
テムであって、前記プリンタのエラーを検出するエラー
検出手段と、前記プリンタの動作を制御するプログラム
のモジュール状態を常時監視する制御モジュール監視手
段と、前記エラー検出手段部で検出されたエラー情報及
び前記制御モジュール監視手段で取得したモジュール状
態の情報を基にプリンタ情報を作成するプリンタ情報作
成手段とを前記プリンタに備え、前記プリンタ情報を解
析するプリンタ情報解析手段と、前記プリンタ情報解析
手段で解析された情報をログファイルとして自装置内に
蓄積する手段とを前記ホストコンピュータに備えてい
る。
A printer maintenance system according to the present invention is a printer maintenance system in which a printer and a host computer are connected by two-way communication, the printer maintenance system comprising: an error detecting means for detecting an error of the printer; Control module monitoring means for constantly monitoring the module status of a program for controlling the operation of the printer; and printer information based on the error information detected by the error detection means and the module status information obtained by the control module monitoring means. The host comprising: a printer information generating unit for generating the printer information; a printer information analyzing unit for analyzing the printer information; and a unit for storing the information analyzed by the printer information analyzing unit as a log file in the host device. Provided in the computer.

【0014】本発明によるプリンタメンテナンス方法
は、プリンタとホストコンピュータとが双方向通信で接
続されるプリンタシステムのプリンタメンテナンス方法
であって、前記プリンタのエラーを検出するステップ
と、前記プリンタの動作を制御するプログラムのモジュ
ール状態を常時監視するステップと、上記のステップで
検出されたエラー情報及びモジュール状態の情報を基に
プリンタ情報を作成するステップとを前記プリンタに備
え、前記プリンタ情報を解析するステップと、その解析
された情報をログファイルとして自装置内に蓄積するス
テップとを前記ホストコンピュータに備えている。
A printer maintenance method according to the present invention is a printer maintenance method for a printer system in which a printer and a host computer are connected by two-way communication, wherein the step of detecting an error of the printer and the operation of the printer are controlled. Providing the printer with a step of constantly monitoring the module state of the program to be executed, and a step of creating printer information based on the error information and module state information detected in the above steps, and analyzing the printer information. And storing the analyzed information as a log file in the host device.

【0015】本発明によるプリンタメンテナンス制御プ
ログラムを記録した記録媒体は、プリンタとホストコン
ピュータとが双方向通信で接続されるプリンタシステム
において、前記プリンタ及び前記ホストコンピュータに
前記プリンタのメンテナンスを行わせるためのプリンタ
メンテナンス制御プログラムを記録した記録媒体であっ
て、前記プリンタメンテナンス制御プログラムは前記プ
リンタに、前記プリンタのエラーを検出させ、前記プリ
ンタの動作を制御するプログラムのモジュール状態を常
時監視させ、検出されたエラー情報及びモジュール状態
の情報を基にプリンタ情報を作成させるとともに、前記
プリンタメンテナンス制御プログラムは前記ホストコン
ピュータに、前記プリンタ情報を解析させ、その解析さ
れた情報をログファイルとして自装置内に蓄積させてい
る。
A recording medium on which a printer maintenance control program according to the present invention is recorded is a recording medium for causing the printer and the host computer to perform maintenance on the printer in a printer system in which the printer and a host computer are connected by bidirectional communication. A recording medium on which a printer maintenance control program is recorded, wherein the printer maintenance control program causes the printer to detect an error of the printer and constantly monitor a module state of a program for controlling the operation of the printer. The printer maintenance control program causes the host computer to analyze the printer information. The printer information is generated based on the error information and the module status information. And it is accumulated in the own device as a file.

【0016】すなわち、本発明のプリンタメンテナンス
システムは、プリンタのエラーを検出するエラー検出部
と、エラー検出部で検出したエラーの情報をホストコン
ピュータに送信するプリンタ情報送信部と、制御モジュ
ールの状態を常時監視している制御モジュール監視部
と、制御モジュール監視部の監視周期を制御するタイマ
制御部と、エラー検出部より検出されたエラーの詳細情
報と制御モジュール監視部より取得したモジュール状態
の情報とからプリンタ情報を作成するプリンタ情報作成
部とをプリンタに配設している。
That is, in the printer maintenance system of the present invention, an error detecting section for detecting an error of the printer, a printer information transmitting section for transmitting information of the error detected by the error detecting section to the host computer, and a state of the control module are provided. A control module monitoring unit that constantly monitors, a timer control unit that controls a monitoring cycle of the control module monitoring unit, detailed information of an error detected by the error detection unit, and information of a module status obtained from the control module monitoring unit. And a printer information creation unit for creating printer information from the printer.

【0017】また、このプリンタメンテナンスシステム
は、プリンタ情報送信部から送信されたプリンタ情報を
監視するプリンタ情報監視部と、プリンタ情報監視部の
監視周期を制御するタイマ制御部と、プリンタ情報監視
部から受信したプリンタ情報をホストコンピュータのモ
ニタ画面に表示するモニタ画面表示部と、プリンタ情報
監視部から受信したプリンタ情報を解析するプリンタ情
報解析部と、プリンタ情報解析部で解析された情報をロ
グファイルとしてハードディスクに書込むハードディス
ク書込み制御部とをホストコンピュータに配設してい
る。
The printer maintenance system includes a printer information monitoring unit for monitoring printer information transmitted from the printer information transmission unit, a timer control unit for controlling a monitoring cycle of the printer information monitoring unit, and a printer information monitoring unit. A monitor screen display unit that displays the received printer information on the monitor screen of the host computer, a printer information analysis unit that analyzes the printer information received from the printer information monitoring unit, and a log file that contains the information analyzed by the printer information analysis unit. A hard disk write control unit for writing to the hard disk is provided in the host computer.

【0018】上記の構成ではプリンタにエラーが発生し
た場合、エラー情報と同期して制御プログラムのモジュ
ール状態情報が取得され、これらエラー情報及びモジュ
ール状態情報からプリンタ情報が作成される。作成され
たプリンタ情報はホストコンピュータに送信され、ログ
ファイルとしてホストコンピュータのハードディスク
に、エラー情報と同期して制御プログラムのモジュール
状態情報がログされる。
In the above configuration, when an error occurs in the printer, module status information of the control program is acquired in synchronization with the error information, and printer information is created from the error information and the module status information. The created printer information is transmitted to the host computer, and the module status information of the control program is logged as a log file on the hard disk of the host computer in synchronization with the error information.

【0019】これによって、ログファイルを記憶させる
媒体としてホストコンピュータのハードディスクを用い
ているため、コストの増加を招くことはない。また、プ
リンタにエラーが発生した場合、エラーが発生した時点
でのモジュール状態情報をログしてあるため、保守を容
易に行うことが可能となる。
Thus, since the hard disk of the host computer is used as a medium for storing the log file, no increase in cost is caused. Further, when an error occurs in the printer, the module status information at the time of occurrence of the error is logged, so that maintenance can be easily performed.

【0020】[0020]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
るプリンタメンテナンスシステムの構成を示すブロック
図である。図において、プリンタ1はエラー検出部11
と、制御モジュール監視部12と、タイマ制御部13
と、プリンタ情報作成部14と、プリンタ情報送信部1
5とから構成されている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a printer maintenance system according to one embodiment of the present invention. In the figure, a printer 1 includes an error detection unit 11
And a control module monitoring unit 12 and a timer control unit 13
, Printer information creation unit 14, printer information transmission unit 1
And 5.

【0021】また、ホストコンピュータ2はプリンタ情
報監視部21と、タイマ制御部22と、プリンタ情報解
析部23と、ハードディスク書込み制御部24と、モニ
タ画面表示部25とから構成されている。
The host computer 2 includes a printer information monitoring unit 21, a timer control unit 22, a printer information analysis unit 23, a hard disk writing control unit 24, and a monitor screen display unit 25.

【0022】エラー検出部11はプリンタ1でエラーが
発生した時にプリンタエラーを検出する。制御モジュー
ル監視部12はプリンタ1の動作を制御しているプログ
ラムを各モジュール毎に監視している。タイマ制御部1
3は制御モジュール監視部12に接続され、制御モジュ
ールの監視周期を制御する。
The error detector 11 detects a printer error when an error occurs in the printer 1. The control module monitoring unit 12 monitors a program controlling the operation of the printer 1 for each module. Timer control unit 1
Reference numeral 3 is connected to the control module monitoring unit 12, and controls a monitoring cycle of the control module.

【0023】プリンタ情報作成部14はエラー検出部1
1で検出されたエラー情報と制御モジュール監視部12
で取得したモジュール情報とを夫々受取り、ホストコン
ピュータ2に通知するためのプリンタ情報を作成する。
プリンタ情報送信部15はプリンタ情報作成部14で作
成されたプリンタ情報をホストコンピュータ2に送信す
る。
The printer information creation unit 14 is provided with an error detection unit 1
Error information detected in step 1 and control module monitoring unit 12
And printer information for notifying the host computer 2 of the received module information.
The printer information transmitting unit 15 transmits the printer information created by the printer information creating unit 14 to the host computer 2.

【0024】プリンタ情報監視部21はプリンタ1のプ
リンタ情報送信部15から送信されるプリンタ情報を監
視し、そのプリンタ情報を受信する。タイマ制御部22
はプリンタ情報監視部21に接続され、プリンタ情報の
監視周期を制御する。
The printer information monitoring unit 21 monitors the printer information transmitted from the printer information transmitting unit 15 of the printer 1, and receives the printer information. Timer control unit 22
Is connected to the printer information monitoring unit 21 and controls a printer information monitoring cycle.

【0025】プリンタ情報解析部23はプリンタ情報監
視部21で受信されたプリンタ情報を解析する。ハード
ディスク書込み制御部24はプリンタ情報解析部23で
解析された情報をハードディスク(図示せず)にログフ
ァイルとして書込む処理を行う。
The printer information analyzer 23 analyzes the printer information received by the printer information monitor 21. The hard disk writing control unit 24 performs a process of writing information analyzed by the printer information analyzing unit 23 to a hard disk (not shown) as a log file.

【0026】モニタ画面表示部25はプリンタ情報監視
部21が受信したプリンタ情報にエラー情報がある場
合、ホストコンピュータ2のモニタ画面(図示せず)に
エラーメッセージを表示する。
When there is error information in the printer information received by the printer information monitoring unit 21, the monitor screen display unit 25 displays an error message on a monitor screen (not shown) of the host computer 2.

【0027】図2は図1のプリンタ1の動作を示すフロ
ーチャートであり、図3は図1のホストコンピュータ2
の動作を示すフローチャートである。これら図1〜図3
を参照して本発明の一実施例によるプリンタ1のメンテ
ナンス処理について説明する。尚、図2及び図3に示す
処理動作はプリンタ1及びホストコンピュータ2各々の
各部が図示せぬ制御メモリのプログラムを実行すること
で実現され、制御メモリとしてはROM(リードオンリ
メモリ)やIC(集積回路)メモリ等が使用可能であ
る。
FIG. 2 is a flowchart showing the operation of the printer 1 shown in FIG. 1. FIG. 3 is a flowchart showing the operation of the host computer 2 shown in FIG.
6 is a flowchart showing the operation of the first embodiment. These FIGS. 1-3
The maintenance process of the printer 1 according to the embodiment of the present invention will be described with reference to FIG. The processing operations shown in FIGS. 2 and 3 are realized by each part of the printer 1 and the host computer 2 executing a program of a control memory (not shown). As the control memory, a ROM (Read Only Memory) or an IC ( An integrated circuit) memory or the like can be used.

【0028】プリンタ1で復旧不可能なエラーが発生し
た場合(図2ステップS1)、エラー検出部11はプリ
ンタ1のエラー情報を取得する(図2ステップS2)。
制御モジュール監視部12はタイマ制御部13で作られ
た監視周期によって一定間隔で制御プログラムの各モジ
ュール状態を情報として取得する(図2ステップS
3)。
When an unrecoverable error occurs in the printer 1 (step S1 in FIG. 2), the error detecting unit 11 acquires error information of the printer 1 (step S2 in FIG. 2).
The control module monitoring unit 12 acquires each module status of the control program as information at regular intervals according to the monitoring cycle created by the timer control unit 13 (step S in FIG. 2).
3).

【0029】プリンタ情報作成部14はエラー検出部1
1で取得したプリンタのエラー情報と、制御モジュール
監視部12で取得したモジュール状態の情報とからプリ
ンタ情報を作成する(図2ステップS4)。プリンタ情
報送信部15はプリンタ情報作成部14で作成されたプ
リンタ情報をホストコンピュータ2に送信する(図2ス
テップS5)。
The printer information creating section 14 is provided with an error detecting section 1
The printer information is created from the printer error information obtained in step 1 and the module status information obtained by the control module monitoring unit 12 (step S4 in FIG. 2). The printer information transmitting unit 15 transmits the printer information created by the printer information creating unit 14 to the host computer 2 (Step S5 in FIG. 2).

【0030】ここで、プリンタ情報とはエラー検出部1
1から復旧不可能なプリンタ1のエラー情報を取得した
場合、制御モジュール監視部12から取得した制御プロ
グラムの各モジュール状態の情報を基に作成される復旧
不可能なエラーが発生した時点での制御プログラムの各
モジュール状態を示す情報である。
Here, the printer information is the error detection unit 1
When the error information of the unrecoverable printer 1 is obtained from the control module 1, the control at the time when the unrecoverable error occurs is created based on the information of each module state of the control program obtained from the control module monitoring unit 12. This is information indicating the status of each module of the program.

【0031】また、プリンタ情報にはエラーが発生して
いない場合に、制御モジュール監視部12で一定周期で
常に取得されている正常な制御プログラムの各モジュー
ル状態を示す情報も含まれている。
Further, the printer information also includes information indicating the status of each module of a normal control program which is constantly acquired by the control module monitoring unit 12 at regular intervals when no error has occurred.

【0032】プリンタ情報監視部21はタイマ制御部2
2で作られた監視周期によって一定間隔でプリンタ情報
送信部15から送信されたプリンタ情報を受信する(図
3ステップS11)。
The printer information monitoring unit 21 includes a timer control unit 2
The printer information transmitted from the printer information transmitting unit 15 is received at regular intervals according to the monitoring cycle created in step 2 (step S11 in FIG. 3).

【0033】プリンタ情報解析部23はプリンタ情報監
視部21がプリンタ情報送信部15から受信したプリン
タ情報を詳細に解析し、エラーが発生しているかどうか
を判断する(図3ステップS12)。
The printer information analyzer 23 analyzes the printer information received from the printer information transmitter 15 by the printer information monitor 21 in detail, and determines whether an error has occurred (step S12 in FIG. 3).

【0034】プリンタ情報解析部23はエラーが発生し
ていればモニタ画面表示部25にそのエラー発生を通知
し、モニタ画面表示部25によってホストコンピュータ
2のモニタ画面でエラーメッセージを表示し、ユーザに
通知する(図3ステップS13)。
If an error has occurred, the printer information analysis unit 23 notifies the monitor screen display unit 25 of the occurrence of the error, displays an error message on the monitor screen of the host computer 2 by the monitor screen display unit 25, and provides the user with an error message. Notify (step S13 in FIG. 3).

【0035】プリンタ情報解析部23で解析されたプリ
ンタ情報はハードディスク書込み制御部24に送られる
ので、ハードディスク書込み制御部24はハードディス
ク上にログファイルを作成する。
Since the printer information analyzed by the printer information analysis unit 23 is sent to the hard disk write control unit 24, the hard disk write control unit 24 creates a log file on the hard disk.

【0036】この場合、ログファイルの容量上限値を予
め決めておき、ハードディスク書込み制御部24が書込
み処理を行う前に既に作られているログファイルの容量
がオーバしていないかどうかのチェックを行う(図3ス
テップS14)。
In this case, the upper limit value of the log file capacity is determined in advance, and before the hard disk writing control unit 24 performs the writing process, it is checked whether or not the capacity of the already created log file has exceeded. (Step S14 in FIG. 3).

【0037】ハードディスク書込み制御部24はログフ
ァイルの容量がオーバしていれば、プリンタ情報解析部
23で解析されたプリンタ情報をログファイル内の一番
古いログに上書きする(図3ステップS16)。
If the capacity of the log file is over, the hard disk writing control unit 24 overwrites the printer information analyzed by the printer information analysis unit 23 with the oldest log in the log file (step S16 in FIG. 3).

【0038】また、ハードディスク書込み制御部24は
ログファイルの容量がオーバしていなければ、プリンタ
情報解析部23で解析されたプリンタ情報をログファイ
ル内に追加する(図3ステップS15)。
If the capacity of the log file does not exceed the limit, the hard disk write controller 24 adds the printer information analyzed by the printer information analyzer 23 to the log file (step S15 in FIG. 3).

【0039】このように、制御プログラムの各モジュー
ル状態を監視する制御モジュール監視部12と、制御モ
ジュール監視部12の監視周期を制御するタイマ制御部
13と、エラーが発生した場合にエラーが発生した時点
での制御プログラムの各モジュール状態を示す情報を基
にプリンタ情報を作成するプリンタ情報作成部14と、
そのプリンタ情報をハードディスクにログファイルとし
て書込むハードディスク書込み制御部24をシステム内
に設けることによって、プリンタ1でエラーが発生して
も、制御プログラムの各モジュール状態の詳細情報が一
定周期でログファイルとしてハードディスクに作成され
ることとなる。
As described above, the control module monitoring unit 12 for monitoring the status of each module of the control program, the timer control unit 13 for controlling the monitoring cycle of the control module monitoring unit 12, and the occurrence of an error when an error occurs. A printer information creation unit 14 for creating printer information based on information indicating each module state of the control program at the time;
By providing a hard disk write control unit 24 for writing the printer information to the hard disk as a log file in the system, even if an error occurs in the printer 1, detailed information of each module state of the control program is stored in a log file at a constant cycle. It will be created on the hard disk.

【0040】ログファイルにはエラー発生日、エラー内
容、モジュール名、エラー箇所のアドレス、処理内容等
が記憶されているため、ログファイルを設計元に送付す
るだけで容易に調査や解析を行うことができる。
Since the log file stores the date of occurrence of the error, the content of the error, the module name, the address of the error location, the processing content, and the like, the log file can be easily investigated and analyzed simply by sending it to the design source. Can be.

【0041】また、従来の技術のようなネットワーク基
板内のメモリを使用せず、ホストコンピュータ2のハー
ドディスクを使用しているので、コストの増加を招くこ
となく、プリンタ1のメンテナンス機能を提供すること
ができる。
Further, since the hard disk of the host computer 2 is used without using the memory in the network board as in the prior art, the maintenance function of the printer 1 can be provided without increasing the cost. Can be.

【0042】したがって、コストの増加を招くことな
く、エラー発生時点でのモジュール状態情報を取得する
ことができるとともに、ログファイルをメンテナンス時
に有効利用することができる。
Therefore, the module status information at the time of occurrence of the error can be obtained without increasing the cost, and the log file can be effectively used at the time of maintenance.

【0043】[0043]

【発明の効果】以上説明したように本発明によれば、プ
リンタとホストコンピュータとが双方向通信で接続され
るプリンタシステムにおいて、プリンタに、プリンタの
エラーを検出させ、プリンタの動作を制御するプログラ
ムのモジュール状態を常時監視させ、検出されたエラー
情報及びモジュール状態の情報を基にプリンタ情報を作
成させるとともに、ホストコンピュータに、プリンタ情
報を解析させ、その解析された情報をログファイルとし
て自装置内に蓄積させることによって、コストの増加を
招くことなく、エラー発生時点でのモジュール状態情報
を取得することができ、ログファイルをメンテナンス時
に有効利用することができるという効果がある。
As described above, according to the present invention, in a printer system in which a printer and a host computer are connected by bidirectional communication, a program for causing a printer to detect a printer error and to control the operation of the printer is provided. Module status is monitored at all times, printer information is created based on the detected error information and module status information, and the host computer analyzes the printer information, and the analyzed information is stored as a log file in its own device. The module status information at the time of occurrence of the error can be obtained without increasing the cost, and the log file can be effectively used at the time of maintenance.

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

【図1】本発明の一実施例によるプリンタメンテナンス
システムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printer maintenance system according to an embodiment of the present invention.

【図2】図1のプリンタの動作を示すフローチャートで
ある。
FIG. 2 is a flowchart illustrating an operation of the printer of FIG. 1;

【図3】図1のホストコンピュータの動作を示すフロー
チャートである。
FIG. 3 is a flowchart illustrating an operation of the host computer of FIG. 1;

【図4】従来例によるプリンタメンテナンスシステムの
構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a conventional printer maintenance system.

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

1 プリンタ 2 ホストコンピュータ 11 エラー検出部 12 制御モジュール監視部 13,22 タイマ制御部 14 プリンタ情報作成部 15 プリンタ情報送信部 21 プリンタ情報監視部 23 プリンタ情報解析部 24 ハードディスク書込み制御部 25 モニタ画面表示部 Reference Signs List 1 printer 2 host computer 11 error detection unit 12 control module monitoring unit 13, 22 timer control unit 14 printer information creation unit 15 printer information transmission unit 21 printer information monitoring unit 23 printer information analysis unit 24 hard disk writing control unit 25 monitor screen display unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 プリンタとホストコンピュータとが双方
向通信で接続されるプリンタメンテナンスシステムであ
って、 前記プリンタのエラーを検出するエラー検出手段と、 前記プリンタの動作を制御するプログラムのモジュール
状態を常時監視する制御モジュール監視手段と、 前記エラー検出手段部で検出されたエラー情報及び前記
制御モジュール監視手段で取得したモジュール状態の情
報を基にプリンタ情報を作成するプリンタ情報作成手段
とを前記プリンタに有し、 前記プリンタ情報を解析するプリンタ情報解析手段と、 前記プリンタ情報解析手段で解析された情報をログファ
イルとして自装置内に蓄積する手段とを前記ホストコン
ピュータに有することを特徴とするプリンタメンテナン
スシステム。
1. A printer maintenance system in which a printer and a host computer are connected by two-way communication, wherein an error detecting means for detecting an error of the printer, and a module state of a program for controlling the operation of the printer are constantly maintained. The printer comprises: a control module monitoring means for monitoring; and a printer information creation means for creating printer information based on the error information detected by the error detection means and the module status information acquired by the control module monitoring means. A printer information analyzing means for analyzing the printer information; and a means for storing information analyzed by the printer information analyzing means in its own device as a log file in the host computer. .
【請求項2】 前記制御モジュール監視手段による監視
周期を制御する手段を前記プリンタに含むことを特徴と
する請求項1記載のプリンタメンテナンスシステム。
2. The printer maintenance system according to claim 1, wherein said printer includes means for controlling a monitoring cycle by said control module monitoring means.
【請求項3】 前記プリンタ情報の受信を監視するプリ
ンタ情報監視手段と、前記プリンタ情報監視手段による
監視周期を制御する手段とを前記ホストコンピュータに
含むことを特徴とする請求項1または請求項2記載のプ
リンタメンテナンスシステム。
3. The host computer according to claim 1, wherein the host computer includes a printer information monitoring unit that monitors reception of the printer information, and a unit that controls a monitoring cycle of the printer information monitoring unit. The printer maintenance system as described.
【請求項4】 前記ログファイルを自装置内に蓄積する
手段は、前記プリンタ情報解析手段で解析された情報を
ログファイルとして自装置内のハードディスク装置に書
込むよう構成したことを特徴とする請求項1から請求項
3のいずれか記載のプリンタメンテナンスシステム。
4. The apparatus according to claim 1, wherein said means for accumulating said log file in its own device writes information analyzed by said printer information analyzing means as a log file to a hard disk device in its own device. The printer maintenance system according to any one of claims 1 to 3.
【請求項5】 プリンタとホストコンピュータとが双方
向通信で接続されるプリンタシステムのプリンタメンテ
ナンス方法であって、 前記プリンタのエラーを検出するステップと、 前記プリンタの動作を制御するプログラムのモジュール
状態を常時監視するステップと、 上記のステップで検出されたエラー情報及びモジュール
状態の情報を基にプリンタ情報を作成するステップとを
前記プリンタに有し、 前記プリンタ情報を解析するステップと、 その解析された情報をログファイルとして自装置内に蓄
積するステップとを前記ホストコンピュータに有するこ
とを特徴とするプリンタメンテナンス方法。
5. A printer maintenance method for a printer system in which a printer and a host computer are connected by bidirectional communication, the method comprising: detecting an error of the printer; and setting a module state of a program for controlling the operation of the printer. The printer having: a step of constantly monitoring; and a step of creating printer information based on the error information and the module status information detected in the above steps, and analyzing the printer information. Storing the information as a log file in its own device in the host computer.
【請求項6】 前記プログラムのモジュール状態を常時
監視するステップは、予め設定された監視周期で前記モ
ジュール状態を監視するようにしたことを特徴とする請
求項5記載のプリンタメンテナンス方法。
6. The printer maintenance method according to claim 5, wherein the step of constantly monitoring the module status of the program monitors the module status at a preset monitoring cycle.
【請求項7】 前記プリンタ情報の受信を予め設定され
た監視周期で監視するステップを前記ホストコンピュー
タに含むことを特徴とする請求項5または請求項6記載
のプリンタメンテナンス方法。
7. The printer maintenance method according to claim 5, wherein the host computer includes a step of monitoring the reception of the printer information at a preset monitoring cycle.
【請求項8】 前記ログファイルを自装置内に蓄積する
ステップは、解析された情報をログファイルとして自装
置内のハードディスク装置に書込むようにしたことを特
徴とする請求項5から請求項7のいずれか記載のプリン
タメンテナンス方法。
8. The apparatus according to claim 5, wherein the step of storing the log file in the own device writes the analyzed information as a log file in a hard disk device in the own device. The printer maintenance method according to any one of the above.
【請求項9】 プリンタとホストコンピュータとが双方
向通信で接続されるプリンタシステムにおいて、前記プ
リンタ及び前記ホストコンピュータに前記プリンタのメ
ンテナンスを行わせるためのプリンタメンテナンス制御
プログラムを記録した記録媒体であって、 前記プリンタメンテナンス制御プログラムは前記プリン
タに、前記プリンタのエラーを検出させ、前記プリンタ
の動作を制御するプログラムのモジュール状態を常時監
視させ、検出されたエラー情報及びモジュール状態の情
報を基にプリンタ情報を作成させるとともに、 前記プリンタメンテナンス制御プログラムは前記ホスト
コンピュータに、前記プリンタ情報を解析させ、その解
析された情報をログファイルとして自装置内に蓄積させ
ることを特徴とするプリンタメンテナンス制御プログラ
ムを記録した記録媒体。
9. A recording medium recording a printer maintenance control program for causing the printer and the host computer to perform maintenance of the printer in a printer system in which the printer and a host computer are connected by bidirectional communication. The printer maintenance control program causes the printer to detect an error of the printer, constantly monitor a module status of a program for controlling the operation of the printer, and perform printer information based on the detected error information and module status information. The printer maintenance control program causes the host computer to analyze the printer information and accumulate the analyzed information in its own device as a log file. A recording medium recording a control program.
JP10315729A 1998-11-06 1998-11-06 System and method for printer maintenance and recording medium recorded with control program therefor Pending JP2000148430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10315729A JP2000148430A (en) 1998-11-06 1998-11-06 System and method for printer maintenance and recording medium recorded with control program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10315729A JP2000148430A (en) 1998-11-06 1998-11-06 System and method for printer maintenance and recording medium recorded with control program therefor

Publications (1)

Publication Number Publication Date
JP2000148430A true JP2000148430A (en) 2000-05-30

Family

ID=18068839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10315729A Pending JP2000148430A (en) 1998-11-06 1998-11-06 System and method for printer maintenance and recording medium recorded with control program therefor

Country Status (1)

Country Link
JP (1) JP2000148430A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002088923A2 (en) * 2001-04-27 2002-11-07 Oce Printing Systems Gmbh Method, device system and computer program system for carrying out maintenance on a printing or copying system
US8264728B2 (en) 2007-08-30 2012-09-11 Brother Kogyo Kabushiki Kaisha Log collecting system, computer apparatus and log collecting program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002088923A2 (en) * 2001-04-27 2002-11-07 Oce Printing Systems Gmbh Method, device system and computer program system for carrying out maintenance on a printing or copying system
WO2002088923A3 (en) * 2001-04-27 2003-04-10 Oce Printing Systems Gmbh Method, device system and computer program system for carrying out maintenance on a printing or copying system
US8264728B2 (en) 2007-08-30 2012-09-11 Brother Kogyo Kabushiki Kaisha Log collecting system, computer apparatus and log collecting program

Similar Documents

Publication Publication Date Title
US7319388B2 (en) Image processor, abnormality reporting method and abnormality reporting program
US20070271140A1 (en) Electronic Advertisement Management Apparatus, Electronic Advertisement Client Apparatus, Computer Readable Medium, And Electronic Advertisement System
US7908361B2 (en) Computer maintenance support system and analysis server
US7478273B2 (en) Computer system including active system and redundant system and state acquisition method
JP2000148430A (en) System and method for printer maintenance and recording medium recorded with control program therefor
JPH11353819A (en) Disk device and its prevention maintenance method
US20050278780A1 (en) System and method for monitoring processing in a document processing peripheral
JP4128611B1 (en) Client terminal monitoring system
JPH0930092A (en) Self-diagnosing device
JP3620984B2 (en) Computer automatic schedule control system, recording medium therefor, and computer automatic schedule control method
JP2010214932A (en) Printer controller and printer provided with the same
KR100792242B1 (en) Operating method and system of remote recording
JP2008146387A (en) System and method for detecting failure
JP2007017247A (en) Monitoring system and monitoring apparatus
JPH09305439A (en) Fault monitoring and reporting device for distributedly arranged computer systems
JP3226819B2 (en) Printer monitor system
JP3172312B2 (en) Monitoring system
JPH04332227A (en) Failure information transmission destination control system
JP2002063051A (en) Software operation monitoring system, recording medium therefor and software operation monitoring method
JP2013156730A (en) Failure information processing device, failure information processing method and failure information processing program
JPH11312082A (en) Data processing method and device
JPH11149396A (en) Hardware fault reporting system
JP2004348376A (en) Print system
JPH1032930A (en) Operation support system for power system monitoring control system
JP2007114908A (en) Operation monitoring system for backup system using magnetic tape

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031007