JP4612809B2 - Information processing apparatus, control method therefor, and program - Google Patents

Information processing apparatus, control method therefor, and program Download PDF

Info

Publication number
JP4612809B2
JP4612809B2 JP2004171637A JP2004171637A JP4612809B2 JP 4612809 B2 JP4612809 B2 JP 4612809B2 JP 2004171637 A JP2004171637 A JP 2004171637A JP 2004171637 A JP2004171637 A JP 2004171637A JP 4612809 B2 JP4612809 B2 JP 4612809B2
Authority
JP
Japan
Prior art keywords
printer
communication setting
communication
setting
port
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.)
Expired - Fee Related
Application number
JP2004171637A
Other languages
Japanese (ja)
Other versions
JP2005032232A (en
JP2005032232A5 (en
Inventor
敦 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon 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 Inc filed Critical Canon Inc
Priority to JP2004171637A priority Critical patent/JP4612809B2/en
Priority to EP04253586A priority patent/EP1489502A3/en
Priority to US10/869,788 priority patent/US7290067B2/en
Priority to CN2004100481794A priority patent/CN1574844B/en
Publication of JP2005032232A publication Critical patent/JP2005032232A/en
Priority to US11/622,288 priority patent/US7523224B2/en
Priority to US11/776,119 priority patent/US7500026B2/en
Publication of JP2005032232A5 publication Critical patent/JP2005032232A5/ja
Application granted granted Critical
Publication of JP4612809B2 publication Critical patent/JP4612809B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、有線インターフェースと無線インターフェースの両者を有するプリンタ等のデバイスと通信が可能な情報処理装置及びその制御方法、並びにプログラムに関する。 The present invention relates devices and an information processing apparatus and a control method thereof capable communication such as a printer having both a wired interface and a wireless interface, as well the flop Rogura arm.

近年、無線インターフェースを有したデバイス、例えばプリンタやプリンタアダプタは、従来有線で行っていたネットワーク構成を無線で構成することができ、配線等が不要なことから広く使われようになってきている。一例として、IEEEで標準化されている802.11b規格があり、この規格に対応した無線機器として、例えば無線LANアクセスポイントやルーターなどがある。   In recent years, devices having a wireless interface, such as printers and printer adapters, have been widely used because they can wirelessly configure a network configuration that has been conventionally performed by wire, and wiring is not necessary. As an example, there is the 802.11b standard standardized by IEEE, and wireless devices corresponding to this standard include, for example, a wireless LAN access point and a router.

このような無線インターフェースを有するデバイスとして、無線LANに接続可能なプリンタは、配線等が不要で、かつ、複数のPCからプリンタを共有できるために、家庭などでも一台のプリンタを使用して複数のPCから印刷する、といったようなニーズに応えられる(例えば、特許文献1及び特許文献2)。
特開平07−013891号公報 特開2003−050677号公報
As a device having such a wireless interface, a printer that can be connected to a wireless LAN does not require wiring or the like, and since the printer can be shared from a plurality of PCs, a plurality of printers can be used at home using a single printer. It is possible to meet needs such as printing from a PC (for example, Patent Document 1 and Patent Document 2).
Japanese Patent Laid-Open No. 07-013891 JP 2003-050677 A

しかしながら、無線ネットワークを使用する場合、有線と異なり正しく接続されているかどうかを確認するのが難しいという問題があった。さらに、設定する項目も多岐に渡り、その用語に関するだけでも一般のユーザに容易に理解できるものではないという問題もあった。   However, when using a wireless network, there is a problem that it is difficult to confirm whether or not the connection is correct unlike wired communication. In addition, there are a variety of items to be set, and there is a problem that general users cannot easily understand just the terms.

こういった問題を解決するために、あるインターフェースを使用したプリンタ動作を実現するために、その準備(インストール)をより動作準備が簡易なインターフェースを使用して行う手法が考えられる。例えば、USBインターフェースと無線ネットワークインターフェースの両方を具備するプリンタにおいて、ネットワークのインストールを行うために、プリンタをUSBで接続してOSに認識させた上でネットワークのインストールを行う、といった手法である。   In order to solve these problems, in order to realize a printer operation using a certain interface, a method of preparing (installing) the printer using an interface that is easier to prepare for operation can be considered. For example, in a printer having both a USB interface and a wireless network interface, in order to install a network, the printer is connected by USB and the OS is recognized and the network is installed.

しかしながら、この手法では、目的であるネットワークポートのインストールを行うためにUSBポートのインストールを行うことになり、ユーザが意図したネットワークポートインスタンス以外の(USB)ポートインスタンスが作成されてしまう、といった問題点がある。   However, in this method, the USB port is installed in order to install the target network port, and a (USB) port instance other than the network port instance intended by the user is created. There is.

すなわち、一般的なプラグ・アンド・プレイ対応のオペレーティング・システム(OS)を使用して、接続されたデバイスの認識並びに通信路(論理ポート)の確立を行う場合、OS・デバイス間のインターフェース毎にその論理ポートを表わすポートインスタンスとプリンタアイコンが生成されることになる。つまり、物理的には1つのプリンタデバイスであっても例えばそのプリンタが複数のインターフェースを具備している場合は、その異なるインターフェース経由でデバイス検出がなされたときは、検出された論理ポート毎にポートインスタンスとそれを表わすプリンタアイコンが作成される。ネットワークポートのインストールの結果としてUSBも含めた2つのポートインスタンスを表わす2つのプリンタアイコンが表示された場合、ネットワークポートのインストールのみを望んでいたユーザは混乱する可能性があった。   That is, when a general plug-and-play operating system (OS) is used to recognize a connected device and establish a communication path (logical port), for each interface between the OS and the device. A port instance representing the logical port and a printer icon are generated. In other words, even if the printer is physically one printer device, for example, if the printer has a plurality of interfaces, when a device is detected via the different interfaces, a port is detected for each detected logical port. An instance and a printer icon representing it are created. If two printer icons representing two port instances including USB are displayed as a result of the installation of the network port, the user who only wanted to install the network port may be confused.

本発明は上記問題点の少なくともひとつを除去するためになされたものであって、本願発明の1つの側面は、デバイスとの間で通信を可能とするための第2の通信設定を実行後、第1の通信設定を削除することで、システムに不慣れなユーザでも、適切にシステムの設定を実行することを可能にすることを目的とする。   The present invention has been made to eliminate at least one of the above-mentioned problems, and one aspect of the present invention is that after executing the second communication setting for enabling communication with a device, By deleting the first communication setting, an object is to enable even a user unfamiliar with the system to appropriately execute the system setting.

さらに、本願実施形態におけるさらに別の側面は、ユーザが意図しないポートインスタンスのアイコンを表示させないようにすることができ、これにより、前記第2の通信設定時において、不必要なアイコン表示によるユーザの混乱を回避することが可能にすることを目的とする。   Furthermore, according to another aspect of the present embodiment, it is possible to prevent an icon of a port instance that is not intended by the user from being displayed, and accordingly, when the second communication is set, the user can display an unnecessary icon. The aim is to be able to avoid confusion.

本願発明の1つの実施形態として、1又は複数のデバイスと通信するための、第1の通信ポート及び第2の通信ポートを備えた情報処理装置であって、前記第1の通信ポートを介して所定のデバイスに印刷データを送信することを可能とするための第1の通信設定を行う第1通信設定実行手段と、前記第1通信設定実行手段により前記第1の通信設定が行われた後、前記第1の通信ポートを介して前記所定のデバイスと通信し、前記第2の通信ポートを介して前記所定のデバイスに印刷データを送信することを可能とするための第2の通信設定を実行する第2通信設定実行手段と、前記第2通信設定実行手段による前記第2の通信設定が完了したときに、前記第1通信設定実行手段により行われた前記第1の通信設定で設定された設定情報が必要であるか否かをユーザに確認する確認手段と、前記確認手段による確認の結果、前記第1の通信設定で設定された設定情報が必要でないとユーザが指示した場合に、前記第1の通信設定で設定された設定情報を削除する削除手段とを備えたことを特徴とする情報処理装置、該装置に適用可能な制御方法、プログラムが開示される。 As one embodiment of the present invention, an information processing apparatus including a first communication port and a second communication port for communicating with one or a plurality of devices, via the first communication port A first communication setting execution unit configured to perform a first communication setting for enabling print data to be transmitted to a predetermined device; and after the first communication setting is performed by the first communication setting execution unit. A second communication setting for enabling communication with the predetermined device via the first communication port and transmission of print data to the predetermined device via the second communication port; When the second communication setting execution means to execute and the second communication setting by the second communication setting execution means are completed, the second communication setting execution means is set with the first communication setting performed by the first communication setting execution means. Setting information Confirmation means for confirming to the user whether or not it is necessary, and as a result of confirmation by the confirmation means, when the user instructs that the setting information set in the first communication setting is not necessary, the first Disclosed is an information processing apparatus, a control method applicable to the apparatus, and a program, characterized in that the information processing apparatus includes a deletion unit that deletes setting information set in communication settings.

以上詳細に説明したように、本願発明の1つの側面によれば、デバイスとの間で通信を可能とするための第2の通信設定を実行後、第1の通信設定を削除することで、システムに不慣れなユーザでも、適切にシステムの設定を実行することができるという効果がある。   As described above in detail, according to one aspect of the present invention, by performing the second communication setting for enabling communication with the device, by deleting the first communication setting, There is an effect that even a user who is unfamiliar with the system can appropriately set the system.

さらに、本願発明の別の側面、例えば、請求項3又は6に記載の発明によれば、ユーザが意図しないポートインスタンスのアイコンを表示させないようにすることができ、これにより、前記第2の通信設定時において、不必要なアイコン表示によるユーザの混乱を回避することが可能になる。   Furthermore, according to another aspect of the present invention, for example, the invention according to claim 3 or 6, it is possible to prevent an icon of a port instance unintended by a user from being displayed, whereby the second communication is performed. At the time of setting, it is possible to avoid user confusion due to unnecessary icon display.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<システム構成>
図1は、本発明の実施の形態に係る情報処理システムの概略構成を示すブロック図である。
<System configuration>
FIG. 1 is a block diagram showing a schematic configuration of an information processing system according to an embodiment of the present invention.

図中のノートPC11は、有線ローカルインターフェースとしてUSBケーブル15を使用し、無線インターフェースとしてPCMCIAカードタイプの無線LANカード14を装着することが可能に構成されている。プリンタ12もPC11と同様に有線ローカルインターフェースと無線インターフェースの両者を備える。有線ローカルインターフェースは、PC11とプリンタ12とをUSBケーブル15で接続することで実現される。無線インターフェースは、PCMCIAカードタイプの無線LANカード14を装着することで実現される。アクセスポイント13は、無線インターフェースのアクセスポイントで無線機器同士の仲介の役割を果たす機能を有し、PCMCIAカードタイプの無線LANカード14を装着することが可能に構成されている。無線LANモジュールを内蔵した各機器を使用する場合、PCMCIAカードタイプの無線LANカード14の装着は不要となる。   The notebook PC 11 in the figure is configured to use a USB cable 15 as a wired local interface and to attach a PCMCIA card type wireless LAN card 14 as a wireless interface. Similar to the PC 11, the printer 12 includes both a wired local interface and a wireless interface. The wired local interface is realized by connecting the PC 11 and the printer 12 with the USB cable 15. The wireless interface is realized by mounting a PCMCIA card type wireless LAN card 14. The access point 13 has a function of mediating between wireless devices at the access point of the wireless interface, and is configured to be able to mount a PCMCIA card type wireless LAN card 14. When each device with a built-in wireless LAN module is used, it is not necessary to install a PCMCIA card type wireless LAN card 14.

PC11とプリンタ12との間では、USBケーブル15を使って印刷データを送信することも可能であり、また無線LANインターフェースを用いてアクセスポイント13を経由してプリンタ12へ印刷データを送ることも可能になっている。本図では、1台のPC11のみが図示されているが、複数のPCが1つのアクセスポイントに接続可能であり、1つのプリンタを複数のPCで共有して印刷を行うこともできる。   It is also possible to transmit print data between the PC 11 and the printer 12 using the USB cable 15, and it is also possible to transmit print data to the printer 12 via the access point 13 using the wireless LAN interface. It has become. Although only one PC 11 is shown in the figure, a plurality of PCs can be connected to one access point, and one printer can be shared by a plurality of PCs for printing.

無線LANには、アクセスポイントを経由して複数の無線LAN機器と接続可能なモードがあり、インフラストラクチャモードと呼ばれる。インフラストラクチャモードでは、アクセスポイントに設定されたID(SSID)と同じIDを無線LAN機器にも設定することで複数の無線LAN機器からアクセスポイントを経由してLANを構成することができる。無線LANとしてプリンタを使用する場合、プリンタがアクセスポイントに接続できるように設定する必要がある。本実施形態では、PC11とアクセスポイント13との間の設定は既になされていて、インフラストラクチャモードでアクセスポイントと通信できる状態になっているものとし、プリンタ12に関しては、まだ無線LANの設定が行われておらず、初期状態としてインフラストラクチャモードでIDは設定されていないものとしている。   The wireless LAN has a mode that can be connected to a plurality of wireless LAN devices via an access point, and is called an infrastructure mode. In the infrastructure mode, a LAN can be configured from a plurality of wireless LAN devices via the access point by setting the same ID as the ID (SSID) set for the access point in the wireless LAN device. When using a printer as a wireless LAN, it is necessary to make settings so that the printer can connect to an access point. In the present embodiment, it is assumed that the setting between the PC 11 and the access point 13 has already been made and communication with the access point is possible in the infrastructure mode. It is assumed that no ID is set in the infrastructure mode as an initial state.

PC11では何らかのOS(オペレーティングシステム)が動作していて、そのOS環境で印刷を行うためには、印刷用ソフトウェア(プリンタドライバ)をPC11にインストールする必要がある。またさらに無線LANを使って印刷を行うような場合には、プリンタ12内の無線LANの設定を行い、プリンタ12がアクセスポイント13と接続できる状態にした上、PC11では無線LANでの印刷を可能とするソフトウェアをPC11にインストールする。そして、無線LANでの印刷を可能とするソフトウェアをプリンタに適した設定にしておく必要がある。   Some operating system (OS) is operating on the PC 11, and printing software (printer driver) needs to be installed in the PC 11 in order to perform printing in the OS environment. Further, when printing is performed using a wireless LAN, the wireless LAN in the printer 12 is set so that the printer 12 can be connected to the access point 13, and the PC 11 can print using the wireless LAN. Is installed on the PC 11. It is necessary to set software that enables printing via a wireless LAN to be suitable for the printer.

以降、本実施形態の内容を明確にするため、まずプリンタドライバのインストールについて説明し、その後に、本実施形態においてUSBを使ったプリンタドライバのインストール、USBを使った無線LANのインストールを説明する。   Hereinafter, in order to clarify the contents of the present embodiment, printer driver installation will be described first, and then printer driver installation using USB and wireless LAN installation using USB will be described in the present embodiment.

<プリンタドライバのインストール>
PC11などのホストコンピュータにプリンタ12などのプリンタを接続して印刷を行えるようにするためには、ホストコンピュータのOS上で印刷アプリケーションからの印刷命令を理解し、印刷命令に基づく印刷制御コマンド並びに印刷データをプリンタに転送し、プリンタの制御を行うためのソフトウェアが必要となる。このプリンタの制御を行うソフトウェアが前述したプリンタドライバである。
<Installing the printer driver>
In order to enable printing by connecting a printer such as the printer 12 to a host computer such as the PC 11, a print command from the print application is understood on the OS of the host computer, and a print control command and printing based on the print command are performed. Software for transferring data to the printer and controlling the printer is required. The software for controlling the printer is the printer driver described above.

プリンタドライバに代表されるように、ホストコンピュータに接続される全てのハードウェアは、デバイスドライバを介してアプリケーションからの制御命令を受け取る仕組みで制御される。デバイスドライバはオペレーティングシステム上で起動されている特定の上位アプリケーション専用のものではないため、デバイスがホストコンピュータに接続されている間は一種の常駐プログラムとして特定のメモリ領域を占有して常駐している。   As represented by a printer driver, all hardware connected to the host computer is controlled by a mechanism for receiving a control command from an application via a device driver. Since the device driver is not dedicated to a specific host application running on the operating system, it occupies a specific memory area as a kind of resident program while the device is connected to the host computer. .

Windows(登録商標)に代表される最近のOSは、デバイスをホストコンピュータに接続したときに自動的にそのデバイスに対応した適切なデバイスドライバを組み込むといったプラグ・アンド・プレイ機能を有している。デバイスを初めてホストコンピュータに接続した際のプラグ・アンド・プレイ処理の場合において、OSが標準に備えているデバイスドライバの中に最適なものが無かった場合、デバイス購入時にフロッピディスクやCD−ROMといったメディアで添付されるデバイスドライバをOSに組み込む必要がある。このデバイスドライバの組み込み作業をドライバのインストール作業と称する。   Recent OSs represented by Windows (registered trademark) have a plug-and-play function that automatically incorporates an appropriate device driver corresponding to a device when the device is connected to a host computer. In the case of plug and play processing when the device is first connected to the host computer, if there is no optimal device driver included in the OS, such as floppy disk or CD-ROM when purchasing the device It is necessary to incorporate a device driver attached with media into the OS. This device driver installation operation is referred to as driver installation operation.

以下に、プラグ・アンド・プレイに対応したOSにおけるデバイスドライバのインストール処理を説明する。   A device driver installation process in an OS compatible with plug and play will be described below.

プラグ・アンド・プレイ対応の有線インターフェースの代表的なものとしてUSBが挙げられる。ここではUSBを使ったプリンタドライバのインストールを例に挙げて説明を行う。ホストコンピュータ上に表示されるメッセージ画面を図2に、シーケンスフローを図3に示す。なお、当該シーケンスフローまたはメッセージはプラグ・アンド・プレイが正常に行われた場合のみとする。プラグ・アンド・プレイが失敗した場合のエラーシーケンスは別途存在することは言うまでもない。   A typical plug-and-play wired interface is USB. Here, an explanation will be given by taking as an example the installation of a printer driver using USB. FIG. 2 shows a message screen displayed on the host computer, and FIG. 3 shows a sequence flow. Note that the sequence flow or message is only when plug and play is performed normally. Needless to say, there is a separate error sequence when plug and play fails.

まずユーザがプラグ・アンド・プレイ対応インターフェースであるUSBを使い、プリンタをホストコンピュータに接続する。ホストコンピュータ上で動作しているOSは、USBインターフェース経由でデバイスがホストコンピュータに接続されたことを検出する(図3のステップS300)。このときに、図21の21のような画面を表示する。ユーザは、インストールを行いたい場合には、ボタン22を押下する。一方、プリンタドライバのインストールをしたくない場合には、ボタン23を押下する。つぎに、OSは、USBで定められた所定の方法でUSB機器の基本情報であるデバイス・ディスクリプタをプリンタから読み出す(ステップS301)。デバイス・ディスクリプタには、デバイスの種類を示すデバイス・クラス情報など、その機器に関する基本機能情報が含まれている。OSは、デバイス・ディスクリプタを読み出し解析することにより接続されたデバイスがプリンタ・クラスに属するデバイス、すなわちプリンタであるかを判断する(ステップS302)。接続されたデバイスがプリンタである場合には、ステップS303に進み、プリンタ以外のデバイスであれば、ステップS310に進む。ステップS310では、デバイスに対応するその他の処理を行う。   First, the user connects the printer to the host computer using USB, which is a plug and play compatible interface. The OS running on the host computer detects that the device is connected to the host computer via the USB interface (step S300 in FIG. 3). At this time, a screen such as 21 in FIG. 21 is displayed. The user presses the button 22 when he / she wants to install. On the other hand, if it is not desired to install the printer driver, the button 23 is pressed. Next, the OS reads a device descriptor, which is basic information of the USB device, from the printer by a predetermined method defined by USB (step S301). The device descriptor includes basic function information about the device such as device class information indicating the type of device. The OS reads and analyzes the device descriptor to determine whether the connected device is a device belonging to the printer class, that is, a printer (step S302). If the connected device is a printer, the process proceeds to step S303, and if it is a device other than the printer, the process proceeds to step S310. In step S310, other processing corresponding to the device is performed.

プリンタのデバイスドライバ構成は、一般的には大きく2レベルのドライバから構成される。1つは、プリンタが接続されるインターフェース毎に、そのインターフェース上で該当デバイスとのデータ通信を行うためのプロトコルを制御する下位レベルドライバとしてのポートドライバである。2つ目は、ポートドライバの上位層に位置し、実際の印刷アプリケーションデータを個々のプリンタに適した記録データやプリンタ言語に変換する上位プリンタドライバである。上位プリンタドライバは、プリンタの動作状態、すなわちステータス情報をプリンタから取得して、当該ステータス情報をプリンタ状態表示用アプリケーションに引き渡すといったことも行っている。   The device driver configuration of a printer is generally composed of two levels of drivers. One is a port driver as a lower level driver that controls a protocol for performing data communication with the corresponding device on each interface connected to the printer. The second is an upper printer driver that is positioned above the port driver and converts actual print application data into print data and printer language suitable for each printer. The upper printer driver also acquires the printer operation status, that is, status information from the printer, and passes the status information to the printer status display application.

接続されたデバイスがプリンタであると認識すると、OSは、予め定められた方法を使い適切なポートドライバをインストールして使用可能な状態にする(ステップS303)。このとき、OSは図2の24のような画面を表示する。ユーザは、ポートドライバのインストールを中止したいときには、ボタン25を押下する。さらに、ポートドライバの制御により、インターフェース上に検出された特定のデバイスとホストコンピュータとの間で1対1のデータ通信を行うための論理コネクションであるポートインスタンスが用意される。USBプリンタの場合、USB印刷用のポートドライバがインストールされたのちに、そのプリンタとホストコンピュータとの間の通信を行うための論理通信路としてポートインスタンスが作成される(ステップS304)。   When recognizing that the connected device is a printer, the OS installs an appropriate port driver using a predetermined method to make it usable (step S303). At this time, the OS displays a screen as shown in FIG. The user presses the button 25 to cancel the port driver installation. Further, under the control of the port driver, a port instance which is a logical connection for performing one-to-one data communication between a specific device detected on the interface and the host computer is prepared. In the case of a USB printer, after a port driver for USB printing is installed, a port instance is created as a logical communication path for performing communication between the printer and the host computer (step S304).

ポートドライバがロードされ、初期化処理を経て動作可能状態になると、OSは、所定の方法で接続されたプリンタの詳細情報としてクラスディスクリプタを取得する(ステップS305)。USBプリンタの場合、これは、USBプリンタクラス規格にて定義されたデバイスIDの読み出しコマンド(GET_CAPABILITIES)をポートドライバ経由でプリンタデバイスへ発行することにより行われる。その応答としてプリンタにより返送されるデバイスIDには、プリンタの製造元情報やモデル名、サポートされるプリンタ言語情報などプリンタモデル固有の情報が含まれている。   When the port driver is loaded and is ready for operation through the initialization process, the OS acquires a class descriptor as detailed information of the printer connected by a predetermined method (step S305). In the case of a USB printer, this is performed by issuing a device ID read command (GET_CAPABILITIES) defined in the USB printer class standard to a printer device via a port driver. The device ID returned by the printer as a response includes information unique to the printer model such as printer manufacturer information, model name, and supported printer language information.

OSは、接続されたUSBプリンタの詳細情報を得て、その詳細情報に基づき、最適な上位プリンタドライバを検索する(ステップS306)。該当する上位プリンタドライバがOSの標準検索範囲内に存在する場合、標準検索範囲内で見つかった上位プリンタドライバを組み込む。該当する上位プリンタドライバがOSの標準検索範囲内に存在しない場合、ユーザに対してそのドライバの保存先などを問い合わせる旨のメッセージ等を表示する。このような場合、ユーザは、デバイス購入時に同梱されるフロッピー(登録商標)ディスクやCD−ROMといったメディア、またはインターネットを経由してメーカーのファイルサーバーからダウンロードされたデバイスドライバ等を指定することにより、該当上位ドライバがOSに組み込まれ、上位ドライバの組み込み時に、所定の手順に従って上位プリンタドライバがホストコンピュータ上の所定の位置(ディレクトリ)にコピーされる(ステップS307)。   The OS obtains detailed information of the connected USB printer, and searches for an optimal upper printer driver based on the detailed information (step S306). If the corresponding upper printer driver exists within the standard search range of the OS, the upper printer driver found within the standard search range is incorporated. If the corresponding upper printer driver does not exist within the standard search range of the OS, a message or the like for inquiring the storage destination of the driver is displayed to the user. In such a case, the user designates a device such as a floppy (registered trademark) disk or CD-ROM that is bundled at the time of device purchase, or a device driver downloaded from a manufacturer's file server via the Internet. The upper driver is incorporated into the OS, and when the upper driver is installed, the upper printer driver is copied to a predetermined location (directory) on the host computer according to a predetermined procedure (step S307).

次に、OSが標準で備えるデータベース上に現在インストールを行っているデバイスに関する項目(エントリ)が追加される(ステップS308)。このデータベースには、デバイス毎の制御用設定パラメータ、ドライバ・デバイス構成、デバイスインスタンスに関連付けられた下位ポートドライバに関する情報、ポートインスタンス情報、及びユーザによる設定情報、といった情報が保存される。Windows(登録商標)2000やWindows(登録商標)XPといったOSでは、この標準データベースを一般的にレジストリと称しており、本説明でも以下レジストリと呼ぶ。レジストリがユーザに認識できる形に表示された一例を図4に示す。   Next, an item (entry) related to the device currently installed is added to the database provided as a standard in the OS (step S308). This database stores information such as control setting parameters for each device, driver / device configuration, information on lower-level port drivers associated with device instances, port instance information, and user setting information. In an OS such as Windows (registered trademark) 2000 and Windows (registered trademark) XP, this standard database is generally referred to as a registry. An example of the registry displayed in a form that can be recognized by the user is shown in FIG.

このエントリは、OSにより作成されたポートインスタンス経由で通信を行うデバイス、すなわち論理デバイス毎に作成される。すなわち、OSとデバイスとの間の論理接続毎にエントリが用意され、対応するポートインスタンス情報が保存されることにより関連付される。例えば複数の接続インターフェースを具備するプリンタをそれぞれのインターフェース経由でホストコンピュータに接続した場合、インターフェース毎にポートインスタンスが作成される。同一プリンタで使用される上位プリンタドライバは共通であるものの、エントリはインターフェース毎または論理接続毎にレジストリ上に作成される。   This entry is created for each device that communicates via a port instance created by the OS, that is, for each logical device. In other words, an entry is prepared for each logical connection between the OS and the device, and the corresponding port instance information is stored and associated with each other. For example, when a printer having a plurality of connection interfaces is connected to a host computer via each interface, a port instance is created for each interface. Although the upper printer driver used in the same printer is common, an entry is created on the registry for each interface or logical connection.

上記のように、プリンタドライバの起動準備が完了すると、インストールが完了した旨のメッセージを図2の26のように表示する(図2の画面26、ステップS309)。   As described above, when the preparation for starting the printer driver is completed, a message indicating that the installation is completed is displayed as indicated by 26 in FIG. 2 (screen 26 in FIG. 2, step S309).

GUIを備えた一般的なOSのプリンタ一覧画面では、あるプリンタに対するポートインスタンスはプリンタアイコンという形で視覚的に表示される。この一例を図5に示す。すなわち、あるプリンタに対して複数のインターフェースを経由した複数のポートインスタンスが作成された場合、各インスタンスに対してそれぞれプリンタアイコンが表示される。このプリンタアイコンとポートインスタンスとの関連付けに関する情報も、上記ポートインスタンス毎に作成されるエントリに記述されるため、各ポートインスタンスがどのプリンタアイコンによって視覚的に代表されているかといった情報も管理される。   In a printer list screen of a general OS provided with a GUI, a port instance for a certain printer is visually displayed in the form of a printer icon. An example of this is shown in FIG. That is, when a plurality of port instances are created for a certain printer via a plurality of interfaces, a printer icon is displayed for each instance. Since the information regarding the association between the printer icon and the port instance is also described in the entry created for each port instance, information such as which printer icon each port instance is visually represented by is also managed.

以上、プラグ・アンド・プレイに対応したOSにおける一般的なデバイスドライバのインストール処理についてUSBプリンタを例に説明した。無論OSの種類により異なる方法でデバイスドライバのインストールが行われる場合もあるが、概ね説明した手順と同様なシーケンスでプラグ・アンド・プレイデバイスのインストールが行われる。   The general device driver installation process in the OS compatible with Plug and Play has been described above by taking the USB printer as an example. Of course, the device driver may be installed by a different method depending on the type of the OS, but the plug-and-play device is installed in a sequence similar to the generally described procedure.

<本実施形態のプリンタドライバ・インストール>
図6は、本実施形態に係る、USBを用いたプリンタドライバ・インストール処理で表示される画面例を示す図である。この画面例は、図1のプリンタ12で印刷を行うためプリンタドライバをPC11にインストールする際に、PC11の画面上に表示されるものである。
<Printer driver installation of this embodiment>
FIG. 6 is a diagram showing an example of a screen displayed in the printer driver installation process using the USB according to the present embodiment. This screen example is displayed on the screen of the PC 11 when the printer driver is installed in the PC 11 for printing with the printer 12 of FIG.

まず始めの画面として、画面61が表示される。この画面61は、プリンタドライバ・インストール処理の開始画面になり、ユーザがインストール用のソフトウェアを起動することで、表示される。画面61上には、「実行」と「キャンセル」をそれぞれ選択する選択アイコン62,63があり、マウスなどで選択することができる。「実行」62を選択するとインストールが開始され、次の画面64が表示される。「キャンセル」63を選択した場合は、プリンタドライバのインストールは行われずに終了する。   A screen 61 is displayed as the first screen. This screen 61 is a printer driver / installation process start screen, and is displayed when the user starts the installation software. On the screen 61, there are selection icons 62 and 63 for selecting "execute" and "cancel", respectively, which can be selected with a mouse or the like. When “execute” 62 is selected, installation is started and the next screen 64 is displayed. If “Cancel” 63 is selected, the printer driver is not installed and the process ends.

画面64では、ユーザにUSBインターフェースを接続する旨の指示が表示され、ユーザはその指示に従ってプリンタ12のUSBインターフェースにUSBケーブル15を接続する。プリンタ12の電源が入っていない場合、ユーザはプリンタ12の電源を入れる。画面64でも、「キャンセル」65でインストールを中止することができる。   On the screen 64, an instruction to connect the USB interface is displayed to the user, and the user connects the USB cable 15 to the USB interface of the printer 12 according to the instruction. When the printer 12 is not turned on, the user turns on the printer 12. Also on the screen 64, installation can be canceled by “cancel” 65.

USBケーブル15を接続してプリンタ12の電源を入れると、プラグ・アンド・プレイによりプリンタドライバのインストール、及びプリンタ12の内部設定が完了する。プラグ・アンド・プレイによるプリンタドライバのインストールは、前述した<プリンタドライバのインストール>で説明した手順で行われる。   When the USB cable 15 is connected and the printer 12 is turned on, installation of the printer driver and internal settings of the printer 12 are completed by plug and play. Installation of the printer driver by plug and play is performed according to the procedure described in <Installation of Printer Driver>.

インストールに成功すると、画面66が表示されてインストールが完了し、「OK」67を選択することでソフトウェアが終了する。何らかの理由によりプリンタドライバのインストールが失敗した場合は、画面68が表示されてインストールに失敗したことをユーザに知らしめる。画面66と同様に「OK」69でソフトウェアが終了する。   When the installation is successful, a screen 66 is displayed and the installation is completed. By selecting “OK” 67, the software is terminated. If installation of the printer driver fails for some reason, a screen 68 is displayed to inform the user that the installation has failed. As with the screen 66, the software ends with “OK” 69.

以上のように、画面61→画面64→画面66と指示に従って操作することで、USBを使ったプリンタドライバのインストールが完了しUSBインターフェースを介して印刷データを送信することが可能となる。   As described above, by operating according to the instructions of screen 61 → screen 64 → screen 66, the installation of the printer driver using the USB is completed, and the print data can be transmitted via the USB interface.

図7は、PC11が実行する処理を示すフローチャートであって、図6に示した画面が表示される本実施形態のプリンタドライバ・インストール処理を示すフローチャートである。   FIG. 7 is a flowchart showing processing executed by the PC 11, and is a flowchart showing printer driver installation processing of the present embodiment in which the screen shown in FIG. 6 is displayed.

まず図6に示した画面61の表示を行う(ステップS700)。画面61で「実行」62が選択されるとステップS701へ進み、プリンタドライバ実行ファイルをシステムにコピーする。すなわち、一般的にはOSによりプリンタドライバ実行ファイル及び情報ファイルが配置されるシステム内の場所が決まっており、それに従ってプリンタドライバの実行ファイルをコピーしておく。前述の<プリンタドライバのインストール>で説明したように、OSは予め決まったプリンタドライバの情報ファイルの保存場所から適切なプリンタドライバを探し出して、それを使用できるように登録・設定の作業を行う。この作業が正しく行われるためにプリンタドライバ関連のファイルを指定の場所へコピーするのが、この処理である。   First, the screen 61 shown in FIG. 6 is displayed (step S700). If "execute" 62 is selected on the screen 61, the process advances to step S701 to copy the printer driver execution file to the system. That is, generally, the location in the system where the printer driver execution file and the information file are arranged is determined by the OS, and the printer driver execution file is copied in accordance with the location. As described above in <Installation of Printer Driver>, the OS searches for a suitable printer driver from a predetermined storage location of the printer driver information file, and performs registration and setting work so that it can be used. This process is to copy a file related to the printer driver to a specified location in order to perform this operation correctly.

次に、図6に示した画面64を表示する(ステップS702)。この画面を表示した後、一定時間が経過したかをチェックする(ステップS703)。一定時間が経過していない、つまりタイムアウトが発生していない場合には、プリンタの認識が完了したかをチェックする(ステップS704)。これは、プラグ・アンド・プレイで正しくプリンタ12が発見されたどうかの確認を行うものであり、プリンタドライバのインストールが完了するとプリンタの認識が完了したものとする。詳しくは、前述した<プリンタドライバのインストール>で詳細が述べられている。   Next, the screen 64 shown in FIG. 6 is displayed (step S702). After this screen is displayed, it is checked whether a predetermined time has passed (step S703). If the predetermined time has not elapsed, that is, no timeout has occurred, it is checked whether the printer recognition is completed (step S704). This is to confirm whether or not the printer 12 is correctly found by plug and play, and it is assumed that the printer recognition is completed when the installation of the printer driver is completed. Details are described in <Installation of Printer Driver> described above.

タイムアウトが発生したとステップS703で判定された場合は、インストールに失敗したことを画面68に表示する(ステップS707)。ステップS704において、プリンタ12の認識が完了した場合は、ステップS705へ進み、プリンタ情報の設定を行う。そして、ステップS706において、正常にインストールが終わったことを示す画面66を表示する。なお、ステップS706では、図2の画面26に代えて、画面66を表示する。画面66で「OK」67が選択された場合は、USBを使ったプリンタドライバ・インストール処理が完了する。   If it is determined in step S703 that a timeout has occurred, the fact that installation has failed is displayed on the screen 68 (step S707). If the recognition of the printer 12 is completed in step S704, the process advances to step S705 to set printer information. In step S706, a screen 66 indicating that the installation has been completed normally is displayed. In step S706, a screen 66 is displayed instead of the screen 26 of FIG. If “OK” 67 is selected on the screen 66, the printer driver installation process using the USB is completed.

本実施形態のプリンタ12は、USBインターフェースと無線LANインターフェースの両者を有するので、プリンタドライバのインストールが終了した後に引き続き無線LANの設定(無線ネットワーク・インストール)を行う場合を想定して、画面66には、「ネットワークインストール」を選択するアイコン70が表示される。   Since the printer 12 of the present embodiment has both a USB interface and a wireless LAN interface, it is assumed that the wireless LAN setting (wireless network installation) is to be continued after the installation of the printer driver is completed. Displays an icon 70 for selecting “network installation”.

<本実施形態の無線ネットワーク・インストール>
I.アクセスポイントとプリンタが複数の場合
図8(a)〜(c)及び図9(d),(e)は、本実施形態に係る、USBを用いた無線ネットワーク・インストール処理で表示される画面例を示す図である。この画面例は、図6及び図7で説明したプリンタドライバのインストールが終了した後、引き続き無線LANの設定を行う際に、PC11の画面上に表示されるものである。
<Wireless network installation of this embodiment>
I. When there are a plurality of access points and printers FIGS. 8A to 8C and FIGS. 9D and 9E are examples of screens displayed in the wireless network installation process using the USB according to this embodiment. FIG. This screen example is displayed on the screen of the PC 11 when the wireless LAN is continuously set after the installation of the printer driver described in FIGS. 6 and 7 is completed.

図8(a)の画面66において、「OK」67が選択された場合は無線LANの設定は行われないが、「ネットワークインストール」70が選択されると、引き続き、無線ネットワーク・インストール処理が開始され、まず始めに、アクセスポイントと接続するためにアクセスポイントを選択する操作画面84(図8(b))が表示される。   When “OK” 67 is selected on the screen 66 in FIG. 8A, the wireless LAN setting is not performed. However, when “Network installation” 70 is selected, the wireless network installation process starts. First, an operation screen 84 (FIG. 8B) for selecting an access point for connection to the access point is displayed.

この画面84は、プリンタ12に装着された無線LANカード14を使ってプリンタ12が接続可能なアクセスポイントの一覧を表示するために、PC11からUSBケーブル15経由でアクセスポイントサーチ用のコマンドをプリンタ12へ送り、その結果得られたアクセスポイント情報をUSBケーブル15経由で取得し、その取得内容を基に一覧を画面表示した状態を示している。プリンタ12は、アクセスポイントサーチ用のコマンドをUSBケーブル15を介してPC11から受信すると、無線LANカード14を使ってアクセスポイントをサーチする。   This screen 84 displays an access point search command from the PC 11 via the USB cable 15 in order to display a list of access points to which the printer 12 can be connected using the wireless LAN card 14 attached to the printer 12. The access point information obtained as a result is acquired via the USB cable 15, and a list is displayed on the screen based on the acquired content. When the printer 12 receives an access point search command from the PC 11 via the USB cable 15, the printer 12 searches for an access point using the wireless LAN card 14.

画面84内の表示領域85は、アクセスポイントサーチによってプリンタ12側から発見されたアクセスポイントの一覧を表示しており、この例では、3つのアクセスポイントA,B,Cがプリンタ12側から見つかったことを示している。また、表示領域85では、無線電波の届く範囲内で稼動しているアクセスポイントを全て表示するので、必ずしもユーザ自身が使っているものだけが表示されるとは限らない。したがって、複数のアクセスポイントから所望のアクセスポイントを選択できるように表示領域85内のハイライトされた行を移動することで、アクセスポイントを選択することができる。   A display area 85 in the screen 84 displays a list of access points discovered from the printer 12 side by the access point search. In this example, three access points A, B, and C are found from the printer 12 side. It is shown that. In addition, since all the access points operating within the radio wave reach range are displayed in the display area 85, only the ones used by the user are not necessarily displayed. Therefore, an access point can be selected by moving the highlighted row in the display area 85 so that a desired access point can be selected from a plurality of access points.

選択したアクセスポイントが暗号化されている場合は、暗号を解読するための暗号キーを入力領域86に入力することができ、暗号化されたアクセスポイントにも対応することが可能である。一般的に無線LANでは、盗聴やデータの漏洩を防止するために暗号化の技術が採用されている。代表的なものにWEP(Wired Equivalent Privacy)がある。これは、同じ暗号化用のキーと呼ばれる情報が暗号化と復号化のために使われるアルゴリズムであり、このキーを設定することで他の機器からのデータの隠蔽を実現する。暗号化された環境で無線LANを使用している場合、プリンタ12にも同じ暗号キーを設定する必要がある。   If the selected access point is encrypted, an encryption key for decrypting the encryption can be input to the input area 86, and the encrypted access point can also be handled. In general, a wireless LAN employs an encryption technique to prevent wiretapping and data leakage. A typical example is WEP (Wired Equivalent Privacy). This is an algorithm in which information called an encryption key is used for encryption and decryption, and by setting this key, data concealment from other devices is realized. When a wireless LAN is used in an encrypted environment, the same encryption key needs to be set for the printer 12 as well.

画面84内の「戻る」87を選択すると、前の画面66へ戻り、「次へ」88を選択することで、領域85で選択したアクセスポイントが指定された状態で次の画面に進む。「キャンセル」89ではインストールを中止する。   Selecting “Return” 87 in the screen 84 returns to the previous screen 66 and selecting “Next” 88 advances to the next screen with the access point selected in the area 85 being designated. “Cancel” 89 cancels the installation.

このように画面84では、ユーザは自分が現在使っているアクセスポイントを選択し指定することができるので、プリンタ12に印刷データを送信するときに、誤って他のアクセスポイントに接続することが防止できる。画面84において、ユーザがアクセスポイントを選択すると、使用するアクセスポイントの設定がプリンタ12で行われ、プリンタ12がアクセスポイント13から認識できるようになる。PC11は、プリンタ12が正しく接続されたどうかを確認するために無線LAN経由でプリンタの検索を行う。   In this way, on the screen 84, the user can select and designate the access point that he / she is currently using, so that when printing data is transmitted to the printer 12, it is possible to prevent accidental connection to another access point. it can. When the user selects an access point on the screen 84, the access point to be used is set by the printer 12, and the printer 12 can be recognized from the access point 13. The PC 11 searches for a printer via a wireless LAN in order to check whether the printer 12 is correctly connected.

次の画面810(図8(c))は、アクセスポイント経由で発見されたプリンタの一覧を表示する画面である。このプリンタの一覧の取得及び表示は、PC11が無線LANインタフェースを使ってアクセスポイント13を経由してプリンタサーチ用のコマンドを送信し、プリンタサーチ用のコマンドを受け取ったプリンタがその返答を戻すことで行われる。すなわち、このサーチコマンドはブロードキャストでネットワーク上の全ての機器に送信され、サーチコマンドを受け取りこのコマンドを理解できる機器(この場合は特定のプリンタやプリンタアダプタ)がコマンドを送信したホストコンピュータに対して、コマンドに対応して予め決められた情報を戻す。この情報には、プリンタの名称やID、アドレスなどが含まれていて、これら情報を基に接続したいプリンタを特定するようになっている。   The next screen 810 (FIG. 8C) is a screen that displays a list of printers discovered via the access point. This list of printers is acquired and displayed by the PC 11 sending a printer search command via the access point 13 using the wireless LAN interface, and the printer receiving the printer search command returns its response. Done. In other words, this search command is broadcasted to all devices on the network, and a device that can receive the search command and understand this command (in this case, a specific printer or printer adapter) sends the command to the host computer. Returns predetermined information corresponding to the command. This information includes the name, ID, address, etc. of the printer, and the printer to be connected is specified based on these information.

画面810では、発見されたプリンタの一覧が表示領域811に表示され、この例では3つのプリンタが発見されている。アクセスポイントの選択と同様に、領域811内においてハイライトで示されたプリンタが選択される。画面810で「戻る」812を選択すると前画面84へ戻り、「キャンセル」814を選択するとインストールは中止される。   On the screen 810, a list of discovered printers is displayed in the display area 811. In this example, three printers are discovered. Similar to the selection of the access point, the printer indicated by highlight in the area 811 is selected. Selecting “Return” 812 on the screen 810 returns to the previous screen 84, and selecting “Cancel” 814 stops the installation.

また、画面810で「次へ」813を選択することにより、表示領域811で選択したプリンタが接続相手として決定されると共に、ポート名を入力するための画面815(図9(d))が次に表示される。画面815内の入力領域816は、入力したいポート名を入れる領域である。ポート名は、1つのPCに接続される複数のプリンタが同じ機能を有する(例えば無線LAN)場合に、これらプリンタを区別するために用いられ、初期値として例えばWLAN01が設定される。「WLAN」は、無線LANのプリンタを示すための識別名であり、「01」はシステムに登録されている最終の番号を表わし、複数の同じ機能を有するプリンタを区別して扱うために順番に番号を付ける。プリンタドライバでは、このポート名によってプリンタを特定する。   Further, by selecting “Next” 813 on the screen 810, the printer selected in the display area 811 is determined as the connection partner, and the screen 815 (FIG. 9D) for inputting the port name is displayed next. Is displayed. An input area 816 in the screen 815 is an area for entering a port name to be input. When a plurality of printers connected to one PC have the same function (for example, wireless LAN), the port name is used to distinguish these printers, and WLAN01 is set as an initial value, for example. “WLAN” is an identification name for indicating a printer of a wireless LAN, “01” represents a final number registered in the system, and is sequentially numbered to distinguish and handle a plurality of printers having the same function. Add. In the printer driver, the printer is specified by this port name.

画面815で「戻る」817を選択すると、前画面810へ戻り、「次へ」818を選択することにより、入力領域816で入力した名前がポート名として決まる。また、「キャンセル」819の選択でインストールを中止する。画面815で「次へ」818が選択されると、ネットワーク・インストールの完了を示す画面820(図9(e))が表示される。   When “Return” 817 is selected on the screen 815, the screen returns to the previous screen 810, and by selecting “Next” 818, the name input in the input area 816 is determined as the port name. In addition, installation is canceled by selecting “Cancel” 819. When “Next” 818 is selected on the screen 815, a screen 820 (FIG. 9E) indicating the completion of network installation is displayed.

画面820には、2つのラジオボタン821,822があり、ユーザは、無線LAN用のプリンタアイコンのみを作成する場合はラジオボタン821を選択し、無線LAN用のプリンタアイコン、及びUSB用のプリンタアイコンの両方のアイコンを作成する場合にはラジオボタン822を選択することになる。ユーザが「OK」823を選択すると、ラジオボタン821が選択されている場合には、図10に示すようなプリンタアイコンが作成される。ラジオボタン822が選択されている場合には、図11に示すようなプリンタアイコンが作成される。このプリンタアイコンは、登録されているプリンタをユーザが確認したり、区別したり、あるいは現在準備可能なプリンタを識別するのに利用され、アプリケーションからの印刷ではこのアイコンが選択される。例えば、図11において「BJ○○○USB001」のアイコンが選択されると、印刷データはUSBケーブル15経由で送信される。一方、「BJ○○○(コピー2)WLAN01」のアイコンが選択されると、印刷データは無線LAN経由で送信される。   The screen 820 includes two radio buttons 821 and 822. When the user creates only a wireless LAN printer icon, the user selects the radio button 821, selects the wireless LAN printer icon, and the USB printer icon. When creating both icons, the radio button 822 is selected. When the user selects “OK” 823, if the radio button 821 is selected, a printer icon as shown in FIG. 10 is created. When the radio button 822 is selected, a printer icon as shown in FIG. 11 is created. This printer icon is used by the user to confirm or distinguish a registered printer, or to identify a printer that can be currently prepared, and this icon is selected for printing from an application. For example, when the icon “BJOOXXUSB001” is selected in FIG. 11, the print data is transmitted via the USB cable 15. On the other hand, when the “BJXXX (copy 2) WLAN01” icon is selected, the print data is transmitted via the wireless LAN.

この無線ネットワーク・インストール完了時のプリンタアイコンの作成は、USBポートインスタンスを表わす該当プリンタアイコンを削除した上で、作成された無線LANポートインスタンスに該当するプリンタアイコンを新規に作成する方法や、USBポートインスタンスを表わすプリンタアイコンの設定を変更して無線LANのポートインスタンスを割り当てる方法等、いくつかの方法によって実現される。いずれも場合も、前記<プリンタドライバのインストール>にて説明したように、OSが備えるレジストリの無線LAN用のポートインスタンスに関するエントリに、該当するプリンタアイコンの情報が記述され、USB用のポートインスタンスに関するエントリのアイコン情報は消滅、または未使用の旨の情報が記述される。また、インストール手順によってはUSB用のポートインスタンスに関するエントリが削除され、USB用のポートインスタンスそのものが削除される場合もある。   The creation of the printer icon upon completion of the wireless network installation may be performed by deleting the corresponding printer icon representing the USB port instance and then newly creating a printer icon corresponding to the created wireless LAN port instance, or a USB port This is realized by several methods such as a method of assigning a wireless LAN port instance by changing the setting of a printer icon representing an instance. In either case, as described in <Printer Driver Installation>, information on the corresponding printer icon is described in the entry related to the wireless LAN port instance in the registry provided in the OS, and the USB port instance is related. The icon information of the entry describes information indicating disappearance or unused. Further, depending on the installation procedure, the entry related to the USB port instance may be deleted, and the USB port instance itself may be deleted.

ユーザが無線LAN経由とUSB経由両方のポートインスタンスの作成を選択した場合は、セットアップの過程で既に作成されたUSBのポートインスタンスを表わすプリンタアイコンはそのまま削除、変更されない。その上で、無線ネットワーク・インストール完了時のプリンタアイコン作成において、新規に無線LAN用のポートインスタンスとそれを表わすプリンタアイコンが作成される(図11の画面参照)。この場合も前記<プリンタドライバのインストール>にて説明したように、OSが備えるレジストリの無線LAN用のポートインスタンスに関するエントリに、新規に作成されたプリンタアイコンの情報が記述される。   When the user selects creation of both port instances via wireless LAN and USB, the printer icon representing the USB port instance already created in the setup process is not deleted or changed as it is. In addition, when creating a printer icon upon completion of wireless network installation, a new port instance for wireless LAN and a printer icon representing it are created (see the screen of FIG. 11). Also in this case, as described in <Installation of Printer Driver>, information about a newly created printer icon is described in an entry relating to a port instance for a wireless LAN in a registry provided in the OS.

以上の方法で、ネットワークインストール完了画面のラジオボタンによるユーザの選択に従い、無線LANポートのセットアップのみを選択した場合は、無線LANポートインスタンスを表わすプリンタ・アイコンのみ、無線LANポートと共にUSBポートのセットアップを選択した場合は、無線LANポートとUSBポートの両インスタンスを表わす2つのプリンタ・アイコンが作成される。   When only the wireless LAN port setup is selected according to the user's selection by the radio button on the network installation completion screen in the above method, only the printer icon representing the wireless LAN port instance is set up with the wireless LAN port and the USB port setup. If selected, two printer icons representing both instances of the wireless LAN port and the USB port are created.

II.アクセスポイントとプリンタが1つのみの場合
図12は、本実施形態に係る、USBインターフェースを用いた無線ネットワーク・インストール処理で表示される第2の画面例を示す図である。この画面例は、上述したUSBインターフェースを用いた無線ネットワーク・インストール処理に際して、前記アクセスポイントサーチとプリンタサーチによってアクセスポイントとプリンタが1つのみ発見された場合に、図8及び図9で説明した画面例に代えてPC11の画面上に表示されるものである。
II. FIG. 12 is a diagram illustrating a second screen example displayed in the wireless network installation process using the USB interface according to the present embodiment. This screen example is the screen described in FIG. 8 and FIG. 9 when only one access point and printer are found by the access point search and printer search during the wireless network installation process using the USB interface described above. Instead of the example, it is displayed on the screen of the PC 11.

本例の表示画面は、図8及び図9で説明した表示画面において、画面84,810,815が省略され表示されずに、画面66と、画面820に対応する画面94のみの表示となる。1つのアクセスポイントで且つ1つのプリンタのみ存在する環境においてポート名も自動に作成されるものでよい場合に、ユーザは図12に示す画面66での「ネットワークインストール」70の選択と、完了画面94での「OK」97の2つの指示を行うだけで、無線ネットワークのインストールが完了することになる。   The display screen of this example is a display of only the screen 66 and the screen 94 corresponding to the screen 820 without the screens 84, 810, and 815 being omitted in the display screen described with reference to FIGS. 8 and 9. When the port name may be automatically created in an environment where there is only one printer with one access point, the user selects the “network installation” 70 on the screen 66 shown in FIG. The installation of the wireless network is completed simply by giving two instructions “OK” 97.

図13は、PC11が実行する処理を示すフローチャートであって、図8、図9及び図12で示した画面が表示される本実施形態の無線ネットワーク・インストール処理を示すフローチャートである。   FIG. 13 is a flowchart showing the processing executed by the PC 11, and is a flowchart showing the wireless network installation processing of the present embodiment in which the screens shown in FIGS. 8, 9, and 12 are displayed.

まず、ステップS900において、図8(a)の画面で「ネットワークインストール」70が選択されたかか否かを判定する。選択された場合はステップS1000へ進んで、アクセスポイントサーチ用のコマンドをUSBケーブル15を介してプリンタ12に送信する(ステップS1000)。プリンタ12はアクセスポイントのサーチを行い、見つかったアクセスポイントの情報をUSBケーブル15経由でPC11へ戻す。   First, in step S900, it is determined whether or not “network installation” 70 has been selected on the screen of FIG. If it is selected, the process proceeds to step S1000, and an access point search command is transmitted to the printer 12 via the USB cable 15 (step S1000). The printer 12 searches for an access point, and returns information on the found access point to the PC 11 via the USB cable 15.

ここで、PC11がUSBケーブル15経由でプリンタ12へ送信する無線ネットワーク・インストール用のUSBコマンドとして、図14で示すように3つのコマンドが用意されている。その内のアクセスポイントサーチコマンドをプリンタ12へ送ることで、プリンタ12は、無線LANカード14等の無線LANモジュールを使いアクセスポイントをサーチするための設定を無線LANモジュールに行う。アクセスポイントサーチの設定がなされた無線LANモジュールは、アクセスポイントサーチの信号を発信する。この信号を受け取ったアクセスポイントは、自分のアクセスポイント情報(ID、電波状態、アドレス、チャネルなど)をサーチ信号を発信した相手へ返信する。無線LANモジュールはアクセスポイントから送り返されてきた情報を受信し、受信した情報をプリンタ12がPC11へ返送する。この時、プリンタ12は見つかった全てのアクセスポイントの情報をPC11へ返信する。   Here, three commands are prepared as USB commands for wireless network installation which the PC 11 transmits to the printer 12 via the USB cable 15 as shown in FIG. By sending an access point search command among them to the printer 12, the printer 12 uses the wireless LAN module such as the wireless LAN card 14 to make settings for searching for an access point in the wireless LAN module. The wireless LAN module for which the access point search is set transmits an access point search signal. Upon receiving this signal, the access point returns its access point information (ID, radio wave status, address, channel, etc.) to the other party that sent the search signal. The wireless LAN module receives the information sent back from the access point, and the printer 12 returns the received information to the PC 11. At this time, the printer 12 returns information of all the found access points to the PC 11.

次のステップS1001では、プリンタ12から戻されたアクセスポイント情報からアクセスポイントがいくつ見つかったかをチェックする。アクセスポイントが1つ以上見つかった場合は、ステップS1002へ進んでアクセスポイント一覧の画面84を表示して、ユーザにアクセスポイントを選択させる。アクセスポイントが1つだけ見つかった場合は、ステップS1002をスキップしてステップS1003へ進む。   In the next step S1001, the number of access points found from the access point information returned from the printer 12 is checked. If one or more access points are found, the process advances to step S1002 to display the access point list screen 84 to allow the user to select an access point. If only one access point is found, step S1002 is skipped and the process proceeds to step S1003.

ステップS1003では、無線LANに使用するアクセスポイントの設定を行う。これは、ステップS1000で見つかったアクセスポイントの情報を基に、ユーザにより選択されたアクセスポイント或いは唯一見つかったアクセスポイントを指定する情報設定コマンドをUSBケーブル15経由でプリンタへ送ることにより行う。アクセスポイントのアドレスや暗号化キーなどアクセスポイントを利用するために必要な情報を情報設定コマンドで設定することで特定のアクセスポイントにプリンタ12を接続することができる。   In step S1003, an access point used for the wireless LAN is set. This is performed by sending an information setting command for designating the access point selected by the user or the only found access point to the printer via the USB cable 15 based on the information of the access point found in step S1000. The printer 12 can be connected to a specific access point by setting information necessary for using the access point, such as an address of the access point and an encryption key, using an information setting command.

続くステップS1004では、ネットワークコマンドを使い、プリンタのサーチを行う。ネットワークコマンドとして、図15に示すように、プリンタサーチコマンド(ブロードキャスト)及びプリンタサーチコマンド(アドレス指定)の2つのネットワークインストール用コマンドを用意している。2つともプリンタサーチ用のコマンドで、プリンタサーチコマンド(ブロードキャスト)が相手を指定しないもので、プリンタサーチコマンド(アドレス指定)が特定の相手を指定したものである。   In the subsequent step S1004, a printer search is performed using a network command. As shown in FIG. 15, two network installation commands, a printer search command (broadcast) and a printer search command (address designation), are prepared as network commands. Both are commands for printer search, where the printer search command (broadcast) does not specify a partner, and the printer search command (address specification) specifies a specific partner.

ここでは、PC11は、ブロードキャストのプリンタサーチコマンドを送信する。これは、無線LAN上に発信され、このコマンドを無線LANから受け取ったプリンタはプリンタ情報(ID、名称、アドレス、モデル名など)を、コマンドを送信したPC11へ無線LAN経由で返信する。これによって、PC11と該プリンタとの接続確認を無線LAN経由で行うことができる。このコマンドはブロードキャストで送信されるため、このコマンドを理解できるプリンタは全て該コマンドを送信したPCへ返信する可能性がある。PC11は、プリンタから送り返された情報から自分が今インストールしようとしている機種を選別する必要がある。   Here, the PC 11 transmits a broadcast printer search command. This is transmitted on the wireless LAN, and the printer that has received this command from the wireless LAN returns printer information (ID, name, address, model name, etc.) via the wireless LAN to the PC 11 that sent the command. Thereby, the connection confirmation between the PC 11 and the printer can be performed via the wireless LAN. Since this command is transmitted by broadcast, all printers that can understand this command may send a reply to the PC that transmitted the command. The PC 11 needs to select the model that it is trying to install from the information sent back from the printer.

PC11は、プリンタから送り返された情報から、接続可能なプリンタが1つであるかどうかをチェックする(ステップS1005)。接続可能なプリンタが2つ以上見つかった場合には、ステップS1006へ進んで画面810のプリンタ一覧を表示し、ユーザにプリンタを選択させる。見つかったプリンタが1つの場合、ステップS1006をスキップしてステップS1007へ進む。   The PC 11 checks whether there is one connectable printer from the information sent back from the printer (step S1005). If two or more connectable printers are found, the process advances to step S1006 to display the printer list on the screen 810 and allow the user to select a printer. If one printer is found, step S1006 is skipped and the process proceeds to step S1007.

ステップS1007では、ポート名の表示が必要かどうかのチェックを行い、必要であればステップS1008へ進んでポート名の入力画面815を表示し、ユーザに入力させる。ポート名の入力が必要ない場合は、ステップS1008をスキップしてステップS1009へ進む。ポート名の入力をユーザに行わせるかどうかは、その必要性によりインストールソフトを構成するかどうかで決め、より簡単な少ない画面でのインストールを実現する場合には省略することも可能である。   In step S1007, it is checked whether or not the display of the port name is necessary. If necessary, the process proceeds to step S1008 to display the port name input screen 815 for the user to input. If it is not necessary to input a port name, step S1008 is skipped and the process proceeds to step S1009. Whether or not to allow the user to input a port name is determined by whether or not the installation software is configured depending on the necessity, and can be omitted when realizing a simpler installation with fewer screens.

ステップS1009では、PC11はネットワーク情報の設定及び無線LAN用のポートインスタンスの登録をPC11内で行い、これによって無線LANインターフェース経由で印刷データをプリンタ12に送信できる状態になる。ネットワーク情報は、プリンタのアドレスや名称など印刷に必要となる情報を示している。次のステップS1010では、図9(e)に示すネットワークインストール完了画面を表示する。   In step S1009, the PC 11 performs setting of network information and registration of a port instance for the wireless LAN in the PC 11, so that print data can be transmitted to the printer 12 via the wireless LAN interface. The network information indicates information necessary for printing such as a printer address and name. In the next step S1010, a network installation completion screen shown in FIG. 9E is displayed.

図14は、USBケーブル15経由でプリンタへ送られるUSBコマンドの例を示す図であり、本実施形態では、3つのコマンドが用意されている。USBコマンドには、この他にも、印刷データを送るコマンド、各種プリンタの設定を行うコマンドなどがあるが、本発明に直接関係するインストールコマンドだけを挙げている。1つがアクセスポイントをサーチするコマンドで、図13のステップS1000で説明を行ったものである。2つ目が情報取得コマンドであり、プリンタに設定されている無線LANに関する情報をプリンタから取得するのに用いられる。3つ目は情報設定コマンドであり、無線LANに関する情報(例えばアクセスポイントのアドレス、モード、チャネルなど)を設定するコマンドであり、図13のステップS1003でアクセスポイントの指定のために使用する。   FIG. 14 is a diagram showing an example of a USB command sent to the printer via the USB cable 15, and three commands are prepared in this embodiment. In addition to the USB commands, there are commands for sending print data, commands for setting various printers, etc., but only the install commands directly related to the present invention are listed. One is a command for searching for an access point, which has been described in step S1000 in FIG. The second is an information acquisition command, which is used to acquire information related to the wireless LAN set in the printer from the printer. The third is an information setting command, which is a command for setting information related to the wireless LAN (for example, access point address, mode, channel, etc.), and is used for specifying an access point in step S1003 of FIG.

図15は、無線LANを介してプリンタへ送信されるネットワークコマンドの例を示す図であり、本実施形態では、ネットワークコマンドの内のインストールに使用されるコマンドとして、全てのプリンタが受け取るブロードキャスト用プリンタサーチコマンドと、特定のプリンタが受け取るアドレス指定用プリンタサーチコマンドの2つのコマンドが用意されている。ネットワークコマンドには、この他にも印刷データを送るコマンド、各種プリンタの設定を行うコマンドなどがあるが、本発明に直接関係するインストールコマンドだけを挙げている。   FIG. 15 is a diagram illustrating an example of a network command transmitted to a printer via a wireless LAN. In this embodiment, a broadcast printer received by all printers as a command used for installation of network commands. Two commands are prepared: a search command and an address designation printer search command received by a specific printer. Other network commands include a command for sending print data and a command for setting various printers, but only an install command directly related to the present invention is listed.

このコマンドを使うことにより、ネットワーク上にあるプリンタが正しく見つかったか、且つ正しく設定されているかどうかの判断、つまり無線LAN経由でのプリンタとの接続確認を行うことができる。これらコマンドは、ネットワーク上で一般的なTCP/IP,UDPなどのプロトコルを介して転送、返信が行われる。   By using this command, it is possible to determine whether a printer on the network has been found correctly and whether it has been set correctly, that is, to confirm connection with the printer via the wireless LAN. These commands are transferred and returned via a general protocol such as TCP / IP or UDP on the network.

III.2台目PCでのネットワーク・インストール
図16は、2台目PC上で実行される無線ネットワーク・インストール処理で表示される画面例を示す図である。
III. Network Installation on Second PC FIG. 16 is a diagram showing an example of a screen displayed in the wireless network installation process executed on the second PC.

図6〜図15を用いて説明したPCのプリンタドライバ・インストール及び無線ネットワーク・インストール処理を実行してプリンタの無線LANの設定が完了した後、別のPC(プリンタドライバ・ネットワーク共にインストールされていない)においてプリンタドライバ・インストール及び無線ネットワーク・インストールを実行する場合、既にプリンタ側の無線LAN設定は完了しているためPC側の設定だけが行われることになる。   After the printer driver installation and wireless network installation processing of the PC described with reference to FIGS. 6 to 15 is executed and the wireless LAN setting of the printer is completed, another PC (both the printer driver and the network are not installed) When the printer driver installation and the wireless network installation are executed in step (1), since the wireless LAN setting on the printer side has already been completed, only the setting on the PC side is performed.

プリンタドライバのインストールは図6及び図7で説明した内容と同じなので省略する。プリンタドライバ・インストール完了後の画面131が表示されてネットワークインストールを行う場合は、「ネットワークインストール」133を選択する。選択後、ネットワーク・インストールが正常に完了すれば、前述の画面94と同じネットワークインストール完了画面134が表示され、何らかの理由で接続したプリンタが無線LANで発見できなかった場合は、ネットワークインストール失敗画面137が表示される。   The installation of the printer driver is the same as that described with reference to FIGS. When the screen 131 after completion of printer driver installation is displayed and network installation is to be performed, “network installation” 133 is selected. If the network installation is normally completed after selection, the same network installation completion screen 134 as the above-described screen 94 is displayed. If the printer connected for some reason cannot be found on the wireless LAN, the network installation failure screen 137 is displayed. Is displayed.

図17及び図18は、PCが実行する処理を示すフローチャートであって、図16で説明したネットワークインストール時の処理を示すフローチャートである。このフローチャートには、1台目のPC上で実行される無線LAN及びプリンタの設定のほか、2台目以降のPC上で実行される無線LAN及びプリンタの設定も含む構成となっている。   FIG. 17 and FIG. 18 are flowcharts showing processing executed by the PC, and are flowcharts showing processing at the time of network installation explained in FIG. This flowchart includes a wireless LAN and printer setting executed on the first PC, as well as a wireless LAN and printer setting executed on the second and subsequent PCs.

まずステップS1400でプリンタ12の設定情報を取得する。これは、図14で示した情報取得コマンドをPCからプリンタ12へUSBケーブル経由で送ることで実行され、プリンタ12は設定されている情報をPCへUSBケーブル経由で戻す。プリンタ12に設定されている情報には無線LANに関する情報が含まれており、その中にアクセスポイントが設定されているかどうかの情報がある。   First, in step S1400, setting information of the printer 12 is acquired. This is executed by sending the information acquisition command shown in FIG. 14 from the PC to the printer 12 via the USB cable, and the printer 12 returns the set information to the PC via the USB cable. The information set in the printer 12 includes information on the wireless LAN, and includes information on whether or not an access point is set.

アクセスポイントの設定情報は、1台目のPCにおいてプリンタドライバ・インストールに引き続き実行されたネットワーク・インストールの処理で設定されたものである(図13のステップS1003)。既にアクセスポイントが設定されている場合は、改めてアクセスポイントの設定を行う必要がなく既に設定された情報を使う。   The access point setting information is set in the network installation process executed after the printer driver installation in the first PC (step S1003 in FIG. 13). If an access point has already been set, it is not necessary to set the access point again, and the already set information is used.

ステップS1401では、アクセスポイントが設定済みかどうかをプリンタ12からの情報でチェックする。アクセスポイントが設定されていない場合というのは、このPCが1台目のPCであることを意味していて、この場合はアクセスポイント設定から行う必要があり、図8,9,10で示した処理を行う必要がある。   In step S1401, it is checked based on information from the printer 12 whether an access point has been set. The case where the access point is not set means that this PC is the first PC. In this case, it is necessary to start from the access point setting, as shown in FIGS. It is necessary to perform processing.

ステップS1402からステップS1412までは、図13のステップS1000からステップS1010までの処理と同様なので説明は省略するが、ステップS1402〜ステップS1412において、プリンタ12のアクセスポイント設定とPC側のネットワーク設定が行われる。   Steps S1402 to S1412 are the same as steps S1000 to S1010 in FIG. 13 and will not be described. However, in steps S1402 to S1412, the access point setting of the printer 12 and the network setting on the PC side are performed. .

ステップS1401でアクセスポイントが設定済みと判断された場合は、図18のステップS1413へ進み特定プリンタのサーチ処理を行う。ステップS1400でプリンタから得られた情報には、既に設定されているプリンタのアドレスとIDが含まれており、この情報を基に、図15で示したプリンタサーチコマンド(アドレス指定)を無線LAN上に送信する。この2台目のPCもアクセスポイントとの間の設定を完了しているので、無線LAN上にコマンドを発行することができる。このプリンタサーチコマンド(アドレス指定)は、アドレスの指定を行っているサーチコマンドであるため、現在USBケーブルで接続してプリンタドライバのインストールを行っているプリンタに対してのみコマンドを送ることができる。   If it is determined in step S1401 that an access point has been set, the process proceeds to step S1413 in FIG. 18 to perform a search process for a specific printer. The information obtained from the printer in step S1400 includes the printer address and ID already set. Based on this information, the printer search command (address designation) shown in FIG. Send to. Since this second PC has also completed setting with the access point, a command can be issued on the wireless LAN. Since this printer search command (address designation) is a search command that designates an address, the command can be sent only to a printer that is currently connected with a USB cable and in which a printer driver is installed.

このコマンドが到着したプリンタは、コマンド送信したPCに対して無線LAN経由でプリンタ情報を返送する。PC側は、プリンタからの返信が到着することと、到着した情報が正しいことをチェックする(ステップS1414)。無線LAN経由でプリンタから返送された情報と、前記USB経由で得た情報とを比較し両者が一致した場合に所望のプリンタが正しく発見されたことになる。これによって、PCと該プリンタとの接続確認を無線LAN経由で行うことができる。   The printer that has received this command returns printer information via the wireless LAN to the PC that sent the command. The PC side checks that a reply from the printer has arrived and that the arrived information is correct (step S1414). When the information returned from the printer via the wireless LAN is compared with the information obtained via the USB, the desired printer is found correctly when they match. As a result, the connection between the PC and the printer can be confirmed via the wireless LAN.

何らかの理由でプリンタからの情報が戻らない場合、あるいは情報が一致しない場合は、ステップS1419へ進みネットワークインストール失敗画面137を表示する。ステップS1414でプリンタが正しく見つかった場合はステップS1415へ進む。ステップS1415からステップS1418までの処理は、ステップS1409からステップS1412と同じ処理なので説明は省略するが、ステップS1415からステップS1418までの処理により、2台目のPCの無線LANインストールが完了して、無線LANでの印刷が行えるようになる。   If the information from the printer does not return for some reason, or if the information does not match, the process advances to step S1419 to display the network installation failure screen 137. If the printer is found correctly in step S1414, the process proceeds to step S1415. The processing from step S1415 to step S1418 is the same as that from step S1409 to step S1412 and will not be described. However, the processing from step S1415 to step S1418 completes the wireless LAN installation of the second PC, and the wireless communication is performed. Printing on the LAN can be performed.

<本実施形態の利点>
本実施形態は、次のような利点を有する。
<Advantages of this embodiment>
This embodiment has the following advantages.

(1)USBインターフェースでのプリンタドライバのインストールを利用してその続きとして無線LANのネットワーク・インストールを実行するため、無線LANの設定をより簡単に実現することが可能になる。   (1) Since the installation of the printer driver via the USB interface is used and the network installation of the wireless LAN is executed as a continuation thereof, the setting of the wireless LAN can be realized more easily.

(2)無線LANの接続確認を実際に行い接続が正しく行えたことを確かめた上でインストールを完了するため、接続に実際には失敗したままでインストールが完了するといった不具合を回避することができる。   (2) Since the installation is completed after actually confirming the connection of the wireless LAN and confirming that the connection has been made correctly, it is possible to avoid the problem that the installation is completed while the connection has actually failed. .

(3)従来ユーザが複雑な操作を行ってインストールしていた2台目以降のPCにおける無線LANに関する設定においても、1台目のPCと同様に、USBインターフェースを使用してより簡易に実行することができる。すなわち、2台目のPCも1台目のPCと同様な手順で無線LANの設定が行えるため、ユーザオペレーションを統一して、設定時の誤操作を削減することができる。   (3) Similar to the first PC, the settings related to the wireless LAN in the second and subsequent PCs that have been installed by performing complicated operations by the conventional user are more easily executed using the USB interface. be able to. That is, since the second PC can set the wireless LAN in the same procedure as the first PC, it is possible to unify user operations and reduce erroneous operations during setting.

上記実施形態では、ネットワークインストール完了画面(図9(e)の820、図12の94、図16の134)において、インストール完了時に作成されるプリンタアイコンをラジオボタンによりユーザに選択させ、ユーザの選択に応じたアイコンの作成・削除を行うが、これは異なるタイミングで行われても構わない。   In the above embodiment, on the network installation completion screen (820 in FIG. 9 (e), 94 in FIG. 12, 134 in FIG. 16), the user selects the printer icon created upon completion of the installation with the radio button, and the user selects The icon is created / deleted according to the above, but this may be performed at different timings.

例えば、図19に示す例では、USBインターフェースを用いた無線ネットワーク・インストール処理において、ネットワークの設定の開始時に、インストール完了時に作成されるプリンタアイコンを選択するためのラジオボタン175,176を表示してユーザに選択させた後、ネットワーク・インストール処理を実行し、ネットワーク・インストール完了時に完了画面178を表示している。   For example, in the example shown in FIG. 19, in the wireless network installation process using the USB interface, radio buttons 175 and 176 for selecting a printer icon created when installation is completed are displayed at the start of network setting. After the user makes a selection, network installation processing is executed, and a completion screen 178 is displayed when the network installation is completed.

また、USBポートを表わすアイコンの削除もインストール完了を待つことなく、USBポートがインストール作業において不必要となった時点で行うことも可能である。   It is also possible to delete the icon representing the USB port when the USB port becomes unnecessary in the installation operation without waiting for the completion of the installation.

なお、上述した図3、図7、図13、図17、及び図18のフローチャートに従ったプログラムをPC11などのホスト装置内の記憶装置に格納し動作することにより、上述の制御方法を実現させることが可能となる。   The above control method is realized by storing and operating the program according to the flowcharts of FIGS. 3, 7, 13, 17, and 18 in the storage device in the host device such as the PC 11. It becomes possible.

本発明は、上述した実施形態の装置に限定されず、複数の機器から構成されるシステムに適用しても、1つの機器から成る装置に適用してもよい。前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体をシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、完成されることは言うまでもない。   The present invention is not limited to the apparatus of the above-described embodiment, and may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. A storage medium storing software program codes for realizing 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 reads and executes the program codes stored in the storage medium. Needless to say, it will be completed by doing.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMを用いることができる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM is used. Can do. Further, by executing the program code read out by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer performs the actual processing based on the instruction of the program code. Needless to say, a case where the function of the above-described embodiment is realized by performing part or all of the processing is also included.

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

本発明の実施の形態に係る情報処理システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the information processing system which concerns on embodiment of this invention. USBを用いたプリンタドライバの一般的なインストール画面を示す図である。FIG. 6 is a diagram illustrating a general installation screen of a printer driver using USB. USBを用いたプリンタドライバの一般的なインストール手順を示すフローチャートである。6 is a flowchart illustrating a general installation procedure of a printer driver using USB. OSにおける標準設定データベースの一例を示した図である。It is the figure which showed an example of the standard setting database in OS. OSにおけるプリンタ一覧の画面例を示した図である。6 is a diagram illustrating an example of a printer list screen in the OS. FIG. USBを用いたプリンタドライバ・インストール処理で表示される画面例を示す図である。FIG. 10 is a diagram illustrating an example of a screen displayed in a printer driver installation process using USB. PC11によって実行されるプリンタドライバ・インストール処理を示すフローチャートである。6 is a flowchart illustrating printer driver installation processing executed by the PC. USBを用いた無線ネットワーク・インストール処理で表示される第1の画面例を示す図である。It is a figure which shows the example of the 1st screen displayed by the wireless network installation process using USB. 図8の続きの図である。FIG. 9 is a continuation of FIG. 8. ユーザが無線LANポートのセットアップのみを選択した場合のプリンタ一覧画面を示した図である。FIG. 6 is a diagram illustrating a printer list screen when a user selects only wireless LAN port setup. ユーザが無線LANポートと共にUSBポートのセットアップを選択した場合のプリンタ一覧画面を示した図である。FIG. 6 is a diagram illustrating a printer list screen when a user selects setup of a USB port together with a wireless LAN port. 実施形態に係る、USBインターフェースを用いた無線ネットワーク・インストール処理で表示される第2の画面例を示す図である。It is a figure which shows the 2nd example of a screen displayed by the wireless network installation process using a USB interface based on embodiment. PC11によって実行される無線ネットワーク・インストール処理を示すフローチャートである。6 is a flowchart showing a wireless network installation process executed by the PC 11. USBコマンドを示した図である。It is the figure which showed the USB command. ネットワークコマンドを示した図である。It is the figure which showed the network command. USBを用いた無線ネットワークの第2のPCにおけるインストール画面を示した図である。It is the figure which showed the installation screen in 2nd PC of the wireless network using USB. USBを用いた無線ネットワークの第2のPCにおけるインストール手順を示すフローチャートである。It is a flowchart which shows the installation procedure in 2nd PC of the wireless network using USB. 図17の続きのフローチャートである。FIG. 18 is a flowchart continued from FIG. 17. 実施の形態の変形例に係る、USBを用いた無線ネットワークのインストール画面を示した図である。It is the figure which showed the installation screen of the wireless network using USB which concerns on the modification of embodiment.

符号の説明Explanation of symbols

11 ノートPC
12 プリンタ
13 アクセスポイント
14 無線LANカード
15 USBケーブル
11 Notebook PC
12 Printer 13 Access point 14 Wireless LAN card 15 USB cable

Claims (7)

1又は複数のデバイスと通信するための、第1の通信ポート及び第2の通信ポートを備えた情報処理装置であって、
前記第1の通信ポートを介して所定のデバイスに印刷データを送信することを可能とするための第1の通信設定を行う第1通信設定実行手段と、
前記第1通信設定実行手段により前記第1の通信設定が行われた後、前記第1の通信ポートを介して前記所定のデバイスと通信し、前記第2の通信ポートを介して前記所定のデバイスに印刷データを送信することを可能とするための第2の通信設定を実行する第2通信設定実行手段と、
前記第2通信設定実行手段による前記第2の通信設定が完了したときに、前記第1通信設定実行手段により行われた前記第1の通信設定で設定された設定情報が必要であるか否かをユーザに確認する確認手段と、
前記確認手段による確認の結果、前記第1の通信設定で設定された設定情報が必要でないとユーザが指示した場合に、前記第1の通信設定で設定された設定情報を削除する削除手段とを備えたことを特徴とする情報処理装置。
An information processing apparatus having a first communication port and a second communication port for communicating with one or more devices,
First communication setting execution means for performing a first communication setting for enabling print data to be transmitted to a predetermined device via the first communication port;
After the first communication setting is performed by the first communication setting execution unit, the first communication port communicates with the predetermined device, and the second communication port transmits the predetermined device. Second communication setting execution means for executing a second communication setting for enabling printing data to be transmitted to
Whether the setting information set by the first communication setting performed by the first communication setting execution unit is necessary when the second communication setting by the second communication setting execution unit is completed Confirmation means for confirming with the user,
Deletion means for deleting the setting information set in the first communication setting when the user indicates that the setting information set in the first communication setting is not necessary as a result of the confirmation by the checking means; An information processing apparatus comprising the information processing apparatus.
前記第1通信設定実行手段による前記第1の通信設定が終了すると、前記第2通信設定実行手段による前記第2の通信設定を実行するか否かを確認させる表示画面を表示する表示手段をさらに備えたことを特徴とする請求項1記載の情報処理装置。   Display means for displaying a display screen for confirming whether or not to execute the second communication setting by the second communication setting execution means when the first communication setting by the first communication setting execution means is completed. The information processing apparatus according to claim 1, further comprising: 前記削除手段は、前記第1の通信設定に対応したアイコンを削除することを特徴とする請求項1又は2記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the deletion unit deletes an icon corresponding to the first communication setting. 1又は複数のデバイスと通信するための、第1の通信ポート及び第2の通信ポートを備えた情報処理装置の制御方法であって、
前記第1の通信ポートを介して所定のデバイスに印刷データを送信することを可能とするための第1の通信設定を行う第1通信設定実行工程と、
前記第1通信設定実行工程で前記第1の通信設定が行われた後、前記第1の通信ポートを介して前記所定のデバイスと通信し、前記第2の通信ポートを介して前記所定のデバイスに印刷データを送信することを可能とするための第2の通信設定を実行する第2通信設定実行工程と、
前記第2通信設定実行工程での前記第2の通信設定が完了したときに、前記第1通信設定実行工程で行われた前記第1の通信設定で設定された設定情報が必要であるか否かをユーザに確認する確認工程と、
前記確認工程での確認の結果、前記第1の通信設定で設定された設定情報が必要でないとユーザが指示した場合に、前記第1の通信設定で設定された設定内容を削除する削除工程とを備えたことを特徴とする情報処理装置の制御方法。
A method for controlling an information processing apparatus including a first communication port and a second communication port for communicating with one or a plurality of devices,
A first communication setting execution step for performing a first communication setting for enabling print data to be transmitted to a predetermined device via the first communication port;
After the first communication setting is performed in the first communication setting execution step, the predetermined device communicates with the predetermined device via the first communication port, and the predetermined device via the second communication port. A second communication setting execution step for executing a second communication setting for enabling print data to be transmitted to
Whether the setting information set in the first communication setting performed in the first communication setting execution step is necessary when the second communication setting in the second communication setting execution step is completed A confirmation process for confirming to the user,
A deletion step of deleting the setting contents set in the first communication setting when the user indicates that the setting information set in the first communication setting is not necessary as a result of the confirmation in the confirmation step; An information processing apparatus control method comprising:
前記第1通信設定実行工程における前記第1の通信設定が終了すると、前記第2通信設定実行工程における前記第2の通信設定を実行するか否かを確認させる表示画面を表示する表示工程をさらに備えたことを特徴とする請求項4記載の情報処理装置の制御方法。   A display step of displaying a display screen for confirming whether or not to execute the second communication setting in the second communication setting executing step when the first communication setting in the first communication setting executing step is completed; 5. The method of controlling an information processing apparatus according to claim 4, further comprising: 前記削除工程では、前記第1の通信設定に対応したアイコンを削除することを特徴とする請求項4又は5記載の情報処理装置の制御方法。   The information processing apparatus control method according to claim 4 or 5, wherein, in the deletion step, an icon corresponding to the first communication setting is deleted. 1又は複数のデバイスと通信するための、第1の通信ポート及び第2の通信ポートを備えた情報処理装置の制御方法を実行するためのプログラムであって、
前記情報処理装置の制御方法は、
前記第1の通信ポートを介して所定のデバイスに印刷データを送信することを可能とするための第1の通信設定を行う第1通信設定実行工程と、
前記第1通信設定実行工程で前記第1の通信設定が行われた後、前記第1の通信ポートを介して前記所定のデバイスと通信し、前記第2の通信ポートを介して前記所定のデバイスに印刷データを送信することを可能とするための第2の通信設定を実行する第2通信設定実行工程と、
前記第2通信設定実行工程での前記第2の通信設定が完了したときに、前記第1通信設定実行工程で行われた前記第1の通信設定で設定された設定情報が必要であるか否かをユーザに確認する確認工程と、
前記確認工程での確認の結果、前記第1の通信設定で設定された設定情報が必要でないとユーザが指示した場合に、前記第1の通信設定で設定された設定内容を削除する削除工程とを備えることを特徴とするプログラム
A program for executing a control method of an information processing apparatus including a first communication port and a second communication port for communicating with one or a plurality of devices,
The control method of the information processing apparatus includes:
A first communication setting execution step for performing a first communication setting for enabling print data to be transmitted to a predetermined device via the first communication port;
After the first communication setting is performed in the first communication setting execution step, the predetermined device communicates with the predetermined device via the first communication port, and the predetermined device via the second communication port. A second communication setting execution step for executing a second communication setting for enabling print data to be transmitted to
Whether the setting information set in the first communication setting performed in the first communication setting execution step is necessary when the second communication setting in the second communication setting execution step is completed A confirmation process for confirming to the user,
A deletion step of deleting the setting contents set in the first communication setting when the user indicates that the setting information set in the first communication setting is not necessary as a result of the confirmation in the confirmation step; A program comprising:
JP2004171637A 2003-06-20 2004-06-09 Information processing apparatus, control method therefor, and program Expired - Fee Related JP4612809B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2004171637A JP4612809B2 (en) 2003-06-20 2004-06-09 Information processing apparatus, control method therefor, and program
EP04253586A EP1489502A3 (en) 2003-06-20 2004-06-16 Device and method for enabling the use of a device through a wireless interface.
US10/869,788 US7290067B2 (en) 2003-06-20 2004-06-16 Information processing apparatus control method for external device having both a wire interface and a wireless interface settings
CN2004100481794A CN1574844B (en) 2003-06-20 2004-06-21 Information processing apparatus, control method therefor
US11/622,288 US7523224B2 (en) 2003-06-20 2007-01-11 Information processing apparatus control method for device having both first and second interface settings enabling the information processing apparatus to communicate with the device via both first and second interface
US11/776,119 US7500026B2 (en) 2003-06-20 2007-07-11 Information processing apparatus control method for external device having both a wired interface and a wireless interface settings

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003177042 2003-06-20
JP2004171637A JP4612809B2 (en) 2003-06-20 2004-06-09 Information processing apparatus, control method therefor, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010003974A Division JP5054129B2 (en) 2003-06-20 2010-01-12 Information processing apparatus, control method therefor, and program

Publications (3)

Publication Number Publication Date
JP2005032232A JP2005032232A (en) 2005-02-03
JP2005032232A5 JP2005032232A5 (en) 2007-07-26
JP4612809B2 true JP4612809B2 (en) 2011-01-12

Family

ID=34220085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004171637A Expired - Fee Related JP4612809B2 (en) 2003-06-20 2004-06-09 Information processing apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP4612809B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4794910B2 (en) 2005-05-30 2011-10-19 キヤノン株式会社 System having an electronic device having a plurality of interfaces and a host device, information processing device, electronic device, setup method for the system, control method for the electronic device, setup program, and control program
JP4957682B2 (en) * 2008-08-29 2012-06-20 ブラザー工業株式会社 Wireless setting system and printing apparatus
JP2011011462A (en) 2009-07-02 2011-01-20 Seiko Epson Corp Service providing apparatus for digital processing service, wireless communication system, and wireless communication method
JP5515879B2 (en) * 2010-03-09 2014-06-11 株式会社リコー Communication system and communication control method
JP5843143B2 (en) * 2011-09-26 2016-01-13 ブラザー工業株式会社 Terminal device and program
JP6344893B2 (en) * 2013-07-19 2018-06-20 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP6746426B2 (en) * 2016-08-05 2020-08-26 キヤノン株式会社 Information processing apparatus, control method of information processing apparatus, and program
JP6605075B2 (en) * 2018-05-23 2019-11-13 キヤノン株式会社 Information processing apparatus, control method, and program
JP2020074514A (en) * 2019-10-16 2020-05-14 キヤノン株式会社 Information processing apparatus, control method, and setting program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132353A (en) * 1998-10-27 2000-05-12 Nec Eng Ltd Printing system by infrared communication
JP2002236561A (en) * 2001-02-07 2002-08-23 Nec Corp Setting device for radio lan printer equipment
JP2002251366A (en) * 2000-12-22 2002-09-06 Canon Inc Network system, information processor, information processing method and control program
JP2002269022A (en) * 2001-03-12 2002-09-20 Minolta Co Ltd Software setting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132353A (en) * 1998-10-27 2000-05-12 Nec Eng Ltd Printing system by infrared communication
JP2002251366A (en) * 2000-12-22 2002-09-06 Canon Inc Network system, information processor, information processing method and control program
JP2002236561A (en) * 2001-02-07 2002-08-23 Nec Corp Setting device for radio lan printer equipment
JP2002269022A (en) * 2001-03-12 2002-09-20 Minolta Co Ltd Software setting system

Also Published As

Publication number Publication date
JP2005032232A (en) 2005-02-03

Similar Documents

Publication Publication Date Title
JP6345317B2 (en) Information processing apparatus, control method for information processing apparatus, and program
EP1489502A2 (en) Device and method for enabling the use of a device through a wireless interface.
JP4673018B2 (en) Information processing apparatus, printer setting method, and program
JP5074677B2 (en) Information processing apparatus, method, peripheral device, control program
US7580398B2 (en) Information processing device, printing device, printing system, system setting method, storage medium storing computer-readable program, and program
JP4378323B2 (en) Information processing apparatus, printing apparatus, printing system, setting method, storage medium storing computer-readable program, and program
JP4794910B2 (en) System having an electronic device having a plurality of interfaces and a host device, information processing device, electronic device, setup method for the system, control method for the electronic device, setup program, and control program
EP1995924A1 (en) Communication apparatus, communication system, and method for setting communication parameters of the communication apparatus
US20100017847A1 (en) Wireless Connection Setting Program
JP4498067B2 (en) Information processing apparatus and information processing method
JP4612809B2 (en) Information processing apparatus, control method therefor, and program
JP4630579B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP4579623B2 (en) Information processing apparatus and received packet filtering method
JP2009020591A (en) Printer adapter device and control method
JP4630671B2 (en) Information processing apparatus, communication setting method thereof, and control program
JP2007067700A (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060419

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070608

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070608

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100525

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100726

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: 20101005

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101016

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131022

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4612809

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees