JP3754921B2 - Printer device, expansion device, communication processing method, computer-readable storage medium, and program - Google Patents
Printer device, expansion device, communication processing method, computer-readable storage medium, and program Download PDFInfo
- Publication number
- JP3754921B2 JP3754921B2 JP2001392120A JP2001392120A JP3754921B2 JP 3754921 B2 JP3754921 B2 JP 3754921B2 JP 2001392120 A JP2001392120 A JP 2001392120A JP 2001392120 A JP2001392120 A JP 2001392120A JP 3754921 B2 JP3754921 B2 JP 3754921B2
- Authority
- JP
- Japan
- Prior art keywords
- printer
- initialization
- time
- expansion device
- expansion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、プリンタの機能を拡張する拡張装置を接続するインタフェースを備えるプリンタ装置およびプリンタ装置のインタフェースに通信可能に接続されて該プリンタ装置の機能を拡張する拡張装置および通信処理方法およびコンピュータが読み取り可能な記憶媒体およびプログラムに関するものである。
【0002】
【従来の技術】
従来、プリンタ装置等の機器とその拡張インタフェースを介して通信する拡張装置(プリンタ、複写機、FAX、スキャナ等の機器を機能拡張)とを接続して起動する際には、プリンタ装置が拡張装置の機能を利用可能とするための初期化処理を行う。
【0003】
この初期化処理では、拡張装置内部の初期化処理を行い、処理が終了した時点でプリンタ装置に対して初期化処理の終了を知らせる情報を送信する。この時、拡張装置からの初期化終了までの時間を予めプリンタ装置内に設定しておき、その時間を過ぎても拡張装置から初期化終了の応答がない場合にはタイムアウトエラーを発生していた。
【0004】
図10は、従来のネットワークインタフェース装置とプリンタ装置を適用可能なネットワークシステムにおける通信手順の一例を示すシーケンス図である。なお、S701〜S706は各ステップを示す。
【0005】
先ず、プリンタ装置106の電源が投入されると(S701)、予め設定されたネットワークインタフェース装置101の有無を示す拡張フラグがセットされる(S702)。拡張フラグがセットされるとプリンタ装置106は予め設定されている時間(Ta)ネットワークインタフェース装置101の初期化処理を待つ。時間(Ta)以内にネットワークインタフェース装置101の初期化が終了したことを示す初期化終了情報が送信され、プリンタ装置106が受信すると、これ以降は、プリンタ装置106はネットワークインタフェース装置101の機能を利用することが出来る(S703、S704)。
【0006】
しかし、初期化終了情報があらかじめ設定された時間(Ta)を過ぎた場合(S705)、プリンタ装置はタイムアウトエラーを発生する。そして、ネットワークI/F装置101が初期化が終了したことを示す情報を送信する(S706)。
【0007】
【発明が解決しようとする課題】
しかしながら、拡張装置によっては、プリンタ装置との通信時にタイムアウトエラーまでの時間内に応答することができない場合がある。
【0008】
例えば、起動時にプログラムを内蔵ROMから内蔵RAMへロードする拡張装置では、ROM,RAMへのアクセス時間やプログラムのサイズによって起動時間が決まるが、拡張装置の機能向上等に伴うプログラムのバージョン変更によって、プログラムサイズが大きくなると起動時間も長くなってしまう。
【0009】
その際、当初決められていたタイムアウトエラーまでの時間を守れなくなってしまうことがある。通常タイムアウトエラーを発生した場合は、拡張装置の機能は使用できない。また、初期化を終了していないためプリンタ装置自体に問題があるものと見なしてプリンタ装置自体も使用できない場合も有り得る。
【0010】
この様な拡張装置を利用するためには、プリンタ装置に設定されているタイムアウトエラーまでの時間を変更する必要がある。そのためには、その都度プリンタ装置側のファームウェアの変更が必要となってしまう。
【0011】
一方、予めプリンタ装置のタイムアウトエラーまでの時間を長く設定しておくことも考えられるが、応答速度の早い拡張装置に対しては無駄な時間となり、パフォーマンスの低下となってしまう。
【0012】
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、柔軟に拡張装置の初期化にかかわるタイムアウトを判定することができる仕組みを提供することである。
【0014】
【課題を解決するための手段】
本発明は、プリンタの機能を拡張する拡張装置(図1に示すネットワークI/F装置101に相当)を接続するインタフェースを備えるプリンタ装置であって、前記インタフェースを介して拡張装置と通信を行う通信手段(図1に示す拡張I/F部107に相当)と、前記通信手段による前記拡張装置との通信から得られる情報に基づき、前記拡張装置の接続有無を判別する判別手段(図1に示す制御部108に相当)と、前記判別手段により前記拡張装置が有ると判別した場合に、前記拡張装置からの初期化終了の応答がタイムアウト時間内に得られなかった時点でタイムアウトエラーを発生する発生手段(図1に示す制御部108に相当)と、前記拡張装置との通信によって得られた情報に基づき、前記タイムアウト時間を可変設定する設定手段(図1に示す制御部108に相当)とを有することを特徴とする。
【0026】
【発明の実施の形態】
〔第1実施形態〕
図1は、本発明の第1実施形態を示すネットワークインタフェース装置とプリンタ装置を適用可能なネットワークシステムの構成を説明するブロック図である。
【0027】
図1において、101はネットワークインタフェース装置で、プリンタ装置106の機能を拡張する。102はLANインタフェース部で、ネットワークに接続し通信を行う。103は制御部で、ネットワークインタフェース装置101を制御する。
【0028】
104は拡張インタフェース部で、プリンタ装置106に接続し通信を行う。105はメモリ部で、プログラムの格納やワークエリアに用いられる。
【0029】
プリンタ装置106において、107は拡張I/F部で、ネットワークインタフェース装置101と通信する。108は制御部で、プリンタ装置106を制御する。109はプリント部で、画像情報を記録媒体110である紙面に印刷する。
【0030】
ネットワークインタフェース装置101内の制御部103は予め設定された通信プロトコルによって、LANI/F部102を介してLAN上の他の機器とパケット通信を行う。
【0031】
なお、LANから受信した印刷情報は一度メモリ部105に蓄えられた後、拡張I/F部104を介してプリンタ装置106に送信される。プリンタ装置106は、拡張I/F部107を介してネットワークインタフェース装置101より受信した印刷情報を制御部108により画像情報に変換した後、プリント部109によって記録媒体110上に印字する。
【0032】
図2は、図1に示したネットワークインタフェース装置101とプリンタ装置106との通信シーケンスを説明する図であり、図1と同一のものには同一の符号を付してある。なお、S201〜S207は各ステップを示す。
【0033】
図2において、プリンタ装置106の電源を投入すると(S201)、ネットワークインタフェース装置101は、予め設定された自身の有無を示す拡張フラグをメモリ部105上にセットする(S202)。そして、プリンタ装置106は拡張フラグを受信することで拡張装置が有る事を認識し(S203)、初期化の終了を待つ。
【0034】
次に、ネットワークインタフェース装置101は、自身が起動し、初期化が終了するまでの時間がTa内に収まらない場合、初期化終了までに必要な時間Tbを初期化終了時間情報としてプリンタ装置106に送信する(S204)。プリンタ装置106は初期化終了時間情報を受信(S205)し、得られた情報から初期化タイムアウトまでの時間をTbに延長する。そして、ネットワークI/F装置101がプリンタ装置106に対して初期化終了情報を送信すると(S206)、プリンタ装置106が該初期化終了情報を受信する(S207)。
【0035】
図3は、本発明に係るプリンタ装置における第1のデータ処理手順の一例を示すフローチャートであり、図1に示したプリンタ装置106の制御部108の内部メモリに記憶される制御手順に基づく初期化処理手順に対応する。なお、図3の(a)に示すS301〜S307および図3の(b)に示すステップS308は各ステップを示す。
【0036】
プリンタ装置106は起動すると、直ちに初期化タイムアウトをカウントする初期化タイマ(図1に示す制御部108に備える内部タイマ)をスタートする(S301)。そして、ネットワークインタフェース装置101より拡張装置フラグを受信する(S302)。
【0037】
そして、拡張装置フラグを受信できたことを確認できたかどうかを判定して(S303)、拡張装置フラグの受信を確認できないと判定した場合は、拡張装置が無いと判断して、処理を終了する。
【0038】
一方、ステップS303で、拡張装置フラグの受信を確認できたと判定した場合は、初期化終了時間を受信すると(S304)、初期化タイマを受信した時間に再設定を行う(S305)。そして、初期化終了情報を受信すると(S306)、初期化タイマを解除して(S307)、処理を終了する。
【0039】
一方、初期化タイムアウトが発生した場合、割り込みルーチンであるタイムアウトによりエラー処理を行い(S308)、処理を終了する。
【0040】
図4は、本発明に係るネットワークインタフェース装置における第1のデータ処理手順の一例を示すフローチャートであり、図1に示したネットワークインタフェース装置101の制御部103が実行する通信処理手順に対応する。なお、S401〜S403は各ステップを示す。
【0041】
ネットワークインタフェース装置101はプリンタ装置106から電力を供給されると直ちに拡張装置フラグを送信する(S401)。このフラグは、拡張インタフェース部104において特定の信号を”1”か”0”に固定するハードウェアによる方法でも、ソフトウエアによる信号の組み合わせによる方法でも、応答時間に影響を与えない方法であれば構わない。
【0042】
次に、予め設定してある初期化終了時間を送信する(S402)。初期化終了時間は内部のメモリ部105から読み出されるプログラムのサイズに依存する。
【0043】
従って、メモリ部にフラッシュメモリ等の書き換え可能なデバイスを使用していて後から機能をアップグレードする場合などは、プログラムサイズに伴って初期化終了時間の設定を変更するとことでタイムアウトの発生を防ぐことが出来る。初期化が終了した時点で初期化終了情報を送信し(S403)、処理を終了する。
【0044】
〔第2実施形態〕
図5は、本発明に係るプリンタ装置における第2のデータ処理手順の一例を示すフローチャートであり、図1に示したプリンタ装置106の制御部108の内部メモリに記憶される制御手順に基づく初期化処理手順に対応する。なお、図5の(a)に示すS501〜S508および図5の(b)に示すステップS509は各ステップを示す。
【0045】
また、図3の処理との違いは、本実施形態では製品情報受信ステップ(S504)とタイムアウト時間決定ステップ(S505)が追加された点である。
【0046】
プリンタ装置106は起動すると、直ちに初期化タイムアウトをカウントする初期化タイマ(図1に示す制御部108に備える内部タイマ)をスタートする(S501)。そして、ネットワークインタフェース装置101より拡張装置フラグを受信する(S502)。
【0047】
そして、拡張装置フラグを受信できたことを確認できたかどうかを判定して(S503)、拡張装置フラグの受信を確認できないと判定した場合は、拡張装置が無いと判断して、処理を終了する。
【0048】
一方、ステップS503で、拡張装置フラグの受信を確認できたと判定した場合は、ネットワークインタフェース装置101から製品情報を受信すると(S504)、プリンタ装置106内に予め設定されている情報と比較し、該当する製品に対するタイムアウト時間を決定する(S505)。決定したタイムアウト時間を元に初期化タイマを再設定する(S506)。
【0049】
そして、初期化終了情報を受信すると(S507)、初期化タイマを解除して(S508)、処理を終了する。
【0050】
一方、初期化タイムアウトが発生した場合、割り込みルーチンであるタイムアウトによりエラー処理を行い(S509)、処理を終了する。
【0051】
図6は、本発明に係るネットワークインタフェース装置における第2のデータ処理手順の一例を示すフローチャートであり、図1に示したネットワークインタフェース装置101の制御部103が実行する通信処理手順に対応する。なお、S601〜S603は各ステップを示す。
【0052】
ネットワークインタフェース装置101はプリンタ装置106から電力を供給されると直ちに拡張装置フラグを送信する(S601)。このフラグは、拡張インタフェース部104において特定の信号を”1”か”0”に固定するハードウェアによる方法でも、ソフトウエアによる信号の組み合わせによる方法でも、応答時間に影響を与えない方法であれば構わない。
【0053】
次に、ネットワークインタフェース装置101は自らの製品情報を送信する(S602)。そして、製品情報送信が終了した時点で初期化終了情報を送信し(S603)、処理を終了する。
【0054】
上記実施形態によれば、起動時の初期化タイムアウトまでの時間をその都度拡張装置から取得することで、常に拡張装置に合った無駄の無い設定が可能となる。これにより、拡張装置の機能向上のためのバージョンアップに対してもプリンタ装置のプログラムを変更する必要がなくなり、プリンタ装置と張拡装置との通信を将来に渡って確実に効率良く行うことが可能となる。
【0055】
図7は、図1に示した拡張装置から送信される製品情報のデータ構造を示す図であり、製品情報であることを表すヘッダに続いて、製品タイプ、製品コード、製品名がコードとして収めされている。
【0056】
以下、図8,図9に示すメモリマップを参照して本発明に係るプリンタ装置,拡張装置で読み出し可能なデータ処理プログラムの構成について説明する。
【0057】
図8は、本発明に係るプリンタ装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図であり、図9は、本発明に係る拡張装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0058】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0059】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0060】
本実施形態における図3,図4,図5,図6に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0061】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0062】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0063】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。
【0064】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0065】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0066】
【発明の効果】
以上説明したように、本発明では、柔軟に拡張装置の初期化にかかわるタイムアウトを判定することが可能となる。
【図面の簡単な説明】
【図1】本発明の第1実施形態を示すネットワークインタフェース装置とプリンタ装置を適用可能なネットワークシステムの構成を説明するブロック図である。
【図2】図1に示したネットワークインタフェース装置とプリンタ装置との通信シーケンスを説明する図である。
【図3】本発明に係るプリンタ装置における第1のデータ処理手順の一例を示すフローチャートである。
【図4】本発明に係るネットワークインタフェース装置における第1のデータ処理手順の一例を示すフローチャートである。
【図5】本発明に係るプリンタ装置における第2のデータ処理手順の一例を示すフローチャートである。
【図6】本発明に係るネットワークインタフェース装置における第2のデータ処理手順の一例を示すフローチャートである。
【図7】図1に示した拡張装置から送信される製品情報のデータ構造を示す図である。
【図8】本発明に係るプリンタ装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【図9】本発明に係る拡張装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【図10】従来のネットワークインタフェース装置とプリンタ装置を適用可能なネットワークシステムにおける通信手順の一例を示すシーケンス図である。
【符号の説明】
101 ネットワークI/F装置
102 LAN I/F部
103 制御部
104 拡張I/F部
105 メモリ部
106 プリンタ装置
107 拡張I/F部
108 制御部
109 プリント部
110 記録媒体[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer device having an interface for connecting an expansion device for expanding the function of the printer, and an expansion device, a communication processing method, and a computer that are communicably connected to the interface of the printer device and extend the function of the printer device. The present invention relates to a possible storage medium and program.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, when a device such as a printer device and an expansion device (function expansion of devices such as a printer, a copier, a FAX, a scanner, etc.) that communicate with each other via an expansion interface are connected and activated, the printer device is the expansion device. Perform initialization processing to make the functions available.
[0003]
In this initialization processing, initialization processing inside the expansion device is performed, and information notifying the end of the initialization processing is transmitted to the printer device when the processing is completed. At this time, the time until the end of initialization from the expansion device is set in the printer device in advance, and if there is no response of the completion of initialization from the expansion device after that time, a timeout error has occurred. .
[0004]
FIG. 10 is a sequence diagram showing an example of a communication procedure in a network system to which a conventional network interface device and printer device can be applied. S701 to S706 indicate each step.
[0005]
First, when the
[0006]
However, when the initialization end information has passed a preset time (Ta) (S705), the printer device generates a timeout error. Then, the network I /
[0007]
[Problems to be solved by the invention]
However, some extension devices may not be able to respond within the time until a timeout error when communicating with the printer device.
[0008]
For example, in an expansion device that loads a program from the built-in ROM to the built-in RAM at the time of activation, the activation time is determined depending on the access time to the ROM and RAM and the size of the program. As the program size increases, the startup time also increases.
[0009]
In that case, it may become impossible to keep the time until the timeout error that was initially determined. Normally, if a timeout error occurs, the expansion unit function cannot be used. In addition, since the initialization is not completed, it may be considered that the printer device itself has a problem and the printer device itself cannot be used.
[0010]
In order to use such an expansion device, it is necessary to change the time until a timeout error set in the printer device. For this purpose, it is necessary to change the firmware on the printer device each time.
[0011]
On the other hand, it is conceivable to set a long time until the timeout error of the printer device in advance, but it becomes useless time for an expansion device with a fast response speed, resulting in performance degradation.
[0012]
The present invention has been made to solve the above problems, purpose of the present invention is to provide a mechanism that can determine the timeout related to the initialization of flexible expansion unit.
[0014]
[Means for Solving the Problems]
This onset Ming, a printer device comprising an interface for connecting an expansion device (corresponding to the network I /
[0026]
DETAILED DESCRIPTION OF THE INVENTION
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration of a network system to which a network interface apparatus and a printer apparatus according to the first embodiment of the present invention can be applied.
[0027]
In FIG. 1,
[0028]
An
[0029]
In the
[0030]
The
[0031]
The print information received from the LAN is once stored in the
[0032]
FIG. 2 is a diagram for explaining a communication sequence between the
[0033]
In FIG. 2, when the
[0034]
Next, when the time until the
[0035]
FIG. 3 is a flowchart showing an example of a first data processing procedure in the printer apparatus according to the present invention, and initialization based on the control procedure stored in the internal memory of the
[0036]
When the
[0037]
Then, it is determined whether or not it has been confirmed that the expansion device flag has been received (S303). If it is determined that the reception of the expansion device flag cannot be confirmed, it is determined that there is no expansion device and the processing is terminated. .
[0038]
On the other hand, if it is determined in step S303 that reception of the expansion device flag has been confirmed, when the initialization end time is received (S304), the reset time is reset to the time when the initialization timer is received (S305). When initialization end information is received (S306), the initialization timer is canceled (S307), and the process ends.
[0039]
On the other hand, when an initialization timeout occurs, an error process is performed by the timeout which is an interrupt routine (S308), and the process is terminated.
[0040]
FIG. 4 is a flowchart showing an example of a first data processing procedure in the network interface device according to the present invention, and corresponds to the communication processing procedure executed by the
[0041]
When the
[0042]
Next, a preset initialization end time is transmitted (S402). The initialization end time depends on the size of the program read from the
[0043]
Therefore, if you use a rewritable device such as flash memory in the memory section and upgrade the function later, you can prevent timeout from occurring by changing the initialization end time setting according to the program size. I can do it. When the initialization is completed, initialization completion information is transmitted (S403), and the process ends.
[0044]
[Second Embodiment]
FIG. 5 is a flowchart showing an example of the second data processing procedure in the printer apparatus according to the present invention. The initialization is based on the control procedure stored in the internal memory of the
[0045]
Further, the difference from the processing of FIG. 3 is that a product information receiving step (S504) and a timeout time determining step (S505) are added in this embodiment.
[0046]
When the
[0047]
Then, it is determined whether or not it has been confirmed that the expansion device flag has been received (S503). If it is determined that reception of the expansion device flag cannot be confirmed, it is determined that there is no expansion device, and the processing is terminated. .
[0048]
On the other hand, if it is determined in step S503 that reception of the expansion device flag has been confirmed, product information is received from the network interface device 101 (S504), and compared with information preset in the
[0049]
When initialization completion information is received (S507), the initialization timer is canceled (S508), and the process is terminated.
[0050]
On the other hand, if an initialization timeout has occurred, error processing is performed according to the timeout that is an interrupt routine (S509), and the process ends.
[0051]
FIG. 6 is a flowchart showing an example of a second data processing procedure in the network interface device according to the present invention, and corresponds to the communication processing procedure executed by the
[0052]
When the
[0053]
Next, the
[0054]
According to the above-described embodiment, the time until the initialization timeout at the time of activation is acquired from the expansion device each time, so that it is possible to always perform a setting that is not wasteful for the expansion device. This eliminates the need to change the printer device program for version upgrades to improve the functionality of the expansion device, enabling reliable and efficient communication between the printer device and the expansion device in the future. It becomes.
[0055]
FIG. 7 is a diagram showing a data structure of product information transmitted from the expansion device shown in FIG. 1, and a product type, product code, and product name are stored as codes following a header indicating product information. Has been.
[0056]
The configuration of the data processing program that can be read by the printer device and the expansion device according to the present invention will be described below with reference to the memory maps shown in FIGS.
[0057]
FIG. 8 is a diagram for explaining a memory map of a storage medium storing various data processing programs readable by the printer apparatus according to the present invention. FIG. 9 shows various data processing readable by the expansion apparatus according to the present invention. It is a figure explaining the memory map of the storage medium which stores a program.
[0058]
Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.
[0059]
Further, data depending on various programs is also managed in the directory. In addition, a program for installing various programs in the computer, and a program for decompressing when the program to be installed is compressed may be stored.
[0060]
The functions shown in FIGS. 3, 4, 5, and 6 in this 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 an information group 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. Is.
[0061]
As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.
[0062]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0063]
As a storage medium for supplying the program code, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, EEPROM, etc. Can be used.
[0064]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0065]
Further, after the program code read from the storage medium is written to a memory provided in 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 the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0066]
【The invention's effect】
As described above, according to the present invention, it is possible to flexibly determine a timeout relating to initialization of an expansion device.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a network system to which a network interface apparatus and a printer apparatus according to a first embodiment of the present invention can be applied.
FIG. 2 is a diagram for explaining a communication sequence between the network interface device and the printer device shown in FIG. 1;
FIG. 3 is a flowchart showing an example of a first data processing procedure in the printer apparatus according to the present invention.
FIG. 4 is a flowchart showing an example of a first data processing procedure in the network interface apparatus according to the present invention.
FIG. 5 is a flowchart showing an example of a second data processing procedure in the printer apparatus according to the present invention.
FIG. 6 is a flowchart showing an example of a second data processing procedure in the network interface apparatus according to the present invention.
7 is a diagram showing a data structure of product information transmitted from the extension device shown in FIG. 1. FIG.
FIG. 8 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printer according to the present invention.
FIG. 9 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the expansion device according to the present invention.
FIG. 10 is a sequence diagram illustrating an example of a communication procedure in a network system to which a conventional network interface device and printer device can be applied.
[Explanation of symbols]
DESCRIPTION OF
Claims (12)
前記インタフェースを介して拡張装置と通信を行う通信手段と、
前記通信手段による前記拡張装置との通信から得られる情報に基づき、前記拡張装置の接続有無を判別する判別手段と、
前記判別手段により前記拡張装置が有ると判別した場合に、前記拡張装置からの初期化終了の応答がタイムアウト時間内に得られなかった時点でタイムアウトエラーを発生する発生手段と、
前記拡張装置との通信によって得られた情報に基づき、前記タイムアウト時間を可変設定する設定手段と、
を有することを特徴とするプリンタ装置。A printer device comprising an interface for connecting an expansion device for expanding the function of the printer,
Communication means for communicating with the expansion device via the interface;
Determining means for determining whether or not the extension device is connected based on information obtained from communication with the extension device by the communication means;
A generating means for generating a time-out error at the time when a response of completion of initialization from the expansion device is not obtained within a time-out time when it is determined by the determining means that the expansion device is present;
Based on the information obtained by communication with the pre-Symbol expansion device, and setting means for variably setting the timeout time,
A printer apparatus comprising:
予め設定された初期化終了時間情報を前記プリンタ装置に通知する第1の通知手段と、
所定の初期化処理を実行した後、初期化終了情報を前記プリンタ装置に通知する第2の通知手段とを備え、
前記プリンタ装置では前記第1の通知手段による通知に基づき初期化処理にかかわるタイムアウトの判定が行われることを特徴とする拡張装置。 The interface of the printer device contact is continued an expansion device for expanding the function of the printer,
A first notifying means for notifying the set initialization end time information Me pre to the printer device,
After executing a predetermined initialization process, and a second notification unit configured to notify the completion of initialization information to the printer device,
The expansion device, characterized in Rukoto determination is made of the time-out relating to the initialization process based on the notification by the first notification unit in the printer apparatus.
予め設定された製品情報を前記プリンタ装置に通知する第1の通知手段と、
所定の初期化処理を実行した後、初期化終了情報を前記プリンタ装置に通知する第2の通知手段とを備え、
前記プリンタ装置では、前記第1の通知手段による通知に基づき初期化処理にかかわるタイムアウトの判定が行われることを特徴とする拡張装置。 The interface of the printer device contact is continued an expansion device for expanding the function of the printer,
A first notifying means for notifying the set product information Me pre to the printer device,
After executing a predetermined initialization process, and a second notification unit configured to notify the completion of initialization information to the printer device,
The printer device, expansion device determines the timeout related to the initialization processing based on the notification by the first notification means and said Rukoto performed.
前記インタフェースを介して拡張装置と通信を行う通信ステップと、
前記通信ステップによる前記拡張装置との通信から得られる情報に基づき、前記拡張装置の接続有無を判別する判別ステップと、
前記判別ステップにより前記拡張装置が有ると判別した場合に、前記拡張装置からの初期化終了の応答がタイムアウト時間内に得られなかった時点でタイムアウトエラーを発生する発生ステップと、
前記拡張装置との通信によって得られた情報に基づき、前記タイムアウト時間を可変設定する設定ステップと、
を有することを特徴とする通信処理方法。A communication processing method in a printer device comprising an interface for connecting an expansion device for expanding the function of the printer,
A communication step of communicating with the expansion device via the interface;
A determination step of determining whether or not the expansion device is connected based on information obtained from communication with the expansion device in the communication step;
When the determination step determines that the expansion device is present, an occurrence step of generating a timeout error when a response of completion of initialization from the expansion device is not obtained within a timeout time;
Based on the information obtained by communication with the pre-Symbol expansion device, a setting step for variably setting the timeout time,
A communication processing method characterized by comprising:
予め設定された初期化終了時間情報を前記プリンタ装置に通知する第1の通知ステップと、
所定の初期化処理を実行した後、初期化終了情報を前記プリンタ装置に通知する第2の通知ステップとを備え、
前記プリンタ装置では前記第1の通知ステップによる通知に基づき初期化処理にかかわるタイムアウトの判定が行われることを特徴とする通信処理方法。 Interface is connected to the printer apparatus A communication processing method of expansion devices to extend the capabilities of the printer,
A first notification step of notifying the set initialization end time information Me pre to the printer device,
After executing a predetermined initialization process, and a second notification step of notifying the completion of initialization information to the printer device,
Communication processing method according to claim Rukoto determination is made of the time-out relating to the initialization process based on notification by the first notification step by the printer device.
予め設定された製品情報を前記プリンタ装置に通知する第1の通知ステップと、
所定の初期化処理を実行した後、初期化終了情報を前記プリンタ装置に通知する第2の通知ステップとを備え、
前記プリンタ装置では、前記第1の通知ステップによる通知に基づき初期化処理にかかわるタイムアウトの判定が行われることを特徴とする通信処理方法。 Interface is connected to the printer apparatus A communication processing method of expansion devices to extend the capabilities of the printer,
A first notification step of notifying the set product information Me pre to the printer device,
After executing a predetermined initialization process, and a second notification step of notifying the completion of initialization information to the printer device,
The printer device includes a communication processing method of determining the time-out relating to the initialization process based on the notification by the first notification step is characterized Rukoto performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001392120A JP3754921B2 (en) | 2001-12-25 | 2001-12-25 | Printer device, expansion device, communication processing method, computer-readable storage medium, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001392120A JP3754921B2 (en) | 2001-12-25 | 2001-12-25 | Printer device, expansion device, communication processing method, computer-readable storage medium, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003196047A JP2003196047A (en) | 2003-07-11 |
| JP3754921B2 true JP3754921B2 (en) | 2006-03-15 |
Family
ID=27599522
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001392120A Expired - Fee Related JP3754921B2 (en) | 2001-12-25 | 2001-12-25 | Printer device, expansion device, communication processing method, computer-readable storage medium, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3754921B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4324011B2 (en) * | 2004-05-19 | 2009-09-02 | キヤノン株式会社 | Data processing apparatus, image processing apparatus, information notification method thereof, and program |
| JP5493615B2 (en) * | 2009-09-10 | 2014-05-14 | 株式会社リコー | Printing system, printing apparatus, and program |
-
2001
- 2001-12-25 JP JP2001392120A patent/JP3754921B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003196047A (en) | 2003-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100799385B1 (en) | Data processor, data processing method and recording medium | |
| KR100476767B1 (en) | Printer and control method thereof | |
| JP2004310775A (en) | Portable operating system and method for loading the same | |
| JP5204579B2 (en) | Device, information processing system, and information processing method | |
| US9313355B2 (en) | Activation processing of information processing apparatus, method of controlling the same, and storage medium | |
| JP3684685B2 (en) | Bidirectional communication recognition method, bidirectional communication recognition device, and storage medium | |
| TW200401537A (en) | Network accessing system for computer and method of controlling the same | |
| JP2010028278A (en) | Image forming system, image forming apparatus, control method for image forming apparatus, information processing apparatus, control method and control program for information processing apparatus, and storage medium | |
| JP3754921B2 (en) | Printer device, expansion device, communication processing method, computer-readable storage medium, and program | |
| JP5310757B2 (en) | Image forming apparatus and update method | |
| JP3655597B2 (en) | Electronic device, electronic card, and card identification method | |
| JP4324048B2 (en) | Data processing apparatus, communication processing method, and computer program | |
| EP1936924A1 (en) | Method of setting up port of network printing device automatically and network printing device thereof | |
| US8472058B2 (en) | Image processing device, image processing method, and program | |
| JP2001101126A (en) | Method and system for data communication between devices | |
| US7827332B2 (en) | Portable storage medium | |
| JP6450198B2 (en) | Printing apparatus and computer program | |
| JP5074680B2 (en) | Data processing apparatus, data processing method thereof, and program | |
| JP2005122224A (en) | External electronic storage medium having virtual information processing device function and virtual printing device function | |
| EP2416240B1 (en) | Terminal device | |
| JP3774703B2 (en) | Printing apparatus, control method, storage medium | |
| US7589859B2 (en) | Print apparatus, print control method, storage medium storing computer-readable program, and program | |
| JP4086380B2 (en) | Image forming apparatus, data processing method for image forming apparatus, and storage medium storing computer-readable program | |
| EP1811367A2 (en) | USB device and method of controlling storage medium included in the same | |
| JPH08328776A (en) | Information processing apparatus, printing apparatus, printing system, printer driver installation method for printing system, and printer driver startup method for printing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050207 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050308 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050509 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20051129 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20051219 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081222 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091222 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091222 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101222 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111222 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121222 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131222 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |