JP2007083501A - Image processing apparatus - Google Patents
Image processing apparatus Download PDFInfo
- Publication number
- JP2007083501A JP2007083501A JP2005274193A JP2005274193A JP2007083501A JP 2007083501 A JP2007083501 A JP 2007083501A JP 2005274193 A JP2005274193 A JP 2005274193A JP 2005274193 A JP2005274193 A JP 2005274193A JP 2007083501 A JP2007083501 A JP 2007083501A
- Authority
- JP
- Japan
- Prior art keywords
- job
- group
- normal
- jobs
- 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 an image processing apparatus having a network function and a print driver using the image processing apparatus.
ネットワーク機能を持つプリンタや複合機が普及し、オフィスなど複数のPCクライアントと接続され共有して利用される形態が一般的となりつつある。 Printers and multifunction peripherals with network functions have become widespread, and forms commonly used by being connected to a plurality of PC clients such as offices are becoming common.
PCなどからプリンタやプリント機能を備えた複合機等に印刷ジョブを発行する際、ユーザがPCのプリントドライバまたは印刷を実行しようとしているアプリケーションによって印刷部数を制御することが一般的に行われている。複数部数の実現形態は大きく2つに分かれる。一つは広く一般的に行われている方式であり、印刷データの中に部数情報を埋め込み、プリンタ側で印刷データ解釈時に部数情報を解釈して印刷ジョブの実行時に反映させる方式である。もうひとつは一般的ではない方法であるが、印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行するというものである。 When a print job is issued from a PC or the like to a printer or a multifunction device equipped with a print function, it is common for the user to control the number of copies by a PC print driver or an application that is trying to execute printing. . There are two main types of implementation of multiple copies. One is a widely used method, which embeds copy number information in print data, interprets the copy number information when interpreting the print data on the printer side, and reflects it when executing the print job. The other is an uncommon method, in which the print application issues a print job to the device for the number of copies specified by the user without specifying a plurality of copies as the print data.
従来例としては、例えば特許文献1をあげることが出来る。
後者の方式、すなわち印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行する場合、そのプリントジョブを受信するプリンタ側では、同一データを複数分印刷指示された場合とそもそも待った区別の印刷ジョブを複数受信したかの識別をすることができない。そのため、例えば後者の方式を採用するアプリケーションからユーザが20部の印刷ジョブを発行した場合、プリンタには1部出力される印刷ジョブが20回連続して発行されることになる。
In the latter method, that is, when a print application issues a print job for the number of times specified by the user without specifying a plurality of copies as print data, the printer that receives the print job It is impossible to identify whether or not a plurality of distinct print jobs waiting in the first place are received when a plurality of identical data are instructed to be printed. Therefore, for example, when a
当然のことながら、プリンタがネットワークを介して複数のクライアントPCと共有されていた場合、印刷を依頼するPCが同時に複数存在することがありうる。プリンタ側では受理された順にキューイングし、キューから登録された順に取り出して印刷ジョブを実行してゆくためそのような共有状態においても資源の競合や出力物の混在などを招くことなく印刷のサービスを提供することが可能となっている。 Naturally, when the printer is shared with a plurality of client PCs via a network, there may be a plurality of PCs that request printing at the same time. The printer queues the jobs in the order received, prints them out of the queues in the registered order, and executes the print job, so even in such a shared state, there is no printing service without incurring resource contention or mixed output. It is possible to provide.
しかしながら、上述のプリンタ側で行うキューイングによるジョブ制御はあくまでもジョブ単位として行われるものである。したがって、前述したように印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行する方式で複数部数印刷を実行するアプリケーションの場合には、ユーザが実行指示した複数部数印刷は複数のジョブとして機器に投入されることとなり、もし仮に20部の印刷のうち、まだ機器に対し10部しか送信できていない段階で別のクライアントが同一機器に対して印刷処理を依頼した場合、10部目と11部目の出力物の間に別の印刷物が紛れ込むケースが存在する。 However, the above-described job control by queuing performed on the printer side is performed in units of jobs. Therefore, as described above, in the case of an application that does not specify a plurality of copies as print data, and that executes a plurality of copies by a method in which the print application issues a print job to the device for the number of copies specified by the user. In this case, the multi-copy printing that the user has instructed to execute is input to the device as a plurality of jobs. If only 20 copies of the 20 copies are still sent to the device, another client may When print processing is requested to the same device, there is a case in which another printed material is mixed between the 10th and 11th output products.
上述の結果、ユーザは出力された印刷物の中に別の印刷物が紛れ込んでいないかを確認しなくてはならない。このことは、近年のプリントボリュームの飛躍的増大、そして機器のネットワーク能力の向上による共有環境の充実と共にこのようなケースは増大する傾向にある。また、このような方式で複数部数印刷を実現するアプリケーションは少数派ではあるが、世の中で広く普及し日々頻繁に使われているアプリケーションにそのような方式を採用しているものが存在するため、上述した不具合が発生する頻度は高いものとなっている。 As a result of the above, the user must check whether another printed material is mixed in the printed material. This tends to increase as the print volume has increased dramatically in recent years and the sharing environment has been improved by improving the network capability of the device. In addition, there are a few minority applications that can print multiple copies using this method, but there are applications that use such a method in applications that are widely used in the world and used frequently every day. The frequency with which the above-described problems occur is high.
本発明はこのような状況を鑑みてなされたものであり、印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行する方式で複数部数印刷を実行するアプリケーションにおいても印刷データの中に部数情報を埋め込み、プリンタ側で印刷データ解釈時に部数情報を解釈して印刷ジョブの実行時に反映させる方式によって複数部数印刷を指示した場合と同様の操作性を提供し、かつ複数部印刷物の間に他の印刷ジョブによる出力物が紛れ込むことを防止することによって出力物の利便性を高める画像処理装置を提供するものである。 The present invention has been made in view of such a situation, and a print application issues a print job to a device for the number of copies specified by the user without specifying a plurality of copies as print data. Even in an application that performs multi-copy printing in the case of instructing multi-copies printing by embedding the copy information in the print data and interpreting the copy information on the printer side when interpreting the print data and reflecting it when executing the print job It is an object of the present invention to provide an image processing apparatus that provides the same operability and improves the convenience of an output product by preventing an output product from another print job from being mixed between a plurality of printed products.
課題を解決するため、本発明における画像処理装置は、請求項1〜9に記載の手段または機能を有することを特徴とする。
In order to solve the problems, an image processing apparatus according to the present invention has the means or function described in
本発明により従来技術がもつ問題点を解決し印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行する方式で複数部数印刷を実行するアプリケーションにおいても印刷データの中に部数情報を埋め込み、プリンタ側で印刷データ解釈時に部数情報を解釈して印刷ジョブの実行時に反映させる方式によって複数部数印刷を指示した場合と同様の操作性を提供し、かつ複数部印刷物の間に他の印刷ジョブによる出力物が紛れ込むことを防止することによって出力物の利便性を高める画像処理装置を提供することが可能となった。 The present invention solves the problems of the prior art and prints multiple copies in such a way that the print application issues a print job to the device for the number of copies specified by the user without specifying multiple copies as print data. The same operability as when multiple copies are instructed by a method in which copy information is embedded in the print data and the printer interprets the copy information when interpreting the print data and reflects it when the print job is executed. In addition, it is possible to provide an image processing apparatus that improves the convenience of an output product by preventing the output product from another print job from being mixed in between multiple copies.
以下、本発明の一実施形態を示す。 Hereinafter, an embodiment of the present invention will be described.
図1は本発明を適用した機器の外観図の一例を示すものである。 FIG. 1 shows an example of an external view of a device to which the present invention is applied.
図2は図1における機器の内部構成を説明するためのブロック図である。この例で示す機器の構成では、主なモジュールはデータやコントロール信号の送受信を媒介するシステムバス201によって互いに接続されている。これらの構成は実施例の説明に用いた一例であり、請求項に記載の項目を満たす限りはいかなる構成を取った場合でも本発明は適用される。
FIG. 2 is a block diagram for explaining the internal configuration of the device in FIG. In the device configuration shown in this example, main modules are connected to each other by a
操作部202は機器が通常備える単数あるいは複数のキーと表示装置からなる部分であり、ユーザの機器に対する操作の入出力を行う部分である。
The
一次記憶装置203、二次記憶装置204はそれぞれシステムが印刷処理に使用したりシステムが使用するデータを一時的あるいは長期的に蓄積するために用いる半導体記憶装置、磁気記録装置等の装置である。
The
ネットワークアダプタ205はネットワーク1によって接続された外部の機器と情報の送受信を行う装置であり、プロトコル解析部206はネットワークアダプタ205が受信したデータをサポートするプロトコルに応じて処理し、機器内で処理可能な形式に変換するためのものである。ただし、ネットワークアダプタ205及びプロトコル解析部206の働きは本発明の本質ではないので詳細は説明は省略する。
The
PDL解釈部207は印刷対象データ(PDLデータ)をイメージデータに変換する働きをし、ここで変換されたイメージデータはエンジンコントローラ208を介してプリントエンジン209に送られることによって物理的な印刷処理が行われる。これらの詳細な構成に関する説明も上記と同様の理由によって省略する。
The
スキャンエンジン211とスキャンエンジンコントローラ210は紙原稿を光学的にスキャンし電子情報に変換するための装置である。これらの詳細な構成に関する説明も上記と同様の理由によって省略する。
The
課金管理部212は、ユーザの機器に対する利用状況や印刷処理等に要した消耗品等の量に応じ、正しく課金を行うための管理を担当するモジュールである。
The
ジョブ管理部214は、機器に投入されるジョブの制御を司るモジュールであり、通常のジョブのキャンセルや優先度変更処理に加え、本発明の特徴である特殊ジョブが投入された時の制御も本モジュールにおいて行われる。
The
プリントキュー215は、機器に対して投入されたプリントジョブを投入順に管理するためのものである。キューの先頭に位置するジョブをPDL解釈部207に送信することによりプリントジョブを実行させる。ジョブ管理部214において行われるジョブのキャンセルや優先度変更処理時には処理結果がキューの内部状態に反映される。
The
メインコントローラ213は以上説明した各モジュールの働き全体の制御を司り、本発明の機能を実現するためのステップを実行するためのものである。
The
図3は本発明による機器と複数のクライアントがネットワークで接続された場合の運用形態の一例を示すためのものである。 FIG. 3 shows an example of an operation mode when a device according to the present invention and a plurality of clients are connected via a network.
図示するようにネットワーク301に対して機器302とクライアントA(304)からD(303)までの4台のPCが接続されている。
As shown in the figure, a
ここでのクライアントとは機器302に対してプリントジョブを発行するPCを想定しているが、これはあくまでも本実施例における発明の効果を説明するための環境の一例に関するものであり、その他の形態をとった場合においても請求項に記載の項目を満たす限り本発明は有効であることはいうまでもない。
Here, the client is assumed to be a PC that issues a print job to the
図4は図3における各クライアント上で実行されるアプリケーションからユーザが印刷処理を選択した際にPCの画面に表示されるプリントドライバの設定画面の一例を示すためのものである。 FIG. 4 shows an example of a print driver setting screen displayed on the PC screen when the user selects print processing from the application executed on each client in FIG.
なお後の説明を行うため、前記アプリケーションとは複数部数印刷が指示された場合、印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行するアプリケーションであると想定する。すなわち該アプリケーションからユーザが20部の印刷ジョブを発行した場合、プリンタには1部出力される印刷ジョブが20回連続して発行される。
For the purpose of the following explanation, when printing of a plurality of copies is instructed with the application, the print application does not designate a plurality of copies as print data, and the print application is sent to the device by the number of copies designated by the user by the print application. It is assumed that the application is issued to That is, when the user issues 20 print jobs from the application, the print job output as 1 copy is issued to the
当然のことながら印刷データとして複数部数印刷指示を行うアプリケーションに対して本発明を適用したとしても得られる効果は同じである。 Naturally, the same effect can be obtained even if the present invention is applied to an application that issues an instruction to print a plurality of copies as print data.
図示するように、複数部数の印刷を指示する際には部数フィールド402にユーザが必要な部数を入力すると、印刷を実行するプリンタの出力結果に反映される。印刷開始ボタン403が押下された時点で、それまでにユーザが行った設定情報がアプリケーションに渡され、その設定情報に基づきプリントジョブが発行され、機器に対して送信される。
As shown in the figure, when a user inputs a required number of copies in the number of
ユーザがプリントジョブに対して設定可能な項目は複数存在するが、本実施例の説明においては部数以外の設定項目は重要ではないためここでは部数についてのみユーザの設定として扱う。しかしながら、その他にいかなる設定がユーザによってなされた場合でも請求項に記載の項目を満たす限り本発明は有効であることはいうまでもない。 There are a plurality of items that the user can set for a print job. However, in the description of this embodiment, setting items other than the number of copies are not important, and only the number of copies is treated as a user setting here. However, it goes without saying that the present invention is effective even if any other setting is made by the user as long as the items described in the claims are satisfied.
図5は、クライアントがプリントジョブを発行する際に本発明を適用したプリントドライバがプリントデータを送信するよりも前に機器に対して送信されるグループ開始特殊ジョブのデータ構成を説明するためのものである。 FIG. 5 is a diagram for explaining the data configuration of a group start special job transmitted to a device before a print driver to which the present invention is applied transmits print data when a client issues a print job. It is.
グループ開始特殊ジョブのデータは4つのフィールドに分けられている。ヘッダ領域501および終端情報504は機器がジョブデータを受信する際の処理のためのものである。これらの情報については本発明の効果を説明する上で関係ないため省略する。
The data of the group start special job is divided into four fields. The
ジョブ種識別情報502は本発明による機器がジョブデータを受信した際に、受信したジョブが図6に示すような通常のプリントジョブなのか、あるいは図5または図7に示すような特殊ジョブなのかを識別するための情報を格納するフィールドである。
When the device according to the present invention receives job data, the job
グループID503は、本発明の機器が前述のように複数部数印刷を部数回数分のジョブ発行によって機器に送信してくる際でも、ユーザによる単一の印刷指示によって発行された複数ジョブを機器側でまとまりとして認識させるためのものである。
The
グループIDおよび特殊ジョブを用いていかにして上述のような制御を機器側で実行するかに関しては後述する。 Whether the above-described control is executed on the device side using the group ID and special job will be described later.
図6は、クライアントがプリントジョブを発行する際に本発明を適用したプリントドライバが機器に対して送信する通常プリントジョブのデータ構成を説明するためのものである。 FIG. 6 is a diagram for explaining the data structure of a normal print job that is transmitted to a device by a print driver to which the present invention is applied when a client issues a print job.
通常プリントジョブのデータは6つのフィールドに分けられている。ヘッダ領域601および終端情報606は機器がジョブデータを受信する際の処理のためのものである。これらの情報については本発明の効果を説明する上で関係ないため省略する。
Ordinary print job data is divided into six fields. The
ジョブ種識別情報602は本発明による機器がジョブデータを受信した際に、受信したジョブが図6に示すような通常のプリントジョブなのか、あるいは図5または図7に示すような特殊ジョブなのかを識別するための情報を格納するフィールドである。
The job
グループID603は、本発明の機器が前述のように複数部数印刷を部数回数分のジョブ発行によって機器に送信してくる際でも、ユーザによる単一の印刷指示によって発行された複数ジョブを機器側でまとまりとして認識させるためのものである。
The
グループIDおよび特殊ジョブを用いていかにして上述のような制御を機器側で実行するかに関しては後述する。 Whether the above-described control is executed on the device side using the group ID and special job will be described later.
印刷設定情報604はユーザがプリントドライバによって印刷結果に反映させるための各種設定を行った場合の設定情報を格納するためのフィールドである。
The
データ605は、印刷対象となる画像データを格納した領域である。
図7は、クライアントがプリントジョブを発行する際に本発明を適用したプリントドライバがプリントデータを送信し終わった後に機器に対して送信されるグループ終端特殊ジョブのデータ構成を説明するためのものである。 FIG. 7 is a diagram for explaining the data configuration of a group end special job transmitted to a device after a print driver to which the present invention has been applied finishes transmitting print data when a client issues a print job. is there.
グループ終端特殊ジョブのデータは4つのフィールドに分けられている。ヘッダ領域701および終端情報704は機器がジョブデータを受信する際の処理のためのものである。これらの情報については本発明の効果を説明する上で関係ないため省略する。
The data of the group end special job is divided into four fields. The
ジョブ種識別情報702は本発明による機器がジョブデータを受信した際に、受信したジョブが図6に示すような通常のプリントジョブなのか、あるいは図5または図7に示すような特殊ジョブなのかを識別するための情報を格納するフィールドである。
The job
グループID703は、本発明の機器が前述のように複数部数印刷を部数回数分のジョブ発行によって機器に送信してくる際でも、ユーザによる単一の印刷指示によって発行された複数ジョブを機器側でまとまりとして認識させるためのものである。
Even when the device of the present invention transmits a plurality of copies to the device by issuing a job for the number of copies as described above, the
グループIDおよび特殊ジョブを用いていかにして上述のような制御を機器側で実行するかに関しては後述する。 Whether the above-described control is executed on the device side using the group ID and special job will be described later.
図8は、図5から図7までに示した各種ジョブを構成するフィールドの中でジョブ種識別情報の具体例を説明するためのものである。図示するような値が前述のフィールドに格納され、受信した機器側で値を見ることによってジョブの種別を可能としている。 FIG. 8 is a diagram for explaining a specific example of job type identification information in the fields constituting the various jobs shown in FIGS. 5 to 7. Values shown in the figure are stored in the above-described fields, and the type of job is made possible by viewing the values on the receiving device side.
図9は、本発明によるプリントドライバの印刷設定から実際の印刷処理が終了するまでの処理のフローを説明するためのものである。 FIG. 9 is a flowchart for explaining the processing flow from the print setting of the print driver to the end of the actual print processing according to the present invention.
ユーザがアプリケーションから印刷処理を選択すると、図4に示すようなプリントドライバの設定画面を出力し、ユーザに対して必要な設定処理を行わせるためにまずは処理要求待ちとなる(ステップS901)。 When the user selects print processing from the application, a print driver setting screen as shown in FIG. 4 is output, and a processing request is first waited for the user to perform necessary setting processing (step S901).
ユーザからの入力があった場合にはそれが印刷開始ボタン403押下であるかどうかの判別を行い(ステップS902)、印刷開始ボタン403押下でなかった場合にはステップS903に進み、その他のボタン押下またはデータ入力時の処理を実行する。部数設定等もステップS903の処理内容に含まれる。 If there is an input from the user, it is determined whether or not it is a press of the print start button 403 (step S902). If not, the process proceeds to step S903, and other buttons are pressed. Alternatively, processing at the time of data input is executed. The setting of the number of copies is also included in the processing content of step S903.
ステップS902において、判別の結果印刷開始ボタン403押下であった場合ステップS904に進み本発明の特徴であるところのグループIDを決定し、ステップ
S904において決定されたグループIDをグループ開始特殊ジョブのグループIDフィールドに設定して(ステップS905)、グループ開始特殊ジョブを機器に対して送信する(ステップS906)。
If it is determined in step S902 that the
The group ID determined in S904 is set in the group ID field of the group start special job (step S905), and the group start special job is transmitted to the device (step S906).
グループIDの取得方法としてはさまざまなものが考えられ、例えばグループIDを機器側で管理しておりクライアントの要求によってグループIDを取得させる方法や機器以外にグループIDの発行を行うサーバを別途設けてもよい。またはクライアント側で発行した任意の数字や文字列などを付加してもよく、実用上一意性が高ければどのような方法を用いたとしてもかまわない。したがっていかなる方法によってグループIDを発行した場合においても請求項に記載の項目を満たす限り本発明は有効であることは言うまでもない。 There are various ways to acquire a group ID.For example, a group ID is managed on the device side, and a group ID is issued by a client request or a server that issues a group ID is provided separately from the device. Also good. Alternatively, arbitrary numbers and character strings issued on the client side may be added, and any method may be used as long as the uniqueness is practically high. Therefore, it goes without saying that the present invention is effective when the group ID is issued by any method as long as the items described in the claims are satisfied.
ステップS906の次にステップS907に進み通常プリントジョブを発行させる。図4において説明したように本実施例の説明で想定するアプリケーションとは複数部数印刷が指示された場合、印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行するアプリケーションであるため、このステップではユーザが設定した部数分のジョブ数が機器に対して発行されることになる。そのためプリントドライバは全ての通常プリントジョブの送信が完了した後にグループ終端特殊ジョブを送信するために通常プリントジョブの終了待ち状態に遷移する(ステップS908)。 After step S906, the process proceeds to step S907 to issue a normal print job. As described with reference to FIG. 4, when printing of a plurality of copies is instructed with the application assumed in the description of this embodiment, the number of copies specified by the user by the print application is specified without specifying a plurality of copies as print data. In this step, the number of jobs corresponding to the number of copies set by the user is issued to the device. Therefore, the print driver transitions to a normal print job end waiting state in order to transmit the group end special job after transmission of all normal print jobs is completed (step S908).
通常プリントジョブの送信が完了したらプリントドライバはグループ終端特殊ジョブを発行し(ステップS909)、プリント処理を終了する。 When the transmission of the normal print job is completed, the print driver issues a group end special job (step S909), and the print processing ends.
図10は本実施例の効果を説明するために機器に対して具体的に投入されるジョブの投入状況の一例を示すためのものである。図示する4つのフィールドについて説明する。 FIG. 10 illustrates an example of a job submission status that is specifically submitted to a device in order to explain the effects of this embodiment. The four fields shown will be described.
ジョブ番号フィールドは機器がジョブを受信した際に順に振られる一意の番号でありジョブ管理部214が管理している。
The job number field is a unique number assigned in order when the device receives a job, and is managed by the
受信時刻フィールドはそのジョブを機器が受信した時点での時刻を表している。 The reception time field indicates the time when the device receives the job.
ジョブ種フィールドとグループIDフィールドは本発明の特徴であるところの別々に発行されたまとまりのあるジョブ群をまとめて管理する仕組みを実現するために必要な情報であり、図5から図7で説明したように本発明によるプリントドライバが発行するジョブ内に格納されたジョブ種識別情報及びグループIDの内容を表している。 The job type field and the group ID field are information necessary for realizing a mechanism for collectively managing a group of separately issued jobs, which is a feature of the present invention, and will be described with reference to FIGS. As described above, the job type identification information and the contents of the group ID stored in the job issued by the print driver according to the present invention are shown.
ジョブ種としてはグループ開始特殊ジョブ、グループ終端特殊ジョブ、通常ジョブの3種類を識別する。 Three types of job types are identified: a group start special job, a group end special job, and a normal job.
なお、本発明を適用していないプリントドライバから送信されるプリントジョブには上述のジョブ種識別情報及びグループIDが含まれていないため、ジョブ種フィールドには通常ジョブとし、グループIDのフィールドにグループIDなしとすることにより表現することとする。 Since a print job transmitted from a print driver to which the present invention is not applied does not include the above-described job type identification information and group ID, the job type field is a normal job, and the group ID field is a group job. It is expressed by having no ID.
図11は、プリントキュー215が管理するジョブ情報の構成を説明するためのものである。プリントキュー215はジョブ管理部214とは異なり、実際に印刷する対象となるジョブのみをエントリとして保持する。そのため、グループ開始特殊ジョブやグループ終端特殊ジョブはプリントキュー215内には保持しない。
FIG. 11 is a diagram for explaining the configuration of job information managed by the
図示するようにプリントキュー215が管理するジョブ情報は、ジョブID1101とグループID1102の2つのフィールドからなる情報によってジョブ情報を保持している。
As shown in the figure, the job information managed by the
図12は図10に示したジョブ投入状態において、時刻17:40.35.01の時点でのプリントキュー215の内部状態を示したものである。キューはFIFOの構成をとるためここでは模式的に図の右側からエントリが入力され、左側から取り出されるものとして説明を行う。最左端のジョブが実行中のジョブとなり、実行が完了した段階でジョブがエントリから削除される。
FIG. 12 shows the internal state of the
説明において、プリントキュー215内のエントリは、内部にジョブIDとグループIDが記述された四角によって表現するものとする。グループIDが存在しない場合にはジョブIDのみ表示されるものとする。
In the description, an entry in the
図12においてはこの時刻にはジョブID 1031のジョブ1つのみがエントリされており、かつ該ジョブは直ちに実行される。
In FIG. 12, only one job having the
図13は、図10に示したジョブ投入状態において、時刻18:30.25.73の時点でのプリントキュー215の内部状態を示したものである。時刻18:30.25.73の時点でジョブID 1032のジョブが投入されるが、この例ではジョブID 1031のジョブがまだ実行中であると仮定しているため、キューには計2つのジョブがエントリされた状況を示している。
FIG. 13 shows the internal state of the
当然のことながら時刻18:30.25.73の時点でジョブID 1031のジョブが終了していた場合には該ジョブのエントリはプリントキュー215から削除されるのでジョブID 1032のジョブのみがプリントキュー215内に存在していることになる。
As a matter of course, when the job with the
図14は時刻は特定しないが図13の状態から時間が経過しジョブID 1031のジョブが終了した状況を表している。さらに時刻が経過することによってジョブID 1032のジョブも処理が終了すればプリントキュー215からエントリが消滅する。
FIG. 14 shows a situation in which the time is not specified but the job with the
図15は図10に示したジョブ投入状態において、時刻18:35.38.26の時点でのプリントキュー215の内部状態の一例を示したものである。なお、ここでは説明を簡略化するためにジョブID 1032のジョブは時刻18:35.38.26の時点で終了していると過程している。
FIG. 15 shows an example of the internal state of the
時刻18:35.38.26において、図10の情報によればジョブID 1033のグループID 903のグループ開始特殊ジョブが受信されている。しかしながら前述したようにプリントキュー215には印刷対象ジョブのみがエントリとして保持されるためこの時点でのプリントキューのエントリは空のままである。
At time 18: 35.38.26, according to the information in FIG. 10, the group start special job with the
図16は図10に示したジョブ投入状態において、時刻18:35.38.30の時点でのプリントキュー215の内部状態の一例を示したものである。図10の情報によれば時刻時刻18:35.38.30においては、ジョブID 1034のグループID 903の通常ジョブが受信されている。しかしながら、本発明の機器によればグループIDを持つ通常ジョブは対応するグループ終端特殊ジョブが受信されるまでプリントキュー215に投入されないため、このような状態となっている。
FIG. 16 shows an example of the internal state of the
図17は図10に示したジョブ投入状態において、時刻18:35.38.33の時点でのプリントキュー215の内部状態の一例を示したものである。図10の情報によれば時刻時刻18:35.38.33においては、ジョブID 1035のグループID なしの通常ジョブが受信されている。グループIDなしの通常ジョブなので、機器は直ちにこのジョブの処理を開始することが可能であるため、プリントキュー215に投入される。従ってこの時点でのプリントキュー215の内部にはジョブID 1035のジョブが1つ存在し機器によってプリント処理がただちに実行される。
FIG. 17 shows an example of the internal state of the
図18は図10に示したジョブ投入状態において、時刻18:35.38.36の時点でのプリントキュー215の内部状態の一例を示したものである。図10の情報によれば時刻時刻18:35.38.36においては、ジョブID 1036のグループID 903の通常ジョブが受信されている。しかしながら、図16の説明で行った理由によって該ジョブはプリントキュー215に投入されていないことを表している。
FIG. 18 shows an example of the internal state of the
図19は図10に示したジョブ投入状態において、時刻18:35.38.39の時点でのプリントキュー215の内部状態の一例を示したものである。図10の情報によれば時刻時刻18:35.38.39においては、ジョブID 1037のグループID 903の通常ジョブが受信されている。しかしながら、図16の説明で行った理由によって該ジョブはプリントキュー215に投入されていないことを表している。
FIG. 19 shows an example of the internal state of the
図20は図10に示したジョブ投入状態において、時刻18:35.38.43の時点でのプリントキュー215の内部状態の一例を示したものである。図10の情報によれば時刻時刻18:35.38.43においては、ジョブID 1038のグループID 903のグループ終端特殊ジョブが受信されている。
FIG. 20 shows an example of the internal state of the
この段階でプリントキュー215をロックし他クライアントからのジョブ投入をブロックした状態でグループID 903の通常ジョブ全てをプリントキュー215に投入すれば本発明が解決する課題であるところの、アプリケーションによって複数部数印刷が指示された場合、印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行するような形態で複数部数の印刷指示がなされた場合においても他のクライアントから発行された印刷ジョブが割り込むことを防止することができる。
At this stage, if the
図示するように時刻18:35.38.30、時刻18:35.38.36、時刻18:35.38.39にて投入された同一グループID 903を持つジョブが連続してプリントキュー215にエントリされている。
As shown in the drawing, jobs having the
図21は図10に示したジョブ投入状態において、時刻18:35.44.79の時点でのプリントキュー215の内部状態の一例を示したものである。図10の情報によれば時刻時刻18:35.44.79においては、ジョブID 1039のグループIDを持たない通常ジョブが受信されている。図17において説明した理由によって該ジョブは直ちにプリントキュー215に投入されている。
FIG. 21 shows an example of the internal state of the
図22はジョブ管理部214において行われるプリントジョブ投入時のメイン制御処理フローを説明するためのものである。
FIG. 22 is a flowchart for explaining a main control processing flow when a print job is input in the
まず、プリントジョブ投入待ち状態となり(ステップS2201)、ジョブの投入が検出されたらステップS2202において投入されたジョブのジョブ種の判別処理を行う。 First, a print job input waiting state is entered (step S2201), and when the input of a job is detected, a process for determining the job type of the input job is performed in step S2202.
ステップS2203に進みステップS2202において判別されたジョブ種がグループ開始特殊ジョブかどうかを判断し、もしグループ開始特殊ジョブであった場合にはステップS2204に進みグループ開始特殊ジョブの受信処理を実行し再びステップS2201のプリントジョブ投入待ち状態に戻る。 Proceeding to step S2203, it is determined whether or not the job type determined in step S2202 is a group start special job, and if it is a group start special job, the process proceeds to step S2204 to execute reception processing of the group start special job and step again. Return to the print job input waiting state of S2201.
ステップS2203において、投入されたジョブがグループ開始特殊ジョブでなかった場合にはステップS2205に進みグループ終端特殊ジョブかどうかの判別を行う。 If it is determined in step S2203 that the submitted job is not a group start special job, the process advances to step S2205 to determine whether the job is a group end special job.
判別の結果、グループ終端特殊ジョブであった場合にはステップS2206に進みグループ終端特殊ジョブの受信処理を実行し再びステップS2201のプリントジョブ投入待ち状態に戻る。 If it is determined that the job is a group end special job, the process proceeds to step S2206 to execute reception processing of the group end special job and return to the print job input waiting state in step S2201 again.
ステップS2205において、投入されたジョブがグループ終端特殊ジョブでもなかった場合にはステップS2207に進み通常印刷ジョブかどうかの判別を行う。 If it is determined in step S2205 that the submitted job is not a group end special job, the process advances to step S2207 to determine whether the job is a normal print job.
判別の結果、通常印刷ジョブであった場合にはステップS2208に進み通常印刷ジョブの受信処理を実行し再びステップS2201のプリントジョブ投入待ち状態に戻る。 If it is determined that the print job is a normal print job, the process advances to step S2208 to execute a normal print job reception process, and returns to the print job input waiting state in step S2201 again.
ステップS2207において、投入されたジョブが通常印刷ジョブでもなかった場合には機器はエラーと見なしエラー処理を行い(ステップS2209)、再びステップS2201のプリントジョブ投入待ち状態に戻る。 If the input job is not a normal print job in step S2207, the device regards it as an error, performs error processing (step S2209), and returns to the print job input waiting state in step S2201 again.
図23は図22におけるステップS2204のグループ開始特殊ジョブ受信処理の詳細を説明するためのフロー図である。 FIG. 23 is a flowchart for explaining details of the group start special job reception process in step S2204 in FIG.
まず、ジョブに含まれるグループIDを抽出し(ステップS2301)、次に抽出したグループIDが既に登録されたものであるかどうかの判別を行う(ステップS2302)。 First, a group ID included in the job is extracted (step S2301), and then it is determined whether or not the extracted group ID is already registered (step S2302).
判別の結果、既に登録されていたグループIDであった場合、二重にグループの開始処理を指示されたこととなるためエラーとして扱いエラー処理を行い(ステップS2303)、処理を終了する。 As a result of the determination, if the group ID has already been registered, the group start processing is instructed twice, so that it is treated as an error, error processing is performed (step S2303), and the processing ends.
ステップS2302の判別の結果、登録されていないグループIDであった場合にはジョブ管理部214にステップS2301にて抽出されたグループIDを登録し(ステップS2304)、タイマーを開始する(ステップS2305)。 If it is determined in step S2302 that the group ID is not registered, the group ID extracted in step S2301 is registered in the job management unit 214 (step S2304), and a timer is started (step S2305).
タイマーはグループ開始特殊ジョブが投入されてから何らかの理由により対応するグループ終端特殊ジョブが投入されてこなかった場合などに機器内に実行されることのないジョブ情報が存続し続けるのを避けるため、同一グループのジョブが一定時刻以内に投入されなかった場合のタイムアウトエラー処理を実行するためのものである。 The timer is the same in order to avoid continuing job information that will not be executed in the device when the group end special job is not submitted for some reason after the group start special job is submitted. This is for executing timeout error processing when a group job is not submitted within a certain time.
タイマーをセットした後に処理を終了する。 The process ends after setting the timer.
図24は図22におけるステップS2208の通常印刷ジョブ受信処理の詳細を説明するためのフロー図である。 FIG. 24 is a flowchart for explaining details of the normal print job reception process in step S2208 in FIG.
まずジョブに含まれるグループIDを抽出し(ステップS2401)、ステップS2403においてステップS2401の結果グループIDが含まれていなかった場合には直ちに実行されるべき印刷ジョブであることを意味するのでステップS2402に進み該ジョブをプリントキュー215に投入し処理を終了する。
First, the group ID included in the job is extracted (step S2401). If the group ID is not included in step S2401 in step S2403, it means that the print job should be executed immediately. Then, the job is entered into the
ステップS2403の判別の結果、ジョブにグループIDが含まれていた場合にはステップS2404に進みそのグループIDが既に登録されたものであるかどうかの判別を行う(ステップS2404)。 If it is determined in step S2403 that the job includes a group ID, the process advances to step S2404 to determine whether the group ID has already been registered (step S2404).
ステップS2404の判別の結果、登録されていないグループIDであった場合にはエラーとして扱いエラー処理を行い(ステップS2405)、処理を終了する。 If the group ID is not registered as a result of the determination in step S2404, it is handled as an error, error processing is performed (step S2405), and the process is terminated.
ステップS2404の判別の結果、既に登録されていたグループIDであった場合には、グループIDを持たない通常ジョブの処理とは異なり直ちにプリントキュー215にジョブを投入する代わりに二次記憶装置204に印刷用ジョブデータを保存する(ステップS2406)。対応するグループ終端特殊ジョブが到来するか、あるいはタイムアウトエラーが発生するまでこのデータは二次記憶装置204に保存されたままとなる。
If it is determined in step S2404 that the group ID has already been registered, unlike the processing of a normal job having no group ID, the job is immediately stored in the
ステップS2406の次にステップS2407に進みタイムアウトタイマーの経過時間をリセットし処理終了する。 Following step S2406, the process proceeds to step S2407, where the elapsed time of the timeout timer is reset and the process ends.
図25は、図22におけるステップS2206のグループ終端特殊ジョブ受信処理の詳細を説明するためのフロー図である。 FIG. 25 is a flowchart for explaining details of the group end special job reception processing in step S2206 in FIG.
まず、ジョブに含まれるグループIDを抽出し(ステップS2501)、次に抽出したグループIDが既に登録されたものであるかどうかの判別を行う(ステップS2502)。 First, a group ID included in the job is extracted (step S2501), and then it is determined whether the extracted group ID is already registered (step S2502).
判別の結果、登録されていないグループIDであった場合、エラー処理を行い(ステップS2503)、処理を終了する。 If it is determined that the group ID is not registered, an error process is performed (step S2503), and the process ends.
ステップS2502の判別の結果、登録されているグループIDであった場合にはジョブ管理部214は二次記憶装置204に記録されている同一グループIDを持つ通常印刷ジョブを選択する(ステップS2504)。
If it is determined in step S2502 that the group ID is registered, the
次にプリントキュー215をロックしクライアントからの印刷ジョブ投入を一時的にブロックする。これは同一グループIDをもつ複数のジョブをプリントキュー215に投入している最中に他ジョブが間に割り込むことを防止するための処理である。
Next, the
プリントキュー215をロックしたらステップS2504にて選択した同一グループIDを持つジョブを機器に投入さた順序でプリントキュー215に投入し(ステップS2506)、全ての該当ジョブをキューイング完了したらステップS2505にて行ったプリントキュー215のロックを解除し(ステップS2507)、再びクライアントからのジョブ投入が可能な状態にする。
When the
プリントキュー215のロックを解除した段階で処理が終了する。
The process ends when the lock of the
図26は、グループIDを持つジョブが投入されているプリントキュー215内のジョブの優先度を変更した際の振る舞いを説明するためのものである。
FIG. 26 is a diagram for explaining the behavior when the priority of a job in the
図27はプリントキューの内部状態が図26に示すような状態であった場合に、ジョブIDが1039のジョブの優先度を一つ上げてプリントキューの前方向に移動した結果の状態を表したものである。 FIG. 27 shows the result of moving the print queue forward by increasing the priority of the job whose job ID is 1039 when the internal state of the print queue is as shown in FIG. Is.
通常のプリントジョブの優先順位変更であれば、ジョブの優先度を一つ上げた場合、直前のジョブと自ジョブの優先度の交換作業となる。しかしながら図示するように、ジョブIDが1039のジョブの直前のジョブはジョブID 1037でグループID 903のジョブであり、このジョブとジョブID 1036でグループID 903およびジョブID 1034でグループID 903のジョブは3つのジョブで一まとまりとして制御されるべきものである。
If the priority order of a normal print job is changed, when the job priority is increased by one, the job of exchanging the priorities of the immediately preceding job and the own job is performed. However, as shown in the figure, the job immediately before the job with the
従ってジョブID 1039のジョブとその直前のジョブID 1037でグループID 903のジョブとの優先度を交換してしまうと、グループID 903を持つ3つのジョブの間にジョブID 1039のジョブが割り込まれた形となり、本発明が解決しようとする問題が発生してしまうこととなる。
Therefore, if the priority of the job with the
そのために、本発明においてジョブの優先度を変更する際に、自ジョブの直前のジョブがグループIDをもつまとまりのジョブ群である場合には、それら全てのジョブを追い越した位置に自ジョブを移動させる処理が必要となる。図27の状態は上述の処理を適用した結果を示したものである。 Therefore, when changing the priority of a job in the present invention, if the job immediately before the own job is a group of jobs having a group ID, the own job is moved to a position that has overtaken all those jobs. Processing is required. The state of FIG. 27 shows the result of applying the above processing.
図27においてはジョブの優先度を1つだけ変更する場合の例を示したが、複数の優先度を変更する際にも図27にて説明した方法を優先度の数分だけ繰り返せば同様の効果が得られるため、複数優先度の変更時の説明は省略する。また、優先度を下げる場合についてもキュー内部の移動方向の違いを除けば処理内容は同じであるため、説明は省略する。 FIG. 27 shows an example in which only one job priority is changed, but when changing a plurality of priorities, the same method can be used by repeating the method described in FIG. 27 by the number of priorities. Since an effect is obtained, the description when changing the plurality of priorities is omitted. In the case of lowering the priority, the processing content is the same except for the difference in the movement direction inside the queue, and the description is omitted.
また、自ジョブがグループIDを持つグループである場合には後述する。 Further, when the own job is a group having a group ID, it will be described later.
図28は、グループIDを持つジョブが投入されているプリントキュー215内のジョブをキャンセルした際の振る舞いを説明するためのものである。
FIG. 28 is a diagram for explaining the behavior when a job in the
図29はプリントキューの内部状態が図28に示すような状態であった場合に、ジョブIDが1039のジョブをキャンセルした結果の状態を表したものである。プリントジョブのキャンセルはキュー内にエントリされているジョブ単位で行われるのが通常であるが、本発明においては同一グループを持つジョブ群は単一のジョブとして振舞うよう制御することが趣旨である。従って、同一グループを持つジョブのうちの一部分のみをキャンセルすることは可能ではあるものの、本発明により解決しようとする課題について考慮すれば、そのような振る舞いは好ましいものではない。 FIG. 29 shows the result of canceling a job with a job ID of 1039 when the internal state of the print queue is as shown in FIG. Normally, a print job is canceled for each job entered in the queue. However, in the present invention, control is performed so that jobs having the same group behave as a single job. Therefore, although it is possible to cancel only a part of jobs having the same group, such behavior is not preferable in view of the problem to be solved by the present invention.
従って、同一グループを持つジョブ群をキャンセルする際には該当するジョブを全てキャンセルされるように振舞う必要がある。。図29の状態は上述の処理を適用した結果を示したものである。 Therefore, when canceling a job group having the same group, it is necessary to behave so that all corresponding jobs are canceled. . The state of FIG. 29 shows the result of applying the above processing.
図30は本発明による機器の操作部202の基本画面を示すためのものである。本実施例において想定している機器はプリンタとしての機能以外にコピー、スキャン、ボックス、各種送信機能を備える複合機を例として用いているため、それら複数の機能のボタン等が表示されている。
FIG. 30 shows a basic screen of the
プリントジョブのキャンセル及び優先度変更処理はシステム状況/中止ボタン3001押下によって選択可能になる。
The print job cancel and priority change processing can be selected by pressing the system status / cancel
図31は、図30に示す画面においてシステム状況/中止ボタン3001を押下しさらにプリントボタン3101を押下した状態を表したものである。前述したように複合機であるため本発明の効果を説明する上で不要な機能の各種ボタンが含まれているが、それらに関する説明は省略する。
FIG. 31 shows a state where the system status / cancel
図31の上部にプリントキュー215にエントリされているプリントジョブの情報としてジョブ番号、ジョブ種、グループID等がジョブ状態画面3102表示されている。これらの各情報の意味については既に行っているため説明を省略する。ジョブ状態選択画面の該当ジョブのフィールドのいずれかの場所を押下するとそのジョブが選択状態となり、ジョブ操作の対象となる。
A
ジョブ状態画面3102の下部に中止ボタン3103、優先度を上げるボタン3104、優先度を下げるボタン3105が存在する。上述のジョブ状態画面において選択されたジョブがこれらの処理対象となる。
At the bottom of the
なお、グループIDが存在するジョブについては、そのグループIDを持つジョブを一つでも選択したら同一グループIDを持つほかの全てのジョブも選択状態となるよう制御される。 For a job having a group ID, if even one job having the group ID is selected, all other jobs having the same group ID are controlled to be selected.
閉じるボタン3106が押下されると、図31の画面を閉じて図30の画面に戻る。
When the
図32は図31に示したジョブ状態において、グループID 903を持つジョブを選択状態として中止ボタン3103を押下した直後の画面を表したものである。前述したようにグループIDを持つジョブは選択状態とする際に同一グループIDを持つ全てのジョブが同時に選択状態となるように制御されるためグループID903を持つジョブは全て削除されていることが分かる。
FIG. 32 shows a screen immediately after pressing the
図33は図31に示したジョブ状態において、ジョブ番号1039のジョブを選択状態とした上で優先度を上げるボタン3104を押下した直後の画面を表したものである。図31に示すようにジョブ番号1039のジョブのひとつ上の優先度を持つジョブはジョブ番号1037 グループID 903を持つジョブである。グループIDを持つジョブであるため、同一グループIDを持つジョブ群を全て追い越すように優先度を制御された結果ジョブ番号1034 グループID 903のジョブの直前にジョブ番号1039のジョブが移動されていることが分かる。
FIG. 33 shows a screen immediately after pressing the
図34は図31に示す画面によってユーザから指示されジョブ管理部214において実行されるジョブ管理処理のフローを説明するためのものである。 FIG. 34 is a flowchart for explaining the flow of job management processing that is instructed by the user on the screen shown in FIG.
まず、図31の画面が表示された段階でユーザからの要求を受け付けるためにユーザからの入力待ち状態となる(ステップS3401)。ユーザからの入力があった場合にはステップS3402に遷移し、ユーザからの入力がジョブ状態画面3102におけるジョブの選択処理であるかどうかの判別を行う。
First, in order to accept a request from the user when the screen of FIG. 31 is displayed, the apparatus waits for input from the user (step S3401). If there is an input from the user, the process proceeds to step S3402, and it is determined whether or not the input from the user is a job selection process on the
ステップS3402の判別の結果、ジョブ選択処理であることが判明したらステップS3403に進みジョブ選択処理を実行した後に再びステップS3401のユーザからの入力待ち状態となる。 If it is determined in step S3402 that the job selection process is being performed, the process proceeds to step S3403, and after executing the job selection process, the process again waits for input from the user in step S3401.
ステップS3402の判別の結果、ジョブの選択処理でなかった場合にはステップS3404に進みユーザによる閉じるボタン3106の押下であるかどうかを判別する。判別の結果、ユーザによる閉じるボタン3106の押下であった場合には何もせずに処理を終了し、結果的に図30に示す状態に画面が戻る。
If it is determined in step S3402 that the job selection process has not been performed, the process advances to step S3404 to determine whether or not the user presses the
ステップS3404の判別の結果閉じるボタン3106押下でなかった場合にはステップS3405に進みユーザによる中止ボタン3103押下であったかどうかをさらに判別する。
If it is determined in step S3404 that the
判別の結果中止ボタン3103押下であった場合にはステップS3406に進み、その時点で選択状態にあるジョブが存在するかどうかを判別し、選択状態にあるジョブがあればそれらジョブのキャンセル処理を実行し(ステップS3407)、選択状態にあるジョブが存在しない場合には何も実行せずにステップS3401のユーザからの入力待ち状態に戻る。
If it is determined that the cancel
ステップS3405の判別の結果、ユーザからの入力が中止ボタン3103押下でもなかった場合にはステップS3408に進み優先度上げるボタン3104であるかどうかを判別する。
As a result of the determination in step S3405, if the input from the user is not a press of the
判別の結果、ユーザからの入力が優先度上げるボタン3104押下であった場合にはステップS3409に進み、その時点で選択状態にあるジョブが存在するかどうかを判別し、選択状態にあるジョブがあればそれらジョブの優先度を上げる処理を実行し(ステップS3410)、選択状態にあるジョブが存在しない場合には何も実行せずにステップS3401のユーザからの入力待ち状態に戻る。
As a result of the determination, if the input from the user is a push of the
ステップS3408の判別の結果ユーザからの入力が優先度上げるボタン3104押下でなかった場合にはステップS3411に進み優先度下げるボタン3105であるかどうかを判別する。
As a result of the determination in step S3408, if the input from the user is not pressing the
判別の結果、ユーザからの入力が優先度下げるボタン3105押下であった場合にはステップS3412に進み、その時点で選択状態にあるジョブが存在するかどうかを判別し、選択状態にあるジョブがあればそれらジョブの優先度を下げる処理を実行し(ステップS3413)、選択状態にあるジョブが存在しない場合には何も実行せずにステップS3401のユーザからの入力待ち状態に戻る。 As a result of the determination, if the input from the user is pressing the button 3105 for lowering the priority, the process proceeds to step S3412 to determine whether there is a job that is currently selected, and there is a job that is in the selected state. For example, the process of lowering the priority of these jobs is executed (step S3413), and if there is no job in the selected state, nothing is executed and the process returns to the input waiting state from the user in step S3401.
ステップS3411の判別の結果、ユーザからの入力が優先度下げるボタン3105押下でもなかった場合にはその他の処理を実行し(ステップS3414)、処理が終了したらステップS3401のユーザからの入力待ち状態に戻る。その他の処理に具体的にどの処理が該当するかに関しては本発明の効果を説明する上で重要ではないので省略する。 If the result of the determination in step S3411 is that the input from the user is not a depression of the priority lowering button 3105, other processing is executed (step S3414). . Which process specifically corresponds to other processes is not important in explaining the effect of the present invention, and will not be described.
図35は図34におけるステップS3403のジョブ選択処理の詳細を説明するためのフロー図である。 FIG. 35 is a flowchart for explaining details of the job selection processing in step S3403 in FIG.
まずステップS3501において、既に選択状態となっているジョブが存在するかどうかの判別を行う。本実施例のジョブ操作においては複数ジョブの選択は許しておらず、ジョブの選択は必ず排他的に行われることを前提としている。ただし、グループのジョブはそれらはまとまりとして単一ジョブであるかのように扱われる。 First, in step S3501, it is determined whether there is a job that is already selected. In the job operation of this embodiment, selection of a plurality of jobs is not permitted, and it is assumed that job selection is always performed exclusively. However, group jobs are treated as if they were a single job.
ステップS3501の判別の結果、既に選択状態にあるジョブが存在する場合にはその既に選択状態となっているジョブの選択状態を解除し(ステップS3502)ステップS3503に進む。ステップS3501の判別の結果、既に選択状態にあるジョブが存在しない場合には何もせずにステップS3503に進む。 If it is determined in step S3501 that there is a job that is already selected, the selected state of the already selected job is canceled (step S3502), and the process proceeds to step S3503. If the result of determination in step S3501 is that there is no job already selected, nothing is done and the process proceeds to step S3503.
ステップS3503ではユーザによってジョブ状態画面3102上で選択されたジョブをひとまず選択状態とする。次にステップS3504に進み直前のステップで選択状態とされたジョブはグループIDを持っているかどうかを判別する。
In step S3503, the job selected on the
ステップS3504の判別の結果、グループIDを持たない場合にはこの段階でジョブの選択処理は終了する。 If the result of determination in step S3504 is that there is no group ID, job selection processing ends at this stage.
ステップS3504の判別の結果、ステップS3503で選択状態とされたジョブがグループIDを持つ場合、同一グループIDを持つ全てのジョブを選択状態にするためにステップS3505に進む。ステップS3505からは機器内に存在する全ジョブについて走査しステップS3503で選択されたジョブと同一グループIDを持つジョブに対して選択状態にするための処理を行う。 If it is determined in step S3504 that the job selected in step S3503 has a group ID, the process advances to step S3505 to select all jobs having the same group ID. From step S3505, all jobs existing in the device are scanned, and processing for selecting a job having the same group ID as the job selected in step S3503 is performed.
まずステップS3505において、全ジョブについて走査完了したかどうかを判別し、まだ走査していないジョブが残っている場合にはステップS3506に進み次の未走査ジョブをピックアップし、そのジョブがステップS3503で選択状態とされたジョブと同一グループIDを持つかどうかを判別し(ステップS3507)、同一グループでないと判別された場合には再びステップS3505に戻り次の未走査ジョブについて同様のチェックを実行する。 First, in step S3505, it is determined whether or not scanning has been completed for all jobs. If there are still unscanned jobs, the process proceeds to step S3506 to pick up the next unscanned job, and that job is selected in step S3503. It is determined whether or not the job has the same group ID (step S3507). If it is determined that the job is not the same group, the process returns to step S3505 to perform the same check for the next unscanned job.
ステップS3507の判別の結果そのジョブがステップS3503で選択状態とされたジョブと同一グループIDを持つと判別された場合、ステップS3508に進みそのジョブを選択状態とした後に再びステップS3505に戻り次の未走査ジョブについて同様のチェックを実行する。 If it is determined in step S3507 that the job has the same group ID as the job selected in step S3503, the process proceeds to step S3508, the job is selected, and then the process returns to step S3505 again. A similar check is performed for the scan job.
このような処理を全ジョブについてチェックするまでステップS3505からステップS3508までの処理が行われる。ステップS3505の判別において、もう未走査のジョブが残っていないことが判明したらジョブの選択処理は終了する。 Processing from step S3505 to step S3508 is performed until such processing is checked for all jobs. If it is determined in step S3505 that there are no more unscanned jobs, the job selection process ends.
図36は図34におけるステップS3407のジョブキャンセル処理の詳細を説明するためのフロー図である。 FIG. 36 is a flowchart for explaining details of the job cancel processing in step S3407 in FIG.
まずステップS3601において、選択されたジョブ全てに対して削除処理が終了したかどうかを判別し、まだ未処理ジョブが残っている場合にはステップS3602に進み次の削除対象ジョブを選択しそのジョブを削除する(ステップS3603)。その後再びステップS3601に戻り、削除対象として選択された全ジョブについて処理が完了するまで繰り返される。全ジョブについて削除が完了したらキャンセル処理は終了する。 First, in step S3601, it is determined whether or not the deletion processing has been completed for all selected jobs. If there are still unprocessed jobs, the process proceeds to step S3602 to select the next job to be deleted and select the job. Delete (step S3603). Thereafter, the process returns to step S3601 again, and is repeated until the processing is completed for all jobs selected as the deletion target. When the deletion is completed for all jobs, the cancel process ends.
図37は、図34におけるステップS3410のジョブの優先度上げる処理の詳細を説明するためのフロー図である。 FIG. 37 is a flowchart for explaining details of the processing for raising the priority of a job in step S3410 in FIG.
まず、選択されたジョブの中に実行中すなわち印刷処理中であるものが存在するかどうかを判別する(ステップS3701)。これは本実施例における機器においては実行中のジョブの優先度は変更できないという仕様のためである。しかしながらこの仕様は本実施例に用いた機器に関する例であり、その他の仕様すなわち実行中のジョブについても優先度を強制的に変更できるような機器においても、請求項に記載の要件を満たす限り本発明が有効であることは言うまでもない。 First, it is determined whether or not there is a selected job that is being executed, that is, being printed (step S3701). This is due to the specification that the priority of the job being executed cannot be changed in the device in this embodiment. However, this specification is an example related to the device used in the present embodiment, and other specifications, that is, devices that can forcibly change the priority of a job being executed, are not limited as long as the requirements described in the claims are satisfied. Needless to say, the invention is effective.
ステップS3701において、選択されたジョブの中に実行中のものが存在することが判明したらその段階で優先度上げる処理を終了する。選択されたジョブの中に実行中のものが存在しなかった場合のみステップS3702に進む。グループIDを持つジョブの場合には同一グループのジョブの中で一つでも実行中のジョブが存在すればこのステップにおいては実行中であると判断する。 If it is determined in step S3701 that there is a job being executed in the selected job, the priority raising process is terminated at that stage. The process advances to step S3702 only when there is no job being executed among the selected jobs. In the case of a job having a group ID, if at least one of the jobs in the same group is being executed, it is determined that the job is being executed in this step.
ステップS3702においては次に選択されたジョブがグループIDを持つかどうかを判別する。グループIDを持たないジョブについては単体で処理可能なためプリントキュー215中の該ジョブの直前のジョブを選択する(ステップS3704)。選択されたジョブがグループIDを持つ場合には同じグループの中で最も優先度の高いジョブの直前所ジョブを選択する(ステップS3703)。
In step S3702, it is determined whether the next selected job has a group ID. Since a job having no group ID can be processed alone, the job immediately before the job in the
ステップS3703およびステップS3704において選択されたジョブは、優先度変更後に順位が入れ替わるジョブの候補となる。ステップS3703およびステップS3704が終了するとステップS3705に進む。 The job selected in steps S3703 and S3704 is a candidate for a job whose order is changed after the priority is changed. When step S3703 and step S3704 are completed, the process proceeds to step S3705.
ステップS3705では、ステップS3703およびステップS3704において選択された優先度変更後に順位が入れ替わる候補となるジョブがグループIDを持つかどうかを判別し、グループIDを持つ場合にはさらに該ジョブと同一グループIDを持つジョブのうち、最も優先度の高いジョブを再選択し(ステップS3706)、その後にステップS3707に進む。今度は再選択されたジョブが優先度変更後に順位が入れ替わる候補となるジョブである。 In step S3705, it is determined whether the candidate job whose order is switched after the priority change selected in steps S3703 and S3704 has a group ID. If the job has a group ID, the same group ID as that job is further determined. Among the held jobs, the job with the highest priority is selected again (step S3706), and then the process proceeds to step S3707. This time, the reselected job is a candidate job whose order is changed after the priority is changed.
ステップS3705の判別の結果ステップS3703およびステップS3704において選択された優先度変更後に順位が入れ替わる候補となるジョブがグループIDを持たなかった場合には何もせずにステップS3707に進む。 As a result of the determination in step S3705, if the candidate job whose order is changed after the priority change selected in steps S3703 and S3704 does not have a group ID, the process proceeds to step S3707 without doing anything.
ステップS3707ではこれまでの処理で選択した優先度変更後に順位が入れ替わる候補となるジョブが実行中かどうかの判別を行う。実行中だった場合には実行中の優先度の変更は仕様として許さないためにユーザが選択したジョブの優先度を上げる処理は出来ないことになるため、ここで処理を終了する。 In step S3707, it is determined whether or not a candidate job whose order is changed after the priority change selected in the above processing is being executed. If the job is being executed, the priority change during the execution is not permitted as a specification, and the process of raising the priority of the job selected by the user cannot be performed. Therefore, the process ends here.
実行中でなかった場合にはユーザが選択したジョブを先の優先度変更後に順位が入れ替わる候補となるジョブの直前に移動し優先度上げる処理は終了する。 If the job is not being executed, the job selected by the user is moved immediately before the candidate job whose order is changed after the previous priority change, and the process for raising the priority is completed.
図38は、図34におけるステップS3413のジョブの優先度下げる処理の詳細を説明するためのフロー図である。 FIG. 38 is a flowchart for explaining details of the job priority lowering process in step S3413 in FIG.
まず、選択されたジョブの中に実行中すなわち印刷処理中であるものが存在するかどうかを判別する(ステップS3801)。これは本実施例における機器においては実行中のジョブの優先度は変更できないという仕様のためである。しかしながらこの仕様は本実施例に用いた機器に関する例であり、その他の仕様すなわち実行中のジョブについても優先度を強制的に変更できるような機器においても、請求項に記載の要件を満たす限り本発明が有効であることは言うまでもない。 First, it is determined whether or not there is a selected job that is being executed, that is, that is undergoing print processing (step S3801). This is due to the specification that the priority of the job being executed cannot be changed in the device in this embodiment. However, this specification is an example related to the device used in the present embodiment, and other specifications, that is, devices that can forcibly change the priority of a job being executed, are not limited as long as the requirements described in the claims are satisfied. Needless to say, the invention is effective.
ステップS3801において、選択されたジョブの中に実行中のものが存在することが判明したらその段階で優先度下げる処理を終了する。選択されたジョブの中に実行中のものが存在しなかった場合のみステップS3802に進む。グループIDを持つジョブの場合には同一グループのジョブの中で一つでも実行中のジョブが存在すればこのステップにおいては実行中であると判断する。 If it is determined in step S3801 that the selected job is being executed, the priority lowering process ends at that stage. The process advances to step S3802 only when no job being executed exists in the selected job. In the case of a job having a group ID, if at least one of the jobs in the same group is being executed, it is determined that the job is being executed in this step.
ステップS3802ではユーザによって優先度を下げる対象として選択されたジョブが既にプリントキュー215の中で優先度が最下位であるかどうかの判別を行う。選択されたジョブが既に最下位である場合にはそれ以上優先度を下げることはできないので優先度下げる処理を終了する。ステップS3802において、選択されたジョブの優先度が最下位でないと判明した場合のみステップS3803に進む。
In step S3802, it is determined whether or not the job selected as the target for lowering the priority by the user has the lowest priority in the
ステップS3803においては選択されたジョブがグループIDを持つかどうかを判別する。グループIDを持たないジョブについては単体で処理可能なためプリントキュー215中の該ジョブの直後のジョブを選択する(ステップS3805)。選択されたジョブがグループIDを持つ場合には同じグループの中で最も優先度の低いジョブの直前所ジョブを選択する(ステップS3804)。
In step S3803, it is determined whether the selected job has a group ID. Since a job having no group ID can be processed alone, the job immediately after the job in the
ステップS3804およびステップS3805において選択されたジョブは、優先度変更後に順位が入れ替わるジョブの候補となる。ステップS3804およびステップS3805が終了するとステップS3806に進む。 The job selected in step S3804 and step S3805 is a candidate for a job whose order is changed after the priority is changed. When step S3804 and step S3805 are completed, the process proceeds to step S3806.
ステップS3806では、ステップS3804およびステップS3805において選択された優先度変更後に順位が入れ替わる候補となるジョブがグループIDを持つかどうかを判別し、グループIDを持つ場合にはさらに該ジョブと同一グループIDを持つジョブのうち、最も優先度の低いジョブを再選択し(ステップS3807)、その後にステップS3808に進む。今度は再選択されたジョブが優先度変更後に順位が入れ替わる候補となるジョブである。 In step S3806, it is determined whether the candidate job whose order is changed after the priority change selected in steps S3804 and S3805 has a group ID. If the job has a group ID, the same group ID as that job is further determined. Among the held jobs, the job with the lowest priority is selected again (step S3807), and then the process proceeds to step S3808. This time, the reselected job is a candidate job whose order is changed after the priority is changed.
ステップS3806の判別の結果ステップS3804およびステップS3805において選択された優先度変更後に順位が入れ替わる候補となるジョブがグループIDを持たなかった場合には何もせずにステップS3808に進む。 As a result of the determination in step S3806, if the candidate job whose order is changed after the priority change selected in steps S3804 and S3805 does not have a group ID, the process proceeds to step S3808 without doing anything.
ステップS3808においてユーザが選択したジョブを先の優先度変更後に順位が入れ替わる候補となるジョブの直後に移動し優先度下げる処理は終了する。 In step S3808, the job selected by the user is moved immediately after the candidate job whose order is changed after the previous priority change, and the priority lowering process ends.
Claims (11)
前記ジョブ管理手段はグループ開始特殊ジョブ及びグループ終端特殊ジョブを認識する機能、通常印刷ジョブに付加されるグループIDを認識する機能をさらに有し、
前記グループ開始特殊ジョブを受信した際には以後受信される通常ジョブのうち該グループ開始特殊ジョブのグループIDと同一のグループIDを持つものについては受信後印刷せずに前記記憶手段にデータの蓄積のみ行い、
前記グループ終端特殊ジョブを受信した際に、該グループ終端特殊ジョブのグループIDに対応するグループ開始特殊ジョブが受信された時点からグループ終端特殊ジョブ受信の時点までに受信された同一グループIDを持つ通常ジョブを前記記憶装置内から検索し受信された順に印刷処理を実行するよう制御可能であることを特徴とする画像処理装置。 Printing means for printing image information, connecting means for connecting to an external device via a network, storage means for storing image information, and job management for receiving and managing jobs from outside the device via the connecting means Having at least means,
The job management means further has a function of recognizing a group start special job and a group end special job, a function of recognizing a group ID added to a normal print job,
When the group start special job is received, among the normal jobs received thereafter, those having the same group ID as that of the group start special job are stored in the storage means without printing after reception. Only do
When the group end special job is received, the normal group having the same group ID received from when the group start special job corresponding to the group ID of the group end special job is received until the group end special job is received. An image processing apparatus, wherein a job is retrieved from the storage device and controllable to execute print processing in the order received.
前記選択手段及び印刷ジョブ管理手段によって印刷ジョブのリスト内の順序変更する際に、
前記選択されたジョブと、同様に前記選択手段及び印刷ジョブ管理手段によって選択された前記グループIDを持つグループ開始特殊ジョブ及びグループ終端特殊ジョブ及び対応したグループIDを持つ通常ジョブからなるグループジョブ群との順序とを入れ替える場合、該グループジョブ群は単一のジョブとして一塊で順序変更されるよう振舞うことを特徴とする請求項2に記載の画像処理装置。 Selection means for selecting a specific print job for a plurality of print jobs sent to the device, the job management means in the order in the list of print jobs registered in the device for the selected specific print job Has the function to change
When the order in the list of print jobs is changed by the selection unit and the print job management unit,
A group job group consisting of the selected job, a group start special job having the group ID selected by the selection unit and the print job management unit, a group end special job, and a normal job having a corresponding group ID; The image processing apparatus according to claim 2, wherein when the order is changed, the group job group behaves so that the order is changed as a single job in a lump.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005274193A JP2007083501A (en) | 2005-09-21 | 2005-09-21 | Image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005274193A JP2007083501A (en) | 2005-09-21 | 2005-09-21 | Image processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007083501A true JP2007083501A (en) | 2007-04-05 |
Family
ID=37970988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005274193A Withdrawn JP2007083501A (en) | 2005-09-21 | 2005-09-21 | Image processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007083501A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011022782A (en) * | 2009-07-15 | 2011-02-03 | Fuji Xerox Co Ltd | Printing system and program |
JP2015098131A (en) * | 2013-11-19 | 2015-05-28 | キヤノン株式会社 | Image formation device, information processing device, control method thereof and program |
-
2005
- 2005-09-21 JP JP2005274193A patent/JP2007083501A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011022782A (en) * | 2009-07-15 | 2011-02-03 | Fuji Xerox Co Ltd | Printing system and program |
JP2015098131A (en) * | 2013-11-19 | 2015-05-28 | キヤノン株式会社 | Image formation device, information processing device, control method thereof and program |
US10101950B2 (en) | 2013-11-19 | 2018-10-16 | Canon Kabushiki Kaisha | Image forming apparatus, information processing apparatus and control method thereof, and storage medium storing a program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3405159B2 (en) | Printing equipment | |
JP5193327B2 (en) | Image forming apparatus | |
US6671065B1 (en) | Method and apparatus to optimize transition of resources from a lower priority to a higher priority job | |
EP1104167A2 (en) | Method and apparatus for managing job contention for system resources in an electronic reprographic system | |
JP4950829B2 (en) | Information processing apparatus, image processing apparatus, and information processing method thereof | |
US6570670B1 (en) | Method and apparatus to enable job streaming for a set of commonly shared resources | |
US6762857B1 (en) | Method and apparatus to enable processing multiple capabilities for a sub-job when using a set of commonly shared resources | |
US20060082827A1 (en) | Network printer to control a print queue and method thereof | |
EP1104168B1 (en) | Method and apparatus for managing job contention for system resources in an electronic reprographic system | |
JP2007083501A (en) | Image processing apparatus | |
JP5929431B2 (en) | Image recording apparatus, control method for image recording apparatus, and control program | |
EP1128259B1 (en) | Print job management system | |
US6614542B1 (en) | Method and apparatus to improve system concurrency for a job using a set of commonly shared resources such that a specific resource is used only for a portion of the job | |
JP2011031580A (en) | Image forming apparatus, image processing method, program, and recording medium | |
US7433071B2 (en) | Printing method and apparatus of multi function product and computer-readable recording medium for storing computer program for controlling the product | |
JP2002312136A (en) | Image information system and image-forming device | |
JP5211634B2 (en) | Image processing apparatus and priority determination method | |
JP3509815B2 (en) | Printing system, image forming apparatus, and job management method | |
JP2001318769A (en) | Image output controller, image output control method and storage medium | |
JP2005353085A (en) | System and method for intelligent queuing of document to be processed | |
JPH10232748A (en) | Print system | |
JP2006159623A (en) | Printer | |
JP2003179712A (en) | Printer and job information managing method | |
JP2003039779A (en) | Printer | |
JP5310777B2 (en) | Image forming apparatus, image processing method, and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081202 |