JP2007083501A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

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
print
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
Application number
JP2005274193A
Other languages
Japanese (ja)
Inventor
Koji Kanemoto
好司 金本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005274193A priority Critical patent/JP2007083501A/en
Publication of JP2007083501A publication Critical patent/JP2007083501A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus which prevents an outputted article by another printing job from being mixed up among a plurality of numbers of printed articles. <P>SOLUTION: When a plurality of the numbers of printing jobs are issued, even in an application for practicing a plurality of the numbers of printing by a system that the printing application issues the printing jobs by the numbers of designated numbers by a user to an instrument without designating a plurality of the numbers as printing data, information on the numbers is buried in the printing data, and the information on the numbers are interpreted by the printer side when the printing data are interpreted so that they are reflected in the time when the printing jobs are practiced. <P>COPYRIGHT: (C)2007,JPO&INPIT

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をあげることが出来る。
特開2001−134401号公報
For example, Patent Document 1 can be cited as a conventional example.
JP 2001-134401 A

後者の方式、すなわち印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行する場合、そのプリントジョブを受信するプリンタ側では、同一データを複数分印刷指示された場合とそもそも待った区別の印刷ジョブを複数受信したかの識別をすることができない。そのため、例えば後者の方式を採用するアプリケーションからユーザが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 user issues 20 print jobs from an application that adopts the latter method, a print job that is output as a single copy is issued 20 times continuously to the printer.

当然のことながら、プリンタがネットワークを介して複数のクライアント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 claims 1 to 9.

本発明により従来技術がもつ問題点を解決し印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行する方式で複数部数印刷を実行するアプリケーションにおいても印刷データの中に部数情報を埋め込み、プリンタ側で印刷データ解釈時に部数情報を解釈して印刷ジョブの実行時に反映させる方式によって複数部数印刷を指示した場合と同様の操作性を提供し、かつ複数部印刷物の間に他の印刷ジョブによる出力物が紛れ込むことを防止することによって出力物の利便性を高める画像処理装置を提供することが可能となった。   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 system bus 201 that mediates transmission and reception of data and control signals. These configurations are examples used in the description of the embodiments, and the present invention can be applied to any configuration as long as the items described in the claims are satisfied.

操作部202は機器が通常備える単数あるいは複数のキーと表示装置からなる部分であり、ユーザの機器に対する操作の入出力を行う部分である。   The operation unit 202 is a part composed of one or a plurality of keys and a display device that are usually provided in the device, and is a part that inputs and outputs operations for the user's device.

一次記憶装置203、二次記憶装置204はそれぞれシステムが印刷処理に使用したりシステムが使用するデータを一時的あるいは長期的に蓄積するために用いる半導体記憶装置、磁気記録装置等の装置である。   The primary storage device 203 and the secondary storage device 204 are devices such as a semiconductor storage device and a magnetic recording device that are used by the system for printing processing and for storing data used by the system temporarily or for a long time.

ネットワークアダプタ205はネットワーク1によって接続された外部の機器と情報の送受信を行う装置であり、プロトコル解析部206はネットワークアダプタ205が受信したデータをサポートするプロトコルに応じて処理し、機器内で処理可能な形式に変換するためのものである。ただし、ネットワークアダプタ205及びプロトコル解析部206の働きは本発明の本質ではないので詳細は説明は省略する。   The network adapter 205 is a device that transmits / receives information to / from an external device connected via the network 1, and the protocol analysis unit 206 processes the data received by the network adapter 205 according to the protocol that can be processed within the device. It is for converting to a different format. However, since the functions of the network adapter 205 and the protocol analysis unit 206 are not the essence of the present invention, detailed description thereof will be omitted.

PDL解釈部207は印刷対象データ(PDLデータ)をイメージデータに変換する働きをし、ここで変換されたイメージデータはエンジンコントローラ208を介してプリントエンジン209に送られることによって物理的な印刷処理が行われる。これらの詳細な構成に関する説明も上記と同様の理由によって省略する。   The PDL interpretation unit 207 functions to convert print target data (PDL data) into image data. The converted image data is sent to the print engine 209 via the engine controller 208 to perform physical printing processing. Done. A description of these detailed configurations is also omitted for the same reason as described above.

スキャンエンジン211とスキャンエンジンコントローラ210は紙原稿を光学的にスキャンし電子情報に変換するための装置である。これらの詳細な構成に関する説明も上記と同様の理由によって省略する。   The scan engine 211 and the scan engine controller 210 are devices for optically scanning a paper document and converting it into electronic information. A description of these detailed configurations is also omitted for the same reason as described above.

課金管理部212は、ユーザの機器に対する利用状況や印刷処理等に要した消耗品等の量に応じ、正しく課金を行うための管理を担当するモジュールである。   The billing management unit 212 is a module in charge of management for performing billing correctly according to the usage status of the user's device and the amount of consumables required for print processing.

ジョブ管理部214は、機器に投入されるジョブの制御を司るモジュールであり、通常のジョブのキャンセルや優先度変更処理に加え、本発明の特徴である特殊ジョブが投入された時の制御も本モジュールにおいて行われる。   The job management unit 214 is a module that controls the job to be input to the device. In addition to normal job cancellation and priority change processing, the job management unit 214 also performs control when a special job that is a feature of the present invention is input. Done in the module.

プリントキュー215は、機器に対して投入されたプリントジョブを投入順に管理するためのものである。キューの先頭に位置するジョブをPDL解釈部207に送信することによりプリントジョブを実行させる。ジョブ管理部214において行われるジョブのキャンセルや優先度変更処理時には処理結果がキューの内部状態に反映される。   The print queue 215 is for managing print jobs submitted to the device in the order of submission. The print job is executed by transmitting the job located at the head of the queue to the PDL interpretation unit 207. At the time of job cancellation or priority change processing performed in the job management unit 214, the processing result is reflected in the internal state of the queue.

メインコントローラ213は以上説明した各モジュールの働き全体の制御を司り、本発明の機能を実現するためのステップを実行するためのものである。   The main controller 213 controls the overall operation of each module described above, and executes the steps for realizing the functions of the present invention.

図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 device 302 and four PCs from clients A (304) to D (303) are connected to a network 301.

ここでのクライアントとは機器302に対してプリントジョブを発行するPCを想定しているが、これはあくまでも本実施例における発明の効果を説明するための環境の一例に関するものであり、その他の形態をとった場合においても請求項に記載の項目を満たす限り本発明は有効であることはいうまでもない。   Here, the client is assumed to be a PC that issues a print job to the device 302. However, this is only an example of an environment for explaining the effect of the invention in this embodiment, and other forms. Needless to say, the present invention is effective as long as the items described in the claims are satisfied.

図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 printer 20 times continuously.

当然のことながら印刷データとして複数部数印刷指示を行うアプリケーションに対して本発明を適用したとしても得られる効果は同じである。   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 copies field 402 when instructing printing of a plurality of copies, the result is reflected in the output result of the printer that executes printing. When the print start button 403 is pressed, setting information that has been set by the user so far is passed to the application, and a print job is issued based on the setting information and transmitted to the device.

ユーザがプリントジョブに対して設定可能な項目は複数存在するが、本実施例の説明においては部数以外の設定項目は重要ではないためここでは部数についてのみユーザの設定として扱う。しかしながら、その他にいかなる設定がユーザによってなされた場合でも請求項に記載の項目を満たす限り本発明は有効であることはいうまでもない。   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 header area 501 and the termination information 504 are for processing when the device receives job data. Since these pieces of information are irrelevant in explaining the effects of the present invention, they are omitted.

ジョブ種識別情報502は本発明による機器がジョブデータを受信した際に、受信したジョブが図6に示すような通常のプリントジョブなのか、あるいは図5または図7に示すような特殊ジョブなのかを識別するための情報を格納するフィールドである。   When the device according to the present invention receives job data, the job type identification information 502 indicates whether the received job is a normal print job as shown in FIG. 6 or a special job as shown in FIG. This is a field for storing information for identifying.

グループID503は、本発明の機器が前述のように複数部数印刷を部数回数分のジョブ発行によって機器に送信してくる際でも、ユーザによる単一の印刷指示によって発行された複数ジョブを機器側でまとまりとして認識させるためのものである。   The group ID 503 indicates that 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, a plurality of jobs issued by a single print instruction by the user can be received on the device side. It is for making it recognize as a unit.

グループ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 header area 601 and termination information 606 are for processing when the device receives job data. Since these pieces of information are irrelevant in explaining the effects of the present invention, they are omitted.

ジョブ種識別情報602は本発明による機器がジョブデータを受信した際に、受信したジョブが図6に示すような通常のプリントジョブなのか、あるいは図5または図7に示すような特殊ジョブなのかを識別するための情報を格納するフィールドである。   The job type identification information 602 indicates whether the received job is a normal print job as shown in FIG. 6 or a special job as shown in FIG. 5 or 7 when the device according to the present invention receives job data. This is a field for storing information for identifying.

グループID603は、本発明の機器が前述のように複数部数印刷を部数回数分のジョブ発行によって機器に送信してくる際でも、ユーザによる単一の印刷指示によって発行された複数ジョブを機器側でまとまりとして認識させるためのものである。   The group ID 603 indicates that 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, a plurality of jobs issued according to a single print instruction by the user are transmitted on the device side. It is for making it recognize as a unit.

グループ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 print setting information 604 is a field for storing setting information when the user performs various settings to be reflected in the print result by the print driver.

データ605は、印刷対象となる画像データを格納した領域である。   Data 605 is an area in which image data to be printed is stored.

図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 header area 701 and the termination information 704 are for processing when the device receives job data. Since these pieces of information are irrelevant in explaining the effects of the present invention, they are omitted.

ジョブ種識別情報702は本発明による機器がジョブデータを受信した際に、受信したジョブが図6に示すような通常のプリントジョブなのか、あるいは図5または図7に示すような特殊ジョブなのかを識別するための情報を格納するフィールドである。   The job type identification information 702 indicates whether the received job is a normal print job as shown in FIG. 6 or a special job as shown in FIG. 5 or 7 when the device according to the present invention receives job data. This is a field for storing information for identifying.

グループ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 group ID 703 indicates that a plurality of jobs issued according to a single print instruction by the user is transmitted on the device side. It is for making it recognize as a unit.

グループ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 print start button 403 has been pressed, the process proceeds to step S904 to determine the group ID that is a feature of the present invention.
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 job management unit 214.

受信時刻フィールドはそのジョブを機器が受信した時点での時刻を表している。   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 print queue 215. Unlike the job management unit 214, the print queue 215 holds only jobs that are actually printed as entries. Therefore, the group start special job and the group end special job are not held in the print queue 215.

図示するようにプリントキュー215が管理するジョブ情報は、ジョブID1101とグループID1102の2つのフィールドからなる情報によってジョブ情報を保持している。   As shown in the figure, the job information managed by the print queue 215 holds job information by information consisting of two fields of a job ID 1101 and a group ID 1102.

図12は図10に示したジョブ投入状態において、時刻17:40.35.01の時点でのプリントキュー215の内部状態を示したものである。キューはFIFOの構成をとるためここでは模式的に図の右側からエントリが入力され、左側から取り出されるものとして説明を行う。最左端のジョブが実行中のジョブとなり、実行が完了した段階でジョブがエントリから削除される。   FIG. 12 shows the internal state of the print queue 215 at time 17: 40.35.01 in the job input state shown in FIG. Since the queue has a FIFO configuration, an explanation will be given here assuming that entries are input from the right side of the figure and are extracted from the left side. The leftmost job becomes the job being executed, and the job is deleted from the entry when the execution is completed.

説明において、プリントキュー215内のエントリは、内部にジョブIDとグループIDが記述された四角によって表現するものとする。グループIDが存在しない場合にはジョブIDのみ表示されるものとする。   In the description, an entry in the print queue 215 is represented by a square in which a job ID and a group ID are described. If the group ID does not exist, only the job ID is displayed.

図12においてはこの時刻にはジョブID 1031のジョブ1つのみがエントリされており、かつ該ジョブは直ちに実行される。   In FIG. 12, only one job having the job ID 1031 is entered at this time, and the job is immediately executed.

図13は、図10に示したジョブ投入状態において、時刻18:30.25.73の時点でのプリントキュー215の内部状態を示したものである。時刻18:30.25.73の時点でジョブID 1032のジョブが投入されるが、この例ではジョブID 1031のジョブがまだ実行中であると仮定しているため、キューには計2つのジョブがエントリされた状況を示している。   FIG. 13 shows the internal state of the print queue 215 at the time 18: 30.25.73 in the job input state shown in FIG. At time 18: 30.25.73, the job with job ID 1032 is submitted, but in this example, it is assumed that the job with job ID 1031 is still running, so there are two jobs in the queue. Shows the situation.

当然のことながら時刻18:30.25.73の時点でジョブID 1031のジョブが終了していた場合には該ジョブのエントリはプリントキュー215から削除されるのでジョブID 1032のジョブのみがプリントキュー215内に存在していることになる。   As a matter of course, when the job with the job ID 1031 is completed at the time 18: 30.25.73, since the entry of the job is deleted from the print queue 215, only the job with the job ID 1032 is stored in the print queue 215. Will exist.

図14は時刻は特定しないが図13の状態から時間が経過しジョブID 1031のジョブが終了した状況を表している。さらに時刻が経過することによってジョブID 1032のジョブも処理が終了すればプリントキュー215からエントリが消滅する。   FIG. 14 shows a situation in which the time is not specified but the job with the job ID 1031 is completed after a lapse of time from the state of FIG. Furthermore, when the processing of the job with job ID 1032 is completed as time elapses, the entry disappears from the print queue 215.

図15は図10に示したジョブ投入状態において、時刻18:35.38.26の時点でのプリントキュー215の内部状態の一例を示したものである。なお、ここでは説明を簡略化するためにジョブID 1032のジョブは時刻18:35.38.26の時点で終了していると過程している。   FIG. 15 shows an example of the internal state of the print queue 215 at the time 18: 35.38.26 in the job input state shown in FIG. Here, in order to simplify the explanation, it is assumed that the job with the job ID 1032 has been completed at the time 18: 35.38.26.

時刻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 group ID 903 with the job ID 1033 is received. However, as described above, only the print target job is held as an entry in the print queue 215, so the print queue entry at this point remains empty.

図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 print queue 215 at the time 18: 35.38.30 in the job input state shown in FIG. According to the information in FIG. 10, the normal job of the group ID 903 of the job ID 1034 is received at the time 18: 35.38.30. However, according to the device of the present invention, the normal job having the group ID is not put in the print queue 215 until the corresponding group end special job is received, and thus is in this state.

図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 print queue 215 at time 18: 35.38.33 in the job input state shown in FIG. According to the information in FIG. 10, a normal job without a group ID of job ID 1035 is received at time 18: 35.38.33. Since this is a normal job without a group ID, the device can immediately start processing this job, and is placed in the print queue 215. Therefore, one job with the job ID 1035 exists in the print queue 215 at this time, and the print processing is immediately executed by the device.

図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 print queue 215 at time 18: 35.38.36 in the job input state shown in FIG. According to the information in FIG. 10, the normal job of the group ID 903 of the job ID 1036 is received at the time 18: 35.38.36. However, the job is not put in the print queue 215 for the reason described in FIG.

図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 print queue 215 at time 18: 35.38.39 in the job input state shown in FIG. According to the information in FIG. 10, the normal job of the group ID 903 of the job ID 1037 is received at the time 18: 35.38.39. However, the job is not put in the print queue 215 for the reason described in FIG.

図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 print queue 215 at time 18: 35.38.43 in the job input state shown in FIG. According to the information in FIG. 10, the group end special job with the group ID 903 with the job ID 1038 is received at the time 18: 35.38.43.

この段階でプリントキュー215をロックし他クライアントからのジョブ投入をブロックした状態でグループID 903の通常ジョブ全てをプリントキュー215に投入すれば本発明が解決する課題であるところの、アプリケーションによって複数部数印刷が指示された場合、印刷データとしては複数部数を指定せずに、印刷アプリケーションがユーザが指定した部数の回数分だけ印刷ジョブを機器に対して発行するような形態で複数部数の印刷指示がなされた場合においても他のクライアントから発行された印刷ジョブが割り込むことを防止することができる。   At this stage, if the print queue 215 is locked and the job submission from other clients is blocked, all the normal jobs of the group ID 903 are submitted to the print queue 215, which is a problem to be solved by the present invention. When printing is instructed, the print application does not specify a plurality of copies, but the print application issues a print job to the device for the number of copies specified by the user. Even if it is done, it is possible to prevent a print job issued from another client from interrupting.

図示するように時刻18:35.38.30、時刻18:35.38.36、時刻18:35.38.39にて投入された同一グループID 903を持つジョブが連続してプリントキュー215にエントリされている。   As shown in the drawing, jobs having the same group ID 903 entered at time 18: 35.38.30, time 18: 35.38.36, and time 18: 35.38.39 are continuously entered in the print queue 215.

図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 print queue 215 at time 18: 35.44.79 in the job input state shown in FIG. According to the information in FIG. 10, at time 18: 35.44.79, a normal job having no job ID 1039 group ID is received. For the reason described in FIG. 17, the job is immediately put in the print queue 215.

図22はジョブ管理部214において行われるプリントジョブ投入時のメイン制御処理フローを説明するためのものである。   FIG. 22 is a flowchart for explaining a main control processing flow when a print job is input in the job management unit 214.

まず、プリントジョブ投入待ち状態となり(ステップ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 print queue 215 and the process is terminated.

ステップ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 secondary storage device 204 instead of submitting the job to the print queue 215. The print job data is saved (step S2406). This data remains stored in the secondary storage device 204 until the corresponding end-of-group special job arrives or a timeout error occurs.

ステップ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 job management unit 214 selects a normal print job having the same group ID recorded in the secondary storage device 204 (step S2504).

次にプリントキュー215をロックしクライアントからの印刷ジョブ投入を一時的にブロックする。これは同一グループIDをもつ複数のジョブをプリントキュー215に投入している最中に他ジョブが間に割り込むことを防止するための処理である。   Next, the print queue 215 is locked and the print job input from the client is temporarily blocked. This is a process for preventing other jobs from interrupting while a plurality of jobs having the same group ID are being input to the print queue 215.

プリントキュー215をロックしたらステップS2504にて選択した同一グループIDを持つジョブを機器に投入さた順序でプリントキュー215に投入し(ステップS2506)、全ての該当ジョブをキューイング完了したらステップS2505にて行ったプリントキュー215のロックを解除し(ステップS2507)、再びクライアントからのジョブ投入が可能な状態にする。   When the print queue 215 is locked, jobs having the same group ID selected in step S2504 are input to the print queue 215 in the order of input to the device (step S2506). When all the corresponding jobs are queued, the process is completed in step S2505. The lock of the print queue 215 that has been performed is released (step S2507), and the job can be submitted again from the client.

プリントキュー215のロックを解除した段階で処理が終了する。   The process ends when the lock of the print queue 215 is released.

図26は、グループIDを持つジョブが投入されているプリントキュー215内のジョブの優先度を変更した際の振る舞いを説明するためのものである。   FIG. 26 is a diagram for explaining the behavior when the priority of a job in the print queue 215 to which a job having a group ID is input is changed.

図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 job ID 1039 is the job with the job ID 1037 and the group ID 903. The job and the job ID 1036 are the group ID 903 and the job ID 1034 is the job with the group ID 903. It should be controlled as a group of three jobs.

従ってジョブID 1039のジョブとその直前のジョブID 1037でグループID 903のジョブとの優先度を交換してしまうと、グループID 903を持つ3つのジョブの間にジョブID 1039のジョブが割り込まれた形となり、本発明が解決しようとする問題が発生してしまうこととなる。   Therefore, if the priority of the job with the group ID 903 is exchanged between the job with the job ID 1039 and the immediately preceding job ID 1037, the job with the job ID 1039 is interrupted between the three jobs with the group ID 903. And the problem to be solved by the present invention will occur.

そのために、本発明においてジョブの優先度を変更する際に、自ジョブの直前のジョブがグループ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 print queue 215 to which a job having a group ID is input is canceled.

図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 operation unit 202 of the device according to the present invention. Since the device assumed in the present embodiment uses, as an example, a multi-function device having a copy function, a scan function, a box function, and various transmission functions in addition to the function as a printer, buttons for these functions are displayed.

プリントジョブのキャンセル及び優先度変更処理はシステム状況/中止ボタン3001押下によって選択可能になる。   The print job cancel and priority change processing can be selected by pressing the system status / cancel button 3001.

図31は、図30に示す画面においてシステム状況/中止ボタン3001を押下しさらにプリントボタン3101を押下した状態を表したものである。前述したように複合機であるため本発明の効果を説明する上で不要な機能の各種ボタンが含まれているが、それらに関する説明は省略する。   FIG. 31 shows a state where the system status / cancel button 3001 is pressed and the print button 3101 is pressed on the screen shown in FIG. As described above, since it is a multi-function device, various buttons having functions unnecessary for explaining the effects of the present invention are included, but explanations thereof will be omitted.

図31の上部にプリントキュー215にエントリされているプリントジョブの情報としてジョブ番号、ジョブ種、グループID等がジョブ状態画面3102表示されている。これらの各情報の意味については既に行っているため説明を省略する。ジョブ状態選択画面の該当ジョブのフィールドのいずれかの場所を押下するとそのジョブが選択状態となり、ジョブ操作の対象となる。   A job status screen 3102 displays a job number, job type, group ID, and the like as information on the print job entered in the print queue 215 at the top of FIG. Since the meaning of each piece of information has already been performed, description thereof will be omitted. When one of the fields of the corresponding job field on the job status selection screen is pressed, the job is selected and becomes a job operation target.

ジョブ状態画面3102の下部に中止ボタン3103、優先度を上げるボタン3104、優先度を下げるボタン3105が存在する。上述のジョブ状態画面において選択されたジョブがこれらの処理対象となる。   At the bottom of the job status screen 3102, there are a cancel button 3103, a priority increase button 3104, and a priority decrease button 3105. The job selected on the above-described job status screen is the processing target.

なお、グループ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 close button 3106 is pressed, the screen of FIG. 31 is closed and the screen of FIG. 30 is restored.

図32は図31に示したジョブ状態において、グループID 903を持つジョブを選択状態として中止ボタン3103を押下した直後の画面を表したものである。前述したようにグループIDを持つジョブは選択状態とする際に同一グループIDを持つ全てのジョブが同時に選択状態となるように制御されるためグループID903を持つジョブは全て削除されていることが分かる。   FIG. 32 shows a screen immediately after pressing the stop button 3103 with the job having the group ID 903 selected in the job state shown in FIG. As described above, when a job having a group ID is selected, all jobs having the same group ID are controlled so that they are simultaneously selected, so that all jobs having a group ID 903 are deleted. .

図33は図31に示したジョブ状態において、ジョブ番号1039のジョブを選択状態とした上で優先度を上げるボタン3104を押下した直後の画面を表したものである。図31に示すようにジョブ番号1039のジョブのひとつ上の優先度を持つジョブはジョブ番号1037 グループID 903を持つジョブである。グループIDを持つジョブであるため、同一グループIDを持つジョブ群を全て追い越すように優先度を制御された結果ジョブ番号1034 グループID 903のジョブの直前にジョブ番号1039のジョブが移動されていることが分かる。   FIG. 33 shows a screen immediately after pressing the button 3104 for raising the priority after selecting the job with the job number 1039 in the job state shown in FIG. As shown in FIG. 31, the job having the priority one higher than the job with the job number 1039 is the job with the job number 1037 and the group ID 903. Because the job has a group ID, the priority is controlled so that all jobs with the same group ID are overtaken. As a result, job number 1034. The job with job number 1039 has been moved immediately before the job with group ID 903. I understand.

図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 job status screen 3102.

ステップ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 close button 3106. As a result of the determination, if the user presses the close button 3106, the process is terminated without doing anything, and the screen returns to the state shown in FIG. 30 as a result.

ステップS3404の判別の結果閉じるボタン3106押下でなかった場合にはステップS3405に進みユーザによる中止ボタン3103押下であったかどうかをさらに判別する。   If it is determined in step S3404 that the close button 3106 has not been pressed, the process advances to step S3405 to further determine whether or not the user has pressed the stop button 3103.

判別の結果中止ボタン3103押下であった場合にはステップS3406に進み、その時点で選択状態にあるジョブが存在するかどうかを判別し、選択状態にあるジョブがあればそれらジョブのキャンセル処理を実行し(ステップS3407)、選択状態にあるジョブが存在しない場合には何も実行せずにステップS3401のユーザからの入力待ち状態に戻る。   If it is determined that the cancel button 3103 has been pressed, the process advances to step S3406 to determine whether there is a job that is currently selected, and if there is a job that is selected, cancel the job. If there is no job in the selected state (step S3407), nothing is executed and the process returns to the input waiting state from the user in step S3401.

ステップ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 stop button 3103, the process proceeds to step S3408 to determine whether or not the button 3104 is a priority raising button.

判別の結果、ユーザからの入力が優先度上げるボタン3104押下であった場合にはステップS3409に進み、その時点で選択状態にあるジョブが存在するかどうかを判別し、選択状態にあるジョブがあればそれらジョブの優先度を上げる処理を実行し(ステップS3410)、選択状態にあるジョブが存在しない場合には何も実行せずにステップS3401のユーザからの入力待ち状態に戻る。   As a result of the determination, if the input from the user is a push of the priority raising button 3104, the process proceeds to step S3409, where it is determined whether there is a job that is in the selected state, and there is a job in the selected state. For example, processing for increasing the priority of these jobs is executed (step S3410), 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.

ステップS3408の判別の結果ユーザからの入力が優先度上げるボタン3104押下でなかった場合にはステップS3411に進み優先度下げるボタン3105であるかどうかを判別する。   As a result of the determination in step S3408, if the input from the user is not pressing the button 3104 for increasing the priority, the process proceeds to step S3411 to determine whether the button 3105 is for decreasing the priority.

判別の結果、ユーザからの入力が優先度下げるボタン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 job status screen 3102 by the user is temporarily selected. In step S3504, it is determined whether the job selected in the previous step has a group ID.

ステップ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 print queue 215 is selected (step S3704). If the selected job has a group ID, the job immediately before the highest priority job in the same group is selected (step S3703).

ステップ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 print queue 215. If the selected job is already at the lowest level, the priority cannot be lowered any more, so the priority lowering process is terminated. Only when it is determined in step S3802 that the priority of the selected job is not the lowest, the process proceeds to step S3803.

ステップ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 print queue 215 is selected (step S3805). If the selected job has a group ID, the job immediately before the lowest priority job in the same group is selected (step S3804).

ステップ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.

本発明を適用した機器の外観図の一例を示すものである。An example of the external view of the apparatus to which this invention is applied is shown. 図1における機器の内部構成を説明するためのブロック図である。FIG. 2 is a block diagram for explaining an internal configuration of a device in FIG. 本発明による機器と複数のクライアントがネットワークで接続された場合の運用形態の一例を示すためのものである。It is for showing an example of the operation form when the apparatus by this invention and several clients are connected by the network. 図3における各クライアント上で実行されるアプリケーションからユーザが印刷処理を選択した際にPCの画面に表示されるプリントドライバの設定画面の一例を示すためのものである。4 is a diagram illustrating an example of a print driver setting screen displayed on a PC screen when a user selects print processing from an application executed on each client in FIG. 3. クライアントがプリントジョブを発行する際に本発明を適用したプリントドライバがプリントデータを送信するよりも前に機器に対して送信されるグループ開始特殊ジョブのデータ構成を説明するためのものである。This is for explaining the data structure of a group start special job transmitted to a device before a print driver to which the present invention is applied when a client issues a print job before transmitting print data. クライアントがプリントジョブを発行する際に本発明を適用したプリントドライバが機器に対して送信する通常プリントジョブのデータ構成を説明するためのものである。This is 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. クライアントがプリントジョブを発行する際に本発明を適用したプリントドライバがプリントデータを送信し終わった後に機器に対して送信されるグループ終端特殊ジョブのデータ構成を説明するためのものである。This is for explaining the data structure 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. 図5から図7までに示した各種ジョブを構成するフィールドの中でジョブ種識別情報の具体例を説明するためのものである。This is for explaining a specific example of job type identification information in the fields constituting the various jobs shown in FIGS. 本発明によるプリントドライバの印刷設定から実際の印刷処理が終了するまでの処理のフローを説明するためのものである。This is for explaining the flow of processing from the print setting of the print driver according to the present invention to the end of the actual print processing. 本実施例の効果を説明するために機器に対して具体的に投入されるジョブの投入状況の一例を示すためのものである。In order to explain the effect of the present embodiment, an example of a job submission status that is specifically submitted to a device is shown. プリントキュー215が管理するジョブ情報の構成を説明するためのものである。This is for explaining the configuration of job information managed by the print queue 215. 図10に示したジョブ投入状態において、時刻17:40.35.01の時点でのプリントキュー215の内部状態を示したものである。10 shows the internal state of the print queue 215 at time 17: 40.35.01 in the job input state shown in FIG. 図10に示したジョブ投入状態において、時刻18:30.25.73の時点でのプリントキュー215の内部状態を示したものである。FIG. 10 shows the internal state of the print queue 215 at the time 18: 30.25.73 in the job input state shown in FIG. 時刻は特定しないが図13の状態から時間が経過しジョブID 1031のジョブが終了した状況を表している。Although the time is not specified, this represents a situation where the job with the job ID 1031 has ended after the time has elapsed from the state of FIG. 図10に示したジョブ投入状態において、時刻18:35.38.26の時点でのプリントキュー215の内部状態の一例を示したものである。10 shows an example of the internal state of the print queue 215 at time 18: 35.38.26 in the job input state shown in FIG. 図10に示したジョブ投入状態において、時刻18:35.38.30の時点でのプリントキュー215の内部状態の一例を示したものである。10 shows an example of the internal state of the print queue 215 at time 18: 35.38.30 in the job input state shown in FIG. 図10に示したジョブ投入状態において、時刻18:35.38.33の時点でのプリントキュー215の内部状態の一例を示したものである。10 shows an example of the internal state of the print queue 215 at time 18: 35.38.33 in the job input state shown in FIG. 図10に示したジョブ投入状態において、時刻18:35.38.36の時点でのプリントキュー215の内部状態の一例を示したものである。10 shows an example of the internal state of the print queue 215 at time 18: 35.38.36 in the job input state shown in FIG. 図10に示したジョブ投入状態において、時刻18:35.38.39の時点でのプリントキュー215の内部状態の一例を示したものである。10 shows an example of the internal state of the print queue 215 at the time 18: 35.38.39 in the job input state shown in FIG. 図10に示したジョブ投入状態において、時刻18:35.38.43の時点でのプリントキュー215の内部状態の一例を示したものである。10 shows an example of the internal state of the print queue 215 at the time 18: 35.38.43 in the job input state shown in FIG. 図10に示したジョブ投入状態において、時刻18:35.44.79の時点でのプリントキュー215の内部状態の一例を示したものである。10 shows an example of the internal state of the print queue 215 at time 18: 35.44.79 in the job input state shown in FIG. ジョブ管理部214において行われるプリントジョブ投入時のメイン制御処理フローを説明するためのものである。This is for explaining a main control processing flow at the time of print job input performed in the job management unit 214. 図22におけるステップS2204のグループ開始特殊ジョブ受信処理の詳細を説明するためのフロー図である。FIG. 23 is a flowchart for explaining details of group start special job reception processing in step S2204 in FIG. 22; 図22におけるステップS2208の通常印刷ジョブ受信処理の詳細を説明するためのフロー図である。FIG. 23 is a flowchart for explaining details of normal print job reception processing in step S2208 in FIG. 22; 図22におけるステップS2206のグループ終端特殊ジョブ受信処理の詳細を説明するためのフロー図である。FIG. 23 is a flowchart for explaining details of group end special job reception processing in step S2206 in FIG. 22; グループIDを持つジョブが投入されているプリントキュー215内のジョブの優先度を変更した際の振る舞いを説明するためのものである。This is to explain the behavior when the priority of a job in the print queue 215 to which a job having a group ID is input is changed. プリントキューの内部状態が図26に示すような状態であった場合に、ジョブIDが1039のジョブの優先度を一つ上げてプリントキューの前方向に移動した結果の状態を表したものである。When the internal state of the print queue is as shown in FIG. 26, the job queue with the job ID of 1039 is incremented by one and represents the result of moving forward in the print queue. . グループIDを持つジョブが投入されているプリントキュー215内のジョブをキャンセルした際の振る舞いを説明するためのものである。This is to explain the behavior when a job in the print queue 215 in which a job having a group ID is input is canceled. プリントキューの内部状態が図28に示すような状態であった場合に、ジョブIDが1039のジョブをキャンセルした結果の状態を表したものである。When the internal state of the print queue is as shown in FIG. 28, the result of canceling the job whose job ID is 1039 is shown. 本発明による機器の操作部202の基本画面を示すためのものである。It is for showing the basic screen of the operation part 202 of the apparatus by this invention. 図30に示す画面においてシステム状況/中止ボタン3001を押下しさらにプリントボタン3101を押下した状態を表したものである。30 shows a state where the system status / cancel button 3001 is pressed and the print button 3101 is pressed on the screen shown in FIG. 図31に示したジョブ状態において、グループID 903を持つジョブを選択状態として中止ボタン3103を押下した直後の画面を表したものである。In the job state shown in FIG. 31, a screen immediately after the cancel button 3103 is pressed with the job having the group ID 903 selected is shown. 図31に示したジョブ状態において、ジョブ番号1039のジョブを選択状態とした上で優先度を上げるボタン3104を押下した直後の画面を表したものである。In the job state shown in FIG. 31, the screen immediately after pressing the button 3104 for raising the priority after selecting the job with the job number 1039 is shown. 図31に示す画面によってユーザから指示されジョブ管理部214において実行されるジョブ管理処理のフローを説明するためのものである。This is to explain the flow of job management processing that is instructed by the user on the screen shown in FIG. 図34におけるステップS3403のジョブ選択処理の詳細を説明するためのフロー図である。FIG. 35 is a flowchart for explaining details of job selection processing in step S3403 in FIG. 34. 図34におけるステップS3407のジョブキャンセル処理の詳細を説明するためのフロー図である。FIG. 35 is a flowchart for explaining details of job cancellation processing in step S3407 in FIG. 34. 図34におけるステップS3410のジョブの優先度上げる処理の詳細を説明するためのフロー図である。FIG. 35 is a flowchart for explaining details of processing for raising the priority of a job in step S3410 in FIG. 図34におけるステップS3413のジョブの優先度下げる処理の詳細を説明するためのフロー図である。FIG. 35 is a flowchart for explaining details of a job priority lowering process in step S3413 in FIG.

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を持つ通常ジョブは単一の印刷ジョブとして印刷キューに登録及び管理されることを特徴とする請求項1に記載の画像処理装置。   In devices that can queue multiple print jobs in the device, group start special jobs with the same group ID, group end special jobs, and normal jobs with corresponding group IDs are registered in the print queue as a single print job. The image processing apparatus according to claim 1, wherein the image processing apparatus is managed. 通常ジョブがグループIDを持たない場合には通常印刷ジョブとしてキューイングされることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein when the normal job does not have a group ID, the normal job is queued as a normal print job. 機器に送信された複数の印刷ジョブに対して、ある特定の印刷ジョブを選択する選択手段、前記ジョブ管理手段は選択された特定の印刷ジョブについて機器に登録されている印刷ジョブのリスト内の順序を変更できる機能をさらに有し、
前記選択手段及び印刷ジョブ管理手段によって印刷ジョブのリスト内の順序変更する際に、
前記選択されたジョブと、同様に前記選択手段及び印刷ジョブ管理手段によって選択された前記グループ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.
前記選択手段及び印刷ジョブ管理手段によって選択されたジョブとは、グループIDを持たない通常印刷ジョブか、グループIDを持つグループ開始特殊ジョブ及びグループ終端特殊ジョブ及び対応したグループIDを持つ通常ジョブからなるグループジョブ群のいずれかであることを特徴とする請求項4に記載の画像処理装置。   The job selected by the selection unit and the print job management unit is a normal print job having no group ID, or a group start special job having a group ID and a group end special job, and a normal job having a corresponding group ID. The image processing apparatus according to claim 4, wherein the image processing apparatus is one of a group job group. 前記選択手段によって選択したジョブを前記ジョブ管理手段によってキャンセルする場合、該選択されたジョブが、グループIDを持つグループ開始特殊ジョブ及びグループ終端特殊ジョブ及び対応したグループIDを持つ通常ジョブからなるグループジョブ群であった場合には、該グループに属する全ジョブがキャンセルされるよう制御可能であることを特徴とする請求項4に記載の画像処理装置。   When the job selected by the selecting unit is canceled by the job managing unit, the selected job is a group job including a group start special job having a group ID and a group end special job and a normal job having a corresponding group ID. The image processing apparatus according to claim 4, wherein, in the case of a group, the image processing apparatus can be controlled so that all jobs belonging to the group are canceled. グループ開始特殊ジョブが受信された時点からの経過時刻を測定する時刻測定手段をさらに有し、機器に予め定められた一定時刻内に前記グループ開始特殊ジョブに対応するグループ終端特殊ジョブが受信されなかった場合には自動的にタイムアウトとしてそれまでに受信した該当するグループIDを持つ通常印刷ジョブ及び前記グループ開始特殊ジョブをキャンセルするよう制御可能であることを特徴とする請求項1に記載の画像処理装置。   It further has time measuring means for measuring the elapsed time from the time when the group start special job is received, and the group end special job corresponding to the group start special job is not received within a predetermined time set in the device. 2. The image processing according to claim 1, wherein the image processing can be controlled so as to automatically cancel the normal print job having the corresponding group ID and the group start special job received so far as timeout. apparatus. グループ開始特殊ジョブまたは該特殊ジョブと同一のグループIDを持つ通常ジョブが最後に受信された時点からの経過時刻を測定する時刻測定手段をさらに有し、機器に予め定められた一定時刻内に同一のグループIDを持つ通常ジョブまたは対応するグループ終端特殊ジョブが受信されなかった場合には自動的にタイムアウトとしてそれまでに受信した該当するグループIDを持つ通常印刷ジョブ及び前記グループ開始特殊ジョブをキャンセルするよう制御可能であることを特徴とする請求項1に記載の画像処理装置。   It further has time measuring means for measuring the elapsed time from the last reception of the group start special job or the normal job having the same group ID as the special job, and is the same within a predetermined time set in the device. When a normal job having a group ID of 1 or a corresponding group end special job is not received, the normal print job having the corresponding group ID and the group start special job received so far are automatically canceled as a timeout. The image processing apparatus according to claim 1, wherein the image processing apparatus is controllable. 通常ジョブに加えて前記グループ開始特殊ジョブ、グループ終端特殊ジョブを発行できることを特徴とする請求項1に記載の画像処理装置に用いるプリントドライバ。   The print driver used in the image processing apparatus according to claim 1, wherein the group start special job and the group end special job can be issued in addition to the normal job. 前記通常ジョブはグループIDを持つことが可能であることを特徴とする請求項9に記載のプリントドライバ。   The print driver according to claim 9, wherein the normal job can have a group ID. 上記請求項1から請求項8までのステップを実現するプログラムまたはそれを格納した媒体。   The program which implement | achieves the step of the said Claim 1-8, or the medium which stored it.
JP2005274193A 2005-09-21 2005-09-21 Image processing apparatus Withdrawn JP2007083501A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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