Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6540410B2 - INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM - Google Patents
[go: Go Back, main page]

JP6540410B2 - INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM - Google Patents

INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM Download PDF

Info

Publication number
JP6540410B2
JP6540410B2 JP2015180364A JP2015180364A JP6540410B2 JP 6540410 B2 JP6540410 B2 JP 6540410B2 JP 2015180364 A JP2015180364 A JP 2015180364A JP 2015180364 A JP2015180364 A JP 2015180364A JP 6540410 B2 JP6540410 B2 JP 6540410B2
Authority
JP
Japan
Prior art keywords
information
host name
file
acquired
installation
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
Application number
JP2015180364A
Other languages
Japanese (ja)
Other versions
JP2017058712A5 (en
JP2017058712A (en
Inventor
広忠 田巻
広忠 田巻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Original Assignee
Canon Marketing Japan Inc
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 Canon Marketing Japan Inc filed Critical Canon Marketing Japan Inc
Priority to JP2015180364A priority Critical patent/JP6540410B2/en
Publication of JP2017058712A publication Critical patent/JP2017058712A/en
Publication of JP2017058712A5 publication Critical patent/JP2017058712A5/ja
Application granted granted Critical
Publication of JP6540410B2 publication Critical patent/JP6540410B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、情報処理装置でのデバイスドライバのインストールに係る通信先の設定作業を容易にする仕組みに関する。   The present invention relates to a mechanism for facilitating a setting operation of a communication destination related to installation of a device driver in an information processing apparatus.

従来、クライアント端末にプリンタを設定する際に、管理者による設定を用いて簡易的にプリンタドライバをインストールする技術が存在する。   Conventionally, when setting a printer on a client terminal, there is a technology for simply installing a printer driver using settings by an administrator.

この技術では、管理者が設定した情報とプリンタドライバを実行形式のファイルを生成する。そして、このファイルをクライアント端末で実行することで、統一したプリンタの設定でプリンタドライバがインストールされるため、プリンタの導入を容易に行うことを可能としている。例えば、特許文献1。   In this technology, a file of an executable format is generated by the information set by the administrator and the printer driver. Then, by executing this file on the client terminal, the printer driver is installed with the unified printer settings, and it is possible to easily introduce the printer. For example, Patent Document 1

特開2010−92158号公報JP, 2010-92158, A

しかしながら、特許文献1の技術を用いることで、プリンタを導入するクライアント端末の利用ユーザの負担を軽減することができる一方、管理者が導入するプリンタの情報、特にプリンタのIPアドレスを把握して、それぞれのプリンごとに設定ファイルを生成する必要があり、管理者側の負担が増大することになる。   However, by using the technology of Patent Document 1, it is possible to reduce the burden on the user of the client terminal that introduces the printer, while the administrator grasps the information of the printer introduced, particularly the IP address of the printer, It is necessary to generate a configuration file for each pudding, which increases the burden on the administrator.

特に、多くの拠点、多くのプリンタを有している企業においては、すべてのプリンタの情報を管理することは困難であり、従来の技術では、対応が困難な場合があった。   In particular, in a company having many bases and many printers, it is difficult to manage the information of all the printers, and there are cases where it is difficult to cope with the prior art.

また、プリンタドライバをインストール後に、各ユーザがクライアント端末にインストールされたプリンタを選択して、設定情報を変更する操作(例えば、プリンタ選択→プリンタプロパティ選択→ポートタブ選択→ポート選択→IPアドレス変更)は、通常の印刷では使わない操作であり、各ユーザが対応することが困難な場合がある。   Also, after installing the printer driver, each user selects the printer installed on the client terminal and changes the setting information (for example, select printer → select printer property → select port tab → select port → change IP address). This is an operation not used in normal printing, and it may be difficult for each user to respond.

特に、1つのプリンタ(ハード的に同一のプリンタ)であっても、プリンタドライバで設定する設定情報(例えば、用紙サイズ、用紙タイプ、ページレイアウト)が異なるプリンタをインストールする場合には、基になるプリンタドライバを用いて、設定ごと(A4−2in1−両面,A3−1in1−片面,・・・・)にプリンタドライバを生成する必要がある。そのため、それぞれのプリンタドライバをクライアント端末でインストールを実行することが行われる。   In particular, even if one printer (hard-identical printer) is installed in a printer with different setting information (for example, paper size, paper type, page layout) set by the printer driver, it is the basis It is necessary to generate a printer driver for each setting (A4-2 in 1-sided, A3-1 in 1-sided,...) Using a printer driver. Therefore, each printer driver is installed on the client terminal.

この場合、それぞれのプリンタドライバをインストール後に生成されるプリンタオブジェクト(プリンタアイコン)すべてに対して、設定画面(例えば、プリンタ選択→プリンタプロパティ選択)を開き、IPアドレスなどプリンタ固有の情報を変更する必要が生じる。   In this case, it is necessary to open a setting screen (for example, printer selection → printer property selection) for all printer objects (printer icons) generated after installing each printer driver, and change information specific to the printer such as IP address Will occur.

さらに、上位システムの印刷ジョブを所定の印刷設定にて印刷する場合、プリンタドオブジェクトを指定して印刷することがあり、設定ごとに複数のプリンタオブジェクトを生成する必要がある。このように複数のプリンタオブジェクトを生成した場合に、プリンタ固有の情報(通信先の設定)の変更は困難となる。   Furthermore, when printing a print job of the upper system with a predetermined print setting, a printer object may be designated and printed, and it is necessary to generate a plurality of printer objects for each setting. When a plurality of printer objects are generated as described above, it is difficult to change printer-specific information (setting of communication destination).

そこで、本発明の目的は、インストールに係る通信先の設定作業を容易にする仕組みを提供することである。   Therefore, an object of the present invention is to provide a mechanism that facilitates the setting operation of the communication destination related to installation.

本発明の目的を達成するための出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを実行する情報処理装置であって、前記ファイルを実行して、前記デバイス情報と前記デバイスドライバとを用いたインストールの実行に伴って、前記インストールに用いられるホスト名を取得するホスト名取得手段と、前記情報処理装置が管理する管理情報から、ホスト名と通信識別情報とを取得する管理情報取得手段と、前記管理情報取得手段により取得されたホスト名と通信識別情報と、前記ホスト名取得手段により取得されたホスト名を表示し、当該ホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示手段と、前記表示手段で表示した入力受付画面で受け付けた第1の通信識別情報と、前記ホスト名取得手段により取得したホスト名とが対応付くよう、前記管理情報に書き込む書込手段とを備えることを特徴とする。 An information processing apparatus that executes a file including a device driver of an output device for achieving the object of the present invention and device information including a host name used when installing the device driver arbitrarily set by a file creator a is, by running the file, the along with the execution of installation with the device information and the device driver, and the host name acquisition means for acquiring the host name to be used in the installation, the information processing apparatus Management information acquisition means for acquiring a host name and communication identification information from management information to be managed, host name and communication identification information acquired by the management information acquisition means, and host name acquired by the host name acquisition means displays, first communication identification information used for communicating with the device to be associated with the host name Display means for displaying an input receiving screen for receiving input, the first communication identification information received by the input receiving screen displayed on the display means, so that the host name and stick corresponding acquired by the host name acquisition means, wherein And writing means for writing management information.

本発明によれば、インストールに係る通信先の設定作業を容易にすることができる。   According to the present invention, the setting operation of the communication destination related to installation can be facilitated.

情報処理システムの概略構成を示す図であるFIG. 1 is a diagram showing a schematic configuration of an information processing system. クライアント端末101,102及びサーバ103の基本的なハードウェア構成の一例を示すブロック図であるFIG. 2 is a block diagram showing an example of the basic hardware configuration of the client terminals 101 and 102 and the server 103. クライアント端末101,102及びサーバ103のモジュール構成を概略的に示したブロック図であるFIG. 2 is a block diagram schematically showing a module configuration of client terminals 101 and 102 and a server 103. クライアント端末102の装置の各機能ブロックを示す図であるIt is a figure which shows each function block of the apparatus of the client terminal 102. 情報処理システムの処理概要を示す図であるIt is a figure showing the processing outline of an information processing system インストーラセット作成処理のフローチャートであるIt is a flowchart of installer set creation processing 設定ファイル作成ツールの初期画面であるIt is the initial screen of the configuration file creation tool 設定ファイル作成ツールのインストーラ情報設定画面であるIt is an installer information setting screen of setting file creation tool 設定ファイル作成ツールのインストーラ情報設定画面からプリンタ情報設定画面への画面遷移図であるIt is a screen transition diagram from the installer information setting screen of the setting file creation tool to the printer information setting screen 設定ファイル作成ツールの削除プリンタ情報設定画面であるIt is a deletion printer information setting screen of setting file creation tool 設定ファイル作成ツールの初期画面から処理情報の選択画面への画面遷移図であるIt is a screen transition diagram from the initial screen of the setting file creation tool to the selection screen of processing information 設定ファイル作成ツールのオプション設定画面であるIt is an option setting screen of setting file creation tool 設定ファイルの一例を示すデータ図であるIt is a data figure showing an example of a setting file インストーラセット実行処理のフローチャートであるIt is a flowchart of installer set execution processing 対象モジュール起動処理のフローチャートであるIt is a flowchart of target module startup processing 指定ホスト名確認処理のフローチャートであるIt is a flowchart of designated host name confirmation processing 設定ファイル、hostsファイルの概略を示すデータ図であるIt is the data figure which shows the outline of setting file and hosts file 入力画面表示処理のフローチャートであるIt is a flowchart of input screen display processing クライアント端末102で記憶する各種データ図であるFIG. 6 is a diagram of various data stored in the client terminal 102. IPアドレス編集処理のフローチャートであるIt is a flowchart of IP address editing processing 仮のホスト名にIPアドレスが入力され、保存された場合のデータ図であるIt is a data figure when an IP address is inputted into temporary host name and it is saved. クライアント端末102に登録されているプリンタ情報の概略を示すデータ図であるFIG. 6 is a data diagram schematically showing printer information registered in the client terminal 102. 入力画面(ダイアログ)の一例を示すイメージ図であるIt is an image figure showing an example of an input screen (dialog) hostsファイルからデータを削除する処理のフローチャートであるIt is a flowchart of processing to delete data from the hosts file

以下、本発明の実施形態を、図面を参照して詳細に説明する。
図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 client terminals 101 and 102, a server 103, and printers 104 and 105 are communicably connected to each other via a network 106 such as a LAN. It is done. The client terminals 101 and 102 and the server 103 are configured by an information processing apparatus such as a computer. The printers 104 and 105 may be devices having only a printing function, or may be multifunction devices having a plurality of functions such as printing, scanning, and fax transmission / reception. The types of devices (devices) constituting the information processing system are not limited to those described above or illustrated examples, and the number of devices is also not limited.
In the present embodiment, the client terminal 101 is an apparatus (information processing apparatus) of the administrator, and the client terminal 102 is an apparatus of a general person.

また、本実施形態では、管理者のクライアント端末101と一般者のクライアント端末に処理を分けて説明するが、管理者のクライアント端末101で作成したファイルを、管理者のクライアント端末101で実行することも可能であるため、一般者のクライアント端末102の処理を管理者のクライアント端末101の処理とすることも可能である。   Further, in the present embodiment, although the process is divided into the client terminal 101 of the administrator and the client terminal of a general person, the file created by the client terminal 101 of the administrator is executed by the client terminal 101 of the administrator. Since the process of the client terminal 102 of a general person can also be used as the process of the client terminal 101 of the administrator.

図2は、図1のクライアント端末101,102及びサーバ103の基本的なハードウェア構成の一例を示すブロック図である。   FIG. 2 is a block diagram showing an example of a basic hardware configuration of the client terminals 101 and 102 and the server 103 of FIG.

図2において、CPU201は、システムバス204に接続されるROM202、RAM203、及びメモリ211、並びに後述する各種コントローラを統括的に制御する。メモリ211は、ハードディスク(HD)やフロッピー(登録商標)ディスク(FD)或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等で構成される。   In FIG. 2, a CPU 201 centrally controls a ROM 202, a RAM 203, a memory 211 connected to a system bus 204, and various controllers described later. The memory 211 is configured by a hard disk (HD), a floppy (registered trademark) disk (FD), a compact flash (registered trademark) memory or the like connected to a PCMCIA card slot via an adapter.

RAM203は、CPU201の主メモリ、ワークエリア等として機能する。ROM202又はメモリ211には、CPU201の制御プログラムであるBIOS(Basic Input/Output System)やオペレーティングシステム(Operating System:OS)が記憶されている。また、ROM202又はメモリ211には、サーバ103或いはクライアント端末101,102が有する機能を実現するために必要な各種プログラムが記憶されている。各種プログラムには、ブートプログラム、ブラウザソフトウエア、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、各種データ等が含まれる。   The RAM 203 functions as a main memory, a work area, and the like of the CPU 201. The ROM 202 or the memory 211 stores a BIOS (Basic Input / Output System) as a control program of the CPU 201 and an operating system (OS). The ROM 202 or the memory 211 stores various programs necessary for realizing the functions of the server 103 or the client terminals 101 and 102. The various programs include a boot program, browser software, various applications, font data, user files, editing files, various data, and the like.

後述する処理を実行するためのプログラムは、メモリ211に格納されており、必要に応じてRAM203にロードされることによりCPU201によって実行される。また、後述する処理の実行時にCPU201が用いる各種データ及び各種テーブルもメモリ211に格納されている。   A program for executing processing to be described later is stored in the memory 211, and is executed by the CPU 201 by being loaded into the RAM 203 as necessary. Further, various data and various tables used by the CPU 201 at the time of execution of processing to be described later are also stored in the memory 211.

入力コントローラ205は、キーボード(KB)やマウス等のポインティングデバイス(PD)等で構成される操作入力装置(KB/PD)からの入力を制御する。ビデオコントローラ206は、ディスプレイ210への表示を制御する。ディスプレイ210は、CRTや液晶等で構成される。CPU201は、例えば、RAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ210上での表示を可能としている。また、CPU201は、ディスプレイ210上の不図示のマウスカーソル等でのユーザ(または管理者)による指示の受付を可能とする。   The input controller 205 controls an input from an operation input device (KB / PD) including a keyboard (KB) and a pointing device (PD) such as a mouse. Video controller 206 controls the display on display 210. The display 210 is configured of a CRT, liquid crystal, or the like. The CPU 201 enables display on the display 210 by executing, for example, outline font rasterization processing on a display information area in the RAM 203. Further, the CPU 201 enables reception of an instruction by a user (or a manager) with a mouse cursor (not shown) or the like on the display 210.

メモリコントローラ207は、メモリ211へのアクセスを制御する。通信I/Fコントローラ208は、ネットワーク106を介して、プリンタ104等の外部機器との接続及び通信の制御を行う。通信I/Fコントローラ208は、例えば、TCP/IPを用いたインターネット通信等が可能である。   The memory controller 207 controls access to the memory 211. The communication I / F controller 208 controls connection and communication with an external device such as the printer 104 via the network 106. The communication I / F controller 208 can perform, for example, Internet communication using TCP / IP.

図3は、クライアント端末101,102及びサーバ103のモジュール構成を概略的に示したブロック図である。   FIG. 3 is a block diagram schematically showing the module configuration of the client terminals 101 and 102 and the server 103. As shown in FIG.

図3において、クライアント端末101(管理者の装置)は、本発明の実施形態に関わる構成として、OS301(オペレーティングシステム)と、設定ファイル作成ツール302(生成プログラム)と、プリンタドライバインストーラ(デバイスドライバを含むデバイスドライバインストーラ)303とを備える。一方、クライアント端末102(一般者の装置)は、本発明に関わる機能構成としてそれぞれが、OS304と、インストーラセット/自己解凍形式ファイル305とを備える。なお、自己解凍形式ファイルでなく、通常の圧縮ファイルであってもよい。通常の圧縮ファイルである場合には、ユーザが解凍して、フォルダ内にある実行形式のファイルを実行するものとする。   In FIG. 3, the client terminal 101 (administrator's device) includes an OS 301 (operating system), a setting file creation tool 302 (generation program), and a printer driver installer (device driver) as a configuration related to the embodiment of the present invention. Device driver installer 303). On the other hand, the client terminals 102 (general person's devices) each have an OS 304 and an installer set / self-extraction format file 305 as functional configurations related to the present invention. In addition, not a self-extracting file but a normal compressed file may be used. In the case of a normal compressed file, it is assumed that the user decompresses and executes the executable file in the folder.

なお、本実施形態では、クライアント端末101で設定ファイル作成ツールを実行してインストーラセットを作成する構成としたが、サーバ103で実現する構成であってもよい。   In the present embodiment, the configuration file creation tool is executed on the client terminal 101 to create the installer set. However, the configuration realized by the server 103 may be employed.

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 operating on the client terminal 101, and is, for example, Microsoft Windows (registered trademark). The configuration file creation tool 302 executes a process shown in FIG. 6 described later to create a configuration file (install information) and an installer set / self-extraction format file 305 transmitted from the client terminal 101 to the client terminal 102. Software module. The “setting file” is used, for example, when printer driver installation and installation are performed as shown in FIG. 13, and values set at printer driver installation and installation are output as files. “The value set at printer driver installation (for example, the value managed by the operating system corresponding to the printer object (printer icon) displayed on the printer management screen)” (setting information) includes the printer name, host name or IP address, port name, protocol, LPR setting, location, comment or folder name, default printer, etc. The printer name, host name or IP address, port name, protocol, LPR setting, location, and comment can be set on the display screen of the display 210 of 904 in FIG. 9 described later. The folder name, default printer, and the like can be set on the display screen of the display 210 of 1202 in FIG. 12 described later.

「インストーラセット」とは、図5の501に示すように、プリンタドライバインストーラやモジュール、設定ファイルで構成されたものである。「自己解凍形式ファイル」とは、複数のファイルを圧縮して1つの実行ファイル(Setup.exe)にまとめたファイルのことである。自己解凍形式ファイルが実行されると、自動的に複数のファイルが解凍し、予め指定されていた実行ファイルを起動する機能を持つ一般的なファイル形式である。   The “installer set” is configured by a printer driver installer, a module, and a setting file, as indicated by 501 in FIG. The “self-extracting file” is a file obtained by compressing a plurality of files and putting them into one executable file (Setup.exe). When the self-extraction format file is executed, it is a general file format having a function of automatically extracting a plurality of files and activating a previously specified execution file.

プリンタドライバインストーラは、プリンタドライバをクライアント端末102等にインストールするためのソフトウェアモジュールであり、その内部にはプリンタドライバが格納されている。なお、プリンタドライバインストーラは、アインストールやプリンタの設定更新なども実行可能なソフトウェアモジュールである。プリンタドライバインストーラ303が実行されると、内部に格納されているプリンタドライバが、例えば、クライアント端末102にインストールされる。また、プリンタドライバインストーラは、設定ファイル作成ツール302がインストーラセット/自己解凍形式ファイル305を作成する際に使用される。   The printer driver installer is a software module for installing the printer driver in the client terminal 102 or the like, and the printer driver is stored therein. The printer driver installer is a software module that can also execute installation and updating of printer settings. When the printer driver installer 303 is executed, the printer driver stored inside is installed in, for example, the client terminal 102. Also, the printer driver installer is used when the setting file creation tool 302 creates the installer set / self-extraction format file 305.

ここで「プリンタドライバ」とは、ドライバ情報である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 for installing the printer driver in the client terminal 102 or the like, and describes which file uses which file and where the file is stored. The description method of the INF file conforms to the INI file format.

OS304は、クライアント端末102上で動作するOSであり、例えば、Microsoft Windows(登録商標)等から成る。インストーラセット/自己解凍形式ファイル305は、管理者の所望の設定でクライアント端末102に所定のプリンタドライバをインストール、アインストール、プリンタ情報の設定を変更するための自己解凍形式ファイルである。インストーラセット/自己解凍形式ファイル305は、クライアント端末101で作成され、クライアント端末102に送信されて、RAM203やメモリ211に格納される。   The OS 304 is an OS operating on the client terminal 102 and is made of, for example, Microsoft Windows (registered trademark). The installer set / self-extraction format file 305 is a self-extraction format file for installing a predetermined printer driver on the client terminal 102 with the setting desired by the administrator, installing the printer driver, and changing the setting of the printer information. The installer set / self-extraction format file 305 is created by the client terminal 101, transmitted to the client terminal 102, and stored in the RAM 203 or the memory 211.

設定ファイル作成ツール302は、言い換えると、出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを生成する生成プログラムと言い換えることが可能である。   In other words, the configuration file creation tool 302 creates a file that combines a device driver of an output device and device information including a host name used when installing the device driver arbitrarily set by the file creator. It can be paraphrased.

また、クライアント端末102は、デバイスドライバのインストールを実行する情報処理装置である。具体的には、出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名(後述で、仮のホスト名)を含むデバイス情報(後述で、設定ファイル)とをまとめたファイル(実行形式のファイル)を実行する情報処理装置である。   The client terminal 102 is an information processing apparatus that executes installation of a device driver. Specifically, device information (described later, a configuration file including a device driver of an output device, and a host name (a temporary host name, described later) used when installing the device driver optionally set by the file creator And an information processing apparatus that executes a file (an executable file).

次に、図4の機能ブロック図を参照して、本システムにおけるクライアント端末102の装置の各機能ブロックについて説明する。なお、各機能は、CPUにより実行され、各機能で実行される詳細な処理については、後述の図14以降のフローチャートで説明する。   Next, each functional block of the device of the client terminal 102 in the present system will be described with reference to the functional block diagram of FIG. Each function is executed by the CPU, and detailed processing executed by each function will be described in the flowcharts of FIG. 14 and later.

クライアント端末102は、出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを実行する情報処理装置である。このファイルは、デバイスドライバのインストール後に実行するプログラムを含むものである。このプログラムは、ホスト名を取得し、入力受付画面を表示するプログラムである。   The client terminal 102 is an information processing apparatus that executes a file including a device driver of an output device and device information including a host name used when installing the device driver arbitrarily set by a file creator. This file contains a program to be executed after installation of the device driver. This program is a program for acquiring a host name and displaying an input acceptance screen.

ホスト名取得部401は、ファイルを実行して、当該ファイルに含まれるデバイスドライバのインストールが実行された後に、インストールに用いられたホスト名を取得する機能部である。   The host name acquisition unit 401 is a functional unit that executes a file and acquires a host name used for installation after installation of a device driver included in the file is performed.

表示部402は、ホスト名取得部401により取得されたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する機能部である。また、後述の、入力情報生成部408により生成された情報と、ホスト名取得部401により取得されたホスト名を対応させて入力受付画面に表示する機能部である。また、後述の、管理情報取得部409により取得されたホスト名と通信識別情報と、ホスト名取得部401により取得されたホスト名を入力受付画面に一覧表示する機能部である。さらに、管理情報取得部409により取得されたホスト名と通信識別情報と、ホスト名取得部401により取得されたホスト名を識別可能に表示する機能部である。管理情報取得部409により取得されたホスト名と通信識別情報の変更を抑止し、ホスト名取得部401により取得されたホスト名に対応付ける第1の通信識別情報の入力を可能に制御する機能部である。   The display unit 402 is a functional unit that displays an input reception screen for receiving an input of first communication identification information used for communication with a device associated with the host name acquired by the host name acquisition unit 401. In addition, it is a functional unit that displays information generated by the input information generation unit 408, which will be described later, and the host name acquired by the host name acquisition unit 401 in correspondence with each other on the input acceptance screen. In addition, it is a functional unit that displays a list of host names and communication identification information acquired by the management information acquisition unit 409, which will be described later, and host names acquired by the host name acquisition unit 401 on the input acceptance screen. Furthermore, it is a functional unit that displays the host name and communication identification information acquired by the management information acquisition unit 409 and the host name acquired by the host name acquisition unit 401 in a distinguishable manner. A functional unit capable of suppressing the change of the host name and communication identification information acquired by the management information acquisition unit 409 and capable of controlling the input of the first communication identification information to be associated with the host name acquired by the host name acquisition unit 401 is there.

書込部403は、表示部402で表示した入力受付画面で受け付けた第1の通信識別情報を、ホスト名取得部401により取得したホスト名と対応付けて、オペレーティングシステムが管理する管理情報に書き込む機能部である。
インストール判定部404は、デバイスドライバのインストールが完了したか否かを判定する機能部である。
プログラム実行部405は、インストール判定部404によりインストールが完了したと判定された場合に、プログラムを実行する機能部である。
The writing unit 403 writes the first communication identification information received on the input reception screen displayed on the display unit 402 in association with the host name acquired by the host name acquisition unit 401 into management information managed by the operating system. It is a functional unit.
The installation determination unit 404 is a functional unit that determines whether the installation of the device driver has been completed.
The program execution unit 405 is a functional unit that executes a program when the installation determination unit 404 determines that the installation is completed.

デバイス通信識別情報取得部406は、デバイスドライバのインストールにより、当該情報処理装置に既に登録されているデバイスのデバイス情報から、第2の通信識別情報を取得する機能部である。
情報処理装置通信識別情報取得部407は、情報処理装置の第3の通信識別情報を取得する機能部である。
The device communication identification information acquisition unit 406 is a functional unit that acquires second communication identification information from device information of a device already registered in the information processing apparatus by installing a device driver.
The information processing device communication identification information acquisition unit 407 is a functional unit that acquires the third communication identification information of the information processing device.

入力情報生成部408は、取得した第2の通信識別情報と第3の通信識別情報を用いて、入力受付画面での通信識別情報の入力の補助となる情報を生成する機能部である。
管理情報取得部409は、管理情報から、ホスト名と通信識別情報を取得する機能部である。
The input information generation unit 408 is a functional unit that uses the acquired second communication identification information and third communication identification information to generate information that assists in the input of the communication identification information on the input reception screen.
The management information acquisition unit 409 is a functional unit that acquires a host name and communication identification information from the management information.

次に、図5の概略図を参照して、本システムおける処理概要を説明する。   Next, an outline of processing in the present system will be described with reference to the schematic view of FIG.

クライアント端末101では、設定ファイル作成ツールを実行し、プリンタドライバインストーラの指定、クライアント端末102に登録するプリンタの設定情報(ポート情報等)の入力を受ける。本実施形態では、特に、管理者端末で出力先となるIP/ホスト名に、仮のホスト名を設定し、プリンタを導入するユーザ端末で、プリンタのインストールが完了すると、管理者が設定したプログラムが実行され、仮のホスト名に対応するIPアドレスをユーザに入力させて、hostsファイルに記憶することが特徴となる。   The client terminal 101 executes a setting file creation tool, receives designation of a printer driver installer, and input of printer setting information (port information etc.) registered in the client terminal 102. In the present embodiment, in particular, a temporary host name is set in the IP / host name as an output destination in the administrator terminal, and when the printer installation is completed in the user terminal which installs the printer, the program set by the administrator Is performed, and the user is made to input an IP address corresponding to a temporary host name, and is stored in the hosts file.

hostsファイルとは、オペレーションシステム(OS)のファイルの一つである。TCP/IPネットワーク上のIPアドレスとホスト名の対応を記録するテキストファイル(対応データ)である。OSは、このhostsファイルにホスト名とIPアドレスがあれば、通信の際に名前解決(ホスト名→IPアドレス)を行い、接続先と通信を行う。   The hosts file is one of the operating system (OS) files. It is a text file (corresponding data) that records the correspondence between the IP address and the host name on the TCP / IP network. If there is a host name and an IP address in the hosts file, the OS performs name resolution (host name → IP address) at the time of communication, and communicates with the connection destination.

設定ファイル作成ツールにより、インストーラセットの作成が実行されると、インストーラセット501が作成される。インストーラセットは、出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報(設定ファイル)とをまとめたファイルに相当するものである。
作成されたインストーラセットは、メールで配布、サーバ103へ格納しダウンロードすることで配布され、クライアント端末102に保存される。
When creation of an installer set is executed by the configuration file creation tool, an installer set 501 is created. The installer set corresponds to a file in which a device driver of an output device and device information (setting file) including a host name used when installing the device driver arbitrarily set by the file creator are collected.
The created installer set is distributed by mail, stored in the server 103 and downloaded, and distributed and stored in the client terminal 102.

ユーザによるインストーラセットへの実行指示により、インストーラセットが展開され、インストーラセットに含まれる実行プログラムがプリンタドライバインストーラを実行し、設定ファイルに記載されている情報に従って、仮のホスト名を用いてプリンタドライバがインストールされる。これによりクライアント端末102にプリンタが登録される。例えば、プリンタ管理画面にプリンタアイコンが表示される状態となる。   The installer set is expanded according to the execution instruction to the installer set by the user, the execution program included in the installer set executes the printer driver installer, and the printer driver is used with the temporary host name according to the information described in the setting file. Is installed. Thus, the printer is registered in the client terminal 102. For example, the printer icon is displayed on the printer management screen.

プリンタドライバインストールが完了したことを実行プログラムが検知すると、管理者に設定されたプログラム(ここでは、hosts編集モジュール)を自動的に起動させ、プリンタドライバインストール時の仮のホスト名を表示し、ユーザに対応するプリンタのIPアドレスを入力させる。すなわち、管理者のクライアント端末101で作成されたファイルは、デバイスドライバのインストール後に実行するプログラムを含むものである。
この入力されたIPアドレスと、仮のホスト名をhostsファイルへ書き込む。
なお、すでに登録されているプリンタがあり、削除指定があるプリンタについては、プリンタの削除やポートの解除が実行される。
When the execution program detects that the printer driver installation has been completed, the program (here, the hosts editing module) set by the administrator is automatically activated to display the temporary host name at the time of the printer driver installation, and the user Enter the IP address of the corresponding printer. That is, the file created by the client terminal 101 of the administrator includes a program to be executed after installation of the device driver.
This input IP address and temporary host name are written to the hosts file.
Note that for a printer that has already been registered and for which deletion has been specified, deletion of the printer or cancellation of the port is executed.

以下、図6、図14、図15、図16、図18、図20、図24のフローチャートを参照して、本実施形態のシステムにおける処理についてより詳細に説明する。
なお、各ステップについては、各装置のCPU201が処理を実行する。
The processes in the system of this embodiment will be described in more detail below with reference to the flowcharts of FIGS. 6, 14, 15, 16, 18, 20, and 24.
In addition, CPU201 of each apparatus performs a process about each step.

まず初めに、図6のインストーラセット作成処理のフローチャートについて説明する。なお、説明にあたり図7〜図13、図15を用いて説明する。図6の処理は、クライアント端末101(管理者の装置)で実行される処理である。
ステップS601は、ユーザの指示に従って、設定ファイル作成ツールを起動する。起動されると、図7の設定ファイル作成ツールの初期画面が表示される。
ステップS602は、図7の初期画面の701の追加ボタンが押下されると、図8の800のインストーラ情報設定画面を表示する。
First, the flowchart of the installer set creation process of FIG. 6 will be described. In addition, it demonstrates before using FIGS. 7-13, and 15 in description. The process of FIG. 6 is a process executed by the client terminal 101 (apparatus's device).
A step S601 activates the setting file creation tool according to the user's instruction. When activated, the initial screen of the setting file creation tool of FIG. 7 is displayed.
In step S602, when the addition button 701 on the initial screen of FIG. 7 is pressed, the installer information setting screen of 800 of FIG. 8 is displayed.

ステップS603は、図8の800のインストーラ情報設定画面の参照ボタン801が押下され、ユーザにより、クライアント端末101に記憶されているインストーラが指定されることで、インストーラ情報を受け付ける。   In step S603, the installer information is received by pressing the reference button 801 of the installer information setting screen 800 in FIG. 8 and designating the installer stored in the client terminal 101 by the user.

ステップS604は、図8の802の追加ボタンが押下されると、新規プリンタ作成か既存プリンタ削除が選択可能となり、新規プリンタ作成か既存プリンタ削除のどちらが選択されたかを判定する。なお、「新規プリンタ作成」「既存プリンタ削除」の選択は、図9の901、902に示す通りに表示され、選択可能となる。「新規プリンタ作成901」が押下されたと判定した場合には、ステップS605へ処理を移し、「既存プリンタ削除902」が押下されたと判定した場合には、ステップS609へ処理を移す。   In step S604, when the add button 802 in FIG. 8 is pressed, creation of a new printer or deletion of an existing printer can be selected, and it is determined whether creation of a new printer or deletion of an existing printer is selected. The selection of “create new printer” and “delete existing printer” is displayed as shown by 901 and 902 in FIG. 9 and can be selected. If it is determined that "Create new printer 901" is pressed, the process proceeds to step S605, and if it is determined that "delete existing printer 902" is pressed, the process proceeds to step S609.

ステップS605は、インストーラに含まれる設定ファイルからドライバ名称を取得する。具体的には、図15に示すインストーラに含まれる設定ファイルからドライバ名称を取得する。なお、ドライバ名称は、一般的にはプリンタ機種名が設定されている。すなわち、ドライバ名称を選択することで、追加したい機種が決定できる。
ステップS606は、取得したドライバ名称を図9の903のプリンタ情報設定画面に表示すべく設定する。
ステップS607は、図9の903のプリンタ情報設定画面を表示する。
A step S605 acquires the driver name 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. In general, a printer model name is set as the driver name. That is, by selecting the driver name, it is possible to determine the model to be added.
A step S606 sets the acquired driver name to be displayed on the printer information setting screen 903 of FIG.
A step S 607 displays the printer information setting screen of 903 of FIG.

ステップS608は、ユーザの操作により、プリンタ情報設定画面を介してプリンタ情報の入力を受け付け、入力情報を取得する。プリンタ情報が入力されたプリンタ情報設定画面の例が図9の904である。904のプリンタ情報設定画面で、仮のホスト名906を入力する。このホスト名は仮の名称であるため、このホスト名でプリンタドライバをインストールしても、印刷が対応するプリンタから実行はされない。
プリンタドライバのインストールでは、ポートの設定として、出力先としてIPアドレス又はホスト名を指定する必要がある。
A step S608 receives the input of the printer information through the printer information setting screen by the operation of the user, and acquires the input information. An example of a printer information setting screen into which printer information has been input is 904 in FIG. In the printer information setting screen 904, a temporary host name 906 is input. Since this host name is a temporary name, even if the printer driver is installed with this host name, printing is not executed from the corresponding printer.
When installing the printer driver, it is necessary to specify an IP address or a host name as an output destination as a port setting.

ネットワークのプリンタを出力先とし、クライアント端末から直接プリンタに印刷データを出力する場合(例えば、サーバで管理している共有プリンタへ出力しないケースの場合)、プリンタのIPアドレスの指定が必要となるが、本実施形態では、作成する管理者側ですべてのプリンタのIPアドレスを管理し、入力するのは困難であるため、管理者側で仮のホスト名を入力して、インストールするクライアント端末側で、IPアドレスを入力させる形態をとる。   When the printer terminal of the network is the output destination and print data is directly output from the client terminal to the printer (for example, in the case of not outputting to the shared printer managed by the server), specification of the IP address of the printer is required. In the present embodiment, since it is difficult for the administrator side to create and manage the IP addresses of all the printers and to input them, the administrator side inputs a temporary host name and the client terminal side to install it. , IP address is input.

ここで905のOKボタンが押下されると、900のインストーラ情報設定画面に戻り、906の処理情報一覧に、仮のホスト名が入った情報が追加される。入力された情報はメモリに記憶される。   Here, when the OK button 905 is pressed, the screen returns to the installer information setting screen 900, and information including a temporary host name is added to the process information list 906. The input information is stored in the memory.

なお、ステップ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 registered in the client apparatus.
Here, the case where the existing printer deletion 902 is pressed on the installer information setting screen 900 will be described.
In step S609, when the existing printer deletion 902 is pressed, the deletion printer information setting screen 1001 of FIG. 10 is displayed.

ステップS610は、ユーザの操作により、削除方法の指定を受け付ける。削除方法の指定としては、削除するプリンタオブジェクトの「プリンタ名」、「ドライバ名」、ポートを指定してプリンタを削除するための「ホスト名/IPアドレス」がある。   A step S610 receives the designation of the deletion method by the operation of the user. 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 designating a port and deleting the printer.

ステップS611は、ユーザからの削除方法の指定に従って、選択された削除方法を判定する。削除方法が「プリンタ名」である場合には、ステップS612へ処理を移す。削除方法が「ドライバ名」である場合には、ステップS613へ処理を移す。削除方法が「ホスト名/IPアドレス」である場合には、ステップS614へ処理を移す。   A step S611 decides the selected deletion method according to the specification of the deletion method from the user. If the deletion method is "printer name", the process moves to step S612. If the deletion method is "driver name", the process moves to step S613. If the deletion method is "host name / IP address", the process proceeds to step S614.

ステップS612は、「プリンタ名」を指定状態として、プリンタ名の指定(入力)を受け付ける。すなわち、デバイス名の指定によりデバイスを削除すべく、クライアント装置で削除対象とするデバイス名を指定するデバイス名指定処理の一例を示すステップである。   A step S 612 accepts the designation (input) of the printer name with the “printer name” designated. That is, it is a step showing an example of a device name designation process of designating a device name to be deleted by the client apparatus in order to delete a device by designation of a device name.

ステップS613は、「ドライバ名」を指定状態として、ドライバ名称の指定(入力)を受け付ける。すなわち、ドライバ名の指定によりデバイスを削除すべく、クライアント装置で削除対象とするドライバ名を指定するドライバ名指定処理の一例を示すステップである。   In step S613, the driver name specification (input) is accepted with the "driver name" specified. That is, this is a step showing an example of a driver name specification process for specifying a driver name to be deleted by the client apparatus in order to delete a device by specifying a driver name.

ステップS614は、「ホスト名/IPアドレス」を指定状態として、ホスト名またはIPアドレスの指定(入力)を受け付ける。1001の例では、「ホスト名/IPアドレス1002」が指定され、ポート先のIPアドレスが指定されている状態の削除プリンタ情報設定画面である。なお、「ホスト名/IPアドレス1002」の指定は、利用しないポート情報を指定するものである。   A step S 614 accepts the designation (input) of the host name or the IP address with the “host name / IP address” as the designated state. The example of 1001 is a deleted printer information setting screen in a state where “host name / IP address 1002” is specified and an IP address of a port destination is specified. The designation of "host name / IP address 1002" designates port information not to be used.

ステップS614は、ポート情報の指定によりデバイスを削除すべく、クライアント装置で削除対象とするポート情報を指定するポート指定処理の一例を示すステップである。   Step S 614 is a step showing an example of a port designation process of designating port information to be deleted by the client apparatus in order to delete a device according to designation of port information.

OKボタンが押下されると、インストーラ情報設定画面900へ戻り。指定した情報はメモリに記憶され、処理情報一覧907に削除するポートの情報やプリンタ名やドライバ名が追加される。   When the OK button is pressed, the process returns to the installer information setting screen 900. The designated information is stored in the memory, and the information of the port to be deleted, the printer name and the driver name are added to the processing information list 907.

次に、インストーラ情報設定画面900でOKボタンが押下された場合の処理を説明する。OKボタンが押下されると、設定ファイル作成ツールの初期画面に戻る。ここで図11の初期画面の1101が押下されると、「新規プリンタ作成」「既存プリンタ削除」で登録された処理情報の選択画面1102が表示される。そして、1103が押下されると、オプション設定画面1201が表示される。   Next, processing when an OK button is pressed on the installer information setting screen 900 will be described. When the OK button is pressed, the screen returns to the initial screen of the setting file creation tool. Here, when 1101 of the initial screen of FIG. 11 is pressed, a selection screen 1102 of processing information registered by “create new printer” and “delete existing printer” is displayed. Then, when 1103 is pressed, an option setting screen 1201 is displayed.

なお、ステップS605〜ステップS608、ステップS609〜ステップS614の処理は、インストーラ情報設定画面900の追加指定された数分繰り返し処理がされるものとする。
ステップS615は、図12のオプション設定画面1201を表示する。
It is assumed that the processing of steps S605 to S608 and steps S609 to S614 is repeated for the number of addition designation of the installer information setting screen 900.
Step S615 displays the option setting screen 1201 of FIG.

ステップS616は、オプション設定画面1201でオプション設定情報の入力を受け付け、入力情報を取得する。オプション設定画面1201で、プリンタインストール後の他ソフトを起動する設定1204で、ユーザのクライアント端末で実行するプログラムを指定する。本実施形態では、hostsファイルに書き込む情報を入力するためのプログラム(hosts編集モジュール)を指定する。
ステップS617は、設定ファイル作成画面1202を表示し、設定ファイル作成方法の情報の入力を受け付け、入力情報を取得する。
これらの入力情報はメモリに記憶する。
In step S 616, the input of option setting information is received on the option setting screen 1201, and the input information is acquired. In the option setting screen 1201, in a setting 1204 for starting other software after printer installation, a program to be executed on the user's client terminal is specified. In this embodiment, a program (hosts editing module) for inputting information to be written to the hosts file is specified.
A step S617 displays the setting file creation screen 1202, receives an input of information of the setting file creation method, and acquires the input information.
These input information is stored in the memory.

ステップS618は、設定ファイル作成画面1202で作成ボタン1203が押下されたか否かを判定する。作成ボタン1203が押下された場合には、インストーラセットの作成を実行するため、ステップS619へ処理を移す。キャンセルボタンが押下されると設定ファイル作成ツールを終了する。なお、初期画面に戻る構成であってもよい。   A step S618 decides whether or not the creation button 1203 is pressed on the setting file creation screen 1202. If the creation button 1203 is pressed, the process moves to step S619 to execute creation of an installer set. When the cancel button is pressed, the setting file creation tool is ended. The configuration may return to the initial screen.

ステップS619は、メモリに記憶されている入力情報をもとに、設定ファイルを作成する。設定ファイルに記載される情報の例は、図13である。すなわち、図9の904で指定されたホスト名や図10のホスト名等のポート情報を含む定義情報を作成する処理(定義情報作成処理)である。   A step S619 creates a setting file based on the input information stored in the memory. An example of the information described in the setting file is FIG. That is, it is processing (definition information creation processing) for creating definition information including port information such as the host name designated in 904 of FIG. 9 or the host name of FIG.

なお、ステップS619は、指定されたポート情報を含む定義情報を作成する定義情報作成処理の一例を示すステップである。また、ポート指定またはデバイス名指定またはドライバ名指定による指定に従って、デバイスの削除方法を含む定義情報を作成する処理の一例を示すステップである。さらに、定義情報は、デバイス名指定による指定の場合には、デバイス名を含み、ドライバ名指定の場合には、ドライバ名を含む。   Step S619 is a step showing an example of definition information creation processing for creating definition information including the specified port information. In addition, this 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 designation by driver name designation. Furthermore, the definition information includes a device name in the case of specification by device name specification, and includes a driver name in the case of driver name specification.

図13の1300は設定ファイルの全体のデータを示すデータ図である。1301は、既存プリンタ削除902→1001で入力された削除プリンタ情報を示すデータ図であり、1300の削除プリンタ情報の詳細を示す図である。また、1302は、新規プリンタ作成901→904で入力された追加プリンタ情報を示すデータ図であり、1300の追加プリンタ情報の詳細を示す図である。
削除プリンタ情報1301と追加プリンタ情報1302は何れも複数もつことが可能であり、図9の906の処理情報一覧数分設定されている。
Reference numeral 1300 in FIG. 13 is a data diagram showing the entire data of the setting file. Reference numeral 1301 is a data diagram showing deleted printer information input in the existing printer deletion 902 → 1001, and is a diagram showing details of the deleted printer information 1300. Also, reference numeral 1302 is a data diagram showing additional printer information input in the new printer creation 901 → 904, and is a diagram showing the details of the additional printer information 1300.
A plurality of deleted printer information 1301 and additional printer information 1302 can be provided, and they are set for the number of processing information lists 906 in FIG.

例えば、削除プリンタ情報1301は、図13に示すように、「削除方法=2」でホスト名/IPアドレスを指定して削除できる場合を示しており、削除対象に、指定されたホスト名を記憶している。   For example, as shown in FIG. 13, the deletion printer information 1301 indicates a case where deletion can be performed by specifying a host name / IP address by “deletion method = 2”, and stores the specified host name as a deletion target. doing.

ホスト名が指定されている場合には、指定されたホスト名がポートに設定されているプリンタ情報を削除することが可能となる。また、プリンタ情報を削除後、hostsファイルに記憶されているホスト名のレコードを削除する。   When the host name is designated, it becomes possible to delete the printer information in which the designated host name is set in the port. Also, after deleting the printer information, delete the record of the host name stored in the hosts file.

このほか、「削除方法=0」は、プリンタ名で指定して削除する場合で、削除対象に、指定されたプリンタ名(プリンタオブジェクト名称)を記憶している。プリンタ名が指定されている場合には、OSが管理している個々のプリンタ情報を削除することが可能となる。   In addition, “deletion method = 0” is a case where deletion is designated by specifying a printer name, and the designated printer name (printer object name) is stored as the deletion target. When a printer name is designated, it is possible to delete individual printer information managed by the OS.

また、「削除方法=1」は、ドライバ名で指定して削除する場合で、削除対象に、指定されたドライバ名を記憶している。ドライバ名が指定されている場合には、指定されているドライバ名のドライバを利用しているプリンタ(プリンタ情報のドライバ名称が一致するもの)を一括して削除することが可能となる。   In addition, “deletion method = 1” is a case where deletion is specified by a driver name, and the specified driver name is stored as a deletion target. When a driver name is designated, it is possible to collectively delete printers (those whose printer name has the same driver name) using a driver of the designated driver name.

ステップS620は、作成された設定ファイルに従って、クライアント端末102のプリンタ情報を制御(追加、削除、変更)するためのインストーラセットを作成する。インストーラセットの作成では、設定ファイルと、インストーラ情報設定画面で指定され、入力情報として記憶されているプリンタドライバインストーラと、hosts編集モジュールを含めてインストーラセットを作成する。また、プリンタドライバのインストールを実行する、hosts編集モジュールを実行するための実行モジュールも含まれるものとする。   A step S620 creates an installer set for controlling (adding, deleting, changing) printer information of the client terminal 102 according to the created setting file. In creating the installer set, the installer set is created including the host driver editing module and the printer driver installer specified as the setting information and the installer information setting screen and stored as input information. It also includes an execution module for executing the hosts editing module, which executes the installation of the printer driver.

次に、図14のインストーラセット実行処理のフローチャートについて説明する。図14の処理は、クライアント端末102(一般者の装置)で実行される処理である。   Next, a flowchart of the installer set execution process of FIG. 14 will be described. The process of FIG. 14 is a process executed by the client terminal 102 (general person's device).

ステップS1401は、ユーザの操作に従って、インストーラセットを実行し、インストーラセット内の実行モジュールが起動し、以下の処理を実行させる。以下、実行モジュールにより実行される処理である。なお複数の実行モジュールがあり、それぞれの実行モジュールが各ステップを実行する構成であってもよい。
ステップS1402は、インストーラセット内の設定ファイルから設定値を読み取り、メモリ上に記憶する。
In step S1401, the installer set is executed according to the user's operation, and the execution modules in the installer set are activated to execute the following processing. The following is processing executed by the execution module. There may be a plurality of execution modules, and each execution module may be configured to execute each step.
A step S1402 reads the setting value from the setting file in the installer set and stores it on the memory.

ステップS1403は、任意に設定された作業フォルダのパスに従ってフォルダを作成する。例えば、インストーラセットの保存されている階層と同じ階層にフォルダを作成する。
ステップS1404は、作成したフォルダに設定ファイル、プリンタドライバインストーラのファイルをコピーする。
A step S1403 creates a folder according to the path of the working folder set arbitrarily. For example, create a folder in the same hierarchy as the hierarchy in which the installer set is saved.
A step S1404 copies the setting file and the file of the printer driver installer to the created folder.

ステップS1405は、クライアント端末102にインストールされ、登録されているプリンタ情報を取得し、メモリに記憶する。このプリンタ情報は、例えば、APIである、EnumPrintersによって得られるPRINTER_INFOにかかる情報である。クライアント端末102に複数のプリンタオブジェクトが存在する場合には、その数分のプリンタ情報が取得できる。   In step S1405, printer information installed and registered in the client terminal 102 is acquired and stored in the memory. This printer information is, for example, information related to PRINTER_INFO obtained by EnumPrinters, which is an API. When a plurality of printer objects exist in the client terminal 102, printer information of the number can be acquired.

ステップS1406は、設定されたすべてのドライバ情報の数分処理したかを判定する。ドライバ情報とは、図13のドライバインストーラ設定の数分である。すべて処理した場合にはステップS1411へ処理を移し、処理していないドライバ情報がある場合には、ステップS1407へ処理を移す。   In step S1406, it is determined whether the processing has been performed for the number of all set driver information. The driver information is several minutes of the driver installer setting of FIG. If all the processes have been performed, the process moves to step S1411, and if there is driver information that has not been processed, the process moves to step S1407.

ステップS1407は、ドライバ情報に削除処理設定があるかを判定する。具体的には、削除プリンタ情報1301があるかを判定する。削除処理の判定は、削除フラグなどの別の情報をみて判定してもよい。
削除処理設定がある場合には、ステップS1408へ処理を移し、削除処理設定がない場合には、ステップS1409へ処理を移す。
A step S1407 determines whether or not there is a deletion process setting in the driver information. Specifically, it is determined whether there is deleted printer information 1301. The determination of the deletion process may be performed 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の情報に従って、プリンタの削除を実行する。プリンタ管理画面から、対象のプリンタオブジェクトが削除されることとなる。ここで削除される場合、削除されたプリンタのIP/ホスト名で設定されていたホスト名をメモリ、又は、外部ファイルに記憶する。   A step S1408 executes the deletion of the printer according to the information of the deletion printer information 1301. The target printer object is deleted from the printer management screen. If deleted here, the host name set with the IP / host name of the deleted printer is stored in the memory or external file.

ステップ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 addition process may be performed by looking at other information such as an addition flag.
If there is an additional processing setting, the processing moves to step S1410, and if there is no additional processing setting, the processing moves to step S1406.
A step S1410 adds a printer according to the additional printer information 1302.

具体的には、図13に示す設定ファイルに記述されたドライバインストーラ相対パス1303を使用して、プリンタドライバインストーラを起動する。ここでは、実行モジュールと同じ場所にプリンタドライバインストーラが存在しているが、ドライバインストーラ相対パス1303をネットワークパスにすることで、ネットワーク上のプリンタドライバインストーラを起動することもできる。次に、起動したプリンタドライバインストーラは、設定ファイルに基づいて、プリンタドライバをインストールし、追加プリンタ情報分のプリンタを追加する。これにより、OSのプリンタ管理画面にプリンタオブジェクトが表示される。例えば、図5の502のように、プリンタ1−1、プリンタ1−2、プリンタ1−3、プリンタ2が登録され、表示される。
なお、ステップS1408とステップS1410の処理順は逆であってもよい。追加の後に削除を実行する。
ステップS1411では、実行プログラムが、プリンタドライバインストールが完了したこと検知すると、他起動ソフト設定があるか否かを判定する。
プリンタドライバインストールが完了したこと検知は、デバイスドライバのインストールが完了したか否かを判定するインストール判定処理の一例を示すものである。
Specifically, the printer driver installer is started using the driver installer relative path 1303 described in the setting file shown in FIG. Here, the printer driver installer exists in the same place as the execution module, but it is possible to start the printer driver installer on the network by making the driver installer relative path 1303 a network path. Next, the started printer driver installer installs a printer driver based on the setting file and adds a printer for additional printer information. As a result, the printer object is displayed on the printer management screen of the OS. For example, as indicated by 502 in FIG. 5, the printer 1-1, the printer 1-2, the printer 1-3, and the printer 2 are registered and displayed.
The processing order of step S1408 and step S1410 may be reversed. Execute deletion after addition.
In step S1411, when the execution program detects that the printer driver installation has been completed, the execution program determines whether there is another activation software setting.
The detection of the completion of the printer driver installation indicates an example of the installation determination process for determining whether the installation of the device driver is completed.

ステップS1411の処理を具体的に説明すると、1300のツール起動設定フラグが「0」の場合、他起動ソフト設定があると判定する。他起動ソフト設定があると判定された場合には、ステップS1412へ処理を移し、他起動ソフト設定がないと判定された場合には、ステップS1413へ処理を移す。すなわち、インストールが完了したと判定された場合に、プログラム(hosts編集モジュール)を実行するプログラム実行処理の一例を示すステップである。   The process of step S1411 will be specifically described. If the tool activation setting flag of 1300 is "0", it is determined that there is other activation software setting. If it is determined that the other activation software setting is present, the process proceeds to step S1412, and if it is determined that the other activation software setting is not present, the process proceeds to step S1413. That is, this is a step showing an example of a program execution process for executing a program (hosts editing module) when it is determined that the installation is completed.

ステップS1412では、設定されているソフト(ツール)を実行する。1300で設定されているツール実行コマンドを実行することで、対象のモジュールを実行するものとする。ステップS1413の処理の詳細は、図15で説明する。
ステップS1413では、ステップS1403で作成した作業フォルダを削除する。
In step S1412, the set software (tool) is executed. It is assumed that the target module is executed by executing the tool execution command set in 1300. Details of the process of step S1413 will be described with reference to FIG.
In step S1413, the work folder created in step S1403 is deleted.

ここで、図22を用いて、プリンタ情報について説明する。図22はクライアント端末102に登録されているプリンタのプリンタ情報に従って得られる情報であり、各プリンタオブジェクトのプリンタ情報である。また、プリンタオブジェクトにポート情報が割り当てられている。   Here, the printer information will be described with reference to FIG. FIG. 22 shows information obtained according to the printer information of the printer registered in the client terminal 102, which is the printer information of each printer object. Also, port information is assigned to the printer object.

図14の処理により、プリンタの追加、削除(ポート解除含む)が行われると、クライアント端末102に登録されているプリンタは、図22となる。図22は、図5の502に表示されるプリンタオブジェクトに対応するプリンタ情報である。   When addition and deletion (including port release) of a printer are performed by the process of FIG. 14, the printer registered in the client terminal 102 is as shown in FIG. FIG. 22 shows printer information corresponding to the printer object displayed in 502 of FIG.

次に、図15の対象モジュール起動の処理のフローチャートについて説明する。本フローチャートは、ステップS1412の詳細を示すフローチャートである。   Next, the flowchart of the target module activation process of FIG. 15 will be described. This flowchart is a flowchart showing the details of step S1412.

ステップS1501では、設定されているソフト(ツール)である、hosts編集モジュールを起動する。この起動(実行)により、ホスト名を取得し、入力受付画面(ダイアログ)を表示する処理となる。   In step S1501, the hosts editing module, which is software (tool) that has been set, is activated. By this activation (execution), the host name is acquired, and the input acceptance screen (dialog) is displayed.

ステップS1502では、設定ファイルに指定されているホスト名(例えば、printer_1、printer_2)を取得し、配列に記憶する。ステップS1502の処理の詳細は、図16で説明する。すなわち、クライアント端末101で生成されたファイルを実行して、当該ファイルに含まれるデバイスドライバのインストールが実行された後に、インストールに用いられたホスト名を取得するホスト名取得処理の一例を示すステップである。   In step S1502, the host name (for example, printer_1, printer_2) specified in the setting file is acquired and stored in an array. Details of the process of step S1502 will be described with reference to FIG. That is, at the step showing an example of host name acquisition processing for acquiring the host name used for installation after executing the file generated at the client terminal 101 and executing installation of the device driver contained in the file is there.

ステップS1503では、OSが管理するhostsファイルに設定されているデータを取得し、配列に記憶する。ステップS1502の処理の詳細は、図16で説明する。   In step S1503, data set in the hosts file managed by the OS is acquired and stored in an array. Details of the process of step S1502 will be described with reference to FIG.

ステップS1504では、通信先であるIPアドレスを入力する入力画面(ダイアログ)を表示する。ステップS1504の処理の詳細は、図16で説明する。すなわち、ステップS1502で取得されたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報(本実施形態ではIPアドレスとして説明する)の入力を受け付ける入力受付画面を表示する表示処理の一例を示すステップである。
ステップS1505では、入力画面(ダイアログ)でIPアドレスの入力(編集含む)を実行する。ステップS1505の処理の詳細は、図20で説明する。
In step S1504, an input screen (dialog) for inputting an IP address which is a communication destination is displayed. Details of the process of step S1504 will be described with reference to FIG. That is, an example of display processing for displaying an input reception screen for receiving an input of first communication identification information (described as an IP address in the present embodiment) used for communication with a device associated with the host name acquired in step S1502. Is a step showing
In step S1505, the input (including editing) of the IP address is executed on the input screen (dialog). Details of the process of step S1505 will be described with reference to FIG.

ステップS1506では、図23の入力画面でOKボタンが押され、hostsファイルに書き込みをするか否かを判定する。OKボタンが押され、hostsファイルに書き込みをすると判定された場合には、OKボタンが押されていない場合には、IPアドレスの入力待ち状態となる。なお、キャンセルが押された場合には、処理を終了するものとする。   In step S1506, the OK button is pressed on the input screen of FIG. 23, and it is determined whether to write to the hosts file. If the OK button is pressed and it is determined that the host file is to be written, if the OK button is not pressed, the system waits for the input of the IP address. In addition, when cancellation is pressed, processing shall be ended.

ステップS1507では、図23で入力されたIPアドレスとホスト名をhostsファイルに保存(書き込み)する。図21の2102のように、hostsファイルに要素6、要素7のhostsデータが記憶される。すなわち、表示したダイアログ(入力受付画面)で受け付けた第1の通信識別情報を、取得したホスト名と対応付けて、オペレーティングシステムが管理する管理情報(本実施形態では、hostsファイル)に書き込む書込処理の一例を示すステップである。   In step S1507, the IP address and the host name input in FIG. 23 are stored (written) in the hosts file. As in 2102 of FIG. 21, hosts data of element 6 and element 7 are stored in the hosts file. That is, the first communication identification information accepted in the displayed dialog (input acceptance screen) is associated with the acquired host name, and written to the management information (hosts file in this embodiment) managed by the operating system. It is a step showing an example of processing.

これにより、インストールにより登録されたプリンタの通信先情報(IPアドレス)の設定を容易に行うことができる。特に同一のプリンタであって、複数のプリンタオブジェクトを登録する際には、管理者は1つの仮のホスト名を設定すればよい。また、インストールするユーザも利用するプリンタのIPアドレスを仮のホスト名に対応して入力すればよく、PCへのプリンタの登録を容易に行わせることが可能となる。また、管理者と利用者(ユーザ)双方の負担を減らすことができると共に、設定の負荷を軽減でき、効率的なプリンタの登録が可能となる。   This makes it possible to easily set the communication destination information (IP address) of the printer registered by the installation. In particular, when registering a plurality of printer objects for the same printer, the administrator may set one temporary host name. Also, the user of the installation may input the IP address of the printer to be used corresponding to the temporary host name, and the printer can be easily registered in the PC. Further, the burden on both the administrator and the user (user) can be reduced, and the load on settings can be reduced, and efficient printer registration can be performed.

次に、図16のフローチャートを用いて指定ホスト名確認の処理について説明する。本フローチャートは、ステップS1502の詳細を示すフローチャートである。フローチャートの説明は、図17の設定ファイル1701を用いて説明する。   Next, the process of confirming the designated host name will be described using the flowchart of FIG. This flowchart is a flowchart showing the details of step S1502. The flowchart will be described using the setting file 1701 of FIG.

ステップS1601では、設定ファイルをオープンできたか否かを判定する。図13の設定ファイルを簡略化して示した設定ファイルが図17の1701である。この1701の設定ファイルを用いて、説明する。   In step S1601, it is determined whether the setting file has been opened. A setting file shown by simplifying the setting file of FIG. 13 is 1701 of FIG. This will be described using the setting file 1701.

設定ファイルがオープンできた場合には、ステップS1603へ処理を移し、設定ファイルがオープンできなかった場合には、ステップS1602へ処理を移す。   If the setting file can be opened, the process proceeds to step S1603. If the setting file can not be opened, the process proceeds to step S1602.

ステップS1602では、設定ファイルがオープンできなかったため、ログファイルにエラー内容(開けなかった設定ファイル名)とエラー日時等のエラーログを記録する。エラーログには、設定ファイルのオープン以外のエラーも書き込まれるものとする。   In step S1602, since the setting file could not be opened, an error log such as an error content (a setting file name that could not be opened) and an error date and time are recorded in the log file. Errors other than the setting file open shall be written to the error log.

ステップS1603では、設定ファイルに記憶されている、ポート情報(1701では、PORT_IP)を取得する。取得したポート情報が、ホスト名となっているかを判定する。ホスト名になっているかの判定は、IPアドレス形式(x.x.x.x)であるか否かで判定する。IPアドレス形式でない場合には、ホスト名となっていると判定し、ステップS1604へ処理を移す。IPアドレス形式である場合には、後述のhostsファイルへの書き込みが不要であるため、ステップS1605へ処理を移す。   In step S1603, the port information (PORT_IP in 1701) stored in the setting file is acquired. It is determined whether the acquired port information is a host name. The determination as to the host name is made based on whether or not the IP address format is (x.x.x.x). If not in the IP address format, it is determined that the host name is selected, and the process advances to step S1604. In the case of the IP address format, since the writing to the hosts file described later is unnecessary, the process moves to step S1605.

なお、ホスト名になっているか否かは、設定ファイルを作成する際に、IPアドレス形式はフラグ「0」、ホスト名形式であればフラグ「1」を記載する構成であってもよく。フラグを判定してホスト名になっているか、IPアドレスになっているかを判定してもよい。   It should be noted that whether or not it is a host name may be a configuration in which when the configuration file is created, the IP address format is a flag “0”, and in the host name format, a flag “1”. The flag may be determined to determine whether it is a host name or an IP address.

ステップS1604では、メモリ上に指定ホスト名配列1620を作成して、ステップS1603で取得したホスト名を指定ホスト名配列1620に格納する。指定ホスト名配列1620は、すべての設定ファイルから取得したホスト名が格納される。指定ホスト名配列1620の例は、1701の設定ファイルのprinter_1、printer_2のホスト名が格納されている配列である。
ステップS1605では、オープンした設定ファイルをクローズする。
In step S1604, the designated host name array 1620 is created on the memory, and the host name acquired in step S1603 is stored in the designated host name array 1620. The designated host name array 1620 stores host names acquired from all setting files. An example of the designated host name array 1620 is an array in which the host names of printer_1 and printer_2 of the setting file 1701 are stored.
In step S1605, the opened configuration file is closed.

ステップS1606では、すべての設定ファイルを処理した場合には、処理を終了する。処理していない他の設定ファイルがある場合には、ステップS1601へ処理を移し、次の設定ファイルをオープンする。   In step S1606, when all setting files have been processed, the process ends. If there is another setting file not processed, the process advances to step S1601 to open the next setting file.

次に、図16のフローチャートを用いてhostsデータ取得の処理について説明する。本フローチャートは、ステップS1503の詳細を示すフローチャートである。フローチャートの説明は、図17のhostsファイル1702を用いて説明する。   Next, processing of acquiring hosts data will be described using the flowchart of FIG. This flowchart is a flowchart showing the details of step S1503. The flow chart will be described using the hosts file 1702 of FIG.

ステップS1610では、OSが管理するhostsファイルをオープンできたか否かを判定する。hostsファイルをオープンできなかった場合には、ステップS1611へ処理を移し、hostsファイルをオープンできた場合には、ステップS1612へ処理を移す。hostsファイルの概略を示す図が、hostsファイル1702であり、IPアドレスとホスト名が対応付いて記憶されている。
ステップS1611では、hostsファイルをオープンできなかったため、ログファイルにエラー内容とエラー日時等のエラーログを記録する。
In step S1610, it is determined whether the hosts file managed by the OS can be opened. If the hosts file can not be opened, the process proceeds to step S1611. If the hosts file can be opened, the process proceeds to step S1612. A diagram showing an outline of the hosts file is the hosts file 1702, and IP addresses and host names are stored in association with each other.
In step S1611, since the hosts file can not be opened, an error log such as an error content and an error date is recorded in the log file.

ステップS1612では、オープンされたhostsファイルから、hostsデータを取得する。すなわち、管理情報(本実施形態では、hostsファイル)から、ホスト名と通信識別情報を取得する管理情報取得処理の一例を示すステップである。   In step S1612, hosts data is acquired from the opened hosts file. That is, this is a step showing an example of management information acquisition processing for acquiring a host name and communication identification information from management information (hosts file in the present embodiment).

ステップS1613では、メモリ上にhostsデータ配列を作成し、取得したhostsデータを格納する。hostsデータ配列へhostsデータを格納した例が、hostsデータ配列1630である。すでにhostsファイルに書き込まれている、hostsデータであるIPアドレスとホスト名が格納されている。
ステップS1614では、hostsファイルをクローズする。
In step S1613, a hosts data array is created on the memory, and the acquired hosts data is stored. An example of storing the hosts data in the hosts data array is the hosts data array 1630. Contains the IP address and host name, which are hosts data, already written to the hosts file.
In step S1614, the hosts file is closed.

次に、図18の入力画面表示の処理のフローチャートについて説明する。本フローチャートは、ステップS1504の詳細を示すフローチャートである。フローチャートの説明は、図19に示す各種データを用いて説明する。   Next, the flowchart of the process of the input screen display of FIG. 18 will be described. This flowchart is a flowchart showing the details of step S1504. The flow chart will be described using various data shown in FIG.

ステップS1801では、クライアント端末102で管理しているプリンタポートの一覧を取得する。プリンタポートの情報は、hosts編集モジュールがOSのAPIを実行して取得する。プリンタポートの情報の例が1901である。
ステップS1802では、1レコード分のポート情報をメモリに読み込む。
In step S1801, a list of printer ports managed by the client terminal 102 is acquired. The host editing module acquires the printer port information by executing the API of the OS. An example of printer port information is 1901.
In step S1802, port information for one record is read into the memory.

ステップS1803では、ポート種別が「Standard TCP/IP Port」であるかを判定する。「Standard TCP/IP Port」であると判定した場合には、ステップS1804へ処理を移し、「Standard TCP/IP Port」でないと判定した場合には、ステップS1806へ処理を移す。   In step S1803, it is determined whether the port type is "Standard TCP / IP Port". If it is determined that the "Standard TCP / IP Port" is selected, the process proceeds to step S1804. If it is determined that the "Standard TCP / IP Port" is not selected, the process proceeds to step S1806.

ステップS1804では、「IPアドレス/ホスト名」がIPアドレス形式か否かを判定する。IPアドレス形式である場合には、ステップS1805へ処理を移し、IPアドレス形式でない場合には、ステップS1806へ処理を移す。   In step S 1804, it is determined whether “IP address / host name” is in IP address format. If it is in the IP address format, the process proceeds to step S1805. If it is not in the IP address format, the process proceeds to step S1806.

ステップS1805では、取得したIPアドレスを、IPアドレス配列に格納する。IPアドレス配列に格納した例が1902である。すなわち、デバイスドライバのインストールにより、クライアント端末102である情報処理装置に既に登録されているデバイスのデバイス情報から、第2の通信識別情報(本実施形態ではIPアドレス)を取得するデバイス通信識別情報取得処理の一例を示すステップである。   In step S1805, the acquired IP address is stored in the IP address array. An example stored in the IP address array is 1902. That is, device communication identification information acquisition for acquiring the second communication identification information (IP address in the present embodiment) from the device information of the device already registered in the information processing apparatus which is the client terminal 102 by installation of the device driver. It is a step showing an example of processing.

ステップS1806では、すべてのポート情報を処理したか否かを判定する。すべてのポート情報について処理した場合には、ステップS1807へ処理を移し、処理していない他のポート情報が有る場合には、次のポート情報を処理するため、ステップS1802へ処理を戻す。   In step S1806, it is determined whether all port information has been processed. If all of the port information has been processed, the process advances to step S1807. If there is other port information that has not been processed, the process returns to step S1802 to process the next port information.

ステップS1807では、クライアント端末102に設定されているIPアドレスを取得する。すなわち、クライアント端末102である情報処理装置の第3の通信識別情報(本実施形態では、IPアドレス)を取得する情報処理装置通信識別情報取得処理の一例を示すステップである。   In step S1807, the IP address set in the client terminal 102 is acquired. That is, it is a step showing an example of the information processing apparatus communication identification information acquisition process for acquiring the third communication identification information (in the present embodiment, the IP address) of the information processing apparatus which is the client terminal 102.

ステップS1808では、IPアドレス配列1902のIPアドレスと、ステップS1807で取得したクライアント端末102のIPアドレスとを比較する。比較方法について説明する。比較は、上位から何桁目まで一致するかを決めるものである。具体的には、クライアント端末102のIPアドレスを「10.5.1.25」とした場合、IPアドレス配列1902の1行目では、「10.1.1.1」と「10.5.1.25」とを比較する。この比較を行数分繰り返す。   In step S1808, the IP address of the IP address array 1902 is compared with the IP address of the client terminal 102 acquired in step S1807. The comparison method will be described. The comparison is to determine what digit from the top to match. Specifically, assuming that the IP address of the client terminal 102 is “10.5.1.25”, “10.1.1.1” and “10.5. Compare with 1.25 ". Repeat this comparison for the number of lines.

ステップS1809では、IPアドレスの比較により、候補となるIPアドレスを特定する。具体的には、1行目の比較の結果、一致桁数は上位「1桁(10)」となり、候補IPアドレスとして「10.1.1.11」と「最大桁数=1桁」をメモリに保存する。2行目の比較は、「10.5.5.27」と「10.5.1.25」との比較になり、候補IPアドレスが「10.5.5.27」となり、「10.5.5.27」と「最大桁数=2桁」をメモリに保存する。これを繰り返すと、候補IPアドレスが「10.5.1.80」に特定される。また、「最大桁数=3桁」となる。   In step S1809, IP address comparison is performed to specify candidate IP addresses. Specifically, as a result of the comparison of the first line, the number of matching digits becomes the upper “1 digit (10)”, and “10.1.1.11” and “maximum digit number = 1 digit” as candidate IP addresses Save to memory Comparison of the second line is comparison between "10.5.5.27" and "10.5.1.25", and the candidate IP address becomes "10.5.5.27", and "10. Save 5.5.27 "and" maximum number of digits = 2 digits "in memory. Repeating this, the candidate IP address is specified as “10.5.1.80”. Also, "maximum number of digits = 3 digits".

これにより、クライアント端末102で現在使用しているプリンタのうち、近くのプリンタのIPアドレスが特定できる。候補IPアドレスが特定できることは、特に、新たなプリンタを導入する際、近くのプリンタと近いIPアドレスになる可能性が高いため、後述でのホスト名に対応するIPアドレスの入力が容易になる。   As a result, among the printers currently used by the client terminal 102, the IP address of a nearby printer can be specified. The fact that the candidate IP address can be specified is particularly likely to be an IP address close to a nearby printer when a new printer is introduced, which facilitates the input of an IP address corresponding to a host name described later.

ステップS1810では、候補IPアドレスと、最大桁数から、表示用のIPアドレスを生成する。具体的には、候補IPアドレスの最大桁数(3桁目)までの値を取得し、「入力」と組み合わせた表示用のIPアドレスを生成する。   In step S1810, an IP address for display is generated from the candidate IP address and the maximum number of digits. Specifically, a value up to the maximum number of digits (third digit) of the candidate IP address is acquired, and an IP address for display combined with “input” is generated.

例えば、入力の補助となる「10.5.1.入力」。また、表示用のIPアドレスが生成できない、しない場合などには、「IPアドレスを入力してください」を用いるものとする。   For example, "10.5.1. Input" to assist with input. In addition, when the IP address for display can not be generated, it is assumed that “Please enter an IP address”.

すなわち、取得した第2の通信識別情報と、取得した第3の通信識別情報を用いて、入力受付画面(本実施形態では、ダイアログ)での通信識別情報(本実施形態では、IPアドレス)の入力の補助となる情報を生成する入力情報生成処理の一例を示すステップである。   That is, using the acquired second communication identification information and the acquired third communication identification information, the communication identification information (IP address in the present embodiment) of the input acceptance screen (in the present embodiment, the dialog). It is a step which shows an example of input information generation processing which generates information used as input assistance.

ステップS1811では、hostsデータ配列1903から、IPアドレスとホスト名を取得して、Itemデータを生成する。Itemデータは、例えば、1904である。Itemデータを生成する際には、背景色、文字色、編集可否、行数、変更フラグのパラメータを設定する。この設定は、hosts編集モジュールが参照するINFファイルに記載されている情報を基に設定される。なお、編集可否にするか否かは、hosts編集モジュール実行時にユーザが任意に指定し、図23の画面でhostsファイルに予め保存されているデータについては、入力できないように制御する。   In step S 1811, the IP address and the host name are acquired from the hosts data array 1903 to generate Item data. Item data is, for example, 1904. When generating Item data, parameters of background color, character color, editing availability, number of lines, and change flag are set. This setting is set based on the information described in the INF file that the hosts editing module refers to. Note that whether or not editing is permitted is arbitrarily designated by the user when the hosts editing module is executed, and control is performed so that data previously stored in the hosts file on the screen of FIG. 23 can not be input.

すなわち、管理情報取得処理によりhostsファイルから取得されたホスト名と通信識別情報(IP)の変更を抑止し、ホスト名取得処理により設定ファイルから取得されたホスト名に対応付ける第1の通信識別情報(IPアドレス)の入力を許可する制御を行うものである。   That is, the first communication identification information to be associated with the host name acquired from the configuration file by suppressing the change of the host name and the communication identification information (IP) acquired from the hosts file by the management information acquisition processing Control to permit the input of the IP address).

ステップS1812では、ステップS1811で生成したItemデータを、メモリ上に作成した配列に格納する。1903の要素1〜要素5までのItemデータが配列に格納される。   In step S1812, the Item data generated in step S1811 is stored in the array created on the memory. Item data of elements 1 to 5 of 1903 are stored in an array.

ステップS1813では、指定ホスト名配列1905からデータ(ホスト名)を取得する。ステップS1810で生成した表示用のIPアドレスと取得したホスト名を用いて、Itemデータを生成する。生成したItemデータの例は、1906である。ここでは、編集可否フラグは「編集可」として設定する。   In step S 1813, data (host name) is acquired from the designated host name array 1905. Item data is generated using the display IP address generated in step S1810 and the acquired host name. An example of the generated Item data is 1906. Here, the editability flag is set as "editable".

ステップS1814では、ステップS1813で生成したItemデータを、メモリ上に作成した配列に格納する。1905の要素1〜要素2までのItemデータが配列に格納される。
ステップS1815では、Itemデータからデータを取得する。
In step S1814, the Item data generated in step S1813 is stored in the array created on the memory. Item data of elements 1 to 2 of 1905 are stored in an array.
In step S1815, data is acquired from the item data.

ステップS1816では、表示リストにデータ(IPアドレス、ホスト名)をセットする。データをセットする際には、Itemデータの行数に従ってセットする。
ステップS1817では、セットした表示リストを用いて、ダイアログ表示する。このとき、背景色、文字色、編集可否フラグに従って、表示を行う。
In step S1816, data (IP address, host name) is set in the display list. When setting data, set according to the number of lines of Item data.
In step S1817, a dialog is displayed using the set display list. At this time, display is performed according to the background color, the text color, and the edit enable / disable flag.

ダイアログ表示の例が、図23である。「10.5.1.入力」を表示した例が、2301である。プルダウンにより候補IPアドレスを表示させる構成であってもよい。また、候補IPアドレスがない場合など、「IPアドレスを入力してください」を表示した例が、2302である。   An example of the dialog display is shown in FIG. An example in which “10.5.1. Input” is displayed is 2301. The candidate IP address may be displayed by pull-down. Also, when there is no candidate IP address, 2302 is an example where “Please enter an IP address” is displayed.

2301のように、hostsファイルから取得したデータ(レコード)と、設定ファイルから取得したホスト名のデータ(レコード)を識別可能に表示する。特に、設定ファイルから取得したホスト名のデータは強調表示することで識別表示する。   As in 2301, the data (record) acquired from the hosts file and the data (record) of the host name acquired from the setting file are displayed in a distinguishable manner. In particular, host name data acquired from the configuration file is identified and displayed by highlighting.

すなわち、入力情報生成処理で入力補助として生成された情報と、ホスト名取得処理により取得されたホスト名を対応させて表示する処理の一例を示すものである。   That is, it shows an example of processing for displaying information generated as input assistance in the input information generation processing and the host name acquired in the host name acquisition processing in association with each other.

また、管理情報取得処理により取得されたホスト名と通信識別情報と、ホスト名取得処理により取得されたホスト名を入力受付画面に一覧表示する処理の一例を示すものである。
なお「入力」「IPアドレスを入力してください」は、入力フォーカスがあたると入力エリアから削除される。
In addition, an example of processing for displaying a list of host names and communication identification information acquired by the management information acquisition processing and host names acquired by the host name acquisition processing on the input reception screen is shown.
"Input" and "Please enter IP address" are deleted from the input area when the input focus is achieved.

次に、図20のIPアドレス編集の処理のフローチャートについて説明する。本フローチャートは、ステップS1505の詳細を示すフローチャートである。   Next, the flowchart of the IP address editing process of FIG. 20 will be described. This flowchart is a flowchart showing details of step S1505.

ステップS2000では、ダイアログ上でユーザの操作に応じて、データの入力を受け付ける。入力された例は、図23の2303である。IPアドレスの入力は、ユーザが利用するプリンタのIPアドレスは、各拠点(営業所等)で管理しているプリンタ一覧ファイルを確認して入力するなどの形態がある。また、プリンタにIPアドレスのシールが貼ってある場合は、シールに記載されているIPアドレスを入力する。   In step S2000, the input of data is accepted according to the user's operation on the dialog. The input example is 2303 of FIG. The IP address can be input by checking the printer list file managed by each base (business office etc.) and inputting the IP address of the printer used by the user. If the printer has a sticker with an IP address attached, enter the IP address written on the sticker.

ステップS2001では、ダイアログ上での入力を受け付けると、入力を受け付けた変更行のデータを取得する。例えば、IPアドレス「10.5.1.90」「printer_1」
ステップS2002では、変更行に対応するItemデータをItem配列から取得する。
In step S2001, when the input on the dialog is received, data of the changed row for which the input is received is acquired. For example, IP address "10.5.1.90""printer_1"
In step S2002, Item data corresponding to the changed row is acquired from the Item array.

ステップS2003では、Itemデータと変更行のデータを比較し、IPアドレスが変更されたと判定した場合には、ステップS2004へ処理を移す。IPアドレスが変更されていない場合には、ステップS2005へ処理を移す。なお、本実施形態では、Itemデータと変更行のデータとを比較して、変更されたデータがIPアドレスかを判定したが、hosts編集モジュールが、ユーザにより入力され変更された項目を記憶する構成とし、この変更された項目がIPアドレスかを判定するようにしてもよい。   In step S2003, the item data is compared with the data in the change row, and if it is determined that the IP address has been changed, the process proceeds to step S2004. If the IP address has not been changed, the process moves to step S2005. In this embodiment, although the item data is compared with the data of the changed line to determine whether the changed data is an IP address, the hosts editing module stores an item input and changed by the user. It may be determined whether this changed item is an IP address.

ステップS2004では、Itemデータの変更フラグをTRUEに更新し、変更されたIPアドレスでItemデータのIPアドレスを更新する。この時hostsデータ配列は2101のように、要素6と要素7のように格納される。   In step S2004, the change flag of Item data is updated to TRUE, and the IP address of Item data is updated with the changed IP address. At this time, the hosts data array is stored as in element 6 and element 7 as in 2101.

ステップS2005では、Itemデータと変更行のデータを比較し、ホスト名が変更されたと判定した場合には、ステップS2006へ処理を移す。ホスト名が変更されていない場合には、処理を終了する。なお、本実施形態では、Itemデータと変更行のデータとを比較して、変更されたデータがホスト名かを判定したが、hosts編集モジュールが、ユーザにより入力され変更された項目を記憶する構成とし、この変更された項目がホスト名かを判定するようにしてもよい。
ステップS2006では、Itemデータの変更フラグをTRUEに更新し、変更されたホスト名でItemデータのホスト名を更新する。
In step S2005, the item data is compared with the data of the change row, and if it is determined that the host name has been changed, the process proceeds to step S2006. If the host name has not been changed, the process ends. In this embodiment, although the item data is compared with the data of the changed line to determine whether the changed data is the host name, the hosts editing module stores the item input and changed by the user. Then, it may be determined whether this changed item is a host name.
In step S2006, the item data change flag is updated to TRUE, and the item data host name is updated with the changed host name.

なお、上述では、IPアドレス、ホスト名を変更できるようにしたが、hosts編集モジュールが、今回追加するホスト名のIPアドレスだけを編集させるような構成をとる場合、ステップS2000〜ステップS2002、ステップS2004の処理を実行するものとする。
この場合、追加ボタンで新規レコードにIPアドレスとホスト名を入力をさせない構成とする。
In the above description, the IP address and the host name can be changed. However, if the hosts editing module is configured to edit only the IP address of the host name to be added this time, steps S2000 to S2002, and S2004. The following processing shall be performed.
In this case, the configuration is such that the IP address and host name are not input to the new record by the add button.

本実施形態では対象のデバイスをプリンタとしたが、複合機やポートが設定される他の入出力機器に適用してもよい。   Although the target device is a printer in this embodiment, the present invention may be applied to a multifunction peripheral or another input / output device in which a port is set.

次に、上述の実施形態に加え、クライアント端末102でプリンタを削除した場合のhostsファイルのデータを削除する実施形態を説明する。   Next, in addition to the above-described embodiment, an embodiment in which data of the hosts file is deleted when the printer is deleted by the client terminal 102 will be described.

図24は、hostsファイルのデータ削除の処理のフローチャートである。
他の処理については、上述の処理と同一のため、説明を省略する。
FIG. 24 is a flowchart of processing for deleting data in the hosts file.
The other processing is the same as the above-described processing, and thus the description thereof is omitted.

ステップS1506で、hostsファイルの書き込み指示があった場合に、図13の1301のホスト名を取得する。このホスト名を有するレコードをhostsファイルから特定して、削除する。hostsファイルからのデータ削除は、OSのAPIを用いて実行する。
また、削除対象のレコードは、2304の入力画面のように、プリンタが削除されたため、削除されることをユーザが認識可能なように表示される。
If there is an instruction to write the hosts file in step S1506, the host name 1301 in FIG. 13 is acquired. Identify the record with this host name from the hosts file and delete it. Data deletion from the hosts file is executed using the API of the OS.
Also, the record to be deleted is displayed so that the user can recognize that the printer is deleted because the printer is deleted, as in the input screen 2304.

以上、本実施形態によれば、インストールに係る通信先の設定作業を容易にすることができる。
特に、インストール情報を設定する管理者の作業及びインストールを実行するユーザのインストールに係る作業の双方を効率化することができる。
As described above, according to this embodiment, the setting operation of the communication destination related to installation can be facilitated.
In particular, both the work of the administrator who sets the installation information and the work related to the installation of the user who executes the installation can be streamlined.

また、管理者が仮のホスト名を用いることで、容易にインストーラセットが作成でき、利便性の高い仕組みを実現できる。また、仮のホスト名の箇所、すなわちユーザに設定させるIPアドレスを強調表示するため、インストールを実行するユーザ、特に不慣れなユーザであってもミスを低減でき、容易に入力させ、プリンタを容易に導入することが可能になる。   Also, by using a temporary host name by the administrator, an installer set can be easily created, and a highly convenient mechanism can be realized. In addition, since the location of the temporary host name, that is, the IP address to be set by the user is highlighted, mistakes can be reduced even for the user who executes the installation, particularly even an unfamiliar user, and the printer can be easily input. It will be possible to introduce.

さらに、配布されたファイルを実行するだけで、プリンタドライバなどのインストールで複雑なインストール作業を軽減することができ、導入が容易となる。特に、ポートの設定を適切に行わないと印刷ができないため、仮のホスト名でのインストールを実行した場合には、プリンタと通信を行わせるためのIPアドレスが必要になります。このIPアドレスをホスト名(仮のホスト名)に確実に対応付けて、hostsファイルに入力させることで、印刷を実行できる環境を作ることが可能となります。本実施形態では、IPアドレスを入力させるプログラム(本実施形態では、hosts編集モジュール)がインストールに続き自動で実行できるようにしているため、ユーザが後から作業するIPアドレスの入力、hostsファイルのメンテナンス漏れを防ぎ、印刷を実行できる環境を容易に構築することが可能となる。   Furthermore, by simply executing the distributed file, complicated installation work can be reduced by installing a printer driver or the like, and installation becomes easy. In particular, you can not print without proper port settings, so if you install using a temporary host name, you will need an IP address to communicate with the printer. It is possible to create an environment where printing can be performed by making sure that this IP address is associated with the host name (provisional host name) and entering it in the hosts file. In this embodiment, since the program (in this embodiment, the hosts editing module) for inputting the IP address can be automatically executed following the installation, the user can input the IP address to be worked later, maintenance of the hosts file It is possible to prevent leakage and easily construct an environment in which printing can be performed.

なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。例えば、本実施形態では、IPアドレスを用いる構成としたが、オペレーティングシステムが出力先を特定できる個体識別番号で通信できる構成の場合には、IPアドレスに限定されるものではない。   The configuration of the various data described above and the contents thereof are not limited to this, and it is needless to say that they are configured in various configurations and contents depending on the application and purpose. For example, although the IP address is used in the present embodiment, the configuration is not limited to the IP address in the case where the operating system can communicate with an individual identification number that can specify the output destination.

以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。例えば、クラウド環境で実現する構成であってもよい。その場合、クラウド環境上のサーバで、設定ファイル作成ツールが実行される。   As mentioned above, although one Embodiment was shown, this invention can take the embodiment as a system, an apparatus, a method, a program, a recording medium etc., for example, and, specifically, it is comprised from a some apparatus The present invention may be applied to a single system or to an apparatus comprising a single device. For example, the configuration may be realized in a cloud environment. In that case, the configuration file creation tool is executed on the server on the cloud environment.

また、本発明におけるプログラムは、図6、図14、図15、図16、図18、図20、図24に示すフローチャートの処理方法をコンピュータが実行可能なプログラムである。なお、記憶媒体に図6、図14、図15、図16、図18、図20、図24の処理方法をコンピュータが実行可能なプログラムが記憶される構成であってもよい。なお、本発明におけるプログラムは図6、図14、図15、図16、図18、図20、図24の各装置の処理方法ごとのプログラムであってもよい。   Further, the program in the present invention is a program that enables a computer to execute the processing method of the flowcharts shown in FIGS. 6, 14, 15, 16, 18, 20, and 24. Note that the storage medium may be configured to store a program that enables a computer to execute the processing method shown in FIGS. 6, 14, 15, 16, 18, 20, and 24. The program in the present invention may be a program for each processing method of each device in FIG. 6, FIG. 14, FIG. 15, FIG. 16, FIG. 18, FIG.

以上のように、前述した実施形態の機能を実現するプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   As described above, the recording medium recording the program for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the program stored in the recording medium. It goes without saying that the object of the present invention can be achieved also by reading and executing.

この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記憶した記録媒体は本発明を構成することになる。   In this case, the program itself read out 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, non-volatile memory card, ROM, EEPROM, silicon Disks, solid state drives, etc. can be used.

また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program read by the computer, not only the functions of the above-described embodiment are realized, but also an operating system (OS) or the like running on the computer is actually executed based on the instructions of the program. It goes without saying that the processing is partially or entirely performed, and the processing realizes the functions of the above-described embodiments.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program read from the recording medium is written to the memory provided to the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function expansion board is read based on the instruction 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 embodiment are realized by the processing.

また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   Further, the present invention may be applied to a system constituted by a plurality of devices or to an apparatus comprising a single device. It goes without saying that the present invention can also be applied to the case where it 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 receive the effects of the present invention.

さらに、本発明を達成するためのプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。
なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。
Further, by downloading and reading out a program for achieving the present invention from a server on a network, a database or the like by a communication program, the system or apparatus can receive the effects of the present invention.
In addition, the structure which combined each embodiment mentioned above and its modification is also contained in this invention altogether.

101 クライアント端末(管理者)
102 クライアント端末(一般者)
103 サーバ
104 プリンタ
105 プリンタ
106 ネットワーク
201 CPU
202 RAM
203 ROM
211 メモリ(HD、FD)
302 設定ファイル作成ツール
101 Client terminal (administrator)
102 Client terminal (general person)
103 server 104 printer 105 printer 106 network 201 CPU
202 RAM
203 ROM
211 Memory (HD, FD)
302 Configuration File Creation Tool

Claims (12)

出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを実行する情報処理装置であって、
前記ファイルを実行して、前記デバイス情報と前記デバイスドライバとを用いたインストールの実行に伴って、前記インストールに用いられるホスト名を取得するホスト名取得手段と、
前記情報処理装置が管理する管理情報から、ホスト名と通信識別情報とを取得する管理情報取得手段と、
前記管理情報取得手段により取得されたホスト名と通信識別情報と、前記ホスト名取得手段により取得されたホスト名を表示し、当該ホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示手段と、
前記表示手段で表示した入力受付画面で受け付けた第1の通信識別情報と、前記ホスト名取得手段により取得したホスト名とが対応付くよう、前記管理情報に書き込む書込手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus that executes a file including a device driver of an output device and device information including a host name used when installing the device driver arbitrarily set by a file creator,
Host name acquisition means for acquiring the host name used for the installation by executing the file and executing the installation using the device information and the device driver;
Management information acquisition means for acquiring a host name and communication identification information from management information managed by the information processing apparatus;
The first communication identification information used for communication with a device that displays the host name and communication identification information acquired by the management information acquisition means, and the host name acquired by the host name acquisition means, and associates the host name with the host name. Display means for displaying an input acceptance screen for accepting input of
The first communication identification information received on the input reception screen displayed by the display unit includes a writing unit that writes the management information so that the host name acquired by the host name acquisition unit corresponds to each other. Information processing apparatus to be.
前記ファイルは、デバイスドライバのインストール後に実行するプログラムを含み、
前記デバイスドライバのインストールが完了したか否かを判定するインストール判定手段と、
前記インストール判定手段によりインストールが完了したと判定された場合に、前記プログラムを実行するプログラム実行手段と
を更に備え、
前記プログラム実行手段によるプログラムの実行により、ホスト名を取得し、前記入力受付画面を表示することを特徴とする請求項1に記載の情報処理装置。
The file includes a program to be executed after installation of a device driver,
An installation determining unit that determines whether the installation of the device driver has been completed;
And program execution means for executing the program when it is determined that the installation is completed by the installation determination means.
The information processing apparatus according to claim 1, wherein a host name is acquired by execution of a program by the program execution unit, and the input acceptance screen is displayed.
デバイスドライバのインストールに伴って、当該情報処理装置に既に登録されているデバイスのデバイス情報から、第2の通信識別情報を取得するデバイス通信識別情報取得手段と、
当該情報処理装置の第3の通信識別情報を取得する情報処理装置通信識別情報取得手段と、
前記第2の通信識別情報と前記第3の通信識別情報を用いて、前記入力受付画面での通信識別情報の入力の補助となる情報を生成する入力情報生成手段と
を更に備え、
前記表示手段は、前記入力情報生成手段により生成された情報と、前記ホスト名取得手段により取得されたホスト名を対応させて前記入力受付画面に表示することを特徴とする請求項1又は2に記載の情報処理装置。
Device communication identification information acquisition means for acquiring second communication identification information from device information of a device already registered in the information processing apparatus upon installation of the device driver;
An information processing device communication identification information acquisition unit that acquires a third communication identification information of the information processing device;
The information processing apparatus further comprising: input information generation means for generating information to assist the input of the communication identification information on the input acceptance screen using the second communication identification information and the third communication identification information;
3. The apparatus according to claim 1, wherein the display unit displays the information generated by the input information generation unit and the host name acquired by the host name acquisition unit on the input acceptance screen in association with each other. Information processor as described.
前記表示手段は、既に管理されている情報と新たに管理する情報とを認識させるべく、前記管理情報取得手段により取得されたホスト名と通信識別情報と、前記ホスト名取得手段により取得されたホスト名を識別可能に表示することを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。   The display unit is configured to recognize the host name and communication identification information acquired by the management information acquisition unit, and the host acquired by the host name acquisition unit so as to recognize information that is already managed and information to be newly managed. The information processing apparatus according to any one of claims 1 to 3, wherein the name is displayed in an identifiable manner. 前記表示手段は、前記第1の通信識別情報の入力を促すように、前記ホスト名取得手段により取得されたホスト名に関わる情報を識別可能に表示することを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。   5. The display device according to claim 1, wherein the display means identifiably displays the information related to the host name acquired by the host name acquisition means so as to prompt the input of the first communication identification information. An information processing apparatus according to any one of the above. 前記表示手段は、前記管理情報取得手段により取得されたホスト名と通信識別情報の変更を抑止し、前記ホスト名取得手段により取得されたホスト名に対応付ける第1の通信識別情報の入力を可能に制御することを特徴とする請求項1乃至5の何れか1項に記載の情報処理装置。   The display means suppresses the change of the host name and the communication identification information acquired by the management information acquisition means, and enables the input of the first communication identification information to be associated with the host name acquired by the host name acquisition means. The information processing apparatus according to any one of claims 1 to 5, wherein the control is performed. 前記管理情報は、前記情報処理装置のオペレーティングシステムが管理する情報であることを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 6, wherein the management information is information managed by an operating system of the information processing apparatus. 出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを実行する情報処理装置の処理方法であって、
前記ファイルを実行して、前記デバイス情報と前記デバイスドライバとを用いたインストールの実行に伴って、前記インストールに用いられるホスト名を取得するホスト名取得ステップと、
前記情報処理装置が管理する管理情報から、ホスト名と通信識別情報とを取得する管理情報取得ステップと、
前記管理情報取得ステップにより取得されたホスト名と通信識別情報と、前記ホスト名取得ステップにより取得されたホスト名を表示し、当該ホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示ステップと、
前記表示ステップで表示した入力受付画面で受け付けた第1の通信識別情報と、前記ホスト名取得ステップにより取得したホスト名とが対応付くよう、オペレーティングシステムが管理する管理情報に書き込む書込ステップと
を含むことを特徴とする処理方法。
A processing method of an information processing apparatus, which executes a file including a device driver of an output device and device information including a host name used when installing the device driver arbitrarily set by a file creator.
A host name acquisition step of executing the file and acquiring a host name used for the installation along with execution of installation using the device information and the device driver;
A management information acquisition step of acquiring a host name and communication identification information from management information managed by the information processing apparatus;
The first communication identification information used for communication with a device that displays the host name and communication identification information acquired in the management information acquisition step and the host name acquired in the host name acquisition step and associates the host name with the host name. A display step for displaying an input reception screen for receiving an input of
A writing step of writing in the management information managed by the operating system such that the first communication identification information accepted on the input acceptance screen displayed in the display step and the host name acquired in the host name acquisition step correspond to each other A processing method characterized by comprising.
出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルであり、情報処理装置で実行可能なプログラムであって、
情報処理装置を、
前記ファイルを実行して、前記デバイス情報と前記デバイスドライバとを用いたインストールの実行に伴って、前記インストールに用いられるホスト名を取得するホスト名取得手段と、
前記情報処理装置が管理する管理情報から、ホスト名と通信識別情報とを取得する管理情報取得手段と、
前記管理情報取得手段により取得されたホスト名と通信識別情報と、前記ホスト名取得手段により取得されたホスト名を表示し、当該ホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示手段と、
前記表示手段で表示した入力受付画面で受け付けた第1の通信識別情報と、前記ホスト名取得手段により取得したホスト名とが対応付くよう、前記情報処理装置が管理する管理情報に書き込む書込手段
として機能させるためのプログラム。
A file that is a file in which a device driver of an output device and device information including a host name used when installing the device driver arbitrarily set by a file creator, and which can be executed by an information processing apparatus,
An information processor,
Host name acquisition means for acquiring the host name used for the installation by executing the file and executing the installation using the device information and the device driver;
Management information acquisition means for acquiring a host name and communication identification information from management information managed by the information processing apparatus;
The first communication identification information used for communication with a device that displays the host name and communication identification information acquired by the management information acquisition means, and the host name acquired by the host name acquisition means, and associates the host name with the host name. Display means for displaying an input acceptance screen for accepting input of
A writing unit that writes the management information managed by the information processing apparatus such that the first communication identification information received on the input reception screen displayed by the display unit corresponds to the host name acquired by the host name acquisition unit Program to function as.
出力デバイスのデバイスドライバを任意の設定でインストールさせるファイルを生成する情報処理装置であって、
デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報を入力する入力手段と、
デバイスドライバのインストールに伴って実行させるプログラムを指定するプログラム指定手段と、
前記ファイルを実行した際に、前記デバイス情報と前記デバイスドライバとを用いたインストールの実行に伴って前記プログラム指定手段で指定されたプログラムを実行させ、当該プログラムにより前記インストールに用いられたホスト名を取得させ、前記情報処理装置が管理する管理情報から、ホスト名と通信識別情報とを取得させ、管理情報から取得されたホスト名と通信識別情報と、取得されたインストールに用いられたホスト名とを表示し、取得されたインストールに用いられたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示させ、表示された入力受付画面で受け付けた第1の通信識別情報と取得したホスト名とを対応付けて前記情報処理装置が管理する管理情報に書き込むよう制御するファイルを生成するファイル生成手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus that generates a file for installing a device driver of an output device with any setting,
An input unit for inputting device information including a host name used when installing a device driver;
Program specification means for specifying a program to be executed upon installation of the device driver;
When the file is executed, the program designated by the program designation unit is executed along with the execution of installation using the device information and the device driver, and the host name used for the installation is determined by the program. The host name and the communication identification information are acquired from the management information managed by the information processing apparatus, the host name acquired from the management information and the communication identification information, and the acquired host name used for the installation. To display an input acceptance screen for accepting input of the first communication identification information used for communication with the device associated with the acquired installation name, and displaying the input acceptance screen displayed on the displayed input acceptance screen In the management information managed by the information processing apparatus, the communication identification information of 1 and the acquired host name are associated with each other The information processing apparatus characterized by comprising a file generating means for generating a file that controls to burn them.
出力デバイスのデバイスドライバを任意の設定でインストールさせるファイルを生成する情報処理装置の処理方法であって、
デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報を入力する入力ステップと、
デバイスドライバのインストールに伴って実行させるプログラムを指定するプログラム指定ステップと、
前記ファイルを実行した際に、前記デバイス情報と前記デバイスドライバとを用いたインストールの実行に伴って前記プログラム指定ステップで指定されたプログラムを実行させ、当該プログラムにより前記インストールに用いられたホスト名を取得させ、前記情報処理装置が管理する管理情報から、ホスト名と通信識別情報とを取得させ、管理情報から取得されたホスト名と通信識別情報と、取得されたインストールに用いられたホスト名とを表示し、取得されたインストールに用いられたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示させ、表示された入力受付画面で受け付けた第1の通信識別情報と取得したホスト名とを対応付けて前記情報処理装置が管理する管理情報に書き込むよう制御するファイルを生成するファイル生成ステップと
を備えることを特徴とする情報処理装置の処理方法。
It is a processing method of an information processing apparatus which generates a file for installing a device driver of an output device with an arbitrary setting,
Inputting device information including a host name used when installing a device driver;
A program specification step of specifying a program to be executed along with installation of the device driver;
When the file is executed, the program designated in the program designation step is executed along with the execution of installation using the device information and the device driver, and the host name used for the installation by the program is The host name and the communication identification information are acquired from the management information managed by the information processing apparatus, the host name acquired from the management information and the communication identification information, and the acquired host name used for the installation. To display an input acceptance screen for accepting input of the first communication identification information used for communication with the device associated with the acquired installation name, and displaying the input acceptance screen displayed on the displayed input acceptance screen Management information managed by the information processing apparatus in association with the communication identification information of 1 and the acquired host name Processing method for an information processing apparatus characterized by comprising a file generating step of generating a control file to write to.
出力デバイスのデバイスドライバを任意の設定でインストールさせるファイルを生成する生成プログラムであって、
情報処理装置を
デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報を入力する入力手段と、
デバイスドライバのインストールに伴って実行させるプログラムを指定するプログラム指定手段と、
前記ファイルを実行した際に、前記デバイス情報と前記デバイスドライバとを用いたインストールの実行に伴って前記プログラム指定手段で指定されたプログラムを実行させ、当該プログラムにより前記インストールに用いられたホスト名を取得させ、前記情報処理装置が管理する管理情報から、ホスト名と通信識別情報とを取得させ、管理情報から取得されたホスト名と通信識別情報と、取得されたインストールに用いられたホスト名とを表示し、取得されたインストールに用いられたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示させ、表示された入力受付画面で受け付けた第1の通信識別情報と取得したホスト名とを対応付けて前記情報処理装置が管理する管理情報に書き込むよう制御するファイルを生成するファイル生成手段として機能させるための生成プログラム。
A generation program for generating a file for installing a device driver of an output device with any setting,
An input unit for inputting device information including a host name used when installing the device driver into the information processing apparatus;
Program specification means for specifying a program to be executed upon installation of the device driver;
When the file is executed, the program designated by the program designation unit is executed along with the execution of installation using the device information and the device driver, and the host name used for the installation is determined by the program. The host name and the communication identification information are acquired from the management information managed by the information processing apparatus, the host name acquired from the management information and the communication identification information, and the acquired host name used for the installation. To display an input acceptance screen for accepting input of the first communication identification information used for communication with the device associated with the acquired installation name, and displaying the input acceptance screen displayed on the displayed input acceptance screen In the management information managed by the information processing apparatus, the communication identification information of 1 and the acquired host name are associated with each other Generating program to function as a file generating means for generating a file that controls to burn them.
JP2015180364A 2015-09-14 2015-09-14 INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM Active JP6540410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015180364A JP6540410B2 (en) 2015-09-14 2015-09-14 INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015180364A JP6540410B2 (en) 2015-09-14 2015-09-14 INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019110295A Division JP6781388B2 (en) 2019-06-13 2019-06-13 Information processing device and its processing method and program

Publications (3)

Publication Number Publication Date
JP2017058712A JP2017058712A (en) 2017-03-23
JP2017058712A5 JP2017058712A5 (en) 2018-10-11
JP6540410B2 true JP6540410B2 (en) 2019-07-10

Family

ID=58391563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015180364A Active JP6540410B2 (en) 2015-09-14 2015-09-14 INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP6540410B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7328049B2 (en) * 2019-07-26 2023-08-16 キヤノン株式会社 Information processing device, control method, program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4463638B2 (en) * 2004-08-02 2010-05-19 株式会社リコー Output management method and output management system
JP4244968B2 (en) * 2005-07-05 2009-03-25 ブラザー工業株式会社 Terminal device and program
JP4725559B2 (en) * 2007-08-03 2011-07-13 ブラザー工業株式会社 Information processing apparatus and installation program
JP5952753B2 (en) * 2013-02-21 2016-07-13 株式会社野村総合研究所 Printer driver introduction support system

Also Published As

Publication number Publication date
JP2017058712A (en) 2017-03-23

Similar Documents

Publication Publication Date Title
JP7691456B2 (en) PROGRAM, METHOD FOR CONTROLLING INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING APPARATUS
JP4753321B2 (en) Information processing apparatus, installer set creation method, program, storage medium, and printing system
US20100011290A1 (en) Print management method, recording medium storing a program, and print management apparatus
US20160253128A1 (en) Output system, terminal device and output method
JP2006155289A (en) Apparatus for processing information, control method of printing, printer driver program, and recording medium
JP6756270B2 (en) Information processing system, information processing device, information processing method, and program
KR101610605B1 (en) Electronic manual viewing device and system
JP6540410B2 (en) INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM
JP5402916B2 (en) File management apparatus, and control method and program thereof.
CN1497423B (en) Data processing equipment
JP6781388B2 (en) Information processing device and its processing method and program
JP4827536B2 (en) Information processing apparatus, output information generation method, and program
JP6565894B2 (en) Server, information processing apparatus, processing method, and program
JP6331431B2 (en) Information processing system, control method and program thereof, and information processing server, control method and program thereof
JP7154982B2 (en) Information processing device, control method, and program
JP2005050060A (en) Push type installation system, information processing apparatus, push type installation method and program
JP6447704B2 (en) Information processing apparatus, processing method thereof, and program
JP6753489B2 (en) Information processing system, information processing device, information processing method, and program
JP6256260B2 (en) Information processing apparatus, processing method thereof, and program
JP2020017299A (en) Information processing device, processing method thereof, and program
JP7173106B2 (en) Information processing system, information processing device, information processing method, and program
JP2017216593A (en) Information processor, control method, and program
JP2019008391A (en) Information processing device, information processing system, control method and program thereof
JP2016162138A (en) Information processing apparatus, processing method thereof, and program
JP6274250B2 (en) Information processing apparatus, processing method thereof, 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: 20180827

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180827

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20181031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181221

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190426

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190527

R151 Written notification of patent or utility model registration

Ref document number: 6540410

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250