JP2762959B2 - Printer control method - Google Patents

Printer control method

Info

Publication number
JP2762959B2
JP2762959B2 JP7129138A JP12913895A JP2762959B2 JP 2762959 B2 JP2762959 B2 JP 2762959B2 JP 7129138 A JP7129138 A JP 7129138A JP 12913895 A JP12913895 A JP 12913895A JP 2762959 B2 JP2762959 B2 JP 2762959B2
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.)
Expired - Fee Related
Application number
JP7129138A
Other languages
Japanese (ja)
Other versions
JPH08305517A (en
Inventor
郁子 鷹野
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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

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 for performing print output by a printer in response to a print request from a plurality of clients connected to a network, and in particular, to adjust the output order according to the amount of printing. It relates to a printer control method.

【0002】[0002]

【従来の技術】ワークステーションやパーソナルコンピ
ュータおよびその周辺装置等の端末装置を通信回線で接
続したネットワークにおいて、当該ネットワークに接続
されたプリンタを複数の端末装置(クライアント)で共
有する場合がある。従来におけるこのような場合のプリ
ンタの制御方式としては、プリンタがクライアントから
の印刷要求を受けつけた順に印字出力を実行するのが一
般的である。
2. Description of the Related Art In a network in which terminal devices such as a workstation, a personal computer, and peripheral devices thereof are connected by a communication line, 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, a print output is generally performed in the order in which the printer receives a print request from a client.

【0003】また、ネットワークに複数のプリンタを接
続し、クライアントからプリンタを指定して印字出力し
たり、所定の方法で印刷要求を各プリンタに振り分けた
りする場合であっても、各プリンタにおいて印刷要求を
受け付けた順に印字出力を行うのは同様である。複数の
プリンタに印刷要求を振り分ける技術としては、公開特
許公報昭59−87539号「印字装置の管理方式」に
記載された技術がある。同公報には、複数のプリンタの
動作を管理する印字装置管理機構に、当該複数のプリン
タをグループ化し、印字装置の選択順位および出力量に
応じて最適な印字装置を選択する手段を備える構成が記
載されている。
[0003] Further, even when a plurality of printers are connected to a network and a client designates a printer to print out or distributes a print request to each printer by a predetermined method, the print request is not sent to each printer. Printout is performed in the same order in which the printouts are received. As a technique for distributing print requests to a plurality of printers, there is a technique described in JP-A-59-87539, "Printing Device Management System". The publication discloses a configuration in which a printing device management mechanism that manages the operations of a plurality of printers includes means for grouping the plurality of printers and selecting an optimum printing device according to the selection order and output amount of the printing devices. Have been described.

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

【0005】また従来、上記のような不都合を回避する
ため、複数のクライアントからの印刷要求が重なった場
合に出力順を指定する手段が提案されている。この種の
技術としては、公開特許公報平3−123953号「周
辺機器の共有化方式」に記載された技術がある。同公報
には、周辺機器を利用する際に当該利用の緊急度を設定
し、当該周辺機器において、利用要求に付加された緊急
度の高いものから優先して利用を許可する手段を備える
構成が記載されている。
Conventionally, in order to avoid the above-mentioned inconvenience, means for designating the output order when print requests from a plurality of clients are overlapped has been proposed. As this type of technology, there is a technology described in Japanese Patent Application Laid-Open Publication No. Hei 3-123953, "A method of sharing peripheral devices". The gazette discloses a configuration in which, when a peripheral device is used, the urgency of the use is set, and the peripheral device is provided with a means for giving priority to a device with a higher urgency added to the use request and giving priority to use. Have been described.

【0006】[0006]

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

【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,
A procedure is required for the user to determine and add the urgency of the data to be printed out, which is troublesome.

【0008】また、各クライアントからの印刷要求にい
ずれも高い緊急度が付加されていた場合、結局印刷要求
の受付順に印字出力を実行することとなり、十分な効率
の向上を図ることができないという欠点があった。
Further, when a high urgency level is added to a print request from each client, the printout is 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 provide a printer control method which solves the above-mentioned conventional disadvantages and automatically adjusts the output order according to the amount of output data.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
め、本発明は、プリンタを接続したサーバと複数のクラ
イアントとをネットワークで接続し、該クライアントか
らの印刷要求に応じて前記プリンタの動作を制御するプ
リンタ制御方式において、前記サーバが、クライアント
から送られたプリントジョブをあらかじめ設定された所
定の大きさに分割するプリントジョブ分割手段と、プリ
ントジョブをスプールファイルに格納する格納手段と、
前記スプールファイルに格納されたプリントジョブを登
録して管理するプリントジョブ管理手段と、前記プリン
タ管理手段の管理情報を参照して前記スプールファイル
から順次プリントジョブを読み出し前記プリンタの動作
を制御するプリンタ制御手段とを備え、かつ前記プリン
トジョブ管理手段が、前記プリントジョブ分割手段によ
って分割されたプリントジョブを複数のプリントジョブ
として登録すると共に、同一クライアントから送られた
プリントジョブが連続して登録されている場合に、該連
続するプリントジョブのうち最初のプリントジョブを実
行に後続するプリントジョブを飛び越して、異なるクラ
イアントから送られたプリントジョブを次に実行するプ
リントジョブに決定する構成としている。
In order to achieve the above object, the present invention relates to a 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 performed in response to a print request from the client. In the printer control method, the server is configured to divide a print job sent from a client into a predetermined size, a print job dividing unit, and a storage unit that stores the print job in a spool file.
Print job management means for registering and managing print jobs stored in the spool file, and printer control for sequentially reading print jobs from the spool file with reference to management information of the printer management means and controlling the operation of the printer Means, and the print job management means registers the print jobs divided by the print job dividing means as a plurality of print jobs, and the print jobs sent from the same client are continuously registered. In this case, the print job transmitted from a different client is determined as the print job to be executed next, skipping the print job subsequent to the execution of the first print job among the continuous print jobs.

【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 next executes a print job sent from a different client. Storage means for storing print information relating to the print job being printed as print information relating to the succeeding skipped print job when the print job is determined to be a print job, wherein the printer control means executes the print job executed in the storage means When print information related to the printer is stored, the print information is read and the setting of the printer is controlled.

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

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

【0014】[0014]

【作 用】本発明によれば、プリントジョブ分割手段
が、プリントジョブをあらかじめ設定された所定の印刷
容量の大きさごとに分割し、プリントジョブ管理手段
が、分割されたプリントジョブを複数のプリントジョブ
として管理し、かつ同一クライアントからのプリントジ
ョブが連続しているときは先頭のプリントジョブ以外の
プリントジョブの実行を飛び越して異なるクライアント
からのプリントジョブの実行を優先するように設定し
て、プリンタの動作を制御することができる。
According to the present invention, the print job dividing means divides a print job into predetermined print capacity sizes, and the print job management means divides the divided print job into a plurality of print jobs. If print jobs from the same client are managed consecutively and print jobs other than the first print job are executed consecutively, execution of print jobs from different clients is 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 one 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 of the present embodiment employs a server computer 2 connected to a network.
0 (hereinafter, referred to as a server 20). A printer 30 is connected to the server 20. Also,
The network includes a plurality of client computers 10
(Hereinafter, referred to as a client 10).
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, for simplicity, a description will be given assuming that 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 includes a print capacity inspection unit 21 for inspecting the number of pages to be printed according to 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 about print processing, a spooler setting unit 23 that generates a spool file 24, and a spool file 24. A print information storage unit 26 for storing print information to be managed and a print control unit 25 for controlling the operation of the printer 30 are provided.

【0018】印刷容量検査部21は、プログラム制御さ
れたCPUとRAM等のメモリとで実現され、クライア
ントから送られた印刷要求のパケットを入力し、要求さ
れている印刷量を検査する。印刷容量検査部21には、
あらかじめ印刷容量(ページ数等)を設定して記憶させ
てある。そして、クライアントからの印刷要求パケット
に含まれている印刷ページ数の情報を検出して設定され
た印刷容量と比較する。要求されている印刷ページ数が
設定された印刷容量よりも大きいときは印刷要求パケッ
トをプリントジョブ分割部22に送り、要求されている
印刷ページ数が設定された印刷容量以下であるときは印
刷要求パケットをスプーラ設定部24に送る。
The print capacity inspection unit 21 is realized by a program-controlled CPU and a memory such as a RAM. The print capacity inspection unit 21 receives a print request packet sent from a client and checks the requested print amount. The print capacity inspection unit 21 includes:
The print capacity (number of pages, etc.) is set and stored in advance. Then, 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 equal to or less than the set print capacity, the print request packet is sent. 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 CPU controlled by a program, receives a packet from the print capacity inspecting unit 21, and mechanically divides a print job for each print capacity set by the print capacity inspecting unit 21. I do. Then, the divided print jobs are 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 stores a management table 231 for printer control based on a print job from the print capacity inspection unit 21 or the print job division unit 22. Generate. The management table 231 registers, for each print job, the client name of the client that has transmitted the print job, and also includes the job status indicating the progress of the printing process and the presence or absence of various information such as printer settings at the time of printing. And print information indicating the following as setting items. Examples of the management table 231 are 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 according to the progress of the print job execution state.

【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 a sequentially stored print job 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 values of pages to be printed as print information for each print job. The stored print information 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 in accordance with the management table 231 of the spooler setting unit 23 and the print job of the spool file 24, and executes printout of print data. I do. The printer control unit 26 executes the print jobs in the order registered in the spool file 24 in principle, but when print jobs from the same client are consecutive, print jobs from different clients are preferentially executed. .

【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 executed continuously, but after one of the divided print jobs is executed, The print job registered from the other client after the print job is registered is executed first. After sequentially executing different print jobs of the client in this manner, the remaining one of the print jobs is executed again. When the print job is divided into three or more, this operation is repeated.

【0025】なお、クライアントを比較するのは、印刷
中のプリントジョブのクライアントとその後に登録され
ているプリントジョブのクライアントである。したがっ
て、所定のクライアントからのプリントジョブの次に異
なるクライアントからのプリントジョブが登録されてお
り、さらにその次に当該所定のクライアントからのプリ
ントジョブが登録されているときは、当該所定のクライ
アントからのプリントジョブを飛び越すことはない。
The clients to be compared are 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 after a print job from a predetermined client, and 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 processing 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 a client name and the number of print 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 and 2).
03).

【0027】プリントジョブから検出した印刷ページ数
が印刷容量検査部21に設定されている印刷容量よりも
小さいときは、当該プリントジョブはスプーラ設定部2
3に送られる。そして、スプーラ設定部23により、管
理テーブル231にクライアント名が登録され、ジョブ
ステータスとプリント情報とが設定される(ステップ2
04)。ここで、初期的には、ジョブステータスは保留
中に設定され、プリント情報はなにも格納されていない
ことを示すように設定される。その後、プリントジョブ
はスプーラ設定部23によりスプールファイル24に格
納される(ステップ205)。
If 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 sent to the spooler setting unit 2.
Sent to 3. Then, the client name is registered in the management table 231 by the spooler setting unit 23, and job status and print information are set (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. Thereafter, 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 division unit 22. Then, the print job is divided for each print capacity set in the print capacity inspection unit 21 (step 206). Each of the divided print jobs 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番目のプリントジョブについて
は、実行開始を待つ必要がないので、ジョブステータス
が印刷中に設定される。
FIG. 4 shows an example of the management table 231 created as described above. The figure shows the client "xx
This shows a state in which a print job is input from three persons of “x”, “yyy”, and “zzz” and registered in the management table 231. In the figure, the order of registration is “xxx”, “yy”
y "and" zzz ". The execution of the print job is the one registered earlier (the one registered at the top of the figure)
It is performed in order from. The print job from the client “xxx” and the client “zzz” is divided into two by the print job dividing unit 22 and registered. As shown in the figure, the job status of the first print job of the client “xxx” to be executed first is set to “in printing” because there is no need to wait for the start of execution.

【0030】次に、スプールファイル24にプリントジ
ョブがスプールされると、プリンタ制御部26により、
所定のタイミングでプリントジョブが実行され、プリン
タ30により印刷データの印字出力が行われる。そし
て、スプーラ設定部23により、次に実行するプリント
ジョブの決定と管理テーブル231の更新が行われる。
このときの動作を図3のフローチャートに示す。
Next, when the print job is spooled in the spool file 24, the printer control unit 26
A print job is executed at a predetermined timing, and the printer 30 prints out print data. Then, the spooler setting unit 23 determines a 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 in accordance with the first print job (step 301), the spooler setting unit 23 first prints the print job whose job status is "printing" in the spool file 24 at the end of the print job. It is determined whether the job is a job (step 30).
2). If the print job 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, a search is made for the next registered print job (steps 304 and 30).
5) The client name is compared with the client name of the print job being printed (step 303).

【0032】クライアント名の比較を繰り返し、印刷中
のプリントジョブのクライアント名と異なるクライアン
ト名のプリントジョブを検出した場合、当該プリントジ
ョブを次に実行するプリントジョブに決定する(ステッ
プ306)。そして、印刷中のプリントジョブの印字出
力が終了した後、次に実行するプリントジョブのジョブ
ステータスを保留から印刷中に変更する(ステップ30
7、308)。
The client name comparison is repeated, and if 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 as 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, immediately after the print job being printed, the same print job is registered by the client, and if the client skips this and selects a print job of a different client as a print job to be executed next, the spooler setting unit 23 The print information of the print job for which printing is completed is stored in the print information storage unit 25, and the print information item 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番目のプリン
トジョブを飛び越えているため、そのプリント情報の項
目が「有り」に設定される。
The first print job of the client “xxx” is executed from the state of FIG.
FIG. 5 shows a state in which the management table 231 has been updated by No.
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 skipped and executed next. Determined for the print job. Then, the first print job of the client “xxx” is deleted. Further, since the second print job of the client “xxx” has been skipped, the print information item is set to “present”.

【0035】プリンタ制御部26は、以上のようにして
更新された管理テーブル231を参照し、次に実行する
プリントジョブ(保留の解除されたプリントジョブ)を
スプールファイル24から読み出し、プリンタ30を設
定して印字出力を実行する(ステップ312)。
The printer controller 26 refers to the management table 231 updated as described above, reads a print job to be executed next (a print job whose hold has been released) from the spool file 24, and sets the printer 30. Then, 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). The print jobs of different clients are sequentially executed, and when 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 print job among the skipped print jobs 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 this embodiment, printout is performed according to print jobs from different clients for each predetermined print capacity, so that printed documents can be easily distinguished from each other in trays individually set for each client. The output documents may be sorted.

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

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

【0040】[0040]

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

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

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

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

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

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

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

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

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

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

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

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プリンタを接続したサーバと複数のクラ
イアントとをネットワークで接続し、該クライアントか
らの印刷要求に応じて前記プリンタの動作を制御するプ
リンタ制御方式において、 前記サーバが、 クライアントから送られたプリントジョブをあらかじめ
設定された所定の大きさに分割するプリントジョブ分割
手段と、 プリントジョブをスプールファイルに格納する格納手段
と、 前記スプールファイルに格納されたプリントジョブを登
録して管理するプリントジョブ管理手段と、 前記プリンタ管理手段の管理情報を参照して前記スプー
ルファイルから順次プリントジョブを読み出し前記プリ
ンタの動作を制御するプリンタ制御手段とを備え、 前記プリントジョブ管理手段が、 前記プリントジョブ分割手段によって分割されたプリン
トジョブを複数のプリントジョブとして登録すると共
に、 同一クライアントから送られたプリントジョブが連続し
て登録されている場合に、該連続するプリントジョブの
うち最初のプリントジョブに後続するプリントジョブを
飛び越して、異なるクライアントから送られたプリント
ジョブを次に実行するプリントジョブに決定することを
特徴とするプリンタ制御方式。
1. A printer control method for connecting a server to which a printer is connected and a plurality of clients via a network and controlling the operation of the printer in response to a print request from the client. Print job dividing means for dividing the print job into a predetermined size, storage means for storing the print job in a spool file, and a print job for registering and managing the print job stored in the spool file Management means; and printer control means for sequentially reading print jobs from the spool file with reference to the management information of the printer management means and controlling the operation of the printer, wherein the print job management means comprises: Divided by Job jobs are registered as a plurality of print jobs, and when print jobs sent from the same client are successively registered, the print job succeeding the first print job among the continuous print jobs is skipped. A printer control method for determining a print job sent from a different client as a print job to be executed next.
【請求項2】 前記プリントジョブ管理手段が、 印刷中のプリントジョブと同一のクライアントから送ら
れた連続するプリントジョブを飛び越して異なるクライ
アントから送られたプリントジョブを次に実行するプリ
ントジョブに決定した場合に、印刷中のプリントジョブ
に関するプリント情報を後続の飛び越されたプリントジ
ョブに関するプリント情報として格納する格納手段を備
え、 前記プリンタ制御手段が、 前記格納手段に実行するプリントジョブに関するプリン
ト情報が格納されている場合に、当該プリント情報を読
み出してプリンタの設定を制御することを特徴とする請
求項1に記載のプリンタ制御方式。
2. The print job management means according to claim 1, wherein the print job transmitted from the same client as the print job being printed is skipped and the print job transmitted from a different client is determined as the next print job to be executed. A storage unit for storing print information relating to the print job being printed as print information relating to a subsequent skipped print job, wherein the printer control unit stores print information relating to a print job to be executed in the storage unit. 2. The printer control method according to claim 1, wherein when the printing is performed, the print information is read to control settings of the printer.
【請求項3】 前記プリントジョブ管理手段が、 実行の終了したプリントジョブの登録を削除することを
特徴とする請求項1に記載のプリンタ制御方式。
3. The printer control method according to claim 1, wherein the print job management unit deletes the registration of the print job whose execution has been completed.
【請求項4】 前記プリントジョブ管理手段が、 後ろに同一クライアントから送られたプリントジョブし
かないプリントジョブを実行したとき、最初に登録され
ているプリントジョブを次に実行するプリントジョブに
決定することを特徴とする請求項3に記載のプリンタ制
御方式。
4. When the print job management means executes a print job having only a print job sent from the same client at the end, the print job management means determines the first registered print job as the next print job to be executed. 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 JPH08305517A (en) 1996-11-22
JP2762959B2 true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007301881A (en) 2006-05-12 2007-11-22 Kyocera Mita Corp Multiport printing apparatus
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
JPH08305517A (en) 1996-11-22

Similar Documents

Publication Publication Date Title
US5327526A (en) Print job control system
US20050213148A1 (en) Printer device
JP2002091720A (en) Information processor and method for confirming processing result of job
JP3800380B2 (en) Printing system and printer
JP2762959B2 (en) Printer control method
JPH11143657A (en) Printing processor and printing processing method
JP3978365B2 (en) Print server, program and recording medium
JPH05189174A (en) System for controlling plural print queues
JPH10187388A (en) Job processor
JP2000322212A (en) Print control device
JP3087462B2 (en) Print control device
JPH05303475A (en) Printer output control device
JP3536668B2 (en) Printing control device
JPH09185471A (en) Printer control method for network print system
JP3680459B2 (en) Print control device
JPH07200204A (en) Method and device for automatically selecting printer device
JPH07200203A (en) Method and device for controlling printer output
JPH103367A (en) Printer system
JP3223712B2 (en) Printing control device
JP3800801B2 (en) Printing system
JP3106833B2 (en) Print system and print management device
JP2003233484A (en) Printing control device and program
JP2862430B2 (en) Printing system
JPH07121328A (en) Job processing system
JP2003076526A (en) Printing system and recording medium in which program is recorded

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