JP4812093B2 - Information processing apparatus, information processing apparatus control method, information processing method, program, and storage medium - Google Patents

Information processing apparatus, information processing apparatus control method, information processing method, program, and storage medium Download PDF

Info

Publication number
JP4812093B2
JP4812093B2 JP2006068274A JP2006068274A JP4812093B2 JP 4812093 B2 JP4812093 B2 JP 4812093B2 JP 2006068274 A JP2006068274 A JP 2006068274A JP 2006068274 A JP2006068274 A JP 2006068274A JP 4812093 B2 JP4812093 B2 JP 4812093B2
Authority
JP
Japan
Prior art keywords
information
information processing
setting
driver
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006068274A
Other languages
Japanese (ja)
Other versions
JP2006309724A5 (en
JP2006309724A (en
Inventor
めぐみ 齋藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2006068274A priority Critical patent/JP4812093B2/en
Publication of JP2006309724A publication Critical patent/JP2006309724A/en
Publication of JP2006309724A5 publication Critical patent/JP2006309724A5/ja
Application granted granted Critical
Publication of JP4812093B2 publication Critical patent/JP4812093B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、デバイスドライバをカスタマイズする情報処理技術に関するものである。   The present invention relates to an information processing technique for customizing a device driver.

印刷装置を制御する印刷制御プログラム(プリンタドライバ)に関しては、従来から、印刷システムの導入環境に応じて、使用する印刷処理装置を制御するプリンタドライバのカスタマイズを行ないたいという要望があった。特に、近年は、印刷システムの導入先の多様化に伴い、顧客の使用態様も多様化し、プリンタドライバに対するカスタマイズ要望は増加傾向にある。   With respect to a print control program (printer driver) for controlling a printing apparatus, there has been a demand for customizing a printer driver for controlling a print processing apparatus to be used according to an environment where a printing system is introduced. In particular, in recent years, with the diversification of installation destinations of printing systems, customer usage patterns have also diversified, and customization requests for printer drivers have been increasing.

その要望に対応するため、従来における印刷処理装置のプリンタドライバにおいても、デフォルト設定値の変更や、プリンタドライバのユーザインタフェース(以下、単に「UI」と記す。)において、顧客の使用態様に応じて設定変更ができない項目を指定して、その項目に対する入力を受け付けないようにする入力制御(以下、「Disable処理」という)等が可能なカスタマイズ技術(カスタマイズシステム)を提供していた。   In order to meet this demand, in the printer driver of the conventional print processing apparatus, the default setting value is changed and the user interface (hereinafter simply referred to as “UI”) of the printer driver is used in accordance with the usage mode of the customer. A customization technology (customization system) that enables input control (hereinafter referred to as “Disable processing”) that specifies an item that cannot be changed and does not accept input for the item has been provided.

上述の先行技術として、例えば、特許文献1や特許文献2が存在する。
特開平8−278871号公報 特開2003−208276号公報
As the above-described prior art, for example, Patent Document 1 and Patent Document 2 exist.
JP-A-8-278871 JP 2003-208276 A

しながら、従来のカスタマイズシステムでは、カスタマイズされたプリンタドライバのインストールセットを作成するためには、まず、カスタマイズの対象とするプリンタドライバを対象OSにインストールする。そして、その環境においてカスタマイズプリンタドライバのインストールセットを作成するツールを起動する必要があった。   However, in the conventional customization system, in order to create an installation set of customized printer drivers, first, a printer driver to be customized is installed in the target OS. In that environment, it is necessary to start a tool for creating an installation set of customized printer drivers.

また、1つのドライバセットに入っている複数のプリンタドライバを、同時にカスタマイズしようとしても、カスタマイズを行なうプログラムが、1度に1つ(1機種分)のプリンタドライバしかカスタマイズすることができなかった。従って、複数のプリンタドライバをカスタマイズする場合、まず、1機種のプリンタドライバをカスタマイズし、カスタマイズしたドライバセットに対して、次のプリンタドライバドライバに対して同様のカスタマイズを行なう必要があった。   Also, even when trying to customize multiple printer drivers in one driver set at the same time, only one (one model) printer driver can be customized at a time. Therefore, when customizing a plurality of printer drivers, it is necessary to first customize one type of printer driver and perform the same customization for the next printer driver driver with respect to the customized driver set.

その理由としては、従来のカスタマイズツールは、ドライバを一旦情報処理装置に対してインストールした状態でしかカスタマイズできなかったからである。別のドライバをカスタマイズするためには、当該別のドライバをインストールして、カスタマイズドライバを再起動してドライバのカスタマイズをすることが必要であった。   This is because the conventional customization tool can be customized only when the driver is once installed in the information processing apparatus. In order to customize another driver, it is necessary to install the other driver and restart the customized driver to customize the driver.

複数の種類の印刷装置が存在しているネットワーク環境において、情報インフラ管理者がそれぞれの印刷装置に対応したカスタマイズドライバを作成しようとした場合、印刷装置の種類ごとに同様のカスタマイズ手順を繰り返し行なわなければならない。そのため、情報インフラ管理者にとっては負担が大きいものであり、作成効率もよくないものであった。   When an information infrastructure administrator tries to create a customized driver for each printing device in a network environment with multiple types of printing devices, the same customization procedure must be repeated for each type of printing device. I must. For this reason, the burden on the information infrastructure manager is large, and the creation efficiency is not good.

本発明は、上述の従来技術を鑑みてなされたものである。カスタマイズの操作性向上を目的とする。   The present invention has been made in view of the above-described prior art. The purpose is to improve the operability of customization.

更に、ひとつのカスタマイズの処理の中で、複数のプリンタドライバをカスタマイズすることを可能にする情報処理技術の提供を別の目的とする。   It is another object of the present invention to provide an information processing technique that enables a plurality of printer drivers to be customized in one customization process.

本発明にかかる情報処理装置は、印刷装置を制御するデバイスドライバを、プロパティの設定によりカスタマイズする情報処理装置であって、
ユーザ操作を受け付けることにより複数のデバイスドライバを特定する特定手段と、
前記特定手段が特定した複数のデバイスドライバの夫々に対して、個別のカスタマイズ操作がなされた後に入力されるカスタマイズ完了指示に応じて、前記複数のデバイスドライバの夫々に対する個別のプロパティ情報を、前記特定手段が特定した複数のデバイスドライバの夫々に設定することにより、個別にカスタマイズされた複数のデバイスドライバを含む単一のドライバセットを作成する設定手段と
を備えることを特徴とする。
An information processing apparatus according to the present invention is an information processing apparatus that customizes a device driver that controls a printing apparatus by setting properties,
A specifying means for specifying a plurality of device drivers by accepting a user operation ;
Wherein for each of the plurality of device drivers is specified unit identified in accordance with the customization completion instruction inputted after the individual customization operation is performed, the individual properties information for each of the plurality of device drivers, the specific And setting means for creating a single driver set including a plurality of individually customized device drivers by setting each of the plurality of device drivers specified by the means.

本発明によれば、複数のプリンタドライバをプリンタドライバのカスタマイズ操作の後の、1回のカスタマイズ完了指示により、同時にカスタマイズすることが可能になる。   According to the present invention, a plurality of printer drivers can be simultaneously customized by a single customization completion instruction after a printer driver customization operation.

[第1実施形態]
以下、添付図面を参照して本発明の好適な実施形態を説明する。なお、本実施形態ではMicrosoft(登録商標)社製PC用OS(Operating System)であるWindows(登録商標)のプリンタドライバをカスタマイズする方法を例として説明する。
[First embodiment]
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the accompanying drawings. In the present embodiment, a method for customizing a printer driver of Windows (registered trademark), which is an OS (Operating System) for PC manufactured by Microsoft (registered trademark), will be described as an example.

図1は、本発明の実施形態に係る印刷処理システムの構成を示すブロック図である。この印刷処理システムは、情報処理装置(以下、「ホストコンピュータ」ともいう)3000と、このホストコンピュータ3000より印刷データを受信して印刷を行なうプリンタ1500を備えている。   FIG. 1 is a block diagram showing a configuration of a print processing system according to an embodiment of the present invention. This print processing system includes an information processing apparatus (hereinafter also referred to as “host computer”) 3000 and a printer 1500 that receives print data from the host computer 3000 and performs printing.

ホストコンピュータ3000において、CPU1は、RAM2に記憶されているプログラムに従って、システムバス4に接続される各デバイスを総括的に制御している。このRAM2は、CPU1の主メモリ、ワークエリア等としても機能している。ROM3は、各種プログラム及びデータを格納しており、各種フォントを記憶するフォントROM3a、ブートプログラムやBIOS等を記憶するプログラムROM3b、及び各種データを記憶するデータROM3cに区分けして構成されている。   In the host computer 3000, the CPU 1 comprehensively controls each device connected to the system bus 4 according to a program stored in the RAM 2. The RAM 2 also functions as a main memory, work area, and the like for the CPU 1. The ROM 3 stores various programs and data, and is divided into a font ROM 3a that stores various fonts, a program ROM 3b that stores a boot program, BIOS, and the like, and a data ROM 3c that stores various data.

キーボードコントローラ(KBC)5は、キーボード(KB)9や不図示のポインティングデバイス(マウス)からのキー入力を制御する。CRTコントローラ(CRTC)6は、CRTディスプレイ(CRT)10への表示を制御している。ディスクコントローラ(DKC)7は、ハードディスクなどの外部メモリ11へのアクセスを制御している。プリンタコントローラ(PRTC)8は、双方向性インターフェース21を介してプリンタ1500に接続され、プリンタ1500との間で通信制御処理を行なう。   A keyboard controller (KBC) 5 controls key input from a keyboard (KB) 9 or a pointing device (mouse) (not shown). A CRT controller (CRTC) 6 controls display on a CRT display (CRT) 10. A disk controller (DKC) 7 controls access to an external memory 11 such as a hard disk. The printer controller (PRTC) 8 is connected to the printer 1500 via the bidirectional interface 21 and performs communication control processing with the printer 1500.

外部メモリ11は、例えばハードディスク(HD)やMO或はフロッピー(登録商標)ディスク(FD)等である。図示の如く、オペレーティングシステムプログラム(以下、OS)205をはじめ各種アプリケーション(例えば、図形、イメージ、文字、表等が混在した文書処理を行なう文書処理アプリケーションプログラム)201を記憶している。また、外部メモリ11は、印刷処理関連プログラム204を記憶している他に、ユーザファイル、編集ファイル等も記憶している。印刷処理関連プログラム204は、ページ記述言語を用いて記述される印刷データを生成するプログラムであって、同系列の複数のプリンタに対して共通に利用され得る。この印刷処理関連プログラム204はプリンタ制御コマンド生成モジュール(以下、プリンタドライバ)2041、プリンタドライバUI制御モジュール2042をも含んでいる。   The external memory 11 is, for example, a hard disk (HD), MO, or floppy (registered trademark) disk (FD). As shown in the figure, an operating system program (hereinafter referred to as OS) 205 and various applications (for example, a document processing application program for performing document processing in which graphics, images, characters, tables and the like are mixed) 201 are stored. In addition to storing the print processing related program 204, the external memory 11 also stores user files, edit files, and the like. The print processing related program 204 is a program for generating print data described using a page description language, and can be used in common for a plurality of printers of the same series. The print processing related program 204 also includes a printer control command generation module (hereinafter referred to as a printer driver) 2041 and a printer driver UI control module 2042.

外部メモリ11に記憶された、本実施形態に係るカスタマイズツールプログラム(以下、単に、「カスタマイズツール」という。)を含むアプリケーション201は、RAM2にロードされてCPU1により実行される。またCPU1は、例えば、RAM2へのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYG(What You See Is What You Get)を可能としている。更に、CPU1は、CRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて、登録された種々のウインドウを開き、種々のデータ処理を実行する。ユーザは印刷を実行する際、印刷設定画面(プリンタドライバUI制御モジュール2042により制御される)を開き、プリンタの設定や、印刷モードの選択を含むプリンタドライバ2041に対する印刷処理の設定を行なうことができる。   An application 201 including a customization tool program according to this embodiment (hereinafter simply referred to as “customization tool”) stored in the external memory 11 is loaded into the RAM 2 and executed by the CPU 1. Further, the CPU 1 executes, for example, an outline font development (rasterization) process on the RAM 2 to enable WYSIWYG (What You See Is What You Get) on the CRT 10. Furthermore, the CPU 1 opens various registered windows based on commands instructed by a mouse cursor (not shown) on the CRT 10 and executes various data processing. When the user executes printing, the user can open a print setting screen (controlled by the printer driver UI control module 2042), and perform settings for the printer driver 2041 including printer settings and print mode selection. .

次にプリンタ1500の構成について説明する。CPU12は、プリンタ1500の全体の動作を制御している。RAM19は、CPU12の主メモリ、ワークエリア等として機能するとともに、出力情報展開領域、環境データ格納領域としても用いられる。またこのRAM19は、NVRAM(Non-volatile RAM:不揮発性RAM)領域も備えており、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。ROM13は、各種フォントを記憶するフォントROM13a、CPU12により実行される制御プログラム等を記憶するプログラムROM13b、及び各種データを記憶するデータROM13cを備えている。入力部18は、ホストコンピュータ3000との間でデータの送受信を行なう。印刷部インターフェース(I/F)16は、プリンタエンジンである印刷部17とのインターフェースを制御している。   Next, the configuration of the printer 1500 will be described. The CPU 12 controls the overall operation of the printer 1500. The RAM 19 functions as a main memory, work area, and the like for the CPU 12, and is also used as an output information expansion area and an environment data storage area. The RAM 19 also includes an NVRAM (Non-volatile RAM) area, and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The ROM 13 includes a font ROM 13a that stores various fonts, a program ROM 13b that stores a control program executed by the CPU 12, and a data ROM 13c that stores various data. The input unit 18 transmits / receives data to / from the host computer 3000. A printing unit interface (I / F) 16 controls an interface with a printing unit 17 that is a printer engine.

外部メモリ14は、メモリコントローラ(MC)20によりアクセスが制御されており、オプションとして接続されるハードディスク(HD)、MO、フロッピー(登録商標)ディスク(FD)、ICカード等を含んでいる。そして、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。尚、ハードディスク等の外部メモリ14が接続されていない場合には、ROM13のデータROM13cに、ホストコンピュータ3000で利用される情報等を記憶することになる。尚、この外部メモリ14は1個に限らず複数備えるものであってもよく、例えば、内蔵フォントに加えてオプションフォントカード、言語系の異なるプリンタ制御言語を解釈するプログラム等を格納した外部メモリを複数接続できるように構成されていてもよい。   Access to the external memory 14 is controlled by a memory controller (MC) 20 and includes a hard disk (HD), MO, floppy (registered trademark) disk (FD), IC card, and the like connected as options. Then, font data, an emulation program, form data, and the like are stored. When the external memory 14 such as a hard disk is not connected, information used by the host computer 3000 is stored in the data ROM 13c of the ROM 13. The external memory 14 is not limited to one and may include a plurality of external memories. For example, an external memory storing an optional font card, a program for interpreting a printer control language having a different language system, and the like in addition to the built-in font. You may be comprised so that two or more can be connected.

操作部1501には、ユーザによる操作を受け付ける操作パネルが設けられ、その操作パネルには操作のためのスイッチ及びLED表示器等が配されている(不図示)。また、不図示のNVRAM(Non-volatile RAM:不揮発性RAM)を有し、操作パネルからのプリンタモード設定情報を記憶するようにしてもよい。   The operation unit 1501 is provided with an operation panel that receives an operation by a user, and an operation switch, an LED display, and the like are arranged on the operation panel (not illustrated). Further, an NVRAM (Non-volatile RAM) (not shown) may be provided to store printer mode setting information from the operation panel.

CPU12は、ROM13のプログラムROM13bに記憶された制御プログラム等に基づき、印刷部インターフェース16を介して印刷部(プリンタエンジン)17に出力情報としての画像信号を出力する。また、CPU12は入力部18を介してホストコンピュータ3000との通信処理が可能である。CPU12はホストコンピュータ3000から送信される印刷データを受信すると共に、プリンタ1500内の情報等をホストコンピュータ3000に通知可能に構成されている。   The CPU 12 outputs an image signal as output information to the printing unit (printer engine) 17 via the printing unit interface 16 based on a control program stored in the program ROM 13 b of the ROM 13. Further, the CPU 12 can perform communication processing with the host computer 3000 via the input unit 18. The CPU 12 is configured to receive print data transmitted from the host computer 3000 and to notify the host computer 3000 of information in the printer 1500 and the like.

図2は、所定のアプリケーション及び印刷処理関連プログラムを起動して、ホストコンピュータ3000のRAM2にプログラムやデータがロードされた状態でのRAM2のメモリマップを示す図である。   FIG. 2 is a diagram showing a memory map of the RAM 2 in a state where a predetermined application and a print processing related program are activated and programs and data are loaded into the RAM 2 of the host computer 3000.

RAM2には、図示の如く、BIOS206、OS205をはじめ、アプリケーション201、印刷処理関連プログラム204、及び関連データ203がロードされている。更に、空きメモリ領域202も確保されている。これにより、アプリケーション201及び印刷処理関連プログラム204が実行可能な状態となる。尚、印刷処理関連プログラム204におけるプリンタドライバUI制御モジュール2042(図1)は、ユーザによる印刷設定指令に応じてCRT10に印刷設定画面を表示し、KB9などを使用したユーザからの設定を可能にする。   As shown in the figure, the RAM 2 is loaded with a BIOS 206, an OS 205, an application 201, a print processing related program 204, and related data 203. Furthermore, a free memory area 202 is also secured. As a result, the application 201 and the print processing related program 204 can be executed. Note that the printer driver UI control module 2042 (FIG. 1) in the print processing related program 204 displays a print setting screen on the CRT 10 in response to a print setting command by the user, and enables settings from the user using KB9 or the like. .

図3は、カスタマイズツールのUIを例示する図であり、カスタマイズツールは、Windows (登録商標)2000/XP/Server 2003上で動作するものとする。Windows (登録商標)98/ME、Windows (登録商標)NT4.0、Windows (登録商標)2000/XP/Server 2003向けの各プリンタドライバをカスタマイズすることを、例としている。尚、本発明の趣旨は、必ずしもこれらのOSに限定されるものではない。プリンタドライバを実際にインストールすることなく、擬似API(この内容は後に詳細に説明する)により、OSに対応するAPIの動作をシミュレートする内容は、個別の関数を動作させる引数の設定を変更、追加等することにより対応することは可能である。   FIG. 3 is a diagram illustrating a UI of the customization tool. The customization tool is assumed to operate on Windows (registered trademark) 2000 / XP / Server 2003. An example is customization of printer drivers for Windows (registered trademark) 98 / ME, Windows (registered trademark) NT4.0, and Windows (registered trademark) 2000 / XP / Server 2003. Note that the gist of the present invention is not necessarily limited to these OSs. The content of simulating the operation of the API corresponding to the OS by changing the setting of an argument for operating an individual function by a pseudo API (which will be described in detail later) without actually installing a printer driver. It is possible to cope by adding it.

図3において、ユーザがメニュー301の"開く"を指定すると、カスタマイズを行なうドライバセットのフォルダを指示するためのダイアログ(不図示)が表示されて、カスタマイズを行なうドライバの格納先を指示することができる。指示されたフォルダは、表示欄302に表示され、指示されたドライバセットの対応OSが表示欄303に表示される。   In FIG. 3, when the user designates “Open” in the menu 301, a dialog (not shown) for designating a folder of a driver set to be customized is displayed, and the storage destination of the driver to be customized is designated. it can. The designated folder is displayed in the display column 302, and the corresponding OS of the designated driver set is displayed in the display column 303.

1つのドライバセットのフォルダに、プリンタの機種に対応したプリンタドライバ(図14乃至図16では、「プリンタモデル」と示す)が複数個格納されている場合、カスタマイズドライバ作成時に複数個のプリンタドライバがリスト化される(図19)。カスタマイズツールは、リスト化された各プリンタドライバにカスタマイズ用の情報(カスタマイズデータ)が設定されているか判定し、カスタマイズデータが設定されているプリンタドライバに対応するカスタマイズドライバを作成する。この処理は、図6のステップS608及び図17のフローチャートで詳細に説明する。この処理は、擬似APIを用いることにより、カスタマイズしたいドライバをオペレーティングシステムに対してインストールして認識して動作可能な状態にさせることなく、ドライバを次々にカスタマイズすることができるようになったため、実現可能となる。図19のリスト表示画面1900には、プリンタドライバのリストが表示されている。各ドライバを選択して、白黒反転させ、1901乃至1903のボタンを押すことにより、ドライバをカスタマイズすることができる。1904のボタンを押下することで、リスト表示画面1900にてカスタマイズされた複数のドライバが生成される。これにより、一回のカスタマイズボタン1904の押下によって、カスタマイズされた複数のドライバ群を含むインストールセットとしてカスタマイズツールは提供される。   When a plurality of printer drivers corresponding to printer models (shown as “printer model” in FIGS. 14 to 16) are stored in one driver set folder, a plurality of printer drivers are created when a customized driver is created. Listed (FIG. 19). The customization tool determines whether customization information (customization data) is set for each printer driver listed, and creates a customization driver corresponding to the printer driver for which customization data is set. This process will be described in detail with reference to step S608 in FIG. 6 and the flowchart in FIG. This process is realized by using the pseudo API, so that the driver can be customized one after another without installing and recognizing the driver to be customized to the operating system and making it operable. It becomes possible. A list of printer drivers is displayed on the list display screen 1900 of FIG. A driver can be customized by selecting each driver, reversing black and white, and pressing buttons 1901 to 1903. By pressing a button 1904, a plurality of drivers customized on the list display screen 1900 are generated. Thus, the customization tool is provided as an installation set including a plurality of customized driver groups by pressing the customize button 1904 once.

尚、カスタマイズデータには様々なデータが含まれる。デバイスドライバのユーザインタフェースのコントロールの表示、非表示のための制御データや、図18に示すようなデバイスドライバの設定値が含まれる。   The customized data includes various data. This includes control data for displaying / hiding control of the user interface of the device driver and setting values of the device driver as shown in FIG.

図18は、このデバイスモード(DEVMODE)のデータ構造の一例を示す図である。   FIG. 18 is a diagram showing an example of the data structure of the device mode (DEVMODE).

ここでは、用紙向き(dmOrientation)、用紙サイズ(dmPaperSize)、用紙幅(dmPaperWidth)、部数(dmCopies)などが格納されている様子が記載されている。その他、このDEVMODEデータ構造体はレジストリに格納される。プリンタドライバ2041は、このレジストリに格納されたDEVMODEデータ構造体を読み書きすることで、デフォルトの印刷設定環境や、後述する「お気に入り」を読み込んでユーザインタフェースにも反映することができる。   Here, a state in which paper orientation (dmOrientation), paper size (dmPaperSize), paper width (dmPaperWidth), number of copies (dmCopies), and the like are stored is described. In addition, this DEVMODE data structure is stored in the registry. By reading and writing the DEVMODE data structure stored in this registry, the printer driver 2041 can read the default print setting environment and “favorites” described later and reflect them in the user interface.

ここで「お気に入り」とは、プリンタドライバ2041の複数の印刷設定を一纏まりにしたものである。ユーザは、この一纏まりの設定からなる「お気に入り」をプリンタドライバ2041のユーザインタフェースで指定することで所望の動作環境を得ることができる。例えば、スタンプとステイプルをよく用いるユーザの場合には、これらステイプルとスタンプ設定の組を「お気に入り」として登録することにより、この「お気に入り」を選択するだけで、複数の設定を所望の値に設定して印刷させることができる。このようなデータを、プロパティ情報の一例であるカスタマイズデータとして、カスタマイズツールが保持し、後述するGPDファイルに書き込む。   Here, “favorite” is a set of a plurality of print settings of the printer driver 2041. The user can obtain a desired operating environment by designating “favorites” consisting of this group of settings on the user interface of the printer driver 2041. For example, in the case of a user who often uses stamps and staples, a set of these staples and stamp settings is registered as a “favorite”, and by simply selecting this “favorite”, a plurality of settings can be set to desired values. Can be printed. Such data is stored as customization data, which is an example of property information, by the customization tool and written in a GPD file to be described later.

リストビュー305には、カスタマイズを行なうプリンタドライバの対応機種とカスタマイズを行った情報に対して識別表示「On」が表示されるようになっている。チェックボックス310をチェックすると、ボタン311が有効となる。ボタン311を押下するとカスタマイズ用のプリンタドライバUI(図4)が表示され、印刷設定(ドキュメントプロパティ)の初期値設定、デバイスの設定(プリンタプロパティ)等の初期値設定を行なうことができる。   In the list view 305, an identification display “On” is displayed for the printer model to be customized and the customized information. When the check box 310 is checked, the button 311 is enabled. When the button 311 is pressed, a printer driver UI for customization (FIG. 4) is displayed, and initial values such as print settings (document properties) and device settings (printer properties) can be set.

チェックボックス320をチェックすると、ボタン321が有効となる。ボタン321を押下すると、プリンタドライバUI上のコントロールの表示方法をカスタマイズするためのUI(図5)が表示され、カスタマイズ用のプリンタドライバUI上におけるコントロールの表示方法を設定することができる。   When the check box 320 is checked, the button 321 is enabled. When the button 321 is pressed, a UI (FIG. 5) for customizing the control display method on the printer driver UI is displayed, and the control display method on the customization printer driver UI can be set.

図3のUI画面において、設定ボタン350が押下されると、図4または図5のUI画面から設定したカスタマイズに関する設定がアプリケーション(カスタマイズツール)内に、カスタマイズ情報(カスタマイズデータ)として保持される。カスタマイズツールは、例えば、後に図7で説明するプリンタドライバのインストール情報を記述するファイル(このファイルを「infファイル」という)にカスタマイズ情報を保持する。プリンタドライバが既にカスタマイズされているか、未だカスタマイズされていないかを識別情報により判定することができる。1つのドライバセット内に複数のプリンタドライバが格納されている状態を図14〜図16に示す。カスタマイズツールは、カスタマイズ情報の有無を判定し、カスタマイズ情報の準備ができているプリンタドライバに対して、カスタマイズを行なう(図6のステップS608、図17)。   When the setting button 350 is pressed on the UI screen in FIG. 3, the settings related to customization set from the UI screen in FIG. 4 or 5 are held as customization information (customization data) in the application (customization tool). For example, the customization tool holds the customization information in a file (hereinafter referred to as “inf file”) that describes printer driver installation information described later with reference to FIG. Whether the printer driver is already customized or not yet customized can be determined from the identification information. A state in which a plurality of printer drivers are stored in one driver set is shown in FIGS. The customization tool determines the presence or absence of customization information, and customizes the printer driver for which customization information is ready (step S608 in FIG. 6, FIG. 17).

カスタマイズ情報は、図14に示すように、プリンタモデル名(プリンタの機種に対応したプリンタドライバ)とカスタマイズ情報とが対になった形式で保持されている。なお、カスタマイズ情報は、図15もしくは、図16の形で保持されていてもよい。図15の場合は、カスタマイズを行ったことを識別することが可能な識別情報(「済」または「未」)が、プリンタモデル名(プリンタドライバ)及びカスタマイズ情報と組み合わされて保持されている。   As shown in FIG. 14, the customization information is held in a format in which a printer model name (printer driver corresponding to the printer model) and customization information are paired. The customization information may be held in the form of FIG. 15 or FIG. In the case of FIG. 15, identification information (“Done” or “Not”) that can identify that customization has been performed is held in combination with the printer model name (printer driver) and customization information.

また、図16に示すデータの保持形式では、未カスタマイズのプリンタモデル名に対応するデータには、未カスタマイズであることを示す識別情報(例えば、「0クリア」など)が保持されている。カスタマイズツールが、カスタマイズ情報保持エリアをinfファイル内に確保したときに、カスタマイズされていないプリンタモデルに関しては、設定ボタン350が押下されると、識別情報に代わりカスタマイズ情報が、保持されることになる。カスタマイズツールは、カスタマイズ情報保持エリアにおいて、識別情報が保持されているか、カスタマイズ情報が保持されているかにより、対応するプリンタモデルがカスタマイズされているか判別することができる。   In the data holding format shown in FIG. 16, the identification information (for example, “0 clear”) indicating that the data is not customized is held in the data corresponding to the uncustomized printer model name. When the customization tool secures the customization information holding area in the inf file, for the printer model that has not been customized, when the setting button 350 is pressed, the customization information is held instead of the identification information. . The customization tool can determine whether the corresponding printer model is customized based on whether identification information is retained or customization information is retained in the customization information retaining area.

ボタン330を押下することで、カスタマイズドライバの作成先を指定するためのダイアログ(不図示)が表示され、カスタマイズドライバの作成先を指定することができる。   By pressing the button 330, a dialog (not shown) for designating the creation destination of the customized driver is displayed, and the creation destination of the customized driver can be designated.

各種設定を行った後、ボタン340を押下すると、設定に従ってカスタマイズされたプリンタドライバが作成される。   When the user presses the button 340 after performing various settings, a printer driver customized according to the settings is created.

図4は、図3のUIにおいて、ボタン311を押下すると表示されるプリンタドライバ(以下、単に「ドライバ」ともいう)の初期設定値カスタマイズ用のプリンタドライバUI(初期設定値カスタマイズUI)である。   FIG. 4 shows a printer driver UI (initial setting value customization UI) for initial setting value customization of a printer driver (hereinafter also simply referred to as “driver”) displayed when the button 311 is pressed in the UI of FIG.

カスタマイズツールはCPU1の制御の下、情報処理装置の設定部として機能し、かかる設定部は、例えば、図4に示すUI画面のような文書のプロパティ設定とデバイスのプロパティ設定を行なうための設定画面をCRT上に表示させる。   The customization tool functions as a setting unit of the information processing apparatus under the control of the CPU 1. The setting unit is, for example, a setting screen for setting document properties and device properties such as a UI screen shown in FIG. Is displayed on the CRT.

Windows(登録商標) NT4.0、Windows (登録商標)2000/XP/Server 2003のプリンタドライバでは、文書用の設定を行なうドキュメントプロパティのUIと、デバイスの設定を行なうプリンタプロパティのUIとが同時に1つのUI画面中に表示されることは、通常のインストールによるプリンタドライバの設定に関するUI画面では表示され得ない。しかしながら、本発明の実施形態にかかるカスタマイズ用のプリンタドライバUIは、カスタマイズツールがプリンタドライバのモジュールを利用して表示を行なう。そして、文書用の設定を行なうドキュメントプロパティのUIと、デバイスの設定を行なうプリンタプロパティのUIとを同時に1つのUI画面(図4)として表示するようになっている。図4において、ドキュメントプロパティのUIとして、ページ設定401、仕上げ402、給紙403、印刷品質404の4種類のUIが表示可能であり、そして、プリンタプロパティのUIとしてデバイスの設定405が表示可能である。これらの各UI(401〜405)を介して、ドキュメントプロパティの初期値設定と、プリンタプロパティの初期値設定を行なうことができる。   In the printer driver of Windows (registered trademark) NT4.0 and Windows (registered trademark) 2000 / XP / Server 2003, the document property UI for setting a document and the printer property UI for setting a device are set to 1 at the same time. What is displayed in one UI screen cannot be displayed on a UI screen related to printer driver settings by normal installation. However, the printer driver UI for customization according to the embodiment of the present invention is displayed by the customization tool using the module of the printer driver. A document property UI for setting a document and a printer property UI for setting a device are simultaneously displayed as one UI screen (FIG. 4). In FIG. 4, four types of UIs such as page setting 401, finishing 402, paper feed 403, and print quality 404 can be displayed as the document property UI, and the device setting 405 can be displayed as the printer property UI. is there. Through these UIs (401 to 405), it is possible to set the initial value of the document property and the initial value of the printer property.

また、カスタマイズ対象でない設定に関して、図4に示すUIは、例えば、参照番号410のようにグレイアウト表示により、ユーザによる設定の入力を受け付けないように構成されている。   Further, regarding settings that are not to be customized, the UI shown in FIG. 4 is configured not to accept input of settings by the user, for example, by gray-out display as indicated by reference numeral 410.

図5は、ドキュメントプロパティ表示コントロール設定UIを例示する図であり、図3でボタン321を押下した際に、ホストコンピュータ3000のCRT10上に表示される。図5に示す画面例では、ページ設定501、仕上げ502、給紙503、印刷品質504、共通505の5種類について、表示制御の設定が可能である。ページ設定501、仕上げ502、給紙503、印刷品質504は、それぞれ、図4のドキュメントプロパティのUIと対応する表示制御の設定を行なうことが可能であり、共通505は、これらの表示制御に共通の表示制御の設定を行なうことが可能である。   FIG. 5 is a diagram illustrating a document property display control setting UI, which is displayed on the CRT 10 of the host computer 3000 when the button 321 is pressed in FIG. In the screen example shown in FIG. 5, display control can be set for five types of page settings 501, finishing 502, paper feed 503, print quality 504, and common 505. The page setting 501, finishing 502, paper feed 503, and print quality 504 can be set for display control corresponding to the document property UI shown in FIG. 4, and the common 505 is common to these display controls. The display control can be set.

506は、コントロール項目「Job Operations」の設定を具体的に示しており、有効表示(通常通りの表示)、無効表示(常にDisable表示)、非表示(Hide表示)を指定することができる。同様にその他の各コントロール項目について個別に、有効、無効、非表示の設定をすることでドキュメントプロパティのUIに関する表示をコントロールすることができる。これらの設定を入力すると、カスタマイズツールは、GPDファイルに書き込む。   Reference numeral 506 specifically indicates the setting of the control item “Job Operations”, and can specify valid display (display as usual), invalid display (always Disable display), and non-display (Hide display). Similarly, display of the document property UI can be controlled by individually setting valid, invalid, and non-display for other control items. Once you enter these settings, the customization tool writes to the GPD file.

カスタマイズツールはCPU1の制御の下、情報処理装置の表示制御部として機能する。表示制御部は設定された文書のプロパティ(コントロール項目を含む)に基づいて、ユーザインタフェース(UI)における項目の有効表示、無効表示または非表示を制御することができる。   The customization tool functions as a display control unit of the information processing apparatus under the control of the CPU 1. The display control unit can control effective display, invalid display, or non-display of items in the user interface (UI) based on the set document properties (including control items).

次に、図6のフローチャートを用いて、カスタマイズツールの基本動作について説明する。尚、基本動作の実行においては、ホストコンピュータ3000におけるCPU1により実行されるカスタマイズツールが動作の主体となるものとする。   Next, the basic operation of the customization tool will be described using the flowchart of FIG. In the execution of the basic operation, the customization tool executed by the CPU 1 in the host computer 3000 is the main operation.

まず、ステップS601において、ユーザがカスタマイズツールを起動すると、カスタマイズツールの初期化処理がなされ、ステップS602において、カスタマイズツールは、図3で説明したUI画面をCRT10上に表示する。ステップS603において、ユーザがカスタマイズを行なうプリンタドライバのインストールセットを図3のUI画面から指示すると、ステップS604において、指示されたインストールセットのチェック処理を行なう。   First, in step S601, when the user activates the customization tool, the customization tool is initialized. In step S602, the customization tool displays the UI screen described with reference to FIG. In step S603, when the user designates an installation set of the printer driver to be customized from the UI screen of FIG. 3, in step S604, the designated installation set is checked.

カスタマイズツールは、インストールセットのチェック処理において、図7に示すプリンタドライバのインストール情報を記述するファイル(infファイル)の記述内容から判定を行う。インストール情報を記述するファイルの記述内容(図7の701、710、720)から、指示されたインストールセットに対応可能なOSか、指示されたプリンタドライバがカスタマイズツールによるカスタマイズに対応したプリンタドライバであるか判定する。   In the installation set check process, the customization tool makes a determination based on the description contents of a file (inf file) describing printer driver installation information shown in FIG. Based on the description contents of the file describing the installation information (701, 710, 720 in FIG. 7), the OS is compatible with the instructed installation set, or the instructed printer driver is a printer driver corresponding to customization by the customization tool. To determine.

印刷装置を制御するデバイスドライバ(プリンタドライバ)を、プロパティ(文書用の設定を行なうドキュメントプロパティに関する初期値データと、デバイスの設定を行なうプリンタプロパティに関する初期値データ)の設定によりカスタマイズする情報処理装置は、複数のデバイスドライバを特定する特定部と、一回のデバイスドライバのカスタマイズの指示に応じて、文書のプロパティまたはデバイスのプロパティに対応するプロパティ情報を、特定部が特定した複数のデバイスドライバに設定する設定部とを備えることが好適である。この場合、情報処理装置において、上述の各部は、CPU1の制御の下、カスタマイズツールを実行することにより、各部の処理が実行される。   An information processing apparatus that customizes a device driver (printer driver) that controls a printing apparatus by setting properties (initial value data related to a document property for setting a document and initial value data related to a printer property for setting a device) The property information corresponding to the document property or the device property is set in the multiple device drivers specified by the specific unit in response to the customization instruction for one device driver and the specific unit that identifies multiple device drivers. It is preferable to include a setting unit. In this case, in the information processing apparatus, each unit described above executes processing of each unit by executing the customization tool under the control of the CPU 1.

ここで、図7は、プリンタドライバのインストール情報を記述するinfファイルの記述内容を例示する図である。このinfファイルには、モジュール記述情報が含まれており(不図示)、このモジュール記述情報に基づいて、カスタマイズツールはプリンタドライバのUI処理を行っているモジュールを特定することができるものとする。図7において、700はWindows(登録商標)98/ME用のinfファイルの一部を示し、710はWindows(登録商標)NT4.0用のinfファイルの一部を示し、そして720はWindows(登録商標)2000/XP/Server2003用のinfファイルの一部を示している。CPU1により実行されるカスタマイズツールは、infファイル700中の「Signature」の設定730が、文字列リソース("$CHICAGO$")であれば、Windows(登録商標)98/ME用のプリンタドライバと判断する。   Here, FIG. 7 is a diagram illustrating the description content of an inf file describing installation information of the printer driver. This inf file includes module description information (not shown), and based on this module description information, the customization tool can specify the module that is performing the UI processing of the printer driver. In FIG. 7, 700 indicates a part of an inf file for Windows (registered trademark) 98 / ME, 710 indicates a part of an inf file for Windows (registered trademark) NT4.0, and 720 indicates a Windows (registered). (Trademark) A part of inf file for 2000 / XP / Server2003 is shown. If the “Signature” setting 730 in the inf file 700 is a character string resource (“$ CHICAGO $”), the customization tool executed by the CPU 1 determines that the printer driver is for Windows (registered trademark) 98 / ME. To do.

また、カスタマイズツールは、infファイル(710、720)中の「Signature」の設定(740、750)が、文字列リソース("$Windows(登録商標)NT$")である場合は、Windows(登録商標)NT4.0用または、Windows(登録商標)2000/XP/Server 2003用のドライバのいずれかであると判断する。更に、カスタマイズツールは、絞り込みを行なうために、infファイル(710、720)中にける「DISK1」(760、770)の設定文字列リソース内に「NT」が含まれている場合にはWindows(登録商標) NT4.0用と判断する。「NT」が含まれていない場合には、Windows (登録商標)2000/XP/Server 2003用と判断する。   Also, the customization tool uses Windows (registered) if the “Signature” setting (740, 750) in the inf file (710, 720) is a character string resource (“$ Windows (registered trademark) NT $”). (Trademark) It is determined that the driver is for NT4.0 or Windows (registered trademark) 2000 / XP / Server 2003. Further, in order to narrow down the customization tool, if “NT” is included in the setting character string resource of “DISK1” (760, 770) in the inf file (710, 720), Windows ( (Registered trademark) Judged for NT4.0. If “NT” is not included, it is determined that the product is for Windows (registered trademark) 2000 / XP / Server 2003.

カスタマイズに対応しているプリンタドライバは、そのことを示すための文字列リソースをinfファイル中に含んでいる。そのため、カスタマイズツールは、判別に際して、その文字列リソースがプリンタドライバのinfファイル中に含まれているかを判断することにより、カスタマイズに対応しているか判別することができる。   The printer driver that supports customization includes a character string resource in the inf file to indicate that. For this reason, the customization tool can determine whether the character string resource is included in the inf file of the printer driver when determining whether it is compatible with customization.

説明を図6に戻し、ステップS605において、プリンタドライバがカスタマイズに対応していないとカスタマイズツールにより判別される場合は(S605−NO)、処理をステップS610に進める。そして、エラー処理を行い、再度インストールセットの指示ステップ(S603)に戻る。   Returning to FIG. 6, if the customization tool determines in step S605 that the printer driver does not support customization (S605-NO), the process proceeds to step S610. Then, error processing is performed, and the process returns to the installation set instruction step (S603) again.

一方、ステップS605の判定において、プリンタドライバがカスタマイズに対応しているとカスタマイズツールにより判別される場合には(S605−YES)、処理をステップS606に進める。カスタマイズツールは、CRTC6を制御してCRT10上に図3〜図5で説明したUI画面を表示させてプリンタドライバのカスタマイズの設定を可能にする。   On the other hand, in the determination in step S605, if the customization tool determines that the printer driver supports customization (S605-YES), the process proceeds to step S606. The customization tool controls the CRTC 6 to display the UI screen described with reference to FIGS. 3 to 5 on the CRT 10 to enable customization of the printer driver.

図3〜図5で入力される設定がカスタマイズデータとなる。カスタマイズデータは、プリンタドライバが読み出し可能なファイルであるGPDファイルに設定される。プリンタドライバは、インストールされ、稼動状態に設定されると、GPDファイル内の設定値を読み込む。そして、プリンタドライバは、GPDファイル内のカスタマイズされた値をプリンタドライバに反映する。例えば、よく使う印刷設定値(両面、2in1など)のプリセットをプリンタドライバに予め反映しておく。カスタマイズされたドライバをインストールするだけで、よく使う印刷設定値や、ドライバに対して操作前の状態に戻す指示があった場合にドライバに設定される、印刷設定のカスタマイズされたデフォルト値がプリンタドライバに設定された状態となる。   The settings input in FIGS. 3 to 5 are the customization data. The customization data is set in a GPD file that is a file that can be read by the printer driver. When the printer driver is installed and set to the operating state, it reads the setting value in the GPD file. Then, the printer driver reflects the customized value in the GPD file to the printer driver. For example, frequently used print setting values (double-sided, 2-in-1 etc.) are preset in the printer driver. By simply installing a customized driver, the printer driver uses frequently used print setting values and customized default values for print settings that are set in the driver when the driver is instructed to return to the state before the operation. Will be set to.

ステップS607において、カスタマイズドライバの作成指示がなされると、ステップS608において、カスタマイズドライバの作成処理を行なう。ここで、図17は、ステップS608の処理の具体的な処理の内容を説明する図であり、1つのドライバセット内に存在する複数のプリンタドライバに対して、カスタマイズを一括して行なう処理の流れを説明するフローチャートである。   When an instruction to create a customized driver is issued in step S607, a customized driver creation process is performed in step S608. Here, FIG. 17 is a diagram for explaining the specific processing contents of the processing in step S608, and the flow of processing for customizing a plurality of printer drivers existing in one driver set collectively. It is a flowchart explaining these.

カスタマイズドライバの作成処理において、カスタマイズツールは、まず、カスタマイズ元のインストールセットをカスタマイズドライバ作成先にコピーする。その後(S1701)、カスタマイズツールが、カスタマイズデータを設定するためのデバイスドライバを特定するため、infファイルにリスト化されているプリンタドライバの順番をチェックする。例えば、図14の場合、プリンタモデル3、プリンタモデル7、プリンタモデル1、プリンタモデル2の順番による。そして、カスタマイズデータが設定されているかチェックする(S1702)。カスタマイズデータの設定について、図15及び図16で説明した識別情報の有無により、カスタマイズツールは判別することが可能である。なお、カスタマイズツールは、ユーザなどの外部からの選択指示の入力を受けて、カスタマイズデータを設定するためのデバイスドライバを特定するようにしてもよい。その場合は、プリンタドライバ種類、カスタマイズデータの格納先などを、INFファイルに記載されている情報をユーザに入力させることになる。   In the customization driver creation process, the customization tool first copies the customization source installation set to the customization driver creation destination. Thereafter (S1701), the customization tool checks the order of the printer drivers listed in the inf file in order to identify the device driver for setting the customization data. For example, in the case of FIG. 14, the printer model 3, the printer model 7, the printer model 1, and the printer model 2 are used in this order. Then, it is checked whether customized data is set (S1702). The customization tool can determine the setting of the customization data based on the presence or absence of the identification information described with reference to FIGS. 15 and 16. The customization tool may specify a device driver for setting customization data in response to an input of a selection instruction from the outside such as a user. In that case, the user is required to input information described in the INF file, such as the printer driver type and the storage location of the customization data.

カスタマイズデータが対応するプリンタドライバに設定されているときは(S1703−YES)、処理をステップS1704に進める。カスタマイズツールは、コピー先のインストールセットに含まれているドライバ情報ファイル(このファイルを「UPDファイル」ともいう)へカスタマイズデータを書き込むことで(S1704)、カスタマイズドライバを作成する(S1705)。ステップS1706において、リスト化された全てのプリンタドライバについて、チェックが終了していない場合は(S1706―NO)、処理をステップS1703に戻す。そして、次のプリンタドライバに関して、カスタマイズデータが設定されているかをチェックする(S1703)。設定されている場合、カスタマイズツールは、対応するプリンタドライバのUPDファイルにカスタマイズデータの書き込み処理を繰り返し行なう。リスト化された全てのプリンタドライバに対するチェックが終了した場合は(S1706−YES)、図17のフローチャートを終了し、図6のステップS608に処理を戻す。以上の処理により、1つのドライバセット内に存在する複数のプリンタドライバに対して、カスタマイズデータを反映させたカスタマイズドライバがカスタマイズツールにより作成される。   If the customization data is set in the corresponding printer driver (YES in S1703), the process proceeds to step S1704. The customization tool writes customization data to a driver information file (this file is also referred to as “UPD file”) included in the copy destination installation set (S1704), thereby creating a customized driver (S1705). In step S1706, if all the printer drivers listed are not checked (S1706—NO), the process returns to step S1703. Then, it is checked whether customization data is set for the next printer driver (S1703). If set, the customization tool repeatedly performs the process of writing the customization data to the UPD file of the corresponding printer driver. If all the printer drivers listed have been checked (S1706: YES), the flowchart of FIG. 17 is terminated, and the process returns to step S608 of FIG. With the above processing, a customization driver reflecting customization data is created by the customization tool for a plurality of printer drivers present in one driver set.

印刷装置を制御するデバイスドライバ(プリンタドライバ)を、プロパティ(文書用の設定を行なうドキュメントプロパティに関する初期値データと、デバイスの設定を行なうプリンタプロパティに関する初期値データ)の設定によりカスタマイズする情報処理装置は、複数のデバイスドライバを特定する特定部と、一回のデバイスドライバのカスタマイズの指示に応じて、文書のプロパティまたはデバイスのプロパティに対応するプロパティ情報を、特定部が特定した複数のデバイスドライバに設定する設定部とを備える。情報処理装置において、上述の各部は、CPU1の制御の下、カスタマイズツールを実行することにより、各部の処理が実行される。   An information processing apparatus that customizes a device driver (printer driver) that controls a printing apparatus by setting properties (initial value data related to a document property for setting a document and initial value data related to a printer property for setting a device) The property information corresponding to the document property or the device property is set in the multiple device drivers specified by the specific unit in response to the customization instruction for one device driver and the specific unit that identifies multiple device drivers. And a setting unit. In the information processing apparatus, each unit described above executes processing of each unit by executing a customization tool under the control of the CPU 1.

ここで、図9は、プリンタドライバを構成する1ファイルである、ドライバ情報ファイル(UPDファイル)のデータフォーマットを説明する図である。同図に示すように、UPDファイルはヘッダ901、ID定義902、データ903からなる。ID定義902には、データ903に格納されているデータのIDと、データの格納位置(アドレス)との組が格納されている。そして、その組がIDの数に相当する分のセットで格納されている。本実施形態に係るカスタマイズツールでは、カスタマイズ用に定義されたIDに対応するデータの値を変更している。尚、ID定義902に使用したいカスタマイズデータのIDが定義されていない場合は、そのカスタマイズデータに対応する新たなIDがID定義902に追加される。   Here, FIG. 9 is a diagram illustrating the data format of a driver information file (UPD file), which is one file constituting the printer driver. As shown in the figure, the UPD file includes a header 901, an ID definition 902, and data 903. The ID definition 902 stores a set of an ID of data stored in the data 903 and a storage position (address) of the data. The set is stored as a set corresponding to the number of IDs. In the customization tool according to the present embodiment, the data value corresponding to the ID defined for customization is changed. If the ID of customization data to be used is not defined in the ID definition 902, a new ID corresponding to the customization data is added to the ID definition 902.

カスタマイズされたプリンタドライバは、カスタマイズツールにより、カスタマイズデータが書き込まれたUPDファイルを、インストール時又は初回の起動時に読み込む。そして、UPDファイルのID定義902の所定IDに対応付けて格納されたデータ903を読み込むように実装される。例えば、カスタマイズツールにより作成されたUPDファイルには、ID定義902内に「CUSTUMIZED」を示すIDと、そのデータ格納位置として番地Xが格納されているとする。   The customized printer driver reads the UPD file in which the customization data is written by the customization tool at the time of installation or first activation. Then, it is implemented so as to read data 903 stored in association with a predetermined ID in the ID definition 902 of the UPD file. For example, it is assumed that an ID indicating “CUSTUMIZED” and an address X as the data storage position are stored in the ID definition 902 in the UPD file created by the customization tool.

カスタマイズ対応のプリンタドライバは、インストール完了又は初回起動時において、ID定義902内に「CUSTUMIZED」を示すID情報が記憶されていた場合、その情報に対応する番地を読み出すように予め実装されている。よって、このプリンタドライバは、インストール完了時又は初回起動時には、UPDファイルのID定義902内に「CUSTUMIZED」を示すIDを含むとき、そのID定義から対応するデータの番地Xを読み出す。続いて、そのプリンタドライバは、この番地Xのデータ903から、実際のドライバ設定データであるデバイスモードのデータ構造を更に読み出す。尚、ここで番地Xは絶対アドレスであってもよく、或はヘッダ901にデータ903の先頭アドレスを格納しておき、番地Xにはこのデータ903の先頭番地からのオフセットアドレスをセットしてもよい。   The printer driver that supports customization is mounted in advance so that when ID information indicating “CUSTUMIZED” is stored in the ID definition 902 at the time of completion of installation or initial startup, an address corresponding to the information is read. Therefore, this printer driver reads the address X of the corresponding data from the ID definition when the ID is displayed in the ID definition 902 of the UPD file when the installation is completed or at the first activation. Subsequently, the printer driver further reads the data structure of the device mode, which is actual driver setting data, from the data 903 of the address X. Here, the address X may be an absolute address, or the head address of the data 903 is stored in the header 901 and the offset address from the head address of the data 903 is set in the address X. Good.

カスタマイズツールはCPU1の制御の下、情報処理装置の表示制御部として機能する。係る表示制御部は、プリンタドライバの起動時において、プリンタドライバのドライバ情報ファイル(UPDファイル)を参照する。かかるUPDファイルに設定されているカスタマイズデータに基づいてユーザインタフェースをCRT10に表示させることができる。   The customization tool functions as a display control unit of the information processing apparatus under the control of the CPU 1. The display control unit refers to the driver information file (UPD file) of the printer driver when the printer driver is activated. The user interface can be displayed on the CRT 10 based on the customization data set in the UPD file.

本実施形態において、カスタマイズツールは、カスタマイズデータとして、文書用の設定を行なうドキュメントプロパティに関する初期値データ(図4の401〜404により設定されるデータ)と、デバイスの設定を行なうプリンタプロパティに関する初期値データ(図4の405により設定される)、及び、ドキュメントプロパティに関するUI上のコントロールの表示方法に関するデータ(図5のUI画面より設定されたデータ)をUPDファイルに対して書き込みを行なう。カスタマイズされたプリンタドライバは、インストール完了時又は初回起動時に、カスタマイズツールにより作成されたUPDファイルを読み込み、カスタマイズ情報を元に動作する。これにより、カスタマイズされたプリンタドライバの動作環境を容易に構築することができる。   In this embodiment, the customization tool uses, as customization data, initial value data relating to document properties for setting a document (data set by 401 to 404 in FIG. 4) and initial values relating to printer properties for setting a device. Data (set by 405 in FIG. 4) and data related to the display method of controls on the UI related to document properties (data set from the UI screen in FIG. 5) are written into the UPD file. The customized printer driver operates based on the customization information by reading the UPD file created by the customization tool when the installation is completed or at the first activation. Thereby, the operating environment of the customized printer driver can be easily constructed.

説明を図6に戻し、カスタマイズドライバが作成された後(S608)、ユーザから終了指示がなされる(S609)とカスタマイズツールの動作を終了する(S611)。   Returning to FIG. 6, after the customization driver is created (S608), when the user gives an end instruction (S609), the operation of the customization tool is ended (S611).

次に、図8のフローチャートを用いて、CPU1により実行されるカスタマイズツールが、プリンタドライバのカスタマイズ用UIを表示する処理について説明する。尚、本処理の実行においては、ホストコンピュータ3000におけるCPU1により実行されるカスタマイズツールが動作の主体となるものとする。   Next, processing for displaying a printer driver customization UI by the customization tool executed by the CPU 1 will be described with reference to the flowchart of FIG. In the execution of this process, it is assumed that the customization tool executed by the CPU 1 in the host computer 3000 is the main operation.

図3のボタン311が押下されると、カスタマイズツールは、プリンタドライバのUI処理を行っているモジュールをinfファイルに含まれているモジュール記述情報を元に特定する。そして、カスタマイズツールから呼び出しが可能なように、メモリにロードする(S801)。   When the button 311 in FIG. 3 is pressed, the customization tool specifies the module that performs the UI processing of the printer driver based on the module description information included in the inf file. Then, it is loaded into the memory so that it can be called from the customization tool (S801).

次に、ステップS802において、プリンタドライバのモジュールがエクスポートしている関数のアドレスを取得する(S802)。そして、カスタマイズツールと、カスタマイズに対応しているプリンタドライバとの間で情報をやりとりするための構造体であるCSPL構造体(不図示)を初期化する(S803)。CSPL構造体には、インストールされていなくてもプリンタドライバのUI制御が可能なように各種の情報が保存される。   In step S802, the address of the function exported by the printer driver module is acquired (S802). Then, a CSPL structure (not shown), which is a structure for exchanging information between the customization tool and the printer driver that supports customization, is initialized (S803). Various information is stored in the CSPL structure so that UI control of the printer driver is possible even if it is not installed.

その後、ステップS804においてプロパティシート(カスタマイズ用のドライバUI)の表示処理を行なう。このとき、図4で示したように、ドキュメントプロパティとプリンタプロパティを同時にカスタマイズできるように、両方のプロパティページが1つのUI画面に表示されるようにプロパティシートの表示関数を呼び出す。   In step S804, a property sheet (customization driver UI) is displayed. At this time, as shown in FIG. 4, the property sheet display function is called so that both property pages are displayed on one UI screen so that the document property and the printer property can be customized at the same time.

カスタマイズ用のドライバUIがユーザによって閉じられると、カスタマイズ用のドライバUIにて設定された情報がCSPL構造体に保持される。そのため、カスタマイズツールは、その情報に対応するプリンタドライバの情報をCSPL構造体(DeviceOption構造体、Devmode構造体を含む)から取得する(S805)。   When the customization driver UI is closed by the user, information set in the customization driver UI is held in the CSPL structure. Therefore, the customization tool acquires printer driver information corresponding to the information from the CSPL structure (including the DeviceOption structure and Devmode structure) (S805).

カスタマイズツールは、CPU1の制御の下、文書のプロパティまたはデバイスのプロパティに対応するプリンタドライバのデータを取得する取得部として機能する。かかる取得部は、プリンタドライバの設定に関するデータを保持し、データの受け渡しが可能なデータ保持部(CSPL構造体)とデータの受け渡しを行なうことにより、プリンタドライバの情報を取得することができる。この際、取得部はUI画面(図3〜図5)により設定された文書のプロパティ又はデバイスのプロパティに対応するデータを、データ保持部(CSPL構造体)に保持させる。データ保持部(CSPL構造体)からこれらのプロパティに対応するプリンタドライバの情報をカスタマイズ用の設定情報として取得することができる。   The customization tool functions as an acquisition unit that acquires printer driver data corresponding to document properties or device properties under the control of the CPU 1. The acquisition unit can acquire printer driver information by holding data related to printer driver settings and exchanging data with a data holding unit (CSPL structure) capable of transferring data. At this time, the acquisition unit causes the data holding unit (CSPL structure) to hold data corresponding to the document property or device property set on the UI screen (FIGS. 3 to 5). Printer driver information corresponding to these properties can be acquired from the data holding unit (CSPL structure) as customization setting information.

カスタマイズツールは、このデータ保持部の内容を、後述するGPDファイルに対して書き込む。プリンタドライバは、呼び出されたときに、カスタマイズされたGPDファイルがあるかどうかを判定する。カスタマイズされたGPDファイルがあるとプリンタドライバが判定した場合、カスタマイズされたGPDファイルの中のカスタマイズされた印刷設定やUI制御データなどをプリンタドライバが読み出す。そして、プリンタドライバはカスタマイズ設定される。   The customization tool writes the contents of the data holding unit into a GPD file described later. When invoked, the printer driver determines whether there is a customized GPD file. When the printer driver determines that there is a customized GPD file, the printer driver reads customized print settings, UI control data, and the like in the customized GPD file. The printer driver is customized.

すなわち、このカスタマイズ用の設定情報に基づいて、表示制御部として機能するカスタマイズツールは、プリンタドライバのUIモジュールを呼び出す。呼び出されたプリンタドライバのUIモジュールは、後述する擬似APIを用いて、図3乃至図5のUIを介して設定されたカスタマイズ情報CRT10に表示させる。例えば、コントロールの表示制御の指定や、印刷設定情報のデフォルト値等を反映したカスタマイズされたユーザインタフェースをCRT10に表示させる。   That is, the customization tool that functions as a display control unit calls the UI module of the printer driver based on the setting information for customization. The called UI module of the printer driver is displayed on the customization information CRT 10 set via the UI shown in FIGS. 3 to 5 using a pseudo API described later. For example, the CRT 10 displays a customized user interface reflecting the control display control, the default value of the print setting information, and the like.

カスタマイズの設定情報として、プリンタプロパティの設定情報は、DeviceOption構造体(不図示)に、ドキュメントプロパティの設定情報は、Devmode構造体(不図示)に格納されている。カスタマイズツールは、これらに格納されている設定情報をカスタマイズの設定情報として取得する。   As customization setting information, printer property setting information is stored in a DeviceOption structure (not shown), and document property setting information is stored in a Devmode structure (not shown). The customization tool acquires the setting information stored in these as customization setting information.

その後、ステップS806において、先のステップS801において、メモリにロードしたモジュールをアンロードして、カスタマイズ用ドライバUIの表示を終了する(S807)。   Thereafter, in step S806, the module loaded in the memory in the previous step S801 is unloaded, and the display of the customization driver UI is ended (S807).

この処理フローについては、プリンタドライバの対応OSによって若干処理は異なっている。例えば、Windows(登録商標) NT4.0とWindows(登録商標) 2000/XP/Server 2003は、ドライバUIの表示にCommon Property SheetUIというOSの仕組みを利用している。このため、必要な前処理をして、Common Property SheetUI関数の呼び出しを行っている。一方、Windows (登録商標)98/MEでは、必要な前処理をして、Property Sheet関数を呼び出してUIの表示を行っている。ただし、基本的な処理フローについては図8で示したとおりである。   This processing flow is slightly different depending on the corresponding OS of the printer driver. For example, Windows (registered trademark) NT4.0 and Windows (registered trademark) 2000 / XP / Server 2003 use an OS mechanism called Common Property SheetUI for displaying the driver UI. Therefore, necessary preprocessing is performed and the Common Property SheetUI function is called. On the other hand, in Windows (registered trademark) 98 / ME, necessary pre-processing is performed, and the Property Sheet function is called to display the UI. However, the basic processing flow is as shown in FIG.

図10Aは、プリンタドライバが実装しているWindows(登録商標) API(ApplicationProgramming Interface:アプリケーション プログラム インターフェース)の呼び出しについて説明する図である。プリンタドライバがインストールされている場合は、プリンタドライバのUI処理1010において、Windows (登録商標)API(図中では、単に「API」と示す)を呼び出し1040(通常の呼び出し時)、カスタマイズに対応したプリンタドライバがインストールされていない場合であって、カスタマイズツールからの呼び出しの場合は、疑似Windows (登録商標)API1060(図中では、単に「擬似API」と示す)を呼び出し(1050)、対応関係にあるWindows (登録商標)APIの処理を疑似Windows (登録商標)APIで擬似的にシミュレートして、その結果をプリンタドライバUI処理1010に返す。   FIG. 10A is a diagram for explaining calling of a Windows (registered trademark) API (Application Programming Interface) implemented by the printer driver. When the printer driver is installed, in the printer driver UI processing 1010, a Windows (registered trademark) API (simply shown as “API” in the figure) is called 1040 (during normal calling), and customization is supported. When the printer driver is not installed and the call is made from the customization tool, the pseudo Windows (registered trademark) API 1060 (simply shown as “pseudo API” in the drawing) is called (1050), and the correspondence relationship is established. A certain Windows (registered trademark) API process is simulated in a pseudo Windows (registered trademark) API, and the result is returned to the printer driver UI process 1010.

図10Bに示す1030は、Windows (登録商標)APIと対応する疑似(登録商標) API名の関係を示す図であり(図中では、それぞれ「API」、「擬似API名」と示す)、この対応関係は、プリンタドライバに予め設定しておくことができるものとする。なお、通常、プリンタドライバのユーザインタフェースを制御するプログラムは、ドライバに対する入力に応じてWindows (登録商標)APIの呼び出しを行なう。本実施形態では、プリンタドライバをインストールしていない状態では、Windows(登録商標) APIを呼び出すことはできないが、擬似APIを呼び出すことは出来るよう構成されている。   1030 shown in FIG. 10B is a diagram showing the relationship between the Windows (registered trademark) API and the corresponding pseudo (registered trademark) API name (in the diagram, indicated as “API” and “pseudo API name”, respectively). The correspondence relationship can be set in advance in the printer driver. Normally, a program that controls the user interface of the printer driver calls a Windows (registered trademark) API in response to an input to the driver. In this embodiment, the Windows (registered trademark) API cannot be called in a state where the printer driver is not installed, but the pseudo API can be called.

疑似Windows(登録商標) APIは、カスタマイズツールからの呼び出しの場合、疑似Windows (登録商標) APIがWindows (登録商標) APIの処理をシミュレートして処理をプリンタドライバUI処理1010に返し、OSにプリンタドライバがインストールされた後に通常のドライバUIとして呼び出された場合には、通常のWindows(登録商標) API1020の呼び出しを行って、処理をプリンタドライバUI処理1010に返す。   In the case of a call from the customization tool, the pseudo Windows (registered trademark) API simulates the processing of the Windows (registered trademark) API and returns the processing to the printer driver UI processing 1010 to the OS. When the printer driver is called as a normal driver UI after being installed, a normal Windows (registered trademark) API 1020 is called and the processing is returned to the printer driver UI processing 1010.

図11は、疑似Windows(登録商標) API(図中では、単に「擬似API」と示す)の呼び出しに関する処理の流れを説明するフローチャートである。尚、本処理の実行においては、ホストコンピュータ3000におけるCPU1により実行されるカスタマイズツールが動作の主体となるものとする。   FIG. 11 is a flowchart for explaining the flow of processing related to calling a pseudo Windows (registered trademark) API (simply referred to as “pseudo API” in the figure). In the execution of this process, it is assumed that the customization tool executed by the CPU 1 in the host computer 3000 is the main operation.

まず、ステップS1110において、カスタマイズツールは、疑似Windows (登録商標)APIの引数に含まれるプリンタハンドル(引数)が、カスタマイズツールからの呼び出し時に受け渡されるCSPL構造体のアドレス情報(以下、単に「アドレス情報」ともいう)であるかを判定する。この判定方法は、CSPL構造体の先頭メンバはCSPL構造体のサイズを示すようになっているので、渡されたプリンタハンドル(引数)をCSPL構造体の先頭アドレスとして扱って参照し、CSPL構造体のサイズと一致している場合には、引数のプリンタハンドルはCSPL構造体のアドレスであると判断する(S1110−YES)。プリンタドライバUIモジュールは、処理結果、たとえばUIを通して入力された印刷設定の各項目の値や、コントロールの表示の指定を、ハンドルで指定された構造体に保存し、処理を終了する。   First, in step S1110, the customization tool receives the address information (hereinafter simply “address”) of the CSPL structure in which the printer handle (argument) included in the argument of the pseudo Windows (registered trademark) API is passed when calling from the customization tool. It is also referred to as “information”. In this determination method, since the top member of the CSPL structure indicates the size of the CSPL structure, the passed printer handle (argument) is referred to as the head address of the CSPL structure, and the CSPL structure is referred to. If it is equal to the size, the printer handle of the argument is determined to be the address of the CSPL structure (S1110-YES). The printer driver UI module stores the processing result, for example, the value of each item of the print setting input through the UI and the designation of the control display in the structure designated by the handle, and ends the processing.

引数のプリンタハンドルがCSPL構造体のアドレスではない場合(S1110−NO)、通常のプリンタドライバの動作となる。この場合、そのまま、Windows (登録商標)API(図中では、単に「API」と示す)の呼び出しを行って(S1120)、処理を終了する。プリンタドライバUIモジュールは、処理結果、たとえばUIを通して入力された印刷設定の各項目の値や、コントロールの表示の指定を、ハンドルで指定された構造体に保存し、処理を終了する。   When the printer handle of the argument is not the address of the CSPL structure (S1110-NO), normal printer driver operation is performed. In this case, the Windows® API (simply indicated as “API” in the figure) is called as it is (S1120), and the process is terminated. The printer driver UI module stores the processing result, for example, the value of each item of the print setting input through the UI and the designation of the control display in the structure designated by the handle, and ends the processing.

ステップS1110の判断において、引数のプリンタハンドルがCSPL構造体のアドレスと一致する場合には(S1110−YES)、処理をステップS1130に進め、カスタマイズツールからの呼び出し、すなわち、プリンタドライバがインストールされていない状態で、Windows (登録商標)APIの呼び出しを行なう。この場合、プリンタドライバをインストールしていない状態では、Windows(登録商標) APIを呼び出すことはできないので、擬似Windows(登録商標) API によりWindows (登録商標)APIと同等の処理を行って(S1130)、その処理結果をプリンタドライバUI処理1010に戻し、処理を終了する。   If it is determined in step S1110 that the printer handle of the argument matches the address of the CSPL structure (S1110-YES), the process proceeds to step S1130 to call from the customization tool, that is, the printer driver is not installed. In the state, call the Windows (registered trademark) API. In this case, since the Windows (registered trademark) API cannot be called without the printer driver installed, a process equivalent to the Windows (registered trademark) API is performed by the pseudo Windows (registered trademark) API (S1130). The process result is returned to the printer driver UI process 1010, and the process ends.

以上の処理により、カスタマイズツールはCPU1の制御の下、情報処理装置の選択部として機能する。係る選択部は、データ保持部(CSPL構造体)に保持されているアドレス情報(先頭アドレス)に基づいて、使用する(呼び出すべき)アプリケーションプログラムインタフェース(Windows (登録商標)API、又は疑似Windows (登録商標)API)を選択する。   Through the above processing, the customization tool functions as a selection unit of the information processing apparatus under the control of the CPU 1. The selection unit uses an application program interface (Windows (registered trademark) API or pseudo Windows (registered)) to be used (to be called) based on address information (start address) held in the data holding unit (CSPL structure). Trademark) API).

図12は疑似Windows (登録商標)APIの一例として、プリンタドライバからCSPL_GetVersionEx()関数(図10Bの1040を参照)を呼び出す場合の処理の流れを示すフローチャートである。本処理の実行においては、ホストコンピュータ3000におけるCPU1により実行されるカスタマイズツールにより、プリンタドライバUIが呼び出され、さらにCSPL_GetVersionEx()関数が呼び出される。同関数がシミュレートするWindows (登録商標)APIは、Windows (登録商標)GetVersionEx()であり(図10Bの表1030を参照)、このWindows (登録商標)APIはホストコンピュータ上で動作しているOSのバージョンに関する情報をプリンタドライバUI側の処理1010に返す処理を行なう。   FIG. 12 is a flowchart showing a processing flow when a CSPL_GetVersionEx () function (see 1040 in FIG. 10B) is called from the printer driver as an example of the pseudo Windows (registered trademark) API. In executing this process, the printer driver UI is called by the customization tool executed by the CPU 1 in the host computer 3000, and further the CSPL_GetVersionEx () function is called. The Windows (registered trademark) API simulated by this function is Windows (registered trademark) GetVersionEx () (see Table 1030 in FIG. 10B), and this Windows (registered trademark) API is running on the host computer. A process of returning information related to the OS version to the process 1010 on the printer driver UI side is performed.

まず、ステップS1210において、CSPL_GetVersionEx()関数は、関数の引数であるプリンタハンドルが、呼び出し時に受け渡されるCSPL構造体のアドレスであるかを判定する。この判定方法は、図11のステップS1110で説明した判定方法と同様である。CSPL構造体のアドレスでない場合は(S1210−NO)、処理をステップS1220に進め、通常のプリンタドライバとして動作するWindows(登録商標) APIである、GetVersionEx()関数1040を呼び出して(S1220)、処理を終了する。   First, in step S1210, the CSPL_GetVersionEx () function determines whether the printer handle that is an argument of the function is the address of the CSPL structure that is passed at the time of calling. This determination method is the same as the determination method described in step S1110 of FIG. If it is not the address of the CSPL structure (S1210-NO), the process proceeds to step S1220, and the GetVersionEx () function 1040, which is a Windows (registered trademark) API that operates as a normal printer driver, is called (S1220). Exit.

一方、ステップS1210の判定において、関数の引数がCSPL構造体のアドレスと一致する場合には(S1210−YES)、処理をステップS1230に進め、CSPL構造体の中に保持されているプリンタドライバに対応するOSの情報を元にGetVersionEx()関数の処理を擬似的に処理(GetVersionEx()関数の処理と同等の処理を実行)する(S1230)。CSPL_GetVersionEx()関数は、ステップS1230においても、GetVersionEx()関数と同じ処理結果をプリンタドライバUIモジュールに返す。これは他の関数についても同様である。   On the other hand, if it is determined in step S1210 that the function argument matches the address of the CSPL structure (S1210—YES), the process proceeds to step S1230, and the printer driver stored in the CSPL structure is supported. Based on the OS information to be executed, the GetVersionEx () function process is simulated (a process equivalent to the GetVersionEx () function process is executed) (S 1230). In step S1230, the CSPL_GetVersionEx () function returns the same processing result as the GetVersionEx () function to the printer driver UI module. The same applies to other functions.

例えば、図3〜図5のUI画面から設定された文書のプロパティ又はデバイスのプロパティに対応して呼び出されるアプリケーションプログラムインタフェース(擬似Windows (登録商標)API)は、設定された文書のプロパティまたはデバイスのプロパティに対するプリンタドライバにおける処理を擬似的に処理する(Windows (登録商標)APIの処理と同等の処理を実行する)。   For example, the application program interface (pseudo Windows (registered trademark) API) that is called in response to the document property or device property set from the UI screen of FIGS. Processes the printer driver for properties in a pseudo manner (executes processing equivalent to that of Windows (registered trademark) API).

ステップS1230、またはステップS1220の処理後、図12のフローチャートの処理を終了する。   After the process of step S1230 or step S1220, the process of the flowchart of FIG.

これにより、例えば、Windows(登録商標)98/MEのドライバモジュールのUI制御に関する処理が、カスタマイズツールからの呼び出しによって行われる場合、実際に動作しているOSは、カスタマイズツールが対応しているWindows (登録商標)2000/XP/Server 2003なのであるが、CSPL構造体には、ドライバモジュールの対応OSとして、Windows(登録商標) 98/MEであるという情報が含まれているので、OSのバージョン情報として「Windows (登録商標)ME」であるという値を返して、Windows (登録商標)98/MEのドライバモジュールのUI制御処理に破綻が生じないようにすることができる。   Thereby, for example, when the processing related to the UI control of the driver module of Windows (registered trademark) 98 / ME is performed by a call from the customization tool, the OS that is actually operating is the Windows supported by the customization tool. (Registered Trademark) 2000 / XP / Server 2003, but the CSPL structure contains information that Windows (registered trademark) 98 / ME is supported as an OS supported by the driver module. As a result, a value of “Windows (registered trademark) ME” is returned so that the UI control processing of the driver module of Windows (registered trademark) 98 / ME does not fail.

つまり、カスタマイズの対象はWindows(登録商標)98/MEのプリンタドライバとドライバ情報(例えば、INFファイルやドライバユーザインタフェースモジュール)である。本実施形態ではカスタマイズツールはWindows (登録商標)2000/XP/Server 2003に対応しており、カスタマイズツールが実行される環境はこれらのいずれかのOSにより制御されるものとする。CSPL構造体は、図8のステップS803で初期化されるので、たとえばこのときにCSPL構造体にOSのバージョンを示すデータとして、Windows(登録商標) 98/MEであるという情報が書き込まれる。これにより、CSPL構造体には、ドライバモジュールの対応OSはWindows(登録商標) 98/MEであるという情報(OSのバージョン情報)が含まれている。そこで、CSPL_GetVersionEx()関数は、ステップS1230において、CSPL構造体のOSのバージョン情報にアクセスし、「Windows (登録商標)ME」であるという値をコール元のプリンタドライバUIモジュールに返す。   That is, the target of customization is a printer driver of Windows (registered trademark) 98 / ME and driver information (for example, an INF file and a driver user interface module). In this embodiment, the customization tool corresponds to Windows (registered trademark) 2000 / XP / Server 2003, and the environment in which the customization tool is executed is controlled by one of these OSs. Since the CSPL structure is initialized in step S803 of FIG. 8, for example, information indicating that it is Windows (registered trademark) 98 / ME is written in the CSPL structure as data indicating the version of the OS. As a result, the CSPL structure includes information (OS version information) that the OS supported by the driver module is Windows (registered trademark) 98 / ME. In step S1230, the CSPL_GetVersionEx () function accesses the OS version information of the CSPL structure, and returns a value of “Windows (registered trademark) ME” to the call source printer driver UI module.

これは、他の疑似Windows(登録商標) APIについても同様であり、実際にプリンタドライバがインストールされていないので本来、Windows(登録商標)APIの呼び出しにより、ドライバモジュールのUI制御において不都合が発生してしまう場合でも、疑似関数(擬似API)内での処理により、Windows (登録商標)APIの処理をシミュレートすることで、Windows (登録商標)APIの動作を仮想的にUI制御に反映させることが可能になる。   The same applies to other pseudo Windows (registered trademark) APIs, and since the printer driver is not actually installed, inconvenience occurs in the UI control of the driver module by calling the Windows (registered trademark) API. Even if it happens, the operation of the Windows (registered trademark) API can be virtually reflected in the UI control by simulating the processing of the Windows (registered trademark) API by the processing in the pseudo function (pseudo API). Is possible.

また、明示的に示していないが、Windows(登録商標)98/MEのプリンタドライバは本来、16bit環境で動作するモジュールである。よって、そのUI処理も16bit環境で行われるようになっている。しかしながら、本実施形態の対象としているWindows(登録商標) 98/MEのプリンタドライバは、そのUI処理において、16bit環境でわたってくるUIの処理をサンクアップというOSの機構を利用し、32bit環境にてUIの実処理を行っている。このため、本実施形態のカスタマイズツールからは、UIの実処理を行っている32bit環境で動作するUIの処理関数を呼び出して、Windows(登録商標) 98/MEのUI表示及び制御を行なうことが比較的容易に行なうことが可能である。   Although not explicitly shown, the printer driver of Windows (registered trademark) 98 / ME is originally a module that operates in a 16-bit environment. Therefore, the UI processing is also performed in a 16-bit environment. However, the printer driver of Windows (registered trademark) 98 / ME that is the target of this embodiment uses a OS mechanism called thunk-up for UI processing over 16-bit environment in the UI processing, and the 32-bit environment. The UI is actually processed. For this reason, from the customization tool of this embodiment, a UI processing function that operates in a 32-bit environment that performs actual UI processing can be called to display and control the UI of Windows (registered trademark) 98 / ME. It can be done relatively easily.

つまり、カスタマイズツールは、印刷設定を含むプロパティを取得する。そして、カスタマイズツールは、オペレーティングシステムにデバイスドライバを稼動可能に登録する。すなわち、オペレーティングシステムのアドミニストレータの権限を用いて、オペレーティングシステムが管理するレジストリ領域に登録してインストールすることなく、カスタマイズツールが取得した印刷設定を含むプロパティを、デバイスドライバが読み出し可能な状態になるように、デバイスドライバに設定することができる。なお、当該設定時、デバイスドライバは、オペレーティングシステムが管理するファイルシステムのユーザ領域に記憶された状態にある。   That is, the customization tool acquires properties including print settings. Then, the customization tool registers the device driver in the operating system so as to be operable. That is, the device driver can read the properties including the print settings acquired by the customization tool without registering and installing in the registry area managed by the operating system using the authority of the operating system administrator. In addition, the device driver can be set. At the time of the setting, the device driver is stored in the user area of the file system managed by the operating system.

プロパティは、カスタマイズツールによりUPDファイルに保存される。作成されたUPDファイルは、カスタマイズ対象のプリンタドライバやプリンタドライバUIモジュール、およびinfファイルと共にインストールセットを構成する。作成されたインストールセットは、記録媒体や通信媒体を介してクライアントコンピュータに配布される。インストーラは、infファイルの記述に従ってインストールを実行する。インストーラは、UPDファイルから読み込んだ各設定項目に対応する値を、devmode構造体やdeviceOption構造体の該当する項目の値として複写する。プリンタドライバおよびプリンタドライバUIモジュールは、devmode構造体やdeviceOption構造体に保存された各項目の値を参照して動作する。   Properties are stored in a UPD file by the customization tool. The created UPD file constitutes an installation set together with a printer driver to be customized, a printer driver UI module, and an inf file. The created installation set is distributed to client computers via a recording medium or a communication medium. The installer executes the installation according to the description of the inf file. The installer copies the value corresponding to each setting item read from the UPD file as the value of the corresponding item in the devmode structure or deviceOption structure. The printer driver and the printer driver UI module operate by referring to the value of each item stored in the devmode structure or deviceOption structure.

前述の処理は、アプリケーションプログラムの一例であるカスタマイズツールにより実行されるものである。カスタマイズツールは、さらに、デバイスドライバを介した情報の入力に対して、オペレーティングシステムに代理して前記デバイスドライバに応答する。   The above-described processing is executed by a customization tool that is an example of an application program. The customization tool further responds to the device driver on behalf of the operating system for input of information via the device driver.

そして、このカスタマイズツールの擬似的な代理応答があるので、デバイスドライバはエラー処理に陥ることなく、前記アプリケーションからの応答を、オペレーティングシステムからの応答として認識し、その後のユーザからの入力による設定処理を続行する。   And since there is a pseudo proxy response of this customization tool, the device driver recognizes the response from the application as a response from the operating system without falling into error processing, and then performs setting processing by input from the user To continue.

更に、カスタマイズツールは、プリンタドライバに対する擬似APIによって構成される。更に、カスタマイズツールは、複数種類のオペレーティングシステム用(例えば、Windows(登録商標)NT,Windows(登録商標)95など)のデバイスドライバに対して、前記印刷設定を含むプロパティを設定できる。   Further, the customization tool is configured by a pseudo API for the printer driver. Furthermore, the customization tool can set properties including the print settings for device drivers for a plurality of types of operating systems (for example, Windows (registered trademark) NT, Windows (registered trademark) 95).

尚、カスタマイズツールは、複数のデバイスドライバに対して、一度の指示でカスタマイズツールが取得した印刷設定に係わる情報を設定できる。   The customization tool can set information related to print settings acquired by the customization tool with a single instruction for a plurality of device drivers.

本実施形態における擬似APIとは、デバイスドライバに対して、オペレーティングを真似てカスタマイズツールが振舞うことで、オペレーティングシステムに稼動状態にインストールされている状態にあるとの錯覚をデバイスドライバに起こさせる。もし、擬似的にカスタマイズツールがデバイスドライバに応答しなければ、デバイスドライバはエラー処理に移行してしまう。これにより、デバイスドライバをインストールすることなく、カスタマイズツールによるカスタマイズ処理を続行させることができる。   The pseudo API in the present embodiment causes the device driver to have an illusion that the device driver is installed in an operating state by imitating the operating environment of the device driver. If the customization tool does not respond to the device driver in a pseudo manner, the device driver shifts to error processing. Thereby, the customization process by the customization tool can be continued without installing the device driver.

図13は、カスタマイズに対応したプリンタドライバのプロパティ設定に関するUI制御の処理の流れを説明するフローチャートである。本処理の実行においては、ホストコンピュータ3000におけるCPU1により実行されるカスタマイズツールが動作の主体となるものとする。図13の手順の中で、図11や図12に示す疑似API関数がコールされ、プロパティシートの表示や、パラメータの取得、設定値の入力が実現される。   FIG. 13 is a flowchart for explaining the flow of UI control processing regarding printer driver property settings corresponding to customization. In the execution of this processing, it is assumed that the customization tool executed by the CPU 1 in the host computer 3000 is the main operation. In the procedure of FIG. 13, the pseudo API function shown in FIG. 11 and FIG. 12 is called, and property sheet display, parameter acquisition, and setting value input are realized.

まず、ステップS1300において、UI制御の指示が入力されると、カスタマイズツールが起動する。そして、ステップS1310において、UIの初期化処理が行なわれる。ステップS1320において、UI表示に関するカスタマイズ情報が、図9に示すドライバ情報ファイルにある場合には(S1320−YES)、処理をステップS1330に進める。その指示にUI上の表示制御(Disable制御、Hide制御)を反映し、ユーザ操作待機状態にする(S1340)。一方、ドライバ情報ファイルがない場合には(S1320−NO)、ステップS1330の処理をスキップし、ユーザ操作待機状態にする(S1340)。   First, in step S1300, when a UI control instruction is input, the customization tool is activated. In step S1310, UI initialization processing is performed. If the customization information related to UI display is in the driver information file shown in FIG. 9 in step S1320 (S1320—YES), the process proceeds to step S1330. The display control (Disable control, Hide control) on the UI is reflected in the instruction, and a user operation standby state is set (S1340). On the other hand, if there is no driver information file (S1320-NO), the process of step S1330 is skipped, and a user operation standby state is set (S1340).

その後、ユーザの操作が行われるまで待機する(S1340)。UIを閉じる操作がなされた場合(S1350―YES)には、UIの処理を終了(S1370)し、他の操作であった場合は(S1350−NO)、ユーザの操作に対応したUI制御を行い(S1360)、処理をステップS1320に戻す。   Then, it waits until a user's operation is performed (S1340). When the operation for closing the UI is performed (S1350-YES), the UI processing is terminated (S1370). When the operation is for another operation (S1350-NO), UI control corresponding to the user operation is performed. (S1360), the process returns to step S1320.

UIから入力されたプロパティ情報は、CSPL構造体を介して再度プリンタドライバ情報ファイル(UPDファイル)に保存される。このとき、図3のカスタマイズコード350をプリンタドライバ情報ファイルに、あらかじめ定めた識別コードとともに保存する。   The property information input from the UI is saved again in the printer driver information file (UPD file) via the CSPL structure. At this time, the customization code 350 of FIG. 3 is stored in the printer driver information file together with a predetermined identification code.

これにより、図5で指示されたコントロールの表示方法に関するカスタマイズデータは、図9で示したドライバ情報ファイル内に保持されているので、そのカスタマイズデータに従った、UIコントロールの表示が可能である。   Accordingly, the customization data related to the control display method instructed in FIG. 5 is held in the driver information file shown in FIG. 9, so that UI control can be displayed according to the customization data.

本実施形態では、カスタマイズ情報をUPDファイルというドライバ情報ファイルに書き出すようにしているが、プリンタドライバが参照可能であり、かつ、解析可能なファイルであれば、その形態はUPDファイルに限定されるものではない。従って、次期Windows(登録商標)であるLonghornにおいてはプリンタドライバのドライバ情報ファイルとしてGPDファイルが標準的なものとなっているが、このファイル内にカスタマイズ情報を組み込むようにしてもよい。   In this embodiment, customization information is written in a driver information file called a UPD file. However, as long as the printer driver can refer to the file and can be analyzed, the form is limited to the UPD file. is not. Accordingly, in Longhorn, which is the next Windows (registered trademark), a GPD file is standard as a driver information file for a printer driver. However, customization information may be incorporated in this file.

本実施形態によれば、複数のプリンタドライバをプリンタドライバのカスタマイズ操作の後の、1回のカスタマイズ完了指示により、同時にカスタマイズすることが可能になる。   According to the present embodiment, a plurality of printer drivers can be simultaneously customized by a single customization completion instruction after the printer driver customization operation.

プリンタドライバが、カスタマイズに対応していないOS用のものであっても、ユーザの所望するカスタマイズを反映させたカスタマイズドライバを作成することが可能になる。   Even if the printer driver is for an OS that does not support customization, a customized driver reflecting the customization desired by the user can be created.

また、プリンタドライバの初期設定値のカスタマイズにおいては、プリンタドライバのUIと同等のUIを用いて作業が可能であるので、カスタマイズにおける初期設定作業を容易に行なうことができる。かかるUIを利用して設定したカスタマイズの内容を反映させて、表示項目の有効表示、無効表示、非表示を制御することで、ユーザの作業効率、操作の利便性の向上を図ることが可能になる。   Further, since customization of the initial setting value of the printer driver can be performed using a UI equivalent to the UI of the printer driver, the initial setting operation for customization can be easily performed. By reflecting the contents of customization set using such UI and controlling the effective display, invalid display, and non-display of display items, the user's work efficiency and the convenience of operation can be improved. Become.

カスタマイズドライバは、カスタマイズしていないドライバのインストールセットと同様の構成である。Microsoft(登録商標)社製、Windows(登録商標)オペレーティングシステム、又は次期OSであるLonghornにおける、いわゆるPoint&Print環境においてもカスタマイズドライバとして動作することが可能である。これにより、カスタマイズドライバの汎用性を向上させることができる。   The customized driver has the same configuration as an installation set of uncustomized drivers. It can also operate as a customized driver in a so-called Point & Print environment in Longhorn, which is a product of Microsoft (registered trademark), Windows (registered trademark) operating system, or the next OS. Thereby, the versatility of the customized driver can be improved.

[他の実施形態]
なお、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給することによっても、達成されることは言うまでもない。また、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。
[Other embodiments]
Needless to say, the object of the present invention can also be achieved by supplying a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus. Needless to say, this can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium.

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

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,不揮発性のメモリカード,ROMなどを用いることができる。   As a 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 nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現される。また、プログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態が実現される場合も含まれることは言うまでもない。   Further, the functions of the above-described embodiment are realized by executing the program code read by the computer. In addition, an OS (operating system) running on a computer performs part or all of actual processing based on an instruction of a program code, and the above-described embodiment is realized by the processing. Needless to say.

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した(図6、図8、図11〜図13、図17)のフローチャートに対応するプログラムコードが格納されることになる。   When the present invention is applied to the above-described storage medium, the storage medium stores program codes corresponding to the flowcharts described above (FIGS. 6, 8, 11 to 13, and 17). Become.

本発明の実施形態に係る印刷処理システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a print processing system according to an embodiment of the present invention. 所定のアプリケーション及び印刷処理関連プログラムを起動して、ホストコンピュータ 3000のRAM2にプログラムやデータがロードされた状態でのRAM2のメモリマップを示す図である。3 is a diagram illustrating a memory map of the RAM 2 in a state where a predetermined application and a print processing related program are activated and programs and data are loaded into the RAM 2 of the host computer 3000. FIG. カスタマイズツールのUIを例示する図である。It is a figure which illustrates UI of a customization tool. 初期設定値カスタマイズ用のプリンタドライバUIを示す図である。6 is a diagram illustrating a printer driver UI for initial setting value customization. FIG. ドキュメントプロパティ表示コントロール設定UIを例示する図である。It is a figure which illustrates document property display control setting UI. カスタマイズツールにおける基本動作の処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of a process of the basic operation | movement in a customization tool. プリンタドライバのインストール情報を記述するinfファイルの記述内容を例示する図である。FIG. 6 is a diagram exemplifying description contents of an inf file that describes printer driver installation information. プリンタドライバのカスタマイズ用UIを表示する処理の流れを説明するフローチャートである。10 is a flowchart illustrating a flow of processing for displaying a printer driver customization UI. プリンタドライバを構成するUPDファイルのデータフォーマットを説明する図である。FIG. 4 is a diagram for explaining a data format of a UPD file constituting a printer driver. プリンタドライバが実装しているアプリケーション プログラム インターフェース(API)の呼び出しについて説明する図である。It is a figure explaining the call of the application program interface (API) which the printer driver is mounted. APIと対応する疑似 APIの関係を示す図である。It is a figure which shows the relationship between pseudo API corresponding to API. 疑似Windows(登録商標) APIの呼び出しに関する処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of a process regarding the call of pseudo | simulated Windows (trademark) API. 疑似Windows (登録商標)APIの一例として、CSPL_GetVersionEx( )関数を呼び出す場合の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the case of calling a CSPL_GetVersionEx () function as an example of pseudo | simulated Windows (trademark) API. カスタマイズに対応したプリンタドライバのプロパティ設定に関するUI制御の処理の流れを説明するフローチャートである。10 is a flowchart for explaining a UI control processing flow regarding printer driver property settings corresponding to customization. カスタマイズ情報の保持形式を説明する図である。It is a figure explaining the holding | maintenance format of customization information. カスタマイズ情報の保持形式を説明する図である。It is a figure explaining the holding | maintenance format of customization information. カスタマイズ情報の保持形式を説明する図である。It is a figure explaining the holding | maintenance format of customization information. 1つのドライバセット内に存在する複数のプリンタドライバに対して、カスタマイズを一括して行なう処理の流れを説明するフローチャートである。FIG. 6 is a flowchart for explaining a flow of processing for collectively performing customization for a plurality of printer drivers existing in one driver set. FIG. デバイスドライバのカスタマイズデータの一例を示す図である。It is a figure which shows an example of the customization data of a device driver. 複数ドライバをカスタマイズするツールのUIを例示する図である。It is a figure which illustrates UI of the tool which customizes multiple drivers.

Claims (24)

印刷装置を制御するデバイスドライバを、プロパティの設定によりカスタマイズする情報処理装置であって、
ユーザ操作を受け付けることにより複数のデバイスドライバを特定する特定手段と、
前記特定手段が特定した複数のデバイスドライバの夫々に対して、個別のカスタマイズ操作がなされた後に入力されるカスタマイズ完了指示に応じて、前記複数のデバイスドライバの夫々に対する個別のプロパティ情報を、前記特定手段が特定した複数のデバイスドライバの夫々に設定することにより、個別にカスタマイズされた複数のデバイスドライバを含む単一のドライバセットを作成する設定手段と
を備えることを特徴とする情報処理装置。
An information processing device that customizes a device driver that controls a printing device by setting properties,
A specifying means for specifying a plurality of device drivers by accepting a user operation ;
Wherein for each of the plurality of device drivers is specified unit identified in accordance with the customization completion instruction inputted after the individual customization operation is performed, the individual properties information for each of the plurality of device drivers, the specific An information processing apparatus comprising: setting means for creating a single driver set including a plurality of individually customized device drivers by setting each of the plurality of device drivers specified by the means.
前記設定手段は、前記複数のデバイスドライバに対するプロパティ情報が設定されているか判定し、当該プロパティ情報が設定されている場合に、当該プロパティ情報を情報ファイルに書き込むことを特徴とする請求項1に記載の情報処理装置。   2. The setting unit according to claim 1, wherein the setting unit determines whether property information for the plurality of device drivers is set, and writes the property information to an information file when the property information is set. Information processing device. 前記設定されたプロパティ情報に対応するデータに基づいて、カスタマイズしたユーザインタフェースを表示手段に表示させる表示制御手段を更に備えることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, further comprising: a display control unit that causes a display unit to display a customized user interface based on data corresponding to the set property information. 前記表示制御手段は、前記設定手段により設定されたプロパティ情報に基づいて、前記ユーザインタフェースにおける項目の有効表示、無効表示または非表示を制御することを特徴とする請求項3に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the display control unit controls effective display, invalid display, or non-display of items in the user interface based on property information set by the setting unit. . 前記表示制御手段は、前記デバイスドライバの起動時において、前記デバイスドライバの情報ファイルを参照して得られるプロパティ情報に基づいて前記ユーザインタフェースを表示させることを特徴とする請求項4に記載の情報処理装置。   5. The information processing according to claim 4, wherein the display control unit displays the user interface based on property information obtained by referring to an information file of the device driver when the device driver is activated. apparatus. 前記複数のデバイスドライバは、複数の機種にそれぞれ対応するものであって、かつ、同じデバイスドライバセットに含まれるものであり、前記複数のデバイスドライバが読み出し可能な前記情報ファイルに前記設定手段はプロパティ情報を書き込むことを特徴とする請求項2に記載の情報処理装置。   The plurality of device drivers respectively correspond to a plurality of models and are included in the same device driver set, and the setting means includes a property in the information file readable by the plurality of device drivers. The information processing apparatus according to claim 2, wherein information is written. 前記特定手段は、情報処理装置のメモリに記憶されたデータからデバイスドライバのリスト又は機種を読み込んで、前記設定手段がプロパティ情報を設定するためのデバイスドライバを特定することを特徴とする請求項1に記載の情報処理装置。   2. The specification unit reads a device driver list or model from data stored in a memory of an information processing apparatus, and the setting unit specifies a device driver for setting property information. The information processing apparatus described in 1. 前記特定手段は、外部からの選択指示により、前記設定手段がプロパティ情報を設定するためのデバイスドライバを特定することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the specifying unit specifies a device driver for the setting unit to set property information in accordance with an external selection instruction. 印刷装置を制御するデバイスドライバを、プロパティの設定によりカスタマイズする情報処理装置の制御方法であって、
前記情報処理装置の特定手段が、ユーザ操作を受け付けることにより複数のデバイスドライバを特定する特定工程と、
前記情報処理装置の設定手段が、前記特定工程が特定した複数のデバイスドライバの夫々に対して、個別のカスタマイズ操作がなされた後に入力されるカスタマイズ完了指示に応じて、前記複数のデバイスドライバの夫々に対する個別のプロパティ情報を、前記特定工程が特定した複数のデバイスドライバの夫々に設定することにより、個別にカスタマイズされた複数のデバイスドライバを含む単一のドライバセットを作成する設定工程と
を有することを特徴とする制御方法。
A method of controlling an information processing apparatus that customizes a device driver that controls a printing apparatus by setting properties,
A specifying step in which the specifying unit of the information processing apparatus specifies a plurality of device drivers by accepting a user operation ;
Setting means of the information processing apparatus, wherein for each of the plurality of device drivers specified step has been specified, in accordance with the customized input completion indication after individual customization operation is performed, each of the plurality of device drivers s individual property information for, by setting each of the plurality of device drivers the specific process is identified, it and a setting step of creating a single set of drivers that includes a plurality of device drivers that are customized individually A control method characterized by the above.
前記設定工程は、前記複数のデバイスドライバに対するプロパティ情報が設定されているか判定し、当該プロパティ情報が設定されている場合に、当該プロパティ情報を情報ファイルに書き込むことを特徴とする請求項9に記載の制御方法。   10. The setting step determines whether property information for the plurality of device drivers is set, and writes the property information to an information file when the property information is set. Control method. 前記情報処理装置の表示制御手段が、前記設定されたプロパティ情報に対応するデータに基づいて、カスタマイズしたユーザインタフェースを表示手段に表示させる表示制御工程を更に備えることを特徴とする請求項9に記載の制御方法。 The display control unit of the information processing apparatus further includes a display control step of causing the display unit to display a customized user interface based on data corresponding to the set property information. Control method. 前記表示制御工程は、前記設定工程により設定されたプロパティ情報に基づいて、前記ユーザインタフェースにおける項目の有効表示、無効表示または非表示を制御することを特徴とする請求項11に記載の制御方法。   The control method according to claim 11, wherein the display control step controls effective display, invalid display, or non-display of items in the user interface based on the property information set by the setting step. 前記表示制御工程は、前記デバイスドライバの起動時において、前記デバイスドライバの情報ファイルを参照して得られるプロパティ情報に基づいて前記ユーザインタフェースを表示させることを特徴とする請求項12に記載の制御方法。   13. The control method according to claim 12, wherein the display control step displays the user interface based on property information obtained by referring to an information file of the device driver when the device driver is activated. . 前記複数のデバイスドライバは、複数の機種にそれぞれ対応するものであって、かつ、同じデバイスドライバセットに含まれるものであり、前記複数のデバイスドライバが読み出し可能な前記情報ファイルに前記設定工程はプロパティ情報を書き込むことを特徴とする請求項10に記載の制御方法。   The plurality of device drivers respectively correspond to a plurality of models and are included in the same device driver set, and the setting step includes a property in the information file readable by the plurality of device drivers. The control method according to claim 10, wherein information is written. 前記特定工程は、情報処理装置のメモリに記憶されたデータからデバイスドライバのリスト又は機種を読み込んで、前記設定工程がプロパティ情報を設定するためのデバイスドライバを特定することを特徴とする請求項9に記載の制御方法。   10. The specifying step reads a device driver list or model from data stored in a memory of an information processing apparatus, and the setting step specifies a device driver for setting property information. The control method described in 1. 前記特定工程は、外部からの選択指示により、前記設定工程がプロパティ情報を設定するためのデバイスドライバを特定することを特徴とする請求項9に記載の制御方法。   The control method according to claim 9, wherein the specifying step specifies a device driver for the property information to be set by the setting step in accordance with an external selection instruction. 印刷装置を制御するデバイスドライバを、プロパティの設定によりカスタマイズする情報処理装置の制御方法を前記情報処理装置のコンピュータに実行させる制御プログラムを格納したコンピュータ読み取り可能な記憶媒体であって、前記制御方法
前記情報処理装置の特定手段が、ユーザ操作を受け付けることにより複数のデバイスドライバを特定する特定工程と、
前記情報処理装置の設定手段が、前記特定工程が特定した複数のデバイスドライバの夫々に対して、個別のカスタマイズ操作がなされた後に入力されるカスタマイズ完了指示に応じて、前記複数のデバイスドライバの夫々に対する個別のプロパティ情報を、前記特定工程が特定した複数のデバイスドライバの夫々に設定することにより、個別にカスタマイズされた複数のデバイスドライバを含む単一のドライバセットを作成する設定工程と
を有することを特徴とする記憶媒体。
A device driver for controlling the printing apparatus, a computer readable storage medium storing a control program for the control method to be executed by a computer of the information processing apparatus of an information processing apparatus for customizing the setting of property, the control method ,
A specifying step in which the specifying unit of the information processing apparatus specifies a plurality of device drivers by accepting a user operation ;
Setting means of the information processing apparatus, wherein for each of the plurality of device drivers specified step has been specified, in accordance with the customized input completion indication after individual customization operation is performed, each of the plurality of device drivers s individual property information for, by setting each of the plurality of device drivers the specific process is identified, it and a setting step of creating a single set of drivers that includes a plurality of device drivers that are customized individually A storage medium characterized by the above.
複数のデバイスドライバをインストールするためのドライバセット作成する情報処理装置であって、
ユーザ操作を受け付けることによりカスタマイズすべき複数のデバイスドライバを特定する特定手段と、
前記特定手段が特定した複数のデバイスドライバの夫々に対して、印刷設定をカスタマイズするために、個別のカスタマイズ操作によりプロパティ情報を設定する設定手段と、
前記設定手段により前記プロパティ情報を設定することにより個別にカスタマイズされた複数のデバイスドライバを含む単一のドライバセットを作成する作成手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus for creating a driver set for installing a plurality of device drivers,
A specifying means for specifying a plurality of device drivers to be customized by accepting a user operation ;
The specific means by pairs to each of the plurality of device drivers specified, to customize print settings, and a setting means for setting property information by individual customizing operation,
The information processing apparatus characterized by comprising a generating means for generating a single set of drivers that includes a plurality of device drivers that are customized individually by setting the property information by said setting means.
カスタマイズプログラムに予め読み込ませたドライバ情報を用いて前記特定手段は複数のデバイスドライバを特定することを特徴とする請求項18に記載の情報処理装置。   19. The information processing apparatus according to claim 18, wherein the specifying unit specifies a plurality of device drivers using driver information read in advance in a customization program. 前記ドライバ情報は、前記設定手段により設定されたプロパティ情報を有する複数のデバイスドライバをインストールする際に用いられる情報であることを特徴とする請求項19に記載の情報処理装置。 The information processing apparatus according to claim 19 , wherein the driver information is information used when installing a plurality of device drivers having property information set by the setting unit. 複数のデバイスドライバをインストールするためのドライバセット作成する情報処理装置における情報処理方法であって、
前記情報処理装置の特定手段が、ユーザ操作を受け付けることによりカスタマイズすべき複数のデバイスドライバを特定する特定工程と、
前記情報処理装置の設定手段が、前記特定工程が特定した複数のデバイスドライバの夫々に対して、印刷設定をカスタマイズするために、個別のカスタマイズ操作によりプロパティ情報を設定する設定工程と、
前記情報処理装置の作成手段が、前記設定工程により前記プロパティ情報を設定することにより個別にカスタマイズされた複数のデバイスドライバを含む単一のドライバセットを作成する作成工程と
を有することを特徴とする情報処理方法。
An information processing method in an information processing apparatus for creating a driver set for installing a plurality of device drivers,
A specifying step of specifying a plurality of device drivers to be customized by accepting a user operation by the specifying means of the information processing apparatus ;
Setting means of the information processing apparatus, the specific step by pairs to each of the plurality of device drivers specified, to customize print settings, a setting step of setting property information by individual customizing operation,
Creating means of the information processing apparatus is characterized by having a generation step of generating a single set of drivers that includes a plurality of device drivers that are customized individually by setting the property information by said setting step Information processing method.
カスタマイズプログラムに予め読み込ませたドライバ情報を用いて前記特定工程は複数のデバイスドライバを特定することを特徴とする請求項21に記載の情報処理方法。   The information processing method according to claim 21, wherein the specifying step specifies a plurality of device drivers using driver information read in advance in a customization program. 前記ドライバ情報は、前記設定工程により設定されたプロパティ情報を有する複数のデバイスドライバをインストールする際に用いられる情報であることを特徴とする請求項22に記載の情報処理方法。 23. The information processing method according to claim 22 , wherein the driver information is information used when installing a plurality of device drivers having property information set in the setting step. 複数のデバイスドライバをインストールするためのドライバセット作成する情報処理装置における情報処理方法を前記情報処理装置のコンピュータに実行させるプログラムであって、前記情報処理方法
前記情報処理装置の特定手段が、ユーザ操作を受け付けることによりカスタマイズすべき複数のデバイスドライバを特定する特定工程と、
前記情報処理装置の設定手段が、前記特定工程が特定した複数のデバイスドライバの夫々に対して、印刷設定をカスタマイズするために、個別のカスタマイズ操作によりプロパティ情報を設定する設定工程と、
前記情報処理装置の作成手段が、前記設定工程により前記プロパティ情報を設定することにより個別にカスタマイズされた複数のデバイスドライバを含む単一のドライバセットを作成する作成工程と
を有することを特徴とするプログラム。
A program for causing a computer to execute an information processing method of the information processing apparatus in an information processing apparatus for creating a driver set for installing a plurality of device drivers, said information processing method,
A specifying step of specifying a plurality of device drivers to be customized by accepting a user operation by the specifying means of the information processing apparatus ;
Setting means of the information processing apparatus, the specific step by pairs to each of the plurality of device drivers specified, to customize print settings, a setting step of setting property information by individual customizing operation,
Creating means of the information processing apparatus is characterized by having a generation step of generating a single set of drivers that includes a plurality of device drivers that are customized individually by setting the property information by said setting step program.
JP2006068274A 2005-03-29 2006-03-13 Information processing apparatus, information processing apparatus control method, information processing method, program, and storage medium Active JP4812093B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006068274A JP4812093B2 (en) 2005-03-29 2006-03-13 Information processing apparatus, information processing apparatus control method, information processing method, program, and storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005095697 2005-03-29
JP2005095697 2005-03-29
JP2006068274A JP4812093B2 (en) 2005-03-29 2006-03-13 Information processing apparatus, information processing apparatus control method, information processing method, program, and storage medium

Publications (3)

Publication Number Publication Date
JP2006309724A JP2006309724A (en) 2006-11-09
JP2006309724A5 JP2006309724A5 (en) 2009-04-30
JP4812093B2 true JP4812093B2 (en) 2011-11-09

Family

ID=37476490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006068274A Active JP4812093B2 (en) 2005-03-29 2006-03-13 Information processing apparatus, information processing apparatus control method, information processing method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP4812093B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4952978B2 (en) * 2006-02-28 2012-06-13 ブラザー工業株式会社 Program for creating an installer, storage medium for storing the program, and information processing apparatus
JP2010026656A (en) * 2008-07-16 2010-02-04 Ricoh Co Ltd Print control apparatus, setting screen control method, and setting screen control program
JP4987098B2 (en) * 2008-10-21 2012-07-25 キヤノン株式会社 Information processing apparatus, information processing method, and program
JP5293251B2 (en) * 2009-02-17 2013-09-18 株式会社リコー Information processing apparatus, generation system, image forming apparatus, generation method, and program
JP2011096100A (en) * 2009-10-30 2011-05-12 Fuji Xerox Co Ltd Setting change device and program
JP5759196B2 (en) * 2011-02-09 2015-08-05 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and computer program
JP5882623B2 (en) * 2011-08-03 2016-03-09 キヤノン株式会社 Information processing apparatus, control method, and program
JP5885616B2 (en) 2012-08-08 2016-03-15 キヤノン株式会社 Information processing apparatus, installation method, and program
JP6049360B2 (en) 2012-08-31 2016-12-21 キヤノン株式会社 System, control method thereof, control method of information processing apparatus, and program
JP6351405B2 (en) * 2013-12-16 2018-07-04 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003202987A (en) * 2002-01-07 2003-07-18 Fujitsu Ltd Installer for driver of network device
JP2004152090A (en) * 2002-10-31 2004-05-27 Ricoh Co Ltd Printing system and personal computer-readable recording medium recording program
JP2004213132A (en) * 2002-12-27 2004-07-29 Ricoh Co Ltd Printing system, printer driver introduction method, printer driver-distributing computer program, record medium and printer driver distribution server
JP2004252759A (en) * 2003-02-20 2004-09-09 Ricoh Co Ltd Method for installing driver and installation control program

Also Published As

Publication number Publication date
JP2006309724A (en) 2006-11-09

Similar Documents

Publication Publication Date Title
KR100838871B1 (en) Information processing apparatus and method, and storage medium
EP1710699B1 (en) Information processing apparatus capable of customizing device driver, information processing method, and control program
JP4812093B2 (en) Information processing apparatus, information processing apparatus control method, information processing method, program, and storage medium
JP4863450B2 (en) Information processing apparatus for customizing device driver program and device driver program customization method
JP4599206B2 (en) Information processing apparatus, information processing apparatus control method, program, and storage medium
JP4574344B2 (en) Information processing apparatus and method
JP4546305B2 (en) Device driver customization program, information processing apparatus, and information processing method
KR20110088521A (en) Label printer api using program scripting language
JP5527992B2 (en) Print control method, print control apparatus, and computer program
JP5361358B2 (en) Information processing apparatus, control method therefor, and program
JP2011242950A (en) Information processor, control method and program
JP4702948B2 (en) Information processing apparatus, method, and storage medium for customizing device driver
JP2009205694A (en) Information processing apparatus, method, and device driver
JP2008217433A (en) Information processor, information processing method, program, and storage medium
JP2006228103A (en) Information processor
JP2006338166A (en) Information processor, its control method and program
JP2011008469A (en) Information processor, information processing method, program and storage medium
JP2013120507A (en) Document processing method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090313

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090313

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110526

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110819

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110822

R151 Written notification of patent or utility model registration

Ref document number: 4812093

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20140902

Year of fee payment: 3