JP2016064551A - Information processing equipment, information processing method, and program - Google Patents

Information processing equipment, information processing method, and program Download PDF

Info

Publication number
JP2016064551A
JP2016064551A JP2014194050A JP2014194050A JP2016064551A JP 2016064551 A JP2016064551 A JP 2016064551A JP 2014194050 A JP2014194050 A JP 2014194050A JP 2014194050 A JP2014194050 A JP 2014194050A JP 2016064551 A JP2016064551 A JP 2016064551A
Authority
JP
Japan
Prior art keywords
job
combined
processing
jobs
identification information
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.)
Pending
Application number
JP2014194050A
Other languages
Japanese (ja)
Inventor
諭 鈴木
Satoshi Suzuki
諭 鈴木
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2014194050A priority Critical patent/JP2016064551A/en
Publication of JP2016064551A publication Critical patent/JP2016064551A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To process a plurality of jobs to be bonded in a predetermined bond order by preventing other jobs from being mixed among the plurality of jobs to be bonded.SOLUTION: Bonded jobs are generated by bonding pieces of identification information of a plurality of jobs to be bonded based on a bond order of jobs included in processing conditions set in the jobs in a bond order. Pieces of identification information of non-bonded jobs and the pieces of identification information on the bonded job are registered in a processing standby list. The non-bonded jobs and the bonded jobs are processed in a registration order of the pieces of identification information in the processing standby list. The non-bonded jobs are processed based on processing conditions set in the non-bonded jobs. The plurality of jobs to be bonded are processed based on processing conditions set in the respective jobs in the bond order of the pieces of identification information in the bonded jobs.SELECTED DRAWING: Figure 9

Description

本発明は、結合対象の複数のジョブ、及び、結合対象でない1つのジョブを処理する情報処理装置、情報処理方法、及び、プログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a program for processing a plurality of jobs to be combined and one job that is not to be combined.

ジョブの処理時には、一般に、情報処理装置は、ジョブに設定された処理条件を取得し、処理条件に基づいてジョブを処理する。ジョブの処理条件には、ジョブの種類に対応して様々な条件が設定され、例えば、情報処理装置である印刷装置では、印刷の処理条件(印刷条件という)として、集約印刷、両面印刷、ステープル処理等が設定される。印刷装置は、印刷条件に基づいて印刷のジョブを処理して、印刷を行う。   When processing a job, generally, the information processing apparatus acquires processing conditions set for the job and processes the job based on the processing conditions. Various job processing conditions are set according to the type of job. For example, in a printing apparatus that is an information processing apparatus, print processing conditions (called printing conditions) include aggregate printing, duplex printing, and stapling. Processing etc. are set. The printing apparatus performs printing by processing a print job based on the printing conditions.

印刷のジョブは、文書編集、閲覧、図形編集、画像編集等の様々な用途のアプリケーションにより、プリンタドライバを用いて、ユーザの印刷要求毎に生成される。生成後のジョブは、それぞれ独立した印刷条件が設定されたジョブとして、外部装置(例えば、ホストコンピュータ、パーソナルコンピュータ)から印刷装置に送信される。印刷装置は、受信したジョブを順に処理して、用紙に画像を印刷する。ところが、印刷装置が受信するジョブは互いに独立しているため、まとめて印刷したい複数のジョブを印刷装置に順に送信しても、印刷装置により複数のジョブをまとめて印刷できないことがある。そこで、従来、複数のジョブを結合して処理する印刷装置が知られている(特許文献1、2、3参照)。   A print job is generated for each print request of a user using a printer driver by an application for various purposes such as document editing, browsing, graphic editing, and image editing. The generated job is transmitted from an external device (for example, a host computer or a personal computer) to the printing device as a job in which independent printing conditions are set. The printing apparatus processes the received job in order and prints an image on a sheet. However, since the jobs received by the printing apparatus are independent of each other, even if a plurality of jobs to be printed together are sequentially transmitted to the printing apparatus, the printing apparatus may not be able to print the plurality of jobs at once. Therefore, conventionally, printing apparatuses that combine and process a plurality of jobs are known (see Patent Documents 1, 2, and 3).

しかしながら、特許文献1に記載された印刷装置では、結合のグループに属さないジョブは、グループの全てのジョブが揃って印刷が終了するまで処理されず、処理の効率が低下する虞がある。
特許文献2に記載された印刷装置では、処理条件の設定によっては、結合対象の複数のジョブを結合せず、複数のジョブをまとめて各処理条件で処理できないことがある。また、結合対象の複数のジョブの間に他のジョブが混入して、複数のジョブを所定の結合順序で処理できないこともある。
特許文献3に記載された印刷装置では、結合対象の複数のジョブを所定の結合順序で処理できず、印刷開始条件の設定、又は、ジョブの受信タイミングによっては、結合したい複数のジョブの間に他のジョブが混入する虞がある。
However, in the printing apparatus described in Patent Document 1, jobs that do not belong to a combined group are not processed until all the jobs in the group are aligned and printing is completed, and the processing efficiency may be reduced.
In the printing apparatus described in Patent Literature 2, depending on the setting of processing conditions, a plurality of jobs to be combined may not be combined, and a plurality of jobs may not be processed together under each processing condition. In addition, other jobs may be mixed between a plurality of jobs to be combined, and the plurality of jobs may not be processed in a predetermined combining order.
In the printing apparatus described in Patent Document 3, a plurality of jobs to be combined cannot be processed in a predetermined combining order. Depending on the setting of the print start condition or the reception timing of the jobs, the jobs may be combined between a plurality of jobs to be combined. There is a possibility that other jobs may be mixed.

本発明は、前記従来の問題に鑑みなされたもので、その目的は、結合対象の複数のジョブと他のジョブを各処理条件に基づいて効率よく処理しつつ、結合対象の複数のジョブの間に他のジョブが混入するのを防止して、結合対象の複数のジョブを所定の結合順序で処理することである。   The present invention has been made in view of the above-described conventional problems, and an object of the present invention is to efficiently process a plurality of jobs to be combined with other jobs based on each processing condition, and perform a process between a plurality of jobs to be combined. In other words, a plurality of jobs to be combined are processed in a predetermined combination order.

本発明は、結合対象の複数のジョブ、及び、前記結合対象でない1つのジョブからなる非結合ジョブを処理する情報処理装置であって、処理条件が設定されたジョブを受信する受信手段と、前記処理条件に含まれるジョブの結合順序に基づいて、前記結合対象の複数のジョブの識別情報を前記結合順序で連結して結合ジョブを生成する生成手段と、前記受信手段により受信された前記非結合ジョブの識別情報と前記生成手段により生成された前記結合ジョブの識別情報が登録される処理待機リストを記憶するリスト記憶手段と、前記処理待機リストへの識別情報の登録順に前記非結合ジョブと前記結合ジョブを処理する処理手段と、を備え、前記処理手段は、前記非結合ジョブを当該非結合ジョブに設定された前記処理条件に基づいて処理する非結合ジョブ処理手段と、前記結合ジョブにおける識別情報の連結順に前記結合対象の複数のジョブを各ジョブに設定された前記処理条件に基づいて処理する結合ジョブ処理手段と、を有する情報処理装置である。   The present invention is an information processing apparatus that processes a non-combined job including a plurality of jobs to be combined and a single job that is not to be combined, and a receiving unit that receives a job in which processing conditions are set; Based on the job combination order included in the processing conditions, the generation unit generates a combined job by linking the identification information of the plurality of jobs to be combined in the combination order, and the non-join received by the receiving unit List storage means for storing a processing standby list in which job identification information and identification information of the combined job generated by the generating means are registered, the uncombined job and the order of registration of identification information in the processing standby list Processing means for processing a combined job, wherein the processing means processes the non-joined job based on the processing conditions set for the non-joined job. An information processing apparatus comprising: a non-combined job processing unit; and a combined job processing unit that processes the plurality of jobs to be combined based on the processing conditions set for each job in the connection order of identification information in the combined job. is there.

本発明によれば、結合対象の複数のジョブと他のジョブを各処理条件に基づいて効率よく処理しつつ、結合対象の複数のジョブの間に他のジョブが混入するのを防止して、結合対象の複数のジョブを所定の結合順序で処理することができる。   According to the present invention, while efficiently processing a plurality of jobs to be combined and other jobs based on each processing condition, preventing other jobs from being mixed between the plurality of jobs to be combined, A plurality of jobs to be combined can be processed in a predetermined combining order.

本実施形態の情報処理システムの概略構成図である。It is a schematic block diagram of the information processing system of this embodiment. 本実施形態のホストコンピュータとプリンタの構成を示すブロック図である。FIG. 2 is a block diagram illustrating configurations of a host computer and a printer according to the present embodiment. 本実施形態の印刷待機リストを説明するための図である。It is a figure for demonstrating the printing standby list | wrist of this embodiment. 本実施形態のジョブの処理条件を説明するための図である。It is a figure for demonstrating the processing conditions of the job of this embodiment. 複数のジョブの結合例を示す図である。It is a figure which shows the example of a combination of a some job. 複数のジョブの結合例を示す図である。It is a figure which shows the example of a combination of a some job. 本実施形態の結合ジョブの生成について説明するための図である。It is a figure for demonstrating the production | generation of the combined job of this embodiment. 本実施形態の結合ジョブキューを説明するための図である。It is a figure for demonstrating the combined job queue of this embodiment. 本実施形態のプリンタによるジョブの処理を説明するための図である。FIG. 6 is a diagram for explaining job processing by the printer of the embodiment. 本実施形態のプリンタによるジョブ受信時の処理手順を示すフローチャートである。6 is a flowchart illustrating a processing procedure when a job is received by the printer according to the embodiment. 本実施形態のプリンタによる結合ジョブのIDの登録手順を示すフローチャートである。6 is a flowchart illustrating a registration procedure of IDs of combined jobs by the printer according to the embodiment. 本実施形態のプリンタによるジョブの印刷手順を示すフローチャートである。6 is a flowchart illustrating a job printing procedure by the printer of the present embodiment. 本実施形態のプリンタにおける印刷待機移行条件の例を示す図である。It is a figure which shows the example of the printing standby transfer conditions in the printer of this embodiment.

本発明の情報処理装置、情報処理装置における情報処理方法、及び、プログラムの一実施形態について、図面を参照して説明する。
本実施形態の情報処理装置は、ジョブ処理装置であり、少なくとも1つの外部装置からジョブを受信して処理する。情報処理装置と外部装置は、接続手段により互いに接続されて、情報処理システムを構成する。外部装置は、ジョブ送信装置であり、処理条件が設定されたジョブを情報処理装置に送信する。外部装置における1つの処理要求に対応して、1つのジョブが外部装置により生成される。ジョブは、情報処理装置により処理される1単位の仕事であり、情報処理装置は、1つのジョブを1つのまとまりとして処理する。
An information processing apparatus, an information processing method in the information processing apparatus, and a program according to an embodiment of the present invention will be described with reference to the drawings.
The information processing apparatus according to the present embodiment is a job processing apparatus, and receives and processes a job from at least one external device. The information processing apparatus and the external apparatus are connected to each other by a connecting unit to constitute an information processing system. The external device is a job transmission device, and transmits a job in which processing conditions are set to the information processing device. One job is generated by the external device in response to one processing request in the external device. A job is a unit of work processed by the information processing apparatus, and the information processing apparatus processes one job as one unit.

図1は、本実施形態の情報処理システム1の概略構成図である。
図示のように、情報処理システム1は、印刷処理システムであり、外部装置の一例であるホストコンピュータ2と、情報処理装置の一例であるプリンタ3を備えている。複数のホストコンピュータ2と1つのプリンタ3が接続手段であるネットワーク4を介して接続されて、複数のホストコンピュータ2が1つのプリンタ3を共有して使用する。印刷時には、ホストコンピュータ2は、処理条件が設定されたジョブをプリンタ3に送信する。プリンタ3が受信するジョブは、印刷のジョブ(印刷ジョブ)であり、処理条件として印刷条件が設定される。プリンタ3は、ホストコンピュータ2から受信したジョブを処理条件に基づいて処理し、ジョブに含まれる画像データに基づいて印刷を行う。
FIG. 1 is a schematic configuration diagram of an information processing system 1 according to the present embodiment.
As illustrated, the information processing system 1 is a print processing system, and includes a host computer 2 that is an example of an external device and a printer 3 that is an example of an information processing device. A plurality of host computers 2 and one printer 3 are connected via a network 4 as a connection means, and the plurality of host computers 2 share and use one printer 3. At the time of printing, the host computer 2 transmits a job in which processing conditions are set to the printer 3. The job received by the printer 3 is a print job (print job), and a print condition is set as a processing condition. The printer 3 processes the job received from the host computer 2 based on the processing conditions, and performs printing based on the image data included in the job.

図2は、本実施形態のホストコンピュータ2とプリンタ3の構成を示すブロック図であり、1つのホストコンピュータ2と1つのプリンタ3が接続された図を示している。
図示のように、ホストコンピュータ2は、バス10を介して接続された、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、SATAC14、操作部I/F(interface)15、表示部I/F16、及び、外部I/F17を備えている。また、ホストコンピュータ2は、SATAC14に接続されたHDD(Hard Disk Drive)20と、操作部I/F15に接続されたキーボード・マウス21と、表示部I/F16に接続されたモニタ22を備えている。
FIG. 2 is a block diagram showing the configuration of the host computer 2 and the printer 3 of this embodiment, and shows a diagram in which one host computer 2 and one printer 3 are connected.
As illustrated, the host computer 2 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a SATAC 14, and an operation unit I / F connected via a bus 10. (Interface) 15, a display unit I / F 16, and an external I / F 17. The host computer 2 includes an HDD (Hard Disk Drive) 20 connected to the SATAC 14, a keyboard / mouse 21 connected to the operation unit I / F 15, and a monitor 22 connected to the display unit I / F 16. Yes.

SATAC14は、SATA(serial AT Attachment)規格によるインターフェース仕様のコントローラであり、HDD20の制御に用いられる。操作部I/F15は、ホストコンピュータ2の操作に用いられる操作部であるキーボード・マウス21を制御するためのインターフェースである。表示部I/F16は、ホストコンピュータ2の表示部であるモニタ22を制御するためのインターフェースである。   The SATAC 14 is a controller having an interface specification based on the SATA (serial AT Attachment) standard, and is used for controlling the HDD 20. The operation unit I / F 15 is an interface for controlling a keyboard / mouse 21 which is an operation unit used for operation of the host computer 2. The display unit I / F 16 is an interface for controlling the monitor 22 that is a display unit of the host computer 2.

ホストコンピュータ2は、CPU11により各種のプログラム(オペレーティングシステム、デバイスドライバ、アプリケーション等)を実行することで得られる機能実現手段として、以下説明する複数の手段を備えている。CPU11は、機能実現手段として作動して、ホストコンピュータ2の各部を制御する。CPU11により実行されるプログラムは、ROM12又はHDD20に記憶されている。RAM13は、CPU11による情報処理に必要なデータを一時的に記憶する。また、RAM13とHDD20は、各種のデータを記憶するホストコンピュータ2の記憶手段であり、例えば、CPU11により作成されたデータを記憶する。   The host computer 2 includes a plurality of means described below as function realizing means obtained by executing various programs (operating system, device driver, application, etc.) by the CPU 11. The CPU 11 operates as a function realizing unit and controls each part of the host computer 2. A program executed by the CPU 11 is stored in the ROM 12 or the HDD 20. The RAM 13 temporarily stores data necessary for information processing by the CPU 11. The RAM 13 and the HDD 20 are storage means of the host computer 2 for storing various data, and for example, store data created by the CPU 11.

印刷時には、ユーザの指定に基づいて、文書等の印刷対象を印刷するためのジョブがCPU11により生成される。その際、プリンタドライバが、例えば、印刷データをページ記述言語(PDL:Page Description Language)で記述されたジョブに変換して、プリンタ3が認識可能なジョブを生成する。また、ユーザによる処理設定(ここでは、印刷設定)に対応して、ジョブ情報である処理条件がジョブに設定される。ホストコンピュータ2は、外部I/F17を介して、ジョブをプリンタ3に送信して、印刷をプリンタ3に要求する。外部I/F17は、外部の機器に接続するためのインターフェース(例えば、NIC(Network Interface Card))であり、ネットワーク4に接続されている。ホストコンピュータ2は、外部I/F17によりプリンタ3との接続を確立し、送信手段である外部I/F17により、ジョブをプリンタ3に送信する。   At the time of printing, the CPU 11 generates a job for printing a print target such as a document based on the user's specification. At this time, for example, the printer driver converts the print data into a job described in a page description language (PDL) and generates a job that can be recognized by the printer 3. Also, processing conditions that are job information are set for the job in accordance with the processing setting (here, print setting) by the user. The host computer 2 transmits a job to the printer 3 via the external I / F 17 and requests the printer 3 for printing. The external I / F 17 is an interface (for example, NIC (Network Interface Card)) for connecting to an external device, and is connected to the network 4. The host computer 2 establishes a connection with the printer 3 through the external I / F 17 and transmits a job to the printer 3 through the external I / F 17 serving as a transmission unit.

プリンタ3は、バス30を介して接続された、CPU31、ROM32、RAM33、外部I/F34、SATAC35、印刷部I/F36、画像制御部37、及び、操作部I/F38を備えている。また、プリンタ3は、SATAC35に接続されたHDD23と、印刷部I/F36に接続された印刷部24と、操作部I/F38に接続された操作部25を備えている。SATAC35は、HDD23の制御に用いられる。印刷部24は、印刷により画像を形成する画像形成手段(例えば、電子写真方式の画像形成手段、又は、インクジョット方式の画像形成手段)を有し、画像形成処理により、用紙に画像を印刷する。印刷部I/F36が画像データを印刷部24に送り、印刷部24が画像データに基づいて画像を用紙に印刷する。印刷後に、印刷部24は、印刷終了を印刷部I/F36を介してCPU31に通知して、割り込みを要求する。操作部25は、例えば、タッチパネル、操作ボタン、及び、テンキーを有し、ユーザによるプリンタ3の操作と印刷の設定に使用される。   The printer 3 includes a CPU 31, a ROM 32, a RAM 33, an external I / F 34, a SATAC 35, a printing unit I / F 36, an image control unit 37, and an operation unit I / F 38 connected via a bus 30. The printer 3 includes an HDD 23 connected to the SATAC 35, a printing unit 24 connected to the printing unit I / F 36, and an operation unit 25 connected to the operation unit I / F 38. The SATAC 35 is used for controlling the HDD 23. The printing unit 24 includes an image forming unit (for example, an electrophotographic image forming unit or an ink jet type image forming unit) that forms an image by printing, and prints an image on a sheet by image forming processing. . The printing unit I / F 36 sends the image data to the printing unit 24, and the printing unit 24 prints an image on a sheet based on the image data. After printing, the printing unit 24 notifies the CPU 31 of the end of printing via the printing unit I / F 36 and requests an interrupt. The operation unit 25 includes, for example, a touch panel, operation buttons, and a numeric keypad, and is used for user operation of the printer 3 and print settings.

プリンタ3は、CPU31により各種のプログラム(オペレーティングシステム、デバイスドライバ、アプリケーション等)を実行することで得られる機能実現手段として、以下説明する複数の手段を備えている。CPU31は、機能実現手段として作動して、プリンタ3の各部を制御する。CPU31により実行されるプログラムは、ROM32又はHDD23に記憶されている。RAM33は、CPU31による情報処理に必要なデータを一時的に記憶する。また、RAM33とHDD23は、各種のデータを記憶するプリンタ3の記憶手段であり、例えば、CPU31により作成されたデータを記憶する。   The printer 3 includes a plurality of means described below as function realizing means obtained by executing various programs (operating system, device driver, application, etc.) by the CPU 31. The CPU 31 operates as a function realizing unit and controls each unit of the printer 3. A program executed by the CPU 31 is stored in the ROM 32 or the HDD 23. The RAM 33 temporarily stores data necessary for information processing by the CPU 31. The RAM 33 and the HDD 23 are storage units of the printer 3 that store various types of data. For example, the RAM 33 and the HDD 23 store data created by the CPU 31.

外部I/F34は、ジョブの受信手段であり、ホストコンピュータ2から、処理条件が設定されたジョブを受信する。外部I/F34により受信されたジョブは、プリンタ3の記憶手段(RAM33又はHDD23)に記憶される。ここでは、ジョブ、及び、ジョブに関するデータは、RAM33に記憶される。プリンタ3は、CPU31により、ジョブに設定された処理条件に基づいてジョブを処理し、用紙への印刷設定を行って、画像を用紙に印刷する。その際、CPU31は、ジョブから画像データを生成するとともに処理条件を取得し、これらジョブの所定のデータをRAM33に記憶する。また、画像制御部37は、ジョブの画像データに対して処理又は加工を施し、印刷部24により処理可能な印刷用の画像データを生成する。続いて、画像データが印刷部24に送られて、印刷部24が印刷設定に対応した印刷を行う。   The external I / F 34 is a job receiving unit, and receives a job for which processing conditions are set from the host computer 2. The job received by the external I / F 34 is stored in the storage unit (RAM 33 or HDD 23) of the printer 3. Here, the job and data related to the job are stored in the RAM 33. The printer 3 processes the job based on the processing conditions set for the job by the CPU 31, performs print settings on the paper, and prints the image on the paper. At that time, the CPU 31 generates image data from the job, acquires processing conditions, and stores predetermined data of these jobs in the RAM 33. Further, the image control unit 37 performs processing or processing on the image data of the job, and generates image data for printing that can be processed by the printing unit 24. Subsequently, the image data is sent to the printing unit 24, and the printing unit 24 performs printing corresponding to the print settings.

ジョブの処理時に、プリンタ3は、互いに結合される結合対象の複数のジョブ、及び、結合対象でない1つのジョブからなる非結合ジョブを、各ジョブに設定された処理条件に基づいて処理する。結合対象の複数のジョブは、それぞれが単体で完結する複数のジョブであり、プリンタ3により結合されて、まとめて処理される。非結合ジョブは、単体で完結する1つのジョブであり、プリンタ3により、他のジョブと結合されずに単独で処理される。非結合ジョブは、他のジョブと関連しておらず、複数の非結合ジョブの処理順序(ここでは、印刷順序)は、プリンタ3への送信順序とは限らない。これに対し、結合対象の複数のジョブは、結合ジョブとして、送信元のホストコンピュータ2で指定された順序で処理されて印刷される。   At the time of job processing, the printer 3 processes a plurality of jobs to be combined that are to be combined with each other and a non-combined job including one job that is not to be combined based on the processing conditions set for each job. The plurality of jobs to be combined are a plurality of jobs that are each completed alone, and are combined by the printer 3 and processed together. The uncombined job is a single job that is completed alone, and is processed by the printer 3 independently without being combined with other jobs. The unbound job is not related to other jobs, and the processing order (here, the printing order) of the plurality of unbound jobs is not necessarily the order of transmission to the printer 3. On the other hand, a plurality of jobs to be combined are processed and printed as a combined job in the order specified by the host computer 2 of the transmission source.

ジョブを受信したときに、プリンタ3は、ジョブを識別するために、識別情報付与手段であるCPU31により、ジョブに固有の識別情報を付与して、識別情報をジョブに関連付けて記憶する。また、プリンタ3は、印刷処理を行うジョブの識別情報を登録するリスト構造(印刷待機リストという)と、結合ジョブの識別情報を登録するキュー構造(結合ジョブキューという)を構築して記憶する。ここでは、プリンタ3は、ジョブの識別情報としてID(identification)をジョブに付与し、ジョブのID、印刷待機リスト、及び、結合ジョブキューをRAM33に記憶する。   When receiving the job, the printer 3 assigns identification information unique to the job by the CPU 31 as the identification information assigning means, and stores the identification information in association with the job in order to identify the job. In addition, the printer 3 builds and stores a list structure for registering identification information of a job to be printed (referred to as a print standby list) and a queue structure for registering identification information of a combined job (referred to as a combined job queue). Here, the printer 3 assigns ID (identification) to the job as job identification information, and stores the job ID, the print standby list, and the combined job queue in the RAM 33.

なお、プリンタ3において、メモリであるRAM33は、印刷待機リストを記憶するリスト記憶手段(第1の記憶手段)、及び、結合ジョブキューを記憶するキュー記憶手段(第2の記憶手段)である。これに対し、HDD23をメモリとして各種の記憶手段にし、印刷待機リストと結合ジョブキューをHDD23に記憶してもよい。ジョブの処理時に、ジョブ、及び、ジョブに関するデータをHDD23に記憶してもよい。また、印刷待機リストは、処理待機リストの一例であり、リスト記憶手段であるRAM33は、処理待機リストとして印刷待機リストを記憶する。   In the printer 3, the RAM 33, which is a memory, is a list storage unit (first storage unit) that stores a print standby list and a queue storage unit (second storage unit) that stores a combined job queue. On the other hand, the HDD 23 may be used as a memory for various storage means, and the print standby list and the combined job queue may be stored in the HDD 23. When processing a job, the job and data related to the job may be stored in the HDD 23. The print standby list is an example of a process standby list, and the RAM 33 serving as a list storage unit stores the print standby list as a process standby list.

図3は、本実施形態の印刷待機リスト5を説明するための図である。
図示のように、プリンタ3は、ジョブに関連付けたIDをRAM33に記憶するときに、ジョブのIDを順に連結して、印刷待機リスト5にジョブのIDを登録する。図3に示す例では、最初に受信されたジョブ1のIDが印刷待機リスト5に登録される。また、ジョブ1の次に受信されたジョブ2のIDが、先に登録されたジョブ1のIDの次に連結されて、印刷待機リスト5に登録される。この登録の手順をジョブ1からジョブNまでN回繰り返して、N個のジョブ1〜NのIDが印刷待機リスト5に順に登録される。プリンタ3は、印刷待機リスト5の先頭のジョブ(図3ではジョブ1)から順に処理して印刷する。
FIG. 3 is a diagram for explaining the print standby list 5 of the present embodiment.
As illustrated, when the printer 3 stores the ID associated with the job in the RAM 33, the printer 3 sequentially registers the job ID and registers the job ID in the print standby list 5. In the example shown in FIG. 3, the ID of job 1 received first is registered in the print standby list 5. Further, the ID of job 2 received next to job 1 is linked to the ID of job 1 registered in advance, and is registered in print waiting list 5. This registration procedure is repeated N times from job 1 to job N, and IDs of N jobs 1 to N are sequentially registered in the print standby list 5. The printer 3 processes and prints in order from the first job (job 1 in FIG. 3) in the print standby list 5.

プリンタ3は、ジョブに設定された処理条件に基づいて、結合対象のジョブと非結合ジョブとを判定し、ジョブが非結合ジョブであるときに、非結合ジョブに関連付けたIDを印刷待機リスト5に登録する。また、ジョブが結合対象のジョブであるときには、プリンタ3は、結合ジョブに関連付けたIDを印刷待機リスト5に登録する。なお、図3(及び、後述する図9)では、印刷待機リスト5に登録された非結合ジョブのIDと結合ジョブのIDを、単にジョブのIDと示している。   The printer 3 determines a job to be combined and a non-combined job based on the processing conditions set for the job. When the job is a non-combined job, an ID associated with the non-combined job is displayed in the print waiting list 5. Register with. When the job is a job to be combined, the printer 3 registers the ID associated with the combined job in the print standby list 5. In FIG. 3 (and FIG. 9 to be described later), the ID of the non-combined job and the ID of the combined job registered in the print waiting list 5 are simply indicated as job IDs.

図4は、本実施形態のジョブの処理条件6を説明するための図である。
図示のように、ジョブの処理条件6は、ホストコンピュータ2のプリンタドライバによりジョブ毎に設定され、少なくともジョブの結合情報を含む。ここでは、各ジョブに対して、処理条件6に含まれる結合情報として、結合グループID、グループに含めるジョブの総数、及び、ジョブの結合順序が設定される。結合グループIDは、複数のジョブの結合により形成するグループの識別情報であり、同じ結合グループIDを有する複数のジョブは、結合対象のジョブとしてグループを形成する。グループに含めるジョブの総数は、グループとして結合するジョブの総数であり、自身(当該処理条件6が設定されたジョブ)を含めて、全部でいくつのジョブが同じ結合グループIDを有するのかを示している。
FIG. 4 is a diagram for explaining job processing condition 6 according to the present embodiment.
As illustrated, the job processing condition 6 is set for each job by the printer driver of the host computer 2 and includes at least job combination information. Here, for each job, the combination group ID, the total number of jobs included in the group, and the job combination order are set as the combination information included in the processing condition 6. The combined group ID is group identification information formed by combining a plurality of jobs. A plurality of jobs having the same combined group ID form a group as a job to be combined. The total number of jobs included in the group is the total number of jobs combined as a group, and indicates how many jobs in total including the self (the job for which the processing condition 6 is set) has the same combined group ID. Yes.

ジョブの結合順序は、グループ内における複数のジョブの処理順序であり、ここでは、各ジョブに自身の結合順序が設定される。自身の結合順序は、同じ結合グループIDを有する複数のジョブにおいて、自身が何番目に結合(処理)されるのかを示している。結合順序が最後であるジョブに対しては、結合順序が最後であることを示す情報が結合情報に設定される。ホストコンピュータ2は、結合情報と他の情報を含む処理条件6が設定されたジョブをプリンタ3に送信する。   The job combination order is the processing order of a plurality of jobs in the group. Here, the own combination order is set for each job. The own joining order indicates the order of joining (processing) of a plurality of jobs having the same joining group ID. For a job whose join order is last, information indicating that the join order is last is set in the join information. The host computer 2 transmits to the printer 3 a job in which the processing condition 6 including the combined information and other information is set.

結合対象のジョブの結合情報は、他のジョブと結合して処理する結合対象のジョブであることを示す情報を含み、非結合ジョブであるジョブの結合情報は、非結合ジョブであることを示す情報を含む。このように、ジョブの結合情報は、他のジョブと結合してグループを形成するジョブか否かの情報を含む。プリンタ3は、ジョブの結合情報に基づいて、受信したジョブが結合対象のジョブか否かを判定して、結合対象のジョブと非結合ジョブを特定する。   The combination information of the job to be combined includes information indicating that the job is a combination target to be processed by combining with other jobs, and the combination information of the job that is a non-bonded job indicates that the job is a non-bonded job. Contains information. As described above, the job combination information includes information indicating whether the job is a job that forms a group by combining with other jobs. Based on the job combination information, the printer 3 determines whether or not the received job is a job to be combined, and identifies a job to be combined and a non-bonded job.

図5と図6は、複数のジョブの結合例を示す図であり、複数のジョブを、それぞれ1つのブロックで示している。
図5に示す例では、結合グループIDとグループに含めるジョブの総数が、ジョブ1、2、3で同じ設定(ID:1、総数:3)になる。また、自身の結合順序は、3つのジョブ1、2、3で互いに異なる設定(ジョブ1:0、ジョブ2:1、ジョブ3:2)になる。この結合情報の結合順序に基づいて、3つのジョブ1、2、3のIDが順に連結されて、結合ジョブが生成される。なお、ここでは、結合順序が最初のジョブには結合順序として0を設定し、結合順序に対応して1ずつ加算する。
5 and 6 are diagrams showing examples of combining a plurality of jobs, and each of the plurality of jobs is represented by one block.
In the example shown in FIG. 5, the combined group ID and the total number of jobs included in the group are the same setting (ID: 1, total number: 3) for jobs 1, 2, and 3. Also, the combination order of the three jobs 1, 2, and 3 is different from each other (job 1: 0, job 2: 1, job 3: 2). Based on the combination order of the combination information, the IDs of the three jobs 1, 2, and 3 are sequentially connected to generate a combined job. Here, 0 is set as the join order for the job with the first join order, and one is added in correspondence with the join order.

図6に示す例では、ジョブ4、5、6を2回ずつ処理して、ジョブ4、5、6を2部印刷する。結合グループIDとグループに含めるジョブの総数は、ジョブ4、5、6で同じ設定(ID:2、総数:6)になる。また、自身の結合順序は、奥側から手前側に並ぶ6つのジョブ4、5、6、4、5、6で互いに異なる設定(ジョブ4:0、ジョブ5:1、ジョブ6:2、ジョブ4:3、ジョブ5:4、ジョブ6:5)になる。この結合情報の結合順序に基づいて、6つのジョブ4、5、6、4、5、6のIDが順に連結されて、結合ジョブが生成される。   In the example shown in FIG. 6, jobs 4, 5, and 6 are processed twice, and two copies of jobs 4, 5, and 6 are printed. The combined group ID and the total number of jobs included in the group are the same setting (ID: 2, total number: 6) for jobs 4, 5, and 6. In addition, the combination order of the six jobs 4, 5, 6, 4, 5, 6 arranged from the back side to the near side is different from each other (job 4: 0, job 5: 1, job 6: 2, job 4: 3, job 5: 4, job 6: 5). Based on the combination order of the combination information, the IDs of the six jobs 4, 5, 6, 4, 5, 6 are sequentially connected to generate a combined job.

図7は、本実施形態の結合ジョブの生成について説明するための図である。
図示のように、受信したジョブが結合対象のジョブであるときには、プリンタ3は、結合のグループ毎に、ジョブに関連付けたIDを順に連結してRAM33に記憶する。その際、プリンタ3は、ジョブの結合情報(結合グループID)に基づいて、ジョブが属するグループを特定するとともに、ジョブの結合情報(結合順序)に基づいて、ジョブの処理順序である結合順序を特定する。また、プリンタ3は、グループ毎に、結合対象の複数のジョブのIDを所定の結合順序で連結して、結合ジョブを生成する。
FIG. 7 is a diagram for explaining generation of a combined job according to the present embodiment.
As illustrated, when the received job is a job to be combined, the printer 3 sequentially concatenates IDs associated with the jobs and stores them in the RAM 33 for each group to be combined. At this time, the printer 3 identifies the group to which the job belongs based on the job combination information (combination group ID), and sets the combination order that is the job processing order based on the job combination information (combination order). Identify. Further, the printer 3 generates a combined job by connecting the IDs of a plurality of jobs to be combined in a predetermined combining order for each group.

結合ジョブは、順に連結された複数のジョブのIDからなる複数のジョブの結合順序情報であり、ジョブのIDの連結順序により、複数のジョブの結合順序を示している。プリンタ3は、結合ジョブを識別するため、CPU31により、結合ジョブに固有の識別情報であるIDを付与して、IDを結合ジョブに関連付けて記憶する。また、プリンタ3は、結合ジョブのIDを結合ジョブキューに順に登録する。   The combined job is a combination order information of a plurality of jobs composed of a plurality of job IDs connected in order, and indicates a combination order of the plurality of jobs by the connection order of the job IDs. In order to identify the combined job, the printer 3 assigns an ID, which is identification information unique to the combined job, by the CPU 31 and stores the ID in association with the combined job. Further, the printer 3 sequentially registers the IDs of the combined jobs in the combined job queue.

図8は、本実施形態の結合ジョブキュー7を説明するための図である。
図示のように、結合ジョブのIDが結合ジョブキュー7に積まれて、結合ジョブキュー7に結合ジョブのIDが順に登録される。図8に示す例では、最初に生成された結合ジョブ1のIDが結合ジョブキュー7に登録される。また、結合ジョブ1の次に生成された結合ジョブ2のIDが、先に登録された結合ジョブ1のIDの次に登録される。この登録の手順を結合ジョブ1から結合ジョブNまでN回繰り返して、N個の結合ジョブ1〜NのIDが結合ジョブキュー7に順に登録される。このように、キュー記憶手段であるRAM33は、結合ジョブのIDを記憶する識別情報記憶手段であり、結合ジョブキュー7、及び、結合ジョブキュー7に登録された結合ジョブのIDを記憶する。
FIG. 8 is a diagram for explaining the combined job queue 7 of the present embodiment.
As illustrated, the IDs of the combined jobs are stacked in the combined job queue 7, and the IDs of the combined jobs are sequentially registered in the combined job queue 7. In the example shown in FIG. 8, the ID of the combined job 1 generated first is registered in the combined job queue 7. Further, the ID of the combined job 2 generated after the combined job 1 is registered next to the ID of the combined job 1 registered previously. This registration procedure is repeated N times from the combined job 1 to the combined job N, and the IDs of the N combined jobs 1 to N are sequentially registered in the combined job queue 7. As described above, the RAM 33 serving as the queue storage unit is an identification information storage unit that stores the ID of the combined job, and stores the ID of the combined job queue 7 and the combined job registered in the combined job queue 7.

図9は、本実施形態のプリンタ3によるジョブの処理を説明するための図であり、プリンタ3の各部をブロックで示している。また、図9は、ジョブの処理に用いられる印刷待機リスト5と結合ジョブキュー7も示している。
図示のように、プリンタ3は、CPU31によりアプリケーションを実行することで得られる機能実現手段であるジョブ制御部40及び印刷出力制御部41を備えている。ジョブ制御部40は、図3、図7、及び、図8を参照して説明したジョブの制御を行う各手段である。具体的には、ジョブ制御部40は、ジョブの判定手段であり、ホストコンピュータ2から外部I/F34によりジョブXを受信したときに、ジョブXに設定された処理条件6に含まれるジョブXの結合情報に基づいて、ジョブXが結合対象のジョブか否かを判定する。
FIG. 9 is a diagram for explaining job processing by the printer 3 according to the present embodiment, and shows each part of the printer 3 in blocks. FIG. 9 also shows a print standby list 5 and a combined job queue 7 used for job processing.
As shown in the figure, the printer 3 includes a job control unit 40 and a print output control unit 41 which are function realizing means obtained by executing an application by the CPU 31. The job control unit 40 is a unit that controls the job described with reference to FIGS. 3, 7, and 8. Specifically, the job control unit 40 is a job determination unit. When the job X is received from the host computer 2 by the external I / F 34, the job control unit 40 includes the job X included in the processing condition 6 set in the job X. Based on the combination information, it is determined whether the job X is a job to be combined.

ジョブ制御部40は、非結合ジョブのID登録手段(第1の登録手段)であり、ジョブXが結合対象のジョブでない非結合ジョブであると判定されたときに、非結合ジョブであるジョブXのIDを印刷待機リスト5に登録する。プリンタ3の稼働中に、外部I/F34により受信したジョブが非結合ジョブであると判定される度に、ジョブ制御部40は、外部I/F34による受信順に、非結合ジョブのIDを印刷待機リスト5に登録する。ジョブ制御部40は、結合ジョブの生成手段でもあり、ジョブXが結合対象のジョブであると判定されたときに、ジョブXを含む結合対象の複数のジョブのIDからなる結合ジョブを生成する。その際、ジョブ制御部40は、各ジョブに設定された処理条件6に含まれる結合順序に基づいて、結合対象の複数のジョブのIDをジョブの結合順序で連結して結合ジョブを生成する。   The job control unit 40 is a non-joined job ID registration unit (first registration unit), and when it is determined that the job X is a non-join job that is not a job to be joined, the job X that is a non-join job Are registered in the print standby list 5. Each time it is determined that the job received by the external I / F 34 is a non-binding job while the printer 3 is operating, the job control unit 40 waits for the IDs of the non-binding jobs to be printed in the order received by the external I / F 34. Register in Listing 5. The job control unit 40 is also a combined job generation unit, and generates a combined job including IDs of a plurality of combined jobs including the job X when it is determined that the job X is a combined job. At this time, the job control unit 40 generates a combined job by concatenating the IDs of a plurality of jobs to be combined in the job combination order based on the combination order included in the processing condition 6 set for each job.

ジョブ制御部40は、各ジョブの処理条件6に含まれる結合順序に基づいて、結合対象の各ジョブを結合順序で受信したか否かを判定し、各ジョブを結合順序で受信していないときに、結合対象の複数のジョブのIDを並べ替えて連結する。このように、ジョブ制御部40は、結合対象の各ジョブの受信順序を判定する判定手段と、複数のジョブのIDを並べ替えて連結する連結手段(ソート手段)を有する。外部I/F34により結合対象の複数のジョブを結合順序以外の順序で受信したときに、ジョブ制御部40は、連結手段により、ジョブの結合順序に基づいて、結合対象の複数のジョブのIDをジョブの結合順序に並べ替えて連結する。   The job control unit 40 determines whether or not each job to be combined is received in the combining order based on the combining order included in the processing condition 6 of each job, and each job is not received in the combining order The IDs of a plurality of jobs to be combined are rearranged and connected. As described above, the job control unit 40 includes a determination unit that determines the reception order of jobs to be combined and a connection unit (sort unit) that rearranges and connects the IDs of a plurality of jobs. When the external I / F 34 receives a plurality of jobs to be combined in an order other than the combining order, the job control unit 40 uses the connecting means to determine the IDs of the plurality of jobs to be combined based on the job combining order. Rearrange them in the job combination order and connect them.

ジョブ制御部40により、結合ジョブのIDは、ジョブ制御部40による生成順に結合ジョブキュー7に登録される。プリンタ3の稼働中に、結合ジョブが生成される度に、ジョブ制御部40は、結合ジョブのIDを結合ジョブキュー7に登録する。これにより、識別情報記憶手段であるRAM33は、ジョブ制御部40により生成された結合ジョブのIDを、ジョブ制御部40による生成順に記憶する。ジョブ制御部40は、結合ジョブのID登録手段(第2の登録手段)でもあり、RAM33による結合ジョブのIDの記憶順(結合ジョブのIDの結合ジョブキュー7への登録順)に、結合ジョブのIDを印刷待機リスト5へ登録する。ジョブ制御部40により、結合ジョブのIDは、印刷待機リスト5の最後のジョブのIDに連結されて、印刷待機リスト5の最後に新規に登録される。   The job control unit 40 registers the IDs of the combined jobs in the combined job queue 7 in the order of generation by the job control unit 40. Each time a combined job is generated while the printer 3 is operating, the job control unit 40 registers the ID of the combined job in the combined job queue 7. Thereby, the RAM 33 as the identification information storage means stores the IDs of the combined jobs generated by the job control unit 40 in the order of generation by the job control unit 40. The job control unit 40 is also a combined job ID registration unit (second registration unit), and the combined job ID is stored in the order in which the combined job ID is stored in the RAM 33 (the combined job ID is registered in the combined job queue 7). Is registered in the print standby list 5. By the job control unit 40, the ID of the combined job is linked to the ID of the last job in the print standby list 5 and newly registered at the end of the print standby list 5.

プリンタ3は、所定の印刷待機移行条件をRAM33に記憶する。ジョブ制御部40は、RAM33によるIDの記憶順に、結合ジョブが所定の印刷待機移行条件を満たしたか否かを判定する。その結果、RAM33にIDが記憶された結合ジョブが所定の印刷待機移行条件を満たしたときに、ジョブ制御部40は、結合ジョブのIDを結合ジョブキュー7から外して印刷待機リスト5に登録する。印刷待機移行条件は、結合ジョブのIDを印刷待機リスト5に登録する登録条件の一例であり、結合ジョブのIDを結合ジョブキュー7から印刷待機リスト5に移行させる条件が設定される。ジョブの処理を開始する前に、ユーザが、ホストコンピュータ2の操作部(キーボード・マウス21等)、又は、プリンタ3の操作部25により、プリンタ3に印刷待機移行条件を予め設定する。   The printer 3 stores a predetermined print standby transition condition in the RAM 33. The job control unit 40 determines whether or not the combined job satisfies a predetermined print standby shift condition in the order in which the IDs are stored in the RAM 33. As a result, when the combined job whose ID is stored in the RAM 33 satisfies a predetermined print standby transition condition, the job control unit 40 removes the ID of the combined job from the combined job queue 7 and registers it in the print standby list 5. . The print standby transfer condition is an example of a registration condition for registering a combined job ID in the print standby list 5, and a condition for transferring the combined job ID from the combined job queue 7 to the print standby list 5 is set. Before starting job processing, the user presets a print standby transition condition in the printer 3 by using the operation unit (keyboard / mouse 21 or the like) of the host computer 2 or the operation unit 25 of the printer 3.

ジョブ制御部40により、外部I/F34により受信された非結合ジョブのIDと、ジョブ制御部40により生成された結合ジョブのIDが、印刷待機リスト5に順に登録される。印刷待機リスト5には、印刷の処理まで待機させる未処理の非結合ジョブと結合ジョブのIDが処理順に登録される。印刷出力制御部41は、ジョブの処理手段であり、印刷待機リスト5への登録順(処理順)に、非結合ジョブと結合ジョブを処理する。印刷出力制御部41により、非結合ジョブと結合ジョブが処理順に処理されるとともに、結合ジョブに含まれる結合対象の複数のジョブが結合順序で処理される。その際、印刷出力制御部41は、印刷待機リスト5の先頭を監視し、印刷待機リスト5の先頭に登録されたジョブ(非結合ジョブ又は結合ジョブ)のIDを取得する。   The job control unit 40 sequentially registers the ID of the non-combined job received by the external I / F 34 and the ID of the combined job generated by the job control unit 40 in the print standby list 5. In the print standby list 5, the IDs of unprocessed non-combined jobs and combined jobs that wait until the print processing are registered in the order of processing. The print output control unit 41 is a job processing unit, and processes unbound jobs and combined jobs in the order of registration (processing order) in the print standby list 5. The print output control unit 41 processes the uncombined job and the combined job in the processing order, and processes a plurality of jobs to be combined included in the combined job in the combining order. At this time, the print output control unit 41 monitors the head of the print standby list 5 and acquires the ID of a job (non-combined job or combined job) registered at the head of the print standby list 5.

印刷出力制御部41は、ジョブの処理手段として機能するための複数の手段(特定手段、非結合ジョブ処理手段、結合ジョブ処理手段等)を有する。例えば、印刷出力制御部41は、特定手段により、印刷待機リスト5に登録されたIDに基づいて、処理対象の非結合ジョブと結合ジョブを特定し、RAM33を含むプリンタ3の記憶手段からジョブの処理に必要なデータを取得する。これにより、印刷出力制御部41は、例えば、非結合ジョブ、非結合ジョブに設定された処理条件6、結合ジョブ、結合ジョブにおいてIDが連結された結合対象の複数のジョブ、結合対象の複数のジョブの処理条件6を取得する。処理対象が非結合ジョブであるときには、印刷出力制御部41は、非結合ジョブ処理手段により、非結合ジョブを当該非結合ジョブに設定された処理条件6に基づいて処理する。処理対象が結合ジョブであるときには、印刷出力制御部41は、結合ジョブ処理手段により、結合ジョブにおけるIDの連結順に、結合対象の複数のジョブを、各ジョブに設定された処理条件6に基づいて、それぞれ処理する。   The print output control unit 41 has a plurality of means (specification means, unbound job processing means, combined job processing means, etc.) for functioning as job processing means. For example, the print output control unit 41 specifies unprocessed jobs and combined jobs to be processed on the basis of the ID registered in the print standby list 5 by the specifying unit, and stores the job from the storage unit of the printer 3 including the RAM 33. Get the data required for processing. As a result, the print output control unit 41, for example, the non-combined job, the processing condition 6 set for the non-combined job, the combined job, the combined job to which the IDs are combined in the combined job, and the combined target The job processing condition 6 is acquired. When the processing target is a non-binding job, the print output control unit 41 processes the non-binding job based on the processing condition 6 set for the non-binding job by the non-binding job processing unit. When the processing target is a combined job, the print output control unit 41 causes the combined job processing unit to add a plurality of jobs to be combined in the order of ID combination in the combined job based on the processing condition 6 set for each job. , Respectively.

印刷出力制御部41は、ジョブを処理条件6に基づいて処理して、ジョブにより印刷が要求された画像データの転送の準備を行う。続いて、印刷出力制御部41は、画像データと印刷要求を印刷部I/F36に出力して、印刷部24に画像データの印刷処理を依頼する。印刷部I/F36は、印刷部24から要求されたタイミングで準備済みの画像データを印刷部24に送り、印刷部24は、画像データに基づいて画像を用紙に印刷する。その後、印刷終了が印刷部24から印刷出力制御部41に通知されたときに、印刷出力制御部41は、印刷が終了したジョブに関するデータをRAM33から削除し、印刷が終了したジョブ(非結合ジョブ又は結合ジョブ)のIDを印刷待機リスト5から削除する。   The print output control unit 41 processes the job based on the processing condition 6 and prepares to transfer image data requested to be printed by the job. Subsequently, the print output control unit 41 outputs the image data and the print request to the printing unit I / F 36, and requests the printing unit 24 to perform the image data printing process. The printing unit I / F 36 sends the prepared image data to the printing unit 24 at the timing requested by the printing unit 24, and the printing unit 24 prints an image on a sheet based on the image data. Thereafter, when the print end is notified from the printing unit 24 to the print output control unit 41, the print output control unit 41 deletes the data related to the job for which printing has been completed from the RAM 33, and the job for which printing has been completed (non-joined job Or the combined job ID) is deleted from the print waiting list 5.

次に、プリンタ3による印刷手順とジョブの処理手順について説明する。
図10は、本実施形態のプリンタ3によるジョブ受信時の処理手順を示すフローチャートである。
図示のように、プリンタ3の外部I/F34により、処理条件6が設定されたジョブを受信したときに、プリンタ3のジョブ制御部40は、プリンタ3の記憶手段であるメモリ(ここでは、RAM33)における所定領域の空き容量(未使用容量)を確認する。RAM33の所定領域は、ジョブに関するデータを記憶する領域(ジョブの記憶領域という)であり、ジョブ制御部40は、ジョブの記憶領域の空き容量が所定容量以上か否かを確認する(S101)。所定容量には、受信したジョブに関するデータを記憶可能な容量が設定される。
Next, a printing procedure and job processing procedure by the printer 3 will be described.
FIG. 10 is a flowchart illustrating a processing procedure when a job is received by the printer 3 according to the present embodiment.
As shown in the figure, when a job in which the processing condition 6 is set is received by the external I / F 34 of the printer 3, the job control unit 40 of the printer 3 is a memory (here, a RAM 33) that is a storage unit of the printer 3. ) To check the free capacity (unused capacity) of the predetermined area. The predetermined area of the RAM 33 is an area for storing data relating to the job (referred to as a job storage area), and the job control unit 40 checks whether or not the free capacity of the job storage area is equal to or larger than the predetermined capacity (S101). As the predetermined capacity, a capacity capable of storing data related to the received job is set.

ジョブの記憶領域に所定容量以上の空き容量がないときには(S101、No)、ジョブ制御部40により、受信したジョブが即座に破棄される。また、ジョブ制御部40は、ジョブの送信元のホストコンピュータ2に、破棄したジョブの再送指示を送信して(S102)、ジョブの再送を要求し、処理を終了する。プリンタ3においては、受信したジョブの破棄に並行して、受信済みのジョブの処理が進行しており、ジョブの処理によりジョブの記憶領域の空き容量が増加する。ジョブの記憶領域に所定容量以上の空き容量があるときに(S101、Yes)、ジョブ制御部40は、処理条件6に含まれるジョブの結合情報に基づいて、受信したジョブが結合対象のジョブか否かを判定する(S103)。   When there is no free space equal to or larger than the predetermined capacity in the job storage area (S101, No), the job control unit 40 immediately discards the received job. In addition, the job control unit 40 transmits an instruction to resend the discarded job to the host computer 2 that has transmitted the job (S102), requests retransmission of the job, and ends the processing. In the printer 3, processing of the received job proceeds in parallel with discarding of the received job, and the free space in the job storage area increases due to job processing. When the job storage area has a free space equal to or larger than the predetermined capacity (S101, Yes), the job control unit 40 determines whether the received job is a job to be combined based on the job combination information included in the processing condition 6. It is determined whether or not (S103).

外部I/F34により受信されたジョブが結合対象のジョブでないときに(S103、No)、ジョブ制御部40は、非結合ジョブであるジョブのIDを、RAM33が記憶する印刷待機リスト5(図9参照)の最後に連結する(S104)。これにより、非結合ジョブのIDが印刷待機リスト5に新規に登録されて、処理が終了する。受信したジョブが結合対象のジョブであるときには(S103、Yes)、ジョブを結合する結合ジョブ(図7参照)がプリンタ3のメモリ上にあるか否かを確認する(S105)。その際、ジョブ制御部40は、受信したジョブの結合情報に基づいて、ジョブが属するグループの作成中の結合ジョブがRAM33に記憶されているか否かを判断する。   When the job received by the external I / F 34 is not a job to be combined (S103, No), the job control unit 40 stores the ID of the job that is a non-combined job in the print waiting list 5 (FIG. 9). (See S104). As a result, the ID of the unbound job is newly registered in the print standby list 5, and the process ends. If the received job is a job to be combined (S103, Yes), it is confirmed whether or not a combined job (see FIG. 7) for combining the jobs is in the memory of the printer 3 (S105). At this time, the job control unit 40 determines whether or not a combined job that is creating a group to which the job belongs is stored in the RAM 33 based on the received combined information of the job.

RAM33に結合ジョブが1つも記憶されていない、又は、ジョブが属するグループの作成中の結合ジョブがRAM33に記憶されていないときに(S105、No)、ジョブ制御部40は、結合ジョブを新規に生成してRAM33に記憶する(S106)。また、ジョブ制御部40により、結合ジョブのIDが生成されて(S107)、結合ジョブにIDが付与される。ジョブ制御部40は、結合ジョブに対応するカウンタ(ここでは、カウンタ用の変数をjcnt0と表す)を初期化(jcnt0=0)し(S108)、結合ジョブのIDを結合ジョブキュー7(図9参照)に登録する(S109)。   When no combined job is stored in the RAM 33, or when a combined job for which a group to which the job belongs is not stored in the RAM 33 (S105, No), the job control unit 40 creates a new combined job. It is generated and stored in the RAM 33 (S106). Further, the job control unit 40 generates an ID of the combined job (S107), and assigns an ID to the combined job. The job control unit 40 initializes (jcnt0 = 0) a counter corresponding to the combined job (here, the counter variable is represented as jcnt0) (S108), and sets the ID of the combined job to the combined job queue 7 (FIG. 9). Registration) (S109).

これに対し、ジョブが属するグループの作成中の結合ジョブがRAM33に記憶されているときには(S105、Yes)、ジョブ制御部40は、受信したジョブのIDを結合ジョブに含まれるジョブのIDに結合順序で連結して(S110)、処理を終了する。ジョブを受信する度に、ジョブ制御部40により、以上の処理が繰り返し行われる。これにより、ジョブ制御部40は、結合のグループ毎に、処理条件6に含まれるジョブの結合順序に基づいて、結合対象の複数のジョブのIDを結合順序で連結して、結合ジョブを生成する。   On the other hand, when a combined job that is creating a group to which the job belongs is stored in the RAM 33 (S105, Yes), the job control unit 40 combines the received job ID with the job ID included in the combined job. They are connected in order (S110), and the process is terminated. Each time a job is received, the above processing is repeated by the job control unit 40. Accordingly, the job control unit 40 generates a combined job by combining the IDs of a plurality of jobs to be combined in the combining order based on the combining order of the jobs included in the processing condition 6 for each combination group. .

図11は、本実施形態のプリンタ3による結合ジョブのIDの登録手順を示すフローチャートである。
図示のように、ジョブ受信時の処理(図10参照)と並行して、ジョブ制御部40は、RAM33による記憶順(結合ジョブキュー7への登録順)に、RAM33にIDが記憶された結合ジョブが所定の印刷待機移行条件を満たしたか否かを判定する(S201)。従って、ジョブ制御部40は、判定手段でもあり、所定のタイミング(例えば、所定時間間隔)で(S201、No)、結合ジョブキュー7の先頭のIDを有する結合ジョブが所定の印刷待機移行条件を満たしたか否かを判定する。
FIG. 11 is a flowchart showing the registration procedure of the ID of the combined job by the printer 3 of this embodiment.
As shown in the figure, in parallel with the process at the time of job reception (see FIG. 10), the job control unit 40 combines the IDs stored in the RAM 33 in the storage order by the RAM 33 (the registration order in the combined job queue 7). It is determined whether or not the job satisfies a predetermined print standby transition condition (S201). Therefore, the job control unit 40 is also a determination unit, and at a predetermined timing (for example, a predetermined time interval) (S201, No), the combined job having the head ID of the combined job queue 7 satisfies a predetermined print standby transition condition. It is determined whether it is satisfied.

結合ジョブが所定の印刷待機移行条件を満たしたと判定されたときに(S201、Yes)、ジョブ制御部40は、結合ジョブのIDを、印刷待機リスト5(図9参照)の最後に連結する(S202)。これにより、ジョブ制御部40により生成された結合ジョブのIDが、RAM33が記憶する印刷待機リスト5に新規に登録される。続いて、ジョブ制御部40は、印刷待機リスト5に登録済みの結合ジョブのIDを、RAM33が記憶する結合ジョブキュー7から削除する(S203)。1つの結合ジョブのIDを登録する処理が終了した後、ジョブ制御部40により、次の結合ジョブのIDを登録する処理が行われる。   When it is determined that the combined job satisfies the predetermined print standby transition condition (S201, Yes), the job control unit 40 links the ID of the combined job to the end of the print standby list 5 (see FIG. 9) (see FIG. 9). S202). As a result, the ID of the combined job generated by the job control unit 40 is newly registered in the print standby list 5 stored in the RAM 33. Subsequently, the job control unit 40 deletes the ID of the combined job registered in the print standby list 5 from the combined job queue 7 stored in the RAM 33 (S203). After the process of registering the ID of one combined job is completed, the job control unit 40 performs a process of registering the ID of the next combined job.

上記したように(図10、S106〜S109参照)、結合ジョブのIDは、結合ジョブの新規の生成を開始したときに付与されて、結合ジョブキュー7に登録される。即ち、このプリンタ3では、結合ジョブのIDは、結合ジョブの生成完了前に、結合ジョブキュー7に登録されて、RAM33に記憶される。そのため、印刷待機移行条件の設定によっては、結合ジョブの生成完了前に、ジョブ制御部40により生成された結合ジョブのIDが印刷待機リスト5に登録される。この場合には、結合ジョブの生成完了前に、印刷出力制御部41が結合ジョブの処理を開始することがある。従って、印刷出力制御部41は、結合ジョブの状態を確認しつつ、結合対象の複数のジョブの印刷を制御する。   As described above (see FIG. 10, S106 to S109), the ID of the combined job is given when a new generation of the combined job is started and registered in the combined job queue 7. That is, in this printer 3, the ID of the combined job is registered in the combined job queue 7 and stored in the RAM 33 before the generation of the combined job is completed. For this reason, depending on the setting of the print standby transition condition, the ID of the combined job generated by the job control unit 40 is registered in the print standby list 5 before the generation of the combined job is completed. In this case, the print output control unit 41 may start processing of the combined job before the generation of the combined job is completed. Accordingly, the print output control unit 41 controls printing of a plurality of jobs to be combined while confirming the state of the combined job.

図12は、本実施形態のプリンタ3によるジョブの印刷手順を示すフローチャートである。
図示のように、印刷出力制御部41は、印刷待機リスト5の先頭を監視し、印刷待機リスト5にジョブ(非結合ジョブ又は結合ジョブ)のIDがあるか否かを、所定のタイミング(例えば、所定時間間隔)で確認する(S301、No)。その結果、印刷待機リスト5にジョブのIDが登録されているときには(S301、Yes)、印刷出力制御部41は、印刷待機リスト5の先頭に登録されたジョブのIDを取得する。印刷出力制御部41は、RAM33に記憶された結合ジョブのIDに基づいて、取得したジョブのIDが結合ジョブのIDか否かを判定する(S302)。
FIG. 12 is a flowchart illustrating a job printing procedure by the printer 3 according to the present embodiment.
As shown in the figure, the print output control unit 41 monitors the head of the print standby list 5 and determines whether or not there is a job (non-combined job or combined job) ID in the print standby list 5 at a predetermined timing (for example, , At predetermined time intervals) (S301, No). As a result, when the job ID is registered in the print standby list 5 (S301, Yes), the print output control unit 41 acquires the ID of the job registered at the top of the print standby list 5. The print output control unit 41 determines whether the acquired job ID is a combined job ID based on the combined job ID stored in the RAM 33 (S302).

取得したジョブのIDが結合ジョブのIDでないときには(S302、No)、印刷出力制御部41は、処理対象の非結合ジョブを取得し、非結合ジョブを当該非結合ジョブに設定された処理条件6に基づいて処理する。具体的には、印刷出力制御部41は、取得したジョブのIDに関連付いたジョブの画像データの転送の準備を行い(S303)、転送準備が終了したときに、印刷部I/F36を介して、印刷部24に印刷処理を依頼する(S304)。   When the acquired job ID is not a combined job ID (S302, No), the print output control unit 41 acquires a non-combined job to be processed, and processing condition 6 in which the non-combined job is set as the non-combined job. Process based on. Specifically, the print output control unit 41 prepares to transfer the image data of the job associated with the acquired job ID (S303). When the transfer preparation is completed, the print output control unit 41 passes the print unit I / F 36. The printing unit 24 is requested to perform printing processing (S304).

続いて、印刷出力制御部41は、印刷部24から印刷終了が通知されるまで待機し(S305、No)、印刷を終了した印刷部24から印刷終了が通知されたときに(S305、Yes)、印刷が終了した画像データをRAM33から削除する(S306)。また、印刷出力制御部41は、印刷が終了したジョブに関するデータをRAM33から削除するとともに、印刷が終了したジョブのID(印刷待機リスト5の先頭のジョブのID)を印刷待機リスト5から削除する(S307)。これにより、非結合ジョブの処理が終了する。   Subsequently, the print output control unit 41 waits until the print end is notified from the print unit 24 (S305, No), and when the print end is notified from the print unit 24 that has finished printing (S305, Yes). The image data that has been printed is deleted from the RAM 33 (S306). In addition, the print output control unit 41 deletes data related to the job for which printing has been completed from the RAM 33 and deletes the ID of the job for which printing has been completed (the ID of the first job in the print standby list 5) from the print standby list 5. (S307). As a result, the processing of the unbound job ends.

取得したジョブのIDが結合ジョブのIDであるときには(S302、Yes)、印刷出力制御部41は、処理対象の結合ジョブを取得し、結合ジョブにおけるIDの連結順に、結合対象の複数のジョブを各ジョブに設定された処理条件6に基づいて処理する。具体的には、印刷出力制御部41は、RAM33に記憶された結合ジョブ(図7参照)に基づいて、IDに関連付いた結合ジョブに結合対象のジョブのIDがあるか否かを確認する(S308)。結合ジョブにジョブのIDがないときには(S308、No)、S301に戻る。プリンタ3においては、印刷出力制御部41による処理に並行して、結合ジョブの生成処理(図10参照)が進行している。そのため、結合ジョブにジョブのIDがないときでも、その後の結合対象のジョブの受信により、ジョブのIDが結合順序で連結されて、ジョブ制御部40により結合ジョブが次第に生成される。   When the acquired job ID is the ID of the combined job (S302, Yes), the print output control unit 41 acquires the combined job to be processed, and selects a plurality of jobs to be combined in the order of ID combination in the combined job. Processing is performed based on processing condition 6 set for each job. Specifically, the print output control unit 41 confirms whether or not there is an ID of the job to be combined in the combined job associated with the ID based on the combined job (see FIG. 7) stored in the RAM 33. (S308). When there is no job ID in the combined job (S308, No), the process returns to S301. In the printer 3, a combined job generation process (see FIG. 10) is in progress in parallel with the process by the print output control unit 41. Therefore, even when there is no job ID in the combined job, the job IDs are connected in the combining order by the subsequent reception of the job to be combined, and the combined job is gradually generated by the job control unit 40.

結合ジョブにジョブのIDがあるときには(S308、Yes)、印刷出力制御部41は、そのIDを有するジョブを取得し、ジョブの処理条件6に含まれる結合順序に基づいて、結合ジョブにおける処理対象のジョブの処理の順番が正しいか否かを判定する(S309)。具体的には、印刷出力制御部41は、上記したカウンタ(jcnt0)により結合対象のジョブの処理回数をカウントしており、ジョブの結合順序とカウンタの値を比較する。ジョブの結合順序とカウンタの値が一致したときに、印刷出力制御部41により、結合ジョブにおいてジョブのIDが結合順序で連結されており、処理対象のジョブの処理の順番が正しい、と判定される。これに対し、ジョブの結合順序とカウンタの値が一致していないときには、結合ジョブが生成途中であり、正しい結合順序のジョブがまだ受信されていないことを示す。そのため、印刷出力制御部41により、結合ジョブにおいてジョブのIDが結合順序で連結されておらず、処理対象のジョブの処理の順番が正しくない、と判定される。   When the combined job has a job ID (S308, Yes), the print output control unit 41 acquires the job having the ID, and processes the combined job based on the combination order included in the job processing condition 6. It is determined whether or not the job processing order is correct (S309). Specifically, the print output control unit 41 counts the number of processing of jobs to be combined using the counter (jcnt0) described above, and compares the job combination order with the counter value. When the job combination order matches the counter value, the print output control unit 41 determines that the job IDs in the combined job are linked in the combination order, and the processing order of the processing target job is correct. The On the other hand, when the job combination order does not match the counter value, it indicates that a combined job is being generated and a job having the correct combination order has not yet been received. Therefore, the print output control unit 41 determines that the job IDs in the combined job are not linked in the combining order, and the processing order of the processing target job is not correct.

ジョブの処理の順番が正しくないと判定されたときには(S309、No)、S301に戻り、ジョブの順番の判定を繰り返す。その間に、上記したように、結合対象のジョブの受信により、ジョブのIDが結合順序で連結されて、ジョブ制御部40により結合ジョブが次第に生成される。また、結合ジョブにおいてジョブのIDが結合順序で正しく連結されたときに、処理対象のジョブの処理の順番が正しいと判定される。このように、印刷出力制御部41は、処理条件に含まれるジョブの結合順序と結合対象のジョブの処理回数(カウンタの値)に基づいて、ジョブ制御部40により結合対象の各ジョブのIDが結合順序で連結されているか否かを判定する。   If it is determined that the job processing order is not correct (No in S309), the process returns to S301, and the determination of the job order is repeated. In the meantime, as described above, when the job to be combined is received, the job IDs are connected in the combining order, and the combined job is gradually generated by the job control unit 40. Further, when the job IDs are correctly linked in the combination order in the combined job, it is determined that the processing order of the processing target job is correct. In this way, the print output control unit 41 determines that the ID of each job to be combined by the job control unit 40 is based on the job combination order included in the processing conditions and the number of times the job to be combined (counter value). It is determined whether or not they are connected in the joining order.

この印刷出力制御部41が有する判定手段による判定結果に基づいて、印刷出力制御部41は、ジョブ制御部40により結合対象の各ジョブのIDが結合順序で連結されたときに、結合対象の各ジョブを処理する。即ち、結合対象の各ジョブのIDが結合順序で連結されていないときには、印刷出力制御部41は、結合対象の各ジョブのIDが結合順序で連結されるまで待ち、各ジョブを結合順序通りに処理する。また、結合対象の複数のジョブを最後まで受信できていないときでも、印刷出力制御部41は、結合対象の各ジョブのIDが結合順序で連結されるまで待ち、全てのジョブを結合順序通りに処理する。   Based on the determination result by the determination unit included in the print output control unit 41, the print output control unit 41 determines that each job to be combined when the job control unit 40 connects the IDs of the jobs to be combined in the combination order. Process the job. That is, when the IDs of the jobs to be combined are not connected in the combining order, the print output control unit 41 waits until the IDs of the jobs to be combined are connected in the combining order, and the jobs are processed in the combining order. Process. Even when a plurality of jobs to be combined cannot be received to the end, the print output control unit 41 waits until the IDs of the jobs to be combined are connected in the combining order, and all the jobs are processed in the combining order. Process.

なお、結合対象の各ジョブのIDが結合順序で連結されているときには、印刷出力制御部41は、結合対象の全てのジョブのIDが結合順序で連結されるまで待つことなく、各ジョブを処理する。また、複数のジョブを結合順序以外の順序で受信したときでも、ジョブ制御部40により、複数のジョブのIDがジョブの結合順序に並べ替えて連結され、印刷出力制御部41により、複数のジョブが結合順序で処理される。   When the IDs of the jobs to be combined are linked in the combining order, the print output control unit 41 processes each job without waiting until the IDs of all the jobs to be combined are linked in the combining order. To do. Even when a plurality of jobs are received in an order other than the combination order, the job control unit 40 rearranges and concatenates the IDs of the plurality of jobs in the job combination order, and the print output control unit 41 sets the plurality of jobs. Are processed in join order.

結合ジョブにジョブのIDがあり、かつ、処理対象のジョブの処理の順番が正しいと判定されたときに(S309、Yes)、印刷出力制御部41は、ジョブのIDに関連付いたジョブの画像データの転送の準備を行う(S310)。転送準備が終了したときに、印刷出力制御部41は、印刷部I/F36を介して、印刷部24に印刷処理を依頼し(S311)、印刷部24から印刷終了が通知されるまで待機する(S312、No)。印刷を終了した印刷部24から印刷終了が通知されたときに(S312、Yes)、印刷出力制御部41は、印刷が終了した画像データをRAM33から削除するとともに(S313)、印刷が終了したジョブに関するデータをRAM33から削除する。また、印刷出力制御部41は、処理中の結合ジョブに関連付いたカウンタに1だけ加算して、カウンタを1インクリメント(jcnt0+1)し(S314)、結合対象のジョブの処理回数をカウントする。   When it is determined that the combined job has a job ID and the processing order of the processing target job is correct (S309, Yes), the print output control unit 41 displays the job image associated with the job ID. Preparation for data transfer is performed (S310). When transfer preparation is completed, the print output control unit 41 requests the print unit 24 to perform print processing via the print unit I / F 36 (S311), and waits until the print unit 24 notifies the end of printing. (S312, No). When the printing end is notified from the printing unit 24 that has finished printing (S312; Yes), the print output control unit 41 deletes the image data that has been printed from the RAM 33 (S313), and the job that has finished printing. The data regarding is deleted from the RAM 33. Further, the print output control unit 41 adds 1 to the counter associated with the combined job being processed, increments the counter by 1 (jcnt0 + 1) (S314), and counts the number of times the job to be combined is processed.

印刷出力制御部41は、印刷が終了したジョブのID(先頭に連結されたジョブのID)を、結合ジョブにおいて連結されたジョブのIDから削除し(S315)、そのジョブが結合ジョブの最後のジョブか否かを判定する(S316)。その際、印刷出力制御部41は、ジョブの結合情報に基づいて、印刷が終了したジョブが結合ジョブにおいて結合順序が最後のジョブか否かを判定する。印刷が終了したジョブが最後のジョブでないときには(S316、No)、そのジョブに対する処理を終了して、同じ結合ジョブにおいて上記した処理を繰り返す。これに対し、印刷が終了したジョブが最後のジョブであるときには(S316、Yes)、印刷出力制御部41は、処理が終了した結合ジョブのIDを印刷待機リスト5から削除する(S317)。印刷出力制御部41は、以上の処理を繰り返して、印刷待機リスト5へのIDの登録順に、非結合ジョブと結合ジョブを処理する。   The print output control unit 41 deletes the ID of the job for which printing has ended (the ID of the job linked at the head) from the ID of the job linked in the combined job (S315), and the job is the last of the combined jobs. It is determined whether or not it is a job (S316). At this time, based on the job combination information, the print output control unit 41 determines whether or not the job whose printing has ended is the last job in the combination job. When the job that has been printed is not the last job (S316, No), the processing for that job is terminated, and the above-described processing is repeated for the same combined job. On the other hand, when the job whose printing has been completed is the last job (S316, Yes), the print output control unit 41 deletes the ID of the combined job whose processing has been completed from the print standby list 5 (S317). The print output control unit 41 repeats the above processing to process the non-combined job and the combined job in the order in which IDs are registered in the print standby list 5.

印刷出力制御部41によるジョブの処理時には、印刷待機移行条件の設定により、印刷待機リスト5に結合ジョブのIDが登録されるタイミングが変更されて、印刷出力制御部41によるジョブの処理状態が変更される。
図13は、本実施形態のプリンタ3における印刷待機移行条件の例を示す図である。
図示のように、ここでは、ユーザは、印刷待機移行条件として、経過時間、又は、結合完了を予め設定する。ジョブ制御部40は、印刷待機移行条件を取得して、結合ジョブが所定の印刷待機移行条件を満たしたか否かを判定する(図11、S201参照)。
When a job is processed by the print output control unit 41, the timing at which the ID of the combined job is registered in the print standby list 5 is changed according to the setting of the print standby transition condition, and the job processing state by the print output control unit 41 is changed. Is done.
FIG. 13 is a diagram illustrating an example of a print standby transition condition in the printer 3 of the present embodiment.
As shown in the figure, here, the user presets the elapsed time or the completion of combination as the print standby transition condition. The job control unit 40 acquires the print standby transition condition and determines whether the combined job satisfies a predetermined print standby transition condition (see S201 in FIG. 11).

印刷待機移行条件に経過時間を設定したときには、結合ジョブ毎に、最初に結合対象のジョブを受信してから所定時間が経過したか否かが判定され、所定時間が経過したときに、ジョブ制御部40により、結合ジョブのIDが印刷待機リスト5に登録される。これに伴い、結合対象の全てのジョブが受信されていなくても、結合ジョブのIDが印刷待機リスト5に登録されて、結合ジョブが優先して処理される。結合ジョブの処理中に結合対象のジョブを受信するときには、受信したジョブは随時処理される。そのため、ジョブをプリンタ3のメモリ(ここでは、RAM33)にため込むのが抑制され、プリンタ3が省メモリ状態で稼働する。また、メモリの使用容量が少なくなり、プリンタ3のメモリの容量を削減することができる。   When the elapsed time is set in the print standby transition condition, for each combined job, it is determined whether or not a predetermined time has elapsed since the first job to be combined was received. The unit 40 registers the ID of the combined job in the print standby list 5. Accordingly, even if not all jobs to be combined have been received, the ID of the combined job is registered in the print standby list 5 and the combined job is processed with priority. When a job to be combined is received during processing of the combined job, the received job is processed at any time. Therefore, accumulation of jobs in the memory of the printer 3 (here, the RAM 33) is suppressed, and the printer 3 operates in a memory-saving state. Further, the memory usage capacity is reduced, and the memory capacity of the printer 3 can be reduced.

印刷待機移行条件に結合完了を設定したときには、結合ジョブ毎に、ジョブの結合情報(結合するジョブの総数)に基づいて、結合対象の全てのジョブのIDが連結されたか否かが判定される。また、IDの連結により結合ジョブの生成が完了したときに、ジョブ制御部40により、結合ジョブのIDが印刷待機リスト5に登録される。これに伴い、非結合ジョブが、優先的に印刷待機リスト5に登録されて処理される。結合ジョブの処理は結合ジョブの生成完了まで開始せず、結合ジョブの処理開始後に、結合対象の複数のジョブは連続して処理される。   When combination completion is set as the print standby transition condition, it is determined for each combined job whether or not the IDs of all jobs to be combined are connected based on job combination information (total number of jobs to be combined). . Further, when the generation of the combined job is completed due to the ID concatenation, the ID of the combined job is registered in the print standby list 5 by the job control unit 40. Along with this, the unbound job is preferentially registered in the print standby list 5 and processed. The combined job processing does not start until the combined job generation is completed, and after the combined job processing starts, a plurality of jobs to be combined are processed in succession.

このように、プリンタ3は、所定の印刷待機移行条件を変更して、印刷出力制御部41によるジョブの処理状態(ジョブの処理モード)を切り替える切替手段を備えている。切替手段により、ジョブの処理状態が、非結合ジョブを優先して処理する状態(非結合ジョブの優先処理モード)と、結合ジョブを優先して処理する状態(結合ジョブの優先処理モード)とに切り替えられる。例えば、プリンタ3のメモリの容量に対応して、ジョブの処理状態が切り替えられる。   As described above, the printer 3 includes a switching unit that changes a predetermined print standby transition condition and switches a job processing state (job processing mode) by the print output control unit 41. By the switching means, the job processing status is divided into a state in which non-joined jobs are processed with priority (priority processing mode for non-joined jobs) and a state in which combined jobs are preferentially processed (priority processing mode for combined jobs). Can be switched. For example, the job processing state is switched according to the memory capacity of the printer 3.

これに対し、プリンタ3の記憶手段であるメモリの空き容量に対応して、自動で、切替手段によりジョブの処理状態を切り替えるようにしてもよい。この場合には、非結合ジョブを優先して処理する状態で、プリンタ3のメモリの空き容量が所定容量よりも少なくなったときに、ジョブの処理状態を、切替手段により、結合ジョブを優先して処理する状態に切り替える。これに伴い、結合対象の全てのジョブを受信する前でも、結合ジョブのIDが印刷待機リスト5に登録され、結合ジョブが優先して処理される。その結果、メモリの空き容量が所定容量よりも少なくなり、例えば、メモリの容量がひっ迫、又は、枯渇するのが抑制され、ジョブの処理が継続される。   On the other hand, the job processing state may be automatically switched by the switching unit in accordance with the free space of the memory serving as the storage unit of the printer 3. In this case, when the free capacity of the memory of the printer 3 is less than the predetermined capacity in the state where the non-combined job is preferentially processed, the job processing state is prioritized by the switching means by the switching unit. Switch to the processing state. Accordingly, even before all jobs to be combined are received, the ID of the combined job is registered in the print standby list 5, and the combined job is processed with priority. As a result, the free capacity of the memory becomes smaller than the predetermined capacity, and for example, it is suppressed that the memory capacity is tight or exhausted, and the job processing is continued.

以上説明したプリンタ3、及び、プリンタ3における情報処理方法によれば、結合対象の複数のジョブと他のジョブ(非結合ジョブ)を各処理条件に基づいて効率よく処理することができる。また、結合対象の複数のジョブの間に他のジョブが混入するのを防止して、結合対象の複数のジョブを所定の結合順序で処理することができる。プリンタ3により印刷する際には、複数のジョブの各印刷条件を変えることなく所定の順序で印刷できるとともに、必要な部数を印刷することができる。複数のジョブの印刷中に、他のジョブの印刷の割り込みを防止することもでき、所望の印刷結果を得ることができる。   According to the printer 3 and the information processing method in the printer 3 described above, a plurality of jobs to be combined and other jobs (non-bonded jobs) can be efficiently processed based on each processing condition. Further, it is possible to prevent other jobs from being mixed between the plurality of jobs to be combined, and to process the plurality of jobs to be combined in a predetermined combining order. When printing by the printer 3, printing can be performed in a predetermined order without changing each printing condition of a plurality of jobs, and a necessary number of copies can be printed. During printing of a plurality of jobs, interruption of printing of other jobs can be prevented, and a desired printing result can be obtained.

なお、本発明は、以上説明した情報処理方法の各工程を、情報処理装置であるプリンタ3のコンピュータに実行させるためのプログラムとして実現することができる。また、本発明は、プリンタ3のコンピュータを、以上説明したプリンタ3の各手段として機能させるためのプログラムとして実現することもできる。ただし、プリンタ3は、情報処理装置の一例である。情報処理装置は、情報としてジョブを処理する各種の装置であり、例えば、パーソナルコンピュータ、サーバ、画像処理装置、画像形成装置、通信装置、通信端末であってもよい。即ち、情報処理装置は、印刷以外のジョブを処理する装置であってもよい。同様に、ホストコンピュータ2(図1参照)も、外部装置の一例である。外部装置は、ジョブを情報処理装置に送信する各種の装置であり、例えば、パーソナルコンピュータ、サーバ、画像処理装置、画像形成装置、通信装置、通信端末であってもよい。   The present invention can be realized as a program for causing the computer of the printer 3 that is an information processing apparatus to execute each step of the information processing method described above. The present invention can also be realized as a program for causing the computer of the printer 3 to function as each unit of the printer 3 described above. However, the printer 3 is an example of an information processing apparatus. The information processing apparatus is various apparatuses that process jobs as information, and may be, for example, a personal computer, a server, an image processing apparatus, an image forming apparatus, a communication apparatus, or a communication terminal. In other words, the information processing apparatus may be an apparatus that processes jobs other than printing. Similarly, the host computer 2 (see FIG. 1) is an example of an external device. The external device is various devices that transmit a job to the information processing device, and may be, for example, a personal computer, a server, an image processing device, an image forming device, a communication device, or a communication terminal.

1・・・情報処理システム、2・・・ホストコンピュータ、3・・・プリンタ、4・・・ネットワーク、5・・・印刷待機リスト、6・・・処理条件、7・・・結合ジョブキュー、10・・・バス、11・・・CPU、12・・・ROM、13・・・RAM、14・・・SATAC、15・・・操作部I/F、16・・・表示部I/F、17・・・外部I/F、20・・・HDD、21・・・キーボード・マウス、22・・・モニタ、23・・・HDD、24・・・印刷部、25・・・操作部、30・・・バス、31・・・CPU、32・・・ROM、33・・・RAM、34・・・外部I/F、35・・・SATAC、36・・・印刷部I/F、37・・・画像制御部、38・・・操作部I/F、40・・・ジョブ制御部、41・・・印刷出力制御部。   DESCRIPTION OF SYMBOLS 1 ... Information processing system, 2 ... Host computer, 3 ... Printer, 4 ... Network, 5 ... Print waiting list, 6 ... Processing condition, 7 ... Combined job queue, DESCRIPTION OF SYMBOLS 10 ... Bus, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... SATAC, 15 ... Operation part I / F, 16 ... Display part I / F, 17 ... External I / F, 20 ... HDD, 21 ... Keyboard / mouse, 22 ... Monitor, 23 ... HDD, 24 ... Printing unit, 25 ... Operation unit, 30 ... Bus, 31 ... CPU, 32 ... ROM, 33 ... RAM, 34 ... External I / F, 35 ... SATAC, 36 ... Printer I / F, 37 ..Image control unit 38 ... Operation unit I / F 40 ... Job control unit 41 ... Print Power control unit.

特開2006−192804号公報JP 2006-192804 A 特開2011−108260号公報JP 2011-108260 A 特開2013−233667号公報JP2013-233667A

Claims (10)

結合対象の複数のジョブ、及び、前記結合対象でない1つのジョブからなる非結合ジョブを処理する情報処理装置であって、
処理条件が設定されたジョブを受信する受信手段と、
前記処理条件に含まれるジョブの結合順序に基づいて、前記結合対象の複数のジョブの識別情報を前記結合順序で連結して結合ジョブを生成する生成手段と、
前記受信手段により受信された前記非結合ジョブの識別情報と前記生成手段により生成された前記結合ジョブの識別情報が登録される処理待機リストを記憶するリスト記憶手段と、
前記処理待機リストへの識別情報の登録順に前記非結合ジョブと前記結合ジョブを処理する処理手段と、を備え、
前記処理手段は、前記非結合ジョブを当該非結合ジョブに設定された前記処理条件に基づいて処理する非結合ジョブ処理手段と、前記結合ジョブにおける識別情報の連結順に前記結合対象の複数のジョブを各ジョブに設定された前記処理条件に基づいて処理する結合ジョブ処理手段と、を有する情報処理装置。
An information processing apparatus that processes a plurality of jobs to be combined and a non-bonded job composed of one job that is not to be combined,
Receiving means for receiving a job for which processing conditions are set;
Based on the job combination order included in the processing conditions, generating means for generating a combined job by connecting identification information of the plurality of jobs to be combined in the combination order;
List storage means for storing a processing standby list in which the identification information of the non-combined job received by the receiving means and the identification information of the combined job generated by the generating means are registered;
Processing means for processing the non-combined job and the combined job in the order of registration of the identification information in the processing standby list,
The processing means includes a non-join job processing means for processing the non-join job based on the processing conditions set for the non-join job, and a plurality of jobs to be joined in the order in which the identification information in the join job is connected. A combined job processing unit configured to perform processing based on the processing condition set for each job.
請求項1に記載された情報処理装置において、
前記生成手段による生成順に前記結合ジョブの識別情報を記憶する識別情報記憶手段と、
前記受信手段による受信順に前記非結合ジョブの識別情報を前記処理待機リストに登録する第1の登録手段と、
前記識別情報記憶手段による記憶順に前記結合ジョブの識別情報を前記処理待機リストに登録する第2の登録手段と、
を備えた情報処理装置。
The information processing apparatus according to claim 1,
Identification information storage means for storing identification information of the combined job in the order of generation by the generation means;
First registration means for registering identification information of the unbound job in the processing standby list in the order received by the receiving means;
Second registration means for registering the identification information of the combined job in the processing standby list in the order of storage by the identification information storage means;
An information processing apparatus comprising:
請求項2に記載された情報処理装置において、
前記識別情報記憶手段は、前記生成手段による生成順に前記結合ジョブの識別情報が登録される結合ジョブキューを記憶する情報処理装置。
The information processing apparatus according to claim 2,
The information processing apparatus, wherein the identification information storage unit stores a combined job queue in which identification information of the combined job is registered in the order of generation by the generating unit.
請求項1ないし3のいずれかに記載された情報処理装置において、
前記生成手段は、前記受信手段により前記結合対象の複数のジョブを前記結合順序以外の順序で受信したときに、前記結合順序に基づいて、前記結合対象の複数のジョブの識別情報を前記結合順序に並べ替えて連結する手段を有する情報処理装置。
The information processing apparatus according to any one of claims 1 to 3,
The generating unit receives identification information of the plurality of jobs to be combined based on the combination order when the receiving unit receives the plurality of jobs to be combined in an order other than the combination order. An information processing apparatus having means for rearranging and connecting.
請求項1ないし4のいずれかに記載された情報処理装置において、
前記結合ジョブ処理手段は、前記生成手段により前記結合対象の各ジョブの識別情報が前記結合順序で連結されているか否かを判定する判定手段を有する情報処理装置。
The information processing apparatus according to any one of claims 1 to 4,
The information processing apparatus, wherein the combined job processing unit includes a determining unit that determines whether or not the identification information of each job to be combined is linked in the combining order by the generating unit.
請求項5に記載された情報処理装置において、
前記結合ジョブ処理手段は、前記判定手段による判定結果に基づいて、前記生成手段により前記結合対象の各ジョブの識別情報が前記結合順序で連結されたときに前記結合対象の各ジョブを処理する情報処理装置。
The information processing apparatus according to claim 5,
The combination job processing unit is configured to process each job to be combined when identification information of each job to be combined is connected in the combination order by the generation unit based on a determination result by the determination unit. Processing equipment.
請求項2又は3に記載された情報処理装置において、
前記第2の登録手段は、前記識別情報記憶手段に識別情報が記憶された前記結合ジョブが所定の登録条件を満たしたときに、前記結合ジョブの識別情報を前記処理待機リストに登録する情報処理装置。
In the information processing device according to claim 2 or 3,
The second registration unit is configured to perform information processing for registering the identification information of the combined job in the processing standby list when the combined job in which the identification information is stored in the identification information storage unit satisfies a predetermined registration condition. apparatus.
請求項7に記載された情報処理装置において、
前記所定の登録条件を変更して、前記処理手段によるジョブの処理状態を、前記非結合ジョブを優先して処理する状態と前記結合ジョブを優先して処理する状態とに切り替える切替手段を備えた情報処理装置。
The information processing apparatus according to claim 7,
A switching unit that changes the predetermined registration condition and switches a processing state of the job by the processing unit between a state in which the non-combined job is preferentially processed and a state in which the combined job is preferentially processed; Information processing device.
結合対象の複数のジョブ、及び、前記結合対象でない1つのジョブからなる非結合ジョブを処理する情報処理装置における情報処理方法であって、
処理条件が設定されたジョブを受信する工程と、
受信された前記非結合ジョブの識別情報を処理待機リストに登録する工程と、
前記処理条件に含まれるジョブの結合順序に基づいて、前記結合対象の複数のジョブの識別情報を前記結合順序で連結して結合ジョブを生成する工程と、
前記結合ジョブの識別情報を前記処理待機リストに登録する工程と、
前記処理待機リストへの識別情報の登録順に前記非結合ジョブと前記結合ジョブを処理する処理工程と、を有し、
前記処理工程は、前記非結合ジョブを当該非結合ジョブに設定された前記処理条件に基づいて処理する工程と、前記結合ジョブにおける識別情報の連結順に前記結合対象の複数のジョブを各ジョブに設定された前記処理条件に基づいて処理する工程と、を有する情報処理方法。
An information processing method in an information processing apparatus that processes a plurality of jobs to be combined and a non-combined job consisting of one job that is not to be combined,
Receiving a job with processing conditions set;
Registering the received identification information of the unbound job in a processing waiting list;
Based on the job combination order included in the processing conditions, generating a combined job by connecting identification information of the plurality of jobs to be combined in the combination order;
Registering identification information of the combined job in the processing standby list;
A processing step of processing the non-combined job and the combined job in the order of registration of the identification information in the processing standby list,
The processing step includes: processing the non-combined job based on the processing conditions set for the non-combined job; and setting the plurality of jobs to be combined in each job in the order of connection of identification information in the combined job. And a process of processing based on the processed processing conditions.
請求項9に記載された情報処理方法の各工程を情報処理装置のコンピュータに実行させるためのプログラム。   A program for causing a computer of an information processing apparatus to execute each step of the information processing method according to claim 9.
JP2014194050A 2014-09-24 2014-09-24 Information processing equipment, information processing method, and program Pending JP2016064551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014194050A JP2016064551A (en) 2014-09-24 2014-09-24 Information processing equipment, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014194050A JP2016064551A (en) 2014-09-24 2014-09-24 Information processing equipment, information processing method, and program

Publications (1)

Publication Number Publication Date
JP2016064551A true JP2016064551A (en) 2016-04-28

Family

ID=55803834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014194050A Pending JP2016064551A (en) 2014-09-24 2014-09-24 Information processing equipment, information processing method, and program

Country Status (1)

Country Link
JP (1) JP2016064551A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019084722A (en) * 2017-11-02 2019-06-06 セイコーエプソン株式会社 Printer and printing method
JP2019164446A (en) * 2018-03-19 2019-09-26 株式会社リコー Information processing apparatus, information processing method, program and printing system
CN114202401A (en) * 2022-02-17 2022-03-18 深圳市关贸云科技有限公司 Data multidimensional analysis processing method based on big data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019084722A (en) * 2017-11-02 2019-06-06 セイコーエプソン株式会社 Printer and printing method
JP7119344B2 (en) 2017-11-02 2022-08-17 セイコーエプソン株式会社 Printing device and printing method
JP2019164446A (en) * 2018-03-19 2019-09-26 株式会社リコー Information processing apparatus, information processing method, program and printing system
CN114202401A (en) * 2022-02-17 2022-03-18 深圳市关贸云科技有限公司 Data multidimensional analysis processing method based on big data

Similar Documents

Publication Publication Date Title
JP2002268846A (en) Controller and controlling method for image forming system
JP5605746B2 (en) Print control apparatus, image forming system, and program
JP4817029B2 (en) Printing device
JP2006309319A (en) Image processor, image processing method, and image processing program
US8665474B2 (en) Method, system, apparatus and medium for minimizing unnecessary processing associated with connection/disconnection of a same host
JP6238711B2 (en) Printing apparatus, printing control method, and program
JP2016064551A (en) Information processing equipment, information processing method, and program
JP6708484B2 (en) Information processing apparatus, control method, and program
JP2006305760A (en) Image forming apparatus, image forming method, image forming program, and printing system
JP6127689B2 (en) Printing apparatus and printing system
JP2009151447A (en) Printing system, printing apparatus and printing method
JP2013233667A (en) Job processing device and job processing program
JP2017007171A (en) Image formation apparatus and image formation system
JP2014235679A (en) Server device, control method of server device, and program
JP2020047189A (en) Printing system, information processing apparatus, control method thereof, and program
JP2018024258A (en) Image forming apparatus and control method of image forming apparatus
JP5311225B2 (en) Printing system, printing apparatus, job processing program, and job processing method
JP2003163785A (en) Network image formation system
JP5991784B2 (en) Information processing apparatus and information processing program
JP4524913B2 (en) Image processing apparatus and system
JP2019144820A (en) Image forming system
JP2016203513A (en) Printer, information processing method and program
JP2008149580A (en) Printer, printing system and printing method
JP2010089407A (en) Image forming apparatus
JP2015075727A (en) Printing system, control method of printing system, and program