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

Information processing apparatus and information processing method

Info

Publication number
JP3359160B2
JP3359160B2 JP25524794A JP25524794A JP3359160B2 JP 3359160 B2 JP3359160 B2 JP 3359160B2 JP 25524794 A JP25524794 A JP 25524794A JP 25524794 A JP25524794 A JP 25524794A JP 3359160 B2 JP3359160 B2 JP 3359160B2
Authority
JP
Japan
Prior art keywords
ink
printer
message
flag
ink cartridge
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
JP25524794A
Other languages
Japanese (ja)
Other versions
JPH08118675A (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 JP25524794A priority Critical patent/JP3359160B2/en
Priority to US08/543,929 priority patent/US6771378B2/en
Priority to EP95116499A priority patent/EP0707969B1/en
Priority to DE69532600T priority patent/DE69532600T2/en
Publication of JPH08118675A publication Critical patent/JPH08118675A/en
Application granted granted Critical
Publication of JP3359160B2 publication Critical patent/JP3359160B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、インクタンクより記録
ヘッドにインクを供給して該記録ヘッドのノズルよりイ
ンク滴を飛翔させて記録を行なうインクジェット記録装
置等の記録装置を制御するホストコンピュ−タ等の情報
処理装置及び該装置における情報処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a host computer for controlling a recording apparatus such as an ink-jet recording apparatus which supplies ink from an ink tank to a recording head and performs recording by causing ink droplets to fly from nozzles of the recording head. The present invention relates to an information processing apparatus such as a personal computer and an information processing method in the apparatus.

【0002】[0002]

【従来の技術】インクジェット記録装置におけるインク
残量検知機能は、インクが無いままで印字を行ってしま
うことによる印字不良を未然に防止する効果がある。こ
れはインクタンク内のインク量を検知して、その残量を
表示、あるいは残量が少なくなった場合に、警告を発し
たり、印字動作を停止させるものである。
2. Description of the Related Art The function of detecting the remaining amount of ink in an ink jet recording apparatus has the effect of preventing printing defects due to printing without ink. This is to detect the amount of ink in the ink tank and display the remaining amount, or 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 an ink tank.

【0004】まず、インクセンサに何らかのセンサを設
け、インクの残量を直接測定する方式が挙げられる。こ
れには、インクタンク内にインクに接した2本の電極を
設け、インク残量に応じて電極間の抵抗値が変化するこ
とを検知する方法や、インクタンク内のインクに光を入
射させ、インクがあるときは光が吸収され、インクが無
いときには光が透過するので、これを光検出器で検出し
てインクの有無を検出する方法がある。これらの方式を
以下「センサ方式」と呼ぶことにする。
First, there is a method in which some kind of sensor is provided in the ink sensor and the remaining amount of ink is directly measured. For this purpose, 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, and a method of irradiating the ink in the ink tank with light. 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】また別の方式として、記録ドットより吐出
されるインク滴の吐出回数を計数し、あらかじめ見積も
った1個のインクタンクで吐出可能なインク滴数すなわ
ち記録ドット数とを比較することによって消費量を間接
的に推定する方式がある。この方式を以下「ドットカウ
ント方式」と呼ぶ。
As another method, the number of ink droplets ejected from a recording dot 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 by comparing the number of ink droplets that can be ejected from one ink tank. There is a method to estimate the amount indirectly. This method is hereinafter referred to as “dot counting method”.

【0006】[0006]

【発明が解決しようとする課題】以上の様な記録装置を
制御するホストコンピュ−タは、記録装置のインク残量
の状態を把握することができず、ユ−ザにその状態を視
覚的に報知することができなかった。
The host computer that controls the above-described recording apparatus cannot grasp the state of the ink remaining amount of the recording apparatus, and visually informs the user of the state. I could not report.

【0007】かかる問題点を解決するために本発明の目
的は、記録装置で使用するインク色を解析し、解析した
使用するインク色のインクカートリッジの残量を示す残
量情報を記録装置から取得し、残量情報の取得に応じ
て、使用するインク色のインクカートリッジの交換或は
情報処理装置での処理続行をユーザーに選択させるため
のメッセージを表示手段に表示させる情報処理装置及び
情報処理方法を提供することである。
SUMMARY OF THE INVENTION In order to solve such a problem, an object of the present invention is to analyze an ink color used in a printing apparatus and obtain remaining amount information indicating the remaining amount of the analyzed ink color of the ink cartridge from the printing apparatus. An information processing apparatus and an information processing method for displaying, on a display unit, a message for allowing a user to select replacement of an ink cartridge of an ink color to be used or continuation of processing in an information processing apparatus in response to acquisition of remaining amount information It is to provide.

【0008】[0008]

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【課題を解決するための手段】上記問題点を解決するた
めに本発明の情報処理装置は、記録装置を制御する情報
処理装置であって、前記記録装置で使用するインク色を
原画像から解析する解析手段と、前記解析手段で解析し
た使用色のインク無しフラグを判別する判別手段と、前
記判別手段により判別される使用色のインク無しフラグ
により使用色のインクカートリッジにインクがないと判
断される場合、インクカートリッジの交換を促すメッセ
ージの表示をすべく、またインクカートリッジが交換さ
れたと判断される場合、クリーニングの実行を行うか否
かを示すメッセージの表示をすべく、表示を制御する表
示制御手段とを有することを特徴とする。
In order to solve the above-mentioned problems, an information processing apparatus according to the present invention is an information processing apparatus for controlling a recording apparatus, wherein an ink color used in the recording apparatus is controlled.
Analyzing means for analyzing from the original image ; determining means for determining a no-ink flag of the used color analyzed by the analyzing means; and If it is determined that the ink cartridge is not replaced, a message prompting replacement of the ink cartridge is displayed, and if it is determined that the ink cartridge is replaced, a message indicating whether or not to execute cleaning is displayed. And display control means for controlling the

【0014】上記問題点を解決するために本発明の情報
処理方法は、記録装置を制御する情報処理装置における
情報処理方法であって、前記記録装置で使用するインク
色を原画像から解析する解析工程と、前記解析工程で解
析した使用色のインク無しフラグを判別する判別工程
と、前記判別工程により判別される使用色のインク無し
フラグにより使用色のインクカートリッジにインクがな
いと判断される場合、インクカートリッジの交換を促す
メッセージの表示をすべく、またインクカートリッジが
交換されたと判断される場合、クリーニングの実行を行
うか否かを示すメッセージの表示をすべく、表示を制御
する表示制御工程とを有することを特徴とする。
An information processing method according to the present invention for solving the above-mentioned problems is an information processing method for an information processing apparatus for controlling a printing apparatus, the analysis method for analyzing an ink color used in the printing apparatus from an original image. A step of determining an ink absence flag of a use color analyzed in the analysis step; and a case where it is determined that there is no ink in the ink cartridge of the use color by the ink absence flag of the use color determined in the determination step. A display control step of controlling the display so as to display a message prompting replacement of the ink cartridge, and to display a message indicating whether or not to execute cleaning when it is determined that the ink cartridge has been replaced. And characterized in that:

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【0024】[0024]

【0025】[0025]

【作用】以上の構成によれば、記録装置のインク残量の
状態をホストコンピュ−タが把握することができ、ユ−
ザにその状態を視覚的に報知してその後の処理の選択を
表示手段上でユ−ザに選択させることができる。
According to the above arrangement, the host computer can grasp the state of the ink remaining amount of the recording apparatus, and
The user can be visually notified of the state, and the user can select the subsequent processing on the display means.

【0026】[0026]

【実施例】以下、図面を参照して本発明における記録装
置およびその制御方法を詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a recording apparatus according to the present invention;

【0027】(実施例1)図1は、本発明の実施例にお
けるプリンタシステムの構成図である。
(Embodiment 1) FIG. 1 is a configuration diagram of a printer system according to an embodiment of the present invention.

【0028】図1において101は画像を記録するプリ
ンタ装置、110は記録画像データ(記録情報)の生
成、および利用者の指示を受け付けるホストコンピュー
タであり、これらは双方向の通信が可能なインターフェ
ースで接続されている。このインターフェースは有線、
電波・赤外線等を用いた無線いずれのタイプでも良い。
In FIG. 1, reference numeral 101 denotes a printer for recording an image; 110, a host computer for generating recording image data (recording information) and receiving instructions from a user; these are interfaces capable of two-way communication; It is connected. This interface is wired,
Any type of radio using radio waves or infrared rays may be used.

【0029】本実施例におけるプリンタ装置101はイ
ンクジェット記録方式のものを用いている。プリンタ装
置101において、102はプリンタ装置全体の制御を
行うコントローラ(CPU)で、電源のオン/オフスイ
ッチ、インターフェースの制御を行うオンラインスイッ
チ、ステータスを表示するランプ等で構成された操作パ
ネル103と、被記録材に対してインクを飛翔させ画像
を記録する印字ヘッド104と、印字ヘッドを搭載した
キャリッジを印字ヘッドに対して鉛直方向に動作させる
キャリッジモータ105と、被記録材を給排紙し、被記
録材を搬送する紙送りモータ106と、ホストコンピュ
ータから送出されたデータを一時記憶したり、印字直前
の画像データ(記録情報)を例えばバンドサイズ毎に蓄
えるメモリー107とインクカートリッジの有無や、イ
ンクカートリッジ内のインク残量を検知するインクセン
サ108と、使用頻度が高い文字や絵文字等が記録され
ている内蔵フォント109等からなっている。本実施例
のインクジェット記録装置はカラー記録可能なプリンタ
装置であり、印字ヘッド104はブラック、シアン、マ
ゼンタ、イエローの4色の印字ヘッドをキャリッジに搭
載している。なお、本実施例においてホストコンピュ−
タ110から入力される記録情報(ビットイメ−ジ情
報)は、バンドサイズ毎に記録装置に入力され、記録装
置はバンドサイズ毎に記録媒体に記録情報を記録する。
また、記録装置が1ペ−ジ毎に記録情報を記録するペ−
ジプリンタの場合には、ホストコンピュ−タからは1ペ
−ジ単位に記録情報が記録装置に入力されても良い。ま
た、記録装置がビットマップ展開機能(記録情報生成処
理)を有する場合には、ホストコンピュ−タは文字コ−
ド、制御コ−ドからなるPDL(Page Descr
iption Language)等のプリンタ言語を
バンドサイズ或は1ペ−ジ単位に記録装置に入力しても
良い。
The printer 101 of 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 status, and the like; A print head 104 for ejecting ink onto 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, the host computer
The recording information (bit image information) input from the data 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.
Further, a page in which the recording device records the record information for each page.
In the case of a digital printer, 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 transmits a character code.
PDL (Page Decr.)
A printer language, such as option language, may be input to the printing apparatus in band size or per page.

【0030】ホストコンピュータ110において、不図
示のCPUは、作図・作表や文書作成等を行うアプリケ
ーションソフトウエア113とOSシステム111を用
いて、プリンタドライバ114が要求したプリンタの解
像度に対応したビットマップデータ(記録情報)を不図
示のRAMに展開する。この際に、ベクトル情報からな
る文字画像などはフォントラスタライザ112を用い
て、所定ビットマップデータ(記録情報)に展開する。
更に、不図示のCPUは、所定ビットマップデータに展
開された記録情報をプリンタドライバ114を用いてプ
リンタ装置101で記録できるような記録情報を生成
し、プリンタ制御コードを付加した後にプリンタ装置に
送信する。また、プリンタドライバ114はステータス
ウインドウ115によりデータの処理状態やプリンタの
状態を随時、利用者に示すことができる。
In the host computer 110, a CPU (not shown) uses an application software 113 for drawing, creating a table, creating a document, and the like, and an OS system 111, using a bitmap corresponding to the printer resolution requested by the printer driver 114. The data (recording 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 which can be printed by the printer device 101 using the printer driver 114, and transmits the print information expanded to the predetermined bitmap data to the printer device after adding a printer control code. I do. Further, the printer driver 114 can indicate the processing status of data and the status of the printer to the user at any time by using the status window 115.

【0031】なお、図2〜図14のフロ−チャ−トに示
すプログラムは、プリンタドライバ114に格納されて
おり、不図示のCPUにより実行される。
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).

【0032】図2、図3に本実施例における処理のフロ
ーチャートを示す。
FIGS. 2 and 3 show flowcharts of the processing in this embodiment.

【0033】まず、プログラムがスタートすると図2の
ステップS101でプリンタのステータス情報の受信を
開始する。ステップS102で記録情報生成処理開始す
る指示を受けると、ステップS103でプリンタのイン
クカートリッジ有無フラグを判別する。インクカートリ
ッジ有無フラグが0すなわちプリンタにインクカートリ
ッジが装着されている場合にはステップS104へ進
む。ステップS104ではプリンタのインク無しフラグ
を判別する。インク無しフラグが0すなわちインクカー
トリッジにインクが有る場合には、ステップS105へ
進む。ステップS105ではインク残量フラグを判別す
る。インク残量フラグが0すなわちインク残量が十分で
ある場合には、ステップS106へ進む。ステップS1
06では画像をプリンタで記録するためのデータに変換
する記録情報生成処理をバンドサイズ毎に行い、ステッ
プS107でプリンタへ記録情報をバンドサイズ毎に出
力する。
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. When the ink remaining amount flag is 0, that is, when the ink remaining amount is sufficient, the process proceeds to step S106. Step S1
In step 06, 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.

【0034】なお、記録情報は、ビットマップデ−タで
あるが、プリンタ101がビットマップ展開する機能を
有する場合には、記録情報は文字コ−ドや制御コ−ドか
ら構成される例えばPDLの様なプリンタ言語でも良
い。
Although the recording information is bitmap data, if the printer 101 has a function of developing a bitmap, the recording information is composed of character codes and control codes, for example, PDL. Printer language such as

【0035】ステップS103でインクカートリッジ有
無フラグが1すなわちプリンタにインクカートリッジが
装着されていない場合にはステップS110へ進み、記
録情報生成処理を一時停止する。ステップS111でメ
ッセージ1を表示する。メッセージ1は図15に示すよ
うなステータスウインドウ画面で表示される。図15の
ステータスウインドウ画面はインクカートリッジが装着
されていないこと、および装着されていないインク色の
表示と、実行ボタンおよび中止ボタンからなる。各ボタ
ンはホストコンピュータのマウスやキーボード等の入力
手段により選択機能実行される。図15のステータスウ
インドウのメッセージに従って、インクカートリッジを
装着し、実行ボタンを押すと、図2のステップS112
でインクカートリッジが交換されたと判断して、図3の
ステップS301へ進む。図15のステータスウインド
ウの中止ボタンを押すと図2のステップS112でイン
クカートリッジは交換されず、ステップS113で強制
解除が指示されたものと判断し、記録情報生成処理がす
べて中止され、ステップS102で記録情報生成処理開
始が再度指示されるまで待機状態となる。
If the ink cartridge presence / absence flag is 1 in step S103, that is, if no ink cartridge is installed in the printer, the flow advances to step S110 to temporarily stop the recording information generation processing. 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 shown in FIG. 15, the process proceeds to step S112 in FIG.
It is determined that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. When the stop button of 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. It is in a standby state until the start of the recording information generation processing is again instructed.

【0036】図3のステップS301へ進んだ場合に
は、メッセージ4を表示する。メッセージ4は図19に
示すようなステータスウインドウ画面で表示される。図
19のステータスウインドウ画面ではプリンタで記録ヘ
ッドのクリーニングを実行することのメッセージと実行
および中止ボタンが表示される。各ボタンはホストコン
ピュータのマウスやキーボード等の入力手段により選択
機能実行される。中止ボタンを押すと、図3のステップ
S302で強制解除が指示されたものと判断し、記録情
報生成処理がすべて中止され、図2のステップS102
で記録情報生成処理開始が再度指示されるまで待機状態
となる。ここで、図3のステップS302で強制解除が
指示されたものと判断した場合は、図15のステータス
ウインドウのメッセージを再度表示するように図2のス
テップS111に戻るようにしても良い。図19のステ
ータスウインドウの実行ボタンを押すと図3のステップ
S303で実行指示を受けて、ステップS304でプリ
ンタに対してクリーニング実行コマンドを出力する。プ
リンタはこのクリーニング実行コマンドをうけてクリー
ニング動作を開始するするとともにクリーニング実行フ
ラグを1とする。プリンタはクリーニング動作を終了す
ると直ちにクリーニング実行フラグを0とする。ステッ
プS305でクリーニング終了のステータスすなわちク
リーニング実行フラグ=0を受信すると、対応色のイン
クカートリッジ有無フラグをリセットし、ステップS3
07で記録情報生成処理が再開され図2のステップS1
04へ進む。図3 のステップS306のフラグリセッ
トはプリンタ本体で自己検知リセットさせても良い。
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. In 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.
The standby state is established until the start of the recording information generation processing is again instructed. Here, when 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 step S3 is performed.
07, the recording information generation processing is restarted, and step S1 in FIG.
Go to 04. The flag reset in step S306 in FIG. 3 may be reset by self-detection in the printer body.

【0037】図2のステップS104でインク無しフラ
グが1すなわちインクカートリッジにインクがない場合
にはステップS114へ進み、記録情報生成処理を一時
停止する。ステップS115でメッセージ2を表示す
る。メッセージ2は図16に示すようなステータスウイ
ンドウ画面で表示される。図16のステータスウインド
ウ画面はインクカートリッジにインクが無いこと、およ
び対応するインク色の表示と、実行ボタンおよび中止ボ
タンからなる。各ボタンはホストコンピュータのマウス
やキーボード等の入力手段により選択機能実行される。
図16のステータスウインドウのメッセージに従って、
インクカートリッジを交換し、実行ボタンを押すと、図
2のステップS116でインクカートリッジが交換され
たと判断して、図3のステップS301へ進む。図16
のステータスウインドウの中止ボタンを押すとステップ
図2のS116でインクカートリッジは交換されず、ス
テップS117で強制解除が指示されたものと判断し、
記録情報生成処理がすべて中止され、図2のステップS
102で記録情報生成処理開始が再度指示されるまで待
機状態となる。
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 flow advances 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.
According to the message in the status window of FIG.
When the ink cartridge is replaced and the execute button is pressed, it is determined in step S116 in FIG. 2 that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. FIG.
When the user presses the stop button in the status window, it is determined that the ink cartridge has not been replaced in step S116 of FIG. 2 and that the forced release has been instructed in step S117.
All the recording information generation processing is stopped,
At 102, the apparatus enters a standby state until the start of the recording information generation processing is instructed again.

【0038】図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のフラグリセットはプリンタ本
体で自己検知リセットさせても良い。
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 forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped.
The standby state is established until the start of the recording information generation processing is again instructed. 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 as 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 S105 in FIG.
The flag reset at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0039】図2のステップS105でインク残量フラ
グが1すなわちインクカートリッジのインク残量が残り
わずかの場合にはステップS118へ進み、記録情報生
成処理を一時停止する。ステップS119でメッセージ
3を表示する。メッセージ3は図17に示すようなステ
ータスウインドウ画面で表示される。図17のステータ
スウインドウ画面はインクカートリッジのインクが残り
わずかであり、画像によっては途中で印字できなくなる
可能性があるメッセージ文、および対応するインク色の
表示と、実行ボタンおよび中止ボタンからなる。各ボタ
ンはホストコンピュータのマウスやキーボード等の入力
手段により選択機能実行される。図17のステータスウ
インドウのメッセージに従って、新しいインクカートリ
ッジに交換し、実行ボタンを押すと、図2のステップS
120でインクカートリッジが交換されたと判断して、
図3のステップS301へ進む。図17のステータスウ
インドウの中止ボタンを押すと図2のステップS120
でインクカートリッジは交換されず、ステップS121
で強制解除が指示されたものと判断し、ステップS12
2で記録情報生成処理が再開され、ステップS106へ
進む。インク残量が残りわずかである場合でも、文字が
主体の一般文書のような記録ドット密度が低い画像にお
いては数枚程度記録印字できるため、新規インクカート
リッジに交換するかそのまま続行するかは利用者の判断
にまかせ、この場合には、記録情報生成処理を強制中止
しない。
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 flow advances to step S118 to temporarily stop the recording information generation processing. 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 small and may not be able to be printed depending on the image, a display of 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 in FIG. 17 and the execution button is pressed, the process proceeds to step S in FIG.
At 120, it is determined that the ink cartridge has been replaced,
The process proceeds to step S301 in FIG. When the stop button in the status window of FIG. 17 is pressed, step S120 of FIG.
In step S121, the ink cartridge is not replaced.
In step S12, it is determined that forced cancellation has been instructed.
In step 2, the recording information generation process is restarted, and the process proceeds to step S106. Even when the ink level is very low, several images can be recorded and printed on an image with a low recording dot density, such as a general document mainly composed of characters. In this case, the recording information generation process is not forcibly stopped.

【0040】図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のフラグリセットはプリン
タ本体で自己検知リセットさせても良い。
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 forcible release has been instructed in step S302 of FIG. 3, and all the recording information generation processing is stopped.
Then, the apparatus enters a standby state until an instruction to start the recording information generation processing is issued again. Here, if it is determined in step S302 in FIG. 3 that the forced cancellation 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0041】図2のステップS108で全画像データ
(記録情報)が出力されたと判断されるまで上記ステッ
プS103、ステップS104、ステップS105の各
フラグ状態の判別処理が繰り返される。ステップS10
8で全画像データ(記録情報)が出力されたと判断する
とステップS109へ進み、ステップS109でプログ
ラム終了が指示されなければステップS102で次の記
録情報生成処理開始指示の待機状態となる 本実施例においては、プリンタのインクカートリッジ有
無、インク無し、インク残量の状態がホストコンピュー
タ上で認識できるため、プリンタ装置とホストコンピュ
ータが離れた場所にある場合、ネットワーク等でプリン
タ装置を共有している場合に対応が容易となる。
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 each flag state in steps S103, S104, and S105 is repeated. Step S10
If it is determined in step 8 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 waits for the next recording information generation processing start instruction in step S102. Can be recognized on the host computer as to whether the printer has an ink cartridge, no ink, and the remaining amount of ink.Therefore, when the printer is separated from the host computer or when the printer is shared over a network, etc. The response becomes easy.

【0042】(実施例2)図3、図4に本実施例におけ
る処理のフローチャートを示す。
(Embodiment 2) FIGS. 3 and 4 show flowcharts of processing in this embodiment.

【0043】まずプログラムがスタートすると図4のス
テップS401でプリンタのステータス情報の受信を開
始する。ステップS402で記録情報生成処理開始する
指示を受けると、ステップS403で使用するインク色
を原画像から解析する。一般にプリンタドライバはOS
システムに対してアプリケーションソフトで作画した記
録情報をプリンタの解像度に対応した画像に変換・展開
するように指示する。この場合にプリンタの解像度が3
60dpi等の高解像度の場合には、画像の展開処理や
利用色の解析負荷が大きいため、原画像の利用色を解析
する場合には72dpi等で一度低解像度で画像全体を
展開し解析することで、画像の展開や利用色の解析を高
速に行うことができ、利用メモリ容量も低減させること
ができる。
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, the printer driver is OS
It instructs the system to convert and develop the recording information created by the application software into an image corresponding to the resolution of the printer. In this case, the resolution of the printer is 3
In the case of high resolution such as 60 dpi, the load of image development processing and analysis of colors used is large. Therefore, when analyzing the color used in the original image, the entire image must be once expanded and analyzed in low resolution at 72 dpi or the like. Thus, the development of the image and the analysis of the used colors can be performed at high speed, and the used memory capacity can be reduced.

【0044】次に、ステップS404で使用色のインク
カートリッジ有無フラグを判別する。使用色のインクカ
ートリッジ有無フラグが0すなわちプリンタに使用色の
インクカートリッジが装着されている場合にはステップ
S405へ進む。ステップS405で使用色のインク無
しフラグを判別する。使用色のインク無しフラグが0す
なわち使用色のインクカートリッジにインクが有る場合
には、ステップS406へ進む。ステップS406では
使用色のインク残量フラグを判別する。使用色のインク
残量フラグが0すなわち使用色のインク残量が十分であ
る場合には、ステップS407へ進む。ステップS40
7では画像をプリンタで記録印字するための記録情報に
変換する変換処理を行い、ステップS408でプリンタ
へ記録情報を例えばバンドサイズ毎に出力する。
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. Step S40
In step 7, 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.

【0045】ステップS404で使用色のインクカート
リッジ有無フラグが1すなわち使用色のインクカートリ
ッジが装着されていない場合にはステップS411へ進
み、記録情報生成処理を一時停止する。次に、ステップ
S412でメッセージ1を表示する。メッセージ1は実
施例1で述べた図15に示すようなステータスウインド
ウ画面で表示される。図15のステータスウインドウ画
面はインクカートリッジが装着されていないこと、およ
び装着されていないインク色の表示と、実行ボタンおよ
び中止ボタンからなる。各ボタンはホストコンピュータ
のマウスやキーボード等の入力手段により選択機能実行
される。図15のステータスウインドウのメッセージに
従って、インクカートリッジを装着し、実行ボタンを押
すと、図4のステップS413でインクカートリッジが
交換されたと判断して、図3のステップS301へ進
む。図15のステータスウインドウの中止ボタンを押す
と図4のステップS413でインクカートリッジは交換
されず、ステップS414で強制解除が指示されたもの
と判断し、記録情報生成処理がすべて中止され、ステッ
プS402で記録情報生成処理開始が再度指示されるま
で待機状態となる。
If it is determined in step S404 that the ink cartridge presence / absence flag of the color to be used is 1, that is, if the ink cartridge of the color to be used is not mounted, the flow advances to step S411 to temporarily stop the recording information generation processing. 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 in the status window of FIG. 15 is pressed, the ink cartridge is not replaced in step S413 of FIG. 4, it is determined that the forced release has been instructed in step S414, and all the recording information generation processing is stopped, and in step S402. It is in a standby state until the start of the recording information generation processing is again instructed.

【0046】図3のステップS301へ進んだ場合に
は、メッセージ4を表示する。メッセージ4は実施例1
で述べた図19に示すようなステータスウインドウ画面
で表示される。図19のステータスウインドウ画面では
プリンタで記録ヘッドのクリーニングを実行することの
メッセージと実行および中止ボタンが表示される。各ボ
タンはホストコンピュータのマウスやキーボード等の入
力手段により選択機能実行される。中止ボタンを押す
と、図3のステップS302で強制解除が指示されたも
のと判断し、記録情報生成処理がすべて中止され、図4
のステップS402で記録情報生成処理開始が再度指示
されるまで待機状態となる。ここで、図3のステップS
302で強制解除が指示されたものと判断した場合に、
図15のステータスウインドウのメッセージを再度表示
させるため、図4のステップS412へ戻るようにして
も良い。図19のステータスウインドウの実行ボタンを
押すと図3のステップS303で実行指示を受けて、ス
テップS304でプリンタに対してクリーニング実行コ
マンドを出力する。プリンタはこのクリーニング実行コ
マンドをうけてクリーニング動作を開始するするととも
にクリーニング実行フラグを1とする。プリンタはクリ
ーニング動作を終了すると直ちにクリーニング実行フラ
グを0とする。ステップS305でクリーニング終了の
ステータスすなわちクリーニング実行フラグ=0を受信
すると、対応色のインクカートリッジ有無フラグをリセ
ットし、ステップS307で記録情報生成処理が再開さ
れ図4のステップS405へ進む。図3のステップS3
06のフラグリセットはプリンタ本体で自己検知リセッ
トさせても良い。
When the process proceeds to step S301 in FIG. 3, message 4 is displayed. Message 4 is Example 1
Are displayed on the status window screen as shown in FIG. In 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 cancel button is pressed, it is determined that the forced cancellation has been instructed in step S302 in FIG.
In step S402, a standby state is set until the start of the recording information generation process is instructed again. Here, step S in FIG.
If it is determined in 302 that forced cancellation 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. Step S3 in FIG.
The flag reset of 06 may be reset by self-detection in the printer body.

【0047】図4のステップS405で使用色のインク
無しフラグが1すなわち使用色のインクカートリッジに
インクがない場合にはステップS415へ進み、記録情
報生成処理処理を一時停止する。ステップS416でメ
ッセージ2を表示する。メッセージ2は先の実施例1で
述べた図16に示すようなステータスウインドウ画面で
表示される。図16のステータスウインドウ画面はイン
クカートリッジにインクが無いこと、および対応するイ
ンク色の表示と、実行ボタンおよび中止ボタンからな
る。各ボタンはホストコンピュータのマウスやキーボー
ド等の入力手段により選択機能実行される。図16のス
テータスウインドウのメッセージに従って、インクカー
トリッジを交換し、実行ボタンを押すと、図4のステッ
プS417でインクカートリッジが交換されたと判断し
て、図3のステップS301へ進む。図16のステータ
スウインドウの中止ボタンを押すと図4のステップS4
17でインクカートリッジは交換されず、ステップS4
18で強制解除が指示されたものと判断し、記録情報生
成処理がすべて中止され、ステップS402で記録情報
生成処理開始が再度指示されるまで待機状態となる。
In step S405 in FIG. 4, if the ink absence flag of the used color is 1, that is, if there is no ink in the ink cartridge of the used color, the flow advances 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 execution 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, step S4 of FIG.
In step S4, the ink cartridge is not replaced.
At 18, it is determined that the forcible release has been instructed, and all the recording information generation processing is stopped. In step S402, a standby state is set until the start of the recording information generation processing is again instructed.

【0048】図3のステップS301へ進んだ場合に
は、メッセージ4を表示する。メッセージ4は先の実施
例1で述べた図19に示すようなステータスウインドウ
画面で表示される。図19のステータスウインドウ画面
ではプリンタの記録ヘッドのクリーニングを実行するこ
とのメッセージと実行および中止ボタンが表示される。
各ボタンはホストコンピュータのマウスやキーボード等
の入力手段により選択機能実行される。中止ボタンを押
すと、ステップS302で強制解除が指示されたものと
判断し、記録情報生成処理がすべて中止され、図4のス
テップS402で記録情報生成処理開始が再度指示され
るまで待機状態となる。ここで、図3のステップS30
2で強制解除が指示されたものと判断た場合に、図16
のステータスウインドウのメッセージを再度表示するた
めに図4のステップS416に戻るようにしても良い。
図19のステータスウインドウの実行ボタンを押すと図
3のステップS303で実行指示を受けて、ステップS
304でプリンタに対してクリーニング実行コマンドを
出力する。プリンタはこのクリーニング実行コマンドを
うけてクリーニング動作を開始するするとともにクリー
ニング実行フラグを1とする。プリンタはクリーニング
動作を終了すると直ちにクリーニング実行フラグを0と
する。ステップS305でクリーニング終了のステータ
スすなわちクリーニング実行フラグ=0を受信すると、
対応色のインク無しフラグをリセットし、ステップS3
07で記録情報生成処理が再開され図4のステップS4
06へ進む。ステップS306のフラグリセットはプリ
ンタ本体で自己検知リセットさせても良い。
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 in step S302 that the forcible release has been instructed, and the recording information generation processing is all stopped. . Here, step S30 in FIG.
If it is determined in step 2 that forced cancellation has been instructed,
The process may return to step S416 in FIG. 4 in order to display the status window message again.
When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG.
At 304, a cleaning execution command is output to the printer. 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. Upon receiving the cleaning completion status, that is, the cleaning execution flag = 0 in step S305,
The ink absence flag of the corresponding color is reset, and step S3
07, the recording information generation processing is restarted, and step S4 in FIG.
Proceed to 06. The flag reset in step S306 may be reset by self-detection by the printer body.

【0049】ステップS406で使用色のインク残量フ
ラグが1すなわち使用色のインクカートリッジのインク
残量が残りわずかの場合にはステップS419へ進み、
記録情報生成処理を一時停止する。次に、ステップS4
20でメッセージ3を表示する。メッセージ3は先の実
施例1で述べた図17に示すようなステータスウインド
ウ画面で表示される。図17のステータスウインドウ画
面はインクカートリッジのインクが残りわずかであり、
画像によっては途中で印字ができなくなる可能性がある
メッセージ文および対応するインク色の表示と、実行ボ
タンおよび中止ボタンからなる。各ボタンはホストコン
ピュータのマウスやキーボード等の入力手段により選択
機能実行される。図17のステータスウインドウのメッ
セージに従って、新しいインクカートリッジに交換し、
実行ボタンを押すと、図4のステップS421でインク
カートリッジが交換されたと判断して、図3のステップ
S301へ進む。図17のステータスウインドウの中止
ボタンを押すと図4のステップS421でインクカート
リッジは交換されず、ステップS422で強制解除が指
示されたものと判断し、ステップS423で記録情報生
成処理が再開され、ステップS407へ進む。インク残
量が残りわずかである場合でも、文字主体の一般文書の
ような記録ドット密度が低い画像においては数枚程度記
録印字できるため、新規インクカートリッジに交換する
かそのまま続行するかは利用者の判断にまかせ、この場
合には、記録情報生成処理を中止しない。
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.
Pause the recording information generation process. Next, step S4
At 20, a message 3 is displayed. The message 3 is displayed on the status window screen as shown in FIG. 17 described in the first embodiment. In the status window screen of FIG. 17, the ink cartridge is running out of ink,
The message includes a message that may not be able to be printed 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. Replace the ink cartridge with a new one according to the message in the status window of FIG.
When the execution button is pressed, 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. 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 S421 of FIG. 4, that the forcible release has been instructed in step S422, and the recording information generation processing is restarted in step S423. Proceed to S407. Even when the ink level is very low, several images can be recorded and printed on images with low recording dot density, such as general text-based documents, so it is up to the user whether to replace with a new ink cartridge or continue. In this case, the recording information generation process is not stopped.

【0050】図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のフラ
グリセットはプリンタ本体で自己検知リセットさせても
良い。
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. 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 S420 in FIG. 4 in order to display the message in the status window in FIG. 17 again. When the execution button of the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG.
In step S304, a cleaning execution command is output to the printer. 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0051】図4のステップS409で全画像データ
(記録情報)が出力されたと判断されるまで上記ステッ
プS404、ステップS405、ステップS406の各
フラグ状態の判別処理が繰り返される。ステップS40
9で全画像データ(記録情報)が出力されるとステップ
S410へ進み、ステップS410でプログラム終了が
指示されなければステップS410で次の記録情報生成
処理開始指示の待機状態となる。
Until it is determined in step S409 in FIG. 4 that all the image data (recording information) has been output, the determination processing of each flag state in steps S404, S405, and S406 is repeated. Step S40
If all the image data (recording information) is output in step S9, the process proceeds to step S410, and if the end of the program is not instructed in step S410, the process waits for a next recording information generation process start instruction in step S410.

【0052】本実施例においても、プリンタのインクカ
ートリッジ有無、インク無し、インク残量の状態がホス
トコンピュータ上で認識できるため、プリンタ装置とホ
ストコンピュータが離れた場所にある場合、ネットワー
ク等でプリンタ装置を共有している場合に対応が容易と
なる。
Also in this embodiment, since the status of the ink cartridge presence / absence of ink, the absence of ink, and the remaining ink amount of the printer can be recognized on the host computer, when the printer device and the host computer are separated from each other, the printer device is connected to a network or the like. It becomes easy to deal with when sharing.

【0053】また、本実施例によれば、記録画像に使用
するインク色のみインクカートリッジ有無フラグ、イン
ク無しフラグ、インク残量フラグのステータスを検知す
るので、検知時間の短縮による記録速度向上が望め、さ
らに使用外インク色のステータス情報により不用意に画
像記録動作が停止することを防止できる。
According to the present embodiment, the status of the ink cartridge presence flag, the ink absence flag, and the ink remaining amount flag is detected only for the ink color used for the recorded image, so that the recording time can be improved by shortening the detection time. Further, it is possible to prevent the image recording operation from being stopped carelessly due to the status information of the ink color not used.

【0054】(実施例3)図3、図5、図6、図7に本
実施例における処理のフローチャートを示す。
(Embodiment 3) FIGS. 3, 5, 6, and 7 show flowcharts of processing in this embodiment.

【0055】まずプログラムがスタートすると図5のス
テップS501でプリンタのステータス情報の受信を開
始する。ステップS502で記録情報生成処理開始する
指示を受けると、ステップS503で使用するカラーモ
ードを判別する。カラーモードの選択はプリンタ本体お
よびプリンタドライバのメニュー画面上から選択指示す
ることができる。プリンタ本体での選択指示は操作パネ
ル上から実行できる。この場合、プリンタ本体側でカラ
ーモードステータス情報を有することになり、カラーモ
ードフラグ0がモノクロ印字モード、カラーモードフラ
グ=1がカラー印字モードとなる。
First, when the program starts, reception of printer status information is started in step S501 in FIG. When an instruction to start the recording information generation processing is received in step S502, the color mode to be used is determined in step S503. The selection of the color mode can be instructed from the menu screens of the printer 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.

【0056】次にステップS504へ進み、現在のカラ
ーモードがモノクロ印字モードであると判断するとステ
ップS505へ進む。ステップS505ではブラックの
インクカートリッジ有無フラグのみ判別する。ブラック
のインクカートリッジ有無フラグが0すなわちプリンタ
にブラックのインクカートリッジが装着されている場合
にはステップS506へ進む。ステップS506でブラ
ックのインク無しフラグのみ判別する。ブラックのイン
ク無しフラグが0すなわちブラックのインクカートリッ
ジにインクが有る場合には、図7のステップS701へ
進む。ステップS701ではブラックのインク残量フラ
グのみ判別する。ブラックのインク残量フラグが0すな
わちブラックのインク残量が十分である場合には、ステ
ップS702へ進む。ステップS702では画像をプリ
ンタで記録印字するためのデータに変換する記録情報生
成処理をバンドサイズ毎に行い、ステップS703でプ
リンタへ記録情報をバンドサイズ毎に出力する。
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.

【0057】図5のステップS505でブラックのイン
クカートリッジ有無フラグが1すなわちブラックのイン
クカートリッジが装着されていない場合にはステップS
507へ進み、記録情報生成処理を一時停止する。ステ
ップS508でメッセージ1を表示する。メッセージ1
は先の実施例1で述べた図15に示すようなステータス
ウインドウ画面で表示される。図15のステータスウイ
ンドウ画面はインクカートリッジが装着されていないこ
と、および装着されていないインク色の表示と、実行ボ
タンおよび中止ボタンからなる。各ボタンはホストコン
ピュータのマウスやキーボード等の入力手段により選択
機能実行される。図15のステータスウインドウのメッ
セージに従って、インクカートリッジを装着し、実行ボ
タンを押すと、ステップS509でインクカートリッジ
が交換されたと判断して、図3のステップS301へ進
む。図15のステータスウインドウの中止ボタンを押す
とステップS509でインクカートリッジは交換され
ず、ステップS510で強制解除が指示されたものと判
断し、記録情報生成処理がすべて中止され、ステップS
502で記録情報生成処理開始の再度指示があるまで待
機状態となる。
If the black ink cartridge presence / absence flag is 1 at step S505 in FIG.
Proceeding to 507, 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 execute 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 recording information generation processing is stopped.
At 502, the apparatus is in a standby state until an instruction to start the recording information generation processing is issued again.

【0058】図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のフラグリセットはプリンタ本体で自己検知リ
セットさせても良い。
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. In 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. 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 in order to display the message in the status window in FIG. 15 again. When the execution button of the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG.
In step S304, a cleaning execution command is output to the printer. 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 process is restarted in step S307, and the process proceeds to step S506 in FIG. The flag reset at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0059】図5のステップS506でブラックのイン
ク無しフラグが1すなわちブラックのインクカートリッ
ジにインクがない場合にはステップS511へ進み、記
録情報生成処理を一時停止する。ステップS511でメ
ッセージ2を表示する。メッセージ2は先の実施例1で
述べた図16に示すようなステータスウインドウ画面で
表示される。図16のステータスウインドウ画面はイン
クカートリッジにインクが無いこと、および対応するイ
ンク色の表示と、実行ボタンおよび中止ボタンからな
る。各ボタンはホストコンピュータのマウスやキーボー
ド等の入力手段により選択機能実行される。図16のス
テータスウインドウのメッセージに従って、インクカー
トリッジを交換し、実行ボタンを押すと、図5のステッ
プS513でインクカートリッジが交換されたと判断し
て、図3のステップS301へ進む。図16のステータ
スウインドウの中止ボタンを押すとステップS513で
インクカートリッジは交換されず、ステップS514で
強制解除が指示されたものと判断し、記録情報生成処理
がすべて中止され、ステップS502で記録情報生成処
理開始が再度指示されるまで待機状態となる。
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 execution 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 recording information generation processing is stopped. The processing is in a standby state until the processing start is instructed again.

【0060】図3のステップS301へ進んだ場合に
は、メッセージ4を表示する。メッセージ4は先の実施
例1で述べた図19に示すようなステータスウインドウ
画面で表示される。図19のステータスウインドウ画面
ではプリンタで記録ヘッドのクリーニングを実行するこ
とのメッセージと実行および中止ボタンが表示される。
各ボタンはホストコンピュータのマウスやキーボード等
の入力手段により選択機能実行される。中止ボタンを押
すと、図3のステップS302で強制解除が指示された
ものと判断し、記録情報生成処理がすべて中止され、ス
テップS502で記録情報生成処理開始が再度指示され
るまで待機状態となる。ここで、図3のステップS30
2で強制解除が指示されたものと判断した場合、図16
のステータスウインドウのメッセージを再度表示するた
めに、図5のステップS512へ戻るようにしても良
い。図19のステータスウインドウの実行ボタンを押す
と図3のステップS303で実行指示を受けて、ステッ
プS304でプリンタに対してクリーニング実行コマン
ドを出力する。プリンタはこのクリーニング実行コマン
ドをうけてクリーニング動作を開始するするとともにク
リーニング実行フラグを1とする。プリンタはクリーニ
ング動作を終了すると直ちにクリーニング実行フラグを
0とする。ステップS305でクリーニング終了のステ
ータスすなわちクリーニング実行フラグ=0を受信する
と、ブラックのインク無しフラグをリセットし、ステッ
プS307で記録情報生成処理が再開され図7のステッ
プS701へ進む。図3のステップS306のフラグリ
セットはプリンタ本体で自己検知リセットさせても良
い。
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. In 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. . Here, step S30 in FIG.
If it is determined in step 2 that forced cancellation has been instructed,
May be returned to step S512 of FIG. 5 in order to display the status window message 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0061】図7のステップS701でブラックのイン
ク残量フラグが1すなわちブラックのインクカートリッ
ジのインク残量が残りわずかの場合にはステップS70
6へ進み、記録情報生成処理を一時停止する。次に、ス
テップS707でメッセージ3を表示する。メッセージ
3は先の実施例1でのべた図17に示すようなステータ
スウインドウ画面で表示される。図17のステータスウ
インドウ画面はインクカートリッジのインクが残りわず
かであり画像によっては途中で印字できなくなる可能性
があるメッセージ文および対応するインク色の表示と、
実行ボタンおよび中止ボタンからなる。各ボタンはホス
トコンピュータのマウスやキーボード等の入力手段によ
り選択機能実行される。図17のステータスウインドウ
のメッセージに従って、新しいインクカートリッジに交
換し、実行ボタンを押すと、ステップS708でインク
カートリッジが交換されたと判断して、図3のステップ
S301へ進む。図17のステータスウインドウの中止
ボタンを押すとステップS708でインクカートリッジ
は交換されず、ステップS709で強制解除が指示され
たものと判断し、ステップS710で記録情報生成処理
が再開され、ステップS702へ進む。インク残量が残
りわずかである場合でも、文字主体の一般文書のように
の記録ドット密度が低い画像においては数枚程度記録印
字できるため、新規インクカートリッジに交換するかそ
のまま続行するかは利用者の判断にまかせ、この場合に
は、記録情報生成処理を中止しない。
If the black ink remaining amount flag is 1 at step S701 in FIG.
Proceed to 6 to temporarily stop the recording information generation processing. Next, message 3 is displayed in step S707. The message 3 is displayed on a status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 displays a message text 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.
It consists of an execute 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. If the user replaces the ink cartridge with a new one according to the message in the status window of FIG. 17 and presses the execute button, it is determined in step S708 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. 17 is pressed, the ink cartridge is not replaced in step S708, it is determined in step S709 that the 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 recorded and printed on several sheets, so it is possible for the user to replace it with a new ink cartridge or to continue as it is. In this case, the recording information generation processing is not stopped.

【0062】図3のステップS301へ進んだ場合に
は、メッセージ4を表示する。メッセージ4は先の実施
例1で述べた図19に示すようなステータスウインドウ
画面で表示される。図19のステータスウインドウ画面
ではプリンタで記録ヘッドのクリーニングを実行するこ
とのメッセージと実行および中止ボタンが表示される。
各ボタンはホストコンピュータのマウスやキーボード等
の入力手段により選択機能実行される。中止ボタンを押
すと、図3のステップS302で強制解除が指示された
ものと判断し、記録情報生成処理がすべて中止され、ス
テップS502で記録情報生成処理開始の再度指示があ
るまで待機状態となる。ここで、図3のステップS30
2で強制解除が指示されたものと判断した場合、図17
のステータスウインドウのメッセージを再度表示させる
ため、図7のステップS707へ戻るようにしても良
い。図19のステータスウインドウの実行ボタンを押す
と図3のステップS303で実行指示を受けて、ステッ
プS304でプリンタに対してクリーニング実行コマン
ドを出力する。プリンタはこのクリーニング実行コマン
ドをうけてクリーニング動作を開始するするとともにク
リーニング実行フラグを1とする。プリンタはクリーニ
ング動作を終了すると直ちにクリーニング実行フラグを
0とする。ステップS305でクリーニング終了のステ
ータスすなわちクリーニング実行フラグ=0を受信する
と、ブラックのインク残量フラグをリセットし、図3の
ステップS307で記録情報生成処理が再開され図7の
ステップS702へ進む。図3のステップS306のフ
ラグリセットはプリンタ本体で自己検知リセットさせて
も良い。
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. In 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 start instruction is issued again. . Here, step S30 in FIG.
If it is determined in step 2 that the forced release has been instructed,
7 may be returned to step S707 in FIG. 7 in order to display the message of the status window 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0063】図7のステップS704で全画像データ
(記録情報)が出力されたと判断されるまで上記図5の
ステップS505、ステップS506、ステップS50
7の各フラグ状態の判別処理が繰り返される。図7のス
テップS701で全画像データ(記録情報)が出力され
るとステップS705へ進み、ステップS705でプロ
グラム終了が指示されなければ図5のステップS502
で次の記録情報生成処理開始指示の待機状態となる。
Until it is determined in step S704 in FIG. 7 that all image data (recording information) has been output, steps S505, S506, and S50 in FIG.
7 is repeated. If all the image data (recording information) is output in step S701 in FIG. 7, the process proceeds to step S705.
Then, the apparatus enters a standby state for the next recording information generation processing start instruction.

【0064】図5のステップS504で現在のカラーモ
ードがカラー印字モードであると判断すると図6のステ
ップS601へ進む。ステップS601では各色のイン
クカートリッジ有無フラグを判別する。インクカートリ
ッジ有無フラグが0すなわちプリンタにインクカートリ
ッジが装着されている場合にはステップS602へ進
む。ステップS602で各色のインク無しフラグを判別
する。インク無しフラグが0すなわちインクカートリッ
ジにインクが有る場合には、図7のステップS711へ
進む。ステップS711では各色のインク残量フラグを
判別する。インク残量フラグが0すなわちインク残量が
十分である場合には、ステップS712へ進む。ステッ
プS712では画像をプリンタで記録印字するためのデ
ータに変換する画像データ(記録情報)処理を行い、ス
テップS713でプリンタへ画像データ(記録情報)を
出力する。
If it is determined in step S504 in FIG. 5 that the current color mode is the color print mode, the flow advances to step S601 in FIG. In step S601, an ink cartridge presence / absence flag for each color 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 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.

【0065】図6のステップS601でインクカートリ
ッジ有無フラグが1すなわちインクカートリッジが装着
されていない色がある場合にはステップS603へ進
み、記録情報生成処理を一時停止する。次に、ステップ
S604でメッセージ1を表示する。メッセージ1は先
の実施例1で述べた図15に示すようなステータスウイ
ンドウ画面で表示される。図15のステータスウインド
ウ画面はインクカートリッジが装着されていないこと、
および装着されていないインク色の表示と、実行ボタン
および中止ボタンからなる。各ボタンはホストコンピュ
ータのマウスやキーボード等の入力手段により選択機能
実行される。図15のステータスウインドウのメッセー
ジに従って、インクカートリッジを装着し、実行ボタン
を押すと、図6のステップS605でインクカートリッ
ジが交換されたと判断して、図3のステップS301へ
進む。図15のステータスウインドウの中止ボタンを押
すと図6のステップS605でインクカートリッジは交
換されず、ステップS606で強制解除が指示されたも
のと判断し、記録情報生成処理がすべて中止され、図5
のステップS502で記録情報生成処理開始が再度指示
されるまで待機状態となる。
If the ink cartridge presence 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 shows that the ink cartridge is not installed,
And a display of an ink color 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 execute 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 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, a standby state is set until the start of the recording information generation processing is again instructed.

【0066】図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のステップS30
6のフラグリセットはプリンタ本体で自己検知リセット
させても良い。
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. In 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 cancel 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. In step S502 in FIG. State. Here, when it is determined that the forcible release has been instructed in step S302 of FIG. 3,
In order to display the message in the status window of FIG. 15 again, the process may return to step S604 of FIG. 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. Step S30 in FIG.
In the flag reset of No. 6, self-detection reset may be performed by the printer body.

【0067】図6のステップS602でインク無しフラ
グが1すなわちインクカートリッジにインクがない場合
にはステップS607へ進み、記録情報生成処理を一時
停止する。ステップS608でメッセージ2を表示す
る。メッセージ2は先の実施例1で述べた図16に示す
ようなステータスウインドウ画面で表示される。図16
のステータスウインドウ画面はインクカートリッジにイ
ンクが無いこと、および対応するインク色の表示と、実
行ボタンおよび中止ボタンからなる。各ボタンはホスト
コンピュータのマウスやキーボード等の入力手段により
選択機能実行される。図16のステータスウインドウの
メッセージに従って、インクカートリッジを交換し、実
行ボタンを押すと、ステップS609でインクカートリ
ッジが交換されたと判断して、図3のステップS301
へ進む。図16のステータスウインドウの中止ボタンを
押すとステップS609でインクカートリッジは交換さ
れず、ステップS610で強制解除が指示されたものと
判断し、記録情報生成処理がすべて中止され、図5のス
テップS502で記録情報生成処理開始が再度指示され
るまで待機状態となる。
If the ink absence 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. FIG.
The status window screen of FIG. 7 includes a display indicating that there is no ink in the ink cartridge 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 ink cartridge is replaced according to the message in the status window of FIG. 16 and the execute 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.
Proceed to. When the stop button in the status window in FIG. 16 is pressed, the ink cartridge is not replaced in step S609, it is determined that the forced release has been instructed in step S610, and all the recording information generation processing is stopped. In step S502 in FIG. It is in a standby state until the start of the recording information generation processing is again instructed.

【0068】図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のフラグ
リセットはプリンタ本体で自己検知リセットさせても良
い。
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 is to 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 cancel 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. In step S502 in FIG. State. Here, when it is determined that the forcible release has been instructed in step S302 of FIG. 3,
In order to display the message in the status window of FIG. 16 again, the process may return to step S608 of FIG. 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0069】図7のステップS711でインク残量フラ
グが1すなわちインクカートリッジのインク残量が残り
わずかの場合にはステップS716へ進み、記録情報生
成処理を一時停止する。次に、ステップS717でメッ
セージ3を表示する。メッセージ3は先の実施例1での
べた図17に示すようなステータスウインドウ画面で表
示される。図17のステータスウインドウ画面はインク
カートリッジのインクが残りわずかであり、画像によっ
ては途中で印字できなくなる可能性があるメッセージ文
および対応するインク色の表示と、実行ボタンおよび中
止ボタンからなる。各ボタンはホストコンピュータのマ
ウスやキーボード等の入力手段により選択機能実行され
る。図17のステータスウインドウのメッセージに従っ
て、新しいインクカートリッジに交換し、実行ボタンを
押すと、図7のステップS718でインクカートリッジ
が交換されたと判断して、図3のステップS301へ進
む。図17のステータスウインドウの中止ボタンを押す
と図7のステップS718でインクカートリッジは交換
されず、ステップS719で強制解除が指示されたもの
と判断し、ステップS720で記録情報生成処理が再開
され、ステップS712へ進む。インク残量が残りわず
かである場合でも、文字主体の一般文書のように記録ド
ット密度が低い画像においては数枚程度記録印字できる
ため、新規インクカートリッジに交換するかそのまま続
行するかは利用者の判断にまかせ、この場合には、記録
情報生成処理を中止しない。
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 flow advances to step S716 to temporarily stop the recording information generation processing. Next, message 3 is displayed in step S717. The message 3 is displayed on a status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 includes a message text and a corresponding ink color that may not be able to be printed in the middle 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 the user replaces the ink cartridge with a new one in accordance with 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 S718 of FIG. 7, 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 has not been replaced in step S718 of FIG. Proceed to S712. Even when the remaining amount of ink is very small, several images can be recorded and printed in an image with low recording dot density, such as a general document mainly composed of characters, so it is up to the user whether to replace the cartridge with a new one or to continue. In this case, the recording information generation process is not stopped.

【0070】図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のフラグリ
セットはプリンタ本体で自己検知リセットさせても良
い。
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 is to 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 cancel 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. In step S502 in FIG. State. Here, when it is determined that the forcible release has been instructed in step S302 of FIG. 3,
In order to display the message in the status window of FIG. 17 again, the process may return to step S717 of FIG. 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. The flag reset at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0071】図7のステップS714で全画像データ
(記録情報)が出力されたと判断されるまで上記、図6
のステップS601、ステップS602、図7のステッ
プS711の各フラグ状態の判別処理が繰り返される。
ステップS714で全画像データ(記録情報)が出力さ
れるとステップS715へ進み、ステップS715でプ
ログラム終了が指示されなければ図5のステップS50
2で次の記録情報生成処理開始指示の待機状態となる。
Until it is determined in step S714 in FIG. 7 that all image data (recording information) has been output,
Step S601, step S602, and the determination process of each flag state in step S711 of FIG. 7 are repeated.
If all the image data (recording information) is output in step S714, the process proceeds to step S715, and if the end of the program is not instructed in step S715, step S50 in FIG.
In step 2, the apparatus enters a standby state for the next recording information generation processing start instruction.

【0072】本実施例においても、プリンタのインクカ
ートリッジ有無、インク無し、インク残量の状態がホス
トコンピュータ上で認識できるため、プリンタ装置とホ
ストコンピュータが離れた場所にある場合、ネットワー
ク等でプリンタ装置を共有している場合に対応が容易と
なる。
Also in this embodiment, since the status of the ink cartridge presence / absence, no 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 separated from each other, the printer device is connected to a network or the like. It becomes easy to deal with when sharing.

【0073】また、本実施例によれば、指定されたカラ
ーモードに応じてインクカートリッジ有無フラグ、イン
ク無しフラグ、インク残量フラグのステータスを検知す
るので、ブラックインクのみ使用するモノクロ印字モー
ド時には検知時間の短縮による記録速度向上が望め、さ
らに使用外インク色のステータス情報により不用意に画
像記録動作が停止することを防止できる。また、記録画
像に使用するインク色を判別する必要がなくなるため、
画像データ(記録情報)の処理負荷を軽減させることが
できる。
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 in accordance with the designated color mode. It is possible to improve the recording speed by shortening the time, 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. Also, since there is no need to determine the ink color used for the recorded image,
The processing load of image data (recording information) can be reduced.

【0074】(実施例4)図3、図5、図6、図8、図
9に本実施例における処理のフローチャートを示す。
(Embodiment 4) FIGS. 3, 5, 6, 8, and 9 show flowcharts of processing in this embodiment.

【0075】まずプログラムがスタートすると図5のス
テップS501でプリンタのステータス情報の受信を開
始する。ステップS502で記録情報生成処理開始する
指示を受けると、ステップS503で使用するカラーモ
ードを判別する。カラーモードの選択はプリンタ本体お
よびプリンタドライバのメニュー画面上から選択指示す
ることができる。プリンタ本体での選択指示は操作パネ
ル上から実行できる。この場合、プリンタ本体側でカラ
ーモードステータス情報を有することになり、カラーモ
ードフラグ0がモノクロ印字モード、カラーモードフラ
グ=1がカラー印字モードとなる。
First, when the program starts, reception of printer status information is started in step S501 in FIG. When an instruction to start the recording information generation processing is received in step S502, the color mode to be used is determined in step S503. The selection of the color mode can be instructed from the menu screens of the printer 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.

【0076】次にステップS504へ進み、現在のカラ
ーモードがモノクロ印字モードであると判断するとステ
ップS505へ進む。ステップS505ではブラックの
インクカートリッジ有無フラグのみ判別する。ブラック
のインクカートリッジ有無フラグが0すなわちプリンタ
にブラックのインクカートリッジが装着されている場合
にはステップS506へ進む。ステップS506でブラ
ックのインク無しフラグのみ判別する。ブラックのイン
ク無しフラグが0すなわちブラックのインクカートリッ
ジにインクが有る場合には、図8のステップS801へ
進む。ステップS801ではブラックのインク残量フラ
グのみ判別する。ブラックのインク残量フラグが0すな
わちブラックのインク残量が十分である場合には、ステ
ップS802へ進む。ステップS802では画像をプリ
ンタで記録印字するためのデータに変換する画像データ
(記録情報)処理を行い、ステップS803でプリンタ
へ画像データ(記録情報)を出力する。
Next, the flow advances to step S504, and if it is determined that the current color mode is the monochrome print mode, the flow advances 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.

【0077】図5のステップS505でブラックのイン
クカートリッジ有無フラグが1すなわちブラックのイン
クカートリッジが装着されていない場合にはステップS
507へ進み、記録情報生成処理を一時停止する。ステ
ップS508でメッセージ1を表示する。メッセージ1
は先の実施例1で述べた図15に示すようなステータス
ウインドウ画面で表示される。図15のステータスウイ
ンドウ画面はインクカートリッジが装着されていないこ
と、および装着されていないインク色の表示と、実行ボ
タンおよび中止ボタンからなる。各ボタンはホストコン
ピュータのマウスやキーボード等の入力手段により選択
機能実行される。図15のステータスウインドウのメッ
セージに従って、インクカートリッジを装着し、実行ボ
タンを押すと、図5のステップS509でインクカート
リッジが交換されたと判断して、図3のステップS30
1へ進む。図15のステータスウインドウの中止ボタン
を押すと図5のステップS509でインクカートリッジ
は交換されず、ステップS510で強制解除が指示され
たものと判断し、記録情報生成処理がすべて中止され、
ステップS502で記録情報生成処理開始が再度指示さ
れるまで待機状態となる。
If the black ink cartridge presence / absence flag is 1 in step S505 in FIG. 5, that is, if the black ink cartridge is not mounted, step S505 is executed.
Proceeding to 507, 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 in accordance with 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.
Proceed to 1. When the cancel button in the status window of FIG. 15 is pressed, the ink cartridge is not replaced in step S509 of FIG.
In step S502, the process enters a standby state until the start of the recording information generation process is instructed again.

【0078】図3のステップS301へ進んだ場合に
は、メッセージ4を表示する。メッセージ4は先の実施
例1で述べた図19に示すようなステータスウインドウ
画面で表示される。図19のステータスウインドウ画面
ではプリンタで記録ヘッドのクリーニングを実行するこ
とのメッセージと実行および中止ボタンが表示される。
各ボタンはホストコンピュータのマウスやキーボード等
の入力手段により選択機能実行される。中止ボタンを押
すと、図3のステップS302で強制解除が指示された
ものと判断し、記録情報生成処理がすべて中止され、ス
テップS502で記録情報生成処理開始が再度指示され
るまで待機状態となる。ここで、図3のステップS30
2で強制解除が指示されたものと判断した場合、図15
のステータスウインドウのメッセージを再度表示させる
ため図5のステップS508へ戻るようにしても良い。
図19のステータスウインドウの実行ボタンを押すと図
3のステップS303で実行指示を受けて、ステップS
304でプリンタに対してクリーニング実行コマンドを
出力する。プリンタはこのクリーニング実行コマンドを
うけてクリーニング動作を開始するするとともにクリー
ニング実行フラグを1とする。プリンタはクリーニング
動作を終了すると直ちにクリーニング実行フラグを0と
する。ステップS305でクリーニング終了のステータ
スすなわちクリーニング実行フラグ=0を受信すると、
ブラックのインクカートリッジ無しフラグをリセット
し、図3のステップS307で記録情報生成処理が再開
され、図5のステップS506へ進む。図3のステップ
S306のフラグリセットはプリンタ本体で自己検知リ
セットさせても良い。
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. In 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. . Here, step S30 in FIG.
If it is determined in step 2 that forced cancellation has been instructed,
May be returned to step S508 in FIG. 5 in order to display the message in the status window again.
When the execution button in the status window in FIG. 19 is pressed, an execution instruction is received in step S303 in FIG.
At 304, a cleaning execution command is output to the printer. 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. Upon receiving the cleaning completion status, that is, the cleaning execution flag = 0 in step S305,
The black ink cartridge absence flag is reset, the recording information generation processing is restarted in step S307 in FIG. 3, and the process proceeds to step S506 in FIG. The flag reset at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0079】図5のステップS506で使用色のインク
無しフラグが1すなわちブラックのインクカートリッジ
にインクがない場合にはステップS511へ進み、記録
情報生成処理を一時停止する。ステップS511でメッ
セージ2を表示する。メッセージ2は先の実施例1で述
べた図16に示すようなステータスウインドウ画面で表
示される。図16のステータスウインドウ画面はインク
カートリッジにインクが無いこと、および対応するイン
ク色の表示と、実行ボタンおよび中止ボタンからなる。
各ボタンはホストコンピュータのマウスやキーボード等
の入力手段により選択機能実行される。図16のステー
タスウインドウのメッセージに従って、インクカートリ
ッジを交換し、実行ボタンを押すと、図5のステップS
513でインクカートリッジが交換されたと判断して、
図3のステップS301へ進む。図16のステータスウ
インドウの中止ボタンを押すと図5のステップS513
でインクカートリッジは交換されず、ステップS514
で強制解除が指示されたものと判断し、記録情報生成処
理がすべて中止され、ステップS502で記録情報生成
処理開始が再度指示されるまで待機状態となる。
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 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 user replaces the ink cartridge in accordance with the message in the status window shown in FIG.
At 513, it is determined that the ink cartridge has been replaced,
The process proceeds to step S301 in FIG. When the cancel button in the status window of FIG. 16 is pressed, step S513 of FIG.
In step S514, the ink cartridge is not replaced.
, It is determined that the forcible release has been instructed, 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.

【0080】図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のフラグ
リセットはプリンタ本体で検知リセットさせても良い。
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 is to 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. State. Here, when it is determined that the forcible release has been instructed in step S302 of FIG. 3,
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, 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.

【0081】図8のステップS801でブラックのイン
ク残量フラグが1すなわちブラックのインクカートリッ
ジのインク残量が残りわずかの場合にはステップS80
6へ進み、記録情報生成処理を一時停止する。次に、ス
テップS807でメッセージ33を表示する。メッセー
ジ33は図18に示すようなステータスウインドウ画面
で表示される。図18のステータスウインドウ画面はイ
ンクカートリッジのインクが残りわずかであり画像によ
っては途中で印字できなくなる可能性があるメッセージ
文および対応するインク色の表示と、実行ボタンおよび
代替色使用選択ボタン、中止ボタンからなる。各ボタン
はホストコンピュータのマウスやキーボード等の入力手
段により選択機能実行される。図18のステータスウイ
ンドウのメッセージに従って、新しいインクカートリッ
ジに交換し、実行ボタンを押すと、図8のステップS8
08でインクカートリッジが交換されたと判断して、図
3のステップS301へ進む。図18のステータスウイ
ンドウの中止ボタンを押すと図8のステップS808で
インクカートリッジは交換されず、ステップS809で
代替色使用しないと判断し、さらにステップS810で
強制解除が指示されたものと判断し、ステップS811
で記録情報生成処理が再開され、ステップS802へ進
む。インク残量が残りわずかである場合でも、文字主体
の一般文書のような記録ドット密度が低い画像において
は数枚程度記録印字できるため、新規インクカートリッ
ジに交換するかそのまま続行するかは利用者の判断にま
かせ、この場合には、記録情報生成処理を中止しない。
If the black ink remaining amount flag is 1 at step S801 in FIG.
Proceed to 6 to temporarily stop the recording information generation processing. Next, the 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 of 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, and an execution button, an alternative color use selection button, and a stop button. Consists of 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. 18 and the execution button is pressed, the process proceeds to step S8 in FIG.
At 08, it is determined 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 forcible release has been instructed. Step S811
Then, the recording information generation process is restarted, and the process proceeds to step S802. Even when the ink level is very low, several images can be recorded and printed on images with low recording dot density, such as general text-based documents, so it is up to the user whether to replace with a new ink cartridge or continue. In this case, the recording information generation process is not stopped.

【0082】図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のフラ
グリセットはプリンタ本体で自己検知リセットさせても
良い。
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. State. Here, when it is determined that the forcible release has been instructed in step S302 of FIG. 3,
In order to display the message in the status window of FIG. 18 again, the process may return to step S807 of FIG. 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, and the process proceeds to step S802 in FIG. The flag reset at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0083】図18のウインドウのメッセージに従っ
て、代替色ボタンを押すと、図8のステップS808で
インクカートリッジは交換せず、ステップS809で代
替色使用と判断し、図9のステップS901へ進み、メ
ッセージ5が表示される。メッセージ5は図20に示す
ようなウインドウ画面で表示される。図20のウインド
ウ画面ではシアン、マゼンタ、イエローおよび、前記3
色混合によるグレーの4色の代替色選択ボタンと実行、
中止ボタンおよび指示メッセージが表示される。各ボタ
ンはホストコンピュータのマウスやキーボード等の入力
手段により選択機能実行される。3色混合のグレーはシ
アン、マゼンタ、イエローを所定の割合で印字すること
で本来印字したいブラックに近い色合いで印字させるモ
ードである。
When the substitute color button is pressed in accordance with the message in the window shown in FIG. 18, the ink cartridge is not replaced in step S808 in FIG. 5 is displayed. The message 5 is displayed on a window screen as shown in FIG. In the window screen of FIG. 20, cyan, magenta, yellow,
4 color alternative color selection buttons for gray by color mixing and execution,
A 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, thereby printing in a color tone close to black which is originally desired to be printed.

【0084】代替色は前記選択肢の4色に限定されるこ
となくレッド、グリーン、ブルー等、他の色を選択項目
に加えても良い。
The alternative colors are not limited to the above four choices, and other colors such as red, green, and blue may be added to the selection items.

【0085】図20のウインドウ画面で中止ボタンを押
すと、図9のステップS905で強制解除が指示された
ものと判断し、図8のステップS802へ進む。ここ
で、図20のウインドウ画面で中止ボタンを押した場合
に、一つ前のステータスウインドウのメッセージを表示
させるためステップS807へ戻るようにしても良い。
When the cancel button is pressed on the window screen of FIG. 20, it is determined that the forcible release 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.

【0086】図20のウインドウ画面で代替色を選択し
て実行ボタンを押すと、図9のステップS902で代替
色指定がなされ、図9のステップS903へ進む。ステ
ップS903で代替色のインクカートリッジ有無、イン
ク無し、インク残量の各フラグを検知する。代替色のフ
ラグがすべて0すなわち代替色で用いているインク色が
印字可能状態である場合には、ステップS907で画像
データ(記録情報)処理を代替色処理に切り替えステッ
プS906で記録情報生成処理を再開し、図8のステッ
プS802へ進む。代替色処理に切り替わるとステップ
S803の画像データ(記録情報)処理部においてはモ
ノクロ(ブラック)のデータ情報を代替色の情報に置き
換え、ステップS803で代替色に置き換えた画像デー
タ(記録情報)を出力する。
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 flow advances to step S903 of FIG. In step S903, the presence / absence of ink cartridge of the alternative color, absence of ink, and remaining ink amount are detected. If all the alternative color flags are 0, that is, if the ink color used in the alternative 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.

【0087】図9のステップS903で代替色のインク
カートリッジ有無、インク無、インク残量の各フラグの
うち少なくとも1つのフラグが1で印字できない状態で
ある場合には、ステップS904でメッセージ6を表示
する。
If it is determined in step S903 in FIG. 9 that at least one of the flags of the presence / absence of the ink cartridge of the alternative color, the absence of ink, and the remaining amount of ink is 1 and printing cannot be performed, a message 6 is displayed in step S904. I do.

【0088】メッセージ6は図21に示すようなステー
タスウインドウ画面で表示される。図21のステータス
ウインドウ画面は指定した代替色では印字できないこと
のメッセージおよび、実行ボタン、中止ボタンが表示さ
れる。各ボタンはホストコンピュータのマウスやキーボ
ード等の入力手段により選択機能実行される。
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, and an execute 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.

【0089】中止ボタンを押すと、図9のステップS9
05で強制解除が指示されたものと判断し、図8のステ
ップS802へ進む。実行ボタンを押すと、図9のステ
ップS901へ戻り、再びメッセージ5が表示される。
図21のステータスウインドウ中の中止ボタンを押した
場合に、図18のステータスウインドウのメッセージを
再度表示させるため、図8のステップS807へ戻るよ
うにしても良い。
When the cancel button is pressed, step S9 in FIG.
In step 05, it is determined that the forcible release has been instructed, and the process proceeds to step S802 in 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.

【0090】代替色が選択された場合には以後画像デー
タ(記録情報)の出力が終了するまでインクカートリッ
ジ有無、インク無し、インク残量の各フラグ検知は代替
色で使用するインク色のみ行う。
When the alternative color is selected, the detection of the ink cartridge presence / absence, the absence of ink, and the remaining ink amount flag is performed only for the ink color used as the alternative color until the output of image data (recording information) is completed.

【0091】図8のステップS804で全画像データ
(記録情報)が出力されたと判断されるまで上記図5の
ステップS505、ステップS506および、図8のス
テップS801の各フラグ状態の判別処理が繰り返され
る。代替色が選択されている場合には以後画像データ
(記録情報)の出力が終了するまで図5のステップS5
05のインクカートリッジ有無、ステップS506のイ
ンク無し、図8のステップS801のインク残量の各フ
ラグ検知は代替色で使用するインク色のみ行う。
Until it is determined in step S804 in FIG. 8 that all image data (recording information) has been output, the above-described steps S505 and S506 in FIG. 5 and the flag state determination processing in step S801 in FIG. 8 are repeated. . If the alternative color has been selected, step S5 in FIG.
The detection of each flag of the ink cartridge presence / absence of No. 05, the absence of ink of Step S506, and the remaining ink amount of Step S801 of FIG.

【0092】ステップS804で全画像データ(記録情
報)が出力されるとステップS805へ進み、ステップ
S805でプログラム終了が指示されなければ図5のス
テップS502で次の記録情報生成処理開始指示の待機
状態となる。
If all the image data (recording information) has been output in step S804, the flow advances to step S805. If the end of the program has not been instructed in step S805, the process waits for the next recording information generation processing start instruction in step S502 in FIG. Becomes

【0093】図5のステップS504で現在のカラーモ
ードがカラー印字モードであると判断すると図6のステ
ップS601へ進む。ステップS601では各色のイン
クカートリッジ有無フラグを判別する。インクカートリ
ッジ有無フラグが0すなわちプリンタにインクカートリ
ッジが装着されている場合にはステップS602へ進
む。ステップS602で各色のインク無しフラグを判別
する。インク無しフラグが0すなわちインクカートリッ
ジにインクが有る場合には、図8のステップS812へ
進む。ステップS812では各色のインク残量フラグを
判別する。インク残量フラグが0すなわちインク残量が
十分である場合には、ステップS813へ進む。ステッ
プS813では画像をプリンタで記録印字するためのデ
ータに変換する画像データ(記録情報)処理を行い、ス
テップS814でプリンタへ画像データ(記録情報)を
出力する。
If it is determined in step S504 in FIG. 5 that the current color mode is the color print mode, the flow advances to step S601 in FIG. In step S601, an ink cartridge presence / absence flag for each color 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 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 for each color 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.

【0094】図6のステップS601でインクカートリ
ッジ有無フラグが1すなわちインクカートリッジが装着
されていない色がある場合にはステップS603へ進
み、記録情報生成処理を一時停止する。次に、ステップ
S604でメッセージ1を表示する。メッセージ1は先
の実施例1で述べた図15に示すようなステータスウイ
ンドウ画面で表示される。図15のステータスウインド
ウ画面はインクカートリッジが装着されていないこと、
および装着されていないインク色の表示と、実行ボタン
および中止ボタンからなる。各ボタンはホストコンピュ
ータのマウスやキーボード等の入力手段により選択機能
実行される。図15のステータスウインドウのメッセー
ジに従って、インクカートリッジを装着し、実行ボタン
を押すと、図6のステップS605でインクカートリッ
ジが交換されたと判断して、図3のステップS301へ
進む。図15のステータスウインドウの中止ボタンを押
すと図6のステップS605でインクカートリッジは交
換されず、ステップS606で強制解除が指示されたも
のと判断し、記録情報生成処理がすべて中止され、図5
のステップS502で記録情報生成処理開始が再度指示
されるまで待機状態となる。
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 shows that the ink cartridge is not installed,
And a display of an ink color 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 execute 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 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, a standby state is set until the start of the recording information generation processing is again instructed.

【0095】図3のステップS301へ進んだ場合に
は、メッセージ4を表示する。メッセージ4は先の実施
例1で述べた図19に示すようなステータスウインドウ
画面で表示される。図19のステータスウインドウ画面
ではプリンタで記録ヘッドのクリーニングを実行するこ
とのメッセージと実行および中止ボタンが表示される。
各ボタンはホストコンピュータのマウスやキーボード等
の入力手段により選択機能実行される。中止ボタンを押
すと、図3のステップS302で強制解除が指示された
ものと判断し、記録情報生成処理がすべて中止され、図
5のステップS502で記録情報生成処理開始が再度指
示されるまで待機状態となる。ここで図3のステップS
302で強制解除が指示されたものと判断した場合、図
15のステータスウインドウのメッセージを再度表示さ
せるため、図6のステップS604へ戻るようにしても
良い。図19のステータスウインドウの実行ボタンを押
すと図3のステップS303で実行指示を受けて、ステ
ップS304でプリンタに対してクリーニング実行コマ
ンドを出力する。プリンタはこのクリーニング実行コマ
ンドをうけてクリーニング動作を開始するするとともに
クリーニング実行フラグを1とする。プリンタはクリー
ニング動作を終了すると直ちにクリーニング実行フラグ
を0とする。ステップS305でクリーニング終了のス
テータスすなわちクリーニング実行フラグ=0を受信す
ると、対応色のインクカートリッジ無しフラグをリセッ
トし、ステップS307で記録情報生成処理が再開され
図6のステップS602へ進む。図3のステップS30
6のフラグリセットはプリンタ本体で自己検知リセット
させても良い。
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. In 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. State. Here, step S in FIG.
If it is determined in 302 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. Step S30 in FIG.
In the flag reset of No. 6, self-detection reset may be performed by the printer body.

【0096】図6のステップS602でインク無しフラ
グが1すなわちインクカートリッジにインクがない場合
にはステップS607へ進み、記録情報生成処理を一時
停止する。ステップS608でメッセージ2を表示す
る。メッセージ2は先の実施例1で述べた図16に示す
ようなステータスウインドウ画面で表示される。図16
のステータスウインドウ画面はインクカートリッジにイ
ンクが無いこと、および対応するインク色の表示と、実
行ボタンおよび中止ボタンからなる。各ボタンはホスト
コンピュータのマウスやキーボード等の入力手段により
選択機能実行される。図16のステータスウインドウの
メッセージに従って、インクカートリッジを交換し、実
行ボタンを押すと、ステップS609でインクカートリ
ッジが交換されたと判断して、図3のステップS301
へ進む。図16のステータスウインドウの中止ボタンを
押すとステップS609でインクカートリッジは交換さ
れず、ステップS610で強制解除が指示されたものと
判断し、記録情報生成処理がすべて中止され、図5のス
テップS502で記録情報生成処理開始が再度指示され
るまで待機状態となる。
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. FIG.
The status window screen of FIG. 7 includes a display indicating that there is no ink in the ink cartridge 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 ink cartridge is replaced according to the message in the status window of FIG. 16 and the execute 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.
Proceed to. When the stop button in the status window in FIG. 16 is pressed, the ink cartridge is not replaced in step S609, it is determined that the forced release has been instructed in step S610, and all the recording information generation processing is stopped. In step S502 in FIG. It is in a standby state until the start of the recording information generation processing is again instructed.

【0097】図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のフラグ
リセットはプリンタ本体で自己検知リセットさせても良
い。
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 is to 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. State. Here, when it is determined that the forcible release has been instructed in step S302 of FIG. 3,
In order to display the message in the status window of FIG. 16 again, the process may return to step S608 of FIG. 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0098】図8のステップS812でインク残量フラ
グが1すなわちインクカートリッジのインク残量が残り
わずかの場合にはステップS817へ進み、記録情報生
成処理を一時停止する。次に、ステップS818でメッ
セージ3を表示する。メッセージ3は先の実施例1での
べた図17に示すようなステータスウインドウ画面で表
示される。図17のステータスウインドウ画面はインク
カートリッジのインクが残りわずかであり、画像によっ
ては途中で印字できなくなる可能性があるメッセージ文
および対応するインク色の表示と、実行ボタンおよび中
止ボタンからなる。各ボタンはホストコンピュータのマ
ウスやキーボード等の入力手段により選択機能実行され
る。図17のステータスウインドウのメッセージに従っ
て、新しいインクカートリッジに交換し、実行ボタンを
押すと、図8のステップS819でインクカートリッジ
が交換されたと判断して、図3のステップS301へ進
む。図17のステータスウインドウの中止ボタンを押す
と図8のステップS819でインクカートリッジは交換
されず、ステップS820で強制解除が指示されたもの
と判断し、ステップS821で記録情報生成処理が再開
され、ステップS813へ進む。インク残量が残りわず
かである場合でも、文字主体の一般文書のように記録ド
ット密度が低い画像においては数枚程度記録印字できる
ため、新規インクカートリッジに交換するかそのまま続
行するかは利用者の判断にまかせ、この場合には、記録
情報生成処理を中止しない。
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 flow advances 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 a status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 includes a message text and a corresponding ink color that may not be able to be printed in the middle 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 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. 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 S819 of FIG. Proceed to S813. Even when the remaining amount of ink is very small, several images can be recorded and printed in an image with low recording dot density, such as a general document mainly composed of characters, so it is up to the user whether to replace the cartridge with a new one or to continue. In this case, the recording information generation process is not stopped.

【0099】図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のフラグリ
セットはプリンタ本体で自己検知リセットさせても良
い。
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 is to 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. State. Here, when it is determined that the forcible release has been instructed in step S302 of FIG. 3,
In order to display the message in the status window of FIG. 17 again, the process may return to step S818 of FIG. 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 S813 in FIG. The flag reset at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0100】図8のステップS815で全画像データ
(記録情報)が出力されたと判断されるまで上記、図6
のステップS601、ステップS602、図8のステッ
プS812の各フラグ状態の判別処理が繰り返される。
ステップS815で全画像データ(記録情報)が出力さ
れるとステップS816へ進み、ステップS816でプ
ログラム終了が指示されなければ図5のステップS50
2で次の記録情報生成処理開始指示の待機状態となる。
[0100] Until it is determined in step S815 in FIG. 8 that all the image data (recording information) has been output, the above-described FIG.
Step S601, step S602, and the determination processing of each flag state in step S812 in FIG. 8 are repeated.
If all the image data (recording information) is output in step S815, the process proceeds to step S816, and if the end of the program is not instructed in step S816, step S50 in FIG.
In step 2, the apparatus enters a standby state for the next recording information generation processing start instruction.

【0101】本実施例においても、プリンタのインクカ
ートリッジ有無、インク無し、インク残量の状態がホス
トコンピュータ上で認識できるため、プリンタ装置とホ
ストコンピュータが離れた場所にある場合、ネットワー
ク等でプリンタ装置を共有している場合に対応が容易と
なる。
Also in this embodiment, since the status of the ink cartridge of the printer, the absence of ink, and the remaining amount of ink can be recognized on the host computer, when the printer device and the host computer are separated from each other, the printer device can be connected to a network or the like. It becomes easy to deal with when sharing.

【0102】また、本実施例によれば、指定されたカラ
ーモードに応じてインクカートリッジ有無フラグ、イン
ク無しフラグ、インク残量フラグのステータスを検知す
るので、ブラックインクのみ使用するモノクロ印字モー
ド時には検知時間の短縮による記録速度向上が望め、使
用外インク色のステータス情報により不用意に画像記録
動作が停止することを防止できる。また、記録画像に使
用するインク色を判別する必要がなくなるため、画像デ
ータ(記録情報)の処理負荷を軽減させることができ
る。さらに、モノクロ印字モード時にブラックインクの
残量が残りわずかになった場合に代替色を選択すること
ができるため、早急に画像出力が必要な場合に新たにイ
ンクカートリッジを交換しなくても記録が可能である。
According to this 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. It is possible to improve the recording speed by shortening the time, 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 (recording information) can be reduced. In addition, when the remaining amount of black ink becomes very small in the monochrome print mode, an alternative color can be selected, so that recording can be performed without replacing the ink cartridge when an image output is required immediately. It is possible.

【0103】(実施例5)図3、図10、図11に本実
施例における処理のフローチャートを示す。
(Embodiment 5) FIGS. 3, 10, and 11 show flowcharts of processing in this embodiment.

【0104】まずプログラムがスタートすると図10の
ステップS1001でプリンタのステータス情報の受信
を開始する。ステップS1002で記録情報生成処理開
始する指示を受けると、ステップS1003へ進む。ス
テップS1003ではインクカートリッジ有無フラグを
判別する。インクカートリッジ有無フラグが0すなわち
プリンタにインクカートリッジが装着されている場合に
はステップS1004へ進む。ステップS1004でイ
ンク無しフラグを判別する。インク無しフラグが0すな
わちインクカートリッジにインクが有る場合には、図1
1のステップS1101へ進む。ステップS1101で
はインク残量フラグを判別する。インク残量フラグが0
すなわちインク残量が十分である場合には、ステップS
1105へ進む。ステップS1105では画像をプリン
タで記録印字するためのデータに変換する画像データ
(記録情報)処理を行い、ステップS1106でプリン
タへ画像データ(記録情報)を出力する。
First, when the program starts, reception of printer status information is started 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 / absence flag is 0, that is, if the ink cartridge is installed in the printer, the process proceeds to step S1004. In step S1004, an out-of-ink flag is determined. When the ink-out flag is 0, that is, when there is ink in the ink cartridge, FIG.
The process proceeds to step S1101 of FIG. In step S1101, an ink remaining amount flag is determined. Ink remaining amount flag is 0
That is, if the remaining amount of ink is sufficient, step S
Proceed to 1105. 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.

【0105】図10のステップS1003でインクカー
トリッジ有無フラグが1すなわちインクカートリッジが
装着されていない場合にはステップS1005へ進み、
記録情報生成処理を一時停止する。ステップS1006
でメッセージ1を表示する。メッセージ1は先の実施例
1で述べた図15に示すようなステータスウインドウ画
面で表示される。図15のステータスウインドウ画面は
インクカートリッジが装着されていないこと、および装
着されていないインク色の表示と、実行ボタンおよび中
止ボタンからなる。各ボタンはホストコンピュータのマ
ウスやキーボード等の入力手段により選択機能実行され
る。図15のステータスウインドウのメッセージに従っ
て、インクカートリッジを装着し、実行ボタンを押す
と、図10のステップS1007でインクカートリッジ
が交換されたと判断して、図3のステップS301へ進
む。図15のステータスウインドウの中止ボタンを押す
と図10のステップS1007でインクカートリッジは
交換されず、ステップS1008で強制解除が指示され
たものと判断し、記録情報生成処理がすべて中止され、
ステップS1002で記録情報生成処理開始が再度指示
されるまで待機状態となる。
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,
Pause the recording information generation process. Step S1006
To display message 1. 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 of the status window in FIG. 15 is pressed, the ink cartridge is not replaced in step S1007 in FIG. 10, it is determined that the forced release is instructed in step S1008, and all the recording information generation processing is stopped.
In step S1002, the process enters a standby state until the start of the recording information generation process is instructed again.

【0106】図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のフラグリセットはプリンタ本
体で自己検知リセットさせても良い。
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. In 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. 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 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. In step S305, the cleaning completion status, that is, the cleaning execution flag = 0.
Is received, the ink cartridge absence flag of the corresponding color is reset, 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0107】図10のステップS1004でインク無し
フラグが1すなわちインクカートリッジにインクがない
場合にはステップS1009へ進み、記録情報生成処理
を一時停止する。ステップS1010でメッセージ2を
表示する。メッセージ2は先の実施例1で述べた図16
に示すようなステータスウインドウ画面で表示される。
図16のステータスウインドウ画面はインクカートリッ
ジにインクが無いこと、および対応するインク色の表示
と、実行ボタンおよび中止ボタンからなる。各ボタンは
ホストコンピュータのマウスやキーボード等の入力手段
により選択機能実行される。図16のステータスウイン
ドウのメッセージに従って、インクカートリッジを交換
し、実行ボタンを押すと、図10のステップS1011
でインクカートリッジが交換されたと判断して、図3の
ステップS301へ進む。図16のステータスウインド
ウの中止ボタンを押すと図10のステップS1011で
インクカートリッジは交換されず、ステップS1012
で強制解除が指示されたものと判断し、記録情報生成処
理がすべて中止され、ステップS1002で記録情報生
成処理開始が再度指示されるまで待機状態となる。
If the ink absence flag is 1 in step S1004 of 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 corresponds to FIG. 16 described in the first embodiment.
It is displayed on the 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, the process proceeds to step S1011 in FIG.
It is determined that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. When the stop button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S1011 of FIG.
, It is determined that the forcible release has been instructed, and all the recording information generation processing is stopped. In step S1002, a standby state is set until the start of the recording information generation processing is instructed again.

【0108】図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のステップS3
06のフラグリセットはプリンタ本体で検知リセットさ
せても良い。
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 is to 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. 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 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. In step S305, the cleaning end status, that is, the cleaning execution flag =
When 0 is received, the ink absence flag of the corresponding color is reset, the recording information generation process is restarted in step S307, and the process proceeds to step S1101 in FIG. Step S3 in FIG.
The flag reset of 06 may be detected and reset by the printer body.

【0109】図11のステップS1101でインク残量
フラグが1すなわちインクカートリッジのインク残量が
残りわずかの場合にはステップS1102へ進み、記録
可能ドット数のカウント値(Count)を読み込む。
記録可能ドット数の初期値はあらかじめプリンタ内部の
インク残量フラグが1になってから記録不可能になるま
での想定ドット数をプリンタ内部のカウント値にセット
してある。カウント値はプリンタ内のインク残量フラグ
が1になってから記録されたドット数によりプリンタ内
部で自動的に計数減算される。次にステップS1103
へ進み、記録画像のドット数(D)を計数する。次にス
テップS1104へ進み、D≦Countの場合にはス
テップS1105で画像データ(記録情報)の処理を続
行する。
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 flow advances to step S1102 to read the count value (Count) of the number of recordable 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, step S1103
Then, 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.

【0110】D>Countの場合には画像記録途中に
インクが無くなるため、ステップS1109へ進み、記
録情報生成処理を一時停止する。次に、ステップS11
10でメッセージ3’を表示する。メッセージ3’は図
17に示すようなステータスウインドウ画面で表示され
る。図17のステータスウインドウ画面はインクカート
リッジのインクが残りわずかであり、実行中の画像は画
像は途中で印字できなくなるメッセージ文および対応す
るインク色の表示と、実行ボタンおよび中止ボタンから
なる。各ボタンはホストコンピュータのマウスやキーボ
ード等の入力手段により選択機能実行される。図17の
ステータスウインドウのメッセージに従って、新しいイ
ンクカートリッジに交換し、実行ボタンを押すと、図1
1のステップS1111でインクカートリッジが交換さ
れたと判断して、図3のステップS301へ進む。図1
7のステータスウインドウの中止ボタンを押すと図11
のステップS1111でインクカートリッジは交換され
ず、ステップS1112で強制解除が指示されたものと
判断し、ステップS1113で記録情報生成処理が再開
され、ステップS1105へ進む。この場合には、記録
情報生成処理を中止しない。
When D> Count, the ink runs out during the image recording, so that the flow advances to step S1109 to temporarily stop the recording information generation processing. Next, step S11
The message 3 'is displayed at 10. 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 includes a message indicating that the image cannot be printed halfway and 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 shown in FIG.
In step S1111, it is determined that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. FIG.
Pressing the stop button in the status window of FIG.
It is determined in step S1111 that the ink cartridge has not been replaced, and it is determined in step S1112 that forced cancellation has been instructed. In step S1113, the recording information generation process is restarted, and the flow advances to step S1105. In this case, the recording information generation processing is not stopped.

【0111】図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で記録情報生成処理が再開され図1
1のステップS1105へ進む。図3のステップS30
6のフラグリセットはプリンタ本体で自己検知リセット
させても良い。
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 is to 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. 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. In step S305, the cleaning end status, that is, the cleaning execution flag =
When 0 is received, the ink remaining amount flag of the corresponding color is reset, and the recording information generation processing is restarted in step 307, and FIG.
The process proceeds to step S1105 of FIG. Step S30 in FIG.
In the flag reset of No. 6, self-detection reset may be performed by the printer body.

【0112】図11のステップS1107で全画像デー
タ(記録情報)が出力されたと判断されるまで上記、図
10のステップS1003、ステップS1004、図1
1のステップS1101の各フラグ状態の判別処理が繰
り返される。ステップS1107で全画像データ(記録
情報)が出力されるとステップS1108へ進み、ステ
ップS1108でプログラム終了が指示されなければ図
10のステップS1002で次の記録情報生成処理開始
指示の待機状態となる。
Until it is determined in step S1107 in FIG. 11 that all image data (recording information) has been output, steps S1003 and S1004 in FIG.
The determination process of each flag state of step S1101 of 1 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, a standby state for the next recording information generation processing start instruction is entered in step S1002 in FIG.

【0113】本実施例においても、プリンタのインクカ
ートリッジ有無、インク無し、インク残量の状態がホス
トコンピュータ上で認識できるため、プリンタ装置とホ
ストコンピュータが離れた場所にある場合、ネットワー
ク等でプリンタ装置を共有している場合に対応が容易と
なる。
Also in the present embodiment, since the status of the ink cartridge of the printer, the absence of ink, and the remaining amount of ink can be recognized on the host computer, when the printer device and the host computer are separated from each other, the printer device is connected to a network or the like. It becomes easy to deal with when sharing.

【0114】また、本実施例によれば、インク残量が残
りわずかである場合に、想定した記録可能ドット数と記
録画像のドット数を比較し、記録情報生成処理の可否を
判断するため、確実な画像記録が可能となる。
Further, according to the present 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 recorded image to determine whether or not the recording information generation processing is possible. Reliable image recording becomes possible.

【0115】(実施例6)図3、図10、図12に本実
施例における処理のフローチャートを示す。
(Embodiment 6) FIGS. 3, 10, and 12 show flowcharts of processing in this embodiment.

【0116】まずプログラムがスタートすると図10の
ステップS1001でプリンタのステータス情報の受信
を開始する。ステップS1002で記録情報生成処理開
始する指示を受けると、ステップS1003へ進む。ス
テップS1003ではインクカートリッジ有無フラグを
判別する。インクカートリッジ有無フラグが0すなわち
プリンタにインクカートリッジが装着されている場合に
はステップS1004へ進む。ステップS1004でイ
ンク無しフラグを判別する。インク無しフラグが0すな
わちインクカートリッジにインクが有る場合には、図1
2のステップS1201へ進む。ステップS1201で
はインク残量フラグを判別する。インク残量フラグが0
すなわちインク残量が十分である場合には、ステップS
1205へ進む。ステップS1205では画像をプリン
タで記録印字するためのデータに変換する記録情報生成
処理をバンドサイズ毎に行い、ステップS1206でプ
リンタへ記録情報をバンドサイズ毎に出力する。
First, when the program starts, reception of printer status information is started 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 / absence flag is 0, that is, if the ink cartridge is installed in the printer, the process proceeds to step S1004. In step S1004, an out-of-ink flag is determined. When the ink-out flag is 0, that is, when there is ink in the ink cartridge, FIG.
It proceeds to step S1201 of Step 2. In step S1201, an ink remaining amount flag is determined. Ink remaining amount flag is 0
That is, if the remaining amount of ink is sufficient, step S
Proceed to 1205. 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.

【0117】図10のステップS1003でインクカー
トリッジ有無フラグが1すなわちインクカートリッジが
装着されていない場合にはステップS1005へ進み、
記録情報生成処理を一時停止する。ステップS1006
でメッセージ1を表示する。メッセージ1は先の実施例
1で述べた図15に示すようなステータスウインドウ画
面で表示される。図15のステータスウインドウ画面は
インクカートリッジが装着されていないこと、および装
着されていないインク色の表示と、実行ボタンおよび中
止ボタンからなる。各ボタンはホストコンピュータのマ
ウスやキーボード等の入力手段により選択機能実行され
る。図15のステータスウインドウのメッセージに従っ
て、インクカートリッジを装着し、実行ボタンを押す
と、図10のステップS1007でインクカートリッジ
が交換されたと判断して、図3のステップS301へ進
む。図15のステータスウインドウの中止ボタンを押す
と図10のステップS1007でインクカートリッジは
交換されず、ステップS1008で強制解除が指示され
たものと判断し、記録情報生成処理がすべて中止され、
ステップS1002で記録情報生成処理開始が再度指示
されるまで待機状態となる。
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.
Pause the recording information generation process. Step S1006
To display message 1. 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 of the status window in FIG. 15 is pressed, the ink cartridge is not replaced in step S1007 in FIG. 10, it is determined that the forced release is instructed in step S1008, and all the recording information generation processing is stopped.
In step S1002, the process enters a standby state until the start of the recording information generation process is instructed again.

【0118】図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のフラグリセットはプリンタ本
体で自己検知リセットさせても良い。
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. In 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. 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. In step S305, the cleaning completion status, that is, the cleaning execution flag = 0.
Is received, the ink cartridge absence flag of the corresponding color is reset, 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0119】図10のステップS1004でインク無し
フラグが1すなわちインクカートリッジにインクがない
場合にはステップS1009へ進み、記録情報生成処理
を一時停止する。ステップS1010でメッセージ2を
表示する。メッセージ2は先の実施例1で述べた図16
に示すようなステータスウインドウ画面で表示される。
図16のステータスウインドウ画面はインクカートリッ
ジにインクが無いこと、および対応するインク色の表示
と、実行ボタンおよび中止ボタンからなる。各ボタンは
ホストコンピュータのマウスやキーボード等の入力手段
により選択機能実行される。図16のステータスウイン
ドウのメッセージに従って、インクカートリッジを交換
し、実行ボタンを押すと、図10のステップS1011
でインクカートリッジが交換されたと判断して、図3の
ステップS301へ進む。図16のステータスウインド
ウの中止ボタンを押すと図10のステップS1011で
インクカートリッジは交換されず、ステップS1012
で強制解除が指示されたものと判断し、記録情報生成処
理がすべて中止され、ステップS1002で記録情報生
成処理開始が再度指示されるまで待機状態となる。
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 corresponds to FIG. 16 described in the first embodiment.
It is displayed on the 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, the process proceeds to step S1011 in FIG.
It is determined that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. When the stop button in the status window of FIG. 16 is pressed, the ink cartridge is not replaced in step S1011 of FIG.
, It is determined that the forcible release has been instructed, and all the recording information generation processing is stopped. In step S1002, a standby state is set until the start of the recording information generation processing is instructed again.

【0120】図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のステップS3
06のフラグリセットはプリンタ本体で検知リセットさ
せても良い。
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 is to 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. 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 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. In step S305, the cleaning completion status, that is, the cleaning execution flag = 0.
Is received, the out-of-ink flag of the corresponding color is reset, the recording information generation process is restarted in step S307, and the process proceeds to step S1101 in FIG. Step S3 in FIG.
The flag reset of 06 may be detected and reset by the printer body.

【0121】図12のステップS1201でインク残量
フラグが1すなわちインクカートリッジのインク残量が
残りわずかの場合にはステップS1202へ進み、記録
可能ドット数のカウント値(Count)を読み込む。
記録可能ドット数の初期値はあらかじめプリンタ内のイ
ンク残量フラグが1になってから記録不可能になるまで
の想定ドット数をプリンタ内部のカウント値にセットし
てある。次にステップS1203へ進み、記録画像のド
ット数(D)を計数する。次にステップS1104へ進
み、D≦Countの場合にはステップS1205で画
像データ(記録情報)の処理を続行する。
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 flow advances to step S1202 to read the count value (Count) of the number of recordable dots.
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 in 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.

【0122】D>Countの場合には画像記録途中に
インクが無くなるため、ステップS1210へ進み、記
録情報生成処理を一時停止する。次に、ステップS12
11でメッセージ3’を表示する。メッセージ3’は図
17に示すようなステータスウインドウ画面で表示され
る。図17のステータスウインドウ画面はインクカート
リッジのインクが残りわずかであり、実行中の画像は途
中で印字できなくなるメッセージ文および対応するイン
ク色の表示と、実行ボタンおよび中止ボタンからなる。
各ボタンはホストコンピュータのマウスやキーボード等
の入力手段により選択機能実行される。図17のステー
タスウインドウのメッセージに従って、新しいインクカ
ートリッジに交換し、実行ボタンを押すと、図12のス
テップS1212でインクカートリッジが交換されたと
判断して、図3のステップS301へ進む。図17のス
テータスウインドウの中止ボタンを押すと図11のステ
ップS1212でインクカートリッジは交換されず、ス
テップS1213で強制解除が指示されたものと判断
し、ステップS1214で記録情報生成処理が再開さ
れ、ステップS1205へ進む。この場合には、記録情
報生成処理を中止しない。
If D> Count, ink runs out during image recording, so the flow advances to step S1210 to temporarily stop the recording information generation processing. Next, step S12
At step 11, message 3 'is displayed. 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 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 S1212 of FIG. 12, 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 S1212 of FIG. The process proceeds to S1205. In this case, the recording information generation processing is not stopped.

【0123】図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で記録情報生成処理が再開され図1
2のステップS1205へ進む。図3のステップS30
6のフラグリセットはプリンタ本体で自己検知リセット
させても良い。
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 is to 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. 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. In step S305, the cleaning completion status, that is, the cleaning execution flag = 0.
Is received, the ink remaining amount flag of the corresponding color is reset, and the recording information generation process is restarted in step 307, and FIG.
It proceeds to step S1205 of No. 2. Step S30 in FIG.
In the flag reset of No. 6, self-detection reset may be performed by the printer body.

【0124】図12のステップS1207で全画像デー
タ(記録情報)が出力されたと判断されるまで上記、図
10のステップS1003、ステップS1004、図1
2のステップS1201の各フラグ状態の判別処理が繰
り返される。ステップS1207で全画像データ(記録
情報)が出力されるとステップS1208へ進み、プリ
ンタの記録可能ドット数に関するステータスを変更す
る。次にステップS1209へ進み、プログラム終了が
指示されなければ図10のステップS1002で次の記
録情報生成処理開始指示の待機状態となる。
Until it is determined in step S1207 in FIG. 12 that all image data (recording information) has been output, steps S1003, S1004 in FIG.
The determination process of each flag state of Step S1201 of Step 2 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.

【0125】本実施例においても、プリンタのインクカ
ートリッジ有無、インク無し、インク残量の状態がホス
トコンピュータ上で認識できるため、プリンタ装置とホ
ストコンピュータが離れた場所にある場合、ネットワー
ク等でプリンタ装置を共有している場合に対応が容易と
なる。
Also in the present embodiment, the presence or absence of the ink cartridge, the absence of ink, and the remaining amount of ink of the printer can be recognized on the host computer. It becomes easy to deal with when sharing.

【0126】また、本実施例によれば先の実施例と同様
に、インク残量が残りわずかである場合に、想定した記
録可能ドット数と記録画像のドット数を比較し、記録情
報生成処理可能の可否を判断するため、確実な画像記録
が可能となる。さらに、画像記録終了後に記録したドッ
ト数から新たな記録可能ドット数を算出し、再度プリン
タのステータスに書き込むため、プリンタ内部で記録ド
ット数を計数できない装置に対しても有効である。
Further, according to this 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, and the print information generation process is performed. Since it is determined whether or not the image can be recorded, reliable image recording can be performed. Furthermore, since a new recordable dot number is calculated from the dot number 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.

【0127】(実施例7)図3、図13、図14に本実
施例における処理のフローチャートを示す。
(Embodiment 7) FIGS. 3, 13 and 14 show flowcharts of processing in this embodiment.

【0128】まずプログラムがスタートすると図13の
ステップS1301でインク残量表示フラグをリセット
する。次に、ステップS1302でプリンタのステータ
ス情報の受信を開始する。ステップS1303で記録情
報生成処理開始する指示を受けると、ステップS130
4へ進む。ステップS1304ではインクカートリッジ
有無フラグを判別する。インクカートリッジ有無フラグ
が0すなわちプリンタにインクカートリッジが装着され
ている場合にはステップS1305へ進む。ステップS
1305でインク無しフラグを判別する。インク無しフ
ラグが0すなわちインクカートリッジにインクが有る場
合には、図14のステップS1401へ進む。ステップ
S1401ではインク残量フラグを判別する。インク残
量フラグが0すなわちインク残量が十分である場合に
は、ステップS1402へ進む。ステップS1202で
は画像をプリンタで記録印字するためのデータに変換す
る記録情報生成処理をバンドサイズ毎に行い、ステップ
S1203でプリンタへ記録情報をバンドサイズ毎に出
力する。
First, when the program starts, an ink remaining amount display flag is reset in step S1301 of 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, step S130
Proceed to 4. In step S1304, an ink cartridge presence / absence flag is determined. If the ink cartridge presence flag is 0, that is, if the ink cartridge is installed in the printer, the process advances to step S1305. Step S
At 1305, 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 the printer is performed for each band size, and in step S1203, the recording information is output to the printer for each band size.

【0129】図13のステップS1304でインクカー
トリッジ有無フラグが1すなわちインクカートリッジが
装着されていない場合にはステップS1306へ進み、
記録情報生成処理を一時停止する。ステップS1307
でメッセージ1を表示する。メッセージ1は先の実施例
1で述べた図15に示すようなステータスウインドウ画
面で表示される。図15のステータスウインドウ画面は
インクカートリッジが装着されていないこと、および装
着されていないインク色の表示と、実行ボタンおよび中
止ボタンからなる。各ボタンはホストコンピュータのマ
ウスやキーボード等の入力手段により選択機能実行され
る。図15のステータスウインドウのメッセージに従っ
て、インクカートリッジを装着し、実行ボタンを押す
と、図13のステップS1308でインクカートリッジ
が交換されたと判断して、図3のステップS301へ進
む。図15のステータスウインドウの中止ボタンを押す
と図13のステップS1308でインクカートリッジは
交換されず、ステップS1309で強制解除が指示され
たものと判断し、記録情報生成処理がすべて中止され、
ステップS1303で記録情報生成処理開始が再度指示
されるまで待機状態となる。
If the ink cartridge presence / absence flag is 1 in step S1304 of FIG. 13, that is, if the ink cartridge is not mounted, the flow advances to step S1306.
Pause the recording information generation process. Step S1307
To display message 1. 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 S1308 of FIG. 13, 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 S1308 of FIG. 13, it is determined in step S1309 that the forced release has been instructed, and all the recording information generation processing is stopped.
In step S1303, the apparatus enters a standby state until the start of the recording information generation processing is instructed again.

【0130】図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のフラグリセットはプリン
タ本体で自己検知リセットさせても良い。
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. In 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 in step S1303 in FIG. State. Here, if it is determined in step S302 of FIG. 3 that the forcible release has been instructed, the process may return to step S1307 of FIG. 13 to display the message in the status window of 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. In step S305, the cleaning end status, that is, the cleaning execution flag =
When 0 is received, the ink cartridge absence flag of the corresponding color is reset, 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 at step S306 in FIG. 3 may be performed by the printer body for self-detection reset.

【0131】図13のステップS1305でインク無し
フラグが1すなわちインクカートリッジにインクがない
場合にはステップS1310へ進み、記録情報生成処理
を一時停止する。ステップS1311でメッセージ2を
表示する。メッセージ2は先の実施例1で述べた図16
に示すようなステータスウインドウ画面で表示される。
図16のステータスウインドウ画面はインクカートリッ
ジにインクが無いこと、および対応するインク色の表示
と、実行ボタンおよび中止ボタンからなる。各ボタンは
ホストコンピュータのマウスやキーボード等の入力手段
により選択機能実行される。図16のステータスウイン
ドウのメッセージに従って、インクカートリッジを交換
し、実行ボタンを押すと、図13のステップS1312
でインクカートリッジが交換されたと判断して、図3の
ステップS301へ進む。図16のステータスウインド
ウの中止ボタンを押すと図13のステップS1312で
インクカートリッジは交換されず、ステップS1313
で強制解除が指示されたものと判断し、記録情報生成処
理がすべて中止され、ステップS1303で記録情報生
成処理開始が再度指示されるまで待機状態となる。
If the ink-out flag is 1 in step S1305 of 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 corresponds to FIG. 16 described in the first embodiment.
It is displayed on the 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, the process proceeds to step S1312 in FIG.
It is determined that the ink cartridge has been replaced, and the process proceeds to step S301 in FIG. When the stop button of the status window in FIG. 16 is pressed, the ink cartridge is not replaced in step S1312 in FIG.
, It is determined that the forcible release has been instructed, and all the recording information generation processing is stopped. In step S1303, a standby state is set until the start of the recording information generation processing is instructed again.

【0132】図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のステップS3
06のフラグリセットはプリンタ本体で検知リセットさ
せても良い。
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 is to 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 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. In step S305, the cleaning end status, that is, the cleaning execution flag =
When 0 is received, the ink absence flag of the corresponding color is reset, the recording information generation processing is restarted in step S307, and the process proceeds to step S1401 in FIG. Step S3 in FIG.
The flag reset of 06 may be detected and reset by the printer body.

【0133】図14のステップS1201でインク残量
フラグが1すなわちインクカートリッジのインク残量が
残りわずかの場合にはステップS1407へ進み、イン
ク残量表示フラグを1に変更し、ステップS1402へ
進む。
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 flow proceeds to step S1407, the ink remaining amount display flag is changed to 1, and the flow proceeds to step S1402.

【0134】ステップS1304で全画像データ(記録
情報)が出力されたと判断されるまで上記、図13のス
テップS1304、ステップS1305、図14のステ
ップS1401の各フラグ状態の判別処理が繰り返され
る。ステップS1404で全画像データ(記録情報)が
出力されるとステップS1405へ進み、インク残量表
示フラグを判別する。インク残量表示フラグが0すなわ
ちインクカートリッジにインクが十分にある場合にはス
テップS1302へ進む。ステップS1302でプログ
ラム終了が指示されなければ図13のステップS130
3で次の記録情報生成処理開始指示の待機状態となる。
Until it is determined in step S1304 that all the image data (recording information) has been output, the determination processing of each flag state in steps S1304, S1305 in FIG. 13 and step S1401 in FIG. 14 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 there is sufficient ink in the ink cartridge, the process advances to step S1302. If the end of the program is not instructed in step S1302, step S130 in FIG.
At 3, the apparatus enters a standby state for the next recording information generation processing start instruction.

【0135】ステップS1405でインク残量表示フラ
グが1すなわちインクカートリッジのインク残量が残り
わずかの場合には、ステップS1408へ進み、記録情
報生成処理を一時停止する。次に、ステップS1409
でメッセージ3を表示する。メッセージ3は先の実施例
1でのべた図17に示すようなステータスウインドウ画
面で表示される。図17のステータスウインドウ画面は
インクカートリッジのインクが残りわずかであり、画像
によっては途中で印字できなくなる可能性があるメッセ
ージ文および対応するインク色の表示と、実行ボタンお
よび中止ボタンからなる。各ボタンはホストコンピュー
タのマウスやキーボード等の入力手段により選択機能実
行される。図17のステータスウインドウのメッセージ
に従って、新しいインクカートリッジに交換し、実行ボ
タンを押すと、図14のステップS1410でインクカ
ートリッジが交換されたと判断して、図3のステップS
301へ進む。図17のステータスウインドウの中止ボ
タンを押すと図14のステップS1410でインクカー
トリッジは交換されず、ステップS1411で強制解除
が指示されたものと判断し、ステップS1412で記録
情報生成処理が再開され、ステップS1406へ進む。
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, step S1409
To display message 3. The message 3 is displayed on a status window screen as shown in FIG. 17 in the first embodiment. The status window screen of FIG. 17 includes a message text and a corresponding ink color that may not be able to be printed in the middle 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 the user replaces the ink cartridge with a new one in accordance with 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.
Go to 301. 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.

【0136】図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のステップS
306のフラグリセットはプリンタ本体で自己検知リセ
ットさせても良い。
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 is to 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 S1302 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 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. In step S305, the cleaning end status, that is, the cleaning execution flag =
When 0 is received, the ink remaining amount display flag of the corresponding color is reset, and the recording information generation processing is restarted in step 307, and the process proceeds to step S1406 in FIG. Step S in FIG.
The flag reset at 306 may be reset by self-detection by the printer body.

【0137】本実施例においても、プリンタのインクカ
ートリッジ有無、インク無し、インク残量の状態がホス
トコンピュータ上で認識できるため、プリンタ装置とホ
ストコンピュータが離れた場所にある場合、ネットワー
ク等でプリンタ装置を共有している場合に対応が容易と
なる。
Also in this embodiment, since the status of the ink cartridge of the printer, the absence of ink, and the remaining amount of ink can be recognized on the host computer, when the printer device and the host computer are separated from each other, the printer device is connected to a network or the like. It becomes easy to deal with when sharing.

【0138】また、本実施例によれば、インク残量が残
りわずかである場合の記録動作の停止およびメッセージ
表示を画像記録終了後に行うため、記録可能時の不用意
な停止を防止できる。
Further, according to the present embodiment, the recording operation is stopped when the remaining amount of ink is very small, and the message display is performed after the image recording is completed.

【0139】以上本実施例1によれば、プリンタ装置1
01のインクカ−トリッイジ有無、インク無し、インク
残量の状態(プリンタ装置101のインクイ関連ステ−
タス情報)をホストコンピュ−タ110のプリンタドラ
イバ114を用いて不図示のCPUが検知し、ホストコ
ンピュ−タのCRT等のディスプレイ上に対応したメッ
セ−ジ(ステ−タスウィンドウ)を表示することができ
る。従って、プリンタ装置101とホストコンピュ−タ
110が離れた場所にある場合やネットワ−ク等でプリ
ンタ装置101を共有している場合にユザ−インタ−フ
ェ−ス(操作性)を向上させることができる。
According to the first embodiment, the printer 1
01 ink cartridge presence / absence, ink absence / ink remaining status (ink-related status of the printer 101)
CPU information (status information) is detected by a CPU (not shown) using the printer driver 114 of the host computer 110, and a corresponding message (status window) is displayed on a display such as a CRT of the host computer. Can be. Therefore, the user interface (operability) can be improved when the printer device 101 and the host computer 110 are located at a remote place or when the printer device 101 is shared by a network or the like. it can.

【0140】また、以上本実施例2によれば、記録する
記録情報の使用色を解析し、使用するインク色のみのイ
ンク有無フラグ、インク無し、インク残量フラグのステ
−タスを検知し、実施例1と同様に対応メッセ−ジを表
示することができる。
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 amount flag of only the ink color to be used is detected. The corresponding message can be displayed as in the first embodiment.

【0141】従って、記録装置で記録する記録情報がブ
ラックしか使用しない場合にはブラックのステ−タス情
報のみ検知し、他の色のステ−タス情報を無視すること
で、ステ−タス情報検知のための不要な割り込み処理に
よる処理効率(例えば、記録情報生成処理の効率)の低
下を防止することができる。また、使用しないインク色
のステ−タスによる不用意な記録動作停止を防止するこ
とができる。
Therefore, when the recording information to be recorded by the recording apparatus uses only black, only the status information of black is detected, and the status information of other colors is ignored. For this reason, it is possible to prevent the processing efficiency (for example, the efficiency of the recording information generation processing) from being lowered by unnecessary interrupt processing. Further, it is possible to prevent an inadvertent stop of the printing operation due to the status of the unused ink color.

【0142】また、以上実施例3によれば、指定カラ−
モ−ド(モノクロ印字モ−ド、カラ−印字モ−ド)に応
じて、インク有無フラグ、インク無しフラグ、インク残
量フラグのステ−タスを検知し、実施例1と同様に対応
メッセ−ジを表示することができる。例えば、モノクロ
モ−ド印字モ−ドの場合にはブラックインクのステ−タ
スのみを、カラ−印字モ−ドの場合には全色のインクの
ステ−タスを不図示のCPUが検知する。なお、カラ−
モ−ドの選択切り換え指定は、ホストコンピュ−タ上で
の切り換えでもプリンタ装置の操作パネル上で切り換え
操作でも良い。プリンタ装置の操作パネル上で切り換え
た場合にはカラ−モ−ドのステ−タス情報をプリンタド
ライバを用いて不図示のCPUが検知する。
According to the third embodiment, the designated color
According to the mode (monochrome print mode, color print mode), the status of the ink presence flag, the ink absence flag, and the ink remaining amount flag is detected, and the corresponding message is displayed in the same manner as in the first embodiment. Can be displayed. For example, in the monochrome print mode, only the status of black ink is detected, and in the color print mode, the status of all color inks is detected by a CPU (not shown). The color
The mode selection / switching designation may be performed on the host computer or on the operation panel of the printer. When switching is performed on the operation panel of the printer device, the CPU (not shown) detects the status information of the color mode using the printer driver.

【0143】従って、ステ−タス情報検知のための不要
な割り込み処理による処理(例えば、記録情報生成処
理)の停止を防止できる。ここで不用意な記録情報生成
処理の停止とは、例えば、モノクロモ−ドの場合に使用
していないシアンインクのステ−タス情報により記録情
報生成処理の停止或は使用していないインクカ−トリッ
ジの交換命令による記録情報生成処理の停止である。
Accordingly, it is possible to prevent the processing (for example, the recording information generation processing) from being stopped by unnecessary interrupt processing for detecting status information. Here, the inadvertent stop of the recording information generation processing means, for example, the stop of the recording information generation processing or the use of an unused ink cartridge according to the status information of the cyan ink not used in the monochrome mode. This is the stop of the recording information generation process due to the exchange command.

【0144】また、以上実施例4によれば、例えばモノ
クロモ−ドの場合にインク残量が残りわずかである時に
代替色印字を可能にするメッセ−ジを表示することがで
きる。例えば、ブラックインクが残りわずかである場合
に、代替色印字指定でシアンインクに置き換えて記録さ
せることができる。
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 amount of black ink is very small, it is possible to perform recording by substituting cyan ink with alternative color printing designation.

【0145】従って、早急に記録情報の印字が必要であ
る場合にインクカ−トリッジを交換しなくても確実に記
録させることができる。
Therefore, when the printing of the recording information is required immediately, the recording can be surely performed without replacing the ink cartridge.

【0146】また、以上実施例5によれば、記録情報の
ドット数(D)を計数し(例えば、ペ−ジ単位或はバン
ドサイズ単位に計数し)、予め記録装置で記録可能なド
ット数(Count)と比較し、記録可能なら記録を続
行することができる。
Further, according to the fifth embodiment, the number of dots (D) of the recorded information is counted (for example, counted in a page unit or a band size unit), and the number of dots that can be recorded by the recording apparatus in advance is calculated. Compared with (Count), if recording is possible, recording can be continued.

【0147】また、以上実施例6によれば、プリンタド
ライバを介して不図示のCPUが、記録装置の記録可能
ドット数を更新できる。
According to the sixth embodiment, the CPU (not shown) can update the number of recordable dots of the recording apparatus via the printer driver.

【0148】また、以上実施例7によれば、インク残量
が残りわずかであるメッセ−ジを記録情報出力後に表示
することができる。
According to the seventh embodiment, a message indicating that the remaining amount of the ink is very small can be displayed after the recording information is output.

【0149】(インク残量検知機能の構成)次に、本発
明に適用可能なインク残量検知機能の一例を、図22〜
図33を参照して説明する。
(Configuration of Remaining Ink Detecting Function) Next, an example of the remaining ink detecting function applicable to the present invention will be described with reference to FIGS.
This will be described with reference to FIG.

【0150】インクジェット方式を用いた記録装置にお
いては、記録時に記録ヘッドから吐出されるインク量に
見合ったインクを良好に供給することができるととも
に、非記録時は、吐出口からのインク漏れなどがないイ
ンク供給系が要求される。
In a recording apparatus using an ink-jet method, it is possible to satisfactorily supply ink corresponding to the amount of ink ejected from a recording head at the time of recording. No ink supply system is required.

【0151】そのため、インク供給系に負圧発生機構を
設け、吐出口部における圧力を大気圧よりも低い状態と
する構成が知られている。ここでいう負圧とは、吐出口
部へのインク供給方向に対する背圧で、特に上述のよう
に吐出口部を大気圧よりも低くする圧力状態を意味す
る。
For this reason, a configuration is 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 ejection port, and particularly means a pressure state in which the ejection port is lower than the atmospheric pressure as described above.

【0152】インク供給系に設ける負圧発生機構とし
て、インク収容部としてのインク容器の一形態が、特開
昭63−87242号公報に開示されている。この従来
例には、インク容器内のほぼ全体に発泡材が配置され、
複数のインク射出オリフィスを備えたインクジェット記
録カートリッジの構成が示されている。このカートリッ
ジの構成においては、発泡材であるポリウレタンフォー
ムのような多孔質媒体にインクを貯蔵するためのフォー
ムの毛細管力による負圧の発生およびインクの保持(イ
ンク容器からのインク漏れ防止)が可能である。
As a negative pressure generating mechanism provided in the ink supply system, one form of an ink container as an ink container is disclosed in Japanese Patent Application Laid-Open No. 63-87242. In this conventional example, a foam material is arranged almost entirely in the ink container,
The configuration of an ink jet recording cartridge having a plurality of ink ejection orifices 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.

【0153】また、インク貯留手段内に負圧発生部材と
して発泡材を配置した構成において、インクの使用効率
を高くし、インク充填量を大きくする技術として、特開
平6−40043号が提案されている。本出願によれ
ば、負圧発生部材収容部とインクを収容するインク収容
部を分けたインク貯蔵容器を使用することにより、イン
ク収容部内の壁面に付着するインク以外はほぼ全て使用
することができ、安定したインク供給性能の維持とイン
ク貯蔵容器の大容量化が達成される。
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 structure in which a foam material is disposed as a negative pressure generating member in the ink storing means. I have. According to the present application, by using an ink storage container in which a negative pressure generating member storage section and an 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 is maintained and the capacity of the ink storage container is increased.

【0154】以下説明するインク残量検知の構成は、吸
収体、発泡材等の負圧発生部材を内蔵するインクタンク
を用いるインクジェット記録装置において、高精度でか
つ所望のインク残量で検知するインク残量検知機能を実
現するものであり、インクタンクの壁面の一部を通して
該壁面と該インク吸収体との境界部の光反射率の変化に
基づいてインクの残量検知を行うものである。
The structure for detecting the remaining amount of ink described below is a method of detecting ink with high accuracy and a desired remaining amount of 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 remaining amount detection function, and detects a 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.

【0155】図25は、複数の異なる色のインクを吐出
可能に構成したカラーインクジェット記録装置の概略斜
視図である。複数のそれぞれ異なる色のインクは、それ
ぞれ対応するインクタンクに収容されてキャリッジ上に
搭載される。従って、インクタンク(不図示)に収容さ
れているインクはカラープリンターで通常使用される
黒、シアン、マゼンタ、イエローの4色である。
FIG. 25 is a schematic perspective view of a color ink jet 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. Accordingly, 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.

【0156】図25において、8は各種構成部品が取付
けられたシャーシである。また、9は当該装置の長手方
向に設けられ、記録紙(不図示)を搬送するための紙送
りローラであり、10は紙送りローラ9と並列に設けら
れ、上記記録紙を紙送りローラ9に押圧するためのピン
チローラである。2は、紙送りローラ9に対向し、かつ
平行に設けられたガイドシャフト、11はガイドシャフ
ト2に対向し、かつ平行に設けられた磁気式リニアエン
コーダのスケール部である。
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 conveying a recording paper (not shown). Reference numeral 10 denotes a paper feed roller provided in parallel with the paper feed roller 9 to feed the recording paper. Is a pinch roller for pressing the sheet. Reference numeral 2 denotes a guide shaft which is provided in parallel with the paper feed roller 9 and reference numeral 11 denotes a scale portion of a magnetic linear encoder which is provided in parallel with the guide shaft 2.

【0157】また、1はガイドシャフト2に沿って移動
するキャリッジである。12はインクジェットヘッド
(不図示)をキャリッジ1に固定するためのヘッドカバ
ー、13はフレキシブル基板であり、これにより装置制
御部からキャリッジ1に搭載されるインクジェットヘッ
ドに記録データ信号を送り、またキャリッジ1に設けら
れた磁気式リニアエンコーダのセンサ(不図示)からの
出力信号を装置制御部へ送ることができる。
A carriage 1 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, An output signal from a sensor (not shown) of the provided magnetic linear encoder can be sent to the device control unit.

【0158】3はガイドシャフト2と平行に設けられ、
ガイドシャフト2を中心に回動可能に設けられているキ
ャリッジ1の姿勢を維持するサポートシャフトであり、
14はキャリッジ1をガイドシャフト2に沿って走査さ
せるためのキャリッジモータ、15はキャリッジモータ
14の駆動力をキャリッジ1に伝達するためのタイミン
グベルトである。尚、16はキャリッジ1の走査におけ
る基準位置を設定するためにキャリッジ1の走査領域内
に設けられた透過型フォトインタラプタである。
3 is provided in parallel with the guide shaft 2,
A support shaft that maintains the posture of the carriage 1 that is provided rotatably about the guide shaft 2,
Reference numeral 14 denotes a carriage motor for scanning the carriage 1 along the guide shaft 2, and reference numeral 15 denotes 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.

【0159】17はインクジェットヘッドの吐出不良を
防止またはそれらの回復動作に用いられる吸引キャップ
であり、18はインクジェットヘッドが待機中に、イン
クジェットヘッドの吐出口(以下、ノズルともいう)内
の乾燥を防ぐための保護キャップである。5は前記キャ
リッジ1上に設けられ、前記記録紙の厚さに応じて前記
記録紙とインクジェットヘッドとのクリアランスを切換
えるための紙ポジション切換えレバー、6は前記キャリ
ッジ1のホームポジション近傍に設けられたインクセン
サとしての反射型フォトインタラプタ、19は前記イン
クジェットヘッドのノズル部の目詰りを防止するため、
印字に先立って予備吐出を行う際にインク滴を受けとめ
るための予備吐出孔である。
Reference numeral 17 denotes a suction cap used for preventing ejection failure of the ink jet head or recovering the same, and reference numeral 18 designates drying of the ejection 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 to prevent. 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. Reference numeral 6 denotes a paper position switching lever provided near the home position of the carriage 1. A reflection type photo interrupter 19 as an ink sensor is provided to prevent clogging of a nozzle portion of the inkjet head.
This is a preliminary ejection hole for receiving ink droplets when performing preliminary ejection prior to printing.

【0160】図22は、キャリッジ1の側面図、図23
は図22においてインクタンクを装着した状態を示す
図、また、図24は図22に示すキャリッジを図22の
矢印Aの方向から見た状態を示す図である。
FIG. 22 is a side view of the carriage 1 and FIG.
22 is a diagram showing a state where the ink tank is mounted in FIG. 22, and FIG. 24 is a diagram showing a state where the carriage shown in FIG. 22 is viewed from the direction of arrow A in FIG.

【0161】図22、図23および図24を用いて本図
を用いてキャリッジ1とフォトインタラプタ6の位置関
係およびフォトインタラプタ6による検出の原理を説明
する。
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. 22, 23 and 24.

【0162】図22、図23および図24において、1
bはキャリッジ1の底部に設けられ、前記フォトインタ
ラプタ6からの光を透過させるための穴である。
In FIG. 22, FIG. 23 and FIG.
Reference numeral b denotes a hole provided at the bottom of the carriage 1 for transmitting light from the photo interrupter 6.

【0163】図23において、21はその先端のノズル
22からインクを吐出して印字を行うための印字ヘッド
である。7は前記キャリッジ1上に搭載されたインクタ
ンク、7aはインクタンク内に設けられた負圧発生部材
としての吸収体、7bはインクタンク内の吸収体とイン
クタンクの外壁との境界部、7cはインクタンク内でイ
ンクを他の部材と混入せずにそのままの状態(以下、生
インクともいう)で収納するインク収納部(以下、生イ
ンク収納部ともいう)、7dはインクタンク内の生イン
クとインクタンク外壁との境界部である。生インク収納
部は、実質的に密閉状態でインクを収納し、しきい壁7
gの下部つまりインクタンク底部の隙間部7fからイン
ク吸収体7aが収容される室内へインクの供給を行う。
インクタンク7の材質は透明プラスチック等のフォトイ
ンタラプタ6の検出光に対して透過性のものである。ま
た、28はインクの消費に伴う気液交換を行うための大
気連通口である。印字ヘッドへのインクの供給は供給口
を介して行われる。
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 portion 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), and 7d represents a raw ink in the ink tank. This is the boundary between the ink and the outer wall of the ink tank. The raw ink storage section stores the ink in a substantially sealed state, and has a threshold wall 7.
The ink is supplied from the lower part of g, that is, the gap 7f at the bottom of the ink tank, to the room in which 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 atmosphere 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.

【0164】また、インクタンク7には、インク吸収体
7aが収納される負圧発生部材収容部と前述の生インク
収納部との隔壁であるしきい壁7gの一部に大気導入溝
7hと負圧発生部材調整室7iとが形成されている。大
気導入溝7hは、しきい壁7gの中間部分からしきい壁
7gの端部、即ちインクカートリッジの底部との隙間7
fまで負圧発生部材収容部側に形成されている。そして
この大気導入溝7hの近辺に接するインク吸収体7aと
の間に、えぐられたような形状の負圧発生部材調整室7
iが形成されている。
In the ink tank 7, an air introduction groove 7h is formed in a part of a threshold wall 7g which is a partition wall between the negative pressure generating member accommodating portion accommodating the ink absorber 7a and the raw ink accommodating portion. A negative pressure generating member adjusting chamber 7i is formed. The air introduction groove 7h has a gap 7 between an intermediate portion of the threshold wall 7g and an end of the threshold wall 7g, that is, the bottom of the ink cartridge.
Up to f, it is formed on the negative pressure generating member housing portion side. A negative pressure generating member adjusting chamber 7 having a hollow shape is provided between the air absorbing groove 7h and the ink absorber 7a in contact with the vicinity of the air introducing groove 7h.
i is formed.

【0165】インク吸収体7aのインクが消費されると
インク吸収体7aにおける大気と液体の界面(気液界
面)が下降し、大気が生インク収納部内に導入され、イ
ンク吸収体7aへインクが供給される。いわゆる気液交
換が行われる。
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 transferred to the ink absorber 7a. Supplied. So-called gas-liquid exchange is performed.

【0166】前記気液界面におけるメニスカス位置によ
りインク吸収体7a内の負圧が調整され、インクが記録
ヘッドから漏れることなくインクの供給を行うことがで
きる。
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.

【0167】ヘッド21とインクタンク7は一体となっ
てキャリッジ1に搭載され、シャフト2、3をスライド
して本図面垂直方向に走査される。
The head 21 and the ink tank 7 are integrally mounted on the carriage 1, and are scanned in the vertical direction in the drawing by sliding the shafts 2 and 3.

【0168】図26はフォトインタラプタ6の装着され
た基板の平面図であり、6cは発光部、6dは受光部を
示す。また、図22において、6aは発光部6cにより
発せられた光6bが反射して戻ってくる光路(以下、戻
り光路ともいう)を示しており、図26に示す受光部6
dにより受光される。この光路は図22の様に図22の
紙面内を反射面としても良いし、図22の紙面の垂直面
を反射面としても良い。但し、前述の紙ポジション切換
えレバー5の操作によってキャリッジ1の姿勢が大きく
変わる場合は、図22の紙面垂直方向を反射面とする方
が、姿勢差の影響を受けにくくなる。また図22ではこ
の光路は図面を煩雑にしないために単なる直線で描かれ
ているが、実際はある程度ひろがりをもった光束であ
る。
FIG. 26 is a plan view of a substrate on which the photo interrupter 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 unit 6c is reflected and returned, and the light receiving unit 6 shown in FIG.
d. 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. 22. However, when the attitude of the carriage 1 is largely changed by the operation of the above-described paper position switching lever 5, the influence of the attitude difference is less when the reflection surface is in a direction perpendicular to the paper surface of FIG. 22. Also, 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.

【0169】フォトインタラプタ6はインクタンク7内
の吸収体7aのやや生インク収納部7c寄りに検出光を
照射するように設置されている。この位置は後述するよ
うに検知する時点での印字可能残枚数に影響する。ま
た、フォトインタラプタ6の高さ方向の位置に関して
は、フォトインタラプタ6の焦点位置近傍にインクタン
ク7の壁面と吸収体7aの境界7bがくるように配置す
るのが望ましい。フォトインタラプタ6の焦点位置から
外れてくると、検出光のひろがりが大きくなり、キャリ
ッジ1の穴1bの縁部等で反射・散乱される光のため検
出のS/Nを下げてしまうことになる。
The photo-interrupter 6 is installed so as to irradiate detection light on the absorber 7a in the ink tank 7 slightly near the raw ink storage portion 7c. This position affects the remaining number of printable sheets at the time of detection as described later. Regarding 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. If the detection light deviates from the focus position of the photo interrupter 6, the spread of the detection light increases, and the S / N of the detection is lowered due to the light reflected and scattered at the edge of the hole 1b of the carriage 1 or the like. .

【0170】フォトインタラプタ6は、前述の如く、光
源の発光素子6cであるLEDと受光素子6dが一体と
なったものである。このLEDは前記の4色のインクの
いずれにも透過性を有する赤外光のもので、受光素子6
dもLEDの波長に対して十分な感度を有するものであ
る。
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.
d also has sufficient sensitivity to the wavelength of the LED.

【0171】フォトインタラプタ6はキャリッジ1とは
別体に設置され、キャリッジ1に開けられた穴1bと透
明なインクタンク7の壁7bを通して吸収体7cの底面
に赤外光を照射し、反射してきた光を受光素子6dによ
り検出する。このように検出系であるフォトインタラプ
タ6をキャリッジから離して別体に設置することは、記
録装置本体から可動部分であるキャリッジへの給電線や
信号線などがその分不要になり、構成の簡潔化を達成し
て低廉化を図ることができる。
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 the wall 7b of the transparent ink tank 7 to reflect the light. The detected light is detected by the light receiving element 6d. By disposing the photo-interrupter 6 as the detection system separately from the carriage in this way, 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.

【0172】図28はインクタンク7にインクが十分に
あるときの吸収体7aの下面のフォトインタラプタ6の
フォトインタラプタが光照射している近傍の拡大図、図
29は同じ位置でインクが無くなったときの拡大図であ
る。また図30は残インク量に応じたフォトインタラプ
タ6の受光部6dの出力変化を示すグラフである。
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 radiated when the ink tank 7 has sufficient ink, and FIG. It is an enlarged view at the time. 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.

【0173】次に本インク残量検出の原理を説明する。Next, the principle of detecting the remaining amount of ink will be described.

【0174】一般に異なる屈折率どうしの媒質1、2の
境界面における光の振幅反射率を示すフレネルの公式
は、
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 as follows:

【0175】[0175]

【外1】 となる。[Outside 1] Becomes

【0176】ここでn1:媒質1の屈折率 n2:媒質2の屈折率 θ1:媒質1中の光線が法線となす角 θ2:媒質2中の光線が法線となす角 (この4者にはn1・sinθ1=n2・sinθ2の
関係がある。)
Here, n1: the refractive index of the medium 1 n2: the refractive index of the medium 2 θ1: the angle between the light rays in the medium 1 and the normal line θ2: the angle between the light rays in the medium 2 and the normal line Has a relationship of n1 · sin θ1 = n2 · sin θ2.)

【0177】フォトインタラプタ6の発光部6cからの
光は、インクタンク7に垂直に近い角度で入射している
とするとcosθ=1とみなすことができ、上記の振幅
反射率に代えてエネルギー反射率で記述するために自乗
すると、
The light from the light emitting section 6c of the photointerrupter 6 can be regarded as cos θ = 1 if it is incident on the ink tank 7 at an angle close to the vertical, and the energy reflectance is replaced with the energy reflectance. Squaring to describe in

【0178】[0178]

【外2】 となる。[Outside 2] Becomes

【0179】まず、インクタンク7にインクが十分にあ
るとき図28のようにインクタンク7の壁面と吸収体7
aの隙間はインクで充填されている。インクタンク7と
吸収体7aはプラスチックで屈折率は約1.5、インク
は屈折率約1.4なのでインクタンク7の内壁や吸収体
7aの表面での反射率は上式から約0.1%しかない。
First, when there is sufficient ink in the ink tank 7, as shown in FIG.
The gap a is filled with ink. Since the ink tank 7 and the absorber 7a are plastic and have a refractive index of about 1.5 and 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%.

【0180】次にインク消費に伴って、図28における
大気連通口8を通じて、図29のようにインクタンク7
の壁面と吸収体7aの隙間には空気がはいりこんでく
る。インクが無くなった状態でのタンク内壁や吸収体表
面での反射率は約4%ある。すなわちインクが無くなる
と反射光量は約40倍に増大する。(但し、実際にはイ
ンクタンク7の外側底面からの反射光など境界部7cの
反射光以外の光や電気ノイズの影響でそこまでの出力差
としては検出されない場合がある。) ここで、フォトインタラプタ6でインクタンク7と生イ
ンク収納部7cとの境界部7dにおいて検出を行っても
反射率の差は生ずるが、その場合と比べてみると反射要
素の数として以下の様な差がある。
Next, as the ink is consumed, the ink tank 7 as shown in FIG.
Air enters into the gap between the wall of the device and the absorber 7a. The reflectivity on the inner wall of the tank and the surface of the absorber when the ink has run out is about 4%. That is, when the ink runs out, the amount of reflected light increases about 40 times. (However, in practice, the output difference may not be detected due to the influence of light other than the light reflected from the boundary 7c, such as the light reflected from the outer bottom surface of the ink tank 7, or electric noise.) Even if detection is performed at the boundary portion 7d between the ink tank 7 and the raw ink storage portion 7c by the interrupter 6, a difference in reflectance occurs. However, as compared with that case, there is the following difference in the number of reflection elements. .

【0181】[0181]

【表1】 [Table 1]

【0182】このように吸収体部で検出を行った方が反
射要素の数が3倍も多く、それだけ反射光量自体が大き
くなり、前述のようなノイズに強い検出ができる。
As described above, when the detection is performed by the absorber, the number of the reflection elements is three times as large, and the amount of reflected light itself is increased by that amount, and the detection which is strong against the above-described noise can be performed.

【0183】また図29に示すように、吸収体7aとイ
ンクタンク7との間に入り込んだ空気は吸収体7aを通
過するうち微細な多数の気泡となって存在することが多
く、これらの光散乱効果も加わって反射光量はさらに増
加する。
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. The reflected light amount further increases due to the scattering effect.

【0184】これらの反射率は上述のようにcosθ=
1の場合の値であるが、それ以外の場合でもインク有る
場合と無い場合では同様にかなりの反射率差がある。い
ずれの場合も反射率差に応じてフォトインタラプタ6の
受光部6dに大きな出力差が生じるので、この出力差に
よってインクタンク7内のインクの有無を検知すること
ができる。
As described above, these reflectances are represented by cos θ =
The value is 1 in the case of 1. However, in other cases, there is a considerable difference in reflectance with and without ink. In either case, a large output difference occurs in the light receiving portion 6d of the photointerrupter 6 in accordance with the reflectance difference, so that the presence or absence of ink in the ink tank 7 can be detected based on the output difference.

【0185】実際には、フォトインタラプタ6が光を照
射している領域はその焦点位置においても点では無く、
ある所定の大きさをもっており、その領域からインクが
徐々に抜けていくにつれてフォトインタラプタ6の出力
は連続的に変化していくことになる。
Actually, the area where the photo interrupter 6 irradiates light is not a point even at its focal position.
It has a certain size, and the output of the photointerrupter 6 changes continuously as the ink gradually escapes from that area.

【0186】図30において横軸はインクがなくなって
不吐になるまでの印字可能残枚数、縦軸はフォトインタ
ラプタ6の出力である。この出力変化カーブに基き、所
定のしきい値レベルを越えたとき(図30においては残
り約15枚印字可能な残量をしきい値としている)に、
インクタンク7内のインク量が残り少なくなったと判断
する。そして、インクジェット印字装置本体の表示パネ
ル上で警告表示用LED等を点灯させることによりイン
ク残量が少なくなったということをユーザーに知らせる
ことができる。
In FIG. 30, the abscissa represents the remaining number of printable sheets from the time when the ink is exhausted to the time when the ink is not discharged, and the ordinate represents the output of the photo interrupter 6. Based on the 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),
It is determined that the remaining amount of ink in the ink tank 7 is low. Then, by turning on a warning display LED or the like on the display panel of the ink jet printing apparatus main body, it is possible to inform the user that the remaining amount of ink is low.

【0187】インク残量が低下してことを表示させると
きの残枚数は、しきい値レベルを変更することで、増減
できる。ただし、図30からわかるように出力が立ち上
がるときの枚数(図30においては残り約30枚)以前
で表示させることは困難である。これに対しては、フォ
トインタラプタ6が検出を行う位置を変えることによっ
て出力が立ち上がるときの印字可能枚数を変更すること
ができる。このようにして、所望の残枚数で警告を発す
ることができる。
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 when the 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.

【0188】あるいは、確実に印字不良を出さないよう
にするためには、警告を行う代わりに、または警告と同
時に印字動作を停止させても良い。この場合は一旦停止
してしまうことで、より強い警告になるという効果があ
る。
Alternatively, in order to ensure that no printing failure occurs, the printing operation may be stopped instead of or simultaneously with the warning. In this case, there is an effect that a stronger warning is given by temporarily stopping.

【0189】以上詳述したように、負圧発生部材として
吸収体7aを配置したインクタンク7に対して、発光部
6cより発せられた光の反射光を受光部6dにより検出
し、その出力レベルにより、インクタンク7内のインク
の残量が所定量より少なくなったことを検出することが
できる。
As described in detail above, the reflected light of the light emitted from the light emitting section 6c is detected by the light receiving section 6d for the ink tank 7 in which the absorber 7a is disposed as a negative pressure generating member, and the output level thereof is determined. Accordingly, it is possible to detect that the remaining amount of ink in the ink tank 7 has become smaller than a predetermined amount.

【0190】このとき、吸収体7aはインクタンク7か
ら供給されるインクの負圧をコントロールする負圧コン
トロール部材としての働きと、発光部6cにより発せら
れた光の反射光量をコントロールする反射コントロール
部材としての働きをし、吸収体7aが配置されたインク
タンク内のインクの残量の低下を正確に検出することが
できる。
At this time, the absorber 7a functions as a negative pressure control member for controlling the negative pressure of the ink supplied from the ink tank 7, and a reflection control member for controlling the amount of light reflected by the light emitting section 6c. , 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.

【0191】また図25に示したインクジェット記録装
置は、複数のカラーそれぞれに対応したインクを吐出可
能に構成されるいわゆるカラーインクジェット記録装置
である。インクタンク7は、図33に示すように、カラ
ーの4色に対応して4個横並びになってキャリッジ上に
搭載されている。従って、キャリッジ1を移動すること
によって各色のインクタンクを順次フォトインタラプタ
6に対向させ、それぞれのインクタンクのインク残量の
検知を行う。各色における出力変化を個別に追跡する必
要があるので、それに対応するメモリ手段を持つ。この
場合インク残量が少なくなったという表示は4色個別に
行うのが望ましいが、インクジェット記録装置本体の表
示パネルが煩雑になる等の理由で簡易的にどれか1色が
少なくなったというのみの表示を行う場合もある。
The ink jet recording apparatus shown in FIG. 25 is a so-called color ink jet recording apparatus which can discharge inks corresponding to a plurality of colors. As shown in FIG. 33, four ink tanks 7 are mounted on the carriage side by side corresponding to four colors. Therefore, 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 output changes in each color, a memory means corresponding to the output change is provided. In this case, it is desirable that the indication that the amount of remaining ink is low is displayed separately 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.

【0192】以上のような構成によれば、カラーインク
ジェット記録装置のインク吸収体を内蔵したインクタン
クに対して、1つの検出系で4色のインクタンクそれぞ
れのインク残量が精度良く検出できる。
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 for the ink tank containing the ink absorber of the color ink jet recording apparatus.

【0193】上述した説明の例ではインクタンク7の底
面から検出を行っている。しかしながら、本発明はイン
クタンク7の底面から検出を行う構成に限らず、側面や
上面から検出を行ってもかまわない。
In the example described above, detection is performed from the bottom 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.

【0194】しかし、以下の理由から、インクタンク7
の底面から検出を行う方が望ましい。
However, for the following reason, the ink tank 7
It is more desirable to perform detection from the bottom surface.

【0195】吸収体7aは通常その密度の分布が均一で
は無く、インクが無くなっていくときにスポット的にイ
ンクが抜けていく。したがって、周囲にまだインクが残
っていてもフォトインタラプタ6がたまたま検知してい
るところだけが先にインクが無くなったり、その逆のこ
とがあったりして同一出力レベルでもその時点での残印
字可能枚数にばらつきが生じ、最悪の場合、警告がされ
ないままインクが無くなってしまうということもあり得
る。
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.

【0196】ところがインクタンク7の底面は重力の作
用でインクがたまりやすくなっているので、吸収体7a
の密度の分布の影響は軽減される。したがって、インク
タンク7の底面からの検出を行うことによって、精度の
高いインク残量検出が可能になる。
However, since the bottom of the ink tank 7 is apt to accumulate ink by the action of gravity, the absorber 7a
The effect of the density distribution is reduced. Therefore, by performing detection from the bottom surface of the ink tank 7, it is possible to detect the remaining amount of ink with high accuracy.

【0197】また、図31は、吸収体7aの密度の不均
一性への対処を行い、より精度の高いインク残量の検出
を行うため、図31に示すようにフォトインタラプタを
2箇所に設け、その計測値の平均値を用いて、インク残
量が低下したことを検出するよう構成したものである。
FIG. 31 shows two photo-interrupters as shown in FIG. 31 in order to deal with the non-uniformity of the density of the absorber 7a and to detect the remaining amount of ink with higher accuracy. , The average value of the measured values is used to detect that the remaining ink amount has decreased.

【0198】図31において、図28と同様の構成につ
いては同じ符号を付している。6’は第2のインクセン
サとして配置されるフォトインタラプタであり、フォト
インタラプタ6と同じものである。(ここで、フォトイ
ンタラプタ6を説明の便宜上第1のフォトインタラプタ
ともいうこととする。) 図31に示す構成においては、第1のフォトインタラプ
タ6と第2のフォトインタラプタ6’の出力の平均値を
用いてインク残量が低下したことを検知する。この平均
値は単純平均でも重み付け平均でも構わない。第2のフ
ォトインタラプタ6’の方が第1のフォトインタラプタ
6よりも供給口24に近いので、印字可能残枚数がより
少なくなってから出力変化が起きる。したがって、検知
したい残枚数によって、どちらをより重み付けするかが
決まる。
In FIG. 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 photointerrupter 6 is also referred to as a first photointerrupter for convenience of explanation.) In the configuration shown in FIG. 31, the average value of the outputs of the first photointerrupter 6 and the second photointerrupter 6 ′ Is used to detect that the amount of remaining ink has decreased. 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 remaining number of printable sheets becomes smaller. Therefore, which weight is to be determined more depends on the remaining number of sheets to be detected.

【0199】このように複数点にインクの残量検出用の
センサを設け、複数の検出点の計測値の平均値を用いる
ことによって、吸収体7aの密度が不均一であってもそ
の影響が軽減でき、高精度の残量検出を行うことができ
る。
By providing the sensors for detecting the remaining amount of ink at a plurality of points and using the average value of the measured values at the plurality of detection points, even if the density of the absorber 7a is not uniform, the influence is not affected. Thus, the remaining amount can be detected with high accuracy.

【0200】同じく吸収体7aの密度の不均一性の影響
による検出値のばらつきを低減する手段としては、フォ
トインタラプタ6とキャリッジ1とを相対的に移動可能
とし、インクタンク7の複数の検出点の計測値の平均値
を用いるてインク残量検出を行う方法も考えられる。こ
の場合、フォトインタラプタ6を移動可能とする構成
や、フォトインタラプタ6は固定した状態でキャリッジ
1を移動させながら複数点を計測する構成のいずれであ
っても構わない。
Similarly, as means for reducing the variation in the detected value due to the influence of the non-uniformity of the density of the absorber 7a, the photo-interrupter 6 and the carriage 1 can be relatively moved, and a plurality of detection points of the ink tank 7 can be detected. A method of detecting the remaining amount of ink using the average value of the measured values of the above is also conceivable. In this case, the photointerrupter 6 may be configured to be movable, or the photointerrupter 6 may be configured to measure a plurality of points while moving the carriage 1 in a fixed state.

【0201】また、上述のインク残量検出の構成では、
フォトインタラプタ6の出力が所定のしきい値を越えた
場合に警告や印字動作の停止を行っているが、これに限
らず、センサの出力がしきい値を越えた場合に警告や印
字動作の停止を行わず、フォトインタラプタ6の出力に
対応した表示、すなわちフォトインタラプタ6の出力に
比例あるいは単調変化する表示を行うものであってもよ
い。
In the above-described configuration for detecting the remaining amount of ink,
The warning and the printing operation are stopped when the output of the photo interrupter 6 exceeds a predetermined threshold value. However, the present invention is not limited to this, and the warning and the printing operation are performed when the output of the sensor exceeds the threshold value. Instead of stopping, a display corresponding to the output of the photo interrupter 6, that is, a display that changes proportionally or monotonically with the output of the photo interrupter 6 may be performed.

【0202】図30から明らかなように、インクタンク
7内の残インク量が少なくなるとフォトインタラプタ6
の出力は連続的に変化していく。したがって、この出力
変化に対応した残量表示を行うことにより、印字可能残
枚数にほぼ対応した表示を連続的に行うことができる。
こうすることによって、より詳細なインク残量情報をユ
ーザーに与えることができる。
As is apparent from FIG. 30, when the remaining ink amount in the ink tank 7 decreases, the photo interrupter 6
Output changes continuously. Therefore, by displaying the remaining amount corresponding to the output change, it is possible to continuously perform 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.

【0203】図32は、インクタンク7内のインクの残
量を表示パネルに表示する例を示している。表示パネル
内の表示は、図32に示すように印字可能残枚数に対応
して、デジタルメータのレベルが変化するものや、他に
印字可能残枚数を数字で表示するものであっても良い。
また、表示パネルとしては、液晶を用いたものをはじ
め、一般的に使用される表示機器を使用すればよい。ま
た、視認される表示手段に限らず、音声による印字可能
残枚数の案内や、印字可能残枚数に応じてブザー音の長
さ、回数を異ならせる方法によってもよい。
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 in 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 by a number.
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.

【0204】以上の構成により、フォトインタラプタ6
の出力に応じて詳細なインク残量情報をユーザに知らせ
ることが可能となり、ユーザーはインクタンクの交換等
のメンテナンスを適切な時期に行うことができる。
With the above configuration, the photo interrupter 6
, The user can be notified of detailed ink remaining amount information, and the user can perform maintenance such as replacement of the ink tank at an appropriate time.

【0205】また、図23に示した例では、インクタン
ク7は吸収体部7aと生インク収納部7cとを合わせ持
つものであったが、この構成に限らず、図27に示すよ
うにインクタンク7の内部全域にわたって吸収体7aを
配置した構成のインクタンクにも適用されるものであ
る。
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. The present invention is also applied to an ink tank having a configuration in which the absorber 7a is arranged over the entire area of the tank 7.

【0206】図27に示す構成において、インクは吸収
体7aより供給口24、印字ヘッド21内の流路30を
順次流れた後、吐出手段としてノズル22に設けられる
発熱手段(以下、ヒーターともいう)31により熱エネ
ルギーを付与され、急激な熱エネルギーの付与によりイ
ンクが発泡してノズル22の先端の吐出口から吐出す
る。このようにして吐出されたインクが紙などの媒体に
付着することによって印字が行われる。
In the configuration shown in FIG. 27, after the ink flows from the absorber 7a through the supply port 24 and the flow path 30 in the print head 21 sequentially, a heating means (hereinafter also referred to as a heater) provided in the nozzle 22 as a discharging means. The heat energy is applied by 31), and the ink is foamed by the sudden application of the heat energy, and is discharged from the discharge port at the tip of the nozzle 22. Printing is performed by the ink thus ejected adhering to a medium such as paper.

【0207】また、インクタンク7が無いときはフォト
インタラプタ6の反射光が無くなるので、前述のインク
が十分ある時の出力レベルに比べてはるかに低いレベル
の出力となる。このことから、フォトインタラプタ6を
用い、インクタンク7が搭載されているときと搭載され
ていないときとの検出レベル差からインクタンク7の有
無をも検出することができる。
When the ink tank 7 is not provided, the reflected light from the photo-interrupter 6 disappears, so that the output is much lower than the output level when the ink is sufficient. Thus, the presence / 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.

【0208】特に、図25に示すようなカラーインクジ
ェット記録装置においては、各色のインクタンクの有無
を個別に検出することができ、インクタンクが搭載され
ていないにもかかわらず記録が行われるといった問題を
解決することができる。また、インクタンクの有無を検
出するための特別な構成を設けることなくインクタンク
の有無が検出でき、コストを高くすることなく簡単な構
成でインクタンクのインク残量検出およびインクタンク
の有無を検出することができる。
In particular, in a color ink jet recording apparatus as shown in FIG. 25, the presence or absence of an ink tank for each color can be individually detected, and recording is performed even when no ink tank is mounted. Can be solved. 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 ink remaining amount of the ink tank and the presence or absence of the ink tank can be detected with a simple configuration without increasing the cost. can do.

【0209】以上説明したように、インクタンクの壁面
の一部を通して該壁面とインク吸収体との境界部の光反
射率の変化を検出する手段を具備し、その部分にインク
が有るときと無いときの反射率差からインクの残量検知
を行うことによって、吸収体を内蔵するインクタンクに
おいても、高精度でかつ所望のインク残量に達したこと
を検出するインク残量検知機能を実現することができ
る。
As described above, there is provided means for detecting a change in light reflectance at the boundary between the ink tank and the wall through a part of the wall of the ink tank. By detecting the remaining amount of ink from the difference in reflectance at the time, an ink remaining amount detection function that detects that a desired amount of ink has been reached with high accuracy is realized even in an ink tank having a built-in absorber. be able to.

【0210】[0210]

【発明の効果】以上説明した様に本発明によれば、記録
装置で使用するインク色を解析し、解析した使用するイ
ンク色のインクカートリッジの残量を示す残量情報を記
録装置から取得し、残量情報の取得に応じて、使用する
インク色のインクカートリッジの交換或は情報処理装置
での処理続行をユーザーに選択させるためのメッセージ
を表示手段に表示させることができるという効果を奏す
る。
As described above, according to the present invention, the ink color used in the printing apparatus is analyzed, and the remaining amount information indicating the remaining amount of the analyzed ink color of the ink cartridge is acquired from the printing apparatus. In addition, according to the acquisition of the remaining amount information, there is an effect that a message for prompting the user to replace the ink cartridge of the ink color to be used or to continue processing in the information processing apparatus can be displayed on the display means.

【0211】以上説明した様に本発明によれば、ユーザ
に記録装置の状態(インクがないと判断されカートリッ
ジを交換すべき状態)を報知することができる情報処理
装置及び情報処理方法を提供することができるという効
果を奏する。
As described above, according to the present invention, an information processing apparatus and an information processing method capable of notifying a user of a state of a recording apparatus (a state in which it is determined that there is no ink and a cartridge should be replaced) are provided. It has the effect of being able to do so.

【0212】[0212]

【0213】[0213]

【0214】[0214]

【0215】[0215]

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例におけるプリンタ制御システ
ムを示す構成図である。
FIG. 1 is a configuration diagram illustrating a printer control system according to an embodiment of the present invention.

【図2】本発明の一実施例における制御内容を示すフロ
ーチャートである。
FIG. 2 is a flowchart showing control contents in one embodiment of the present invention.

【図3】本発明の一実施例におけるインクカートリッジ
交換時の制御内容を示すフローチャートである。
FIG. 3 is a flowchart showing control contents when replacing an ink cartridge in one embodiment of the present invention.

【図4】本発明の実施例における記録画像の使用色を判
別し、制御を行う場合の制御内容を示すフローチャート
である。
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.

【図5】本発明の実施例におけるカラーモードを判別
し、制御を行う場合の制御内容を示すフローチャートで
ある。
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.

【図6】本発明の実施例におけるカラーモードを判別
し、制御を行う場合のカラーモード時の制御内容を示す
フローチャートである。
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.

【図7】本発明の実施例におけるカラーモードを判別
し、制御を行う場合のインク残量を検知する制御内容を
示すフローチャートである。
FIG. 7 is a flowchart showing the control contents for detecting the remaining amount of ink when the color mode is determined and control is performed in the embodiment of the present invention.

【図8】本発明の別の実施例におけるカラーモードを判
別し、制御を行う場合のインク残量を検知する制御内容
を示すフローチャートである。
FIG. 8 is a flowchart showing the control contents for detecting a color mode in another embodiment of the present invention and detecting a remaining amount of ink when performing control.

【図9】本発明の実施例における代替色を利用する場合
の制御内容を示すフローチャートである。
FIG. 9 is a flowchart showing control contents when an alternative color is used in the embodiment of the present invention.

【図10】本発明の別の実施例における制御内容を示す
フローチャートである。
FIG. 10 is a flowchart showing control contents according to another embodiment of the present invention.

【図11】本発明の実施例における記録画像のドット数
に応じて制御を行う場合の内容を示すフローチャートで
ある。
FIG. 11 is a flowchart illustrating a case where control is performed according to the number of dots of a recorded image according to the embodiment of the present invention.

【図12】本発明の別の実施例における記録画像のドッ
ト数に応じて制御を行う場合の内容を示すフローチャー
トである。
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.

【図13】本発明の更に別の実施例における制御内容を
示すフローチャートである。
FIG. 13 is a flowchart showing control contents according to still another embodiment of the present invention.

【図14】本発明の実施例におけるインク残量表示を画
像データ(記録情報)出力終了後に表示する制御内容を
示すフローチャートである。
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.

【図15】インクカートリッジ無しを表示するステータ
スウインドウでのメッセ−ジ1を示す図である。
FIG. 15 is a diagram showing a message 1 in a status window displaying that there is no ink cartridge.

【図16】インク無しを表示するステータスウインドウ
でのメッセ−ジ2を示す図である。
FIG. 16 is a diagram showing a message 2 in a status window displaying that there is no ink.

【図17】インク残量警告を示すステータスウインドウ
でのメッセ−ジ3と3’を示す図である。
FIG. 17 is a diagram showing messages 3 and 3 'in the status window showing the remaining ink amount warning.

【図18】インク残量警告および代替色を利用可能とす
るステータスウインドウでのメッセ−ジ33を示す図で
ある。
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.

【図19】クリーニング実行を示すステータスウインド
ウでのメッセ−ジ4を示す図である。
FIG. 19 is a diagram showing a message 4 in a status window indicating execution of cleaning.

【図20】代替色を選択するステータスウインドウでの
メッセ−ジ5を示す図である。
FIG. 20 is a diagram showing a message 5 in a status window for selecting an alternative color.

【図21】代替色指定した色が使用できないことを知ら
せるステータスウインドウでのメッセ−ジ6を示す図で
ある。
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.

【図22】キャリッジ側面図である。FIG. 22 is a side view of the carriage.

【図23】タンク装着状態を示すキャリッジ側面図であ
る。
FIG. 23 is a side view of the carriage showing a tank mounted state.

【図24】キャリッジを底部側から見た概略図である。FIG. 24 is a schematic view of the carriage viewed from the bottom side.

【図25】インクジェットプリンタの装置全体概略図で
ある。
FIG. 25 is a schematic view of the entire apparatus of an ink jet printer.

【図26】本発明に適用可能なインクセンサの構成を示
す図である。
FIG. 26 is a diagram showing a configuration of an ink sensor applicable to the present invention.

【図27】キャリッジおよびインクセンサの構成を示す
図である。
FIG. 27 is a diagram illustrating a configuration of a carriage and an ink sensor.

【図28】インク残量検出の原理を説明する図である。FIG. 28 is a diagram illustrating the principle of detecting the remaining amount of ink.

【図29】インク残量検出の原理を説明する図である。FIG. 29 is a diagram illustrating the principle of detecting the remaining amount of ink.

【図30】フォトインタラプタの出力を説明する図であ
る。
FIG. 30 is a diagram illustrating an output of a photo interrupter.

【図31】インクセンサの構成を示す図である。FIG. 31 is a diagram illustrating a configuration of an ink sensor.

【図32】インク残量検出結果の表示を示す図である。FIG. 32 is a diagram showing a display of a detection result of the remaining amount of ink.

【図33】複数のインクタンクを搭載したキャリッジを
示す図である。
FIG. 33 is a diagram illustrating a carriage on which a plurality of ink tanks are mounted.

【符号の説明】[Explanation of symbols]

101 プリンタ装置 102 コントローラ 103 操作パネル 104 印字ヘッド 105 キャリッジモータ 106 紙送りモータ 107 メモリー 108 インクセンサ 109 内蔵フォント 110 ホストコンピュータ 111 OSシステム 112 フォントラスタライザ 113 アプリケーションソフトウエア 114 プリンタドライバ 115 ステータスウインドウ 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 Font 110 Host Computer 111 OS System 112 Font Rasterizer 113 Application Software 114 Printer Driver 115 Status Window

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鎌田 雅史 東京都大田区下丸子3丁目30番2号キヤ ノン株式会社内 (72)発明者 森村 和彦 東京都大田区下丸子3丁目30番2号キヤ ノン株式会社内 (56)参考文献 特開 平2−227258(JP,A) 特開 平6−210939(JP,A) 特開 平6−226990(JP,A) 特開 平2−283465(JP,A) 特開 平6−278292(JP,A) 特開 平3−2040(JP,A) 特開 平1−195049(JP,A) 特開 平3−59689(JP,A) 特開 平6−115090(JP,A) (58)調査した分野(Int.Cl.7,DB名) B41J 2/175 B41J 2/21 B41J 29/46 G06F 3/12 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masafumi Kamata 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Kazuhiko Morimura 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon (56) References JP-A-2-227258 (JP, A) JP-A-6-210939 (JP, A) JP-A-6-226990 (JP, A) JP-A-2-283465 (JP, A) A) JP-A-6-278292 (JP, A) JP-A-3-2040 (JP, A) JP-A 1-195049 (JP, A) JP-A-3-59689 (JP, A) JP-A-6 −115090 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) B41J 2/175 B41J 2/21 B41J 29/46 G06F 3/12

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 記録装置を制御する情報処理装置であっ
て、 前記記録装置で使用するインク色を原画像から解析する
解析手段と、 前記解析手段で解析した使用色のインク無しフラグを判
別する判別手段と、 前記判別手段により判別される使用色のインク無しフラ
グにより使用色のインクカートリッジにインクがないと
判断される場合、インクカートリッジの交換を促すメッ
セージの表示をすべく、またインクカートリッジが交換
されたと判断される場合、クリーニングの実行を行うか
否かを示すメッセージの表示をすべく、表示を制御する
表示制御手段とを有することを特徴とする情報処理装
置。
1. An information processing apparatus for controlling a printing apparatus, comprising: analyzing means for analyzing an ink color used in the printing apparatus from an original image; and determining an ink absence flag of the used color analyzed by the analyzing means. When it is determined that there is no ink in the ink cartridge of the use color by the ink absence flag of the use color determined by the determination means and the ink cartridge, the ink cartridge is displayed in order to display a message prompting replacement of the ink cartridge. An information processing apparatus, comprising: display control means for controlling a display so as to display a message indicating whether or not to execute cleaning when it is determined that the cleaning has been performed.
【請求項2】 前記情報処理装置は前記記録装置で記録
させる記録情報を生成して前記記録装置へ出力すること
を特徴とする請求項1に記載の情報処理装置。
2. The information processing apparatus according to claim 1, wherein the information processing apparatus generates recording information to be recorded by the recording apparatus and outputs the recording information to the recording apparatus.
【請求項3】 記録装置を制御する情報処理装置におけ
る情報処理方法であって、 前記記録装置で使用するインク色を原画像から解析する
解析工程と、 前記解析工程で解析した使用色のインク無しフラグを判
別する判別工程と、 前記判別工程により判別される使用色のインク無しフラ
グにより使用色のインクカートリッジにインクがないと
判断される場合、インクカートリッジの交換を促すメッ
セージの表示をすべく、またインクカートリッジが交換
されたと判断される場合、クリーニングの実行を行うか
否かを示すメッセージの表示をすべく、表示を制御する
表示制御工程とを有することを特徴とする情報処理方
法。
3. An information processing method in an information processing apparatus for controlling a printing apparatus, comprising: an analyzing step of analyzing an ink color used in the printing apparatus from an original image; and no ink of a used color analyzed in the analyzing step. A determination step of determining a flag, and when it is determined that there is no ink in the ink cartridge of the use color by the ink absence flag of the use color determined in the determination step, a message prompting replacement of the ink cartridge is displayed. And a display control step of controlling the display so as to display a message indicating whether or not to execute the cleaning when it is determined that the ink cartridge has been replaced.
JP25524794A 1994-10-20 1994-10-20 Information processing apparatus and information processing method Expired - Fee Related JP3359160B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP25524794A JP3359160B2 (en) 1994-10-20 1994-10-20 Information processing apparatus and information processing method
US08/543,929 US6771378B2 (en) 1994-10-20 1995-10-17 Information processing apparatus which obtains information concerning residual ink amount from an attached ink jet printer
EP95116499A EP0707969B1 (en) 1994-10-20 1995-10-19 Information processing apparatus and method for use in system with remote printer
DE69532600T DE69532600T2 (en) 1994-10-20 1995-10-19 Data processing apparatus and method for use in a remote printing system

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
JPH08118675A JPH08118675A (en) 1996-05-14
JP3359160B2 true JP3359160B2 (en) 2002-12-24

Family

ID=17276093

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3359160B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000141700A (en) * 1998-11-18 2000-05-23 Seiko Epson Corp Ink-jet recording apparatus and method for controlling ink-jet recording apparatus
JP2001001511A (en) * 1999-06-23 2001-01-09 Copyer Co Ltd Ink jet imaging apparatus
JP2001113792A (en) * 1999-10-15 2001-04-24 Seiko Epson Corp Medium storing maintenance guide program of printer, maintenance guide apparatus and method for printer
JP3360728B2 (en) 1999-12-03 2002-12-24 富士ゼロックス株式会社 Recording control method, recording device, recording control device, and storage medium storing recording control program
US7172260B2 (en) 2002-03-04 2007-02-06 Seiko Epson Corporation Liquid spraying method, liquid spraying system, and liquid spraying execute program
JP4630783B2 (en) 2004-12-16 2011-02-09 キヤノン株式会社 Peripheral device control system, printing device, peripheral device control method, and program
JP4892317B2 (en) * 2006-11-13 2012-03-07 シャープ株式会社 Image forming method, image forming apparatus, and image forming system
DE102009059990A1 (en) 2009-12-22 2011-07-07 Bayer MaterialScience AG, 51373 Process for the device for producing polycarbonate
JP5333394B2 (en) * 2010-09-15 2013-11-06 ブラザー工業株式会社 Image processing device
JP2013230569A (en) * 2012-04-27 2013-11-14 Seiko Epson Corp Printing apparatus
JP6299661B2 (en) * 2015-04-25 2018-03-28 京セラドキュメントソリューションズ株式会社 Image forming system and recommendation degree display program

Also Published As

Publication number Publication date
JPH08118675A (en) 1996-05-14

Similar Documents

Publication Publication Date Title
EP0707969B1 (en) Information processing apparatus and method for use in system with remote printer
US7438370B2 (en) Display control method and apparatus for printer
US6137503A (en) Ink jet recording apparatus
JP3359160B2 (en) Information processing apparatus and information processing method
JP3577011B2 (en) Ink remaining amount detecting method and ink jet recording apparatus
US6070958A (en) Recording apparatus and method of controlling the same
JPH0998243A (en) Recorder and facsimile equipment using the recorder
US6729711B1 (en) Ink jet recording apparatus
US7148977B2 (en) Consumable availability with print preview
JP3577012B2 (en) Ink remaining amount detecting method and ink jet recording apparatus
JP6197475B2 (en) Liquid ejecting method and liquid ejecting apparatus
JP3577010B2 (en) Ink remaining amount detecting method and ink jet recording apparatus
JP2001315385A (en) Manual scanning type ink jet printer
JP3581700B2 (en) Information processing apparatus and information processing method
JP4788558B2 (en) Printing system, printing method, control device, and program
US6672703B2 (en) Inkjet printing apparatus and printing system
JP2002337366A (en) Image recording apparatus, information processing apparatus, image recording system and controlling method therefor
JP3262463B2 (en) Information processing apparatus and information processing method
US20040067084A1 (en) Cost per page indication
US20230398784A1 (en) Liquid ejection apparatus
JP2001078044A (en) Device and method for communicating image
JP2004042279A (en) Recorder and its controlling method
US20090161180A1 (en) Printing apparatus and method of controlling printing apparatus
JP3264592B2 (en) Ink jet recording device
JP3276839B2 (en) Facsimile machine

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020618

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020924

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

Free format text: PAYMENT UNTIL: 20071011

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121011

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131011

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees