JP2010176465A - Job control device - Google Patents
Job control device Download PDFInfo
- Publication number
- JP2010176465A JP2010176465A JP2009019327A JP2009019327A JP2010176465A JP 2010176465 A JP2010176465 A JP 2010176465A JP 2009019327 A JP2009019327 A JP 2009019327A JP 2009019327 A JP2009019327 A JP 2009019327A JP 2010176465 A JP2010176465 A JP 2010176465A
- Authority
- JP
- Japan
- Prior art keywords
- job
- processing
- print job
- printer
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明はジョブ制御装置に関し、特に、ジョブ処理装置でジョブを処理する際に、時間的な制限がある場合に用いられるジョブ制御装置に関する。 The present invention relates to a job control apparatus, and more particularly to a job control apparatus used when there is a time restriction when a job is processed by a job processing apparatus.
ネットワークにプリンターを接続し、このプリンターを同じネットワークに接続された他のコンピューターと共用する印刷システムが広く普及している。このような印刷システムにおいては、コンピューターとプリンターとの間に、プリンターサーバーを設け、コンピューターから送信された印刷ジョブは、このプリンターサーバーで一旦受信され、このプリンターサーバーにおける印刷ジョブの順番などの管理を受けながら、プリンターで印刷が行われるようにして、コンピューターとプリンターの双方の有効利用が図れるようにしていることも多い。 Printing systems that connect a printer to a network and share the printer with other computers connected to the same network are widely used. In such a printing system, a printer server is provided between the computer and the printer, and a print job transmitted from the computer is temporarily received by the printer server, and the order of the print jobs in the printer server is managed. In many cases, printing is performed by the printer while receiving, so that both the computer and the printer can be used effectively.
さらに、このような印刷システムにおいては、多くのユーザーがプリンターを利用することから、このプリンターを利用できる時間に制限を設けている場合もある。例えば、あるユーザーAは、プリンターを8:00から19:00までは利用できるが、19:00から翌8:00までは利用できないというような制限である。この制限がある場合、ユーザーAが19:00間際に印刷ジョブを投入した場合、このプリンターで19:00までには処理される必要があり、19:00を過ぎると19:00前に投入した印刷ジョブであっても処理が行われなくなってしまう。 Further, in such a printing system, since many users use the printer, there is a case where there is a limit on the time that the printer can be used. For example, a certain user A can use the printer from 8:00 to 19:00, but cannot use it from 19:00 to the next 8:00. If there is this restriction, if user A submits a print job just before 19:00, it must be processed by this printer before 19:00, and after 19:00, it was submitted before 19:00. Even a print job is not processed.
このような時間的な制限は、ユーザーに関連付けられて定められている場合だけでなく、印刷ジョブに関連付けられて定められている場合や、プリンターに関連付けられて定められている場合もある。このような場合でも、印刷制限時刻の間際に投入された印刷ジョブは、プリンターが空くのをまっている間に印刷制限時刻を経過してしまい、印刷処理が行われない可能性が生じてしまう。 Such a time limit may be determined not only in association with a user but also in association with a print job or in association with a printer. Even in such a case, a print job submitted just before the print restriction time may pass through the print restriction time while the printer is idle, and the print process may not be performed. .
このような問題を解決するため、特開2006−218804号公報(特許文献1)では、プリンターサーバーに投入された印刷ジョブの処理時間をプリンターサーバが予測し、この予測の結果、印刷制限時刻までに印刷ができないと判断された印刷ジョブについては、簡易印刷に変更して印刷を行うことにより、印刷時間を短縮し、印刷制限時刻までに印刷が完了するようにしている。 In order to solve such a problem, in Japanese Patent Laid-Open No. 2006-218804 (Patent Document 1), the printer server predicts the processing time of a print job input to the printer server, and as a result of the prediction, the print time limit is reached. For a print job that is determined to be unprintable, the printing time is shortened by changing to simple printing and printing is completed by the print restriction time.
しかしながら、この特開2006−218804号公報で開示する手法では、印刷結果がユーザーの期待するものと異なってしまうことになる。例えば、カラー印刷を指定したにも拘わらず、モノクロ印刷の印刷物が出力されてしまうことになる。このため、たとえ印刷が完了したとしても、ユーザーの満足度は低くなってしまう恐れもある。 However, with the method disclosed in Japanese Patent Laid-Open No. 2006-218804, the print result is different from what the user expects. For example, even though color printing is designated, monochrome printed matter is output. For this reason, even if printing is completed, the user's satisfaction may be lowered.
このような問題は、プリンターのジョブを制御するプリンターサーバーに限らず、プリンター以外のジョブ処理装置のジョブを制御するジョブ制御装置であれば、同様に生じ得る。 Such a problem is not limited to a printer server that controls a job of a printer, but can occur similarly in a job control apparatus that controls a job of a job processing apparatus other than a printer.
そこで本発明は、前記課題に鑑みてなされたものであり、処理制限時刻のあるジョブ処理において、ジョブ処理の内容を変更せずとも、処理制限時刻までにジョブ処理が行われるようにして、ジョブ処理に関するユーザーの満足度を向上させることを目的とする。 Therefore, the present invention has been made in view of the above problems, and in job processing with a processing time limit, the job processing is performed by the processing time limit without changing the content of the job processing. The objective is to improve user satisfaction with processing.
上記の課題を解決するために、本発明に係るジョブ制御装置は、
ジョブ処理装置で処理されるジョブの制御を行うジョブ制御装置であって、
投入されたジョブの処理順位を管理し、投入された順番でジョブの処理が行われるようにジョブの管理を行う、処理順位管理手段と、
前記処理順位管理手段で管理されているジョブの処理時間を予測して、新たに投入されたジョブが、その処理制限時刻までに処理されるかどうかを判断する、判断手段と、
前記判断手段が前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記処理制限時刻までにその処理が間に合うように、ジョブの処理内容を変更することなく、前記処理順位管理手段におけるジョブの処理方法を変更する、変更手段と、
を備えることを特徴とする。
In order to solve the above problems, a job control apparatus according to the present invention provides:
A job control device that controls jobs processed by the job processing device,
A processing order management means for managing the processing order of the submitted jobs and managing the jobs so that the jobs are processed in the order of submission;
A determination unit that predicts a processing time of a job managed by the processing order management unit and determines whether a newly submitted job is processed by the processing time limit;
When the determination unit determines that the newly submitted job is not processed by the processing time limit, without changing the processing content of the job so that the processing is in time by the processing time limit, Changing means for changing a job processing method in the processing order management means;
It is characterized by providing.
この場合、前記処理制限時刻は、ジョブを生成するユーザーに関連付けられて定められているようにしてもよい。 In this case, the processing time limit may be determined in association with the user who generates the job.
或いは、前記処理制限時刻は、ジョブに関連付けられて定められているようにしてもよい。 Alternatively, the processing time limit may be set in association with a job.
或いは、前記処理制限時刻は、前記ジョブ処理装置に関連付けられて定められているようにしてもよい。 Alternatively, the processing time limit may be set in association with the job processing apparatus.
また、前記変更手段は、前記判断手段が前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記処理制限時刻までに前記新たに投入されたジョブの処理が行われるように、前記処理順位管理手段におけるジョブの処理順位を入れ替えるようにしてもよい。 Further, when the determination unit determines that the newly submitted job is not processed by the processing time limit, the changing unit performs processing of the newly input job by the processing time limit. As is done, the job processing order in the processing order management means may be changed.
或いは、前記変更手段は、前記判断手段が前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記処理制限時刻までに前記新たに投入されたジョブの処理が行われるように、前記新たに投入されたジョブを複数のジョブ処理装置に分散させて処理させるようにしてもよい。 Alternatively, when the determination unit determines that the newly submitted job is not processed by the processing time limit, the changing unit performs processing of the newly input job by the processing time limit. As described above, the newly submitted job may be distributed to a plurality of job processing apparatuses for processing.
或いは、前記変更手段は、前記判断手段が前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記処理制限時刻までに前記新たに投入されたジョブの処理が行われるように、前記新たに投入されたジョブを、指定されたジョブ処理装置から他のジョブ処理装置に変更して処理させるようにしてもよい。 Alternatively, when the determination unit determines that the newly submitted job is not processed by the processing time limit, the changing unit performs processing of the newly input job by the processing time limit. As described above, the newly submitted job may be changed from a designated job processing device to another job processing device for processing.
本発明に係るジョブ制御装置の制御方法は、
ジョブ処理装置で処理されるジョブの制御を行うジョブ制御装置であって、投入されたジョブの処理順位を管理し、投入された順番でジョブの処理が行われるようにジョブの管理を行う、処理順位管理手段を備えるジョブ制御装置の制御方法において、
前記ジョブ制御装置が、前記処理順位管理手段で管理されているジョブの処理時間を予測して、新たに投入されたジョブが、その処理制限時刻までに処理されるかどうかを判断するステップと、
前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記ジョブ制御装置が、前記処理制限時刻までにその処理が間に合うように、ジョブの処理内容を変更することなく、前記処理順位管理手段におけるジョブの処理方法を変更するステップと、
を備えることを特徴とする。
The control method of the job control apparatus according to the present invention includes:
A job control device that controls jobs processed by the job processing device, manages the processing order of submitted jobs, and manages jobs so that jobs are processed in the order of submission In a control method of a job control apparatus including a rank management unit,
The job control device predicting the processing time of the job managed by the processing order management means and determining whether or not a newly submitted job is processed by the processing time limit;
If it is determined that the newly submitted job is not processed by the processing time limit, the job control device changes the processing content of the job so that the processing can be completed by the processing time limit Without changing the job processing method in the processing order management means,
It is characterized by providing.
本発明に係るプログラムは、
ジョブ処理装置で処理されるジョブの制御を行うジョブ制御装置であって、投入されたジョブの処理順位を管理し、投入された順番でジョブの処理が行われるようにジョブの管理を行う、処理順位管理手段を備えるジョブ制御装置の制御を行うプログラムにおいて、
前記処理順位管理手段で管理されているジョブの処理時間を予測して、新たに投入されたジョブが、その処理制限時刻までに処理されるかどうかを判断するステップと、
前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記処理制限時刻までにその処理が間に合うように、ジョブの処理内容を変更することなく、前記処理順位管理手段におけるジョブの処理方法を変更するステップと、
を前記ジョブ制御装置に実行させることを特徴とする。
The program according to the present invention is:
A job control device that controls jobs processed by the job processing device, manages the processing order of submitted jobs, and manages jobs so that jobs are processed in the order of submission In a program for controlling a job control device having a rank management means,
Predicting the processing time of a job managed by the processing order management means, and determining whether a newly submitted job is processed by the processing time limit;
When it is determined that the newly submitted job is not processed by the processing time limit, the processing order management is performed without changing the processing content of the job so that the processing can be completed by the processing time limit. Changing the job processing method in the means;
Is executed by the job control apparatus.
以下、図面を参照して、本発明の実施形態を説明する。なお、以下に説明する実施形態は、本発明の技術的範囲を限定するものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the embodiments described below do not limit the technical scope of the present invention.
〔第1実施形態〕
図1は、本発明の第1実施形態に係る印刷システム10の全体構成を示すブロック図である。この図1に示すように、本実施形態に係る印刷システム10は、ネットワーク12に接続された、1又は複数のコンピューター14と、プリンターサーバー16とを備えており、このプリンターサーバー16を介して接続されたプリンター18を備えている。
[First Embodiment]
FIG. 1 is a block diagram showing the overall configuration of a printing system 10 according to the first embodiment of the present invention. As shown in FIG. 1, the printing system 10 according to this embodiment includes one or a plurality of
この図1の例では、3台のコンピューター14A〜14Cが、ネットワーク12に接続されており、1台のプリンター18が、プリンターサーバー16に接続されている。但し、ネットワーク12に接続されるコンピューター14の台数は任意であり、プリンターサーバ16に接続されるプリンター18の台数も任意である。
In the example of FIG. 1, three
ネットワーク12は、いわゆるローカルエリアネットワークであり、このプリンター18を複数のコンピューター14で共用することを1つの目的として、ネットワークが構築されている。コンピューター14は、印刷ジョブを生成し、プリンター18に送信する、ジョブ生成装置の一例であり、例えば、パーソナルコンピューターやPDA(Personal Digital Assistant)などにより構成されている。プリンター18は、ジョブ生成装置で生成されたジョブを受信して、そのジョブの処理を行うジョブ処理装置の一例である。
The
図2は、本実施形態に係るプリンターサーバー16の内部構成の一例を示すブロック図である。この図2に示すように、本実施形態に係るプリンターサーバー16は、CPU(Central Processing Unit)20と、RAM(Random Access Memory)22と、ROM(Read Only Memory)24と、ハードディスクドライブ26と、ユーザーインターフェース28と、表示画面30と、通信インターフェース32と、プリンター接続インターフェース34とを備えて構成されている。これらCPU20と、RAM22と、ROM24と、ハードディスクドライブ26と、ユーザーインターフェース28と、表示画面30と、通信インターフェース32と、プリンター接続インターフェース34は、内部バス36を介して相互に接続されている。
FIG. 2 is a block diagram illustrating an example of the internal configuration of the
CPU20は、このプリンターサーバー16の全体的な制御を行う制御部を構成する。特に、本実施形態においては、CPU20は、主として、コンピューター14から受信した印刷ジョブをスプーラーを用いて管理し、プリンター18の稼働状況に応じて、適宜、スプーラーに存在する印刷ジョブをプリンター18に送信し、プリンター18で出力させるための制御を行う。また、CPU20は、このプリンターサーバー16における各種の制御を行うにあたり、その制御を実現するのに必要なプログラムをROM24やハードディスクドライブ26から読み込んだり、生成されたデーターをRAM22やユーザーハードディスクドライブ26に書き込んだりする。
The
ハードディスクドライブ26は、いわゆる大容量の補助記憶装置を構成しており、プログラムの他、コンピューター14から受信した印刷ジョブなども不揮発的に記憶される。ユーザーインターフェース28は、ユーザーがこのプリンターサーバー16に各種の情報や指示を入力するためのインターフェースである。例えば、このユーザーインターフェースは、キーボードやマウスなどにより、構成されている。
The
表示画面30は、プリンターサーバー16が各種の情報を表示するための画面である。例えば、この表示画面30は、LCD(Liquid Crystal Display)装置により構成されていてもよいし、CRT(Cathode Ray Tube)装置により構成されていてもよい。また、図2では、表示画面30は、このプリンターサーバー16の本体に一体に設けられている場合を図示しているが、表示画面30はプリンターサーバー16の本体とは別個に設けられるようにしてもよい。この場合、プリンターサーバー16の本体と表示画面30との間は、ケーブル等により接続されることとなる。
The
通信インターフェース32は、プリンターサーバー16をネットワーク12に接続するためのインターフェースである。このため、本実施形態においては、この通信インターフェース32とネットワーク12とを介して、プリンターサーバー16とコンピューター14との間の通信が実現される。
The
プリンター接続インターフェース34は、プリンター18をプリンターサーバー16に接続するためのインターフェースである。具体的には、このプリンター接続インターフェース34に、プリンターケーブルの一端を接続し、このプリンターケーブルの他端をプリンター18に接続することにより、プリンター18とプリンターサーバー16とが接続される。このため、本実施形態においては、このプリンター接続インターフェース34を介して、プリンターサーバー16とプリンター18との間の通信が実現される。
The
次に、図3に基づいて、本実施形態に係るプリンターサーバー16が行う印刷ジョブの制御について概略的に説明する。この図3は、プリンターサーバー16が行ったジョブ処理時間の予測を模式的に示している。すなわち、スプーラーに溜まっている印刷ジョブのそれぞれの処理時間を予測し、その処理開始時刻と処理完了時刻とを予測した状態を、概念的に説明するための図である。
Next, the print job control performed by the
この図3(a)に示すように、プリンターサーバー16がプリンター18用に形成しているスプーラーに、印刷ジョブA1と印刷ジョブB1がある状態で、新たに印刷ジョブC1が投入されてきたとする。印刷ジョブA1を生成したユーザーは、ユーザーAであり、印刷ジョブB1を生成したユーザーは、ユーザーBであり、印刷ジョブC1を生成したユーザーは、ユーザーCであるとする。そして、ここで、ユーザーCは、プリンター18に対して印刷制限時間が設定されており、印刷制限時刻である19:00以降は印刷ができない設定になっている。
As shown in FIG. 3A, it is assumed that a print job C1 is newly input in a state where the print server A1 and the print job B1 are present in the spooler formed by the
このような状況の下、印刷制限時刻の間際である18:55に、ユーザーCの印刷ジョブC1が、プリンターサーバー16におけるプリンター18のスプーラーに投入されたとする。例えば、コンピューター14Cから、このプリンターサーバー16に印刷ジョブC1が送信され、プリンター18のスプーラーに印刷ジョブC1が投入されたとする。この場合、投入された順番に印刷ジョブの処理を行うと、印刷ジョブC1が実際にプリンター18で処理されるのは19:00以降になってしまい、その印刷が実現できなくなってしまう。
Under such circumstances, it is assumed that the print job C1 of the user C is input to the spooler of the
そこで、本実施形態に係るプリンターサーバー16では、図3(b)に示すように、印刷ジョブC1を印刷ジョブB1よりも前の印刷順位に移動して、印刷ジョブC1と印刷ジョブB1の双方が印刷されるかどうかを判断する。例えば、印刷ジョブB1を生成したユーザーBには、プリンター18に対して印刷時間制限が設定されていない場合には、このような印刷ジョブの入れ替えを行っても、印刷ジョブB1の印刷は行われる。また、印刷ジョブC1の印刷処理も、19:00までに終了するため、この印刷ジョブC1の印刷も正常に行われる。このような場合には、プリンターサーバー16は、図3(b)に示すように、スプーラー内の印刷ジョブB1と印刷ジョブC1の処理順序を入れ替えて、プリンター18で印刷を行うようにするのである。
Therefore, in the
図4は、このような処理をプリンターサーバー16で実現するために、プリンターサーバー16で実行される印刷ジョブ変更処理の内容を説明するためのフローチャートを示す図である。この印刷ジョブ変更処理は、プリンターサーバー16に新たな印刷ジョブが投入された場合に、起動される処理である。すなわち、プリンター18のスプーラーに新に印刷ジョブを追加する場合に、起動される処理である。
FIG. 4 is a flowchart for explaining the contents of a print job change process executed by the
また、この印刷ジョブ変更処理は、プリンターサーバー16のCPU20が、ROM24又はハードディスクドライブ26に格納されている印刷ジョブ変更処理プログラムを読み込んで実行することにより、実現される処理である。以下の説明では、上述の図3に示したように、印刷ジョブA1、印刷ジョブB1、印刷ジョブC1の順に、スプーラーに印刷ジョブが投入されたと仮定する。
The print job change process is realized by the
この図4に示すように、この印刷ジョブ変更処理が起動されると、まず、プリンターサーバー16は、新しく投入された印刷ジョブを生成したユーザーを特定する(ステップS100)。図5は、本実施形態に係る印刷ジョブのデーターフォーマットの一例を示す図である。この図5に示すように、本実施形態に係る印刷ジョブには、印刷すべきデーターである印刷データーと、これに付随する情報として、この印刷ジョブを生成したユーザーを特定する情報であるユーザー特定情報とを、少なくとも含んで構成されている。このため、ステップS100では、プリンターサーバー16は、この印刷ジョブを解析して、印刷ジョブを生成したユーザーが誰であるのかを特定する。
As shown in FIG. 4, when the print job change process is started, first, the
次に、図4に示すように、プリンターサーバー16は、ステップS100で特定したユーザーの印刷制限時刻を取得する(ステップS102)。このユーザーの印刷制限時刻は、例えば、プリンターサーバー16に予め登録しておくことができる。図6は、本実施形態に係るプリンターサーバー16が保持する、印刷制限時間管理テーブルTB10の構成の一例を示す図である。この印刷制限時間管理テーブルTB10は、例えば、ハードディスクドライブ26に形成され、保持されている。印刷制限時間管理テーブルTB10では、ユーザー特定情報と、そのユーザー特定情報で特定されるユーザーの印刷制限時間とが、関連付けられて、保持されている。
Next, as shown in FIG. 4, the
ステップS102においては、プリンターサーバー16は、このハードディスクドライブ26にある印刷制限時間管理テーブルTB10を検索して、ステップS100で特定したユーザーに、印刷制限時間があるかどうかを判断し、印刷制限時間がある場合には、その開始時刻である印刷制限時刻を取得する。例えば、ステップS100において特定したユーザーCのユーザー特定情報が「C123456」であったとすると、プリンターサーバー16は、印刷制限時間管理テーブルTB10を検索することにより、このユーザーCの印刷制限時間が19:00から翌8:00であり、印刷制限の開始時刻である印刷制限時刻が19:00であると特定することができる。
In step S102, the
次に、図4に示すように、プリンターサーバー16は、新たに投入された印刷ジョブが、ステップS102で取得した印刷制限時刻までに終了するかどうかを判断する(ステップS104)。具体的には、プリンターサーバー16は、図3(a)で例示したような各印刷ジョブの印刷処理時間を予測して、各印刷ジョブの印刷完了時刻を予測する。そして、予測した印刷完了時刻が、ステップS102で取得した印刷制限時刻より前であるかどうかを判断する。図3(a)の例では、印刷ジョブC1の印刷完了時刻は、ユーザーCの印刷制限時刻の19:00より後であるので、この印刷ジョブC1は、印刷制限時刻までに印刷が終了しないと判断する。
Next, as shown in FIG. 4, the
ステップS104において、投入された印刷ジョブが印刷制限時刻までに印刷が終了しないと判断した場合(ステップS104:NO)には、プリンターサーバー16は、投入された印刷ジョブよりも印刷順位が前にある印刷ジョブの中で、印刷順位を後ろに移動しても、その印刷制限時刻までに印刷が終了するジョブがあり、且つ、その印刷ジョブの印刷順位を後ろに移動することにより、投入された印刷ジョブがその印刷制限時刻までに印刷が終了するようになるかどうかを判断する(ステップS106)。
If it is determined in step S104 that printing has not been completed for the input print job by the print limit time (step S104: NO), the
例えば、図3(a)の例では、印刷ジョブC1が18:55に投入された時点で、印刷ジョブB1の処理は、まだ、開始されていない。このため、プリンターサーバー16は、図3(b)に示すように、この印刷ジョブB1の印刷順位の前に、印刷ジョブC1を移動しても、印刷ジョブB1の印刷が印刷制限時刻までに行われるかどうかを判断する。印刷ジョブB1の印刷制限時刻は、ステップS100、ステップS102と同様の手法で、プリンターサーバー16が取得する。すなわち、印刷ジョブB1を生成したユーザーBを、印刷ジョブB1を解析することにより特定し、この特定されたユーザーBの印刷制限時刻を印刷制限時間管理テーブルTB10を検索することにより特定する。そして、印刷ジョブB1と印刷ジョブC1の印刷完了時刻を予測し、ユーザーBの印刷制限時刻までに、印刷順位を移動した印刷ジョブB1の印刷が終了するかどうかを判断する。
For example, in the example of FIG. 3A, when the print job C1 is submitted at 18:55, the processing of the print job B1 has not yet started. For this reason, as shown in FIG. 3B, even if the
例えば、ユーザーBのユーザー特定情報が「B232323」であり、印刷制限時間管理テーブルTB10を検索した結果、ユーザーBの印刷制限時刻は設定されていなかったとすると、図3(b)に示すように、印刷ジョブB1の印刷順位を印刷ジョブC1の後ろに移動しても、印刷ジョブB1はプリンター18で正常に印刷されると予測することができる。さらにまた、印刷ジョブC1を、印刷ジョブB1の印刷順位の前に移動することにより、印刷ジョブC1も、ユーザーCの印刷制限時刻までに印刷が完了すると予測されている。
For example, if the user specific information of the user B is “B232323” and the print time limit of the user B is not set as a result of searching the print time limit management table TB10, as shown in FIG. Even if the print order of the print job B1 is moved behind the print job C1, it can be predicted that the print job B1 is normally printed by the
このように、投入された印刷ジョブよりも印刷順位が前にある印刷ジョブの中で、印刷順位を後ろに移動しても、その印刷制限時刻までに印刷が終了するジョブがあり、且つ、前にある印刷ジョブを後ろに移動することにより、投入された印刷ジョブがその印刷制限時刻までに印刷が終了するようになると判断した場合(ステップS106:YES)には、プリンターサーバー16は、その印刷順位を入れ替える(ステップS108)。
In this way, among print jobs that have a print order earlier than the input print job, even if the print order is moved backward, there is a job that will finish printing by the print limit time, and the previous If it is determined that printing of the input print job will be completed by the print limit time (YES in step S106), the
図3の例では、図3(a)にある印刷ジョブC1の印刷順位を、図3(b)のように印刷ジョブB1の前に移動する。これにより、印刷ジョブC1は、ユーザーCの印刷制限時刻までに処理が終了するようになり、また、印刷ジョブB1も、ユーザーBの印刷制限時刻までに処理が終了するようになる。これにより、この印刷ジョブ変更処理を終了する。 In the example of FIG. 3, the print order of the print job C1 shown in FIG. 3A is moved before the print job B1 as shown in FIG. 3B. As a result, the process of the print job C1 ends by the user C print limit time, and the process of the print job B1 also ends by the user B print limit time. Thus, the print job change process is terminated.
これに対して、上述したステップS104において、新たにスプーラーに投入された印刷ジョブを、投入された順番で処理しても印刷制限時刻までに終了すると判断した場合(ステップS104:YES)、又は、上述したステップS106において、印刷順位を後ろに移動しても印刷制限時刻までに印刷が終了する印刷ジョブが無い、或いは、移動したとしても投入した印刷ジョブが印刷制限時刻までに終了しないと判断した場合(ステップS106:NO)には、印刷ジョブの印刷順位の入れ替えをすることなく、この印刷ジョブ変更処理を終了する。 On the other hand, if it is determined in step S104 described above that the print job newly input to the spooler will be completed by the print limit time even if it is processed in the input order (step S104: YES), or In step S106 described above, it is determined that there is no print job that will be printed by the print limit time even if the print order is moved backward, or that the input print job will not be completed by the print limit time even if it is moved. In this case (step S106: NO), this print job change process is terminated without changing the print order of the print jobs.
すなわち、スプーラーに投入された順番で印刷ジョブを処理しても、新たに投入された印刷ジョブが印刷制限時刻までに終了するのであれば、そのままの印刷順位で印刷を行う。また、新たに投入された印刷ジョブが印刷制限時刻までに終了せずとも、印刷順位を後ろに移動して印刷制限時刻までに終了する印刷ジョブが無い場合には、印刷ジョブの印刷順位の入れ替えは行わないようにしている。これは、すでに印刷ジョブがスプーラーに投入されているので、この投入されている印刷順位を尊重した方が、この印刷システム10を利用するユーザーの利便性は良くなると考えられるからである。 That is, even if the print jobs are processed in the order in which they are input to the spooler, if the newly input print job is completed by the print limit time, printing is performed in the same print order. Even if a newly submitted print job does not end by the print limit time, if there is no print job that moves backward in the print order and ends by the print limit time, the print order of the print job is switched. Do not do. This is because a print job has already been input to the spooler, and it is considered that the convenience of the user who uses the printing system 10 is better if the input print order is respected.
さらに、たとえ他の印刷ジョブを後ろに移動しても、新たに投入した印刷ジョブが印刷制限時刻までに終了しない場合にも、印刷ジョブの印刷順位の入れ替えは行わないようにしている。これは、新たに投入した印刷ジョブが印刷制限時刻までに印刷が終了しないのであれば、印刷順位を入れ替える意味がないためである。 Further, even if another print job is moved backward, the print order of the print job is not changed even if the newly input print job does not end by the print limit time. This is because there is no point in changing the printing order if the newly submitted print job does not finish printing before the print limit time.
以上のように、本実施形態に係る印刷システム10によれば、プリンターサーバー16は、スプーラーで管理されている印刷ジョブの処理時間を予測し、新たに投入された印刷ジョブが、その印刷ジョブを生成したユーザーの印刷制限時刻までに終了するかどうかを判断することとした。そして、印刷制限時刻までに終了しないと判断した場合には、スプーラーに溜まっている印刷ジョブのそれぞれの印刷完了時刻を推測して、新たに投入された印刷ジョブよりも前の印刷順位にある印刷ジョブを、新たに投入した印刷ジョブの後ろに移動することにより、後ろに移動した印刷ジョブもその印刷ジョブを生成したユーザーの印刷制限時刻までに印刷が終了し、且つ、新たに投入された印刷ジョブもその印刷ジョブを生成したユーザーの印刷制限時刻までに印刷が終了するようになるかどうかを調べる。その上で、もし、このような印刷ジョブの入れ替えを行うことにより、後ろに移動した印刷ジョブの印刷が正常に行われ、且つ、新たに投入された印刷ジョブの印刷も正常に行われると予測できる場合には、印刷ジョブの入れ替えを行うことにより、双方の印刷ジョブの印刷が行われるようにしているのである。
As described above, according to the printing system 10 according to the present embodiment, the
このため、印刷時刻に制限があるにも拘わらず、ユーザーは、指定した通りの印刷設定で印刷結果を得ることができるようになる。例えば、印刷ジョブの設定がカラー印刷である場合には、設定通りのカラー印刷で印刷結果を取得することができる。このため、印刷結果に対するユーザーの満足度を向上させることができる。 For this reason, the user can obtain the print result with the print setting as specified, although the print time is limited. For example, when the print job setting is color printing, the print result can be acquired by color printing as set. For this reason, the user's satisfaction with the printing result can be improved.
〔第2実施形態〕
上述した第1実施形態は、各ユーザー毎にプリンター18の印刷制限時間が設定されている印刷システム10に本発明を適用した例であるが、第2実施形態では、各印刷ジョブに対して印刷制限時刻が設定されている印刷システム10に本発明を適用したものである。以下、上述した第1実施形態と異なる部分を説明する。
[Second Embodiment]
The first embodiment described above is an example in which the present invention is applied to the printing system 10 in which the printing time limit of the
図7は、本実施形態に係るプリンターサーバー16が行う印刷ジョブの制御について概略的に説明するための図であり、上述した図3に対応する図である。この図7は、プリンターサーバー16が行ったジョブ処理時間の予測を模式的に示している。すなわち、スプーラーに溜まっている印刷ジョブのそれぞれの処理時間を予測し、その処理開始時刻と処理完了時刻とを予測した状態を、概念的に説明するための図である。
FIG. 7 is a diagram for schematically explaining control of a print job performed by the
この図7(a)に示すように、プリンターサーバー16がプリンター18用に形成しているスプーラーに、印刷ジョブA2と印刷ジョブB2がある状態で、新たに印刷ジョブC2が投入されてきたとする。印刷ジョブA2と印刷ジョブB2には、印刷制限時刻が設定されてないが、印刷ジョブC2には、19:00までの印刷制限時刻が設定されている。すなわち、印刷ジョブC2のジョブとしての有効期限が19:00になっている。このため、印刷ジョブC2は、印刷制限時刻の19:00までに、その処理が終了していなければならない。
As shown in FIG. 7A, it is assumed that a print job C2 is newly input in a state where the print server A2 and the print job B2 are in the spooler formed by the
このような状況の下、18:55に、ユーザーCの印刷ジョブC2が、プリンターサーバー16におけるプリンター18のスプーラーに投入されたとすると、投入された順番で印刷ジョブの処理を行うと、印刷ジョブC2が実際にプリンター18で処理されるのは19:00以降になってしまい、その印刷が実現できなくなってしまう。
Under such circumstances, if the print job C2 of the user C is input to the spooler of the
そこで、本実施形態に係るプリンターサーバー16では、図7(b)に示すように、印刷ジョブC2を印刷ジョブB2よりも前の印刷順位に移動して、印刷ジョブC2と印刷ジョブB2の双方が印刷されるかどうかを判断する。例えば、印刷ジョブB2には印刷制限時刻が設定されていない場合には、このような印刷ジョブの入れ替えを行っても、印刷ジョブB2の印刷は正常に行われる。また、印刷ジョブC2の印刷処理も、19:00までに終了するため、この印刷ジョブC2の印刷も正常に行われる。このような場合には、プリンターサーバー16は、図7(b)に示すように、印刷ジョブB2と印刷ジョブC2の処理順序を入れ替えて、プリンター18で印刷を行うようにするのである。
Therefore, in the
図8は、このような処理をプリンターサーバー16で実現するために、プリンターサーバー16で実行される印刷ジョブ変更処理の内容を説明するためのフローチャートを示す図である。この印刷ジョブ変更処理は、プリンターサーバー16に新たな印刷ジョブが投入された場合に、起動される処理である。すなわち、プリンター18のスプーラーに新に印刷ジョブを追加する場合に、起動される処理である。
FIG. 8 is a flowchart for explaining the contents of a print job change process executed by the
また、この印刷ジョブ変更処理は、プリンターサーバー16のCPU20が、ROM24又はハードディスクドライブ26に格納されている印刷ジョブ変更処理プログラムを読み込んで実行することにより、実現される処理である。以下の説明では、上述の図7に示したように、印刷ジョブA2、印刷ジョブB2、印刷ジョブC2の順に、スプーラーに印刷ジョブが投入されたと仮定する。
The print job change process is realized by the
この図8に示すように、この印刷ジョブ変更処理が起動されると、まず、プリンターサーバー16は、新しくスプーラーに投入された印刷ジョブの印刷制限時刻を取得する(ステップS200)。図9は、本実施形態に係る印刷ジョブのデーターフォーマットの一例を示す図である。この図9に示すように、本実施形態に係る印刷ジョブには、印刷すべきデーターである印刷データーと、これに付随する情報として、この印刷ジョブの有効期限である印刷制限時刻とを、少なくとも含んで構成されている。このため、ステップS200では、プリンターサーバー16は、この印刷ジョブを解析して、新しく投入された印刷ジョブの印刷制限時刻を特定する。
As shown in FIG. 8, when this print job change process is started, the
次に、図8に示すように、プリンターサーバー16は、新たに投入された印刷ジョブが、ステップS200で取得した印刷制限時刻までに終了するかどうかを判断する(ステップS202)。具体的には、プリンターサーバー16は、図7(a)で例示したような各印刷ジョブの印刷処理時間を予測して、各印刷ジョブの印刷完了時刻を予測する。そして、新たに投入された印刷ジョブについて予測した印刷完了時刻が、ステップS200で取得した印刷制限時刻より前であるかどうかを判断する。図7(a)の例では、印刷ジョブC2の印刷完了時刻は、印刷制限時刻の19:00より後であるので、この印刷ジョブC2は、印刷制限時刻までに印刷が終了しないと判断する。
Next, as shown in FIG. 8, the
ステップS202において、投入された印刷ジョブの印刷処理が印刷制限時刻までに終了しないと判断した場合(ステップS202:NO)には、プリンターサーバー16は、投入された印刷ジョブよりも印刷順位が前にある印刷ジョブの中で、印刷順位を後ろに移動しても、その印刷制限時刻までに印刷が終了するジョブがあり、且つ、前にある印刷ジョブを後ろに移動することにより、投入された印刷ジョブがその印刷制限時刻までに印刷が終了するようになるかどうかを判断する(ステップS204)。
If it is determined in step S202 that the print processing of the input print job is not completed by the print limit time (step S202: NO), the
例えば、図7(a)の例では、印刷ジョブC1が18:55に投入された時点で、印刷ジョブB2の処理は、まだ、開始されていない。このため、プリンターサーバー16は、図7(b)に示すように、この印刷ジョブB2の印刷順位の前に、印刷ジョブC2を移動しても、印刷ジョブB2の印刷が印刷制限時刻までに行われるかどうかを判断する。印刷ジョブB2の印刷制限時刻は、ステップS200と同様の手法で、プリンターサーバー16が取得する。すなわち、印刷ジョブB2を解析して、印刷ジョブB2の印刷制限時刻を取得する。そして、印刷ジョブB2と印刷ジョブC2の印刷完了時刻を予測し、印刷ジョブB2を後ろに移動しても、印刷ジョブB2の印刷制限時刻までに、印刷ジョブB2の印刷が終了するかどうかを判断する。ここでは、印刷ジョブB2には、印刷制限時刻が設定されていないと仮定する。
For example, in the example of FIG. 7A, when the print job C1 is input at 18:55, the processing of the print job B2 has not yet started. Therefore, as shown in FIG. 7B, even if the
図7(b)の例の場合、印刷ジョブB2の印刷順位を印刷ジョブC2の後ろに移動しても、印刷ジョブB2には印刷制限時刻が設定されていないため、印刷ジョブB2はプリンター18で正常に印刷されると予測することができる。また、印刷ジョブC2を、印刷ジョブB2の印刷順位の前に移動することにより、印刷ジョブC2も、印刷ジョブC2の印刷制限時刻までに印刷が完了すると予測されている。
In the case of the example of FIG. 7B, even if the print order of the print job B2 is moved to the back of the print job C2, the print job B2 is set by the
このように、投入された印刷ジョブよりも印刷順位が前にある印刷ジョブの中で、印刷順位を後ろに移動しても、その印刷制限時刻までに印刷が終了する印刷ジョブがあり、且つ、前にある印刷ジョブを後ろに移動することにより、投入された印刷ジョブがその印刷制限時刻までに印刷が終了するようになると判断した場合(ステップS204:YES)には、プリンターサーバー16は、その印刷順位を入れ替える(ステップS206)。
As described above, among print jobs having a print order earlier than the input print job, there is a print job whose printing ends by the print limit time even if the print order is moved backward, and If it is determined that printing of the input print job will be completed by the print limit time by moving the previous print job backward (step S204: YES), the
図7の例では、図7(a)にある印刷ジョブC2の印刷順位を、図7(b)のように印刷ジョブB2の前に移動する。これにより、印刷ジョブC2は、印刷ジョブC2に設定されている印刷制限時刻までに処理が終了するようになり、また、印刷ジョブB2も、印刷ジョブB2に設定されている印刷制限時刻までに処理が終了するようになる。これにより、この印刷ジョブ変更処理を終了する。 In the example of FIG. 7, the print order of the print job C2 in FIG. 7A is moved before the print job B2 as shown in FIG. 7B. As a result, the processing of the print job C2 ends by the print restriction time set for the print job C2, and the print job B2 is also processed by the print restriction time set for the print job B2. Will end. Thus, the print job change process is terminated.
これに対して、上述したステップS202において、投入された印刷ジョブをスプーラーに投入された順番で処理しても、印刷制限時刻までに終了すると判断した場合(ステップS202:YES)、又は、上述したステップS204において、印刷順位を後ろに移動しても印刷制限時刻までに印刷が終了する印刷ジョブが無い、或いは、移動したとしても投入した印刷ジョブが印刷制限時刻までに終了しないと判断した場合(ステップS204:NO)には、印刷ジョブの印刷順位の入れ替えをすることなく、この印刷ジョブ変更処理を終了する。 On the other hand, if it is determined in step S202 described above that the input print jobs are processed in the order in which they are input to the spooler, the print job will be completed by the print limit time (step S202: YES), or as described above. If it is determined in step S204 that there is no print job whose printing will be completed by the print limit time even if the print order is moved backward, or that the input print job will not be completed by the print limit time even if it is moved (step S204). In step S204: NO), the print job changing process is terminated without changing the print order of the print jobs.
すなわち、スプーラーに投入された順番で印刷ジョブを処理しても、新たに投入された印刷ジョブが印刷制限時刻までに終了するのであれば、そのままの印刷順位で印刷を行う。また、新たに投入された印刷ジョブが印刷制限時刻までに終了せずとも、印刷順位を後ろに移動して印刷制限時刻までに終了する印刷ジョブが無い場合には、印刷ジョブの印刷順位の入れ替えは行わないようにしている。これは、すでに印刷ジョブがスプーラーに投入されているので、この投入されている印刷順位を尊重した方が、印刷システム10のユーザーの利便性は良くなると考えられるからである。 That is, even if the print jobs are processed in the order in which they are input to the spooler, if the newly input print job is completed by the print limit time, printing is performed in the same print order. Even if a newly submitted print job does not end by the print limit time, if there is no print job that moves backward in the print order and ends by the print limit time, the print order of the print job is switched. Do not do. This is because the print job has already been input to the spooler, and it is considered that the convenience of the user of the printing system 10 is improved if the input print order is respected.
さらに、たとえ他の印刷ジョブを後ろに移動しても、新たに投入した印刷ジョブが印刷制限時刻までに終了しない場合にも、印刷ジョブの印刷順位の入れ替えは行わないようにしている。これは、新たに投入した印刷ジョブが印刷制限時刻までに印刷が終了しないのであれば、印刷順位を入れ替える意味がないためである。 Further, even if another print job is moved backward, the print order of the print job is not changed even if the newly input print job does not end by the print limit time. This is because there is no point in changing the printing order if the newly submitted print job does not finish printing before the print limit time.
以上のように、本実施形態に係る印刷システム10によれば、プリンターサーバー16は、スプーラーで管理されている印刷ジョブの処理時間を予測し、新たに投入された印刷ジョブが、その印刷ジョブに設定されている印刷制限時刻までに終了するかどうかを判断することとした。そして、印刷制限時刻までに終了しないと判断した場合には、スプーラーに溜まっている印刷ジョブのそれぞれの印刷完了時刻を予測して、新たに投入された印刷ジョブよりも前の印刷順位にある印刷ジョブを、新たに投入した印刷ジョブの後ろに移動することにより、後ろに移動した印刷ジョブもその印刷ジョブに設定されている印刷制限時刻までに印刷が終了し、且つ、新たに投入された印刷ジョブもその印刷ジョブに設定されている印刷制限時刻までに印刷が終了するようになるかどうかを調べる。その上で、もし、このような印刷ジョブに入れ替えを行うことにより、後ろに移動した印刷ジョブの印刷が正常に行われ、且つ、新たに投入された印刷ジョブの印刷も正常に行われると予測できる場合には、印刷ジョブの入れ替えを行うことにより、双方の印刷ジョブの印刷が行われるのである。
As described above, according to the printing system 10 according to the present embodiment, the
このため、印刷時刻に制限があるにも拘わらず、ユーザーは、指定した通りの印刷設定で印刷結果を得ることができるようになる。例えば、印刷ジョブの設定がカラー印刷である場合には、設定通りのカラー印刷で印刷結果を取得することができる。このため、印刷結果に対するユーザーの満足度を向上させることができる。 For this reason, the user can obtain the print result with the print setting as specified, although the print time is limited. For example, when the print job setting is color printing, the print result can be acquired by color printing as set. For this reason, the user's satisfaction with the printing result can be improved.
〔第3実施形態〕
上述した第1実施形態はユーザーに対して印刷制限時刻が設定されている印刷システム、上述した第2実施形態は印刷ジョブに対して印刷制限時刻が設定されている印刷システムに、本発明を適用した例であるが、本発明の第3実施形態は、プリンター18に対して印刷制限時刻が設定されている印刷システム10に、本発明を適用したものである。以下、上述した第1実施形態と異なる部分を説明する。
[Third Embodiment]
The first embodiment described above applies the present invention to a printing system in which a print time limit is set for a user, and the second embodiment described above applies to a printing system in which a print time limit is set for a print job. In the third embodiment of the present invention, the present invention is applied to the printing system 10 in which the print restriction time is set for the
図10は、本実施形態に係るプリンターサーバー16が行う印刷ジョブの制御について概略的に説明するための図であり、上述した図3に対応する図である。この図10は、プリンターサーバー16が行ったジョブ処理時間の予測を模式的に示している。すなわち、スプーラーに溜まっている印刷ジョブのそれぞれの処理時間を予測し、その処理開始時刻と処理完了時刻とを予測した状態を、概念的に説明するための図である。
FIG. 10 is a diagram for schematically explaining control of a print job performed by the
この図10(a)に示すように、プリンターサーバー16がプリンター18用に形成しているスプーラーに、印刷ジョブA3と印刷ジョブB3がある状態で、新たに印刷ジョブC3が投入されてきたとする。また、プリンター18自体に、印刷制限時刻が設定されており、例えば、プリンター18の印刷制限時刻が19:00であったと仮定する。このため、プリンター18では、印刷制限時刻である19:00までに印刷処理を開始した印刷ジョブは最後まで印刷を行うが、印刷制限時刻である19:00以降に印刷処理を開始する印刷ジョブは受け付けない仕組みになっている。
As shown in FIG. 10A, it is assumed that a print job C3 is newly input in a state where there are a print job A3 and a print job B3 in a spooler formed by the
このような状況の下、18:55に、ユーザーCの印刷ジョブC3が、プリンターサーバー16におけるプリンター18のスプーラーに投入されたとすると、スプーラーに投入された順番で印刷ジョブの処理を行うと、印刷ジョブC3の処理が実際にプリンター18で開始されるのは19:00以降になってしまい、その印刷が実現できなくなってしまう。
Under these circumstances, if the print job C3 of the user C is input to the spooler of the
そこで、本実施形態に係るプリンターサーバー16では、図10(b)に示すように、印刷ジョブC3を印刷ジョブB3よりも前の印刷順位に移動して、印刷ジョブC3と印刷ジョブB3の双方が印刷されるかどうかを判断する。例えば、印刷ジョブC3を印刷ジョブA3の処理が終了した後に開始するようにすると、この印刷ジョブC3の処理は、18:58に終了すると予測されている。そして、18:58に印刷ジョブB3の処理をプリンター18で開始すれば、印刷ジョブB3も処理が最後まで行われる。このような場合には、プリンターサーバー16は、図10(b)に示すように、印刷ジョブB3と印刷ジョブC3の処理順序を入れ替えて、プリンター18で印刷を行うようにするのである。
Therefore, in the
図11は、このような処理をプリンターサーバー16で実現するために、プリンターサーバー16で実行される印刷ジョブ変更処理の内容を説明するためのフローチャートを示す図である。この印刷ジョブ変更処理は、プリンターサーバー16に新たな印刷ジョブが投入された場合に、起動される処理である。すなわち、プリンター18のスプーラーに新に印刷ジョブを追加する場合に、起動される処理である。
FIG. 11 is a flowchart for explaining the contents of a print job change process executed by the
また、この印刷ジョブ変更処理は、プリンターサーバー16のCPU20が、ROM24又はハードディスクドライブ26に格納されている印刷ジョブ変更処理プログラムを読み込んで実行することにより、実現される処理である。以下の説明では、上述の図11に示したように、印刷ジョブA3、印刷ジョブB3、印刷ジョブC3の順に、スプーラーに印刷ジョブが投入されたと仮定する。
The print job change process is realized by the
この図4に示すように、この印刷ジョブ変更処理が起動されると、まず、プリンターサーバー16は、新しく投入された印刷ジョブの印刷をするプリンターを特定する(ステップS300)。投入された印刷ジョブの処理をするプリンターを如何にして特定するかは、任意である。本実施形態においては、例えば、図12に示すように、印刷ジョブに、印刷データーに加えて、印刷処理をするプリンターを特定する情報であるプリンター特定情報が、少なくとも、含まれている。このため、プリンターサーバー16は、この印刷ジョブを解析することにより、その印刷ジョブの印刷処理をするプリンターを特定することができる。ここでは、プリンター18が、印刷処理を行うプリンターとして、印刷ジョブに指定されていたとする。
As shown in FIG. 4, when the print job change process is started, first, the
次に、図11に示すように、プリンターサーバー16は、ステップS300で特定したプリンターに関する印刷制限時刻を特定する(ステップS302)。プリンターの印刷制限時間は、例えば、プリンターの管理者が、それぞれのプリンター自体に予め設定している。本実施形態においては、この印刷制限時間の設定は、プリンターの管理者がプリンターに設定する際に、プリンターサーバー16にも、その印刷制限時間を予め登録しておくこととしている。なお、プリンターの管理者がプリンターサーバー16に、プリンターの印刷制限時間を登録するのではなく、接続されているプリンターにプリンターサーバー16がアクセスし、各プリンターから、設定されている印刷制限時間を取得するようにしてもよい。
Next, as shown in FIG. 11, the
図13は、本実施形態に係るプリンターサーバー16が保持する、印刷制限時間管理テーブルTB20の構成の一例を示す図である。この印刷制限時間管理テーブルTB20は、例えば、ハードディスクドライブ26に形成され、保持されている。印刷制限時間管理テーブルTB20には、プリンターを特定するためのプリンター特定情報と、印刷を制限する時間である印刷制限時間とが、対応付けられて、保持されている。この印刷制限時間の開始時刻が、本実施形態における印刷制限時刻となる。
FIG. 13 is a diagram showing an example of the configuration of the print time limit management table TB20 held by the
ステップS302においては、プリンターサーバー16は、このハードディスクドライブ26にある印刷制限時間管理テーブルTB20を検索して、ステップS300で特定したプリンターに、印刷制限時間があるかどうかを判断し、印刷制限時間がある場合には、その開始時刻である印刷制限時刻を取得する。例えば、ステップS300において特定したプリンター18のプリンター特定情報が「X123456」であったとすると、プリンターサーバー16は、印刷制限時間管理テーブルTB20を検索することにより、このプリンター18の印刷制限時間が19:00から翌8:00であり、印刷制限の開始時刻である印刷制限時刻が19:00であると特定することができる。
In step S302, the
次に、図11に示すように、プリンターサーバー16は、新たにスプーラー投入された印刷ジョブの処理が、投入された順番で処理を行った場合に、ステップS302で取得した印刷制限時刻までに開始されるかどうかを判断する(ステップS304)。具体的には、プリンターサーバー16は、図10(a)で例示したような各印刷ジョブの印刷処理時間を予測して、各印刷ジョブの印刷開始時刻を予測する。そして、予測した印刷開始時刻が、ステップS302で取得した印刷制限時刻より前であるかどうかを判断する。図10(a)の例では、印刷ジョブC3の印刷開始時刻は、プリンター18の印刷制限時刻の19:00より後であるので、この印刷ジョブC3は、印刷制限時刻までに印刷が終了しないと判断する。
Next, as illustrated in FIG. 11, the
ステップS304において、投入された印刷ジョブが印刷制限時刻までに印刷が開始されないと判断した場合(ステップS304:NO)には、プリンターサーバー16は、投入された印刷ジョブよりも印刷順位が前にある印刷ジョブの印刷順位を後ろに移動すると、後ろに移動した印刷ジョブも新たに投入した印刷ジョブも、ともに、プリンター18の印刷制限時刻までに印刷が開始されるようになるかどうかを判断する(ステップS306)。
If it is determined in step S304 that printing has not started for the input print job before the print restriction time (step S304: NO), the
例えば、図10(a)の例では、印刷ジョブC3が18:55に投入された時点で、印刷ジョブB3の処理は、まだ、開始されていない。このため、プリンターサーバー16は、図10(b)に示すように、この印刷ジョブB3の印刷順位の前に、印刷ジョブC3を移動しても、印刷ジョブB3の印刷がプリンター18の印刷制限時刻までに開始されるかどうかを判断する。図10(b)の例では、印刷ジョブB3の印刷順位を印刷ジョブC3の後ろに移動しても、印刷ジョブB3はプリンター18の印刷制限時刻までにその処理が開始されると予測されていることを示している。
For example, in the example of FIG. 10A, when the print job C3 is input at 18:55, the processing of the print job B3 has not yet started. Therefore, even if the
このように、投入された印刷ジョブよりも印刷順位が前にある印刷ジョブの印刷順位を後ろに移動することにより、この移動した印刷ジョブも、新たに投入された印刷ジョブもともに、プリンターの印刷制限時刻までに印刷が開始されるようになると判断した場合(ステップS306:YES)には、プリンターサーバー16は、その印刷順位を入れ替える(ステップS308)。
In this way, by moving the print order of the print job with the print order before the input print job to the back, both the moved print job and the newly input print job can be printed by the printer. If it is determined that printing will be started before the time limit (step S306: YES), the
図10の例では、図10(a)にある印刷ジョブC3の印刷順位を、図10(b)のように印刷ジョブB3の前に移動する。これにより、印刷ジョブC3は、プリンター18の印刷制限時刻までに処理が開始されるようになり、また、印刷ジョブB3も、プリンター18の印刷制限時刻までに処理が開始されるようになる。印刷ジョブB3は、プリンター18の印刷制限時刻までにはその処理が開始されているため、処理の途中で19:00になったとしても、最後まで処理は続行される。これにより、本実施形態に係る印刷ジョブ変更処理は終了する。
In the example of FIG. 10, the print order of the print job C3 in FIG. 10A is moved before the print job B3 as shown in FIG. 10B. As a result, the processing of the print job C3 is started before the print limit time of the
これに対して、上述したステップS304において、スプーラーに投入された順番で印刷ジョブの処理を行っても、投入された印刷ジョブの処理が、プリンターの印刷制限時刻までに開始されると判断した場合(ステップS304:YES)、又は、上述したステップS306において、前にある印刷ジョブの印刷順位を後ろに移動すると、その移動した印刷ジョブの処理が印刷制限時刻までに開始されない、或いは、移動したとしても投入した印刷ジョブの処理が印刷制限時刻までに開始されないと判断した場合(ステップS306:NO)には、印刷ジョブの印刷順位の入れ替えをすることなく、この印刷ジョブ変更処理を終了する。 On the other hand, when it is determined in step S304 described above that the processing of the input print job is started by the printer print time limit even if the processing of the print job is performed in the order of input to the spooler. (Step S304: YES) Or, if the print order of the previous print job is moved backward in Step S306 described above, the processing of the moved print job is not started or moved by the print restriction time If it is determined that the processing of the input print job is not started before the print limit time (step S306: NO), the print job change processing is terminated without changing the print order of the print jobs.
すなわち、スプーラーに投入された順番で印刷ジョブを処理しても、新たに投入された印刷ジョブの処理がプリンターの印刷制限時刻までに開始されるのであれば、そのままの印刷順位で印刷を行う。また、印刷順位を後ろに移動して印刷制限時刻までに処理の開始される印刷ジョブが無い場合には、新たに投入された印刷ジョブの処理が印刷制限時刻までに開始せずとも、印刷ジョブの印刷順位の入れ替えは行わないようにしている。これは、すでに印刷ジョブがスプーラーに投入されているので、この投入されている印刷順位を尊重した方が、印刷システム10のユーザーの利便性は良くなると考えられるからである。 That is, even if the print jobs are processed in the order in which they are input to the spooler, if the processing of the newly input print job is started before the print limit time of the printer, printing is performed in the same print order. If there is no print job whose processing is started by the print limit time after moving the print order backward, the print job can be processed even if the processing of the newly submitted print job does not start by the print limit time. The printing order is not changed. This is because the print job has already been input to the spooler, and it is considered that the convenience of the user of the printing system 10 is improved if the input print order is respected.
さらに、たとえ他の印刷ジョブを後ろに移動しても、新たに投入した印刷ジョブの処理が印刷制限時刻までに開始されない場合にも、印刷ジョブの印刷順位の入れ替えは行わないようにしている。これは、新たに投入した印刷ジョブの処理が印刷制限時刻までに開始されないのであれば、印刷順位を入れ替える意味がないためである。 Further, even if another print job is moved backward, the print order of the print job is not changed even when the processing of the newly input print job is not started by the print limit time. This is because it is meaningless to change the printing order if processing of a newly input print job is not started by the print limit time.
以上のように、本実施形態に係る印刷システム10によれば、プリンターサーバー16は、スプーラーで管理されている印刷ジョブの処理時間を予測し、新たに投入された印刷ジョブが、指定されたプリンターの印刷制限時刻までに開始されるかどうかを判断することとした。そして、印刷制限時刻までに開始されないと判断した場合には、スプーラーに溜まっている印刷ジョブのそれぞれの印刷開始時刻を推定して、新たに投入された印刷ジョブよりも前の印刷順位にある印刷ジョブを、新たに投入した印刷ジョブの後ろに移動することにより、後ろに移動した印刷ジョブもプリンターの印刷制限時刻までに印刷が開始され、且つ、新たに投入された印刷ジョブもプリンターの印刷制限時刻までに印刷が開始されるようになるかどうかを調べる。その上で、もし、このような印刷ジョブに入れ替えを行うことにより、後ろに移動した印刷ジョブの印刷がプリンターの印刷制限時刻までに開始され、且つ、新たに投入された印刷ジョブの印刷もプリンターの印刷制限時刻までに開始されると予測できる場合には、印刷ジョブの入れ替えを行うことにより、双方の印刷ジョブの印刷が行われるようにしている。
As described above, according to the printing system 10 according to the present embodiment, the
このため、印刷時刻に制限があるにも拘わらず、ユーザーは、指定した通りの印刷設定で印刷結果を得ることができるようになる。例えば、印刷ジョブの設定がカラー印刷である場合には、設定通りのカラー印刷で印刷結果を取得することができる。このため、印刷結果に対するユーザーの満足度を向上させることができる。 For this reason, the user can obtain the print result with the print setting as specified, although the print time is limited. For example, when the print job setting is color printing, the print result can be acquired by color printing as set. For this reason, the user's satisfaction with the printing result can be improved.
〔第4実施形態〕
上述した第1実施形態乃至第3実施形態においては、プリンターサーバー16は、1つのプリンターのスプーラー内で印刷ジョブの印刷順位を入れ替えることにより、印刷制限時刻までに印刷ジョブの処理が行われるようにしていた。本発明の第4実施形態では、プリンターサーバー16は、他のプリンターに印刷処理の一部を振り替えることにより、印刷制限時刻までに印刷ジョブの処理が行われるようにしたものである。以下、上述した第1実施形態と異なる部分を説明する。
[Fourth Embodiment]
In the first to third embodiments described above, the
図14は、本発明の第4実施形態に係る印刷システム10の全体構成を示すブロック図である。この図14に示すように、本実施形態に係る印刷システム10では、図1に示した印刷システム10に第2のプリンター19を追加することにより構成されている。すなわち、上述したプリンター18を第1のプリンター18とすると、プリンターサーバー16には、この第1のプリンター18に加えて、第2のプリンター19が接続されている。これら2台のプリンター18、19がプリンターサーバー16に接続されている点以外は、上述した図1の印刷システム10と同一の構成である。
FIG. 14 is a block diagram showing the overall configuration of the printing system 10 according to the fourth embodiment of the present invention. As shown in FIG. 14, the printing system 10 according to the present embodiment is configured by adding a
次に、図15に基づいて、本実施形態に係るプリンターサーバー16が行う印刷ジョブの制御について概略的に説明する。この図15は、プリンターサーバー16が行ったジョブ処理時間の予測を模式的に示している。すなわち、スプーラーに溜まっている印刷ジョブのそれぞれの処理時間を予測し、その処理開始時刻と処理完了時刻とを予測した状態を、概念的に説明するための図である。
Next, a print job control performed by the
この図15(a)に示すように、プリンターサーバー16がプリンター18用に形成しているスプーラに、印刷ジョブA4がある状態で、新たに印刷ジョブC4が投入されてきたとする。印刷ジョブA4を生成したユーザーは、ユーザーAであり、印刷ジョブC4を生成したユーザーは、ユーザーCであるとする。そして、ここでは、ユーザーCは、第1のプリンター18と第2のプリンター19に対して印刷制限時間が設定されており、19:00以降は、プリンター18、19で印刷ができない設定になっている。
As shown in FIG. 15A, it is assumed that a print job C4 is newly input in a state where the print job A4 is present in the spooler formed by the
このような状況の下、18:55に、ユーザーCの印刷ジョブC4が、プリンターサーバー16における第1のプリンター18のスプーラーに投入されたとすると、このままの印刷ジョブの処理順序だと、印刷ジョブC4の印刷処理が実際に第1のプリンター18で終了するのは19:00以降になってしまい、その印刷が実現できなくなってしまう。
Under such circumstances, if the print job C4 of the user C is input to the spooler of the
そこで、本実施形態に係るプリンターサーバー16では、図15(b)に示すように、印刷ジョブC4を、第1のプリンター18による印刷処理と第2のプリンター19による印刷処理とに分散させることにより、印刷制限時刻の19:00までに印刷処理が完了するようにしている。
Therefore, in the
すなわち、印刷ジョブC4が第1のプリンター18のスプーラーに投入された時点で、第2のプリンター19では印刷処理が行われおらず、アイドル状態である。このため、プリンターサーバー16は、印刷ジョブC4の一部の印刷処理を、第1のプリンター18から第2のプリンター19に振り分けて、印刷を行う。例えば、印刷ジョブC4が全20ページで構成されている場合、第1ページから第10ページまでを第1のプリンター18で印刷し、第11ページから第20ページまでを第2のプリンター19で印刷する。ユーザーは、これら第1のプリンター18の印刷結果と第2のプリンター19の印刷結果とを、自分で結合することにより、目的の印刷物を取得することができる。
That is, when the print job C4 is input to the spooler of the
図16は、このような処理をプリンターサーバー16で実現するために、プリンターサーバー16で実行される印刷ジョブ変更処理の内容を説明するためのフローチャートを示す図である。この印刷ジョブ変更処理は、プリンターサーバー16に新たな印刷ジョブが投入された場合に、起動される処理である。すなわち、プリンター18のスプーラーに新に印刷ジョブを追加する場合に、起動される処理である。
FIG. 16 is a flowchart for explaining the contents of a print job change process executed by the
また、この印刷ジョブ変更処理は、プリンターサーバー16のCPU20が、ROM24又はハードディスクドライブ26に格納されている印刷ジョブ変更処理プログラムを読み込んで実行することにより、実現される処理である。以下の説明では、上述の図15に示したように、印刷ジョブA4、印刷ジョブC4の順に、第1のプリンター18のスプーラーに印刷ジョブが投入されたと仮定する。
The print job change process is a process realized by the
この図16に示すように、この印刷ジョブ変更処理が起動されると、まず、プリンターサーバー16は、新しく投入された印刷ジョブを生成したユーザーを特定する(ステップS400)。印刷ジョブを生成したユーザーを特定するための処理は、上述した第1実施形態のステップS100と同様である。
As shown in FIG. 16, when the print job change process is started, first, the
次に、図16に示すように、プリンターサーバー16は、ステップS400で特定したユーザーの印刷制限時刻を取得する(ステップS402)。このユーザーの印刷制限時刻を特定するための処理も、上述した第1実施形態のステップS102と同様である。ここでは、上述した第1実施形態と同様に、ユーザーCの印刷制限時刻が19:00であったと仮定する。
Next, as shown in FIG. 16, the
次に、図16に示すように、プリンターサーバー16は、スプーラーに投入された順番で処理を行った場合に、新たに投入された印刷ジョブが、ステップS402で取得した印刷制限時刻までに終了するかどうかを判断する(ステップS404)。具体的には、プリンターサーバー16は、図15(a)で例示したような各印刷ジョブの印刷処理時間を予測して、各印刷ジョブの印刷完了時刻を予測する。そして、予測した印刷完了時刻が、ステップS402で取得した印刷制限時刻より前であるかどうかを判断する。図15(a)の例では、印刷ジョブC4の印刷完了時刻は、ユーザーCの印刷制限時刻の19:00より後であるので、この印刷ジョブC4は、印刷制限時刻までに印刷が終了しないと判断する。
Next, as illustrated in FIG. 16, when the
ステップS404において、投入された印刷ジョブが印刷制限時刻までに印刷が終了しないと判断した場合(ステップS404:NO)には、プリンターサーバー16は、他のプリンターに印刷ジョブを振り分けることにより、投入された印刷ジョブの印刷処理が、そのユーザーの印刷制限時刻までに終了するようになるかどうかを判断する(ステップS406)。
If it is determined in step S404 that the input print job does not finish printing by the print limit time (step S404: NO), the
例えば、図15(a)の例では、印刷ジョブC4が18:55に投入された時点で、第2のプリンター19は、印刷処理が行われていない。このため、第2のプリンター19を使用すれば、直ちに印刷を開始することができる。また、第1のプリンター18においても、印刷ジョブA4の印刷処理は、19:00よりも前に完了すると予測されている。このため、第1のプリンター18においても、印刷ジョブA4の印刷処理が完了した後に、印刷を行うことができる。
For example, in the example of FIG. 15A, when the print job C4 is input at 18:55, the
したがって、本実施形態においては、プリンターサーバー16は、印刷ジョブC4の一部の処理を第2のプリンター19で直ちに行い、残りを、印刷ジョブA4の印刷処理完了後の第1のプリンター18で行うことにより、印刷ジョブC4をユーザーCの印刷制限時刻までに終了させることができると判断する。
Therefore, in the present embodiment, the
このように、分散印刷を行うことにより、投入された印刷ジョブの印刷がその印刷制限時刻までに終了するようになると判断した場合(ステップS406:YES)には、プリンターサーバー16は、分散印刷を行う(ステップS408)。
As described above, when it is determined that the printing of the input print job is finished by the print restriction time by performing the distributed printing (step S406: YES), the
図15の例では、図15(b)に示すように、印刷ジョブC4の第11ページから第20ページを第2のプリンター19で印刷をするように切り替える。そして、印刷ジョブC4の第1ページから第10ページを第1のプリンター18で印刷をする。すなわち、第1のプリンター18における印刷ジョブA4の印刷処理が完了した後に、第1のプリンター18で、第1ページから第10ページまでの印刷を行う。
In the example of FIG. 15, as shown in FIG. 15B, switching is performed so that the
次に、プリンターサーバー16は、分散印刷をした旨の通知を、ユーザーに送信する(ステップS410)。すなわち、プリンターサーバー16は、ネットワーク12を介して、分散印刷をした印刷ジョブを送信したコンピューター14に、分散印刷を行った旨の通知を送信する。この通知では、どのプリンターに分散したのかを特定する情報も、含まれている。ユーザーは、コンピューター14でこの通知を受信し、分散印刷されたプリンターから印刷結果を取得して、それらを結合することにより、目的の印刷物を得ることができる。
Next, the
上述した例では、印刷ジョブC4を送信したのがコンピューター14Cであったと仮定すると、プリンターサーバー16は、コンピューター14Cにネットワーク12を介して、分散印刷をした旨の通知を行い、また、第1のプリンター18と第2のプリンター19とで分散印刷を行った旨を通知する。この通知を受けたユーザーCは、第1のプリンター18の印刷結果と第2のプリンター19の印刷結果とを結合することにより、目的の印刷物を得ることができる。
In the example described above, assuming that the
これに対して、上述したステップS404において、スプーラーに投入された順番で印刷ジョブの処理を行っても、投入された印刷ジョブが印刷制限時刻までに終了すると判断した場合(ステップS404:YES)、又は、上述したステップS406において、分散印刷をしても、投入された印刷ジョブが印刷制限時刻までに終了しないと判断した場合(ステップS406:NO)には、分散印刷をすることなく、この印刷ジョブ変更処理を終了する。 On the other hand, if it is determined in step S404 described above that the print jobs are processed in the order in which they were input to the spooler, the input print jobs will be completed by the print limit time (step S404: YES). Alternatively, when it is determined in step S406 described above that the distributed print job does not finish the input print job by the print limit time (step S406: NO), this print is performed without performing the distributed print. Terminate job change processing.
すなわち、スプーラーに投入された順番で印刷ジョブを処理しても、新たに投入された印刷ジョブが印刷制限時刻までに終了するのであれば、そのままの印刷順位で印刷を行う。また、分散印刷をしても、新たに投入された印刷ジョブが印刷制限時刻までに終了しない場合や、そもそも他のプリンターが稼働しておりプリンターの空きが無い場合などでは、分散印刷は行わない。 That is, even if the print jobs are processed in the order in which they are input to the spooler, if the newly input print job is completed by the print restriction time, printing is performed in the same print order. Also, even if distributed printing is performed, if a newly submitted print job does not finish before the print limit time, or if another printer is operating and there is no available printer, the distributed printing is not performed. .
以上のように、本実施形態に係る印刷システム10によれば、プリンターサーバー16は、スプーラーで管理されている印刷ジョブの処理時間を予測し、スプーラーに溜まっている印刷ジョブのそれぞれの印刷完了時刻を推測して、新たに投入された印刷ジョブが、その印刷ジョブを生成したユーザーの印刷制限時刻までに終了するかどうかを判断することとした。そして、印刷制限時刻までに終了しないと判断した場合には、他のプリンターに印刷処理を分散させることにより、その印刷ジョブが印刷制限時刻までに終了できるようになるか判断し、印刷制限時刻までに終了できると判断した場合には、分散印刷をすることにより、印刷が最後まで行われるようにした。
As described above, according to the printing system 10 according to the present embodiment, the
このため、異なる複数のプリンターの出力結果を結合するだけで、ユーザーは、印刷時刻に制限があるにも拘わらず、指定した通りの印刷設定で印刷結果を得ることができるようになる。例えば、印刷ジョブの設定がカラー印刷である場合には、設定通りのカラー印刷で印刷結果を取得することができる。このため、印刷結果に対するユーザーの満足度を向上させることができる。 Therefore, only by combining the output results of a plurality of different printers, the user can obtain the print results with the specified print settings, although the print time is limited. For example, when the print job setting is color printing, the print result can be acquired by color printing as set. For this reason, the user's satisfaction with the printing result can be improved.
〔第5実施形態〕
上述した第4実施形態においては、プリンターサーバー16は、他のプリンターに印刷ジョブの処理の一部を振り替えることにより、印刷制限時刻までに印刷ジョブの処理が完了するようにしたが、第5実施形態においては、他のプリンターに印刷処理の全部を振り替えることにより、印刷制限時刻までに印刷ジョブの処理が行われるようにしたものである。以下、上述した第4実施形態と異なる部分を説明する。
[Fifth Embodiment]
In the fourth embodiment described above, the
まず、図17に基づいて、本実施形態に係るプリンターサーバー16が行う印刷ジョブの制御について概略的に説明する。この図17は、プリンターサーバー16が行ったジョブ処理時間の予測を模式的に示している。すなわち、スプーラーに溜まっている印刷ジョブのそれぞれの処理時間を予測し、その処理開始時刻と処理完了時刻とを予測した状態を、概念的に説明するための図である。
First, a print job control performed by the
この図17(a)に示すように、プリンターサーバー16がプリンター18用に形成しているスプーラに、印刷ジョブA5がある状態で、新たに印刷ジョブC5が投入されてきたとする。印刷ジョブA5を生成したユーザーは、ユーザーAであり、印刷ジョブC5を生成したユーザーは、ユーザーCであるとする。そして、ここでは、ユーザーCは、第1のプリンター18と第2のプリンター19に対して印刷制限時間が設定されており、19:00以降は、プリンター18、19で印刷ができない設定になっているものとする。
As shown in FIG. 17A, it is assumed that a print job C5 is newly input in a state where the print job A5 is present in the spooler formed by the
このような状況の下、18:55に、ユーザーCの印刷ジョブC5が、プリンターサーバー16における第1のプリンター18のスプーラーに投入されたとすると、このままの印刷ジョブの処理順序だと、印刷ジョブC5の印刷処理が実際に第1のプリンター18で終了するのは19:00以降になってしまい、その印刷が実現できなくなってしまう。
Under such circumstances, if the print job C5 of the user C is input to the spooler of the
そこで、本実施形態に係るプリンターサーバー16では、図17(b)に示すように、印刷ジョブC5を、第2のプリンター19で処理することにより、印刷制限時刻の19:00までに印刷処理が完了するようにしている。
Therefore, in the
すなわち、印刷ジョブC5が第1のプリンター18のスプーラーに投入された時点で、第2のプリンター19では印刷処理が行われおらず、アイドル状態である。このため、プリンターサーバー16は、印刷ジョブC5の印刷処理全体を、第1のプリンター18から第2のプリンター19に変更して、代替印刷を行う。例えば、印刷ジョブC5が全20ページで構成されている場合、第1ページから第20ページまでの全部を、第2のプリンター19で印刷する。ユーザーは、第2のプリンター19から、目的の印刷物を取得することができる。
That is, when the print job C5 is input to the spooler of the
図18は、このような処理をプリンターサーバー16で実現するために、プリンターサーバー16で実行される印刷ジョブ変更処理の内容を説明するためのフローチャートを示す図である。この印刷ジョブ変更処理は、プリンターサーバー16に新たな印刷ジョブが投入された場合に、起動される処理である。すなわち、プリンター18のスプーラーに新に印刷ジョブを追加する場合に、起動される処理である。
FIG. 18 is a flowchart for explaining the contents of a print job change process executed by the
また、この印刷ジョブ変更処理は、プリンターサーバー16のCPU20が、ROM24又はハードディスクドライブ26に格納されている印刷ジョブ変更処理プログラムを読み込んで実行することにより、実現される処理である。以下の説明では、上述の図17に示したように、印刷ジョブA5、印刷ジョブC5の順に、第1のプリンター18のスプーラーに印刷ジョブが投入されたと仮定する。
The print job change process is a process realized by the
この図18に示すように、この印刷ジョブ変更処理が起動されると、まず、プリンターサーバー16は、新しく投入された印刷ジョブを生成したユーザーを特定する(ステップS500)。印刷ジョブを生成したユーザーを特定するための処理は、上述した第1実施形態のステップS100と同様である。
As shown in FIG. 18, when the print job change process is started, first, the
次に、図18に示すように、プリンターサーバー16は、ステップS500で特定したユーザーの印刷制限時刻を取得する(ステップS502)。このユーザーの印刷制限時刻を特定するための処理も、上述した第1実施形態のステップS102と同様である。ここでは、上述した第1実施形態と同様に、ユーザーCの印刷制限時刻が19:00であったと仮定する。
Next, as shown in FIG. 18, the
次に、図18に示すように、プリンターサーバー16は、新たに投入された印刷ジョブが、ステップS502で取得した印刷制限時刻までに終了するかどうかを判断する(ステップS504)。具体的には、プリンターサーバー16は、図17(a)で例示したような各印刷ジョブの印刷処理時間を予測して、各印刷ジョブの印刷完了時刻を予測する。そして、予測した印刷完了時刻が、ステップS502で取得した印刷制限時刻より前であるかどうかを判断する。図17(a)の例では、印刷ジョブC5の印刷完了時刻は、ユーザーCの印刷制限時刻の19:00より後であるので、この印刷ジョブC5は、印刷制限時刻までに印刷が終了しないと判断する。
Next, as shown in FIG. 18, the
ステップS504において、スプーラーに投入された順番で印刷ジョブの処理を行うと、新たに投入された印刷ジョブの処理が印刷制限時刻までに終了しないと判断した場合(ステップS504:NO)には、プリンターサーバー16は、他のプリンターで、その印刷ジョブを処理することにより、投入された印刷ジョブの印刷処理が、そのユーザーの印刷制限時刻までに終了するかどうかを判断する(ステップS506)。
If it is determined in step S504 that the print jobs are processed in the order in which they are input to the spooler, the processing of the newly input print job is not completed by the print limit time (step S504: NO), the printer The
例えば、図17(a)の例では、印刷ジョブC5が18:55に投入された時点で、第2のプリンター19は、印刷処理が行われていない。このため、第2のプリンター19を使用すれば、直ちに印刷を開始することができる。このため、本実施形態においては、プリンターサーバー16は、印刷ジョブC5を第1のプリンター18で処理するのではなく、第2のプリンター19で直ちに処理を開始することにより、印刷ジョブC5をユーザーCの印刷制限時刻までに終了させることができると判断する。
For example, in the example of FIG. 17A, when the print job C5 is input at 18:55, the
このように、代替印刷を行うことにより、新たに投入された印刷ジョブの印刷がその印刷制限時刻までに終了するようになると判断した場合(ステップS506:YES)には、プリンターサーバー16は、代替印刷を行う(ステップS508)。
As described above, when it is determined that the printing of the newly input print job will be completed by the print restriction time by performing the alternative printing (step S506: YES), the
図17の例では、図17(b)に示すように、印刷ジョブC5の全体の処理を、第1のプリンター18ではなく、第2のプリンター19で行うように変更して、第2のプリンター19ですべての印刷処理を行う。
In the example of FIG. 17, as shown in FIG. 17B, the entire processing of the print job C5 is changed to be performed by the
次に、プリンターサーバー16は、代替印刷をした旨の通知を、ユーザーに送信する(ステップS510)。すなわち、プリンターサーバー16は、ネットワーク12を介して、代替印刷をした印刷ジョブを送信したコンピューター14に、代替印刷を行った旨の通知を送信する。この通知では、どのプリンターに印刷を振り替えたのかを特定する情報も、含まれている。ユーザーは、コンピューター14でこの通知を受信し、代替印刷されたプリンターから、目的の印刷物を得ることができる。
Next, the
上述した例では、印刷ジョブC5を送信したのがコンピューター14Cであったと仮定すると、プリンターサーバー16は、コンピューター14Cにネットワーク12を介して、代替印刷をした旨の通知を行い、また、第1のプリンター18ではなく、第2のプリンター19で印刷処理を行った旨を通知する。この通知を受けたユーザーCは、第2のプリンター19から、目的の印刷物を得ることができる。
In the example described above, assuming that the
これに対して、上述したステップS504において、スプーラーに投入された順番に印刷ジョブを処理しても、新たに投入された印刷ジョブが印刷制限時刻までに終了すると判断した場合(ステップS504:YES)、又は、上述したステップS506において、代替印刷をしても、新たに投入された印刷ジョブが印刷制限時刻までに終了しないと判断した場合(ステップS506:NO)には、代替印刷をすることなく、この印刷ジョブ変更処理を終了する。 On the other hand, if it is determined in step S504 described above that the newly submitted print job is completed by the print limit time even if the print jobs are processed in the order in which they are input to the spooler (step S504: YES). Alternatively, if it is determined in step S506 described above that the newly input print job will not be completed by the print restriction time even if the alternative printing is performed (step S506: NO), the alternative printing is not performed. Then, this print job change process is terminated.
すなわち、スプーラーに投入された順番で印刷ジョブを処理しても、新たに投入された印刷ジョブが印刷制限時刻までに終了するのであれば、そのままの印刷順位で指定されたプリンターによる印刷を行う。また、代替印刷をしても、新たに投入された印刷ジョブが印刷制限時刻までに終了しない場合や、そもそも他のプリンターが稼働しておりプリンターに空きが無い場合などでは、代替印刷は行わない。 That is, even if the print jobs are processed in the order in which they are input to the spooler, if the newly input print job is completed by the print limit time, printing is performed by the designated printer in the same print order. Even if alternative printing is performed, alternative printing is not performed if a newly submitted print job does not finish before the print limit time, or if another printer is operating and the printer is full. .
以上のように、本実施形態に係る印刷システム10によれば、プリンターサーバー16は、スプーラーで管理されている印刷ジョブの処理時間を予測し、スプーラーに溜まっている印刷ジョブのそれぞれの印刷完了時刻を推定して、新たに投入された印刷ジョブが、その印刷ジョブを生成したユーザーの印刷制限時刻までに終了するかどうかを判断することとした。そして、印刷制限時刻までに終了しないと判断した場合には、他のプリンターに印刷処理を代行させることにより、その印刷ジョブが印刷制限時刻までに終了できるようになるか判断し、印刷制限時刻までに終了できると判断した場合には、代替印刷をすることにより、印刷が最後まで行われるようにした。
As described above, according to the printing system 10 according to the present embodiment, the
このため、ユーザーが指定したプリンターとは異なるプリンターで印刷物が出力されるが、印刷時刻に制限があるにも拘わらず、指定した通りの印刷設定で印刷結果を得ることができるようになる。例えば、印刷ジョブの設定がカラー印刷である場合には、設定通りのカラー印刷で印刷結果を取得することができる。このため、印刷結果に対するユーザーの満足度を向上させることができる。 For this reason, the printed matter is output by a printer different from the printer designated by the user, but the print result can be obtained with the designated print settings in spite of restrictions on the printing time. For example, when the print job setting is color printing, the print result can be acquired by color printing as set. For this reason, the user's satisfaction with the printing result can be improved.
なお、本発明は上記実施形態に限定されず種々に変形可能である。例えば、上述した実施形態では、プリンターサーバー16が印刷ジョブ変更処理を行い、スプーラーに保持されている印刷ジョブの処理順序を変更したり、分散印刷や代替印刷を行うように変更したりすることとしたが、この印刷ジョブ変更処理をプリンターサーバー16以外で行うようにしてもよい。例えば、図1に対応する図19に示すように、ネットワーク12上にジョブ制御装置40を別個に設け、このジョブ制御装置40が、上述した印刷ジョブ変更処理を行い、プリンターサーバー16に形成されているスプーラー内の印刷ジョブの処理順序を変更するようにしてもよい。同様に、図14に対応する図20に示すように、ネットワーク12上にジョブ制御装置40を別個に設け、このジョブ制御装置40が、上述した印刷ジョブ変更処理を行い、プリンターサーバー16に形成されているスプーラー内の印刷ジョブについて、分散印刷をするように変更したり、代替印刷をするように変更したりするようにしてもよい。
In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible. For example, in the above-described embodiment, the
また、印刷制限時刻を経過する時点で処理している印刷ジョブについて、印刷制限時刻を経過した時点で直ちにその処理が中断されるのか、それとも、印刷制限時刻を経過する時点で処理の開始されている印刷ジョブについては最後まで処理を行うのかは、任意の設定である。例えば、第1実施形態、第2実施形態、及び、第4実施形態乃至第6実施形態においては、印刷制限時刻を経過した時点で直ちにその処理が中断される場合を例に本発明を説明したが、印刷制限時刻を経過する時点で処理の開始されている印刷ジョブについては最後まで処理を行う場合であっても、本発明を適用することができる。 Also, for a print job that is being processed when the print restriction time has passed, whether the process is interrupted immediately after the print restriction time has passed, or the process is started when the print restriction time has passed. Whether the print job is to be processed to the end is an arbitrary setting. For example, in the first embodiment, the second embodiment, and the fourth to sixth embodiments, the present invention has been described by taking as an example a case where the processing is interrupted immediately after the print restriction time has elapsed. However, the present invention can be applied even when a print job whose processing has been started when the print restriction time has elapsed is processed to the end.
また、上述した第4実施形態及び第5実施形態においては、ユーザーに関連付けて印刷制限時刻が定められている場合を例に本発明の一実施形態を説明したが、第2実施形態と同様にジョブに関連付けて印刷制限時刻が定められている場合にも適用でき、第3実施形態と同様にプリンターに関連付けて印刷制限時刻が定められている場合にも適用できる。 In the fourth embodiment and the fifth embodiment described above, the embodiment of the present invention has been described by taking the case where the print restriction time is set in association with the user as an example. However, similarly to the second embodiment, The present invention can also be applied when the print restriction time is defined in association with the job, and can also be applied when the print restriction time is defined in association with the printer, as in the third embodiment.
また、上述した第4実施形態において、分散印刷を行うか否かを任意に設定できるようにしてもよい。この場合、例えば、この設定を、プリンターサーバー16に予め登録できるようにしてもよいし、印刷ジョブで個別に指定できるようにしてもよい。同様に、上述した第5実施形態において、代替印刷を行うか否かを、任意に設定できるようにしてもよい。この場合、例えば、この設定を、プリンターサーバー16に予め登録できるようにしてもよいし、印刷ジョブで個別に指定できるようにしてもよい。
Further, in the above-described fourth embodiment, it may be possible to arbitrarily set whether or not to perform distributed printing. In this case, for example, this setting may be registered in the
また、上述した実施形態では、ジョブ処理装置がプリンターであり、ジョブが印刷ジョブである場合を例に、本発明を説明したが、ジョブ処理装置はプリンターに限られるものはなく、また、ジョブも印刷ジョブに限られるものではない。また、ジョブを生成するジョブ生成装置も、コンピューターに限られるものではない。 In the above-described embodiment, the present invention has been described by taking an example in which the job processing apparatus is a printer and the job is a print job. However, the job processing apparatus is not limited to a printer, and the job It is not limited to print jobs. Also, the job generation device that generates a job is not limited to a computer.
また、上述の実施形態で説明した印刷ジョブ変更処理については、この処理を実行するためのプログラムをフレキシブルディスク、CD−ROM(Compact Disc-Read Only Memory)、ROM、メモリーカード等の記録媒体に記録して、記録媒体の形で頒布することが可能である。この場合、この記録媒体に記録されたプログラムをプリンターサーバー16に読み込ませ、実行させることにより、上述した実施形態を実現することができる。
In the print job change process described in the above embodiment, a program for executing this process is recorded on a recording medium such as a flexible disk, a CD-ROM (Compact Disc-Read Only Memory), a ROM, or a memory card. Thus, it can be distributed in the form of a recording medium. In this case, the above-described embodiment can be realized by causing the
また、プリンターサーバー16は、オペレーティングシステムや別のアプリケーションプログラム等の他のプログラムを備える場合がある。この場合、プリンターサーバー16の備える他のプログラムを活用するために、そのプリンターサーバー16が備えるプログラムの中から、上述した実施形態と同等の処理を実現するプログラムを呼び出すような命令を含むプログラムを、記録媒体に記録するようにしてもよい。
The
さらに、このようなプログラムは、記録媒体の形ではなく、ネットワーク12を通じて搬送波として頒布することも可能である。ネットワーク12上を搬送波の形で伝送されたプログラムは、プリンターサーバー16に取り込まれて、このプログラムを実行することにより上述した実施形態を実現することができる。
Further, such a program can be distributed not as a recording medium but as a carrier wave through the
また、記録媒体にプログラムを記録する際や、ネットワーク12上を搬送波として伝送される際に、プログラムの暗号化や圧縮化がなされている場合がある。この場合には、これら記録媒体や搬送波からプログラムを読み込んだプリンターサーバー16は、そのプログラムの復号や伸張を行った上で、実行する必要がある。
Further, when a program is recorded on a recording medium or transmitted as a carrier wave on the
また、上述した実施形態では、印刷ジョブ変更処理をソフトウェアにより実現する場合を例に説明したが、この処理をASIC(Application Specific IC)などのハードウェアにより実現するようにしてもよい。さらには、この印刷ジョブ変更処理を、ソフトウェアとハードウェアとが協働して実現するようにしてもよい。 In the above-described embodiment, the case where the print job change process is realized by software has been described as an example. However, this process may be realized by hardware such as an ASIC (Application Specific IC). Further, this print job change process may be realized by cooperation of software and hardware.
10 印刷システム
12 ネットワーク
14(14A、14B、14C) コンピューター
16 プリンターサーバー
18 プリンター
20 CPU
22 RAM
24 ROM
26 ハードディスクドライブ
28 ユーザーインターフェース
30 表示画面
32 通信インターフェース
34 プリンター接続インターフェース
10
22 RAM
24 ROM
26
Claims (9)
投入されたジョブの処理順位を管理し、投入された順番でジョブの処理が行われるようにジョブの管理を行う、処理順位管理手段と、
前記処理順位管理手段で管理されているジョブの処理時間を予測して、新たに投入されたジョブが、その処理制限時刻までに処理されるかどうかを判断する、判断手段と、
前記判断手段が前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記処理制限時刻までにその処理が間に合うように、ジョブの処理内容を変更することなく、前記処理順位管理手段におけるジョブの処理方法を変更する、変更手段と、
を備えることを特徴とするジョブ制御装置。 A job control device that controls jobs processed by the job processing device,
A processing order management means for managing the processing order of the submitted jobs and managing the jobs so that the jobs are processed in the order of submission;
A determination unit that predicts a processing time of a job managed by the processing order management unit and determines whether a newly submitted job is processed by the processing time limit;
When the determination unit determines that the newly submitted job is not processed by the processing time limit, without changing the processing content of the job so that the processing is in time by the processing time limit, Changing means for changing a job processing method in the processing order management means;
A job control apparatus comprising:
前記ジョブ制御装置が、前記処理順位管理手段で管理されているジョブの処理時間を予測して、新たに投入されたジョブが、その処理制限時刻までに処理されるかどうかを判断するステップと、
前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記ジョブ制御装置が、前記処理制限時刻までにその処理が間に合うように、ジョブの処理内容を変更することなく、前記処理順位管理手段におけるジョブの処理方法を変更するステップと、
を備えることを特徴とするジョブ制御装置の制御方法。 A job control device that controls jobs processed by the job processing device, manages the processing order of submitted jobs, and manages jobs so that jobs are processed in the order of submission In a control method of a job control apparatus including a rank management unit,
The job control device predicting the processing time of the job managed by the processing order management means and determining whether or not a newly submitted job is processed by the processing time limit;
If it is determined that the newly submitted job is not processed by the processing time limit, the job control device changes the processing content of the job so that the processing can be completed by the processing time limit Without changing the processing method of the job in the processing order management means,
A method for controlling a job control apparatus, comprising:
前記処理順位管理手段で管理されているジョブの処理時間を予測して、新たに投入されたジョブが、その処理制限時刻までに処理されるかどうかを判断するステップと、
前記新たに投入されたジョブは前記処理制限時刻までに処理されないと判断した場合には、前記処理制限時刻までにその処理が間に合うように、ジョブの処理内容を変更することなく、前記処理順位管理手段におけるジョブの処理方法を変更するステップと、
を前記ジョブ制御装置に実行させることを特徴とするプログラム。 A job control device that controls jobs processed by the job processing device, manages the processing order of submitted jobs, and manages jobs so that jobs are processed in the order of submission In a program for controlling a job control device having a rank management means,
Predicting the processing time of a job managed by the processing order management means, and determining whether a newly submitted job is processed by the processing time limit;
When it is determined that the newly submitted job is not processed by the processing time limit, the processing order management is performed without changing the processing content of the job so that the processing can be completed by the processing time limit. Changing the job processing method in the means;
That causes the job control apparatus to execute the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009019327A JP2010176465A (en) | 2009-01-30 | 2009-01-30 | Job control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009019327A JP2010176465A (en) | 2009-01-30 | 2009-01-30 | Job control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010176465A true JP2010176465A (en) | 2010-08-12 |
Family
ID=42707365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009019327A Withdrawn JP2010176465A (en) | 2009-01-30 | 2009-01-30 | Job control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010176465A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2415400A1 (en) | 2010-08-05 | 2012-02-08 | Arkray, Inc. | Mount unit, sensor unit, measurement apparatus, and sensor fixation method |
JP2013069075A (en) * | 2011-09-21 | 2013-04-18 | Toshiba Tec Corp | Computer system and job control method |
JP2019025735A (en) * | 2017-07-28 | 2019-02-21 | 富士ゼロックス株式会社 | Information processing apparatus and program |
-
2009
- 2009-01-30 JP JP2009019327A patent/JP2010176465A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2415400A1 (en) | 2010-08-05 | 2012-02-08 | Arkray, Inc. | Mount unit, sensor unit, measurement apparatus, and sensor fixation method |
JP2013069075A (en) * | 2011-09-21 | 2013-04-18 | Toshiba Tec Corp | Computer system and job control method |
JP2019025735A (en) * | 2017-07-28 | 2019-02-21 | 富士ゼロックス株式会社 | Information processing apparatus and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8171190B2 (en) | Direct image formation method and apparatus | |
JP4315191B2 (en) | Printing control apparatus, printing control method, printing control program, printing apparatus, printing method, printing program, and recording medium | |
US8994975B2 (en) | Information processing apparatus, output system and non-transitory computer readable information recording medium | |
JP7175618B2 (en) | PRINTING SYSTEM, PRINTING DEVICE AND CONTROL METHOD THEREOF, AND PROGRAM | |
JP7330717B2 (en) | Image forming apparatus and its control method | |
JP2011128814A (en) | Information processing apparatus, control method of the same and program | |
JP2007323641A (en) | System and method for electronic document output request processing control | |
US8917413B2 (en) | Image forming system capable of switching among a plurality of power states | |
JP2007257592A (en) | Printing system, information processor, and printer | |
US11175871B2 (en) | Image forming apparatus, non-transitory computer readable medium, and image forming system for receipt of print data including print settings | |
US8081338B2 (en) | Form processing apparatus and method | |
US20130057884A1 (en) | Information processing apparatus, computer program, and control method | |
US20160085493A1 (en) | Image forming apparatus having reservation printing function, control method for the image forming apparatus, and storage medium | |
JP2010176465A (en) | Job control device | |
US20070030509A1 (en) | System and method for performing selective off-loading of document processing operations | |
US8582153B2 (en) | Image forming apparatus and method | |
JP2019181864A (en) | Image formation device, method for controlling the image formation device and control program | |
US9176691B2 (en) | Output control device and output control method | |
US20070216913A1 (en) | Image forming system, image forming apparatus, and image forming method | |
JP2008257628A (en) | Information processing device, document combining program, and recording medium | |
JP6801526B2 (en) | Information processing equipment, information processing methods and programs | |
JP2001080142A (en) | Printing apparatus, printing system, printing control method and data recording medium having printing control program recorded thereon | |
JP2009025952A (en) | Image forming system, image-forming program and image forming device | |
JP5072371B2 (en) | Document processing device | |
CN102729662B (en) | Image forming apparatus and image forming method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20120403 |