JP3707494B2 - Printing device and cartridge - Google Patents

Printing device and cartridge Download PDF

Info

Publication number
JP3707494B2
JP3707494B2 JP2004160862A JP2004160862A JP3707494B2 JP 3707494 B2 JP3707494 B2 JP 3707494B2 JP 2004160862 A JP2004160862 A JP 2004160862A JP 2004160862 A JP2004160862 A JP 2004160862A JP 3707494 B2 JP3707494 B2 JP 3707494B2
Authority
JP
Japan
Prior art keywords
ink
cartridge
data
amount
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004160862A
Other languages
Japanese (ja)
Other versions
JP2004291645A (en
Inventor
稔久 猿田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004160862A priority Critical patent/JP3707494B2/en
Publication of JP2004291645A publication Critical patent/JP2004291645A/en
Application granted granted Critical
Publication of JP3707494B2 publication Critical patent/JP3707494B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Control Or Security For Electrophotography (AREA)

Description

本発明は、インクジェットプリンタあるいはインクジェットプロッタなどとして用いられる印刷装置、およびこの印刷装置の本体に着脱されるカートリッジに関する。さらに詳しくは、カートリッジに情報を記憶する際の処理技術に関する。   The present invention relates to a printing apparatus used as an ink jet printer or an ink jet plotter, and a cartridge attached to and detached from a main body of the printing apparatus. More specifically, the present invention relates to a processing technique for storing information in a cartridge.

インクジェットプリンタやインクジェットプロッタなどとして用いられる印刷装置は、インクを収容するインクカートリッジと、媒体に対する印刷を実行する印刷ヘッドを備える印刷装置本体とから概略構成されている。印刷ヘッドは、インクカートリッジから供給されるインクを印刷用紙等の媒体に付着させることにより、媒体に対する印刷を実現する。インクカートリッジは、印刷装置本体に対して着脱可能に形成されている。インクカートリッジには、当初、所定量のインクが収容されており、収容されているインクが空になると、インクカートリッジは新たなものと交換される。そして、この種の印刷装置は、印刷処理中における印刷の中断を避けるため、印刷ヘッドからのインクの吐出量に基づいてインクカートリッジ内のインク残量を印刷装置本体側で算出し、インク残量が少なくなったときにその旨を報知するように構成されている。   2. Description of the Related Art A printing apparatus used as an ink jet printer, an ink jet plotter, or the like is roughly configured by an ink cartridge that stores ink and a printing apparatus main body that includes a print head that performs printing on a medium. The print head realizes printing on a medium by attaching ink supplied from an ink cartridge to a medium such as printing paper. The ink cartridge is detachable from the printing apparatus main body. A predetermined amount of ink is initially stored in the ink cartridge, and when the stored ink becomes empty, the ink cartridge is replaced with a new one. This type of printing apparatus calculates the ink remaining amount in the ink cartridge based on the amount of ink discharged from the print head on the printing apparatus main body side in order to avoid interruption of printing during the printing process. It is configured so as to notify that when there is less.

こうしたインク残量のデータは、通常、印刷装置側、あるいはこの印刷装置を利用するいわゆるプリンタドライバ等が保存しているに過ぎない。このため、使用中にインクカートリッジを交換すると、インク残量などインクカートリッジに関する情報は、失われるか、誤ったものとなってしまう。   Such ink remaining amount data is usually only stored by the printing device side or a so-called printer driver using the printing device. For this reason, if the ink cartridge is replaced during use, information about the ink cartridge, such as the remaining amount of ink, is lost or incorrect.

そこで、こうした問題を解決するために、インクカートリッジに不揮発性メモリを備え、インク残量等のデータをこのメモリに本体側から書き込んでおき、カートリッジが交換された場合でも、インク残量を把握できるようにしようとする技術が提案されている(例えば、下記特許文献1参照)。   In order to solve these problems, the ink cartridge is provided with a non-volatile memory, and data such as the remaining amount of ink is written to the memory from the main body side, so that the remaining amount of ink can be grasped even when the cartridge is replaced. The technique which tries to do is proposed (for example, refer the following patent document 1).

特特開昭62−184856号公報Japanese Patent Publication No. 62-184856

しかしながら、インク残量のデータは、カートリッジの交換時期を正確に知らせるためには、かなりの精度が必要になり、これをカートリッジ側に記憶しようとすると、記憶容量が大きくなってしまうという問題があった。精度が低い場合には、インクカートリッジのインク残量がなくなったことを報知するインクエンドの判断が実際のインク残量と大きく食い違ってしまう。電源オフ時にこのデータを更新していくとすると、次に電源を投入した場合、カートリッジのインク残量を読み出したプリンタ本体側は、記憶している値を精度内の下限値として扱わざるを得ないからである。例えば、カートリッジ側のデータが1バイト(8ビット)であり、0−100%のように、インク残量を百分率で記憶し、そのデータの精度は1%であるとする。この場合、カートリッジ側から読み出した値が「50」とすると、これが、50.9を丸めて50として書き込んだものか、50.1を丸めたものかは本体側では判断できないから、安全を見て、下限値50.0として扱わざるをえない。   However, the ink remaining amount data requires a considerable accuracy in order to accurately notify the replacement timing of the cartridge, and if this is stored on the cartridge side, the storage capacity increases. It was. If the accuracy is low, the determination of the ink end for notifying that the ink cartridge has run out of ink greatly differs from the actual ink remaining amount. If this data is updated when the power is turned off, the next time the power is turned on, the printer main unit that reads the remaining ink amount of the cartridge must treat the stored value as the lower limit value within the accuracy. Because there is no. For example, the data on the cartridge side is 1 byte (8 bits), the remaining amount of ink is stored as a percentage such as 0-100%, and the accuracy of the data is 1%. In this case, if the value read from the cartridge side is “50”, it cannot be judged on the main body side whether this is a value written by rounding 50.9 to 50 or rounding 50.1. Therefore, it must be treated as a lower limit of 50.0.

そうすると、毎回わずかな量を使用したとしても、必ず1%ずつデータを漸減しなければならないから、100回使用すると、カートリッジのインク残量は0になってしまうことになる。逆にわずかな使用ではデータを1%低減しないとすると、今度はわずかずつ使用した場合に、インク残量が0となってもインクエンドの警告が出力されないことになってしまう。従って、メモリを備えたカートリッジやこれを利用する印刷装置では、インク残量等を正確に判断しようとすると、インク当たり数バイトの記憶容量を用意しなければならなかった。複数のインクが一つの筐体に収納されたカラーカートリッジの等の場合には、色毎に記憶領域が必要になるので、例えば5色のインクカートリッジにおいて各色毎に4バイトの容量を必要とすれば、5×4=20バイト(20×8=160ビット)もの容量を必要としてしまう。   As a result, even if a small amount is used each time, the data must be gradually reduced by 1%. If the data is used 100 times, the ink remaining amount of the cartridge becomes zero. On the other hand, if the data is not reduced by 1% with a slight use, the ink end warning will not be output even if the remaining amount of ink becomes zero when the data is used little by little. Therefore, in a cartridge having a memory and a printing apparatus using the same, it is necessary to prepare a storage capacity of several bytes per ink in order to accurately determine the remaining amount of ink. In the case of a color cartridge in which a plurality of inks are stored in a single housing, a storage area is required for each color. For example, in a five-color ink cartridge, a capacity of 4 bytes is required for each color. For example, a capacity of 5 × 4 = 20 bytes (20 × 8 = 160 bits) is required.

また、書き込むべき容量が増加すると、電源オフ時に総てのデータを書き戻すことが困難になることが考えられた。印刷装置のパネルに設けられた電源スイッチを操作するような場合には、印刷装置側でカートリッジのメモリへの書込を確認してから電源を遮断するようなシーケンスを実現することができるが、いきなりコンセントを抜いたり、コンピュータ連動電源タップ等を用いて電源ライン側で強制的に電源オフにするような場合には、電源の遮断を検出していても、わずかな時間に、カートリッジのメモリへの書込を完了しなければならない。書込の途中で書き込みようの電源電圧が失われてしまえば、カートリッジ側のデータの信頼性は失われ、もはやカートリッジを適正に使用することができなくなってしまう。この他、容量の大きなメモリの使用は、消耗品であるインクカートリッジのコストの上昇を招き、また省資源の立場からも問題となる。   In addition, if the capacity to be written increases, it may be difficult to write back all data when the power is turned off. In the case of operating the power switch provided on the panel of the printing apparatus, it is possible to realize a sequence in which the power is shut off after confirming writing to the memory of the cartridge on the printing apparatus side. If you suddenly unplug the power outlet or forcibly turn off the power on the power line side using a computer-linked power strip, etc., even if a power-off is detected, the memory of the cartridge is transferred in a short time. Must be completed. If the power supply voltage to be written is lost during writing, the reliability of the data on the cartridge side is lost, and the cartridge can no longer be used properly. In addition, the use of a memory with a large capacity leads to an increase in the cost of the ink cartridge, which is a consumable item, and is also a problem from the standpoint of resource saving.

なお、こうした問題は、溶媒中に顔料または染料を混合または溶解し、液状のインク滴を吐出して印刷を行なうインクジェットタイプの印刷装置およびそのインクカートリッジのみならず、トナーを収容したトナーカートリッジを用いる印刷装置や熱転写タイプの印刷装置でも、カートリッジ内の残量もしくは消費量を直接計測するのではなく、印刷装置側で演算するタイプの印刷装置およびカートリッジでは同様に生じ得るものであった。   In addition, such a problem uses not only an ink jet type printing apparatus that mixes or dissolves a pigment or a dye in a solvent or discharges liquid ink droplets to perform printing, and its ink cartridge, but also a toner cartridge containing toner. Even in a printing apparatus or a thermal transfer type printing apparatus, the remaining amount or consumption amount in the cartridge is not directly measured, but may occur similarly in a printing apparatus and a cartridge of a type that is calculated on the printing apparatus side.

本発明の目的は、上記問題を解決し、カートリッジのコスト上昇を抑制しつつ、インク残量等のカートリッジに関する情報を適正に処理可能な印刷装置およびカートリッジを提供することにある。   An object of the present invention is to provide a printing apparatus and a cartridge that can solve the above-described problems and can appropriately process information related to the cartridge such as the remaining amount of ink while suppressing an increase in the cost of the cartridge.

かかる目的の少なくとも一部を達成するために印刷装置およびカートリッジの発明がなされた。本発明の印刷装置は、
インクを収容すると共に書き換え可能な不揮発性メモリを備えたカートリッジが装着可能であり、該カートリッジのインクを印刷媒体に移して印刷を行なう印刷装置であって、
書き換え可能な本体側メモリと、
前記印刷媒体への印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報を、所定ビット数のデータとして、前記本体側メモリに記憶する情報書込手段と、
前記インク量に関する情報を、前記ビット数より少ないビット数のデータであり、かつインク量の割合を示すデータに変換して、前記カートリッジに備えられた不揮発性メモリに書き込むメモリ書込手段と
を備えたことを要旨とする。
In order to achieve at least a part of the object, the invention of a printing apparatus and a cartridge has been made. The printing apparatus of the present invention includes:
A printing apparatus that can be mounted with a cartridge having a rewritable nonvolatile memory that contains ink, and that performs printing by transferring the ink of the cartridge to a printing medium,
Rewritable main unit memory,
Information writing means for storing, in the main body side memory, information relating to the amount of ink in the cartridge that is consumed when printing on the print medium is performed, as data of a predetermined number of bits;
Memory writing means for converting the information relating to the ink amount into data having a bit number smaller than the bit number and indicating the ratio of the ink amount and writing the data into a nonvolatile memory provided in the cartridge. This is the summary.

かかる印刷装置では、印刷媒体への印刷の実行に伴って消費されるカートリッジ内のインク量に関する情報を、本体側メモリには所定のビット数のデータとして書き込み、カートリッジ側の不揮発性メモリには、このビット数より少ないビット数のデータに変換してから書き込む。従って、カートリッジに、インク量に関するデータを不揮発的に記憶させながら、かつその記憶容量のいたずらな増大を招かないという効果を奏する。   In such a printing apparatus, information on the amount of ink in the cartridge that is consumed when printing on the print medium is performed is written as data of a predetermined number of bits in the main body side memory, and in the nonvolatile memory on the cartridge side, The data is written after being converted into data having a smaller number of bits. Therefore, there is an effect that the data regarding the ink amount is stored in the cartridge in a non-volatile manner and the storage capacity is not unduly increased.

また、こうした印刷装置において、電源が投入されたとき、前記本体側メモリに記憶された前記インク量に関する情報と、前記不揮発性メモリに記憶された変換後のデータとの対応関係を判定し、両者が対応していると判定されたとき、前記本体側メモリに記憶された前記ビット数のデータを用いて、その後のインク量に関する処理を行なうこともできる。こうすれば、カートリッジが交換されない限り、大きなビット数のデータ、即ち精度の高いデータを用いてインク量に関する処理を行なうことができ、好適である。   Further, in such a printing apparatus, when power is turned on, the correspondence between the information about the ink amount stored in the main body side memory and the converted data stored in the nonvolatile memory is determined, Can be processed using the data of the number of bits stored in the main body side memory. By doing so, as long as the cartridge is not replaced, it is possible to perform processing related to the ink amount using data with a large number of bits, that is, data with high accuracy, which is preferable.

他方、電源が投入されたとき、前記本体側メモリに記憶された前記インク量に関する情報と、前記不揮発性メモリに記憶された変換後のデータとの対応関係を判定し、両者が対応していないと判定されたとき、前記不揮発性メモリに記憶された前記ビット数のデータを換算して、該データに対応するインク量に関する情報を前記本体側メモリに前記所定ビット数のデータとして書き込むと共に、該データを用いてその後のインク量に関する処理を行なわせるものとすることもできる。この場合には、カートリッジに記憶したインク量に関するデータを用いてその後の処理を継続することができるので、好適である。   On the other hand, when the power is turned on, the correspondence between the information about the ink amount stored in the main body side memory and the converted data stored in the nonvolatile memory is determined, and both do not correspond. The bit number data stored in the non-volatile memory is converted, and information relating to the ink amount corresponding to the data is written to the main body memory as the predetermined bit number data, and It is also possible to perform processing relating to the subsequent ink amount using the data. In this case, the subsequent processing can be continued using the data relating to the ink amount stored in the cartridge, which is preferable.

もとより、カートリッジの不揮発性メモリに、このカートリッジを識別可能な識別情報を記憶しておき、印刷装置本体側で、電源投入時または前記カートリッジの交換時に、該不揮発性メモリに記憶された前記識別情報を読み出して保存しておき、読み出した識別情報とそれ以前に読み出して保存しておいた識別情報とを比較して、両者の一致を判定し、両者が一致していると判定されたとき、前記本体側メモリに記憶された前記ビット数のデータを用いて、その後のインク量に関する処理を行なわせるものとしてもよい。この場合には、カートリッジの識別情報を用いているので、同一のカートリッジが装着されていることを確実に判別して、インク量に関する処理を、本体側メモリが記憶している大きなビット数のデータを用いて継続することができる。 As well as the non-volatile memory of the cartridge, stores the identification information capable of identifying the cartridge, the printing apparatus main body, the power-on or at the time of replacement of said cartridge, is stored in nonvolatile memory the The identification information is read out and stored, and the read out identification information is compared with the identification information read out and stored before that to determine whether they match. At this time, the data regarding the number of bits stored in the memory on the main body side may be used to perform subsequent processing relating to the ink amount. In this case, since the cartridge identification information is used, it is definitely determined that the same cartridge is mounted, and the process related to the ink amount is processed by the large bit number data stored in the main body side memory. You can continue using

他方、かかる構成において、読み出した識別情報と前回読み出して保存しておいた識別情報とを比較して、両者が一致していないと判定されたとき、前記不揮発性メモリに記憶された前記ビット数のデータを換算して、該データに対応するインク量に関する情報を前記本体側メモリに前記所定ビット数のデータとして書き込むと共に、該データを用いてその後のインク量に関する処理を行なわせるものとすることもできる。この場合には、カートリッジ側のインク量に関するデータを用いてその後の処理を継続することができる。   On the other hand, in such a configuration, the number of bits stored in the non-volatile memory when the read identification information is compared with the identification information previously read and stored and it is determined that they do not match. In this case, the data regarding the ink amount corresponding to the data is written into the memory on the main body as the data of the predetermined number of bits, and the subsequent processing regarding the ink amount is performed using the data. You can also. In this case, the subsequent processing can be continued using the data relating to the ink amount on the cartridge side.

ところで、本体側メモリには、現に装着されているカートリッジのインク量に関する情報のみを保存しているだけでなく、装着されたいくつかのカートリッジのインク量に関する情報を記憶しているものとすることもできる。この場合には、カートリッジの不揮発性メモリに、そのカートリッジを識別可能な識別情報を記憶しておき、電源投入時またはカートリッジの交換時に、不揮発性メモリに記憶された前記識別情報を読み出し、この識別情報を用い、インク量に関する情報を、該識別情報の異なるカートリッジ別に、本体側メモリに保存しておく。その上で、カートリッジの交換がなされ得た場合には、前記不揮発性メモリから読み出した識別情報を用いて、本体側メモリの内容を検索し、一致するカートリッジに関する情報が存在するか否かを判定する。一致するカートリッジに関する情報が存在すると判定された場合には、この情報を利用して、その後のインク量に関する処理を行なわせればよい。このようにすれば、いくつかのカートリッジが取り替えられても、インク量に関する処理を精度良く行なうことができる。 By the way, it is assumed that the main body side memory not only stores information on the ink amount of the cartridge currently mounted, but also stores information on the ink amount of several mounted cartridges. You can also. In this case, the non-volatile memory of the cartridge, stores the identification information capable of identifying the cartridge, power-on or at the time of replacing the cartridge, reading out the identification information stored in the nonvolatile memory, Using this identification information, information relating to the ink amount is stored in the memory on the main body side for each cartridge having a different identification information. In addition, if the cartridge can be replaced, the contents of the main body memory are searched using the identification information read from the non-volatile memory, and it is determined whether there is information on the matching cartridge. To do. If it is determined that there is information regarding the matching cartridge, this information may be used to perform subsequent processing regarding the ink amount. In this way, even if several cartridges are replaced, the processing relating to the ink amount can be performed with high accuracy.

他方、一致するカートリッジに関する情報が存在すると判定されたとき、更に、本体側メモリに記憶された前記インク量に関する情報と、不揮発性メモリに記憶された該カートリッジに対応した変換後のデータとの対応関係を判定し、両者が対応していると判定されたとき、その後のインク量に関する処理を、本体側メモリに記憶された前記一致するカートリッジについてのビット数のデータを用いて行なわせることができる。識別情報のみならず、インク量に関する情報に対応関係も判定しているので、装着されたカートリッジについてのインク量に関する情報として、正しいものを確実に試用することができる。   On the other hand, when it is determined that there is information on the matching cartridge, the correspondence between the information on the ink amount stored in the main body memory and the converted data corresponding to the cartridge stored in the nonvolatile memory When the relationship is determined and it is determined that the two correspond to each other, the subsequent processing relating to the ink amount can be performed using the bit number data for the matching cartridge stored in the main body side memory. . Since not only the identification information but also the correspondence relationship with the information regarding the ink amount is determined, the correct information can be reliably used as the information regarding the ink amount with respect to the mounted cartridge.

他方、本体側メモリに記憶された前記インク量に関する情報と、前記不揮発性メモリに記憶された該カートリッジに対応した変換後のデータとが対応していないと判定されたときには、不揮発性メモリに記憶された前記ビット数のデータを換算して該データに対応するインク量に関する情報を求め、この情報を、本体側メモリの前記一致したカートリッジに対応付けて、所定ビット数のデータとして書き込むものとすることができる。この場合には、カートリッジ側のデータを用いて処理を継続することができ、好適である。   On the other hand, when it is determined that the information related to the ink amount stored in the main body side memory does not correspond to the converted data corresponding to the cartridge stored in the nonvolatile memory, the information is stored in the nonvolatile memory. By converting the data of the number of bits thus obtained, information regarding the ink amount corresponding to the data is obtained, and this information is written as data of a predetermined number of bits in association with the matched cartridge in the main body side memory. be able to. In this case, the process can be continued using the data on the cartridge side, which is preferable.

こうした二つのメモリの情報を利用してインク量に関する処理を行なうものにあっては、本体側メモリを、不揮発性メモリより、大容量のメモリとすることが現実的である。カートリッジという消耗品に大容量のメモリを持たせることはコスト的にも省資源の立場からも、望ましいとは言えないからである。   In the case of performing processing related to the ink amount using the information of these two memories, it is realistic that the main body side memory has a larger capacity than the nonvolatile memory. This is because it is not desirable to provide a large-capacity memory for a consumable such as a cartridge from the viewpoint of cost and resource saving.

また、本体側メモリは、不揮発性メモリより、高速なアクセスが可能なメモリとすることもできる。ビット数の多いデータを書き込むので、高速にアクセス可能な目盛りの方が望ましいからである。   Further, the main body side memory can be a memory that can be accessed at a higher speed than the nonvolatile memory. This is because data with a large number of bits is written, and a scale that can be accessed at high speed is desirable.

なお、カートリッジの不揮発性メモリにデータを書き込むタイミングとしては、種々考えることができるが、印刷装置の電源オフ時または前記カートリッジの交換時に、情報の書込を行なうものとすることができる。少なくともこれらのタイミングでデータを書き込んでおけば、カートリッジの装着が解除される場合にカートリッジないのデータを最新のものにしておくことができる。 As the timing of writing data into the nonvolatile memory of the cartridge, may be selected from a variety of considered, were at or power-off the printing apparatus can be made at the time of replacement of said cartridge, writes the information. If the data is written at least at these timings, the data without the cartridge can be updated when the cartridge is released.

他方、本体側メモリへのデータの書き込みは、1頁分の印刷が完了した時に行なうものとしたり、1以上のラスタ分の印刷が完了した時に行なうものとしたり、両タイミングで行なうものとしたりすることができる。本体側メモリのデータは細かく更新しておき、カートリッジ側の不揮発性メモリは、これより少ない頻度で更新することも好適である。   On the other hand, data writing to the main body side memory is performed when printing for one page is completed, is performed when printing for one or more rasters is completed, or is performed at both timings. be able to. It is also preferable to update the data in the main body side memory finely and update the non-volatile memory on the cartridge side less frequently.

更に、印刷装置に、所定の操作を受けて、所定の量のインクを吐出させるヘッドクリーニングを行なうクリーニング手段を備える場合、クリーニング手段が動作した時にも、本体側メモリへの情報の書き込みを行なうものとしても良い。インクジェットプリンタ等で、印字ヘッドのノズルの目詰まりを防止するために、クリーニング機能を有するものがあるが、クリーニング動作を行なうと、所定量のインクを消費する。従って、こうした動作の後では、インク量に関する情報を更新することが望ましい。   Further, when the printing apparatus is provided with a cleaning unit that receives a predetermined operation and performs head cleaning to eject a predetermined amount of ink, the information is written to the main body memory even when the cleaning unit is operated. It is also good. Some ink jet printers have a cleaning function to prevent clogging of the nozzles of the print head. However, when a cleaning operation is performed, a predetermined amount of ink is consumed. Therefore, it is desirable to update the information regarding the ink amount after such an operation.

カートリッジに搭載する不揮発性のメモリとして、公知の種々のメモリが使用可能であるが、例えば、シリアルアクセスによりデータの授受を行なうタイプのメモリを用いることができる。こうしたタイプのメモリは、一般に記憶容量はさほど大きくはないものの、安価であり、チップとしての端子も少ないので、省資源にも資することができる。この場合、メモリへの書き込みを行なう側は、情報を、アドレス指定用のクロックに同期して不揮発性メモリに書き込む。   Various known memories can be used as the non-volatile memory mounted on the cartridge. For example, a type of memory that transfers data by serial access can be used. Such a type of memory generally has a small storage capacity, but is inexpensive and has few terminals as a chip, which can contribute to resource saving. In this case, the side that performs writing to the memory writes information to the nonvolatile memory in synchronization with the addressing clock.

もとより、こうしたアドレス指定用のクロックは、不揮発性メモリへのデータの書き込みを直接制御する制御用ICを用いて出力するものとしてよい。こうした場合には、本体側メモリは、制御用ICの内部に設けてもよい、制御用ICの外部に設けても良い。   Of course, such an addressing clock may be output using a control IC that directly controls the writing of data to the nonvolatile memory. In such a case, the main body side memory may be provided inside the control IC or outside the control IC.

また、こうした構成にあって、カートリッジを、印字ヘッドが設けられ印刷媒体に対して往復動されるキャリッジ上に装着可能とした場合には、本体側メモリをキャリッジ上に設けることも差し支えない。制御用ICが、印刷装置側の制御手段から例えば通信などでデータを受け取るのであれば、この制御用ICの近くに本体側メモリを設けることは好適である。なお、カートリッジがキャリッジ上になく、本体側に固定されている場合でも、当然本発明は適用可能である。   In such a configuration, when the cartridge can be mounted on a carriage provided with a print head and reciprocated with respect to the print medium, the main body side memory may be provided on the carriage. If the control IC receives data from the control means on the printing apparatus side, for example, by communication, it is preferable to provide a main body side memory near the control IC. The present invention is naturally applicable even when the cartridge is not on the carriage but is fixed to the main body.

カートリッジに不揮発性メモリを備えた構成は、カートリッジの種類によらず、適用することができる。例えば、印刷装置手が、黒色インクを収納した黒色インク用のカートリッジと、複数のカラーインクを収納したカラーインク用のカートリッジとを、装着可能であれば、この黒色インク用カートリッジとカラーインク用カートリッジの各々に不揮発メモリを備え、それぞれに情報を書き込むものとすることができる。かかる構成によれば、カートリッジ毎に不揮発性メモリを有するので、カートリッジ毎にインク量のデータを処理することができる。もとより、黒色あるいはカラーインクカートリッジのみを装着可能な印刷装置にも適用可能である。   The configuration in which the cartridge includes the nonvolatile memory can be applied regardless of the type of the cartridge. For example, if the printing apparatus hand can mount a black ink cartridge containing black ink and a color ink cartridge containing a plurality of color inks, the black ink cartridge and the color ink cartridge can be mounted. Each can be provided with a non-volatile memory, and information can be written to each of them. According to such a configuration, since each cartridge has a nonvolatile memory, ink amount data can be processed for each cartridge. Of course, the present invention can also be applied to a printing apparatus in which only a black or color ink cartridge can be mounted.

以上本発明の印刷装置について説明したが、この発明は、メモリにおける情報管理方法としても構成することができる。即ち、この印刷装置の情報を管理する方法は、
インクを収容すると共に書き換え可能な不揮発性メモリを備えたカートリッジが装着可能であり、該カートリッジのインクを印刷媒体に移して印刷を行なう印刷装置の情報を関する方法であって、
前記印刷媒体への印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報を、所定ビット数のデータとして、前記印刷装置の本体側に設けられた書き換え可能な本体側メモリに記憶し、
該インク量に関する情報を、前記ビット数より少ないビット数のデータであり、かつインク量の割合を示すデータに変換して、前記カートリッジに備えられた不揮発性メモリに書き込むこと
を要旨としている。
Although the printing apparatus of the present invention has been described above, the present invention can also be configured as an information management method in a memory. In other words, a method for managing information on this printing apparatus is as follows:
A method of storing information about a printing apparatus for storing ink and storing a rewritable nonvolatile memory and transferring the ink of the cartridge to a print medium to perform printing,
Information relating to the amount of ink in the cartridge that is consumed when printing on the printing medium is performed is stored in a rewritable main body side memory provided on the main body side of the printing apparatus as data of a predetermined number of bits. ,
The gist of the invention is that the information on the ink amount is converted into data having a bit number smaller than the bit number and indicating the ratio of the ink amount, and is written in a nonvolatile memory provided in the cartridge.

かかる手法によりインク量に関する情報を管理すれば、一般に容量の小さいカートリッジ側の不揮発性メモリに無用な負担をかけることがなく、かつビット数の大きな、即ち精度の高いデータを本体側メモリに記憶することができ、カートリッジにおけるインク量に関する情報を好適に管理することができる。   If the information about the ink amount is managed by such a method, generally, an unnecessary load is not imposed on the nonvolatile memory on the cartridge side having a small capacity, and data having a large number of bits, that is, high accuracy is stored in the main body side memory. Therefore, it is possible to suitably manage information regarding the ink amount in the cartridge.

こうした方法は、印刷装置においても実施できるが、印刷装置に接続したコンピュータなどで実施することもできる。この場合、コンピュータに実施させるプログラムを記録した記録媒体として、発明を把握することができる。即ち、本発明の記録媒体は、インクを収容すると共に書き換え可能な不揮発性メモリを備えたカートリッジが装着可能であり、該カートリッジのインクを印刷媒体に移して印刷を行なう印刷装置の情報を扱うプログラムを、コンピュータに読み取り可能に記録した記録媒体であって、
前記印刷媒体への印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報を、所定ビット数のデータとして、前記印刷装置の本体側に設けられた書き換え可能な本体側メモリに記憶する機能と、
該インク量に関する情報を、前記ビット数より少ないビット数のデータであり、かつインク量の割合を示すデータに変換して、前記カートリッジに備えられた不揮発性メモリに書き込む機能と
をコンピュータにより実現させるプログラムを記録したことを要旨としている。
かかる記録媒体をコンピュータに読み取らせると、上記の各機能がコンピュータにより実現され、上述した情報の管理方法を実現することができる。
Such a method can be performed in a printing apparatus, but can also be performed by a computer connected to the printing apparatus. In this case, the invention can be grasped as a recording medium on which a program to be executed by a computer is recorded. That is, the recording medium of the present invention can be loaded with a cartridge that contains ink and contains a rewritable nonvolatile memory, and a program for handling information on a printing apparatus that performs printing by transferring the ink of the cartridge to a printing medium Is recorded on a computer in a readable manner,
Information relating to the amount of ink in the cartridge that is consumed when printing on the print medium is performed is stored as data of a predetermined number of bits in a rewritable main body side memory provided on the main body side of the printing apparatus. Function and
The computer realizes a function of converting the information about the ink amount into data having a smaller number of bits than the number of bits and indicating the ratio of the ink amount, and writing the data into the nonvolatile memory provided in the cartridge. The gist is that the program was recorded.
When such a recording medium is read by a computer, the above functions are realized by the computer, and the information management method described above can be realized.

更に、本発明は、カートリッジとしても構成可能である。即ち、本発明のカートリッジは、インクを収容すると共に書き換え可能な不揮発性メモリを備え、印刷装置に装着して用いられるカートリッジであって、
前記不揮発性メモリは、印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報が、前記印刷装置側で扱われているビット数より少ないビット数のデータであり、かつインク量の割合を示すデータとして書き込まれることを要旨としている。
Furthermore, the present invention can be configured as a cartridge. That is, the cartridge of the present invention is a cartridge that contains ink and contains a rewritable nonvolatile memory, and is used by being mounted on a printing apparatus,
The non-volatile memory is data of the number of bits less than the number of bits handled on the printing apparatus side, and the information about the amount of ink in the cartridge consumed when printing is performed , and the ratio of the amount of ink It is written as data indicating

かかるカートリッジによれば、書き込まれるインク量に関する情報は印刷装置側で扱われているビット数より少ないビット数なので、必要な記憶容量を低減することができるという利点がある。   According to such a cartridge, the information related to the amount of ink to be written has a smaller number of bits than the number of bits handled on the printing apparatus side, so that there is an advantage that the necessary storage capacity can be reduced.

こうしたインクカートリッジでは、不揮発性メモリへの情報の書き込みは、印刷装置の電源オフ時または前記カートリッジの交換時とすることができる。これらのタイミングでインク量に関する情報を更新しておけば、不慮のカートリッジ交換に対して、近時のインク量に関する情報を、カートリッジ側の不揮発メモリに保持できるからである。
In such an ink cartridge, the information writing to the non-volatile memory, had time or power-off the printing device can be time of replacement of said cartridge. This is because if information on the ink amount is updated at these timings, information on the recent ink amount can be held in the non-volatile memory on the cartridge side in case of accidental cartridge replacement.

こうしたカートリッジ側の不揮発性メモリとしては、EEPROMやフラッシュメモリなどを用いることができる。もとより、バッテリなどでバックアップすることにより、不揮発なメモリとすることも差し支えない。バブルメモリ、超小型のハードディスクなども、不揮発性メモリとして利用可能である。   As such a nonvolatile memory on the cartridge side, an EEPROM, a flash memory, or the like can be used. Of course, it is possible to use a non-volatile memory by backing up with a battery or the like. Bubble memories, ultra-small hard disks, and the like can also be used as nonvolatile memories.

また、不揮発性メモリを、シリアルアクセスによりデータの授受を行なうタイプのメモリとして、アドレス指定用のクロックに同期して、前記情報が書き込まれるものとすることもできる。シリアルアクセスタイプのメモリは、小型化でき、端子数を少なくできる分、省資源にも資することができる。   In addition, the nonvolatile memory may be a type of memory that exchanges data by serial access, and the information may be written in synchronization with an addressing clock. A serial access type memory can be miniaturized and can contribute to resource saving because the number of terminals can be reduced.

こうした不揮発性メモリに書き込まれるデータは、印刷装置側で扱われているデータの下位ビットを除いたデータであっても良いし、印刷装置側で扱われているデータを割合を示すデータに換算したデータであっても良い。ビット数が少なく、印刷装置側で扱っているデータと対応関係が取れれば良い。   The data written in such a non-volatile memory may be data excluding lower bits of data handled on the printing device side, or the data handled on the printing device side is converted into data indicating a ratio. It may be data. It is sufficient if the number of bits is small and the correspondence with the data handled on the printing apparatus side can be obtained.

なお、カートリッジは、複数種類のインクを収容するインク収容室を有するものとすることができ、不揮発性メモリに、このインクの種類に応じてデータを書き込むものとすることができる。こうすれば、一つの不揮発性メモリにより、複数のインクのインク量に関する情報を記憶することができる。   The cartridge can have an ink storage chamber for storing a plurality of types of ink, and data can be written in a nonvolatile memory in accordance with the type of ink. In this way, information related to the ink amounts of a plurality of inks can be stored in one nonvolatile memory.

複数のインクを収容したカートリッジの例としては、例えば、
前記インク収容室は、少なくとも異なる3種類のインクを収容する3つ以上に区画され、
不揮発性メモリは、前記各インクの量に関連する情報をそれぞれ独立して格納する複数の情報記憶領域を有し、
その複数の情報記憶領域にはそれぞれ2バイト以下の容量が割り当てられているといった形態を考えることができる。
As an example of a cartridge containing a plurality of inks, for example,
The ink storage chamber is divided into three or more that store at least three different types of ink,
The nonvolatile memory has a plurality of information storage areas for independently storing information related to the amount of each ink,
It can be considered that a capacity of 2 bytes or less is allocated to each of the plurality of information storage areas.

かかる構成では、一つのインク当たり2バイト以下の容量が割り当てられているので、3種類のインクであっても、合計6バイト以下の記憶容量で、インク量に関する情報を記憶することができる。同様に、インク収容室が5種類のインクに応じて区画されている場合には、合計10バイト以下の記憶容量で、インク量に関する情報を記憶することができる。   In such a configuration, since a capacity of 2 bytes or less is allocated to each ink, even when three types of ink are used, information regarding the ink amount can be stored with a total storage capacity of 6 bytes or less. Similarly, when the ink storage chamber is partitioned according to five types of ink, information regarding the ink amount can be stored with a total storage capacity of 10 bytes or less.

なお、以上説明した各発明において、インク量に関連する情報としては、インク残量や、あるいは、カートリッジに関する累積的なインク消費量等を考えることができる。この他、印刷装置本体に装着されている間のインク消費量などの情報であっても差し支えない。インクを再充填可能なカートリッジでは、たとえはパネルスイッチを操作して「再充填」という指示を与え、カートリッジを取り出してインク再充填して戻すという使い方が考えられる。こうした使用の形態を前提とする場合には、「再充填」の指示を与える間において印刷装置に装着されている間のインク消費量を管理することが必要となる。   In each of the inventions described above, as the information related to the ink amount, the remaining amount of ink or the cumulative ink consumption amount related to the cartridge can be considered. In addition, information such as ink consumption while being mounted on the printing apparatus main body may be used. For a cartridge that can be refilled with ink, for example, a panel switch is operated to give an instruction of “refilling”, and the cartridge is taken out and refilled with ink to return. When such a form of use is assumed, it is necessary to manage the amount of ink consumed while the printer is attached to the printer while giving the “refill” instruction.

以下、図面を参照して、本発明の好適な実施例について説明する。なお、説明は以下の順序で行なう。
[第1実施例]
(プリンタの全体構成)
(インクカートリッジおよびカートリッジ装着部の構成)
(記憶素子80の構成)
(プリンタ1の動作)
(第1実施例の効果)
[第2実施例およびその作用効果]
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. The description will be given in the following order.
[First embodiment]
(Entire printer configuration)
(Configuration of ink cartridge and cartridge mounting part)
(Configuration of storage element 80)
(Operation of printer 1)
(Effects of the first embodiment)
[Second Embodiment and its effects]

[第1実施例]
(プリンタの全体構成)
図1は、以下の各実施例で用いられる本発明を適用したインクジェットプリンタ(印刷装置)の構成を示す斜視図である。図1において、本実施例のプリンタ1は、スキャナSCなどとともにコンピュータPCに対して接続された状態で使用される。コンピュータPCに、オペレーティングシステムや所定のプログラムがロードされ、実行されることにより、これらの装置全体が一体で印刷装置として機能する。コンピュータPCでは、所定のオペレーティングシステム上でアプリケーションプログラムが動作し、スキャナSCから読み込んだ画像などに対して所定の処理を行ないつつCRTディスプレイMTに画像を表示する。使用者は、ディスプレイMT上の画像をレタッチするといった処理を行なったのち、印刷を指示すると、オペレーティングシステムに組み込まれたプリンタドライバが起動し、画像データをプリンタ1に転送する。なお、コンピュータPCには、CD−ROMなどの記録媒体を読み取り可能なCDドライブ(図示せず)などが装着されている。
[First embodiment]
(Entire printer configuration)
FIG. 1 is a perspective view showing the configuration of an ink jet printer (printing apparatus) to which the present invention is applied, which is used in the following embodiments. In FIG. 1, the printer 1 of this embodiment is used in a state where it is connected to a computer PC together with a scanner SC and the like. By loading and executing an operating system and a predetermined program on the computer PC, these apparatuses as a whole function as a printing apparatus. In the computer PC, an application program runs on a predetermined operating system, and displays an image on the CRT display MT while performing predetermined processing on the image read from the scanner SC. When the user performs processing such as retouching an image on the display MT and then instructs printing, a printer driver incorporated in the operating system is activated and image data is transferred to the printer 1. The computer PC is equipped with a CD drive (not shown) that can read a recording medium such as a CD-ROM.

プリンタドライバは、スキャナSCから入力され、処理された原カラー画像データをプリンタ1が使用する各色のデータに変換し、プリンタ1に出力する。詳細には、原カラー画像データは赤(R)、緑(G)、青(B)の3色の色成分からなり、これを色変換して、プリンタ1に出力する色データであるブラック(K)、シアン(C)、ライトシアン(LC)、マゼンダ(M)、ライトマゼンダ(LM)、イエロー(Y)の各色に変換する処理や、さらにこれをインクドットの有無に置き換えるいわゆる二値化の処理などを行なう。これらの画像処理は、周知のものなので、詳細な説明は省略する。なお、こうした処理は、後述するように、プリンタ1側で行なうこともできる。   The printer driver converts the processed original color image data input from the scanner SC into data of each color used by the printer 1 and outputs the data to the printer 1. More specifically, the original color image data is composed of three color components of red (R), green (G), and blue (B), and this is color-converted and output to the printer 1 as black data (color data). K), cyan (C), light cyan (LC), magenta (M), light magenta (LM), yellow (Y) conversion processing, and so-called binarization that replaces this with the presence or absence of ink dots. Perform processing. Since these image processes are well-known, detailed description is omitted. Such processing can also be performed on the printer 1 side, as will be described later.

次に、プリンタ1の基本的な構成について説明する。プリンタ1は、図2および図3に示すように、制御を司るプリントコントローラ40や、インクの吐出などを実行するプリントエンジン5などを、プリンタ本体100に収納している。プリンタ本体100には、プリントエンジン5を構成する印刷ヘッド10や紙送り機構11およびキャリッジ機構12が設けられている。印刷ヘッド10は、カートリッジ装着部18に一体に設けられて、いわゆるキャリッジ101を構成している。印刷ヘッド10は、インクジェット式のヘッドであり、印刷用紙105と対向する面、この図に示す例ではキャリッジ101の下面に取り付けられている。印刷ヘッド10への印字データの転送は、フレキシブルフラットケーブル(FFC)300を介して行なわれる。キャリッジ機構12は、キャリッジモータ103およびタイミングベルト102を備える。キャリッジモータ103は、タイミングベルト102を介してキャリッジ101を駆動する。キャリッジ101は、ガイド部材104に案内されており、キャリッジモータ103の正逆回転により、印刷用紙105の紙幅方向に往復動する。印刷用紙105の搬送を行なう紙送り機構11は、紙送りローラ106と紙送りモータ116とから構成されている。   Next, the basic configuration of the printer 1 will be described. As shown in FIGS. 2 and 3, the printer 1 houses a printer main body 100 that includes a print controller 40 that performs control, a print engine 5 that performs ink ejection, and the like. The printer main body 100 is provided with a print head 10, a paper feed mechanism 11, and a carriage mechanism 12 that constitute the print engine 5. The print head 10 is provided integrally with the cartridge mounting portion 18 and constitutes a so-called carriage 101. The print head 10 is an ink jet head, and is attached to the surface facing the printing paper 105, that is, the lower surface of the carriage 101 in the example shown in this figure. Transfer of print data to the print head 10 is performed via a flexible flat cable (FFC) 300. The carriage mechanism 12 includes a carriage motor 103 and a timing belt 102. The carriage motor 103 drives the carriage 101 via the timing belt 102. The carriage 101 is guided by a guide member 104 and reciprocates in the paper width direction of the printing paper 105 by forward and reverse rotation of the carriage motor 103. The paper feed mechanism 11 that conveys the printing paper 105 includes a paper feed roller 106 and a paper feed motor 116.

キャリッジ101のカートリッジ装着部18には後述するインクカートリッジ107K,107Fが装着され、印刷ヘッド10は、このインクカートリッジ107K,107Fからインクの補給を受け、キャリッジ101の移動に合わせて印刷用紙105にインク滴を吐出してドットを形成し、印刷用紙105に画像や文字を印刷する。   Ink cartridges 107 </ b> K and 107 </ b> F, which will be described later, are mounted on the cartridge mounting portion 18 of the carriage 101. The print head 10 receives ink from the ink cartridges 107 </ b> K and 107 </ b> F. Drops are ejected to form dots, and images and characters are printed on the printing paper 105.

各インクカートリッジ107K,Fには、染料もしくは顔料を溶媒に溶解もしくは分散させたインクが充填されている。インクが充填されている空間をインク収容室と呼ぶ。インクカートリッジ107Kのインク収容室117Kには、黒(K)のインクが充填されている。また、インクカートリッジ107Fには、複数のインク収容室107C、107LC、107M、107LM、107Yがそれぞれ独立して形成されている。これらのインク収容室107C、107LC、107M、107LM、107Yには、シアン(C)、ライトシアン(LC)、マゼンダ(M)、ライトマゼンダ(LM)、イエロー(Y)のインクがそれぞれ充填されている。したがって、印刷ヘッド10には、各色のインクがインク収容室107C、107LC、107M、107LM、107Yからそれぞれ供給される。これらの各インクはそれぞれ印刷ヘッド10から各色のインク滴として吐出されてカラー印刷が実現される。   Each ink cartridge 107K, F is filled with ink in which a dye or pigment is dissolved or dispersed in a solvent. A space filled with ink is called an ink storage chamber. The ink storage chamber 117K of the ink cartridge 107K is filled with black (K) ink. In addition, a plurality of ink storage chambers 107C, 107LC, 107M, 107LM, and 107Y are independently formed in the ink cartridge 107F. These ink storage chambers 107C, 107LC, 107M, 107LM, and 107Y are filled with cyan (C), light cyan (LC), magenta (M), light magenta (LM), and yellow (Y) inks, respectively. . Therefore, the ink of each color is supplied to the print head 10 from the ink storage chambers 107C, 107LC, 107M, 107LM, and 107Y. Each of these inks is ejected as ink droplets of each color from the print head 10 to realize color printing.

プリンタ1の本体端部には、キャッピング装置108とワイピング装置109とが配置されている。この本体端部は、印刷が行なわれない非印刷領域である。キャッピング装置108は、印刷処理の休止中に印刷ヘッド10のノズル開口を封止するためのものである。このキャッピング装置108によって、印刷処理の休止中におけるインクの溶媒成分の揮発を防止している。溶媒成分の揮発を防止することで、インク粘度の増大やインク膜の形成を抑制することができる。印刷処理の休止中にキャッピングすることにより、ノズルの目詰まりを防止することができる。また、キャッピング装置108は、フラッシング動作により印刷ヘッド10から吐出されるインク滴を受ける機能も有する。フラッシング動作とは、印刷処理実行中であってキャリッジ101が本体端部に至ったときに行なわれるインク吐出動作であり、ノズルの目詰まり防止動作の一つである。キャッピング装置108の近傍にはワイピング装置109が配置され、このワイピング装置109は、印刷ヘッド10の表面をブレードなどでワイピングすることにより、印刷ヘッド10の表面に付着したインク滓や紙粉を拭き取る。なお、これらの動作の他に、実施例のプリンタ1では、気泡混入による異常発生時等に、ノズルに対する吸引動作も行なっている。吸引動作は、キャッピング装置108を印刷ヘッド10に圧接させてノズル開口を密閉し、図示しない吸引ポンプを動作させて、キャッピング装置108に連通された通路を負圧とし、印刷ヘッド10のノズルからインクを吸引する動作である。これらのフラッシング動作、ワイピング動作、吸引動作を含めて、ヘッドクリーニングと呼ぶ。なお、ワイピングは、ブレードを立設しておき、キャリッジ101の往復動により、毎回自動的に行なわれる構成とも取り得るので、そうした場合には、積極的なヘッドクリーニング動作には、フラッシング動作と吸引動作だけが含まれる。   A capping device 108 and a wiping device 109 are arranged at the end of the main body of the printer 1. The end of the main body is a non-printing area where printing is not performed. The capping device 108 is for sealing the nozzle openings of the print head 10 during the pause of the printing process. The capping device 108 prevents volatilization of the solvent component of the ink during the suspension of the printing process. By preventing volatilization of the solvent component, it is possible to suppress an increase in ink viscosity and formation of an ink film. By capping during the suspension of the printing process, clogging of the nozzles can be prevented. The capping device 108 also has a function of receiving ink droplets ejected from the print head 10 by a flushing operation. The flushing operation is an ink ejection operation performed when the printing process is being executed and the carriage 101 reaches the end of the main body, and is one of the nozzle clogging prevention operations. A wiping device 109 is disposed in the vicinity of the capping device 108. The wiping device 109 wipes the ink fountain and paper dust adhering to the surface of the print head 10 by wiping the surface of the print head 10 with a blade or the like. In addition to these operations, the printer 1 of the embodiment also performs a suction operation on the nozzles when an abnormality occurs due to air bubbles. In the suction operation, the capping device 108 is brought into pressure contact with the print head 10 to seal the nozzle opening, the suction pump (not shown) is operated, the passage communicating with the capping device 108 is set to a negative pressure, and the ink from the nozzles of the print head 10 is discharged. Is an operation of sucking. These flushing operations, wiping operations, and suction operations are called head cleaning. The wiping may be configured to be performed automatically every time when the blade is erected and the carriage 101 is reciprocated. In such a case, the aggressive head cleaning operation includes a flushing operation and a suction operation. Only movement is included.

次に、プリンタ1の制御回路について説明する。図2は、本実施例のインクジェットプリンタ1の機能ブロック図である。プリントコントローラ40は、コンピュータからの印刷データなどを受信するインターフェース43と、印刷データなどの各種データの記憶を行なうRAM44と、各種データ処理を行なうためのプログラムなどを記憶したROM45と、CPUなどからなる制御部46と、発振回路47と、印刷ヘッド10への駆動信号COMを発生させる駆動信号発生回路48と、ドットパターンデータに展開された印刷データおよび駆動信号をプリントエンジン5に送信するなどの機能を果たすパラレル入出力インターフェース49とを備えている。   Next, the control circuit of the printer 1 will be described. FIG. 2 is a functional block diagram of the ink jet printer 1 of the present embodiment. The print controller 40 includes an interface 43 that receives print data from a computer, a RAM 44 that stores various data such as print data, a ROM 45 that stores programs for performing various data processing, a CPU, and the like. Functions such as a control unit 46, an oscillation circuit 47, a drive signal generation circuit 48 that generates a drive signal COM for the print head 10, and print data and drive signals developed in dot pattern data are transmitted to the print engine 5. A parallel input / output interface 49 is provided.

また、プリントコントローラ40にはパラレル入出力インターフェース49を介してパネルスイッチ92および電源91の制御線も接続されている。パネルスイッチ92には、電源の入り切りを指示するパワースイッチ92a、インクカートリッジの交換を指示するカートリッジスイッチ92b、および強制的な印刷ヘッド10のクリーニングを指示するクリーニングスイッチ92cが設けられている。パネルスイッチ92のパワースイッチ92aが操作されて電源オフの指示が入力されると、マスク不可能な割込要求(NMI)が発生する。この割込要求NMIが生じると、プリントコントローラ40は、予め定めた割込処理に直ちに移行し、電源91等の周辺回路にパワーダウン命令を出力する。電源91は、この信号を受けて、待機状態に入る。待機状態では、電源91は、主電源の供給は停止するものの、電力供給線(図示しない)を介して待機電力をプリントコントローラ40に供給する。すなわち、パネルスイッチ92を介して実行される通常の電源オフ操作ではプリントコントローラ40に対する電力供給は完全には遮断されない。   Further, a panel switch 92 and a control line for a power source 91 are also connected to the print controller 40 via a parallel input / output interface 49. The panel switch 92 is provided with a power switch 92a for instructing power on / off, a cartridge switch 92b for instructing replacement of the ink cartridge, and a cleaning switch 92c for instructing forced cleaning of the print head 10. When the power switch 92a of the panel switch 92 is operated and a power-off instruction is input, an interrupt request (NMI) that cannot be masked is generated. When this interrupt request NMI is generated, the print controller 40 immediately shifts to a predetermined interrupt process, and outputs a power-down command to peripheral circuits such as the power supply 91. The power source 91 receives this signal and enters a standby state. In the standby state, the power supply 91 supplies standby power to the print controller 40 via a power supply line (not shown), although supply of the main power supply is stopped. That is, the power supply to the print controller 40 is not completely cut off by a normal power-off operation executed via the panel switch 92.

また、マスク不可能な割込要求(NMI)は、パネルスイッチ92のカートリッジスイッチ92bを操作して、インクカートリッジの交換を指示した場合にも出力される。更に、この割込要求は、電源プラグがコンセントから抜かれた場合にも発生する。これらの割込要求が発生したとき、プリントコントローラ40は、後述する割込処理ルーチンを実行するが、割込処理ルーチンの中では、パネルスイッチ92のスイッチの操作によりこの割込要求が発生した場合と、電源の強制的な遮断により発生した場合とは、識別可能である。従って、割込要求(NMI)が生じた場合でも、後述するように、要因により、異なる処理を実現することができる。なお、電源91にはプラグがコンセントから抜かれた後も所定時間(例えば、0.3秒)に亘り電力供給を実現するために、補償電源装置(例えば、キャパシタ)が備えられている。   An unmaskable interrupt request (NMI) is also output when the cartridge switch 92b of the panel switch 92 is operated to instruct the replacement of the ink cartridge. Furthermore, this interrupt request also occurs when the power plug is removed from the outlet. When these interrupt requests are generated, the print controller 40 executes an interrupt processing routine, which will be described later. In the interrupt processing routine, when this interrupt request is generated by the operation of the switch of the panel switch 92. Can be distinguished from the case where the power is forcibly shut off. Therefore, even when an interrupt request (NMI) is generated, different processing can be realized depending on factors as will be described later. The power supply 91 is provided with a compensation power supply device (for example, a capacitor) in order to realize power supply for a predetermined time (for example, 0.3 seconds) even after the plug is removed from the outlet.

プリントコントローラ40には、この他、キャリッジ機構12上(図1参照)に搭載した黒用のインクカートリッジ107Kおよびカラー用のインクカートリッジ107Fに関する情報を記憶しておく本体側メモリとして、EEPROM90が搭載されている。EEPROM90は、詳しくは後述するが、黒用のインクカートリッジ107Kおよびカラー用のインクカートリッジ107Fにおけるインク量に関連する情報(インク残量またはインク消費量)等の所定情報を記憶する。またさらに、プリントコントローラ40には、制御部46がアクセス(読み出し/書き込み)を所望する記憶素子80(後述)のメモリセル81(後述)のアドレスをクロック数に変換するアドレスデコーダ95が備えられている。アドレスデコーダ95は、プリントコントローラ40内の制御部46は、通常8ピット1バイトでデータを扱っているのに対して、インクカートリッジ107K,107Fに内蔵された記憶素子80のメモリセル81は、読み書き用のクロックに同期してシリアルアクセスされるため、アクセスしようとするアドレスを変換するのに用いられる。   In addition, the print controller 40 includes an EEPROM 90 as a main body side memory for storing information about the black ink cartridge 107K and the color ink cartridge 107F mounted on the carriage mechanism 12 (see FIG. 1). ing. Although described in detail later, the EEPROM 90 stores predetermined information such as information (remaining ink amount or ink consumption amount) related to the ink amount in the black ink cartridge 107K and the color ink cartridge 107F. Furthermore, the print controller 40 is provided with an address decoder 95 that converts the address of a memory cell 81 (described later) of a storage element 80 (described later) that the control unit 46 desires to access (read / write) into the number of clocks. Yes. In the address decoder 95, the control unit 46 in the print controller 40 normally handles data with 8 pits and 1 byte, whereas the memory cell 81 of the storage element 80 built in the ink cartridges 107K and 107F reads and writes. Since the serial access is performed in synchronization with the clock, the address to be accessed is used for conversion.

プリンタ1では、インクの消費量を計算により検出している。インク消費量の計算は、コンピュータPCのプリンタドライバが行なっても良いし、プリンタ1側で行なっても良い。インク消費量の計算は、次の二つの要素を勘案する。
(1)画像印刷時のインク消費量:印刷時のインク消費量を正確に計算するためには、画像データを色変換や二値化処理し、インクドットの有無に置き換えた後、そのドットの重量と数、即ち、ノズル開口部23から吐出されるインク滴重量とインク滴の吐出回数、とを乗じる。もとより、画像データにおける各画素の濃度からもインク消費量を概算することは可能である。
(2)印刷ヘッド10クリーニングによるインク消費量:クリーニングによるインク消費量としては、フラッシングによるインク吐出量と吸引動作によるインク吸引量とがある。フラッシング動作は、動作自体は、通常のインク滴の吐出と変わらないので、(1)と同様に計算すればよい。吸引動作によるインク消費量は、ポンプの回転数や回転時間に対応づけて予め記憶しておけばよい。通常は、1回の吸引動作により消費されるインク量は予め計測され、記憶されている。
In the printer 1, the ink consumption is detected by calculation. The calculation of the ink consumption may be performed by the printer driver of the computer PC or by the printer 1 side. The calculation of ink consumption takes the following two factors into consideration.
(1) Ink consumption at the time of image printing: In order to accurately calculate the ink consumption at the time of printing, color conversion or binarization processing is performed on the image data, and after replacing the presence or absence of ink dots, The weight and the number, that is, the weight of the ink droplet ejected from the nozzle opening 23 and the number of ejections of the ink droplet are multiplied. Of course, it is possible to estimate the ink consumption from the density of each pixel in the image data.
(2) Ink consumption amount due to cleaning of the print head 10: The ink consumption amount due to cleaning includes an ink discharge amount due to flushing and an ink suction amount due to suction operation. Since the flushing operation is the same as the normal ink droplet ejection, it may be calculated in the same manner as in (1). The ink consumption amount due to the suction operation may be stored in advance in association with the rotation speed and rotation time of the pump. Usually, the amount of ink consumed by one suction operation is measured and stored in advance.

こうした求めたインク消費量を印刷動作開始前のインク残量から減じることにより、現在のインク残量を求めることができる。このようなインク残量の算出は、EEPROM90に記憶されているデータなどを用いながら、ROM45などに格納されているプログラムに基づいて、制御部46が行なう。   By subtracting the obtained ink consumption from the remaining ink amount before the start of the printing operation, the current remaining ink amount can be obtained. The calculation of the ink remaining amount is performed by the control unit 46 based on a program stored in the ROM 45 or the like while using data stored in the EEPROM 90 or the like.

本実施例では、上述したように、色変換や二値化の処理は、コンピュータPC側のプリンタドライバが行なっている。従って、プリンタ1は、二値化済みのデータ、即ち、各インクについてのドットの形成/非形成のデータを受け取る。プリンタ1は、このデータに基づいて、ドットの数と1ドット当たりのインク重量(インク滴重量)とを乗算して、インク消費量を求めている。   In this embodiment, as described above, color conversion and binarization processing are performed by the printer driver on the computer PC side. Therefore, the printer 1 receives binarized data, that is, data for dot formation / non-formation for each ink. Based on this data, the printer 1 multiplies the number of dots by the ink weight per dot (ink droplet weight) to obtain the ink consumption.

実施例のプリンタ1では、上述したように、二値化済みのデータを受け取っているが、このデータの配列と実際の印刷ヘッド10のノズルの配列とは一致していない。そこで、制御部46は、RAM44内を受信バッファ44A,中間バッファ44B,出力バッファ44Cに分けて、ドットデータの配列の組み替え処理を行なっている。なお、色変換や二値化の処理をプリンタ1側で行なうという制御も可能である。こうした場合には、プリンタ1は、コンピュータPCなどから送られた多値階調情報を含む印刷データを、インターフェース43を介して印刷装置内部の受信バッファ44Aに保持し、以下の処理を行なう。受信バッファ44Aに保持された印刷データは、コマンド解析が行なわれてから中間バッファ44Bへ送られる。中間バッファ44B内では、制御部46によって中間コードに変換された中間形式としての印刷データが保持され、各文字の印刷位置、修飾の種類、大きさ、フォントのアドレスなどが付加される処理が制御部46によって実行される。次に、制御部46は、中間バッファ44B内の印刷データを解析し、階調データをデコード化した後の2値化されたドットパターンデータを出力バッファ44Cに展開し記憶させる。   As described above, the printer 1 of the embodiment receives the binarized data, but this data arrangement does not match the actual nozzle arrangement of the print head 10. Therefore, the control unit 46 divides the RAM 44 into a reception buffer 44A, an intermediate buffer 44B, and an output buffer 44C, and performs a rearrangement process of the dot data array. It is also possible to perform control such that the color conversion and binarization processing is performed on the printer 1 side. In such a case, the printer 1 holds the print data including multi-value gradation information sent from the computer PC or the like in the reception buffer 44A inside the printing apparatus via the interface 43, and performs the following processing. The print data held in the reception buffer 44A is sent to the intermediate buffer 44B after command analysis is performed. In the intermediate buffer 44B, the print data in the intermediate format converted into the intermediate code by the control unit 46 is held, and the process for adding the print position, modification type, size, font address, etc. of each character is controlled. This is executed by the unit 46. Next, the control unit 46 analyzes the print data in the intermediate buffer 44B, and develops and stores the binarized dot pattern data after decoding the gradation data in the output buffer 44C.

いずれの場合でも、印刷ヘッド10の1スキャン分に相当するドットパターンデータが得られると、このドットパターンデータは、パラレル入出力インターフェース49を介して印刷ヘッド10にシリアル転送される。出力バッファ44Cから1スキャン分に相当するドットパターンデータが出力されると、中間バッファ44Bの内容が消去されて、次の変換処理が行なわれる。   In any case, when dot pattern data corresponding to one scan of the print head 10 is obtained, this dot pattern data is serially transferred to the print head 10 via the parallel input / output interface 49. When dot pattern data corresponding to one scan is output from the output buffer 44C, the contents of the intermediate buffer 44B are erased and the next conversion process is performed.

印刷ヘッド10は、受け取ったドットパターンデータを印刷媒体上に形成すべく、所定のタイミングで各ノズル開口部23から印刷媒体上に向けてインク滴を吐出させる。駆動信号発生回路48で生成された駆動信号COMは、パラレル入出力インターフェース49を介して印刷ヘッド10の素子駆動回路50に出力される。印刷ヘッド10には、ノズル開口部23に連通する圧力発生室32および圧電振動子17(圧力発生素子)がノズル開口部23の数だけ形成されており、素子駆動回路50から所定の圧電振動子17に駆動信号COMが与えられると、圧力発生室32が収縮し、ノズル開口部23からインク滴が吐出される。   In order to form the received dot pattern data on the print medium, the print head 10 ejects ink droplets from the nozzle openings 23 toward the print medium at a predetermined timing. The drive signal COM generated by the drive signal generation circuit 48 is output to the element drive circuit 50 of the print head 10 via the parallel input / output interface 49. In the print head 10, pressure generation chambers 32 and piezoelectric vibrators 17 (pressure generation elements) communicating with the nozzle openings 23 are formed in the number corresponding to the number of the nozzle openings 23. When the drive signal COM is given to 17, the pressure generating chamber 32 contracts and an ink droplet is ejected from the nozzle opening 23.

印刷ヘッド10におけるノズル開口部23のレイアウトの一例を、図3に示す。図示するように、印刷ヘッド10には、黒(K)、シアン(C)、ライトシアン(LC)、マゼンダ(M)、ライトマゼンダ(LM)、イエロー(Y)に対応するノズル開口部23が、各色毎に2列ずつ、かつノズル配置が千鳥状になるように形成されている。   An example of the layout of the nozzle openings 23 in the print head 10 is shown in FIG. As shown in the figure, the print head 10 has nozzle openings 23 corresponding to black (K), cyan (C), light cyan (LC), magenta (M), light magenta (LM), and yellow (Y). Two rows are formed for each color, and the nozzle arrangement is staggered.

(インクカートリッジおよびカートリッジ装着部の構成)
このように構成したプリンタ1において、インクカートリッジ107K、107Fの基本的な構造は共通する。そこで、図4および図5を参照して、黒用のインクカートリッジ107Kを例にインクカートリッジの構造、およびこのカートリッジをプリンタ本体に装着するための構造を説明する。
(Configuration of ink cartridge and cartridge mounting part)
In the printer 1 configured as described above, the basic structures of the ink cartridges 107K and 107F are common. Therefore, with reference to FIGS. 4 and 5, the structure of the ink cartridge and the structure for mounting the cartridge on the printer main body will be described by taking the black ink cartridge 107K as an example.

図4は、インクカートリッジおよびプリンタ本体のカートリッジ装着部の概略構造を示す斜視図である。図5は、このインクカートリッジの内部構造、キャリッジ上のカートリッジ装着部の内部構造、およびカートリッジ装着部にカートリッジを装着する様子を示す断面図である。   FIG. 4 is a perspective view showing a schematic structure of an ink cartridge and a cartridge mounting portion of the printer main body. FIG. 5 is a cross-sectional view showing the internal structure of the ink cartridge, the internal structure of the cartridge mounting portion on the carriage, and how the cartridge is mounted on the cartridge mounting portion.

図4(A)において、インクカートリッジ107Kは、内部にインクを収容するインク収容部117Kを構成する合成樹脂製のカートリッジ本体171と、このカートリッジ本体171の側枠部172に内蔵された記憶素子(不揮発性メモリ)80とを備えている。この記憶素子80は、電気的に記憶内容を消去して書き換え可能であり、かつ電源の供給が失われて内容を保持するいわゆるEEPROMである。但し、この記憶素子80におけるデータの書き換え回数は、1万回程度であり、プリントコントローラ40に内蔵されたEEPROM90の書き込み許容回数と比べると、数分の1以下となっている。その分、記憶素子80のコストはきわめて低い。この記憶素子80に対しては、インクカートリッジ107Kをプリンタ本体100のカートリッジ装着部18に装着した状態で、プリンタ1のプリントコントローラ40との間で各種のデータの授受が可能である。本実施例では、この記憶素子80は、インクカートリッジ107Kの側枠部172に対して下側が開放状態にある凹部173に装着されているので、複数の接続端子174のみが露出しているが、全体を露出して設けてもよい。もとより、全体を埋設し、端子部を別体に設けても良い。   4A, an ink cartridge 107K includes a cartridge body 171 made of synthetic resin that constitutes an ink storage portion 117K that stores ink therein, and a storage element (inside the side frame portion 172 of the cartridge main body 171). Non-volatile memory) 80. The storage element 80 is a so-called EEPROM which can be rewritten by electrically erasing the stored contents, and retains the contents after the supply of power is lost. However, the number of data rewrites in the storage element 80 is about 10,000 times, which is less than a fraction of the number of times allowed to write in the EEPROM 90 built in the print controller 40. Accordingly, the cost of the storage element 80 is extremely low. Various data can be exchanged with the storage element 80 with the print controller 40 of the printer 1 in a state where the ink cartridge 107K is mounted in the cartridge mounting portion 18 of the printer main body 100. In this embodiment, since the storage element 80 is mounted in the recess 173 that is open on the lower side with respect to the side frame 172 of the ink cartridge 107K, only the plurality of connection terminals 174 are exposed. The whole may be exposed. Of course, the whole may be embedded and the terminal portion may be provided separately.

図4(B)に示すように、カートリッジ装着部18の底部187には、インク供給用の針181が上向きに配置されている。この針181の周りは、凹部183として形成されており、カートリッジ装着部18にインクカートリッジ107Kを装着すると、インクカートリッジ107Kの底部に凸形状に形成されているインク供給部175が、この凹部183に嵌め合わされる。この凹部183の内壁には、カートリッジガイド182が3箇所に形成されている。更に、カートリッジ装着部18の内壁184には、コネクタ186が配置されている。このコネクタ186は、複数の電極185を有する。電極185は、カートリッジ装着部18にインクカートリッジ107Kが装着されると、記憶素子80の複数の接続端子174のそれぞれと接触し、電気的な接続を実現する。   As shown in FIG. 4B, an ink supply needle 181 is disposed upward on the bottom 187 of the cartridge mounting portion 18. The periphery of the needle 181 is formed as a recess 183. When the ink cartridge 107K is mounted on the cartridge mounting portion 18, the ink supply portion 175 formed in a convex shape at the bottom of the ink cartridge 107K is formed in the recess 183. Fitted together. On the inner wall of the recess 183, cartridge guides 182 are formed at three locations. Further, a connector 186 is disposed on the inner wall 184 of the cartridge mounting portion 18. The connector 186 has a plurality of electrodes 185. The electrode 185 comes into contact with each of the plurality of connection terminals 174 of the storage element 80 when the ink cartridge 107K is mounted on the cartridge mounting portion 18, thereby realizing electrical connection.

次に、カートリッジ装着部18に対してインクカートリッジ107Kを装着する手順を説明する。パネルスイッチ92を操作してインクカートリッジ107Kの交換が指示されると、キャリッジ101は、インクカートリッジ107Kを交換可能な位置まで移動される。交換時には、使用済みのインクカートリッジ107Kをまず取り外す。カートリッジ装着部18の後壁部188には、支持軸191を介して固定レバー192が取り付けられており、この固定レバー192を上方に引き上げると、使用済みのインクカートリッジ107Kを取り外すことができる。次に、新しいインクカートリッジ107Kをカートリッジ装着部18に差し入れる。その上で、固定レバー192をインクカートリッジ107Kに被さるように倒すと、インクカートリッジ107Kが下方に押されてインク供給部175が凹部183に嵌合するとともに、針181がインク供給部175に突き刺さってインクの供給が可能になる。さらに、固定レバー192を倒すと、固定レバー192の先端に形成した係止部193が、カートリッジ装着部18に形成された係合具189に係合し、インクカートリッジ107Kは、カートリッジ装着部18にしっかりと固定される。この状態で、インクカートリッジ107Kの記憶素子80の複数の接続端子174と、カートリッジ装着部18の複数の電極185とがそれぞれ電気的に接続し、プリンタ本体100と記憶素子80の間においてデータの授受が可能となる。交換が完了し、使用者が、パネルスイッチ92を再度操作すると、キャリッジ101は、初期位置まで戻り、印刷可能状態となる。   Next, a procedure for mounting the ink cartridge 107K on the cartridge mounting unit 18 will be described. When the panel switch 92 is operated to instruct replacement of the ink cartridge 107K, the carriage 101 is moved to a position where the ink cartridge 107K can be replaced. At the time of replacement, the used ink cartridge 107K is first removed. A fixed lever 192 is attached to the rear wall portion 188 of the cartridge mounting portion 18 via a support shaft 191. When the fixed lever 192 is pulled upward, the used ink cartridge 107K can be removed. Next, a new ink cartridge 107 </ b> K is inserted into the cartridge mounting portion 18. Then, when the fixing lever 192 is tilted so as to cover the ink cartridge 107K, the ink cartridge 107K is pushed downward, the ink supply unit 175 is fitted into the recess 183, and the needle 181 is stuck into the ink supply unit 175. Ink can be supplied. When the fixing lever 192 is further tilted, the locking portion 193 formed at the tip of the fixing lever 192 engages with the engaging tool 189 formed on the cartridge mounting portion 18, and the ink cartridge 107 K is moved to the cartridge mounting portion 18. It is firmly fixed. In this state, the plurality of connection terminals 174 of the storage element 80 of the ink cartridge 107 </ b> K and the plurality of electrodes 185 of the cartridge mounting portion 18 are electrically connected to each other, and data is exchanged between the printer main body 100 and the storage element 80. Is possible. When the replacement is completed and the user operates the panel switch 92 again, the carriage 101 returns to the initial position and is ready for printing.

インクカートリッジ107Kの構造は、基本的にはカラー用のインクカートリッジ107Fでも同様であるため、その説明を省略する。ただし、カラー用のインクカートリッジ107Fでは、5色分のインクが各インク収容室に充填され、かつ、これらのインクはそれぞれ別々の経路を辿って印刷ヘッド10に供給される。したがって、カラー用のインクカートリッジ107Fでは、インク供給部175がインクの色数分だけ形成されている。なお、インクカートリッジ107Fでは、5色分のインクが収容されているが、そこに内蔵されている記憶素子80は1つだけであり、この1つの記憶素子80に、インクカートリッジ107Fの情報および各色のインクの情報が一括して記憶される。   Since the structure of the ink cartridge 107K is basically the same as that of the color ink cartridge 107F, the description thereof is omitted. However, in the color ink cartridge 107F, the inks for five colors are filled in the ink storage chambers, and these inks are supplied to the print head 10 through different paths. Therefore, in the color ink cartridge 107F, the ink supply portions 175 are formed by the number of ink colors. Note that the ink cartridge 107F contains ink for five colors, but only one storage element 80 is built in the ink cartridge 107F, and the information of the ink cartridge 107F and each color are stored in this one storage element 80. The ink information is stored together.

(記憶素子80の構成)
図6は、本形態のプリンタに用いたインクカートリッジ107K、107Fに内蔵の記憶素子80の構成を示すブロック図である。図7は、メモリセル81へのデータの書き込みの様子を示す説明図である。
(Configuration of storage element 80)
FIG. 6 is a block diagram showing the configuration of the storage element 80 built in the ink cartridges 107K and 107F used in the printer of this embodiment. FIG. 7 is an explanatory diagram showing how data is written to the memory cell 81.

本実施例において、インクカートリッジ107K、107Fの記憶素子80は、図6に示すように、メモリセル81、リード・ライト制御部82、およびアドレスカウンタ83を備える。リード・ライト制御部82は、メモリセル81でのデータの読み書きを制御する回路である。一方、アドレスカウンタ83は、クロック信号CLKに基づいてカウントアップされるカウンタであり、その出力はメモリセル81に対するアドレスとなっている。   In this embodiment, the storage element 80 of the ink cartridges 107K and 107F includes a memory cell 81, a read / write control unit 82, and an address counter 83, as shown in FIG. The read / write control unit 82 is a circuit that controls reading and writing of data in the memory cell 81. On the other hand, the address counter 83 is a counter that is counted up based on the clock signal CLK, and its output is an address for the memory cell 81.

実際の書き込み動作について、図7を用いて説明する。図7(A)、(B)は本実施例のプリンタ1において、プリントコントローラ40からインクカートリッジ107K、107Fに内蔵の記憶素子80にインク残量を書き込む際の処理を示すフローチャート、およびこの処理を行なう際のタイミングチャートである。   An actual write operation will be described with reference to FIG. FIGS. 7A and 7B are a flowchart illustrating processing when the remaining amount of ink is written in the storage element 80 built in the ink cartridges 107K and 107F from the print controller 40 in the printer 1 of this embodiment, and this processing. It is a timing chart at the time of performing.

図示するように、まず、プリントコントローラ40の制御部46は、記憶素子80をイネーブル状態にするためのチップセレクト信号CSをハイレベルとする(ステップST21)。このチップセレクト信号CSがロウレベルになると、アドレスカウンタ83のカウント値は0にリセットされる。次に、データを書き込むアドレスを指定するために必要な数のクロック信号CLKを発生させる(ステップST22)。このとき、必要なクロック信号の数を決定するのに、プリントコントローラ40に内蔵されたアドレスデコーダ95を用いる。所定数のクロック信号CLKが出力されると、記憶素子80内のアドレスカウンタ83は、カウントアップされる。この間、リード/ライト信号W/Rは、ロウレベルに保持されているので、メモリセル81に対してはデータの読み出しが指示されていることになり、クロックに同期してダミーデータの読み出しが行なわれている。   As shown in the figure, first, the control unit 46 of the print controller 40 sets the chip select signal CS for enabling the storage element 80 to a high level (step ST21). When the chip select signal CS becomes low level, the count value of the address counter 83 is reset to zero. Next, the necessary number of clock signals CLK for designating the address for writing data is generated (step ST22). At this time, an address decoder 95 built in the print controller 40 is used to determine the number of clock signals required. When a predetermined number of clock signals CLK are output, the address counter 83 in the storage element 80 is counted up. During this time, since the read / write signal W / R is held at the low level, the memory cell 81 is instructed to read data, and dummy data is read in synchronization with the clock. ing.

このようにして所定の書き込みアドレスまでカウントアップさせた後、書き込みの処理を行なう(ステップST23)。この書き込みの処理は、リード/ライト信号W/Rをハイレベルに切り換え、データ(I/O)に1ビットのデータを出力し、データが確立した時点でクロック信号CLKをハイアクティブに切り換えることにより行なわれる。記憶素子80は、ライト/リード信号W/Rがハイレベルの時、クロック信号CLKの立ち上がりに同期して、データ端子I/OのデータDATAを、メモリセル81に書き込むのである。なお、図7(B)では5つ目のクロック信号CLKから、この信号CLKに同期して書き込みが実行されているが、これは一般的な書き込みを説明するものであり、必要があれば、一つ目のクロック信号CLKからでも、クロック信号CLKに同期して、インク残量などの必要なデータの書き込みが実行される。   After counting up to a predetermined write address in this way, write processing is performed (step ST23). This writing process is performed by switching the read / write signal W / R to high level, outputting 1-bit data to the data (I / O), and switching the clock signal CLK to high active when the data is established. Done. The storage element 80 writes the data DATA of the data terminal I / O to the memory cell 81 in synchronization with the rising edge of the clock signal CLK when the write / read signal W / R is at a high level. In FIG. 7B, writing is executed from the fifth clock signal CLK in synchronization with this signal CLK. This is for explaining general writing, and if necessary, Even from the first clock signal CLK, necessary data such as the remaining amount of ink is written in synchronization with the clock signal CLK.

こうして書き込みが行なわれる記憶素子80内のデータ配列について説明する。図8,図9は、それぞれ、本実施例のプリンタ1に用いた黒用およびカラー用のインクカートリッジ107K,107Fに内蔵の記憶素子のデータ配列を示す説明図である。更に、図10は、プリンタ本体に内蔵のEEPROM90におけるデータ配列を示す説明図である。黒用のインクカートリッジ107Kに備えられている記憶素子80のメモリセル81は、図8に示すように、読み出し専用データを記憶する第1の記憶領域750と、書き換え可能なデータを記憶する第2の記憶領域760とを備えている。プリンタ本体100は、第1の記憶領域750に格納されているデータに対しては読み出しのみが可能であり、第2の記憶領域760に格納されているデータに対しては読み出しおよび書き込みの双方を実行し得る。第2の記憶領域760は、特別な処理を行なわずにアクセスする際、即ちデフォルトのままのアクセス際に、第1の記憶領域750よりも先にアクセスされるアドレスに配置されている。換言すれば、第2の記憶領域760は、第1の記憶領域750よりも低いアドレスに配置されている。なお、本実施例においては、「低いアドレス」とは「先頭側のアドレス」を意味するものとする。   A data array in the storage element 80 to which writing is performed in this way will be described. FIGS. 8 and 9 are explanatory diagrams showing data arrays of storage elements built in the black and color ink cartridges 107K and 107F used in the printer 1 of this embodiment, respectively. Further, FIG. 10 is an explanatory diagram showing a data arrangement in the EEPROM 90 built in the printer body. As shown in FIG. 8, the memory cell 81 of the storage element 80 provided in the black ink cartridge 107K has a first storage area 750 for storing read-only data and a second storage area for storing rewritable data. Storage area 760. The printer main body 100 can only read data stored in the first storage area 750, and can read and write data stored in the second storage area 760. Can be executed. The second storage area 760 is arranged at an address that is accessed earlier than the first storage area 750 when accessing without performing special processing, that is, when accessing the default storage area. In other words, the second storage area 760 is arranged at an address lower than that of the first storage area 750. In this embodiment, “low address” means “head address”.

ここで、第2の記憶領域760には、先頭領域700にインクカートリッジの取付回数を示すデータが記憶されており、これに続く各記憶領域701、702には、それぞれ第1の黒インク残量データおよび第2の黒インク残量データが記憶される。黒インク残量データが2つの記憶領域701、702に割り当てられているのは、これらの領域に対して交互にデータ書き換えを行なうためである。したがって、最後に書き換えられた黒インク残量データが記憶領域701に記憶されているデータであれば、記憶領域702に記憶されている黒インク残量データはその一回前のデータであり、次回の書き換えは、この記憶領域702に対して行なわれる。黒インク残量データの記憶領域701,702は、共にその記憶容量は、1バイト(8ビット)分である。なお、黒インクの残量データは、インクカートリッジの取付回数を示すデータが記憶される領域より前の領域に割り当て、後述する電源断時などに、最初にアクセスされるようにしておくことも、好適である。   Here, in the second storage area 760, data indicating the number of ink cartridge attachments is stored in the head area 700, and in each of the subsequent storage areas 701 and 702, the first black ink remaining amount is stored. Data and second black ink remaining amount data are stored. The reason why the black ink remaining amount data is allocated to the two storage areas 701 and 702 is to perform data rewriting alternately for these areas. Therefore, if the black ink remaining amount data rewritten last is data stored in the storage area 701, the black ink remaining amount data stored in the storage area 702 is the previous data, and the next time. Is rewritten in the storage area 702. Both the storage areas 701 and 702 for the black ink remaining amount data have a storage capacity of 1 byte (8 bits). The remaining amount data of black ink may be assigned to an area before the area where the data indicating the number of attachments of the ink cartridge is stored, and may be accessed first when the power is turned off, which will be described later. Is preferred.

これに対して、第1の記憶領域750に記憶される読み出し専用データは、最初にアクセスされる順からいえば、各記憶領域711〜720に対して割り当てられたインクカートリッジ107Kの開封時期データ(年)、インクカートリッジ107Kの開封時期データ(月)、インクカートリッジ107Kのバージョンデータ、顔料系あるいは染料系などといったインクの種類データ、インクカートリッジ107Kの製造年データ、インクカートリッジ107Kの製造月データ、インクカートリッジ107Kの製造日データ、インクカートリッジ107Kの製造ラインデータ、インクカートリッジ107Kのシリアルナンバデータ、インクカートリッジ107Kが新品であるかリサイクル品であるかを示すリサイクル有無データである。このうち、インクカートリッジ107Kのシリアルナンバは、インクカートリッジ107K毎に固有の値が与えられており、いわゆる識別情報として利用できるデータである。なお、製造年月日および製造時間のデータを、1個のインクカートリッジ107Kが製造される時間と同程度またはこれより細かく記憶するものとすれば(例えば秒単位、あるいは1/10秒単位まで記憶するものとすれば)、製造年月日および時間を、識別情報として用いることも可能である。   On the other hand, the read-only data stored in the first storage area 750 is the opening timing data (K) of the ink cartridge 107K assigned to each of the storage areas 711 to 720 in the order of first access. Year), ink cartridge 107K opening time data (month), ink cartridge 107K version data, pigment type or dye type ink type data, ink cartridge 107K manufacturing year data, ink cartridge 107K manufacturing month data, ink The manufacturing date data of the cartridge 107K, the manufacturing line data of the ink cartridge 107K, the serial number data of the ink cartridge 107K, and the recycling presence / absence data indicating whether the ink cartridge 107K is new or recycled. Among these, the serial number of the ink cartridge 107K is given a unique value for each ink cartridge 107K, and is data that can be used as so-called identification information. If the date of manufacture and the time of manufacture are stored at the same level as or more finely than the time at which one ink cartridge 107K is manufactured (for example, stored in units of seconds or 1/10 seconds). If so, the date and time of manufacture can also be used as identification information.

カラー用のインクカートリッジ107Fに備えられている記憶素子80のメモリセル81も、図9に示すように、読み出し専用データを記憶する第1の記憶領域650と、書き換え可能なデータを記憶する第2の記憶領域660とを備えている。プリンタ本体100は、第1の記憶領域650に格納されているデータに対しては読み出しのみが可能であり、第2の記憶領域660に格納されているデータに対しては読み出しおよび書き込みの双方を実行し得る。第2の記憶領域660は、アクセス時に第1の記憶領域650よりも先にアクセスされるアドレスに配置されている。すなわち、第2の記憶領域660は、第1の記憶領域650よりも低いアドレスに配置されている。   As shown in FIG. 9, the memory cell 81 of the storage element 80 provided in the color ink cartridge 107F also has a first storage area 650 for storing read-only data and a second storage area for storing rewritable data. Storage area 660. The printer main body 100 can only read data stored in the first storage area 650 and can read and write data stored in the second storage area 660. Can be executed. The second storage area 660 is arranged at an address that is accessed earlier than the first storage area 650 when accessed. That is, the second storage area 660 is arranged at an address lower than that of the first storage area 650.

ここで、第2の記憶領域660は、先頭領域600に取付回数を示すデータが記憶されており、これに続く各記憶領域601〜610に、第1のシアンインク残量データ、第2のシアンインク残量データ、第1のマゼンダインク残量データ、第2のマゼンダインク残量データ、第1のイエローインク残量データ、第2のイエローインク残量データ、第1のライトシアンインク残量データ、第2のライトシアンインク残量データ、第1のライトマゼンダインク残量データ、第2のライトマゼンダインク残量データが記憶される。各色のインク残量データが2つの記憶領域に割り当てられているのは、黒用のインクカートリッジ107Kと同様、これらの領域に対して交互にデータ書き換えを行なうためである。また、各インク色のデータに割り当てられた記憶容量も、黒インクカートリッジ107Kと同様、各1バイト(8ビット)である。カラーインクカートリッジ107Fの記憶素子80でも、黒インクカートリッジ107Kの記憶素子80と同様、各色インクの残量データを、インクカートリッジの取付回数を示すデータが記憶される領域より前の領域に割り当て、後述する電源断時などに、最初にアクセスされるようにしておくことも、好適である。   Here, in the second storage area 660, data indicating the number of attachments is stored in the head area 600, and in each of the subsequent storage areas 601 to 610, first cyan ink remaining amount data and second cyan are stored. Remaining ink data, first magenta ink remaining data, second magenta ink remaining data, first yellow ink remaining data, second yellow ink remaining data, first light cyan ink remaining data, Second light cyan ink remaining amount data, first light magenta ink remaining amount data, and second light magenta ink remaining amount data are stored. The reason why the ink remaining amount data of each color is assigned to the two storage areas is that data is rewritten alternately in these areas as in the case of the black ink cartridge 107K. Further, the storage capacity allocated to the data of each ink color is also 1 byte (8 bits) each as in the black ink cartridge 107K. Also in the storage element 80 of the color ink cartridge 107F, as in the storage element 80 of the black ink cartridge 107K, the remaining amount data of each color ink is assigned to an area before the area in which the data indicating the number of attachments of the ink cartridge is stored. It is also preferable that the access is made first when the power is turned off.

これに対して、第1の記憶領域650に記憶される読み出し専用データは、黒用のインクカートリッジ107Kと同様、最初にアクセスされる順からいえば、各記憶領域611〜620に対して割り当てられたインクカートリッジ107Fの開封時期データ(年)、インクカートリッジ107Fの開封時期データ(月)、インクカートリッジ107Fのバージョンデータ、インクの種類データ、製造年データ、製造月データ、製造日データ、製造ラインデータ、シリアルナンバーデータ、リサイクル有無データである。これらのデータは、色にかかわらず共通であるため、各色間で共通のデータとして1種類のみ記憶されている。シリアルナンバデータが識別情報としても利用可能である点なども、黒インクカートリッジ107Kと同様である。   On the other hand, the read-only data stored in the first storage area 650 is assigned to each of the storage areas 611 to 620 in the order of the first access, similar to the black ink cartridge 107K. Ink cartridge 107F opening time data (year), ink cartridge 107F opening time data (month), ink cartridge 107F version data, ink type data, manufacturing year data, manufacturing month data, manufacturing date data, manufacturing line data Serial number data and recycling presence / absence data. Since these data are common regardless of the color, only one type is stored as common data between the colors. Similar to the black ink cartridge 107K, the serial number data can also be used as identification information.

これらのデータはいずれも、インクカートリッジ107K、107Fがプリンタ本体100に装着された後、プリンタ本体100の電源がオンされたときに、プリントコントローラ40によってアクセスされ、利用される。場合によっては、本体100に内蔵のEEPROM90に記憶される。したがって、図10に示すように、このEEPROM90の記憶領域801〜835には、黒用のインクカートリッジ107Kおよびカラー用のインクカートリッジ107Fのインク残量など、各記憶素子80に記憶されるすべてのデータを記憶できるようになっている。   Both of these data are accessed and used by the print controller 40 when the power of the printer main body 100 is turned on after the ink cartridges 107K and 107F are mounted on the printer main body 100. In some cases, the data is stored in the EEPROM 90 built in the main body 100. Therefore, as shown in FIG. 10, in the storage areas 801 to 835 of the EEPROM 90, all the data stored in each storage element 80, such as the remaining amount of ink in the black ink cartridge 107K and the color ink cartridge 107F. Can be memorized.

このEEPROM90には、図10に示すように、黒インク残量データやその他のデータおよびカラーインク各色の残量データやその他のデータを記憶する領域が設けられている。これらのデータは、黒色インクカートリッジ107Kやカラーインクカートリッジ107F内の記憶素子80が記憶しているデータに対応しているが、インク残量データが各色32ビット(4バイト分)である点で異なる。   As shown in FIG. 10, the EEPROM 90 is provided with an area for storing black ink remaining amount data and other data, and remaining amount data and other data of each color ink color. These data correspond to the data stored in the storage element 80 in the black ink cartridge 107K or the color ink cartridge 107F, but differ in that the remaining ink data is 32 bits (4 bytes) for each color. .

(プリンタ1の動作)
次に図11〜図13を参照して電源オンから電源オフまでに本実施例に係るインクジェットプリンタ1が実行する基本動作および記憶素子80とEEPROM90への書き込み頻度の違いについて説明する。図11はインク残量を算出するために実行される処理を示すフローチャート、図12は本実施例のプリンタ1において電源断時に実行される処理を示すフローチャートである。また、図13は、インクカートリッジ107K,107Fを、プリンタ1に装着したときに実行される処理を示すフローチャートである。
(Operation of printer 1)
Next, the basic operation executed by the inkjet printer 1 according to the present embodiment from the power-on to the power-off and the difference in the writing frequency to the storage element 80 and the EEPROM 90 will be described with reference to FIGS. FIG. 11 is a flowchart showing processing executed to calculate the remaining ink amount, and FIG. 12 is a flowchart showing processing executed when the printer 1 of this embodiment is powered off. FIG. 13 is a flowchart showing processing executed when the ink cartridges 107K and 107F are mounted on the printer 1.

まず、インク残量を算出する処理について説明する。この処理は、コンピュータPCからの印刷指示を受けてプリンタ1が印刷動作を行なう際、併せて実行される処理である。このとき、制御部46は、印刷データを印刷ヘッド10に転送すると共に、インク残量を算出する処理を実行する。かかる処理について図11を参照して説明する。図11に示した印刷処理ルーチンが起動されると、まずプリントコントローラ40に内蔵のEEPROM90からインク残量データInを読み出す処理を行なう(ステップS40)。このデータは、前回印刷が完了した時点で書き込まれた32ビットのデータであり、最新のインク残量データである。次にコンピュータPCから印刷データを入力する処理を行なう(ステップS41)。本実施例では色変換や二値化の処理は、すべてコンピュータPCで行なうので、プリンタ1は、所定ラスタ分の二値化されたデータ、即ちインクドットのオン・オフのデータを受け取ることになる。そこで、制御部46は、この印刷データに基づいて、インク消費量ΔIを計算する処理を行なう(ステップS42)。ここで計算されるインク消費量ΔIは、コンピュータから受け取った所定ラスタ分の印刷データに対応した消費量のみならず、フラッシングなどで用いられたインク量も計算している。例えば、インク滴重量とインク滴の吐出回数とを乗じることによって、各色毎のインク吐出量を算出し、算出されたインク吐出量と、前記のフラッシングや吸引動作により消費されたインク吸引量とを加算することによって、インク消費量ΔIを求めることかできる。   First, a process for calculating the remaining ink amount will be described. This process is a process executed when the printer 1 performs a printing operation in response to a printing instruction from the computer PC. At this time, the control unit 46 transfers the print data to the print head 10 and executes a process of calculating the remaining ink amount. Such processing will be described with reference to FIG. When the print processing routine shown in FIG. 11 is started, first, a process of reading the ink remaining amount data In from the EEPROM 90 built in the print controller 40 is performed (step S40). This data is 32-bit data written when the previous printing is completed, and is the latest ink remaining amount data. Next, a process of inputting print data from the computer PC is performed (step S41). In this embodiment, since the color conversion and binarization processing are all performed by the computer PC, the printer 1 receives binarized data for a predetermined raster, that is, ink dot on / off data. . Therefore, the control unit 46 performs a process of calculating the ink consumption amount ΔI based on the print data (step S42). The ink consumption amount ΔI calculated here is not only the consumption amount corresponding to the print data for a predetermined raster received from the computer, but also the ink amount used in the flushing or the like. For example, the ink discharge amount for each color is calculated by multiplying the ink droplet weight by the number of ink droplet discharges, and the calculated ink discharge amount and the ink suction amount consumed by the flushing or suction operation are calculated. By adding, the ink consumption amount ΔI can be obtained.

次に、こうして求めたインク消費量ΔIの累積量Iiを求める処理を行なう(ステップS43)。印刷データに応じて次々のインク消費量は求められるが、これらのデータは演算する度にEEPROM90に書き戻すことはしていないので、その時点までのインク消費量を求めるために、入力した印刷データ分のインク消費量ΔIを積算し、インク消費累積量Iiを算出するのである。これらの演算は、すべてデータを32ビットとして行なわれる。その後、制御部46は、入力した印刷データを、印刷ヘッド10におけるノズル配列および吐出タイミングに合わせたデータに変換し、印刷ヘッド10に出力する(ステップS44)。   Next, a process for obtaining the accumulated amount Ii of the ink consumption amount ΔI thus obtained is performed (step S43). The successive ink consumption is determined according to the print data, but since these data are not written back to the EEPROM 90 every time they are calculated, in order to determine the ink consumption up to that point, the input print data Thus, the ink consumption amount ΔI is integrated to calculate the ink consumption cumulative amount Ii. All these operations are performed with 32 bits of data. Thereafter, the control unit 46 converts the input print data into data that matches the nozzle arrangement and ejection timing in the print head 10 and outputs the data to the print head 10 (step S44).

こうして入力した数ラスタ分の印刷データの処理が完了するので、次に、1ページ分の印刷が完了したかを判断する(ステップS45)。1ページ分の印刷が完了していなければ、ステップS41に戻って、上述した印刷データの入力(ステップS41)以下の処理を繰り返す。一方、1ページ分の印刷が完了した場合には、インク残量を32ビットの値として演算し(ステップS46)、これをEEPROM90に書き戻す処理を行なう(ステップS47)。インク残量の演算は、ステップS40で読み出した前回のインク残量In-1 から、ステップS43で求めたインク消費累積量Iiを減じることにより求めることができる。こうして求めた新たなインク残量InがEEPROM90に書き戻されることになる。   Since the processing of the print data for several rasters thus input is completed, it is next determined whether printing for one page is completed (step S45). If printing for one page has not been completed, the process returns to step S41, and the above-described processing following the input of print data (step S41) is repeated. On the other hand, when printing for one page is completed, the remaining ink amount is calculated as a 32-bit value (step S46), and a process of writing this back to the EEPROM 90 is performed (step S47). The calculation of the ink remaining amount can be obtained by subtracting the accumulated ink consumption amount Ii obtained in step S43 from the previous ink remaining amount In-1 read in step S40. The new ink remaining amount In thus obtained is written back to the EEPROM 90.

次に、32ビットで演算されEEPROM90に書き込まれたインク残量In を8ビットの値Ieに換算する処理を行なう(ステップS48)。この換算は、本実施例では、図14(A)に示すように、32ビットのデータの上位8ビットを求めることにより行なった。従って、データの精度は、1/224に落ちたことになる。こうした換算は、下位ビットを落とすことにより行なっても良いが、例えば、元の32ビットのデータを0−100%といった割合を示すデータに変換することにより行なっても良い。例えば、次式(1)の演算を行なって残量を百分率(但し小数点以下を切り捨てまたは小数第一位を四捨五入した整数)の値にして8ビットで表わすことができる。
Ie=100×算出したインク残量(32ビット)/インク容量(32ビット)
…(1)
Next, a process of converting the remaining ink amount In 2 calculated in 32 bits and written in the EEPROM 90 into an 8-bit value Ie is performed (step S48). In this embodiment, this conversion is performed by obtaining the upper 8 bits of 32-bit data as shown in FIG. Therefore, the accuracy of the data will be dropped to 1/2 24. Such conversion may be performed by dropping the lower bits, but may be performed, for example, by converting the original 32-bit data into data indicating a ratio of 0 to 100%. For example, the remaining amount can be expressed by 8 bits by calculating the following formula (1) and converting the remaining amount to a percentage (however, an integer obtained by rounding down the decimal point or rounding off the first decimal place).
Ie = 100 × calculated remaining ink amount (32 bits) / ink capacity (32 bits)
... (1)

その後、制御部46は、換算した8ビットの換算値IeをRAM44の所定の領域に書き込む処理を行なう(ステップS49)。なお、このステップで、8ビット換算値Ieを、直接インクカートリッジ107K,107Fの記憶素子80に書き込んでも良いが、記憶素子80の書き込み許容回数が高くないことに配慮して、本実施例では、後述するルーチンでのみ書き込むことにしている。   Thereafter, the control unit 46 performs a process of writing the converted 8-bit converted value Ie into a predetermined area of the RAM 44 (step S49). In this step, the 8-bit converted value Ie may be directly written in the storage element 80 of the ink cartridges 107K and 107F. However, in consideration of the fact that the allowable number of writing of the storage element 80 is not high, in this embodiment, It is decided to write only in the routine described later.

上記の実施例では、インク残量の更新をページ単位で行なった。これは、印刷が通常ページ単位で実行されるからである。もとより、EEPROM90へのインク残量データの書き戻しは、複数ページ毎に行なってもよいし、あるいは、ラスタ単位や印刷ヘッド10が所定数往復動する度に、印刷完了と判断して、インク残量のデータをEEPROM90に書き戻す処理を行なってもよい。   In the above embodiment, the ink remaining amount is updated in units of pages. This is because printing is normally performed in units of pages. Of course, the ink remaining amount data may be written back to the EEPROM 90 for each of a plurality of pages, or every time the raster unit or the print head 10 reciprocates a predetermined number of times, it is determined that printing is completed, and the ink remaining amount is determined. A process of writing back the amount of data to the EEPROM 90 may be performed.

新たに算出したインク残量Inは、算出した時点では、プリンタ1のプリントコントローラ40に設けられたEEPROM90には32ビットで書き込まれ、8ビットに換算された値Ieが、RAM44に書き込まれる。RAM44に記憶されたインク残量Ieのインクカートリッジ107K、107Fの各記憶素子80への書き込みは、記述したパワーダウン命令が出力された場合に行なわれる。パワーダウン命令は、既に説明したように、次の3つのタイミングで出力される。
(1) プリンタ1のパネルスイッチ92のパワースイッチ92aが操作されて、電源がオフにされたとき、
(2) パネルスイッチ92のカートリッジスイッチ92bが操作されてインクカートリッジの交換が指示されたとき、
(3) コンセントを引き抜くといった行為により強制的に電源が遮断されたとき。
The newly calculated ink remaining amount In is calculated in 32 bits in the EEPROM 90 provided in the print controller 40 of the printer 1 at the time of calculation, and the value Ie converted into 8 bits is written in the RAM 44. The ink remaining amount Ie stored in the RAM 44 is written to the storage elements 80 of the ink cartridges 107K and 107F when the described power-down command is output. As described above, the power-down command is output at the following three timings.
(1) When the power switch 92a of the panel switch 92 of the printer 1 is operated and the power is turned off,
(2) When the cartridge switch 92b of the panel switch 92 is operated to instruct to replace the ink cartridge,
(3) When the power is forcibly cut off due to an action such as pulling out the outlet.

そこで、次に図12を参照しつつ、8ビット換算されたインク残量Ieのデータをインクカートリッジ107K,107Fの記憶素子80に退避する処理について説明する。図12に示した退避ルーチンは、記述したように、パワーダウン命令が出力されたとき、割込処理として起動される。このルーチンが起動されると、まず最初の割込の原因が強制的な電源の遮断(上記(3) )であるか否かの判断を行なう(ステップS50)。強制的な電源断の場合は、許容されている時間はわずかなので、以下説明するステップS51ないしS55をとばして、インク残量をインクカートリッジ107K,107Fの記憶素子80に書き込む処理を行なうのである(ステップS56)。ここで書き込まれるインク残量は、図11に示したルーチンで演算し、RAM44に記憶した8ビットの値Ieである。インクカートリッジ107K,107Fの記憶素子80へのデータの書き込みの手法については、図6,図7を用いて説明した。インク残量を各第2の記憶領域660、760に記憶させる(書き込む)にあたっては、各インクに対して割り当てられている2つの記憶領域に対して交互に書き込みを行なう。2つの記憶領域のうち、いずれの記憶領域に対する記憶が実行されたかは、例えば、2つの記憶領域の先頭位置にフラグを配し、書き込みが実施された記憶領域のフラグを立てることによって識別し得る。   Then, referring to FIG. 12, a process for saving the 8-bit converted ink remaining amount Ie data to the storage element 80 of the ink cartridges 107K and 107F will be described. As described, the save routine shown in FIG. 12 is started as an interrupt process when a power-down command is output. When this routine is started, it is first determined whether or not the cause of the first interruption is a forced power-off (the above (3)) (step S50). In the case of a forced power-off, since the time allowed is short, steps S51 to S55 described below are skipped, and the process of writing the remaining ink amount into the storage element 80 of the ink cartridges 107K and 107F is performed ( Step S56). The ink remaining amount written here is an 8-bit value Ie calculated in the routine shown in FIG. The method of writing data to the storage element 80 of the ink cartridges 107K and 107F has been described with reference to FIGS. When the ink remaining amount is stored (written) in each of the second storage areas 660 and 760, writing is alternately performed on the two storage areas allocated to each ink. Which storage area of the two storage areas has been executed can be identified by, for example, placing a flag at the head position of the two storage areas and setting the flag of the storage area in which writing has been performed. .

一方、割込の原因が強制的な電源断ではないと判断された場合には、プリンタ1のパネルスイッチ92においてパワースイッチ92aがオフもしくはカートリッジスイッチ92bによりインクカートリッジの交換が指示された場合であると判断できるので、進行中の印刷などのシーケンスを所定単位、例えばラスタの終わりまで実行し、併せてインク残量の演算も行なう(ステップS51)。この処理は、図11に示した処理である。図11に示した処理を実行することにより、演算されたインク残量が、EEPROM90には32ビットのデータとして、他方、RAM44には8ビットのデータとして、それぞれ記憶されることは既に説明した通りである。その後、キャッピング装置108を駆動して印刷ヘッド10にキャッピングを行なった後(ステップS52)、印刷ヘッド10の駆動条件をEEPROM90に記憶させる(ステップS53)。駆動条件とは、例えばヘッドの個体差を補正する駆動信号の電圧値や各色間の補正を行なう補正条件などである。続いて、タイマー値をEEPROM90に記憶させ(ステップS54)、更にコントロールパネルの内容をEEPROM90に記憶させる(ステップS55)。コントロールパネルの内容とは、例えば双方印刷時の着弾点のズレを補正するための調整値などである。以上の処理の後、上述したステップS56の処理、即ち、RAM44に記憶された8ビットのインク残量のデータIeをインクカートリッジ107K、107Fの各記憶素子80の各第2の記憶領域660、760に記憶させる処理を行なう(ステップS56)。   On the other hand, when it is determined that the cause of the interruption is not a forced power interruption, the power switch 92a is turned off in the panel switch 92 of the printer 1 or the replacement of the ink cartridge is instructed by the cartridge switch 92b. Therefore, a sequence such as printing in progress is executed until a predetermined unit, for example, the end of the raster, and the remaining ink amount is also calculated (step S51). This process is the process shown in FIG. By executing the processing shown in FIG. 11, the calculated ink remaining amount is stored as 32-bit data in the EEPROM 90 and as 8-bit data in the RAM 44 as described above. It is. Thereafter, the capping device 108 is driven to perform capping on the print head 10 (step S52), and then the drive conditions of the print head 10 are stored in the EEPROM 90 (step S53). The drive conditions are, for example, voltage values of drive signals for correcting individual differences between heads, correction conditions for correcting between colors, and the like. Subsequently, the timer value is stored in the EEPROM 90 (step S54), and the contents of the control panel are further stored in the EEPROM 90 (step S55). The content of the control panel is, for example, an adjustment value for correcting the deviation of the landing points during both printing. After the above processing, the processing of step S56 described above, that is, the 8-bit ink remaining amount data Ie stored in the RAM 44 is used as the second storage areas 660 and 760 of the storage elements 80 of the ink cartridges 107K and 107F. Is stored (step S56).

図12には示さなかったが、パネルスイッチ92の操作によってこの割込ルーチンが起動された場合には、インク残量の書き込み後、パネルスイッチ92のいずれのスイッチが操作されたかを判定し、電源オフが指示されていれば、電源91に信号を送って主電源の供給をオフにし、インクカートリッジの交換が指示されていれば、キャリッジ101を交換位置まで移動する処理を行なうことは勿論である。   Although not shown in FIG. 12, when this interrupt routine is started by operating the panel switch 92, it is determined which switch of the panel switch 92 has been operated after writing the remaining ink amount, and the power supply If off is instructed, a signal is sent to the power supply 91 to turn off the main power supply. If the ink cartridge replacement is instructed, the carriage 101 is naturally moved to the replacement position. .

(実施例の効果)
以上の処理により、本実施例のプリンタ1およびインクカートリッジ107K,107Fでは、印刷の実行によりインクカートリッジ107K,107F内のインクが消費されると、その都度、インク残量を計算し、プリントコントローラ40内のEEPROM90には、32ビットのデータで、インク残量を記憶すると共に、インク残量を8ビットのデータに換算してRAM44に記憶する。一方、パネルスイッチ92の操作により、電源オフやインクカートリッジの交換などが指示された場合、あるいは強制的に電源が遮断される場合、RAM44に記憶しておいたインク残量の8ビットデータIeを、インクカートリッジ107K,107Fに内蔵された記憶素子80に書き込む。この結果、記憶容量に余裕のあるEEPROM90にはインク残量のデータを高精度で、即ち32ビットで記憶し、消耗品であるインクカートリッジ107K,107Fには、インク残量のデータを、記憶容量の小さい記憶素子80に合わせて小さな容量(実施例では8ビット)で記憶することができる。従って、インクカートリッジ107K,107Fの記憶素子80への書き込みに時間を要しないと言う利点が得られる。この効果は、本実施例のように、プリンタ1ビットずつシリアルアクセスされる記憶素子80を用いている場合には、特に有効である。また、電源が遮断される場合のように、アクセス時間に余裕がない場合には、書き込みデータの容量が小さく、書き込みに時間を要しない利点は大きい。
(Effect of Example)
With the above processing, in the printer 1 and the ink cartridges 107K and 107F of the present embodiment, when the ink in the ink cartridges 107K and 107F is consumed by execution of printing, the ink remaining amount is calculated and the print controller 40 is printed each time. In the EEPROM 90, the ink remaining amount is stored as 32-bit data, and the ink remaining amount is converted into 8-bit data and stored in the RAM 44. On the other hand, when the operation of the panel switch 92 is instructed to turn off the power or replace the ink cartridge, or when the power is forcibly shut off, the remaining 8-bit data Ie stored in the RAM 44 is stored. Then, the data is written in the storage element 80 built in the ink cartridges 107K and 107F. As a result, the remaining amount of ink is stored in the EEPROM 90 having a sufficient storage capacity, that is, 32 bits, and the remaining amount of ink is stored in the ink cartridges 107K and 107F, which are consumables. Can be stored with a small capacity (8 bits in the embodiment) in accordance with the small storage element 80. Therefore, there is an advantage that time is not required for writing into the storage element 80 of the ink cartridges 107K and 107F. This effect is particularly effective when the storage element 80 that is serially accessed bit by bit as in the present embodiment is used. In addition, when there is no access time, such as when the power is shut off, the capacity of the write data is small and the advantage of not requiring time for writing is great.

更に、本実施例では、図13に示す処理を行なうことで、プリントコントローラ40内のEEPROM90に32ビットで記憶されているインク残量Inとインクカートリッジ107K,107Fの記憶素子80に8ビットで記憶されているインク残量Ieを用いて、インクカートリッジ内のインク残量の処理を一層容易かつ信頼性のあるものとしている。図13は、インクカートリッジが交換され、インクカートリッジが装着されたときに実行される処理を示すフローチャートである。この処理は、具体的には、パネルスイッチ92のカートリッジスイッチ92bが操作され、キャリッジ101がインクカートリッジの交換可能位置まで移動し、インクカートリッジが交換された直後に実行される。   Furthermore, in this embodiment, by performing the processing shown in FIG. 13, the remaining amount of ink In stored in 32 bits in the EEPROM 90 in the print controller 40 and the storage element 80 of the ink cartridges 107K and 107F are stored in 8 bits. By using the remaining ink amount Ie, the processing of the remaining ink amount in the ink cartridge is made easier and more reliable. FIG. 13 is a flowchart showing processing executed when the ink cartridge is replaced and the ink cartridge is mounted. Specifically, this process is executed immediately after the cartridge switch 92b of the panel switch 92 is operated, the carriage 101 moves to the ink cartridge replacement position, and the ink cartridge is replaced.

本ルーチンが起動されると、まず装着されたインクカートリッジ107K,107Fの記憶素子80からインク残量のデータIeを読み出す処理を行なう(ステップS70)。その後、インクカートリッジ107K,107Fの記憶素子80内に記憶されているインクカートリッジの装着回数を値1だけインクリメントする処理を行なう(ステップS71)。この処理は、図8,図9に示した装着回数を一旦読み出し、これをインクリメントして記憶素子80の同じ領域に書き戻す処理である。各インクカートリッジにおける装着回数の初期値は値0である。   When this routine is started, first, a process of reading the remaining ink data Ie from the storage element 80 of the installed ink cartridges 107K and 107F is performed (step S70). Thereafter, a process of incrementing the number of times the ink cartridges stored in the storage elements 80 of the ink cartridges 107K and 107F are incremented by 1 (step S71). This process is a process in which the number of times of mounting shown in FIGS. 8 and 9 is read once, incremented, and written back to the same area of the storage element 80. The initial value of the number of mountings in each ink cartridge is 0.

次に、この装着回数が値1であるか否かの判断を行なう(ステップS72)。インクリメントされた後の装着回数が値1であるということは、そのインクカートリッジが初めてプリンタ1に装着されたことを示しているので、この場合には、プリントコントローラ40のEEPROM90に、インク残量として、全量データを書き込む処理を行なう(ステップS73)。全量データとは、インクカートリッジが新品である場合にインクカートリッジに収容されているインク量に対応した値である。一方、装着回数が1回でなければ、そのインクカートリッジは、既に1回以上、プリンタ1に装着されたことがあると判断できるので、一旦取り外されたインクカートリッジがプリンタ1に戻されたのか、あるいは異なるインクカートリッジが装着されたのかを判断するため、ステップS74以下の処理を行なう。即ち、まずEEPROM90に記憶されているインク残量のデータInを読み出し(ステップS74)、これと既に読み出しておいたインクカートリッジ側のインク残量のデータIeとが、8ビット換算で一致するか否かの判断を行なう(ステップS75)。8ビット換算で一致するかの判断は、このプリンタ1が、インク残量の8ビット換算の処理(図11ステップS48)において、32ビットのデータの上位の8ビットのみをインク残量の8ビットデータIeとしている場合には、同様に、EEPROM90から読み出した32ビットのデータの上位8ビットを、インク残量データIeと比較することにより行なえばよい。8ビット換算を、百分率への換算により行なっている場合には、同様に、ステップS75の比較において、百分率への換算を行なってから、比較を行なえばよい。   Next, it is determined whether or not the number of times of mounting is a value 1 (step S72). Since the number of times of mounting after the increment is 1 indicates that the ink cartridge is mounted in the printer 1 for the first time, in this case, the remaining amount of ink is stored in the EEPROM 90 of the print controller 40. Then, a process of writing all data is performed (step S73). The total amount data is a value corresponding to the amount of ink stored in the ink cartridge when the ink cartridge is new. On the other hand, if the number of mountings is not once, it can be determined that the ink cartridge has been mounted in the printer 1 at least once, so whether the removed ink cartridge has been returned to the printer 1 or not. Alternatively, in order to determine whether or not a different ink cartridge is installed, the processing from step S74 is performed. That is, first, the ink remaining amount data In stored in the EEPROM 90 is read (step S74), and whether or not the ink remaining amount data Ie on the ink cartridge side that has already been read matches in 8-bit conversion. Is determined (step S75). Whether the printer 1 matches in 8-bit conversion is determined by the printer 1 in the 8-bit conversion processing of the remaining ink amount (step S48 in FIG. 11), only the upper 8 bits of the 32-bit data are replaced with the remaining 8-bit ink. In the case of the data Ie, similarly, the upper 8 bits of the 32-bit data read from the EEPROM 90 may be compared with the ink remaining amount data Ie. When 8-bit conversion is performed by conversion to a percentage, similarly, the comparison may be performed after performing conversion to a percentage in the comparison in step S75.

両データが8ビットで一致していると判断された場合には、装着されたインクカートリッジは、直前までプリンタ1に装着されていたインクカートリッジであると判断することができるので、この場合には、その後のインク残量のデータを、EEPROM90が記憶していた32ビットのデータとして用いると決定することができる(ステップS76)。他方、両者が一致していないと判断された場合には、もはやEEPROM90内のインク残量のデータを使用することはできないから、インクカートリッジ107K,107F内の記憶素子80に記憶されていたインク残量のデータIeを用いてその後のインク量の管理を行なう。このため、まず8ビットのインク残量のデータIeを、32ビットのインク残量データInに換算する処理を行なう(ステップS77)。この処理は、32ビットのデータを8ビットのデータに換算する処理の逆を行なえば良く、例えば図14(B)に示すように、8ビットのデータIeを最上位のデータとし、残り24ビットをすべて値0としたデータとすれば良い。もとより、インク残量の8ビットデータが百分率を表わしている場合には、記述した式(1)を用いて逆算し、32ビットのデータを求めれることもできる。かかる換算を行なった上で、換算された32ビットのインク残量のデータInを、その後のインク残量の演算に用いると決定し(ステップS78)、EEPROM90の所定の領域に記憶する。   If it is determined that the two data match in 8 bits, the mounted ink cartridge can be determined to be the ink cartridge that has been mounted in the printer 1 until immediately before. Then, it can be determined that the remaining ink remaining data is used as 32-bit data stored in the EEPROM 90 (step S76). On the other hand, if it is determined that the two do not match, the remaining ink data in the EEPROM 90 can no longer be used, so that the remaining ink stored in the storage element 80 in the ink cartridges 107K and 107F can be used. Thereafter, the ink amount is managed using the amount data Ie. For this reason, first, a process of converting 8-bit ink remaining amount data Ie into 32-bit ink remaining amount data In is performed (step S77). This process may be performed by reversing the process of converting 32-bit data into 8-bit data. For example, as shown in FIG. 14B, 8-bit data Ie is the most significant data, and the remaining 24 bits. The data may be all set to 0. Of course, if the 8-bit data of the remaining amount of ink represents a percentage, it is possible to calculate 32-bit data by performing back calculation using the described equation (1). After performing such conversion, it is determined that the converted 32-bit ink remaining amount data In is used for the subsequent calculation of the remaining ink amount (step S78), and is stored in a predetermined area of the EEPROM 90.

以上の処理を行なう本実施例では、インクカートリッジが新たに装着された場合、プリンタ1側のEEPROM90が記憶しているインク残量Inとインクカートリッジ107側の記憶素子80が記憶しているインク残量Ieとの対応を判断し、両者が一致していると判断すれば、EEPROM90に記憶されている32ビットのデータを用いてその後の処理を行なう。従って、一旦取り外したインクカートリッジを再度プリンタ1に戻した場合などでは、インク残量の管理をきわめて高い精度で継続することができる。この結果、例えばインク残量がほとんどなく交換時期が近いこともしくは交換が必要なことを知らせるといった処理を、極めて高精度に行なうことができる。   In the present embodiment in which the above processing is performed, when an ink cartridge is newly installed, the remaining ink level In stored in the EEPROM 90 on the printer 1 side and the remaining ink level stored in the storage element 80 on the ink cartridge 107 side. If the correspondence with the quantity Ie is determined, and it is determined that they match, the subsequent processing is performed using the 32-bit data stored in the EEPROM 90. Therefore, when the once removed ink cartridge is returned to the printer 1 or the like, the management of the remaining amount of ink can be continued with extremely high accuracy. As a result, it is possible to perform processing with extremely high accuracy such as, for example, that there is almost no remaining ink and the replacement time is near or notification that replacement is necessary.

他方、カートリッジが異なるものに交換された場合などであって両者が対応していないと判断された場合には、インクカートリッジ107K,107Fに記憶されたデータIeを用いて、その後のインク残量の管理を行なうことができる。従って、精度はEEPROM90に記憶されたデータほどの精度は得られないものの、カートリッジが交換されても、引き続きインク残量の管理を行なうことができ、例えばインク残量がほとんどなく交換時期が近いこともしくは交換が必要なことを知らせる処理を的確に行なうことができる。   On the other hand, if it is determined that the cartridges have been replaced with different ones and the two are not compatible, the remaining ink level is determined using the data Ie stored in the ink cartridges 107K and 107F. Management can be performed. Accordingly, although the accuracy is not as accurate as the data stored in the EEPROM 90, the remaining amount of ink can be managed even after the cartridge is replaced. For example, there is almost no remaining ink and the replacement time is near. Or the process which notifies that replacement | exchange is required can be performed exactly.

尚、上記実施例では、インク残量Inを算出し、EEPROM90に書き込んだり、8ビット換算を行なってRAM44に書き込んだりするタイミングを、1頁分の印刷が完了したとき(図11ステップS45)としたが、1ラスタごと、あるいは数ラスタの印刷が完了した毎に、換算と書き込みを行なうものとしても良い。あるいは、インク残量の計算(ステップS46)、8ビットデータへの換算(ステップS48)、RAM44への記憶(ステップS49)を、1もしくは数ラスタ毎に行ない、EEPROM90への書き込み(ステップS47)を1頁の印刷完了時に行なうなど、これらの処理の実施を異なるタイミングで行なうものとしても良い。   In the above-described embodiment, the timing of calculating the remaining ink amount In and writing it to the EEPROM 90, or performing 8-bit conversion and writing it to the RAM 44 is the time when printing for one page is completed (step S45 in FIG. 11). However, conversion and writing may be performed for each raster or every time several rasters are printed. Alternatively, the remaining amount of ink is calculated (step S46), converted into 8-bit data (step S48), and stored in the RAM 44 (step S49) for every one or several rasters and written to the EEPROM 90 (step S47). These processes may be performed at different timings such as when one page is printed.

以上説明した本実施例では、プリンタ1側のEEPROM90に記憶するインク残量のデータInのビット数より、インクカートリッジ107K,107Fの記憶素子80に記憶するインク残量のデータIeのビット数を小さくするだけでなく、両者の書き込みのタイミングを異ならせることで次の効果を奏する。即ち、EEPROM90には、1ページの印刷が完了する毎にデータを書き込むのに対して、記憶素子80に対しては、(1) パワースイッチ92bが操作されて電源がオフにされたとき、(2) カートリッジスイッチ92bが操作されてインクカートリッジの交換が指示されたとき、(3) 電源が強制的に遮断されたとき、にしか、書き戻す処理を行なわない。この結果、インク残量のデータは、EEPROM90については高い頻度で更新されるのに対して、記憶素子80についてはこれより低い頻度でしか更新されないのである。このため、記憶素子80に対するインク残量の書き込み回数を制限することできる。この結果、記憶素子80に書き込まれるデータがビット数の少ない8ビットのデータであることと相まって、消耗品としてのインクカートリッジに用いる記憶素子に、書き込みの許容回数および記憶容量の小さい素子を採用することが可能となり、インクカートリッジの単価を一層低減することができる。   In the present embodiment described above, the bit number of the remaining ink data Ie stored in the storage element 80 of the ink cartridges 107K and 107F is smaller than the bit number of the remaining ink data In stored in the EEPROM 90 on the printer 1 side. In addition, the following effects can be achieved by making the writing timings different from each other. That is, data is written to the EEPROM 90 every time printing of one page is completed, whereas (1) when the power switch 92b is operated and the power is turned off for the storage element 80, ( 2) When the cartridge switch 92b is operated to instruct the replacement of the ink cartridge, (3) the rewriting process is performed only when the power supply is forcibly shut off. As a result, the remaining ink data is updated with a high frequency for the EEPROM 90, whereas it is updated with a lower frequency for the storage element 80. For this reason, the number of times of writing the remaining amount of ink to the storage element 80 can be limited. As a result, coupled with the fact that the data to be written in the storage element 80 is 8-bit data with a small number of bits, an element having a small allowable number of writing and a small storage capacity is adopted as the storage element used in the ink cartridge as a consumable. Therefore, the unit price of the ink cartridge can be further reduced.

この様に、記憶素子80へのデータの書き戻しの頻度を制限しても、プリンタ1のEEPROM90には常に最新のインク残量のデータが32ビットで保存されているから、プリンタ1におけるインク残量の監視処理や処理の精度には何ら影響を与えることがない。インク残量の監視処理としては、インク残量が一定以下となった場合に、プリンタ1のパネルスイッチ92に設けられたLEDなどを点滅させたり、コンピュータPCのプリンタドライバにこれを報知してコンピュータPCのディスプレイMT上に警告を表示するといったことが考えられる。プリンタ1は、プリントコントローラ40のEEPROM90に、常に最新のインク残量のデータを保持しているので、いつでもこれを参照して、必要なタイミングでインクエンドなど警告を出力することができる。もとより、ユーティリティソフトなどを立ち上げて、現在のインク残量を棒グラフなどで視覚的に表示する際に、これらのデータを利用しても良い。   In this way, even if the frequency of data writing back to the storage element 80 is limited, the latest ink remaining amount data is always stored in 32 bits in the EEPROM 90 of the printer 1. There is no effect on the amount monitoring process or the accuracy of the process. As the ink remaining amount monitoring process, when the ink remaining amount is below a certain level, the LED provided on the panel switch 92 of the printer 1 is blinked, or this is notified to the printer driver of the computer PC. For example, a warning may be displayed on the display MT of the PC. Since the printer 1 always holds the latest ink remaining amount data in the EEPROM 90 of the print controller 40, the printer 1 can always refer to this and output a warning such as an ink end at a necessary timing. Of course, when the utility software or the like is started and the current ink remaining amount is visually displayed as a bar graph or the like, these data may be used.

以上の説明では、パワーダウン命令が出された場合には、必ずインク残量をインクカートリッジ107K,107Fの記憶素子80に書き込むものとしたが、電源投入から一度も印刷が行なわれていない場合など、インク残量に変更がない場合には、インク残量を書き戻さないものとしてもよい。こうした判断は、専用のフラグを設け、インク残量が変更された場合にフラグを設定するものとし、パワーダウン命令を受け取った直後のこのフラグを読み取ることが、容易に実現することかできる。また、上記の実施例では、記憶素子80に書き込むデータとしてインク残量を例に挙げたが、EEPROM90と記憶素子80とで書き込みの頻度を異ならせるデータとしては、インク残量以外のデータも考えることができる。例えばインクカートリッジの累積的な使用時間のデータやインクカートリッジの使用の態様等のデータなどについても同様に扱うことができる。   In the above description, when a power-down command is issued, the remaining amount of ink is always written in the storage element 80 of the ink cartridges 107K and 107F. However, when printing has never been performed since the power was turned on, etc. If there is no change in the remaining ink amount, the remaining ink amount may not be written back. Such a determination can be easily realized by providing a dedicated flag and setting the flag when the remaining amount of ink is changed, and reading this flag immediately after receiving the power-down command. In the above-described embodiment, the remaining amount of ink is taken as an example of data to be written to the storage element 80. However, data other than the remaining amount of ink is also considered as data for making the writing frequency different between the EEPROM 90 and the storage element 80. be able to. For example, data on the cumulative usage time of the ink cartridge, data on the mode of use of the ink cartridge, and the like can be similarly handled.

また、EEPROM90と記憶素子80への書き込みのタイミングは上記のタイミングに限られるものではなく、例えばEEPROM90に対する書き込みをM回行なう度に1回の割合で記憶素子80に書き込むといった態様も可能である。また、クリーニングスイッチ92cを操作して吸引動作を行なわせた場合には、インク残量が有意に減少することから、吸引動作によるヘッドクリーニングの完了時に、記憶素子80へのデータの書き込みを行なうものとしても良い。更に、記憶素子80への書き込み回数を記憶素子80の所定の領域に書き込んでおき、書き込み回数が多くなるに従って、書き込みのタイミングを減らし、書き込みの頻度を小さくすることも好適である。   In addition, the timing of writing to the EEPROM 90 and the storage element 80 is not limited to the above timing, and for example, a mode in which writing to the storage element 80 is performed once every M times of writing to the EEPROM 90 is possible. Further, when the cleaning switch 92c is operated to perform the suction operation, the remaining amount of ink is significantly reduced. Therefore, when the head cleaning by the suction operation is completed, data is written to the storage element 80. It is also good. Furthermore, it is also preferable to write the number of times of writing to the memory element 80 in a predetermined area of the memory element 80 and reduce the timing of writing and reduce the frequency of writing as the number of times of writing increases.

本形態では、インクカートリッジ107K、107Fのインク種類毎のインク残量データを記憶しているので、各色インク毎に残量を知ることができる。また各色インク毎にインクエンドなどの警告を出力することができる。カラーインクカートリッジ107Fのように、5色のインクを収容しているインクカートリッジでは、インク残量のデータも5種類記憶することになる。インクカートリッジに記憶するデータを8ビットにしているため、記憶容量も8ビット×インク種類数(本実施例では5)ですみ、記憶素子80の記憶容量を徒に増大することがない。かかる効果は、本実施例のように、インク残量のデータを二重化して記憶している場合には、特に大きい。   In this embodiment, ink remaining amount data for each ink type of the ink cartridges 107K and 107F is stored, so that the remaining amount can be known for each color ink. A warning such as ink end can be output for each color ink. Ink cartridges containing five colors of ink, such as the color ink cartridge 107F, store five types of ink remaining amount data. Since the data stored in the ink cartridge is 8 bits, the storage capacity is also 8 bits × the number of ink types (5 in this embodiment), and the storage capacity of the storage element 80 is not increased easily. Such an effect is particularly great when the ink remaining amount data is stored in duplicate as in the present embodiment.

[第2実施例]
次に本発明の第2実施例について説明する。第2実施例は、上述した第1実施例とほぼ同様のプリンタおよびインクカートリッジの構成を備えるが、次の点で第1実施例とは異なっている。即ち、この実施例では、プリンタ1のプリントコントローラ40におけるパラレル入出力インターフェース49とインクカートリッジ107の記憶素子80との間に、専用の制御IC200が設けられている。この制御IC200は、図15に示すように、制御基板205上に、RAM210と共に搭載される。この制御基板205は、図16に示すように、キャリッジ101のカートリッジ装着部18に取り付けられている。記憶素子80と制御基板205との信号のやり取りは、コネクタ286を用いて行なわれる。このコネクタ286は、図示するように、記憶素子80側のみならず、制御基板205側にも接触用のコンタクトピンが設けられており、制御基板205をカートリッジ装着部18の外側の取付部250に装着するだけで、電気的な接続が完了するようになっている。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The second embodiment has the same printer and ink cartridge configuration as the first embodiment described above, but differs from the first embodiment in the following points. That is, in this embodiment, a dedicated control IC 200 is provided between the parallel input / output interface 49 in the print controller 40 of the printer 1 and the storage element 80 of the ink cartridge 107. As shown in FIG. 15, the control IC 200 is mounted on the control board 205 together with the RAM 210. The control board 205 is attached to the cartridge mounting portion 18 of the carriage 101 as shown in FIG. Signal exchange between the storage element 80 and the control board 205 is performed using a connector 286. As shown in the figure, the connector 286 is provided with contact pins for contact not only on the storage element 80 side but also on the control board 205 side, and the control board 205 is attached to the mounting part 250 outside the cartridge mounting part 18. The electrical connection is completed just by mounting.

制御基板205とパラレル入出力インターフェース49とは、4本の信号線で接続されており、制御IC200とプリントコントローラ40とデータ交換は、シリアル通信により行なわれる。具体的には、制御IC200側からみてデータを受け取るための信号線RxD、データを出力するための信号線TxD、プリントコントローラ40側から制御IC200に対して停電時の書き込み要求を出力するパワーダウン信号NMI、信号線RxD,TxDを用いたデータの授受を許可する選択信号SELの4つの信号が、パラレル入出力インターフェース49と制御IC200との間でフレキシブルフラットケーブル(FFC)300を介してやり取りされている。制御部46は、これらの信号を用いて、制御IC200との間で必要なデータのやり取りを行なっているが、制御部46と制御IC200との通信速度は、制御IC200と記憶素子80との間のデータのやり取りの速度と比べて、十分に高速である。なお、パワーダウン信号NMIは、第1実施例と同様に、パネルスイッチ92のパワースイッチ92aやカートリッジスイッチ92bが操作された時、あるいは電源プラグが引き抜かれたりして強制的に電源が遮断された場合に出力される信号である。   The control board 205 and the parallel input / output interface 49 are connected by four signal lines, and data exchange between the control IC 200 and the print controller 40 is performed by serial communication. Specifically, a signal line RxD for receiving data as viewed from the control IC 200 side, a signal line TxD for outputting data, and a power-down signal for outputting a write request at the time of a power failure from the print controller 40 side to the control IC 200 Four signals of a selection signal SEL permitting data exchange using NMI and signal lines RxD and TxD are exchanged between the parallel input / output interface 49 and the control IC 200 via a flexible flat cable (FFC) 300. Yes. The control unit 46 uses these signals to exchange necessary data with the control IC 200, but the communication speed between the control unit 46 and the control IC 200 is between the control IC 200 and the storage element 80. It is sufficiently fast compared to the speed of data exchange. As in the first embodiment, the power-down signal NMI is forcibly cut off when the power switch 92a or the cartridge switch 92b of the panel switch 92 is operated or the power plug is pulled out. In this case, the signal is output.

制御IC200は、二つの記憶素子80に対して個別にデータのやり取りを行なう機能を備える。従って、一つの制御IC200で、黒用のインクカートリッジ107Kとカラー用のインクカートリッジ107Fのそれぞれの記憶素子80との間で、データのやり取りを行なうことができる。図15では、それぞれの記憶素子80に対する信号線を区別するために、図6に示した電源Powerや各信号CS,R/W,I/O,CLKなどのあとに、黒用のインクカートリッジ107Kについては、添え字「1」を、カラー用のインクカートリッジ107Fについては、添え字「2」を、それぞれ付けて区別している。   The control IC 200 has a function of exchanging data individually with respect to the two storage elements 80. Therefore, one control IC 200 can exchange data between the storage elements 80 of the black ink cartridge 107K and the color ink cartridge 107F. In FIG. 15, in order to distinguish the signal lines for the respective storage elements 80, the black ink cartridge 107 </ b> K is placed after the power supply power and the signals CS, R / W, I / O, CLK, etc. shown in FIG. 6. For the color ink cartridge 107F, the subscript “1” is added, and for the color ink cartridge 107F, the subscript “2” is added.

この実施例では、プリンタ1のプリントコントローラ40の制御部46は、インク量に関するデータを、EEPROM90に書き込むだけなく、制御基板205上に設けられたRAM210にも書き込む。制御IC200への書き込みの際、制御部46は、選択信号SELをアクティブにして制御IC200を選択し、信号RxDにデータを乗せて非同期シリアル通信により、制御IC200にインク残量のデータInを書き込む。   In this embodiment, the control unit 46 of the print controller 40 of the printer 1 not only writes data relating to the ink amount into the EEPROM 90 but also writes into the RAM 210 provided on the control board 205. At the time of writing to the control IC 200, the control unit 46 activates the selection signal SEL to select the control IC 200, puts data on the signal RxD, and writes the ink remaining amount data In to the control IC 200 by asynchronous serial communication.

一方、パワースイッチ92aが押されたり、電源が強制的に遮断されたりして、パワーダウン信号NMIが出力されると、プリントコントローラ40はパワーダウン信号NMIを、外部に、従って制御IC200にも出力する。この結果、制御IC200は、パワーダウン信号NMIを受けて、RAM210に記憶していたデータのうち、少なくともそれぞれのインク量に関するデータを、それぞれのインクカートリッジ107K,107Nの記憶素子80に書き込む処理を行なう。制御IC200による記憶素子80への書き込みの手法は、第1実施例と同様にであり、図7に示したように、まずチップセレクト信号CSをアクティブにし、直ちにライト/リード信号W/Rをハイアクティブとして書き込みを選択し、クロック信号CLKに同期して、データDATAを順次出力することにより行なわれる。   On the other hand, when the power switch 92a is pressed or the power supply is forcibly cut off and the power down signal NMI is output, the print controller 40 outputs the power down signal NMI to the outside, and hence to the control IC 200. To do. As a result, the control IC 200 receives the power-down signal NMI and performs a process of writing at least the data relating to the respective ink amounts among the data stored in the RAM 210 to the storage elements 80 of the respective ink cartridges 107K and 107N. . The method of writing to the storage element 80 by the control IC 200 is the same as in the first embodiment. As shown in FIG. 7, first, the chip select signal CS is activated and the write / read signal W / R is immediately set to high. Writing is selected as active, and data DATA is sequentially output in synchronization with the clock signal CLK.

次に、第2実施例におけるインク量に関する処理の実際について説明する。第2実施例では、インクカートリッジのインク量に関する処理は、「インク残量」ではなく、「インク消費量」を用いて行なっている。もとより、第1実施例と同様インク残量により処理することも可能である。図17は、プリントコントローラ40が実行する処理ルーチンを示すフローチャートである。この処理ルーチンは、印刷処理やクリーニングなど、インクカートリッジ内のインク消費量に変動を生じる処理が行なわれたときに実行される。なお、この処理は、インク量が低減する際のみならず、インク量が増加する場合にも実施可能である。例えば、インクカートリッジにインクを充填するといった処置が可能な構成を採用していれば、インク充填の際にも実行することができる。   Next, the actual processing relating to the ink amount in the second embodiment will be described. In the second embodiment, the process related to the ink amount of the ink cartridge is performed using “ink consumption” instead of “ink remaining amount”. Of course, it is also possible to perform processing based on the remaining amount of ink as in the first embodiment. FIG. 17 is a flowchart showing a processing routine executed by the print controller 40. This processing routine is executed when processing that causes fluctuations in ink consumption in the ink cartridge, such as printing processing and cleaning, is performed. This process can be performed not only when the ink amount is reduced but also when the ink amount is increased. For example, if a configuration capable of performing a treatment such as filling the ink cartridge with ink is employed, the ink cartridge can be executed at the time of ink filling.

図17に示した処理ルーチンが開始されると、まず今回の印刷やクリーニングなどの処理によるインク消費量を32ビットのデータで算出する処理を行なう(ステップS110)。次に、今回の処理による消費量と、EEPROM90に記憶しているそれまでの消費量とから、現在の総消費量Ihaを32ビットデータで算出する処理を行なう(ステップS120)。総消費量Ihaを求めると、次にこれをEEPROM90に書き戻す処理を行なう(ステップS130)。以上の処理により、プリントコントローラ40内のEEPROM90には、常に最新のインク総消費量のデータIhaが保存されることになる。   When the processing routine shown in FIG. 17 is started, first, a process of calculating the ink consumption amount by the process such as printing and cleaning with 32-bit data is performed (step S110). Next, a process of calculating the current total consumption Iha as 32-bit data from the consumption of the current process and the previous consumption stored in the EEPROM 90 is performed (step S120). Once the total consumption amount Iha is obtained, a process of writing it back to the EEPROM 90 is performed (step S130). Through the above process, the latest data Iha of the total ink consumption is always stored in the EEPROM 90 in the print controller 40.

次に、インク総消費量Ihaのデータを、8ビットデータIceに換算する処理を行なう(ステップS140)。8ビットデータへの換算は、第1実施例と同様に行なうことができる。続いて、制御部46は、8ビットのデータに換算したインク総消費量Iceを、記憶素子80に書き込むべく、制御IC200に出力する(ステップS150)。   Next, a process of converting the data of the total ink consumption Iha into 8-bit data Ice is performed (step S140). Conversion to 8-bit data can be performed in the same manner as in the first embodiment. Subsequently, the control unit 46 outputs the total ink consumption Ice converted into 8-bit data to the control IC 200 in order to write it in the storage element 80 (step S150).

以上説明した処理によれば、インクカートリッジ107K,107Fの記憶素子80に書き戻されるべきインク総消費量のデータは、記憶素子80との間のデータのやり取りを直接制御する制御IC200を介して制御基板205上のRAM210に記憶されており、制御部46は、インク残量のデータを更新するたびに、このデータを制御IC200を介してRAM210に書き込んでいる。従って、常に最新のデータが制御基板205上のRAM210には用意されていることになる。そして、電源が強制的に遮断されるといった事態となり、パワーダウン信号NMIが出力されると、プリントコントローラ40や制御部46の動作のいかんによらず、RAM210に記憶されたデータは、直ちにインクカートリッジ107K,107Fの記憶素子80に書き込まれる。従って、電源遮断時の制御部46の処理は簡略化され、処理の負担が大幅に低減される。なお、この実施例では、インクカートリッジ107K,Fの記憶素子80へのデータの書き込みをパワーダウン信号NMIを用いて開始するものとしたが、書き込み用の信号線RxDを用いてコマンドを送出することにより、制御IC200によるデータの書き込みを行なわせるものとしても良い。   According to the processing described above, the total ink consumption data to be written back to the storage element 80 of the ink cartridges 107K and 107F is controlled via the control IC 200 that directly controls the exchange of data with the storage element 80. The control unit 46 writes the data to the RAM 210 via the control IC 200 every time the ink remaining amount data is updated. Therefore, the latest data is always prepared in the RAM 210 on the control board 205. When the power supply is forcibly cut off and the power down signal NMI is output, the data stored in the RAM 210 is immediately stored in the ink cartridge regardless of the operation of the print controller 40 and the control unit 46. The data is written in the memory elements 80 of 107K and 107F. Therefore, the processing of the control unit 46 at the time of power-off is simplified, and the processing load is greatly reduced. In this embodiment, data writing to the storage element 80 of the ink cartridges 107K and F is started using the power-down signal NMI. However, a command is sent using the signal line RxD for writing. Thus, data writing by the control IC 200 may be performed.

次に、電源がオンにされたり、カートリッジが交換されて新たなインクカートリッジが装着された場合の処理について説明する。図18は、電源オン、カートリッジ装着時処理ルーチンを示すフローチャートである。図示するように、この処理が開始されると、まず装着されてたインクカートリッジが新品であるか否かを、取付回数により判断する処理を行なう(ステップS200)。これまで一度もプリンタ1に装着されたことのない新品が装着されたと判断された場合には、予め定めた規定値を総消費量Ihaとして定めて、以後の処理に供するものと決定する(ステップS270)。ここで規定値は、通常は総消費量0として定められている。しかし、例えばハーフボトルなどのように、インク収容量が半分のものについては、全消費量の1/2に対応する値などを用いることもできる。装着されたインクカートリッジがハーフボトルであるとか、あるいは出荷時にプリンタ1に同梱されたサービス品(インク収容量が少ないもの)であるか等の判断は、直接インクカートリッジ107K,107Fの記憶素子80に情報を書き込んでおいて判断してもよいが、シリアルナンバーの上位2桁を、そうしたカートリッジの種別の判断に用いるといった対応も可能である。   Next, processing when the power is turned on or a new ink cartridge is installed after the cartridge is replaced will be described. FIG. 18 is a flowchart showing a processing routine when the power is turned on and the cartridge is mounted. As shown in the figure, when this process is started, first, a process is performed to determine whether or not the installed ink cartridge is a new one based on the number of attachments (step S200). If it is determined that a new product that has never been mounted on the printer 1 has been mounted, a predetermined specified value is determined as the total consumption Iha and determined to be used for the subsequent processing (step) S270). Here, the specified value is normally set as a total consumption amount of zero. However, a value corresponding to ½ of the total consumption can be used for a half of the ink storage amount such as a half bottle. Whether the installed ink cartridge is a half-bottle or a service product (a product with a small ink storage capacity) bundled with the printer 1 at the time of shipment is determined directly by the storage element 80 of the ink cartridges 107K and 107F. However, it is possible to use the upper two digits of the serial number for determining the type of cartridge.

装着されたインクカートリッジがその取付回数などから新品ではないと判断された場合には、次にインクカートリッジ107K,107Fの記憶素子80から識別情報としてのシリアルナンバSNを読み出し、このシリアルナンバSNによりEEPROM90内を検索する処理を行なう(ステップS205)。この検索は、図19に示すように、EEPROM90にシリアルナンバSNをインデックスとして用意されたテーブルを参照することにより行なわれる。一度でも装着されたインクカートリッジのシリアルナンバSNは、記憶容量が許す限り、EEPROM90に、インク総消費量と対応づけて登録されている。なお、EEPROM90の記憶容量が一杯になれば、古いデータから順次削除される。   When it is determined that the mounted ink cartridge is not new from the number of times of mounting, the serial number SN as the identification information is read from the storage element 80 of the ink cartridges 107K and 107F, and the EEPROM 90 is read by this serial number SN. Processing for searching the inside is performed (step S205). This search is performed by referring to a table prepared in the EEPROM 90 using the serial number SN as an index, as shown in FIG. The serial number SN of the ink cartridge that has been mounted once is registered in the EEPROM 90 in association with the total ink consumption as long as the storage capacity permits. When the storage capacity of the EEPROM 90 is full, old data is deleted sequentially.

このテーブルを参照することにより、電源オン時にはあっては装着されているカートリッジが、インクカートリッジの交換時にあっては新たに装着されたカートリッジが、このプリンタ1に初めて装着されたインクカートリッジであるか否かの判断を行なうことができる(ステップS210)。インクカートリッジ107K,107Fの記憶素子80から読み出したシリアルナンバがテーブル内に見つかった場合には、初めて装着されたカートリッジではないと判断できるから、この場合には、記憶素子80から、8ビットのインク総消費量のデータIceを読み出し、これを32ビットのインク総消費量の換算データIheに換算する処理をまず行なう(ステップS220)。その後、EEPROM90にもともと32ビットで記憶されていたインク総消費量のデータIhaと、記憶素子80に8ビットで記憶されていたインク総消費量からの換算データIheとを比較し(ステップS230)、両者が対応しているか否かを判断する(ステップS240)。   By referring to this table, whether the cartridge that is installed when the power is turned on or the newly installed cartridge when the ink cartridge is replaced is the ink cartridge that is installed in the printer 1 for the first time. A determination of whether or not can be made (step S210). If the serial number read from the storage element 80 of the ink cartridges 107K and 107F is found in the table, it can be determined that the cartridge is not the first mounted cartridge. In this case, the 8-bit ink is transferred from the storage element 80. First, a process of reading the total consumption data Ice and converting it into 32-bit total ink consumption conversion data Ihe is performed (step S220). Thereafter, the data Iha of the total ink consumption stored originally in the EEPROM 90 in 32 bits and the conversion data Ihe from the total ink consumption stored in 8 bits in the storage element 80 are compared (step S230). It is determined whether or not both correspond (step S240).

かかる比較により、両者が対応していると判断された場合には、インクカートリッジは継続して用いられているか、あるいは一旦はずされた後、そのまま戻されたものであると判断できるので、EEPROM90が記憶していたインク総消費量Ihaを、現在のインク総消費量として扱うことに決定する(ステップS250)。他方、両者が対応していないと判断された場合に、EEPROM90が記憶している総消費量のデータIhaと換算された総消費量のデータIhaのうち、大きい方を、現在のインク総消費量として扱うことに決定する(ステップS260)。ここで、一律にインクカートリッジ107K,107Fの記憶素子80が記憶していたデータを採用するとしていないのは、識別情報であるシリアルナンバSNを用いて、予めインクカートリッジを特定しているからである。このため、換算による誤差等を見込んで、インク総消費量の大きい方を用いるものとすることができる。もとより、インクカートリッジの記憶素子80に記憶されたインク総消費量のデータを優先的に扱うといった対応も可能である。例えば、専用のインク充填機などでインクを充填し、これに合わせてインク総消費量を書き直すといった装置が使用される環境が想定される場合には、インクカートリッジ側の情報を優先する。   If it is determined by the comparison that the two correspond to each other, it can be determined that the ink cartridge has been used continuously or has been removed and then returned to the original state. The stored total ink consumption Iha is determined to be handled as the current total ink consumption (step S250). On the other hand, when it is determined that the two do not correspond to each other, the larger one of the total consumption data Iha and the total consumption data Iha stored in the EEPROM 90 is determined as the current total ink consumption. (Step S260). Here, the reason why the data stored in the storage elements 80 of the ink cartridges 107K and 107F is not uniformly adopted is that the ink cartridge is specified in advance using the serial number SN as identification information. . For this reason, it is possible to use the one having a larger total ink consumption in consideration of an error due to conversion. Of course, it is possible to preferentially handle the data of the total ink consumption stored in the storage element 80 of the ink cartridge. For example, when an environment is used in which an apparatus is used in which ink is filled with a dedicated ink filling machine and the total ink consumption is rewritten accordingly, the information on the ink cartridge side is given priority.

以上の処理の他、図19に例示したテーブルを参照することにより、インクカートリッジ107K,107Fが、初めてこのプリンタ1に装着されたものであると判断された場合には、このインクカートリッジは既にどこかで使用されていたと判断できるので(ステップS200,S210)、この場合には、インクカートリッジ107K,107Fの記憶素子80から8ビットのインク総消費量のデータを読み出し、これを32ビットに換算して、その後のインク総消費量のデータIhaとして用いることに決定する(ステップS280)。   In addition to the above processing, when it is determined that the ink cartridges 107K and 107F are first installed in the printer 1 by referring to the table illustrated in FIG. In this case, 8-bit ink consumption data is read from the storage element 80 of the ink cartridges 107K and 107F, and converted into 32-bit data. Then, it is decided to use it as the data Iha of the total ink consumption thereafter (step S280).

以上、図18を参照して説明した本実施例によれば、第1実施例れ同様に、インクカートリッジ側の記憶素子80に記憶するデータの容量を低減することができる。しかも、識別情報により、装着されるインクカートリッジを特定することができるので、例えば複数のインクカートリッジを取り替えて使用するような場合でも、これを的確に判断し、他で使用されずに再度同じプリンタ1に戻されたインクカートリッジのインク総消費量を、インクカートリッジ側のデータより遙かに高い精度で管理することができる。加えて、例えそれらのインクカートリッジを他のプリンタなどで使用した場合でも、インク総消費量を一定以上の精度で管理することができる。   As described above, according to the present embodiment described with reference to FIG. 18, the capacity of data stored in the storage element 80 on the ink cartridge side can be reduced as in the first embodiment. Moreover, since the identification information can identify the ink cartridge to be mounted, for example, even when a plurality of ink cartridges are replaced and used, this is accurately judged and the same printer is used again without being used elsewhere. The total ink consumption of the ink cartridge returned to 1 can be managed with much higher accuracy than the data on the ink cartridge side. In addition, even when these ink cartridges are used in other printers, the total ink consumption can be managed with a certain level of accuracy.

以上、本発明の実施例について説明したが、本発明のこうした実施例に何ら限定されるものではなく、発明の要旨を逸脱しない範囲内において、例えば、記憶素子80のメモリセル81やEEPROM90に代えて、誘電体メモリ(FROM)を用いる構成など、種々なる態様で実施し得ることは勿論である。   As described above, the embodiments of the present invention have been described. However, the present invention is not limited to these embodiments. For example, the memory cells 81 and the EEPROM 90 of the memory element 80 may be used without departing from the scope of the invention. Of course, the present invention can be implemented in various forms such as a configuration using a dielectric memory (FROM).

さらに、記憶素子80は、インクカートリッジ107の外に露出した構成とすることも差し支えない。記憶素子80が露出して設けられたカラーインクカートリッジ500の一例を図20に示した。このインクカートリッジ500は、ほぼ直方体として形成された容器51にインクを含浸させた多孔質体(図示しない)を収容し、上面を蓋体53により封止されている。容器51の内部には、5色のカラーインクをそれぞれ別個に収容する5つのインク収容部(例えば、インクカートリッジ107Fにおける107C、107LC、107M、107LM、107Y)が区画形成されている。容器51の底面にはホルダに装着されたときにインク供給針に対向する位置にインク供給口54が各インク色に応じて形成されている。また、インク供給口側の垂直壁55の上端には、本体側のレバーの突起に係合する張出部56が一体に形成されている。この張出部56は、壁55の両側に別個に形成されていると共にリブ56aを有している。さらに下面と壁55との間に三角形上のリブ57が形成されている。また、容器51は誤挿入防止用の凹部59を有している。   Further, the storage element 80 may be exposed outside the ink cartridge 107. An example of the color ink cartridge 500 provided with the storage element 80 exposed is shown in FIG. The ink cartridge 500 contains a porous body (not shown) impregnated with ink in a container 51 formed as a substantially rectangular parallelepiped, and has an upper surface sealed with a lid 53. In the container 51, five ink storage portions (for example, 107C, 107LC, 107M, 107LM, and 107Y in the ink cartridge 107F) for separately storing five color inks are partitioned and formed. On the bottom surface of the container 51, ink supply ports 54 are formed corresponding to the respective ink colors at positions facing the ink supply needles when mounted on the holder. Further, an overhanging portion 56 that engages with a protrusion of the lever on the main body side is integrally formed at the upper end of the vertical wall 55 on the ink supply port side. The projecting portion 56 is formed separately on both sides of the wall 55 and has ribs 56a. Further, a triangular rib 57 is formed between the lower surface and the wall 55. The container 51 has a recess 59 for preventing erroneous insertion.

垂直壁55のインク供給口形成側には、それぞれのカートリッジ500の幅方向の中心に位置するように凹部58が形成され、ここに回路基板31が装着されている。回路基板31は本体の接点と対向する面に複数の接点を有し、その裏面には記憶素子が実装されている。さらに、垂直壁55には回路基板31の位置決めをするための突起55a、55b、張出部55c、55dが形成されている。   On the ink supply port forming side of the vertical wall 55, a recess 58 is formed so as to be positioned at the center in the width direction of each cartridge 500, and the circuit board 31 is mounted thereon. The circuit board 31 has a plurality of contacts on the surface facing the contacts of the main body, and a memory element is mounted on the back surface thereof. Further, the vertical wall 55 is formed with protrusions 55a and 55b and overhang portions 55c and 55d for positioning the circuit board 31.

かかるインクカートリッジ500を用いても、回路基板31上に設けられた記憶素子に、上記の実施例同様、インク残量等のデータを、本体側のEEPROMより少ないビット数のデータとして記憶させることができる。   Even when such an ink cartridge 500 is used, data such as the remaining amount of ink can be stored in the storage element provided on the circuit board 31 as data having a smaller number of bits than the EEPROM on the main body side, as in the above embodiment. it can.

さらに、上記各実施例ではカラー・インクとして、マゼンタ、シアン、イエロー、ライトシアン、ライトマゼンタの5色を用いたが他の色の組み合わせ、あるいは、さらに他の色を加えて6色や7色等にした場合にも本発明は適用され得る。また、インクカートリッジがキャリッジ上に装着されるタイプのみならず、インクカートリッジがプリンタ本体100側に固定的に装着される構成も採用可能である。   Further, in each of the above embodiments, five colors of magenta, cyan, yellow, light cyan, and light magenta are used as color inks. However, combinations of other colors, or addition of other colors, six colors, seven colors, etc. In this case, the present invention can be applied. In addition to the type in which the ink cartridge is mounted on the carriage, a configuration in which the ink cartridge is fixedly mounted on the printer main body 100 side can be employed.

本発明の一実施例としてのプリンタ1の要部を示す説明図である。1 is an explanatory diagram illustrating a main part of a printer 1 as an embodiment of the present invention. FIG. 実施例におけるプリンタ1内部構成をプリントコントローラ40を中心に示すブロック図である。FIG. 2 is a block diagram showing an internal configuration of the printer 1 in the embodiment, with a print controller 40 as the center. 印刷ヘッド10におけるノズル開口部23の配列を例示する説明図である。FIG. 3 is an explanatory diagram illustrating the arrangement of nozzle openings in the print head. インクカートリッジおよびカートリッジ搭載部の形状を示す斜視図である。FIG. 6 is a perspective view showing shapes of an ink cartridge and a cartridge mounting portion. インクカートリッジ107がカートリッジ装着部18に搭載された様子を示す断面図である。3 is a cross-sectional view showing a state where an ink cartridge 107 is mounted on a cartridge mounting portion 18. FIG. インクカートリッジ107K,107Fに内蔵の記憶素子の構成を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration of a storage element built in ink cartridges 107K and 107F. 記憶素子80へのデータの書き込みの様子を示す説明図である。FIG. 11 is an explanatory diagram showing how data is written to the storage element 80. 黒用のインクカートリッジ107Kに内蔵の記憶素子80におけるデータ配列を示す説明図である。FIG. 6 is an explanatory diagram showing a data array in a storage element 80 built in a black ink cartridge 107K. カラー用のインクカートリッジ107Fに内蔵の記憶素子80におけるデータ配列を示す説明図である。FIG. 6 is an explanatory diagram showing a data array in a storage element 80 built in a color ink cartridge 107F. プリンタ1のプリントコントローラ40に設けられたEEPROM90におけるデータ配列を示す説明図である。3 is an explanatory diagram showing a data array in an EEPROM 90 provided in a print controller 40 of the printer 1. FIG. インク残量を算出する処理を含む印刷処理ルーチンを示すフローチャートである。6 is a flowchart illustrating a print processing routine including a process for calculating a remaining ink amount. パワーダウン命令が出されたときに割込により実行される退避処理ルーチンを示すフローチャートである。It is a flowchart which shows the save process routine performed by interruption when a power down command is issued. インクカートリッジの装着時に実行される装着時処理ルーチンを示すフローチャートである。6 is a flowchart showing a mounting processing routine executed when an ink cartridge is mounted. 32ビットデータの8ビットデータへの換算の様子を示す説明図である。It is explanatory drawing which shows the mode of conversion to 8-bit data of 32-bit data. 第2実施例において用いられる制御IC200の接続状態を示すブロック図である。It is a block diagram which shows the connection state of control IC200 used in 2nd Example. 第2実施例における制御基板205などの配置を示す説明図である。It is explanatory drawing which shows arrangement | positioning of the control board 205 etc. in 2nd Example. 第2実施例における印刷処理の終了時などに実行される処理の内容を示すフローチャートである。It is a flowchart which shows the content of the process performed at the time of completion | finish of the printing process in 2nd Example. 電源オン時や、カートリッジ装着時に実行される処理の内容を示すフローチャートである。It is a flowchart which shows the content of the process performed at the time of power-on or cartridge mounting. 識別情報としてのシリアルナンバを用いたテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the table using the serial number as identification information. カラーインクカートリッジの他の構成例を示す斜視図である。It is a perspective view which shows the other structural example of a color ink cartridge.

符号の説明Explanation of symbols

1…プリンタ
5…プリントエンジン
10…印刷ヘッド
11…紙送り機構
12…キャリッジ機構
17…圧電振動子
18…カートリッジ装着部
23…ノズル開口部
32…圧力発生室
40…プリントコントローラ
43…インターフェース
44…RAM
44A…受信バッファ
44B…中間バッファ
44C…出力バッファ
45…ROM
46…制御部
47…発振回路
48…駆動信号発生回路
49…パラレル入出力インターフェース
50…素子駆動回路
80…記憶素子
81…メモリセル
82…ライト・リード制御部
83…アドレスカウンタ
90…EEPROM
91…電源
92…パネルスイッチ
92a…パワースイッチ
92b…カートリッジスイッチ
92c…クリーニングスイッチ
95…アドレスデコーダ
100…プリンタ本体
101…キャリッジ
102…タイミングベルト
103…キャリッジモータ
104…ガイド部材
105…印刷用紙
106…紙送りローラ
107K,107F…インクカートリッジ
108…キャッピング装置
109…ワイピング装置
116…紙送りモータ
117K…インク収容室
171…カートリッジ本体
172…側枠部
173…凹部
174…接続端子
175…インク供給部
181…針
182…カートリッジガイド
183…凹部
184…内壁
185…電極
186…コネクタ
187…底部
188…後壁部
189…係合具
191…支持軸
192…固定レバー
193…係止部
200…制御IC
205…制御基板
210…RAM
250…取付部
286…コネクタ
650…第1の記憶領域
660…第2の記憶領域
750…第1の記憶領域
760…第2の記憶領域
DESCRIPTION OF SYMBOLS 1 ... Printer 5 ... Print engine 10 ... Print head 11 ... Paper feed mechanism 12 ... Carriage mechanism 17 ... Piezoelectric vibrator 18 ... Cartridge mounting part 23 ... Nozzle opening part 32 ... Pressure generation chamber 40 ... Print controller 43 ... Interface 44 ... RAM
44A ... Reception buffer 44B ... Intermediate buffer 44C ... Output buffer 45 ... ROM
DESCRIPTION OF SYMBOLS 46 ... Control part 47 ... Oscillation circuit 48 ... Drive signal generation circuit 49 ... Parallel input / output interface 50 ... Element drive circuit 80 ... Memory element 81 ... Memory cell 82 ... Write / read control part 83 ... Address counter 90 ... EEPROM
DESCRIPTION OF SYMBOLS 91 ... Power supply 92 ... Panel switch 92a ... Power switch 92b ... Cartridge switch 92c ... Cleaning switch 95 ... Address decoder 100 ... Printer main body 101 ... Carriage 102 ... Timing belt 103 ... Carriage motor 104 ... Guide member 105 ... Printing paper 106 ... Paper feed Roller 107K, 107F ... Ink cartridge 108 ... Capping device 109 ... Wiping device 116 ... Paper feed motor 117K ... Ink storage chamber 171 ... Cartridge body 172 ... Side frame 173 ... Concave portion 174 ... Connection terminal 175 ... Ink supply unit 181 ... Needle 182 ... cartridge guide 183 ... recess 184 ... inner wall 185 ... electrode 186 ... connector 187 ... bottom part 188 ... rear wall part 189 ... engagement tool 191 ... support shaft 192 ... fixed lever 1 93 ... Locking part 200 ... Control IC
205 ... Control board 210 ... RAM
250 ... Mounting portion 286 ... Connector 650 ... First storage area 660 ... Second storage area 750 ... First storage area 760 ... Second storage area

Claims (17)

インクを収容すると共に書き換え可能な不揮発性メモリを備えたカートリッジが装着可能であり、該カートリッジのインクを印刷媒体に移して印刷を行なう印刷装置であって、
書き換え可能な本体側メモリと、
前記印刷媒体への印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報を、所定ビット数のデータとして、前記本体側メモリに記憶する情報書込手段と、
前記インク量に関する情報を、前記ビット数より少ないビット数のデータであり、かつインク量の割合を示すデータに変換して、前記カートリッジに備えられた不揮発性メモリに書き込むメモリ書込手段と
を備えた印刷装置。
A printing apparatus that can be mounted with a cartridge having a rewritable nonvolatile memory that contains ink, and that performs printing by transferring the ink of the cartridge to a printing medium,
Rewritable main unit memory,
Information writing means for storing, in the main body side memory, information relating to the amount of ink in the cartridge that is consumed when printing on the print medium is performed, as data of a predetermined number of bits;
Memory writing means for converting the information relating to the ink amount into data having a bit number smaller than the bit number and indicating the ratio of the ink amount and writing the data into a nonvolatile memory provided in the cartridge. Printing device.
請求項1記載の印刷装置であって、
電源が投入されたとき、前記本体側メモリに記憶された前記インク量に関する情報と、前記不揮発性メモリに記憶された変換後のデータとの対応関係を判定する判定手段と、
該判定手段により両者が対応していると判定されたとき、前記本体側メモリに記憶された前記ビット数のデータを用いて、その後のインク量に関する処理を行なわせるインク量処理制御手段と
を備える印刷装置。
The printing apparatus according to claim 1,
Determination means for determining a correspondence relationship between the information about the ink amount stored in the main body side memory and the converted data stored in the nonvolatile memory when the power is turned on;
And an ink amount processing control means for performing a process related to the ink amount thereafter using the data of the number of bits stored in the main body side memory when it is determined by the determining means that both correspond to each other. Printing device.
前記本体側メモリは、前記不揮発性メモリより、大容量のメモリである請求項1記載の印刷装置。   The printing apparatus according to claim 1, wherein the main body side memory is a memory having a larger capacity than the nonvolatile memory. 前記本体側メモリは、前記不揮発性メモリより、高速なアクセスが可能なメモリである請求項1記載の印刷装置。   The printing apparatus according to claim 1, wherein the main body side memory is a memory that can be accessed at a higher speed than the nonvolatile memory. 前記メモリ書込手段は、印刷装置の電源オフ時または前記カートリッジの交換時に、前記情報の書込を行なう手段である請求項1記載の印刷装置。 It said memory writing means, was at or power-off the printing apparatus when replacing the cartridge, printing apparatus according to claim 1, wherein the means for writing the information. 前記情報書込手段は、1頁分の印刷が完了した時に前記情報の書込を行なう手段である請求項1記載の印刷装置。   2. The printing apparatus according to claim 1, wherein the information writing means is means for writing the information when printing for one page is completed. 請求項1記載の印刷装置であって、
前記情報書込手段は、1以上のラスタ分の印刷が完了した時に前記情報の書込を行なう手段である印刷装置。
The printing apparatus according to claim 1,
The information writing means is a printing apparatus which is means for writing the information when printing of one or more rasters is completed.
インクを収容すると共に書き換え可能な不揮発性メモリを備えたカートリッジが装着可能であり、該カートリッジのインクを印刷媒体に移して印刷を行なう印刷装置の情報を管理する方法であって、
前記印刷媒体への印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報を、所定ビット数のデータとして、前記印刷装置の本体側に設けられた書き換え可能な本体側メモリに記憶し、
該インク量に関する情報を、前記ビット数より少ないビット数のデータであり、かつインク量の割合を示すデータに変換して、前記カートリッジに備えられた不揮発性メモリに書き込む
情報の管理方法。
A method of managing information on a printing apparatus that accommodates ink and can be mounted with a cartridge having a rewritable non-volatile memory, and transfers the ink of the cartridge to a print medium to perform printing,
Information relating to the amount of ink in the cartridge that is consumed when printing on the printing medium is performed is stored in a rewritable main body side memory provided on the main body side of the printing apparatus as data of a predetermined number of bits. ,
Information management method for converting information relating to the ink amount into data having a smaller number of bits than the number of bits and indicating a ratio of the ink amount and writing the data into a nonvolatile memory provided in the cartridge.
インクを収容すると共に書き換え可能な不揮発性メモリを備え、印刷装置に装着して用いられるカートリッジであって、
前記不揮発性メモリは、印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報が、前記印刷装置側で扱われているビット数より少ないビット数のデータであり、かつインク量の割合を示すデータとして書き込まれる
カートリッジ。
A cartridge that contains ink and contains a rewritable nonvolatile memory, and is used by being mounted on a printing apparatus,
The non-volatile memory is data of the number of bits less than the number of bits handled on the printing apparatus side, and the information about the amount of ink in the cartridge consumed when printing is performed , and the ratio of the amount of ink Cartridge written as data indicating .
請求項9記載のカートリッジであって、
前記不揮発性メモリは、前記印刷装置の電源オフ時または前記カートリッジの交換時に、前記情報が書き込まれるカートリッジ。
The cartridge according to claim 9, wherein
The nonvolatile memory, the printing device was at or power off during replacement of the cartridges, the cartridge in which the information is written.
前記不揮発性メモリはEEPROMである請求項9記載のカートリッジ。   The cartridge according to claim 9, wherein the nonvolatile memory is an EEPROM. 請求項9記載のカートリッジであって、
前記不揮発性メモリは、シリアルアクセスによりデータの授受を行なうタイプのメモリであり、アドレス指定用のクロックに同期して、前記情報が書き込まれるカートリッジ。
The cartridge according to claim 9, wherein
The non-volatile memory is a type of memory that transfers data by serial access, and is a cartridge in which the information is written in synchronization with an addressing clock.
請求項9記載のカートリッジであって、
複数種類のインクを収容するインク収容室を有し、
前記不揮発性メモリは、該インクの種類に応じて前記データが書き込まれる
カートリッジ。
The cartridge according to claim 9, wherein
An ink storage chamber for storing a plurality of types of ink;
The nonvolatile memory is a cartridge in which the data is written according to the type of ink.
請求項13記載のカートリッジであって、
前記インク収容室は、少なくとも異なる3種類のインクを収容する3つ以上に区画され、
前記不揮発性メモリは、前記各インクの量に関連する情報をそれぞれ独立して格納する複数の情報記憶領域を有し、
その複数の情報記憶領域にはそれぞれ2バイト以下の容量が割り当てられている
カートリッジ。
14. The cartridge according to claim 13, wherein
The ink storage chamber is divided into three or more that store at least three different types of ink,
The nonvolatile memory has a plurality of information storage areas for independently storing information related to the amount of each ink,
Each of the plurality of information storage areas is assigned a capacity of 2 bytes or less.
請求項13記載のカートリッジであって、
前記インク収容室は、少なくとも異なる5種類のインクを収容する5つ以上に区画され、
前記不揮発性メモリは、前記各インクの量に関連する情報をそれぞれ独立して格納する複数の情報記憶領域を有し、
その複数の情報記憶領域にはそれぞれ2バイト以下の容量が割り当てられている
カートリッジ。
14. The cartridge according to claim 13, wherein
The ink storage chamber is divided into five or more that store at least five different types of ink,
The nonvolatile memory has a plurality of information storage areas for independently storing information related to the amount of each ink,
Each of the plurality of information storage areas is assigned a capacity of 2 bytes or less.
インクを収容すると共に書き換え可能な不揮発性メモリを備えたカートリッジが装着可能であり、該カートリッジのインクを印刷媒体に移して印刷を行なう印刷装置の情報を扱うプログラムを、コンピュータに読み取り可能に記録した記録媒体であって、
前記印刷媒体への印刷の実行に伴って消費される前記カートリッジ内のインク量に関する情報を、所定ビット数のデータとして、前記印刷装置の本体側に設けられた書き換え可能な本体側メモリに記憶する機能と、
該インク量に関する情報を、前記ビット数より少ないビット数のデータであり、かつインク量の割合を示すデータに変換して、前記カートリッジに備えられた不揮発性メモリに書き込む機能と
をコンピュータにより実現させるプログラムを記録した記録媒体。
A cartridge having a rewritable nonvolatile memory for containing ink can be mounted, and a program for handling information on a printing apparatus that performs printing by transferring the ink of the cartridge to a printing medium is recorded in a computer-readable manner A recording medium,
Information relating to the amount of ink in the cartridge that is consumed when printing on the print medium is performed is stored as data of a predetermined number of bits in a rewritable main body side memory provided on the main body side of the printing apparatus. Function and
The computer realizes a function of converting the information about the ink amount into data having a smaller number of bits than the number of bits and indicating the ratio of the ink amount, and writing the data into the nonvolatile memory provided in the cartridge. A recording medium that records the program.
請求項9記載のカートリッジであって、
前記カートリッジには、前記インクに代えて、印刷用のトナーが収容されており、
前記不揮発性メモリに書き込まれるインク量に関する情報は、トナー量に関する情報である
カートリッジ。
The cartridge according to claim 9, wherein
The cartridge contains printing toner instead of the ink,
The information relating to the amount of ink written to the non-volatile memory is information relating to the amount of toner.
JP2004160862A 1998-11-26 2004-05-31 Printing device and cartridge Expired - Fee Related JP3707494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004160862A JP3707494B2 (en) 1998-11-26 2004-05-31 Printing device and cartridge

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
JP33633198 1998-11-26
JP33633098 1998-11-26
JP36749098 1998-12-24
JP399399 1999-01-11
JP23991599 1999-08-26
JP29602499 1999-10-18
JP2004160862A JP3707494B2 (en) 1998-11-26 2004-05-31 Printing device and cartridge

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002179601A Division JP2003048332A (en) 1998-11-26 2002-06-20 Printer and cartridge

Publications (2)

Publication Number Publication Date
JP2004291645A JP2004291645A (en) 2004-10-21
JP3707494B2 true JP3707494B2 (en) 2005-10-19

Family

ID=27563250

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2002179601A Pending JP2003048332A (en) 1998-11-26 2002-06-20 Printer and cartridge
JP2004160862A Expired - Fee Related JP3707494B2 (en) 1998-11-26 2004-05-31 Printing device and cartridge
JP2009032137A Expired - Fee Related JP4582239B2 (en) 1998-11-26 2009-02-16 Printing device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2002179601A Pending JP2003048332A (en) 1998-11-26 2002-06-20 Printer and cartridge

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2009032137A Expired - Fee Related JP4582239B2 (en) 1998-11-26 2009-02-16 Printing device

Country Status (1)

Country Link
JP (3) JP2003048332A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008087425A (en) * 2006-10-04 2008-04-17 Seiko Epson Corp Coloring agent management device, its control method, its control program and printer

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006192792A (en) * 2005-01-14 2006-07-27 Seiko Epson Corp Ink jet recorder and recording method
JP4687399B2 (en) * 2005-11-07 2011-05-25 セイコーエプソン株式会社 Multiprocessor system and data backup method
JP2010221599A (en) * 2009-03-24 2010-10-07 Fujitsu Component Ltd Printer
JP6150006B2 (en) * 2014-03-14 2017-06-21 セイコーエプソン株式会社 Recording device
WO2015136869A1 (en) * 2014-03-14 2015-09-17 セイコーエプソン株式会社 Recording apparatus
US10108384B1 (en) * 2017-07-14 2018-10-23 Funai Electric Co., Ltd. Apparatus and method for sharing ink dot count information between inkjet printers connected to a network
JP6800821B2 (en) * 2017-08-10 2020-12-16 キヤノン株式会社 Image forming equipment, consumables management methods, and programs
JP7114872B2 (en) * 2017-10-10 2022-08-09 ブラザー工業株式会社 Liquid ejector
JP7264293B2 (en) * 2017-12-27 2023-04-25 ブラザー工業株式会社 Drum cartridge and image forming device
JP7025699B2 (en) * 2018-03-20 2022-02-25 ブラザー工業株式会社 Information processing equipment and computer programs
JP2020034656A (en) * 2018-08-28 2020-03-05 ブラザー工業株式会社 Function execution device and computer program for function execution device
JP7028233B2 (en) * 2019-11-13 2022-03-02 ブラザー工業株式会社 Cartridges and chips for cartridges

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2594912B2 (en) * 1986-02-12 1997-03-26 キヤノン株式会社 Ink cartridge and recording device
DE3880694D1 (en) * 1988-07-25 1993-06-03 Siemens Ag ARRANGEMENT FOR PRINTING DEVICES FOR MONITORING PRESSURE MEDIA CONTAINING PRESSURE MEDIUM.
JPH06103579A (en) * 1992-09-24 1994-04-15 Matsushita Electric Ind Co Ltd Disk reproducing device
JPH06187438A (en) * 1992-12-21 1994-07-08 Tokyo Gas Co Ltd Coordinate data compressing and restoring device
JPH06261337A (en) * 1993-03-05 1994-09-16 Toshiba Corp Digital signal processing circuit and inter-frame arithmetic circuit
JPH08197748A (en) * 1995-01-30 1996-08-06 Copyer Co Ltd Ink jet printer
JP3229509B2 (en) * 1995-02-21 2001-11-19 キヤノン株式会社 Inkjet printing equipment
JPH08224885A (en) * 1995-02-23 1996-09-03 Canon Inc Recorder
JPH08224886A (en) * 1995-02-23 1996-09-03 Canon Inc Ink jet recorder
JPH091823A (en) * 1995-06-23 1997-01-07 Nec Eng Ltd Ink residual amount detection circuit of printer
JP3615873B2 (en) * 1995-07-04 2005-02-02 ペンタックス株式会社 Recompression prohibition control device
JP3697785B2 (en) * 1996-08-05 2005-09-21 セイコーエプソン株式会社 Printer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008087425A (en) * 2006-10-04 2008-04-17 Seiko Epson Corp Coloring agent management device, its control method, its control program and printer

Also Published As

Publication number Publication date
JP4582239B2 (en) 2010-11-17
JP2004291645A (en) 2004-10-21
JP2003048332A (en) 2003-02-18
JP2009101709A (en) 2009-05-14

Similar Documents

Publication Publication Date Title
KR100483882B1 (en) Printer and cartridge
JP4582239B2 (en) Printing device
JP3963777B2 (en) Printer, method for managing printer information, and printer
JP4314702B2 (en) Printing apparatus, writing method, and printer
JP4442711B2 (en) Ink container and printing apparatus using the same
AU771461B2 (en) Ink cartridge and printer using the same
JP2000218818A (en) Ink container and printer using the same
JP2002144603A (en) Ink container and printer using the ink container
JP4488025B2 (en) Ink container and printing apparatus using the same
JP2004243780A (en) Ink-jet recording apparatus and ink container
KR20040099316A (en) Ink cartridge and printer using the same

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050111

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050712

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050725

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080812

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100812

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110812

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120812

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130812

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees