JP5906643B2 - Printing apparatus and printing method - Google Patents

Printing apparatus and printing method Download PDF

Info

Publication number
JP5906643B2
JP5906643B2 JP2011216404A JP2011216404A JP5906643B2 JP 5906643 B2 JP5906643 B2 JP 5906643B2 JP 2011216404 A JP2011216404 A JP 2011216404A JP 2011216404 A JP2011216404 A JP 2011216404A JP 5906643 B2 JP5906643 B2 JP 5906643B2
Authority
JP
Japan
Prior art keywords
storage unit
print job
processing
print
drawing 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.)
Expired - Fee Related
Application number
JP2011216404A
Other languages
Japanese (ja)
Other versions
JP2013075419A5 (en
JP2013075419A (en
Inventor
善成 宮崎
善成 宮崎
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2011216404A priority Critical patent/JP5906643B2/en
Publication of JP2013075419A publication Critical patent/JP2013075419A/en
Publication of JP2013075419A5 publication Critical patent/JP2013075419A5/en
Application granted granted Critical
Publication of JP5906643B2 publication Critical patent/JP5906643B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、印刷装置及び印刷方法に関する。 The present invention relates to a printing apparatus and a printing method .

今日、ホストコンピュータ等のホスト機器とプリンタ装置や所謂複合機等の印刷装置がネットワークを介して接続された印刷システムが使用されている。このようなシステムにおいて、あるホスト機器から依頼された印刷ジョブを処理する間に割り込み印刷の指示がある場合がある。   2. Description of the Related Art Today, a printing system is used in which a host device such as a host computer and a printing device such as a printer device or a so-called multifunction device are connected via a network. In such a system, there may be an interrupt printing instruction while processing a print job requested by a certain host device.

この場合、通常割り込まれた印刷ジョブの印刷処理を一時中断し、割り込みジョブの処理を優先して実行する。このため、割り込まれた印刷ジョブの処理は、割り込みジョブの処理が終了するまで中断する。また、割り込み処理のみならず、例えば優先処理の指示が含まれる印刷データが入力する場合にも、それまで処理を行っていた印刷ジョブの処理を中断している。
尚、割り込み処理に関する発明には、例えば特許文献1に開示するように、割り込み印刷ジョブが終了した後、同じ排紙トレイ上に割り込みを行った印刷ジョブと先の印刷ジョブの印刷済み用紙を区別できるようにして、先の印刷ジョブをできるだけ速やかに再開できるように構成した発明も提案されている。
In this case, the print processing of the interrupted print job is temporarily suspended, and the interrupt job processing is executed with priority. Therefore, the interrupted print job processing is interrupted until the interrupt job processing is completed. In addition to interrupt processing, for example, when print data including a priority processing instruction is input, the processing of the print job that has been performed is interrupted.
In the invention related to interrupt processing, as disclosed in, for example, Patent Document 1, after an interrupt print job is completed, a print job that has been interrupted on the same paper discharge tray is distinguished from a printed sheet of the previous print job. There has also been proposed an invention configured so that the previous print job can be resumed as quickly as possible.

特開平11-175282号公報JP-A-11-175282

しかしながら、上記特許文献1に開示の発明では、割り込み印刷ジョブが終了した後、停止した先の印刷ジョブの再開を迅速に行うことはできるが、先の印刷ジョブを割り込みジョブと並行して実行するものではない。
また、割り込み指示があった際、先行する印刷ジョブが小容量の場合、先行して行っている印刷ジョブを停止した場合、効率の悪い印刷処理となる。
However, in the invention disclosed in Patent Document 1, the suspended print job can be quickly restarted after the interrupt print job is completed, but the previous print job is executed in parallel with the interrupt job. It is not a thing.
Also, when an interrupt instruction is given, if the preceding print job has a small capacity, or if the preceding print job is stopped, the printing process is inefficient.

そこで、本発明は割込み指示や優先印刷指示がある場合でも、先の印刷ジョブを中断することなく、割込み指示や優先印刷指示があった印刷ジョブと先の印刷ジョブの印刷処理を並行して行うことが可能な印刷装置及び印刷方法を提供するものである。 Therefore, according to the present invention, even when there is an interrupt instruction or a priority print instruction, the print job with the interrupt instruction or the priority print instruction and the print process of the previous print job are performed in parallel without interrupting the previous print job. The present invention provides a printing apparatus and a printing method that can be used.

上記課題を解決するために、本発明の印刷装置は、第一の記憶部と、前記第一の記憶部よりもアクセス速度の遅い第二の記憶部と、印刷ジョブを受信する受信部と、前記第一の記憶部または前記第二の記憶部を用い、前記受信部により受信した印刷ジョブに基づいて描画処理する描画処理部と、を備え、前記描画処理部は、前記第一の記憶部を用いた描画処理中に他の印刷ジョブを優先処理するとした割り込み印刷の指示があった場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記他の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする。
また、本発明の他の態様の印刷装置は、第一の記憶部と、前記第一の記憶部よりもアクセス速度の遅い第二の記憶部と、印刷ジョブを受信しその印刷ジョブに含まれる優先順位を取得する受信部と、前記第一の記憶部または前記第二の記憶部を用い、前記受信部により受信した印刷ジョブに基づいて描画処理する描画処理部と、を備え、前記描画処理部は、前記第一の記憶部を用いた描画処理中に前記受信部により新たな印刷ジョブが受信された際に、前記受信部により取得された該新たな印刷ジョブの優先順位が該描画処理中の印刷ジョブの優先順位より高い場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記新たな印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする。
また、本発明の印刷方法は、印刷ジョブを受信する受信ステップと、第一の記憶部または前記第一の記憶部よりもアクセス速度の遅い第二の記憶部を用い、前記受信ステップにより受信した印刷ジョブに基づいて描画処理する描画処理ステップと、を有し、前記描画処理ステップは、前記第一の記憶部を用いた描画処理中に他の印刷ジョブを優先処理するとした割り込み印刷の指示があった場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記他の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする。
また、本発明の他の態様の印刷方法は、印刷ジョブを受信しその印刷ジョブに含まれる優先順位を取得する受信ステップと、第一の記憶部または前記第一の記憶部よりもアクセス速度の遅い第二の記憶部を用い、前記受信ステップにより受信した印刷ジョブに基づいて描画処理する描画処理ステップと、を有し、前記描画処理ステップは、前記第一の記憶部を用いた描画処理中に前記受信部により新たな印刷ジョブが受信された際に、前記受信ステップにより取得された該新たな印刷ジョブの優先順位が該描画処理中の印刷ジョブの優先順位より高い場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記新たな印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする。
In order to solve the above problems, a printing apparatus of the present invention includes a first storage unit, a second storage unit having an access speed slower than that of the first storage unit, a receiving unit that receives a print job, A drawing processing unit that performs drawing processing based on a print job received by the receiving unit using the first storage unit or the second storage unit, and the drawing processing unit includes the first storage unit When there is an interrupt print instruction that preferentially processes other print jobs during the drawing process using the image, the first storage unit is used as the storage unit used for the drawing process for the print job in the drawing process. while continuing processing the continuation of the image drawing processing is switched to the second storage unit from the drawing processing said for other print jobs by setting a storage unit used in the drawing process in the first storage unit It is characterized by performing .
A printing apparatus according to another aspect of the present invention includes a first storage unit, a second storage unit having a slower access speed than the first storage unit, and a print job received and included in the print job. A drawing unit comprising: a receiving unit that obtains a priority order; and a drawing processing unit that performs drawing processing based on a print job received by the receiving unit using the first storage unit or the second storage unit. parts, when the first print job Do was new Ri by said receiver during a drawing process using a storage unit of the has been received, the priority of the new print job acquired by the receiving section If the priority of the print job being drawn is higher than the priority of the print job being drawn, the storage unit used for the drawing process is switched from the first storage unit to the second storage unit for the print job being drawn. along with the continued processing the rest of the drawing process, the new For the print job and executes the drawing processing by setting a storage unit used in the drawing process in the first storage unit.
The printing method of the present invention includes a receiving step of receiving a print job, using the second storage unit slower access speed than the first storage unit or the first storage unit, received by the receiving step A drawing processing step for performing drawing processing based on the print job, wherein the drawing processing step receives an interrupt printing instruction for preferentially processing other print jobs during the drawing processing using the first storage unit. when there, while continuing processing the continuation of the image drawing processing is switched to the storage unit used in the drawing process from the first storage unit to the second storage unit to the print job in image drawing process, For the other print job, the storage unit used for the drawing process is set as the first storage unit , and the drawing process is executed .
According to another aspect of the present invention, there is provided a printing method for receiving a print job and obtaining a priority order included in the print job, and having an access speed higher than that of the first storage unit or the first storage unit. A drawing processing step for performing drawing processing based on the print job received by the reception step using a slow second storage unit, wherein the drawing processing step is during drawing processing using the first storage unit wherein when the Do print job was new Ri by the receiver is received, when the priority of the new print job acquired by the reception step is higher than the priority of the print job in image drawing process, with respect to the print job in image drawing process continues processing the continuation of the image drawing processing to the storage unit is switched to the second storage unit from the first storage unit used in the drawing process, the new printing job And executes a drawing process by setting the storage unit used for the drawing process in the first storage unit for.

本発明によれば、割込み印刷指示や優先印刷指示があった場合、先の印刷ジョブの処理を中断することなく、割り込み印刷指示や優先印刷指示のあった印刷ジョブと先の印刷ジョブの印刷処理を並行して行うことができる。また、印刷ジョブ毎に設定された優先度に従った効率のよい印刷処理を行うことができる。   According to the present invention, when there is an interrupt print instruction or a priority print instruction, the print processing of the print job with the interrupt print instruction or the priority print instruction and the previous print job is performed without interrupting the process of the previous print job. Can be performed in parallel. Further, efficient print processing can be performed according to the priority set for each print job.

本実施形態のプリンタ装置のソフトウエア処理を説明するブロック図である。3 is a block diagram illustrating software processing of the printer apparatus according to the embodiment. FIG. 本実施形態の印刷システムのシステム構成図である。1 is a system configuration diagram of a printing system according to an embodiment. プリンタ装置の内部構成を説明する図である。2 is a diagram illustrating an internal configuration of a printer apparatus. FIG. 受信タスクや、描画タスク、排紙タスクの処理を説明する図である。It is a figure explaining the process of a reception task, a drawing task, and a paper discharge task. 受信タスクの機能を説明する図である。It is a figure explaining the function of a reception task. ジョブ管理テーブルや、ジョブコントロールタスク、描画タスクの具体的な構成を説明する図である。It is a figure explaining the specific structure of a job management table, a job control task, and a drawing task. 受信データ格納先と画像データ格納先の組み合わせの例を示す図である。It is a figure which shows the example of the combination of a receiving data storage destination and an image data storage destination. 印刷行列の構成例を示す図である。It is a figure which shows the structural example of a printing matrix. 通常の印刷処理を行っている際、割り込み処理が行われた場合の先の印刷データの受信処理を説明するフローチャートである。FIG. 10 is a flowchart for describing a previous print data reception process when an interrupt process is performed during a normal print process. FIG. 通常の印刷処理を行っている際、割り込み処理が行われた場合の先の印刷データの描画(画像データ作成)処理を説明するフローチャートである。10 is a flowchart for explaining a previous print data drawing (image data creation) process when an interrupt process is performed during a normal print process. 通常の印刷処理を行っている際、割り込み処理が行われた場合の先の印刷データの排紙処理を説明するフローチャートである。FIG. 10 is a flowchart for describing a discharge process of the previous print data when an interrupt process is performed during normal print processing. 通常の印刷処理を行っている際、割り込み処理が行われた場合の割り込み処理を行なった側の印刷データの受信処理を説明するフローチャートである。FIG. 10 is a flowchart for explaining print data reception processing on the side that performed interrupt processing when interrupt processing is performed during normal print processing. FIG. 通常の印刷処理を行っている際、割り込み処理が行われた場合の割り込み処理を行なった側の印刷データの描画(画像データ作成)処理を説明するフローチャートである。10 is a flowchart for explaining print data drawing (image data creation) processing on the side that performed interrupt processing when interrupt processing is performed during normal print processing. 通常の印刷処理を行っている際、割り込み処理が行われた場合の割り込み処理を行なった側の印刷データの排紙処理を説明するフローチャートである。10 is a flowchart for explaining a print data discharge process on the side that has performed an interrupt process when an interrupt process is performed when a normal print process is performed. RAMを受信バッファとする場合の印刷処理の概要を説明する図である。It is a figure explaining the outline | summary of the printing process in case RAM is used as a receiving buffer. ハードディスク(HD)を受信バッファとする場合の印刷処理の概要を説明する図である。It is a figure explaining the outline | summary of the printing process in case a hard disk (HD) is used as a receiving buffer. 優先コードテーブルに優先コードを記憶する処理を説明するフローチャートである。It is a flowchart explaining the process which memorize | stores a priority code in a priority code table. 優先コードテーブルの特性を説明する図である。It is a figure explaining the characteristic of a priority code table. 優先順位が変更される場合の処理を説明するフローチャートである。It is a flowchart explaining a process when a priority is changed. 優先コードテーブルを使用した印刷処理を説明するフローチャートである。10 is a flowchart for describing printing processing using a priority code table. 各ソケットの処理を具体的に説明するフローチャートである。It is a flowchart explaining the process of each socket concretely. 優先コードテーブルを使用した場合の排紙タスクの処理を説明するフローチャートである。10 is a flowchart for explaining processing of a paper discharge task when a priority code table is used. パネル表示部に印刷処理実行中及び印刷処理待ち状態にある印刷ジョブが表示される状態を示した図である。FIG. 6 is a diagram illustrating a state in which a print job that is executing print processing and waiting for print processing is displayed on the panel display unit.

以下、本発明の実施の形態を図面に基づいて説明する。
(実施形態1)
図2は、本実施形態の印刷装置を使用した印刷システムの構成図である。
同図において、LAN(Local Area Network)等の印刷システムのネットワークにはプリンタ装置1、及びこのプリンタ装置1に印刷データを出力するホスト機器PC1〜PC3が接続されている。また、プリンタ装置1にはUSB(Universal Serial Bus)インターフェースを介してホスト機器PC4も接続されている。尚、それぞれのホスト機器PC1〜PC4はアプリケーションに従って印刷データを作成し、プリンタ装置1に出力する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(Embodiment 1)
FIG. 2 is a configuration diagram of a printing system using the printing apparatus of the present embodiment.
In FIG. 1, a printer device 1 and host devices PC1 to PC3 that output print data to the printer device 1 are connected to a network of a printing system such as a LAN (Local Area Network). A host device PC4 is also connected to the printer device 1 via a USB (Universal Serial Bus) interface. Each of the host devices PC1 to PC4 creates print data according to an application and outputs it to the printer apparatus 1.

図3は、上記プリンタ装置1の内部構成を説明する図である。プリンタ装置1は、CPU2、オペレーションパネル3、フラッシュメモリで構成されるROM4、EEPROM5、RAM6、プリンタ制御LSI7、ネットワークインターフェース(以下、ネットワークI/Fで示す)8、エンジン部9、USBインターフェース(以下、USBI/Fで示す)10、外部記憶装置インターフェース(以下、外部記憶装置I/Fで示す)11、及び外部記憶装置であるハードディスク(HDD)12で構成されている。   FIG. 3 is a diagram illustrating the internal configuration of the printer apparatus 1. The printer apparatus 1 includes a CPU 2, an operation panel 3, a ROM 4, a EEPROM 5, a RAM 6, a printer control LSI 7, a network interface (hereinafter referred to as network I / F) 8, an engine unit 9, a USB interface (hereinafter referred to as a flash memory). 10, an external storage device interface (hereinafter referred to as an external storage device I / F) 11, and a hard disk (HDD) 12 that is an external storage device.

オペレーションパネル3は、例えばグラフィック表示可能なLCD(liquid crystal display)で構成され、CPU2の制御によって各種データを表示し、オペレータからの操作信号をCPU2に供給する。このオペレーションパネル3は、後述するパネル表示部とパネル操作部で構成されている。   The operation panel 3 is composed of, for example, an LCD (liquid crystal display) capable of graphic display, displays various data under the control of the CPU 2, and supplies operation signals from the operator to the CPU 2. The operation panel 3 includes a panel display unit and a panel operation unit which will be described later.

ROM4はプリンタ装置1のシステムプログラム及びデータを記憶し、CPU2はROM4に記憶されたプログラム及びデータに基づいて印刷処理を行う。また、RAM6は高速にアクセスが可能な記憶装置として、後述する受信バッファ、及び補助画像バッファ等として機能する。また、EEPROM5には、後述するジョブ管理テーブルや優先コードテーブルが設定される。   The ROM 4 stores the system program and data of the printer apparatus 1, and the CPU 2 performs print processing based on the program and data stored in the ROM 4. The RAM 6 functions as a storage buffer that can be accessed at high speed, such as a reception buffer and an auxiliary image buffer described later. The EEPROM 5 is set with a job management table and a priority code table, which will be described later.

プリンタ制御LSI7は、後述する描画(画像データ作成)処理をCPU2と共に実行し、画像データの作成処理を行う。また、描画処理によって作成した画像データをRAM6又はハードディスク12に出力する。   The printer control LSI 7 executes a drawing (image data creation) process, which will be described later, together with the CPU 2 to perform an image data creation process. The image data created by the drawing process is output to the RAM 6 or the hard disk 12.

また、ハードディスク12は上記RAM6に比べてアクセス速度が遅いが、大容量記憶装置であり、受信バッファ又は画像データを記憶する装置として機能する。
尚、ネットワークI/F8はLANボード等で構成され、ネットワークを介して印刷データ(印刷ジョブ)の入出力制御を行う。また、USBI/F10は、プリンタ装置1が前述のホスト機器PC4にピアツーピア(peer to peer)で接続された際のデータの入出力制御を行う。
The hard disk 12 has a slower access speed than the RAM 6 but is a large-capacity storage device and functions as a reception buffer or a device for storing image data.
The network I / F 8 is configured by a LAN board or the like, and performs input / output control of print data (print job) via the network. The USB I / F 10 performs data input / output control when the printer apparatus 1 is connected to the above-described host device PC4 by peer to peer.

図1は上記構成のプリンタ装置1のソフトウエア処理を説明するブロック図であり、受信タスク15、描画タスク16、排紙タスク17、ジョブコントロールタスク18、及びオペレーションパネルタスク(以下、オペパネタスクで示す)19で構成されている。   FIG. 1 is a block diagram for explaining the software processing of the printer apparatus 1 having the above-described configuration. The receiving task 15, the drawing task 16, the paper discharge task 17, the job control task 18, and the operation panel task (hereinafter, referred to as an operation panel task). 19.

受信タスク15はマルチタスク処理によりLAN上などにある複数のホスト機器から送られてくる印刷ジョブの入力を複数のソケットにより同時に並行して処理することができ、例えば前述のホスト機器PC1から印刷ジョブ1が入力し、ホスト機器PC2から印刷ジョブ2が入力し、ホスト機器PC3から印刷ジョブ3が入力する。また、受信タスク15は上記印刷ジョブ1〜3の印刷データをRAM6又はハードディスク12に出力する。尚、RAM6は受信タスク15の処理による印刷データの格納を行う受信バッファの機能と共に、描画タスク16による描画処理後の画像データを記憶する機能も有する。また、ハードディスク12も受信タスク15の処理による印刷データの格納を行う受信バッファの機能と共に、上記画像データを記憶する機能も有する。   The reception task 15 can simultaneously process print job inputs sent from a plurality of host devices on the LAN or the like by multitask processing in parallel using a plurality of sockets. 1 is input, print job 2 is input from the host device PC2, and print job 3 is input from the host device PC3. The reception task 15 outputs the print data of the print jobs 1 to 3 to the RAM 6 or the hard disk 12. The RAM 6 has a function of a reception buffer for storing print data by the processing of the reception task 15 and a function of storing image data after the drawing processing by the drawing task 16. The hard disk 12 also has a function of storing the image data together with a function of a reception buffer that stores print data by processing of the reception task 15.

描画タスク16は印刷データのコマンドを解析し、描画処理を行なって画像データをRAM6又はハードディスク12に格納する。また、排紙タスク(印刷出力タスク)17はRAM6又はハードディスク12から画像データを読み出し、用紙(記録媒体)への印刷出力を行い、印刷ジョブ毎に設定された排紙部への排紙を行なう。   The drawing task 16 analyzes the print data command, performs drawing processing, and stores the image data in the RAM 6 or the hard disk 12. A paper discharge task (print output task) 17 reads out image data from the RAM 6 or the hard disk 12, prints it out on paper (recording medium), and discharges it to a paper discharge unit set for each print job. .

ジョブコントロールタスク18は上記受信タスク15や、描画タスク16、排紙タスク17の制御を行い、オペパネタスク19を介して入力する割り込み印刷の指示に対する処理を行う。尚、前述のオペレーションパネル3は、パネル表示部13、及びパネル操作部14で構成され、ユーザによるパネル操作部14の操作によって、後述する割り込み印刷の指示が行なわれる。   The job control task 18 controls the reception task 15, the drawing task 16, and the paper discharge task 17, and performs processing for an interrupt printing instruction input via the operation panel task 19. The operation panel 3 includes a panel display unit 13 and a panel operation unit 14, and an interrupt print instruction (to be described later) is given by the user operating the panel operation unit 14.

また、ジョブコントロールタスク18はジョブ管理テーブル20に記憶された情報に基づいて上記信タスク15や、描画タスク16、排紙タスク17の制御を行い、優先コードテーブル22に記憶された情報に従った優先印刷処理を行う。   The job control task 18 controls the communication task 15, the drawing task 16, and the paper discharge task 17 based on the information stored in the job management table 20, and follows the information stored in the priority code table 22. Perform priority print processing.

図4は本例の印刷処理の概要を説明する図である。上記のように受信タスク15はホスト機器PC1〜PC3から送信される印刷ジョブ1〜3を受信し、処理を描画タスク16に引き渡す。この際、受信タスク15は図5に示すように、複数のソケットを生成し、同時に複数の印刷ジョブを受信することが可能である。   FIG. 4 is a diagram for explaining the outline of the printing process of this example. As described above, the reception task 15 receives the print jobs 1 to 3 transmitted from the host devices PC <b> 1 to PC <b> 3 and passes the processing to the drawing task 16. At this time, the reception task 15 can generate a plurality of sockets and simultaneously receive a plurality of print jobs as shown in FIG.

尚、図5に示すように、受信タスク15が処理する印刷ジョブはネットワークI/F8を介して入力する印刷ジョブ1〜3のみならず、USBI/F10を介してホスト機器PC4から入力する印刷ジョブ4の同時受信も可能である。   As shown in FIG. 5, the print job processed by the reception task 15 is not only the print jobs 1 to 3 input via the network I / F 8, but also the print job input from the host device PC 4 via the USB I / F 10. 4 simultaneous receptions are also possible.

描画タスク16はホスト機器PC1〜PC4からの1つの印刷ジョブに対して1つの描画スレッドを立ち上げ、描画処理を行う。例えば、図4に示すように、印刷ジョブ1用描画スレッド、印刷ジョブ2用描画スレッド、・・・印刷ジョブn用描画スレッドを立ち上げ、画像データの作成処理を行う。   The drawing task 16 activates one drawing thread for one print job from the host devices PC1 to PC4 and performs drawing processing. For example, as shown in FIG. 4, a drawing thread for print job 1, a drawing thread for print job 2,...

排紙タスク17は画像データに従って用紙に印刷出力を行い、複数ある排紙口1〜nの中から、印刷ジョブによって指定された排紙口に用紙を出力する。尚、排紙タスク17は利用可能な排紙口を自ら選択して出力することも可能である。   The paper discharge task 17 prints out the paper according to the image data, and outputs the paper from a plurality of paper discharge outlets 1 to n to the paper discharge outlet designated by the print job. The paper discharge task 17 can also select and output an available paper discharge port.

図6は上記ジョブ管理テーブル20及び描画タスク16の具体的な構成を説明する図である。ジョブ管理テーブル20には印刷データがプリンタ装置1に入力した際、受信タスク15によって解析された印刷ジョブの情報が書き込まれる。尚、印刷ジョブの情報は、例えば印刷データのヘッダ部に記述されており、受信タスク15によってヘッダ部の情報が解析され、ジョブコントロールタスク18を介してジョブ管理テーブル20に書き込まれる。
ジョブ管理テーブル20は、図6に示すように「ジョブID」の記憶エリア、「データ受信中」の記憶エリア、「受信データ格納先」の記憶エリア、「画像データ格納先」の記憶エリア、「ジョブ実行中」の記憶エリア、及び「優先コード」の記憶エリアで構成され、印刷順に各記憶エリアに情報が記憶される。
ここで、「ジョブID」の記憶エリアには印刷ジョブ毎に付加された、例えば識別コードが記憶され、「データ受信中」の記憶エリアには、当該ジョブIDの印刷データが現在データ受信中であるか否かの情報が記憶される。
FIG. 6 is a diagram for explaining specific configurations of the job management table 20 and the drawing task 16. When the print data is input to the printer apparatus 1, information on the print job analyzed by the reception task 15 is written in the job management table 20. The print job information is described, for example, in the header portion of the print data, and the header portion information is analyzed by the reception task 15 and written into the job management table 20 via the job control task 18.
As shown in FIG. 6, the job management table 20 includes a “job ID” storage area, a “data receiving” storage area, a “received data storage destination” storage area, an “image data storage destination” storage area, “ The storage area is “job in progress” and the storage area of “priority code”, and information is stored in each storage area in the order of printing.
Here, for example, an identification code added for each print job is stored in the “job ID” storage area, and the print data of the job ID is currently being received in the “data receiving” storage area. Information about whether or not there is is stored.

また、「受信データ格納先」の記憶エリアには、当該印刷ジョブの印刷データが格納される受信バッファがRAM6であるか又はハードディスク12であるかの情報が記憶される。また、「画像データ格納先」の記憶エリアには、当該印刷ジョブの画像データが格納される画像バッファがRAM6であるか又はハードディスク12であるかの情報が記憶される。さらに、「ジョブ実行中」の記憶エリアには、当該ジョブIDの印刷データが現在印刷処理中であるか否かの情報が記憶される。尚、「優先コード」のエリアには、後述する優先コードの情報が記憶されるが、この優先コード及び優先コードテーブル22を使用する処理については後述する。   In the storage area of “reception data storage destination”, information on whether the reception buffer for storing the print data of the print job is the RAM 6 or the hard disk 12 is stored. In addition, in the storage area of “image data storage destination”, information on whether the image buffer storing the image data of the print job is the RAM 6 or the hard disk 12 is stored. Furthermore, information indicating whether or not the print data of the job ID is currently being printed is stored in the “job in progress” storage area. In the “priority code” area, priority code information to be described later is stored. Processing using this priority code and priority code table 22 will be described later.

尚、図7は印刷データが格納される格納先の組み合わせを説明する図であり、「受信データ格納先」と「画像データ格納先」の組み合わせの例を示す。同図に示すように、設定可能な「受信データ格納先」と「画像データ格納先」の組み合わせは、(I)RAM6−RAM6、(II)RAM6−HDD12、(III)HDD12−RAM6、(IV)HDD12−HDD12である。   FIG. 7 is a diagram for explaining a combination of storage destinations where print data is stored, and shows an example of a combination of “reception data storage destination” and “image data storage destination”. As shown in the figure, the combinations of “reception data storage destination” and “image data storage destination” that can be set are (I) RAM6-RAM6, (II) RAM6-HDD12, (III) HDD12-RAM6, (IV ) HDD12-HDD12.

一方、図6に示すように、描画タスク16は前述のように1つの印刷ジョブに対して1つの描画スレッドを立ち上げ、各描画スレッドには印刷行列が設定される。例えば、描画スレッド1について印刷行列1が設定され、描画スレッド2について印刷行列2が設定される。尚、図6に示す例では、描画スレッド1が先行印刷ジョブの描画スレッドであり、描画スレッド2が割込印刷ジョブの描画スレッドの例である。   On the other hand, as shown in FIG. 6, the drawing task 16 starts one drawing thread for one print job as described above, and a printing matrix is set for each drawing thread. For example, the print matrix 1 is set for the drawing thread 1 and the print matrix 2 is set for the drawing thread 2. In the example shown in FIG. 6, the drawing thread 1 is an example of a drawing thread for a preceding print job, and the drawing thread 2 is an example of a drawing thread for an interrupt print job.

尚、図8は上記印刷行列の生成例を示す図であり、nページの印刷データで構成される印刷ジョブの印刷行列の生成例を示す。各ページは、ページ個別情報、ページ画像本体アドレス(又は画像ファイル名)、次ページ情報アドレスで構成されている。ここで、ページ個別情報とは、例えば用紙サイズや排紙口等のページ毎の情報であり、ページ画像本体アドレス(又は画像ファイル名)とは、対応するページの画像データが記憶されたRAM6又はハードディスク12のアドレス情報であり、次ページ情報アドレスとは、次のページの画像データが記憶されたAM6又はハードディスク12のアドレス情報である。したがって、印刷ジョブの画像データは、描画スレッド毎に印刷行列を生成し、この印刷行列に従って管理される。   FIG. 8 is a diagram showing an example of generating the print matrix, and shows an example of generating a print matrix of a print job composed of n pages of print data. Each page includes page individual information, a page image body address (or image file name), and a next page information address. Here, the individual page information is information for each page such as the paper size and the paper outlet, and the page image main body address (or image file name) is the RAM 6 in which the image data of the corresponding page is stored. The next page information address is address information of the AM 6 or the hard disk 12 in which image data of the next page is stored. Accordingly, the print job image data is managed according to a print matrix generated for each drawing thread.

以上の構成において、以下に本例の処理動作を説明する。
図9乃至図11は先の印刷ジョブの処理を説明するフローチャートであり、割り込み指示前と割り込み指示後の印刷処理を説明する。また、図12乃至図14は割り込み印刷ジョブの処理を説明するフローチャートであり、割り込み指示前と割り込み指示後の印刷処理を説明する。
In the above configuration, the processing operation of this example will be described below.
FIG. 9 to FIG. 11 are flowcharts for explaining the processing of the previous print job. The printing processing before and after the interruption instruction will be described. FIGS. 12 to 14 are flowcharts for explaining processing of an interrupt print job, and explain print processing before and after an interrupt instruction.

先ず、先の印刷データの処理について説明する。通常、割り込み処理が行われた先の印刷データは、割り込み処理が行われる前、先行して処理が行なわれている印刷ジョブであり、優先順位の高い処理が行われている。すなわち、受信タスク15では、図9に示すフローチャートに従って、印刷データが入力されるまで受信データを待ち(ステップ(以下、Sで示す)1)、受信データが入力すると(S2がYES)、割り込み印刷の通知を判断する(S3)。この判断は、前述のジョブコントロールタスク18からの割り込み印刷の指示を確認することによって行ない、割り込み印刷の指示が無ければ(S3が無し)、印刷データをRAM6に格納し(S4)、上記処理を繰り返す(S5)。   First, processing of the previous print data will be described. Normally, the print data that has been subjected to the interrupt process is a print job that has been processed in advance before the interrupt process is performed, and a process with high priority is performed. That is, the reception task 15 waits for the received data until the print data is input (step (hereinafter referred to as S) 1) according to the flowchart shown in FIG. 9, and when the received data is input (S2 is YES), interrupt printing is performed. Is determined (S3). This determination is made by confirming the interrupt print instruction from the job control task 18 described above. If there is no interrupt print instruction (S3 is absent), the print data is stored in the RAM 6 (S4), and the above processing is performed. Repeat (S5).

この処理によって、図15に示すように、RAM6を受信バッファとして、印刷データが格納される。また、ジョブコントロールタスク18はジョブ管理テーブル20の「ジョブID」の記憶エリアに印刷ジョブの識別コードを書き込み、「データ受信中」の記憶エリアに当該印刷ジョブの印刷データが受信中であることを示す情報を書き込む。さらに、当該印刷ジョブの印刷データの格納先がRAM6であることを「受信データ格納先」の記憶エリアに書き込む。
一方、描画タスク16は図10に示すフローチャートに従って、印刷データの読み込み先を上記RAM6に設定し(S6)、生成する画像データの格納先もRAM6に設定し(S7)、割り込み印刷の指示があるか判断する(S8、S9)。
By this processing, as shown in FIG. 15, the print data is stored using the RAM 6 as a reception buffer. Further, the job control task 18 writes the print job identification code in the “job ID” storage area of the job management table 20, and the print data of the print job is being received in the “data receiving” storage area. Write the information shown. Further, the fact that the print data storage destination of the print job is the RAM 6 is written in the storage area of “reception data storage destination”.
On the other hand, in accordance with the flowchart shown in FIG. 10, the drawing task 16 sets the reading destination of the print data in the RAM 6 (S6), sets the storage destination of the generated image data in the RAM 6 (S7), and issues an interrupt printing instruction. (S8, S9).

この判断も上記と同様、ジョブコントロールタスク18からの割り込み印刷の指示を確認することによって行ない、割り込み印刷の指示が無ければ(S9が無し)、印刷データがRAM6にあれば(S10がYES)、RAM6から印刷データを読み込み(S11)、コマンド解析を行い、作成した画像データをRAM6の画像バッファに格納する(S12)。
上記処理を1ページ分完成するまで繰り返し(S13がNO、S10〜S12)、1ページ分の画像データの作成が完了すると(S13がYES)、当該画像データの情報を前述の印刷行列にセットする(S14)。また、ジョブコントロールタスク18は当該印刷ジョブの画像データの格納先がRAM6であることを前述のジョブ管理テーブル20の「画像データ格納先」の記憶エリアに書き込む。
Similarly to the above, this determination is performed by confirming the interrupt printing instruction from the job control task 18, and if there is no interrupt printing instruction (S9 is absent), if the print data is in the RAM 6 (S10 is YES), Print data is read from the RAM 6 (S11), command analysis is performed, and the created image data is stored in the image buffer of the RAM 6 (S12).
The above processing is repeated until one page is completed (S13 is NO, S10 to S12). When creation of image data for one page is completed (S13 is YES), the information of the image data is set in the above-described print matrix. (S14). In addition, the job control task 18 writes that the image data storage destination of the print job is the RAM 6 in the storage area of “image data storage destination” of the job management table 20 described above.

尚、補助画像バッファに画像データを展開した場合には、当該補助画像バッファに展開した画像データをクリアし(S15)、上記処理を2ページ以降繰り返す(S16)。尚、RAM6の画像バッファに画像データを格納する上記処理では、処理(S15)はスキップされる。
上記処理によって、前述の図15に示すように、描画タスク16は1つの描画スレッドを立ち上げ、印刷行列を生成しながらRAM6に格納した印刷データを画像データに変換し、同じRAM6の画像バッファに格納する。尚、図15に示す例では、上記処理を繰り返し(S16)、nページ分の画像データがRAM6の画像バッファに格納されたことを示す。
When image data is expanded in the auxiliary image buffer, the image data expanded in the auxiliary image buffer is cleared (S15), and the above processing is repeated for two pages and thereafter (S16). In the above process of storing image data in the image buffer of the RAM 6, the process (S15) is skipped.
With the above processing, as shown in FIG. 15 described above, the drawing task 16 activates one drawing thread, converts the print data stored in the RAM 6 into image data while generating a print matrix, and stores it in the image buffer of the same RAM 6. Store. In the example shown in FIG. 15, the above process is repeated (S 16), indicating that image data for n pages has been stored in the image buffer of the RAM 6.

排紙タスク17は図11に示すフローチャートに従って処理を行い、先ず印刷行列にページデータが作成されているか判断する(S17、S18)。例えば、上記処理によって印刷行列に図8に示すデータが生成されていると(S18がYES)、印刷行列の生成画像データの格納先を判断し(S19)、上記例の場合、RAM6の画像バッファであり、RAM6から対応する画像データを読み込み、用紙への印刷出力を行う(S20)。排紙タスク17は以後nページ分この処理を繰り返し、指定された排紙部に用紙を排紙する(S21)。   The paper discharge task 17 performs processing according to the flowchart shown in FIG. 11, and first determines whether page data has been created in the print matrix (S17, S18). For example, if the data shown in FIG. 8 is generated in the print matrix by the above processing (S18 is YES), the storage destination of the generated image data of the print matrix is determined (S19). The corresponding image data is read from the RAM 6 and printed on paper (S20). The paper discharge task 17 thereafter repeats this process for n pages, and discharges the paper to the designated paper discharge unit (S21).

一方、割り込み印刷を行なう側の印刷ジョブについては、割り込み印刷の指示がある前は、以下の印刷処理が行われている。この場合、通常割り込み印刷を行なう側の印刷データは、当初優先順位の低い印刷ジョブであり、受信タスク15では、図12に示すフローチャートに従って、受信データの格納先をハードディスク12に設定し(ステップ(以下、STで示す)1)、印刷データの入力を待ち(ST2、ST3)、印刷データが入力すると(ST3がYES)、割り込み印刷の指示があるか判断する(ST4)。
ここで、割り込み印刷の指示が無ければ(ST4がNO)、印刷データを上記処理(ST1)によって設定したハードディスク12に格納し(ST5)、上記処理を繰り返す(ST6)。
On the other hand, for the print job on the interrupt printing side, the following print processing is performed before the interrupt printing instruction is given. In this case, the print data on the side performing normal interrupt printing is a print job with a low initial priority, and the receiving task 15 sets the storage destination of the received data in the hard disk 12 according to the flowchart shown in FIG. 1) Waiting for input of print data (ST2, ST3). When print data is input (YES in ST3), it is determined whether there is an instruction for interrupt printing (ST4).
If there is no instruction for interrupt printing (ST4 is NO), the print data is stored in the hard disk 12 set by the above process (ST1) (ST5), and the above process is repeated (ST6).

この受信タスク15の処理によって、図16に示すように、ハードディスク12を受信バッファとして、受信データファイルが生成され、印刷データがハードディスク12に格納される。また、ジョブコントロールタスク18はジョブ管理テーブル20の「ジョブID」の記憶エリアに印刷ジョブの識別コードを書き込み、「データ受信中」の記憶エリアに当該印刷ジョブの印刷データが受信中であることを示す情報を書き込む。さらに、当該印刷ジョブの印刷データの格納先がハードディスク12であることを「受信データ格納先」の記憶エリアに書き込む。
さらに、描画タスク16は図13に示すフローチャートに従って、印刷データの読み込み先を上記ハードディスク12に設定し(ST7)、生成した画像データの格納先をRAM6の補助記憶バッファ、及びハードディスク12に設定し(ST8)、上記処理を実行し(ST9)、割り込み印刷の指示があるか判断する(ST10)。
尚、上記処理(ST8)において、生成した画像データの格納先をRAM6の補助記憶バッファ、及びハードディスク12に設定する理由は、画像データの格納を迅速に行なうため、最終的にはハードディスク12に格納するのであるが、例えば1ページ分についてはRAM6の補助記憶バッファを利用して格納し、その後ハードディスク12に送信して格納するためである。
As a result of the processing of the reception task 15, as shown in FIG. 16, a reception data file is generated using the hard disk 12 as a reception buffer, and print data is stored in the hard disk 12. Further, the job control task 18 writes the print job identification code in the “job ID” storage area of the job management table 20, and the print data of the print job is being received in the “data receiving” storage area. Write the information shown. Further, the fact that the print data storage destination of the print job is the hard disk 12 is written in the storage area of “reception data storage destination”.
Further, the drawing task 16 sets the print data reading destination in the hard disk 12 according to the flowchart shown in FIG. 13 (ST7), and sets the storage destination of the generated image data in the auxiliary storage buffer of the RAM 6 and the hard disk 12 ( ST8) The above processing is executed (ST9), and it is determined whether there is an instruction for interrupt printing (ST10).
In the process (ST8), the storage destination of the generated image data is set in the auxiliary storage buffer of the RAM 6 and the hard disk 12 because the image data is stored quickly so that it is finally stored in the hard disk 12. This is because, for example, one page is stored using the auxiliary storage buffer of the RAM 6 and then transmitted to the hard disk 12 for storage.

一方、上記割り込み印刷の指示が無ければ(ST10がNO)、印刷データがハードディスク12にあるか判断し(ST11)、この場合印刷データはハードディスク12に格納されており(ST11がYES)、ハードディスク12から印刷データを読み込み(ST12)、コマンド解析処理を行ない、生成した画像データを補助画像バッファに格納する(ST13)。
その後、上記処理を1ページ分の画像データが完成するまで繰り返し(ST14がNO、ST11〜ST13)、1ページ分の画像データの生成が完了すると(ST14がYES)、当該画像データの情報を前述の印刷行列にセットする(ST15)。
On the other hand, if there is no instruction for interrupt printing (NO in ST10), it is determined whether the print data is on the hard disk 12 (ST11). In this case, the print data is stored in the hard disk 12 (YES in ST11). The print data is read (ST12), command analysis processing is performed, and the generated image data is stored in the auxiliary image buffer (ST13).
Thereafter, the above process is repeated until image data for one page is completed (NO in ST14, ST11 to ST13). When generation of image data for one page is completed (YES in ST14), information on the image data is described above. (ST15).

その後、補助画像バッファに格納した画像データをクリアし(ST16)、上記処理を2ページ以降も繰り返す(S17)。この場合、前述の図16に示すように、描画タスク16は1つの描画スレッドを立ち上げ、印刷行列を作成しながら、RAM6の補助記憶バッファから転送した画像データを、例えばnページ分の画像データファイルとしてハードディスク12に格納する。   Thereafter, the image data stored in the auxiliary image buffer is cleared (ST16), and the above process is repeated for the second and subsequent pages (S17). In this case, as shown in FIG. 16 described above, the drawing task 16 starts up one drawing thread, creates image matrixes, and transfers image data transferred from the auxiliary storage buffer of the RAM 6, for example, image data for n pages. The file is stored in the hard disk 12 as a file.

排紙タスク17は図14に示すフローチャートに従って処理を行い、先ず印刷行列に画像データの情報が生成されているか判断し(ST18、ST19)、例えば上記処理によって印刷行列に図8に示すデータが作成されていると(ST19がYES)、印刷行列の生成画像データの格納先を判断し(ST20)、この場合、ハードディスク12に格納されており、ハードディスク12から対応する画像データを読み込み、用紙への印刷出力を行う(ST21)。排紙タスク17は以後nページ分この処理を繰り返し、指定された排紙部に印刷出力を行う(ST22)。   The paper discharge task 17 performs processing according to the flowchart shown in FIG. 14, and first determines whether image data information has been generated in the print matrix (ST18, ST19). For example, the data shown in FIG. If so (ST19 is YES), the storage location of the generated image data of the print matrix is determined (ST20). In this case, the image data stored in the hard disk 12 is read from the hard disk 12 and loaded onto the paper. Print output is performed (ST21). Thereafter, the paper discharge task 17 repeats this process for n pages, and prints out the designated paper discharge unit (ST22).

以上のように、割り込み印刷の指示が行われる前、先の印刷ジョブ、及び後に割り込み指示が行われる印刷ジョブは、上記の印刷処理が行われている。この状態において、図23に示すようにパネル表示部13には、ジョブ管理テーブル20の情報、即ち、印刷処理の実行中の印刷ジョブ(13a)とプリンタにより受信されたが印刷処理待ち状態にある印刷ジョブ(13b)とが表示され、ユーザはパネル表示部13の表示を確認し、パネル操作部14のUP/DOWNキーを操作して上記印刷処理待ち状態で表示される印刷ジョブの中から所望のジョブを選択して割り込み印刷の指示を行なうことができる。この場合、割り込み印刷の指示は、例えば、表示された印刷ジョブ名を指定(図23では、斜線で囲まれた部分(S)が選択指定されたジョブ表示を示している)して行い、この情報はオペパネタスク19からジョブコントロールタスク18に送られる。   As described above, the print processing described above is performed for the previous print job and the print job for which the interrupt instruction is issued after the interrupt print instruction is performed. In this state, as shown in FIG. 23, the panel display unit 13 receives the information in the job management table 20, that is, the print job (13a) being executed and the printer, but is waiting for the print processing. The print job (13b) is displayed, and the user confirms the display on the panel display unit 13 and operates the UP / DOWN key of the panel operation unit 14 to select a desired one from the print jobs displayed in the print processing waiting state. The user can select this job and issue an interrupt print instruction. In this case, for example, the interrupt printing instruction is performed by designating the displayed print job name (in FIG. 23, the portion (S) surrounded by oblique lines indicates the job display in which selection is designated). Information is sent from the operation panel task 19 to the job control task 18.

ジョブコントロールタスク18は上記割り込み印刷の指示があると、ジョブ管理テーブル20から対応する印刷ジョブの情報を読み出し、受信タスク15、描画タスク16、及び排紙タスク17に割り込み印刷の指示があったことを通知する。   When the job control task 18 has received an interrupt print instruction, the job control task 18 reads the corresponding print job information from the job management table 20, and the reception task 15, the drawing task 16, and the paper discharge task 17 have received an interrupt print instruction. To be notified.

受信タスク15では上記割り込み印刷の指示があると、図9に示すフローチャートの判断(S3)が開始に変わり、上記割り込み印刷の指示に応じて印刷データの格納先をハードディスク12に変更する(S22)。すなわち、先の印刷ジョブの印刷データは割込み印刷指示が操作入力された以後ハードディスク12に格納され(S4)、この処理が繰り返される(S5)。また、ジョブコントロールタスク18は当該印刷ジョブの印刷データの格納先がハードディスク12に変更されたことをジョブ管理テーブル20の「受信データ格納先」の記憶エリアに書き込む。   In the reception task 15, when there is an interrupt printing instruction, the determination in the flowchart shown in FIG. 9 (S3) is changed to start, and the print data storage destination is changed to the hard disk 12 in accordance with the interrupt printing instruction (S22). . That is, the print data of the previous print job is stored in the hard disk 12 after an interrupt print instruction is input (S4), and this process is repeated (S5). Further, the job control task 18 writes in the storage area of “reception data storage destination” of the job management table 20 that the storage location of the print data of the print job has been changed to the hard disk 12.

一方、割り込み印刷ジョブについても、受信タスク15は図12に示すフローチャートの判断(ST4)をYESに変更し、上記割り込み印刷の指示以後受信される印刷データの格納先をRAM6に変更する(ST23)。この処理によって、以後の割り込み印刷ジョブの印刷データはRAM6に格納され(ST5)、上記処理が繰り返される(ST6)。   On the other hand, also for the interrupt print job, the reception task 15 changes the judgment (ST4) in the flowchart shown in FIG. 12 to YES, and changes the storage location of the print data received after the interrupt print instruction to the RAM 6 (ST23). . Through this process, the print data of the subsequent interrupt print job is stored in the RAM 6 (ST5), and the above process is repeated (ST6).

また、描画タスク16も上記割り込み印刷の指示があると、以下の処理を行なう。先ず先の印刷データについて、図10に示すフローチャートの判断(ST9)を開始に変更し、印刷データの読み込み先をハードディスク12に変更し(S23)、生成した画像データの格納先をRAM6の補助記憶バッファ、及びハードディスク12に変更し(ST24)、以後作成した画像データを補助記憶バッファに格納する(S10〜S16)。尚、生成した画像データを最初RAM6の補助記憶バッファに格納する理由は、前述の説明と同様である。   The drawing task 16 also performs the following processing when the interrupt printing instruction is given. First, for the previous print data, the judgment in the flowchart shown in FIG. 10 (ST9) is changed to start, the print data read destination is changed to the hard disk 12 (S23), and the storage location of the generated image data is stored in the auxiliary storage of the RAM 6. The buffer is changed to the hard disk 12 (ST24), and the image data created thereafter is stored in the auxiliary storage buffer (S10 to S16). The reason why the generated image data is first stored in the auxiliary storage buffer of the RAM 6 is the same as described above.

一方、割り込み印刷ジョブについては、図13に示すフローチャートの判断(ST10)がYESに変わり、以後印刷データの読み込み先をRAM6に変更し(ST24)、生成した画像データの格納先もRAM6に変更し(ST25)、印刷データのコマンド解析や描画処理を実行する(ST11〜ST17)。   On the other hand, for the interrupt print job, the determination in the flowchart shown in FIG. 13 (ST10) is changed to YES, the print data reading destination is changed to the RAM 6 (ST24), and the storage destination of the generated image data is also changed to the RAM 6. (ST25) Print command analysis and drawing processing are executed (ST11 to ST17).

また、排紙タスク17は先の印刷ジョブに関しては、図11にフローチャートに従って、印刷行列の生成画像データの格納先を判断し、以後ハードディスク12から対応する画像データを読み込み、用紙への印刷出力を行う(S25)。一方、割り込み印刷ジョブに関しては、図14に示すフローチャートに従って、印刷行列の生成画像データの格納先を判断し、以後RAM6から対応する画像データを読み込み、用紙への印刷出力を行う(ST26)。   Further, the paper discharge task 17 determines the storage destination of the generated image data of the print matrix for the previous print job in accordance with the flowchart in FIG. 11, reads the corresponding image data from the hard disk 12 and prints it on paper. Perform (S25). On the other hand, for the interrupt print job, the storage destination of the generated image data of the print matrix is determined according to the flowchart shown in FIG. 14, and the corresponding image data is read from the RAM 6 and printed on paper (ST26).

割り込み印刷の指示があった場合、上記のように処理することによって、割り込み印刷ジョブについては、上記割り込み印刷の指示以後RAM6を使用して印刷データの受信処理を行ない、RAM6に格納した印刷データを読み出し、コマンド解析を行なった後の画像データもRAM6に格納し、排紙タスク17によって用紙に迅速に印刷出力し、排紙することができる。   When an interrupt print instruction is issued, the process described above is performed, and for the interrupt print job, after the interrupt print instruction, the print data is received using the RAM 6 and the print data stored in the RAM 6 is stored. Image data after reading and command analysis is also stored in the RAM 6, and can be quickly printed out on paper by the paper discharge task 17 and discharged.

一方、先の印刷ジョブについては、上記割り込み印刷の指示以後ハードディスク12を使用して印刷データの受信処理を行ない、ハードディスク12に格納した印刷データを読み出し、コマンド解析を行なった後の画像データもハードディスク12に格納し、排紙タスク17によって上記割り込み印刷ジョブの印刷出力と並行して、印刷出力を行うことができる。   On the other hand, for the previous print job, print data reception processing is performed using the hard disk 12 after the interrupt print instruction, the print data stored in the hard disk 12 is read, and the image data after command analysis is also stored on the hard disk. 12 and the paper output task 17 can perform print output in parallel with the print output of the interrupt print job.

また、本例のプリンタ装置1では、描画タスク16は印刷ジョブ毎に描画処理スレッドを立ち上げ、印刷行列を生成し、印刷行列に生成された画像データの情報に従って、排紙タスク17による印刷出力が順次行われるので、割り込み印刷ジョブの場合、優先的に印刷処理を迅速に行うことができる。
尚、割り込み印刷ジョブが終了すると、ジョブコントロールタスク18から割り込み印刷修了の通知が受信タスク15、描画タスク16、及び排紙タスク17に出力され、受信タスク15は先の印刷ジョブに関する印刷データの格納先を変更する。すなわち、図9に示すフローチャートの判断(S3)が終了となり、以後先の印刷データの格納先をRAM6の受信バッファに戻す(S26)。この処理によって、以後の先の印刷ジョブの印刷データはRAM6に格納される(S4、S5)。
Further, in the printer apparatus 1 of this example, the drawing task 16 activates a drawing processing thread for each print job, generates a print matrix, and prints out by the paper discharge task 17 according to the information of the image data generated in the print matrix. Are sequentially performed, and therefore, in the case of an interrupt print job, it is possible to quickly perform print processing preferentially.
When the interrupt print job ends, the job control task 18 outputs an interrupt print completion notification to the reception task 15, the drawing task 16, and the paper discharge task 17, and the reception task 15 stores print data relating to the previous print job. Change the destination. That is, the determination (S3) in the flowchart shown in FIG. 9 is completed, and the storage location of the previous print data is returned to the reception buffer of the RAM 6 (S26). Through this process, the print data of the subsequent print job is stored in the RAM 6 (S4, S5).

また、描画タスク16も上記割り込み処理が終了すると(S9が終了)、印刷データの読み込み先をRAM6に戻し(S27)、生成した画像データの格納先もRAM6に戻し(S28)、以後作成した画像データをRAM6の画像バッファに格納する(S10〜S16)。
以上のように処理することによって、割込み印刷処理を行った場合でも、先の印刷ジョブの印刷処理を中断することなく、割り込み印刷ジョブと並行して印刷処理を行うことができる。
In addition, when the interrupt processing is completed for the drawing task 16 (S9 ends), the print data reading destination is returned to the RAM 6 (S27), and the storage destination of the generated image data is also returned to the RAM 6 (S28). Data is stored in the image buffer of the RAM 6 (S10 to S16).
By performing the processing as described above, even when the interrupt print processing is performed, the print processing can be performed in parallel with the interrupt print job without interrupting the print processing of the previous print job.

次に、図1に示す優先コードテーブル22を使用した印刷処理について説明する。この処理は前述の図1に示すジョブ管理テーブル20の「優先コード」の記憶エリアに優先コードをセットし、印刷ジョブの処理を行う際、対応する印刷ジョブの「優先コード」を読み出し、優先コードテーブル22を参照して印刷処理を行うものである。
図17はジョブ管理テーブル20の「優先コード」の記憶エリアに優先コードをセットする処理を説明するフローチャートであり、図18は優先コードテーブル22の構成を説明する図である。以下、具体的に説明する。
Next, a printing process using the priority code table 22 shown in FIG. 1 will be described. In this process, when a priority code is set in the “priority code” storage area of the job management table 20 shown in FIG. 1 and a print job is processed, the “priority code” of the corresponding print job is read and the priority code is read. The printing process is performed with reference to the table 22.
FIG. 17 is a flowchart for explaining processing for setting a priority code in the “priority code” storage area of the job management table 20, and FIG. 18 is a diagram for explaining the configuration of the priority code table 22. This will be specifically described below.

先ず、図17に示すフローチャートに従って、受信タスク15は印刷ジョブの受信処理を開始し(ステップ(以下、STPで示す)1)、印刷データを受信すると(STP2)、受信した印刷データの中のコマンドから優先順位を記録した優先コードを読み出す(STP3)。例えば、ホスト機器においてプリンタドライバにより作成された印刷データのヘッダ部には上記ホスト機器を用いて印刷データを作成したユーザの所望、即ち、印刷の緊急度に応じた優先コードや、印刷枚数、印刷したい用紙の種別に応じた排紙口等の指定情報が記述されており、受信タスク15はこのヘッダ部に記述されたコマンドの中から優先コードの情報を読み出し、ジョブコントロールタスク18を介してジョブ管理テーブル20の「優先コード」の記憶エリアにセットする(STP4)。   First, according to the flowchart shown in FIG. 17, the reception task 15 starts a print job reception process (step (hereinafter referred to as STP) 1). When print data is received (STP2), a command in the received print data is received. The priority code recording the priority order is read out from (STP3). For example, in the header part of the print data created by the printer driver in the host device, the priority code, the number of prints, and the prints desired by the user who created the print data using the host device, that is, the printing urgency level Designation information such as a paper outlet is described according to the type of paper to be received, and the reception task 15 reads the priority code information from the commands described in the header part, and the job is sent via the job control task 18. It is set in the “priority code” storage area of the management table 20 (STP4).

その後、当該印刷ジョブの印刷データを受信し、前述の処理に従ってRAM6又はハードディスク12に印刷データを格納する(STP5、STP6)。また、この印刷データの受信処理は、受信データの入力が終了するまで継続される(STP7)。
上記処理によって、ジョブ管理テーブル20の「優先コード」の記憶エリアには、ホスト機器PC1〜PC4からの印刷ジョブ毎に対応する印刷ジョブの優先コードがセットされる。
Thereafter, the print data of the print job is received, and the print data is stored in the RAM 6 or the hard disk 12 according to the above-described processing (STP5, STP6). The print data reception process is continued until the input of the received data is completed (STP7).
As a result of the processing described above, the priority code of the print job corresponding to each print job from the host devices PC1 to PC4 is set in the “priority code” storage area of the job management table 20.

一方、優先コードテーブル22には、図18に示すように優先コードに対応する情報が記憶されている。例えば、優先コード“0”は、強制優先ジョブであり、受信優先度は“10”であり、受信データの格納先はアクセス速度の速いRAM6である。また、描画優先度も“10”であり、画像データの生成先もRAM6であり、排紙優先度も“10”である。また、優先コード“2”は優先ジョブであり、受信優先度は“8”であり、受信データの格納先はRAM6である。また、描画優先度も“8”であり、画像データの生成先もRAM6であり、排紙優先度も“8”である。また、優先コード“3”は、通常ジョブであり、受信優先度は“5”であり、受信データの格納先はRAM6である。また、描画優先度も“5”であり、画像データの生成先もRAM6であり、排紙優先度も“5”である。   On the other hand, the priority code table 22 stores information corresponding to the priority code as shown in FIG. For example, the priority code “0” is a forced priority job, the reception priority is “10”, and the storage destination of the received data is the RAM 6 having a high access speed. Also, the drawing priority is “10”, the image data generation destination is the RAM 6, and the paper discharge priority is “10”. The priority code “2” is a priority job, the reception priority is “8”, and the storage destination of the received data is the RAM 6. Further, the drawing priority is “8”, the image data generation destination is also the RAM 6, and the paper discharge priority is “8”. The priority code “3” is a normal job, the reception priority is “5”, and the storage destination of the reception data is the RAM 6. Further, the drawing priority is “5”, the image data generation destination is also the RAM 6, and the paper discharge priority is “5”.

一方、優先コード“4”は、例えば割り込まれた印刷ジョブに対応し、受信優先度は“1”であり、受信データの格納先は、上記RAM6よりアクセス速度の遅いハードディスク12である。また、描画優先度は“2”であり、画像データの生成先もハードディスク12であり、排紙優先度は“3”である。
尚、停止ジョブや、紙無しジョブ、待機ジョブ、同IPジョブ、別IPジョブ、手動設定についても、図18に示す通り、優先コード“1”や、“5”、“6”、“7”、“8”、“9”の設定が行われ、対応する受信優先度や描画優先度等は同図に示す通りである。尚、上記同IPジョブとは、例えば同じIPアドレスのホスト機器からの優先コードを示し、別IPジョブとは、例えば異なるIPアドレスのホスト機器からの優先コードを示し、手動設定とは、例えばユーザが前述のパネル操作部14を操作して、受信優先度や描画優先度の設定を行った場合の優先コードを示す。
また、上記受信優先度や描画優先度の数値は、優先コードに対応して設定された重み付けであり、受信タスク15や描画タスク16等が行なう受信処理や描画処理等の処理回数を示すものではない。
On the other hand, the priority code “4” corresponds to the interrupted print job, for example, the reception priority is “1”, and the storage destination of the received data is the hard disk 12 whose access speed is slower than the RAM 6. The drawing priority is “2”, the image data generation destination is also the hard disk 12, and the paper discharge priority is “3”.
Note that priority codes “1”, “5”, “6”, and “7” are also set for stop jobs, no-paper jobs, standby jobs, the same IP jobs, different IP jobs, and manual settings as shown in FIG. , “8”, “9” are set, and the corresponding reception priority and drawing priority are as shown in FIG. The same IP job indicates a priority code from a host device having the same IP address, for example, and another IP job indicates a priority code from a host device having a different IP address, for example. Manual setting is, for example, a user Indicates a priority code when the reception priority and the drawing priority are set by operating the panel operation unit 14 described above.
The numerical values of the reception priority and the drawing priority are weights set corresponding to the priority codes, and do not indicate the number of times of reception processing or drawing processing performed by the reception task 15 or the drawing task 16 or the like. Absent.

尚、図19は、例えば前述の割り込み印刷の指示が行われた場合のように、印刷処理の優先順位が変更されるイベントが発生した場合にジョブ管理テーブル20の書換えを行う処理を説明するフローチャートである。すなわち、先の印刷ジョブの印刷処理中、印刷処理の優先順位が変更されるイベントが発生した場合(STP8、STP9がYES)、当該イベントに対応した優先コードを「優先コード」の記憶エリアにセットする(STP10)。   FIG. 19 is a flowchart for explaining processing for rewriting the job management table 20 when an event for changing the priority order of printing processing occurs, for example, when the above-described interrupt printing instruction is issued. It is. That is, when an event that changes the priority of print processing occurs during the print processing of the previous print job (YES in STP8 and STP9), the priority code corresponding to the event is set in the “priority code” storage area. (STP10).

図20は上記ジョブ管理テーブル20に設定された優先コードを使用した印刷処理を説明するフローチャートである。尚、同図に示すフローチャートは、4つのソケット、及びUSBI/F10からの印刷データの受信がある場合の例である。
先ず、受信タスク15は、第1ソケットの受信処理を行い(ステップ(以下、Wで示す)1)、以後第2ソケット、第3ソケット、第4ソケットの受信処理を順次行い(W2〜W4)、更にUSBI/F10からの印刷データの受信処理を行う(W5)。この処理はプリンタ装置1が起動している間、繰り返される(W6)。
FIG. 20 is a flowchart for explaining print processing using the priority code set in the job management table 20. The flowchart shown in the figure is an example in the case where print data is received from four sockets and the USB I / F 10.
First, the reception task 15 performs reception processing for the first socket (step (hereinafter referred to as W) 1), and thereafter sequentially performs reception processing for the second socket, the third socket, and the fourth socket (W2 to W4). Further, a process for receiving print data from the USB I / F 10 is performed (W5). This process is repeated while the printer apparatus 1 is activated (W6).

また、図21に示すフローチャートは、上記各ソケットの処理内容を具体的に説明するものである。例えば、第1ソケットの受信処理の場合、受信タスク15は受信する印刷データがあるか判断し(W1−1)、受信する印刷データがある場合(W1−1がYES)、ジョブ管理テーブル20の対応する印刷ジョブの「優先コード」の記憶エリアから優先コードを読み込み(W1−2)、他の実行中の印刷ジョブの優先コードと比較し、ループ回数を算出する(W1−3、W1−4)。   Further, the flowchart shown in FIG. 21 specifically explains the processing contents of each socket. For example, in the case of the reception processing of the first socket, the reception task 15 determines whether there is print data to be received (W1-1), and if there is print data to be received (W1-1 is YES), the job management table 20 The priority code is read from the storage area of the “priority code” of the corresponding print job (W1-2), compared with the priority code of another print job being executed, and the loop count is calculated (W1-3, W1-4). ).

例えば、対応する印刷ジョブの優先コードが“0”である場合、優先コードテーブル22を参照すると強制優先ジョブであり、受信優先度は“10”である。この場合、他の実行中の印刷ジョブの優先コードが、例えば“3”の通常ジョブであれば、対応する優先コードの情報を優先コードテーブル22から読み出し、他の実行中の印刷ジョブとの比較によってループ回数を算出する。
そして、印刷データの受信処理を行い、指定されたRAM6又はハードディスク12に印刷データを格納し(W1−5)、上記計算によって取得した回数分印刷データの受信処理を繰り返す(W1−6)。
尚、次に実行する第2ソケットの受信処理の場合も同様であり、受信する印刷データがあれば(W2−1がYES)、ジョブ管理テーブル20の対応する「優先コード」の記憶エリアから優先コードを読み込み(W2−2)、他の実行中の印刷ジョブの優先コードと比較し、ループ回数を算出し(W2−3、W2−4)、上記計算によって取得した回数分印刷データの受信処理を繰り返す(W2−5、W2−6)。
第3ソケット以降の受信処理の場合も同様であり、受信タスク15がこのように印刷データの受信処理を行うことによって、優先度が高い印刷ジョブほど受信回数が多くなり、優先度に従った印刷データの受信処理が行なわれる。
For example, if the priority code of the corresponding print job is “0”, referring to the priority code table 22 indicates a forced priority job, and the reception priority is “10”. In this case, if the priority code of another print job being executed is a normal job of “3”, for example, the corresponding priority code information is read from the priority code table 22 and compared with the other print job being executed. To calculate the number of loops.
Then, a print data reception process is performed, the print data is stored in the designated RAM 6 or hard disk 12 (W1-5), and the print data reception process is repeated for the number of times obtained by the above calculation (W1-6).
The same applies to the reception processing of the second socket to be executed next, and if there is print data to be received (W2-1 is YES), priority is given from the storage area of the corresponding “priority code” in the job management table 20. Reads the code (W2-2), compares it with the priority code of another print job being executed, calculates the number of loops (W2-3, W2-4), and receives the print data for the number of times obtained by the above calculation Is repeated (W2-5, W2-6).
The same applies to the reception processing after the third socket. When the reception task 15 performs the print data reception processing in this way, the higher the priority of the print job, the higher the number of receptions, and the printing according to the priority. Data reception processing is performed.

一方、図22は排紙タスク17の処理を説明するフローチャートであり、受信タスク15の場合と同様、ジョブ管理テーブル20から優先コードの情報を読み込み(ステップ(以下、Uで示す)1)、他の実行中の印刷ジョブの優先コードとの比較を行い、ループ回数の算出を行う(U2、U3)。そして、印刷行列に作成された画像データがあれば(U4がYES)、用紙への印刷出力を行い、指定された排紙口に排紙する(U5)。その後、上記処理を算出した回数分繰り返す(U6)。   On the other hand, FIG. 22 is a flowchart for explaining the processing of the paper discharge task 17. As in the case of the reception task 15, the priority code information is read from the job management table 20 (step (hereinafter indicated by U) 1), Is compared with the priority code of the print job being executed, and the loop count is calculated (U2, U3). If there is image data created in the print matrix (U4 is YES), the print output on the paper is performed, and the paper is discharged to the designated paper discharge port (U5). Thereafter, the above process is repeated for the calculated number of times (U6).

例えば、対応する印刷ジョブの優先コードが“2”である場合、優先コードテーブル22から優先ジョブであることが分かり、排紙優先度は“8”である(U1)。この場合、他の実行中の印刷ジョブの優先コードが“4”の割り込まれた印刷ジョブであれば、この他の実行中の印刷ジョブとの比較によって排紙のループ回数を算出し(U2、U3)、RAM6又はハードディスク12に作成済みの画像データがあれば(U4がYES)、当該画像データの印刷出力を用紙に行い、指定される排紙口に排紙する(U5)。そして、上記計算によって得られた回数分印刷出力を繰り返す(U6)。したがって、優先度が高い印刷ジョブほど迅速な排紙処理を行うことができる。   For example, when the priority code of the corresponding print job is “2”, it is known from the priority code table 22 that the job is a priority job, and the discharge priority is “8” (U1). In this case, if the priority code of another print job being executed is an interrupted print job, the number of paper discharge loops is calculated by comparison with the other print job being executed (U2,. U3) If there is already created image data in the RAM 6 or the hard disk 12 (U4 is YES), the image data is printed out on a sheet and discharged to a designated discharge outlet (U5). Then, the print output is repeated for the number of times obtained by the above calculation (U6). Therefore, it is possible to perform a quick paper discharge process for a print job with a higher priority.

以上のように処理することによって、例えば印刷データに付加した優先コードに従って受信処理や描画処理の処理回数を変更し、印刷データの優先度に合わせた効率の良い印刷処理を行うことができる。
尚、上記説明では優先コードを使用した描画タスク16における描画処理について、具体的に説明していないが、図20及び図21に示す受信処理と同様、描画スレッドの処理を優先順位に従って計算したループ回数実行することによって、優先度が高い印刷ジョブほど迅速な描画処理を行うことができる。
By performing the processing as described above, it is possible to change the number of reception processing and drawing processing according to the priority code added to the print data, for example, and perform efficient print processing according to the priority of the print data.
Although the drawing process in the drawing task 16 using the priority code is not specifically described in the above description, the loop in which the drawing thread process is calculated according to the priority order as in the reception process shown in FIGS. By executing the number of times, a print job with a higher priority can be performed more quickly.

本発明はいくつかの実施形態を説明したが、本発明は特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下、本件特許出願の出願当初の特許請求の範囲に記載された発明を付記する。   Although several embodiments of the present invention have been described, the present invention is included in the inventions described in the claims and their equivalents. Hereinafter, the invention described in the scope of claims at the beginning of the filing of the present patent application will be added.

付記1
複数の印刷ジョブを同時に受信する受信部と、
前記複数の印刷ジョブを同時に処理し、各印刷ジョブに対応する画像データを作成する画像データ作成部と、
作成された複数の前記画像データを記録媒体に印刷出力する印刷出力部と、
前記受信部で受信した第1の印刷ジョブを記憶すると共に、前記画像データ作成部で作成された前記第1の印刷ジョブに対応する画像データを記憶する第1の記憶部と、
前記第1の記憶部よりアクセス速度が遅く前記受信部で受信した第2の印刷ジョブを記憶すると共に、前記画像データ作成部で作成された前記第2の印刷ジョブに対応する画像データを記憶する第2の記憶部と、
割り込み印刷の指示に従って、前記第1の記憶部に記憶させていた前記第1の印刷ジョブに対するデータを前記割り込み印刷の指示に応じて前記第2の記憶部に記憶させ、前記第2の記憶部に記憶させていた割り込み印刷ジョブに対するデータを前記割り込み印刷の指示に応じて前記第1の記憶部に記憶させる制御部と、
を有することを特徴とする印刷装置。
Appendix 1
A receiver for receiving a plurality of print jobs simultaneously;
An image data creation unit for simultaneously processing the plurality of print jobs and creating image data corresponding to each print job;
A print output unit for printing out the plurality of created image data on a recording medium;
A first storage unit that stores the first print job received by the reception unit and stores image data corresponding to the first print job created by the image data creation unit;
The second print job received by the receiving unit is slower in access speed than the first storage unit, and the image data corresponding to the second print job created by the image data creation unit is stored. A second storage unit;
According to an instruction for interrupt printing, data for the first print job stored in the first storage unit is stored in the second storage unit in accordance with the instruction for interrupt printing, and the second storage unit A control unit that stores data for the interrupt print job stored in the first storage unit in response to the interrupt print instruction;
A printing apparatus comprising:

付記2
前記割り込み印刷の指示は、前記印刷装置に設けられたパネル操作部からの操作信号に従って行われることを特徴とする付記1に記載の印刷装置。
Appendix 2
The printing apparatus according to claim 1, wherein the interrupt printing instruction is issued according to an operation signal from a panel operation unit provided in the printing apparatus.

付記3
前記第1の記憶部には補助記憶部が設けられ、前記第2の記憶部に記憶する画像データを一旦前記第1の記憶部に記憶し、所定量の画像データを記憶すると、該画像データを前記第2の記憶部に転送し、該第2の記憶部に記憶させることを特徴とする付記1、又は2に記載の印刷装置。
Appendix 3
The first storage unit is provided with an auxiliary storage unit, and once the image data stored in the second storage unit is stored in the first storage unit and a predetermined amount of image data is stored, the image data Is transferred to the second storage unit, and is stored in the second storage unit.

付記4
前記画像データ作成部は前記印刷ジョブ毎に描画スレッドを立ち上げ、該描画スレッド毎に印刷行列を作成し、各印刷ジョブの画像データ作成処理を行うことを特徴とする付記1、2、又は3に記載の印刷装置。
Appendix 4
The image data creation unit starts a drawing thread for each print job, creates a print matrix for each drawing thread, and performs image data creation processing for each print job. The printing apparatus as described in.

付記5
前記印刷ジョブ毎に指定された優先順位を記憶する優先順位記憶部を有し、該優先順位に従って前記印刷ジョブに対応するデータを前記第1、又は第2の記憶部に記憶することを特徴とする付記1、2、3、又は4に記載の印刷装置。
Appendix 5
A priority storage unit that stores a priority order designated for each print job, and stores data corresponding to the print job in the first or second storage unit according to the priority order; The printing apparatus according to appendix 1, 2, 3, or 4.

付記6
前記優先順位に従って前記受信部が行う複数の印刷ジョブの受信回数の設定を行い、前記優先順位に従って前記画像データ作成部が行う複数の印刷ジョブの画像データ作成処理の処理回数の設定を行い、前記優先順位に従って前記印刷出力部が行う画像データの出力回数の設定を行い、前記設定回数に従って前記受信部は印刷ジョブの受信処理を行い、前記画像データ作成部は前記印刷ジョブの画像データ作成処理を行い、前記印刷出力部は前記画像データの印刷出力処理を行う、ことを特徴とする付記5に記載の印刷装置。
Appendix 6
Set the number of receptions of a plurality of print jobs performed by the receiving unit according to the priority order, set the number of processing times of image data creation processing of the plurality of print jobs performed by the image data creation unit according to the priority order, According to the priority order, the number of output times of the image data performed by the print output unit is set, the reception unit performs a print job reception process according to the set number of times, and the image data creation unit performs the image data creation process of the print job. The printing apparatus according to appendix 5, wherein the print output unit performs print output processing of the image data.

付記7
前記優先順位は、前記割り込み指示に基づいて設定されることを特徴とする付記5、又は6に記載の印刷装置。
Appendix 7
The printing apparatus according to appendix 5 or 6, wherein the priority is set based on the interrupt instruction.

付記8
複数の印刷ジョブを同時に受信する受信処理と、
前記複数の印刷ジョブを同時に処理し、各印刷ジョブに対応する画像データを作成する画像データ作成処理と、
前記画像データ作成処理された複数の画像データを記録媒体に印刷出力する印刷出力処理と、
前記受信処理によって受信した第1の印刷ジョブを第1の記憶部に記憶すると共に、前記画像データ作成処理された前記第1の印刷ジョブに対応する画像データを前記第1の記憶部に記憶する第1の記憶処理と、
前記受信処理によって受信した第2の印刷ジョブを前記第1の記憶部よりアクセス速度の遅い第2の記憶部に記憶すると共に、前記画像データ作成部で作成処理された前記第2の印刷ジョブに対応する画像データを前記第2の記憶部に記憶する第2の記憶処理と、
割り込み印刷の指示に従って、前記第1の記憶部に記憶させていた前記第1の印刷ジョブに対するデータを前記割り込み印刷の指示に応じて前記第2の記憶部に記憶させ、前記第2の記憶部に記憶させていた割り込み印刷ジョブに対するデータを前記割り込み印刷の指示に応じて前記第1の記憶部に記憶させる制御処理と、
を行うことを特徴とする印刷方法。
Appendix 8
A reception process for simultaneously receiving a plurality of print jobs;
Image data creation processing for simultaneously processing the plurality of print jobs and creating image data corresponding to each print job;
Print output processing for printing out a plurality of image data on which the image data creation processing has been performed on a recording medium;
The first print job received by the reception process is stored in a first storage unit, and the image data corresponding to the first print job that has been subjected to the image data creation process is stored in the first storage unit. A first storage process;
The second print job received by the reception process is stored in the second storage unit having an access speed slower than that of the first storage unit, and the second print job created by the image data creation unit is stored in the second print job. A second storage process for storing corresponding image data in the second storage unit;
According to an instruction for interrupt printing, data for the first print job stored in the first storage unit is stored in the second storage unit in accordance with the instruction for interrupt printing, and the second storage unit Control processing for storing data for the interrupt print job stored in the first storage unit in response to the interrupt print instruction;
A printing method characterized in that:

付記9
前記印刷ジョブ毎の優先順位を記憶する優先順位記憶部を有し、該優先順位に従って前記印刷ジョブに対応するデータを前記第1、又は第2の記憶部に記憶することを特徴とする付記8に記載の印刷方法。
Appendix 9
A supplementary note storage unit that stores a priority order for each print job, and stores data corresponding to the print job in the first or second storage unit in accordance with the priority order. The printing method as described in.

付記10
前記優先順位に従って受信部が行う複数の印刷ジョブの受信回数の設定を行い、前記優先順位に従って画像データ作成部が行う複数の印刷ジョブの画像データ作成処理の処理回数の設定を行い、前記優先順位に従って印刷出力部が行う画像データの出力回数の設定を行い、前記設定回数に従って前記受信部は印刷ジョブの受信処理を行い、前記画像データ作成部は前記印刷ジョブの画像データ作成処理を行い、前記印刷出力部は前記画像データの印刷出力処理を行う、ことを特徴とする付記9に記載の印刷方法。
Appendix 10
Set the number of receptions of a plurality of print jobs performed by the receiving unit according to the priority order, set the number of processing times of image data creation processing of the plurality of print jobs performed by the image data creation unit according to the priority order, and set the priority order The output number of image data to be performed by the print output unit is set according to the above, the receiving unit performs a print job reception process according to the set number of times, the image data creation unit performs the image data creation process of the print job, The printing method according to appendix 9, wherein the print output unit performs print output processing of the image data.

1・・・プリンタ装置
2・・・CPU
3・・・オペレーションパネル
4・・・ROM
5・・・EEPROM
6・・・RAM
7・・・プリンタ制御LSI
8・・・ネットワークI/F
9・・・エンジン部
10・・USBI/F
11・・外部記憶装置I/F
12・・ハードディスク
13・・パネル表示部
14・・パネル操作部
15・・受信タスク
16・・描画タスク
17・・排紙タスク
18・・ジョブコントロールタスク
19・・オペハネタスク
20・・ジョブ管理テーブル
22・・優先コードテーブル
DESCRIPTION OF SYMBOLS 1 ... Printer apparatus 2 ... CPU
3 ... Operation panel 4 ... ROM
5 ... EEPROM
6 ... RAM
7 ... Printer control LSI
8 ... Network I / F
9 ... Engine 10 ... USB I / F
11..External storage device I / F
12 .. Hard disk 13 .. Panel display unit 14 .. Panel operation unit 15 .. Reception task 16 .. Drawing task 17 .. Discharge task 18 .. Job control task 19 .. Operation task 20 .. Job management table 22・ Priority code table

Claims (7)

第一の記憶部と、
前記第一の記憶部よりもアクセス速度の遅い第二の記憶部と、
印刷ジョブを受信する受信部と、
前記第一の記憶部または前記第二の記憶部を用い、前記受信部により受信した印刷ジョブに基づいて描画処理する描画処理部と、
を備え、
前記描画処理部は、前記第一の記憶部を用いた描画処理中に他の印刷ジョブを優先処理するとした割り込み印刷の指示があった場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記他の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする印刷装置。
A first storage unit;
A second storage unit having a lower access speed than the first storage unit;
A receiving unit for receiving a print job;
A drawing processing unit that performs drawing processing based on a print job received by the receiving unit using the first storage unit or the second storage unit;
With
When there is an interrupt print instruction that preferentially processes another print job during the drawing process using the first storage unit, the drawing processing unit draws the print job during the drawing process. while continuing processing the continuation of the image drawing processing to the storage unit from the first storage unit is switched to the second storage unit used in the processing, the storage unit used for the drawing process with respect to the other print jobs A printing apparatus configured to execute drawing processing by being set in a first storage unit.
前記描画処理部は、前記他の印刷ジョブに対する描画処理が終了した場合に、描画処理に用いる記憶部が前記第一の記憶部から前記第二の記憶部に切り換えられた印刷ジョブに対して描画処理に用いる記憶部を前記第二の記憶部から前記第一の記憶部に戻し該描画処理の続きを継続処理ことを特徴とする請求項1に記載の印刷装置。 The drawing processing unit draws a print job in which a storage unit used for the drawing process is switched from the first storage unit to the second storage unit when drawing processing for the other print job is completed. the printing apparatus according to claim 1, characterized in that the storage unit to be used for processing from said second storage unit you continue processing the rest of the back Shi image drawing process on the first storage unit. 前記描画処理部は、前記第一の記憶部を用いた描画処理中に前記受信部により新たな印刷ジョブが受信された場合に、該新たな印刷ジョブに対して前記割り込み印刷の指示がなければ該描画処理中の印刷ジョブに対しては前記第一の記憶部を用いた描画処理の続きを継続処理するとともに前記新たな印刷ジョブに対しては描画処理に用いる記憶部を前記第二の記憶部に設定して描画処理を実行することを特徴とする請求項1または2に記載の印刷装置。 The drawing processing unit, when a new print job is received by the receiving unit during the drawing process using the first storage unit, if there is no instruction for the interrupt printing for the new print job. the second storage to the storage unit used for the drawing process for the new print job with respect to the print job in image drawing process continues processing the continuation of the drawing process using the first storage unit The printing apparatus according to claim 1, wherein a drawing process is executed by setting the setting in a section. 第一の記憶部と、
前記第一の記憶部よりもアクセス速度の遅い第二の記憶部と、
印刷ジョブを受信しその印刷ジョブに含まれる優先順位を取得する受信部と、
前記第一の記憶部または前記第二の記憶部を用い、前記受信部により受信した印刷ジョブに基づいて描画処理する描画処理部と、
を備え、
前記描画処理部は、前記第一の記憶部を用いた描画処理中に前記受信部により新たな印刷ジョブが受信された際に、前記受信部により取得された該新たな印刷ジョブの優先順位が該描画処理中の印刷ジョブの優先順位より高い場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記新たな印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする印刷装置。
A first storage unit;
A second storage unit having a lower access speed than the first storage unit;
A receiving unit for receiving a print job and obtaining a priority order included in the print job ;
A drawing processing unit that performs drawing processing based on a print job received by the receiving unit using the first storage unit or the second storage unit;
With
The drawing processing unit when Do print job was new Ri by said receiver during a drawing process using the first storage unit is received, of the new print job acquired by the receiving section When the priority is higher than the priority of the print job being drawn, the storage unit used for the drawing process is changed from the first storage to the second storage for the print job being drawn. while continuing processing the continuation of the image drawing processing is switched, printing said for new print job and executes the settings to the drawing processing to the storage unit used for the drawing process in the first storage unit apparatus.
前記描画処理部は、前記新たな印刷ジョブに対する描画処理が終了した場合に、描画処理に用いる記憶部が前記第一の記憶部から前記第二の記憶部に切り換えられた印刷ジョブに対して描画処理に用いる記憶部を前記第二の記憶部から前記第一の記憶部に戻し該描画処理の続きを継続処理ことを特徴とする請求項4に記載の印刷装置。 When the drawing process for the new print job is completed, the drawing processing unit draws the print job in which the storage unit used for the drawing process is switched from the first storage unit to the second storage unit. the printing apparatus according to claim 4, characterized in that the storage unit to be used for processing from said second storage unit you continue processing the rest of the back Shi image drawing process on the first storage unit. 印刷ジョブを受信する受信ステップと、
第一の記憶部または前記第一の記憶部よりもアクセス速度の遅い第二の記憶部を用い、前記受信ステップにより受信した印刷ジョブに基づいて描画処理する描画処理ステップと、
を有し、
前記描画処理ステップは、前記第一の記憶部を用いた描画処理中に他の印刷ジョブを優先処理するとした割り込み印刷の指示があった場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記他の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする印刷方法。
A receiving step for receiving a print job;
Using a first storage unit or a second storage unit having an access speed slower than that of the first storage unit, and performing a drawing process step based on the print job received by the receiving step ;
Have
In the drawing process step, when there is an interrupt printing instruction that preferentially processes another print job during the drawing process using the first storage unit, the drawing process step performs drawing for the print job in the drawing process. while continuing processing the continuation of the image drawing processing to the storage unit from the first storage unit is switched to the second storage unit used in the processing, the storage unit used for the drawing process with respect to the other print jobs A printing method comprising: performing drawing processing by setting in a first storage unit.
印刷ジョブを受信しその印刷ジョブに含まれる優先順位を取得する受信ステップと、
第一の記憶部または前記第一の記憶部よりもアクセス速度の遅い第二の記憶部を用い、前記受信ステップにより受信した印刷ジョブに基づいて描画処理する描画処理ステップと、
を有し、
前記描画処理ステップは、前記第一の記憶部を用いた描画処理中に前記受信部により新たな印刷ジョブが受信された際に、前記受信ステップにより取得された該新たな印刷ジョブの優先順位が該描画処理中の印刷ジョブの優先順位より高い場合に、該描画処理中の印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部から前記第二の記憶部に切り換えて該描画処理の続きを継続処理するとともに、前記新たな印刷ジョブに対しては描画処理に用いる記憶部を前記第一の記憶部に設定して描画処理を実行することを特徴とする印刷方法。
A receiving step for receiving a print job and obtaining a priority included in the print job ;
Using a first storage unit or a second storage unit having an access speed slower than that of the first storage unit, and performing a drawing process step based on the print job received by the receiving step ;
Have
The drawing processing step, when the first print job Do was new Ri by said receiver during a drawing process using a storage unit of is received, of the new print job acquired by the reception step When the priority is higher than the priority of the print job being drawn, the storage unit used for the drawing process is changed from the first storage to the second storage for the print job being drawn. while continuing processing the continuation of the image drawing processing is switched, printing said for new print job and executes the settings to the drawing processing to the storage unit used for the drawing process in the first storage unit Method.
JP2011216404A 2011-09-30 2011-09-30 Printing apparatus and printing method Expired - Fee Related JP5906643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011216404A JP5906643B2 (en) 2011-09-30 2011-09-30 Printing apparatus and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011216404A JP5906643B2 (en) 2011-09-30 2011-09-30 Printing apparatus and printing method

Publications (3)

Publication Number Publication Date
JP2013075419A JP2013075419A (en) 2013-04-25
JP2013075419A5 JP2013075419A5 (en) 2014-11-06
JP5906643B2 true JP5906643B2 (en) 2016-04-20

Family

ID=48479281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011216404A Expired - Fee Related JP5906643B2 (en) 2011-09-30 2011-09-30 Printing apparatus and printing method

Country Status (1)

Country Link
JP (1) JP5906643B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6038769B2 (en) * 2013-12-27 2016-12-07 京セラドキュメントソリューションズ株式会社 Image forming apparatus and image forming program
JP6384675B2 (en) * 2015-09-29 2018-09-05 京セラドキュメントソリューションズ株式会社 Image forming apparatus and job execution program
JP7494546B2 (en) 2020-04-17 2024-06-04 コニカミノルタ株式会社 Image forming apparatus, control method for image forming apparatus, and control program for image forming apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2875725B2 (en) * 1993-11-19 1999-03-31 キヤノン株式会社 Print control device and print control method
JP3632726B2 (en) * 1997-12-09 2005-03-23 セイコーエプソン株式会社 Image forming apparatus and image forming method
JP2004088596A (en) * 2002-08-28 2004-03-18 Canon Inc Information input/output apparatus and information input/output method
JP3821147B2 (en) * 2004-10-25 2006-09-13 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus and image forming system
JP4760235B2 (en) * 2005-09-01 2011-08-31 富士ゼロックス株式会社 Image forming system, image forming apparatus, and image reading apparatus
JP5300346B2 (en) * 2008-06-30 2013-09-25 キヤノン株式会社 Image forming apparatus and image forming method

Also Published As

Publication number Publication date
JP2013075419A (en) 2013-04-25

Similar Documents

Publication Publication Date Title
US8502995B2 (en) Printing method to load filter dynamically and recordable medium with program to execute the printing method and host apparatus
JPH10340165A (en) Information processing device and method, and memory medium
JP5782865B2 (en) Printer driver
JP5713557B2 (en) Printing system, control method, program
JP3007103B2 (en) Printing control device
JP2008254346A (en) Image formation device, program, and recording medium
JP5906643B2 (en) Printing apparatus and printing method
JP4518093B2 (en) Display terminal and print control program
JP2003131836A (en) Spool file processing device, program, and recording medium
US20020054343A1 (en) Print control apparatus, print control method, and memory medium
JP2009199419A (en) Computer, print control program, and printer controller
JP4481041B2 (en) Printing device
JP3054230B2 (en) Printing apparatus and print control method
JP2006079393A (en) Printing system and job control method therefor
JP2006175813A (en) Printer, printing method and the program
JP2010134772A (en) Information processing apparatus and information processing method
JP2009301312A (en) Printer driver
JP2001290623A (en) Device and method for controlling distributed printing and recording medium
JP3380598B2 (en) Double-sided printing control method and printing control device
CN107544761B (en) Image forming apparatus and information processing method
JPH1097391A (en) Printer system and print control method
JP2017068396A (en) Electronic apparatus, information processing method, and program
JP3474185B2 (en) Double-sided printing control method and printing control device
JP5062750B2 (en) Image forming apparatus
JP3474184B2 (en) Double-sided printing control method and printing control device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140924

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150812

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151014

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: 20160223

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160307

R150 Certificate of patent or registration of utility model

Ref document number: 5906643

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees