JP2017177722A - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP2017177722A
JP2017177722A JP2016072184A JP2016072184A JP2017177722A JP 2017177722 A JP2017177722 A JP 2017177722A JP 2016072184 A JP2016072184 A JP 2016072184A JP 2016072184 A JP2016072184 A JP 2016072184A JP 2017177722 A JP2017177722 A JP 2017177722A
Authority
JP
Japan
Prior art keywords
job
print job
print
cancel
determination process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016072184A
Other languages
Japanese (ja)
Other versions
JP6819065B2 (en
Inventor
桑原 和浩
Kazuhiro Kuwabara
和浩 桑原
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016072184A priority Critical patent/JP6819065B2/en
Publication of JP2017177722A publication Critical patent/JP2017177722A/en
Application granted granted Critical
Publication of JP6819065B2 publication Critical patent/JP6819065B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a printing device, in which another printing job from a user who inputs an instruction for canceling a print job can be registered again in a memorizing portion according to the order of printing jobs for which cancelling instructions are inputted so that the user who inputs the instruction for cancelling the print job and the other users are fairly treated.SOLUTION: When an instruction for cancelling execution of a print job registered in a job queue 231 is inputted by a user, an execution quantity by printing of the print job for which the instruction for cancelling is inputted is determined. With respect to a print job following the print job to be cancelled in the order of execution, time required in printing, the number of print sheets, and usage amounts of toner are determined. Another print job from the user who inputs the instruction for canceling the print job to be cancelled, which is below the print job to be cancelled in at least one of the time required in printing, the number of print sheets, and the usage amounts of toner, is determined. The determined print job is registered again in the job queue 231 in the order of execution of print jobs to be cancelled.SELECTED DRAWING: Figure 1

Description

本発明は、印刷装置に関する。   The present invention relates to a printing apparatus.

従来、外部から入力される印刷ジョブをジョブキューに登録し、ジョブキューに登録された印刷ジョブを登録順に実行する印刷装置が知られている。   2. Description of the Related Art Conventionally, printing apparatuses that register print jobs input from the outside in a job queue and execute the print jobs registered in the job queue in the registration order are known.

また、ジョブキューに登録された印刷ジョブのキャンセル指示を受け付け、キャンセル指示を受けた印刷ジョブをキャンセルする印刷装置が知られている。   There is also known a printing apparatus that receives a cancel instruction for a print job registered in the job queue and cancels the print job that has received the cancel instruction.

特許文献1では、キャンセル指示を受けた印刷ジョブの代替として、新たな印刷ジョブをジョブキューに登録する技術が提案されている。この提案に係る技術では、具体的に、キャンセル指示を受けた印刷ジョブがジョブキューから消去されるときに、その消去される印刷ジョブのジョブキューでの登録位置が記憶される。また、ジョブキューから消去される印刷ジョブのユーザ名、ファイル名が記憶される。そして、キャンセル指示の受付後に新たな印刷ジョブが入力されると、入力された新たな印刷ジョブが記憶されているキャンセル指示を受けた印刷ジョブのユーザ名、ファイル名とそれぞれ同じであれば、新たな印刷ジョブが消去された印刷ジョブの登録位置に繰り上げて、ジョブキューに登録される。   Japanese Patent Application Laid-Open No. 2004-228561 proposes a technique for registering a new print job in a job queue as an alternative to a print job that has received a cancel instruction. Specifically, in the technique according to this proposal, when a print job that has received a cancel instruction is deleted from the job queue, the registration position in the job queue of the print job to be deleted is stored. In addition, the user name and file name of the print job to be deleted from the job queue are stored. When a new print job is input after accepting the cancel instruction, if the user name and file name of the print job having received the cancel instruction in which the input new print job is stored are the same, a new print job is entered. The print job is moved up to the registration position of the deleted print job and registered in the job queue.

特開2014−104636号公報JP 2014-104636 A

しかし、特許文献1の構成では、キャンセル指示の受付後の新たな印刷ジョブの入力時に、その新たな印刷ジョブのユーザ名及びファイル名と、記憶されているキャンセル指示を受けた印刷ジョブのユーザ名及びファイル名とがそれぞれ同じであるか否かが判断されるため、キャンセル指示が受け付けられる前に既に登録されていた印刷ジョブは判断の対象とされない。そのため、キャンセル指示の受付前に登録されていた印刷ジョブのユーザ名及びファイル名が記憶されているキャンセル指示を受けた印刷ジョブのユーザ名及びファイル名とそれぞれ一致していたとしても、キャンセル指示の受付前に登録されていた印刷ジョブの登録位置の繰り上げは行われない。   However, in the configuration of Patent Document 1, when a new print job is input after acceptance of the cancel instruction, the user name and file name of the new print job and the user name of the print job that has received the stored cancel instruction In addition, since it is determined whether or not the file names are the same, the print job that has already been registered before the cancel instruction is accepted is not determined. Therefore, even if the user name and file name of the print job that has been registered before the cancellation instruction is received match the user name and file name of the print job that has received the cancellation instruction, The registration position of the print job registered before reception is not advanced.

また、入力された新たな印刷ジョブのユーザ名及びファイル名と記憶されているキャンセル指示を受けた印刷ジョブのユーザ名及びファイル名とがそれぞれ同じであれば、一律、印刷ジョブの登録位置の繰り上げが行われる。そのため、入力された新たな印刷ジョブの印刷所要時間や用紙使用量、トナー/インク使用量等が、キャンセル指示を受けた印刷ジョブの印刷所要時間や用紙使用量、トナー/インク使用量等の実行量より大きいと、他のユーザに対する待ち時間の増加や用紙切れ、トナー/インク切れのリスクが高まり、他のユーザに不公平感を与える恐れがある。   Further, if the user name and file name of the newly input print job are the same as the user name and file name of the print job that has received the stored cancel instruction, the print job registration position is incremented uniformly. Is done. Therefore, execution time of printing job, usage amount of paper, usage amount of toner / ink, etc. for print job that received cancel instruction, printing duration, paper usage amount, toner / ink usage amount, etc. of new input print job If the amount is larger, the waiting time for other users increases, the risk of running out of paper and toner / ink runs out, and there is a risk of giving unfairness to other users.

本発明の目的は、印刷ジョブのキャンセル指示を入力したユーザ及び他のユーザに公平となるように、キャンセル指示を入力したユーザの別の印刷ジョブをキャンセル指示の対象の印刷ジョブの順番で記憶部に再登録することができる、印刷装置を提供することである。   An object of the present invention is to store another print job of a user who has input a cancel instruction in the order of print jobs to be cancelled so as to be fair to the user who has input the cancel instruction of the print job and other users. It is to provide a printing apparatus that can be re-registered with the printer.

前記の目的を達成するため、本発明に係る印刷装置は、印刷ジョブを受け付ける受付部と、印刷部と、入力部と、記憶部と、制御部と、を備え、前記制御部は、前記受付部に受け付けられた印刷ジョブを受け付けられた順番で前記記憶部に登録するジョブ登録処理と、前記記憶部に登録された印刷ジョブをその印刷ジョブの順番で前記印刷部を用いて実行する印刷ジョブ実行処理と、前記記憶部に登録された印刷ジョブの実行を取り消すキャンセル指示が前記入力部に入力された場合、キャンセル対象の印刷ジョブをキャンセルするジョブキャンセル処理と、前記キャンセル対象の印刷ジョブの実行による実行量を、前記キャンセル対象の印刷ジョブから決定するキャンセルジョブ実行量決定処理と、前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブの実行による実行量を、前記印刷ジョブから決定する印刷ジョブ実行量決定処理と、前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブのうち、前記キャンセル指示の対象の印刷ジョブと同じ識別情報を有し、かつ、前記印刷ジョブ実行量決定処理で決定された実行量が前記キャンセルジョブ実行量決定処理で決定された実行量以下であるという条件に合致する1つの印刷ジョブを決定する印刷ジョブ決定処理と、前記印刷ジョブ決定処理で決定された印刷ジョブを、前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に再登録するジョブ再登録処理と、を実行する。   In order to achieve the above object, a printing apparatus according to the present invention includes a reception unit that receives a print job, a printing unit, an input unit, a storage unit, and a control unit, and the control unit includes the reception unit. A job registration process for registering print jobs received in the storage unit in the order received, and a print job for executing the print jobs registered in the storage unit in the order of the print jobs using the print unit Execution processing, job cancel processing for canceling a print job to be canceled when the cancel instruction for canceling execution of the print job registered in the storage unit is input to the input unit, and execution of the print job to be canceled Cancel job execution amount determination processing for determining the execution amount by the cancel target print job, and the cancel instruction target print job A print job execution amount determination process for determining an execution amount by execution of a print job registered in a later order from the print job, and a print registered in an order later than the print job to be canceled Among the jobs, the execution amount having the same identification information as the print job to be canceled is determined, and the execution amount determined in the print job execution amount determination process is equal to or less than the execution amount determined in the cancel job execution amount determination process The print job determination process for determining one print job that matches the condition that the print job is satisfied, and the print job determined in the print job determination process are re-registered in the storage unit in the order of the print jobs to be canceled Job re-registration processing to be executed.

この構成によれば、印刷ジョブが受付部に受け付けられると、その印刷ジョブが受け付けられた順番で記憶部に登録される。記憶部に登録された印刷ジョブは、自身の順番で実行される。記憶部に登録されている印刷ジョブの実行を取り消すキャンセル指示が入力されると、キャンセル指示の対象の印刷ジョブの印刷による実行量が決定される。また、キャンセル指示の対象の印刷ジョブよりも後の順番の印刷ジョブについて、印刷ジョブの印刷による実行量が決定される。そして、キャンセル指示の対象の印刷ジョブと同じ識別情報を有し、かつ、実行量がキャンセル指示の対象の印刷ジョブの実行量以下の印刷ジョブが決定される。そして、その決定された印刷ジョブがキャンセル指示の対象の印刷ジョブの順番で記憶部に再登録される。そのため、印刷ジョブのキャンセル指示を入力したユーザ及び他のユーザに公平となるように、キャンセル指示を入力したユーザの別の印刷ジョブをキャンセル指示の対象の印刷ジョブの順番で記憶部に再登録することができる。   According to this configuration, when a print job is received by the reception unit, the print job is registered in the storage unit in the order in which the print job is received. The print jobs registered in the storage unit are executed in their own order. When a cancel instruction for canceling execution of a print job registered in the storage unit is input, an execution amount for printing a print job that is a target of the cancel instruction is determined. In addition, the execution amount of the print job is determined for the print job in the order after the print job to be canceled. Then, a print job having the same identification information as the cancel instruction target print job and having an execution amount equal to or less than the execution amount of the cancel instruction target print job is determined. Then, the determined print job is re-registered in the storage unit in the order of print jobs to be canceled. Therefore, another print job of the user who has input the cancel instruction is re-registered in the storage unit in the order of the print job that is the target of the cancel instruction so as to be fair to the user who has input the cancel instruction of the print job and other users. be able to.

本発明によれば、印刷ジョブのキャンセル指示を入力したユーザ及び他のユーザに公平となるように、キャンセル指示を入力したユーザの別の印刷ジョブをキャンセル指示の対象の印刷ジョブの順番で記憶部に再登録することができる。   According to the present invention, another print job of a user who has input a cancel instruction is stored in the order of the print jobs to be cancelled so as to be fair to the user who has input the cancel instruction of the print job and other users. Can re-register.

本発明の一実施形態に係るMFPの電気的構成を示すブロック図である。1 is a block diagram showing an electrical configuration of an MFP according to an embodiment of the present invention. ジョブの実行のためのメインフローチャートである。It is a main flowchart for execution of a job. ジョブキャンセル処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a job cancellation process. 第1の順番変更ジョブ決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a 1st order change job determination process. ジョブキューにおけるジョブの登録の状態の一例を示す図である。FIG. 6 is a diagram illustrating an example of a job registration state in a job queue. 実行中ジョブキャンセル処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of an ongoing job cancel process. 第2の順番変更ジョブ決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a 2nd order change job determination process. ジョブ登録処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a job registration process. 第3の順番変更ジョブ決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a 3rd order change job determination process. 変形例に係る第1の順番変更ジョブ決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the 1st order change job determination process which concerns on a modification. ジョブキューにおけるジョブの登録の状態の他の例を示す図である。FIG. 10 is a diagram illustrating another example of a job registration state in a job queue.

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

<MFPの電気的構成>
印刷装置の一例であるMFP(Multi-Function Peripheral)1は、プリンタ機能及びスキャナ機能を有する複合機である。MFP1は、図1に示されるように、画像形成部11(印刷部の一例)、画像読取部12、操作部13、表示部14、通信部15及び制御部16を備えている。
<Electric configuration of MFP>
An MFP (Multi-Function Peripheral) 1 which is an example of a printing apparatus is a multifunction machine having a printer function and a scanner function. As shown in FIG. 1, the MFP 1 includes an image forming unit 11 (an example of a printing unit), an image reading unit 12, an operation unit 13, a display unit 14, a communication unit 15, and a control unit 16.

画像形成部11は、画像データに係る画像(カラー画像又はモノクロ画像)をシートに形成する。画像形成の方式は、電子写真方式であってもよいし、インクジェット方式であってもよい。なお、以下では、画像形成部11が電子写真方式を採用したものである場合を例にとる。   The image forming unit 11 forms an image (color image or monochrome image) related to the image data on a sheet. The image forming method may be an electrophotographic method or an inkjet method. In the following, the case where the image forming unit 11 adopts an electrophotographic method is taken as an example.

画像読取部12は、イメージセンサ及びAFE(Analog Front End)などを備えている。画像読取部12では、イメージセンサにより原稿の画像が読み取られて、イメージセンサからアナログ画像信号が出力され、AFEによりそのアナログ画像信号がデジタル画像データに変換される。   The image reading unit 12 includes an image sensor, an AFE (Analog Front End), and the like. In the image reading unit 12, an image of a document is read by the image sensor, an analog image signal is output from the image sensor, and the analog image signal is converted into digital image data by AFE.

操作部13は、操作ボタン(たとえば、スタートキー、テンキー、カーソルキー)を備えている。操作ボタンの操作により、各種の指示などを操作部13に入力することが可能である。   The operation unit 13 includes operation buttons (for example, a start key, a numeric keypad, and a cursor key). Various instructions can be input to the operation unit 13 by operating the operation buttons.

表示部14は、たとえば、液晶表示器からなる。表示部14には、各種の情報が表示される。   The display part 14 consists of a liquid crystal display, for example. Various information is displayed on the display unit 14.

通信部15は、LAN2を経由したネットワーク通信のための回路などを備えている。LAN2は、有線LAN又は無線LANで構成されていてもよいし、有線LAN及び無線LANの両方で構成されていてもよい。LAN2には、PC(Personal Computer)3などの外部装置が接続されている。MFP1とPC3との間では、LAN2を経由した双方向通信が可能である。通信部15は、電話回線網を介したファクシミリ通信のために、NCU(Network Control Unit)を内蔵したモデムなどを備えていてもよい。   The communication unit 15 includes a circuit for network communication via the LAN 2 and the like. The LAN 2 may be configured by a wired LAN or a wireless LAN, or may be configured by both a wired LAN and a wireless LAN. An external device such as a PC (Personal Computer) 3 is connected to the LAN 2. Two-way communication via the LAN 2 is possible between the MFP 1 and the PC 3. The communication unit 15 may include a modem with a built-in NCU (Network Control Unit) for facsimile communication via a telephone line network.

制御部16は、ASIC(Application Specific Integrated Circuit)21、ROM22及びRAM23(記憶部の一例)などを備えている。   The control unit 16 includes an application specific integrated circuit (ASIC) 21, a ROM 22, a RAM 23 (an example of a storage unit), and the like.

ASIC21は、CPU24(制御部の一例)を内蔵している。ASIC21には、画像読取部12により取得された画像データ、操作部13の操作内容を表す操作信号などが入力される。CPU24は、ASIC21に入力される信号などに基づいて、ROM22に記憶されているプログラムを実行することにより、画像形成部11、画像読取部12及び表示部14を制御し、通信部15を通信のために制御する。CPU24による制御(プログラム)の実行時、RAM23がワークエリアとして使用される。RAM23には、NVRAM(Non Volatile RAM)などの不揮発性メモリが含まれていてもよい。   The ASIC 21 includes a CPU 24 (an example of a control unit). The ASIC 21 receives image data acquired by the image reading unit 12, an operation signal indicating the operation content of the operation unit 13, and the like. The CPU 24 controls the image forming unit 11, the image reading unit 12, and the display unit 14 by executing a program stored in the ROM 22 based on a signal input to the ASIC 21 and the like, and communicates the communication unit 15 with the communication unit 15. To control for. When the control (program) is executed by the CPU 24, the RAM 23 is used as a work area. The RAM 23 may include a nonvolatile memory such as NVRAM (Non Volatile RAM).

<メインフローチャート>
MFP1では、ASIC21のCPU24により、図2に示されるメインフローチャートが実行される。
<Main flowchart>
In the MFP 1, the main flowchart shown in FIG. 2 is executed by the CPU 24 of the ASIC 21.

メインフローチャートの実行により、CPU24は、RAM23に設けられたジョブキュー231(図1参照)に印刷ジョブ(以下、単に「ジョブ」という。)が登録されているか否か、言い換えれば、ジョブキュー231における登録ジョブの有無を確認する(S1)。   By executing the main flowchart, the CPU 24 determines whether or not a print job (hereinafter simply referred to as “job”) is registered in the job queue 231 (see FIG. 1) provided in the RAM 23, in other words, in the job queue 231. The presence or absence of a registered job is confirmed (S1).

ジョブは、外部装置からLAN2を経由して通信部15(受付部の一例)に受け付けられる。ジョブには、画像データ以外に、ジョブを送信したユーザ名、ジョブのサイズ(データ量)、ジョブの実行に使用されるシート(用紙)のサイズ及びページ数などのジョブ情報が含まれる。なお、以下では、識別情報の一例としてユーザ名を用いて説明するが、ユーザ名の替わりに、たとえば、MFP1を使用するユーザに割り当てられたユーザIDであってもよいし、外部装置のIPアドレスなどの識別情報であってもよい。通信部15に受け付けられたジョブは、通信部15からCPU24に入力され、ジョブキュー231に登録される。   The job is received by the communication unit 15 (an example of a reception unit) from the external device via the LAN 2. In addition to image data, the job includes job information such as the name of the user who sent the job, the size of the job (data amount), the size of the sheet (paper) used for executing the job, and the number of pages. In the following description, a user name is used as an example of identification information. However, instead of the user name, for example, a user ID assigned to the user who uses the MFP 1 may be used, or the IP address of the external device Such identification information may be used. The job accepted by the communication unit 15 is input from the communication unit 15 to the CPU 24 and registered in the job queue 231.

この登録に際し、ジョブには、各ジョブの識別のためのジョブIDが付与される。ジョブIDは、たとえば、図5に示されるように、ジョブ毎に異なる通し番号(001,002,・・・)であり、通常、通信部15に受け付けられた順に昇順で付与される。これにより、ジョブIDは、ジョブの順番を表す。ジョブキュー231へのジョブの登録により、ジョブキュー231には、そのジョブに付与されたジョブIDと対応づけて、ジョブの受付日時、ジョブ情報及びジョブの画像データが記憶される。画像データには、ファイル名が付されている。   At the time of registration, a job ID for identifying each job is assigned to the job. For example, as shown in FIG. 5, the job ID is a serial number (001, 002,...) That is different for each job, and is normally assigned in ascending order in the order received by the communication unit 15. Thereby, the job ID represents the order of jobs. By registering the job in the job queue 231, the job queue 231 stores the job reception date and time, job information, and job image data in association with the job ID assigned to the job. A file name is attached to the image data.

なお、ジョブがジョブキュー231に登録される際に実行されるジョブ登録処理については、後述する。   Note that job registration processing executed when a job is registered in the job queue 231 will be described later.

ジョブキュー231にジョブが登録されていない場合(S1:NO)、CPU24は、処理を以降に進めない。   When no job is registered in the job queue 231 (S1: NO), the CPU 24 cannot proceed with the process thereafter.

ジョブキュー231にジョブが登録されている場合(S1:YES)、CPU24は、ジョブキュー231に登録(記憶)されているジョブのうち、順番が最も小さいジョブを実行する(S2)。ジョブの実行に伴い、CPU24は、ジョブの画像データの画像の形成を画像形成部11に指示して、画像形成部11による印刷(画像形成)を開始させる。   When the job is registered in the job queue 231 (S1: YES), the CPU 24 executes the job having the smallest order among the jobs registered (stored) in the job queue 231 (S2). As the job is executed, the CPU 24 instructs the image forming unit 11 to form an image of the image data of the job, and starts printing (image formation) by the image forming unit 11.

その後、ジョブが終了すると、つまりジョブの実行による画像形成が終了すると(S3:YES)、CPU24は、その実行が終了したジョブをジョブキュー231から削除して(S4)、図2に示される処理を終了する。   Thereafter, when the job is completed, that is, when the image formation by the execution of the job is completed (S3: YES), the CPU 24 deletes the completed job from the job queue 231 (S4), and the processing shown in FIG. Exit.

ジョブの実行から終了までの間に、その実行中のジョブのキャンセル指示が入力された場合には(S5:YES)、CPU24は、実行中ジョブキャンセル処理を実行し(S6)、その後、図2に示される処理を終了する。キャンセル指示は、操作部13の操作により、操作部13からCPU24に入力されてもよいし、外部装置から通信部15に受け付けられて、通信部15からCPU24に入力されてもよい。キャンセル指示が操作部13からCPU24に入力される場合、操作部13が入力部の一例であり、キャンセル指示が通信部15からCPU24に入力される場合、通信部15が入力部の一例である。実行中ジョブキャンセル処理については、後述する。   If a cancel instruction for the job being executed is input between the execution and the end of the job (S5: YES), the CPU 24 executes the job cancellation process being executed (S6), and thereafter FIG. The process shown in FIG. The cancel instruction may be input from the operation unit 13 to the CPU 24 by the operation of the operation unit 13, or may be received from the external device by the communication unit 15 and input from the communication unit 15 to the CPU 24. When the cancel instruction is input from the operation unit 13 to the CPU 24, the operation unit 13 is an example of an input unit. When the cancel instruction is input from the communication unit 15 to the CPU 24, the communication unit 15 is an example of an input unit. The ongoing job cancel process will be described later.

<ジョブキャンセル処理>
MFP1では、実行中のジョブ以外にも、キャンセル指示により、ジョブキュー231に登録されているジョブをキャンセルすることができる。
<Job cancellation process>
The MFP 1 can cancel a job registered in the job queue 231 by a cancel instruction in addition to the job being executed.

ジョブキュー231に登録されているジョブのうち、実行中のジョブ以外のジョブのキャンセル指示が入力されると、ASIC21のCPU24により、図3に示されるジョブキャンセル処理が実行される。   When a cancel instruction for a job other than the job being executed among jobs registered in the job queue 231 is input, the CPU 24 of the ASIC 21 executes the job cancel process shown in FIG.

ジョブキャンセル処理では、CPU24は、まず、キャンセル指示の対象のジョブ(以下、「キャンセル対象ジョブ」という。)のジョブ情報をジョブキュー231からRAM23におけるジョブキュー231以外の領域に移動(記憶)させる(S31)。   In the job cancel process, the CPU 24 first moves (stores) job information of a job to be canceled (hereinafter referred to as “cancellation job”) from the job queue 231 to an area other than the job queue 231 in the RAM 23 ( S31).

また、CPU24は、キャンセル対象ジョブのジョブ情報(以下、「キャンセルジョブ情報」という。)と対応づけて、キャンセル対象ジョブのジョブIDをRAM23に記憶させる(S32)。   Further, the CPU 24 stores the job ID of the cancel target job in the RAM 23 in association with the job information of the cancel target job (hereinafter referred to as “cancel job information”) (S32).

次に、CPU24は、ジョブキュー231からキャンセル対象ジョブを削除する(S33)。   Next, the CPU 24 deletes the cancel target job from the job queue 231 (S33).

その後、CPU24は、第1の順番変更ジョブ決定処理を実行する(S34)。第1の順番変更ジョブ決定処理では、所定の条件を満たすジョブがジョブキュー231に登録されている場合、そのジョブが順番変更ジョブに決定される。一方、所定の条件を満たすジョブがジョブキュー231に登録されていない場合、ジョブキュー231に登録されているジョブのいずれも順番変更ジョブに決定されず、順番変更ジョブなしとされる。第1の順番変更ジョブ決定処理の詳細については、後述する。   Thereafter, the CPU 24 executes a first order change job determination process (S34). In the first order change job determination process, when a job satisfying a predetermined condition is registered in the job queue 231, the job is determined as the order change job. On the other hand, when a job satisfying the predetermined condition is not registered in the job queue 231, none of the jobs registered in the job queue 231 is determined as an order change job, and there is no order change job. Details of the first order change job determination process will be described later.

第1の順番変更ジョブ決定処理の終了後、CPU24は、順番変更ジョブの有無を確認する(S35)。   After completion of the first order change job determination process, the CPU 24 checks whether or not there is an order change job (S35).

順番変更ジョブがない場合(S35:NO)、CPU24は、ジョブキャンセル処理を終了する。   If there is no order change job (S35: NO), the CPU 24 ends the job cancel process.

順番変更ジョブがある場合(S35:YES)、CPU24は、RAM23に記憶されているキャンセル対象ジョブのジョブIDを順番変更ジョブに付与して、そのジョブIDと対応づけて、順番変更ジョブ(ジョブ情報など)をジョブキュー231に再登録する(S36)。   When there is an order change job (S35: YES), the CPU 24 assigns the job ID of the cancel target job stored in the RAM 23 to the order change job, associates it with the job ID, and changes the order change job (job information). Etc.) is re-registered in the job queue 231 (S36).

順番変更ジョブの再登録後、CPU24は、不要になったキャンセルジョブ情報をRAM23から削除して(S37)、ジョブキャンセル処理を終了する。   After re-registering the order change job, the CPU 24 deletes the cancel job information that is no longer necessary from the RAM 23 (S37), and ends the job cancel process.

<第1の順番変更ジョブ決定処理>
図3のステップS34で実行される第1の順番変更ジョブ決定処理の流れは、図4に示されている。
<First order change job determination process>
The flow of the first order change job determination process executed in step S34 of FIG. 3 is shown in FIG.

第1の順番変更ジョブ決定処理では、CPU24は、キャンセルジョブ情報から、ユーザ名、ジョブサイズ及びページ数を取得し、ジョブサイズ及びページ数などから、キャンセル対象ジョブを実行した場合に必要な印刷所要時間(第1)、印刷枚数(第1)及びトナー使用量(第1)を決定する(S3401)。   In the first order change job determination process, the CPU 24 obtains the user name, job size, and number of pages from the cancel job information, and requires printing required when the cancel target job is executed from the job size, number of pages, and the like. The time (first), the number of printed sheets (first), and the toner usage (first) are determined (S3401).

次に、CPU24は、キャンセル対象ジョブのジョブID(順番を表す番号)に1を加算し、その加算値を参照番号Mとする(S3402)。たとえば、図5に示されるように、ジョブID「003」のジョブがキャンセル対象ジョブである場合、ジョブID「003」に1を加算した加算値「004」が参照番号Mとされる。   Next, the CPU 24 adds 1 to the job ID (number indicating the order) of the job to be canceled, and sets the added value as a reference number M (S3402). For example, as illustrated in FIG. 5, when the job with the job ID “003” is a job to be canceled, an addition value “004” obtained by adding 1 to the job ID “003” is set as the reference number M.

その後、CPU24は、参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えているか否かを判断する(S3403)。   Thereafter, the CPU 24 determines whether or not the reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S3403).

参照番号Mが最大値を超えている場合(S3403:YES)、CPU24は、以降の処理を実行せず、第1の順番変更ジョブ処理を終了する。   If the reference number M exceeds the maximum value (S3403: YES), the CPU 24 does not execute the subsequent processing and ends the first order change job processing.

参照番号Mが最大値以下である場合(S3403:NO)、CPU24は、ジョブIDが参照番号Mであるジョブ(以下、「参照ジョブ」という。)がジョブキュー231に登録されているか否かを確認する(S3404)。   When the reference number M is equal to or less than the maximum value (S3403: NO), the CPU 24 determines whether or not a job having a job ID of the reference number M (hereinafter referred to as “reference job”) is registered in the job queue 231. Confirmation is made (S3404).

参照ジョブがジョブキュー231に登録されていない場合(S3404:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S3405)。   When the reference job is not registered in the job queue 231 (S3404: NO), the CPU 24 adds 1 to the current reference number M, and sets the added value “M + 1” as a new reference number M (S3405).

そして、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを判断する(S3403)。参照番号Mが最大値を超えていなければ(S3403:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを確認する(S3404)。   Then, the CPU 24 determines whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S3403). If the reference number M does not exceed the maximum value (S3403: NO), it is checked whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S3404).

参照ジョブがジョブキュー231に登録されている場合(S3404:YES)、CPU24は、参照ジョブのジョブ情報から、ユーザ名を取得する(S3406)。   When the reference job is registered in the job queue 231 (S3404: YES), the CPU 24 acquires the user name from the job information of the reference job (S3406).

次いで、CPU24は、キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致するか否かを判断する(S3407)。   Next, the CPU 24 determines whether or not the user name of the job to be canceled matches the user name of the reference job (S3407).

キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致しない場合(S3407:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S3405)。   When the user name of the job to be canceled and the user name of the reference job do not match (S3407: NO), the CPU 24 adds 1 to the current reference number M and sets the added value “M + 1” as the new reference number M. (S3405).

その後、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを再び判断し(S3403)、参照番号Mが最大値を超えていなければ(S3403:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを再び確認する(S3404)。そして、参照ジョブがジョブキュー231に登録されている場合(S3404:YES)、CPU24は、キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致するか否かを判断する(S3407)。   Thereafter, the CPU 24 determines again whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S3403), and if the reference number M does not exceed the maximum value. (S3403: NO), it is confirmed again whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S3404). If the reference job is registered in the job queue 231 (S3404: YES), the CPU 24 determines whether or not the user name of the cancel target job matches the user name of the reference job (S3407).

こうして、ジョブキュー231に登録されているジョブのうち、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、キャンセル対象ジョブのユーザ名と一致するユーザ名の参照ジョブが含まれているか否かがジョブIDの小さい順に確認される。   In this way, among jobs registered in the job queue 231, a job with a job ID greater than the job ID of the job to be canceled includes a reference job with a user name that matches the user name of the job to be canceled. No is confirmed in ascending order of job ID.

キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致した場合(S3407:YES)、CPU24は、その参照ジョブのジョブ情報から、印刷所要時間(第2)、印刷枚数(第2)及びトナー使用量(第2)を決定する(S3408)。   If the user name of the job to be canceled matches the user name of the reference job (S3407: YES), the CPU 24 determines the time required for printing (second), the number of printed sheets (second), and the toner from the job information of the reference job. The usage amount (second) is determined (S3408).

その後、CPU24は、キャンセル対象ジョブの印刷所要時間(第1)と参照ジョブの印刷所要時間(第2)との大小を比較する(S3409)。また、キャンセル対象ジョブの印刷枚数(第1)と参照ジョブの印刷枚数(第2)との大小を比較する(S3409)。さらに、キャンセル対象ジョブのトナー使用量(第1)と参照ジョブのトナー使用量(第2)との大小を比較する(S3409)。   Thereafter, the CPU 24 compares the time required for printing the cancel target job (first) and the time required for printing the reference job (second) (S3409). Further, the number of prints of the cancel target job (first) and the number of prints of the reference job (second) are compared (S3409). Further, the amount of toner used for the cancel target job (first) is compared with the amount of toner used for the reference job (second) (S3409).

印刷所要時間、印刷枚数及びトナー使用量の各値の比較結果から、CPU24は、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値以下であるか否かを判断する(S3410)。   From the comparison results of the required time for printing, the number of printed sheets, and the amount of toner used, the CPU 24 determines that at least one of the required time for printing, the number of printed sheets, and the amount of toner used for the reference job is equal to or less than the value corresponding to the cancel target job. It is determined whether or not (S3410).

参照ジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量よりも大きい場合(S3410:NO)、CPU24は、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かを判断する(S3411)。   If the required print time, the number of printed sheets, and the amount of toner used for the reference job are larger than the required print time, the number of printed sheets, and the amount of toner used for the cancel target job (S3410: NO), the CPU 24 refers to the file name of the cancel target job. It is determined whether the file name of the job matches (S3411).

なお、ステップS3410では、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値よりも小さいか否かが判断されてもよい。そして、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量以上である場合に、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かが判断されてもよい。   In step S3410, it may be determined whether or not at least one of the required print time, the number of printed sheets, and the toner usage of the reference job is smaller than the corresponding value of the cancel target job. Then, when the required print time, the number of printed sheets, and the amount of toner used for the reference job are equal to or greater than the required print time, the number of printed sheets, and the amount of toner used for the cancel target job, the file name of the cancel target job, the file name of the reference job, It may be determined whether or not.

キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致していない場合(S3411:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S3412)。   If the file name of the job to be canceled does not match the file name of the reference job (S3411: NO), the CPU 24 adds 1 to the current reference number M, and adds the added value “M + 1” to the new reference number. It is set as M (S3412).

その後、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを再び判断し(S3403)、参照番号Mが最大値を超えていなければ(S3403:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを確認する(S3404)。参照ジョブがジョブキュー231に登録されている場合(S3404:YES)、CPU24は、ジョブキュー231に登録されているジョブのうち、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、キャンセル対象ジョブのユーザ名と一致するユーザ名のジョブが含まれているか否かをジョブIDの小さい順に確認する。   Thereafter, the CPU 24 determines again whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S3403), and if the reference number M does not exceed the maximum value. (S3403: NO), it is confirmed whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S3404). When the reference job is registered in the job queue 231 (S3404: YES), the CPU 24 among the jobs registered in the job queue 231 has a job ID larger than the job ID of the job to be canceled. Whether or not a job with a user name that matches the user name of the job to be canceled is included is checked in ascending order of job ID.

そして、CPU24は、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、ユーザ名がキャンセル対象ジョブのユーザ名と一致し(S3407:YES)、かつ、印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値以下である参照ジョブが見つかると(S3410:YES)、その参照ジョブを順番変更ジョブに決定して(S3413)、第1の順番変更ジョブ決定処理を終了する。   Then, the CPU 24 matches the user name of the job to be canceled among jobs having a job ID larger than the job ID of the job to be canceled (S3407: YES), and the required printing time, number of prints, and toner. When a reference job is found in which at least one value of the usage is less than or equal to the corresponding value of the job to be canceled (S3410: YES), the reference job is determined as the order change job (S3413), and the first order The change job determination process ends.

また、CPU24は、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かを判断し、それらが一致している場合(S3411:YES)、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量より大きくても、その参照ジョブを順番変更ジョブに決定して(S3413)、第1の順番変更ジョブ決定処理を終了する。   Further, the CPU 24 determines whether or not the file name of the job to be canceled matches the file name of the reference job. If they match (S3411: YES), the time required for printing the reference job, printing Even if the number of sheets and the amount of toner used are larger than the required printing time, the number of sheets printed, and the amount of toner used for the cancel target job, the reference job is determined to be the order change job (S3413), and the first order change job determination process is performed. finish.

図5には、ジョブキュー231におけるジョブの登録の状態の一例が示されている。第1の順番変更ジョブ決定処理では、ジョブID「003」のジョブがキャンセル対象ジョブである場合、ジョブIDが「004」以上である参照ジョブについて、ジョブIDの小さい順に、ジョブID「003」のキャンセル対象ジョブと同一のユーザ名「ユーザC」の参照ジョブが探索される。この探索の結果、図5に示される一例では、ジョブID「005」の参照ジョブが見つけられる。そして、キャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量とそれぞれジョブID「005」の参照ジョブの印刷所要時間、印刷枚数及びトナー使用量とが比較される。この比較の結果から、ジョブID「005」の参照ジョブの印刷枚数「10」がキャンセル対象ジョブの印刷枚数「60」以下であるので、ジョブID「005」の参照ジョブが順番変更ジョブに決定される。   FIG. 5 shows an example of a job registration state in the job queue 231. In the first order change job determination process, when the job with the job ID “003” is the job to be canceled, the reference jobs with the job ID “004” or higher are assigned with the job ID “003” in ascending order of the job ID. A reference job having the same user name “user C” as the job to be canceled is searched. As a result of this search, in the example shown in FIG. 5, a reference job with the job ID “005” is found. Then, the time required for printing, the number of printed sheets, and the amount of toner used for the cancel target job are compared with the time required for printing the reference job with the job ID “005”, the number of printed sheets, and the amount of toner used, respectively. As a result of this comparison, since the number of prints “10” of the reference job with the job ID “005” is equal to or less than the number of prints “60” of the job to be canceled, the reference job with the job ID “005” is determined as the order change job. The

ジョブID「005」の参照ジョブが順番変更ジョブに決定されると、図3に示されるジョブキャンセル処理では、順番変更ジョブ有りと判断されて(ステップS35:YES)、ジョブID「005」の参照ジョブがジョブID「003」のジョブとしてジョブキュー231に再登録される。   When the reference job with the job ID “005” is determined to be the order change job, it is determined that there is an order change job in the job cancel process shown in FIG. 3 (step S35: YES), and the job ID “005” is referred to. The job is re-registered in the job queue 231 as a job with the job ID “003”.

<実行中ジョブキャンセル処理>
ジョブの実行中に、その実行中のジョブのキャンセル指示が入力された場合には、図2のステップS6で実行中ジョブキャンセル処理が実行される。実行中ジョブキャンセル処理の流れは、図6に示されている。
<In-execution job cancellation process>
If a cancel instruction for the job being executed is input during the execution of the job, the job cancel process being executed is executed in step S6 of FIG. The flow of the ongoing job cancel process is shown in FIG.

実行中ジョブキャンセル処理では、CPU24は、キャンセル対象ジョブ(実行中のジョブ)のキャンセルジョブ情報をジョブキュー231からRAM23におけるジョブキュー231以外の領域に移動(記憶)させる(S61)。   In the ongoing job cancel process, the CPU 24 moves (stores) the cancel job information of the cancel target job (job being executed) from the job queue 231 to an area other than the job queue 231 in the RAM 23 (S61).

また、CPU24は、キャンセルジョブ情報と対応づけて、キャンセル対象ジョブのジョブIDをRAM23に記憶させる(S62)。   Further, the CPU 24 stores the job ID of the cancel target job in the RAM 23 in association with the cancel job information (S62).

次に、CPU24は、ジョブキュー231からキャンセル対象ジョブを削除する(S63)。   Next, the CPU 24 deletes the cancel target job from the job queue 231 (S63).

その後、CPU24は、第2の順番変更ジョブ決定処理を実行する(S64)。第2の順番変更ジョブ決定処理では、所定の条件を満たすジョブがジョブキュー231に登録されている場合、そのジョブが順番変更ジョブに決定される。一方、所定の条件を満たすジョブがジョブキュー231に登録されていない場合、ジョブキュー231に登録されているジョブのいずれも順番変更ジョブに決定されず、順番変更ジョブなしとされる。所定の条件は、第1の順番変更ジョブ決定処理における「所定の条件」と同じであってもよいし、異なっていてもよい。第2の順番変更ジョブ決定処理の詳細については、後述する。   Thereafter, the CPU 24 executes a second order change job determination process (S64). In the second order change job determination process, when a job satisfying a predetermined condition is registered in the job queue 231, the job is determined as the order change job. On the other hand, when a job satisfying the predetermined condition is not registered in the job queue 231, none of the jobs registered in the job queue 231 is determined as an order change job, and there is no order change job. The predetermined condition may be the same as or different from the “predetermined condition” in the first order change job determination process. Details of the second order change job determination process will be described later.

第2の順番変更ジョブ決定処理の終了後、CPU24は、順番変更ジョブの有無を確認する(S65)。   After completion of the second order change job determination process, the CPU 24 checks whether or not there is an order change job (S65).

順番変更ジョブがない場合(S65:NO)、CPU24は、実行中ジョブキャンセル処理を終了する。   When there is no order change job (S65: NO), the CPU 24 ends the executing job cancel process.

順番変更ジョブがある場合(S65:YES)、CPU24は、RAM23に記憶されているキャンセル対象ジョブのジョブIDを順番変更ジョブに付与して、そのジョブIDと対応づけて、順番変更ジョブ(ジョブ情報など)をジョブキュー231に再登録する(S66)。   When there is an order change job (S65: YES), the CPU 24 assigns the job ID of the cancel target job stored in the RAM 23 to the order change job, associates it with the job ID, and changes the order change job (job information). Etc.) is re-registered in the job queue 231 (S66).

順番変更ジョブの再登録後、CPU24は、不要になったキャンセルジョブ情報をRAM23から削除して(S67)、実行中ジョブキャンセル処理を終了する。   After re-registration of the order change job, the CPU 24 deletes the cancel job information that is no longer necessary from the RAM 23 (S67), and ends the ongoing job cancel process.

<第2の順番変更ジョブ決定処理>
図6のステップS64で実行される第2の順番変更ジョブ決定処理の流れは、図7に示されている。
<Second order change job determination process>
The flow of the second order change job determination process executed in step S64 of FIG. 6 is shown in FIG.

第2の順番変更ジョブ決定処理では、CPU24は、キャンセルジョブ情報及びキャンセル対象ジョブの進行状況から、そのジョブの未実行部分を実行した場合に必要な印刷所要時間(第3)、印刷枚数(第3)及びトナー使用量(第3)を決定する(S6401)。   In the second order change job determination process, the CPU 24 determines the time required for printing (third) and the number of printed sheets (first) when executing an unexecuted portion of the job from the cancel job information and the progress status of the cancel target job. 3) and a toner usage amount (third) are determined (S6401).

次に、CPU24は、キャンセル対象ジョブのジョブIDに1を加算し、その加算値を参照番号Mとする(S6402)。   Next, the CPU 24 adds 1 to the job ID of the cancel target job, and sets the added value as a reference number M (S6402).

その後、CPU24は、参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えているか否かを判断する(S6403)。   Thereafter, the CPU 24 determines whether or not the reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S6403).

参照番号Mが最大値を超えている場合(S6403:YES)、CPU24は、以降の処理を実行せず、第1の順番変更ジョブ処理を終了する。   If the reference number M exceeds the maximum value (S6403: YES), the CPU 24 does not execute the subsequent processing and ends the first order change job processing.

参照番号Mが最大値以下である場合(S6403:NO)、CPU24は、参照ジョブ(ジョブIDが参照番号Mであるジョブ)がジョブキュー231に登録されているか否かを確認する(S6404)。   When the reference number M is equal to or less than the maximum value (S6403: NO), the CPU 24 checks whether or not a reference job (job whose job ID is the reference number M) is registered in the job queue 231 (S6404).

参照ジョブがジョブキュー231に登録されていない場合(S6404:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S6405)。   When the reference job is not registered in the job queue 231 (S6404: NO), the CPU 24 adds 1 to the current reference number M, and sets the added value “M + 1” as a new reference number M (S6405).

そして、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを判断する(S6403)。参照番号Mが最大値を超えていなければ(S6403:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを確認する(S6404)。   Then, the CPU 24 determines whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S6403). If the reference number M does not exceed the maximum value (S6403: NO), it is confirmed whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S6404).

参照ジョブがジョブキュー231に登録されている場合(S6404:YES)、CPU24は、参照ジョブのジョブ情報から、ユーザ名を取得する(S6406)。   When the reference job is registered in the job queue 231 (S6404: YES), the CPU 24 acquires the user name from the job information of the reference job (S6406).

次いで、CPU24は、キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致するか否かを判断する(S6407)。   Next, the CPU 24 determines whether or not the user name of the cancel target job matches the user name of the reference job (S6407).

キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致しない場合(S6407:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S6405)。   When the user name of the job to be canceled and the user name of the reference job do not match (S6407: NO), the CPU 24 adds 1 to the current reference number M, and the added value “M + 1” becomes a new reference number M. (S6405).

その後、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを再び判断し(S6403)、参照番号Mが最大値を超えていなければ(S6403:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを再び確認する(S6404)。そして、参照ジョブがジョブキュー231に登録されている場合(S6404:YES)、CPU24は、キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致するか否かを判断する(S6407)。   Thereafter, the CPU 24 determines again whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S6403). If the reference number M does not exceed the maximum value. (S6403: NO), it is confirmed again whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S6404). If the reference job is registered in the job queue 231 (S6404: YES), the CPU 24 determines whether or not the user name of the job to be canceled matches the user name of the reference job (S6407).

こうして、ジョブキュー231に登録されているジョブのうち、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、キャンセル対象ジョブのユーザ名と一致するユーザ名の参照ジョブが含まれているか否かがジョブIDの小さい順に確認される。   In this way, among jobs registered in the job queue 231, a job with a job ID greater than the job ID of the job to be canceled includes a reference job with a user name that matches the user name of the job to be canceled. No is confirmed in ascending order of job ID.

キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致した場合(S6407:YES)、CPU24は、その参照ジョブのジョブ情報から、印刷所要時間(第2)、印刷枚数(第2)及びトナー使用量(第2)を決定する(S6408)。   If the user name of the job to be canceled matches the user name of the reference job (S6407: YES), the CPU 24 determines the required printing time (second), the number of printed sheets (second), and the toner from the job information of the reference job. The usage amount (second) is determined (S6408).

その後、CPU24は、キャンセル対象ジョブの印刷所要時間(第3)と参照ジョブの印刷所要時間(第2)との大小を比較する(S6409)。また、キャンセル対象ジョブの印刷枚数(第3)と参照ジョブの印刷枚数(第2)との大小を比較する(S6409)。さらに、キャンセル対象ジョブのトナー使用量(第3)と参照ジョブのトナー使用量(第2)との大小を比較する(S6409)。   Thereafter, the CPU 24 compares the time required for printing the cancel target job (third) with the time required for printing the reference job (second) (S6409). Further, the number of prints of the cancel target job (third) and the number of prints of the reference job (second) are compared (S6409). Further, the toner use amount (third) of the job to be canceled is compared with the toner use amount (second) of the reference job (S6409).

印刷所要時間、印刷枚数及びトナー使用量の各値の比較結果から、CPU24は、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のすべての値がキャンセル対象ジョブの対応する値以下であるか否かを判断する(S6410)。   From the comparison results of the required time for printing, the number of printed sheets, and the amount of toner used, the CPU 24 determines whether all the values of the required time for printing, the number of printed sheets, and the amount of toner used for the reference job are equal to or less than the corresponding values of the job to be canceled It is determined whether or not (S6410).

参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値よりも大きい場合(S6410:NO)、CPU24は、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かを判断する(S6411)。   When at least one of the required print time, number of printed sheets, and toner usage of the reference job is larger than the corresponding value of the cancel target job (S6410: NO), the CPU 24 determines the file name of the cancel target job and the reference job. It is determined whether or not the file name matches (S6411).

なお、ステップS6410では、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のすべての値がキャンセル対象ジョブの対応する値よりも小さいか否かが判断されてもよい。そして、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値以上である場合に、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かが判断されてもよい。   Note that in step S6410, it may be determined whether all the values of the time required for printing the reference job, the number of printed sheets, and the amount of toner used are smaller than the corresponding values of the job to be canceled. If at least one of the required print time, number of printed sheets, and toner usage of the reference job is equal to or greater than the corresponding value of the cancel target job, the file name of the cancel target job and the file name of the reference job are It may be determined whether or not they match.

キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致していない場合(S6411:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S6412)。   When the file name of the job to be canceled and the file name of the reference job do not match (S6411: NO), the CPU 24 adds 1 to the current reference number M, and adds the added value “M + 1” to the new reference number. It is set as M (S6412).

その後、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを再び判断し(S6403)、参照番号Mが最大値を超えていなければ(S6403:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを確認する(S6404)。参照ジョブがジョブキュー231に登録されている場合(S6404:YES)、CPU24は、ジョブキュー231に登録されているジョブのうち、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、キャンセル対象ジョブのユーザ名と一致するユーザ名のジョブが含まれているか否かをジョブIDの小さい順に確認する。   Thereafter, the CPU 24 determines again whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S6403). If the reference number M does not exceed the maximum value. (S6403: NO), it is confirmed whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S6404). When the reference job is registered in the job queue 231 (S6404: YES), the CPU 24 among the jobs registered in the job queue 231 has a job ID larger than the job ID of the job to be canceled. Whether or not a job with a user name that matches the user name of the job to be canceled is included is checked in ascending order of job ID.

そして、CPU24は、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、ユーザ名がキャンセル対象ジョブのユーザ名と一致し(S6407:YES)、かつ、印刷所要時間、印刷枚数及びトナー使用量のすべての値がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量以下である参照ジョブが見つかると(S6410:YES)、その参照ジョブを順番変更ジョブに決定して(S6413)、第2の順番変更ジョブ決定処理を終了する。   Then, the CPU 24 matches the user name of the job to be canceled among the jobs having a job ID larger than the job ID of the job to be canceled (S6407: YES), and the required print time, number of prints, and toner. If a reference job is found in which all values of the usage amount are equal to or less than the required printing time, number of printed sheets, and toner usage amount of the cancellation target job (S6410: YES), the reference job is determined as a reordering job (S6413). Then, the second order change job determination process is terminated.

また、CPU24は、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かを判断し、それらが一致している場合(S6411:YES)、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値より大きくても、その参照ジョブを順番変更ジョブに決定して(S6413)、第2の順番変更ジョブ決定処理を終了する。   Further, the CPU 24 determines whether or not the file name of the job to be canceled matches the file name of the reference job. If they match (S6411: YES), the time required for printing the reference job, printing Even if at least one of the number of sheets and the amount of toner used is larger than the corresponding value of the job to be canceled, the reference job is determined as the order change job (S6413), and the second order change job determination process is terminated. To do.

<ジョブ登録処理>
MFP1では、外部装置からLAN2を経由して通信部15に新規のジョブが受け付けられると、ASIC21のCPU24により、ジョブ登録処理が実行される。ジョブ登録処理の流れは、図8に示されている。
<Job registration process>
In the MFP 1, when a new job is received from the external device via the LAN 2 to the communication unit 15, a job registration process is executed by the CPU 24 of the ASIC 21. The flow of job registration processing is shown in FIG.

ジョブ登録処理では、CPU24は、通信部15から新規のジョブが入力されたか否かを判断する(S81)。   In the job registration process, the CPU 24 determines whether a new job is input from the communication unit 15 (S81).

CPU24は、通信部15から新規のジョブが入力されるまで、以降の処理を実行しない。   The CPU 24 does not execute the subsequent processing until a new job is input from the communication unit 15.

通信部15からCPU24に新規のジョブが入力されると(S81:YES)、CPU24は、RAM23にキャンセルジョブ情報が記憶されているか否かを判断する(S82)。前述したように、キャンセルジョブ情報は、図3に示されるジョブキャンセル処理のステップS11又は図6に示される実行中ジョブキャンセル処理のステップS61でRAM23に記憶される。   When a new job is input from the communication unit 15 to the CPU 24 (S81: YES), the CPU 24 determines whether or not cancel job information is stored in the RAM 23 (S82). As described above, the cancel job information is stored in the RAM 23 in step S11 of the job cancel process shown in FIG. 3 or step S61 of the job cancel process in progress shown in FIG.

RAM23にキャンセルジョブ情報が記憶されていない場合(S82:NO)、CPU24は、新規のジョブをジョブキュー231の最後のジョブIDに登録して(S83)、ジョブ登録処理を終了する。すなわち、ジョブキュー231に登録されているジョブのいずれに対してもキャンセル指示が入力されていない場合、CPU24は、使用済みのジョブIDの最大値に1を加算した値をジョブIDとし、そのジョブIDを新規のジョブに付与して、ジョブIDと対応づけて、新規のジョブの受付日時、ジョブ情報及びジョブの画像データをジョブキュー231に登録する。   If the cancel job information is not stored in the RAM 23 (S82: NO), the CPU 24 registers a new job in the last job ID of the job queue 231 (S83), and ends the job registration process. That is, if no cancel instruction is input for any of the jobs registered in the job queue 231, the CPU 24 sets a value obtained by adding 1 to the maximum value of the used job ID, and the job ID An ID is assigned to a new job, and the reception date and time of the new job, job information, and job image data are registered in the job queue 231 in association with the job ID.

一方、RAM23にキャンセルジョブ情報が記憶されている場合(S82:YES)、CPU24は、第3の順番変更ジョブ決定処理を実行する(S84)。第3の順番変更ジョブ決定処理では、所定の条件を満たすジョブがジョブキュー231に登録されている場合、そのジョブが順番変更ジョブに決定される。一方、所定の条件を満たすジョブがジョブキュー231に登録されていない場合、ジョブキュー231に登録されているジョブのいずれも順番変更ジョブに決定されず、順番変更ジョブなしとされる。所定の条件は、第1の順番変更ジョブ決定処理又は第2の順番変更ジョブ決定処理における「所定の条件」とは同じであってもよいし、異なっていてもよい。第3の順番変更ジョブ決定処理の詳細については、後述する。   On the other hand, when the cancel job information is stored in the RAM 23 (S82: YES), the CPU 24 executes a third order change job determination process (S84). In the third order change job determination process, when a job satisfying a predetermined condition is registered in the job queue 231, the job is determined as the order change job. On the other hand, when a job satisfying the predetermined condition is not registered in the job queue 231, none of the jobs registered in the job queue 231 is determined as an order change job, and there is no order change job. The predetermined condition may be the same as or different from the “predetermined condition” in the first order change job determination process or the second order change job determination process. Details of the third order change job determination process will be described later.

第3の順番変更ジョブ決定処理の終了後、CPU24は、順番変更ジョブの有無を確認する(S85)。   After completion of the third order change job determination process, the CPU 24 checks whether or not there is an order change job (S85).

順番変更ジョブがない場合(S85:NO)、CPU24は、新規のジョブをジョブキュー231の最後のジョブIDに登録して(S83)、ジョブ登録処理を終了する。   When there is no order change job (S85: NO), the CPU 24 registers a new job in the last job ID of the job queue 231 (S83), and ends the job registration process.

順番変更ジョブがある場合(S85:YES)、CPU24は、RAM23に記憶されているキャンセル対象ジョブのジョブIDを順番変更ジョブに付与して、そのジョブIDと対応づけて、順番変更ジョブをジョブキュー231に登録する(S86)。   If there is an order change job (S85: YES), the CPU 24 assigns the job ID of the cancel target job stored in the RAM 23 to the order change job, associates the job ID with the job ID, and assigns the order change job to the job queue. It registers in H.231 (S86).

順番変更ジョブの登録後、CPU24は、不要になったキャンセルジョブ情報をRAM23から削除して(S87)、ジョブ登録処理を終了する。   After registering the order change job, the CPU 24 deletes the cancel job information that is no longer necessary from the RAM 23 (S87), and ends the job registration process.

<第3の順番変更ジョブ決定処理>
図8のステップS84で実行される第3の順番変更ジョブ決定処理の流れは、図4に示されている。
<Third order change job determination process>
The flow of the third order change job determination process executed in step S84 of FIG. 8 is shown in FIG.

第3の順番変更ジョブ決定処理では、CPU24は、キャンセルジョブ情報から、ユーザ名、ジョブサイズ及びページ数を取得し、ジョブサイズ及びページ数などから、キャンセル対象ジョブを実行した場合に必要な印刷所要時間(第1)、印刷枚数(第1)及びトナー使用量(第1)を決定する(S841)。   In the third order change job determination process, the CPU 24 obtains the user name, job size, and number of pages from the cancel job information, and requires printing required when the cancel target job is executed from the job size, number of pages, and the like. The time (first), the number of printed sheets (first), and the toner usage (first) are determined (S841).

次に、CPU24は、新規のジョブのジョブ情報から、ユーザ名を取得する(S842)。   Next, the CPU 24 acquires the user name from the job information of the new job (S842).

そして、CPU24は、キャンセル対象ジョブのユーザ名と新規のジョブのユーザ名とが一致するか否かを判断する(S843)。   Then, the CPU 24 determines whether or not the user name of the job to be canceled matches the user name of the new job (S843).

キャンセル対象ジョブのユーザ名と新規のジョブのユーザ名とが一致しない場合(S843:NO)、CPU24は、第3の順番変更ジョブ決定処理を終了する。   If the user name of the cancel target job does not match the user name of the new job (S843: NO), the CPU 24 ends the third order change job determination process.

キャンセル対象ジョブのユーザ名と新規のジョブのユーザ名とが一致した場合(S843:YES)、CPU24は、新規のジョブのジョブ情報から、印刷所要時間(第2)、印刷枚数(第2)及びトナー使用量(第2)を決定する(S844)。   If the user name of the job to be canceled matches the user name of the new job (S843: YES), the CPU 24 determines the time required for printing (second), the number of printed sheets (second) and the job information of the new job. The toner usage amount (second) is determined (S844).

その後、CPU24は、キャンセル対象ジョブの印刷所要時間(第1)と新規のジョブの印刷所要時間(第2)との大小を比較する(S845)。また、キャンセル対象ジョブの印刷枚数(第1)と新規のジョブの印刷枚数(第2)との大小を比較する(S845)。さらに、キャンセル対象ジョブのトナー使用量(第1)と新規のジョブのトナー使用量(第2)との大小を比較する(S845)。   Thereafter, the CPU 24 compares the time required for printing the cancel target job (first) with the time required for printing the new job (second) (S845). Further, the number of prints of the cancel target job (first) and the number of prints of the new job (second) are compared (S845). Further, the toner usage amount (first) of the job to be canceled is compared with the toner usage amount (second) of the new job (S845).

印刷所要時間、印刷枚数及びトナー使用量の各値の比較結果から、CPU24は、新規のジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値以下であるか否かを判断する(S846)。   From the comparison results of the required time for printing, the number of printed sheets, and the amount of toner used, the CPU 24 determines that at least one of the required time for printing, the number of printed sheets, and the amount of toner used for the new job corresponds to the job to be canceled. It is determined whether or not the following is true (S846).

新規のジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量よりも大きい場合(S846:NO)、CPU24は、キャンセル対象ジョブのファイル名と新規のジョブのファイル名とが一致しているか否かを判断する(S847)。   When the time required for printing, the number of printed sheets, and the amount of toner used for the new job are larger than the time required for printing, the number of printed sheets, and the amount of toner used for the cancel target job (S846: NO), the CPU 24 determines the file name of the cancel target job. It is determined whether the file name of the new job matches (S847).

なお、ステップS846では、新規のジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値よりも小さいか否かが判断されてもよい。そして、新規のジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量以上である場合に、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かが判断されてもよい。   Note that in step S846, it may be determined whether at least one of the time required for printing a new job, the number of printed sheets, and the amount of toner used is smaller than the corresponding value of the job to be canceled. When the time required for printing a new job, the number of printed sheets, and the amount of toner used are equal to or greater than the time required for printing a canceled job, the number of printed sheets, and the amount of toner used, respectively, It may be determined whether or not is consistent.

キャンセル対象ジョブのファイル名と新規のジョブのファイル名とが一致していない場合(S847:NO)、CPU24は、第3の順番変更ジョブ決定処理を終了する。   When the file name of the job to be canceled does not match the file name of the new job (S847: NO), the CPU 24 ends the third order change job determination process.

一方、キャンセル対象ジョブのファイル名と新規のジョブのファイル名とが一致している場合(S847:YES)、新規のジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量以上であっても、その参照ジョブを順番変更ジョブに決定して(S848)、第3の順番変更ジョブ決定処理を終了する。   On the other hand, if the file name of the job to be canceled matches the file name of the new job (S847: YES), the time required for printing the new job, the number of prints, and the amount of toner used are required for printing the job to be canceled. Even if the time, the number of printed sheets, and the toner usage amount are exceeded, the reference job is determined as the order change job (S848), and the third order change job determination process is ended.

また、CPU24は、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、ユーザ名がキャンセル対象ジョブのユーザ名と一致し(S843:YES)、かつ、印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値以下である新規のジョブが見つかると(S846:YES)、その新規のジョブを順番変更ジョブに決定して(S848)、第3の順番変更ジョブ決定処理を終了する。   Further, the CPU 24 has a user name that matches the user name of the job to be canceled among jobs having a job ID larger than the job ID of the job to be canceled (S843: YES), and the required print time, number of prints, and toner. When a new job is found in which at least one value of the usage is less than or equal to the corresponding value of the job to be canceled (S846: YES), the new job is determined as a reordering job (S848), and the third The order change job determination process is terminated.

<第1の順番変更ジョブ決定処理の他の例>
図3のステップS1において、図4に示される第1の順番変更ジョブ決定処理に代えて、図10に示される第1の順番変更ジョブ決定処理が実行されてもよい。
<Another example of first order change job determination processing>
In step S1 of FIG. 3, the first order change job determination process shown in FIG. 10 may be executed instead of the first order change job determination process shown in FIG.

図10に示される第1の順番変更ジョブ決定処理では、CPU24は、キャンセルジョブ情報から、ユーザ名、ジョブサイズ及びページ数を取得し、ジョブサイズ及びページ数などから、キャンセル対象ジョブを実行した場合に必要な印刷所要時間(第1)、印刷枚数(第1)及びトナー使用量(第1)を決定する(S101)。   In the first order change job determination process shown in FIG. 10, the CPU 24 acquires the user name, job size, and page number from the cancel job information, and executes the cancel target job from the job size, page number, and the like. The time required for printing (first), the number of printed sheets (first), and the amount of toner used (first) are determined (S101).

次に、CPU24は、キャンセル対象ジョブのジョブID(順番を表す番号)に1を加算し、その加算値を参照番号Mとする(S102)。たとえば、図11に示されるように、ジョブID「003」のジョブがキャンセル対象ジョブである場合、ジョブID「003」に1を加算した加算値「004」が参照番号Mとされる。   Next, the CPU 24 adds 1 to the job ID (number indicating the order) of the job to be canceled, and sets the added value as a reference number M (S102). For example, as illustrated in FIG. 11, when the job with the job ID “003” is the job to be canceled, an addition value “004” obtained by adding 1 to the job ID “003” is set as the reference number M.

その後、CPU24は、参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えているか否かを判断する(S103)。   Thereafter, the CPU 24 determines whether or not the reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S103).

参照番号Mが最大値以下である場合(S103:NO)、CPU24は、参照ジョブ(ジョブIDが参照番号Mであるジョブ)がジョブキュー231に登録されているか否かを確認する(S104)。   When the reference number M is equal to or less than the maximum value (S103: NO), the CPU 24 checks whether or not a reference job (job whose job ID is the reference number M) is registered in the job queue 231 (S104).

参照ジョブがジョブキュー231に登録されていない場合(S104:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S105)。   When the reference job is not registered in the job queue 231 (S104: NO), the CPU 24 adds 1 to the current reference number M, and sets the added value “M + 1” as a new reference number M (S105).

そして、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを判断する(S103)。参照番号Mが最大値を超えていなければ(S103:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを確認する(S104)。   Then, the CPU 24 determines whether or not the new reference number M has exceeded the maximum value of the job ID of the job registered in the job queue 231 (S103). If the reference number M does not exceed the maximum value (S103: NO), it is confirmed whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S104).

参照ジョブがジョブキュー231に登録されている場合(S104:YES)、CPU24は、参照ジョブのジョブ情報から、ユーザ名を取得する(S106)。   When the reference job is registered in the job queue 231 (S104: YES), the CPU 24 acquires the user name from the job information of the reference job (S106).

次いで、CPU24は、キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致するか否かを判断する(S107)。   Next, the CPU 24 determines whether or not the user name of the cancel target job matches the user name of the reference job (S107).

キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致しない場合(S107:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S105)。   When the user name of the job to be canceled and the user name of the reference job do not match (S107: NO), the CPU 24 adds 1 to the current reference number M, and the added value “M + 1” becomes a new reference number M. (S105).

その後、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを再び判断し(S103)、参照番号Mが最大値を超えていなければ(S103:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを再び確認する(S104)。そして、参照ジョブがジョブキュー231に登録されている場合(S104:YES)、CPU24は、キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致するか否かを判断する(S107)。   Thereafter, the CPU 24 determines again whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S103), and if the reference number M does not exceed the maximum value. (S103: NO), it is confirmed again whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S104). If the reference job is registered in the job queue 231 (S104: YES), the CPU 24 determines whether or not the user name of the cancel target job matches the user name of the reference job (S107).

こうして、ジョブキュー231に登録されているジョブのうち、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、キャンセル対象ジョブのユーザ名と一致するユーザ名の参照ジョブが含まれているか否かがジョブIDの小さい順に確認される。   In this way, among jobs registered in the job queue 231, a job with a job ID greater than the job ID of the job to be canceled includes a reference job with a user name that matches the user name of the job to be canceled. No is confirmed in ascending order of job ID.

キャンセル対象ジョブのユーザ名と参照ジョブのユーザ名とが一致した場合(S107:YES)、CPU24は、その参照ジョブのジョブ情報から、印刷所要時間(第2)、印刷枚数(第2)及びトナー使用量(第2)を決定する(S108)。   When the user name of the job to be canceled matches the user name of the reference job (S107: YES), the CPU 24 determines the time required for printing (second), the number of printed sheets (second), and the toner from the job information of the reference job. The usage amount (second) is determined (S108).

その後、CPU24は、キャンセル対象ジョブの印刷所要時間(第1)と参照ジョブの印刷所要時間(第2)との大小を比較する(S108)。また、キャンセル対象ジョブの印刷枚数(第1)と参照ジョブの印刷枚数(第2)との大小を比較する(S108)。さらに、キャンセル対象ジョブのトナー使用量(第1)と参照ジョブのトナー使用量(第2)との大小を比較する(S109)。   Thereafter, the CPU 24 compares the time required for printing the cancel target job (first) and the time required for printing the reference job (second) (S108). Further, the number of prints of the cancel target job (first) and the number of prints of the reference job (second) are compared (S108). Further, the toner usage amount (first) of the job to be canceled is compared with the toner usage amount (second) of the reference job (S109).

印刷所要時間、印刷枚数及びトナー使用量の各値の比較結果から、CPU24は、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値以下であるか否かを判断する(S110)。   From the comparison results of the required time for printing, the number of printed sheets, and the amount of toner used, the CPU 24 determines that at least one of the required time for printing, the number of printed sheets, and the amount of toner used for the reference job is equal to or less than the value corresponding to the cancel target job. It is determined whether or not (S110).

参照ジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量よりも大きい場合(S110:NO)、CPU24は、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かを判断する(S111)。   When the required print time, the number of printed sheets, and the amount of toner used for the reference job are larger than the required print time, the number of printed sheets, and the amount of toner used for the cancel target job (S110: NO), the CPU 24 refers to the file name of the cancel target job. It is determined whether the file name of the job matches (S111).

なお、ステップS110では、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値よりも小さいか否かが判断されてもよい。そして、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量以上である場合に、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かが判断されてもよい。   In step S110, it may be determined whether or not at least one of the time required for printing the reference job, the number of printed sheets, and the amount of toner used is smaller than the corresponding value of the job to be canceled. Then, when the required print time, the number of printed sheets, and the amount of toner used for the reference job are equal to or greater than the required print time, the number of printed sheets, and the amount of toner used for the cancel target job, the file name of the cancel target job, the file name of the reference job, It may be determined whether or not.

キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致していない場合(S111:NO)、CPU24は、現在の参照番号Mに1を加算し、その加算値「M+1」を新たな参照番号Mとする(S105)。   When the file name of the job to be canceled and the file name of the reference job do not match (S111: NO), the CPU 24 adds 1 to the current reference number M, and adds the added value “M + 1” to the new reference number. Let M be S (S105).

その後、CPU24は、新たな参照番号Mがジョブキュー231に登録されているジョブのジョブIDの最大値を超えたか否かを再び判断し(S103)、参照番号Mが最大値を超えていなければ(S103:NO)、参照ジョブ(新たな参照番号MをジョブIDとするジョブ)がジョブキュー231に登録されているか否かを再び確認する(S104)。参照ジョブがジョブキュー231に登録されている場合(S104:YES)、CPU24は、ジョブキュー231に登録されているジョブのうち、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、キャンセル対象ジョブのユーザ名と一致するユーザ名のジョブが含まれているか否かをジョブIDの小さい順に確認する。   Thereafter, the CPU 24 determines again whether or not the new reference number M exceeds the maximum value of the job ID of the job registered in the job queue 231 (S103), and if the reference number M does not exceed the maximum value. (S103: NO), it is confirmed again whether or not a reference job (a job with a new reference number M as a job ID) is registered in the job queue 231 (S104). When the reference job is registered in the job queue 231 (S104: YES), the CPU 24 includes, among the jobs registered in the job queue 231, a job having a job ID larger than the job ID of the cancel target job. Whether or not a job with a user name that matches the user name of the job to be canceled is included is checked in ascending order of job ID.

そして、CPU24は、キャンセル対象ジョブのジョブIDよりも大きいジョブIDのジョブの中に、ユーザ名がキャンセル対象ジョブのユーザ名と一致し(S107:YES)、かつ、印刷所要時間、印刷枚数及びトナー使用量のうちの少なくとも1つの値がキャンセル対象ジョブの対応する値以下の参照ジョブが見つかると(S110:YES)、その参照ジョブを保留ジョブに決定する(S112)。   Then, the CPU 24 has a user name that matches the user name of the job to be canceled among jobs having a job ID larger than the job ID of the job to be canceled (S107: YES), and the required printing time, the number of prints, and the toner. If at least one reference value of the usage amount is less than or equal to the corresponding value of the job to be canceled (S110: YES), the reference job is determined as a hold job (S112).

また、CPU24は、キャンセル対象ジョブのファイル名と参照ジョブのファイル名とが一致しているか否かを判断し、それらが一致している場合(S111:YES)、参照ジョブの印刷所要時間、印刷枚数及びトナー使用量がそれぞれキャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量より大きくても、その参照ジョブを保留ジョブに決定する(S112)。   In addition, the CPU 24 determines whether or not the file name of the cancel target job matches the file name of the reference job. If they match (S111: YES), the time required for printing the reference job, printing Even if the number of sheets and the amount of toner used are larger than the required printing time, the number of sheets printed, and the amount of toner used for the cancel target job, the reference job is determined as a pending job (S112).

そして、参照番号Mが最大値を超えると(S103:YES)、CPU24は、保留ジョブの有無を確認する(S113)。   When the reference number M exceeds the maximum value (S103: YES), the CPU 24 checks whether there is a pending job (S113).

保留ジョブがある場合(S113:YES)、キャンセルジョブ情報と最も類似するジョブ情報の保留ジョブを順番変更ジョブに決定して(S114)、第1の順番変更ジョブ決定処理を終了する。   When there is a hold job (S113: YES), the hold job having the job information most similar to the cancel job information is determined as the order change job (S114), and the first order change job determination process is ended.

一方、保留ジョブがない場合(S113:NO)、CPU24は、順番変更ジョブの決定なしで、第1の順番変更ジョブを終了する。   On the other hand, when there is no pending job (S113: NO), the CPU 24 ends the first order change job without determining the order change job.

図11には、ジョブキュー231におけるジョブの登録の状態の一例が示されている。第1の順番変更ジョブ決定処理では、ジョブID「003」のジョブがキャンセル対象ジョブである場合、ジョブIDが「004」以上である参照ジョブについて、ジョブIDの小さい順に、ジョブID「003」のキャンセル対象ジョブと同一のユーザ名「ユーザC」の参照ジョブが探索される。この探索の結果、図11に示される一例では、ジョブID「005」の参照ジョブ及びジョブID「007」の参照ジョブが見つけられる。そして、キャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量とそれぞれジョブID「005」の参照ジョブの印刷所要時間、印刷枚数及びトナー使用量とが比較される。また、キャンセル対象ジョブの印刷所要時間、印刷枚数及びトナー使用量とそれぞれジョブID「007」の参照ジョブの印刷所要時間、印刷枚数及びトナー使用量とが比較される。これらの比較の結果から、ジョブID「007」の参照ジョブの印刷枚数「40」がジョブID「007」の参照ジョブの印刷枚数「10」よりもキャンセル対象ジョブの印刷枚数「60」に近いので、ジョブID「007」の参照ジョブが順番変更ジョブに決定される。   FIG. 11 shows an example of a job registration state in the job queue 231. In the first order change job determination process, when the job with the job ID “003” is the job to be canceled, the reference jobs with the job ID “004” or higher are assigned with the job ID “003” in ascending order of the job ID. A reference job having the same user name “user C” as the job to be canceled is searched. As a result of this search, in the example shown in FIG. 11, a reference job with job ID “005” and a reference job with job ID “007” are found. Then, the time required for printing, the number of printed sheets, and the amount of toner used for the cancel target job are compared with the time required for printing the reference job with the job ID “005”, the number of printed sheets, and the amount of toner used, respectively. Further, the time required for printing, the number of printed sheets, and the amount of toner used for the job to be canceled are compared with the time required for printing, the number of printed sheets, and the amount of toner used for the reference job of job ID “007”, respectively. From these comparison results, the number of prints “40” of the reference job with the job ID “007” is closer to the number of prints “60” of the job to be canceled than the number of prints “10” of the reference job with the job ID “007”. The reference job with the job ID “007” is determined as the order change job.

ジョブID「007」の参照ジョブが順番変更ジョブに決定されると、図3に示されるジョブキャンセル処理では、順番変更ジョブ有りと判断されて(ステップS35:YES)、ジョブID「007」の参照ジョブがジョブID「003」のジョブとしてジョブキュー231に再登録される。   When the reference job with the job ID “007” is determined to be the order change job, it is determined that there is an order change job in the job cancel processing shown in FIG. 3 (step S35: YES), and the job ID “007” is referred to. The job is re-registered in the job queue 231 as a job with the job ID “003”.

<作用効果>
以上のように、ジョブが通信部15に受け付けられると、そのジョブが受け付けられた順番でRAM23に設けられたジョブキュー231に登録される。ジョブキュー231に登録されたジョブは、自身の順番で実行される。ジョブキュー231に登録されているジョブの実行を取り消すキャンセル指示が入力されると、そのキャンセル指示の対象のキャンセル対象ジョブの印刷による実行量が決定される。また、キャンセル対象ジョブよりも後の順番のジョブについて、ジョブの印刷による実行量、すなわち、印刷所要時間、印刷枚数及びトナー使用量が決定される。そして、キャンセル対象ジョブと同じユーザ名を有し、かつ、印刷所要時間、印刷枚数及びトナー使用量の少なくとも1つがキャンセル対象ジョブ以下であるジョブが決定される。そして、その決定されたジョブがキャンセル対象ジョブの順番でジョブキュー231に再登録される。そのため、ジョブのキャンセル指示を入力したユーザ及び他のユーザに公平となるように、キャンセル指示を入力したユーザの別のジョブをキャンセル対象ジョブの順番でジョブキュー231に再登録することができる。
<Effect>
As described above, when jobs are received by the communication unit 15, they are registered in the job queue 231 provided in the RAM 23 in the order in which the jobs are received. Jobs registered in the job queue 231 are executed in their own order. When a cancel instruction for canceling the execution of a job registered in the job queue 231 is input, the execution amount of the cancel target job that is the target of the cancel instruction is determined. In addition, for the jobs in the order after the job to be canceled, the execution amount by printing the job, that is, the required printing time, the number of printed sheets, and the toner usage amount are determined. Then, a job having the same user name as the cancel target job and having at least one of the required print time, the number of printed sheets, and the toner usage amount equal to or less than the cancel target job is determined. Then, the determined job is re-registered in the job queue 231 in the order of the cancel target job. Therefore, another job of the user who has input the cancel instruction can be re-registered in the job queue 231 in the order of the cancel target job so as to be fair to the user who has input the job cancel instruction and other users.

図4又は図10に示される第1の順番変更ジョブ決定処理では、キャンセル指示が入力された時点でジョブキュー231に既に登録されていたジョブ(参照ジョブ)の中からキャンセル対象ジョブの順番でジョブキュー231に再登録されるジョブが決定される。これにより、キャンセル指示の入力前にジョブキュー231に登録されていたジョブをキャンセル対象ジョブの順番に繰り上げることができる。   In the first order change job determination process shown in FIG. 4 or FIG. 10, jobs in the order of jobs to be canceled from the jobs (reference jobs) already registered in the job queue 231 when the cancel instruction is input. A job to be re-registered in the queue 231 is determined. As a result, the jobs registered in the job queue 231 before inputting the cancel instruction can be advanced in the order of the cancel target jobs.

図4に示される第1の順番変更ジョブ決定処理では、ジョブキュー231に登録されている参照ジョブについて、ジョブIDの小さい順に、キャンセル対象ジョブと同じユーザ名を有し、かつ、印刷所要時間、印刷枚数及びトナー使用量の少なくとも1つがキャンセル対象ジョブ以下であるという条件に該当するか否かが判断される。そのため、その条件に該当する参照ジョブが見つかった時点で、第1の順番変更ジョブ決定処理を終了することができる。その結果、第1の順番変更ジョブ決定処理に要する時間が短くすむ。   In the first order change job determination process shown in FIG. 4, the reference jobs registered in the job queue 231 have the same user name as that of the job to be canceled in ascending order of job ID, and the required print time, It is determined whether or not the condition that at least one of the number of printed sheets and the amount of toner used is equal to or less than the job to be canceled is satisfied. Therefore, the first order change job determination process can be terminated when a reference job corresponding to the condition is found. As a result, the time required for the first order change job determination process can be shortened.

一方、図10に示される第1の順番変更ジョブ決定処理では、ジョブキュー231に登録されている全ての参照ジョブについて、キャンセル対象ジョブと同じユーザ名を有し、かつ、印刷所要時間、印刷枚数及びトナー使用量の少なくとも1つがキャンセル対象ジョブ以下であるという条件に該当するか否かが判断される。そして、その条件に該当する参照ジョブの中から、キャンセル対象ジョブのキャンセルジョブ情報と最も類似するジョブ情報の参照ジョブがキャンセル対象ジョブの順番に繰り上げる順番変更ジョブに決定される。そのため、ジョブのキャンセル指示を入力したユーザ及び他のユーザに対する公平さを一層増すことができる。   On the other hand, in the first order change job determination process shown in FIG. 10, all the reference jobs registered in the job queue 231 have the same user name as the job to be canceled, the required printing time, and the number of printed sheets. It is determined whether or not the condition that at least one of the toner usage amount is equal to or less than the job to be canceled is satisfied. Then, the reference job having the job information most similar to the cancel job information of the cancel target job is determined as the order change job to be advanced in the order of the cancel target job from the reference jobs corresponding to the condition. Therefore, it is possible to further increase the fairness to the user who has input the job cancel instruction and other users.

また、図9に示される第3の順番変更ジョブ決定処理では、キャンセル指示が入力された後に新規に受け付けられたジョブについて、キャンセル対象ジョブの順番でジョブキュー231に再登録するか否かが決定される。これにより、新規のジョブをキャンセル対象ジョブの順番に繰り上げて登録することができる。   Further, in the third order change job determination process shown in FIG. 9, it is determined whether or not to newly register the job newly accepted after the cancellation instruction is input in the job queue 231 in the order of the cancel target job. Is done. As a result, new jobs can be registered in the order of the cancel target job.

さらに、キャンセル対象ジョブと同じファイル名を有するジョブについては、キャンセル対象ジョブと同じユーザ名を有し、かつ、印刷所要時間、印刷枚数及びトナー使用量の少なくとも1つがキャンセル対象ジョブ以下であるという条件に該当していなくても、キャンセル対象ジョブの順番に繰り上げる順番変更ジョブに決定される。これにより、キャンセル対象ジョブと同一の画像データのジョブが印刷設定を変えて受け付けられた場合に、そのジョブを順番変更ジョブとしてキャンセル対象ジョブの順番に繰り上げることができる。   Furthermore, for a job having the same file name as the cancel target job, the job name has the same user name as that of the cancel target job, and at least one of the required print time, the number of prints, and the toner usage is equal to or less than the cancel target job. Even if it does not correspond to the above, it is determined as an order change job to be advanced in the order of the cancel target job. Thus, when a job having the same image data as the cancel target job is received with the print settings changed, the job can be moved up to the cancel target job as an order change job.

<変形例>
以上、本発明のいくつかの実施形態について説明したが、本発明は、更に他の形態で実施することも可能である。
<Modification>
As mentioned above, although several embodiment of this invention was described, this invention can also be implemented with another form.

たとえば、前述の実施形態では、CPU24が各処理を実行する場合について説明した。しかしながら、ASIC21が複数のCPUを備え、複数のCPUが協働して各処理を実行してもよい。   For example, in the above-described embodiment, the case where the CPU 24 executes each process has been described. However, the ASIC 21 may include a plurality of CPUs, and the plurality of CPUs may cooperate to execute each process.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。   In addition, various design changes can be made to the above-described configuration within the scope of the matters described in the claims.

1 MFP
11 画像形成部
13 操作部
15 通信部
16 制御部
21 ASIC
23 RAM
24 CPU
231 ジョブキュー
1 MFP
DESCRIPTION OF SYMBOLS 11 Image formation part 13 Operation part 15 Communication part 16 Control part 21 ASIC
23 RAM
24 CPU
231 Job queue

Claims (8)

印刷ジョブを受け付ける受付部と、
印刷部と、
入力部と、
記憶部と、
制御部と、
を備え、
前記制御部は、
前記受付部に受け付けられた印刷ジョブを受け付けられた順番で前記記憶部に登録するジョブ登録処理と、
前記記憶部に登録された印刷ジョブをその印刷ジョブの順番で前記印刷部を用いて実行する印刷ジョブ実行処理と、
前記記憶部に登録された印刷ジョブの実行を取り消すキャンセル指示が前記入力部に入力された場合、キャンセル対象の印刷ジョブをキャンセルするジョブキャンセル処理と、
前記キャンセル対象の印刷ジョブの実行による実行量を、前記キャンセル対象の印刷ジョブから決定するキャンセルジョブ実行量決定処理と、
前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブの実行による実行量を、前記印刷ジョブから決定する印刷ジョブ実行量決定処理と、
前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブのうち、前記キャンセル指示の対象の印刷ジョブと同じ識別情報を有し、かつ、前記印刷ジョブ実行量決定処理で決定された実行量が前記キャンセルジョブ実行量決定処理で決定された実行量以下であるという条件に合致する1つの印刷ジョブを決定する印刷ジョブ決定処理と、
前記印刷ジョブ決定処理で決定された印刷ジョブを、前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に再登録するジョブ再登録処理と、
を実行する印刷装置。
A reception unit for receiving print jobs;
A printing section;
An input section;
A storage unit;
A control unit;
With
The controller is
A job registration process for registering print jobs received by the reception unit in the storage unit in the order received;
Print job execution processing for executing print jobs registered in the storage unit in the order of the print jobs using the print unit;
When a cancel instruction for canceling execution of a print job registered in the storage unit is input to the input unit, job cancel processing for canceling a print job to be canceled,
A cancel job execution amount determination process for determining an execution amount by execution of the cancel target print job from the cancel target print job;
A print job execution amount determination process for determining, from the print job, an execution amount by execution of a print job registered in an order later than the print job to be cancelled;
Among the print jobs registered in the order after the print job targeted for the cancel instruction, the print job has the same identification information as the print job targeted for the cancel instruction, and is determined by the print job execution amount determination process. A print job determination process for determining one print job that satisfies the condition that the execution amount is equal to or less than the execution amount determined in the cancel job execution amount determination process;
A job re-registration process for re-registering the print job determined in the print job determination process in the storage unit in the order of the print job to be canceled;
Printing device to perform.
請求項1に記載の印刷装置であって、
前記制御部は、
前記印刷ジョブ決定処理において、
前記キャンセル指示が入力された時点で前記記憶部に既に登録されていた印刷ジョブの中から、前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に再登録される印刷ジョブを決定する、
印刷装置。
The printing apparatus according to claim 1,
The controller is
In the print job determination process,
Determining a print job to be re-registered in the storage unit in the order of the print job to be canceled from the print jobs already registered in the storage unit at the time when the cancel instruction is input;
Printing device.
請求項1又は2に記載の印刷装置であって、
前記制御部は、
前記印刷ジョブ実行量決定処理において、
前記キャンセル指示が入力された後に前記受付部に受け付けられた新規印刷ジョブの実行による実行量を、前記新規印刷ジョブから決定し、
更に、
前記新規印刷ジョブが前記キャンセル指示の対象の印刷ジョブと同じ識別情報を有し、かつ、前記印刷ジョブ実行量決定処理で決定された実行量が前記キャンセルジョブ実行量決定処理で決定された実行量以下であるという新規ジョブ条件が満たされる場合、前記新規印刷ジョブを前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に登録し、前記新規ジョブ条件が満たされない場合、前記新規印刷ジョブを最後の順番で前記記憶部に登録する新規ジョブ登録処理、
を実行する印刷装置。
The printing apparatus according to claim 1 or 2,
The controller is
In the print job execution amount determination process,
An execution amount by execution of a new print job received by the receiving unit after the cancel instruction is input is determined from the new print job,
Furthermore,
The new print job has the same identification information as the print job subject to the cancellation instruction, and the execution amount determined in the print job execution amount determination process is the execution amount determined in the cancel job execution amount determination process When the new job condition of the following is satisfied, the new print job is registered in the storage unit in the order of the print job to be canceled, and when the new job condition is not satisfied, the new print job is New job registration processing to be registered in the storage unit in the order of
Printing device to perform.
請求項1〜3のいずれか一項に記載の印刷装置であって、
前記制御部は、
前記キャンセルジョブ実行量決定処理において、
前記キャンセル指示の対象の印刷ジョブの実行による印刷枚数を決定し、
前記印刷ジョブ実行量決定処理において、
前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブの実行による印刷枚数を決定し、
前記印刷ジョブ決定処理において、
前記キャンセル指示の対象の印刷ジョブと同じ識別情報を有し、かつ、印刷枚数が前記キャンセル指示の対象の印刷ジョブの印刷枚数より少ない印刷ジョブを、前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に再登録される印刷ジョブに決定する、
印刷装置。
The printing apparatus according to any one of claims 1 to 3,
The controller is
In the cancel job execution amount determination process,
Determining the number of prints by execution of the print job to be canceled;
In the print job execution amount determination process,
Determining the number of printed sheets by executing a print job registered in an order later than the print job to be canceled;
In the print job determination process,
A print job having the same identification information as that of the cancel instruction target print job and having a smaller number of prints than the cancel instruction target print job is printed in the order of the cancel instruction target print jobs. Determine the print job to be re-registered in the storage unit,
Printing device.
請求項1〜3のいずれか一項に記載の印刷装置であって、
前記制御部は、
前記印刷ジョブ決定処理において、
印刷ジョブの順番に従って、前記キャンセルジョブ実行量決定処理で決定された実行量と前記印刷ジョブ実行量決定処理で決定された実行量とを比較し、最初に前記条件に合致する印刷ジョブを、前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に再登録される印刷ジョブに決定する、
印刷装置。
The printing apparatus according to any one of claims 1 to 3,
The controller is
In the print job determination process,
According to the order of the print jobs, the execution amount determined in the cancel job execution amount determination process is compared with the execution amount determined in the print job execution amount determination process. Determining the print job to be re-registered in the storage unit in the order of the print job to be canceled;
Printing device.
請求項1〜3のいずれか一項に記載の印刷装置であって、
前記制御部は、
前記キャンセルジョブ実行量決定処理において、
前記キャンセル対象の印刷ジョブの実行による複数の実行量を決定し、
前記印刷ジョブ実行量決定処理において、
前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブの実行による複数の実行量を決定し、
前記印刷ジョブ決定処理において、
前記キャンセル指示の対象の印刷ジョブと同じ識別情報を有する全ての印刷ジョブについて、前記印刷ジョブ実行量決定処理で決定された複数の実行量と前記キャンセルジョブ実行量決定処理で決定された複数の実行量とを実行量の種類毎に比較し、少なくとも1つの種類について、前記印刷ジョブ実行量決定処理で決定された実行量が前記キャンセルジョブ実行量決定処理で決定された実行量よりも小さく、かつ、前記印刷ジョブ実行量決定処理で決定された複数の実行量が前記キャンセルジョブ実行量決定処理で決定された複数の実行量と最も近似する印刷ジョブを、前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に再登録される印刷ジョブに決定する、
印刷装置。
The printing apparatus according to any one of claims 1 to 3,
The controller is
In the cancel job execution amount determination process,
A plurality of execution amounts determined by execution of the print job to be canceled;
In the print job execution amount determination process,
Determining a plurality of execution amounts by executing print jobs registered in an order later than the print job to be canceled;
In the print job determination process,
For all print jobs having the same identification information as the print job to be canceled, a plurality of execution amounts determined by the print job execution amount determination process and a plurality of executions determined by the cancel job execution amount determination process The execution amount determined by the print job execution amount determination process is smaller than the execution amount determined by the cancel job execution amount determination process for at least one type, and A print job in which the plurality of execution amounts determined in the print job execution amount determination process is closest to the plurality of execution amounts determined in the cancel job execution amount determination process To determine the print job to be re-registered in the storage unit,
Printing device.
請求項1〜6のいずれか一項に記載の印刷装置であって、
前記制御部は、
前記印刷ジョブ決定処理において、
前記キャンセル指示の対象の印刷ジョブと同じファイル名を有する印刷ジョブは、前記条件に合致していなくても、前記キャンセル指示の対象の印刷ジョブの順番で前記記憶部に再登録される印刷ジョブに決定する、
印刷装置。
It is a printing apparatus as described in any one of Claims 1-6,
The controller is
In the print job determination process,
A print job having the same file name as that of the cancel instruction target print job is a print job that is re-registered in the storage unit in the order of the cancel instruction target print job even if the condition does not match. decide,
Printing device.
印刷ジョブを受け付ける受付部と、
印刷部と、
入力部と、
記憶部と、
制御部と、
を備え、
前記制御部は、
前記受付部に受け付けられた印刷ジョブを受け付けられた順番で前記記憶部に登録するジョブ登録処理と、
前記記憶部に登録された印刷ジョブをその印刷ジョブの順番で前記印刷部を用いて実行する印刷ジョブ実行処理と、
前記記憶部に登録された印刷ジョブの実行を取り消すキャンセル指示が前記入力部に入力された場合、キャンセル対象の印刷ジョブをキャンセルするジョブキャンセル処理と、
前記キャンセル対象の印刷ジョブの実行による実行量を、前記キャンセル対象の印刷ジョブから決定するキャンセルジョブ実行量決定処理と、
前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブの実行による実行量を、前記印刷ジョブから決定する印刷ジョブ実行量決定処理と、
前記キャンセル指示の対象の印刷ジョブよりも後の順番で登録された印刷ジョブのうち、前記キャンセル指示の対象の印刷ジョブと同じ識別情報を有し、かつ、前記印刷ジョブ実行量決定処理で決定された実行量が前記キャンセルジョブ実行量決定処理で決定された実行量以下であるという条件に合致する1つの印刷ジョブを決定する印刷ジョブ決定処理と、
を実行し、
前記印刷ジョブ実行処理において、
前記印刷ジョブ決定処理で決定された印刷ジョブを、前記キャンセル指示の対象の印刷ジョブの順番で実行する、
印刷装置。
A reception unit for receiving print jobs;
A printing section;
An input section;
A storage unit;
A control unit;
With
The controller is
A job registration process for registering print jobs received by the reception unit in the storage unit in the order received;
Print job execution processing for executing print jobs registered in the storage unit in the order of the print jobs using the print unit;
When a cancel instruction for canceling execution of a print job registered in the storage unit is input to the input unit, job cancel processing for canceling a print job to be canceled,
A cancel job execution amount determination process for determining an execution amount by execution of the cancel target print job from the cancel target print job;
A print job execution amount determination process for determining, from the print job, an execution amount by execution of a print job registered in an order later than the print job to be cancelled;
Among the print jobs registered in the order after the print job targeted for the cancel instruction, the print job has the same identification information as the print job targeted for the cancel instruction, and is determined by the print job execution amount determination process. A print job determination process for determining one print job that satisfies the condition that the execution amount is equal to or less than the execution amount determined in the cancel job execution amount determination process;
Run
In the print job execution process,
Executing the print jobs determined in the print job determination process in the order of the print jobs to be canceled;
Printing device.
JP2016072184A 2016-03-31 2016-03-31 Printing equipment Active JP6819065B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016072184A JP6819065B2 (en) 2016-03-31 2016-03-31 Printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016072184A JP6819065B2 (en) 2016-03-31 2016-03-31 Printing equipment

Publications (2)

Publication Number Publication Date
JP2017177722A true JP2017177722A (en) 2017-10-05
JP6819065B2 JP6819065B2 (en) 2021-01-27

Family

ID=60008145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016072184A Active JP6819065B2 (en) 2016-03-31 2016-03-31 Printing equipment

Country Status (1)

Country Link
JP (1) JP6819065B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001203850A (en) * 2000-01-20 2001-07-27 Ricoh Co Ltd Image-forming device
JP2007312225A (en) * 2006-05-19 2007-11-29 Canon Inc Data processing apparatus, and data processing method and data processing program executed by the apparatus
JP2012086460A (en) * 2010-10-20 2012-05-10 Brother Industries Ltd Printer
US20140132976A1 (en) * 2012-11-15 2014-05-15 Xerox Corporation Method and system for managing print jobs
JP2014104636A (en) * 2012-11-27 2014-06-09 Brother Ind Ltd Printing device
CN104898993A (en) * 2014-03-05 2015-09-09 佳能(苏州)系统软件有限公司 Information processing device, image forming device and control device and method for system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001203850A (en) * 2000-01-20 2001-07-27 Ricoh Co Ltd Image-forming device
JP2007312225A (en) * 2006-05-19 2007-11-29 Canon Inc Data processing apparatus, and data processing method and data processing program executed by the apparatus
JP2012086460A (en) * 2010-10-20 2012-05-10 Brother Industries Ltd Printer
US20140132976A1 (en) * 2012-11-15 2014-05-15 Xerox Corporation Method and system for managing print jobs
JP2014104636A (en) * 2012-11-27 2014-06-09 Brother Ind Ltd Printing device
CN104898993A (en) * 2014-03-05 2015-09-09 佳能(苏州)系统软件有限公司 Information processing device, image forming device and control device and method for system

Also Published As

Publication number Publication date
JP6819065B2 (en) 2021-01-27

Similar Documents

Publication Publication Date Title
JP6475939B2 (en) Image forming apparatus, system including the same, and display method of restriction information of image forming apparatus
US8576416B2 (en) Image processing apparatus and control method thereof and storage medium that changes UI setting data to setting for substitutional execution of function by another apparatus
JP2016167764A (en) Image processing apparatus and control method of the same, and program
JP7434403B2 (en) Printing device, printing device control method, and program
JP2016111417A (en) Network system, electronic apparatus, electronic apparatus management method and electronic apparatus management program
US9888004B2 (en) Processing apparatus, authority setting method, and storage medium storing program
US10007472B2 (en) Printing system, and recording medium therefor, that enable spooling of instruction execution type print jobs in print apparatus in accordance with print-regulating information
JP2019119139A (en) Image processing system, method therefor and program
JP6036478B2 (en) Server and program
JP5911458B2 (en) Information processing apparatus and job setting method
JP6819065B2 (en) Printing equipment
JP6191243B2 (en) Image processing apparatus and image processing system
JP4618213B2 (en) Image processing device
JP6485695B2 (en) Job processing device management server program
JP6330434B2 (en) Image forming apparatus
JP6665474B2 (en) Image forming apparatus, image forming method, and program
JP2014104636A (en) Printing device
JP6879261B2 (en) Image forming device
JP5217905B2 (en) Printing device
JP2018160819A (en) Information processing apparatus and program
JP2018043433A (en) Image formation apparatus
JP2017126836A (en) Job execution device, job execution method, and program
JP6468253B2 (en) Image forming apparatus and image forming method
JP2014188774A (en) Image formation device
JP2005260320A (en) Information processing apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191003

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191008

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200709

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201201

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201214

R150 Certificate of patent or registration of utility model

Ref document number: 6819065

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150