JP2019070885A - Printer drive - Google Patents

Printer drive Download PDF

Info

Publication number
JP2019070885A
JP2019070885A JP2017195548A JP2017195548A JP2019070885A JP 2019070885 A JP2019070885 A JP 2019070885A JP 2017195548 A JP2017195548 A JP 2017195548A JP 2017195548 A JP2017195548 A JP 2017195548A JP 2019070885 A JP2019070885 A JP 2019070885A
Authority
JP
Japan
Prior art keywords
custom
setting
driver
custom setting
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017195548A
Other languages
Japanese (ja)
Inventor
佳佑 森田
Keisuke Morita
佳佑 森田
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 JP2017195548A priority Critical patent/JP2019070885A/en
Publication of JP2019070885A publication Critical patent/JP2019070885A/en
Pending legal-status Critical Current

Links

Abstract

To solve a problem in which an entire installation time becomes redundant due to a processing time of that part if either a driver itself or custom setting have not been updated when updating a custom driver in which data of the driver itself and the custom setting are separated.SOLUTION: Entire install time can be reduced by determining whether to update a driver itself and custom settings respectively, and skipping a processing.SELECTED DRAWING: Figure 8

Description

本発明は、カスタマイズされたプリンタードライバーの更新インストールに関する。   The present invention relates to update installation of a customized printer driver.

プリンタードライバーにはコストを下げるために両面印刷やモノクロ印刷で設定を固定したいという市場要望がある。このため、通常はIT管理者がプリンタードライバーの導入後に両面印刷固定の設定やモノクロ印刷固定を始めとするカスタム設定を行う。しかし、プリンタードライバーを部門や会社単位で一括導入する場合、導入した後にプリンタードライバー全てに対して個別に部門固有の設定やカスタマイズを行う必要があり、非常に作業時間が掛かってしまっていた。   There is a market demand for the printer driver to fix the setting by double-sided printing or monochrome printing to reduce the cost. For this reason, normally, after installing the printer driver, the IT administrator performs custom settings such as setting for fixed duplex printing and setting for fixed monochrome printing. However, in the case of batch installation of printer drivers for each department or company, it is necessary to individually set and customize department-specific settings for all printer drivers after installation, resulting in extremely long work time.

このため、予めカスタム設定が反映されたカスタムドライバーを作成しておき、カスタムドライバーを用いることで、導入後に発生していたカスタマイズの作業を省力化するという方法がある。さらに特許文献1では、予め指定しておいた設定がインストール済みの類似のドライバーにあるかを検索し、検索された場合はその設定の選択値をインストール対象のドライバーのデフォルト値とすることで作業時間の短縮を実現している。   For this reason, there is a method of saving the work of customization generated after introduction by creating a custom driver in which the custom setting is reflected in advance and using the custom driver. Further, in Patent Document 1, it is searched whether there is a previously specified setting in a similar installed driver, and if it is searched, the selected value of the setting is used as a default value of the driver to be installed. We have achieved a reduction in time.

特願2005-114862号公報Japanese Patent Application No. 2005-114862

ただし、特許文献1では、プリンタードライバーのインストールは通常のインストールと同様であるため、インストールの処理時間そのものの短縮は行えなかった。   However, in Patent Document 1, the installation of the printer driver is the same as the normal installation, so the processing time for the installation itself can not be shortened.

また、ドライバー本体とカスタム設定のデータが分離されているカスタムドライバーに関して、アップグレードの際に、更新の無い部分のインストールの処理時間は冗長なものといえる。例えば、同じバージョンで別のカスタマイズがされているものや、別のバージョンで同じカスタマイズがされているカスタムドライバーのアップグレードが該当する。具体例を挙げると、「v2.0の両面印刷固定設定」を『同じバージョンで別のカスタマイズ』がされている「v2.0のモノクロ印刷固定」のドライバーで更新する場合である。   In addition, with regard to custom drivers in which the data of the driver itself and custom setting data are separated, it can be said that the processing time for installation of the non-updated part is redundant when upgrading. For example, an upgrade of a custom driver with another customization in the same version or a custom driver with the same customization in another version is applicable. A specific example is the case where the "v2.0 double-sided printing fixed setting" is updated with the "v2.0 monochrome fixed printing" driver in which "the same version and another customization" is made.

この場合、ドライバー本体は共にv2.0であるため、カスタム部分の「両面印刷固定」を「モノクロ印刷固定」に置き換えるだけで実質更新したと言えるため、ドライバー本体の更新は必要ない。また、同様に別バージョンでも同じ「両面印刷固定設定」がされているドライバー同士の更新処理の場合、本体のドライバーのアップグレードを行うだけでカスタム部分の更新は必要ない。   In this case, since both driver bodies are v2.0, it can be said that the "main part fixed in both sides" of the custom part has been substantially updated only by replacing "fixed in monochrome" with "fixed in monochrome", so the driver main body need not be updated. Also, in the case of the update process between drivers that have the same "duplex printing fixed setting" in different versions as well, it is only necessary to upgrade the driver of the main unit, and there is no need to update the custom part.

このように、カスタムドライバーを用いて既存のドライバーのアップグレードを行う場合に冗長な部分があったため、そのアップグレード処理を短縮することが課題であった。   As described above, since there is a redundant part when upgrading an existing driver using a custom driver, it has been an issue to shorten the upgrading process.

情報処理装置、印刷装置から構成される印刷システムであって、
ドライバーのバージョンからドライバーを更新するかどうかを判定する手段(S803)と、
ドライバーのインストールを行う手段(S804)と、
ドライバーの更新結果からカスタマイズを行うかを判定する手段(S903)と、
カスタム設定を適用するかを判断する手段(S905)と、
カスタム設定を適用する手段(S907)
を有することを特徴とした印刷システム。
A printing system comprising an information processing apparatus and a printing apparatus
A means (S803) for determining whether to update the driver from the driver version;
A means for installing a driver (S804),
A means (S903) for determining whether to perform customization from the update result of the driver;
A means (S905) for determining whether to apply the custom setting;
Method to apply custom setting (S 907)
The printing system characterized by having.

本願によれば、ドライバー本体とカスタム設定のデータが分離されているカスタムドライバーに関して、ドライバー本体あるいはカスタム設定のそれぞれに対して更新するかどうか判定し、不要な処理を省略することで処理時間を短縮することができる。   According to the present application, it is determined whether or not the driver main body and custom setting data are separated from each other as to whether the driver main body or the custom setting is to be updated, and processing time is shortened by omitting unnecessary processing. can do.

システム構成を示す図Diagram showing system configuration クライアントコンピュータのハードウェア構成を示す図Diagram showing the hardware configuration of the client computer ドライバーセットおよびカスタマイズツールの構成を示す図Diagram showing the configuration of the driver set and customization tool カスタムモデルデータの一例Example of custom model data カスタム印刷設定データの一例Example of custom print setting data カスタム管理用データの一例Example of custom management data カスタム制御データの一例Example of custom control data 本発明の基本処理のフローFlow of basic processing of the present invention カスタマイズ処理の実行フローExecution flow of customization processing カスタマイズ内容の比較フローCustomized content comparison flow カスタム設定のバージョン情報の一例Example of custom setting version information カスタマイズの更新処理フローCustomization update process flow カスタマイズの更新ルールデータの一例Example of update rule data of customization

以下、本発明を実施するための形態について図面を用いて説明する。
[実施例1]
図1に、本発明に係るシステム構成の概略を表す模式図を示す。このシステムは、情報処理装置の一例であるクライアントコンピュータ101とページ記述言語(PDL)形式の印刷データを受信し印刷を行うことが可能なプリンター102を備える。これらは、Wide Area Network(WAN)を含むネットワーク103を通じて相互に通信可能である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Example 1
FIG. 1 is a schematic view showing an outline of a system configuration according to the present invention. This system includes a client computer 101, which is an example of an information processing apparatus, and a printer 102 capable of receiving print data in the page description language (PDL) format and printing. These can communicate with each other through a network 103 including a wide area network (WAN).

なお、プリンター102は、印刷機能のみを備えるシングルファンクションプリンタでも、印刷機能、スキャン機能、複写機能を備えるマルチファンクションプリンタでも構わない。また、クライアントコンピュータ101は、ネットワーク103に対し一台に限らず、複数台接続されていても構わない。   The printer 102 may be a single function printer having only a print function, or a multi-function printer having a print function, a scan function, and a copy function. Also, the number of client computers 101 is not limited to one, and a plurality of clients may be connected to the network 103.

図2は、図1のクライアントコンピュータ101のハードウェア構成を示すブロック図である。クライアントコンピュータ101において、中央演算処理装置(CPU201)は、ランダムアクセスメモリ(RAM202)に記憶されているプログラムに従って、システムバスに接続される各デバイスを制御する。なお、クライアントコンピュータ101は、少なくとも1つのCPU201を備える。加えて、CPU201が外部メモリ209に記憶されているプログラムに基づき処理を実行することによって、クライアントコンピュータ101のソフトウェア構成及び後述するフローチャートの各ステップの処理が実現される。   FIG. 2 is a block diagram showing the hardware configuration of the client computer 101 of FIG. In the client computer 101, a central processing unit (CPU 201) controls each device connected to a system bus according to a program stored in a random access memory (RAM 202). The client computer 101 includes at least one CPU 201. In addition, when the CPU 201 executes processing based on a program stored in the external memory 209, the software configuration of the client computer 101 and the processing of each step of the flowchart to be described later are realized.

このRAM202は、CPU201の主メモリ、ワークエリア等として機能する。203は、リードオンリーメモリ(ROM)である。ROM203は、ブートプログラムや基本入出力システム(BIOS)等の各種プログラムが書き込まれてある。操作入力装置インターフェース(I/F)204は、キーボードやポインティングデバイス(マウス)タッチUI(User Interface)などの操作入力装置205を制御するインターフェースである。ディスプレイI/F206はディスプレイ207への画面表示を制御する。   The RAM 202 functions as a main memory, a work area, and the like of the CPU 201. Reference numeral 203 denotes a read only memory (ROM). The ROM 203 stores various programs such as a boot program and a basic input / output system (BIOS). The operation input device interface (I / F) 204 is an interface for controlling the operation input device 205 such as a keyboard or a pointing device (mouse) touch UI (User Interface). The display I / F 206 controls screen display on the display 207.

外部メモリI/F208は、例えばハードディスク(HD)、ソリッドステートディスク(SSD)等の外部メモリ209とのアクセスを制御する。外部メモリ209は、オペレーティングシステムプログラム(OS)210をはじめ、タッチパネル、デスクトップそれぞれに対応したアプリケーション212、プリンタードライバーを含むドライバー3006を含む。そして、各種ファイル等を記憶し、クライアントコンピュータ101が読み取り可能な記憶媒体として機能する。ネットワークI/F213は、ネットワーク103を介してプリンター102に接続され通信制御処理を行なう。   An external memory I / F 208 controls access to an external memory 209 such as a hard disk (HD) or solid state disk (SSD). The external memory 209 includes an operating system program (OS) 210, a touch panel, an application 212 corresponding to each desktop, and a driver 3006 including a printer driver. The storage unit stores various files and the like, and functions as a storage medium readable by the client computer 101. A network I / F 213 is connected to the printer 102 via the network 103 and performs communication control processing.

図3を用いて、カスタマイズツール全体の構成を説明する。まず、図3(A)を用いてドライバーセットについて説明する。3000は、ドライバーセットである。ドライバーセット3000は、ドライバーをOS210内に配置するために必要なドライバー3006のファイル及びモジュールの集合である。3006は、ドライバーであり、印刷時に必要なレンダリングなどのモジュールや機種依存ファイル群などを持つ。3001は、機種依存ファイルである。機種依存ファイル3001には、機種ごとの禁則のルールや機能の一覧、工場出荷値の印刷設定やロケールごとのデフォルトの印刷設定などのファイル群が置いてある。   The configuration of the entire customization tool will be described with reference to FIG. First, the driver set will be described with reference to FIG. 3000 is a driver set. The driver set 3000 is a set of files and modules of the driver 3006 necessary to arrange the driver in the OS 210. Reference numeral 3006 denotes a driver, which has modules necessary for printing, such as rendering, model-dependent files, and the like. Reference numeral 3001 denotes a model dependent file. A model dependent file 3001 contains a group of files such as a list of prohibition rules and functions for each model, print settings for factory default values, and default print settings for each locale.

3002は、ドライバーUIモジュールである。ドライバーUIモジュール3002は、ドライバー3006がOS210内に配置された後に、印刷時に呼び出され、印刷設定の変更を容易にすることが可能なモジュールである。また、OS210内に配置する前であっても他のアプリケーション212からロードして呼び出すことも可能である。3003は、グラフィックスモジュールであり、ドライバー3006が印刷をする際に印刷対象のファイルをPDL(Page Description Language)に変換を行う。   Reference numeral 3002 denotes a driver UI module. The driver UI module 3002 is a module that can be called at the time of printing after the driver 3006 is placed in the OS 210 and can easily change the print settings. Also, even before being placed in the OS 210, it is possible to load and call from other applications 212. Reference numeral 3003 denotes a graphics module, which converts a file to be printed into PDL (Page Description Language) when the driver 3006 prints.

INFファイル3007は、ドライバーセット3000でサポートしている機種の一覧や、サポートしている機種のプリンタードライバーの必要なモジュールの一覧などの設定情報が記述されたファイルである。3004は、インストーラであり、インストーラ3004は、外部からの操作入力装置205を通じて起動された際にドライバー3006をOS210内に配置を行う。PowerShellアプリ3005は、操作入力装置205から起動された場合や他のアプリケーション212から起動された際に、PowerShellのAPIの呼び出しを行うことができるアプリケーションである。   The INF file 3007 is a file in which setting information such as a list of models supported by the driver set 3000 and a list of required modules of printer drivers of supported models is described. An installer 3004 arranges the driver 3006 in the OS 210 when the installer 3004 is activated through the operation input device 205 from the outside. The PowerShell application 3005 is an application capable of calling an API of PowerShell when activated from the operation input device 205 or when activated from another application 212.

PowerShellとは、Windows(商標登録)に内包されているコマンドラインベースの拡張可能なスクリプト言語であり、コマンドラインベースで様々なOS210内のAPIを呼び出すことができる。また、別ファイルとしてPowerShellスクリプトを生成、あるいは生成済みのPowerShellスクリプトを読み込み、実行するモジュールでも構わない。   PowerShell is a command line based extensible script language included in Windows (trademark registration), and can call APIs in various OSs 210 on a command line basis. Also, it is possible to generate a PowerShell script as a separate file, or load a generated PowerShell script and execute it.

図3(B)を用いて、カスタムドライバーセットの説明を行う。カスタムドライバーセットは、図3(A)のドライバーセット3000に対し、カスタム設定ファイルを追加した構成になっている。よって、図3(A)で説明済みの番号は、説明を省略する。
3008は、カスタム設定ファイルである。カスタム設定ファイル3008は、インストール時にドライバー3006がアクセスできる箇所に書き込まれることで、ドライバー3006のインストール直後に、ドライバー3006をカスタマイズされた設定に変更するために利用される。
A custom driver set will be described using FIG. 3 (B). The custom driver set is configured by adding a custom setting file to the driver set 3000 of FIG. 3 (A). Therefore, the numbers described in FIG. 3A will not be described.
3008 is a custom setting file. The custom setting file 3008 is written to a location where the driver 3006 can access at the time of installation, and is used to change the driver 3006 to a customized setting immediately after the installation of the driver 3006.

カスタム設定ファイル3008は、カスタムモデルデータ30081、カスタム機種データ30082、カスタム制御データ30083を持つ。カスタムモデルデータ30081は、カスタムドライバーセットでインストール対象のプリンターモデルの一覧のデータである。カスタムドライバーセットのユーザーは、カスタムドライバーセットの作成者が任意に選定したプリンターモデルのみ、インストールすることが可能になる。   The custom setting file 3008 has custom model data 30081, custom model data 30082, and custom control data 30083. Custom model data 30081 is data of a list of printer models to be installed in a custom driver set. Users of custom driver sets can install only printer models that the custom driver set creator arbitrarily selected.

カスタム機種データ30082は、カスタム印刷設定データ300821、カスタム管理用データ300822などのドライバー3006をカスタマイズするためのデータを持つ。カスタム印刷設定データ300821は、印刷設定をカスタマイズするための情報である。カスタム管理用データ300822は、デバイス設定や管理者設定などをカスタマイズするための情報である。カスタム制御データ30083は、インストール時のカスタマイズ処理に関して記載した情報である。個々のカスタム設定ファイル3008内のデータの詳細な説明については、後述する。   Custom model data 30082 has data for customizing the driver 3006 such as custom print setting data 300821 and custom management data 300822. Custom print setting data 300821 is information for customizing print settings. The custom management data 300822 is information for customizing device settings, administrator settings, and the like. The custom control data 30083 is information described regarding customization processing at the time of installation. The detailed description of the data in each custom setting file 3008 will be described later.

以下より、カスタム設定ファイル3008のデータに関して例示する。なお、本説明ではこれらのデータを別々の形で紹介しているが、ひとつのファイルとしてまとめて定義されていても、もちろん構わない。   The data of the custom setting file 3008 will be exemplified below. Although these data are introduced separately in this description, it does not matter even if they are collectively defined as one file.

図4は、カスタムモデルデータ30081の一例であり、マークアップ記述言語で記述されている。カスタムモデルデータ30081は、Properties要素を持ち、Properties要素の中にPrinterModel要素を1つから複数持つ。400は、PrinterModel要素である。PrinterModel要素400は子の要素として、Customized要素とPrefixString要素を持つ。401は、Customized要素であり、親の要素のPrinterModelをカスタムドライバーセットでインストール可能かどうかを示している。   FIG. 4 shows an example of the custom model data 30081 described in the markup description language. Custom model data 30081 has a Properties element, and has one or more PrinterModel elements in the Properties element. 400 is a PrinterModel element. A PrinterModel element 400 has a Customized element and a PrefixString element as child elements. Reference numeral 401 denotes a Customized element, which indicates whether the parent element PrinterModel can be installed using a custom driver set.

Cusomized要素401がONならばインストールが可能であることを表す。OFFの場合は、インストール不可であることを表す。402は、プリンターモデルを一意に定める情報が入力されたプリンターモデル識別子情報である。プリンターモデル識別子情報402は、カスタム機種データ30083を作成する際の名称に使われる。   If Cusomized element 401 is ON, it indicates that installation is possible. In the case of OFF, it indicates that installation is not possible. Reference numeral 402 denotes printer model identifier information into which information uniquely defining the printer model is input. The printer model identifier information 402 is used as a name when creating custom model data 30083.

図5は、カスタム機種データ30082に格納されている情報のひとつのカスタム印刷設定データ300821の一例である。カスタム印刷設定データ300821はマークアップ記述言語形式で作成されており、ドライバーセット3000が持つ工場出荷値の印刷設定と比較した際の差分データを保持する。本例では、カスタム印刷設定データ300821を、FeatureとOptionの組み合わせで表現しており、Featureは、マークアップ記述言語におけるOptionの親となる。   FIG. 5 shows an example of one piece of custom print setting data 300821 of the information stored in the custom model data 30082. The custom print setting data 300821 is created in a markup description language format, and holds difference data when compared with the print setting of the factory default value that the driver set 3000 has. In this example, custom print setting data 300821 is expressed by a combination of Feature and Option, and Feature is the parent of Option in the markup description language.

Featureは機能、Optionは機能に対して選択されている設定を表し、差分設定501では、工場出荷値の印刷設定がカラーであるドライバーに対して、デフォルトの印刷設定をモノクロに変更する場合の一例である。具体的にはOS210から提供されている標準設定であるpsk:PageOutputColorに対してpsk:Monochromeという設定がされている。なお、差分設定502も同様に工場出荷値の印刷設定と比較した際の差分データであるが、OS210の標準設定である差分設定501とは異なり、Featureの名称が「nS0000:」から始まるドライバー3006が独自に定義している設定である。   Feature indicates the function, Option indicates the setting selected for the function, and the difference setting 501 is an example of changing the default print setting to monochrome for a driver whose print setting of the factory default is color. It is. Specifically, psk: Monochrome is set to psk: PageOutputColor, which is a standard setting provided by the OS 210. The difference setting 502 is also difference data when compared with the print setting of the factory default value, but unlike the difference setting 501 which is the standard setting of the OS 210, the driver 3006 starts with the feature name “nS0000:”. Is a setting that is uniquely defined.

図6は、カスタム機種データ30082に格納されている情報のひとつのカスタム管理用データ300822の一例である。カスタム管理用データ300822はPropertyという要素を持ち、各Property要素は、管理者設定あるいはデバイス設定のいずれかの名称を表すName属性を持つ。図6の例では管理設定601は管理者設定であり、割り付け印刷(Nup)設定を表すConfig:AdminInfoAlwaysNupに対して「常に割り付けを行う」(AlwaysNup)が指定されている。また、管理設定602はデバイスのフィニッシャー等の取り付け情報を表している。   FIG. 6 shows an example of one piece of custom management data 300822 of information stored in the custom model data 30082. The custom management data 300822 has an element called Property, and each Property element has a Name attribute representing a name of either administrator setting or device setting. In the example of FIG. 6, the management setting 601 is administrator setting, and “Always allocate” (AlwaysNup) is specified for Config: AdminInfoAlwaysNup representing the allocated print (Nup) setting. Further, the management setting 602 represents attachment information of a finisher or the like of the device.

図7は、カスタム制御データ30083の一例である。図7のデータはカスタム設定を適用させるためのルールを管理する制御データ701であり、この記載を基準としてカスタム設定を適用するかどうかを決定する。制御データ701はExecuteItemという要素を持ち、子要素としてTargetItem、Condition、Actionを持ち、インストール済みの「どのモジュール」が「どうだった際」にカスタム設定を「どうするか」が記載される。TargetItemは、どのモジュールかを表す要素であり、ドライバー本体のインストールか(Installation)カスタム設定か(CustomSettings)のいずれかが対象となるかを表している。   FIG. 7 shows an example of the custom control data 30083. Data in FIG. 7 is control data 701 for managing rules for applying a custom setting, and it is determined based on this description whether to apply the custom setting. The control data 701 has an element called ExecuteItem, has TargetItem, Condition, and Action as child elements, and describes how to carry out custom setting when “what module” is installed. TargetItem is an element indicating which module, and indicates whether the installation of the driver itself (Installation) or custom settings (CustomSettings) is targeted.

Conditionはインストール済みの対象のモジュールが古いか(old)、新しいか(new)、同じバージョンか(same)等を表す。なお、その拡張として違った場合(different)や新旧バージョンを問わず強制的に行う(force)指定が存在する。なお、これらの条件を複数指定することで「新しい場合」と「同じ場合」のいずれかに回答する場合実行するよう指定することもできる。Actionは条件が該当した際にどうするかを上書きするか(overwrite)、削除するか(delete)、なにもしないか(nothing)を表す。   Condition indicates whether the target module installed is old (old), new (new), the same version (same) or the like. There is a designation to force the extension regardless of whether it is different or a new or old version. In addition, it is possible to specify to execute when answering to either “new case” or “same case” by specifying a plurality of these conditions. Action indicates whether to overwrite what you do when the condition is met (overwrite), delete (delete), or nothing (nothing).

ここでの定義702は「既存のドライバー」が「古いか同じ」場合に「上書きする」という情報を示している。また、定義703は「既存のドライバー」が「新しかった」場合には「なにもしない」定義となる。定義704は「既存のカスタム設定」が「古い」場合に「上書きする」という定義である。この他にも定義705のように「カスタム設定」が何かしら「違った場合」は「上書きする」指定や、定義706のように「カスタム設定」が「存在しない場合」には「なにもしない」等、カスタマイズされていないものはそのまま保持する指定も可能である。   The definition 702 here indicates the information “overwrite” when “existing driver” is “old or same”. The definition 703 is a definition of "do nothing" when the "existing driver" is "new". The definition 704 is a definition of “overwrite” when “existing custom setting” is “old”. In addition to this, as shown in definition 705, "if custom setting is different" is specified as "overwrite", or as in definition 706, when "custom setting" is not present, "do nothing" It is also possible to specify, for example, those that are not customized, as they are.

後述の説明においては、原則として「古い場合は上書き」、「同等かそれ以上のバージョンの場合は処理をスキップする」という条件を例として用いるが、定義で「上位バージョンでも上書きする」等の指定があった場合は、そちらに従うものとする。   In the following description, in principle, the condition “overwrite if older” or “skip processing if the version is equal to or higher” is used as an example, but “overwrite even upper version” is specified in the definition If there is, it shall be followed.

以下より、本実施例の処理フローの説明を行う。なお、本実施例におけるフローは特に断らない限りインストーラ3004で実行されるものとする。本説明ではインストーラ3004をインストール専用のアプリケーションを対象として説明を行うが、インストール操作と同等の処理を行うスクリプトやバッチファイルが対照でも構わない。また、各アプリケーション及びモジュールは、外部メモリ209に格納されており、必要に応じてRAM202にロードされ、クライアントコンピュータ101上のCPU201で実行される。   The processing flow of this embodiment will be described below. The flow in this embodiment is assumed to be executed by the installer 3004 unless otherwise specified. In the description, the installer 3004 is described for an application dedicated to installation, but a script or a batch file that performs processing equivalent to the installation operation may be used as a control. The respective applications and modules are stored in the external memory 209, loaded into the RAM 202 as necessary, and executed by the CPU 201 on the client computer 101.

これらの処理を行うことで、本体のドライバーのインストールとドライバーに対するカスタム設定を適用のそれぞれに対して更新するかどうか判定し、不要な処理を省略することができる。   By performing these processes, it is possible to determine whether to update the installation of the main body driver and the custom settings for the driver for each application, and to omit unnecessary processes.

図8は本発明のメイン処理を示すフローである。まずクライアントコンピュータ101に既にインストール済みのドライバーがあるかどうかを判定する(S801)。既存のドライバーが存在した場合は、そのバージョン情報の取得を行う(S802)。取得した情報に基づき新規のドライバーがインストール対象であるかを判定する(S803)。基本的には、既存のドライバーよりも新規ドライバーの方が新しい場合、アップグレードとしてインストール対象であるという判定を行い、同バージョンや古いバージョンがインストール済みであった場合はインストール対象とはしない。   FIG. 8 is a flow showing the main processing of the present invention. First, it is determined whether the client computer 101 already has a driver installed (S801). If there is an existing driver, the version information is acquired (S802). It is determined whether a new driver is to be installed based on the acquired information (S803). Basically, if the new driver is newer than the existing driver, it will be judged as an upgrade target, and it will not be a target for installation if the same version or an older version has already been installed.

ただし、強制的に指定バージョンに揃えるような指定がされていた場合は、新規ドライバーの方が古い場合でもダウングレードとして、インストール対象とする判定を返す。既存のインストールドライバーが存在しないか、上書き対象である場合は、新規ドライバーのインストールを行う(S804)。最後にカスタマイズ処理の実行を行う(S805)。本処理の詳細は後述する。また、本処理は本体のドライバーのインストールが実行されたか、スキップされたかに関わらず実行される。ただし、本体のドライバーのインストールがエラーで終了した場合等はこの限りではない。   However, if it has been forced to align to the specified version, even if the new driver is older, it returns the judgment to be installed as downgrade. If the existing installation driver does not exist or is to be overwritten, a new driver is installed (S804). Finally, the customization process is executed (S805). Details of this process will be described later. Also, this process is executed regardless of whether the installation of the driver of the main unit has been executed or skipped. However, this is not the case if the installation of the driver on the main unit ends with an error.

図9は、カスタマイズ処理の実行処理を示すフローである。まず制御データ701のような、どの条件でカスタマイズ処理を行うかを定義したカスタマイズ定義の取得を行う(S901)。   FIG. 9 is a flow showing an execution process of the customization process. First, a customization definition, such as the control data 701, defining which condition the customization process is to be performed is acquired (S901).

次に本体のドライバーが更新されたか、更新がスキップされたかといった更新結果の取得を行う(S902)。この際、単にスキップしただけでなく、旧バージョンだったためスキップしたのか、同バージョンで上書きの必要がなかったためスキップしたのか等の結果の詳細も含めて取得する。その結果を基にドライバーのカスタマイズを行う必要があるかの判定を行う(S903)。ドライバーが上書きされた場合はカスタマイズの必要があるという結果となるが、同バージョンだったため、ドライバーを上書きしなかった場合もカスタマイズだけは行う可能性があるため、この場合もカスタマイズの必要があるという判定を行う。   Next, the update result such as whether the driver of the main body has been updated or whether the update has been skipped is acquired (S902). At this time, not only the skip but also the details of the result such as whether it was skipped because it was the old version or skipped because it was not necessary to overwrite in the same version are acquired. Based on the result, it is determined whether it is necessary to customize the driver (S903). If the driver is overwritten, it means that customization is necessary. However, since it is the same version, only customization may be performed even if the driver is not overwritten. Make a decision.

次に既存のドライバーから設定済みのカスタム情報の取得を行う(S904)。そこから取得した情報を用いてカスタム内容の比較を行いカスタマイズの更新が必要か、そうでないかの判定を行う(S905)。なお、本処理の詳細は後述する。判定した結果からカスタマイズの更新が必要かの分岐を行う(S906)。カスタマイズを実行する場合は、新規ドライバーのカスタム情報で既存のカスタム情報の上書きを行う(S907)。   Next, the set custom information is acquired from the existing driver (S904). Custom content comparison is performed using the information acquired therefrom to determine whether or not customization updating is necessary (S905). The details of this process will be described later. Based on the result of the determination, a branch is made as to whether the customization needs to be updated (S906). If customization is to be performed, the existing custom information is overwritten with the new driver's custom information (S907).

図10でカスタム情報を比較し、カスタマイズが必要かどうかの情報を返す。概要としては新規のカスタム情報の方が新しかった場合、あるいは旧カスタマイズと違った設定が指定されていた場合はカスタマイズの更新が必要との判定を返し、そうでなかった場合はカスタマイズが不要との情報を返す。また、ここで使用する情報は図11の例のようにカスタム設定に埋め込まれたバージョンや日付などの情報やカスタム設定そのものの情報であり、前フローのS904の処理にて取得が行われているものとする。最初に、カスタム設定にバージョン情報1101や日付情報1102のように定量的に比較が可能な情報があるかを判定する(S1001)。   The custom information is compared in FIG. 10, and information is returned whether customization is necessary. As a summary, if the new custom information is newer, or if the setting different from the old customization is specified, the judgment that the customization update is necessary is returned, and if not, the customization is not necessary. Return information. Also, the information used here is information such as the version or date embedded in the custom setting as in the example of FIG. 11 or information of the custom setting itself, and acquisition is performed in the process of S904 of the previous flow It shall be. First, it is determined whether there is information that can be compared quantitatively, such as version information 1101 and date information 1102 in the custom setting (S1001).

比較が可能であった場合は、新旧の比較を行う(S1002)。ここでは、バージョン情報1101や日付情報1102を例として挙げたが、「1.0alpha」と「1.0beta」のような表記を伴うものでも所定の比較方法やテーブルを読み込むことで比較が可能なものであるなら種類は問わない。次に既存のカスタム情報が新規のカスタム情報よりも古いかの判定を行う(S1003)。   If the comparison is possible, new and old comparisons are performed (S1002). Here, version information 1101 and date information 1102 are taken as an example, but even those with notations such as “1.0alpha” and “1.0beta” can be compared by reading a predetermined comparison method or table. If it is a thing, the kind does not matter. Next, it is determined whether the existing custom information is older than the new custom information (S1003).

判定によりカスタマイズを行う必要がない場合はカスタマイズの更新が必要ないとの結果を返す(S1004)。また、判定によりカスタマイズを行う必要がある場合はカスタマイズの更新が必要との結果を返す(S1005)。カスタム情報に埋め込まれた情報がハッシュ値1103のように定量的な比較ができない情報であった場合はS1007に遷移し、情報が埋め込まれてない場合はS1010に遷移する(S1006)。S1007の処理では埋め込まれたハッシュ値1103が同じかどうかの比較を行い違った場合はカスタマイズを行う必要があるとの判定をする。判定によりカスタマイズを行う必要がない場合はカスタマイズの更新が必要ないとの結果を返す(S1008)。   If it is determined that the customization does not need to be performed, the result that the customization update is not necessary is returned (S1004). If it is determined that customization is required, the result that customization update is necessary is returned (S1005). If the information embedded in the custom information is information that can not be compared quantitatively as with the hash value 1103, the process transitions to S1007. If the information is not embedded, the process transitions to S1010 (S1006). In the process of S1007, whether or not the embedded hash values 1103 are the same is compared, and if different, it is determined that customization is necessary. If it is determined that the customization is not required, the result that the customization update is not required is returned (S1008).

また、判定によりカスタマイズを行う必要がある場合はカスタマイズの更新が必要との結果を返す(S1009)。次にS1010以下の処理に関して説明する。S1010〜S1014では既存のカスタム設定が新規のカスタム設定と同じかどうかの判定を行うが、バージョン情報やハッシュ値等の比較を行うための情報が存在しないため、新規のカスタム設定のデータが存在しているかの比較を行う。まず新規のカスタム設定のひとつを取得する(S1010)。   If it is determined that customization is required, the result that customization update is necessary is returned (S1009). Next, processing in S1010 and subsequent steps will be described. In S1010 to S1014, although it is determined whether the existing custom setting is the same as the new custom setting, data for the new custom setting exists because there is no information for comparing version information, a hash value, and the like. Make a comparison. First, one of the new custom settings is acquired (S1010).

次に取得したカスタム設定が既存のカスタム設定と同じであるかどうかの比較を行う(S1011)。そして未取得のカスタム設定が存在しているかを判定し、未取得のカスタム設定が存在していなかった場合は、カスタマイズの更新が必要ないという判定を行う(S1012)。設定の差異がないまま、S1012の条件で未取得のカスタム設定がないとの判定がされた場合はカスタマイズの更新が必要ないとの結果を返す(S1013)。S1011の判定で何かしら設定の差異が発見された場合はカスタマイズの更新が必要との結果を返す(S1014)。   Next, a comparison is made as to whether the acquired custom setting is the same as the existing custom setting (S1011). Then, it is determined whether there is an unacquired custom setting, and if there is no unacquired custom setting, it is judged that customization update is not necessary (S1012). If it is determined that there is no unacquired custom setting in the condition of S1012 while there is no difference in settings, a result that customization update is not required is returned (S1013). If a difference in settings is found in the determination of S1011, the result of the need for updating the customization is returned (S1014).

これらの処理を行うことで、本体のドライバーのインストールとドライバーに対するカスタム設定を適用のそれぞれに対して更新するかどうか判定し、不要な処理の省略を行う。   By performing these processes, it is determined whether the installation of the driver of the main body and the custom settings for the driver are updated for each application, and unnecessary processing is omitted.

[実施例2]
実施例1の処理を行うことで、カスタム設定の適用処理を省略していたが、全カスタム設定を上書きするため設定項目が多いとそれだけ時間がかかってしまうという問題があった。
Example 2
Although the process of applying the custom setting is omitted by performing the process of the first embodiment, there is a problem that it takes a long time if there are many setting items to overwrite all the custom settings.

このため、本実施例ではカスタマイズを実施しない設定を指定させることで、部分的に設定を適用することで、適用範囲外の更新処理の時間を短縮することができる。また、新規のカスタム設定に関しても適用する部分だけの定義をするだけで良くなるという利点も生まれる。   For this reason, in the present embodiment, by designating settings that are not to be customized, by partially applying settings, it is possible to shorten the time for update processing out of the applicable range. In addition, there is also the advantage that it becomes better to define only the parts that apply to new custom settings.

本処理の説明にあたり、図6を例に概要の説明を行う。まず、図6(A)をインストール済みドライバーで設定されている既存のカスタム設定、図6(B)を上書き対象の新規のカスタム設定とする。このうち管理設定601は常に割り付け印刷(Nup)をさせる設定であり、ユーザーが特定のポリシーに従い任意に設定を行う部分である。一方で、管理設定602はインストールを行うドライバーが対象とするプリンターに取り付けられるオプション類に関する設定であり、ハードウェア的な増設や変更がない限りは基本的に変わることはない設定となる。   In explaining the present process, the outline will be described by taking FIG. 6 as an example. First, the existing custom settings set in the installed driver as shown in FIG. 6A and the new custom settings to be overwritten are set as FIG. 6B. Among them, the management setting 601 is a setting for always performing allocation printing (Nup), and is a part where the user arbitrarily sets according to a specific policy. On the other hand, the management setting 602 is a setting relating to options attached to the printer targeted by the driver to be installed, and is basically a setting that does not change unless hardware addition or change is made.

通常だと、この常に割り付け印刷(Nup)をさせる設定のドライバーを、常にモノクロ印刷を行う設定のドライバーに変更したい場合、管理設定602のオプション類に関する設定も含めた全項目分のカスタム設定を定義する必要があった。ここで、管理設定602のProperty要素以下のName属性は「Config:Printer〜」で開始されるため、このような名称で始まる設定は保持しておくというルールで設定を反映させることで部分的な設定の適用が可能となる。具体的には図6(A)の設定に対して図6(B)のように管理設定602のオプション類に関する設定を含まない設定を適用することで、図6(C)のような設定とすることができる。   Normally, if you want to change the driver for the setting to always assign printing (Nup) to the driver for setting to always perform monochrome printing, define custom settings for all items including the settings related to the options of the management setting 602. I needed to. Here, since the Name attribute under the Property element of the management setting 602 starts with “Config: Printer ~”, the setting is reflected by the rule of holding the setting starting with such a name, and thus the setting is partially reflected. It becomes possible to apply the setting. Specifically, as shown in FIG. 6 (A), setting as shown in FIG. 6 (C) is performed by applying the setting not including the setting relating to the options of the management setting 602 as shown in FIG. 6 (B). can do.

本実施例に関して、図12、図13を用いて、上記説明であったように特定のルールにあった設定を除外しつつ設定を適用する処理について説明する。まず図13であるが、前述の「Config:Printer〜」のように特定の名称で開始される設定を除外するための定義である。本設定はrules要素を持ち、それ以下に子要素として除外するルール数分のrule要素を持つ。rule要素の以下にはphrase要素を持ち、本例では除外する対象の設定が「Config:Printer.*」のように正規表現で記載されている。なお、表現自体は単なる文字列を入力させておいて文字列の部分一致等の方法で対象設定を特定する等、特に正規表現以外の方法でも手法は構わない。   In the present embodiment, processing for applying settings while excluding settings that were in accordance with a specific rule as described above will be described using FIGS. 12 and 13. First, as shown in FIG. 13, the definition is for excluding the setting started with a specific name like “Config: Printer ̃” described above. This setting has a rules element, and below that has as many rule elements as the number of rules to be excluded as child elements. Below the rule element is the phrase element, and in this example, the configuration to be excluded is described as a regular expression like "Config: Printer. *". Note that the expression itself may be a simple character string input and the target setting may be specified by a method such as partial matching of character strings, and the method may be a method other than the regular expression.

次に図12のフローについて説明を行う。まず、図13のような更新ルールの読み込みを行う(S1201)。次に新規のカスタム設定の読み込みを行う(S1202)。ここで既存のカスタム設定から一項目設定の取得を行う(S1203)。次にS1203で取得した項目が新規カスタム設定に存在しているか判定する(S1204)。   Next, the flow of FIG. 12 will be described. First, the update rule as shown in FIG. 13 is read (S1201). Next, a new custom setting is read (S1202). Here, one item setting is acquired from the existing custom setting (S1203). Next, it is determined whether the item acquired in S1203 exists in the new custom setting (S1204).

ここで新規のカスタム設定が存在していない場合は、S1205のステップに遷移し、既存のカスタム設定を保持するかどうかの判定に移る。次に処理の対象となっている既存の設定が、更新ルールにより保持する対象かどうかの判定を行う(S1205)。S1205のステップで処理の対象となっている既存の設定が保持する設定であると判定された場合は、設定を保持する(S1206)。また、処理の対象となっている既存の設定が保持する設定であると判定されなかった場合は設定を削除する(S1207)。   If there is no new custom setting, the process proceeds to step S1205 to determine whether to retain the existing custom setting. Next, it is determined whether the existing setting to be processed is an object to be held by the update rule (S1205). If it is determined in the step S1205 that the existing setting to be processed is the setting to be held, the setting is held (S1206). If it is not determined that the existing setting to be processed is the setting to be held, the setting is deleted (S1207).

処理の対象となっている既存の設定に対する判定が完了したら未取得のカスタム設定が存在しているかを判定する(S1208)。既存のカスタム設定を保持するかの判定を全て終えたら、最後に新規のカスタム設定を適用する(S1209)。   When the determination on the existing setting to be processed is completed, it is determined whether there is an unacquired custom setting (S1208). When all determination of whether to retain the existing custom settings is finished, the new custom settings are applied last (S1209).

以上の処理を行うことで、カスタマイズを実施しない部分を指定することで、部分的な設定の適用をさせることができる。   By performing the above-described processing, partial settings can be applied by specifying a portion where customization is not performed.

101 クライアントコンピュータ
102 プリンター
103 ネットワーク
101 Client computer 102 Printer 103 Network

Claims (5)

情報処理装置、印刷装置から構成される印刷システムであって、
ドライバーのバージョンからドライバーを更新するかどうかを判定する手段(S803)と、
ドライバーのインストールを行う手段(S804)と、
ドライバーの更新結果からカスタマイズを行うかを判定する手段(S903)と、
カスタム設定を適用するかを判断する手段(S905)と、
カスタム設定を適用する手段(S907)
を有することを特徴とした印刷システム。
A printing system comprising an information processing apparatus and a printing apparatus
A means (S803) for determining whether to update the driver from the driver version;
A means for installing a driver (S804),
A means (S903) for determining whether to perform customization from the update result of the driver;
A means (S905) for determining whether to apply the custom setting;
Method to apply custom setting (S 907)
The printing system characterized by having.
前記請求項1に記載のカスタム設定を適用するかを判断する手段(S905)が、
前記カスタム設定に埋め込まれたカスタム設定の新旧を示す情報により前記カスタム設定を適用するかを判断する手段(S1002)
を有することを特徴とした印刷システム。
A means (S 905) for determining whether to apply the custom setting according to claim 1,
Means for determining whether to apply the custom setting according to information indicating the new and old of the custom setting embedded in the custom setting (S1002)
The printing system characterized by having.
前記請求項1に記載のカスタム設定を適用するかを判断する手段(S905)が、
前記カスタム設定に埋め込まれたカスタム設定の内容を一意に判別可能な情報により前記カスタム設定を適用するかを判断する手段(S1007)
を有することを特徴とした印刷システム。
A means (S 905) for determining whether to apply the custom setting according to claim 1,
Means for determining whether or not the custom setting is applied according to information that can uniquely determine the content of the custom setting embedded in the custom setting (S1007)
The printing system characterized by having.
前記請求項1に記載のカスタム設定を適用するかを判断する手段(S905)が、
前記カスタム設定内の全設定を比較することで前記カスタム設定を適用するかを判断する手段(S1010〜S1014)
を有することを特徴とした印刷システム。
A means (S 905) for determining whether to apply the custom setting according to claim 1,
Means for judging whether the custom setting is applied by comparing all the settings in the custom setting (S1010 to S1014)
The printing system characterized by having.
前記請求項1に記載のカスタム設定を適用する手段(S907)が、
既存のカスタム設定を保持しておくための更新ルールを読み込む手段(S1201)と
前記更新ルールにより前記既存のカスタム設定を保持しておくかを判断する手段(S1205)
であることを特徴とする印刷システム。
A means (S 907) for applying the custom setting according to claim 1,
A means (S1201) for reading an update rule for holding an existing custom setting, and a means (J1205) for judging whether the existing custom setting is held according to the update rule
The printing system characterized by being.
JP2017195548A 2017-10-06 2017-10-06 Printer drive Pending JP2019070885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017195548A JP2019070885A (en) 2017-10-06 2017-10-06 Printer drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017195548A JP2019070885A (en) 2017-10-06 2017-10-06 Printer drive

Publications (1)

Publication Number Publication Date
JP2019070885A true JP2019070885A (en) 2019-05-09

Family

ID=66440677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017195548A Pending JP2019070885A (en) 2017-10-06 2017-10-06 Printer drive

Country Status (1)

Country Link
JP (1) JP2019070885A (en)

Similar Documents

Publication Publication Date Title
JP4974909B2 (en) Information processing apparatus, print setting method, storage medium, program
US9052850B2 (en) Printer driver, storage medium, and information processing apparatus
JP5267337B2 (en) Program, storage medium, information processing apparatus, printer apparatus, and system
US20190050173A1 (en) Information processing apparatus, control method, and recording medium
US8786869B2 (en) Updateable printer driver, information processing apparatus, and computer-readable recording medium recording therein printer driver
US10558405B2 (en) Information processing apparatus and driver customizing method
JP5621336B2 (en) Information processing apparatus and print control program
US9013724B2 (en) Information processing apparatus and program
US8767253B2 (en) Information processing apparatus and computer program product
JP2007272763A (en) Module installation method and device
US9086938B2 (en) Information processing apparatus, control method thereof, and storage medium
JP5522952B2 (en) Print control apparatus, print control method, and program
US8842321B2 (en) Information processing apparatus, printer driver, print setting method and data structure
US20210064300A1 (en) Application and information processing apparatus
JP2005173701A (en) Information processor, information processing method, and program therefor
CN107153517B (en) Information processing apparatus and information processing method
JP2018173998A (en) Information processing device, control method, and program
JP2009163760A (en) Information processing apparatus, and method and program therefor
JP2019070885A (en) Printer drive
JP2015204056A (en) Print control device, method for processing data of print control device, program, and printer driver
JP3817499B2 (en) Information processing apparatus, control method, and control program
JP5673730B2 (en) Information processing device
JP2017162106A (en) Information processor and install method of device driver
JP2021174423A (en) Device driver and device
JP2019175031A (en) Information processing device, and method and program for controlling information processing device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20191125