JPH08305517A - Printer control system - Google Patents

Printer control system

Info

Publication number
JPH08305517A
JPH08305517A JP7129138A JP12913895A JPH08305517A JP H08305517 A JPH08305517 A JP H08305517A JP 7129138 A JP7129138 A JP 7129138A JP 12913895 A JP12913895 A JP 12913895A JP H08305517 A JPH08305517 A JP H08305517A
Authority
JP
Japan
Prior art keywords
print job
print
printer
client
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.)
Granted
Application number
JP7129138A
Other languages
Japanese (ja)
Other versions
JP2762959B2 (en
Inventor
Ikuko Takano
郁子 鷹野
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 JP7129138A priority Critical patent/JP2762959B2/en
Publication of JPH08305517A publication Critical patent/JPH08305517A/en
Application granted granted Critical
Publication of JP2762959B2 publication Critical patent/JP2762959B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE: To provide a printer control system adjusting the sequence of outputs automatically in response to the amount of output data. CONSTITUTION: This system is provided with a print job division section 22 dividing a print job, a spooler setting section 23 storing the print job to a spool file 24, a management table managing a print job stored in a spool file 23, and a printer control section 26 reading a print job from the spool file 24 to control a printer 30. When print jobs sent from one and same client 10 are consecutively registered, the spooler setting section 23 skips print jobs preceding to a first print job among consecutive print jobs to decide a print job sent from a different client as a print job to be executed next.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワークに接続さ
れた複数のクライアントからの印刷要求に応じてプリン
タによる印字出力を行うプリンタ制御方式に関し、特に
印刷の量に応じて出力の順番を調整するプリンタ制御方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer control system in which a printer prints out in response to a print request from a plurality of clients connected to a network, and particularly the order of output is adjusted according to the amount of printing. Printer control system

【0002】[0002]

【従来の技術】ワークステーションやパーソナルコンピ
ュータおよびその周辺装置等の端末装置を通信回線で接
続したネットワークにおいて、当該ネットワークに接続
されたプリンタを複数の端末装置(クライアント)で共
有する場合がある。従来におけるこのような場合のプリ
ンタの制御方式としては、プリンタがクライアントから
の印刷要求を受けつけた順に印字出力を実行するのが一
般的である。
2. Description of the Related Art In a network in which terminal devices such as workstations, personal computers and their peripheral devices are connected by communication lines, a printer connected to the network may be shared by a plurality of terminal devices (clients). As a conventional printer control method in such a case, it is general that the printer executes print output in the order in which the print request is received from the client.

【0003】また、ネットワークに複数のプリンタを接
続し、クライアントからプリンタを指定して印字出力し
たり、所定の方法で印刷要求を各プリンタに振り分けた
りする場合であっても、各プリンタにおいて印刷要求を
受け付けた順に印字出力を行うのは同様である。複数の
プリンタに印刷要求を振り分ける技術としては、公開特
許公報昭59−87539号「印字装置の管理方式」に
記載された技術がある。同公報には、複数のプリンタの
動作を管理する印字装置管理機構に、当該複数のプリン
タをグループ化し、印字装置の選択順位および出力量に
応じて最適な印字装置を選択する手段を備える構成が記
載されている。
Even when a plurality of printers are connected to the network and the client designates the printer to print out or distributes the print request to each printer by a predetermined method, the print request is issued by each printer. Similarly, the print output is performed in the order in which is received. As a technique for allocating a print request to a plurality of printers, there is a technique described in Japanese Patent Laid-Open Publication No. 59-87539 “Printer management system”. In this publication, a configuration is provided in which a plurality of printers are grouped in a printing device management mechanism that manages the operations of the plurality of printers, and a means for selecting an optimal printing device according to the order of selection of the printing devices and the output amount. Has been described.

【0004】しかし、上記のように常に印刷要求を受け
付けた順に印字出力を実行する場合、出力データのデー
タ量や重要度等のような印刷要求の受付順以外の情報は
なんら考慮されることはない。したがって、複数の印刷
要求が重なったときは、出力データのデータ量や内容の
如何に関わらず、先に受け付けた印刷要求によるデータ
の出力がすべて終了するまで他のデータの印字出力を実
行できないという不都合があった。
However, when the print output is always executed in the order in which the print requests are received as described above, information other than the order in which the print requests are received, such as the data amount of the output data and the importance, is never considered. Absent. Therefore, when multiple print requests overlap, regardless of the amount of data or the content of the output data, the print output of other data cannot be executed until the output of the data according to the previously received print request is completed. There was an inconvenience.

【0005】また従来、上記のような不都合を回避する
ため、複数のクライアントからの印刷要求が重なった場
合に出力順を指定する手段が提案されている。この種の
技術としては、公開特許公報平3−123953号「周
辺機器の共有化方式」に記載された技術がある。同公報
には、周辺機器を利用する際に当該利用の緊急度を設定
し、当該周辺機器において、利用要求に付加された緊急
度の高いものから優先して利用を許可する手段を備える
構成が記載されている。
In order to avoid the above-mentioned inconvenience, there has been proposed a means for designating an output order when print requests from a plurality of clients overlap. As this type of technology, there is a technology described in Japanese Patent Laid-Open No. 3-123953, “Peripheral Device Sharing Method”. This publication discloses a configuration including means for setting an urgency level of the usage when using a peripheral device and allowing the peripheral device to prioritize the usage of the urgency level added to the usage request. Has been described.

【0006】[0006]

【発明が解決しようとする課題】上述したように、従来
のネットワークにおけるプリンタ制御方式は、印刷要求
の受付順に印字出力を実行する場合、先に受け付けた印
刷要求による印字出力が終了するまで後から受け付けた
印刷要求による印字出力を実行することができない。こ
のため、所定のクライアントから大量のデータを印字出
力する印刷要求があった後、他のクライアントから少な
いデータを印字出力する印刷要求を受け付けた場合等に
は、先に受け付けた大量のデータの印字出力が終了する
まで後から受け付けた少量のデータの印字出力を待たな
ければならず、効率が悪いという欠点があった。
As described above, according to the conventional printer control method in the network, when the print output is executed in the order in which the print requests are received, the print output according to the print request received first is completed later. The print output cannot be executed according to the received print request. Therefore, if a print request to print out a large amount of data is received from a predetermined client, and then a print request to print out a small amount of data from another client is received, the previously received large amount of data is printed. There is a drawback that the efficiency is poor because it is necessary to wait for the printing output of a small amount of data received later until the output is completed.

【0007】また、印刷要求に緊急度を付加して当該緊
急度に応じて印字出力の実行順位を決定する場合でも、
印字出力しようとするデータの緊急度を利用者が判断し
て付加する手続きが必要であり、手間がかかるという欠
点があった。
Further, even when the urgency is added to the print request and the execution order of the print output is determined according to the urgency,
There is a drawback in that it requires a procedure for the user to judge and add the urgency of the data to be printed out, which is troublesome.

【0008】また、各クライアントからの印刷要求にい
ずれも高い緊急度が付加されていた場合、結局印刷要求
の受付順に印字出力を実行することとなり、十分な効率
の向上を図ることができないという欠点があった。
Further, if a high degree of urgency is added to the print request from each client, the print output will be executed in the order in which the print requests are received, and the efficiency cannot be sufficiently improved. was there.

【0009】本発明は、上記従来の欠点を解消し、出力
データの量に応じて自動的に出力の順番を調整するプリ
ンタ制御方式を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned drawbacks of the prior art and to provide a printer control system that automatically adjusts the output order according to the amount of output data.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、プリンタを接続したサーバと複数のクラ
イアントとをネットワークで接続し、該クライアントか
らの印刷要求に応じて前記プリンタの動作を制御するプ
リンタ制御方式において、前記サーバが、クライアント
から送られたプリントジョブをあらかじめ設定された所
定の大きさに分割するプリントジョブ分割手段と、プリ
ントジョブをスプールファイルに格納する格納手段と、
前記スプールファイルに格納されたプリントジョブを登
録して管理するプリントジョブ管理手段と、前記プリン
タ管理手段の管理情報を参照して前記スプールファイル
から順次プリントジョブを読み出し前記プリンタの動作
を制御するプリンタ制御手段とを備え、かつ前記プリン
トジョブ管理手段が、前記プリントジョブ分割手段によ
って分割されたプリントジョブを複数のプリントジョブ
として登録すると共に、同一クライアントから送られた
プリントジョブが連続して登録されている場合に、該連
続するプリントジョブのうち最初のプリントジョブを実
行に後続するプリントジョブを飛び越して、異なるクラ
イアントから送られたプリントジョブを次に実行するプ
リントジョブに決定する構成としている。
To achieve the above object, the present invention connects a server to which a printer is connected and a plurality of clients via a network, and operates the printer in response to a print request from the client. In the printer control method for controlling a print job, the server divides a print job sent from a client into preset predetermined sizes, storage means for storing the print job in a spool file, and
A print job management unit that registers and manages print jobs stored in the spool file, and a printer control that sequentially reads print jobs from the spool file by referring to management information of the printer management unit and controls operations of the printer. And the print job management unit registers the print jobs divided by the print job dividing unit as a plurality of print jobs, and the print jobs sent from the same client are continuously registered. In this case, the first print job among the continuous print jobs is skipped over the print jobs subsequent thereto, and the print job sent from a different client is determined as the print job to be executed next.

【0011】また、他の態様では、前記プリントジョブ
管理手段が、印刷中のプリントジョブと同一のクライア
ントから送られた連続するプリントジョブを飛び越して
異なるクライアントから送られたプリントジョブを次に
実行するプリントジョブに決定した場合に、印刷中のプ
リントジョブに関するプリント情報を後続の飛び越され
たプリントジョブに関するプリント情報として格納する
格納手段を備え、前記プリンタ制御手段が、前記格納手
段に実行するプリントジョブに関するプリント情報が格
納されている場合に、当該プリント情報を読み出してプ
リンタの設定を制御する構成としている。
In another aspect, the print job management means skips a continuous print job sent from the same client as the print job being printed and then executes a print job sent from a different client. When the print job is determined, the storage unit stores the print information regarding the print job being printed as the print information regarding the subsequent skipped print job, and the print control unit executes the print job in the storage unit. When print information regarding the printer is stored, the print information is read to control printer settings.

【0012】また、他の態様では、前記プリントジョブ
管理手段が、実行の終了したプリントジョブの登録を削
除する構成としている。
In another aspect, the print job management means deletes the registration of the print job that has been executed.

【0013】また、他の態様では、前記プリントジョブ
管理手段が、後ろに同一クライアントから送られたプリ
ントジョブしかないプリントジョブを実行したとき、最
初に登録されているプリントジョブをを次に実行するプ
リントジョブに決定する構成としている。
Further, in another aspect, when the print job management means executes a print job which has only print jobs sent later from the same client, the print job registered first is executed next. The print job is determined.

【0014】[0014]

【作 用】本発明によれば、プリントジョブ分割手段
が、プリントジョブをあらかじめ設定された所定の印刷
容量の大きさごとに分割し、プリントジョブ管理手段
が、分割されたプリントジョブを複数のプリントジョブ
として管理し、かつ同一クライアントからのプリントジ
ョブが連続しているときは先頭のプリントジョブ以外の
プリントジョブの実行を飛び越して異なるクライアント
からのプリントジョブの実行を優先するように設定し
て、プリンタの動作を制御することができる。
According to the present invention, the print job dividing unit divides the print job into preset print capacity sizes, and the print job managing unit divides the divided print jobs into a plurality of prints. When the print jobs are managed as jobs, and when print jobs from the same client are continuous, skip print job executions other than the first print job, and set print job executions from different clients to be prioritized. Can be controlled.

【0015】[0015]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は、本発明の1実施例によるプリンタ
制御方式の構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a printer control system according to an embodiment of the present invention.

【0016】図示のように、本実施例のプリンタ制御方
式は、ネットワークに接続されたサーバコンピュータ2
0(以下、サーバ20と称す)によって実現される。サ
ーバ20には、プリンタ30が接続されている。また、
ネットワークには複数のクライアントコンピュータ10
(以下、クライアント10と称す)が接続されている。
なお、図では、サーバ20にプリンタ30が1台のみ接
続されているが、複数のプリンタ30が接続されていて
もよい。以下では、簡単のため、プリンタ30が1台の
みサーバ20に接続されているものとして説明する。
As shown in the figure, the printer control system according to the present embodiment has a server computer 2 connected to a network.
0 (hereinafter, referred to as server 20). A printer 30 is connected to the server 20. Also,
Multiple client computers 10 on the network
(Hereinafter, referred to as client 10) is connected.
Although only one printer 30 is connected to the server 20 in the figure, a plurality of printers 30 may be connected. In the following description, for simplicity, only one printer 30 is connected to the server 20.

【0017】サーバ20は、図1に示すように、印刷要
求による印刷ページ数を検査する印刷容量検査部21
と、要求された印刷量に応じてプリントジョブを分割す
るプリントジョブ分割部22と、印刷処理に関する情報
を格納するスプールファイル24と、スプールファイル
24を生成するスプーラ設定部23と、スプールファイ
ル24で管理されるプリント情報を格納するプリント情
報格納部26と、プリンタ30の動作を制御するプリン
ト制御部25とを備える。
As shown in FIG. 1, the server 20 has a print capacity inspection unit 21 for inspecting the number of pages printed by a print request.
A print job dividing unit 22 that divides a print job according to a requested print amount, a spool file 24 that stores information regarding print processing, a spooler setting unit 23 that generates the spool file 24, and a spool file 24. A print information storage unit 26 that stores managed print information and a print control unit 25 that controls the operation of the printer 30 are provided.

【0018】印刷容量検査部21は、プログラム制御さ
れたCPUとRAM等のメモリとで実現され、クライア
ントから送られた印刷要求のパケットを入力し、要求さ
れている印刷量を検査する。印刷容量検査部21には、
あらかじめ印刷容量(ページ数等)を設定して記憶させ
てある。そして、クライアントからの印刷要求パケット
に含まれている印刷ページ数の情報を検出して設定され
た印刷容量と比較する。要求されている印刷ページ数が
設定された印刷容量よりも大きいときは印刷要求パケッ
トをプリントジョブ分割部22に送り、要求されている
印刷ページ数が設定された印刷容量以下であるときは印
刷要求パケットをスプーラ設定部24に送る。
The print capacity checking unit 21 is realized by a program-controlled CPU and a memory such as a RAM, receives a print request packet sent from a client, and inspects the requested print amount. In the print capacity inspection unit 21,
The print capacity (number of pages, etc.) is set and stored in advance. Then, the information on the number of print pages included in the print request packet from the client is detected and compared with the set print capacity. When the requested number of print pages is larger than the set print capacity, a print request packet is sent to the print job dividing unit 22, and when the requested number of print pages is less than or equal to the set print capacity, the print request is issued. The packet is sent to the spooler setting unit 24.

【0019】プリントジョブ分割部22は、プログラム
制御されたCPUで実現され、印刷容量検査部21から
パケットを受け取り、プリントジョブを印刷容量検査部
21で設定されている印刷容量ごとに機械的に分割す
る。そして、分割した各プリントジョブをスプーラ設定
部24に送る。
The print job dividing unit 22 is realized by a program-controlled CPU, receives packets from the print capacity inspection unit 21, and mechanically divides the print job into print capacities set by the print capacity inspection unit 21. To do. Then, each divided print job is sent to the spooler setting unit 24.

【0020】スプーラ設定部23は、プログラム制御さ
れたCPUとRAM等のメモリとで実現され、印刷容量
検査部21またはプリントジョブ分割部22からプリン
トジョブに基づいてプリンタ制御のための管理テーブル
231を生成する。管理テーブル231は、各プリント
ジョブごとに、当該プリントジョブを送信したクライア
ントのクライアント名を登録し、かつ、印刷処理の進行
状態を示すジョブステータスと、印字出力時のプリンタ
設定等の諸情報の有無を示すプリント情報とを設定項目
として有する。管理テーブル231の例を図4、図5に
示す。スプーラ設定部23は、管理テーブル231を生
成した後、プリントジョブをスプールファイル24に格
納する。生成された管理テーブル231は、プリントジ
ョブの実行状態の進行に応じて逐次更新される。
The spooler setting unit 23 is realized by a program-controlled CPU and a memory such as a RAM, and a management table 231 for printer control based on a print job is output from the print capacity inspection unit 21 or the print job dividing unit 22. To generate. The management table 231 registers, for each print job, the client name of the client that has transmitted the print job, and the presence or absence of various information such as the job status indicating the progress status of the print processing and printer settings at the time of print output. And print information indicating that the item is a setting item. An example of the management table 231 is shown in FIGS. After generating the management table 231, the spooler setting unit 23 stores the print job in the spool file 24. The generated management table 231 is sequentially updated as the execution status of the print job progresses.

【0021】スプールファイル24は、磁気ディスク装
置等の記憶装置で実現され、入力したプリントジョブを
一時的に格納し、印刷処理の進行状態に応じて順次格納
されているプリントジョブを出力する。
The spool file 24 is realized by a storage device such as a magnetic disk device, temporarily stores an input print job, and outputs the sequentially stored print jobs according to the progress of the printing process.

【0022】プリント情報格納部25は、RAM等のメ
モリで実現され、用紙サイズやフォント等のプリンタ設
定や印刷するページの値等の情報を各プリントジョブご
とにプリント情報として格納する。格納されるプリント
情報は、管理テーブル231によって管理される。
The print information storage unit 25 is realized by a memory such as a RAM, and stores information such as printer settings such as paper size and font and page value to be printed as print information for each print job. The print information stored is managed by the management table 231.

【0023】プリンタ制御部26は、プログラム制御さ
れたCPUで実現され、スプーラ設定部23の管理テー
ブル231と、スプールファイル24のプリントジョブ
とにしたがってプリンタ30を動作させ、印刷データの
印字出力を実行する。プリンタ制御部26は、原則とし
てスプールファイル24に登録された順にプリントジョ
ブを実行するが、同一のクライアントからのプリントジ
ョブが連続しているときは、異なるクライアントからの
プリントジョブを優先して実行する。
The printer control unit 26 is realized by a program-controlled CPU, operates the printer 30 according to the management table 231 of the spooler setting unit 23 and the print job of the spool file 24, and prints out print data. To do. As a general rule, the printer control unit 26 executes print jobs in the order registered in the spool file 24, but when print jobs from the same client are consecutive, priority is given to print jobs from different clients. .

【0024】すなわち、プリントジョブ分割部22によ
って分割されたプリントジョブがある場合、当該分割さ
れたプリントジョブを連続して実行するのではなく、分
割されたプリントジョブの1つを実行した後、当該プリ
ントジョブの登録後に登録された他のクライアントから
のプリントジョブのうち最先に登録されたものを実行す
る。このようにしてクライアントの異なるプリントジョ
ブを順次実行した後、再び当該プリントジョブの残りの
1つを実行する。プリントジョブが3つ以上に分割され
ているときは、この動作を繰り返す。
That is, when there is a print job divided by the print job dividing unit 22, the divided print job is not continuously executed but one of the divided print jobs is executed and then The print job registered from the other clients after the print job is registered is executed first. After the print jobs of different clients are sequentially executed in this manner, the remaining one of the print jobs is executed again. This operation is repeated when the print job is divided into three or more.

【0025】なお、クライアントを比較するのは、印刷
中のプリントジョブのクライアントとその後に登録され
ているプリントジョブのクライアントである。したがっ
て、所定のクライアントからのプリントジョブの次に異
なるクライアントからのプリントジョブが登録されてお
り、さらにその次に当該所定のクライアントからのプリ
ントジョブが登録されているときは、当該所定のクライ
アントからのプリントジョブを飛び越すことはない。
The client is compared with the client of the print job being printed and the client of the print job registered thereafter. Therefore, when a print job from a different client is registered next to a print job from a predetermined client, and further a print job from the predetermined client is registered next, a print job from the predetermined client is registered. Never skip a print job.

【0026】次に、図2、図3のフローチャートおよび
図4、図5を参照して本実施例の動作について説明す
る。ネットワーク上のクライアント10でプリント要求
処理が実行されると、パケットの形式でプリントジョブ
がサーバ20へ送信される。パケットには印刷データと
クライアント名や印刷ページ数等の諸情報が含まれる。
サーバ20がプリントジョブを受信すると(ステップ2
01)、まず印刷容量検査部21が、プリントジョブか
ら印刷データの印刷ページ数を検出して、あらかじめ設
定されている印刷容量と比較する(ステップ202、2
03)。
Next, the operation of this embodiment will be described with reference to the flowcharts of FIGS. 2 and 3 and FIGS. 4 and 5. When the print request process is executed by the client 10 on the network, the print job is transmitted to the server 20 in the form of a packet. The packet includes print data and various information such as the client name and the number of printed pages.
When the server 20 receives the print job (step 2)
01), first, the print capacity inspection unit 21 detects the number of print pages of the print data from the print job and compares it with a preset print capacity (steps 202, 2).
03).

【0027】プリントジョブから検出した印刷ページ数
が印刷容量検査部21に設定されている印刷容量よりも
小さいときは、当該プリントジョブはスプーラ設定部2
3に送られる。そして、スプーラ設定部23により、管
理テーブル231にクライアント名が登録され、ジョブ
ステータスとプリント情報とが設定される(ステップ2
04)。ここで、初期的には、ジョブステータスは保留
中に設定され、プリント情報はなにも格納されていない
ことを示すように設定される。その後、プリントジョブ
はスプーラ設定部23によりスプールファイル24に格
納される(ステップ205)。
When the number of print pages detected from the print job is smaller than the print capacity set in the print capacity inspection unit 21, the print job is processed by the spooler setting unit 2
Sent to 3. Then, the spooler setting unit 23 registers the client name in the management table 231, and sets the job status and print information (step 2).
04). Here, initially, the job status is set to pending and the print information is set to indicate that no print information is stored. After that, the print job is stored in the spool file 24 by the spooler setting unit 23 (step 205).

【0028】プリントジョブから検出した印刷ページ数
が印刷容量検査部21に設定されている印刷容量よりも
大きいときは、当該プリントジョブはプリントジョブ分
割部22へ送られる。そして、当該プリントジョブが印
刷容量検査部21に設定されている印刷容量の大きさご
とに分割される(ステップ206)。分割された各プリ
ントジョブはスプーラ設定部23に送られて、それぞれ
管理テーブル231に登録され(ステップ204)、ス
プールファイル24に格納される(ステップ205)。
When the number of print pages detected from the print job is larger than the print capacity set in the print capacity inspection unit 21, the print job is sent to the print job dividing unit 22. Then, the print job is divided according to the size of the print capacity set in the print capacity inspection unit 21 (step 206). Each divided print job is sent to the spooler setting unit 23, registered in the management table 231 (step 204), and stored in the spool file 24 (step 205).

【0029】以上のようにして作成された管理テーブル
231の例を図4に示す。同図は、クライアント「xx
x」、「yyy」、「zzz」の3者からプリントジョ
ブを入力し、管理テーブル231に登録した状態を示
す。図において、登録の順番は「xxx」、「yy
y」、「zzz」の順である。プリントジョブの実行
は、先に登録されたもの(図の上方に登録されたもの)
から順に行われる。また、クライアント「xxx」とク
ライアント「zzz」からのプリントジョブは、プリン
トジョブ分割部22によって2つに分割されて登録され
ている。また、図示のように、最初に実行されるクライ
アント「xxx」の1番目のプリントジョブについて
は、実行開始を待つ必要がないので、ジョブステータス
が印刷中に設定される。
An example of the management table 231 created as described above is shown in FIG. In the figure, the client "xx
A state in which a print job is input from the three persons of “x”, “yyy”, and “zzz” and registered in the management table 231 is shown. In the figure, the order of registration is “xxx”, “yy”
The order is “y” and “zzz”. The execution of the print job is the one registered earlier (the one registered above in the figure).
It is performed in order from. The print jobs from the client “xxx” and the client “zzz” are divided into two by the print job dividing unit 22 and registered. Further, as shown in the figure, for the first print job of the client “xxx” that is executed first, there is no need to wait for the start of execution, so the job status is set to printing.

【0030】次に、スプールファイル24にプリントジ
ョブがスプールされると、プリンタ制御部26により、
所定のタイミングでプリントジョブが実行され、プリン
タ30により印刷データの印字出力が行われる。そし
て、スプーラ設定部23により、次に実行するプリント
ジョブの決定と管理テーブル231の更新が行われる。
このときの動作を図3のフローチャートに示す。
Next, when the print job is spooled in the spool file 24, the printer control unit 26
The print job is executed at a predetermined timing, and the printer 30 prints out the print data. Then, the spooler setting unit 23 determines the print job to be executed next and updates the management table 231.
The operation at this time is shown in the flowchart of FIG.

【0031】最初のプリントジョブにしたがって印字処
理が開始されると(ステップ301)、スプーラ設定部
23は、まずジョブステータスが印刷中となっているプ
リントジョブがスプールファイル24の最後に登録され
たプリントジョブか否かを判断する(ステップ30
2)。そして、最後に登録されたプリントジョブでない
ときは、当該プリントジョブのクライアント名と次に登
録されているプリントジョブのクライアント名とを比較
する(ステップ303)。両プリントジョブのクライア
ント名が同一であるときは、さらにその次に登録されて
いるプリントジョブを検索し(ステップ304、30
5)、そのクライアント名と印刷中のプリントジョブの
クライアント名とを比較する(ステップ303)。
When the printing process is started according to the first print job (step 301), the spooler setting section 23 first prints the print job whose job status is printing at the end of the spool file 24. It is determined whether the job is a job (step 30)
2). If it is not the last registered print job, the client name of the print job is compared with the client name of the next registered print job (step 303). If the client names of both print jobs are the same, the print job registered next is searched (steps 304, 30).
5) The client name is compared with the client name of the print job being printed (step 303).

【0032】クライアント名の比較を繰り返し、印刷中
のプリントジョブのクライアント名と異なるクライアン
ト名のプリントジョブを検出した場合、当該プリントジ
ョブを次に実行するプリントジョブに決定する(ステッ
プ306)。そして、印刷中のプリントジョブの印字出
力が終了した後、次に実行するプリントジョブのジョブ
ステータスを保留から印刷中に変更する(ステップ30
7、308)。
When the client name comparison is repeated and a print job having a client name different from the client name of the print job being printed is detected, the print job is determined to be the next print job to be executed (step 306). Then, after the print output of the print job being printed is completed, the job status of the print job to be executed next is changed from hold to printing (step 30).
7, 308).

【0033】印字出力が終了したプリントジョブについ
ては、その登録を管理テーブル231から削除する。
(ステップ309)。ここで、印刷中のプリントジョブ
の直後にクライアントが同一のプリントジョブが登録さ
れており、これを飛び越えて異なるクライアントのプリ
ントジョブを次に実行するプリントジョブとして選択し
た場合、スプーラ設定部23は、印刷の終了したプリン
トジョブのプリント情報をプリント情報格納部25に格
納し、管理テーブル231における飛び越されたプリン
トジョブのプリント情報の項目を「有り」に設定する
(ステップ310、311)。
The registration of the print job for which printing has been completed is deleted from the management table 231.
(Step 309). Here, when the same print job is registered in the client immediately after the print job being printed and the print job of another client is skipped and selected as the print job to be executed next, the spooler setting unit 23 The print information of the print job for which printing has been completed is stored in the print information storage unit 25, and the item of the print information of the skipped print job in the management table 231 is set to "present" (steps 310 and 311).

【0034】図4の状態からクライアント「xxx」の
1番目のプリントジョブが実行され、スプーラ設定部2
3によって管理テーブル231が更新された状態を図5
に示す。ここでは、クライアント「xxx」の1番目の
プリントジョブの直後にクライアント「xxx」の2番
目のプリントジョブが登録されているため、これを飛び
越えてクライアント「yyy」のプリントジョブが次に
実行されるプリントジョブに決定される。そして、クラ
イアント「xxx」の1番目のプリントジョブが削除さ
れる。また、クライアント「xxx」の2番目のプリン
トジョブを飛び越えているため、そのプリント情報の項
目が「有り」に設定される。
From the state of FIG. 4, the first print job of the client "xxx" is executed, and the spooler setting unit 2
5 shows the state in which the management table 231 is updated by
Shown in Here, since the second print job of the client “xxx” is registered immediately after the first print job of the client “xxx”, the print job of the client “yyy” is executed next by skipping this. Determined by the print job. Then, the first print job of the client “xxx” is deleted. Further, since the second print job of the client “xxx” is skipped, the item of the print information is set to “present”.

【0035】プリンタ制御部26は、以上のようにして
更新された管理テーブル231を参照し、次に実行する
プリントジョブ(保留の解除されたプリントジョブ)を
スプールファイル24から読み出し、プリンタ30を設
定して印字出力を実行する(ステップ312)。
The printer control unit 26 refers to the management table 231 updated as described above, reads the print job to be executed next (the print job whose hold has been released) from the spool file 24, and sets the printer 30. Then, the print output is executed (step 312).

【0036】以上の処理は、スプールファイル24にプ
リントジョブが登録されている間、繰り返される(ステ
ップ313)。異なるクライアントのプリントジョブを
順次実行してゆき、スプールファイル24の最後に登録
されているプリントジョブを実行したときは、スプール
ファイル24の最初に登録されているプリントジョブ、
すなわち、飛び越されたプリントジョブのうち最初のも
のを次に実行するプリントジョブに決定する(ステップ
302、314)。
The above process is repeated while the print job is registered in the spool file 24 (step 313). When print jobs of different clients are sequentially executed and the print job registered at the end of the spool file 24 is executed, the print job registered at the beginning of the spool file 24,
That is, the first skipped print job is determined as the print job to be executed next (steps 302 and 314).

【0037】以上好ましい実施例をあげて本発明を説明
したが、本発明は必ずしも上記実施例に限定されるもの
ではない。例えば、本実施例では、所定の印刷容量ごと
に異なるクライアントからのプリントジョブにしたがっ
て印字出力が行われるため、印刷された書類を容易に区
別できるように、クライアントごとに個別に設定された
トレーに出力された書類をソートするようにしてもよ
い。
Although the present invention has been described with reference to the preferred embodiments, the present invention is not necessarily limited to the above embodiments. For example, in the present embodiment, since the print output is performed according to the print job from the client which is different for each predetermined print capacity, the trays individually set for each client are provided so that the printed documents can be easily distinguished. The output documents may be sorted.

【0038】また、設定された印刷容量を越える書類で
あっても、緊急を要する場合には、連続して出力される
ことが望ましいので、このような場合に、同一クライア
ントからのプリントジョブを飛び越さないようにする手
段を設けてもよい。このような手段としては、プリント
ジョブに緊急を示すフラグ等を付加しておき、次に実行
するプリントジョブを検索するときにフラグの有無を検
査する等の手段を採用することができる。
Further, even if the document exceeds the set print capacity, it is desirable to continuously output it in an emergency, so in such a case, print jobs from the same client are skipped. Means may be provided to prevent this. As such means, it is possible to employ a means such as adding a flag indicating an emergency to the print job and inspecting the presence or absence of the flag when searching for a print job to be executed next.

【0039】また、同一のクライアントから複数のプリ
ントジョブが連続して転送された場合、管理テーブル2
31に同一クライアント名のプリントジョブが連続して
登録されることとなるが、プリントジョブの転送の際に
フラグ等を付加することにより、単一のプリントジョブ
を分割した場合と区別することができ、当該プリントジ
ョブを飛び越さないようにしたり、プリント情報を格納
しないようにしたりすることができる。
When a plurality of print jobs are continuously transferred from the same client, the management table 2
Although print jobs with the same client name are continuously registered in 31, it is possible to distinguish from the case where a single print job is divided by adding a flag etc. when transferring the print job. The print job can be prevented from jumping over or the print information can be prevented from being stored.

【0040】[0040]

【発明の効果】以上説明したように、本発明によるプリ
ンタ制御方式は、プリントジョブをあらかじめ設定され
た所定の印刷容量の大きさごとに分割し、分割されたプ
リントジョブを複数のプリントジョブとして管理し、同
一クライアントからのプリントジョブが連続していると
きは先頭のプリントジョブ以外のプリントジョブの実行
を飛び越して異なるクライアントからのプリントジョブ
の実行を優先するようにプリンタを制御することによ
り、出力データの量に応じて自動的に出力の順番を調整
することができる。
As described above, the printer control method according to the present invention divides a print job into preset print capacity sizes and manages the divided print jobs as a plurality of print jobs. However, when print jobs from the same client are consecutive, output data is output by controlling the printer so that the print jobs other than the first print job are skipped and the print jobs from different clients are prioritized. The output order can be automatically adjusted according to the amount of.

【0041】したがって、所定のクライアントから大量
のデータを印字出力する印刷要求があった後、他のクラ
イアントから少ないデータを印字出力する印刷要求を受
け付けた場合であっても、先に受け付けた大量のデータ
の印字出力が終了するまで待つことなく後から受け付け
た少量のデータの印字出力行うことができ、印刷効率の
向上を図ることができる。
Therefore, even if a print request for printing out a small amount of data is received from another client after a print request for printing out a large amount of data from a predetermined client, a large amount of the previously received large amount of data is received. It is possible to print out a small amount of data received later without waiting until the printout of data is completed, and it is possible to improve the printing efficiency.

【0042】また、1つのプリントジョブの実行が終了
する度に、異なるクライアントからのプリントジョブを
検索して実行するため、実行されるプリントジョブのク
ライアントが1つのクライアントに偏ることがない。こ
のため、長い待ち時間を必要とせずに、すべてのクライ
アントの印刷要求による印字出力が行われる。したがっ
て、緊急度の付加等の特別な手続きを行う手間が不要で
ある。
Since the print jobs from different clients are searched and executed each time the execution of one print job is completed, the clients of the print jobs to be executed are not biased to one client. For this reason, print output is performed according to the print requests of all clients without requiring a long waiting time. Therefore, it is not necessary to perform special procedures such as adding urgency.

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

【図1】 本発明の1実施例にかかるプリンタ制御方式
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a printer control system according to an embodiment of the present invention.

【図2】 本実施例の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of this embodiment.

【図3】 本実施例の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the operation of this embodiment.

【図4】 管理テーブルの構成例を示す図である。FIG. 4 is a diagram showing a configuration example of a management table.

【図5】 管理テーブルの構成例を示す図である。FIG. 5 is a diagram showing a configuration example of a management table.

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

10 クライアント 20 サーバ 21 印刷容量検査部 22 プリントジョブ分割部 23 スプーラ設定部 24 スプールファイル 25 プリント情報格納部 26 プリンタ制御部 30 プリンタ 10 client 20 server 21 print capacity inspection unit 22 print job dividing unit 23 spooler setting unit 24 spool file 25 print information storage unit 26 printer control unit 30 printer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 プリンタを接続したサーバと複数のクラ
イアントとをネットワークで接続し、該クライアントか
らの印刷要求に応じて前記プリンタの動作を制御するプ
リンタ制御方式において、 前記サーバが、 クライアントから送られたプリントジョブをあらかじめ
設定された所定の大きさに分割するプリントジョブ分割
手段と、 プリントジョブをスプールファイルに格納する格納手段
と、 前記スプールファイルに格納されたプリントジョブを登
録して管理するプリントジョブ管理手段と、 前記プリンタ管理手段の管理情報を参照して前記スプー
ルファイルから順次プリントジョブを読み出し前記プリ
ンタの動作を制御するプリンタ制御手段とを備え、 前記プリントジョブ管理手段が、 前記プリントジョブ分割手段によって分割されたプリン
トジョブを複数のプリントジョブとして登録すると共
に、 同一クライアントから送られたプリントジョブが連続し
て登録されている場合に、該連続するプリントジョブの
うち最初のプリントジョブに後続するプリントジョブを
飛び越して、異なるクライアントから送られたプリント
ジョブを次に実行するプリントジョブに決定することを
特徴とするプリンタ制御方式。
1. A printer control method in which a server to which a printer is connected and a plurality of clients are connected via a network, and the operation of the printer is controlled in response to a print request from the client, wherein the server is sent from the client. A print job dividing unit that divides the print job into a predetermined size, a storage unit that stores the print job in a spool file, and a print job that registers and manages the print job stored in the spool file Management means; and printer control means for sequentially reading print jobs from the spool file by referring to management information of the printer management means and controlling operation of the printer, wherein the print job management means includes the print job dividing means. Divided by When a print job sent from the same client is registered in succession, the print job subsequent to the first print job among the continuous print jobs is skipped, A printer control method characterized in that a print job sent from a different client is determined as a print job to be executed next.
【請求項2】 前記プリントジョブ管理手段が、 印刷中のプリントジョブと同一のクライアントから送ら
れた連続するプリントジョブを飛び越して異なるクライ
アントから送られたプリントジョブを次に実行するプリ
ントジョブに決定した場合に、印刷中のプリントジョブ
に関するプリント情報を後続の飛び越されたプリントジ
ョブに関するプリント情報として格納する格納手段を備
え、 前記プリンタ制御手段が、 前記格納手段に実行するプリントジョブに関するプリン
ト情報が格納されている場合に、当該プリント情報を読
み出してプリンタの設定を制御することを特徴とする請
求項1に記載のプリンタ制御方式。
2. The print job management means determines a print job sent from a different client as a print job to be executed next, skipping a continuous print job sent from the same client as the print job being printed. In this case, a storage unit for storing print information regarding a print job being printed as print information regarding a subsequent skipped print job, wherein the printer control unit stores print information regarding the print job to be executed in the storage unit. 2. The printer control method according to claim 1, wherein the print information is read to control printer settings when the printer information is set.
【請求項3】 前記プリントジョブ管理手段が、 実行の終了したプリントジョブの登録を削除することを
特徴とする請求項1に記載のプリンタ制御方式。
3. The printer control method according to claim 1, wherein the print job management unit deletes the registration of the print job that has been executed.
【請求項4】 前記プリントジョブ管理手段が、 後ろに同一クライアントから送られたプリントジョブし
かないプリントジョブを実行したとき、最初に登録され
ているプリントジョブを次に実行するプリントジョブに
決定することを特徴とする請求項3に記載のプリンタ制
御方式。
4. When the print job management means executes a print job which has only print jobs sent later from the same client, the print job registered first is determined as the print job to be executed next. The printer control method according to claim 3, wherein
JP7129138A 1995-04-28 1995-04-28 Printer control method Expired - Fee Related JP2762959B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7129138A JP2762959B2 (en) 1995-04-28 1995-04-28 Printer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7129138A JP2762959B2 (en) 1995-04-28 1995-04-28 Printer control method

Publications (2)

Publication Number Publication Date
JPH08305517A true JPH08305517A (en) 1996-11-22
JP2762959B2 JP2762959B2 (en) 1998-06-11

Family

ID=15002065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7129138A Expired - Fee Related JP2762959B2 (en) 1995-04-28 1995-04-28 Printer control method

Country Status (1)

Country Link
JP (1) JP2762959B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129986A (en) * 2006-11-24 2008-06-05 Kyocera Mita Corp Printing control system and printing control program
JP2010069672A (en) * 2008-09-17 2010-04-02 Fuji Xerox Co Ltd Printer
US8085424B2 (en) 2006-05-12 2011-12-27 Kyocera Mita Corporation Multiple-port print device
CN111240611A (en) * 2020-01-16 2020-06-05 北京腾赋网络科技有限公司 Control method and system for parallel printing of multiple printers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8085424B2 (en) 2006-05-12 2011-12-27 Kyocera Mita Corporation Multiple-port print device
JP2008129986A (en) * 2006-11-24 2008-06-05 Kyocera Mita Corp Printing control system and printing control program
JP2010069672A (en) * 2008-09-17 2010-04-02 Fuji Xerox Co Ltd Printer
CN111240611A (en) * 2020-01-16 2020-06-05 北京腾赋网络科技有限公司 Control method and system for parallel printing of multiple printers

Also Published As

Publication number Publication date
JP2762959B2 (en) 1998-06-11

Similar Documents

Publication Publication Date Title
US5327526A (en) Print job control system
US5600762A (en) Method of processing a job, in a printing system, with a composite job ticket
EP1122635A2 (en) Printing apparatus
JP3788050B2 (en) Print system, printer and print server
JP3800380B2 (en) Printing system and printer
JP2762959B2 (en) Printer control method
JPH11143657A (en) Printing processor and printing processing method
JP2001195212A (en) Printing system
JPH06242893A (en) Output control system
JP3837863B2 (en) Print processing system, print processing method, and computer-readable recording medium on which print processing control program is recorded
JP3134539B2 (en) Printer control device
JPH05189174A (en) System for controlling plural print queues
JP3087462B2 (en) Print control device
JPH05303475A (en) Printer output control device
JP3680459B2 (en) Print control device
JP2000322212A (en) Print control device
JP2000003259A (en) Lan system and digital copying machine management server
JPH1155496A (en) Print control method
JPH103367A (en) Printer system
JPH07200203A (en) Method and device for controlling printer output
JP2003233484A (en) Printing control device and program
JPH10187389A (en) Network system
JPH10214164A (en) Network printing processing method
JP2000010749A (en) Spool control method
JPH0675724A (en) Print controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080327

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090327

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090327

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100327

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees