JP2004206229A - Oa equipment driver program, installer program, storage medium, installer system, installation method, oa equipment control device, and oa equipment control method - Google Patents

Oa equipment driver program, installer program, storage medium, installer system, installation method, oa equipment control device, and oa equipment control method Download PDF

Info

Publication number
JP2004206229A
JP2004206229A JP2002371908A JP2002371908A JP2004206229A JP 2004206229 A JP2004206229 A JP 2004206229A JP 2002371908 A JP2002371908 A JP 2002371908A JP 2002371908 A JP2002371908 A JP 2002371908A JP 2004206229 A JP2004206229 A JP 2004206229A
Authority
JP
Japan
Prior art keywords
program
connection destination
installation
installer
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002371908A
Other languages
Japanese (ja)
Inventor
Yuichi Niwa
雄一 丹羽
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002371908A priority Critical patent/JP2004206229A/en
Publication of JP2004206229A publication Critical patent/JP2004206229A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the installation of an improper driver and to prevent an improper control to OA equipment. <P>SOLUTION: When a PC 10 is made to function as a control means for controlling a printer 30, connection destination information for designating the printer 30 to be controlled is acquired. When this information is acquired, it is determined whether the printer 30 connected to the connection destination designated by the information is matched to the control by this control means or not, and when the mismatching is determined, the control of the printer 30 is not performed. When a program for performing such a processing is installed to the PC 10, a device matched to the program to be installed and laid in a state controllable from the PC 10 is retrieved prior to the installation, and when the absence of the device that is the object of retrieval is recognized, the installation may be stopped. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
この発明は、コンピュータをOA機器を制御する制御手段として機能させるためのOA機器ドライバプログラム、コンピュータをこのようなOA機器ドライバプログラムをインストールするインストーラ装置として機能させるためのインストーラプログラム、このようなインストーラプログラム及びそのインストーラプログラムによってインストールする上記のOA機器ドライバプログラムを記録した記録媒体に関する。さらに、上記のインストールを行うためのインストーラ装置及びインストール方法と、上記のOA機器の制御を行うためのOA機器制御装置及びOA機器制御方法にも関する。
【0002】
【従来の技術】
従来から、プリンタ,スキャナ,ファクシミリ装置,画像蓄積装置、さらには複写機やデジタル複合機等の画像処理装置を始めとする各種OA機器を、ホストコンピュータ等によるOA機器制御装置を用いて制御することが行われている。このようなOA機器制御装置は、OA機器と一体の場合も別体の場合もあるが、例えば、制御対象のOA機器と接続されたパーソナルコンピュータ(PC)にOA機器ドライバプログラムを実行させることによってこれをOA機器制御装置として用いることが、広く行われている。
この場合、PCにOA機器ドライバプログラムをインストールする必要があるが、このインストールは、そのPCにインストーラプログラムを実行させ、自身にOA機器ドライバプログラムをインストールするインストーラ装置として機能させることによって行うことができる。また、近年においては、インターネットやローカルエリアネットワーク(LAN)等を介してサーバ装置にアクセスし、このサーバ装置から適当なOA機器ドライバプログラムのインストールを受けることも行われるようになってきている。
【0003】
このようなOA機器ドライバプログラムのインストールに関連する技術として、例えば特許文献1には、インストールを行う際にメディアに記録されているドライバとインターネット等を経由して取得可能なドライバとのバージョンや更新日付を比較し、入手可能な最新のドライバをインストールする方式が記載されている。
また、特許文献2には、固有のOA機器名称や識別子やバージョンをWWWサーバに通知することにより、そのOA機器がカスタマイズされている場合でも適切なドライバをWWWサーバからダウンロードしてインストールすることができる方式が記載されている。
【0004】
【特許文献1】
特開2002−304298号公報
【特許文献2】
特開2002−297326号公報
【0005】
【発明が解決しようとする課題】
しかしながら、特許文献1に記載の方式では、インストールしようとしたドライバがインストール先の装置に接続された機器に適合するか否かはチェックしないという問題があった。また、特許文献2に記載の方式では、ネットワークに接続されていない環境ではドライバをインストールできないという問題があり、また多数のドライバの中から適当なドライバを自動的に選択するものであるので、この発明に係る方式とは全く異なるものである。
さらに、いずれの方式においても、ユーザが不適切なドライバを手動でインストールしようとしたり、その不適切なドライバを用いてOA機器を制御しようとしたりすることは防ぐことはできないという問題があった。特に、後者の場合、例えばプリンタであれば文字化け等につながり、紙資源やネットワーク資源の浪費を引き起こすことになる。
この発明は、このような問題を解決し、不適切なドライバをインストールすることを防止し、またOA機器に対する不適切な制御を防止することを目的とする。
【0006】
【課題を解決するための手段】
上記の目的を達成するため、この発明のOA機器ドライバプログラムは、コンピュータをOA機器を制御する制御手段として機能させるためのOA機器ドライバプログラムにおいて、上記コンピュータを、制御対象とするOA機器を指定する接続先情報を取得する接続先情報取得手段と、その手段が上記接続先情報を取得した場合、その情報によって指定された接続先に接続されているOA機器がそのOA機器ドライバプログラムによる制御に適合しているか否かを判定する適合判定手段と、その手段が適合していないと判定した場合には上記OA機器の制御を行わない制御中止手段として機能させるためのプログラムを含むようにしたものである。
【0007】
このようなOA機器ドライバプログラムにおいて、上記適合判定手段の機能を、そのOA機器ドライバプログラムが最初に実行された場合のみ上記判定を行う機能とするとよい。
あるいは、上記コンピュータを、そのコンピュータについての設定情報を管理するサーバから上記適合判定手段による判定を行う時期を定める判定時期設定情報を取得する手段として機能させるためのプログラムをさらに含め、上記適合判定手段の機能を、上記判定時期設定情報によって定められる時期にのみ上記判定を行う機能とするとよい。
【0008】
これらのOA機器ドライバプログラムにおいて、上記コンピュータを、上記接続先情報取得手段が上記接続先情報を取得できなかった場合にそのOA機器ドライバプログラムによる制御に適合しているOA機器を探索する探索手段として機能させるためのプログラムをさらに含めるとよい。
あるいは、上記コンピュータを、上記適合判定手段が適合していないと判定した場合にそのOA機器ドライバプログラムによる制御に適合しているOA機器を探索する探索手段として機能させるためのプログラムをさらに含めるとよい。
あるいはまた、上記コンピュータを、そのOA機器ドライバプログラムの起動時に自身のアドレス情報を記憶する手段と、そのアドレス情報が前回起動時のアドレス情報と異なる場合にそのOA機器ドライバプログラムによる制御に適合しているOA機器を探索する探索手段として機能させるためのプログラムをさらに含めるとよい。
【0009】
これらのOA機器ドライバプログラムにおいて、上記コンピュータを、上記探索手段がそのOA機器ドライバプログラムによる制御に適合しているOA機器を発見した場合に、そのOA機器の接続先を上記接続先情報として設定する接続先設定手段として機能させるためのプログラムをさらに含めるとよい。
このようなOA機器ドライバプログラムであって、上記コンピュータを、上記接続先設定手段が上記接続先情報を設定する場合にその要否の選択を受け付け、その選択に従って上記接続先設定手段の動作を制御する手段として機能させるためのプログラムをさらに含めるとよい。
【0010】
また、この発明のインストーラプログラムは、コンピュータを、これらのOA機器ドライバプログラムをインストールするインストーラ装置として機能させるためのインストーラプログラムであって、上記コンピュータを、指定された情報端末に指定されたOA機器ドライバプログラムをインストールするインストール手段と、その手段によるインストール前に、上記指定されたOA機器ドライバプログラムに適合し、かつ上記指定された情報端末から制御可能な状態の装置を検索する装置検索手段と、その手段が検索対象の装置は存在しないと認識した場合に上記インストール手段によるインストールを中止するインストール中止手段として機能させるためのプログラムを含むようにしたものである。
【0011】
このようなインストーラプログラムにおいて、上記コンピュータを、上記インストール手段がインストールを行う場合に、インストール対象のOA機器ドライバプログラムについての上記接続先情報として、上記装置検索手段が発見した装置の接続先情報を登録する接続先情報登録手段として機能させるためのプログラムをさらに含めるとよい。
さらに、上記接続先情報登録手段が、上記装置検索手段が複数の装置を発見した場合にそのいずれか1つの選択を受け付け、選択された装置の接続先情報のみを登録する機能を有するようにするとよい。
【0012】
また、上記のインストーラプログラムにおいて、上記コンピュータを、上記接続先情報登録手段が上記接続先情報を登録する場合にその要否の選択を受け付け、その選択に従って上記接続先情報登録手段の動作を制御する手段として機能させるためのプログラムをさらに含めるとよい。
また、上記のインストーラプログラムにおいて、上記コンピュータを、上記インストール中止手段が上記インストールを中止する場合にその要否の選択を受け付け、その選択に従って上記インストール中止手段の動作を制御する手段として機能させるためのプログラムをさらに含めるとよい。
【0013】
さらに、上記コンピュータを、上記装置検索手段による検索を行う範囲の指定を受け付ける手段として機能させるためのプログラムを含め、上記装置検索手段の機能を、その手段が受け付けた範囲のみを対象に上記検索を行う機能とするとよい。
さらにまた、上記コンピュータを、上記OA機器ドライバプログラムのインストール先となる上記情報端末がそのプログラムによって上記適合判定手段として機能する場合にその手段が上記判定を行う時期を指定する手段として機能させるためのプログラムも含めるとよい。
【0014】
また、この発明の記録媒体は、上記のインストーラプログラム及びそのインストーラプログラムによってインストールする上記の1又は複数のOA機器ドライバプログラムを記録したコンピュータ読み取り可能な記録媒体である。
【0015】
また、この発明のインストーラ装置は、上記のOA機器ドライバプログラムをインストールするインストーラ装置において、指定された情報端末に指定されたOA機器ドライバプログラムをインストールするインストール手段と、その手段によるインストール前に、上記指定されたOA機器ドライバに適合し、かつ上記指定された情報端末から制御可能な状態の装置を検索する装置検索手段と、その手段が検索対象の装置は存在しないと認識した場合に上記インストール手段によるインストールを中止するインストール中止手段とを設けたものである。
このようなインストーラ装置において、上記インストール手段がインストールを行う場合に、インストール対象のOA機器ドライバプログラムについての上記接続先情報として、上記装置検索手段が発見した装置の接続先情報を登録する接続先情報登録手段を設けるとよい。
さらに、上記インストール中止手段が上記インストールを中止する場合にその要否の選択を受け付け、その選択に従って上記インストール中止手段の動作を制御する手段を設けるとよい。
【0016】
また、この発明のインストール方法は、上記のOA機器ドライバプログラムをインストールするインストール方法であって、指定された情報端末に指定されたOA機器ドライバプログラムをインストールし、そのインストール前に、上記指定されたOA機器ドライバに適合し且つ上記指定された情報端末から制御可能な状態の装置を検索し、検索対象の装置が存在しなかった場合に上記インストールを中止するものである。
このようなインストール方法において、上記インストールを行う場合に、インストール対象のOA機器ドライバプログラムについての上記接続先情報として、上記検索において発見した装置の接続先情報を登録するようにするとよい。
さらに、上記インストール中止の要否の選択を受け付け、その選択に従って上記インストールを中止するか否かを決定するようにするとよい。
【0017】
また、この発明のOA機器制御装置は、OA機器を制御する制御手段を有するOA機器制御装置において、制御対象とするOA機器を指定する接続先情報を取得する接続先情報取得手段と、その手段が上記接続先情報を取得した場合、その情報によって指定された接続先に接続されているOA機器がそのOA機器ドライバ装置による制御に適合しているか否か判定する適合判定手段と、その手段が適合していないと判定した場合には上記OA機器の制御を行わない制御中止手段とを設けたものである。
このようなOA機器制御装置において、上記適合判定手段を、そのOA機器ドライバプログラムが最初に実行された場合のみ上記判定を行う手段とするとよい。
【0018】
また、この発明のOA機器制御方法は、制御対象とするOA機器を指定する接続先情報を取得する接続先情報取得手順と、その手順で上記接続先情報を取得した場合、その情報によって指定された接続先に接続されているOA機器がそのOA機器ドライバ装置による制御に適合しているか否か判定する適合判定手順と、その手順で適合していないと判定した場合には上記OA機器の制御を行わない制御中止手順とを有するものである。
このようなOA機器制御方法において、上記適合判定手順を、そのOA機器ドライバプログラムが最初に実行された場合のみ上記判定を行う手順とするとよい。
【0019】
【発明の実施の形態】
以下、この発明の好ましい実施の形態を図面を参照して説明する。
〔この発明の実施に用いるハードウェアの構成例:図1〕
まず、この発明のOA機器ドライバプログラムの実施形態であるプリンタドライバ及びインストーラプログラムの実施形態であるプリンタドライバインストーラを実行させるコンピュータの構成及びそのコンピュータを用いて構成したプリントシステムの構成について説明する。図1は、そのプリントシステムの構成を模式的に示す図である。
【0020】
このプリントシステムは、図1に示すように、情報端末であるPC10及び、プリンタ30a〜30d(総称する場合には「30」の符号を用いる)によって構成される。これらのPC10やプリンタ30は、ハードウェア構成としては従来のものを用いることができる。すなわち、PC10はCPU,ROM,RAM,ハードディスクドライブ(HDD)等を備え、プリンタ30はCPU,ROM,RAM,画像形成部等を備えている。また、PC10はフレキシブルディスク(FD)ドライブ21とCD−ROMドライブ22とを備え、フレキシブルディスクやCD−ROM等の記録媒体に記録されたプログラムを読み出して実行することができる。
【0021】
このPC10とプリンタ30とは種々のインタフェース(I/F)を介して接続することができる。図1に示した例では、直接通信(ローカル)ポートであるパラレルI/F14とUSB(ユニバーサルシリアルバス)I/F15にそれぞれプリンタ30a,30bが接続され、ネットワークI/F16にはローカルエリアネットワーク(LAN)40を介してプリンタ30c,30dが接続されている。また、PC10はLAN40からインターネット50を介してワールドワイドウェブ(WWW)サーバ60とも通信可能である。ローカルポートして、これ以外にIEEE(Institute of Electrical and Electronic Engineers)1284I/FやRS−232CI/Fを設けてもよい。
【0022】
また、PC10は種々のアプリケーションソフト11a,11b(総称する場合には「11」の符号を用いる)をHDDあるいはROMに記憶しており、ユーザはこれらを実行することによって種々の文書を作成することができる。さらに、HDDあるいはROMに設けたスプーラ12中にプリンタドライバ13a,13b(総称する場合には「13」の符号を用いる)を始めとする種々のデバイスドライバを備えており、CPUにこれらのドライバプログラムを実行させることにより、種々の装置を制御する制御装置として機能させることができる。
特に、プリンタドライバ13を実行させることによって、OA機器であるプリンタ30を制御して印刷動作を行わせるOA機器制御装置として機能させることができる。この場合、例えばアプリケーションソフト11で作成した文書を印刷させる場合には、アプリケーションソフト11が描画コマンドをプリンタドライバ13に送り、プリンタドライバ13がこの描画コマンドをプリンタ30が解釈できるプリンタ制御言語(PDL)に変換し、このPDLによるデータをプリンタ30に送ることにより、プリンタ30に印刷を実行させることができる。そして、PDLの種類はプリンタの機種によって異なることが多いため、印刷を実行させるプリンタに適合したプリンタドライバを用いることが必要となる。
【0023】
ところで、プリンタドライバ13は、初めからPC10に記憶させておく場合もあるが、通常は必要に応じてPC10にインストールすることになる。そして、このインストールは、PC10のCPUにプリンタドライバインストーラを実行させることによってPC10を自身にプリンタドライバをインストールするためのインストーラ装置として機能させて行ったり、外部のインストーラ装置(例えばWWWサーバ60)に行わせたりすることができる。
【0024】
〔インストーラの実施形態:図2,図3〕
次に、この発明のインストーラプログラムの実施形態であるプリンタドライバインストーラについて説明する。
図2はこのプログラムがコンピュータに実行させる処理を示すフローチャート、図3は図2に示したプリンタ検索処理の内容を示すフローチャートである。
このプリンタドライバインストーラ(以下単に「インストーラ」ともいう)は、パーソナルコンピュータ(PC)等のコンピュータに、以下の各手順からなる処理を実行させ、インストーラ装置として機能させるためのインストーラプログラムである。なおここでは、図1に示したPC10によって自身にこの発明のOA機器ドライバプログラムであるプリンタドライバ(以下単に「ドライバ」ともいう)をインストールさせる動作を例にとって、このプログラムによって実行させる処理について説明する。
【0025】
このインストーラが起動されると、PC10のCPU(以下、特に断らない限り、単に「CPU」といった場合にはこのCPUを指すものとする)は、図2のフローチャートに示すこの発明のインストール方法に係る動作を開始し、まずステップS1でインストールするドライバ及びインストール先の選択を受け付ける。ドライバについては、通常は、インストーラはインストール対象のドライバとセットで取り扱われるので、そのドライバの中から選択を受け付けることになる。なお、インストール対象のドライバが1つしかない場合にはこのステップはもちろん省略してよい。また、インストール先については、ドライバを格納する位置(フォルダ名等)の選択を受け付ける。自身とは別の情報端末へのインストールも可能とする場合には、情報端末の選択も受け付けるものとする。
【0026】
次のステップS2では、図3に示すプリンタ検索処理を行う。
この処理においては、まず図3のステップS11でPC10がネットワーク(ここではLAN40)に接続されているか否か判断する。そして、接続されていればステップS12に進んでネットワークにプリンタのモデル名を問い合わせるブロードキャストを送出し、ステップS13でプリンタからの応答を収集してインストール対象のドライバに適合するプリンタを抽出する。ここで、ドライバは自身が適合するプリンタの情報をそのヘッダ等に保持しているため、これを参照することによりどのプリンタがドライバに適合するかを認識することができる。ここでは、モデル名の情報をもとに認識するものとするが、適合するプリンタの情報が所定の機能や性状等の組み合わせで表現されている場合には、ステップS12でプリンタに問い合わせる情報を、それらの機能や性状等の有無にすればよい。
【0027】
ステップS13の後は、ステップS14に進む。また、ステップS11で接続されていなかった場合には、そのままステップS14に進む。
ステップS14では、PC10の直接通信ポートに装置が接続されているか否か判断する。接続されていれば、ステップS15で直接通信ポートにモデル名を問い合わせるコマンドを送出し、ステップS16でプリンタからの応答を収集してインストール対象のドライバに適合するプリンタを抽出する。複数の直接通信ポートに装置が接続されている場合には、ステップS15及びS16の処理は、その全ての直接通信ポートに対して行う。ドライバに適合するプリンタの認識については、ステップS13の場合と同様である。
ステップS16の後は、ステップS17に進む。また、ステップS14で接続されていなかった場合には、そのままステップS17に進む。
【0028】
ステップS17においては、ここまでの処理でドライバに適合するプリンタを複数発見したか否か判断する。そして、複数であればステップS18に進み、ユーザからのいずれか1つのプリンタの選択を受け付ける。そして、インストール時に、ここで選択を受け付けたプリンタをドライバを起動した場合のデフォルト接続先として設定することになる。この選択を受け付けると、プリンタ検索処理を終了し、元の処理に戻る。ステップS17で複数でなければ、すなわち発見したプリンタの数が0か1であれば、そのままプリンタ検索処理を終了し、元の処理に戻る。
以上のプリンタ検索処理において、CPUは装置検索手段として機能する。なお、この処理において、プリンタの検索を行う範囲の指定を受け付け、その指定された範囲のみを対象にプリンタの検索を行うようにしてもよい。この設定は、例えばネットワークとローカルの別、接続I/F毎、IPアドレスの範囲等によって行うことができる。
【0029】
図2の説明に戻る。
ステップS2のプリンタ検索処理が終了すると、ステップS3に進み、プリンタ検索処理においてドライバに適合するプリンタが発見されたか否か判断する。されていれば、ステップS4に進んでインストール対象のドライバについての適合性未チェックフラグをOFFに設定し、ステップS7でドライバをステップS1で選択されたインストール先にインストールする。このステップS7の処理において、CPUはインストール手段として機能する。なお、適合性未チェックフラグの内容は、ドライバの起動時に参照されるドライバの設定情報として記録するものとする。
【0030】
次のステップS8では、ドライバの制御対象とするプリンタを指定するデフォルトの接続先情報として、プリンタ検索処理において発見された、ドライバに適合するプリンタについての接続先情報を登録する。なお、適合するプリンタが複数発見された場合には、図3のステップS18で選択されたプリンタについての接続先情報を登録する。また、この登録は、上記のドライバの設定情報を書き換えることによって行うことができる。また、適合するプリンタが発見されなかった場合には、当然登録は行わない。このステップS8の処理において、CPUは接続先情報登録手段として機能する。
なお、ステップS8で接続先情報を登録する場合に、その要否の選択を受け付け、その選択に従って登録の有無を決定するようにしてもよい。
以上のステップS8までで、インストールの処理を終了する。
【0031】
一方、ステップS3で適合プリンタが発見できなかったと判断した場合には、インストールを中止し、ステップS5に進む。ここでは、CPUがインストール中止手段として機能する。
そして、ステップS5で、強制インストールの要否、すなわちインストール中止の要否の選択を受け付ける。そして、強制インストール(中止不要)が指示されれば、ステップS6に進んでインストール対象のドライバについての適合性未チェックフラグをONに設定し、ステップS7に進んでインストールを行う。この場合のインストールは、強制インストールとなり、適合するプリンタが発見できていないので、ステップS8での接続先情報の登録は行われない。
また、ステップS5で強制インストールが不要である旨の選択を受け付けた場合には、そのままインストールを中止して処理を終了する。
【0032】
以上のような処理を行うことにより、ドライバに適合するプリンタが存在しない場合にはインストールを中止するので、ユーザが不適切なドライバをインストールしようとした場合でも、これを防止することができる。この場合において、中止の有無の選択を受け付けるようにすれば、その時点でプリンタは接続されていないが後に接続予定である場合等に、ドライバのみ予めインストールしておくこともできる。この場合でも、後述するようにドライバによって適合プリンタ検索処理を行うので、誤って不適切なプリンタでプリントしてしまうことはない。
【0033】
また、自動的にインストール対象のドライバに適合するプリンタを検索してそのプリンタついての接続先情報を登録するので、ユーザがこのような設定を行う手間を省き、操作性を向上させると共に、誤って適合しないプリンタを接続先として登録してしまうことを防止できる。このとき、検索の結果複数のプリンタが発見された場合にはそのうちユーザが選択した1つのプリンタについての接続先情報を登録するので、ユーザが適合するプリンタの中から最も使い勝手のよいプリンタを選択して接続先として登録することもできる。
さらに、接続先情報の登録の要否の選択を受け付けるようにすれば、特定の接続先を登録せず、必要に応じてプリンタを選択してプリントするという要求にも対応することができる。この場合でも、後述するようにドライバによって適合プリンタ検索処理を行うので、誤って不適切なプリンタでプリントしてしまうことはない。また、検索の範囲を指定できるようにすれば、プリントした用紙を取りに行くのが面倒な遠方のプリンタ等を接続先として登録してしまうことを防止できる。
【0034】
〔ドライバの実施形態:図4,図5〕
次に、この発明のOA機器ドライバプログラムの実施形態であるプリンタドライバについて説明する。
図4はこのプログラムがコンピュータに実行させる処理を示すフローチャート、図5は図4に示した第2のプリンタ検索処理を示すフローチャートである。
このドライバは、PC等のコンピュータに、以下の各手順からなる処理を実行させ、OA機器制御装置として機能させるためのOA機器ドライバプログラムである。なおここでは、図1に示したPC10によってプリンタ30を制御してプリント動作を行わせる場合を例にとって、このプログラムによって実行させる処理について説明する。
【0035】
このドライバは、アプリケーションソフト11(あるいはユーザ)がこのドライバ(あるいはこのドライバのデフォルトの接続先として設定されているプリンタ)を用いてプリントを行うことを指示した場合に起動される。そして、このドライバが起動されると、PC10のCPUは、図4のフローチャートに示すこの発明のOA機器制御方法に係る動作を開始し、まずステップS21で自身のアドレス情報としてPC10のグローバルアドレスを取得して記憶する。この記憶領域は、ドライバの設定データ中等に設けるとよい。
【0036】
そして、ステップS22でそのグローバルアドレスが前回起動時から変化したか否か判断する。変化していなければ、PC10は前回起動時から移設されていないと判断し、ステップS23に進んでデフォルトの接続先が設定されているか否か、すなわちドライバの制御対象とするプリンタを指定する接続先情報が記憶されているか否か判断する。この際には、この接続情報の取得を試み、このステップS23の処理が接続先情報取得手順の処理であり、この処理において、CPUは接続先情報取得手段として機能する。
【0037】
ステップS23でデフォルトの接続先があれば、ステップS24に進んで、ドライバの設定情報中の適合性未チェックフラグがONであるか否か判断する。そして、ONであれば、まだ接続先のプリンタについてドライバとの適合性がチェックされていないと判断し、ステップS25に進み、ステップS23で取得した接続先情報で指定される接続先のプリンタから機種名等の情報を取得し、そのプリンタが実行中のドライバによる制御に適合したものであるか否かを判断する。この判断は、既に説明した図3のステップS13の場合と同様に行うことができる。このステップS25の処理が適合判定手順の処理であり、この処理において、CPUは適合判定手段として機能する。
そして、適合していればステップS26に進んで適合性未チェックフラグをOFFに設定し、ステップS27で接続先のプリンタを制御してプリントを実行させ、処理を終了する。ステップS24で適合性未チェックフラグがOFFであった場合には、接続先のプリンタについてドライバとの適合性がチェックされていると判断し、ステップS25のチェックは飛ばしてステップS26以降の処理を行う。
【0038】
また、ステップS23でデフォルトの接続先がなかった場合あるいはステップS25で接続先のプリンタが実行中のドライバによる制御に適合していなかった場合には、CPUが制御中止手段として機能して制御中止手順の処理として一旦プリントを中止し、ステップS30に進んで図3に示したプリンタ検索処理を行う。ここでは、CPUが探索手段として機能する。なお、デフォルトの接続先がないという事態は、図2のインストール処理において強制インストールを行った場合あるいは接続先情報を登録しないことを選択した場合に起こる。
次のステップS31では、そのプリンタ検索処理で適合するプリンタが発見されたか否か判断し、発見されていればステップS27に進んでその発見されたプリンタ(複数発見された場合には図3のステップS18で選択されたプリンタ)を制御してプリントを実行させ、処理を終了する。
【0039】
この場合において、発見されたプリンタについての接続先情報を、デフォルトの接続先として登録するようにするとよい。このようにすれば、次回の起動時にはドライバに適合するプリンタの接続先情報が登録されていることになり、プリンタ検索処理を行う必要がなくなる。なお、さらに、この登録を行う場合に、その要否の選択を受け付けるようにするとよい。このようにすれば、プリントした用紙を取りに行くのが面倒な遠方のプリンタ等を接続先として登録してしまうことを防止できる。また、デフォルトの接続先を定めずにプリントの都度プリンタを選択してプリントしたいという要求にも応じることができる。
さらに、プリンタ検索処理における検索の範囲を指定できるようにしてもよいことは、上述したインストーラの場合と同様である。また、プリントの要否の選択を受け付けるようにしてもよい。このようにすれば、遠方の装置が適合するプリンタとして発見された場合等に、そのまま出力されてしまうことを防止できる。
【0040】
また、ステップS31において適合するプリンタがなかった場合には、ステップS32に進み、強制印刷を行うか否かの選択を受け付ける。PC10に複数のプリンタが接続されている場合には、どのプリンタで強制印刷を行うかの選択も受け付けるものとする。なお、強制印刷とは、ドライバに適合しないプリンタであっても多少の不具合は覚悟の上で制御してプリント動作を行わせることである。
そして、強制印刷が選択された場合にはステップS27に進んでプリントを実行し、選択されなかった場合にはそのままプリントを中止して処理を終了する。
【0041】
また、ステップS22でPC10のグローバルアドレスが変化していた場合には、PC10が前回ドライバを起動した時点から移設されたものと判断し、記憶してある接続先情報は使えないか、使えたとしてもプリンタまでの位置が遠く、プリント出力した用紙を取りに行くのが不便である等の可能性があるので、改めてドライバに適合するプリンタを検索すべく、ステップS28で図5に示す第2のプリンタ検索処理を行う。この処理は、図3に示したプリンタ検索処理とほぼ同様であり、ステップS17及びS18の処理を除いたものであるので、説明は省略する。このステップS28においては、CPUが探索手段として機能する。
【0042】
ステップS28の処理が終了すると、ステップS29に進み、ステップS28の検索で発見されたプリンタと、もしあれば従来のデフォルト接続先のプリンタとの中から、プリントに使用するプリンタの選択を受け付ける。デフォルト接続先については、例え設定されていたとしても、通信不能な位置であったり、適合しないプリンタが接続されていたりすることも考えられるが、このような場合には選択肢から除くものとする。そして、何らかのプリンタが選択された場合には、そのプリンタを適合プリンタとしてステップS31に進む。また、ステップS28で適合するプリンタが発見されず、かつデフォルト接続先のプリンタも選択肢とならない場合には、適合プリンタはなかったものとしてステップS31に進む。ステップS31以降の処理は、ステップS30から進んだ場合と同様である。
【0043】
以上のような処理を行うことにより、ドライバが起動された場合、プリンタの制御を開始する前に接続先として設定されているプリンタがドライバに適合するか否か判断し、適合しない場合はプリントを一旦中止するので、不適切な制御を防止し、適合しないプリンタでプリントを試みてしまうことを防止できる。従って、文字化け等によるミスプリントを未然に防止し、紙資源やネットワーク資源の浪費を避けることができる。
また、デフォルトの接続先がなかった場合あるいは接続先のプリンタが実行中のドライバによる制御に適合していなかった場合にドライバによる制御に適合するプリンタを探索するようにすれば、設定とは異なる接続先に適合するプリンタが接続されている場合には、プリントを中止せず、このプリンタによってプリントを行うことができる。
また、ステップS28及びS29の処理を行うことにより、プリンタが移設された場合でも、移設先でドライバに適合したプリンタを検索し、そのプリンタを用いてプリント出力を行うことができる。ユーザがノートパソコンにドライバをインストールしてこれを持ち歩く場合等には、LANによってデフォルトのプリンタと通信可能ではあるが距離が遠いためプリント出力された用紙を取りに行くのが困難である場合がよくあり、この処理は、このような場合に特に有効である。
なお、移設の有無の判断のためにステップS21で取得するアドレス情報は、グローバルアドレスには限られない。
【0044】
〔記録媒体の実施形態〕
上述の各実施形態で説明したプログラムは、はじめから図1に示したPC10に備えるROMあるいはHDD等の記憶手段に格納しておくことを妨げるものではないが、記録媒体であるCD−ROMあるいはフレキシブルディスク,SRAM,EEPROM,メモリカード等の不揮発性記録媒体(メモリ)に記録して提供することができる。この際、インストーラプログラムと、そのインストーラプログラムを実行することによってインストールするOA機器ドライバプログラムとを同一のメモリに記憶させて提供するとよい。そのメモリに記録されたインストーラプログラムをCPUにそのメモリから読み出して実行させることにより、CPUを上述した各手段として機能させることができる。
さらに、コンピュータがネットワークに接続されている場合には、プログラムを記録した記録媒体を備える外部機器あるいはプログラムを記憶手段に記憶した外部機器からダウンロードして実行させることも可能である。
【0045】
〔変形例〕
次に、上述した各実施形態の変形例について説明する。
まず、上述した実施形態においては、適合性未チェックフラグを設け、図4のステップS24でこれがONであった場合のみステップS25の適合性判定を行うようにしている。しかし、これに代えてこの適合性判定を行う時期を判定時期設定情報によって定めるようにしてもよい。
この場合、判定時期設定情報は、インストーラプログラムによる処理においてドライバのインストール時にドライバの設定情報を書き換えることによって定めるとよい。そして、この処理は、図2のステップS8の後で行うとよい。また、判定時期設定情報を用いる場合には、適合性未チェックフラグの設定を行う必要はない。
【0046】
判定時期設定情報の内容としては、例えば、不要,初回のみ,毎回,サーバから取得の4種とすることが考えられ、予めインストーラの設定情報として定められた内容を設定するようにしても、インストールの都度選択を受け付けるようにしてもよい。なお、「サーバから取得」については、PC10がネットワークによって設定情報を管理するポリシーサーバ等の設定サーバと接続されている場合に、その設定サーバから判定時期設定情報を取得するという設定である。このような場合、ドライバの設定データとしては参照データを記録しておき、実際に設定サーバから情報を取得する場合には、この参照データに従ってPC10の保持している具体的なアドレス情報を取得し、このアドレス情報に従って設定サーバにアクセス可能なようにするとよい。
【0047】
このような判定時期設定情報を設定する場合、ドライバ起動時の処理として、図4のステップS24乃至S26の処理に代えて、図6のステップS41乃至S49の処理を行うとよい。ここでこの処理について説明する。
ステップS23の判断がYESであった場合には、まず、ステップS41で判定時期設定情報が「不要」であるか否か判断する。そして、「不要」でなければステップS42に進み、「初回のみ」であるか否か判断する。「初回のみ」であれば、ステップS43に進んで図4のステップS25の場合と同様な適合性判断を行う。
【0048】
そして、適合していればステップS44に進み、判定時期設定情報が「初回のみ」であって次回からは適合性判断を行う必要がないので、判定時期設定情報を「不要」に変更してステップS27に進む。ステップS43で適合していなければ、ステップS30に進む。
また、ステップS41で「不要」であれば、適合性判断に関する処理を行う必要がないのでそのままステップS27に進む。
ステップS42で「初回のみ」でなければ、ステップS45に進んで判定時期設定情報が「毎回」であるか否か判断する。「毎回」であれば、ステップS46に進んで図4のステップS25の場合と同様な適合性判断を行う。
そして、適合していればステップS27に進むが、適合していなければステップS30に進む。この場合には、判定時期設定情報は変更しない。
【0049】
ステップS45で「毎回」でなければ、判定時期設定情報は「サーバから取得」であるので、ステップS47で設定サーバにアクセスして判定時期設定情報を問い合わせ、これを取得する。ここで取得する判定時期設定情報は、不要,初回のみ,毎回のいずれかである。
そして、ステップS48でこの判定時期設定情報が「初回のみ」か否か判断する。「初回のみ」であれば、ステップS43に進んでステップS42で「初回のみ」であった場合と同様な処理を行う。また、ステップS48で「初回のみ」でなければ、ステップS49に進んで「毎回」か否か判断する。そして、「毎回」であれば、ステップS46に進んでステップS45で「毎回」であった場合と同様な処理を行う。ステップS49で「毎回」でなければ「不要」であるので、そのままステップS27に進む。
【0050】
以上の処理を行うことにより、適合性判断をユーザのニーズに応じて行うことができ、利便性が増す。
例えば、判定時期設定情報を「初回のみ」とした場合には、ドライバが最初に実行された場合のみ適合性判定を行うので、一度適合性を確認した後は判定処理を省略することができ、処理負荷を低減することができる。
また、判定時期設定情報を「サーバから取得」とした場合には、管理者が設定サーバに対して設定を行うのみでネットワーク上の全てのドライバについて判定時期設定情報を設定し、その判定時期設定情報によって定められる時期にのみ適合性判定を行うようにすることができるので、プリントシステムの管理負担を低減することができる。
【0051】
以上説明した変形例のほか、ドライバのインストール時に、インストーラによる処理において、ドライバの起動時にステップS30でプリンタ検索処理を行う場合の検索範囲を設定することができるようにしてもよい。この設定内容は、ドライバの設定情報に含めるものとする。
また、ドライバの設定情報として、デフォルトの接続先とは別に、前回プリントに用いたプリンタの接続先を記憶しておき、ステップS30のプリンタ検索処理で複数のプリンタが発見された場合に、前回プリントに用いたプリンタがその中に含まれていれば優先してあるいは自動的にこれを選択するようにしてもよい。
【0052】
また、以上の実施形態では、OA機器ドライバプログラムがプリンタドライバである例について説明したが、これに限られるものではない。OA機器もプリンタに限られるものではなく、スキャナ,ファクシミリ装置,画像蓄積装置、さらには複写機やデジタル複合機等の画像処理装置を始めとする各種OA機器が考えられ、OA機器ドライバプログラムについてもこれらの機器を制御するための各種のものが考えられる。また、インストーラプログラムやOA機器ドライバプログラムを実行させるコンピュータも、PCに限られるものではなく、携帯情報端末やウェブサーバ等の各種情報処理装置が考えられる。OA機器ドライバプログラムのインストール先についても同様である。
【0053】
OA機器ドライバプログラムのインストール先については、インストーラプログラムを実行するコンピュータ自身である例について説明したが、これに限られるものではなく、他の情報端末からの要求に応じて専ら他の情報端末にインストールを行うようにすることも可能である。例えば、図1に示したWWWサーバ60においてインストーラプログラムを実行し、PC10からの要求に応じてインターネット50及びLAN30を介してPC10にOA機器ドライバプログラムをインストールするようにすることもできる。
インストーラ装置やOA機器制御装置についても、PCに必要なプログラムを実行させることによってこれらの装置として機能させる例について説明したが、これに限られるものではなく、専用のハードウェアを用いて構成することを妨げるものでもない。また、この発明のインストール方法やOA機器制御方法を実行するための装置も、上述の実施形態で述べたものに限られることはない。
【0054】
【発明の効果】
以上説明してきたように、この発明のOA機器ドライバプログラム,OA機器制御装置,OA機器制御方法によれば、プリンタの制御を開始する前に接続先として設定されているプリンタがドライバに適合するか否か判断することができるので、不適切な制御を防止することができる。
また、この発明のインストーラプログラム,インストーラ装置,インストール方法によれば、インストール対象のOA機器ドライバプログラムに適合するプリンタが存在しない場合にはインストールを中止することができるので、ユーザが不適切なドライバをインストールしようとした場合でも、これを防止することができる。
また、この発明の記録媒体によれば、上記のプログラムを記憶していないコンピュータにそのプログラムを読み出させて実行させ、上記の効果を得ることができる。
【図面の簡単な説明】
【図1】この発明のOA機器ドライバプログラムの実施形態であるプリンタドライバ及びインストーラプログラムの実施形態であるプリンタドライバインストーラを実行させるコンピュータを含むプリントシステムの構成を模式的に示す図である。
【図2】この発明のインストーラプログラムの実施形態であるプリンタドライバインストーラがコンピュータに実行させる処理を示すフローチャートである。
【図3】図2に示したプリンタ検索処理の内容を示すフローチャートである。
【図4】この発明のOA機器ドライバプログラムの実施形態であるプリンタドライバがコンピュータに実行させる処理を示すフローチャートである。
【図5】図4に示した第2のプリンタ検索処理を示すフローチャートである。
【図6】この発明のOA機器ドライバプログラムの変形例がコンピュータに実行させる処理の一部を示すフローチャートである。
【符号の説明】
10:PC 11:アプリケーションソフト
12:スプーラ 13:プリンタドライバ
14:パラレルI/F 15:USBI/F
16:ネットワークI/F 21:FDドライブ
22:CD−ROMドライブ 30:プリンタ
40:LAN 50:インターネット
60:WWWサーバ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an OA device driver program for causing a computer to function as control means for controlling an OA device, an installer program for causing a computer to function as an installer device for installing such an OA device driver program, and such an installer program And a recording medium storing the OA device driver program to be installed by the installer program. Further, the present invention relates to an installer apparatus and an installation method for performing the above installation, and an OA equipment control apparatus and an OA equipment control method for controlling the above OA equipment.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, various OA devices such as printers, scanners, facsimile machines, image storage devices, and image processing devices such as copiers and digital multifunction devices have been controlled using an OA device control device such as a host computer. Has been done. Such an OA device control device may be integrated with or separate from the OA device. For example, by causing a personal computer (PC) connected to the OA device to be controlled to execute an OA device driver program. It is widely used as an OA equipment control device.
In this case, it is necessary to install the OA device driver program on the PC. This installation can be performed by causing the PC to execute the installer program and causing the PC to function as an installer device for installing the OA device driver program. . In recent years, a server device has been accessed via the Internet, a local area network (LAN), or the like, and an appropriate OA device driver program has been installed from the server device.
[0003]
As a technique related to the installation of such an OA device driver program, for example, Patent Document 1 discloses a version or update of a driver recorded on a medium at the time of installation and a driver obtainable via the Internet or the like. It describes how to compare dates and install the latest available drivers.
Further, Patent Document 2 discloses that a unique driver for an OA device is notified to a WWW server so that an appropriate driver can be downloaded and installed from the WWW server even when the OA device is customized. Possible methods are described.
[0004]
[Patent Document 1]
JP-A-2002-304298
[Patent Document 2]
JP 2002-297326 A
[0005]
[Problems to be solved by the invention]
However, the method described in Patent Literature 1 has a problem in that it is not checked whether a driver to be installed is compatible with a device connected to an installation destination device. Further, the method described in Patent Document 2 has a problem that a driver cannot be installed in an environment not connected to a network, and an appropriate driver is automatically selected from a large number of drivers. This is completely different from the method according to the invention.
Further, in any of the methods, there is a problem that it is impossible to prevent a user from manually installing an inappropriate driver or controlling an OA device using the inappropriate driver. In particular, in the latter case, for example, a printer may cause garbled characters and the like, causing waste of paper resources and network resources.
An object of the present invention is to solve such a problem, prevent installation of an inappropriate driver, and prevent inappropriate control of an OA device.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, an OA device driver program of the present invention specifies an OA device to be controlled by the computer in an OA device driver program for causing a computer to function as control means for controlling the OA device. Connection destination information obtaining means for obtaining connection destination information, and when the means obtains the connection destination information, the OA device connected to the connection destination specified by the information is compatible with the control by the OA device driver program And a program for functioning as control suspending means for not controlling the OA device when the means is determined to be incompatible. is there.
[0007]
In such an OA device driver program, the function of the matching determination means may be a function of performing the determination only when the OA device driver program is first executed.
Alternatively, the program further includes a program for causing the computer to function as means for acquiring determination time setting information for determining a time at which a determination is made by the suitability determining means from a server that manages setting information for the computer. May be a function of performing the above determination only at a time determined by the above determination time setting information.
[0008]
In these OA equipment driver programs, the computer is used as a search means for searching for an OA equipment suitable for the control by the OA equipment driver program when the connection destination information obtaining means cannot obtain the connection destination information. A program for functioning may be further included.
Alternatively, a program for causing the computer to function as a search unit that searches for an OA device that is suitable for control by the OA device driver program when the match determination unit determines that the computer is not suitable may be further included. .
Alternatively, the computer is configured to store its own address information when the OA device driver program is started, and to control the OA device driver program when the address information is different from the address information at the time of the previous start. It is preferable to further include a program for functioning as search means for searching for an OA device that is present.
[0009]
In these OA device driver programs, when the search means finds an OA device suitable for control by the OA device driver program, the computer sets the connection destination of the OA device as the connection destination information. It is preferable to further include a program for functioning as connection destination setting means.
Such an OA equipment driver program, wherein the computer receives the selection of necessity or not when the connection destination setting means sets the connection destination information, and controls the operation of the connection destination setting means according to the selection. It is preferable to further include a program for causing the program to function as a means for performing the program.
[0010]
Further, the installer program of the present invention is an installer program for causing a computer to function as an installer device for installing these OA device driver programs, the computer program including the OA device driver designated by a designated information terminal. Installation means for installing the program; device search means for searching for a device which is compatible with the specified OA device driver program and which can be controlled from the specified information terminal before installation by the means; The program includes a program for functioning as installation canceling means for canceling the installation by the installing means when the means recognizes that there is no device to be searched.
[0011]
In such an installer program, when the installation unit installs the computer, the connection destination information of the device found by the device search unit is registered as the connection destination information for the OA device driver program to be installed. It is preferable to further include a program for functioning as connection destination information registering means.
Further, it is preferable that the connection destination information registration unit has a function of accepting a selection of any one of the plurality of devices when the device search unit finds a plurality of devices and registering only the connection destination information of the selected device. Good.
[0012]
In the above-mentioned installer program, when the connection destination information registration unit registers the connection destination information, the computer accepts a selection as to whether or not it is necessary, and controls the operation of the connection destination information registration unit according to the selection. It is preferable to further include a program for functioning as a means.
Further, in the above-mentioned installer program, the program causes the computer to function as means for accepting selection of necessity when the installation canceling means cancels the installation, and controlling the operation of the installation canceling means according to the selection. You may want to include more programs.
[0013]
In addition, a program for causing the computer to function as a unit for receiving designation of a range to be searched by the device search unit may be used, and the function of the device search unit may be performed only for the range accepted by the unit. It should be a function to perform.
Still further, when the information terminal on which the OA equipment driver program is installed functions as the conformity determination means according to the program, the computer functions as means for designating a time when the means performs the determination. A program should be included.
[0014]
Further, a recording medium of the present invention is a computer-readable recording medium recording the installer program and one or more OA device driver programs to be installed by the installer program.
[0015]
Also, the installer apparatus of the present invention is an installer apparatus for installing the OA equipment driver program, wherein the installation means for installing the specified OA equipment driver program on the specified information terminal; A device search means for searching for a device which is compatible with the specified OA device driver and which can be controlled from the specified information terminal; and the installation means when the means recognizes that there is no device to be searched. And installation canceling means for canceling the installation by the program.
In such an installer device, when the installation unit performs the installation, the connection destination information for registering the connection destination information of the device found by the device search unit as the connection destination information for the OA device driver program to be installed. Preferably, registration means is provided.
Further, it is preferable to provide means for accepting selection of necessity when the installation canceling means cancels the installation, and controlling the operation of the installation canceling means according to the selection.
[0016]
An installation method according to the present invention is an installation method for installing the above OA device driver program, wherein the specified OA device driver program is installed in a specified information terminal, and the specified OA device driver program is installed before the installation. A device that is compatible with the OA device driver and is in a controllable state from the information terminal specified above is searched, and the installation is stopped when there is no device to be searched.
In such an installation method, when performing the installation, the connection destination information of the device found in the search may be registered as the connection destination information for the OA device driver program to be installed.
Furthermore, it is preferable that the selection of whether or not to stop the installation is received, and whether to stop the installation is determined in accordance with the selection.
[0017]
An OA device control device according to the present invention is a OA device control device having control means for controlling an OA device, wherein the connection destination information obtaining means for obtaining connection destination information specifying an OA device to be controlled, Obtains the connection destination information, if the OA device connected to the connection destination specified by the information is suitable for the control by the OA device driver device, A control suspending unit that does not control the OA device when it is determined that it is not suitable is provided.
In such an OA equipment control device, the suitability determination means may be means for making the determination only when the OA equipment driver program is first executed.
[0018]
Further, the OA device control method of the present invention provides a connection destination information obtaining procedure for obtaining connection destination information for specifying an OA device to be controlled, and, when the connection destination information is obtained by the procedure, is specified by the information. A determination procedure for determining whether or not the OA device connected to the connection destination is compatible with the control by the OA device driver device, and controlling the OA device if it is determined that the OA device is not compatible with the procedure. And a control stop procedure that does not perform the control.
In such an OA device control method, the above-described conformity determination procedure may be a procedure in which the above-described determination is performed only when the OA device driver program is first executed.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
[Example of hardware configuration used in implementing the present invention: FIG. 1]
First, a description will be given of a configuration of a computer that executes a printer driver as an embodiment of an OA device driver program according to the present invention and a printer driver installer as an embodiment of an installer program, and a configuration of a print system configured using the computer. FIG. 1 is a diagram schematically showing the configuration of the print system.
[0020]
As shown in FIG. 1, the printing system includes a PC 10 as an information terminal, and printers 30a to 30d (in the case of a generic term, the symbol "30" is used). Conventional hardware can be used for the PC 10 and the printer 30 as the hardware configuration. That is, the PC 10 includes a CPU, a ROM, a RAM, a hard disk drive (HDD), and the like, and the printer 30 includes a CPU, a ROM, a RAM, an image forming unit, and the like. The PC 10 includes a flexible disk (FD) drive 21 and a CD-ROM drive 22, and can read and execute a program recorded on a recording medium such as a flexible disk or a CD-ROM.
[0021]
The PC 10 and the printer 30 can be connected via various interfaces (I / F). In the example shown in FIG. 1, printers 30a and 30b are connected to a parallel I / F 14 and a USB (universal serial bus) I / F 15, which are direct communication (local) ports, respectively, and a local area network ( Printers 30c and 30d are connected via a (LAN) 40. The PC 10 can also communicate with a World Wide Web (WWW) server 60 from the LAN 40 via the Internet 50. As a local port, an IEEE (Institute of Electrical and Electronic Engineers) 1284 I / F or RS-232CI / F may be provided in addition to this.
[0022]
Also, the PC 10 stores various application software 11a and 11b (in the generic name, the symbol "11" is used) in the HDD or the ROM, and the user can create various documents by executing the software. Can be. Further, the spooler 12 provided in the HDD or the ROM includes various device drivers such as printer drivers 13a and 13b (the symbol "13" is used when collectively referred to), and the CPU stores these driver programs. Is executed, it is possible to function as a control device for controlling various devices.
In particular, by executing the printer driver 13, it is possible to control the printer 30, which is an OA device, to function as an OA device control device that performs a printing operation. In this case, for example, when printing a document created by the application software 11, the application software 11 sends a drawing command to the printer driver 13, and the printer driver 13 interprets the drawing command by a printer control language (PDL) that can be interpreted by the printer 30. , And by sending the data in PDL to the printer 30, the printer 30 can execute printing. Since the type of PDL often differs depending on the printer model, it is necessary to use a printer driver suitable for the printer that executes printing.
[0023]
By the way, the printer driver 13 may be stored in the PC 10 from the beginning, but is usually installed in the PC 10 as needed. This installation is performed by causing the CPU of the PC 10 to execute a printer driver installer to cause the PC 10 to function as an installer device for installing the printer driver therein, or to an external installer device (for example, the WWW server 60). Or you can let them go.
[0024]
[Embodiment of installer: FIGS. 2 and 3]
Next, a printer driver installer which is an embodiment of the installer program of the present invention will be described.
FIG. 2 is a flowchart showing the processing that this program causes the computer to execute, and FIG. 3 is a flowchart showing the contents of the printer search processing shown in FIG.
The printer driver installer (hereinafter, also simply referred to as an “installer”) is an installer program for causing a computer such as a personal computer (PC) to execute a process including the following procedures and to function as an installer device. Here, a process executed by the PC 10 shown in FIG. 1 to execute a printer driver (hereinafter simply referred to as a “driver”), which is an OA device driver program of the present invention, will be described as an example. .
[0025]
When the installer is activated, the CPU of the PC 10 (hereinafter, unless otherwise specified, this CPU is simply referred to as “CPU”) according to the installation method of the present invention shown in the flowchart of FIG. The operation starts, and selection of a driver to be installed and an installation destination are received in step S1. As for the driver, usually, the installer is handled as a set together with the driver to be installed, so that the driver accepts a selection from the driver. If there is only one driver to be installed, this step may of course be omitted. As for the installation destination, selection of a position (folder name or the like) for storing the driver is received. In the case where installation on an information terminal different from itself is also possible, selection of an information terminal is also accepted.
[0026]
In the next step S2, the printer search processing shown in FIG. 3 is performed.
In this process, first, in step S11 in FIG. 3, it is determined whether or not the PC 10 is connected to a network (here, the LAN 40). If the printer is connected, the process proceeds to step S12, where a broadcast for inquiring the model name of the printer is sent to the network. In step S13, responses from the printer are collected, and a printer suitable for the driver to be installed is extracted. Here, the driver holds the information of the printer that is compatible with the driver in its header or the like, and by referring to this, it is possible to recognize which printer is compatible with the driver. Here, it is assumed that the information is recognized based on the information of the model name. However, if the information of the compatible printer is expressed by a combination of predetermined functions and properties, the information to be queried to the printer in step S12 is The presence or absence of these functions and properties may be determined.
[0027]
After step S13, the process proceeds to step S14. If the connection has not been established in step S11, the process directly proceeds to step S14.
In step S14, it is determined whether or not a device is connected to the direct communication port of the PC 10. If connected, a command for inquiring of a model name is sent directly to the communication port in step S15, and responses from the printer are collected in step S16 to extract a printer suitable for the driver to be installed. If the device is connected to a plurality of direct communication ports, the processing of steps S15 and S16 is performed for all of the direct communication ports. The recognition of the printer compatible with the driver is the same as in step S13.
After step S16, the process proceeds to step S17. If the connection has not been established in step S14, the process directly proceeds to step S17.
[0028]
In step S17, it is determined whether a plurality of printers that match the driver have been found in the processing up to this point. If there is more than one, the process proceeds to step S18, and the selection of any one printer from the user is accepted. Then, at the time of installation, the printer whose selection has been accepted here is set as the default connection destination when the driver is started. When this selection is accepted, the printer search process ends, and the process returns to the original process. If it is not a plurality in step S17, that is, if the number of found printers is 0 or 1, the printer search process is terminated and the process returns to the original process.
In the above printer search processing, the CPU functions as a device search unit. In this process, the designation of the range in which to search for a printer may be accepted, and the search for the printer may be performed only for the designated range. This setting can be made, for example, by whether the network and the local, each connection I / F, the range of the IP address, and the like.
[0029]
Returning to the description of FIG.
When the printer search processing in step S2 is completed, the process proceeds to step S3, and it is determined whether a printer matching the driver has been found in the printer search processing. If so, the process proceeds to step S4, in which the compatibility non-check flag for the driver to be installed is set to OFF, and the driver is installed in the installation destination selected in step S1 in step S7. In the process of step S7, the CPU functions as an installation unit. The content of the compatibility non-check flag is recorded as driver setting information that is referred to when the driver is started.
[0030]
In the next step S8, as the default connection destination information for specifying the printer to be controlled by the driver, the connection destination information for the printer that is found in the printer search process and that matches the driver is registered. If a plurality of compatible printers are found, the connection destination information for the printer selected in step S18 in FIG. 3 is registered. This registration can be performed by rewriting the setting information of the driver. If no suitable printer is found, registration is not performed. In the process of step S8, the CPU functions as connection destination information registration means.
When registering the connection destination information in step S8, selection of the necessity or non-necessity may be accepted, and the presence or absence of the registration may be determined according to the selection.
The installation process is completed by the above steps S8.
[0031]
On the other hand, if it is determined in step S3 that a compatible printer has not been found, installation is stopped and the process proceeds to step S5. Here, the CPU functions as an installation canceling unit.
Then, in step S5, selection of necessity of forced installation, that is, selection of necessity of installation stop is accepted. If a forced installation (no need to cancel) is instructed, the process proceeds to step S6 to set the compatibility non-check flag for the driver to be installed to ON, and proceeds to step S7 to perform the installation. The installation in this case is a forced installation, and no matching printer has been found, so the registration of the connection destination information in step S8 is not performed.
If the selection that the forced installation is unnecessary is received in step S5, the installation is stopped and the process is terminated.
[0032]
By performing the above processing, if there is no printer compatible with the driver, the installation is stopped. Therefore, even if the user tries to install an inappropriate driver, this can be prevented. In this case, if the selection of whether or not to cancel is received, only the driver can be installed in advance, for example, when the printer is not connected at that time but will be connected later. Also in this case, since the compatible printer search processing is performed by the driver as described later, there is no possibility that the data is erroneously printed by an inappropriate printer.
[0033]
In addition, a printer that matches the driver to be installed is automatically searched for and the connection destination information for the printer is registered, so that the user does not have to make such settings, and the operability is improved. It is possible to prevent an incompatible printer from being registered as a connection destination. At this time, if a plurality of printers are found as a result of the search, the connection destination information of one of the printers selected by the user is registered, so that the most convenient printer is selected from among the printers suitable for the user. You can also register as a connection destination.
Further, by accepting the selection of the necessity of registration of the connection destination information, it is possible to respond to a request to select and print a printer as required without registering a specific connection destination. Also in this case, since the compatible printer search processing is performed by the driver as described later, there is no possibility that the data is erroneously printed by an inappropriate printer. In addition, if the search range can be specified, it is possible to prevent a distant printer or the like that is troublesome to retrieve printed paper from being registered as a connection destination.
[0034]
[Embodiment of driver: FIGS. 4 and 5]
Next, a printer driver which is an embodiment of the OA device driver program of the present invention will be described.
FIG. 4 is a flowchart showing the processing that this program causes the computer to execute, and FIG. 5 is a flowchart showing the second printer search processing shown in FIG.
This driver is an OA equipment driver program for causing a computer such as a PC to execute processing including the following procedures and to function as an OA equipment control device. Here, the process executed by this program will be described by taking as an example a case where the printer 30 is controlled by the PC 10 shown in FIG. 1 to perform a printing operation.
[0035]
This driver is activated when the application software 11 (or the user) instructs to print using this driver (or a printer set as a default connection destination of this driver). Then, when this driver is started, the CPU of the PC 10 starts the operation according to the OA device control method of the present invention shown in the flowchart of FIG. 4, and first acquires the global address of the PC 10 as its own address information in step S21. And memorize. This storage area may be provided in driver setting data or the like.
[0036]
Then, in a step S22, it is determined whether or not the global address has changed from the previous activation. If not, the PC 10 determines that the PC 10 has not been relocated since the previous startup, and proceeds to step S23 to determine whether a default connection destination has been set, that is, a connection destination that specifies a printer to be controlled by the driver. It is determined whether the information is stored. At this time, acquisition of the connection information is attempted, and the process of step S23 is a process of a connection destination information acquisition procedure. In this process, the CPU functions as a connection destination information acquisition unit.
[0037]
If there is a default connection destination in step S23, the process proceeds to step S24, and it is determined whether or not the compatibility non-check flag in the driver setting information is ON. If it is ON, it is determined that the compatibility of the connected printer with the driver has not yet been checked, and the process proceeds to step S25, where the model of the connected printer specified by the connected information acquired in step S23 is Information such as the name is acquired, and it is determined whether or not the printer is suitable for control by the driver being executed. This determination can be made in the same manner as in step S13 of FIG. 3 described above. The process of step S25 is a process of a conformity determination procedure, and in this process, the CPU functions as a conformity determination unit.
If they match, the process proceeds to step S26, where the compatibility non-check flag is set to OFF. In step S27, the printer at the connection destination is controlled to execute printing, and the process ends. If the compatibility non-check flag is OFF in step S24, it is determined that the compatibility of the connected printer with the driver has been checked, and the check in step S25 is skipped and the processes in and after step S26 are performed. .
[0038]
If there is no default connection destination in step S23, or if the connection destination printer does not conform to the control of the driver being executed in step S25, the CPU functions as a control stop unit and performs a control stop procedure. In step S30, printing is temporarily stopped, and the flow advances to step S30 to perform a printer search process shown in FIG. Here, the CPU functions as search means. Note that a situation where there is no default connection destination occurs when forced installation is performed in the installation process of FIG. 2 or when it is selected not to register connection destination information.
In the next step S31, it is determined whether or not a suitable printer is found in the printer search process. If found, the process proceeds to step S27, and if the found printer is found (if a plurality of found printers are found, the step in FIG. The printer (the printer selected in S18) is controlled to execute printing, and the process ends.
[0039]
In this case, the connection destination information about the discovered printer may be registered as a default connection destination. By doing so, the connection destination information of the printer compatible with the driver is registered at the next start-up, and it is not necessary to perform the printer search processing. In addition, when performing this registration, it is preferable to accept selection of necessity. In this way, it is possible to prevent a distant printer or the like, which is troublesome to retrieve printed paper, from being registered as a connection destination. In addition, it is possible to respond to a request to select a printer and perform printing each time printing is performed without determining a default connection destination.
Further, the search range in the printer search process may be specified, as in the case of the installer described above. Further, selection of necessity of printing may be received. In this way, when a distant device is found as a suitable printer, it can be prevented from being output as it is.
[0040]
If no suitable printer is found in step S31, the process proceeds to step S32, where a selection as to whether or not to perform forced printing is accepted. When a plurality of printers are connected to the PC 10, selection of which printer performs forced printing is also accepted. Note that the forced printing means that even if the printer is not compatible with the driver, the printing operation is performed under the control of some troubles.
If the forced printing is selected, the process proceeds to step S27 to execute the printing, and if not, the printing is stopped and the process is terminated.
[0041]
If the global address of the PC 10 has changed in step S22, it is determined that the PC 10 has been relocated since the last time the driver was started. 5 is too far from the printer, and it is inconvenient to go to get the printed paper. Therefore, in order to search for a printer compatible with the driver again, the second printer shown in FIG. Perform printer search processing. This process is almost the same as the printer search process shown in FIG. 3, except for the processes in steps S17 and S18, and a description thereof will be omitted. In step S28, the CPU functions as a search unit.
[0042]
Upon completion of the process in the step S28, the process proceeds to a step S29 to receive a selection of a printer to be used for printing from the printer found in the search in the step S28 and a printer of a conventional default connection destination, if any. Regarding the default connection destination, even if the default connection destination is set, it is conceivable that the communication destination is in an uncommunicable position or an incompatible printer is connected. In such a case, it is excluded from the options. Then, if any printer is selected, the process proceeds to step S31 with the printer as a compatible printer. If no compatible printer is found in step S28 and the default connection destination printer is not an option, the process proceeds to step S31 assuming that there is no compatible printer. The processing after step S31 is the same as when proceeding from step S30.
[0043]
By performing the processing described above, when the driver is started, it is determined whether or not the printer set as the connection destination matches the driver before starting the control of the printer. Since the operation is temporarily stopped, it is possible to prevent inappropriate control and to prevent an attempt to print with an incompatible printer. Therefore, misprinting due to garbled characters and the like can be prevented beforehand, and waste of paper resources and network resources can be avoided.
Also, if there is no default connection destination or if the connection destination printer does not match the control of the driver being executed, a printer compatible with the control by the driver is searched for, and a connection different from the setting If a suitable printer is connected first, printing can be performed by this printer without stopping printing.
Further, by performing the processing of steps S28 and S29, even if the printer is relocated, it is possible to search for a printer suitable for the driver at the relocation destination and print out using the printer. When a user installs a driver in a notebook personal computer and carries it around, it is often difficult to get the printed paper because of the long distance, although it is possible to communicate with the default printer via LAN. Yes, this processing is particularly effective in such a case.
Note that the address information acquired in step S21 for determining whether or not there is a relocation is not limited to a global address.
[0044]
[Embodiment of recording medium]
The program described in each of the above embodiments does not prevent storing in the storage means such as the ROM or the HDD included in the PC 10 shown in FIG. 1 from the beginning, but the recording medium is a CD-ROM or a flexible medium. It can be provided by being recorded on a non-volatile recording medium (memory) such as a disk, an SRAM, an EEPROM, and a memory card. At this time, the installer program and the OA device driver program to be installed by executing the installer program may be stored in the same memory and provided. By causing the CPU to read the installer program recorded in the memory from the memory and execute the program, the CPU can function as each of the above-described units.
Further, when the computer is connected to a network, it is also possible to execute the program by downloading it from an external device provided with a recording medium storing the program or an external device storing the program in the storage means.
[0045]
(Modification)
Next, a modified example of each of the above-described embodiments will be described.
First, in the above-described embodiment, a compatibility non-check flag is provided, and the compatibility determination in step S25 is performed only when this flag is ON in step S24 in FIG. However, instead of this, the timing for performing the suitability determination may be determined by the determination timing setting information.
In this case, the determination time setting information may be determined by rewriting the driver setting information when the driver is installed in the processing by the installer program. This process may be performed after step S8 in FIG. When the determination time setting information is used, it is not necessary to set the compatibility non-check flag.
[0046]
The contents of the determination time setting information may be, for example, four types: unnecessary, first time only, every time, and acquired from the server. Even if the contents set in advance as the setting information of the installer are set, The selection may be accepted each time. Note that “acquire from server” is a setting in which, when the PC 10 is connected to a setting server such as a policy server that manages setting information via a network, determination time setting information is acquired from the setting server. In such a case, reference data is recorded as setting data of the driver, and when information is actually acquired from the setting server, specific address information held by the PC 10 is acquired according to the reference data. It is preferable that the setting server can be accessed according to the address information.
[0047]
When such determination time setting information is set, the processes of steps S41 to S49 of FIG. 6 may be performed instead of the processes of steps S24 to S26 of FIG. Here, this processing will be described.
If the determination in step S23 is YES, first, in step S41, it is determined whether the determination time setting information is "unnecessary". If it is not "unnecessary", the process proceeds to step S42, and it is determined whether it is "first time only". If “only the first time”, the process proceeds to step S43, and the same compatibility determination as in step S25 in FIG. 4 is performed.
[0048]
If they match, the process proceeds to step S44. Since the determination time setting information is “only the first time” and there is no need to perform the compatibility determination from the next time, the determination time setting information is changed to “unnecessary” and the process proceeds to step S44. Proceed to S27. If not in step S43, the process proceeds to step S30.
If "unnecessary" in step S41, the process directly proceeds to step S27 because there is no need to perform the process for determining compatibility.
If it is not “only the first time” in step S42, the process proceeds to step S45 to determine whether or not the determination time setting information is “every time”. If “every time”, the process proceeds to step S46, and the same compatibility determination as in step S25 in FIG. 4 is performed.
Then, if it matches, the process proceeds to step S27, but if it does not match, the process proceeds to step S30. In this case, the determination time setting information is not changed.
[0049]
If it is not “every time” in step S45, the determination time setting information is “acquired from server”. Therefore, in step S47, the setting server is accessed to inquire of the determination time setting information, and this is obtained. The determination time setting information acquired here is one of unnecessary, first time only, and every time.
Then, in a step S48, it is determined whether or not the determination time setting information is "first time only". If it is "first time only", the process proceeds to step S43, and the same processing as in the case of "first time only" in step S42 is performed. If it is not “only the first time” in step S48, the process proceeds to step S49 to determine whether or not “every time”. If "every time", the process proceeds to step S46, and the same processing as in the case of "every time" in step S45 is performed. If it is not “every time” in step S49, it is “unnecessary”, and the process directly proceeds to step S27.
[0050]
By performing the above processing, the suitability determination can be made according to the needs of the user, and the convenience is increased.
For example, if the determination time setting information is "first time only", the compatibility determination is performed only when the driver is executed first, so that once the compatibility is confirmed, the determination process can be omitted. The processing load can be reduced.
When the determination time setting information is set to “acquire from the server”, the administrator only sets the setting server and sets the determination time setting information for all the drivers on the network. Since the suitability determination can be performed only at the time determined by the information, the management load on the printing system can be reduced.
[0051]
In addition to the above-described modified examples, a search range in the case where the printer search process is performed in step S30 when the driver is started may be set in the process of the installer when the driver is installed. This setting content is included in the setting information of the driver.
In addition, the connection destination of the printer used for the previous printing is stored separately from the default connection destination as the driver setting information, and if a plurality of printers are found in the printer search processing in step S30, the previous printing is performed. If the printer used for the printer is included in the printer, it may be preferentially or automatically selected.
[0052]
Further, in the above embodiment, an example in which the OA device driver program is a printer driver has been described, but the present invention is not limited to this. The OA equipment is not limited to the printer, but various types of OA equipment including scanners, facsimile apparatuses, image storage apparatuses, and image processing apparatuses such as copiers and digital multifunction peripherals can be considered. Various devices for controlling these devices are conceivable. Also, the computer that executes the installer program and the OA device driver program is not limited to the PC, and various information processing devices such as a portable information terminal and a web server can be considered. The same applies to the installation destination of the OA device driver program.
[0053]
The installation destination of the OA device driver program has been described as an example in which the computer itself executes the installer program. However, the installation destination is not limited to this, and is installed exclusively in another information terminal in response to a request from another information terminal. It is also possible to carry out. For example, the installer program may be executed in the WWW server 60 shown in FIG. 1, and the OA device driver program may be installed in the PC 10 via the Internet 50 and the LAN 30 in response to a request from the PC 10.
The example in which the installer device and the OA device control device are made to function as these devices by causing the PC to execute necessary programs has been described. However, the present invention is not limited to this, and may be configured using dedicated hardware. It does not hinder. Further, the apparatus for executing the installation method and the OA equipment control method of the present invention is not limited to the apparatus described in the above embodiment.
[0054]
【The invention's effect】
As described above, according to the OA device driver program, the OA device control device, and the OA device control method of the present invention, it is determined whether the printer set as the connection destination matches the driver before starting the control of the printer. Since it is possible to determine whether or not it is not appropriate, inappropriate control can be prevented.
Further, according to the installer program, the installer apparatus, and the installation method of the present invention, if there is no printer compatible with the OA device driver program to be installed, the installation can be stopped. This can be prevented even if an attempt is made to install.
Further, according to the recording medium of the present invention, the above effects can be obtained by causing a computer that does not store the above programs to read and execute the programs.
[Brief description of the drawings]
FIG. 1 is a diagram schematically illustrating a configuration of a print system including a computer that executes a printer driver as an embodiment of an OA device driver program of the present invention and a printer driver installer as an embodiment of an installer program.
FIG. 2 is a flowchart showing processing executed by a computer by a printer driver installer which is an embodiment of an installer program of the present invention.
FIG. 3 is a flowchart showing the contents of a printer search process shown in FIG. 2;
FIG. 4 is a flowchart showing a process executed by a computer by a printer driver which is an embodiment of an OA device driver program of the present invention.
FIG. 5 is a flowchart showing a second printer search process shown in FIG.
FIG. 6 is a flowchart showing a part of a process executed by a computer by a modified example of the OA device driver program of the present invention.
[Explanation of symbols]
10: PC 11: Application software
12: Spooler 13: Printer driver
14: Parallel I / F 15: USB I / F
16: Network I / F 21: FD drive
22: CD-ROM drive 30: Printer
40: LAN 50: Internet
60: WWW server

Claims (26)

コンピュータをOA機器を制御する制御手段として機能させるためのOA機器ドライバプログラムであって、
前記コンピュータを、制御対象とするOA機器を指定する接続先情報を取得する接続先情報取得手段と、
該手段が前記接続先情報を取得した場合、該情報によって指定された接続先に接続されているOA機器が当該OA機器ドライバプログラムによる制御に適合しているか否かを判定する適合判定手段と、
該手段が適合していないと判定した場合には前記OA機器の制御を行わない制御中止手段として機能させるためのプログラムを含むことを特徴とするOA機器ドライバプログラム。
An OA device driver program for causing a computer to function as control means for controlling the OA device,
Connection destination information obtaining means for obtaining connection destination information specifying the OA device to be controlled by the computer;
When the means obtains the connection destination information, a conformity determination means for determining whether or not the OA device connected to the connection destination specified by the information is suitable for control by the OA device driver program;
An OA equipment driver program, comprising: a program for functioning as a control suspending means that does not control the OA equipment when it is determined that the means is not suitable.
請求項1記載のOA機器ドライバプログラムであって、
前記適合判定手段の機能は、当該OA機器ドライバプログラムが最初に実行された場合のみ前記判定を行う機能であることを特徴とするOA機器ドライバプログラム。
The OA device driver program according to claim 1, wherein
An OA equipment driver program characterized in that the function of the matching determination means is a function of making the determination only when the OA equipment driver program is first executed.
請求項1記載のOA機器ドライバプログラムであって、
前記コンピュータを、該コンピュータについての設定情報を管理するサーバから前記適合判定手段による判定を行う時期を定める判定時期設定情報を取得する手段として機能させるためのプログラムをさらに含み、
前記適合判定手段の機能は、前記判定時期設定情報によって定められる時期にのみ前記判定を行う機能であることを特徴とするOA機器ドライバプログラム。
The OA device driver program according to claim 1, wherein
The computer further includes a program for causing the computer to function as a unit for acquiring determination time setting information that determines a time at which a determination is made by the matching determination unit from a server that manages setting information about the computer,
An OA equipment driver program, wherein the function of the suitability determining means is a function of performing the determination only at a time determined by the determination time setting information.
請求項1乃至3のいずれか一項記載のOA機器ドライバプログラムであって、
前記コンピュータを、前記接続先情報取得手段が前記接続先情報を取得できなかった場合に当該OA機器ドライバプログラムによる制御に適合しているOA機器を探索する探索手段として機能させるためのプログラムをさらに含むことを特徴とするOA機器ドライバプログラム。
4. The OA device driver program according to claim 1, wherein:
A program for causing the computer to function as a search unit that searches for an OA device that is suitable for control by the OA device driver program when the connection destination information acquisition unit cannot acquire the connection destination information is further included. OA equipment driver program characterized by the above-mentioned.
請求項1乃至3記載のいずれか一項のOA機器ドライバプログラムであって、
前記コンピュータを、前記適合判定手段が適合していないと判定した場合に当該OA機器ドライバプログラムによる制御に適合しているOA機器を探索する探索手段として機能させるためのプログラムをさらに含むことを特徴とするOA機器ドライバプログラム。
The OA device driver program according to any one of claims 1 to 3, wherein
A program for causing the computer to function as search means for searching for OA equipment suitable for control by the OA equipment driver program when the suitability determination means determines that the computer is not suitable, OA device driver program.
請求項1乃至3記載のいずれか一項のOA機器ドライバプログラムであって、
前記コンピュータを、当該OA機器ドライバプログラムの起動時に自身のアドレス情報を記憶する手段と、
該アドレス情報が前回起動時のアドレス情報と異なる場合に当該OA機器ドライバプログラムによる制御に適合しているOA機器を探索する探索手段として機能させるためのプログラムをさらに含むことを特徴とするOA機器ドライバプログラム。
The OA device driver program according to any one of claims 1 to 3, wherein
Means for storing the address information of the computer when the OA device driver program is started,
An OA device driver further comprising a program for functioning as search means for searching for an OA device suitable for control by the OA device driver program when the address information is different from the address information at the time of the previous activation. program.
請求項4乃至6のいずれか一項記載のOA機器ドライバプログラムであって、
前記コンピュータを、前記探索手段が当該OA機器ドライバプログラムによる制御に適合しているOA機器を発見した場合に、該OA機器の接続先を前記接続先情報として設定する接続先設定手段として機能させるためのプログラムをさらに含むことを特徴とするOA機器ドライバプログラム。
The OA device driver program according to any one of claims 4 to 6, wherein
In order for the computer to function as connection destination setting means for setting a connection destination of the OA equipment as the connection destination information when the search means finds an OA equipment suitable for control by the OA equipment driver program. An OA device driver program, further comprising:
請求項7記載のOA機器ドライバプログラムであって、
前記コンピュータを、前記接続先設定手段が前記接続先情報を設定する場合にその要否の選択を受け付け、その選択に従って前記接続先設定手段の動作を制御する手段として機能させるためのプログラムをさらに含むことを特徴とするOA機器ドライバプログラム。
The OA device driver program according to claim 7, wherein
When the connection destination setting unit sets the connection destination information, the connection destination setting unit receives a selection of whether or not the connection destination information is necessary, and further includes a program for causing the computer to function as a unit that controls an operation of the connection destination setting unit in accordance with the selection. OA equipment driver program characterized by the above-mentioned.
コンピュータを、請求項1乃至8のいずれか一項記載のOA機器ドライバプログラムをインストールするインストーラ装置として機能させるためのインストーラプログラムであって、
前記コンピュータを、
指定された情報端末に指定されたOA機器ドライバプログラムをインストールするインストール手段と、
該手段によるインストール前に、前記指定されたOA機器ドライバプログラムに適合し、かつ前記指定された情報端末から制御可能な状態の装置を検索する装置検索手段と、
該手段が検索対象の装置は存在しないと認識した場合に前記インストール手段によるインストールを中止するインストール中止手段として機能させるためのプログラムを含むことを特徴とするインストーラプログラム。
An installer program for causing a computer to function as an installer device for installing the OA device driver program according to any one of claims 1 to 8,
Said computer,
Installation means for installing a specified OA device driver program on a specified information terminal;
A device search unit that searches for a device that is compatible with the specified OA device driver program and is controllable from the specified information terminal before installation by the unit;
An installer program characterized by including a program for functioning as installation canceling means for canceling installation by the installation means when the means recognizes that there is no device to be searched.
請求項9記載のインストーラプログラムであって、
前記コンピュータを、前記インストール手段がインストールを行う場合に、インストール対象のOA機器ドライバプログラムについての前記接続先情報として、前記装置検索手段が発見した装置の接続先情報を登録する接続先情報登録手段として機能させるためのプログラムをさらに含むことを特徴とするインストーラプログラム。
An installer program according to claim 9, wherein:
When the installation unit performs the installation, the connection unit registers the connection destination information of the device found by the device search unit as the connection destination information for the OA device driver program to be installed. An installer program further comprising a program for causing the program to function.
請求項10記載のインストーラプログラムであって、
前記接続先情報登録手段は、前記装置検索手段が複数の装置を発見した場合にそのいずれか1つの選択を受け付け、選択された装置の接続先情報のみを登録する機能を有することを特徴とするインストーラプログラム。
An installer program according to claim 10, wherein
The connection destination information registration unit has a function of accepting selection of any one of the plurality of devices when the device search unit finds the plurality of devices, and registering only connection destination information of the selected device. Installer program.
請求項10又は11記載のインストーラプログラムであって、
前記コンピュータを、前記接続先情報登録手段が前記接続先情報を登録する場合にその要否の選択を受け付け、その選択に従って前記接続先情報登録手段の動作を制御する手段として機能させるためのプログラムをさらに含むことを特徴とするインストーラプログラム。
The installer program according to claim 10, wherein:
When the connection destination information registration unit registers the connection destination information, the computer accepts a selection as to whether or not the connection destination information is required, and causes the computer to function as a unit that controls the operation of the connection destination information registration unit in accordance with the selection. An installer program, further comprising:
請求項9乃至12のいずれか一項記載のインストーラプログラムであって、
前記コンピュータを、前記インストール中止手段が前記インストールを中止する場合にその要否の選択を受け付け、その選択に従って前記インストール中止手段の動作を制御する手段として機能させるためのプログラムをさらに含むことを特徴とするインストーラプログラム。
An installer program according to any one of claims 9 to 12, wherein
A program for causing the computer to function as a means for accepting selection of necessity when the installation canceling unit cancels the installation and controlling the operation of the installation canceling unit according to the selection is further included. Installer program to do.
請求項9乃至13のいずれか一項記載のインストーラプログラムであって、
前記コンピュータを、前記装置検索手段による検索を行う範囲の指定を受け付ける手段として機能させるためのプログラムを更に含み、
前記装置検索手段の機能は、該手段が受け付けた範囲のみを対象に前記検索を行う機能であることを特徴とするインストーラプログラム。
An installer program according to any one of claims 9 to 13, wherein
The apparatus further includes a program for causing the computer to function as a unit that receives designation of a range to be searched by the device search unit,
An installer program, wherein the function of the device search means is a function of performing the search only for a range accepted by the means.
請求項9乃至14のいずれか一項記載のインストーラプログラムであって、
前記コンピュータを、前記OA機器ドライバプログラムのインストール先となる前記情報端末が該プログラムによって前記適合判定手段として機能する場合に該手段が前記判定を行う時期
を指定する手段として機能させるためのプログラムを更に含むことを特徴とするインストーラプログラム。
An installer program according to any one of claims 9 to 14, wherein
When the information terminal on which the OA device driver program is to be installed functions as the suitability determining means by the program, the computer further causes the computer to function as means for designating a time at which the means performs the determination. An installer program characterized by including:
請求項9乃至15のいずれか一項記載のインストーラプログラム及び該インストーラプログラムによってインストールする請求項1乃至8のいずれか一項記載の1又は複数のOA機器ドライバプログラムを記録したコンピュータ読み取り可能な記録媒体。An installer program according to any one of claims 9 to 15, and a computer-readable recording medium storing one or more OA device driver programs according to any one of claims 1 to 8, which is installed by the installer program. . 請求項1乃至8のいずれか一項記載のOA機器ドライバプログラムをインストールするインストーラ装置であって、
指定された情報端末に指定されたOA機器ドライバプログラムをインストールするインストール手段と、
該手段によるインストール前に、前記指定されたOA機器ドライバに適合し、かつ前記指定された情報端末から制御可能な状態の装置を検索する装置検索手段と、
該手段が検索対象の装置は存在しないと認識した場合に前記インストール手段によるインストールを中止するインストール中止手段とを有することを特徴とするインストーラ装置。
An installer apparatus for installing the OA equipment driver program according to any one of claims 1 to 8,
Installation means for installing a specified OA device driver program on a specified information terminal;
Device searching means for searching for a device which is compatible with the specified OA device driver and which can be controlled from the specified information terminal before installation by the means;
An installation stopping means for stopping the installation by the installing means when the means recognizes that there is no device to be searched.
請求項17記載のインストーラ装置であって、
前記インストール手段がインストールを行う場合に、インストール対象のOA機器ドライバプログラムについての前記接続先情報として、前記装置検索手段が発見した装置の接続先情報を登録する接続先情報登録手段を有することを特徴とするインストーラ装置。
The installer device according to claim 17, wherein
When the installation unit performs the installation, the connection unit information registration unit registers the connection destination information of the device found by the device search unit as the connection destination information for the OA device driver program to be installed. And the installer device.
請求項17又は18記載のインストーラ装置であって、
前記インストール中止手段が前記インストールを中止する場合にその要否の選択を受け付け、その選択に従って前記インストール中止手段の動作を制御する手段を有することを特徴とするインストーラ装置。
The installer device according to claim 17, wherein:
An installer apparatus, comprising: means for accepting selection of necessity of the installation when the installation canceling unit cancels the installation, and controlling operation of the installation canceling unit according to the selection.
請求項1乃至8のいずれか一項記載のOA機器ドライバプログラムをインストールするインストール方法であって、
指定された情報端末に指定されたOA機器ドライバプログラムをインストールし、そのインストール前に、前記指定されたOA機器ドライバに適合し且つ前記指定された情報端末から制御可能な状態の装置を検索し、検索対象の装置が存在しなかった場合に前記インストールを中止することを特徴とするインストール方法。
An installation method for installing the OA device driver program according to any one of claims 1 to 8,
Installing the specified OA device driver program on the specified information terminal, and searching for a device that is compatible with the specified OA device driver and is in a controllable state from the specified information terminal before the installation; An installation method characterized by canceling the installation when there is no device to be searched.
請求項20記載のインストール方法であって、
前記インストールを行う場合に、インストール対象のOA機器ドライバプログラムについての前記接続先情報として、前記検索において発見した装置の接続先情報を登録することを特徴とするインストール方法。
21. The installation method according to claim 20, wherein
When the installation is performed, connection destination information of a device found in the search is registered as the connection destination information for the OA device driver program to be installed.
請求項20又は21記載のインストール方法であって、
前記インストール中止の要否の選択を受け付け、その選択に従って前記インストールを中止するか否かを決定することを特徴とするインストール方法。
22. The installation method according to claim 20, wherein
An installation method characterized by receiving a selection of whether or not to stop the installation, and determining whether or not to stop the installation according to the selection.
OA機器を制御する制御手段を有するOA機器制御装置であって、
制御対象とするOA機器を指定する接続先情報を取得する接続先情報取得手段と、
該手段が前記接続先情報を取得した場合、該情報によって指定された接続先に接続されているOA機器が当該OA機器ドライバ装置による制御に適合しているか否か判定する適合判定手段と、
該手段が適合していないと判定した場合には前記OA機器の制御を行わない制御中止手段とを有することを特徴とするOA機器制御装置。
An OA equipment control device having control means for controlling the OA equipment,
Connection destination information obtaining means for obtaining connection destination information specifying an OA device to be controlled;
When the means obtains the connection destination information, a conformity determination means for determining whether or not the OA device connected to the connection destination specified by the information is suitable for control by the OA device driver device;
An OA equipment control device, comprising: a control suspending means for not controlling the OA equipment when it is determined that the means is not suitable.
請求項23記載のOA機器制御装置であって、
前記適合判定手段は、当該OA機器ドライバプログラムが最初に実行された場合のみ前記判定を行う手段であることを特徴とするOA機器制御装置。
The OA equipment control device according to claim 23,
The OA equipment control device, wherein the suitability determination means is a means for performing the determination only when the OA equipment driver program is first executed.
制御対象とするOA機器を指定する接続先情報を取得する接続先情報取得手順と、
該手順で前記接続先情報を取得した場合、該情報によって指定された接続先に接続されているOA機器が当該OA機器ドライバ装置による制御に適合しているか否か判定する適合判定手順と、
該手順で適合していないと判定した場合には前記OA機器の制御を行わない制御中止手順とを有することを特徴とするOA機器制御方法。
Connection destination information obtaining procedure for obtaining connection destination information specifying an OA device to be controlled;
When the connection destination information is acquired in the procedure, a conformity determination procedure for determining whether or not the OA device connected to the connection destination specified by the information conforms to the control by the OA device driver device;
A control suspension procedure for not controlling the OA device when it is determined that the OA device is not adapted in the procedure.
請求項25記載のOA機器制御方法であって、
前記適合判定手順は、当該OA機器ドライバプログラムが最初に実行された場合のみ前記判定を行う手順であることを特徴とするOA機器制御方法。
The OA equipment control method according to claim 25,
The OA equipment control method, wherein the suitability determination procedure is a procedure for performing the determination only when the OA equipment driver program is first executed.
JP2002371908A 2002-12-24 2002-12-24 Oa equipment driver program, installer program, storage medium, installer system, installation method, oa equipment control device, and oa equipment control method Pending JP2004206229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002371908A JP2004206229A (en) 2002-12-24 2002-12-24 Oa equipment driver program, installer program, storage medium, installer system, installation method, oa equipment control device, and oa equipment control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002371908A JP2004206229A (en) 2002-12-24 2002-12-24 Oa equipment driver program, installer program, storage medium, installer system, installation method, oa equipment control device, and oa equipment control method

Publications (1)

Publication Number Publication Date
JP2004206229A true JP2004206229A (en) 2004-07-22

Family

ID=32810665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002371908A Pending JP2004206229A (en) 2002-12-24 2002-12-24 Oa equipment driver program, installer program, storage medium, installer system, installation method, oa equipment control device, and oa equipment control method

Country Status (1)

Country Link
JP (1) JP2004206229A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066092A (en) * 2005-08-31 2007-03-15 Canon Inc Information processor, network device, control method of them, computer program, and computer readable storage medium
JP2010015244A (en) * 2008-07-01 2010-01-21 Brother Ind Ltd Install system and program
JP2012014242A (en) * 2010-06-29 2012-01-19 Brother Ind Ltd Device control program, and device control method
US9191539B2 (en) 2010-06-29 2015-11-17 Brother Kogyo Kabushiki Kaisha Function based device registration for data processing apparatus
US9253347B2 (en) 2011-06-24 2016-02-02 Brother Kogyo Kabushiki Kaisha Data processing device
JP2016139441A (en) * 2016-05-12 2016-08-04 ブラザー工業株式会社 Device control program and device control method
JP2019016221A (en) * 2017-07-07 2019-01-31 キヤノン株式会社 Information processing apparatus, program, and control method
US10868926B2 (en) 2010-06-29 2020-12-15 Brother Kogyo Kabushiki Kaisha Display of two functions of device used with data processing apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066092A (en) * 2005-08-31 2007-03-15 Canon Inc Information processor, network device, control method of them, computer program, and computer readable storage medium
JP2010015244A (en) * 2008-07-01 2010-01-21 Brother Ind Ltd Install system and program
US11223730B2 (en) 2010-06-29 2022-01-11 Brother Kogyo Kabushiki Kaisha Display of two functions of device used with data processing apparatus
JP2012014242A (en) * 2010-06-29 2012-01-19 Brother Ind Ltd Device control program, and device control method
US9191539B2 (en) 2010-06-29 2015-11-17 Brother Kogyo Kabushiki Kaisha Function based device registration for data processing apparatus
US9294647B2 (en) 2010-06-29 2016-03-22 Brother Kogyo Kabushiki Kaisha Function-based device registration for a data processing apparatus
US9538025B2 (en) 2010-06-29 2017-01-03 Brother Kogyo Kabushiki Kaisha Registration of two functions of device used with data processing apparatus
US9942423B2 (en) 2010-06-29 2018-04-10 Brother Kogyo Kabushiki Kaisha Display of two functions of device used with data processing apparatus
US11729321B2 (en) 2010-06-29 2023-08-15 Brother Kogyo Kabushiki Kaisha Display of two functions of device used with data processing apparatus
US10375257B2 (en) 2010-06-29 2019-08-06 Brother Kogyo Kabushiki Kaisha Display of two functions of device used with data processing apparatus
US10868926B2 (en) 2010-06-29 2020-12-15 Brother Kogyo Kabushiki Kaisha Display of two functions of device used with data processing apparatus
US9253347B2 (en) 2011-06-24 2016-02-02 Brother Kogyo Kabushiki Kaisha Data processing device
JP2016139441A (en) * 2016-05-12 2016-08-04 ブラザー工業株式会社 Device control program and device control method
JP6995516B2 (en) 2017-07-07 2022-01-14 キヤノン株式会社 Information processing equipment, installer
JP2019016221A (en) * 2017-07-07 2019-01-31 キヤノン株式会社 Information processing apparatus, program, and control method

Similar Documents

Publication Publication Date Title
JP4240690B2 (en) Information processing apparatus, information processing method, information processing system, and recording medium
JP4943520B2 (en) Printer control apparatus, printer control method, printing system, program, and recording medium
US8553247B2 (en) Image processing apparatus, control method, storing medium having computer-readable program therein, and program
US20080055640A1 (en) Communication system and printer therefor
JP5665437B2 (en) Network device management system, network device management device, client device and method thereof
JP2005100270A (en) Printing control program and printer
US8514422B2 (en) Image forming apparatus that controls job processing on the basis of authentication
JP4921151B2 (en) Data processing apparatus, printing apparatus, printing processing method, storage medium, program
JP2004213635A (en) Image processor, image processing method and control program
JP4981936B2 (en) Installation method of installer and printer driver
JP2004206229A (en) Oa equipment driver program, installer program, storage medium, installer system, installation method, oa equipment control device, and oa equipment control method
JP2009069873A (en) Network equipment system, network equipment, program, information processing method
JP7131044B2 (en) Program and communication system
JPH10171634A (en) Information processing terminal and program updating system
US8255481B2 (en) Information delivery device and information processing method
JP2004364190A (en) Communication apparatus and program for realizing the apparatus
JP2007280171A (en) Automatic driver installer
JP2002229751A (en) Printer driver disseminating system, printer, server device, and computer readable medium
JP4792744B2 (en) Image processing device
JP2008171096A (en) Information processor with update function
JP2010128859A (en) Computer program for controlling job processing, server device, portable device and system
JP2007118614A (en) Printing system, control method, program and storage medium
JP2002287931A (en) Information processor, print control device, pull-print system, information processing method, data processing method, storage medium and program
JP2009027498A (en) Image processing apparatus and image processing program
US11327693B2 (en) Computer-readable medium, information processing device, and Method for installing appropriate program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080602

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090317