JPH09212313A - Print queue control method - Google Patents

Print queue control method

Info

Publication number
JPH09212313A
JPH09212313A JP8015022A JP1502296A JPH09212313A JP H09212313 A JPH09212313 A JP H09212313A JP 8015022 A JP8015022 A JP 8015022A JP 1502296 A JP1502296 A JP 1502296A JP H09212313 A JPH09212313 A JP H09212313A
Authority
JP
Japan
Prior art keywords
print
queue
work
name
job
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
JP8015022A
Other languages
Japanese (ja)
Inventor
孝義 ▲濱▼▲崎▼
Takayoshi Hamazaki
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8015022A priority Critical patent/JPH09212313A/en
Publication of JPH09212313A publication Critical patent/JPH09212313A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To decrease the frequency of form replacement and make the output time of each printer uniform by discriminating a form and automatically moving a print job. SOLUTION: A print queue information acquisition part 108 acquires a print queue name and a print job name from print queues 105-107, a print time estimation part 109 calculates the estimated time of every print job, and a print form name acquisition part 110 acquires the form name of every print job. And, a print queue state table 119 is generated in a storage part 118. Print time for every form name is calculated by using the form names in the table 119 as queue. The print job names, print estimated times, form names, and work print job No's are given to a work print job table 123 and stored in the decreasing order of the print total times for every form name and the print estimated times in the same forms.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、プリントキュー制
御方法に関し、特にプリンタ出力する用紙サイズ、用紙
種類によるプリントキュー制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print queue control method, and more particularly to a print queue control method based on a paper size and a paper type output from a printer.

【0002】[0002]

【従来の技術】従来、プリントキューの制御方法につい
ては、ネットワ−ク上に複数のプリントキュ−にかかる
負荷に偏りが生じた場合、印刷開始までの時間を算出し
最も印刷開始までの時間が短いプリントキュ−にプリン
トジョブを自動的に移動し、プリント出力環境を最適化
する方式が特開平05−265777に記載されてい
る。しかしながら、プリンタ出力する用紙の大きさや様
式といった用紙の種類が複数存在する場合に、用紙交換
が頻繁に必要になるという点については考慮されていな
かった。
2. Description of the Related Art Conventionally, regarding a print queue control method, when the load on a plurality of print queues is unevenly distributed on the network, the time until the start of printing is calculated and the time until the start of the most print is calculated. Japanese Patent Laid-Open No. 05-265777 discloses a method for automatically moving a print job to a short print queue to optimize the print output environment. However, it has not been taken into consideration that the paper needs to be frequently replaced when there are a plurality of paper types such as the size and style of the paper to be output to the printer.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術は、大き
さや様式の異なる用紙については考慮されていなかった
ため、用紙の異なる複数のプリントジョブが同一のプリ
ンタキューに登録され、用紙交換が頻発するため、用紙
交換を減少させ、且つ各プリンタの出力時間を平均化す
るという課題があった。本発明の目的は、このような課
題を解決しプリントジョブとプリンタの用紙情報を利用
して用紙交換回数を減少させ、且つ各プリンタの出力時
間を平均化させるプリンタ制御方法を提供することにあ
る。
Since the above-mentioned prior art does not consider papers of different sizes and styles, a plurality of print jobs having different papers are registered in the same printer queue, and papers are frequently replaced. However, there is a problem that paper replacement is reduced and the output time of each printer is averaged. SUMMARY OF THE INVENTION It is an object of the present invention to provide a printer control method that solves such a problem, reduces the number of times of paper replacement by using a print job and paper information of the printer, and averages the output time of each printer. .

【0004】[0004]

【課題を解決するための手段】上記従来技術の課題は、
複数のプリントキューから情報を取得するプリントキュ
ー情報取得部と、プリント出力時間を推定するプリント
時間推定部と、プリントジョブ内容から用紙名を取得す
るプリント用紙名取得部と、各種情報を出力するCRT
と各種指示を行うキーボードとプリントキューの最適化
をするプリント最適化部と各種情報を格納する記憶装置
とプリントキューの内容を変更するプリントキュー内容
変更部により解決できる。
[Means for Solving the Problems]
A print queue information acquisition unit that acquires information from a plurality of print queues, a print time estimation unit that estimates print output time, a print paper name acquisition unit that acquires a paper name from print job contents, and a CRT that outputs various information.
A keyboard for giving various instructions, a print optimization unit for optimizing the print queue, a storage device for storing various information, and a print queue content changing unit for changing the contents of the print queue can be solved.

【0005】[0005]

【発明の実施の形態】図1にこの発明を適用したホスト
コンピュータによる一実施例を示す。図1においてホス
トコンピュータは、1つ以上のプリンタ101,10
2,103とプリントジョブを作成するジョブ実行部1
04及び、プリントジョブを溜めるプリントキュー10
5,106,107、またプリントキューに登録された
情報を抽出するプリントキュー情報取得部108、プリ
ント時間を推定するプリント時間推定部109、プリン
トジョブから用紙名を取得するプリント用紙名取得部1
10、プリントキューの状態を最適化する計算及び制御
を行うプリントキュー最適化部116、プリントキュー
最適化部で最適化された結果をプリントキューへ反映す
るプリントキュー内容変更部117、各種テーブルを格
納する記憶装置118、また記憶装置の中に保持されプ
リントキューの状態を保持するプリントキュー状態テー
ブル119、各プリンタのプリントキュー名を保持する
プリンタ情報テーブル120、内部処理で一時使用する
変数を保持するワークテーブル121、プリントキュー
の最適化時に使用するワークキューテーブル122、ワ
ークプリントジョブテーブル123、プリントに関する
各種情報を表示するCRT124、プリントに関する各
種変更を実施する場合に用いるキーボード125から構
成される。図示の例では、プリンタが3台接続されてい
るが本発明ではプリンタ台数が2台以上であればよくプ
リンタ台数3台に限定されるものではない。
FIG. 1 shows an embodiment of a host computer to which the present invention is applied. In FIG. 1, the host computer is one or more printers 101, 10.
2, 103 and a job execution unit 1 for creating a print job
04 and a print queue 10 for storing print jobs
5, 106, 107, a print queue information acquisition unit 108 that extracts information registered in the print queue, a print time estimation unit 109 that estimates print time, and a print paper name acquisition unit 1 that acquires a paper name from a print job.
10, a print queue optimization unit 116 that performs calculation and control for optimizing the state of the print queue, a print queue content change unit 117 that reflects the result optimized by the print queue optimization unit to the print queue, and stores various tables The storage device 118, the print queue status table 119 held in the storage device and holding the print queue status, the printer information table 120 holding the print queue name of each printer, and the variables temporarily used in internal processing. A work table 121, a work queue table 122 used when optimizing a print queue, a work print job table 123, a CRT 124 that displays various types of print information, and a keyboard 125 used when performing various types of print changes. Although three printers are connected in the illustrated example, the number of printers is not limited to three in the present invention as long as the number of printers is two or more.

【0006】図2にプリントキューの状態を取得した結
果を格納するプリントキュー状態テーブルの構成を示
す。このテーブルはプリントキュー毎に作成されるテー
ブルであり、この例ではプリンタ1台分のプリントキュ
ー状態テーブルを示している。このテーブルは、プリン
トキューの名前201、プリントキューに登録されてい
る全プリントジョブの名前202、各プリントジョブ毎
のプリント推定時間203、各プリントジョブ毎の用紙
名204からなる。
FIG. 2 shows the configuration of a print queue status table that stores the result of acquiring the status of the print queue. This table is a table created for each print queue, and in this example, a print queue status table for one printer is shown. This table includes a print queue name 201, names of all print jobs registered in the print queue 202, estimated print time 203 for each print job, and paper name 204 for each print job.

【0007】図3にキーボード等の入力装置から入力さ
れたデータを格納するプリンタ情報テーブルの構成を示
す。このテーブルは、プリンタ情報テーブルのレコード
位置を示すプリンタ情報No301、プリントキューの
名前302、各プリントキューに対応した用紙名30
3、各プリントキューに対応して一時使用する情報とし
ての使用済フラグ304からなる。
FIG. 3 shows the structure of a printer information table that stores data input from an input device such as a keyboard. This table includes printer information No. 301 indicating the record position of the printer information table, print queue name 302, and paper name 30 corresponding to each print queue.
3. A used flag 304 as information that is temporarily used in correspondence with each print queue.

【0008】図4にプリントキュー最適化処理時に一時
的に使用するデータを格納するワークテーブルの構成を
示す。このテーブルは、計算によって算出されたシステ
ム全体のプリント時間を示す全プリント時間401、計
算によって算出されたシステム全体のプリントジョブデ
ータ数を示す全プリントジョブ数402、システム全体
のプリンタ台数を示す全プリンタ数403、プリンタ1
台当たりの平均プリント時間を示す平均プリント時間4
04、一時的にワークキューの前回合計プリント時間を
示す前回合計時間405、図6で示すワークキューテー
ブル122の現状レコード位置を示す現状ワークキュー
No406、図5で示すワークプリントジョブテーブル
のレコード位置を示す現状ワークジョブNo407、図
2で示したプリンタ情報テーブルのレコード位置を示す
現状プリント情報No408からなる。
FIG. 4 shows the structure of a work table for storing data temporarily used during the print queue optimization process. This table includes a total print time 401 that indicates the print time of the entire system calculated by calculation, a total print job number 402 that indicates the number of print job data of the entire system calculated by calculation, and a total printer that indicates the number of printers of the entire system. Number 403, printer 1
Average print time showing the average print time per machine 4
04, the previous total time 405 that temporarily indicates the previous total print time of the work queue, the current work queue No 406 that indicates the current record position of the work queue table 122 shown in FIG. 6, and the record position of the work print job table shown in FIG. The current work job No. 407 shown and the current print information No. 408 showing the record position of the printer information table shown in FIG.

【0009】図5にプリントキュー最適化処理時に一時
的に使用するプリントジョブを格納するワークプリトン
ジョブテーブルの構成を示す。このテーブルは、テーブ
ル内のレコード位置を示すワークジョブNo501、プ
リントジョブの名前502、各プリントジョブ毎のプリ
ント推定時間503、各プリントジョブ毎の用紙名50
4からなる。
FIG. 5 shows the structure of a work preton job table that stores print jobs that are temporarily used during print queue optimization processing. This table includes a work job No. 501 indicating a record position in the table, a print job name 502, an estimated print time 503 for each print job, and a paper name 50 for each print job.
Consists of four.

【0010】図6にプリントキュー最適化処理時に一時
的に使用するワークキューデータを格納するワークキュ
ーテーブル122の構成を示す。このテーブルは、ワー
クキューテーブルを識別するためのワークキューNo6
01、実際のプリントキューの名前を格納するプリント
キュー名602、ワークキューに登録されている全プリ
ントジョブの名前603、各プリントジョブ毎のプリン
ト推定時間604、各プリントジョブ毎の用紙名605
からなる。
FIG. 6 shows the structure of the work queue table 122 for storing work queue data temporarily used during the print queue optimization process. This table is work queue No. 6 for identifying the work queue table.
01, a print queue name 602 that stores the actual print queue name, names 603 of all print jobs registered in the work queue, estimated print time 604 for each print job, and paper name 605 for each print job.
Consists of

【0011】次に実施例として図1の構成例を基に図
7、図8、図9のフローチャートを使用して説明する。
この処理においては、まずステップ701でユーザは、
キーボード125からの最適化指示を行う。
An embodiment will be described below with reference to the flow charts of FIGS. 7, 8 and 9 based on the configuration example of FIG.
In this process, first, in step 701, the user
The optimization instruction is given from the keyboard 125.

【0012】この操作によりステップ702が実行さ
れ、プリントキュー情報取得部108により、プリント
キュー105,106,107からプリントキュー名及
びプリントジョブ名を取得し、プリント時間推定部10
9によりプリントキュー105,106,107から各
プリントジョブ毎の推定時間を算出し、プリント用紙名
取得部110によりプリントキュー105,106,1
07から各プリントジョブ毎の用紙名を取得し、記憶装
置118内のプリントキュー状態テーブル119を新規
作成する。ここで今回の実施例で使用するデータをプリ
ントキュー状態テーブル119のデータ構成として図1
0に示す。
By this operation, step 702 is executed, the print queue information acquisition unit 108 acquires the print queue name and the print job name from the print queues 105, 106, 107, and the print time estimation unit 10
9, the estimated time for each print job is calculated from the print queues 105, 106, 107, and the print paper name acquisition unit 110 calculates the print queues 105, 106, 1.
The paper name for each print job is acquired from 07, and a print queue status table 119 in the storage device 118 is newly created. Here, the data used in this embodiment is shown in FIG. 1 as the data structure of the print queue status table 119.
0 is shown.

【0013】図10は、プリントキュー名QUE01に
ジョブ名JOB7,JOB8の情報が登録されており、
プリントキュー名QUE02にジョブ名JOB4,JO
B5,JOB6の情報が登録されており、プリントキュ
ー名QUE03にジョブ名JOB1,JOB2,JOB
3の情報が登録されている状態を示している。
In FIG. 10, information of job names JOB7 and JOB8 is registered in the print queue name QUE01.
Job name JOB4, JOB to print queue name QUE02
Information of B5 and JOB6 is registered, and job names JOB1, JOB2 and JOB are stored in the print queue name QUE03.
3 shows a state in which information 3 is registered.

【0014】ステップ702の実行後、ステップ703
が実行され、CRTにプリンタ情報テーブル120作成
画面が表示されユーザに情報の入力を促す。そしてユー
ザは、プリンタ情報テーブル120の内、キュー名30
2とそれに対応する用紙名303をキーボード125か
ら入力を行い、入力が終了したらユーザは、キーボード
125からプリンタ情報テーブル120作成指示を行
い、プリント最適化部により記憶装置118内のプリン
タ情報テーブル120にプリンタ情報No301を連番
で付与したプリンタ情報テーブル120を作成する。こ
こで作成されたプリンタ情報テーブル120のデータ構
成例を図11に示す。
After executing step 702, step 703
Is executed, the printer information table 120 creation screen is displayed on the CRT, and the user is prompted to enter information. Then, the user selects the queue name 30 in the printer information table 120.
2 and the corresponding paper name 303 are input from the keyboard 125, and when the input is completed, the user gives an instruction to create the printer information table 120 from the keyboard 125, and the print optimization unit displays the printer information table 120 in the storage device 118. A printer information table 120 is created in which printer information No. 301 is assigned serially. FIG. 11 shows an example of the data structure of the printer information table 120 created here.

【0015】図11は、プリントキュー名QUE01に
用紙A、プリントキュー名QUE02に用紙B、プリン
トキュー名QUE03に用紙Dが登録されている状態を
示している。
FIG. 11 shows a state in which the sheet A is registered in the print queue name QUE01, the sheet B is registered in the print queue name QUE02, and the sheet D is registered in the print queue name QUE03.

【0016】ステップ703の実行後、ステップ704
が実行され、図10で示したプリントキュー状態テーブ
ルのプリント推定時間を全て合計した結果「1860」
を記憶装置118内のワークテーブル121の全プリン
ト時間401に格納する。次に図10で示したプリント
キュー状態テーブル119に登録されている全てのプリ
ントジョブ数を算出した結果「8」を記憶装置118内
のワークテーブル121の全プリントジョブ数402に
格納する。
After executing step 703, step 704
Is executed and all the estimated print times in the print queue status table shown in FIG.
Is stored in the total print time 401 of the work table 121 in the storage device 118. Next, the result “8” obtained by calculating the number of all print jobs registered in the print queue status table 119 shown in FIG. 10 is stored in the total print job number 402 of the work table 121 in the storage device 118.

【0017】次にステップ705が実行され、図11で
示したプリンタ情報テーブル120の全てのプリントキ
ュー数を算出した結果「3」を記憶装置118内のワー
クテーブル121の全プリンタ数403に格納する。
Next, step 705 is executed, and the result "3" obtained by calculating the number of all print queues of the printer information table 120 shown in FIG. 11 is stored in the total number of printers 403 of the work table 121 in the storage device 118. .

【0018】次にステップ706が実行され、記憶装置
118内のワークテーブル121に登録された全プリン
ト時間401から記憶装置118内のワークテーブル1
21に登録された全プリンタ数403を割った結果「6
20」を記憶装置118内のワークテーブル121の平
均プリント時間404に格納する。
Next, step 706 is executed, and from the total print time 401 registered in the work table 121 in the storage device 118 to the work table 1 in the storage device 118.
As a result of dividing the total number of printers 403 registered in 21 by “6
20 ”is stored in the average print time 404 of the work table 121 in the storage device 118.

【0019】次にステップ707が実行され、図10で
示したプリントキュー状態テーブル119の用紙名をキ
ーとして用紙名毎のプリント時間を算出し、記憶装置1
18内のワークプリントジョブテーブル123に用紙名
毎のプリント合計時間の降順で且つ、同一用紙内でもプ
リント推定時間の降順にプリントジョブ名、プリント推
定時間、用紙名及びワークプリントジョブNoを降順に
付与し格納する。ここで作成されたワークプリントジョ
ブテーブル123のデータ構成を図12に示す。
Next, step 707 is executed, the print time for each paper name is calculated using the paper name of the print queue status table 119 shown in FIG.
The print job name, the estimated print time, the paper name, and the work print job No. are assigned to the work print job table 123 in 18 in the descending order of the total print time for each paper name and in the descending order of the estimated print time even within the same paper. And store. The data structure of the work print job table 123 created here is shown in FIG.

【0020】図12は、用紙名毎のプリント合計時間降
順で且つ、その用紙名のプリントジョブの中でプリント
推定時間の降順で登録されている状態を示している。
FIG. 12 shows a state in which the print times are registered in descending order of the total print time for each paper name and in the descending order of the estimated print time in the print job of the paper name.

【0021】次に図8にキュー最適化処理方式の一例を
示す。これは図7の処理が完了後実行されるものであ
り、この例では、まず最初に初期処理としてステップ8
01が実行され、記憶装置118内のワークテーブル1
21の前回合計時間405に「0」、現状ワークキュー
No406に「1」、現状ワークプリントジョブNo4
07に「1」を格納する。次にステップ802が実行さ
れ、現状ワークキューNo406と全プリンタ数403
を比較して同一であれば最後のワークキューであるた
め、ワークプリントジョブテーブル123の現状ワーク
キューNo407以降の全レコードを現状ワークキュー
No406のワークキューへ登録し、図9のステップ9
01を実行する。また、現状ワークキューNo406と
全プリンタ数403を比較して同一でなければ、ステッ
プ803を実行する。ステップ803では、現状ワーク
プリントジョブNo407と全プリントジョブ数402
を比較して現状ワークプリントジョブNo407が大き
ければ、ワークプリントジョブテーブル123全てのレ
コードがワークキューテーブル122への振り分けが終
了しているためステップ901を実行する。また、現状
ワークプリントジョブNo407の方が小さいかまた
は、等しい場合は、ワークプリントジョブ123全ての
レコードの割り振りが終了していためステップ804を
実行する。ステップ804では、現状ワークキューNo
406のワークキューテーブル122へワークプリント
ジョブNo407で示されたワークプリントジョブテー
ブル123のプリントジョブを登録し、ステップ805
を実行する。ステップ805では、平均プリント時間4
04と現状ワークキューNo406内のプリントジョブ
全てのプリント推定時間の合計の差の絶対値と、平均プ
リント時間404と前回合計時間405の差の絶対値を
比較して、平均プリント時間404と前回合計時間40
5の差の絶対値の方が大きい場合は、ステップ806を
実行する。また、平均プリント時間404と前回合計時
間405の差の絶対値の方が小さいかまたは、等しい場
合は、ステップ807を実行する。ステップ805の実
行後にステップ806が実行された場合は、現状ワーク
キューNo406で示されたワークキューテーブル12
2内のプリントジョブ全てのプリント推定時間の合計を
前回合計時間405へ登録し、ワークプリントジョブN
o407に「1」を加え、ステップ803へ戻る。ステ
ップ805の実行後にステップ807が実行された場合
は、現状ワークキューNo406で示されたワークキュ
ーテーブル122内の最後のプリントジョブを削除し、
現状ワークキューNo406の値に「1」を加え、前回
合計時間405に「0」を格納し、ステップ803へ戻
る。
Next, FIG. 8 shows an example of the queue optimization processing method. This is executed after the processing of FIG. 7 is completed. In this example, first, as the initial processing, step 8 is executed.
01 is executed and the work table 1 in the storage device 118 is executed.
21 of the previous total time 405 is “0”, the current work queue No 406 is “1”, the current work print job No 4
“1” is stored in 07. Next, step 802 is executed, and the current work queue No. 406 and the total number of printers 403.
If they are the same, it means that the work queue is the last work queue. Therefore, all records after the current work queue No. 407 in the work print job table 123 are registered in the work queue of the current work queue No. 406, and step 9 in FIG.
Execute 01. If the current work queue No. 406 and the total number of printers 403 are compared and they are not the same, step 803 is executed. At step 803, the current work print job No. 407 and the total number of print jobs 402
If the current work print job No. 407 is larger than the current work print job No. 407, all the records of the work print job table 123 have been distributed to the work queue table 122, and thus step 901 is executed. If the current work print job No. 407 is smaller than or equal to the current work print job No. 407, step 804 is executed because the allocation of all records of the work print job 123 has been completed. At step 804, the current work queue No.
The print job of the work print job table 123 indicated by the work print job No. 407 is registered in the work queue table 122 of 406, and step 805 is performed.
Execute In step 805, the average print time is 4
04 and the current difference between the total estimated print time of all print jobs in the current work queue No 406 and the absolute difference between the average print time 404 and the previous total time 405 are compared, and the average print time 404 and the previous total time are compared. Time 40
If the absolute value of the difference of 5 is larger, step 806 is executed. If the absolute value of the difference between the average print time 404 and the previous total time 405 is smaller or equal, step 807 is executed. If step 806 is executed after execution of step 805, the work queue table 12 indicated by the current work queue No 406 is displayed.
The total estimated print time of all print jobs in 2 is registered in the previous total time 405, and the work print job N
"1" is added to o407, and the process returns to step 803. If step 807 is executed after execution of step 805, the last print job in the work queue table 122 indicated by the current work queue No 406 is deleted,
"1" is added to the value of the current work queue No. 406, "0" is stored in the previous total time 405, and the process returns to step 803.

【0022】図13は、本実施例でのデータ構成である
図10で示したプリントキュー状態テーブルと図12で
示したワークプリントジョブテーブル123を基に図8
のフローチャートを実行した場合のワークキューテーブ
ル122のデータ構成である。
FIG. 13 is a block diagram of FIG. 8 based on the print queue status table shown in FIG. 10 and the work print job table 123 shown in FIG. 12, which are data structures in this embodiment.
6 is a data configuration of the work queue table 122 when the flowchart of FIG.

【0023】次に図9における各ワークキューテーブル
122へ実際のプリントキュー名を関連付ける処理方式
の一例を示す。この例では、まず最初に初期処理として
ステップ901が実行され、記憶装置118内のワーク
テーブル121の現状ワークキューNo406に
「1」、現状プリント情報No408に「1」、プリン
タ情報テーブル120の全レコードの使用済フラグ30
4に「0」を格納する。
Next, an example of a processing method for associating an actual print queue name with each work queue table 122 in FIG. 9 is shown. In this example, first, step 901 is executed as an initial process, and the current work queue No 406 of the work table 121 in the storage device 118 is “1”, the current print information No 408 is “1”, and all the records of the printer information table 120 are stored. Used flag of 30
“0” is stored in 4.

【0024】次にステップ902が実行され、現状ワー
クキューNo406と全プリンタ数403を比較して現
状ワークキューNo406の方が大きい場合、ステップ
909を実行する。また、現状ワークキューNo406
と等しいかまたは、小さい場合、ステップ903を実行
する。
Next, step 902 is executed, the current work queue No. 406 is compared with the total number of printers 403, and if the current work queue No. 406 is larger, step 909 is executed. The current work queue No. 406
If it is equal to or smaller than, step 903 is executed.

【0025】ステップ903では、プリンタ情報テーブ
ル120の現状プリント情報No408で示されたプリ
ンタ情報No301のレコードの使用済フラグ304が
「1」であれば、既に該当プリントキューが他のワーク
キューへ割り当てられているため、ステップ904で現
状プリント情報No408に「1」を加えステップ90
5を実行する。また、使用済フラグが「0」の場合は、
ステップ907を実行する。
At step 903, if the used flag 304 of the record of the printer information No. 301 indicated by the current print information No. 408 of the printer information table 120 is "1", the corresponding print queue has already been assigned to another work queue. Therefore, in step 904, “1” is added to the current print information No 408 and step 90
Step 5 is executed. If the used flag is "0",
Step 907 is executed.

【0026】ステップ905では、現状プリント情報N
o408と全プリンタ数403を比較し現状プリント情
報No408の方が大きければステップ906で現状ワ
ークキューNo406に「1」を加えると共に現状プリ
ント情報No408に「1」を格納しステップ902に
戻る。また、現状プリント情報No408の方が小さい
かまたは、等しい場合は、ステップ903に戻る。ステ
ップ907では、現状ワークキューNo406で示され
たワークキューテーブル122の先頭用紙名605とプ
リンタ情報テーブル120の現状プリント情報No40
8で示されたプリンタ情報No301の用紙名304を
比較して同一であればステップ908で現状ワークキュ
ーNo406で示されたワークキューテーブル122の
プリントキュー名602にプリンタ情報テーブル120
のプリントキュー名303を格納し、プリンタ情報テー
ブル120の該当使用済フラグ304に「1」を格納
し、現状プリント情報No408に「1」を格納し、現
状ワークキューNo406に「1」を加えステップ90
2に戻る。また、現状ワークキューNo406で示され
たワークキューテーブル122の先頭用紙名605とプ
リンタ情報テーブル120の現状プリント情報No40
8で示されたプリンタ情報No301の用紙名304を
比較して同一でなければ、ステップ904へ戻る。
At step 905, the current print information N
If the current print information No. 408 is larger than the current print information No. 408, “1” is added to the current work queue No. 406, “1” is stored in the current print information No. 408, and the process returns to Step 902. If the current print information No. 408 is smaller or equal, the process returns to step 903. In step 907, the leading sheet name 605 of the work queue table 122 indicated by the current work queue No 406 and the current print information No 40 of the printer information table 120.
8 and the paper name 304 of the printer information No. 301 is compared, and if they are the same, in step 908, the printer information table 120 is added to the print queue name 602 of the work queue table 122 currently indicated by the work queue No. 406.
Print queue name 303 of the printer information table 120, “1” is stored in the corresponding used flag 304 of the printer information table 120, “1” is stored in the current print information No 408, and “1” is added to the current work queue No 406. 90
Return to 2. Further, the first sheet name 605 of the work queue table 122 indicated by the current work queue No 406 and the current print information No 40 of the printer information table 120
If the paper name 304 of the printer information No. 301 shown in 8 is compared and they are not the same, the process returns to step 904.

【0027】ステップ909では、ワークキューテーブ
ル122のうち、プリントキュー名602が登録されて
いないものに対し、プリンタ情報テーブル120のうち
使用済フラグが「0」のレコードのプリントキュー名3
02を昇順にワークキューテーブル122のプリントキ
ュー名602に格納し、ステップ910を実行する。ス
テップ910では、ワークキューテーブル122とプリ
ントキュー状態テーブル119を比較し変更分を、キュ
ー内容変更部117により、プリントキュー101,1
02,103を更新して終了する。
In step 909, the print queue name 602 of the work queue table 122 is not registered, whereas the print queue name 3 of the record in which the used flag is “0” in the printer information table 120.
02 is stored in the print queue name 602 of the work queue table 122 in ascending order, and step 910 is executed. In step 910, the work queue table 122 and the print queue status table 119 are compared with each other, and the changed amount is determined by the queue content changing unit 117.
02 and 103 are updated and the processing ends.

【0028】図14は、全ての処理が終了した後のプリ
ントキュー状態をプリントキュー状態テーブル119の
レコード形式で表したデータ構成である。
FIG. 14 is a data structure showing the print queue state after the completion of all the processes in the record format of the print queue state table 119.

【0029】[0029]

【発明の効果】以上のように本発明によれば、プリンタ
に設定されている用紙を識別し、プリントジョブを自動
的に移動するので用紙交換回数を減少させることができ
るという効果がある。
As described above, according to the present invention, since the paper set in the printer is identified and the print job is automatically moved, the number of paper replacement can be reduced.

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

【図1】本発明の一実施例を示すホストコンピュータ構
成図である。
FIG. 1 is a configuration diagram of a host computer showing an embodiment of the present invention.

【図2】プリンタキューから取得した情報を格納するプ
リントキュー状態テーブルの構成である。
FIG. 2 is a configuration of a print queue status table that stores information acquired from a printer queue.

【図3】キーボードから取得した情報を格納するプリン
タ情報テーブルの構成である。
FIG. 3 is a configuration of a printer information table that stores information acquired from a keyboard.

【図4】プリント最適化部で一時的に使用する情報を格
納するワークテーブルの構成である。
FIG. 4 is a configuration of a work table that stores information temporarily used by a print optimization unit.

【図5】プリント最適化部で一時的にプリントジョブの
情報を格納するワークプリントジョブテーブルの構成で
ある。
FIG. 5 is a configuration of a work print job table that temporarily stores print job information in the print optimization unit.

【図6】プリント最適化部で一時的にプリントキューの
情報を格納するワークキューテーブルの構成である。
FIG. 6 is a configuration of a work queue table that temporarily stores print queue information in a print optimization unit.

【図7】本発明の一実施例を示す各種情報を取得するフ
ローチャートである。
FIG. 7 is a flow chart for acquiring various information according to an embodiment of the present invention.

【図8】本発明の一実施例を示すプリントジョブの振り
分けを行うフローチャートである。
FIG. 8 is a flowchart illustrating distribution of print jobs according to an exemplary embodiment of the present invention.

【図9】本発明の一実施例を示すワークプリントキュー
と実際のプリントキューを関連付けるフローチャートで
ある。
FIG. 9 is a flowchart for associating a work print queue with an actual print queue according to an embodiment of the present invention.

【図10】本発明の一実施例で使用するプリントキュー
状態テーブルのデータ構成である。
FIG. 10 is a data structure of a print queue status table used in an embodiment of the present invention.

【図11】本発明の一実施例で使用するプリンタ情報テ
ーブルのデータ構成である。
FIG. 11 is a data structure of a printer information table used in an embodiment of the present invention.

【図12】本発明の一実施例で使用するワークプリント
ジョブテーブルのデータ構成である。
FIG. 12 is a data structure of a work print job table used in an embodiment of the present invention.

【図13】本発明の一実施例で使用するワークキューテ
ーブルのデータ構成である。
FIG. 13 is a data structure of a work queue table used in an embodiment of the present invention.

【図14】本発明の一実施例の結果で使用するプリント
キュー状態テーブルのデータ構成である。
FIG. 14 is a data configuration of a print queue status table used as a result of the embodiment of the invention.

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

101,102,103…プリンタ、 105,10
6,107…プリントキュー、104…ジョブ実行部、
108…プリントキュー情報取得部、109…プリン
ト時間推定部、110…プリント用紙名取得部、116
…プリント最適化部、 118…記憶装置、119…プ
リントキュー状態テーブル、 120…プリンタ情報
テーブル、 121…ワークテーブル、122…ワーク
キューテーブル、123…ワークプリントジョブテーブ
ル、124…CRT、125…キーボード。
101, 102, 103 ... Printer, 105, 10
6, 107 ... Print queue, 104 ... Job execution unit,
108 ... Print queue information acquisition unit, 109 ... Print time estimation unit, 110 ... Print paper name acquisition unit, 116
... print optimization unit, 118 ... storage device, 119 ... print queue status table, 120 ... printer information table, 121 ... work table, 122 ... work queue table, 123 ... work print job table, 124 ... CRT, 125 ... keyboard.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のプリンタが接続されたシステムにお
いて、複数のプリントキューから情報を取得するプリン
トキュー情報取得部と、プリント出力時間を推定するプ
リント時間推定部と、プリントジョブ内容から用紙名を
取得するプリント用紙名取得部と、各種情報を出力する
CRTと各種指示を行うキーボードとプリントキューの
最適化を行うプリント最適化部と各種情報を格納する記
憶装置とプリントキューの内容を変更するプリントキュ
ー内容変更部とを特徴とするプリントキュー制御方法。
1. In a system to which a plurality of printers are connected, a print queue information acquisition unit that acquires information from a plurality of print queues, a print time estimation unit that estimates a print output time, and a paper name from a print job content. A print paper name acquisition unit for acquiring, a CRT for outputting various information, a keyboard for performing various instructions, a print optimizing unit for optimizing the print queue, a storage device for storing various information, and a print for changing the contents of the print queue. A print queue control method characterized by a queue content changing unit.
JP8015022A 1996-01-31 1996-01-31 Print queue control method Pending JPH09212313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8015022A JPH09212313A (en) 1996-01-31 1996-01-31 Print queue control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8015022A JPH09212313A (en) 1996-01-31 1996-01-31 Print queue control method

Publications (1)

Publication Number Publication Date
JPH09212313A true JPH09212313A (en) 1997-08-15

Family

ID=11877231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8015022A Pending JPH09212313A (en) 1996-01-31 1996-01-31 Print queue control method

Country Status (1)

Country Link
JP (1) JPH09212313A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004330781A (en) * 2003-05-02 2004-11-25 Oce Technologies Bv Application method of printing system
CN111240611A (en) * 2020-01-16 2020-06-05 北京腾赋网络科技有限公司 Control method and system for parallel printing of multiple printers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004330781A (en) * 2003-05-02 2004-11-25 Oce Technologies Bv Application method of printing system
CN111240611A (en) * 2020-01-16 2020-06-05 北京腾赋网络科技有限公司 Control method and system for parallel printing of multiple printers

Similar Documents

Publication Publication Date Title
US6088120A (en) Printer managing apparatus, printer system and printer setting method
US8908196B2 (en) Print control device, print control method, and program thereof
US7159190B2 (en) Systems and methods for navigating and displaying print job exception information in a printer system
JPH04227537A (en) Print job controller
JP7408436B2 (en) Printing method
JP2022025582A (en) Information processing device and information processing program
JP3593865B2 (en) Print processing apparatus and print processing method
JP3697858B2 (en) Printing system, printing method, recording medium on which printing control program is recorded, data processing apparatus used in printing system, data processing method, and recording medium on which data processing control program is recorded
JPH09212313A (en) Print queue control method
JPH11194911A (en) Method and system for optical distribution printing and record medium for recording and programming the same method
JPH10157252A (en) Network printing system
JP2003140854A (en) Printing policy forming method for document, printing method for document, printing policy forming program for document and printing program for document
JP3791280B2 (en) Printer server
US10514875B2 (en) Printer controller arranged to control a print engine, method therefore, and computer program product
JP2803087B2 (en) Print processing device
JP7003402B2 (en) Information processing equipment and programs
JPH0916350A (en) Device and method for processing printing
JPH07314843A (en) Printing system, and print control method thereof
JP2006318055A (en) Printing controller, printing control method, program, and computer readable storage medium
JPH11224170A (en) Image data printing device and its printing control method
JP2022072647A (en) Print controller, printer, printing system, and program
JP2014151597A (en) Printing device and printing method
JP3827064B2 (en) Printer using device
JP2021060788A (en) Job management device
JP2000010831A (en) Data processing system using network