JP7290059B2 - image recorder - Google Patents

image recorder Download PDF

Info

Publication number
JP7290059B2
JP7290059B2 JP2019084941A JP2019084941A JP7290059B2 JP 7290059 B2 JP7290059 B2 JP 7290059B2 JP 2019084941 A JP2019084941 A JP 2019084941A JP 2019084941 A JP2019084941 A JP 2019084941A JP 7290059 B2 JP7290059 B2 JP 7290059B2
Authority
JP
Japan
Prior art keywords
cartridge
tank
chamber
ink
controller
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.)
Active
Application number
JP2019084941A
Other languages
Japanese (ja)
Other versions
JP2020179610A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2019084941A priority Critical patent/JP7290059B2/en
Publication of JP2020179610A publication Critical patent/JP2020179610A/en
Application granted granted Critical
Publication of JP7290059B2 publication Critical patent/JP7290059B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、カートリッジが装着されてカートリッジから消費材が流通するタンクを備える画像記録装置に関する。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording apparatus having a tank in which a cartridge is mounted and consumables are distributed from the cartridge.

カートリッジが装着されてカートリッジから消費材の一例としての液体が流通するタンクを備える画像記録装置が、知られている(例えば、特許文献1参照)。このような画像記録装置では、カートリッジに貯留された液体が無くなると、タンクに貯留された液体が消費されている間に、新たなカートリッジがタンクに装着される。これにより、新たなカートリッジからタンクへ液体が供給される。 2. Description of the Related Art An image recording apparatus is known that includes a tank in which a cartridge is mounted and liquid, which is an example of a consumable material, circulates from the cartridge (see, for example, Japanese Laid-Open Patent Publication No. 2002-100003). In such an image recording apparatus, when the liquid stored in the cartridge runs out, a new cartridge is attached to the tank while the liquid stored in the tank is being consumed. This supplies liquid from a new cartridge to the tank.

特開2017-213754号公報JP 2017-213754 A

複数のカートリッジが装着可能な画像記録装置において、複数のカートリッジがまとめて購入されることがある。複数の新たなカートリッジがユーザの元にあると、液体が無くなったカートリッジが交換されるときに、未だ液体が残っているカートリッジも一緒に交換されるおそれがある。特に、所定期間に印刷可能な限度枚数が設定されており、その限度枚数の範囲内であれば、新たなカートリッジの購入に課金がされない契約が、ユーザとサービス提供者との間で締結されている態様においては、サービス提供者は、タンク内の液体が無くなるより前に、新たなカートリッジをユーザに提供することがある。そして、新たなカートリッジについて課金がされないユーザは、未だ液体が残っているカートリッジを交換しても、経済的な損失が生じない。しかしながら、液体が残っているカートリッジが交換されて廃棄されることは、液体に無駄が生じるので、望ましくない。 In an image recording apparatus in which a plurality of cartridges can be installed, a plurality of cartridges may be purchased together. If a user has a plurality of new cartridges, there is a risk that when the cartridge that has run out of liquid is replaced, the cartridge that still contains liquid will also be replaced. In particular, a limit number of sheets that can be printed in a predetermined period is set, and a contract is concluded between the user and the service provider that does not charge for the purchase of a new cartridge within the range of the limit number of sheets. In some embodiments, the service provider may provide the user with a new cartridge before the liquid in the tank is exhausted. A user who is not charged for a new cartridge will not suffer any economic loss even if he or she replaces a cartridge that still contains liquid. However, it is not desirable to replace and discard cartridges that still have liquid in them because the liquid is wasted.

本発明は、前述された事情に鑑みてなされたものであり、その目的は、カートリッジ内に残したまま交換されることで無駄となる液体を低減する手段を提供することにある。 SUMMARY OF THE INVENTION The present invention has been made in view of the circumstances described above, and an object thereof is to provide means for reducing the amount of liquid that is wasted due to replacement while the liquid remains in the cartridge.

本明細書では様々な開示を行う。開示例の画像記録装置は、消費材を貯留する第1室、及び上記第1室内の消費材が流出する第1流出口を有する第1カートリッジと接続可能なタンクであって、消費材を貯留する第3室、及び接続された上記第1カートリッジの上記第1流出口から流出した消費材が流入する第1流入口を有する第1タンクと、消費材を貯留する第2室、及び上記第2室内の消費材が流出する第2流出口を有する第2カートリッジと接続可能なタンクであって、消費材を貯留する第4室、及び接続された上記第2カートリッジの上記第2流出口から流出した消費材が流入する第2流入口を有する第2タンクと、コントローラと、を備える。上記コントローラは、上記第1タンクに接続された上記第1カートリッジの上記第1室に貯留されている消費材が無くなったこと又は第1閾値より少なくなったことを検知し、上記第1タンクに接続された上記第1カートリッジの上記第1室に貯留されている消費材が無くなったこと又は第1閾値より少なくなったことを検知した後の所定タイミングにおいて、上記第2カートリッジの上記第2室に貯留されている消費材が第2閾値より少ないか否かを判定し、上記第2室に貯留されている消費材が第2閾値より少ないと判定した場合、上記第4室に貯留可能な消費材の貯留量である限界貯留量を増加する。 Various disclosures are made herein. The image recording apparatus of the disclosed example is a tank connectable to a first cartridge having a first chamber for storing consumables and a first outlet through which the consumables in the first chamber flow out. and a first tank having a first inlet into which consumables flowing out from the first outlet of the connected first cartridge flow; a second chamber for storing the consumables; A tank connectable to a second cartridge having a second outlet through which the consumables in the two chambers flow out, the fourth chamber storing the consumables and the second outlet of the connected second cartridge. A second tank having a second inlet into which discharged consumables flow, and a controller. The controller detects that the consumable stored in the first chamber of the first cartridge connected to the first tank is exhausted or less than a first threshold, and the consumable is stored in the first tank. The second chamber of the second cartridge at a predetermined timing after it is detected that the consumables stored in the first chamber of the connected first cartridge are exhausted or less than the first threshold value. is less than the second threshold, and if it is determined that the amount of consumables stored in the second chamber is less than the second threshold, the consumables that can be stored in the fourth chamber Increase the critical storage amount, which is the storage amount of consumables.

第1室に貯留された消費材の残量又は第3室に貯留された消費材の残量の少なくとも一方が、第1閾値より少ないと判定されたことにより、ユーザが第1カートリッジを交換することが想定される。第2室の残量が、第2閾値より少ないと判定されると、第4室に貯留可能な消費材の限界貯留量が増加するので、第2室の印刷材が第4室に移動する。これにより、ユーザが、第1カートリッジとともに第2カートリッジを交換しても、交換された第2カートリッジに残っている消費材の残量を少なくできる。 The user replaces the first cartridge when it is determined that at least one of the remaining amount of the consumables stored in the first chamber and the remaining amount of the consumables stored in the third chamber is less than the first threshold value. is assumed. When it is determined that the remaining amount in the second chamber is less than the second threshold value, the limit storage amount of consumable materials that can be stored in the fourth chamber increases, so the printing material in the second chamber moves to the fourth chamber. . As a result, even if the user replaces the second cartridge together with the first cartridge, it is possible to reduce the amount of consumables remaining in the replaced second cartridge.

本発明によれば、カートリッジ内に残したまま交換されることで無駄となる液体を低減できる。 According to the present invention, it is possible to reduce the amount of liquid that is wasted due to replacement while remaining in the cartridge.

図1は、実施形態に係るプリンタ10の機能ブロック図である。FIG. 1 is a functional block diagram of a printer 10 according to an embodiment. 図2(A)は、カバー22が閉じられた状態のプリンタ10の斜視図であり、図2(B)は、カバー22が開かれた状態のプリンタ10の斜視図である。2A is a perspective view of the printer 10 with the cover 22 closed, and FIG. 2B is a perspective view of the printer 10 with the cover 22 opened. 図3は、プリンタ10の模式的な断面図である。FIG. 3 is a schematic cross-sectional view of the printer 10. As shown in FIG. 図4は、ポンプ87及びバルブ88の動作を示す説明図である。4A and 4B are explanatory diagrams showing the operation of the pump 87 and the valve 88. FIG. 図5は、メイン処理のフローチャートである。FIG. 5 is a flowchart of main processing. 図6(A)は、報知処理のフローチャートであり、図6(B)は、CTG交換処理のフローチャートである。FIG. 6A is a flow chart of notification processing, and FIG. 6B is a flow chart of CTG exchange processing. 図7は、変形例1における通知処理のフローチャートである。FIG. 7 is a flowchart of notification processing in Modification 1. FIG. 図8は、待機画面を示す図である。FIG. 8 is a diagram showing a standby screen. 図9は、変形例2における動作を示す説明図である。FIG. 9 is an explanatory diagram showing the operation in Modification 2. As shown in FIG. 図10は、変形例3における動作を示す説明図である。10A and 10B are explanatory diagrams showing the operation in Modification 3. FIG.

以下、本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。また、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。 Embodiments of the present invention will be described below. It should be noted that the embodiment described below is merely an example of the present invention, and it goes without saying that the embodiment of the present invention can be modified as appropriate without changing the gist of the present invention. Also, the execution order of each process to be described later can be changed as appropriate without changing the gist of the present invention.

本実施形態では、図1及び図2に示されるプリンタ10を説明する。なお、図1に示される情報処理装置11及び駆動モータ86については、変形例1及び変形例2において説明する。 In this embodiment, the printer 10 shown in FIGS. 1 and 2 will be described. Note that the information processing device 11 and the drive motor 86 shown in FIG. 1 will be described in Modifications 1 and 2. FIG.

[プリンタ10]
プリンタ10は、図2に示されるように、筐体20と、筐体20に保持されるパネルユニット21、カバー22、給紙トレイ23、及び排紙トレイ24と、を備える。
[Printer 10]
The printer 10 includes a housing 20, a panel unit 21 held by the housing 20, a cover 22, a paper feed tray 23, and a paper discharge tray 24, as shown in FIG.

パネルユニット21は、パネル本体41と、パネル本体41に保持されたタッチパネル42及び複数の操作スイッチ45と、を備える。パネル本体41は、矩形板状であり、筐体20の一面に取り付けられている。以下では、プリンタ10が水平面に載置された状態において、パネル本体41が位置する筐体20の一面を前面として前後方向8を定義し、鉛直方向に沿う方向を上下方向7として説明する。また、プリンタ10を前方から見た場合の左右を左右方向9として定義して説明する。前後方向8及び左右方向9は、水平面と平行であって、かつ上下方向7とそれぞれ直交しており、さらにかつ、互いに直交している。 The panel unit 21 includes a panel body 41 , and a touch panel 42 and a plurality of operation switches 45 held by the panel body 41 . The panel main body 41 has a rectangular plate shape and is attached to one surface of the housing 20 . In the following description, when the printer 10 is placed on a horizontal surface, one surface of the housing 20 on which the panel body 41 is positioned is defined as the front-rear direction 8 , and the vertical direction is defined as the up-down direction 7 . Further, left and right when the printer 10 is viewed from the front is defined as a left and right direction 9 for description. The front-rear direction 8 and the left-right direction 9 are parallel to the horizontal plane, perpendicular to the vertical direction 7, and also perpendicular to each other.

タッチパネル42は、図1に示されるように、画像を表示する表示パネル43と、表示パネル43に重畳された透明な膜状のタッチセンサ44と、を有する。タッチセンサ44は、ユーザがタッチした表示パネル43における位置を示す位置情報を出力する。タッチパネル42の表示パネル43及びタッチセンサ44は、ケーブルなどによって、後述のコントローラ51(図1)と接続されている。コントローラ51は、表示パネル43に画像データを出力して表示パネル43に画像を表示させる。また、コントローラ51は、タッチセンサ44が出力した位置情報を受け付ける。なお、タッチセンサ44と操作スイッチ45との一方のみがパネルユニット21に設けられていてもよい。 The touch panel 42 has, as shown in FIG. 1 , a display panel 43 that displays an image, and a transparent film-like touch sensor 44 superimposed on the display panel 43 . The touch sensor 44 outputs position information indicating the position on the display panel 43 touched by the user. The display panel 43 and the touch sensor 44 of the touch panel 42 are connected to a later-described controller 51 (FIG. 1) by a cable or the like. The controller 51 outputs image data to the display panel 43 and causes the display panel 43 to display an image. The controller 51 also receives the position information output by the touch sensor 44 . Note that only one of the touch sensor 44 and the operation switch 45 may be provided on the panel unit 21 .

給紙トレイ23は、図2に示されるように筐体20の下部に位置しており、着脱可能に筐体20に保持されている。排紙トレイ24は、筐体20の下部であって、給紙トレイ23の上に位置しており、給紙トレイ23或いは筐体20に保持されている。 The paper feed tray 23 is positioned below the housing 20 as shown in FIG. 2 and is detachably held by the housing 20 . The paper discharge tray 24 is positioned below the housing 20 and above the paper feed tray 23 and is held by the paper feed tray 23 or the housing 20 .

カバー22は、筐体20の前面の右部に位置しており、回動可能に筐体20に保持されている。カバー22は、筐体20の右部に設けられた開口を閉塞する閉塞位置と、開口を開放する開放位置との間で回動する。装着ユニット30が、開口の奥に配置されており、筐体20に保持されている。装着ユニット30は、カートリッジ13を着脱自在に保持する。詳しくは、後述する。 The cover 22 is positioned on the front right portion of the housing 20 and is rotatably held by the housing 20 . The cover 22 rotates between a closed position for closing an opening provided on the right side of the housing 20 and an open position for opening the opening. A mounting unit 30 is arranged at the back of the opening and held by the housing 20 . The mounting unit 30 detachably holds the cartridge 13 . Details will be described later.

カバー22の開閉を検出するカバーセンサ46(図1)が筐体20に取り付けられている。カバーセンサ46は、例えば、発光ダイオード及びフォトダイオードを有するフォトインタラプタである。カバー22は、閉塞位置において発光ダイオードの光路上に位置し、開放位置において当該光路上から外れる不図示の検出片を有する。カバーセンサ46は、カバー22が閉塞位置にある場合と、開放位置にある場合とで異なる検出信号を出力する。以下では、カバーセンサ46は、カバー22が閉塞位置にある場合に第1検出信号を出力し、カバー22が開放位置にある場合に第2検出信号を出力するものとして説明する。なお、カバーセンサ46は、押圧部を有するタクトスイッチなどの機械スイッチなどであってもよい。その場合、カバー22は、検出片に代えて、閉塞位置において上記押圧部を押圧する突出片を有する。 A cover sensor 46 (FIG. 1) that detects opening and closing of the cover 22 is attached to the housing 20 . The cover sensor 46 is, for example, a photointerrupter having a light emitting diode and a photodiode. The cover 22 has a detection piece (not shown) positioned on the optical path of the light emitting diode at the closed position and out of the optical path at the open position. The cover sensor 46 outputs different detection signals depending on whether the cover 22 is in the closed position or in the open position. In the following description, the cover sensor 46 outputs a first detection signal when the cover 22 is in the closed position, and outputs a second detection signal when the cover 22 is in the open position. Note that the cover sensor 46 may be a mechanical switch such as a tact switch having a pressing portion. In that case, the cover 22 has a protruding piece that presses the pressing portion in the closed position instead of the detecting piece.

カバーセンサ46は、ケーブルなどによって後述のコントローラ51(図1)と接続されている。すなわち、カバーセンサ46が出力する検出信号は、コントローラ51に入力される。コントローラ51は、カバーセンサ46から入力した検出信号が第1検出信号であるか第2検出信号であるかにより、カバー22が開かれているか、閉じられているかを判断する。 The cover sensor 46 is connected to a later-described controller 51 (FIG. 1) by a cable or the like. That is, the detection signal output by the cover sensor 46 is input to the controller 51 . The controller 51 determines whether the cover 22 is open or closed depending on whether the detection signal input from the cover sensor 46 is the first detection signal or the second detection signal.

筐体20は、図3に示される印刷エンジン40を内部に保持する。印刷エンジン40は、給紙ローラ25、搬送ローラ26、排紙ローラ27、プラテン28、及び記録ユニット29を備える。給紙ローラ25は、給紙トレイ23に載置されたシート6に当接可能に、筐体20内に設けられた不図示のフレームに保持されている。給紙ローラ25は、不図示のモータによって回転される。回転する給紙ローラ25は、シート6を搬送路37に送り出す。搬送路37は、不図示のガイド部材によって区画された空間である。図示例では、搬送路37は、給紙トレイ23の後端から給紙トレイ23の上方となる位置まで湾曲して延びており、次いで、前方に向かって延びている。 The housing 20 internally holds the print engine 40 shown in FIG. The print engine 40 includes a paper feed roller 25 , a transport roller 26 , a paper discharge roller 27 , a platen 28 and a recording unit 29 . The paper feed roller 25 is held by a frame (not shown) provided inside the housing 20 so as to be able to come into contact with the sheet 6 placed on the paper feed tray 23 . The paper feed roller 25 is rotated by a motor (not shown). The rotating paper feed roller 25 feeds the sheet 6 to the conveying path 37 . The transport path 37 is a space defined by a guide member (not shown). In the illustrated example, the transport path 37 extends curvedly from the rear end of the paper feed tray 23 to a position above the paper feed tray 23, and then extends forward.

搬送ローラ26は、シート6の搬送向きにおける給紙トレイ23の下流に位置している。搬送ローラ26は、従動ローラ35とともにローラ対を構成している。搬送ローラ26は、不図示のモータによって回転される。回転する搬送ローラ26及び従動ローラ35は、給紙ローラ25によって搬送路37に送り出されたシート6を挟持しつつ搬送する。排紙ローラ27は、シート6の搬送向きにおける搬送ローラ26の下流に位置している。排紙ローラ27は、従動ローラ36とともにローラ対を構成している。排紙ローラ27は、不図示のモータによって回転される。回転する排紙ローラ27及び従動ローラ36は、シート6を挟持しつつ搬送し、排紙トレイ24に排出する。プラテン28は、前後方向8における搬送ローラ26と排紙ローラ27との間であって、シート6の搬送向きにおける搬送ローラ26の下流、かつ排紙ローラ27の上流に位置している。 The transport roller 26 is positioned downstream of the paper feed tray 23 in the direction in which the sheet 6 is transported. The conveying roller 26 forms a roller pair together with the driven roller 35 . The transport roller 26 is rotated by a motor (not shown). The conveying roller 26 and the driven roller 35 that rotate nip and convey the sheet 6 sent out to the conveying path 37 by the paper feeding roller 25 . The discharge roller 27 is located downstream of the transport roller 26 in the transport direction of the sheet 6 . The discharge roller 27 forms a roller pair together with the driven roller 36 . The discharge roller 27 is rotated by a motor (not shown). The rotating paper discharge rollers 27 and driven rollers 36 convey the sheet 6 while nipping it, and discharge it to the paper discharge tray 24 . The platen 28 is positioned between the transport roller 26 and the discharge roller 27 in the front-rear direction 8 , downstream of the transport roller 26 and upstream of the discharge roller 27 in the transport direction of the sheet 6 .

記録ユニット29は、プラテン28の上方に位置している。記録ユニット29は、フレームの一部であるガイドレールによって左右方向9に移動可能に保持されていてもよいし、フレームに固定されていてもよい。すなわち、プリンタは、いわゆるシリアルプリンタであってもよいし、いわゆるラインプリンタであってもよい。 The recording unit 29 is positioned above the platen 28 . The recording unit 29 may be held movably in the left-right direction 9 by guide rails that are part of the frame, or may be fixed to the frame. That is, the printer may be a so-called serial printer or a so-called line printer.

記録ユニット29は、ヘッド31を有する。ヘッド31は、インクが流通する流路を内部に有する。当該流路は、チューブ32によって、後述のサブタンク72の内部空間と連通されている。すなわち、チューブ32を通じて、サブタンク72が貯留するインクが記録ユニット29のヘッド31に供給される。ヘッド31は、圧電素子やヒータなどである駆動素子を有している。駆動素子は、上述の流路に設けられている。圧電素子は、直流電圧を供給されることにより変形し、流路の開口であるノズルからインク滴を吐出させる。ヒータは、直流電圧を供給されることによりインクを突沸させ、ノズルからインク滴を吐出させる。 The recording unit 29 has a head 31 . The head 31 has therein a channel through which ink flows. The channel communicates with the internal space of a sub-tank 72 to be described later by a tube 32 . That is, the ink stored in the sub-tank 72 is supplied to the head 31 of the recording unit 29 through the tube 32 . The head 31 has drive elements such as piezoelectric elements and heaters. A drive element is provided in the flow path described above. The piezoelectric element is deformed by being supplied with a DC voltage, and ejects an ink droplet from a nozzle, which is an opening of the flow path. When supplied with a DC voltage, the heater causes the ink to boil and eject ink droplets from the nozzle.

装着ユニット30は、図2に示されるように、筐体20に保持された装着ケース71を備えている。装着ケース71は、複数のカートリッジ13を着脱可能に保持する。図示例では、装着ケース71は、4つのカートリッジ13を着脱可能に保持している。4つのカートリッジ13は、例えば、マゼンタ、シアン、イエロー、ブラックの色のインクのうちの1つの色のインクをそれぞれ貯留する。すなわち、プリンタ10は、いわゆるカラーのインクジェットプリンタである。ただし、装着ケース71は、インクではなく、トナーを収容する複数のカートリッジを着脱可能に保持してもよい。すなわち、プリンタ10は、いわゆるカラーのレーザプリンタであってもよい。インク及びトナーは、消費材の一例である。 The mounting unit 30 includes a mounting case 71 held by the housing 20, as shown in FIG. The mounting case 71 detachably holds a plurality of cartridges 13 . In the illustrated example, the mounting case 71 detachably holds four cartridges 13 . The four cartridges 13 each store ink of one color among magenta, cyan, yellow, and black inks, for example. That is, the printer 10 is a so-called color inkjet printer. However, the mounting case 71 may detachably hold a plurality of cartridges containing toner instead of ink. That is, the printer 10 may be a so-called color laser printer. Ink and toner are examples of consumables.

図3に示されるように、1つのカートリッジ13と対応付けて、1つのサブタンク72、1つのポンプ87、1つのバルブ88、1つの液面センサ33、1つのカートリッジI/F74、1つのニードル75、及び1つの流路部材70からなる1つのセットが設けられている。すなわち、4つの上記セットが装着ケース71に設けられている。各セットの構成は略同一であるので、以下では、1つのセットについて説明する。 As shown in FIG. 3, one sub-tank 72, one pump 87, one valve 88, one liquid level sensor 33, one cartridge I/F 74, and one needle 75 are associated with one cartridge 13. , and one channel member 70 are provided. That is, the four sets are provided in the mounting case 71 . Since the configuration of each set is substantially the same, one set will be described below.

カートリッジI/F74は、端子である。「I/F」は、インタフェースの略である。カートリッジI/F74は、装着ケース71に装着されたカートリッジ13が有するICチップ14の不図示の電極と当接する位置に設けられている。カートリッジI/F74は、不図示のケーブルによって、後述のコントローラ51と接続されている。なお、カートリッジI/F74は、アンテナや、発光ダイオード及びフォトダイオードなどであってもよい。すなわち、カートリッジI/F74は、電波や光を用いて後述のICチップ14と情報やデータを送受信してもよい。 Cartridge I/F 74 is a terminal. "I/F" is an abbreviation for interface. The cartridge I/F 74 is provided at a position in contact with an electrode (not shown) of the IC chip 14 of the cartridge 13 mounted in the mounting case 71 . The cartridge I/F 74 is connected to the later-described controller 51 by a cable (not shown). Note that the cartridge I/F 74 may be an antenna, a light emitting diode, a photodiode, or the like. That is, the cartridge I/F 74 may transmit and receive information and data to and from the IC chip 14, which will be described later, using radio waves or light.

ニードル75は、装着ケース71に保持されている。ニードル75の一端は、装着ケース71に装着されたカートリッジ13に設けられた流出口16に挿通されている。すなわち、ニードル75の一端は、カートリッジ13の内部空間に位置する。ニードル75の他端は、ポンプ87と接続されている。すなわち、ニードル75を通じて、カートリッジ13に貯留されたインクがポンプ87に流出する。また、ニードル75は、装着ケース71の下端近傍に設けられている。すなわち、ニードル75の一端は、装着ケース71に装着されたカートリッジ13の内底面の近傍に位置する。ニードル75の一端がカートリッジ13の内底面の近傍に位置することにより、カートリッジ13に残留して印刷に使用できないインクの量が低減する。 The needle 75 is held by the mounting case 71 . One end of the needle 75 is inserted through the outflow port 16 provided in the cartridge 13 mounted in the mounting case 71 . That is, one end of the needle 75 is located inside the internal space of the cartridge 13 . The other end of needle 75 is connected to pump 87 . That is, ink stored in the cartridge 13 flows out to the pump 87 through the needle 75 . Further, the needle 75 is provided near the lower end of the mounting case 71 . That is, one end of the needle 75 is positioned near the inner bottom surface of the cartridge 13 mounted in the mounting case 71 . Locating one end of the needle 75 near the inner bottom surface of the cartridge 13 reduces the amount of ink that remains in the cartridge 13 and cannot be used for printing.

ポンプ87は、例えばチューブポンプやインペラを有するポンプなどである。ポンプ87は、駆動されることにより、カートリッジ13に貯留されたインクを流路部材70を通じてサブタンク72に移動させる。詳しくは後述する。 The pump 87 is, for example, a tube pump or a pump having an impeller. The pump 87 is driven to move the ink stored in the cartridge 13 to the sub-tank 72 through the flow path member 70 . Details will be described later.

ポンプ87は、流路部材70によってサブタンク72と接続されている。流路部材70は、チューブやパイプなどである。流路部材70の一端は、ポンプ87と接続されている。流路部材70の他端は、サブタンク72と接続されている。 The pump 87 is connected to the sub-tank 72 by the channel member 70 . The flow path member 70 is a tube, pipe, or the like. One end of the channel member 70 is connected to the pump 87 . The other end of the channel member 70 is connected to the sub-tank 72 .

バルブ88が、流路部材70に設けられている。バルブ88は、ソレノイドを有する電磁弁であってもよいし、モータなどによって開閉される機械式の開閉弁であってもよい。ソレノイド或いはモータは、後述のコントローラ51と接続されている。コントローラ51は、ソレノイドやモータの駆動回路に駆動信号を入力することにより、バルブ88を開閉させる。バルブ88が開かれることにより、サブタンク72の内部空間とカートリッジ13の内部空間とが連通される。 A valve 88 is provided in the channel member 70 . The valve 88 may be an electromagnetic valve having a solenoid, or may be a mechanical open/close valve that is opened and closed by a motor or the like. The solenoid or motor is connected to a controller 51, which will be described later. The controller 51 opens and closes the valve 88 by inputting a drive signal to a solenoid or motor drive circuit. By opening the valve 88, the internal space of the sub-tank 72 and the internal space of the cartridge 13 are communicated.

サブタンク72は、筐体20に保持されている。サブタンク72は、内部空間である液室79にインクを貯留する。一のサブタンク72は、第1タンクの一例である。一のサブタンク72の液室79は、第3室の一例である。他の一のサブタンク72は、第2タンクの一例である。他の一のサブタンク72の液室79は、第4室の一例である。 The sub-tank 72 is held by the housing 20 . The sub-tank 72 stores ink in a liquid chamber 79, which is an internal space. One sub-tank 72 is an example of a first tank. The liquid chamber 79 of one sub-tank 72 is an example of a third chamber. Another sub-tank 72 is an example of a second tank. A liquid chamber 79 of another sub-tank 72 is an example of a fourth chamber.

サブタンク72は、上下方向7に沿って延びる箱状の上部76と、前後方向8に沿って延びる箱状の下部77と、を有する。前後方向8における下部77の前端は、上部76の下端と連結している。 The sub-tank 72 has a box-shaped upper portion 76 extending along the vertical direction 7 and a box-shaped lower portion 77 extending along the front-rear direction 8 . A front end of the lower portion 77 in the front-rear direction 8 is connected to a lower end of the upper portion 76 .

上述の流路部材70の他端は、下部77の前壁に設けられた流入口34に挿通されている。一のサブタンク72の流入口34は、第1流入口の一例である。他の一のサブタンク72の流入口34は、第2流入口の一例である。 The other end of the flow path member 70 described above is inserted through the inlet 34 provided in the front wall of the lower portion 77 . The inlet 34 of one sub-tank 72 is an example of a first inlet. The inlet 34 of the other sub-tank 72 is an example of a second inlet.

上部76は、大気連通口78を上壁に有する。大気連通口78は、サブタンク72の内部空間と外部とを連通する。すなわち、サブタンク72の内部空間は、大気開放されている。また、詳しくは後述するが、カートリッジ13の内部空間も大気開放されている。ヘッド31からインクが吐出されると、チューブ32の内部空間が大気圧よりも低い負圧となる。そうすると、大気圧により、サブタンク72の内部空間からチューブ32へインクが流出する。サブタンク72からチューブ32へインクが流出すると、サブタンク72に貯留されたインクの液面が低下する。そうすると、大気圧により、サブタンク72に貯留されたインクの液面と、カートリッジ13に貯留されたインクの液面との高さ位置がほぼ等しくなるように、カートリッジ13に貯留されたインクが、ニードル75及び流路部材70を通じてサブタンク72の内部空間に流出する。 The upper portion 76 has an atmospheric vent 78 in its upper wall. The atmosphere communication port 78 communicates the internal space of the sub-tank 72 with the outside. That is, the internal space of the sub-tank 72 is open to the atmosphere. Further, the internal space of the cartridge 13 is also open to the atmosphere, although details will be described later. When the ink is ejected from the head 31, the internal space of the tube 32 becomes a negative pressure lower than the atmospheric pressure. Then, the ink flows out from the internal space of the sub-tank 72 to the tube 32 due to the atmospheric pressure. When the ink flows out from the sub-tank 72 to the tube 32, the liquid level of the ink stored in the sub-tank 72 is lowered. Then, the ink stored in the cartridge 13 is pushed by the needle so that the level of the ink stored in the sub-tank 72 and the level of the ink stored in the cartridge 13 are approximately equal to each other due to the atmospheric pressure. It flows out into the internal space of the sub-tank 72 through 75 and the flow path member 70 .

なお、カートリッジ13から流入したインクが大気連通口78から溢れないように、上部76の上端は、装着ケース71に装着されたカートリッジ13の上端よりも高い位置、或いは、ほぼ同じ高さ位置とされている。 In order to prevent the ink flowing from the cartridge 13 from overflowing from the air communication port 78, the upper end of the upper portion 76 is positioned higher than or substantially at the same height as the upper end of the cartridge 13 mounted in the mounting case 71. ing.

下部77の上端は、上述のニードル75の配置位置よりも僅かに高い位置にある。また、下部77の下端は、装着ケース71に装着されたカートリッジ13の下端よりも下方に位置する。したがって、カートリッジ13が空になった直後において、サブタンク72はインクを貯留する。すなわち、プリンタ10は、カートリッジ13が空になった後も、サブタンク72が貯留するインクを用いて印刷を行うことができる。ユーザは、カートリッジ13が空になった後から、サブタンク72に貯留されたインクを使い切るまでの間に、空になったカートリッジ13を新しいカートリッジ13に交換する。すなわち、サブタンク72が設けられることにより、プリンタ10は、インクが無くなって印刷できなくなるおそれを低減することができる。なお、カートリッジ13が空になった状態とは、カートリッジ13に貯留されていたインクが完全に無くなった状態、又は、カートリッジ13からサブタンク72にインクが移動しない程度までインクが無くなった状態を意味する。 The upper end of the lower portion 77 is at a position slightly higher than the arrangement position of the needle 75 described above. Also, the lower end of the lower portion 77 is located below the lower end of the cartridge 13 mounted in the mounting case 71 . Therefore, immediately after the cartridge 13 is emptied, the sub-tank 72 stores ink. That is, the printer 10 can print using the ink stored in the sub-tank 72 even after the cartridge 13 is empty. The user replaces the empty cartridge 13 with a new cartridge 13 after the cartridge 13 becomes empty until the ink stored in the sub-tank 72 is used up. That is, by providing the sub-tank 72, the printer 10 can reduce the possibility that the printer 10 will run out of ink and become unable to print. The state in which the cartridge 13 is empty means the state in which the ink stored in the cartridge 13 has completely run out, or the state in which the ink has run out to such an extent that the ink does not move from the cartridge 13 to the sub-tank 72 . .

液面センサ33は、例えば、発光ダイオード及びフォトダイオードを有するフォトインタラプタである。発光ダイオードとフォトダイオードとは、サブタンク72の左右両側に対向して配置されている。すなわち、発光ダイオードが出射する光の光路上にサブタンク72が位置する。サブタンク72は、例えば、光を透過する透明な樹脂で成型された樹脂成型品である。液面センサ33は、光路上にインクがある場合と、インクがない場合とで、異なる電圧値の信号を出力する。以下では、液面センサ33は、光路上にインクがある場合に第1検出信号を出力し、光路上にインクがない場合に第2検出信号を出力するものとして説明する。液面センサ33の構成は、上述の構成に限られない。液面センサ33は、インクの量や液面の位置に応じた検出信号を出力可能であれば、どのような構成であってもよい。 The liquid level sensor 33 is, for example, a photointerrupter having a light emitting diode and a photodiode. The light-emitting diode and the photodiode are arranged on both left and right sides of the sub-tank 72 so as to face each other. That is, the sub tank 72 is positioned on the optical path of the light emitted by the light emitting diode. The sub-tank 72 is, for example, a resin molded product molded with a transparent resin that transmits light. The liquid level sensor 33 outputs a signal with a different voltage value depending on whether there is ink on the optical path or when there is no ink. In the following description, the liquid level sensor 33 outputs a first detection signal when there is ink on the optical path, and outputs a second detection signal when there is no ink on the optical path. The configuration of the liquid level sensor 33 is not limited to the configuration described above. The liquid level sensor 33 may have any configuration as long as it can output a detection signal corresponding to the amount of ink and the position of the liquid level.

上下方向7における液面センサ33の配置位置は、上下方向7における上述のニードル75の高さ位置と同じ高さ位置とされている。すなわち、液面センサ33が出力する検出信号は、サブタンク72が貯留するインクの液面がニードル75に到達したときに、第1検出信号から第2検出信号に変化する。 The arrangement position of the liquid level sensor 33 in the vertical direction 7 is the same as the height position of the needle 75 in the vertical direction 7 . That is, the detection signal output by the liquid level sensor 33 changes from the first detection signal to the second detection signal when the liquid level of the ink stored in the sub-tank 72 reaches the needle 75 .

液面センサ33は、ケーブルなどによってコントローラ51と接続されている。すなわち、液面センサ33が出力する検出信号は、コントローラ51に入力される。コントローラ51は、液面センサ33から入力した検出信号により、サブタンク72が貯留するインクの液面がニードル75に到達したか否かを判断することができる。すなわち、コントローラ51は、液面センサ33から入力した検出信号により、カートリッジ13が空になったか否かを判断することができる。 The liquid level sensor 33 is connected to the controller 51 by a cable or the like. That is, the detection signal output by the liquid level sensor 33 is input to the controller 51 . The controller 51 can determine whether the liquid level of the ink stored in the sub-tank 72 has reached the needle 75 based on the detection signal input from the liquid level sensor 33 . That is, the controller 51 can determine whether or not the cartridge 13 is empty based on the detection signal input from the liquid level sensor 33 .

カートリッジ13は、インクを貯留する内部空間を有する箱状である。カートリッジ13は、内部空間である液室18においてインクを貯留する。一のカートリッジ13は、第1カートリッジの一例である。一のカートリッジ13の液室18は、第1室の一例である。他の一のカートリッジ13は、第2カートリッジの一例である。他の一のカートリッジ13の液室18は、第2室の一例である。 The cartridge 13 is box-shaped and has an internal space for storing ink. The cartridge 13 stores ink in a liquid chamber 18, which is an internal space. The one cartridge 13 is an example of a first cartridge. The liquid chamber 18 of one cartridge 13 is an example of a first chamber. Another cartridge 13 is an example of a second cartridge. The liquid chamber 18 of the other cartridge 13 is an example of the second chamber.

カートリッジ13は、ニードル75の一端が挿通される流出口16を側壁の下端部に有する。一のカートリッジ13の流出口16は、第1流出口の一例である。他の一のカートリッジ13の流出口16は、第2流出口の一例である。 The cartridge 13 has an outlet 16 at the lower end of the side wall, through which one end of the needle 75 is inserted. The outflow port 16 of one cartridge 13 is an example of a first outflow port. The outflow port 16 of the other cartridge 13 is an example of a second outflow port.

カートリッジ13は、大気連通口17を上壁に有する。すなわち、カートリッジ13の内部空間は、大気開放されている。また、カートリッジ13は、ICチップ14を備える。図示例では、ICチップ14は、カートリッジ13の上面に取り付けられている。ICチップ14は、端子であるカートリッジI/F74と当接する不図示の電極と、当該電極と電気的に接続されたICメモリ15(図1)と、を有する。なお、ICチップ14は、電極に代えて、アンテナや、発光ダイオード及びフォトダイオードなどを有していてもよい。 The cartridge 13 has an air communication port 17 on its upper wall. That is, the internal space of the cartridge 13 is open to the atmosphere. The cartridge 13 also has an IC chip 14 . In the illustrated example, the IC chip 14 is attached to the upper surface of the cartridge 13 . The IC chip 14 has an electrode (not shown) in contact with the cartridge I/F 74, which is a terminal, and the IC memory 15 (FIG. 1) electrically connected to the electrode. The IC chip 14 may have an antenna, a light emitting diode, a photodiode, etc. instead of the electrodes.

図1に示されるように、ICメモリ15は、カートリッジ情報を記憶する。カートリッジ情報は、カートリッジ13の型番や、種別情報や、初期残量値や、CTGシリアル番号などである。種別情報は、例えば、ノーマルカートリッジであるか大容量カートリッジであるかを示す情報や、貯留するインクが顔料インクであるか染料インクであるかを示すインク種別情報や、貯留するインクの色を示す色情報などを含む。初期残量値は、未使用のときにカートリッジ13が貯留するインクの量を示す値である。CTGシリアル番号は、カートリッジ13を他のカートリッジ13と区別する識別情報である。CTGシリアル番号は、カートリッジ13が交換されたか否かの判断に用いられる。詳しくは、後述する。なお、「CTG」は、「cartridge」の略である。 As shown in FIG. 1, the IC memory 15 stores cartridge information. The cartridge information includes the model number of the cartridge 13, type information, initial remaining amount value, CTG serial number, and the like. The type information is, for example, information indicating whether the cartridge is a normal cartridge or a large-capacity cartridge, ink type information indicating whether the stored ink is pigment ink or dye ink, and indicates the color of the stored ink. Including color information, etc. The initial remaining amount value is a value indicating the amount of ink stored in the cartridge 13 when not in use. The CTG serial number is identification information that distinguishes the cartridge 13 from other cartridges 13 . The CTG serial number is used to determine whether the cartridge 13 has been replaced. Details will be described later. Note that "CTG" is an abbreviation for "cartridge".

プリンタ10は、図1に示されるコントローラ51と、通信I/F47と、をさらに備える。通信I/F47は、通信回線12と接続される。通信回線12は、例えば、有線LAN(Local Area Networkの略)(登録商標)や無線LANなどのローカルネットワークと、当該ローカルネットワークと不図示のルータを介して接続されたインターネットとである。 Printer 10 further includes controller 51 and communication I/F 47 shown in FIG. Communication I/F 47 is connected to communication line 12 . The communication line 12 is, for example, a local network such as a wired LAN (abbreviation for Local Area Network) (registered trademark) or a wireless LAN, and the Internet connected to the local network via a router (not shown).

コントローラ51は、中央演算処理装置であるCPU52と、メモリ53と、通信バス54と、を有する。CPU52、メモリ53、カバーセンサ46、タッチパネル42、操作スイッチ45、ポンプ87、バルブ88、通信I/F47、液面センサ33、及びカートリッジI/F74は、通信バス54と接続されている。すなわち、CPU52は、通信バス54を通じて、メモリ53、カバーセンサ46、タッチパネル42、操作スイッチ45、駆動モータ86、通信I/F47、液面センサ33、及びカートリッジI/F74と情報やデータや信号を受け渡し可能に接続されている。 The controller 51 has a CPU 52 as a central processing unit, a memory 53 and a communication bus 54 . The CPU 52 , memory 53 , cover sensor 46 , touch panel 42 , operation switch 45 , pump 87 , valve 88 , communication I/F 47 , liquid level sensor 33 and cartridge I/F 74 are connected to communication bus 54 . That is, the CPU 52 exchanges information, data, and signals with the memory 53, the cover sensor 46, the touch panel 42, the operation switch 45, the drive motor 86, the communication I/F 47, the liquid level sensor 33, and the cartridge I/F 74 via the communication bus 54. Connected to be passable.

メモリ53は、ROM55と、RAM56と、EEPROM57と、を有する。ROM55は、オペレーティングシステムであるOS58と、制御プログラム59と、を予め記憶する。OS58及び制御プログラム59に記述された命令は、CPU52によって実行される。すなわち、OS58及び制御プログラム59は、CPU52によって実行される。CPU52によって実行されるOS58及び制御プログラム59は、表示パネル43に画像を表示させ、タッチセンサ44や操作スイッチ45を通じてユーザの入力を受け付ける。また、CPU52によって実行されるOS58及び制御プログラム59は、通信I/F47やカートリッジI/F74を通じて情報やデータを送受信し、受信した情報やデータをメモリ53に記憶させる。 The memory 53 has a ROM 55 , a RAM 56 and an EEPROM 57 . The ROM 55 stores in advance an OS 58 that is an operating system and a control program 59 . Instructions written in the OS 58 and the control program 59 are executed by the CPU 52 . That is, the OS 58 and control program 59 are executed by the CPU 52 . The OS 58 and the control program 59 executed by the CPU 52 display images on the display panel 43 and receive user input through the touch sensor 44 and the operation switches 45 . Also, the OS 58 and the control program 59 executed by the CPU 52 transmit and receive information and data through the communication I/F 47 and the cartridge I/F 74 and store the received information and data in the memory 53 .

制御プログラム59は、単一のプログラムであってもよいし、複数のモジュールからなるプログラムであってもよい。制御プログラム59は、例えば、UIモジュール、通信モジュール、及び印刷制御モジュールを有する。各モジュールは、いわゆるマルチタスク処理により、疑似的に並行して実行される。UIモジュールは、画像データを表示パネル43に入力して、アイコンなどのオブジェクトを含む画像を表示パネル43に表示させ、タッチセンサ44や操作スイッチ45が出力する信号を受け付けるプログラムである。通信モジュールは、通信I/F47が接続される通信回線の通信プロトコルにしたがって情報やデータを送受信するプログラムである。印刷制御モジュールは、印刷データに基づいて、上述のモータの駆動回路やヘッド31が有する駆動素子の駆動回路に入力する駆動信号を生成して出力するプログラムである。 The control program 59 may be a single program or a program composed of multiple modules. The control program 59 has, for example, a UI module, a communication module, and a print control module. Each module is pseudo-parallelly executed by so-called multitasking. The UI module is a program that inputs image data to the display panel 43 , displays images including objects such as icons on the display panel 43 , and receives signals output from the touch sensor 44 and the operation switches 45 . A communication module is a program which transmits/receives information and data according to the communication protocol of the communication line to which communication I/F47 is connected. The print control module is a program that generates and outputs a drive signal to be input to the drive circuit of the motor and the drive circuit of the drive element of the head 31 based on the print data.

RAM56は、OS58及び制御プログラム59の実行に用いられ、また、OS58及び制御プログラム59の実行において、情報やデータを一時的に記憶する。EEPROM57は、固定貯留値や、MACアドレス(不図示)や、シリアル番号(不図示)や、エンプティ閾値(不図示)や、判断閾値などを予め記憶する。また、EEPROM57は、装着ケース71に装着されたカートリッジ13のICチップ14のICメモリ15から読み出したCTGシリアル番号や、算出した初期貯留値などを記憶する。詳しくは後述する。 The RAM 56 is used for executing the OS 58 and the control program 59, and temporarily stores information and data when the OS 58 and the control program 59 are executed. The EEPROM 57 preliminarily stores fixed storage values, MAC addresses (not shown), serial numbers (not shown), empty thresholds (not shown), determination thresholds, and the like. The EEPROM 57 also stores the CTG serial number read from the IC memory 15 of the IC chip 14 of the cartridge 13 mounted in the mounting case 71, the calculated initial storage value, and the like. Details will be described later.

以下、制御プログラム59が実行する処理について説明する。具体的には、印刷においてインクが使用されたことに応じて制御プログラム59が実行するメイン処理等の処理について説明する。なお、以下では、制御プログラム59が実行する処理は、コントローラ51が実行する処理として説明する。 Processing executed by the control program 59 will be described below. Specifically, processing such as main processing executed by the control program 59 when ink is used in printing will be described. In addition, below, the processing executed by the control program 59 will be described as processing executed by the controller 51 .

コントローラ51は、図5に示されるメイン処理を実行する。コントローラ51は、まず、印刷指示を取得したか否かを判断する(S11)。印刷指示は、例えば、通信回線12を通じて、パーソナルコンピュータからプリンタ10に入力される。或いは、印刷指示は、タッチパネル42や操作スイッチ45によってプリンタ10に入力される。フローチャートには示されていないが、印刷指示ともに印刷データがプリンタ10に入力される。印刷データは、上述のパーソナルコンピュータからプリンタ10に入力され、或いは、プリンタ10に装着されたUSBメモリなどの可搬記憶媒体からプリンタ10に入力される。 The controller 51 executes the main processing shown in FIG. The controller 51 first determines whether or not a print instruction has been acquired (S11). A print instruction is input from a personal computer to the printer 10 via the communication line 12, for example. Alternatively, the print instruction is input to the printer 10 via the touch panel 42 or the operation switch 45 . Although not shown in the flow chart, print data is input to the printer 10 together with a print instruction. The print data is input to the printer 10 from the personal computer described above, or input to the printer 10 from a portable storage medium such as a USB memory attached to the printer 10 .

コントローラ51は、印刷指示を取得していないと判断すると(S11:No)、報知処理を実行する(S28)。報知処理については後述する。コントローラ51は、印刷指示を取得したと判断すると(S11:Yes)、インクエンプティフラグの値が「ON」であるか「OFF」であるかを判断する(S12)。インクエンプティフラグは、初期値を「OFF」として、後述のステップS26において「ON」とされ、カートリッジ13が交換されたことによって「OFF」とされるフラグである。インクエンプティフラグは、印刷を継続できない程度までインクの残量が低下したとコントローラ51が判断した場合に、ステップS26において「ON」にされる。インクエンプティフラグは、マゼンタ、シアン、イエロー、ブラックの各色に対してそれぞれ設定される。 When the controller 51 determines that the print instruction has not been acquired (S11: No), it executes notification processing (S28). The notification processing will be described later. When the controller 51 determines that the print instruction has been acquired (S11: Yes), it determines whether the value of the ink empty flag is "ON" or "OFF" (S12). The ink empty flag has an initial value of "OFF", is turned "ON" in step S26 described later, and is turned "OFF" when the cartridge 13 is replaced. The ink empty flag is turned "ON" in step S26 when the controller 51 determines that the remaining amount of ink has decreased to such an extent that printing cannot be continued. An ink empty flag is set for each color of magenta, cyan, yellow, and black.

コントローラ51は、インクエンプティフラグの値が「ON」であると判断すると(S12:ON)、報知処理を実行し(S28)、メイン処理を終了する。すなわち、インクエンプティフラグの値が「ON」であって、サブタンク72にもインクがない場合、印刷は実行されない。なお、コントローラ51は、マゼンタ、シアン、イエロー、ブラックに対して設定されたインクエンプティフラグのうちの1つでも「ON」であると判断すると(S12:ON)、印刷を実行しない。 When the controller 51 determines that the value of the ink empty flag is "ON" (S12: ON), it executes notification processing (S28) and ends the main processing. That is, if the value of the ink empty flag is "ON" and there is no ink in the sub-tank 72, printing will not be executed. Note that when the controller 51 determines that even one of the ink empty flags set for magenta, cyan, yellow, and black is "ON" (S12: ON), it does not execute printing.

コントローラ51は、インクエンプティフラグの値が「OFF」であると判断すると(S12:OFF)、液面センサ33が出力する検出信号を取得する(S13)。ステップS13でコントローラ51が取得する検出信号は、印刷を実行する前と後とで液面センサ33が出力する検出信号が変化したか否かの判断に用いられる。詳しくは後述する。 When the controller 51 determines that the value of the ink empty flag is "OFF" (S12: OFF), it acquires a detection signal output by the liquid level sensor 33 (S13). The detection signal acquired by the controller 51 in step S13 is used to determine whether the detection signal output by the liquid level sensor 33 has changed between before and after printing. Details will be described later.

次に、コントローラ51は、印刷処理を実行する(S14)。具体的には、取得した印刷データに基づいて駆動信号を生成し、生成した駆動信号を出力する。コントローラ51が出力した駆動信号は、ヘッド31の駆動素子を駆動する駆動回路や、給紙ローラ25や搬送ローラ26や排紙ローラ27を回転させる上述のモータの駆動回路に入力される。すなわち、シート6が搬送され、搬送されたシート6にインクが吐出され、インクの吐出によって画像が記録されたシート6が排紙トレイ24に排出される。 Next, the controller 51 executes print processing (S14). Specifically, a drive signal is generated based on the acquired print data, and the generated drive signal is output. A drive signal output from the controller 51 is input to a drive circuit for driving the drive elements of the head 31 and a drive circuit for the above-described motors for rotating the paper feed roller 25 , the transport roller 26 and the paper discharge roller 27 . That is, the sheet 6 is conveyed, ink is ejected onto the conveyed sheet 6 , and the sheet 6 on which an image is recorded by the ink ejection is ejected to the paper ejection tray 24 .

フローチャートには示されていないが、コントローラ51は、ヘッド31の駆動素子を駆動する駆動回路に対して出力した駆動信号に基づいて、駆動素子を駆動した回数、すなわち、インク滴が吐出された回数をカウントする。以下では、インク滴が吐出された回数をインクドットカウント値と記載して説明する。インクドットカウント値は、印刷に使用されたインクの量を示す。なお、コントローラ51は、マゼンタ、シアン、イエロー、ブラックの各色に対して、インクドットカウント値をそれぞれカウントする。 Although not shown in the flowchart, the controller 51 determines the number of times the drive elements are driven, that is, the number of times ink droplets are ejected, based on the drive signal output to the drive circuit that drives the drive elements of the head 31. to count. In the following description, the number of times ink droplets are ejected is referred to as an ink dot count value. The ink dot count value indicates the amount of ink used for printing. Note that the controller 51 counts the ink dot count value for each color of magenta, cyan, yellow, and black.

コントローラ51は、カウントしたインクドットカウント値を、メモリ53のEEPROM57の所定の記憶領域に記憶された値に加えて積算する(S15)。以下では、EEPROM57の所定の記憶領域に記憶された値を、総カウント値と記載して説明する。総カウント値は、後述のCTG交換処理(図6(B))のステップS45においてリセットされる。すなわち、総カウント値は、カートリッジ13が交換された後において使用されたインクの総量を示す。なお、コントローラ51は、不図示のメンテナンス機構が有するポンプによってヘッド31からインクが吸引され場合にも、吸引されたインクの量をインクドットカウント値に換算して、総カウント値に加える。 The controller 51 adds the counted ink dot count value to the value stored in the predetermined storage area of the EEPROM 57 of the memory 53 (S15). Hereinafter, the value stored in the predetermined storage area of the EEPROM 57 will be described as the total count value. The total count value is reset in step S45 of the CTG exchange process (FIG. 6B), which will be described later. That is, the total count value indicates the total amount of ink used after the cartridge 13 is replaced. Note that even when ink is sucked from the head 31 by a pump of a maintenance mechanism (not shown), the controller 51 converts the amount of sucked ink into an ink dot count value and adds it to the total count value.

次に、コントローラ51は、液面センサ33が出力する検出信号が、印刷の前後において変化したか否かを判断する(S16)。すなわち、ステップS16では、印刷においてインクが使用されたことにより、インクの液面が、液面センサ33が設置された高さ位置まで低下したか否かを判断する。具体的には、コントローラ51は、印刷の実行後、液面センサ33が出力する検出信号を取得し、取得した検出信号と、ステップS13で取得した検出信号とを比較する。コントローラ51は、ステップS13で第1検出信号を取得し、印刷の実行後に第2検出信号を取得したと判断すると(S16:Yes)、総カウント値をリセットする(S17)。すなわち、カートリッジ13が交換された場合に加え、インクの液面が液面センサ33の設置位置に到達した場合にも、総カウント値がリセットされる。 Next, the controller 51 determines whether the detection signal output by the liquid level sensor 33 has changed before and after printing (S16). That is, in step S16, it is determined whether or not the level of the ink has decreased to the height position where the level sensor 33 is installed due to the use of the ink in printing. Specifically, the controller 51 acquires the detection signal output by the liquid level sensor 33 after executing printing, and compares the acquired detection signal with the detection signal acquired in step S13. The controller 51 acquires the first detection signal in step S13, and when determining that the second detection signal has been acquired after executing printing (S16: Yes), resets the total count value (S17). That is, the total count value is reset not only when the cartridge 13 is replaced but also when the ink level reaches the installation position of the liquid level sensor 33 .

次に、コントローラ51は、CTGエンプティフラグを「ON」にする(S18)。具体的には、コントローラ51は、CTGエンプティフラグとして設定されたEEPROM57の所定の記憶領域に「ON」の値を記憶させる。次に、コントローラ51は、確認フラグの値を「ON」にする(S19)。確認フラグについては後述する。なお、CTGエンプティフラグ及び確認フラグは、マゼンタ、シアン、イエロー、ブラックの各色についてそれぞれ設定されている。コントローラ51は、ステップS19の処理の実行後、次に印刷を実行するページである次ページがあるか否かを判断する(S27)。コントローラ51は、次ページがあると判断すると(S27:Yes)、ステップS12以降の処理を再度実行する。 Next, the controller 51 turns the CTG empty flag "ON" (S18). Specifically, the controller 51 stores the value "ON" in a predetermined storage area of the EEPROM 57 set as the CTG empty flag. Next, the controller 51 sets the value of the confirmation flag to "ON" (S19). The confirmation flag will be described later. A CTG empty flag and a confirmation flag are set for each color of magenta, cyan, yellow, and black. After executing the process of step S19, the controller 51 determines whether or not there is a next page, which is the page to be printed next (S27). When the controller 51 determines that there is a next page (S27: Yes), the process after step S12 is executed again.

コントローラ51は、ステップS13で第1検出信号を取得し、印刷の実行後に第1検出信号を取得したと判断し、或いはステップS13で第2検出信号を取得し、印刷の実行後に第2検出信号を取得したと判断すると(S16:No)、印刷の実行後に液面センサ33が出力した検出信号が第1検出信号であるか第2検出信号であるかを判断する(S20)。コントローラ51は、印刷の実行後に液面センサ33が出力した検出信号が第1検出信号であると判断すると(S20:第1検出信号)、インクの残量を算出するステップS21、S22の処理を実行する。すなわち、カートリッジ13にインクが残っている場合、ステップS21、S22の処理が実行される。具体的に説明すると、まず、コントローラ51は、初期貯留値をEEPROM57から読み出す(S21)。初期貯留値は、後述のCTG交換処理(図6(B))のステップS44において算出されてEEPROM57に記憶される総残量値である。すなわち、初期貯留値は、カートリッジ13が交換された直後において、カートリッジ13及びサブタンク72が貯留するインクの総量を示す値である。 The controller 51 obtains the first detection signal in step S13 and determines that the first detection signal is obtained after executing printing, or obtains the second detection signal in step S13 and outputs the second detection signal after executing printing. is acquired (S16: No), it is determined whether the detection signal output by the liquid level sensor 33 after execution of printing is the first detection signal or the second detection signal (S20). When the controller 51 determines that the detection signal output by the liquid level sensor 33 after execution of printing is the first detection signal (S20: first detection signal), the controller 51 performs the processes of steps S21 and S22 for calculating the remaining amount of ink. Execute. That is, when ink remains in the cartridge 13, the processes of steps S21 and S22 are executed. Specifically, first, the controller 51 reads the initial storage value from the EEPROM 57 (S21). The initial storage value is the total remaining amount value calculated and stored in the EEPROM 57 in step S44 of the CTG replacement process (FIG. 6B), which will be described later. That is, the initial storage value is a value indicating the total amount of ink stored in the cartridge 13 and the sub-tank 72 immediately after the cartridge 13 is replaced.

コントローラ51は、読み出した初期貯留値と、EEPROM57に記憶された総カウント値とに基づいて、総残量値、CTG残量値、サブタンク残量値を算出する(S22)。総残量値は、カートリッジ13及びサブタンク72が貯留するインクの総量を示す値である。CTG残量値は、カートリッジ13が貯留するインクの量を示す値である。サブタンク残量値は、サブタンク72が貯留するインクの量を示す値である。なお、ステップS20以降の処理については、マゼンタ、シアン、イエロー、ブラックの各色のインクに対してそれぞれ実行される。すなわち、各色について、総残量値、CTG残量値、サブタンク残量値がそれぞれ算出される。 The controller 51 calculates the total remaining amount, the CTG remaining amount, and the sub-tank remaining amount based on the read initial storage value and the total count value stored in the EEPROM 57 (S22). The total remaining amount value is a value indicating the total amount of ink stored in the cartridge 13 and the sub-tank 72 . The CTG remaining amount value is a value indicating the amount of ink stored in the cartridge 13 . The sub-tank remaining amount value is a value indicating the amount of ink stored in the sub-tank 72 . Note that the processes after step S20 are executed for each color ink of magenta, cyan, yellow, and black. That is, the total remaining amount, the CTG remaining amount, and the sub-tank remaining amount are calculated for each color.

総残量値、CTG残量値、サブタンク残量値の算出について詳しく説明する。まず、コントローラ51は、初期貯留値から総カウント値を減じて、総残量値を算出する。そして、コントローラ51は、算出した総残量値から、CTG残量値及びサブタンク残量値を算出する。例えば、メモリ53は、総残量値から、CTG残量値及びサブタンク残量値を算出する計算式を予め記憶する。コントローラ51は、メモリ53に記憶された計算式及び総残量値に基づいて、CTG残量値及びサブタンク残量値を算出する。フローチャートには示されていないが、コントローラ51が算出した総残量値、CTG残量値、及びサブタンク残量値は、メモリ53のRAM56に記憶される。また、CTG残量値は、カートリッジ13のICメモリ15にも記憶される。 Calculation of the total remaining amount, the CTG remaining amount, and the sub-tank remaining amount will be described in detail. First, the controller 51 subtracts the total count value from the initial storage value to calculate the total remaining amount value. Then, the controller 51 calculates the CTG remaining amount value and the sub-tank remaining amount value from the calculated total remaining amount value. For example, the memory 53 stores in advance a formula for calculating the CTG remaining amount value and the sub-tank remaining amount value from the total remaining amount value. The controller 51 calculates the CTG remaining amount value and the sub-tank remaining amount value based on the calculation formula and the total remaining amount value stored in the memory 53 . Although not shown in the flowchart, the total remaining amount, the CTG remaining amount, and the sub-tank remaining amount calculated by the controller 51 are stored in the RAM 56 of the memory 53 . The CTG remaining amount value is also stored in the IC memory 15 of the cartridge 13 .

コントローラ51は、印刷の実行後に液面センサ33が出力した検出信号が第2検出信号であると判断すると(S20:第2検出信号)、インクの残量を算出するステップS23、S24の処理を実行する。すなわち、カートリッジ13が空である場合、ステップS23、S24の処理が実行される。具体的に説明すると、まず、コントローラ51は、固定貯留値をEEPROM57から読み出す(S23)。固定貯留値は、インクの液面が液面センサ33の設置位置にある場合にサブタンク72が貯留するインクの量としてEEPROM57に予め記憶された値である。次に、コントローラ51は、読み出した固定貯留値から、EEPROM57に記憶された総カウント値を減算して総残量値を算出する(S24)。なお、インクの液面が液面センサ33の設置位置に到達した後は、カートリッジ13が貯留するインクの量はゼロである。したがって、算出した総残量値は、サブタンク72が貯留するサブタンク残量値でもある。 When the controller 51 determines that the detection signal output by the liquid level sensor 33 after execution of printing is the second detection signal (S20: second detection signal), the controller 51 performs the processes of steps S23 and S24 for calculating the remaining amount of ink. Execute. That is, when the cartridge 13 is empty, the processes of steps S23 and S24 are executed. Specifically, first, the controller 51 reads the fixed storage value from the EEPROM 57 (S23). The fixed storage value is a value pre-stored in the EEPROM 57 as the amount of ink stored in the sub-tank 72 when the ink level is at the installation position of the liquid level sensor 33 . Next, the controller 51 calculates the total remaining capacity value by subtracting the total count value stored in the EEPROM 57 from the read fixed storage value (S24). After the ink level reaches the installation position of the liquid level sensor 33, the amount of ink stored in the cartridge 13 is zero. Therefore, the calculated total remaining amount value is also the sub-tank remaining amount value stored in the sub-tank 72 .

フローチャートには示されていないが、コントローラ51は、算出した総残量値及びサブタンク残量値をRAM56に記憶させる。また、コントローラ51は、CTG残量値をゼロとしてRAM56に記憶させる。ステップS24で算出されたサブタンク残量値及びCTG残量値は、待機画面(図8)における「インク」アイコン90が示すインクの残量の表示に用いられる。詳しくは後述する。ステップS20において、液面センサ33が出力する検出信号が第2検出信号であるとの判断(S20:第2検出信号)は、第1カートリッジの第1室に貯留されている消費材が無くなったことを検知することの一例である。 Although not shown in the flowchart, the controller 51 causes the RAM 56 to store the calculated total remaining amount and sub-tank remaining amount. Also, the controller 51 causes the RAM 56 to store the CTG remaining amount value as zero. The sub-tank remaining amount value and CTG remaining amount value calculated in step S24 are used to display the remaining amount of ink indicated by the "ink" icon 90 on the standby screen (FIG. 8). Details will be described later. In step S20, the determination that the detection signal output by the liquid level sensor 33 is the second detection signal (S20: second detection signal) is made when the consumables stored in the first chamber of the first cartridge are exhausted. This is an example of detecting that

次に、コントローラ51は、総カウント値がエンプティ閾値以上であるか否かを判断する(S25)。エンプティ閾値は、EEPROM57に予め記憶された閾値である。すなわち、ステップS25では、インクの液面が液面センサ33の設置位置まで低下した後に使用されたインクの量を示す総カウント値が、エンプティ閾値に到達したか否かが判断される。 Next, the controller 51 determines whether or not the total count value is greater than or equal to the empty threshold (S25). The empty threshold is a threshold prestored in the EEPROM 57 . That is, in step S25, it is determined whether or not the total count value indicating the amount of ink used after the ink level has fallen to the installation position of the liquid level sensor 33 has reached the empty threshold.

なお、ステップS25において、総カウント値がエンプティ閾値以上であるか否かの判断に代えて、ステップS24で算出したサブタンク残量値が閾値未満であるか否かが判断されてもよい。すなわち、使用されたインクの量が閾値以上か否かの判断に代えて、サブタンク72が貯留するインクの残量が閾値未満であるか否かが判断されてもよい。 In step S25, instead of determining whether or not the total count value is equal to or greater than the empty threshold value, it may be determined whether or not the sub-tank remaining amount value calculated in step S24 is less than the threshold value. That is, instead of determining whether the amount of used ink is equal to or greater than the threshold, it may be determined whether the remaining amount of ink stored in the sub-tank 72 is less than the threshold.

コントローラ51は、総カウント値がエンプティ閾値以上であると判断すると(S25:Yes)、インクエンプティフラグの値を「ON」にする(S26)。具体的には、インクエンプティフラグとして設定されたEEPROM57の所定の記憶領域に「ON」の値を記憶させる。コントローラ51は、ステップS19、S22、S25:No、S26の処理の実行後、次ページがあるか否かを判断する(S27)。コントローラ51は、次ページがあると判断すると(S27:Yes)、ステップS12以降の処理を再度実行する。コントローラ51は、次ページがないと判断すると(S27:No)、設定したフラグに応じた報知処理を実行する(S28)。図6(A)を参照して、報知処理について説明する。 When the controller 51 determines that the total count value is greater than or equal to the empty threshold value (S25: Yes), it sets the value of the ink empty flag to "ON" (S26). Specifically, a value of "ON" is stored in a predetermined storage area of the EEPROM 57 set as an ink empty flag. The controller 51 determines whether or not there is a next page after executing the processing of steps S19, S22, S25: No, S26 (S27). When the controller 51 determines that there is a next page (S27: Yes), the process after step S12 is executed again. When the controller 51 determines that there is no next page (S27: No), it executes notification processing according to the set flag (S28). The notification process will be described with reference to FIG.

まず、コントローラ51は、インクエンプティフラグの値が「ON」であるか「OFF」であるかを判断する(S31)。コントローラ51は、インクエンプティフラグの値が「ON」であると判断すると(S31:ON)、インクエンプティを報知し(S32)、報知処理を終了する。具体的には、コントローラ51は、図8(C)に示される待機画面を表示パネル43に表示させる。 First, the controller 51 determines whether the value of the ink empty flag is "ON" or "OFF" (S31). When the controller 51 determines that the value of the ink empty flag is "ON" (S31: ON), the controller 51 notifies the ink empty (S32), and terminates the notification process. Specifically, the controller 51 causes the display panel 43 to display the standby screen shown in FIG. 8(C).

図8(A)及び図8(C)を参照して待機画面について説明する。図8(A)に示される待機画面は、プリンタ10が正常に動作可能な状態において表示パネル43に表示される画面である。具体的には、図8(A)に示される待機画面は、インクエンプティフラグ及びCTGエンプティフラグの値がともに「OFF」である場合に表示パネル43に表示される。待機画面は、「ファックス」アイコンや、「コピー」アイコンや、「スキャン」アイコンや、「インク」アイコン90などの複数のアイコンを有する。「インク」アイコン90は、インクの残量を示すアイコンである。具体的には、「インク」アイコン90は、左右方向に並ぶ4組のバーを有している。4組のバーは、左から「マゼンタ」、「シアン」、「イエロー」、「ブラック」の色のインクの残量をそれぞれ示している。一の組のバーは、上下の2つのバーからなる。上のバーは、カートリッジ13が貯留するインクの残量を示す。下のバーは、サブタンク72が貯留するインクの残量を示す。カートリッジ13及びサブタンク72が貯留するインクの残量は、上述のステップS22、S24において算出されてRAM56に記憶された値である。 The standby screen will be described with reference to FIGS. 8A and 8C. The standby screen shown in FIG. 8A is a screen displayed on the display panel 43 when the printer 10 can operate normally. Specifically, the standby screen shown in FIG. 8A is displayed on the display panel 43 when the values of the ink empty flag and the CTG empty flag are both "OFF". The standby screen has a plurality of icons such as a 'fax' icon, a 'copy' icon, a 'scan' icon, and an 'ink' icon 90 . The "ink" icon 90 is an icon indicating the remaining amount of ink. Specifically, the "ink" icon 90 has four sets of bars arranged in the horizontal direction. The four sets of bars indicate the remaining amount of ink of "magenta", "cyan", "yellow", and "black" from the left. A set of bars consists of two bars, one above the other. The upper bar indicates the amount of ink remaining in the cartridge 13 . The lower bar indicates the amount of ink remaining in the sub-tank 72 . The remaining amount of ink stored in the cartridge 13 and subtank 72 is the value calculated in steps S22 and S24 described above and stored in the RAM 56 .

図8(C)に示される待機画面は、上述のアイコンに加え、報知アイコン91及び「×」オブジェクト92を有する。「×」オブジェクト92は、「インク」アイコン90が有する4組のバーのうち、インクが無くなった組のバーに重ねて表示される。図示例では、「×」オブジェクト92は、イエローのインクの残量を示す右から2番目の組のバーに重ねて表示されている。報知アイコン91は、「!」の文字と、インクの色を示す文字と、「カートリッジ」の文字とを含む。図示例では、インクの色を示す文字として、「Y」が表示されている。「Y」は、イエローを示す。「×」オブジェクト92及び報知アイコン91は、イエローの色のインクが無くなったことをユーザに認識させる。 The standby screen shown in FIG. 8C has a notification icon 91 and an "x" object 92 in addition to the icons described above. The “x” object 92 is superimposed on the set of bars with no ink out of the four sets of bars included in the “ink” icon 90 . In the illustrated example, an "x" object 92 is displayed overlaid on the second set of bars from the right indicating the amount of yellow ink remaining. The notification icon 91 includes a character “!”, a character indicating the ink color, and a character “cartridge”. In the illustrated example, "Y" is displayed as a letter indicating the ink color. "Y" indicates yellow. The "x" object 92 and the notification icon 91 make the user aware that the yellow ink has run out.

なお、図6(A)の報知処理のステップS31において、コントローラ51は、マゼンタ、シアン、イエロー、ブラックの4つの色に対してそれぞれ設定されたインクエンプティフラグのうち、1つのインクエンプティフラグでも「ON」である場合、図8(C)に示される待機画面を表示パネル43に表示させる(S32)。 Note that in step S31 of the notification process in FIG. 6A, the controller 51 selects " ON", the standby screen shown in FIG. 8C is displayed on the display panel 43 (S32).

コントローラ51は、図6(A)に示される報知処理のステップS31において、インクエンプティフラグの値が「OFF」であると判断すると(S31:OFF)、CTGエンプティフラグの値が「ON」であるか「OFF」であるかを判断する(S33)。コントローラ51は、CTGエンプティフラグの値が「OFF」であると判断すると(S33:OFF)、図8(A)に示される待機画面を表示パネル43に表示させ(S40)、報知処理を終了する。 When the controller 51 determines that the value of the ink empty flag is "OFF" in step S31 of the notification process shown in FIG. 6A (S31: OFF), the value of the CTG empty flag is "ON". or "OFF" (S33). When the controller 51 determines that the value of the CTG empty flag is "OFF" (S33: OFF), it causes the display panel 43 to display the standby screen shown in FIG. 8A (S40), and terminates the notification process. .

コントローラ51は、ステップS33において、CTGエンプティフラグの値が「ON」であると判断すると(S33:ON)、確認フラグの値が「ON」であるか「OFF」であるかを判断する(S34)。確認フラグは、ポンプ87が重複して駆動されないために設定されるフラグである。確認フラグは、初期値を「OFF」として、液面センサ33が出力する検出信号が第1検出信号から第2検出信号に変化したことに応じて「ON」にされ(S19)、ポンプ87が駆動されたこと(S36)に応じて「OFF」にされるフラグである。 When the controller 51 determines in step S33 that the value of the CTG empty flag is "ON" (S33: ON), it determines whether the value of the confirmation flag is "ON" or "OFF" (S34). ). The confirmation flag is a flag that is set so that the pump 87 is not driven redundantly. The confirmation flag has an initial value of "OFF" and is turned "ON" when the detection signal output by the liquid level sensor 33 changes from the first detection signal to the second detection signal (S19). It is a flag that is turned "OFF" in response to being driven (S36).

コントローラ51は、確認フラグの値が「OFF」であって、サブタンク貯留量増大処理(S36)が既に実行されていると判断すると(S34:OFF)、ステップS35からS37までの処理をスキップする。コントローラ51は、確認フラグの値が「ON」であって、サブタンク貯留量増大処理(S36)が未だ駆動されていないと判断すると(S34:ON)、CTGエンプティフラグが「ON」であると判断した色以外の色について、CTG残量値が判断閾値未満であるか否かを判断する(S35)。判断閾値は、サブタンク貯留量増大処理を実行してカートリッジ13からサブタンク72にインクを移動させても、サブタンク72の大気連通口78からインクが溢れない程度の値として設定され、メモリ53のEEPROM57に予め記憶された値である。ステップS35の処理を実行するタイミングは、所定のタイミングの一例である。 When the controller 51 determines that the value of the confirmation flag is "OFF" and that the sub-tank storage amount increasing process (S36) has already been executed (S34: OFF), the process from steps S35 to S37 is skipped. When the controller 51 determines that the value of the confirmation flag is "ON" and the sub-tank storage amount increase process (S36) is not yet driven (S34: ON), it determines that the CTG empty flag is "ON". It is determined whether or not the CTG remaining amount value is less than the determination threshold value for the colors other than the selected color (S35). The determination threshold value is set to a value that does not cause ink to overflow from the atmosphere communication port 78 of the sub-tank 72 even if the sub-tank storage amount increasing process is executed to move the ink from the cartridge 13 to the sub-tank 72 . It is a pre-stored value. The timing of executing the process of step S35 is an example of predetermined timing.

コントローラ51は、CTGエンプティフラグが「ON」であると判断した色以外の色について、CTG残量値が判断閾値未満である色があると判断すると(S35:Yes)、サブタンク貯留量増大処理を実行する(S36)、具体的には、コントローラ51は、CTG残量値が判断閾値未満である色に対応するポンプ87を所定時間の間、駆動させた後、開かれていたバルブ88を閉じる。当該所定時間は、判断閾値に応じた量のインクの全てがカートリッジ13からサブタンク72に移動するのに十分な時間として、メモリ53のEEPROM57に予め記憶される。コントローラ51は、ポンプ87を駆動させるとともに上記所定時間を初期値としてタイマカウンタにカウントダウンを開始させる。そして、コントローラ51は、タイマカウンタがタイムアップしたことに応じて、ポンプ87の駆動を停止させる。ステップS36の処理により、最初に空になったカートリッジ13に加え、インクが少なくなっていた他のカートリッジ13も強制的に空にされる。例えば、印刷の実行によってイエローの色のインクを貯留するカートリッジ13が空になると、そのときインクが少なくなっていたシアンの色のインクを貯留するカートリッジ13も空にされる。 When the controller 51 determines that there is a color whose CTG remaining amount value is less than the determination threshold for colors other than the color whose CTG empty flag is determined to be "ON" (S35: Yes), the sub-tank storage amount increase processing is performed. Execute (S36). More specifically, the controller 51 drives the pump 87 corresponding to the color whose CTG remaining amount value is less than the judgment threshold for a predetermined period of time, and then closes the valve 88 that has been opened. . The predetermined time is pre-stored in the EEPROM 57 of the memory 53 as a time sufficient for all of the ink in the amount corresponding to the determination threshold to move from the cartridge 13 to the sub-tank 72 . The controller 51 drives the pump 87 and causes the timer counter to start counting down with the predetermined time as an initial value. Then, the controller 51 stops driving the pump 87 when the timer counter times out. By the process of step S36, in addition to the first empty cartridge 13, the remaining ink cartridges 13 are forcibly emptied. For example, when the cartridge 13 storing yellow ink becomes empty due to the execution of printing, the cartridge 13 storing cyan ink, which has run out of ink at that time, is also emptied.

コントローラ51は、CTGエンプティフラグが「ON」であると判断した色以外の色について、CTG残量値が判断閾値未満である色がないと判断すると(S35:No)、ステップS36からS37までの処理をスキップする。ステップS37の処理もスキップするので、サブタンク貯留量増大処理が実行されない限り、確認フラグの値は「ON」のままである。したがって、一のカートリッジ13が空になった後、サブタンク72に貯留されたインクが使用されて印刷が実行された場合に、空になったカートリッジ13以外のカートリッジ13について、CTG残量値が判断閾値未満になると、サブタンク貯留量増大処理が実行されて、カートリッジ13が強制的に空にされる。一方、コントローラ51は、CTGエンプティフラグが「ON」であると判断した色以外の色について、CTG残量値が判断閾値未満である色がないと判断すると(S35:No)、ステップS36のサブタンク貯留量増大処理をスキップし、ステップS37にて確認フラグの値を「OFF」とするようにしてもよい。後述の図7に記載の2つのカートリッジを同時発注するような場合に有効である。 If the controller 51 determines that there is no color for which the CTG remaining amount value is less than the determination threshold for colors other than the color for which the CTG empty flag is determined to be "ON" (S35: No), the controller 51 performs steps S36 to S37. Skip processing. Since the process of step S37 is also skipped, the value of the confirmation flag remains "ON" unless the sub-tank storage amount increase process is executed. Therefore, when printing is executed using the ink stored in the sub-tank 72 after one cartridge 13 becomes empty, the CTG remaining amount value is determined for the cartridges 13 other than the empty cartridge 13. When it becomes less than the threshold value, the sub-tank storage amount increase processing is executed and the cartridge 13 is forcibly emptied. On the other hand, if the controller 51 determines that there is no color for which the CTG remaining amount value is less than the determination threshold for colors other than the color for which the CTG empty flag is determined to be "ON" (S35: No), the sub tank of step S36 is executed. Alternatively, the storage amount increasing process may be skipped and the value of the confirmation flag may be set to "OFF" in step S37. This is effective when ordering two cartridges at the same time as shown in FIG. 7 which will be described later.

図4(A)は、サブタンク貯留量増大処理が実行されるされる前の装着ユニット30を示す図であり、図4(B)は、サブタンク貯留量増大処理が実行された後の装着ユニット30を示す図である。図4(A)、(B)に示されるように、ポンプ87が駆動されたことにより、カートリッジ13に貯留されていたインクがサブタンク72に移動され、カートリッジ13が空になる。ポンプ87によってカートリッジ13からサブタンク72に強制的にインクが移動されることは、限界貯留量の増加の一例である。 FIG. 4A is a diagram showing the mounting unit 30 before the sub-tank storage amount increasing process is executed, and FIG. 4B is a diagram showing the mounting unit 30 after the sub-tank storage amount increasing process is executed. It is a figure which shows. As shown in FIGS. 4A and 4B, the ink stored in the cartridge 13 is moved to the sub-tank 72 by driving the pump 87, and the cartridge 13 is emptied. Forcibly moving ink from the cartridge 13 to the sub-tank 72 by the pump 87 is an example of increasing the limit storage amount.

コントローラ51は、図6(A)に示されるように、ステップS36の処理の実行後、ポンプ87を重複して駆動しないように、確認フラグを「OFF」にする(S37)。 As shown in FIG. 6A, after executing the process of step S36, the controller 51 turns the confirmation flag "OFF" so as not to drive the pump 87 redundantly (S37).

次に、コントローラ51は、CTGエンプティを報知する(S38)。具体的には、コントローラ51は、図8(B)に示される待機画面を表示パネル43に表示させる。図8(B)に示される待機画面は、図8(A)に示される待機画面が有する上述のアイコンに加え、報知アイコン93及び「!」オブジェクト94を有する。「!」オブジェクト94は、「インク」アイコン90が有する4組のバーのうち、空になったカートリッジ13を示すバーに重ねて表示される。図示例では、「!」オブジェクト94は、イエローのインクを示す2番目の組のバー、及びシアンのインクを示す左から2番目の組のバーに重ねて表示されている。報知アイコン93は、「!」の文字と、インクの色を示す文字と、「カートリッジ」の文字とを含む。図示例では、インクの色を示す文字として、「C」及び「Y」が表示されている。「C」はシアンを示し、「Y」は、イエローを示す。「!」オブジェクト94及び報知アイコン93は、イエロー及びシアンの色のインクを貯留するカートリッジ13が空になったことをユーザに認識させる。「!」の文字、「Y」の文字、及び「カートリッジ」の文字は、第1報知の一例である。「!」の文字、「C」の文字、及び「カートリッジ」の文字は、第2報知の一例である。 Next, the controller 51 notifies CTG empty (S38). Specifically, the controller 51 causes the display panel 43 to display the standby screen shown in FIG. 8B. The standby screen shown in FIG. 8B has a notification icon 93 and a "!" object 94 in addition to the above-described icons of the standby screen shown in FIG. The “!” object 94 is superimposed on the bar indicating the empty cartridge 13 among the four sets of bars included in the “ink” icon 90 . In the illustrated example, the "!" object 94 is superimposed on the second set of bars representing yellow ink and the second set of bars from the left representing cyan ink. The notification icon 93 includes a character “!”, a character indicating the ink color, and a character “cartridge”. In the illustrated example, "C" and "Y" are displayed as letters indicating ink colors. "C" indicates cyan and "Y" indicates yellow. The "!" object 94 and the notification icon 93 make the user aware that the cartridge 13 storing yellow and cyan ink is empty. The "!" character, the "Y" character, and the "cartridge" character are examples of the first notification. The "!" character, the "C" character, and the "cartridge" character are examples of the second notification.

報知アイコン93を視認したユーザは、イエローのインクを貯留していた空のカートリッジ13、及びシアンのインクを貯留していた空のカートリッジ13を、新しいカートリッジ13に交換する。すなわち、シアンの色のインクを貯留していたカートリッジ13が強制的に空にされることにより、ユーザは、複数のカートリッジ13を同時に交換することができる。或いは、シアンの色のインクを貯留していたカートリッジ13が強制的に空にされることにより、ユーザがイエローのカートリッジ13とともにシアンのカートリッジ13を交換したとしても、シアンのカートリッジ13は空であり、シアンのインクが無駄に捨てられることがない。 The user who visually recognizes the notification icon 93 replaces the empty cartridge 13 storing yellow ink and the empty cartridge 13 storing cyan ink with new cartridges 13 . That is, the user can simultaneously replace a plurality of cartridges 13 by forcibly emptying the cartridges 13 that have stored cyan ink. Alternatively, even if the user replaces the cyan cartridge 13 together with the yellow cartridge 13 by forcibly emptying the cartridge 13 storing cyan ink, the cyan cartridge 13 remains empty. , cyan ink is not wasted.

なお、ステップS35において、CTG残量値が判断閾値未満であるか否かが判断される代わりに、総カウント値が閾値以上か否かが判断されてもよい。すなわち、カートリッジ13が貯留するインクの量が閾値未満であるか否かに代えて、使用されたインクが閾値以上か否かが判断されてもよい。 In step S35, instead of determining whether the CTG remaining amount value is less than the determination threshold value, it may be determined whether the total count value is equal to or greater than the threshold value. That is, instead of determining whether the amount of ink stored in the cartridge 13 is less than the threshold, it may be determined whether the used ink is equal to or greater than the threshold.

次に、ユーザによってカートリッジ13が交換される場合にコントローラ51が実行するCTG交換処理について、図6(B)を参照して説明する。 Next, the CTG replacement process executed by the controller 51 when the cartridge 13 is replaced by the user will be described with reference to FIG. 6B.

コントローラ51は、例えばCTG交換処理を定期的に実行する。まず、コントローラ51は、カートリッジ13の交換のためにカバー22が開かれたか否かを判断する(S41)。具体的には、コントローラ51は、カバーセンサ46から入力する信号が第2検出信号であるか否かを判断する。コントローラ51は、カバーセンサ46から入力した信号が第1検出信号であって、カバー22が開かれていないと判断すると(S41:No)、CTG交換処理を終了する。コントローラ51は、カバーセンサ46から入力した信号が第2検出信号であって、カバー22が開かれたと判断すると(S41:Yes)、カートリッジ13の交換が終了してカバー22が閉じられたか否かを判断する(S42)。具体的には、コントローラ51は、カバーセンサ46から入力する信号が第1検出信号であるか否かを判断する。コントローラ51は、カバーセンサ46から入力する信号が第1検出信号になるまで、カバーセンサ46が出力する信号を定期的に取得する(S42:No)。 The controller 51 periodically executes CTG exchange processing, for example. First, the controller 51 determines whether or not the cover 22 has been opened to replace the cartridge 13 (S41). Specifically, the controller 51 determines whether the signal input from the cover sensor 46 is the second detection signal. When the controller 51 determines that the signal input from the cover sensor 46 is the first detection signal and the cover 22 is not opened (S41: No), it ends the CTG replacement process. When the controller 51 determines that the signal input from the cover sensor 46 is the second detection signal and that the cover 22 has been opened (S41: Yes), it determines whether the replacement of the cartridge 13 has been completed and the cover 22 has been closed. (S42). Specifically, the controller 51 determines whether the signal input from the cover sensor 46 is the first detection signal. The controller 51 periodically acquires the signal output from the cover sensor 46 until the signal input from the cover sensor 46 becomes the first detection signal (S42: No).

コントローラ51は、カバーセンサ46が出力する信号が第2検出信号になったと判断すると(S42:Yes)、装着ケース71に装着されたカートリッジ13のICメモリ15からCTGシリアル番号を読み出して取得する。そして、コントローラ51は、取得したCTGシリアル番号と、メモリ53のEEPROM57に記憶されたCTGシリアル番号とが一致するか否かを判断する(S43)。EEPROM57に記憶されているCTGシリアル番号は、交換前のカートリッジ13のシリアル番号である。すなわち、ステップS43では、カートリッジ13が交換されたか否かが判断される。なお、カートリッジ13が交換されることなく、カバー22が開閉された場合は、取得したCTGシリアル番号と、EEPROM57に記憶されたCTGシリアル番号とが一致する。 When the controller 51 determines that the signal output by the cover sensor 46 is the second detection signal (S42: Yes), the controller 51 reads out and acquires the CTG serial number from the IC memory 15 of the cartridge 13 mounted in the mounting case 71 . Then, the controller 51 determines whether the acquired CTG serial number matches the CTG serial number stored in the EEPROM 57 of the memory 53 (S43). The CTG serial number stored in the EEPROM 57 is the serial number of the cartridge 13 before replacement. That is, in step S43, it is determined whether or not the cartridge 13 has been replaced. When the cover 22 is opened and closed without replacing the cartridge 13, the acquired CTG serial number and the CTG serial number stored in the EEPROM 57 match.

コントローラ51は、取得したCTGシリアル番号と、EEPROM57に記憶されたCTGシリアル番号とが一致すると判断すると(S43:Yes)、CTG交換処理を終了する。コントローラ51は、取得したCTGシリアル番号と、EEPROM57に記憶されたCTGシリアル番号とが一致しないと判断すると(S43:No)、総残量値、CTG残量値、及びサブタンク残量値を算出する(S44)。詳しく説明すると、まず、コントローラ51は、ステップS22やS24で算出してRAM56に記憶したサブタンク残量値をRAM56から読み出して取得する。次に、コントローラ51は、装着ケース71に装着されたカートリッジ13のICメモリ15から初期残量値を読み出して取得する。そして、コントローラ51は、取得したサブタンク残量値と初期残量値とを加算して、総残量値を算出する。コントローラ51は、算出した総残量値に基づいて、上述のステップS22と同様にして、CTG残量値及びサブタンク残量値を算出する。コントローラ51は、算出した総残量値を、初期貯留値としてEEPROM57に記憶させる。また、コントローラ51は、算出したCTG残量値及びサブタンク残量値をRAM56に記憶させる。なお、RAM56に記憶されたCTG残量値及びサブタンク残量値は、待機画面に表示される「インク」アイコン90における残量の表示に用いられる。 When the controller 51 determines that the acquired CTG serial number matches the CTG serial number stored in the EEPROM 57 (S43: Yes), it ends the CTG exchange process. When the controller 51 determines that the obtained CTG serial number does not match the CTG serial number stored in the EEPROM 57 (S43: No), it calculates the total remaining amount, CTG remaining amount, and sub-tank remaining amount. (S44). More specifically, first, the controller 51 reads out from the RAM 56 the sub-tank remaining amount value calculated in steps S22 and S24 and stored in the RAM 56 to obtain the value. Next, the controller 51 reads and acquires the initial remaining amount value from the IC memory 15 of the cartridge 13 mounted in the mounting case 71 . Then, the controller 51 adds the obtained sub-tank remaining amount value and the initial remaining amount value to calculate the total remaining amount value. Based on the calculated total remaining amount, the controller 51 calculates the CTG remaining amount and the sub-tank remaining amount in the same manner as in step S22 described above. The controller 51 stores the calculated total remaining amount in the EEPROM 57 as an initial storage value. Further, the controller 51 causes the RAM 56 to store the calculated CTG remaining amount value and sub-tank remaining amount value. The CTG remaining amount value and the sub-tank remaining amount value stored in the RAM 56 are used to display the remaining amount in the "ink" icon 90 displayed on the standby screen.

次に、コントローラ51は、総カウント値をリセットする(S45)。また、コントローラ51は、インクエンプティフラグ及びCTGエンプティフラグを「OFF」にする(S46、S47)。そして、コントローラ51は、サブタンク貯留量戻し処理を実行する(S48)。具体的には、コントローラ51は、上述の報知処理のステップS37において閉じられたバルブ88を開く。図4(C)は、サブタンク貯留量増大処理としてポンプ87の駆動によって強制的に空にされたカートリッジ13が新しいカートリッジ13に交換された直後における装着ユニット30を示す図である。図4(D)は、サブタンク貯留量増大処理としてバルブ88が開かれた後の装着ユニット30を示す図である。バルブ88が開かれると、大気圧により、カートリッジ13に貯留されているインクの液面の高さ位置と、サブタンク72に貯留されているインクの液面の高さ位置とがほぼ同じになるように、ニードル75、ポンプ87、及び流路部材70を通じてカートリッジ13からサブタンク72にインクが移動する。なお、CTG交換処理におけるステップS49の処理については、変形例1において説明する。 Next, the controller 51 resets the total count value (S45). The controller 51 also turns the ink empty flag and the CTG empty flag "OFF" (S46, S47). Then, the controller 51 executes sub-tank storage amount return processing (S48). Specifically, the controller 51 opens the valve 88 that was closed in step S37 of the notification process described above. FIG. 4C shows the mounting unit 30 immediately after the cartridge 13 that has been forcibly emptied by driving the pump 87 as the sub-tank storage amount increasing process is replaced with a new cartridge 13 . FIG. 4D is a diagram showing the mounting unit 30 after the valve 88 is opened as the sub-tank storage amount increasing process. When the valve 88 is opened, the level of the liquid level of the ink stored in the cartridge 13 and the level of the liquid level of the ink stored in the sub-tank 72 are made substantially the same by the atmospheric pressure. Then, the ink moves from the cartridge 13 to the sub-tank 72 through the needle 75 , the pump 87 and the channel member 70 . Note that the processing of step S49 in the CTG exchange processing will be described in Modification 1.

[実施形態の作用効果]
本実施形態では、上述のように、一のカートリッジ13が空になったことを条件として、サブタンク貯留量増大処理を実行させて、他の一乃至複数のカートリッジ13を強制的に空にする。したがって、複数のカートリッジ13を同時に空にすることができる。その結果、プリンタ10は、ユーザに、複数のカートリッジ13を同時に交換させることができる。すなわち、プリンタ10は、別個に複数のカートリッジ13を交換する場合に比べ、カートリッジ13を交換するユーザの手間を低減することができる。
[Action and effect of the embodiment]
In this embodiment, as described above, on the condition that one cartridge 13 is empty, the sub-tank storage amount increasing process is executed to forcibly empty the other one or more cartridges 13 . Therefore, a plurality of cartridges 13 can be emptied simultaneously. As a result, the printer 10 allows the user to replace multiple cartridges 13 at the same time. That is, the printer 10 can reduce the user's trouble of exchanging the cartridges 13 compared to the case of exchanging a plurality of cartridges 13 separately.

また、本実施形態では、上述のように、一のカートリッジ13が空になったことをトリガとして、サブタンク貯留量増大処理を実行させて、他の一乃至複数のカートリッジ13を強制的に空にする。したがって、ユーザが、空になったカートリッジ13を交換するついでに、インクが少なくなった他のカートリッジ13も交換した場合であっても、当該他のカートリッジ13は空であるので、インクが無駄に捨てられることがない。 Further, in the present embodiment, as described above, when one cartridge 13 becomes empty, the sub-tank storage amount increasing process is executed to forcibly empty one or more other cartridges 13. do. Therefore, even if the user replaces the empty cartridge 13 and also replaces the other cartridge 13 with less ink, the other cartridge 13 is empty and the ink is wasted. never be

また、本実施形態では、空になったカートリッジ13を示す「Y」の文字と、空にしたカートリッジ13を示す「C」の文字とが表示パネル43に表示される。したがって、プリンタ10は、複数のカートリッジ13を同時に交換することをユーザに促すことができる。 Further, in this embodiment, the display panel 43 displays the letter “Y” indicating the empty cartridge 13 and the letter “C” indicating the empty cartridge 13 . Therefore, the printer 10 can prompt the user to replace multiple cartridges 13 at the same time.

[変形例1]
本変形例では、サービス提供者によってユーザに提供されるプリンタ10を説明する。サービス提供者は、プリンタ10のメンテナンスや、後述のカートリッジ13の発注の手配などのサービスをユーザに提供する。サービス提供者が使用権限を有する情報処理装置11(図1)が、インターネットと接続されている。そして、プリンタ10は、通信回線12と接続されて使用される。なお、通信回線12は、ローカルネットワーク及びインターネットである。プリンタ10は、発注情報などを、通信回線12を通じて情報処理装置11に送信する。以下、詳しく説明する。なお、以下に示される構成や処理以外の構成や処理は、実施形態で説明された構成や処理と同一である。
[Modification 1]
In this modified example, a printer 10 provided to users by a service provider will be described. The service provider provides the user with services such as maintenance of the printer 10 and arrangement of orders for the cartridge 13, which will be described later. An information processing device 11 (FIG. 1) that a service provider has usage rights for is connected to the Internet. The printer 10 is used by being connected to the communication line 12 . Note that the communication line 12 is a local network and the Internet. The printer 10 transmits order information and the like to the information processing device 11 through the communication line 12 . A detailed description will be given below. Configurations and processes other than those described below are the same as those described in the embodiments.

プリンタ10のメモリ53のEEPROM57は、情報処理装置11が公開するURLを記憶する。例えば、プリンタ10のコントローラ51は、タッチパネル42や操作スイッチからユーザやサービス提供者によって入力されたURLを、EEPROM57に記憶させる。 The EEPROM 57 of the memory 53 of the printer 10 stores URLs published by the information processing device 11 . For example, the controller 51 of the printer 10 causes the EEPROM 57 to store the URL input by the user or the service provider from the touch panel 42 or the operation switch.

プリンタ10のコントローラ51は、図7に示される通知処理を実行する。通知処理は、空になったカートリッジ13の発注をサービス適用者に行わせる発注情報を情報処理装置11に通知する処理である。以下、詳しく説明する。 The controller 51 of the printer 10 executes notification processing shown in FIG. The notification process is a process of notifying the information processing apparatus 11 of order information that causes the service provider to place an order for the empty cartridge 13 . A detailed description will be given below.

まず、コントローラ51は、インクエンプティフラグの値が「ON」であるか「OFF」であるかを判断する(S51)。コントローラ51は、インクエンプティフラグの値が「OFF」であると判断すると(S51:OFF)、ステップS52の処理をスキップする。コントローラ51は、インクエンプティフラグの値が「ON」であると判断すると(S51:ON)、インクエンプティ情報を、情報処理装置11に送信する送信データに含める(S52)。インクエンプティ情報は、インクが無くなって、プリンタ10が印刷を行うことができない状態であることを示す情報である。 First, the controller 51 determines whether the value of the ink empty flag is "ON" or "OFF" (S51). When the controller 51 determines that the value of the ink empty flag is "OFF" (S51: OFF), it skips the process of step S52. When the controller 51 determines that the value of the ink empty flag is "ON" (S51: ON), the controller 51 includes the ink empty information in the transmission data to be transmitted to the information processing device 11 (S52). The ink empty information is information indicating that the printer 10 has run out of ink and cannot print.

次に、コントローラ51は、CTGエンプティフラグの値が「ON」であるか「OFF」であるかを判断する(S53)。コントローラ51は、CTGエンプティフラグの値が「OFF」であると判断すると(S53:OFF)、ステップS54からS57までの処理をスキップする。コントローラ51は、CTGエンプティフラグの値が「ON」であると判断すると(S54:ON)、通知済みフラグの値が「ON」であるか「OFF」であるかを判断する。通知済みフラグは、後述の発注情報が重複して情報処理装置11に送信されることを防止するためのフラグである。通知済みフラグの初期値は「OFF」である。通知済みフラグは、発注情報が情報処理装置11に送信されたことに応じて「ON」にされる。そして、通知済みフラグは、図6(B)に示されるCTG交換処理において、カートリッジ13が交換されたことに応じて、「OFF」にされる(S49)。 Next, the controller 51 determines whether the value of the CTG empty flag is "ON" or "OFF" (S53). When the controller 51 determines that the value of the CTG empty flag is "OFF" (S53: OFF), it skips the processing from steps S54 to S57. When the controller 51 determines that the value of the CTG empty flag is "ON" (S54: ON), it determines whether the value of the notified flag is "ON" or "OFF". The notified flag is a flag for preventing duplicate order information, which will be described later, from being transmitted to the information processing apparatus 11 . The initial value of the notified flag is "OFF". The notified flag is turned “ON” when the order information is transmitted to the information processing device 11 . Then, the notified flag is set to "OFF" when the cartridge 13 is replaced in the CTG replacement process shown in FIG. 6B (S49).

コントローラ51は、図7に示すように、通知済みフラグの値が「ON」であると判断すると(S54:ON)、ステップS55からS57までの処理をスキップする。コントローラ51は、通知済みフラグの値が「OFF」であると判断すると(S54:OFF)、第1発注情報を送信データに含める(S55)。第1発注情報は、CTGエンプティフラグの値が「OFF」である色のカートリッジ13が空になったことを示す情報である。第1発注情報は、例えば、カートリッジ13の型番などである。 As shown in FIG. 7, when the controller 51 determines that the value of the notified flag is "ON" (S54: ON), it skips the processing from steps S55 to S57. When the controller 51 determines that the value of the notified flag is "OFF" (S54: OFF), it includes the first order information in the transmission data (S55). The first order information is information indicating that the cartridge 13 of the color whose CTG empty flag value is "OFF" is empty. The first order information is, for example, the model number of the cartridge 13 .

次に、コントローラ51は、サブタンク貯留量増大処理を実行させて強制的に空にしたカートリッジ13があるか否かを判断する(S56)。なお、フローチャートには示されていないが、コントローラ51は、図6(A)に示される報知処理のサブタンク貯留量増大処理(S36)においてポンプ87を駆動させたことに応じて、強制的に空にしたカートリッジ13を示す情報をメモリ53のEEPROM57に記憶させる。コントローラ51は、EEPROM57に記憶された情報に基づいて、強制的に空にしたカートリッジ13があるか否かを判断する(S56)。コントローラ51は、強制的に空にしたカートリッジ13がないと判断すると(S56:No)、ステップS57の処理をスキップする。コントローラ51は、強制的に空にしたカートリッジ13があると判断すると(S56:Yes)、第2発注情報を送信データに含める(S57)。第2発注情報は、サブタンク貯留量増大処理を実行させて強制的に空にしたカートリッジ13を示す情報である。第2発注情報は、例えば、カートリッジ13の型番などである。 Next, the controller 51 determines whether or not there is a cartridge 13 that has been forcibly emptied by executing the sub-tank storage amount increasing process (S56). Although not shown in the flowchart, the controller 51 forcibly empties the tank in response to driving the pump 87 in the sub-tank storage amount increase process (S36) of the notification process shown in FIG. The EEPROM 57 of the memory 53 stores the information indicating the cartridge 13 that has been set. The controller 51 determines whether or not there is a forcibly emptied cartridge 13 based on the information stored in the EEPROM 57 (S56). When the controller 51 determines that there is no cartridge 13 that is forcibly emptied (S56: No), it skips the process of step S57. When the controller 51 determines that there is a forcibly emptied cartridge 13 (S56: Yes), the second order information is included in the transmission data (S57). The second order information is information indicating the cartridge 13 forcibly emptied by executing the sub-tank storage amount increasing process. The second order information is, for example, the model number of the cartridge 13 .

コントローラ51は、生成した送信データを、通信I/F47を通じて、EEPROM57に記憶されたURLが示す情報処理装置11宛てに送信する(S58)。そして、コントローラ51は、情報処理装置11が送信したACK(肯定応答)を受信したか否かを判断する(S59)。コントローラ51は、ACKを受信しなかったと判断すると(S59:No)、送信データを再送信するリトライを実行する(S58)。コントローラ51は、ACKを受信したと判断すると(S59:Yes)、通知済みフラグの値を「ON」にして(S60)、通知処理を終了する。 The controller 51 transmits the generated transmission data to the information processing apparatus 11 indicated by the URL stored in the EEPROM 57 through the communication I/F 47 (S58). Then, the controller 51 determines whether or not the ACK (acknowledgement) transmitted by the information processing device 11 has been received (S59). When the controller 51 determines that ACK has not been received (S59: No), it performs a retry to resend the transmission data (S58). When determining that ACK has been received (S59: Yes), the controller 51 sets the value of the notified flag to "ON" (S60), and terminates the notification process.

なお、フローチャートには示されていないが、情報処理装置11は、送信データを受信したことに応じて、送信データを受信したことを示すACKをプリンタ10に対して返信する。また、情報処理装置11は、受信した送信データに含まれるインクエンプティ情報や第1発注情報や第2発注情報を、不図示のメモリに記憶させる。サービス提供者は、メモリに記憶された第1発注情報や第2発注情報に基づいて、カートリッジ13の発送を手配する。具体的には、サービス提供者は、第1発注情報及び第2発注情報がメモリに記憶されていることに応じて、複数のカートリッジ13の発送の手配をまとめて行う。発送された複数の新しいカートリッジ13は、ユーザに届けられる。ユーザは、届けられた複数の新しいカートリッジ13を、プリンタ10に装着してカートリッジ13を交換する。 Although not shown in the flowchart, the information processing apparatus 11 returns an ACK indicating that the transmission data has been received to the printer 10 in response to receiving the transmission data. The information processing device 11 also stores ink empty information, first order information, and second order information included in the received transmission data in a memory (not shown). The service provider arranges shipment of the cartridge 13 based on the first order information and the second order information stored in the memory. Specifically, the service provider collectively arranges shipping of the plurality of cartridges 13 according to the fact that the first order information and the second order information are stored in the memory. A plurality of shipped new cartridges 13 are delivered to the user. The user installs the delivered new cartridges 13 into the printer 10 to replace the cartridges 13 .

なお、フローチャートには示されていないが、コントローラ51は、印刷が実行されるたびに、或いは毎日の定刻などに、CTG残量値やサブタンク残量値や印刷枚数などの管理情報を情報処理装置11に送信する。情報処理装置11は、受信した管理情報をメモリに記憶させる。 Although not shown in the flowchart, the controller 51 sends management information such as the CTG remaining amount, the sub tank remaining amount, and the number of prints each time printing is executed or at a fixed time every day. 11. The information processing device 11 stores the received management information in the memory.

[変形例1の作用効果]
本変形例では、コントローラ51は、一のカートリッジ13が空になったことをトリガとして、サブタンク貯留量増大処理を実行させて、他の一乃至複数のカートリッジ13を強制的に空にする。そして、空にしたカートリッジ13を示す第2発注情報を第1発注情報とともに情報処理装置11に送信する。したがって、プリンタ10は、複数のカートリッジ13の発送の手配をサービス提供者にまとめて行わせることができる。
[Action and effect of Modification 1]
In this modification, the controller 51 executes the sub-tank storage amount increasing process using the fact that one cartridge 13 has become empty as a trigger, and forcibly empties the other one or more cartridges 13 . Then, the second order information indicating the empty cartridge 13 is transmitted to the information processing device 11 together with the first order information. Therefore, the printer 10 can have the service provider collectively arrange for shipping of the plurality of cartridges 13 .

[変形例2]
上述の実施形態では、サブタンク貯留量増大処理の一例として、ポンプ87を用いて、サブタンク72が貯留するインクの貯留量(限界貯留量)を増加させる例を説明した。本変形例では、サブタンク貯留量増大処理の他の例として、サブタンク72の形状を変化させることによって、サブタンク72が貯留するインクの貯留量(限界貯留量)を増加させる例を説明する。なお、以下で説明する構成や処理以外の構成や処理は、実施形態で説明した構成や処理と同じである。
[Modification 2]
In the above-described embodiment, as an example of the sub-tank storage amount increasing process, the pump 87 is used to increase the storage amount (limit storage amount) of ink stored in the sub-tank 72 . In this modified example, as another example of the sub-tank storage amount increasing process, an example in which the storage amount (limit storage amount) of ink stored in the sub-tank 72 is increased by changing the shape of the sub-tank 72 will be described. Configurations and processes other than those described below are the same as those described in the embodiments.

本変形例のサブタンク72は、実施形態で説明した下部77に代えて、図9に示される下部80を備える。下部80は、前後方向8における前方に位置する前部81と、後方に位置する後部82と、前部81と後部82とを連結する蛇腹部83と、を有している。前部81は、上部76の下端と連結している。前後方向8における蛇腹部83の前端は、前部81の後端と連結している。前後方向8における蛇腹部83の後端は、後部82の前端と連結している。蛇腹部83は、前後方向8に沿って伸縮可能である。下部80は、蛇腹部83が縮小している縮小状態(図9(A))と、蛇腹部83が拡張している拡張状態(図9(B))とに状態変化可能である。 The sub-tank 72 of this modification includes a lower portion 80 shown in FIG. 9 instead of the lower portion 77 described in the embodiment. The lower portion 80 has a front portion 81 positioned forward in the front-rear direction 8 , a rear portion 82 positioned rearward, and a bellows portion 83 connecting the front portion 81 and the rear portion 82 . The front portion 81 is connected to the lower end of the upper portion 76 . A front end of the bellows portion 83 in the front-rear direction 8 is connected to a rear end of the front portion 81 . A rear end of the bellows portion 83 in the front-rear direction 8 is connected to a front end of the rear portion 82 . The bellows portion 83 is expandable and contractable along the front-rear direction 8 . The lower portion 80 can be changed between a contracted state in which the bellows portion 83 is contracted (FIG. 9A) and an expanded state in which the bellows portion 83 is expanded (FIG. 9B).

装着ユニット30は、スライド装置73をさらに備える。スライド装置73は、サブタンク72の下部80を縮小状態から拡張状態に状態変化させ、かつ、拡張状態から縮小状態に状態変化させる装置である。詳しく説明すると、スライド装置73は、ラックギア84と、ピニオンギア85と、駆動モータ86(図1)と、を備える。ラックギア84は、下部80の後部82に固着されている。ラックギア84は、前後方向8に並ぶ複数の歯を有する。ピニオンギア85は、ラックギア84の歯と噛み合う複数の歯を有する。ピニオンギア85は、筐体20や上述のフレームなどに回転可能に保持されている。ピニオンギア85は、駆動モータ86によって回転される。駆動モータ86は、不図示の駆動回路を介してコントローラ51と接続されている。コントローラ51は、駆動モータ86の回転と停止、及び、回転の向きを制御する。駆動モータ86が一方の向き(以下、正回転と記載する)に回転されると、ピニオンギア85が正回転し、正回転するピニオンギア85と噛み合うラックギア84が、後部82とともに後方へ向かって移動する。その結果、蛇腹部83が伸長して、縮小状態(図9(A))にあったサブタンク72の下部80が拡張状態(図9(B))に状態変化する。駆動モータ86が他方の向き(以下、逆回転と記載する)に回転されると、ピニオンギア85が逆回転し、逆回転するピニオンギア85と噛み合うラックギア84が前方へ向かって移動する。その結果、拡張状態にあったサブタンク72の下部80が縮小状態に状態変化する。スライド装置73によって移動される後部82は、移動部の一例である。なお、上述のチューブ32の一端は、移動しない前部81の底と連結されている。 The mounting unit 30 further includes a slide device 73 . The slide device 73 is a device for changing the state of the lower portion 80 of the sub-tank 72 from the contracted state to the expanded state and from the expanded state to the contracted state. Specifically, the slide device 73 includes a rack gear 84, a pinion gear 85, and a drive motor 86 (FIG. 1). A rack gear 84 is secured to the rear portion 82 of the lower portion 80 . The rack gear 84 has a plurality of teeth arranged in the front-rear direction 8 . The pinion gear 85 has a plurality of teeth that mesh with the teeth of the rack gear 84 . The pinion gear 85 is rotatably held by the housing 20, the frame described above, or the like. A pinion gear 85 is rotated by a drive motor 86 . The drive motor 86 is connected to the controller 51 via a drive circuit (not shown). The controller 51 controls the rotation and stop of the drive motor 86 and the direction of rotation. When the drive motor 86 is rotated in one direction (hereinafter referred to as forward rotation), the pinion gear 85 rotates forward, and the rack gear 84 meshing with the pinion gear 85 rotating forward moves rearward together with the rear portion 82 . do. As a result, the bellows portion 83 expands, and the lower portion 80 of the sub-tank 72 changes from the contracted state (FIG. 9A) to the expanded state (FIG. 9B). When the drive motor 86 is rotated in the other direction (hereinafter referred to as reverse rotation), the pinion gear 85 rotates in the reverse direction, and the rack gear 84 meshing with the reversely rotating pinion gear 85 moves forward. As a result, the state of the lower portion 80 of the sub-tank 72, which was in the extended state, changes to the contracted state. The rear portion 82 moved by the slide device 73 is an example of a moving portion. One end of the tube 32 described above is connected to the bottom of the front portion 81 which does not move.

コントローラ51は、図6(A)に示す報知処理のステップS36のサブタンク貯留量増大処理において、縮小状態にある下部80を拡張状態に状態変化させる。具体的には、コントローラ51は、CTG残量値が判断閾値未満であると判断すると(S35:Yes)、駆動モータ86を、所定時間の間、正回転させる。所定時間は、メモリ53のEEPROM57に予め記憶される時間である。拡張処理が実行されることにより、カートリッジ13に貯留されていたインク(図9(A))が、大気圧によってサブタンク72に移動し、カートリッジ13が空になる(図9(B))。すなわち、コントローラ51は、実施形態と同様に、駆動モータ86を正回転させることにより、カートリッジ13を強制的に空にする。 The controller 51 changes the state of the lower portion 80 from the retracted state to the expanded state in the sub-tank storage amount increase processing of step S36 of the notification processing shown in FIG. 6(A). Specifically, when the controller 51 determines that the CTG remaining amount value is less than the determination threshold value (S35: Yes), the drive motor 86 rotates forward for a predetermined period of time. The predetermined time is a time pre-stored in the EEPROM 57 of the memory 53 . By executing the expansion process, the ink stored in the cartridge 13 (FIG. 9A) is moved to the sub-tank 72 by the atmospheric pressure, and the cartridge 13 is emptied (FIG. 9B). That is, the controller 51 forcibly empties the cartridge 13 by rotating the drive motor 86 forward, as in the embodiment.

サブタンク72が縮小状態から拡張状態に状態変化することによってカートリッジ13からサブタンク72にインクが移動することは、限界貯留量の増加の一例である。 Moving ink from the cartridge 13 to the sub-tank 72 by changing the state of the sub-tank 72 from the contracted state to the expanded state is an example of an increase in the limit storage amount.

また、コントローラ51は、図6(B)に示すCTG交換処理のステップS48のサブタンク貯留量戻し処理にとして、駆動モータ86を所定時間の間、逆回転させる縮小処理を実行する。縮小処理が実行されることにより、サブタンク72に貯留されていたインク(図9(C))の一部が、大気圧によって、カートリッジ13に移動する(図9(D))。なお、インクがサブタンク72の大気連通口78から溢れないように、サブタンク72の上部76の内部空間の容積は、十分大きくされる。また、カートリッジ13の大気連通口17からインクが溢れないように、カートリッジ13の装着の高さ位置は、サブタンク72よりも十分高くされる。 In addition, the controller 51 executes reduction processing for rotating the drive motor 86 in reverse for a predetermined time as sub-tank storage amount return processing in step S48 of the CTG replacement processing shown in FIG. 6B. By executing the reduction process, part of the ink stored in the sub-tank 72 ((C) in FIG. 9) is moved to the cartridge 13 by the atmospheric pressure ((D) in FIG. 9). The volume of the internal space of the upper portion 76 of the sub-tank 72 is sufficiently large so that the ink does not overflow from the atmosphere communication port 78 of the sub-tank 72 . In addition, the mounting height position of the cartridge 13 is sufficiently higher than the sub-tank 72 so that the ink does not overflow from the atmosphere communication port 17 of the cartridge 13 .

なお、縮小処理は、総カウント値が閾値以上になったことに応じて実行されてもよい。当該閾値は、サブタンク72が縮小状態から拡張状態に状態変化されたことに応じて増加するサブタンク72の内部空間の容積に応じた値である。すなわち、サブタンク72が拡張状態から縮小状態に状態変化された場合に減少するインクの量に応じた量だけ印刷によってインクが減少したことに応じて縮小処理が実行されてもよい。 Note that the reduction process may be executed in response to the total count value becoming equal to or greater than the threshold. The threshold is a value corresponding to the volume of the internal space of the sub-tank 72 that increases as the sub-tank 72 changes from the contracted state to the expanded state. That is, the reduction process may be executed in response to the amount of ink reduced by printing by the amount corresponding to the amount of ink reduced when the sub-tank 72 is changed from the expanded state to the contracted state.

[変形例2の作用効果]
本変形例でも、一のカートリッジ13が空になったことをトリガとして、他の一乃至複数のカートリッジ13を強制的に空にすることができる。したがって、プリンタ10は、ユーザに、複数のカートリッジ13を同時に交換させることができる。また、ユーザが、空になったカートリッジ13を交換するついでに、インクが少なくなった他のカートリッジ13も交換した場合であっても、当該他のカートリッジ13は空であるので、インクが無駄に捨てられることがない。
[Action and effect of modification 2]
In this modified example as well, the emptying of one cartridge 13 can be used as a trigger to forcibly empty one or more other cartridges 13 . Therefore, the printer 10 allows the user to replace multiple cartridges 13 at the same time. Even if the user replaces the empty cartridge 13 and replaces another cartridge 13 with less ink, the other cartridge 13 is empty and the ink is wasted. never be

なお、本変形例では、スライド装置73によってサブタンク72を縮小状態と拡張状態との間で状態変化させる例を説明した。しかしながら、手動や、他の構成のスライド装置によって、サブタンク72が縮小状態と拡張状態との間で状態変化されてもよい。また、サブタンク72が蛇腹部83によって状態変化される例を説明した。しかしながら、蛇腹部83に代えて、フィルムなど可撓性を有する部材がサブタンク72に設けられていてもよい。 In this modified example, the slide device 73 is used to change the state of the sub-tank 72 between the contracted state and the expanded state. However, the state of the sub-tank 72 may be changed between the contracted state and the expanded state manually or by a slide device having another configuration. Also, an example in which the state of the sub-tank 72 is changed by the bellows portion 83 has been described. However, instead of the bellows portion 83, the sub-tank 72 may be provided with a flexible member such as a film.

[変形例3]
本変形例では、プリンタ10が、装着ユニット30に代えて、図10に示される装着ユニット100を備える例を説明する。装着ユニット100以外の構成は、実施形態で説明した構成と同じである。なお、以下で説明する構成及び処理以外の構成は、実施形態で説明した構成及び処理と同一である。
[Modification 3]
In this modified example, an example in which the printer 10 is provided with a mounting unit 100 shown in FIG. 10 instead of the mounting unit 30 will be described. The configuration other than the mounting unit 100 is the same as the configuration described in the embodiment. Note that configurations other than the configuration and processing described below are the same as the configuration and processing described in the embodiment.

装着ユニット100は、筐体20に保持された装着ケース101を備えている。装着ケース101は、上面に開口を有する箱状である。当該開口からカートリッジ110が挿抜される。装着ケース101は、4つのカートリッジ110を着脱可能に保持する。1つのカートリッジ110と対応付けて、1つのサブタンク102、1つの液面センサ33、1つのカートリッジI/F74、1つの駆動モータ107、及び2つのニードル103、104からなる1つのセットが設けられている。すなわち、4つの上記セットが装着ユニット100に設けられている。各セットの構成は同一であるので、以下では、1つのセットについて説明する。 The mounting unit 100 includes a mounting case 101 held by the housing 20 . The mounting case 101 is box-shaped with an opening on the top surface. The cartridge 110 is inserted/extracted through the opening. The mounting case 101 detachably holds four cartridges 110 . One set consisting of one sub-tank 102, one liquid level sensor 33, one cartridge I/F 74, one drive motor 107, and two needles 103, 104 is provided in association with one cartridge 110. there is That is, the four sets are provided in the mounting unit 100 . Since each set has the same configuration, one set will be described below.

カートリッジ110は、インクを貯留する内部空間を有する箱状である。カートリッジ110は、内部空間である液室18においてインクを貯留する。一のカートリッジ110は、第1カートリッジの一例である。他の一のカートリッジ110は、第2カートリッジの一例である。また、カートリッジ110は、ニードル103、104が挿通される流出口112を底に有する。一のカートリッジ110の流出口112は、第1流出口の一例である。他の一のカートリッジ110の流出口112は、第2流出口の一例である。 The cartridge 110 is box-shaped and has an internal space for storing ink. The cartridge 110 stores ink in a liquid chamber 18, which is an internal space. The one cartridge 110 is an example of a first cartridge. Another cartridge 110 is an example of a second cartridge. Further, the cartridge 110 has an outlet 112 at the bottom through which the needles 103 and 104 are inserted. The outflow port 112 of one cartridge 110 is an example of a first outflow port. The outflow port 112 of the other cartridge 110 is an example of a second outflow port.

液面センサ33は、装着ケース101に装着されたカートリッジ13の内底面より僅かに上方となる高さ位置に設置されている。 The liquid level sensor 33 is installed at a height slightly above the inner bottom surface of the cartridge 13 mounted in the mounting case 101 .

ニードル103、104は、装着ケース101に保持されている。ニードル103、104の上部は、装着ケース101の内底面から上方に向かって突出している。ニードル103、104の上部は、装着ケース101に装着されたカートリッジ110の流出口112に挿通されている。すなわち、ニードル103、104の上端は、装着ケース101に装着されたカートリッジ13の内部空間に位置する。ニードル103、104の下部は、装着ケース101の底から下方に向かって突出している。ニードル103、104の下端は、後述のサブタンク102の内部空間に位置する。すなわち、サブタンク102の内部空間と、装着ケース101に装着されたカートリッジ13の内部空間とは、ニードル103、104によって連通されている。ニードル104は、第2筒体の一例である。ニードル104の内部空間は、第2流路の一例である。 Needles 103 and 104 are held by mounting case 101 . Upper parts of the needles 103 and 104 protrude upward from the inner bottom surface of the mounting case 101 . Upper portions of the needles 103 and 104 are inserted through an outlet 112 of a cartridge 110 attached to the attachment case 101 . That is, the upper ends of the needles 103 and 104 are located in the internal space of the cartridge 13 mounted in the mounting case 101 . Lower portions of the needles 103 and 104 protrude downward from the bottom of the mounting case 101 . The lower ends of the needles 103 and 104 are located in the internal space of the sub-tank 102 which will be described later. That is, the internal space of the sub-tank 102 and the internal space of the cartridge 13 mounted in the mounting case 101 are communicated by needles 103 and 104 . Needle 104 is an example of a second cylinder. The internal space of needle 104 is an example of a second flow path.

ニードル103は、外筒105と、外筒105に内装された内筒106と、を有する。内筒106は、外筒105の中心軸線に沿ってスライド可能に外筒105に保持されている。内筒106は、外筒105に収容された収容位置(図10(B))と、下端が外筒105の下端から下方に向かって突出する突出位置(図10(A))との間でスライドする。内筒106は、駆動モータ107によって、収容位置と突出位置との間でスライドされる。ニードル103は、第1筒体の一例である。ニードル103の内部空間は、第1流路の一例である。ニードル103の下端の開口は、貫通孔の一例である。 The needle 103 has an outer cylinder 105 and an inner cylinder 106 inside the outer cylinder 105 . The inner cylinder 106 is held by the outer cylinder 105 so as to be slidable along the central axis of the outer cylinder 105 . The inner cylinder 106 is positioned between an accommodation position (FIG. 10B) where the inner cylinder 106 is accommodated in the outer cylinder 105 and a projecting position where the lower end projects downward from the lower end of the outer cylinder 105 (FIG. 10A). slide. The inner cylinder 106 is slid between a retracted position and a projected position by a drive motor 107 . Needle 103 is an example of a first cylinder. The internal space of the needle 103 is an example of a first channel. The opening at the lower end of needle 103 is an example of a through hole.

サブタンク102は、箱状である。サブタンク102は、内部空間である液室79にインクを貯留可能である。上述のチューブ32の一端は、サブタンク102の底と連結されている。すなわち、サブタンク102の内部空間は、チューブ32を通じて、ヘッド31の流路と連通している。また、サブタンク102は、大気連通口108を上壁に有する。すなわち、サブタンク102の内部空間は、大気開放されている。なお、上述のカートリッジ110の内部空間は、大気開放されていない。 The sub-tank 102 is box-shaped. The sub-tank 102 can store ink in a liquid chamber 79, which is an internal space. One end of the tube 32 described above is connected to the bottom of the sub-tank 102 . That is, the internal space of the sub-tank 102 communicates with the flow path of the head 31 through the tube 32 . Also, the sub-tank 102 has an air communication port 108 on its upper wall. That is, the internal space of the sub-tank 102 is open to the atmosphere. The internal space of the cartridge 110 described above is not open to the atmosphere.

カートリッジ110に貯留されたインクが、ニードル104を通じてサブタンク102に移動する現象について説明する。サブタンク102が空の状態において、インクを貯留するカートリッジ110が装着ケース101に装着されると、カートリッジ110に貯留されたインクが、ニードル104を通じてサブタンク102に流出する。そして、サブタンク102内のエアが、ニードル103を通じてカートリッジ110に流入する。すなわち、カートリッジ110とサブタンク102とにおいて、インクとエアとが交換される。 A phenomenon in which the ink stored in the cartridge 110 moves to the sub-tank 102 through the needle 104 will be described. When the cartridge 110 storing ink is attached to the attachment case 101 with the sub-tank 102 empty, the ink stored in the cartridge 110 flows out to the sub-tank 102 through the needle 104 . Air in the sub-tank 102 then flows into the cartridge 110 through the needle 103 . That is, ink and air are exchanged between the cartridge 110 and the sub-tank 102 .

カートリッジ110からサブタンク102に流出したインクは、サブタンク102の内部空間に溜まる。サブタンク102に貯留されたインクの液面の高さ位置が、ニードル103の下端に到達すると、ニードル103を通じてエアがカートリッジ110の内部空間に移動できなくなる。そうすると、ニードル104を通じてのカートリッジ110からサブタンク102へのインクの流出が停止する。すなわち、カートリッジ110からサブタンク102へは、ニードル103の下端となる高さ位置に液面が到達するまでインクが流出する。そして、印刷によってサブタンク102に貯留されたインクが減少し、サブタンク102に貯留されたインクの液面の高さ位置が、ニードル103の下端よりも下方になると、ニードル103を通じてサブタンク102からカートリッジ110にエアが移動する。エアの移動により、ニードル104を通じて、カートリッジ110からサブタンク102にインクが流出する。そして、サブタンク102に貯留されたインクの液面がニードル103の下端に到達すると、上述と同様に、カートリッジ110からサブタンク102へのインクの流出が停止する。 Ink flowing out from the cartridge 110 into the sub-tank 102 accumulates in the internal space of the sub-tank 102 . When the liquid level of the ink stored in the sub-tank 102 reaches the lower end of the needle 103 , air cannot move through the needle 103 into the internal space of the cartridge 110 . Then, the outflow of ink from the cartridge 110 to the sub-tank 102 through the needle 104 is stopped. In other words, the ink flows out from the cartridge 110 to the sub-tank 102 until the liquid surface reaches the lower end of the needle 103 . When the ink stored in the sub-tank 102 decreases due to printing and the liquid level of the ink stored in the sub-tank 102 becomes lower than the lower end of the needle 103, the needle 103 flows from the sub-tank 102 to the cartridge 110. air moves. Ink flows out from the cartridge 110 to the sub-tank 102 through the needle 104 by movement of the air. Then, when the liquid surface of the ink stored in the sub-tank 102 reaches the lower end of the needle 103, the outflow of the ink from the cartridge 110 to the sub-tank 102 stops as described above.

コントローラ51は、報知処理(図6(A))において、CTG残量値が判断閾値未満であると判断すると(S35:Yes)、ステップS36のサブタンク貯留量増大処理において駆動モータ107を駆動させる。駆動モータ107が駆動されることにより、ニードル103の内筒106が、突出位置から収容位置に向かってスライドする。すなわち、ニードル103の下端が上方に移動する。そして、ニードル103を通じてエアがサブタンク102からカートリッジ110に流入し、ニードル104を通じてインクがカートリッジ110からサブタンク102に流出する。サブタンク102に貯留されたインクの液面の高さ位置がニードル103の下端に到達すると、カートリッジ110からサブタンク102へのインクの流出が停止する。すなわち、ニードル103の下端が上方に移動することにより、サブタンク102が貯留するインクの量が増加する。ニードル103の下端が上方に移動することによってカートリッジ13からサブタンク72にインクが流出することは、限界貯留量の増加の一例である。 When the controller 51 determines that the CTG remaining amount value is less than the determination threshold value in the notification process (FIG. 6A) (S35: Yes), it drives the drive motor 107 in the sub-tank storage amount increase process of step S36. By driving the drive motor 107, the inner cylinder 106 of the needle 103 slides from the protruded position toward the accommodated position. That is, the lower end of needle 103 moves upward. Air flows from the sub-tank 102 into the cartridge 110 through the needle 103 , and ink flows out of the cartridge 110 into the sub-tank 102 through the needle 104 . When the liquid level of the ink stored in the sub-tank 102 reaches the lower end of the needle 103, the outflow of ink from the cartridge 110 to the sub-tank 102 stops. That is, by moving the lower end of the needle 103 upward, the amount of ink stored in the sub-tank 102 increases. The flow of ink from the cartridge 13 into the sub-tank 72 due to the upward movement of the lower end of the needle 103 is an example of an increase in the limit storage amount.

図10(C)は、空になったカートリッジ110が新しいカートリッジ110に交換された状態を示している。インクを貯留する新しいカートリッジ110が装着ケース101に装着されても、カートリッジ110からサブタンク102にインクは流出しない。すなわち、サブタンク102の大気連通口108からインクが溢れることはない。そして、印刷によってインクが使用され、サブタンク102に貯留されたインクの液面の高さ位置がニードル103の下端より下方となると、ニードル104を通じて、カートリッジ110からサブタンク102にインクが流出する(図10(D))。 FIG. 10C shows a state in which the empty cartridge 110 has been replaced with a new cartridge 110 . Even if a new cartridge 110 storing ink is attached to the attachment case 101, the ink does not flow out from the cartridge 110 to the sub-tank 102. - 特許庁That is, the ink does not overflow from the atmosphere communication port 108 of the sub-tank 102 . When the ink is used for printing and the liquid level of the ink stored in the sub-tank 102 becomes lower than the lower end of the needle 103, the ink flows out from the cartridge 110 to the sub-tank 102 through the needle 104 (see FIG. 10). (D)).

[変形例3の作用効果]
本変形例でも、一のカートリッジ110が空になったことをトリガとして、他の一乃至複数のカートリッジ110を強制的に空にすることができる。したがって、プリンタ10は、ユーザに、複数のカートリッジ110を同時に交換させることができる。また、ユーザが、空になったカートリッジ110を交換するついでに、インクが少なくなった他のカートリッジ110も交換した場合であっても、当該他のカートリッジ110は空であるので、インクが無駄に捨てられることがない。なお、駆動モータ107に代えて、電磁石などが用いられてもよい。
[Action and effect of modification 3]
In this modified example as well, the emptying of one cartridge 110 can be used as a trigger to forcibly empty one or more other cartridges 110 . Therefore, the printer 10 allows the user to replace multiple cartridges 110 at the same time. Also, even if the user replaces the empty cartridge 110 and replaces another cartridge 110 with less ink, the other cartridge 110 is empty and the ink is wasted. never be An electromagnet or the like may be used instead of the drive motor 107 .

[その他の変形例]
上述の実施形態では、印刷によってインクが使用されると、重力と大気圧によって、カートリッジ13からサブタンク72にインクが移動される例を説明した。しかしながら、印刷によってインクが使用されると、ポンプ87によって、カートリッジ13からサブタンク72にインクが移動されてもよい。一例として、印刷が実行されると、インクの液面が低下し、液面センサ33が出力する検出信号は、第1検出信号から第2検出信号に変化する。コントローラ51は、液面センサ33が出力する検出信号が第2検出信号から第1検出信号に変化するまでポンプ87を駆動することでカートリッジ13からサブタンク72にインクを供給する。サブタンク貯留量増大処理では、液面センサ33が出力する検出信号が第2検出信号から第1検出信号に変化してもさらに所定時間ポンプ87を継続して駆動することでカートリッジ13からサブタンク72にインクをより多く供給する。これも限界貯留量の増加の一例である。
[Other Modifications]
In the above-described embodiment, an example has been described in which, when ink is used for printing, the ink is moved from the cartridge 13 to the sub-tank 72 by gravity and atmospheric pressure. However, pump 87 may move ink from cartridge 13 to sub-tank 72 as ink is used by printing. As an example, when printing is executed, the ink level drops and the detection signal output by the liquid level sensor 33 changes from the first detection signal to the second detection signal. The controller 51 supplies ink from the cartridge 13 to the sub-tank 72 by driving the pump 87 until the detection signal output by the liquid level sensor 33 changes from the second detection signal to the first detection signal. In the sub-tank storage amount increasing process, even if the detection signal output by the liquid level sensor 33 changes from the second detection signal to the first detection signal, the pump 87 is continuously driven for a predetermined time to increase the amount of liquid from the cartridge 13 to the sub-tank 72. Supply more ink. This is also an example of an increase in marginal storage.

また、上述の実施形態では、液面センサ33の信号変化により確認フラグを「ON」とし(S19)、確認フラグが「ON」時にサブタンク貯留量増大処理(S36)を行う例を説明した。しかしながら、液面センサ33の信号変化を用いなくてもよい。例えば、総カウント値がEEPROM57に予め記憶された閾値以上となったことに応じて、或いは、算出したCTG残量値がEEPROM57に予め記憶された閾値未満となったことに応じて、確認フラグを「ON」するようにしてもよい。上記閾値は、第1閾値の一例である。このように処理することで、一のカートリッジ13が空となる前に同時に発注することが可能となるなど利用の幅が広がる。 Further, in the above-described embodiment, an example has been described in which the confirmation flag is turned "ON" (S19) due to a change in the signal of the liquid level sensor 33, and the sub-tank storage amount increase processing (S36) is performed when the confirmation flag is "ON". However, the signal change of the liquid level sensor 33 may not be used. For example, when the total count value becomes equal to or greater than a threshold value stored in advance in the EEPROM 57, or when the calculated CTG remaining amount value becomes less than a threshold value stored in advance in the EEPROM 57, a confirmation flag is set. You may make it "ON". The above threshold is an example of the first threshold. By processing in this way, it is possible to place an order at the same time before one cartridge 13 becomes empty, thereby widening the range of utilization.

また、上述の実施形態では、液面センサ33の設置位置が、ニードル75の設置位置と同じ高さ位置とされた例を説明した。すなわち、液面センサ33が出力する検出信号が、カートリッジ13が空になった場合に変化する例を説明した。しかしながら、液面センサ33の設置位置は、ニードル75の設置位置よりも上方となる高さ位置とされてもよい。この場合、例えば、液面センサ33の信号変化からのカウント値を用いてカートリッジ13のCTG残量値を計算するようにするとよい。 Further, in the above-described embodiment, the installation position of the liquid level sensor 33 is set at the same height position as the installation position of the needle 75 . That is, an example in which the detection signal output by the liquid level sensor 33 changes when the cartridge 13 is empty has been described. However, the installation position of the liquid level sensor 33 may be a height position above the installation position of the needle 75 . In this case, for example, the CTG remaining amount value of the cartridge 13 may be calculated using the count value from the signal change of the liquid level sensor 33 .

また、上述の実施形態では、全ての色のサブタンク72の貯留量が増大される構成である例を説明した。しかしながら、一部の色のサブタンク72のみ貯留量が増大される構成であってもよい。例えばブラックのみのサブタンク72のみ貯留量が増大される構成として、イエロー、マゼンタ又はシアンのカートリッジ13が空になったときに必要に応じてブラックのサブタンク72の貯留量を増大してもよい。 Further, in the above-described embodiment, an example was explained in which the storage amounts of the sub-tanks 72 of all colors are increased. However, the configuration may be such that the storage amount is increased only in the sub-tanks 72 of some colors. For example, as a configuration in which only the black sub-tank 72 has an increased storage amount, the storage amount of the black sub-tank 72 may be increased as necessary when the yellow, magenta, or cyan cartridge 13 is empty.

10・・・プリンタ
13・・・カートリッジ
18・・・液室
16・・・流出口
34・・・流入口
72、102・・・サブタンク
79・・・液室
87・・・ポンプ
REFERENCE SIGNS LIST 10 Printer 13 Cartridge 18 Liquid chamber 16 Outflow port 34 Inflow port 72, 102 Sub-tank 79 Liquid chamber 87 Pump

Claims (6)

消費材を貯留する第1室、及び上記第1室内の消費材が流出する第1流出口を有する第1カートリッジと接続可能なタンクであって、消費材を貯留する第3室、及び接続された上記第1カートリッジの上記第1流出口から流出した消費材が流入する第1流入口を有する第1タンクと、
消費材を貯留する第2室、及び上記第2室内の消費材が流出する第2流出口を有する第2カートリッジと接続可能なタンクであって、消費材を貯留する第4室、及び接続された上記第2カートリッジの上記第2流出口から流出した消費材が流入する第2流入口を有する第2タンクと、
コントローラと、を備え、
上記コントローラは、
上記第1タンクに接続された上記第1カートリッジの上記第1室に貯留されている消費材が無くなったこと又は第1閾値より少なくなったことを検知し、
上記第1タンクに接続された上記第1カートリッジの上記第1室に貯留されている消費材が無くなったこと又は第1閾値より少なくなったことを検知した後の所定タイミングにおいて、上記第2カートリッジの上記第2室に貯留されている消費材が第2閾値より少ないか否かを判定し、
上記第2室に貯留されている消費材が第2閾値より少ないと判定した場合、上記第4室に貯留可能な消費材の貯留量である限界貯留量を増加する画像記録装置。
A tank connectable to a first cartridge having a first chamber for storing a consumable material and a first outlet through which the consumable material in the first chamber flows out, the tank being connectable to a third chamber for storing the consumable material and a connected a first tank having a first inlet into which the consumable material flowing out from the first outlet of the first cartridge flows;
A tank connectable to a second cartridge having a second chamber for storing a consumable material and a second outlet through which the consumable material in the second chamber flows out, the tank being connectable to a fourth chamber for storing the consumable material and a connected a second tank having a second inlet into which the consumable material flowing out from the second outlet of the second cartridge flows;
a controller;
The above controller is
Detecting that the consumables stored in the first chamber of the first cartridge connected to the first tank are exhausted or less than a first threshold;
at a predetermined timing after detecting that the consumable material stored in the first chamber of the first cartridge connected to the first tank is exhausted or less than a first threshold value, the second cartridge Determining whether the consumables stored in the second chamber of is less than the second threshold,
An image recording apparatus for increasing a limit storage amount, which is a storage amount of consumables that can be stored in the fourth chamber, when it is determined that the amount of consumables stored in the second chamber is less than a second threshold value.
上記コントローラは、
上記第1室に貯留された消費材の残量を取得し、
取得した上記第1室の残量が、ゼロまたは上記第1閾値より少ないと判定したことに応じて第1報知を報知し、
上記第2室に貯留された消費材の残量を取得し、
取得した上記第2室の残量が、ゼロまたは上記第2閾値より少ないと判定したことに応じて第2報知を報知する請求項1に記載の画像記録装置。
The above controller is
Acquiring the remaining amount of consumables stored in the first room,
announcing a first notification in response to determining that the acquired remaining amount of the first chamber is zero or less than the first threshold;
Acquiring the remaining amount of consumables stored in the second room,
2. The image recording apparatus according to claim 1, wherein the second notification is issued in response to determination that the acquired remaining amount of the second chamber is zero or less than the second threshold.
上記画像記録装置は、通信インタフェースを更に備えており、
上記コントローラは、
取得した上記第1室の残量がゼロまたは上記第1閾値より少ないと判定したこと、及び上記限界貯留量を増加したことを条件として、上記第1カートリッジ及び上記第2カートリッジの発注を指示する発注情報を上記通信インタフェースを通じて送信する請求項1又は2に記載の画像記録装置。
The image recording device further comprises a communication interface,
The above controller is
Instructing to order the first cartridge and the second cartridge on the condition that the obtained remaining amount of the first chamber is determined to be zero or less than the first threshold value and that the limit storage amount is increased. 3. The image recording apparatus according to claim 1, wherein the order information to be ordered is transmitted through the communication interface.
上記画像記録装置は、上記第2室から上記第4室へ消費材を流通させるポンプを備え、
上記コントローラは、上記ポンプにより、上記限界貯留量を変更する請求項1から3のいずれかに記載の画像記録装置。
The image recording device comprises a pump for circulating the consumable material from the second chamber to the fourth chamber,
4. The image recording apparatus according to any one of claims 1 to 3, wherein said controller changes said limit storage amount by means of said pump.
上記第2タンクは、上記第4室を区画し移動する移動部を備え、
上記コントローラは、上記移動部を移動させて上記第4室の容積を増加させることで上記限界貯留量を増加する請求項1から3のいずれかに記載の画像記録装置。
The second tank has a moving part that partitions and moves the fourth chamber,
4. The image recording apparatus according to any one of claims 1 to 3, wherein the controller increases the limit storage amount by increasing the capacity of the fourth chamber by moving the moving section.
上記第2タンクは、
上記第4室を大気に連通させる大気連通口と、
上記第2カートリッジが接続されているときに上記第2室と連通し、貫通孔を介して上記第4室と連通する第1流路を構成しており、少なくとも上記貫通孔が上昇可能な第1筒体と、
上記第2カートリッジが接続されているときに上記第2室と連通し、上記第2流入口を介して上記第4室と連通する第2流路を構成している第2筒体と、を備え、
上記貫通孔は、上記大気連通口より下方に位置しており、
上記限界貯留量は、上記第4室のうち上記貫通孔より下の部分の容積であり、
上記コントローラは、上記貫通孔を上昇させることで上記限界貯留量を増加する請求項1から3のいずれかに記載の画像記録装置。
The second tank is
an atmosphere communication port that communicates the fourth chamber with the atmosphere;
When the second cartridge is connected, a first passage is formed which communicates with the second chamber and communicates with the fourth chamber via the through-hole, and at least the through-hole is an upwardly movable first passage. 1 cylinder,
a second cylinder that forms a second flow path that communicates with the second chamber when the second cartridge is connected and communicates with the fourth chamber via the second inlet; prepared,
The through hole is located below the air communication port,
The limit storage amount is the volume of the portion of the fourth chamber below the through hole,
4. The image recording apparatus according to claim 1, wherein the controller increases the limit storage amount by raising the through hole.
JP2019084941A 2019-04-26 2019-04-26 image recorder Active JP7290059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019084941A JP7290059B2 (en) 2019-04-26 2019-04-26 image recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019084941A JP7290059B2 (en) 2019-04-26 2019-04-26 image recorder

Publications (2)

Publication Number Publication Date
JP2020179610A JP2020179610A (en) 2020-11-05
JP7290059B2 true JP7290059B2 (en) 2023-06-13

Family

ID=73023559

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019084941A Active JP7290059B2 (en) 2019-04-26 2019-04-26 image recorder

Country Status (1)

Country Link
JP (1) JP7290059B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102535889B1 (en) * 2021-02-05 2023-05-26 주식회사 엘지화학 cureable composition

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002307719A (en) 2001-04-13 2002-10-23 Seiko Epson Corp Ink jet recorder and method for deciding ink end thereof
JP2007083548A (en) 2005-09-22 2007-04-05 Seiko Epson Corp Ink supply device for printer
JP2010274549A (en) 2009-05-29 2010-12-09 Brother Ind Ltd Image recorder
JP2012096379A (en) 2010-10-29 2012-05-24 Seiko Epson Corp Printing method, program, and printer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3288954B2 (en) * 1997-06-19 2002-06-04 キヤノン株式会社 Printing apparatus and control method for the printing apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002307719A (en) 2001-04-13 2002-10-23 Seiko Epson Corp Ink jet recorder and method for deciding ink end thereof
JP2007083548A (en) 2005-09-22 2007-04-05 Seiko Epson Corp Ink supply device for printer
JP2010274549A (en) 2009-05-29 2010-12-09 Brother Ind Ltd Image recorder
JP2012096379A (en) 2010-10-29 2012-05-24 Seiko Epson Corp Printing method, program, and printer

Also Published As

Publication number Publication date
JP2020179610A (en) 2020-11-05

Similar Documents

Publication Publication Date Title
JP6543994B2 (en) Printing device
JP7463823B2 (en) Image Recording Device
EP1888345B1 (en) Image forming apparatus
WO2020196731A1 (en) Image recording device
US20090040251A1 (en) Display control method and apparatus for printer
EP3785919B1 (en) Printing apparatus and printing system
US9283790B2 (en) Liquid ejecting method and liquid ejecting apparatus
JP7290059B2 (en) image recorder
JP4245411B2 (en) Image forming apparatus
JP2005305655A (en) Ink jet printer
JP3933660B2 (en) Image forming apparatus
JP4805690B2 (en) Image forming apparatus
JP5985902B2 (en) inkjet printer
JP7404674B2 (en) image recording device
JP7290058B2 (en) image recorder
JP2007144629A (en) Image forming device
JP7268444B2 (en) image recorder
JP7024557B2 (en) Liquid consuming device
JP6834518B2 (en) Image recording device
JP2019177498A (en) Liquid consumption system
JP2020142409A (en) Control device and program
JP2007111865A (en) Image forming apparatus
JP2017205911A (en) Inkjet recording device, setting method for near-end threshold, and control method for inkjet recording device
JP2005047062A (en) Image formation device, ink refilling mechanism part, driving control program and recording medium with driving control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230411

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230515

R150 Certificate of patent or registration of utility model

Ref document number: 7290059

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150