JP5716379B2 - Print control apparatus, print control method and program thereof - Google Patents

Print control apparatus, print control method and program thereof Download PDF

Info

Publication number
JP5716379B2
JP5716379B2 JP2010283563A JP2010283563A JP5716379B2 JP 5716379 B2 JP5716379 B2 JP 5716379B2 JP 2010283563 A JP2010283563 A JP 2010283563A JP 2010283563 A JP2010283563 A JP 2010283563A JP 5716379 B2 JP5716379 B2 JP 5716379B2
Authority
JP
Japan
Prior art keywords
print data
print
buffer
data
processing unit
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
JP2010283563A
Other languages
Japanese (ja)
Other versions
JP2012133485A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2010283563A priority Critical patent/JP5716379B2/en
Publication of JP2012133485A publication Critical patent/JP2012133485A/en
Application granted granted Critical
Publication of JP5716379B2 publication Critical patent/JP5716379B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

本発明は、印刷制御装置、印刷制御方法及びそのプログラムに関する。   The present invention relates to a print control apparatus, a print control method, and a program therefor.

従来、印刷制御装置としては、複数の印刷ジョブを出力量の調整により印刷処理するものが提案されている(例えば、特許文献1参照)。この装置では、印刷ジョブの処理中にジョブ出力割合の設定が可能である。このジョブ出力割合を受けたプリンタコントローラーは、印刷ジョブの処理中に次の印刷ジョブを受信すると処理中の印刷ジョブに設定されたジョブ出力割合の値に応じて処理中のジョブに対するイメージデータ出力量を低下させる。そして、低下させた分の出力量を次のジョブに割り当てる制御を行うことにより、大量印刷ジョブの次の印刷ジョブを割り込ませて印刷することができる、としている。   2. Description of the Related Art Conventionally, as a print control apparatus, an apparatus that prints a plurality of print jobs by adjusting an output amount has been proposed (for example, see Patent Document 1). With this apparatus, it is possible to set a job output ratio during processing of a print job. When the printer controller receives this job output ratio and receives the next print job during the processing of the print job, the amount of image data output for the job being processed according to the value of the job output ratio set for the print job being processed Reduce. Then, by performing control for assigning the reduced output amount to the next job, it is possible to interrupt and print the next print job of the mass print job.

特開2006−163678号公報JP 2006-163678 A

ところで、特許文献1に記載された印刷制御装置などでは、例えば、オペレーティングシステムのスプーラーを用いてスプールした印刷データをプリンターへ送信して印刷処理を行うことがある。このような場合、例えば、スプーラーに印刷データ容量などの制約や、プリンターのメモリ量の制約などがあることがあり、印刷データがこれらの容量の制約を超える場合などには、印刷処理を継続して実行できない場合があった。このため、より確実に印刷処理を実行させることが望まれていた。   By the way, in the print control apparatus described in Patent Document 1, for example, print data spooled using a spooler of an operating system may be transmitted to a printer to perform print processing. In such a case, for example, the spooler may have restrictions such as print data capacity or printer memory capacity. If the print data exceeds these capacity restrictions, the print processing will continue. In some cases, it could not be executed. For this reason, it has been desired to execute the printing process more reliably.

本発明は、このような課題に鑑みなされたものであり、より確実に印刷処理を実行させることができる印刷制御装置、印刷制御方法及びそのプログラムを提供することを主目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a print control apparatus, a print control method, and a program for executing a print process more reliably.

本発明は、上述の主目的を達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve the main object described above.

本発明の印刷制御装置は、
印刷対象である印刷ジョブを印刷処理する印刷装置へデータ通信可能に接続された印刷制御装置であって、
前記印刷ジョブの一部に相当する印刷データを生成する処理を実行する画像処理部と、
データを記憶する記憶部に前記生成された印刷データをバッファさせるバッファ処理部と、
前記印刷データの前記記憶部へのバッファとは非同期に該記憶部から該印刷データを読み出し該読み出した印刷データを前記印刷装置側へ出力するデータ出力部と、
を備えたものである。
The print control apparatus of the present invention includes:
A printing control device connected to a printing device for printing a print job to be printed so that data communication is possible;
An image processing unit for executing processing for generating print data corresponding to a part of the print job;
A buffer processing unit for buffering the generated print data in a storage unit for storing data;
A data output unit that reads the print data from the storage unit asynchronously with the buffer of the print data to the storage unit, and outputs the read print data to the printing apparatus;
It is equipped with.

この印刷制御装置では、印刷ジョブの一部に相当する印刷データを生成し、生成した印刷データを記憶部にバッファし、印刷データのバッファとは非同期に記憶部から印刷データを読み出し、読み出した印刷データを印刷装置側へ出力する。このように、印刷ジョブの部分ごとに印刷データをバッファするため、例えば大容量の印刷ジョブなどをスプールする際に生じうる記憶量の制限などの制約に影響されずに印刷データを生成することができる。また、印刷データの生成処理と印刷データの出力処理とが非同期で実行されるため、例えば、一方にトラブルが生じても互いに干渉せずに処理を継続することができる。したがって、より確実に印刷処理を実行させることができる。ここで、画像処理部は、例えば、前記印刷ジョブとしてのアプリケーションプログラムのデータファイルから変換することにより前記印刷データを生成してもよいし、前記印刷装置で取り扱い可能な印刷ジョブから変換することにより前記印刷データを生成してもよい。また、前記印刷データは、印刷対象である印刷ジョブの全体を印刷可能なデータに変換した変換後データのうち少なくとも一部のデータであるものとしてもよい。   In this print control apparatus, print data corresponding to a part of a print job is generated, the generated print data is buffered in the storage unit, the print data is read from the storage unit asynchronously with the print data buffer, and the read print Output the data to the printer side. As described above, since the print data is buffered for each part of the print job, the print data can be generated without being affected by restrictions such as a storage amount limitation that may occur when spooling a large-capacity print job, for example. it can. Further, since the print data generation process and the print data output process are executed asynchronously, for example, even if a trouble occurs in one of the processes, the processes can be continued without interfering with each other. Therefore, the printing process can be executed more reliably. Here, for example, the image processing unit may generate the print data by converting from a data file of an application program as the print job, or by converting from a print job that can be handled by the printing apparatus. The print data may be generated. The print data may be at least a part of converted data obtained by converting the entire print job to be printed into printable data.

本発明の印刷制御装置において、前記バッファ処理部は、前記記憶部のバッファ量を監視し、前記印刷データのバッファ量が所定の第1閾値を超えたときには、単位時間あたりの印刷データのバッファ量をより低減させる第1制限処理を実行するものとしてもよい。こうすれば、記憶部のバッファ量が増加する傾向にある場合に、記憶部のバッファ量の増加を抑制することができる。このため、バッファ量をより適正なものとすることが可能であり、より確実に印刷処理を実行させることができる。このとき、前記バッファ処理部は、前記印刷データのバッファを完了した際に前記画像処理部へバッファ完了応答を行い、前記画像処理部は、前記バッファ完了応答を受けて次の印刷データの生成処理を実行するものであり、前記バッファ処理部は、前記第1制限処理を実行するに際して、所定の第1待機時間を経過したのちに前記バッファ完了応答を行うものとしてもよい。こうすれば、バッファ完了応答を待機させることによって、より容易に記憶部のバッファ量の増加を抑制することができる。ここで、「所定の第1待機時間」は、例えば、印刷装置の記憶容量や印刷装置の印刷速度、印刷データの生成速度に応じて経験的に求めるものとしてもよい。例えば、所定の第1待機時間は、単位時間あたりの印刷データの出力量よりも単位時間あたりの印刷データの生成量が上回る時間に設定されているものとしてもよい。こうすれば、印刷装置側で印刷データの受信待ちとなりにくく、印刷処理を効率よく実行することができる。   In the print control apparatus of the present invention, the buffer processing unit monitors the buffer amount of the storage unit, and when the buffer amount of the print data exceeds a predetermined first threshold, the buffer amount of the print data per unit time It is good also as what performs the 1st restriction | limiting process which reduces more. In this way, when the buffer amount of the storage unit tends to increase, an increase in the buffer amount of the storage unit can be suppressed. For this reason, it is possible to make the buffer amount more appropriate, and the print processing can be executed more reliably. At this time, the buffer processing unit sends a buffer completion response to the image processing unit when the buffering of the print data is completed, and the image processing unit receives the buffer completion response and generates next print data The buffer processing unit may perform the buffer completion response after a predetermined first waiting time has elapsed when executing the first limiting process. By so doing, it is possible to more easily suppress an increase in the buffer amount of the storage unit by waiting for a buffer completion response. Here, the “predetermined first standby time” may be determined empirically according to, for example, the storage capacity of the printing apparatus, the printing speed of the printing apparatus, and the generation speed of print data. For example, the predetermined first waiting time may be set to a time in which the amount of print data generated per unit time exceeds the amount of print data output per unit time. In this way, it is difficult for the printing apparatus to wait for reception of print data, and print processing can be executed efficiently.

第1制限処理を実行する態様の本発明の印刷制御装置において、前記第1閾値は、前記印刷装置の印刷データの記憶容量に基づいて定められているものとしてもよい。こうすれば、印刷装置側へ出力されるデータ量を印刷装置の記憶容量により近いものとしやすい。このため、印刷装置でより確実に印刷処理を実行しやすい。ここで、第1閾値は、印刷装置の印刷データの記憶容量に定められているものとしてもよいし、印刷装置の印刷データの記憶容量の近傍、例えば印刷装置の印刷データの記憶容量の7割や8割などに定められていてもよい。   In the print control apparatus according to the aspect of the invention that executes the first restriction process, the first threshold value may be determined based on a storage capacity of print data of the printing apparatus. In this way, it is easy to make the amount of data output to the printing apparatus closer to the storage capacity of the printing apparatus. For this reason, it is easy to execute the printing process more reliably in the printing apparatus. Here, the first threshold value may be set to the print data storage capacity of the printing apparatus, or in the vicinity of the print data storage capacity of the printing apparatus, for example, 70% of the print data storage capacity of the printing apparatus. Or 80%.

第1制限処理を実行する態様の本発明の印刷制御装置において、前記バッファ処理部は、前記記憶部のバッファ量を監視し、前記印刷データのバッファ量が前記第1閾値より大きな所定の第2閾値を超えたときには、単位時間あたりの印刷データのバッファ量を前記第1制限処理よりも大きく制限した第2制限処理を実行するものとしてもよい。こうすれば、第1制限処理によっても記憶部のバッファ量が増加する傾向にある場合でも、第2制限によって記憶部のバッファ量の増加を更に抑制することができる。このため、印刷データのバッファ量を第1閾値から第2閾値の間の範囲にしやすく、記憶容量の制限などを考慮して、より確実に印刷処理を実行させることができる。ここで、例えば、第2閾値は、印刷制御装置の記憶容量に基づいて定めるものとしてもよい。例えば、第1閾値を印刷装置の記憶容量に基づいて定め、第2閾値を印刷制御装置の記憶容量に基づいて定めたものとすれば、印刷データのバッファ量が両者の装置の記憶容量の範囲となりやすく好適であり、一層確実に印刷処理を実行させることができる。このとき、前記バッファ処理部は、前記印刷データのバッファを完了した際に前記画像処理部へバッファ完了応答を行い、前記画像処理部は、前記バッファ完了応答を受けて次の印刷データの生成処理を実行するものであり、前記バッファ処理部は、前記第1制限処理を実行するに際して所定の第1待機時間を経たのちに前記バッファ完了応答を行い、前記第2制限処理を実行するに際して、前記第1待機時間よりも長い所定の第2待機時間を経過したのちに前記バッファ完了応答を行うものとしてもよい。こうすれば、バッファ完了応答を更に待機させることによって、より容易に記憶部のバッファ量の増加を抑制することができる。ここで、「所定の第2待機時間」は、例えば、印刷装置の記憶容量や印刷装置の印刷速度、印刷データの生成速度、所定の第1待機時間に応じて経験的に求めるものとしてもよい。例えば、所定の第2待機時間は、単位時間あたりの印刷データのバッファ量を第1制限処理よりも大きく制限するものの、単位時間あたりの印刷データの出力量よりも単位時間あたりの印刷データの生成量が上回る時間に設定されているものとしてもよい。こうすれば、第2制限処理の実行により単位時間あたりの印刷データのバッファ量がより抑制されても、印刷装置側で印刷データの受信待ちとなりにくく、印刷処理を効率よく実行することができる。   In the print control apparatus according to the aspect of the invention that executes the first restriction process, the buffer processing unit monitors the buffer amount of the storage unit, and the buffer amount of the print data is larger than the first threshold. When the threshold value is exceeded, a second restriction process in which the buffer amount of print data per unit time is restricted to be larger than the first restriction process may be executed. In this way, even if the buffer amount of the storage unit tends to increase due to the first restriction process, the increase of the buffer amount of the storage unit can be further suppressed by the second restriction. For this reason, it is easy to make the buffer amount of the print data within the range between the first threshold value and the second threshold value, and it is possible to execute the print processing more reliably in consideration of the limitation of the storage capacity. Here, for example, the second threshold value may be determined based on the storage capacity of the print control apparatus. For example, if the first threshold value is determined based on the storage capacity of the printing apparatus and the second threshold value is determined based on the storage capacity of the print control apparatus, the buffer amount of the print data is within the storage capacity range of both apparatuses. It is easy to become, and it is suitable, and can perform a printing process more reliably. At this time, the buffer processing unit sends a buffer completion response to the image processing unit when the buffering of the print data is completed, and the image processing unit receives the buffer completion response and generates next print data The buffer processing unit performs the buffer completion response after a predetermined first waiting time when executing the first limiting process, and executes the second limiting process when performing the second limiting process. The buffer completion response may be performed after a predetermined second waiting time longer than the first waiting time has elapsed. By so doing, it is possible to more easily suppress an increase in the buffer amount of the storage unit by further waiting for a buffer completion response. Here, the “predetermined second standby time” may be determined empirically according to, for example, the storage capacity of the printing apparatus, the printing speed of the printing apparatus, the generation speed of print data, and the predetermined first standby time. . For example, although the predetermined second waiting time limits the print data buffer amount per unit time to be larger than that in the first restriction process, the print data generation per unit time is larger than the print data output amount per unit time. It is good also as what is set to the time when quantity exceeds. In this way, even when the buffer amount of the print data per unit time is further suppressed by executing the second restriction process, it is difficult for the printing apparatus to wait for reception of the print data, and the print process can be executed efficiently.

本発明の印刷制御装置において、前記データ出力部は、前記読み出した印刷データをオペレーティングシステムのスプールシステムによるスプール処理を介さずに前記印刷装置側へ出力するものとしてもよい。例えば、スプールシステムによるスプール処理には、印刷ジョブの容量の上限など制限が設けられていることがあるが、ここでは、スプール処理を介さずダイレクトに印刷データを印刷装置側へ出力するから、スプール処理の制限を受けることなく、より確実に印刷処理を実行させることができる。   In the print control apparatus of the present invention, the data output unit may output the read print data to the printing apparatus side without going through a spool process by a spool system of an operating system. For example, the spool processing by the spool system may have restrictions such as the upper limit of the print job capacity. However, here, since the print data is output directly to the printing apparatus without going through the spool processing, the spool processing The printing process can be executed more reliably without being restricted by the process.

本発明の印刷制御装置において、前記バッファ処理部は、オペレーティングシステムのスプールシステムによるスプール処理での許容容量を超える印刷データを前記印刷装置側へ出力する際に、前記印刷データを前記記憶部にバッファさせるものとしてもよい。こうすれば、スプールシステムの許容容量の制限で印刷処理が実行できない場合でも、印刷ジョブの一部分ずつを印刷装置に出力することにより、確実に印刷処理を実行させることができる。   In the print control apparatus of the present invention, the buffer processing unit buffers the print data in the storage unit when outputting print data exceeding an allowable capacity in spool processing by the spool system of the operating system to the printing device side. It is good also as what makes it. In this way, even when the printing process cannot be executed due to the limitation of the allowable capacity of the spool system, the printing process can be surely executed by outputting a part of the print job to the printing apparatus.

本発明の印刷制御方法は、
印刷対象である印刷ジョブを印刷処理する印刷装置へデータ通信可能に接続された印刷制御装置が実行する印刷制御方法であって、
(a)前記印刷ジョブの一部に相当する印刷データを生成する処理を実行するステップと、
(b)データを記憶する記憶部に前記生成された印刷データをバッファさせるステップと、
(c)前記印刷データの前記記憶部へのバッファとは非同期に該記憶部から該印刷データを読み出し該読み出した印刷データを前記印刷装置側へ出力するステップと、
を含むものである。
The printing control method according to the present invention includes:
A print control method executed by a print control device connected to a printing device that performs print processing of a print job that is a print target so that data communication is possible,
(A) executing a process of generating print data corresponding to a part of the print job;
(B) buffering the generated print data in a storage unit for storing data;
(C) reading the print data from the storage unit asynchronously with the buffer of the print data in the storage unit, and outputting the read print data to the printing apparatus side;
Is included.

この印刷制御方法では、上述した印刷制御装置と同様に、印刷ジョブの部分ごとに印刷データをバッファするため、例えば大容量の印刷ジョブなどをスプールする際に生じうる記憶量の制限などの制約に影響されずに印刷データを生成することができる。また、印刷データの生成処理と印刷データの出力処理とが非同期で実行されるため、例えば、一方にトラブルが生じても互いに干渉せずに処理を継続することができる。したがって、より確実に印刷処理を実行させることができる。なお、この印刷制御方法において、上述した印刷制御装置の種々の態様を採用してもよいし、また、上述した印刷制御装置の各機能を実現するようなステップを追加してもよい。   In this print control method, as with the print control apparatus described above, print data is buffered for each portion of the print job. For this reason, there is a limitation on the storage amount that can occur when spooling a large-volume print job, for example. Print data can be generated without being affected. Further, since the print data generation process and the print data output process are executed asynchronously, for example, even if a trouble occurs in one of the processes, the processes can be continued without interfering with each other. Therefore, the printing process can be executed more reliably. In this print control method, various aspects of the above-described print control apparatus may be adopted, and steps for realizing each function of the above-described print control apparatus may be added.

本発明のプログラムは、上述した印刷制御方法の各ステップを1又は複数のコンピューターに実現させるためのものである。このプログラムは、コンピューターが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピューターから別のコンピューターへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピューターに実行させるか又は複数のコンピューターに各ステップを分担して実行させれば、上述した印刷制御方法の各ステップが実行されるため、この印刷制御方法と同様の作用効果が得られる。   The program of the present invention is for causing one or more computers to realize each step of the above-described print control method. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.) or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by a single computer or if each step is shared and executed by a plurality of computers, each step of the above-described print control method is executed. Therefore, the same effect as this print control method can be obtained. can get.

プリンターシステム10の構成の概略の一例を示す構成図。1 is a configuration diagram illustrating an example of a schematic configuration of a printer system. 印刷制御処理ルーチンの一例を示すフローチャート。5 is a flowchart illustrating an example of a print control processing routine. エラー発生時の処理及び通信の様子をシーケンシャルに示す説明図。Explanatory drawing which shows the process at the time of error generation, and the mode of communication sequentially. データ処理速度を低減する処理の様子をシーケンシャルに示す説明図。Explanatory drawing which shows the mode of the process which reduces a data processing speed sequentially. 経過時間と印刷データのバッファ量との関係の一例の説明図。FIG. 5 is an explanatory diagram illustrating an example of a relationship between elapsed time and a print data buffer amount. 終了時の処理及び通信の様子をシーケンシャルに示す説明図。Explanatory drawing which shows the process at the time of completion | finish, and the mode of communication sequentially.

次に、本発明の実施の形態を図面を用いて説明する。図1は、本実施形態であるプリンターシステム10の構成の概略の一例を示す構成図である。本実施形態のプリンターシステム10は、図1に示すように、ロール紙36から引き出された記録紙Sにインクを吐出して印刷対象である印刷ジョブの印刷処理を行うプリンター20と、プリンター20へデータ通信可能に接続され印刷データを出力する印刷制御装置の機能を有するプリンター用パソコン(PC)40とを備えている。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram illustrating an example of a schematic configuration of a printer system 10 according to the present embodiment. As shown in FIG. 1, the printer system 10 according to the present embodiment ejects ink onto the recording paper S drawn from the roll paper 36 and performs printing processing of a print job to be printed. And a printer personal computer (PC) 40 having a function of a print control device that is connected so as to be capable of data communication and outputs print data.

プリンター20は、大容量の印刷データを大判の記録紙S(例えばA0サイズなど)に印刷する大判印刷処理を実行可能な大型の印刷装置として構成されている。プリンター20は、装置全体をコントロールするコントローラー11と、インクを記録紙Sに吐出する印刷機構21と、駆動モーター33により駆動され記録紙Sを搬送する紙送りローラー35を含む紙送り機構30とを備えている。コントローラー11は、CPU12を中心とするマイクロプロセッサとして構成されており、各種処理プログラムを記憶しデータを書き換え可能なフラッシュROM13と、一時的にデータを記憶したりデータを保存したりするRAM14などを備えている。このコントローラー11は、プリンター用PC40からの印刷データを受信すると共に、印刷処理を実行するよう印刷機構21や紙送り機構30を制御する。印刷機構21は、キャリッジベルト32によりキャリッジ軸28に沿って左右(主走査方向)に往復動するキャリッジ22と、インクに圧力をかけノズル23からインク滴を吐出する印刷ヘッド24と、各色のインクを収容しこの収容したインクを印刷ヘッド24へ供給するカートリッジ25と、を備えている。印刷ヘッド24は、キャリッジ22の下部に設けられており、圧電素子に電圧をかけることによりこの圧電素子を変形させてインクを加圧する方式により、印刷ヘッド24の下面に設けられたノズル23から各色のインクを吐出するものである。なお、インクへ圧力をかける機構は、ヒーターの熱による気泡の発生によるものとしてもよい。カートリッジ25は、シアン(C)・マゼンタ(M)・イエロー(Y)・ブラック(K)などの各色のインクを個別に収容している。   The printer 20 is configured as a large-sized printing apparatus capable of executing a large-format printing process for printing large-capacity print data on a large-sized recording sheet S (for example, A0 size). The printer 20 includes a controller 11 that controls the entire apparatus, a printing mechanism 21 that discharges ink onto the recording paper S, and a paper feeding mechanism 30 that includes a paper feeding roller 35 that is driven by a drive motor 33 and conveys the recording paper S. I have. The controller 11 is configured as a microprocessor centered on the CPU 12, and includes a flash ROM 13 that can store various processing programs and can rewrite data, and a RAM 14 that temporarily stores data and stores data. ing. The controller 11 receives print data from the printer PC 40 and controls the print mechanism 21 and the paper feed mechanism 30 to execute print processing. The printing mechanism 21 includes a carriage 22 that reciprocates left and right (main scanning direction) along a carriage shaft 28 by a carriage belt 32, a print head 24 that applies pressure to ink and ejects ink droplets from nozzles 23, and inks of various colors. And a cartridge 25 for supplying the accommodated ink to the print head 24. The print head 24 is provided at the lower part of the carriage 22, and each color is applied from the nozzle 23 provided on the lower surface of the print head 24 by applying a voltage to the piezoelectric element to deform the piezoelectric element and pressurize the ink. The ink is discharged. The mechanism for applying pressure to the ink may be based on the generation of bubbles due to the heat of the heater. The cartridge 25 individually accommodates ink of each color such as cyan (C), magenta (M), yellow (Y), and black (K).

プリンター用PC40は、ユーザーが使用する情報処理装置及び印刷制御装置として構成された汎用パソコンである。このプリンター用PC40は、装置全体の制御を司るコントローラー41と、各種アプリケーションプログラムや各種データファイルを記憶する大容量メモリであるHDD45と、プリンター20などの外部機器とのデータの入出力を行うネットワークインターフェイス(I/F)46とを備えている。コントローラー41は、各種制御を実行するCPU42や各種制御プログラムを記憶するフラッシュROM43、データを一時記憶するRAM44などを備えている。また、プリンター用PC40は、ユーザーが各種指令を入力するキーボード及びマウス等の入力装置47や、各種情報を表示するディスプレイ48などを備えている。このプリンター用PC40は、ディスプレイ48に表示されたカーソル等をユーザーが入力装置47を介して入力操作するとその入力操作に応じた動作を実行する機能を有している。コントローラー41やHDD45、I/F46、入力装置47、ディスプレイ48などは、バス49によって電気的に接続され、各種制御信号やデータのやり取りができるよう構成されている。   The printer PC 40 is a general-purpose personal computer configured as an information processing apparatus and a print control apparatus used by a user. The printer PC 40 includes a controller 41 that controls the entire apparatus, an HDD 45 that is a large-capacity memory that stores various application programs and various data files, and a network interface that inputs and outputs data with external devices such as the printer 20. (I / F) 46. The controller 41 includes a CPU 42 that executes various controls, a flash ROM 43 that stores various control programs, a RAM 44 that temporarily stores data, and the like. The printer PC 40 includes an input device 47 such as a keyboard and a mouse for a user to input various commands, a display 48 for displaying various information, and the like. The printer PC 40 has a function of executing an operation corresponding to the input operation when the user inputs the cursor or the like displayed on the display 48 via the input device 47. The controller 41, the HDD 45, the I / F 46, the input device 47, the display 48, and the like are electrically connected via a bus 49 so that various control signals and data can be exchanged.

このプリンター用PC40のHDD45には、図示しないアプリケーションプログラムや、印刷ドライバー50、スプールシステム58などが格納されている。印刷ドライバー50は、アプリケーションプログラム側から受けた印刷ジョブをプリンター20で直接印刷処理可能な印刷データへ変換してプリンター20側へ出力(送信)するプログラムである。この印刷ドライバー50は、印刷データを生成する画像処理部52と、バッファ処理部55及びデータ出力部56を含む印刷データ制御部54とを有している。印刷データ制御部54は、生成した印刷データをRAM44にバッファさせるバッファ処理部55と、印刷データのバッファとは非同期にRAM44から該印刷データを読み出し、読み出した印刷データをプリンター20へ出力するデータ出力部56と、を有している。画像処理部52は、アプリケーションプログラムから受けた印刷ジョブの全部又は一部に相当する印刷データを生成し、印刷データ制御部54又はスプールシステム58へ出力する機能を有している。印刷データ制御部54は、印刷ジョブをスプールシステム58へ出力するか、印刷データへ変換してバッファするかを切り替える機能を有している。バッファ処理部55は、画像処理部52から受けた印刷データをRAM44へバッファすると共に、RAM44に記憶された印刷データのバッファ量を監視する機能を有している。データ出力部56は、印刷データのバッファとは非同期に、プリンター20のRAM14の状態に応じてRAM44から印刷データを読み出してI/F46を介してプリンター20へ出力する機能を有している。この画像処理部52や印刷データ制御部54(バッファ処理部55及びデータ出力部56)は、それぞれ、プログラムとしての画像処理モジュール、印刷データ制御モジュール(バッファ処理モジュール及びデータ出力モジュール)として印刷ドライバー50に組み込まれている。そして、これらのモジュールがコントローラー41により実行されることによりそれぞれ上述した機能を発現するものとした。スプールシステム58は、図示しないオペレーティングシステムに組み込まれた印刷に関するシステムであり、印刷ジョブをひとまとまりの印刷データとしてRAM44又はHDD45にスプールする機能を有するスプール処理部59を有している。このスプールシステム58は、印刷データの容量にオペレーティングシステム上の制約が設けられており、所定容量以内(例えば数GB以内など)の印刷データを処理可能となっている。なお、例えば、印刷ジョブは、アプリケーションプログラムに応じたデータであって文字データなどのベクタデータを含むものとしてもよいし、印刷データは、プリンター20の各色のインクに応じたラスタデータなどとしてもよい。   The HDD 45 of the printer PC 40 stores application programs (not shown), a print driver 50, a spool system 58, and the like. The print driver 50 is a program that converts a print job received from the application program side into print data that can be directly printed by the printer 20 and outputs (transmits) the print job to the printer 20 side. The print driver 50 includes an image processing unit 52 that generates print data, and a print data control unit 54 that includes a buffer processing unit 55 and a data output unit 56. The print data control unit 54 reads out the print data from the RAM 44 asynchronously with the buffer processing unit 55 for buffering the generated print data in the RAM 44, and outputs the read print data to the printer 20. Part 56. The image processing unit 52 has a function of generating print data corresponding to all or part of a print job received from an application program and outputting the print data to the print data control unit 54 or the spool system 58. The print data control unit 54 has a function of switching whether a print job is output to the spool system 58 or converted into print data and buffered. The buffer processing unit 55 has a function of buffering the print data received from the image processing unit 52 in the RAM 44 and monitoring the buffer amount of the print data stored in the RAM 44. The data output unit 56 has a function of reading the print data from the RAM 44 in accordance with the state of the RAM 14 of the printer 20 and outputting it to the printer 20 via the I / F 46 asynchronously with the print data buffer. The image processing unit 52 and the print data control unit 54 (buffer processing unit 55 and data output unit 56) are an image processing module as a program and a print driver 50 as a print data control module (buffer processing module and data output module), respectively. Built in. These modules are executed by the controller 41 to express the functions described above. The spool system 58 is a printing-related system incorporated in an operating system (not shown), and has a spool processing unit 59 having a function of spooling a print job as a set of print data to the RAM 44 or the HDD 45. The spool system 58 is limited in terms of operating system in the capacity of print data, and can process print data within a predetermined capacity (for example, within several GB). For example, the print job may be data corresponding to the application program and include vector data such as character data, and the print data may be raster data corresponding to each color ink of the printer 20. .

次に、こうして構成された本実施形態のプリンター20の動作について、特に印刷対象である印刷ジョブを印刷データに変換してプリンター20に印刷させる処理について説明する。図2は、コントローラー41のCPU42により実行される印刷制御処理ルーチンの一例を示すフローチャートである。このルーチンは、HDD45に記憶され、印刷処理の実行指令が入力されたあとに実行される。印刷処理の実行指令は、例えば、ディスプレイ48に表示された、図示しないアプリケーションプログラムの編集画面上で画像データを編集したあと、この画面上に表示された印刷実行ボタンをクリックすることにより入力されるものとしてもよい。また、印刷制御処理は、バッファ処理部55及びデータ出力部56など印刷データ制御部54や画像処理部52の各機能によって実行される。ここで、詳しくは後述するが、印刷データの生成処理や印刷データのバッファ処理、印刷データのプリンター20への出力処理は非同期で別々に実行されるが、処理全体の概要を理解しやすいことから、1つの印刷制御処理ルーチンとして以下説明する。   Next, regarding the operation of the printer 20 of the present embodiment configured as described above, a process for converting a print job to be printed into print data and causing the printer 20 to print will be described. FIG. 2 is a flowchart illustrating an example of a print control processing routine executed by the CPU 42 of the controller 41. This routine is stored in the HDD 45, and is executed after a print processing execution command is input. The print processing execution command is input by, for example, editing image data on an application program editing screen (not shown) displayed on the display 48 and then clicking a print execution button displayed on the screen. It may be a thing. The print control process is executed by each function of the print data control unit 54 and the image processing unit 52 such as the buffer processing unit 55 and the data output unit 56. Although details will be described later, the print data generation process, the print data buffer process, and the print data output process to the printer 20 are executed separately asynchronously, but it is easy to understand the outline of the entire process. One print control process routine will be described below.

このルーチンを実行すると、CPU42は、入力した印刷ジョブがオペレーティングシステムで規定されている印刷データの許容容量以内であるか否かを判定する(ステップS100)。許容容量以内であるときには、印刷ジョブをスプールシステム58へ出力し(ステップS110)、このルーチンを終了する。印刷ジョブを受けたスプールシステム58では、スプール処理部59により、変換された印刷データをひとまとまりのデータとしてRAM44又はHDD45にスプールする処理を行う。また、スプールした印刷データをプリンター20のRAM14の空き状態に応じてプリンター20へ出力し、印刷処理を実行させるものとした。なお、印刷データへの変換は画像処理部52が実行するものとした。印刷処理では、プリンター20は、紙送りローラー35によりロール紙36から引き出した記録紙Sを印刷ヘッド24に対向するように搬送し、印刷データに基づいてノズル23からインクを記録紙Sへ吐出する処理を行う。このように、印刷データの全データ量がスプールシステム58の許容容量以内であるときには、オペレーティングシステムのスプール機能により印刷を実行する。   When this routine is executed, the CPU 42 determines whether or not the input print job is within the allowable capacity of the print data defined by the operating system (step S100). If it is within the allowable capacity, the print job is output to the spool system 58 (step S110), and this routine is terminated. In the spool system 58 that has received the print job, the spool processing unit 59 performs a process of spooling the converted print data to the RAM 44 or the HDD 45 as a set of data. Further, the spooled print data is output to the printer 20 according to the empty state of the RAM 14 of the printer 20 to execute the printing process. Note that the conversion to print data is executed by the image processing unit 52. In the printing process, the printer 20 conveys the recording paper S drawn from the roll paper 36 by the paper feed roller 35 so as to face the print head 24, and ejects ink from the nozzles 23 to the recording paper S based on the print data. Process. Thus, when the total amount of print data is within the allowable capacity of the spool system 58, printing is executed by the spool function of the operating system.

一方、ステップS100で印刷データ容量が許容容量を超えているとき、即ち、大容量の印刷ジョブであるときには、CPU42は、ステップS120以降の印刷データバッファ出力処理を実行する。印刷データバッファ出力処理では、スプール処理部59によるスプール処理を介さずに、即ち、スプールシステム58をスルーして印刷ジョブの印刷データをプリンター20側へ出力する直接印刷処理モードで動作するものとした。この印刷データバッファ出力処理では、CPU42は、画像処理部52により、印刷ジョブのうち一部に相当する印刷データを生成する処理を行い(ステップS120)、印刷データ制御部54側に印刷データが入力されるまで待機する(ステップS130)。印刷データの生成処理では、1つの印刷ジョブ全体のうち一部分の印刷データを順次生成する処理を行うものとした。印刷データ制御部54側に印刷データが入力されると、バッファ処理部55により、入力した印刷データをRAM44へバッファする処理を行う(ステップS140)。次に、CPU42は、データ出力部56により、プリンター20のRAM14の空き状態に応じて、RAM44にバッファされている印刷データを、ファーストインファーストアウト(FIFO)方式でI/F46を介してプリンター20側へ出力する処理を行う(ステップS150)。この印刷データの出力処理は、印刷データのバッファ処理と非同期で行うものとした。したがって、プリンター20の印刷処理状況によっては、RAM44での印刷データのバッファ量が変動する。ここでは、バッファ処理部55がRAM44のバッファ量を監視するものとした。具体的には、CPU42は、バッファ処理部55の機能により、RAM44にバッファされている印刷データの容量(以下バッファ済容量と称する)が所定の第1閾値内であるか否かを判定する(ステップS160)。この第1閾値は、単位時間あたりに印刷データをバッファするデータ量を調整するための閾値であり、単位時間あたりの印刷データのバッファ量を制限する第1制限処理を実行するための閾値である。この第1閾値は、プリンター20で割り当てられているRAM14での印刷データの記憶容量に基づいて定められているものとしてもよい。ここでは、プリンター20のRAM14での印刷データの記憶容量に定められているものとした。なお、この第1閾値は、例えばRAM14での印刷データの記憶容量の7割や8割に定められていてもよい。   On the other hand, when the print data capacity exceeds the allowable capacity at step S100, that is, when the print job is a large-capacity print job, the CPU 42 executes the print data buffer output process after step S120. In the print data buffer output process, the spool process unit 59 does not go through the spool process, that is, operates in the direct print process mode in which the print data of the print job is output to the printer 20 through the spool system 58. . In this print data buffer output process, the CPU 42 uses the image processing unit 52 to generate print data corresponding to a part of the print job (step S120), and the print data is input to the print data control unit 54 side. It waits until it is done (step S130). In the print data generation process, a process of sequentially generating a part of print data in one entire print job is performed. When print data is input to the print data control unit 54 side, the buffer processing unit 55 performs processing to buffer the input print data in the RAM 44 (step S140). Next, the CPU 42 causes the data output unit 56 to transfer the print data buffered in the RAM 44 to the printer 20 via the I / F 46 in a first-in first-out (FIFO) system according to the empty state of the RAM 14 of the printer 20. The process which outputs to the side is performed (step S150). The print data output process is performed asynchronously with the print data buffer process. Accordingly, the buffer amount of the print data in the RAM 44 varies depending on the print processing status of the printer 20. Here, it is assumed that the buffer processing unit 55 monitors the buffer amount of the RAM 44. Specifically, the CPU 42 determines whether or not the capacity of the print data buffered in the RAM 44 (hereinafter referred to as buffered capacity) is within a predetermined first threshold by the function of the buffer processing unit 55 ( Step S160). The first threshold value is a threshold value for adjusting the data amount for buffering the print data per unit time, and is a threshold value for executing the first limiting process for limiting the buffer amount of the print data per unit time. . The first threshold may be determined based on the storage capacity of print data in the RAM 14 assigned by the printer 20. Here, it is assumed that the storage capacity of the print data in the RAM 14 of the printer 20 is determined. The first threshold value may be set to 70% or 80% of the storage capacity of the print data in the RAM 14, for example.

バッファ済容量が所定の第1閾値内であるときには、バッファが完了した旨の応答を画像処理部52側に応答し(ステップS170)、印刷ジョブが終了したか否かを判定し(ステップS180)、印刷ジョブが終了していないときには上述したステップS120以降の処理を実行する。ここでは、画像処理部52がバッファ完了応答を受けると、ステップS120で次の印刷データを生成する処理を行うものとした。即ち、RAM44にバッファされている印刷データの容量が比較的少ないときには、画像処理部52により次々と印刷データの生成が行われ、バッファ処理部55により次々と印刷データのバッファ処理が行われるのである。一方、ステップS160でバッファ済容量が第1閾値を超えているときには、バッファ済容量が所定の第2閾値内であるか否かを判定する(ステップS190)。この第2閾値は、単位時間あたりの印刷データのバッファ量を調整するための閾値であり、単位時間あたりの印刷データのバッファ量を第1制限処理よりも更に大きく制限する第2制限処理を実行するための閾値である。この第2閾値は、第1閾値よりも大きなデータ容量に定められており、プリンター用PC40で利用可能な印刷データの記憶容量に基づいて定めるものとしてもよく、プリンター用PC40で利用可能な印刷データの記憶容量の7割や8割に定めるものとしてもよい。   When the buffered capacity is within the predetermined first threshold, a response to the effect that the buffer has been completed is returned to the image processing unit 52 side (step S170), and it is determined whether or not the print job is completed (step S180). When the print job has not ended, the processing from step S120 described above is executed. Here, when the image processing unit 52 receives a buffer completion response, it performs processing for generating the next print data in step S120. That is, when the capacity of the print data buffered in the RAM 44 is relatively small, the print data is generated one after another by the image processing unit 52, and the print data is buffered one after another by the buffer processing unit 55. . On the other hand, when the buffered capacity exceeds the first threshold value in step S160, it is determined whether or not the buffered capacity is within a predetermined second threshold value (step S190). The second threshold value is a threshold value for adjusting the buffer amount of the print data per unit time, and executes the second limiting process that limits the buffer amount of the print data per unit time further than the first limiting process. It is a threshold for The second threshold value is set to a data capacity larger than the first threshold value, and may be determined based on the storage capacity of the print data that can be used by the printer PC 40. The print data that can be used by the printer PC 40 It may be set to 70% or 80% of the storage capacity.

ステップS160でバッファ済容量が所定の第1閾値を超え、且つステップS190でバッファ済容量が所定の第2閾値内であるときには、CPU42は、単位時間あたりの印刷データのバッファ量を制限する第1制限処理を実行する。具体的には、CPU42は、バッファ処理部55により、所定の第1待機時間のあいだ待機したあと(ステップS200)、ステップS170でバッファ完了応答を画像処理部52側へ応答し、印刷ジョブが終了していないときには、ステップS120以降の処理を実行する。即ち、バッファ済容量が比較的大きいときには、第1待機時間のあいだ待機したのちに印刷データの生成処理を実行するのである。ここで、第1待機時間は、例えば、プリンター20で利用可能なRAM14の記憶容量や、プリンター20での標準的な印刷速度、画像処理部52での印刷データの生成速度などに応じて経験的に求めるものとしてもよい。例えば、第1待機時間は、データ出力部56での単位時間あたりの印刷データの出力量よりも、画像処理部52での単位時間あたりの印刷データの生成量が上回る時間に設定されているものとしてもよい。こうすれば、プリンター20側で印刷データの受信待ちとなりにくく、印刷処理を効率よく実行することができる。   When the buffered capacity exceeds the predetermined first threshold value in step S160 and the buffered capacity is within the predetermined second threshold value in step S190, the CPU 42 limits the print data buffer amount per unit time. Perform restriction processing. Specifically, the CPU 42 waits for a predetermined first waiting time by the buffer processing unit 55 (step S200), then returns a buffer completion response to the image processing unit 52 side in step S170, and the print job is completed. If not, the processing after step S120 is executed. That is, when the buffered capacity is relatively large, the print data generation process is executed after waiting for the first waiting time. Here, the first standby time is empirically according to, for example, the storage capacity of the RAM 14 that can be used by the printer 20, the standard printing speed of the printer 20, and the generation speed of print data in the image processing unit 52. It is good also as what you ask for. For example, the first standby time is set to a time that exceeds the output amount of print data per unit time in the data output unit 56 than the amount of print data generated in the image processing unit 52 per unit time. It is good. In this way, it is difficult for the printer 20 to wait for reception of print data, and print processing can be executed efficiently.

一方、ステップS190でバッファ済容量が所定の第2閾値をも超えているときには、CPU42は、単位時間あたりの印刷データのバッファ量を第1制限処理よりも大きく制限する第2制限処理を実行する。具体的には、CPU42は、バッファ処理部55により、第1待機時間よりも長い所定の第2待機時間のあいだ待機したあと(ステップS210)、ステップS170でバッファ完了応答を画像処理部52側へ応答し、印刷ジョブが終了していないときには、ステップS120以降の処理を実行する。即ち、バッファ済容量が更に大きいときには、より長い第2待機時間のあいだ待機したのちに印刷データの生成処理を実行するのである。ここで、第2待機時間は、例えば、プリンター20で利用可能なRAM14の記憶容量や、プリンター20での標準的な印刷速度、画像処理部52での印刷データの生成速度などに応じて経験的に求めるものとしてもよい。例えば、第2待機時間は、単位時間あたりの印刷データのバッファ量を第1制限処理よりも大きく制限するものの、データ出力部56での単位時間あたりの印刷データの出力量よりも、画像処理部52での単位時間あたりの印刷データの生成量が上回る時間に設定されているものとしてもよい。こうすれば、第2制限処理の実行により単位時間あたりの印刷データのバッファ量がより抑制されたとしても、プリンター20側で印刷データの受信待ちとなりにくく、印刷処理を効率よく実行することができる。   On the other hand, when the buffered capacity exceeds the predetermined second threshold value in step S190, the CPU 42 executes a second restriction process that restricts the buffer amount of print data per unit time to be larger than the first restriction process. . Specifically, after waiting for a predetermined second waiting time longer than the first waiting time by the buffer processing unit 55 (step S210), the CPU 42 sends a buffer completion response to the image processing unit 52 side in step S170. If the response is made and the print job is not completed, the processing from step S120 is executed. That is, when the buffered capacity is larger, the print data generation process is executed after waiting for a longer second waiting time. Here, the second waiting time is empirical depending on, for example, the storage capacity of the RAM 14 that can be used by the printer 20, the standard printing speed of the printer 20, the generation speed of print data by the image processing unit 52, and the like. It is good also as what you ask for. For example, the second standby time limits the print data buffer amount per unit time to be larger than that in the first limit process, but the image processing unit outputs more than the print data output amount per unit time in the data output unit 56. It may be set to a time that exceeds the amount of print data generated per unit time at 52. By doing so, even if the buffer amount of the print data per unit time is further suppressed by executing the second restriction process, it is difficult for the printer 20 to wait for reception of the print data, and the print process can be executed efficiently. .

一方、ステップS180で印刷ジョブが終了する、即ち印刷ジョブの全体が印刷データに変換されたときには、CPU42は、バッファ処理部55により画像処理部52からの印刷終了要求をRAM44にバッファし(ステップS220)、印刷完了した旨の応答を画像処理部52側へ応答する(ステップS230)。また、プリンター20側から印刷完了の応答を受けると、データ出力部56の処理をクローズし(ステップS240)、このルーチンを終了する。なお、印刷完了応答を受けた画像処理部52側では、印刷完了の待機状態へ移行し、プリンター20の状態取得によりプリンター20が印刷完了状態であると、印刷処理を完了する。   On the other hand, when the print job ends in step S180, that is, when the entire print job is converted into print data, the CPU 42 buffers the print end request from the image processing unit 52 in the RAM 44 by the buffer processing unit 55 (step S220). ), A response to the effect that printing is completed is sent to the image processing unit 52 side (step S230). Further, upon receiving a print completion response from the printer 20 side, the processing of the data output unit 56 is closed (step S240), and this routine is terminated. In response to the print completion response, the image processing unit 52 shifts to a print completion standby state. When the printer 20 is in a print complete state by acquiring the printer 20 state, the print process is completed.

次に、画像処理部52、印刷データ制御部54、スプールシステム58及びプリンター20での印刷データバッファ出力処理について説明する。図3は、エラー発生時の処理及び通信の様子をシーケンシャルに示す説明図であり、図4は、データ処理速度を低減する処理の様子をシーケンシャルに示す説明図であり、図5は、経過時間と印刷データのバッファ量との関係の一例の説明図であり、図6は、終了時の処理及び通信の様子をシーケンシャルに示す説明図である。図3,4,6では、説明の便宜のため、各構成により実行されるプロセス間のやりとりをシーケンシャルに示している。なお、以下の説明では、図2に示した印刷制御処理ルーチンと同じ処理については、同じステップ番号を付し、その説明を省略する。まず、印刷データバッファ出力処理を実行すると、画像処理部52から、印刷開始要求をバッファ処理部55へ行い(ステップS300)、バッファ処理部55では、印刷開始要求をデータ出力部56へ行うと共に(ステップS400)、開始要求に対する応答を画像処理部52へ行う(ステップS410)。応答を受けた画像処理部52では印刷ジョブのうち一部分の印刷データの生成処理を行い(ステップS120)、要求を受けたデータ出力部56では、印刷開始指令をスプールシステム58へ出力する(ステップS500)。印刷開始指令を受けたスプールシステム58は、プリンター20へオープン指令を出力し(ステップS600)、プリンター20からの応答をデータ出力部56へ返す処理を行う。なお、以降、スプールシステム58では、スプール処理は行わずに、印刷データをそのままプリンター20へ送信したり(ステップS610)、プリンター20からの応答をそのままデータ出力部56へ返す処理を行う。そして、バッファ処理部55では、画像処理部52からの印刷データが送信されるたび(ステップS310)、RAM44へのバッファを行い(ステップS140)、バッファ完了応答を画像処理部52へ返す処理を繰り返し行う(ステップS170)。また、データ出力部56では、RAM44にバッファされた印刷データをFIFO方式でプリンター20へ出力し、その応答を受ける処理を繰り返す。このように、バッファ処理部55とデータ出力部56とで非同期に印刷データのやりとりを行うのである。   Next, print data buffer output processing in the image processing unit 52, the print data control unit 54, the spool system 58, and the printer 20 will be described. FIG. 3 is an explanatory diagram that sequentially shows the state of processing and communication when an error occurs, FIG. 4 is an explanatory diagram that sequentially shows the state of processing that reduces the data processing speed, and FIG. And FIG. 6 is an explanatory diagram that sequentially shows the state of processing and communication at the time of termination. 3, 4, and 6, for convenience of explanation, the exchange between processes executed by each configuration is sequentially shown. In the following description, the same processing as the print control processing routine shown in FIG. 2 is assigned the same step number, and the description thereof is omitted. First, when print data buffer output processing is executed, a print start request is sent from the image processing unit 52 to the buffer processing unit 55 (step S300), and the buffer processing unit 55 sends a print start request to the data output unit 56 ( In step S400), a response to the start request is made to the image processing unit 52 (step S410). In response to the response, the image processing unit 52 generates a part of print data in the print job (step S120), and the data output unit 56 that receives the request outputs a print start command to the spool system 58 (step S500). ). Receiving the print start command, the spool system 58 outputs an open command to the printer 20 (step S600), and performs a process of returning a response from the printer 20 to the data output unit 56. Thereafter, the spool system 58 does not perform the spool process, but transmits the print data as it is to the printer 20 (step S610), or performs a process of returning the response from the printer 20 to the data output unit 56 as it is. Then, each time print data is transmitted from the image processing unit 52 (step S310), the buffer processing unit 55 buffers the RAM 44 (step S140) and repeats the process of returning a buffer completion response to the image processing unit 52. This is performed (step S170). The data output unit 56 repeats the process of outputting the print data buffered in the RAM 44 to the printer 20 using the FIFO method and receiving the response. In this way, print data is exchanged asynchronously between the buffer processing unit 55 and the data output unit 56.

ここで、図3に示すように、この繰り返し処理中に、例えばプリンター20でカバーオープンや印刷用紙切れなどのエラーが発生すると(ステップS700)、プリンター20ではデータチャネルをクローズする一方、スプールシステム58では書込サイズ0の送信が行われ(ステップS620)、全データを書き終わるまでリトライする処理が繰り返される。バッファ処理部55とデータ出力部56とが非同期でない場合には、このリトライ状態でフリーズし、画像処理部52側でのエラー解除処理に移行することができない。特に、スプールシステム58でのスプール処理をスルーして印刷データを画像処理部52からプリンター20へ出力する際には、このリトライ状態でフリーズするのが顕著となる。ここでは、データ出力部56側の処理が滞っても、バッファ処理部55でのバッファ処理は非同期で繰り返し実行される。また、画像処理部52では、定期的なポーリングによりプリンター20の状態取得が行われており(ステップS320)、プリンター20からエラー状態の通知を受けることにより(ステップS710)、エラー解除処理へ移行することができる(ステップS330)。このため、エラー発生時においても、より確実に印刷処理を継続することができるのである。   Here, as shown in FIG. 3, if an error such as a cover open or a print paper out occurs in the printer 20 during this repetitive processing (step S700), the printer 20 closes the data channel while the spool system 58 is closed. Then, transmission of the write size 0 is performed (step S620), and the retry process is repeated until all the data is written. When the buffer processing unit 55 and the data output unit 56 are not asynchronous, it is frozen in this retry state, and it is not possible to shift to the error cancellation processing on the image processing unit 52 side. In particular, when the print data is output from the image processing unit 52 to the printer 20 through the spool process in the spool system 58, it is prominent that the printer is frozen in this retry state. Here, even if the processing on the data output unit 56 side is delayed, the buffer processing in the buffer processing unit 55 is repeatedly executed asynchronously. Further, the image processing unit 52 acquires the status of the printer 20 by periodic polling (step S320). Upon receiving a notification of an error status from the printer 20 (step S710), the image processing unit 52 proceeds to error cancellation processing. (Step S330). For this reason, even when an error occurs, the printing process can be continued more reliably.

また、図4に示すように、バッファ処理部55での印刷データのバッファ処理と、データ出力部56での印刷データ出力処理とが並行して行われている際に、プリンター20での処理が高負荷である場合には、RAM44にバッファされた印刷データの出力が滞ることがある。この場合には、バッファ処理部55で監視しているRAM44のバッファ量が第1閾値を超えることから、RAM44にバッファされる単位時間あたりの印刷データ容量をより低減させる第1制限処理を実行する。即ち、第1待機時間のあいだ待機したのち(ステップS200)、バッファ完了応答を画像処理部52へ応答する(ステップS170)。画像処理部52では、この第1待機時間のあいだ印刷データが生成されないから、RAM44にバッファされる単位時間あたりの印刷データ容量がより小さくなる。また、この第1制限処理の実行によっても、RAM44にバッファされた印刷データの容量が第2閾値を超えた場合は、より長い第2待機時間のあいだ待機したのち(ステップS210)、バッファ完了応答を画像処理部52へ応答する第2制限処理を実行する(ステップS170)。図5に示すように、この第1及び第2制限処理によって、RAM44にバッファされる印刷データ量が第1閾値と第2閾値とのあいだに入る傾向になる。このように、プリンター20の状態に応じて、印刷データのバッファ量をより適正なものとすることができるのである。   Further, as shown in FIG. 4, when the print data buffer process in the buffer processing unit 55 and the print data output process in the data output unit 56 are performed in parallel, the process in the printer 20 is performed. When the load is high, the output of the print data buffered in the RAM 44 may be delayed. In this case, since the buffer amount of the RAM 44 monitored by the buffer processing unit 55 exceeds the first threshold value, the first limiting process for further reducing the print data capacity per unit time buffered in the RAM 44 is executed. . That is, after waiting for the first waiting time (step S200), a buffer completion response is returned to the image processing unit 52 (step S170). Since the image processing unit 52 does not generate print data during the first waiting time, the print data capacity per unit time buffered in the RAM 44 becomes smaller. If the print data capacity buffered in the RAM 44 exceeds the second threshold even after the execution of the first restriction process, the buffer completion response is waited for a longer second waiting time (step S210). The second restriction process for responding to the image processing unit 52 is executed (step S170). As shown in FIG. 5, the print data amount buffered in the RAM 44 tends to fall between the first threshold value and the second threshold value by the first and second restriction processes. Thus, the buffer amount of the print data can be made more appropriate according to the state of the printer 20.

また、図6に示すように、画像処理部52で、印刷ジョブの印刷データ変換が終了した場合は、印刷終了要求をバッファ処理部55へ出力し(ステップS340)、これを受けたバッファ処理部55では、印刷終了要求についてもバッファし(ステップS220)、印刷終了応答を画像処理部52へ応答する(ステップS230)。これを受けた画像処理部52では、印刷終了の待機状態とする。一方、バッファされた印刷終了要求を受けたデータ出力部56では、印刷終了指令をスプールシステム58へ出力し(ステップS510)、これを受けたスプールシステム58がクローズ指令をプリンター20へ送信する(ステップ630)。プリンターからの印刷完了を受けると、データ出力部56では、本プロセスをクローズする(ステップS230)。その後、画像処理部52では、定期的なポーリングによりプリンター20の状態取得が行われており(ステップS320)、プリンター20から印刷完了状態の通知を受けることにより(ステップS240)、印刷完了状態へ移行する。このように、印刷終了要求までバッファするため、より円滑に印刷処理を終了することができるのである。   As shown in FIG. 6, when the print data conversion of the print job is completed in the image processing unit 52, a print end request is output to the buffer processing unit 55 (step S340), and the buffer processing unit receiving this In 55, the print end request is also buffered (step S220), and a print end response is returned to the image processing unit 52 (step S230). In response to this, the image processing unit 52 enters a standby state for completion of printing. On the other hand, the data output unit 56 that has received the buffered print end request outputs a print end command to the spool system 58 (step S510), and the spool system 58 that has received this transmits a close command to the printer 20 (step S510). 630). Upon receiving the completion of printing from the printer, the data output unit 56 closes this process (step S230). Thereafter, the image processing unit 52 acquires the status of the printer 20 by periodic polling (step S320), and receives the notification of the print completion status from the printer 20 (step S240), thereby shifting to the print completion status. To do. As described above, since the print end request is buffered, the print processing can be completed more smoothly.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のプリンター20が本発明の印刷装置に相当し、プリンター用PC40が印刷制御装置に相当し、画像処理部52が画像処理部に相当し、RAM44及びHDD45が記憶部に相当し、バッファ処理部55がバッファ処理部に相当し、データ出力部56がデータ出力部に相当し、スプールシステム58がスプールシステムに相当する。なお、本実施形態では、プリンター用PC40の動作を説明することにより本発明の印刷制御方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The printer 20 of the present embodiment corresponds to the printing apparatus of the present invention, the printer PC 40 corresponds to the print control apparatus, the image processing unit 52 corresponds to the image processing unit, the RAM 44 and the HDD 45 correspond to the storage unit, and the buffer The processing unit 55 corresponds to a buffer processing unit, the data output unit 56 corresponds to a data output unit, and the spool system 58 corresponds to a spool system. In the present embodiment, an example of the printing control method of the present invention is also clarified by describing the operation of the printer PC 40.

以上詳述した本実施形態のプリンター用PC40によれば、印刷ジョブの一部に相当する印刷データを生成し、生成した印刷データをRAM44にバッファし、印刷データのバッファとは非同期にRAM44から印刷データを読み出し、読み出した印刷データをプリンター20へ出力する。このように、印刷ジョブの部分ごとに印刷データをバッファするため、例えば大容量の印刷ジョブなどをスプールする際に生じうる記憶量の制限などの制約に影響されずに印刷データを生成することができる。また、印刷データの生成処理と印刷データの出力処理とが非同期で実行されるため、例えば、一方にトラブルが生じても互いに干渉せずに処理を継続することができる。したがって、より確実に印刷処理を実行させることができる。   According to the printer PC 40 of the present embodiment described in detail above, print data corresponding to a part of the print job is generated, the generated print data is buffered in the RAM 44, and the print data is printed from the RAM 44 asynchronously with the print data buffer. Data is read, and the read print data is output to the printer 20. As described above, since the print data is buffered for each part of the print job, the print data can be generated without being affected by restrictions such as a storage amount limitation that may occur when spooling a large-capacity print job, for example. it can. Further, since the print data generation process and the print data output process are executed asynchronously, for example, even if a trouble occurs in one of the processes, the processes can be continued without interfering with each other. Therefore, the printing process can be executed more reliably.

また、印刷データのバッファ量が所定の第1閾値を超えたときには、単位時間あたりの印刷データのバッファ量をより低減させる第1制限処理を実行するため、RAM44のバッファ量の増加を抑制することができる。このため、バッファ量をより適正なものとすることが可能であり、より確実に印刷処理を実行させることができる。このとき、所定の第1待機時間を経過したのちにバッファ完了応答を行うため、バッファ完了応答を待機させることによって、より容易に記憶部のバッファ量の増加を抑制することができる。また、第1待機時間は、単位時間あたりの印刷データの出力量よりも単位時間あたりの印刷データの生成量が上回る時間に設定されているため、プリンター20側で印刷データの受信待ちとなりにくく、印刷処理を効率よく実行することができる。更に、第1閾値は、プリンター20の印刷データの記憶容量に基づいて定められているため、プリンター20へ出力されるデータ量をプリンター20の記憶容量により近いものとしやすい。このため、印刷装置でより確実に印刷処理を実行することができる。更にまた、第1制限処理によってもRAM44のバッファ量が増加する傾向にある場合でも、第2制限によってRAM44のバッファ量の増加を更に抑制することができる。このため、印刷データのバッファ量を第1閾値から第2閾値の間の範囲にしやすく、RAM44やRAM14などの記憶容量の制限などを考慮して、より確実に印刷処理を実行させることができる。そして、第1制限処理を実行するに際して所定の第1待機時間を経たのちにバッファ完了応答を行い、第2制限処理を実行するに際して、第1待機時間よりも長い所定の第2待機時間を経過したのちにバッファ完了応答を行うため、バッファ完了応答を2段階で待機させることによって、より容易にRAM44のバッファ量の増加を抑制することができる。そして、オペレーティングシステムのスプールシステムによるスプール処理を介さずに印刷データをプリンター20へ出力するため、スプール処理の印刷ジョブの容量の上限などの制限を受けることなく、より確実に印刷処理を実行させることができる。そしてまた、スプールシステム58によるスプール処理での許容容量を超える印刷データをプリンター20へ出力する際に、印刷データをRAM44にバッファさせるため、スプールシステムで印刷処理が実行できない場合でも、確実に印刷処理を実行させることができる。   In addition, when the buffer amount of the print data exceeds a predetermined first threshold value, the first limit process for further reducing the buffer amount of the print data per unit time is executed, so that an increase in the buffer amount of the RAM 44 is suppressed. Can do. For this reason, it is possible to make the buffer amount more appropriate, and the print processing can be executed more reliably. At this time, since a buffer completion response is made after a predetermined first waiting time has elapsed, an increase in the buffer amount of the storage unit can be more easily suppressed by waiting for the buffer completion response. In addition, since the first waiting time is set to a time that exceeds the output amount of print data per unit time and the amount of print data generated per unit time exceeds, it is difficult for the printer 20 to wait for reception of print data. The printing process can be executed efficiently. Furthermore, since the first threshold is determined based on the print data storage capacity of the printer 20, the amount of data output to the printer 20 is likely to be closer to the storage capacity of the printer 20. For this reason, the printing process can be more reliably executed by the printing apparatus. Furthermore, even if the buffer amount of the RAM 44 tends to increase due to the first restriction process, the increase of the buffer amount of the RAM 44 can be further suppressed by the second restriction. For this reason, it is easy to make the buffer amount of the print data within the range between the first threshold value and the second threshold value, and the print processing can be executed more reliably in consideration of the storage capacity limitation of the RAM 44 and RAM 14. A buffer completion response is made after a predetermined first waiting time when executing the first limiting process, and a predetermined second waiting time longer than the first waiting time elapses when executing the second limiting process. After that, since the buffer completion response is performed, an increase in the buffer amount of the RAM 44 can be more easily suppressed by waiting for the buffer completion response in two stages. Since the print data is output to the printer 20 without going through the spool process by the spool system of the operating system, the print process can be executed more reliably without being limited by the upper limit of the print job capacity of the spool process. Can do. In addition, when printing data exceeding the allowable capacity in the spool processing by the spool system 58 is output to the printer 20, the print data is buffered in the RAM 44, so even if the print processing cannot be executed in the spool system, the print processing is ensured. Can be executed.

また、1つの印刷ジョブの印刷データが大容量であるときには、印刷ジョブ自体を分割し複数の印刷ジョブとしてプリンター20側へ出力し、印刷処理を実行することが考えられる。しかしながら、1つの印刷ジョブを複数の印刷ジョブに分割すると、印刷ジョブの処理毎に、給紙動作、ヘッドクリーニング、フラッシング及びホームポジション位置合わせなどを含む初期動作や終了動作が実行され、印刷処理時間が長くなる。特に、ロール紙を用いた連続印刷では、印刷データが膨大となりやすく、印刷ジョブの分割数も多数になりやすい。本発明のプリンター用PC40では、印刷ジョブの一部分ずつをプリンター20へ出力することにより、1つの印刷ジョブを1つの印刷ジョブとして取り扱うため、印刷ジョブを分割して生じる不必要な初期動作や終了動作などを抑制することができ、印刷処理時間が長くなるのをより抑制しつつ、より確実に印刷処理を実行させることができる。   In addition, when the print data of one print job has a large capacity, it is conceivable to divide the print job itself and output it as a plurality of print jobs to the printer 20 to execute the print processing. However, when one print job is divided into a plurality of print jobs, an initial operation and an end operation including a paper feeding operation, head cleaning, flushing, and home position alignment are executed for each print job processing, and the print processing time Becomes longer. In particular, in continuous printing using roll paper, print data tends to be enormous and the number of print job divisions tends to be large. In the printer PC 40 according to the present invention, since one print job is handled as one print job by outputting a part of the print job to the printer 20, unnecessary initial operation and end operation generated by dividing the print job. Etc. can be suppressed, and the printing process can be more reliably executed while further suppressing an increase in the printing process time.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、第1制限処理や第2制限処理を行うものとしたが、第2制限処理を省略してもよいし、第1制限処理及び第2制限処理の両方を省略してもよい。こうしても、バッファ処理部55とデータ出力部56とが非同期で印刷データのバッファ処理や印刷データの出力処理などを実行するため、より確実に印刷処理を実行させることができる。あるいは、第2制限処理よりも更に単位時間当たりの印刷データのバッファ量が制限される第3制限処理を加えるものとしてもよいし、更に多数の段階の制限処理を行うものとしてもよい。   For example, in the above-described embodiment, the first restriction process and the second restriction process are performed. However, the second restriction process may be omitted, and both the first restriction process and the second restriction process are omitted. May be. Even in this case, since the buffer processing unit 55 and the data output unit 56 asynchronously execute print data buffer processing, print data output processing, and the like, the print processing can be executed more reliably. Alternatively, a third restriction process in which the buffer amount of print data per unit time is further restricted may be added as compared with the second restriction process, or a restriction process of a larger number of stages may be performed.

上述した実施形態では、バッファ済容量が第1閾値を超えた場合に、第1待機時間を経過したあとバッファ完了応答を行うものとして第1制限処理を実行するものとしたが、単位時間あたりの印刷データのバッファ量をより低減させるものとすれば、特にこれに限定されず、例えば、印刷データの生成速度自体を低減してもよいし、生成した印刷データの転送速度自体を低減させてもよい。こうしても、バッファ処理部55とデータ出力部56とが非同期で印刷データのバッファ処理や印刷データの出力処理などを実行するため、より確実に印刷処理を実行させることができる。なお、第2制限処理においても同様である。   In the above-described embodiment, when the buffered capacity exceeds the first threshold, the first restriction process is executed as a buffer completion response after the first waiting time has elapsed. If the buffer amount of the print data is further reduced, the present invention is not particularly limited to this. For example, the print data generation speed itself may be reduced, or the generated print data transfer speed itself may be reduced. Good. Even in this case, since the buffer processing unit 55 and the data output unit 56 asynchronously execute print data buffer processing, print data output processing, and the like, the print processing can be executed more reliably. The same applies to the second restriction process.

上述した実施形態では、データ出力部56はオペレーティングシステムのスプールシステムによるスプール処理を介さずに印刷データをプリンター20へ出力するものとしたが、特にこれに限定されず、オペレーティングシステムやスプールシステムに関係せずに、印刷制御処理ルーチンのステップS120以降の印刷データバッファ出力処理を行うものとしてもよい。こうしても、バッファ処理部55とデータ出力部56とが非同期で印刷データのバッファ処理や印刷データの出力処理などを実行するため、より確実に印刷処理を実行させることができる。   In the above-described embodiment, the data output unit 56 outputs the print data to the printer 20 without going through the spool processing by the spool system of the operating system. However, the present invention is not limited to this, and is related to the operating system and the spool system. Instead, the print data buffer output process after step S120 of the print control process routine may be performed. Even in this case, since the buffer processing unit 55 and the data output unit 56 asynchronously execute print data buffer processing, print data output processing, and the like, the print processing can be executed more reliably.

上述した実施形態では、スプールシステム58の許容容量を超えた印刷データについて、印刷制御処理ルーチンのステップS120以降の印刷データバッファ出力処理を行うものとしたが、特にこれに限定されない。例えば、許容容量に関係せず印刷データバッファ出力処理を行うものとしてもよい。こうしても、より確実に印刷処理を実行させることができる。   In the above-described embodiment, the print data buffer output process after step S120 of the print control process routine is performed for print data exceeding the allowable capacity of the spool system 58, but the present invention is not particularly limited thereto. For example, the print data buffer output process may be performed regardless of the allowable capacity. Even in this case, the printing process can be executed more reliably.

上述した実施形態では、第1閾値はRAM14の利用可能容量に基づいて定められているものとしたが、特にこれに限定されず、印刷処理をより確実に実行される値に設定してもよい。また、第2閾値は、プリンター用PC40の利用可能な記憶容量に基づいて設定されているものとしたが、第1閾値よりも大きな値であれば特にこれに限定されず、印刷処理をより確実に実行される値に設定してもよい。また、第1待機時間や第2待機時間は、データ出力部56での単位時間あたりの印刷データの出力量よりも、画像処理部52での単位時間あたりの印刷データの生成量が上回る時間に設定されているものとしたが、単位時間当たりの印刷データバッファ量が低減されるものとすれば、特にこれに限定されない。   In the above-described embodiment, the first threshold value is determined based on the available capacity of the RAM 14, but is not particularly limited thereto, and may be set to a value that allows the printing process to be executed more reliably. . In addition, the second threshold value is set based on the available storage capacity of the printer PC 40. However, the second threshold value is not particularly limited as long as it is larger than the first threshold value, and printing processing is more reliable. May be set to a value to be executed. In addition, the first standby time and the second standby time are times when the print data generation amount per unit time in the image processing unit 52 exceeds the output amount of print data per unit time in the data output unit 56. However, the present invention is not particularly limited to this as long as the print data buffer amount per unit time is reduced.

上述した実施形態では、プリンター20は、大判印刷可能なカラープリンターとしたが特にこれに限定されない。また、プリンター20は、インクを吐出するインクジェット式の印刷機構21を備えたものとしたが、特にこれに限定されず、レーザープリンターとしてもよいし、熱転写プリンターとしてもよいし、ドットインパクトプリンターとしてもよいし、これらのモノクロプリンターとしてもよい。なお、印刷ジョブは、プリンター20で直接印刷できない形式のデータとしてもよい。また、プリンター用PC40のような印刷制御装置としたが、印刷制御方法としてもよいし、これを実行可能なプログラムの形式にしてもよい。   In the embodiment described above, the printer 20 is a color printer capable of large format printing, but is not particularly limited thereto. The printer 20 includes the ink jet printing mechanism 21 that discharges ink. However, the printer 20 is not particularly limited thereto, and may be a laser printer, a thermal transfer printer, or a dot impact printer. It is good also as these monochrome printers. The print job may be data in a format that cannot be directly printed by the printer 20. Further, although the print control apparatus is the printer PC 40, it may be a print control method or a program that can be executed.

10 プリンターシステム、11 コントローラー、12 CPU、13 フラッシュROM、14 RAM、20 プリンター、21 印刷機構、22 キャリッジ、23 ノズル、24 印刷ヘッド、25 カートリッジ、28 キャリッジ軸、30 紙送り機構、32 キャリッジベルト、33 駆動モータ、35 紙送りローラー、36 ロール紙、40 プリンター用パソコン(PC)、41 コントローラー、42 CPU、43 フラッシュROM、44 RAM、45 HDD、46 ネットワークインターフェイス(I/F)、47 入力装置、48 ディスプレイ、49 バス、50 印刷ドライバー、52 画像処理部、54 印刷データ制御部、55 バッファ処理部、56 データ出力部、58 スプールシステム、59 スプール処理部、S 記録紙。 DESCRIPTION OF SYMBOLS 10 Printer system, 11 Controller, 12 CPU, 13 Flash ROM, 14 RAM, 20 Printer, 21 Printing mechanism, 22 Carriage, 23 Nozzle, 24 Print head, 25 Cartridge, 28 Carriage shaft, 30 Paper feed mechanism, 32 Carriage belt, 33 drive motor, 35 paper feed roller, 36 roll paper, 40 printer personal computer (PC), 41 controller, 42 CPU, 43 flash ROM, 44 RAM, 45 HDD, 46 network interface (I / F), 47 input device, 48 display, 49 bus, 50 print driver, 52 image processing unit, 54 print data control unit, 55 buffer processing unit, 56 data output unit, 58 spool system, 59 spool processing , S recording paper.

Claims (12)

印刷対象である印刷ジョブを印刷処理する印刷装置へデータ通信可能に接続された印刷制御装置であって、
前記印刷ジョブの一部に相当する印刷データを生成する処理を実行する画像処理部と、
データを記憶する記憶部に前記生成された印刷データをバッファさせるバッファ処理部と、
前記印刷データの前記記憶部へのバッファとは非同期に該記憶部から該印刷データを読み出し該読み出した印刷データを前記印刷装置側へ出力するデータ出力部と、をえ、
前記バッファ処理部は、オペレーティングシステムのスプールシステムによるスプール処理での許容容量を超える印刷データを前記印刷装置側へ出力する際に、前記印刷データを前記記憶部にバッファさせる、印刷制御装置。
A printing control device connected to a printing device for printing a print job to be printed so that data communication is possible;
An image processing unit for executing processing for generating print data corresponding to a part of the print job;
A buffer processing unit for buffering the generated print data in a storage unit for storing data;
E Bei and a data output unit for outputting the print data read said read the print data from the storage unit to asynchronously to the printing apparatus side to the buffer to the storage unit of the print data,
The buffer processing unit causes the storage unit to buffer the print data when outputting print data exceeding an allowable capacity in spool processing by a spool system of an operating system to the printing device side .
前記バッファ処理部は、前記記憶部のバッファ量を監視し、前記印刷データのバッファ量が所定の第1閾値を超えたときには、単位時間あたりの印刷データのバッファ量をより低減させる第1制限処理を実行する、請求項1に記載の印刷制御装置。   The buffer processing unit monitors the buffer amount of the storage unit, and when the print data buffer amount exceeds a predetermined first threshold value, a first restriction process for further reducing the print data buffer amount per unit time The print control apparatus according to claim 1, wherein: 印刷対象である印刷ジョブを印刷処理する印刷装置へデータ通信可能に接続された印刷制御装置であって、
前記印刷ジョブの一部に相当する印刷データを生成する処理を実行する画像処理部と、
データを記憶する記憶部に前記生成された印刷データをバッファさせるバッファ処理部と、
前記印刷データの前記記憶部へのバッファとは非同期に該記憶部から該印刷データを読み出し該読み出した印刷データを前記印刷装置側へ出力するデータ出力部と、を備え
前記バッファ処理部は、前記記憶部のバッファ量を監視し、前記印刷データのバッファ量が所定の第1閾値を超えたときには、単位時間あたりの印刷データのバッファ量をより低減させる第1制限処理を実行し、前記印刷データのバッファ量が前記第1閾値より大きな所定の第2閾値を超えたときには、単位時間あたりの印刷データのバッファ量を前記第1制限処理よりも大きく制限した第2制限処理を実行する、印刷制御装置。
A printing control device connected to a printing device for printing a print job to be printed so that data communication is possible;
An image processing unit for executing processing for generating print data corresponding to a part of the print job;
A buffer processing unit for buffering the generated print data in a storage unit for storing data;
And a data output unit for outputting the print data read said read the print data from the storage unit to asynchronously to the printing apparatus side to the buffer to the storage unit of the print data,
The buffer processing unit monitors the buffer amount of the storage unit, and when the print data buffer amount exceeds a predetermined first threshold value, a first restriction process for further reducing the print data buffer amount per unit time When the buffer amount of the print data exceeds a predetermined second threshold value that is larger than the first threshold value, the second limit is set such that the buffer amount of the print data per unit time is limited to be larger than that of the first limit process. A print control device that executes processing .
印刷対象である印刷ジョブを印刷処理する印刷装置へデータ通信可能に接続された印刷制御装置であって、
前記印刷ジョブの一部に相当する印刷データを生成する処理を実行する画像処理部と、
データを記憶する記憶部に前記生成された印刷データをバッファさせるバッファ処理部と、
前記印刷データの前記記憶部へのバッファとは非同期に該記憶部から該印刷データを読み出し該読み出した印刷データを前記印刷装置側へ出力するデータ出力部と、を備え
前記バッファ処理部は、前記記憶部のバッファ量を監視し、前記印刷データのバッファ量が所定の第1閾値を超えたときには、単位時間あたりの印刷データのバッファ量をより低減させる第1制限処理を実行し、前記印刷データのバッファを完了した際に前記画像処理部へバッファ完了応答を行い、
前記画像処理部は、前記バッファ完了応答を受けて次の印刷データの生成処理を実行するものであり、
前記バッファ処理部は、前記第1制限処理を実行するに際して、所定の第1待機時間を経過したのちに前記バッファ完了応答を行う、印刷制御装置。
A printing control device connected to a printing device for printing a print job to be printed so that data communication is possible;
An image processing unit for executing processing for generating print data corresponding to a part of the print job;
A buffer processing unit for buffering the generated print data in a storage unit for storing data;
And a data output unit for outputting the print data read said read the print data from the storage unit to asynchronously to the printing apparatus side to the buffer to the storage unit of the print data,
The buffer processing unit monitors the buffer amount of the storage unit, and when the print data buffer amount exceeds a predetermined first threshold value, a first restriction process for further reducing the print data buffer amount per unit time When the buffer of the print data is completed, a buffer completion response is sent to the image processing unit,
The image processing unit is configured to execute a next print data generation process in response to the buffer completion response.
The buffer processing unit performs the buffer completion response after a predetermined first waiting time elapses when executing the first restriction process .
前記第1閾値は、前記印刷装置の印刷データの記憶容量に基づいて定められている、請求項2〜4のいずれか1項に記載の印刷制御装置。 5. The print control apparatus according to claim 2, wherein the first threshold value is determined based on a storage capacity of print data of the printing apparatus. 前記バッファ処理部は、前記記憶部のバッファ量を監視し、前記印刷データのバッファ量が前記第1閾値より大きな所定の第2閾値を超えたときには、単位時間あたりの印刷データのバッファ量を前記第1制限処理よりも大きく制限した第2制限処理を実行する、請求項2〜5のいずれか1項に記載の印刷制御装置。 The buffer processing unit monitors the buffer amount of the storage unit. When the buffer amount of the print data exceeds a predetermined second threshold value that is larger than the first threshold value, the buffer amount of the print data per unit time is calculated. The print control apparatus according to any one of claims 2 to 5 , wherein a second restriction process that is larger than the first restriction process is executed. 前記バッファ処理部は、前記印刷データのバッファを完了した際に前記画像処理部へバッファ完了応答を行い、前記画像処理部は、前記バッファ完了応答を受けて次の印刷データの生成処理を実行するものであり、
前記バッファ処理部は、前記第1制限処理を実行するに際して所定の第1待機時間を経たのちに前記バッファ完了応答を行い、前記第2制限処理を実行するに際して、前記第1待機時間よりも長い所定の第2待機時間を経過したのちに前記バッファ完了応答を行う、請求項に記載の印刷制御装置。
The buffer processing unit sends a buffer completion response to the image processing unit when the buffering of the print data is completed, and the image processing unit receives the buffer completion response and executes a process for generating the next print data Is,
The buffer processing unit performs the buffer completion response after a predetermined first waiting time when executing the first limiting process, and is longer than the first waiting time when executing the second limiting process The print control apparatus according to claim 6 , wherein the buffer completion response is made after a predetermined second waiting time has elapsed.
前記データ出力部は、前記読み出した印刷データをオペレーティングシステムのスプールシステムによるスプール処理を介さずに前記印刷装置側へ出力する、請求項1〜のいずれか1項に記載の印刷制御装置。 The data output unit, the output to the printing apparatus print data the read without going through the spool processing by the spool system of the operating system, print control apparatus according to any one of claims 1-7. 前記バッファ処理部は、オペレーティングシステムのスプールシステムによるスプール処理での許容容量を超える印刷データを前記印刷装置側へ出力する際に、前記印刷データを前記記憶部にバッファさせる、請求項のいずれか1項に記載の印刷制御装置。 The buffer processing unit, the print data that exceeds the allowable capacity of the spool processing by the spool system of the operating system when outputting to the printing apparatus, thereby buffer the print data in the storage unit, according to claim 3-8 The printing control apparatus according to any one of the above. 印刷対象である印刷ジョブを印刷処理する印刷装置へデータ通信可能に接続された印刷制御装置が実行する印刷制御方法であって、
(a)前記印刷ジョブの一部に相当する印刷データを生成する処理を実行するステップと、
(b)データを記憶する記憶部に前記生成された印刷データをバッファさせるステップと

(c)前記印刷データの前記記憶部へのバッファとは非同期に該記憶部から該印刷データを読み出し該読み出した印刷データを前記印刷装置側へ出力するステップと、をみ、
前記ステップ(b)では、オペレーティングシステムのスプールシステムによるスプール処理での許容容量を超える印刷データを前記印刷装置側へ出力する際に、前記印刷データを前記記憶部にバッファさせる、印刷制御方法。
A print control method executed by a print control device connected to a printing device that performs print processing of a print job that is a print target so that data communication is possible,
(A) executing a process of generating print data corresponding to a part of the print job;
(B) buffering the generated print data in a storage unit for storing data;
(C) viewed including the steps of outputting the print data read said read the print data from the storage unit to asynchronously to the printing apparatus, the the buffer to the storage unit of the print data,
In the step (b), a print control method for buffering the print data in the storage unit when outputting print data exceeding an allowable capacity in spool processing by the spool system of the operating system to the printing apparatus side .
印刷対象である印刷ジョブを印刷処理する印刷装置へデータ通信可能に接続された印刷制御装置が実行する印刷制御方法であって、
(a)前記印刷ジョブの一部に相当する印刷データを生成する処理を実行するステップと、
(b)データを記憶する記憶部に前記生成された印刷データをバッファさせるステップと

(c)前記印刷データの前記記憶部へのバッファとは非同期に該記憶部から該印刷データを読み出し該読み出した印刷データを前記印刷装置側へ出力するステップと、をみ、
前記ステップ(b)では、前記記憶部のバッファ量を監視し、前記印刷データのバッファ量が所定の第1閾値を超えたときには、単位時間あたりの印刷データのバッファ量をより低減させる第1制限処理を実行し、前記印刷データのバッファ量が前記第1閾値より大きな所定の第2閾値を超えたときには、単位時間あたりの印刷データのバッファ量を前記第1制限処理よりも大きく制限した第2制限処理を実行する、印刷制御方法。
A print control method executed by a print control device connected to a printing device that performs print processing of a print job that is a print target so that data communication is possible,
(A) executing a process of generating print data corresponding to a part of the print job;
(B) buffering the generated print data in a storage unit for storing data;
(C) viewed including the steps of outputting the print data read said read the print data from the storage unit to asynchronously to the printing apparatus, the the buffer to the storage unit of the print data,
In the step (b), the buffer amount of the storage unit is monitored, and when the buffer amount of the print data exceeds a predetermined first threshold, the first limit for further reducing the buffer amount of the print data per unit time When the processing is executed and the buffer amount of the print data exceeds a predetermined second threshold value that is larger than the first threshold value, a second value in which the buffer amount of the print data per unit time is limited to be larger than that in the first limiting process. A print control method for executing a restriction process .
請求項10又は11に記載された印刷制御方法の各ステップを1以上のコンピューターに実行させるためのプログラム。 The program for making one or more computers perform each step of the printing control method described in Claim 10 or 11 .
JP2010283563A 2010-12-20 2010-12-20 Print control apparatus, print control method and program thereof Expired - Fee Related JP5716379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010283563A JP5716379B2 (en) 2010-12-20 2010-12-20 Print control apparatus, print control method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010283563A JP5716379B2 (en) 2010-12-20 2010-12-20 Print control apparatus, print control method and program thereof

Publications (2)

Publication Number Publication Date
JP2012133485A JP2012133485A (en) 2012-07-12
JP5716379B2 true JP5716379B2 (en) 2015-05-13

Family

ID=46649032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010283563A Expired - Fee Related JP5716379B2 (en) 2010-12-20 2010-12-20 Print control apparatus, print control method and program thereof

Country Status (1)

Country Link
JP (1) JP5716379B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10320152A (en) * 1997-05-20 1998-12-04 Canon Inc System, device, and method for print processing
JPH11175281A (en) * 1997-12-15 1999-07-02 Hitachi Information Technology Co Ltd Print data buffer control system
JP2000353063A (en) * 1999-04-08 2000-12-19 Seiko Epson Corp Printing control method for generating and transmitting printing command, printing controller, and recording medium recording program for the same

Also Published As

Publication number Publication date
JP2012133485A (en) 2012-07-12

Similar Documents

Publication Publication Date Title
JP3360728B2 (en) Recording control method, recording device, recording control device, and storage medium storing recording control program
JP2010208304A (en) Print management apparatus, print management method and program of the same
JP4953905B2 (en) Image processing apparatus, image processing method, and program
US8724126B2 (en) Printing apparatus, program, and printer driver
JP2007105917A (en) Printer
JP5929431B2 (en) Image recording apparatus, control method for image recording apparatus, and control program
JP2009113279A (en) Image processor, image processing method and program thereof
JP2015054484A (en) Ink jet image forming apparatus, method of controlling the same and program
JP5716379B2 (en) Print control apparatus, print control method and program thereof
JP2010287092A (en) Image forming system
JP2013242802A5 (en)
US8253961B2 (en) Printer and printer control method
US6945718B2 (en) Print system which analyzes processing speed and a method for keeping track of printing process status
JP4350404B2 (en) Recording apparatus and control method thereof
JP2010201706A (en) Printer
JP2007080090A (en) Image recording system, setting method and setting program for image recording device, and storage medium
JP5482431B2 (en) Information processing apparatus, information processing method, and program thereof
JP2004094586A (en) Printer driver, information processing device and printing system
JP3693032B2 (en) Printing system, printer host and printer driver
JP2010072709A (en) Printing system, information processor, distributed printing setting method, program, and recording medium
JP4269479B2 (en) Printer, printing system, and interface control method
JP4781183B2 (en) Print control apparatus, print control method, and program
JP2006103094A (en) Inkjet recorder
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
JPH10222326A (en) Recording device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150302

R150 Certificate of patent or registration of utility model

Ref document number: 5716379

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees