JPH04320520A - Computer device - Google Patents

Computer device

Info

Publication number
JPH04320520A
JPH04320520A JP3116940A JP11694091A JPH04320520A JP H04320520 A JPH04320520 A JP H04320520A JP 3116940 A JP3116940 A JP 3116940A JP 11694091 A JP11694091 A JP 11694091A JP H04320520 A JPH04320520 A JP H04320520A
Authority
JP
Japan
Prior art keywords
printing
computer
printing device
queue
print data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3116940A
Other languages
Japanese (ja)
Inventor
Keiji Fujimura
藤村 啓二
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP3116940A priority Critical patent/JPH04320520A/en
Publication of JPH04320520A publication Critical patent/JPH04320520A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To select a printing device which has a minimum printing wait time. CONSTITUTION:The computer device 1 which selects and uses a printing device 6 in a ready state among plural printing devices 6, 7, and 10 is equipped with queues 3, 4, and 9 which are independent among the printing devices 6, 7, and 10, whose printing wait times are calculated from the characteristics of the printing devices, transmission rates between computers, and the remaining amounts of print data in the queues to select the device having the shortest wait time.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、複数のコンピュータお
よび複数の印字装置を持つ計算機装置に利用する。特に
、自コンピュータに接続された印字装置と他コンピュー
タに接続された印字装置の中から印字待ち時間が最小に
なる装置を選択する手段に関する。
FIELD OF INDUSTRIAL APPLICATION The present invention is applied to a computer device having a plurality of computers and a plurality of printing devices. In particular, the present invention relates to means for selecting a device with the minimum print waiting time from among printing devices connected to one's own computer and printing devices connected to other computers.

【0002】0002

【従来の技術】従来例では、自動選択の対象の印字装置
の集まりに対して1つの待ち行列と印字装置選択手段と
を有している。利用者が印字要求を行うと、印字要求と
印字データは要求順に待ち行列に入れられる。印字装置
選択手段は印字データを持たない印字装置があると、待
ち行列から印字要求と印字データとを要求順に取り出し
、印字装置に印字データを送り出す。印字データを持た
ない印字装置が複数ある場合には、最も長い間使用され
ていない印字装置が選択される。このときに印字速度な
どの印字装置の特性は考慮されない。
2. Description of the Related Art In the prior art, one queue and printing device selection means are provided for a collection of printing devices to be automatically selected. When a user makes a print request, the print request and print data are placed in a queue in the order of request. If there is a printing device that does not have printing data, the printing device selection means takes out printing requests and printing data from the queue in order of request, and sends the printing data to the printing device. If there are multiple printing devices that do not have print data, the printing device that has not been used for the longest time is selected. At this time, characteristics of the printing device such as printing speed are not taken into account.

【0003】0003

【発明が解決しようとする課題】近年のコンピュータで
は、複数のコンピュータ間で印字装置を共有し、他のコ
ンピュータに接続されている印字装置への出力を行うこ
とができる。以後、この方式をリモートプリントと呼ぶ
。この方式は、利用者の印字要求と印字データとをシス
テムによって規定された他コンピュータに転送し、転送
先のコンピュータの待ち行列に投入することにより実現
される。そのため、自コンピュータに接続された印字装
置の制御とリモートプリントの制御とは完全に独立して
おり、いずれを使用するかは利用者の判断に委ねられて
いる問題点があった。また、このような従来例では印字
装置の特性を考慮せず、選択対象となる印字装置は全て
同一の特性を有していることを原則としている。そのた
めに印字速度が遅い印字装置を選択の対象に含めると、
印字データ量が同じであるのにもかかわらず要求順序が
後であった要求の印字が先に終了する現象が生じる問題
がある。
SUMMARY OF THE INVENTION In recent years, computers can share a printing device among a plurality of computers and output to printing devices connected to other computers. Hereinafter, this method will be referred to as remote printing. This method is realized by transferring a user's print request and print data to another computer specified by the system, and placing them in a queue of the destination computer. Therefore, there is a problem in that the control of the printing device connected to the own computer and the control of remote printing are completely independent, and it is up to the user to decide which one to use. Further, in such a conventional example, the characteristics of the printing device are not considered, and all printing devices to be selected have the same characteristics in principle. Therefore, if you include a printing device with a slow printing speed in your selection,
There is a problem in which printing of a request that is later in the request order is completed first even though the amount of print data is the same.

【0004】本発明は、このような欠点を除去するもの
で、複数の印字装置のなかから印字待ち時間が最小とな
る印字装置を選択して使用できる計算機装置を提供する
ことを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate such drawbacks, and to provide a computer device that can select and use a printing device with the minimum print waiting time from among a plurality of printing devices.

【0005】[0005]

【課題を解決するための手段】本発明は、複数個のコン
ピュータと、このコンピュータのひとつに選択されたひ
とつが使用される複数個の印字装置とを備えた計算機装
置において、上記印字装置の印字速度およびこの印字装
置とこの印字装置が接続されたコンピュータとの間の伝
送速度を含む特性を取得する第一手段と、印字要求を発
行したコンピュータと他コンピュータとの間のネットワ
ークの伝送速度を取得する第二手段と、上記印字要求を
発行したコンピュータ上の印字装置に対応する待ち行列
内の印字データ残量を取得する第三手段と、上記印字要
求を発行したコンピュータ上の上記他コンピュータに接
続された印字装置に対応する待ち行列内の印字データ残
量を取得する第四手段と、上記他コンピュータ上の印字
装置に対応する待ち行列内の印字データ残量を取得する
第五手段と、上記第一ないし第五手段で取得した情報に
基づき各印字装置の印字待ち予測時間を算出し、この算
出値を参照して印字待ち時間が最小となる印字装置を選
択する第六手段とを備えたことを特徴とする。
[Means for Solving the Problems] The present invention provides a computer device including a plurality of computers and a plurality of printing devices, one of which is used by one of the computers, in which printing of the printing device is performed. A first means of obtaining characteristics including speed and transmission speed between this printing device and a computer to which this printing device is connected, and obtaining the transmission speed of a network between the computer that issued the printing request and another computer. a second means for acquiring the remaining amount of print data in the queue corresponding to the printing device on the computer that issued the print request; and a third means that connects the computer that issued the print request to the other computer. a fourth means for acquiring the remaining amount of print data in the queue corresponding to the printing device on the other computer; and a fifth means for acquiring the remaining amount of print data in the queue corresponding to the printing device on the other computer; and a sixth means for calculating a predicted printing waiting time of each printing device based on the information acquired by the first to fifth means, and selecting a printing device with a minimum printing waiting time by referring to the calculated value. It is characterized by

【0006】[0006]

【作用】自コンピュータに接続された印字装置の特性、
その印字装置のための待ち行列内の印字データ残量、他
コンピュータに接続された印字装置の特性、自コンピュ
ータと他コンピュータとの間のネットワークの伝送速度
、他コンピュータに接続された印字装置のための自コン
ピュータ上の待ち行列内の印字データ残量および他コン
ピュータに接続された印字装置のための上記他コンピュ
ータ上の待ち行列内の印字データ残量を取得し、これら
の情報に基づき印字待ち時間を演算し、この時間が最小
になる印字装置を選択する。
[Effect] Characteristics of the printing device connected to the own computer,
The amount of remaining print data in the queue for that printing device, the characteristics of printing devices connected to other computers, the transmission speed of the network between your computer and other computers, and the printing devices connected to other computers. The remaining amount of print data in the queue on the own computer and the remaining amount of print data in the queue on the other computer for the printing device connected to the other computer are obtained, and the print waiting time is determined based on these information. is calculated and the printing device that minimizes this time is selected.

【0007】[0007]

【実施例】以下、本発明の一実施例について、図面を参
照して説明する。図1は本発明の第一実施例のシステム
構成図である。この実施例では自コンピュータに直結し
た2台の印字装置と、リモートプリント用の印字装置1
台の合計3台の印字装置を使用する。この実施例は、図
1に示すように、コンピュータ1および8と、このコン
ピュータ1および8のひとつに選択されたひとつが使用
される印字装置6、7および10とを備え、さらに、本
発明の特徴とする手段として、印字装置6、7および1
0の印字速度およびこの印字装置6、7および10とこ
の印字装置6、7および10が接続されたコンピュータ
1および8との間の伝送速度を含む特性を取得する第一
手段と、印字要求を発行したコンピュータと他コンピュ
ータとの間のネットワークの伝送速度を取得する第二手
段と、上記印字要求を発行したコンピュータ1上の印字
装置6および7に対応する待ち行列3および4内の印字
データ残量を取得する第三手段と、上記印字要求を発行
したコンピュータ1上の上記他コンピュータ8に接続さ
れた印字装置10に対応する待ち行列5内の印字データ
残量を取得する第四手段と、上記他コンピュータ8上の
印字装置10に対応する待ち行列9内の印字データ残量
を取得する第五手段と、上記第一ないし第五手段で取得
した情報に基づき印字装置6、7および10の各々の印
字待ち予測時間を算出し、この算出値を参照して印字待
ち時間が最小となる印字装置を選択する第五手段とを備
える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a system configuration diagram of a first embodiment of the present invention. In this embodiment, there are two printing devices directly connected to the own computer and a printing device 1 for remote printing.
A total of three printing devices are used. This embodiment, as shown in FIG. As a characteristic means, printing devices 6, 7 and 1
a first means for obtaining characteristics including a printing speed of 0 and a transmission speed between the printing devices 6, 7 and 10 and the computers 1 and 8 to which the printing devices 6, 7 and 10 are connected; A second means for acquiring the transmission speed of the network between the issuing computer and another computer, and remaining print data in the queues 3 and 4 corresponding to the printing devices 6 and 7 on the computer 1 that issued the print request. a third means for acquiring the amount; and a fourth means for acquiring the remaining amount of print data in the queue 5 corresponding to the printing device 10 connected to the other computer 8 on the computer 1 that issued the print request; a fifth means for acquiring the remaining amount of print data in the queue 9 corresponding to the printing device 10 on the other computer 8; and a fifth means for calculating each predicted printing waiting time and selecting a printing device with a minimum printing waiting time by referring to the calculated value.

【0008】次に、この実施例の動作を図2の流れ図を
参照して説明する。利用者からの印字要求を受け取ると
(ステップS1)、システムは各印字装置の特性を取得
する(ステップS2)。この実施例では印字装置の特性
として印字速度と接続されているコンピュータとの間の
伝送速度とを取得する。リモートプリントの場合にはコ
ンピュータ間の伝送速度も特性として取得する。次に、
各印字装置の待ち行列内の印字データ残量を取得する(
ステップS3)。印字装置10については、待ち行列5
内の印字データ残量と待ち行列9内の印字データ残量と
を併せて取得し、印字装置10の待ち行列内の印字デー
タ残量とする。取得した印字装置の特性と印字データ残
量を〔数1〕に示す評価式に適用し、各印字装置の印字
待ち予想時間を算出する(ステップS4)。この評価式
の各重み係数にはシステムの初期設定時に運用形態に適
した値を定める。算出した印字待ち予想時間が最小の印
字装置を選択する(ステップS5)。印字待ち予想時間
が最小の印字装置が複数ある場合には該当する印字装置
のうちの1台を任意に選択する。選択した印字装置の待
ち行列に印字要求と印字データを入れる(ステップS6
)。待ち行列5へ入れられた印字要求と印字データとは
、待ち行列9に転送される。選択した印字装置名を利用
者に通知する。待ち行列内の印字データは待ち行列の先
頭から順に取り出され、印字装置に送られる。
Next, the operation of this embodiment will be explained with reference to the flowchart of FIG. Upon receiving a printing request from a user (step S1), the system acquires the characteristics of each printing device (step S2). In this embodiment, the printing speed and the transmission speed between the printer and the connected computer are acquired as the characteristics of the printing device. In the case of remote printing, the transmission speed between computers is also acquired as a characteristic. next,
Obtain the remaining amount of print data in the queue of each printing device (
Step S3). For printing device 10, queue 5
The remaining amount of print data in the queue 9 and the remaining amount of print data in the queue 9 are both acquired and used as the remaining amount of print data in the queue of the printing device 10. The acquired characteristics of the printing device and the amount of remaining print data are applied to the evaluation formula shown in [Equation 1] to calculate the expected printing waiting time of each printing device (step S4). For each weighting coefficient in this evaluation formula, a value suitable for the operating mode is determined at the time of initial setting of the system. The printing device with the shortest calculated expected printing waiting time is selected (step S5). If there are a plurality of printing devices with the minimum expected printing waiting time, one of the corresponding printing devices is arbitrarily selected. The print request and print data are placed in the queue of the selected printing device (step S6).
). The print request and print data placed in the queue 5 are transferred to the queue 9. Notify the user of the selected printing device name. Print data in the queue is taken out in order from the head of the queue and sent to the printing device.

【0009】[0009]

【数1】 〔数2〕の評価式は、第二実施例で使用する印字待ち予
想時間の評価式である。ページプリンタと呼ばれる印字
装置は、一般に1ページ目の印字速度と2ページ目以後
の印字速度が異なっているので、〔数1〕に示す評価式
に代わって〔数2〕に示す評価式を用いる。
[Equation 1] The evaluation expression [Equation 2] is an evaluation expression for the expected printing waiting time used in the second embodiment. In printing devices called page printers, the printing speed for the first page and the printing speed for the second and subsequent pages are generally different, so the evaluation formula shown in [Math. 2] is used instead of the evaluation formula shown in [Math. 1]. .

【0010】0010

【数2】 図3は第三実施例のシステム構成図である。この実施例
では、自コンピュータに接続された印字装置15とコン
ピュータ18に接続された印字装置20とを使用する。 印字装置20はコンピュータ11とコンピュータ16と
が共にリモートプリンタ用の印字装置として使用する。 印字装置20の待ち行列内の印字データ残量は、待ち行
列14、待ち行列17と待ち行列19内の各印字データ
残量を併せたものを使用する。〔数1〕に示す評価式の
コンピュータ間の伝送速度としてネットワーク21とネ
ットワーク22との2つのうちの伝送速度の値が小さい
ものを使用する。
##EQU00002## FIG. 3 is a system configuration diagram of the third embodiment. In this embodiment, a printing device 15 connected to the own computer and a printing device 20 connected to the computer 18 are used. The printing device 20 is used by both the computer 11 and the computer 16 as a printing device for a remote printer. The remaining amount of print data in the queue of the printing device 20 is the sum of the remaining amounts of print data in the queues 14, 17, and 19. As the transmission speed between computers in the evaluation formula shown in [Equation 1], the one with the smaller transmission speed value of the two networks 21 and 22 is used.

【0011】[0011]

【発明の効果】本発明は、以上説明したように、自コン
ピュータに接続した印字装置だけでなく他コンピュータ
に接続されている印字装置を含めた複数の印字装置のな
かから最も早く印字を終了することができると予想され
る印字装置を自動的に選択するので、待ち時間が最小と
なる印字装置を利用者自らが選択することを不要にする
効果がある。また、各印字装置の印字速度などの特性を
取得したうえで使用する印字装置を選択するので、印字
速度が遅い印字装置も有効に活用することができる効果
がある。
[Effects of the Invention] As explained above, the present invention allows printing to be completed earliest among a plurality of printing devices, including printing devices connected to the own computer as well as printing devices connected to other computers. Since the printing device that is expected to be able to perform the printing is automatically selected, there is an effect that the user does not have to select the printing device with the minimum waiting time. Further, since the printing device to be used is selected after acquiring the characteristics such as the printing speed of each printing device, there is an effect that even printing devices with slow printing speeds can be effectively utilized.

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

【図1】本発明第一実施例の構成を示すブロック構成図
FIG. 1 is a block configuration diagram showing the configuration of a first embodiment of the present invention.

【図2】本発明実施例の処理内容を示す流れ図。FIG. 2 is a flowchart showing the processing contents of the embodiment of the present invention.

【図3】本発明第三実施例の構成を示すブロック構成図
FIG. 3 is a block configuration diagram showing the configuration of a third embodiment of the present invention.

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

1  コンピュータ 2  印字要求 3  待ち行列 4  待ち行列 5  待ち行列 6  印字装置 7  印字装置 8  コンピュータ 9  待ち行列 10  印字装置 11  コンピュータ 12  印字要求 13  待ち行列 14  待ち行列 15  印字装置 16  コンピュータ 17  待ち行列 18  コンピュータ 19  待ち行列 20  印字装置 21  ネットワーク 22  ネットワーク 1 Computer 2 Printing request 3 Queue 4 Queue 5 Queue 6 Printing device 7 Printing device 8 Computer 9. Queue 10 Printing device 11 Computer 12 Printing request 13. Queue 14 Queue 15 Printing device 16 Computer 17 Queue 18 Computer 19 Queue 20 Printing device 21 Network 22 Network

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数個のコンピュータと、このコンピ
ュータのひとつに選択されたひとつが使用される複数個
の印字装置とを備えた計算機装置において、上記印字装
置の印字速度およびこの印字装置とこの印字装置が接続
されたコンピュータとの間の伝送速度を含む特性を取得
する第一手段と、印字要求を発行したコンピュータと他
コンピュータとの間のネットワークの伝送速度を取得す
る第二手段と、上記印字要求を発行したコンピュータ上
の印字装置に対応する待ち行列内の印字データ残量を取
得する第三手段と、上記印字要求を発行したコンピュー
タ上の上記他コンピュータに接続された印字装置に対応
する待ち行列内の印字データ残量を取得する第四手段と
、上記他コンピュータ上の印字装置に対応する待ち行列
内の印字データ残量を取得する第五手段と、上記第一な
いし第五手段で取得した情報に基づき各印字装置の印字
待ち予測時間を算出し、この算出値を参照して印字待ち
時間が最小となる印字装置を選択する第六手段とを備え
たことを特徴とする計算機装置。
Claim 1: In a computer device comprising a plurality of computers and a plurality of printing devices, one of which is selected for one of the computers, the printing speed of the printing device, the printing speed of the printing device, and the printing speed of the printing device and the printing device. a first means for acquiring characteristics including the transmission speed between the device and the computer connected to the device; a second means for acquiring the transmission speed of the network between the computer that issued the print request and another computer; and the above-mentioned printing method. A third means for obtaining the remaining amount of print data in the queue corresponding to the printing device on the computer that issued the request, and a waiting section corresponding to the printing device connected to the other computer on the computer that issued the printing request. a fourth means for acquiring the remaining amount of print data in the queue; a fifth means for acquiring the remaining amount of print data in the queue corresponding to the printing device on the other computer; and acquisition by the first to fifth means above. 6. A computer device comprising: a sixth means for calculating a predicted printing waiting time of each printing device based on the information and selecting a printing device with a minimum printing waiting time by referring to the calculated value.
JP3116940A 1991-04-19 1991-04-19 Computer device Pending JPH04320520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3116940A JPH04320520A (en) 1991-04-19 1991-04-19 Computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3116940A JPH04320520A (en) 1991-04-19 1991-04-19 Computer device

Publications (1)

Publication Number Publication Date
JPH04320520A true JPH04320520A (en) 1992-11-11

Family

ID=14699482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3116940A Pending JPH04320520A (en) 1991-04-19 1991-04-19 Computer device

Country Status (1)

Country Link
JP (1) JPH04320520A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200215A (en) * 1993-12-01 1995-08-04 Internatl Business Mach Corp <Ibm> Selection method of printing device and data processing network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200215A (en) * 1993-12-01 1995-08-04 Internatl Business Mach Corp <Ibm> Selection method of printing device and data processing network

Similar Documents

Publication Publication Date Title
US7298505B2 (en) Printing apparatus, printing method, and printing system for printing password-protected and normal print jobs
CN1838713B (en) Printing system, printing method and printing apparatus
US11016498B2 (en) Control device, processing apparatus system, and recording medium
JP2000035870A (en) Print system and printer
JPH04320520A (en) Computer device
JPH064239A (en) Printer server system for lan
JP3438710B2 (en) Printer and recording medium recording program for controlling the printer
JPH0573232A (en) Multi-print control system
JPH09330190A (en) Network print system
JPH08258365A (en) Image outputting apparatus, image outputting system, image outputting method and information processor
JP3225711B2 (en) Job processing system and job processing execution device
JPH0364899B2 (en)
JPH10116165A (en) Network print system
JPS5987539A (en) Controlling system of printing device
JP2000020269A (en) Printer system
JPH08300743A (en) Printing processing system
JPS5829043A (en) Printer controlling system
JPH09190314A (en) Information processing method and information processor
JPH05250112A (en) Print output control system
JPH04233028A (en) Printer
JPH0926911A (en) Page information transfer processor
JPH0720763Y2 (en) Print control device
GB2349256A (en) Print job queue for arbitrary network topologies
JP2856956B2 (en) Print control method in print server
JPH0816344A (en) Printing system and distributed printing method for the same