[go: up one dir, main page]

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

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

Info

Publication number
JP2020071693A
JP2020071693A JP2018205621A JP2018205621A JP2020071693A JP 2020071693 A JP2020071693 A JP 2020071693A JP 2018205621 A JP2018205621 A JP 2018205621A JP 2018205621 A JP2018205621 A JP 2018205621A JP 2020071693 A JP2020071693 A JP 2020071693A
Authority
JP
Japan
Prior art keywords
information
printer
driver
customization
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018205621A
Other languages
Japanese (ja)
Inventor
雅司 中川
Masashi Nakagawa
雅司 中川
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 JP2018205621A priority Critical patent/JP2020071693A/en
Publication of JP2020071693A publication Critical patent/JP2020071693A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】印刷に使用するプリンタの探索範囲にあるプリンタのうち、カスタマイズ済のプリンタドライバが正しく動作するプリンタのみをインストール対象プリンタとできる情報処理装置及びその制御方法、並びにプログラムを提供する。【解決手段】カスタマイズ済プリンタドライバ302aをクライアントコンピュータ1にインストールする際、ドライバセット114のカスタマイズ設定ファイル310にインストーラ設定情報312があり、且つインストーラ設定情報312にプリンタの探索範囲の情報がある場合、探索範囲のプリンタのうち、カスタマイズ設定ファイル310の特定のカスタマイズ情報313aとこれに対応するプリンタ情報とが一致するプリンタの全てのIPアドレスで出力ポートを作成する。【選択図】図9PROBLEM TO BE SOLVED: To provide an information processing device, a control method thereof, and a program capable of setting only a printer in which a customized printer driver operates correctly among printers in the search range of a printer used for printing as an installation target printer. When a customized printer driver 302a is installed on a client computer 1, if the customization setting file 310 of the driver set 114 contains the installer setting information 312 and the installer setting information 312 contains the printer search range information. Among the printers in the search range, output ports are created with all the IP addresses of the printers in which the specific customization information 313a of the customization setting file 310 and the corresponding printer information match. [Selection diagram] Fig. 9

Description

本発明は、情報処理装置、及びその制御方法並びにプログラムに関し、特に、カスタマイズされたプリンタドライバのインストール処理を行う情報処理装置、及びその制御方法並びにプログラムに関する。   The present invention relates to an information processing apparatus, a control method thereof, and a program, and more particularly, to an information processing apparatus that performs a customized printer driver installation process, a control method thereof, and a program.

従来から、コンピュータ上で作成した文書や図といったファイルをアプリケーションから印刷する際には、プリンタドライバを使って描画データをページ記述言語に変換しプリンタに送信するのが一般的である。またそのとき、用紙の種類や両面、カラー、給紙方法といった印刷設定は、アプリケーションが持つ印刷設定用のユーザインターフェースか、プリンタドライバが提供する印刷設定用のユーザインターフェース(以降、UIとも呼ぶ)を使って行われる。   Conventionally, when a file such as a document or a figure created on a computer is printed from an application, it is general to use a printer driver to convert drawing data into a page description language and send it to a printer. At that time, the print settings such as the type of paper, double-sided, color, and paper feed method are performed by the user interface for print settings included in the application or the user interface for print settings provided by the printer driver (hereinafter, also referred to as UI). Done using.

また、印刷に関する多様な要望に対応するため、各種の印刷設定の初期値を変更した個別対応のプリンタドライバのリリースが望まれている。上記要望に対してスピーディーに対応するために、インストール前のプリンタドライバの設定値を変更可能なカスタマイズツールが存在する。カスタマイズツールでは、例えば、プリンタドライバの設定値の初期値を工場出荷値とは別の設定値に変更できる。また、カスタマイズツールでは、印刷に使用するプリンタの出力ポートを事前に指定することによって、インストール時にユーザが行う、出力ポートの新規作成や設定を省略することができる。   Further, in order to meet various demands regarding printing, it is desired to release a printer driver for individual use in which initial values of various print settings are changed. In order to quickly respond to the above demand, there is a customization tool that can change the setting value of the printer driver before installation. With the customization tool, for example, the initial value of the setting value of the printer driver can be changed to a setting value different from the factory shipment value. Further, in the customization tool, the output port of the printer to be used for printing can be designated in advance, thereby omitting the new creation and setting of the output port performed by the user at the time of installation.

また、ネットワークに接続するプリンタを探索するための探索範囲を指定し、その探索範囲に存在するプリンタを管理するユーザPCにプリンタドライバを自動的にインストールするサーバPCが知られている(例えば、特許文献1参照)。   There is also known a server PC that specifies a search range for searching for a printer connected to a network and automatically installs a printer driver in a user PC that manages printers existing in the search range (for example, patents). Reference 1).

よって、カスタマイズ済みのプリンタドライバについても、プリンタの探索範囲を指定しておけばユーザPCに自動的にインストールできるような仕組みがあると、ユーザや、ネットワーク管理者などの利便性をより高めることができると考えられる。   Therefore, even if a customized printer driver can be automatically installed in the user PC if the printer search range is specified, the convenience for the user and the network administrator can be further improved. It is thought to be possible.

特開2004−171513号公報JP 2004-171513 A

しかしながら、特許文献1の方法と従来のプリンタドライバのカスタマイズ方法をそのまま用いて、カスタマイズ済みのプリンタドライバをユーザPCに自動的にインストールさせるのは、ユーザにとって手間がかかるといった問題がある。例えば、ユーザは、ユーザPC上でカスタマイズツールを使用してプリンタドライバをカスタマイズし、カスタマイズ済のプリンタドライバをサーバPCにアップロードする。その上で、サーバPC側の設定としてユーザはプリンタの探索範囲を指定する必要あり手間がかかる。また、プリンタドライバを提供するサーバPCを稼働させる必要があり管理コストがかかるといった問題もある。さらに探索範囲内にあるプリンタであっても、カスタマイズの内容によってはカスタマイズ済みのプリンタドライバが正しく動作しない場合があるという問題もある。   However, it is troublesome for the user to automatically install the customized printer driver in the user PC by using the method of Patent Document 1 and the conventional method of customizing the printer driver as they are. For example, the user customizes the printer driver using the customization tool on the user PC and uploads the customized printer driver to the server PC. In addition, the user needs to specify the printer search range as a setting on the server PC side, which is troublesome. In addition, there is also a problem that it is necessary to operate a server PC that provides a printer driver, and management costs are high. Further, even for printers within the search range, the customized printer driver may not operate properly depending on the contents of customization.

本発明は上記問題点の少なくとも1つを鑑みなされたものである。すなわち、本発明は、プリンタドライバのカスタマイズ及び印刷に使用するプリンタの探索範囲の指定を行う際のユーザの利便性を高めることができる情報処理装置、及びその制御方法並びにプログラムを提供することを目的の1つとする。また、本発明の別の目的は、その探索範囲内にあるプリンタのうち、カスタマイズ済のプリンタドライバが正しく動作するプリンタのみをインストール対象プリンタとできる情報処理装置、及びその制御方法並びにプログラムを提供することにある。   The present invention has been made in view of at least one of the above problems. That is, it is an object of the present invention to provide an information processing apparatus, a control method thereof, and a program, which can improve the convenience of a user when customizing a printer driver and designating a search range of a printer used for printing. And one of them. Another object of the present invention is to provide an information processing apparatus capable of installing only a printer in which a customized printer driver operates correctly among printers within the search range, a control method thereof, and a program. Especially.

本発明の請求項1に係る情報処理装置は、プリンタドライバを含むドライバセットにカスタマイズ設定ファイルを追加することによりカスタマイズされた前記プリンタドライバのインストール処理を行う情報処理装置であって、前記インストール処理の際、前記カスタマイズ設定ファイルに、インストーラ設定情報があるかどうかを判断する第1の判断手段と、前記第1の判断手段により前記インストーラ設定情報があると判断された場合、前記インストーラ設定情報の接続ポート情報が探索開始IPアドレス及び探索終了IPアドレスからなる探索範囲の情報であるか否かを判断する第2の判断手段と、前記第2の判断手段により前記接続ポート情報が前記探索範囲の情報であると判断された場合、前記探索開始IPアドレスと前記探索終了IPアドレスを使用して、前記情報処理装置に接続されているプリンタを順に探索する探索手段と、前記カスタマイズ設定ファイルのプリンタ関連情報と、前記探索手段により順に探索されたプリンタの前記プリンタ関連情報に対応するプリンタ情報とが一致するかを判断する第3の判断手段と、前記順に探索されたプリンタのうち、前記プリンタ関連情報と前記プリンタ情報とが一致したプリンタの全てのIPアドレスで出力ポートを作成しインストール処理を行う第1のインストール手段とを備えることを特徴とする。   An information processing apparatus according to claim 1 of the present invention is an information processing apparatus that performs an installation process of the printer driver customized by adding a customization setting file to a driver set including a printer driver. At this time, a first judgment means for judging whether or not there is installer setting information in the customization setting file, and a connection of the installer setting information when the first judgment means judges that the installer setting information exists Second determining means for determining whether or not the port information is information on a search range including a search start IP address and a search end IP address; and the connection port information by the second determining means is the search range information. If it is determined that the search start IP address and the search end A search unit that sequentially searches for a printer connected to the information processing apparatus using an IP address, printer-related information in the customization setting file, and printer-related information of the printer sequentially searched by the search unit. A third determination means for determining whether the corresponding printer information matches, and among the printers searched in the order, output ports are set at all IP addresses of the printers for which the printer-related information and the printer information match. It is characterized by comprising a first installation means for creating and performing an installation process.

本発明によれば、プリンタドライバのカスタマイズ及び印刷に使用するプリンタの探索範囲の指定を行う際のユーザの利便性を高めることができる。また、その探索範囲内にあるプリンタのうち、カスタマイズ済のプリンタドライバが正しく動作するプリンタのみをインストール対象プリンタとできる。   According to the present invention, it is possible to enhance user convenience when customizing a printer driver and designating a search range of a printer used for printing. Further, among the printers within the search range, only the printer in which the customized printer driver operates correctly can be the installation target printer.

本発明に係る情報処理装置としてのクライアントコンピュータを含むシステムの概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a system including a client computer as an information processing device according to the present invention. 図1Aにおけるクライアントコンピュータのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the client computer in FIG. 1A. クライアントコンピュータにおける印刷処理システムのブロック図である。3 is a block diagram of a print processing system in a client computer. FIG. 図1Bにおけるドライバセットのモジュールおよびファイルの構成を示す図である。It is a figure which shows the module of a driver set in FIG. 1B, and the structure of a file. 図1Bにおけるカスタマイズツールのモジュールおよびファイルの構成を示す図である。It is a figure which shows the module of a customization tool in FIG. 1B, and the structure of a file. カスタマイズツールでカスタマイズ済のドライバセットのモジュールおよびファイルの構成を示す図である。It is a figure which shows the module of a driver set and the structure of a file which were customized by the customization tool. 選択状態のモデルの印刷設定UIの[基本]タブの画面が表示されている状態を示す図である。FIG. 6 is a diagram illustrating a state where a screen of a [basic] tab of the print setting UI of the selected model is displayed. 図4Aの印刷設定UIの[デバイスの設定]タブの画面が表示されている状態を示す図である。FIG. 4B is a diagram showing a state in which a screen of a [device setting] tab of the print setting UI in FIG. 4A is displayed. カスタマイズツールでのカスタマイズ処理の手順を示すフローチャートである。It is a flow chart which shows the procedure of the customization processing by a customization tool. 図5AのステップS503の詳細カスタマイズ設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the detailed customization setting process of step S503 of FIG. 5A. 使用許諾書ダイアログの模式図である。It is a schematic diagram of a license agreement dialog. カスタマイズ対象のモデル選択ダイアログの模式図である。It is a schematic diagram of a model selection dialog for customization. カスタマイズ元となるドライバセットのフォルダー指定ダイアログの模式図である。It is a schematic diagram of a folder specification dialog of a driver set that is a customization source. カスタマイズ元となるドライバセットの確認処理等の進行状況を示すプログレスダイアログの模式図である。It is a schematic diagram of a progress dialog showing the progress of the confirmation process of the driver set as the customization source. カスタマイズ対象のモデル選択ダイアログの模式図である。It is a schematic diagram of a model selection dialog for customization. 詳細カスタマイズ設定ダイアログの模式図である。It is a schematic diagram of a detailed customization setting dialog. カスタマイズ済のドライバセットの作成ダイアログの模式図である。It is a schematic diagram of the creation dialog of the customized driver set. カスタマイズの出力先のフォルダー指定ダイアログの模式図である。It is a schematic diagram of a folder specification dialog of an output destination of customization. カスタマイズ済のドライバセットの作成中ダイアログの模式図である。FIG. 9 is a schematic diagram of a dialog during creation of a customized driver set. 実施例1におけるカスタマイズツールから起動した印刷設定UIの[デバイスの管理]タブの画面が表示されている状態を示す図である。FIG. 7 is a diagram illustrating a state in which a screen of a [Device Management] tab of the print setting UI activated from the customization tool according to the first exemplary embodiment is displayed. 図8Aの出力ポートの設定ボタンの押下時に表示される出力ポートの設定ダイアログを示す図である。FIG. 8B is a diagram showing an output port setting dialog displayed when the output port setting button in FIG. 8A is pressed. 実施例1におけるカスタマイズ済のドライバセットに含まれるインストーラによる、カスタマイズ済のプリンタドライバのインストール処理の手順を示すフローチャートである。7 is a flowchart illustrating a procedure of installation processing of a customized printer driver by the installer included in the customized driver set according to the first exemplary embodiment. 実施例2に係る、デバイス構成情報を用いた図9のステップS905のプリンタ情報確認処理の変形例の手順を示すフローチャートである。10 is a flowchart showing a procedure of a modified example of the printer information confirmation processing in step S905 in FIG. 9 using device configuration information according to the second embodiment. 実施例3に係る、認証情報を用いた図9のステップS905のプリンタ情報確認処理の変形例の手順を示すフローチャートである。11 is a flowchart illustrating a procedure of a modified example of the printer information confirmation processing in step S905 in FIG. 9 using authentication information according to the third embodiment.

以下、本発明を実施するための形態について図面を用いて説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

図1Aは、本発明に係る情報処理装置としてのクライアントコンピュータ1a〜1c(総称する場合、以下クライアントコンピュータ1という)を含むシステムの概略構成を示すブロック図である。   FIG. 1A is a block diagram showing a schematic configuration of a system including client computers 1a to 1c (hereinafter collectively referred to as client computer 1) as information processing apparatuses according to the present invention.

このシステムは、クライアントコンピュータ1と、ページ記述言語(以下PDLと表記)形式の印刷データを受信し印刷を行うことが可能なプリンタ2a〜2n(総称する場合、以下プリンタ2という)を備える。これらはローカル・エリア・ネットワーク(LAN)に代表されるネットワーク3を介して接続され通信可能である。なおプリンタ2は印刷機能のみを備えるシングルファンクションプリンタ(SFP)でも、印刷機能、スキャン機能、複写機能を備えるマルチファンクションプリンタ(MFP)でも構わない。   This system includes a client computer 1 and printers 2a to 2n (hereinafter collectively referred to as printer 2) capable of receiving and printing print data in a page description language (hereinafter referred to as PDL) format. These can be connected and communicated via a network 3 represented by a local area network (LAN). The printer 2 may be a single function printer (SFP) having only a printing function or a multifunction printer (MFP) having a printing function, a scanning function, and a copying function.

図1Bは、図1Aにおけるクライアントコンピュータ1のハードウェア構成を示すブロック図である。   1B is a block diagram showing a hardware configuration of the client computer 1 in FIG. 1A.

CPU101(Central Processing Unit)は主記憶装置102のROM(Read Only Memory)111、RAM112、又は補助記憶装置105に格納されたプログラムに従ってクライアントコンピュータ1の全体の制御を行う。   A CPU 101 (Central Processing Unit) controls the entire client computer 1 according to a program stored in a ROM (Read Only Memory) 111, a RAM 112 of the main storage device 102, or an auxiliary storage device 105.

RAM(Random Access Memory)112はCPU101が各種処理を行う際のワークエリアとしても使用される。   A RAM (Random Access Memory) 112 is also used as a work area when the CPU 101 performs various processes.

補助記憶装置105はアプリケーション(以下アプリと表記)113や、プリンタ用のドライバセット114や、ドライバセット114のカスタマイズツール115や、オペレーティングシステム(OS)116等を記憶する。アプリ113、ドライバセット114、及びカスタマイズツール115は、不図示のCD−ROMやUSBメモリあるいはネットワーク3を経由して補助記憶装置105に追加することが可能である。   The auxiliary storage device 105 stores an application (hereinafter referred to as an application) 113, a printer driver set 114, a customization tool 115 for the driver set 114, an operating system (OS) 116, and the like. The application 113, the driver set 114, and the customization tool 115 can be added to the auxiliary storage device 105 via an unillustrated CD-ROM, USB memory, or network 3.

キーボード108やマウス・タッチパネルなどに代表されるポインティングデバイス109などの入力機器は、入力I/F103を通じて、ユーザがクライアントコンピュータ1に対して各種指示を与えるためのデバイスである。   An input device such as a pointing device 109 such as a keyboard 108 or a mouse / touch panel is a device for a user to give various instructions to the client computer 1 through the input I / F 103.

出力I/F104は、データを外部に出力するためのインターフェースであり、モニタ110などの出力機器に対してデータを出力する。   The output I / F 104 is an interface for outputting data to the outside, and outputs the data to an output device such as the monitor 110.

通信I/F106は、ネットワーク3を介してプリンタ2と接続し、PDL形式の印刷データの送信やプリンタ2のプリンタ情報の受信を行う。   The communication I / F 106 is connected to the printer 2 via the network 3, and transmits PDL format print data and receives printer information of the printer 2.

共通データシステムバス107は、クライアントコンピュータ1を構成する上記ハードウェアモジュール間でそれぞれのデータのやりとりに使われる。   The common data system bus 107 is used for exchanging respective data between the above hardware modules constituting the client computer 1.

図2は、クライアントコンピュータ1における印刷処理システムのブロック図である。   FIG. 2 is a block diagram of a print processing system in the client computer 1.

この印刷処理システムはXPS(XML Paper Specification)ファイルフォーマットをスプールデータとして使用し、印刷を行うドライバ印刷システムであり、OS116上で動作する。なお、本実施形態では一連として、XPSファイルをスプールデータとして用いるVersion4プリンタドライバ(V4プリンタドライバとも呼ぶ)をカスタマイズする場合を例示しているがこれに限定されるものではない。例えば、V3プリンタドライバのカスタマイズ処理にも適用することが可能である。   This print processing system is a driver print system that performs printing by using an XPS (XML Paper Specification) file format as spool data, and operates on the OS 116. Note that, in the present embodiment, a series of cases in which a Version 4 printer driver (also referred to as a V4 printer driver) that uses an XPS file as spool data is customized is illustrated, but the present invention is not limited to this. For example, it can be applied to the customization processing of the V3 printer driver.

プリントマネージャ218、GDItoXPS変換モジュール207、フィルタパイプラインマネージャ212、及びポートモニタ219は、OS116に含まれるモジュールである。ここで、GDIとはプリンタ2で印刷される画像の生成を行うグラフィックスコンポーネントである。すなわち、GDItoXPS変換モジュール207は、GDIで描画されたデータをXPSデータへ変換する機能を持つ。フィルタパイプラインマネージャ212は、XPS印刷パスの特徴であるフィルタ印刷処理を行うモジュールである。XPS印刷パスとは、印刷データをXPSファイル形式のままプリンタドライバ302に渡し、そのファイルを受信したプリンタドライバ302が印刷データをPDL形式に変換してプリンタ2に出力する処理を指す。ポートモニタ219は、プリンタ2と、これにアクセスするプリントマネージャ218及びプリンタドライバ302との間で通信を制御する。すなわち、プリンタドライバ302は、ポートモニタ219を経由してプリンタ2に対する印刷指示を行う。また、プリントマネージャ218は、ポートモニタ219を介してプリンタ2と通信しAutoConfigを行う。GDItoXPS変換モジュール207、コンフィギュレーションモジュール208、及びフィルタパイプラインマネージャ212は、プリンタドライバ302に含まれているが、OS116が提供するモジュールである。コンフィギュレーションモジュール208は、プリンタドライバ302が提供する印刷設定編集モジュール208aを使用して印刷設定情報を編集することができる。印刷設定編集モジュール208aは、JavaScript(登録商標)と呼ばれるスクリプト言語で記載され、プリンタドライバ302が提供するドライバプロパティバッグ208b及びキュープロパティバッグ208cを利用して印刷設定情報を編集する。ここで、ドライバプロパティバッグ208bとは、プリンタ2の機種依存情報として利用するデータ群が保持されたメモリ領域を指し、キュープロパティバッグ208cとは、プリントキューに紐づいたデータ群が保持されたメモリ領域を指す。   The print manager 218, the GDI to XPS conversion module 207, the filter pipeline manager 212, and the port monitor 219 are modules included in the OS 116. Here, the GDI is a graphics component that generates an image printed by the printer 2. That is, the GDI to XPS conversion module 207 has a function of converting data drawn in GDI into XPS data. The filter pipeline manager 212 is a module that performs a filter print process that is a feature of the XPS print path. The XPS print pass refers to a process in which print data is passed to the printer driver 302 in the XPS file format, the printer driver 302 that receives the file converts the print data into the PDL format, and outputs the print data to the printer 2. The port monitor 219 controls communication between the printer 2 and the print manager 218 and printer driver 302 that access the printer 2. That is, the printer driver 302 issues a print instruction to the printer 2 via the port monitor 219. Further, the print manager 218 communicates with the printer 2 via the port monitor 219 to perform AutoConfig. The GDItoXPS conversion module 207, the configuration module 208, and the filter pipeline manager 212 are modules included in the printer driver 302 but provided by the OS 116. The configuration module 208 can edit print setting information using the print setting editing module 208a provided by the printer driver 302. The print setting editing module 208a is written in a script language called JavaScript (registered trademark), and edits print setting information using a driver property bag 208b and a queue property bag 208c provided by the printer driver 302. Here, the driver property bag 208b refers to a memory area in which a data group used as model-dependent information of the printer 2 is held, and the queue property bag 208c is a memory in which a data group associated with a print queue is held. Refers to the area.

ドライバプロパティバッグ208bは、プリンタ2の機種依存情報として利用するデータ群であり、プリンタドライバ302をインストールした後にOS116内の特定の領域に読み取り専用としてこのデータ群が保持される。ドライバプロパティバッグ208bのデータ群は後述するドライバセットに含まれるファイルに基づいて設定される。   The driver property bag 208b is a data group used as model-dependent information of the printer 2, and after the printer driver 302 is installed, this data group is held in a specific area in the OS 116 as read-only. The data group of the driver property bag 208b is set based on the files included in the driver set described later.

キュープロパティバッグ208cは、Key−ValueペアのXML定義ファイルであって、OS116に登録することで利用することが可能であり、Valueに関して一定の権限上で編集が可能である。また、印刷設定定義ファイルであるGPDにもキュープロパティバッグ208cのXML定義ファイルを記載することができる。ここで本実施例では、インストーラ301(図3A)が通常のインストール処理を行った後、カスタマイズ設定ファイル310(図3C)をキュープロパティバッグ208cに登録することにより、プリンタドライバ302のカスタマイズを実現する。インストーラ301がカスタマイズ情報313をキュープロパティバッグ208cに登録する処理の詳細については、後述するので参照されたい。尚、ここでいう通常のインストール処理とは、プリンタドライバ302がカスタマイズされていない場合のインストール処理を指す。   The cue property bag 208c is an XML definition file of a Key-Value pair, can be used by registering it in the OS 116, and can be edited with a certain authority regarding Value. Also, the XML definition file of the queue property bag 208c can be described in the print setting definition file GPD. Here, in this embodiment, after the installer 301 (FIG. 3A) performs a normal installation process, the customization setting file 310 (FIG. 3C) is registered in the queue property bag 208c, thereby realizing customization of the printer driver 302. .. The details of the process in which the installer 301 registers the customization information 313 in the queue property bag 208c will be described later, so please refer to it. It should be noted that the normal installation process here means an installation process when the printer driver 302 is not customized.

プリンタドライバ302とフィルタパイプラインマネージャ212の各フィルタは、図1Bの補助記憶装置105にプリンタドライバ302として格納されている。GDI印刷アプリケーション201とXPS印刷アプリケーション202は、図1Bの補助記憶装置105にアプリ113として格納されている。以下、GDI印刷アプリケーション201をGDIアプリ201、XPS印刷アプリケーション202をXPSアプリ202と略す。ユーザはキーボード108やタッチパネル/マウスなどに代表されるポインティングデバイス109などといった入力機器を使用して、出力機器のモニタ110に映し出されたGDIアプリ201、もしくはXPSアプリ202を用いて印刷処理を実行する。印刷処理はプリンタ2の選択、印刷設定の作成、描画データの変換と3つの処理を順番に行うことで実行する。   The printer driver 302 and each filter of the filter pipeline manager 212 are stored as the printer driver 302 in the auxiliary storage device 105 of FIG. 1B. The GDI print application 201 and the XPS print application 202 are stored as the application 113 in the auxiliary storage device 105 of FIG. 1B. Hereinafter, the GDI print application 201 is abbreviated as the GDI application 201, and the XPS print application 202 is abbreviated as the XPS application 202. The user uses an input device such as a keyboard 108 or a pointing device 109 typified by a touch panel / mouse or the like, and executes print processing using the GDI application 201 or the XPS application 202 displayed on the monitor 110 of the output device. .. The printing process is performed by sequentially performing the three processes of selecting the printer 2, creating print settings, converting drawing data.

まずは、印刷に使用するプリンタを図1Aのプリンタ2a〜2nの中から選択する。以下、本実施例ではプリンタ2aを選択した場合について説明する。ユーザから見るとかかるプリンタ2aの選択は、印刷に使用するプリンタ2aに対応したプリンタドライバ302を選択することと同義である。プリンタドライバ302の選択には、不図示のプリントキューを利用する。   First, the printer used for printing is selected from the printers 2a to 2n in FIG. 1A. In this embodiment, the case where the printer 2a is selected will be described below. From the user's point of view, selecting the printer 2a is synonymous with selecting the printer driver 302 corresponding to the printer 2a used for printing. A print queue (not shown) is used to select the printer driver 302.

次に印刷設定を作成する。印刷設定はまず、アプリ113が印刷設定用のメモリ領域をRAM112に確保する。そして、アプリ113は、プリンタドライバ302のコンフィギュレーションモジュール208を呼び出して、印刷設定データを作成して確保した印刷設定用のメモリ領域に格納する。GDIアプリ201では印刷設定データとしてバイナリのDEVMODE203を用い、XPSアプリ202ではマークアップ言語のXMLで記載されたPrintTicket204を用いる。DEVMODE203は、OS116が定義する標準領域とプリンタドライバ302が独自で定義する拡張領域を持つ。PrintTicket204は、XML形式で記述された印刷設定情報で、標準領域と拡張領域は名前空間によって記載が分かれている。印刷設定データには機種固有の情報も含まれているので、コンフィギュレーションモジュール208は、機種依存ファイル(GPD)209を利用して、印刷設定データを作成する。このDEVMODE203もしくはPrintTicket204が印刷設定を保持しており、アプリ113が直接、値を書き換えることで印刷設定を変更する。機種依存ファイル(GPD)209は、GPDと呼ばれる印刷設定定義ファイルであり、デバイスの能力やデバイスのオプション構成、プリントキューに紐づくキュープロパティバッグ208cの定義を記載することができる。   Next, print settings are created. For print settings, the application 113 first reserves a memory area for print settings in the RAM 112. Then, the application 113 calls the configuration module 208 of the printer driver 302, creates print setting data, and stores the print setting data in the secured memory area for print setting. The GDI application 201 uses a binary DEVMODE 203 as print setting data, and the XPS application 202 uses a PrintTicket 204 described in markup language XML. The DEVMODE 203 has a standard area defined by the OS 116 and an extension area independently defined by the printer driver 302. The PrintTicket 204 is print setting information described in XML format, and the standard area and the extended area are described according to the namespace. Since the print setting data also includes model-specific information, the configuration module 208 uses the model-dependent file (GPD) 209 to create print setting data. The DEVMODE 203 or PrintTicket 204 holds the print settings, and the application 113 directly rewrites the values to change the print settings. The model-dependent file (GPD) 209 is a print setting definition file called GPD, and can describe the capability of the device, the optional configuration of the device, and the definition of the queue property bag 208c associated with the print queue.

これらプリンタ2aに依存した専用の設定は、プリンタエクステンション210が持つユーザインターフェースで設定する。プリンタドライバ302は、ユーザインターフェースの設定に従い、DEVMODE203もしくはPrintTicket204のプリンタ2aに依存した設定を変更する。PrintTicket204は印刷設定がXML形式で記述されているので、XPSアプリ202がすべての設定値を直接変更して書き換えることは容易だが、プリンタエクステンション210のユーザインターフェースを使って設定変更してもかまわない。このプリンタエクステンション210は、プリンタドライバ302の一種ではあるが、プリンタドライバ302とは別のソフトウェアとしてインストールが行われる。   The dedicated settings depending on the printer 2a are set by the user interface of the printer extension 210. The printer driver 302 changes the setting depending on the printer 2a of the DEVMODE 203 or the PrintTicket 204 according to the setting of the user interface. Since the print settings of the PrintTicket 204 are described in the XML format, it is easy for the XPS application 202 to directly change and rewrite all the set values, but the user interface of the printer extension 210 may be used to change the settings. The printer extension 210 is a kind of the printer driver 302, but is installed as software different from the printer driver 302.

印刷設定は文書印刷のたびに作成するが、プリンタ2aのオプション機器や、ユーザごとの環境設定など設定を保持しておきたいものは、プリンタエクステンション210がOS116のレジストリデータベース205に保存する。レジストリデータベース205が使用できないときは、プリンタエクステンション210は、アプリケーションデータ220に設定を保存する。印刷設定のデフォルト値はOS116のプリントマネージャ218が、レジストリデータベース205に保存する。レジストリデータベース205や、アプリケーションデータ220は、補助記憶装置105に保存される。   The print settings are created each time a document is printed. However, the printer extension 210 saves options such as optional equipment of the printer 2a and environment settings for each user in the registry database 205 of the OS 116. When the registry database 205 cannot be used, the printer extension 210 stores the setting in the application data 220. The default value of the print setting is stored in the registry database 205 by the print manager 218 of the OS 116. The registry database 205 and the application data 220 are stored in the auxiliary storage device 105.

印刷設定が確定したら、ユーザはアプリ113から印刷処理を実行する。GDIアプリ201から印刷する場合は、OS116のモジュールであるGDItoXPS変換モジュール207に描画データが送られ、XPSスプールファイル206が生成される。このときGDItoXPS変換モジュール207はコンフィギュレーションモジュール208を呼び出し、印刷設定をDEVMODE203からPrintTicket204に変換する。変換する際には、コンフィギュレーションモジュール208によって、印刷設定編集モジュール208aが使用される。   When the print settings are confirmed, the user executes print processing from the application 113. When printing from the GDI application 201, the drawing data is sent to the GDI to XPS conversion module 207, which is a module of the OS 116, and the XPS spool file 206 is generated. At this time, the GDI to XPS conversion module 207 calls the configuration module 208 to convert the print setting from the DEVMODE 203 to the PrintTicket 204. At the time of conversion, the print setting editing module 208a is used by the configuration module 208.

一方、XPSアプリ202から印刷する場合は、XPSファイルをXPSアプリ202自身が生成してもよいし、OS116がXPSアプリ202からの描画命令に応じてXPSファイルを生成してもよい。どちらの生成方法であっても、印刷の途中でXPSスプールファイル206を生成する。   On the other hand, when printing from the XPS application 202, the XPS application 202 itself may generate the XPS file, or the OS 116 may generate the XPS file according to a drawing command from the XPS application 202. Whichever generation method is used, the XPS spool file 206 is generated during printing.

GDIアプリ201又はXPSアプリ202から印刷の指示が行われることでXPSスプールファイル206が生成されたら、この生成されたXPSスプールファイル206に対するプリントフィルタパイプライン211における処理を行う。プリントフィルタパイプライン211は、XPSスプールファイル206をフィルタパイプラインマネージャ212の複数のフィルタを通してフィルタ印刷処理を行う。またプリントフィルタパイプライン211は、フィルタコンフィグレーションファイル216でフィルタ印刷処理におけるフィルタの数や順番を管理する。本実施例では以下のフィルタパイプラインマネージャ212にあるフィルタは3つのフィルタで構成されている。一つ目はプリンタ2aと通信する機構を持つ通信フィルタ213である。二つ目は製本印刷やスタンプ、ページ集約などのレイアウト処理を行う機構を持つレイアウトフィルタ214である。三つ目はXPSスプールファイル206をレンダリングしてPDL形式の印刷データに変換する機構を持つレンダラフィルタ215である。PDL形式の印刷データは印刷処理のスケジュール管理を行うプリントマネージャ218で管理され、キュー(待ち行列)に印刷ジョブとして次々と登録される。プリンタ2aが印刷できる状態になったら、キューに登録した順にポートモニタ219を通してPDL形式の印刷データを送信する。このように、アプリ113からの印刷データをPDL形式に変換することがプリンタドライバ302の主な役目であり、プリンタ2aを通して印刷処理が行われる。   When the XPS spool file 206 is generated by the print instruction from the GDI application 201 or the XPS application 202, the process in the print filter pipeline 211 for the generated XPS spool file 206 is performed. The print filter pipeline 211 performs a filter printing process on the XPS spool file 206 through a plurality of filters of the filter pipeline manager 212. In addition, the print filter pipeline 211 manages the number and order of filters in the filter printing process with the filter configuration file 216. In this embodiment, the filters in the following filter pipeline manager 212 are composed of three filters. The first is a communication filter 213 having a mechanism for communicating with the printer 2a. The second is a layout filter 214 having a mechanism for performing layout processing such as bookbinding printing, stamping, and page aggregation. The third is a renderer filter 215 that has a mechanism for rendering the XPS spool file 206 and converting it into PDL format print data. The print data in the PDL format is managed by the print manager 218 that manages the schedule of print processing, and is sequentially registered as a print job in a queue (queue). When the printer 2a is ready to print, the PDL format print data is transmitted through the port monitor 219 in the order of registration in the queue. Thus, the main role of the printer driver 302 is to convert the print data from the application 113 into the PDL format, and the print processing is performed through the printer 2a.

図3Aは、ドライバセット114のモジュールおよびファイルの構成を示す図である。   FIG. 3A is a diagram showing a configuration of modules and files of the driver set 114.

ドライバセット114は、インストーラ301とプリンタドライバ302で構成される。さらにプリンタドライバ302は、インストール用の設定が記載されているINFファイル303、ドライバUIモジュール306、グラフィックスモジュール304、および機種依存ファイル305により構成される。インストーラ301は、INFファイル303の記載を元に、プリンタドライバ302をOS116に設置する実行モジュールである。ユーザからのプリンタドライバ302のインストール要求をうけて、OS116はインストーラ301を補助記憶装置105からRAM112にロードしCPU101を用いて実行する。本実施例ではプリンタドライバ302はSFPやMFPなど複数のプリンタのモデルに対応しており、INFファイル303にはその複数のプリンタのモデルに応じたプリンタドライバ302のOS116への設置方法の情報が記載されている。プリンタドライバ302をOS116に設置する際、ユーザによるインストール対象のプリンタのモデル選択やプリンタ2のうち出力先となるプリンタ(ここではプリンタ2a)の指定を受け付けインストールが実行される。図1Aに示すシステムのように、システム内に複数台のプリンタ2a〜2nが夫々異なるプリンタのモデルである場合がある。そのため、プリンタ2a〜2nの夫々に対してプリンタドライバ302の対応するモデルや印刷設定の初期値および印刷ジョブをそれぞれ管理する必要がある。OS116は、プリンタドライバ302の設置の際にプリンタキューと呼ばれる出力先のプリンタ2aを表すオブジェクトを生成してOS116内に保持し、このプリンタキューに紐づけてプリンタドライバ302の構成モジュールや印刷設定の初期値を管理する。OS116にプリンタドライバ302が設置されると、アプリ113からの印刷設定要求や印刷要求をプリンタドライバ302のモジュールで処理可能になり、出力先のプリンタ2aで印刷することが可能になる。アプリ113からのプリンタ2aへの印刷設定を受けた場合、OS116は対応するドライバUIモジュール306をRAM112にロードしCPU101で実行する。その実行をうけて印刷設定UI400をモニタ110に表示する。印刷設定UI400の操作画面の一例を、図4Aと図4Bに示す。印刷設定UI400は、複数のタブで構成されており、ユーザ操作による印刷設定の生成や、出力先のプリンタ2aからのデバイス設定の受付を行う。図4Aの[基本]タブの画面410は印刷設定のための画面であり、両面印刷やカラー印刷などの印刷設定のためのさまざまUIコントロールが配置されている。このUIコントロールへのキーボード108やポインティングデバイス109経由の操作を受け、ドライバUIモジュール306はユーザが所望する印刷設定を生成する。図4Bの[デバイスの設定]タブの画面420は、排紙オプションや両面ユニットなどの出力先のプリンタ2aのデバイスオプションを管理する画面である。   The driver set 114 includes an installer 301 and a printer driver 302. Further, the printer driver 302 includes an INF file 303 in which installation settings are described, a driver UI module 306, a graphics module 304, and a model-dependent file 305. The installer 301 is an execution module that installs the printer driver 302 in the OS 116 based on the description of the INF file 303. In response to a request from the user to install the printer driver 302, the OS 116 loads the installer 301 from the auxiliary storage device 105 into the RAM 112 and executes it using the CPU 101. In the present embodiment, the printer driver 302 is compatible with a plurality of printer models such as SFP and MFP, and the INF file 303 includes information on how to install the printer driver 302 in the OS 116 according to the plurality of printer models. Has been done. When the printer driver 302 is installed in the OS 116, the user selects the model of the printer to be installed and the designation of the printer (here, the printer 2a) as the output destination of the printer 2, and the installation is executed. As in the system shown in FIG. 1A, the plurality of printers 2a to 2n may be different printer models in the system. Therefore, it is necessary to manage the corresponding model of the printer driver 302, the initial value of the print settings, and the print job for each of the printers 2a to 2n. When installing the printer driver 302, the OS 116 generates an object called a printer queue, which represents the printer 2a of the output destination, and holds it in the OS 116, and associates it with this printer queue to configure the configuration module of the printer driver 302 and print settings. Manage initial values. When the printer driver 302 is installed in the OS 116, the print setting request and the print request from the application 113 can be processed by the module of the printer driver 302 and can be printed by the output destination printer 2a. When receiving the print settings for the printer 2a from the application 113, the OS 116 loads the corresponding driver UI module 306 in the RAM 112 and executes it by the CPU 101. Upon execution of the execution, the print setting UI 400 is displayed on the monitor 110. An example of the operation screen of the print setting UI 400 is shown in FIGS. 4A and 4B. The print setting UI 400 is composed of a plurality of tabs, and generates print settings by a user operation and accepts device settings from the output destination printer 2a. The screen 410 of the [Basic] tab in FIG. 4A is a screen for print settings, and various UI controls for print settings such as double-sided printing and color printing are arranged. In response to an operation on the UI control via the keyboard 108 or the pointing device 109, the driver UI module 306 generates print settings desired by the user. The screen 420 of the [Device Settings] tab in FIG. 4B is a screen for managing the paper discharge options and the device options of the output destination printer 2a such as the duplex unit.

さまざまなユーザ要望に応えるために、プリンタメーカーは、排紙オプションや両面ユニットなどについてはプリンタに装着可能なハードウェア(デバイスオプション)として販売する。例えば印刷出力物にステープルを行うハードウェアであるフィニッシャーは、高価であるため一般的にはプリンタの標準構成とは別売のデバイスオプションとして販売される。すなわち、印刷出力物にステープルを行うためには、対応するフィニッシャーを出力先のプリンタ2aに装着する必要がある。また両面印刷機能を滅多に使わないユーザのために、低価格帯のプリンタの中には、デバイスオプションとして両面ユニットを装着したときのみ、両面印刷が可能になるというプリンタも存在する。これらの状況に対応するため、出力先のプリンタ2aでどのデバイスオプションが装着されているかを管理する必要がある。プリンタ2aと通信可能な場合、現在のデバイスオプションの設定は、デバイス情報取得ボタン3202を押下することにより、ネットワーク3経由で出力先のプリンタ2aより取得することが可能である。取得されたデバイス情報を元にドライバUIモジュール306は、現在の出力先のプリンタ2aにおけるデバイスオプションの装着情報をデバイスオプション一覧421に反映する。もしプリンタ2aと通信できない場合は、デバイスオプション一覧421の項目の1つのユーザ選択を受け付けることにより、UIコントロール423が表示され、手動で設定内容を変更することも可能である。[デバイスの設定]タブの画面420でのデバイスオプションの設定をうけて、ドライバUIモジュール306は、[基本]タブの画面410で出力先のプリンタ2aの印刷設定としては使えない印刷設定のUIコントロールを選択できない状態で表示する。印刷設定UI400の各タブの画面上でのユーザ操作により各種印刷設定が生成されたのち、最終的に“OK”のボタン401の押下をうけた場合、ドライバUIモジュール306はOS116に印刷設定とデバイス設定を出力し、印刷設定要求を終了する。   In order to meet various user demands, printer manufacturers sell paper ejection options and duplex units as hardware (device options) that can be installed in the printer. For example, a finisher, which is hardware for stapling a printed output, is expensive and is generally sold as a device option sold separately from the standard configuration of a printer. That is, in order to staple the printed output, it is necessary to attach the corresponding finisher to the printer 2a as the output destination. For users who rarely use the double-sided printing function, some low-priced printers can perform double-sided printing only when a double-sided unit is attached as a device option. In order to deal with these situations, it is necessary to manage which device option is attached to the output destination printer 2a. When communication with the printer 2a is possible, the current device option setting can be acquired from the output destination printer 2a via the network 3 by pressing the device information acquisition button 3202. Based on the acquired device information, the driver UI module 306 reflects the mounting information of the device option in the printer 2a, which is the current output destination, in the device option list 421. If the communication with the printer 2a is not possible, the UI control 423 is displayed by accepting the user selection of one of the items in the device option list 421, and the setting contents can be changed manually. Upon receiving the device option settings on the screen 420 of the [Device Settings] tab, the driver UI module 306 controls the UI control of the print settings that cannot be used as the print settings of the output destination printer 2a on the screen 410 of the [Basic] tab. Is displayed in a state where cannot be selected. When various print settings are generated by a user operation on the screen of each tab of the print setting UI 400 and finally the “OK” button 401 is pressed, the driver UI module 306 causes the OS 116 to set the print setting and the device. Outputs the settings and ends the print setting request.

次にアプリ113からの印刷要求を受けた場合の動作を説明する。OS116は対応するドライバUIモジュール306をRAM112にロードしCPU101で実行する。その実行をうけてグラフィックスモジュール304で印刷要求に対するPDL形式の印刷データを生成する。印刷設定要求で出力された印刷設定は、アプリ113からの印刷要求の際に、グラフィックスモジュール304に渡される。グラフィックスモジュール304がその印刷設定をうけてさらに生成したPDL形式の印刷データを変換することにより、出力先のプリンタ2aにおいて両面印刷やカラー印刷などが可能になる。   Next, the operation when a print request from the application 113 is received will be described. The OS 116 loads the corresponding driver UI module 306 on the RAM 112 and executes it on the CPU 101. In response to the execution, the graphics module 304 generates PDL format print data for the print request. The print setting output by the print setting request is passed to the graphics module 304 when the print request is issued from the application 113. The graphics module 304 converts the print data in the PDL format, which is further generated in response to the print setting, to enable double-sided printing, color printing, etc. in the printer 2a as the output destination.

本実施例のプリンタドライバ302は異なるモデルのプリンタ2a〜2nの夫々に対応する。プリンタ2a〜2nの夫々でサポートする印刷機能やデバイスオプションは対応するモデルに依存して異なる。各モデルでの印刷機能やデバイスオプションのサポート情報は機種依存ファイル305にまとめられている。ドライバUIモジュール306の実行時に機種依存ファイル305を参照することにより、印刷設定UI400に表示するUIコントロールを変更し、そのモデルがサポートしている印刷機能やデバイスオプションのみを表示する。   The printer driver 302 of this embodiment corresponds to each of the printers 2a to 2n of different models. The printing functions and device options supported by each of the printers 2a to 2n differ depending on the corresponding model. The support information for the print function and device option for each model is summarized in the model-dependent file 305. By referring to the model-dependent file 305 when the driver UI module 306 is executed, the UI control displayed in the print setting UI 400 is changed, and only the print functions and device options supported by the model are displayed.

カスタマイズツール115は、ドライバセットをカスタマイズするツールである。本実施形態では、説明のため、ドライバセット114のカスタマイズを行う場合について説明する。図3Bに示す構成を、カスタマイズツール115のモジュールおよびファイルは有する。カスタマイズツール115は、ツール307と、ツール用データ308と、OS処理のエミュレータである疑似APIモジュール309で構成される。カスタマイズツール115でカスタマイズ済のドライバセット114aを用いてカスタマイズされたプリンタドライバ302をインストールすると工場出荷時に決められた印刷設定UI400の印刷設定の初期値と異なる印刷設定を初期値とすることができる。以下、カスタマイズされたプリンタドライバ302をカスタマイズ済プリンタドライバ302aという。このカスタマイズ済プリンタドライバ302aをOS116に設置後すぐに印刷設定UI400を開くことにより、カスタマイズされた状態を確認することができる。例えば、工場出荷時の印刷設定は図4Aに示すように両面設定はオフ、カラーモードはカラー、ステープルはしないという印刷設定である。これに対し、カスタマイズ済プリンタドライバ302aをインストールした場合、両面設定はオン、カラーモードはモノクロ、ステープルは左上など上記工場出荷時とは異なる印刷設定が初期値として適用される。   The customization tool 115 is a tool for customizing the driver set. In the present embodiment, for the sake of explanation, a case where the driver set 114 is customized will be described. The modules and files of the customization tool 115 have the configuration shown in FIG. 3B. The customization tool 115 includes a tool 307, tool data 308, and a pseudo API module 309 that is an OS processing emulator. When the printer driver 302 customized by using the customized driver set 114a with the customization tool 115 is installed, a print setting different from the print setting initial value of the print setting UI 400 determined at the time of factory shipment can be set as the initial value. Hereinafter, the customized printer driver 302 will be referred to as a customized printer driver 302a. By opening the print setting UI 400 immediately after installing the customized printer driver 302a on the OS 116, the customized state can be confirmed. For example, as shown in FIG. 4A, the print setting at the time of factory shipment is a print setting in which the double-sided setting is off, the color mode is color, and the staple is not performed. On the other hand, when the customized printer driver 302a is installed, the print settings different from those at the time of factory shipment such as double-sided setting ON, color mode monochrome, and staple upper left are applied as initial values.

図3Aのドライバセット114を元に、カスタマイズツール115でカスタマイズ済のドライバセット114aのモジュールおよびファイルの構成図を図3Cに示す。図3Aと図3Cの違いは、カスタマイズ設定ファイル310のみである。カスタマイズ設定ファイル310は、ツール設定情報311、カスタマイズ情報313、及びインストーラ設定情報312で構成される。ツール設定情報311は、カスタマイズの元となったドライバセット114のバージョンや、カスタマイズツール115のバージョンなど、直接カスタマイズには影響しない情報より構成される。カスタマイズ情報313は、ユーザが設定した印刷設定の初期値の情報などより構成される。インストーラ設定情報312は、出力ポートのIPアドレスやプリンタのモデルの情報など、カスタマイズ済プリンタドライバ302aをインストールする際に必要な情報により構成される。便宜上これらを別々のファイルに分けているが、それぞれの情報が一つのファイルに格納されていてもよい。カスタマイズ後にツール307は、ドライバセット114にカスタマイズ設定ファイル310を追加する。カスタマイズ済のドライバセット114aを使ってカスタマイズ済プリンタドライバ302aをOS116に設置すると、インストーラ301は、カスタマイズ設定ファイル310に従ってプリンタキューにカスタマイズ設定を適用する。この適用により工場出荷時とは異なる印刷設定をインストール後のプリンタドライバ302の初期値として適用する。   FIG. 3C shows a configuration diagram of modules and files of the driver set 114a that has been customized by the customization tool 115 based on the driver set 114 of FIG. 3A. The difference between FIG. 3A and FIG. 3C is only the customization setting file 310. The customization setting file 310 includes tool setting information 311, customization information 313, and installer setting information 312. The tool setting information 311 includes information such as the version of the driver set 114 that is the source of customization and the version of the customization tool 115 that does not directly affect customization. The customization information 313 includes information about initial values of print settings set by the user. The installer setting information 312 is composed of information necessary for installing the customized printer driver 302a, such as the IP address of the output port and the printer model information. Although these are divided into separate files for convenience, each information may be stored in one file. After customization, the tool 307 adds the customization setting file 310 to the driver set 114. When the customized printer driver 302a is installed in the OS 116 using the customized driver set 114a, the installer 301 applies the customized setting to the printer queue according to the customized setting file 310. By this application, print settings different from those at the time of factory shipment are applied as initial values of the printer driver 302 after installation.

図5Aのフローチャートを用いて、カスタマイズツール115でのカスタマイズ処理を説明する。この処理は、ユーザの指示をうけてOS116がカスタマイズツール115のツール307を補助記憶装置105からRAM112にロードしCPU101に実行を依頼することにより開始される。なお、本フローチャートの処理の主体は特に断らない限りツール307である。本実施例では、ツール307が、複数のダイアログを表示し設定に必要な順番にそって表示設定するウィザード形式のソフトウェアである場合を例に説明する。なお、ツール307はウィザード形式のソフトウェアである場合に限定する必要はなく、単一ダイアログのソフトウェアなどでもよい。   Customization processing by the customization tool 115 will be described with reference to the flowchart of FIG. 5A. This process is started when the OS 116 loads the tool 307 of the customization tool 115 from the auxiliary storage device 105 into the RAM 112 and requests the CPU 101 to execute the process in response to a user instruction. The main body of the processing of this flowchart is the tool 307 unless otherwise specified. In the present embodiment, the case where the tool 307 is wizard-type software for displaying a plurality of dialogs and performing display setting in the order required for setting will be described as an example. The tool 307 does not need to be limited to the wizard-type software and may be a single dialog software or the like.

まずツール307は、図6Aに示す使用許諾書ダイアログ600をモニタ110に表示する(ステップS501)。ポインティングデバイス109を用いたユーザからの“はい”ボタン601の押下をうけた場合、使用許諾書が承諾されたと判断し、ステップS502に進む。   First, the tool 307 displays the license agreement dialog 600 shown in FIG. 6A on the monitor 110 (step S501). When the user presses the “Yes” button 601 using the pointing device 109, it is determined that the license agreement is accepted, and the process proceeds to step S502.

ステップS502では、図6Bに示すカスタマイズ対象のモデル選択ダイアログ610を表示する。モデル選択ダイアログ610はカスタマイズの元となるドライバセット114のフォルダパス指定と、そのドライバセット114が対応するモデルのうちカスタマイズ対象とするモデルを選択するダイアログである。参照ボタン611の押下をうけると、図6Cに示すOS標準のフォルダー指定ダイアログ620をモニタ110に表示するよう、ツール307はOS116に依頼する。その後、フォルダー指定ダイアログ620上でポインティングデバイス109によるユーザからの指定を受け付けると、OS116は、カスタマイズ元となるドライバセット114のフォルダパスの情報をツール307に返却する。ツール307は、フォルダパスの位置に存在するドライバセット114がカスタマイズツール115で対応しているものかの確認処理を行なう。ドライバセット114の構成やINFファイル303の記載およびドライバUIモジュール306のExport関数の有無をもとにこの確認処理を行う。同確認処理や、またドライバセット114の各モジュールが圧縮されて格納されている場合の解凍処理、およびバックアップのファイルコピー処理に時間がかかる場合がある。そのためこれらの処理中は、図6Dに示す処理の進行状況を示すプログレスダイアログ630を、モデル選択ダイアログ610の手前に表示する。ツール307がドライバセット114をカスタマイズ可能と判断した場合には、図6Eに示すカスタマイズ対象のモデル選択ダイアログ610をモニタ110に表示する。テキストボックス612に、指定されたフォルダパスが表示され、またリストボックス613に、指定されたフォルダパスのドライバセット114で対応するモデルの名称が列挙されている。リストボックス613の各モデル名の前には、チェックボックス614が存在する。カスタマイズ対象にしたいモデルのチェックボックス614を一つ以上チェックすると、“次へ“のボタン615が操作可能になる。その押下をうけてツール307は、ステップS503に進む。また、チェックボックス614にチェックを付けたモデルがカスタマイズ対象に指定されたモデル群となる。   In step S502, the model selection dialog 610 to be customized shown in FIG. 6B is displayed. The model selection dialog 610 is a dialog for designating a folder path of a driver set 114 that is a source of customization and selecting a model to be customized from models corresponding to the driver set 114. When the reference button 611 is pressed, the tool 307 requests the OS 116 to display the OS standard folder designation dialog 620 shown in FIG. 6C on the monitor 110. After that, when the user designates the pointing device 109 on the folder designation dialog 620, the OS 116 returns the folder path information of the driver set 114, which is the customization source, to the tool 307. The tool 307 confirms whether the driver set 114 existing at the folder path position corresponds to the customization tool 115. This confirmation processing is performed based on the configuration of the driver set 114, the description of the INF file 303, and the presence or absence of the Export function of the driver UI module 306. The confirmation process, the decompression process when each module of the driver set 114 is compressed and stored, and the backup file copy process may take time. Therefore, during these processes, a progress dialog 630 showing the progress of the process shown in FIG. 6D is displayed in front of the model selection dialog 610. When the tool 307 determines that the driver set 114 can be customized, the model selection dialog 610 to be customized shown in FIG. 6E is displayed on the monitor 110. The specified folder path is displayed in the text box 612, and the name of the model corresponding to the driver set 114 of the specified folder path is listed in the list box 613. A check box 614 exists before each model name in the list box 613. If one or more check boxes 614 of the model to be customized are checked, the "Next" button 615 can be operated. Upon receiving the depression, the tool 307 proceeds to step S503. In addition, the model with the check box 614 checked is the model group designated as the customization target.

ステップS503では、ツール307は、詳細カスタマイズ設定処理を実行する。この処理の詳細を図5Bのフローチャートを用いて説明する。   In step S503, the tool 307 executes detailed customization setting processing. Details of this processing will be described with reference to the flowchart of FIG. 5B.

まずツール307は図7Aに示す詳細カスタマイズ設定ダイアログ700を表示し(ステップS511)、詳細カスタマイズ設定ダイアログ700へのユーザからの操作を受け付ける(ステップS512)。詳細カスタマイズ設定ダイアログ700はカスタマイズ対象に指定されたモデル群を表示するリストビュー701を持っている。本実施例では図7Aに示すようにプリンタ名として各モデルの名称が示される。リストビュー701では、ひとつのモデルが選択状態になっており、ポインティングデバイス109により、選択状態のモデルを変更可能である。   First, the tool 307 displays the detail customization setting dialog 700 shown in FIG. 7A (step S511), and accepts an operation on the detail customization setting dialog 700 by the user (step S512). The detailed customization setting dialog 700 has a list view 701 that displays a model group designated as a customization target. In this embodiment, the name of each model is shown as the printer name as shown in FIG. 7A. In the list view 701, one model is in the selected state, and the pointing device 109 can change the selected model.

またリストビュー701には、印刷設定、お気に入り、スタンプ、デバイス設定/管理者設定、及びポートの設定の設定項目に関するカスタマイズ状況が表示される。これらの設定項目のうちカスタマイズが行われた設定項目に対しては、“変更あり”という文字が表示される。リストビュー701で一つのモデルの選択状態で、設定ボタン702の押下があると(ステップS513でYES)、詳細カスタマイズのために、選択状態のモデルの印刷設定UI400の[基本]タブの画面410(図4A)を表示する(ステップS514)。印刷設定UI400の表示処理は、ドライバUIモジュール306を、OS処理のエミュレータである疑似APIモジュール309を用いて呼び出すことにより実現する。ドライバUIモジュール306の呼び出し時には、以前にカスタマイズしたカスタマイズ情報313を受け渡す。このことにより、印刷設定UI400の初期表示に、以前カスタマイズしたカスタマイズ情報313を適用して表示することもできる。印刷設定UI400への操作への応答および印刷設定の生成処理は、ドライバUIモジュール306が行う。印刷設定UI400はドライバセット114に含まれるドライバUIモジュール306を用いるので、通常のアプリ113からの印刷設定の操作と同じ操作感で印刷設定を行え、その結果である印刷設定をカスタマイズ設定として入手することができる。但し、かかる構成に本発明は限定されるわけではなく、逆に、疑似APIモジュール309からの呼び出しと判断することで、通常のアプリ113からの印刷設定とは別の挙動をすることも可能である。本実施例では、印刷設定UI400の[デバイスの設定]タブの画面420はアプリ113から呼び出された場合であれば図4Bに示す画面となる。一方、疑似APIモジュール309から印刷設定UI400が呼び出された場合は、[デバイスの設定]タブの画面420は図8Aに示す画面となる。具体的には、図4AのIPアドレスの設定ボタン425の代わりに、図8Aでは出力ポートの設定ボタン801が表示される。出力ポートの設定ボタン801の押下を検知すると、図8Bに示す通り出力ポートの設定ダイアログ810を表示する。この出力ポートの設定ダイアログ810においてユーザはカスタマイズ済プリンタドライバ302aのインストール時にどのように出力ポートを設定するかを選択できる。例えば、ユーザが出力ポートの設定ダイアログ810において設定しない(インストール時に指定する)811を選択した場合は、インストール時に表示されるUIを用いてユーザにより出力ポートの設定がなされる。また、ユーザが、出力ポートの設定ダイアログ810において固定IPアドレス設定812を選択し、さらにIPアドレスを設定するエディットボックスにプリンタ2の1つである出力するプリンタのIPアドレスを設定する場合がある。この場合、インストーラ301はインストール時に出力ポートの設定ダイアログ810で設定されたIPアドレスを接続ポート情報として読み出し自動的に出力ポートを作成してインストールする。一方、ユーザが、出力ポートの設定ダイアログ810において探索アドレス設定813を選択し、さらに探索開始IPアドレスと探索終了IPアドレスを探索範囲として設定する場合がある。すなわち、出力先のプリンタの探索に用いるIPアドレスを範囲指定で受け付ける場合がある。この場合、インストーラ301はインストール時に出力ポートの設定ダイアログ810で設定された探索範囲から自動的に出力するプリンタ(以下インストール対象のプリンタという)をネットワーク3上のプリンタ2から探索する。その後、探索されたインストール対象のプリンタの全てのIPアドレスを出力ポートとしてインストール処理を行う。   Further, the list view 701 displays the customization status regarding the setting items such as print settings, favorites, stamps, device settings / administrator settings, and port settings. The character "changed" is displayed for a customized setting item among these setting items. When one of the models is selected in the list view 701 and the setting button 702 is pressed (YES in step S513), a screen 410 ([Basic] tab of the print setting UI 400 of the selected model is displayed for detailed customization. 4A) is displayed (step S514). The display process of the print setting UI 400 is realized by calling the driver UI module 306 using the pseudo API module 309 which is an emulator of the OS process. When the driver UI module 306 is called, the customization information 313 customized previously is passed. As a result, the customization information 313 previously customized can be applied and displayed on the initial display of the print setting UI 400. The driver UI module 306 performs the response to the operation on the print setting UI 400 and the process of generating the print setting. Since the print setting UI 400 uses the driver UI module 306 included in the driver set 114, the print setting can be performed with the same operation feeling as the operation of the print setting from the normal application 113, and the resulting print setting is obtained as the customized setting. be able to. However, the present invention is not limited to such a configuration, and conversely, by determining that the call is from the pseudo API module 309, it is possible to perform a behavior different from the print setting from the normal application 113. is there. In this embodiment, the screen 420 of the [Device Settings] tab of the print setting UI 400 is the screen shown in FIG. 4B when called from the application 113. On the other hand, when the print setting UI 400 is called from the pseudo API module 309, the screen 420 of the [Device setting] tab is the screen shown in FIG. 8A. Specifically, instead of the IP address setting button 425 of FIG. 4A, an output port setting button 801 is displayed in FIG. 8A. When the pressing of the output port setting button 801 is detected, the output port setting dialog 810 is displayed as shown in FIG. 8B. In the output port setting dialog 810, the user can select how to set the output port when installing the customized printer driver 302a. For example, if the user selects 811 not to be set (specified at installation) in the output port setting dialog 810, the user sets the output port using the UI displayed at the time of installation. Further, the user may select the fixed IP address setting 812 in the output port setting dialog 810 and further set the IP address of the printer to be output, which is one of the printers 2, in the edit box for setting the IP address. In this case, the installer 301 reads the IP address set in the output port setting dialog 810 at the time of installation as connection port information and automatically creates and installs the output port. On the other hand, the user may select the search address setting 813 in the output port setting dialog 810 and further set the search start IP address and the search end IP address as the search range. That is, there is a case where the IP address used for searching for the printer of the output destination is accepted by specifying the range. In this case, the installer 301 searches the printer 2 on the network 3 for a printer (hereinafter referred to as an installation target printer) that automatically outputs from the search range set in the output port setting dialog 810 during installation. After that, the installation process is performed by using all the IP addresses of the printers to be installed that are searched for as output ports.

尚、出力ポートの設定ダイアログ810を図8Bに示したが、これに限定するものではない。カスタマイズ済プリンタドライバ302aのインストール時の詳細な挙動については、後述するので参照されたい。印刷設定UI400で、“OK”のボタン401が押下されてUIが閉じられた場合(ステップS515でYES)、現在選択中のモデルに対する詳細カスタマイズ設定群を保存し(ステップS516)、ステップS511に戻る。一方、印刷設定UI400で、“OK”以外のボタンが押下されてUIが閉じられた場合(ステップS515でNO)、ステップS511に直接戻る。   Although the output port setting dialog 810 is shown in FIG. 8B, the present invention is not limited to this. The detailed behavior of the customized printer driver 302a at the time of installation will be described later, so please refer to it. In the print setting UI 400, when the “OK” button 401 is pressed to close the UI (YES in step S515), the detailed customization setting group for the currently selected model is saved (step S516), and the process returns to step S511. .. On the other hand, in the print setting UI 400, if any button other than “OK” is pressed to close the UI (NO in step S515), the process directly returns to step S511.

また、詳細カスタマイズ設定ダイアログ700において“次へ“のボタン703が押下された場合(ステップS513でNO,ステップS518でYES)、ステップS503の詳細カスタマイズ設定処理を終了する(ステップS519)。一方、詳細カスタマイズ設定ダイアログ700において“キャンセル“のボタン704が押下された場合(ステップS513でNO,ステップS518でNO)、ステップS512に戻る。   If the "next" button 703 is pressed in the detail customization setting dialog 700 (NO in step S513, YES in step S518), the detail customization setting process of step S503 is ended (step S519). On the other hand, when the "cancel" button 704 is pressed in the detailed customization setting dialog 700 (NO in step S513 and NO in step S518), the process returns to step S512.

図5Aに戻り、カスタマイズツール115でのカスタマイズ処理の最後のステップとして、ツール307は、カスタマイズ済のドライバセット114a(例えば、インストーラパッケージ)の出力処理を実行する(ステップS504)。ツール307は、図7Bに示すカスタマイズ済のドライバセット114aの作成ダイアログ710を表示する。カスタマイズ済のドライバセット114aの作成ダイアログ710は、カスタマイズ済のドライバセット114aの保存先フォルダパスを指定するための参照ボタン711を持つ。参照ボタン711の押下を受けると、図7Cに示すOS標準のフォルダー指定ダイアログ720をモニタ110に表示するよう、ツール307はOS116に依頼する。その後、ポインティングデバイス109によるユーザからの指定を受け付けると、OS116はフォルダパスの情報をツール307に返却する。OS116から戻されたフォルダパスの情報を、ツール307は、保存先のテキストボックス712に表示する。カスタマイズ済のドライバセット114aの作成ダイアログ710は、カスタムコードを指定するためにUIコントロール713をもつ。UIコントロール713で受け付けたカスタムコードは、カスタマイズ設定ファイル310のツール設定情報311として、カスタマイズ済のドライバセット114aに保存される。プリンタドライバ302のOS116への設置後は、印刷設定UI400のバージョン情報ボタン424を押下した際に表示されるダイアログでそのカスタムコードや、ベースとなったドライバのバージョン情報などを確認することができる。カスタマイズ済のドライバセット114aの作成ダイアログ710の保存ボタン715(図7B)の押下をうけて、ツール307は、図7Dに示すカスタマイズ済のドライバセット114aの作成中ダイアログ730をモニタ110に表示する。尚、カスタマイズ済プリンタドライバ302aの元になったドライバセット114を保護するため、これを丸ごとコピーし別のドライバセットとしてカスタマイズ済のドライバセット114aを作成する必要がある。この処理は比較的時間を要する。そのためカスタマイズ済のドライバセット114aの作成中ダイアログ730は、プログレスバー731で処理の進行状況を表示する。最終的には、ステップS503の詳細カスタマイズ設定処理で生成したカスタマイズ設定を、カスタマイズ設定ファイル310として、ドライバセット114のコピーに追加で保存する。これにより、図3Cのようなカスタマイズ済のドライバセット114aが完成し、本処理が終了する。一連の処理によって完成したカスタマイズ済みのドライバセット114に含まれるデータセットと、インストーラ301は、所謂ドライバインストーラパッケージとして機能する。   Returning to FIG. 5A, as the final step of the customization processing by the customization tool 115, the tool 307 executes the output processing of the customized driver set 114a (for example, installer package) (step S504). The tool 307 displays the creation dialog 710 of the customized driver set 114a shown in FIG. 7B. The creation dialog 710 of the customized driver set 114a has a reference button 711 for designating a save destination folder path of the customized driver set 114a. When the reference button 711 is pressed, the tool 307 requests the OS 116 to display the OS standard folder designation dialog 720 shown in FIG. 7C on the monitor 110. After that, when the pointing device 109 receives the designation from the user, the OS 116 returns the folder path information to the tool 307. The tool 307 displays the folder path information returned from the OS 116 in the save destination text box 712. The creation dialog 710 of the customized driver set 114a has a UI control 713 for designating a custom code. The custom code received by the UI control 713 is stored in the customized driver set 114a as the tool setting information 311 of the customization setting file 310. After the printer driver 302 is installed in the OS 116, the custom code and the version information of the driver that is the base can be confirmed in the dialog displayed when the version information button 424 of the print setting UI 400 is pressed. Upon pressing the save button 715 (FIG. 7B) of the creation dialog 710 of the customized driver set 114a, the tool 307 displays the creating dialog 730 of the customized driver set 114a shown in FIG. 7D on the monitor 110. In order to protect the driver set 114, which is the source of the customized printer driver 302a, it is necessary to copy the entire driver set 114 and create a customized driver set 114a as another driver set. This process takes a relatively long time. Therefore, the progress dialog 730 of the creating dialog 730 of the customized driver set 114a displays the progress of processing. Finally, the customization setting generated in the detailed customization setting process of step S503 is additionally stored as a customization setting file 310 in a copy of the driver set 114. As a result, the customized driver set 114a as shown in FIG. 3C is completed, and this processing ends. The data set included in the customized driver set 114 completed by a series of processes and the installer 301 function as a so-called driver installer package.

以上、図5A,5Bの処理によれば、カスタマイズツール115は、プリンタドライバ302のカスタマイズを行う際、図8Bに示す画面上でユーザより出力ポートの探索範囲を受け付ける。これにより、プリンタドライバのカスタマイズ及び印刷に使用するプリンタの探索範囲の指定を行う際のユーザの利便性を高めることができる。   As described above, according to the processes of FIGS. 5A and 5B, the customization tool 115 receives the output port search range from the user on the screen shown in FIG. 8B when customizing the printer driver 302. As a result, it is possible to enhance the convenience for the user when customizing the printer driver and designating the search range of the printer used for printing.

次に、図9のフローチャートを用いて、本実施例におけるカスタマイズ済のドライバセット114aを使用したカスタマイズ済プリンタドライバ302aのインストール処理について説明する。このフローチャートの処理の主体は特に断らない限りインストーラ301である。また、クライアントコンピュータ1のうち、カスタマイズ済プリンタドライバ302aのインストール先は、図5Aのカスタマイズ処理を実行したクライアントコンピュータであるものとする。しかしながら、これに限定されるものではない。例えば、当該カスタマイズ済みのドライバセット114aを他のコンピュータに配信し、当該他のコンピュータのプロセッサにより、プリンタドライバのインストール処理を行わせることもできる。   Next, the installation process of the customized printer driver 302a using the customized driver set 114a in this embodiment will be described using the flowchart of FIG. Unless otherwise specified, the installer 301 is the main body of the processing of this flowchart. Further, in the client computer 1, the installation destination of the customized printer driver 302a is assumed to be the client computer that has executed the customization processing of FIG. 5A. However, it is not limited to this. For example, the customized driver set 114a can be distributed to another computer, and the processor of the other computer can cause the printer driver to be installed.

本処理は、カスタマイズ済のドライバセット114aに含まれるインストーラ301の実行ファイルがポインティングデバイス109などでダブルクリックされたことをOSが検知し、OSがインストーラ301を起動することで開始される。   This processing starts when the OS detects that the executable file of the installer 301 included in the customized driver set 114a has been double-clicked by the pointing device 109 or the like, and the OS starts the installer 301.

まず、カスタマイズ設定ファイル310にインストーラ設定情報312があるかどうかを調べる(ステップS901)。インストーラ設定情報312がない場合(ステップS901でNO)、通常のインストール処理を行う(ステップS910)。通常のインストール処理として、代表的な具体例を以下に示す。1つの具体例としては、まず、ネットワーク3上の対象プリンタをプリンタ2から探索し、探索した結果をリストにしてユーザに通知する。通知したリストの中からユーザがプリンタを選択した場合、選択されたプリンタに対して、プリンタドライバ302をインストールする。もう一つの具体例としては、まず、上記探索を行わずに、予めユーザからインストール対象プリンタのIPアドレスを受信する。インストーラ301は、受信したIPアドレスを基に接続ポートを作成し、プリンタドライバ302をインストールする。本実施例では、以下、通常のインストール処理と記載した場合は、ネットワーク3上のプリンタを探索してインストールする前者の具体例に示す処理を指す。   First, it is checked whether or not there is installer setting information 312 in the customization setting file 310 (step S901). If there is no installer setting information 312 (NO in step S901), normal installation processing is performed (step S910). A typical specific example of normal installation processing is shown below. As one specific example, first, the target printer on the network 3 is searched from the printer 2, and the search result is listed and notified to the user. When the user selects a printer from the notified list, the printer driver 302 is installed in the selected printer. As another specific example, first, the IP address of the installation target printer is received from the user in advance without performing the search. The installer 301 creates a connection port based on the received IP address and installs the printer driver 302. In the present embodiment, hereinafter, when described as a normal installation process, it means the process shown in the former specific example of searching for and installing a printer on the network 3.

インストーラ設定情報312がある場合(ステップS901でYES)、インストーラ設定情報312の接続ポート情報が探索用IPアドレス情報か否かを調べる(ステップS902)。接続ポート情報が探索用IPアドレス情報ではなく、固定IPアドレス情報だった場合(ステップS902でNO)、設定されているIPアドレスを使用して出力ポートを作成しインストールを行う(ステップS909)。   If the installer setting information 312 is present (YES in step S901), it is checked whether the connection port information of the installer setting information 312 is the search IP address information (step S902). If the connection port information is not the search IP address information but the fixed IP address information (NO in step S902), an output port is created using the set IP address and installation is performed (step S909).

一方、接続ポート情報が探索用IPアドレス情報だった場合(ステップS902でYES)、ネットワーク3上のプリンタ2から探索範囲に含まれる全てのプリンタを探索する。その後、探索されたプリンタのIPアドレスを使用して出力ポートを作成しインストール処理を行う。具体的には、まず、探索開始IPアドレスから順にIPアドレスを指定してデバイスの探索処理を開始する(ステップS903)。この際、探索開始IPアドレスと探索終了IPアドレスを使用して、デバイスの探索処理を行う旨のUIを表示するようにしてもよい。   On the other hand, when the connection port information is the search IP address information (YES in step S902), the printer 2 on the network 3 is searched for all printers included in the search range. After that, an output port is created using the IP address of the found printer and installation processing is performed. Specifically, first, the IP address is sequentially specified from the search start IP address to start the device search processing (step S903). At this time, the search start IP address and the search end IP address may be used to display a UI indicating that the device search process is to be performed.

次に指定されているIPアドレスのデバイスがプリンタかどうか調べる(ステップS904)。プリンタかどうかを調べる方法としては、指定されているIPアドレスのプリンタのモデルとカスタマイズ設定ファイル310内のインストーラ設定情報312内のプリンタのモデルの情報と比較することで調べる。プリンタだった場合(ステップS904でYES)、ステップS905に進む一方、そうでなかった場合(ステップS904でNO)、ステップS907に進み、探索用IPアドレスをインクリメントする。   Next, it is checked whether the device having the designated IP address is a printer (step S904). As a method of checking whether the printer is a printer, the printer model of the designated IP address is compared with the printer model information in the installer setting information 312 in the customization setting file 310. If it is a printer (YES in step S904), the process proceeds to step S905. If not (NO in step S904), the process proceeds to step S907 to increment the search IP address.

ステップS905では、特定のカスタマイズ情報313a(プリンタ関連情報)と指定されているIPアドレスのプリンタ(以下確認対象のプリンタという)のプリンタ情報とが一致しているかどうかを確認するプリンタ情報確認処理を実行する。特定のカスタマイズ情報313aとは、カスタマイズ情報313の一部であり、例えば給排紙情報やフィニッシャー情報、さらにアカウント情報等を指す。特定のカスタマイズ情報313aに対応するプリンタ情報をインストーラ301がネットワーク3を通じて通信を行い確認対象のプリンタから取得し、取得したプリンタ情報が特定のカスタマイズ情報313aと一致しているか否かを確認する。この確認の結果、取得したプリンタ情報と特定のカスタマイズ情報313aとが一致している場合は、確認対象のプリンタがインストール対象のプリンタであると判断し、そうでない場合は、確認対象のプリンタがインストール対象外のプリンタであると判断する。   In step S905, printer information confirmation processing is executed to confirm whether or not the specific customization information 313a (printer related information) and the printer information of the printer of the specified IP address (hereinafter referred to as the confirmation target printer) match. To do. The specific customization information 313a is a part of the customization information 313, and indicates, for example, paper feed / discharge information, finisher information, and account information. The installer 301 communicates via the network 3 with the printer information corresponding to the specific customization information 313a and acquires it from the printer to be confirmed, and confirms whether the acquired printer information matches the specific customization information 313a. As a result of this confirmation, if the acquired printer information and the specific customization information 313a match, it is determined that the confirmation target printer is the installation target printer, and if not, the confirmation target printer is installed. Judge that the printer is not a target.

ステップS905のプリンタ情報確認処理の判断結果が、確認対象のプリンタがインストール対象のプリンタである場合(ステップS905aでYES)、指定されているIPアドレスで出力ポートを作成しインストールを行う(ステップS906)。その後、探索用IPアドレスをインクリメントする(ステップS907)。一方、ステップS905のプリンタ情報確認処理の判断結果が、確認対象のプリンタがインストール対象外のプリンタである場合(ステップS905aでNO)、インストールを行わず、直接ステップS907に進み、探索用IPアドレスをインクリメントする。   If the result of the printer information confirmation processing in step S905 is that the confirmation target printer is the installation target printer (YES in step S905a), an output port is created with the specified IP address and installation is performed (step S906). .. Then, the search IP address is incremented (step S907). On the other hand, if the determination result of the printer information confirmation processing in step S905 is that the confirmation target printer is not the installation target printer (NO in step S905a), the installation is not performed and the process directly proceeds to step S907 to set the search IP address. Increment.

上記ステップS904〜ステップS907の処理を探索終了IPアドレスまで行い(ステップS908)、本処理を終了する。   The processes of steps S904 to S907 are performed up to the search end IP address (step S908), and this process ends.

本実施例によれば、探索範囲の設定及びカスタマイズがされたプリンタドライバ302のインストールをクライアントコンピュータ1に行う際、プリンタ2が探索範囲にあって且つそのプリンタ情報が特定のカスタマイズ情報313aと一致するかが確認される。これにより、カスタマイズ済プリンタドライバ302aが正しく動作するプリンタのみをインストール対象プリンタとすることができる。   According to this embodiment, when the printer driver 302 having the search range set and customized is installed in the client computer 1, the printer 2 is in the search range and the printer information thereof matches the specific customization information 313a. Is confirmed. As a result, only the printer in which the customized printer driver 302a operates properly can be set as the installation target printer.

実施例2に係る、図9のステップS905のプリンタ情報確認処理の変形例について図10を使用して説明する。ここで、本実施例では、図5Bの詳細カスタマイズ設定処理の際、デバイス構成情報(プリンタ関連情報)をカスタマイズ設定ファイル310に定義する。具体的には、図8Aの[デバイスの設定]タブの画面420のデバイスオプション一覧421のデバイスオプションの設定内容の変更があった場合、その変更されたデバイスオプションを示すデバイス構成情報をカスタマイズ設定ファイル310に追加する。尚、デバイス構成情報とは、両面ユニットがあるか、排紙オプションに何が装着されているかなどの情報のことを指す。   A modified example of the printer information confirmation processing in step S905 in FIG. 9 according to the second embodiment will be described with reference to FIG. Here, in the present embodiment, the device configuration information (printer related information) is defined in the customization setting file 310 during the detailed customization setting process of FIG. 5B. Specifically, when the setting contents of the device option in the device option list 421 of the screen 420 of the [Device Settings] tab in FIG. 8A are changed, the device configuration information indicating the changed device option is customized in the setting file. Add to 310. The device configuration information refers to information such as whether there is a duplex unit or what is attached to the paper discharge option.

実施例1では、上述した通り、プリンタ情報確認処理において、特定のカスタマイズ情報313aとこれに対応する確認対象のプリンタから取得したプリンタ情報とが一致しているかどうかを確認した。これに対し、本実施例のプリンタ情報確認処理では、デバイス構成情報とこれに対応する確認対象のプリンタから取得したプリンタ情報とが一致しているかどうかを確認する点で実施例1と相違する。この相違点以外については、本実施例は実施例1と同様のハードウェア・ソフトウェア構成を有するため、以下同一の構成には同一の符号を用い、重複した説明は省略する。   In the first embodiment, as described above, in the printer information confirmation processing, it is confirmed whether or not the specific customization information 313a and the printer information acquired from the printer to be confirmed corresponding to this are the same. On the other hand, the printer information confirmation processing of the present embodiment is different from the first embodiment in that it confirms whether or not the device configuration information and the printer information acquired from the corresponding printer to be confirmed match. Except for this difference, the present embodiment has the same hardware and software configuration as that of the first embodiment, and therefore, the same components will be denoted by the same reference numerals and duplicate description will be omitted.

図10においてまず、カスタマイズ設定ファイル310にデバイス構成情報があるかどうかを調べる(ステップS1001)。デバイス構成情報がない場合(ステップS1001でNO)、確認対象のプリンタをインストール対象のプリンタと判断し(ステップS1006)、本処理を終了する。デバイス構成情報がある場合(ステップS1001でYES)、確認対象のプリンタと通信して、デバイス構成情報に対応するプリンタ情報を取得する(ステップS1002)。次に、取得したプリンタ情報がカスタマイズ設定ファイル310のデバイス構成情報と一致しているか否かを確認する(ステップS1003)。この確認の結果、取得したプリンタ情報とデバイス構成情報が一致している場合(ステップS1003でYES)、インストール対象プリンタと判断し(ステップS1004)、本処理を終了する。一方、そうでない場合は(ステップS1003でNO)、インストール対象外のプリンタと判断し(ステップS1005)、本処理を終了する。   In FIG. 10, first, it is checked whether or not there is device configuration information in the customization setting file 310 (step S1001). If there is no device configuration information (NO in step S1001), the printer to be confirmed is determined to be the printer to be installed (step S1006), and this processing ends. If there is device configuration information (YES in step S1001), the printer to be checked is communicated with to obtain printer information corresponding to the device configuration information (step S1002). Next, it is confirmed whether the acquired printer information matches the device configuration information of the customization setting file 310 (step S1003). As a result of this confirmation, if the acquired printer information and the device configuration information match (YES in step S1003), it is determined that the printer is an installation target printer (step S1004), and this processing ends. On the other hand, if not (NO in step S1003), it is determined that the printer is not a target for installation (step S1005), and this processing ends.

本実施例によれば、プリンタドライバ302のカスタマイズの際、探索範囲が設定されるだけでなく、デバイス構成情報が定義される。かかるカスタマイズがされたプリンタドライバ302のインストールをクライアントコンピュータ1に行う際、プリンタ2がその探索範囲にあって且つそのプリンタ情報がデバイス構成情報と一致するか否かが確認される。これにより、カスタマイズ済プリンタドライバ302aが正しく動作するプリンタのみをインストール対象プリンタとすることができる。   According to this embodiment, when the printer driver 302 is customized, not only the search range is set, but also the device configuration information is defined. When the customized printer driver 302 is installed in the client computer 1, it is confirmed whether the printer 2 is in the search range and the printer information matches the device configuration information. As a result, only the printer in which the customized printer driver 302a operates properly can be set as the installation target printer.

実施例3に係る、図9のステップS905のプリンタ情報確認処理の変形例について図11を使用して説明する。ここで、本実施例では、図5Bの詳細カスタマイズ設定処理の際、認証情報(プリンタ関連情報)をカスタマイズ情報313に定義する。具体的には、図8Aの[デバイスの設定]タブの画面420の設定のボタン426の押下により表示されるUIを用いて認証情報が登録された場合、その認証情報をカスタマイズ情報313に追加する。   A modified example of the printer information confirmation processing in step S905 in FIG. 9 according to the third embodiment will be described with reference to FIG. Here, in this embodiment, the authentication information (printer related information) is defined in the customization information 313 in the detailed customization setting process of FIG. 5B. Specifically, when the authentication information is registered using the UI displayed by pressing the setting button 426 on the screen 420 of the [Device settings] tab in FIG. 8A, the authentication information is added to the customization information 313. ..

実施例1では、上述した通り、プリンタ情報確認処理において、特定のカスタマイズ情報313aとこれに対応する確認対象のプリンタから取得したプリンタ情報とが一致しているかどうかを確認した。これに対し、本実施例のプリンタ確認処理では、実施例1における確認だけでなく、カスタマイズ情報313に含まれる認証情報と確認対象のプリンタの認証情報とが一致するかも確認する(認証処理を行う)点で実施例1と相違する。この相違点以外については、本実施例は実施例1と同様のハードウェア・ソフトウェア構成を有するため、以下同一の構成には同一の符号を用い、重複した説明は省略する。   In the first embodiment, as described above, in the printer information confirmation processing, it is confirmed whether or not the specific customization information 313a and the printer information acquired from the printer to be confirmed corresponding to this are the same. On the other hand, in the printer confirmation processing of the present embodiment, not only the confirmation in the first embodiment but also the authentication information included in the customization information 313 and the authentication information of the confirmation target printer are confirmed (the authentication processing is performed. ), Which is different from Example 1. Except for this difference, the present embodiment has the same hardware and software configuration as that of the first embodiment, and therefore, the same components will be denoted by the same reference numerals and duplicate description will be omitted.

尚、認証情報とはプリンタ2を使用して印刷する場合や、プリンタ2を操作する際に使用ユーザを特定するために認証する情報である。一般的には予めプリンタ2にユーザアカウントを登録しておいて、印刷時やログオン時にその操作を許可されたユーザかどうかを判断する。本実施例では、カスタマイズ設定ファイル310に設定されている認証情報として、ユーザアカウントにより特定される各ユーザが所属する部門別のIDも登録した状態で、インストール処理が行われる。その後、クライアントコンピュータ1のユーザは、印刷データの印刷時に図4Bの印刷設定UI400上でユーザが認証機能をONにし、設定のボタン426を押下することにより表示されるUIを用いて認証情報を設定する。かかるユーザ操作が“OK”のボタン401の押下により終了したときに、クライアントコンピュータ1はその設定された認証情報を出力ポートとなっているプリンタ2の1つに送信する。送信先となったプリンタは、その送信された認証情報の認証ができた場合、クライアントコンピュータ1から印刷データを受信しその印刷することが可能となる。つまり、所属する部門のIDを登録していないプリンタは、かかる認証ができないため、クライアントコンピュータ1からの印刷データを印刷できない。よって、そのプリンタをインストール対象プリンタとしても意味がない。そこで、本実施例では、インストーラ301がプリンタ情報確認処理を行う際、ユーザが所属している部門別のIDがカスタマイズ情報313に含まれている場合は、そのいずれかのIDにより認証ができたプリンタをインストール対象のプリンタと判断する。図11を使用して以下に具体的に説明する。   It should be noted that the authentication information is information that is authenticated in order to specify a user when printing using the printer 2 or when operating the printer 2. Generally, a user account is registered in the printer 2 in advance, and it is determined at the time of printing or logon that the user is permitted to perform the operation. In this embodiment, as the authentication information set in the customization setting file 310, the installation process is performed in a state in which the ID for each department to which each user specified by the user account belongs is also registered. After that, the user of the client computer 1 sets the authentication information using the UI displayed when the user turns on the authentication function and presses the setting button 426 on the print setting UI 400 of FIG. 4B when printing the print data. To do. When the user operation is completed by pressing the "OK" button 401, the client computer 1 sends the set authentication information to one of the printers 2 serving as an output port. If the transmitted authentication information can be authenticated, the printer that is the transmission destination can receive the print data from the client computer 1 and can print the print data. In other words, a printer that does not register the ID of the department to which it belongs cannot print such print data from the client computer 1 because it cannot perform such authentication. Therefore, it does not make sense to use that printer as the installation target printer. Therefore, in the present embodiment, when the installer 301 performs the printer information confirmation processing, if the ID for each department to which the user belongs is included in the customization information 313, the authentication can be performed using any of the IDs. Determine the printer as the printer to be installed. This will be specifically described below with reference to FIG.

図11においてまず、実施例1と同様、特定のカスタマイズ情報313aとこれに対応する確認対象のプリンタから取得したプリンタ情報とが一致しているかどうかを確認する(ステップS1100)。この確認の結果、一致しない場合(ステップS1100でNO)、確認対象のプリンタをインストール対象外のプリンタと判断し(ステップS1105)、本処理を終了する。   In FIG. 11, first, as in the first embodiment, it is confirmed whether or not the specific customization information 313a and the printer information acquired from the printer to be confirmed corresponding thereto match (step S1100). As a result of this confirmation, if they do not match (NO in step S1100), it is determined that the printer to be confirmed is a printer not to be installed (step S1105), and this processing ends.

一方、ステップS1100の確認の結果、一致する場合は(ステップS1100でYES)、ステップS1101に進み、カスタマイズ設定ファイル310に認証情報があるかどうかを確認する(ステップS1101)。認証情報がない場合(ステップS1101でNO)、確認対象のプリンタをインストール対象のプリンタと判断する(ステップS1106)。一方、認証情報がある場合(ステップS1101でYES)、確認対象のプリンタと通信して認証処理を行わせる。   On the other hand, as a result of the confirmation in step S1100, if they match (YES in step S1100), the process advances to step S1101 to confirm whether or not there is authentication information in the customization setting file 310 (step S1101). If there is no authentication information (NO in step S1101), the printer to be confirmed is determined to be the printer to be installed (step S1106). On the other hand, if there is the authentication information (YES in step S1101), the authentication process is performed by communicating with the confirmation target printer.

認証処理の結果、カスタマイズ設定ファイル310の認証情報である部門別IDのいずれかによる認証が確認対象プリンタにおいてされたか否かを判別する(ステップS1102)。確認対象プリンタにおいて認証がされた場合(ステップS1103でYES)、確認対象のプリンタをインストール対象プリンタと判断し(ステップS1104)、本処理を終了する。一方、確認対象プリンタにおいて認証がされなかった場合(ステップS1103でNO)、確認対象のプリンタをインストール対象外のプリンタと判断し(ステップS1105)、本処理を終了する。   As a result of the authentication processing, it is determined whether or not authentication by any of the department IDs, which is the authentication information of the customization setting file 310, has been performed by the confirmation target printer (step S1102). If the confirmation target printer has been authenticated (YES in step S1103), the confirmation target printer is determined to be the installation target printer (step S1104), and this processing ends. On the other hand, if the confirmation target printer has not been authenticated (NO in step S1103), the confirmation target printer is determined to be a non-installation target printer (step S1105), and this processing ends.

本実施例によれば、プリンタドライバ302のカスタマイズの際、探索範囲が設定されるだけでなく、認証情報がカスタマイズ情報に定義される。かかるカスタマイズがされたプリンタドライバ302のインストールをクライアントコンピュータ1に行う際、プリンタ2が探索範囲にあって且つそのカスタマイズ情報に定義される認証情報による認証ができるか否かが確認される。これにより、プリンタ2のうちその探索範囲にあってカスタマイズ済プリンタドライバ302aが正しく動作するプリンタ2のみをインストール対象プリンタとすることができる。   According to this embodiment, when the printer driver 302 is customized, not only the search range is set, but also the authentication information is defined in the customization information. When the customized printer driver 302 is installed in the client computer 1, it is confirmed whether the printer 2 is within the search range and can be authenticated by the authentication information defined in the customized information. As a result, only the printer 2 in the search range of the printer 2 in which the customized printer driver 302a operates correctly can be set as the installation target printer.

[その他の実施例]
本発明の目的は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、装置に供給することによっても、達成されることは言うまでもない。このとき、供給された装置の制御部を含むコンピュータ(またはCPUやMPU)は、記憶媒体に格納されたプログラムコードを読み出し実行する。
[Other Examples]
Needless to say, the object of the present invention can be achieved by supplying a storage medium storing a program code of software for realizing the functions of the above-described embodiments to the apparatus. At this time, the computer (or CPU or MPU) including the control unit of the supplied device reads and executes the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the program code itself and the storage medium storing the program code constitute the present invention.

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

また、上述のプログラムコードの指示に基づき、装置上で稼動しているOS(基本システムやオペレーティングシステム)などが処理の一部又は全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   An OS (basic system or operating system) running on the device performs some or all of the processing based on the instructions of the program code, and the processing realizes the functions of the above-described embodiments. It goes without saying that cases are included.

さらに、記憶媒体から読み出されたプログラムコードが、装置に挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれ、前述した実施例の機能が実現される場合も含まれることは言うまでもない。このとき、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行う。   Further, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted in the device or a function expansion unit connected to the computer to realize the functions of the above-described embodiments. Needless to say, it is included. At this time, the CPU or the like included in the function expansion board or function expansion unit performs a part or all of the actual processing based on the instruction of the program code.

1 クライアントコンピュータ
2 プリンタ
3 ネットワーク
114 ドライバセット
115 カスタマイズツール
301 インストーラ
302 プリンタドライバ
307 ツール
310 カスタマイズ設定ファイル
311 ツール設定情報
312 インストーラ設定情報
313 カスタマイズ情報
1 Client Computer 2 Printer 3 Network 114 Driver Set 115 Customization Tool 301 Installer 302 Printer Driver 307 Tool 310 Customization Setting File 311 Tool Setting Information 312 Installer Setting Information 313 Customization Information

Claims (11)

プリンタドライバを含むドライバセットにカスタマイズ設定ファイルを追加することによりカスタマイズされた前記プリンタドライバのインストール処理を行う情報処理装置であって、
前記インストール処理の際、前記カスタマイズ設定ファイルに、インストーラ設定情報があるかどうかを判断する第1の判断手段と、
前記第1の判断手段により前記インストーラ設定情報があると判断された場合、前記インストーラ設定情報の接続ポート情報が探索開始IPアドレス及び探索終了IPアドレスからなる探索範囲の情報であるか否かを判断する第2の判断手段と、
前記第2の判断手段により前記接続ポート情報が前記探索範囲の情報であると判断された場合、前記探索開始IPアドレスと前記探索終了IPアドレスを使用して、前記情報処理装置に接続されているプリンタを順に探索する探索手段と、
前記カスタマイズ設定ファイルのプリンタ関連情報と、前記探索手段により順に探索されたプリンタの前記プリンタ関連情報に対応するプリンタ情報とが一致するかを判断する第3の判断手段と、
前記順に探索されたプリンタのうち、前記プリンタ関連情報と前記プリンタ情報とが一致したプリンタの全てのIPアドレスで出力ポートを作成しインストール処理を行う第1のインストール手段とを備えることを特徴とする情報処理装置。
An information processing apparatus for performing an installation process of the printer driver customized by adding a customization setting file to a driver set including a printer driver,
First determining means for determining whether or not there is installer setting information in the customization setting file during the installation process,
When it is determined by the first determining means that the installer setting information is present, it is determined whether or not the connection port information of the installer setting information is a search range information including a search start IP address and a search end IP address. Second determining means for
When the connection port information is determined to be the information of the search range by the second determination means, the connection to the information processing apparatus is performed using the search start IP address and the search end IP address. A search means for sequentially searching for printers,
Third determining means for determining whether or not the printer-related information of the customization setting file and the printer information corresponding to the printer-related information of the printers sequentially searched by the searching means match.
Among the printers searched in the order, first installation means for creating an output port and performing an installation process with all the IP addresses of the printers in which the printer related information and the printer information match each other is provided. Information processing device.
前記第1の判断手段により前記インストーラ設定情報がないと判断された場合、通常のインストール処理を行う第2のインストール手段を更に備えることを特徴とする請求項1記載の情報処理装置。   The information processing apparatus according to claim 1, further comprising a second installation unit that performs a normal installation process when the first determination unit determines that the installer setting information does not exist. 前記第2の判断手段により前記接続ポート情報が前記探索範囲の情報でないと判断された場合、前記接続ポート情報は固定のIPアドレスの情報であると判断し、前記固定のIPアドレスで出力ポートを作成しインストール処理を行う第3のインストール手段を更に備えることを特徴とする請求項1又は2記載の情報処理装置。   When the second determination means determines that the connection port information is not the information of the search range, it is determined that the connection port information is information of a fixed IP address, and the output port is set to the fixed IP address. The information processing apparatus according to claim 1, further comprising a third installation unit that creates and performs an installation process. 前記プリンタ関連情報は、前記プリンタドライバがカスタマイズされた際に設定された印刷設定の初期値の情報の一部であることを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。   4. The information processing according to claim 1, wherein the printer-related information is a part of information of initial values of print settings set when the printer driver is customized. apparatus. 前記プリンタ関連情報は、前記プリンタドライバがカスタマイズされた際に変更されたデバイスオプションの内容を示すデバイス構成情報であることを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 4, wherein the printer-related information is device configuration information indicating contents of a device option changed when the printer driver is customized. .. 前記プリンタ関連情報は、前記プリンタドライバがカスタマイズされた際に登録された認証情報を更に含み、
前記第3の判断手段は、前記順に探索されたプリンタのうち、前記印刷設定の初期値の情報の一部と前記プリンタ情報とが一致したプリンタに対し、前記認証情報を用いた認証処理を実行させ、認証された場合に前記プリンタ関連情報と前記プリンタ情報とが一致すると判断することを特徴とする請求項4記載の情報処理装置。
The printer-related information further includes authentication information registered when the printer driver is customized,
The third determination means performs an authentication process using the authentication information on a printer in which a part of the information of the initial value of the print setting matches the printer information among the printers searched in the order. The information processing apparatus according to claim 4, wherein the printer-related information and the printer information are determined to match when authenticated.
前記認証情報は、ユーザアカウント及び前記ユーザアカウントにより特定される各ユーザが所属する部門別のIDであることを特徴とする請求項6記載の情報処理装置。   The information processing apparatus according to claim 6, wherein the authentication information is a user account and an ID for each department to which each user specified by the user account belongs. 前記カスタマイズの際、前記探索開始IPアドレス及び前記探索終了IPアドレスをユーザ操作に応じて設定するための画面を表示することを特徴とする請求項1乃至7のいずれか1項に記載の情報処理装置。   8. The information processing according to claim 1, wherein a screen for setting the search start IP address and the search end IP address according to a user operation is displayed during the customization. apparatus. プリンタドライバを含むドライバセットにカスタマイズ設定ファイルを追加することによりカスタマイズされた前記プリンタドライバのインストール処理を行う情報処理装置の制御方法であって、
前記インストール処理の際、前記カスタマイズ設定ファイルに、インストーラ設定情報があるかどうかを判断する第1の判断ステップと、
前記第1の判断ステップにおいて前記インストーラ設定情報があると判断された場合、前記インストーラ設定情報の接続ポート情報が探索開始IPアドレス及び探索終了IPアドレスからなる探索範囲の情報であるか否かを判断する第2の判断ステップと、
前記第2の判断ステップにおいて前記接続ポート情報が前記探索範囲の情報であると判断された場合、前記探索開始IPアドレスと前記探索終了IPアドレスを使用して、前記情報処理装置に接続されているプリンタを順に探索する探索ステップと、
前記カスタマイズ設定ファイルのプリンタ関連情報と、前記探索ステップにおいて順に探索されたプリンタの前記プリンタ関連情報に対応するプリンタ情報とが一致するかを判断する第3の判断ステップと、
前記順に探索されたプリンタのうち、前記プリンタ関連情報と前記プリンタ情報とが一致したプリンタの全てのIPアドレスで出力ポートを作成しインストール処理を行うインストールステップとを有することを特徴とする制御方法。
A method for controlling an information processing apparatus for performing a process of installing the customized printer driver by adding a customization setting file to a driver set including a printer driver,
A first determining step of determining whether installer setting information is present in the customization setting file during the installation process;
When it is determined that the installer setting information is present in the first determining step, it is determined whether or not the connection port information of the installer setting information is information of a search range including a search start IP address and a search end IP address. A second determination step to
When it is determined that the connection port information is the information of the search range in the second determination step, the connection information is connected to the information processing apparatus using the search start IP address and the search end IP address. A search step for sequentially searching for printers,
A third determining step of determining whether or not the printer-related information of the customization setting file and the printer information corresponding to the printer-related information of the printers sequentially searched in the searching step match.
Among the printers searched in the order, an installation step of creating an output port and performing an installation process with all IP addresses of the printers in which the printer-related information and the printer information match each other.
請求項9記載の制御方法を実行することを特徴とするプログラム。   A program for executing the control method according to claim 9. プリンタドライバと、当該プリンタドライバのインストーラを含むドライバセットをカスタマイズするプログラムであって、
情報処理装置に、
前記プリンタドライバのカスタマイズ情報として、出力先のプリンタの探索に用いるIPアドレスを範囲指定で受け付ける第1の受付工程と、
前記プリンタドライバのカスタマイズ情報として、印刷設定の初期値のカスタマイズを受け付ける第2の受付工程と、
前記第1の受付工程及び前記第2の受付工程で受け付けたカスタマイズ情報と、前記ドライバセットを出力する出力工程とを実行させることを特徴とするプログラム。
A program for customizing a driver set including a printer driver and an installer for the printer driver,
In the information processing device,
A first receiving step of receiving a range of an IP address used for searching for a printer as an output destination as the customization information of the printer driver;
A second receiving step of receiving customization of initial values of print settings as the customization information of the printer driver;
A program for executing the customization information received in the first reception process and the second reception process and an output process for outputting the driver set.
JP2018205621A 2018-10-31 2018-10-31 Information processing apparatus, control method therefor, and program Pending JP2020071693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018205621A JP2020071693A (en) 2018-10-31 2018-10-31 Information processing apparatus, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018205621A JP2020071693A (en) 2018-10-31 2018-10-31 Information processing apparatus, control method therefor, and program

Publications (1)

Publication Number Publication Date
JP2020071693A true JP2020071693A (en) 2020-05-07

Family

ID=70549557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018205621A Pending JP2020071693A (en) 2018-10-31 2018-10-31 Information processing apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP2020071693A (en)

Similar Documents

Publication Publication Date Title
JP7589376B2 (en) SUPPORT PROGRAM, PRINTING METHOD, AND INFORMATION PROCESSING APPARATUS
JP7328405B2 (en) Information processing apparatus, information processing apparatus control method, and print setting application
US8537438B2 (en) Information processing apparatus in which a plurality of types of print drivers and plurality of graphics units run, control method therefor, and program
US9122428B2 (en) Information processing apparatus allowing a user certain print setting operations in an environment where an image processing apparatus is undetermined
JP7186815B2 (en) Information processing device, program and method
JP2007317088A (en) Information processing apparatus, print control method, program, and computer-readable storage medium
US12481467B2 (en) Information processing apparatus, control method of information processing apparatus, and non-transitory computer-readable storage medium to display an object for receiving a print setting
JP7443056B2 (en) Information processing device, control method and program
JP5704834B2 (en) Information processing apparatus, control method, and program
JP2023158307A (en) Information processing device, control method and program for information processing device
JP5697393B2 (en) Information processing apparatus, peripheral device control method, and program
JP2020071693A (en) Information processing apparatus, control method therefor, and program
JP2019008673A (en) Information processing apparatus and driver installation method
JP7171227B2 (en) Information processing device, its control method and application
US11385848B2 (en) Information processing apparatus and control method
JP4411256B2 (en) PRINT CONTROL METHOD, PRINT CONTROL SYSTEM, PROGRAM, AND STORAGE MEDIUM
KR20250094585A (en) Management apparatus capable of easily providing psa to client apparatus used by user who is not able to access online store, control method, and storage medium
JP2006072526A (en) Information processing apparatus and setup program
JP2019049825A (en) Method and program for updating driver in point-and-print environment, and information processing apparatus
JP2019128856A (en) Printer driver customization tool
JP2010134607A (en) Printing system