JP4196835B2 - Information acquisition processing program, computer, and information acquisition processing system - Google Patents
Information acquisition processing program, computer, and information acquisition processing system Download PDFInfo
- Publication number
- JP4196835B2 JP4196835B2 JP2004003244A JP2004003244A JP4196835B2 JP 4196835 B2 JP4196835 B2 JP 4196835B2 JP 2004003244 A JP2004003244 A JP 2004003244A JP 2004003244 A JP2004003244 A JP 2004003244A JP 4196835 B2 JP4196835 B2 JP 4196835B2
- Authority
- JP
- Japan
- Prior art keywords
- forming apparatus
- image forming
- output
- command
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、コンピュータが、コンピュータに接続された画像形成装置から、画像形成装置側で管理されている画像形成装置情報を取得する情報取得処理を、コンピュータに実行させるための情報取得処理プログラム、前記情報取得処理を実行するコンピュータ、および前記情報取得処理を実行するコンピュータと当該コンピュータに接続された画像形成装置とを備えた情報取得処理システムに関する。 The present invention provides an information acquisition processing program for causing a computer to execute an information acquisition process in which a computer acquires image forming apparatus information managed on the image forming apparatus side from an image forming apparatus connected to the computer, The present invention relates to an information acquisition processing system including a computer that executes information acquisition processing, and a computer that executes the information acquisition processing and an image forming apparatus connected to the computer.
従来、コンピュータが、当該コンピュータに接続された画像形成装置から、当該画像形成装置側で管理されている画像形成装置情報を取得する技術が知られている(例えば、下記特許文献1参照)。
2. Description of the Related Art Conventionally, a technique is known in which a computer acquires image forming apparatus information managed on the image forming apparatus side from an image forming apparatus connected to the computer (see, for example,
下記特許文献1に記載のシステムにおいては、コンピュータが、当該コンピュータに接続された画像形成装置から、当該画像形成装置側で管理されている画像形成装置情報を取得しており、さらに、取得した情報をネットワークを介して管理コンピュータに対して提供し、この情報の提供を受けた管理コンピュータが、ネットワーク上のコンピュータに接続された画像形成装置に関する情報を統括的に管理している。
ところで、上記特許文献1に記載の如き技術において、コンピュータが画像形成装置から情報を取得する際に使われる手法として、コンピュータ側から画像形成装置側へプリンタジョブ言語(PJL;Printer Job Language)で記述されたコマンド(以下、PJLコマンドともいう)を与え、画像形成装置側から返される情報をコンピュータ側でリードバックする、という手法が知られている。PJLは、画像形成装置が備える各種機能の制御を可能とするコマンド言語で、Hewlett-Packard社において開発され、その後他社でも採用された周知のものである。このようなPJLコマンドを画像形成装置に与える場合、PJLコマンドは、通常、印刷スプーラ経由で画像形成装置へと出力される。
By the way, in the technique as described in the above-mentioned
ここで、このようなPJLコマンドを印刷スプーラ経由で画像形成装置へ出力する処理は、通常、バックグラウンドで処理されている。また、印刷スプーラのキューに他の印字ジョブがたまっていなければ、通常、PJLコマンドはごく短時間で処理されて印刷スプーラのキューから消える。そのため、このようなPJLコマンドの出力処理が行われていることを、多くの利用者は意識していない。 Here, the process of outputting such a PJL command to the image forming apparatus via the print spooler is normally performed in the background. If there are no other print jobs in the print spooler queue, the PJL command is normally processed in a very short time and disappears from the print spooler queue. For this reason, many users are not aware that such PJL command output processing is being performed.
しかし、PJLコマンドを印刷スプーラ経由で画像形成装置へ出力する際、その前に処理すべき印字ジョブが、印刷スプーラのキューにたまっていたり、画像形成装置側のエラー(例えば、紙切れ等)が原因で、印刷スプーラから画像形成装置への出力ができない状況になっていたりすると、PJLコマンドがいつまでも印刷スプーラのキューに残っている状態になる。 However, when a PJL command is output to the image forming apparatus via the print spooler, a print job to be processed before that is accumulated in the queue of the print spooler or due to an error on the image forming apparatus side (for example, out of paper) If the print spooler cannot output to the image forming apparatus, the PJL command remains in the print spooler queue indefinitely.
そのため、キューに残っているPJLコマンドが生成された理由を知らない利用者にとっては、見覚えのない印字ジョブがキューに入れられていることになり、そのまま放置してよいのか、削除すべきものなのか、対応に困る場合があった。また、近年は、コンピュータウィルスに注意している利用者も多いため、見覚えのない印字ジョブがキューに入れられていると、コンピュータウィルスが原因で発生した印字ジョブではないかと考えさせる等、利用者に余計な心配をさせてしまうおそれもあった。 Therefore, for a user who does not know the reason why the PJL command remaining in the queue is generated, an unfamiliar print job is queued and can be left as it is or should be deleted. There were cases where it was difficult to respond. In recent years, there are many users who are aware of computer viruses, so if a print job that you don't recognize is queued, the user may think that it is a print job caused by a computer virus. There was also the risk of annoying extra worries.
本発明は、上記問題を解決するためになされたものであり、その目的は、画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラ経由で画像形成装置側へと出力する際に、コマンドを含むジョブが長期間にわたって印刷スプーラのキューに残らないようにすることにある。 The present invention has been made in order to solve the above-described problem, and its purpose is to output a command for requesting provision of image forming apparatus information to the image forming apparatus side via a print spooler. the command is to make it contains plain job does not remain in the queue of the print spooler over a long period of time.
以下、本発明において採用した特徴的構成について説明する。
本発明の情報取得処理プログラムは、
入出力I/Fを備えるコンピュータと、前記入出力I/Fを介して前記コンピュータに接続された画像形成装置とを備え、前記コンピュータには、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」が設けられているシステムにおいて、前記画像形成装置側で管理されている画像形成装置情報を、前記コンピュータが前記画像形成装置から取得する処理を、前記コンピュータに実行させるためのプログラムであって、
前記コンピュータが実行する手順として、
前記印刷スプーラに前記出力データを与えた場合に、前記キューに保管されたジョブの数が所定数以下であるか否かを判定する状態判定手順と、
該状態判定手順において、前記キューに保管されたジョブの数が所定数以下であると判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える一方、キューに保管されたジョブの数が所定数以下でないと判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与えない情報要求手順と、
前記印刷スプーラが出力する前記コマンドを受信した前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手順と
を含むことを特徴とする。
The characteristic configuration employed in the present invention will be described below.
The information acquisition processing program of the present invention is
A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” In the system "are provided, the image forming apparatus information managed by the image forming apparatus, a process in which the computer is acquired from the image forming apparatus, a program for causing the computer to execute,
As a procedure executed by the computer,
A state determination procedure for determining whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when the output data is given to the print spooler;
In the state determination procedure, when it is determined that the number of jobs stored in the queue is equal to or less than a predetermined number, a command for requesting the image forming apparatus to provide the image forming apparatus information is provided. A command for requesting the image forming apparatus to provide the image forming apparatus information when it is determined that the number of jobs stored in the queue is not less than a predetermined number while being given to the print spooler as output data. An information request procedure not to be given to the print spooler as the output data ;
An information acquisition procedure for acquiring, from the image forming apparatus, the image forming apparatus information that is returned to the computer from the image forming apparatus that has received the command output by the print spooler .
この情報取得処理プログラムに従ってコンピュータが上記各手順を実行すると、コンピュータは、まず、印刷スプーラに出力データを与えた場合に、キューに保管されたジョブの数が所定数以下であるか否かを判定する。この判定において、キューに保管されたジョブの数が所定数以下であると判定した場合に、コンピュータは、画像形成装置に対して画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラに与える。そのため、キューに保管されたジョブの数が所定数を超えているにもかかわらずコマンドを印刷スプーラに与えてしまうものとは異なり、印刷スプーラに与えられたコマンドは、直ちに画像形成装置へと出力されて、ジョブはキューから消える。後は、コンピュータが、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。 When the computer executes the above steps according to the information acquisition processing program, the computer first determines whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when the output data is given to the print spooler. To do. In this determination, when it is determined that the number of jobs stored in the queue is equal to or less than the predetermined number , the computer sends a command for requesting the image forming apparatus to provide image forming apparatus information to the print spooler. give. Therefore, unlike commands that give a command to the print spooler even if the number of jobs stored in the queue exceeds the predetermined number, the command given to the print spooler is immediately output to the image forming apparatus. It is, jobs disappear from the queue. After that, the computer can acquire a desired image forming apparatus information by receiving a response to the transmitted command.
したがって、このような手順を備えた情報取得処理プログラムによれば、利用者にとって見覚えのないジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。 Therefore, according to the information acquisition processing program with such a procedure, because the remembrance of a maintenance job for the user is not a situation that has been placed in the queue, the user or trouble in the corresponding user There is no risk of extra worry.
なお、以上説明した情報取得処理プログラムは、さらに次のような特徴を有するものであると望ましい。
まず、前記状態判定手順において、前記所定数は0であると好ましい。
また、前記情報要求手順は、前記状態判定手順において、前記出力データを前記印刷スプーラが直ちに前記画像形成装置へと出力可能な状態にはないと判定した場合に、他のジョブ全てをPAUSE状態としてから、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える手順とされているとよい。このように構成すれば、ジョブ数が所定数以下でない場合でも、PJLコマンドを優先的に印刷スプーラから出力できる。
また、前記情報要求手順は、前記状態判定手順において、前記出力データを前記印刷スプーラが直ちに前記画像形成装置へと出力可能な状態にはないと判定した場合に、他のジョブ全てに最低の優先度を設定するとともに、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与え、かつ、前記コマンドを含むジョブに最高の優先度を設定する手順とされていてもよい。このように構成すれば、ジョブ数が所定数以下でない場合でも、PJLコマンドを優先的に印刷スプーラから出力できる。
また、前記画像形成装置情報は、前記画像形成装置の交換部品の使用度合に関する情報を含むものであるとよい。
Note that the information acquisition processing program described above preferably has the following characteristics.
First, in the state determination procedure, the predetermined number is preferably 0.
The information requesting procedure sets all other jobs to the PAUSE status when the status determining procedure determines that the output data is not ready for the print spooler to immediately output to the image forming apparatus. Therefore, it is preferable that a procedure for requesting the image forming apparatus to provide the image forming apparatus information is provided as the output data to the print spooler. With this configuration, even when the number of jobs is not less than the predetermined number, the PJL command can be preferentially output from the print spooler.
In addition, the information request procedure determines that the lowest priority is given to all other jobs when the status determination procedure determines that the output data is not ready to be output to the image forming apparatus immediately by the print spooler. A command for requesting the image forming apparatus to provide the image forming apparatus information is given to the print spooler as the output data, and the job including the command has the highest priority. It may be a procedure for setting. With this configuration, even when the number of jobs is not less than the predetermined number, the PJL command can be preferentially output from the print spooler.
Further, the image forming apparatus information may include information on the degree of use of replacement parts of the image forming apparatus.
このような画像形成装置情報を取得する手順を備えた情報取得処理プログラムであれば、画像形成装置の交換部品の使用度合に関する情報が取得できるので、利用者が参照してメンテナンスの必要性を判断することができる。 If it is an information acquisition processing program having a procedure for acquiring such image forming apparatus information, information on the degree of use of replacement parts of the image forming apparatus can be acquired. can do.
また、前記画像形成装置情報は、前記画像形成装置の消耗品の消耗度合に関する情報を含むものであるとよい。
このような画像形成装置情報を取得する手順を備えた情報取得処理プログラムであれば、画像形成装置の消耗品の消耗度合に関する情報が取得できるので、これも利用者が参照してメンテナンスの必要性を判断することができる。
Further, the image forming apparatus information may include information related to the degree of consumption of the consumables of the image forming apparatus.
If it is an information acquisition processing program having a procedure for acquiring such image forming apparatus information, it is possible to acquire information on the degree of consumption of consumables of the image forming apparatus. Can be judged.
また、前記画像形成装置情報は、前記画像形成装置における異常の発生回数に関する情報を含むものであるとよい。
このような画像形成装置情報を取得する手順を備えた情報取得処理プログラムであれば、画像形成装置における異常の発生回数に関する情報が取得できるので、利用者が参照して、異常の発生原因の除去や修理の必要性の判断などを行うことができる。
The image forming apparatus information may include information regarding the number of occurrences of abnormality in the image forming apparatus.
If it is an information acquisition processing program having a procedure for acquiring such image forming apparatus information, information on the number of occurrences of an abnormality in the image forming apparatus can be acquired. And determine the need for repair.
また、本発明の情報取得処理プログラムは、
入出力I/Fを備えるコンピュータと、前記入出力I/Fを介して前記コンピュータに接続された画像形成装置とを備え、前記コンピュータには、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」と、「前記入出力I/Fおよび前記印刷スプーラを管理するOS」が設けられているシステムにおいて、前記画像形成装置側で管理されている画像形成装置情報を、前記コンピュータが前記画像形成装置から取得する処理を、前記コンピュータに実行させるためのプログラムであって、
前記コンピュータが実行する手順として、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手順と、
前記期間取得手順が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手順と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手順と、
該情報要求手順において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手順において決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手順と、
該出力完了判定手順において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手順と、
前記出力完了判定手順において、前記出力を完了していないと判定した場合に、前記コマンドが含まれるジョブを前記キューから削除することを、前記印刷スプーラに対して指令する削除指令手順と
を含むことを特徴とする。
The information acquisition processing program of the present invention is
A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” And “the OS for managing the input / output I / F and the print spooler” , the computer stores the image forming apparatus information managed on the image forming apparatus side. A program for causing the computer to execute processing acquired from
As a procedure executed by the computer,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition procedure,
A period determination procedure for determining a first period that is shorter than the second period acquired by the period acquisition procedure;
An information requesting procedure for giving a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler as the output data;
When the first period determined in the period determining procedure has elapsed since the command was given to the print spooler in the information requesting procedure, the print spooler completed outputting the command to the image forming apparatus. Output completion determination procedure for determining whether or not
In the output completion determination procedure, when it is determined that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition procedure;
In the output completion determination procedure, when it is determined not to have completed the output, to delete distearate job includes the commands from the queue, and delete command instructions for commanding to the print spooler It is characterized by including.
この情報取得処理プログラムに従ってコンピュータが上記各手順を実行すると、コンピュータは、出力データを入出力I/Fを介して画像形成装置へと出力できない場合に、入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめOSから取得する。そして、その第2の期間よりも短い期間である第1の期間を決定する。
そして、画像形成装置に対して画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラに与える。そして、コマンドを与えてから、上記第1の期間が経過したときに、印刷スプーラがコマンドの画像形成装置への出力を完了しているか否かを判定する。この判定において、出力を完了したと判定した場合には、コンピュータが、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。一方、出力を完了していないと判定した場合、コンピュータは、コマンドが含まれるジョブをキューから削除することを、印刷スプーラに対して指令する。そのため、第1の期間が経過した後もコマンドが含まれるジョブをキューから削除しないものとは異なり、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、ジョブはキューから削除される。
When the computer executes each of the above procedures according to the information acquisition processing program , the input / output I / F detects a communication timeout when the output data cannot be output to the image forming apparatus via the input / output I / F. The second period to be acquired is acquired from the OS in advance. Then, a first period that is shorter than the second period is determined.
Then , a command for requesting the image forming apparatus to provide image forming apparatus information is given to the print spooler. It is determined from the given commands, when said first period of time, print spooler whether complete output to the image forming apparatus command. In determining this, if it is determined to be complete the output, the computer, by receiving a response to the transmitted command, it is possible to obtain a desired image forming apparatus information. On the other hand, if it is determined not to have completed the output, the computer to delete distearate job includes a command from the queue, instructs the print spooler. Therefore, unlike what is not removed from the queue distearate job also contains commands after the first period of time, After a lapse of the first period, not output to the image forming apparatus command has been completed even without, the job is deleted from the queue.
したがって、このような手順を備えた情報取得処理プログラムによれば、少なくとも第1の期間が経過した後は、利用者にとって見覚えのないジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
また、入出力I/Fが通信のタイムアウトを検出することになる第2の期間が経過する前に第1の期間が経過し、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、ジョブはキューから削除される。したがって、入出力I/Fが通信のタイムアウトを検出する状況にはならず、入出力I/Fが通信のタイムアウトを検出した際に、エラーメッセージ等を出力するように構成されたコンピュータにおいても、そのようなエラーメッセージ等が出力されるのを防止できるので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, according to the information acquisition processing program having such a procedure, after a lapse of at least a first period, so familiar to sustain job for the user is not a situation in which queued , There is no fear that the user will be troubled to deal with or cause the user to worry excessively.
In addition, the first period elapses before the second period in which the input / output I / F detects a communication timeout, and if the first period elapses, the command is sent to the image forming apparatus. Even if the output is not complete, the job is deleted from the queue. Therefore, even in a computer configured to output an error message or the like when the input / output I / F detects a communication timeout, the input / output I / F does not enter a communication timeout state. Since it is possible to prevent such an error message from being output, there is no possibility that the user will be troubled to deal with it or cause the user to worry excessively.
なお、以上説明した情報取得処理プログラムは、さらに次のような特徴を有するものであると望ましい。
まず、本発明の情報取得処理プログラムにおいて、前記ジョブに、前記印刷スプーラによって割り当てられるジョブIDが付与されていれば、前記出力完了判定手順は、前記第1の期間が経過したときに、前記コマンドの含まれるジョブに対して付与されたジョブIDに基づき、当該ジョブIDを持つ判定対象ジョブが前記キューに残っているか否かを検出するジョブ検出手順と、該ジョブ検出手順において、前記判定対象ジョブが残っていないことを検出した場合に、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了していると判定する手順とを含むものであるとよい。
Note that the information acquisition processing program described above preferably has the following characteristics.
First, in the information acquisition processing program of the present invention, before the article job, if it is granted the job ID assigned by the print spooler, the output completion determining step, when the first period has elapsed , based on the job ID given to included distearate job of the command, detection be distearate job detection procedure whether determination pair Zoji job remains in the queue with the job ID when, in the di job detection procedure, when it is detected that no remaining the determination pair Zoji job, and the print spooler is complete output to the image forming apparatus of the command determines Including a procedure.
このような出力完了判定手順を備えた情報取得処理プログラムであれば、コンピュータは、第1の期間が経過したときに、ジョブIDに基づいて判定対象ジョブがキューに残っているか否かを検出するので、例えばジョブとして保管されたデータの内容に基づいて判定対象ジョブがキューに残っているか否かを検出するようなものに比べ、判定対象ジョブがキューに残っているか否かを、より簡単に検出することができる。 With such output completion determination procedure information acquisition processing program with the computer, when the first period of time, whether or not the determination pair Zoji job based on the job ID is left in the queue and it detects the, compared to such job the stored determined versus Zoji job based on the contents of the data as to detect whether or not there remains in the queue for example, the determination pair Zoji job is It can be detected more easily whether or not it remains in the queue.
また、本発明の情報取得処理プログラムは、前記削除指令手順を実行した後、前記コマンドを再び前記印刷スプーラに与えるため、前記情報要求手順を再実行するように制御する再実行制御手順を含むものであってもよい。 In addition, the information acquisition processing program of the present invention includes a re-execution control procedure for performing control so that the information request procedure is re-executed in order to give the command to the print spooler again after executing the deletion command procedure. It may be.
このような再実行制御手順を備えた情報取得処理プログラムであれば、コンピュータは、コマンドをキューから削除した場合でも、同じコマンドを再び印刷スプーラに与えることができる。したがって、印刷スプーラ側から画像形成装置側へのデータ出力が一時的にできない状況になっていた場合、その状況下で印刷スプーラに与えられたコマンドがキューからの削除対象となったとしても、その後の状況に変化があり、印刷スプーラ側から画像形成装置側へのデータ出力ができる状況になった場合には、所期の画像形成装置情報を取得することができる。 If the information acquisition processing program has such a re-execution control procedure, the computer can give the same command to the print spooler again even when the command is deleted from the queue. Therefore, if the data output from the print spooler side to the image forming apparatus side is temporarily disabled, even if the command given to the print spooler in that situation is to be deleted from the queue, In this situation, when it becomes possible to output data from the print spooler side to the image forming apparatus side, the desired image forming apparatus information can be acquired.
この場合、本発明の情報取得処理プログラムは、さらに、前記再実行制御手順による制御の結果、前記情報要求手順から前記削除指令手順に至る手順を、複数回にわたって繰り返し実行した場合に、前記再実行制御手順による制御を中止して、エラーが発生したことを報知するエラー報知手順を含むものであってもよい。 In this case, the information acquisition processing program of the present invention further executes the re-execution when the procedure from the information request procedure to the delete command procedure is repeatedly executed a plurality of times as a result of the control by the re-execution control procedure. An error notification procedure for canceling control by the control procedure and notifying that an error has occurred may be included.
このようなエラー報知手順を備えた情報取得処理プログラムであれば、コンピュータは、キューからのコマンドの削除とキューへのコマンドの再投入とを、複数回にわたって繰り返し実行した後に、エラーが発生したことを報知する。したがって、キューへのコマンドの再投入を試みることなくエラーが発生したことを報知するものほど、利用者に煩わしい思いをさせることがなく、しかも、エラーが発生したことを報知しないまま、単にキューへのコマンドの再投入を繰り返すものとは異なり、画像形成装置の状態その他の確認が必要な状況にあることを、適切なタイミングで利用者に伝えることができる。 In the case of an information acquisition processing program having such an error notification procedure, an error occurred after the computer repeatedly executed a command deletion from the queue and a command re-input to the queue multiple times. Is notified. Therefore, the more announcing that an error has occurred without attempting to re-enter the command into the queue, the user will not bother the user, and the user will simply enter the queue without notifying that the error has occurred. Unlike repetitive input of the command, it is possible to inform the user at an appropriate timing that the state of the image forming apparatus and other conditions are necessary.
さらに、本発明の情報取得処理プログラムは、
入出力I/Fを備えるコンピュータと、前記入出力I/Fを介して前記コンピュータに接続された画像形成装置とを備え、前記コンピュータには、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」と「前記入出力I/Fおよび前記印刷スプーラを管理するOS」が設けられているシステムにおいて、前記画像形成装置側で管理されている画像形成装置情報を、前記コンピュータが前記画像形成装置から取得する処理を、前記コンピュータに実行させるためのプログラムであって、
前記コンピュータが実行する手順として、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手順と、
前記期間取得手順が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手順と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するための複数のコマンドを1つずつ処理対象にして、前記複数のコマンドすべてを処理するため、コマンドの数と同数の処理を繰り返すように制御する複数コマンド処理制御手順を有し、
さらに、前記複数コマンド処理制御手順による繰り返し処理中には、
処理対象となっている1つのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手順と、
該情報要求手順において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手順において決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手順と、
該出力完了判定手順において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手順と、
前記出力完了判定手順において、前記出力を完了していないと判定した場合に、前記複数コマンド処理制御手順による繰り返し処理を中断させる中断制御手順と
を含むことを特徴とする。
Furthermore, the information acquisition processing program of the present invention includes:
A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” ”And“ OS that manages the input / output I / F and the print spooler ” , the image forming apparatus information managed on the image forming apparatus side is transmitted from the image forming apparatus to the computer. A program for causing the computer to execute processing to be acquired,
As a procedure executed by the computer,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition procedure,
A period determination procedure for determining a first period that is shorter than the second period acquired by the period acquisition procedure;
In order to process all of the plurality of commands, each of the plurality of commands for requesting the image forming apparatus to provide the image forming apparatus information is processed one by one, the same number of processes as the number of commands are repeated. Have multiple command processing control procedures to control,
Further, during the repeated processing by the multiple command processing control procedure,
An information request procedure for giving one command to be processed to the print spooler as the output data;
When the first period determined in the period determining procedure has elapsed since the command was given to the print spooler in the information requesting procedure, the print spooler completed outputting the command to the image forming apparatus. Output completion determination procedure for determining whether or not
In the output completion determination procedure, when it is determined that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition procedure;
The output completion determination procedure includes an interruption control procedure for interrupting the repeated processing by the multiple command processing control procedure when it is determined that the output has not been completed.
この情報取得処理プログラムに従ってコンピュータが上記各手順を実行すると、コンピュータは、出力データを入出力I/Fを介して画像形成装置へと出力できない場合に、入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめOSから取得する。そして、その第2の期間よりも短い期間である第1の期間を決定する。
そして、複数のコマンドを1つずつ処理対象にして、コマンドの数と同数の処理を繰り返す。この繰り返し処理の中で、コンピュータは、処理対象となっている1つのコマンドを印刷スプーラに与える。そして、コマンドを与えてから、上記第1の期間が経過したときに、印刷スプーラがコマンドの画像形成装置への出力を完了しているか否かを判定する。この判定において、出力を完了したと判定した場合には、コンピュータが、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。一方、出力を完了していないと判定した場合、コンピュータは、繰り返し処理を中断させる。そのため、1つのコマンドについて、上記第1の期間が経過するような状況下では、以降、未処理のコマンドが残っていたとしても、繰り返し処理は中断される。
When the computer executes each of the above procedures according to the information acquisition processing program , the input / output I / F detects a communication timeout when the output data cannot be output to the image forming apparatus via the input / output I / F. The second period to be acquired is acquired from the OS in advance. Then, a first period that is shorter than the second period is determined.
A plurality of commands are processed one by one, and the same number of processes as the number of commands are repeated. During this repetitive processing, the computer gives one command to be processed to the print spooler. It is determined from the given commands, when said first period of time, print spooler whether complete output to the image forming apparatus command. In determining this, if it is determined to be complete the output, the computer, by receiving a response to the transmitted command, it is possible to obtain a desired image forming apparatus information. On the other hand, if it is determined that the output has not been completed, the computer interrupts the repeated processing. For this reason, in the situation where the first period elapses for one command, even if an unprocessed command remains, the repeated processing is interrupted.
したがって、このような手順を備えた情報取得処理プログラムによれば、少なくとも第1の期間が経過した後は、さらに繰り返し処理を継続することがないので、複数のコマンドと同数の処理を無条件に繰り返してしまうものとは異なり、印刷スプーラ側から画像形成装置側への出力が不能な状況下で、複数のジョブをキューにため込んでしまうことがない。よって、利用者にとって見覚えのない複数のジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
また、入出力I/Fが通信のタイムアウトを検出することになる第2の期間が経過する前に第1の期間が経過し、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、複数コマンド処理制御手順による繰り返し処理は中断する。したがって、入出力I/Fが通信のタイムアウトを検出する状況にはならず、入出力I/Fが通信のタイムアウトを検出した際に、エラーメッセージ等を出力するように構成されたコンピュータにおいても、そのようなエラーメッセージ等が出力されるのを防止できるので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, according to the information acquisition processing program having such a procedure, the processing is not continued repeatedly after at least the first period has elapsed, so the same number of processes as a plurality of commands are unconditionally performed. repetition unlike would, under-power is impossible status from the print spooler side to the image forming apparatus side, never become hoarding multiple jobs in the queue. Therefore, it does not recognize more than one job for the user because not a situation that has been placed in the queue, the user or trouble in the corresponding, there is no possibility to extra concern to the user.
In addition, the first period elapses before the second period in which the input / output I / F detects a communication timeout, and if the first period elapses, the command is sent to the image forming apparatus. Even if the output is not completed, the repetitive processing by the multiple command processing control procedure is interrupted. Therefore, even in a computer configured to output an error message or the like when the input / output I / F detects a communication timeout, the input / output I / F does not enter a communication timeout state. Since it is possible to prevent such an error message from being output, there is no possibility that the user will be troubled to deal with it or cause the user to worry excessively.
なお、以上説明した情報取得処理プログラムは、さらに次のような特徴を有するものであると望ましい。
まず、前記出力完了判定手順において、前記出力を完了していないと判定した場合に、前記処理対象となっている1つのコマンドが含まれるジョブを前記キューから削除することを、前記印刷スプーラに対して指令する削除指令手順と、前記削除指令手順を実行した後、前記処理対象となっている1つのコマンドをあらためて前記印刷スプーラに与えるため、前記情報要求手順を再実行するように制御する再実行制御手順と、前記情報要求手順から前記削除指令手順に至る手順を、複数回にわたって繰り返し実行した場合に、前記再実行制御手順による制御を中止して、エラーが発生したことを報知するエラー報知手順と、該エラー報知手順によってエラーを報知した場合に、本処理を中断するか否かを利用者に入力させる指示入力手順とを含み、前記中断制御手順は、前記指示入力手順において利用者が本処理を中断する旨の指示を入力した場合に、前記複数コマンド処理制御手順による繰り返し処理を中断させる手順であるとよい。
Note that the information acquisition processing program described above preferably has the following characteristics.
First, in the output completion determining step, if it is determined not to have completed the output, to delete distearate job from the queue contains a single command that is the said processed, the printing Control to re-execute the information request procedure to give the print spooler a new command to be processed after executing the delete command procedure to be issued to the spooler and the delete command procedure When the re-execution control procedure and the procedure from the information request procedure to the delete command procedure are repeatedly executed a plurality of times, the control by the re-execution control procedure is stopped and an error has occurred. An error notification procedure, and an instruction input procedure for allowing the user to input whether or not to interrupt this process when an error is notified by the error notification procedure. Seen, the interruption control procedure, a user at said instruction input step is when you enter an instruction to interrupt the process, may is the procedure for interrupting the repetition processing by said plurality command processing control procedure.
このような情報取得処理プログラムであれば、コンピュータは、上述した繰り返し処理の中で、印刷スプーラがコマンドの画像形成装置への出力を完了していないと判定した場合、繰り返し処理を中断させるに当たって、以下の各手順を実行する。 In such an information acquisition processing program, when the computer determines that the print spooler has not finished outputting the command to the image forming apparatus during the above-described repetitive processing, the computer interrupts the repetitive processing. Perform the following steps:
すなわち、まず、コンピュータは、コマンドが含まれるジョブをキューから削除することを、印刷スプーラに対して指令する。そして、コマンドをキューから削除した場合、同じコマンドを再び印刷スプーラに与える。そして、キューからのコマンドの削除とキューへのコマンドの再投入とを、複数回にわたって繰り返し実行した場合は、エラーが発生したことを報知する。そして、エラーを報知した場合に、本処理を中断するか否かを利用者に入力させる。そして、利用者が本処理を中断する旨の指示を入力した場合に、繰り返し処理を中断させることになる。 That is, first, the computer, to delete distearate job includes a command from the queue, instructs the print spooler. If the command is deleted from the queue, the same command is given to the print spooler again. When the command deletion from the queue and the re-input of the command to the queue are repeatedly executed a plurality of times, the fact that an error has occurred is notified. And when an error is notified, the user is made to input whether or not to interrupt this process. Then, when the user inputs an instruction to interrupt the process, the process is repeatedly interrupted.
したがって、第1の期間が経過した後もコマンドが含まれるジョブをキューから削除しないものとは異なり、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、ジョブはキューから削除されるので、そのようなジョブがいつまでもキューに入れられている状況にはならない。また、ジョブが削除された場合でも、同じコマンドが再び印刷スプーラに与えられることになるので、印刷スプーラ側から画像形成装置側へのデータ出力ができる状況になった場合には、所期の画像形成装置情報を取得することができる。さらに、キューからのコマンドの削除とキューへのコマンドの再投入とを、複数回にわたって繰り返し実行した後には、エラーが発生したことを報知するので、画像形成装置の状態その他の確認が必要な状況にあることを、適切なタイミングで利用者に伝えることができる。しかも、エラーを報知した場合は、本処理を中断するか否かを利用者に入力させ、利用者が本処理を中断する旨の指示を入力した場合に、繰り返し処理を中断させるので、この繰り返し処理を強制的に中断させてしまうものとは異なり、利用者の意志を確認してから、繰り返し処理の中断を行うことができる。 Thus, unlike what is not removed from the queue distearate job also contains commands after the first period of time, After a lapse of the first period, not output to the image forming apparatus command has been completed even if there is no, because the job is deleted from the queue, not to a situation where such jobs are forever placed in the queue. Further, even if the job is deleted, since the same command will be given again print spooler, when it becomes a print spooler side to a situation in which the data output is possible for the image forming apparatus side, intended Image forming apparatus information can be acquired. In addition, after deleting a command from the queue and re-entering the command to the queue repeatedly, it is notified that an error has occurred, so the status of the image forming apparatus and other checks are required. Can be communicated to the user at an appropriate time. In addition, when an error is notified, the user inputs whether or not to interrupt the process, and when the user inputs an instruction to interrupt the process, the repeated process is interrupted. Unlike the process that forcibly interrupts the process, it is possible to interrupt the process repeatedly after confirming the user's will.
加えて、この場合、前記指示入力手順は、本処理を継続するか否かを利用者に入力させる手順でもあり、さらに、前記指示入力手順において利用者が本処理を継続する旨の指示を入力した場合に、前記処理対象となっている1つのコマンドについての処理を終え、前記複数コマンド処理制御手順による処理対象となるコマンドを変更し、該変更後のコマンドについて、前記複数コマンド処理制御手順による繰り返し処理中の各手順を実行するように制御する再開制御手順を備えていてもよい。 In addition, in this case, the instruction input procedure is also a procedure for allowing the user to input whether or not to continue the process. Further, in the instruction input procedure, the user inputs an instruction to continue the process. In such a case, the processing for one command that is the processing target is finished, the command that is the processing target by the multiple command processing control procedure is changed, and the command after the change is changed by the multiple command processing control procedure. There may be provided a restart control procedure for performing control so as to execute each procedure in the repeated processing.
このような情報取得処理プログラムであれば、エラーを報知した場合に、利用者は、本処理の中断の他に、本処理の継続も選択できるようになり、利用者が本処理を継続する旨の指示を入力した場合は、処理対象となっている1つのコマンドについての処理を終え、処理対象となるコマンドを別の未処理コマンドに変更し、変更後のコマンドについて、繰り返し処理中の各手順を実行する。 With such an information acquisition processing program, when an error is notified, the user can select to continue this processing in addition to interrupting this processing, and the user will continue this processing. When the command is input, the processing for one command to be processed is finished, the command to be processed is changed to another unprocessed command, and each procedure in the repeated processing is performed for the changed command. Execute.
したがって、エラー発生時における未処理のコマンドすべてに対する処理の中断を行わなくても、エラー発生時における処理対象コマンドのみ処理を中止し、利用者の判断次第で、他の未処理のコマンドについては、処理を継続することができる。 Therefore, without interrupting processing for all unprocessed commands at the time of error occurrence, only processing target commands at the time of error occurrence are stopped, and depending on the user's judgment, for other unprocessed commands, Processing can continue.
次に、本発明のコンピュータは、
入出力I/Fを備え、前記入出力I/Fを介して画像形成装置が接続されており、さらに、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」が設けられており、前記画像形成装置側で管理されている画像形成装置情報を、前記画像形成装置から取得する処理を実行するコンピュータであって、
前記印刷スプーラに前記出力データを与えた場合に、前記キューに保管されたジョブの数が所定数以下であるか否かを判定する状態判定手段と、
該状態判定手段において、前記キューに保管されたジョブの数が所定数以下であると判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える一方、キューに保管されたジョブの数が所定数以下でないと判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与えない情報要求手段と、
前記印刷スプーラが出力する前記コマンドを受信した前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と
を備えていることを特徴とする。
Next, the computer of the present invention
An input / output I / F, and an image forming apparatus is connected via the input / output I / F. Further, “regardless of the state of the image forming apparatus, output data to the image forming apparatus with temporary storage queued as distearate job contains the output data, and sequentially processes the stored job in the queue, the output data contained in the di job in the queue output in put the order into the image forming apparatus, when the completion of the output, the print spooler "to delete the job included output data having been subjected to the output from the queue," the print spooler said "Means for displaying information about jobs stored in a queue" and "Means for outputting print data to the image forming apparatus to the print spooler" are provided and managed on the image forming apparatus side. The A computer that executes a process of acquiring the image forming apparatus information from the image forming apparatus,
State determination means for determining whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when the output data is given to the print spooler;
When the state determination unit determines that the number of jobs stored in the queue is equal to or less than a predetermined number, a command for requesting the image forming apparatus to provide the image forming apparatus information is provided. A command for requesting the image forming apparatus to provide the image forming apparatus information when it is determined that the number of jobs stored in the queue is not less than a predetermined number while being given to the print spooler as output data. Information requesting means not to be given to the print spooler as the output data ;
And an information acquisition unit that acquires from the image forming apparatus the image forming apparatus information that is returned to the computer from the image forming apparatus that has received the command output by the print spooler .
このコンピュータにおいて、状態判定手段は、印刷スプーラに出力データを与えた場合に、キューに保管されたジョブの数が所定数以下であるか否かを判定する。ここで、状態判定手段が、キューに保管されたジョブの数が所定数以下であると判定した場合、情報要求手段は、画像形成装置に対して画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラに与える。そのため、キューに保管されたジョブの数が所定数を超えているにもかかわらずコマンドを印刷スプーラに与えてしまうものとは異なり、印刷スプーラに与えられたコマンドは、直ちに画像形成装置へと出力されて、ジョブはキューから消える。後は、情報取得手段が、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。 In this computer, the state determination unit determines whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when output data is given to the print spooler. Here, when the state determination unit determines that the number of jobs stored in the queue is equal to or less than the predetermined number , the information request unit requests the image forming apparatus to provide image forming apparatus information. To the print spooler. Therefore, unlike commands that give a command to the print spooler even if the number of jobs stored in the queue exceeds the predetermined number, the command given to the print spooler is immediately output to the image forming apparatus. It is, jobs disappear from the queue. After that, the information acquisition unit can acquire a desired image forming apparatus information by receiving a response to the transmitted command.
したがって、このコンピュータによれば、利用者にとって見覚えのないジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。 Therefore, according to the computer, it looks familiar to sustain jobs for the user because not a situation that has been placed in the queue, the user or trouble in the corresponding, there is no risk to the extra worry to the user .
また、本発明のコンピュータは、
入出力I/Fを備え、前記入出力I/Fを介して画像形成装置が接続されており、さらに、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」と、「前記入出力I/Fおよび前記印刷スプーラを管理するOS」が設けられており、前記画像形成装置側で管理されている画像形成装置情報を、前記画像形成装置から取得する処理を実行するコンピュータであって、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記コマンドが含まれるジョブを前記キューから削除することを、前記印刷スプーラに対して指令する削除指令手段と
を備えていることを特徴とする。
The computer of the present invention
An input / output I / F, and an image forming apparatus is connected via the input / output I / F. Further, “regardless of the state of the image forming apparatus, output data to the image forming apparatus with temporary storage queued as distearate job contains the output data, and sequentially processes the stored job in the queue, the output data contained in the di job in the queue output in put the order into the image forming apparatus, when the completion of the output, the print spooler "to delete the job included output data having been subjected to the output from the queue," the print spooler said "Means for displaying information about jobs stored in queue", "Means for outputting print data to the image forming apparatus to the print spooler", and "The input / output I / F and the print spooler" tube OS "as management is provided an image forming apparatus information managed by the image forming apparatus, a computer that executes a process of acquiring from the image forming apparatus,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
An information requesting means for giving a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
In the output completion determining means, when it is determined not to have completed the output, to delete distearate job includes the commands from the queue, and delete command means for commanding to the print spooler It is characterized by having.
このコンピュータにおいて、期間取得手段は、出力データを入出力I/Fを介して画像形成装置へと出力できない場合に、入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめOSから取得する。そして、期間決定手断は、期間取得手段が取得した第2の期間よりも短い期間となる第1の期間を決定する。
そして、情報要求手段は、画像形成装置に対して画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラに与える。そして、出力完了判定手段は、コマンドを与えてから、上記第1の期間が経過したときに、印刷スプーラがコマンドの画像形成装置への出力を完了しているか否かを判定する。ここで、出力完了判定手段が、出力を完了したと判定した場合には、情報取得手段が、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。一方、出力完了判定手段が、出力を完了していないと判定した場合、削除指令手段は、コマンドが含まれるジョブをキューから削除することを、印刷スプーラに対して指令する。そのため、第1の期間が経過した後もコマンドが含まれるジョブをキューから削除しないものとは異なり、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、ジョブはキューから削除される。
In this computer, the period acquisition means determines the second period during which the input / output I / F detects a communication timeout when the output data cannot be output to the image forming apparatus via the input / output I / F. Obtain from the OS in advance. Then, in the period determination decision, a first period that is shorter than the second period acquired by the period acquisition unit is determined.
The information requesting unit gives a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler. The output completion determination means determines from giving commands, when said first period of time, whether the print spooler is completed the output to the image forming apparatus command. In here, output completion determining means, when it is determined to be complete the output, the information acquisition unit, that receives a response to the transmitted command, it is possible to obtain a desired image forming apparatus information . On the other hand, output completion determining means, when it is determined not to have completed the output, deletion instruction means, to delete distearate job includes a command from the queue, it instructs the print spooler. Therefore, unlike what is not removed from the queue distearate job also contains commands after the first period of time, After a lapse of the first period, not output to the image forming apparatus command has been completed even without, the job is deleted from the queue.
したがって、このコンピュータによれば、少なくとも第1の期間が経過した後は、利用者にとって見覚えのないジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
また、入出力I/Fが通信のタイムアウトを検出することになる第2の期間が経過する前に第1の期間が経過し、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、ジョブはキューから削除される。したがって、入出力I/Fが通信のタイムアウトを検出する状況にはならず、入出力I/Fが通信のタイムアウトを検出した際に、エラーメッセージ等を出力するように構成されたコンピュータにおいても、そのようなエラーメッセージ等が出力されるのを防止できるので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, according to the computer, after a lapse of at least a first period, so familiar to sustain jobs for the user is not a situation that has been placed in the queue, the user or trouble to the corresponding, There is no risk of annoying users.
In addition, the first period elapses before the second period in which the input / output I / F detects a communication timeout, and if the first period elapses, the command is sent to the image forming apparatus. Even if the output is not complete, the job is deleted from the queue. Therefore, even in a computer configured to output an error message or the like when the input / output I / F detects a communication timeout, the input / output I / F does not enter a communication timeout state. Since it is possible to prevent such an error message from being output, there is no possibility that the user will be troubled to deal with it or cause the user to worry excessively.
また、本発明のコンピュータは、
入出力I/Fを備え、前記入出力I/Fを介して画像形成装置が接続されており、さらに、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」と、「前記入出力I/Fおよび前記印刷スプーラを管理するOS」が設けられており、前記画像形成装置側で管理されている画像形成装置情報を、前記画像形成装置から取得する処理を実行するコンピュータであって、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するための複数のコマンドを1つずつ処理対象にして、前記複数のコマンドすべてを処理するため、コマンドの数と同数の処理を繰り返すように制御する複数コマンド処理制御手段を有し、
さらに、前記複数コマンド処理制御手段による繰り返し処理中に機能する手段として、
処理対象となっている1つのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記複数コマンド処理制御手段による繰り返し処理を中断させる中断制御手段と
を備えていることを特徴とする。
The computer of the present invention
An input / output I / F, and an image forming apparatus is connected via the input / output I / F. Further, “regardless of the state of the image forming apparatus, output data to the image forming apparatus with temporary storage queued as distearate job contains the output data, and sequentially processes the stored job in the queue, the output data contained in the di job in the queue output in put the order into the image forming apparatus, when the completion of the output, the print spooler "to delete the job included output data having been subjected to the output from the queue," the print spooler said "Means for displaying information about jobs stored in queue", "Means for outputting print data to the image forming apparatus to the print spooler", and "The input / output I / F and the print spooler" tube OS "as management is provided an image forming apparatus information managed by the image forming apparatus, a computer that executes a process of acquiring from the image forming apparatus,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
In order to process all of the plurality of commands, each of the plurality of commands for requesting the image forming apparatus to provide the image forming apparatus information is processed one by one, the same number of processes as the number of commands are repeated. A plurality of command processing control means for controlling
Furthermore, as a means that functions during the repeated processing by the multiple command processing control means,
Information requesting means for giving one command to be processed to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
The output completion determining means comprises interruption control means for interrupting repeated processing by the plurality of command processing control means when it is determined that the output has not been completed.
このコンピュータにおいて、期間取得手段は、出力データを入出力I/Fを介して画像形成装置へと出力できない場合に、入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめOSから取得する。そして、期間決定手断は、期間取得手段が取得した第2の期間よりも短い期間となる第1の期間を決定する。
そして、複数コマンド処理制御手段は、複数のコマンドを1つずつ処理対象にして、コマンドの数と同数の処理を繰り返す。この繰り返し処理の中で、情報要求手段は、処理対象となっている1つのコマンドを印刷スプーラに与える。そして、出力完了判定手段は、コマンドを与えてから、上記第1の期間が経過したときに、印刷スプーラがコマンドの画像形成装置への出力を完了しているか否かを判定する。ここで、出力完了判定手段が、出力を完了したと判定した場合には、情報取得手段が、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。一方、出力完了判定手段が、出力を完了していないと判定した場合、中断制御手段は、繰り返し処理を中断させる。そのため、1つのコマンドについて、上記第1の期間が経過するような状況下では、以降、未処理のコマンドが残っていたとしても、繰り返し処理は中断される。
In this computer, the period acquisition means determines the second period during which the input / output I / F detects a communication timeout when the output data cannot be output to the image forming apparatus via the input / output I / F. Obtain from the OS in advance. Then, in the period determination decision, a first period that is shorter than the second period acquired by the period acquisition unit is determined.
Then, the multiple command processing control means repeats the same number of processes as the number of commands, targeting multiple commands one by one. During this repetitive processing, the information requesting means gives one command to be processed to the print spooler. The output completion determination means determines from giving commands, when said first period of time, whether the print spooler is completed the output to the image forming apparatus command. In here, output completion determining means, when it is determined to be complete the output, the information acquisition unit, that receives a response to the transmitted command, it is possible to obtain a desired image forming apparatus information . On the other hand, when the output completion determination means determines that the output has not been completed, the interruption control means interrupts the repeated processing. For this reason, in the situation where the first period elapses for one command, even if an unprocessed command remains, the repeated processing is interrupted.
したがって、このコンピュータによれば、少なくとも第1の期間が経過した後は、さらに繰り返し処理を継続することがないので、複数のコマンドと同数の処理を無条件に繰り返してしまうものとは異なり、印刷スプーラ側から画像形成装置側への出力が不能な状況下で、複数のジョブをキューにため込んでしまうことがない。よって、利用者にとって見覚えのない複数のジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
また、入出力I/Fが通信のタイムアウトを検出することになる第2の期間が経過する前に第1の期間が経過し、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、複数コマンド処理制御手順による繰り返し処理は中断する。したがって、入出力I/Fが通信のタイムアウトを検出する状況にはならず、入出力I/Fが通信のタイムアウトを検出した際に、エラーメッセージ等を出力するように構成されたコンピュータにおいても、そのようなエラーメッセージ等が出力されるのを防止できるので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, according to this computer, since at least the first period elapses, the process is not repeated further, and unlike the case where the same number of processes as a plurality of commands are unconditionally repeated, printing is performed. under-output is impossible status from the spooler side to the image forming apparatus side, never become hoarding multiple jobs in the queue. Therefore, it does not recognize more than one job for the user because not a situation that has been placed in the queue, the user or trouble in the corresponding, there is no possibility to extra concern to the user.
In addition, the first period elapses before the second period in which the input / output I / F detects a communication timeout, and if the first period elapses, the command is sent to the image forming apparatus. Even if the output is not completed, the repetitive processing by the multiple command processing control procedure is interrupted. Therefore, even in a computer configured to output an error message or the like when the input / output I / F detects a communication timeout, the input / output I / F does not enter a communication timeout state. Since it is possible to prevent such an error message from being output, there is no possibility that the user will be troubled to deal with it or cause the user to worry excessively.
次に、本発明の情報取得処理システムは、
入出力I/Fを備えるコンピュータと、前記入出力I/Fを介して前記コンピュータに接続された画像形成装置とを備え、前記コンピュータには、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」が設けられており、前記コンピュータが、前記画像形成装置側で管理されている画像形成装置情報を、前記画像形成装置から取得する処理を実行するように構成されたシステムであって、
前記コンピュータは、
前記印刷スプーラに前記出力データを与えた場合に、前記キューに保管されたジョブの数が所定数以下であるか否かを判定する状態判定手段と、
該状態判定手段において、前記キューに保管されたジョブの数が所定数以下であると判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える一方、キューに保管されたジョブの数が所定数以下でないと判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与えない情報要求手段と、
前記印刷スプーラが出力する前記コマンドを受信した前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と
を備えていることを特徴とする。
Next, the information acquisition processing system of the present invention includes:
A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” "Is provided, the computer, the image forming apparatus information managed by the image forming apparatus, a system configured to perform the process of acquiring from the image forming apparatus,
The computer
State determination means for determining whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when the output data is given to the print spooler;
When the state determination unit determines that the number of jobs stored in the queue is equal to or less than a predetermined number, a command for requesting the image forming apparatus to provide the image forming apparatus information is provided. A command for requesting the image forming apparatus to provide the image forming apparatus information when it is determined that the number of jobs stored in the queue is not less than a predetermined number while being given to the print spooler as output data. Information requesting means not to be given to the print spooler as the output data ;
And an information acquisition unit that acquires from the image forming apparatus the image forming apparatus information that is returned to the computer from the image forming apparatus that has received the command output by the print spooler .
この情報取得処理システムにおいて、コンピュータは上記各手段を備えており、それら各手段のうち、状態判定手段は、印刷スプーラに出力データを与えた場合に、キューに保管されたジョブの数が所定数以下であるか否かを判定する。ここで、状態判定手段が、キューに保管されたジョブの数が所定数以下であると判定した場合、情報要求手段は、画像形成装置に対して画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラに与える。そのため、キューに保管されたジョブの数が所定数を超えているにもかかわらずコマンドを印刷スプーラに与えてしまうものとは異なり、印刷スプーラに与えられたコマンドは、直ちに画像形成装置へと出力されて、ジョブはキューから消える。後は、情報取得手段が、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。 In this information acquisition processing system, the computer includes the above-described units , and among these units , the state determination unit determines that the number of jobs stored in the queue is the predetermined number when output data is given to the print spooler. It is determined whether or not: Here, when the state determination unit determines that the number of jobs stored in the queue is equal to or less than the predetermined number , the information request unit requests the image forming apparatus to provide image forming apparatus information. To the print spooler. Therefore, unlike commands that give a command to the print spooler even if the number of jobs stored in the queue exceeds the predetermined number, the command given to the print spooler is immediately output to the image forming apparatus. It is, jobs disappear from the queue. After that, the information acquisition unit can acquire a desired image forming apparatus information by receiving a response to the transmitted command.
したがって、この情報取得処理システムによれば、利用者にとって見覚えのないジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。 Therefore, according to this information acquisition processing system, so familiar to sustain jobs for the user is not a situation that has been placed in the queue, the user or trouble in the corresponding, make an extra worry to the user There is no fear.
また、本発明の情報取得処理システムは、
入出力I/Fを備えるコンピュータと、前記入出力I/Fを介して前記コンピュータに接続された画像形成装置とを備え、前記コンピュータには、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「印刷データを出力する機能を有し、当該機能によって出力される印刷データが前記印刷スプーラに入力されることで、前記印刷スプーラ経由で前記画像形成装置への印刷出力を行う手段」と、「前記入出力I/Fおよび前記印刷スプーラを管理するOS」が設けられており、前記コンピュータが、前記画像形成装置側で管理されている画像形成装置情報を、前記画像形成装置から取得する処理を実行するように構成されたシステムであって、
前記コンピュータは、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記コマンドが含まれるジョブを前記キューから削除することを、前記印刷スプーラに対して指令する削除指令手段と
を備えていることを特徴とする。
The information acquisition processing system of the present invention is
A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. ”,“ Means for displaying information about jobs stored in the queue by the print spooler ”, and“ printing having a function of outputting print data and output by the function ” Means for performing print output to the image forming apparatus via the print spooler by inputting data to the print spooler and an OS for managing the input / output I / F and the print spooler are provided. And the computer is configured to execute processing for acquiring image forming apparatus information managed on the image forming apparatus side from the image forming apparatus,
The computer
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
An information requesting means for giving a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
In the output completion determining means, when it is determined not to have completed the output, to delete distearate job includes the commands from the queue, and delete command means for commanding to the print spooler It is characterized by having.
この情報取得処理システムにおいて、コンピュータは上記各手段を備えており、それら各手段のうち、期間取得手段は、出力データを入出力I/Fを介して画像形成装置へと出力できない場合に、入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめOSから取得する。そして、期間決定手断は、期間取得手段が取得した第2の期間よりも短い期間となる第1の期間を決定する。
そして、情報要求手段は、画像形成装置に対して画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラに与える。そして、出力完了判定手段は、コマンドを与えてから、上記第1の期間が経過したときに、印刷スプーラがコマンドの画像形成装置への出力を完了しているか否かを判定する。ここで、出力完了判定手段が、出力を完了したと判定した場合には、情報取得手段が、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。一方、出力完了判定手段が、出力を完了していないと判定した場合、削除指令手段は、コマンドが含まれるジョブをキューから削除することを、印刷スプーラに対して指令する。そのため、第1の期間が経過した後もコマンドが含まれるジョブをキューから削除しないものとは異なり、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、ジョブはキューから削除される。
In this information acquisition processing system, the computer includes the above-described units, and among these units , the period acquisition unit enters when the output data cannot be output to the image forming apparatus via the input / output I / F. A second period during which the output I / F detects a communication timeout is acquired in advance from the OS. Then, in the period determination decision, a first period that is shorter than the second period acquired by the period acquisition unit is determined.
The information requesting unit gives a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler. The output completion determination means determines from giving commands, when said first period of time, whether the print spooler is completed the output to the image forming apparatus command. In here, output completion determining means, when it is determined to be complete the output, the information acquisition unit, that receives a response to the transmitted command, it is possible to obtain a desired image forming apparatus information . On the other hand, output completion determining means, when it is determined not to have completed the output, deletion instruction means, to delete distearate job includes a command from the queue, it instructs the print spooler. Therefore, unlike what is not removed from the queue distearate job also contains commands after the first period of time, After a lapse of the first period, not output to the image forming apparatus command has been completed even without, the job is deleted from the queue.
したがって、この情報取得処理システムによれば、少なくとも第1の期間が経過した後は、利用者にとって見覚えのないジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
また、入出力I/Fが通信のタイムアウトを検出することになる第2の期間が経過する前に第1の期間が経過し、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、ジョブはキューから削除される。したがって、入出力I/Fが通信のタイムアウトを検出する状況にはならず、入出力I/Fが通信のタイムアウトを検出した際に、エラーメッセージ等を出力するように構成されたコンピュータにおいても、そのようなエラーメッセージ等が出力されるのを防止できるので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, according to this information acquisition processing system, after a lapse of at least a first period, so familiar to sustain job for the user is not a situation that is queued, the corresponding the user There is no danger or annoying users.
In addition, the first period elapses before the second period in which the input / output I / F detects a communication timeout, and if the first period elapses, the command is sent to the image forming apparatus. Even if the output is not complete, the job is deleted from the queue. Therefore, even in a computer configured to output an error message or the like when the input / output I / F detects a communication timeout, the input / output I / F does not enter a communication timeout state. Since it is possible to prevent such an error message from being output, there is no possibility that the user will be troubled to deal with it or cause the user to worry excessively.
また、本発明の情報取得処理システムは、
入出力I/Fを備えるコンピュータと、前記入出力I/Fを介して前記コンピュータに接続された画像形成装置とを備え、前記コンピュータには、「前記画像形成装置の状態にかかわらず、前記画像形成装置への出力データを、該出力データが含まれるジョブとしてキューに入れて一時的に保管するとともに、該キューに保管されたジョブを順次処理して、該ジョブに含まれる前記出力データを前記キューに入れた順番で前記画像形成装置へと出力し、当該出力を終えた際には、出力を終えた前記出力データが含まれるジョブを前記キューから削除する印刷スプーラ」と、「前記印刷スプーラが前記キューに入れて保管しているジョブに関する情報を表示する手段」と、「前記画像形成装置への印刷データを前記印刷スプーラに出力する手段」と「前記入出力I/Fおよび前記印刷スプーラを管理するOS」が設けられており、前記コンピュータが、前記画像形成装置側で管理されている画像形成装置情報を、前記画像形成装置から取得する処理を実行するように構成されたシステムであって、
前記コンピュータは、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するための複数のコマンドを1つずつ処理対象にして、前記複数のコマンドすべてを処理するため、コマンドの数と同数の処理を繰り返すように制御する複数コマンド処理制御手段を有し、
さらに、前記複数コマンド処理制御手段による繰り返し処理中に機能する手段として、
処理対象となっている1つのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記複数コマンド処理制御手段による繰り返し処理を中断させる中断制御手段と
を備えていることを特徴とする。
The information acquisition processing system of the present invention is
A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” And “OS for managing the input / output I / F and the print spooler” are provided, and the computer acquires the image forming apparatus information managed on the image forming apparatus side from the image forming apparatus. A system configured to perform processing to
The computer
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
In order to process all of the plurality of commands, each of the plurality of commands for requesting the image forming apparatus to provide the image forming apparatus information is processed one by one, the same number of processes as the number of commands are repeated. A plurality of command processing control means for controlling
Furthermore, as a means that functions during the repeated processing by the multiple command processing control means,
Information requesting means for giving one command to be processed to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
The output completion determining means comprises interruption control means for interrupting repeated processing by the plurality of command processing control means when it is determined that the output has not been completed.
この情報取得処理システムにおいて、コンピュータは上記各手段を備えており、それら各手段のうち、期間取得手段は、出力データを入出力I/Fを介して画像形成装置へと出力できない場合に、入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめOSから取得する。そして、期間決定手断は、期間取得手段が取得した第2の期間よりも短い期間となる第1の期間を決定する。
そして、複数コマンド処理制御手段は、複数のコマンドを1つずつ処理対象にして、コマンドの数と同数の処理を繰り返す。この繰り返し処理の中で、情報要求手段は、処理対象となっている1つのコマンドを印刷スプーラに与える。そして、出力完了判定手段は、コマンドを与えてから、上記第1の期間が経過したときに、印刷スプーラがコマンドの画像形成装置への出力を完了しているか否かを判定する。ここで、出力完了判定手段が、出力を完了したと判定した場合には、情報取得手段が、送信したコマンドに対する応答を受信することで、所期の画像形成装置情報を取得することができる。一方、出力完了判定手段が、出力を完了していないと判定した場合、中断制御手段は、繰り返し処理を中断させる。そのため、1つのコマンドについて、上記第1の期間が経過するような状況下では、以降、未処理のコマンドが残っていたとしても、繰り返し処理は中断される。
In this information acquisition processing system, the computer includes the above-described units, and among these units , the period acquisition unit enters when the output data cannot be output to the image forming apparatus via the input / output I / F. A second period during which the output I / F detects a communication timeout is acquired in advance from the OS. Then, in the period determination decision, a first period that is shorter than the second period acquired by the period acquisition unit is determined.
Then, the multiple command processing control means repeats the same number of processes as the number of commands, targeting multiple commands one by one. During this repetitive processing, the information requesting means gives one command to be processed to the print spooler. The output completion determination means determines from giving commands, when said first period of time, whether the print spooler is completed the output to the image forming apparatus command. In here, output completion determining means, when it is determined to be complete the output, the information acquisition unit, that receives a response to the transmitted command, it is possible to obtain a desired image forming apparatus information . On the other hand, when the output completion determination means determines that the output has not been completed, the interruption control means interrupts the repeated processing. For this reason, in the situation where the first period elapses for one command, even if an unprocessed command remains, the repeated processing is interrupted.
したがって、この情報取得処理システムによれば、少なくとも第1の期間が経過した後は、さらに繰り返し処理を継続することがないので、複数のコマンドと同数の処理を無条件に繰り返してしまうものとは異なり、印刷スプーラ側から画像形成装置側への出力が不能な状況下で、複数のジョブをキューにため込んでしまうことがない。よって、利用者にとって見覚えのない複数のジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
また、入出力I/Fが通信のタイムアウトを検出することになる第2の期間が経過する前に第1の期間が経過し、第1の期間が経過すれば、コマンドの画像形成装置への出力が完了していなくても、複数コマンド処理制御手順による繰り返し処理は中断する。したがって、入出力I/Fが通信のタイムアウトを検出する状況にはならず、入出力I/Fが通信のタイムアウトを検出した際に、エラーメッセージ等を出力するように構成されたコンピュータにおいても、そのようなエラーメッセージ等が出力されるのを防止できるので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, according to this information acquisition processing system, after at least the first period has elapsed, the processing is not continued further, so the same number of processing as a plurality of commands is unconditionally repeated. Unlike under-output is impossible status from the print spooler side to the image forming apparatus side, it never becomes hoarding multiple jobs in the queue. Therefore, it does not recognize more than one job for the user because not a situation that has been placed in the queue, the user or trouble in the corresponding, there is no possibility to extra concern to the user.
In addition, the first period elapses before the second period in which the input / output I / F detects a communication timeout, and if the first period elapses, the command is sent to the image forming apparatus. Even if the output is not completed, the repetitive processing by the multiple command processing control procedure is interrupted. Therefore, even in a computer configured to output an error message or the like when the input / output I / F detects a communication timeout, the input / output I / F does not enter a communication timeout state. Since it is possible to prevent such an error message from being output, there is no possibility that the user will be troubled to deal with it or cause the user to worry excessively.
以上説明した通り、本発明によれば、画像形成装置情報の提供を要求するためのコマンドを、印刷スプーラ経由で画像形成装置側へと出力する際に、コマンドを含むジョブが長期間にわたって印刷スプーラのキューに残らないようにすることができる。したがって、利用者にとって見覚えのない複数のジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。 According to the described above, the present invention described above, a command for requesting the provision of image forming apparatus information, when outputting to the image forming apparatus via the print spooler, command including plain job for a long time Over the print spooler queue. Therefore, it does not recognize more than one job for the user because not a situation that has been placed in the queue, the user or trouble in the corresponding, there is no possibility to extra concern to the user.
次に、本発明の実施形態について一例を挙げて説明する。
図1は、複数のパーソナルコンピュータを、LAN(Local Area Network)を介して相互に接続したネットワークシステムを示すブロック図である。
Next, an embodiment of the present invention will be described with an example.
FIG. 1 is a block diagram showing a network system in which a plurality of personal computers are connected to each other via a LAN (Local Area Network).
本発明の実施形態として例示する情報取得処理システムは、パーソナルコンピュータ1、1’、1”…上において作動するシステムとして構成され、パーソナルコンピュータ1、1’、1”…に接続されたプリンタ3、3’、3”…から、各3、3’、3”…において管理、更新されているプリンタ情報を取得する処理を行うようになっている。
An information acquisition processing system exemplified as an embodiment of the present invention is configured as a system that operates on a
また、本実施形態において、パーソナルコンピュータ1、1’、1”…は、パーソナルコンピュータ2からの要求に応じて、プリンタ3、3’、3”…から取得したプリンタ情報を、パーソナルコンピュータ2に対して提供するようになっている。そして、パーソナルコンピュータ2は、パーソナルコンピュータ1、1’、1”…から提供されるプリンタ情報を取得し、ネットワーク上のパーソナルコンピュータ1、1’、1”…に接続されたプリンタ3、3’、3”…のプリンタ情報を管理する。
In the present embodiment, the
なお、以下の説明においては、プリンタ情報を管理するパーソナルコンピュータ2を管理PC2、管理PC2によって管理されるパーソナルコンピュータ1、1’、1”…を被管理PC1、1’、1”…と称する。
In the following description, the
被管理PC1は、図2に示すように、CPU111、ROM112、RAM113等を中心に構成された制御部101と当該制御部101と各種デバイスとを接続するためのI/F部102とを備えてなる本体部11、キーボードやポインティングデバイスなどの入力部12、ディスプレイなどの表示部13、およびハードディスクなどの補助記憶部14を備えている。
As shown in FIG. 2, the managed
本体部11には、OS(Operating System)としてWindows(登録商標)が搭載され、プリンタI/F機能部121、LANI/F機能部122、印刷スプーラ123など、アプリケーションから共通して利用される機能は、OSの一部として実装されたソフトウェアモジュールによって構成されている。また、この他、キーボード入力、画面出力といった入出力機能やハードディスクやメモリの管理などの機能もOSによって提供される。なお、同等の機能を実現できれば、被管理PC1には、他のOS(例えば、Linux(登録商標)、MacOS(登録商標)等)が搭載されていても構わないが、以下の説明においては、被管理PC1が、Windows(登録商標)によって提供される各種機能を有するとの前提で説明を続ける。
Windows (registered trademark) is installed in the
本体部11のI/F部102としては、上述の入力部12、表示部13、および補助記憶部14とのI/Fの他、LANカードなどのLAN I/F114、USB(Universal Serial Bus)ポートあるいはパラレルポートなどのプリンタI/F115が設けられ、LAN I/F114に接続されたLANケーブルを介して被管理PC1はLANに接続され、プリンタI/F115に接続されたプリンタケーブルを介して被管理PC1とプリンタ3とが接続されている。
The I /
この被管理PC1には、被管理PC1に接続されたプリンタ3からプリンタ情報を取得し、そのプリンタ情報を管理PC2に対して提供する機能を実現するためのソフトウェアがインストールされ、このソフトウェアがCPU111上で動作することにより、プリンタ情報取得部124として機能するように構成されている。
The managed
なお、被管理PC1’、1”…は、被管理PC1と同様に構成され、被管理PC1と同等の機能を有するものなので、詳細な説明を省略する。
管理PC2も、基本的には被管理PC1と同様に構成されたものであり、本体部21、入力部22、表示部23、補助記憶部24等を備え、本体部21には、OSとしてWindows(登録商標)が搭載されている。管理PC2についても、同等の機能を実現できれば、他のOS(例えば、Linux(登録商標)、MacOS(登録商標)等)が搭載されていても構わないが、以下の説明においては、管理PC2が、Windows(登録商標)によって提供される各種機能を有するとの前提で説明を続ける。
The managed
The
この管理PC2には、被管理PC1、1’、1”…等のネットワーク上のコンピュータに対し、それら各コンピュータに接続されたプリンタ3、3’、3”…に関する情報の提供を要求するとともに、その要求に応じて他のコンピュータから提供されるプリンタ情報を一括して管理する機能を実現するためのソフトウェアがインストールされている。
This
プリンタ3、3’、3”…は、管理PC2による管理対象となる被管理プリンタである。これらプリンタ3、3’、3”…は、いずれもプリンタジョブ言語(PJL;Printer Job Language)に対応したものである。
The
次に、被管理PC1において実行されるプリンタ情報取得部124の処理について、図3のフローチャートに基づいて説明する。この処理は、被管理PC1の起動に伴って開始される処理である。なお、この処理は、被管理PC1’、1”…においても同様に実行されるが、ここでは被管理PC1において実行される処理を例に挙げながら説明を続ける。
Next, processing of the printer
本処理を開始すると、被管理PC1は、まず、ローカルプリンタのリストを作成する(S101)。この処理では、被管理PC1に接続されているすべてのプリンタ(本実施形態の場合、プリンタ3)がリストに登録される。続いて、S101の処理で作成されたリストから、プリンタを抽出して(S103)、抽出されたプリンタに対応する処理スレッドを作成する(S105)。これらS103およびS105の処理は、上記リストに登録されたプリンタの総数に対応する回数だけ繰り返される(S107:NO)。その結果、本処理の他に、プリンタ総数と同数の処理スレッドにおける処理が並列に実行される状態になる。本実施形態の場合、被管理PC1にはプリンタ3が1台だけ接続されているので、S105の処理では1つの処理スレッドが新たに作成されることになる。なお、新たに作成された処理スレッドでは、各処理スレッドの対象プリンタからプリンタ情報(例えば、ドラム交換時期など、交換部品の使用度合に関する情報、トナーないしインク残量、記録用紙残量など、消耗品の消耗度合に関する情報、紙詰まり回数など、異常の発生回数に関する情報、その他プリンタ3側において管理、更新される各種情報)を取得して、データベース(以下、DBと略称する)である補助記憶部14内の結果ファイル133に記録する処理などが行われるが、詳しい処理内容については後述する。
When this process is started, the managed
さて、プリンタ総数と同数の処理スレッドを作成したら(S107:YES)、続いて、設定ファイル134から設定時刻を読み取って、設定時刻までの時間を計算し(S109)、S109の処理で算出した時間をタイマーにセットする(S111)。設定ファイル134は、補助記憶部14内に記憶されているファイルであり、この設定ファイル134には、管理者が任意に設定する設定時刻が記録されている。このタイマーは、S111の処理後、S109の処理で算出した時間が経過するとタイマーイベントを発生させる。
When the same number of processing threads as the total number of printers are created (S107: YES), the setting time is read from the
続いて、被管理PC1は、関連イベントの発生を待ち(S113)、発生したイベントがプリンタ追加イベントであれば(S115:YES)、リストにプリンタを追加して(S117)、追加されたプリンタに対応する処理スレッドを作成する(S119)。プリンタ追加イベントは、例えば周知のプラグアンドプレイ機能等により、プリンタの電源ONやケーブルの挿し込みを検出した場合に発生するイベントである。このプリンタ追加イベントの発生により、新たに利用可能なプリンタが追加されたことがわかるので、S119の処理により対象プリンタに対応する処理スレッドを作成することにより、S105の処理において作成した処理スレッドと同等の処理を行う処理スレッドを追加する。なお、S119の処理を終えたらS113の処理へと戻る。
Subsequently, the managed
一方、S115の処理による判定の結果、発生したイベントがプリンタ追加イベントでなかった場合(S115:NO)、発生したイベントがタイマーイベントであれば(S121:YES)、読み込み/DB化処理2を実行する(S123)。ここで発生するタイマーイベントは、先に説明したS109およびS111の処理によるものである。S123の読み込み/DB化処理2では、被管理PC1に接続されているすべてのプリンタから状態を取得してデータベース(DB)に記録する処理などが行われるが、詳しい処理内容については後述する。そして、タイマーに24時間をセットして(S125)、24時間後に再びタイマーイベントが発生する状態とし、S113の処理へと戻る。
On the other hand, if the event that has occurred is not a printer addition event as a result of the determination in S115 (S115: NO), if the event that has occurred is a timer event (S121: YES), read /
また、S121の処理による判定の結果、発生したイベントがタイマーイベントでなかった場合(S121:NO)、発生したイベントが終了指示イベントであれば(S127:YES)、本処理を終了する。終了指示イベントは、利用者が入力部12を利用して所定の終了操作を行った際に発生するイベントである。一方、終了指示イベントでなければ(S127:NO)、S113の処理へと戻り、再び関連イベントの発生を待つ状態になる。すなわち、被管理PC1が作動状態にある場合、利用者が終了操作を行わない限り、本処理が終了することはなく、本処理は被管理PC1上の常駐プロセスとして実行され続けることになる。
As a result of the determination in S121, if the event that has occurred is not a timer event (S121: NO), the process ends if the event that has occurred is an end instruction event (S127: YES). The end instruction event is an event that occurs when the user performs a predetermined end operation using the
さて、次に上記S105およびS119の各処理において作成される処理スレッドの処理(以下、スレッド処理という)について、図4のフローチャートに基づいて説明する。このスレッド処理は、上述の通り、被管理PC1に接続されたプリンタの総数と同数が並列に実行され、それら複数のスレッド処理は、それぞれが一つのプリンタに対応するスレッド処理となっている。
Next, processing of processing threads (hereinafter referred to as thread processing) created in the processes of S105 and S119 will be described with reference to the flowchart of FIG. As described above, the same number of thread processes as the total number of printers connected to the managed
このスレッド処理を開始すると、被管理PC1は、プリンタ関連イベントの発生を待ち(S201)、発生したイベントがプリンタ削除イベントであれば(S203:YES)、リストからプリンタを削除して(S205)、本スレッド処理を終了する。プリンタ削除イベントは、プリンタの電源OFFやケーブルの抜き取りを検出した場合に発生するイベントである。このプリンタ削除イベントの発生により、それまで利用可能であったプリンタが削除されたことがわかるので、S205の処理により、対象プリンタに対応する不要な処理スレッドを終了させる。
When this thread processing is started, the managed
一方、S203の処理において、発生したイベントがプリンタ削除イベントでなかった場合(S203:NO)、発生したイベントが印字終了イベントであれば(S207:YES)、本スレッド処理に対応するプリンタを出力先とする印字ジョブを列挙する(S209)。具体的には、S209の処理時点においてキュー131に入れられている印字ジョブに関する情報(印字ジョブ情報)が、プリンタ情報取得部124が印刷スプーラ123(図2参照)から情報を取得し、リストアップされる。キュー131は、1つのプリンタに対してリクエストされた印字ジョブが補助記憶部14(あるいはRAM113)に記憶され、OSによって順序づけて管理された集合体である。そして、リストアップされた印字ジョブ情報を参照してジョブ数を計数し(S211)、そのジョブ数が設定値N以下かどうかをチェックする(S213)。
On the other hand, if the generated event is not a printer deletion event in the process of S203 (S203: NO), if the generated event is a print end event (S207: YES), the printer corresponding to this thread process is output. Are listed (S209). Specifically, the information (print job information) related to the print job queued in the
本実施形態においては、設定値N=0とされており、S213の処理ではジョブ数が0かどうかがチェックされることになる。ジョブ数が0かどうかをチェックするための具体的な手順は、最も基本的には、S209の処理によってリストアップされた印字ジョブ情報の数が0であるかどうかを調べるだけでもよい。ただし、本実施形態の場合、S209の処理によってリストアップされる印字ジョブ情報内には、ジョブステータスという項目があり、一つの印字ジョブにおいて出力データの送信が完了すると、まずジョブステータスに「送信済み」という情報がセットされ、その後、OS側で管理する所定のタイミングで印字ジョブ情報そのものが消去されるようになっている。そのため、S209の処理によってリストアップされた印字ジョブ情報が1つだけ存在する場合でも、その印字ジョブ情報内のジョブステータスに「送信済み」という情報がセットされていれば、該当するジョブは既に存在しないものと見なすことができる。そこで、本実施形態におけるS213の処理では、リストアップされた印字ジョブ情報の数が0の場合はもちろんのこと、印字ジョブ情報の数が1の場合でも、印字ジョブ情報内のジョブステータスが「送信済み」となっていれば、ジョブ数が0であると判定する。 In the present embodiment, the setting value N is set to 0, and it is checked whether or not the number of jobs is 0 in the processing of S213. The specific procedure for checking whether or not the number of jobs is 0 is most basically just to check whether or not the number of print job information listed in step S209 is zero. However, in the case of this embodiment, the print job information listed in the process of S209 includes an item called job status. When transmission of output data is completed in one print job, the job status is set to “Sent already”. Is set, and then the print job information itself is erased at a predetermined timing managed on the OS side. Therefore, even if there is only one print job information listed in the process of S209, if the information “sent” is set in the job status in the print job information, the corresponding job already exists. It can be regarded as not. Therefore, in the processing of S213 in the present embodiment, the job status in the print job information is “Send” even when the number of print job information listed is 0, as well as when the number of print job information is 1. If it is “completed”, it is determined that the number of jobs is zero.
S213の処理において、ジョブ数が設定値N以下の場合は(S213:YES)、読み取り/DB化処理1を実行する(S215)。このS215の読み取り/DB化処理1は、詳しくは図5のフローチャートに示すような処理になる。
In the process of S213, when the number of jobs is equal to or less than the set value N (S213: YES), the read /
読み取り/DB化処理1を開始すると、被管理PC1は、まず、本処理が対象とするプリンタについて排他制御を開始する(S301)。ここで、排他制御は、同一プリンタに対する処理を、別スレッドや他のプロセスから同時に行ってしまうことを防ぐためのものである。既にプリンタに対する処理が行われていた場合、排他制御に失敗してエラーが返されるので、そのまま本処理を終了する。すなわち、以降の処理は、対象プリンタに対する排他制御が実施できる場合にのみ実行されることになる。排他制御に成功した場合、対象プリンタをオープンする(S303)。
When the reading /
続いて、コマンドファイル132からコマンドを取り出す(S305)。コマンドファイル132は、補助記憶部14内に記憶されているファイルであり、このコマンドファイル132には、プリンタジョブ言語(PJL)によって記述された複数のコマンド(例えば、トナーないしインク残量を調べるためのコマンド、記録用紙残量を調べるためのコマンド、ドラム交換時期を調べるためのコマンドなど)が記録されている。S305の処理では、それら複数のコマンドの中から一つのコマンドが取り出される。
Subsequently, a command is extracted from the command file 132 (S305). The
そして、そのコマンドを対象プリンタに送信する処理を実行する(S307)。このS307の送信処理は、詳しくは図6のフローチャートに示すような処理になる。
送信処理1を開始すると、被管理PC1は、まず、第1送信タイムアウト時間T1を取得する(S351)。この第1送信タイムアウト時間T1は、OSのプリンタI/F機能部121において送信エラーの判定基準として利用されている時間で、例えば60秒程度が設定されている。なお、この第1送信タイムアウト時間T1は、被管理PC1の管理者が任意に変更可能な時間ではあるが、本システム以外のアプリケーションなどがプリンタI/F機能部121を利用する場合にも参照される時間なので、本システムにとってのみ好都合な時間を設定することはできない場合が多い。
Then, processing for transmitting the command to the target printer is executed (S307). The details of the transmission processing in S307 are as shown in the flowchart of FIG.
When the
続いて、被管理PC1は、第1送信タイムアウト時間T1に基づいて、第2送信タイムアウト時間T2を算出する(S353)。この第2送信タイムアウト時間T2は、上述の第1送信タイムアウト時間T1とは異なり、後述する処理の中で本システムのみが参照する時間であり、印刷スプーラ123がPJLコマンドを受け取ってからプリンタ3側への出力を終えるまでに要する標準的な時間を考慮し、通常であれば出力を完了するのに十分であろうと思われる時間とされる。本実施形態の場合、第1送信タイムアウト時間T1が10秒以上であれば、第2送信タイムアウト時間T2としては、第1送信タイムアウト時間T1よりも10秒少ない時間(T2=T1−10(秒))が算出される。また、第1送信タイムアウト時間T1が10秒以下であれば、第2送信タイムアウト時間T2としては、第1送信タイムアウト時間T1よりも1秒少ない時間(T2=T1−1(秒))が算出される。
Subsequently, the managed
そして、被管理PC1は、送信ポートのステータスを取得する(S355)。このS355の処理は、送信ポートの種別によって具体的な処理が異なり、例えば、送信ポートがパラレルポートの場合は、BUSY信号に基づいて送信可能/不可のステータスを取得することになり、USBポートの場合は、1284ステータスのFLT、SLCTに基づいて送信可能/不可のステータスを取得することになる。
Then, the managed
送信ポートのステータスを取得したら、被管理PC1は、送信不可かどうかをチェックし(S357)、送信不可でなければ(S357:NO)、印刷スプーラ123へデータ出力を行う(S359)。すなわち、上記S305の処理において取り出されたPJLコマンドを出力データとし、この出力データを印刷スプーラ123へと出力する。その結果、印刷スプーラ123側では、PJLコマンドを受け取り、受け取ったPJLコマンドを印字ジョブとしてキュー131に格納する。その際、この印字ジョブには、印刷スプーラが管理するジョブIDが付与される。
After acquiring the status of the transmission port, the managed
印刷スプーラ123は、通常、キュー131に格納されている印字ジョブについて、キュー131への投入順序や印字ジョブ毎に設定された優先度を参照して処理順序を決定し、その処理順序に従って印字ジョブを処理する。この処理によって、各印字ジョブに含まれる出力データは、指定されている送信ポート(プリンタI/F115)を介してプリンタへと出力されることになる。キュー131に格納されている印字ジョブが複数あった場合、処理順序が先になっている印字ジョブについての処理が終わるまで、処理順序が後になっている印字ジョブについての処理は開始されないことになる。
The
しかし、本実施形態においては、先に説明したS213の処理でジョブ数が0以下の場合に、S359の処理へと移行するので、S359の処理に伴って印刷スプーラ123がキュー131に格納した印字ジョブが最優先で処理される可能性はきわめて高い。しかも、S355〜S357の処理で、送信ポートのステータスを取得し、送信不可でない場合にのみ、S359の処理へと移行するので、送信ポートの状態に起因して印刷スプーラ123が送信を開始できない状態になる可能性はきわめて低い。したがって、S359の処理で印刷スプーラ123に渡されたPJLコマンドは、多くの場合、送信ポートを介して直ちにプリンタ3側へと出力されることになる。
However, in the present embodiment, when the number of jobs is 0 or less in the process of S213 described above, the process proceeds to S359. Therefore, the
さて、S359の処理を終えた後、被管理PC1は、印刷スプーラ123からのデータ出力が完了したか否かをチェックする(S361)。具体的には、印刷スプーラ123からキュー131に格納されている印字ジョブすべてのジョブIDを取得し、取得したジョブIDの中に、S359の処理に伴って印刷スプーラ123がキュー131に格納した印字ジョブに付与されたジョブIDが残っていないかどうかをチェックする。ここで、被管理PC1は、ジョブIDが残っていなければデータ出力が完了したと判定し、ジョブIDが残っていればデータ出力が完了していないと判定することになる。
Now, after finishing the process of S359, the managed
データ出力が完了していた場合は(S361:YES)、送信成功となり、図6に示した送信処理を終えることになる。また、データ出力が完了していなかった場合でも(S361:NO)、S359の処理を実行してからの経過時間が第2送信タイムアウト時間T2に達していなければ(S363:NO)、S361の処理へと戻る。これにより、S361〜S363の処理が繰り返されることになり、この繰り返し処理の実行中に、印刷スプーラ123がデータ出力を完了すれば(S361:YES)、送信成功となり、図6に示した送信処理を終えることになる。
If the data output has been completed (S361: YES), the transmission is successful and the transmission process shown in FIG. 6 is completed. Even if the data output has not been completed (S361: NO), if the elapsed time since the execution of the process of S359 has not reached the second transmission timeout time T2 (S363: NO), the process of S361 Return to. As a result, the processes of S361 to S363 are repeated. If the
一方、S361〜S363の処理が繰り返される中で、印刷スプーラ123がデータ出力を完了しない場合に(S361:NO)、S359の処理を実行してからの経過時間が第2送信タイムアウト時間T2に達すると(S363:NO)、被管理PC1は、印刷スプーラ123からのデータ出力をキャンセルする(S365)、具体的には、S359の処理に伴って印刷スプーラ123がキュー131に格納した印字ジョブを、キュー131から削除するように、印刷スプーラ123に対して指令する。また、必要があれば、送信ポートやプリンタ3に対しても印字ジョブのキャンセルを指令する。
On the other hand, when the
このように第2送信タイムアウト時間T2に達したところで、印字ジョブをキャンセルすると、何らかの事情で印字ジョブを処理できない状態になっている場合でも、第1送信タイムアウト時間T1が経過する前に印字ジョブがキャンセルされる。そのため、送信できないまま第1送信タイムアウト時間T1が経過した場合に送信ポート側(プリンタI/F機能部121)から出力されることになるエラーメッセージは、出力されないことになる。つまり、S363〜S365の処理により、OSが標準で出力することになっているエラーメッセージ(エラーダイアログ)が表示部13に出力されるのを未然に回避しており、これにより、本処理のようなバックグラウンドでの処理がなされていることを知らない利用者に、余計な心配をかけないようにしている。
As described above, when the print job is canceled when the second transmission timeout time T2 is reached, even if the print job cannot be processed for some reason, the print job is processed before the first transmission timeout time T1 elapses. Canceled. Therefore, an error message that will be output from the transmission port side (printer I / F function unit 121) when the first transmission timeout time T1 elapses without being transmitted cannot be output. That is, the processing of S363 to S365 avoids the error message (error dialog) that the OS is supposed to output as a standard from being output to the
なお、このS365の処理への移行を伴う処理は、10回までリトライするようになっており、具体的には、リトライ回数が10回未満の場合は(S367:YES)、S355の処理へと戻る。その結果、S365の処理において削除されることになった印字ジョブと同一内容の印字ジョブが、S359の処理を再実行することで再びキュー131に格納されることになる。そして、この印字ジョブについて、印刷スプーラ123がデータ出力を完了すれば(S361:YES)、送信成功となり、図6に示した送信処理を終えることになる。一方、リトライ回数が10回に達した場合は(S367:NO)、ここで初めてエラーメッセージ(エラーダイアログ)を表示するとともに、利用者に指示を入力させる(S369)。
Note that the process involving the transition to the process of S365 is configured to retry up to 10 times. Specifically, if the number of retries is less than 10 (S367: YES), the process proceeds to S355. Return. As a result, the print job having the same content as the print job that has been deleted in the process of S365 is stored in the
ここで、利用者は入力部12での操作により、「スキップ」、「キャンセル」、「リトライ」のいずれかを択一的に選択することができる。そして、利用者が「スキップ」または「キャンセル」を選択した場合は、送信失敗となり、図6に示した送信処理を終えることになる。一方、利用者が「リトライ」を選択した場合は、S355の処理へと戻る。その結果、S365の処理において削除されることになった印字ジョブと同一内容の印字ジョブが、S359の処理を再実行することで再びキュー131に格納されることになる。そして、この印字ジョブについて、印刷スプーラ123がデータ出力を完了すれば(S361:YES)、送信成功となり、図6に示した送信処理を終えることになる。
Here, the user can alternatively select “skip”, “cancel”, or “retry” by operating the
さて、以上説明したS359〜S367の処理は、S355の処理において送信不可ではないと判定された場合の処理であったが、この他、S355の処理において送信不可であると判定されることもある(S357:YES)。この場合は、60回までリトライするようになっており、具体的には、リトライ回数が60回未満の場合は(S381:YES)、10秒間待機して(S383)、S355の処理へと戻る。したがって、10秒毎に60回までは送信ポートのステータスがチェックされることになり、この繰り返し処理の中で送信可能となった場合は、先に説明したS359以降の処理へと移行することになる。一方、リトライ回数が60回に達した場合は(S381:NO)、S369の処理へと移行する。なお、S369の処理以降の処理は、先に説明した通りの処理となるので、ここでの説明は省略する。 The processes of S359 to S367 described above are processes when it is determined that transmission is not possible in the process of S355. In addition, it may be determined that transmission is not possible in the process of S355. (S357: YES). In this case, retry is performed up to 60 times. Specifically, when the number of retries is less than 60 (S381: YES), the process waits for 10 seconds (S383), and returns to the process of S355. . Therefore, the status of the transmission port is checked up to 60 times every 10 seconds, and if transmission is possible in this repetitive processing, the processing proceeds to the processing after S359 described above. Become. On the other hand, when the number of retries reaches 60 (S381: NO), the process proceeds to S369. In addition, since the process after the process of S369 becomes a process as demonstrated previously, description here is abbreviate | omitted.
以上説明したS351〜S383の処理を終えると、処理結果としては、送信成功の場合、送信失敗(利用者によるスキップ指示)の場合、および送信失敗(利用者によるキャンセル指示)の場合があるものの、いずれの場合とも図5に示したS307の処理を終えたことになる。 When the processing of S351 to S383 described above is completed, the processing result may be a transmission success, a transmission failure (skip instruction by the user), or a transmission failure (cancellation instruction by the user). In either case, the process of S307 shown in FIG.
そこで、被管理PC1は、送信成功であったか否かをチェックし(S308)、送信成功であった場合は(S308:YES)、対象プリンタから送信されてくる情報(プリンタ情報)を受信する(S309)。このS309の処理は、被管理PC1側においてプリンタ側から返されるプリンタ情報をリードバックする処理であるが、より具体的な処理方法は対象プリンタによっても異なる。例えば、対象プリンタがパラレルポートを介して接続されている場合は、プリンタ情報取得部124がOSのプリンタI/F機能部121を通じて、まず被管理PC1側へ返される情報の有無をチェックした後、情報が存在する場合にその情報の受信を行う。また、対象プリンタがUSBポートを介して接続されている場合は、プリンタ情報取得部124がOSのプリンタI/F機能部121を通じて、まず情報の受信を行った後、情報量が0であった場合に再び情報の受信を繰り返す、といった処理になる。ただし、いずれの場合も最終的には何らかのデータを受信するので、そのデータが有効データであるかどうかをチェックし(S311)、有効データでない場合は(S311:NO)、S309の処理をやり直し、有効データであった場合は(S311:YES)、プリンタから受信したプリンタ情報をDB(結果ファイル133)に書き込む(S313)。このS313の処理により、補助記憶部14内に確保されたDB(結果ファイル133)には、S307の処理によって対象プリンタに対して要求した1コマンド分の要求に対応する応答情報が記録されることになる。
Therefore, the managed
これらS305〜S313の処理は、全コマンド終了まで繰り返し実行される(S315:NO)。この繰り返し処理において、S305の処理では、コマンドファイル132に記録された複数のコマンドが順に取り出される。そして、それら複数のコマンドすべてが処理(プリンタ側へ送信)されると、全コマンド終了となる(S315:YES)。その結果、補助記憶部14内に確保されたDB(結果ファイル133)には、対象プリンタに対して要求した全コマンド分の要求に対応する応答情報が記録されることになる。その後は、対象プリンタの排他制御を終了し(S317)、対象プリンタをクローズして(S319)、本処理を終える。
These processes of S305 to S313 are repeatedly executed until the end of all commands (S315: NO). In this iterative process, in the process of S305, a plurality of commands recorded in the
一方、上記S308の処理において、送信成功でなかった場合は(S308:NO)、送信失敗を示すエラー情報をDB(結果ファイル)に書き込む(S331)。ここでエラー情報を書き込む対象となるコマンドは、上記S305の処理で取り出された一つのPJLコマンドになる。 On the other hand, in the process of S308, if the transmission is not successful (S308: NO), error information indicating a transmission failure is written in the DB (result file) (S331). Here, the command to which error information is to be written is one PJL command extracted in the process of S305.
そして、先に説明したS371の処理で送信失敗(スキップ)に移行していた場合、S333の処理においてスキップと判定され(S333:スキップ)、S315の処理へと移行する。その結果、全コマンド終了までは(S315:NO)、S305〜S313の処理を繰り返することになる。つまり、エラーとなったコマンドのみスキップし、次のコマンドの処理へと移行するのである。 Then, when the process has been shifted to transmission failure (skip) in the process of S371 described above, it is determined to be skip in the process of S333 (S333: skip), and the process proceeds to S315. As a result, the processing of S305 to S313 is repeated until the end of all commands (S315: NO). In other words, only the command with an error is skipped and the process proceeds to the next command.
また、先に説明したS371の処理で送信失敗(キャンセル)に移行していた場合、S333の処理においてキャンセルと判定され(S333:キャンセル)、S317の処理へと移行する。その結果、対象プリンタの排他制御を終了し(S317)、対象プリンタをクローズして(S319)、本処理を終えることになる。つまり、エラーとなったコマンド以降のすべてのコマンドについての処理を中止するのである。 Further, if the process has been shifted to transmission failure (cancel) in the process of S371 described above, it is determined that the process is canceled in the process of S333 (S333: cancel), and the process proceeds to S317. As a result, the exclusive control of the target printer is ended (S317), the target printer is closed (S319), and this processing is ended. In other words, the processing for all commands after the command in error is stopped.
以上説明したS301〜S319の処理を終えると、図4に示したS215の処理(読み取り/DB化処理1)を終えたことになり、その後は、S201の処理へと戻る。また、S211の処理で計数したジョブ数が設定値Nを超える場合(S213:NO)、S215の処理は実行せず、そのままS201の処理へと戻る。 When the processes of S301 to S319 described above are completed, the process of S215 (read / DB conversion process 1) illustrated in FIG. 4 is completed, and thereafter, the process returns to the process of S201. If the number of jobs counted in the process of S211 exceeds the set value N (S213: NO), the process of S215 is not executed and the process returns to S201 as it is.
したがって、以上説明したスレッド処理は、利用可能なプリンタが存在する場合に、そのプリンタに対応する処理スレッドが作成されてから処理を開始し、プリンタ削除イベントの発生に伴って処理を終了することになる。そして、その処理の開始から終了までの間において、印字終了イベントが発生するたびに印字ジョブ数を調べ、印字ジョブ数が設定値N以下であれば、対象プリンタからプリンタ情報を取得、そのプリンタ情報を補助記憶部14内に確保されたDB(結果ファイル133)に書き込むのである。
Therefore, in the thread processing described above, when there is a printer that can be used, the processing is started after the processing thread corresponding to the printer is created, and the processing is terminated when the printer deletion event occurs. Become. Then, every time a print end event occurs between the start and end of the process, the number of print jobs is checked. If the number of print jobs is equal to or less than the set value N, printer information is obtained from the target printer. Is written in the DB (result file 133) secured in the
このように印字終了イベントが発生するたびに印字ジョブ数を調べれば、印字終了イベントの発生とは無関係に印字ジョブ数を調べるのに比べ、印字ジョブ数が設定値N以下とるタイミングを見逃しにくくなり、対象プリンタからプリンタ情報を取得する機会が増えることになる。また、本実施形態の場合、設定値N=0となっているので、印字ジョブ数が0となった時にだけ、S215の処理により対象プリンタからプリンタ情報を取得する。そのため、印字処理完了までに時間を要する印字ジョブが先にキュー131に入れられていることが原因で、対象プリンタからプリンタ情報を取得するまでに時間を要することはない。 If the number of print jobs is checked each time a print end event occurs in this way, it is more difficult to overlook the timing when the number of print jobs takes the set value N or less than when the number of print jobs is checked regardless of the occurrence of the print end event. This increases the chance of acquiring printer information from the target printer. In the case of the present embodiment, since the setting value N = 0, only when the number of print jobs becomes 0, the printer information is acquired from the target printer by the process of S215. For this reason, it takes no time to acquire printer information from the target printer because a print job that takes time to complete the printing process is queued first.
ところで、上記スレッド処理によるDB(結果ファイル133)への情報記録は、上述の通り、印字ジョブ数が0となった時にのみ実施されるので、理論的には、絶え間なく印字ジョブが発生しているような環境下では、なかなか印字ジョブ数が0とならず、その結果、上記スレッド処理だけでは、DB(結果ファイル133)への情報記録がなされないということも起こり得る。しかし、本システムにおいては、このスレッド処理に加え、上記S109〜S111、およびS121〜S125の処理も実行することにより、事前に設定された設置時刻となった場合には、DB(結果ファイル133)への情報記録を実施するようになっている。 By the way, the information recording to the DB (result file 133) by the thread processing is performed only when the number of print jobs becomes 0 as described above. Therefore, theoretically, print jobs are generated continuously. In such an environment, the number of print jobs does not easily become zero, and as a result, it may happen that information is not recorded in the DB (result file 133) only by the thread processing. However, in this system, in addition to this thread processing, the processing of S109 to S111 and S121 to S125 is also executed, so that when the preset installation time is reached, the DB (result file 133) Information recording is to be implemented.
より詳しく説明すると、先に説明した通り、本システムでは、S109およびS111の処理により、設定時刻が到来するとタイマーイベントが発生するようになっており、タイマーイベントが発生した場合は、S123の処理(読み込み/DB化処理2)を実行するようになっている。このS123の処理は、詳しくは図7のフローチャートに示すような処理になる。 More specifically, as described above, in the present system, a timer event is generated when the set time arrives by the processes of S109 and S111. If a timer event occurs, the process of S123 ( Reading / DB conversion processing 2) is executed. More specifically, the process of S123 is as shown in the flowchart of FIG.
読み込み/DB化処理2を開始すると、被管理PC1は、まずリストよりプリンタを抽出し(S401)、抽出したプリンタを出力先とする印字ジョブを計数し(S403)、そのジョブ数が0かどうかをチェックする(S405)。このS403およびS405の処理は、先に説明したS211およびS213の処理と同等の方法で実施するとよい。
When the reading /
S405の処理による判定の結果、ジョブ数が0でない場合は(S405:NO)、読み取り/DB化処理1を実行してから(S407)、S409の処理へと進み、一方、ジョブ数が0であった場合は(S405:YES)、S407の読み取り/DB化処理1を実行することなく、S409の処理へと進む。
If the number of jobs is not 0 as a result of the determination in S405 (S405: NO), read /
このS407の読み取り/DB化処理1は、先に説明したS215の処理(詳しくはS301〜S319の処理)と同様の処理なので、ここでの詳細な説明は省略するが、S215の処理と同様に、対象プリンタからプリンタ情報を取得、そのプリンタ情報を補助記憶部14内に確保されたDB(結果ファイル133)に書き込む処理が実行される。以上のようにジョブ数が0でない場合に読み取り/DB化処理1を実行するのは、印字ジョブ数が0とならない環境下でも、本処理によってDB(結果ファイル133)への情報記録を行うためである。一方、ジョブ数が0であった場合に読み取り/DB化処理1を実行しないのは、ジョブ数が0となった時点で、先に説明したスレッド処理による情報記録がなされているはずであり、その後、対象プリンタの状態には変化がないと考えられるためである。
Since the reading /
ここでの読み取り/DB化処理1は、印字ジョブがある状態にて実行されるため、PJLコマンドを送信した場合、それに伴って生成される印字ジョブは、先にキュー131に入っていた印字ジョブの最後に付加される。そのため、その後のリードバックデータに関しても、先にキュー131に溜まっていた印字ジョブがすべて終了するまでは返されることがない。
Since the reading /
なお、S409の処理へと進んだ際に、リスト上の全プリンタに対する処理が終了していなければ(S409:NO)、S401への処理へと戻る。これにより、S401〜S409の処理が被管理PC1に接続されたプリンタの総数と同数回分だけ繰り返され、その後、リスト上の全プリンタに対する処理が終了するので(S409:YES)、本処理を終了する。
If the process for all the printers on the list is not completed when the process proceeds to S409 (S409: NO), the process returns to S401. As a result, the processing of S401 to S409 is repeated the same number of times as the total number of printers connected to the managed
このように、被管理PC1においては、印字終了イベントが発生した際、印字ジョブ数がN以下(本実施形態では0)となった場合には、S215の処理が実行されて、対象プリンタから迅速にプリンタ情報が取得される一方、設定時刻が到来する毎に、印字ジョブ数がN以下(本実施形態では0)とならなくても、S407の処理が実行されて、対象プリンタから確実にプリンタ情報が取得される。
As described above, in the managed
次に、管理PC2おいて実行される処理について、図8のフローチャートに基づいて説明する。この処理は、管理PC2の起動に伴って開始される処理である。
本処理を開始すると、管理PC2は、まずデータ処理を実行する(S601)。このデータ処理は、先に説明した被管理PC1での処理により被管理PC1がプリンタ3から取得・DBに記録したプリンタ情報を、管理PC2側で利用するための処理で、詳しくは図9のフローチャートに示すような処理になる。
Next, processing executed in the
When this processing is started, the
この処理では、まず、管理PC2が、被管理PCの抽出を行う(S701)。S701の処理では、複数の被管理PC1、1’、1”…の中から、処理対象となる一つの被管理PCが抽出される。ここでは、被管理PC1が抽出されたものとして、以降の説明を続ける。続いて、管理PC2が、ネットワーク越しに被管理PCからファイルの読み込みを行う(S703)。ここで読み込まれるファイルは、先に説明した被管理PC1によるS313の処理において、プリンタから受信したプリンタ情報を書き込んだDB(結果ファイル133)であり、このファイルは、他のPCからのネットワーク越しの読み取りを許可する属性が、被管理PC1側において付与されている。すなわち、被管理PC1は、管理PC2から要求があった場合に、補助記憶部14のDBから読み取ったプリンタ情報を管理PC2に対して提供できるように構成されている。
In this process, first, the
続いて、読み取ったファイル中に含まれているプリンタ情報を、管理PC2側での管理に適したフォーマットに変換したり、あるいは管理PC2側での表示や印刷に適した形態としたりするために、プリンタ情報に対してデータ処理を施す(S705)。より具体的には、管理PC2側で管理する情報(例えば、本処理の開始時刻やファイルアクセス時刻などのログ情報)を付加する処理や、読み取り処理のデータ中のビットのオン/オフや数値コードによって示されている情報を、記号、画像あるいはメッセージなどの可視情報に変換する処理などが行われる。次に、全ての被管理PCに対し上記処理を行ったか判断し(S707)、上記処理を行っていない他の被管理PC(例えば被管理PC1’、1”…)が残っていれば(S707:NO)、S701の処理へと戻り、他の被管理PCに対しても同様の処理を行う。
Subsequently, in order to convert the printer information included in the read file into a format suitable for management on the
そして、全ての被管理PCに対し上記処理を行ったら(S707:YES)、S705の処理によってデータ処理された情報を、補助記憶部24内のファイルに出力したり、表示部23に表示する処理を行う(S709)。このS709の処理により、管理PC2側においてプリンタ3のプリンタ情報を表示することができる。また、後から補助記憶部24内のファイルを参照することもできる。したがって、利用者は、ドラム交換時期などの交換部品の使用度合に関すする情報、トナーないしインク残量、記録用紙残量など、消耗品の消耗度合に関する情報、紙詰まりなどの異常の発生回数に関する情報、その他プリンタ側において管理、更新される各種情報を得ることができる。そして、この情報をもとに、利用者は、交換部品、消耗部品の交換時期の判定、メンテナンス、修理の必要性を、各プリンタを廻ることなく管理PC2の操作のみで判断することができるのである。なお、この処理の好ましい変形例として、消耗度合などの情報を、あらかじめ設定された閾値と比較することにより、交換などの処理が必要であるか否かを自動的に判断し、必要ありと認められた場合にその旨を知らしめる処理を行うこともできる。
When the above processing is performed for all managed PCs (S707: YES), the information processed by the processing of S705 is output to a file in the
表示部23の表示は、利用者が入力部22を利用して所定の操作を行うことにより終了させることができ、これにより、本処理も終了する。
こうしてS701〜S709の処理を終了すると、図8におけるS601の処理を終えたことになり、引き続いて管理PC2は、設定ファイルから調査設定時刻を読み込んで(S603)、次に調査設定時刻が到来するまでの時間を計算、算出した時間をタイマーにセットする(S605)。設定ファイルは、補助記憶部24内に記憶されているファイルであり、この設定ファイルには、管理者が任意に設定する調査設定時刻が記録されている。タイマーは、S605の処理後、S605の処理で算出した時間が経過するとタイマーイベントを発生させるものである。
The display on the
When the processing of S701 to S709 is finished in this way, the processing of S601 in FIG. 8 is finished, and subsequently the
続いて、管理PC2は、関連イベントの発生を待ち(S607)、発生したイベントがタイマーイベントであれば(S609:YES)、タイマーに24時間をセットして(S611)、24時間後に再びタイマーイベントが発生する状態とし、データ処理を実行する(S613)。このデータ処理は、先に説明したS601の処理と同様の処理で、詳しくは図9のフローチャートに示すような処理になるが、この処理については既に説明したので、ここでは説明を省略する。
Subsequently, the
また、S609の処理による判定の結果、発生したイベントがタイマーイベントでなかった場合(S609:NO)、利用者が入力部22を利用して所定の操作を行うことにより、データ処理の起動を手動で指示したのであれば(S615:YES)、この場合も上記データ処理を実行する(S613)。
If the event that has occurred is not a timer event as a result of the determination in S609 (S609: NO), the user performs a predetermined operation using the
さらに、S615の処理による判定の結果、利用者による手動起動ではなかった場合(S615:NO)、あるいは、上記S613のデータ処理を終えた場合、発生したイベントが終了指示イベントであれば(S617:YES)、本処理を終了する。終了指示イベントは、利用者が入力部22を利用して所定の終了操作を行った際に発生するイベントである。一方、終了指示イベントでなければ(S617:NO)、S607の処理へと戻り、再び関連イベントの発生を待つ状態になる。すなわち、管理PC2が作動状態にある場合、利用者が終了操作を行わない限り、本処理が終了することはなく、本処理は管理PC2上の常駐プロセスとして実行され続けることになる。
Furthermore, when the result of determination in S615 is that the user has not manually activated (S615: NO), or when the data processing in S613 has been completed, if the event that has occurred is an end instruction event (S617: YES), this process ends. The end instruction event is an event that occurs when the user performs a predetermined end operation using the
なお、本実施形態において、S605の処理によってセットされる調査設定時刻は、先に説明したS111の処理によって被管理PC1、1’、1”…においてセットされる時刻よりも10分程度遅い時刻とされている。このような時刻を管理PC2側で設定すると、被管理PC1、1’、1”…側でタイマーイベントが発生した後、10分程度遅れて管理PC2側でタイマーイベントが発生するため、この10分の間に被管理PC1、1’、1”…側でプリンタ情報が最新の状態に更新されている可能性が高くなるものと期待できる。すなわち、被管理PC1、1’、1”…側と管理PC2側とでほぼ同時にタイマーイベントが発生するような設定にした場合、もしくは管理PC2側で被管理PC1、1’、1”…側よりも早くタイマーイベントが発生するような設定にした場合、管理PC2側から被管理PC1、1’、1”…側のファイルを読み取った後に、被管理PC1、1’、1”…側のファイルが更新されることがある。この場合、管理PC2側で取得したプリンタ情報は、必ずしも最新の状態ではない可能性が高くなるが、これに対し、本実施形態の如く構成すれば、被管理PC1、1’、1”…側のファイルが更新された後に、管理PC2側から被管理PC1、1’、1”…側のファイルを読み取るので、管理PC2側で取得したプリンタ情報は、最新の状態になっている可能性が高いのである。
In the present embodiment, the survey setting time set by the process of S605 is about 10 minutes later than the time set in the managed
以上説明したように、上記情報取得処理システムにおいて、被管理PC1は、まず、「印刷スプーラ123に出力データを与えた場合に、その出力データを印刷スプーラ123が直ちにプリンタ3へと出力可能な状態にあるか否か」を、S355〜S357の処理によって判定する。この判定において、「出力データを印刷スプーラ123が直ちに画像形成装置へと出力可能な状態にある」と判定した場合に、被管理PC1は、S359の処理を実行することにより、プリンタ3に対してプリンタ情報の提供を要求するためのPJLコマンドを、印刷スプーラ123に与える。そのため、印刷スプーラが出力データをプリンタへ出力できない状態にあるにもかかわらずPJLコマンドを印刷スプーラに与えてしまうものとは異なり、印刷スプーラ123に与えられたコマンドは、直ちにプリンタ3へと出力されて、印字ジョブはキュー131から消える。後は、被管理PC1が、S309〜S311の処理を実行することで、送信したPJLコマンドに対する応答を受信し、所期のプリンタ情報を取得することができる。
As described above, in the information acquisition processing system, the managed
また、被管理PC1は、S209〜S213の処理を実行することで、キュー131に保管された印字ジョブの数を取得し、該ジョブ数が0である場合に、S215の処理を実行するので、キュー131に保管された印字ジョブの数が0であることも、印刷スプーラ123にPJLコマンドを与えるか否かを切り分ける条件となっている。つまり、既にキュー131に別の印字ジョブが保管された状態になっているにもかかわらずPJLコマンドを印刷スプーラ123に与えてしまうことがなく、印刷スプーラ123に与えられたコマンドは、直ちにプリンタ3へと出力されて、印字ジョブはキュー131から消えることになる。
Further, the managed
したがって、このような情報取得処理システムによれば、利用者にとって見覚えのない印字ジョブがキュー131に入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, according to such an information acquisition processing system, a print job that is not familiar to the user is not put in the
また、この情報取得処理システムにおいて、被管理PC1は、S361〜S363の処理により、PJLコマンドを印刷スプーラ123に与えてから、第2送信タイムアウト時間T2(本発明でいう第1の期間)が経過したときに、印刷スプーラ123がPJLコマンドのプリンタ3への出力を完了しているか否かを判定する。この判定において、出力を完了したと判定した場合には、被管理PC1が、S309〜S311の処理を実行することで、送信したPJLコマンドに対する応答を受信し、所期のプリンタ情報を取得することができる。一方、出力を完了していないと判定した場合、被管理PC1は、S365の処理を実行することにより、PJLコマンドが含まれる印字ジョブをキュー131から削除することを、印刷スプーラ123に対して指令する。そのため、第2送信タイムアウト時間T2が経過した後もPJLコマンドが含まれる印字ジョブをキュー131から削除しないものとは異なり、第2送信タイムアウト時間T2が経過すれば、PJLコマンドのプリンタ3への出力が完了していなくても、印字ジョブはキュー131から削除される。
Further, in this information acquisition processing system, the managed
したがって、この情報取得処理システムによれば、少なくとも第2送信タイムアウト時間T2が経過した後は、利用者にとって見覚えのない印字ジョブがキューに入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。 Therefore, according to this information acquisition processing system, since at least the second transmission timeout time T2 has elapsed, a print job that is not familiar to the user is not queued. There is no danger or annoying users.
また、第2送信タイムアウト時間T2は、送信ポートが通信のタイムアウトを検出することになる第1送信タイムアウト時間T1(本発明でいう第2の期間)よりも、短い期間とされているので、送信ポートが通信のタイムアウトを検出した際に、エラーメッセージ等を出力するように構成された被管理PC1においても、そのようなエラーメッセージ等が出力されるのを防止できるので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Also, the second transmission timeout time T2 is shorter than the first transmission timeout time T1 (second period in the present invention) at which the transmission port detects a communication timeout. The managed
また、S365の処理を実行した場合でも、10回まではS355の処理へと戻るように構成されているので、被管理PC1は、PJLコマンドをキュー131から削除した場合でも、同じコマンドを再び印刷スプーラ123に与えることができる。したがって、印刷スプーラ123側からプリンタ3側へのデータ出力が一時的にできない状況になっていた場合、その状況下で印刷スプーラ123に与えられたPJLコマンドがキュー131からの削除対象となったとしても、その後の状況に変化があり、印刷スプーラ123側からプリンタ3側へのデータ出力ができる状況になった場合には、所期のプリンタ情報を取得することができる。
Even when the processing of S365 is executed, the
しかも、被管理PC1は、キュー131からのPJLコマンド(を含む印字ジョブ)の削除とキュー131へのPJLコマンド(を含む印字ジョブ)の再投入とを、10回にわたって繰り返し実行した後、なお問題があれば、S369の処理へと移行することで、エラーが発生したことを報知する。したがって、キュー131へのPJLコマンドの再投入を試みることなくエラーが発生したことを報知するものほど、利用者に煩わしい思いをさせることがなく、しかも、エラーが発生したことを報知しないまま、単にキュー131へのPJLコマンドの再投入を繰り返すものとは異なり、プリンタ3の状態その他の確認が必要な状況にあることを、適切なタイミングで利用者に伝えることができる。
In addition, the managed
さらに、この情報取得処理システムにおいて、被管理PC1は、S305〜S315の処理により、複数のコマンドを1つずつ処理対象にして、コマンドの数と同数の処理を繰り返す。この繰り返し処理の中で、被管理PC1は、S359の処理により、処理対象となっている1つのPJLコマンドを印刷スプーラ123に与える。そして、S361〜S363の処理を実行することにより、PJLコマンドを与えてから、第1送信タイムアウト時間T1が経過したときに、印刷スプーラ123がPJLコマンドのプリンタ3への出力を完了しているか否かを判定する。この判定において、出力を完了したと判定した場合には、被管理PC1が、S309〜S311の処理を実行することで、送信したコマンドに対する応答を受信し、所期のプリンタ情報を取得することができる。一方、出力を完了していないと判定した場合、被管理PC1は、S308,S331,S333の処理を経て、S317の処理へと移行することができ、この場合、繰り返し処理を中断させる。そのため、1つのコマンドについて、上記第1送信タイムアウト時間T1が経過するような状況下では、利用者の指示に応じて、以降、未処理のPJLコマンドが残っていたとしても、繰り返し処理は中断される。
Furthermore, in this information acquisition processing system, the managed
したがって、少なくとも第1送信タイムアウト時間T1が経過した後、S369の処理において利用者がキャンセル操作をすることで、さらに繰り返し処理を継続することがないので、複数のPJLコマンドと同数の処理を無条件に繰り返してしまうものとは異なり、印刷スプーラ123側からプリンタ3側への出力が不能な状況下で、複数の印字ジョブをキュー131にため込んでしまうことがない。よって、利用者にとって見覚えのない複数の印字ジョブがキュー131に入れられている状況にはならないので、利用者が対応に困ったり、利用者に余計な心配をさせるおそれがない。
Therefore, since at least the first transmission timeout time T1 has elapsed and the user performs a cancel operation in the process of S369, the process will not continue further, so the same number of processes as a plurality of PJL commands are unconditional. Unlike the case where the
また、S369の処理において利用者はスキップ(本発明でいう継続)を指示することができ、この場合、S333の処理からS315の処理へと移行することで、処理対象となっている1つのPJLコマンドについての処理を終え、S305の処理へと戻ることで、処理対象となるPJLコマンドを変更し、その変更後のPJLコマンドについて、S305〜S315の繰り返し処理中の各手順を実行するように制御するので、利用者は、本処理の中断の他に、本処理の継続も選択できる。 Further, in the process of S369, the user can instruct skip (continuation in the present invention), and in this case, by shifting from the process of S333 to the process of S315, one PJL to be processed is processed. After finishing the processing for the command and returning to the processing of S305, the PJL command to be processed is changed, and control is performed so that each procedure in the repeated processing of S305 to S315 is executed for the changed PJL command. Therefore, the user can select not only the interruption of the process but also the continuation of the process.
したがって、エラー発生時における未処理のPJLコマンドすべてに対する処理の中断を行わなくても、エラー発生時における処理対象PJLコマンドのみ処理を中止し、利用者の判断次第で、他の未処理のPJLコマンドについては、処理を継続することができる。 Therefore, even if processing for all unprocessed PJL commands at the time of error occurrence is not interrupted, only processing target PJL commands at the time of error occurrence are stopped, and other unprocessed PJL commands depending on the judgment of the user The process can be continued.
以上、本発明の実施形態について説明したが、本発明は上記の具体的な一実施形態に限定されず、この他にも種々の形態で実施することができる。
例えば、上記実施形態では、画像形成装置の例として、PJLコマンドに対応した単機能のプリンタ3を例示したが、PJLコマンドに対応した画像形成装置であれば、画像形成装置の具体的構成は限定されない。一例を挙げれば、プリンタ機能に加えて、ファクシミリ機能、コピー機能、イメージスキャナ機能などを兼ね備えた複合機などにおいても、PJLコマンドに対応したものが知られており、このような複合機も本発明でいう画像形成装置に含まれる。
As mentioned above, although embodiment of this invention was described, this invention is not limited to said specific one Embodiment, In addition, it can implement with a various form.
For example, in the above-described embodiment, the single-
また、上記実施形態においては、コマンドの一例として、PJLコマンドを例示したが、コンピュータと画像形成装置との間で同様のコマンドおよび画像形成装置情報をやり取りできるのであれば、PJLに準拠したコマンドである必要はない。 In the above embodiment, the PJL command is exemplified as an example of the command. However, if the same command and image forming apparatus information can be exchanged between the computer and the image forming apparatus, the command conforms to the PJL. There is no need.
また、上記実施形態では、被管理PC1においてプリンタ3から取得したプリンタ情報を管理PC2側に提供し、管理PC2側において、すべての被管理PC1、1’、1”…から集めたプリンタ情報を管理する例を示したが、被管理PC1においてプリンタ3から取得したプリンタ情報を、被管理PC1自身で管理する場合にも、本発明の構成を採用することができる。
In the above embodiment, the managed
また、上記実施形態においては、キュー131に保管された印字ジョブの数を取得し、該ジョブ数が0である場合に、S215の処理を実行していたが、ジョブ数が0でない場合に、他の印字ジョブをPAUSE状態としてから、S215の処理を実行するように構成してもよい。あるいは、他の印字ジョブに最低の優先度を設定するとともに、PJLコマンドを投入してから、そのPJLコマンドに最高の優先度を設定し、S215の処理を実行するように構成してもよい。このように構成すれば、ジョブ数が0でない場合でも、PJLコマンドを優先的に印刷スプーラから出力できる。
In the above embodiment, the number of print jobs stored in the
1、1’、1”・・・被管理PC(パーソナルコンピュータ)、2・・・管理PC(パーソナルコンピュータ)、3、3’、3”・・・プリンタ、11,21・・・本体部、12,22・・・入力部、13,23・・・表示部、14,24・・・補助記憶部、101・・・制御部、102・・・I/F部、111・・・CPU、112・・・ROM、113・・・RAM、121・・・プリンタI/F機能部、122・・・LAN I/F機能部、123・・・キュー制御機能部、124・・・プリンタ情報取得部、131・・・キュー、132・・・コマンドファイル、133・・・結果ファイル(データベース)、134・・・設定ファイル。 1, 1 ', 1 "... managed PC (personal computer), 2 ... management PC (personal computer), 3, 3', 3" ... printer, 11, 21 ... main body, 12, 22 ... input unit, 13, 23 ... display unit, 14, 24 ... auxiliary storage unit, 101 ... control unit, 102 ... I / F unit, 111 ... CPU, 112... ROM, 113... RAM, 121... Printer I / F function unit, 122... LAN I / F function unit, 123. , 131... Queue, 132... Command file, 133... Result file (database), 134.
Claims (20)
前記コンピュータが実行する手順として、
前記印刷スプーラに前記出力データを与えた場合に、前記キューに保管されたジョブの数が所定数以下であるか否かを判定する状態判定手順と、
該状態判定手順において、前記キューに保管されたジョブの数が所定数以下であると判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える一方、キューに保管されたジョブの数が所定数以下でないと判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与えない情報要求手順と、
前記印刷スプーラが出力する前記コマンドを受信した前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手順と
を含むことを特徴とする情報取得処理プログラム。 A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” In the system "are provided, the image forming apparatus information managed by the image forming apparatus, a process in which the computer is acquired from the image forming apparatus, a program for causing the computer to execute,
As a procedure executed by the computer,
A state determination procedure for determining whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when the output data is given to the print spooler;
In the state determination procedure, when it is determined that the number of jobs stored in the queue is equal to or less than a predetermined number, a command for requesting the image forming apparatus to provide the image forming apparatus information is provided. A command for requesting the image forming apparatus to provide the image forming apparatus information when it is determined that the number of jobs stored in the queue is not less than a predetermined number while being given to the print spooler as output data. An information request procedure not to be given to the print spooler as the output data ;
An information acquisition procedure comprising: an information acquisition procedure for acquiring, from the image forming apparatus, the image forming apparatus information that is returned to the computer from the image forming apparatus that has received the command output by the print spooler. program.
ことを特徴とする請求項1に記載の情報取得処理プログラム。 The information acquisition processing program according to claim 1.
ことを特徴とする請求項1または請求項2に記載の情報取得処理プログラム。 The information acquisition processing program according to claim 1 or 2, characterized in that.
ことを特徴とする請求項1または請求項2に記載の情報取得処理プログラム。 The information acquisition processing program according to claim 1 or 2, characterized in that.
ことを特徴とする請求項1〜請求項4のいずれかに記載の情報取得処理プログラム。 The information acquisition processing program according to any one of claims 1 to 4 , wherein the image forming apparatus information includes information on a degree of use of a replacement part of the image forming apparatus.
ことを特徴とする請求項1〜請求項5のいずれかに記載の情報取得処理プログラム。 The information acquisition processing program according to any one of claims 1 to 5 , wherein the image forming apparatus information includes information related to a degree of consumption of consumables of the image forming apparatus.
ことを特徴とする請求項1〜請求項6のいずれかに記載の情報取得処理プログラム。 The information acquisition processing program according to any one of claims 1 to 6 , wherein the image forming apparatus information includes information on the number of occurrences of abnormality in the image forming apparatus.
前記コンピュータが実行する手順として、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手順と、
前記期間取得手順が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手順と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手順と、
該情報要求手順において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手順において決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手順と、
該出力完了判定手順において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手順と、
前記出力完了判定手順において、前記出力を完了していないと判定した場合に、前記コマンドが含まれるジョブを前記キューから削除することを、前記印刷スプーラに対して指令する削除指令手順と
を含むことを特徴とする情報取得処理プログラム。 A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” And “the OS for managing the input / output I / F and the print spooler” , the computer stores the image forming apparatus information managed on the image forming apparatus side. A program for causing the computer to execute processing acquired from
As a procedure executed by the computer,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition procedure,
A period determination procedure for determining a first period that is shorter than the second period acquired by the period acquisition procedure;
An information requesting procedure for giving a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler as the output data;
When the first period determined in the period determining procedure has elapsed since the command was given to the print spooler in the information requesting procedure, the print spooler completed outputting the command to the image forming apparatus. Output completion determination procedure for determining whether or not
In the output completion determination procedure, when it is determined that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition procedure;
In the output completion determination procedure, when it is determined not to have completed the output, to delete distearate job includes the commands from the queue, and delete command instructions for commanding to the print spooler Including an information acquisition processing program.
前記出力完了判定手順は、
前記第1の期間が経過したときに、前記コマンドの含まれるジョブに対して付与されたジョブIDに基づき、当該ジョブIDを持つ判定対象ジョブが前記キューに残っているか否かを検出するジョブ検出手順と、
該ジョブ検出手順において、前記判定対象ジョブが残っていないことを検出した場合に、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了していると判定する手順と
を含むことを特徴とする請求項8に記載の情報取得処理プログラム。 The front pheasant job, the job ID assigned by the print spooler has been granted,
The output completion determination procedure includes:
When said first period of time, whether based on the job ID given against included distearate job of the command, determining pairs Zoji job having the job ID is left in the queue and distearate job detection procedure to detect whether,
In the di job detection procedure, when it is detected that the determined pair Zoji job does not remain, the procedure determines that the have completed the output to the image forming apparatus the print spooler said command The information acquisition processing program according to claim 8 , comprising:
を含むことを特徴とする請求項8または請求項9に記載の情報取得処理プログラム。 After executing the delete command procedure, the order to give back to the print spooler command, claim 8 or claim characterized in that it comprises a re-execution control step of controlling to re-execute the information request procedure 9 Information acquisition processing program described in 1.
を含むことを特徴とする請求項10に記載の情報取得処理プログラム。 As a result of the control by the re-execution control procedure, when the procedure from the information request procedure to the delete command procedure is repeatedly executed a plurality of times, the control by the re-execution control procedure is stopped and an error has occurred. The information acquisition processing program according to claim 10, further comprising: an error notification procedure for reporting
前記コンピュータが実行する手順として、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手順と、
前記期間取得手順が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手順と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するための複数のコマンドを1つずつ処理対象にして、前記複数のコマンドすべてを処理するため、コマンドの数と同数の処理を繰り返すように制御する複数コマンド処理制御手順を有し、
さらに、前記複数コマンド処理制御手順による繰り返し処理中には、
処理対象となっている1つのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手順と、
該情報要求手順において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手順において決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手順と、
該出力完了判定手順において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手順と、
前記出力完了判定手順において、前記出力を完了していないと判定した場合に、前記複数コマンド処理制御手順による繰り返し処理を中断させる中断制御手順と
を含むことを特徴とする情報取得処理プログラム。 A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” ”And“ OS that manages the input / output I / F and the print spooler ” , the image forming apparatus information managed on the image forming apparatus side is transmitted from the image forming apparatus to the computer. A program for causing the computer to execute processing to be acquired,
As a procedure executed by the computer,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition procedure,
A period determination procedure for determining a first period that is shorter than the second period acquired by the period acquisition procedure;
In order to process all of the plurality of commands, each of the plurality of commands for requesting the image forming apparatus to provide the image forming apparatus information is processed one by one, the same number of processes as the number of commands are repeated. Have multiple command processing control procedures to control,
Further, during the repeated processing by the multiple command processing control procedure,
An information request procedure for giving one command to be processed to the print spooler as the output data;
When the first period determined in the period determining procedure has elapsed since the command was given to the print spooler in the information requesting procedure, the print spooler completed outputting the command to the image forming apparatus. Output completion determination procedure for determining whether or not
In the output completion determination procedure, when it is determined that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition procedure;
An information acquisition processing program comprising: an interruption control procedure for interrupting repeated processing according to the multiple command processing control procedure when it is determined in the output completion determination procedure that the output has not been completed.
前記削除指令手順を実行した後、前記処理対象となっている1つのコマンドをあらためて前記印刷スプーラに与えるため、前記情報要求手順を再実行するように制御する再実行制御手順と、
前記情報要求手順から前記削除指令手順に至る手順を、複数回にわたって繰り返し実行した場合に、前記再実行制御手順による制御を中止して、エラーが発生したことを報知するエラー報知手順と、
該エラー報知手順によってエラーを報知した場合に、本処理を中断するか否かを利用者に入力させる指示入力手順とを含み、
前記中断制御手順は、前記指示入力手順において利用者が本処理を中断する旨の指示を入力した場合に、前記複数コマンド処理制御手順による繰り返し処理を中断させる手順である
ことを特徴とする請求項12に記載の情報取得処理プログラム。 In the output completion determination procedure, when it is determined not to have completed the output, a single command includes distearate job that is the said processed to remove from the queue, the print spooler Delete command procedure to command
A re-execution control procedure for performing control so that the information request procedure is re-executed in order to newly give the print spooler one command to be processed after executing the deletion command procedure;
When the procedure from the information request procedure to the deletion command procedure is repeatedly executed a plurality of times, the error notification procedure for notifying that an error has occurred by stopping control by the re-execution control procedure;
An instruction input procedure for allowing the user to input whether or not to interrupt this process when an error is notified by the error notification procedure;
The interrupt control procedure is a procedure for interrupting a repetitive process according to the multiple command process control procedure when a user inputs an instruction to interrupt the process in the instruction input procedure. 12. The information acquisition processing program according to 12.
さらに、前記指示入力手順において利用者が本処理を継続する旨の指示を入力した場合に、前記処理対象となっている1つのコマンドについての処理を終え、前記複数コマンド処理制御手順による処理対象となるコマンドを変更し、該変更後のコマンドについて、前記複数コマンド処理制御手順による繰り返し処理中の各手順を実行するように制御する再開制御手順
を備えていることを特徴とする請求項13に記載の情報取得処理プログラム。 The instruction input procedure is also a procedure for allowing the user to input whether or not to continue the process,
Further, when the user inputs an instruction to continue the processing in the instruction input procedure, the processing for one command that is the processing target is finished, and the processing target by the multiple command processing control procedure is 14. A restart control procedure is provided for controlling a command to be changed and controlling each command in the repeated processing by the multiple command processing control procedure to be executed with respect to the command after the change. Information acquisition processing program.
前記印刷スプーラに前記出力データを与えた場合に、前記キューに保管されたジョブの数が所定数以下であるか否かを判定する状態判定手段と、
該状態判定手段において、前記キューに保管されたジョブの数が所定数以下であると判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える一方、キューに保管されたジョブの数が所定数以下でないと判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与えない情報要求手段と、
前記印刷スプーラが出力する前記コマンドを受信した前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と
を備えていることを特徴とするコンピュータ。 An input / output I / F, and an image forming apparatus is connected via the input / output I / F. Further, “regardless of the state of the image forming apparatus, output data to the image forming apparatus with temporary storage queued as distearate job contains the output data, and sequentially processes the stored job in the queue, the output data contained in the di job in the queue output in put the order into the image forming apparatus, when the completion of the output, the print spooler "to delete the job included output data having been subjected to the output from the queue," the print spooler said "Means for displaying information about jobs stored in a queue" and "Means for outputting print data to the image forming apparatus to the print spooler" are provided and managed on the image forming apparatus side. The A computer that executes a process of acquiring the image forming apparatus information from the image forming apparatus,
State determination means for determining whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when the output data is given to the print spooler;
When the state determination unit determines that the number of jobs stored in the queue is equal to or less than a predetermined number, a command for requesting the image forming apparatus to provide the image forming apparatus information is provided. A command for requesting the image forming apparatus to provide the image forming apparatus information when it is determined that the number of jobs stored in the queue is not less than a predetermined number while being given to the print spooler as output data. Information requesting means not to be given to the print spooler as the output data ;
An information acquisition unit that acquires from the image forming apparatus the image forming apparatus information that is returned to the computer from the image forming apparatus that has received the command output by the print spooler. .
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記コマンドが含まれるジョブを前記キューから削除することを、前記印刷スプーラに対して指令する削除指令手段と
を備えていることを特徴とするコンピュータ。 An input / output I / F, and an image forming apparatus is connected via the input / output I / F. Further, “regardless of the state of the image forming apparatus, output data to the image forming apparatus with temporary storage queued as distearate job contains the output data, and sequentially processes the stored job in the queue, the output data contained in the di job in the queue output in put the order into the image forming apparatus, when the completion of the output, the print spooler "to delete the job included output data having been subjected to the output from the queue," the print spooler said "Means for displaying information about jobs stored in queue", "Means for outputting print data to the image forming apparatus to the print spooler", and "The input / output I / F and the print spooler" tube OS "as management is provided an image forming apparatus information managed by the image forming apparatus, a computer that executes a process of acquiring from the image forming apparatus,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
An information requesting means for giving a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
In the output completion determining means, when it is determined not to have completed the output, to delete distearate job includes the commands from the queue, and delete command means for commanding to the print spooler A computer comprising:
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するための複数のコマンドを1つずつ処理対象にして、前記複数のコマンドすべてを処理するため、コマンドの数と同数の処理を繰り返すように制御する複数コマンド処理制御手段を有し、
さらに、前記複数コマンド処理制御手段による繰り返し処理中に機能する手段として、
処理対象となっている1つのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記複数コマンド処理制御手段による繰り返し処理を中断させる中断制御手段と
を備えていることを特徴とするコンピュータ。 An input / output I / F, and an image forming apparatus is connected via the input / output I / F. Further, “regardless of the state of the image forming apparatus, output data to the image forming apparatus with temporary storage queued as distearate job contains the output data, and sequentially processes the stored job in the queue, the output data contained in the di job in the queue output in put the order into the image forming apparatus, when the completion of the output, the print spooler "to delete the job included output data having been subjected to the output from the queue," the print spooler said "Means for displaying information about jobs stored in queue", "Means for outputting print data to the image forming apparatus to the print spooler", and "The input / output I / F and the print spooler" tube OS "as management is provided an image forming apparatus information managed by the image forming apparatus, a computer that executes a process of acquiring from the image forming apparatus,
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
In order to process all of the plurality of commands, one by one for a plurality of commands for requesting the image forming apparatus to provide the image forming apparatus information, the same number of processes as the number of commands is repeated. A plurality of command processing control means for controlling
Furthermore, as a means that functions during the repeated processing by the multiple command processing control means,
Information requesting means for giving one command to be processed to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
A computer comprising: an interruption control means for interrupting the repetitive processing by the plurality of command processing control means when the output completion judging means judges that the output has not been completed.
前記コンピュータは、
前記印刷スプーラに前記出力データを与えた場合に、前記キューに保管されたジョブの数が所定数以下であるか否かを判定する状態判定手段と、
該状態判定手段において、前記キューに保管されたジョブの数が所定数以下であると判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える一方、キューに保管されたジョブの数が所定数以下でないと判定した場合に、前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与えない情報要求手段と、
前記印刷スプーラが出力する前記コマンドを受信した前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と
を備えていることを特徴とする情報取得処理システム。 A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” "Is provided, the computer, the image forming apparatus information managed by the image forming apparatus, a system configured to perform the process of acquiring from the image forming apparatus,
The computer
State determination means for determining whether or not the number of jobs stored in the queue is equal to or less than a predetermined number when the output data is given to the print spooler;
When the state determination unit determines that the number of jobs stored in the queue is equal to or less than a predetermined number, a command for requesting the image forming apparatus to provide the image forming apparatus information is provided. A command for requesting the image forming apparatus to provide the image forming apparatus information when it is determined that the number of jobs stored in the queue is not less than a predetermined number while being given to the print spooler as output data. Information requesting means not to be given to the print spooler as the output data ;
Information acquisition means for acquiring, from the image forming apparatus, the image forming apparatus information to be returned to the computer from the image forming apparatus that has received the command output by the print spooler. Acquisition processing system.
前記コンピュータは、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するためのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記コマンドが含まれるジョブを前記キューから削除することを、前記印刷スプーラに対して指令する削除指令手段と
を備えていることを特徴とする情報取得処理システム。 A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. ”,“ Means for displaying information about jobs stored in the queue by the print spooler ”, and“ printing having a function of outputting print data and output by the function ” Means for performing print output to the image forming apparatus via the print spooler by inputting data to the print spooler and an OS for managing the input / output I / F and the print spooler are provided. And the computer is configured to execute processing for acquiring image forming apparatus information managed on the image forming apparatus side from the image forming apparatus,
The computer
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
An information requesting means for giving a command for requesting the image forming apparatus to provide the image forming apparatus information to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
In the output completion determining means, when it is determined not to have completed the output, to delete distearate job includes the commands from the queue, and delete command means for commanding to the print spooler An information acquisition processing system comprising:
前記コンピュータは、
前記出力データを前記入出力I/Fを介して前記画像形成装置へと出力できない場合に、前記入出力I/Fが通信のタイムアウトを検出することになる第2の期間をあらかじめ前記OSから取得する期間取得手段と、
前記期間取得手段が取得した第2の期間よりも短い期間である第1の期間を決定する期間決定手断と、
前記画像形成装置に対して前記画像形成装置情報の提供を要求するための複数のコマンドを1つずつ処理対象にして、前記複数のコマンドすべてを処理するため、コマンドの数と同数の処理を繰り返すように制御する複数コマンド処理制御手段を有し、
さらに、前記複数コマンド処理制御手段による繰り返し処理中に機能する手段として、
処理対象となっている1つのコマンドを、前記出力データとして前記印刷スプーラに与える情報要求手段と、
該情報要求手段において前記印刷スプーラに前記コマンドを与えてから、前記期間決定手段が決定した第1の期間が経過したときに、前記印刷スプーラが前記コマンドの前記画像形成装置への出力を完了しているか否かを判定する出力完了判定手段と、
該出力完了判定手段において、前記出力を完了したと判定した場合に、前記コマンドによる要求に応じて前記画像形成装置から前記コンピュータへと返される前記画像形成装置情報を、前記画像形成装置から取得する情報取得手段と、
前記出力完了判定手段において、前記出力を完了していないと判定した場合に、前記複数コマンド処理制御手段による繰り返し処理を中断させる中断制御手段と
を備えていることを特徴とする情報取得処理システム。 A computer having an input / output I / F ; and an image forming apparatus connected to the computer via the input / output I / F. The computer includes: “the image regardless of the state of the image forming apparatus” the output data to the forming apparatus, as well as temporarily store it in a queue as distearate job includes output data, and sequentially processes the stored job in the queue, the the di job A print spooler that outputs the output data included in the queue to the image forming apparatus in the order in which the output data is included, and deletes the job including the output data that has been output from the queue when the output ends. , “Means for displaying information relating to jobs stored in the queue by the print spooler”, and “means for outputting print data to the image forming apparatus to the print spooler” And “OS for managing the input / output I / F and the print spooler” are provided, and the computer acquires the image forming apparatus information managed on the image forming apparatus side from the image forming apparatus. A system configured to perform processing to
The computer
When the output data cannot be output to the image forming apparatus via the input / output I / F, a second period during which the input / output I / F detects a communication timeout is acquired from the OS in advance. A period acquisition means to perform,
A period determination decision for determining a first period that is shorter than the second period acquired by the period acquisition means;
In order to process all of the plurality of commands, each of the plurality of commands for requesting the image forming apparatus to provide the image forming apparatus information is processed one by one, the same number of processes as the number of commands are repeated. A plurality of command processing control means for controlling
Furthermore, as a means that functions during the repeated processing by the multiple command processing control means,
Information requesting means for giving one command to be processed to the print spooler as the output data;
The print spooler completes outputting the command to the image forming apparatus when a first period determined by the period determining unit has elapsed since the command was given to the print spooler by the information requesting unit. Output completion determining means for determining whether or not
When the output completion determining unit determines that the output has been completed, the image forming apparatus information returned from the image forming apparatus to the computer in response to a request by the command is acquired from the image forming apparatus. Information acquisition means;
An information acquisition processing system comprising: an interruption control unit that interrupts the repetitive processing by the plurality of command processing control units when the output completion determination unit determines that the output has not been completed.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004003244A JP4196835B2 (en) | 2004-01-08 | 2004-01-08 | Information acquisition processing program, computer, and information acquisition processing system |
US10/840,743 US7773248B2 (en) | 2003-09-30 | 2004-05-07 | Device information management system |
EP04253262.2A EP1521171B1 (en) | 2003-09-30 | 2004-06-02 | Device information management system |
EP10007913.6A EP2239656B1 (en) | 2003-09-30 | 2004-06-02 | Device information management system |
US12/801,863 US8018616B2 (en) | 2003-09-30 | 2010-06-29 | Device information management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004003244A JP4196835B2 (en) | 2004-01-08 | 2004-01-08 | Information acquisition processing program, computer, and information acquisition processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005196573A JP2005196573A (en) | 2005-07-21 |
JP4196835B2 true JP4196835B2 (en) | 2008-12-17 |
Family
ID=34818212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004003244A Expired - Fee Related JP4196835B2 (en) | 2003-09-30 | 2004-01-08 | Information acquisition processing program, computer, and information acquisition processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4196835B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5058056B2 (en) * | 2008-04-24 | 2012-10-24 | 株式会社リコー | Image processing apparatus and exclusive control method |
JP5104926B2 (en) | 2010-08-25 | 2012-12-19 | ブラザー工業株式会社 | Print control apparatus and program |
JP6029360B2 (en) | 2012-07-09 | 2016-11-24 | キヤノン株式会社 | Information processing method and program |
JP6597343B2 (en) | 2016-01-29 | 2019-10-30 | ブラザー工業株式会社 | Driver program and set of driver program and printer |
JP6962116B2 (en) * | 2017-09-29 | 2021-11-05 | ブラザー工業株式会社 | Computer programs and communication equipment for communication equipment |
JP6980481B2 (en) * | 2017-10-06 | 2021-12-15 | キヤノン株式会社 | Information processing methods, print systems and programs |
JP7077590B2 (en) * | 2017-11-24 | 2022-05-31 | ブラザー工業株式会社 | Computer programs and communication equipment for communication equipment |
-
2004
- 2004-01-08 JP JP2004003244A patent/JP4196835B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005196573A (en) | 2005-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8018616B2 (en) | Device information management system | |
US8804162B2 (en) | Information processing apparatus, printing system, monitoring method, program, and storage medium | |
US8014007B2 (en) | Information processing apparatus, substitute print job management method, information processing program, and recording medium | |
US6256750B1 (en) | Information processing apparatus, network printing system, its control method, and storage medium storing program | |
US9019531B2 (en) | Host computer, print control system, control method for print control system, and program | |
US20100134829A1 (en) | Information processing apparatus, information processing method, medium storing program thereof, and information processing system | |
US20050286078A1 (en) | Print control device and method for automatically resuming a printing operation of remaining pages | |
JP7439207B2 (en) | program | |
JP4540708B2 (en) | Print control program and program recording medium | |
JP6362453B2 (en) | Printing system, image processing apparatus, information processing method, and program | |
JP5573132B2 (en) | Printing system, printing apparatus, program, and storage medium | |
JP4196835B2 (en) | Information acquisition processing program, computer, and information acquisition processing system | |
JP7271310B2 (en) | IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM | |
JP2014014985A (en) | Job processing apparatus, job management method, and program | |
JP6789775B2 (en) | Image forming apparatus and its control method and program | |
US9207889B2 (en) | Information processing apparatus, information processing method, and storage medium | |
JP3966276B2 (en) | Information acquisition processing program, computer, and information acquisition processing system | |
JP4222173B2 (en) | Image forming apparatus information management system | |
JP2005165391A (en) | Image forming device information management system, and program therefor | |
JP7037615B2 (en) | Image forming device and its control method and program | |
JP7392509B2 (en) | Systems, programs, and information processing equipment | |
JP2003266892A (en) | Information processor, information processing system, control method, control program and storage medium | |
JP2006197285A (en) | Job management device, system, and method, and control program | |
JP2006173905A (en) | Job management device, job management system, job management method, and control program | |
JP2006164153A (en) | Connection management and user processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051021 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080520 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080718 |
|
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: 20080909 |
|
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: 20080922 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4196835 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111010 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121010 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131010 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |