JP3547001B2 - Printer and printer error handling method - Google Patents

Printer and printer error handling method Download PDF

Info

Publication number
JP3547001B2
JP3547001B2 JP2000162930A JP2000162930A JP3547001B2 JP 3547001 B2 JP3547001 B2 JP 3547001B2 JP 2000162930 A JP2000162930 A JP 2000162930A JP 2000162930 A JP2000162930 A JP 2000162930A JP 3547001 B2 JP3547001 B2 JP 3547001B2
Authority
JP
Japan
Prior art keywords
error
job
print
print job
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000162930A
Other languages
Japanese (ja)
Other versions
JP2001341383A (en
Inventor
敏博 島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000162930A priority Critical patent/JP3547001B2/en
Publication of JP2001341383A publication Critical patent/JP2001341383A/en
Application granted granted Critical
Publication of JP3547001B2 publication Critical patent/JP3547001B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明が属する技術分野】
本発明は、プリンタ及びプリンタのエラー処理方法に関する。
【0002】
【従来の技術】
プリンタにおいて、印刷中にエラーが発生すると、印刷が一時停止され、ユーザがエラー原因を直接的に除去しない限り、印刷が再開されない。例えば、カラー画像の印刷中に、イエローのトナーが不足した場合、その印刷は一時停止され、イエロートナーが補給されるまで、印刷は再開されない。
【0003】
【発明が解決しようとする課題】
エラーの中には、そのエラーを発生させた印刷ジョブがキャンセルされたならば、そのエラーは解消されたものとみなして、他の印刷ジョブを自動的に開始してもよいと考えられる種類のものがある。その一例は、上記のカラー印刷時にイエロートナーが不足した場合であり、その場合、もし、そのカラー印刷のジョブがキャンセルされたならば、他の白黒印刷のジョブの印刷は自動的に実行されて良いはずである。
【0004】
しかし、従来のプリンタはそのような機能をもっていない。その理由は、従来のプリンタは、エラーと、これを発生させた印刷ジョブとを関連付けて把握しておらず、その印刷ジョブがキャンセルされても、エラー状態はユーザがそのエラー原因を直接的に除去するまで解除されない。
【0005】
従って、本発明の目的は、エラーと、そのエラーを発生させた印刷ジョブとを関連付けることができるプリンタを提供することにある。
【0006】
本発明の別の目的は、上記関連付けの結果を利用して、ある種のエラーについては、それを発生させた印刷ジョブがキャンセルされたならば、自動的にエラー状態を解除して他の印刷ジョブの印刷を開始できるプリンタを提供することにある。
【0007】
【課題を解決するための手段】
本発明に従うプリンタは、そのプリンタで発生した所定種類のエラーを検出するエラー検出手段と、そのプリンタが既に受けた印刷ジョブの中から、その検出したエラーを発生させた印刷ジョブを特定するジョブ特定手段と、その特定した印刷ジョブとその検出したエラーとを関連付ける関連付け手段と、前記特定した印刷ジョブがキャンセルされた場合、前記関連付け手段によって前記特定した印刷ジョブに関連付けられた所定種類のエラーについてのエラー状態を自動的に解除するエラー解除手段とを備える。
【0008】
このプリンタによれば、所定種類のエラーが発生した場合、そのエラーと、エラーを発生させた印刷ジョブとが自動的に関連付けられる。そして、印刷ジョブがキャンセルされた場合、キャンセルされた印刷ジョブに関連付けられたエラーについてのエラー状態が自動的に解除される
【0009】
好適な実施形態では、上記印刷ジョブ特定手段は、プリンタが既に受けた印刷ジョブに含まれる印刷要求の中から、検出したエラーを発生させた印刷要求を特定する。そして、上記関連付け手段は、その特定した印刷要求と検出したエラーとを関連付ける。それによって、特定した印刷要求の含まれている印刷ジョブが、そのエラーを発生させた印刷ジョブとして特定されて、そのエラーに関連付けられることになる。このように、印刷ジョブ内の特定の印刷要求をエラーと関連付けた場合には、例えばジョブ情報とエラー情報を関連付けてユーザに通知するような場合、そのジョブ内のどの印刷要求でエラーが発生したかというような、よりきめの細かい情報提供を行うことが可能になり、ユーザはより精度の高いエラー対応が可能になる。
【0010】
好適な実施形態は、エラーが検出されたときに印刷が行われていた場合、その印刷を停止する印刷停止手段と、既に検出したエラーについてのエラー状態が印刷を行える程度まで解除されたときに、停止していた印刷を自動的に再開する印刷再開手段とを更に備える。
【0011】
この構成によれば、所定種類のエラーが発生した場合、エラー発生によって印刷が停止されるが、ジョブキャンセルによって印刷停止の原因となるエラー状態が全て解除されれば、印刷は自動的に再開される。
【0012】
好適な実施形態では、印刷ジョブのキャンセル前に発生したエラーであっても、キャンセル後に発生したエラーであっても、そのエラーを発生させた印刷ジョブがキャンセルされれば、ジョブキャンセルで解消されたとみなせる種類のエラーのエラー状態は全て、自動的に解除されるようになっている。
【0013】
また、好適な実施形態は、或る印刷ジョブがキャンセルされたならば、それ以後は、そのキャンセルされた印刷ジョブのデータは全て破棄するなどの方法によって、そのキャンセルされた印刷ジョブの印刷は一切行わないようになっている。
【0014】
ところで、印刷ジョブを「キャンセル」した場合、一般には上記のようにその印刷ジョブの印刷を一切行わないことになり、好適な実施形態でもそのようにしている。しかし、必ずしもそうでなければならないわけではなく、印刷ジョブを「キャンセル」した場合に、その印刷ジョブの印刷を中断するだけで後にその印刷ジョブの未印刷部分の印刷を実行できるようにしたり、あるいは、その印刷ジョブの実行を他の印刷ジョブよりも後回しにするようにジョブの印刷順序を変更するようにしてもよい。
【0015】
【発明の実施の形態】
図1は、本発明の一実施形態にかかるプリンタの要部の構成を示す。
【0016】
プリンタ1は、パーソナルコンピュータやプリンタサーバのようなホスト装置3に、LANのような通信ネットワーク又はシリアルインタフェースのような専用インタフェースを介して接続される。プリンタ1は、ホスト装置3から印刷ジョブのデータを受信するジョブ受信部5、受信された印刷ジョブデータを解釈してページ毎の印刷要求を生成するジョブ解釈部7、及びページ毎の印刷要求からページ毎のビットマップイメージデータを展開してページイメージを紙などの印刷媒体上に再生する印刷部9とを有する。さらに、プリンタ1には、ジョブ管理部11が設けられている。ジョブ管理部11は、ホスト装置3から新しい印刷ジョブが来たときにその印刷ジョブにジョブIDを付与したり、ホスト装置3から特定の印刷ジョブに対するジョブキャンセル要求が来たとき、そのジョブキャンセル要求を他の処理部5、7、9に通知したりといった、印刷ジョブの管理に関わる処理を行う。
【0017】
プリンタ1内の上記各部の概略動作は次の通りである。
【0018】
一般に、特にホスト装置3とプリンタ3とが通信ネットワークで接続されている場合、ホスト装置3からは一つの印刷ジョブのデータが先頭から最後まで連続したストリームで到来するよりむしろ、多数のサブストリームに分割されて間欠的に到来することが普通である。ネットワーク上には通常は複数のホスト装置が存在するから、それらのホスト装置からそれぞれ出力された複数の印刷ジョブデータのサブストリームが、交錯してプリンタ1に到来することがある。例えば、まず印刷ジョブAの最初のデータが到来し、次に、印刷ジョブBの最初のデータが到来し、次に印刷ジョブAの2番目のデータが到来するというようにである。このように、各印刷ジョブのデータは多数のサブストリームに分れて間欠的にプリンタ1に到来する。
【0019】
ホスト装置3から新しい印刷ジョブの最初のデータを受信すると、ジョブ受信部5は、ジョブ受信報告をジョブ管理部11に送る。ジョブ管理部11は、ジョブ受信報告を受けると、その新しい印刷ジョブに対して新しいジョブIDを割り当て、そのジョブIDをジョブ受信部5に通知する。ジョブ受信部5は、以後、ホスト装置3から当該印刷ジョブのデータを受信する都度、その受信データに当該印刷ジョブのジョブIDを付加していく。さらに、ジョブ受信部5は、各印刷ジョブの受信する都度、その印刷ジョブがキャンセルされているか否かをジョブ管理部11に問い合わせる。ジョブ管理部11は、各ジョブID毎にホスト装置3からジョブキャンセル要求が来たか否かを管理していて、特定の印刷ジョブについて上記問い合わせを受けると、その印刷ジョブについて既にジョブキャンセル要求が来ていれば「1」、来ていなければ「0」というキャンセル情報を回答する。ジョブ受信部5は、受信データに対して、ジョブIDの他にキャンセルフラグを付加して、そのキャンセルフラグに上記キャンセル情報をセットする。そして、ジョブ受信部5は、ジョブIDとキャンセルフラグを付加した受信データを、ジョブ解釈部7へ渡す。
【0020】
図2は、ジョブ受信部5からジョブ解釈部7に渡される受信データの例を示している。
【0021】
図2では、ハッチングされた1つのブロックが、1つのサブストリームとして到来した受信データを示している。ジョブ受信部5は、上述したように、1つのサブストリームのデータ21を受信する都度、その受信データ21に、ジョブID25とキャンセルフラグ23とを付加する。図2は、ジョブID「101」をもつ印刷ジョブについて、4つのサブストリームのデータがジョブ受信部5からジョブ解釈部7へ渡され、その後に、別のジョブID「102」をもつ印刷ジョブについて、2つのサブストリームのデータがジョブ受信部5からジョブ解釈部7に渡された例を示している。そして、ジョブID「101」の印刷ジョブについて4番目のサブストリームのデータが受信されたとき、そのジョブID「101」の印刷ジョブはキャンセルされている。
【0022】
図2に示したジョブID「101」の4番目のデータのように、このデータの受信時点でその印刷ジョブがキャンセルされた場合には、データ受信部5は、そのデータより後に受信した同じ印刷ジョブのデータは、受信後に自動的に破棄してしまい、ジョブ解釈部7へは渡さない。従って、図2では、キャンセルされたジョブID「101」の印刷ジョブについては、4番目のデータを最後に、5番目以降のデータはジョブ解釈部7に渡されていない。
【0023】
再び図1を参照する。ジョブ解釈部7は、図2に例示したようなジョブIDとキャンセルフラグの付加いた受信データを受け取り、これを順番に解釈して、ページ毎の印刷要求を生成する。ただし、キャンセルフラグが「1」である受信データについては、そのジョブはキャンセルされているから、ジョブ解釈部7は、その受信データを解釈せずに破棄する。ジョブ解釈部7は、各印刷要求の生成過程で、ジョブ管理部11に、その印刷要求の印刷ジョブがキャンセルされているか否かを問い合わせる。ジョブ管理部11は、ジョブ受信部5から問い合わせを受けたときと同様のやり方で、その印刷ジョブについてのキャンセル情報をジョブ解釈部7に回答する。ジョブ受信部5に受信された時点ではまだキャンセルさせていなくても、ジョブ解釈部7で解釈されている間にキャンセル要求が発された印刷ジョブについては、ジョブ解釈部7に対して「1」というキャンセル情報が回答されることになる。ジョブ解釈部7は、各印刷ジョブの各ページの印刷要求に、その印刷ジョブのジョブIDと、上記キャンセル情報のセットされたキャンセルフラグとを付加する。そして、ジョブ解釈部7は、ジョブIDとキャンセルフラグが付加された各ページの印刷要求を印刷部9に渡す。
【0024】
ジョブ解釈7は、ある印刷要求の作成の際にその印刷ジョブについて「1」というキャンセル情報をジョブ管理部11から受けると、その印刷ジョブはキャンセルされているので、後続の同じ印刷ジョブの受信データは破棄し、同じ印刷ジョブの印刷要求はそれ以上作成しない。
【0025】
図3は、ジョブ解釈部7から印刷部9に渡される印刷要求の例を示している。
【0026】
図3の例では、ジョブID「101」の印刷ジョブについて、3ページ分の印刷要求が作成され、その後、ジョブID「102」の印刷ジョブについて、2ページ分の印刷要求が作成されている。個々の印刷要求31には、ページ情報33の他に、ジョブID35及びキャンセルフラグ37が含まれている。キャンセルフラグ37には、ジョブ解釈部7が受けたキャンセル情報がセットされている。ページ情報33には、そのページの印刷フォーマットや印刷イメージを規定する情報、例えば、「A3」や「A4」などの用紙サイズ、「カラー」印刷か「モノクロ」印刷かの区別、「片面」印刷か「両面」印刷かの区別、及び図示していないがページイメージを構成する要素イメージデータへのリンクなどが含まれる。
【0027】
再び図1を参照する。印刷部9は、各ページの印刷要求を順番に受け、それに基づいて各ページのビットマップイメージデータを作成し、印刷要求で指定されたサイズの用紙上に、印刷要求で指定されたページフォーマットでページイメージを印刷する。
【0028】
印刷中のエラーの大部分は印刷部9で発生する。プリンタ1が複数サイズの複数の用紙ビンをもったカラープリンタであった場合、印刷部9で発生するエラーには、例えば、用紙搬送路中の用紙詰まり、特定サイズ用紙無し、特定色トナー不足、メモリ不足などがある。これらのエラーは2つの種類に大別できる。最初の種類は、ユーザが直接エラー原因を除去しない限り印刷を再開できないものであり、用紙搬送路中の用紙詰まりはこの種類に属する。他方の種類は、そのエラーを生じさせた印刷ジョブがキャンセルされれば、そのエラーは解消されたものとみなして、他の印刷ジョブの印刷を開始することができるものであり、例えば、特定サイズ用紙無し、特定色トナー不足、メモリ不足などがこの種類に属する。
【0029】
エラーが発生した場合、印刷部9は、まず、印刷を一時停止する。次に、印刷部9は、えらが上記2種類のどちらであるか判断し、前者の種類であれば、従来のプリンタと同様にユーザがエラー原因を除去するまで待つ。一方、後者の種類のエラーが発生した場合、印刷部9は、後に詳述する方法で、そのエラーを発生させた印刷ジョブを特定する。そして、印刷部9は、その特定した印刷ジョブがキャンセルされたか否かをジョブ管理部11に問い合わせ、ジョブ管理部11は、前述したと同様の方法で、その印刷ジョブについてのキャンセル情報を印刷部9へ回答する。もし、そのキャンセル情報が「1」であれば、その印刷ジョブはキャンセルされているので、印刷部9は、その印刷ジョブを実際にキャンセルする処理、例えば、その印刷ジョブの全ての印刷要求を破棄し、展開中のイメージデータを消去するなどの処理を行ない、そして、その印刷ジョブによって発生した上記後者の種類のエラー状態を自動的に解除する。その結果、発生済みの全てのエラー状態がすっかり解除されていたならば、印刷部9は印刷動作を自動的に再開する。
【0030】
以下、さらに詳細に各部の動作を説明する。
【0031】
図4は、ジョブ受信部5の動作フローを示す。
【0032】
図4に示すように、ジョブ受信部5は、新しい印刷ジョブデータの着信を待つ状態から動作をスタートし(ステップS1)、新しい印刷ジョブデータが着信すると、ジョブ管理部11にジョブ受信報告を送って、ジョブ管理部11からその新しい印刷ジョブについてのジョブIDを取得する(S2)。そして、ジョブ受信部5は、受信データを格納するメモリを確保し(S3)、その受信データにジョブIDを付加してメモリに格納する(S4)。続いて、ジョブ受信部5は、その受信データの印刷ジョブがキャンセルされているか否かをジョブ管理部11に問い合わせ、ジョブ管理部11から回答されたキャンセル情報を、キャンセルフラグとしてその受信データに付加する(S5)。そして、ジョブ受信部5は、そのジョブIDとキャンセルフラグを付加した受信データをジョブ解釈部7に渡す(S6)。
【0033】
続いて、ジョブ受信部5は、ステップS5で受けたキャンセル情報からその印刷ジョブがキャンセルされているか否かを確認し(S7)、もしキャンセルされている場合には、それ以後に着信する当該印刷ジョブのデータは受信したら直ちに破棄する(S8)。当該印刷ジョブの最後までデータを受信し終えるまで、ステップS3〜S8を繰り返す(S9)。当該印刷ジョブの最後までデータを受信し終わったならば、最初の着信待ち(S1)に戻る。
【0034】
図5は、ジョブ解釈部7の動作フローを示す。
【0035】
図5に示すように、ジョブ解釈部7は、ジョブ受信部5から新しい受信ジョブデータの到着を待つ状態から動作をスタートし(ステップS11)、新しい受信データが到着すると、まず、その受信データのキャンセルフラグをチェックする(S12)。キャンセルフラグが「1」の場合、その印刷ジョブはキャンセルされているので、ジョブ解釈部7は、その受信データを解釈せずに破棄して、ステップS11の次の受信データ待ち状態に戻る。
【0036】
キャンセルフラグが「0」の場合には、ジョブ解釈部7は、その受信データを解釈し(S13)、ページ単位の印刷要求を作成し(S14)、作成した各印刷要求に、元の受信データに付加されていたジョブIDをセットする(S15)。続いて、ジョブ解釈部7は、その印刷要求の印刷ジョブがキャンセルされているか否かをジョブ管理部11に問い合わせ、ジョブ管理部11から回答されたキャンセル情報を、キャンセルフラグとしてその印刷要求にセットする(S16)。そして、ジョブ解釈部7は、そのジョブIDとキャンセルフラグをセットした印刷要求を印刷部9に渡す(S17)。
【0037】
続いて、ジョブ解釈部7は、ステップS16で受けたキャンセル情報からその印刷ジョブがキャンセルされているか否かを確認し(S18)、もしキャンセルされている場合には、それ以後に到着する当該印刷ジョブの受信データは解釈せずに破棄する(S19)。今回到着した受信データの最後まで、ステップS13〜S19を繰り返す(S20)。今回到着した受信データの最後まで処理し終わったならば、最初の受信データ到着待ち(S11)に戻る。
【0038】
図6〜図8は、これらを繋げることで、印刷部9のエラー処理のフローを示す。
【0039】
図6に示すように、印刷部9のエラー処理は、エラーの発生を監視する動作から開始する(S31)。エラーが発生すると、印刷部9は、まず、そのエラーの内容の詳細を記述したエラー情報を作成してメモリに書き込むとともに、現在実行中の印刷を停止する(S32)。続いて、印刷部9は、その発生したエラーが、そのエラーを発生させた印刷ジョブがキャンセルされれば解消されたとみなして良い種類のもの(例えば、特定サイズ用紙無し、特定色トナー不足、メモリ不足など)であるか、否かをチェックする(S33)。
【0040】
ステップS33のチェック結果が「No」の場合、つまり、ユーザにエラー原因を直接除去してもらわないと解除できない種類のエラー(例えば、用紙搬送路での用紙詰まりなど)が発生した場合には、印刷部9は、そのエラー発生を示すメッセージをプリンタのフロントパネル(又は、ホスト装置のディスプレイ画面)に表示し(S34)、続いてそのエラー原因がユーザによって解消されかチェックし、解消されたならそのエラーメッセージの表示を消し(S35)、また解消されてなけば、エラーメッセージを表示したままにして、そして、図7のフローへ進む。
【0041】
一方、ステップS33のチェック結果が「Yes」の場合には、印刷部9は、次に、そのエラーを発生させた印刷要求がどれであるかを特定して、そのエラーのエラー情報とその印刷要求とを関連付ける(S36)(このエラーと印刷要求の関連付け処理の詳細は後に図9〜図11を参照して説明する。)。エラーを発生させた印刷要求が特定できたなら、印刷部9は、次に、その特定した印刷要求がどの印刷ジョブのものであるかを特定する(S37)。こうして特定された印刷ジョブが、エラーを発生させた印刷ジョブということになる。エラーを発生させた印刷ジョブが特定されたなら、印刷部9は、次に、その特定した印刷ジョブがキャンセルされているか否かをジョブ管理部11に問い合わせてチェックする(S38)。その結果、まだキャンセルされていなければ、上述したステップS34、S35へ進むが、キャンセルされていれば、印刷部9は、そのエラーは解消されたとみなして、直ちに(又は、そのエラーのエラーメッセージを例えば5秒間のような適当時間表示してエラー発生の事実をユーザに知らせた後に)、プリンタが認識している当該エラーのエラー状態を自動的に解除する(S39)。これにより、キャンセルされた印刷ジョブについては、キャンセル後にエラーが発生しても、そのエラーがユーザが直接介入しなければ解消されない種類ではない限り、そのエラーについてのエラー状態は自動的に解除される。
【0042】
ステップS39の後、印刷部9は、発生済みのエラーは全部解消されたか否かをチェックする(S40)。全エラーが既に解消されていれば、印刷部9は、印刷動作を自動的に再開し他の印刷ジョブの印刷を開始し(S41)、そして、図7のフローへ進む。まだ解消されていないエラーが一つでも残っていれば、印刷部9は、図7のフローへ進む。
【0043】
図7のフローに入ると、印刷部9は、再び、ジョブ管理部11にキャンセル情報を問い合わせることで、図6のステップS38のチェックで分ったもの以外に現在までにキャンセルされた印刷ジョブが無いかどうかをチェックする(S42)。その結果、キャンセルされた印刷ジョブが無ければ、印刷部9は図8のフローへ進むが、キャンセルされた印刷ジョブが有れば、印刷部9は、そのキャンセルされた印刷ジョブの全ての印刷要求について、以下のステップS44〜48を繰り返す(S43とS49で囲むループ)。
【0044】
すなわち、そのキャンセルされたジョブに含まれる各印刷要求について、ステップS44にて、残り印刷枚数カウント(つまり、同ページを複数枚印刷することが指定されているときの未印刷で残っている枚数であり、各印刷要求のページ情報に記述されている)をゼロにして、これ以上印刷をしないようにする。続いて、ステップS45とS48で囲むループにて、各印刷要求に関連付けられた全てのエラー(各エラーはその発生時に図6のS36で印刷要求と関連付けられている)について、ステップS46とS47を繰り返す。ステップS46では、各エラーについて、それがジョブキャンセルで解消される種類のものか否かをチェックし、そうであるならステップS47でそのエラー状態を自動的に解除する。
【0045】
このようなステップS43とS49で囲むループの処理を行うことで、印刷ジョブのキャンセルが何時行われても、そのジョブキャンセルによって解消することのできる全てのエラーについて、プリンタが認識しているエラー状態が自動的に解除される。こうしてジョブキャンセルで解消されたエラーを全てについてエラー状態を解除した後、印刷部9は、プリンタは印刷可能状態になったか(つまり、エラー状態は皆無になったか)否かをチェックし(S50)、まだ印刷可能状態になっていなければ(つまり、まだエラー状態が1つ以上残っていれば)図8のフローへ進み、印刷可能状態になっていれば、残っている印刷ジョブの印刷を自動的に再開し(S51)、そして、図8のフローへ進む。
【0046】
図8のフローに入ると、印刷部9は、新しい印刷要求が到着したかをチェックし(S52)、到着してなければ図6の最初のステップS31に戻り、また、新しい印刷要求が届いていれば、その印刷要求のジョブIDについてキャンセル情報をジョブ管理部11へ問い合わせる(S53)。この問い合わせの結果、その新しい印刷要求の印刷ジョブがキャンセルされていなければ、図6の最初のステップS31に戻り、また、キャンセルされていれば、その印刷要求の印刷は全く行わずに、その印刷要求の残り印刷枚数カウントをゼロにして(つまり、既に印刷が完了したと同じ状態にして)(S56)、印刷終了報告をジョブ管理部11に送り(S57)、そして、図6の最初のステップS31に戻る。これにより、キャンセルされた印刷ジョブについては、キャンセル後に印刷要求が印刷部9に届けられても、印刷部9はその印刷要求を実質的に破棄してしまい印刷を行なわない。
【0047】
以上の図6〜8に示したエラー処理によって、ジョブキャンセルによって解消されたとみなして良い種類のエラーについては、そのエラーを発生させた印刷ジョブがキャンセルされることで自動的にプリンタが認識しているエラー状態が解除されて、他の印刷ジョブの印刷が自動的に再開される。故に、その種のエラーについては、ユーザがジョブキャンセルを行った場合には、そのエラーの原因を直接除去する作業を行う必要は無い。例えば、A3用紙を使用する印刷ジョブの印刷中にA3用紙が無くなった場合、その印刷ジョブがキャンセルされれば、印刷動作が自動的に再開されるので、(A4用紙が有れば)A4サイズの用紙を使用する印刷ジョブは印刷される。或いは、カラーの印刷ジョブの印刷中にイエロートナーが不足した場合、その印刷ジョブがキャンセルされれば、印刷動作が自動的に再開されるので、(黒トナーが不足してなければ)白黒の印刷ジョブは印刷される。
【0048】
図9は、図6のステップS36のエラーを発生させた印刷要求を特定する処理のフローを示す。図10は、この処理を分り易くするための説明図である。
【0049】
図9に示すように、印刷部9は、ステップS61にて、エラー発生でまず印刷動作を停止した後に、その停止時点で、現存する印刷要求のどの部分(つまり、どの印刷要求のどの印刷枚数)までが正常に印刷終了したを確認し、該当する印刷要求内の残り印刷枚数カウンとから、その印刷終了した枚数を減じる。その結果、例えば図10に示すように、4つの印刷要求100A〜100Dが存在していたところ、最初と2番目の印刷要求100A、100Bの残り印刷枚数カウント101A、101Bがゼロになり、3番目と4番目の印刷要求100C、100Dの残り印刷枚数カウント101C、101Dが1になったとする。次に、印刷部9は、ステップS62で、現存する印刷要求(図10では、100A〜100D)を印刷順に見ていって、残り印刷枚数カウントが1以上である印刷要求の中で先頭のもの(図10では、100C)を選び出す。そして、ステップS63にて、この選び出した印刷要求(図10では、100C)を、その発生したエラーと関連付ける。要するに、エラー発生により印刷を停止した時点において、まだ印刷の完了していない先頭の印刷要求がそのエラーに関連付けられる。
【0050】
図11は、印刷要求とエラーとが関連付けられた具体的な状態を例示する。
【0051】
図11に示すように、印刷順に、例えばジョブID「101」の2ページ目からnページまでの印刷要求200A〜200Dが並び、その後に、ジョブID「102」の1ページ目と2ページ目の印刷要求300A,300Bが並んでいたとする。ジョブID「101」のジョブはA3用紙を使用し、カラー印刷である。次のジョブID「102」のジョブはA4用紙を使用し、白黒印刷である。ここで、先頭の印刷要求200Aの印刷が正常完了し、2番目の印刷要求200Bを印刷するときに、A3用紙無しエラーと、イエロートナー不足エラーが発生したとする。すると、図9に示した処理によって、未印刷の印刷要求のキューの先頭に位置するこの2番目の印刷要求200Bと、その発生した2つのエラーとが関連付けられる。
【0052】
この関連付けは、具体的には、メモリに上に置かれた2番目の印刷要求200Bと、やはりメモリに上に置かれたその2つのエラーの詳細を示すエラー情報400A、400Bとの間に、論理的なリンクを形成することによって作られる。例えば、図示のように、2番目の印刷要求200Bに、1つ目のエラー情報400Aへの論理的なリンク(エラー情報400Aの先頭アドレスを指すポインタ)がセットされ、1つ目のエラー情報400Aには、2つ目のエラー情報400Bへの論理的なリンク(エラー情報400Bの先頭アドレスを指すポインタ)がセットされる。これらのリンクは、印刷要求200Bからエラー情報400A、400Bへ向かうものである。さらに、エラー情報400A、400Bから印刷要求200Bへ向かうリンクも形成される。すなわち、エラー情報400A、400Bの各々に、印刷要求200Bへの論理的なリンク(印刷要求200Bの先頭アドレスを指すポインタ)がセットされる。
【0053】
こうして、双方向のリンクが印刷要求とエラー情報との間に形成されるので、印刷要求を指定してそれに関連付けられたエラー情報を検索することも、逆にエラー情報を指定してそれに関連付けられた印刷要求を検索することも可能である。
【0054】
図11の例の場合、ジョブID「101」のジョブがキャンセルされれば、A3用紙無しエラーのエラー状態もイエロートナー無しエラーのエラー状態も共に解除される。その結果、ユーザがA3用紙やイエロートナーを補給しなくても、後続のジョブID「102」のジョブの印刷(A4用紙、白黒印刷)が自動的に開始される。
【0055】
以上、本発明の一実施形態を説明したが、この実施形態はあくまで本発明の説明のための例示であり、本発明をこの実施形態にのみ限定する趣旨ではない。従って、本発明は、上記実施形態以外の様々な形態でも実施することができる。
【0056】
例えば、エラーと印刷ジョブとの関連付けは、ジョブキャンセル時のエラー解除以外の用途にも利用できる。例えば、ホスト装置のディスプレイ画面に、ジョブとエラーとを関連付けて表示することで、ユーザにどのジョブが問題であるかを認識させ、どのジョブをキャンセルするべきか容易に判断させ得る。また、上記実施形態のように印刷ジョブ中のページ毎の印刷要求とエラーとの関連付けを行っている場合、関連付けたページとエラーとをディスプレイに表示すれば、ユーザは、どのジョブの何ページ目が問題であるかを認識でき、その問題ページのみを除去して再印刷をするなどの適当な対応措置を採ることが容易になる。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかるプリンタの要部の構成を示すブロック図。
【図2】ジョブ受信部5からジョブ解釈部7に渡される受信データの例を示すデータ構成図。
【図3】ジョブ解釈部7から印刷部9に渡される印刷要求の例を示すデータ構成図。
【図4】ジョブ受信部5の動作フローを示すフローチャート。
【図5】ジョブ解釈部7の動作フローを示すフローチャート。
【図6】印刷部9のエラー処理のフローの第一部を示すフローチャート。
【図7】印刷部9のエラー処理のフローの第二部を示すフローチャート。
【図8】印刷部9のエラー処理のフローの第三部を示すフローチャート。
【図9】図6のステップS36のエラーを発生させた印刷要求を特定する処理のフローを示すフローチャート。
【図10】図9の処理を分り易くするために印刷要求の例を示した説明図。
【図11】印刷要求とエラーとが関連付けられた具体的な状態を示す説明図。
【符号の説明】
1 プリンタ
3 ホスト装置
5 ジョブ受信部
7 ジョブ解釈部
9 印刷部
11 ジョブ管理部
21 受信データ
25、35 ジョブID
23、37 キャンセルフラグ
31、100、200、300 印刷要求
101 残り印刷枚数カウント
400 エラー情報
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a printer and a printer error processing method.
[0002]
[Prior art]
When an error occurs in a printer during printing, printing is suspended and printing is not resumed unless the user directly removes the cause of the error. For example, if the yellow toner runs short during the printing of a color image, the printing is suspended, and printing is not resumed until the yellow toner is replenished.
[0003]
[Problems to be solved by the invention]
Some types of errors are such that if the print job that caused the error is canceled, the error is considered to have been resolved and another print job may be started automatically. There is something. One example is when the yellow toner runs short during the above color printing, in which case, if the color printing job is canceled, the printing of another black and white printing job is automatically executed. Should be good.
[0004]
However, conventional printers do not have such a function. The reason is that the conventional printer does not know the error and the print job that caused the error in association with each other, and even if the print job is cancelled, the error status is directly determined by the user as to the cause of the error. Not unlocked until removed.
[0005]
Accordingly, it is an object of the present invention to provide a printer that can associate an error with a print job that caused the error.
[0006]
Another object of the present invention is to utilize the result of the above-mentioned association to automatically cancel the error state of a certain error if the print job that caused the error has been canceled and to cancel the other print job. An object of the present invention is to provide a printer that can start printing of a job.
[0007]
[Means for Solving the Problems]
The printer according to the present invention is generated by the printer Predetermined type Error detection means for detecting an error, job identification means for identifying a print job that has caused the detected error from among print jobs already received by the printer, and error detection means for identifying the identified print job and the detected error. Association means and Error canceling means for automatically canceling an error state of a predetermined type of error associated with the specified print job by the associating means when the specified print job is canceled; Is provided.
[0008]
According to this printer, If a certain type of error occurs, The error is automatically associated with the print job that caused the error. Then, when the print job is cancelled, the error state of the error associated with the canceled print job is automatically released. .
[0009]
In a preferred embodiment, the print job specifying unit is included in a print job already received by the printer. Print request The print request that caused the detected error is specified from the following. And the associating means, the specified Print request And the detected error. Thereby identified Print request Is identified as the print job that caused the error, and is associated with the error. In this way, certain print jobs Print request Is associated with an error, for example, when the user is notified by associating the job information with the error information, Print request , It is possible to provide more detailed information such as whether an error has occurred, and the user can deal with the error with higher accuracy.
[0010]
The preferred embodiment is A printing stop unit for stopping printing when an error is detected, and a printing stop unit when the error state of the detected error is released to the extent that printing can be performed; Means to automatically restart printing Further Prepare.
[0011]
this Constitution According to the above, when a predetermined type of error occurs, printing is stopped by the occurrence of the error. But Printing is automatically resumed if all error conditions that cause printing suspension are canceled by job cancellation.
[0012]
In the preferred embodiment, whether the error occurred before the cancellation of the print job or the error occurred after the cancellation is canceled by the job cancellation if the print job that caused the error is canceled. All error states of the kind of errors that can be considered are automatically canceled.
[0013]
Further, in a preferred embodiment, if a certain print job is cancelled, thereafter, the printing of the canceled print job is completely stopped by a method such as discarding all data of the canceled print job. Not to do it.
[0014]
By the way, when a print job is "canceled", generally, the print job is not printed at all as described above, and the preferred embodiment does so. However, this does not have to be the case, and if you "cancel" a print job, you can simply stop printing that print job and then print the unprinted portion of that print job later, or , Change the print order of jobs so that execution of that print job is delayed after other print jobs like May be.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows a configuration of a main part of a printer according to an embodiment of the present invention.
[0016]
The printer 1 is connected to a host device 3 such as a personal computer or a printer server via a communication network such as a LAN or a dedicated interface such as a serial interface. The printer 1 includes a job receiving unit 5 that receives print job data from the host device 3, a job interpreting unit 7 that interprets the received print job data and generates a print request for each page, and a print request for each page. A printing unit 9 for developing bitmap image data for each page and reproducing the page image on a print medium such as paper; Further, the printer 1 is provided with a job management unit 11. The job management unit 11 assigns a job ID to a new print job when a new print job comes from the host device 3, and sends a job cancel request when a job cancel request for a specific print job comes from the host device 3. To the other processing units 5, 7, and 9 for processing related to the management of the print job.
[0017]
The general operation of each unit in the printer 1 is as follows.
[0018]
In general, especially when the host device 3 and the printer 3 are connected via a communication network, the data of one print job from the host device 3 is not transmitted in a continuous stream from the beginning to the end, but rather in a number of substreams. It is common that the data is divided and intermittently arrived. Since a plurality of host devices are normally present on the network, a plurality of substreams of print job data output from the host devices may arrive at the printer 1 in a mixed manner. For example, first data of print job A arrives first, then first data of print job B arrives, and then second data of print job A arrives. Thus, the data of each print job is divided into a number of substreams and arrives at the printer 1 intermittently.
[0019]
When receiving the first data of a new print job from the host device 3, the job receiving unit 5 sends a job reception report to the job management unit 11. When receiving the job reception report, the job management unit 11 assigns a new job ID to the new print job, and notifies the job reception unit 5 of the job ID. Thereafter, each time the data of the print job is received from the host device 3, the job receiving unit 5 adds the job ID of the print job to the received data. Further, each time a print job is received, the job receiving unit 5 inquires the job management unit 11 whether or not the print job has been canceled. The job management unit 11 manages whether or not a job cancel request has been received from the host device 3 for each job ID. When the above inquiry is received for a specific print job, a job cancel request has already been received for that print job. If so, the reply is "1", otherwise the reply is "0". The job receiving unit 5 adds a cancel flag to the received data in addition to the job ID, and sets the cancel information in the cancel flag. Then, the job receiving unit 5 passes the received data to which the job ID and the cancel flag are added to the job interpreting unit 7.
[0020]
FIG. 2 shows an example of received data passed from the job receiving unit 5 to the job interpreting unit 7.
[0021]
In FIG. 2, one hatched block indicates received data arriving as one substream. As described above, the job receiving unit 5 adds the job ID 25 and the cancel flag 23 to the received data 21 each time the data 21 of one substream is received. FIG. 2 shows that, for a print job having a job ID “101”, data of four sub-streams are passed from the job receiving unit 5 to the job interpreting unit 7, and thereafter, for a print job having another job ID “102”. 2 shows an example in which data of two substreams is passed from the job receiving unit 5 to the job interpreting unit 7. Then, when the data of the fourth substream for the print job with the job ID “101” is received, the print job with the job ID “101” has been canceled.
[0022]
When the print job is canceled at the time of receiving this data, as in the case of the fourth data of job ID “101” shown in FIG. 2, the data receiving unit 5 transmits the same print data received after the data. The job data is automatically discarded after being received, and is not passed to the job interpreting unit 7. Accordingly, in FIG. 2, regarding the canceled print job with the job ID “101”, the fourth data is last, and the fifth and subsequent data are not passed to the job interpretation unit 7.
[0023]
FIG. 1 is referred to again. The job interpreting unit 7 receives the received data to which the job ID and the cancel flag are added as illustrated in FIG. 2, interprets the received data in order, and generates a print request for each page. However, the job interpreting unit 7 discards the received data whose cancel flag is “1” without interpreting the job because the job has been canceled. In the process of generating each print request, the job interpreter 7 inquires of the job manager 11 whether the print job of the print request has been canceled. The job management unit 11 returns the cancellation information about the print job to the job interpretation unit 7 in the same manner as when the inquiry is received from the job reception unit 5. Regarding a print job for which a cancel request is issued while being interpreted by the job interpreting unit 7 even if the print job has not been canceled at the time when the job is received by the job receiving unit 5, “1” is sent to the job interpreting unit 7. Will be answered. The job interpreting unit 7 adds the job ID of the print job and the cancel flag in which the cancel information is set to the print request of each page of each print job. Then, the job interpreting unit 7 passes a print request of each page to which the job ID and the cancel flag are added to the printing unit 9.
[0024]
When the job interpreter 7 receives the cancellation information “1” for the print job from the job management unit 11 at the time of creating a certain print request, the print job has been canceled, and the received data of the subsequent same print job is received. Is discarded, and no more print requests for the same print job are created.
[0025]
FIG. 3 shows an example of a print request passed from the job interpreting unit 7 to the printing unit 9.
[0026]
In the example of FIG. 3, a print request for three pages is created for the print job with the job ID “101”, and then a print request for two pages is created for the print job with the job ID “102”. Each print request 31 includes a job ID 35 and a cancel flag 37 in addition to the page information 33. Cancel information received by the job interpreting unit 7 is set in the cancel flag 37. The page information 33 includes information defining a print format and a print image of the page, for example, a paper size such as “A3” or “A4”, a distinction between “color” printing and “monochrome” printing, and “single-sided” printing. Whether the printing is “double-sided” or “double-sided” printing, and a link to element image data constituting a page image (not shown) are included.
[0027]
FIG. 1 is referred to again. The printing unit 9 receives the print requests of the respective pages in order, creates bitmap image data of each page based on the received print requests, and prints on a sheet of the size specified by the print request in the page format specified by the print request. Print the page image.
[0028]
Most errors during printing occur in the printing unit 9. When the printer 1 is a color printer having a plurality of paper bins of a plurality of sizes, errors that occur in the printing unit 9 include, for example, a paper jam in the paper transport path, no paper of a specific size, a shortage of specific color toner, There is insufficient memory. These errors can be broadly divided into two types. The first type is a type in which printing cannot be resumed unless the user directly eliminates the cause of the error, and a paper jam in the paper transport path belongs to this type. In the other type, if the print job that caused the error is canceled, the error is regarded as being resolved, and printing of another print job can be started. No paper, insufficient toner of a specific color, insufficient memory, etc. belong to this type.
[0029]
When an error occurs, the printing unit 9 first suspends printing. Next, the printing unit 9 determines which of the above two types of gills is the case, and if it is the former type, waits until the user removes the cause of the error as in the conventional printer. On the other hand, when the latter type of error occurs, the printing unit 9 specifies the print job that caused the error by a method described later in detail. Then, the printing unit 9 inquires of the job management unit 11 whether or not the specified print job has been cancelled, and the job management unit 11 prints the cancellation information for the print job in the same manner as described above. Answer 9 If the cancellation information is “1”, the print job has been canceled, and the printing unit 9 performs a process of actually canceling the print job, for example, discards all print requests of the print job. Then, processing such as erasing the image data being developed is performed, and the latter type of error state caused by the print job is automatically canceled. As a result, if all the error states that have occurred have been completely released, the printing unit 9 automatically restarts the printing operation.
[0030]
Hereinafter, the operation of each unit will be described in more detail.
[0031]
FIG. 4 shows an operation flow of the job receiving unit 5.
[0032]
As shown in FIG. 4, the job receiving unit 5 starts the operation from a state of waiting for the arrival of new print job data (step S1), and when a new print job data arrives, sends a job reception report to the job management unit 11. Then, the job ID of the new print job is acquired from the job management unit 11 (S2). Then, the job receiving unit 5 secures a memory for storing the received data (S3), adds a job ID to the received data, and stores the received data in the memory (S4). Subsequently, the job receiving unit 5 inquires of the job management unit 11 whether or not the print job of the received data has been canceled, and adds the cancellation information returned from the job management unit 11 to the received data as a cancel flag. (S5). Then, the job receiving unit 5 passes the received data to which the job ID and the cancel flag are added to the job interpreting unit 7 (S6).
[0033]
Subsequently, the job receiving unit 5 checks whether or not the print job is canceled based on the cancel information received in step S5 (S7). Upon receiving the job data, it is immediately discarded (S8). Steps S3 to S8 are repeated until data is completely received until the end of the print job (S9). When the data has been received until the end of the print job, the process returns to the first incoming call waiting (S1).
[0034]
FIG. 5 shows an operation flow of the job interpretation unit 7.
[0035]
As shown in FIG. 5, the job interpreting unit 7 starts the operation from a state of waiting for the arrival of new received job data from the job receiving unit 5 (step S11). Check the cancel flag (S12). If the cancel flag is “1”, the print job has been canceled, so the job interpreting unit 7 discards the received data without interpreting it, and returns to the state of waiting for the next received data in step S11.
[0036]
If the cancel flag is "0", the job interpreting unit 7 interprets the received data (S13), creates a print request for each page (S14), and adds the original received data to each created print request. Is set (S15). Subsequently, the job interpretation unit 7 inquires of the job management unit 11 whether or not the print job of the print request has been canceled, and sets the cancellation information returned from the job management unit 11 as a cancel flag in the print request. (S16). Then, the job interpreting unit 7 passes the print request in which the job ID and the cancel flag are set to the printing unit 9 (S17).
[0037]
Subsequently, the job interpreting unit 7 checks whether or not the print job has been canceled based on the cancel information received in step S16 (S18). The received data of the job is discarded without being interpreted (S19). Steps S13 to S19 are repeated until the end of the received data that has arrived this time (S20). When the processing has been completed up to the end of the received data that has arrived this time, the process returns to the first reception data arrival waiting (S11).
[0038]
6 to 8 show a flow of error processing of the printing unit 9 by connecting these.
[0039]
As shown in FIG. 6, the error processing of the printing unit 9 starts from an operation of monitoring occurrence of an error (S31). When an error occurs, the printing unit 9 first creates error information describing the details of the error, writes the error information in the memory, and stops the printing currently being executed (S32). Subsequently, the printing unit 9 determines that the generated error is of a type that can be considered to have been resolved if the print job that caused the error is canceled (for example, no specific size paper, a specific color toner shortage, (Sufficient etc.) is checked (S33).
[0040]
If the check result in step S33 is “No”, that is, if an error of a type that cannot be cleared unless the user directly removes the cause of the error (for example, a paper jam in the paper transport path) occurs, The printing unit 9 displays a message indicating the occurrence of the error on the front panel of the printer (or the display screen of the host device) (S34), and subsequently checks whether the cause of the error has been eliminated by the user. The display of the error message is erased (S35). If the error message is not resolved, the error message is kept displayed, and the process proceeds to the flow of FIG.
[0041]
On the other hand, if the check result in the step S33 is “Yes”, the printing unit 9 next specifies which print request caused the error, and outputs the error information of the error and the print request. The request is associated with the request (S36) (the details of the process of associating the error with the print request will be described later with reference to FIGS. 9 to 11). If the print request that caused the error can be specified, the printing unit 9 next specifies which print job the specified print request belongs to (S37). The print job specified in this manner is a print job in which an error has occurred. When the print job causing the error is specified, the printing unit 9 inquires of the job management unit 11 whether or not the specified print job has been canceled (S38). As a result, if the error has not been canceled yet, the process proceeds to steps S34 and S35 described above. If the error has been cancelled, the printing unit 9 determines that the error has been resolved and immediately (or displays the error message of the error). For example, after an appropriate time, such as 5 seconds, is displayed to inform the user of the occurrence of the error, the error state of the error recognized by the printer is automatically released (S39). As a result, for an canceled print job, even if an error occurs after the cancellation, the error state of the error is automatically canceled unless the error is of a type that cannot be eliminated without direct user intervention. .
[0042]
After step S39, the printing unit 9 checks whether all the generated errors have been eliminated (S40). If all errors have already been eliminated, the printing unit 9 automatically restarts the printing operation and starts printing another print job (S41), and then proceeds to the flow of FIG. If at least one error that has not been resolved remains, the printing unit 9 proceeds to the flow of FIG.
[0043]
In the flow of FIG. 7, the printing unit 9 again inquires of the job management unit 11 about the cancellation information, so that the print jobs that have been canceled up to the present, other than the ones found in the check in step S38 in FIG. It is checked whether or not there is (S42). As a result, if there is no canceled print job, the printing unit 9 proceeds to the flow of FIG. 8, but if there is a canceled print job, the printing unit 9 issues all print requests of the canceled print job. , The following steps S44 to S48 are repeated (loop surrounded by S43 and S49).
[0044]
That is, for each print request included in the canceled job, in step S44, the remaining print count (that is, the number of unprinted remaining prints when it is specified to print the same page a plurality of times). Yes, described in the page information of each print request) is set to zero to prevent further printing. Subsequently, in a loop surrounded by steps S45 and S48, steps S46 and S47 are performed for all errors associated with each print request (each error is associated with the print request in S36 of FIG. 6 at the time of occurrence). repeat. In step S46, it is checked whether or not each error is of a type that can be eliminated by canceling the job. If so, the error state is automatically canceled in step S47.
[0045]
By performing the processing of the loop surrounded by steps S43 and S49, no matter what time the print job is canceled, all errors that can be resolved by the job cancellation are recognized by the printer. Is automatically canceled. After canceling the error state for all errors resolved by the job cancellation in this way, the printing unit 9 checks whether the printer is in a printable state (that is, whether there is no error state) (S50). If it is not in a printable state (that is, if one or more error states still remain), the process proceeds to the flow of FIG. 8, and if it is in a printable state, the printing of the remaining print job is automatically performed. (S51), and then proceeds to the flow of FIG.
[0046]
8, the printing unit 9 checks whether a new print request has arrived (S52). If it has not arrived, the printing unit 9 returns to the first step S31 in FIG. 6, and a new print request has arrived. If so, an inquiry is made to the job management unit 11 about cancellation information for the job ID of the print request (S53). As a result of this inquiry, if the print job of the new print request has not been cancelled, the process returns to the first step S31 in FIG. 6, and if it has been canceled, the print request is not performed at all and the print job is not executed. The request remaining print count is set to zero (that is, the same state as when printing has already been completed) (S56), a print completion report is sent to the job management unit 11 (S57), and the first step in FIG. It returns to S31. As a result, with respect to the canceled print job, even if a print request is delivered to the printing unit 9 after the cancellation, the printing unit 9 substantially discards the print request and does not print.
[0047]
With the error processing shown in FIGS. 6 to 8 described above, the printer automatically recognizes a type of error that can be considered to have been resolved by job cancellation by canceling the print job that caused the error. The error state is cleared, and printing of another print job is automatically resumed. Therefore, for such an error, when the user cancels the job, there is no need to perform the operation of directly removing the cause of the error. For example, if an A3 sheet runs out during printing of a print job using the A3 sheet, if the print job is canceled, the printing operation is automatically restarted. The print job using the sheet of paper is printed. Alternatively, when the yellow toner runs short during the printing of a color print job, if the print job is canceled, the printing operation is automatically resumed, so that black-and-white printing (if the black toner is not short) is performed. The job is printed.
[0048]
FIG. 9 shows the flow of the process of identifying the print request that caused the error in step S36 in FIG. FIG. 10 is an explanatory diagram for making this process easy to understand.
[0049]
As shown in FIG. 9, in step S61, the printing unit 9 first stops the printing operation due to the occurrence of an error, and then, at the time of the stop, which part of the existing printing request (that is, which printing number of which printing request) ) Is confirmed that the printing has been completed normally, and the number of printed sheets is subtracted from the remaining print count in the corresponding print request. As a result, as shown in FIG. 10, for example, when there are four print requests 100A to 100D, the remaining print number counts 101A and 101B of the first and second print requests 100A and 100B become zero, and the third print request 100A to 100D becomes zero. It is assumed that the remaining print counts 101C and 101D of the fourth print requests 100C and 100D have become 1. Next, in step S62, the printing unit 9 looks at the existing print requests (100A to 100D in FIG. 10) in the printing order, and finds the first print request among the print requests whose remaining print count is 1 or more. (In FIG. 10, 100C) is selected. Then, in step S63, the selected print request (100C in FIG. 10) is associated with the generated error. In short, when printing is stopped due to the occurrence of an error, the first print request that has not been printed yet is associated with the error.
[0050]
FIG. 11 illustrates a specific state in which a print request and an error are associated with each other.
[0051]
As shown in FIG. 11, for example, print requests 200A to 200D from the second page to the n-th page of the job ID “101” are arranged in the printing order, and thereafter, the first and second pages of the job ID “102” are displayed. It is assumed that print requests 300A and 300B are arranged. The job of job ID “101” uses A3 paper and is color printing. The job of the next job ID “102” uses A4 paper and is monochrome printing. Here, it is assumed that the printing of the first print request 200A has been completed normally and the A3 paper out error and the yellow toner shortage error have occurred when the second print request 200B is printed. Then, by the processing shown in FIG. 9, the second print request 200B located at the head of the queue of unprinted print requests is associated with the two errors that have occurred.
[0052]
Specifically, this association is made between a second print request 200B located on memory and the error information 400A, 400B, which also details the two errors, also located on memory. Created by forming logical links. For example, as shown in the figure, a logical link (a pointer indicating the head address of the error information 400A) to the first error information 400A is set in the second print request 200B, and the first error information 400A is set. Is set to a logical link to the second error information 400B (a pointer indicating the head address of the error information 400B). These links are from the print request 200B to the error information 400A, 400B. Further, a link from the error information 400A, 400B to the print request 200B is also formed. That is, a logical link to the print request 200B (a pointer indicating the head address of the print request 200B) is set in each of the error information 400A and 400B.
[0053]
In this way, since a bidirectional link is formed between the print request and the error information, it is possible to specify the print request and search for the error information associated therewith, or conversely, specify the error information and associate it with the error information. It is also possible to search for a print request.
[0054]
In the case of the example of FIG. 11, if the job with the job ID “101” is canceled, both the error state of the A3 paper out error and the error state of the yellow toner out error are both canceled. As a result, even if the user does not supply the A3 paper or the yellow toner, the printing of the subsequent job with the job ID “102” (A4 paper, monochrome printing) is automatically started.
[0055]
As described above, one embodiment of the present invention has been described. However, this embodiment is merely an example for describing the present invention, and is not intended to limit the present invention only to this embodiment. Therefore, the present invention can be implemented in various modes other than the above-described embodiment.
[0056]
For example, the association between an error and a print job can be used for purposes other than canceling an error when canceling a job. For example, by displaying the job and the error on the display screen of the host device in association with each other, the user can recognize which job is the problem and easily determine which job should be canceled. Further, in the case where the print request and the error for each page in the print job are associated with each other as in the above-described embodiment, if the associated page and the error are displayed on the display, the user can determine which page of which job Can be recognized as a problem, and it is easy to take appropriate countermeasures such as removing only the problem page and reprinting.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a main part of a printer according to an embodiment of the present invention.
FIG. 2 is a data configuration diagram showing an example of received data passed from a job receiving unit 5 to a job interpreting unit 7.
FIG. 3 is a data configuration diagram showing an example of a print request passed from a job interpreting unit 7 to a printing unit 9;
FIG. 4 is a flowchart showing an operation flow of a job receiving unit 5;
FIG. 5 is a flowchart illustrating an operation flow of a job interpretation unit 7;
FIG. 6 is a flowchart showing a first part of a flow of an error process of the printing unit 9;
FIG. 7 is a flowchart showing a second part of the error processing flow of the printing unit 9;
FIG. 8 is a flowchart showing a third part of the flow of the error processing of the printing unit 9;
FIG. 9 is a flowchart showing a flow of a process of identifying a print request in which an error has occurred in step S36 of FIG. 6;
FIG. 10 is an explanatory diagram showing an example of a print request to make it easier to understand the processing of FIG. 9;
FIG. 11 is an explanatory diagram showing a specific state in which a print request and an error are associated with each other.
[Explanation of symbols]
1 Printer
3 Host device
5 Job receiver
7 Job interpreter
9 Printing department
11 Job Management Department
21 Received data
25, 35 Job ID
23, 37 Cancel flag
31,100,200,300 Print request
101 Remaining print count
400 Error information

Claims (10)

プリンタで発生した所定種類のエラーを検出するエラー検出手段と、
前記プリンタが既に受けた印刷ジョブの中から、前記検出したエラーを発生させた印刷ジョブを特定するジョブ特定手段と、
前記特定した印刷ジョブと前記検出したエラーとを関連付ける関連付け手段と
前記特定した印刷ジョブがキャンセルされた場合、前記関連付け手段によって前記特定した印刷ジョブに関連付けられた前記所定種類のエラーについてのエラー状態を自動的に解除するエラー解除手段と
を備えたプリンタ。
Error detecting means for detecting a predetermined type of error occurring in the printer,
A job specifying unit for specifying, from among print jobs already received by the printer, a print job in which the detected error has occurred;
Associating means for associating the specified print job with the detected error ;
Error canceling means for automatically canceling an error state of the predetermined type of error associated with the specified print job by the associating means when the specified print job is canceled . Printer.
前記印刷ジョブ特定手段は、前記プリンタが既に受けた印刷ジョブに含まれる印刷要求の中から、前記検出したエラーを発生させた印刷要求を特定し、
それにより実質的に、前記特定した印刷要求の含まれている印刷ジョブが、前記検出したエラーを発生させた印刷ジョブとして特定され、
前記関連付け手段は、前記特定した印刷要求と前記検出したエラーとを関連付け、
それにより実質的に、前記特定した印刷要求の含まれている印刷ジョブが、前記検出したエラーに関連付けられるようになっている請求項1記載のプリンタ。
The print job specifying unit specifies, from among print requests included in a print job already received by the printer, a print request that has caused the detected error,
Thereby, substantially, the print job including the specified print request is specified as the print job causing the detected error,
The associating unit associates the specified print request with the detected error,
The printer of claim 1, wherein the print job including the specified print request is substantially associated with the detected error.
前記特定した印刷ジョブについての第1の処理と、前記特定した印刷ジョブに関連付けられたエラーについての所定の第2の処理とを、関連付けて行うエラー処理手段をさらに備えた請求項1と2のいずれか一項記載のプリンタ。A first processing for the print job the specific, and a predetermined second processing for errors associated with the print job the particular claim 1, further comprising an error processing means for performing association with the 2 A printer according to any one of the preceding claims. 前記第1の処理は、前記特定した印刷ジョブに関する情報をユーザに通知することであり、前記第2の処理は、前記特定した印刷ジョブに関連付けられたエラーに関する情報をユーザに通知することである請求項3記載のプリンタ。The first process is to notify a user of information on the specified print job, and the second process is to notify a user of information about an error associated with the specified print job. The printer according to claim 3. 前記第1の処理は、前記特定した印刷ジョブ内の或る印刷要 に関する情報をユーザに通知することであり、前記第2の処理は、前記或る印刷要求に関連付けられたエラーに関する情報をユーザに通知することである請求項3記載のプリンタ。The first processing is to notify certain printing requirements information regarding request for the print job the specified user, the second process, information about the error associated with the certain print request 4. The printer according to claim 3, wherein the printer notifies the user. 前記エラーが検出されたときに印刷が行われていた場合、前記印刷を停止する印刷停止手段と、
既に検出したエラーについてのエラー状態が印刷を行える程度まで解除されたとき、前記停止した印刷を自動的に再開する印刷再開手段と
更に備えた請求項1記載のプリンタ。
When printing is being performed when the error is detected, a print stop unit that stops the printing,
2. The printer according to claim 1, further comprising a print resuming unit for automatically resuming the stopped printing when the error state of the detected error is released to the extent that printing can be performed.
前記エラー解除手段は、前記特定した印刷ジョブに関連付けられた前記所定種類のエラーについては、前記特定した印刷ジョブのキャンセル前に発生したものかキャンセル後に発生したものかに関わらず全て、前記特定した印刷ジョブがキャンセルされた場合にエラー状態を自動的に解除するようになっている請求項記載のプリンタ。 The error canceling unit is configured to specify the specified type of error associated with the specified print job irrespective of whether the error occurred before or after the specified print job was canceled . the printer of claim 1, wherein is adapted to automatically cancel the error state when a print job is canceled. 前記特定した印刷ジョブがキャンセルされたことに応答して、前記特定した印刷ジョブについての印刷を以後行うことを禁止する手段をさらに備えた請求項記載のプリンタ。Wherein in response to a particular print job has been canceled, the identified further printer of claim 1, further comprising a means for inhibiting to perform subsequent printing of the print job. プリンタで発生した所定種類のエラーを検出するステップと前記プリンタが既に受けた印刷ジョブの中から、前記検出したエラーを発生させた印刷ジョブを特定するステップと、
前記特定した印刷ジョブと前記検出したエラーとを関連付けるステップと
前記特定した印刷ジョブがキャンセルされた場合、前記関連付け手段によって前記特定した印刷ジョブに関連付けられた前記所定種類のエラーについてのエラー状態を自動的に解除するステップと
を備えたプリンタのエラー処理方法。
Detecting a predetermined type of error that has occurred in the printer, and identifying a print job that has caused the detected error among print jobs already received by the printer;
Associating the identified print job with the detected error ;
Automatically canceling an error state of the predetermined type of error associated with the specified print job by the associating means when the specified print job is cancelled . Error handling method.
前記エラーが検出されたときに印刷が行われていた場合、前記印刷を停止するステップと、
既に検出したエラーについてのエラー状態が印刷を行える程度まで解除されたとき、前記停止した印刷を自動的に再開するステップと
更に備えた請求項9記載のプリンタのエラー処理方法。
If printing was being performed when the error was detected, stopping the printing;
10. The printer error processing method according to claim 9 , further comprising the step of automatically restarting the stopped printing when the error state of the already detected error is released to the extent that printing can be performed.
JP2000162930A 2000-05-31 2000-05-31 Printer and printer error handling method Expired - Fee Related JP3547001B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000162930A JP3547001B2 (en) 2000-05-31 2000-05-31 Printer and printer error handling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000162930A JP3547001B2 (en) 2000-05-31 2000-05-31 Printer and printer error handling method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003171470A Division JP4207677B2 (en) 2003-06-17 2003-06-17 Printer and printer error processing method

Publications (2)

Publication Number Publication Date
JP2001341383A JP2001341383A (en) 2001-12-11
JP3547001B2 true JP3547001B2 (en) 2004-07-28

Family

ID=18666765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000162930A Expired - Fee Related JP3547001B2 (en) 2000-05-31 2000-05-31 Printer and printer error handling method

Country Status (1)

Country Link
JP (1) JP3547001B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003341198A (en) 2002-05-27 2003-12-03 Ricoh Co Ltd Apparatus, system and method for forming image
JP2004220098A (en) * 2003-01-09 2004-08-05 Ricoh Co Ltd Image forming apparatus capable of reusing data being target of image formation and its processing condition

Also Published As

Publication number Publication date
JP2001341383A (en) 2001-12-11

Similar Documents

Publication Publication Date Title
KR100479536B1 (en) Printing apparatus, print directing apparatus, print system, and re-print processing method
JP3814342B2 (en) Image processing apparatus and control method thereof
EP1452956A2 (en) print control system
US20080158624A1 (en) Image forming device
JPH10301736A (en) Printing system, error information managing method therefor and computer readable recording medium recorded with management control program for error information in the system
US20060092464A1 (en) Printing apparatus, printing control method, printing control program and computer-readable recording medium recording the same
JP4109821B2 (en) Information processing apparatus and job processing result confirmation method
JP2010094920A (en) Image forming apparatus
US6006012A (en) Print control apparatus and method for executing a jam recovery function when a jam is detected during printing on a front side of a recording medium
JP3547001B2 (en) Printer and printer error handling method
JP4991477B2 (en) Image forming apparatus and image forming system
JP2007067661A (en) Image processor
JP4207677B2 (en) Printer and printer error processing method
JP2000062292A (en) Printing system, control method therefor and computer- readable recording medium
CN115525236A (en) Job equalization processing method, job equalization processing device, image forming apparatus, and storage medium
JP5140802B2 (en) Image forming apparatus and image forming system
US20050010928A1 (en) Service device and method for spontaneously providing status notification
JPH11314438A (en) Printer and control method therefor
JP2005174367A (en) Image forming apparatus
JP2017019162A (en) Job execution device, error notification method, and error notification program
JP2010214684A (en) Image forming apparatus and printing management method
JPH11232056A (en) Print system, processor, printer and storage medium storing program for operating processor
JP2000118797A (en) Sheet conveyance control system
JP2003118209A (en) Job managing system
JP3311969B2 (en) Discharge position control method and apparatus in printing apparatus

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040325

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040407

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080423

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100423

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120423

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140423

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees