JP2004066787A - Image recording apparatus, control method of image recording apparatus, medium providing control program, and control program - Google Patents
Image recording apparatus, control method of image recording apparatus, medium providing control program, and control program Download PDFInfo
- Publication number
- JP2004066787A JP2004066787A JP2002233117A JP2002233117A JP2004066787A JP 2004066787 A JP2004066787 A JP 2004066787A JP 2002233117 A JP2002233117 A JP 2002233117A JP 2002233117 A JP2002233117 A JP 2002233117A JP 2004066787 A JP2004066787 A JP 2004066787A
- Authority
- JP
- Japan
- Prior art keywords
- print data
- processing
- image
- data
- recording apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Storing Facsimile Image Data (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Control Or Security For Electrophotography (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、プリンタなどの画像記録装置等に関し、特にデータ処理装置より指示される複数の印刷データを記憶媒体に保存する機能と、必要に応じて記憶媒体より保存されている印刷データを読み出して印刷処理を行う機能とを有する画像記録装置等に関するものである。
【0002】
【従来の技術】
近年、大容量の情報を記憶可能なハードディスクを内蔵させ、データ処理装置からの印刷ジョブを蓄積したり、印刷ジョブを画像展開させた画像データを蓄積したりするためのストア技術を備えた画像記録装置が増えている。ハードディスクに印刷ジョブや展開された画像データを蓄積させる目的には、例えば次のようなものが挙げられる。
【0003】
同じジョブを複数出力するような場合に、データ処理装置から画像記録装置へのジョブの転送を一度にし、そのジョブをハードディスクに蓄え、蓄えられたジョブを繰り返し読み出して複数部数分の印刷処理を行うことで、ネットワーク負荷を軽減させることを目的とするものである。この場合、画像出力のタイミングは、データ処理装置から画像記録装置にジョブ送信があったタイミングでなくてもよい。また、ハードディスクに蓄えた後でジョブの属性操作を許すものものであってもよい。
【0004】
また、上記と同様に、同じジョブを複数出力するような場合であるが、データ処理装置から送信されたジョブを解釈し、さらに画像展開処理を行った画像データをハードディスクに蓄えて、蓄えられた画像データを繰り返し読み出して画像展開処理なく複数部数分の画像出力処理を行うことで、複数部数の画像出力処理の高速化を目的とするものもある。
【0005】
その他には、データ処理装置での印刷ジョブの送信タイミングと、その印刷ジョブの画像出力タイミングを別にして、画像出力タイミングをユーザ任意にすることを目的としてストア技術を利用する場合もある。
【0006】
【発明が解決しようとする課題】
しかしながら、上記従来の画像記録装置においては、ジョブの受信順序に従ってジョブを処理していくため、プリンタエンジンに異常が発生していたり、プリンタエンジンが中断していたりするような場合には、後続のジョブにストア指示のジョブがあったとしてもハードディスクへのストア処理を行うことができなかった。そのため、画像記録装置は、印刷出力が可能になるまで中断したまま何も処理しない状態が継続し、処理時間の短縮や稼働率等の観点から問題があった。
【0007】
本発明は上記従来の問題点に鑑み、プリンタエンジンに異常が発生したり、プリンタエンジンが印刷処理を中断したりして画像記録装置が画像出力処理を行えない状態であっても、復帰までの間に、ジョブに関して処理すべき可能な処理を行っておくことにより復帰後のトータルなジョブの処理時間を短縮することができる画像記録装置等を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、本発明の画像記録装置では、データ処理装置より供給される印刷データに基づいて画像を記録する画像記録装置において、前記印刷データ、あるいは前記印刷データに基づいて生成される画像データを記憶可能な記憶手段と、当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断手段と、前記出力可能状態判断手段によって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先手段と、前記出力可能状態判断手段によって画像出力可能な状態と判断された場合に、前記ストア優先手段の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除手段とを備えたことを特徴とする。
【0009】
本発明の画像記録装置では、データ処理装置より供給される印刷データを解釈する解釈手段と、前記解釈手段による解釈処理後のデータを画像データに展開する展開手段とを有し、前記展開手段による展開後の画像データを記録する画像記録装置において、前記印刷データ、または前記展開後の画像データを記憶する記憶手段と、当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断手段と、前記出力可能状態判断手段によって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データに対して、前記解釈手段による解釈処理、前記展開手段による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先手段と、前記出力可能状態判断手段によって画像出力可能な状態と判断された場合に、前記ストア優先手段の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除手段とを備えたことを特徴とする。
【0010】
本発明の画像記録装置の制御方法では、データ処理装置より供給される印刷データに基づいて画像を記録する画像記録装置の制御方法であって、前記印刷データ、あるいは前記印刷データに基づいて生成される画像データを記憶可能な記憶手段を設けておき、当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断行程と、前記出力可能状態判断行程によって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先行程と、前記出力可能状態判断行程によって画像出力可能な状態と判断された場合に、前記ストア優先行程の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除行程とを実行することを特徴とする。
【0011】
本発明の画像記録装置の制御方法では、データ処理装置より供給される印刷データを解釈する解釈行程と、前記解釈行程による解釈処理後のデータを画像データに展開する展開行程とを有し、前記展開行程による展開後の画像データを記録する画像記録装置の制御方法であって、前記印刷データ、または前記展開後の画像データを記憶する記憶手段を設けておき、当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断行程と、前記出力可能状態判断行程によって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データに対して、前記解釈行程による解釈処理、前記展開行程による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先行程と、前記出力可能状態判断行程によって画像出力可能な状態と判断された場合に、前記ストア優先行程の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除行程とを実行することを特徴とする。
【0012】
本発明の制御プログラムを提供する媒体では、印刷データ、あるいは前記印刷データに基づいて生成される画像データを記憶可能な記憶手段を備え、データ処理装置より供給される前記印刷データに基づいて画像を記録する画像記録装置の制御方法を実行するための制御プログラムを提供する媒体であって、前記制御プログラムは、当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先ステップと、前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除ステップとを実行することを特徴とする。
【0013】
本発明の制御プログラムを提供する媒体では、データ処理装置より供給される印刷データを解釈する解釈手段と、前記解釈手段による解釈処理後のデータを画像データに展開する展開手段と、前記印刷データ、または前記展開後の画像データを記憶する記憶手段とを有し、前記展開手段による展開後の画像データを記録する画像記録装置の制御方法を実行するための制御プログラムを提供する媒体であって、前記制御プログラムは、当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データに対して、前記解釈手段による解釈処理、前記展開手段による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先ステップと、前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除ステップとを実行することを特徴とする。
【0014】
本発明の制御プログラムでは、データ処理装置より供給される印刷データ、あるいは該印刷データに基づいて生成される画像データを記憶する記憶手段を有し、前記画像データを記録する画像記録装置の制御方法を実行するための制御プログラムであって、前記画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、前記画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先ステップと、前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除ステップとを備えたことを特徴とする。
【0015】
本発明の制御プログラムでは、データ処理装置より供給される印刷データを解釈する解釈手段と、前記解釈手段による解釈処理後のデータを画像データに展開する展開手段と、前記展開後の画像データを記憶可能な記憶手段とを有し、前記展開手段による展開後の画像データを記録する画像記録装置の制御方法を実行するための制御プログラムであって、前記画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、前記画像記録装置が処理すべき印刷データに対して、前記解釈手段による解釈処理、前記展開手段による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先ステップと、前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除ステップとを備えたことを特徴とする。
【0016】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づいて説明する。
【0017】
[第一実施形態]
<システム構成>
図1は、本発明の第一実施形態に係る画像記録装置のシステム構成の概略を示すブロック図である。
【0018】
同図において、データ処理装置101は、例えば、コンピュータであり、画像情報の供給源、あるいはプリンタの制御装置として機能する。この実施の形態においては、画像記録装置102として、レーザビームプリンタ(プリンタ)を用いている。本実施形態において適用される画像記録装置は、レーザビームプリンタに限られるものではなく、インクジェットプリンタ等他のプリント方式のプリンタでもよいことは言うまでもない。
【0019】
ビデオコントローラ(ビデオコントローラ)103は、データ処理装置101から供給される画像情報(例えば、ESCコード、ページ記述言語等)に基づいて、ページ毎にラスタデータを生成し、プリンタエンジン105に送出する。
【0020】
プリンタエンジン105は、ビデオコントローラ103から供給されるラスタデータに基づいて、感光ドラム上に潜像を形成し、その潜像を記録媒体上に転写・定着(電子写真方式)することにより画像を記録する。
【0021】
パネル部104は、ユーザインタフェースとして使用される。ユーザは、パネル部104を操作することにより、所望の動作を指示することができる。また、パネル部104には、プリンタ102の処理内容や、ユーザへの警告内容が表示される。
【0022】
<プリンタ102の構成>
図2は、タンデム方式のプリンタ102の構成を説明する断面図である。
【0023】
同図において、201は、プリンタ筐体である。202は、ユーザが各種指示を与えるためのスイッチ、メッセージやプリンタの設定内容等を表示するためのLED表示器やLCD表示器等が配された操作パネルであり、図1に示すパネル部104の一態様である。203は、ボード収容部であり、ビデオコントローラ103及びプリンタエンジン105の電子回路部分を構成するボードを収容する。
【0024】
220は、用紙(記録媒体)Sを保持する用紙カセットであり、不図示の仕切り板によって電気的に用紙サイズを検知する機構を有する。221は、カセットクラッチであり、用紙カセット220上に載置された用紙Sの最上位の1枚を取り出して、取り出した用紙Sを不図示の駆動手段から伝達される駆動力によって給紙ローラ222まで搬送するカムを有する。このカムは、給紙の度に間欠的に回転し、1回転に対応して1枚の用紙Sを給紙する。223は用紙検知センサで、それぞれ用紙カセット220に保持されている用紙Sの量を検知する。
【0025】
給紙ローラ222は、用紙Sの先端部をレジストシャッタ224まで搬送するローラである。224は、レジストシャッタであり、用紙Sを押圧することにより給紙を停止することができる。
【0026】
230は、手差しトレイであり、231は、手差し給紙クラッチである。手差し給紙クラッチ231は、用紙Sの先端を手差し給紙ローラ232まで搬送するために使用され、手差し給紙ローラ232は、用紙Sの先端をレジストシャッタ224まで搬送するために使用される。画像記録に供する用紙Sは、用紙カセット220及び手差しトレイ230のいずれかの給紙手段を選択して給紙される。
【0027】
プリンタエンジン105は、ビデオコントローラ103と所定の通信プロトコルに従って通信を行い、ビデオコントローラ103からの指示に従って用紙カセット220手差しトレイ230の中からいずれかの給紙手段を選択し、印刷の開始指示に応じて該当する給紙手段よりレジストシャッタ224まで用紙Sを搬送する。なお、プリンタエンジン105は、給紙手段、潜像の形成、転写、定着等の電子写真プロセスに関する機構、排紙手段及びそれらの制御手段を含む。
【0028】
204a、204b、204c、204dは、感光ドラム205a、205b、205c、205dやトナー保持部等を有する画像記録部であり、電子写真プロセスにより、用紙S上にトナー像を形成する。一方、206a、206b、206c、206dは、レーザスキャナ部であり、画像記録部にレーザビームによる画像情報を供給する。
【0029】
画像記録部204a、204b、204c、204dには、用紙Sを搬送する用紙搬送ベルト250が複数の回転ローラ251〜254によって用紙搬送方向(図の下から上方向)に扁平に張設され、その最上流部においては、バイアスを印加した吸着ローラ225によって、用紙を用紙搬送ベルト250に静電吸着させる。またこのベルト搬送面に対向して4個の感光ドラム205a、205b、205c、205dが直線状に配設されており、画像形成手段を構成している。画像記録部204a、204b、204c、204dのそれぞれには、感光ドラムの周辺近傍を順次取り囲んで、帯電器、現像器が配置されている。
【0030】
レーザスキャナ部206a、206b、206c、206dにおいて、207a、207b、207c、207dは、レーザユニットであり、ビデオコントローラ103から送出される画像信号(/VIDEO信号)に応じて、内蔵の半導体レーザを駆動し、レーザビームを発射する。レーザユニット207a、207b、207c、207dから発せられたレーザビームは、ポリゴンミラー(回転多面鏡)208a、208b、208c、208dにより走査され、感光ドラム205a、205b、205c、205d上に潜像を形成する。
【0031】
260は、定着器で、画像記録部204a、204b、204c、204dにより用紙Sに形成されたトナー画像を記録紙Sに熱定着させる。261は、搬送ローラで、用紙Sを排紙搬送する。262は、排紙センサで、用紙Sの排紙状態を検知する。263は、排紙ローラ兼両面印刷用搬送路切り替えローラで、用紙Sを排紙方向へ搬送し、用紙Sの搬送指示が排紙の場合はそのまま排紙トレイ264に排紙し、搬送指示が両面搬送の場合は、用紙Sの後端が排紙センサ262を通過した直後に回転方向を逆向きに変え、スイッチバックすることにより用紙Sを両面印刷用搬送路270へ搬送する。265は排紙積載量検知センサで、排紙トレイ264上に積載された用紙Sの積載量を検知する。
【0032】
270は、両面印刷用搬送路であり、排紙ローラ兼両面印刷用搬送路切り替えローラ263により両面印刷用に搬送された用紙Sは、両面搬送ローラ271〜274によって再びレジストシャッタ224まで搬送されて画像記録部204a、204b、204c、204dへの搬送指示を待つ。
なお、プリンタ102には、さらにオプションカセットや封筒フィーダ等のオプションユニットを装備することができる。
【0033】
<プリンタエンジン105の構成例>
図3は、ビデオコントローラ103とプリンタエンジン105とを接続するビデオインタフェース及びプリンタエンジン105の構成例を示す図である。
【0034】
同図において、ビデオコントローラ103は、複数のデータ処理装置101との通信(画像情報の受信を含む)、受信した画像情報に基づくラスタデータの生成(展開)、プリンタエンジン105の制御を司る。
【0035】
エンジン制御部150は、ビデオコントローラ103から供給される制御信号に基づいて、プリンタエンジン105内のユニット151〜158を制御する。
【0036】
ユニット151〜158の概要を説明すると、151は、用紙カセット220及びその他オプションカセット(不図示)内に載置された用紙のサイズを検出してエンジン制御部150に通知する用紙サイズ検出部で、152は、用紙カセット220及び手差し用トレイ231、オプションカセット(不図示)、封筒フィーダ(不図示)のそれぞれの給紙口の有無を検出してエンジン制御部150に通知する給紙口検出部で、153は、オプションカセット、封筒フィーダ等のオプションの接続状況を確認するためのオプション調査部で、154は、用紙の搬送を制御する搬送制御部で、155は、ポリゴンミラー208a、208b、208c、208dの駆動モータ、レーザユニット207a、207b、207c、207d等の光学系を制御する光学系制御部で、156は、定着器260 の温度制御の他、定着器260における異常検出等をも行う定着温度制御部で、157は、オプションカセットや封筒フィーダ等のオプションを制御するオプション制御部で、158は、レジスト、排紙、両面、反転など搬送路内の用紙の有無、外気温、印刷ページ数、トナー残量等の環境の変化(状況変化)を検出するためのセンサ部である。
【0037】
次に、ビデオコントローラ103とエンジン制御部150とを接続するビデオインタフェースを構成する信号の概要を説明する。
【0038】
170は、ビデオコントローラ103がエンジン制御部150と通信可能な状態にあることを示す/CPRDY信号、171は、エンジン制御部150がビデオコントローラ103と通信可能な状態にあることを示す/PPRDY信号、172は、エンジン制御部150がプリント可能な状態にあることを示す/RDY信号、173は、ビデオコントローラ103がエンジン制御部150に印刷要求を発行するための/PRNT信号、174は、エンジン制御部150がビデオコントローラ103に対して出力する垂直同期信号としての/TOP信号、176は、エンジン制御部150がビデオコントローラ103に出力する水平同期信号としての/BD信号、178は、シリアル通信のための同期クロック信号としての/SCLK信号、179は、ビデオコントローラ103がエンジン制御部150に対してコマンドを送信するためのコマンド信号としての/CMD信号、180は、コマンドを送信するためのストローブ信号としての/CBSY信号、181は、ビデオコントローラ103から送信されたコマンドに対して応答(プリンタエンジン105内部のステータスを含む)を返すための/STS信号、182は、ステータス等の応答を返すためのストローブ信号としての/SBSY信号、183は、ラスタデータとしての/VIDEO信号である。
【0039】
177は、プリンタエンジン105のステータスのうち、/RDY信号に直接関与しない状態、すなわち印刷の可否に直接関与しない状態変化が発生した場合(例えば、気温、印刷ページ数、トナー残量等が基準値を超えた場合)に”TRUE”となる/CCRT信号である。
【0040】
<ビデオコントローラ103の構成例>
図4は、ビデオコントローラ103の構成例を示すブロック図である。
【0041】
同図において、301は、パネル部104とのデータ通信を行うパネルインタフェース部である。CPU309は、パネルインタフェース部301を介して、ユーザがパネル部104において設定・指示した内容を確認することができる。302は、ネットワークを介してホストコンピュータ等のデータ処理装置101と双方向に通信接続するためのホストインタフェース部である。306は、プリンタエンジン105と通信接続するためのエンジンインタフェース部である。CPU309は、エンジンインタフェース部306を介して、信号170,173,175,178,179,180を制御し、信号171,172,174,176,177,181,182の状態、すなわち、プリンタエンジン105の状態を認識することができる。
【0042】
303は、データ処理装置101より供給された画像情報に基づいて、プリンタエンジン105に供給するラスタデータを生成(ラスタライズ)する画像データ発生部である。305は、生成したラスタデータを一時的に保持するための画像メモリである。309は、ROM304に保持された制御プログラムコードに基づいて、CPUバス320に接続されたデバイスを制御するCPUである。307は、CPU309が使用する一時記憶用メモリとしてのRAMであり、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張できるように構成されている。RAM307は、描画オブジェクトを格納する描画オブジェクト格納部402、ROM304に保持された制御プログラムによって一時的に使用されるワークメモリ、ハードディスク311とのアクセスを高速化するためのディスクアクセスバッファ等に用いられる。310は、例えば、濃度補正テーブル等の制御情報を保持するための不揮発性メモリで構成される。308は、DMA制御部であり、CPU309からの指示により画像メモリ305内のラスタデータをエンジンインタフェース部306に転送する。
【0043】
ハードディスク311は、ホストI/F部302が受信した印刷データや、画像データ発生部303がラスタライズして生成したラスタデータ等の各種データを格納することのできる大容量記憶媒体である。
【0044】
320は、アドレス、データ、コントロールバスを含むCPUバスである。パネルインタフェース部301、ホストインタフェース部302、画像データ発生部303、ROM304、画像メモリ305、エンジンインタフェース部306、RAM307、DMA制御部308、CPU309及びEEPROM310、ハードディスク311は、それぞれCPUバス320に接続されたすべてのデバイスにアクセス可能である。
【0045】
<印刷ジョブの構成>
図5は、データ処理装置101よりプリンタ102へ出力される印刷ジョブの構成を示したブロック図である。
【0046】
同図において、印刷ジョブ501は大きく分けて、ジョブ属性502及びPDLデータ503から構成されている。前記ジョブ属性502は、該印刷ジョブを処理するために必要な種々の属性(パラメータ)を含む。すなわち、ジョブモード511は処理モードを示しており、“print”は該印刷ジョブが正しく印刷されるためのものであることを示している。なお、該印刷ジョブを印刷後に保存する場合は“print−store”、保存のみを行う場合は“store”、保存されたジョブを読み出して印刷する場合は“load−print”、一時的に保存して同じジョブを部数分繰り返し読み出して印刷し、印刷が完了した後で保存したジョブを削除する場合は“store−print”などとなる。ここで、これらは文字列ではなく、予め定められた符号(例えば、“print”は4バイトの0=0x00000000、“print−store”は0x00000001、“store”は0x00000002、“load−print”は0x00000004、“store−print”は0x00000008など)で表すものとする。続いて512は該ジョブ属性の総サイズ(バイト数)、514はジョブ名称(サイズ可変)、513は前記ジョブ名称のバイトサイズを示す。ここで前記ジョブ名称サイズは4バイトの倍数になるように構成されており、ジョブ名称514の端数分は0(図中の“¥0”は1バイトの0を示している)で埋められている。
【0047】
ジョブ属性502はさらに、PDL種別515の他、ドライバUIで指定された各種パラメータ(階調516、解像度517、部数518、フィニッシングモード519、印刷面520、カラーモード521、閉じ方向・幅522、複数ページ印刷モード=いわゆるN−Up523等)、印刷ジョブを出力したユーザの情報525及びそのバイトサイズ526から構成されている。なお、図中ではN−Up指定が2ページ印刷指定であれば“2/1”、4ページ印刷指定なら“4/1”、通常印刷(複数ページ印刷指定なし)であれば“1/1”のように示している。また前記ユーザ情報525は電子メールアドレスであるとする(印刷履歴等に使われる)。
【0048】
続くPDLデータ503は、後続ブロックがPDLデータであることを示すパケット識別子“send_PDL”551と、PDLデータサイズ552、及びPDL形式の命令群から構成される。ここで前記命令群は、PDLジョブ開始命令553に始まって、印字解像度やサイズ単位の指定といったジョブ内で共通の環境パラメータ556、フォームデータ557、排紙命令でページ単位に区切られた描画命令群558〜560が続き、PDLジョブ終了命令561で終了する。なお、用紙サイズや用紙種別などページ単位で変更可能なパラメータは、変更の度に各ページの先頭で指定されているものとする。
【0049】
<プリンタ102内での印刷データの流れ>
次に、図6〜図9を用いて、データ処理装置101より受信した印刷データがジョブの処理モード511に応じて処理されることにより、プリンタ102内で印刷データが流れていくかについて以下に説明する。
【0050】
I.印刷処理モードでの印刷データの流れ
図6は、通常の印刷処理モードでの印刷データの流れを示すデータフロー図である。
【0051】
同図において、データ処理装置101より送信された印刷データは、プリンタ102内のホストI/F部302において受信され、前記ホストI/F部302の受信バッファ401に一時的に格納される(F101)。
【0052】
前記受信バッファ401に格納された印刷データは、CPU309からの指示により読み出されて解釈され、描画オブジェクト(イメージ画像へ展開可能な中間形式のディスプレイリスト)としてRAM307に割り当てられた描画オブジェクト格納部402に格納される(F102)。
【0053】
前記描画オブジェクト格納部402に少なくとも1ページ分の描画オブジェクトが蓄えられると、前記CPU309は画像データ発生部303を起動する。起動された画像データ発生部303は、前記描画オブジェクト格納部402に蓄えられた描画オブジェクトを参照してラスタデータに展開し、画像メモリ305に格納する(F103)。
【0054】
前記画像メモリ305に少なくとも1ページ分のラスタデータが蓄えられると、前記CPU309はDMA制御部308を起動する。起動されたDMA制御部308は、前記ラスタデータをエンジンI/F部306の画像送信バッファ403に転送する(F104)。
【0055】
プリンタエンジン105が印刷可能な状態であれば、前記CPU309は、所定のタイミングで前記画像送信バッファに蓄えられた画像データを前記プリンタエンジン105へ送出する。
【0056】
II.ストア処理モードでの印刷データの流れ
図7は、ストア処理モードでの印刷データの流れを示すデータフロー図である。
【0057】
同図において、データ処理装置101より送信された印刷データは、プリンタ102内のホストI/F部302において受信され、前記ホストI/F部302の受信バッファ401に一時的に格納される(F201)。
【0058】
前記受信バッファ401に格納された印刷データは、CPU309からの指示により読み出されて解釈され、描画オブジェクト(イメージ画像へ展開可能な中間形式のディスプレイリスト)としてRAM307に割り当てられた描画オブジェクト格納部402に格納される(F202)。
【0059】
前記描画オブジェクト格納部402に少なくとも1ページ分の描画オブジェクトが蓄えられると、前記CPU309は画像データ発生部303を起動する。起動された画像データ発生部303は、前記描画オブジェクト格納部402に蓄えられた描画オブジェクトを参照してラスタデータに展開し、画像メモリ305に格納する(F203)。
【0060】
前記画像メモリ305に少なくとも1ページ分のラスタデータが蓄えられると、前記CPU309は、前記ラスタデータをハードディスク311に保存する(F204)。
【0061】
F204において、前記ハードディスク311に保存されるデータは、ラスタデータだけでなく、一連の印刷処理に必要なページ単位及びジョブ単位のパラメータ等のデータも保存ジョブデータとして同様に保存されることは言うまでもなく、ハードディスク311から読み出して印刷処理を行う場合には、前記パラメータに従った印刷処理となる。
【0062】
III.ロード印刷処理モードでの印刷データの流れ
図8は、ロード印刷処理モードでの印刷データの流れを示すデータフロー図である。
【0063】
同図において、ハードディスク311に保存されている保存ジョブデータ404に対して、CPU309よりロード印刷処理の指示があると、前記保存ジョブデータ404を構成するラスタデータが読み出され、画像メモリ305に格納される(F301)。
【0064】
前記画像メモリ305に少なくとも1ページ分のラスタデータが蓄えられると、前記CPU309はDMA制御部308を起動する。起動されたDMA制御部308は、前記ラスタデータをエンジンI/F部306の画像送信バッファ403に転送する(F302)。
【0065】
プリンタエンジン105が印刷可能な状態であれば、前記CPU309は、所定のタイミングで前記画像送信バッファに蓄えられた画像データを前記プリンタエンジン105へ送出する。
【0066】
IV.一時ストア印刷処理モードでの印刷データの流れ
図9は、一時ストア印刷処理モードでの印刷データの流れを示すデータフロー図である。
【0067】
同図において、データ処理装置101より送信された印刷データは、プリンタ102内のホストI/F部302において受信され、前記ホストI/F部302の受信バッファ401に一時的に格納される(F401)。
【0068】
前記受信バッファ401に格納された印刷データは、CPU309からの指示により読み出されて解釈され、描画オブジェクト(イメージ画像へ展開可能な中間形式のディスプレイリスト)としてRAM307に割り当てられた描画オブジェクト格納部402に格納される(F402)。
【0069】
前記描画オブジェクト格納部402に少なくとも1ページ分の描画オブジェクトが蓄えられると、前記CPU309は画像データ発生部303を起動する。起動された画像データ発生部303は、前記描画オブジェクト格納部402に蓄えられた描画オブジェクトを参照してラスタデータに展開し、画像メモリ305に格納する(F403)。
【0070】
前記画像メモリ305に少なくとも1ページ分のラスタデータが蓄えられると、前記CPU309は、前記ラスタデータをハードディスク311に保存する(F404)。
【0071】
印刷ジョブを構成するすべてのページのデータ保存処理が完了すると、前記CPU309は、前記ハードディスク311に保存されている保存ジョブデータ404の読み出し処理を開始し、前記保存ジョブデータ404を構成するラスタデータを前記画像メモリ305に格納する(F405)。
【0072】
前記画像メモリ305に少なくとも1ページ分のラスタデータが蓄えられると、前記CPU309はDMA制御部308を起動する。起動されたDMA制御部308は、前記ラスタデータをエンジンI/F部306の画像送信バッファ403に転送する(F406)。
【0073】
プリンタエンジン105が印刷可能な状態であれば、前記CPU309は、所定のタイミングで前記画像送信バッファに蓄えられた画像データを前記プリンタエンジン105へ送出する。
【0074】
前記印刷ジョブが複数部数指定の場合はF405、F406の処理が同じページに対して部数分繰り返される。
【0075】
なお、一時ストア印刷処理モードの場合のデータフローは前記に限らず、一部目は前述した図6で示される通常の印刷処理モードの場合の処理と画像メモリ305からハードディスク311への保存処理がページ単位で並列的に行われ、2部目以降は図8で示されるロード印刷処理モードの場合の処理が行われるような制御手段であってもよい。
【0076】
また、F404で印刷ジョブを構成するすべてのページのデータ保存処理がしなくてもページ単位でデータ保存処理が完了していれば、ロード印刷処理開始するような制御手段であってもよい。
【0077】
<プリンタエンジン105に異常が発生した場合の処理>
次に、図10、図11、及び図12のフローチャートを用いながら、プリンタエンジン105に異常が発生した場合にハードディスク311へのストア指示のジョブを優先させるための処理手順について以下に説明する。
【0078】
I.ストア指示ジョブ優先処理の決定
図10は、プリンタエンジン105に異常が発生した場合にストア指示のジョブの処理を優先させるかどうかを決定する処理手順を示すフローチャートである。
【0079】
同図において、CPU309は、プリンタエンジン105を監視するタスクにおいて、プリンタエンジン105に異常が発生したかどうかを判断する(S101)。プリンタエンジン105における異常とは、例えば、紙無しや、紙詰まり、故障、トナー切れなどである。
【0080】
ステップS101において、異常が発生していなければ、所定の時間経過毎にステップS101の処理を繰り返し、異常が発生していればステップS102に続く。
【0081】
ステップS102では、プリンタエンジン105に異常が発生したことで印刷(画像出力)処理が不可能であるため、ストア処理を優先的に行うように、ストア指示ジョブ優先処理タスクを起動させるための通知を行う。ストア指示ジョブ優先処理タスクにおいて行われる処理内容は、図11の説明において後述する。
【0082】
ステップS102においてストア指示ジョブ優先通知を行うと、プリンタエンジン105の異常が解除されたかどうかの判断を行う(ステップS103)。
【0083】
ステップS103において、異常が解除されてなければ、所定の時間経過毎にステップS103の処理を繰り返し、異常が解除されていればステップS104の処理に続く。
【0084】
ステップS104では、プリンタエンジン105の異常が解除されたことで印刷(画像出力)処理が可能となり、通常の処理に戻るように、ストア指示ジョブ優先解除処理タスクを起動させるための通知を行う。ストア指示ジョブ優先解除処理タスクにおいて行われる処理内容は、図12の説明において後述する。
【0085】
ステップS104において、ストア指示ジョブ優先解除通知を行った後は、ステップS101に戻り、再びプリンタエンジン105に異常が発生したかどうかの判断処理を繰り返す。
【0086】
II.ストア指示ジョブ優先処理の処理手順
図11は、プリンタエンジン105に異常が発生した場合に起動されるストア指示ジョブ優先処理タスクの処理手順を示すフローチャートである。
【0087】
同図において、ストア指示ジョブ優先処理タスクは、まず印刷中のジョブが存在するかどうかを判断する(ステップS201)。
【0088】
ステップS201において、印刷中のジョブが存在しなければステップS203の処理に移り、印刷中のジョブが存在すればステップS202に続く。
【0089】
ステップS202では、エンジン異常により中断されている印刷中のジョブの状態(例えば、何ページ目まで印刷したかなど)を記憶するとともに、復元可能の情報であれば一時的に削除して、前記印刷中のジョブを一時退避させる。印刷中のジョブの一時退避処理が完了した後は、ステップS203の処理に続く。
【0090】
ステップS203では、図10の説明において前述したプリンタエンジン105監視タスクからのストア指示ジョブ優先解除通知があったかどうかを判断する。ここで、ストア指示ジョブ優先解除通知があった場合は、ストア指示ジョブ優先処理タスクの処理を終了し、ストア指示ジョブ優先解除通知がなかった場合は、ステップS204に続く。なお、ストア指示ジョブ優先処理タスクの処理を終了した場合には、一方で、プリンタエンジン105監視タスクからの起動でストア指示ジョブ優先解除処理タスクの処理が開始され、ストア指示ジョブ優先処理タスクで一時退避されたジョブは、ストア指示ジョブ優先解除処理タスクの処理において再開されることになる。
【0091】
ステップS204では、プリンタ102が持つジョブキュー内の未処理のジョブにストア指示のジョブが存在するかどうかを判断する。もしストア指示のジョブが存在しなければ、ステップS203の判断処理に戻り、ストア指示のジョブが存在すれば、ステップS205の処理に続く。
【0092】
ステップS205では、プリンタ102が持つジョブキューのジョブ順番に従って、未処理のジョブにストア指示のジョブがあれば、そのジョブの処理を優先させ、描画オブジェクト生成処理、及びイメージ展開処理を行った後にハードディスク311へのストア処理を行う。
【0093】
ステップS205において、優先された1つのジョブのストア処理が完了したところで、ステップS203に戻り、エンジンの異常が解除されるまで同様の処理を繰り返す。
【0094】
以上のように、プリンタエンジン105が異常な状態であってもストア指示のジョブを優先して処理することで、異常解除後のストア指示ジョブの処理に費やすべき時間を軽減でき、新たに受信する印刷ジョブの処理をより早く開始することができる。
【0095】
III.ストア指示ジョブ優先解除処理の処理手順
図12は、プリンタエンジン105の異常が解除された場合に起動されるストア指示ジョブ優先解除処理タスクの処理手順を示すフローチャートである。
【0096】
同図において、ストア指示ジョブ優先解除処理タスクは、ストア指示ジョブ優先処理タスクにおいて一時退避された印刷中ジョブが存在するかどうかを判断する(ステップS301)。
【0097】
ステップS301において、一時退避された印刷ジョブが存在しなければステップS303の処理に移り、一時退避された印刷ジョブが存在すればステップS302に続く。
【0098】
ステップS302では、一時退避された印刷ジョブを中断されたときの状態に復元し、印刷(画像出力)処理を再開させる。一時退避された印刷ジョブの印刷(画像出力)処理が再開された後は、ステップS303の処理に続く。
【0099】
ステップS303では、図10の説明において前述したプリンタエンジン105監視タスクからのストア指示ジョブ優先通知があったかどうかを判断する。ここで、ストア指示ジョブ優先通知があった場合は、ストア指示ジョブ優先解除処理タスクの処理を終了し、ストア指示ジョブ優先通知がなかった場合は、ステップS304に続く。なお、ストア指示ジョブ優先解除処理タスクの処理を終了した場合には、一方で、プリンタエンジン105監視タスクからの起動でストア指示ジョブ優先解除処理タスクの処理が開始されることになる。
【0100】
ステップS304では、プリンタ102が持つジョブキュー内の未処理のジョブが存在するかどうかを判断する。もし未処理のジョブが存在しなければ、ステップS303の判断処理に戻り、未処理のジョブが存在すれば、ステップS305の処理に続く。
【0101】
ステップS305では、プリンタ102が持つジョブキューのジョブ順番に従って、印刷指示のジョブであれば印刷処理、ストア指示であればストア処理、ロード印刷処理であればロード印刷処理といったように、ジョブモードに従った所定の処理を行う。
【0102】
ステップS305において、1つのジョブの処理が完了したところで、ステップS303に戻り、エンジンに異常が発生するまで同様の処理を繰り返す。
【0103】
なお、ストア指示ジョブ優先通知によりストア処理中のジョブが、ストア指示ジョブ優先解除通知時に完全に処理を終了していなければ、処理状態を保持したストア処理一時退避のジョブとして強制的に終了させ、ストア指示ジョブ優先通知により一時退避させられていた印刷ジョブを再開させてもよいし、処理中だったストア指示ジョブについては完全に終了させて、その後一時退避させられていた印刷ジョブを再開させてもよい。
【0104】
IV.ストア指示ジョブ優先処理の具体例
次に、図13及び図14のブロック図を用いて、プリンタエンジン105に異常が発生した場合にどのようにストア指示ジョブを優先させて処理していくかについて以下に説明する。
【0105】
図13は、ジョブキュー内の登録例を表すブロック図であり、プリンタ102が処理すべきジョブがジョブキュー内に登録されている例を示している。
【0106】
同図において、ジョブキュー1101には、ジョブA 1102、ジョブB 1103、ジョブC 1104、ジョブD 1105、及びジョブE 1106が処理すべきジョブとして登録されている。それぞれのジョブのジョブモードは次のように設定され、またそれぞれのジョブは次のような処理状態となっている。
【0107】
ジョブA 1102は、ジョブモードが“print”(印刷指示)であり、印刷処理中状態である。ジョブB 1103は、ジョブモードが“print”(印刷指示)であり、未処理状態である。ジョブC 1104は、ジョブモードが“print”(印刷指示)であり、未処理状態である。ジョブD 1105は、ジョブモードが“store”(ストア指示)であり、未処理状態である。ジョブE 1106は、ジョブモードが“store”(ストア指示)であり、未処理状態である。
【0108】
図14は、ジョブキュー内の登録例を表す図であり、ストア指示ジョブ優先通知により、図13に対してストア指示のジョブが優先的に処理されることを示している。
【0109】
図14におけるジョブキュー1201は、ストア指示ジョブ優先通知によりジョブキュー内のジョブの処理優先が、図13におけるジョブキュー1101の状態から変更されたものである。従って、ジョブA 1102、ジョブB 1103、ジョブC 1104、ジョブD 1105、及びジョブE 1106は、それぞれジョブA 1202、ジョブB 1203、ジョブC 1204、ジョブD 1205、及びジョブE 1206に対応している。
【0110】
上記において、ジョブの処理状態に変化があるのは、ジョブA、ジョブDである。ジョブAは、ストア指示ジョブ優先処理により一時的に退避され、図13における印字処理中の状態から図14における退避中の状態に変更されている。これは、エンジン異常により印刷(画像出力)処理が不可能であるため、後続のジョブのストア処理を優先させることによるものである。また、ジョブDは、ストア指示ジョブ優先処理により処理を優先されて図13における未処理の状態から図14におけるストア処理中の状態に変更されている。これは、ストア処理が優先され、ジョブキューに登録されているジョブの中で最初のストア処理すべきジョブであるためである。
【0111】
以上のように、本実施形態では、プリンタエンジン105に異常が発生し、画像出力ができない場合に、中断したまま何も処理しないのではなく、処理すべき複数のジョブの中でストア指示のジョブを優先的に処理するようにしたので、プリンタエンジン105の異常復帰後は、異常発生中に処理された分だけトータルなジョブの処理時間を削減することができる。
【0112】
[第二実施形態]
上記第一実施形態においては、プリンタエンジン105に異常が発生した場合に、プリンタが処理すべき複数のジョブの中で、ユーザに指示されたジョブモードがストア指示である後続ジョブのみを優先して処理するものであったが、本第二実施形態では、ユーザに指示されたジョブモードが印刷指示である後続ジョブについて説明するものである。
【0113】
印刷指示のジョブの場合、プリンタエンジン105に異常が発生していれば画像を出力することはできないが、印刷指示のジョブを、第一実施形態の図7に従ってイメージ展開処理の後にハードディスク311へのストア処理を行うジョブと、第一実施形態の図8に従ってハードディスク311にストアされている画像情報をハードディスク311から読み出して(ロードして)印刷(画像出力)処理を行うジョブと、ハードディスク311に保存されている画像情報(ジョブ情報)を削除するジョブとに分割すれば、プリンタエンジン105に異常が発生していてもストア処理のジョブについては実行することができる。
【0114】
以下に、図15、及び図16を用いて、本実施形態について詳細に説明する。
【0115】
<プリンタエンジン105に異常が発生した場合の処理>
I.ストア指示ジョブ優先処理の処理手順
図15は、プリンタエンジン105に異常が発生した場合に起動されるストア指示ジョブ優先処理タスクの処理手順を示すフローチャートであり、第一実施形態における図11に変更を加えたものである。
【0116】
同図において、ストア指示ジョブ優先処理タスクは、まず印刷中のジョブが存在するかどうかを判断する(ステップS401)。
【0117】
ステップS401において、印刷中のジョブが存在しなければステップS403の処理に移り、印刷中のジョブが存在すればステップS402に続く。
【0118】
ステップS402では、エンジン異常により中断されている印刷中のジョブの状態(例えば、何ページ目まで印刷したかなど)を記憶するとともに、復元可能の情報であれば一時的に削除して、前記印刷中のジョブを一時退避させる。印刷中のジョブの一時退避処理が完了した後は、ステップS403の処理に続く。
【0119】
ステップS403では、第一実施形態の図10の説明において前述したプリンタエンジン105監視タスクからのストア指示ジョブ優先解除通知があったかどうかを判断する。ここで、ストア指示ジョブ優先解除通知があった場合は、ストア指示ジョブ優先処理タスクの処理を終了し、ストア指示ジョブ優先解除通知がなかった場合は、ステップS404に続く。なお、ストア指示ジョブ優先処理タスクの処理を終了した場合には、一方で、プリンタエンジン105監視タスクからの起動でストア指示ジョブ優先解除処理タスクの処理が開始され、ストア指示ジョブ優先処理タスクで一時退避されたジョブは、ストア指示ジョブ優先解除処理タスクの処理において再開されることになる。
【0120】
ステップS404においては、ストア可能な要素のあるジョブが存在すれば、そのジョブを要素処理単位に分割する。例えば、印刷指示のジョブは、第一実施形態の図7に従って、印刷データの解釈処理及びイメージ展開処理の後にハードディスク311へのストア処理を行うジョブと、第一実施形態の図8に従ってハードディスク311にストアされている画像情報をハードディスク311から読み出して(ロードして)印刷(画像出力)処理のジョブと、ハードディスク311に保存されている画像情報(ジョブ情報)を削除するジョブとに分割することができる。ステップS404における分割処理は、未処理のジョブの処理順番で最初のストア可能な要素のあるジョブに対して行えばよく、分割すべきジョブがないか、分割処理が完了したならば、ステップS405に続く。
【0121】
ステップS405では、プリンタ102が持つジョブキュー内の未処理のジョブにストア指示のジョブ(分割されてストア指示のジョブになったものも含める)が存在するかどうかを判断する。もしストア指示のジョブが存在しなければ、ステップS403の判断処理に戻り、ストア指示のジョブが存在すれば、ステップS405の処理に続く。
【0122】
ステップS406では、プリンタ102が持つジョブキューのジョブ順番に従って、未処理のジョブにストア指示のジョブがあれば、そのジョブの処理を優先させ、描画オブジェクト生成処理、及びイメージ展開処理を行った後にハードディスク311へのストア処理を行う。
【0123】
ステップS406において、優先された1つのジョブのストア処理が完了したところで、ステップS403に戻り、エンジンの異常が解除されるまで同様の処理を繰り返す。
【0124】
II.ストア指示ジョブ優先処理の具体例
図16は、ジョブキュー内の登録例を示すブロック図であり、ストア指示ジョブ優先通知により、第一実施形態における図13に対してストア指示のジョブが優先的に処理されることを示している。
【0125】
図におけるジョブキュー1301は、ストア指示ジョブ優先通知によりジョブキュー内のジョブ内容、及びジョブの処理優先が、第一実施形態の図13におけるジョブキュー1101の状態から変更されたものである。従って、ジョブA 1102はジョブA 1302に、ジョブB 1103は処理要素毎に分割されてジョブB1 1303とジョブB2 1304及びジョブB3 1305に、ジョブC 1104はジョブC 1306に、ジョブD 1105はジョブD 1307に、ジョブE 1106はジョブE 1308にそれぞれ対応している。
【0126】
上記において、ジョブの処理状態に変化があるのは、ジョブA、ジョブBである。ジョブAは、ストア指示ジョブ優先処理により一時的に退避され、第一実施形態の図13における印字処理中の状態から図16における退避中の状態に変更されている。これは、エンジン異常により印刷(画像出力)処理が不可能であるため、ストア処理可能な後続ジョブの処理を優先させることによるものである。また、ジョブBは、後続ジョブの中で最初のストア可能な要素を持つジョブであり、図15の説明において前述したストア指示ジョブ優先処理タスクにより、“store”(ストア処理)、“load−print”(ロード印刷処理)、“delete”(削除処理)と処理単位に分割されている。これは、ジョブB1 1303の処理でイメージ展開処理及びハードディスク311へのストア処理を行い、画像出力可能であればジョブB2 1304でハードディスク311にストアされているジョブB1 1303の画像情報をハードディスク311から読み出して(ロードして)印刷(画像出力)処理を行い、ジョブB3 1305でハードディスク311に保存されているジョブB1 1303の画像情報(ジョブ情報)の削除を行うことを示している。さらに、分割されたジョブB1 1303、ジョブB2 1304、及びジョブB3 1305の中でストア指示ジョブであるジョブB1 1303は、ストア指示ジョブ優先処理により処理を優先されて第一実施形態の図13における未処理の状態から図16におけるストア処理中の状態に変更されている。
【0127】
このように本実施形態では、ユーザに指示されたジョブモードがストア指示のジョブでなくても、ストア可能な要素を持ったジョブであれば、プリンタ内部でジョブを要素処理単位に分割することでストア指示ジョブ優先処理の対象ジョブとして扱える。そのため、プリンタエンジン105が異常な状態の場合に、分割されたジョブも含めてストア指示のジョブを優先して処理することで、より多くイメージ展開処理を済ませることができるとともに異常解除後のストア指示ジョブの処理に費やすべき時間を軽減でき、新たに受信する印刷ジョブの処理をより早く開始することができる。
【0128】
[第三実施形態]
上記第一実施形態及び第二実施形態においては、プリンタエンジン105に異常が発生した場合に、プリンタが処理すべき複数のジョブの中でストア可能なジョブを優先して処理するものであったが、プリンタエンジン105に異常が発生した場合だけでなく、電源投入時等のプリンタエンジン105が初期化処理を開始した場合や、カラープリンタエンジン105であればプリンタエンジン105が色補正を行うためのキャリブレーション処理を開始した場合、さらに例えばパネル操作でオペレータにより意図的にオフライン状態にされた場合なども含めて、画像記録装置がオフライン状態になった場合にストア可能なジョブを優先して処理するように切り替えてもよい。本実施形態では、画像記録装置がオフライン状態になった場合について説明するものである。
【0129】
図17は、本発明の第三実施形態において、画像記録装置がオフライン状態になった場合にストア可能なジョブの処理を優先させるかどうかを決定する処理手順を示すフローチャートであり、第一実施形態における図10に変更を加えたものである。
【0130】
同図において、CPU309は、プリンタエンジン105を監視するタスクにおいて、プリンタエンジン105が初期化中やキャリブレーション中などの印刷不可能な状態になり、オフライン状態になったかどうか、あるいはパネルI/F部301において、オペレータの指示によるオフライン状態を検知したかどうかを判断する(ステップS501)。
【0131】
ステップS501において、画像記録装置102がオフライン状態でなければ、つまりプリンタエンジン105が印刷可能な状態で、画像記録装置102がオンライン状態であれば、所定の時間経過毎にステップS501の処理を繰り返し、画像記録装置102がオフライン状態であればステップS502に続く。
【0132】
ステップS502では、ストア処理を優先的に行うように、ストア指示ジョブ優先処理タスクを起動させるための通知を行う。ストア指示ジョブ優先処理タスクにおいて行われる処理内容は、第一実施形態における図11、あるいは第二実施形態における図15の説明において前述した。
【0133】
ステップS502においてストア指示ジョブ優先通知を行うと、プリンタエンジン105が印刷可能な状態で、画像記録装置102がオンライン状態になったかどうかの判断を行う(ステップS503)。
【0134】
ステップS503において、プリンタエンジン105が印刷可能な状態になっていない、あるいは画像記録装置102がオンライン状態になっていない。つまり画像記録装置102がオフライン状態のままであれば、所定の時間経過毎にステップS503の処理を繰り返し、プリンタエンジン105が印刷可能な状態で、画像記録装置102がオンライン状態になればステップS504の処理に続く。
【0135】
ステップS504では、印刷(画像出力)処理が可能となり、通常の処理に戻るように、ストア指示ジョブ優先解除処理タスクを起動させるための通知を行う。ストア指示ジョブ優先解除処理タスクにおいて行われる処理内容は、第一実施形態における図12の説明において前述した。
【0136】
ステップS504において、ストア指示ジョブ優先解除通知を行った後は、ステップS501に戻り、再び画像記録装置102がオフライン状態になったかどうかの判断処理を繰り返す。
【0137】
なお、第一実施形態、第二実施形態及び第三実施形態では、ストア可能なジョブを優先して処理する場合を、プリンタエンジン105に異常発生した場合、あるいは画像記録装置がオフライン状態になった場合と限定していたが、どのような場合にストア可能なジョブを優先して処理するかを画像記録装置を使用するユーザ、あるいは画像記録装置の管理者に選択可能としてもよい。
【0138】
例えば、画像記録装置の管理者が、プリンタエンジン105の異常の中でジャムが発生した場合とプリンタエンジン105がキャリブレーションを開始した場合をストア指示ジョブ優先処理モードとして設定していたならば、画像記録装置は、前記状態になったときに第一実施形態の図11、及び第二実施形態の図15において前述したようなストア指示ジョブ優先処理タスクを起動させ、ストア可能なジョブを優先した処理を行うことになる。
【0139】
また、上記各実施形態では、ストア処理におけるストア先がハードディスク311であったが、ハードディスク311でなくても大容量の情報を記憶可能な媒体であればよく、内蔵のものでも外付けのものでもアクセス可能であればどのようなものであってもよい。
【0140】
なお、上述した図10〜図13、図15、及び図17のフローチャートに従ったプログラムを例えばROM304に格納し動作することにより、上述の制御方法を実現させることが可能となる。
【0141】
本発明は、上述した実施形態の装置に限定されず、複数の機器から構成されるシステムに適用しても、1つの機器から成る装置に適用してもよい。前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体をシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、完成されることは言うまでもない。
【0142】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク311、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMを用いることができる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0143】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、次のプログラムコードの指示に基づき、その拡張機能を拡張ボードや拡張ユニットに備わるCPUなどが処理を行って実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0144】
【発明の効果】
以上詳細に説明したように本発明によれば、画像出力不可能な状態である場合に、処理すべき印刷データのうち、記憶手段への記憶処理が指示された印刷データの処理を優先して行うようにしたので、画像出力不可能な状態の間に処理された分だけトータルな処理時間を短縮することが可能になる。すなわち、画像出力不可能な状態であっても、例えば印刷データの解釈処理や画像展開処理をしておくことにより、画像出力可能な状態になって初めて印刷データの解釈から処理する場合より、画像出力までに費やす処理時間を短縮することができる。
【0145】
さらに、画像出力不可能な状態でも、記憶手段への記憶処理が指示された印刷データの処理を優先して行うようにすることにより、処理された分だけ新たな印刷データをデータ処理装置より受け付けることができるため、画像記録装置の稼働率を向上させることができる。
【0146】
また、記憶手段への記憶処理を指示する印刷データがないと判断されたときに、解釈手段の解釈処理及び展開手段の展開処理を行うことにより記憶手段への記憶処理を行うことが可能な印刷データであることを条件として、該印刷データを処理分割して記憶手段への記憶処理までの処理を優先するようにしたので、記憶手段への記憶処理を指示する印刷データがない場合であっても、記憶手段への記憶処理を行うことが可能な印刷データであれば、上述の効果を享受することが可能である。
【図面の簡単な説明】
【図1】本発明の第一実施形態に係る画像記録装置のシステム構成の概略を示すブロック図である。
【図2】タンデム方式のプリンタの構成を説明する断面図である。
【図3】ビデオインタフェース及びプリンタエンジンの構成例を示す図である。
【図4】ビデオコントローラの構成例を示すブロック図である。
【図5】印刷ジョブの構成を示すブロック図である。
【図6】通常の印刷処理モードでの印刷データの流れを示すデータフロー図である。
【図7】ストア処理モードでの印刷データの流れを示すデータフロー図である。
【図8】ロード印刷処理モードでの印刷データの流れを示すデータフロー図である。
【図9】一時ストア印刷処理モードでの印刷データの流れを示すデータフロー図である。
【図10】ストア指示ジョブ優先処理の決定に関する処理手順を示すフローチャートである。
【図11】ストア指示ジョブ優先処理タスクの処理手順を示すフローチャートである。
【図12】ストア指示ジョブ優先解除処理に関する処理手順を示すフローチャートである。
【図13】第一実施形態に係るジョブキュー内の登録例を示すブロック図である。
【図14】第一実施形態に係るジョブキュー内の他の登録例を示すブロック図である。
【図15】第二実施形態に係るストア指示ジョブ優先処理タスクの処理手順を示すフローチャートである。
【図16】第二実施形態に係るジョブキュー内の登録例を示すブロック図である。
【図17】第三実施形態に係る画像記録装置がオフライン状態時の優先決定の処理手順を示すフローチャートである。
【符号の説明】
101 データ処理装置
102 画像記録装置
103 ビデオコントローラ
104 パネル部
105 プリンタエンジン
150 エンジン制御部
151 用紙サイズ検出部
152 給紙口検出部
153 オプション調査部
154 搬送制御部
155 光学系制御部
156 定着器温度制御部
157 オプション制御部
158 センサ部
202 操作パネル
203 ボード収納部
204a,204b,204c,204d 画像記録部
220 用紙カセット
301 パネルI/F部
302 ホストI/F部
303 画像データ発生部
304 ROM
305 画像メモリ
306 エンジンI/F部
307 RAM
308 DMA制御部
309 CPU
310 EEPROM
311 ハードディスク
401 受信バッファ
402 描画オブジェクト格納部
403 画像送信バッファ
404 保存ジョブデータ
501 印刷ジョブ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image recording apparatus such as a printer, and more particularly to a function of storing a plurality of print data specified by a data processing apparatus in a storage medium, and reading out the stored print data from the storage medium as needed. The present invention relates to an image recording apparatus having a function of performing a printing process.
[0002]
[Prior art]
In recent years, image recording with a built-in hard disk capable of storing a large amount of information and equipped with a store technology for storing print jobs from a data processing device and storing image data obtained by developing print jobs into images Equipment is increasing. The purpose of storing a print job and expanded image data on the hard disk includes, for example, the following.
[0003]
When outputting the same job a plurality of times, transfer the job from the data processing apparatus to the image recording apparatus at one time, store the job on the hard disk, repeatedly read the stored job, and perform printing processing for a plurality of copies. This is intended to reduce the network load. In this case, the timing of the image output need not be the timing at which the job was transmitted from the data processing device to the image recording device. Alternatively, the job may be stored in the hard disk, and the attribute operation of the job may be permitted.
[0004]
Also, as in the above case, the same job is output a plurality of times, but the job transmitted from the data processing device is interpreted, and the image data subjected to the image expansion processing is stored in the hard disk, and the stored data is stored. In some cases, the image output processing for a plurality of copies is performed at high speed by repeatedly reading out image data and performing image output processing for a plurality of copies without performing image expansion processing.
[0005]
In addition, there is a case where a store technique is used for the purpose of making an image output timing arbitrary by a user separately from a transmission timing of a print job in the data processing apparatus and an image output timing of the print job.
[0006]
[Problems to be solved by the invention]
However, in the above-described conventional image recording apparatus, jobs are processed in the order in which the jobs are received. Therefore, if an abnormality occurs in the printer engine or the printer engine is interrupted, Even if the job has a store instruction, the store process to the hard disk cannot be performed. For this reason, the image recording apparatus continues to be in a state in which nothing is processed without interruption until print output becomes possible, and there is a problem from the viewpoint of shortening the processing time, the operating rate, and the like.
[0007]
The present invention has been made in view of the above-described conventional problems. Therefore, even if an abnormality occurs in the printer engine or the printer engine interrupts the printing process and the image recording apparatus cannot perform the image output process, the process until the return is performed. An object of the present invention is to provide an image recording apparatus or the like that can reduce the total processing time of a job after returning by performing possible processing for a job in the meantime.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, in the image recording apparatus of the present invention, in an image recording apparatus that records an image based on print data supplied from a data processing apparatus, the image data is generated based on the print data or the print data. Storage means capable of storing image data to be output, output possible state determination means for determining whether or not the state of the image recording apparatus is an image output enabled state, and image output disabled by the output possible state determination means When the storage device is determined to be in a state and the storage unit is in a storable state, the processing of the print data instructed to be stored in the storage unit among the print data to be processed by the image recording apparatus is prioritized. When the output priority state determining means determines that the image output is possible, the processing of the store priority means is interrupted, and Characterized by comprising a store priority canceling means for returning the processing order so as to perform predetermined processing according to the received order of the print data transmitted from the data processing device.
[0009]
The image recording apparatus of the present invention has an interpreting unit for interpreting print data supplied from a data processing device, and a developing unit for expanding data interpreted by the interpreting unit into image data. In an image recording apparatus that records image data after expansion, a storage unit that stores the print data or the image data after expansion, and determines whether the state of the image recording apparatus is a state in which image output is possible. Output possible state determining means, and when the output possible state determining means determines that the image cannot be output and the storage means can store the image data, the print data to be processed by the image recording apparatus A store priority unit for giving priority to the interpretation process by the interpretation unit, the expansion process by the expansion unit, and the storage process by the storage unit; When it is determined by the output possible state determining means that the image can be output, the processing of the store priority means is interrupted, and predetermined processing relating to image recording is performed in accordance with the reception order of the print data transmitted from the data processing apparatus. And a store priority canceling means for returning the processing order as described above.
[0010]
The control method of the image recording apparatus according to the present invention is a method of controlling an image recording apparatus that records an image based on print data supplied from a data processing apparatus, wherein the image data is generated based on the print data or the print data. Storage means capable of storing image data to be output, and an output possible state determining step for determining whether or not the state of the image recording apparatus is a state capable of image output; If it is determined that the print data cannot be stored and the storage unit is in a storable state, processing of print data instructed to be stored in the storage unit among print data to be processed by the image recording apparatus When the output priority state determination step determines that the image output is possible, the processing of the store priority step is interrupted, and And executes the store priority canceling process for returning the processing order so as to perform predetermined processing according to the received order of the print data transmitted from the data processing device.
[0011]
The method for controlling an image recording apparatus according to the present invention includes an interpretation step of interpreting print data supplied from a data processing apparatus, and a development step of developing data after interpretation processing by the interpretation step into image data. What is claimed is: 1. A method for controlling an image recording apparatus for recording image data after expansion in an expansion step, wherein storage means for storing the print data or the image data after expansion is provided, An output enabled state determination step of determining whether or not the output is possible; and an image output disabled state determined by the output enabled state determination step, and a state in which the image can be stored by the storage unit. For the print data to be processed by the image recording apparatus, priority is given to the interpretation processing by the interpretation step, the expansion processing by the expansion step, and the storage processing by the storage means. If it is determined that the image can be output by the store priority process and the output possible state determination process, the process of the store priority process is interrupted, and the process is executed in accordance with the reception order of the print data transmitted from the data processing device. And performing a store priority canceling step of returning the processing order so as to perform predetermined processing relating to image recording.
[0012]
The medium for providing the control program according to the present invention includes a storage unit capable of storing print data or image data generated based on the print data, and stores an image based on the print data supplied from a data processing device. A medium for providing a control program for executing a control method of an image recording apparatus to be recorded, wherein the control program is capable of outputting whether or not the state of the image recording apparatus is a state in which an image can be output. The state determination step and the output possible state determination step determine that the image cannot be output, and when the storage unit is in a storable state, the print data to be processed by the image recording apparatus includes: A store priority step for giving priority to the processing of the print data instructed to be stored in the storage unit, and the output possible state determining step Therefore, when it is determined that an image can be output, the processing of the store priority step is interrupted, and the processing priority is returned so as to perform a predetermined processing in accordance with the reception order of the print data transmitted from the data processing device. And a canceling step.
[0013]
In a medium that provides a control program according to the present invention, an interpreting unit that interprets print data supplied from a data processing device, an expanding unit that expands data interpreted by the interpreting unit into image data, the print data, Or a storage unit for storing the image data after expansion, and a medium providing a control program for executing a control method of an image recording apparatus that records the image data after expansion by the expansion unit, The control program is an output enabled state determining step of determining whether the state of the image recording apparatus is an image output enabled state, and an image output disabled state is determined by the output enabled state determining step, and In a state where the image data can be stored in the storage unit, the print data to be processed by the image recording apparatus is analyzed by the interpretation unit. Processing, a store priority step for giving priority to the expansion processing by the expansion means and the storage processing by the storage means, and the processing of the store priority step when the output possible state determination step determines that the image can be output. And a store priority canceling step of returning the processing order so as to perform a predetermined processing relating to image recording in accordance with the reception order of the print data transmitted from the data processing apparatus.
[0014]
According to the control program of the present invention, there is provided a storage method for storing print data supplied from a data processing device or image data generated based on the print data, and a control method of an image recording device for recording the image data A controllable program for executing the step (a), the output state determining step of determining whether or not the state of the image recording apparatus is an image output enabled state; and When the storage unit is determined to be in the state and the storage unit is in the storable state, the processing of the print data instructed to be stored in the storage unit among the print data to be processed by the image recording apparatus is prioritized. The storage priority step, and when the output possible state determination step determines that the image can be output, the store priority step Process interrupted, characterized in that a store priority canceling returning a processing order so as to perform predetermined processing according to the received order of the print data transmitted from the data processing device.
[0015]
According to the control program of the present invention, an interpreter for interpreting the print data supplied from the data processing device, a decompressor for decompressing data interpreted by the interpreter into image data, and storing the decompressed image data A control program for executing a control method of the image recording apparatus for recording image data after expansion by the expansion means, wherein the state of the image recording apparatus is a state in which an image can be output. The output-capable state determining step of determining whether or not the image recording apparatus is not capable of outputting an image and the image recording apparatus is capable of storing the image by the storage unit. Gives priority to the interpretation processing by the interpretation means, the expansion processing by the expansion means, and the storage processing by the storage means to the print data to be processed. When the image output is possible in the storage priority step and the output possible state determination step, the processing in the storage priority step is interrupted, and the process is performed according to the reception order of the print data transmitted from the data processing device. A store priority canceling step of returning a processing order so as to perform a predetermined process related to image recording.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0017]
[First embodiment]
<System configuration>
FIG. 1 is a block diagram schematically showing the system configuration of the image recording apparatus according to the first embodiment of the present invention.
[0018]
In FIG. 1, a
[0019]
The video controller (video controller) 103 generates raster data for each page based on image information (for example, an ESC code, a page description language, etc.) supplied from the
[0020]
The
[0021]
The
[0022]
<Configuration of
FIG. 2 is a cross-sectional view illustrating the configuration of the tandem-
[0023]
In the figure,
[0024]
[0025]
The
[0026]
[0027]
The
[0028]
[0029]
In the
[0030]
In the
[0031]
[0032]
The
[0033]
<Configuration Example of
FIG. 3 is a diagram illustrating a configuration example of a video interface connecting the
[0034]
In the figure, a
[0035]
The
[0036]
An outline of the
[0037]
Next, an outline of signals constituting a video interface for connecting the
[0038]
170 is a / CPRDY signal indicating that the
[0039]
[0040]
<Configuration Example of
FIG. 4 is a block diagram illustrating a configuration example of the
[0041]
In the figure,
[0042]
An image
[0043]
The
[0044]
320 is a CPU bus including an address, data, and control bus. The
[0045]
<Configuration of print job>
FIG. 5 is a block diagram illustrating a configuration of a print job output from the
[0046]
In the figure, a
[0047]
The
[0048]
The
[0049]
<Flow of Print Data in
Next, with reference to FIGS. 6 to 9, it will be described below whether print data received from the
[0050]
I. Print data flow in print processing mode
FIG. 6 is a data flow diagram showing the flow of print data in a normal print processing mode.
[0051]
In the figure, print data transmitted from the
[0052]
The print data stored in the
[0053]
When at least one page of drawing objects is stored in the drawing
[0054]
When at least one page of raster data is stored in the
[0055]
When the
[0056]
II. Print data flow in store processing mode
FIG. 7 is a data flow diagram showing the flow of print data in the store processing mode.
[0057]
In the figure, print data transmitted from the
[0058]
The print data stored in the
[0059]
When at least one page of drawing objects is stored in the drawing
[0060]
When at least one page of raster data is stored in the
[0061]
In F204, it is needless to say that the data stored in the
[0062]
III. Print data flow in load print processing mode
FIG. 8 is a data flow diagram showing the flow of print data in the load print processing mode.
[0063]
In FIG. 9, when the
[0064]
When at least one page of raster data is stored in the
[0065]
When the
[0066]
IV. Print data flow in temporary store print processing mode
FIG. 9 is a data flow diagram showing the flow of print data in the temporary store print processing mode.
[0067]
In the figure, print data transmitted from the
[0068]
The print data stored in the
[0069]
When at least one page of drawing objects is stored in the drawing
[0070]
When at least one page of raster data is stored in the
[0071]
When the data saving processing of all pages constituting the print job is completed, the
[0072]
When at least one page of raster data is stored in the
[0073]
When the
[0074]
If the print job specifies a plurality of copies, the processes of F405 and F406 are repeated for the same page by the number of copies.
[0075]
Note that the data flow in the temporary store print processing mode is not limited to the above, and the first part is the processing in the normal print processing mode shown in FIG. 6 and the processing for saving from the
[0076]
Further, the control unit may start the load printing process if the data saving process is completed for each page even if the data saving process is not performed for all the pages constituting the print job in F404.
[0077]
<Process when abnormality occurs in
Next, a processing procedure for prioritizing a job of a store instruction to the
[0078]
I. Decision of store instruction job priority processing
FIG. 10 is a flowchart illustrating a processing procedure for determining whether to give priority to processing of a job instructing a store when an abnormality occurs in the
[0079]
In the figure, the
[0080]
In step S101, if no abnormality has occurred, the process of step S101 is repeated every predetermined time, and if an abnormality has occurred, the process continues to step S102.
[0081]
In step S102, a print (image output) process cannot be performed due to the occurrence of an abnormality in the
[0082]
When the store instruction job priority notification is performed in step S102, it is determined whether the abnormality of the
[0083]
In step S103, if the abnormality is not cleared, the process of step S103 is repeated every predetermined time, and if the abnormality is cleared, the process continues to step S104.
[0084]
In step S104, a print (image output) process is enabled by the release of the abnormality of the
[0085]
After the store instruction job priority release notification is made in step S104, the process returns to step S101, and the process of determining whether an abnormality has occurred in the
[0086]
II. Processing procedure of store instruction job priority processing
FIG. 11 is a flowchart illustrating a processing procedure of a store instruction job priority processing task that is started when an error occurs in the
[0087]
In the figure, the store instruction job priority processing task first determines whether there is a job being printed (step S201).
[0088]
In step S201, if there is no print job, the process proceeds to step S203. If there is a print job, the process proceeds to step S202.
[0089]
In step S202, the state of the job being printed which has been interrupted due to an engine error (for example, how many pages have been printed, etc.) is stored, and if the information can be restored, it is temporarily deleted, and Temporarily save the job inside. After the temporary saving process for the job being printed is completed, the process continues to step S203.
[0090]
In step S203, it is determined whether or not a store instruction job priority release notification has been received from the
[0091]
In step S <b> 204, it is determined whether an unprocessed job in the job queue of the
[0092]
In step S205, according to the job order of the job queue of the
[0093]
In step S205, when the storing process of one priority job is completed, the process returns to step S203, and the same process is repeated until the abnormality of the engine is eliminated.
[0094]
As described above, even when the
[0095]
III. Processing procedure of store instruction job priority release processing
FIG. 12 is a flowchart illustrating a processing procedure of a store instruction job priority release processing task started when the abnormality of the
[0096]
In the drawing, the store-instruction job priority release processing task determines whether or not there is a printing job temporarily saved in the store-instruction job priority processing task (step S301).
[0097]
In step S301, if there is no temporarily saved print job, the process proceeds to step S303. If there is a temporarily saved print job, the process proceeds to step S302.
[0098]
In step S302, the temporarily saved print job is restored to the state at the time of interruption, and printing (image output) processing is restarted. After the printing (image output) process of the temporarily saved print job is restarted, the process continues to step S303.
[0099]
In step S303, it is determined whether there is a store instruction job priority notification from the
[0100]
In step S304, it is determined whether there is an unprocessed job in the job queue of the
[0101]
In step S305, according to the job order of the job queue of the
[0102]
When the processing of one job is completed in step S305, the process returns to step S303, and the same processing is repeated until an abnormality occurs in the engine.
[0103]
If the job in the process of being stored by the store instruction job priority notification has not completely completed the processing at the time of the store instruction job priority release notification, the job is forcibly terminated as a store process temporary save job holding the processing state, The print job temporarily saved by the store instruction job priority notification may be resumed, or the store instruction job that was being processed may be completely terminated, and then the temporarily saved print job may be resumed. Is also good.
[0104]
IV. Specific example of store instruction job priority processing
Next, with reference to the block diagrams of FIGS. 13 and 14, a description will be given below of how a store instruction job is processed with priority when an abnormality occurs in the
[0105]
FIG. 13 is a block diagram illustrating an example of registration in the job queue, and illustrates an example in which a job to be processed by the
[0106]
In the figure, in a
[0107]
The job mode of the
[0108]
FIG. 14 is a diagram illustrating an example of registration in the job queue, and shows that a store instruction job is preferentially processed with respect to FIG. 13 by a store instruction job priority notification.
[0109]
The
[0110]
In the above, jobs A and D have a change in the processing state of the job. The job A is temporarily saved by the store instruction job priority process, and has been changed from the state of the printing process in FIG. 13 to the state of the saving in FIG. This is because printing (image output) processing cannot be performed due to an engine abnormality, and the store processing of a subsequent job is prioritized. Further, the job D is changed from the unprocessed state in FIG. 13 to the storing state in FIG. 14 by giving priority to the processing by the store instruction job priority processing. This is because the store processing has priority and is the first job to be stored among the jobs registered in the job queue.
[0111]
As described above, in the present embodiment, when an error occurs in the
[0112]
[Second embodiment]
In the first embodiment, when an error occurs in the
[0113]
In the case of a print instruction job, an image cannot be output if an error has occurred in the
[0114]
Hereinafter, the present embodiment will be described in detail with reference to FIGS. 15 and 16.
[0115]
<Process when abnormality occurs in
I. Processing procedure for store instruction job priority processing
FIG. 15 is a flowchart illustrating a processing procedure of a store instruction job priority processing task that is started when an error occurs in the
[0116]
In the figure, the store instruction job priority processing task first determines whether there is a job being printed (step S401).
[0117]
In step S401, if there is no print job, the process proceeds to step S403. If there is a print job, the process proceeds to step S402.
[0118]
In step S402, the state of the job being printed which has been interrupted due to an engine abnormality (for example, how many pages have been printed) is stored, and if the information is restorable, it is temporarily deleted and the printing is performed. Temporarily save the job inside. After the temporary saving process for the job being printed is completed, the process continues to step S403.
[0119]
In step S403, it is determined whether there is a store instruction job priority release notification from the
[0120]
In step S404, if there is a job having a storable element, the job is divided into element processing units. For example, according to FIG. 7 of the first embodiment, the job of the print instruction is a job for storing the print data in the
[0121]
In step S <b> 405, it is determined whether or not an unprocessed job in the job queue of the
[0122]
In step S406, according to the job order of the job queue of the
[0123]
In step S406, when the storing process of one priority job is completed, the process returns to step S403, and the same process is repeated until the abnormality of the engine is cleared.
[0124]
II. Specific example of store instruction job priority processing
FIG. 16 is a block diagram showing an example of registration in the job queue, and shows that a store instruction job is preferentially processed with respect to FIG. 13 in the first embodiment by a store instruction job priority notification. .
[0125]
In the
[0126]
In the above, the job A and the job B change in the processing state of the job. Job A is temporarily saved by the store instruction job priority process, and is changed from the status during the printing process in FIG. 13 of the first embodiment to the status during the saving process in FIG. 16. This is because print (image output) processing cannot be performed due to engine abnormality, and processing of a succeeding job that can be stored is prioritized. Further, the job B is a job having the first storable element among the succeeding jobs, and “store” (store processing), “load-print” is performed by the store instruction job priority processing task described above with reference to FIG. "(Load print processing) and" delete "(delete processing). This means that, in the processing of
[0127]
As described above, in the present embodiment, even if the job mode instructed by the user is not a job instructing to store, if the job has a storable element, the job is divided into element processing units inside the printer. It can be handled as a target job of the store instruction job priority processing. Therefore, when the
[0128]
[Third embodiment]
In the first and second embodiments, when an error occurs in the
[0129]
FIG. 17 is a flowchart showing a processing procedure for determining whether to give priority to the processing of a storable job when the image recording apparatus goes offline in the third embodiment of the present invention. Is a modification of FIG. 10.
[0130]
In the same figure, the
[0131]
In step S501, if the
[0132]
In step S502, a notification for activating the store instruction job priority processing task is performed so that the store processing is preferentially performed. The processing content performed in the store instruction job priority processing task has been described in the description of FIG. 11 in the first embodiment or FIG. 15 in the second embodiment.
[0133]
When the store instruction job priority notification is performed in step S502, it is determined whether or not the
[0134]
In step S503, the
[0135]
In step S504, a print (image output) process is enabled, and a notification for activating the store instruction job priority canceling process task is performed so as to return to the normal process. The processing content performed in the store instruction job priority release processing task has been described in the description of FIG. 12 in the first embodiment.
[0136]
After the store instruction job priority release notification is issued in step S504, the process returns to step S501, and the process of determining whether or not the
[0137]
In the first embodiment, the second embodiment, and the third embodiment, the case where the job that can be stored is processed with priority is performed when an abnormality occurs in the
[0138]
For example, if the administrator of the image recording apparatus sets the case where a jam occurs due to an abnormality of the
[0139]
Further, in each of the above embodiments, the storage destination in the store processing is the
[0140]
The above-described control method can be realized by storing a program according to the flowcharts of FIGS. 10 to 13, 15, and 17 in, for example, the
[0141]
The present invention is not limited to the device of the above-described embodiment, and may be applied to a system including a plurality of devices or an apparatus including one device. A storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. It goes without saying that it will be completed by doing so.
[0142]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, a
[0143]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the expansion is performed based on the instruction of the next program code. It goes without saying that a CPU or the like provided in an expansion board or an expansion unit performs processing and performs a part or all of actual processing, and the processing realizes the functions of the above-described embodiments.
[0144]
【The invention's effect】
As described above in detail, according to the present invention, when the image cannot be output, priority is given to the processing of the print data instructed to be stored in the storage unit among the print data to be processed. Since the processing is performed, the total processing time can be reduced by the amount of the processing performed during the state where the image cannot be output. In other words, even in a state where image output is not possible, for example, by performing print data interpretation processing and image expansion processing, the image output processing is not performed until print image interpretation is performed only when image output is possible. The processing time spent until output can be reduced.
[0145]
Furthermore, even in a state in which image output is not possible, by giving priority to processing of print data instructed to be stored in the storage unit, new print data is received from the data processing device for the processed amount. Therefore, the operation rate of the image recording apparatus can be improved.
[0146]
Further, when it is determined that there is no print data instructing the storage processing in the storage means, the printing processing capable of performing the storage processing in the storage means by performing the interpretation processing of the interpretation means and the development processing of the development means. On the condition that the print data is data, the print data is divided and the process up to the storage process in the storage unit is prioritized, so that there is no print data instructing the storage process in the storage unit. Also, if the print data can be stored in the storage unit, the above-described effects can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram schematically illustrating a system configuration of an image recording apparatus according to a first embodiment of the present invention.
FIG. 2 is a cross-sectional view illustrating a configuration of a tandem type printer.
FIG. 3 is a diagram illustrating a configuration example of a video interface and a printer engine.
FIG. 4 is a block diagram illustrating a configuration example of a video controller.
FIG. 5 is a block diagram illustrating a configuration of a print job.
FIG. 6 is a data flow diagram illustrating a flow of print data in a normal print processing mode.
FIG. 7 is a data flow diagram showing a flow of print data in a store processing mode.
FIG. 8 is a data flow diagram showing a flow of print data in a load print processing mode.
FIG. 9 is a data flow diagram showing a flow of print data in a temporary store print processing mode.
FIG. 10 is a flowchart illustrating a processing procedure relating to determination of a store instruction job priority process.
FIG. 11 is a flowchart illustrating a processing procedure of a store instruction job priority processing task.
FIG. 12 is a flowchart illustrating a processing procedure relating to a store instruction job priority release processing.
FIG. 13 is a block diagram illustrating an example of registration in a job queue according to the first embodiment.
FIG. 14 is a block diagram illustrating another example of registration in the job queue according to the first embodiment.
FIG. 15 is a flowchart illustrating a processing procedure of a store instruction job priority processing task according to the second embodiment.
FIG. 16 is a block diagram illustrating an example of registration in a job queue according to the second embodiment.
FIG. 17 is a flowchart illustrating a processing procedure of priority determination when the image recording apparatus according to the third embodiment is in an offline state.
[Explanation of symbols]
101 Data processing device
102 Image recording device
103 Video Controller
104 Panel
105 Printer Engine
150 Engine control unit
151 Paper Size Detector
152 Paper Feed Port Detector
153 Option Research Department
154 Transport control unit
155 Optical system controller
156 Fixing unit temperature controller
157 Option control unit
158 Sensor unit
202 Operation panel
203 Board storage
204a, 204b, 204c, 204d Image recording unit
220 paper cassette
301 Panel I / F
302 Host I / F section
303 Image Data Generation Unit
304 ROM
305 Image memory
306 Engine I / F
307 RAM
308 DMA control unit
309 CPU
310 EEPROM
311 Hard disk
401 Receive buffer
402 Drawing object storage
403 Image transmission buffer
404 Stored job data
501 print job
Claims (21)
前記印刷データ、あるいは前記印刷データに基づいて生成される画像データを記憶可能な記憶手段と、
当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断手段と、
前記出力可能状態判断手段によって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先手段と、
前記出力可能状態判断手段によって画像出力可能な状態と判断された場合に、前記ストア優先手段の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除手段とを備えたことを特徴とする画像記録装置。In an image recording device that records an image based on print data supplied from a data processing device,
Storage means capable of storing the print data, or image data generated based on the print data,
Output possible state determination means for determining whether the state of the image recording apparatus is a state in which image output is possible,
When the output possible state determination unit determines that the image cannot be output and the storage unit is in a storable state, the print data to be processed by the image recording apparatus is stored in the storage unit. A store priority means for giving priority to the processing of the print data instructed by the processing;
When the output possible state determining unit determines that the image can be output, the process of the store priority unit is interrupted, and a predetermined process is performed according to the reception order of the print data transmitted from the data processing device. An image recording apparatus comprising: a store priority canceling unit for returning a processing order.
当該画像記録装置に印刷中の印刷データが存在するか否かを判断する印刷中判断手段と、前記印刷中判断手段により印刷中の印刷データが存在していると判断された場合に、前記印刷中の印刷データを、印刷状態に関する情報と共に所定の領域に記憶して一時的に退避させる退避手段と、当該画像記録装置が処理すべき後続の印刷データに前記記憶手段への記憶処理を指示する印刷データが存在するか否かを判断するストア指示判断手段とを有し、
前記印刷中判断手段により印刷中の印刷データが存在していないと判断された場合、あるいは前記退避手段により退避処理が完了した場合に、前記ストア指示判断手段により前記記憶手段への記憶処理を指示する印刷データが存在すると判断されたときは該印刷データの処理を優先するように構成し、
前記ストア優先解除手段は、
前記退避手段により退避させられている印刷データが存在するか否かを判断する退避中判断手段と、前記退避中判断手段により退避中の印刷データが存在していると判断された場合に、前記退避中の印刷データを読み出して退避前の状態から処理を再開する再開手段とを有し、
前記退避中判断手段により退避中の印刷データが存在していないと判断された場合、あるいは前記再開手段により再開処理が完了した場合に、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うことを特徴とする請求項1記載の画像記録装置。The store priority means,
A printing determination means for determining whether or not print data being printed exists in the image recording apparatus; and if the printing data determination section determines that print data being printed exists, the printing is performed. Evacuation means for temporarily storing the print data in progress together with information about the printing state in a predetermined area, and instructing the storage means for the subsequent print data to be processed by the image recording apparatus. Store instruction determining means for determining whether print data exists,
When the printing determination unit determines that there is no print data being printed, or when the evacuation unit completes the evacuation process, the storage instruction determination unit instructs storage processing to the storage unit. When it is determined that there is print data to be processed, the processing of the print data is given priority,
The store priority canceling means,
An evacuation determination unit that determines whether or not there is print data saved by the evacuation unit; and Restart means for reading the print data being saved and restarting the process from the state before the save,
When the evacuation determining unit determines that there is no print data being saved or when the resuming unit completes the resuming process, the evacuation determining unit determines the print data according to the reception order of the print data transmitted from the data processing device. 2. The image recording apparatus according to claim 1, wherein the processing is performed.
前記印刷データ、または前記展開後の画像データを記憶する記憶手段と、
当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断手段と、
前記出力可能状態判断手段によって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データに対して、前記解釈手段による解釈処理、前記展開手段による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先手段と、
前記出力可能状態判断手段によって画像出力可能な状態と判断された場合に、前記ストア優先手段の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除手段とを備えたことを特徴とする画像記録装置。Interpreting means for interpreting the print data supplied from the data processing device, and expanding means for expanding the data after the interpretation processing by the interpreting means into image data, and recording the image data expanded by the expanding means. In an image recording device,
Storage means for storing the print data, or the image data after the development,
Output possible state determination means for determining whether the state of the image recording apparatus is a state in which image output is possible,
When the output possible state determination unit determines that the image cannot be output and the storage unit can store the image, the interpretation unit interprets the print data to be processed by the image recording apparatus. Processing, store priority means for giving priority to the expansion processing by the expansion means and the storage processing by the storage means,
When it is determined that the image can be output by the output possible state determining unit, the process of the store priority unit is interrupted, and a predetermined process related to image recording is performed in accordance with the reception order of the print data transmitted from the data processing device. An image recording apparatus comprising: a store priority canceling unit for returning a processing order so as to perform the processing.
当該画像記録装置に印刷中の印刷データが存在するか否かを判断する印刷中判断手段と、前記印刷中判断手段により印刷中の印刷データが存在していると判断された場合に、前記印刷中の印刷データを、印刷状態に関する情報と共に所定の領域に記憶して一時的に退避させる退避手段と、当該画像記録装置が処理すべき後続の印刷データに前記記憶手段への記憶処理を指示する印刷データが存在するか否かを判断するストア指示判断手段とを有し、
前記印刷中判断手段により印刷中の印刷データが存在していないと判断された場合、あるいは前記退避手段により退避処理が完了した場合に、前記ストア指示判断手段により、前記記憶手段への記憶処理を指示する印刷データが存在すると判断されたときは該印刷データの処理を優先し、前記記憶手段への記憶処理を指示する印刷データがないと判断されたときは、前記解釈手段の解釈処理及び前記展開手段の展開処理を行うことにより前記記憶手段への記憶処理を行うことが可能な印刷データであることを条件として、該印刷データを処理分割して前記記憶手段への記憶処理までの処理を優先するように構成し、
前記ストア優先解除手段は、
前記退避手段により退避させられている印刷データが存在するか否かを判断する退避中判断手段と、前記退避中判断手段により退避中の印刷データが存在していると判断された場合に、前記退避中の印刷データを読み出して退避前の状態から処理を再開する再開手段とを有し、
前記退避中判断手段により退避中の印刷データが存在していないと判断された場合、あるいは前記再開手段により再開処理が完了した場合に、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うことを特徴とする請求項3記載の画像記録装置。The store priority means,
A printing determination means for determining whether or not print data being printed exists in the image recording apparatus; and if the printing data determination section determines that print data being printed exists, the printing is performed. Evacuation means for temporarily storing the print data in progress together with information about the printing state in a predetermined area, and instructing the storage means for the subsequent print data to be processed by the image recording apparatus. Store instruction determining means for determining whether print data exists,
When the print-in-progress determination unit determines that the print data being printed does not exist, or when the evacuation unit completes the evacuation process, the store instruction determination unit executes the storage process in the storage unit. When it is determined that there is print data to instruct, the processing of the print data is prioritized, and when it is determined that there is no print data to instruct storage processing in the storage means, the interpretation processing of the interpretation means and the On condition that the print data can be stored in the storage unit by performing the expansion process of the expansion unit, the process up to the storage process in the storage unit is performed by dividing the print data into processes. Configured to take precedence,
The store priority canceling means,
An evacuation determination unit that determines whether or not there is print data saved by the evacuation unit; and Restart means for reading the print data being saved and restarting the process from the state before the save,
When the evacuation determining unit determines that there is no print data being saved or when the resuming unit completes the resuming process, the evacuation determining unit determines the print data according to the reception order of the print data transmitted from the data processing device. 4. The image recording apparatus according to claim 3, wherein the processing is performed.
前記プリンタエンジンに異常が発生したか否かを前記出力可能状態判断手段の判断対象とし、前記プリンタエンジンに異常が発生した場合に前記ストア優先手段による処理に切り替え、前記プリンタエンジンの異常が解除された場合に前記ストア優先解除手段による処理に切り替えることを特徴とする請求項1乃至4記載の画像記録装置。Having a printer engine for recording the image data on a recording medium by electrophotography,
Whether or not an abnormality has occurred in the printer engine is to be determined by the output possible state determining means, and when an abnormality has occurred in the printer engine, the processing is switched to processing by the store priority means, and the abnormality in the printer engine is released. The image recording apparatus according to claim 1, wherein the processing is switched to the processing by the store priority canceling unit when the processing is performed.
前記プリンタエンジンが記録画像の画質を補正するためのキャリブレーション実行状態になったか否かを前記出力可能状態判断手段の判断対象とし、前記プリンタエンジンがキャリブレーション状態になった場合に前記ストア優先手段による処理に切り替え、前記プリンタエンジンがキャリブレーション状態から開放された場合に前記ストア優先解除手段による処理に切り替えることを特徴とする請求項1乃至4記載の画像記録装置。Having a printer engine for recording the image data on a recording medium by electrophotography,
Whether or not the printer engine has entered a calibration execution state for correcting the image quality of a recorded image is determined by the output available state determination unit. 5. The image recording apparatus according to claim 1, wherein the processing is switched to the processing by the store priority canceling unit when the printer engine is released from the calibration state.
前記プリンタエンジンがイニシャライズ状態になったか否かを前記出力可能状態判断手段の判断対象とし、前記プリンタエンジンがイニシャライズ状態になった場合に前記ストア優先手段による処理に切り替え、前記プリンタエンジンがイニシャライズ処理を終えた場合に前記ストア優先解除手段による処理に切り替えることを特徴とする請求項1乃至4記載の画像記録装置。Having a printer engine for recording the image data on a recording medium by electrophotography,
Whether the output state of the printer engine is in the initialized state is determined by the output possible state determination unit, and when the printer engine is in the initialized state, the process is switched to processing by the store priority unit, and the printer engine performs the initialization process. 5. The image recording apparatus according to claim 1, wherein the processing is switched to the processing by the store priority canceling unit when the processing is completed.
前記プリンタエンジンに異常が発生したか、前記プリンタエンジンがキャリブレーション状態になったか、あるいはイニシャライズ状態になったか否かを前記出力可能状態判断手段の判断対象とし、前記プリンタエンジンに異常が発生した場合、前記プリンタエンジンがキャリブレーション状態になった場合、あるいはイニシャライズ状態になった場合に前記ストア優先手段による処理に切り替え、前記プリンタエンジンに異常がなくなった場合、前記プリンタエンジンがキャリブレーション中でなくなった場合、あるいはイニシャライズ状態でなくなった場合に前記ストア優先解除手段による処理に切り替えることを特徴とする請求項1乃至4記載の画像記録装置。Having a printer engine for recording the image data on a recording medium by electrophotography,
Whether the printer engine is abnormal, whether the printer engine is in a calibration state, or whether the printer engine is in an initialized state is determined by the output possible state determining means, and when an abnormality occurs in the printer engine. When the printer engine is in the calibration state or in the initialization state, the processing is switched to the processing by the store priority means, and when the printer engine is no longer abnormal, the printer engine is not being calibrated. The image recording apparatus according to claim 1, wherein the processing is switched to the processing by the store priority canceling unit in the case or when the initialization state is lost.
前記印刷データ、あるいは前記印刷データに基づいて生成される画像データを記憶可能な記憶手段を設けておき、
当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断行程と、
前記出力可能状態判断行程によって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先行程と、
前記出力可能状態判断行程によって画像出力可能な状態と判断された場合に、前記ストア優先行程の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除行程とを実行することを特徴とする画像記録装置の制御方法。A method for controlling an image recording apparatus that records an image based on print data supplied from a data processing apparatus,
A storage unit capable of storing the print data or image data generated based on the print data is provided,
An output possible state determination step of determining whether the state of the image recording apparatus is a state in which an image can be output;
When it is determined by the output possible state determination process that the image cannot be output and the storage unit is in a storable state, the print data to be processed by the image recording apparatus is stored in the storage unit. A store priority process for giving priority to the processing of print data for which processing has been instructed;
When it is determined by the output possible state determination step that the image can be output, the processing of the store priority step is interrupted, and a predetermined process is performed according to the reception order of the print data transmitted from the data processing device. And a store priority canceling step for returning the processing order.
当該画像記録装置に印刷中の印刷データが存在するか否かを判断する印刷中判断行程と、前記印刷中判断行程により印刷中の印刷データが存在していると判断された場合に、前記印刷中の印刷データを、印刷状態に関する情報と共に所定の領域に記憶して一時的に退避させる退避行程と、当該画像記録装置が処理すべき後続の印刷データに前記記憶手段への記憶処理を指示する印刷データが存在するか否かを判断するストア指示判断行程とを有し、
前記印刷中判断行程により印刷中の印刷データが存在していないと判断された場合、あるいは前記退避行程により退避処理が完了した場合に、前記ストア指示判断行程により前記記憶手段への記憶処理を指示する印刷データが存在すると判断されたときは該印刷データの処理を優先し、
前記ストア優先解除行程は、
前記退避行程により退避させられている印刷データが存在するか否かを判断する退避中判断行程と、前記退避中判断行程により退避中の印刷データが存在していると判断された場合に、前記退避中の印刷データを読み出して退避前の状態から処理を再開する再開行程とを有し、
前記退避中判断行程により退避中の印刷データが存在していないと判断された場合、あるいは前記再開行程により再開処理が完了した場合に、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うことを特徴とする請求項12記載の画像記録装置の制御方法。The store priority process,
A printing determination step for determining whether or not print data being printed exists in the image recording apparatus; and performing the printing when the printing determination step determines that print data being printed exists. The evacuation process for temporarily storing the print data in the middle together with the information about the printing state and storing the print data in a predetermined area, and instructing the storage means for the subsequent print data to be processed by the image recording apparatus in the storage means. Having a store instruction determining step of determining whether print data exists,
When it is determined that the print data being printed does not exist by the determination process during printing, or when the evacuation process is completed by the evacuation process, the storage instruction determination process instructs the storage unit to perform the storage process. When it is determined that print data to be executed exists, processing of the print data is prioritized,
The store priority cancellation process includes:
The evacuation determination step for determining whether or not there is print data that has been evacuated by the evacuation step, and when the evacuation determination step determines that the print data being evacuated exists, A restart process of reading out the print data being saved and restarting the process from the state before the save,
When the evacuation determination step determines that there is no evacuation print data, or when the resumption process completes the resumption processing, a predetermined process is performed in accordance with the reception order of the print data transmitted from the data processing device. 13. The method according to claim 12, wherein the processing is performed.
前記印刷データ、または前記展開後の画像データを記憶する記憶手段を設けておき、
当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断行程と、
前記出力可能状態判断行程によって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データに対して、前記解釈行程による解釈処理、前記展開行程による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先行程と、
前記出力可能状態判断行程によって画像出力可能な状態と判断された場合に、前記ストア優先行程の処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除行程とを実行することを特徴とする画像記録装置の制御方法。An interpreting process for interpreting the print data supplied from the data processing device, and a developing process for developing the data after the interpreting process in the interpreting process into image data, and recording the image data after the developing in the developing process. A method for controlling an image recording device, comprising:
A storage unit for storing the print data or the image data after the development is provided,
An output possible state determination step of determining whether the state of the image recording apparatus is a state in which an image can be output;
If it is determined by the output possible state determination step that the image cannot be output and the storage unit is capable of storing the image data, the print data to be processed by the image recording apparatus is interpreted by the interpretation step. Processing, a store priority process for giving priority to the expansion process by the expansion process and the storage process by the storage means,
When it is determined by the output possible state determination process that the image can be output, the process of the store priority process is interrupted, and a predetermined process related to image recording is performed in accordance with the reception order of the print data transmitted from the data processing device. And a store priority canceling step of returning the processing order so as to be performed.
当該画像記録装置に印刷中の印刷データが存在するか否かを判断する印刷中判断行程と、前記印刷中判断行程により印刷中の印刷データが存在していると判断された場合に、前記印刷中の印刷データを、印刷状態に関する情報と共に所定の領域に記憶して一時的に退避させる退避行程と、当該画像記録装置が処理すべき後続の印刷データに前記記憶手段への記憶処理を指示する印刷データが存在するか否かを判断するストア指示判断行程とを有し、
前記印刷中判断行程により印刷中の印刷データが存在していないと判断された場合、あるいは前記退避行程により退避処理が完了した場合に、前記ストア指示判断行程により、前記記憶手段への記憶処理を指示する印刷データが存在すると判断されたときは該印刷データの処理を優先し、前記記憶手段への記憶処理を指示する印刷データがないと判断されたときは、前記解釈行程の解釈処理及び前記展開行程の展開処理を行うことにより前記記憶手段への記憶処理を行うことが可能な印刷データであることを条件として、該印刷データを処理分割して前記記憶手段への記憶処理までの処理を優先し、
前記ストア優先解除行程は、
前記退避行程により退避させられている印刷データが存在するか否かを判断する退避中判断行程と、前記退避中判断行程により退避中の印刷データが存在していると判断された場合に、前記退避中の印刷データを読み出して退避前の状態から処理を再開する再開行程とを有し、
前記退避中判断行程により退避中の印刷データが存在していないと判断された場合、あるいは前記再開行程により再開処理が完了した場合に、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うことを特徴とする請求項14記載の画像記録装置の制御方法。The store priority process,
A printing determination step for determining whether or not print data being printed exists in the image recording apparatus; and performing the printing when the printing determination step determines that print data being printed exists. The evacuation process for temporarily storing the print data in the middle together with the information about the printing state and storing the print data in a predetermined area, and instructing the storage means for the subsequent print data to be processed by the image recording apparatus in the storage means. Having a store instruction determining step of determining whether print data exists,
When it is determined that the print data being printed does not exist in the printing determination step, or when the evacuation processing is completed in the evacuation step, the storage processing to the storage unit is performed by the store instruction determination step. When it is determined that there is print data to be instructed, the processing of the print data is prioritized, and when it is determined that there is no print data to instruct storage processing in the storage unit, the interpretation process of the interpretation step and the On condition that the print data can be stored in the storage unit by performing the expansion process of the expansion process, the print data is divided into processes and the processes up to the storage process in the storage unit are performed. Priority,
The store priority cancellation process includes:
The evacuation determination step for determining whether or not there is print data that has been evacuated by the evacuation step, and when the evacuation determination step determines that the print data being evacuated exists, A restart process of reading out the print data being saved and restarting the process from the state before the save,
When the evacuation determination step determines that there is no evacuation print data, or when the resumption process completes the resumption processing, a predetermined process is performed in accordance with the reception order of the print data transmitted from the data processing device. The method according to claim 14, wherein the processing is performed.
前記制御プログラムは、
当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、
前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先ステップと、
前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除ステップとを実行することを特徴とする制御プログラムを提供する媒体。A storage unit capable of storing print data or image data generated based on the print data is provided, and a control method of an image recording apparatus that records an image based on the print data supplied from a data processing device is executed. Medium for providing a control program for
The control program includes:
An output possible state determining step of determining whether the state of the image recording apparatus is a state in which an image can be output,
When it is determined in the output possible state determination step that the image cannot be output and the storage unit is in a storable state, the storage unit stores the print data to be processed by the image recording apparatus in the storage unit. A store priority step for giving priority to the processing of the print data whose processing has been instructed;
When it is determined that the image can be output by the output possible state determination step, the processing of the store priority step is interrupted, and a predetermined processing is performed according to a reception order of the print data transmitted from the data processing apparatus. And a storage priority canceling step for returning a processing order.
当該画像記録装置に印刷中の印刷データが存在するか否かを判断する印刷中判断ステップと、前記印刷中判断ステップにより印刷中の印刷データが存在していると判断された場合に、前記印刷中の印刷データを、印刷状態に関する情報と共に所定の領域に記憶して一時的に退避させる退避ステップと、当該画像記録装置が処理すべき後続の印刷データに前記記憶手段への記憶処理を指示する印刷データが存在するか否かを判断するストア指示判断ステップとを有し、
前記印刷中判断ステップにより印刷中の印刷データが存在していないと判断された場合、あるいは前記退避ステップにより退避処理が完了した場合に、前記ストア指示判断ステップにより前記記憶手段への記憶処理を指示する印刷データが存在すると判断されたときは該印刷データの処理を優先し、
前記ストア優先解除ステップは、
前記退避ステップにより退避させられている印刷データが存在するか否かを判断する退避中判断ステップと、前記退避中判断ステップにより退避中の印刷データが存在していると判断された場合に、前記退避中の印刷データを読み出して退避前の状態から処理を再開する再開ステップとを有し、
前記退避中判断ステップにより退避中の印刷データが存在していないと判断された場合、あるいは前記再開ステップにより再開処理が完了した場合に、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うことを特徴とする請求項16記載の制御プログラムを提供する媒体。The store priority step includes:
A printing determination step for determining whether or not print data being printed exists in the image recording apparatus; and if the printing determination step determines that print data being printed exists, the printing is performed. A save step of temporarily storing the print data in progress together with information about the print state in a predetermined area, and instructing the subsequent print data to be processed by the image recording apparatus to perform storage processing in the storage unit. A store instruction determining step of determining whether print data exists,
When the print-in-progress determination step determines that print data being printed does not exist, or when the evacuation step completes the evacuation processing, the storage instruction determination step instructs storage processing to the storage means. When it is determined that print data to be executed exists, processing of the print data is prioritized,
The store priority canceling step includes:
The evacuation determination step of determining whether there is print data saved by the evacuation step, and the evacuation determination step determines that the evacuation print data exists. Resuming the print data being saved and restarting the process from the state before the save,
When the evacuation determination step determines that there is no evacuation print data or when the resumption step completes the resumption processing, a predetermined order is determined according to the reception order of the print data transmitted from the data processing device. 17. A medium for providing a control program according to claim 16, wherein:
前記制御プログラムは、
当該画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、
前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、当該画像記録装置が処理すべき印刷データに対して、前記解釈手段による解釈処理、前記展開手段による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先ステップと、
前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除ステップとを実行することを特徴とする制御プログラムを提供する媒体。Interpreting means for interpreting the print data supplied from the data processing device, expanding means for expanding data interpreted by the interpreting means into image data, and storage for storing the print data or the expanded image data Means for providing a control program for executing a control method of an image recording apparatus for recording image data after expansion by the expansion means,
The control program includes:
An output possible state determining step of determining whether the state of the image recording apparatus is a state in which an image can be output,
If it is determined in the output possible state determination step that the image cannot be output and the storage unit can store the image, the interpretation unit interprets the print data to be processed by the image recording apparatus. Processing, a store priority step of giving priority to the expansion processing by the expansion means and the storage processing by the storage means,
When it is determined by the output possible state determining step that the image can be output, the process of the store priority step is interrupted, and a predetermined process related to image recording is performed in accordance with the reception order of the print data transmitted from the data processing device. A storage priority canceling step of returning a processing order so as to perform the same.
当該画像記録装置に印刷中の印刷データが存在するか否かを判断する印刷中判断ステップと、前記印刷中判断ステップにより印刷中の印刷データが存在していると判断された場合に、前記印刷中の印刷データを、印刷状態に関する情報と共に所定の領域に記憶して一時的に退避させる退避ステップと、当該画像記録装置が処理すべき後続の印刷データに前記記憶手段への記憶処理を指示する印刷データが存在するか否かを判断するストア指示判断ステップとを有し、
前記印刷中判断ステップにより印刷中の印刷データが存在していないと判断された場合、あるいは前記退避ステップにより退避処理が完了した場合に、前記ストア指示判断ステップにより、前記記憶手段への記憶処理を指示する印刷データが存在すると判断されたときは該印刷データの処理を優先し、前記記憶手段への記憶処理を指示する印刷データがないと判断されたときは、前記解釈手段の解釈処理及び前記展開手段の展開処理を行うことにより前記記憶手段への記憶処理を行うことが可能な印刷データであることを条件として、該印刷データを処理分割して前記記憶手段への記憶処理までの処理を優先し、
前記ストア優先解除ステップは、
前記退避ステップにより退避させられている印刷データが存在するか否かを判断する退避中判断ステップと、前記退避中判断ステップにより退避中の印刷データが存在していると判断された場合に、前記退避中の印刷データを読み出して退避前の状態から処理を再開する再開ステップとを有し、
前記退避中判断ステップにより退避中の印刷データが存在していないと判断された場合、あるいは前記再開ステップにより再開処理が完了した場合に、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うことを特徴とする請求項18記載の制御プログラムを提供する媒体。The store priority step includes:
A printing determination step for determining whether or not print data being printed exists in the image recording apparatus; and if the printing determination step determines that print data being printed exists, the printing is performed. A save step of temporarily storing the print data in progress together with information about the print state in a predetermined area, and instructing the subsequent print data to be processed by the image recording apparatus to perform storage processing in the storage unit. A store instruction determining step of determining whether print data exists,
When it is determined that the print data being printed does not exist in the printing determination step, or when the saving process is completed in the saving step, the storing process to the storage unit is performed by the store instruction determining step. When it is determined that there is print data to instruct, the processing of the print data is prioritized, and when it is determined that there is no print data to instruct storage processing in the storage means, the interpretation processing of the interpretation means and the On condition that the print data can be stored in the storage unit by performing the expansion process of the expansion unit, the process up to the storage process in the storage unit is performed by dividing the print data into processes. Priority,
The store priority canceling step includes:
The evacuation determination step of determining whether there is print data saved by the evacuation step, and the evacuation determination step determines that the evacuation print data exists. Resuming the print data being saved and restarting the process from the state before the save,
When the evacuation determination step determines that there is no evacuation print data or when the resumption step completes the resumption processing, a predetermined order is determined according to the reception order of the print data transmitted from the data processing device. 19. The medium for providing a control program according to claim 18, wherein the processing is performed.
前記画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、
前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段が記憶可能な状態である場合に、前記画像記録装置が処理すべき印刷データのうち、前記記憶手段への記憶処理が指示された印刷データの処理を優先して行うストア優先ステップと、
前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って所定の処理を行うように処理順序を戻すストア優先解除ステップとを備えたことを特徴とする制御プログラム。A control program for executing a control method of an image recording apparatus that has storage means for storing print data supplied from a data processing apparatus or image data generated based on the print data, and which records the image data And
An output possible state determining step of determining whether the state of the image recording apparatus is a state in which an image can be output,
When it is determined in the output possible state determination step that the image cannot be output and the storage unit is in a storable state, the print data to be processed by the image recording apparatus is stored in the storage unit. A store priority step for giving priority to the processing of the print data whose processing has been instructed;
When it is determined that the image can be output by the output possible state determination step, the processing of the store priority step is interrupted, and a predetermined process is performed according to the reception order of the print data transmitted from the data processing device. A store priority canceling step for returning a processing order.
前記画像記録装置の状態が画像出力可能な状態であるか否かを判断する出力可能状態判断ステップと、
前記出力可能状態判断ステップによって画像出力不可能な状態と判断され、且つ前記記憶手段により記憶可能な状態である場合に、前記画像記録装置が処理すべき印刷データに対して、前記解釈手段による解釈処理、前記展開手段による展開処理及び前記記憶手段による記憶処理を優先して行うストア優先ステップと、
前記出力可能状態判断ステップによって画像出力可能な状態と判断された場合に、前記ストア優先ステップの処理を中断し、前記データ処理装置より送信された印刷データの受信順序に従って画像記録に関する所定の処理を行うように処理順序を戻すストア優先解除ステップとを備えたことを特徴とする制御プログラム。Interpretation means for interpreting the print data supplied from the data processing device, expansion means for expanding the data after the interpretation processing by the interpretation means into image data, and storage means capable of storing the image data after expansion. A control program for executing a control method of an image recording apparatus that records image data after expansion by the expansion unit,
An output possible state determining step of determining whether the state of the image recording apparatus is a state in which an image can be output,
If it is determined in the output possible state determining step that the image cannot be output and the storage unit is in a storable state, the interpreting unit interprets the print data to be processed by the image recording apparatus. Processing, a store priority step of giving priority to the expansion processing by the expansion means and the storage processing by the storage means,
When it is determined by the output possible state determining step that the image can be output, the process of the store priority step is interrupted, and a predetermined process related to image recording is performed in accordance with the reception order of the print data transmitted from the data processing device. A store priority canceling step of returning a processing order so as to be performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002233117A JP2004066787A (en) | 2002-08-09 | 2002-08-09 | Image recording apparatus, control method of image recording apparatus, medium providing control program, and control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002233117A JP2004066787A (en) | 2002-08-09 | 2002-08-09 | Image recording apparatus, control method of image recording apparatus, medium providing control program, and control program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2004066787A true JP2004066787A (en) | 2004-03-04 |
Family
ID=32018334
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002233117A Pending JP2004066787A (en) | 2002-08-09 | 2002-08-09 | Image recording apparatus, control method of image recording apparatus, medium providing control program, and control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2004066787A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010068343A (en) * | 2008-09-11 | 2010-03-25 | Ricoh Co Ltd | Image processing apparatus, image processing method, and image processing program |
| US7869072B2 (en) | 2004-03-09 | 2011-01-11 | Riso Kagaku Corporation | Printer device |
| JP2011218630A (en) * | 2010-04-07 | 2011-11-04 | Konica Minolta Business Technologies Inc | Image forming apparatus |
-
2002
- 2002-08-09 JP JP2002233117A patent/JP2004066787A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7869072B2 (en) | 2004-03-09 | 2011-01-11 | Riso Kagaku Corporation | Printer device |
| JP2010068343A (en) * | 2008-09-11 | 2010-03-25 | Ricoh Co Ltd | Image processing apparatus, image processing method, and image processing program |
| JP2011218630A (en) * | 2010-04-07 | 2011-11-04 | Konica Minolta Business Technologies Inc | Image forming apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4942179B2 (en) | Print control apparatus, control method therefor, and device driver | |
| JP3814342B2 (en) | Image processing apparatus and control method thereof | |
| US20030035672A1 (en) | Job processing apparatus | |
| JP2002123376A (en) | Printing system, image processing device, and information processing device | |
| US7843587B2 (en) | Information processing apparatus, print control method, storing medium, and program | |
| JP2007328640A (en) | Image processing apparatus and control method thereof | |
| JP2004167942A (en) | Image forming device | |
| JP2004066787A (en) | Image recording apparatus, control method of image recording apparatus, medium providing control program, and control program | |
| JP4677229B2 (en) | Printing apparatus and printing method | |
| JP4072471B2 (en) | Image recording apparatus, paper feed control method, storage medium storing computer-readable program, and program | |
| JPH1063047A (en) | Image forming apparatus, control apparatus therefor, and control method therefor | |
| EP1041508B1 (en) | Image forming apparatus having data compression/decompression system | |
| JP2004195872A (en) | Image recording device | |
| JP2004090457A (en) | Calibration method and printing device | |
| JP2003241913A (en) | Output device, information processing device, information processing system, information processing method, recording medium, and program | |
| JP4702923B2 (en) | Printing apparatus, printing control method, program, and storage medium | |
| JP2003320711A (en) | Image recorder, method for recording image, computer readable storage medium, and program | |
| JP2004155049A (en) | Image recording device | |
| JP2001105668A (en) | Image output apparatus and control method thereof | |
| JPH10340011A (en) | Image forming device and method | |
| JP2004262184A (en) | Image recording device | |
| JPH09188037A (en) | Printing apparatus and power control method for printing apparatus | |
| JP2007326252A (en) | HOST BASE PRINTER, PRINT CONTROL METHOD, STORAGE MEDIUM, AND PROGRAM | |
| JPH09104143A (en) | Printing apparatus and printing method of printing apparatus | |
| JP2006130821A (en) | Printing device |