JP3494277B2 - Device control apparatus and method - Google Patents

Device control apparatus and method

Info

Publication number
JP3494277B2
JP3494277B2 JP01112098A JP1112098A JP3494277B2 JP 3494277 B2 JP3494277 B2 JP 3494277B2 JP 01112098 A JP01112098 A JP 01112098A JP 1112098 A JP1112098 A JP 1112098A JP 3494277 B2 JP3494277 B2 JP 3494277B2
Authority
JP
Japan
Prior art keywords
command
version
error
control
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.)
Expired - Lifetime
Application number
JP01112098A
Other languages
Japanese (ja)
Other versions
JPH11212813A (en
Inventor
潔 向山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP01112098A priority Critical patent/JP3494277B2/en
Publication of JPH11212813A publication Critical patent/JPH11212813A/en
Application granted granted Critical
Publication of JP3494277B2 publication Critical patent/JP3494277B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Retry When Errors Occur (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の技術分野】本発明は、コンピュータ周辺機器を
制御するための装置及び方法に関する。
TECHNICAL FIELD OF THE INVENTION The present invention relates to apparatus and methods for controlling computer peripherals.

【0002】[0002]

【従来の技術】ホストコンピュータにプリンタやスキャ
ナなどの周辺機器を接続した一般的なコンピュータシス
テムでは、個々の周辺機器特有のデバイスドライバやデ
バイスモニタなどと呼ばれるプログラムがホストコンピ
ュータに搭載され、これらのプログラムを実行すること
によりホストコンピュータはそれぞれの周辺機器を制御
したりその状態をモニタしたりすることができる(以
下、本明細書では、この種のプログラムを「デバイスド
ライバ」と総称し、それを実行するコンピュータ又はそ
れと同等の機能を発揮するハードウェアを「デバイス制
御装置」とよぶ)。
2. Description of the Related Art In a general computer system in which a peripheral device such as a printer or a scanner is connected to a host computer, a program called device driver or device monitor peculiar to each peripheral device is installed in the host computer, and these programs are installed. By executing the above, the host computer can control each peripheral device and monitor its state (hereinafter, this type of program is generically referred to as “device driver” and executed). A computer or hardware that exhibits equivalent functions is called a "device control device").

【0003】ところで、近年の通信ネットワークの発達
により、ホストコンピュータ上で作動するソフトウェア
の改版は、通信回線を通じてのファイル転送により非常
に容易に行えるようになった。デバイスドライバもその
例外ではなく、よって、初期版のデバイスドライバを改
良したりバグを修正したりした後期版のデバイスドライ
バは、周辺機器メーカ側のサーバから例えばインターネ
ットなどを通じてユーザへと配布されている。
By the way, with the recent development of communication networks, revision of software operating on a host computer has become very easy by file transfer via a communication line. Device drivers are no exception, so late-stage device drivers that improve the initial version of the device driver or fix bugs are distributed to users from the server of the peripheral device manufacturer, for example, via the Internet. .

【0004】[0004]

【発明が解決しようとする課題】一方、同じソフトウェ
アであっても、周辺機器に搭載されたROM内のファー
ムウェアについては、これを上記のような簡単な方法で
書き換えることができない。そのため、改良されたファ
ームウェアが開発されても、これを簡易にユーザに提供
することができない。特に、そのファームウェアにバグ
があったような場合、殆どそうしたバグはプリンタの機
能にとり本質的でない(例えば、特別なモードにおける
些細な不具合)にも拘わらず、それを修正するためにR
OM交換という面倒をユーザに強いなければならない。
On the other hand, even with the same software, the firmware in the ROM mounted on the peripheral device cannot be rewritten by the simple method as described above. Therefore, even if the improved firmware is developed, it cannot be easily provided to the user. In particular, if there is a bug in the firmware, most of those bugs are not essential to the function of the printer (for example, a minor bug in a special mode), but it is necessary to fix it in order to fix it.
The user must be forced to take the trouble of OM exchange.

【0005】従って、本発明の目的は、周辺機器のファ
ームウェアを、ROM交換より簡易な次善の方法で、実
質的に改良又は修正できるようにすることにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to allow peripheral firmware to be substantially improved or modified in a suboptimal manner which is simpler than ROM replacement.

【0006】[0006]

【課題を解決するための手段】本発明のデバイス制御装
置は、機器におけるエラーの発生をモニタし、そのエラ
ーの発生回数又は頻度が所定の閾値以上になると、以
後、同じ機器に対する制御コマンドを作成する際には、
そのエラーに関連する所定の制御コマンドの内容を変更
する機能をもつ。例えば、機器のROMに書かれている
或るファームウェアにバグがあった場合、そのバグが原
因でエラーが生じれば、そのエラー回数又は頻度が閾値
以上になった時点以後、その同じ機器に対する当該ファ
ームウェアを使用するコマンド内容は、そのエラーを回
避するような内容(例えば当該ファームウェアと代替性
のある別のファームウェアを使用するような別のコマン
ド)に変更される。或いは、例えば、その機器の交換部
品を新しいバージョンのものに替えた後、特定のエラー
が頻発したとすると、そのエラー回数又は頻度が閾値に
達した時点以降、そのエラーに関連するコマンド内容
は、そのエラーを回避するような内容に変更される(例
えば、コマンドのパラメータやデータを修正する)。こ
のようにして、本発明は機器のROMを変更することな
く、デバイス制御装置側のコマンドの変更で、実質的に
ファームウェアのバグや不具合を解消することができ
る。
The device control apparatus of the present invention monitors the occurrence of an error in a device, and when the number of occurrences or the frequency of the error exceeds a predetermined threshold value, subsequently creates a control command for the same device. When you do
It has a function of changing the content of a predetermined control command related to the error. For example, if there is a bug in a certain firmware written in the ROM of a device, and if an error occurs due to the bug, after the time when the number of errors or the frequency becomes equal to or greater than the threshold, the same device for the same device will be affected. The command content that uses the firmware is changed to content that avoids the error (for example, another command that uses another firmware that is alternative to the firmware). Or, for example, if a specific error occurs frequently after replacing the replacement part of the device with a new version, after the time when the error frequency or frequency reaches a threshold value, the command content related to the error is The contents are changed so as to avoid the error (for example, the command parameters and data are corrected). In this way, the present invention can substantially eliminate firmware bugs and problems by changing the command on the device control device side without changing the ROM of the device.

【0007】デバイス制御装置は、望ましくは、機器に
対して、その機器が持つ部品のバージョンを問い合わせ
る機能を更に有し、制御対象の機器のバージョン情報が
エラー回数又は頻度が閾値に達した機器のそれと同じで
あるときのみ、コマンド変更を行うように構成すること
ができる。これにより、例えば、バグのある古いバージ
ョンのROMをもった機器に対してはコマンド変更を行
い、バグの解消された新しいバージョンのROMをもつ
機器に対してはコマンド変更を行わないといったこと
が、自動的に行える。
Preferably, the device control apparatus further has a function of inquiring the device about the version of the part of the device, and the version information of the device to be controlled has the error frequency or frequency of the device reaching a threshold value. It can be configured to make a command change only when it is the same. As a result, for example, the command is changed for a device having a buggy old version of ROM, and the command is not changed for a device having a new version of ROM whose bug is resolved. It can be done automatically.

【0008】本発明のデバイス制御装置としてコンピュ
ータを動作させるためのデバイスドライバは、ディスク
型ストレージや半導体メモリなどの各種媒体を通じてコ
ンピュータにインストールすることができるが、最も効
果的な方法は、通信ネットワークを通じてコンピュータ
にロードする方法である。
The device driver for operating the computer as the device control apparatus of the present invention can be installed in the computer through various media such as a disk type storage and a semiconductor memory. The most effective method is through a communication network. It is a method of loading on a computer.

【0009】[0009]

【発明の実施の形態】図1は、本発明の一実施形態の基
本的な構成を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the basic structure of an embodiment of the present invention.

【0010】ホストコンピュータ1にプリンタ3が接続
されている。ホストコンピュータ1はプリンタドライバ
5を有し、このプリンタドライバ5はプリンタ3と双方
向通信を行うことができる。プリンタ3は、用紙上へイ
メージを実際に印刷するための印刷エンジン9、用紙を
印刷エンジン9へ送るための給紙機構11、及びプリン
タドライバ7から送られてくる印刷コマンドを解釈して
印刷イメージを生成しそして印刷エンジン9及び給紙機
構11を駆動するコントローラ7を有している。コント
ローラ9は、マイクロコンピュータであって、それを動
作させるためのファームウェアが書き込まれているRO
M13を有している。ROM13内のファームウェアに
は、コントローラ7が行う各種の処理、例えば、コマン
ド解釈、イメージレンダリング、ハーフトーニング、給
紙制御、エラー処理、ステータス管理等のための多くの
プログラムが含まれるが、図1では、給紙制御用の3種
類のプログラム、すなわち、ノーマル給紙プログラム1
5A、封筒給紙プログラム15B及び葉書給紙プログラ
ム15Cだけが例示的に示されている。
A printer 3 is connected to the host computer 1. The host computer 1 has a printer driver 5, and this printer driver 5 can perform bidirectional communication with the printer 3. The printer 3 interprets the print command sent from the print engine 9 for actually printing the image on the paper, the paper feed mechanism 11 for sending the paper to the print engine 9, and the print driver 9 and the print image. And a controller 7 that drives the print engine 9 and the paper feed mechanism 11. The controller 9 is a microcomputer, and an RO in which firmware for operating the microcomputer is written.
It has M13. The firmware in the ROM 13 includes many programs for various processes performed by the controller 7, for example, command interpretation, image rendering, halftoning, paper feed control, error handling, status management, etc. , Three types of programs for paper feed control, that is, normal paper feed program 1
Only 5A, envelope feeding program 15B and postcard feeding program 15C are shown by way of example.

【0011】プリンタドライバ5は、GUI部21とコ
マンド生成部23を有する。GUI部21は、ユーザに
GUIを提供してGUI上でのユーザの設定に従ってカ
ラー/モノクロ、用紙サイズ、用紙種類、解像度、印刷
頁などの印刷条件を決定する。コマンド生成部23は、
アプリケーションからOSを通じて渡される印刷対象の
文書データを、GUI部21の決定した印刷条件の下で
プリンタ3に印刷させるための印刷コマンドを生成し
て、この印刷コマンドをプリンタ3へ送るようOSへ渡
す。
The printer driver 5 has a GUI section 21 and a command generation section 23. The GUI unit 21 provides a GUI to the user and determines printing conditions such as color / monochrome, paper size, paper type, resolution, and print page according to the user's setting on the GUI. The command generator 23
A print command for causing the printer 3 to print the document data to be printed passed from the application through the OS under the printing condition determined by the GUI unit 21 is passed to the OS so that the print command is sent to the printer 3. .

【0012】印刷コマンドを生成する際、コマンド生成
部23は、プリンタ3に対しROM13のバージョン
(ファームウェアのバーション)や各種部品などのバー
ジョンを問い合わせ、そのバージョンが所定のものであ
る場合、特定の印刷コマンドの内容を別の内容に変更す
る機能を有している。このコマンド変更機能は、プリン
タROM13内のファームウェアの実質的な改良又はバ
グの修正の目的で用いることができる。例えば、特定バ
ージョン「01.00」のROM13内の葉書給紙プロ
グラム15Cにバグが発見されたが、代わりに封筒給紙
プログラム15Bを使うと葉書給紙も問題無く行えるこ
とが分かったとする。この場合、その後の新しいプリン
タドライバ5に、バージョン「01.00」のROM1
3を持つプリンタ3に対しては、印刷条件の用紙種類が
葉書であっても、葉書給紙でなく封筒給紙を要求するコ
マンドを作成するようなコマンド変更機能を持たせるこ
とにより、実質的にバグを解消することができる。或い
は、ある時期以降に発売される新しい特別の印刷用紙を
使用した場合、既存のバージョンのROM13内のプロ
グラムに従うインクドットゲインを若干変更した方が画
質が良くなることが分かったとする。その場合、新しい
プリンタドライバ5では、GUI部21にその新しい印
刷用紙を設定できるようにすると共に、印刷条件の用紙
種類がその新しい用紙であるときは、既存のバージョン
のプリンタ3に対しては、ドットゲインをその用紙に合
ったものに変更するよう、印刷コマンドのパラメータ又
は画像データを変更する機能を持たせることができる。
或いは、ある時期以降に発売される新しいバージョンの
インクを使用した場合、既存のバージョンのROM13
内の色変換テーブルを若干変更した方が画質が良くなる
ことが分かったとする。その場合、新しいプリンタドラ
イバ5では、その新しいバージョンのインクカートリッ
ジを搭載した既存バージョンのプリンタ3に対しては、
色変換テーブルをその用紙に合ったものに変更したと同
様な結果が得られるよう、印刷コマンドのパラメータ又
は画像データを変更する機能を持たせることができる。
When the print command is generated, the command generation unit 23 inquires of the printer 3 about the version (firmware version) of the ROM 13 and the version of various parts. If the version is a predetermined one, a specific command is issued. It has a function of changing the content of the print command to another content. This command changing function can be used for the purpose of substantially improving the firmware in the printer ROM 13 or correcting a bug. For example, assume that a bug is found in the postcard feeding program 15C in the ROM 13 of the specific version "01.00", but it is found that the postcard feeding can be performed without problems by using the envelope feeding program 15B instead. In this case, the ROM1 of the version "01.00" is added to the new printer driver 5 thereafter.
Even if the paper type of the printing condition is a postcard, the printer 3 having 3 has a command changing function that creates a command requesting envelope feeding instead of postcard feeding. Can fix bugs. Alternatively, when a new special printing paper released after a certain period is used, it is understood that the image quality is improved by slightly changing the ink dot gain according to the program in the ROM 13 of the existing version. In that case, the new printer driver 5 allows the GUI unit 21 to set the new printing paper, and when the paper type of the printing condition is the new paper, the new printing paper is added to the existing version of the printer 3. It is possible to provide a function of changing the parameters of the print command or the image data so as to change the dot gain to one suitable for the paper.
Or, if a new version of ink released after a certain period is used, the existing version of ROM 13
Suppose that it is found that the image quality is improved by slightly changing the color conversion table. In that case, with the new printer driver 5, for the existing version of the printer 3 equipped with the new version of the ink cartridge,
A function for changing the parameters of the print command or the image data can be provided so that the same result as when the color conversion table is changed to one suitable for the paper is obtained.

【0013】図2は、印刷を行うときのプリンタドライ
バ5とプリンタ3(コントローラ7)の処理流れを示
す。
FIG. 2 shows a processing flow of the printer driver 5 and the printer 3 (controller 7) when printing is performed.

【0014】プリンタドライバ5はまずプリンタ3に対
してROM13やその他の部品(例えば上述したインク
カートリッジなど)のバージョンを問い合わせる(ステ
ップS1)。プリンタ3からバージョンの回答が来ると
(S8)と、プリンタドライバ5は、そのバージョン情
報を記憶する(S2)。次に、プリンタドライバ5は、
ユーザのGUI上での設定に従って(特に設定が無けれ
ばデフォルト設定の)印刷条件を決定する(s3)。そ
の後、ユーザから印刷実行指令が入ると、プリンタドラ
イバ5はコマンド生成処理に入る。まず、プリンタ3か
ら取得したバージョン情報の中に所定の注意バージョン
が含まれていないか否かチェックする。例えば、上述し
た葉書給紙のバグの例では、ROM13のバージョン
「01.00」が注意バージョンである。また、上述し
た新しい印刷用紙の例では、その印刷用紙の発売時点で
の既存のROMバージョンは全て注意バージョンであ
る。また、上述した新しいインクカートリッジの例で
は、その新しいカートリッジの発売時点での既存の全て
のROMバージョンの各々とその新しいカートリッジの
バージョンとの組み合わせが注意バージョンである。
The printer driver 5 first inquires of the printer 3 about the versions of the ROM 13 and other parts (for example, the ink cartridge described above) (step S1). When a version response is received from the printer 3 (S8), the printer driver 5 stores the version information (S2). Next, the printer driver 5
The printing condition is determined according to the setting on the GUI of the user (default setting if there is no particular setting) (s3). After that, when a print execution command is input from the user, the printer driver 5 starts command generation processing. First, it is checked whether or not a predetermined caution version is included in the version information acquired from the printer 3. For example, in the example of the postcard feeding bug described above, the version “01.00” of the ROM 13 is the caution version. Further, in the above-mentioned example of the new printing paper, all the existing ROM versions at the time of release of the printing paper are caution versions. Further, in the example of the new ink cartridge described above, the combination of each of all the existing ROM versions at the time of the release of the new cartridge and the version of the new cartridge is the caution version.

【0015】このような注意バージョンがバージョン情
報内に無ければ、プリンタドライバ5は、決定された印
刷条件にそのまま従って通常に印刷コマンドを作成して
(S5)、それをプリンタ3へ送る(S7)。一方、バ
ージョン情報内に注意バージョンが含まれていた場合に
は、その注意バージョンに対応したコマンド変更機能を
用いて、所定のコマンドの内容を所定の代替内容に変更
する(S6)。例えば、上述した例では、ROM13の
バージョン「01.00」であった場合、葉書給紙のコ
マンドを封筒給紙のコマンドに変更したり、ROMバー
ジョンが新しい印刷用紙の発売時点での既存バージョン
であった場合、ドットゲインを変更するように、関連す
るコマンドのパラメータ又は画像データを変更したり、
或いは、ROMバージョンが新しいインクカートリッジ
発売時点での既存バージョンで且つカートリッジのバー
ジョンがその新しいバージョンである場合、色変換テー
ブルを実質的に変更するように、関連するコマンドのパ
ラメータ又は画像データを変更したりする。このコマン
ド変更の方法には、幾通りもの方法が採用できる。例え
ば、通常の印刷コマンド作成アルゴリズムでコマンドを
作成した上でそれを変更してもよいし、或いは、葉書給
紙のバグの場合のように印刷条件を読み替えれば済むも
のでは、印刷条件を読み替えた上で通常の印刷コマンド
作成アルゴリズムを実行してもよいし、或いは、通常の
印刷コマンド作成アルゴリズムからは独立した別の変更
コマンド作成アルゴリスムを実行してもよい。こうし
て、変更された印刷コマンドを作成した後、これをプリ
ンタ3へ送る(S7)。
If such a caution version is not included in the version information, the printer driver 5 normally creates a print command according to the determined printing conditions (S5) and sends it to the printer 3 (S7). . On the other hand, if the caution information is included in the version information, the command changing function corresponding to the caution version is used to change the content of the predetermined command to the predetermined alternative content (S6). For example, in the above-mentioned example, when the version of the ROM 13 is “01.00”, the postcard feeding command is changed to the envelope feeding command, or the ROM version is the existing version at the time of release of the new printing paper. If so, change the parameter of the related command or image data to change the dot gain,
Alternatively, if the ROM version is the existing version at the time of the release of the new ink cartridge and the version of the cartridge is the new version, the parameter of the related command or the image data is changed so as to substantially change the color conversion table. Or Various methods can be adopted as the method of changing the command. For example, you may create a command with a normal print command creation algorithm and then change it, or if you just need to replace the print conditions as in the case of a postcard feeding bug, replace the print conditions. Then, the normal print command creation algorithm may be executed, or another change command creation algorithm independent of the normal print command creation algorithm may be executed. In this way, after the changed print command is created, it is sent to the printer 3 (S7).

【0016】プリンタ3は、プリンタドライバ5からの
印刷コマンドを解釈して印刷を実行する(S9)。変更
された印刷コマンドの場合、それに従ってプリンタ3が
動作するので、例えば、葉書印刷の時でもバグのある葉
書給紙プログラム15Cに代えて封筒給紙プログラム1
5Bを用いたり、新しい用紙にはドットゲインを若干変
更したり、というようにプリンタ3が動作するので所望
の印刷結果が得られる。
The printer 3 interprets the print command from the printer driver 5 and executes printing (S9). In the case of the changed print command, the printer 3 operates in accordance with the changed print command. Therefore, for example, even in the case of postcard printing, instead of the postcard feeding program 15C having a bug, the envelope feeding program 1
5B is used, the dot gain is slightly changed for a new paper, and the printer 3 operates so that a desired print result can be obtained.

【0017】図3は、プリンタドライバ5がもつプリン
タモニタ機能のための構成を示す。
FIG. 3 shows a configuration for the printer monitor function of the printer driver 5.

【0018】この機能は、プリンタ3側に例えばファー
ムウェアのバグなどの原因で特定のエラーが頻発する場
合に、プリンタドライバ5がその事実を学習してエラー
を解消する方向に印刷コマンドを自動変更するためのも
のである。すなわち、プリンタドライバ5は、図1に示
した機能に加えて、更にプリンタモニタ部27とコマン
ド変更表25を有している。コマンド変更表25には、
図4に例示するように、前述した注意バージョンと、そ
れに対応するコマンドの変更内容とが記載されており、
これをコマンド生成部23が参照することにより、上述
したコマンド変更機能を発揮できるようになっている。
プリンタモニタ部17は、例えば常駐型のプログラムで
あって、プリンタ3の状態を随時にモニタすることがで
き、その一つの機能としてプリンタ3のエラー監視機能
を有している。そして、プリンタモニタ部17は、エラ
ー監視機能によってプリンタ3の印刷中に発生したエラ
ーを検出する度に、プリンタ3のバージョン情報に対応
させて各エラー内容毎の発生回数をカウントし、発生回
数(又は発生頻度)が所定のしきい値を超えた場合に
は、そのエラーを解消する方向へ印刷コマンドを変更す
るようなコマンド変更内容をコマンド変更表25に書き
加える(又は、書き換える)表更新機能を有している。
With this function, when a specific error frequently occurs on the printer 3 side due to, for example, a bug in the firmware, the printer driver 5 learns the fact and automatically changes the print command in the direction of eliminating the error. It is for. That is, the printer driver 5 has a printer monitor unit 27 and a command change table 25 in addition to the functions shown in FIG. In the command change table 25,
As illustrated in FIG. 4, the above-mentioned caution version and the contents of change of the corresponding command are described.
By referring to this, the command generating unit 23 can exhibit the above-mentioned command changing function.
The printer monitor unit 17 is, for example, a resident program, which can monitor the status of the printer 3 at any time, and has an error monitoring function of the printer 3 as one of its functions. Then, the printer monitor unit 17 counts the number of occurrences of each error content in correspondence with the version information of the printer 3 every time an error that occurs during printing of the printer 3 is detected by the error monitoring function, and the number of occurrences ( (Or frequency of occurrence) exceeds a predetermined threshold value, the table update function adds (or rewrites) command change contents to the command change table 25 so as to change the print command in the direction of eliminating the error. have.

【0019】図5は、プリンタモニタ部27とプリンタ
3(コントローラ7)の印刷実行時(図2のステップS
9)のエラー監視に関わる処理流れを示す。
FIG. 5 shows the print execution of the printer monitor 27 and the printer 3 (controller 7) (step S in FIG. 2).
9 shows the processing flow related to error monitoring in 9).

【0020】プリンタ3は、エラーが発生すると(S1
1)、そのエラー内容をプリンタドライバ5に通知し
(S12)、そして所定のエラー処理(例えば印刷停止
など)に入る(S13)。プリンタドライバ5のプリン
タモニタ部27は、プリンタ3からエラー通知を受ける
と、そのエラー内容に対応するエラーメッセージをユー
ザに提示し(S14)、また、プリンタ3のバージョン
情報とそのエラー内容とに対応したエラー回数のカウン
タを1だけ増加させる(S15)。その後、プリンタモ
ニタ部27は、そのエラー回数又は頻度が所定の閾値以
上になったかチェックし(S16)、閾値以上になった
場合は、そのエラー回数カウンタに対応するバージョン
情報と、そのエラーを解消するための印刷コマンドの変
更内容とを、コマンド変更表25に登録する(S1
7)。例えば、ROMバージョン「01.00」のプリ
ンタ3で葉書給紙のエラー回数が閾値以上になったなら
ば、図4に示すように、注意バージョンとしてのROM
バージョン「01.00」と、葉書給紙を封筒給紙に変
更する旨の変更内容とを変更表25に登録する。以後、
ROMバージョン「01.00」のプリンタ3に対して
は、葉書印刷時には封筒給紙のコマンドが送られるの
で、問題無く給紙できるようになる。
The printer 3 receives an error (S1
1) The error contents are notified to the printer driver 5 (S12), and a predetermined error process (for example, printing stop) is started (S13). Upon receiving the error notification from the printer 3, the printer monitor unit 27 of the printer driver 5 presents an error message corresponding to the error content to the user (S14), and responds to the version information of the printer 3 and the error content. The counter of the number of errors is incremented by 1 (S15). After that, the printer monitor unit 27 checks whether the number of errors or the frequency is equal to or more than a predetermined threshold value (S16), and if the number of errors is more than the threshold value, the version information corresponding to the error number counter and the error are resolved. The change contents of the print command for performing the registration are registered in the command change table 25 (S1
7). For example, if the number of postcard feeding errors in the printer 3 with the ROM version “01.00” exceeds the threshold, the ROM as the caution version is displayed as shown in FIG.
The version “01.00” and the change content for changing the postcard paper feed to the envelope paper feed are registered in the change table 25. After that,
Since the envelope sheet feeding command is sent to the printer 3 of the ROM version “01.00” during postcard printing, the sheet can be fed without any problem.

【0021】本発明は上記実施形態以外の様々な形態で
も実施することができる。例えば、プリンタだけでな
く、イメージスキャナやディスクドライブなど様々な周
辺機器にも本発明は適用できる。
The present invention can be implemented in various forms other than the above embodiment. For example, the present invention can be applied not only to printers but also to various peripheral devices such as image scanners and disk drives.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態の基本構成を示すブロック
図。
FIG. 1 is a block diagram showing a basic configuration of an embodiment of the present invention.

【図2】印刷を行うときのプリンタドライバ5とプリン
タ3(コントローラ7)の処理流れを示すフローチャー
ト。
FIG. 2 is a flowchart showing a processing flow of a printer driver 5 and a printer 3 (controller 7) when performing printing.

【図3】プリンタドライバ5がもつプリンタモニタ機能
のための構成を示すブロック図。
FIG. 3 is a block diagram showing a configuration for a printer monitor function of a printer driver 5.

【図4】コマンド変更表を例示する図。FIG. 4 is a diagram illustrating a command change table.

【図5】プリンタモニタ部27とプリンタ3(コントロ
ーラ7)の印刷実行時(図2のステップS9)のエラー
監視に関わる処理流れを示すフローチャート。
FIG. 5 is a flowchart showing a processing flow relating to error monitoring when printing is executed by the printer monitor unit 27 and the printer 3 (controller 7) (step S9 in FIG. 2).

【符号の説明】[Explanation of symbols]

1 ホストコンピュータ 3 プリンタ 5 プリンタドライバ 7 コントローラ 13 ROM 15 ファームウェア 21 コマンド生成部 23 GIU部 25 コマンド変更表 27 プリンタモニタ部 1 Host computer 3 printers 5 Printer driver 7 controller 13 ROM 15 Firmware 21 Command generator 23 GIU Department 25 Command change table 27 Printer monitor

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/00 G06F 11/14 G06F 11/28 - 11/34 G06F 9/06 G06F 13/00 JSTPLUSファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 11/00 G06F 11/14 G06F 11/28-11/34 G06F 9/06 G06F 13/00 JSTPLUS file ( JOIS)

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 機器におけるエラーの発生をモニタする
機器モニタ手段と、前記エラーの発生回数又は頻度が所
定の閾値以上になると、以後、同じ機器に対する制御コ
マンドを作成する際、前記エラーに関連する所定の制御
コマンドの内容を変更するコマンド変更手段と、 前記機器に対して、前記機器が持つ部品のバージョンを
問い合わせるバージョン問い合わせ手段とを有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更手段は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に機能するデバイス制御装置。
1. Monitoring the occurrence of an error in a device
The device monitor means and the number or frequency of the errors
When the threshold value is exceeded, the control command for the same device will be used.
Predetermined control related to the above error when creating a command
A device that has a command changing unit that changes the content of the command and a version inquiry unit that inquires the device about the version of the component of the device, and the number of times or frequency of the error is equal to or greater than a predetermined threshold value. version information responded stored as noted version, the command change means function to Lud vice control device when the version information is responded from the device to be controlled contains the care version.
【請求項2】 前記部品が、ファームウェアが書き込ま
れたROMを含む請求項記載のデバイス制御装置。
Wherein said component is the device control device according to claim 1, further comprising a firmware is written ROM.
【請求項3】 前記所定の制御コマンドが、前記機器に
搭載された複数のファームウェアの内の第1のファーム
ウェアを実行することを要求するコマンドであり、前記
コマンド変更手段が前記所定の制御コマンドを、前記複
数のファームウェアの内の前記第1のファームウェアと
代替性のある第2のファームウェアの実行を要求するコ
マンドに変更する請求項1記載のデバイス制御装置。
3. The predetermined control command is a command for requesting execution of a first firmware of a plurality of firmwares installed in the device, and the command changing unit changes the predetermined control command. 2. The device control apparatus according to claim 1, wherein the command is changed to a command requesting execution of second firmware that is alternative to the first firmware of the plurality of firmware.
【請求項4】 前記コマンド変更手段が、前記所定の制
御コマンドのパラメータ又はデータを変更する請求項1
記載のデバイス制御手段。
4. The command changing means changes parameters or data of the predetermined control command.
Device control means described.
【請求項5】 前記所定の制御コマンドが、前記機器に
対し所定の第1の条件で動作することを要求するコマン
ドであり、前記コマンド変更手段が前記所定の制御コマ
ンドを、前記第1の条件と代替性のある第2の条件で動
作することを前記機器に要求するコマンドに変更する請
求項1記載のデバイス制御装置。
5. The predetermined control command is a command requesting the device to operate under a predetermined first condition, and the command changing unit changes the predetermined control command to the first condition. 2. The device control apparatus according to claim 1, wherein the device control apparatus changes to a command that requests the device to operate under a second condition that is substitutable.
【請求項6】前記機器はプリンタであり、かつ、前記所
定の制御コマンドは印刷コマンドであり、さらに、前記
コマンド変更手段が、前記印刷コマンドの印刷条件を変
更する請求項1記載のデバイス制御手段。
6. The device is a printer, and the device is a printer.
The constant control command is a print command.
Command changing means changes the printing conditions of the print command.
The device control means according to claim 1, further comprising:
【請求項7】 機器と、この機器を制御するデバイス制
御装置とを備え、 前記デバイス制御装置が、 機器におけるエラーの発生をモニタする機器モニタ手段
と、 前記エラーの発生回数又は頻度が所定の閾値以上になる
と、以後、同じ機器に対する制御コマンドを作成する
際、前記エラーに関連する所定の制御コマンドの内容を
変更するコマンド変更手段と、 前記機器に対して、前記機器が持つ部品のバージョンを
問い合わせるバージョン問い合わせ手段とを有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更手段は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に機能するシステム。
7. A device and a device control for controlling this device.
And a control device, the device control apparatus, device monitoring means for monitoring occurrence of an error in the equipment
And the number of occurrences or the frequency of the error becomes equal to or greater than a predetermined threshold value.
And then create a control command for the same device.
At this time, the content of the predetermined control command related to the error is
It has command changing means for changing and version inquiring means for inquiring the device about the versions of the parts of the device, and the number of times or frequency of occurrence of the error is returned from the device which is equal to or more than a predetermined threshold value. version information is stored as noted version, the command change means Resid stem to function if the version information answered from the equipment to be controlled contains the care version.
【請求項8】 前記機器がプリンタであり、このプリン
タに接続されたホストコンピュータを備え、このホスト
コンピュータが前記デバイス制御装置として機能する請
求項記載のシステム
Wherein said device is a printer, comprising a connected host computer to the printer system of claim 7, wherein the host computer functions as the device controller.
【請求項9】 機器におけるエラーの発生をモニタする
機器モニタ手段と、前記エラーの発生回数又は頻度が所
定の閾値以上になると、以後、同じ機器に対する制御コ
マンドを作成する際、前記エラーに関連する所定の制御
コマンドの内容を変更するコマンド変更手段と、 前記機器に対して、前記機器が持つ部品のバージョンを
問い合わせるバージョン問い合わせ手段とを有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更手段は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に機能するデバイス制御装置として、コンピュ
ータを機能させるためのデバイスドライバプログラムを
担持したコンピュータ読み取り可能な記録媒体。
9. Monitoring occurrence of an error in a device
The device monitor means and the number or frequency of the errors
When the threshold value is exceeded, the control command for the same device will be used.
Predetermined control related to the above error when creating a command
A device that has a command changing unit that changes the content of the command and a version inquiry unit that inquires the device about the version of the component of the device, and the number or frequency of occurrence of the error is equal to or greater than a predetermined threshold value. The version information replied from is stored as a caution version, and the command changing unit is a device controller that functions when the version information replied from the device to be controlled includes the caution version.
Device driver program for operating the
A computer-readable recording medium carried .
【請求項10】機器におけるエラーの発生をモニタする
機器モニタ過程と、 前記機器に対する制御コマンドを作成する過程と、前記機器に対して、前記機器が持つ部品のバージョンを
問い合わせる過程と、 前記エラーの発生回数又は頻度が所定の閾値以上になる
と、同じ機器に対する制御コマンドを作成する際、前記
エラーに関連する所定の制御コマンドの内容を変更する
コマンド変更過程と、 作成した前記コマンドを前記機器に送る過程とを有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更過程は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に行われる デバイス制御方法。
10. A device monitoring process for monitoring the occurrence of an error in a device, a process for creating a control command for the device, and a version of a part of the device for the device.
A process of inquiring and a command changing process of changing the content of a predetermined control command related to the error when creating a control command for the same device when the number or frequency of occurrence of the error exceeds a predetermined threshold value. possess a step of sending the command to the device, the number of occurrences or frequency of the errors becomes equal to or larger than a predetermined threshold value
The version information returned from the device
The command change process is saved from the device to be controlled.
The version information returned includes the caution version
Device control method that is performed when there is .
JP01112098A 1998-01-23 1998-01-23 Device control apparatus and method Expired - Lifetime JP3494277B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01112098A JP3494277B2 (en) 1998-01-23 1998-01-23 Device control apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01112098A JP3494277B2 (en) 1998-01-23 1998-01-23 Device control apparatus and method

Publications (2)

Publication Number Publication Date
JPH11212813A JPH11212813A (en) 1999-08-06
JP3494277B2 true JP3494277B2 (en) 2004-02-09

Family

ID=11769162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01112098A Expired - Lifetime JP3494277B2 (en) 1998-01-23 1998-01-23 Device control apparatus and method

Country Status (1)

Country Link
JP (1) JP3494277B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4802607B2 (en) * 2005-08-18 2011-10-26 富士ゼロックス株式会社 Image processing device
JP7047812B2 (en) * 2019-05-16 2022-04-05 セイコーエプソン株式会社 Information processing equipment, printing equipment, learning equipment and information processing methods
JP7287161B2 (en) * 2019-07-19 2023-06-06 セイコーエプソン株式会社 Information processing device control method, program, and communication system

Also Published As

Publication number Publication date
JPH11212813A (en) 1999-08-06

Similar Documents

Publication Publication Date Title
JP4486014B2 (en) Image forming apparatus and image forming apparatus setting method
US7421712B2 (en) Driverless printing
JP3068650B2 (en) Virtual printer
US7227656B1 (en) Management device and method of print system for updating software programs installed in the print system
US8780388B2 (en) Printing apparatus, server, printing system, control method for printing apparatus, and storage medium storing control program therefor
US8804172B2 (en) Non-transitory computer readable recording medium stored with printer driver updating program and printer driver updating method
US20070206210A1 (en) Image forming apparatus, information processing apparatus, printing system, and image forming method
JP2008040899A (en) Printing controller, program, and method
US8400650B2 (en) Network printer and network printing method of restricting host from using network printer
US7461069B2 (en) Log information management device, log information generation device, and computer-readable medium storing log information management program therein
US8345284B2 (en) Information processing system, information processing device, and computer-readable record medium storing information processing program
JP4834970B2 (en) Information processing apparatus and information processing system using the same
US20060066900A1 (en) Device monitor system, network connection apparatus, and device monitor method
JP2011170412A (en) Network print system, device and method for managing output, program and recording medium
JP3494277B2 (en) Device control apparatus and method
US7187459B2 (en) Printing system in which programs required for printer operation are downloaded from computer
US20190087142A1 (en) System and method for applying printer access policies to page description languages
JP6256417B2 (en) PRINT CONTROL DEVICE, PROGRAM, AND PRINT SYSTEM
US20040090648A1 (en) Systems and methods for controlling imaging device configuration
JP3618045B2 (en) Medium storing printer driver program and printer system
JP4068705B2 (en) Device control apparatus and method
JP4140956B2 (en) Print information processing apparatus, print system, print information processing method, print program, and storage medium storing print program
US20120191827A1 (en) Apparatus management device, apparatus configuration method, and storage medium
JP7187334B2 (en) PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, CONTROL SYSTEM, AND PROGRAM
JP6647257B2 (en) Printing apparatus, control method thereof, and program

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091121

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091121

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101121

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101121

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131121

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term