JP3581700B2 - Information processing apparatus and information processing method - Google Patents

Information processing apparatus and information processing method Download PDF

Info

Publication number
JP3581700B2
JP3581700B2 JP2002209703A JP2002209703A JP3581700B2 JP 3581700 B2 JP3581700 B2 JP 3581700B2 JP 2002209703 A JP2002209703 A JP 2002209703A JP 2002209703 A JP2002209703 A JP 2002209703A JP 3581700 B2 JP3581700 B2 JP 3581700B2
Authority
JP
Japan
Prior art keywords
ink
ink cartridge
cleaning
instructed
remaining amount
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
JP2002209703A
Other languages
Japanese (ja)
Other versions
JP2003131859A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002209703A priority Critical patent/JP3581700B2/en
Publication of JP2003131859A publication Critical patent/JP2003131859A/en
Application granted granted Critical
Publication of JP3581700B2 publication Critical patent/JP3581700B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、インクタンクより記録ヘッドにインクを供給して該記録ヘッドのノズルよりインク滴を飛翔させて記録を行なうインクジェット記録装置等の記録装置を制御するホストコンピュ−タ等の情報処理装置及び該装置における情報処理方法に関する。
【0002】
【従来の技術】
インクジェット記録装置におけるインク残量検知機能は、インクが無いままで印字を行ってしまうことによる印字不良を未然に防止する効果がある。これはインクタンク内のインク量を検知して、その残量を表示、あるいは残量が少なくなった場合に、警告を発したり、印字動作を停止させるものである。
【0003】
インクタンク内のインク残量を検知する方法としては様々なものが提案、あるいは実施されている。
【0004】
まず、インクセンサに何らかのセンサを設け、インクの残量を直接測定する方式が挙げられる。これには、インクタンク内にインクに接した2本の電極を設け、インク残量に応じて電極間の抵抗値が変化することを検知する方法や、インクタンク内のインクに光を入射させ、インクがあるときは光が吸収され、インクが無いときには光が透過するので、これを光検出器で検出してインクの有無を検出する方法がある。これらの方式を以下「センサ方式」と呼ぶことにする。
【0005】
また別の方式として、記録ドットより吐出されるインク滴の吐出回数を計数し、あらかじめ見積もった1個のインクタンクで吐出可能なインク滴数すなわち記録ドット数とを比較することによって消費量を間接的に推定する方式がある。この方式を以下「ドットカウント方式」と呼ぶ。
【0006】
【発明が解決しようとする課題】
以上の様な記録装置を制御するホストコンピュ−タは、記録装置のインク残量の状態を把握することができず、ユ−ザにその状態を視覚的に報知することができなかった。
【0007】
かかる問題点を解決するために本発明の目的は、記録装置のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、インクカ−トリッジの交換或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させる情報処理装置及び情報処理方法を提供することである。
【0008】
かかる問題点を解決するために本発明の目的は、記録装置で使用するインク色を解析し、解析した使用するインク色のインクカ−トリッジの残量を示す残量情報を記録装置から取得し、残量情報の取得に応じて、使用するインク色のインクカ−トリッジの交換或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させる情報処理装置及び情報処理方法を提供することである。
【0009】
かかる問題点を解決するために本発明の目的は、記録装置の記録モ−ドがモノクロモ−ドかカラ−モ−ドかを判断し、該判断結果に基づいて使用するインク色のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、使用するインク色のインクカ−トリッジの交換或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させる情報処理装置及び情報処理方法を提供することである。
【0010】
かかる問題点を解決するために本発明の目的は、記録装置のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、インクカ−トリッジの交換或は前記インクカ−トリッジ内のインク色とは異なる他の代替色の指定をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させる情報処理装置及び情報処理方法を提供することである。
【0011】
かかる問題点を解決するために本発明の目的は、記録装置のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、インクカ−トリッジ内のインク色とは異なる他の代替色の指定或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させる情報処理装置及び情報処理方法を提供することである。
【0012】
かかる問題点を解決するために本発明の目的は、前記録装置で記録可能なドット数と前記ドットイメ−ジ情報のドット数を比較し、比較結果に応じて、ドットイメ−ジ情報の生成処理を制御する情報処理装置及び情報処理方法を提供することである。
【0013】
【課題を解決するための手段】
上記課題を解決するために本発明の情報処理装置は、
記録装置に記録情報を出力する情報処理装置であって、
前記記録装置のインクの残量を示す残量情報を取得する取得手段と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示手段と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する手段と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行手段とを有することを特徴とする。
また、本発明の情報処理装置は、
記録装置に記録情報を出力する情報処理装置であって、
前記記録装置で使用するインク色を解析する解析手段と、
前記解析手段で解析した使用するインク色のインクの残量を示す残量情報を取得する取得手段と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示手段と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する手段と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行手段とを有することを特徴とする。
また、本発明の情報処理装置は、
記録装置に記録情報を出力する情報処理装置であって、
前記記録装置の記録モードがモノクロモードかカラーモードかを判断する判断手段と、
前記判断手段での判断結果に基づいて、使用するインク色のインクの残量を示す残量情報を取得する取得手段と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示手段と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する手段と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行手段とを有することを特徴とする。
また、本発明の情報処理装置は、
インクカートリッジが無いと判別された場合にインクカートリッジの装着を実行したか中止するか指示可能な第1画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示手段と、
前記表示手段に第1画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示手段に第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行う手段とを有することを特徴とする。
また、本発明の情報処理装置は、
インクが無いと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第3画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示手段と、
前記表示手段に第3画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示手段に第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行う手段とを有することを特徴とする。
【0014】
また、本発明の情報処理方法は、
記録装置に記録情報を出力する情報処理装置における情報処理方法であって、
前記記録装置のインクの残量を示す残量情報を取得する取得工程と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示工程と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する工程と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行工程とを有することを特徴とする。
また、本発明の情報処理方法は、
記録装置に記録情報を出力する情報処理装置における情報処理方法であって、
前記記録装置で使用するインク色を解析する解析工程と、
前記解析工程で解析した使用するインク色のインクの残量を示す残量情報を取得する取得工程と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示工程と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する工程と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行工程とを有することを特徴とする。
また、本発明の情報処理方法は、
記録装置に記録情報を出力する情報処理装置における情報処理方法であって、
前記記録装置の記録モードがモノクロモードかカラーモードかを判断する判断工程と、
前記判断工程での判断結果に基づいて、使用するインク色のインクの残量を示す残量情報を取得する取得工程と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示工程と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する工程と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行工程とを有することを特徴とする。
また、本発明の情報処理方法は、
インクカートリッジが無いと判別された場合にインクカートリッジの装着を実行したか中止するか指示可能な第1画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示ステップと、
前記表示ステップにより第1画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示ステップにより第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行うステップとを有することを特徴とする。
また、本発明の情報処理方法は、
インクが無いと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第3画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示ステップと、
前記表示ステップにより第3画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示ステップにより第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行うステップとを有することを特徴とする。
【0023】
【発明の実施の形態】
以下、図面を参照して本発明における記録装置およびその制御方法を詳細に説明する。
【0024】
(実施例1)
図1は、本発明の実施例におけるプリンタシステムの構成図である。
【0025】
図1において101は画像を記録するプリンタ装置、110は記録画像データ(記録情報)の生成、および利用者の指示を受け付けるホストコンピュータであり、これらは双方向の通信が可能なインターフェースで接続されている。このインターフェースは有線、電波・赤外線等を用いた無線いずれのタイプでも良い。
【0026】
本実施例におけるプリンタ装置101はインクジェット記録方式のものを用いている。プリンタ装置101において、102はプリンタ装置全体の制御を行うコントローラ(CPU)で、電源のオン/オフスイッチ、インターフェースの制御を行うオンラインスイッチ、ステータスを表示するランプ等で構成された操作パネル103と、被記録材に対してインクを飛翔させ画像を記録する印字ヘッド104と、印字ヘッドを搭載したキャリッジを印字ヘッドに対して鉛直方向に動作させるキャリッジモータ105と、被記録材を給排紙し、被記録材を搬送する紙送りモータ106と、ホストコンピュータから送出されたデータを一時記憶したり、印字直前の画像データ(記録情報)を例えばバンドサイズ毎に蓄えるメモリー107とインクカートリッジの有無や、インクカートリッジ内のインク残量を検知するインクセンサ108と、使用頻度が高い文字や絵文字等が記録されている内蔵フォント109等からなっている。本実施例のインクジェット記録装置はカラー記録可能なプリンタ装置であり、印字ヘッド104はブラック、シアン、マゼンタ、イエローの4色の印字ヘッドをキャリッジに搭載している。なお、本実施例においてホストコンピュ−タ110から入力される記録情報(ビットイメ−ジ情報)は、バンドサイズ毎に記録装置に入力され、記録装置はバンドサイズ毎に記録媒体に記録情報を記録する。また、記録装置が1ペ−ジ毎に記録情報を記録するペ−ジプリンタの場合には、ホストコンピュ−タからは1ペ−ジ単位に記録情報が記録装置に入力されても良い。また、記録装置がビットマップ展開機能(記録情報生成処理)を有する場合には、ホストコンピュ−タは文字コ−ド、制御コ−ドからなるPDL(PageDescriptionLanguage)等のプリンタ言語をバンドサイズ或は1ペ−ジ単位に記録装置に入力しても良い。
【0027】
ホストコンピュータ110において、不図示のCPUは、作図・作表や文書作成等を行うアプリケーションソフトウエア113とOSシステム111を用いて、プリンタドライバ114が要求したプリンタの解像度に対応したビットマップデータ(記録情報)を不図示のRAMに展開する。この際に、ベクトル情報からなる文字画像などはフォントラスタライザ112を用いて、所定ビットマップデータ(記録情報)に展開する。更に、不図示のCPUは、所定ビットマップデータに展開された記録情報をプリンタドライバ114を用いてプリンタ装置101で記録できるような記録情報を生成し、プリンタ制御コードを付加した後にプリンタ装置に送信する。また、プリンタドライバ114はステータスウインドウ115によりデータの処理状態やプリンタの状態を随時、利用者に示すことができる。
【0028】
なお、図2〜図14のフロ−チャ−トに示すプログラムは、プリンタドライバ114に格納されており、不図示のCPUにより実行される。
【0029】
図2、図3に本実施例における処理のフローチャートを示す。
【0030】
まず、プログラムがスタートすると図2のステップS101でプリンタのステータス情報の受信を開始する。ステップS102で記録情報生成処理開始する指示を受けると、ステップS103でプリンタのインクカートリッジ有無フラグを判別する。インクカートリッジ有無フラグが0すなわちプリンタにインクカートリッジが装着されている場合にはステップS104へ進む。ステップS104ではプリンタのインク無しフラグを判別する。インク無しフラグが0すなわちインクカートリッジにインクが有る場合には、ステップS105へ進む。ステップS105ではインク残量フラグを判別する。インク残量フラグが0すなわちインク残量が十分である場合には、ステップS106へ進む。ステップS106では画像をプリンタで記録するためのデータに変換する記録情報生成処理をバンドサイズ毎に行い、ステップS107でプリンタへ記録情報をバンドサイズ毎に出力する。
【0031】
なお、記録情報は、ビットマップデ−タであるが、プリンタ101がビットマップ展開する機能を有する場合には、記録情報は文字コ−ドや制御コ−ドから構成される例えばPDLの様なプリンタ言語でも良い。
【0032】
ステップS103でインクカートリッジ有無フラグが1すなわちプリンタにインクカートリッジが装着されていない場合にはステップS110へ進み、記録情報生成処理を一時停止する。ステップS111でメッセージ1を表示する。メッセージ1は図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのメッセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図2のステップS112でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図2のステップS112でインクカートリッジは交換されず、ステップS113で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS102で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0033】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図2のステップS102で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合は、図15のステータスウインドウのメッセージを再度表示するように図2のステップS111に戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインクカートリッジ有無フラグをリセットし、ステップS307で記録情報生成処理が再開され図2のステップS104へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0034】
図2のステップS104でインク無しフラグが1すなわちインクカートリッジにインクがない場合にはステップS114へ進み、記録情報生成処理を一時停止する。ステップS115でメッセージ2を表示する。メッセージ2は図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、図2のステップS116でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すとステップ図2のS116でインクカートリッジは交換されず、ステップS117で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図2のステップS102で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0035】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタの記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図2のステップS102で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合に、図16のステータスウインドウのメッセージを再度表示するように図2のステップS115に戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図2のステップS105へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0036】
図2のステップS105でインク残量フラグが1すなわちインクカートリッジのインク残量が残りわずかの場合にはステップS118へ進み、記録情報生成処理を一時停止する。ステップS119でメッセージ3を表示する。メッセージ3は図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり、画像によっては途中で印字できなくなる可能性があるメッセージ文、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図2のステップS120でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すと図2のステップS120でインクカートリッジは交換されず、ステップS121で強制解除が指示されたものと判断し、ステップS122で記録情報生成処理が再開され、ステップS106へ進む。インク残量が残りわずかである場合でも、文字が主体の一般文書のような記録ドット密度が低い画像においては数枚程度記録印字できるため、新規インクカートリッジに交換するかそのまま続行するかは利用者の判断にまかせ、この場合には、記録情報生成処理を強制中止しない。
【0037】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタの記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図2のステップS102で記録情報生成処理開始の再度指示があるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合に、図17のステータスウインドウのメッセージを再度表示させるため、図2のステップS119へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク残量フラグをリセットし、ステップS307で記録情報生成処理が再開され図2のステップS106へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0038】
図2のステップS108で全画像データ(記録情報)が出力されたと判断されるまで上記ステップS103、ステップS104、ステップS105の各フラグ状態の判別処理が繰り返される。ステップS108で全画像データ(記録情報)が出力されたと判断するとステップS109へ進み、ステップS109でプログラム終了が指示されなければステップS102で次の記録情報生成処理開始指示の待機状態となる。
【0039】
本実施例においては、プリンタのインクカートリッジ有無、インク無し、インク残量の状態がホストコンピュータ上で認識できるため、プリンタ装置とホストコンピュータが離れた場所にある場合、ネットワーク等でプリンタ装置を共有している場合に対応が容易となる。
【0040】
(実施例2)
図3、図4に本実施例における処理のフローチャートを示す。
【0041】
まずプログラムがスタートすると図4のステップS401でプリンタのステータス情報の受信を開始する。ステップS402で記録情報生成処理開始する指示を受けると、ステップS403で使用するインク色を原画像から解析する。一般にプリンタドライバはOSシステムに対してアプリケーションソフトで作画した記録情報をプリンタの解像度に対応した画像に変換・展開するように指示する。この場合にプリンタの解像度が360dpi等の高解像度の場合には、画像の展開処理や利用色の解析負荷が大きいため、原画像の利用色を解析する場合には72dpi等で一度低解像度で画像全体を展開し解析することで、画像の展開や利用色の解析を高速に行うことができ、利用メモリ容量も低減させることができる。
【0042】
次に、ステップS404で使用色のインクカートリッジ有無フラグを判別する。使用色のインクカートリッジ有無フラグが0すなわちプリンタに使用色のインクカートリッジが装着されている場合にはステップS405へ進む。ステップS405で使用色のインク無しフラグを判別する。使用色のインク無しフラグが0すなわち使用色のインクカートリッジにインクが有る場合には、ステップS406へ進む。ステップS406では使用色のインク残量フラグを判別する。使用色のインク残量フラグが0すなわち使用色のインク残量が十分である場合には、ステップS407へ進む。ステップS407では画像をプリンタで記録印字するための記録情報に変換する変換処理を行い、ステップS408でプリンタへ記録情報を例えばバンドサイズ毎に出力する。
【0043】
ステップS404で使用色のインクカートリッジ有無フラグが1すなわち使用色のインクカートリッジが装着されていない場合にはステップS411へ進み、記録情報生成処理を一時停止する。次に、ステップS412でメッセージ1を表示する。メッセージ1は実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのメッセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図4のステップS413でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図4のステップS413でインクカートリッジは交換されず、ステップS414で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS402で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0044】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図4のステップS402で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合に、図15のステータスウインドウのメッセージを再度表示させるため、図4のステップS412へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインクカートリッジ有無フラグをリセットし、ステップS307で記録情報生成処理が再開され図4のステップS405へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0045】
図4のステップS405で使用色のインク無しフラグが1すなわち使用色のインクカートリッジにインクがない場合にはステップS415へ進み、記録情報生成処理処理を一時停止する。ステップS416でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、図4のステップS417でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すと図4のステップS417でインクカートリッジは交換されず、ステップS418で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS402で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0046】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタの記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、ステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図4のステップS402で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断た場合に、図16のステータスウインドウのメッセージを再度表示するために図4のステップS416に戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図4のステップS406へ進む。ステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0047】
ステップS406で使用色のインク残量フラグが1すなわち使用色のインクカートリッジのインク残量が残りわずかの場合にはステップS419へ進み、記録情報生成処理を一時停止する。次に、ステップS420でメッセージ3を表示する。メッセージ3は先の実施例1で述べた図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり、画像によっては途中で印字ができなくなる可能性があるメッセージ文および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図4のステップS421でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すと図4のステップS421でインクカートリッジは交換されず、ステップS422で強制解除が指示されたものと判断し、ステップS423で記録情報生成処理が再開され、ステップS407へ進む。インク残量が残りわずかである場合でも、文字主体の一般文書のような記録ドット密度が低い画像においては数枚程度記録印字できるため、新規インクカートリッジに交換するかそのまま続行するかは利用者の判断にまかせ、この場合には、記録情報生成処理を中止しない。
【0048】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタの記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図4のステップS402で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合に、図17のステータスウインドウのメッセージを再度表示するため、図4のステップS420へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク残量フラグをリセットし、ステップS307で記録情報生成処理が再開され図4のステップS407へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0049】
図4のステップS409で全画像データ(記録情報)が出力されたと判断されるまで上記ステップS404、ステップS405、ステップS406の各フラグ状態の判別処理が繰り返される。ステップS409で全画像データ(記録情報)が出力されるとステップS410へ進み、ステップS410でプログラム終了が指示されなければステップS410で次の記録情報生成処理開始指示の待機状態となる。
【0050】
本実施例においても、プリンタのインクカートリッジ有無、インク無し、インク残量の状態がホストコンピュータ上で認識できるため、プリンタ装置とホストコンピュータが離れた場所にある場合、ネットワーク等でプリンタ装置を共有している場合に対応が容易となる。
【0051】
また、本実施例によれば、記録画像に使用するインク色のみインクカートリッジ有無フラグ、インク無しフラグ、インク残量フラグのステータスを検知するので、検知時間の短縮による記録速度向上が望め、さらに使用外インク色のステータス情報により不用意に画像記録動作が停止することを防止できる。
【0052】
(実施例3)
図3、図5、図6、図7に本実施例における処理のフローチャートを示す。
【0053】
まずプログラムがスタートすると図5のステップS501でプリンタのステータス情報の受信を開始する。ステップS502で記録情報生成処理開始する指示を受けると、ステップS503で使用するカラーモードを判別する。カラーモードの選択はプリンタ本体およびプリンタドライバのメニュー画面上から選択指示することができる。プリンタ本体での選択指示は操作パネル上から実行できる。この場合、プリンタ本体側でカラーモードステータス情報を有することになり、カラーモードフラグ0がモノクロ印字モード、カラーモードフラグ=1がカラー印字モードとなる。
【0054】
次にステップS504へ進み、現在のカラーモードがモノクロ印字モードであると判断するとステップS505へ進む。ステップS505ではブラックのインクカートリッジ有無フラグのみ判別する。ブラックのインクカートリッジ有無フラグが0すなわちプリンタにブラックのインクカートリッジが装着されている場合にはステップS506へ進む。ステップS506でブラックのインク無しフラグのみ判別する。ブラックのインク無しフラグが0すなわちブラックのインクカートリッジにインクが有る場合には、図7のステップS701へ進む。ステップS701ではブラックのインク残量フラグのみ判別する。ブラックのインク残量フラグが0すなわちブラックのインク残量が十分である場合には、ステップS702へ進む。ステップS702では画像をプリンタで記録印字するためのデータに変換する記録情報生成処理をバンドサイズ毎に行い、ステップS703でプリンタへ記録情報をバンドサイズ毎に出力する。
【0055】
図5のステップS505でブラックのインクカートリッジ有無フラグが1すなわちブラックのインクカートリッジが装着されていない場合にはステップS507へ進み、記録情報生成処理を一時停止する。ステップS508でメッセージ1を表示する。メッセージ1は先の実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのメッセージに従って、インクカートリッジを装着し、実行ボタンを押すと、ステップS509でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すとステップS509でインクカートリッジは交換されず、ステップS510で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS502で記録情報生成処理開始の再度指示があるまで待機状態となる。
【0056】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合に、図15のステータスウインドウのメッセージを再度表示させるため図5のステップS508へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、ブラックのインクカートリッジ無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図5のステップS506へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0057】
図5のステップS506でブラックのインク無しフラグが1すなわちブラックのインクカートリッジにインクがない場合にはステップS511へ進み、記録情報生成処理を一時停止する。ステップS511でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、図5のステップS513でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すとステップS513でインクカートリッジは交換されず、ステップS514で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0058】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図16のステータスウインドウのメッセージを再度表示するために、図5のステップS512へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、ブラックのインク無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図7のステップS701へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0059】
図7のステップS701でブラックのインク残量フラグが1すなわちブラックのインクカートリッジのインク残量が残りわずかの場合にはステップS706へ進み、記録情報生成処理を一時停止する。次に、ステップS707でメッセージ3を表示する。メッセージ3は先の実施例1でのべた図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり画像によっては途中で印字できなくなる可能性があるメッセージ文および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、ステップS708でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すとステップS708でインクカートリッジは交換されず、ステップS709で強制解除が指示されたものと判断し、ステップS710で記録情報生成処理が再開され、ステップS702へ進む。インク残量が残りわずかである場合でも、文字主体の一般文書のようにの記録ドット密度が低い画像においては数枚程度記録印字できるため、新規インクカートリッジに交換するかそのまま続行するかは利用者の判断にまかせ、この場合には、記録情報生成処理を中止しない。
【0060】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS502で記録情報生成処理開始の再度指示があるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図17のステータスウインドウのメッセージを再度表示させるため、図7のステップS707へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、ブラックのインク残量フラグをリセットし、図3のステップS307で記録情報生成処理が再開され図7のステップS702へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0061】
図7のステップS704で全画像データ(記録情報)が出力されたと判断されるまで上記図5のステップS505、ステップS506、ステップS507の各フラグ状態の判別処理が繰り返される。図7のステップS701で全画像データ(記録情報)が出力されるとステップS705へ進み、ステップS705でプログラム終了が指示されなければ図5のステップS502で次の記録情報生成処理開始指示の待機状態となる。
【0062】
図5のステップS504で現在のカラーモードがカラー印字モードであると判断すると図6のステップS601へ進む。ステップS601では各色のインクカートリッジ有無フラグを判別する。インクカートリッジ有無フラグが0すなわちプリンタにインクカートリッジが装着されている場合にはステップS602へ進む。ステップS602で各色のインク無しフラグを判別する。インク無しフラグが0すなわちインクカートリッジにインクが有る場合には、図7のステップS711へ進む。ステップS711では各色のインク残量フラグを判別する。インク残量フラグが0すなわちインク残量が十分である場合には、ステップS712へ進む。ステップS712では画像をプリンタで記録印字するためのデータに変換する画像データ(記録情報)処理を行い、ステップS713でプリンタへ画像データ(記録情報)を出力する。
【0063】
図6のステップS601でインクカートリッジ有無フラグが1すなわちインクカートリッジが装着されていない色がある場合にはステップS603へ進み、記録情報生成処理を一時停止する。次に、ステップS604でメッセージ1を表示する。メッセージ1は先の実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのメッセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図6のステップS605でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図6のステップS605でインクカートリッジは交換されず、ステップS606で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0064】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始の再度指示があるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図15のステータスウインドウのメッセージを再度表示するため、図6のステップS604へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインクカートリッジ無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図6のステップS602へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0065】
図6のステップS602でインク無しフラグが1すなわちインクカートリッジにインクがない場合にはステップS607へ進み、記録情報生成処理を一時停止する。ステップS608でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、ステップS609でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すとステップS609でインクカートリッジは交換されず、ステップS610で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0066】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始の再度指示があるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図16のステータスウインドウのメッセージを再度表示させるため、図6のステップS608へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図7のステップS711へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0067】
図7のステップS711でインク残量フラグが1すなわちインクカートリッジのインク残量が残りわずかの場合にはステップS716へ進み、記録情報生成処理を一時停止する。次に、ステップS717でメッセージ3を表示する。メッセージ3は先の実施例1でのべた図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり、画像によっては途中で印字できなくなる可能性があるメッセージ文および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図7のステップS718でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すと図7のステップS718でインクカートリッジは交換されず、ステップS719で強制解除が指示されたものと判断し、ステップS720で記録情報生成処理が再開され、ステップS712へ進む。インク残量が残りわずかである場合でも、文字主体の一般文書のように記録ドット密度が低い画像においては数枚程度記録印字できるため、新規インクカートリッジに交換するかそのまま続行するかは利用者の判断にまかせ、この場合には、記録情報生成処理を中止しない。
【0068】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始の再度指示があるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図17のステータスウインドウのメッセージを再度表示させるため、図7のステップS717へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク残量フラグをリセットし、ステップ307で記録情報生成処理が再開され図7のステップS712へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0069】
図7のステップS714で全画像データ(記録情報)が出力されたと判断されるまで上記、図6のステップS601、ステップS602、図7のステップS711の各フラグ状態の判別処理が繰り返される。ステップS714で全画像データ(記録情報)が出力されるとステップS715へ進み、ステップS715でプログラム終了が指示されなければ図5のステップS502で次の記録情報生成処理開始指示の待機状態となる。
【0070】
本実施例においても、プリンタのインクカートリッジ有無、インク無し、インク残量の状態がホストコンピュータ上で認識できるため、プリンタ装置とホストコンピュータが離れた場所にある場合、ネットワーク等でプリンタ装置を共有している場合に対応が容易となる。
【0071】
また、本実施例によれば、指定されたカラーモードに応じてインクカートリッジ有無フラグ、インク無しフラグ、インク残量フラグのステータスを検知するので、ブラックインクのみ使用するモノクロ印字モード時には検知時間の短縮による記録速度向上が望め、さらに使用外インク色のステータス情報により不用意に画像記録動作が停止することを防止できる。また、記録画像に使用するインク色を判別する必要がなくなるため、画像データ(記録情報)の処理負荷を軽減させることができる。
【0072】
(実施例4)
図3、図5、図6、図8、図9に本実施例における処理のフローチャートを示す。
【0073】
まずプログラムがスタートすると図5のステップS501でプリンタのステータス情報の受信を開始する。ステップS502で記録情報生成処理開始する指示を受けると、ステップS503で使用するカラーモードを判別する。カラーモードの選択はプリンタ本体およびプリンタドライバのメニュー画面上から選択指示することができる。プリンタ本体での選択指示は操作パネル上から実行できる。この場合、プリンタ本体側でカラーモードステータス情報を有することになり、カラーモードフラグ0がモノクロ印字モード、カラーモードフラグ=1がカラー印字モードとなる。
【0074】
次にステップS504へ進み、現在のカラーモードがモノクロ印字モードであると判断するとステップS505へ進む。ステップS505ではブラックのインクカートリッジ有無フラグのみ判別する。ブラックのインクカートリッジ有無フラグが0すなわちプリンタにブラックのインクカートリッジが装着されている場合にはステップS506へ進む。ステップS506でブラックのインク無しフラグのみ判別する。ブラックのインク無しフラグが0すなわちブラックのインクカートリッジにインクが有る場合には、図8のステップS801へ進む。ステップS801ではブラックのインク残量フラグのみ判別する。ブラックのインク残量フラグが0すなわちブラックのインク残量が十分である場合には、ステップS802へ進む。ステップS802では画像をプリンタで記録印字するためのデータに変換する画像データ(記録情報)処理を行い、ステップS803でプリンタへ画像データ(記録情報)を出力する。
【0075】
図5のステップS505でブラックのインクカートリッジ有無フラグが1すなわちブラックのインクカートリッジが装着されていない場合にはステップS507へ進み、記録情報生成処理を一時停止する。ステップS508でメッセージ1を表示する。メッセージ1は先の実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのメッセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図5のステップS509でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図5のステップS509でインクカートリッジは交換されず、ステップS510で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0076】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図15のステータスウインドウのメッセージを再度表示させるため図5のステップS508へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、ブラックのインクカートリッジ無しフラグをリセットし、図3のステップS307で記録情報生成処理が再開され、図5のステップS506へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0077】
図5のステップS506で使用色のインク無しフラグが1すなわちブラックのインクカートリッジにインクがない場合にはステップS511へ進み、記録情報生成処理を一時停止する。ステップS511でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、図5のステップS513でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すと図5のステップS513でインクカートリッジは交換されず、ステップS514で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0078】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図16のステータスウインドウのメッセージを再度表示するため、図5のステップS512へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、ブラックのインク無しフラグをリセットし、ステップS307で記録情報生成処理を再開し、図8のステップS801へ進む。図3のステップS306のフラグリセットはプリンタ本体で検知リセットさせても良い。
【0079】
図8のステップS801でブラックのインク残量フラグが1すなわちブラックのインクカートリッジのインク残量が残りわずかの場合にはステップS806へ進み、記録情報生成処理を一時停止する。次に、ステップS807でメッセージ33を表示する。メッセージ33は図18に示すようなステータスウインドウ画面で表示される。図18のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり画像によっては途中で印字できなくなる可能性があるャbセージ文および対応するインク色の表示と、実行ボタンおよび代替色使用選択ボタン、中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図18のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図8のステップS808でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図18のステータスウインドウの中止ボタンを押すと図8のステップS808でインクカートリッジは交換されず、ステップS809で代替色使用しないと判断し、さらにステップS810で強制解除が指示されたものと判断し、ステップS811で記録情報生成処理が再開され、ステップS802へ進む。インク残量が残りわずかである場合でも、文字主体の一般文書のような記録ドット密度が低い画像においては数枚程度記録印字できるため、新規インクカートリッジに交換するかそのまま続行するかは利用者の判断にまかせ、この場合には、記録情報生成処理を中止しない。
【0080】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタの記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図18のステータスウインドウのメッセージを再度表示させるため、図8のステップS807へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、ブラックのインク残量フラグをリセットし、ステップS307で記録情報生成処理が再開され図8のステップS802へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0081】
図18のウインドウのメッセージに従って、代替色ボタンを押すと、図8のステップS808でインクカートリッジは交換せず、ステップS809で代替色使用と判断し、図9のステップS901へ進み、メッセージ5が表示される。メッセージ5は図20に示すようなウインドウ画面で表示される。図20のウインドウ画面ではシアン、マゼンタ、イエローおよび、前記3色混合によるグレーの4色の代替色選択ボタンと実行、中止ボタンおよび指示メッセージが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。3色混合のグレーはシアン、マゼンタ、イエローを所定の割合で印字することで本来印字したいブラックに近い色合いで印字させるモードである。
【0082】
代替色は前記選択肢の4色に限定されることなくレッド、グリーン、ブルー等、他の色を選択項目に加えても良い。
【0083】
図20のウインドウ画面で中止ボタンを押すと、図9のステップS905で強制解除が指示されたものと判断し、図8のステップS802へ進む。ここで、図20のウインドウ画面で中止ボタンを押した場合に、一つ前のステータスウインドウのメッセージを表示させるためステップS807へ戻るようにしても良い。
【0084】
図20のウインドウ画面で代替色を選択して実行ボタンを押すと、図9のステップS902で代替色指定がなされ、図9のステップS903へ進む。ステップS903で代替色のインクカートリッジ有無、インク無し、インク残量の各フラグを検知する。代替色のフラグがすべて0すなわち代替色で用いているインク色が印字可能状態である場合には、ステップS907で画像データ(記録情報)処理を代替色処理に切り替えステップS906で記録情報生成処理を再開し、図8のステップS802へ進む。代替色処理に切り替わるとステップS803の画像データ(記録情報)処理部においてはモノクロ(ブラック)のデータ情報を代替色の情報に置き換え、ステップS803で代替色に置き換えた画像データ(記録情報)を出力する。
【0085】
図9のステップS903で代替色のインクカートリッジ有無、インク無、インク残量の各フラグのうち少なくとも1つのフラグが1で印字できない状態である場合には、ステップS904でメッセージ6を表示する。
【0086】
メッセージ6は図21に示すようなステータスウインドウ画面で表示される。図21のステータスウインドウ画面は指定した代替色では印字できないことのャbセージおよび、実行ボタン、中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。
【0087】
中止ボタンを押すと、図9のステップS905で強制解除が指示されたものと判断し、図8のステップS802へ進む。実行ボタンを押すと、図9のステップS901へ戻り、再びメッセージ5が表示される。図21のステータスウインドウ中の中止ボタンを押した場合に、図18のステータスウインドウのメッセージを再度表示させるため、図8のステップS807へ戻るようにしても良い。
【0088】
代替色が選択された場合には以後画像データ(記録情報)の出力が終了するまでインクカートリッジ有無、インク無し、インク残量の各フラグ検知は代替色で使用するインク色のみ行う。
【0089】
図8のステップS804で全画像データ(記録情報)が出力されたと判断されるまで上記図5のステップS505、ステップS506および、図8のステップS801の各フラグ状態の判別処理が繰り返される。代替色が選択されている場合には以後画像データ(記録情報)の出力が終了するまで図5のステップS505のインクカートリッジ有無、ステップS506のインク無し、図8のステップS801のインク残量の各フラグ検知は代替色で使用するインク色のみ行う。
【0090】
ステップS804で全画像データ(記録情報)が出力されるとステップS805へ進み、ステップS805でプログラム終了が指示されなければ図5のステップS502で次の記録情報生成処理開始指示の待機状態となる。
【0091】
図5のステップS504で現在のカラーモードがカラー印字モードであると判断すると図6のステップS601へ進む。ステップS601では各色のインクカートリッジ有無フラグを判別する。インクカートリッジ有無フラグが0すなわちプリンタにインクカートリッジが装着されている場合にはステップS602へ進む。ステップS602で各色のインク無しフラグを判別する。インク無しフラグが0すなわちインクカートリッジにインクが有る場合には、図8のステップS812へ進む。ステップS812では各色のインク残量フラグを判別する。インク残量フラグが0すなわちインク残量が十分である場合には、ステップS813へ進む。ステップS813では画像をプリンタで記録印字するためのデータに変換する画像データ(記録情報)処理を行い、ステップS814でプリンタへ画像データ(記録情報)を出力する。
【0092】
図6のステップS601でインクカートリッジ有無フラグが1すなわちインクカートリッジが装着されていない色がある場合にはステップS603へ進み、記録情報生成処理を一時停止する。次に、ステップS604でメッセージ1を表示する。メッセージ1は先の実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのメッセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図6のステップS605でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図6のステップS605でインクカートリッジは交換されず、ステップS606で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0093】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで図3のステップS302で強制解除が指示されたものと判断した場合、図15のステータスウインドウのメッセージを再度表示させるため、図6のステップS604へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインクカートリッジ無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図6のステップS602へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0094】
図6のステップS602でインク無しフラグが1すなわちインクカートリッジにインクがない場合にはステップS607へ進み、記録情報生成処理を一時停止する。ステップS608でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、ステップS609でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すとステップS609でインクカートリッジは交換されず、ステップS610で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0095】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図16のステータスウインドウのメッセージを再度表示させるため、図6のステップS608へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク無しフラグをリセットし、ステップS307で記録情報生成処理が再開され図7のステップS711へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0096】
図8のステップS812でインク残量フラグが1すなわちインクカートリッジのインク残量が残りわずかの場合にはステップS817へ進み、記録情報生成処理を一時停止する。次に、ステップS818でメッセージ3を表示する。メッセージ3は先の実施例1でのべた図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり、画像によっては途中で印字できなくなる可能性があるメッセージ文および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図8のステップS819でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すと図8のステップS819でインクカートリッジは交換されず、ステップS820で強制解除が指示されたものと判断し、ステップS821で記録情報生成処理が再開され、ステップS813へ進む。インク残量が残りわずかである場合でも、文字主体の一般文書のように記録ドット密度が低い画像においては数枚程度記録印字できるため、新規インクカートリッジに交換するかそのまま続行するかは利用者の判断にまかせ、この場合には、記録情報生成処理を中止しない。
【0097】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図5のステップS502で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図17のステータスウインドウのメッセージを再度表示させるため、図8のステップS818へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク残量フラグをリセットし、ステップ307で記録情報生成処理が再開され図8のステップS813へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0098】
図8のステップS815で全画像データ(記録情報)が出力されたと判断されるまで上記、図6のステップS601、ステップS602、図8のステップS812の各フラグ状態の判別処理が繰り返される。ステップS815で全画像データ(記録情報)が出力されるとステップS816へ進み、ステップS816でプログラム終了が指示されなければ図5のステップS502で次の記録情報生成処理開始指示の待機状態となる。
【0099】
本実施例においても、プリンタのインクカートリッジ有無、インク無し、インク残量の状態がホストコンピュータ上で認識できるため、プリンタ装置とホストコンピュータが離れた場所にある場合、ネットワーク等でプリンタ装置を共有している場合に対応が容易となる。
【0100】
また、本実施例によれば、指定されたカラーモードに応じてインクカートリッジ有無フラグ、インク無しフラグ、インク残量フラグのステータスを検知するので、ブラックインクのみ使用するモノクロ印字モード時には検知時間の短縮による記録速度向上が望め、使用外インク色のステータス情報により不用意に画像記録動作が停止することを防止できる。また、記録画像に使用するインク色を判別する必要がなくなるため、画像データ(記録情報)の処理負荷を軽減させることができる。さらに、モノクロ印字モード時にブラックインクの残量が残りわずかになった場合に代替色を選択することができるため、早急に画像出力が必要な場合に新たにインクカートリッジを交換しなくても記録が可能である。
【0101】
(実施例5)
図3、図10、図11に本実施例における処理のフローチャートを示す。
【0102】
まずプログラムがスタートすると図10のステップS1001でプリンタのステータス情報の受信を開始する。ステップS1002で記録情報生成処理開始する指示を受けると、ステップS1003へ進む。ステップS1003ではインクカートリッジ有無フラグを判別する。インクカートリッジ有無フラグが0すなわちプリンタにインクカートリッジが装着されている場合にはステップS1004へ進む。ステップS1004でインク無しフラグを判別する。インク無しフラグが0すなわちインクカートリッジにインクが有る場合には、図11のステップS1101へ進む。ステップS1101ではインク残量フラグを判別する。インク残量フラグが0すなわちインク残量が十分である場合には、ステップS1105へ進む。ステップS1105では画像をプリンタで記録印字するためのデータに変換する画像データ(記録情報)処理を行い、ステップS1106でプリンタへ画像データ(記録情報)を出力する。
【0103】
図10のステップS1003でインクカートリッジ有無フラグが1すなわちインクカートリッジが装着されていない場合にはステップS1005へ進み、記録情報生成処理を一時停止する。ステップS1006でメッセージ1を表示する。メッセージ1は先の実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのャbセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図10のステップS1007でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図10のステップS1007でインクカートリッジは交換されず、ステップS1008で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0104】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図10のステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図15のステータスウインドウのメッセージを再度表示させるため図10のステップS1006へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインクカートリッジ無しフラグをリセットし、図3のステップS307で記録情報生成処理が再開され、図10のステップS1004へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0105】
図10のステップS1004でインク無しフラグが1すなわちインクカートリッジにインクがない場合にはステップS1009へ進み、記録情報生成処理を一時停止する。ステップS1010でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、図10のステップS1011でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すと図10のステップS1011でインクカートリッジは交換されず、ステップS1012で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0106】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図10のステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図16のステータスウインドウのメッセージを再度表示させるため、図10のステップS1010へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク無しフラグをリセットし、ステップS307で記録情報生成処理を再開し、図11のステップS1101へ進む。図3のステップS306のフラグリセットはプリンタ本体で検知リセットさせても良い。
【0107】
図11のステップS1101でインク残量フラグが1すなわちインクカートリッジのインク残量が残りわずかの場合にはステップS1102へ進み、記録可能ドット数のカウント値(Count)を読み込む。記録可能ドット数の初期値はあらかじめプリンタ内部のインク残量フラグが1になってから記録不可能になるまでの想定ドット数をプリンタ内部のカウント値にセットしてある。カウント値はプリンタ内のインク残量フラグが1になってから記録されたドット数によりプリンタ内部で自動的に計数減算される。次にステップS1103へ進み、記録画像のドット数(D)を計数する。次にステップS1104へ進み、D≦Countの場合にはステップS1105で画像データ(記録情報)の処理を続行する。
【0108】
D>Countの場合には画像記録途中にインクが無くなるため、ステップS1109へ進み、記録情報生成処理を一時停止する。次に、ステップS1110でメッセージ3’を表示する。メッセージ3’は図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり、実行中の画像は画像は途中で印字できなくなるメッセージ文および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図11のステップS1111でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すと図11のステップS1111でインクカートリッジは交換されず、ステップS1112で強制解除が指示されたものと判断し、ステップS1113で記録情報生成処理が再開され、ステップS1105へ進む。この場合には、記録情報生成処理を中止しない。
【0109】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図10のステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図17のステータスウインドウのメッセージを再度表示させるため、図11のステップS1110へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク残量フラグをリセットし、ステップ307で記録情報生成処理が再開され図11のステップS1105へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0110】
図11のステップS1107で全画像データ(記録情報)が出力されたと判断されるまで上記、図10のステップS1003、ステップS1004、図11のステップS1101の各フラグ状態の判別処理が繰り返される。ステップS1107で全画像データ(記録情報)が出力されるとステップS1108へ進み、ステップS1108でプログラム終了が指示されなければ図10のステップS1002で次の記録情報生成処理開始指示の待機状態となる。
【0111】
本実施例においても、プリンタのインクカートリッジ有無、インク無し、インク残量の状態がホストコンピュータ上で認識できるため、プリンタ装置とホストコンピュータが離れた場所にある場合、ネットワーク等でプリンタ装置を共有している場合に対応が容易となる。
【0112】
また、本実施例によれば、インク残量が残りわずかである場合に、想定した記録可能ドット数と記録画像のドット数を比較し、記録情報生成処理の可否を判断するため、確実な画像記録が可能となる。
【0113】
(実施例6)
図3、図10、図12に本実施例における処理のフローチャートを示す。
【0114】
まずプログラムがスタートすると図10のステップS1001でプリンタのステータス情報の受信を開始する。ステップS1002で記録情報生成処理開始する指示を受けると、ステップS1003へ進む。ステップS1003ではインクカートリッジ有無フラグを判別する。インクカートリッジ有無フラグが0すなわちプリンタにインクカートリッジが装着されている場合にはステップS1004へ進む。ステップS1004でインク無しフラグを判別する。インク無しフラグが0すなわちインクカートリッジにインクが有る場合には、図12のステップS1201へ進む。ステップS1201ではインク残量フラグを判別する。インク残量フラグが0すなわちインク残量が十分である場合には、ステップS1205へ進む。ステップS1205では画像をプリンタで記録印字するためのデータに変換する記録情報生成処理をバンドサイズ毎に行い、ステップS1206でプリンタへ記録情報をバンドサイズ毎に出力する。
【0115】
図10のステップS1003でインクカートリッジ有無フラグが1すなわちインクカートリッジが装着されていない場合にはステップS1005へ進み、記録情報生成処理を一時停止する。ステップS1006でメッセージ1を表示する。メッセージ1は先の実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのャbセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図10のステップS1007でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図10のステップS1007でインクカートリッジは交換されず、ステップS1008で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0116】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図10のステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図15のステータスウインドウメッセージを再度表示させるため、図10のステップS1006へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインクカートリッジ無しフラグをリセットし、図3のステップS307で記録情報生成処理が再開され、図10のステップS1004へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0117】
図10のステップS1004でインク無しフラグが1すなわちインクカートリッジにインクがない場合にはステップS1009へ進み、記録情報生成処理を一時停止する。ステップS1010でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、図10のステップS1011でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すと図10のステップS1011でインクカートリッジは交換されず、ステップS1012で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0118】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図10のステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図16のステータスウインドウのメッセージを再度表示するため、図10のステップS1010へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク無しフラグをリセットし、ステップS307で記録情報生成処理を再開し、図11のステップS1101へ進む。図3のステップS306のフラグリセットはプリンタ本体で検知リセットさせても良い。
【0119】
図12のステップS1201でインク残量フラグが1すなわちインクカートリッジのインク残量が残りわずかの場合にはステップS1202へ進み、記録可能ドット数のカウント値(Count)を読み込む。記録可能ドット数の初期値はあらかじめプリンタ内のインク残量フラグが1になってから記録不可能になるまでの想定ドット数をプリンタ内部のカウント値にセットしてある。次にステップS1203へ進み、記録画像のドット数(D)を計数する。次にステップS1104へ進み、D≦Countの場合にはステップS1205で画像データ(記録情報)の処理を続行する。
【0120】
D>Countの場合には画像記録途中にインクが無くなるため、ステップS1210へ進み、記録情報生成処理を一時停止する。次に、ステップS1211でメッセージ3’を表示する。メッセージ3’は図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり、実行中の画像は途中で印字できなくなるメッセージ文および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図12のステップS1212でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すと図11のステップS1212でインクカートリッジは交換されず、ステップS1213で強制解除が指示されたものと判断し、ステップS1214で記録情報生成処理が再開され、ステップS1205へ進む。この場合には、記録情報生成処理を中止しない。
【0121】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図10のステップS1002で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図17のステータスウインドウのメッセージを再度表示するため、図12のステップS1211へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク残量フラグをリセットし、ステップ307で記録情報生成処理が再開され図12のステップS1205へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0122】
図12のステップS1207で全画像データ(記録情報)が出力されたと判断されるまで上記、図10のステップS1003、ステップS1004、図12のステップS1201の各フラグ状態の判別処理が繰り返される。ステップS1207で全画像データ(記録情報)が出力されるとステップS1208へ進み、プリンタの記録可能ドット数に関するステータスを変更する。次にステップS1209へ進み、プログラム終了が指示されなければ図10のステップS1002で次の記録情報生成処理開始指示の待機状態となる。
【0123】
本実施例においても、プリンタのインクカートリッジ有無、インク無し、インク残量の状態がホストコンピュータ上で認識できるため、プリンタ装置とホストコンピュータが離れた場所にある場合、ネットワーク等でプリンタ装置を共有している場合に対応が容易となる。
【0124】
また、本実施例によれば先の実施例と同様に、インク残量が残りわずかである場合に、想定した記録可能ドット数と記録画像のドット数を比較し、記録情報生成処理可能の可否を判断するため、確実な画像記録が可能となる。さらに、画像記録終了後に記録したドット数から新たな記録可能ドット数を算出し、再度プリンタのステータスに書き込むため、プリンタ内部で記録ドット数を計数できない装置に対しても有効である。
【0125】
(実施例7)
図3、図13、図14に本実施例における処理のフローチャートを示す。
【0126】
まずプログラムがスタートすると図13のステップS1301でインク残量表示フラグをリセットする。次に、ステップS1302でプリンタのステータス情報の受信を開始する。ステップS1303で記録情報生成処理開始する指示を受けると、ステップS1304へ進む。ステップS1304ではインクカートリッジ有無フラグを判別する。インクカートリッジ有無フラグが0すなわちプリンタにインクカートリッジが装着されている場合にはステップS1305へ進む。ステップS1305でインク無しフラグを判別する。インク無しフラグが0すなわちインクカートリッジにインクが有る場合には、図14のステップS1401へ進む。ステップS1401ではインク残量フラグを判別する。インク残量フラグが0すなわちインク残量が十分である場合には、ステップS1402へ進む。ステップS1202では画像をプリンタで記録印字するためのデータに変換する記録情報生成処理をバンドサイズ毎に行い、ステップS1203でプリンタへ記録情報をバンドサイズ毎に出力する。
【0127】
図13のステップS1304でインクカートリッジ有無フラグが1すなわちインクカートリッジが装着されていない場合にはステップS1306へ進み、記録情報生成処理を一時停止する。ステップS1307でメッセージ1を表示する。メッセージ1は先の実施例1で述べた図15に示すようなステータスウインドウ画面で表示される。図15のステータスウインドウ画面はインクカートリッジが装着されていないこと、および装着されていないインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図15のステータスウインドウのャbセージに従って、インクカートリッジを装着し、実行ボタンを押すと、図13のステップS1308でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図15のステータスウインドウの中止ボタンを押すと図13のステップS1308でインクカートリッジは交換されず、ステップS1309で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS1303で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0128】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタで記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図13のステップS1303で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図15のステータスウインドウのメッセージを再度表示させるため、図13のステップS1307へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインクカートリッジ無しフラグをリセットし、図3のステップS307で記録情報生成処理が再開され、図13のステップS1305へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0129】
図13のステップS1305でインク無しフラグが1すなわちインクカートリッジにインクがない場合にはステップS1310へ進み、記録情報生成処理を一時停止する。ステップS1311でメッセージ2を表示する。メッセージ2は先の実施例1で述べた図16に示すようなステータスウインドウ画面で表示される。図16のステータスウインドウ画面はインクカートリッジにインクが無いこと、および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図16のステータスウインドウのメッセージに従って、インクカートリッジを交換し、実行ボタンを押すと、図13のステップS1312でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図16のステータスウインドウの中止ボタンを押すと図13のステップS1312でインクカートリッジは交換されず、ステップS1313で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、ステップS1303で記録情報生成処理開始が再度指示されるまで待機状態となる。
【0130】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図13のステップS1302で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図16のステータスウインドウのメッセージを再度表示させるため、図13のステップS1311へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク無しフラグをリセットし、ステップS307で記録情報生成処理を再開し、図14のステップS1401へ進む。図3のステップS306のフラグリセットはプリンタ本体で検知リセットさせても良い。
【0131】
図14のステップS1201でインク残量フラグが1すなわちインクカートリッジのインク残量が残りわずかの場合にはステップS1407へ進み、インク残量表示フラグを1に変更し、ステップS1402へ進む。
【0132】
ステップS1304で全画像データ(記録情報)が出力されたと判断されるまで上記、図13のステップS1304、ステップS1305、図14のステップS1401の各フラグ状態の判別処理が繰り返される。ステップS1404で全画像データ(記録情報)が出力されるとステップS1405へ進み、インク残量表示フラグを判別する。インク残量表示フラグが0すなわちインクカートリッジにインクが十分にある場合にはステップS1302へ進む。ステップS1302でプログラム終了が指示されなければ図13のステップS1303で次の記録情報生成処理開始指示の待機状態となる。
【0133】
ステップS1405でインク残量表示フラグが1すなわちインクカートリッジのインク残量が残りわずかの場合には、ステップS1408へ進み、記録情報生成処理を一時停止する。次に、ステップS1409でメッセージ3を表示する。メッセージ3は先の実施例1でのべた図17に示すようなステータスウインドウ画面で表示される。図17のステータスウインドウ画面はインクカートリッジのインクが残りわずかであり、画像によっては途中で印字できなくなる可能性があるメッセージ文および対応するインク色の表示と、実行ボタンおよび中止ボタンからなる。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。図17のステータスウインドウのメッセージに従って、新しいインクカートリッジに交換し、実行ボタンを押すと、図14のステップS1410でインクカートリッジが交換されたと判断して、図3のステップS301へ進む。図17のステータスウインドウの中止ボタンを押すと図14のステップS1410でインクカートリッジは交換されず、ステップS1411で強制解除が指示されたものと判断し、ステップS1412で記録情報生成処理が再開され、ステップS1406へ進む。
【0134】
図3のステップS301へ進んだ場合には、メッセージ4を表示する。メッセージ4は先の実施例1で述べた図19に示すようなステータスウインドウ画面で表示される。図19のステータスウインドウ画面ではプリンタが記録ヘッドのクリーニングを実行することのメッセージと実行および中止ボタンが表示される。各ボタンはホストコンピュータのマウスやキーボード等の入力手段により選択機能実行される。中止ボタンを押すと、図3のステップS302で強制解除が指示されたものと判断し、記録情報生成処理がすべて中止され、図13のステップS1302で記録情報生成処理開始が再度指示されるまで待機状態となる。ここで、図3のステップS302で強制解除が指示されたものと判断した場合、図17のステータスウインドウのメッセージを再度表示させるため、図14のステップS1409へ戻るようにしても良い。図19のステータスウインドウの実行ボタンを押すと図3のステップS303で実行指示を受けて、ステップS304でプリンタに対してクリーニング実行コマンドを出力する。プリンタはこのクリーニング実行コマンドをうけてクリーニング動作を開始するするとともにクリーニング実行フラグを1とする。プリンタはクリーニング動作を終了すると直ちにクリーニング実行フラグを0とする。ステップS305でクリーニング終了のステータスすなわちクリーニング実行フラグ=0を受信すると、対応色のインク残量表示フラグをリセットし、ステップ307で記録情報生成処理が再開され図14のステップS1406へ進む。図3のステップS306のフラグリセットはプリンタ本体で自己検知リセットさせても良い。
【0135】
本実施例においても、プリンタのインクカートリッジ有無、インク無し、インク残量の状態がホストコンピュータ上で認識できるため、プリンタ装置とホストコンピュータが離れた場所にある場合、ネットワーク等でプリンタ装置を共有している場合に対応が容易となる。
【0136】
また、本実施例によれば、インク残量が残りわずかである場合の記録動作の停止およびメッセージ表示を画像記録終了後に行うため、記録可能時の不用意な停止を防止できる。
【0137】
以上本実施例1によれば、プリンタ装置101のインクカ−トリッイジ有無、インク無し、インク残量の状態(プリンタ装置101のインクイ関連ステ−タス情報)をホストコンピュ−タ110のプリンタドライバ114を用いて不図示のCPUが検知し、ホストコンピュ−タのCRT等のディスプレイ上に対応したャbセ−ジ(ステ−タスウィンドウ)を表示することができる。従って、プリンタ装置101とホストコンピュ−タ110が離れた場所にある場合やネットワ−ク等でプリンタ装置101を共有している場合にユザ−インタ−フェ−ス(操作性)を向上させることができる。
【0138】
また、以上本実施例2によれば、記録する記録情報の使用色を解析し、使用するインク色のみのインク有無フラグ、インク無し、インク残量フラグのステ−タスを検知し、実施例1と同様に対応メッセ−ジを表示することができる。
【0139】
従って、記録装置で記録する記録情報がブラックしか使用しない場合にはブラックのステ−タス情報のみ検知し、他の色のステ−タス情報を無視することで、ステ−タス情報検知のための不要な割り込み処理による処理効率(例えば、記録情報生成処理の効率)の低下を防止することができる。また、使用しないインク色のステ−タスによる不用意な記録動作停止を防止することができる。
【0140】
また、以上実施例3によれば、指定カラ−モ−ド(モノクロ印字モ−ド、カラ−印字モ−ド)に応じて、インク有無フラグ、インク無しフラグ、インク残量フラグのステ−タスを検知し、実施例1と同様に対応メッセ−ジを表示することができる。例えば、モノクロモ−ド印字モ−ドの場合にはブラックインクのステ−タスのみを、カラ−印字モ−ドの場合には全色のインクのステ−タスを不図示のCPUが検知する。なお、カラ−モ−ドの選択切り換え指定は、ホストコンピュ−タ上での切り換えでもプリンタ装置の操作パネル上で切り換え操作でも良い。プリンタ装置の操作パネル上で切り換えた場合にはカラ−モ−ドのステ−タス情報をプリンタドライバを用いて不図示のCPUが検知する。
【0141】
従って、ステ−タス情報検知のための不要な割り込み処理による処理(例えば、記録情報生成処理)の停止を防止できる。ここで不用意な記録情報生成処理の停止とは、例えば、モノクロモ−ドの場合に使用していないシアンインクのステ−タス情報により記録情報生成処理の停止或は使用していないインクカ−トリッジの交換命令による記録情報生成処理の停止である。
【0142】
また、以上実施例4によれば、例えばモノクロモ−ドの場合にインク残量が残りわずかである時に代替色印字を可能にするメッセ−ジを表示することができる。例えば、ブラックインクが残りわずかである場合に、代替色印字指定でシアンインクに置き換えて記録させることができる。
【0143】
従って、早急に記録情報の印字が必要である場合にインクカ−トリッジを交換しなくても確実に記録させることができる。
【0144】
また、以上実施例5によれば、記録情報のドット数(D)を計数し(例えば、ペ−ジ単位或はバンドサイズ単位に計数し)、予め記録装置で記録可能なドット数(Count)と比較し、記録可能なら記録を続行することができる。
【0145】
また、以上実施例6によれば、プリンタドライバを介して不図示のCPUが、記録装置の記録可能ドット数を更新できる。
【0146】
また、以上実施例7によれば、インク残量が残りわずかであるメッセ−ジを記録情報出力後に表示することができる。
【0147】
(インク残量検知機能の構成)
次に、本発明に適用可能なインク残量検知機能の一例を、図22〜図33を参照して説明する。
【0148】
インクジェット方式を用いた記録装置においては、記録時に記録ヘッドから吐出されるインク量に見合ったインクを良好に供給することができるとともに、非記録時は、吐出口からのインク漏れなどがないインク供給系が要求される。
【0149】
そのため、インク供給系に負圧発生機構を設け、吐出口部における圧力を大気圧よりも低い状態とする構成が知られている。ここでいう負圧とは、吐出口部へのインク供給方向に対する背圧で、特に上述のように吐出口部を大気圧よりも低くする圧力状態を意味する。
【0150】
インク供給系に設ける負圧発生機構として、インク収容部としてのインク容器の一形態が、特開昭63−87242号公報に開示されている。この従来例には、インク容器内のほぼ全体に発泡材が配置され、複数のインク射出オリフィスを備えたインクジェット記録カートリッジの構成が示されている。このカートリッジの構成においては、発泡材であるポリウレタンフォームのような多孔質媒体にインクを貯蔵するためのフォームの毛細管力による負圧の発生およびインクの保持(インク容器からのインク漏れ防止)が可能である。
【0151】
また、インク貯留手段内に負圧発生部材として発泡材を配置した構成において、インクの使用効率を高くし、インク充填量を大きくする技術として、特開平6−40043号が提案されている。本出願によれば、負圧発生部材収容部とインクを収容するインク収容部を分けたインク貯蔵容器を使用することにより、インク収容部内の壁面に付着するインク以外はほぼ全て使用することができ、安定したインク供給性能の維持とインク貯蔵容器の大容量化が達成される。
【0152】
以下説明するインク残量検知の構成は、吸収体、発泡材等の負圧発生部材を内蔵するインクタンクを用いるインクジェット記録装置において、高精度でかつ所望のインク残量で検知するインク残量検知機能を実現するものであり、インクタンクの壁面の一部を通して該壁面と該インク吸収体との境界部の光反射率の変化に基づいてインクの残量検知を行うものである。
【0153】
図25は、複数の異なる色のインクを吐出可能に構成したカラーインクジェット記録装置の概略斜視図である。複数のそれぞれ異なる色のインクは、それぞれ対応するインクタンクに収容されてキャリッジ上に搭載される。従って、インクタンク(不図示)に収容されているインクはカラープリンターで通常使用される黒、シアン、マゼンタ、イエローの4色である。
【0154】
図25において、8は各種構成部品が取付けられたシャーシである。また、9は当該装置の長手方向に設けられ、記録紙(不図示)を搬送するための紙送りローラであり、10は紙送りローラ9と並列に設けられ、上記記録紙を紙送りローラ9に押圧するためのピンチローラである。2は、紙送りローラ9に対向し、かつ平行に設けられたガイドシャフト、11はガイドシャフト2に対向し、かつ平行に設けられた磁気式リニアエンコーダのスケール部である。
【0155】
また、1はガイドシャフト2に沿って移動するキャリッジである。12はインクジェットヘッド(不図示)をキャリッジ1に固定するためのヘッドカバー、13はフレキシブル基板であり、これにより装置制御部からキャリッジ1に搭載されるインクジェットヘッドに記録データ信号を送り、またキャリッジ1に設けられた磁気式リニアエンコーダのセンサ(不図示)からの出力信号を装置制御部へ送ることができる。
【0156】
3はガイドシャフト2と平行に設けられ、ガイドシャフト2を中心に回動可能に設けられているキャリッジ1の姿勢を維持するサポートシャフトであり、14はキャリッジ1をガイドシャフト2に沿って走査させるためのキャリッジモータ、15はキャリッジモータ14の駆動力をキャリッジ1に伝達するためのタイミングベルトである。尚、16はキャリッジ1の走査における基準位置を設定するためにキャリッジ1の走査領域内に設けられた透過型フォトインタラプタである。
【0157】
17はインクジェットヘッドの吐出不良を防止またはそれらの回復動作に用いられる吸引キャップであり、18はインクジェットヘッドが待機中に、インクジェットヘッドの吐出口(以下、ノズルともいう)内の乾燥を防ぐための保護キャップである。5は前記キャリッジ1上に設けられ、前記記録紙の厚さに応じて前記記録紙とインクジェットヘッドとのクリアランスを切換えるための紙ポジション切換えレバー、6は前記キャリッジ1のホームポジション近傍に設けられたインクセンサとしての反射型フォトインタラプタ、19は前記インクジェットヘッドのノズル部の目詰りを防止するため、印字に先立って予備吐出を行う際にインク滴を受けとめるための予備吐出孔である。
【0158】
図22は、キャリッジ1の側面図、図23は図22においてインクタンクを装着した状態を示す図、また、図24は図22に示すキャリッジを図22の矢印Aの方向から見た状態を示す図である。
【0159】
図22、図23および図24を用いて本図を用いてキャリッジ1とフォトインタラプタ6の位置関係およびフォトインタラプタ6による検出の原理を説明する。
【0160】
図22、図23および図24において、1bはキャリッジ1の底部に設けられ、前記フォトインタラプタ6からの光を透過させるための穴である。
【0161】
図23において、21はその先端のノズル22からインクを吐出して印字を行うための印字ヘッドである。7は前記キャリッジ1上に搭載されたインクタンク、7aはインクタンク内に設けられた負圧発生部材としての吸収体、7bはインクタンク内の吸収体とインクタンクの外壁との境界部、7cはインクタンク内でインクを他の部材と混入せずにそのままの状態(以下、生インクともいう)で収納するインク収納部(以下、生インク収納部ともいう)、7dはインクタンク内の生インクとインクタンク外壁との境界部である。生インク収納部は、実質的に密閉状態でインクを収納し、しきい壁7gの下部つまりインクタンク底部の隙間部7fからインク吸収体7aが収容される室内へインクの供給を行う。インクタンク7の材質は透明プラスチック等のフォトインタラプタ6の検出光に対して透過性のものである。また、28はインクの消費に伴う気液交換を行うための大気連通口である。印字ヘッドへのインクの供給は供給口を介して行われる。
【0162】
また、インクタンク7には、インク吸収体7aが収納される負圧発生部材収容部と前述の生インク収納部との隔壁であるしきい壁7gの一部に大気導入溝7hと負圧発生部材調整室7iとが形成されている。大気導入溝7hは、しきい壁7gの中間部分からしきい壁7gの端部、即ちインクカートリッジの底部との隙間7fまで負圧発生部材収容部側に形成されている。そしてこの大気導入溝7hの近辺に接するインク吸収体7aとの間に、えぐられたような形状の負圧発生部材調整室7iが形成されている。
【0163】
インク吸収体7aのインクが消費されるとインク吸収体7aにおける大気と液体の界面(気液界面)が下降し、大気が生インク収納部内に導入され、インク吸収体7aへインクが供給される。いわゆる気液交換が行われる。
【0164】
前記気液界面におけるメニスカス位置によりインク吸収体7a内の負圧が調整され、インクが記録ヘッドから漏れることなくインクの供給を行うことができる。
【0165】
ヘッド21とインクタンク7は一体となってキャリッジ1に搭載され、シャフト2、3をスライドして本図面垂直方向に走査される。
【0166】
図26はフォトインタラプタ6の装着された基板の平面図であり、6cは発光部、6dは受光部を示す。また、図22において、6aは発光部6cにより発せられた光6bが反射して戻ってくる光路(以下、戻り光路ともいう)を示しており、図26に示す受光部6dにより受光される。この光路は図22の様に図22の紙面内を反射面としても良いし、図22の紙面の垂直面を反射面としても良い。但し、前述の紙ポジション切換えレバー5の操作によってキャリッジ1の姿勢が大きく変わる場合は、図22の紙面垂直方向を反射面とする方が、姿勢差の影響を受けにくくなる。また図22ではこの光路は図面を煩雑にしないために単なる直線で描かれているが、実際はある程度ひろがりをもった光束である。
【0167】
フォトインタラプタ6はインクタンク7内の吸収体7aのやや生インク収納部7c寄りに検出光を照射するように設置されている。この位置は後述するように検知する時点での印字可能残枚数に影響する。また、フォトインタラプタ6の高さ方向の位置に関しては、フォトインタラプタ6の焦点位置近傍にインクタンク7の壁面と吸収体7aの境界7bがくるように配置するのが望ましい。フォトインタラプタ6の焦点位置から外れてくると、検出光のひろがりが大きくなり、キャリッジ1の穴1bの縁部等で反射・散乱される光のため検出のS/Nを下げてしまうことになる。
【0168】
フォトインタラプタ6は、前述の如く、光源の発光素子6cであるLEDと受光素子6dが一体となったものである。このLEDは前記の4色のインクのいずれにも透過性を有する赤外光のもので、受光素子6dもLEDの波長に対して十分な感度を有するものである。
【0169】
フォトインタラプタ6はキャリッジ1とは別体に設置され、キャリッジ1に開けられた穴1bと透明なインクタンク7の壁7bを通して吸収体7cの底面に赤外光を照射し、反射してきた光を受光素子6dにより検出する。このように検出系であるフォトインタラプタ6をキャリッジから離して別体に設置することは、記録装置本体から可動部分であるキャリッジへの給電線や信号線などがその分不要になり、構成の簡潔化を達成して低廉化を図ることができる。
【0170】
図28はインクタンク7にインクが十分にあるときの吸収体7aの下面のフォトインタラプタ6のフォトインタラプタが光照射している近傍の拡大図、図29は同じ位置でインクが無くなったときの拡大図である。また図30は残インク量に応じたフォトインタラプタ6の受光部6dの出力変化を示すグラフである。
【0171】
次に本インク残量検出の原理を説明する。
【0172】
一般に異なる屈折率どうしの媒質1、2の境界面における光の振幅反射率を示すフレネルの公式は、
【外1】

Figure 0003581700
となる。
ここでn1:媒質1の屈折率
n2:媒質2の屈折率
θ1:媒質1中の光線が法線となす角
θ2:媒質2中の光線が法線となす角
(この4者にはn1・sinθ1=n2・sinθ2の関係がある。)
【0173】
フォトインタラプタ6の発光部6cからの光は、インクタンク7に垂直に近い角度で入射しているとするとcosθ=1とみなすことができ、上記の振幅反射率に代えてエネルギー反射率で記述するために自乗すると、
【外2】
Figure 0003581700
となる。
【0174】
まず、インクタンク7にインクが十分にあるとき図28のようにインクタンク7の壁面と吸収体7aの隙間はインクで充填されている。インクタンク7と吸収体7aはプラスチックで屈折率は約1.5、インクは屈折率約1.4なのでインクタンク7の内壁や吸収体7aの表面での反射率は上式から約0.1%しかない。
【0175】
次にインク消費に伴って、図28における大気連通口8を通じて、図29のようにインクタンク7の壁面と吸収体7aの隙間には空気がはいりこんでくる。インクが無くなった状態でのタンク内壁や吸収体表面での反射率は約4%ある。すなわちインクが無くなると反射光量は約40倍に増大する。(但し、実際にはインクタンク7の外側底面からの反射光など境界部7cの反射光以外の光や電気ノイズの影響でそこまでの出力差としては検出されない場合がある。)
ここで、フォトインタラプタ6でインクタンク7と生インク収納部7cとの境界部7dにおいて検出を行っても反射率の差は生ずるが、その場合と比べてみると反射要素の数として以下の様な差がある。
【0176】
【表1】
Figure 0003581700
【0177】
このように吸収体部で検出を行った方が反射要素の数が3倍も多く、それだけ反射光量自体が大きくなり、前述のようなノイズに強い検出ができる。
【0178】
また図29に示すように、吸収体7aとインクタンク7との間に入り込んだ空気は吸収体7aを通過するうち微細な多数の気泡となって存在することが多く、これらの光散乱効果も加わって反射光量はさらに増加する。
【0179】
これらの反射率は上述のようにcosθ=1の場合の値であるが、それ以外の場合でもインク有る場合と無い場合では同様にかなりの反射率差がある。いずれの場合も反射率差に応じてフォトインタラプタ6の受光部6dに大きな出力差が生じるので、この出力差によってインクタンク7内のインクの有無を検知することができる。
【0180】
実際には、フォトインタラプタ6が光を照射している領域はその焦点位置においても点では無く、ある所定の大きさをもっており、その領域からインクが徐々に抜けていくにつれてフォトインタラプタ6の出力は連続的に変化していくことになる。
【0181】
図30において横軸はインクがなくなって不吐になるまでの印字可能残枚数、縦軸はフォトインタラプタ6の出力である。この出力変化カーブに基き、所定のしきい値レベルを越えたとき(図30においては残り約15枚印字可能な残量をしきい値としている)に、インクタンク7内のインク量が残り少なくなったと判断する。そして、インクジェット印字装置本体の表示パネル上で警告表示用LED等を点灯させることによりインク残量が少なくなったということをユーザーに知らせることができる。
【0182】
インク残量が低下してことを表示させるときの残枚数は、しきい値レベルを変更することで、増減できる。ただし、図30からわかるように出力が立ち上がるときの枚数(図30においては残り約30枚)以前で表示させることは困難である。これに対しては、フォトインタラプタ6が検出を行う位置を変えることによって出力が立ち上がるときの印字可能枚数を変更することができる。このようにして、所望の残枚数で警告を発することができる。
【0183】
あるいは、確実に印字不良を出さないようにするためには、警告を行う代わりに、または警告と同時に印字動作を停止させても良い。この場合は一旦停止してしまうことで、より強い警告になるという効果がある。
【0184】
以上詳述したように、負圧発生部材として吸収体7aを配置したインクタンク7に対して、発光部6cより発せられた光の反射光を受光部6dにより検出し、その出力レベルにより、インクタンク7内のインクの残量が所定量より少なくなったことを検出することができる。
【0185】
このとき、吸収体7aはインクタンク7から供給されるインクの負圧をコントロールする負圧コントロール部材としての働きと、発光部6cにより発せられた光の反射光量をコントロールする反射コントロール部材としての働きをし、吸収体7aが配置されたインクタンク内のインクの残量の低下を正確に検出することができる。
【0186】
また図25に示したインクジェット記録装置は、複数のカラーそれぞれに対応したインクを吐出可能に構成されるいわゆるカラーインクジェット記録装置である。インクタンク7は、図33に示すように、カラーの4色に対応して4個横並びになってキャリッジ上に搭載されている。従って、キャリッジ1を移動することによって各色のインクタンクを順次フォトインタラプタ6に対向させ、それぞれのインクタンクのインク残量の検知を行う。各色における出力変化を個別に追跡する必要があるので、それに対応するメモリ手段を持つ。この場合インク残量が少なくなったという表示は4色個別に行うのが望ましいが、インクジェット記録装置本体の表示パネルが煩雑になる等の理由で簡易的にどれか1色が少なくなったというのみの表示を行う場合もある。
【0187】
以上のような構成によれば、カラーインクジェット記録装置のインク吸収体を内蔵したインクタンクに対して、1つの検出系で4色のインクタンクそれぞれのインク残量が精度良く検出できる。
【0188】
上述した説明の例ではインクタンク7の底面から検出を行っている。しかしながら、本発明はインクタンク7の底面から検出を行う構成に限らず、側面や上面から検出を行ってもかまわない。
【0189】
しかし、以下の理由から、インクタンク7の底面から検出を行う方が望ましい。
【0190】
吸収体7aは通常その密度の分布が均一では無く、インクが無くなっていくときにスポット的にインクが抜けていく。したがって、周囲にまだインクが残っていてもフォトインタラプタ6がたまたま検知しているところだけが先にインクが無くなったり、その逆のことがあったりして同一出力レベルでもその時点での残印字可能枚数にばらつきが生じ、最悪の場合、警告がされないままインクが無くなってしまうということもあり得る。
【0191】
ところがインクタンク7の底面は重力の作用でインクがたまりやすくなっているので、吸収体7aの密度の分布の影響は軽減される。したがって、インクタンク7の底面からの検出を行うことによって、精度の高いインク残量検出が可能になる。
【0192】
また、図31は、吸収体7aの密度の不均一性への対処を行い、より精度の高いインク残量の検出を行うため、図31に示すようにフォトインタラプタを2箇所に設け、その計測値の平均値を用いて、インク残量が低下したことを検出するよう構成したものである。
【0193】
図31において、図28と同様の構成については同じ符号を付している。6’は第2のインクセンサとして配置されるフォトインタラプタであり、フォトインタラプタ6と同じものである。(ここで、フォトインタラプタ6を説明の便宜上第1のフォトインタラプタともいうこととする。)
図31に示す構成においては、第1のフォトインタラプタ6と第2のフォトインタラプタ6’の出力の平均値を用いてインク残量が低下したことを検知する。この平均値は単純平均でも重み付け平均でも構わない。第2のフォトインタラプタ6’の方が第1のフォトインタラプタ6よりも供給口24に近いので、印字可能残枚数がより少なくなってから出力変化が起きる。したがって、検知したい残枚数によって、どちらをより重み付けするかが決まる。
【0194】
このように複数点にインクの残量検出用のセンサを設け、複数の検出点の計測値の平均値を用いることによって、吸収体7aの密度が不均一であってもその影響が軽減でき、高精度の残量検出を行うことができる。
【0195】
同じく吸収体7aの密度の不均一性の影響による検出値のばらつきを低減する手段としては、フォトインタラプタ6とキャリッジ1とを相対的に移動可能とし、インクタンク7の複数の検出点の計測値の平均値を用いるインク残量検出を行う方法も考えられる。この場合、フォトインタラプタ6を移動可能とする構成や、フォトインタラプタ6は固定した状態でキャリッジ1を移動させながら複数点を計測する構成のいずれであっても構わない。
【0196】
また、上述のインク残量検出の構成では、フォトインタラプタ6の出力が所定のしきい値を越えた場合に警告や印字動作の停止を行っているが、これに限らず、センサの出力がしきい値を越えた場合に警告や印字動作の停止を行わず、フォトインタラプタ6の出力に対応した表示、すなわちフォトインタラプタ6の出力に比例あるいは単調変化する表示を行うものであってもよい。
【0197】
図30から明らかなように、インクタンク7内の残インク量が少なくなるとフォトインタラプタ6の出力は連続的に変化していく。したがって、この出力変化に対応した残量表示を行うことにより、印字可能残枚数にほぼ対応した表示を連続的に行うことができる。こうすることによって、より詳細なインク残量情報をユーザーに与えることができる。
【0198】
図32は、インクタンク7内のインクの残量を表示パネルに表示する例を示している。表示パネル内の表示は、図32に示すように印字可能残枚数に対応して、デジタルメータのレベルが変化するものや、他に印字可能残枚数を数字で表示するものであっても良い。また、表示パネルとしては、液晶を用いたものをはじめ、一般的に使用される表示機器を使用すればよい。また、視認される表示手段に限らず、音声による印字可能残枚数の案内や、印字可能残枚数に応じてブザー音の長さ、回数を異ならせる方法によってもよい。
【0199】
以上の構成により、フォトインタラプタ6の出力に応じて詳細なインク残量情報をユーザに知らせることが可能となり、ユーザーはインクタンクの交換等のャ塔eナンスを適切な時期に行うことができる。
【0200】
また、図23に示した例では、インクタンク7は吸収体部7aと生インク収納部7cとを合わせ持つものであったが、この構成に限らず、図27に示すようにインクタンク7の内部全域にわたって吸収体7aを配置した構成のインクタンクにも適用されるものである。
【0201】
図27に示す構成において、インクは吸収体7aより供給口24、印字ヘッド21内の流路30を順次流れた後、吐出手段としてノズル22に設けられる発熱手段(以下、ヒーターともいう)31により熱エネルギーを付与され、急激な熱エネルギーの付与によりインクが発泡してノズル22の先端の吐出口から吐出する。このようにして吐出されたインクが紙などの媒体に付着することによって印字が行われる。
【0202】
また、インクタンク7が無いときはフォトインタラプタ6の反射光が無くなるので、前述のインクが十分ある時の出力レベルに比べてはるかに低いレベルの出力となる。このことから、フォトインタラプタ6を用い、インクタンク7が搭載されているときと搭載されていないときとの検出レベル差からインクタンク7の有無をも検出することができる。
【0203】
特に、図25に示すようなカラーインクジェット記録装置においては、各色のインクタンクの有無を個別に検出することができ、インクタンクが搭載されていないにもかかわらず記録が行われるといった問題を解決することができる。また、インクタンクの有無を検出するための特別な構成を設けることなくインクタンクの有無が検出でき、コストを高くすることなく簡単な構成でインクタンクのインク残量検出およびインクタンクの有無を検出することができる。
【0204】
以上説明したように、インクタンクの壁面の一部を通して該壁面とインク吸収体との境界部の光反射率の変化を検出する手段を具備し、その部分にインクが有るときと無いときの反射率差からインクの残量検知を行うことによって、吸収体を内蔵するインクタンクにおいても、高精度でかつ所望のインク残量に達したことを検出するインク残量検知機能を実現することができる。
【0205】
【発明の効果】
以上説明した様に本発明によれば、記録装置のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、インクカ−トリッジの交換或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させることができるという効果を奏する。
【0206】
以上説明した様に本発明によれば、記録装置で使用するインク色を解析し、解析した使用するインク色のインクカ−トリッジの残量を示す残量情報を記録装置から取得し、残量情報の取得に応じて、使用するインク色のインクカ−トリッジの交換或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させることができるという効果を奏する。
【0207】
以上説明した様に本発明によれば、記録装置の記録モ−ドがモノクロモ−ドかカラ−モ−ドかを判断し、該判断結果に基づいて使用するインク色のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、使用するインク色のインクカ−トリッジの交換或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させることができるという効果を奏する。
【0208】
以上説明した様に本発明によれば、記録装置のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、インクカ−トリッジの交換或は前記インクカ−トリッジ内のインク色とは異なる他の代替色の指定をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させることができるという効果を奏する。
【0209】
以上説明した様に本発明によれば、記録装置のインクカ−トリッジの残量を示す残量情報を取得し、残量情報の取得に応じて、インクカ−トリッジ内のインク色とは異なる他の代替色の指定或は情報処理装置での処理続行をユ−ザ−に選択させるためのメッセ−ジを表示手段に表示させることができるという効果を奏する。
【0210】
以上説明した様に本発明によれば、前記録装置で記録可能なドット数と前記ドットイメ−ジ情報のドット数を比較し、比較結果に応じて、ドットイメ−ジ情報の生成処理を制御することができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施例におけるプリンタ制御システムを示す構成図である。
【図2】本発明の一実施例における制御内容を示すフローチャートである。
【図3】本発明の一実施例におけるインクカートリッジ交換時の制御内容を示すフローチャートである。
【図4】本発明の実施例における記録画像の使用色を判別し、制御を行う場合の制御内容を示すフローチャートである。
【図5】本発明の実施例におけるカラーモードを判別し、制御を行う場合の制御内容を示すフローチャートである。
【図6】本発明の実施例におけるカラーモードを判別し、制御を行う場合のカラーモード時の制御内容を示すフローチャートである。
【図7】本発明の実施例におけるカラーモードを判別し、制御を行う場合のインク残量を検知する制御内容を示すフローチャートである。
【図8】本発明の別の実施例におけるカラーモードを判別し、制御を行う場合のインク残量を検知する制御内容を示すフローチャートである。
【図9】本発明の実施例における代替色を利用する場合の制御内容を示すフローチャートである。
【図10】本発明の別の実施例における制御内容を示すフローチャートである。
【図11】本発明の実施例における記録画像のドット数に応じて制御を行う場合の内容を示すフローチャートである。
【図12】本発明の別の実施例における記録画像のドット数に応じて制御を行う場合の内容を示すフローチャートである。
【図13】本発明の更に別の実施例における制御内容を示すフローチャートである。
【図14】本発明の実施例におけるインク残量表示を画像データ(記録情報)出力終了後に表示する制御内容を示すフローチャートである。
【図15】インクカートリッジ無しを表示するステータスウインドウでのメッセ−ジ1を示す図である。
【図16】インク無しを表示するステータスウインドウでのメッセ−ジ2を示す図である。
【図17】インク残量警告を示すステータスウインドウでのメッセ−ジ3と3’を示す図である。
【図18】インク残量警告および代替色を利用可能とするステータスウインドウでのメッセ−ジ33を示す図である。
【図19】クリーニング実行を示すステータスウインドウでのメッセ−ジ4を示す図である。
【図20】代替色を選択するステータスウインドウでのメッセ−ジ5を示す図である。
【図21】代替色指定した色が使用できないことを知らせるステータスウインドウでのメッセ−ジ6を示す図である。
【図22】キャリッジ側面図である。
【図23】タンク装着状態を示すキャリッジ側面図である。
【図24】キャリッジを底部側から見た概略図である。
【図25】インクジェットプリンタの装置全体概略図である。
【図26】本発明に適用可能なインクセンサの構成を示す図である。
【図27】キャリッジおよびインクセンサの構成を示す図である。
【図28】インク残量検出の原理を説明する図である。
【図29】インク残量検出の原理を説明する図である。
【図30】フォトインタラプタの出力を説明する図である。
【図31】インクセンサの構成を示す図である。
【図32】インク残量検出結果の表示を示す図である。
【図33】複数のインクタンクを搭載したキャリッジを示す図である。
【符号の説明】
101 プリンタ装置
102 コントローラ
103 操作パネル
104 印字ヘッド
105 キャリッジモータ
106 紙送りモータ
107 メモリー
108 インクセンサ
109 内蔵フォント
110 ホストコンピュータ
111 OSシステム
112 フォントラスタライザ
113 アプリケーションソフトウエア
114 プリンタドライバ
115 ステータスウインドウ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an information processing apparatus such as a host computer for controlling a recording apparatus such as an ink jet recording apparatus which supplies ink to a recording head from an ink tank and causes ink droplets to fly from nozzles of the recording head to perform recording. The present invention relates to an information processing method in the device.
[0002]
[Prior art]
The function of detecting the remaining amount of ink in the ink jet recording apparatus has an effect of preventing a printing failure due to printing without ink. This is to detect the amount of ink in the ink tank and display the remaining amount, or to issue a warning or stop the printing operation when the remaining amount is low.
[0003]
Various methods have been proposed or implemented for detecting the remaining amount of ink in the ink tank.
[0004]
First, there is a method of providing some kind of sensor in the ink sensor and directly measuring the remaining amount of ink. For this, two electrodes in contact with the ink are provided in the ink tank, and a method of detecting a change in the resistance value between the electrodes according to the remaining amount of the ink, a method of making light incident on the ink in the ink tank, and the like. Since light is absorbed when there is ink and light is transmitted when there is no ink, there is a method of detecting this with a photodetector and detecting the presence or absence of ink. These systems are hereinafter referred to as “sensor system”.
[0005]
As another method, the number of ink droplets ejected from recording dots is counted, and the number of ink droplets that can be ejected from one ink tank, that is, the number of recording dots, is estimated in advance. There is a method of estimating it. This method is hereinafter referred to as “dot counting method”.
[0006]
[Problems to be solved by the invention]
The host computer that controls the printing apparatus as described above cannot grasp the state of the remaining ink amount of the printing apparatus and cannot visually notify the user of the state.
[0007]
SUMMARY OF THE INVENTION In order to solve such a problem, an object of the present invention is to acquire remaining amount information indicating the remaining amount of an ink cartridge of a printing apparatus, and to exchange ink cartridges or perform information processing according to the acquisition of the remaining amount information. An object of the present invention is to provide an information processing apparatus and an information processing method for displaying on a display means a message for allowing a user to select processing continuation in the apparatus.
[0008]
In order to solve such a problem, an object of the present invention is to analyze an ink color used in a printing apparatus, obtain remaining amount information indicating the remaining amount of the ink cartridge of the analyzed used ink color from the printing apparatus, An information processing apparatus for displaying on a display means a message for prompting a user to replace an ink cartridge of an ink color to be used or to continue processing in an information processing apparatus in accordance with acquisition of remaining amount information. And an information processing method.
[0009]
In order to solve such a problem, an object of the present invention is to determine whether a printing mode of a printing apparatus is a monochrome mode or a color mode, and based on the determination result, an ink cartridge of an ink color to be used. For obtaining the remaining amount information indicating the remaining amount of the ink cartridge, and in response to the acquisition of the remaining amount information, the user selects the replacement of the ink cartridge of the ink color to be used or the continuation of the processing in the information processing apparatus. An object of the present invention is to provide an information processing apparatus and an information processing method for displaying a message on a display means.
[0010]
In order to solve such a problem, an object of the present invention is to acquire remaining amount information indicating the remaining amount of an ink cartridge of a printing apparatus, and replace the ink cartridge or the ink cartridge according to the acquisition of the remaining amount information. An object of the present invention is to provide an information processing apparatus and an information processing method for displaying on a display means a message for allowing a user to select another alternative color different from the ink color in the cartridge.
[0011]
In order to solve such a problem, an object of the present invention is to acquire remaining amount information indicating the remaining amount of an ink cartridge of a printing apparatus, and to determine the ink color in the ink cartridge according to the acquisition of the remaining amount information. It is an object of the present invention to provide an information processing apparatus and an information processing method for displaying on a display means a message for allowing a user to specify another different alternative color or to continue processing in the information processing apparatus.
[0012]
In order to solve such a problem, an object of the present invention is to compare the number of dots recordable by a pre-recording apparatus with the number of dots of the dot image information, and perform a process of generating dot image information according to the comparison result. An object of the present invention is to provide an information processing apparatus and an information processing method for controlling.
[0013]
[Means for Solving the Problems]
In order to solve the above problems, an information processing apparatus according to the present invention includes:
An information processing device that outputs recording information to a recording device,
Acquiring means for acquiring remaining amount information indicating the remaining amount of ink of the recording apparatus,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. Display means for displaying a second window capable of instructing whether to execute or stop cleaning in the case;
Means for outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. Executing means for performing the operation.
Also, the information processing apparatus of the present invention
An information processing device that outputs recording information to a recording device,
Analysis means for analyzing the ink color used in the recording apparatus,
Acquisition means for acquiring remaining amount information indicating the remaining amount of ink of the ink color to be used analyzed by the analysis means,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. Display means for displaying a second window capable of instructing whether to execute or stop cleaning in the case;
Means for outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. Executing means for performing the operation.
Also, the information processing apparatus of the present invention
An information processing device that outputs recording information to a recording device,
Determining means for determining whether the printing mode of the printing apparatus is a monochrome mode or a color mode,
An obtaining unit configured to obtain remaining amount information indicating a remaining amount of ink of an ink color to be used, based on a result of the determination by the determining unit;
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. Display means for displaying a second window capable of instructing whether to execute or stop cleaning in the case;
Means for outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. Executing means for performing the operation.
Also, the information processing apparatus of the present invention
When it is determined that there is no ink cartridge, the first screen that allows an instruction to execute or cancel the installation of the ink cartridge is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge is replaced. Display means for displaying a second screen capable of instructing whether to perform or abort;
When a stop instruction is given in a state where the first screen is displayed on the display means, the print processing is not performed, and the stop instruction is given in a state where the second screen is displayed on the display means. Means for performing a printing process in such a case.
Also, the information processing apparatus of the present invention
When it is determined that there is no ink, a third screen for instructing whether to execute or cancel the ink cartridge replacement is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge replacement is performed. Display means for displaying a second screen capable of instructing whether to perform or abort;
When a stop instruction is given in a state where the third screen is displayed on the display means, the print processing is not performed, and the stop instruction is given in a state where the second screen is displayed on the display means. Means for performing a printing process in such a case.
[0014]
Further, the information processing method of the present invention comprises:
An information processing method in an information processing device that outputs recording information to a recording device,
An acquisition step of acquiring remaining amount information indicating the remaining amount of ink of the recording apparatus,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. A display step of displaying a second window capable of instructing whether to execute or stop cleaning in the case;
A step of outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. And an execution step of performing
Further, the information processing method of the present invention comprises:
An information processing method in an information processing device that outputs recording information to a recording device,
An analyzing step of analyzing an ink color used in the recording apparatus,
An obtaining step of obtaining remaining amount information indicating a remaining amount of ink of an ink color to be used analyzed in the analyzing step,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. A display step of displaying a second window capable of instructing whether to execute or stop cleaning in the case;
A step of outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. And an execution step of performing
Further, the information processing method of the present invention comprises:
An information processing method in an information processing device that outputs recording information to a recording device,
A determining step of determining whether the printing mode of the printing apparatus is a monochrome mode or a color mode,
An obtaining step of obtaining remaining amount information indicating a remaining amount of ink of an ink color to be used, based on a result of the determination in the determining step;
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. A display step of displaying a second window capable of instructing whether to execute or stop cleaning in the case;
A step of outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. And an execution step of performing
Further, the information processing method of the present invention comprises:
When it is determined that there is no ink cartridge, the first screen that allows an instruction to execute or cancel the installation of the ink cartridge is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge is replaced. A display step of displaying a second screen capable of instructing whether to perform or cancel;
When a stop instruction is given in a state where the first screen is displayed in the display step, the print processing is not performed, and the stop instruction is given in a state where the second screen is displayed in the display step. And performing a printing process in the case.
Further, the information processing method of the present invention comprises:
When it is determined that there is no ink, a third screen for instructing whether to execute or cancel the ink cartridge replacement is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge replacement is performed. A display step of displaying a second screen capable of instructing whether to perform or cancel;
When a stop instruction is given in a state where the third screen is displayed in the display step, the print processing is not performed, and the stop instruction is given in a state where the second screen is displayed in the display step. And performing a printing process in the case.
[0023]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a recording apparatus and a control method thereof according to the present invention will be described in detail with reference to the drawings.
[0024]
(Example 1)
FIG. 1 is a configuration diagram of a printer system according to an embodiment of the present invention.
[0025]
In FIG. 1, reference numeral 101 denotes a printer that prints an image, and 110 denotes a host computer that generates print image data (print information) and receives a user's instruction. These are connected by an interface capable of two-way communication. I have. This interface may be any type of wired, wireless using radio waves / infrared rays and the like.
[0026]
The printer 101 in this embodiment uses an ink jet recording system. In the printer device 101, reference numeral 102 denotes a controller (CPU) for controlling the entire printer device, an operation panel 103 including a power on / off switch, an online switch for controlling an interface, a lamp for displaying a status, and the like. A print head 104 for ejecting ink to a recording material to record an image, a carriage motor 105 for operating a carriage equipped with the print head in a direction perpendicular to the print head, and feeding and discharging the recording material; A paper feed motor 106 for transporting the recording material, a memory 107 for temporarily storing data sent from the host computer, and storing image data (recording information) immediately before printing for each band size, and the presence or absence of an ink cartridge; Ink sensor 10 for detecting the remaining amount of ink in the ink cartridge If, it consists internal fonts 109 like the higher letters and pictograms and the like frequently used is recorded. The ink jet recording apparatus of this embodiment is a printer capable of performing color recording, and the print head 104 has a print head of four colors of black, cyan, magenta, and yellow mounted on a carriage. In this embodiment, recording information (bit image information) input from the host computer 110 is input to a recording device for each band size, and the recording device records the recording information on a recording medium for each band size. . In the case where the recording apparatus is a page printer that records the recording information for each page, the recording information may be input to the recording apparatus from the host computer in page units. When the recording apparatus has a bitmap development function (recording information generation processing), the host computer converts a printer language such as PDL (Page Description Language) consisting of character codes and control codes into a band size or a printer language. The data may be inputted to the recording device in units of one page.
[0027]
In the host computer 110, a CPU (not shown) uses application software 113 for performing drawing / tabulation, document creation, and the like and the OS system 111, and stores bitmap data (recording) corresponding to the printer resolution requested by the printer driver 114. Information) is developed in a RAM (not shown). At this time, a character image composed of vector information is developed into predetermined bitmap data (recording information) using the font rasterizer 112. Further, the CPU (not shown) generates print information that can be printed by the printer 101 using the printer driver 114, and transmits the print information expanded to the predetermined bitmap data to the printer after adding a printer control code. I do. Further, the printer driver 114 can indicate the processing status of the data and the status of the printer to the user at any time by using the status window 115.
[0028]
The programs shown in the flowcharts of FIGS. 2 to 14 are stored in the printer driver 114 and are executed by a CPU (not shown).
[0029]
2 and 3 show flowcharts of processing in the present embodiment.
[0030]
First, when the program starts, reception of printer status information is started in step S101 in FIG. When an instruction to start the recording information generation process is received in step S102, an ink cartridge presence / absence flag of the printer is determined in step S103. If the ink cartridge presence flag is 0, that is, if the ink cartridge is mounted on the printer, the process proceeds to step S104. In step S104, the ink-out flag of the printer is determined. If the ink absence flag is 0, that is, if there is ink in the ink cartridge, the process proceeds to step S105. In step S105, an ink remaining amount flag is determined. If the ink remaining amount flag is 0, that is, if the ink remaining amount is sufficient, the process proceeds to step S106. In step S106, recording information generation processing for converting an image into data to be recorded by the printer is performed for each band size, and in step S107, the recording information is output to the printer for each band size.
[0031]
Note that the recording information is bitmap data, but when the printer 101 has a function of developing a bitmap, the recording information is composed of character codes and control codes such as PDL. Printer language may be used.
[0032]
If the ink cartridge presence / absence flag is 1 in step S103, that is, if no ink cartridge is installed in the printer, the process proceeds to step S110, and the recording information generation process is temporarily stopped. Message 1 is displayed in step S111. Message 1 is displayed on a status window screen as shown in FIG. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge and presses the execution button in accordance with the message in the status window of FIG. 15, it is determined that the ink cartridge has been replaced in step S112 of FIG. 2, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 15 is pressed, the ink cartridge is not replaced in step S112 of FIG. 2, it is determined that the forced release has been instructed in step S113, and all the recording information generation processing is stopped. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0033]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. Message 4 is displayed on a status window screen as shown in FIG. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the start of the recording information generation processing is again instructed in step S102 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S111 in FIG. 2 so as to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink cartridge presence / absence flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S104 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0034]
If the ink-out flag is 1 in step S104 of FIG. 2, that is, if there is no ink in the ink cartridge, the process proceeds to step S114 to temporarily stop the recording information generation processing. Message 2 is displayed in step S115. Message 2 is displayed on a status window screen as shown in FIG. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window in FIG. 16 and the execution button is pressed, it is determined that the ink cartridge has been replaced in step S116 in FIG. 2 and the process proceeds to step S301 in FIG. When the cancel button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S116 of FIG. 2 and it is determined in step S117 that the forcible release has been instructed. In step S102, a standby state is set until the start of the recording information generation processing is again instructed.
[0035]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. Message 4 is displayed on a status window screen as shown in FIG. On the status window screen of FIG. 19, a message indicating that the recording head of the printer is to be cleaned and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S115 in FIG. 2 so that the message in the status window in FIG. 16 is displayed again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink absence flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S105 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0036]
If the ink remaining amount flag is 1 in step S105 of FIG. 2, that is, if the remaining amount of ink in the ink cartridge is very small, the process proceeds to step S118, and the recording information generation process is temporarily stopped. Message 3 is displayed in step S119. Message 3 is displayed on a status window screen as shown in FIG. The status window screen shown in FIG. 17 includes a message indicating that the ink in the ink cartridge is very low and may not be able to be printed depending on the image, a display of the corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When a new ink cartridge is replaced according to the message in the status window in FIG. 17 and the execution button is pressed, it is determined that the ink cartridge has been replaced in step S120 in FIG. 2 and the process proceeds to step S301 in FIG. When the stop button in the status window of FIG. 17 is pressed, the ink cartridge is not replaced in step S120 of FIG. Proceed to S106. Even if the remaining amount of ink is very small, an image with a low recording dot density, such as a general document mainly composed of characters, can be recorded and printed on several sheets. In this case, the recording information generation processing is not forcibly stopped.
[0037]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. Message 4 is displayed on a status window screen as shown in FIG. On the status window screen of FIG. 19, a message indicating that the recording head of the printer is to be cleaned and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302 in FIG. 3, and all the recording information generation processing is stopped, and the process waits in step S102 in FIG. State. Here, when it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S119 in FIG. 2 in order to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink remaining amount flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S106 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0038]
Until it is determined in step S108 of FIG. 2 that all image data (recording information) has been output, the above-described determination processing of the flag states of step S103, step S104, and step S105 is repeated. If it is determined in step S108 that all the image data (recording information) has been output, the process proceeds to step S109. If the end of the program is not instructed in step S109, the process enters a standby state for the next recording information generation processing start instruction in step S102.
[0039]
In this embodiment, since the status of the ink cartridge of the printer, the absence of ink, and the state of the remaining ink amount can be recognized on the host computer, when the printer device and the host computer are located at a distance, the printer device is shared by a network or the like. If this is the case, it is easy to respond.
[0040]
(Example 2)
3 and 4 show flowcharts of the processing in the present embodiment.
[0041]
First, when the program starts, reception of printer status information is started in step S401 in FIG. When an instruction to start the recording information generation process is received in step S402, the ink colors used in step S403 are analyzed from the original image. Generally, a printer driver instructs an OS system to convert and develop recording information created by application software into an image corresponding to the resolution of the printer. In this case, if the resolution of the printer is a high resolution such as 360 dpi, the load of image development processing and analysis of the colors used is large. Therefore, when analyzing the colors used of the original image, the image is once converted to a low resolution at 72 dpi or the like. By expanding and analyzing the entire image, the image can be expanded and the color used can be analyzed at high speed, and the memory capacity used can be reduced.
[0042]
Next, in step S404, an ink cartridge presence / absence flag for the color to be used is determined. If the ink cartridge presence / absence flag of the used color is 0, that is, if the ink cartridge of the used color is installed in the printer, the process proceeds to step S405. In step S405, the ink absence flag of the used color is determined. If the ink absence flag of the used color is 0, that is, if there is ink in the ink cartridge of the used color, the process proceeds to step S406. In step S406, an ink remaining amount flag of the used color is determined. If the ink remaining amount flag of the used color is 0, that is, if the ink remaining amount of the used color is sufficient, the process proceeds to step S407. In step S407, a conversion process for converting the image into recording information for recording and printing by the printer is performed, and in step S408, the recording information is output to the printer for each band size, for example.
[0043]
If the ink cartridge presence / absence flag of the used color is 1 in step S404, that is, if the ink cartridge of the used color is not mounted, the process proceeds to step S411, and the recording information generation process is temporarily stopped. Next, message 1 is displayed in step S412. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge and presses the execution button in accordance with the message in the status window of FIG. 15, it is determined that the ink cartridge has been replaced in step S413 of FIG. 4, and the process proceeds to step S301 of FIG. When the stop button of the status window in FIG. 15 is pressed, the ink cartridge is not replaced in step S413 in FIG. 4, it is determined that the forced release is instructed in step S414, and all the recording information generation processing is stopped. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0044]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is again instructed in step S402 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S412 in FIG. 4 in order to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink cartridge presence / absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307, and the process proceeds to step S405 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0045]
If the ink-out-of-use flag of the used color is 1 in step S405 of FIG. 4, that is, if there is no ink in the ink cartridge of the used color, the process proceeds to step S415 to temporarily stop the recording information generation processing. Message 2 is displayed in step S416. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window of FIG. 16 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S417 of FIG. 4, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S417 of FIG. 4, it is determined that the forced release has been instructed in step S418, and all the recording information generation processing is stopped. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0046]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head of the printer is to be cleaned and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302, and all the recording information generation processing is stopped, and the apparatus enters a standby state until the start of the recording information generation processing is again instructed in step S402 in FIG. . Here, when it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S416 in FIG. 4 in order to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307, and the process proceeds to step S406 in FIG. The flag reset in step S306 may be reset by self-detection by the printer body.
[0047]
If the ink remaining amount flag of the used color is 1 in step S406, that is, if the ink remaining amount of the ink cartridge of the used color is very small, the process proceeds to step S419, and the recording information generation process is temporarily stopped. Next, message 3 is displayed in step S420. The message 3 is displayed on the status window screen as shown in FIG. 17 described in the first embodiment. The status window screen in FIG. 17 includes a message indicating that the ink in the ink cartridge is very low and printing may not be possible depending on the image and a corresponding ink color, an execution button and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user replaces the ink cartridge with a new one in accordance with the message in the status window in FIG. 17 and presses the execute button, it is determined in step S421 in FIG. 4 that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. If the user presses the stop button in the status window of FIG. 17, it is determined that the ink cartridge is not replaced in step S421 of FIG. 4, that the forcible release has been instructed in step S422, and the recording information generation process is restarted in step S423. Proceed to S407. Even when the remaining ink level is very low, several images can be recorded and printed in an image with a low recording dot density, such as a general document mainly composed of characters, so it is up to the user whether to replace with a new ink cartridge or to continue as it is. In this case, the recording information generation process is not stopped.
[0048]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head of the printer is to be cleaned and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is again instructed in step S402 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S420 in FIG. 4 in order to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink remaining amount flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S407 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0049]
Until it is determined in step S409 in FIG. 4 that all image data (recording information) has been output, the above-described determination processing of each flag state in step S404, step S405, and step S406 is repeated. If all the image data (recording information) is output in step S409, the process proceeds to step S410. If the end of the program is not instructed in step S410, the process enters a standby state for the next recording information generation process start instruction in step S410.
[0050]
Also in the present embodiment, since the status of the ink cartridge presence / absence of ink, the absence of ink, and the remaining amount of ink of the printer can be recognized on the host computer, when the printer device and the host computer are in a remote place, the printer device is shared by a network or the like. If this is the case, it is easy to respond.
[0051]
Further, according to this embodiment, the status of the ink cartridge presence flag, the absence of ink flag, and the remaining ink amount flag is detected only for the ink color used for the recorded image, so that it is possible to improve the recording speed by shortening the detection time. It is possible to prevent the image recording operation from being inadvertently stopped by the status information of the outer ink color.
[0052]
(Example 3)
FIGS. 3, 5, 6, and 7 show flowcharts of processing in the present embodiment.
[0053]
First, when the program starts, reception of printer status information is started in step S501 in FIG. Upon receiving an instruction to start the recording information generation processing in step S502, the color mode to be used is determined in step S503. The color mode can be selected and instructed from the menu screens of the printer main body and the printer driver. The selection instruction on the printer body can be executed from the operation panel. In this case, the printer body has color mode status information, and the color mode flag 0 is the monochrome print mode, and the color mode flag = 1 is the color print mode.
[0054]
Next, the process proceeds to step S504, and if it is determined that the current color mode is the monochrome print mode, the process proceeds to step S505. In step S505, only the black ink cartridge presence / absence flag is determined. If the black ink cartridge presence / absence flag is 0, that is, if a black ink cartridge is installed in the printer, the process proceeds to step S506. In step S506, only the black ink absence flag is determined. If the black ink absence flag is 0, that is, if there is ink in the black ink cartridge, the process proceeds to step S701 in FIG. In step S701, only the black ink remaining amount flag is determined. If the black ink remaining amount flag is 0, that is, if the black ink remaining amount is sufficient, the process proceeds to step S702. In step S702, recording information generation processing for converting an image into data for recording and printing by the printer is performed for each band size, and in step S703, the recording information is output to the printer for each band size.
[0055]
If the black ink cartridge presence / absence flag is 1 in step S505 of FIG. 5, that is, if the black ink cartridge is not mounted, the process proceeds to step S507, and the recording information generation processing is temporarily stopped. Message 1 is displayed in step S508. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge and presses the execution button in accordance with the message in the status window of FIG. 15, it is determined in step S509 that the ink cartridge has been replaced, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 15 is pressed, the ink cartridge is not replaced in step S509, it is determined in step S510 that the forcible release has been instructed, and all the print information generation processing is stopped. The process enters a standby state until an instruction to start the process is issued again.
[0056]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is again instructed in step S502 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S508 in FIG. 5 to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the black ink cartridge absence flag is reset, and the recording information generation processing is restarted in step S307, and the process proceeds to step S506 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0057]
If the black ink absence flag is 1 in step S506 in FIG. 5, that is, if there is no ink in the black ink cartridge, the flow advances to step S511 to temporarily stop the recording information generation processing. Message 2 is displayed in step S511. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window of FIG. 16 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S513 of FIG. 5, and the process proceeds to step S301 of FIG. When the cancel button in the status window shown in FIG. 16 is pressed, the ink cartridge is not replaced in step S513, it is determined in step S514 that the forcible release has been instructed, and all the print information generation processing is stopped. The processing is in a standby state until the processing start is instructed again.
[0058]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped. In step S502, a standby state is set until the start of the recording information generation processing is instructed again. . Here, when it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S512 in FIG. 5 in order to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the black ink absence flag is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S701 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0059]
If the black ink remaining amount flag is 1 in step S701 in FIG. 7, that is, if the remaining amount of ink in the black ink cartridge is very small, the process proceeds to step S706, and the recording information generation process is temporarily stopped. Next, message 3 is displayed in step S707. The message 3 is displayed on the status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 includes a display of a message and a corresponding ink color that may not be able to be printed halfway depending on the image because the ink in the ink cartridge is very small, and includes an execution button and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When a new ink cartridge is replaced according to the message in the status window of FIG. 17 and the execution button is pressed, it is determined that the ink cartridge has been replaced in step S708, and the process proceeds to step S301 of FIG. If the stop button in the status window of FIG. 17 is pressed, the ink cartridge is not replaced in step S708, it is determined in step S709 that forcible release has been instructed, and the recording information generation process is restarted in step S710, and the process proceeds to step S702. . Even when the remaining ink level is very small, an image with a low recording dot density, such as a general document mainly composed of characters, can be printed and printed on several sheets. In this case, the recording information generation process is not stopped.
[0060]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped. In step S502, a standby state is set until the recording information generation processing is again instructed. . Here, if it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S707 in FIG. 7 in order to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the black ink remaining amount flag is reset, and the recording information generation process is restarted in step S307 in FIG. 3 and the process proceeds to step S702 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0061]
Until it is determined in step S704 of FIG. 7 that all image data (recording information) has been output, the above-described determination processing of each flag state of step S505, step S506, and step S507 of FIG. 5 is repeated. If all the image data (recording information) is output in step S701 in FIG. 7, the process proceeds to step S705. If the end of the program is not instructed in step S705, the process waits for the next recording information generation processing start instruction in step S502 in FIG. It becomes.
[0062]
If it is determined in step S504 in FIG. 5 that the current color mode is the color print mode, the process proceeds to step S601 in FIG. In step S601, an ink cartridge presence / absence flag for each color is determined. If the ink cartridge presence flag is 0, that is, if the ink cartridge is installed in the printer, the process proceeds to step S602. In step S602, the ink absence flag of each color is determined. If the ink absence flag is 0, that is, if there is ink in the ink cartridge, the process proceeds to step S711 in FIG. In step S711, the remaining ink flags of the respective colors are determined. If the ink remaining amount flag is 0, that is, if the ink remaining amount is sufficient, the process proceeds to step S712. In step S712, image data (recording information) processing for converting the image into data for recording and printing by the printer is performed, and in step S713, the image data (recording information) is output to the printer.
[0063]
If the ink cartridge presence / absence flag is 1 in step S601 in FIG. 6, that is, if there is a color for which no ink cartridge is mounted, the flow advances to step S603 to temporarily stop the recording information generation processing. Next, message 1 is displayed in step S604. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge according to the message in the status window of FIG. 15 and presses the execution button, it is determined that the ink cartridge has been replaced in step S605 of FIG. 6, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 15 is pressed, the ink cartridge is not replaced in step S605 of FIG. 6, it is determined that the forced release has been instructed in step S606, and all the recording information generation processing is stopped. In step S502, the process is in a standby state until the start of the recording information generation process is instructed again.
[0064]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped. In step S502 of FIG. 5, the processing waits until there is again an instruction to start the recording information generation processing. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S604 in FIG. 6 to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink cartridge absence flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S602 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0065]
If the ink-out flag is 1 in step S602 in FIG. 6, that is, if there is no ink in the ink cartridge, the flow advances to step S607 to temporarily stop the recording information generation processing. Message 2 is displayed in step S608. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window of FIG. 16 and the execution button is pressed, it is determined in step S609 that the ink cartridge has been replaced, and the process proceeds to step S301 of FIG. When the cancel button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S609, it is determined that the forcible release has been instructed in step S610, and all the recording information generation processing is stopped. In step S502 of FIG. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0066]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped. In step S502 of FIG. 5, the processing waits until there is again an instruction to start the recording information generation processing. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S608 in FIG. 6 to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink absence flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S711 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0067]
If the ink remaining amount flag is 1 in step S711 in FIG. 7, that is, if the remaining amount of ink in the ink cartridge is very small, the process proceeds to step S716 to temporarily stop the recording information generation process. Next, message 3 is displayed in step S717. The message 3 is displayed on the status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 includes a message indicating that the ink in the ink cartridge is very low, and depending on the image, a message that may not be able to be printed on the way and a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When a new ink cartridge is replaced according to the message in the status window of FIG. 17 and the execution button is pressed, it is determined that the ink cartridge has been replaced in step S718 of FIG. 7, and the process proceeds to step S301 of FIG. When the cancel button in the status window in FIG. 17 is pressed, the ink cartridge is not replaced in step S718 in FIG. 7, it is determined that the forcible release has been instructed in step S719, and the recording information generation process is restarted in step S720. Proceed to S712. Even when the remaining ink level is very small, an image with a low recording dot density, such as a general document mainly composed of characters, can be recorded and printed on several sheets. In this case, the recording information generation process is not stopped.
[0068]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced cancellation has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped. In step S502 of FIG. State. Here, when it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S717 in FIG. 7 in order to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink remaining amount flag of the corresponding color is reset, and the recording information generation process is restarted in step 307, and the process proceeds to step S712 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0069]
Until it is determined in step S714 of FIG. 7 that all image data (recording information) has been output, the above-described determination processing of the flag states of step S601 and step S602 of FIG. 6 and step S711 of FIG. 7 is repeated. If all the image data (recording information) is output in step S714, the process proceeds to step S715. If the end of the program is not instructed in step S715, the process enters a standby state for the next recording information generation processing start instruction in step S502 in FIG.
[0070]
Also in the present embodiment, since the status of the ink cartridge presence / absence of ink, the absence of ink, and the remaining amount of ink of the printer can be recognized on the host computer, when the printer device and the host computer are in a remote place, the printer device is shared by a network or the like. If this is the case, it is easy to respond.
[0071]
Further, according to the present embodiment, the status of the ink cartridge presence flag, the absence of ink flag, and the remaining ink flag is detected according to the designated color mode, so that the detection time is reduced in the monochrome print mode using only black ink. Can be expected to improve the recording speed, and it is possible to prevent the image recording operation from being stopped carelessly due to the status information of the ink color not used. Further, since it is not necessary to determine the ink color used for the recorded image, the processing load of the image data (recorded information) can be reduced.
[0072]
(Example 4)
FIGS. 3, 5, 6, 8, and 9 show flowcharts of processing in the present embodiment.
[0073]
First, when the program starts, reception of printer status information is started in step S501 in FIG. Upon receiving an instruction to start the recording information generation processing in step S502, the color mode to be used is determined in step S503. The color mode can be selected and instructed from the menu screens of the printer main body and the printer driver. The selection instruction on the printer body can be executed from the operation panel. In this case, the printer body has color mode status information, and the color mode flag 0 is the monochrome print mode, and the color mode flag = 1 is the color print mode.
[0074]
Next, the process proceeds to step S504, and if it is determined that the current color mode is the monochrome print mode, the process proceeds to step S505. In step S505, only the black ink cartridge presence / absence flag is determined. If the black ink cartridge presence / absence flag is 0, that is, if a black ink cartridge is installed in the printer, the process proceeds to step S506. In step S506, only the black ink absence flag is determined. If the black ink absence flag is 0, that is, if there is ink in the black ink cartridge, the process proceeds to step S801 in FIG. In step S801, only the black ink remaining amount flag is determined. If the black ink remaining amount flag is 0, that is, if the black ink remaining amount is sufficient, the process proceeds to step S802. In step S802, image data (recording information) processing for converting the image into data for recording and printing by the printer is performed, and in step S803, the image data (recording information) is output to the printer.
[0075]
If the black ink cartridge presence / absence flag is 1 in step S505 of FIG. 5, that is, if the black ink cartridge is not mounted, the process proceeds to step S507, and the recording information generation processing is temporarily stopped. Message 1 is displayed in step S508. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge according to the message in the status window of FIG. 15 and presses the execution button, it is determined that the ink cartridge has been replaced in step S509 of FIG. 5, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 15 is pressed, the ink cartridge is not replaced in step S509 of FIG. 5, it is determined that the forcible release has been instructed in step S510, and all the recording information generation processing is stopped, and in step S502. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0076]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped. In step S502, a standby state is set until the start of the recording information generation processing is instructed again. . Here, if it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S508 in FIG. 5 to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the black ink cartridge absence flag is reset, the recording information generation process is restarted in step S307 in FIG. 3, and the process proceeds to step S506 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0077]
If the ink absence flag of the used color is 1 in step S506 in FIG. 5, that is, if there is no ink in the black ink cartridge, the process advances to step S511 to temporarily stop the recording information generation processing. Message 2 is displayed in step S511. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window of FIG. 16 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S513 of FIG. 5, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S513 of FIG. 5, it is determined that the forcible release has been instructed in step S514, and all the recording information generation processing is stopped. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0078]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is again instructed in step S502 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S512 in FIG. 5 in order to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the black ink absence flag is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S801 in FIG. The flag reset in step S306 in FIG. 3 may be detected and reset by the printer body.
[0079]
When the black ink remaining amount flag is 1 in step S801 in FIG. 8, that is, when the remaining amount of ink in the black ink cartridge is very small, the process proceeds to step S806, and the recording information generation process is temporarily stopped. Next, a message 33 is displayed in step S807. The message 33 is displayed on a status window screen as shown in FIG. The status window screen shown in FIG. 18 displays a message and a corresponding ink color, which may not be able to be printed in the middle depending on the image because the ink in the ink cartridge is very small, an execution button and an alternative color use selection button, Consists of a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user replaces the ink cartridge with a new one according to the message in the status window in FIG. 18 and presses the execution button, it is determined in step S808 in FIG. 8 that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. When the cancel button in the status window of FIG. 18 is pressed, the ink cartridge is not replaced in step S808 of FIG. 8, it is determined that the substitute color is not used in step S809, and it is further determined in step S810 that the forced release has been instructed. In step S811, the recording information generation process is restarted, and the process proceeds to step S802. Even when the remaining ink level is very low, several images can be recorded and printed in an image with a low recording dot density, such as a general document mainly composed of characters, so it is up to the user whether to replace with a new ink cartridge or to continue as it is. In this case, the recording information generation process is not stopped.
[0080]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head of the printer is to be cleaned and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3 and all the recording information generation processing is stopped, and the process waits in step S502 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S807 in FIG. 8 in order to display the message in the status window in FIG. 18 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the black ink remaining amount flag is reset, and the recording information generation processing is restarted in step S307, and the process proceeds to step S802 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0081]
When the substitute color button is pressed in accordance with the message in the window of FIG. 18, the ink cartridge is not replaced in step S808 of FIG. 8, it is determined that the substitute color is used in step S809, and the process proceeds to step S901 of FIG. Is done. The message 5 is displayed on a window screen as shown in FIG. In the window screen of FIG. 20, four alternative color selection buttons of cyan, magenta, yellow, and gray by mixing the three colors, an execution, stop button, and an instruction message are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. Gray, which is a mixture of three colors, is a mode in which cyan, magenta, and yellow are printed at a predetermined ratio to print in a hue close to black which is originally desired to be printed.
[0082]
The alternative colors are not limited to the four choices described above, and other colors such as red, green, and blue may be added to the selection items.
[0083]
When the cancel button is pressed on the window screen of FIG. 20, it is determined that the forced cancellation has been instructed in step S905 of FIG. 9, and the process proceeds to step S802 of FIG. Here, when the stop button is pressed on the window screen of FIG. 20, the process may return to step S807 to display the message of the previous status window.
[0084]
When an alternative color is selected on the window screen of FIG. 20 and the execute button is pressed, an alternative color is designated in step S902 of FIG. 9, and the process proceeds to step S903 of FIG. In step S903, the presence / absence, absence of ink, and remaining ink amount flags of the ink cartridge of the alternative color are detected. If all the substitute color flags are 0, that is, if the ink color used in the substitute color is in a printable state, the image data (recording information) processing is switched to the alternative color processing in step S907, and the recording information generation processing is performed in step S906. Resume and proceed to step S802 in FIG. When the processing is switched to the alternative color processing, the image data (recording information) processing unit in step S803 replaces the monochrome (black) data information with the alternative color information, and outputs the image data (recording information) replaced with the alternative color in step S803. I do.
[0085]
If it is determined in step S903 in FIG. 9 that at least one of the alternative color ink cartridge presence / absence, no ink, and remaining ink flags is 1 and printing cannot be performed, a message 6 is displayed in step S904.
[0086]
The message 6 is displayed on a status window screen as shown in FIG. The status window screen of FIG. 21 displays a message indicating that printing cannot be performed in the designated alternative color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer.
[0087]
When the cancel button is pressed, it is determined that the forced cancellation has been instructed in step S905 of FIG. 9, and the process proceeds to step S802 of FIG. When the execution button is pressed, the process returns to step S901 in FIG. 9, and message 5 is displayed again. When the stop button in the status window in FIG. 21 is pressed, the process may return to step S807 in FIG. 8 in order to display the message in the status window in FIG. 18 again.
[0088]
When the alternative color is selected, the detection of the ink cartridge presence / absence, absence of ink, and remaining ink amount flags is performed only for the ink color used as the alternative color until the output of image data (recording information) is completed.
[0089]
Until it is determined in step S804 of FIG. 8 that all the image data (recording information) has been output, the determination processing of the flag states of steps S505 and S506 of FIG. 5 and step S801 of FIG. 8 is repeated. If the alternative color has been selected, each of the ink cartridge presence in step S505 in FIG. 5, the absence of ink in step S506, and the remaining ink amount in step S801 in FIG. 8, until the output of image data (recording information) is completed. Flag detection is performed only for the ink color used as the substitute color.
[0090]
If all the image data (recording information) has been output in step S804, the process proceeds to step S805. If the end of the program is not instructed in step S805, the process enters a standby state for the next recording information generation processing start instruction in step S502 in FIG.
[0091]
If it is determined in step S504 in FIG. 5 that the current color mode is the color print mode, the process proceeds to step S601 in FIG. In step S601, an ink cartridge presence / absence flag for each color is determined. If the ink cartridge presence flag is 0, that is, if the ink cartridge is installed in the printer, the process proceeds to step S602. In step S602, the ink absence flag of each color is determined. If the ink absence flag is 0, that is, if there is ink in the ink cartridge, the process proceeds to step S812 in FIG. In step S812, the remaining ink amount flags of the respective colors are determined. If the ink remaining amount flag is 0, that is, if the ink remaining amount is sufficient, the process proceeds to step S813. In step S813, image data (recording information) processing for converting the image into data for recording and printing by the printer is performed, and in step S814, the image data (recording information) is output to the printer.
[0092]
If the ink cartridge presence / absence flag is 1 in step S601 in FIG. 6, that is, if there is a color for which no ink cartridge is mounted, the flow advances to step S603 to temporarily stop the recording information generation processing. Next, message 1 is displayed in step S604. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge according to the message in the status window of FIG. 15 and presses the execution button, it is determined that the ink cartridge has been replaced in step S605 of FIG. 6, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 15 is pressed, the ink cartridge is not replaced in step S605 of FIG. 6, it is determined that the forced release has been instructed in step S606, and all the recording information generation processing is stopped. In step S502, the process is in a standby state until the start of the recording information generation process is instructed again.
[0093]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3 and all the recording information generation processing is stopped, and the process waits in step S502 of FIG. State. If it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S604 in FIG. 6 in order to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink cartridge absence flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S602 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0094]
If the ink-out flag is 1 in step S602 in FIG. 6, that is, if there is no ink in the ink cartridge, the flow advances to step S607 to temporarily stop the recording information generation processing. Message 2 is displayed in step S608. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window of FIG. 16 and the execution button is pressed, it is determined in step S609 that the ink cartridge has been replaced, and the process proceeds to step S301 of FIG. When the cancel button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S609, it is determined that the forcible release has been instructed in step S610, and all the recording information generation processing is stopped. In step S502 of FIG. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0095]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3 and all the recording information generation processing is stopped, and the process waits in step S502 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S608 in FIG. 6 to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink absence flag of the corresponding color is reset, and the recording information generation process is restarted in step S307, and the process proceeds to step S711 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0096]
If the ink remaining amount flag is 1 in step S812 in FIG. 8, that is, if the remaining amount of ink in the ink cartridge is very small, the process proceeds to step S817 to temporarily stop the recording information generation processing. Next, message 3 is displayed in step S818. The message 3 is displayed on the status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 includes a message indicating that the ink in the ink cartridge is very low, and depending on the image, a message that may not be able to be printed on the way and a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When a new ink cartridge is replaced according to the message in the status window of FIG. 17 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S819 of FIG. 8, and the process proceeds to step S301 of FIG. When the cancel button in the status window of FIG. 17 is pressed, the ink cartridge is not replaced in step S819 of FIG. 8, it is determined that the forced release is instructed in step S820, and the recording information generation process is restarted in step S821. Proceed to S813. Even when the remaining ink level is very small, an image with a low recording dot density, such as a general document mainly composed of characters, can be recorded and printed on several sheets. In this case, the recording information generation process is not stopped.
[0097]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3 and all the recording information generation processing is stopped, and the process waits in step S502 of FIG. State. Here, when it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S818 in FIG. 8 in order to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink remaining amount flag of the corresponding color is reset, and the recording information generation processing is restarted in step 307, and the process proceeds to step S813 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0098]
Until it is determined in step S815 of FIG. 8 that all image data (recording information) has been output, the above-described determination processing of the flag states of step S601 and step S602 of FIG. 6 and step S812 of FIG. 8 is repeated. If all the image data (recording information) is output in step S815, the process proceeds to step S816. If the end of the program is not instructed in step S816, the process enters a standby state for the next recording information generation process start instruction in step S502 in FIG.
[0099]
Also in the present embodiment, since the status of the ink cartridge presence / absence of ink, the absence of ink, and the remaining amount of ink of the printer can be recognized on the host computer, when the printer device and the host computer are in a remote place, the printer device is shared by a network or the like. If this is the case, it is easy to respond.
[0100]
Further, according to the present embodiment, the status of the ink cartridge presence flag, the absence of ink flag, and the remaining ink flag is detected according to the designated color mode, so that the detection time is reduced in the monochrome print mode using only black ink. , It is possible to prevent the image recording operation from being inadvertently stopped by the status information of the ink color not used. Further, since it is not necessary to determine the ink color used for the recorded image, the processing load of the image data (recorded information) can be reduced. In addition, when the remaining amount of black ink is very low in the monochrome print mode, an alternative color can be selected, so that if image output is required immediately, recording can be performed without replacing the ink cartridge. It is possible.
[0101]
(Example 5)
FIGS. 3, 10, and 11 show flowcharts of processing in the present embodiment.
[0102]
First, when the program starts, reception of printer status information starts in step S1001 in FIG. Upon receiving an instruction to start the recording information generation processing in step S1002, the process advances to step S1003. In step S1003, an ink cartridge presence / absence flag is determined. If the ink cartridge presence flag is 0, that is, if the ink cartridge is mounted on the printer, the process proceeds to step S1004. In step S1004, an out-of-ink flag is determined. If the ink absence flag is 0, that is, if there is ink in the ink cartridge, the process proceeds to step S1101 in FIG. In step S1101, an ink remaining amount flag is determined. If the ink remaining amount flag is 0, that is, if the ink remaining amount is sufficient, the process proceeds to step S1105. In step S1105, image data (recording information) processing for converting the image into data for recording and printing by the printer is performed, and in step S1106, the image data (recording information) is output to the printer.
[0103]
If the ink cartridge presence / absence flag is 1 in step S1003 of FIG. 10, that is, if the ink cartridge is not mounted, the process proceeds to step S1005, and the recording information generation processing is temporarily stopped. Message 1 is displayed in step S1006. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge according to the message in the status window of FIG. 15 and presses the execution button, it is determined in step S1007 of FIG. 10 that the ink cartridge has been replaced, and the process proceeds to step S301 of FIG. When the stop button in the status window in FIG. 15 is pressed, the ink cartridge is not replaced in step S1007 in FIG. 10, it is determined in step S1008 that the forced release has been instructed, and all the recording information generation processing is stopped. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0104]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 in FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is instructed again in step S1002 in FIG. State. Here, when it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S1006 in FIG. 10 to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink cartridge absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307 in FIG. 3, and the process proceeds to step S1004 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0105]
If the ink-out flag is 1 in step S1004 in FIG. 10, that is, if there is no ink in the ink cartridge, the flow advances to step S1009 to temporarily stop the recording information generation processing. Message 2 is displayed in step S1010. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window of FIG. 16 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S1011 of FIG. 10, and the process proceeds to step S301 of FIG. When the stop button of the status window in FIG. 16 is pressed, the ink cartridge is not replaced in step S1011 in FIG. 10, it is determined in step S1012 that the forcible release has been instructed, and all the recording information generation processing is stopped, and in step S1002 The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0106]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forced release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the start of the recording information generation processing is again instructed in step S1002 of FIG. State. If it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S1010 in FIG. 10 in order to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307, and the process proceeds to step S1101 in FIG. The flag reset in step S306 in FIG. 3 may be detected and reset by the printer body.
[0107]
If the ink remaining amount flag is 1 in step S1101 of FIG. 11, that is, if the remaining amount of ink in the ink cartridge is very small, the process proceeds to step S1102 to read the count value (Count) of the number of printable dots. As the initial value of the number of printable dots, the assumed number of dots from when the ink remaining amount flag inside the printer becomes 1 until printing becomes impossible is set in advance to the internal count value of the printer. The count value is automatically counted and subtracted in the printer by the number of dots recorded after the ink remaining amount flag in the printer becomes 1. Next, the process proceeds to step S1103, where the number of dots (D) of the recorded image is counted. Next, the process proceeds to step S1104, and if D ≦ Count, the process of image data (recording information) is continued in step S1105.
[0108]
If D> Count, ink runs out during image recording, and the process advances to step S1109 to temporarily stop the recording information generation processing. Next, message 3 'is displayed in step S1110. The message 3 'is displayed on a status window screen as shown in FIG. The status window screen of FIG. 17 has a small amount of ink remaining in the ink cartridge, and the image being executed is displayed with a message and a corresponding ink color display in which the image cannot be printed halfway, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When a new ink cartridge is replaced according to the message in the status window of FIG. 17 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S1111 of FIG. 11, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 17 is pressed, it is determined that the ink cartridge is not replaced in step S1111 of FIG. The process proceeds to S1105. In this case, the recording information generation processing is not stopped.
[0109]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 in FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is instructed again in step S1002 in FIG. State. Here, when it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S1110 in FIG. 11 in order to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink remaining amount flag of the corresponding color is reset, and the recording information generation process is restarted in step 307, and the process proceeds to step S1105 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0110]
Until it is determined in step S1107 in FIG. 11 that all image data (recording information) has been output, the above-described determination processing of the flag states in step S1003 and step S1004 in FIG. 10 and step S1101 in FIG. 11 is repeated. If all the image data (recording information) is output in step S1107, the process proceeds to step S1108. If the end of the program is not instructed in step S1108, in step S1002 in FIG.
[0111]
Also in the present embodiment, since the status of the ink cartridge presence / absence of ink, the absence of ink, and the remaining amount of ink of the printer can be recognized on the host computer, when the printer device and the host computer are in a remote place, the printer device is shared by a network or the like. If this is the case, it is easy to respond.
[0112]
Further, according to the present embodiment, when the remaining amount of ink is very small, the expected number of recordable dots is compared with the number of dots of the print image to determine whether or not the print information generation process is possible. Recording becomes possible.
[0113]
(Example 6)
FIGS. 3, 10, and 12 show flowcharts of processing in the present embodiment.
[0114]
First, when the program starts, reception of printer status information starts in step S1001 in FIG. Upon receiving an instruction to start the recording information generation processing in step S1002, the process advances to step S1003. In step S1003, an ink cartridge presence / absence flag is determined. If the ink cartridge presence flag is 0, that is, if the ink cartridge is mounted on the printer, the process proceeds to step S1004. In step S1004, an out-of-ink flag is determined. If the ink absence flag is 0, that is, if there is ink in the ink cartridge, the process proceeds to step S1201 in FIG. In step S1201, an ink remaining amount flag is determined. If the ink remaining amount flag is 0, that is, if the ink remaining amount is sufficient, the process proceeds to step S1205. In step S1205, recording information generation processing for converting an image into data for recording and printing by the printer is performed for each band size, and in step S1206, the recording information is output to the printer for each band size.
[0115]
If the ink cartridge presence / absence flag is 1 in step S1003 of FIG. 10, that is, if the ink cartridge is not mounted, the process proceeds to step S1005, and the recording information generation processing is temporarily stopped. Message 1 is displayed in step S1006. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge according to the message in the status window of FIG. 15 and presses the execution button, it is determined in step S1007 of FIG. 10 that the ink cartridge has been replaced, and the process proceeds to step S301 of FIG. When the stop button in the status window in FIG. 15 is pressed, the ink cartridge is not replaced in step S1007 in FIG. 10, it is determined in step S1008 that the forced release has been instructed, and all the recording information generation processing is stopped. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0116]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 in FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is instructed again in step S1002 in FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S1006 in FIG. 10 to display the status window message in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink cartridge absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307 in FIG. 3, and the process proceeds to step S1004 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0117]
If the ink-out flag is 1 in step S1004 in FIG. 10, that is, if there is no ink in the ink cartridge, the flow advances to step S1009 to temporarily stop the recording information generation processing. Message 2 is displayed in step S1010. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced according to the message in the status window of FIG. 16 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S1011 of FIG. 10, and the process proceeds to step S301 of FIG. When the stop button of the status window in FIG. 16 is pressed, the ink cartridge is not replaced in step S1011 in FIG. 10, it is determined in step S1012 that the forcible release has been instructed, and all the recording information generation processing is stopped, and in step S1002 The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0118]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 in FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is instructed again in step S1002 in FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation has been instructed, the process may return to step S1010 in FIG. 10 to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307, and the process proceeds to step S1101 in FIG. The flag reset in step S306 in FIG. 3 may be detected and reset by the printer body.
[0119]
If the ink remaining amount flag is 1 in step S1201 in FIG. 12, that is, if the remaining amount of ink in the ink cartridge is very small, the process proceeds to step S1202, and the count value (Count) of the number of recordable dots is read. As the initial value of the number of printable dots, the assumed number of dots from when the ink remaining amount flag in the printer becomes 1 until printing becomes impossible is set in advance to the internal count value of the printer. Next, the process proceeds to step S1203, where the number of dots (D) of the recorded image is counted. Next, the process proceeds to step S1104, and if D ≦ Count, the process of image data (recording information) is continued in step S1205.
[0120]
In the case of D> Count, since the ink runs out during image recording, the process proceeds to step S1210, and the recording information generation processing is temporarily stopped. Next, a message 3 'is displayed in step S1211. The message 3 'is displayed on a status window screen as shown in FIG. The status window screen of FIG. 17 has a message indicating that the ink in the ink cartridge is very low and the image being executed cannot be printed on the way, a display of a message and a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user replaces the ink cartridge with a new one in accordance with the message in the status window in FIG. 17 and presses the execution button, it is determined that the ink cartridge has been replaced in step S1212 in FIG. 12, and the process proceeds to step S301 in FIG. When the cancel button in the status window of FIG. 17 is pressed, it is determined that the ink cartridge has not been replaced in step S1212 of FIG. Proceed to S1205. In this case, the recording information generation processing is not stopped.
[0121]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 in FIG. 3, and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is instructed again in step S1002 in FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S1211 in FIG. 12 to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink remaining amount flag of the corresponding color is reset, and the recording information generation process is restarted in step 307, and the process proceeds to step S1205 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0122]
Until it is determined in step S1207 in FIG. 12 that all image data (recording information) has been output, the above-described determination processing of each flag state in steps S1003 and S1004 in FIG. 10 and step S1201 in FIG. 12 is repeated. If all the image data (recording information) is output in step S1207, the process advances to step S1208 to change the status of the printer regarding the number of printable dots. Next, the process proceeds to step S1209, and if the end of the program is not instructed, the process enters a standby state for the next recording information generation process start instruction in step S1002 in FIG.
[0123]
Also in the present embodiment, since the status of the ink cartridge presence / absence of ink, the absence of ink, and the remaining amount of ink of the printer can be recognized on the host computer, when the printer device and the host computer are in a remote place, the printer device is shared by a network or the like. If this is the case, it is easy to respond.
[0124]
Further, according to the present embodiment, as in the previous embodiment, when the remaining amount of ink is very small, the assumed number of recordable dots is compared with the number of dots of the print image to determine whether print information generation processing is possible. Thus, reliable image recording can be performed. Furthermore, since a new number of recordable dots is calculated from the number of dots recorded after the image recording is completed and is written into the status of the printer again, the present invention is also effective for a device in which the number of recorded dots cannot be counted inside the printer.
[0125]
(Example 7)
FIGS. 3, 13, and 14 show flowcharts of processing in the present embodiment.
[0126]
First, when the program starts, an ink remaining amount display flag is reset in step S1301 in FIG. Next, reception of printer status information is started in step S1302. Upon receiving an instruction to start the recording information generation processing in step S1303, the process advances to step S1304. In step S1304, an ink cartridge presence / absence flag is determined. If the ink cartridge presence / absence flag is 0, that is, if the ink cartridge is installed in the printer, the process proceeds to step S1305. In step S1305, an ink absence flag is determined. If the ink absence flag is 0, that is, if there is ink in the ink cartridge, the process proceeds to step S1401 in FIG. In step S1401, an ink remaining amount flag is determined. If the ink remaining amount flag is 0, that is, if the ink remaining amount is sufficient, the process proceeds to step S1402. In step S1202, recording information generation processing for converting an image into data for recording and printing by a printer is performed for each band size, and in step S1203, recording information is output to the printer for each band size.
[0127]
If the ink cartridge presence / absence flag is 1 in step S1304 in FIG. 13, that is, if no ink cartridge is mounted, the flow advances to step S1306 to temporarily stop the recording information generation processing. Message 1 is displayed in step S1307. Message 1 is displayed on the status window screen as shown in FIG. 15 described in the first embodiment. The status window screen of FIG. 15 includes a display indicating that the ink cartridge is not mounted, the color of the ink that is not mounted, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user mounts the ink cartridge according to the message in the status window of FIG. 15 and presses the execution button, it is determined in step S1308 in FIG. 13 that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. When the cancel button in the status window in FIG. 15 is pressed, the ink cartridge is not replaced in step S1308 in FIG. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0128]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the recording head is to be cleaned by the printer and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3 and all the recording information generation processing is stopped, and the process waits until the recording information generation processing start is again instructed in step S1303 of FIG. State. If it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S1307 in FIG. 13 to display the message in the status window in FIG. 15 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink cartridge absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307 in FIG. 3, and the process proceeds to step S1305 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0129]
If the ink-out flag is 1 in step S1305 in FIG. 13, that is, if there is no ink in the ink cartridge, the flow advances to step S1310 to temporarily stop the recording information generation processing. Message 2 is displayed in step S1311. Message 2 is displayed on the status window screen as shown in FIG. 16 described in the first embodiment. The status window screen of FIG. 16 includes a display indicating that there is no ink in the ink cartridge, a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the ink cartridge is replaced in accordance with the message in the status window of FIG. 16 and the execute button is pressed, it is determined that the ink cartridge has been replaced in step S1312 of FIG. 13, and the process proceeds to step S301 of FIG. When the stop button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S1312 of FIG. The apparatus enters a standby state until the start of the recording information generation processing is again instructed.
[0130]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the start of the recording information generation processing is again instructed in step S1302 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forcible release has been instructed, the process may return to step S1311 in FIG. 13 to display the message in the status window in FIG. 16 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0, is received in step S305, the ink absence flag of the corresponding color is reset, and the recording information generation processing is restarted in step S307, and the process proceeds to step S1401 in FIG. The flag reset in step S306 in FIG. 3 may be detected and reset by the printer body.
[0131]
If the ink remaining amount flag is 1 in step S1201 in FIG. 14, that is, if the remaining amount of ink in the ink cartridge is very small, the process proceeds to step S1407, the ink remaining amount display flag is changed to 1, and the process proceeds to step S1402.
[0132]
Until it is determined in step S1304 that all image data (recording information) has been output, the above-described determination processing of each flag state in steps S1304, S1305, and S1401 in FIG. 13 is repeated. If all the image data (recording information) is output in step S1404, the process advances to step S1405 to determine the remaining ink amount display flag. If the ink remaining amount display flag is 0, that is, if the ink cartridge has sufficient ink, the process advances to step S1302. If the end of the program is not instructed in step S1302, the process waits for the next recording information generation process start instruction in step S1303 in FIG.
[0133]
If the ink remaining amount display flag is 1 in step S1405, that is, if the remaining amount of ink in the ink cartridge is very small, the flow advances to step S1408 to temporarily stop the recording information generation processing. Next, message 3 is displayed in step S1409. The message 3 is displayed on the status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 includes a message indicating that the ink in the ink cartridge is very low, and depending on the image, a message that may not be able to be printed on the way and a corresponding ink color, an execution button, and a stop button. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the user replaces the ink cartridge with a new one according to the message in the status window of FIG. 17 and presses the execution button, it is determined that the ink cartridge has been replaced in step S1410 of FIG. 14, and the process proceeds to step S301 of FIG. When the cancel button in the status window of FIG. 17 is pressed, it is determined that the ink cartridge is not replaced in step S1410 of FIG. The process proceeds to S1406.
[0134]
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. The message 4 is displayed on the status window screen as shown in FIG. 19 described in the first embodiment. On the status window screen of FIG. 19, a message indicating that the printer will perform cleaning of the recording head and an execution and stop button are displayed. Each button is selected and executed by input means such as a mouse and a keyboard of the host computer. When the stop button is pressed, it is determined that the forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped, and the process waits until the start of the recording information generation processing is again instructed in step S1302 of FIG. State. Here, if it is determined in step S302 in FIG. 3 that the forced release has been instructed, the process may return to step S1409 in FIG. 14 in order to display the message in the status window in FIG. 17 again. When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG. 3, and a cleaning execution command is output to the printer in step S304. Upon receiving the cleaning execution command, the printer starts the cleaning operation and sets the cleaning execution flag to 1. The printer sets the cleaning execution flag to 0 immediately after completing the cleaning operation. When the cleaning completion status, that is, the cleaning execution flag = 0 is received in step S305, the ink remaining amount display flag of the corresponding color is reset, and the recording information generation process is restarted in step 307, and the process proceeds to step S1406 in FIG. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.
[0135]
Also in the present embodiment, since the status of the ink cartridge presence / absence of ink, the absence of ink, and the remaining amount of ink of the printer can be recognized on the host computer, when the printer device and the host computer are in a remote place, the printer device is shared by a network or the like. If this is the case, it is easy to respond.
[0136]
Further, according to the present embodiment, the stop of the printing operation and the message display when the remaining amount of the ink is very small are performed after the end of the image printing, so that the inadvertent stop when the printing is possible can be prevented.
[0137]
As described above, according to the first embodiment, the printer driver 114 of the host computer 110 uses the status of ink cartridge presence / absence, no ink, and remaining ink amount (ink-in-related status information of the printer device 101) of the printer device 101. Thus, a CPU (not shown) can detect and display a corresponding message (status window) on a display such as a CRT of the host computer. Therefore, the user interface (operability) can be improved when the printer apparatus 101 and the host computer 110 are located at remote places or when the printer apparatus 101 is shared by a network or the like. it can.
[0138]
Further, according to the second embodiment, the use colors of the recording information to be recorded are analyzed, and the status of the ink presence / absence flag, the absence of ink, and the remaining ink flag of only the ink color to be used is detected. The corresponding message can be displayed in the same manner as in.
[0139]
Therefore, when only black information is used as the recording information to be recorded by the recording apparatus, only the black status information is detected, and the status information of other colors is ignored. It is possible to prevent the processing efficiency (for example, the efficiency of the recording information generation processing) from being lowered due to the interrupt processing. Further, it is possible to prevent the recording operation from being inadvertently stopped due to the status of the unused ink color.
[0140]
According to the third embodiment, the status of the ink presence flag, the ink absence flag, and the ink remaining amount flag is determined according to the designated color mode (monochrome print mode, color print mode). Is detected, and a corresponding message can be displayed as in the first embodiment. For example, the CPU (not shown) detects only the status of black ink in the monochrome print mode, and detects the status of all color inks in the color print mode. The selection of the color mode may be switched on the host computer or on the operation panel of the printer. When switching is performed on the operation panel of the printer, the CPU (not shown) detects the status information of the color mode using the printer driver.
[0141]
Therefore, it is possible to prevent the stop of the process (for example, the record information generation process) by the unnecessary interrupt process for detecting the status information. Here, the inadvertent stop of the print information generation process means, for example, the stop of the print information generation process or the use of an unused ink cartridge in the monochrome mode according to the status information of the cyan ink not used. This is the stop of the record information generation process due to the exchange command.
[0142]
Further, according to the fourth embodiment, for example, in the case of the monochrome mode, when the remaining amount of the ink is very small, a message enabling the alternative color printing can be displayed. For example, when the remaining black ink is very small, it is possible to perform recording by replacing the cyan ink with the alternative color printing designation.
[0143]
Therefore, when it is necessary to print the recording information immediately, the recording can be surely performed without replacing the ink cartridge.
[0144]
Further, according to the fifth embodiment, the number of dots (D) of the recording information is counted (for example, counted in a page unit or a band size unit), and the number of dots (Count) that can be recorded in advance by the recording apparatus is counted. If the recording is possible, the recording can be continued.
[0145]
According to the sixth embodiment, the CPU (not shown) can update the number of printable dots of the printing apparatus via the printer driver.
[0146]
Further, according to the seventh embodiment, it is possible to display a message indicating that the remaining amount of ink is very small after outputting the recording information.
[0147]
(Configuration of ink remaining amount detection function)
Next, an example of an ink remaining amount detection function applicable to the present invention will be described with reference to FIGS.
[0148]
In a recording apparatus using an ink jet system, it is possible to satisfactorily supply ink corresponding to the amount of ink ejected from a recording head at the time of recording, and to supply ink without any ink leakage from an ejection port during non-recording. A system is required.
[0149]
Therefore, a configuration has been known in which a negative pressure generating mechanism is provided in the ink supply system so that the pressure at the discharge port is lower than the atmospheric pressure. The negative pressure here is a back pressure in the ink supply direction to the discharge port, and particularly means a pressure state where the discharge port is lower than the atmospheric pressure as described above.
[0150]
As a negative pressure generating mechanism provided in an ink supply system, one form of an ink container as an ink container is disclosed in JP-A-63-87242. In this conventional example, a structure of an ink jet recording cartridge having a plurality of ink ejection orifices in which a foam material is disposed almost entirely in an ink container is shown. With this cartridge configuration, it is possible to generate a negative pressure due to the capillary force of the foam for storing the ink in a porous medium such as a polyurethane foam which is a foam material, and to retain the ink (prevent ink leakage from the ink container). It is.
[0151]
Japanese Patent Application Laid-Open No. 6-40043 proposes a technique for increasing the ink use efficiency and increasing the ink filling amount in a configuration in which a foam material is disposed as a negative pressure generating member in the ink storing means. According to the present application, by using an ink storage container in which the negative pressure generating member storage section and the ink storage section for storing ink are separated, almost all of the ink can be used except for the ink that adheres to the wall surface in the ink storage section. In addition, stable ink supply performance can be maintained and the capacity of the ink storage container can be increased.
[0152]
The configuration of the remaining ink amount detection described below is a method of detecting the remaining amount of ink with high accuracy and a desired amount of remaining ink in an ink jet recording apparatus using an ink tank containing a negative pressure generating member such as an absorber or a foam material. This realizes a function, and detects the remaining amount of ink based on a change in light reflectance at a boundary portion between the wall surface and the ink absorber through a part of the wall surface of the ink tank.
[0153]
FIG. 25 is a schematic perspective view of a color inkjet recording apparatus configured to be able to eject a plurality of different color inks. A plurality of inks of different colors are stored in corresponding ink tanks and mounted on a carriage. Therefore, the inks stored in the ink tanks (not shown) are four colors of black, cyan, magenta, and yellow which are usually used in a color printer.
[0154]
In FIG. 25, reference numeral 8 denotes a chassis to which various components are attached. Reference numeral 9 denotes a paper feed roller provided in the longitudinal direction of the apparatus and for transporting a recording paper (not shown). Reference numeral 10 denotes a paper feed roller provided in parallel with the paper feed roller 9. Is a pinch roller for pressing the sheet. Reference numeral 2 denotes a guide shaft which is provided in parallel to the paper feed roller 9 and 11 is a scale portion of a magnetic linear encoder which is provided in parallel with the guide shaft 2.
[0155]
Reference numeral 1 denotes a carriage that moves along the guide shaft 2. Reference numeral 12 denotes a head cover for fixing an ink jet head (not shown) to the carriage 1, and 13 denotes a flexible substrate, which sends a recording data signal from the apparatus control unit to the ink jet head mounted on the carriage 1, and An output signal from a sensor (not shown) of the provided magnetic linear encoder can be sent to the device control unit.
[0156]
Reference numeral 3 denotes a support shaft that is provided in parallel with the guide shaft 2 and that maintains the posture of the carriage 1 that is provided rotatably about the guide shaft 2. Reference numeral 14 causes the carriage 1 to scan along the guide shaft 2. Motor 15 is a timing belt for transmitting the driving force of the carriage motor 14 to the carriage 1. Reference numeral 16 denotes a transmission type photo interrupter provided in the scanning area of the carriage 1 for setting a reference position in the scanning of the carriage 1.
[0157]
Reference numeral 17 denotes a suction cap used for preventing ejection failure of the ink jet head or for recovering the same, and reference numeral 18 denotes a cap for preventing drying in a discharge port (hereinafter also referred to as a nozzle) of the ink jet head while the ink jet head is on standby. It is a protective cap. Reference numeral 5 denotes a paper position switching lever provided on the carriage 1 for switching the clearance between the recording paper and the ink jet head according to the thickness of the recording paper, and 6 is provided near the home position of the carriage 1. The reflection type photo interrupter 19 as an ink sensor is a preliminary ejection hole for receiving ink droplets when performing preliminary ejection prior to printing in order to prevent clogging of the nozzle portion of the ink jet head.
[0158]
22 is a side view of the carriage 1, FIG. 23 is a view showing a state where the ink tank is mounted in FIG. 22, and FIG. 24 is a view of the carriage shown in FIG. 22 viewed from the direction of arrow A in FIG. FIG.
[0159]
The positional relationship between the carriage 1 and the photo interrupter 6 and the principle of detection by the photo interrupter 6 will be described with reference to FIGS.
[0160]
In FIGS. 22, 23 and 24, reference numeral 1b denotes a hole provided at the bottom of the carriage 1 for transmitting the light from the photo interrupter 6.
[0161]
In FIG. 23, reference numeral 21 denotes a print head for performing printing by discharging ink from a nozzle 22 at the tip of the print head. 7 is an ink tank mounted on the carriage 1, 7a is an absorber as a negative pressure generating member provided in the ink tank, 7b is a boundary between the absorber in the ink tank and the outer wall of the ink tank, 7c Is an ink storage section (hereinafter also referred to as a raw ink storage section) for storing the ink in the ink tank as it is without mixing with other members (hereinafter also referred to as a raw ink storage section). This is the boundary between the ink and the outer wall of the ink tank. The raw ink storage unit stores the ink in a substantially sealed state, and supplies the ink from the lower part of the threshold wall 7g, that is, the gap 7f at the bottom of the ink tank to the room where the ink absorber 7a is stored. The material of the ink tank 7 is transparent to the detection light of the photo interrupter 6, such as transparent plastic. Reference numeral 28 denotes an air communication port for performing gas-liquid exchange accompanying consumption of ink. The supply of ink to the print head is performed via a supply port.
[0162]
In the ink tank 7, an air introduction groove 7h and a negative pressure generating groove 7h are formed in a part of a threshold wall 7g, which is a partition wall between the negative pressure generating member storing section in which the ink absorber 7a is stored and the above-described raw ink storing section. A member adjustment chamber 7i is formed. The air introduction groove 7h is formed on the negative pressure generating member accommodating portion side from a middle portion of the threshold wall 7g to an end of the threshold wall 7g, that is, a gap 7f with the bottom of the ink cartridge. A negative pressure generating member adjusting chamber 7i having a hollow shape is formed between the air absorbing groove 7h and the ink absorber 7a in contact with the vicinity of the air introducing groove 7h.
[0163]
When the ink in the ink absorber 7a is consumed, the interface between the air and the liquid (gas-liquid interface) in the ink absorber 7a is lowered, the air is introduced into the raw ink storage unit, and the ink is supplied to the ink absorber 7a. . A so-called gas-liquid exchange is performed.
[0164]
The negative pressure in the ink absorber 7a is adjusted by the meniscus position at the gas-liquid interface, so that ink can be supplied without leaking from the recording head.
[0165]
The head 21 and the ink tank 7 are integrally mounted on the carriage 1, and slide on the shafts 2 and 3 to scan in the vertical direction in the drawing.
[0166]
FIG. 26 is a plan view of the substrate on which the photointerrupter 6 is mounted, 6c indicates a light emitting unit, and 6d indicates a light receiving unit. In FIG. 22, reference numeral 6a denotes an optical path (hereinafter, also referred to as a return optical path) in which the light 6b emitted from the light emitting section 6c is reflected and returned, and is received by the light receiving section 6d shown in FIG. This optical path may be a reflection surface in the plane of FIG. 22 as shown in FIG. 22 or a reflection plane perpendicular to the plane of FIG. However, when the attitude of the carriage 1 is greatly changed by the operation of the paper position switching lever 5 described above, the influence of the attitude difference is less when the reflection surface is in the direction perpendicular to the paper surface of FIG. Further, in FIG. 22, this optical path is drawn as a simple straight line so as not to complicate the drawing, but is actually a light beam having a certain spread.
[0167]
The photo-interrupter 6 is installed so as to irradiate the detection light slightly near the raw ink storage portion 7c of the absorber 7a in the ink tank 7. This position affects the remaining number of printable sheets at the time of detection as described later. Further, with respect to the position of the photo interrupter 6 in the height direction, it is desirable to arrange the photo interrupter 6 such that the boundary 7b between the wall surface of the ink tank 7 and the absorber 7a comes near the focal position of the photo interrupter 6. When the detection light deviates from the focal position of the photointerrupter 6, the spread of the detection light increases, and the S / N of the detection decreases because of the light reflected and scattered at the edge of the hole 1b of the carriage 1. .
[0168]
As described above, the photo interrupter 6 is formed by integrating the LED, which is the light emitting element 6c of the light source, and the light receiving element 6d. This LED is an infrared light having a transmittance to any of the four color inks, and the light receiving element 6d also has sufficient sensitivity to the wavelength of the LED.
[0169]
The photo interrupter 6 is installed separately from the carriage 1 and irradiates infrared light to the bottom surface of the absorber 7c through a hole 1b opened in the carriage 1 and a wall 7b of the transparent ink tank 7 to radiate reflected light. It is detected by the light receiving element 6d. By disposing the photo-interrupter 6 as a detection system separately from the carriage in this manner, a power supply line and a signal line from the main body of the recording apparatus to the carriage, which is a movable portion, become unnecessary, and the configuration is simplified. And cost reduction can be achieved.
[0170]
FIG. 28 is an enlarged view of the vicinity of the photointerrupter 6 of the photointerrupter 6 on the lower surface of the absorber 7a where light is irradiated when there is sufficient ink in the ink tank 7, and FIG. 29 is an enlarged view of when the ink is exhausted at the same position. FIG. FIG. 30 is a graph showing a change in the output of the light receiving unit 6d of the photo interrupter 6 according to the remaining ink amount.
[0171]
Next, the principle of the present ink remaining amount detection will be described.
[0172]
In general, Fresnel's formula indicating the amplitude reflectance of light at the interface between the media 1 and 2 having different refractive indices is
[Outside 1]
Figure 0003581700
It becomes.
Where n1: refractive index of medium 1
n2: refractive index of medium 2
θ1: the angle between the light ray in the medium 1 and the normal
θ2: the angle between the light ray in the medium 2 and the normal
(These four have a relationship of n1 · sin θ1 = n2 · sin θ2.)
[0173]
If the light from the light emitting section 6c of the photo interrupter 6 is incident on the ink tank 7 at an angle close to the vertical, it can be considered that cos θ = 1, and the energy reflectance is described instead of the amplitude reflectance. When you square for
[Outside 2]
Figure 0003581700
It becomes.
[0174]
First, when there is sufficient ink in the ink tank 7, the gap between the wall surface of the ink tank 7 and the absorber 7a is filled with ink as shown in FIG. Since the ink tank 7 and the absorber 7a are plastic and have a refractive index of about 1.5 and the ink has a refractive index of about 1.4, the reflectance on the inner wall of the ink tank 7 and the surface of the absorber 7a is about 0.1 from the above formula. There is only%.
[0175]
Next, with the consumption of ink, air enters into the gap between the wall surface of the ink tank 7 and the absorber 7a through the air communication port 8 in FIG. 28 as shown in FIG. The reflectivity on the inner wall of the tank and the surface of the absorber when the ink is exhausted is about 4%. That is, when the ink runs out, the amount of reflected light increases about 40 times. (However, there is a case where the output difference is not actually detected due to the influence of light other than the reflected light of the boundary 7c such as the reflected light from the outer bottom surface of the ink tank 7 and the electric noise.)
Here, even if the photointerrupter 6 performs detection at the boundary portion 7d between the ink tank 7 and the raw ink storage portion 7c, a difference in reflectance occurs. However, in comparison with that case, the number of reflective elements is as follows. There is a big difference.
[0176]
[Table 1]
Figure 0003581700
[0177]
In this way, when the detection is performed by the absorber, the number of the reflection elements is three times as large, and the amount of the reflected light itself is correspondingly increased, so that the detection that is strong against the above-described noise can be performed.
[0178]
Further, as shown in FIG. 29, air that has entered between the absorber 7a and the ink tank 7 often exists as many fine bubbles while passing through the absorber 7a. In addition, the amount of reflected light further increases.
[0179]
These reflectivities are values when cos θ = 1 as described above, but in other cases, there is a considerable difference in reflectivity between the presence and absence of ink. In either case, a large output difference occurs in the light receiving portion 6d of the photointerrupter 6 according to the reflectance difference, so that the presence or absence of ink in the ink tank 7 can be detected based on the output difference.
[0180]
Actually, the area where the photointerrupter 6 irradiates light is not a point even at its focal position, but has a certain size, and as the ink gradually escapes from that area, the output of the photointerrupter 6 becomes It will change continuously.
[0181]
In FIG. 30, the horizontal axis represents the remaining number of printable sheets until the ink is exhausted and the discharge fails, and the vertical axis represents the output of the photointerrupter 6. Based on this output change curve, when a predetermined threshold level is exceeded (in FIG. 30, the remaining amount capable of printing about 15 remaining sheets is set as the threshold), the amount of ink in the ink tank 7 becomes small. Judge that Then, by illuminating a warning display LED or the like on the display panel of the ink jet printing apparatus main body, it is possible to notify the user that the remaining amount of ink is low.
[0182]
The remaining number of sheets when displaying that the remaining ink amount is low can be increased or decreased by changing the threshold level. However, as can be seen from FIG. 30, it is difficult to display the output before the number of output rises (about 30 remaining in FIG. 30). In response to this, the number of printable sheets when the output rises can be changed by changing the position where the photo interrupter 6 performs detection. In this way, a warning can be issued with a desired remaining number.
[0183]
Alternatively, the printing operation may be stopped instead of issuing the warning or simultaneously with the warning in order to surely prevent the occurrence of the printing failure. In this case, there is an effect that a stronger warning is given by temporarily stopping.
[0184]
As described in detail above, the reflected light of the light emitted from the light emitting unit 6c is detected by the light receiving unit 6d with respect to the ink tank 7 in which the absorber 7a is disposed as the negative pressure generating member, and the ink level is determined based on the output level. It is possible to detect that the remaining amount of ink in the tank 7 has become smaller than a predetermined amount.
[0185]
At this time, the absorber 7a functions as a negative pressure control member that controls the negative pressure of the ink supplied from the ink tank 7, and functions as a reflection control member that controls the amount of reflected light emitted by the light emitting unit 6c. Thus, it is possible to accurately detect a decrease in the remaining amount of ink in the ink tank in which the absorber 7a is disposed.
[0186]
The ink jet recording apparatus shown in FIG. 25 is a so-called color ink jet recording apparatus configured to be capable of ejecting inks corresponding to a plurality of colors. As shown in FIG. 33, four ink tanks 7 are mounted on the carriage side by side in four colors corresponding to the four colors. Accordingly, by moving the carriage 1, the ink tanks of each color are sequentially made to face the photointerrupter 6, and the remaining ink amount of each ink tank is detected. Since it is necessary to individually track the output change in each color, a corresponding memory means is provided. In this case, it is desirable to display the fact that the remaining amount of ink is low for each of the four colors. However, only one color is simply reduced because the display panel of the ink jet recording apparatus becomes complicated. May be displayed.
[0187]
According to the configuration described above, the remaining amount of ink in each of the four color ink tanks can be accurately detected by one detection system with respect to the ink tank containing the ink absorber of the color inkjet recording apparatus.
[0188]
In the example described above, detection is performed from the bottom surface of the ink tank 7. However, the present invention is not limited to the configuration in which the detection is performed from the bottom surface of the ink tank 7, and the detection may be performed from the side surface or the upper surface.
[0189]
However, it is desirable to perform detection from the bottom surface of the ink tank 7 for the following reasons.
[0190]
The density distribution of the absorber 7a is usually not uniform, and the ink is spotted as the ink runs out. Therefore, even if there is still ink in the surroundings, only the place where the photo interrupter 6 happens to detect the ink is exhausted first, or vice versa. The number of sheets varies, and in the worst case, the ink may run out without warning.
[0191]
However, the bottom surface of the ink tank 7 is liable to accumulate ink by the action of gravity, so that the influence of the density distribution of the absorber 7a is reduced. Accordingly, by performing detection from the bottom surface of the ink tank 7, highly accurate detection of the remaining amount of ink becomes possible.
[0192]
FIG. 31 shows two photointerrupters as shown in FIG. 31 in order to cope with the non-uniformity of the density of the absorber 7a and detect the remaining amount of ink with higher accuracy. The average value of the values is used to detect a decrease in the remaining amount of ink.
[0193]
31, the same components as those in FIG. 28 are denoted by the same reference numerals. Reference numeral 6 'denotes a photo interrupter arranged as a second ink sensor, which is the same as the photo interrupter 6. (Here, the photo interrupter 6 is also referred to as a first photo interrupter for convenience of explanation.)
In the configuration shown in FIG. 31, the decrease in the remaining amount of ink is detected by using the average value of the outputs of the first photo interrupter 6 and the second photo interrupter 6 ′. This average value may be a simple average or a weighted average. Since the second photo-interrupter 6 'is closer to the supply port 24 than the first photo-interrupter 6, an output change occurs after the number of remaining printable sheets becomes smaller. Therefore, which weight is to be weighted is determined depending on the remaining number to be detected.
[0194]
In this way, by providing sensors for detecting the remaining amount of ink at a plurality of points and using the average value of the measured values of the plurality of detection points, even if the density of the absorber 7a is not uniform, the influence can be reduced, Highly accurate remaining amount detection can be performed.
[0195]
Similarly, as means for reducing the variation of the detection value due to the influence of the non-uniformity of the density of the absorber 7a, the photointerrupter 6 and the carriage 1 can be relatively moved, and the measurement values of a plurality of detection points of the ink tank 7 are measured. A method of detecting the remaining amount of ink using the average value of (i) is also conceivable. In this case, the photointerrupter 6 may be movable, or the photointerrupter 6 may measure a plurality of points while moving the carriage 1 in a fixed state.
[0196]
In the above-described configuration for detecting the remaining amount of ink, when the output of the photo interrupter 6 exceeds a predetermined threshold, a warning or a stop of the printing operation is performed. However, the present invention is not limited to this. A display corresponding to the output of the photointerrupter 6, that is, a display proportional or monotonically changing with the output of the photointerrupter 6, may be performed without performing a warning or stopping the printing operation when the threshold value is exceeded.
[0197]
As is clear from FIG. 30, the output of the photointerrupter 6 changes continuously as the amount of remaining ink in the ink tank 7 decreases. Therefore, by performing the remaining amount display corresponding to the output change, it is possible to continuously perform the display substantially corresponding to the remaining number of printable sheets. By doing so, more detailed ink remaining amount information can be given to the user.
[0198]
FIG. 32 shows an example in which the remaining amount of ink in the ink tank 7 is displayed on the display panel. The display on the display panel may be such that the level of the digital meter changes in accordance with the remaining number of printable sheets as shown in FIG. 32, or alternatively, the remaining number of printable sheets may be displayed numerically. Further, as the display panel, generally used display devices such as those using liquid crystal may be used. Further, the present invention is not limited to the visible display means, but may be a method of guiding the remaining printable number by voice or a method of changing the length and the number of times of the buzzer sound according to the remaining printable number.
[0199]
With the above configuration, it is possible to notify the user of detailed ink remaining amount information according to the output of the photo interrupter 6, and the user can perform maintenance such as replacement of the ink tank at an appropriate time.
[0200]
Further, in the example shown in FIG. 23, the ink tank 7 has both the absorber 7a and the raw ink storage 7c. However, the present invention is not limited to this configuration. As shown in FIG. The present invention is also applied to an ink tank having a configuration in which the absorber 7a is arranged over the entire area.
[0201]
In the configuration shown in FIG. 27, the ink sequentially flows from the absorber 7a through the supply port 24 and the flow path 30 in the print head 21, and then is heated by a heating means (hereinafter also referred to as a heater) 31 provided in the nozzle 22 as a discharging means. The thermal energy is applied, and the ink foams due to the rapid thermal energy application, and is ejected from the ejection port at the tip of the nozzle 22. Printing is performed by the ink discharged in this way adhering to a medium such as paper.
[0202]
Further, when there is no ink tank 7, the reflected light from the photo interrupter 6 is lost, so that the output level is much lower than the output level when there is sufficient ink. Thus, the presence or absence of the ink tank 7 can be detected from the detection level difference between when the ink tank 7 is mounted and when the ink tank 7 is not mounted, using the photo interrupter 6.
[0203]
In particular, in a color ink jet printing apparatus as shown in FIG. 25, the presence or absence of ink tanks for each color can be individually detected, and the problem that printing is performed even though no ink tank is mounted is solved. be able to. In addition, the presence or absence of an ink tank can be detected without providing a special configuration for detecting the presence or absence of an ink tank, and the remaining amount of ink in the ink tank and the presence or absence of an ink tank can be detected with a simple configuration without increasing the cost. can do.
[0204]
As described above, there is provided a means for detecting a change in the light reflectance at the boundary between the wall surface and the ink absorber through a part of the wall surface of the ink tank. By detecting the remaining amount of ink from the rate difference, it is possible to realize a high-accuracy and remaining-ink-detection function for detecting that the desired amount of ink has been reached even in an ink tank having a built-in absorber. .
[0205]
【The invention's effect】
As described above, according to the present invention, the remaining amount information indicating the remaining amount of the ink cartridge of the recording apparatus is obtained, and the ink cartridge is exchanged or the information processing apparatus is used in accordance with the acquisition of the remaining amount information. There is an effect that a message for allowing the user to select the continuation of the processing can be displayed on the display means.
[0206]
As described above, according to the present invention, an ink color used in a printing apparatus is analyzed, remaining amount information indicating the remaining amount of the ink cartridge of the analyzed used ink color is acquired from the printing apparatus, and the remaining amount information is obtained. In response to the acquisition of the information, the message for exchanging the ink cartridge of the ink color to be used or selecting the continuation of the processing in the information processing apparatus can be displayed on the display means. Play.
[0207]
As described above, according to the present invention, it is determined whether the printing mode of the printing apparatus is the monochrome mode or the color mode, and the remaining amount of the ink cartridge of the ink color to be used is determined based on the determination result. Message for instructing the user to replace the ink cartridge of the ink color to be used or to continue the processing in the information processing apparatus in accordance with the acquisition of the remaining amount information. Can be displayed on the display means.
[0208]
As described above, according to the present invention, the remaining amount information indicating the remaining amount of the ink cartridge of the recording apparatus is acquired, and the ink cartridge is replaced or the ink cartridge is replaced in accordance with the acquisition of the remaining amount information. There is an effect that a message for allowing the user to select another alternative color different from the above ink color can be displayed on the display means.
[0209]
As described above, according to the present invention, the remaining amount information indicating the remaining amount of the ink cartridge of the printing apparatus is acquired, and another ink color different from the ink color in the ink cartridge is acquired according to the acquisition of the remaining amount information. There is an effect that a message for prompting the user to designate a substitute color or to continue processing in the information processing apparatus can be displayed on the display means.
[0210]
As described above, according to the present invention, the number of dots recordable by the pre-recording apparatus is compared with the number of dots of the dot image information, and the generation processing of the dot image information is controlled according to the comparison result. This has the effect that it can be performed.
[Brief description of the drawings]
FIG. 1 is a configuration diagram illustrating a printer control system according to an embodiment of the present invention.
FIG. 2 is a flowchart showing control contents according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating control contents when replacing an ink cartridge according to an embodiment of the present invention.
FIG. 4 is a flowchart showing control contents in a case where a used color of a recorded image is determined and control is performed in the embodiment of the present invention.
FIG. 5 is a flowchart showing control contents when a color mode is determined and control is performed in the embodiment of the present invention.
FIG. 6 is a flowchart showing control contents in the color mode when the color mode is determined and control is performed in the embodiment of the present invention.
FIG. 7 is a flowchart showing the control content for detecting the remaining amount of ink when the color mode is determined and control is performed in the embodiment of the present invention.
FIG. 8 is a flowchart showing control contents for detecting a color mode in another embodiment of the present invention and detecting a remaining ink amount when performing control.
FIG. 9 is a flowchart showing control contents when an alternative color is used in the embodiment of the present invention.
FIG. 10 is a flowchart showing control contents according to another embodiment of the present invention.
FIG. 11 is a flowchart illustrating a case where control is performed according to the number of dots of a print image according to the embodiment of the present invention.
FIG. 12 is a flowchart illustrating a case where control is performed according to the number of dots of a print image according to another embodiment of the present invention.
FIG. 13 is a flowchart showing control contents according to still another embodiment of the present invention.
FIG. 14 is a flowchart showing control contents for displaying the remaining ink amount display after the end of output of image data (recording information) in the embodiment of the present invention.
FIG. 15 is a diagram showing a message 1 in a status window displaying that there is no ink cartridge.
FIG. 16 is a diagram showing a message 2 in a status window displaying that there is no ink.
FIG. 17 is a diagram showing messages 3 and 3 'in the status window showing the remaining ink amount warning.
FIG. 18 is a diagram showing a message 33 in a status window in which an ink remaining amount warning and an alternative color can be used.
FIG. 19 is a diagram showing a message 4 in a status window indicating execution of cleaning.
FIG. 20 is a diagram showing a message 5 in a status window for selecting an alternative color.
FIG. 21 is a diagram showing a message 6 in a status window for notifying that a color designated as a substitute color cannot be used.
FIG. 22 is a side view of the carriage.
FIG. 23 is a side view of the carriage showing a tank mounted state.
FIG. 24 is a schematic view of the carriage viewed from the bottom side.
FIG. 25 is a schematic view of the entire apparatus of an ink jet printer.
FIG. 26 is a diagram illustrating a configuration of an ink sensor applicable to the present invention.
FIG. 27 is a diagram illustrating a configuration of a carriage and an ink sensor.
FIG. 28 is a diagram illustrating the principle of detecting the remaining amount of ink.
FIG. 29 is a diagram illustrating the principle of detecting the remaining amount of ink.
FIG. 30 is a diagram illustrating an output of a photo interrupter.
FIG. 31 is a diagram illustrating a configuration of an ink sensor.
FIG. 32 is a diagram showing a display of a detection result of the remaining amount of ink.
FIG. 33 is a diagram illustrating a carriage on which a plurality of ink tanks are mounted.
[Explanation of symbols]
101 Printer device
102 Controller
103 Operation panel
104 print head
105 Carriage motor
106 Paper feed motor
107 memory
108 Ink sensor
109 Built-in fonts
110 Host computer
111 OS system
112 Font Rasterizer
113 Application Software
114 Printer Driver
115 Status Window

Claims (18)

記録装置に記録情報を出力する情報処理装置であって、
前記記録装置のインクの残量を示す残量情報を取得する取得手段と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示手段と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する手段と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行手段とを有することを特徴とする情報処理装置。
An information processing device that outputs recording information to a recording device,
Acquiring means for acquiring remaining amount information indicating the remaining amount of ink of the recording apparatus,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. Display means for displaying a second window capable of instructing whether to execute or stop cleaning in the case;
Means for outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. An information processing apparatus comprising:
記録装置に記録情報を出力する情報処理装置であって、
前記記録装置で使用するインク色を解析する解析手段と、
前記解析手段で解析した使用するインク色のインクの残量を示す残量情報を取得する取得手段と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示手段と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する手段と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行手段とを有することを特徴とする情報処理装置。
An information processing device that outputs recording information to a recording device,
Analysis means for analyzing the ink color used in the recording apparatus,
Acquisition means for acquiring remaining amount information indicating the remaining amount of ink of the ink color to be used analyzed by the analysis means,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. Display means for displaying a second window capable of instructing whether to execute or stop cleaning in the case;
Means for outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. An information processing apparatus comprising:
記録装置に記録情報を出力する情報処理装置であって、
前記記録装置の記録モードがモノクロモードかカラーモードかを判断する判断手段と、
前記判断手段での判断結果に基づいて、使用するインク色のインクの残量を示す残量情報を取得する取得手段と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示手段と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する手段と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行手段とを有することを特徴とする情報処理装置。
An information processing device that outputs recording information to a recording device,
Determining means for determining whether the printing mode of the printing apparatus is a monochrome mode or a color mode,
An obtaining unit configured to obtain remaining amount information indicating a remaining amount of ink of an ink color to be used, based on a result of the determination by the determining unit;
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. Display means for displaying a second window capable of instructing whether to execute or stop cleaning in the case;
Means for outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. An information processing apparatus comprising:
インクカートリッジが無いと判別された場合にインクカートリッジの装着を実行したか中止するか指示可能な第1画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示手段と、
前記表示手段に第1画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示手段に第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行う手段とを有することを特徴とする情報処理装置。
When it is determined that there is no ink cartridge, the first screen that allows an instruction to execute or cancel the installation of the ink cartridge is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge is replaced. Display means for displaying a second screen capable of instructing whether to perform or abort;
When a stop instruction is given in a state where the first screen is displayed on the display means, the print processing is not performed, and the stop instruction is given in a state where the second screen is displayed on the display means. Means for performing a printing process in a case.
インクが無いと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第3画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示手段と、
前記表示手段に第3画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示手段に第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行う手段とを有することを特徴とする情報処理装置。
When it is determined that there is no ink, a third screen for instructing whether to execute or cancel the ink cartridge replacement is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge replacement is performed. Display means for displaying a second screen capable of instructing whether to perform or abort;
When a stop instruction is given in a state where the third screen is displayed on the display means, the print processing is not performed, and the stop instruction is given in a state where the second screen is displayed on the display means. And a means for performing a printing process in the case.
記録装置に記録情報を出力する情報処理装置における情報処理方法であって、
前記記録装置のインクの残量を示す残量情報を取得する取得工程と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示工程と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する工程と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行工程とを有することを特徴とする情報処理方法。
An information processing method in an information processing device that outputs recording information to a recording device,
An acquisition step of acquiring remaining amount information indicating the remaining amount of ink of the recording apparatus,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. A display step of displaying a second window capable of instructing whether to execute or stop cleaning in the case;
A step of outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. An information processing method comprising:
記録装置に記録情報を出力する情報処理装置における情報処理方法であって、
前記記録装置で使用するインク色を解析する解析工程と、
前記解析工程で解析した使用するインク色のインクの残量を示す残量情報を取得する取得工程と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示工程と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する工程と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行工程とを有することを特徴とする情報処理方法。
An information processing method in an information processing device that outputs recording information to a recording device,
An analyzing step of analyzing an ink color used in the recording apparatus,
An obtaining step of obtaining remaining amount information indicating a remaining amount of ink of an ink color to be used analyzed in the analyzing step,
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. A display step of displaying a second window capable of instructing whether to execute or stop cleaning in the case;
A step of outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. An information processing method comprising:
記録装置に記録情報を出力する情報処理装置における情報処理方法であって、
前記記録装置の記録モードがモノクロモードかカラーモードかを判断する判断工程と、
前記判断工程での判断結果に基づいて、使用するインク色のインクの残量を示す残量情報を取得する取得工程と、
前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示する表示工程と、
クリーニングを実行することが指示された場合はクリーニング実行コマンドを前記記録装置に出力する工程と、
クリーニングを中止することが指示された場合、記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、記録装置からクリーニング終了信号を受信した場合、記録情報を生成する処理を実行する実行工程とを有することを特徴とする情報処理方法。
An information processing method in an information processing device that outputs recording information to a recording device,
A determining step of determining whether the printing mode of the printing apparatus is a monochrome mode or a color mode,
An obtaining step of obtaining remaining amount information indicating a remaining amount of ink of an ink color to be used, based on a result of the determination in the determining step;
In response to the acquisition of the remaining amount information, the user is prompted to replace the ink cartridge, and a first window is displayed in which it is possible to instruct whether to perform or cancel the replacement of the ink cartridge. A display step of displaying a second window capable of instructing whether to execute or stop cleaning in the case;
A step of outputting a cleaning execution command to the recording device when instructed to execute cleaning,
When it is instructed to stop the cleaning, the process of generating the record information is stopped, and the process is in a standby state until the start is instructed. When a cleaning end signal is received from the recording device, the process of generating the record information is executed. An information processing method comprising:
インクカートリッジが無いと判別された場合にインクカートリッジの装着を実行したか中止するか指示可能な第1画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示ステップと、
前記表示ステップにより第1画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示ステップにより第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行うステップとを有することを特徴とする情報処理方法。
When it is determined that there is no ink cartridge, the first screen that allows an instruction to execute or cancel the installation of the ink cartridge is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge is replaced. A display step of displaying a second screen capable of instructing whether to perform or cancel;
When a stop instruction is issued in a state where the first screen is displayed in the display step, the print processing is not performed, and the stop instruction is issued in a state where the second screen is displayed in the display step. Performing a printing process in a case.
インクが無いと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第3画面の表示を行い、インク残量が十分でないと判別された場合にインクカートリッジの交換を実行したか中止するかを指示可能な第2画面の表示を行う表示ステップと、
前記表示ステップにより第3画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行わず、前記表示ステップにより第2画面の表示が行われた状態で中止指示が行われた場合に印刷処理を行うステップとを有することを特徴とする情報処理方法。
When it is determined that there is no ink, a third screen for instructing whether to execute or cancel the ink cartridge replacement is displayed, and when it is determined that the ink remaining amount is not sufficient, the ink cartridge replacement is performed. A display step of displaying a second screen capable of instructing whether to perform or cancel;
When a stop instruction is issued in a state where the third screen is displayed in the display step, the print processing is not performed, and the stop instruction is issued in a state where the second screen is displayed in the display step. Performing a printing process in a case.
前記実行手段は、インクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を中止し、開始が指示されるまで待機状態とすることを特徴とする請求項1乃至3のいずれかに記載の情報処理装置。4. The printing apparatus according to claim 1, wherein the execution unit stops the process of generating the recording information when the instruction to stop the replacement of the ink cartridge is issued, and waits until the start is instructed. An information processing apparatus according to any one of the above. 前記実行手段は、インクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を実行することを特徴とする請求項1乃至3のいずれかに記載の情報処理装置。The information processing apparatus according to claim 1, wherein the execution unit executes a process of generating recording information when an instruction to stop replacement of the ink cartridge is issued. 前記実行手段は、インクカートリッジ無しまたはインク無しでインクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、インクが残りわずかでインクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を実行することを特徴とする請求項1乃至3のいずれかに記載の情報処理装置。When the execution means is instructed to stop replacing the ink cartridge without the ink cartridge or without the ink, the execution means stops the process of generating the recording information, enters a standby state until the start is instructed, and runs out of ink. 4. The information processing apparatus according to claim 1, wherein when the instruction to stop the replacement of the ink cartridge is issued, a process for generating recording information is executed. 前記表示手段は、画像記録指示に基づき、前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示することを特徴とする請求項1乃至3のいずれかに記載の情報処理装置。The display means prompts replacement of the ink cartridge in response to the acquisition of the remaining amount information based on the image recording instruction, and displays a first window capable of instructing whether to execute or cancel the replacement of the ink cartridge. 4. The information processing apparatus according to claim 1, wherein when an instruction is given to execute the replacement of the cartridge, a second window capable of instructing whether to execute or stop the cleaning is displayed. . 前記実行ステップは、インクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を中止し、開始が指示されるまで待機状態とすることを特徴とする請求項6乃至8のいずれかに記載の情報処理方法。9. The method according to claim 6, wherein in the execution step, when it is instructed to stop the replacement of the ink cartridge, the process of generating the recording information is stopped, and a standby state is set until the start is instructed. The information processing method according to any one of the above. 前記実行ステップは、インクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を実行することを特徴とする請求項6乃至8のいずれかに記載の情報処理方法。9. The information processing method according to claim 6, wherein the execution step executes a process of generating recording information when an instruction to stop replacement of the ink cartridge is issued. 前記実行ステップは、インクカートリッジ無しまたはインク無しでインクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を中止し、開始が指示されるまで待機状態とし、インクが残りわずかでインクカートリッジの交換を中止することが指示された場合は記録情報を生成する処理を実行することを特徴とする請求項6乃至8のいずれかに記載の情報処理方法。In the execution step, when it is instructed to stop the ink cartridge replacement without the ink cartridge or the ink, the process of generating the recording information is stopped, and the process is set to a standby state until the start is instructed. 9. The information processing method according to claim 6, wherein a process for generating recording information is executed when an instruction to stop the replacement of the ink cartridge is given in step (a). 前記表示ステップは、画像記録指示に基づき、前記残量情報の取得に応じてインクカートリッジの交換を促し、かつインクカートリッジの交換を実行したか中止するか指示可能な第1ウインドウを表示し、インクカートリッジの交換を実行したことが指示された場合はクリーニングを実行するか中止するかを指示可能な第2ウインドウを表示することを特徴とする請求項6乃至8のいずれかに記載の情報処理方法。The display step prompts replacement of the ink cartridge in response to the acquisition of the remaining amount information based on the image recording instruction, and displays a first window capable of instructing whether to execute or cancel the replacement of the ink cartridge. 9. The information processing method according to claim 6, further comprising displaying a second window capable of instructing whether to execute or stop the cleaning when the instruction to execute the cartridge replacement is issued. .
JP2002209703A 2002-07-18 2002-07-18 Information processing apparatus and information processing method Expired - Fee Related JP3581700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002209703A JP3581700B2 (en) 2002-07-18 2002-07-18 Information processing apparatus and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002209703A JP3581700B2 (en) 2002-07-18 2002-07-18 Information processing apparatus and information processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP25524794A Division JP3359160B2 (en) 1994-10-20 1994-10-20 Information processing apparatus and information processing method

Publications (2)

Publication Number Publication Date
JP2003131859A JP2003131859A (en) 2003-05-09
JP3581700B2 true JP3581700B2 (en) 2004-10-27

Family

ID=19195849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002209703A Expired - Fee Related JP3581700B2 (en) 2002-07-18 2002-07-18 Information processing apparatus and information processing method

Country Status (1)

Country Link
JP (1) JP3581700B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4487579B2 (en) 2004-02-02 2010-06-23 セイコーエプソン株式会社 Printing apparatus and recording head cleaning method
CN101486272B (en) 2008-01-15 2013-01-30 珠海纳思达电子科技有限公司 Print head chip protector, ink cartridge thereof and control method
JP2010276756A (en) * 2009-05-27 2010-12-09 Sharp Corp Image forming apparatus

Also Published As

Publication number Publication date
JP2003131859A (en) 2003-05-09

Similar Documents

Publication Publication Date Title
EP0707969B1 (en) Information processing apparatus and method for use in system with remote printer
US5927872A (en) Handy printer system
US7438370B2 (en) Display control method and apparatus for printer
US6137503A (en) Ink jet recording apparatus
JP3359160B2 (en) Information processing apparatus and information processing method
JPH0998243A (en) Recorder and facsimile equipment using the recorder
US7148977B2 (en) Consumable availability with print preview
US6729711B1 (en) Ink jet recording apparatus
JP3581700B2 (en) Information processing apparatus and information processing method
JP2001315385A (en) Manual scanning type ink jet printer
JP2003039696A (en) Method for detecting residual quantity of ink and ink jet recorder
CN101021772A (en) Printing apparatus and printing method
CN109774316A (en) Droplet ejection apparatus and droplet discharge method
JP4788558B2 (en) Printing system, printing method, control device, and program
CN103101338B (en) Printing device, messaging device and their control method
JP6818427B2 (en) Printing equipment and printing method
JP2002337366A (en) Image recording apparatus, information processing apparatus, image recording system and controlling method therefor
JPH08112907A (en) Ink jet recording apparatus
JP3262463B2 (en) Information processing apparatus and information processing method
JP2004058616A (en) Control device used in liquid jet device and method of controlling
US20040067084A1 (en) Cost per page indication
US11958299B2 (en) Printing apparatus, information processing apparatus, and program
US11531856B2 (en) Printing apparatus and method for controlling printing apparatus
US6746094B1 (en) Imaging system and method of determining insufficient colorant
JP2004042279A (en) Recorder and its controlling method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040209

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040723

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130730

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees