JP2009201060A - Image forming apparatus, and image processing system - Google Patents

Image forming apparatus, and image processing system Download PDF

Info

Publication number
JP2009201060A
JP2009201060A JP2008043342A JP2008043342A JP2009201060A JP 2009201060 A JP2009201060 A JP 2009201060A JP 2008043342 A JP2008043342 A JP 2008043342A JP 2008043342 A JP2008043342 A JP 2008043342A JP 2009201060 A JP2009201060 A JP 2009201060A
Authority
JP
Japan
Prior art keywords
unit
printer
image
failure
image data
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
Application number
JP2008043342A
Other languages
Japanese (ja)
Other versions
JP4866377B2 (en
Inventor
Fumio Tanaka
文雄 田中
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.)
Oki Electric Industry Co Ltd
Oki Data Systems Co Ltd
Original Assignee
Oki Data Corp
Oki Data Systems Co 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 Oki Data Corp, Oki Data Systems Co Ltd filed Critical Oki Data Corp
Priority to JP2008043342A priority Critical patent/JP4866377B2/en
Publication of JP2009201060A publication Critical patent/JP2009201060A/en
Application granted granted Critical
Publication of JP4866377B2 publication Critical patent/JP4866377B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent work, that is performed by another operator while operating another image processor, from being disturbed in the case that a fault occurs in an image forming apparatus. <P>SOLUTION: A plurality of image processors are connected via a network. A receiving unit for receiving image data; an image forming unit for forming an image based on received image data; a fault occurrence detection unit for detecting occurrence of a fault in an image forming apparatus; and a fault information transmission unit for transmitting fault information, when it is detected that the fault occurs, only to an image processor that transmits image data under image formation in the image forming unit or image data waiting for image formation, are included in an image forming apparatus. When a fault occurs in the image forming apparatus, fault information is transmitted only to the image processor, that transmits image data, thereby preventing work that is performed by another operator while operating the other image processor, from being disturbed. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像形成装置及び画像処理システムに関するものである。   The present invention relates to an image forming apparatus and an image processing system.

従来、画像処理装置、例えば、ホストコンピュータと、複写機、ファクシミリ、複合機等の画像形成装置、例えば、プリンタとがネットワークを介して接続された画像処理システムにおいては、ホストコンピュータにおいてプリンタの状態を監視するようになっている。そのために、前記ホストコンピュータに状態監視部が配設され、該状態監視部は、例えば、プリンタにおいてカバーが開放され、カバーオープンの状態に置かれ、印刷をすることができない場合、ホストコンピュータの表示装置に、障害が発生したことを表す情報、すなわち、障害情報を表示し、操作者に障害の発生を通知するようになっている(例えば、特許文献1参照。)。
特開平9−244966号公報
2. Description of the Related Art Conventionally, in an image processing system in which an image processing apparatus such as a host computer and an image forming apparatus such as a copying machine, a facsimile machine, or a multi-function machine, such as a printer, are connected via a network, the status of the printer is changed in the host computer. It comes to monitor. For this purpose, a status monitoring unit is provided in the host computer, and the status monitoring unit displays, for example, a display of the host computer when a cover is opened in a printer and is placed in a cover open state and printing cannot be performed. Information indicating that a failure has occurred, that is, failure information is displayed on the apparatus, and the operator is notified of the occurrence of the failure (see, for example, Patent Document 1).
Japanese Patent Laid-Open No. 9-244966

しかしながら、前記従来の画像処理システムにおいては、複数のホストコンピュータと一つのプリンタとが接続され、複数の操作者が前記プリンタを共用する場合に、一人の操作者がプリンタを使用していて障害が発生すると、各操作者全員のホストコンピュータにおいて、表示装置に障害情報が表示されるので、プリンタを使用していない操作者にとって予期しない表示が行われ、作業が妨害されてしまう。   However, in the conventional image processing system, when a plurality of host computers and one printer are connected and a plurality of operators share the printer, one operator is using the printer and there is a problem. When this occurs, failure information is displayed on the display device in the host computers of all the operators, so that an unexpected display is performed for an operator who does not use the printer, and the operation is hindered.

本発明は、前記従来の画像処理システムの問題点を解決して、操作者が画像処理装置を操作して画像形成装置による所定の処理を行っていて、該画像形成装置において障害が発生した場合に、他の操作者が他の画像処理装置を操作して行っている作業を妨害することがない画像処理装置及び画像処理システムを提供することを目的とする。   The present invention solves the problems of the conventional image processing system, and an operator operates the image processing apparatus to perform predetermined processing by the image forming apparatus, and a failure occurs in the image forming apparatus Another object of the present invention is to provide an image processing apparatus and an image processing system that do not interfere with operations performed by other operators operating other image processing apparatuses.

そのために、本発明の画像処理装置においては、複数の画像処理装置がネットワークを介して接続されるようになっている。   Therefore, in the image processing apparatus of the present invention, a plurality of image processing apparatuses are connected via a network.

そして、前記各画像処理装置のうちの所定の画像処理装置から画像データを受信する受信部と、該受信部によって受信された画像データに基づいて画像を形成する画像形成部と、前記画像形成装置において障害が発生したことを検出する障害発生検出部と、前記障害が発生したことが検出されたときに、前記画像形成部における画像形成中の画像データ又は画像形成待ちの画像データの送信元の画像処理装置だけに障害情報を送信する障害情報送信部とを有する。   A receiving unit that receives image data from a predetermined image processing device among the image processing devices; an image forming unit that forms an image based on the image data received by the receiving unit; and the image forming device. A failure occurrence detection unit that detects that a failure has occurred, and a transmission source of image data during image formation or image data waiting for image formation in the image formation unit when the occurrence of the failure is detected. A failure information transmission unit that transmits failure information only to the image processing apparatus.

本発明によれば、画像処理装置においては、複数の画像処理装置がネットワークを介して接続されるようになっている。   According to the present invention, in an image processing apparatus, a plurality of image processing apparatuses are connected via a network.

そして、前記各画像処理装置のうちの所定の画像処理装置から画像データを受信する受信部と、該受信部によって受信された画像データに基づいて画像を形成する画像形成部と、前記画像形成装置において障害が発生したことを検出する障害発生検出部と、前記障害が発生したことが検出されたときに、前記画像形成部における画像形成中の画像データ又は画像形成待ちの画像データの送信元の画像処理装置だけに障害情報を送信する障害情報送信部とを有する。   A receiving unit that receives image data from a predetermined image processing device among the image processing devices; an image forming unit that forms an image based on the image data received by the receiving unit; and the image forming device. A failure occurrence detection unit that detects that a failure has occurred, and a transmission source of image data during image formation or image data waiting for image formation in the image formation unit when the occurrence of the failure is detected. A failure information transmission unit that transmits failure information only to the image processing apparatus.

この場合、前記画像形成装置において障害が発生したことが検出されると、画像形成部における画像形成中の画像データ又は画像形成待ちの画像データの送信元の画像処理装置だけに障害情報が送信されるので、操作者が画像処理装置を操作して画像形成装置による所定の処理を行っていて、該画像形成装置において障害が発生した場合に、他の操作者が他の画像処理装置を操作して行っている作業を妨害することがない。   In this case, when it is detected that a failure has occurred in the image forming apparatus, the failure information is transmitted only to the image processing apparatus that is the transmission source of the image data that is being formed by the image forming unit or the image data that is waiting for image formation. Therefore, when an operator operates the image processing apparatus to perform predetermined processing by the image forming apparatus and a failure occurs in the image forming apparatus, another operator operates the other image processing apparatus. Will not interfere with the work being performed.

以下、本発明の実施の形態について図面を参照しながら詳細に説明する。この場合、画像処理装置としてのホストコンピュータと、画像形成装置としてのプリンタとを接続することによって形成された画像処理システムについて説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this case, an image processing system formed by connecting a host computer as an image processing apparatus and a printer as an image forming apparatus will be described.

図2は本発明の第1の実施の形態における画像処理システムを示すブロック図である。   FIG. 2 is a block diagram showing the image processing system according to the first embodiment of the present invention.

図に示されるように、ホストコンピュータPCi(1、2、…、x、…、n)とプリンタ50とが接続され、画像処理システムが構成される。該画像処理システムにおいて、各ホストコンピュータPCiは、順次、プリンタ50のステータス情報の確認、すなわち、ポーリングを行う(まず、ホストコンピュータPC1がプリンタ50にステータス情報の確認を行い、次に、ホストコンピュータPC2がプリンタ50にステータス情報の確認を行い、その次に、ホストコンピュータPC3がプリンタ50にステータス情報の確認を行い、…)ようになっている。   As shown in the figure, the host computer PCi (1, 2,..., X,..., N) and the printer 50 are connected to constitute an image processing system. In the image processing system, each host computer PCi sequentially checks the status information of the printer 50, that is, polls (the host computer PC1 first checks the printer 50 for status information, and then the host computer PC2). Confirms the status information to the printer 50, and then the host computer PC3 confirms the status information to the printer 50, and so on.

所定のホストコンピュータ、例えば、ホストコンピュータPCxが送信したジョブについてプリンタ50が処理、本実施の形態においては、印刷を行っているときに、プリンタ50において障害が発生すると、プリンタ50は、どのホストコンピュータから送信されたジョブについて印刷を行っているときに障害が発生したかを判断し、処理中のジョブ(以下「処理中ジョブ」という。)の送信元であるホストコンピュータPCxに、障害が発生したこと、及び発生した障害の内容を表す情報である障害情報を送信し、ホストコンピュータPCxの表示装置の画面上に障害情報をポップアップで表示(アラーム表示)を行う。   The printer 50 processes a job transmitted by a predetermined host computer, for example, the host computer PCx. In the present embodiment, if a failure occurs in the printer 50 while printing is being performed, the printer 50 is assigned to which host computer. It is determined whether a failure has occurred during printing for the job sent from the host, and a failure has occurred in the host computer PCx that is the transmission source of the job being processed (hereinafter referred to as “processing job”) And failure information, which is information representing the content of the failure that has occurred, is displayed in a pop-up (alarm display) on the screen of the display device of the host computer PCx.

この場合、ホストコンピュータPCx以外のホストコンピュータPC1、PC2、…、PCx−1、PCx+1、…、PCnが、プリンタ50に対してポーリングを行っても、処理中ジョブの送信元ではないので、障害情報は送信されない。   In this case, even if the host computers PC1, PC2,..., PCx-1, PCx + 1,..., PCn other than the host computer PCx poll the printer 50, they are not the transmission source of the job being processed. Will not be sent.

次に、前記構成の画像処理システムの詳細について説明する。   Next, details of the image processing system configured as described above will be described.

図1は本発明の第1の実施の形態におけるホストコンピュータの説明図である。   FIG. 1 is an explanatory diagram of a host computer according to the first embodiment of this invention.

図に示されるように、ホストコンピュータPCiとプリンタ50とが、ネットワークケーブルによって、所定のネットワーク、本実施の形態においては、Transmission Control Protocol/Internet Protocol(以下「TCP/IP」という。)に従ったTCP/IPネットワークを介して接続される。   As shown in the figure, the host computer PCi and the printer 50 are in accordance with a predetermined network, in this embodiment, a transmission control protocol / internet protocol (hereinafter referred to as “TCP / IP”) by a network cable. Connected via a TCP / IP network.

前記ホストコンピュータPCiは、ホストコンピュータPCiの本体、すなわち、装置本体10、並びに該装置本体10に接続された表示装置30及び入力装置40を備える。前記表示装置30は、例えば、モニタであり、前記表示装置30の画面に各種の情報を表示することによって、該情報を操作者に通知することができる。また、入力装置40は、例えば、キーボード、マウス等であり、操作者は入力装置40を操作することによって、ホストコンピュータPCiを動作させることができる。   The host computer PCi includes a main body of the host computer PCi, that is, a device main body 10, and a display device 30 and an input device 40 connected to the device main body 10. The display device 30 is, for example, a monitor, and can display the information to the operator by displaying various information on the screen of the display device 30. Further, the input device 40 is, for example, a keyboard, a mouse, or the like, and the operator can operate the host computer PCi by operating the input device 40.

前記装置本体10は、データ処理用のアプリケーション11、プリントスプーラ12、プリンタドライバ13、プリントモニタ14、ポートモニタ15、状態監視部20及び計時機構部16を備える。なお、前記プリンタドライバ13、状態監視部20等は、ホストコンピュータPCiにインストールされたアプリケーションによって構成される。   The apparatus main body 10 includes a data processing application 11, a print spooler 12, a printer driver 13, a print monitor 14, a port monitor 15, a state monitoring unit 20, and a timing mechanism unit 16. The printer driver 13, the status monitoring unit 20, and the like are configured by applications installed in the host computer PCi.

前記アプリケーション11は、操作者によって、表示装置30、入力装置40等が使用されて印刷の指示が行われると、保有するアプリケーションデータ11aに基づいて、プリントスプーラ12が受付可能なコマンド、すなわち、描画コマンド(例えば、Graphic Device Interfaceコマンド)を作成し、プリントスプーラ12に送信(発行)する。   The application 11 is a command that can be received by the print spooler 12 based on the application data 11a held when the operator uses the display device 30, the input device 40, or the like to issue a print instruction. A command (for example, a Graphic Device Interface command) is created and transmitted (issued) to the print spooler 12.

該プリントスプーラ12は、アプリケーション11から描画コマンドを受信すると、該描画コマンドをプリンタドライバ13に送信し、該プリンタドライバ13は、プリントスプーラ12から受信した描画コマンドに対応させて、プリンタ50で印刷可能な画像データを生成し、プリントスプーラ12に送信する。続いて、該プリントスプーラ12は、受信した画像データを蓄積するとともに、蓄積した画像データを順次プリントモニタ14に送信する。   When the print spooler 12 receives a drawing command from the application 11, the print spooler 12 transmits the drawing command to the printer driver 13, and the printer driver 13 can print with the printer 50 corresponding to the drawing command received from the print spooler 12. Image data is generated and transmitted to the print spooler 12. Subsequently, the print spooler 12 accumulates the received image data and sequentially transmits the accumulated image data to the print monitor 14.

該プリントモニタ14は、ホストコンピュータPCiからプリンタ50に画像データを送信するための送信処理部として機能し、プリントスプーラ12から受信した画像データを順次ポートモニタ15に送信する。該ポートモニタ15は、ポート通信部(Port9100通信部)15aを備え、該ポート通信部15aによってプリンタ50に画像データを送信する。なお、前記ポート通信部15aは、TCP/IPに従ってプリンタ50の所定のポート、本実施の形態においては、ポート番号9100に対して通信を行う。   The print monitor 14 functions as a transmission processing unit for transmitting image data from the host computer PCi to the printer 50, and sequentially transmits the image data received from the print spooler 12 to the port monitor 15. The port monitor 15 includes a port communication unit (Port 9100 communication unit) 15a, and transmits image data to the printer 50 by the port communication unit 15a. The port communication unit 15a communicates with a predetermined port of the printer 50 according to TCP / IP, in the present embodiment, the port number 9100.

前記状態監視部20は、プリンタ50の状態を周期的に監視し、プリンタ50において障害が発生すると、プリンタ50から障害情報を受信し、受信した障害情報を表示装置30の画面にポップアップによって表示して、操作者に障害の発生を通知する。   The status monitoring unit 20 periodically monitors the status of the printer 50. When a fault occurs in the printer 50, the status monitoring unit 20 receives fault information from the printer 50, and displays the received fault information on the screen of the display device 30 by pop-up. To notify the operator of the occurrence of the failure.

前記計時機構部16は、状態監視部20がプリンタ50を周期的に監視するタイミングを採るために計時を行い、時刻情報を発生させる。   The time measuring mechanism 16 measures time to generate timing information in order to take a timing at which the state monitoring unit 20 periodically monitors the printer 50.

なお、状態監視部20にプリンタドライバ情報及びコンピュータ名が、プリンタドライバ13にコンピュータ名が入力される。前記プリンタドライバ情報は、状態監視部20が動作を開始する際に、プリンタドライバ13のインストールに伴って登録された情報であり、操作者が、複数のプリンタの中から所定のプリンタ50を選択する際に参照される。また、コンピュータ名は、ホストコンピュータPCiが、前記TCP/IPネットワークに接続される際に登録されたホストコンピュータPCiの名称であり、前記TCP/IPネットワーク上において、各ホストコンピュータPCiは一つのコンピュータ名を有する。   The printer driver information and the computer name are input to the status monitoring unit 20, and the computer name is input to the printer driver 13. The printer driver information is information registered with the installation of the printer driver 13 when the state monitoring unit 20 starts operation. The operator selects a predetermined printer 50 from a plurality of printers. Referenced when. The computer name is the name of the host computer PCi registered when the host computer PCi is connected to the TCP / IP network. Each host computer PCi is a computer name on the TCP / IP network. Have

次に、前記状態監視部20について説明する。   Next, the state monitoring unit 20 will be described.

図3は本発明の第1の実施の形態における状態監視部の説明図、図4は本発明の第1の実施の形態における障害情報を表示するためのポップアップの例を示す図、図5は本発明の第1の実施の形態におけるステータスコード情報部の記録内容を示す図、図6は本発明の第1の実施の形態におけるプリンタを選択するためのポップアップの例を示す図である。   FIG. 3 is an explanatory diagram of the state monitoring unit according to the first embodiment of the present invention, FIG. 4 is a diagram illustrating an example of a pop-up for displaying failure information according to the first embodiment of the present invention, and FIG. FIG. 6 is a diagram showing recorded contents of a status code information section in the first embodiment of the present invention, and FIG. 6 is a diagram showing an example of a pop-up for selecting a printer in the first embodiment of the present invention.

図3に示されるように、状態監視部20は、障害通知部21、通知条件判定部22、識別情報検出部としての処理中ジョブコンピュータ名判定部23、状態判定部としてのステータス判定部24、ステータスコード情報部25、画像形成装置選択部としてのプリンタドライバ選択部26、情報監視部としてのステータス監視部27、IPアドレス保存部28、及び画像形成装置情報取得部としてのプリンタ情報取得部29を備える。   As shown in FIG. 3, the state monitoring unit 20 includes a failure notification unit 21, a notification condition determination unit 22, an in-process job computer name determination unit 23 as an identification information detection unit, a status determination unit 24 as a state determination unit, A status code information section 25, a printer driver selection section 26 as an image forming apparatus selection section, a status monitoring section 27 as an information monitoring section, an IP address storage section 28, and a printer information acquisition section 29 as an image forming apparatus information acquisition section. Prepare.

前記障害通知部21は、プリンタ50から障害情報が送信されると、図4に示されるように、表示装置30(図1)に形成された障害表示画面としてのポップアップ70に、障害情報を障害の内容を表すメッセージ70aによって表示することにより、障害の発生を操作者に通知する。   When failure information is transmitted from the printer 50, the failure notification unit 21 displays failure information on a pop-up 70 as a failure display screen formed on the display device 30 (FIG. 1) as shown in FIG. Is displayed by a message 70a representing the content of the error, the operator is notified of the occurrence of the failure.

そのために、前記通知条件判定部22は、ステータス判定部24から送信されたメッセージ70a、及び前記処理中ジョブコンピュータ名判定部23から送信された処理中ジョブコンピュータ名に基づいて、障害通知部21にメッセージ70aを送信するかどうかを判断する。なお、前記処理中ジョブコンピュータ名は、プリンタ50において現在処理されているジョブの画像データの送信元のホストコンピュータPCiの名称を表し、ホストコンピュータPCiを特定するための識別情報を構成する。   For this purpose, the notification condition determination unit 22 sends the failure notification unit 21 the failure notification unit 21 based on the message 70a transmitted from the status determination unit 24 and the job computer name being processed transmitted from the job computer name determination unit 23. It is determined whether or not to send the message 70a. The in-process job computer name represents the name of the host computer PCi that is the transmission source of the image data of the job currently being processed in the printer 50, and constitutes identification information for identifying the host computer PCi.

また、ステータスコード情報部25には、図5に示されるように、プリンタ50の状態をコード化して表すステータスコード25a、プリンタ50の状態が障害であるかどうか(障害であるか、又は通常であるか)を表す障害種別25b、及び前記ステータスコード25aに該当するメッセージ25cが登録(記録)される。   Further, in the status code information section 25, as shown in FIG. 5, a status code 25a which represents the status of the printer 50 in a coded manner, whether the status of the printer 50 is a failure (whether it is a failure or normal) A failure type 25b indicating whether or not there is a message 25c corresponding to the status code 25a is registered (recorded).

そして、前記ステータス判定部24は、ステータス監視部27からステータスコード25aを受信すると、ステータスコード情報部25を参照し、ステータスコード25aに対応するメッセージ25cを読み出し、ポップアップ70に表示するメッセージ70aとして通知条件判定部22に送信する。   When the status determination unit 24 receives the status code 25a from the status monitoring unit 27, the status determination unit 24 refers to the status code information unit 25, reads the message 25c corresponding to the status code 25a, and notifies it as a message 70a to be displayed on the pop-up 70. It transmits to the condition determination part 22.

前記ステータス監視部27は、計時機構部16から受信した時刻情報に基づいて、周期的にプリンタ情報取得部29に対して前記ステータスコード25aの取得を要求する。   The status monitoring unit 27 periodically requests the printer information acquisition unit 29 to acquire the status code 25a based on the time information received from the timing mechanism unit 16.

また、前記プリンタドライバ選択部26は、状態監視部20が起動された際に、プリンタドライバ情報を読み込み、ホストコンピュータPCiにインストールされたすべてのプリンタドライバ13を読み出し、図6に示されるようなプリンタ選択画面としてのポップアップ80を表示装置30に形成し、状態の監視を行いたいプリンタ50を操作者に選択させ、選択されたプリンタ50に割り当てられたポートモニタ15のIPアドレスを読み込んでIPアドレス保存部28に記録する。   The printer driver selection unit 26 reads the printer driver information when the status monitoring unit 20 is activated, reads all the printer drivers 13 installed in the host computer PCi, and the printer as shown in FIG. A pop-up 80 as a selection screen is formed on the display device 30, and the operator selects the printer 50 whose state is to be monitored, reads the IP address of the port monitor 15 assigned to the selected printer 50, and stores the IP address Record in part 28.

そのために、前記ポップアップ80においては、図6に示されるように、ホストコンピュータPCiにインストールされたプリンタドライバ13のうちの、ポートモニタ15がTCP/IPのポート番号9100に出力を行うように設定されたプリンタドライバ13が、選択表示部としてのプリンタ選択メニュー80aにドロップダウンによって表示される。操作者がプリンタ50を選択した後、操作要素としての決定ボタン80bを押すと、状態の監視を行いたいプリンタ50が選択される。   Therefore, the pop-up 80 is set so that the port monitor 15 of the printer driver 13 installed in the host computer PCi outputs to the TCP / IP port number 9100 as shown in FIG. The printer driver 13 is displayed by drop-down on a printer selection menu 80a as a selection display section. When the operator selects the printer 50 and then presses the enter button 80b as an operation element, the printer 50 whose state is to be monitored is selected.

また、前記処理中ジョブコンピュータ名判定部23は、プリンタ情報取得部29に対して、処理中ジョブコンピュータ名の取得を要求(指示)し、プリンタ50から取得した処理中ジョブコンピュータ名と、当該ホストコンピュータPCiのコンピュータ名とを比較し、比較結果を通知条件判定部22に送信する。   The in-process job computer name determination unit 23 requests (instructs) the printer information acquisition unit 29 to acquire the in-process job computer name, and the in-process job computer name acquired from the printer 50 and the host. The computer name of the computer PCi is compared, and the comparison result is transmitted to the notification condition determination unit 22.

前記プリンタ情報取得部29は、ステータス監視部27及び処理中ジョブコンピュータ名判定部23からの要求に応じて、IPアドレス保存部28からIPアドレスを読み出し、プリンタ50に送信することによって、SNMP通信部29aにプリンタ50の情報を取得させる。前記SNMP通信部29aは、プリンタ情報取得部29から指定されたIPアドレスに基づいて、プリンタ50から前記情報を取得し、処理中ジョブコンピュータ名を取得する。   The printer information acquisition unit 29 reads out an IP address from the IP address storage unit 28 in response to requests from the status monitoring unit 27 and the job computer name determination unit 23 being processed, and transmits the IP address to the printer 50, whereby an SNMP communication unit The information of the printer 50 is acquired by 29a. The SNMP communication unit 29a acquires the information from the printer 50 based on the IP address specified by the printer information acquisition unit 29, and acquires the name of the job computer being processed.

なお、SNMP通信部29aは、TCP/IPネットワーク上において、ホストコンピュータPCiによって、定期的に様々な情報を自動的に収集したり、ネットワーク管理を行ったりするためのプロトコル(Simple Network Management Protocol)に従って通信を行う。   It should be noted that the SNMP communication unit 29a follows a protocol (Simple Network Management Protocol) for automatically collecting various information and performing network management periodically by the host computer PCi on the TCP / IP network. Communicate.

次に、プリンタ50について説明する。   Next, the printer 50 will be described.

図7は本発明の第1の実施の形態におけるプリンタの説明図、図8は本発明の第1の実施の形態におけるプリンタステータスコード情報部の記録内容を示す図である。   FIG. 7 is an explanatory diagram of the printer according to the first embodiment of the present invention, and FIG. 8 is a diagram showing the recorded contents of the printer status code information section according to the first embodiment of the present invention.

図に示されるように、プリンタ50は、画像データを受信する受信部としてのプリンタポート通信部51、命令判定部としてのコンピュータ名コマンド検出部52、画像データに基づいて画像を形成する画像形成部としての画像データ印刷処理部53、処理中ジョブコンピュータ名保存部54、プリンタSNMP通信部55、要求情報判定部56、プリンタステータス通知部57、ステータス管理部58、プリンタステータスコード情報部59、及び処理中ジョブコンピュータ名通知部60を備える。   As shown in the figure, a printer 50 includes a printer port communication unit 51 as a receiving unit that receives image data, a computer name command detection unit 52 as a command determination unit, and an image forming unit that forms an image based on the image data. Image data print processing unit 53, job computer name storage unit 54 being processed, printer SNMP communication unit 55, request information determination unit 56, printer status notification unit 57, status management unit 58, printer status code information unit 59, and processing A middle job computer name notification unit 60 is provided.

前記プリンタポート通信部51は、ホストコンピュータPCiから画像データを受信し、前記コンピュータ名コマンド検出部52は、画像データ印刷処理部53において画像形成中の画像データを解析し、画像データの先頭にあるコンピュータ名コマンドを検出し、コンピュータ名を取得する。なお、コンピュータ名コマンドは、コンピュータ名をプリンタ50に通知するためのコマンドである。   The printer port communication unit 51 receives image data from the host computer PCi, and the computer name command detection unit 52 analyzes image data during image formation in the image data print processing unit 53 and is at the head of the image data. Detects computer name commands and obtains computer names. The computer name command is a command for notifying the printer 50 of the computer name.

前記画像データ印刷処理部53は、コンピュータ名コマンド検出部52が検出した画像データにおけるコンピュータ名コマンド以降の画像データに対して画像編集を行い、印刷を行う。   The image data print processing unit 53 performs image editing on the image data after the computer name command in the image data detected by the computer name command detection unit 52 and performs printing.

前記処理中ジョブコンピュータ名保存部54は、コンピュータ名コマンド検出部52が取得したコンピュータ名を処理中ジョブコンピュータ名として記録したり、画像データ印刷処理部53が画像データについて印刷を終了したタイミングで、処理中ジョブコンピュータ名をクリアするためにNULL文字(一般的には数値の零(0))を記録したりするための記録部であり、初期状態においては、NULL文字が記録されている。処理中ジョブコンピュータ名通知部60は、処理中ジョブコンピュータ名保存部54を参照して処理中ジョブコンピュータ名を読み出し、プリンタSNMP通信部55を介してホストコンピュータPCiに送信する。   The in-process job computer name storage unit 54 records the computer name acquired by the computer name command detection unit 52 as the in-process job computer name or when the image data print processing unit 53 finishes printing the image data. This is a recording unit for recording a NULL character (generally zero (0)) in order to clear the name of the job computer being processed. In the initial state, a NULL character is recorded. The in-process job computer name notifying unit 60 reads out the in-process job computer name with reference to the in-process job computer name storage unit 54 and transmits it to the host computer PCi via the printer SNMP communication unit 55.

前記プリンタSNMP通信部55は、ホストコンピュータPCiから受信した要求を要求情報判定部56に送信し、該要求情報判定部56は、プリンタSNMP通信部55から受信した要求を判定し、プリンタステータス通知部57及び処理中ジョブコンピュータ名通部60に送信する。   The printer SNMP communication unit 55 transmits the request received from the host computer PCi to the request information determination unit 56. The request information determination unit 56 determines the request received from the printer SNMP communication unit 55, and the printer status notification unit. 57 and the job computer name processing unit 60 under processing.

前記プリンタステータス通知部57は、プリンタSNMP通信部55から受信した要求に基づいて、プリンタステータスコード情報部59からステータス管理部58を介して受信したステータスコード59bを読み込み、該ステータスコード59bをプリンタSNMP通信部55を介してホストコンピュータPCiに送信する。そのために、前記ステータス管理部58は、プリンタステータス通知部57から前記要求を受信し、プリンタステータスコード情報部59を参照して、プリンタ50の状態を表すプリンタ状態59a及びステータスコード59bに変換する。また、前記プリンタステータスコード情報部59には、図8に示されるように、プリンタ状態59a、及び該プリンタ状態59aをコード化して表すステータスコード59bが記録される。   Based on the request received from the printer SNMP communication unit 55, the printer status notification unit 57 reads the status code 59b received from the printer status code information unit 59 via the status management unit 58, and reads the status code 59b into the printer SNMP. The data is transmitted to the host computer PCi via the communication unit 55. Therefore, the status management unit 58 receives the request from the printer status notification unit 57, refers to the printer status code information unit 59, and converts it into a printer status 59a and a status code 59b representing the status of the printer 50. Further, as shown in FIG. 8, the printer status code information section 59 records a printer status 59a and a status code 59b that represents the printer status 59a.

なお、前記ステータス管理部58は、プリンタ50において障害が発生したことを検出するための障害発生検出部として機能し、前記プリンタステータス通知部57は、障害が発生したことが検出されたときに、ステータスコード59bを画像データの送信元のホストコンピュータPCiに送信する障害情報送信部として機能する。   The status management unit 58 functions as a failure occurrence detection unit for detecting that a failure has occurred in the printer 50, and the printer status notification unit 57 detects that a failure has occurred. It functions as a failure information transmitter that transmits the status code 59b to the host computer PCi that is the transmission source of the image data.

そして、前記処理中ジョブコンピュータ名通知部60は、プリンタSNMP通信部55から受信した要求に基づいて、処理中ジョブコンピュータ名保存部54から処理中ジョブコンピュータ名を読み出し、該処理中ジョブコンピュータ名をプリンタSNMP通信部55を介してホストコンピュータPCiに送信する。   Then, based on the request received from the printer SNMP communication unit 55, the job computer name notifying unit 60 reads the job computer name being processed from the job computer name storage unit 54, and determines the job computer name being processed. The data is transmitted to the host computer PCi via the printer SNMP communication unit 55.

次に、前記構成の画像処理システムの動作について説明する。   Next, the operation of the image processing system having the above configuration will be described.

まず、プリンタ50を監視するための前準備の動作について説明する。   First, a preparation operation for monitoring the printer 50 will be described.

図9は本発明の第1の実施の形態におけるプリンタの状態を監視するためのホストコンピュータの前準備の動作を示すフローチャートである。   FIG. 9 is a flowchart showing a preparatory operation of the host computer for monitoring the printer status in the first embodiment of the present invention.

まず、ホストコンピュータPCi(図1)において動作しているアプリケーション11が有するアプリケーションデータ11aについてプリンタ50によって印刷を行うために、ホストコンピュータPCiの図示されない導入処理手段は、導入処理を行い、プリンタドライバ13をインストールする。   First, in order to print the application data 11a included in the application 11 running on the host computer PCi (FIG. 1) by the printer 50, an introduction processing unit (not shown) of the host computer PCi performs the introduction processing, and the printer driver 13 Install.

ところで、ホストコンピュータPCiにプリンタドライバ13をインストールする際に、画像データの出力先としてポートモニタ15を指定する必要がある。本実施の形態においては、例えば、Microsoft社のオペレーティングシステムであるWindows(登録商標)XPに標準で用意されるTCP/IPのPort9100によって通信を行うために、ポートモニタ15として“標準TCP/IPポートモニタ”が指定されているものとする。   By the way, when installing the printer driver 13 in the host computer PCi, it is necessary to designate the port monitor 15 as the output destination of the image data. In the present embodiment, for example, in order to perform communication using the TCP / IP Port 9100 prepared as a standard in Windows (registered trademark) XP, which is an operating system of Microsoft Corporation, a “standard TCP / IP port” is used as the port monitor 15. Assume that “Monitor” is specified.

そして、“標準TCP/IPポートモニタ”を指定する際に、操作者は、画像データについて印刷を行ったり、プリンタ50の状態を監視したりしてプリンタ50のIPアドレスを登録する。この場合、プリンタドライバ13によって生成された画像データは、このIPアドレスで指定されたプリンタ50のポート番号9011に対して出力される。   When specifying “standard TCP / IP port monitor”, the operator registers the IP address of the printer 50 by printing the image data or monitoring the status of the printer 50. In this case, the image data generated by the printer driver 13 is output to the port number 9011 of the printer 50 designated by this IP address.

次に、前記導入処理手段は、状態監視部20をホストコンピュータPCiにインストールする。そして、状態監視部20をインストールした後、プリンタ50の起動時に、プリンタドライバ選択部26(図3)は、プリンタドライバ情報を参照することによって、各プリンタドライバ13のうちの、ポートモニタ15として“標準TCP/IPポートモニタ”が指定されたものだけをポップアップ80(図6)上に表示する。   Next, the introduction processing means installs the state monitoring unit 20 in the host computer PCi. Then, after installing the status monitoring unit 20, when the printer 50 is started up, the printer driver selection unit 26 (FIG. 3) refers to the printer driver information as the port monitor 15 of each printer driver 13. Only those designated with “standard TCP / IP port monitor” are displayed on the pop-up 80 (FIG. 6).

続いて、操作者が、ポップアップ80上に表示されたプリンタ50うちのプリンタ選択メニュー80aによって状態を監視したいプリンタ50を選択し、決定ボタン80bを押すと、プリンタドライバ選択部26は、プリンタ50に割り当てられた“標準TCP/IPポートモニタ”のIPアドレスを読み出し、IPアドレス保存部28に記録する。そして、前記IPアドレスは、SNMP通信部29aを介してプリンタ50から情報を取得するために使用される。   Subsequently, when the operator selects a printer 50 whose state is to be monitored from the printer selection menu 80a among the printers 50 displayed on the pop-up 80 and presses the enter button 80b, the printer driver selection unit 26 causes the printer 50 to The assigned “standard TCP / IP port monitor” IP address is read and recorded in the IP address storage unit 28. The IP address is used to acquire information from the printer 50 via the SNMP communication unit 29a.

次に、フローチャートについて説明する。
ステップS1 プリンタドライバ13をインストールする。
ステップS2 ポートモニタ15に“標準TCP/IPポートモニタ”を指定する。
ステップS3 ポートモニタ15にIPアドレスを登録する。
ステップS4 状態監視部20をインストールする。
ステップS5 監視するプリンタ50を選択する。
ステップS6 プリンタ50のIPアドレスを読み出し、処理を終了する。
Next, a flowchart will be described.
Step S1: The printer driver 13 is installed.
Step S2: “Standard TCP / IP port monitor” is designated for the port monitor 15.
Step S3: An IP address is registered in the port monitor 15.
Step S4: The state monitoring unit 20 is installed.
Step S5: The printer 50 to be monitored is selected.
Step S6: The IP address of the printer 50 is read, and the process is terminated.

次に、アプリケーション11が有するアプリケーションデータ11aによって、画像データが生成され、プリントモニタ14に送信されるまでの動作について説明する。   Next, an operation until image data is generated by application data 11a included in the application 11 and transmitted to the print monitor 14 will be described.

図10は本発明の第1の実施の形態における画像データをプリンタモニタに送信する動作を示すフローチャートである。   FIG. 10 is a flowchart showing an operation of transmitting image data to the printer monitor according to the first embodiment of the present invention.

まず、操作者が入力装置40(図1)を操作して、アプリケーション11が有するアプリケーションデータ11aについて印刷を開始するための指示を行うと、アプリケーション11は、アプリケーションデータ11aを変換することによって描画コマンドを生成し、該描画コマンドをプリントスプーラ12に送信する。   First, when the operator operates the input device 40 (FIG. 1) to give an instruction to start printing the application data 11a included in the application 11, the application 11 converts the application data 11a to convert a drawing command. And the drawing command is transmitted to the print spooler 12.

続いて、プリントスプーラ12はアプリケーション11から受信した描画コマンドをプリンタドライバ13に送信し、該プリンタドライバ13は、アプリケーション11から受信した描画コマンドをプリンタ50で印刷可能な画像データに変換して画像データを生成する。   Subsequently, the print spooler 12 transmits a drawing command received from the application 11 to the printer driver 13, and the printer driver 13 converts the drawing command received from the application 11 into image data that can be printed by the printer 50 to obtain image data. Is generated.

また、前記プリンタドライバ13は、コンピュータ名を読み込み、プリンタ50で解析可能なコンピュータ名コマンドを作成する。なお、該コンピュータ名コマンドは、例えば、コンピュータ名をPC1とした場合、@PJL AUXJOBINFO DATA=“ComputerName=PC1”のように作成される。   The printer driver 13 reads a computer name and creates a computer name command that can be analyzed by the printer 50. For example, when the computer name is PC1, the computer name command is created as follows: @PJL AUXJOBINFO DATA = “ComputerName = PC1”.

次に、プリンタドライバ13は、コンピュータ名コマンドを画像データの先頭に埋め込み、画像データをプリントスプーラ12に送信する。該プリントスプーラ12は、プリンタドライバ13から画像データを受信すると、該画像データの先頭のコンピュータ名コマンドの有無を認識することなく、そのまま画像データをスプール(蓄積)する。   Next, the printer driver 13 embeds a computer name command at the head of the image data and transmits the image data to the print spooler 12. When the print spooler 12 receives the image data from the printer driver 13, the print spooler 12 spools (accumulates) the image data as it is without recognizing the presence or absence of the computer name command at the head of the image data.

そして、プリントスプーラ12は、画像データのスプールと並行してプリントモニタ14にジョブを開始する旨、例えば、“ジョブ開始”を通知し、スプールした画像データをプリントモニタ14に送信する。続いて、プリントモニタ14にすべての画像データが送信されると、プリントスプーラ12は、プリントモニタ14にジョブを終了した旨、例えば、“ジョブ終了”を通知する。   Then, the print spooler 12 notifies the print monitor 14 that the job is started in parallel with the spool of the image data, for example, “job start”, and transmits the spooled image data to the print monitor 14. Subsequently, when all the image data is transmitted to the print monitor 14, the print spooler 12 notifies the print monitor 14 that the job has been completed, for example, “job end”.

次に、フローチャートについて説明する。
ステップS11 印刷を開始するための指示を行う。
ステップS12 描画コマンドを生成する。
ステップS13 描画コマンドをプリントスプーラ12に送信する。
ステップS14 描画コマンドをプリントスプーラ12から受信する。
ステップS15 画像データを作成する。
ステップS16 コンピュータ名コマンドを作成する。
ステップS17 コンピュータ名コマンドを画像データに埋め込む。
ステップS18 画像データをプリントスプーラ12に送信する。
ステップS19 画像データをスプールする。
ステップS20 プリントモニタ14に“ジョブ開始”を通知する。
ステップS21 スプールした画像データをプリントモニタ14に送信する。
ステップS22 すべての画像データを送信したかどうかを判断する。すべての画像データを送信した場合はステップS23に進み、送信していない場合はステップS21に戻る。
ステップS23 プリントモニタ14に“ジョブ終了”を通知し、処理を終了する。
Next, a flowchart will be described.
Step S11: An instruction for starting printing is issued.
Step S12: A drawing command is generated.
Step S13: A drawing command is transmitted to the print spooler 12.
Step S14: A drawing command is received from the print spooler 12.
Step S15: Image data is created.
Step S16: A computer name command is created.
Step S17: A computer name command is embedded in the image data.
Step S18: The image data is transmitted to the print spooler 12.
Step S19 The image data is spooled.
Step S20 “Job start” is notified to the print monitor 14.
Step S21: The spooled image data is transmitted to the print monitor 14.
Step S22: It is determined whether all image data have been transmitted. If all the image data has been transmitted, the process proceeds to step S23. If not, the process returns to step S21.
Step S23: “Job end” is notified to the print monitor 14, and the process is terminated.

次に、すべての画像データがプリンタ50に送信されるまでのプリントモニタ14及びポートモニタ15の動作について説明する。   Next, operations of the print monitor 14 and the port monitor 15 until all image data is transmitted to the printer 50 will be described.

図11は本発明の第1の実施の形態における画像データをプリンタに送信する動作を示すフローチャートである。   FIG. 11 is a flowchart showing an operation of transmitting image data to the printer in the first embodiment of the present invention.

まず、プリントモニタ14(図1)は、プリントスプーラ12からの“ジョブ開始”の通知を待機する状態で起動され、“ジョブ開始”の通知を受信すると、プリントスプーラ12から画像データを受信し、受信した画像データをポートモニタ15に送信する。   First, the print monitor 14 (FIG. 1) is activated in a state of waiting for a “job start” notification from the print spooler 12. Upon receiving the “job start” notification, the print monitor 14 receives image data from the print spooler 12, The received image data is transmitted to the port monitor 15.

続いて、ポートモニタ15である“標準TCP/IPポート”にはあらかじめIPアドレスが登録されているので、プリントモニタ14から受信した画像データを、ポート通信部15aを介して、プリンタ50のIPアドレスのポート(ポート番号9100)にそのまま送信する。   Subsequently, since an IP address is registered in advance in the “standard TCP / IP port” which is the port monitor 15, the image data received from the print monitor 14 is transferred to the IP address of the printer 50 via the port communication unit 15a. To the port (port number 9100).

そして、プリントモニタ14は、プリントスプーラ12から“ジョブ終了”の通知を受信すると、それ以上画像データが送信されないことを認識し、処理を待機状態に戻す。   When the print monitor 14 receives a “job end” notification from the print spooler 12, it recognizes that no more image data is transmitted, and returns the process to the standby state.

次に、フローチャートについて説明する。
ステップS31 “ジョブ開始”の通知を受信したかどうかを判断する。“ジョブ開始”の通知を受信した場合はステップS32に進み、受信していない場合はリターンする。
ステップS32 画像データをポートモニタ15に送信する。
ステップS33 画像データをポートに送信する。
ステップS34 “ジョブ終了”の通知を受信したかどうかを判断する。“ジョブ終了”の通知を受信した場合はリターンし、受信していない場合はステップS32に戻る。
Next, a flowchart will be described.
Step S31: It is determined whether a notification of “job start” has been received. If a “job start” notification is received, the process proceeds to step S32. If not received, the process returns.
Step S32: The image data is transmitted to the port monitor 15.
Step S33: The image data is transmitted to the port.
Step S34: It is determined whether or not a “job end” notification has been received. If a “job end” notification has been received, the process returns. If not, the process returns to step S32.

次に、プリンタ50が画像データを受信してから印刷を行うまでの動作について説明する。   Next, operations from when the printer 50 receives image data to when printing is described.

図12は本発明の第1の実施の形態におけるプリンタの動作を示すフローチャートである。   FIG. 12 is a flowchart showing the operation of the printer according to the first embodiment of the present invention.

まず、プリンタポート通信部51(図7)はホストコンピュータPCiから画像データを受信すると、該画像データをコンピュータ名コマンド検出部52に送信する。該コンピュータ名コマンド検出部52は、プリンタポート通信部51から画像データを受信すると、該画像データを解析し、画像データの先頭にあるコンピュータ名コマンドを検出し、該コンピュータ名コマンドからコンピュータ名を取得する。例えば、画像データの先頭に@PJL AUXJOBINFO DATA=“ComputerName=PC1”というコンピュータ名コマンドがあった場合、コンピュータ名コマンドから“PC1”がコンピュータ名として取得される。   First, when receiving image data from the host computer PCi, the printer port communication unit 51 (FIG. 7) transmits the image data to the computer name command detection unit 52. When the computer name command detection unit 52 receives the image data from the printer port communication unit 51, the computer name command detection unit 52 analyzes the image data, detects the computer name command at the head of the image data, and obtains the computer name from the computer name command To do. For example, when there is a computer name command of @PJL AUXJOBINFO DATA = “ComputerName = PC1” at the head of the image data, “PC1” is acquired as the computer name from the computer name command.

続いて、前記コンピュータ名コマンド検出部52は、取得したコンピュータ名を処理中ジョブコンピュータ名として処理中ジョブコンピュータ名保存部54に記録し、保存するとともに、コンピュータ名コマンド以降の画像データを、画像データ印刷処理部53に送信する。   Subsequently, the computer name command detection unit 52 records and stores the acquired computer name in the processing job computer name storage unit 54 as the processing job computer name, and also stores image data after the computer name command as image data. The data is transmitted to the print processing unit 53.

続いて、画像データ印刷処理部53は、受信した画像データを印刷ハードウェア(印刷機構)が印刷することができるデータ形式に変換し、印刷処理を行い、印刷ハードウェアによる印刷が終了すると、処理中ジョブコンピュータ名保存部54にNULL文字を書き込み、保存された処理中ジョブコンピュータ名を消去する。   Subsequently, the image data print processing unit 53 converts the received image data into a data format that can be printed by the print hardware (printing mechanism), performs print processing, and when printing by the print hardware is completed, A NULL character is written into the middle job computer name storage unit 54 to erase the stored job computer name being processed.

次に、フローチャートについて説明する。
ステップS41 画像データを受信する。
ステップS42 コンピュータ名コマンドを検出したかどうかを判断する。コンピュータ名コマンドを検出した場合はステップS43に、検出していない場合はステップS44に進む。
ステップS43 コンピュータ名を保存する。
ステップS44 印刷処理を行う。
ステップS45 印刷が終了するのを待機し、印刷が終了した場合はステップS46に進む。
ステップS46 保存した処理中ジョブコンピュータ名を消去し、処理を終了する。
Next, a flowchart will be described.
Step S41: Image data is received.
Step S42: It is determined whether a computer name command is detected. If a computer name command is detected, the process proceeds to step S43. If not detected, the process proceeds to step S44.
Step S43: The computer name is saved.
Step S44 Print processing is performed.
Step S45 The system waits for the end of printing. If the printing ends, the process proceeds to Step S46.
Step S46: The stored job computer name is deleted, and the process is terminated.

次に、ホストコンピュータPCiがプリンタ50に発生した障害を検出し、操作者に障害の発生を通知する動作について説明する。   Next, an operation in which the host computer PCi detects a failure that has occurred in the printer 50 and notifies the operator of the occurrence of the failure will be described.

図13は本発明の第1の実施の形態におけるプリンタにおいて障害が発生したときのホストコンピュータの動作を示すフローチャートである。   FIG. 13 is a flowchart showing the operation of the host computer when a failure occurs in the printer according to the first embodiment of the present invention.

まず、ステータス監視部27(図3)は、計時機構部16から時刻を読み込み、該時刻と前回読み込んだ時刻との差を求めることによって読込周期を算出する。なお、本実施の形態においては、例えば、前記読込周期を10秒とする。   First, the status monitoring unit 27 (FIG. 3) reads the time from the time measuring mechanism 16 and calculates the reading cycle by obtaining the difference between the time and the time read last time. In the present embodiment, for example, the reading cycle is 10 seconds.

続いて、ステータス監視部27は、読込周期である10秒が経過すると、プリンタ情報取得部29に対してプリンタ50からステータスコード59b(図8)を取得するように要求する。そして、プリンタ情報取得部29は、SNMP通信部29aを介してプリンタ50に対してステータスコード59bを通知するよう要求する。   Subsequently, the status monitoring unit 27 requests the printer information acquisition unit 29 to acquire the status code 59b (FIG. 8) from the printer 50 when 10 seconds as the reading cycle has elapsed. Then, the printer information acquisition unit 29 requests the printer 50 to notify the status code 59b via the SNMP communication unit 29a.

なお、本実施の形態において、前記SNMP通信部29aを介してステータスコード59bを取得する際には、周辺機器がSNMPを使用して外部に情報を通知する方法として、Request For Comment1213として規定されているManagement Information Base2(以下「MIB2」という。)が使用される。該MIB2においては、ホストコンピュータPCi(図7)が、取得しようとする情報を特定するための特定指標であるIDをプリンタ50に送信すると、該プリンタ50からIDに該当する情報を取得することができる。本実施の形態においては、ステータスコード59bを取得するためのIDは、例えば、“1.3.6.1.4.2001.1.1.1.1.2.10.10”と定義される。   In the present embodiment, when the status code 59b is acquired via the SNMP communication unit 29a, it is defined as a Request For Comment 1213 as a method in which the peripheral device notifies the outside using SNMP. Management Information Base 2 (hereinafter referred to as “MIB2”) is used. In the MIB 2, when the host computer PCi (FIG. 7) transmits an ID, which is a specific index for specifying the information to be acquired, to the printer 50, information corresponding to the ID may be acquired from the printer 50. it can. In the present embodiment, the ID for acquiring the status code 59b is defined as, for example, “1.3.3.6.1.4.2001.1.1.1.1.1.2.10.10”. The

次に、ステータス監視部27は、プリンタ情報取得部29を介してプリンタ50からステータスコード59bを受信すると、ステータスコード59bをステータス判定部24に送信する。ステータス判定部24は、受信したステータスコード59bの判定を行う。そのために、ステータス判定部24は、ステータスコード情報部25を参照し、受信したステータスコード59bと同じステータスコード25a(図5)に対応する障害種別25b及びメッセージ25cを読み出す。   Next, when the status monitoring unit 27 receives the status code 59b from the printer 50 via the printer information acquisition unit 29, the status monitoring unit 27 transmits the status code 59b to the status determination unit 24. The status determination unit 24 determines the received status code 59b. Therefore, the status determination unit 24 refers to the status code information unit 25 and reads the failure type 25b and the message 25c corresponding to the same status code 25a (FIG. 5) as the received status code 59b.

このとき、受信したステータスコード59bが、例えば、“10001”である場合、障害種別25bは“通常”であり、メッセージ25cは“オンライン待機”であるので、ステータス判定部24は、プリンタ50において障害が発生していないと判断し、通知条件判定部22に該当するメッセージ25cを送信するとともに、障害の発生なしの通知を行う。   At this time, if the received status code 59b is, for example, “10001”, the failure type 25b is “normal” and the message 25c is “online standby”. Is determined not to occur, a message 25c corresponding to the notification condition determination unit 22 is transmitted, and a notification that no failure has occurred is performed.

前記通知条件判定部22は、障害の発生なしの通知を受けると、障害通知部21に“表示終了”の通知を行う。該障害通知部21は、“表示終了”の通知を受けると、表示装置30(図1)上にメッセージ70a(図4)を表示していた場合、その表示を閉じる。また、前記ステータス監視部27は、ステータスコード59bの読込周期の経過を待機し、再び計時機構部16から時刻を読み込む処理に戻る。   When receiving the notification that no failure has occurred, the notification condition determination unit 22 notifies the failure notification unit 21 of “display end”. Upon receiving the notification of “display end”, the failure notification unit 21 closes the display of the message 70a (FIG. 4) on the display device 30 (FIG. 1). Further, the status monitoring unit 27 waits for the reading cycle of the status code 59b to elapse, and returns to the process of reading the time from the time measuring mechanism unit 16 again.

これに対して、受信したステータスコード59bが、例えば、“40021”である場合、障害種別25bは“障害”であり、メッセージ25cは“カバーオープン”であるので、ステータス判定部24は、プリンタ50において障害が発生したと判断し、通知条件判定部22に該当するメッセージ25cを送信するとともに、障害の発生の通知を行う。なお、この場合、ステータスコード59bは障害情報としてプリンタ50からホストコンピュータPCiに送信される。   On the other hand, when the received status code 59b is “40021”, for example, the failure type 25b is “failure” and the message 25c is “cover open”. Is determined that a failure has occurred, a message 25c corresponding to the notification condition determination unit 22 is transmitted, and the occurrence of the failure is notified. In this case, the status code 59b is transmitted from the printer 50 to the host computer PCi as failure information.

前記通知条件判定部22は、障害の発生の通知を受けると、処理中ジョブコンピュータ名判定部23に、プリンタ50において処理されているジョブの画像データに付加されている処理中ジョブコンピュータ名とコンピュータ名とが一致しているかどうかを確認するよう指示を送る。前記処理中ジョブコンピュータ名判定部23は、前記指示を受けると、プリンタ情報取得部29に対してプリンタ50から処理中ジョブコンピュータ名を取得するように要求する。   When the notification condition determination unit 22 receives the notification of the occurrence of the failure, the processing job computer name determination unit 23 adds the processing job computer name and computer added to the image data of the job being processed in the printer 50 to the processing job computer name determination unit 23. Send instructions to check if the name matches. When receiving the instruction, the in-process job computer name determination unit 23 requests the printer information acquisition unit 29 to acquire the in-process job computer name from the printer 50.

そして、プリンタ情報取得部29は、要求に従ってIPアドレス保存部28に記録されたIPアドレス及びMIB2のIDをSNMP通信部29aに送信することによって、プリンタ50に処理中ジョブコンピュータ名を通知するよう要求する。この際、使用するMIB2のIDは、例えば、“1.3.6.1.4.1.2699.1.1.1.1.1.1.4.1”とする。   Then, the printer information acquisition unit 29 requests the printer 50 to notify the name of the job computer being processed by transmitting the IP address recorded in the IP address storage unit 28 and the MIB2 ID to the SNMP communication unit 29a in accordance with the request. To do. At this time, the ID of the MIB 2 to be used is, for example, “1.3.6.1.4.1.1.2699.1.1.1.1.1.1.1.4.1”.

そして、プリンタ情報取得部29は、SNMP通信部29aを介してプリンタ50から処理中ジョブコンピュータ名を受信すると、それがNULL文字であった場合も含め、処理中ジョブコンピュータ名を処理中ジョブコンピュータ名判定部23に送信する。なお、本実施の形態においては、例えば、受信した処理中ジョブコンピュータ名を“PC1”とする。   When the printer information acquisition unit 29 receives the name of the job computer being processed from the printer 50 via the SNMP communication unit 29a, the name of the job computer being processed is included in the name of the job computer being processed, including the case where it is a NULL character. It transmits to the determination part 23. In the present embodiment, for example, the received job computer name is “PC1”.

続いて、処理中ジョブコンピュータ名判定部23は、NULL文字でない処理中ジョブコンピュータ名を受信した場合、処理中ジョブコンピュータ名を確認し、処理中ジョブコンピュータ名とホストコンピュータPCiのコンピュータ名とを比較し、処理中ジョブコンピュータ名とホストコンピュータPCiのコンピュータ名とが一致するかどうか、すなわち、コンピュータ名が一致するかどうかを判断する。コンピュータ名が一致する場合、処理中ジョブコンピュータ名判定部23は、通知条件判定部22に“コンピュータ名一致”を、一致しない場合は“コンピュータ名不一致”を通知する。例えば、プリンタ50から受信した処理中ジョブコンピュータ名が“PC1”であり、ホストコンピュータPCiのコンピュータ名が“PC2”である場合、処理中ジョブコンピュータ名判定部23は通知条件判定部22に“コンピュータ名一致”の通知を行う。   Subsequently, when the in-process job computer name determination unit 23 receives the in-process job computer name that is not a NULL character, it checks the in-process job computer name and compares the in-process job computer name with the computer name of the host computer PCi. Then, it is determined whether the name of the job computer being processed matches the computer name of the host computer PCi, that is, whether the computer name matches. If the computer names match, the job computer name determination unit 23 in process notifies the notification condition determination unit 22 of “Computer name match”, and if they do not match, it notifies “Computer name mismatch”. For example, if the in-process job computer name received from the printer 50 is “PC1” and the computer name of the host computer PCi is “PC2”, the in-process job computer name determination unit 23 sends a “computer” to the notification condition determination unit 22. “Name match” notification.

なお、NULL文字である処理中ジョブコンピュータ名を受信した場合、処理中ジョブコンピュータ名判定部23は、通知条件判定部22に“処理中ジョブコンピュータ名不明”を通知する。   When a processing job computer name that is a NULL character is received, the processing job computer name determination unit 23 notifies the notification condition determination unit 22 of “Unknown processing computer name”.

そして、通知条件判定部22は、処理中ジョブコンピュータ名判定部23から“コンピュータ名一致”の通知を受けると、ステータス判定部24から受信したメッセージ25cと共に障害通知部21に“表示”の通知を行い、ステータス監視部27は、ステータスコード59bの読込周期の経過を待機し、再び計時機構部16から時刻を読み込む処理に戻る。   When the notification condition determination unit 22 receives a “computer name match” notification from the processing job computer name determination unit 23, the notification condition determination unit 22 notifies the failure notification unit 21 of “display” together with the message 25 c received from the status determination unit 24. The status monitoring unit 27 waits for the reading period of the status code 59b to elapse, and returns to the process of reading the time from the time measuring unit 16 again.

続いて、障害通知部21は、通知条件判定部22から“表示”の通知と共に受信したメッセージ25cを、表示装置30のポップアップ70に障害の発生を表すメッセージ70aとして表示する。なお、メッセージ70aが既に表示されていた場合、障害通知部21は、メッセージ70aを“表示”の通知と共に受けたメッセージ25cに置き換える。そして、例えば、受けたメッセージ25cが“カバーオープン”である場合は、“カバーオープン”のメッセージ70aがポップアップ70に表示される。   Subsequently, the failure notification unit 21 displays the message 25 c received together with the “display” notification from the notification condition determination unit 22 on the pop-up 70 of the display device 30 as a message 70 a indicating the occurrence of the failure. If the message 70a has already been displayed, the failure notification unit 21 replaces the message 70a with the message 25c received together with the “display” notification. For example, when the received message 25 c is “cover open”, a “cover open” message 70 a is displayed on the pop-up 70.

また、通知条件判定部22は、処理中ジョブコンピュータ名判定部23から“コンピュータ名不一致”又は“処理中ジョブコンピュータ名不明”の通知を受けると、障害通知部21には何も通知しない。そして、ステータス監視部27は、ステータスコード59bの読込周期の経過を待機し、再び計時機構部16から時刻を読み込む処理に戻る。   When the notification condition determination unit 22 receives a notification of “computer name mismatch” or “processing job computer name unknown” from the processing job computer name determination unit 23, the notification condition determination unit 22 notifies the failure notification unit 21 of nothing. Then, the status monitoring unit 27 waits for the elapse of the reading period of the status code 59b, and returns to the process of reading the time from the time measuring mechanism unit 16 again.

このように、本実施の形態においては、ホストコンピュータPCiからプリンタ50に対してステータスコード59bが要求され、ステータスコード59bに基づいて、プリンタ50において障害が発生したかどうかを判断することができる。   Thus, in the present embodiment, the status code 59b is requested from the host computer PCi to the printer 50, and it can be determined whether or not a failure has occurred in the printer 50 based on the status code 59b.

次に、フローチャートについて説明する。
ステップS51 時刻を読み込む。
ステップS52 10秒が経過したかどうかを判断する。10秒が経過した場合はステップS53に進み、経過していない場合はリターンする。
ステップS53 ステータスコード59bを取得するよう要求する。
ステップS54 MIB2によりステータスコード59bを通知するよう要求する。
ステップS55 ステータスコード59bの判定を行う。障害が発生していない場合はステップS56に、障害が発生している場合はステップS59に進む。
ステップS56 障害の発生なしを通知する。
ステップS57 “表示終了”を通知する。
ステップS58 表示用のメッセージ70aの表示を閉じ、リターンする。
ステップS59 障害の発生を通知する。
ステップS60 処理中ジョブコンピュータ名を取得するよう要求する。
ステップS61 MIB2により処理中ジョブコンピュータ名を通知するよう要求する。
ステップS62 処理中ジョブコンピュータ名を確認する。
ステップS63 コンピュータ名が一致するかどうかを判断する。コンピュータ名が一致する場合はステップS64に進み、一致しない場合はリターンする。
ステップS64 “表示”を通知する。
ステップS65 “カバーオープン”のメッセージ70aを表示し、リターンする。
Next, a flowchart will be described.
Step S51 Read the time.
Step S52: It is determined whether 10 seconds have elapsed. If 10 seconds have elapsed, the process proceeds to step S53, and if not, the process returns.
Step S53: Request to obtain the status code 59b.
Step S54: Request to notify the status code 59b by MIB2.
Step S55: The status code 59b is determined. If no failure has occurred, the process proceeds to step S56. If a failure has occurred, the process proceeds to step S59.
Step S56: Notify that no failure has occurred.
Step S57: “Display end” is notified.
Step S58: The display of the display message 70a is closed and the process returns.
Step S59: Notification of failure occurrence.
Step S60: Request to acquire the name of the job computer being processed.
Step S61: Request to notify the name of the job computer being processed by MIB2.
Step S62: Check the name of the job computer being processed.
Step S63: Whether the computer names match is determined. If the computer names match, the process proceeds to step S64, and if they do not match, the process returns.
Step S64: “Display” is notified.
Step S65: A “cover open” message 70a is displayed and the process returns.

次に、プリンタ50がステータスコード59b及び処理中ジョブコンピュータ名をホストコンピュータPCiに送信する動作について説明する。   Next, an operation in which the printer 50 transmits the status code 59b and the job computer name being processed to the host computer PCi will be described.

図14は本発明の第1の実施の形態におけるプリンタがホストコンピュータにステータスコード及び処理中ジョブコンピュータ名を送信する動作を示すフローチャートである。   FIG. 14 is a flowchart showing an operation in which the printer according to the first embodiment of the present invention transmits a status code and a job computer name being processed to the host computer.

まず、プリンタ50(図7)のプリンタSNMP通信部55は、MIB2によってホストコンピュータPCiからの要求を受信すると、該要求を要求情報判定部56に送信する。該要求情報判定部56は、MIB2のIDに基づいて要求の判定を行い、ステータスコード59b(図8)の要求であることが判断されると、プリンタステータス通知部57にステータスコード59bを通知するよう指示を送る。そして、プリンタステータス通知部57は前記指示を受けると、ステータス管理部58にステータスコード59bを読み出すよう要求する。   First, when a request from the host computer PCi is received by the MIB 2, the printer SNMP communication unit 55 of the printer 50 (FIG. 7) transmits the request to the request information determination unit 56. The request information determination unit 56 determines a request based on the ID of the MIB 2, and if it is determined that the request is the status code 59b (FIG. 8), notifies the printer status notification unit 57 of the status code 59b. Send instructions to do so. When the printer status notification unit 57 receives the instruction, the printer status notification unit 57 requests the status management unit 58 to read the status code 59b.

続いて、ステータス管理部58は、ステータスコード59bの要求を受信すると、プリンタ50の状態に該当するステータスコード59bをプリンタステータスコード情報部59から読み出し、ステータスコード59bをプリンタステータス通知部57に送信する。   Subsequently, when receiving the request for the status code 59b, the status management unit 58 reads the status code 59b corresponding to the state of the printer 50 from the printer status code information unit 59 and transmits the status code 59b to the printer status notification unit 57. .

そして、例えば、プリンタ50に発生した障害がカバーオープンである場合、ステータス管理部58は、ステータスコード情報部59を参照し、プリンタ状態59aを検出すると、それに該当するステータスコード59bとして“40021”を読み出す。この場合、ステータス管理部58によって、プリンタ50において障害が発生したことが検出される。   For example, when the failure that has occurred in the printer 50 is a cover open, the status management unit 58 refers to the status code information unit 59 and, when detecting the printer status 59a, sets “40021” as the status code 59b corresponding thereto. read out. In this case, the status management unit 58 detects that a failure has occurred in the printer 50.

次に、プリンタステータス通知部57は、読み出したステータスコード59bをプリンタSNMP通信部55を介してホストコンピュータPCiに送信する。そして、例えば、ステータス管理部58から受信したステータスコード59bが“40021”である場合、プリンタSNMP通信部55は、“40021”をMIB2によってホストコンピュータPCiに通知する。   Next, the printer status notification unit 57 transmits the read status code 59b to the host computer PCi via the printer SNMP communication unit 55. For example, when the status code 59b received from the status management unit 58 is “40021”, the printer SNMP communication unit 55 notifies the host computer PCi of “40021” through the MIB2.

一方、要求情報判定部56において、要求が処理中ジョブコンピュータ名の要求であることが判断されると、要求情報判定部56は、処理中ジョブコンピュータ名通知部60に、処理中ジョブコンピュータ名を通知するよう指示を送る。そして、処理中ジョブコンピュータ名通知部60は前記指示を受けると、処理中ジョブコンピュータ名保存部54から処理中ジョブコンピュータ名を読み出し、プリンタSNMP通信部55を介してホストコンピュータPCiに送信する。そして、例えば、処理中ジョブコンピュータ名保存部54から読み出された処理中ジョブコンピュータ名が“PC1”である場合、プリンタSNMP通信部55は、“PC1”をMIB2によってホストコンピュータPCiに通知する。   On the other hand, when the request information determination unit 56 determines that the request is a request for the name of the job computer being processed, the request information determination unit 56 notifies the job computer name being processed to the name of the job computer being processed. Send instructions to notify. When the in-process job computer name notifying unit 60 receives the instruction, it reads out the in-process job computer name storage unit 54 from the in-process job computer name storage unit 54 and transmits it to the host computer PCi via the printer SNMP communication unit 55. For example, when the job computer name being processed read from the job computer name storage unit 54 being processed is “PC1”, the printer SNMP communication unit 55 notifies the host computer PCi of “PC1” via the MIB2.

次に、フローチャートについて説明する。
ステップS71 MIB2による要求を受信したかどうかを判断する。MIB2による要求を受信した場合はステップS72に進み、受信していない場合はリターンする。
ステップS72 要求の判定を行う。処理中ジョブコンピュータ名の要求である場合はステップS73に、ステータスコード59bの要求である場合はステップS76に進む。
ステップS73 処理中ジョブコンピュータ名を通知するよう指示する。
ステップS74 “PC1”を読み出す。
ステップS75 MIB2によって“PC1”を通知し、リターンする。
ステップS76 ステータスコード59bを通知するよう指示する。
ステップS77 ステータスコード“40021”と判別する。
ステップS78 MIB2によって“40021”を通知し、リターンする。
Next, a flowchart will be described.
Step S71: It is determined whether a request by MIB2 has been received. If a request by MIB2 is received, the process proceeds to step S72, and if not received, the process returns.
Step S72: The request is determined. If it is a request for the name of the job computer being processed, the process proceeds to step S73. If it is a request for the status code 59b, the process proceeds to step S76.
Step S73: An instruction is given to notify the name of the job computer being processed.
Step S74 “PC1” is read.
Step S75 “PC1” is notified by MIB2 and the process returns.
Step S76: Instruct to notify the status code 59b.
Step S77: It is determined that the status code is “40021”.
Step S78 “40021” is notified by MIB2 and the process returns.

このように、本実施の形態においては、状態監視部20(図1)を使用することによって、同じプリンタ50を監視しているホストコンピュータPCiが複数あった場合、プリンタ50において障害が発生しても、その場合、プリンタ50が処理を行っているジョブの画像データを送信したホストコンピュータPCiのコンピュータ名と、MIB2で取得した処理中ジョブコンピュータ名とが一致するが、他のホストコンピュータPCiのコンピュータ名とMIB2で取得した処理中ジョブコンピュータ名とは一致しないので、前記コンピュータ名と処理中ジョブコンピュータ名とが一致したホストコンピュータPCiだけにステータスコード59bが送信され、コンピュータ名と処理中ジョブコンピュータ名とが一致したホストコンピュータPCiの表示装置30の画面上だけに障害情報を表すメッセージ70a(図4)が表示され、他のホストコンピュータPCiの表示装置30にはメッセージ70aが表示されない。   As described above, in the present embodiment, when there are a plurality of host computers PCi monitoring the same printer 50 by using the state monitoring unit 20 (FIG. 1), a failure occurs in the printer 50. In this case, the computer name of the host computer PCi that has transmitted the image data of the job being processed by the printer 50 matches the name of the job computer being processed acquired by MIB2, but the computer of another host computer PCi. Since the name does not match the name of the job computer being processed acquired by MIB2, the status code 59b is transmitted only to the host computer PCi whose computer name matches the name of the job computer being processed. Host computer with Only the display device 30 on the screen of PCi displays the message 70a (FIG. 4) representing the fault information, the message 70a is not displayed on the display device 30 of the other host computers PCi.

したがって、操作者がホストコンピュータPCiを操作してプリンタ50による所定の処理、本実施の形態においては、印刷の処理を行っていて、プリンタ50において障害が発生した場合に、プリンタ50を使用していない他の操作者にとって予期しない表示が行われることがなくなる。その結果、他の操作者が他のホストコンピュータPCiを操作して行っている作業を妨害することがない。   Therefore, when the operator operates the host computer PCi to perform predetermined processing by the printer 50, in this embodiment, printing processing, and the printer 50 is faulty, the printer 50 is used. Unexpected display for other operators who are not. As a result, the operation performed by another operator operating another host computer PCi is not disturbed.

なお、本実施の形態においては、処理中ジョブの送信元のホストコンピュータPCiに障害情報を送信し、送信元のホストコンピュータPCiだけの表示装置30の画面上に障害情報を表示するようになっているが、送信元のホストコンピュータPCiだけでなく、障害が発生するときまでにプリンタ50に送信され、処理待ちの状態のジョブの送信元のホストコンピュータにも障害情報を送信し、他のホストコンピュータには障害情報を送信しないようにすることができる。   In the present embodiment, the failure information is transmitted to the host computer PCi that is the transmission source of the job being processed, and the failure information is displayed on the screen of the display device 30 of only the transmission source host computer PCi. However, the failure information is transmitted not only to the transmission source host computer PCi but also to the printer 50 by the time the failure occurs and to the transmission source host computer of the job waiting to be processed, and other host computers. It is possible to prevent the failure information from being transmitted.

ところで、一般的に、プリンタにおいては、障害が発生すると、画像データを受信するためのインタフェースがオフラインにされ、画像データの受信が行われない状態になり、障害が復旧すると、再びインタフェースがオンラインにされ、画像データの受信を行うことができる状態になる。   By the way, in general, in a printer, when a failure occurs, an interface for receiving image data is taken offline, and no image data is received. When the failure is recovered, the interface is brought back online. Thus, the image data can be received.

本実施の形態におけるプリンタ50においても、同様に、例えば、カバーオープン等の障害が発生すると、画像データの受信に使用されるプリンタポート通信部51がオフラインにされ、画像データの受信が行われない状態になり、障害が復旧すると、再びプリンタポート通信部51がオンラインにされ、画像データの受信を行うことができる状態になる。   Similarly, in the printer 50 according to the present embodiment, for example, when a failure such as a cover open occurs, the printer port communication unit 51 used for receiving the image data is set offline and no image data is received. When the printer is in a state and the failure is recovered, the printer port communication unit 51 is brought back online, and the image data can be received.

したがって、画像データがプリンタ50に送信される以前からプリンタ50に障害が発生し、オフラインとなっている状態で、ホストコンピュータPCiからポートモニタ15を介して画像データの送信を行うと、プリンタ50は画像データを最初から受信しないことになる。   Accordingly, when image data is transmitted from the host computer PCi through the port monitor 15 in a state where the printer 50 has failed and has been offline before the image data is transmitted to the printer 50, the printer 50 The image data is not received from the beginning.

この場合、プリンタ50は、画像データ中にあるコンピュータ名コマンドも受信していないので、状態監視部20がプリンタ50のステータスコード59bを取得し、障害の発生を検出しても、ステータスコード59bを取得した後で処理中ジョブコンピュータ名をMIB2で取得する際に、処理中ジョブコンピュータ名判定部23はプリンタ50からNULL文字の処理中ジョブコンピュータ名を受信することになり、ホストコンピュータPCiのコンピュータ名と一致しないので、その結果、表示装置30の画面上にメッセージ70aが表示されない。   In this case, since the printer 50 has not received the computer name command in the image data, even if the status monitoring unit 20 acquires the status code 59b of the printer 50 and detects the occurrence of a failure, the status code 59b is received. When the job computer name being processed is acquired by the MIB 2 after acquisition, the job computer name determination unit 23 is receiving the NULL processed job computer name from the printer 50, and the computer name of the host computer PCi. As a result, the message 70a is not displayed on the screen of the display device 30.

すなわち、最初からプリンタ50に障害が発生している状態で、操作者が印刷の操作を行った場合は、表示装置30の画面上には障害情報が何も表示されないことになる。   In other words, when the operator performs a printing operation in a state where a failure has occurred in the printer 50 from the beginning, no failure information is displayed on the screen of the display device 30.

そこで、ホストコンピュータPCiからプリンタ50に画像データを送信する前に、プリンタ50において障害が発生した場合でも、ホストコンピュータPCiの表示装置30の画面上に障害が発生している旨のメッセージ70aを表示することができるようにした本発明の第2の実施の形態について説明する。なお、第1の実施の形態と同じ構造を有するものについては、同じ符号を付与し、同じ構造を有することによる発明の効果については同実施の形態の効果を援用する。また、プリンタ50の構造は第1の実施の形態と同じであるので、図7を援用し、プリンタ50の構造についての説明は省略する。   Therefore, before transmitting image data from the host computer PCi to the printer 50, even if a failure occurs in the printer 50, a message 70a indicating that a failure has occurred is displayed on the screen of the display device 30 of the host computer PCi. A second embodiment of the present invention that can be performed will be described. In addition, about the thing which has the same structure as 1st Embodiment, the same code | symbol is provided and the effect of the same embodiment is used about the effect of the invention by having the same structure. Since the structure of the printer 50 is the same as that of the first embodiment, FIG. 7 is used and description of the structure of the printer 50 is omitted.

図15は本発明の第2の実施の形態におけるホストコンピュータの説明図、図16は本発明の第2の実施の形態における状態監視部の説明図である。   FIG. 15 is an explanatory diagram of a host computer according to the second embodiment of the present invention, and FIG. 16 is an explanatory diagram of a state monitoring unit according to the second embodiment of the present invention.

この場合、画像処理装置としてのホストコンピュータPCiから画像形成装置としてのプリンタ50に画像データが送信される前に、プリンタ50において障害が発生したかどうかが判断され、プリンタ50において障害が発生した場合、ホストコンピュータPCiからプリンタ50に画像データが送信されているかどうかが判断され、画像データが送信されている場合には、表示装置30に、プリンタ50において障害が発生している旨の表示がされる。また、画像データが送信されていない場合には、仮に、プリンタ50において障害が発生していても、表示装置30にはその旨の表示は行われない。   In this case, it is determined whether or not a failure has occurred in the printer 50 before image data is transmitted from the host computer PCi as the image processing device to the printer 50 as the image forming device. Then, it is determined whether or not image data is transmitted from the host computer PCi to the printer 50. If the image data is transmitted, a display indicating that a failure has occurred in the printer 50 is displayed on the display device 30. The Further, when image data is not transmitted, even if a failure occurs in the printer 50, the display device 30 does not display that effect.

そのために、本実施の形態において、送信処理部としてのプリントモニタ14は、プリントスプーラ12から受信した画像データを順次ポートモニタ15に送信する動作管理部14b、及びプリントモニタ14が“待機中”であるか、又は“動作中”であるかを表す動作情報(例えば、フラグ)を記録するための動作情報部14aを備える。この場合、“待機中”は、画像データをプリンタ50に送信するのを待機していることを、“動作中”は画像データをプリンタ50に送信していることを表す。なお、“待機中”においては、画像形成部としての画像データ印刷処理部53(図7)における画像形成待ちの画像データがプリントモニタ14に保持される。   Therefore, in the present embodiment, the print monitor 14 serving as a transmission processing unit is configured so that the operation management unit 14b that sequentially transmits the image data received from the print spooler 12 to the port monitor 15 and the print monitor 14 are “standby”. There is provided an operation information unit 14a for recording operation information (for example, a flag) indicating whether or not there is “in operation”. In this case, “standby” indicates that the image data is waiting to be transmitted to the printer 50, and “active” indicates that the image data is being transmitted to the printer 50. During “standby”, image data waiting for image formation in the image data print processing unit 53 (FIG. 7) as the image forming unit is held in the print monitor 14.

前記動作管理部14bは、情報監視部20が、プリントモニタ14の動作を確認するために、動作管理部14bに対して動作の確認要求(“待機中”であるか、又は“動作中”であるかの確認の要求)を行うと、動作情報部14aの情報、すなわち、動作情報を読み込み、状態監視部20に送信する。なお、プリントモニタ14が“待機中”である場合、動作情報は、“待機中”である旨の通知が行われ、“待機中通知”の状態に置かれ、プリントモニタ14が“動作中”である場合、動作情報は、“動作中”である旨の通知が行われ、“動作中通知”の状態に置かれる。また、初期状態において、前記動作情報は、“待機中通知”の状態に置かれる。   The operation management unit 14b is configured so that the information monitoring unit 20 confirms the operation of the print monitor 14 with an operation confirmation request (“waiting” or “in operation”) from the operation management unit 14b. When a request for confirmation is made), the information of the operation information unit 14 a, that is, the operation information is read and transmitted to the state monitoring unit 20. When the print monitor 14 is “standby”, the operation information is notified that it is “standby” and is placed in the “standby notification” state, and the print monitor 14 is “operating”. In the case of, the operation information is notified that it is “in operation” and is placed in the “in-operation notification” state. In the initial state, the operation information is placed in a “waiting notification” state.

前記状態監視部20には、ステータス監視部27と接続させて前回検出ステータスコード保存部91が配設され、該前回検出ステータスコード保存部91に、前回のプリンタ50の状態を表す前回取得したステータスコード59b(図8)、すなわち、前回検出ステータスコードが記録される。なお、初期状態において、前回検出ステータスコード保存部91には前回検出ステータスコードとして“0”が記録される。   The status monitoring unit 20 is provided with a previous detection status code storage unit 91 connected to the status monitoring unit 27, and the previous detection status code storage unit 91 stores the previous status indicating the status of the printer 50. The code 59b (FIG. 8), that is, the previous detection status code is recorded. In the initial state, “0” is recorded as the previous detection status code in the previous detection status code storage unit 91.

前記ステータス監視部27は、計時機構部16からの時刻情報によって周期的にプリンタ情報取得部29にステータスコード59bの取得を要求し、ステータスコード59bを取得すると、前回検出ステータスコード保存部91から前回検出ステータスコードを読み出し、前記ステータスコード59bと前回検出ステータスコードとを比較し、ステータスコード59bと前回検出ステータスコードとが一致しない場合、ステータスコード59bを、前回検出ステータスコード保存部91に書き込むとともに、状態判定部としてのステータス判定部24に送信する。   The status monitoring unit 27 periodically requests the printer information acquisition unit 29 to acquire the status code 59b based on the time information from the time measuring unit 16, and when the status code 59b is acquired, the previous status detection status code storage unit 91 receives the previous status code 59b. The detection status code is read, the status code 59b is compared with the previous detection status code, and if the status code 59b does not match the previous detection status code, the status code 59b is written in the previous detection status code storage unit 91; It transmits to the status determination part 24 as a state determination part.

次に、前記構成の画像処理システムの動作について説明する。   Next, the operation of the image processing system having the above configuration will be described.

まず、プリントモニタ14の動作について説明する。   First, the operation of the print monitor 14 will be described.

図17は本発明の第2の実施の形態におけるプリントモニタの動作を示すフローチャートである。   FIG. 17 is a flowchart showing the operation of the print monitor according to the second embodiment of the present invention.

この場合、プリントモニタ14(図15)は、プリントスプーラ12からの“ジョブ開始”の通知を待機する状態で起動され、この状態で、状態監視部20による動作の確認要求があるかどうかを判断する。状態監視部20による動作の確認要求がある場合、動作管理部14bは、動作情報部14aを参照し、プリントモニタ14が“待機中”であるか、又は“動作中”であるかを確認する。すなわち、動作情報部14aの動作情報が“待機中通知”の状態に置かれている場合、プリントモニタ14は“待機中”であると判断され、動作情報部14aの動作情報が“動作中通知”の状態に置かれている場合、プリントモニタ14は“動作中”であると判断される。   In this case, the print monitor 14 (FIG. 15) is activated in a state of waiting for a notification of “job start” from the print spooler 12, and in this state, it is determined whether or not there is an operation confirmation request from the state monitoring unit 20. To do. When there is an operation confirmation request from the state monitoring unit 20, the operation management unit 14b refers to the operation information unit 14a and confirms whether the print monitor 14 is “standby” or “in operation”. . That is, when the operation information of the operation information unit 14a is in the “notification on standby” state, the print monitor 14 is determined to be “on standby”, and the operation information of the operation information unit 14a is “notification in operation”. In the case of "", the print monitor 14 is determined to be "operating".

前記動作情報部14aの動作情報が“動作中通知”の状態に置かれている場合、動作管理部14bは、状態監視部20に“動作中”を通知し、動作情報部14aの動作情報が“待機中通知”の状態に置かれている場合、動作管理部14bは、状態監視部20に“待機中”を通知する。なお、動作情報部14aの動作情報が“動作中通知”の状態に置かれている場合、動作管理部14bは、状態監視部20に“動作中”を通知した後、動作情報部14aを初期状態に戻すために、動作情報を“待機中通知”の状態に変更する。   When the operation information of the operation information unit 14a is in the “in-operation notification” state, the operation management unit 14b notifies the state monitoring unit 20 of “in operation”, and the operation information of the operation information unit 14a is When placed in the “waiting notification” state, the operation management unit 14 b notifies the state monitoring unit 20 of “waiting”. When the operation information of the operation information unit 14a is in the “notification in operation” state, the operation management unit 14b notifies the state monitoring unit 20 of “in operation” and then initializes the operation information unit 14a. In order to return to the state, the operation information is changed to a “waiting notification” state.

このようにして、状態監視部20は、プリントモニタ14が“待機中”であるか、又は“動作中”であるかを確認することができる。   In this way, the state monitoring unit 20 can confirm whether the print monitor 14 is “standby” or “in operation”.

次に、プリントモニタ14がプリントスプーラ12からの“ジョブ開始”の通知を受信すると、動作管理部14bは、動作情報部14aの動作情報を“動作中通知”の状態に変更する。そして、その後、状態監視部20による動作の確認要求があると、動作管理部14bは、状態監視部20に“動作中”を通知する。   Next, when the print monitor 14 receives a “job start” notification from the print spooler 12, the operation management unit 14b changes the operation information in the operation information unit 14a to a “notifying in operation” state. After that, when there is an operation confirmation request from the state monitoring unit 20, the operation management unit 14 b notifies the state monitoring unit 20 of “in operation”.

また、プリントモニタ14がプリントスプーラ12から“ジョブ開始”の通知を受けるのに伴って、動作管理部14bは、プリントスプーラ12から受信した画像データをポートモニタ15に送信する。   As the print monitor 14 receives a “job start” notification from the print spooler 12, the operation management unit 14 b transmits the image data received from the print spooler 12 to the port monitor 15.

該ポートモニタ15は、プリントモニタ14から画像データを受信すると、該画像データをプリンタ50のポート番号9100のポートにそのまま送信し、プリントモニタ14は、プリントスプーラ12から“ジョブ終了”の通知を受信することによって、それ以上画像データが送信されないことを認識し、プリントモニタ14を、“ジョブ開始”の通知を受けるための待機状態に戻す。   When the port monitor 15 receives the image data from the print monitor 14, the port monitor 15 directly transmits the image data to the port of the port number 9100 of the printer 50, and the print monitor 14 receives the notification of “job end” from the print spooler 12. By doing so, it is recognized that no more image data is transmitted, and the print monitor 14 is returned to a standby state for receiving a notification of “job start”.

なお、“ジョブ終了”の通知を受信し、プリントモニタ14を、“ジョブ開始”の通知を受けるための待機状態に戻したときに、動作情報部14aの動作情報は“待機中通知”の状態に変更されない。これは、ジョブの画像データのデータ量が少ない場合、状態監視部20が動作管理部14bに対して動作の確認要求を行う周期の間に、プリントモニタ14が“ジョブ開始”の通知によって起動され、“ジョブ終了”の通知によって待機状態に戻ってしまうことがあるが、その場合でも、状態監視部20による動作の確認要求があったときに、“動作中”を一回は通知することができるようにするためである。   When the “job end” notification is received and the print monitor 14 is returned to the standby state for receiving the “job start” notification, the operation information in the operation information section 14a is in the “waiting notification” state. Is not changed. This is because, when the amount of image data of a job is small, the print monitor 14 is activated by a “job start” notification during a period in which the state monitoring unit 20 requests the operation management unit 14b to confirm the operation. In some cases, the status may be returned to the standby state by the notification of “job end”, but even in such a case, when an operation confirmation request is issued by the status monitoring unit 20, “in operation” may be notified once. This is to make it possible.

したがって、プリンタ50において障害が発生した場合に、表示装置30に確実に障害情報を表示することができる。   Therefore, when a failure occurs in the printer 50, the failure information can be reliably displayed on the display device 30.

これに対して、ジョブの画像データのデータ量が多い場合、プリントモニタ14が“ジョブ開始”の通知によって起動され、“ジョブ終了”の通知によって待機状態に戻るまでに、状態監視部20が動作管理部14bに対して複数回にわたり、動作の確認要求を行うことになる。ところが、前述されたように、動作情報部14aの動作情報が“動作中通知”の状態に置かれている場合、動作管理部14bは、状態監視部20に“動作中”を通知した後、動作情報部14aの動作情報が“待機中通知”の状態に変更されるので、状態監視部20による動作の確認要求があるたびに、“動作中”が通知されることがなくなる。   On the other hand, when the amount of image data of the job is large, the status monitor 20 operates until the print monitor 14 is activated by a “job start” notification and returns to a standby state by a “job end” notification. An operation confirmation request is made to the management unit 14b a plurality of times. However, as described above, when the operation information of the operation information unit 14a is placed in the “in-operation notification” state, the operation management unit 14b notifies the state monitoring unit 20 of “in operation” Since the operation information in the operation information unit 14a is changed to the “notification on standby” state, “in operation” is not notified each time an operation confirmation request is issued by the state monitoring unit 20.

したがって、プリンタ50において障害が発生した場合に、表示装置30に繰り返し障害情報が表示されるのを防止することができる。   Therefore, it is possible to prevent the failure information from being repeatedly displayed on the display device 30 when a failure occurs in the printer 50.

次に、フローチャートについて説明する。
ステップS81 “ジョブ開始”の通知を受信したかどうかを判断する。“ジョブ開始”の通知を受信した場合はステップS87に、受信していない場合はステップS82に進む。
ステップS82 状態監視部20による動作の確認要求があるかどうかを判断する。状態監視部20による動作の確認要求がある場合はステップS83に進み、確認要求がない場合はリターンする。
ステップS83 “動作中通知”の状態であるかどうかを判断する。“動作中通知”の状態である場合はステップS85に、状態でない場合はステップS84に進む。
ステップS84 “待機中”を通知し、リターンする。
ステップS85 “動作中”を通知する。
ステップS86 “待機中通知”の状態に変更し、リターンする。
ステップS87 “動作中通知”の状態に変更する。
ステップS88 状態監視部20による動作の確認要求があるかどうかを判断する。状態監視部20による動作の確認要求がある場合はステップS89に、確認要求がない場合はステップS90に進む。
ステップS89 “動作中”を通知する。
ステップS90 画像データをポートモニタ15に送信する。
ステップS91 画像データをポートに送信する。
ステップS92 “ジョブ終了”の通知を受信したかどうかを判断する。“ジョブ終了”の通知を受信した場合はリターンし、受信していない場合はステップS88に戻る。
Next, a flowchart will be described.
Step S81: It is determined whether a “job start” notification has been received. If a “job start” notification is received, the process proceeds to step S87. If not received, the process proceeds to step S82.
Step S82: It is determined whether or not there is an operation confirmation request from the state monitoring unit 20. When there is an operation confirmation request from the state monitoring unit 20, the process proceeds to step S83, and when there is no confirmation request, the process returns.
Step S83: It is determined whether or not the “in-operation notification” state is set. If it is in the “notifying in operation” state, the process proceeds to step S85, and if not, the process proceeds to step S84.
Step S84: “Waiting” is notified and the process returns.
Step S85: “In operation” is notified.
Step S86: The status is changed to “notification on standby” and the process returns.
Step S87: Changes to the “notification in operation” state.
Step S88: It is determined whether or not there is an operation confirmation request from the state monitoring unit 20. If there is an operation confirmation request from the state monitoring unit 20, the process proceeds to step S89, and if there is no confirmation request, the process proceeds to step S90.
Step S89: “In operation” is notified.
Step S90 The image data is transmitted to the port monitor 15.
Step S91: The image data is transmitted to the port.
Step S92: It is determined whether a notification of “Job End” has been received. If a “job end” notification has been received, the process returns. If not, the process returns to step S88.

次に、ホストコンピュータPCiがプリンタ50に発生した障害を検出し、操作者に障害の発生を通知する動作について説明する。   Next, an operation in which the host computer PCi detects a failure that has occurred in the printer 50 and notifies the operator of the occurrence of the failure will be described.

図18は本発明の第2の実施の形態におけるプリンタにおいて障害が発生したときのホストコンピュータの動作を示す第1のフローチャート、図19は本発明の第2の実施の形態におけるプリンタにおいて障害が発生したときのホストコンピュータの動作を示す第2のフローチャートである。   FIG. 18 is a first flowchart showing the operation of the host computer when a failure occurs in the printer according to the second embodiment of the present invention. FIG. 19 shows a failure occurring in the printer according to the second embodiment of the present invention. It is a 2nd flowchart which shows operation | movement of a host computer when it does.

まず、ステータス監視部27(図16)は、計時機構部16から時刻を読み込み、該時刻と前回読み込んだ時刻との差を求めることによって読込周期を算出する。なお、本実施の形態においては、例えば、前記読込周期を10秒とする。   First, the status monitoring unit 27 (FIG. 16) reads the time from the time measuring unit 16, and calculates the reading cycle by obtaining the difference between the time and the time read last time. In the present embodiment, for example, the reading cycle is 10 seconds.

続いて、ステータス監視部27は、読込周期である10秒が経過すると、プリンタ情報取得部29に対してプリンタ50からステータスコード59b(図8)を取得するように要求する。そして、プリンタ情報取得部29は、SNMP通信部29aを介してプリンタ50に対してステータスコード59bを通知するよう要求する。   Subsequently, the status monitoring unit 27 requests the printer information acquisition unit 29 to acquire the status code 59b (FIG. 8) from the printer 50 when 10 seconds as the reading cycle has elapsed. Then, the printer information acquisition unit 29 requests the printer 50 to notify the status code 59b via the SNMP communication unit 29a.

前記SNMP通信部29aを介してステータスコード59bを取得する際には、周辺機器がSNMPを使用して外部に情報を通知する方法として、MIB2が使用される。   When acquiring the status code 59b via the SNMP communication unit 29a, MIB2 is used as a method for the peripheral device to notify the outside using SNMP.

次に、ステータス監視部27は、プリンタ情報取得部29を介してプリンタ50からステータスコード59bを取得すると、前回検出ステータスコード保存部91から前回検出ステータスコードを読み出し、取得したステータスコード59bと前回検出ステータスコードとを比較する。   Next, when the status monitoring unit 27 acquires the status code 59b from the printer 50 via the printer information acquisition unit 29, the status monitoring unit 27 reads the previous detection status code from the previous detection status code storage unit 91, and acquires the acquired status code 59b and the previous detection. Compare the status code.

そして、取得したステータスコード59bと前回検出ステータスコードとが一致する場合、ステータス監視部27は、ステータスコード59bの読込周期の経過を待機し、再び計時機構部16から時刻を読み込む処理に戻る。   If the acquired status code 59b matches the previously detected status code, the status monitoring unit 27 waits for the elapse of the reading period of the status code 59b and returns to the process of reading the time from the time measuring unit 16 again.

また、取得したステータスコード59bと前回検出ステータスコードとが一致しない場合、ステータス監視部27は、ステータスコード59bを次回の比較用に前回検出ステータスコード保存部91に保存する。   If the acquired status code 59b does not match the previous detection status code, the status monitoring unit 27 stores the status code 59b in the previous detection status code storage unit 91 for the next comparison.

次に、ステータス監視部27は、ステータスコード59bをステータス判定部24に送信し、ステータス判定部24は、受信したステータスコード59bの判定を行う。そのために、ステータス判定部24は、ステータスコード情報部25を参照し、受信したステータスコード59bと同じステータスコード25a(図5)に対応する障害種別25b及びメッセージ25cを読み出す。   Next, the status monitoring unit 27 transmits the status code 59b to the status determination unit 24, and the status determination unit 24 determines the received status code 59b. Therefore, the status determination unit 24 refers to the status code information unit 25 and reads the failure type 25b and the message 25c corresponding to the same status code 25a (FIG. 5) as the received status code 59b.

なお、例えば、受信したステータスコード59bが、例えば、“40021”である場合、障害種別25bは“障害”であり、メッセージ25cは“カバーオープン”であるので、ステータス判定部24は、プリンタ50に障害が発生したと判断し、通知条件判定部22に該当するメッセージ25cを送信するとともに、障害の発生の通知を行う。なお、この場合、ステータスコード59bは障害情報としてプリンタ50からホストコンピュータPCiに送信される。   For example, when the received status code 59b is “40021”, for example, the failure type 25b is “failure” and the message 25c is “cover open”, the status determination unit 24 notifies the printer 50. It is determined that a failure has occurred, and a message 25c corresponding to the notification condition determination unit 22 is transmitted, and the occurrence of the failure is notified. In this case, the status code 59b is transmitted from the printer 50 to the host computer PCi as failure information.

前記通知条件判定部22は、障害の発生の通知を受信すると、“待機中通知”の状態であるか又は“動作中通知”の状態であるかによって、プリントモニタ14が“待機中”であるか又は“動作中”であるかを判断し、プリントモニタ14が“動作中”である場合は、ステータス判定部24から受信したメッセージ25cと共に障害通知部21に“表示”の通知を行い、ステータス監視部27は、ステータスコード59bの読込周期の経過を待機し、再び計時機構部16から時刻を読み込む処理に戻る。   When the notification condition determination unit 22 receives a notification of the occurrence of a failure, the print monitor 14 is “standby” depending on whether it is in a “standby notification” state or an “in-operation notification” state. If the print monitor 14 is “in operation”, the failure notification unit 21 is notified of the “display” together with the message 25c received from the status determination unit 24, and the status is displayed. The monitoring unit 27 waits for the reading cycle of the status code 59b to elapse, and returns to the process of reading the time from the time measuring mechanism unit 16 again.

続いて、障害通知部21は、通知条件判定部22から“表示”の通知と共に受信したメッセージ25cを、表示装置30(図15)のポップアップ70(図4)に、プリンタ50で障害が発生した旨のメッセージ70aとして表示する。そして、例えば、受信したメッセージ25cが“カバーオープン”である場合は、“カバーオープン”のメッセージ70aがポップアップ70に表示される。   Subsequently, the failure notification unit 21 receives the message 25c received from the notification condition determination unit 22 together with the “display” notification in the pop-up 70 (FIG. 4) of the display device 30 (FIG. 15), and the printer 50 has a failure. Is displayed as a message 70a to that effect. For example, when the received message 25 c is “cover open”, a “cover open” message 70 a is displayed on the pop-up 70.

したがって、操作者は、プリンタ50に画像データを送信した後、プリンタ50において障害が発生したことを迅速に知ることができる。   Therefore, the operator can quickly know that a failure has occurred in the printer 50 after transmitting the image data to the printer 50.

一方、前記通知条件判定部22は、プリントモニタ14が“待機中”である場合、プリントモニタ14によってホストコンピュータPCiからプリンタ50への画像データの送信が行われていないと判断し、処理中ジョブコンピュータ名判定部23に、プリンタ50において処理されているジョブの画像データに付加されている処理中ジョブコンピュータ名とコンピュータ名とが一致しているかどうかを確認するよう指示を送る。そして、前記処理中ジョブコンピュータ名判定部23は、前記指示を受けると、プリンタ情報取得部29に対してプリンタ50から処理中ジョブコンピュータ名を取得するよう要求する。   On the other hand, when the print monitor 14 is “standby”, the notification condition determination unit 22 determines that image data is not transmitted from the host computer PCi to the printer 50 by the print monitor 14, and a job being processed An instruction is sent to the computer name determination unit 23 to check whether the computer name of the job computer being processed added to the image data of the job being processed in the printer 50 matches the computer name. When receiving the instruction, the in-process job computer name determination unit 23 requests the printer information acquisition unit 29 to acquire the in-process job computer name from the printer 50.

前記プリンタ情報取得部29は、要求に従って、プリンタ50に処理中ジョブコンピュータ名を通知するよう要求する。そして、プリンタ情報取得部29は、SNMP通信部29aを介してプリンタ50から処理中ジョブコンピュータ名を受信すると、それがNULL文字であった場合も含め、処理中ジョブコンピュータ名を処理中ジョブコンピュータ名判定部23に送信する。なお、本実施の形態においては、例えば、受信した処理中ジョブコンピュータ名を“PC1”とする。   In response to the request, the printer information acquisition unit 29 requests the printer 50 to notify the name of the job computer being processed. When the printer information acquisition unit 29 receives the name of the job computer being processed from the printer 50 via the SNMP communication unit 29a, the name of the job computer being processed is included in the name of the job computer being processed, including the case where it is a NULL character. It transmits to the determination part 23. In the present embodiment, for example, the received job computer name is “PC1”.

続いて、処理中ジョブコンピュータ名判定部23は、NULL文字でない処理中ジョブコンピュータ名を受信した場合、処理中ジョブコンピュータ名を確認し、処理中ジョブコンピュータ名とホストコンピュータPCiのコンピュータ名とを比較し、処理中ジョブコンピュータ名とホストコンピュータPCiのコンピュータ名とが一致するかどうか、すなわち、コンピュータ名が一致するかどうかを判断する。コンピュータ名が一致する場合、処理中ジョブコンピュータ名判定部23は通知条件判定部22に“コンピュータ名一致”を、一致しない場合は“コンピュータ名不一致”を通知する。   Subsequently, when the in-process job computer name determination unit 23 receives the in-process job computer name that is not a NULL character, it checks the in-process job computer name and compares the in-process job computer name with the computer name of the host computer PCi. Then, it is determined whether the name of the job computer being processed matches the computer name of the host computer PCi, that is, whether the computer name matches. If the computer names match, the processing job computer name determination unit 23 notifies the notification condition determination unit 22 of “Computer name match”, and if they do not match, it notifies “Computer name mismatch”.

なお、NULL文字である処理中ジョブコンピュータ名を受信した場合、処理中ジョブコンピュータ名判定部23は、通知条件判定部22に“処理中ジョブコンピュータ名不明”を通知する。   When a processing job computer name that is a NULL character is received, the processing job computer name determination unit 23 notifies the notification condition determination unit 22 of “Unknown processing computer name”.

そして、通知条件判定部22は、処理中ジョブコンピュータ名判定部23から“コンピュータ名一致”の通知を受けると、ステータス判定部24から受信したメッセージ25cと共に障害通知部21に“表示”の通知を行い、ステータス監視部27は、ステータスコード59bの読込周期の経過を待機し、再び計時機構部16から時刻を読み込む処理に戻る。   When the notification condition determination unit 22 receives a “computer name match” notification from the processing job computer name determination unit 23, the notification condition determination unit 22 notifies the failure notification unit 21 of “display” together with the message 25 c received from the status determination unit 24. The status monitoring unit 27 waits for the reading period of the status code 59b to elapse, and returns to the process of reading the time from the time measuring unit 16 again.

続いて、障害通知部21は、通知条件判定部22から“表示”の通知と共に受信したメッセージ25cを、表示装置30のポップアップ70にメッセージ70aとして表示する。なお、メッセージ70aが既に表示されていた場合、障害通知部21は、メッセージ70aを“表示”の通知と共に受けたメッセージ25cに置き換える。そして、例えば、受けたメッセージ25cが“カバーオープン”である場合は、“カバーオープン”のメッセージ70aがポップアップ70に表示される。   Subsequently, the failure notification unit 21 displays the message 25 c received together with the “display” notification from the notification condition determination unit 22 as a message 70 a on the pop-up 70 of the display device 30. If the message 70a has already been displayed, the failure notification unit 21 replaces the message 70a with the message 25c received together with the “display” notification. For example, when the received message 25 c is “cover open”, a “cover open” message 70 a is displayed on the pop-up 70.

この場合、操作者は、プリントモニタ14が“待機中”であっても、プリンタ50に画像データを送信した後に、プリンタ50において障害が発生したことを迅速に知ることができる。   In this case, even if the print monitor 14 is “standby”, the operator can quickly know that a failure has occurred in the printer 50 after transmitting image data to the printer 50.

また、プリンタ50に障害が発生していないと判断されると、ステータス判定部24は、通知条件判定部22に障害の発生なしの通知を行う。   If it is determined that no failure has occurred in the printer 50, the status determination unit 24 notifies the notification condition determination unit 22 that no failure has occurred.

該通知条件判定部22は、障害の発生なしの通知を受けると、障害通知部21に“表示終了”の通知を行い、ステータス監視部27は、ステータスコードの読込周期の経過を待機し、再び計時機構部16から時刻を読み込む処理に戻る。そして、障害通知部21は“表示終了”の通知を受けると、表示装置30上に表示用メッセージ70aをポップアップ表示していた場合、その表示を閉じる。   When the notification condition determination unit 22 receives a notification that no failure has occurred, the notification condition determination unit 22 notifies the failure notification unit 21 of “display end”, and the status monitoring unit 27 waits for the progress of the status code reading cycle, and again The process returns to the process of reading the time from the time measuring mechanism 16. When the failure notification unit 21 receives the notification of “display end”, if the display message 70a is pop-up displayed on the display device 30, the display is closed.

したがって、画像データの送信元のホストコンピュータPCi以外のホストコンピュータPCiにおいて、表示装置30に障害情報が表示されることがなくなる。   Therefore, the failure information is not displayed on the display device 30 in the host computer PCi other than the host computer PCi that is the transmission source of the image data.

このように、本実施の形態においては、操作者が入力装置40を操作して印刷を開始するための指示を行った場合には、ホストコンピュータPCiからプリンタ50に画像データが送信されていなくても、プリントモニタ14の動作を確認するようになっているので、表示装置30に障害情報を確実に表示することができる。   As described above, in the present embodiment, when the operator gives an instruction to start printing by operating the input device 40, image data is not transmitted from the host computer PCi to the printer 50. However, since the operation of the print monitor 14 is confirmed, the failure information can be reliably displayed on the display device 30.

また、他の操作者が他のホストコンピュータPCiを使用して印刷を行ったときに、プリンタ50において障害が発生した場合には、当該ホストコンピュータPCiの表示装置30に障害情報が表示されることはないが、その後、当該ホストコンピュータPCiからプリンタ50に画像データが送信したときに、プリントモニタ14が“動作中”になるので、当該ホストコンピュータPCiの表示装置30に障害情報が表示される。   Further, when a failure occurs in the printer 50 when another operator prints using another host computer PCi, failure information is displayed on the display device 30 of the host computer PCi. However, when image data is transmitted from the host computer PCi to the printer 50 thereafter, the print monitor 14 becomes “in operation”, so that the failure information is displayed on the display device 30 of the host computer PCi.

次に、フローチャートについて説明する。
ステップS101 時刻を読み込む。
ステップS102 10秒が経過したかどうかを判断する。10秒が経過した場合はステップS103に進み、経過していない場合はリターンする。
ステップS103 ステータスコード59aを取得するよう要求する。
ステップS104 MIB2によりステータスコード59aを通知するよう要求する。
ステップS105 前回検出ステータスコードとの比較を行う。一致である場合はリターンし、不一致である場合はステップS106に進む。
ステップS106 取得したステータスコード59aを次回の比較用に保存する。
ステップS107 ステータスコード59aの判定を行う。障害が発生していない場合はステップS108に、障害が発生している場合はステップS111に進む。
ステップS108 障害の発生なしを通知する。
ステップS109 “表示終了”を通知する。
ステップS110 表示用のメッセージ70aの表示を閉じ、リターンする。
ステップS111 障害の発生を通知する。
ステップS112 プリントモニタ14が“動作中”であるかどうかを判断する。プリントモニタ14が“動作中”である場合はステップS117に、“動作中”でない場合はステップS113に進む。
ステップS113 処理中ジョブコンピュータ名を取得するよう要求する。
ステップS114 処理中ジョブコンピュータ名を通知するよう要求する。
ステップS115 処理中ジョブコンピュータ名を確認する。
ステップS116 コンピュータ名が一致するかどうかを判断する。コンピュータ名が一致する場合はステップS117に進み、一致しない場合はリターンする。
ステップS117 “表示”を通知する。
ステップS118 “カバーオープン”のメッセージ70aを表示し、リターンする。
Next, a flowchart will be described.
Step S101 Read the time.
Step S102: It is determined whether 10 seconds have elapsed. If 10 seconds have elapsed, the process proceeds to step S103, and if not, the process returns.
Step S103: Request to obtain the status code 59a.
Step S104 Request to notify the status code 59a by MIB2.
Step S105: Compare with the previous detection status code. If they match, the process returns. If they do not match, the process proceeds to step S106.
Step S106: The acquired status code 59a is stored for the next comparison.
Step S107 The status code 59a is determined. If no failure has occurred, the process proceeds to step S108. If a failure has occurred, the process proceeds to step S111.
Step S108 Notifies that no failure has occurred.
Step S109 “Display end” is notified.
Step S110: The display of the display message 70a is closed and the process returns.
Step S111: Notification of failure occurrence.
Step S112: It is determined whether the print monitor 14 is “in operation”. If the print monitor 14 is “in operation”, the process proceeds to step S117. If the print monitor 14 is not “in operation”, the process proceeds to step S113.
Step S113: Request to obtain the name of the job computer being processed.
Step S114: Request to notify the name of the job computer being processed.
Step S115: Check the name of the job computer being processed.
Step S116: Whether the computer names match is determined. If the computer names match, the process proceeds to step S117, and if they do not match, the process returns.
Step S117: “Display” is notified.
Step S118: “Cover open” message 70a is displayed and the process returns.

なお、本発明は前記各実施の形態に限定されるものではなく、本発明の趣旨に基づいて種々変形させることが可能であり、それらを本発明の範囲から排除するものではない。   The present invention is not limited to the above embodiments, and various modifications can be made based on the gist of the present invention, and they are not excluded from the scope of the present invention.

本発明の第1の実施の形態におけるホストコンピュータの説明図である。It is explanatory drawing of the host computer in the 1st Embodiment of this invention. 本発明の第1の実施の形態における画像処理システムを示すブロック図である。1 is a block diagram illustrating an image processing system according to a first embodiment of the present invention. 本発明の第1の実施の形態における状態監視部の説明図である。It is explanatory drawing of the state monitoring part in the 1st Embodiment of this invention. 本発明の第1の実施の形態における障害情報を表示するためのポップアップの例を示す図である。It is a figure which shows the example of the pop-up for displaying the failure information in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるステータスコード情報部の記録内容を示す図である。It is a figure which shows the recording content of the status code information part in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるプリンタを選択するためのポップアップの例を示す図である。It is a figure which shows the example of the pop-up for selecting the printer in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるプリンタの説明図である。It is explanatory drawing of the printer in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるプリンタステータスコード情報部の記録内容を示す図である。It is a figure which shows the recording content of the printer status code information part in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるプリンタの状態を監視するためのホストコンピュータの前準備の動作を示すフローチャートである。4 is a flowchart showing a preparatory operation of the host computer for monitoring the status of the printer according to the first embodiment of the present invention. 本発明の第1の実施の形態における画像データをプリンタモニタに送信する動作を示すフローチャートである。3 is a flowchart illustrating an operation of transmitting image data to a printer monitor according to the first embodiment of the present invention. 本発明の第1の実施の形態における画像データをプリンタに送信する動作を示すフローチャートである。3 is a flowchart illustrating an operation of transmitting image data to a printer according to the first embodiment of the present invention. 本発明の第1の実施の形態におけるプリンタの動作を示すフローチャートである。3 is a flowchart illustrating an operation of the printer according to the first embodiment of the present invention. 本発明の第1の実施の形態におけるプリンタにおいて障害が発生したときのホストコンピュータの動作を示すフローチャートである。4 is a flowchart illustrating an operation of the host computer when a failure occurs in the printer according to the first embodiment of the present invention. 本発明の第1の実施の形態におけるプリンタがホストコンピュータにステータスコード及び処理中ジョブコンピュータ名を送信する動作を示すフローチャートである。4 is a flowchart illustrating an operation in which the printer according to the first embodiment of the present invention transmits a status code and a job computer name being processed to the host computer. 本発明の第2の実施の形態におけるホストコンピュータの説明図である。It is explanatory drawing of the host computer in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における状態監視部の説明図である。It is explanatory drawing of the state monitoring part in the 2nd Embodiment of this invention. 本発明の第2の実施の形態におけるプリントモニタの動作を示すフローチャートである。10 is a flowchart illustrating an operation of a print monitor according to a second embodiment of the present invention. 本発明の第2の実施の形態におけるプリンタにおいて障害が発生したときのホストコンピュータの動作を示す第1のフローチャートである。It is a 1st flowchart which shows operation | movement of a host computer when a failure generate | occur | produces in the printer in the 2nd Embodiment of this invention. 本発明の第2の実施の形態におけるプリンタにおいて障害が発生したときのホストコンピュータの動作を示す第2のフローチャートである。It is a 2nd flowchart which shows operation | movement of a host computer when a failure generate | occur | produces in the printer in the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

14 プリントモニタ
20 状態監視部
21 障害通知部
23 処理中ジョブコンピュータ名判定部
50 プリンタ
51 プリンタポート通信部
53 画像データ印刷処理部
58 ステータス管理部
59b ステータスコード
PCi ホストコンピュータ
14 Print Monitor 20 Status Monitoring Unit 21 Failure Notification Unit 23 Processing Job Computer Name Determination Unit 50 Printer 51 Printer Port Communication Unit 53 Image Data Print Processing Unit 58 Status Management Unit 59b Status Code PCi Host Computer

Claims (4)

複数の画像処理装置がネットワークを介して接続された画像形成装置において、
(a)前記各画像処理装置のうちの所定の画像処理装置から画像データを受信する受信部と、
(b)該受信部によって受信された画像データに基づいて画像を形成する画像形成部と、
(c)前記画像形成装置において障害が発生したことを検出する障害発生検出部と、
(d)前記障害が発生したことが検出されたときに、前記画像形成部における画像形成中の画像データ又は画像形成待ちの画像データの送信元の画像処理装置だけに障害情報を送信する障害情報送信部とを有することを特徴とする画像形成装置。
In an image forming apparatus in which a plurality of image processing apparatuses are connected via a network,
(A) a receiving unit that receives image data from a predetermined image processing device among the image processing devices;
(B) an image forming unit that forms an image based on the image data received by the receiving unit;
(C) a failure occurrence detection unit for detecting that a failure has occurred in the image forming apparatus;
(D) Fault information for transmitting fault information only to an image processing apparatus that is a transmission source of image data being image-formed or waiting for image formation in the image forming unit when it is detected that the fault has occurred. An image forming apparatus comprising: a transmission unit.
複数の画像処理装置と画像形成装置とがネットワークを介して接続された画像処理システムにおいて、
(a)前記各画像処理装置のうちの所定の画像処理装置から画像データを受信する受信部と、
(b)該受信部によって受信された画像データに基づいて画像を形成する画像形成部と、
(c)前記画像形成装置において障害が発生したことを検出する障害発生検出部と、
(d)前記障害が発生したことが検出されたときに、前記画像形成部における画像形成中の画像データ又は画像形成待ちの画像データの送信元の画像処理装置に障害情報を送信する障害情報送信部と、
(e)該障害情報送信部から障害情報を受信し、障害の発生を操作者に通知する障害通知部とを有することを特徴とする画像処理システム。
In an image processing system in which a plurality of image processing apparatuses and image forming apparatuses are connected via a network,
(A) a receiving unit that receives image data from a predetermined image processing device among the image processing devices;
(B) an image forming unit that forms an image based on the image data received by the receiving unit;
(C) a failure occurrence detection unit for detecting that a failure has occurred in the image forming apparatus;
(D) Failure information transmission for transmitting failure information to an image processing apparatus that is a transmission source of image data being image-formed or waiting for image formation in the image forming unit when it is detected that the failure has occurred. And
(E) An image processing system comprising: a failure notification unit that receives failure information from the failure information transmission unit and notifies an operator of the occurrence of the failure.
(a)前記画像処理装置から受信した画像データから、画像処理装置を特定するための識別情報を取得する識別情報検出部を有するとともに、
(b)前記障害情報送信部は、前記識別情報を画像処理装置に送信し、
(c)前記障害通知部は、前記画像処理装置から受信した識別情報に基づいて、障害の発生を操作者に通知する請求項2に記載の画像処理システム。
(A) having an identification information detection unit for acquiring identification information for specifying the image processing device from the image data received from the image processing device;
(B) The failure information transmission unit transmits the identification information to an image processing device,
(C) The image processing system according to claim 2, wherein the failure notification unit notifies an operator of the occurrence of a failure based on the identification information received from the image processing device.
(a)前記画像データを画像処理装置に送信する処理を行う送信処理部と、
(b)該送信処理部の動作を確認する状態監視部とを有するとともに、
(c)前記障害通知部は、前記送信処理部の動作に基づいて障害の発生を操作者に通知する請求項2に記載の画像処理システム。
(A) a transmission processing unit that performs processing for transmitting the image data to an image processing device;
(B) having a state monitoring unit for confirming the operation of the transmission processing unit;
(C) The image processing system according to claim 2, wherein the failure notification unit notifies an operator of the occurrence of a failure based on an operation of the transmission processing unit.
JP2008043342A 2008-02-25 2008-02-25 Image processing apparatus and image processing system Active JP4866377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008043342A JP4866377B2 (en) 2008-02-25 2008-02-25 Image processing apparatus and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008043342A JP4866377B2 (en) 2008-02-25 2008-02-25 Image processing apparatus and image processing system

Publications (2)

Publication Number Publication Date
JP2009201060A true JP2009201060A (en) 2009-09-03
JP4866377B2 JP4866377B2 (en) 2012-02-01

Family

ID=41144039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008043342A Active JP4866377B2 (en) 2008-02-25 2008-02-25 Image processing apparatus and image processing system

Country Status (1)

Country Link
JP (1) JP4866377B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011076226A (en) * 2009-09-29 2011-04-14 Canon Inc Information processing apparatus and method of the same
JP2016020050A (en) * 2014-07-14 2016-02-04 キヤノン株式会社 Information processor, method for controlling the same, program, and information processing system
JP2018073218A (en) * 2016-10-31 2018-05-10 キヤノンマーケティングジャパン株式会社 Information processing apparatus, processing method thereof, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1195957A (en) * 1997-09-18 1999-04-09 Canon Inc Device and method for controlling printing and storage medium storing computer-readable program
JP2003015851A (en) * 2001-06-27 2003-01-17 Sharp Corp Device, system and program for processing image
JP2006272570A (en) * 2005-03-28 2006-10-12 Fuji Xerox Co Ltd Image forming device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1195957A (en) * 1997-09-18 1999-04-09 Canon Inc Device and method for controlling printing and storage medium storing computer-readable program
JP2003015851A (en) * 2001-06-27 2003-01-17 Sharp Corp Device, system and program for processing image
JP2006272570A (en) * 2005-03-28 2006-10-12 Fuji Xerox Co Ltd Image forming device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011076226A (en) * 2009-09-29 2011-04-14 Canon Inc Information processing apparatus and method of the same
JP2016020050A (en) * 2014-07-14 2016-02-04 キヤノン株式会社 Information processor, method for controlling the same, program, and information processing system
US10254809B2 (en) 2014-07-14 2019-04-09 Canon Kabushiki Kaisha Information processing apparatus having power saving function, control method for information processing apparatus, storage medium, and information processing system
US11543869B2 (en) 2014-07-14 2023-01-03 Canon Kabushiki Kaisha Information processing apparatus having power saving function, control method for information processing apparatus, storage medium, and information processing system
JP2018073218A (en) * 2016-10-31 2018-05-10 キヤノンマーケティングジャパン株式会社 Information processing apparatus, processing method thereof, and program

Also Published As

Publication number Publication date
JP4866377B2 (en) 2012-02-01

Similar Documents

Publication Publication Date Title
JP5460818B2 (en) Information processing apparatus and method
US8453017B2 (en) Electronic device saving selected error information and an error management system including such a device
US10333774B2 (en) Image forming apparatus that cooperates with management server, method of controlling image forming apparatus, and storage medium
JP4455411B2 (en) Information processing apparatus, information notification method thereof, and control program
US7746493B2 (en) Job management apparatus and method of recognizing job completion, and control program used therewith
JP2004094919A (en) Information processor, information processing method, program, and storage medium
JP2013045200A (en) Support service system, electronic apparatus, and image forming device
KR100727946B1 (en) Method and apparatus of controlling printing jobs for image forming device in off-line
JP5639484B2 (en) Management system, management server, image forming apparatus, management method, and program
US8379259B2 (en) Image forming system, device managing method thereof, and program therefor
JP4866377B2 (en) Image processing apparatus and image processing system
US9405491B2 (en) Printing apparatus, control method in printing apparatus, and storage medium
EP2608520B1 (en) Performing error notification and error recovery in an image forming apparatus
JP3658325B2 (en) NETWORK INTERFACE DEVICE, DEVICE TERMINAL DEVICE, AND NETWORK INTERFACE DEVICE CONTROL METHOD
JP5501309B2 (en) Electronic apparatus and image forming apparatus
US7532346B2 (en) Information collecting apparatus, rebooting method, program, and remote maintenance system
JP2007328425A (en) Controller, and image forming apparatus
JP2007074275A (en) Image processing apparatus, program for support system and recording medium recording the program
JP4174411B2 (en) Job management apparatus, job management method, and job management program
JP2017154319A (en) Control system, method for processing the same and program
JP2010066798A (en) Image processing apparatus, and user authentication method of image processing apparatus
JP2009009464A (en) Log accumulation device and log accumulation program
JP2023148562A (en) Information processing device
JP2022057252A (en) Image processing apparatus and image processing system
JP4891859B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091209

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110929

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141118

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4866377

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350