JP2000259374A - Printing control method and printing system - Google Patents

Printing control method and printing system

Info

Publication number
JP2000259374A
JP2000259374A JP11063089A JP6308999A JP2000259374A JP 2000259374 A JP2000259374 A JP 2000259374A JP 11063089 A JP11063089 A JP 11063089A JP 6308999 A JP6308999 A JP 6308999A JP 2000259374 A JP2000259374 A JP 2000259374A
Authority
JP
Japan
Prior art keywords
interrupt
amount
print
print job
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11063089A
Other languages
Japanese (ja)
Other versions
JP3592575B2 (en
Inventor
Yumiko Shiono
由美子 塩野
Ryoko Obara
良子 小原
Naoyuki Kano
尚幸 叶
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP06308999A priority Critical patent/JP3592575B2/en
Publication of JP2000259374A publication Critical patent/JP2000259374A/en
Application granted granted Critical
Publication of JP3592575B2 publication Critical patent/JP3592575B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To relax a sense of unfairness among users of plural host devices by deciding whether or not interruption processing is possible on the basis of an amount of printing data of a print job. SOLUTION: This printing control method provides an interruption processing part 112 and a processing condition storage part 150 to a printer 100. When a printing request of another print job is outputted from a host 300 while the print job outputted from a host 200 is being performed, the interruption processing part 112 decides whether the interruption processing is possible or not on the basis of an interruption capacity 157 which is product of an amount of remaining data 154 with a predicted processing time regarding the print job of the host 200 as an initial value and a preset interruption ratio 156, and a comparison result of an amount of interruption demand 159 of the predicted time for processing regarding the print job of the host 300.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複数のホスト装置に
よって単一の印刷装置を共用する印刷システム、及び、
その印刷システムにおいて印刷データを制御するための
印刷制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing system in which a single printing device is shared by a plurality of host devices, and
The present invention relates to a print control method for controlling print data in the printing system.

【0002】[0002]

【従来の技術】複数のホスト装置によって構成されるネ
ットワークシステムでは、ホスト装置において発生した
印刷データに基づくプリントジョブを実行する印刷装置
を含むものがある。このようなデータネットワークシス
テムでは、単一の印刷装置が複数のホスト装置によって
共用されることになり、いずれかのホスト装置から要求
されたプリントジョブを実行中の印刷装置に対して他の
ホスト装置からプリントジョブの要求が出力される場合
がある。このような場合に、印刷装置において、実行中
のプリントジョブの実行を継続するか、又は、実行中の
プリントジョブを中断して新たなプリントジョブを先に
実行するかを選択する必要がある。
2. Description of the Related Art Some network systems including a plurality of host devices include a printing device that executes a print job based on print data generated in the host device. In such a data network system, a single printing device is shared by a plurality of host devices, and a printing device that is executing a print job requested by one of the host devices is assigned to another host device. May output a print job request. In such a case, in the printing apparatus, it is necessary to select whether to continue the execution of the print job being executed or to interrupt the print job being executed and execute a new print job first.

【0003】このため、従来のネットワークシステムで
は、複数のホスト装置のそれぞれに予め優先度を設定し
ておき、複数のホスト装置から重複して出力されたプリ
ントジョブに係るプリントデータの処理を優先度を基準
に実行するようにしたものがある。
For this reason, in the conventional network system, priorities are set in advance for each of a plurality of host devices, and processing of print data relating to a print job redundantly output from the plurality of host devices is prioritized. There is one that is executed on the basis of.

【0004】このようなネットワークシステムでは、図
15に示すように、複数のホストコンピュータとネット
ワーク400を介して接続されたプリンタ500に、印
刷データ処理部511及び割込処理部512を含む制御
部510、制御部510をネットワーク400に接続す
るインタフェース520、制御部510をプリンタエン
ジン540に接続するプリンタインタフェース530、
及び、印刷処理を実行するプリンタエンジン540に加
えて、処理状態記憶部550及び中断状態記憶部570
を設けている。
In such a network system, as shown in FIG. 15, a control unit 510 including a print data processing unit 511 and an interrupt processing unit 512 is provided to a printer 500 connected to a plurality of host computers via a network 400. An interface 520 connecting the control unit 510 to the network 400, a printer interface 530 connecting the control unit 510 to the printer engine 540,
In addition to the printer engine 540 that executes the printing process, the processing state storage unit 550 and the interruption state storage unit 570
Is provided.

【0005】処理状態記憶部550は、実行中のプリン
トジョブに関する情報を記憶し、プリント処理中の印刷
データの全ページ数551、プリント処理中のページ数
552、プリント処理が完了した状態を表す完了フラグ
553、処理中のプリントジョブの優先度を表す現行優
先度554、割込処理を要求しているプリントジョブの
優先度を表す割込優先度555、及び、処理中のプリン
トジョブを出力したホストコンピュータの情報を表すホ
スト556のそれぞれの記憶エリアを備える。中断状態
記憶部570は、割込処理の実行によって中断したプリ
ントジョブに関する情報を記憶し、処理状態記憶部55
0における記憶エリア551〜556のそれぞれに対応
する記憶エリア571〜576を備える。
[0005] The processing state storage unit 550 stores information on the print job being executed, and indicates the total number of pages 551 of the print data being printed, the number of pages 552 being printed, and a completion state indicating the state of completion of the print processing. A flag 553, a current priority 554 indicating the priority of the print job being processed, an interrupt priority 555 indicating the priority of the print job requesting the interrupt processing, and a host which has output the print job being processed. It has a storage area for each of the hosts 556 that represents computer information. The interrupted state storage unit 570 stores information on the print job interrupted by the execution of the interrupt processing, and
0 is provided with storage areas 571 to 576 corresponding to the storage areas 551 to 556, respectively.

【0006】プリンタ500が実行中のプリントジョブ
を出力したホストコンピュータ600は、データ転送部
611を含む制御部610、制御部610をネットワー
ク400に接続するインタフェース620、並びに、プ
リンタ500が実行中のプリントジョブに係る現行印刷
データ631及びホストコンピュータ600に予め設定
された優先度633を記憶した記憶部630を備えてい
る。プリンタ500に対してプリントジョブの割込要求
を出力したホストコンピュータ700は、ホストコンピ
ュータ600と同様に、制御部710、インタフェース
720及び記憶部730を備えている。記憶部730
は、割込要求を出力したプリントジョブに係る割込印刷
データ731及びホストコンピュータ700に予め設定
された優先度733を記憶する。
The host computer 600 that has output the print job being executed by the printer 500 includes a control unit 610 including a data transfer unit 611, an interface 620 connecting the control unit 610 to the network 400, and a print job being executed by the printer 500. The storage unit 630 stores the current print data 631 relating to the job and the priority 633 preset in the host computer 600. The host computer 700 that has output the print job interrupt request to the printer 500 includes a control unit 710, an interface 720, and a storage unit 730, like the host computer 600. Storage unit 730
Stores interrupt print data 731 relating to the print job that has output the interrupt request and a priority 733 preset in the host computer 700.

【0007】上記の構成において、例えば、特開平7−
129336号公報には、プリントジョブの割込処理の
可否判断、及び、割込処理によって中断したプリントジ
ョブを再開するタイミングの決定を、ホストコンピュー
タに予め設定された優先度を基準として実行するように
した構成が開示されている。即ち、ホストコンピュータ
600の現行印刷データ631に係るプリントジョブの
実行にあたって、プリンタ500の制御部510は、現
行優先度554にホストコンピュータ600の優先度6
33を格納している。この状態で、ホストコンピュータ
700からプリントジョブの要求が出力されると、プリ
ンタ500の制御部510は、ホストコンピュータ70
0の優先度733をプリンタ500の割込優先度555
に格納し、割込処理部512において現行優先度554
と割込優先度555とを比較する。制御部510はこの
比較結果に基づいてホストコンピュータ700から出力
されたプリントジョブの割込処理の可否を判断する。制
御部510は、完了フラグ553の内容に基づいて割込
処理を実行した場合における中断したプリントジョブの
再開タイミングを決定する。
In the above configuration, for example, Japanese Unexamined Patent Publication No.
Japanese Patent Application Laid-Open No. 129336 discloses a method of determining whether or not a print job interrupt process can be performed and determining a timing of restarting a print job interrupted by the interrupt process based on a priority preset in a host computer. A disclosed configuration is disclosed. That is, when the host computer 600 executes the print job relating to the current print data 631, the control unit 510 of the printer 500 sets the current priority 554 to the priority 6 of the host computer 600.
33 are stored. When a print job request is output from the host computer 700 in this state, the control unit 510 of the printer 500
0 priority 733 is assigned to the printer 500 interrupt priority 555
And the interrupt processing unit 512 sets the current priority 554
And the interrupt priority 555. The control unit 510 determines whether or not the print job output from the host computer 700 can be interrupted based on the comparison result. The control unit 510 determines the restart timing of the interrupted print job when executing the interrupt processing based on the content of the completion flag 553.

【0008】また、特開平5−162415号公報に
は、優先度に基づいてプリントジョブの割込処理の可否
を判断する構成であって、実行中のプリントジョブの進
捗に応じて優先度を変化させるようにした構成が開示さ
れている。即ち、実行中のホストコンピュータ600か
ら出力されたプリントジョブの進捗状況を、処理状態記
憶部550に記憶している全ページ数551及び処理中
ページ552の内容に基づいて判断し、プリントジョブ
が所定状態まで進行した際に現行優先度554の内容を
変更し、ホストコンピュータ700からプリントジョブ
の要求が出力された際に、ホストコンピュータ700の
優先度である割込優先度555を変更後の現行優先度5
54と比較し、この比較結果に基づいてホストコンピュ
ータ700から出力されたプリントジョブの割込処理の
可否を決定する。
Japanese Patent Laid-Open Publication No. Hei 5-162415 discloses a configuration in which it is determined whether a print job can be interrupted based on the priority. The priority is changed in accordance with the progress of the print job being executed. There is disclosed a configuration for causing such a configuration. That is, the progress of the print job output from the host computer 600 being executed is determined based on the total number of pages 551 and the contents of the processing page 552 stored in the processing state storage unit 550, and the print job is determined to be a predetermined one. The content of the current priority 554 is changed when progressing to the state, and when a print job request is output from the host computer 700, the interrupt priority 555, which is the priority of the host computer 700, is changed and the current priority is changed. Degree 5
Then, based on the result of the comparison, it is determined whether or not the print job output from the host computer 700 can be interrupted.

【0009】さらに、特開平6−139031号公報及
び特開平9−190317号公報には、優先度に基づい
てプリントジョブの割込処理の可否を判断する構成であ
って、割込処理に係るプリントジョブを、プリントジョ
ブの割込要求が入力された直後、実行中のプリントジョ
ブにおける1ページ分の処理の終了後、又は、実行中の
プリントジョブにおける通信中のページの印刷データに
ついての処理の終了後のいずれかのタイミングで開始す
る構成が開示されている。
Further, Japanese Patent Application Laid-Open Nos. Hei 6-139031 and Hei 9-190317 disclose a configuration for judging whether or not an interrupt process of a print job can be performed based on a priority. Immediately after an interrupt request for a print job is input, after processing of one page in a print job being executed, or end of processing for print data of a communicating page in a print job being executed. A configuration that starts at any later timing is disclosed.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、ネット
ワークシステムを構成する複数のホストコンピュータに
おいて発生した各プリントジョブ間の優先度が常に一定
であるとは限らず、各ホストコンピュータに予め設定さ
れた優先度に基づいて割込処理の実行の可否を決定する
ことによっては、各プリントジョブの現実の優先度に応
じた順序で複数のプリントジョブを実行することができ
ない場合を生じる可能性があり、また、多量の印刷デー
タに係るプリントジョブの実行中に優先度のより低いホ
ストコンピュータから少量の印刷データに係るプリント
ジョブが出力された場合に多量の印刷データを有するプ
リントジョブによってプリンタが占有され、印刷データ
量の少ないプリントジョブが長時間にわたって待機状態
となる不都合を解消することができない問題がある。
However, the priority among print jobs generated in a plurality of host computers constituting a network system is not always constant, and the priority set in each host computer in advance is not always constant. By determining whether or not to execute the interrupt processing based on the above, there may be a case where a plurality of print jobs cannot be executed in an order corresponding to the actual priority of each print job, and When a print job related to a small amount of print data is output from a lower priority host computer during execution of a print job related to a large amount of print data, the printer is occupied by the print job including a large amount of print data, and the print data Resolves the inconvenience of a small print job waiting for a long time There is a problem that can not be.

【0011】これらの問題は、実行中のプリントジョブ
の進捗状況に応じて優先度を変化させることによっては
解決することはできず、また、プリントジョブに係る印
刷データの1ページ分のデータ量は一定でないことから
1ページ分の印刷データの処理が終了したタイミングで
割込処理を開始したとしても印刷データ量の少ないプリ
ントジョブを素早く終了させることができるとは限らな
い。
These problems cannot be solved by changing the priority according to the progress of the print job being executed, and the data amount of one page of the print data relating to the print job is reduced. Even if the interrupt processing is started at the timing when the processing of the print data for one page is completed, the print job having a small amount of print data cannot always be ended quickly because the processing is not constant.

【0012】この発明の目的は、実行中のプリントジョ
ブの印刷データ量に基づいて割込処理を許可すべきプリ
ントジョブの印刷データ量を決定し、決定した印刷デー
タ量に基づいて割込処理の可否を判断することにより、
印刷データ量の少ないプリントジョブが長時間にわたっ
て待機状態となる不都合を解消することができ、複数の
ホストコンピュータのユーザ間における不公平感を緩和
することができる印刷システム及び印刷制御方法を提供
することにある。
An object of the present invention is to determine the amount of print data of a print job for which interrupt processing is to be permitted based on the amount of print data of a print job being executed, and to execute the interrupt processing based on the determined amount of print data. By judging the propriety,
Provided is a print system and a print control method, which can eliminate the inconvenience of a print job having a small amount of print data being in a standby state for a long period of time and can reduce unfairness among users of a plurality of host computers. It is in.

【0013】[0013]

【課題を解決するための手段】この発明は、上記の課題
を解決するための手段として、以下の構成を備えてい
る。
The present invention has the following arrangement as means for solving the above-mentioned problems.

【0014】(1) 複数のホスト装置から出力されたプリ
ントジョブを実行するプリンタを含む印刷システムに適
用される印刷制御方法において、プリンタが実行中のプ
リントジョブの印刷データ量から割込許容量を算出し、
割込要求に係るプリントジョブの印刷データ量である割
込データ量が割込許容量の範囲内であるか否かに応じて
割込処理の可否を判定することを特徴とする(請求項
1)。
(1) In a print control method applied to a printing system including a printer for executing a print job output from a plurality of host devices, an allowable interrupt amount is determined from a print data amount of a print job being executed by the printer. Calculate,
Determining whether or not an interrupt process can be performed according to whether or not an interrupt data amount, which is a print data amount of a print job related to the interrupt request, is within a range of an allowable interrupt amount. ).

【0015】(1) の構成においては、プリンタが実行中
のプリントジョブ、及び、割込要求に係るプリントジョ
ブの印刷データ量に基づいて、いずれのプリントジョブ
を優先して実行するかが決定される。したがって、プリ
ンタにおいて各プリントジョブを完了するまでに要する
時間を考慮してプリントジョブ毎に実行順序が決定され
る。
In the configuration of (1), which print job is to be preferentially executed is determined based on the print job being executed by the printer and the print data amount of the print job related to the interrupt request. You. Therefore, the execution order is determined for each print job in consideration of the time required to complete each print job in the printer.

【0016】(2) (1) の構成において、プリンタが実行
中のプリントジョブの印刷データ量に予め設定された割
込許容率を乗算して割込許容量を算出するものとするこ
とができる。
(2) In the configuration of (1), the allowable interrupt amount can be calculated by multiplying the print data amount of the print job being executed by the printer by a preset allowable interrupt ratio. .

【0017】(2) の構成においては、プリンタが実行中
のプリントジョブの印刷データ量に予め設定された割込
許容率を乗算して算出された割込許容量と割込要求に係
るプリントジョブの印刷データ量である割込データ量と
が比較され、この比較結果に基づいてプリンタにおいて
実行中のプリントジョブ又は割込要求に係るプリントジ
ョブのいずれを優先して実行するかが決定される。した
がって、割込許容率として適当な値を設定することによ
り、各プリントジョブに対して印刷データ量に応じた優
先度を与えることができる。
In the configuration of (2), the print job amount related to the interrupt request and the interrupt allowance calculated by multiplying the print data amount of the print job being executed by the printer by a preset interrupt allowance ratio. Is compared with the amount of interrupt data, which is the amount of print data, and based on the result of the comparison, it is determined which of the print job being executed in the printer or the print job relating to the interrupt request is to be preferentially executed. Therefore, by setting an appropriate value as the interrupt allowance, it is possible to give a priority according to the print data amount to each print job.

【0018】(3) 割込データ量及び割込許容量として印
刷データの処理時間を用いて割込処理の可否を判定する
ことを特徴とする(請求項2)。
(3) The present invention is characterized in that it is determined whether or not an interrupt process can be performed by using the processing time of the print data as the interrupt data amount and the allowable interrupt amount.

【0019】(3) の構成においては、プリンタにおいて
実行中のプリントジョブ又は割込要求に係るプリントジ
ョブのいずれを優先して実行するかが、各プリントジョ
ブの処理時間に基づいて決定される。したがって、各プ
リントジョブを出力したホスト装置におけるユーザの感
覚に適合した状態で各プリントジョブの実行順序が決定
される。
In the configuration of (3), which of the print job being executed in the printer and the print job relating to the interrupt request is to be preferentially executed is determined based on the processing time of each print job. Therefore, the execution order of each print job is determined in a state suitable for the user's feeling in the host device that has output each print job.

【0020】(4) (3) の構成において、複数のホスト装
置のそれぞれが、印刷要求に係るプリントジョブの印刷
データの処理時間を予測し、予測した処理時間を印刷要
求とともに出力するものとすることができる。
(4) In the configuration of (3), each of the plurality of host devices predicts the processing time of the print data of the print job related to the print request, and outputs the predicted processing time together with the print request. be able to.

【0021】(4) の構成においては、各ホスト装置から
印刷要求とともに出力されるプリントジョブの処理時間
を用いて、プリンタにおいて実行中のプリントジョブ又
は割込要求に係るプリントジョブのいずれを優先して実
行するかが決定される。したがって、割込処理の可否の
判断を行う装置が各プリントジョブの処理時間を算出す
る必要がなく、割込処理の可否の判断に用いるデータの
作成処理を印刷システムを構成する複数の装置に分散さ
せることができ、割込処理の可否の判断を短時間化する
ことができる。
In the configuration of (4), by using the processing time of the print job output together with the print request from each host device, which of the print job being executed in the printer or the print job related to the interrupt request is prioritized. Is determined. Therefore, it is not necessary for the device that determines whether or not to perform the interrupt process to calculate the processing time of each print job, and the process of creating data used to determine whether or not to perform the interrupt process is distributed to a plurality of devices that constitute the printing system. Thus, it is possible to reduce the time required to determine whether or not to perform the interrupt processing.

【0022】(5) プリンタが実行中のプリントジョブに
係る印刷データにおいて未処理の印刷データ量から割込
許容量を算出することを特徴とする(請求項3)。
(5) In the print data relating to the print job being executed by the printer, an allowable interrupt amount is calculated from an unprocessed print data amount.

【0023】(5) の構成においては、プリンタが実行中
のプリントジョブにおける未処理の印刷データ量から算
出した割込許容量と、割込要求に係るプリントジョブの
割込データ量と、の比較結果に基づいて、プリンタにお
いて実行中のプリントジョブ又は割込要求に係るプリン
トジョブのいずれを優先して実行するかが決定される。
したがって、プリンタにおけるプリントジョブの進行に
ともなって割込処理を許可すべき割込データ量が減少
し、プリンタにおけるプリントジョブの進行状態を考慮
して複数のプリントジョブの優先度が決定される。
In the configuration (5), the comparison between the allowable interrupt amount calculated from the unprocessed print data amount of the print job being executed by the printer and the interrupt data amount of the print job related to the interrupt request is performed. Based on the result, it is determined which of the print job being executed in the printer and the print job relating to the interrupt request is to be executed with priority.
Therefore, the amount of interrupt data for which interrupt processing should be permitted decreases as the print job progresses in the printer, and the priority of a plurality of print jobs is determined in consideration of the progress of the print job in the printer.

【0024】(6) プリンタが実行中のプリントジョブに
係る印刷データにおいて未処理の印刷データ量が予め設
定された所定量よりも少なくなった際に、割込許容量を
減少することを特徴とする(請求項4)。
(6) When the amount of unprocessed print data in the print data relating to the print job being executed by the printer becomes smaller than a predetermined amount, the allowable interrupt amount is reduced. (Claim 4).

【0025】(6) の構成においては、プリンタが実行中
のプリントジョブにおける未処理の印刷データ量が所定
量よりも少なくなった時点で、プリンタが実行中のプリ
ントジョブにおける未処理の印刷データ量から算出した
割込許容量(割込処理を許可すべきプリントジョブの印
刷データ量)が減少される。したがって、プリンタが実
行中のプリントジョブの終了間際に多量の印刷データ量
のプリントジョブが割込処理されることがない。
In the configuration (6), when the amount of unprocessed print data in the print job being executed by the printer becomes smaller than the predetermined amount, the amount of unprocessed print data in the print job being executed by the printer is reduced. Is reduced (the amount of print data of a print job for which interrupt processing is to be permitted) calculated from. Therefore, a print job with a large amount of print data is not interrupted immediately before the end of the print job being executed by the printer.

【0026】(7) (6) の構成において、プリンタが実行
中のプリントジョブに係る印刷データにおいて未処理の
印刷データ量が予め設定された所定量よりも少なくなっ
た際に、割込許容量を0にするものとすることができ
る。
(7) In the configuration of (6), when the amount of unprocessed print data in the print data relating to the print job being executed by the printer becomes smaller than a predetermined amount, an allowable interrupt amount is set. Can be set to 0.

【0027】(7) の構成においては、プリンタが実行中
のプリントジョブにおける未処理の印刷データ量が所定
量よりも少なくなった時点で割込処理が禁止され、プリ
ンタが実行中のプリントジョブの終了間際における割込
処理を確実に禁止することができる。
In the configuration (7), when the amount of unprocessed print data in the print job being executed by the printer becomes smaller than a predetermined amount, the interrupt process is prohibited, and the print job being executed by the printer is prohibited. Interrupt processing immediately before the end can be reliably prohibited.

【0028】(8) プリンタが実行中のプリントジョブに
対して既に割込処理されたプリントジョブに係る印刷デ
ータ量を割込データ量に加算して割込処理の可否を判定
することを特徴とする(請求項5)。
(8) The printer is characterized in that the print data amount relating to the print job that has already been subjected to the interrupt processing for the print job being executed by the printer is added to the interrupt data amount to determine whether or not the interrupt processing can be performed. (Claim 5).

【0029】(8) の構成においては、今回の割込処理の
可否の判定において、今回の割込処理に係るプリントジ
ョブの割込データ量に、プリンタが実行中のプリントジ
ョブに対して既に割込処理されたプリントジョブの印刷
データ量が加算され、加算後の割込データ量が割込許容
量と比較される。したがって、単一のプリントジョブに
対して複数のプリントジョブが繰り返し割込処理される
ことが防止される。
In the configuration of (8), in determining whether or not the current interrupt processing is possible, the amount of interrupt data of the print job related to the current interrupt processing is already assigned to the print job being executed by the printer. The print data amount of the print job subjected to the interrupt processing is added, and the added interrupt data amount is compared with the allowable interrupt amount. Therefore, it is possible to prevent a plurality of print jobs from being repeatedly interrupted for a single print job.

【0030】(9) 複数のホスト装置のそれぞれにおいて
設定された調整用データに基づいて、割込許容量及び割
込データ量を調整することを特徴とする(請求項6)。
(9) The interrupt allowable amount and the interrupt data amount are adjusted based on the adjustment data set in each of the plurality of host devices (claim 6).

【0031】(9) の構成においては、割込許容量及び割
込データ量がホスト装置において調整用データによって
調整される。したがって、ホスト装置において適当な調
整用データを設定することにより、複数のホスト装置の
相互関係を考慮して、プリンタにおいて実行中のプリン
トジョブ、又は、割込要求に係るプリントジョブのいず
れかが優先して実行される。
In the configuration of (9), the permissible interrupt amount and the interrupt data amount are adjusted by the adjustment data in the host device. Therefore, by setting appropriate adjustment data in the host device, either the print job being executed in the printer or the print job related to the interrupt request is given priority in consideration of the interrelationship between a plurality of host devices. And executed.

【0032】(10)(9) の構成において、調整用データが
プリントジョブ毎に設定されるレベルデータであって、
プリンタが処理中のプリントジョブに設定されたレベル
データによって割込許容量を調整し、割込要求に係るプ
リントジョブに設定されたレベルデータによって割込デ
ータ量を調整するものとすることができる。
(10) In the configuration of (9), the adjustment data is level data set for each print job, and
The printer can adjust the allowable interrupt amount based on the level data set for the print job being processed, and adjust the interrupt data amount based on the level data set for the print job related to the interrupt request.

【0033】(10)の構成においては、割込許容量がプリ
ンタにおいて実行中のプリントジョブを出力したホスト
装置に設定されている調整用データによって調整され、
割込データ量が割込要求に係るプリントジョブを出力し
たホスト装置に設定されている調整用データによって調
整される。したがって、各プリントジョブの特性に応じ
て適当な調整用データを設定することにより、各プリン
トデータの特性を考慮して、プリンタにおいて実行中の
プリントジョブ、又は、割込要求に係るプリントジョブ
のいずれかを優先して実行することができる。
In the configuration of (10), the allowable interrupt amount is adjusted by the adjustment data set in the host device which has output the print job being executed in the printer,
The amount of interrupt data is adjusted by the adjustment data set in the host device that has output the print job related to the interrupt request. Therefore, by setting appropriate adjustment data in accordance with the characteristics of each print job, it is possible to take into account the characteristics of each print data and to determine whether the print job is being executed in the printer or the print job related to the interrupt request. Can be executed with priority.

【0034】(11)(9) の構成において、調整用データが
割込処理の有効又は無効を表すフラグであって、プリン
タが処理中のプリントジョブ又は割込要求に係るプリン
トジョブのいずれかに設定されたフラグの内容が無効で
ある場合に割込処理を禁止するものとすることができ
る。
(11) In the configuration of (9), the adjustment data is a flag indicating the validity or invalidity of the interrupt processing, and the data is used as a print job being processed by the printer or a print job related to the interrupt request. If the content of the set flag is invalid, interrupt processing can be prohibited.

【0035】(11)の構成においては、各プリントジョブ
の特性に応じて有効又は無効を内容とする調整用データ
を設定することにより、割込許容量と割込データ量との
比較を行うことなく割込処理の可否を予め設定すること
ができる。
In the configuration of (11), the adjustment data having the contents of valid or invalid is set according to the characteristics of each print job, so that the allowable interruption amount and the interruption data amount are compared. It is possible to set in advance whether or not to execute the interrupt processing.

【0036】(12)プリンタが印刷処理中のページにおけ
る未処理の印刷データ量に基づいて、割込処理の開始タ
イミングを決定することを特徴とする(請求項7)。
(12) The printer determines the start timing of the interrupt processing based on the amount of unprocessed print data in the page being printed.

【0037】(12)の構成においては、各ページにおける
印刷処理の進行状態に応じて、割込処理の開始タイミン
グが決定される。したがって、1ページ分の印刷処理の
終了間際において他のプリントジョブの割込処理が開始
されたり、1ページ分の印刷処理の開始直後から長時間
にわたって割込処理が待機させられることがない。
In the configuration (12), the start timing of the interrupt process is determined according to the progress of the print process in each page. Therefore, the interruption process of another print job is not started immediately before the end of the printing process for one page, and the interruption process is not made to wait for a long time immediately after the start of the printing process for one page.

【0038】(13)(12)の構成において、プリンタが印刷
処理中のページにおける未処理の印刷データが占める割
合を予め設定された基準値と比較し、未処理の印刷デー
タが占める割合が基準値より低い場合にはそのページの
印刷データに対する処理が終了した後、未処理の印刷デ
ータが占める割合が基準値より高い場合には直ちに、プ
リンタが実行中のプリントジョブを中断して割込要求に
係るプリントジョブの実行を開始するものとすることが
できる。
(13) In the configuration of (12), the ratio of the unprocessed print data in the page being processed by the printer is compared with a preset reference value, and the ratio of the unprocessed print data is If the value is lower than the value, the processing of the print data of the page is completed, and if the ratio of the unprocessed print data is higher than the reference value, the print job being executed by the printer is immediately interrupted and an interrupt request is issued. The execution of the print job according to the above is started.

【0039】(13)の構成においては、1ページ分の印刷
処理が基準量まで進行しているか否かに応じて、そのペ
ージの印刷処理が終了した後に割込処理を開始するか、
又は、直ちに割込処理を開始するかが決定される。した
がって、基準量まで進行した1ページ分の印刷処理につ
いて再開後のプリントジョブにおいて繰り返し印刷処理
を行う必要がなく、印刷処理時間の無駄を省くことがで
きるとともに、基準量まで進行していない1ページ分の
印刷処理を待機することなく割込処理を開始させること
ができ、割込処理を早期に完了させることができる。
In the configuration of (13), depending on whether the printing process for one page has progressed to the reference amount, whether the interrupt process is started after the printing process for the page is completed,
Alternatively, it is determined whether to immediately start the interrupt processing. Therefore, it is not necessary to repeatedly perform the printing process in the print job after restarting the printing process for one page that has progressed to the reference amount, so that it is possible to save the waste of the printing process time, and it is possible to reduce the waste of the one page that does not progress to the reference amount. The interrupt process can be started without waiting for the print process for the minute, and the interrupt process can be completed early.

【0040】(14)印刷システムにおいて複数のホスト装
置から出力されたプリントジョブを実行するプリンタ
が、実行中のプリントジョブの印刷データ量から割込許
容量を算出する手段、及び、算出した割込許容量と割込
要求に係るプリントデータの印刷データ量との比較結果
に基づいて割込処理の実行の可否を判断する手段を備え
たことを特徴とする(請求項8)。
(14) A printer which executes a print job output from a plurality of host devices in the printing system calculates an allowable interrupt amount from the print data amount of the print job being executed, and the calculated interrupt. There is provided means for determining whether or not to execute the interrupt process based on a comparison result between the allowable amount and the print data amount of the print data related to the interrupt request (claim 8).

【0041】(14)の構成においては、印刷システムを構
成するプリンタにおいて、割込許容量と割込データ量と
の比較に基づく割込処理の可否判断が行われる。したが
って、割込処理の可否の判断がプリンタにおいて集中し
て実行され、判断結果が画一化される。
In the configuration of (14), the printer constituting the printing system determines whether or not to perform the interrupt process based on a comparison between the allowable interrupt amount and the interrupt data amount. Therefore, the determination as to whether or not to execute the interrupt processing is performed intensively in the printer, and the determination result is standardized.

【0042】(15)プリンタとともに印刷システムを構成
する複数のホスト装置のそれぞれが、プリンタにおいて
実行中のプリントジョブの印刷データ量から割込許容量
を算出する手段、及び、算出した割込許容量と他のホス
ト装置から出力された割込要求に係るプリントデータの
印刷データ量との比較結果に基づいて割込処理の実行の
可否を判断する手段を備えたことを特徴とする(請求項
9)。
(15) Each of a plurality of host devices constituting a printing system together with the printer calculates an allowable interrupt amount from the print data amount of a print job being executed in the printer, and the calculated allowable interrupt amount. Means for determining whether or not to execute an interrupt process based on a result of comparison between the print data and a print data amount of the print data related to the interrupt request output from another host device. ).

【0043】(15)の構成においては、印刷システムを構
成する複数のホスト装置のそれぞれにおいて、割込許容
量と割込データ量との比較に基づく割込処理の可否判断
が行われる。したがって、印刷処理を行うべきプリンタ
の処理負担が軽減されるとともに、各ホスト装置及び各
プリントジョブの特性を割込処理の実行の可否の判断結
果に反映させ易くなる。
In the configuration (15), in each of the plurality of host devices constituting the printing system, it is determined whether or not the interruption process is possible based on a comparison between the allowable interruption amount and the interruption data amount. Therefore, the processing load on the printer that should perform the printing process is reduced, and the characteristics of each host device and each print job can be easily reflected in the determination result of whether or not to execute the interrupt process.

【0044】[0044]

【実施の形態】図1は、この発明の第1の実施形態に係
る印刷システムの構成を示すブロック図である。この印
刷システムは、プリンタ100にネットワーク400を
介してホストコンピュータ200及び300等を接続し
て構成されている。この構成において、プリンタ100
がホストコンピュータ200から出力されたプリントジ
ョブを実行中に、ホストコンピュータ300から新たな
プリントジョブの割込要求が出力された場合について説
明する。
FIG. 1 is a block diagram showing the configuration of a printing system according to a first embodiment of the present invention. This printing system is configured by connecting host computers 200 and 300 to a printer 100 via a network 400. In this configuration, the printer 100
Will be described when a new print job interrupt request is output from the host computer 300 while the print job output from the host computer 200 is being executed.

【0045】プリンタ100は、ホストコンピュータか
ら出力された印刷データをビットマップデータに展開す
る印刷データ処理部111とプリントジョブの割込処理
の実行の可否を判断する割込出力部112とを含む制御
部110、制御部110をネットワーク400に接続す
るインタフェース120、ビットマップデータに基づく
印刷処理を実行するプリンタエンジン140、及び、制
御部110をプリンタエンジン140に接続するプリン
タインタフェース130とともに、処理状態記憶部15
0及び中断状態記憶部170を備えている。
The printer 100 includes a print data processing unit 111 for developing print data output from a host computer into bitmap data, and an interrupt output unit 112 for determining whether or not to execute a print job interrupt process. A processing state storage unit, together with an interface 120 for connecting the control unit 110 to the network 400, a printer engine 140 for executing print processing based on bitmap data, and a printer interface 130 for connecting the control unit 110 to the printer engine 140. Fifteen
0 and a suspended state storage unit 170.

【0046】処理状態記憶部150は、実行中のプリン
トジョブに係る印刷データの全ページ数151、印刷デ
ータにおいて現在プリント処理を実行している処理中ペ
ージ152、処理中ページの印刷データについての印刷
処理が終了したか否かの状態を表す完了フラグ153、
実行中のプリントジョブに係る印刷データにおける残り
データ量154、予め設定された下限データ量155、
割込許容率156及び割込許容量157、実行中のプリ
ントジョブに対する既割込量158、割込処理要求に係
るプリントジョブの印刷データ量を表す割込要求量15
9、並びに、実行中のプリントジョブを出力したホスト
コンピュータを特定するための情報であるホスト160
のそれぞれのデータを記憶するエリアを備えている。中
断状態記憶部170は、割込処理の実行によって中断し
たプリントジョブに関する情報を記憶し、処理状態記憶
部150における記憶エリア151〜160のそれぞれ
に対応するエリア171〜180を備えている。
The processing state storage unit 150 stores the total number of pages 151 of the print data relating to the print job being executed, the currently processed page 152 of the print data that is currently being printed, and the printing of the currently processed print data. A completion flag 153 indicating whether or not the processing has been completed;
The remaining data amount 154 in the print data relating to the print job being executed, the preset lower limit data amount 155,
The allowable interrupt rate 156 and the allowable interrupt amount 157, the existing interrupt amount 158 for the print job being executed, the interrupt request amount 15 representing the print data amount of the print job related to the interrupt processing request.
9 and a host 160 which is information for specifying the host computer which has output the print job being executed.
And an area for storing the respective data. The interrupted state storage unit 170 stores information on a print job interrupted by the execution of the interrupt processing, and includes areas 171 to 180 corresponding to the storage areas 151 to 160 in the processing state storage unit 150, respectively.

【0047】プリンタ100が現在実行中のプリントジ
ョブを出力したホストコンピュータ200は、プリンタ
100の印刷データ処理部111に対して印刷データを
出力するデータ転送部211及びプリントジョブに係る
印刷データの処理量を予測する処理量予測部212を含
む制御部210、制御部210をネットワーク400に
接続するインタフェース220、並びに、プリントジョ
ブに係る印刷データ231を含むデータを記憶する記憶
部230を備えている。なお、制御部210はCPU及
びRAMによって構成し、記憶部230はRAMによっ
て構成することができる。また、データ転送部211及
び処理量予測部212は、CPUが実行するソフトウェ
アによって実現することができる。プリンタ100に対
して新たなプリントジョブの割込処理要求を出力するホ
ストコンピュータ300は、ホストコンピュータ200
と同様に構成されている。
The host computer 200 that has output the print job currently being executed by the printer 100 has a data transfer unit 211 that outputs print data to the print data processing unit 111 of the printer 100 and a processing amount of print data related to the print job. , A control unit 210 including a processing amount prediction unit 212 for predicting the print job, an interface 220 for connecting the control unit 210 to the network 400, and a storage unit 230 for storing data including print data 231 related to a print job. Note that the control unit 210 can be configured by a CPU and a RAM, and the storage unit 230 can be configured by a RAM. The data transfer unit 211 and the processing amount prediction unit 212 can be realized by software executed by the CPU. The host computer 300 that outputs a new print job interrupt processing request to the printer 100
It is configured similarly to.

【0048】図2〜図5は、上記のネットワークシステ
ムにおいて、プリンタ100がホストコンピュータ20
0から出力されたプリントジョブを実行中に、ホストコ
ンピュータ300からプリンタ100に対して新たなプ
リントジョブが出力された場合のデータの入出力状態を
示す図である。
FIGS. 2 to 5 show that the printer 100 is connected to the host computer 20 in the above network system.
FIG. 9 is a diagram illustrating an input / output state of data when a new print job is output from the host computer 300 to the printer 100 while a print job output from 0 is being executed.

【0049】図2は、ホストコンピュータ200から出
力された印刷データに基づく印刷処理中におけるデータ
の入出力状態を示している。先ず、ホストコンピュータ
200の制御部210は、印刷データ231の全ページ
数、及び、ホストコンピュータ200の識別データを含
む印刷要求をインタフェース220及びネットワーク4
00を介してプリンタ100に出力する。印刷処理を実
行していないプリンタ100の制御部110は、印刷処
理が可能な状態であることを条件として、ホストコンピ
ュータ200に対して印刷データの出力許可を送信する
とともに、処理状態記憶部150のエリア160及びエ
リア151にホストコンピュータ200の識別データ及
び印刷データの全ページ数を格納する。
FIG. 2 shows an input / output state of data during a printing process based on print data output from the host computer 200. First, the control unit 210 of the host computer 200 sends a print request including the total number of pages of the print data 231 and identification data of the host computer 200 to the interface 220 and the network 4.
00 to the printer 100. The control unit 110 of the printer 100 that has not executed the print processing transmits the print data output permission to the host computer 200 on condition that the print processing is possible, and the processing state storage unit 150 The area 160 and the area 151 store the identification data of the host computer 200 and the total number of pages of the print data.

【0050】一方、プリンタ100からの出力許可を受
けたホストコンピュータ200の制御部210は、デー
タ転送部211を介して記憶部230に記憶されている
印刷データ231をプリンタ100に出力する。プリン
タ100の制御部110は、ホストコンピュータ200
から出力された印刷データ231を印刷データ処理部1
11においてビットマップデータに展開してプリントエ
ンジン140に供給する。印刷データ処理部111は、
印刷処理を実行している間において、プリンタエンジン
140において印刷処理を実行しているページ数を処理
状態記憶部150のエリア152に格納し、1ページ分
の処理が完了する毎に処理状態記憶部150のエリア1
53の完了フラグをセットした後、次ページのビットマ
ップデータの展開を開始すると処理中ページ152を書
き換えるとともに、完了フラグ153をリセットし、さ
らに、残りデータ量154を更新する。
On the other hand, the control unit 210 of the host computer 200 having received the output permission from the printer 100 outputs the print data 231 stored in the storage unit 230 to the printer 100 via the data transfer unit 211. The control unit 110 of the printer 100
Print data 231 output from the print data processing unit 1
At 11, the data is developed into bitmap data and supplied to the print engine 140. The print data processing unit 111
While the printing process is being executed, the number of pages for which the printing process is being executed in the printer engine 140 is stored in the area 152 of the processing status storage unit 150. 150 area 1
After setting the completion flag of 53, when the development of the bitmap data of the next page is started, the page 152 being processed is rewritten, the completion flag 153 is reset, and the remaining data amount 154 is updated.

【0051】図3は、実行中のプリントジョブに対する
割込許容量を決定する際のデータの入出力状態を示して
いる。ホストコンピュータ200は、処理量予測部21
2において算出した印刷データ231の予測処理時間を
印刷データ231とともにプリンタ100に出力する。
この予測処理時間は印刷要求とともにホストコンピュー
タ200からプリンタ100に出力することもできる。
プリンタ100の制御部110は、ホストコンピュータ
100から出力された予測処理時間を処理状態記憶部1
50のエリア154に格納する。制御部110の割込処
理部112は、処理状態記憶部150のエリア154〜
156に格納されている残りデータ量、下限データ量及
び割込許容率を参照して割込許容量を算出し、処理状態
記憶部150のエリア157に格納する。
FIG. 3 shows an input / output state of data when determining an allowable interrupt amount for a print job being executed. The host computer 200 includes a processing amount prediction unit 21
The estimated processing time of the print data 231 calculated in 2 is output to the printer 100 together with the print data 231.
The estimated processing time can be output from the host computer 200 to the printer 100 together with the print request.
The control unit 110 of the printer 100 stores the estimated processing time output from the host computer 100 in the processing state storage unit 1.
The data is stored in 50 areas 154. The interrupt processing unit 112 of the control unit 110 is configured to
Referring to the remaining data amount, the lower limit data amount, and the interrupt allowance ratio stored in 156, an interrupt allowance is calculated, and stored in the area 157 of the processing state storage unit 150.

【0052】即ち、プリンタ100の制御部110は、
ホストコンピュータ200から印刷データとともに入力
された予測処理時間を残りデータ量154の初期値とし
て処理状態記憶部150に格納し、1ページ分の印刷デ
ータについての印刷処理が完了する毎に実行した印刷処
理時間を減算して残りデータ量154の内容を更新する
とともに、更新した残りデータ量154に予め設定され
た割込許容率156を乗算して割込許容量157を算出
する。したがって、1ページ分の印刷データについての
印刷処理が完了し、実行中のプリントジョブに係る印刷
データの残量が減少するにしたがって、割込許容量15
7の値も減少する。残りデータ量154が予め設定され
ている下限データ量155以下に減少した場合には、割
込許容量157の算出について残りデータ量154の値
は“0”にされ、割込許容量157の値は“0”にな
る。これによって、実行中のプリントジョブの終了直前
における割込許容量157を減少して他のプリントジョ
ブが割込処理されることを防止できる。
That is, the control unit 110 of the printer 100
The estimated processing time input together with the print data from the host computer 200 is stored in the processing state storage unit 150 as an initial value of the remaining data amount 154, and the print processing executed every time the print processing of one page of print data is completed The content of the remaining data amount 154 is updated by subtracting the time, and the updated remaining data amount 154 is multiplied by a preset interrupt allowance 156 to calculate the allowable interrupt amount 157. Therefore, as the printing process for one page of print data is completed and the remaining amount of print data related to the print job being executed decreases, the allowable interrupt amount 15
The value of 7 also decreases. When the remaining data amount 154 is reduced below the preset lower limit data amount 155, the value of the remaining data amount 154 is set to “0” for the calculation of the allowable interrupt amount 157, and the value of the allowable interrupt amount 157 is set. Becomes "0". As a result, it is possible to reduce the allowable interrupt amount 157 immediately before the end of the print job being executed, and prevent another print job from being interrupted.

【0053】なお、残りデータ量154が予め設定され
ている下限データ量155以下に減少した場合に、必ず
しも残りデータ量154及び割込許容量157の値を
“0”にする必要はなく、割込許容率256と残りデー
タ量254との乗算によって求めた割込許容量257か
ら所定量を減算、又は、所定率を乗算して割込許容量2
57を減少するようにしてもよい。このようにしても、
実行中のプリントジョブの終了直前における割込許容量
257を減少して他のプリントジョブが割込処理される
ことを防止できる。
When the remaining data amount 154 is reduced to a predetermined lower limit data amount 155 or less, it is not necessary to set the values of the remaining data amount 154 and the allowable interrupt amount 157 to “0”. A predetermined amount is subtracted from the interrupt allowable amount 257 obtained by multiplying the interrupt allowable ratio 256 by the remaining data amount 254, or the predetermined amount is multiplied by the interrupt allowable amount 2
57 may be reduced. Even if you do this,
The allowable interrupt amount 257 immediately before the end of the print job being executed can be reduced to prevent another print job from being interrupted.

【0054】図4は、ホストコンピュータ200から出
力されたプリントジョブの実行中に、ホストコンピュー
タ300から新規のプリントジョブ要求が出力された場
合におけるデータの入出力状態を示している。ホストコ
ンピュータ300が、処理量予測部312において算出
した印刷データ331の予測処理時間、印刷データ33
1の全ページ数、及び、ホストコンピュータ300の識
別データを含む印刷要求をインタフェース320を介し
てプリンタ100に出力すると、ホストコンピュータ2
00から出力されたプリントジョブを実行中のプリンタ
100の制御部110は、印刷データ331の予測処理
時間を割込要求量として処理状態記憶部150のエリア
159に格納するとともに、処理状態記憶部150のエ
リア157〜159の内容に基づいてホストコンピュー
タ300から出力された印刷要求に係る割込処理の実行
の可否を判定する。
FIG. 4 shows an input / output state of data when a new print job request is output from the host computer 300 while a print job output from the host computer 200 is being executed. The host computer 300 calculates the estimated processing time of the print data 331 calculated by the processing amount
When a print request including the total number of pages 1 and the identification data of the host computer 300 is output to the printer 100 via the interface 320, the host computer 2
The control unit 110 of the printer 100 that is executing the print job output from the job number 00 stores the estimated processing time of the print data 331 as an interrupt request amount in the area 159 of the processing state storage unit 150, and stores the processing state storage unit 150. It is determined based on the contents of the areas 157 to 159 whether or not to execute the interrupt process related to the print request output from the host computer 300.

【0055】即ち、プリンタ100の制御部110が有
する割込処理部112は、割込要求量159に既割込量
158を加算した値と割込許容量157と比較し、既割
込量158を加算した割込処理量159の値が割込許容
量157よりも大きい場合には割込要求は認められず、
既割込量158を加算した割込処理量159の値が割込
許容量157よりも小さい場合には実行中のホストコン
ピュータ200から出力されたプリントジョブを中断し
てホストコンピュータ300から出力されたプリントジ
ョブが割込処理される。
That is, the interrupt processing unit 112 included in the control unit 110 of the printer 100 compares the value obtained by adding the interrupt request amount 159 to the interrupt request amount 158 with the allowable interrupt amount 157 to determine the interrupt amount 158. If the value of the interrupt processing amount 159 obtained by adding is larger than the allowable interrupt amount 157, the interrupt request is not permitted,
If the value of the interrupt processing amount 159 obtained by adding the existing interrupt amount 158 is smaller than the allowable interrupt amount 157, the print job output from the host computer 200 being executed is interrupted and output from the host computer 300. The print job is interrupted.

【0056】図5は、プリンタ100の印刷データ処理
部111がホストコンピュータ200から出力された印
刷データの展開処理を実行中に、割込処理部112がホ
ストコンピュータ300から出力されたプリントジョブ
の割込処理を許可した場合のデータの入出力状態を示し
ている。プリンタ100の制御部110内の割込処理部
112は、ホストコンピュータ200から出力された印
刷データ231についてのプリントジョブの実行中にホ
ストコンピュータ300の印刷データ331の割込処理
を許可すると、処理状態記憶部150の完了フラグ15
3の内容を参照して割込開始タイミングを決定する。こ
の割込開始タイミングについては、第3の実施形態にお
いて後述する。
FIG. 5 shows that while the print data processing unit 111 of the printer 100 is executing the expansion processing of the print data output from the host computer 200, the interrupt processing unit 112 4 shows the data input / output state when the write processing is permitted. When the interruption processing unit 112 in the control unit 110 of the printer 100 permits the interruption processing of the print data 331 of the host computer 300 during the execution of the print job for the print data 231 output from the host computer 200, the processing state Completion flag 15 in storage unit 150
3 to determine the interrupt start timing. This interrupt start timing will be described later in a third embodiment.

【0057】決定した割込開始タイミングになると、プ
リンタ100の制御部110の割込処理部112は、印
刷データ331の予測処理時間を既割込量として処理状
態記憶部150のエリア158に格納し、印刷データ処
理部111に対してプリントジョブの中断を指示する。
次いで、割込処理部112は、処理状態記憶部150の
内容を中断状態記憶部170に退避させ、処理状態記憶
部150の内容を初期状態にした後に、ホストコンピュ
ータ300及び印刷データ331についての情報を処理
状態記憶部150に格納する。この後、割込処理部11
2は、ホストコンピュータ300に対して印刷データの
送信許可を出力する。これによって、ホストコンピュー
タ300のデータ転送部311が、割込処理に係る印刷
データ331をプリンタ100に出力する。プリンタ1
00の印刷データ処理部111は、印刷データ331を
ビットマップデータに展開してプリンタエンジン140
に供給し、印刷データ331についての印刷処理が実行
される。
At the determined interrupt start timing, the interrupt processing unit 112 of the control unit 110 of the printer 100 stores the predicted processing time of the print data 331 as the already-processed interrupt amount in the area 158 of the processing state storage unit 150. , And instructs the print data processing unit 111 to interrupt the print job.
Next, the interrupt processing unit 112 saves the contents of the processing state storage unit 150 to the interrupted state storage unit 170 and sets the contents of the processing state storage unit 150 to the initial state, and then stores the information about the host computer 300 and the print data 331. Is stored in the processing state storage unit 150. Thereafter, the interrupt processing unit 11
2 outputs a print data transmission permission to the host computer 300. As a result, the data transfer unit 311 of the host computer 300 outputs the print data 331 related to the interrupt processing to the printer 100. Printer 1
The print data processing unit 111 of the printer engine 140 converts the print data 331 into bitmap data and
And the print processing for the print data 331 is executed.

【0058】割込処理部112は、処理状態記憶部15
0におけるエリア151〜153の内容を参照して印刷
データ331についてのプリントジョブが終了したか否
かを判断する。即ち、全ページ数151と処理中ページ
152の内容が一致し、かつ、完了フラグ153がセッ
トされていれば、プリントジョブが終了したと判断でき
る。割込処理部112は、割込処理に係るプリントジョ
ブの終了確認した後に、中断状態記憶部170の内容を
処理状態記憶部150に書き込み、書込後の処理中ペー
ジ152、完了フラグ153及びホスト160の内容を
参照して、ホストコンピュータ200に対して印刷デー
タ231において印刷処理が完了していないページの先
頭のデータから印刷データ231を転送すべき旨の命令
を出力する。この命令にしたがって、ホストコンピュー
タ200のデータ転送部211は、印刷データ231に
おいて未処理のデータをプリンタ100に出力する。プ
リンタ100は、印刷データ処理部111において、ホ
ストコンピュータ200から出力された印刷データをビ
ットマップデータに展開してプリンタエンジン140に
供給することにより、印刷データ331に係るプリント
ジョブの割込処理によって中断したプリントジョブを再
開する。
The interrupt processing unit 112 includes a processing state storage unit 15
It is determined whether or not the print job for the print data 331 has been completed with reference to the contents of the areas 151 to 153 at 0. That is, if the total number of pages 151 and the content of the processing page 152 match and the completion flag 153 is set, it can be determined that the print job has been completed. After confirming the end of the print job related to the interrupt processing, the interrupt processing unit 112 writes the contents of the interrupted state storage unit 170 into the processing state storage unit 150, and processes the written page 152, the completion flag 153, and the host. Referring to the contents of 160, the host computer 200 outputs an instruction to transfer the print data 231 from the first data of the page of the print data 231 for which the print processing is not completed in the print data 231. In accordance with this instruction, the data transfer unit 211 of the host computer 200 outputs unprocessed data in the print data 231 to the printer 100. In the printer 100, the print data processing unit 111 expands the print data output from the host computer 200 into bitmap data and supplies the bitmap data to the printer engine 140, thereby interrupting the print job related to the print data 331 by interrupt processing. Restarts the completed print job.

【0059】以上の構成により、この発明の第1の実施
形態に係る印刷システムによれば、実行中のプリントジ
ョブについての残りデータ量から割込許容量を算出し、
算出した割込許容量と割込処理の要求がなされたプリン
トジョブに係る印刷データ量とを比較し、比較結果に基
づいて割込処理の実行の可否を判断するとともに、実行
中のプリントジョブについての残りデータ量を1ページ
分の印刷データについての印刷処理が完了する毎に更新
する。したがって、実行中のプリントジョブに係る印刷
データ量に応じて割込処理が可能なプリントジョブの印
刷データ量が設定され、印刷データ量の少ないプリント
ジョブの実行中に印刷データ量の大きなプリントジョブ
が割込処理されることや、実行中のプリントジョブの終
了直前に他のプリントジョブが割込処理されることを防
止できる。
With the above arrangement, according to the printing system of the first embodiment of the present invention, the allowable interrupt amount is calculated from the remaining data amount of the print job being executed.
The calculated allowable interrupt amount is compared with the print data amount of the print job for which the interrupt processing request has been made, and based on the comparison result, whether or not the interrupt processing can be executed is determined. Is updated each time the printing process for one page of print data is completed. Therefore, the print data amount of a print job that can be interrupted is set according to the print data amount of the print job being executed, and a print job with a large print data amount is executed during a print job with a small print data amount. It is possible to prevent the interruption processing and the interruption processing of another print job immediately before the end of the print job being executed.

【0060】また、実行中のプリントジョブの残りデー
タ量が予め設定された下限データ量を下回った時に残り
データ量の値を“0”にすることにより、実行中のプリ
ントジョブの終了直前に他のプリントジョブが割込処理
されることをより確実に防止できる。
By setting the value of the remaining data amount to "0" when the remaining data amount of the print job being executed falls below the preset lower limit data amount, the other data can be obtained immediately before the end of the print job being executed. Can be more reliably prevented from being interrupted.

【0061】さらに、割込処理の実行の可否の判断時に
割込許容量と比較される割込要求量には、既に割込処理
されたプリントジョブの印刷データ量である既割込量が
加算されるため、単一のプリントジョブに対して印刷デ
ータ量の少ない多数のプリントジョブが繰り返し割込処
理されることがなく、最初に開始されたプリントジョブ
の終了時間が際限なく延長されることを防止できる。
Further, the amount of interrupt request, which is the print data amount of the print job that has been subjected to the interrupt processing, is added to the amount of interrupt request that is compared with the allowable amount of interrupt when determining whether or not to execute the interrupt processing. Therefore, a large number of print jobs with a small amount of print data are not repeatedly interrupted for a single print job, and the end time of the first started print job is extended indefinitely. Can be prevented.

【0062】なお、割込処理に係るプリントジョブの実
行中には、割込許容量を“0”とすることにより、割込
処理に係るプリントジョブにさらに別のプリントジョブ
が割込処理されることを防止し、最初に開始されたプリ
ントジョブの終了時間が著しく遅延することを防止する
ようにしてもよい。
During the execution of the print job related to the interrupt processing, the print job related to the interrupt processing is further interrupted by setting the allowable interrupt amount to “0”. This may prevent the end time of the print job started first from being significantly delayed.

【0063】図6は、この発明の第2の実施形態に係る
印刷システムにおける割込処理の可否判定時におけるデ
ータの入出力状態を示している。この発明の第2の実施
形態に係る印刷システムでは、プリンタ100の印刷デ
ータ処理部111がホストコンピュータ200から出力
されたプリントジョブに対するホストコンピュータ30
0から出力されたプリントジョブの割込処理の可否を割
込レベルを参照して判定する。
FIG. 6 shows an input / output state of data at the time of determining whether or not to perform an interrupt process in the printing system according to the second embodiment of the present invention. In the printing system according to the second embodiment of the present invention, the print data processing unit 111 of the printer 100
It is determined with reference to the interruption level whether interruption processing of the print job output from 0 is possible.

【0064】ホストコンピュータ200は、プリンタ1
00に対するプリントジョブの要求時に、印刷データ2
31とともにホストコンピュータ200に予め設定され
ている割込レベル232を出力する。プリンタ100の
制御部110の割込処理部112は、印刷システムに固
有の値としてプリンタ100に予め設定されている割込
許容率に、割込レベル232を乗算した値を実際の割込
許容率として処理状態記憶部150のエリア156に格
納する。
The host computer 200 is connected to the printer 1
When a print job request for print data
An interrupt level 232 set in advance in the host computer 200 is output together with 31. The interrupt processing unit 112 of the control unit 110 of the printer 100 calculates a value obtained by multiplying the interrupt allowance rate preset for the printer 100 as a value specific to the printing system by the interrupt level 232 to the actual interrupt allowance rate. Is stored in the area 156 of the processing state storage unit 150.

【0065】ホストコンピュータ200から出力された
プリントジョブに係る印刷処理を実行中のプリンタ10
0に対して、割込処理に係るプリントジョブを出力する
ホストコンピュータ300は、予測処理時間とともにホ
ストコンピュータ300に予め設定されている割込レベ
ル332を出力する。プリンタ100の制御部110の
割込処理部112は、ホストコンピュータ300から出
力された予測処理時間の内容を割込要求量として処理状
態記憶部150のエリア159に格納する。また、割込
処理部112は、割込処理の可否判断において、割込許
容量と割込レベル332との積を割込要求量と比較す
る。
The printer 10 which is executing the print processing related to the print job output from the host computer 200
For 0, the host computer 300 that outputs the print job related to the interrupt processing outputs an interrupt level 332 preset in the host computer 300 together with the estimated processing time. The interrupt processing unit 112 of the control unit 110 of the printer 100 stores the contents of the predicted processing time output from the host computer 300 as an interrupt request amount in the area 159 of the processing state storage unit 150. Further, the interrupt processing unit 112 compares the product of the allowable interrupt amount and the interrupt level 332 with the required interrupt amount in determining whether or not to perform the interrupt process.

【0066】以上の処理により、この発明の第2の実施
形態に係る印刷システムにおいては、印刷処理を実行中
のプリントジョブを出力したホストコンピュータ200
に設定されている割込レベル232と、割込処理要求を
出力したホストコンピュータ300に設定されている割
込レベル332と、を考慮して、割込処理の可否が判定
される。したがって、印刷システムに設定されている情
報のみならず、複数のホストコンピュータのそれぞれに
個別に設定された情報を考慮して割込処理の可否をきめ
細かく判断することができる。
With the above processing, in the printing system according to the second embodiment of the present invention, the host computer 200 that has output the print job that is executing the printing processing
Is determined in consideration of the interrupt level 232 set in the host computer 300 and the interrupt level 332 set in the host computer 300 that has output the interrupt processing request. Therefore, it is possible to determine whether interrupt processing is possible or not in detail by considering not only information set in the printing system but also information individually set in each of the plurality of host computers.

【0067】なお、割込レベル232及び332は、例
えば、デフォルト値を“0.5”として“0”〜“1”
の値をユーザが設定するものとすることができる。ま
た、割込レベル232及び332が、割込処理を選択的
に許可する情報として“0”又は“1”のいずれかの値
をとるものとし、割込レベル232及び332のいずれ
かが“0”の場合に割込処理を許可しないようにしても
よい。
The interrupt levels 232 and 332 are, for example, "0" to "1" with a default value of "0.5".
May be set by the user. Also, assume that the interrupt levels 232 and 332 take a value of either “0” or “1” as information for selectively permitting the interrupt processing, and one of the interrupt levels 232 and 332 is “0”. ", Interrupt processing may not be permitted.

【0068】図7は、この発明の第3の実施形態に係る
印刷システムを構成するプリンタの制御部における割込
タイミングの設定処理を示す図である。プリンタ100
の制御部の割込処理部112は、ホストコンピュータ2
00から出力されたプリントジョブに対してホストコン
ピュータ300から出力されたプリントジョブの割込処
理を許可した場合に、処理状態記憶部150の完了フラ
グ153を参照してホストコンピュータ200から出力
されたプリントジョブに係る1ページ分の印刷処理が完
了したタイミングであるか否かを検出する。
FIG. 7 is a diagram showing an interrupt timing setting process in the control unit of the printer constituting the printing system according to the third embodiment of the present invention. Printer 100
The interrupt processing unit 112 of the control unit of the host computer 2
When interruption of the print job output from the host computer 300 is permitted for the print job output from the host computer 300, the print output from the host computer 200 is referred to by referring to the completion flag 153 of the processing state storage unit 150. It is detected whether or not it is time to complete the printing process for one page related to the job.

【0069】割込処理部112は、完了フラグ153の
内容が1ページ分の印刷データについての印刷処理を完
了している状態を示している場合には、その時点でホス
トコンピュータ200から出力されたプリントジョブを
中断し、ホストコンピュータ300から出力されたプリ
ントジョブの割込処理を開始する。割込処理部112
は、完了フラグ153の内容が1ページ分の印刷データ
の印刷処理が完了した状態を示していない場合には、現
頁残りデータ量と頁下限データ量162とを比較する。
ここに、現頁残りデータ量とは、印刷処理を実行中の現
ページにおける未処理のデータ量であり、処理状態記憶
部150に記憶している現頁データ量161から計時部
113が計時した現ページに対する印刷処理の開始タイ
ミングからの経過時間を差し引くことによって算出され
る。
When the content of the completion flag 153 indicates that the printing process for one page of print data has been completed, the interrupt processing unit 112 outputs the output from the host computer 200 at that time. The print job is interrupted, and interrupt processing of the print job output from the host computer 300 is started. Interrupt processing unit 112
Compares the current page remaining data amount with the page lower limit data amount 162 when the content of the completion flag 153 does not indicate that the print processing of one page of print data has been completed.
Here, the current page remaining data amount is an unprocessed data amount in the current page in which the printing process is being executed, and is measured by the timing unit 113 from the current page data amount 161 stored in the processing state storage unit 150. It is calculated by subtracting the elapsed time from the start timing of the printing process for the current page.

【0070】現頁残りデータ量が頁下限データ量162
よりも少ない場合には、割込処理部112は、完了フラ
グ153を参照して現ページに対する印刷処理が完了す
るのを待機し、現ページに対する印刷処理が完了した時
点でホストコンピュータ200から出力されたプリント
ジョブを中断してホストコンピュータ300から出力さ
れたプリントジョブの割込処理を開始する。一方、現頁
残りデータ量が頁下限データ量162よりも多い場合に
は、割込処理部112は、現ページの全データ量に対す
る現頁残りデータ量の占める割合を算出し、算出した割
合が基準量よりも低い場合には現ページに対する印刷処
理が完了した時点でホストコンピュータ200から出力
されたプリントジョブを中断してホストコンピュータ3
00から出力されたプリントジョブの割込処理を開始
し、算出した割合が基準量よりも高い場合には直ちにホ
ストコンピュータ200から出力されたプリントジョブ
を中断してホストコンピュータ300から出力されたプ
リントジョブの割込処理を開始する。
The current page remaining data amount is the page lower limit data amount 162
If the number is smaller than that, the interrupt processing unit 112 refers to the completion flag 153 and waits for the completion of the printing process on the current page. When the printing process on the current page is completed, the interrupt processing unit 112 outputs the output from the host computer 200. The interrupted print job is interrupted, and an interrupt process for the print job output from the host computer 300 is started. On the other hand, if the current page remaining data amount is larger than the page lower limit data amount 162, the interrupt processing unit 112 calculates the ratio of the current page remaining data amount to the total data amount of the current page, and calculates the calculated ratio. If it is lower than the reference amount, the print job output from the host computer 200 is interrupted when the printing process for the current page is completed, and the host computer 3
00, the print job output from the host computer 200 is immediately interrupted when the calculated ratio is higher than the reference amount, and the print job output from the host computer 300 is interrupted. Start interrupt processing.

【0071】以上の処理により、第3の実施形態に係る
印刷システムでは、印刷処理を実行中の現ページにおけ
る未処理のデータ量に応じて、現ページについての印刷
処理の完了後、又は、現ページについての印刷処理の完
了を待つことなく直ちに割込処理が開始される。これに
よって、現ページの印刷処理の完了直前に割込処理が開
始されることによる印刷処理の重複を防止することがで
きるとともに、多量のデータ量を有する現ページの印刷
処理の開始直後から長時間にわたって割込処理の開始が
待機させられることを防止できる。
With the above processing, in the printing system according to the third embodiment, after the printing process for the current page is completed, or in accordance with the amount of unprocessed data in the current page in which the printing process is being executed, The interrupt process is immediately started without waiting for the completion of the print process for the page. As a result, duplication of the printing process due to the start of the interrupt process immediately before the completion of the printing process of the current page can be prevented, and a long time immediately after the start of the printing process of the current page having a large amount of data can be prevented. Can be prevented from waiting for the start of interrupt processing.

【0072】図8は、上記第1及び第3の実施形態を含
む印刷システムにおける処理手順を示すフローチャート
である。ホストコンピュータは、新規のプリントジョブ
に係る印刷データの処理時間を予測し(s1)、予測処
理時間を含む印刷要求をプリンタ100に出力する(s
2)。印刷要求を受信したプリンタ100は、プリント
ジョブを実行中であるか否かの判別を行い(s3)、プ
リントジョブを実行中でない場合には、印刷要求を出力
したホストコンピュータに対して印刷データの送信許可
を出力し(s15)、この送信許可にしたがってホスト
コンピュータから送信された印刷データに基づいてプリ
ントジョブを実行する(s16)。
FIG. 8 is a flowchart showing a processing procedure in the printing system including the first and third embodiments. The host computer estimates the processing time of the print data relating to the new print job (s1), and outputs a print request including the estimated processing time to the printer 100 (s1).
2). The printer 100 that has received the print request determines whether or not the print job is being executed (s3). If the print job is not being executed, the printer 100 sends the print data to the host computer that has output the print request. A transmission permission is output (s15), and a print job is executed based on the print data transmitted from the host computer according to the transmission permission (s16).

【0073】印刷要求を受信したプリンタ100におい
てプリントジョブを実行中である場合には、プリンタ1
00の制御部110は、s2で受信した印刷要求に含ま
れる予測処理時間を実行中のプリントジョブについての
割込許容量と比較し(s4)、予測処理時間が割込許容
量を越える場合には、割込処理を行うことなく実行中の
プリントジョブを継続して実行し(s12)、実行中の
プリントジョブが完了した後に、s2で印刷要求を出力
したホストコンピュータに印刷データの送信許可を出力
し(s13)、この送信許可にしたがってホストコンピ
ュータから送信された印刷データに基づいて新規のプリ
ントジョブを実行する(s14)。
When a print job is being executed in the printer 100 that has received the print request, the printer 1
The control unit 110 of 00 compares the estimated processing time included in the print request received in s2 with the allowable interrupt amount for the print job being executed (s4), and when the estimated processing time exceeds the allowable interrupt amount. Continuously executes the print job being executed without performing the interrupt processing (s12), and after the print job being executed is completed, permits the host computer that has output the print request in s2 to permit transmission of the print data. The print job is output (s13), and a new print job is executed based on the print data transmitted from the host computer in accordance with the transmission permission (s14).

【0074】s4において予測処理時間が割込許容量以
下である場合には、プリンタ100の制御部110は、
印刷処理中のページにおける未処理のデータ量が所定量
以下であるか否かを判別し(s5)、未処理のデータ量
が所定量を越える場合にはそのページにおける未処理の
データ量の占める割合を基準値と比較する(s6)。s
5において印刷処理中のページにおける未処理のデータ
量が所定量以下である場合、又は、s6において印刷処
理中のページにおける未処理のデータ量の占める割合が
基準値以下である場合には、印刷処理中のページについ
ての印刷処理の完了を待機した後(s7)、s6におい
て印刷処理中のページにおける未処理のデータ量の占め
る割合が基準値を越える場合には直ちに、実行中のプリ
ントジョブを中断してs2で印刷要求を出力したホスト
コンピュータに印刷データの送信許可を出力し(s
8)、この送信許可にしたがってホストコンピュータか
ら送信された印刷データに基づいて割込処理のプリント
ジョブを実行する(s9)。
If the predicted processing time is equal to or less than the allowable interrupt amount in s4, the control unit 110 of the printer 100
It is determined whether or not the amount of unprocessed data in the page being printed is equal to or smaller than a predetermined amount (s5). If the amount of unprocessed data exceeds the predetermined amount, the amount of unprocessed data in the page is occupied. The ratio is compared with a reference value (s6). s
If the amount of unprocessed data in the page being printed is equal to or less than a predetermined amount in step 5, or if the ratio of the amount of unprocessed data in the page being printed is less than the reference value in step s6, After waiting for the completion of the printing process for the page being processed (s7), if the ratio of the unprocessed data amount in the page being printed exceeds the reference value in s6, the print job being executed is immediately executed. The print data transmission permission is output to the host computer that has interrupted and output the print request in s2 (s
8) The print job of the interruption process is executed based on the print data transmitted from the host computer in accordance with the transmission permission (s9).

【0075】割込処理のプリントジョブが終了すると、
中断中のプリントジョブを出力したホストコンピュータ
に対して印刷データの送信許可を出力し(s10)、こ
の送信許可にしたがってホストコンピュータから送信さ
れた印刷データに基づいて中断中のプリントジョブを再
開する(s11)。
When the print job of the interruption process is completed,
A print data transmission permission is output to the host computer that has output the interrupted print job (s10), and the interrupted print job is resumed based on the print data transmitted from the host computer in accordance with the transmission permission (S10). s11).

【0076】図9は、上記印刷システムのプリンタにお
ける割込許容データ量の算出時の処理手順を示すフロー
チャートである。この処理は、上記図8に示した処理と
並行して実行される。プリンタ100の制御部110
は、ホストコンピュータから印刷要求とともに出力され
た予測処理時間を残りデータ量の初期値として処理状態
記憶部150のエリア154に格納し、残りデータ量及
び割込許容率に基づいて割込許容量を算出する。制御部
110は、プリントジョブに係る全ての印刷データにつ
いての印刷処理が終了してプリントジョブが完了するま
で、1ページ分の印刷データについての印刷処理が終了
する毎に、更新された残りデータ量及び割込許容率に基
づいて割込許容量を算出する処理を繰り返し実行する
(s21〜s23)。
FIG. 9 is a flowchart showing a processing procedure for calculating the allowable interrupt data amount in the printer of the printing system. This process is executed in parallel with the process shown in FIG. Control unit 110 of printer 100
Stores the estimated processing time output together with the print request from the host computer in the area 154 of the processing state storage unit 150 as an initial value of the remaining data amount, and sets the allowable interrupt amount based on the remaining data amount and the allowable interrupt rate. calculate. The control unit 110 updates the remaining data amount each time the print processing for one page of print data ends until the print processing for all print data related to the print job is completed and the print job is completed. And a process of calculating an allowable interrupt amount based on the allowable interrupt rate is repeatedly executed (s21 to s23).

【0077】なお、プリンタ100に複数の排紙トレイ
を備え、割込処理のプリントジョブに係る印刷済用紙
を、中断したプリントジョブに係る印刷済用紙が排出さ
れる排紙トレイと異なる排紙トレイに排出することによ
り、複数のプリントジョブに係る印刷済用紙が単一の排
紙トレイ上に混在することを防止でき、複数のプリント
ジョブの終了後に印刷済用紙をプリントジョブ毎に仕分
けする作業を不要にできる。
Note that the printer 100 is provided with a plurality of paper output trays, and the printed paper relating to the print job of the interruption process is replaced with a paper output tray different from the paper output tray from which the printed paper relating to the interrupted print job is discharged. The print papers associated with a plurality of print jobs can be prevented from being mixed on a single paper output tray, and the work of sorting the printed papers for each print job after the completion of the plurality of print jobs can be prevented. Can be unnecessary.

【0078】また、上記第1〜第3の実施形態において
は、処理状態記憶部150のエリア154、155、1
57〜159に記憶されるデータ量として処理時間を用
いることとしたが、これらのデータ量として実際の印刷
データ量そのものを用いることもできる。
In the first to third embodiments, the areas 154, 155, 1
Although the processing time is used as the data amount stored in 57 to 159, the actual print data amount itself can be used as the data amount.

【0079】図10は、この発明の第4の実施形態に係
る印刷システムの構成を示すブロック図である。この印
刷システムでは、上記第1〜第3の実施形態に係る印刷
システムを構成するプリンタ100が備える割込処理部
112及び処理状態記憶部150と同様の割込処理部2
13及び処理状態記憶部250をホストコンピュータ2
00,300のそれぞれに備えたものである。即ち、こ
の実施形態に係る印刷システムでは、プリンタ100に
おいて実行中のプリントジョブを出力したホストコンピ
ュータが、他のホストコンピュータから出力されたプリ
ントジョブの割込要求の可否を判定する。但し、ホスト
コンピュータ200及び300において、プリントジョ
ブを出力したホストコンピュータを特定する情報を格納
する必要はないため、処理状態記憶部150においてホ
ストコンピュータを特定する情報を格納していたエリア
160に代えて、処理状態記憶部250のエリア260
にはプリントジョブの中断状況を記憶する。
FIG. 10 is a block diagram showing the configuration of a printing system according to the fourth embodiment of the present invention. In this printing system, the interrupt processing unit 112 and the interrupt processing unit 2 similar to the processing state storage unit 150 included in the printer 100 configuring the printing system according to the first to third embodiments are described.
13 and the processing state storage unit 250
00 and 300 respectively. That is, in the printing system according to this embodiment, the host computer that has output the print job being executed by the printer 100 determines whether or not an interrupt request for a print job output from another host computer is possible. However, in the host computers 200 and 300, it is not necessary to store information for specifying the host computer that has output the print job. Therefore, the processing state storage unit 150 replaces the area 160 in which the information for specifying the host computer is stored. Area 260 of the processing state storage unit 250
Stores the interruption status of the print job.

【0080】図11は、この発明の第4の実施形態に係
る印刷システムを構成するホストコンピュータの処理手
順を示すフローチャートである。この実施形態に係る印
刷システムに含まれる複数のホストコンピュータはいず
れも同一の構成を備え、同一の処理を実行する。そこ
で、ホストコンピュータ200を例にあげて処理手順を
説明する。ホストコンピュータ200においてプリント
ジョブが発生すると、制御部210は、処理量予測部2
12において印刷データ231の処理量を予測し、処理
状態記憶部250のエリア254に残りデータ量として
格納する(s31)。次いで、制御部210は、割込処
理部213において、残りデータ量254及び割込許容
率256に基づいて割込許容量257を算出し、処理状
態記憶部250のエリア257に格納する(s32)。
FIG. 11 is a flowchart showing a processing procedure of the host computer constituting the printing system according to the fourth embodiment of the present invention. A plurality of host computers included in the printing system according to this embodiment all have the same configuration and execute the same processing. Therefore, the processing procedure will be described using the host computer 200 as an example. When a print job occurs in the host computer 200, the control unit 210
In step 12, the processing amount of the print data 231 is predicted and stored as the remaining data amount in the area 254 of the processing state storage unit 250 (s31). Next, the control unit 210 calculates the allowable interrupt amount 257 based on the remaining data amount 254 and the allowable interrupt rate 256 in the interrupt processing unit 213, and stores it in the area 257 of the processing state storage unit 250 (s32). .

【0081】この後、制御部210は、プリンタ100
にプリントジョブを出力中の他のホストコンピュータが
存在するか否かの判別を行う(s33)。この判別は、
他のホストコンピュータ又はプリンタ100に対する確
認データを送信することによって行われる。プリンタ1
00が他のホストコンピュータから出力されたプリント
ジョブを実行中である場合には、制御部210は、実行
中のプリントジョブを出力したホストコンピュータに対
して割込要求信号を1度発信し(s34,s35)、割
込許可信号を受信するか、又は、実行中のプリントジョ
ブが完了することを待機する(s36→s33)。
After that, the control unit 210
It is determined whether or not there is another host computer that is outputting a print job (S33). This determination is
This is performed by transmitting confirmation data to another host computer or the printer 100. Printer 1
When 00 is executing a print job output from another host computer, the control unit 210 transmits an interrupt request signal to the host computer that has output the print job being executed once (s34). , S35), or receives an interrupt permission signal, or waits for completion of the print job being executed (s36 → s33).

【0082】制御部210は、他のホストコンピュータ
から出力されたプリントジョブの実行中でない場合、他
のホストコンピュータから出力されたプリントジョブが
完了した場合、又は、割込許可信号を受信した場合に
は、プリンタ100に対して印刷データを順次送信して
印刷データ231に基づくプリントジョブを実行する
(s37)。この時、制御部210は、図12に示すよ
うに、データ転送部211において、1ページ分の印刷
データを送信する毎に処理状態記憶部250の処理中ペ
ージ252、完了フラグ253及び残りデータ量254
を更新し、更新後の残りデータ量254に基づいて算出
した割込許容量257を更新的に記憶する。なお、残り
データ量254が下限データ量255以下である場合に
は、割込許容量の算出に際して残りデータ量254の値
は“0”にされ、割込許容量257は“0”にされる。
実行中のプリントジョブの終了直前に他のプリントジョ
ブが割込処理されることを防止するためである。
The control unit 210 determines whether a print job output from another host computer is not being executed, a print job output from another host computer has been completed, or an interrupt permission signal has been received. Executes the print job based on the print data 231 by sequentially transmitting the print data to the printer 100 (s37). At this time, as shown in FIG. 12, the data transfer unit 211 sends the print page 252, the completion flag 253, and the remaining data amount in the process state storage unit 250 every time the print data for one page is transmitted. 254
Is updated, and the allowable interrupt amount 257 calculated based on the remaining data amount 254 after the update is updated and stored. If the remaining data amount 254 is equal to or smaller than the lower limit data amount 255, the value of the remaining data amount 254 is set to “0” when calculating the allowable interrupt amount, and the allowable interrupt amount 257 is set to “0”. .
This is to prevent another print job from being interrupted immediately before the end of the print job being executed.

【0083】なお、残りデータ量254が下限データ量
255以下である場合に、必ずしも残りデータ量254
の値を“0”にして割込許容量257を“0”にする必
要はなく、割込許容率256と残りデータ量254との
乗算によって求めた割込許容量257から所定量を減
算、又は、所定率を乗算して割込許容量257を減少す
るようにしてもよい。このようにしても、実行中のプリ
ントジョブの終了直前における割込許容量257を減少
して他のプリントジョブが割込処理されることを防止で
きる。
When the remaining data amount 254 is equal to or smaller than the lower limit data amount 255, the remaining data amount 254 is not always required.
Does not need to be set to “0” to set the allowable interrupt amount 257 to “0”. A predetermined amount is subtracted from the allowable interrupt amount 257 obtained by multiplying the allowable interrupt rate 256 and the remaining data amount 254, Alternatively, the allowable interrupt amount 257 may be reduced by multiplying by a predetermined rate. Even in this case, the allowable interrupt amount 257 immediately before the end of the print job being executed can be reduced to prevent another print job from being interrupted.

【0084】この後、制御部210は、他のホストコン
ピュータからの割込要求信号の受信(s38)、又は、
実行中のプリントジョブの完了(s39)を待機し、図
13に示すように、プリントジョブが完了するまでの間
において他のホストコンピュータからの割込要求信号を
受信すると、割込要求信号に含まれる割込要求量と処理
情報記憶部250に記憶している割込許容量とを比較し
(s40)、割込要求量が割込許容量以下である場合に
は、図14に示すように、処理状態記憶部250に記憶
している現頁データ量261(印刷処理中の頁に含まれ
る全印刷データ量)と頁基準データ262(予め設定さ
れた基準値)との比較によって印刷処理中のページのデ
ータ量が基準値よりも大きいか否かの判別を行い(s4
1)、印刷処理中のページのデータ量が基準値よりも大
きい場合には、さらに、印刷処理中のページにおける残
りデータ量の占める割合が所定値よりも多いか否かの判
別を行う(s42)。なお、制御部210は、割込要求
量が割込許容量を越える場合には、割込要求信号を発信
したホストコンピュータに対して割込不可信号を発信す
る(s47)。
Thereafter, the control unit 210 receives an interrupt request signal from another host computer (s38), or
Waiting for completion of the print job being executed (s39), as shown in FIG. 13, when an interrupt request signal is received from another host computer until the print job is completed, the interrupt request signal is included in the interrupt request signal. The interrupt request amount is compared with the allowable interrupt amount stored in the processing information storage unit 250 (s40). If the interrupt request amount is equal to or less than the allowable interrupt amount, as shown in FIG. During the printing process, a comparison is made between the current page data amount 261 (total print data amount included in the page being printed) stored in the processing state storage unit 250 and the page reference data 262 (a preset reference value). It is determined whether the data amount of the page is larger than the reference value (s4).
1) If the data amount of the page being printed is larger than the reference value, it is further determined whether or not the ratio of the remaining data amount in the page being printed is larger than a predetermined value (s42). ). When the amount of interrupt request exceeds the allowable amount of interrupt, the control unit 210 sends an interrupt disable signal to the host computer that sent the interrupt request signal (s47).

【0085】制御部210は、印刷処理中のページのデ
ータ量が基準値よりも小さい場合、又は、印刷処理中の
ページにおける残りデータ量の占める割合が所定値より
も少ない場合には完了フラグ253の内容を参照して印
刷処理中のページの印刷の終了を確認した後(s4
3)、印刷処理中のページのデータ量が基準値よりも大
きく、かつ、印刷処理中のページにおける残りデータ量
の占める割合が所定値よりも多い場合には直ちに、プリ
ントジョブを中断し(s44)、割込要求信号を発信し
たホストコンピュータに対して割込許可信号を発信する
(s45)。この後、制御部210は、割込処理に係る
プリントジョブの終了信号の送信を待機し(s46)、
終了信号を受信すると中断したプリントジョブを再開す
る(s37)。
When the data amount of the page being printed is smaller than the reference value, or when the ratio of the remaining data amount in the page being printed is smaller than the predetermined value, the controller 210 sets the completion flag 253 to the completion flag 253. After confirming the end of printing of the page being printed with reference to the contents of (s4)
3) If the data amount of the page being printed is larger than the reference value and the ratio of the remaining data amount in the page being printed is larger than the predetermined value, the print job is immediately interrupted (s44). ), And sends an interrupt permission signal to the host computer that sent the interrupt request signal (s45). Thereafter, the control unit 210 waits for transmission of a print job end signal relating to the interrupt processing (s46),
When the end signal is received, the interrupted print job is restarted (s37).

【0086】以上の処理により、第4の実施形態に係る
印刷システムにおいても、印刷処理を実行中のプリント
ジョブについての残りデータ量から割込許容量を算出
し、算出した割込許容量と割込処理の要求がなされたプ
リントジョブに係る印刷データ量とを比較し、比較結果
に基づいて割込処理の実行の可否を判断するとともに、
実行中のプリントジョブについての残りデータ量を1ペ
ージ分の印刷データについての印刷処理が完了する毎に
更新する。したがって、実行中のプリントジョブに係る
印刷データ量に応じて割込処理が可能なプリントジョブ
の印刷データ量が設定され、印刷データ量の少ないプリ
ントジョブの実行中に印刷データ量の大きなプリントジ
ョブが割込処理されることや、実行中のプリントジョブ
の終了直前に他のプリントジョブが割込処理されること
を防止できる。
With the above-described processing, in the printing system according to the fourth embodiment, the interrupt allowable amount is calculated from the remaining data amount of the print job in which the print processing is being executed, and the calculated interrupt allowable amount and the interrupt allowable amount are calculated. Comparing the print data amount of the print job for which the interrupt processing request was made, and determining whether to execute the interrupt processing based on the comparison result;
The remaining data amount of the print job being executed is updated each time the print processing of one page of print data is completed. Therefore, the print data amount of a print job that can be interrupted is set according to the print data amount of the print job being executed, and a print job with a large print data amount is executed during a print job with a small print data amount. It is possible to prevent the interruption processing and the interruption processing of another print job immediately before the end of the print job being executed.

【0087】また、実行中のプリントジョブの残りデー
タ量が予め設定された下限データ量を下回った時に残り
データ量の値を“0”にすることにより、実行中のプリ
ントジョブの終了直前に他のプリントジョブが割込処理
されることをより確実に防止できる。
When the remaining data amount of the print job being executed falls below a preset lower limit data amount, the value of the remaining data amount is set to “0”. Can be more reliably prevented from being interrupted.

【0088】さらに、割込処理の実行の可否の判断時に
割込許容量と比較される割込要求量に、既に割込処理さ
れたプリントジョブの印刷データ量である既割込量を加
算することにより、単一のプリントジョブに対して印刷
データ量の少ない多数のプリントジョブが繰り返し割込
処理されることがなく、最初に開始されたプリントジョ
ブの終了時間が際限なく延長されることを防止できる。
Further, the existing interrupt amount, which is the print data amount of the print job that has already been subjected to the interrupt processing, is added to the interrupt request amount that is compared with the allowable interrupt amount when determining whether or not to execute the interrupt processing. As a result, a large number of print jobs with a small amount of print data are not repeatedly interrupted for a single print job, and the end time of the first started print job is prevented from being extended endlessly. it can.

【0089】なお、上記第2の実施形態と同様に、ホス
トコンピュータ200及び300等のそれぞれにおい
て、ユーザが割込レベル232及び332を設定できる
ようにしておき、割込許容率及び割込要求量を割込レベ
ル232及び332によって補正するようにしてもよ
い。これによって、プリントジョブの割込状態をきめ細
かく設定することができる。また、割込レベル232及
び332を“0”又は“1”の値をとるフラグとするこ
とにより、割込処理の可否を設定を容易にすることがで
きる。
As in the second embodiment, the user can set the interrupt levels 232 and 332 in each of the host computers 200 and 300 so that the interrupt permission rate and the interrupt request amount can be set. May be corrected by the interrupt levels 232 and 332. Thereby, the interruption state of the print job can be set finely. In addition, by setting the interrupt levels 232 and 332 as a flag having a value of “0” or “1”, it is possible to easily set whether or not to perform the interrupt process.

【0090】また、この実施形態に係る印刷システムで
は、割込処理の可否の判定を実際の印刷データ量そのも
のを用いて行うようにしているが、第1〜第3の実施形
態と同様に印刷データとして処理時間を用いることもで
きる。この場合に、s42における処理では、ホストコ
ンピュータ200の制御部210に計時部214を設
け、この計時部214においてページ毎の印刷処理の開
始タイミングからの経過時間を計時し、計時部214の
計時時間とページ毎の印刷データの予測処理時間との比
に基づいて、印刷処理中のページにおける残りデータ量
の多少を判断するようにしてもよい。
Further, in the printing system according to this embodiment, the determination as to whether or not to execute the interrupt processing is made by using the actual print data amount itself. Processing time can be used as data. In this case, in the process at s42, the control unit 210 of the host computer 200 is provided with a clock unit 214, and the clock unit 214 measures the elapsed time from the start timing of the printing process for each page. The remaining data amount in the page being printed may be determined based on the ratio of the estimated data processing time to the print data for each page.

【0091】さらに、印刷システムに含まれる汎用のパ
ーソナルコンピュータに記録媒体を介してプログラムを
供給することにより、上記第4の実施形態において説明
した処理を実行させることができる。
Further, by supplying the program to a general-purpose personal computer included in the printing system via a recording medium, the processing described in the fourth embodiment can be executed.

【0092】[0092]

【発明の効果】請求項1に記載した発明によれば、プリ
ンタが実行中のプリントジョブ、及び、割込要求に係る
プリントジョブの印刷データ量に基づいて、いずれのプ
リントジョブを優先して実行するかを決定することによ
り、プリンタにおいて各プリントジョブを完了するまで
に要する時間を考慮してプリントジョブ毎に実行順序を
決定することができ、印刷データ量の少ないプリントジ
ョブが長時間にわたって待機状態となる不都合を解消す
ることができ、複数のホスト装置のユーザ間における不
公平感を緩和することができる。
According to the first aspect of the present invention, which print job is executed with priority based on the print job being executed by the printer and the print data amount of the print job related to the interrupt request. The print job can be determined for each print job in consideration of the time required for the printer to complete each print job. Can be solved, and the feeling of unfairness among users of a plurality of host devices can be reduced.

【0093】請求項2に記載した発明によれば、プリン
タにおいて実行中のプリントジョブ又は割込要求に係る
プリントジョブのいずれを優先して実行するかを、各プ
リントジョブの処理時間に基づいて決定することによ
り、各プリントジョブを出力したホスト装置におけるユ
ーザの感覚に適合した状態で各プリントジョブの実行順
序を決定することができ、複数のホスト装置のユーザ間
における不公平感を緩和することができる。
According to the second aspect of the present invention, which of the print job being executed in the printer and the print job related to the interrupt request is to be executed with priority is determined based on the processing time of each print job. By doing so, it is possible to determine the execution order of each print job in a state adapted to the user's feeling in the host device that has output each print job, and to reduce unfairness among users of a plurality of host devices. it can.

【0094】請求項3に記載した発明によれば、プリン
タが実行中のプリントジョブにおける未処理の印刷デー
タ量から算出した割込許容量と、割込要求に係るプリン
トジョブの割込データ量と、の比較結果に基づいて、プ
リンタにおいて実行中のプリントジョブ又は割込要求に
係るプリントジョブのいずれを優先して実行するかを決
定することにより、プリンタにおけるプリントジョブの
進行状態を考慮して複数のプリントジョブの優先度を決
定することができる。
According to the third aspect of the present invention, the allowable interrupt amount calculated from the unprocessed print data amount in the print job being executed by the printer, the interrupt data amount of the print job related to the interrupt request, and , Based on the comparison result, it is determined which of the print job being executed in the printer or the print job related to the interrupt request is to be preferentially executed. Of the print job can be determined.

【0095】請求項4に記載した発明によれば、プリン
タが実行中のプリントジョブにおける未処理の印刷デー
タ量が所定量よりも少なくなった時点で、割込処理を許
可すべきプリントジョブの印刷データ量を減少すること
により、プリンタが実行中のプリントジョブの終了間際
に多量の印刷データ量のプリントジョブが割込処理され
ることを防止し、プリンタにおいて最初に開始されたプ
リントジョブの終了タイミングが著しく遅延することを
防止できる。
According to the fourth aspect of the present invention, when the amount of unprocessed print data in a print job being executed by the printer becomes smaller than a predetermined amount, printing of a print job for which interrupt processing is to be permitted is performed. By reducing the amount of data, it is possible to prevent a print job having a large amount of print data from being interrupted just before the end of a print job being executed by the printer, and to end the print job first started by the printer. Can be prevented from being significantly delayed.

【0096】請求項5に記載した発明によれば、今回の
割込処理の可否の判定において、今回の割込処理に係る
プリントジョブの割込データ量に、プリンタが実行中の
プリントジョブに対して既に割込処理されたプリントジ
ョブの印刷データ量を加算し、加算後の割込データ量を
割込許容量と比較することにより、単一のプリントジョ
ブに対して複数のプリントジョブが繰り返し割込処理さ
れることを防止することができ、プリンタにおいて最初
に開始されたプリントジョブの終了タイミングが著しく
遅延することを防止できる。
According to the fifth aspect of the present invention, in determining whether or not the current interrupt processing is possible, the amount of interrupt data of the print job relating to the current interrupt processing includes the amount of interrupt data for the print job being executed by the printer. By adding the print data amount of the print job that has already been interrupted and comparing the added interrupt data amount with the allowable interrupt amount, multiple print jobs can be repeatedly assigned to a single print job. And the end timing of the print job first started in the printer can be prevented from being significantly delayed.

【0097】請求項6に記載した発明によれば、割込許
容量及び割込データ量をホスト装置において設定された
調整用データによって調整することにより、複数のホス
ト装置の相互関係を考慮して、プリンタにおいて実行中
のプリントジョブと割込要求に係るプリントジョブとの
実行順序を決定することができる。
According to the sixth aspect of the present invention, by adjusting the allowable interrupt amount and the amount of interrupt data using the adjustment data set in the host device, the mutual relationship between a plurality of host devices is considered. The execution order of the print job being executed in the printer and the print job related to the interrupt request can be determined.

【0098】請求項7に記載した発明によれば、各ペー
ジにおける印刷処理の進行状態に応じて、割込処理の開
始タイミングを決定することにより、1ページ分の印刷
処理の終了間際において他のプリントジョブの割込処理
を開始したり、1ページ分の印刷処理の開始直後から長
時間にわたって割込処理を待機させることがなく、実行
中のプリントジョブ及び割込要求に係るプリントジョブ
の双方について終了タイミングの著しい遅延を防止する
ことができる。
According to the seventh aspect of the present invention, the start timing of the interrupt process is determined according to the progress of the print process in each page, so that another print process is completed immediately before the end of the print process for one page. It is not necessary to start the interrupt processing of the print job or to wait for the interrupt processing for a long time immediately after the start of the print processing for one page. A remarkable delay in the end timing can be prevented.

【0099】請求項8に記載した発明によれば、印刷シ
ステムを構成するプリンタにおいて、割込許容量と割込
データ量との比較に基づく割込処理の可否判断を行うこ
とにより、割込処理の可否の判断をプリンタにおいて集
中して実行し、割込処理の可否の判断結果を画一的にし
て複数のホスト装置における公平性を担保することがで
きる。
According to the eighth aspect of the present invention, in the printer constituting the printing system, it is determined whether or not the interrupt processing can be performed based on the comparison between the allowable interrupt amount and the interrupt data amount. Is determined centrally in the printer, and the results of the determination as to whether interrupt processing is possible can be uniformly performed to ensure fairness among a plurality of host devices.

【0100】請求項9に記載した発明によれば、印刷シ
ステムを構成する複数のホスト装置のそれぞれにおい
て、割込許容量と割込データ量との比較に基づく割込処
理の可否判断を行うことにより、印刷処理を行うべきプ
リンタの処理負担を軽減することができるとともに、各
ホスト装置及び各プリントジョブの特性を割込処理の実
行の可否の判断結果に容易に反映させることができる。
According to the ninth aspect of the present invention, in each of the plurality of host devices constituting the printing system, it is determined whether or not the interrupt processing can be performed based on a comparison between the allowable interrupt amount and the interrupt data amount. This makes it possible to reduce the processing load on the printer that should perform the printing process, and to easily reflect the characteristics of each host device and each print job in the determination result of whether or not to execute the interrupt process.

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

【図1】この発明の第1の実施形態に係る印刷システム
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing system according to a first embodiment of the present invention.

【図2】ホストコンピュータ200から出力された印刷
データに基づく印刷処理中におけるデータの入出力状態
を示す図である。
FIG. 2 is a diagram showing an input / output state of data during a printing process based on print data output from a host computer 200.

【図3】実行中のプリントジョブに対する割込許容量を
決定する際のデータの入出力状態を示す図である。
FIG. 3 is a diagram illustrating an input / output state of data when determining an allowable interrupt amount for a print job being executed.

【図4】ホストコンピュータ200から出力されたプリ
ントジョブの実行中に、ホストコンピュータ300から
新規のプリントジョブ要求が出力された場合におけるデ
ータの入出力状態を示す図である。
FIG. 4 is a diagram illustrating an input / output state of data when a new print job request is output from the host computer 300 during execution of a print job output from the host computer 200.

【図5】プリンタ100の印刷データ処理部111がホ
ストコンピュータ200から出力された印刷データの展
開処理を実行中に、割込処理部112がホストコンピュ
ータ300から出力されたプリントジョブの割込処理を
許可した場合のデータの入出力状態を示す図である。
FIG. 5 is a diagram illustrating an example in which a print data processing unit 111 of a printer 100 executes a process of expanding print data output from a host computer 200. FIG. 6 is a diagram illustrating an input / output state of data when permission is granted.

【図6】この発明の第2の実施形態に係る印刷システム
における割込処理の可否判定時におけるデータの入出力
状態を示す図である。
FIG. 6 is a diagram illustrating an input / output state of data at the time of determining whether or not to perform an interrupt process in a printing system according to a second embodiment of the present invention.

【図7】この発明の第3の実施形態に係る印刷システム
を構成するプリンタの制御部における割込タイミングの
設定処理を示す図である。
FIG. 7 is a diagram illustrating an interrupt timing setting process in a control unit of a printer constituting a printing system according to a third embodiment of the present invention.

【図8】上記第1及び第3の実施形態を含む印刷システ
ムにおける処理手順を示すフローチャートである。
FIG. 8 is a flowchart illustrating a processing procedure in a printing system including the first and third embodiments.

【図9】上記印刷システムのプリンタにおける割込許容
データ量の算出時の処理手順を示すフローチャートであ
る。
FIG. 9 is a flowchart illustrating a processing procedure when calculating an allowable interrupt data amount in a printer of the printing system.

【図10】この発明の第4の実施形態に係る印刷システ
ムの構成を示すブロック図である。
FIG. 10 is a block diagram illustrating a configuration of a printing system according to a fourth embodiment of the present invention.

【図11】この発明の第4の実施形態に係る印刷システ
ムを構成するホストコンピュータの処理手順を示すフロ
ーチャートである。
FIG. 11 is a flowchart illustrating a processing procedure of a host computer configuring a printing system according to a fourth embodiment of the present invention.

【図12】上記第4の実施形態に係る印刷システムにお
けるデータの入出力状態を示す図である。
FIG. 12 is a diagram showing an input / output state of data in the printing system according to the fourth embodiment.

【図13】同データの入出力状態を示す図である。FIG. 13 is a diagram showing an input / output state of the data.

【図14】同データの入出力状態を示す図である。FIG. 14 is a diagram showing an input / output state of the data.

【図15】従来の印刷システムの構成を示すブロック図
である。
FIG. 15 is a block diagram illustrating a configuration of a conventional printing system.

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

100−プリンタ 110−制御部 112−割込処理部 150−処理状態記憶部 200,300−ホストコンピュータ(ホスト装置) 212,312−処理量予測部 400−ネットワーク 100-Printer 110-Control Unit 112-Interruption Processing Unit 150-Processing State Storage Unit 200, 300-Host Computer (Host Device) 212, 312-Processing Volume Prediction Unit 400-Network

───────────────────────────────────────────────────── フロントページの続き (72)発明者 叶 尚幸 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 2C061 AP01 HK23 HQ10 HR01 5B021 AA01 CC04 CC05 EE01  ────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Naoyuki Kano 22-22, Nagaikecho, Abeno-ku, Osaka-shi, Osaka F-term (reference) 2C061 AP01 HK23 HQ10 HR01 5B021 AA01 CC04 CC05 EE01

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】複数のホスト装置から出力されたプリント
ジョブを実行するプリンタを含む印刷システムに適用さ
れる印刷制御方法において、 プリンタが実行中のプリントジョブの印刷データ量から
割込許容量を算出し、割込要求に係るプリントジョブの
印刷データ量である割込データ量が割込許容量の範囲内
であるか否かに応じて割込処理の可否を判定することを
特徴とする印刷制御方法。
1. A print control method applied to a printing system including a printer that executes print jobs output from a plurality of host devices, wherein an allowable interrupt amount is calculated from a print data amount of a print job being executed by the printer. And determining whether or not to perform an interrupt process based on whether or not an interrupt data amount, which is a print data amount of a print job related to the interrupt request, is within a range of an allowable interrupt amount. Method.
【請求項2】割込データ量及び割込許容量として印刷デ
ータの処理時間を用いて割込処理の可否を判定する請求
項1に記載の印刷制御方法。
2. The print control method according to claim 1, wherein whether or not the interruption process is possible is determined by using a processing time of the print data as the interruption data amount and the interruption allowable amount.
【請求項3】プリンタが実行中のプリントジョブに係る
印刷データにおいて未処理の印刷データ量から割込許容
量を算出する請求項1又は2に記載の印刷制御方法。
3. The print control method according to claim 1, wherein an allowable interrupt amount is calculated from an unprocessed print data amount in the print data relating to the print job being executed by the printer.
【請求項4】プリンタが実行中のプリントジョブに係る
印刷データにおいて未処理の印刷データ量が予め設定さ
れた所定量よりも少なくなった際に、割込許容量を減少
する請求項3に記載の印刷制御方法。
4. The printer according to claim 3, wherein when the amount of unprocessed print data in the print data relating to the print job being executed by the printer becomes smaller than a predetermined amount, the allowable interrupt amount is reduced. Print control method.
【請求項5】プリンタが実行中のプリントジョブに対し
て既に割込処理されたプリントジョブに係る印刷データ
量を割込データ量に加算して割込処理の可否を判定する
請求項1乃至4のいずれかに記載の印刷制御方法。
5. The printer according to claim 1, further comprising: adding a print data amount of the print job which has already been subjected to the interrupt processing to the print job being executed by the printer to the interrupt data amount to determine whether the interrupt processing is possible. The print control method according to any one of the above.
【請求項6】複数のホスト装置のそれぞれにおいて設定
された調整用データに基づいて、割込許容量及び割込デ
ータ量を調整する請求項1乃至5のいずれかに記載の印
刷制御方法。
6. The print control method according to claim 1, wherein an allowable interrupt amount and an interrupt data amount are adjusted based on adjustment data set in each of the plurality of host devices.
【請求項7】プリンタが印刷処理中のページにおける未
処理の印刷データ量に基づいて、割込処理の開始タイミ
ングを決定する請求項1乃至6のいずれかに記載の印刷
制御方法。
7. The print control method according to claim 1, wherein the start timing of the interrupt processing is determined based on the amount of unprocessed print data in the page being printed by the printer.
【請求項8】請求項1乃至7のいずれかに記載の印刷制
御方法が適用される印刷システムにおいて、割込処理の
可否を判定する処理をプリンタにおいて実行することを
特徴とする印刷システム。
8. A print system to which the print control method according to claim 1 is applied, wherein the printer executes a process of determining whether or not an interrupt process can be performed.
【請求項9】請求項1乃至7のいずれかに記載の印刷制
御方法が適用される印刷システムにおいて、割込処理の
可否を判定する処理を、プリンタにおいて実行中のプリ
ントジョブを出力したホスト装置が実行することを特徴
とする印刷システム。
9. A host apparatus which outputs a print job being executed by a printer in a printing system to which the print control method according to claim 1 is applied. And a printing system.
JP06308999A 1999-03-10 1999-03-10 Printing control method and printing system Expired - Fee Related JP3592575B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06308999A JP3592575B2 (en) 1999-03-10 1999-03-10 Printing control method and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06308999A JP3592575B2 (en) 1999-03-10 1999-03-10 Printing control method and printing system

Publications (2)

Publication Number Publication Date
JP2000259374A true JP2000259374A (en) 2000-09-22
JP3592575B2 JP3592575B2 (en) 2004-11-24

Family

ID=13219258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06308999A Expired - Fee Related JP3592575B2 (en) 1999-03-10 1999-03-10 Printing control method and printing system

Country Status (1)

Country Link
JP (1) JP3592575B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014062307A1 (en) * 2012-10-17 2014-04-24 Spencer & Associates Publishing Ltd. Evaluation of output-producing asset productivity

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014062307A1 (en) * 2012-10-17 2014-04-24 Spencer & Associates Publishing Ltd. Evaluation of output-producing asset productivity
US10332057B2 (en) 2012-10-17 2019-06-25 Spencermetrics Llc Evaluation of output-producing asset productivity
US10657481B2 (en) 2012-10-17 2020-05-19 Spencermetrics Llc Evaluation of output-producing asset productivity

Also Published As

Publication number Publication date
JP3592575B2 (en) 2004-11-24

Similar Documents

Publication Publication Date Title
US7031014B2 (en) Image forming system for tandem printing and user notification
US8189221B2 (en) Image forming device for executing a designated process with priority without canceling a previously accepted process
JP2007018282A (en) Process control system and its control method
US20110273737A1 (en) Information processing apparatus, image forming apparatus management method, and program
JPH06139031A (en) Printer controller
JP3592575B2 (en) Printing control method and printing system
JP3239753B2 (en) Network control method and control server device
US20130242346A1 (en) Image forming apparatus, image forming system, and image forming method
JP2000158762A (en) Imaging apparatus, imaging method and memory medium
JP2000194524A (en) Printing job interruption system and method therefor
JP2006212918A (en) Image forming apparatus and image processing program
JP2021079672A (en) Image forming device and communication control method
JP3173721B2 (en) Printer and operation method thereof
JP2005096165A (en) Printing method
JPH09190317A (en) Printing device and printing method
JPH11191050A (en) Data output system, data processing method for data output system and storage medium storing computer readable program
JPH07271538A (en) Output device and its control method, information processing method and device therefor and network system
JPH08111727A (en) Facsimile equipment
JPH0512173A (en) Information processor
JP3983178B2 (en) Image forming apparatus
JP2003266901A (en) Printer
JP4155512B2 (en) Multiple access control system and control method thereof
JPH10289188A (en) Server-client communication priority controller
JPH0772768A (en) Image forming system
JP2005305711A (en) Image forming apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040311

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040810

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040825

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100903

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110903

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120903

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees