[go: up one dir, main page]

JP2004185534A - Data processor - Google Patents

Data processor Download PDF

Info

Publication number
JP2004185534A
JP2004185534A JP2002354710A JP2002354710A JP2004185534A JP 2004185534 A JP2004185534 A JP 2004185534A JP 2002354710 A JP2002354710 A JP 2002354710A JP 2002354710 A JP2002354710 A JP 2002354710A JP 2004185534 A JP2004185534 A JP 2004185534A
Authority
JP
Japan
Prior art keywords
status
printer
client terminal
response
designation command
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.)
Pending
Application number
JP2002354710A
Other languages
Japanese (ja)
Inventor
Hirokazu Ishii
宏和 石井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002354710A priority Critical patent/JP2004185534A/en
Publication of JP2004185534A publication Critical patent/JP2004185534A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten time from instruction of a printing start by a user to an actual start of printing by a printer by extensively reducing a status acquiring process per type needed by a data processor after an initial response status assign command. <P>SOLUTION: In a client terminal 101 capable of communicating with the printer 111, a CPU 105 describes a predetermined printer status per type in the response status assign command and sends it to the printer 111, and after sending the response status assign command, a status following the response status assign command stored in a RAM of the printer 111 is acquired by a status request instructed to the printer 111. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタと通信可能なデータ処理装置とが通信して印刷処理を行う印刷システムの制御に関するものである。
【0002】
【従来の技術】
パーソナルコンピュータ(PC)やパーソナルコンピュータ(PC)以外の端末装置(NonPC)などのクライアント端末とプリンタが、ケーブルやネットワークまたはホームサーバなどを介して接続されており、双方向に通信が可能な印刷システムにおいて、クライアント端末はプリンタのステータスを取得することで、ユーザに対して現在のプリンタの状態を通知することができる。
【0003】
例えば、プリンタにインクなしのエラーが発生している場合、クライアント端末はプリンタからインクなしエラーのステータスを取得し、ユーザに対してなくなったインクを交換するようにディスプレイなどの出力装置を用いて通知することができる。
【0004】
また、クライアント端末は、現在プリンタに搭載されているインクヘッドの種類を取得し、ユーザの設定した印刷設定とインクヘッドに不整合が生じている場合、例えばユーザはカラー印刷を設定したにもかかわらず、モノクロ印刷用のインクヘッドがプリンタに搭載されている場合、ユーザに対して現在の印刷設定で印刷ができないことを、ディスプレイなどの出力装置を用いて通知することができる。
【0005】
このように、クライアント端末がプリンタのステータスを取得し、ユーザに通知することで、ユーザに親切な印刷環境を実現している。
【0006】
プリンタのステータスを取得するために、クライアント端末は、エラーやワーニング、インクヘッド情報など個別にステータス要求を行っていた。そのため一度に様々な情報が必要な場合はエラー、ワーニング、インクヘッド情報など複数回プリンタに対してステータス要求を行う必要があった。
【0007】
そこで、必要な情報を一回のステータス要求で取得できるように、現在では応答ステータス指定コマンドというものがある。
【0008】
クライアント端末は、印刷を開始する前に、ステータス応答の際にクライアント端末に返却すべきステータスを記述した応答ステータス指定コマンドをプリンタに送信し、その後にステータス要求することで、応答ステータス指定コマンドで指定したステータスを、一回のステータス要求で取得できるようになっている。
【0009】
プリンタは、クライアント端末からステータス要求がなされたとき、応答ステータス指定コマンドが設定されている場合は、応答ステータス指定コマンドに記述してあるステータスを返すが、応答ステータス指定コマンドが設定されていない場合は、ステータスを返さない。
【0010】
【発明が解決しようとする課題】
従来の印刷システムでは、プリンタのステータスを取得するために、ステータス応答の際にクライアント端末に返すべきステータスが記述された応答ステータス指定コマンドを、印刷を開始する前に常にプリンタに送信していた。
【0011】
しかしながら、クライアント端末が、NonPCのようなデータに対する処理能力が低い端末の場合や、クライアント端末とプリンタ間のデータ転送速度が遅い場合や、クライアント端末とプリンタがホームサーバなどを介して接続されている場合には、応答ステータス指定コマンドをプリンタに送信するまでに時間がかかっていた。
【0012】
そのため、ユーザが印刷開始の指示を出してから、実際にプリンタの印刷が開始されるまでに時間がかかるという問題点があった。
【0013】
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、プリンタと通信可能なデータ処理装置において、所定の種別のプリンタステータスを応答ステータス指定コマンドにより記述してプリンタに送信し、該応答ステータス指定コマンドの送信後、プリンタに指示するステータス要求によりプリンタに保持されている応答ステータス指定コマンドに従うステータスを取得することにより、最初の応答ステータス指定コマンド以後、データ処理装置が必要とする種別のステータス取得処理が大幅に軽減され、ユーザが印刷開始の指示を出してから実際にプリンタの印刷が開始されるまでの時間を短縮することができる印刷処理環境を自在に構築することができるデータ処理装置を提供することである。
【0014】
【課題を解決するための手段】
上記目的を達成する本発明のデータ処理装置は以下に示す構成を備える。
【0015】
応答ステータス指定コマンドにより指定された種類のステータスをステータス要求に応じて応答するプリンタ、と通信可能なデータ処理装置であって、プリンタへ送信したステータス要求に対する応答としてステータスを取得できたかを判定する判定手段(例えば図6に示すステップS21)と、ステータスを取得できないと前記判定手段により判定されるのに応じて、応答ステータス指定コマンドとステータス要求とをプリンタへ送信するように制御する送信制御手段(例えば図6に示すステップS22)とを有することを特徴とする。
【0016】
【発明の実施の形態】
以下、図面を参照し、本実施形態を説明する。
【0017】
〔第1実施形態〕
図1は、本発明の第1実施形態を示すデータ処理装置を適用可能な印刷システムの構成を説明するブロック図であり、印刷を要求するクライアント端末101とプリンタ111とがインタフェースを介して通信可能な印刷システム例に対応する。なお、クライアント端末101と、プリンタ111はUSBやIEEE1394等のケーブルによって接続され、双方向に通信可能である。
【0018】
図1において、クライアント端末101は、キーボード102、マウス103、CPU105、RAM106、ROM107、外部記憶装置108、表示部110から成る。操作指示系入力装置としてキーボード102、マウス103としたが、表示部110がタッチパネル方式のディスプレイであるときはタッチペンとしてもよい。104,109は入出力インタフェースである。
【0019】
また、クライアント端末101に接続されたプリンタ111を動作させるためのプリンタドライバプログラムは、外部記憶装置108に格納される。外部記憶装置がないときは、ROM等に格納してもよい。
【0020】
図2は、図1に示したプリンタ111の内部構成を説明するためのブロック図である。
【0021】
図2において、202は入力装置で、電源投入やリセット等に用いるボタンやスイッチ等から成る。206はRAMで、各種データの一時記憶およびプリントバッファとして用いられる。207はROMで、オペレーティングシステムやその他制御プログラムの読み出し専用領域である。208はEEPROMで、プリントエンジン情報等の記憶領域として用いる。209はコントローラで、画像処理用ASIC等から成る。210はプリンタエンジンで、LFモータ、キャリッジモータ、プリントヘッドや各種センサから成る。
【0022】
図3は、図1に示したクライアント端末101からプリンタ111に転送される応答ステータス指定コマンドの一例を示す図であり、図1に示したクライアント端末101がプリンタ111のステータスを取得するために、プリンタ111に送信する応答ステータス指定コマンドに対応する。
【0023】
図3において、応答ステータス指定コマンド301は、ヘッダ部302と応答ステータス指定部303から成り、ヘッダ部302には、コマンドの識別子やサイズ等が記述されている。また、応答ステータス指定部303には、クライアント端末101が必要なエラーやワーニング等のステータスが記述されている。
【0024】
応答ステータス指定コマンドは一度プリンタ111に設定されると、電源が遮断されるまでプリンタ111のRAM206上に保持される。
【0025】
図4は、図1に示したクライアント端末101からプリンタ111に転送される応答ステータス指定コマンド401の一例を示す図であり、図1に示したクライアント端末101がプリンタ111のステータスを取得するために、プリンタ111に送信する応答ステータス指定コマンドに対応する。
【0026】
図4において、(a)は、同図の(b)に示す応答ステータス指定部403に記述するステータス別の識別子の対応例である。
【0027】
本実施形態では、クライアント端末101がエラー、ワーニング、インクヘッド情報のステータスが必要なとき、応答ステータス指定部403に図4の(a)に示すステータスのうち、必要なステータスのIDである「A、B、C」を記述する。
【0028】
クライアント端末101がこの応答ステータス指定コマンドをプリンタ111に送信した後に、ステータス要求を行うと、現在のプリンタ111のステータスA、B、Cを一括して取得することができる。以下、図5に示す従来のステータス取得処理と本実施形態におけるステータス取得処理とを対比して説明する。
【0029】
図5は、従来の印刷制御装置におけるデータ処理手順の一例を示すフローチャートであり、クライアント端末101がプリンタのステータスを取得するための処理手順に対応する。なお、S10〜S13は各ステップを示す。
【0030】
まず、ステップS10において、クライアント端末101は、ステータス応答の際に返すべき1つのステータスが記述された応答ステータス指定コマンドをプリンタ111に送信する。
【0031】
そして、ステップS11において、クライアント端末101はプリンタ111に対してステータス要求を行う。
【0032】
そして、ステップS12において、クライアント端末101がプリンタ111のステータスを取得できたかどうかを判断して、取得できたと判断した場合は、本処理を終了する。
【0033】
一方、ステップS12で、ステータスを取得できなかったと判断した場合は、ステップS13において”プリンタと通信ができません”等の警告表示をクライアント端末101の表示部110に表示を行い、処理を終了する。
【0034】
図6は、本発明に係る印刷制御装置における第1のデータ処理手順の一例を示すフローチャートであり、クライアント端末がプリンタのステータスを取得するための処理手順に対応する。なお、S20〜S25は各ステップを示す。
【0035】
まず、ステップS20において、クライアント端末101は応答ステータス指定コマンドをプリンタ111に送信せずに、プリンタ111に対してステータス要求を行う。
【0036】
そして、ステップS21において、クライアント端末101がプリンタ111のステータスを取得できたかどうかを判断して、ステータスを取得できたと判断した場合は、本処理を終了する。
【0037】
一方、ステップS21で、ステータスを取得できなかったと判断した場合は、ステップS22において、クライアント端末111は、ステータス応答の際に返すべきステータスが記述された応答ステータス指定コマンド(複数のステータス取得を指定可能)をプリンタ111に送信する。
【0038】
次に、ステップS23において、クライアント端末101は、プリンタ111に対してステータス要求を行う。そして、ステップS24において、クライアント端末101がプリンタ111のステータスを取得できたかどうかを判断して、ステータスを取得できたと判断した場合は、本処理を終了する。
【0039】
一方、ステップS24で、クライアント端末101がプリンタ111のステータスを取得できなかった場合は、ステップS25において”プリンタと通信できません”等の警告表示を表示部110に対して行い、本処理を終了する。
【0040】
これにより、プリンタの電源を入れてから最初の印刷は従来と同じように時間がかかって(最初は、ステップS21の判定がNOとなり、ステップS22で、ステータス指定コマンド(複数のステータス取得を指定可能)をプリンタ111に送信するため)しまうが、それ以降プリンタの電源を遮断するまでは、RAM上に取得したステータスが保持されるため、ステップS21の判定がYESとなって、ステータス指定コマンドを再度送信するステップは実行されないため、ユーザが印刷開始の指示を出してから実際にプリンタの印刷が開始されるまでの時間を短縮することができる。
【0041】
〔第2実施形態〕
図7は、本発明に係る印刷制御装置における第2のデータ処理手順の一例を示すフローチャートであり、クライアント端末がプリンタのステータスを取得するための処理手順に対応する。なお、S30〜S36は各ステップを示す。
【0042】
まず、ステップS30において、クライアント端末101は応答ステータス指定コマンドを送信せずに、プリンタ111に対してステータス要求を行う。ステップS31において、クライアント端末101がプリンタのステータスを取得できたかどうかを判断して、ステータスを取得できたと判断した場合は、ステップS32において、プリンタ111から取得したステータスにクライアント端末101が必要としているステータスが含まれているか解析を行い、必要なステータスが含まれているか否かを判断して、必要なステータスが含まれていると判断した場合は、処理を終了する。
【0043】
一方、ステップS31で、ステータスを取得できなかったと判断した場合、またはステップS32において取得したステータスに必要なステータスが含まれていなかったと判断した場合には、ステップS33において、クライアント端末101は、ステータス応答の際に返すべきステータスが記述された応答ステータス指定コマンド(図4の(b)参照)をプリンタ111に送信する。
【0044】
そして、ステップS34において、クライアント端末101は、プリンタ111に対してステータス要求を行う。次に、ステップS35において、クライアント端末101がプリンタ111のステータスを取得できたと判断した場合は、処理を終了する。
【0045】
一方、ステップS35で、ステータスを取得できなかったと判断した場合は、ステップS36において”プリンタと通信ができません”等の警告表示を表示部110に対して行い、処理を終了する。以下、図8に示すようなステータスがプリンタ111から取得した場合の処理の具体例を説明する。
【0046】
図8は、図1に示したクライアント端末101がプリンタ111より取得されるステータスを示す図である。
【0047】
なお、本例では、図7に示したステップS32の解析処理において、クライアント端末101が必要なステータスをA、Bとする。
【0048】
図8において、ステータス901、902、903は、クライアント端末101がプリンタ111から取得したステータスを示している。
【0049】
まず、図7に示したステップS31において、クライアント端末101がプリンタ111から取得したステータスを901とすると、ステータス901にクライアント端末101が必要なステータスA、Bが共に含まれているので、ステップS32において必要なステータスが含まれていると判断され、図7に示す処理はそのまま終了する。
【0050】
一方、ステップS31において、クライアント端末101がプリンタ111から取得したステータスがステータス902である場合、ステータス902には、クライアント端末101が必要としているステータスAは含まれているが、ステータスBが含まれていないため、図7に示したステップS32における判断処理おいて、必要なステータスがないと判断される。
【0051】
また、図7に示したステップS31において、クライアント端末101がプリンタ111から取得したステータスがステータス903である場合、ステータス903にクライアント端末101が必要なステータスA、Bが共に含まれているので、ステップS32において必要なステータスが含まれていると判断され、図7に示す処理はそのまま終了する。
【0052】
これにより、ステップS30でステータス要求を行った後、ステップS31で取得するステータスにクライアント端末101が必要なステータスが含まれていれば(不要なステータスが取得されていても)、何ら新たに応答ステータス指定コマンドを設定する処理が不要となる。
【0053】
〔第3実施形態〕
図9は、本発明に係る印刷制御装置における第3のデータ処理手順の一例を示すフローチャートであり、クライアント端末がプリンタのステータスを取得するための処理手順に対応する。なお、S40〜S46は各ステップを示す。
【0054】
まず、ステップS40において、クライアント端末101は応答ステータス指定コマンドを送信せずに、プリンタ111に対してステータス要求を行う。そして、ステップS41において、クライアント端末101がプリンタ111のステータスを取得できたか否かを判断して、クライアント端末101がプリンタ111のステータスを取得できたと判断した場合は、ステップS42において、ステップS41で取得したステータスに、クライアント端末101が必要なステータス以外のステータスが含まれていないか解析を行い、取得したステータスに、クライアント端末101が必要なステータス以外のステータスが含まれていないか否かを判断して、クライアント端末101が必要なステータス以外のステータスが含まれていない場合、すなわち、必要なステータスと同一であると判断した場合は、本処理を終了する。
【0055】
一方、ステップS41で、ステータスを取得できなかった場合、またはステップS42において取得したステータスに、クライアント端末101が必要なステータス以外のステータスが含まれていると判断した場合は、ステップS43において、クライアント端末101は、ステータス応答の際に返すべきステータスが記述された応答ステータス指定コマンドをプリンタ111に送信する。
【0056】
そして、ステップS44において、クライアント端末101はプリンタ111に対してステータス要求を行う。
【0057】
次に、ステップS45において、クライアント端末101がプリンタ111のステータスを取得できたか否かを判断して、クライアント端末101がプリンタ111のステータスを取得できたと判断した場合は、本処理を終了する。
【0058】
一方、ステップS45で、ステータスを取得できなかったと判断した場合は、ステップS46において”プリンタと通信ができません”等の警告表示を表示部110に行い、本処理を終了する。以下、図8に示すようなステータスがプリンタ111から取得された場合の処理(図9に示すステップS42の解析処理)の具体例を説明する。
【0059】
ここでは、クライアント端末101が必要なステータスがA,Bであるものとする。ステータス901、902、903は、クライアント端末101がプリンタ111から取得したステータスを示している。
【0060】
ステップS41において、クライアント端末101がプリンタ111から取得したステータスとして、例えばステータス901である場合、ステータス901にクライアント端末101が必要なステータスA、Bだけが含まれているので、ステップS42において同一であると判断される。
【0061】
一方、ステップS41においてクライアント端末101がプリンタ111から取得したステータスがステータス902である場合、ステータス902にはクライアント端末101が必要なステータスAは含まれているが、ステータスBが含まれていないため、ステップS42において同一でないと判断される。
【0062】
また、ステップS41においてクライアント端末101がプリンタ111から取得したステータスがステータス903とすると、ステータス903にはクライアント端末101が必要なステータスA、Bが含まれているが、不必要なステータスCが含まれているため、ステップS42において同一でないと判断され、ステップS43,S44を実行して、再度、クライアント端末101が必要なステータスA、Bのみを選別して取得することが可能となる。
【0063】
上記実施形態では、例えば、クライアント端末101とプリンタ111がインタフェースケーブルで1対1に接続されている印刷システム例を説明したが、ネットワーク上で複数のクライアント端末とプリンタが接続される印刷システムであっても本発明を適用可能である。
【0064】
以下、図10に示すメモリマップを参照して本発明に係る印刷制御装置で読み出し可能なデータ処理プログラムの構成について説明する。
【0065】
図10は、本発明に係る印刷制御装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0066】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0067】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0068】
本実施形態における図6,図7,図9に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0069】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0070】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0071】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。
【0072】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0073】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0074】
本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から排除するものではない。
【0075】
本発明の様々な例と実施形態を示して説明したが、当業者であれば、本発明の趣旨と範囲は、本明細書内の特定の説明に限定されるのではなく、以下の実施態様も含まれることはいうまでもない。以下、その実施態様1〜14について説明する。
【0076】
〔実施態様1〕
応答ステータス指定コマンドにより指定された種類のステータスをステータス要求に応じて応答するプリンタ、と通信可能なデータ処理装置であって、プリンタへ送信したステータス要求に対する応答としてステータスを取得できたかを判定する判定手段(例えば図6に示すステップS21)と、ステータスを取得できないと前記判定手段により判定されるのに応じて、応答ステータス指定コマンドとステータス要求とをプリンタへ送信するように制御する送信制御手段(例えば図6に示すステップS22)とを有することを特徴とするデータ処理装置。
【0077】
〔実施態様2〕
応答ステータス指定コマンドにより指定されたステータスの種類は、プリンタの電源が遮断されるまで常にプリンタのメモリに保持されることを特徴とする実施態様1記載のデータ処理装置。
【0078】
〔実施態様3〕
前記設定手段は、プリンタに応答ステータス指定コマンドを送信する前に、プリンタにステータス要求を行い(図6のステップS20)、ステータスを取得できない場合(図6のステップS21でNOの場合)、プリンタに応答ステータス指定コマンドを送信する(図6のステップS21でNOの場合におけるステップS22)ことを特徴とする実施態様1記載のデータ処理装置。
【0079】
〔実施態様4〕
前記設定手段は、プリンタに応答ステータス指定コマンドを送信する前にプリンタにステータス要求を行い(図7のステップS30)、必要なステータスを取得できない場合(図7のステップS31でNOの場合)、プリンタに応答ステータス指定コマンドを送信する(図7のステップS31でNOの場合におけるステップS33)ことを特徴とする実施態様1記載のデータ処理装置。
【0080】
〔実施態様5〕
前記設定手段は、プリンタに応答ステータス指定コマンドを送信する前にプリンタにステータス要求を行い(図9のステップS30)、必要なステータス以外のステータスを取得した場合(図9のステップS42でNOの場合)、プリンタに応答ステータス指定コマンドを送信する(図9のステップS42でNOの場合におけるステップS43)ことを特徴とする実施態様1記載のデータ処理装置。
【0081】
〔実施態様6〕
プリンタとデータ処理装置とが通信可能な印刷システムであって、所定の種別のプリンタステータスを応答ステータス指定コマンドにより記述してプリンタに送信する送信手段(例えば図6に示すステップS22)と、前記送信手段による応答ステータス指定コマンド後、前記プリンタに指示するステータス要求により(例えば図6に示すステップS20)前記プリンタに保持されている前記応答ステータス指定コマンドに従うステータスを取得する取得手段(例えば図6に示すステップS21)とを備え、前記プリンタは、前記データ処理装置から指示される最初の応答ステータス指定コマンドで指定されたステータスを保持する保持手段(例えば図1に示すRAM206)と、前記データ処理装置からのステータス要求毎に、前記保持手段により保持されているステータスを前記データ処理装置に通知する通知手段(例えば図1に示すCPU205)とを備えることを特徴とする印刷システム。
【0082】
〔実施態様7〕
前記プリンタに設定された応答ステータス指定コマンドは、プリンタの電源が遮断されるまで常に、前記保持手段に保持していることを特徴とする実施態様6記載の印刷システム。
【0083】
〔実施態様8〕
前記送信手段は、プリンタに応答ステータス指定コマンドを送信する前に、プリンタにステータス要求を行い、ステータスを取得できない場合のみ、プリンタに応答ステータス指定コマンドを送信することを特徴とする実施態様6記載の印刷システム。
【0084】
〔実施態様9〕
前記送信手段は、プリンタに応答ステータス指定コマンドを送信する前にプリンタにステータス要求を行い、取得したステータスに必要なステータスが含まれていない場合のみ、プリンタに応答ステータス指定コマンドを送信することを特徴とする実施態様6記載の印刷システム。
【0085】
〔実施態様10〕
前記送信手段は、プリンタに応答ステータス指定コマンドを送信する前にプリンタにステータス要求を行い、取得したステータスに必要なステータス以外が含まれている場合のみ、プリンタに応答ステータス指定コマンドを送信することを特徴とする実施態様6記載の印刷システム。
【0086】
〔実施態様11〕
プリンタとデータ処理装置とが通信可能な印刷システムの制御方法であって、所定の種別のプリンタステータスを応答ステータス指定コマンドにより記述してプリンタに送信する送信ステップ(図6に示すステップS22)と、前記送信ステップによる応答ステータス指定コマンド後、前記プリンタに指示するステータス要求(図6に示すステップS20)により前記プリンタに保持されている前記応答ステータス指定コマンドに従うステータスを取得する取得ステップ(図6に示すステップS21)とを備えることを特徴とする制御方法。
【0087】
〔実施態様12〕
前記データ処理装置から指示される最初の応答ステータス指定コマンドで指定されたステータスを保持手段に保持する保持ステップ(図示しない)と、前記データ処理装置からのステータス要求毎に、前記保持手段により保持されているステータスを前記データ処理装置に通知する通知ステップ(図示しない)とを備えることを特徴とする実施態様11記載の制御方法。
【0088】
〔実施態様13〕
実施態様11または12に記載の制御方法を実現するプログラムを記憶したことを特徴とするコンピュータが読み取り可能な記憶媒体。
【0089】
〔実施態様14〕
実施態様11または12に記載の制御方法を実現することを特徴とするプログラム。
【0090】
上記実施形態および実施態様によれば、プリンタは電源が遮断されるまで以前設定された応答ステータス指定コマンドを記憶しているという機能を利用して、クライアント端末は、印刷を開始する前に応答ステータス指定コマンドをプリンタに送信せずに、ステータス要求を行う。その結果、プリンタのステータスを取得できなかった場合、つまりプリンタに応答ステータス指定コマンドが設定されていない場合や、取得したステータスに必要なステータスが含まれていない場合、つまりプリンタに設定されている応答ステータス指定コマンドに、必要なステータスが記述されていない場合や、取得したステータに必要なステータス以外のステータスが含まれている場合、つまりプリンタに設定されている応答ステータス指定コマンドに、必要なステータス以外のステータスが記述されている場合だけプリンタに応答ステータス指定コマンドを送信するので、プリンタの電源を入れてから最初の印刷は従来と同じように時間がかかってしまうが、それ以降プリンタの電源を遮断するまでは、ユーザが印刷開始の指示を出してから実際にプリンタの印刷が開始されるまでの時間を短縮することができる。
【0091】
【発明の効果】
以上説明したように、本発明によれば、プリンタと通信可能なデータ処理装置において、所定の種別のプリンタステータスを応答ステータス指定コマンドにより記述してプリンタに送信し、該応答ステータス指定コマンドの送信後、プリンタに指示するステータス要求によりプリンタに保持されている応答ステータス指定コマンドに従うステータスを取得するので、最初の応答ステータス指定コマンド以後、データ処理装置が必要とする種別のステータス取得処理が大幅に軽減され、ユーザが印刷開始の指示を出してから実際にプリンタの印刷が開始されるまでの時間を短縮することができる印刷処理環境を自在に構築することができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の第1実施形態を示すデータ処理装置を適用可能な印刷システムの構成を説明するブロック図である。
【図2】図1に示したプリンタの内部構成を説明するためのブロック図である。
【図3】図1に示したクライアント端末からプリンタに転送される第1の応答ステータス指定コマンドの一例を示す図である。
【図4】図1に示したクライアント端末からプリンタに転送される第1の応答ステータス指定コマンドの一例を示す図である。
【図5】従来の印刷制御装置におけるデータ処理手順の一例を示すフローチャートである。
【図6】本発明に係る印刷制御装置における第1のデータ処理手順の一例を示すフローチャートである。
【図7】本発明に係る印刷制御装置における第2のデータ処理手順の一例を示すフローチャートである。
【図8】図1に示したクライアント端末がプリンタより取得されるステータスを示す図である。
【図9】本発明に係る印刷制御装置における第3のデータ処理手順の一例を示すフローチャートである。
【図10】本発明に係る印刷制御装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【符号の説明】
101 クライアント端末
102 キーボード
103 マウス
105 CPU
107 ROM
108 外部記憶装置
110 表示部
111 プリンタ
206 RAM
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to control of a printing system that performs a printing process by communicating with a data processing device that can communicate with a printer.
[0002]
[Prior art]
A printing system in which a client terminal such as a personal computer (PC) or a terminal device (NonPC) other than the personal computer (PC) is connected to a printer via a cable, a network, a home server, or the like, and is capable of bidirectional communication. In, the client terminal can notify the user of the current status of the printer by acquiring the status of the printer.
[0003]
For example, if the printer has an out-of-ink error, the client terminal obtains the status of the out-of-ink error from the printer and notifies the user using an output device such as a display to replace the depleted ink. can do.
[0004]
In addition, the client terminal acquires the type of the ink head currently mounted on the printer, and when there is a mismatch between the print setting set by the user and the ink head, for example, despite the fact that the user has set color printing, Alternatively, if the printer is equipped with an ink head for monochrome printing, the user can be notified using an output device such as a display that printing cannot be performed with the current print settings.
[0005]
As described above, the client terminal acquires the status of the printer and notifies the user of the status, thereby realizing a print environment that is kind to the user.
[0006]
In order to obtain the status of the printer, the client terminal has individually made a status request such as an error, a warning, and ink head information. Therefore, when various information is required at once, it is necessary to make a status request to the printer a plurality of times, such as error, warning, and ink head information.
[0007]
Therefore, there is a response status designation command at present so that necessary information can be obtained by one status request.
[0008]
Before starting printing, the client terminal sends a response status designation command that describes the status to be returned to the client terminal at the time of status response to the printer, and then requests the status. The status can be obtained with one status request.
[0009]
When a status request is issued from the client terminal, the printer returns the status described in the response status specification command if the response status specification command is set, but returns the status described in the response status specification command if the response status specification command is not set. , Does not return status.
[0010]
[Problems to be solved by the invention]
In a conventional printing system, in order to acquire the status of a printer, a response status designation command describing a status to be returned to the client terminal at the time of status response is always transmitted to the printer before starting printing.
[0011]
However, when the client terminal is a terminal such as NonPC which has a low processing capability for data, when the data transfer speed between the client terminal and the printer is low, or when the client terminal and the printer are connected via a home server or the like. In this case, it took a long time to send the response status designation command to the printer.
[0012]
Therefore, there is a problem that it takes time from when the user issues a print start instruction to when the printer actually starts printing.
[0013]
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a data processing device capable of communicating with a printer by describing a printer status of a predetermined type by a response status designation command. After receiving the response status designation command, the data processing device obtains a status according to the response status designation command held in the printer by a status request instructing the printer, so that the data processing device The status acquisition processing of the required type is greatly reduced, and a print processing environment that can shorten the time from when the user issues a print start instruction to when the printer actually starts printing can be freely constructed. To provide a data processing device capable of performing such operations.
[0014]
[Means for Solving the Problems]
The data processing device of the present invention that achieves the above object has the following configuration.
[0015]
A data processing device that can communicate with a printer that responds to a status request of the type specified by a response status designation command in response to a status request, and determines whether the status has been acquired as a response to the status request transmitted to the printer. Means (for example, step S21 shown in FIG. 6), and transmission control means for controlling the transmission of the response status designation command and the status request to the printer in response to the determination that the status cannot be obtained by the determination means. For example, it is characterized by having step S22) shown in FIG.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, this embodiment will be described with reference to the drawings.
[0017]
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration of a printing system to which a data processing apparatus according to a first embodiment of the present invention can be applied. A client terminal 101 that requests printing and a printer 111 can communicate via an interface. Corresponding to a simple printing system example. Note that the client terminal 101 and the printer 111 are connected by a cable such as USB or IEEE1394, and can communicate bidirectionally.
[0018]
In FIG. 1, a client terminal 101 includes a keyboard 102, a mouse 103, a CPU 105, a RAM 106, a ROM 107, an external storage device 108, and a display unit 110. Although the keyboard 102 and the mouse 103 are used as operation instruction input devices, the touch pen may be used when the display unit 110 is a touch panel type display. 104 and 109 are input / output interfaces.
[0019]
A printer driver program for operating the printer 111 connected to the client terminal 101 is stored in the external storage device 108. If there is no external storage device, it may be stored in a ROM or the like.
[0020]
FIG. 2 is a block diagram for explaining the internal configuration of the printer 111 shown in FIG.
[0021]
In FIG. 2, reference numeral 202 denotes an input device, which includes buttons, switches, and the like used for power-on, reset, and the like. A RAM 206 is used as a temporary storage of various data and a print buffer. A ROM 207 is a read-only area for the operating system and other control programs. An EEPROM 208 is used as a storage area for print engine information and the like. Reference numeral 209 denotes a controller composed of an image processing ASIC or the like. A printer engine 210 includes an LF motor, a carriage motor, a print head, and various sensors.
[0022]
FIG. 3 is a diagram showing an example of a response status designation command transferred from the client terminal 101 shown in FIG. 1 to the printer 111. In order for the client terminal 101 shown in FIG. This corresponds to a response status designation command transmitted to the printer 111.
[0023]
3, the response status designation command 301 includes a header portion 302 and a response status designation portion 303. The header portion 302 describes an identifier, a size, and the like of the command. In the response status designation unit 303, statuses such as errors and warnings required by the client terminal 101 are described.
[0024]
Once the response status designation command is set in the printer 111, it is retained in the RAM 206 of the printer 111 until the power is turned off.
[0025]
FIG. 4 is a view showing an example of a response status designation command 401 transferred from the client terminal 101 shown in FIG. 1 to the printer 111. In order for the client terminal 101 shown in FIG. , A response status designation command transmitted to the printer 111.
[0026]
In FIG. 4, (a) is a correspondence example of the status-specific identifier described in the response status designation unit 403 shown in (b) of FIG.
[0027]
In the present embodiment, when the client terminal 101 needs the status of the error, the warning, and the ink head information, the response status designation unit 403 sets the required status ID “A” in the status shown in FIG. , B, C ".
[0028]
If the client terminal 101 sends this response status designation command to the printer 111 and then makes a status request, the current statuses A, B, and C of the printer 111 can be obtained collectively. Hereinafter, the conventional status acquisition process shown in FIG. 5 and the status acquisition process in the present embodiment will be described in comparison.
[0029]
FIG. 5 is a flowchart illustrating an example of a data processing procedure in the conventional print control apparatus, and corresponds to a processing procedure for the client terminal 101 to acquire the status of the printer. Note that S10 to S13 indicate each step.
[0030]
First, in step S10, the client terminal 101 transmits to the printer 111 a response status designation command in which one status to be returned at the time of a status response is described.
[0031]
Then, in step S11, the client terminal 101 issues a status request to the printer 111.
[0032]
Then, in step S12, it is determined whether or not the client terminal 101 has acquired the status of the printer 111. If it is determined that the status has been acquired, the process is terminated.
[0033]
On the other hand, if it is determined in step S12 that the status could not be obtained, a warning display such as "cannot communicate with the printer" is displayed on the display unit 110 of the client terminal 101 in step S13, and the process ends.
[0034]
FIG. 6 is a flowchart illustrating an example of a first data processing procedure in the print control apparatus according to the present invention, and corresponds to a processing procedure for the client terminal to acquire the status of the printer. In addition, S20 to S25 indicate each step.
[0035]
First, in step S20, the client terminal 101 makes a status request to the printer 111 without transmitting a response status designation command to the printer 111.
[0036]
Then, in step S21, it is determined whether or not the client terminal 101 has acquired the status of the printer 111. If it is determined that the status has been acquired, the process is terminated.
[0037]
On the other hand, if it is determined in step S21 that the status could not be obtained, in step S22, the client terminal 111 executes the response status designation command (in which a plurality of status acquisitions can be designated) describing the status to be returned in the status response. ) To the printer 111.
[0038]
Next, in step S23, the client terminal 101 issues a status request to the printer 111. Then, in step S24, it is determined whether or not the client terminal 101 has been able to acquire the status of the printer 111, and if it is determined that the status has been able to be acquired, this processing ends.
[0039]
On the other hand, if the client terminal 101 cannot acquire the status of the printer 111 in step S24, a warning display such as "cannot communicate with the printer" is displayed on the display unit 110 in step S25, and the process ends.
[0040]
As a result, the first printing after the power of the printer is turned on takes the same time as in the related art (initially, the determination in step S21 is NO, and in step S22, a status designation command (a plurality of status acquisitions can be designated) ) Is sent to the printer 111), but the status acquired in the RAM is retained until the power supply of the printer is turned off thereafter. Therefore, the determination in step S21 becomes YES, and the status designation command is again transmitted. Since the transmitting step is not executed, the time from when the user issues a print start instruction to when the printer actually starts printing can be reduced.
[0041]
[Second embodiment]
FIG. 7 is a flowchart illustrating an example of a second data processing procedure in the print control apparatus according to the present invention, and corresponds to a processing procedure for the client terminal to acquire the status of the printer. Note that S30 to S36 indicate each step.
[0042]
First, in step S30, the client terminal 101 makes a status request to the printer 111 without transmitting a response status designation command. In step S31, it is determined whether or not the client terminal 101 has acquired the status of the printer. If it is determined that the status has been acquired, in step S32, the status acquired from the printer 111 indicates the status required by the client terminal 101. Is analyzed to determine whether the required status is included. If it is determined that the required status is included, the process ends.
[0043]
On the other hand, if it is determined in step S31 that the status could not be obtained, or if it was determined that the status obtained in step S32 did not include the required status, in step S33, the client terminal 101 sends the status response A response status designation command (see FIG. 4B) describing the status to be returned at the time of is sent to the printer 111.
[0044]
Then, in step S34, the client terminal 101 issues a status request to the printer 111. Next, if it is determined in step S35 that the client terminal 101 has acquired the status of the printer 111, the process ends.
[0045]
On the other hand, if it is determined in step S35 that the status could not be obtained, a warning display such as "cannot communicate with the printer" is displayed on the display unit 110 in step S36, and the process ends. Hereinafter, a specific example of processing when the status as shown in FIG. 8 is obtained from the printer 111 will be described.
[0046]
FIG. 8 is a diagram showing the status obtained by the client terminal 101 shown in FIG.
[0047]
In this example, the statuses required by the client terminal 101 are A and B in the analysis processing of step S32 shown in FIG.
[0048]
8, statuses 901, 902, and 903 indicate statuses obtained by the client terminal 101 from the printer 111.
[0049]
First, assuming that the status acquired by the client terminal 101 from the printer 111 is 901 in step S31 shown in FIG. 7, the status 901 includes both the statuses A and B required by the client terminal 101. It is determined that the required status is included, and the processing illustrated in FIG. 7 ends.
[0050]
On the other hand, in step S31, if the status acquired by the client terminal 101 from the printer 111 is the status 902, the status 902 includes the status A required by the client terminal 101 but includes the status B. Therefore, it is determined that there is no necessary status in the determination processing in step S32 shown in FIG.
[0051]
If the status acquired by the client terminal 101 from the printer 111 is status 903 in step S31 shown in FIG. 7, the status 903 includes both the statuses A and B required by the client terminal 101. In S32, it is determined that the required status is included, and the process shown in FIG. 7 ends.
[0052]
As a result, after the status request is made in step S30, if the status obtained in step S31 includes a status required by the client terminal 101 (even if an unnecessary status is obtained), no new response status is obtained. The process of setting the specified command becomes unnecessary.
[0053]
[Third embodiment]
FIG. 9 is a flowchart illustrating an example of a third data processing procedure in the print control apparatus according to the present invention, and corresponds to a processing procedure for the client terminal to acquire the status of the printer. Note that S40 to S46 indicate each step.
[0054]
First, in step S40, the client terminal 101 makes a status request to the printer 111 without transmitting a response status designation command. Then, in step S41, it is determined whether or not the client terminal 101 has been able to acquire the status of the printer 111. If it is determined that the client terminal 101 has been able to acquire the status of the printer 111, in step S42, it is determined in step S41 that The obtained status is analyzed to determine whether the status other than the required status is included in the client terminal 101, and it is determined whether the obtained status does not include a status other than the required status for the client terminal 101. If the client terminal 101 does not include any status other than the required status, that is, if the client terminal 101 determines that the status is the same as the required status, the process ends.
[0055]
On the other hand, if the status cannot be obtained in step S41, or if the status obtained in step S42 determines that the client terminal 101 includes a status other than the required status, the process proceeds to step S43. The printer 101 transmits to the printer 111 a response status designation command that describes the status to be returned in the status response.
[0056]
Then, in step S44, the client terminal 101 issues a status request to the printer 111.
[0057]
Next, in step S45, it is determined whether or not the client terminal 101 has obtained the status of the printer 111. If it is determined that the client terminal 101 has obtained the status of the printer 111, the process is terminated.
[0058]
On the other hand, if it is determined in step S45 that the status could not be acquired, a warning display such as "cannot communicate with the printer" is displayed on the display unit 110 in step S46, and the process ends. Hereinafter, a specific example of the processing when the status as illustrated in FIG. 8 is acquired from the printer 111 (the analysis processing in step S42 illustrated in FIG. 9) will be described.
[0059]
Here, it is assumed that the statuses required by the client terminal 101 are A and B. Statuses 901, 902, and 903 indicate the statuses obtained by the client terminal 101 from the printer 111.
[0060]
In step S41, if the status acquired from the printer 111 by the client terminal 101 is, for example, the status 901, since the status 901 includes only the statuses A and B required by the client terminal 101, the status is the same in step S42. Is determined.
[0061]
On the other hand, if the status acquired by the client terminal 101 from the printer 111 in step S41 is the status 902, the status 902 includes the status A required by the client terminal 101, but does not include the status B. In step S42, it is determined that they are not the same.
[0062]
If the status acquired by the client terminal 101 from the printer 111 in step S41 is the status 903, the status 903 includes the statuses A and B required by the client terminal 101, but includes the unnecessary status C. Therefore, it is determined that they are not the same in step S42, and steps S43 and S44 are executed, so that the client terminal 101 can select and acquire only the necessary statuses A and B again.
[0063]
In the above-described embodiment, for example, an example of a printing system in which the client terminal 101 and the printer 111 are connected one-to-one with an interface cable has been described. However, the present invention can be applied.
[0064]
Hereinafter, the configuration of a data processing program that can be read by the print control apparatus according to the present invention will be described with reference to a memory map shown in FIG.
[0065]
FIG. 10 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the print control device according to the present invention.
[0066]
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, and the like are also stored, and information dependent on the OS or the like on the program reading side, for example, a program is identified and displayed. Icons and the like may also be stored.
[0067]
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.
[0068]
The functions shown in FIGS. 6, 7, and 9 in the present embodiment may be performed by a host computer by a program installed from the outside. In this case, the present invention is applied even when a group of information including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Things.
[0069]
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MPU) of the system or the apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention is also achieved by reading and executing the program code thus obtained.
[0070]
In this case, the program code itself read from the storage medium implements the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0071]
As a storage medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, EEPROM, or the like may be used. it can.
[0072]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0073]
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0074]
The present invention is not limited to the above embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and those are excluded from the scope of the present invention. is not.
[0075]
Although various examples and embodiments of the present invention have been shown and described, those skilled in the art will recognize that the spirit and scope of the present invention is not limited to the specific description herein, but rather includes the following embodiments. Needless to say, this is also included. Hereinafter, Embodiments 1 to 14 will be described.
[0076]
[Embodiment 1]
A data processing device that can communicate with a printer that responds to a status request of the type specified by a response status designation command in response to a status request, and determines whether the status has been acquired as a response to the status request transmitted to the printer. Means (for example, step S21 shown in FIG. 6), and transmission control means for controlling the transmission of the response status designation command and the status request to the printer in response to the determination that the status cannot be obtained by the determination means. For example, a data processing device comprising: (S22) shown in FIG.
[0077]
[Embodiment 2]
The data processing apparatus according to claim 1, wherein the status type designated by the response status designation command is always held in the memory of the printer until the power of the printer is turned off.
[0078]
[Embodiment 3]
The setting unit issues a status request to the printer before transmitting the response status designation command to the printer (step S20 in FIG. 6). If the status cannot be obtained (NO in step S21 in FIG. 6), The data processing apparatus according to the first embodiment, wherein a response status designation command is transmitted (step S22 when NO in step S21 in FIG. 6).
[0079]
[Embodiment 4]
The setting unit issues a status request to the printer before transmitting the response status designation command to the printer (step S30 in FIG. 7). If the necessary status cannot be obtained (NO in step S31 in FIG. 7), The data processing apparatus according to the first embodiment, wherein a response status designation command is transmitted to the server (step S33 in the case of NO in step S31 of FIG. 7).
[0080]
[Embodiment 5]
The setting unit issues a status request to the printer before transmitting the response status designation command to the printer (step S30 in FIG. 9), and acquires a status other than the necessary status (NO in step S42 in FIG. 9). The data processing apparatus according to the first embodiment, wherein a response status designation command is transmitted to the printer (step S43 in the case of NO in step S42 in FIG. 9).
[0081]
[Embodiment 6]
A printing system capable of communicating between the printer and the data processing apparatus, the transmitting means (for example, step S22 shown in FIG. 6) describing a predetermined type of printer status by a response status designation command and transmitting the same to the printer; Acquisition means (for example, as shown in FIG. 6) for acquiring a status according to the response status designation command held in the printer by a status request instructing the printer after the response status designation command by the means (for example, step S20 shown in FIG. 6). Step S21), the printer comprises: a holding unit (for example, the RAM 206 shown in FIG. 1) for holding a status designated by a first response status designation command instructed by the data processing device; For each status request Printing system comprising: a notification means for notifying the status held in the data processing device (CPU 205 shown in FIG. 1, for example) by.
[0082]
[Embodiment 7]
7. The printing system according to claim 6, wherein the response status designation command set in the printer is held in the holding unit until the power of the printer is turned off.
[0083]
[Embodiment 8]
The transmission means according to the sixth embodiment, wherein the transmission means makes a status request to the printer before transmitting the response status designation command to the printer, and transmits the response status designation command to the printer only when the status cannot be obtained. Printing system.
[0084]
[Embodiment 9]
The transmitting means makes a status request to the printer before transmitting the response status designation command to the printer, and transmits the response status designation command to the printer only when the obtained status does not include a necessary status. The printing system according to embodiment 6, wherein
[0085]
[Embodiment 10]
The transmitting means requests the printer before transmitting the response status designation command to the printer, and transmits the response status designation command to the printer only when the obtained status includes a status other than the necessary status. A printing system according to claim 6, characterized in that:
[0086]
[Embodiment 11]
A control method of a printing system in which a printer and a data processing device can communicate with each other, wherein a transmitting step of describing a predetermined type of printer status by a response status designation command and transmitting the same to the printer (step S22 shown in FIG. 6); After the response status designation command in the transmission step, an acquisition step (shown in FIG. 6) for acquiring a status according to the response status designation command held in the printer by a status request (step S20 shown in FIG. 6) instructing the printer. (S21).
[0087]
[Embodiment 12]
A holding step (not shown) for holding the status designated by the first response status designation command instructed by the data processing device in the holding unit, and a status held by the holding unit for each status request from the data processing device. 12. The control method according to embodiment 11, further comprising a notifying step (not shown) for notifying the data processing device of a status of the data processing apparatus.
[0088]
[Embodiment 13]
A computer-readable storage medium storing a program for implementing the control method according to the eleventh or twelfth embodiment.
[0089]
[Embodiment 14]
A program for realizing the control method according to the eleventh or twelfth embodiment.
[0090]
According to the above embodiment and the embodiment, the client terminal uses the function that the printer stores the previously set response status designation command until the power is turned off, and the client terminal transmits the response status before starting printing. Make a status request without sending the specified command to the printer. As a result, if the printer status could not be obtained, that is, if the response status designation command was not set in the printer, or if the obtained status did not include the required status, that is, if the response set in the printer If the required status is not described in the status specification command or the status other than the required status is included in the obtained status, that is, the response status specification command set in the printer is not the required status. Since the response status designation command is sent to the printer only when the status of the printer is described, the first print after turning on the printer takes the same time as before, but after that the printer is turned off. Until the user issues a print start instruction Can actually reduce the time to the printer printing is started from.
[0091]
【The invention's effect】
As described above, according to the present invention, in a data processing device capable of communicating with a printer, a printer status of a predetermined type is described by a response status designation command and transmitted to the printer. Since the status according to the response status designation command held in the printer is acquired by the status request instructing the printer, the status acquisition processing of the type required by the data processing device after the first response status designation command is greatly reduced. In addition, there is an effect that a print processing environment in which the time from when the user issues a print start instruction to when the printer actually starts printing can be shortened can be freely constructed.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a printing system to which a data processing device according to a first embodiment of the present invention can be applied.
FIG. 2 is a block diagram for explaining an internal configuration of the printer shown in FIG.
FIG. 3 is a diagram showing an example of a first response status designation command transferred from the client terminal shown in FIG. 1 to a printer.
FIG. 4 is a diagram showing an example of a first response status designation command transferred from the client terminal shown in FIG. 1 to a printer.
FIG. 5 is a flowchart illustrating an example of a data processing procedure in a conventional print control apparatus.
FIG. 6 is a flowchart illustrating an example of a first data processing procedure in the print control apparatus according to the present invention.
FIG. 7 is a flowchart illustrating an example of a second data processing procedure in the print control apparatus according to the present invention.
8 is a diagram showing a status obtained by the client terminal shown in FIG. 1 from a printer.
FIG. 9 is a flowchart illustrating an example of a third data processing procedure in the print control apparatus according to the present invention.
FIG. 10 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the print control device according to the present invention.
[Explanation of symbols]
101 Client terminal
102 keyboard
103 mouse
105 CPU
107 ROM
108 External storage device
110 Display
111 Printer
206 RAM

Claims (1)

応答ステータス指定コマンドにより指定された種類のステータスをステータス要求に応じて応答するプリンタ、と通信可能なデータ処理装置であって、
プリンタへ送信したステータス要求に対する応答としてステータスを取得できたかを判定する判定手段と、
ステータスを取得できないと前記判定手段により判定されるのに応じて、応答ステータス指定コマンドとステータス要求とをプリンタへ送信するように制御する送信制御手段と、を有することを特徴とするデータ処理装置。
A printer that responds to a status request of the type specified by the response status specification command in response to a status request,
Determining means for determining whether a status has been obtained in response to the status request transmitted to the printer;
A data processing device comprising: a transmission control unit that controls transmission of a response status designation command and a status request to a printer in response to a determination made by the determination unit that status cannot be obtained.
JP2002354710A 2002-12-06 2002-12-06 Data processor Pending JP2004185534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002354710A JP2004185534A (en) 2002-12-06 2002-12-06 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002354710A JP2004185534A (en) 2002-12-06 2002-12-06 Data processor

Publications (1)

Publication Number Publication Date
JP2004185534A true JP2004185534A (en) 2004-07-02

Family

ID=32755621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002354710A Pending JP2004185534A (en) 2002-12-06 2002-12-06 Data processor

Country Status (1)

Country Link
JP (1) JP2004185534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009163574A (en) * 2008-01-08 2009-07-23 Canon Inc Information processing apparatus, method of controlling print setting, and computer program
JP2013073251A (en) * 2011-09-26 2013-04-22 Casio Electronics Co Ltd Printing system and host apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009163574A (en) * 2008-01-08 2009-07-23 Canon Inc Information processing apparatus, method of controlling print setting, and computer program
US8390837B2 (en) 2008-01-08 2013-03-05 Canon Kabushiki Kaisha Information processing apparatus, print setting control method, and computer-readable storage medium
JP2013073251A (en) * 2011-09-26 2013-04-22 Casio Electronics Co Ltd Printing system and host apparatus

Similar Documents

Publication Publication Date Title
JP3740454B2 (en) Printing system, information processing apparatus, printer, display control method, print control method, storage medium storing computer-readable program, and program
JP5321929B2 (en) Universal device driver, device control program, information processing apparatus, server apparatus, and method
JP2024107032A (en) Application Program
US8634098B2 (en) Image processing system and image processing apparatus and method
JP4533780B2 (en) Image forming system, image forming apparatus, terminal device, and driver updating method for terminal device
JP4921151B2 (en) Data processing apparatus, printing apparatus, printing processing method, storage medium, program
US20110292424A1 (en) Computer Readable Medium Having Common Printer Driver, and Print Port Managing Method
US8860980B2 (en) Administrator terminal connected to image forming apparatus and client, image forming system including the same, and remote installing method for driver thereof
JP2001236298A (en) Data processor, printing system and method for controlling setting of driver software for them
JP5245661B2 (en) Print control apparatus, program, recording medium, and print control method
JP6582830B2 (en) Monitor program, communication program, information processing apparatus, image forming apparatus, and image forming system
JP4886501B2 (en) Printing apparatus, printing control method, and program
JP2004185534A (en) Data processor
JP6635157B2 (en) Image forming apparatus, its processing method, and program
JP2007199770A (en) Information processor, uninstallation method, storage medium, and program
JP3559666B2 (en) Output control device and output control method
JP4378338B2 (en) Information processing apparatus, device setting method, storage medium, and program
JP3957972B2 (en) Information processing apparatus, print control apparatus, data processing method, and storage medium
JPH11191047A (en) Printing system, driver managing method therefor, and storage medium stored with computer-readable program
JP2004021453A (en) Printer
JP4387710B2 (en) Network device and control method thereof
JP4838450B2 (en) Server apparatus, server apparatus control method, program, and storage medium
JP2004078377A (en) Peripheral device and initialization method
JP2009140068A (en) Information processing apparatus and information processing method of information processing apparatus
JP2002196896A (en) Printing system, its server system, method for acquiring status of printing system, and recording medium