JP3624608B2 - Printing apparatus and control method thereof - Google Patents

Printing apparatus and control method thereof Download PDF

Info

Publication number
JP3624608B2
JP3624608B2 JP00501397A JP501397A JP3624608B2 JP 3624608 B2 JP3624608 B2 JP 3624608B2 JP 00501397 A JP00501397 A JP 00501397A JP 501397 A JP501397 A JP 501397A JP 3624608 B2 JP3624608 B2 JP 3624608B2
Authority
JP
Japan
Prior art keywords
state
printing
printing apparatus
function
transition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP00501397A
Other languages
Japanese (ja)
Other versions
JPH09314962A (en
Inventor
直彦 小圷
義一 伊藤
和寿 有賀
政寛 箕輪
和子 深野
朝弘 小口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP00501397A priority Critical patent/JP3624608B2/en
Publication of JPH09314962A publication Critical patent/JPH09314962A/en
Application granted granted Critical
Publication of JP3624608B2 publication Critical patent/JP3624608B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、ホスト装置から受信したコマンド等のデータに基づいて印字処理を行うプリンタに係り、特に、 消耗部品が消耗した際にこれの補充があるまで印字処理を中断するプリンタにおける印字処理の再開処理プリンタに関する。
【0002】
【従来の技術】
従来、POS/ECRの分野においては、データ入力装置、ホスト装置、及びプリンタが一体となったスタンドアロン型の装置によって専用システムが構成されていた。
【0003】
しかし近年では、データ処理の迅速性やシステム構成の柔軟性から、データ入力装置、ホスト装置、プリンタがそれぞれ分離され、互いに離間した場所で使用される分散型システムが広く用いられるようになって来た。
【0004】
このような分散型システムに用いられるプリンタは、一般にはターミナルプリンターと呼ばれている。以下、この種のプリンタを用いるシステムをレストラン等の飲食店で用いられるものを例示して説明する。ここで用いられるプリンタはキッチンプリンターと称されており、接客者が店内フロアーで受注したオーダーを携帯型のデータ入力装置に入力するとオーダーが直ちにホスト装置1に送信され、厨房内に置かれたキッチンプリンターがオーダー内容を印字出力するように構成されている。このようなシステムによれば、オペレータが印字内容を見ながら処理できるのでミスが防止でき、販売内容の管理、処理も容易にできることから種々の業種に導入されつつある。
【0005】
しかしながらこのようなプリンタが置かれる場所では、調理器具や金庫等の他の設備を優先的に配置しなければならない場合が多く、そのため、データプリンタには、小型で設置面積が小さいものであることが求められており、装着されるロール紙やインクカートリッジのインク等の消耗部品の量には限界がある。また、ホスト装置は使用環境の制約等から離れた場所に設置されるのが通例である。他方、そのようなプリンタは多量のデータを印字処理しているため、システムの稼働中にインク等の消耗部品を使い尽くしてしまう場合が多い。
【0006】
ロール紙の残量は、ロール紙がなくなったことを検出するペーパアウトセンサや、ロール紙の残りが少ないことを検出する周知のニアエンドセンサによって検出される。また、装着されたインクカートリッジ内のインク残量はインク残量検出器で監視されている。これらの消耗部品がなくなるとプリンタは直ちに印字処理を停止し、更なるデータの受信を行わないか、あるいはその蓄積を保証しない状態、即ちオフライン状態となる。更に、これをホスト装置に知らせることによってホスト装置から受信するデータの喪失を防止していた。
【0007】
そしてホスト装置はオフライン状態を検知すると、ランプの点滅やブザー音で消耗部品の補充が必要なことをオペレータに知らせる。そして、補充後は、オンラインスイッチが押されるか、ロール紙やインクカートリッジを覆っているカバーが閉じられるかするとオンライン状態に回復して印字処理を再開していた。すなわち、ロール紙の補充やインクカートリッジの交換が終了した場合には、オペレータは図示しないオンラインスイッチを操作してオンライン状態に回復させ、印字処理を再開させる。または、消耗部品の補充後に閉成される上記のカバーを取り付けてある場合には、カバーセンサーがその閉成を検出してプリンタはオンライン状態に回復し、印字処理が再開されるのである。
【0008】
なお、ロール紙の補充の際には、オペレータはペーパフィードスイッチを操作して損傷や変色のあるロール紙の先端部分を更に空送りした後上記の操作によりオンライン状態に移行させる。また、インクカートリッジの種類によっては、インクが吐出されるインクノズル近傍のインクが増粘してインクの吐出不良が発生する場合があるため、インクカートリッジの交換後、スイッチ操作によって、増粘したインクの強制吐出、いわゆるフラッシングを行わせた後、更に前述の操作を行ってオンラインに回復させる必要があった。
【0009】
上記はロール紙やインクが消耗した場合についての例であるが、従来技術においては、例えば熱転写プリンタにおけるインクリボンのような消耗部品が無くなるか又は残量が少なくなった場合も、プリンタによって一旦オフライン状態とした後、オペレータが同様の処理を行ってオンライン状態に回復させていた。
【0010】
しかしながら近年、低価格、高信頼性への要求が一層強くなり、機能を維持した上での部品点数の削減が求められている。そしてカバーセンサーや専用のオンラインスイッチもその必要性が再検討された。
【0011】
従来、これらのオンラインスイッチやカバーセンサーを省略する技術は、特開平6−47992号公報に開示されているように、プリンタがオフライン状態になった後、予め設定されている所定時間の経過によりインク等の消耗部品の補充作業が完了したものとして、自動的にオンライン状態に復帰するものであった。
【0012】
【発明が解決しようとする課題】
しかし、オペレータの熟練度によってロール紙等の消耗部品の交換に要する時間が異なり、また、ロ−ル紙の交換に引き続いてインクカートリッジ等の他の消耗部品の交換をもしなければならない場合もあり、必ずしも一定の時間内に印字を再開できる状態になるとは限らない。そして、印字を再開できる状態になる前に印字を行った場合には、印字が正しく行われず、印字データが失われてしまうおそれがある。従って、前述のキッチンプリンターやレジスター等に従来の技術を用いた場合には、印字データが失われて業務が混乱するおそれがあった。
【0013】
本発明は、このような従来の技術における不具合を解消し、機能を維持した上でオンラインスイッチやカバーセンサを省略しようとするものであり、特に、印字データを失うことなく、オンライン状態に回復することができるプリンタを提供することを目的とするものである。
【0014】
【課題を解決するための手段】
上記の目的を達成するため、本発明の印刷装置は、印刷媒体を搬送する搬送機構と、この印刷媒体に印刷を行う印刷手段とを用い、ホスト装置から受信したデータに基づいて印刷処理を行うように構成されるとともに、そのデータの処理を保証する第1の状態、いわゆるオンライン状態と、データの処理を保証しない第2の状態、いわゆるオフライン状態とを選択的に取り、且つその状態をホスト装置に通知する印刷装置であって、印刷処理に伴い消費されるロール紙やインク等の消費材の消耗または無し、及び補充または有りを検出するペーパエンドセンサやインク残量センサ等の消費材検出手段と、手動操作可能であり、且つオフライン状態からオンライン状態への遷移を指示するオンライン機能と、消費材の補充に伴って印刷装置が行うべきペーパフィードやインクノズルのリフレッシュ等の処理を指示する第2の機能とを選択的に備えた操作手段と、消費材検出手段による消費材の消耗または無しの検出に基づいて印刷装置をオフライン状態に遷移させる第1の状態遷移手段と、この第1の状態遷移手段によるオフライン状態への遷移の後、消費材検出手段による消費材の補充または有りの検出に基づいて操作手段のオンライン機能を選択する機能選択手段とを有することを特徴とする。
【0015】
この場合の第1の状態は、いわゆるオンライン状態を意味しており、本発明では印字装置内に設けられた記憶装置から印字すべきデータを取り出して印刷媒体に印字処理を行う状態の他、記憶装置を有しない印字装置では、受信したデータを直ちに印刷媒体に印字処理する状態も含まれる。また、本発明における第2の状態は、いわゆるオフライン状態を意味しており、この状態ではホスト装置はデータの送信を停止するのが普通である。しかし、この状態で印字装置がデータを受信した場合には、記憶装置がオーバーフローしたり、印字手段が動作しない等によって、印字処理すべきデータが失われることがあるものの、データを受信しない状態ではないものとする。
【0016】
また、この場合の消耗及び補充は、単純に有無としても良く、消耗検出器は単純に消費材の有無を検出する、消費材検出器としてもよい。
【0017】
これにより、印字処理に伴って消費される消費材が消耗し、消耗検出器による消耗の検出に基づいて印字装置がオフライン状態となった場合には、操作者が当該消費材を補充した後、操作手段を操作するば印字装置をオンライン状態に回復させられる機能、すなわちオンライン復帰機能を持たせることができる。
【0018】
例えば、消費材として印刷媒体である印字用紙を、その消耗を検出する消耗検出器としてペーパエンドセンサを、また、操作手段としてペーパフィードスイッチを挙げることができる。この場合には、ペーパフィードスイッチの本来の機能は、印字用紙を所定量搬送することであり、消費材であるロール紙の補充に伴って印刷装置が行うべき処理である。これによれば、ロ−ル紙のような印字用紙がなくなって、印字装置がオフライン状態となった場合には、操作者が印字用紙の補充を行った後ペーパフィードスイッチを操作すれば、印字装置はオンライン状態に回復し、印字処理を正常に継続することができる。
【0019】
この場合において、操作手段のオンライン指定機能の選択は、消耗検出器又は消費材検出器の補充又は有りの検出の時から、所定の期間の経過の後に行われることが望ましい。これにより、消費材を補充した後に操作手段の本来の機能を用いることができ、消費材の補充を一層確実に行うことができる。上記の例においては、所定の期間内にペーパフィードスイッチを操作することにより、ペーパフィードを行うことができ、印字用紙の装填を容易且つ確実に行うことができる。
【0020】
更に、この場合において、所定の期間内に操作手段が操作された場合には、最後の操作の時から所定の期間が経過した後にオンライン指定機能の選択が行われるようにすることが望ましい。これにより、消費材補充後に操作手段の本来の機能を用いる場合の時間的制約を排除することができる。上記の例では、印字用紙補充後に多量のペーパフィードを行っても、その操作の途中でペーパフィードスイッチの機能がオンライン指定機能に切り替わり、意に反してオンライン状態に遷移することを避けることができる。
【0021】
以上の場合において、操作手段のオンライン指定機能の選択の時から所定の期間の経過の後に、操作手段の本来の機能が選択されるとともにオンライン状態に遷移するようにしてもよい。これにより、操作手段の操作を行うことが煩雑な場合や、操作をし忘れた場合にも、所定の期間の経過により自動的に操作手段は本来の機能に戻り、印字装置はオンライン状態に回復することができる。
【0022】
また、これらの場合において、操作手段のオンライン指定機能の選択の後は、ホスト装置から受信した時に印字装置のオンライン、オフラインの状態に拘わらず即時に実行されるコマンド、即ちリアルタイムコマンドに基づき、オンライン状態に遷移するようにしてもよい。これにより、手動操作及びコマンドによるオンライン状態への回復が可能となり、ホスト装置が離れた場所に設置されている場合には、何れか近い方の装置から操作できる。
【0023】
更に本発明は印刷装置の制御方法としても表現することができ、上記と同様の作用効果を奏するものである。
【0024】
【発明の実施の形態】
本発明の実施の形態の一例を図面を用いて説明する。
図1は、本発明のプリンタ2の外観斜視図であり、該プリンタ2の内部には、図2に示すような、不図示のステッピングモーターや紙送りローラ7a、7b等で構成され、ロール紙の搬送を行う紙送り機構と、インクリボン17と印刷ヘッド9等で構成され、ロール紙10への印字を行う印字部と、対向型のフォトセンサ若しくはレバースイッチ等で構成されたの周知のペーパエンドセンサ29とが設けられている。
【0025】
プリンタ2はオペレータが誤って印字部に触れないようにこれを保護するカバー11を有し、カバー11はプリンタ操作パネル16の側を上方に持ち上げることにより、後方のヒンジを支点として回動し、開放状態とすることができる。カバー11の中央部には、印字の行われたロ−ル紙が排出されるための開口部12が設けられており、プリンタ2がレシート発行用に用いられる場合には、切断されたレシートが開口部12より排出される。
【0026】
尚、カバー11は必ずしもヒンジを介してプリンタ本体2に接続されている必要はなく、全体がプリンタ本体2から取り外せるように装着されてもよい。この場合には、上記の開口部12の左右であってカバー11の前後方向の重心位置近傍に、指の入る窪み11aを設けておくことが望ましい。また、プリンタ本体2の側面には、インクリボン17の交換を容易に行えるようにするために凹部11bが設けられている。
【0027】
プリンタ2の前面には操作パネル16及び電源スイッチ13が設けられている。操作パネル16はオペレータが誤って触れることがないようにプリンタ2の前面より窪んだ位置に設けられており、ロール紙の搬送を指示するためのスイッチ14及びプリンタ2の状態をオペレータに知らせるための表示器15を備えている。尚、本例では表示器15として発光ダイオード(LED)を用いているが、本発明はこれに限らず、液晶表示器等の周知の表示装置を用いることができる。また、本例ではスイッチ14として導電ゴムスイッチを用いているが、本発明はこれに限定されるものではなく、周知のプッシュスイッチやモーメンタリスイッチを用いることができる。また、電源スイッチ13はオペレータが誤って操作してしまうことがないように、スイッチ操作部がプリンタ2の前面から突出しない位置まで前面より窪んだ状態で取り付けられている。
【0028】
図2に本例で用いるロール紙プリンタ機構の横断面図を示す。プリンタ機構3にはすでにロール紙10が装填されている。ロール紙の補充は以下のように行われる。ロール紙給紙口5にロール紙10の先端11を挿入し、紙案内板4に当接させて滑らせながら挿入すると、ペーパーエンドセンサ29がロール紙10の先端11を検出する。この状態でスイッチ14を押すと、紙送りローラ6a、6b、7a及び7bが矢印の方向へ回転し、紙送りローラー6aと6bとがロール紙10の先端部11をつかみ、ローディング動作が開始される。所定量の紙送りが行われると、ロール紙10は印字ヘッド9とプラテン18との間を通過して搬送され、印字が可能な状態に設定される。その後、ロール紙10のプリンタ機構3外に搬送された部分は、プリンタ機構3の上部に配置されたカッター19で切断される。なお、給紙口5には繰り出しローラー8が配置されており、ロール紙10の慣性モーメントに起因する紙送り負荷を軽減している。
【0029】
図3に本例のプリンタ2の機能を説明するためのブロック図を示し、これを用いて本例のプリンタ2を更に詳細に説明する。本例のプリンタ2においては、ホスト装置1から送信されるコマンド及び印字データ39をプリンタ2内部のホストインタフェース25で受信し、ホストインタフェース25はこれを内部入力データ38に変換した後コマンド解釈部26に渡す。コマンド解釈部26では内部入力データ38を解釈し、直ちに実行すべきコマンド(リアルタイムコマンド)36であればこれを制御ユニット28に渡し、それ以外のコマンド、即ち通常のコマンドあるいは印字データ37であればこれをデータバッファ27に格納する。データバッファ27はいわゆるFIFOバッファであり、制御ユニット28の要求に応じて、格納されているコマンドまたは印字データ37をコマンド解釈部26から渡された順に制御ユニット28に渡す。
【0030】
制御ユニット28はコマンド解釈部26から渡されたリアルタイムコマンド36があればこれを最優先で実行し、これが無ければデータバッファ27から通常のコマンド等37を順次に読み出して実行する。また、制御ユニット28はコマンドの実行のために必要があればプリンタ機構3及び操作パネルとの間で所用の信号の授受を行い、また、必要があれば内部出力データ33をホストインタフェース25に渡す。この場合には、ホストインタフェース25は内部出力データ33をプリンタステータスデータ40に変換してホスト装置1に送信する。
【0031】
前述のように、プリンタ機構3にはロール紙10が装填されており、ロール紙10の有無を検出するペーパエンドセンサ29が設けられている。ペーパエンドセンサ29からの検出信号31は制御ユニット28に入力され周知の回路によって2値化される。また、ペーパエンドセンサ29自身によって2値化されていてもよい。この信号を、また、ペーパアウト信号31と称し、低レベルでロール紙がなくなっている状態を示すものとする。
【0032】
また、制御ユニット28からはプリンタ機構3に対しロール紙の搬送を指示するペーパフィード信号32が供給されている。この信号が高レベルとなるとロール紙の搬送を開始し、この信号が低レベルとなるまでロール紙の搬送を続ける。
【0033】
操作パネル16に設けられたスイッチ14からのスイッチ信号35は制御ユニット28に入力されており、後述するように、制御ユニット28は当該信号に応じて複数の処理を選択的に実行する。
【0034】
すなわち、制御ユニット28は、オンライン状態では、プリンタ機構3を動作させ、印字データ等に基づいてロール紙に印字処理ができるように構成されており、また、スイッチ14が操作されたことを検出すると、その時にスイッチ14に付与されている機能に従って処理を行うように構成されている。また、ペーパエンドセンサ29がロール紙がなくなったことを検出すると、制御ユニット28は上記の印字処理を中止し、従ってデータバッファ27からの制御ユニット28へのデータ等の取り出しも停止される。そして、データバッファ27の記憶容量を超えてデータが送られることによってデータが失われるのを回避するため、プリンタ2がデータを受け付けない状態、即ちオフライン状態とし、これをホスト装置1へプリンタステータスデータ40として通知する。
【0035】
オフライン状態においても、実際にはコマンド/データ39の受信及び解析は実行されるが、それらのコマンド/データ39を変換した通常コマンド等37はデータバッファ27の残り容量が無くなった場合には格納することができないので失われることになる。従って、ホスト装置1は、オフライン状態の通知を受信した後は、後述するリアルタイムコマンド36を除き、データ39の送信を速やかに停止し、且つ、その後に送信したデータは別途保存しておく必要がある。
【0036】
次に、図4に示すフローチャートに基づいて本例のプリンタ2におけるロール紙の補充処理を詳細に説明する。
ステップS61においてロール紙がなくなった状態(ペーパアウト信号31)が検出されると、制御ユニット28はステップS62においてオフライン状態に遷移する。この状態では印字処理やデータバッファ27からのコマンド及びデータの取り出しは行われず、データーバッファ27のオーバフローを回避するため、制御ユニット28は、ホストインターフェース25を介して、オフライン状態となったことをホスト装置1に通知し、データの送信停止を促す。一方、ペーパアウト信号31が検出されなければ、直ちにロール紙補充処理を終了して通常の処理、例えば印字処理を続行する。
【0037】
ステップS62でオフライン状態に設定された後は、ロール紙10が補充されるまで待機する(ステップS63)。そしてロール紙10が補充されてペーパアウト信号31が紙有りを示すと、ステップS64においてロール紙10のローディング動作を行う。すなわち、制御ユニット28はペーパフィード信号32をアクティブとしてプリンタ機構3に所定量のペーパフィードを行わせるのである。そして、ローディング動作終了後ステップS65においてタイマー(t1)がセットされる。
【0038】
ここで設定される時間t1はスイッチ14の機能の設定をペーパフィードのままにしておく時間であり、この間にオペレータはオフライン状態のままでロール紙の搬送を行わせることができる。従って、例えばロール紙の先端部分が損傷していたり変色していた場合は、ロール紙のローディング後にこの部分を必要なだけプリンタ機構3から排出することができる。
【0039】
その後、ステップS66においてスイッチ14が操作されたか否かがチェックされ、操作されていたらステップS67においてペーパフィード信号をプリンタ機構3に出力し、さらにペーパフィードを行う。
【0040】
このペーパフィード動作にはある程度の時間を要するので、その後はt1にセットされたタイマーを、セットしなおしてもよい。図中▲1▼の経路はこの場合を示し、タイマーはステップS68においてペーパフィード動作に要した時間を考慮して新たな値t2にリセットされる。また、▲2▼の経路はタイマーの値を変更しない場合の例であり、▲3▼の経路はタイマーを初期の値即ちt1にリセットする場合の例である。
【0041】
ステップS69においてタイマーが所定の時間の計測を終了すると、ステップS70において、後述するリアルタイムコマンドのチェックが行われる。そして、当該コマンドが検出されなければ、ステップS71においてスイッチ14の機能をオンライン状態への遷移を指示する機能(オンライン機能)に切り替える。ステップS72においてタイマーをt3にセットし、ステップS73でスイッチ14が操作されたかをチェックする。そして、当該スイッチ14が押されていたら制御ユニット28は、印字処理が可能な状態に回復したものと判断し、ステップS77においてオンライン状態に遷移するとともに、データバッファ27にデータが蓄積されている場合には当該データの処理及び印字処理が再開される。このとき、ホスト装置1に対してその旨を通知することはいうまでもない。また、この状態ではスイッチ14に割り当てられたオンライン機能はもはや必要が無いため、ステップS76においてスイッチ14の機能を通常のペーパフィード機能に戻しておく。
【0042】
ところで、本例において、オンライン状態に復帰するためには必ずスイッチ14を押さなければならないこととすると、当該スイッチを押し忘れた場合には、印字処理が再開されず、また、ホスト装置1からのデータ等39の送信ができないので、プリンタ2への消耗部品の補充が完了しているにもかかわらず、ホスト装置1を含めた情報処理システム全体の停止状態が継続してしまう。そこで、本例のプリンタ2は上記の他に、更に次に述べる機能をも備えている。
【0043】
第1の機能はオンライン回復を指定するリアルタイムコマンド(以下、オンライン回復コマンドと称する。)である。上述のように、プリンタ2は、割込処理回路によるコマンド解析部26によってデータを解析した結果、そのデータがリアルタイムコマンドであると判断した場合には、データバッファ27に蓄えられている未処理のデータにかかわらず、当該コマンドを制御ユニット28へ即刻送信する。そして、制御ユニット28においては当該コマンドが直ちに実行されるのである。なお、上記の割込処理回路はいわゆる割込回路の他にも、定期的なポーリングや、一連の処理の終了時に要求の有無を検出する処理等、比較的頻繁に処理が行われる回路及び処理方法をも含むものとする。
【0044】
以下、図4に示すフローチャートに従って当該処理を説明する。制御ユニット28は、オンライン回復コマンドを受信すると以下の処理を行う。先ず上述のスイッチ14の機能を切り換えるべき時刻(タイマーt1のオーバフローが発生した時刻。以下時刻Qという。)となっているか否かがステップS69において検知される。当該時刻Qにおいては、所要のローディング及びペーパフィード処理が行われたものと考えられるから、これ以降であればロール紙10の補充が完了している蓋然性が高いものと考えられる。従って、当該時刻Q以降に当該コマンドを受信した場合には(ステップS70)、ステップS77において直ちに印字処理を可能とし、オンライン状態へ遷移する。一方、当該コマンドの受信が当該時刻Qより前であれば、当該時刻Qまで待って(ステップS70)、同様の処理を実行する。これにより、スイッチ14を操作し忘れた場合等でも、ホスト装置1からの制御コマンドによってプリンタをオンライン状態へ回復させることが可能となる。
【0045】
第2の機能はいわゆるタイムアウト機能である。即ち、図4のフローチャートにおいて、上述のスイッチ14の機能を切り換えるべき時刻Qの後、所定の時間t3が経過した時(ステップS74)までにスイッチ14が操作されておらず(ステップS73)、且つオンライン回復コマンドを受信していない場合(ステップS75)には、その後に、自動的に印字処理の可能な状態に復帰し、オンライン状態に遷移する(ステップS77)。なお、このときペーパフィードスイッチの機能は通常のペーパフィード機能に遷移することはいうまでもない(ステップS76)。この場合、t3はロール紙の補充作業を完了するのに充分な時間とすることが必要である。これにより、スイッチ14の操作を行わなかった場合でも、補充作業の終了の後に装置をオンライン状態に回復させることができる。
【0046】
なお、上記の所定時間t1、t2、及びt3の値はプリンタの初期化動作時に設定しても良く、また、ホスト装置1から制御コマンドを用いて予め設定することも可能である。本例においては、これらの所定時間はマイクロプロセッサに内蔵されたタイマーを用いて測定し、所定時間の経過の時にイベント割込を発生してそれぞれの処理を行っているが、これに限らず、積分回路、微分回路等の時定数、NE555等のタイマーICを用いても実現できる。時間の設定はカウンタへの数値の設定、D/A変換器からの電圧出力等の周知の方法によって行うことができる。
【0047】
図5にスイッチ14の機能の切り替えを説明するためのブロック図を示す。上記のスイッチ14の機能の遷移は、スイッチ信号35をオンライン信号生成部28a及びペーパフィード信号生成部28bに選択的に接続する信号切替部28cと、当該接続の切換を指示するスイッチ機能切換信号34とによって行われる。スイッチ14が押され、入力バッファ14aに低レベルの信号が入力されると、入力バッファ14aからはスイッチ信号35として反転信号、即ち高レベルの信号が出力される。そして、スイッチ信号35は信号切替部28cによって、スイッチ機能切替信号34に応じてオンライン信号生成部28aまたはペーパフィード信号生成部28bに供給される。
【0048】
具体的には制御ユニット28内部におけるスイッチ信号35の解釈を変更することによって行われる。本例においては制御ユニット28はマイクロプロセッサによって実現されており、その処理プログラムの中でスイッチ信号35の接続された入力ポートの状態をペーパフィード動作の指定と判断するか、あるいはオンライン状態への遷移の指定と判断するかに応じて、機能の遷移が可能となるのである。他の例としては、信号切替部28cを周知のデータセレクタを用いて構成し、その選択信号として、マイクロプロセッサからスイッチ機能切替信号34を供給してもよい。その場合には、データセレクタの出力がそれぞれマイクロプロセッサの入力端子に接続され、それぞれの機能を要求する信号として用いられる。
【0049】
上記の例ではロール紙10という消耗部品の有無をペーパエンドセンサ29を用いて検出する場合について示したが、本発明はこれに限定されるものではなく、例えばロール紙10の残量を周知のニアエンドセンサを用いて検出する場合や、インクリボンの残量をリボンセンサを用いて検出する場合、インクジェットプリンタのインク残量をインク残量検出器によって検出する場合等にも用いることができる。
【0050】
以下、消耗部品の他の例として、インクカートリッジの交換を行う場合について説明する。なお、上述したロール紙の補充の場合と同様の部分については説明を省略する。
【0051】
本例の印字部は、インクカートリッジの先端部に配設されたインクジェットヘッドを用いてロール紙への印字を行うように構成されており、インクカートリッジの近傍にはインクカートリッジ内のインクの残量を検出するためのインク残量センサが設けられている。尚、本例においてはインク残量センサとして、インクカートリッジ内のインク流路に一対の電極を設け、この電極間の抵抗値を検出する方式のものを用いているが、本発明はこれに限らず、インク袋の一部に設けられた反射板に赤外光を投射し、この反射光を検出することによってインク袋の変形量を検出する方式等の周知のインク残量センサを用いることができる。
【0052】
図6に本例のプリンタ102で用いるプリンタ機構103の斜視図を示す。ロ−ル紙等の記録用紙は紙送りユニット104によってインクカートリッジ118等からなる印字部へ搬送され、インクカートリッジ118はキャリッジ117に搬送されて記録紙の搬送方向と直角方向に移動する。従って、記録紙の全面に印字を行うことができる。尚、当該移動は、キャリッジモータ120の回転をベルト123を介してキャリッジ117に伝達することによって行われる。
【0053】
インクカートリッジ118の交換は、交換レバー119を操作することによって行う。即ち、交換レバー119を紙面右側に倒すように操作するとキャリッジ117とインクカートリッジ118との係合が解除され、インクカートリッジ118はオペレータによって容易に取り外すことが可能となる。また、新しいインクカートリッジ118をキャリッジ117の所定の位置にセットした後、交換レバー119を元の位置に戻せば、インクカートリッジ118とキャリッジ117との係合が施錠される。
【0054】
プリンタ機構103にはプリンタ制御回路より多数の電気信号が配線されている。ケーブル121はプリンタ機構103の固定部、例えばキャリッジモータ120や印字タイミングを検出するためのキャリッジ駆動系位置センサ(不図示)への配線を含んでおり、フレキシブルケーブル122はキャリッジに搭載されたインクジェットヘッド(カートリッジ)118及びインク残量センサ(不図示)への配線を含んでいる。前述のようにキャリッジは記録紙の搬送方向と直角方向に移動可能となっているので、キャリッジへの配線はフレキシブルケーブル122で行う必要がある。
【0055】
図7は本例のプリンタ機構103及び紙送りユニット104の分解斜視図である。図示したように、プリンタ機構103と紙送りユニット104とはドライブシャフト124を介して結合されており、紙送りユニット104の駆動力はキャリッジモータ120からドライブシャフト124を介して供給されている。ただし、紙送りユニット側には当該駆動力を間欠的に紙送りに用いるための輪列が用意されており、いわゆる一行分に相当するキャリッジの移動が行われるまでは紙送りを行わず、その後次の行の先頭桁にキャリッジが移動するまでの間に一行分の紙送りが行われるようになっている。
【0056】
インクカートリッジ118の前面にはインクジェットヘッドが取り付けられており、そのインクノズル118aが露出している。本例のインクジェットヘッドはインクノズルの間隔(ノズルピッチ)と印刷すべきドットの紙送り方向の間隔(ドットピッチ)との関係を調整するために、紙送り方向と平行に配列されておらず、所定の角度を有して配列されている。
【0057】
本例のプリンタ102の機能を説明するためのブロック図は上述の例で示したブロック図(図3)と同様であるので、説明を省略する。すなわち、図3に示すブロック図において、ロール紙10をインクカートリッジ18に、ペーパエンドセンサ29をインク残量検出器129に、また、ペーパフィード信号32をリフレッシュ信号132にそれぞれ置き換えることによって、本例のブロック図を得ることができる。
【0058】
前述のように、プリンタ機構103はインクカートリッジ18及びインク残量検出器129を有している。本例におけるインク残量検出はインクカートリッジ118内のインク流路に設けた2本の電極の間の抵抗を検出する方式のものであるので、本例におけるインク残量検出器129は当該電極を言うものとする。尚、当該電極間の抵抗値を基にインクの残量を検出するための回路は、例えば抵抗値を電圧に変換するための定電流回路と、当該電圧を所定の電圧値と比較するコンパレータとから周知の構成で実現することができる。インク残量検出器129からのインク残量検出信号131は制御ユニット28に入力される。このインク残量検出信号131は、以降の信号処理を考慮すれば、上記の回路またはインク残量検出器129自身によって2値化されることが望ましい。この2値化された信号を、また、インク残量信号131と称する。
【0059】
また、制御ユニット28からのリフレッシュ信号132に応じて、プリンタ機構103はインクノズル118aのフラッシングを行う。すなわち、この信号が高レベルとなるとキャリッジをリフレッシュ動作に適した所定の位置まで移動させた後、この信号が低レベルとなるまでノズルのフラッシングを続けるのである。
【0060】
次に、図8に示すフローチャートを用いて、本例のプリンタ102におけるインクカートリッジ交換処理を詳細に説明する。この処理も上述の例とほぼ同様であるので、異なる部分のみの説明に止めることとする。
【0061】
本例では、インクカートリッジ118をキャリッジ117に搭載しているため、カートリッジの交換を検出した直後(ステップS83)にリフレッシュ動作を開始することは危険である。オペレータがインクカートリッジ118から手を離したか否かを検出することができないからである。従って、この時には上述の例とは異なり、プリンタ102はリフレッシュ動作を開始しない。
【0062】
ただし、インクカートリッジ交換後に初めて行われるリフレッシュ動作におけるフラッシングの回数を、その後にスイッチ操作に応じて行われるリフレッシュ動作におけるものより多く設定することは有効である。交換直後のカートリッジであっても、ノズル内のインクは増粘している場合があり、これを十分に排出する必要が有るからである。これにより、その後のスイッチ操作に応じて行われるリフレッシュ動作におけるインクの吐出量を必要以上に増大させることを防止できる。また、リフレッシュスイッチが押されている間はフラッシングを継続して行ってもよい。これにより、リフレッシュ時のインク吐出量をオペレータの任意に行うことができる。
【0063】
本例の場合には、インクカートリッジ118の交換を検出した後、スイッチ14が操作された場合に、オペレータの準備が整ったと判断して、初回のリフレッシュ動作を行う。また、タイマーt1がオーバフローするまでは、スイッチ14の操作に応じて更にフラッシングを行う。
【0064】
以上述べたように、本発明は、消耗部品の残量が所定量よりも少なくなったことがセンサによって検出された場合にオフライン状態となるプリンタにおいて、当該消耗部品の補充の完了を、専用のスイッチ等を用いないでプリンタに知らしめるための有効な方法及び装置を提供するものである。従って、当該分野における通常の知識を有する者であれば、上記の例に基づき必要な変形を施すことによって、あらゆる消耗部品について本発明を実施することが可能である。
【0065】
以上、プリンタの消耗部品または消耗品がなくなったかあるいは残り少なくなったことが検出された場合の処理について詳述したが、オンライン/オフラインの切替を指定する専用のスイッチまたはカバー開放センサを省略した場合には、使用環境や応用分野によっては更に次の課題を生じることがある。すなわち、プリンタが判断できない障害が発生したり、誤った印刷データをプリンタに送信してしまった等の場合に、プリンタの電源を切ることでしかプリンタの印刷動作を停止させることができないのである。そして、この場合には、すでにプリンタに送信され、これに格納されているコマンドや印刷データが全て失われてしまうこととなる。以下に述べる実施例はプリンタの電源を切ることなく印刷動作の中断を行うことができる有効な装置及び方法に関するものである。
【0066】
本例においては印字装置の記録用紙の搬送を指示するペーパーフィードスイッチを印字装置の状況に対応してその機能を選択的に切り替えることにより、この不都合を解消している。すなわち、プリンタが印字動作を開始すると当該印字動作が終了するまでは、ペーパーフィードスイッチやリフレッシュスイッチ等は、通常は、使用されることはない。従って、この期間に、それらのスイッチの機能を切り替え、オンライン/オフラインスイッチとして利用しようとするものである。本例においては、印字がスタートした後、このスイッチが操作されると、印字の制御を行う制御ユニットはプリンタの状態をオンラインからオフラインに切り替え、受信されたデータの格納が保証されない状態となり、印字動作も停止する。
【0067】
本例のプリンタ202の構成は上述のプリンタ2の構成と類似しているので、図示は省略し、相違点のみを説明することとする。なお、参照符号の下二桁はそれぞれ対応する構成要素を示している。
【0068】
まず、後述するようなプリンタの複数の動作状態を表示するため、LED215は複数設けられておりLED群を構成している。これらのLED215は印字制御を行う制御ユニット228によって点灯消灯の制御が行われる。
【0069】
また、制御ユニット228内部にはデータバッファ227から取り出した印刷データが1行毎のビットマップデータに展開されて格納される印字バッファ228dを備えられている。印字バッファ228dのビットマップデータは印刷ヘッド209の印刷要素の配列に応じて読み出され、読み出された後は消去される。また、印字バッファ228dへのデータの格納は、一行の印字が終了して紙送り等の改行処理を行う際に平行して行われる。従って、印字バッファ228dにデータが存在していれば一行の印刷処理の実行中または待機中である。
【0070】
次に、本例のプリンタの制御方法の一実施例を、図9に示すフローチャートを用いて詳細に説明する。
ステップS210でプリンタ202は印字処理のための周知の初期化処理を行った後通常の処理を開始する。。ステップS211でオンライン状態となりデータ受信待ちとなる。この状態で、スイッチ214が操作されると(ステップS223)、スイッチを押された時間または回数等に応じた所定量の紙送りが実行される(ステップS224)。
【0071】
一方、データの受信が開始されると、受信バッファのデータを展開し印字バッファ228dに一行分のデータが揃ったところでステップS213で印字処理がスタートする。なお、本例のプリンタはいわゆるシリアルプリンタであるために、印字バッファ228dとして一行分のビットマップを格納するものを用いているが、本発明はページプリンタにも適用可能であり、その場合には印字バッファ228dは一ページ分のビットマップデータを格納する。
【0072】
その後、ステップS214においてスイッチ214が操作されていなかった場合には、ステップS215で印字バッファ228dに次の行の印字データが有るか無いか確認し、印字データがなければ、ステップS216で受信データバッファ227に未処理の印字データがないか確認して、未処理の印字データが存在する場合には印字処理を継続する(ステップS213)。当該データが存在しない場合にはステップS217で印字処理を停止し、ステップS218で受信バッファ、印字バッファ等をクリアし、ステップS219でオンライン状態に遷移する。その後はステップS212へループしてホストからのデータを待つ。
【0073】
印字処理中、スイッチ214が操作されると(ステップS214)、プリンタ202は、緊急停止指令を受けたと判断し、印字データの受信を禁止するため、ステップS220でオフライン状態に遷移する。そして印字動作を中断し(ステップS221)、印字バッファ228d、受信データバッファ227内のデータは、そのまま保存され(ステップS222)、ステップS225以下において、印字中断が解除されるのを待つ。
【0074】
本例では、スイッチ214がペーパーフィードスイッチとして機能するか、オンライン/オフライン切り替えスイッチとして機能するかは、受信データバッファ227にデータが有るかないかに応じて設定される。すなわち、ホスト装置1からのデータの受信が開始されると同時に、スイッチ214の機能の切り替えが行われる(ステップS212)。
【0075】
オペレータによって緊急停止したプリンタ202は、本例では、スイッチ214を用いて、その中断した印字処理を再開することができる。ステップS225で所定の待機時間を設定した後、スイッチ214の操作を待ち(ステップS226)、スイッチ214が操作されると、プリンタ202は不具合が解消されたものと判断して印刷を開始する。
【0076】
なお、処理中の印刷をキャンセルしたい場合は、ホスト装置21からリアルタイムコマンドによって印字バッファ228d及びデータバッファ227のクリアを指示することもできる。ステップS227では、これを可能にするため、スイッチ214の操作を待ちながら同時に印刷取り消しを指示するリアルタイムコマンドの入力を確認する。そして入力があれば、バッファのクリア等の取り消し処理を実行する。更に、これらの処理の指定を待ちながら上記ステップS225で設定した所定の待機時間の経過を検知し(ステップS228)、当該待機時間が経過した場合は、エラー処理として例えばLED215等の表示手段あるいはブザー等を用いて警告を発生する。
【0077】
本例では印字処理中のスイッチ214の操作を一行分の印字処理(ステップS213)の後に行っている(ステップS214)が本発明はこれに限らず、例えば周知の割り込み処理などを用いて、当該印字処理の中で平行して 行ってもよい。
【0078】
さて、上述した例においては、操作を行ったオペレータにはプリンタの状態がわかっているはずであるが、他のオペレータには、プリンタがどの状態にあるのかがわからない場合がある。すなわち、印字処理の中断によって停止しているのか、データ受信まちで停止しているのか判断しにくいのである。そこで、更に以下に説明する制御装置及び方法を追加した例によればこの点が改善される。
【0079】
図10は本発明のプリンタ202の制御ユニット228における制御方法の別の例を示すフローチャートである。図9と同一の処理ステップは同一記号で示し説明を省略する。
【0080】
ステップS212でデータ受信待ちの時、ステップS230でスイッチ214が操作されると、ステップS231で一端オフライン状態となり、所定時間を計測するタイマーをセットした後次のスイッチ操作を待つ。ステップS232でスイッチ214が操作されると操作に応じた所定量の紙送りが実行される(ステップS233)。この場合は上記のタイマーをリセットしておく。これにより紙送りが継続して行われる場合にはオフライン状態が維持される。しかし、所定時間経過しても何の操作もないと(ステップS234)、自動的にオンライン状態に復帰する(ステップS235)。従って、本例では、一端オンラインからオフラインに遷移した後、記録用紙の搬送指示を待つ点が上記の例と異なる。
【0081】
そして、緊急停止と、ペーパーフィード待ちとを区別するため、操作パネル上の表示部のLEDを用いてそれぞれに対応して表示する。
【0082】
例えば、LEDは以下のように定義する。

Figure 0003624608
このようなLED215の点灯制御は、制御ユニット228によって行われる。なお、点滅は制御ユニット228を構成するマイクロプロセッサに内蔵されているタイマー割り込み機能等を用いて周知の方法によって実現可能であり、説明を省略する。従って、図4、図9及び図10のフローチャートにおいて、次のようなLED制御の設定を行えばよい。
【0083】
図4中、ステップS62においてLED2:OFF(消灯)及びLED3:ON(点灯)、ステップS64においてLED3:OFF、ステップS71においてLED3:BK(点滅)、ステップS76においてLED3:OFF、ステップS77においてLED2:ON。
【0084】
図9中、ステップ210においてLED1:ON、ステップS211においてLED2:ON、ステップS219においてLED2:ON、ステップS220においてLED2:OFF、ステップS221においてLED1:BK、ステップS226においてスイッチ214の操作が検出されたらLED1:ON。
【0085】
図10中、ステップ231においてLED2:BK、ステップS235においてLED2:ON。
【0086】
このような表示の差別化により、使用者はプリンタ202が現在どのような状態にあるか一目で分かり極めて便利である。
【0087】
このような制御装置及び方法にによって、例えばペーパーフィードスイッチとオンラインオフライン切り替えスイッチとを1つのスイッチで兼用させ且つ操作ミスを防止することが可能となる。
【0088】
以上述べた本発明のプリンタは、シリアル型のプリンタ202限定されるものでなく、パラレル型のプリンタにも適用可能であり、又、本発明の制御方法は、すでに述べたようにロール紙の消耗だけでなく、インパクトドットプリンタやサーマルプリンタのインクリボンの寿命、インクジェットプリンタのインクの消耗等のあらゆる消耗品の消耗の検出に適用可能である。
【0089】
【発明の効果】
以上詳細に説明したとおり、本発明によれば、オンライン状態に復帰するためのオンラインスイッチやカバーセンサーを省略できるので、プリンタの小型化、低コスト化及び信頼性の向上を達成することが可能となった。また、消耗部品が補充された後十分な時間が経過すれば、スイッチの操作によらなくても確実にオンライン状態に回復させることが可能となる。
【0090】
更に、スイッチ操作に関わるプリンタの状態を的確に表示する手段によって操作ミスを防止し、確実な操作を実現した。
【図面の簡単な説明】
【図1】本発明の実施例のプリンタの外観を示す斜視図。
【図2】本発明の一実施例に用いるプリンタ機構を示す横断面図。
【図3】本発明の一実施例であるプリンタの機能ブロック図。
【図4】本発明の一実施例であるプリンタの動作を示すフローチャート。
【図5】本発明の実施例のスイッチ機能の切替部を示すブロック図。
【図6】本発明の他の実施例に用いるプリンタ機構を示す斜視図。
【図7】本発明の他の実施例に用いるプリンタ機構を示す分解斜視図。
【図8】本発明の他の実施例であるプリンタの動作を示すフローチャート。
【図9】本発明の他の実施例に係る制御方法を示すフローチャート。
【図10】本発明の他の実施例に係る制御方法を示すフローチャート。
【符号の説明】
1 ・・・ ホスト装置
2 ・・・ プリンタ
3 ・・・ プリンタ機構
14 ・・・ スイッチ
15 ・・・ 表示器
16 ・・・ 操作パネル
118 ・・・ インクカートリッジ
25 ・・・ ホストインタフェース
26 ・・・ コマンド解釈部
27 ・・・ データバッファ
28 ・・・ 制御ユニット
129 ・・・ インク残量検出器
33 ・・・ 内部出力データ
36 ・・・ リアルタイムコマンド
37 ・・・ 通常コマンド
38 ・・・ 内部入力データ
39 ・・・ コマンド/データ
40 ・・・ プリンタステータスデータ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer that performs a printing process based on data such as a command received from a host device, and in particular, restarts a printing process in a printer that interrupts the printing process until a consumable part is consumed until it is replenished. It relates to a processing printer.
[0002]
[Prior art]
Conventionally, in the field of POS / ECR, a dedicated system has been configured by a stand-alone device in which a data input device, a host device, and a printer are integrated.
[0003]
In recent years, however, data input devices, host devices, and printers have been separated from each other due to the speed of data processing and the flexibility of system configuration, and distributed systems that are used in places separated from each other have come to be widely used. It was.
[0004]
A printer used in such a distributed system is generally called a terminal printer. Hereinafter, a system using this type of printer will be described by exemplifying a system used in restaurants such as restaurants. The printer used here is called a kitchen printer. When a customer inputs an order received on the floor in the store to the portable data input device, the order is immediately transmitted to the host device 1 and the kitchen placed in the kitchen. The printer is configured to print out the contents of the order. According to such a system, an operator can perform processing while looking at the printed contents, so that mistakes can be prevented and sales contents can be easily managed and processed. Therefore, the system is being introduced into various industries.
[0005]
However, where such printers are placed, other equipment such as cooking utensils and safes often have to be preferentially placed, so data printers are small and have a small footprint. Therefore, there is a limit to the amount of consumable parts such as roll paper to be mounted and ink of an ink cartridge. In addition, the host device is usually installed at a location away from restrictions on the use environment. On the other hand, such a printer prints a large amount of data, so that consumable parts such as ink are often used up during operation of the system.
[0006]
The remaining amount of roll paper is detected by a paper-out sensor that detects that there is no roll paper or a known near-end sensor that detects that there is little remaining roll paper. Further, the remaining ink amount in the mounted ink cartridge is monitored by an ink remaining amount detector. When these consumable parts are exhausted, the printer immediately stops the printing process and does not receive any more data or is not guaranteed to store it, that is, is in an offline state. Further, by notifying the host device of this, loss of data received from the host device is prevented.
[0007]
When the host device detects an off-line state, it notifies the operator that it is necessary to replenish consumable parts by blinking a lamp or a buzzer sound. After the replenishment, when the online switch is pressed or the cover covering the roll paper or the ink cartridge is closed, the online state is restored and the printing process is resumed. That is, when the replenishment of the roll paper or the replacement of the ink cartridge is completed, the operator operates an online switch (not shown) to restore the online state and restart the printing process. Alternatively, when the above-described cover that is closed after replenishment of consumable parts is attached, the cover sensor detects the closing, the printer is restored to the online state, and the printing process is resumed.
[0008]
When the roll paper is replenished, the operator operates the paper feed switch to further feed the leading end portion of the damaged or discolored roll paper, and then shifts to the online state by the above operation. Also, depending on the type of ink cartridge, ink near the ink nozzle from which ink is ejected may increase in viscosity and cause ink ejection failure. After the forced discharge, that is, the so-called flushing, is performed, it is necessary to perform the above-described operation to restore online.
[0009]
The above is an example when the roll paper or ink is consumed. However, in the prior art, for example, even when a consumable part such as an ink ribbon in a thermal transfer printer is lost or the remaining amount is low, the printer temporarily goes offline. After entering the state, the operator performed the same process to restore the online state.
[0010]
However, in recent years, demands for low price and high reliability have become stronger, and reduction of the number of parts while maintaining the function has been demanded. The need for cover sensors and dedicated online switches was also reviewed.
[0011]
Conventionally, a technique for omitting these on-line switches and cover sensors is disclosed in Japanese Patent Laid-Open No. 6-47992, in which ink is used after a predetermined time has elapsed after the printer goes offline. Assuming that the replenishment work of consumable parts is completed, the system automatically returns to the online state.
[0012]
[Problems to be solved by the invention]
However, the time required for replacement of consumable parts such as roll paper differs depending on the skill level of the operator, and it may be necessary to replace other consumable parts such as ink cartridges after replacement of roll paper. However, it is not always possible to resume printing within a certain time. If printing is performed before printing can be resumed, printing may not be performed correctly, and print data may be lost. Therefore, when the conventional technology is used for the above-described kitchen printer, register, etc., there is a possibility that the print data is lost and the business operation is confused.
[0013]
The present invention is intended to eliminate such problems in the prior art and maintain the function and omit the online switch and the cover sensor. In particular, the present invention recovers the online state without losing the print data. An object of the present invention is to provide a printer that can perform the above-described process.
[0014]
[Means for Solving the Problems]
In order to achieve the above object, a printing apparatus according to the present invention uses a transport mechanism that transports a print medium and a printing unit that prints on the print medium, and performs print processing based on data received from a host device. And is configured to selectively take a first state that guarantees data processing, a so-called online state, and a second state that does not guarantee data processing, so-called offline state, and that state This is a printing device that notifies the device, and consumption material detection such as a paper end sensor or an ink remaining amount sensor that detects whether or not the consumption material such as roll paper and ink consumed in the printing process is consumed or not, and replenishment or presence. Means, an on-line function that can be manually operated and instructing a transition from an off-line state to an on-line state, and a printing device that performs the replenishment of the consumption material. An operation unit that selectively includes a second function for instructing processing such as paper feed and ink nozzle refresh, and a printer that is in an offline state based on detection of consumption or no consumption of the consumption material by the consumption material detection unit The first state transition means for transitioning to the state, and after the transition to the offline state by the first state transition means, the online function of the operation means is selected based on the detection of supplementation or presence of the consumption material by the consumption material detection means And a function selection unit that performs the function selection.
[0015]
The first state in this case means a so-called online state. In the present invention, in addition to a state in which data to be printed is taken out from a storage device provided in the printing apparatus and a printing process is performed on the printing medium, In a printing apparatus that does not include an apparatus, a state in which received data is immediately printed on a print medium is also included. The second state in the present invention means a so-called offline state. In this state, the host device normally stops data transmission. However, if the printing device receives data in this state, the data to be printed may be lost due to the storage device overflowing or the printing means not operating, etc. Make it not exist.
[0016]
Further, the consumption and replenishment in this case may be simply presence or absence, and the consumption detector may be a consumption material detector that simply detects the presence or absence of consumption material.
[0017]
As a result, the consumable material consumed in the printing process is consumed, and when the printing apparatus goes offline based on the detection of the consumption by the consumption detector, the operator replenishes the consumable material, By operating the operation means, it is possible to provide a function that can restore the printing apparatus to an online state, that is, an online return function.
[0018]
For example, a printing paper as a printing medium can be used as a consumption material, a paper end sensor can be used as a consumption detector for detecting the consumption, and a paper feed switch can be used as an operation means. In this case, the original function of the paper feed switch is to carry a predetermined amount of printing paper, and is a process to be performed by the printing apparatus when the roll paper as a consumption material is replenished. According to this, when there is no printing paper such as roll paper and the printing apparatus goes offline, if the operator replenishes the printing paper and then operates the paper feed switch, The apparatus is restored to the online state, and the printing process can be continued normally.
[0019]
In this case, it is preferable that the selection of the online designation function of the operation means is performed after the elapse of a predetermined period from the time when the consumption detector or the consumption material detector is supplemented or detected. Thereby, after replenishing the consumption material, the original function of the operating means can be used, and the replenishment of the consumption material can be performed more reliably. In the above example, the paper feed switch can be operated by operating the paper feed switch within a predetermined period, and the printing paper can be loaded easily and reliably.
[0020]
Furthermore, in this case, when the operating means is operated within a predetermined period, it is desirable that the online designation function is selected after a predetermined period has elapsed since the last operation. Thereby, the time restriction | limiting in the case of using the original function of an operation means after consumption material replenishment can be excluded. In the above example, even if a large amount of paper feed is performed after replenishing the printing paper, the paper feed switch function can be switched to the online designation function in the middle of the operation, so that it is possible to avoid unexpected transition to the online state. .
[0021]
In the above case, after the elapse of a predetermined period from the selection of the online designation function of the operation means, the original function of the operation means may be selected and the online state may be changed. As a result, even if it is complicated to operate the operating means or forgetting to operate it, the operating means automatically returns to its original function after a predetermined period of time, and the printing device is restored to the online state. can do.
[0022]
Also, in these cases, after the selection of the online designation function of the operation means, the online operation is performed on the basis of a command that is immediately executed regardless of whether the printing device is online or offline when it is received from the host device, that is, a real-time command. You may make it change to a state. As a result, it is possible to recover to an online state by manual operation and command, and when the host device is installed at a remote location, it can be operated from one of the closer devices.
[0023]
Furthermore, the present invention can be expressed as a control method of a printing apparatus, and has the same effects as described above.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
An example of an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is an external perspective view of a printer 2 according to the present invention. Inside the printer 2, a stepping motor (not shown), paper feed rollers 7a and 7b, etc., as shown in FIG. A paper feeding mechanism for conveying the paper, an ink ribbon 17 and the print head 9 and the like, a printing unit for printing on the roll paper 10, and a well-known paper composed of a counter-type photo sensor or a lever switch. An end sensor 29 is provided.
[0025]
The printer 2 has a cover 11 that protects an operator from accidentally touching the printing unit. The cover 11 is rotated about a rear hinge by lifting the printer operation panel 16 side upward, It can be in an open state. At the center of the cover 11, an opening 12 for discharging the printed roll paper is provided. When the printer 2 is used for issuing a receipt, the cut receipt is It is discharged from the opening 12.
[0026]
The cover 11 does not necessarily have to be connected to the printer main body 2 via a hinge, and may be attached so that the whole can be detached from the printer main body 2. In this case, it is desirable to provide a dent 11a into which a finger can enter in the vicinity of the center of gravity in the front-rear direction of the cover 11 on the left and right sides of the opening 12. Further, a concave portion 11b is provided on the side surface of the printer main body 2 so that the ink ribbon 17 can be easily replaced.
[0027]
An operation panel 16 and a power switch 13 are provided on the front surface of the printer 2. The operation panel 16 is provided at a position recessed from the front surface of the printer 2 so that the operator does not touch it by mistake. The operation panel 16 is used for informing the operator of the state of the switch 14 for instructing the conveyance of the roll paper and the printer 2. A display 15 is provided. In this example, a light emitting diode (LED) is used as the display 15, but the present invention is not limited to this, and a known display device such as a liquid crystal display can be used. In this example, a conductive rubber switch is used as the switch 14, but the present invention is not limited to this, and a known push switch or momentary switch can be used. Further, the power switch 13 is attached in a state in which the switch operation portion is depressed from the front surface until the position where the switch operation portion does not protrude from the front surface of the printer 2 so that the operator does not operate it by mistake.
[0028]
FIG. 2 shows a cross-sectional view of the roll paper printer mechanism used in this example. The roll paper 10 is already loaded in the printer mechanism 3. The roll paper is replenished as follows. When the leading end 11 of the roll paper 10 is inserted into the roll paper feeding port 5 and inserted while sliding on the paper guide plate 4, the paper end sensor 29 detects the leading end 11 of the roll paper 10. When the switch 14 is pressed in this state, the paper feed rollers 6a, 6b, 7a and 7b rotate in the direction of the arrow, and the paper feed rollers 6a and 6b grasp the leading end 11 of the roll paper 10 and the loading operation is started. The When a predetermined amount of paper is fed, the roll paper 10 is conveyed between the print head 9 and the platen 18 and is set in a printable state. Thereafter, the portion of the roll paper 10 conveyed outside the printer mechanism 3 is cut by a cutter 19 disposed at the top of the printer mechanism 3. A feed roller 8 is disposed at the paper feed port 5 to reduce the paper feeding load caused by the moment of inertia of the roll paper 10.
[0029]
FIG. 3 is a block diagram for explaining the function of the printer 2 of this example, and the printer 2 of this example will be described in more detail using this. In the printer 2 of this example, the command and print data 39 transmitted from the host device 1 are received by the host interface 25 inside the printer 2, and the host interface 25 converts this into the internal input data 38 and then the command interpreter 26. To pass. The command interpreter 26 interprets the internal input data 38, and if it is a command (real-time command) 36 to be executed immediately, it passes it to the control unit 28. If it is another command, that is, a normal command or print data 37, This is stored in the data buffer 27. The data buffer 27 is a so-called FIFO buffer, and in response to a request from the control unit 28, the stored commands or print data 37 are transferred to the control unit 28 in the order of being transferred from the command interpretation unit 26.
[0030]
The control unit 28 executes the real-time command 36 delivered from the command interpreter 26 with the highest priority, and if there is no real-time command 36, reads out and executes normal commands 37 from the data buffer 27 in sequence. Further, the control unit 28 exchanges necessary signals with the printer mechanism 3 and the operation panel if necessary for executing the command, and also passes the internal output data 33 to the host interface 25 if necessary. . In this case, the host interface 25 converts the internal output data 33 into printer status data 40 and transmits it to the host apparatus 1.
[0031]
As described above, the roll paper 10 is loaded in the printer mechanism 3, and the paper end sensor 29 that detects the presence or absence of the roll paper 10 is provided. A detection signal 31 from the paper end sensor 29 is input to the control unit 28 and binarized by a known circuit. Further, it may be binarized by the paper end sensor 29 itself. This signal is also referred to as a paper-out signal 31 and indicates a state where there is no roll paper at a low level.
[0032]
The control unit 28 also supplies a paper feed signal 32 that instructs the printer mechanism 3 to convey the roll paper. When this signal becomes high level, roll paper conveyance is started, and roll paper conveyance is continued until this signal becomes low level.
[0033]
A switch signal 35 from the switch 14 provided on the operation panel 16 is input to the control unit 28. As will be described later, the control unit 28 selectively executes a plurality of processes according to the signal.
[0034]
That is, in the online state, the control unit 28 is configured to operate the printer mechanism 3 so as to perform printing processing on the roll paper based on print data or the like, and when detecting that the switch 14 is operated. The processing is performed according to the function assigned to the switch 14 at that time. Further, when the paper end sensor 29 detects that the roll paper has run out, the control unit 28 stops the above-described printing process, and accordingly, the extraction of data from the data buffer 27 to the control unit 28 is also stopped. Then, in order to avoid the loss of data due to the transmission of data exceeding the storage capacity of the data buffer 27, the printer 2 is set in a state where it does not accept data, that is, in an offline state, and this is transferred to the host device 1 as printer status data. Notification as 40.
[0035]
Even in the off-line state, the command / data 39 is actually received and analyzed, but the normal command 37 converted from the command / data 39 is stored when the remaining capacity of the data buffer 27 is exhausted. Because you can't do it, you will be lost. Therefore, after receiving the notification of the offline state, the host device 1 must immediately stop the transmission of the data 39 except for the real-time command 36 described later, and store the data transmitted thereafter thereafter separately. is there.
[0036]
Next, roll paper replenishment processing in the printer 2 of this example will be described in detail based on the flowchart shown in FIG.
When it is detected in step S61 that there is no roll paper (paper-out signal 31), the control unit 28 transitions to an offline state in step S62. In this state, the printing process and the command and data are not taken out from the data buffer 27. In order to avoid the overflow of the data buffer 27, the control unit 28 uses the host interface 25 to indicate that it has entered the offline state. It notifies the device 1 and prompts it to stop sending data. On the other hand, if the paper-out signal 31 is not detected, the roll paper replenishment process is immediately terminated and normal processing such as printing processing is continued.
[0037]
After the offline state is set in step S62, the process waits until the roll paper 10 is replenished (step S63). When the roll paper 10 is replenished and the paper-out signal 31 indicates the presence of paper, the roll paper 10 is loaded in step S64. That is, the control unit 28 activates the paper feed signal 32 to cause the printer mechanism 3 to perform a predetermined amount of paper feed. Then, after the loading operation is finished, a timer (t1) is set in step S65.
[0038]
The time t1 set here is a time during which the function setting of the switch 14 is kept in the paper feed, and during this time, the operator can carry the roll paper in an off-line state. Therefore, for example, when the leading end portion of the roll paper is damaged or discolored, this portion can be discharged from the printer mechanism 3 as much as necessary after the roll paper is loaded.
[0039]
Thereafter, it is checked in step S66 whether or not the switch 14 has been operated. If the switch 14 has been operated, a paper feed signal is output to the printer mechanism 3 in step S67, and further paper feeding is performed.
[0040]
Since this paper feed operation requires a certain amount of time, the timer set at t1 may be reset thereafter. The route (1) in the figure indicates this case, and the timer is reset to a new value t2 in consideration of the time required for the paper feed operation in step S68. The route (2) is an example when the timer value is not changed, and the route (3) is an example when the timer is reset to the initial value, that is, t1.
[0041]
When the timer finishes measuring the predetermined time in step S69, a real-time command to be described later is checked in step S70. If the command is not detected, the function of the switch 14 is switched to a function (online function) for instructing a transition to the online state in step S71. In step S72, the timer is set to t3, and in step S73, it is checked whether the switch 14 has been operated. If the switch 14 is pressed, the control unit 28 determines that the print process has been restored, and in step S77, the control unit 28 shifts to an online state and data is stored in the data buffer 27. The processing of the data and the printing process are resumed. At this time, it goes without saying that the host device 1 is notified of this. In this state, since the online function assigned to the switch 14 is no longer necessary, the function of the switch 14 is returned to the normal paper feed function in step S76.
[0042]
By the way, in this example, assuming that the switch 14 must be pressed in order to return to the online state, if the switch is forgotten to be pressed, the printing process is not resumed, and the host device 1 Since the data 39 cannot be transmitted, the stopped state of the entire information processing system including the host device 1 continues even though the replenishment of the consumable parts to the printer 2 is completed. Therefore, in addition to the above, the printer 2 of this example further has the following functions.
[0043]
The first function is a real-time command (hereinafter referred to as online recovery command) that specifies online recovery. As described above, if the printer 2 determines that the data is a real-time command as a result of analyzing the data by the command analysis unit 26 using the interrupt processing circuit, the printer 2 stores the unprocessed data stored in the data buffer 27. Regardless of the data, the command is immediately transmitted to the control unit 28. In the control unit 28, the command is immediately executed. In addition to the so-called interrupt circuit, the above-described interrupt processing circuit is a circuit and a process in which processing is performed relatively frequently such as periodic polling and processing for detecting the presence or absence of a request at the end of a series of processing. A method is also included.
[0044]
Hereinafter, the process will be described with reference to the flowchart shown in FIG. When receiving the online recovery command, the control unit 28 performs the following processing. First, in step S69, it is detected whether or not it is time to switch the function of the switch 14 (time when timer t1 overflows, hereinafter referred to as time Q). At the time Q, it is considered that the required loading and paper feed processing has been performed. Therefore, it is considered that there is a high probability that the replenishment of the roll paper 10 has been completed. Therefore, when the command is received after the time Q (step S70), the printing process is immediately possible in step S77, and the state is shifted to the online state. On the other hand, if the reception of the command is before the time Q, the process waits until the time Q (step S70) and executes the same processing. As a result, even when the switch 14 is forgotten to be operated, the printer can be restored to the online state by the control command from the host device 1.
[0045]
The second function is a so-called timeout function. That is, in the flowchart of FIG. 4, after the time Q at which the function of the switch 14 is to be switched, the switch 14 is not operated (step S73) until the predetermined time t3 has elapsed (step S74), and If the online recovery command has not been received (step S75), then the printer automatically returns to a state where print processing is possible and transitions to the online state (step S77). At this time, it goes without saying that the function of the paper feed switch is changed to the normal paper feed function (step S76). In this case, t3 needs to be a time sufficient to complete the roll paper replenishment operation. Thereby, even when the switch 14 is not operated, the apparatus can be restored to the online state after the replenishment operation is completed.
[0046]
Note that the values of the predetermined times t1, t2, and t3 may be set during the initialization operation of the printer, or may be set in advance using a control command from the host device 1. In this example, these predetermined times are measured using a timer built in the microprocessor, and an event interrupt is generated when the predetermined time elapses. It can also be realized by using a time constant such as an integration circuit or a differentiation circuit, or a timer IC such as NE555. The time can be set by a well-known method such as setting a numerical value to the counter or outputting a voltage from the D / A converter.
[0047]
FIG. 5 is a block diagram for explaining the switching of the function of the switch 14. The transition of the function of the switch 14 includes a signal switching unit 28c that selectively connects the switch signal 35 to the online signal generation unit 28a and the paper feed signal generation unit 28b, and a switch function switching signal 34 that instructs switching of the connection. And done. When the switch 14 is pressed and a low level signal is input to the input buffer 14a, an inverted signal, that is, a high level signal is output as the switch signal 35 from the input buffer 14a. The switch signal 35 is supplied by the signal switching unit 28c to the online signal generation unit 28a or the paper feed signal generation unit 28b according to the switch function switching signal 34.
[0048]
Specifically, this is done by changing the interpretation of the switch signal 35 inside the control unit 28. In this example, the control unit 28 is realized by a microprocessor, and in the processing program, the state of the input port to which the switch signal 35 is connected is determined as the designation of the paper feed operation, or the transition to the online state is made. The function can be changed according to whether it is determined to be specified. As another example, the signal switching unit 28c may be configured using a known data selector, and the switch function switching signal 34 may be supplied from the microprocessor as the selection signal. In that case, the output of the data selector is connected to the input terminal of the microprocessor, and used as a signal requesting each function.
[0049]
In the above example, the case where the presence or absence of the consumable part called the roll paper 10 is detected by using the paper end sensor 29 has been described. However, the present invention is not limited to this, and for example, the remaining amount of the roll paper 10 is known. It can also be used when detecting using a near-end sensor, when detecting the remaining amount of an ink ribbon using a ribbon sensor, or when detecting the remaining ink amount of an ink jet printer with an ink remaining amount detector.
[0050]
Hereinafter, as another example of the consumable part, a case where the ink cartridge is replaced will be described. The description of the same parts as those in the above-described roll paper replenishment will be omitted.
[0051]
The printing unit of this example is configured to perform printing on roll paper using an ink jet head disposed at the tip of the ink cartridge, and the ink remaining in the ink cartridge is near the ink cartridge. An ink remaining amount sensor is provided for detecting ink. In this example, as the ink remaining amount sensor, a sensor in which a pair of electrodes is provided in the ink flow path in the ink cartridge and the resistance value between the electrodes is detected is used. However, the present invention is not limited to this. First, it is possible to use a known ink remaining amount sensor such as a method of detecting the amount of deformation of the ink bag by projecting infrared light onto a reflecting plate provided in a part of the ink bag and detecting the reflected light. it can.
[0052]
FIG. 6 is a perspective view of the printer mechanism 103 used in the printer 102 of this example. A recording sheet such as a roll sheet is conveyed to a printing unit including an ink cartridge 118 by the paper feeding unit 104, and the ink cartridge 118 is conveyed to the carriage 117 and moves in a direction perpendicular to the conveying direction of the recording sheet. Accordingly, printing can be performed on the entire surface of the recording paper. The movement is performed by transmitting the rotation of the carriage motor 120 to the carriage 117 via the belt 123.
[0053]
The ink cartridge 118 is replaced by operating the replacement lever 119. That is, when the replacement lever 119 is operated to tilt to the right side of the paper, the engagement between the carriage 117 and the ink cartridge 118 is released, and the ink cartridge 118 can be easily removed by the operator. Further, after the new ink cartridge 118 is set at a predetermined position on the carriage 117 and then the exchange lever 119 is returned to the original position, the engagement between the ink cartridge 118 and the carriage 117 is locked.
[0054]
A large number of electrical signals are wired to the printer mechanism 103 from the printer control circuit. The cable 121 includes wiring to a fixed portion of the printer mechanism 103, for example, a carriage motor 120 and a carriage drive system position sensor (not shown) for detecting printing timing, and the flexible cable 122 is an inkjet head mounted on the carriage. Wiring to (cartridge) 118 and an ink remaining amount sensor (not shown) is included. As described above, since the carriage can move in a direction perpendicular to the recording paper conveyance direction, wiring to the carriage needs to be performed by the flexible cable 122.
[0055]
FIG. 7 is an exploded perspective view of the printer mechanism 103 and the paper feed unit 104 of this example. As illustrated, the printer mechanism 103 and the paper feed unit 104 are coupled via a drive shaft 124, and the driving force of the paper feed unit 104 is supplied from the carriage motor 120 via the drive shaft 124. However, a wheel train for intermittently using the driving force for paper feeding is prepared on the paper feeding unit side, and paper feeding is not performed until the carriage movement corresponding to so-called one line is performed. One line of paper is fed before the carriage moves to the first digit of the next line.
[0056]
An ink jet head is attached to the front surface of the ink cartridge 118, and the ink nozzle 118a is exposed. The inkjet head of this example is not arranged in parallel with the paper feed direction in order to adjust the relationship between the ink nozzle interval (nozzle pitch) and the paper feed direction interval (dot pitch) of the dots to be printed, They are arranged with a predetermined angle.
[0057]
Since the block diagram for explaining the function of the printer 102 of this example is the same as the block diagram (FIG. 3) shown in the above example, the explanation is omitted. That is, in the block diagram shown in FIG. 3, the roll paper 10 is replaced with the ink cartridge 18, the paper end sensor 29 is replaced with the remaining ink detector 129, and the paper feed signal 32 is replaced with the refresh signal 132. The block diagram can be obtained.
[0058]
As described above, the printer mechanism 103 includes the ink cartridge 18 and the ink remaining amount detector 129. Since the remaining ink amount detection in this example is a method of detecting the resistance between two electrodes provided in the ink flow path in the ink cartridge 118, the remaining ink amount detector 129 in this example uses the electrode. Say it. The circuit for detecting the remaining amount of ink based on the resistance value between the electrodes includes, for example, a constant current circuit for converting the resistance value into a voltage, and a comparator for comparing the voltage with a predetermined voltage value. It can implement | achieve by a known structure. An ink remaining amount detection signal 131 from the ink remaining amount detector 129 is input to the control unit 28. The remaining ink level detection signal 131 is preferably binarized by the above circuit or the remaining ink level detector 129 itself in consideration of subsequent signal processing. This binarized signal is also referred to as an ink remaining amount signal 131.
[0059]
Further, in response to the refresh signal 132 from the control unit 28, the printer mechanism 103 performs flushing of the ink nozzle 118a. That is, when this signal becomes high level, the carriage is moved to a predetermined position suitable for the refresh operation, and then flushing of the nozzle is continued until this signal becomes low level.
[0060]
Next, the ink cartridge replacement process in the printer 102 of this example will be described in detail with reference to the flowchart shown in FIG. Since this process is also almost the same as the above example, only a different part will be described.
[0061]
In this example, since the ink cartridge 118 is mounted on the carriage 117, it is dangerous to start the refresh operation immediately after detecting the replacement of the cartridge (step S83). This is because it cannot be detected whether or not the operator has released his / her hand from the ink cartridge 118. Accordingly, at this time, unlike the above-described example, the printer 102 does not start the refresh operation.
[0062]
However, it is effective to set the number of times of flushing in the refresh operation performed for the first time after the ink cartridge replacement to be larger than that in the refresh operation performed in response to the switch operation thereafter. This is because even in the cartridge immediately after replacement, the ink in the nozzle may be thickened, and it is necessary to sufficiently discharge it. Thereby, it is possible to prevent the ink discharge amount from being increased more than necessary in the refresh operation performed in accordance with the subsequent switch operation. Further, flushing may be continued while the refresh switch is pressed. Thereby, the ink discharge amount at the time of refresh can be arbitrarily performed by the operator.
[0063]
In the case of this example, after detecting the replacement of the ink cartridge 118, when the switch 14 is operated, it is determined that the operator is ready, and the first refresh operation is performed. Further, flushing is further performed according to the operation of the switch 14 until the timer t1 overflows.
[0064]
As described above, in the printer that goes offline when the sensor detects that the remaining amount of the consumable part is less than the predetermined amount, the completion of replenishment of the consumable part An effective method and apparatus for informing a printer without using a switch or the like is provided. Therefore, a person having ordinary knowledge in the field can implement the present invention for all consumable parts by making necessary modifications based on the above example.
[0065]
The above is a detailed description of the processing when it is detected that the consumable parts or consumables of the printer are exhausted or remaining, but the case where the dedicated switch that specifies online / offline switching or the cover open sensor is omitted. Depending on the usage environment and application field, the following problems may occur. That is, when a failure that cannot be determined by the printer occurs or when erroneous print data is transmitted to the printer, the printer can be stopped only by turning off the printer. In this case, all commands and print data already transmitted to the printer and stored therein are lost. The embodiment described below relates to an effective apparatus and method capable of interrupting a printing operation without turning off the printer.
[0066]
In this example, this inconvenience is solved by selectively switching the function of the paper feed switch instructing the conveyance of the recording paper of the printing apparatus in accordance with the situation of the printing apparatus. That is, when the printer starts the printing operation, the paper feed switch, the refresh switch, and the like are not normally used until the printing operation is finished. Therefore, during this period, the functions of those switches are switched to be used as online / offline switches. In this example, when this switch is operated after printing has started, the control unit that controls printing switches the printer status from online to offline, and storage of received data is not guaranteed, and printing is not possible. The operation also stops.
[0067]
Since the configuration of the printer 202 in this example is similar to the configuration of the printer 2 described above, illustration is omitted and only the differences will be described. Note that the last two digits of the reference numerals indicate corresponding components.
[0068]
First, in order to display a plurality of operation states of the printer as described later, a plurality of LEDs 215 are provided to constitute an LED group. These LEDs 215 are controlled to be turned on / off by a control unit 228 that performs printing control.
[0069]
The control unit 228 is provided with a print buffer 228d in which the print data taken out from the data buffer 227 is expanded and stored in bitmap data for each line. The bitmap data in the print buffer 228d is read according to the arrangement of print elements of the print head 209, and is erased after being read. Data is stored in the print buffer 228d in parallel when line feed processing such as paper feeding is performed after printing of one line is completed. Therefore, if data exists in the print buffer 228d, one line of print processing is being executed or is waiting.
[0070]
Next, an embodiment of the printer control method of this example will be described in detail with reference to the flowchart shown in FIG.
In step S210, the printer 202 performs a well-known initialization process for a printing process, and then starts a normal process. . In step S211, it enters an online state and waits for data reception. When the switch 214 is operated in this state (step S223), a predetermined amount of paper is fed according to the time or the number of times the switch is pressed (step S224).
[0071]
On the other hand, when the reception of data is started, the printing process is started in step S213 when the data in the reception buffer is expanded and the data for one line is arranged in the print buffer 228d. Since the printer of this example is a so-called serial printer, a print buffer 228d that stores a bit map for one line is used. However, the present invention can also be applied to a page printer. The print buffer 228d stores bitmap data for one page.
[0072]
Thereafter, if the switch 214 has not been operated in step S214, it is checked in step S215 whether there is print data for the next line in the print buffer 228d. If there is no print data, the received data buffer is checked in step S216. It is checked whether there is unprocessed print data in 227. If there is unprocessed print data, the print process is continued (step S213). If the data does not exist, the printing process is stopped in step S217, the reception buffer, the printing buffer, etc. are cleared in step S218, and the online state is changed in step S219. Thereafter, the process loops to step S212 and waits for data from the host.
[0073]
When the switch 214 is operated during the printing process (step S214), the printer 202 determines that an emergency stop command has been received, and transitions to an offline state in step S220 in order to prohibit reception of print data. Then, the printing operation is interrupted (step S221), and the data in the print buffer 228d and the reception data buffer 227 are stored as they are (step S222), and the process waits for the cancellation of the printing in step S225 and the subsequent steps.
[0074]
In this example, whether the switch 214 functions as a paper feed switch or an online / offline switch is set according to whether there is data in the reception data buffer 227. That is, the function of the switch 214 is switched simultaneously with the start of data reception from the host device 1 (step S212).
[0075]
In this example, the printer 202 that has been urgently stopped by the operator can resume the interrupted printing process using the switch 214. After setting a predetermined waiting time in step S225, the operation waits for the operation of the switch 214 (step S226). When the switch 214 is operated, the printer 202 determines that the problem has been solved and starts printing.
[0076]
If it is desired to cancel the printing being processed, the host device 21 can instruct clearing of the print buffer 228d and the data buffer 227 by a real-time command. In step S227, in order to enable this, input of a real-time command for instructing cancellation of printing is simultaneously confirmed while waiting for the operation of the switch 214. If there is an input, cancel processing such as clearing the buffer is executed. Further, while waiting for the designation of these processes, the elapse of the predetermined standby time set in step S225 is detected (step S228). If the standby time has elapsed, display means such as an LED 215 or a buzzer is used as error processing. Etc. is used to generate a warning.
[0077]
In this example, the operation of the switch 214 during the printing process is performed after the printing process for one line (step S213) (step S214). However, the present invention is not limited to this, for example, using a known interrupt process or the like. You may do this in parallel during the printing process.
[0078]
In the above-described example, the operator who performed the operation should know the state of the printer, but other operators may not know which state the printer is in. That is, it is difficult to determine whether the print processing is stopped due to the interruption of the printing process or the data reception is stopped. Therefore, according to an example in which a control device and method described below are further added, this point is improved.
[0079]
FIG. 10 is a flowchart showing another example of the control method in the control unit 228 of the printer 202 of the present invention. The same processing steps as those in FIG. 9 are denoted by the same symbols, and description thereof is omitted.
[0080]
If the switch 214 is operated in step S230 while waiting for data reception in step S212, the device goes offline in step S231, and after setting a timer for measuring a predetermined time, waits for the next switch operation. When the switch 214 is operated in step S232, a predetermined amount of paper is fed according to the operation (step S233). In this case, the timer is reset. As a result, the offline state is maintained when the paper feed continues. However, if there is no operation even after a predetermined time has elapsed (step S234), the online state is automatically restored (step S235). Therefore, this example is different from the above example in that it waits for a recording sheet conveyance instruction after a transition from online to offline.
[0081]
And in order to distinguish emergency stop and paper feed waiting, it displays corresponding to each using LED of the display part on an operation panel.
[0082]
For example, the LED is defined as follows.
Figure 0003624608
Such lighting control of the LED 215 is performed by the control unit 228. The blinking can be realized by a known method using a timer interrupt function or the like built in the microprocessor constituting the control unit 228, and the description thereof is omitted. Therefore, the following LED control settings may be performed in the flowcharts of FIGS.
[0083]
In FIG. 4, LED2: OFF (lights off) and LED3: ON (lights on) in step S62, LED3: OFF in step S64, LED3: BK (flashing) in step S71, LED3: OFF in step S76, LED2: in step S77. ON.
[0084]
In FIG. 9, LED1: ON in step 210, LED2: ON in step S211, LED2: ON in step S219, LED2: OFF in step S220, LED1: BK in step S221, and switch 214 operation in step S226 are detected. LED1: ON.
[0085]
In FIG. 10, LED2: BK in step 231 and LED2: ON in step S235.
[0086]
Such display differentiation is very convenient for the user to know at a glance what state the printer 202 is currently in.
[0087]
By such a control device and method, for example, it is possible to use a paper feed switch and an online / offline changeover switch as one switch, and to prevent an operation error.
[0088]
The printer of the present invention described above is not limited to the serial type printer 202 but can also be applied to a parallel type printer. The control method of the present invention can be applied to the consumption of roll paper as described above. In addition, the present invention is applicable to detection of consumption of all consumables such as the life of ink ribbons of impact dot printers and thermal printers, and ink consumption of inkjet printers.
[0089]
【The invention's effect】
As described above in detail, according to the present invention, the online switch and the cover sensor for returning to the online state can be omitted, so that it is possible to achieve downsizing, cost reduction, and improved reliability of the printer. became. Further, if a sufficient time elapses after the consumable parts are replenished, the online state can be reliably restored without operating the switch.
[0090]
In addition, a means for accurately displaying the status of the printer related to the switch operation prevents an operation error and realizes a reliable operation.
[Brief description of the drawings]
FIG. 1 is a perspective view illustrating an external appearance of a printer according to an embodiment of the present invention.
FIG. 2 is a cross-sectional view showing a printer mechanism used in an embodiment of the present invention.
FIG. 3 is a functional block diagram of a printer according to an embodiment of the present invention.
FIG. 4 is a flowchart showing the operation of the printer according to the embodiment of the invention.
FIG. 5 is a block diagram illustrating a switching unit of a switch function according to the embodiment of this invention.
FIG. 6 is a perspective view showing a printer mechanism used in another embodiment of the present invention.
FIG. 7 is an exploded perspective view showing a printer mechanism used in another embodiment of the present invention.
FIG. 8 is a flowchart showing the operation of a printer according to another embodiment of the present invention.
FIG. 9 is a flowchart showing a control method according to another embodiment of the present invention.
FIG. 10 is a flowchart showing a control method according to another embodiment of the present invention.
[Explanation of symbols]
1 ... Host device
2 ... Printer
3 ... Printer mechanism
14 ・ ・ ・ Switch
15 ... Display
16 ... Operation panel
118 ・ ・ ・ Ink cartridge
25 ・ ・ ・ Host interface
26 ... Command interpretation part
27 ・ ・ ・ Data buffer
28 ... Control unit
129 ... Ink remaining amount detector
33 ... Internal output data
36 ・ ・ ・ Real-time command
37 ... Normal command
38 ... Internal input data
39 ... Command / data
40 ... Printer status data

Claims (17)

印刷媒体を搬送する搬送機構と、前記印刷媒体に印刷を行う印刷手段とを用い、ホスト装置から受信したデータに基づいて印刷処理を行うように構成されるとともに、前記データの処理を保証する第1の状態と、前記データの処理を保証しない第2の状態とを選択的に取り、且つ当該状態を前記ホスト装置に通知する印刷装置であって、
印刷処理に伴い消費される消費材の消耗または無し、及び補充または有りを検出する消費材検出手段と、
手動操作可能であり、且つ前記第2の状態から前記第1の状態への遷移を指示する第1の機能と、前記消費材に係わる処理を指示する第2の機能とを選択的に備えた操作手段と、
前記消費材検出手段による前記消費材の消耗または無しの検出に基づいて前記印刷装置を前記第2の状態に遷移させる第1の状態遷移手段と、
前記消費材検出手段による前記消費材の補充または有りの検出に基づいて第1の所定の期間を計測する第1のタイミング手段と、
前記第1の状態遷移手段による前記第2の状態への遷移の後、前記第1の所定の期間の計測が完了する前は前記操作手段の前記第2の機能を選択し、前記第1の所定の期間の計測が完了した後は前記操作手段の前記第1の機能を選択する機能選択手段とを有することを特徴とする印刷装置。
A print mechanism for carrying a print medium and a printing unit for printing on the print medium are configured to perform print processing based on data received from a host device, and to guarantee the processing of the data. A printing apparatus that selectively takes a first state and a second state that does not guarantee the processing of the data, and notifies the host device of the state;
Consumption material detection means for detecting consumption or no consumption of the consumption material consumed in the printing process and replenishment or presence; and
A first function that can be manually operated and that selectively instructs a transition from the second state to the first state and a second function that instructs a process related to the consumption material are selectively provided. Operating means;
First state transition means for causing the printing apparatus to transition to the second state based on detection of consumption or absence of the consumption material by the consumption material detection means;
First timing means for measuring a first predetermined period based on detection of supplementation or presence of the consumption material by the consumption material detection means;
After the transition to the second state by the first state transition means, before the measurement of the first predetermined period is completed, the second function of the operation means is selected, and the first A printing apparatus comprising: a function selection unit that selects the first function of the operation unit after measurement for a predetermined period is completed .
請求項1記載の印刷装置において、前記消費材検出手段はロール紙のペーパエンドセンサであり、前記操作手段の前記第2の機能は前記ロール紙の搬送を指示する機能であることを特徴とする印刷装置。2. The printing apparatus according to claim 1, wherein the consumption material detecting means is a paper end sensor for roll paper, and the second function of the operation means is a function for instructing conveyance of the roll paper. Printing device. 請求項1又は2記載の印刷装置において、前記消費材検出手段はインクジェットヘッドに用いるインクカートリッジのインク残量センサであり、前記操作手段の前記第2の機能は前記インクヘッドのリフレッシュ動作を指示する機能であることを特徴とする印刷装置。3. The printing apparatus according to claim 1, wherein the consumption material detecting means is an ink remaining amount sensor of an ink cartridge used for an ink jet head, and the second function of the operating means instructs a refresh operation of the ink head. A printing device characterized by its function. 請求項記載の印刷装置において、前記第1のタイミング手段は、前記第1の所定の期間の計測が完了する前に前記操作手段が操作された場合には、前記所定の期間を延長することを特徴とする印刷装置。The printing apparatus according to claim 1 , wherein the first timing unit extends the predetermined period when the operation unit is operated before the measurement of the first predetermined period is completed. A printing apparatus characterized by the above. 請求項1乃至4の何れかに記載の印刷装置において、前記機能選択手段による前記操作手段の前記第1の機能の選択に基づいて第2の所定の期間の計測を行う第2のタイミング手段と、
前記第2のタイミング手段に応じて前記印刷装置を前記第1の状態に遷移させる第2の状態遷移手段とをさらに有することを特徴とする印刷装置。
5. The printing apparatus according to claim 1, wherein second timing means for measuring a second predetermined period based on selection of the first function of the operation means by the function selection means is provided. ,
The printing apparatus further comprising: second state transition means for causing the printing apparatus to transition to the first state in accordance with the second timing means.
請求項1乃至5の何れかに記載の印刷装置において、前記第1のタイミング手段による前記第1の所定の期間の計測が完了した後に、前記ホスト装置から受信した所定のデータに基づき、前記印刷装置を前記第2の状態から前記第1の状態に遷移させる第3の状態遷移手段をさらに有することを特徴とする印刷装置。The printing apparatus according to any one of claims 1 to 5, after measurement of the first predetermined period by said first timing means has been completed, based on the predetermined data received from the host device, the printing 3. A printing apparatus, further comprising third state transition means for transitioning the apparatus from the second state to the first state. 請求項1乃至6の何れかに記載の印刷装置において、前記操作手段は前記印刷装置に前記第1の状態から前記第2の状態への遷移を指示する第3の機能をさらに有し、
前記印刷装置は、前記印刷処理の実行中は前記操作手段の前記第3の機能を選択する第3の機能選択手段と、
前記印刷処理の実行中における前記操作手段の操作に応じて、前記印刷処理を停止する印刷処理停止手段とをさらに有することを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 6, wherein the operating means further comprises a third function of instructing a transition from the first state to the printing device to said second state,
The printing apparatus includes: a third function selecting unit that selects the third function of the operation unit during execution of the printing process ;
A printing apparatus, further comprising: a printing process stop unit that stops the printing process in response to an operation of the operating unit during execution of the printing process .
請求項記載の印刷装置において、前記操作手段は前記印刷装置に前記停止した印刷処理の再開を指示する第4の機能をさらに有し、
前記印刷処理の停止後、前記操作手段の前記第4の機能を選択する第4の機能選択手段をさらに有することを特徴とする印刷装置。
The printing apparatus according to claim 7 , further comprising a fourth function that instructs the printing apparatus to resume the stopped printing process.
A printing apparatus, further comprising a fourth function selection unit that selects the fourth function of the operation unit after the printing process is stopped.
請求項記載の印刷装置において、前記第4の機能選択手段に応じて第3の所定の時間を計測する第3のタイミング手段と、
前記第3のタイミング手段に応じて、且つ前記操作手段の操作が行われなかった場合に、所定の警告を発生するエラー出力手段とを有することを特徴とする印刷装置。
9. The printing apparatus according to claim 8 , wherein third timing means for measuring a third predetermined time according to the fourth function selection means;
An error output means for generating a predetermined warning in response to the third timing means and when the operation means is not operated.
請求項1乃至9の何れかに記載の印刷装置において、前記操作手段は前記印刷装置に前記第1の状態から前記第2の状態への遷移を指示する第3の機能をさらに有し、
前記印刷装置は、前記データが受信されていない場合に前記操作手段の前記第3の機能を選択する第5の機能選択手段をさらに有することを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 9, wherein the operating means further includes a third function of instructing a transition from the first state to the printing device to said second state,
The printing apparatus further includes fifth function selection means for selecting the third function of the operation means when the data is not received.
請求項10記載の印刷装置において、前記第5の機能選択手段に応じて第4のタイミングを計測する第4のタイミング手段をさらに有し、
前記第4のタイミング手段に応じて前記印刷装置を前記第2の状態から前記第1の状態に遷移させる第4の状態遷移手段とを有することを特徴とする印刷装置。
The printing apparatus according to claim 10 , further comprising a fourth timing unit that measures a fourth timing according to the fifth function selection unit,
And a fourth state transition means for causing the printing apparatus to transition from the second state to the first state according to the fourth timing means.
請求項1乃至11の何れかに記載の印刷装置において、前記操作手段の前記複数の機能に対応した前記印刷装置の状態を表示する表示手段をさらに有することを特徴とする印刷装置。12. The printing apparatus according to claim 1, further comprising display means for displaying a status of the printing apparatus corresponding to the plurality of functions of the operation means. 手動操作可能な操作手段を有し、印刷媒体に印刷を行う印刷手段を用いてホスト装置から受信したデータに基づいて印刷処理を行う印刷装置を制御する方法であって、前記データの処理を保証する第1の状態に遷移する工程と、前記データの処理を保証しない第2の状態に遷移する工程と、前記第1及び第2の状態を前記ホスト装置に通知する工程とを有する方法において、
印刷処理に伴い消費される消費材の消耗または無し、及び補充または有りを検出する第1の消費材検出工程と、
前記第1の消費材検出工程における前記消費材の消耗または無しの検出に基づいて前記印刷装置を前記第2の状態に遷移させる第1の状態遷移工程と、
前記第1の状態遷移工程の後に前記消費材の補充または有りを検出する第2の消費材検出工程と、
前記第2の消費材検出工程に基づいて第1の所定の期間を計測する第1のタイミング工程と、
前記第1のタイミング工程の終了前における前記操作手段の操作に基づいて、前記消費材に係わる処理を行う工程と、
前記第1のタイミング工程の終了後における前記操作手段の操作に基づいて、前記印刷装置を前記第2の状態から前記第1の状態に遷移させる第2の状態遷移工程とを有することを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus that has a manually operable operation unit and performs a printing process based on data received from a host apparatus using a printing unit that prints on a print medium, and guarantees the processing of the data A step of transitioning to a first state, a step of transitioning to a second state that does not guarantee the processing of the data, and a step of notifying the host device of the first and second states,
A first consumption material detection step for detecting consumption or no consumption of the consumption material consumed in connection with the printing process and replenishment or presence;
A first state transition step of causing the printing apparatus to transition to the second state based on detection of consumption or absence of the consumption material in the first consumption material detection step;
A second consumption material detection step of detecting replenishment or presence of the consumption material after the first state transition step;
A first timing step of measuring a first predetermined period based on the second consumption material detection step;
Performing a process related to the consumer based on the operation of the operating means before the end of the first timing step;
And a second state transition step of causing the printing apparatus to transition from the second state to the first state based on an operation of the operation means after the end of the first timing step. Method for controlling a printing apparatus.
請求項13記載の制御方法において、前記第1のタイミング工程における前記第1の所定の期間は、前記第1の所定の期間の計測が完了する前に前記操作手段が操作された場合には、延長されることを特徴とする制御方法。14. The control method according to claim 13 , wherein the first predetermined period in the first timing step is when the operation means is operated before the measurement of the first predetermined period is completed. A control method characterized by being extended. 請求項13又は14記載の制御方法において、前記第1のタイミング工程の終了後に第2の所定の期間の計測を行う第2のタイミング工程と、
前記第2のタイミング工程に応じて前記印刷装置を前記第1の状態に遷移させる第3の状態遷移工程とをさらに有することを特徴とする制御方法。
The control method according to claim 13 or 14 , wherein a second timing step for measuring a second predetermined period after the end of the first timing step;
And a third state transition step of causing the printing apparatus to transition to the first state in accordance with the second timing step.
請求項13乃至15の何れかに記載の制御方法において、前記第1のタイミング工程の終了後に、前記ホスト装置から受信した所定のデータに基づき前記印刷装置を前記第1の状態に遷移させる第4の状態遷移工程をさらに有することを特徴とする制御方法。 16. The control method according to claim 13 , wherein after the completion of the first timing step, the printing apparatus is changed to the first state based on predetermined data received from the host apparatus. 4. A control method further comprising four state transition steps. 請求項13乃至16の何れかに記載の制御方法において、前記印刷処理実行中の前記操作手段の操作に基づいて、前記印刷装置を前記第1の状態から前記第2の状態に遷移させる第5の状態遷移工程と、
前記第5の状態遷移工程に同期して前記印刷処理を停止する印刷処理停止程と、
前記印刷処理停止工程の後の前記操作手段の操作に応じて、印刷処理を再開する印刷処理再開工程とをさらに有することを特徴とする制御方法。
17. The control method according to claim 13 , wherein the printing apparatus is changed from the first state to the second state based on an operation of the operation unit during execution of the printing process. State transition process of
And as the printing process stops Engineering for stopping the printing process in synchronization with the fifth state transition process,
A control method further comprising: a printing process resuming step of resuming a printing process in response to an operation of the operation means after the printing process stopping step.
JP00501397A 1996-03-26 1997-01-14 Printing apparatus and control method thereof Expired - Lifetime JP3624608B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00501397A JP3624608B2 (en) 1996-03-26 1997-01-14 Printing apparatus and control method thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-69645 1996-03-26
JP6964596 1996-03-26
JP00501397A JP3624608B2 (en) 1996-03-26 1997-01-14 Printing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JPH09314962A JPH09314962A (en) 1997-12-09
JP3624608B2 true JP3624608B2 (en) 2005-03-02

Family

ID=26338891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00501397A Expired - Lifetime JP3624608B2 (en) 1996-03-26 1997-01-14 Printing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP3624608B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4227428B2 (en) * 2003-01-31 2009-02-18 キヤノン株式会社 Information processing apparatus and method for controlling the apparatus
JP2004310247A (en) * 2003-04-03 2004-11-04 Seiko Instruments Inc Order data management system
JP4671824B2 (en) * 2005-09-29 2011-04-20 株式会社沖データ Image forming apparatus
JP2010042615A (en) * 2008-08-13 2010-02-25 Brother Ind Ltd Opening and closing device of cover member
JP5945451B2 (en) * 2012-05-08 2016-07-05 シチズンホールディングス株式会社 Printer and program
JP6171530B2 (en) 2013-04-23 2017-08-02 セイコーエプソン株式会社 Printing control apparatus, printing system, and printing control method

Also Published As

Publication number Publication date
JPH09314962A (en) 1997-12-09

Similar Documents

Publication Publication Date Title
US5987224A (en) Printing apparatus and a control method therefor
US6975423B2 (en) Printing apparatus and a control method therefor
EP0737578A2 (en) Ink jet recording apparatus with an image reading head
KR0171545B1 (en) Printing system by paper lenght automatic sensing and controlling method thereof
EP2460660B1 (en) Image forming apparatus
JP4840982B2 (en) Recording apparatus and recording medium winding state determination method
JPH021327A (en) Recorder of which a plurality of carriers are made capable of being combined and separated
JP3624608B2 (en) Printing apparatus and control method thereof
WO2006038374A1 (en) Printer and printing method
US6676236B1 (en) Information processing system including the printing apparatus
JPH09156125A (en) Printing apparatus
JP4244719B2 (en) Error recovery method for printing apparatus, program, and printing apparatus
JP3389765B2 (en) Printing apparatus and printing apparatus control method
EP0526155A2 (en) Ink jet recording apparatus
JPH07214828A (en) Tape printing device
KR100470704B1 (en) Apparatus detecting used paper for ink-jet printer and method detecting the same
CN113321022B (en) recording device
JP3517859B2 (en) Printing apparatus and control method of printing apparatus
JP3049685B2 (en) Information output device and information output method
JPH08281924A (en) Ink jet recording apparatus
JP2000141700A (en) Ink-jet recording apparatus and method for controlling ink-jet recording apparatus
JP2001058449A (en) Printer
JP2002103755A (en) Indication device for electronic device and method of controlling indication
JP3376157B2 (en) Ink jet recording device
JPS6295278A (en) Recording apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040831

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041008

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041122

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term