JP6447704B2 - Information processing apparatus, processing method thereof, and program - Google Patents
Information processing apparatus, processing method thereof, and program Download PDFInfo
- Publication number
- JP6447704B2 JP6447704B2 JP2017234944A JP2017234944A JP6447704B2 JP 6447704 B2 JP6447704 B2 JP 6447704B2 JP 2017234944 A JP2017234944 A JP 2017234944A JP 2017234944 A JP2017234944 A JP 2017234944A JP 6447704 B2 JP6447704 B2 JP 6447704B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- port
- printer
- input
- file
- 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.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、情報処理装置で利用するデバイスの情報の設定を容易にする仕組みに関する。 The present invention relates to a mechanism for facilitating setting of device information used in an information processing apparatus.
従来、ネットワーク上の複数のプリンタを複数のクライアント端末で共有する印刷システムがある。このような印刷システムでは、各クライアント端末にプリンタドライバをインストールする際に、プリンタドライバの設定がクライアント端末を利用するユーザ任せになっている場合があり、それらの管理を難しくさせていた。そこで、管理者は、各クライアント端末にインストールするプリンタドライバの設定について文書でユーザに説明を行い、ユーザ自身が手作業で個別に設定する作業が行われていた。
この運用では、ユーザによる負担が大きいため、各クライアント端末で利用するプリンタを容易に導入・設定する技術が開示されている。(特許文献1)
Conventionally, there is a printing system in which a plurality of printers on a network are shared by a plurality of client terminals. In such a printing system, when a printer driver is installed in each client terminal, setting of the printer driver may be left to a user who uses the client terminal, which makes it difficult to manage them. Therefore, the administrator explained the setting of the printer driver to be installed in each client terminal to the user in a document, and the user himself / herself manually performed the setting individually.
In this operation, since the burden on the user is heavy, a technique for easily introducing and setting a printer used in each client terminal is disclosed. (Patent Document 1)
しかしながら、実施の運用においては、クライアント端末に導入されているプリンタ(例えば、オペレーティングシステムのプリンタ管理画面で表示されるプリンタオブジェクトに対応するプリンタ情報)を簡単に削除したいという要望がある。 However, in operation, there is a demand for easily deleting a printer (for example, printer information corresponding to a printer object displayed on a printer management screen of an operating system) installed in a client terminal.
この時、特許文献1の技術において、削除するプリンタのプリンタ名(プリンタオブジェクト名称)を設定しておき、クライアント端末でインストーラセットを実行することで、プリンタを削除させることも考えられる。
At this time, in the technique of
プリンタの削除方法として、上述の他、プリンタのポート(例えば、プリンタのIPアドレス)を指定する方法があるが、この指定したポートを利用しているプリンタを削除すると、ユーザが意図しないプリンタが削除されてしまうという問題があった。 In addition to the above-described method for deleting a printer, there is a method for specifying a printer port (for example, the IP address of the printer). If a printer using the specified port is deleted, the printer not intended by the user is deleted. There was a problem of being.
これは、現在のWindows(登録商標)のプリンタの設定では、プリンタプール(図22の2201)という設定があり、1つのプリンタオブジェクトに対して複数のポートを設定することができるためである。 This is because current Windows (registered trademark) printer settings include a printer pool (2201 in FIG. 22), and a plurality of ports can be set for one printer object.
プリンタプールとは、印刷の負荷分散をさせるために用いられるものであり、具体的には、1つのプリンタオブジェクトに対して、筐体が異なるプリンタのポートを割り当て、印刷時に印刷を自動的に振り分ける機能である。 A printer pool is used to distribute printing load. Specifically, a printer port with a different housing is assigned to one printer object, and printing is automatically distributed during printing. It is a function.
すなわち、利用可能なポートがあるにも関わらず、プリンタが削除されてしまうという問題があった。また、複数のポートが設定されているため、プリンタの削除ができずエラーとなってしまい、プリンタの削除処理が適切になされないという問題も発生する。 That is, there is a problem that the printer is deleted even though there is an available port. In addition, since a plurality of ports are set, the printer cannot be deleted, resulting in an error, and there is a problem that the printer deletion process is not properly performed.
そこで、本発明は、クライアント装置に登録されているデバイスを適切に削除できる仕組みを提供することを目的とする。 Accordingly, an object of the present invention is to provide a mechanism that can appropriately delete a device registered in a client apparatus.
本発明の目的を達成するための、クライアント装置に登録されるデバイス情報をメンテナンスするファイルを作成する情報処理装置であって、ポート情報の指定によりデバイスを削除すべく、クライアント装置で削除対象とするポート情報を指定するポート指定手段と、前記ポート指定手段で指定されたポート情報を含む定義情報を作成する定義情報作成手段と、前記定義情報に従って、クライアント装置に登録されているポート情報を含むデバイス情報を取得し、当該クライアント装置に登録されているデバイス情報に、前記ポート指定手段で指定されたポート情報が設定され、且つ、複数のポート情報が設定されている場合に、前記ポート指定手段で指定されたポート情報の設定を解除する制御を実行し、前記複数のポート情報すべてが前記ポート指定手段で指定されている場合に、前記複数のポート情報が設定されているデバイス情報を削除する制御を実行することが可能なファイルを作成するファイル作成手段とを備えることを特徴とする。 An information processing apparatus for creating a file for maintaining device information registered in a client apparatus for achieving the object of the present invention, wherein the client apparatus deletes a device by specifying port information. Port specifying means for specifying port information, definition information generating means for generating definition information including port information specified by the port specifying means, and a device including port information registered in a client device according to the definition information When the port information designated by the port designation means is set in the device information registered in the client device and a plurality of port information is set, the port designation means Executes control to cancel the setting of specified port information, and all the multiple port information And a file creation means for creating a file capable of executing a control for deleting the device information in which the plurality of port information is set when designated by the port designation means. .
本発明によれば、クライアント装置に登録されているデバイスを適切に削除できる。 According to the present invention, a device registered in a client device can be appropriately deleted.
以下、本発明の実施の形態を図面を参照して詳細に説明する。
図1は、本発明の実施形態に係る情報処理システムの概略構成を示す図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing a schematic configuration of an information processing system according to an embodiment of the present invention.
図1において、本発明の実施形態に係る情報処理システムでは、複数のクライアント端末101,102と、サーバ103と、プリンタ104,105とが、LAN等のネットワーク106を介して相互に通信可能に接続されている。クライアント端末101,102及びサーバ103は、コンピュータ等の情報処理装置で構成される。プリンタ104,105は、プリント機能のみを有する装置であっても、プリントやスキャン、FAX送受信等の複数の機能を有する複合機であってもよい。なお、情報処理システムを構成する装置(デバイス)の種類については上述したものや図示例に限定されず、また、台数についても限定されることはない。
なお、本実施形態では、クライアント端末101を管理者の装置(情報処理装置)とし、クライアント端末102を一般者の装置として説明する。
In FIG. 1, in an information processing system according to an embodiment of the present invention, a plurality of
In this embodiment, the
図2は、図1のクライアント端末101,102及びサーバ103の基本的なハードウェア構成の一例を示すブロック図である。
FIG. 2 is a block diagram illustrating an example of a basic hardware configuration of the
図2において、CPU201は、システムバス204に接続されるROM202、RAM203、及びメモリ211、並びに後述する各種コントローラを統括的に制御する。メモリ211は、ハードディスク(HD)やフロッピー(登録商標)ディスク(FD)或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等で構成される。
In FIG. 2, a
RAM203は、CPU201の主メモリ、ワークエリア等として機能する。ROM202又はメモリ211には、CPU201の制御プログラムであるBIOS(Basic Input/Output System)やオペレーティングシステム(Operating System:OS)が記憶されている。また、ROM202又はメモリ211には、サーバ103或いはクライアント端末101,102が有する機能を実現するために必要な各種プログラムが記憶されている。各種プログラムには、ブートプログラム、ブラウザソフトウエア、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、各種データ等が含まれる。
The
後述する処理を実行するためのプログラムは、メモリ211に格納されており、必要に応じてRAM203にロードされることによりCPU201によって実行される。また、後述する処理の実行時にCPU201が用いる各種データ及び各種テーブルもメモリ211に格納されている。
A program for executing processing to be described later is stored in the
入力コントローラ205は、キーボード(KB)やマウス等のポインティングデバイス(PD)等で構成される操作入力装置(KB/PD)からの入力を制御する。ビデオコントローラ206は、ディスプレイ210への表示を制御する。ディスプレイ210は、CRTや液晶等で構成される。CPU201は、例えば、RAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ210上での表示を可能としている。また、CPU201は、ディスプレイ210上の不図示のマウスカーソル等でのユーザ(または管理者)による指示の受付を可能とする。
The
メモリコントローラ207は、メモリ211へのアクセスを制御する。通信I/Fコントローラ208は、ネットワーク106を介して、プリンタ104等の外部機器との接続及び通信の制御を行う。通信I/Fコントローラ208は、例えば、TCP/IPを用いたインターネット通信等が可能である。
The
図3は、クライアント端末101,102及びサーバ103のモジュール構成を概略的に示したブロック図である。
FIG. 3 is a block diagram schematically showing the module configuration of the
図3において、クライアント端末101(管理者の装置)は、本発明に関わる機能構成として、OS301と、定義ファイル作成ツール302と、プリンタドライバインストーラ(デバイスドライバインストーラ)303とを備える。一方、クライアント端末102(一般者の装置)は、本発明に関わる機能構成としてそれぞれが、OS304と、インストーラセット/自己解凍形式ファイル305とを備える。なお、自己解凍形式ファイルでなく、通常の圧縮ファイルであってもよい。通常の圧縮ファイルである場合には、ユーザが解凍して、フォルダ内にある実行形式のファイルを実行するものとする。
In FIG. 3, the client terminal 101 (administrator apparatus) includes an
なお、本実施形態では、クライアント端末101で定義ファイル作成ツールを実行してインストーラセットを作成する構成としたが、サーバ103で実現する構成であってもよい。
In this embodiment, the definition file creation tool is executed on the
OS301は、クライアント端末101上で動作するOSであり、例えば、Microsoft Windows(登録商標)等である。定義ファイル作成ツール302は、後述する図6に示す処理を実行して、定義ファイル(インストール情報)と、クライアント端末101からクライアント端末102に送信されるインストーラセット/自己解凍形式ファイル305を作成するためのソフトウェアモジュールである。「定義ファイル」とは、例えば、図13に示す、プリンタドライバのインストール、アインストール実行時(ポート外し含む)に使用され、プリンタドライバインストール、アインストール時に設定する値がファイルとして出力されたものである。「プリンタドライバインストール時に設定する値(例えば、プリンタ管理画面で表示されるプリンタオブジェクト(プリンタアイコン)に対応してオペレーティングシステムによって管理される値)」(設定情報)には、プリンタ名称、ホスト名またはIPアドレス、ポート名称、プロトコル、LPR設定、場所、コメントやフォルダ名称、デフォルトプリンタなどがある。プリンタ名称、ホスト名またはIPアドレス、ポート名称、プロトコル、LPR設定、場所、及びコメントについては、後述する図9の904のディスプレイ210の表示画面上で設定することができる。また、フォルダ名称、デフォルトプリンタ等については、後述する図12の1202のディスプレイ210の表示画面上で設定することができる。
The OS 301 is an OS that runs on the
「インストーラセット」とは、図5の501に示すように、プリンタドライバインストーラや実行モジュール、定義ファイルで構成されたものである。「自己解凍形式ファイル」とは、複数のファイルを圧縮して1つの実行ファイル(Setup.exe)にまとめたファイルのことである。自己解凍形式ファイルが実行されると、自動的に複数のファイルが解凍し、予め指定されていた実行ファイルを起動する機能を持つ一般的なファイル形式である。
The “installer set” includes a printer driver installer, an execution module, and a definition file, as indicated by
プリンタドライバインストーラは、プリンタドライバをクライアント端末102等にインストールするためのソフトウェアモジュールであり、その内部にはプリンタドライバが格納されている。なお、プリンタドライバインストーラは、アインストールやプリンタの設定更新なども実行可能なソフトウェアモジュールである。プリンタドライバインストーラ303が実行されると、内部に格納されているプリンタドライバが、例えば、クライアント端末102にインストールされる。また、プリンタドライバインストーラは、定義ファイル作成ツール302がインストーラセット/自己解凍形式ファイル305を作成する際に使用される。
The printer driver installer is a software module for installing the printer driver in the
ここで「プリンタドライバ」とは、ドライバ情報であるINFファイルとプリンタドライバモジュールとを持ち合わせたプリンタを制御するためのデバイスドライバである。「INFファイル」は、クライアント端末102等にプリンタドライバをインストールする際に必要な設定ファイルであり、どのドライバがどのファイルを使用し、どこにファイルを格納するかが記述されている。INFファイルの記述方法は、INIファイルフォーマットに準拠している。
Here, the “printer driver” is a device driver for controlling a printer having an INF file as driver information and a printer driver module. The “INF file” is a setting file necessary when installing the printer driver in the
OS304は、クライアント端末102上で動作するOSであり、例えば、Microsoft Windows(登録商標)等から成る。インストーラセット/自己解凍形式ファイル305は、管理者の所望の設定でクライアント端末102に所定のプリンタドライバをインストール、アインストール、プリンタ情報の設定を変更するための自己解凍形式ファイルである。インストーラセット/自己解凍形式ファイル305は、クライアント端末101で作成され、クライアント端末102に送信されて、RAM203やメモリ211に格納される。
The
次に、図4の機能ブロック図を参照して、本システムにおけるクライアント端末101の装置の各機能ブロックについて説明する。なお、各機能は、CPUにより実行され、各機能で実行される詳細な処理については、図6のフローチャートで説明する。
まず、クライアント端末101は、クライアント装置(102)に登録されるデバイス情報をメンテナンスするファイルを作成する情報処理装置である。
ポート指定部401は、ポート情報の指定によりデバイスを削除すべく、クライアント装置で削除対象とするポート情報を指定する機能部である。
定義情報作成部402は、ポート指定部401で指定されたポート情報を含む定義情報を作成する機能部である。
Next, each functional block of the apparatus of the
First, the
The
The definition
また、前記ポート指定部401または、後述するデバイス名指定部404またはドライバ名指定部405による指定に従って、デバイスの削除方法を含む定義情報を作成する機能部である。
なお、定義情報は、デバイス名指定部404による指定の場合には、デバイス名を含み、ドライバ名指定部405の場合には、ドライバ名を含む。
Further, the functional unit generates definition information including a device deletion method in accordance with designation by the
The definition information includes a device name in the case of designation by the device
ファイル作成部403は、定義情報に従って、クライアント装置に登録されているポート情報を含むデバイス情報を取得し、当該クライアント装置に登録されているデバイス情報に、前記ポート指定部401で指定されたポート情報が設定され、且つ、複数のポート情報が設定されている場合に、前記ポート指定部401で指定されたポート情報の設定を解除する制御を実行し、前記複数のポート情報すべてが前記ポート指定部401で指定されている場合に、前記複数のポート情報が設定されているデバイス情報を削除する制御を実行することが可能なファイルを作成する機能部である。
The
なお、作成するファイルは、デバイスを削除することが可能な実行モジュールを含む。また、実行モジュールは、削除対象のデバイスが複数のポートが設定され、削除するデバイスのポートがすべて削除対象のポートである場合に、デバイス名でデバイスを削除する処理を実行する実行モジュールである。さらに、実行モジュールは、デバイス名ごとに、デバイス名に基づくデバイス情報を削除するか、デバイス名に基づきデバイスを削除せずに、デバイス名に対応するデバイス情報のポート情報を解除するかを決定する処理を実行する実行モジュールである。
デバイス名指定部404は、デバイス名の指定によりデバイスを削除すべく、クライアント装置で削除対象とするデバイス名を指定する機能部である。
ドライバ名指定部405は、ドライバ名の指定によりデバイスを削除すべく、クライアント装置で削除対象とするドライバ名を指定する機能部である。
デバイス登録情報入力部406は、クライアント端末に登録するデバイスの設定情報を入力する機能部である。
また、定義情報作成部402は、前記デバイス登録情報入力部406による設定情報に従って、登録するデバイス情報を含む定義情報を作成する。
ファイル作成部403は、定義情報に従って、クライアント装置にデバイスを登録する制御を実行可能なファイルを作成する。
なお、デバイスは、プリンタである。
Note that the file to be created includes an execution module that can delete the device. The execution module is an execution module that executes a process of deleting a device with a device name when a plurality of ports are set for the device to be deleted and all the ports of the device to be deleted are ports to be deleted. Further, for each device name, the execution module determines whether to delete the device information based on the device name or to cancel the port information of the device information corresponding to the device name without deleting the device based on the device name. It is an execution module that executes processing.
The device
The driver
The device registration
Further, the definition
The
The device is a printer.
次に、図5の概略図を参照して、本システムおける処理概要を説明する。 Next, an outline of processing in this system will be described with reference to the schematic diagram of FIG.
クライアント端末101では、定義ファイル作成ツールを実行し、プリンタドライバインストーラの指定、クライアント端末102に登録するプリンタの設定情報の入力を受ける。本実施形態では、特に、削除方法を指定し、プリンタの削除のための設定をすることが可能なである。
定義ファイル作成ツールにより、インストーラセットの作成が実行されると、インストーラセット501が作成される。
作成されたインストーラセットは、メールで配布、サーバ103へ格納しダウンロードすることで配布され、クライアント端末102に保存される。
The
When creation of an installer set is executed by the definition file creation tool, an
The created installer set is distributed by mail, stored in the
ユーザによるインストーラセットへの実行指示により、インストーラセットが展開され、定義ファイルに記載されている情報に従って、プリンタがクライアント端末102に登録される。また、すでに登録されているプリンタがあり、削除指定があるプリンタについては、プリンタの削除やポートの解除が実行される。
The installer set is expanded according to the execution instruction to the installer set by the user, and the printer is registered in the
このプリンタ登録に関する制御は、プリンタドライバインストーラを介して制御されるものとするが、実行モジュールが直接OSのAPI(プリンタ作成、プリンタ削除、プリンタ情報の変更する等のAPI)を実行してプリンタ登録の制御をしてもよい。 This printer registration control is controlled via the printer driver installer, but the execution module directly executes the OS API (API for creating a printer, deleting a printer, changing printer information, etc.) to register the printer. You may control.
以下、図6、図14、図17、図18、図19のフローチャートを参照して、本実施形態のシステムにおける処理についてより詳細に説明する。
なお、各ステップについては、装置のCPU201が処理を実行する。
Hereinafter, the processing in the system of the present embodiment will be described in more detail with reference to the flowcharts of FIGS. 6, 14, 17, 18, and 19.
In addition, about each step, CPU201 of an apparatus performs a process.
まず初めに、図6のインストーラセット作成処理のフローチャートについて説明する。なお、説明にあたり図7〜図13、図15を用いて説明する。図6の処理は、クライアント端末101(管理者の装置)で実行される処理である。
ステップS601は、ユーザの指示に従って、設定ファイル作成ツールを起動する。起動されると、図7の設定ファイル作成ツールの初期画面が表示される。
ステップS602は、図7の初期画面の701の追加ボタンが押下されると、図8の800のインストーラ情報設定画面を表示する。
First, the flowchart of the installer set creation process in FIG. 6 will be described. The description will be made with reference to FIGS. 7 to 13 and FIG. The process of FIG. 6 is a process executed by the client terminal 101 (administrator apparatus).
In step S601, the setting file creation tool is activated in accordance with a user instruction. When activated, the initial screen of the setting file creation tool of FIG. 7 is displayed.
In step S602, when the
ステップS603は、図8の800のインストーラ情報設定画面の参照ボタン801が押下され、ユーザにより、クライアント端末101に記憶されているインストーラが指定されることで、インストーラ情報を受け付ける。
In step S603, the installer button is received by pressing the
ステップS604は、図8の802の追加ボタンが押下されると、新規プリンタ作成か既存プリンタ削除が選択可能となり、新規プリンタ作成か既存プリンタ削除のどちらが選択されたかを判定する。なお、「新規プリンタ作成」「既存プリンタ削除」の選択は、図9の901、902に示す通りに表示され、選択可能となる。「新規プリンタ作成901」が押下されたと判定した場合には、ステップS605へ処理を移し、「既存プリンタ削除902」が押下されたと判定した場合には、ステップS609へ処理を移す。
In step S604, when the
ステップS605は、インストーラに含まれる設定ファイルからドライバ名称を取得する。具体的には、図15に示すインストーラに含まれる設定ファイルからドライバ名称を取得する。なお、ドライバ名称は、一般的にはプリンタ機種名が設定されている。すなわち、ドライバ名称を選択することで、追加したい機種が決定できる。
ステップS606は、取得したドライバ名称を図9の903のプリンタ情報設定画面に表示すべく設定する。
ステップS607は、図9の903のプリンタ情報設定画面を表示する。
In step S605, the driver name is acquired from the setting file included in the installer. Specifically, the driver name is acquired from the setting file included in the installer shown in FIG. Note that a printer model name is generally set as the driver name. That is, by selecting the driver name, the model to be added can be determined.
In step S606, the acquired driver name is set to be displayed on the printer
In step S607, a printer
ステップS608は、ユーザの操作により、プリンタ情報設定画面を介してプリンタ情報の入力を受け付け、入力情報を取得する。プリンタ情報が入力されたプリンタ情報設定画面の例が図9の904である。ここで905のOKボタンが押下されると、900のインストーラ情報設定画面に戻り、906の処理情報一覧に情報が追加される。入力された情報はメモリに記憶される。
In step S608, an input of printer information is received through a printer information setting screen by a user operation, and the input information is acquired. An example of the printer information setting screen in which the printer information is input is 904 in FIG. When an
なお、ステップS605〜ステップS608は、クライアント装置に登録するデバイスの設定情報を入力するデバイス登録情報入力処理の一例を示すステップである。
ここで、900のインストーラ情報設定画面で既存プリンタ削除902が押下された場合に説明をする。
ステップS609は、既存プリンタ削除902が押下されると、図10の削除プリンタ情報設定画面1001を表示する。
Steps S605 to S608 are steps showing an example of device registration information input processing for inputting setting information of a device to be registered in the client apparatus.
Here, a case where the existing
In step S609, when the existing
ステップS610は、ユーザの操作により、削除方法の指定を受け付ける。削除方法の指定としては、削除するプリンタオブジェクトの「プリンタ名」、「ドライバ名」、ポートを指定してプリンタを削除するための「ホスト名/IPアドレス」がある。 In step S610, designation of a deletion method is accepted by a user operation. The designation of the deletion method includes “printer name” and “driver name” of the printer object to be deleted, and “host name / IP address” for specifying the port and deleting the printer.
ステップS611は、ユーザからの削除方法の指定に従って、選択された削除方法を判定する。削除方法が「プリンタ名」である場合には、ステップS612へ処理を移す。削除方法が「ドライバ名」である場合には、ステップS613へ処理を移す。削除方法が「ホスト名/IPアドレス」である場合には、ステップS614へ処理を移す。 In step S611, the selected deletion method is determined according to the designation of the deletion method from the user. If the deletion method is “printer name”, the process proceeds to step S612. If the deletion method is “driver name”, the process proceeds to step S613. If the deletion method is “host name / IP address”, the process proceeds to step S614.
ステップS612は、「プリンタ名」を指定状態として、プリンタ名の指定(入力)を受け付ける。すなわち、デバイス名の指定によりデバイスを削除すべく、クライアント装置で削除対象とするデバイス名を指定するデバイス名指定処理の一例を示すステップである。 In step S612, designation (input) of the printer name is accepted with “printer name” as the designated state. That is, this is a step showing an example of a device name designation process for designating a device name to be deleted in the client apparatus in order to delete the device by designating the device name.
ステップS613は、「ドライバ名」を指定状態として、ドライバ名称の指定(入力)を受け付ける。すなわち、ドライバ名の指定によりデバイスを削除すべく、クライアント装置で削除対象とするドライバ名を指定するドライバ名指定処理の一例を示すステップである。 In step S613, designation (input) of the driver name is accepted with “driver name” as the designated state. That is, this is a step showing an example of a driver name designation process for designating a driver name to be deleted in the client device in order to delete the device by specifying the driver name.
ステップS614は、「ホスト名/IPアドレス」を指定状態として、ホスト名またはIPアドレスの指定(入力)を受け付ける。1001の例では、「ホスト名/IPアドレス1002」が指定され、ポート先のIPアドレスが指定されている状態の削除プリンタ情報設定画面である。なお、「ホスト名/IPアドレス1002」の指定は、利用しないポート情報を指定するものである。
In step S614, designation (input) of the host name or IP address is accepted with “host name / IP address” designated. The example of 1001 is a deleted printer information setting screen in a state where “host name /
OKボタンが押下されると、インストーラ情報設定画面900へ戻り。指定した情報はメモリに記憶され、処理情報一覧906に削除するポートの情報やプリンタ名やドライバ名が追加される。
When the OK button is pressed, the installer
次に、インストーラ情報設定画面900でOKボタンが押下された場合の処理を説明する。OKボタンが押下されると、定義ファイル作成ツールの初期画面に戻る。ここで図11の初期画面の1101が押下されると、「新規プリンタ作成」「既存プリンタ削除」で登録された処理情報の選択画面1102が表示される。そして、1103が押下されると、オプション設定画面1201が表示される。
Next, processing when the OK button is pressed on the installer
なお、ステップS605〜ステップS608、ステップS609〜ステップS614の処理は、インストーラ情報設定画面900の追加指定された数分繰り返し処理がされるものとする。
It should be noted that the processing from step S605 to step S608 and step S609 to step S614 is repeated for the number of times specified in the installer
また、ステップS614は、ポート情報の指定によりデバイスを削除すべく、クライアント装置で削除対象とするポート情報を指定するポート指定処理の一例を示すステップである。
ステップS615は、図12のオプション設定画面1201を表示する。
ステップS616は、オプション設定画面1201でオプション設定情報の入力を受け付け、入力情報を取得する。
ステップS617は、定義ファイル作成画面1202を表示し、定義ファイル作成方法の情報の入力を受け付け、入力情報を取得する。
これらの入力情報はメモリに記憶する。
Step S614 is a step showing an example of port designation processing for designating port information to be deleted by the client device in order to delete the device by designating the port information.
In step S615, the option setting screen 1201 shown in FIG. 12 is displayed.
In step S616, input of option setting information is received on the option setting screen 1201, and the input information is acquired.
In step S617, the definition
Such input information is stored in a memory.
ステップS618は、定義ファイル作成画面1202で作成ボタン1203が押下されたか否かを判定する。作成ボタン1203が押下された場合には、インストーラセットの作成を実行するため、ステップS619へ処理を移す。キャンセルボタンが押下されると定義ファイル作成ツールを終了する。なお、初期画面に戻る構成であってもよい。
In step S618, it is determined whether the
ステップS619は、メモリに記憶されている入力情報をもとに、定義ファイルを作成する。定義ファイルに記載される情報の例は、図13である。すなわち、図10で指定されたIPアドレス等のポート情報を含む定義情報を作成する処理(定義情報作成処理)である。 In step S619, a definition file is created based on the input information stored in the memory. An example of information described in the definition file is shown in FIG. That is, it is a process (definition information creation process) for creating definition information including port information such as the IP address specified in FIG.
なお、ステップS619は、指定されたポート情報を含む定義情報を作成する定義情報作成処理の一例を示すステップである。また、ポート指定またはデバイス名指定またはドライバ名指定による指定に従って、デバイスの削除方法を含む定義情報を作成する処理の一例を示すステップである。さらに、定義情報は、デバイス名指定による指定の場合には、デバイス名を含み、ドライバ名指定の場合には、ドライバ名を含む。 Step S619 is a step showing an example of definition information creation processing for creating definition information including specified port information. Further, it is a step showing an example of processing for creating definition information including a device deletion method according to designation by port designation, device name designation or driver name designation. Further, the definition information includes a device name in the case of designation by device name designation, and includes a driver name in the case of designation of a driver name.
ステップS619は、デバイス追加の場合には、デバイス登録情報入力による設定情報に従って、登録するデバイス情報を含む定義情報を作成する処理の一例を示すステップでもある。 Step S619 is also a step showing an example of a process for creating definition information including device information to be registered in accordance with setting information obtained by inputting device registration information in the case of device addition.
図13の1300は定義ファイルの全体のデータを示すデータ図である。1301は、既存プリンタ削除902→1001で入力された削除プリンタ情報を示すデータ図であり、1300の削除プリンタ情報の詳細を示す図である。また、1302は、新規プリンタ作成901→904で入力された追加プリンタ情報を示すデータ図であり、1300の追加プリンタ情報の詳細を示す図である。
削除プリンタ情報1301と追加プリンタ情報1302は何れも複数もつことが可能であり、図9の906の処理情報一覧数分設定されている。
13 is a data diagram showing the entire data of the definition file. 1301 is a data diagram showing the deleted printer information input in the existing
A plurality of deleted printer information 1301 and additional printer information 1302 can be provided, and the number of processing information lists 906 in FIG. 9 is set.
例えば、削除プリンタ情報1301は、図13に示すように、「削除方法=2」でホスト名/IPアドレスを指定して削除できる場合を示しており、削除対象に、指定されたIPアドレスを記憶している。 For example, as shown in FIG. 13, the deletion printer information 1301 indicates a case where the host name / IP address can be specified by “deletion method = 2” and can be deleted, and the specified IP address is stored as the deletion target. doing.
IPアドレスが指定されている場合には、指定されたIPアドレスがポートに設定されているプリンタ情報を削除することが可能となる。なお、上述したように、プリンタプールをONにして、複数のポートが設定されている場合には、すべてのポートが削除対象になっている場合には、プリンタ情報を削除するが、すべてのポートが削除対象になっていない場合には、ポート外し(解除)することになる。 When the IP address is designated, it is possible to delete the printer information in which the designated IP address is set in the port. As described above, when a plurality of ports are set with the printer pool turned ON, the printer information is deleted if all ports are to be deleted. If is not a deletion target, the port is removed (released).
このほか、「削除方法=0」は、プリンタ名で指定して削除する場合で、削除対象に、指定されたプリンタ名(プリンタオブジェクト名称)を記憶している。プリンタ名が指定されている場合には、OSが管理している個々のプリンタ情報を削除することが可能となる。 In addition, “deletion method = 0” is a case where the printer name is specified for deletion, and the specified printer name (printer object name) is stored as the deletion target. When a printer name is specified, individual printer information managed by the OS can be deleted.
また、「削除方法=1」は、ドライバ名で指定して削除する場合で、削除対象に、指定されたドライバ名を記憶している。ドライバ名が指定されている場合には、指定されているドライバ名のドライバを利用しているプリンタ(プリンタ情報のドライバ名称が一致するもの)を一括して削除することが可能となる。 Further, “deletion method = 1” is a case where the driver name is specified for deletion, and the specified driver name is stored as a deletion target. When the driver name is specified, it is possible to delete all the printers using the driver with the specified driver name (the printer information with the matching driver name).
ステップS620は、作成された定義ファイルに従って、クライアント端末102のプリンタ情報を制御(追加、削除、変更)するためのインストーラセットを作成する。インストーラセットの作成では、定義ファイルと、インストーラ情報設定画面で指定され、入力情報として記憶されているプリンタドライバインストーラと、実行モジュールを含めてインストーラセットを作成する。すなわち、定義情報に従って、クライアント端末(クライアント装置)に登録されているプリンタ(デバイス)のポート情報を含むデバイス情報を取得し、当該クライアント装置に登録されているデバイスに、指定されたポート情報が設定され、複数のポート情報が設定されている場合に、指定されたポート情報の設定を解除する制御を実行し、複数のポート情報すべてが指定されている場合に、複数のポート情報が設定されているデバイスを削除する制御を実行することが可能なファイルを作成する処理(ファイル生成処理)である。
In step S620, an installer set for controlling (adding, deleting, changing) the printer information of the
なお、ステップS620は、作成された定義情報に従って、クライアント装置に登録されているポート情報を含むデバイス情報を取得し、当該クライアント装置に登録されているデバイス情報に、指定されたポート情報(定義情報に記載)が設定され、且つ、複数のポート情報が設定されている場合に、指定されたポート情報(定義情報に記載)の設定を解除する制御を実行し、複数のポート情報すべてが指定されている場合に、複数のポート情報が設定されているデバイス情報を削除する制御を実行することが可能なファイルを作成するファイル作成処理の一例を示すステップである。 In step S620, device information including port information registered in the client apparatus is acquired according to the created definition information, and the specified port information (definition information) is stored in the device information registered in the client apparatus. ) Is set and multiple port information is set, control to release the setting of the specified port information (described in the definition information) is executed, and all the multiple port information is specified. In this case, it is a step showing an example of a file creation process for creating a file capable of executing control for deleting device information for which a plurality of port information is set.
なお、作成されるファイルは、デバイスを削除することが可能な実行モジュールを含むもので、実行モジュールは、削除対象のデバイスが複数のポートが設定され、削除するデバイスのポートがすべて削除対象のポートである場合に、デバイス名に基づきデバイスを削除する処理を実行する実行モジュールであると言い換えることが可能である。さらに、デバイス名ごとに、デバイス名に基づくデバイス情報を削除するか、デバイス名に基づきデバイスを削除せずに、デバイス名に対応するデバイス情報のポート情報を解除するかを決定する処理を実行する実行モジュールである。 Note that the created file contains an execution module that can delete the device. The execution module has multiple ports for the device to be deleted, and all the ports of the device to be deleted are the ports to be deleted. Can be paraphrased as an execution module that executes processing for deleting a device based on the device name. Further, for each device name, a process for determining whether to delete the device information based on the device name or to cancel the port information of the device information corresponding to the device name without deleting the device based on the device name is executed. It is an execution module.
なお、ステップS620は、デバイス追加する場合は、定義情報に従って、クライアント装置にデバイスを登録する制御を実行可能なファイルを作成する処理の一例を示すステップでもある。 Note that step S620 is also a step showing an example of processing for creating a file capable of executing control for registering a device in the client apparatus according to the definition information when adding a device.
次に、図14のインストーラセット実行処理のフローチャートについて説明する。なお、説明にあたり図16を用いて説明する。図14の処理は、クライアント端末102(一般者の装置)で実行される処理である。 Next, a flowchart of the installer set execution process of FIG. 14 will be described. The description will be made with reference to FIG. The process of FIG. 14 is a process executed by the client terminal 102 (general person's apparatus).
ステップS1401は、ユーザの操作に従って、インストーラセットを実行し、インストーラセット内の実行モジュールを実行する。以下、実行モジュールにより実行される処理である。なお複数の実行モジュールがあり、それぞれの実行モジュールが各ステップを実行する構成であってもよい。
ステップS1402は、インストーラセット内の定義ファイルから設定値を読み取り、メモリ上に記憶する。
ステップS1403は、設定値に記載されている作業フォルダのパスに従ってフォルダを作成する。
ステップS1404は、作成したフォルダに定義ファイル、プリンタドライバインストーラのファイルをコピーする。
In step S1401, the installer set is executed according to a user operation, and the execution module in the installer set is executed. The following is processing executed by the execution module. There may be a configuration in which there are a plurality of execution modules, and each execution module executes each step.
In step S1402, the setting value is read from the definition file in the installer set and stored in the memory.
In step S1403, a folder is created in accordance with the work folder path described in the setting value.
In step S1404, the definition file and the printer driver installer file are copied to the created folder.
ステップS1405は、クライアント端末102にインストールされ、登録されているプリンタ情報を取得し、メモリに記憶する。このプリンタ情報は、例えば、APIである、EnumPrintersによって得られるPRINTER_INFOにかかる情報である。クライアント端末102に複数のプリンタオブジェクトが存在する場合には、その数分のプリンタ情報が取得できる。なお、メモリに記憶したプリンタ情報をプリンタインストール情報(図16)という。
すなわち、クライアント装置に登録されているポート情報を含むデバイス情報を取得する取得制御処理の一例を示すステップである。
In step S1405, printer information installed and registered in the
That is, it is a step showing an example of an acquisition control process for acquiring device information including port information registered in the client apparatus.
ステップS1406は、設定されたすべてのドライバ情報の数分処理したかを判定する。ドライバ情報とは、図13のドライバインストーラ設定の数分である。すべて処理した場合にはステップS1411へ処理を移し、処理していないドライバ情報がある場合には、ステップS1407へ処理を移す。 In step S1406, it is determined whether all the set driver information has been processed. The driver information is the number of driver installer settings shown in FIG. If all have been processed, the process proceeds to step S1411. If there is unprocessed driver information, the process proceeds to step S1407.
ステップS1407は、ドライバ情報に削除処理設定があるかを判定する。具体的には、削除プリンタ情報1301があるかを判定する。削除処理の判定は、削除フラグなどの別の情報をみて判定してもよい。
削除処理設定がある場合には、ステップS1408へ処理を移し、削除処理設定がない場合には、ステップS1409へ処理を移す。
In step S1407, it is determined whether there is a deletion process setting in the driver information. Specifically, it is determined whether there is deleted printer information 1301. The deletion process may be determined by looking at other information such as a deletion flag.
If there is a deletion process setting, the process proceeds to step S1408. If there is no deletion process setting, the process proceeds to step S1409.
ステップS1408は、削除プリンタ情報1301の情報に従って、プリンタの削除やポートの解除を実行する。ステップS1408の処理の詳細は、図17にて説明する。 In step S1408, the printer is deleted or the port is released according to the information of the deleted printer information 1301. Details of the processing in step S1408 will be described with reference to FIG.
ステップS1409は、追加処理設定があるかを判定する。具体的には、追加プリンタ情報1302があるかを判定する。追加処理の判定は、追加フラグなど別の情報をみて判定してもよい。
追加処理設定がある場合には、ステップS1410へ処理を移し、追加処理設定がない場合には、ステップS1406へ処理を移す。
ステップS1410は、追加プリンタ情報1302に従って、プリンタを追加する。
In step S1409, it is determined whether there is an additional processing setting. Specifically, it is determined whether there is additional printer information 1302. The determination of the additional process may be performed by looking at other information such as an additional flag.
If there is an additional process setting, the process proceeds to step S1410. If there is no additional process setting, the process proceeds to step S1406.
In step S1410, a printer is added according to the additional printer information 1302.
具体的には、図13に示す定義ファイルに記述されたドライバインストーラ相対パス1303を使用して、プリンタドライバインストーラを起動する。ここでは、実行モジュールと同じ場所にプリンタドライバインストーラが存在しているが、プリンタドライバインストーラパス1303をネットワークパスにすることで、ネットワーク上のプリンタドライバインストーラを起動することもできる。次に、起動したプリンタドライバインストーラは、定義ファイルに基づいて、プリンタドライバをインストールし、追加プリンタ情報分のプリンタを追加する。これにより、OSのプリンタ管理画面にプリンタオブジェクトが表示される。
なお、ステップS1408とステップS1410の処理順は逆であってもよい。追加の後に削除を実行する。
ステップS1411では、ステップS1403で作成した作業フォルダを削除する。
ここで、図16を用いて、図14の処理前のクライアント端末102のプリンタインストール情報を説明する。
図16はクライアントPCに登録されているプリンタのプリンタ情報に従って得られる情報である。
Specifically, the printer driver installer is started using the driver installer
Note that the processing order of step S1408 and step S1410 may be reversed. Perform deletion after adding.
In step S1411, the work folder created in step S1403 is deleted.
Here, the printer installation information of the
FIG. 16 shows information obtained according to the printer information of the printer registered in the client PC.
現在インストールされているプリンタドライバのドライバ情報が1601である。また、各プリンタオブジェクトのプリンタ情報が1602である。また、プリンタオブジェクトに割り当てられているすべてのポート情報が1603である。 The driver information of the currently installed printer driver is 1601. The printer information of each printer object is 1602. Also, 1603 is all port information assigned to the printer object.
図14の処理により、プリンタの追加、削除(ポート解除含む)が行われると、クライアント端末102に登録されているプリンタは、図21に示すプリンタインストール情報となる。なお、図21のプリンタインストール情報は、後述する。
When a printer is added or deleted (including port cancellation) by the processing of FIG. 14, the printer registered in the
次に、図17のプリンタの削除処理のフローチャートについて説明する。本フローチャートは、ステップS1408の詳細を示すフローチャートである。なお、説明にあたり図20を用いて説明する。
ステップS1701は、定義ファイルに設定された削除方法を取得する。具体的には、削除プリンタ情報1301の削除方法の設定値を取得する。
Next, a flowchart of the printer deletion process of FIG. 17 will be described. This flowchart is a flowchart showing details of step S1408. The description will be made with reference to FIG.
In step S1701, the deletion method set in the definition file is acquired. Specifically, the setting value of the deletion method of the deleted printer information 1301 is acquired.
ステップS1702は、取得した削除方法を判定する。削除方法が「2」、すなわちホスト名/IPアドレスが指定されている場合には、ステップS1705へ処理を移し、削除方法が「0」または「1」が指定されている場合には、ステップS1703へ処理を移す。 In step S1702, the acquired deletion method is determined. If the deletion method is “2”, that is, if the host name / IP address is specified, the process proceeds to step S1705. If the deletion method is “0” or “1”, the process proceeds to step S1703. Move processing to.
ステップS1703は、削除対象リストを作成する。削除対象リストの一例を示す図は2002である。ここで削除対象リストに記載する情報としては、削除方法が「0」の場合には、削除プリンタ情報1301の削除対象の設定値のプリンタ名が記載される。また削除方法が「1」の場合には、削除プリンタ情報1301の削除対象の設定値のドライバ名に一致するプリンタ名を取得して記載する。
ステップS1704は、削除対象リストに記載のプリンタ名を対応するプリンタドライバのアインストーラに通知する。
ステップS1705は、削除対象リストと削除種別リストを作成する。この処理は、図18にて後述する。
In step S1703, a deletion target list is created. An example of the deletion target list is 2002. Here, as information to be described in the deletion target list, when the deletion method is “0”, the printer name of the setting value to be deleted in the deletion printer information 1301 is described. When the deletion method is “1”, a printer name that matches the driver name of the setting value to be deleted in the deleted printer information 1301 is acquired and described.
In step S1704, the printer name in the deletion target list is notified to the corresponding printer driver installer.
In step S1705, a deletion target list and a deletion type list are created. This process will be described later with reference to FIG.
ステップS1706は、ポート外し(解除)をする。この処理は、図19にて後述する。削除種別リスト2003に記載のプリンタ名のうち、フラグ値が「1」のプリンタ(図20の2003では「プリンタ4」)の削除対象リスト2002に記載されているポート名称の値のポートを、プリンタ4のプリンタ情報から外す(解除する)。これによりプリンタ4は削除されず、削除対象としたポートが解除され、必要なポートが設定されたプリンタ4のプリンタ情報が残ることとなる。
In step S1706, the port is removed (released). This process will be described later with reference to FIG. Of the printer names described in the
ステップS1706は、取得したデバイス情報に設定されるポート情報が複数設定され、且つ、当該複数のポート情報が、定義情報に含まれるポート情報(削除対象リストのポート情報)ですべて指定されていない場合に(複数のポート情報の一部のポート情報が削除対象のポートとなっている場合)、定義情報に含まれるポートを解除する解除制御処理の一例を示すステップである。 In step S1706, a plurality of pieces of port information set in the acquired device information are set, and the plurality of pieces of port information are not all specified in the port information included in the definition information (the port information in the deletion target list). (In a case where part of port information of a plurality of port information is a port to be deleted) is a step showing an example of a release control process for releasing a port included in the definition information.
ステップS1707は、削除種別リスト2003に記載のプリンタ名のうち、フラグ値が「0」のプリンタ名を対応するプリンタドライバのアインストーラに通知する。
In step S1707, the printer name of the printer name in the
ステップS1708は、通知を受けたアインストーラは、プリンタ名に対応するプリンタ情報を削除するため、プリンタのアインストール(プリンタ情報削除)を実行する。なお、プリンタ情報の削除には、プリンタドライバを用いずに、実行モジュールがOSのAPI(例えば、DeletePrinter)を利用して削除するようにしてもよい。 In step S1708, the uninstaller that has received the notification executes printer uninstallation (printer information deletion) in order to delete the printer information corresponding to the printer name. The printer information may be deleted by using an API of the OS (for example, Delete Printer) by the execution module without using the printer driver.
ステップS1708は、取得したデバイス情報に設定されるポート情報が複数設定され、且つ、当該複数のポート情報が、定義情報に含まれるポート情報がすべて指定されている場合に(削除対象リストのポート情報にすべてある場合)、前記デバイス情報を削除する削除制御処理の一例を示すステップである。 In step S1708, when a plurality of pieces of port information set in the acquired device information are set and all the port information included in the definition information is specified for the plurality of port information (the port information in the deletion target list). In the case where all of the device information is included, the device information is deleted.
本実施形態では、複数の削除プリンタ情報1301を有していても削除方法は1つしか選べない構成として説明するため、ステップS1702でYESかNOに処理を移す構成としている。そのため、複数の削除プリンタ情報1301を一括して処理し、削除対象リストを作成している。 In the present embodiment, even when the printer has a plurality of deletion printer information 1301, only one deletion method can be selected. Therefore, the process is shifted to YES or NO in step S1702. For this reason, a plurality of deletion printer information 1301 are processed in a batch to create a deletion target list.
なお、上述の実施形態以外に、削除プリンタ情報1301ごとに処理を繰り返して、削除プリンタ情報ごとに削除対象リストを作成してプリンタを削除してもよい。また、削除方法が同じ削除プリンタ情報をまとめて処理して、削除方法ごとに削除対象リストを作成して、プリンタを削除する構成であってもよい。 In addition to the above-described embodiment, the process may be repeated for each deleted printer information 1301, and a deletion target list may be created for each deleted printer information to delete the printer. Alternatively, a configuration may be adopted in which deleted printer information having the same deletion method is processed collectively, a deletion target list is created for each deletion method, and the printer is deleted.
次に、図18のプリンタの削除処理のフローチャートについて説明する。本フローチャートは、ステップS1705の詳細を示すフローチャートである。なお、説明にあたり図20を用いて説明する。
ステップS1801は、削除候補ポートリストを作成する。削除候補ポートリストの一例を示す図は、2001である。
Next, a flowchart of the printer deletion process of FIG. 18 will be described. This flowchart is a flowchart showing details of step S1705. The description will be made with reference to FIG.
In step S1801, a deletion candidate port list is created. An example of the deletion candidate port list is 2001.
図16のプリンタインストール情報のポート情報1603のIP/ホスト名のうち、定義ファイルの削除プリンタ情報1301で削除対象に指定されたIP/ホスト名と一致する場合に、削除候補ポートリスト2001に、IP/ホスト名を入力する。
When the IP / host name in the
ステップS1802は、プリンタ情報1602のプリンタ名数分処理をしたかを判定する。すべて処理していない場合には、ステップS1803へ処理を移し、すべて処理した場合には、処理を終了する。
In step S1802, it is determined whether processing for the number of printer names in the
ステップS1803は、プリンタ情報のドライバ名称が、ドライバインストーラ情報(図15)のドライバ名称にあるかを判定する。なお、ドライバインストーラ情報は、定義ファイルのドライバインストーラ設定に設定されている構成であってもよい。
ドライバ名称がある場合には、ステップS1804へ処理を移し、ドライバ名称がない場合には、ステップS1802へ処理を戻す。
In step S1803, it is determined whether the driver name of the printer information is in the driver name of the driver installer information (FIG. 15). The driver installer information may have a configuration set in the driver installer setting of the definition file.
If there is a driver name, the process proceeds to step S1804. If there is no driver name, the process returns to step S1802.
ステップS1804は、プリンタ情報1602の設定ポート名称が、削除候補ポートリスト2001にあるかを判定する。削除候補ポートリスト2001にある場合には、ステップS1802へ処理を戻し、削除候補ポートリスト2001にない場合には、削除対象リスト2002へ追加するため、ステップS1805に移る。
In step S1804, it is determined whether the set port name of the
ステップS1805は、削除候補ポートリスト2001と一致したポート名称に対応する現在処理中のプリンタ情報の「プリンタ名」と「ポート名称」を削除対象リストに追加する。削除対象リストの一例を示す図は、2002である。 In step S1805, “printer name” and “port name” of the printer information currently being processed corresponding to the port name that matches the deletion candidate port list 2001 are added to the deletion target list. A diagram illustrating an example of the deletion target list is 2002.
ステップS1806は、削除対象リスト2002を参照して、プリンタインストール情報のプリンタ情報のプリンタ名に対応する設定ポート名称が、削除対象リスト2002にすべて記憶されているかを判定する。
In step S1806, the
設定ポート名称が削除対象リスト2002にすべて記憶されていると判定された場合には、プリンタ名でプリンタ情報を削除してよいと判定できるため、ステップS1807へ処理を移す。一方、設定ポート名称が、削除対象リスト2002にすべて記憶されていないと判定された場合(複数の設定ポート名称のうち、例えば1つのポート名称が削除対象リストに記憶されている場合)には、プリンタ情報を削除せずに、ポート外し(解除)が必要であるため、ステップS1808へ処理を移す。
If it is determined that all the set port names are stored in the
ステップS1807は、プリンタ名でプリンタ情報を削除することができるため、「プリンタ名」と「プリンタ削除(0)」を対応付けて削除リストに追加する。 In step S1807, since the printer information can be deleted by the printer name, “printer name” and “printer deletion (0)” are associated and added to the deletion list.
ステップS1808は、プリンタ名で削除すると、削除する必要のないポートでのプリンタ情報まで削除されてしまうため、「プリンタ名」と「ポート外し(1)」を対応付けて削除種別リストに追加する。
削除種別リストの一例を示す図は、2003である。
In step S1808, if the printer name is deleted, even the printer information at the port that does not need to be deleted is deleted, so “printer name” and “remove port (1)” are associated with each other and added to the deletion type list.
An example of the deletion type list is 2003.
次に、図19のポート外し処理のフローチャートについて説明する。本フローチャートは、ステップS1706の詳細を示すフローチャートである。なお、説明にあたり図20を用いて説明する。 Next, the flowchart of the port removal process in FIG. 19 will be described. This flowchart is a flowchart showing details of step S1706. The description will be made with reference to FIG.
ステップS1901は、削除対象リスト2002を読み込み、削除対象リストに記憶されているプリンタ名を取得する。プリンタ名をキーに削除種別リスト2003からフラグ(「0」または「1」)を取得する。
In step S1901, the
ステップS1902は、取得したフラグがポート外し(1)であるか否かを判定する。ポート外しである場合には、ステップS1903に処理を移し、ポート外しでない場合には、処理を終了する。そして、ステップS1707でプリンタ名による削除処理を行う。 In step S1902, it is determined whether the acquired flag is port removal (1). If the port is disconnected, the process proceeds to step S1903. If the port is not disconnected, the process ends. In step S1707, deletion processing based on the printer name is performed.
ステップS1903は、ポート外し(1)のプリンタ名に対応するポート名称を削除対象リストから取得し、このポート名称をプリンタ名に対応するプリンタ情報の設定から外す(解除する)。 In step S1903, the port name corresponding to the printer name of port removal (1) is acquired from the deletion target list, and the port name is removed (released) from the setting of the printer information corresponding to the printer name.
図20の削除種別リスト2003でポートはずし(1)は「プリンタ4」であり、プリンタ4で削除対象のポートは「10.1.1.2」である。このポートを、プリンタ情報(図16)から外す。具体的には、1602の設定が解除される。
In the
また、図20の削除対象リスト2002、削除種別リスト2003をもとにプリンタの削除処理をした結果が、図21である。なお、図21は、図16からプリンタの追加処理、削除処理した結果得られる、クライアント端末102のプリンタインストール情報の一例を示す図である。
本実施形態では対象のデバイスをプリンタとしたが、複合機やポートが設定される他の入出力機器に適用してもよい。
FIG. 21 shows the result of the printer deletion process based on the
In the present embodiment, the target device is a printer, but the present invention may be applied to a multifunction device or other input / output device in which a port is set.
以上、本実施形態によれば、クライアント装置に登録されているデバイスを適切に削除できる。
また、デバイスの追加に加え、デバイスの削除方法を任意に選択でき、デバイスの削除の削除を効率化することが可能となる。
As described above, according to this embodiment, it is possible to appropriately delete a device registered in the client apparatus.
In addition to adding a device, a device deletion method can be arbitrarily selected, and the deletion of a device can be efficiently deleted.
さらに、デバイスの追加と削除を任意に選択でき、また、削除の際に削除方法を操作者が慣れた方法を選択できるため、操作者の作業負担を軽減することができる。 Furthermore, addition and deletion of devices can be arbitrarily selected, and since the operator can select a method familiar to the deletion method at the time of deletion, the workload on the operator can be reduced.
特に、定義ファイル作成ツールにて作成されたファイルを一般者に配布し、一般者がクライアント端末でこのファイルを実行することで、デバイスの追加のほか、デバイスの削除を一括してでき、クライアント端末に登録されるデバイス情報のメンテナンスを容易に行うことが可能となる。 In particular, the files created by the definition file creation tool are distributed to the general public, and when the general person executes this file on the client terminal, in addition to adding devices, it is possible to delete devices all at once. Maintenance of device information registered in the device can be easily performed.
なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。 It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.
以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。例えば、クラウド環境で実現する構成であってもよい。その場合、クラウド環境上のサーバで、定義ファイル作成ツールが実行される。 Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or recording medium, and specifically includes a plurality of devices. The present invention may be applied to a system including a single device. For example, the structure implement | achieved in a cloud environment may be sufficient. In that case, the definition file creation tool is executed on the server in the cloud environment.
また、本発明におけるプログラムは、図6、図14、図17、図18、図19に示すフローチャートの処理方法をコンピュータが実行可能なプログラムである。なお、記憶媒体に図6、図14、図17、図18、図19の処理方法をコンピュータが実行可能なプログラムが記憶される構成であってもよい。なお、本発明におけるプログラムは図6、図14、図17、図18、図19の各装置の処理方法ごとのプログラムであってもよい。 Further, the program according to the present invention is a program that allows a computer to execute the processing methods of the flowcharts shown in FIGS. 6, 14, 17, 18, and 19. The storage medium may be configured to store a program capable of executing the processing methods of FIGS. 6, 14, 17, 18, and 19 by a computer. Note that the program in the present invention may be a program for each processing method of each device in FIGS. 6, 14, 17, 18, and 19.
以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 As described above, a recording medium that records a program that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by executing the reading.
この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記憶した記録媒体は本発明を構成することになる。 In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the program constitutes the present invention.
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク、ソリッドステートドライブ等を用いることができる。 As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk, solid state drive, or the like can be used.
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on an instruction of the program is actually It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the processing and the processing is included.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program read from the recording medium is written to the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is based on the instructions of the program code. It goes without saying that the case where the CPU or the like provided in the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。
なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。
Furthermore, by downloading and reading a program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention.
In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
101 クライアント端末(管理者)
102 クライアント端末(一般者)
103 サーバ
104 プリンタ
105 プリンタ
106 ネットワーク
201 CPU
202 RAM
203 ROM
211 メモリ(HD、FD)
302 定義ファイル作成ツール
401 ポート指定部
402 定義情報作成部
403 ファイル作成部
404 デバイス名指定部
405 ドライバ名指定部
406 デバイス登録情報入力部
101 Client terminal (administrator)
102 Client terminal (general person)
103
202 RAM
203 ROM
211 Memory (HD, FD)
302 Definition
Claims (9)
ポート情報の入力を受け付けるポート入力手段と、
前記ポート入力手段で入力されたポート情報と制御対象のデバイスに関する情報を含む定義情報に従って、クライアント装置に登録されているポート情報を含むデバイス情報を取得し、当該クライアント装置に登録されているデバイス情報に設定されている複数のポート情報と、前記定義情報に含まれるポート情報とに基づき、当該デバイス情報を削除するか前記ポート入力手段で入力されたポート情報の設定を前記デバイス情報から解除するかを決定することが可能なファイルを作成するファイル作成手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus for creating a file for controlling setting of device information registered in a client apparatus,
And the port input means for receiving an input of port information,
Device information including port information registered in the client apparatus is acquired according to definition information including information regarding the port information input by the port input means and the device to be controlled, and the device information registered in the client apparatus Whether to delete the device information or to cancel the setting of the port information input by the port input means from the device information based on the plurality of port information set in the port information and the port information included in the definition information the information processing apparatus; and a file creating means for Rukoto be determined to create a file as possible.
前記設定画面表示手段で受け付けた設定に従って、デバイスの削除方法を含む定義情報を作成する定義情報作成手段と
を更に備えることを特徴とする請求項1に記載の情報処理装置。 Device name to be deleted on the client device, or driver name to be deleted by the client device, or a setting screen displaying means for receiving a setting of the port information,
The information processing apparatus according to claim 1, further comprising: definition information creating means for creating definition information including a device deletion method according to the setting received by the setting screen display means .
前記定義情報作成手段は、前記デバイス登録情報入力手段による設定情報に従って、定義情報を作成し、
前記ファイル作成手段は、前記定義情報に従って、前記クライアント装置に登録されているデバイス情報を削除又はポート情報の設定を解除し、前記クライアント装置に前記登録するデバイスのデバイスドライバを用いてデバイス情報を登録することが可能なファイルを作成することを特徴とする請求項2に記載の情報処理装置。 Device registration information input means for inputting setting information of a device to be registered in the client device;
The definition information creating means creates definition information according to the setting information by the device registration information input means,
The file creation means deletes device information registered in the client device or cancels the setting of port information according to the definition information, and registers device information using a device driver of the device to be registered in the client device. the information processing apparatus according to claim 2, characterized in that to create a file that can and this to.
ポート情報の入力を受け付けるポート入力ステップと、
前記ポート入力ステップで入力されたポート情報と制御対象のデバイスに関する情報を含む定義情報に従って、クライアント装置に登録されているポート情報を含むデバイス情報を取得し、当該クライアント装置に登録されているデバイス情報に設定されている複数のポート情報と、前記定義情報に含まれるポート情報とに基づき、当該デバイス情報を削除するか前記ポート入力ステップで入力されたポート情報の設定を前記デバイス情報から解除するかを決定することが可能なファイルを作成するファイル作成するファイル作成ステップと
を含むことを特徴とする処理方法。 A processing method of an information processing apparatus for creating a file for controlling setting of device information registered in a client apparatus,
And the port input step of accepting the input of the port information,
Device information including port information registered in the client apparatus is acquired in accordance with definition information including information regarding the port information input in the port input step and the device to be controlled, and the device information registered in the client apparatus Whether to delete the device information or to cancel the setting of the port information input in the port input step from the device information based on the plurality of port information set in the port information and the port information included in the definition information processing method characterized by comprising a file generating step of file creation Rukoto be determined to create a file as possible.
前記情報処理装置を、
ポート情報の入力を受け付けるポート入力手段と、
前記ポート入力手段で入力されたポート情報と制御対象のデバイスに関する情報を含む定義情報に従って、クライアント装置に登録されているポート情報を含むデバイス情報を取得し、当該クライアント装置に登録されているデバイス情報に設定されている複数のポート情報と、前記定義情報に含まれるポート情報とに基づき、当該デバイス情報を削除するか前記ポート入力手段で入力されたポート情報の設定を前記デバイス情報から解除するかを決定することが可能なファイルを作成するファイル作成手段
として機能させるためのプログラム。 A program for an information processing apparatus for creating a file for controlling setting of device information registered in a client apparatus,
The information processing apparatus;
And the port input means for receiving an input of port information,
Device information including port information registered in the client apparatus is acquired according to definition information including information regarding the port information input by the port input means and the device to be controlled, and the device information registered in the client apparatus Whether to delete the device information or to cancel the setting of the port information input by the port input means from the device information based on the plurality of port information set in the port information and the port information included in the definition information program for functioning as a file creating means for creating a file that can you to determine.
入力されたポート情報と制御対象のデバイスに関する情報を含む定義情報に従って作成されたファイルに基づき、当該クライアント装置に登録されているポート情報を含むデバイス情報を取得する取得手段と、
前記取得手段により取得されたデバイス情報に設定されているポート情報と、前記入力されたポート情報とに基づき、当該デバイス情報を削除するか前記ポート情報の設定を前記デバイス情報から解除するかを決定する決定手段と
を備えることを特徴とするクライアント端末。 A client device that stores device information,
An acquisition means for acquiring device information including port information registered in the client device, based on a file created according to definition information including input port information and information on a device to be controlled ;
And port information set in the acquired device information by the acquisition unit, based on the port information is the input, or the setting of the port information or deletes the device information to release from the device information client terminal; and a determining means that determine the.
入力されたポート情報と制御対象のデバイスに関する情報を含む定義情報に従って作成されたファイルに基づき、当該クライアント装置に登録されているポート情報を含むデバイス情報を取得する取得ステップと、
前記取得ステップにより取得されたデバイス情報に設定されているポート情報と、前記入力されたポート情報とに基づき、当該デバイス情報を削除するか前記ポート情報の設定を前記デバイス情報から解除するかを決定する決定ステップと
を含むことを特徴とする処理方法。 A processing method of a client device for storing device information,
An acquisition step of acquiring device information including port information registered in the client device based on a file created according to definition information including input port information and information on a device to be controlled ;
And port information set in the device information acquired by the acquisition step, based on the port information is the input, or the setting of the port information or deletes the device information to release from the device information processing method characterized by comprising a determination step that determine the.
前記クライアント装置を、
入力されたポート情報と制御対象のデバイスに関する情報を含む定義情報に従って作成されたファイルに基づき、当該クライアント装置に登録されているポート情報を含むデバイス情報を取得する取得手段と、
前記取得手段により取得されたデバイス情報に設定されているポート情報と、前記入力されたポート情報とに基づき、当該デバイス情報を削除するか前記ポート情報の設定を前記デバイス情報から解除するかを決定する決定手段
として機能させるためのプログラム。 A client device program for storing device information,
The client device;
An acquisition means for acquiring device information including port information registered in the client device, based on a file created according to definition information including input port information and information on a device to be controlled ;
And port information set in the acquired device information by the acquisition unit, based on the port information is the input, or the setting of the port information or deletes the device information to release from the device information program for functioning as a determining means that determine the.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017234944A JP6447704B2 (en) | 2017-12-07 | 2017-12-07 | Information processing apparatus, processing method thereof, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017234944A JP6447704B2 (en) | 2017-12-07 | 2017-12-07 | Information processing apparatus, processing method thereof, and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014176379A Division JP6256260B2 (en) | 2014-08-29 | 2014-08-29 | Information processing apparatus, processing method thereof, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2018077865A JP2018077865A (en) | 2018-05-17 |
JP2018077865A5 JP2018077865A5 (en) | 2018-09-06 |
JP6447704B2 true JP6447704B2 (en) | 2019-01-09 |
Family
ID=62149120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017234944A Active JP6447704B2 (en) | 2017-12-07 | 2017-12-07 | Information processing apparatus, processing method thereof, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6447704B2 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008152673A (en) * | 2006-12-19 | 2008-07-03 | Canon Inc | Information processing apparatus, method for controlling the same, and program |
JP2009288937A (en) * | 2008-05-28 | 2009-12-10 | Brother Ind Ltd | Installation system and program |
JP5458747B2 (en) * | 2009-08-28 | 2014-04-02 | 株式会社リコー | Information processing apparatus and program |
JP5370265B2 (en) * | 2010-05-26 | 2013-12-18 | ブラザー工業株式会社 | Common printer driver and print port management method |
JP5804919B2 (en) * | 2011-12-01 | 2015-11-04 | キヤノン株式会社 | Image forming apparatus, image forming apparatus control method, and program |
JP2013191118A (en) * | 2012-03-15 | 2013-09-26 | Casio Electronics Co Ltd | Printing system and host computer |
-
2017
- 2017-12-07 JP JP2017234944A patent/JP6447704B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018077865A (en) | 2018-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4753321B2 (en) | Information processing apparatus, installer set creation method, program, storage medium, and printing system | |
US8305600B2 (en) | Information processing apparatus and its control method | |
JP7086754B2 (en) | Information processing equipment, control method of information processing equipment, and computer program | |
EP2372525B1 (en) | Terminal device | |
JP4623461B2 (en) | Information processing apparatus, print control method, printer driver program, and recording medium | |
JP2004265061A (en) | Program installing method, device and system | |
US20160253128A1 (en) | Output system, terminal device and output method | |
JP3774684B2 (en) | Information processing apparatus, printer setting method of information processing apparatus, program, and recording medium | |
JP2006268586A (en) | Processing mode designation information conversion program and method | |
CN107066217B (en) | Image forming apparatus and control method of image forming apparatus | |
JP6447704B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP2007042062A (en) | Information processing apparatus, information processing method and program | |
JP6606443B2 (en) | Information processing apparatus, information processing method, and program | |
JP6256260B2 (en) | Information processing apparatus, processing method thereof, and program | |
JP2023054082A (en) | Program, information processing apparatus, and processing method thereof | |
JP6540410B2 (en) | INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM | |
JP2015106314A (en) | Configuration management system, control method of configuration management system, and program | |
JP6781388B2 (en) | Information processing device and its processing method and program | |
JP7086771B2 (en) | Printing device, control method of printing device, and program | |
JP6331431B2 (en) | Information processing system, control method and program thereof, and information processing server, control method and program thereof | |
JP2016162138A (en) | Information processing apparatus, processing method thereof, and program | |
JP2017111531A (en) | Information processing system, information processing device, method for controlling information processing device, and program | |
JP7328405B2 (en) | Information processing apparatus, information processing apparatus control method, and print setting application | |
JP2018196091A (en) | Management device, composite device, setting management method, and program | |
JP6912741B2 (en) | Information processing equipment, information processing system, its control method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20180703 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180727 |
|
TRDD | Decision of grant or rejection written | ||
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20181031 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20181106 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20181119 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6447704 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |