JP2001142663A - Device and method for allocating network printer and recording medium - Google Patents

Device and method for allocating network printer and recording medium

Info

Publication number
JP2001142663A
JP2001142663A JP32374799A JP32374799A JP2001142663A JP 2001142663 A JP2001142663 A JP 2001142663A JP 32374799 A JP32374799 A JP 32374799A JP 32374799 A JP32374799 A JP 32374799A JP 2001142663 A JP2001142663 A JP 2001142663A
Authority
JP
Japan
Prior art keywords
printer
network
network printer
print
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP32374799A
Other languages
Japanese (ja)
Inventor
Michiyo Nakashimizu
三千代 中清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Software Kobe Ltd
Original Assignee
NEC Software Kobe Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Kobe Ltd filed Critical NEC Software Kobe Ltd
Priority to JP32374799A priority Critical patent/JP2001142663A/en
Publication of JP2001142663A publication Critical patent/JP2001142663A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To allocate a printing request from a client to an optimum network printer in the network. SOLUTION: When a client machine 1 makes the printing request to a network printer 5 held by a printer server machine 4 on the network 3, an automatic network printer allocating means 2 receives the printing request outputted by the machine 1, decides whether the printer 5 designated by the machine 1 is printable and further how long the waiting time is when the printer is printable, transmits the print data to the designated network printer 5 when the network printer 5 is decided as suitable for printing, allows the machine 1 to evaluate another available network printer 5 in turn and transmits the print data to the optimum network printer 5 when the network printer 5 is decided as unsuitable for printing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のネットワー
クプリンタを持つネットワーク内で、クライアントマシ
ンからネットワークプリンタに対して印刷要求がなされ
たときに、そのクライアントマシンに最適又は(及び)
最速のネットワークプリンタを自動的に振り分けるネッ
トワークプリンタの振り分け装置およびネットワークプ
リンタの振り分け方法、並びに記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is suitable for a client machine when a print request is made to the network printer in a network having a plurality of network printers.
The present invention relates to a network printer sorting device that automatically sorts the fastest network printer, a network printer sorting method, and a recording medium.

【0002】[0002]

【従来の技術】従来、ネットワーク上のプリンタサーバ
マシンに接続されたネットワークプリンタ資産は、クラ
イアントマシン側から選択され、選択されたネットワー
クプリンタに対して印刷要求がなされ、印刷要求がなさ
れたネットワークプリンタが印刷を行う。
2. Description of the Related Art Conventionally, a network printer asset connected to a printer server machine on a network is selected from a client machine side, a print request is made to the selected network printer, and the network printer that has made the print request is designated as a network printer. Perform printing.

【0003】クライアントマシンの利用者は、予め、複
数のプリンタサーバマシンが持つネットワークプリンタ
に対応するプリンタドライバをインストールしておくこ
とで、複数のネットワークプリンタのいずれかを印刷時
に利用することが可能となっている。
A user of a client machine can use one of a plurality of network printers at the time of printing by installing a printer driver corresponding to a network printer of a plurality of printer server machines in advance. Has become.

【0004】[0004]

【発明が解決しようとする課題】クライアントマシン上
で動作するアプリケーションからの印刷要求に従って印
刷を行う場合、複数のプリンタドライバがインストール
されていても、それらのうちの1つだけしか指定するこ
とができない。そのため、印刷中に障害が発生した場
合、再度印刷データを送るべきネットワークプリンタを
選択し直さなければならない。
When printing is performed in accordance with a print request from an application running on a client machine, even if a plurality of printer drivers are installed, only one of them can be specified. . Therefore, when a failure occurs during printing, a network printer to which print data should be sent must be selected again.

【0005】また、ネットワークプリンタは複数のクラ
イアントマシンから利用されるため、複数のクライアン
トマシンから同時に印刷要求がなされた場合、そのいず
れかのクライアントマシンからの印刷要求に対応する印
刷を行っているときに障害が起きると、その他の印刷処
理が停止してしまうことがある。また、複数のクライア
ントマシンから同時に印刷要求がなされた場合に、大量
の印刷データや、印刷に時間のかかるデータがネットワ
ークプリンタのプリンタキューに溜まっていると、印刷
の待ち時間が非常に長くなることがあるという課題があ
った。
[0005] Further, since a network printer is used by a plurality of client machines, if a print request is made from a plurality of client machines at the same time, printing is performed in response to a print request from any one of the client machines. If a failure occurs, other print processing may be stopped. Also, if a large number of print data or data that takes a long time to print is stored in the printer queue of a network printer when a print request is made simultaneously from a plurality of client machines, the print waiting time becomes extremely long. There was a problem that there is.

【0006】本発明はこのような状況に鑑みてなされた
ものであり、ネットワーク上のクライアントマシンが所
定のネットワークプリンタに対して印刷要求を行ったと
きに、その印刷先のネットワークプリンタが印刷可能な
状態であるか否か、及びそのネットワークプリンタが印
刷を開始するまでの待ち時間を検査して、プリンタサー
バマシンが起動されていないか、又は、ネットワークプ
リンタが印刷可能な状態ではない場合、又は印刷待ち時
間が長くなりそうな場合に、そのクライアントマシンか
ら印刷可能な最適/最速なネットワークプリンタを自動
的に選択して、そのクライアントマシンからの印刷デー
タをそのネットワークプリンタに振り分けることができ
るようにするものである。
The present invention has been made in view of such a situation, and when a client machine on a network issues a print request to a predetermined network printer, the print destination network printer can print. Checks whether the printer is in a state and whether the network printer waits for printing to start. If the printer server machine has not been started or the network printer is not in a printable state, or printing has been completed. When the waiting time is likely to be long, the optimum / fastest network printer capable of printing from the client machine is automatically selected so that print data from the client machine can be distributed to the network printer. Things.

【0007】[0007]

【課題を解決するための手段】請求項1に記載のネット
ワークプリンタの振り分け装置は、ネットワーク上のク
ライアントマシンからの印刷要求を、プリンタサーバマ
シンが持つネットワークプリンタに振り分けるネットワ
ークプリンタの振り分け装置であって、クライアントマ
シンが発する印刷要求を受け付ける印刷要求受付手段
と、ネットワークプリンタの状態を評価するプリンタ状
態検査手段と、ネットワークプリンタに印刷データを送
信する印刷データ送信手段と、ネットワークプリンタの
うちの所定のものを選択するネットワークプリンタ選択
手段と、ネットワークプリンタ選択手段によって選択さ
れたネットワークプリンタが印刷した印刷結果を取得
し、クライアントマシンに印刷結果を送信する印刷結果
送信手段とを備え、プリンタ状態検査手段は、印刷要求
受付手段が印刷要求を受け付けたことを条件として、印
刷要求の対象となるネットワークプリンタの状態を評価
し、プリンタ状態検査手段が、印刷要求の対象となるネ
ットワークプリンタが印刷が可能であり、かつ印刷待ち
時間が所定の基準値以下であると判断した場合、印刷デ
ータ送信手段は、ネットワークプリンタに、印刷を実行
させるための印刷データを送信し、プリンタ状態検査手
段が、印刷要求の対象となるネットワークプリンタが印
刷が不可能である、または印刷待ち時間が所定の基準値
より長いと判断した場合、ネットワークプリンタ選択手
段は、ネットワーク上の他のネットワークプリンタにつ
いて印刷可能であるか否かを判定し、印刷可能であると
判定されたネットワークプリンタのうち、印刷待ち時間
が最も短いものを選択し、印刷データ送信手段は、選択
されたネットワークプリンタに対して、印刷を実行させ
るための印刷データを送信することを特徴とする。ま
た、プリンタ状態検査手段は、印刷要求の対象となるネ
ットワークプリンタが印刷が不可能であると判断した場
合、ネットワーク上の他のネットワークプリンタについ
て印刷可能であるか否かを判定し、他のネットワークプ
リンタのプリンタキューの印刷データのデータ量に基づ
いて、印刷可能であると判定されたネットワークプリン
タのうち、印刷待ち時間が最も短いものを選択するよう
にすることができる。また、プリンタ状態検査手段は、
印刷要求の対象となるネットワークプリンタが接続され
たプリンタサーバマシンの電源が入っているか否か、お
よびネットワークプリンタが印刷データを印刷するのに
適しているか否かを検出し、プリンタサーバマシンの電
源が入っており、かつ、ネットワークプリンタが印刷デ
ータを印刷するのに適していることが検出された場合、
ネットワークプリンタは印刷データを印刷可能であると
判断するようにすることができる。請求項4に記載のネ
ットワークプリンタの振り分け方法は、ネットワーク上
のクライアントマシンからの印刷要求を、プリンタサー
バマシンが持つネットワークプリンタに振り分けるネッ
トワークプリンタの振り分け方法であって、クライアン
トマシンが発する印刷要求を受け付ける印刷要求受付ス
テップと、ネットワークプリンタの状態を評価するプリ
ンタ状態検査ステップと、ネットワークプリンタに印刷
データを送信する印刷データ送信ステップと、ネットワ
ークプリンタのうちの所定のものを選択するネットワー
クプリンタ選択ステップと、ネットワークプリンタ選択
ステップにおいて選択されたネットワークプリンタが印
刷した印刷結果を取得し、クライアントマシンに印刷結
果を送信する印刷結果送信ステップとを備え、プリンタ
状態検査ステップにおいては、印刷要求受付ステップに
おいて印刷要求を受け付けたことを条件として、印刷要
求の対象となるネットワークプリンタの状態が評価さ
れ、プリンタ状態検査ステップにおいて、印刷要求の対
象となるネットワークプリンタが印刷が可能であり、か
つ印刷待ち時間が所定の基準値以下であると判断された
場合、印刷データ送信ステップにおいて、ネットワーク
プリンタに、印刷を実行させるための印刷データが送信
され、プリンタ状態検査ステップにおいて、印刷要求の
対象となるネットワークプリンタが印刷が不可能であ
る、または印刷待ち時間が所定の基準値より長いと判断
された場合、ネットワークプリンタ選択ステップにおい
て、ネットワーク上の他のネットワークプリンタについ
て印刷可能であるか否かが判定され、印刷可能であると
判定されたネットワークプリンタのうち、印刷待ち時間
が最も短いものが選択され、印刷データ送信ステップに
おいて、選択されたネットワークプリンタに対して、印
刷を実行させるための印刷データが送信されることを特
徴とする。また、プリンタ状態検査ステップにおいて
は、印刷要求の対象となるネットワークプリンタが印刷
が不可能であると判断された場合、ネットワーク上の他
のネットワークプリンタについて印刷可能であるか否か
が判定され、他のネットワークプリンタのプリンタキュ
ーの印刷データのデータ量に基づいて、印刷可能である
と判定されたネットワークプリンタのうち、印刷待ち時
間が最も短いものが選択される請求項6に記載の記録媒
体は、請求項4に記載のネットワークプリンタの振り分
け方法を実行可能なプログラムが記録されていることを
特徴とする。本発明のネットワークプリンタの振り分け
装置およびネットワークプリンタの振り分け方法、並び
に記録媒体においては、印刷要求を受け付けたことを条
件として、印刷要求の対象となるネットワークプリンタ
の状態が評価され、印刷要求の対象となるネットワーク
プリンタが印刷が可能であり、かつ印刷待ち時間が所定
の基準値以下であると判断された場合、ネットワークプ
リンタに、印刷を実行させるための印刷データが送信さ
れ、印刷要求の対象となるネットワークプリンタが印刷
が不可能である、または印刷待ち時間が所定の基準値よ
り長いと判断された場合、ネットワーク上の他のネット
ワークプリンタについて印刷可能であるか否かが判定さ
れ、印刷可能であると判定されたネットワークプリンタ
のうち、印刷待ち時間が最も短いものが選択され、選択
されたネットワークプリンタに対して、印刷を実行させ
るための印刷データが送信される。
According to a first aspect of the present invention, there is provided a network printer distributing apparatus for distributing a print request from a client machine on a network to a network printer of a printer server machine. A print request receiving unit for receiving a print request issued by a client machine, a printer status inspection unit for evaluating a status of a network printer, a print data transmitting unit for transmitting print data to the network printer, and a predetermined one of the network printers And a print result transmitting means for obtaining a print result printed by the network printer selected by the network printer select means, and transmitting the print result to the client machine. The printer status inspecting unit evaluates the status of the network printer that is the target of the print request on condition that the print request receiving unit has received the print request. If it is determined that printing is possible and the print waiting time is equal to or less than a predetermined reference value, the print data transmitting unit transmits print data for causing the network printer to execute printing, and the printer state checking unit transmits the print data. If the network printer that is the target of the print request determines that printing is not possible or that the print waiting time is longer than a predetermined reference value, the network printer selection unit can print for another network printer on the network. It is determined whether or not there is, and among the network printers that are determined to be printable, Select the one print waiting time shortest, the print data transmission unit, and transmits the print data to be executed on the selected network printer, the printing. Further, when the printer status inspection means determines that the network printer which is the target of the print request cannot perform printing, it determines whether or not other network printers on the network can perform printing. Based on the amount of print data in the printer queue of the printer, a network printer that has been determined to be printable can be selected as the one with the shortest print waiting time. Further, the printer status inspection means includes:
Detects whether the power of the printer server machine connected to the network printer to be requested for printing is turned on and whether the network printer is suitable for printing the print data. And it is detected that the network printer is suitable for printing print data,
The network printer can determine that the print data can be printed. According to a fourth aspect of the present invention, there is provided a network printer distribution method for distributing a print request from a client machine on a network to a network printer of a print server machine, wherein the print request issued by the client machine is received. A print request receiving step, a printer state checking step of evaluating the state of the network printer, a print data transmitting step of transmitting print data to the network printer, a network printer selecting step of selecting a predetermined one of the network printers, A print result transmitting step of acquiring a print result printed by the network printer selected in the network printer selecting step, and transmitting the print result to the client machine. In the status inspection step, the condition of the network printer that is the target of the print request is evaluated on condition that the print request is received in the print request reception step, and in the printer status inspection step, the network printer that is the target of the print request is evaluated. When it is determined that printing is possible and the print waiting time is equal to or less than a predetermined reference value, in a print data transmitting step, print data for causing the network printer to execute printing is transmitted, and a printer state checking step is performed. If it is determined in step (1) that the network printer that is the target of the print request cannot perform printing or that the print waiting time is longer than a predetermined reference value, in the network printer selecting step, printing is performed for another network printer on the network. Is it possible Is determined, and among the network printers that are determined to be printable, the one with the shortest print waiting time is selected, and in the print data transmission step, the selected network printer is caused to execute printing. The print data is transmitted. Also, in the printer status inspection step, when it is determined that the network printer that is the target of the print request cannot perform printing, it is determined whether or not other network printers on the network can perform printing. 7. The recording medium according to claim 6, wherein a network printer determined to be printable has a shortest print waiting time based on the amount of print data in a printer queue of the network printer. A program capable of executing the method for sorting network printers according to claim 4 is recorded. In the network printer sorting device, the network printer sorting method, and the recording medium according to the present invention, the condition of the network printer to which the print request is applied is evaluated on condition that the print request is accepted, and If it is determined that the network printer is capable of printing and the print waiting time is equal to or less than the predetermined reference value, print data for causing the network printer to execute printing is transmitted and becomes a target of the print request. If it is determined that the network printer cannot perform printing or that the print waiting time is longer than a predetermined reference value, it is determined whether or not other network printers on the network can perform printing, and printing is possible. Print waiting time is the shortest among network printers Those are selected, for the selected network printer, print data for executing printing is transmitted.

【0008】[0008]

【発明の実施の形態】以下、本発明のネットワークプリ
ンタの自動振り分け方法が適用されるネットワークシス
テムの一実施の形態の構成例、及び動作について、図面
を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A configuration example and operation of an embodiment of a network system to which a network printer automatic sorting method according to the present invention is applied will be described below with reference to the drawings.

【0009】図1は、本発明のネットワークプリンタの
自動振り分け方法が適用されるネットワークシステムの
一実施の形態の構成例を示している。同図に示すよう
に、ネットワークシステムは、クライアントマシン1
と、ネットワークプリンタ自動振り分け手段2と、ネッ
トワーク3、及びプリンタサーバマシン4から構成さ
れ、プリンタサーバマシン4にはそれぞれネットワーク
プリンタ5が接続されている。
FIG. 1 shows an example of the configuration of an embodiment of a network system to which a method for automatically sorting network printers according to the present invention is applied. As shown in the figure, the network system is a client machine 1
, A network printer automatic distribution unit 2, a network 3, and a printer server machine 4. A network printer 5 is connected to the printer server machine 4, respectively.

【0010】なお、図1では、ネットワーク3にクライ
アントマシン1が1台、プリンタサーバマシン4が2台
接続された場合の例を図示したが、勿論、ネットワーク
3にクライアントマシン1を2台以上接続し、プリンタ
サーバマシン4を3台以上接続するようにすることもで
きる。
FIG. 1 shows an example in which one client machine 1 and two printer server machines 4 are connected to the network 3. Of course, two or more client machines 1 are connected to the network 3. Alternatively, three or more printer server machines 4 may be connected.

【0011】図2は、図1のネットワークプリンタ自動
振り分け手段2の詳細な構成例を示している。図2にお
いて、印刷要求受付手段2Aは、クライアントマシン1
が発する印刷要求を受け付けるようになされている。プ
リンタ状態検査手段2Bは、印刷要求受付手段2Aが印
刷要求を受け付けたことを条件として、クライアントマ
シン1が指定したネットワークプリンタ5(以下では、
ネットワークプリンタ5−1,5−2を特に区別する必
要がない場合、適宜、単にネットワークプリンタ5と記
載することにする)が印刷可能であるか、即ち、プリン
タサーバマシン4(以下では、プリンタサーバマシン4
−1,4−2を特に区別する必要がない場合、適宜、単
にプリンタサーバマシン4と記載することにする)の電
源が入っているか、及びプリンタサーバマシン4に接続
された、指定されたネットワークプリンタ5が印刷可能
であるか否かを検査するようになされている。さらに、
印刷が可能な場合は、印刷の待ち時間がどのくらいかを
判断するようにもなされている。
FIG. 2 shows a detailed configuration example of the network printer automatic sorting means 2 of FIG. In FIG. 2, the print request receiving unit 2A includes a client machine 1
Is received. The printer status inspection unit 2B sends the network printer 5 designated by the client machine 1 (hereinafter, referred to as
If there is no particular need to distinguish between the network printers 5-1 and 5-2, the network printer 5 is simply referred to as appropriate, so that printing can be performed, that is, the printer server machine 4 (hereinafter referred to as the printer server). Machine 4
If it is not necessary to distinguish between −1 and 4-2, it will be simply referred to as “printer server machine 4”, if necessary, or the designated network connected to printer server machine 4. It is configured to check whether the printer 5 is capable of printing. further,
If printing is possible, it is also determined how long the waiting time for printing is.

【0012】印刷データ送信手段2Cは、プリンタ状態
検査手段2Bにより、クライアントマシン1によって指
定されたネットワークプリンタ5が印刷可能である、即
ち、ネットワークプリンタ5がクライアントマシン1か
らの印刷データを印刷データの書式通りに印刷すること
ができ、印刷待ち時間が所定の基準値以下であり、印刷
に適していると判断された場合、クライアントマシン1
からの印刷データを、指定された上記ネットワークプリ
ンタ5に送信するようになされている。
The print data transmitting means 2C is capable of printing by the network printer 5 specified by the client machine 1 by the printer status checking means 2B, that is, the network printer 5 transmits the print data from the client machine 1 to the print data. If it is determined that the printing can be performed according to the format and the print waiting time is equal to or less than a predetermined reference value and is determined to be suitable for printing, the client machine 1
Is transmitted to the specified network printer 5.

【0013】ネットワークプリンタ選択手段2Dは、先
に検査したネットワークプリンタ5が印刷に適さないと
判断された場合には、クライアントマシン1から使用可
能な別のネットワークプリンタ5を順に評価して、他の
最適なネットワークプリンタ5を選択するようになされ
ている。その場合、印刷データ送信手段2Cは、ネット
ワークプリンタ選択手段2Dによって選択されたネット
ワークプリンタ5に対して印刷データを送信するように
なされている。
When it is determined that the previously inspected network printer 5 is not suitable for printing, the network printer selecting means 2D evaluates another network printer 5 available from the client machine 1 in order, and performs another evaluation. An optimal network printer 5 is selected. In this case, the print data transmitting unit 2C transmits the print data to the network printer 5 selected by the network printer selecting unit 2D.

【0014】印刷結果送信手段2Eは、ネットワークプ
リンタ5から印刷結果を取得し、クライアントマシン1
にその印刷結果を送信するようになされている。また、
印刷可能なネットワークプリンタ5がなかった場合に
は、印刷できなかったことをクライアント1に通知する
ようになされている。
The print result transmitting means 2E acquires a print result from the network printer 5, and
The print result is transmitted to the printer. Also,
If there is no printable network printer 5, the client 1 is notified that printing was not possible.

【0015】次に、図2を参照して、この実施の形態に
おいてネットワークプリンタ5が選択される方法につい
て説明する。例えば、ネットワーク3上に接続されたク
ライアントマシン1から、プリンタサーバマシン4−1
に接続されたネットワークプリンタ5−1に対して印刷
要求が発せられると、ネットワークプリンタ自動振り分
け手段2の印刷要求受付手段2Aによりこの印刷要求が
受け取られる。
Next, a method of selecting the network printer 5 in this embodiment will be described with reference to FIG. For example, from the client machine 1 connected on the network 3 to the printer server machine 4-1
When a print request is issued to the network printer 5-1 connected to the network printer 5-1, the print request is received by the print request receiving unit 2A of the network printer automatic sorting unit 2.

【0016】次に、プリンタ状態検査手段2Bにより、
クライアントマシン1によって指定されたネットワーク
プリンタ5−1が印刷可能な状態であるか否か、及びネ
ットワークプリンタ5−1が接続されているプリンタサ
ーバマシン4−1の電源が入っているか否か等が判断さ
れる。このとき、印刷要求がどのプリンタサーバマシン
4のネットワークプリンタ5に対してなされたものであ
るかということは、印刷要求受付手段2Aが受け取った
印刷要求に基づいて判定される。即ち、クライアントマ
シン1からの印刷要求がどのプリンタサーバマシン4の
ネットワークプリンタ5に対してなされたものであるか
という情報は、印刷要求の中に含まれている。
Next, the printer status inspection means 2B
Whether or not the network printer 5-1 specified by the client machine 1 is in a printable state, and whether or not the power of the printer server machine 4-1 to which the network printer 5-1 is connected is turned on. Is determined. At this time, it is determined based on the print request received by the print request receiving unit 2A that the print request has been made to the network printer 5 of which printer server machine 4. That is, information indicating which print server machine 4 has made a print request from the client machine 1 to the network printer 5 is included in the print request.

【0017】クライアントマシン1が指定したネットワ
ークプリンタ5−1が印刷可能であると判定された場
合、次に、ネットワークプリンタ5−1について、大量
の印刷データがネットワークプリンタ5−1のプリンタ
キューに溜まっているために、長時間印刷待ちになりそ
うであるか否かが判定される。
If it is determined that the network printer 5-1 designated by the client machine 1 is capable of printing, then a large amount of print data is stored in the printer queue of the network printer 5-1 for the network printer 5-1. Therefore, it is determined whether or not printing is likely to wait for a long time.

【0018】プリンタ状態検査手段2Bにより、クライ
アントマシン1が指定したネットワークプリンタ5−1
が、印刷可能な状態であり、印刷待ちが長時間にならな
いと判定された場合、印刷データ送信手段2Cにより、
ネットワークプリンタ5−1に対してクライアントマシ
ン1からの印刷データが送信される。
Network printer 5-1 designated by client machine 1 by printer status inspection means 2B.
Is in a printable state, and when it is determined that the print wait is not long, the print data transmitting unit 2C
The print data from the client machine 1 is transmitted to the network printer 5-1.

【0019】そして、ネットワークプリンタ5−1が印
刷した印刷結果は、プリンタ状態検査手段2Bによって
取得され、取得された印刷結果は、印刷結果送信手段2
Eにより、クライアントマシン1に返却される。
The print result printed by the network printer 5-1 is acquired by the printer status inspection means 2B, and the acquired print result is transmitted to the print result transmission means 2B.
By E, it is returned to the client machine 1.

【0020】一方、プリンタ状態検査手段2Bが指定し
たネットワークプリンタ5−1が印刷不可能(使用不可
能)、あるいはプリンタキューに大量の印刷データが溜
まっており、印刷待ち時間が長時間になると判断された
場合、ネットワークプリンタ選択手段2Dが、クライア
ントマシン1から接続可能なネットワークプリンタ5の
一覧を取得する。そして、その一覧に基づいて、プリン
タ状態検査手段2Bは、ネットワーク3にプリンタサー
バマシン4を介して接続されている全てのネットワーク
プリンタ5を順次検査し、印刷データの書式が印刷可能
なネットワークプリンタ5、即ち、印刷データをその印
刷データの書式通りに印刷可能な印刷に適したネットワ
ークプリンタ5があれば、それを選択する。印刷に適し
たネットワークプリンタ5があり、それが選択された場
合は、印刷データ送信手段2Cによって、選択されたネ
ットワークプリンタ5にクライアントマシン1からの印
刷データが送信される。例えば、ネットワークプリンタ
5−2が選択された場合には、ネットワークプリンタ5
−2に印刷データが送信される。
On the other hand, it is determined that the network printer 5-1 designated by the printer status inspection means 2B is not printable (unusable) or that a large amount of print data is accumulated in the printer queue, and that the print waiting time is long. In this case, the network printer selecting means 2D acquires a list of connectable network printers 5 from the client machine 1. Then, based on the list, the printer status inspection unit 2B sequentially inspects all the network printers 5 connected to the network 3 via the printer server machine 4, and prints the format of the print data. That is, if there is a network printer 5 suitable for printing that can print the print data in the format of the print data, the network printer 5 is selected. If there is a network printer 5 suitable for printing and it is selected, the print data from the client machine 1 is transmitted to the selected network printer 5 by the print data transmitting means 2C. For example, when the network printer 5-2 is selected, the network printer 5
-2 is transmitted.

【0021】印刷に使用したネットワークプリンタ5が
いずれであったかを示す情報は、印刷結果送信手段2E
によりクライアントマシン1に送信される。印刷可能な
ネットワークプリンタ5が発見できなかった場合は、印
刷できなかった旨の返却値が印刷結果送信手段2Eによ
りクライアントマシン1に送信される。
Information indicating which network printer 5 was used for printing is stored in the print result transmitting unit 2E.
Is transmitted to the client machine 1. If a printable network printer 5 cannot be found, a return value indicating that printing was not possible is transmitted to the client machine 1 by the print result transmitting means 2E.

【0022】以上説明したように、本実施の形態によ
り、次のような効果を得ることができる。即ち、クライ
アントマシン1が発する印刷要求を受け付け、印刷要求
を受け付けたことを条件として印刷要求の対象となるネ
ットワークプリンタ5の状態を評価し、印刷要求の対象
となる該当するネットワークプリンタ5が印刷できる状
態でない場合は他のネットワークプリンタ5に印刷処理
を振り替えるようにすることができる。従って、クライ
アントマシン1が印刷処理を要求したときに、印刷要求
の対象となるネットワークプリンタ5の接続先のプリン
タサーバマシン4が起動されていない場合であっても、
クライアントマシン5から他のプリンタサーバマシン4
が持つネットワークプリンタ5に対して印刷要求をする
ことが可能となる。また、印刷要求の対象となるネット
ワークプリンタ5に対して他のクライアントマシン1か
ら大量の印刷データを印刷するように印刷要求されてい
る場合にも、他の空いている、又は印刷待ち時間が最も
短いネットワークプリンタ5が振り分けられるため、資
源を有効に使えると共に作業効率を上げることができ
る。
As described above, according to the present embodiment, the following effects can be obtained. That is, a print request issued by the client machine 1 is received, the condition of the network printer 5 that is the target of the print request is evaluated on condition that the print request is received, and the corresponding network printer 5 that is the target of the print request can print. If it is not in the state, the print processing can be transferred to another network printer 5. Therefore, when the client machine 1 requests the print processing, even if the printer server machine 4 to which the network printer 5 to be requested for the print connection is not activated,
Client machine 5 to other print server machine 4
Makes a print request to the network printer 5 of the printer. Also, when a print request is issued from the other client machine 1 to the network printer 5 that is the target of the print request so as to print a large amount of print data, another vacant or print waiting time is the shortest. Since short network printers 5 are sorted, resources can be used effectively and work efficiency can be increased.

【0023】なお、上記実施の形態において、ネットワ
ークプリンタ自動振り分け手段2は、専用のハードウェ
アとソフトウェアを用いて実現することもできるし、パ
ーソナルコンピュータなどの汎用品と専用のソフトウェ
アを用いて実現することもできる。
In the above-described embodiment, the network printer automatic sorting means 2 can be realized by using dedicated hardware and software, or by using a general-purpose product such as a personal computer and dedicated software. You can also.

【0024】また、上記実施の形態においては、ネット
ワーク3に接続されるクライアント1の数を1とし、プ
リンタサーバマシン4及びネットワークプリンタ5の数
をそれぞれ2としたが、これに限定されるものではな
く、技術的に可能な範囲内で任意の数とすることができ
る。
In the above embodiment, the number of clients 1 connected to the network 3 is 1, and the numbers of the printer server machines 4 and the network printers 5 are 2. However, the present invention is not limited to this. Instead, the number can be any number within a technically possible range.

【0025】[0025]

【発明の効果】以上の如く、本発明のネットワークプリ
ンタの振り分け装置およびネットワークプリンタの振り
分け方法、並びに記録媒体によれば、印刷要求を受け付
けたことを条件として、印刷要求の対象となるネットワ
ークプリンタの状態が評価され、印刷要求の対象となる
ネットワークプリンタが印刷が可能であり、かつ印刷待
ち時間が所定の基準値以下であると判断された場合、ネ
ットワークプリンタに、印刷を実行させるための印刷デ
ータが送信され、印刷要求の対象となるネットワークプ
リンタが印刷が不可能である、または印刷待ち時間が所
定の基準値より長いと判断された場合、ネットワーク上
の他のネットワークプリンタについて印刷可能であるか
否かが判定され、印刷可能であると判定されたネットワ
ークプリンタのうち、印刷待ち時間が最も短いものが選
択され、選択されたネットワークプリンタに対して、印
刷を実行させるための印刷データが送信されるようにし
たので、クライアントマシンから所定のネットワークプ
リンタに対して印刷要求があった場合に、そのネットワ
ークプリンタの印刷待ち時間が所定の基準値以下のとき
にはそのネットワークプリンタにクライアントマシンか
らの印刷データを送信して印刷を行わせ、そのネットワ
ークプリンタの印刷待ち時間が所定の基準値より長い場
合、最も早く印刷可能な他のネットワークプリンタを自
動的に選択し、そのクライアントマシンからの印刷デー
タを選択された最適なネットワークプリンタに振り分け
ることができる。従って、ネットワークプリンタという
資源を効率的に使用して作業効率を上げることができ
る。
As described above, according to the network printer distribution device, the network printer distribution method, and the recording medium of the present invention, the condition of the network printer that is the target of the print request is satisfied on condition that the print request is received. When the status is evaluated, and it is determined that the network printer that is the target of the print request is capable of printing and the print waiting time is equal to or less than a predetermined reference value, the print data for causing the network printer to execute printing. Is transmitted, and if it is determined that the network printer that is the target of the print request cannot perform printing or that the print waiting time is longer than the predetermined reference value, whether printing is possible for another network printer on the network It is determined whether the network printer is printable or not. Since the printer with the shortest print waiting time is selected and print data for executing printing is transmitted to the selected network printer, a print request is sent from a client machine to a predetermined network printer. When the print waiting time of the network printer is equal to or less than a predetermined reference value, the print data is transmitted from the client machine to the network printer and printing is performed. If it is longer than the reference value, another network printer capable of printing the earliest can be automatically selected, and print data from the client machine can be distributed to the selected optimum network printer. Therefore, the work efficiency can be improved by using the resources of the network printer efficiently.

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

【図1】本発明のネットワークプリンタの自動振り分け
方法が適用されるネットワークシステムの一実施の形態
の構成例を示す図である。
FIG. 1 is a diagram illustrating a configuration example of an embodiment of a network system to which an automatic distribution method of a network printer according to the present invention is applied.

【図2】図1のネットワークプリンタ自動振り分け手段
2の詳細な構成例を示すブロック図である。
FIG. 2 is a block diagram showing a detailed configuration example of a network printer automatic distribution unit 2 of FIG. 1;

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

1 クライアントマシン 2 ネットワークプリンタ自動振り分け手段 3 ネットワーク 4 プリンタサーバマシン 5 ネットワークプリンタ 2A 印刷要求受付手段 2B プリンタ状態検査手段 2C 印刷データ送信手段 2D ネットワークプリンタ選択手段 2E 印刷結果送信手段 DESCRIPTION OF SYMBOLS 1 Client machine 2 Network printer automatic distribution means 3 Network 4 Printer server machine 5 Network printer 2A Print request reception means 2B Printer status inspection means 2C Print data transmission means 2D Network printer selection means 2E Print result transmission means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上のクライアントマシンか
らの印刷要求を、プリンタサーバマシンが持つネットワ
ークプリンタに振り分けるネットワークプリンタの振り
分け装置であって、 前記クライアントマシンが発する印刷要求を受け付ける
印刷要求受付手段と、 前記ネットワークプリンタの状態を評価するプリンタ状
態検査手段と、 前記ネットワークプリンタに印刷データを送信する印刷
データ送信手段と、 前記ネットワークプリンタのうちの所定のものを選択す
るネットワークプリンタ選択手段と、 前記ネットワークプリンタ選択手段によって選択された
前記ネットワークプリンタが印刷した印刷結果を取得
し、前記クライアントマシンに前記印刷結果を送信する
印刷結果送信手段とを備え、 前記プリンタ状態検査手段は、前記印刷要求受付手段が
前記印刷要求を受け付けたことを条件として、印刷要求
の対象となるネットワークプリンタの状態を評価し、 前記プリンタ状態検査手段が、印刷要求の対象となるネ
ットワークプリンタが印刷が可能であり、かつ印刷待ち
時間が所定の基準値以下であると判断した場合、前記印
刷データ送信手段は、前記ネットワークプリンタに、印
刷を実行させるための前記印刷データを送信し、 前記プリンタ状態検査手段が、印刷要求の対象となるネ
ットワークプリンタが印刷が不可能である、または、印
刷待ち時間が所定の基準値より長いと判断した場合、前
記ネットワークプリンタ選択手段は、前記ネットワーク
上の他の前記ネットワークプリンタについて印刷可能で
あるか否かを判定し、印刷可能であると判定された前記
ネットワークプリンタのうち、印刷待ち時間が最も短い
ものを選択し、前記印刷データ送信手段は、選択された
前記ネットワークプリンタに対して、印刷を実行させる
ための前記印刷データを送信することを特徴とするネッ
トワークプリンタの振り分け装置。
1. A network printer distribution device that distributes a print request from a client machine on a network to a network printer of a printer server machine, wherein the print request reception unit receives a print request issued by the client machine. Printer status inspection means for evaluating the status of the network printer; print data transmission means for transmitting print data to the network printer; network printer selection means for selecting a predetermined one of the network printers; Means for acquiring a print result printed by the network printer selected by the means, and transmitting the print result to the client machine, wherein the printer status inspection means comprises: On condition that the request accepting unit accepts the print request, the status of the network printer targeted for the print request is evaluated, and the printer status inspecting unit is capable of printing on the network printer targeted for the print request. And, when it is determined that the print waiting time is equal to or less than a predetermined reference value, the print data transmitting unit transmits the print data for causing the network printer to execute printing, If the network printer targeted for the print request determines that printing is not possible, or that the print waiting time is longer than a predetermined reference value, the network printer selecting means determines whether the other network printer on the network has It is determined whether or not printing is possible, and the network determined to be printable is determined. And a print data transmitting unit that transmits the print data for executing printing to the selected network printer. Network printer sorting device.
【請求項2】 前記プリンタ状態検査手段は、印刷要求
の対象となるネットワークプリンタが印刷が不可能であ
ると判断した場合、前記ネットワーク上の他の前記ネッ
トワークプリンタについて印刷可能であるか否かを判定
し、他の前記ネットワークプリンタのプリンタキューの
印刷データのデータ量に基づいて、印刷可能であると判
定された前記ネットワークプリンタのうち、印刷待ち時
間が最も短いものを選択することを特徴とする請求項1
に記載のネットワークプリンタの振り分け装置。
2. The printer status inspection unit, when determining that a network printer to be a target of a print request cannot perform printing, determines whether or not another network printer on the network can perform printing. Determining, based on the data amount of the print data in the printer queue of the other network printer, select the network printer which has the shortest print waiting time among the network printers determined to be printable. Claim 1
2. The network printer sorting device according to claim 1.
【請求項3】 前記プリンタ状態検査手段は、印刷要求
の対象となる前記ネットワークプリンタが接続された前
記プリンタサーバマシンの電源が入っているか否か、お
よび前記ネットワークプリンタが前記印刷データを印刷
するのに適しているか否かを検出し、前記プリンタサー
バマシンの電源が入っており、かつ、前記ネットワーク
プリンタが前記印刷データを印刷するのに適しているこ
とが検出された場合、前記ネットワークプリンタは前記
印刷データを印刷可能であると判断することを特徴とす
る請求項1に記載のネットワークプリンタの振り分け装
置。
3. The printer status inspection unit determines whether the power of the printer server machine connected to the network printer to which a print request is made is on, and whether the network printer prints the print data. If the printer server machine is powered on and it is detected that the network printer is suitable for printing the print data, the network printer 2. The network printer sorting device according to claim 1, wherein it is determined that the print data can be printed.
【請求項4】 ネットワーク上のクライアントマシンか
らの印刷要求を、プリンタサーバマシンが持つネットワ
ークプリンタに振り分けるネットワークプリンタの振り
分け方法であって、 前記クライアントマシンが発する印刷要求を受け付ける
印刷要求受付ステップと、 前記ネットワークプリンタの状態を評価するプリンタ状
態検査ステップと、 前記ネットワークプリンタに印刷データを送信する印刷
データ送信ステップと、 前記ネットワークプリンタのうちの所定のものを選択す
るネットワークプリンタ選択ステップと、 前記ネットワークプリンタ選択ステップにおいて選択さ
れた前記ネットワークプリンタが印刷した印刷結果を取
得し、前記クライアントマシンに前記印刷結果を送信す
る印刷結果送信ステップとを備え、 前記プリンタ状態検査ステップにおいては、前記印刷要
求受付ステップにおいて前記印刷要求を受け付けたこと
を条件として、印刷要求の対象となるネットワークプリ
ンタの状態が評価され、 前記プリンタ状態検査ステップにおいて、印刷要求の対
象となるネットワークプリンタが印刷が可能であり、か
つ印刷待ち時間が所定の基準値以下であると判断された
場合、前記印刷データ送信ステップにおいて、前記ネッ
トワークプリンタに、印刷を実行させるための前記印刷
データが送信され、 前記プリンタ状態検査ステップにおいて、印刷要求の対
象となるネットワークプリンタが印刷が不可能である、
または、印刷待ち時間が所定の基準値より長いと判断さ
れた場合、前記ネットワークプリンタ選択ステップにお
いて、前記ネットワーク上の他の前記ネットワークプリ
ンタについて印刷可能であるか否かが判定され、印刷可
能であると判定された前記ネットワークプリンタのう
ち、印刷待ち時間が最も短いものが選択され、前記印刷
データ送信ステップにおいて、選択された前記ネットワ
ークプリンタに対して、印刷を実行させるための前記印
刷データが送信されることを特徴とするネットワークプ
リンタの振り分け方法。
4. A method for distributing a print request from a client machine on a network to a network printer of a printer server machine, the method comprising: a print request receiving step for receiving a print request issued by the client machine; A printer status inspection step for evaluating the status of the network printer; a print data transmission step for transmitting print data to the network printer; a network printer selection step for selecting a predetermined one of the network printers; Obtaining a print result printed by the network printer selected in the step, and transmitting the print result to the client machine. In the status inspection step, the condition of the network printer that is the target of the print request is evaluated on condition that the print request is received in the print request reception step, and the status of the network printer that is the target of the print request is evaluated in the printer status inspection step. When it is determined that the network printer is capable of printing and the print waiting time is equal to or less than a predetermined reference value, the print data for causing the network printer to execute printing is transmitted in the print data transmitting step. In the printer status inspection step, the network printer that is the target of the print request cannot perform printing,
Alternatively, when it is determined that the print waiting time is longer than a predetermined reference value, it is determined in the network printer selecting step whether or not the other network printer on the network can perform printing, and printing is possible. Among the network printers determined as above, the one with the shortest print waiting time is selected, and in the print data transmitting step, the print data for executing printing is transmitted to the selected network printer. A method for sorting network printers.
【請求項5】 前記プリンタ状態検査ステップにおいて
は、印刷要求の対象となるネットワークプリンタが印刷
が不可能であると判断された場合、前記ネットワーク上
の他の前記ネットワークプリンタについて印刷可能であ
るか否かが判定され、他の前記ネットワークプリンタの
プリンタキューの印刷データのデータ量に基づいて、印
刷可能であると判定された前記ネットワークプリンタの
うち、印刷待ち時間が最も短いものが選択されることを
特徴とする請求項4に記載のネットワークプリンタの振
り分け方法。
5. In the printer status checking step, if it is determined that a network printer to be requested for printing cannot perform printing, it is determined whether printing is possible for another network printer on the network. Is determined, and based on the data amount of the print data in the printer queue of the other network printer, the network printer that is determined to be printable is selected as the one with the shortest print waiting time. 5. The method according to claim 4, wherein the network printer is distributed.
【請求項6】 請求項4に記載のネットワークプリンタ
の振り分け方法を実行可能なプログラムが記録されてい
る記録媒体。
6. A recording medium on which a program capable of executing the network printer sorting method according to claim 4 is recorded.
JP32374799A 1999-11-15 1999-11-15 Device and method for allocating network printer and recording medium Pending JP2001142663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32374799A JP2001142663A (en) 1999-11-15 1999-11-15 Device and method for allocating network printer and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32374799A JP2001142663A (en) 1999-11-15 1999-11-15 Device and method for allocating network printer and recording medium

Publications (1)

Publication Number Publication Date
JP2001142663A true JP2001142663A (en) 2001-05-25

Family

ID=18158179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32374799A Pending JP2001142663A (en) 1999-11-15 1999-11-15 Device and method for allocating network printer and recording medium

Country Status (1)

Country Link
JP (1) JP2001142663A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11237786B2 (en) 2019-08-26 2022-02-01 Toshiba Tec Kabushiki Kaisha Image forming apparatus, image forming system, and method of controlling image forming apparatus
CN114415989A (en) * 2021-12-02 2022-04-29 杭州衣科信息技术股份有限公司 Multi-client connection printing system for iOS system
CN117075828A (en) * 2023-10-13 2023-11-17 广州市大枣信息科技有限公司 Multichannel cloud printing system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11237786B2 (en) 2019-08-26 2022-02-01 Toshiba Tec Kabushiki Kaisha Image forming apparatus, image forming system, and method of controlling image forming apparatus
US11656822B2 (en) 2019-08-26 2023-05-23 Toshiba Tec Kabushiki Kaisha Image forming apparatus, image forming system, and method of controlling image forming apparatus
CN114415989A (en) * 2021-12-02 2022-04-29 杭州衣科信息技术股份有限公司 Multi-client connection printing system for iOS system
CN114415989B (en) * 2021-12-02 2023-09-22 杭州衣科信息技术股份有限公司 Multi-client connection printing system for iOS system
CN117075828A (en) * 2023-10-13 2023-11-17 广州市大枣信息科技有限公司 Multichannel cloud printing system
CN117075828B (en) * 2023-10-13 2024-02-09 广州市大枣信息科技有限公司 Multichannel cloud printing system

Similar Documents

Publication Publication Date Title
US8456665B2 (en) Methods and systems for printing error recovery
US7679770B2 (en) Methods and systems for print-processor-based printer status detection and print task distribution
JP4938712B2 (en) Print scheduling system and method
US7656547B2 (en) System and method for optimized routing of print jobs
JP2005078631A (en) Policy-driven system and method for querying device
US20070279675A1 (en) System and method for intelligent management of document processing jobs
US7548331B2 (en) Methods and systems for print system component-based remote printing
US20060250643A1 (en) Monitoring print status in distributed printing
US7239410B2 (en) Printing system, data processing system and method for confirming job process result
US8072628B2 (en) Printing apparatus, network device, printing control method, and printing control program capable of transmitting print image data to printing hardware prior to registration of print job
US7924447B2 (en) Method and system for workload balancing
US8270001B2 (en) Printing apparatus and canceling method
JP2001142663A (en) Device and method for allocating network printer and recording medium
JPH1021021A (en) Print system and print control method
JP2003288188A (en) Print job management device and print job management method
JPH08305512A (en) Printer, print system and print method using the print system
US8345288B2 (en) Image forming system and image forming apparatus
CN100450141C (en) Multi image forming method and system using job retention functions
JP2000010748A (en) Slip issuing device
JPH10187387A (en) Print system
US20070070392A1 (en) Processing requests for data sinks in a logical printer
US20040223179A1 (en) Network printing mode automation
JP2005333447A (en) Information processor
KR20050076794A (en) Method and apparatus managing device-job of a host
JP2002041267A (en) Printer