JPH11212813A - Unit and method for device control - Google Patents

Unit and method for device control

Info

Publication number
JPH11212813A
JPH11212813A JP10011120A JP1112098A JPH11212813A JP H11212813 A JPH11212813 A JP H11212813A JP 10011120 A JP10011120 A JP 10011120A JP 1112098 A JP1112098 A JP 1112098A JP H11212813 A JPH11212813 A JP H11212813A
Authority
JP
Japan
Prior art keywords
command
error
version
printer
control
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.)
Granted
Application number
JP10011120A
Other languages
Japanese (ja)
Other versions
JP3494277B2 (en
Inventor
Kiyoshi Mukoyama
潔 向山
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

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

Abstract

PROBLEM TO BE SOLVED: To substantially improve or correct the firmware of peripheral equipment by the best method simpler than ROM replacement. SOLUTION: A printer driver (device driver) 5 on a host computer 1 monitors error occurrence to the printer (peripheral equipment) 3 and when the number of times or frequency of error occurrence exceeds a threshold value, the printer driver changes command contents regarding the error to be issued to the same printer 3 into contents for the evasion of the error and sends them to the printer 3. For example, when an error occurs frequently at the time of postal card feeding owing to a problem of the firmware for the post card feeding of the printer 3, a paper feed command is changed into a command using the firmware for envelope feeding instead of post card feeding and the command is sent even when a form kind as a print condition is a post card.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

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

【0002】[0002]

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

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

【0004】[0004]

【発明が解決しようとする課題】一方、同じソフトウェ
アであっても、周辺機器に搭載されたROM内のファー
ムウェアについては、これを上記のような簡単な方法で
書き換えることができない。そのため、改良されたファ
ームウェアが開発されても、これを簡易にユーザに提供
することができない。特に、そのファームウェアにバグ
があったような場合、殆どそうしたバグはプリンタの機
能にとり本質的でない(例えば、特別なモードにおける
些細な不具合)にも拘わらず、それを修正するためにR
OM交換という面倒をユーザに強いなければならない。
On the other hand, even in the case of the same software, the firmware in the ROM mounted on the peripheral device cannot be rewritten by the above simple method. Therefore, even if 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 functioning of the printer (eg, minor glitches in special modes), but R
The user has to force the trouble of OM exchange.

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

【0006】[0006]

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

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

【0008】本発明のデバイス制御装置としてコンピュ
ータを動作させるためのデバイスドライバは、ディスク
型ストレージや半導体メモリなどの各種媒体を通じてコ
ンピュータにインストールすることができるが、最も効
果的な方法は、通信ネットワークを通じてコンピュータ
にロードする方法である。
A device driver for operating a computer as the device control device 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. How to load it on the computer.

【0009】[0009]

【発明の実施の形態】図1は、本発明の一実施形態の基
本的な構成を示す。
FIG. 1 shows a basic configuration 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, which can perform bidirectional communication with the printer 3. The printer 3 interprets a print command sent from a print engine 9 for actually printing an image on a sheet, a paper feed mechanism 11 for sending a sheet to the print engine 9, and a printer driver 7, and prints an image. And a controller 7 for driving 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 controller is written.
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 processing, status management, and the like. , Three kinds of programs for paper feed control, that is, a normal paper feed program 1
5A, only the envelope feed program 15B and the postcard feed program 15C are shown as an example.

【0011】プリンタドライバ5は、GUI部21とコ
マンド生成部23を有する。GUI部21は、ユーザに
GUIを提供してGUI上でのユーザの設定に従ってカ
ラー/モノクロ、用紙サイズ、用紙種類、解像度、印刷
頁などの印刷条件を決定する。コマンド生成部23は、
アプリケーションからOSを通じて渡される印刷対象の
文書データを、GUI部21の決定した印刷条件の下で
プリンタ3に印刷させるための印刷コマンドを生成し
て、この印刷コマンドをプリンタ3へ送るようOSへ渡
す。
The printer driver 5 has a GUI unit 21 and a command generation unit 23. The GUI unit 21 provides a GUI to the user and determines print conditions such as color / monochrome, paper size, paper type, resolution, and print page according to the user's settings on the GUI. The command generation unit 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 conditions determined by the GUI unit 21 is passed to the OS to send the print command 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 generating a print command, the command generating unit 23 inquires the printer 3 about the version (firmware version) of the ROM 13 and the versions of various components, and if the version is a predetermined one, a specific It has a function of changing the content of the print command to another content. This command change function can be used for the purpose of substantially improving the firmware in the printer ROM 13 or correcting a bug. For example, it is assumed 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 any problem by using the envelope feeding program 15B instead. In this case, the new printer driver 5 is provided with the ROM 1 of version "01.00".
Even if the printing condition is the postcard type, the printer 3 having a command change function for creating a command requesting envelope feeding instead of postcard feeding is provided to the printer 3 having Bugs can be eliminated. Alternatively, it is assumed that when new special printing paper released after a certain period is used, it is found 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 this case, the new printer driver 5 enables the new printing paper to be set in the GUI unit 21. When the printing condition paper type is the new paper, the existing printer 3 is A function of changing a parameter of a print command or image data can be provided so as to change the dot gain to a value suitable for the paper.
Alternatively, when a new version of the ink released after a certain period is used, the existing version of the ROM 13 is used.
Suppose that it is found that the image quality is improved by slightly changing the color conversion table in the table. In that case, the new printer driver 5 requires the existing printer 3 equipped with the new version of the ink cartridge to
A function of changing the parameters of the print command or the image data can be provided so as to obtain the same result as changing the color conversion table to one suitable for the paper.

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

【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 the printer 3 about the versions of the ROM 13 and other components (for example, the above-described ink cartridge) (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 conditions are determined according to the user's setting on the GUI (default setting if no setting is made) (s3). Thereafter, when a print execution command is input from the user, the printer driver 5 starts a command generation process. First, it is checked whether or not a predetermined cautionary 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-described example of the new printing paper, all existing ROM versions at the time of release of the printing paper are all caution versions. In the above-described example of the new ink cartridge, the combination of each of the existing ROM versions at the time of release of the new cartridge and the version of the new cartridge is the cautionary version.

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

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

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

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

【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に対して
は、葉書印刷時には封筒給紙のコマンドが送られるの
で、問題無く給紙できるようになる。
When an error occurs (S1), the printer 3
1), the contents of the error 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 also responds to the version information of the printer 3 and the error content. The counter of the number of errors performed is incremented by 1 (S15). Thereafter, the printer monitor unit 27 checks whether the number of errors or the frequency has exceeded a predetermined threshold (S16). If the number of errors or the frequency has exceeded the threshold, the printer monitor unit 27 resolves the error with version information corresponding to the error counter. The change content of the print command to be performed is registered in the command change table 25 (S1).
7). For example, if the number of postcard feeding errors is greater than or equal to the threshold value in the printer 3 with the ROM version “01.00”, as shown in FIG.
The version “01.00” and the content of the change to change the postcard feeding to the envelope feeding are registered in the change table 25. Since then
The envelope feed command is sent to the printer 3 of the ROM version "01.00" at the time of printing a postcard, so that the paper can be fed without any problem.

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

【図面の簡単な説明】[Brief description of the 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 the 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 performed 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 プリンタモニタ部 DESCRIPTION OF SYMBOLS 1 Host computer 3 Printer 5 Printer driver 7 Controller 13 ROM 15 Firmware 21 Command generation part 23 GIU part 25 Command change table 27 Printer monitor part

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 機器におけるエラーの発生をモニタする
機器モニタ手段と、 前記エラーの発生回数又は頻度が所定の閾値以上になる
と、以後、同じ機器に対する制御コマンドを作成する
際、前記エラーに関連する所定の制御コマンドの内容を
変更するコマンド変更手段と、を有するデバイス制御装
置。
An apparatus monitoring means for monitoring the occurrence of an error in a device, wherein when the number of occurrences or the frequency of the error becomes equal to or more than a predetermined threshold value, when a control command for the same device is subsequently created, the device relates to the error. A device control device comprising: a command change unit that changes the content of a predetermined control command.
【請求項2】 前記機器に対して、前記機器が持つ部品
のバージョンを問い合わせるバージョン問い合わせ手段
を更に有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更手段は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に機能する請求項1記載のデバイス制御装置。
2. The apparatus according to claim 1, further comprising version inquiry means for inquiring the device about a version of a component included in the device, and version information returned from the device in which the number of times or frequency of occurrence of the error is equal to or greater than a predetermined threshold. 2. The device control device according to claim 1, wherein the command change unit functions when the version information returned from the device to be controlled includes the caution version. 3.
【請求項3】 前記部品が、ファームウェアが書き込ま
れたROMを含む請求項1記載のデバイス制御装置。
3. The device control device according to claim 1, wherein the component includes a ROM in which firmware is written.
【請求項4】 前記所定の制御コマンドが、前記機器に
搭載された複数のファームウェアの内の第1のファーム
ウェアを実行することを要求するコマンドであり、前記
コマンド変更手段が前記所定の制御コマンドを、前記複
数のファームウェアの内の前記第1のファームウェアと
代替性のある第2のファームウェアの実行を要求するコ
マンドに変更する請求項1記載のデバイス制御装置。
4. The method according to claim 1, wherein the predetermined control command is a command requesting execution of a first firmware among a plurality of firmware mounted on the device. 2. The device control device according to claim 1, wherein the command is changed to a command requesting execution of a second firmware having a substitute for the first firmware among the plurality of firmwares.
【請求項5】 前記コマンド変更手段が、前記所定の制
御コマンドのパラメータ又はデータを変更する請求項1
記載のデバイス制御手段。
5. The command change unit changes parameters or data of the predetermined control command.
Device control means as described.
【請求項6】 前記所定の制御コマンドが、前記機器に
対し所定の第1の条件で動作することを要求するコマン
ドであり、前記コマンド変更手段が前記所定の制御コマ
ンドを、前記第1の条件と代替性のある第2の条件で動
作することを前記機器に要求するコマンドに変更する請
求項1記載のデバイス制御装置。
6. The predetermined control command is a command for requesting the device to operate under a predetermined first condition, and the command changing means changes the predetermined control command to the first condition. 2. The device control device according to claim 1, wherein a command requesting the device to operate under a second condition having an alternative to the device is changed.
【請求項7】 機器と、この機器を制御するデバイス制
御装置とを備え、 前記デバイス制御装置が、 機器におけるエラーの発生をモニタする機器モニタ手段
と、 前記エラーの発生回数又は頻度が所定の閾値以上になる
と、以後、同じ機器に対する制御コマンドを作成する
際、前記エラーに関連する所定の制御コマンドの内容を
変更するコマンド変更手段と、を有するシステム。
7. An apparatus, comprising: a device; and a device control device for controlling the device, wherein the device control device monitors an occurrence of an error in the device; and a predetermined threshold value for the number or frequency of occurrence of the error. In the above, when a control command for the same device is created thereafter, a command change unit that changes the content of the predetermined control command related to the error.
【請求項8】 前記デバイス制御装置が、前記機器に対
して、前記機器が持つ部品のバージョンを問い合わせる
バージョン問い合わせ手段を更に有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更手段は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に機能する請求項7記載のシステム。
8. The device, wherein the device control apparatus further includes a version inquiry unit for inquiring the device about a version of a component of the device, wherein the number of times of occurrence or the frequency of the error is equal to or more than a predetermined threshold. 8. The system according to claim 7, wherein the version information returned from the device is stored as a cautionary version, and the command change unit functions when the version information returned from the device to be controlled includes the cautionary version.
【請求項9】 前記機器がプリンタであり、このプリン
タに接続されたホストコンピュータを備え、このホスト
コンピュータが前記デバイス制御装置として機能する請
求項7記載のシステム。システム。
9. The system according to claim 7, wherein the device is a printer, and a host computer connected to the printer is provided, and the host computer functions as the device control device. system.
【請求項10】 機器におけるエラーの発生をモニタす
る機器モニタ手段と、 前記エラーの発生回数又は頻度が所定の閾値以上になる
と、以後、同じ機器に対する制御コマンドを作成する
際、前記エラーに関連する所定の制御コマンドの内容を
変更するコマンド変更手段と、を有するデバイス制御装
置として、コンピュータを機能させるためのデバイスド
ライバプログラムを担持したコンピュータ読み取り可能
な記録媒体。
10. A device monitoring means for monitoring the occurrence of an error in a device, wherein when the number of times or frequency of occurrence of the error becomes equal to or greater than a predetermined threshold value, when a control command for the same device is subsequently created, the device is associated with the error. A computer readable recording medium carrying a device driver program for causing a computer to function as a device control device having command change means for changing the content of a predetermined control command.
【請求項11】 前記デバイス制御装置が、前記機器に
対して、前記機器が持つ部品のバージョンを問い合わせ
るバージョン問い合わせ手段を更に有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更手段は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に機能する請求項10記載の記録媒体。
11. The device, wherein the device control device further includes a version inquiry unit for inquiring the device about a version of a component of the device, wherein the number of times or frequency of occurrence of the error is equal to or more than a predetermined threshold value. 11. The recording medium according to claim 10, wherein the version information returned from the server is stored as a cautionary version, and wherein the command change unit functions when the version information returned from the device to be controlled includes the cautionary version.
【請求項12】 機器におけるエラーの発生をモニタす
る機器モニタ過程と、 前記機器に対する制御コマンドを作成する過程と、 前記エラーの発生回数又は頻度が所定の閾値以上になる
と、同じ機器に対する制御コマンドを作成する際、前記
エラーに関連する所定の制御コマンドの内容を変更する
コマンド変更過程と、 作成した前記コマンドを前記機器に送る過程とを有する
デバイス制御方法。
12. A device monitoring step of monitoring the occurrence of an error in a device; a step of creating a control command for the device; and a control command for the same device when the frequency or frequency of occurrence of the error exceeds a predetermined threshold. A device control method, comprising: a command changing step of changing the content of a predetermined control command related to the error when creating the command; and sending the created command to the device.
【請求項13】 前記機器に対して、前記機器が持つ部
品のバージョンを問い合わせる過程を更に有し、 前記エラーの発生回数又は頻度が所定の閾値以上になっ
た機器から回答されたバージョン情報は注意バージョン
として保存され、 前記コマンド変更過程は、制御しようとする機器から回
答されたバージョン情報が前記注意バージョンを含んで
いる場合に行われる請求項12記載のデバイス制御方
法。
13. The apparatus further comprising a step of inquiring of the device about a version of a component of the device, wherein the version information returned from the device in which the number of times of occurrence or the frequency of the error is equal to or more than a predetermined threshold value is cautionary. 13. The device control method according to claim 12, wherein the command change process is stored as a version, and the command change process is performed when version information returned from a device to be controlled includes the cautionary version.
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 true JPH11212813A (en) 1999-08-06
JP3494277B2 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007052666A (en) * 2005-08-18 2007-03-01 Fuji Xerox Co Ltd Image processing apparatus
JP2020185744A (en) * 2019-05-16 2020-11-19 セイコーエプソン株式会社 Information processing device, printing device, learning device and information processing method
JP2021018562A (en) * 2019-07-19 2021-02-15 セイコーエプソン株式会社 Method for controlling information processing apparatus, program, and communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007052666A (en) * 2005-08-18 2007-03-01 Fuji Xerox Co Ltd Image processing apparatus
JP2020185744A (en) * 2019-05-16 2020-11-19 セイコーエプソン株式会社 Information processing device, printing device, learning device and information processing method
JP2021018562A (en) * 2019-07-19 2021-02-15 セイコーエプソン株式会社 Method for controlling information processing apparatus, program, and communication system

Also Published As

Publication number Publication date
JP3494277B2 (en) 2004-02-09

Similar Documents

Publication Publication Date Title
EP2673700B1 (en) Network system, interface board, method of controlling printing on an network system, and program
US6666594B2 (en) Method and system for web based printer error information
JP4486014B2 (en) Image forming apparatus and image forming apparatus setting method
US8780388B2 (en) Printing apparatus, server, printing system, control method for printing apparatus, and storage medium storing control program therefor
US20070206210A1 (en) Image forming apparatus, information processing apparatus, printing system, and image forming method
KR100530235B1 (en) Common driver device and method
US8400650B2 (en) Network printer and network printing method of restricting host from using network printer
JP2008040899A (en) Printing controller, program, and method
JPH10129083A (en) Printer, printer communication system, and printer controlling method
US20200349048A1 (en) Information processing apparatus, method of controlling the same, information processing system and storage medium
US20070171467A1 (en) Authenticated printing apparatus and method and authenticated printing system
US20050256869A1 (en) Log information management device, log information generation device, and computer-readable medium storing log information management program therein
JP2006031677A (en) Print control device, printer, print network system, print control method, print control program and recording medium which records print control program
US20060132842A1 (en) Image processing apparatus, method and computer program for selectively processing images
US20180321888A1 (en) Non-transitory computer-readable storage medium, client computer, and print method
JP2011086144A (en) Image processing system, network relay apparatus, and image processing apparatus
JP2009220560A (en) Printing apparatus and information processor
JP4844298B2 (en) How to manage devices connected to the network
JPH11212813A (en) Unit and method for device control
JP2007087404A (en) Network technology for troubleshooting of equipment
JP4068705B2 (en) Device control apparatus and method
JP7187334B2 (en) PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, CONTROL SYSTEM, AND PROGRAM
JP4140956B2 (en) Print information processing apparatus, print system, print information processing method, print program, and storage medium storing print program
JP2006099609A (en) System and method for monitoring device, and network connection apparatus
US20090180137A1 (en) Device setting system, device setting method, and computer-readable recording medium saving device setting 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