JP2017058712A - Information processing device, processing method thereof, and program - Google Patents

Information processing device, processing method thereof, and program Download PDF

Info

Publication number
JP2017058712A
JP2017058712A JP2015180364A JP2015180364A JP2017058712A JP 2017058712 A JP2017058712 A JP 2017058712A JP 2015180364 A JP2015180364 A JP 2015180364A JP 2015180364 A JP2015180364 A JP 2015180364A JP 2017058712 A JP2017058712 A JP 2017058712A
Authority
JP
Japan
Prior art keywords
host name
information
file
printer
acquired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015180364A
Other languages
Japanese (ja)
Other versions
JP6540410B2 (en
JP2017058712A5 (en
Inventor
広忠 田巻
Hirotada Tamaki
広忠 田巻
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)

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device that facilitates the installation-related work of setting the other parties of communication.SOLUTION: An information processing device executes an installer set in which are integrated device information including a host name that is used when installing a device driver for output devices and a device driver discretionarily set by a file creator. After the device drivers included in the installer set are installed, the host name used in installing the same is acquired (S1502), and an input acceptance screen is displayed that accepts input of an IP address used in communication with a device correlated to the acquired host name (S1504). When an IP address is inputted (including editing) on the input acceptance screen (S1505) and an OK button is pressed (S1506), it is written, in correlation to the inputted host name, into management information managed by an operating system (S1507).SELECTED DRAWING: Figure 15

Description

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

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

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

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

しかしながら、特許文献1の技術を用いることで、プリンタを導入するクライアント端末の利用ユーザの負担を軽減することができる一方、管理者が導入するプリンタの情報、特にプリンタのIPアドレスを把握して、それぞれのプリンごとに設定ファイルを生成する必要があり、管理者側の負担が増大することになる。   However, by using the technique of Patent Document 1, while the burden on the user of the client terminal that introduces the printer can be reduced, the printer information introduced by the administrator, particularly the IP address of the printer, It is necessary to generate a setting 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 information of all the printers, and it is sometimes difficult to cope with the conventional technology.

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

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

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

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

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

本発明の目的を達成するための出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを実行する情報処理装置であって、前記ファイルを実行して、当該ファイルに含まれるデバイスドライバのインストールが実行された後に、前記インストールに用いられたホスト名を取得するホスト名取得手段と、前記ホスト名取得手段により取得されたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示手段と、前記表示手段で表示した入力受付画面で受け付けた第1の通信識別情報を、前記ホスト名取得手段により取得したホスト名と対応付けて、オペレーティングシステムが管理する管理情報に書き込む書込手段とを備えることを特徴とする。   Information processing apparatus that executes a file that combines 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 And after executing the file and installing the device driver included in the file, the host name acquisition means for acquiring the host name used for the installation, and the host name acquisition means Display means for displaying an input reception screen for receiving input of first communication identification information used for communication with a device associated with the host name, and first communication identification received on the input reception screen displayed by the display means The information is associated with the host name acquired by the host name acquisition means, Characterized in that it comprises a writing means for writing the management information I ring system manages.

本発明によれば、インストールに係る通信先の設定作業を容易にすることができる。   ADVANTAGE OF THE INVENTION According to this invention, the communication destination setting operation | work which concerns on installation can be made easy.

情報処理システムの概略構成を示す図であるIt is a figure which shows schematic structure of an information processing system クライアント端末101,102及びサーバ103の基本的なハードウェア構成の一例を示すブロック図である2 is a block diagram illustrating an example of a basic hardware configuration of client terminals 101 and 102 and a server 103. FIG. クライアント端末101,102及びサーバ103のモジュール構成を概略的に示したブロック図である2 is a block diagram schematically showing module configurations of client terminals 101 and 102 and a server 103. FIG. クライアント端末102の装置の各機能ブロックを示す図であるIt is a figure which shows each function block of the apparatus of the client terminal 102 情報処理システムの処理概要を示す図であるIt is a figure showing an outline of processing of an information processing system インストーラセット作成処理のフローチャートであるIt is a flowchart of an installer set creation process 設定ファイル作成ツールの初期画面であるThis is the initial screen of the configuration file creation tool 設定ファイル作成ツールのインストーラ情報設定画面であるIt is the installer information setting screen of the configuration 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 the setting file creation tool 設定ファイル作成ツールの初期画面から処理情報の選択画面への画面遷移図であるIt is a screen transition diagram from the initial screen of the configuration file creation tool to the processing information selection screen 設定ファイル作成ツールのオプション設定画面であるIt is an option setting screen of the setting file creation tool 設定ファイルの一例を示すデータ図であるIt is a data figure which shows an example of a setting file. インストーラセット実行処理のフローチャートであるIt is a flowchart of an installer set execution process 対象モジュール起動処理のフローチャートであるIt is a flowchart of an object module starting process 指定ホスト名確認処理のフローチャートであるIt is a flowchart of designated host name confirmation processing 設定ファイル、hostsファイルの概略を示すデータ図であるIt is a data figure which shows the outline of a setting file and a hosts file. 入力画面表示処理のフローチャートであるIt is a flowchart of an input screen display process クライアント端末102で記憶する各種データ図であるIt is various data figures memorize | stored in the client terminal 102. IPアドレス編集処理のフローチャートであるIt is a flowchart of an IP address edit process. 仮のホスト名にIPアドレスが入力され、保存された場合のデータ図であるIt is a data diagram when an IP address is input to a temporary host name and saved. クライアント端末102に登録されているプリンタ情報の概略を示すデータ図である3 is a data diagram showing an outline of printer information registered in a client terminal 102. FIG. 入力画面(ダイアログ)の一例を示すイメージ図であるIt is an image figure which shows an example of an input screen (dialog) hostsファイルからデータを削除する処理のフローチャートであるIt is a flowchart of the process which deletes data from a 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 connected to each other via a network 106 such as a LAN. Has been. 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 apparatuses having only a print function, or may be a multi-function machine having a plurality of functions such as printing, scanning, and FAX transmission / reception. Note that the types of devices (devices) constituting the information processing system are not limited to those described above and illustrated examples, and the number of devices is not limited.
In this embodiment, the client terminal 101 is described as an administrator device (information processing device), and the client terminal 102 is described as a general user device.

また、本実施形態では、管理者のクライアント端末101と一般者のクライアント端末に処理を分けて説明するが、管理者のクライアント端末101で作成したファイルを、管理者のクライアント端末101で実行することも可能であるため、一般者のクライアント端末102の処理を管理者のクライアント端末101の処理とすることも可能である。   In this embodiment, the processing is divided into an administrator client terminal 101 and an ordinary client terminal. However, a file created on the administrator client terminal 101 is executed on the administrator client terminal 101. Therefore, the processing of the general client terminal 102 may be the processing of the administrator client terminal 101.

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

図2において、CPU201は、システムバス204に接続されるROM202、RAM203、及びメモリ211、並びに後述する各種コントローラを統括的に制御する。メモリ211は、ハードディスク(HD)やフロッピー(登録商標)ディスク(FD)或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等で構成される。   In FIG. 2, a CPU 201 comprehensively controls a ROM 202, a RAM 203, a memory 211, and various controllers described later, which are connected to a system bus 204. The memory 211 includes a hard disk (HD), a floppy (registered trademark) disk (FD), or a compact flash (registered trademark) memory 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, work area, and the like for the CPU 201. The ROM 202 or the memory 211 stores a BIOS (Basic Input / Output System) and an operating system (OS) that are control programs of the CPU 201. 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. In addition, various data and various tables used by the CPU 201 when executing 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 input from an operation input device (KB / PD) configured by a keyboard (KB), a pointing device (PD) such as a mouse, and the like. The video controller 206 controls display on the display 210. The display 210 is composed of a CRT, liquid crystal, or the like. The CPU 201 enables display on the display 210 by, for example, executing outline font rasterization processing on a display information area in the RAM 203. In addition, the CPU 201 can accept an instruction from a user (or an administrator) with a mouse cursor (not shown) 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. A 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.

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

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

OS301は、クライアント端末101上で動作するOSであり、例えば、Microsoft Windows(登録商標)等である。設定ファイル作成ツール302は、後述する図6に示す処理を実行して、設定ファイル(インストール情報)と、クライアント端末101からクライアント端末102に送信されるインストーラセット/自己解凍形式ファイル305を作成するためのソフトウェアモジュールである。「設定ファイル」とは、例えば、図13に示す、プリンタドライバのインストール、アインストール実行時に使用され、プリンタドライバインストール、アインストール時に設定する値がファイルとして出力されたものである。「プリンタドライバインストール時に設定する値(例えば、プリンタ管理画面で表示されるプリンタオブジェクト(プリンタアイコン)に対応してオペレーティングシステムによって管理される値)」(設定情報)には、プリンタ名称、ホスト名またはIPアドレス、ポート名称、プロトコル、LPR設定、場所、コメントやフォルダ名称、デフォルトプリンタなどがある。プリンタ名称、ホスト名またはIPアドレス、ポート名称、プロトコル、LPR設定、場所、及びコメントについては、後述する図9の904のディスプレイ210の表示画面上で設定することができる。また、フォルダ名称、デフォルトプリンタ等については、後述する図12の1202のディスプレイ210の表示画面上で設定することができる。   The OS 301 is an OS that runs on the client terminal 101, and is, for example, Microsoft Windows (registered trademark). The setting file creation tool 302 executes a process shown in FIG. 6 to be described later, and creates a setting file (installation information) and an installer set / self-extracting file 305 transmitted from the client terminal 101 to the client terminal 102. Software module. The “setting file” is used, for example, when installing and uninstalling the printer driver shown in FIG. 13 and outputs values set at the time of installing and uninstalling the printer driver as a file. “Values set at the time of printer driver installation (for example, values managed by the operating system corresponding to the printer object (printer icon) displayed on the printer management screen)” (setting information) include the printer name, host name, or There are IP address, port name, protocol, LPR setting, location, comment and folder name, default printer, and the like. 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 in FIG. Further, the folder name, default printer, and the like can be set on the display screen of the display 210 of 1202 in FIG.

「インストーラセット」とは、図5の501に示すように、プリンタドライバインストーラやモジュール、設定ファイルで構成されたものである。「自己解凍形式ファイル」とは、複数のファイルを圧縮して1つの実行ファイル(Setup.exe)にまとめたファイルのことである。自己解凍形式ファイルが実行されると、自動的に複数のファイルが解凍し、予め指定されていた実行ファイルを起動する機能を持つ一般的なファイル形式である。   The “installer set” is composed of a printer driver installer, a module, and a setting file as indicated by reference numeral 501 in FIG. A “self-extracting file” is a file obtained by compressing a plurality of files into one executable file (Setup.exe). When a self-extracting file is executed, a plurality of files are automatically decompressed and a general file format having a function of starting 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 stores the printer driver therein. The printer driver installer is a software module that can execute installation and printer setting update. When the printer driver installer 303 is executed, a printer driver stored therein is installed in the client terminal 102, for example. The printer driver installer is used when the setting file creation tool 302 creates the installer set / self-extracting 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 when installing the printer driver in the client terminal 102 or the like, and describes which driver 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 that operates on the client terminal 102, and includes, for example, Microsoft Windows (registered trademark). The installer set / self-extracting format file 305 is a self-extracting format file for installing a predetermined printer driver on the client terminal 102 according to a setting desired by the administrator, installing it, and changing printer information settings. The installer set / self-extracting 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 setting file creation tool 302 generates 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. In other words.

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

次に、図4の機能ブロック図を参照して、本システムにおけるクライアント端末102の装置の各機能ブロックについて説明する。なお、各機能は、CPUにより実行され、各機能で実行される詳細な処理については、後述の図14以降のフローチャートで説明する。   Next, each functional block of the apparatus of the client terminal 102 in this 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 with reference to the flowcharts in FIG.

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

表示部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 that receives 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, the function unit 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 association with each other on the input reception screen. In addition, the function unit 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 reception 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 an identifiable manner. A function unit that controls the input of the first communication identification information associated with the host name acquired by the host name acquisition unit 401 while suppressing the change of the host name and communication identification information acquired by the management information acquisition unit 409. 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 in the management information managed by the operating system. It is a functional part.
The installation determination unit 404 is a functional unit that determines whether or not the device driver installation 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 complete.

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

入力情報生成部408は、取得した第2の通信識別情報と第3の通信識別情報を用いて、入力受付画面での通信識別情報の入力の補助となる情報を生成する機能部である。
管理情報取得部409は、管理情報から、ホスト名と通信識別情報を取得する機能部である。
The input information generation unit 408 is a functional unit that generates information that assists the input of the communication identification information on the input reception screen, using the acquired second communication identification information and third communication identification information.
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 this system will be described with reference to the schematic diagram of FIG.

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

hostsファイルとは、オペレーションシステム(OS)のファイルの一つである。TCP/IPネットワーク上のIPアドレスとホスト名の対応を記録するテキストファイル(対応データ)である。OSは、このhostsファイルにホスト名とIPアドレスがあれば、通信の際に名前解決(ホスト名→IPアドレス)を行い、接続先と通信を行う。   The hosts file is one of operation system (OS) files. This is a text file (corresponding data) that records the correspondence between the IP address and 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) during communication and communicates with the connection destination.

設定ファイル作成ツールにより、インストーラセットの作成が実行されると、インストーラセット501が作成される。インストーラセットは、出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報(設定ファイル)とをまとめたファイルに相当するものである。
作成されたインストーラセットは、メールで配布、サーバ103へ格納しダウンロードすることで配布され、クライアント端末102に保存される。
When creation of an installer set is executed by the setting 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 stored in the client terminal 102.

ユーザによるインストーラセットへの実行指示により、インストーラセットが展開され、インストーラセットに含まれる実行プログラムがプリンタドライバインストーラを実行し、設定ファイルに記載されている情報に従って、仮のホスト名を用いてプリンタドライバがインストールされる。これによりクライアント端末102にプリンタが登録される。例えば、プリンタ管理画面にプリンタアイコンが表示される状態となる。   The installer set is expanded by the execution instruction to the installer set by the user, the execution program included in the installer set executes the printer driver installer, and uses the temporary host name according to the information described in the setting file. Is installed. As a result, 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 set by the administrator (in this case, the hosts editing module) is automatically started, the temporary host name at the time of printer driver installation is displayed, and the user The IP address of the printer corresponding to is input. That is, the file created by the client terminal 101 of the administrator includes a program that is executed after installation of the device driver.
The input IP address and temporary host name are written to the hosts file.
For printers that have already been registered and are designated for deletion, printer deletion and port release are executed.

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

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

ステップS603は、図8の800のインストーラ情報設定画面の参照ボタン801が押下され、ユーザにより、クライアント端末101に記憶されているインストーラが指定されることで、インストーラ情報を受け付ける。   In step S603, the installer button is received by pressing the reference button 801 on 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, the creation of a new printer or the 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 indicated by reference numerals 901 and 902 in FIG. 9 and can be selected. If it is determined that “Create New Printer 901” has been pressed, the process proceeds to step S605. If it is determined that “Delete Existing Printer 902” has been pressed, the process proceeds to step S609.

ステップS605は、インストーラに含まれる設定ファイルからドライバ名称を取得する。具体的には、図15に示すインストーラに含まれる設定ファイルからドライバ名称を取得する。なお、ドライバ名称は、一般的にはプリンタ機種名が設定されている。すなわち、ドライバ名称を選択することで、追加したい機種が決定できる。
ステップS606は、取得したドライバ名称を図9の903のプリンタ情報設定画面に表示すべく設定する。
ステップS607は、図9の903のプリンタ情報設定画面を表示する。
In step S605, the driver name is acquired from the setting file included in the installer. Specifically, the driver name is acquired from the setting file included in the installer shown in FIG. Note that a printer model name is generally set as the driver name. That is, by selecting the driver name, the model to be added can be determined.
In step S606, the acquired driver name is set to be displayed on the printer information setting screen 903 in FIG.
In step S607, a printer information setting screen 903 in FIG. 9 is displayed.

ステップS608は、ユーザの操作により、プリンタ情報設定画面を介してプリンタ情報の入力を受け付け、入力情報を取得する。プリンタ情報が入力されたプリンタ情報設定画面の例が図9の904である。904のプリンタ情報設定画面で、仮のホスト名906を入力する。このホスト名は仮の名称であるため、このホスト名でプリンタドライバをインストールしても、印刷が対応するプリンタから実行はされない。
プリンタドライバのインストールでは、ポートの設定として、出力先としてIPアドレス又はホスト名を指定する必要がある。
In step S608, an input of printer information is received through a printer information setting screen by a user operation, and the input information is acquired. An example of the printer information setting screen in which the printer information is input is 904 in FIG. A temporary host name 906 is entered on the printer information setting screen 904. Since this host name is a temporary name, even if a 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 printing data is output directly from a client terminal to a printer with a network printer as the output destination (for example, when not outputting to a shared printer managed by a server), it is necessary to specify the IP address of the printer. In this embodiment, since it is difficult to manage and input the IP addresses of all printers on the administrator side to be created, the temporary host name is input on the administrator side and the client terminal side to be installed is installed. The IP address is input.

ここで905のOKボタンが押下されると、900のインストーラ情報設定画面に戻り、906の処理情報一覧に、仮のホスト名が入った情報が追加される。入力された情報はメモリに記憶される。   When an OK button 905 is pressed, the screen returns to the installer information setting screen 900, and information including the temporary host name is added to the processing 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 to be registered in the client apparatus.
Here, a 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 in FIG. 10 is displayed.

ステップS610は、ユーザの操作により、削除方法の指定を受け付ける。削除方法の指定としては、削除するプリンタオブジェクトの「プリンタ名」、「ドライバ名」、ポートを指定してプリンタを削除するための「ホスト名/IPアドレス」がある。   In step S610, designation of a deletion method is accepted by a user operation. The designation of the deletion method includes “printer name” and “driver name” of the printer object to be deleted, and “host name / IP address” for specifying the port and deleting the printer.

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

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

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

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

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

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

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

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

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

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

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

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

図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. 1301 is a data diagram showing the deleted printer information input in the existing printer deletion 902 → 1001, and is a diagram showing the details of the deleted printer information 1300. FIG. Reference numeral 1302 denotes a data diagram showing the additional printer information input in the new printer creation 901 → 904, and shows details of the additional printer information 1300.
A plurality of deleted printer information 1301 and additional printer information 1302 can be provided, and the number of processing information lists 906 in FIG. 9 is set.

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

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

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

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

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

次に、図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 apparatus).

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

ステップS1403は、任意に設定された作業フォルダのパスに従ってフォルダを作成する。例えば、インストーラセットの保存されている階層と同じ階層にフォルダを作成する。
ステップS1404は、作成したフォルダに設定ファイル、プリンタドライバインストーラのファイルをコピーする。
In step S1403, a folder is created in accordance with the arbitrarily set work folder path. For example, a folder is created in the same hierarchy as the hierarchy where the installer set is stored.
In step S1404, the setting file and the printer driver installer file are copied 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 information relating to PRINTER_INFO obtained by EnumPrinters, which is an API, for example. When there are a plurality of printer objects in the client terminal 102, the printer information for the number of printer objects can be acquired.

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

ステップS1407は、ドライバ情報に削除処理設定があるかを判定する。具体的には、削除プリンタ情報1301があるかを判定する。削除処理の判定は、削除フラグなどの別の情報をみて判定してもよい。
削除処理設定がある場合には、ステップS1408へ処理を移し、削除処理設定がない場合には、ステップS1409へ処理を移す。
In step S1407, it is determined whether there is a deletion process setting in the driver information. Specifically, it is determined whether there is deleted printer information 1301. The deletion process may be determined by looking at other information such as a deletion flag.
If there is a deletion process setting, the process proceeds to step S1408. If there is no deletion process setting, the process proceeds to step S1409.

ステップS1408は、削除プリンタ情報1301の情報に従って、プリンタの削除を実行する。プリンタ管理画面から、対象のプリンタオブジェクトが削除されることとなる。ここで削除される場合、削除されたプリンタのIP/ホスト名で設定されていたホスト名をメモリ、又は、外部ファイルに記憶する。   In step S1408, the printer is deleted according to the information of the deleted printer information 1301. The target printer object is deleted from the printer management screen. When deleting here, the host name set by the IP / host name of the deleted printer is stored in a memory or an 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 additional process may be performed by looking at other information such as an additional flag.
If there is an additional process setting, the process proceeds to step S1410. If there is no additional process setting, the process proceeds to step S1406.
In step S1410, a printer is added according to the additional printer information 1302.

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

ステップS1411の処理を具体的に説明すると、1300のツール起動設定フラグが「0」の場合、他起動ソフト設定があると判定する。他起動ソフト設定があると判定された場合には、ステップS1412へ処理を移し、他起動ソフト設定がないと判定された場合には、ステップS1413へ処理を移す。すなわち、インストールが完了したと判定された場合に、プログラム(hosts編集モジュール)を実行するプログラム実行処理の一例を示すステップである。   The processing in step S1411 will be specifically described. When the tool activation setting flag 1300 is “0”, it is determined that there is other activation software setting. If it is determined that there is another activation software setting, the process proceeds to step S1412. If it is determined that there is no other activation software setting, the process proceeds to step S1413. That is, it 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 processing in 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, and the printer information of each printer object. Also, port information is assigned to the printer object.

図14の処理により、プリンタの追加、削除(ポート解除含む)が行われると、クライアント端末102に登録されているプリンタは、図22となる。図22は、図5の502に表示されるプリンタオブジェクトに対応するプリンタ情報である。   When a printer is added or deleted (including port cancellation) by the processing 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 at 502 in FIG.

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

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

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

ステップS1503では、OSが管理するhostsファイルに設定されているデータを取得し、配列に記憶する。ステップS1502の処理の詳細は、図16で説明する。   In step S1503, the data set in the hosts file managed by the OS is acquired and stored in the array. Details of the processing in 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 as a communication destination is displayed. Details of the processing in step S1504 will be described with reference to FIG. In other words, an example of display processing for displaying an input reception screen for receiving input of first communication identification information (described as an IP address in the present embodiment) used for communication with the device associated with the host name acquired in step S1502. It is a step which shows.
In step S1505, IP address input (including editing) is executed on an input screen (dialog). Details of the processing in step S1505 will be described with reference to FIG.

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

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

これにより、インストールにより登録されたプリンタの通信先情報(IPアドレス)の設定を容易に行うことができる。特に同一のプリンタであって、複数のプリンタオブジェクトを登録する際には、管理者は1つの仮のホスト名を設定すればよい。また、インストールするユーザも利用するプリンタのIPアドレスを仮のホスト名に対応して入力すればよく、PCへのプリンタの登録を容易に行わせることが可能となる。また、管理者と利用者(ユーザ)双方の負担を減らすことができると共に、設定の負荷を軽減でき、効率的なプリンタの登録が可能となる。   Thereby, it is 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. Further, the IP address of the printer to be used by the installing user can be input corresponding to the temporary host name, and the printer can be easily registered in the PC. In addition, the burden on both the administrator and the user (user) can be reduced, the setting load can be reduced, and efficient printer registration becomes possible.

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

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

設定ファイルがオープンできた場合には、ステップS1603へ処理を移し、設定ファイルがオープンできなかった場合には、ステップS1602へ処理を移す。   If the setting file can be opened, the process proceeds to step S1603. If the setting file cannot 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 error contents (name of setting file that could not be opened) and error date / time is recorded in the log file. It is assumed that errors other than the opening of the configuration file are also written in 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. Whether it is a host name is determined by whether or not it is in the IP address format (xx.xx). If it is not the IP address format, it is determined that the host name is used, and the process proceeds to step S1604. In the case of the IP address format, it is not necessary to write in a hosts file, which will be described later, so the process moves to step S1605.

なお、ホスト名になっているか否かは、設定ファイルを作成する際に、IPアドレス形式はフラグ「0」、ホスト名形式であればフラグ「1」を記載する構成であってもよく。フラグを判定してホスト名になっているか、IPアドレスになっているかを判定してもよい。   Whether or not the host name is used may be configured such that when the setting file is created, the flag “0” is written in the IP address format, and the flag “1” is written in the host name format. 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 specified 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 setting file is closed.

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

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

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

ステップS1612では、オープンされたhostsファイルから、hostsデータを取得する。すなわち、管理情報(本実施形態では、hostsファイル)から、ホスト名と通信識別情報を取得する管理情報取得処理の一例を示すステップである。   In step S1612, the host 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 (in the present embodiment, a hosts file).

ステップ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 host data in the hosts data array is a hosts data array 1630. The IP address and host name, which is the host data, already written in the hosts file are stored.
In step S1614, the hosts file is closed.

次に、図18の入力画面表示の処理のフローチャートについて説明する。本フローチャートは、ステップS1504の詳細を示すフローチャートである。フローチャートの説明は、図19に示す各種データを用いて説明する。   Next, the flowchart of the input screen display process of FIG. 18 will be described. This flowchart is a flowchart showing details of step S1504. The flowchart 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 printer port information is acquired by executing the OS API by the hosts editing module. 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 it is “Standard TCP / IP Port”, the process proceeds to step S1804. If it is determined that it is not “Standard TCP / IP Port”, the process proceeds to step S1806.

ステップS1804では、「IPアドレス/ホスト名」がIPアドレス形式か否かを判定する。IPアドレス形式である場合には、ステップS1805へ処理を移し、IPアドレス形式でない場合には、ステップS1806へ処理を移す。   In step S1804, it is determined whether the “IP address / host name” is in the 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 that acquires second communication identification information (IP address in this embodiment) from device information of a device that is already registered in the information processing apparatus that is the client terminal 102 by installing a device driver. It is a step which shows an example of a process.

ステップS1806では、すべてのポート情報を処理したか否かを判定する。すべてのポート情報について処理した場合には、ステップS1807へ処理を移し、処理していない他のポート情報が有る場合には、次のポート情報を処理するため、ステップS1802へ処理を戻す。   In step S1806, it is determined whether all port information has been processed. If all port information has been processed, the process proceeds 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, this is a step showing an example of information processing device communication identification information acquisition processing for acquiring third communication identification information (in this embodiment, an IP address) of the information processing device 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 in the IP address array 1902 is compared with the IP address of the client terminal 102 acquired in step S1807. A comparison method will be described. The comparison determines how many digits from the top match. Specifically, when the IP address of the client terminal 102 is “10.5.1.25”, in the first line of the IP address array 1902, “10.1.1.1” and “10.5. Compare 1.25 ”. This comparison is repeated for the number of rows.

ステップ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, candidate IP addresses are specified by comparing IP addresses. Specifically, as a result of the comparison on the first line, the number of matching digits is the upper “1 digit (10)”, and “10.1.1.1.11” and “maximum number of digits = 1 digit” are set as candidate IP addresses. Save to memory. The comparison in the second line is a comparison between “10.5.5.27” and “10.5.1.25”, and the candidate IP address is “10.5.27”. 5.5.27 ”and“ maximum number of digits = 2 digits ”are stored in the memory. If this is repeated, 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, the IP address of a nearby printer among the printers currently used by the client terminal 102 can be specified. The fact that the candidate IP address can be specified is particularly likely to be an IP address close to that of a nearby printer when a new printer is introduced. Therefore, it becomes easy to input an IP address corresponding to a host name described later.

ステップS1810では、候補IPアドレスと、最大桁数から、表示用のIPアドレスを生成する。具体的には、候補IPアドレスの最大桁数(3桁目)までの値を取得し、「入力」と組み合わせた表示用のIPアドレスを生成する。   In step S1810, a display IP address 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 a display IP address combined with “input” is generated.

例えば、入力の補助となる「10.5.1.入力」。また、表示用のIPアドレスが生成できない、しない場合などには、「IPアドレスを入力してください」を用いるものとする。   For example, “10.5.1. In addition, when an IP address for display cannot be generated or not, “Enter IP address” is used.

すなわち、取得した第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 this embodiment) on the input reception screen (dialog in this embodiment) It is a step which shows an example of the input information production | generation process which produces | generates the information used as input assistance.

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

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

ステップ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 1903 to 1-5 are stored in the array.

ステップS1813では、指定ホスト名配列1905からデータ(ホスト名)を取得する。ステップS1810で生成した表示用のIPアドレスと取得したホスト名を用いて、Itemデータを生成する。生成したItemデータの例は、1906である。ここでは、編集可否フラグは「編集可」として設定する。   In step S1813, data (host name) is acquired from the specified 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 1905 to Element 2 are stored in the array.
In step S1815, data is acquired from Item data.

ステップS1816では、表示リストにデータ(IPアドレス、ホスト名)をセットする。データをセットする際には、Itemデータの行数に従ってセットする。
ステップS1817では、セットした表示リストを用いて、ダイアログ表示する。このとき、背景色、文字色、編集可否フラグに従って、表示を行う。
In step S1816, data (IP address, host name) is set in the display list. When setting data, it is 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, character color, and editability flag.

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

2301のように、hostsファイルから取得したデータ(レコード)と、設定ファイルから取得したホスト名のデータ(レコード)を識別可能に表示する。特に、設定ファイルから取得したホスト名のデータは強調表示することで識別表示する。   Like 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 an identifiable manner. In particular, the host name data acquired from the setting file is identified and displayed by highlighting.

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

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

次に、図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, data input is accepted in response to a user operation on the dialog. An example of the input is 2303 in FIG. The input of the IP address includes a form in which the IP address of the printer used by the user is input after confirming the printer list file managed at each base (business office or the like). If the IP address sticker is attached to the printer, the IP address written on the sticker is input.

ステップS2001では、ダイアログ上での入力を受け付けると、入力を受け付けた変更行のデータを取得する。例えば、IPアドレス「10.5.1.90」「printer_1」
ステップS2002では、変更行に対応するItemデータをItem配列から取得する。
In step S2001, when an input on the dialog is accepted, the data of the changed line that accepted the input is acquired. For example, the IP address “105.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 and the changed line data are compared, 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 proceeds to step S2005. In the present embodiment, the Item data and the changed line data are compared to determine whether the changed data is an IP address. However, the hosts editing module stores the changed items input by the user. It may be determined whether the changed item is an IP address.

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

ステップS2005では、Itemデータと変更行のデータを比較し、ホスト名が変更されたと判定した場合には、ステップS2006へ処理を移す。ホスト名が変更されていない場合には、処理を終了する。なお、本実施形態では、Itemデータと変更行のデータとを比較して、変更されたデータがホスト名かを判定したが、hosts編集モジュールが、ユーザにより入力され変更された項目を記憶する構成とし、この変更された項目がホスト名かを判定するようにしてもよい。
ステップS2006では、Itemデータの変更フラグをTRUEに更新し、変更されたホスト名でItemデータのホスト名を更新する。
In step S2005, the Item data and the changed line data are compared, 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 the present embodiment, the Item data and the changed line data are compared to determine whether the changed data is a host name. However, the hosts editing module stores the changed items input by the user. It may be determined whether the changed item is a host name.
In step S2006, the item data change flag is updated to TRUE, and the host name of the item data 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, when 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 step S2004 are performed. It is assumed that the following process is executed.
In this case, the IP address and host name are not input to the new record with the add button.

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

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

図24は、hostsファイルのデータ削除の処理のフローチャートである。
他の処理については、上述の処理と同一のため、説明を省略する。
FIG. 24 is a flowchart of data deletion processing of the hosts file.
Since other processes are the same as the above-described processes, 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. A record having this host name is identified from the hosts file and deleted. Data deletion from the hosts file is executed using the API of the OS.
Further, the record to be deleted is displayed so that the user can recognize that the printer is deleted because the printer has been deleted as in the input screen 2304.

以上、本実施形態によれば、インストールに係る通信先の設定作業を容易にすることができる。
特に、インストール情報を設定する管理者の作業及びインストールを実行するユーザのインストールに係る作業の双方を効率化することができる。
As described above, according to the present embodiment, it is possible to facilitate the communication destination setting work related to installation.
In particular, it is possible to improve 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.

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

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

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

以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。例えば、クラウド環境で実現する構成であってもよい。その場合、クラウド環境上のサーバで、設定ファイル作成ツールが実行される。   Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or recording medium, and specifically includes a plurality of devices. The present invention may be applied to a system including a single device. For example, the structure implement | achieved in a cloud environment may be sufficient. In this 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 according to the present invention is a program that allows a computer to execute the processing methods of the flowcharts shown in FIGS. 6, 14, 15, 16, 18, 20, and 24. The storage medium may be configured to store a program capable of executing the processing method of FIGS. 6, 14, 15, 16, 18, 20, and 24. Note that the program in the present invention may be a program for each processing method of each device in FIGS. 6, 14, 15, 16, 18, 20, and 24.

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

この場合、記録媒体から読み出されたプログラム自体が本発明の新規な機能を実現することになり、そのプログラムを記憶した記録媒体は本発明を構成することになる。   In this case, the program itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the program constitutes the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク、ソリッドステートドライブ等を用いることができる。   As a recording medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, silicon A disk, solid state drive, or the like can be used.

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

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

また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.

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

101 クライアント端末(管理者)
102 クライアント端末(一般者)
103 サーバ
104 プリンタ
105 プリンタ
106 ネットワーク
201 CPU
202 RAM
203 ROM
211 メモリ(HD、FD)
302 設定ファイル作成ツール
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 Setting file creation tool

Claims (9)

出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを実行する情報処理装置であって、
前記ファイルを実行して、当該ファイルに含まれるデバイスドライバのインストールが実行された後に、前記インストールに用いられたホスト名を取得するホスト名取得手段と、
前記ホスト名取得手段により取得されたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示手段と、
前記表示手段で表示した入力受付画面で受け付けた第1の通信識別情報を、前記ホスト名取得手段により取得したホスト名と対応付けて、オペレーティングシステムが管理する管理情報に書き込む書込手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus that executes 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 a file creator,
Host name acquisition means for executing the file and acquiring the host name used for the installation after the installation of the device driver included in the file is executed;
Display means for displaying an input reception screen for accepting input of first communication identification information used for communication with a device associated with the host name acquired by the host name acquisition means;
Write means for writing the first communication identification information received on the input reception screen displayed on the display means in association with the host name acquired by the host name acquisition means to management information managed by the operating system. An information processing apparatus characterized by that.
前記ファイルは、デバイスドライバのインストール後に実行するプログラムを含み、
前記デバイスドライバのインストールが完了したか否かを判定するインストール判定手段と、
前記インストール判定手段によりインストールが完了したと判定された場合に、前記プログラムを実行するプログラム実行手段と
を更に備え、
前記プログラム実行手段によるプログラムの実行により、ホスト名を取得し、入力受付画面を表示することを特徴とする請求項1に記載の情報処理装置。
The file includes a program to be executed after installation of the device driver,
Installation determination means for determining whether installation of the device driver is completed;
A program execution unit that executes the program when the installation determination unit determines that the installation is complete;
The information processing apparatus according to claim 1, wherein a host name is acquired and an input reception screen is displayed by executing a program by the program execution unit.
デバイスドライバのインストールにより、当該情報処理装置に既に登録されているデバイスのデバイス情報から、第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 by installing a device driver;
Information processing device communication identification information acquisition means for acquiring third communication identification information of the information processing device;
Using the acquired second communication identification information and the third communication identification information, further comprising input information generating means for generating information for assisting the input of the communication identification information on the input reception screen;
3. The display unit according to claim 1, wherein the display unit displays the information generated by the input information generation unit in association with the host name acquired by the host name acquisition unit on the input reception screen. The information processing apparatus described.
前記管理情報から、ホスト名と通信識別情報を取得する管理情報取得手段
を更に備え
前記表示手段は、前記管理情報取得により取得されたホスト名と通信識別情報と、前記ホスト名取得手段により取得されたホスト名を前記入力受付画面に一覧表示することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
Management information acquisition means for acquiring a host name and communication identification information from the management information is further provided. The display means is acquired by the host name and communication identification information acquired by the management information acquisition, and the host name acquisition means. 4. The information processing apparatus according to claim 1, wherein the host names are displayed in a list on the input reception screen.
前記表示手段は、前記管理情報取得により取得されたホスト名と通信識別情報と、前記ホスト名取得手段により取得されたホスト名を識別可能に表示することを特徴とする請求項4に記載の情報処理装置。   5. The information according to claim 4, wherein the display means displays the host name and communication identification information acquired by the management information acquisition and the host name acquired by the host name acquisition means in an identifiable manner. Processing equipment. 前記表示手段は、前記管理情報取得手段により取得されたホスト名と通信識別情報の変更を抑止し、前記ホスト名取得手段により取得されたホスト名に対応付ける第1の通信識別情報の入力を可能に制御することを特徴とする請求項4又は5に記載の情報処理装置。   The display unit suppresses a change in the host name and communication identification information acquired by the management information acquisition unit, and enables input of first communication identification information associated with the host name acquired by the host name acquisition unit. 6. The information processing apparatus according to claim 4, wherein the information processing apparatus is controlled. 出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを実行する情報処理装置の処理方法であって、
前記ファイルを実行して、当該ファイルに含まれるデバイスドライバのインストールが実行された後に、前記インストールに用いられたホスト名を取得するホスト名取得ステップと、
前記ホスト名取得ステップにより取得されたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示ステップと、
前記表示ステップで表示した入力受付画面で受け付けた第1の通信識別情報を、前記ホスト名取得ステップにより取得したホスト名と対応付けて、オペレーティングシステムが管理する管理情報に書き込む書込ステップと
を含むことを特徴とする処理方法。
A processing method of an information processing apparatus that executes 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 a file creator,
After executing the file and installing the device driver included in the file, a host name acquisition step of acquiring the host name used for the installation;
A display step for displaying an input reception screen for receiving input of first communication identification information used for communication with a device associated with the host name acquired in the host name acquisition step;
A writing step of writing the first communication identification information received on the input reception screen displayed in the display step into management information managed by the operating system in association with the host name acquired in the host name acquisition step. A processing method characterized by the above.
出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルであり、情報処理装置で実行可能なプログラムであって、
情報処理装置を、
前記ファイルを実行して、当該ファイルに含まれるデバイスドライバのインストールが実行された後に、前記インストールに用いられたホスト名を取得するホスト名取得手段と、
前記ホスト名取得手段により取得されたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示手段と、
前記表示手段で表示した入力受付画面で受け付けた第1の通信識別情報を、前記ホスト名取得手段により取得したホスト名と対応付けて、オペレーティングシステムが管理する管理情報に書き込む書込手段
として機能させることを特徴とするプログラム。
It is a file that summarizes the device driver of the output device and the device information including the host name used when installing the device driver arbitrarily set by the file creator, and is a program that can be executed by the information processing apparatus,
Information processing device
Host name acquisition means for executing the file and acquiring the host name used for the installation after the installation of the device driver included in the file is executed;
Display means for displaying an input reception screen for accepting input of first communication identification information used for communication with a device associated with the host name acquired by the host name acquisition means;
The first communication identification information received on the input reception screen displayed by the display unit is associated with the host name acquired by the host name acquisition unit, and functions as a writing unit that writes the management information managed by the operating system. A program characterized by that.
出力デバイスのデバイスドライバと、ファイル作成者が任意設定した当該デバイスドライバをインストールする際に用いられるホスト名を含むデバイス情報とをまとめたファイルを生成する生成プログラムであって、
前記ファイルを実行した情報処理装置を
前記ファイルを実行して、当該ファイルに含まれるデバイスドライバのインストールが実行された後に、前記インストールに用いられたホスト名を取得するホスト名取得手段と、
前記ホスト名取得手段により取得されたホスト名に対応付けるデバイスとの通信に用いられる第1の通信識別情報の入力を受け付ける入力受付画面を表示する表示手段と、
前記表示手段で表示した入力受付画面で受け付けた第1の通信識別情報を、前記ホスト名取得手段により取得したホスト名と対応付けて、オペレーティングシステムが管理する管理情報に書き込む書込手段
として機能させるファイルを生成するプログラム。
A generation program that generates 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 a file creator,
An information processing apparatus that has executed the file, a host name acquisition unit that executes the file and acquires a host name used for the installation after the installation of the device driver included in the file is executed;
Display means for displaying an input reception screen for accepting input of first communication identification information used for communication with a device associated with the host name acquired by the host name acquisition means;
The first communication identification information received on the input reception screen displayed by the display unit is associated with the host name acquired by the host name acquisition unit, and functions as a writing unit that writes the management information managed by the operating system. A program that generates files.
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 true JP2017058712A (en) 2017-03-23
JP2017058712A5 JP2017058712A5 (en) 2018-10-11
JP6540410B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306430A (en) * 2019-07-26 2021-02-02 佳能株式会社 Information processing apparatus and control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048229A (en) * 2004-08-02 2006-02-16 Ricoh Co Ltd Output management method, output management system, output program, output management program, and output management server
JP2007019614A (en) * 2005-07-05 2007-01-25 Brother Ind Ltd Terminal and program
JP2009037536A (en) * 2007-08-03 2009-02-19 Brother Ind Ltd Information processing apparatus and program for installation
JP2014164313A (en) * 2013-02-21 2014-09-08 Nomura Research Institute Ltd Printer driver introduction supporting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048229A (en) * 2004-08-02 2006-02-16 Ricoh Co Ltd Output management method, output management system, output program, output management program, and output management server
JP2007019614A (en) * 2005-07-05 2007-01-25 Brother Ind Ltd Terminal and program
JP2009037536A (en) * 2007-08-03 2009-02-19 Brother Ind Ltd Information processing apparatus and program for installation
JP2014164313A (en) * 2013-02-21 2014-09-08 Nomura Research Institute Ltd Printer driver introduction supporting system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306430A (en) * 2019-07-26 2021-02-02 佳能株式会社 Information processing apparatus and control method
CN112306430B (en) * 2019-07-26 2024-02-13 佳能株式会社 Information processing apparatus, control method, and computer program

Also Published As

Publication number Publication date
JP6540410B2 (en) 2019-07-10

Similar Documents

Publication Publication Date Title
JP4317162B2 (en) PRINT SERVER, PRINT MANAGEMENT SERVER, PRINTING DEVICE, PRINT SYSTEM, PRINT DATA STORAGE METHOD, PRINT MANAGEMENT METHOD, PRINT METHOD, AND PROGRAM
JP4033857B2 (en) Print system, print management server, print method, print management method, and program
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
JP4623461B2 (en) Information processing apparatus, print control method, printer driver program, and recording medium
CN103116478A (en) Information processing system, information processing apparatus, button processing method, and storage medium
EP1933262A1 (en) Information processing apparatus and method
JP6061591B2 (en) Information processing apparatus, control method, and program
US8255797B2 (en) Information processing apparatus and method
JP6558358B2 (en) Server, information processing apparatus, processing method, and program
JP6540410B2 (en) INFORMATION PROCESSING APPARATUS, PROCESSING METHOD THEREOF, AND PROGRAM
JP6781388B2 (en) Information processing device and its processing method and program
JP4697713B2 (en) Print system, print management server, print method, print management method, and program
JP2020004423A (en) Server, information processing device, processing method and program
JP7154982B2 (en) Information processing device, control method, and program
JP6331431B2 (en) Information processing system, control method and program thereof, and information processing server, control method and program thereof
JP6447704B2 (en) Information processing apparatus, processing method thereof, and program
JP2007334918A (en) Print management server, printer, print management method, printing method, program and recording medium
JP6256260B2 (en) Information processing apparatus, processing method thereof, and program
JP2020017299A (en) Information processing device, processing method thereof, and program
JP7328405B2 (en) Information processing apparatus, information processing apparatus control method, and print setting application
JP2017216593A (en) Information processor, control method, and program
JP2011065602A (en) Information processing apparatus, information processing method, and computer program
JP4289725B2 (en) Information processing apparatus, information processing method, and storage medium storing computer-readable program
JP2016162138A (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