JP2004358791A - Inkjet printer, printing system, control method of inkjet printer, and program - Google Patents

Inkjet printer, printing system, control method of inkjet printer, and program Download PDF

Info

Publication number
JP2004358791A
JP2004358791A JP2003159358A JP2003159358A JP2004358791A JP 2004358791 A JP2004358791 A JP 2004358791A JP 2003159358 A JP2003159358 A JP 2003159358A JP 2003159358 A JP2003159358 A JP 2003159358A JP 2004358791 A JP2004358791 A JP 2004358791A
Authority
JP
Japan
Prior art keywords
function recovery
recovery processing
permission command
command
printer
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.)
Withdrawn
Application number
JP2003159358A
Other languages
Japanese (ja)
Inventor
Mitsuaki Teradaira
光明 寺平
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 JP2003159358A priority Critical patent/JP2004358791A/en
Publication of JP2004358791A publication Critical patent/JP2004358791A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inkjet printer or the like which can carry out a function recovery process by a suitable timing and can also prevent wasteful ink consumption due to an interruption of the function recovery process, by controlling execution of the function recovery process including a cleaning process and a maintenance process at the host device side. <P>SOLUTION: A printer 2 which operates on the basis of control data from a POS terminal 1 is equipped with a function recovery process execution part 23 for executing the function recovery process for recovering the function of a printing head by a predetermined timing, and a permission command acquisition part 211 for acquiring a permission command which permits execution of the function recovery process from the POS terminal 1. The function recovery process execution part 23 executes the function recovery process on condition that the permission command is received. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ホストコンピュータやPOS端末等のホスト装置と接続して用いられるインクジェットプリンタ、印刷システム、インクジェットプリンタの制御方法、プログラムに関するものである。
【0002】
【従来の技術】
インクジェットヘッドからインクを吐出して印刷を行うインクジェット方式の印刷装置(以下、「インクジェットプリンタ」という)は、印刷品質を良好に保つため、インクジェットヘッドの機能回復処理が必須である。機能回復処理は、クリーニング処理およびメンテナンス処理等から成り、前者のクリーニング処理では、主に増粘インクおよびインク経路内の気泡の排出を目的としてヘッドをキャッピングした後ノズルからインクを吸引する吸引処理の他、ゴムのワイパーでヘッド表面に付着したインクを拭き取るワイピング処理、スポンジ等を用いて同じくヘッド表面に付着したインクを拭き取るラビング処理等が実行される。このため、処理に長時間を要し、長周期で行われる(次の処理までの間隔が長い)。また、後者のメンテナンス処理は、印刷中に実行される吐出処理(フラッシング)で吐出されたキャップ内のインクを吸引する空吸引処理等が実行され、クリーニング処理と比較して、短時間、短周期で行われる。
【0003】
これらクリーニング処理やメンテナンス処理を含む機能回復処理は、印刷前および定期的なタイミング、若しくは所定の条件の成立で実行されるものであり、一度開始されたならば、それが完了するまで実行しなければ効果がなく、途中で中断されると良好な印刷品質が確保できない。したがって、処理が中断された場合は、その処理が実行されなかったものとして扱われ、再度処理する機会を待って実行される。
【0004】
ところで、このようなインクジェットプリンタを、ホストコンピュータやPOS端末等のホスト装置と接続して用いる印刷システムにおいては、プリンタの電源投入時点以外に、ホスト装置の電源投入時点において発生するリセット信号に基づいて、機能回復処理を実行している。
【0005】
図8は、従来の、一般的な印刷システムにおけるプリンタ制御動作を示すタイミングチャートである。例えば、プリンタの電源投入時点において、ホスト装置も同時的に立ち上げられる場合には、同図に示すように、このホスト装置から、プリンタに対して、リセット信号が複数回発せられることがある(図示の例では3回)。なお、実際には、ホスト装置のパワーオンリセット時以外にも、OS(オペレーティングシステム)の起動時、アプリケーションの起動時、並びにアプリケーションの印刷開始時などにもリセット信号が出力されるが、ここでは説明を容易にするため、ホスト装置のパワーオンリセット信号によってのみ機能回復処理を実行する場合を図示している。このように、プリンタには、電源投入時において複数回のリセットが掛けられることになり、結果として、機能回復処理の途中における中断が数回発生することとなる。このため、中断毎に吸引処理が繰り返され、インクが無駄に消費される。
【0006】
この電源投入時の問題を回避するため、図9に示すように、プリンタの電源投入後、所定時間Tが経過するまでは、ホスト装置からのリセット信号を受信してもクリーニング処理やメンテナンス処理等の機能回復処理を行わず、所定時間経過後、機能回復処理(クリーニング処理)を行うことにより、図8に示した例と比較すると、結果的に機能回復処理の開始が遅れてしまう(遅延時間ΔT)ものの、機能回復処理の中断を無くし、インクの無駄な消費を回避する技術が開示されている(例えば、特許文献1参照)。
【0007】
【特許文献1】
特開2000−103140号公報(第7図等)
【0008】
【発明が解決しようとする課題】
ところが、特許文献1に記載の方法では、ホスト装置からのリセット信号の到来時刻が一定でなければ効果がなく、ホスト装置とプリンタの電源投入時刻に差が生じる場合は、リセット信号の到来時刻が不確定になるため、前述の効果が保証されない。また、常にプリンタの方が先に電源が投入されているとは限らず、ホスト装置に先に電源が入れられ、後からプリンタに電源が入れられる場合も、リセット信号の入り方が異なるため前述の効果が期待できない場合が多い。
【0009】
また、上記の通り、インクジェットプリンタは、電源投入時とは限らず、稼働途中においてもクリーニング処理やメンテナンス処理を行うので、この間に、コンピュータからリセット信号が到来すると、やはり前述と同様にクリーニング処理の中断等の問題点が生じる。さらに、上記の稼働途中におけるクリーニング処理やメンテナンス処理は、時間や、管理している制御パラメータを考慮して選択的に実行されるので、その実行タイミングが、連続印刷が行われている僅かな隙間の時間帯であった場合は、ユーザから見ると、印刷途中のクリーニングやメンテナンス処理の介在により、印刷が中断されたように感じられるという問題点があった。
【0010】
図10は、ホスト装置としてPOS端末を用いた印刷システム(POSシステム)における、一人の顧客に対するプリンタ制御動作を示すタイミングチャートである。このように、POSシステムにおいて用いられる印刷装置の場合は、顧客毎の処理の間隙(図示Sの期間)以外にも、一人の顧客に対する処理の間において、単票用紙(小切手)の挿入待ち期間や、幾つかのロール紙印刷(レシートや領収書印刷)動作の合間(図示Lの期間)に、機能回復処理が入る可能性がある。ところが、一人の顧客に対する処理中には、機能回復処理を実行するために十分な時間が確保できない場合が多いため、顧客を待たせてしまうことがあり、作業効率の低下を招いていた。
【0011】
本発明は、上記問題点に鑑みてなされたものであって、クリーニング処理やメンテナンス処理を含む機能回復処理の実行を、ホスト装置側で制御することにより、適切なタイミングで機能回復処理を行い得ると共に、当該機能回復処理の中断による無駄なインクの消費を防止することができるインクジェットプリンタ、印刷システム、インクジェットプリンタの制御方法、プログラムを提供することを目的とする。
【0012】
【課題を解決するための手段】
本発明のインクジェットプリンタは、ホスト装置からの制御データに基づいて動作するインクジェットプリンタにおいて、所定のタイミングにおいて、印刷ヘッドを機能回復するための機能回復処理を実行する機能回復処理手段と、ホスト装置から、機能回復処理の実行を許可する許可コマンドを受信する許可コマンド受信手段と、を備え、機能回復処理手段は、許可コマンドの受信を条件として、機能回復処理を実行することを特徴とする。
【0013】
また、本発明のインクジェットプリンタの制御方法は、所定のタイミングにおいて、印刷ヘッドを機能回復するための機能回復処理を行い得ると共に、ホスト装置からの制御データに基づいて動作するインクジェットプリンタの制御方法であって、ホスト装置から、機能回復処理の実行を許可する許可コマンドをインクジェットプリンタに送信する許可コマンド送信工程と、許可コマンドの送信に基づき、インクジェットプリンタに機能回復処理を実行させる機能回復処理工程と、を備えたことを特徴とする。
【0014】
これらの構成によれば、インクジェットプリンタは、ホスト装置から、機能回復処理の実行を許可する許可コマンドの受信を条件として、機能回復処理を実行する、言い換えれば許可コマンド受信時までは機能回復処理を実行しないため、ホスト装置の起動時に発生するリセット信号によって機能回復処理を実行することがない。したがって、当該機能回復処理が中断することによる無駄なインクの消費を防止することができる。
【0015】
この場合、機能回復処理手段は、許可コマンドの受信時に、機能回復処理を実行することが好ましい。
【0016】
また、この場合、機能回復処理工程では、許可コマンドの送信時に、機能回復処理を実行させることが好ましい。
【0017】
これらの構成によれば、インクジェットプリンタは、ホスト装置からの許可コマンドの受信時に機能回復処理を実行するため、ホスト装置は、印刷処理に影響を与えないような(機能回復処理の実行によって印刷開始が遅れることがないような)適切なタイミングで、インクジェットプリンタに対して機能回復処理を行わせることができる。
【0018】
これらの場合、ホスト装置から送信された許可コマンドに基づいて機能回復処理を実行するホスト指示モードと、許可コマンドに関わらず所定のタイミングで機能回復処理を実行するプリンタ判断モードとのいずれかを設定する機能回復処理モード設定手段を更に備え、機能回復処理手段は、設定された機能回復処理モードに応じて機能回復処理を実行することが好ましい。
【0019】
また、この場合、ホスト装置からの許可コマンドの送信に基づいて機能回復処理を実行させるホスト指示モードと、許可コマンドの送信に関わらず、所定のタイミングで機能回復処理を実行させるプリンタ判断モードとのいずれかを設定する機能回復処理モード設定工程を更に備え、機能回復処理工程では、設定された機能回復処理モードに応じて機能回復処理を実行させることが好ましい。
【0020】
これらの構成によれば、インクジェットプリンタは、ホスト装置から送信された許可コマンドに基づいて機能回復処理を実行するホスト指示モード、並びに許可コマンドに関わらず所定のタイミングで機能回復処理を実行するプリンタ判断モードの2つのモードを有するため、ホスト装置(またはこれに組み込まれたアプリケーションやプリンタドライバ)が許可コマンド送信機能を有しない場合であっても、インクジェットプリンタをプリンタ判断モードにしておくことで、機能回復処理が実行されなくなるといった状態を回避することができる。したがって、ホスト装置が許可コマンドを送信可能か否かに関わらず、インクジェットプリンタは印刷品質を保持することができる。
【0021】
この場合、機能回復処理モード設定手段は、ホスト装置からの制御データまたはコマンドに基づいて切替可能に構成されていることが好ましい。
【0022】
また、この場合、機能回復処理モード設定工程では、ホスト装置の操作に基づいて、機能回復処理モードの設定を行うことが好ましい。
【0023】
これらの構成によれば、システムの更新時などにおいて、ホスト装置側で機能回復処理モードの設定を容易に行うことができる。なお、この場合、機能回復処理モード設定手段をメモリスイッチによって構成することも可能である。
【0024】
これらの場合、機能回復処理手段は、複数種類の機能回復処理を実行し、許可コマンド受信手段は、複数種類の機能回復処理に対応する複数種類の許可コマンドのうち、いずれかを受信することが好ましい。
【0025】
また、これらの場合、機能回復処理には、複数種類の機能回復処理が含まれ、許可コマンド送信工程では、複数種類の機能回復処理に対応する複数種類の許可コマンドのうち、いずれかを送信し、機能回復処理工程では、許可コマンドの種類に応じた機能回復処理を実行させることが好ましい。
【0026】
これらの構成によれば、ホスト装置は、複数種類の機能回復処理に対応した複数種類の許可コマンドの中からいずれかの許可コマンドを送信するため、ホスト側の判断により、インクジェットプリンタに対して適切な種類の機能回復処理を行わせることができる。
【0027】
これらの場合、ホスト装置から、機能回復処理の実行を禁止する禁止コマンドを受信する禁止コマンド受信手段を更に備え、機能回復処理手段は、禁止コマンドの受信後、許可コマンドの受信時まで、機能回復処理を実行しないことが好ましい。
【0028】
また、これらの場合、ホスト装置から、機能回復処理の実行を禁止する禁止コマンドを送信する禁止コマンド送信工程を更に備え、機能回復処理工程では、禁止コマンドの受信後、許可コマンドの受信時まで、機能回復処理を実行させないことが好ましい。
【0029】
これらの構成によれば、ホスト装置は、禁止コマンドを送信することにより、インクジェットプリンタによって機能回復処理を実行しない期間を特定することができる。したがって、ホスト装置側で、印刷処理に影響を与える可能性があると判断した時点では禁止コマンドを送信し、印刷処理に影響を与えないと判断した時点で許可コマンドを送信することにより、より適切なタイミングで機能回復処理を実行させることができる。
【0030】
これらの場合、機能回復処理手段は、許可コマンドの受信に代えて、特定の印字データまたは特定のコマンドの受信を条件として、機能回復処理を実行することが好ましい。
【0031】
また、これらの場合、機能回復処理工程では、許可コマンドに代えて、特定の印字データまたは特定のコマンドの送信に基づいて、機能回復処理を実行させることが好ましい。
【0032】
これらの構成によれば、インクジェットプリンタは、特定の印字データまたは特定のコマンドの受信に基づいて機能回復処理を実行するため、ホスト装置側がホスト指示モードに対応していなくても(許可コマンド送信機能を有しなくても)、インクジェットプリンタの印刷品質を保持することができる。
【0033】
本発明の印刷システムは、上記のいずれか1に記載のインクジェットプリンタと、ホスト装置とから成り、ホスト装置は、許可コマンドをインクジェットプリンタに送信する許可コマンド送信手段を備え、許可コマンド送信手段は、ホスト装置に組み込まれたアプリケーションの起動時および/または終了時において、許可コマンドを送信することを特徴とする。
【0034】
この構成によれば、ホスト装置に組み込まれたアプリケーションの起動時直後に印刷を行うことは考えにくいため、印刷処理に影響を与えることなく機能回復処理を実行させることができる。また、アプリケーションの終了時において印刷を行うことも想定できないため、同様に印刷処理に影響を与えることなく機能回復処理を実行させることができる。さらに、アプリケーションの起動時および/または終了時において、許可コマンドを送信するため、アプリケーション自体が許可コマンドを送信する機能に対応していなくとも、インクジェットプリンタに対して、機能回復処理の実行を許可することができる。
【0035】
この場合、ホスト装置は、オペレータによる商品情報の入力に基づいて精算処理を行うPOS端末であり、許可コマンド送信手段は、商品情報が入力されたとき、許可コマンドを送信することが好ましい。
【0036】
この構成によれば、POS端末使用時において、オペレータにより商品情報が入力されたときは、通常複数の商品情報が入力され、その間印刷が行われることがないため、印刷処理に影響を与えることなく機能回復処理を実行させることができる。
【0037】
これらの場合、POS端末は、クレジットカードによる精算処理が可能であり、許可コマンド送信手段は、クレジットカードの情報読込が完了したとき、許可コマンドを送信することが好ましい。
【0038】
この構成によれば、POS端末使用時において、クレジットカードの情報読込が完了したときは、通常クレジットカードの認証処理が行われ、その間印刷が行われることがないため、印刷処理に影響を与えることなく機能回復処理を実行させることができる。
【0039】
これらの場合、POS端末は、小切手による精算処理が可能であり、許可コマンド送信手段は、小切手への印刷が完了したとき、許可コマンドを送信することが好ましい。
【0040】
この構成によれば、POS端末使用時において、小切手への印刷が完了したときは、通常顧客による小切手へのサインが行われ、その間印刷が行われることがないため、印刷処理に影響を与えることなく機能回復処理を実行させることができる。
【0041】
これらの場合、許可コマンド送信手段は、許可コマンドを、インクジェットプリンタに送信する印刷データの最後に付加して送信することが好ましい。
【0042】
この構成によれば、POS端末使用時において、印刷終了直後に印刷を再開することは考えにくいため、印刷処理に影響を与えることなく機能回復処理を実行させることができる。
【0043】
これらの場合、許可コマンド送信手段は、POS端末が休止状態になるとき、および/または休止状態から稼動状態になるとき、許可コマンドを送信することが好ましい。
【0044】
この構成によれば、POS端末使用時において、POS端末が休止状態になるとき(例えば、オペレータの交代を意味する操作が行われたとき)は当然印刷が行われることがないため、印刷処理に影響を与えることなく機能回復処理を実行させることができる。また、休止状態から稼動状態になるときも(例えば、オペレータの登録を意味する操作が行われたとき)、その直後に印刷が行われることは考えにくいため、同じく印刷処理に影響を与えることなく機能回復処理を実行させることができる。また、休止状態から稼動状態になったときは、ノズル内のインクが増粘していることが考えられるため機能回復処理を行うことで、印刷品質を保持することができる。
【0045】
この場合、POS端末は、バーコードスキャナによる読み込みによって商品情報の入力を行い、バーコードスキャナが所定の保管位置に保管されたとき、休止状態とみなし、バーコードスキャナが保管位置から離脱されたとき、休止状態から稼動状態になったものとみなすことが好ましい。
【0046】
この構成によれば、バーコードスキャナが所定の保管位置に保管されたということは、しばらくシステムを利用しないことを意味し(通常、精算処理の途中でバーコードスキャナを保管位置に置くことは考えられない)、逆に保管位置から離脱されたときは、精算処理の開始を意味するものであるから、適切なタイミングで機能回復処理を実行させることができる。
【0047】
本発明のプログラムは、上記のいずれか1に記載のインクジェットプリンタの制御方法における各工程を実行させることを特徴とする。
【0048】
この構成によれば、クリーニング処理やメンテナンス処理を含む機能回復処理の実行を適切なタイミングで行い得ると共に、当該機能回復処理の中断による無駄なインクの消費を防止することができるプログラムを提供することができる。
【0049】
【発明の実施の形態】
以下、本発明に係るインクジェットプリンタ、印刷システム、インクジェットプリンタの制御方法、プログラムについて、〔第1の実施形態〕、〔第2の実施形態〕の順に図面を参照して詳細に説明する。なお、それぞれの実施形態では、インクジェットプリンタ、印刷システム、およびインクジェットプリンタの制御方法について説明するが、本発明に係るプログラムについては、POS端末(ホスト装置)に含まれる構成要素として実現するためのプログラムであることから、当該プログラムに関する説明は省略する。
【0050】
〔第1の実施形態〕
図1は、本発明の第1の実施形態に係る印刷システムPSの全体的なブロック構成を示す構成図である。本実施形態の印刷システムPSは、後述するプリンタ2に制御データを送信して、これを制御するPOS端末1(ホスト装置)と、POS端末1からの指令により、クリーニング処理やメンテナンス処理を含む機能回復処理を行うインクジェット方式のプリンタ2(インクジェットプリンタ)と、によって構成されている。
【0051】
ここで、クリーニング処理とは、印刷ヘッド(図示省略)からのインクの吐出および/または印刷ヘッドからのインクの吸引を含む処理を言い、メンテナンス処理とは、インクの消費を伴わず、クリーニング処理よりも短時間で実行可能な処理を言うものであるが、これらクリーニング処理およびメンテナンス処理の具体的な処理内容については後述する。
【0052】
POS端末1は、全体を制御するOS(オペレーティングシステム)5と、当該OS5上で実行されるアプリケーション6と、後述の各種入力装置(キーボード14、カードリーダ15およびバーコードスキャナ16等)からの情報入力やプリンタ2の状態を監視する状態監視部12と、プリンタ2との整合性を図ると共にこれを制御するプリンタドライバ13と、オペレータが商品情報を入力するキーボード14と、顧客から提示されたクレジットカードの情報を読みとるカードリーダ15と、商品に貼付若しくは印刷されたバーコードを読みとるためのバーコードスキャナ16と、入力された情報や処理結果等を表示するためのディスプレイ17と、プリンタ2とのインターフェースを担うI/F19とを備えている。
【0053】
プリンタドライバ13は、プリンタ2の機能回復処理モード(後述する)を選択するための機能回復処理モード選択部131を有し、初期設定時やシステム更新時などにおいて、機能回復処理モードの選択(設定)を行い得るようになっている。
【0054】
アプリケーション6は、プリンタ2に対して上記の機能回復処理の実行を許可するための許可コマンドを送信する許可コマンド送信部11を有し、POS端末1における精算処理の他、プリンタ2における印刷処理や機能回復処理を行うためのプログラムから成る。
【0055】
状態監視部12では、プリンタ2の電源投入、キーボード14やバーコードスキャナ16による商品情報の入力、カードリーダ15によるクレジットカードの情報読込等を監視し、その監視結果に基づいて、許可コマンド送信部11がプリンタ2に対して許可コマンドを送信する。また、許可コマンド送信部11は、アプリケーションの起動時および/または終了時にも許可コマンドを送信する。
【0056】
また、許可コマンド送信部11は、状態監視部12の監視結果に基づき、予め設定された種類の許可コマンドを、プリンタドライバ13を介して送信する。許可コマンドの種類としては、軽いもの(短時間で終了可能なもの)から順に、第1許可コマンド、第2許可コマンドおよび第3許可コマンドがあり、これらのうちいずれかの許可コマンドを送信する(各許可コマンドの詳細については後述する)。なお、送信する許可コマンドの種類は、オペレータの設定によって変更可能としても良い。また、状態監視部12の監視結果によって変更することなく、同一種類の許可コマンドを送信するようにしても良い。
【0057】
一方、プリンタ2は、POS端末1からの印刷データに基づいて、後述のレシート31や小切手32に印刷を行うものであり、CPU、ROMおよびRAM等のメモリを有しPOS端末1からの制御データ(上記の許可コマンドを含む)を受信すると共に、プリンタ2の状態情報をPOS端末1に送信するI/F20と、制御データに基づいてプリンタ2全体を制御する制御部21と、インクジェットヘッドを用いて印刷を行う印刷部22と、クリーニング処理やメンテナンス処理を含む機能回復処理を実行する機能回復処理実行部23とを備えている。
【0058】
制御部21は、POS端末1から送信された許可コマンドを取得し、これを記憶する許可コマンド取得部211と、POS端末1側で選択された機能回復処理モードに関する情報を取得し、モード設定を行う機能回復処理モード設定部212とを備え、設定した機能回復処理モードにしたがって機能回復処理実行部23における機能回復処理を制御する。
【0059】
機能回復処理モード設定部212では、POS端末1から送信された許可コマンドに基づいて(許可コマンドを条件として)機能回復処理を実行するホスト指示モードと、許可コマンドの受信に関わらず所定のタイミングで機能回復処理を実行するプリンタ判断モードとのいずれかを設定し、ホスト指示モードに設定した場合は、許可コマンド取得部211で許可コマンドを取得しない限り、機能回復処理を実行しないように構成されている。なお、機能回復処理モード設定部212は、POS端末1からの制御データにより切り替えられるメモリスイッチにより構成されている。
【0060】
ここで、機能回復処理(クリーニング処置およびメンテナンス処理)の具体的な処理について説明する。上記のクリーニング処理とは、主に増粘インクおよびインク経路内の気泡の排出を目的として印刷ヘッドをキャッピングした後ノズルからインクを吸引する吸引処理、ゴムのワイパーでヘッド表面に付着したインクを拭き取るワイピング処理、スポンジ等を用いて同じくヘッド表面に付着したインクを拭き取るラビング処理、キャップまたは非印刷領域に所定量のインクを空吐出するフラッシング処理(吐出処理)等を含むものであり、メンテナンス処理と比較して、長周期、且つ長時間を要する動作を意味するものである。なお、フラッシング処理は、許可コマンドの受信時以外に印刷処理中においても数秒間に1回の割合で実行される。しかしながら、わずかな時間で実行可能であるため、印刷処理に影響を与えることが無い。
【0061】
また、クリーニング処理には、プリンタ2の初回起動時や、カートリッジ交換時、および前回のクリーニング実行時から所定期間を経過した場合(2〜3日程度)の起動時などに実行される重いクリ−ニング処理と、これら以外に実行される軽いクリーニング処理とがあり、前者の重いクリ−ニング処理は、吸引処理、ワイピング処理、ラビング処理等が複合して実行される。また、後者の軽いクリーニング処理は、吸引処理、ワイピング処理、ラビング処理等が単独で実行される(各処理を短時間で実行し、それらを組み合わせても良い)。そして、プリンタ2がホスト指示モードに設定されている場合、POS端末1からの第2許可コマンドの受信を条件として軽いクリーニング処理を実行し、第3許可コマンドの受信を条件として重いクリ−ニング処理を実行する。
【0062】
また、メンテナンス処理とは、印刷中に実行されるフラッシング処理で吐出されたキャップ内のインクを吸引する空吸引処理等を含むものであり、クリーニング処理と比較して、短周期、且つ短時間で行われる動作を意味するものである。そして、プリンタ2がホスト指示モードに設定されている場合、POS端末1からの第1許可コマンドの受信を条件として、メンテナンス処理が実行される。
【0063】
なお、クリーニング処理に要する時間は、重いクリーニング処理の場合20秒程度、軽いクリーニング処理の場合は10秒程度である。また、メンテナンス処理には、10秒弱程度の時間を要する。なお、クリーニング処理とメンテナンス処理は、上記の各種処理に限らず、印刷状態を良好に保持するための各種保全処理を組み合わせて行っても良い。また、クリーニング処理において、空吸引処理を組み合わせたり、メンテナンス処理において比較的短時間で実行可能なラビング処理を行うなどの設計変更も可能である。
【0064】
次に、POS端末1およびプリンタ2の装置構成について、図2を参照して説明する。同図に示すように、POS端末1は、本体ケース18の前部上面にオペレータが商品情報を入力するキーボード14と、その後部右側にオペレータが入力情報を確認するオペレータ用ディスプレイ17aとを配置し、本体ケース18内にはキャッシュドロア18aが収納されている。また、本体ケース18の右側側面には商品に貼付されたバーコードを読みとるためのバーコードスキャナ16、キーボード14の右側には、顧客から提示されたクレジットカードを読みとるためのカードリーダ15(カードリーダ用スロット)が形成されている。さらに、本体ケース18の背面側には、顧客が商品情報等を確認するための顧客用ディスプレイ17bが配置されている。
【0065】
一方、プリンタ2は、コネクタ(図示省略)を介してPOS端末1と接続されており、樹脂製の外装カバー25を備えている。また、その前面部には小切手32を手差しで略水平方向に差し込む挿入口26が形成され、その上面部に小切手32を排出する排出口27が形成されている。なお、挿入口26からは、スリップ(伝票用紙、バリケーション)等の単票用紙も挿入されて、これに印刷を行ない得るようになっている。また、印刷済みの単票用紙は、当該挿入口26から排出される。また、排出口27の後部には、レシート排出口28が形成され、レシート排出口28付近には印刷済みのレシート31を切断するためのカッタ(図示省略)が臨んでいる。
【0066】
また、いずれも図示を省略するが、内部には小切手32に予め印刷された磁気情報(MICRコード)の読み取り機構、小切手表書き印刷機構(単票用紙印刷機構としても機能する)、小切手裏書き印刷機構、レシート印刷機構が組み込まれ、レシート31と小切手32は、同一ヘッドで印刷を行う構成となっている。なお、レシート31と小切手32とをそれぞれ異なる印刷ヘッドにより印刷を行う構成としても良いし、MICRコードの読み取り機構を別に設けても良い。また、POS端末1とプリンタ2とが、機械的に分離しているタイプを例示したが、両者を一体構成とすることも可能である。
【0067】
次に、本発明の第1の実施形態に係る印刷システムPSの動作について、図3のタイミングチャートを参照して説明する。同図は、プリンタ2の機能回復処理モードがホスト指示モード(POS端末1からの指示により機能回復処理を実行するモード)に設定されている場合を示したものである。ここに示すとおり、POS端末1の起動時において、POS端末1から、従来どおり複数回(ここでは3回)のリセット信号が出されているが、プリンタ2がホスト指示モードに設定されているため、このリセット信号によっては機能回復処理を実行しない(但し、メカの初期化は行われる)。
【0068】
すなわち、同図に示すように、機能回復処理モード選択部131での機能回復処理モードの選択により、POS端末1起動時において、リセット信号が発信される度に繰り返されていたメカの初期化とプリンタ2による自動的な機能回復処理(図8参照)とが、メカの初期化だけに制限されている。また、同図に示す動作例では、アプリケーション起動時のリセット信号の発生後、送信された許可コマンドにより、プリンタ2は機能回復処理を実行しているが、この許可コマンドの送信は、アプリケーション起動時のみならず、状態監視部12の監視結果に基づき、プリンタ2における印刷処理に影響を与えないタイミングで行われる。
【0069】
そこで、POS端末1から許可コマンドをプリンタ2に送信するタイミングの具体例について、幾つか例を挙げて説明する。
(1) プリンタ2の初回起動時、カートリッジ交換時、および前回のクリーニング実行時から所定期間を経過した場合の起動時。この場合は、第3許可コマンドを送信し、20秒程度の重いクリーニング処理を許可する。
(2) POS端末1(印刷システムPS)の起動時。この場合は、第3許可コマンドを送信し、重いクリーニング処理を許可する。
(3) 商品情報の入力時(バーコードスキャナ16によるバーコードの読込時)。この場合は、第1許可コマンドを送信し、メンテナンス処理を許可する。
(4) レシート31の印刷終了時。但し、クレジットカードによる支払いの場合、クレジットカードの利用明細控となるレシート31の印刷終了時。また、小切手による支払いの場合のレシート31の印刷終了時。この場合は、顧客による利用明細控・小切手への署名の時間を利用し、第2許可コマンドを送信して、10秒程度の軽いクリーニング処理を許可する。
(5) 精算金額が印刷されたレシート31の他に、領収書としてのレシート31の印刷を行う場合、領収書の印刷終了時。この場合は、第1許可コマンドを送信し、メンテナンス処理を許可する。
(6) クレジットカードによる支払いの場合、クレジットカードの読込終了時。この場合は、第2許可コマンドを送信し、10秒程度の軽いクリーニング処理を許可する。
(7) バーコードスキャナ17が所定の保管位置(図示省略)に保管されたとき。この場合は、第3許可コマンドを送信し、重いクリーニング処理を許可する。
(8) その他、POS端末が休止状態になるとき。または休止状態から稼動状態になるとき。この場合は、第2許可コマンドまたは第3許可コマンドを送信し、軽いクリーニング処理または重いクリーニング処理を許可する。
【0070】
なお、(7)の場合において、バーコードスキャナ17が所定の保管位置に保管されたことの判断は、保管位置にバーコードを備え、バーコードスキャナ17がこれを読み取ることによって判断しても良い。また、保管位置に検出センサを取り付け、検出センサがバーコードスキャナ17を検出したとき、バーコードスキャナ17が所定の保管位置に保管されたと判断しても良い。
【0071】
ここで、プリンタ2がホスト指示モードに設定されている場合の印刷システムPSの処理について、図4ないし図6のフローチャートを参照して説明する。図4は、現金による支払いの場合(現金決裁の場合)、図5は、クレジットカードによる支払いの場合(カード決済の場合)、図6は、小切手による支払いの場合(小切手決済の場合)を、それぞれ示している。また、分かりやすくするため、POS端末1を操作するオペレータの操作(オ)と、プリンタ2の動作(プ)と、POS端末1の動作(P)との表記を区別して図示すると共に、下記の説明では、参照番号にその動作の主体を括弧書きで付記する。また、図示では、機能回復処理を実行する期間を実線の矢印で示し、且つ図4ないし図6に共通する任意の時点を、TaおよびTbによって図示する。
【0072】
まず、現金決裁の場合の処理について、図4を参照して説明する。POS端末1のオペレータは、商品情報を入力する。より具体的には、顧客が購買する商品に印刷または貼付されているバーコードをバーコードスキャナ16によりスキャンし、最後にキーボード14の小計キーを押下する(ステップS1(オ))。次に、POS端末1のオペレータは、顧客の申請等により、代金の支払い方法を選択して、キーボード14の対応するキーを押下する(ステップS2(オ))。以下、この支払い方法に応じて、動作フローは、3通りの小フローに分岐する(ステップS3)。支払い方法が現金の場合は、ステップS4に移る。また、支払い方法がクレジットカードの場合は、ステップS21(図5参照)に移る。さらに、支払い方法が小切手の場合は、ステップS31(図6参照)に移る。
【0073】
支払い方法が現金の場合、まず、顧客から代金に相当する現金を受け取り、その金額を、キーボード14を用いて入力する(ステップS4(オ))。そして、金額の入力に基づき、プリンタ2により、レシート(明細)31が印刷される(ステップS5(プ))。また、このステップS5の処理が行われている間に、POS端末1のキャッシュドロワ18aが開き(ステップS11(P))、受け取った現金を、このキャッシュドロワ18aに収納して、オペレータは顧客に渡すお釣り等を用意する(ステップS12(オ))。
【0074】
レシート31の印刷が完了すると、オペレータは、上記のお釣りとレシート31を顧客に手渡す(ステップS6(オ))。以下、顧客から請求書の発行要求があるか否かに応じて、動作フローは、2通りの小フローに分かれる(ステップS7)。顧客から請求書の発行要求がない場合は、そのまま処理を終了する。
【0075】
一方、顧客から請求書の発行要求がある場合は、POS端末1のオペレータは、キーボード14上の領収書発行キーを押下する(ステップS8(オ))。この領収書発行キーの押下に基づき、プリンタ2により、領収書(レシート31)が印刷され(ステップS9(プ))、この領収書を顧客に手渡して(ステップS10(オ))、処理を終了する。
【0076】
なお、POS端末1は、上記ステップS1における商品情報の入力を、状態監視部12(図1参照)で検出したとき(t1)、許可コマンド送信部11により許可コマンドを送信し、プリンタ2に機能回復処理を行わせる。なお、上記の通り、商品情報の入力時には第1許可コマンドが送信されるように予め設定されているため、プリンタ2は当該第1許可コマンドの受信に基づいてメンテナンス処理を行う。なお、当該メンテナンス処理は、ステップ5のレシート印刷までに終了することを想定して設定されている。すなわち、ここで長時間を要するクリーニング処理を行ってしまうと、商品情報の入力数が少ない場合、結果として印刷待ちの状態となってしまうためである。したがって、以下、予め設定されている許可コマンドの種類は、印刷処理に影響を与えない範囲で設定されているものとし、図示矢印で示した実行期間内に、設定した種類の機能回復処理が完了するものとして説明する。
【0077】
一方、商品情報の入力時以外にも、上記ステップS9における領収書の印刷が終了した時点で、POS端末1は、許可コマンドをプリンタ2に送信する。但し、この場合も、第1許可コマンドを送信し、メンテナンス動作を許可する。ここでは、顧客に領収書を渡すという動作から、次の顧客の処理によりプリンタ2の動作が開始されるまでの時間を見越してメンテナンス処理を許可している。
【0078】
次に、クレジットカード決裁の場合の処理について、図5を参照して説明する。POS端末1のオペレータは、顧客からクレジットカードを受け取り、カードリーダ15によりスキャンして記録されている内容を読み取る(ステップS21(オ))。次に、POS端末1の制御部(図示は省略)は、読み込んだ内容に基づき、クレジットカードの認証を行う(ステップS22(P))。次に、プリンタ2により、レシート31とクレジットカードの利用明細を印刷する(ステップS23(プ))。なお、クレジットカードの利用明細は、顧客の控え用、店舗の控え用、およびクレジットカードの会社用に分けて印刷される。また、この印刷の間に、POS端末1のキャッシュドロワ18aが開く(ステップS28(P))。
【0079】
次に、POS端末1のオペレータは、カード会社用のクレジットカードの利用明細に顧客のサインを貰う(ステップS24(オ))。また、POS端末1のオペレータは、顧客のサインによってクレジットカードを認証し、カードを返す(ステップS25(オ))。さらに、POS端末1のオペレータは、印刷されたレシート31とクレジットカードの利用明細(顧客の控え用)を顧客に渡す(ステップS26(オ))。最後に、POS端末1のオペレータは、カード利用明細(店舗控え用、およびクレジットカードの会社用)を収納する(ステップS27(オ))。
【0080】
なお、ステップS21において、クレジットカードのスキャンが終了した時点(t4)で、POS端末1は、第2許可コマンドをプリンタ2に送信し、軽いクリーニング処理を許可する。また、ステップ23におけるレシート31の印刷が終了した時点(t5)で、第2許可コマンドをプリンタ2に送信し、軽いクリーニング処理を許可する。なお、商品情報の入力開始時(t1)から実行されたメンテナンス処理が終了していない場合は、クレジットカードのスキャンが終了した時点(t4)での、軽いクリーニング処理を省略する構成としても良い。
【0081】
次に、小切手決裁の場合の処理について、図6を参照して説明する。POS端末1のオペレータは、顧客から小切手32を受け取り、プリンタ2の挿入口26(図2参照)に挿入する(ステップS31(オ))。これにより、プリンタ2は、小切手32に予め印字された磁気情報(MICRコード)の文字認識を行う(ステップS32(プ))。また、プリンタ2は、小切手32の表面に表書き印刷を行い(ステップS33(プ))、続いて、小切手322の裏面に裏書き印刷を行う(ステップS34(プ))。但し、ここでは、プリンタ2が、MICR文字認識、小切手の表書き印刷、および小切手の裏書き印刷が一括で処理可能の場合として説明している。
【0082】
次に、商品情報の入力(図4のステップ1)に基づいて、プリンタ2により、レシート31(明細)を印刷する(ステップS35(プ))。また、このレシート印刷の間に、POS端末1のキャッシュドロワ18aが開く(ステップS39(P))。そして、POS端末1のオペレータは、印刷された小切手を顧客に手渡し、顧客のサインを貰う(ステップS36(オ))。その後、POS端末1のオペレータは、印刷されたレシート31を顧客に手渡し(ステップS37(オ))、小切手32を、POS端末1のキャッシュドロワに収納する(ステップS38(オ))。
【0083】
なお、ステップS35において、レシート31の印刷が終了した時点(t7)で、POS端末1は、第2許可コマンドをプリンタ2に送信し、軽いクリーニング処理を許可する。
【0084】
以上、プリンタ2がホスト指示モードに設定されている場合について説明したが、プリンタ2がプリンタ判断モードに設定されている場合は、上記のタイミングでPOS端末1から許可コマンドが送信されても、機能回復処理を実行しない。すなわちこの場合は、プリンタ2が管理している種々の制御パラメータに基づいて、機能回復処理(クリーニング処理および/またはメンテナンス処理)を実行する。このように、プリンタ判断モードを備えることにより、POS端末1(またはこれに組み込まれたアプリケーション6やプリンタドライバ13)が許可コマンド送信機能に対応していない場合(例えばプリンタ2だけを置き換えた場合など)であっても、機能回復処理が実行されなくなるといった状態を回避することができる。
【0085】
以上の通り、本発明の第1実施形態によれば、プリンタ2は、POS端末1からの許可コマンドの受信時に機能回復処理を実行するため、POS端末1側で、印刷処理に影響を与えない(機能回復処理の実行によって印刷開始が遅れることがない)と判断したときに、プリンタ2に対して機能回復処理を行わせることができる。したがって、機能回復処理が自動的に実行され、レシート31の発行時に顧客を待たせてしまう(印刷待ちの状態になる)といった不具合が生じることがない。
【0086】
なお、商品情報入力の開始時(t1)には、メンテナンス処理が実行されるものとしたが、小切手決済の場合で、且つレシート31と小切手32の印刷を異なる印刷ヘッドで行う場合は、図示点線部が機能回復処理の実行可能期間(ステップ35のレシート印刷開始時まで)となるので、軽いクリーニング処理を実行するようにしても良い(但し、レシート31の印刷機構側)。また、この場合(レシート31と小切手32の印刷を異なる印刷ヘッドで行う場合)は、小切手32への印刷が完了したとき(S34)に、軽いクリーニング処理を実行するようにしても良い。この構成によれば、小切手印刷後の顧客によるサインの時間を利用して機能回復処理を実行できるため、印刷処理に影響を与えることがない。
【0087】
また、上記の実施形態において、プリンタ2は、許可コマンドの受信時に当該許可コマンドの種類に応じた機能回復処理を実行するものとしたが、一旦アプリケーション6起動時のリセット信号発生後に、POS端末1からの許可コマンドを受信した後は(図3参照)、プリンタ2が決定する所定のタイミングで、機能回復処理を行う構成としても良い。すなわち、POS端末起動時のリセット信号に基づいてはプリンタ2に機能回復処理を行わせないものとし、一旦許可コマンドを送信した後のプリンタ2における機能回復処理はプリンタ2の判断に委ねるようにしても良い。
【0088】
また、プリンタ2は、許可コマンドの受信に代えて、特定の印字データ(アプリケーション起動後の最初の印字データなど)または特定のコマンドの受信に基づいて、機能回復処理を実行する構成としても良い。この構成によれば、ホスト装置側がホスト指示モードに対応していなくても(許可コマンドを送信する機能を有しなくても)、プリンタ2の印刷品質を保持することができる。なお、この場合、特定のコマンドは1種類に限らず、複数種類のコマンドを特定コマンドとして機能させることも可能である。
【0089】
また、このように、アプリケーション6の起動時に一度だけ許可コマンドを送信する構成においても、プリンタ2は許可コマンドを受信した時点で機能回復処理を実行することが好ましい。この構成によれば、プリンタ2の起動時から許可コマンド受信時までの期間が長い場合であっても、印刷品質を保持することができる。
【0090】
また、上記の実施形態では、状態監視部12の監視結果に基づいて、許可コマンドを送信するものとしたが、レシート31や小切手32に印刷するための印刷データの最後に許可コマンドを付加してプリンタ2に送信するようにしても良い。この構成によれば、POS端末1を用いた印刷システムPSにおいて、印刷終了直後に印刷を再開することは想定しにくいため、印刷データの最後に許可コマンドを付加することで、印刷処理に影響を与えることなく、プリンタ2に機能回復処理を実行させることができる。
【0091】
また、上記の実施形態では、プリンタ2の機能回復処理モード設定部212(図1参照)がメモリスイッチにより構成され、POS端末1の操作によりモード切替できるものとしたが、POS端末1からコマンドを送信することによって、モード切替を行なうようにしても良い。また、機能回復処理モード設定部212をディップスイッチによって構成することも可能である。
【0092】
〔第2の実施形態〕
以下、本発明の第2の実施形態について図7を参照して説明する。上記の実施形態では、POS端末1から許可コマンドを送信することによってプリンタ2に機能回復処理を実行させるものとしたが、本実施形態では、許可コマンドの他に機能回復処理を実行させないための禁止コマンドを送信し、許可コマンド送信時から禁止コマンド送信時までの間に、プリンタ2が機能回復処理を実行するように制御するものである。そこで、上記の実施形態と異なる点を中心に、図7のタイミングチャートを参照して説明する。
【0093】
まず、本実施形態に係る印刷システムPSでは、状態監視部12は、プリンタ2の状態の他、POS端末1の入力装置(キーボード14、カードリーダ15、およびバーコードスキャナ16)の状態を監視し、顧客の処理が開始されたことを検出した時点でプリンタ2に禁止コマンドを送信する(NC)。顧客の処理が開始されたことは、バーコードスキャナ16による商品情報の入力開始(t1:図4参照)によって検出可能である。
【0094】
そして、顧客の処理が終了したことを検出した時点で、プリンタ2に対し許可コマンド(ここでは、第1許可コマンドまたは第2許可コマンド)を送信し、軽いクリーニング処理またはメンテナンス処理を許可する(C)。顧客の処理が終了したことは、例えば、領収書の印刷終了(t2)によって検出可能である。また、顧客から領収書の要求がない場合は、オペレータによるキーボード14の所定キーの押下等により検出可能である。
【0095】
このように、1人の顧客に対するトランザクションにおいては、機能回復処理を禁止するようにし、以後、顧客と次の顧客の処理の間に機能回復処理を実行させる。なお、顧客の処理が開始されたとき、禁止コマンドに代えて、10秒弱程度で実行可能なメンテナンス処理を許可する第1許可コマンドを送信する構成としても良い。この構成によれば、顧客の処理開始時に、短時間で終了可能なメンテナンス処理を実行するため、顧客を待たせることなく印刷品質も保持することができる。
【0096】
ここで、POS端末1が長時間休止状態になるとき(図示の場合、顧客―3の処理期間後)は、プリンタ2に対し第3許可コマンドを送信し、重いクリーニング処理を許可する。POS端末1がしばらく休止状態になることは、例えば、バーコードスキャナ17が所定の保管位置(図示省略)に保管されたことにより、検出可能である。また、オペレータの交代を意味するキーボード14の所定キーの押下によって、休止状態と判断することも可能である。
【0097】
以上の通り、本発明の第2実施形態によれば、POS端末1は、禁止コマンドを送信することにより、プリンタ2に対して機能回復処理を実行しない期間を特定することができる。したがって、POS端末1側で、印刷処理に影響を与える可能性があると判断した場合は、禁止コマンドを送信し、印刷処理に影響を与えないと判断した場合に許可コマンドを送信することにより、より適切なタイミングで機能回復処理を実行させることができる。
【0098】
なお、本実施形態の場合、顧客の処理開始時のみならず、POS端末1の起動時に禁止コマンドをプリンタ2に送信することにより、POS装置1の起動時におけるリセット信号に基づく機能回復処理の実行(中断)を回避するようにしても良い。なお、この場合は、アプリケーション6ではなく、プリンタドライバ13に許可コマンド送信部11を備えることが好ましい。この構成によれば、確実にプリンタ2による機能回復処理の実行を禁止することができる。
【0099】
また、上記の例では、POS端末1から許可コマンドと禁止コマンドとの両方を送信する場合を例に挙げたが、禁止コマンドのみを送信することも可能である。すなわち、この場合、禁止コマンドは、所定期間だけ機能回復処理の実行を禁止するように構成されていることが好ましい。つまり、プリンタ2は、禁止コマンドの受信後、例えば3分間は機能回復処理を実行することができず、その後所定のタイミング(若しくは、所定期間経過直後)に機能回復処理を実行することとなる。さらに、この場合、所定期間(機能回復処理の実行を禁止する期間)をPOS端末1が指定(選択)できるように構成しても良い。
【0100】
以上、第1実施形態および第2実施形態において説明したとおり、本発明によれば、プリンタ2は、POS端末1から許可コマンドを受信するまでは機能回復処理を実行しないため、POS端末1の起動時に発生するリセット信号によって機能回復処理を実行することがない。したがって、当該機能回復処理が中断することによる無駄なインクの消費を防止することができる。また、プリンタ2がPOS端末1から許可コマンドを受信した時に機能回復処理を実行する構成とすることで、POS端末1は、印刷処理に影響を与えないような(機能回復処理の実行によって印刷開始が遅れることがないような)適切なタイミングで、機能回復処理を行わせることができる。
【0101】
また、プリンタ2が、POS端末1から送信された許可コマンドに基づいて機能回復処理を実行するホスト指示モード、並びに許可コマンドに関わらず所定のタイミングで機能回復処理を実行するプリンタ判断モードの2つのモードを有する構成とすることで、POS端末1(またはこれに組み込まれたアプリケーションやプリンタドライバ)が許可コマンド送信機能を有しない場合であっても、プリンタ2をプリンタ判断モードにしておくことで、機能回復処理が実行されなくなるといった状態を回避することができる。したがって、POS端末1が許可コマンドを送信可能か否かに関わらず、プリンタ2は印刷品質を保持することができる。また、機能回復処理モードは、メモリスイッチによって設定する(記憶する)ため、システムの更新時などにおいて、POS端末1側で機能回復処理モードの設定を容易に行うことができる。
【0102】
また、POS端末1が複数種類の許可コマンドを有し、当該許可コマンドの種類に応じた機能回復処理を実行する構成とすることで、POS端末側の判断により、プリンタ2に対して適切な種類の機能回復処理を行わせることができる。また、POS端末1から、禁止コマンドを送信する構成とすることで、プリンタ2によって機能回復処理を実行しない期間を特定することができる。
【0103】
なお、本発明に係る印刷システムPSの各構成要素の処理は、コンピュータ制御により実行するものとし、上記処理を、図4ないし図6のフローチャートで示した手順によりコンピュータに実行せしめるプログラムは、半導体メモリを始め、CD−ROMや磁気テープなどのコンピュータ読み取り可能な記録媒体に格納して配付しても良い。また、コンピュータが、上記の記録媒体から上記プログラムを読み出して、実行するものとしても良い。
【0104】
【発明の効果】
以上説明したように、本発明のインクジェットプリンタ、印刷システム、インクジェットプリンタの制御方法、プログラムによれば、インクジェットプリンタは、ホスト装置から、機能回復処理の実行を許可する許可コマンドを受信した後、機能回復処理を実行するため、ホスト装置の起動時に発生するリセット信号によって機能回復処理を実行することがない。したがって、当該機能回復処理が中断することによる無駄なインクの消費を防止することができる。
【0105】
また、インクジェットプリンタは、ホスト装置からの許可コマンドの受信時に機能回復処理を実行するため、ホスト装置は、印刷処理に影響を与えないような適切なタイミングで、インクジェットプリンタに対して機能回復処理を行わせることができる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態に係る印刷システムの全体的なブロック構成を示す構成図である。
【図2】本発明の第1の実施形態に係る印刷システムの装置構成を示す構成図である。
【図3】本発明の第1の実施形態に係る印刷システムの動作例を示すタイミングチャートである。
【図4】本発明の第1の実施形態に係る印刷システムの処理の一例を示すフローチャート(1/3)である。
【図5】本発明の第1の実施形態に係る印刷システムの処理の一例を示すフローチャート(2/3)である。
【図6】本発明の第1の実施形態に係る印刷システムの処理の一例を示すフローチャート(3/3)である。
【図7】本発明の第2の実施形態に係る印刷システムの動作例を示すタイミングチャートである。
【図8】従来の、一般的な印刷システムにおけるプリンタ制御処理を示すタイミングチャートである。
【図9】特許文献1に開示されている印刷システムにおけるプリンタ制御処理を示すタイミングチャートである。
【図10】従来の、POS端末を備えた印刷システムにおけるプリンタ制御処理を示すタイミングチャートである。
【符号の説明】
1 POS端末
2 プリンタ
6 アプリケーション
11 許可コマンド送信部
12 状態監視部
13 プリンタドライバ
14 キーボード
15 カードリーダ
16 バーコードスキャナ
17 ディスプレイ
19 I/F(POS端末側)
20 I/F(プリンタ側)
21 制御部
22 印刷部
23 機能回復処理実行部
31 レシート
32 小切手
211 許可コマンド取得部
212 機能回復処理モード設定部
PS 印刷システム
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an inkjet printer, a printing system, an inkjet printer control method, and a program used by connecting to a host device such as a host computer or a POS terminal.
[0002]
[Prior art]
2. Description of the Related Art In order to maintain good print quality, an ink jet printing apparatus that discharges ink from an ink jet head to perform printing (hereinafter, referred to as an “ink jet printer”) requires a function recovery process of the ink jet head. The function recovery process includes a cleaning process and a maintenance process. The former cleaning process mainly includes a suction process of suctioning ink from nozzles after capping a head for the purpose of discharging thickened ink and bubbles in an ink path. In addition, a wiping process for wiping ink adhered to the head surface with a rubber wiper, a rubbing process for wiping ink also adhered to the head surface using a sponge or the like is executed. For this reason, the processing takes a long time and is performed in a long cycle (the interval until the next processing is long). In the latter maintenance process, an idle suction process for sucking the ink in the cap ejected in the ejection process (flushing) performed during printing is performed, and compared to the cleaning process, a short time and a short cycle are used. Done in
[0003]
The function recovery processing including the cleaning processing and the maintenance processing is executed before printing and at regular timing or when a predetermined condition is satisfied. Once started, it must be executed until it is completed. If it is interrupted on the way, good print quality cannot be ensured. Therefore, when the process is interrupted, it is treated as if the process was not executed, and is executed after waiting for an opportunity to perform the process again.
[0004]
By the way, in a printing system using such an ink-jet printer connected to a host device such as a host computer or a POS terminal, in addition to the time when the power of the printer is turned on, based on a reset signal generated at the time of turning on the power of the host device. , A function recovery process is being performed.
[0005]
FIG. 8 is a timing chart showing a printer control operation in a conventional general printing system. For example, when the host device is started up at the same time when the power of the printer is turned on, a reset signal may be issued from the host device to the printer a plurality of times as shown in FIG. (3 times in the illustrated example). Actually, a reset signal is output not only at the time of power-on reset of the host device but also at the time of starting an OS (operating system), at the time of starting an application, and at the time of starting printing of an application. For ease of explanation, the case where the function recovery processing is executed only by the power-on reset signal of the host device is shown. As described above, the printer is reset a plurality of times when the power is turned on, and as a result, several interruptions occur during the function recovery processing. For this reason, the suction process is repeated every interruption, and the ink is wasted.
[0006]
In order to avoid the problem at the time of turning on the power, as shown in FIG. 9, after the power of the printer is turned on, even if a reset signal is received from the host device until a predetermined time T elapses, cleaning processing, maintenance processing, and the like are performed. By performing the function recovery process (cleaning process) after a lapse of a predetermined time without performing the function recovery process described above, the start of the function recovery process is delayed as compared with the example illustrated in FIG. ΔT) However, a technique has been disclosed in which the interruption of the function recovery processing is eliminated to avoid wasteful consumption of ink (for example, see Patent Document 1).
[0007]
[Patent Document 1]
JP-A-2000-103140 (FIG. 7, etc.)
[0008]
[Problems to be solved by the invention]
However, the method described in Patent Literature 1 has no effect unless the arrival time of the reset signal from the host device is constant, and if there is a difference between the power-on times of the host device and the printer, the arrival time of the reset signal is reduced. The effect described above is not guaranteed because it is uncertain. In addition, the printer is not always turned on first, and when the host device is turned on first and the printer is turned on later, the reset signal is input differently as described above. In many cases, the effect cannot be expected.
[0009]
In addition, as described above, the inkjet printer performs the cleaning process and the maintenance process not only at the time of turning on the power but also during the operation. Therefore, if a reset signal is received from the computer during this time, the cleaning process is performed in the same manner as described above. Problems such as interruption occur. Further, since the cleaning process and the maintenance process during the operation described above are selectively executed in consideration of time and control parameters being managed, the execution timing is limited to a small gap where continuous printing is performed. In the case of this time zone, there is a problem that the user feels that printing has been interrupted due to cleaning or maintenance processing during printing.
[0010]
FIG. 10 is a timing chart showing a printer control operation for one customer in a printing system (POS system) using a POS terminal as a host device. As described above, in the case of the printing apparatus used in the POS system, in addition to the processing gap for each customer (period S in the drawing), the waiting time for inserting a cut sheet (check) during the processing for one customer. Also, there is a possibility that the function recovery processing may be performed between some roll paper printing (receipt and receipt printing) operations (period L in the drawing). However, during processing for one customer, it is often not possible to secure sufficient time to execute the function recovery processing, so that the customer may be made to wait, leading to a reduction in work efficiency.
[0011]
The present invention has been made in view of the above problems, and the function recovery processing including the cleaning processing and the maintenance processing is controlled on the host device side, so that the function recovery processing can be performed at an appropriate timing. In addition, an object of the present invention is to provide an inkjet printer, a printing system, a control method of the inkjet printer, and a program that can prevent wasteful consumption of ink due to interruption of the function recovery processing.
[0012]
[Means for Solving the Problems]
An ink jet printer according to the present invention is a printer which operates based on control data from a host device. The function recovery processing means for executing a function recovery process for recovering the function of the print head at a predetermined timing. And permission command receiving means for receiving a permission command for permitting execution of the function recovery processing, wherein the function recovery processing means executes the function recovery processing on condition that the permission command is received.
[0013]
Further, the control method of the ink jet printer of the present invention can perform a function recovery process for recovering the function of the print head at a predetermined timing and operate the ink jet printer based on control data from the host device. A permission command transmitting step of transmitting a permission command for permitting execution of the function recovery processing to the inkjet printer from the host device; and a function recovery processing step of causing the inkjet printer to perform the function recovery processing based on the transmission of the permission command. , Is provided.
[0014]
According to these configurations, the inkjet printer executes the function recovery processing on condition that the permission command that permits the execution of the function recovery processing is received from the host device. In other words, the function recovery processing is performed until the permission command is received. Since it is not executed, the function recovery processing is not executed by the reset signal generated when the host device is started. Therefore, wasteful consumption of ink due to interruption of the function recovery processing can be prevented.
[0015]
In this case, it is preferable that the function recovery processing means executes the function recovery processing when the permission command is received.
[0016]
In this case, in the function recovery processing step, it is preferable to execute the function recovery processing at the time of transmitting the permission command.
[0017]
According to these configurations, the ink jet printer performs the function recovery process when receiving the permission command from the host device. Therefore, the host device does not affect the print process (the print start is performed by performing the function recovery process). It is possible to cause the inkjet printer to perform the function recovery processing at an appropriate timing so that the function recovery processing is not delayed.
[0018]
In these cases, one of the host instruction mode for executing the function recovery processing based on the permission command transmitted from the host device and the printer determination mode for executing the function recovery processing at a predetermined timing regardless of the permission command is set. It is preferable that the apparatus further includes a function recovery processing mode setting unit that performs the function recovery processing according to the set function recovery processing mode.
[0019]
In this case, a host instruction mode for executing the function recovery process based on the transmission of the permission command from the host device, and a printer determination mode for executing the function recovery process at a predetermined timing regardless of the transmission of the permission command. It is preferable that the method further includes a function recovery processing mode setting step of setting any one, and in the function recovery processing step, the function recovery processing is executed according to the set function recovery processing mode.
[0020]
According to these configurations, the ink jet printer performs the host instruction mode for executing the function recovery processing based on the permission command transmitted from the host device, and the printer determination to execute the function recovery processing at a predetermined timing regardless of the permission command. Since the printer has two modes, even if the host device (or an application or a printer driver incorporated in the host device) does not have the permission command transmission function, the function can be set by setting the inkjet printer in the printer determination mode. It is possible to avoid a state where the recovery processing is not executed. Therefore, regardless of whether or not the host device can transmit the permission command, the inkjet printer can maintain the print quality.
[0021]
In this case, the function recovery processing mode setting means is preferably configured to be switchable based on control data or a command from the host device.
[0022]
In this case, in the function recovery processing mode setting step, it is preferable to set the function recovery processing mode based on an operation of the host device.
[0023]
According to these configurations, it is possible to easily set the function recovery processing mode on the host device side, for example, when updating the system. In this case, the function recovery processing mode setting means can be constituted by a memory switch.
[0024]
In these cases, the function recovery processing means executes a plurality of types of function recovery processing, and the permission command receiving means may receive any one of a plurality of types of permission commands corresponding to the plurality of types of function recovery processing. preferable.
[0025]
In these cases, the function recovery processing includes a plurality of types of function recovery processing. In the permission command transmission step, any one of a plurality of types of permission commands corresponding to the plurality of types of function recovery processing is transmitted. In the function recovery processing step, it is preferable to execute a function recovery processing according to the type of the permission command.
[0026]
According to these configurations, the host device transmits any one of a plurality of types of permission commands corresponding to the plurality of types of function recovery processing. Various types of function recovery processing can be performed.
[0027]
In these cases, the apparatus further comprises a prohibition command receiving means for receiving a prohibition command for prohibiting the execution of the function recovery processing from the host device. Preferably, no processing is performed.
[0028]
In these cases, the apparatus further comprises a prohibition command transmission step of transmitting a prohibition command for prohibiting execution of the function recovery processing from the host device. In the function recovery processing step, after the prohibition command is received, until the permission command is received. It is preferable not to execute the function recovery processing.
[0029]
According to these configurations, the host device can specify the period during which the function recovery process is not performed by the inkjet printer by transmitting the prohibition command. Therefore, the host device transmits a prohibition command when it determines that there is a possibility of affecting print processing, and transmits a permission command when it determines that it does not affect print processing. The function recovery processing can be executed at an appropriate timing.
[0030]
In these cases, the function recovery processing means preferably executes the function recovery processing on condition that specific print data or a specific command is received instead of receiving the permission command.
[0031]
In these cases, in the function recovery processing step, it is preferable to execute the function recovery processing based on transmission of specific print data or a specific command instead of the permission command.
[0032]
According to these configurations, the inkjet printer performs the function recovery processing based on the reception of the specific print data or the specific command. Therefore, even if the host device does not support the host instruction mode (the permission command transmission function). ), The print quality of the inkjet printer can be maintained.
[0033]
A printing system according to the present invention includes the inkjet printer according to any one of the above, and a host device, the host device includes an authorization command transmission unit that transmits an authorization command to the inkjet printer, and the authorization command transmission unit includes: A permission command is transmitted at the time of starting and / or terminating an application incorporated in the host device.
[0034]
According to this configuration, it is unlikely that printing will be performed immediately after the application incorporated in the host device is activated, and therefore, the function recovery processing can be executed without affecting the printing processing. Further, since it is not assumed that printing is performed at the end of the application, the function recovery processing can be similarly executed without affecting the print processing. Furthermore, when the application is started and / or terminated, the permission command is transmitted. Therefore, even if the application itself does not support the function of transmitting the permission command, the inkjet printer is permitted to perform the function recovery processing. be able to.
[0035]
In this case, it is preferable that the host device is a POS terminal that performs a payment process based on the input of the product information by the operator, and that the permission command transmitting unit transmits the permission command when the product information is input.
[0036]
According to this configuration, when the merchandise information is input by the operator at the time of using the POS terminal, usually a plurality of merchandise information is input, and the printing is not performed during that time, so that the printing process is not affected. Function recovery processing can be executed.
[0037]
In these cases, it is preferable that the POS terminal can perform a settlement process using a credit card, and that the permission command transmitting means transmits a permission command when the information reading of the credit card is completed.
[0038]
According to this configuration, when the reading of the credit card information is completed at the time of using the POS terminal, the authentication processing of the credit card is normally performed, and the printing is not performed during that time. Function recovery processing can be executed without any problem.
[0039]
In these cases, it is preferable that the POS terminal can perform a checkout process by a check, and that the permission command transmitting means transmits a permission command when printing on the check is completed.
[0040]
According to this configuration, when printing on the check is completed at the time of using the POS terminal, the check is usually signed by the customer, and printing is not performed during that time. Function recovery processing can be executed without any problem.
[0041]
In these cases, it is preferable that the permission command transmitting unit adds the permission command to the end of the print data to be transmitted to the inkjet printer and transmits the print data.
[0042]
According to this configuration, when the POS terminal is used, it is unlikely that printing will be restarted immediately after printing is completed, so that the function recovery processing can be executed without affecting the printing processing.
[0043]
In these cases, it is preferable that the permission command transmitting means transmits the permission command when the POS terminal goes into a sleep state and / or when the POS terminal goes into an operation state from the sleep state.
[0044]
According to this configuration, when using the POS terminal, when the POS terminal goes into a sleep state (for example, when an operation indicating replacement of an operator is performed), printing is not performed naturally. The function recovery processing can be executed without affecting. Also, when the operation state changes from the halt state to the operation state (for example, when an operation indicating registration of an operator is performed), it is unlikely that printing will be performed immediately after that. Function recovery processing can be executed. Further, when the operation state changes from the halt state to the operation state, it is considered that the ink in the nozzles is thickened, so that the print quality can be maintained by performing the function recovery processing.
[0045]
In this case, the POS terminal inputs merchandise information by reading with the barcode scanner, and when the barcode scanner is stored in a predetermined storage position, it is regarded as inactive and when the barcode scanner is removed from the storage position. It is preferable to consider that the state has changed from the rest state to the operation state.
[0046]
According to this configuration, the fact that the barcode scanner is stored in the predetermined storage position means that the system is not used for a while (usually, it is considered that the barcode scanner is placed in the storage position during the settlement process). Conversely, when the user is removed from the storage position, it means the start of the settlement process, so that the function recovery process can be executed at an appropriate timing.
[0047]
According to a second aspect of the invention, there is provided a program for executing each of the steps in the inkjet printer control method according to any one of the above aspects.
[0048]
According to this configuration, it is possible to provide a program capable of performing the function recovery processing including the cleaning processing and the maintenance processing at an appropriate timing, and preventing wasteful consumption of ink due to interruption of the function recovery processing. Can be.
[0049]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an inkjet printer, a printing system, an inkjet printer control method, and a program according to the present invention will be described in detail with reference to the drawings in the order of [first embodiment] and [second embodiment]. In each of the embodiments, an inkjet printer, a printing system, and a control method of the inkjet printer will be described. However, the program according to the present invention is a program for realizing as a component included in a POS terminal (host device). Therefore, description of the program is omitted.
[0050]
[First Embodiment]
FIG. 1 is a configuration diagram illustrating an overall block configuration of a printing system PS according to the first embodiment of the present invention. The printing system PS according to the present embodiment transmits control data to a printer 2 described later and controls the POS terminal 1 (host device), and a function including a cleaning process and a maintenance process in response to a command from the POS terminal 1. And an inkjet printer 2 (inkjet printer) that performs a recovery process.
[0051]
Here, the cleaning process refers to a process including ejection of ink from a print head (not shown) and / or suction of ink from the print head, and the maintenance process does not involve consumption of ink and is performed more than the cleaning process. The processing can be executed in a short time, but the specific processing contents of the cleaning processing and the maintenance processing will be described later.
[0052]
The POS terminal 1 includes an OS (Operating System) 5 for controlling the entire system, an application 6 executed on the OS 5, and information from various input devices (keyboard 14, card reader 15, barcode scanner 16, etc.) to be described later. A status monitoring unit 12 for monitoring the input and the status of the printer 2; a printer driver 13 for ensuring and controlling the consistency with the printer 2; a keyboard 14 for an operator to input product information; A card reader 15 for reading card information, a barcode scanner 16 for reading a barcode affixed or printed on a product, a display 17 for displaying input information, processing results, and the like; And an I / F 19 serving as an interface.
[0053]
The printer driver 13 includes a function recovery processing mode selection unit 131 for selecting a function recovery processing mode (described later) of the printer 2, and selects (sets) a function recovery processing mode at the time of initial setting or system update. ).
[0054]
The application 6 includes a permission command transmitting unit 11 that transmits a permission command for permitting the printer 2 to execute the above-described function recovery processing. It consists of a program for performing function recovery processing.
[0055]
The status monitoring unit 12 monitors power-on of the printer 2, input of product information by the keyboard 14 and the barcode scanner 16, reading of credit card information by the card reader 15, and the like. 11 transmits a permission command to the printer 2. The permission command transmitting unit 11 also transmits a permission command when the application is activated and / or when the application is terminated.
[0056]
The permission command transmitting unit 11 transmits a preset type of permission command via the printer driver 13 based on the monitoring result of the state monitoring unit 12. As the types of permission commands, there are a first permission command, a second permission command, and a third permission command in order from the lightest (the one that can be completed in a short time), and one of these permission commands is transmitted ( The details of each permission command will be described later). Note that the type of the permission command to be transmitted may be changeable by an operator setting. Alternatively, the same type of permission command may be transmitted without being changed according to the monitoring result of the state monitoring unit 12.
[0057]
On the other hand, the printer 2 performs printing on a receipt 31 or a check 32 described later based on print data from the POS terminal 1 and has a memory such as a CPU, a ROM and a RAM, and has control data from the POS terminal 1. (Including the above-mentioned permission command), an I / F 20 for transmitting the status information of the printer 2 to the POS terminal 1, a control unit 21 for controlling the entire printer 2 based on the control data, and an inkjet head. And a function recovery process execution unit 23 that executes a function recovery process including a cleaning process and a maintenance process.
[0058]
The control unit 21 acquires the permission command transmitted from the POS terminal 1, acquires the permission command acquisition unit 211 that stores the permission command, and acquires information on the function recovery processing mode selected on the POS terminal 1 side, and sets the mode setting. A function recovery processing mode setting unit 212 for performing the function recovery processing in the function recovery processing execution unit 23 according to the set function recovery processing mode.
[0059]
The function recovery processing mode setting section 212 executes a host instruction mode for executing the function recovery processing based on the permission command transmitted from the POS terminal 1 (on condition of the permission command), and a predetermined timing regardless of the reception of the permission command. When one of the printer determination mode for executing the function recovery processing is set and the host instruction mode is set, the function recovery processing is not executed unless the permission command is acquired by the permission command acquisition unit 211. I have. The function recovery processing mode setting unit 212 is configured by a memory switch that is switched by control data from the POS terminal 1.
[0060]
Here, specific processing of the function recovery processing (cleaning processing and maintenance processing) will be described. The above-mentioned cleaning process mainly includes a suction process of sucking ink from nozzles after capping the print head for the purpose of discharging the thickened ink and bubbles in the ink path, and wiping ink adhered to the head surface with a rubber wiper. It includes a wiping process, a rubbing process for wiping ink also attached to the head surface using a sponge, a flushing process (discharge process) for idly discharging a predetermined amount of ink to a cap or a non-printing area, and the like. In comparison, it means an operation requiring a long period and a long time. The flushing process is executed once every several seconds even during the printing process other than when the permission command is received. However, since it can be executed in a short time, the print processing is not affected.
[0061]
The cleaning process includes heavy cleaning performed when the printer 2 is first started, when a cartridge is replaced, and when a predetermined period has elapsed since the previous cleaning (eg, two to three days). There are a cleaning process and a light cleaning process to be executed in addition to the above, and the former heavy cleaning process is performed by combining suction, wiping, and rubbing. In the latter light cleaning process, a suction process, a wiping process, a rubbing process, and the like are independently performed (the respective processes may be performed in a short time and may be combined). When the printer 2 is set to the host instruction mode, a light cleaning process is executed on condition that the second permission command is received from the POS terminal 1, and a heavy cleaning process is performed on condition that the third permission command is received. Execute
[0062]
Further, the maintenance process includes an idle suction process for sucking ink in the cap ejected in the flushing process performed during printing, and the like, and has a shorter cycle and a shorter time than the cleaning process. This means the operation to be performed. Then, when the printer 2 is set to the host instruction mode, the maintenance process is executed on condition that the first permission command is received from the POS terminal 1.
[0063]
The time required for the cleaning process is about 20 seconds for a heavy cleaning process and about 10 seconds for a light cleaning process. In addition, the maintenance process requires a time of about 10 seconds or less. Note that the cleaning process and the maintenance process are not limited to the above-described various processes, and may be performed in combination with various maintenance processes for maintaining a good printing state. In the cleaning process, a design change such as a combination of the idle suction process and a rubbing process that can be performed in a relatively short time in the maintenance process is also possible.
[0064]
Next, the device configurations of the POS terminal 1 and the printer 2 will be described with reference to FIG. As shown in the figure, the POS terminal 1 has a keyboard 14 on which an operator inputs product information on the front upper surface of a main body case 18 and an operator display 17a on the right side of the rear portion where the operator checks input information. A cash drawer 18a is housed in the main body case 18. A bar code scanner 16 for reading a bar code attached to a product is provided on the right side of the main body case 18, and a card reader 15 (card reader) for reading a credit card presented by a customer is provided on the right side of the keyboard 14. Slot) is formed. Further, on the back side of the main body case 18, a customer display 17b for a customer to check product information and the like is arranged.
[0065]
On the other hand, the printer 2 is connected to the POS terminal 1 via a connector (not shown) and includes a resin outer cover 25. An insertion slot 26 for manually inserting a check 32 in a substantially horizontal direction is formed on the front surface thereof, and a discharge opening 27 for discharging the check 32 is formed on an upper surface thereof. It should be noted that slip paper (slip paper, variation) or the like is also inserted from the insertion slot 26 so that printing can be performed on the slip paper. Further, the printed cut sheet is discharged from the insertion slot 26. A receipt outlet 28 is formed at the rear of the outlet 27, and a cutter (not shown) for cutting the printed receipt 31 faces near the receipt outlet 28.
[0066]
Although not shown, a mechanism for reading magnetic information (MICR code) pre-printed on the check 32, a check table writing / printing mechanism (which also functions as a cut-sheet paper printing mechanism), and a check endorsement printing are internally shown. A mechanism and a receipt printing mechanism are incorporated, and the receipt 31 and the check 32 are configured to print with the same head. The receipt 31 and the check 32 may be printed by different print heads, or an MICR code reading mechanism may be separately provided. Also, the type in which the POS terminal 1 and the printer 2 are mechanically separated has been described as an example, but they may be integrated.
[0067]
Next, the operation of the printing system PS according to the first embodiment of the present invention will be described with reference to the timing chart of FIG. FIG. 3 shows a case where the function recovery processing mode of the printer 2 is set to the host instruction mode (mode for executing the function recovery processing in accordance with an instruction from the POS terminal 1). As shown here, when the POS terminal 1 is activated, the POS terminal 1 outputs a reset signal a plurality of times (here, three times) as before, but the printer 2 is set to the host instruction mode. Depending on the reset signal, the function recovery processing is not executed (however, the mechanism is initialized).
[0068]
That is, as shown in the figure, by the selection of the function recovery processing mode by the function recovery processing mode selection unit 131, when the POS terminal 1 is activated, the initialization of the mechanism that is repeated every time the reset signal is transmitted is performed. The automatic function recovery processing (see FIG. 8) by the printer 2 is limited to only the initialization of the mechanism. In addition, in the operation example shown in the figure, the printer 2 executes the function recovery processing by the transmitted permission command after the generation of the reset signal at the time of starting the application. In addition, the process is performed at a timing that does not affect the printing process in the printer 2 based on the monitoring result of the status monitoring unit 12.
[0069]
Therefore, specific examples of the timing at which the permission command is transmitted from the POS terminal 1 to the printer 2 will be described with some examples.
(1) When the printer 2 is started for the first time, when the cartridge is replaced, and when the printer 2 is started when a predetermined period has elapsed since the previous cleaning execution. In this case, a third permission command is transmitted, and a heavy cleaning process of about 20 seconds is permitted.
(2) When the POS terminal 1 (print system PS) is activated. In this case, a third permission command is transmitted to permit heavy cleaning processing.
(3) At the time of inputting product information (at the time of reading a barcode by the barcode scanner 16). In this case, the first permission command is transmitted to permit the maintenance process.
(4) When printing the receipt 31 is completed. However, in the case of payment by a credit card, the printing of the receipt 31, which is a credit card statement, is completed. At the end of printing the receipt 31 in the case of payment by check. In this case, the second permission command is transmitted by using the time of the customer's statement of use and signature on the check, and a light cleaning process of about 10 seconds is permitted.
(5) When printing a receipt 31 as a receipt in addition to the receipt 31 on which the settlement amount is printed, at the end of printing the receipt. In this case, the first permission command is transmitted to permit the maintenance process.
(6) In the case of payment by credit card, at the end of reading the credit card. In this case, a second permission command is transmitted, and a light cleaning process of about 10 seconds is permitted.
(7) When the barcode scanner 17 is stored in a predetermined storage position (not shown). In this case, a third permission command is transmitted to permit heavy cleaning processing.
(8) In addition, when the POS terminal goes into a sleep state. Or when going from hibernation to working. In this case, a second permission command or a third permission command is transmitted to permit light cleaning processing or heavy cleaning processing.
[0070]
In the case of (7), the determination that the barcode scanner 17 is stored at the predetermined storage position may be made by providing a barcode at the storage position and reading the barcode with the barcode scanner 17. . Alternatively, a detection sensor may be attached to the storage position, and when the detection sensor detects the barcode scanner 17, it may be determined that the barcode scanner 17 has been stored at the predetermined storage position.
[0071]
Here, the processing of the printing system PS when the printer 2 is set to the host instruction mode will be described with reference to the flowcharts of FIGS. 4 shows a case of payment by cash (case of cash settlement), FIG. 5 shows a case of payment by credit card (case of card payment), and FIG. 6 shows a case of payment by check (case of check payment). Each is shown. Further, for simplicity, the notation of the operation of the operator operating the POS terminal 1 (e), the operation of the printer 2 (p), and the operation of the POS terminal 1 (P) are separately illustrated and described below. In the description, the subject of the operation is added in parentheses to the reference number. In the drawing, the period during which the function recovery process is performed is indicated by solid arrows, and arbitrary points common to FIGS. 4 to 6 are indicated by Ta and Tb.
[0072]
First, processing in the case of a cash decision will be described with reference to FIG. The operator of the POS terminal 1 inputs product information. More specifically, the barcode printed or affixed to the product purchased by the customer is scanned by the barcode scanner 16, and finally the subtotal key on the keyboard 14 is pressed (step S1 (E)). Next, the operator of the POS terminal 1 selects a payment method according to a customer's application or the like, and presses a corresponding key on the keyboard 14 (step S2 (E)). Hereinafter, according to the payment method, the operation flow branches into three small flows (step S3). If the payment method is cash, the process proceeds to step S4. If the payment method is a credit card, the process proceeds to step S21 (see FIG. 5). If the payment method is a check, the process proceeds to step S31 (see FIG. 6).
[0073]
When the payment method is cash, first, cash equivalent to the price is received from the customer, and the amount is input using the keyboard 14 (step S4 (e)). Then, based on the input of the amount, the receipt (specification) 31 is printed by the printer 2 (step S5 (p)). Further, while the process of step S5 is being performed, the cash drawer 18a of the POS terminal 1 is opened (step S11 (P)), and the received cash is stored in the cash drawer 18a, and the operator can send the cash to the customer. The change to be handed over is prepared (step S12 (e)).
[0074]
When the printing of the receipt 31 is completed, the operator hands the change and the receipt 31 to the customer (step S6 (E)). Hereinafter, the operation flow is divided into two types of small flows depending on whether or not there is a request for issuing a bill from the customer (step S7). If there is no request for issuing a bill from the customer, the process is terminated as it is.
[0075]
On the other hand, when there is a bill issuing request from the customer, the operator of the POS terminal 1 presses the receipt issuing key on the keyboard 14 (step S8 (E)). Based on the depression of the receipt issuing key, a receipt (receipt 31) is printed by the printer 2 (step S9 (p)), and the receipt is handed to the customer (step S10 (e)), and the process is terminated. I do.
[0076]
When the status monitoring unit 12 (see FIG. 1) detects the input of the product information in step S1 (t1), the POS terminal 1 transmits the permission command by the permission command transmission unit 11, and sends the function command to the printer 2. Perform recovery processing. As described above, since the first permission command is set to be transmitted when the product information is input, the printer 2 performs the maintenance process based on the reception of the first permission command. The maintenance processing is set on the assumption that the maintenance processing is completed by the receipt printing in step S5. That is, if the cleaning process that requires a long time is performed here, if the number of input of the product information is small, as a result, the printing is in a waiting state. Therefore, hereinafter, it is assumed that the type of the preset permission command is set within a range that does not affect the printing process, and the function recovery process of the set type is completed within the execution period indicated by the arrow in the figure. It will be described as what is done.
[0077]
On the other hand, the POS terminal 1 transmits a permission command to the printer 2 when the printing of the receipt in step S9 is completed, other than when the product information is input. However, also in this case, the first permission command is transmitted to permit the maintenance operation. Here, the maintenance process is permitted in anticipation of the time from the operation of giving the receipt to the customer until the operation of the printer 2 is started by the process of the next customer.
[0078]
Next, processing in the case of a credit card decision will be described with reference to FIG. The operator of the POS terminal 1 receives the credit card from the customer, scans the card reader 15 and reads the recorded contents (step S21 (E)). Next, the control unit (not shown) of the POS terminal 1 authenticates the credit card based on the read content (step S22 (P)). Next, the receipt 31 and the credit card usage statement are printed by the printer 2 (step S23 (P)). It should be noted that the credit card usage statement is printed separately for a customer copy, a store copy, and a credit card company. During this printing, the cash drawer 18a of the POS terminal 1 is opened (step S28 (P)).
[0079]
Next, the operator of the POS terminal 1 obtains the customer's signature on the credit card use statement for the card company (step S24 (e)). Further, the operator of the POS terminal 1 authenticates the credit card with the customer's signature and returns the card (step S25 (E)). Further, the operator of the POS terminal 1 gives the printed receipt 31 and the credit card usage statement (for customer's copy) to the customer (step S26 (E)). Finally, the operator of the POS terminal 1 stores the card usage details (for the store copy and for the credit card company) (step S27 (E)).
[0080]
In step S21, at the time point when the credit card scan is completed (t4), the POS terminal 1 transmits a second permission command to the printer 2, and permits the light cleaning process. Further, at the time point (t5) when the printing of the receipt 31 in step 23 is completed, the second permission command is transmitted to the printer 2, and the light cleaning process is permitted. If the maintenance process executed from the start of the input of the product information (t1) is not completed, the light cleaning process at the time when the credit card scan is completed (t4) may be omitted.
[0081]
Next, processing in the case of a check approval will be described with reference to FIG. The operator of the POS terminal 1 receives the check 32 from the customer and inserts it into the insertion slot 26 (see FIG. 2) of the printer 2 (step S31 (E)). As a result, the printer 2 performs character recognition of the magnetic information (MICR code) printed in advance on the check 32 (step S32 (P)). In addition, the printer 2 performs front-side printing on the front side of the check 32 (Step S33 (P)), and subsequently performs endorsement printing on the back side of the check 322 (Step S34 (P)). However, here, a case is described in which the printer 2 can collectively process MICR character recognition, check table printing, and check endorsement printing.
[0082]
Next, the receipt 31 (specification) is printed by the printer 2 based on the input of the product information (Step 1 in FIG. 4) (Step S35 (P)). During the receipt printing, the cash drawer 18a of the POS terminal 1 is opened (step S39 (P)). Then, the operator of the POS terminal 1 hands the printed check to the customer and obtains the customer's signature (step S36 (E)). Thereafter, the operator of the POS terminal 1 hands the printed receipt 31 to the customer (step S37 (E)) and stores the check 32 in the cash drawer of the POS terminal 1 (Step S38 (E)).
[0083]
In step S35, at the time point when printing of the receipt 31 is completed (t7), the POS terminal 1 transmits a second permission command to the printer 2, and permits the light cleaning process.
[0084]
The case where the printer 2 is set to the host instruction mode has been described above. However, when the printer 2 is set to the printer determination mode, even if the permission command is transmitted from the POS terminal 1 at the above timing, the function is not performed. Do not perform recovery processing. That is, in this case, the function recovery processing (cleaning processing and / or maintenance processing) is executed based on various control parameters managed by the printer 2. By providing the printer determination mode, the POS terminal 1 (or the application 6 or the printer driver 13 incorporated therein) does not support the permission command transmission function (for example, when only the printer 2 is replaced). ), It is possible to avoid a state in which the function recovery processing is not executed.
[0085]
As described above, according to the first embodiment of the present invention, the printer 2 executes the function recovery processing when receiving the permission command from the POS terminal 1, so that the POS terminal 1 does not affect the printing processing. When it is determined that the start of printing is not delayed by the execution of the function recovery processing, the printer 2 can be caused to perform the function recovery processing. Therefore, the function recovery process is automatically executed, and there is no such a problem that the customer waits for the receipt 31 to be issued (waits for printing).
[0086]
Note that the maintenance process is executed at the start of the product information input (t1). However, in the case of check payment and when the receipt 31 and the check 32 are printed by different print heads, the dotted line in the drawing is used. Since the unit is in the executable period of the function recovery process (until the start of receipt printing in step 35), a light cleaning process may be executed (however, the printing mechanism side of the receipt 31). In this case (when printing the receipt 31 and the check 32 with different print heads), a light cleaning process may be executed when the printing on the check 32 is completed (S34). According to this configuration, the function recovery process can be performed using the time of the customer's signature after the check is printed, so that the print process is not affected.
[0087]
In the above embodiment, the printer 2 executes the function recovery processing according to the type of the permission command when receiving the permission command. After receiving the permission command from the printer 2 (see FIG. 3), the function recovery processing may be performed at a predetermined timing determined by the printer 2. That is, it is assumed that the printer 2 does not perform the function recovery processing based on the reset signal at the time of starting the POS terminal, and the function recovery processing in the printer 2 after once transmitting the permission command is left to the judgment of the printer 2. Is also good.
[0088]
Further, the printer 2 may be configured to execute the function recovery processing based on reception of specific print data (such as the first print data after the application is started) or a specific command, instead of receiving the permission command. According to this configuration, the print quality of the printer 2 can be maintained even if the host device does not support the host instruction mode (even if it does not have a function of transmitting a permission command). In this case, the specific command is not limited to one type, and a plurality of types of commands can be caused to function as specific commands.
[0089]
Further, even in the configuration in which the permission command is transmitted only once when the application 6 is activated, it is preferable that the printer 2 executes the function recovery processing when the printer 2 receives the permission command. According to this configuration, print quality can be maintained even when the period from when the printer 2 is activated to when the permission command is received is long.
[0090]
Further, in the above embodiment, the permission command is transmitted based on the monitoring result of the status monitoring unit 12, but the permission command is added to the end of the print data for printing on the receipt 31 or the check 32. It may be transmitted to the printer 2. According to this configuration, in the printing system PS using the POS terminal 1, it is difficult to assume that printing will be restarted immediately after printing is completed. Without giving it, it is possible to cause the printer 2 to execute the function recovery processing.
[0091]
Further, in the above-described embodiment, the function recovery processing mode setting unit 212 (see FIG. 1) of the printer 2 is configured by a memory switch, and the mode can be switched by operating the POS terminal 1. The mode may be switched by transmission. Further, the function recovery processing mode setting unit 212 can be configured by a dip switch.
[0092]
[Second embodiment]
Hereinafter, a second embodiment of the present invention will be described with reference to FIG. In the above embodiment, the printer 2 executes the function recovery processing by transmitting the permission command from the POS terminal 1. However, in the present embodiment, the prohibition for not executing the function recovery processing in addition to the permission command is performed. A command is transmitted, and control is performed so that the printer 2 executes a function recovery process from the time when the permission command is transmitted to the time when the prohibition command is transmitted. Therefore, a description will be given with reference to a timing chart of FIG. 7 focusing on points different from the above-described embodiment.
[0093]
First, in the printing system PS according to the present embodiment, the status monitoring unit 12 monitors the status of the input devices (the keyboard 14, the card reader 15, and the barcode scanner 16) of the POS terminal 1 in addition to the status of the printer 2. Then, when it is detected that the processing of the customer has been started, a prohibition command is transmitted to the printer 2 (NC). The start of the customer's process can be detected by the start of input of product information by the barcode scanner 16 (t1: see FIG. 4).
[0094]
Then, when it is detected that the processing of the customer has been completed, a permission command (here, a first permission command or a second permission command) is transmitted to the printer 2 to permit a light cleaning process or a maintenance process (C). ). The end of the customer process can be detected by, for example, the end of printing the receipt (t2). If the customer does not request a receipt, the receipt can be detected by the operator pressing a predetermined key on the keyboard 14 or the like.
[0095]
As described above, in the transaction for one customer, the function recovery processing is prohibited, and thereafter, the function recovery processing is executed between the processing of the customer and the next customer. When the customer process is started, a first permission command for permitting a maintenance process that can be executed in less than 10 seconds may be transmitted instead of the prohibition command. According to this configuration, when the customer starts the process, the maintenance process that can be completed in a short time is executed, so that the print quality can be maintained without making the customer wait.
[0096]
Here, when the POS terminal 1 is in the sleep state for a long time (after the processing period of the customer-3 in the illustrated case), the POS terminal 1 transmits a third permission command to the printer 2 to permit heavy cleaning processing. The suspension of the POS terminal 1 for a while can be detected, for example, by storing the barcode scanner 17 in a predetermined storage position (not shown). Further, it is also possible to determine that the apparatus is in the halt state by pressing a predetermined key of the keyboard 14 which means replacement of the operator.
[0097]
As described above, according to the second embodiment of the present invention, the POS terminal 1 can specify the period during which the function recovery process is not performed on the printer 2 by transmitting the prohibition command. Therefore, when the POS terminal 1 determines that there is a possibility of affecting print processing, the POS terminal 1 transmits a prohibition command, and transmits a permission command when it determines that print processing is not affected. The function recovery processing can be executed at more appropriate timing.
[0098]
In the case of the present embodiment, the prohibition command is transmitted to the printer 2 not only when the POS terminal 1 is activated but also when the POS terminal 1 is activated, thereby executing the function recovery processing based on the reset signal when the POS device 1 is activated. (Interruption) may be avoided. In this case, it is preferable that the printer driver 13 includes the permission command transmission unit 11 instead of the application 6. According to this configuration, execution of the function recovery processing by the printer 2 can be reliably prohibited.
[0099]
In the above example, the case where both the permission command and the prohibition command are transmitted from the POS terminal 1 has been described as an example, but it is also possible to transmit only the prohibition command. That is, in this case, it is preferable that the prohibition command is configured to prohibit execution of the function recovery process for a predetermined period. That is, after receiving the prohibition command, the printer 2 cannot execute the function recovery process for, for example, three minutes, and then executes the function recovery process at a predetermined timing (or immediately after the lapse of the predetermined period). Further, in this case, the POS terminal 1 may be configured to be able to designate (select) a predetermined period (a period during which execution of the function recovery process is prohibited).
[0100]
As described above, according to the first and second embodiments, according to the present invention, the printer 2 does not execute the function recovery processing until the printer 2 receives the permission command from the POS terminal 1. The function recovery processing is not executed by the reset signal generated at the time. Therefore, wasteful consumption of ink due to interruption of the function recovery processing can be prevented. In addition, by configuring the printer 2 to execute the function recovery process when receiving the permission command from the POS terminal 1, the POS terminal 1 does not affect the print process (the print start is performed by executing the function recovery process). The function recovery processing can be performed at an appropriate timing such that the function recovery processing is not delayed.
[0101]
Further, there are two modes, a host instruction mode in which the printer 2 executes the function recovery processing based on the permission command transmitted from the POS terminal 1 and a printer determination mode in which the function recovery processing is performed at a predetermined timing regardless of the permission command. With the configuration having the mode, even when the POS terminal 1 (or the application or the printer driver incorporated therein) does not have the permission command transmission function, the printer 2 is set in the printer determination mode. It is possible to avoid a state in which the function recovery processing is not executed. Therefore, regardless of whether the POS terminal 1 can transmit the permission command, the printer 2 can maintain the print quality. Further, since the function recovery processing mode is set (stored) by the memory switch, it is possible to easily set the function recovery processing mode on the POS terminal 1 side at the time of updating the system or the like.
[0102]
Also, by configuring the POS terminal 1 to have a plurality of types of permission commands and executing a function recovery process in accordance with the type of the permission command, the POS terminal side can determine the appropriate type for the printer 2. Function recovery processing can be performed. Further, by adopting a configuration in which a prohibition command is transmitted from the POS terminal 1, a period during which the printer 2 does not execute the function recovery process can be specified.
[0103]
It should be noted that the processing of each component of the printing system PS according to the present invention is executed by computer control, and a program that causes a computer to execute the above processing according to the procedures shown in the flowcharts of FIGS. Alternatively, the program may be stored and distributed on a computer-readable recording medium such as a CD-ROM or a magnetic tape. Further, a computer may read the program from the recording medium and execute the program.
[0104]
【The invention's effect】
As described above, according to the inkjet printer, the printing system, the inkjet printer control method, and the program of the present invention, the inkjet printer receives the permission command for permitting the execution of the function recovery process from the host device, and then executes the function. Since the recovery processing is performed, the function recovery processing is not performed by the reset signal generated when the host device is started. Therefore, wasteful consumption of ink due to interruption of the function recovery processing can be prevented.
[0105]
In addition, since the inkjet printer performs the function recovery process when receiving the permission command from the host device, the host device performs the function recovery process on the inkjet printer at an appropriate timing so as not to affect the printing process. Can be done.
[Brief description of the drawings]
FIG. 1 is a configuration diagram illustrating an overall block configuration of a printing system according to a first embodiment of the present invention.
FIG. 2 is a configuration diagram illustrating an apparatus configuration of a printing system according to the first embodiment of the present invention.
FIG. 3 is a timing chart illustrating an operation example of the printing system according to the first embodiment of the present invention.
FIG. 4 is a flowchart (1/3) showing an example of processing of the printing system according to the first embodiment of the present invention.
FIG. 5 is a flowchart (2/3) showing an example of processing of the printing system according to the first embodiment of the present invention.
FIG. 6 is a flowchart (3/3) showing an example of processing of the printing system according to the first embodiment of the present invention.
FIG. 7 is a timing chart illustrating an operation example of the printing system according to the second embodiment of the present invention.
FIG. 8 is a timing chart showing printer control processing in a conventional general printing system.
FIG. 9 is a timing chart showing printer control processing in the printing system disclosed in Patent Document 1.
FIG. 10 is a timing chart illustrating a conventional printer control process in a printing system including a POS terminal.
[Explanation of symbols]
1 POS terminal
2 Printer
6 applications
11 Permission command transmission unit
12 Status monitoring unit
13 Printer Driver
14 Keyboard
15 Card reader
16 Barcode Scanner
17 Display
19 I / F (POS terminal side)
20 I / F (printer side)
21 Control unit
22 Printing Department
23 Function recovery processing execution unit
31 Receipt
32 checks
211 Authorization command acquisition unit
212 Function recovery processing mode setting unit
PS printing system

Claims (22)

ホスト装置からの制御データに基づいて動作するインクジェットプリンタにおいて、
所定のタイミングにおいて、印刷ヘッドを機能回復するための機能回復処理を実行する機能回復処理手段と、
前記ホスト装置から、前記機能回復処理の実行を許可する許可コマンドを受信する許可コマンド受信手段と、を備え、
前記機能回復処理手段は、前記許可コマンドの受信を条件として、前記機能回復処理を実行することを特徴とするインクジェットプリンタ。
In an inkjet printer that operates based on control data from a host device,
Function recovery processing means for performing function recovery processing for recovering the function of the print head at a predetermined timing;
An authorization command receiving unit that receives an authorization command that authorizes execution of the function recovery process from the host device,
The ink jet printer, wherein the function recovery processing means executes the function recovery processing on condition that the permission command is received.
前記機能回復処理手段は、前記許可コマンドの受信時に、前記機能回復処理を実行することを特徴とする請求項1に記載のインクジェットプリンタ。2. The inkjet printer according to claim 1, wherein the function recovery processing unit executes the function recovery processing when receiving the permission command. 前記ホスト装置から送信された許可コマンドに基づいて前記機能回復処理を実行するホスト指示モードと、前記許可コマンドに関わらず所定のタイミングで前記機能回復処理を実行するプリンタ判断モードとのいずれかを設定する機能回復処理モード設定手段を更に備え、
前記機能回復処理手段は、設定された機能回復処理モードに応じて前記機能回復処理を実行することを特徴とする請求項1または2に記載のインクジェットプリンタ。
One of a host instruction mode for executing the function recovery processing based on the permission command transmitted from the host device and a printer determination mode for executing the function recovery processing at a predetermined timing regardless of the permission command is set. Further comprising a function recovery processing mode setting means for performing
The ink jet printer according to claim 1, wherein the function recovery processing unit executes the function recovery processing according to a set function recovery processing mode.
前記機能回復処理モード設定手段は、前記ホスト装置からの制御データまたはコマンドに基づいて切替可能に構成されていることを特徴とする請求項3に記載のインクジェットプリンタ。The ink jet printer according to claim 3, wherein the function recovery processing mode setting means is configured to be switchable based on control data or a command from the host device. 前記機能回復処理手段は、複数種類の機能回復処理を実行し、
前記許可コマンド受信手段は、前記複数種類の機能回復処理に対応する複数種類の許可コマンドのうち、いずれかを受信することを特徴とする請求項1ないし4のいずれか1に記載のインクジェットプリンタ。
The function recovery processing means executes a plurality of types of function recovery processing,
The inkjet printer according to claim 1, wherein the permission command receiving unit receives one of a plurality of types of permission commands corresponding to the plurality of types of function recovery processing.
前記ホスト装置から、前記機能回復処理の実行を禁止する禁止コマンドを受信する禁止コマンド受信手段を更に備え、
前記機能回復処理手段は、前記禁止コマンドの受信後、前記許可コマンドの受信時まで、前記機能回復処理を実行しないことを特徴とする請求項1ないし5のいずれか1に記載のインクジェットプリンタ。
The host device further includes a prohibition command receiving unit that receives a prohibition command for prohibiting execution of the function recovery process,
6. The ink jet printer according to claim 1, wherein the function recovery processing unit does not execute the function recovery processing after receiving the prohibition command and until receiving the permission command.
前記機能回復処理手段は、前記許可コマンドの受信に代えて、特定の印字データまたは特定のコマンドの受信を条件として、前記機能回復処理を実行することを特徴とする請求項1ないし6のいずれか1に記載のインクジェットプリンタ。7. The function recovery processing unit according to claim 1, wherein the function recovery processing unit executes the function recovery processing on condition that specific print data or a specific command is received instead of receiving the permission command. 2. The inkjet printer according to 1. 請求項1ないし7のいずれか1に記載のインクジェットプリンタと、前記ホスト装置とから成る印刷システムにおいて、
前記ホスト装置は、前記許可コマンドを前記インクジェットプリンタに送信する許可コマンド送信手段を備え、
前記許可コマンド送信手段は、前記ホスト装置に組み込まれたアプリケーションの起動時および/または終了時において、前記許可コマンドを送信することを特徴とする印刷システム。
A printing system comprising the inkjet printer according to any one of claims 1 to 7 and the host device,
The host device includes a permission command transmitting unit that transmits the permission command to the inkjet printer,
The printing system according to claim 1, wherein the permission command transmitting unit transmits the permission command when starting and / or terminating an application installed in the host device.
前記ホスト装置は、オペレータによる商品情報の入力に基づいて精算処理を行うPOS端末であり、
前記許可コマンド送信手段は、前記商品情報が入力されたとき、前記許可コマンドを送信することを特徴とする請求項8に記載の印刷システム。
The host device is a POS terminal that performs a payment process based on input of product information by an operator,
9. The printing system according to claim 8, wherein the permission command transmitting unit transmits the permission command when the product information is input.
前記POS端末は、クレジットカードによる精算処理が可能であり、
前記許可コマンド送信手段は、前記クレジットカードの情報読込が完了したとき、前記許可コマンドを送信することを特徴とする請求項9に記載の印刷システム。
The POS terminal is capable of performing a payment process using a credit card,
The printing system according to claim 9, wherein the permission command transmitting unit transmits the permission command when reading of the credit card information is completed.
前記POS端末は、小切手による精算処理が可能であり、
前記許可コマンド送信手段は、前記小切手への印刷が完了したとき、前記許可コマンドを送信することを特徴とする請求項9または10に記載の印刷システム。
The POS terminal is capable of performing check processing by check,
The printing system according to claim 9, wherein the permission command transmitting unit transmits the permission command when printing on the check is completed.
前記許可コマンド送信手段は、前記許可コマンドを、前記インクジェットプリンタに送信する印刷データの最後に付加して送信することを特徴とする請求項9、10または11に記載の印刷システム。The printing system according to claim 9, wherein the permission command transmitting unit adds the permission command to the end of print data to be transmitted to the inkjet printer and transmits the print data. 前記許可コマンド送信手段は、前記POS端末が休止状態になるとき、および/または前記休止状態から稼動状態になるとき、前記許可コマンドを送信することを特徴とする請求項9ないし12のいずれか1に記載の印刷システム。13. The permission command transmitting unit according to claim 9, wherein the permission command transmission unit transmits the permission command when the POS terminal goes into a sleep state and / or when the POS terminal goes into an operation state from the sleep state. A printing system according to claim 1. 前記POS端末は、バーコードスキャナによる読み込みによって前記商品情報の入力を行い、
前記バーコードスキャナが所定の保管位置に保管されたとき、前記休止状態とみなし、前記バーコードスキャナが前記保管位置から離脱されたとき、前記休止状態から前記稼動状態になったものとみなすことを特徴とする請求項13に記載の印刷システム。
The POS terminal inputs the product information by reading with a barcode scanner,
When the barcode scanner is stored in a predetermined storage position, it is regarded as the inactive state, and when the barcode scanner is detached from the storage position, it is regarded as being in the inactive state from the inactive state. The printing system according to claim 13, wherein
所定のタイミングにおいて、印刷ヘッドを機能回復するための機能回復処理を行い得ると共に、ホスト装置からの制御データに基づいて動作するインクジェットプリンタの制御方法であって、
前記ホスト装置から、前記機能回復処理の実行を許可する許可コマンドを前記インクジェットプリンタに送信する許可コマンド送信工程と、
前記許可コマンドの送信に基づき、前記インクジェットプリンタに前記機能回復処理を実行させる機能回復処理工程と、を備えたことを特徴とするインクジェットプリンタの制御方法。
At a predetermined timing, a function restoring process for restoring the function of the print head can be performed, and a method of controlling an inkjet printer that operates based on control data from a host device,
From the host device, a permission command transmission step of transmitting a permission command to permit execution of the function recovery process to the inkjet printer,
A function recovery processing step of causing the inkjet printer to execute the function recovery processing based on the transmission of the permission command.
前記機能回復処理工程では、前記許可コマンドの送信時に、前記機能回復処理を実行させることを特徴とする請求項15に記載のインクジェットプリンタの制御方法。The method according to claim 15, wherein in the function recovery processing step, the function recovery processing is executed when the permission command is transmitted. 前記ホスト装置からの前記許可コマンドの送信に基づいて前記機能回復処理を実行させるホスト指示モードと、前記許可コマンドの送信に関わらず、所定のタイミングで前記機能回復処理を実行させるプリンタ判断モードとのいずれかを設定する機能回復処理モード設定工程を更に備え、
前記機能回復処理工程では、設定された機能回復処理モードに応じて前記機能回復処理を実行させることを特徴とする請求項15または16に記載のインクジェットプリンタの制御方法。
A host instruction mode for executing the function recovery processing based on the transmission of the permission command from the host device, and a printer determination mode for executing the function recovery processing at a predetermined timing regardless of the transmission of the permission command. Further comprising a function recovery processing mode setting step of setting any one of
17. The method according to claim 15, wherein in the function recovery processing step, the function recovery processing is executed according to a set function recovery processing mode.
前記機能回復処理モード設定工程では、前記ホスト装置の操作に基づいて、機能回復処理モードの設定を行うことを特徴とする請求項17に記載のインクジェットプリンタの制御方法。18. The method according to claim 17, wherein in the function recovery processing mode setting step, a function recovery processing mode is set based on an operation of the host device. 前記機能回復処理には、複数種類の機能回復処理が含まれ、
前記許可コマンド送信工程では、前記複数種類の機能回復処理に対応する複数種類の許可コマンドのうち、いずれかを送信し、
前記機能回復処理工程では、前記許可コマンドの種類に応じた機能回復処理を実行させることを特徴とする請求項15ないし18のいずれか1に記載のインクジェットプリンタの制御方法。
The function recovery processing includes a plurality of types of function recovery processing,
In the permission command transmitting step, one of a plurality of types of permission commands corresponding to the plurality of types of function recovery processing is transmitted,
19. The method according to claim 15, wherein in the function recovery processing step, a function recovery processing corresponding to a type of the permission command is executed.
前記ホスト装置から、前記機能回復処理の実行を禁止する禁止コマンドを送信する禁止コマンド送信工程を更に備え、
前記機能回復処理工程では、前記禁止コマンドの送信後、前記許可コマンドの送信時まで、前記機能回復処理を実行させないことを特徴とする請求項15ないし19のいずれか1に記載のインクジェットプリンタの制御方法。
The host device further includes a prohibition command transmitting step of transmitting a prohibition command for prohibiting execution of the function recovery processing,
20. The control of the inkjet printer according to claim 15, wherein, in the function recovery processing step, the function recovery processing is not performed until the transmission of the permission command after the transmission of the prohibition command. Method.
前記機能回復処理工程では、前記許可コマンドに代えて、特定の印字データまたは特定のコマンドの送信に基づいて、前記機能回復処理を実行させることを特徴とする請求項15ないし20のいずれか1に記載のインクジェットプリンタの制御方法。21. The function recovery processing step according to claim 15, wherein the function recovery processing is executed based on transmission of specific print data or a specific command instead of the permission command. The control method of the ink jet printer described in the above. 請求項15ないし21のいずれか1に記載のインクジェットプリンタの制御方法における各工程を実行させるためのプログラム。A program for executing each step in the method for controlling an inkjet printer according to any one of claims 15 to 21.
JP2003159358A 2003-06-04 2003-06-04 Inkjet printer, printing system, control method of inkjet printer, and program Withdrawn JP2004358791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003159358A JP2004358791A (en) 2003-06-04 2003-06-04 Inkjet printer, printing system, control method of inkjet printer, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003159358A JP2004358791A (en) 2003-06-04 2003-06-04 Inkjet printer, printing system, control method of inkjet printer, and program

Publications (1)

Publication Number Publication Date
JP2004358791A true JP2004358791A (en) 2004-12-24

Family

ID=34052443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003159358A Withdrawn JP2004358791A (en) 2003-06-04 2003-06-04 Inkjet printer, printing system, control method of inkjet printer, and program

Country Status (1)

Country Link
JP (1) JP2004358791A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1967366A2 (en) 2007-03-05 2008-09-10 Canon Finetech Inc. Ink jet printing method and ink jet printing apparatus
US7775626B2 (en) 2005-08-15 2010-08-17 Seiko Epson Corporation Cleaning device, inkjet printer, and an inkjet printer cleaning method
US8840208B2 (en) 2011-07-28 2014-09-23 Brother Kogyo Kabushiki Kaisha Printing apparatus
US9889668B2 (en) 2014-03-20 2018-02-13 Seiko Epson Corporation Printing system, print control device, and print control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7775626B2 (en) 2005-08-15 2010-08-17 Seiko Epson Corporation Cleaning device, inkjet printer, and an inkjet printer cleaning method
EP1967366A2 (en) 2007-03-05 2008-09-10 Canon Finetech Inc. Ink jet printing method and ink jet printing apparatus
US8038251B2 (en) 2007-03-05 2011-10-18 Canon Finetech Inc. Ink jet printing method and ink jet printing apparatus
US8840208B2 (en) 2011-07-28 2014-09-23 Brother Kogyo Kabushiki Kaisha Printing apparatus
US9889668B2 (en) 2014-03-20 2018-02-13 Seiko Epson Corporation Printing system, print control device, and print control method

Similar Documents

Publication Publication Date Title
JP5310715B2 (en) Image recording apparatus and program
US6471325B2 (en) Image printing system and printing method of the same
JP2004358791A (en) Inkjet printer, printing system, control method of inkjet printer, and program
JPH1044557A (en) Printer and method for stopping it forcibly
US7175250B2 (en) Printing system and print controller
JP6127404B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
JP4748753B2 (en) Recording device
JP3695020B2 (en) Inkjet recording device
JP2001219566A (en) Printer host, medium storing its operating program, ink jet printer
US20050134625A1 (en) Printing system, printer host and printing program product
US6672703B2 (en) Inkjet printing apparatus and printing system
JP2001199087A (en) Ink jet recording apparatus and method for recovering discharge
JP4347432B2 (en) Recording device
US20040179226A1 (en) Accelerating printing
JP5578824B2 (en) Printing control apparatus, method and program
JP2007175937A (en) Printer
JP2004090424A (en) Printer, information processing device, control method for these, and program
JP5828398B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP5772872B2 (en) Image recording apparatus and program
US11968336B2 (en) Printing apparatus and control method of printing apparatus
JP2004148738A (en) Printer
JP2005196327A (en) Information processor, print program and recording device
JP2010089337A (en) Printer, ink management program for the same, and discount sale method of ink cartridge
JP2003196068A (en) Consumables control system and consumables control method and printing control device
JP2010152665A (en) Printer system and control method for printer system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905