JP6497574B2 - Printing instruction apparatus and printer driver - Google Patents

Printing instruction apparatus and printer driver Download PDF

Info

Publication number
JP6497574B2
JP6497574B2 JP2014212205A JP2014212205A JP6497574B2 JP 6497574 B2 JP6497574 B2 JP 6497574B2 JP 2014212205 A JP2014212205 A JP 2014212205A JP 2014212205 A JP2014212205 A JP 2014212205A JP 6497574 B2 JP6497574 B2 JP 6497574B2
Authority
JP
Japan
Prior art keywords
setting
printer driver
policy
item
items
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
JP2014212205A
Other languages
Japanese (ja)
Other versions
JP2016081314A (en
JP2016081314A5 (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2014212205A priority Critical patent/JP6497574B2/en
Publication of JP2016081314A publication Critical patent/JP2016081314A/en
Publication of JP2016081314A5 publication Critical patent/JP2016081314A5/ja
Application granted granted Critical
Publication of JP6497574B2 publication Critical patent/JP6497574B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷装置に印刷を指示する印刷指示装置及び当該印刷指示装置で動作するプリンタドライバに関する。   The present invention relates to a print instruction apparatus that instructs a printing apparatus to perform printing, and a printer driver that operates on the print instruction apparatus.

プリンタや複合機(MFP:Multi Function Peripheral)などの印刷装置に印刷を指示する場合、コンピュータ装置にインストールされているアプリケーションを用いて文書を作成した後、文書のデータを、印刷装置を制御するためのソフトウェア(プリンタドライバ)を用いてページ記述言語(PDL:Page Description Language)形式の印刷データに変換して印刷装置に送信し、印刷装置では、印刷データを解析して中間データを生成した後、ビットマップ形式の画像を形成し、用紙に画像を転写して出力する。   When instructing printing to a printing device such as a printer or a multi-function peripheral (MFP), after creating a document using an application installed in a computer device, the document data is used to control the printing device. Is converted into print data in a page description language (PDL) format using the software (printer driver) and sent to the printing apparatus. The printing apparatus analyzes the print data and generates intermediate data. A bitmap format image is formed, and the image is transferred to paper and output.

上記印刷に際して、近年、印刷コストの削減が叫ばれており、モノクロ印刷にしたり、両面印刷にしたりして、用紙やトナーなどの消耗品の削減を図っている。しかしながら、現在のプリンタドライバの多くは、片面印刷がデフォルトの設定になっていたり、カラー機種のプリンタドライバはカラー印刷がデフォルトの設定になっていたりするため、ユーザの要望と必ずしも合致していない。   In the above printing, reduction of printing cost has been screamed in recent years, and it is attempted to reduce consumables such as paper and toner by using monochrome printing or duplex printing. However, many current printer drivers do not always meet the user's request because single-sided printing has a default setting or color printer drivers have a default setting for color printing.

このような場合、ユーザはプリンタドライバのUI(User Interface)画面を操作してデフォルトの設定を変更することになるが、複数台の印刷装置を管理している企業のIT管理者などは、台数分の設定を変更しなければならないため、大きな負担となっている。このような背景から、あるプリンタドライバの設定を他のプリンタドライバに反映させるための様々な方法が提案されている。   In such a case, the user changes the default setting by operating the UI (User Interface) screen of the printer driver. However, the IT manager of a company that manages a plurality of printing apparatuses, Since the setting of the minute has to be changed, it is a big burden. Against this background, various methods have been proposed for reflecting the settings of a certain printer driver in other printer drivers.

例えば、下記特許文献1には、コンピュータを、記憶手段に記憶されている設定変更対象の複数のデバイスドライバのうちの少なくとも1つのデバイスドライバに対し、前記少なくとも1つのデバイスドライバによって表示手段に表示される設定画面を介して設定を変更可能な項目のうち、初期値変更対象の項目と当該項目の初期値を指定する第1の指定、管理者以外の利用者による前記設定画面を介しての設定変更を禁止する項目を指定する第2の指定、及び、管理者以外の利用者に対しての前記設定画面への表示を禁止する項目を指定する第3の指定の少なくとも1つを行うための指定画面を表示手段に表示させる表示制御手段、及び、受付手段によって受け付けされた前記第1の指定、前記第2の指定及び前記第3の指定の少なくとも1つに基づいて、前記複数のデバイスドライバの設定を各々変更するか、又は、前記設定画面が表示される際にデバイスドライバによって参照され、前記設定を変更可能な項目毎に、その初期値と、前記設定画面を介しての設定変更の禁止の有無及び前記設定画面への表示の有無の少なくとも一方と、を規定する設定情報を、前記複数のデバイスドライバについて各々作成又は変更する変更手段として機能させるための設定変更プログラムが開示されている。   For example, in the following Patent Document 1, the computer is displayed on the display unit by the at least one device driver with respect to at least one device driver among the plurality of device drivers to be changed stored in the storage unit. Among the items whose settings can be changed via the setting screen, the first specification for specifying the initial value change target item and the initial value of the item, and the setting via the setting screen by a user other than the administrator For performing at least one of the second designation that designates an item that is prohibited to be changed and the third designation that designates an item that is prohibited from being displayed on the setting screen for a user other than the administrator. Display control means for displaying the designation screen on the display means, and at least one of the first designation, the second designation, and the third designation received by the receiving means Each of the settings of the plurality of device drivers based on one of them, or is referred to by a device driver when the setting screen is displayed, and for each item whose settings can be changed, its initial value, Setting information that defines whether to prohibit setting change via the setting screen and / or display on the setting screen is made to function as changing means for creating or changing each of the plurality of device drivers. A setting change program is disclosed.

また、下記特許文献2には、予め認証されている認証対象のファイルと、前記認証対象のファイルの認証情報が記述された認証情報ファイルと、動作を規定するデフォルト設定ファイルとを有し、情報処理装置にインストールされる際、前記認証対象のファイルから生成された認証情報と前記認証情報ファイルの認証情報との比較による認証を受けるプログラムであって、CPUに、情報処理装置に予め定められたファイル名の設定ファイルが存在する場合、前記設定ファイルに記述された設定データを、当該プログラムが格納される第1の記憶領域とは異なる第2の記憶領域に登録するデータ登録ステップと、前記第2の記憶領域に前記設定データが記憶されているか否かを判定する判定ステップと、前記設定データが記憶されていると判定された場合、前記設定データを当該プログラムの動作に反映させる設定反映処理ステップと、を実行させるプログラムが開示されている。   Patent Document 2 listed below includes an authentication target file that has been authenticated in advance, an authentication information file in which authentication information of the authentication target file is described, and a default setting file that defines the operation. A program for receiving authentication by comparing authentication information generated from a file to be authenticated and authentication information of the authentication information file when installed in a processing device, and predetermined by the CPU in the information processing device A data registration step for registering the setting data described in the setting file in a second storage area different from the first storage area in which the program is stored; A determination step for determining whether or not the setting data is stored in a second storage area; and determining that the setting data is stored. If it is, the program for executing a configuration reflection process step to be reflected in the operation of the program the setting data is disclosed.

特開2011−096100号公報JP 2011-096100 A 特開2013−190897号公報JP 2013-190897 A

特許文献1、2の技術を利用して、第1のプリンタドライバの設定を第2のプリンタドライバに反映させることは可能であるが、従来の技術は設定値そのものをコピーするものであり、第1のプリンタドライバが印刷指示を行う第1のプリンタと、第2のプリンタドライバが印刷指示を行う第2のプリンタと、で機能が異なる場合、第1のプリンタドライバの設定の思想(設定ポリシーと呼ぶ。)を第2のプリンタドライバの設定に反映させることができない場合が生じる。例えば、用紙削減の観点から第1のプリンタドライバのある機能に対して所定の設定を行った場合、第2のプリンタにその機能がなければ、第2のプリンタドライバの設定を用紙削減が実現可能な設定に変更することができない。   It is possible to reflect the setting of the first printer driver in the second printer driver by using the techniques of Patent Documents 1 and 2, but the conventional technique copies the setting value itself. If the functions of the first printer for which the first printer driver issues a print instruction and the second printer for which the second printer driver issues a print instruction are different, the first printer driver setting concept (setting policy and May not be reflected in the setting of the second printer driver. For example, if a predetermined setting is made for a certain function of the first printer driver from the viewpoint of paper reduction, the setting of the second printer driver can be reduced if the second printer does not have that function. Cannot be changed to the correct setting.

また、特許文献1は、Point and Printにてサーバ側で設定した値をクライアントにインストールするインストールパッケージに反映させるものであり、特許文献2は、各機能のデフォルト定義を設定ファイルとして保存し、プリンタドライバのインストール時に設定ファイルに応じて設定値を変更するものであるが、これらの技術では、同じコンピュータ装置内に既にインストールされているプリンタドライバに設定を反映させることができないという問題もある。   Patent Document 1 reflects the values set on the server side with Point and Print in the installation package installed on the client. Patent Document 2 stores the default definition of each function as a setting file, and the printer. Although the setting value is changed according to the setting file at the time of driver installation, these techniques also have a problem that the setting cannot be reflected on a printer driver already installed in the same computer apparatus.

また、特許文献2には、各機能のデフォルト定義をツールで読み込むものであるため、専用のツールが必要になり、汎用性に欠けるという問題もある。   Further, Patent Document 2 has a problem that since a default definition of each function is read by a tool, a dedicated tool is necessary and lacks versatility.

本発明は、上記問題点に鑑みてなされたものであって、その主たる目的は、あるプリンタドライバの設定を他のプリンタドライバの設定に適切に反映させることができる印刷指示装置及びプリンタドライバを提供することにある。   The present invention has been made in view of the above problems, and a main object thereof is to provide a print instruction apparatus and a printer driver capable of appropriately reflecting the setting of a certain printer driver in the setting of another printer driver. There is to do.

本発明の一側面は、複数のプリンタドライバがインストールされる印刷指示装置であって、前記複数のプリンタドライバは、各々、印刷指示を行う印刷装置の機能に応じた項目が設定可能であり、各々の項目に対する設定値が予め登録されており、前記複数のプリンタドライバの中から選択される所定のプリンタドライバは、1又は複数の項目の設定値に基づいて設定ポリシーを決定し、決定した前記設定ポリシーを記憶部の所定の記憶領域に保存し、前記所定のプリンタドライバを除く他のプリンタドライバは、前記記憶部の前記所定の記憶領域に前記設定ポリシーが保存されている場合に、前記設定ポリシーに関連する1又は複数の項目の設定値を前記設定ポリシーに応じて変更することを特徴とする。   One aspect of the present invention is a print instruction apparatus in which a plurality of printer drivers are installed, and each of the plurality of printer drivers can set items according to the function of the printing apparatus that issues a print instruction. Setting values for the items are registered in advance, and a predetermined printer driver selected from the plurality of printer drivers determines a setting policy based on the setting values of one or more items, and the determined setting The policy is stored in a predetermined storage area of the storage unit, and other printer drivers other than the predetermined printer driver can store the setting policy when the setting policy is stored in the predetermined storage area of the storage unit. The setting value of one or a plurality of items related to the item is changed according to the setting policy.

本発明の一側面は、印刷装置に印刷指示を行う装置にインストールされるプリンタドライバであって、前記装置に、前記印刷装置の機能に応じた項目が設定可能に表示される印刷設定画面を表示部に表示させて、1又は複数の項目を設定させる設定処理、前記1又は複数の項目の設定値に基づいて設定ポリシーを決定し、決定した前記設定ポリシーを記憶部の所定の記憶領域に保存する設定ポリシー決定処理、を実行させることを特徴とする。   One aspect of the present invention is a printer driver installed in a device that issues a print instruction to a printing device, and displays a print setting screen on which the items corresponding to the functions of the printing device can be set. A setting process for displaying one or a plurality of items on the display unit, determining a setting policy based on a setting value of the one or a plurality of items, and storing the determined setting policy in a predetermined storage area of the storage unit A setting policy determination process to be executed.

本発明の一側面は、印刷装置に印刷指示を行う装置にインストールされるプリンタドライバであって、前記装置に、前記装置にインストールされた他のプリンタドライバが1又は複数の項目の設定値に基づいて決定した設定ポリシーが記憶部の所定の記憶領域に保存されている場合に、前記印刷装置の機能に応じた項目の内の前記設定ポリシーに関連する1又は複数の項目の設定値を前記設定ポリシーに応じて変更する設定ポリシー反映処理、前記設定値を変更した印刷設定画面を表示部に表示させる表示処理、を実行させることを特徴とする。   One aspect of the present invention is a printer driver that is installed in a device that issues a print instruction to a printing device, and the other printer driver installed in the device is based on setting values of one or more items. When the setting policy determined in this manner is stored in a predetermined storage area of the storage unit, the setting value of one or more items related to the setting policy among the items corresponding to the function of the printing apparatus is set. A setting policy reflection process to be changed according to a policy and a display process to display a print setting screen in which the setting value has been changed are displayed on a display unit.

本発明の印刷指示装置及びプリンタドライバによれば、あるプリンタドライバの設定を他のプリンタドライバの設定に適切に反映させることができる。   According to the print instruction apparatus and the printer driver of the present invention, settings of a certain printer driver can be appropriately reflected on the settings of other printer drivers.

その理由は、複数のプリンタドライバがインストールされる印刷指示装置において、所定のプリンタドライバは、1又は複数の項目の設定値に基づいて設定ポリシーを決定し、決定した設定ポリシーを所定の記憶領域に保存し、他のプリンタドライバは、所定の記憶領域に設定ポリシーが保存されている場合に、設定ポリシーに関連する項目を特定し、その中の少なくとも1つの項目の設定値を設定ポリシーに応じて変更する制御を行うからである。   The reason is that in a print instruction apparatus in which a plurality of printer drivers are installed, a predetermined printer driver determines a setting policy based on setting values of one or a plurality of items, and the determined setting policy is stored in a predetermined storage area. When the setting policy is stored in a predetermined storage area, the other printer driver specifies an item related to the setting policy, and sets the setting value of at least one of the items according to the setting policy. This is because control to change is performed.

本発明の第1の実施例に係る印刷指示装置のハードウェア構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of a print instruction apparatus according to a first embodiment of the present invention. 本発明の第1の実施例に係る印刷指示装置の機能及び処理の概略を示すブロック図である。1 is a block diagram showing an outline of functions and processing of a print instruction apparatus according to a first embodiment of the present invention. 本発明の第1の実施例に係る印刷指示装置における設定ポリシー決定処理を示すフローチャート図である。FIG. 6 is a flowchart illustrating a setting policy determination process in the print instruction apparatus according to the first embodiment of the invention. 本発明の第1の実施例に係る印刷指示装置における設定ポリシー反映処理を示すフローチャート図である。FIG. 6 is a flowchart illustrating a setting policy reflection process in the print instruction apparatus according to the first embodiment of the invention. 本発明の第1の実施例に係る印刷指示装置における設定ポリシー消去処理を示すフローチャート図である。FIG. 6 is a flowchart illustrating a setting policy deletion process in the print instruction apparatus according to the first embodiment of the invention. 本発明の第1の実施例に係る一括設定ダイアログの一例を示す図である。It is a figure which shows an example of the batch setting dialog which concerns on 1st Example of this invention. 本発明の第1の実施例に係る代表プリンタドライバの印刷設定画面の一例を示す図である。6 is a diagram illustrating an example of a print setting screen of a representative printer driver according to the first exemplary embodiment of the present invention. FIG. 本発明の第1の実施例に係るレベル設定ダイアログの一例を示す図である。It is a figure which shows an example of the level setting dialog which concerns on 1st Example of this invention. 本発明の第1の実施例に係るメッセージダイアログの一例を示す図である。It is a figure which shows an example of the message dialog based on 1st Example of this invention. 本発明の第1の実施例に係る機種A用のプリンタドライバの印刷設定画面の一例である。It is an example of a print setting screen of the printer driver for model A according to the first embodiment of the present invention. 本発明の第1の実施例に係る機種B用のプリンタドライバの印刷設定画面の一例である。It is an example of a print setting screen of the printer driver for model B according to the first embodiment of the present invention. 本発明の第2の実施例に係る印刷指示装置における設定ポリシー決定処理を示すフローチャート図である。FIG. 10 is a flowchart illustrating a setting policy determination process in a print instruction apparatus according to a second embodiment of the present invention. 本発明の第2の実施例に係る一括設定ダイアログの一例を示す図である。It is a figure which shows an example of the batch setting dialog which concerns on 2nd Example of this invention. 本発明の第2の実施例に係る設定ポリシー手動設定ダイアログの一例を示す図である。It is a figure which shows an example of the setting policy manual setting dialog which concerns on 2nd Example of this invention.

背景技術で示したように、印刷コストを削減するためにプリンタドライバの設定を変更(機能に応じた項目の設定値を変更)する際、複数台のプリンタを管理している管理者などは、台数分の設定を変更しなければならず負荷が大きいことから、あるプリンタドライバの設定を他のプリンタドライバに反映させるための様々な方法が提案されている。しかしながら、従来の技術は、あるプリンタドライバの設定値をそのまま他のプリンタドライバにコピーするものであるため、各々のプリンタドライバが印刷指示を行うプリンタの機能が異なる場合、設定を適切に反映させることができないという問題がある。   As shown in the background art, when changing the printer driver settings (changing the setting value of the item according to the function) to reduce the printing cost, an administrator who manages multiple printers, Various settings for reflecting the setting of a certain printer driver to other printer drivers have been proposed because the setting for the number of units must be changed and the load is large. However, since the conventional technology is to copy the setting value of a certain printer driver as it is to another printer driver, if each printer driver has a different function of the printer that issues a print instruction, the setting is appropriately reflected. There is a problem that can not be.

例えば、用紙削減を図るために、第1のプリンタドライバの印刷種類を両面印刷に設定した場合、第2のプリンタドライバが印刷指示を行う第2のプリンタに両面印刷の機能がなければ、当該第2のプリンタでは用紙削減を図ることができない。また、トナー削減を図るために、第1のプリンタドライバのトナーセーブ機能をオンに設定した場合、第2のプリンタドライバが印刷指示を行う第2のプリンタにトナーセーブの機能がなければ、当該第2のプリンタではトナー削減を図ることができない。   For example, if the print type of the first printer driver is set to duplex printing in order to reduce paper, the second printer driver for which the second printer driver issues a print instruction does not have a duplex printing function. The printer of No. 2 cannot reduce paper. In addition, when the toner save function of the first printer driver is set to ON in order to reduce toner, if the second printer for which the second printer driver issues a print instruction does not have a toner save function, the first The printer of No. 2 cannot reduce toner.

また、従来の技術は、プリンタのインストール時に他のプリンタドライバの設定を反映させるものであるため、同じコンピュータ装置内に既にインストールされているプリンタドライバに対して設定を反映させることができない。また、特許文献2のように、各機能のデフォルト定義を専用のツールで読み込む方法では、専用のツールを用意する必要があり、汎用性に欠ける。   In addition, since the conventional technology reflects the settings of other printer drivers at the time of printer installation, the settings cannot be reflected to printer drivers already installed in the same computer apparatus. Also, as in Patent Document 2, the method of reading the default definition of each function with a dedicated tool requires the preparation of a dedicated tool and lacks versatility.

ここで、用紙削減という思想には、両面に印刷することも複数ページを集約して印刷する(ページ割付と呼ぶ。)ことも含まれ、両面印刷の機能がないプリンタでもページ割付に設定を変更することによって用紙削減を図ることができる。また、両面印刷の機能がある場合でも、両面印刷に加えて、ページ割付に設定を変更することによって更なる用紙削減を図ることができる。また、トナー削減という思想には、トナーセーブ機能をオンにすることもカラーの原稿をモノクロ印刷することも含まれ、トナーセーブの機能がないプリンタでもモノクロ印刷に設定を変更することによってトナー削減を図ることができる。また、トナーセーブの機能がある場合でも、トナーセーブに加えて、モノクロ印刷に設定を変更することによって更なるトナー削減を図ることができる。すなわち、設定反映元の第1のプリンタドライバにあり、設定反映先の第2のプリンタドライバにない項目や、設定反映元の第1のプリンタドライバで設定されていない項目であっても、同じ思想に属する設定を変更することによってその思想を実現することが可能である。   Here, the idea of paper reduction includes printing on both sides and printing multiple pages together (referred to as page assignment), and changing the setting to page assignment even for printers that do not have a double-sided printing function. By doing so, paper can be reduced. Even if there is a double-sided printing function, in addition to double-sided printing, it is possible to further reduce paper by changing the setting for page allocation. In addition, the idea of toner reduction includes turning on the toner save function and monochrome printing of color originals. Even in printers that do not have the toner save function, changing the setting to monochrome printing can reduce the toner. Can be planned. Even when there is a toner save function, it is possible to further reduce toner by changing the setting to monochrome printing in addition to toner save. That is, the same idea is applied to items that are in the first printer driver that is the setting reflection source and are not set in the second printer driver that is the setting reflection destination, or items that are not set in the first printer driver that is the setting reflection source. It is possible to realize the idea by changing the setting belonging to.

そこで、本発明の一実施の形態では、同一のコンピュータ装置内にインストールされている複数のプリンタドライバのデフォルトの設定を変更するにあたり、代表のプリンタドライバの設定をそのまま他のプリンタドライバに反映させるのではなく、設定の思想(設定ポリシー)を伝えて、設定される側の他のプリンタドライバは、その設定ポリシーに見合った設定に変更するようにする。   Therefore, in the embodiment of the present invention, when changing the default settings of a plurality of printer drivers installed in the same computer apparatus, the settings of the representative printer driver are reflected on the other printer drivers as they are. Instead, the setting philosophy (setting policy) is transmitted, and the other printer driver on the setting side changes the setting to match the setting policy.

具体的には、代表のプリンタドライバでは、1又は複数の項目の設定値に基づいて設定ポリシーを決定し、必要に応じて、設定ポリシーを反映させる設定レベルを決定し、決定した設定ポリシー(及び設定レベル)をレジストリ等の所定の記憶領域に書き込む。そして、他のプリンタドライバは、レジストリに設定ポリシー(及び設定レベル)が格納されている場合、設定ポリシーに関連する項目の中から自身がサポートしている項目を特定し、特定した項目の設定値を設定ポリシーに応じた設定値に変更する。
Specifically, the representative printer driver determines a setting policy based on the setting values of one or a plurality of items, determines a setting level that reflects the setting policy as necessary, and determines the determined setting policy (and (Setting level) is written in a predetermined storage area such as a registry. Then, when the setting policy (and setting level) is stored in the registry, the other printer driver identifies the item that it supports from among the items related to the setting policy, and the setting value of the identified item Change to a setting value according to the setting policy.

このように、本発明では、単に代表のプリンタドライバの設定値を反映させるのではなく、設定ポリシーを反映させるため、代表のプリンタドライバで設定されている項目について、設定される側の他のプリンタドライバがその項目の機能をサポートしていない場合であっても、設定ポリシーに関連する他の項目を設定することができる。また、代表のプリンタドライバで設定されている項目について、設定される側の他のプリンタドライバがその項目の機能をサポートしている場合に、その項目に代えて若しくはその項目と共に設定ポリシーに関連する他の項目を設定することができる。   As described above, according to the present invention, the setting value of the representative printer driver is not simply reflected, but the setting policy is reflected. Even if the driver does not support the function of the item, other items related to the setting policy can be set. In addition, regarding an item set in a representative printer driver, when another printer driver on the setting side supports the function of the item, it is related to the setting policy instead of the item or together with the item. Other items can be set.

上記した本発明の実施の形態についてさらに詳細に説明すべく、本発明の第1の実施例に係る印刷指示装置及びプリンタドライバについて、図1乃至図11を参照して説明する。図1は、本実施例の印刷指示装置のハードウェア構成を示すブロック図であり、図2は、印刷指示装置の機能及び処理の概略を示すブロック図である。また、図3乃至図5は、本実施例の印刷指示装置の処理を示すフローチャート図であり、図6乃至図11は、本実施例の印刷指示装置に表示される画面の一例を示す図である。   In order to describe the above-described embodiment of the present invention in more detail, a print instruction apparatus and a printer driver according to a first example of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram illustrating a hardware configuration of a print instruction apparatus according to the present exemplary embodiment, and FIG. 2 is a block diagram illustrating an outline of functions and processes of the print instruction apparatus. FIGS. 3 to 5 are flowcharts showing processing of the print instruction apparatus of the present embodiment, and FIGS. 6 to 11 are diagrams showing examples of screens displayed on the print instruction apparatus of the present embodiment. is there.

本実施例の印刷指示装置10は、パーソナルコンピュータなどのコンピュータ装置であり、図1に示すように、制御部11と記憶部12と通信I/F部13と表示部14と操作部15などで構成される。   The print instruction apparatus 10 of this embodiment is a computer apparatus such as a personal computer. As shown in FIG. 1, the print instruction apparatus 10 includes a control unit 11, a storage unit 12, a communication I / F unit 13, a display unit 14, an operation unit 15, and the like. Composed.

制御部11は、CPU(Central Processing Unit)11aと、ROM(Read Only Memory)11bやRAM(Random Access Memory)11cなどのメモリとで構成され、これらはバスを介して接続されている。CPU11aは、印刷指示装置10の動作を制御するプログラム、OS(Operating System)、アプリケーション、アプリケーションで作成した文書のデータをプリンタが解釈可能な言語(PCL(Printer Control Language)やPS(Post Script)などのPDL)に変換して印刷データを作成し、印刷を指示するデバイスドライバ(プリンタドライバ)などをROM11bや記憶部12から読み出し、RAM11cに展開して実行する。   The control unit 11 includes a CPU (Central Processing Unit) 11a and memories such as a ROM (Read Only Memory) 11b and a RAM (Random Access Memory) 11c, which are connected via a bus. The CPU 11a is a language (PCL (Printer Control Language), PS (Post Script), or the like in which a printer can interpret data of a document created by a program, an OS (Operating System), an application, or an application that controls the operation of the print instruction apparatus 10. PDL), print data is created, and a device driver (printer driver) for instructing printing is read from the ROM 11b or the storage unit 12, loaded into the RAM 11c, and executed.

記憶部12は、HDD(Hard Disk Drive)などで構成され、CPU11aが各部を制御するためのプログラム、プリンタドライバの設定情報(Devmode構造体やレジストリ)、設定ポリシーを反映させるために使用する情報(設定ポリシーとカテゴリと機能とを関連付けるテーブル)、自装置の処理機能に関する情報などを格納する。   The storage unit 12 is configured by an HDD (Hard Disk Drive) or the like, and information used to reflect a program for the CPU 11a to control each unit, printer driver setting information (Devmode structure or registry), and setting policy ( A table for associating a setting policy, a category, and a function), information related to the processing function of the own device, and the like are stored.

通信I/F部13は、NIC(Network Interface Card)やモデムなどで構成され、ネットワークを介して繋がっている機器との接続を確立し、データの送受信を実行する。具体的には、プリンタに印刷データを送信したり、プリンタから装置情報を受信したりする。   The communication I / F unit 13 includes a NIC (Network Interface Card), a modem, and the like, establishes a connection with a device connected via the network, and executes data transmission / reception. Specifically, print data is transmitted to the printer or device information is received from the printer.

表示部14は、LCD(Liquid Crystal Display)などで構成され、プリンタドライバの設定画面、他のプリンタドライバに設定ポリシーを反映させるためのダイアログなどを表示する。操作部15は、キーボードやマウス、表示部14上に形成されたタッチセンサなどで構成され、印刷設定や設定ポリシーを反映させるための各種操作を可能にする。   The display unit 14 is configured by an LCD (Liquid Crystal Display) or the like, and displays a printer driver setting screen, a dialog for reflecting a setting policy on another printer driver, and the like. The operation unit 15 includes a keyboard, a mouse, a touch sensor formed on the display unit 14, and the like, and enables various operations for reflecting print settings and setting policies.

図2は、印刷指示装置10の機能及び処理の概略を示すブロック図である。印刷指示装置10の制御部11上で動作するOS20は、複数のプリンタドライバ(本実施例では、プリンタドライバ23a(プリンタドライバA)とプリンタドライバ23b(プリンタドライバB))を制御し、各プリンタドライバの設定情報をDevmode構造体21として管理すると共に、代表のプリンタドライバ(本実施例では、プリンタドライバAとする。)で決定した設定ポリシーを他のプリンタドライバのレジストリ22に書き込んで管理する。   FIG. 2 is a block diagram illustrating an outline of functions and processing of the print instruction apparatus 10. The OS 20 operating on the control unit 11 of the print instruction apparatus 10 controls a plurality of printer drivers (in this embodiment, the printer driver 23a (printer driver A) and the printer driver 23b (printer driver B)), and each printer driver. Is managed as a Devmode structure 21, and a setting policy determined by a representative printer driver (in this embodiment, printer driver A) is written in the registry 22 of another printer driver for management.

また、各々のプリンタドライバ23a、23bは、代表(設定する側)として動作するモードと、設定される側として動作するモードを有しており、代表(設定する側)として動作するモードには、設定ポリシーを他のプリンタドライバに設定するための一括設定モードと、設定ポリシーを消去するための一括設定消去モードとを有している。   Each printer driver 23a, 23b has a mode that operates as a representative (setting side) and a mode that operates as a setting side. The mode that operates as a representative (setting side) includes: A batch setting mode for setting a setting policy in another printer driver and a batch setting erasing mode for deleting the setting policy are provided.

上記プリンタドライバ23a、23bは、ユーザインターフェースモジュール24a、24bと、設定ポリシー処理モジュール25a、25bと、レジストリ関連処理モジュール27a、27bと、で構成される。   The printer drivers 23a and 23b include user interface modules 24a and 24b, setting policy processing modules 25a and 25b, and registry-related processing modules 27a and 27b.

ユーザインターフェースモジュール24a、24bは、表示部14に、後述する印刷設定画面や一括設定ダイアログ、メッセージダイアログなどを表示させる。具体的には、代表(設定する側)として動作するモードで動作しているプリンタドライバ23a(プリンタドライバA)では、一括設定ダイアログを表示し、当該一括設定ダイアログで一括設定モードが選択されたら、当該プリンタドライバが印刷を指示するプリンタの機能に応じた項目が表示される印刷設定画面を表示する。設定される側として動作するモードで動作しているプリンタドライバ23b(プリンタドライバB)では、当該プリンタドライバが印刷を指示するプリンタの機能に応じた項目が表示される印刷設定画面を表示し、当該印刷設定画面の設定ポリシーに関連する項目に、後述する設定ポリシー処理モジュール25bによって設定ポリシーから変換された設定値を表示する。   The user interface modules 24a and 24b cause the display unit 14 to display a print setting screen, a batch setting dialog, a message dialog, and the like which will be described later. Specifically, the printer driver 23a (printer driver A) operating in the mode operating as a representative (setting side) displays a batch setting dialog, and when the batch setting mode is selected in the batch setting dialog, The printer driver displays a print setting screen on which items corresponding to the function of the printer instructing printing are displayed. The printer driver 23b (printer driver B) operating in the mode operating as the setting side displays a print setting screen on which items corresponding to the function of the printer instructed to be printed by the printer driver are displayed. A setting value converted from the setting policy by the setting policy processing module 25b described later is displayed in an item related to the setting policy on the print setting screen.

設定ポリシー処理モジュール25a、25bは、設定ポリシーの決定や設定ポリシーから設定値への変換などの処理を行う。具体的には、代表(設定する側)として動作するモードで動作しているプリンタドライバ23a(プリンタドライバA)では、印刷設定画面によって設定された各項目の設定値を取得し、1又は複数の項目の設定値に基づいて設定ポリシー26aを決定する処理を行う。また、必要に応じて、設定ポリシー26aを反映させるレベル(設定レベルと呼ぶ。)を決定する処理を行う。設定される側として動作するモードで動作しているプリンタドライバ23b(プリンタドライバB)では、設定ポリシー26b(及び設定レベル)を取得し、設定ポリシー26bに関連する1又は複数の項目(設定レベルに応じた項目)の設定値に変換する。   The setting policy processing modules 25a and 25b perform processing such as setting policy determination and conversion from setting policy to setting value. Specifically, in the printer driver 23a (printer driver A) operating in the mode operating as a representative (setting side), the setting value of each item set on the print setting screen is acquired, and one or more A process of determining the setting policy 26a based on the setting value of the item is performed. In addition, processing for determining a level (referred to as a setting level) that reflects the setting policy 26a is performed as necessary. In the printer driver 23b (printer driver B) operating in the mode operating as the setting side, the setting policy 26b (and setting level) is acquired, and one or a plurality of items (set to the setting level) related to the setting policy 26b. To the set value of the corresponding item).

レジストリ関連処理モジュール27a、27bは、設定ポリシーの書き込みや読み込みの処理を行う。具体的には、代表(設定する側)として動作するモードで動作しているプリンタドライバ23a(プリンタドライバA)では、設定ポリシー処理モジュール25aによって決定された設定ポリシー26aを他のプリンタドライバのレジストリ領域22bに格納する処理を行う。設定される側として動作するモードで動作しているプリンタドライバ23b(プリンタドライバB)では、自身のレジストリ領域22bから設定ポリシー26bを読み出し、設定ポリシー処理モジュール25bに通知する処理を行う。なお、本実施例では、設定ポリシーの受け渡しに、中間設定領域としてレジストリを使用しているが、中間設定領域はレジストリに限らず、特定の領域に保存されたファイルとしてもよい。   The registry-related processing modules 27a and 27b perform setting policy writing and reading processing. Specifically, in the printer driver 23a (printer driver A) operating in the mode operating as a representative (setting side), the setting policy 26a determined by the setting policy processing module 25a is stored in the registry area of another printer driver. The process of storing in 22b is performed. The printer driver 23b (printer driver B) operating in the mode operating as the setting side reads the setting policy 26b from its own registry area 22b, and performs a process of notifying the setting policy processing module 25b. In this embodiment, the registry is used as the intermediate setting area for passing the setting policy. However, the intermediate setting area is not limited to the registry, and may be a file stored in a specific area.

以下、本実施例の印刷指示装置10(プリンタドライバ)の動作について詳細に説明する。CPU11aは、ROM11b又は記憶部12に記憶したプリンタドライバをRAM11cに展開して実行することにより、図3乃至図5のフローチャート図に示す各ステップの処理を実行する。   Hereinafter, the operation of the print instruction apparatus 10 (printer driver) of this embodiment will be described in detail. The CPU 11a executes the processing of each step shown in the flowcharts of FIGS. 3 to 5 by developing the printer driver stored in the ROM 11b or the storage unit 12 in the RAM 11c and executing it.

[設定ポリシー決定処理]
設定ポリシー決定処理は、代表(設定する側)として動作しているプリンタドライバ23a(プリンタドライバA)で実行される。
[Setting policy decision processing]
The setting policy determination process is executed by the printer driver 23a (printer driver A) operating as a representative (setting side).

プリンタドライバ23aが一括設定モードで動作している場合、ユーザインターフェースモジュール24aは、表示部14に一括設定ダイアログを表示させる(S101)。図6は、一括設定ダイアログ30の一例であり、この一括設定ダイアログ30には、一括設定モードの設定欄30aとレジストリへの書き込みの設定欄30bとが設けられている。ユーザは、プリンタドライバ23aの設定ポリシーを他のプリンタドライバに反映させたい場合は、設定欄30aのチェックボックスにチェックを入れ、設定ポリシーをレジストリに書き込む場合は「レジストリへの書き込み」を選択し、設定ポリシーをレジストリから消去する場合は「レジストリの消去」を選択する。また、レジストリへの書き込みに関して、書き込みを許可する場合は「許可する」を選択し、許可しない場合は「許可しない」を選択する。   When the printer driver 23a is operating in the batch setting mode, the user interface module 24a displays a batch setting dialog on the display unit 14 (S101). FIG. 6 shows an example of the batch setting dialog 30. The batch setting dialog 30 includes a batch setting mode setting field 30a and a setting field 30b for writing to the registry. When the user wants to reflect the setting policy of the printer driver 23a to another printer driver, the user selects the check box in the setting column 30a, and selects “write to registry” to write the setting policy to the registry. Select "Clear Registry" to clear the configuration policy from the registry. Also, regarding writing to the registry, “Allow” is selected when writing is permitted, and “Not permitted” is selected when permission is not allowed.

そして、プリンタドライバ23aは、一括設定ダイアログ30の「OK」ボタンの押下を検知したら、一括設定モードに設定されたか(一括設定モードのチェックボックスがチェックされたか)を判断し(S102)、一括設定モードに設定されていない場合は、通常の印刷設定を行う(S103)。具体的には、ユーザインターフェースモジュール24aは、表示部14に印刷設定画面を表示させ、その後、印刷設定画面の各項目の設定値に従って印刷データを生成してプリンタに印刷を指示する。   When the printer driver 23a detects that the “OK” button in the batch setting dialog 30 is pressed, the printer driver 23a determines whether the batch setting mode is set (whether the check box for the batch setting mode is checked) (S102). If the mode is not set, normal print settings are performed (S103). Specifically, the user interface module 24a displays a print setting screen on the display unit 14, and then generates print data according to the setting value of each item on the print setting screen and instructs the printer to print.

一括設定モードに設定されている場合は、プリンタドライバ23aは、「レジストリへの書き込み」が選択されているかを判断し(S104)、「レジストリへの書き込み」が選択されていない場合(「レジストリの消去」が選択されている場合)は、後述する一括設定消去モードの処理を実行する(S105)。   If the batch setting mode is set, the printer driver 23a determines whether “write to registry” is selected (S104), and if “write to registry” is not selected (“registry of registry”). If “erase” is selected), a batch setting erase mode process described later is executed (S105).

「レジストリへの書き込み」が選択されている場合は、ユーザインターフェースモジュール24aは、表示部14に印刷設定画面を表示させる(S106)。図7は、印刷設定画面40の一例であり、印刷指示を行うプリンタの機能に応じた項目が複数のタブに分類して表示され、デフォルト設定に基づいて各項目が設定される。そして、ユーザがタブを選択し、各タブに表示される設定項目に関して、必要に応じて変更を行う。ここでは、カラー設定がカラーからモノクロ(Gray Scale)に変更されている(図中の40a参照)。   When “write to registry” is selected, the user interface module 24a displays a print setting screen on the display unit 14 (S106). FIG. 7 shows an example of the print setting screen 40. Items corresponding to the function of the printer that issues a print instruction are displayed in a plurality of tabs, and each item is set based on default settings. Then, the user selects a tab and changes the setting items displayed on each tab as necessary. Here, the color setting is changed from color to monochrome (Gray Scale) (see 40a in the figure).

次に、設定ポリシー処理モジュール25aは、印刷設定画面40で設定が変更された項目の設定値を取得する(S107)。なお、代表(設定する側)のプリンタドライバ23aのデフォルト設定の値を反映させたい場合は、一度別の設定に変更してから元の設定値に戻すようにすればよい。   Next, the setting policy processing module 25a acquires setting values of items whose settings have been changed on the print setting screen 40 (S107). If it is desired to reflect the default setting value of the representative (setting side) printer driver 23a, it may be changed to another setting and then returned to the original setting value.

次に、設定ポリシー処理モジュール25aは、取得した設定値から設定ポリシーを決定する(S108)。具体的には、各項目はカテゴリで分類されており、どのカテゴリに属する項目が設定されたかに基づいて設定ポリシーを決定する。例えば、印刷種類(片面印刷/両面印刷)、ページ割付(Nin1)、出力方法(試し印刷)などの項目は用紙削減のカテゴリに分類されており、印刷種類を”両面印刷”に設定した場合、ページ割付を”2in1”などに設定した場合、出力方法を”試し印刷”に設定した場合は、「用紙削減」が設定ポリシーとして決定される。また、カラー設定(カラー印刷/モノクロ印刷)、トナーセーブ(オン/オフ)などの項目はトナー削減のカテゴリに分類されており、カラー設定を”モノクロ印刷”に設定した場合、トナーセーブを”オン”に設定した場合は、「トナー削減」が設定ポリシーとして決定される。また、出力方法(セキュリティ印刷)、認証(ユーザ認証)などの項目はセキュリティのカテゴリに分類されており、出力方法を”セキュリティ印刷”に設定した場合、認証を”ユーザ認証”に設定した場合は、「セキュリティ」が設定ポリシーとして決定される。   Next, the setting policy processing module 25a determines a setting policy from the acquired setting value (S108). Specifically, each item is classified by category, and a setting policy is determined based on which category the item belongs to. For example, items such as printing type (single-sided printing / double-sided printing), page allocation (Nin1), output method (trial printing) are classified in the category of paper reduction, and if the printing type is set to "double-sided printing" When the page assignment is set to “2in1” or the like, and the output method is set to “trial print”, “paper reduction” is determined as the setting policy. Also, items such as color settings (color printing / monochrome printing) and toner save (on / off) are categorized in the toner reduction category. When the color setting is set to "monochrome printing", toner save is turned on. When “” is set, “toner reduction” is determined as the setting policy. Also, items such as output method (security printing) and authentication (user authentication) are categorized in the security category. When the output method is set to "security printing", when authentication is set to "user authentication" , “Security” is determined as the setting policy.

なお、上記の各項目とカテゴリと設定ポリシーとの関係は一例であり、適宜変更することができる。例えば、各項目は1つのカテゴリに属している必要はなく、出力方法のように、複数のカテゴリ(用紙削減のカテゴリ及びセキュリティのカテゴリ)に属していてもよいし、いずれのカテゴリにも属さない項目があってもよい。   The relationship between each item, category, and setting policy is an example, and can be changed as appropriate. For example, each item does not need to belong to one category, and may belong to a plurality of categories (paper reduction category and security category) as in the output method, or does not belong to any category. There may be items.

次に、設定ポリシー処理モジュール25aは、必要に応じて、設定ポリシーの設定レベルを決定する。具体的には、各設定ポリシーに対応するカテゴリに属する項目の中のどの項目が設定されたか、いくつの項目が設定されたかなどに応じて設定レベルを決定する。例えば、各カテゴリに属する項目の中の多数の項目(例えば、用紙削減のカテゴリの3つの設定項目の内の2つ以上)が設定された場合は設定レベルを相対的に大きい値にし、少数の項目(例えば、3つの設定項目の内の1つ)が設定された場合は設定レベルを相対的に小さい値にする。   Next, the setting policy processing module 25a determines the setting level of the setting policy as necessary. Specifically, the setting level is determined according to which item among the items belonging to the category corresponding to each setting policy is set, how many items are set, and the like. For example, when a large number of items (for example, two or more of the three setting items in the paper reduction category) among the items belonging to each category are set, the setting level is set to a relatively large value, and a small number of items are set. When an item (for example, one of three setting items) is set, the setting level is set to a relatively small value.

なお、この設定ポリシーの設定レベルは設定ポリシー処理モジュール25aが自動で決定してもよいし、ユーザに決定させてもよい。ユーザに決定させる場合は、ユーザインターフェースモジュール24aは、表示部14にレベル設定ダイアログを表示させる(S109)。図8は、レベル設定ダイアログ31の一例であり、このレベル設定ダイアログ31には、決定された設定ポリシーが表示され、各々の設定ポリシーに対して、設定ポリシーに基づいて設定を変更すると禁則(設定できない組み合わせ)が発生する場合にその機能を制限するか否かを選択する機能制限の設定欄31aと、設定ポリシーの設定レベルを選択する設定欄31bとが設けられている。ユーザは、禁則が発生する場合(例えば、A4の用紙に対して短辺にパンチが設定されている場合に、ページ割付を2in1に設定する場合)にはその機能を制限する(ページ割付を行わない)時は機能制限の設定欄31aのチェックボックスにチェックを入れ、レベル設定欄31bで所望の設定レベルを選択する。   The setting level of this setting policy may be automatically determined by the setting policy processing module 25a or may be determined by the user. When making the user decide, the user interface module 24a displays a level setting dialog on the display unit 14 (S109). FIG. 8 shows an example of the level setting dialog 31. The level setting dialog 31 displays the determined setting policy. For each setting policy, it is prohibited to change the setting based on the setting policy. A function restriction setting column 31a for selecting whether or not to restrict the function when a combination that cannot be performed occurs, and a setting column 31b for selecting the setting level of the setting policy are provided. When a prohibition occurs (for example, when punching is set on the short side of A4 paper and the page assignment is set to 2 in 1), the user restricts the function (performs page assignment). Check box in the function restriction setting field 31a, and select a desired setting level in the level setting field 31b.

次に、ユーザインターフェースモジュール24aは、必要に応じて、設定ポリシー処理モジュール25aが決定した設定ポリシー及び設定レベルをユーザに確認するためのメッセージダイアログを表示部14に表示させる(S110)。図9は、メッセージダイアログ50の一例であり、メッセージダイアログ50には、設定ポリシー処理モジュール25aが決定した設定ポリシーの表示欄50aと設定ポリシー処理モジュール若しくはユーザが決定した設定レベルの表示欄50bとユーザが決定した機能制限の表示欄50cなどを含んでいる。   Next, the user interface module 24a causes the display unit 14 to display a message dialog for confirming with the user the setting policy and setting level determined by the setting policy processing module 25a (S110). FIG. 9 shows an example of the message dialog 50. The message dialog 50 includes a setting policy display field 50a determined by the setting policy processing module 25a, a setting level display field 50b determined by the setting policy processing module or the user, and a user. Includes a function restriction display column 50c determined by.

そして、ユーザがメッセージダイアログ50で「はい」を選択すると、レジストリ関連処理モジュール27aは、印刷指示装置10にインストールされているプリンタドライバの一覧を取得し(S111)、その中から、本発明の処理が可能なプリンタドライバ(例えば、自社製のプリンタドライバ)を一括反映対象として設定する(S112)。次に、レジストリ関連処理モジュール27aは、一括設定ダイアログ30でレジストリへの書き込みが「許可する」に設定されているか(書き込み許可のフラグが設定されているか)を判断し(S113)、「許可する」に設定されている場合は、他のプリンタドライバのレジストリ領域に、設定ポリシー(必要に応じて設定レベルや機能制限)を書き込む(S114)。「許可する」に設定されていない場合は、レジストリへの書き込みは行わず、処理を終了する。   When the user selects “Yes” in the message dialog 50, the registry-related processing module 27a obtains a list of printer drivers installed in the print instruction apparatus 10 (S111), from which the processing of the present invention is performed. Printer drivers that can be used (for example, printer drivers manufactured in-house) are set as batch reflection targets (S112). Next, the registry-related processing module 27a determines whether writing to the registry is set to “permitted” (whether a write permission flag is set) in the batch setting dialog 30 (S113). Is set in the registry area of the other printer driver (S114). If it is not set to “Allow”, the process is terminated without writing to the registry.

[設定ポリシーの設定反映処理]
設定ポリシーの設定反映処理は、設定される側として動作しているプリンタドライバ23b(プリンタドライバB)で実行される。
[Setting policy setting reflection processing]
The setting policy setting reflection process is executed by the printer driver 23b (printer driver B) operating as the setting side.

まず、ユーザインターフェースモジュール24bは、表示部14に印刷設定画面を表示させる(S201)。なお、印刷設定画面を表示させずに印刷実行を指示した場合も、以下の設定ポリシーの反映処理が実行される。   First, the user interface module 24b displays a print setting screen on the display unit 14 (S201). Even when printing execution is instructed without displaying the print setting screen, the following setting policy reflection processing is executed.

次に、レジストリ関連処理モジュール27bは、自身のレジストリ領域22bにアクセスし、設定ポリシー(必要に応じて設定レベルや機能制限)が格納されているかを確認する(S202)。設定ポリシー(必要に応じて設定レベルや機能制限)が格納されていない場合は処理を終了する。   Next, the registry-related processing module 27b accesses its own registry area 22b and confirms whether the setting policy (setting level and function restriction as necessary) is stored (S202). If the setting policy (setting level and function restriction as required) is not stored, the process is terminated.

一方、設定ポリシー(必要に応じて設定レベルや機能制限)が格納されている場合は、レジストリ関連処理モジュール27bは、レジストリ領域22bから設定ポリシー(必要に応じて設定レベルや機能制限)を取得し(S203)、設定ポリシー処理モジュール25bは、取得した設定ポリシー(必要に応じて設定レベルや機能制限)に基づき、予め定めたルールに従ってデフォルトで表示する設定値を決定する(S204)。その後、ユーザインターフェースモジュール24bは、決定した設定値を印刷設定画面に反映させ、その設定値をDevmode構造体21bに格納する。   On the other hand, when the setting policy (setting level and function restriction as required) is stored, the registry-related processing module 27b acquires the setting policy (setting level and function restriction as required) from the registry area 22b. (S203) The setting policy processing module 25b determines a setting value to be displayed as a default according to a predetermined rule based on the acquired setting policy (setting level and function restriction as required) (S204). Thereafter, the user interface module 24b reflects the determined setting value on the print setting screen, and stores the setting value in the Devmode structure 21b.

以下、設定ポリシー及び設定レベルに基づいて設定値を決定する処理について具体例を挙げて説明する。表1は、設定ポリシーとレベルと印刷設定の候補との関係を示したテーブルである。   Hereinafter, the process of determining the setting value based on the setting policy and the setting level will be described with a specific example. Table 1 is a table showing the relationship between the setting policy, the level, and the print setting candidate.

Figure 0006497574
Figure 0006497574

表1では、設定ポリシーとして、用紙削減とトナー削減とセキュリティが設定されている。用紙削減に関しては、設定レベルが決定されていない場合は、用紙削減のカテゴリに属する項目(ここでは印刷種類、ページ割付、出力方法の3つ)の中から自身がサポートしている1つの機能の項目を設定(例えば、印刷種類を”両面印刷”に設定、又は、ページ割付を”2in1”に設定、又は、出力方法を”試し印刷”に設定)する。なお、2つ以上の機能をサポートしている場合は、優先度の高い機能の項目に設定値を反映させることが好ましい。また、設定レベルが決定されている場合は、設定レベルで規定されている項目のうち、自身がサポートしている機能の項目を設定する。すべてサポートしている場合は、すべての機能の項目を設定する。例えば、レベル1の場合は、用紙削減のカテゴリに属する項目の内の最も優先度が高い項目を設定(ここでは印刷種類を”両面印刷”に設定)する。また、レベル2の場合は、用紙削減のカテゴリに属する項目の内の優先度が高い2つの項目を設定(ここでは印刷種類を”両面印刷”に設定、及び、ページ割付を”2in1”に設定)する。また、レベル3の場合は、用紙削減のカテゴリに属する項目の全てを設定(ここでは印刷種類を”両面印刷”に設定、及び、ページ割付を”2in1”に設定、及び、出力方法を”試し印刷”に設定)する。   In Table 1, paper reduction, toner reduction, and security are set as setting policies. Regarding paper reduction, if the setting level has not been determined, one of the functions that it supports from among the items belonging to the paper reduction category (in this case, print type, page assignment, and output method). Set the item (for example, set the print type to “double-sided printing”, set the page assignment to “2in1”, or set the output method to “trial printing”). When two or more functions are supported, it is preferable to reflect the setting value in the function item having a high priority. Further, when the setting level is determined, among the items defined at the setting level, the function items supported by itself are set. If all are supported, set all items. For example, in the case of level 1, the item having the highest priority among the items belonging to the paper reduction category is set (here, the print type is set to “duplex printing”). In the case of level 2, two items with high priority among the items belonging to the paper reduction category are set (here, the print type is set to “double-sided printing” and the page allocation is set to “2in1”). ) In the case of level 3, set all items belonging to the paper reduction category (here, the print type is set to “double-sided printing”, the page allocation is set to “2in1”, and the output method is set to “trial”. Set to “Print”.

また、トナー削減に関しても、同様に、設定レベルが決定されていない場合は、トナー削減のカテゴリに属する項目(ここではカラー設定、トナーセーブの2つ)の中から自身がサポートしている1つの機能の項目(2つ以上の機能をサポートしている場合は、優先度の高い機能の項目)を設定(例えば、カラー設定を”モノクロ”に設定、又は、トナーセーブを”オン”に設定)する。また、レベル1の場合は、トナー削減のカテゴリに属する項目の内の最も優先度が高い項目を設定(ここではカラー設定を”モノクロ”に設定)する。また、レベル2の場合は、トナー削減のカテゴリに属する項目の全てを設定(ここではカラー設定を”モノクロ”に設定、及び、トナーセーブを”オン”に設定)する。   Similarly, with regard to toner reduction, if the setting level is not determined, one of the items belonging to the toner reduction category (in this case, color setting and toner save) is supported by itself. Set a function item (if more than two functions are supported, a function item with a higher priority) (for example, set the color setting to “Monochrome” or set toner save to “On”) To do. In the case of level 1, the item having the highest priority among the items belonging to the toner reduction category is set (here, the color setting is set to “monochrome”). In the case of level 2, all items belonging to the toner reduction category are set (here, the color setting is set to “monochrome” and the toner save is set to “on”).

また、セキュリティに関しては、レベル1の場合は、セキュリティのカテゴリに属する項目を設定(ここでは出力方法を”セキュリティ印刷”に設定)する。また、レベル2の場合は、セキュリティのカテゴリに属する項目を詳細に設定(ここでは出力方法を”セキュリティ印刷”に設定、及び、認証を”ユーザ認証”に設定)する。   As for security, in the case of level 1, items belonging to the security category are set (here, the output method is set to “security printing”). In the case of level 2, the items belonging to the security category are set in detail (here, the output method is set to “security printing” and the authentication is set to “user authentication”).

なお、この設定ポリシーに関連する項目を設定する際に参照するテーブルは、全てのプリンタドライバで共通でも良いし、対応するプリンタが有する機能を反映してプリンタドライバ毎に異なっていてもよい。また、上記のルールは一例であり、このルールは適宜変更することができる。   It should be noted that the table referred to when setting items related to this setting policy may be common to all printer drivers, or may be different for each printer driver reflecting the functions of the corresponding printer. Moreover, said rule is an example and this rule can be changed suitably.

表2は、設定ポリシーが用紙削減、設定レベルが2の場合の他のプリンタドライバ(ここではプリンタドライバB及びプリンタドライバC)への設定の反映結果を示すテーブルである。用紙削減の設定ポリシーにおいて設定レベルが2の場合は、表1より印刷種類が”両面印刷”、ページ割付が”2in1”に設定されるが、プリンタドライバBは、ページ割付をサポートしていないため、印刷種類を”両面印刷”にする設定のみが反映される。また、プリンタドライバCは両面印刷をサポートしていないため、ページ割付を”2in1”にする設定のみが反映される。   Table 2 is a table showing a result of reflecting the setting to other printer drivers (here, printer driver B and printer driver C) when the setting policy is paper reduction and the setting level is 2. When the setting level is 2 in the paper reduction setting policy, the print type is set to “Double-sided printing” and the page assignment is set to “2in1” from Table 1, but the printer driver B does not support page assignment. Only the setting for “double-sided printing” is reflected. Further, since the printer driver C does not support double-sided printing, only the setting for setting page allocation to “2 in 1” is reflected.

Figure 0006497574
Figure 0006497574

図10は、プリンタドライバBの印刷設定画面41の一例であり、図11は、プリンタドライバCの印刷設定画面42の一例であり、(a)は設定ポリシー反映前、(b)は設定ポリシー反映後の状態を示している。プリンタドライバBでは、用紙削減の効果が期待できる機能として、両面設定機能を有しており、図10(b)では印刷種類が”両面印刷”(図中の41a参照)に変更されている。また、プリンタドライバCでは、用紙削減の効果が期待できる機能として、ページ割付機能を有しており、図11(b)ではページ割付が”2in1”(図中の42a参照)に変更されている。   10 is an example of the print setting screen 41 of the printer driver B, FIG. 11 is an example of the print setting screen 42 of the printer driver C, (a) before reflecting the setting policy, and (b) reflecting the setting policy. The later state is shown. The printer driver B has a double-sided setting function as a function that can be expected to reduce paper. In FIG. 10B, the print type is changed to “double-sided printing” (see 41a in the figure). In addition, the printer driver C has a page allocation function as a function that can be expected to reduce paper. In FIG. 11B, the page allocation is changed to “2in1” (see 42a in the figure). .

なお、図示していないが、例えば、代表(設定する側)のプリンタドライバ23aで印刷種類が”両面印刷”に設定された結果、設定ポリシーが用紙削減に決定された場合において、両面印刷をサポートしていないプリンタドライバCは、用紙削減の効果が期待できる機能としてページ割付機能を有していることから、印刷種類を”両面印刷”に変更する代わりに、ページ割付を”2in1”に変更することができる。また、両面設定機能とページ割付機能の双方を有しているプリンタドライバでは、印刷種類を”両面印刷”に変更することもできるし、印刷種類の変更に代えて、若しくは、印刷種類の変更に加えて、ページ割付を”2in1”に変更することもできる。   Although not shown, for example, when the print policy is set to “double-sided printing” by the representative (setting side) printer driver 23a, double-sided printing is supported when the setting policy is determined to be paper reduction. Since the printer driver C that does not have the page allocation function as a function that can be expected to reduce paper, instead of changing the print type to “double-sided printing”, the page allocation is changed to “2in1”. be able to. A printer driver that has both a duplex setting function and a page allocation function can also change the print type to “double-sided printing”, or change the print type instead of changing the print type. In addition, the page allocation can be changed to “2in1”.

また、図示していないが、代表(設定する側)のプリンタドライバ23aで複数の設定ポリシーが決定された場合は、各々の設定ポリシーに対して上記の設定ポリシー反映処理を行えばよい。   Although not shown, when a plurality of setting policies are determined by the representative (setting side) printer driver 23a, the above-described setting policy reflection processing may be performed for each setting policy.

以上、代表のプリンタドライバが設定ポリシー(及び設定レベル)を決定し、他のプリンタドライバがその設定ポリシー(及び設定レベル)に基づいて設定を反映する方法について説明したが、プリンタドライバ毎に個別に設定を行いたい場合もある。その場合は以下の手順に従って設定ポリシーを消去すればよい。   As described above, the method has been described in which the representative printer driver determines the setting policy (and setting level) and the other printer drivers reflect the setting based on the setting policy (and setting level). You may want to set it up. In this case, the setting policy can be deleted according to the following procedure.

[設定ポリシー消去処理]
設定ポリシー消去処理は、代表(設定する側)として動作しているプリンタドライバ23a(プリンタドライバA)で実行される。
[Clear setting policy]
The setting policy deletion processing is executed by the printer driver 23a (printer driver A) operating as a representative (setting side).

プリンタドライバ23aが一括設定モードで動作している場合、ユーザインターフェースモジュール24aは、表示部14に前記した図6に示す一括設定ダイアログを表示させる(S301)。ユーザはこのプリンタドライバ23aの設定ポリシーを消去したい場合は、設定欄30aの一括設定モードのチェックボックスをチェックすると共に、「レジストリの消去」を選択する。   When the printer driver 23a is operating in the batch setting mode, the user interface module 24a displays the batch setting dialog shown in FIG. 6 on the display unit 14 (S301). When the user wants to delete the setting policy of the printer driver 23a, the user checks the batch setting mode check box in the setting column 30a and selects "Delete Registry".

そして、プリンタドライバ23aは、一括設定消去モードに設定されたか(「レジストリの消去」が選択されたか)を判断し(S302)、一括設定消去モードに設定されていない場合は、通常の印刷設定を行う(S303)。具体的には、ユーザインターフェースモジュール24aは、表示部14に印刷設定画面を表示させ、その後、印刷設定画面の各項目の設定値に従って印刷データを生成してプリンタに印刷を指示する。   Then, the printer driver 23a determines whether the batch setting deletion mode has been set (“Registry deletion” has been selected) or not (S302). If the batch setting deletion mode has not been set, the normal print settings are set. It performs (S303). Specifically, the user interface module 24a displays a print setting screen on the display unit 14, and then generates print data according to the setting value of each item on the print setting screen and instructs the printer to print.

一括設定消去モードに設定された場合は、レジストリ関連処理モジュール27aは、印刷指示装置10にインストールされているプリンタドライバの一覧を取得し(S304)、その中から、本発明の処理が可能なプリンタドライバ(例えば、自社製のプリンタドライバ)を一括反映消去対象として設定する(S305)。そして、一括設定ダイアログ30の「OK」ボタンの押下を検知したら(S306)、レジストリ関連処理モジュール27aは、一括反映消去対象のプリンタドライバのレジストリ領域に格納された設定ポリシー(必要に応じて設定レベルや機能制限)を消去する(S307)。   When the batch setting deletion mode is set, the registry-related processing module 27a obtains a list of printer drivers installed in the print instruction apparatus 10 (S304), and from among them, a printer capable of processing according to the present invention. A driver (for example, a printer driver manufactured in-house) is set as a batch reflection deletion target (S305). When the pressing of the “OK” button in the batch setting dialog 30 is detected (S306), the registry-related processing module 27a determines the setting policy stored in the registry area of the printer driver to be batch reflected and erased (setting level as required). And function restrictions) are deleted (S307).

以上説明したように、代表のプリンタドライバの1又は複数の項目の設定値に基づいて設定ポリシー(及び設定レベル)を決定し、他のプリンタドライバはその設定ポリシー(及び設定レベル)に基づいて設定ポリシーに関連する1又は複数の項目の設定を変更することにより、プリンタに備える機能が異なる場合であっても、適切に設定を反映させることができる。また、レジストリから設定ポリシー(及び設定レベル)を消去することにより、各プリンタドライバを個別に設定することができる。   As described above, the setting policy (and setting level) is determined based on the setting value of one or more items of the representative printer driver, and other printer drivers are set based on the setting policy (and setting level). By changing the setting of one or a plurality of items related to the policy, the setting can be appropriately reflected even when the functions provided in the printer are different. Further, by deleting the setting policy (and setting level) from the registry, each printer driver can be set individually.

次に、本発明の第2の実施例に係る印刷指示装置及びプリンタドライバについて、図11乃至図13を参照して説明する。図11は、本実施例の印刷指示装置の処理を示すフローチャート図であり、図12及び図13は、本実施例の印刷指示装置に表示される画面の一例を示す図である。   Next, a print instruction apparatus and printer driver according to a second embodiment of the present invention will be described with reference to FIGS. FIG. 11 is a flowchart illustrating processing of the print instruction apparatus according to the present exemplary embodiment, and FIGS. 12 and 13 illustrate examples of screens displayed on the print instruction apparatus according to the present exemplary embodiment.

前記した第1の実施例では、代表のプリンタドライバの設定ポリシー処理モジュールが当該プリンタドライバの1又は複数の項目の設定値に基づいて設定ポリシーを決定したが、この設定ポリシーはユーザが決定することも可能である。その場合、印刷指示装置10の構成は第1の実施例の図1、2と同様であるが、代表のプリンタドライバのユーザインターフェースモジュールは、後述する設定ポリシー手動設定ダイアログを表示し、設定ポリシー処理モジュールは、設定ポリシー手動設定ダイアログで決定された設定ポリシーをレジストリ関連モジュールに通知することになる。   In the first embodiment described above, the setting policy processing module of the representative printer driver determines the setting policy based on the setting values of one or a plurality of items of the printer driver. This setting policy is determined by the user. Is also possible. In this case, the configuration of the print instruction apparatus 10 is the same as that of FIGS. 1 and 2 of the first embodiment. The module notifies the registry related module of the setting policy determined in the setting policy manual setting dialog.

以下、印刷指示装置10(プリンタドライバ)の動作について説明する。CPU11aは、ROM11b又は記憶部12に記憶したプリンタドライバをRAM11cに展開して実行することにより、図11のフローチャート図に示す各ステップの処理を実行する。なお、設定ポリシー反映処理及び設定ポリシー消去処理は前記した第1の実施例と同様であるため、説明を省略する。   Hereinafter, the operation of the print instruction apparatus 10 (printer driver) will be described. The CPU 11a executes the process of each step shown in the flowchart of FIG. 11 by developing the printer driver stored in the ROM 11b or the storage unit 12 in the RAM 11c and executing it. Note that the setting policy reflection process and the setting policy deletion process are the same as those in the first embodiment, and a description thereof will be omitted.

[設定ポリシー決定処理]
設定ポリシー決定処理は、代表(設定する側)として動作しているプリンタドライバ23a(プリンタドライバA)で実行される。
[Setting policy decision processing]
The setting policy determination process is executed by the printer driver 23a (printer driver A) operating as a representative (setting side).

プリンタドライバ23aが一括設定モードで動作している場合、ユーザインターフェースモジュール24aは、表示部14に一括設定ダイアログを表示させる(S401)。図13は、一括設定ダイアログ30の一例であり、この一括設定ダイアログ30には、一括設定モードの設定欄30aとレジストリへの書き込みの設定欄30bとに加えて、設定ポリシーの設定方法の設定欄30cが設けられている。ユーザはこのプリンタドライバの設定ポリシーを他のプリンタドライバに反映させたい場合は設定欄30aのチェックボックスにチェックを入れ、設定ポリシーをレジストリに書き込む場合は「レジストリへの書き込み」を選択し、設定ポリシーをレジストリから消去する場合は「レジストリの消去」を選択する。また、レジストリへの書き込みに関して、書き込みを許可する場合は「許可する」を選択し、許可しない場合は「許可しない」を選択する。更に、設定ポリシーを手動で設定する場合は、設定欄30cの「手動設定」を選択する。なお、設定欄30cの「自動設定」を選択した場合は、第1の実施例と同様の動作となる。   When the printer driver 23a is operating in the batch setting mode, the user interface module 24a displays a batch setting dialog on the display unit 14 (S401). FIG. 13 shows an example of the batch setting dialog 30. The batch setting dialog 30 includes a setting field 30a for setting the setting mode and a setting field 30b for setting the setting policy in addition to the setting field 30b for writing to the registry. 30c is provided. When the user wants to reflect the setting policy of this printer driver to other printer drivers, the check box in the setting column 30a is checked, and when the setting policy is written to the registry, “write to registry” is selected and the setting policy is selected. Select "Clear Registry" to delete from the registry. Also, regarding writing to the registry, “Allow” is selected when writing is permitted, and “Not permitted” is selected when permission is not allowed. Furthermore, when setting the setting policy manually, “manual setting” in the setting column 30c is selected. If “automatic setting” is selected in the setting column 30c, the operation is the same as that of the first embodiment.

そして、プリンタドライバ23aは、一括設定ダイアログ30の「OK」ボタンの押下を検知したら、一括設定モードに設定されたか(一括設定モードのチェックボックスがチェックされたか)を判断し(S402)、一括設定モードに設定されていない場合は、通常の印刷設定を行う(S403)。具体的には、ユーザインターフェースモジュール24aは、表示部14に印刷設定画面を表示させ、その後、印刷設定画面の各項目の設定値に従って印刷データを生成してプリンタに印刷を指示する。   When the printer driver 23a detects that the “OK” button in the batch setting dialog 30 is pressed, the printer driver 23a determines whether the batch setting mode is set (whether the check box for the batch setting mode is checked) (S402). If the mode is not set, normal print settings are performed (S403). Specifically, the user interface module 24a displays a print setting screen on the display unit 14, and then generates print data according to the setting value of each item on the print setting screen and instructs the printer to print.

一括設定モードに設定されている場合は、プリンタドライバ23aは、「レジストリへの書き込み」が選択されているかを判断し(S404)、「レジストリへの書き込み」が選択されていない場合(「レジストリの消去」が選択されている場合)は、第1の実施例で示した一括設定消去処理を実行する(S405)。   If the batch setting mode is set, the printer driver 23a determines whether “write to registry” is selected (S404), and if “write to registry” is not selected (“registry of registry”). If “delete” is selected), the batch setting deletion process shown in the first embodiment is executed (S405).

「レジストリへの書き込み」が選択されている場合は、ユーザインターフェースモジュール24aは、第1の実施例と同様に、表示部14に図7に示すような印刷設定画面を表示させる(S406)。そして、ユーザがタブを選択し、各タブで表示される項目に関して、必要に応じて設定/変更を行う。   When “write to registry” is selected, the user interface module 24a displays a print setting screen as shown in FIG. 7 on the display unit 14 as in the first embodiment (S406). Then, the user selects a tab and sets / changes the items displayed in each tab as necessary.

次に、ユーザインターフェースモジュール24aは、表示部14に設定ポリシー手動設定ダイアログを表示させる(S407)。図14は、設定ポリシー手動設定ダイアログ32の一例であり、この設定ポリシー手動設定ダイアログ32には、予め設定された設定ポリシーの一覧(ここでは用紙削減とトナー削減とセキュリティ)が表示され、各々の設定ポリシーには、設定ポリシーを選択するための設定欄32aと、機能制限を選択するための設定欄32bと、設定レベルを選択するための設定欄32cとが設けられている。ユーザは他のプリンタドライバに反映させたい設定ポリシーのチェックボックスにチェックを入れ、禁則が発生する場合に機能を制限するか否かを設定し、設定ポリシーの設定レベルを選択する。   Next, the user interface module 24a displays a setting policy manual setting dialog on the display unit 14 (S407). FIG. 14 shows an example of the setting policy manual setting dialog 32. The setting policy manual setting dialog 32 displays a list of preset setting policies (here, paper reduction, toner reduction, and security). The setting policy includes a setting field 32a for selecting a setting policy, a setting field 32b for selecting function restriction, and a setting field 32c for selecting a setting level. The user checks a check box of a setting policy to be reflected in another printer driver, sets whether to restrict the function when a prohibition occurs, and selects a setting level of the setting policy.

次に、ユーザインターフェースモジュール24aは、必要に応じて、ユーザが決定した設定ポリシー及び設定レベルを確認するためのメッセージダイアログ50(図9参照)を表示部14に表示させる(S408)。そして、ユーザがメッセージダイアログ50で「はい」を選択すると、レジストリ関連処理モジュール27aは、印刷指示装置10にインストールされているドライバーの一覧を取得し(S409)、その中から、本発明の処理が可能なプリンタドライバ(例えば、自社製のプリンタドライバ)を一括反映対象として設定する(S410)。次に、レジストリ関連処理モジュール27aは、一括設定ダイアログ30でレジストリへの書き込みが「許可する」に設定されているか(書き込み許可のフラグが設定されているか)を判断し(S411)、「許可する」に設定されている場合は、各々のプリンタドライバのレジストリ領域に、設定ポリシー(必要に応じて設定レベルや機能制限)を書き込む(S412)。「許可する」に設定されていない場合は、レジストリへの書き込みは行わず、処理を終了する。   Next, the user interface module 24a displays a message dialog 50 (see FIG. 9) for confirming the setting policy and setting level determined by the user on the display unit 14 as necessary (S408). When the user selects “Yes” in the message dialog 50, the registry-related processing module 27a acquires a list of drivers installed in the print instruction apparatus 10 (S409). A possible printer driver (for example, a printer driver manufactured in-house) is set as a batch reflection target (S410). Next, the registry-related processing module 27a determines whether writing to the registry is set to “permitted” (whether a write permission flag is set) in the batch setting dialog 30 (S411). Is set in the registry area of each printer driver (setting level and function restriction if necessary) (S412). If it is not set to “Allow”, the process is terminated without writing to the registry.

このように、ユーザが設定ポリシーや設定レベルを決定した場合も、他のプリンタドライバはその設定ポリシー(及び設定レベル)に基づいて設定ポリシーに関連する1又は複数の項目の設定値を変更することにより、プリンタに備える機能が異なる場合であっても、適切に設定を反映させることができる。   As described above, even when the user determines the setting policy and the setting level, other printer drivers change the setting values of one or more items related to the setting policy based on the setting policy (and the setting level). Thus, even when the functions provided in the printer are different, the settings can be appropriately reflected.

なお、本発明は上記実施例に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて、印刷指示装置の構成やプリンタドライバの機能、設定ポリシーの決定方法や反映方法などは適宜変更可能である。   The present invention is not limited to the above-described embodiments, and the configuration of the print instruction apparatus, the function of the printer driver, the setting policy determination method and the reflection method, and the like can be changed as appropriate without departing from the spirit of the present invention. It is.

例えば、上記実施例では、設定ポリシーとして用紙削減とトナー削減とセキュリティを例示したが、設定ポリシーはこれらに限定されない。また、設定ポリシーの設定レベルも実施例の記載に限定されない。また、設定ポリシーと設定レベルと項目との関係も表2の記載に限定されない。   For example, in the above-described embodiment, paper reduction, toner reduction, and security are exemplified as the setting policy, but the setting policy is not limited to these. Further, the setting level of the setting policy is not limited to the description in the embodiment. Further, the relationship between the setting policy, the setting level, and the item is not limited to the description in Table 2.

また、上記実施例では、印刷指示装置10内に2つのプリンタドライバがインストールされている場合について記載したが、印刷指示装置10には、代表のプリンタドライバ以外のプリンタドライバを少なくとも1つ含んでいればよい。   In the above-described embodiment, the case where two printer drivers are installed in the print instruction apparatus 10 has been described. However, the print instruction apparatus 10 may include at least one printer driver other than the representative printer driver. That's fine.

また、上記実施例では、代表のプリンタドライバ以外の全てのプリンタドライバに対して、設定ポリシーに基づいて設定を反映させる場合について記載したが、プリンタドライバが複数のグループに分類されている場合は、任意のグループ(例えば、代表のプリンタドライバを含むグループ)に属するプリンタドライバに対してのみ、設定ポリシーに基づいて設定を反映させるようにしてもよい。   In the above-described embodiment, the case where the setting is reflected on all printer drivers other than the representative printer driver based on the setting policy is described. However, when the printer driver is classified into a plurality of groups, The settings may be reflected based on the setting policy only for printer drivers belonging to an arbitrary group (for example, a group including a representative printer driver).

本発明は、プリンタに印刷を指示する装置、及び、当該装置で動作するプリンタドライバ、並びに、当該プリンタドライバを記録した記録媒体に利用可能である。   The present invention can be used in a device that instructs a printer to print, a printer driver that operates in the device, and a recording medium that records the printer driver.

10 印刷指示装置
11 制御部
11a CPU
11b ROM
11c RAM
12 記憶部
13 通信I/F部
14 表示部
15 操作部
20 OS
21 Devmode構造体
21a、21b Devmode領域
22 レジストリ
22a、22b レジストリ領域
23a、23b プリンタドライバ
24a、24b ユーザインターフェースモジュール
25a、25b 設定ポリシー処理モジュール
26a、26b 設定ポリシー
27a、27b レジストリ関連処理モジュール
30 一括設定ダイアログ
30a、30b、30c 設定欄
31 レベル設定ダイアログ
31a、31b 設定欄
32 設定ポリシー手動設定ダイアログ
32a、32b、32c 設定欄
40、41、42 印刷設定画面
40a、41a、42a 設定項目
50 メッセージダイアログ
50a、50b、50c 表示欄
DESCRIPTION OF SYMBOLS 10 Print instruction | indication apparatus 11 Control part 11a CPU
11b ROM
11c RAM
12 storage unit 13 communication I / F unit 14 display unit 15 operation unit 20 OS
21 Devmode structure 21a, 21b Devmode area 22 Registry 22a, 22b Registry area 23a, 23b Printer driver 24a, 24b User interface module 25a, 25b Setting policy processing module 26a, 26b Setting policy 27a, 27b Registry related processing module 30 Batch setting dialog 30a, 30b, 30c Setting field 31 Level setting dialog 31a, 31b Setting field 32 Setting policy manual setting dialog 32a, 32b, 32c Setting field 40, 41, 42 Print setting screen 40a, 41a, 42a Setting item 50 Message dialog 50a, 50b 50c Display column

Claims (17)

複数のプリンタドライバがインストールされる印刷指示装置であって、
前記複数のプリンタドライバは、各々、印刷指示を行う印刷装置の機能に応じた項目が設定可能であり、各々の項目に対する設定値が予め登録されており、
前記複数のプリンタドライバの中から選択される所定のプリンタドライバは、
1又は複数の項目の設定値に基づいて設定ポリシーを決定し、決定した前記設定ポリシーを記憶部の所定の記憶領域に保存し、
前記所定のプリンタドライバを除く他のプリンタドライバは、
前記記憶部の前記所定の記憶領域に前記設定ポリシーが保存されている場合に、前記設定ポリシーに関連する1又は複数の項目の設定値を前記設定ポリシーに応じて変更する、
ことを特徴とする印刷指示装置。
A print instruction apparatus in which a plurality of printer drivers are installed,
Each of the plurality of printer drivers can set an item according to the function of the printing apparatus that issues a print instruction, and a setting value for each item is registered in advance.
The predetermined printer driver selected from the plurality of printer drivers is
Determining a setting policy based on a setting value of one or a plurality of items, storing the determined setting policy in a predetermined storage area of a storage unit;
Other printer drivers excluding the predetermined printer driver are:
When the setting policy is stored in the predetermined storage area of the storage unit, the setting value of one or a plurality of items related to the setting policy is changed according to the setting policy.
A printing instruction apparatus.
前記他のプリンタドライバは、
予め記憶された、前記設定ポリシーと前記項目と当該項目の設定値とを関連付ける情報を参照して、前記設定ポリシーに関連する項目を特定し、特定した項目の内の少なくとも1つの項目の設定値を前記情報に基づいて変更する、
ことを特徴とする請求項1に記載の印刷指示装置。
The other printer driver is
Referring to information stored in advance that associates the setting policy with the item and the setting value of the item, the item related to the setting policy is specified, and the setting value of at least one item among the specified items Change based on the information,
The print instruction apparatus according to claim 1.
前記所定のプリンタドライバは、
更に、前記1又は複数の項目の設定値に基づいて、設定を反映させる程度を示す設定レベルを決定し、決定した前記設定レベルを前記記憶部の前記所定の記憶領域に保存し、
前記他のプリンタドライバは、
前記記憶部の前記所定の記憶領域に前記設定ポリシー及び前記設定レベルが保存されている場合に、前記設定ポリシーに関連する項目の中から、前記設定レベルに応じた項目を特定し、特定した項目の設定値を前記情報に基づいて変更する、
ことを特徴とする請求項2に記載の印刷指示装置。
The predetermined printer driver is
Furthermore, based on the setting values of the one or more items, determine a setting level indicating the degree of reflecting the setting, save the determined setting level in the predetermined storage area of the storage unit,
The other printer driver is
When the setting policy and the setting level are stored in the predetermined storage area of the storage unit, an item corresponding to the setting level is specified from items related to the setting policy, and the specified item Change the setting value of
The printing instruction apparatus according to claim 2, wherein the printing instruction apparatus is a printing instruction apparatus.
前記他のプリンタドライバは、
前記記憶部の前記所定の記憶領域に前記設定ポリシー、及び、設定を反映させる程度を示す指標として予め設定された設定レベルが保存されている場合に、前記設定ポリシーに関連する項目の中から、前記設定レベルに応じた項目を特定し、特定した項目の設定値を前記情報に基づいて変更する、
ことを特徴とする請求項2に記載の印刷指示装置。
The other printer driver is
When the setting policy and the setting level set in advance as an index indicating the degree of reflecting the setting are stored in the predetermined storage area of the storage unit, from among items related to the setting policy, Identifying an item according to the setting level, and changing the setting value of the identified item based on the information;
The printing instruction apparatus according to claim 2, wherein the printing instruction apparatus is a printing instruction apparatus.
前記所定のプリンタドライバが前記設定ポリシーを決定する際に参照する前記1又は複数の項目と、前記他のプリンタドライバが前記設定ポリシーに基づいて設定値を変更する前記1又は複数の項目と、は少なくとも一部が異なる、
ことを特徴とする請求項1乃至4のいずれか一に記載の印刷指示装置。
The one or more items that are referred to when the predetermined printer driver determines the setting policy and the one or more items that the other printer driver changes setting values based on the setting policy are: At least partly different,
The printing instruction apparatus according to claim 1, wherein the printing instruction apparatus is a printing instruction apparatus.
前記他のプリンタドライバは、
前記所定のプリンタドライバが前記設定ポリシーを決定する際に参照する項目が、自身が設定可能な項目の中にない場合は、前記設定ポリシーに関連する他の項目の設定値を変更する、
ことを特徴とする請求項5に記載の印刷指示装置。
The other printer driver is
If the item referred to when the predetermined printer driver determines the setting policy is not among the items that can be set by itself, the setting value of another item related to the setting policy is changed.
The print instruction apparatus according to claim 5.
前記他のプリンタドライバは、
前記所定のプリンタドライバが前記設定ポリシーを決定する際に参照する項目が、自身が設定可能な項目の中にある場合、当該項目に代えて、若しくは、当該項目に加えて、前記設定ポリシーに関連する他の項目の設定値を変更する、
ことを特徴とする請求項5に記載の印刷指示装置。
The other printer driver is
If the item that the predetermined printer driver refers to when determining the setting policy is among the items that can be set by itself, it is related to the setting policy instead of or in addition to the item. Change the settings of other items
The print instruction apparatus according to claim 5.
印刷装置に印刷指示を行う装置にインストールされるプリンタドライバであって、
前記装置に、
前記印刷装置の機能に応じた項目が設定可能に表示される印刷設定画面を表示部に表示させて、1又は複数の項目を設定させる設定処理、
前記1又は複数の項目の設定値に基づいて設定ポリシーを決定し、決定した前記設定ポリシーを記憶部の所定の記憶領域に保存する設定ポリシー決定処理、を実行させる、
ことを特徴とするプリンタドライバ。
A printer driver installed in a device that issues a print instruction to a printing device,
In the device,
A setting process for setting a one or a plurality of items by displaying on the display unit a print setting screen on which items corresponding to the functions of the printing apparatus are settable.
Determining a setting policy based on the setting values of the one or more items, and executing a setting policy determination process for storing the determined setting policy in a predetermined storage area of a storage unit;
A printer driver characterized by that.
前記装置に、更に、
前記装置にインストールされた他のプリンタドライバが決定した前記設定ポリシーが前記記憶部の前記所定の記憶領域に保存されている場合に、前記設定ポリシーに関連する1又は複数の項目の設定値を前記設定ポリシーに応じて変更する設定ポリシー反映処理、
前記設定値を変更した前記印刷設定画面を前記表示部に表示させる表示処理、を実行させる、
ことを特徴とする請求項8に記載のプリンタドライバ。
In addition to the device,
When the setting policy determined by another printer driver installed in the apparatus is stored in the predetermined storage area of the storage unit, setting values of one or a plurality of items related to the setting policy are Setting policy reflection processing to be changed according to the setting policy,
Causing the display unit to display the print setting screen in which the setting value has been changed.
The printer driver according to claim 8.
前記設定ポリシー反映処理では、
予め記憶された、前記設定ポリシーと前記項目と当該項目の設定値とを関連付ける情報を参照して、前記設定ポリシーに関連する項目を特定し、特定した項目の内の少なくとも1つの項目の設定値を前記情報に基づいて変更する、
ことを特徴とする請求項9に記載のプリンタドライバ。
In the setting policy reflection process,
Referring to information stored in advance that associates the setting policy with the item and the setting value of the item, the item related to the setting policy is specified, and the setting value of at least one item among the specified items Change based on the information,
The printer driver according to claim 9.
印刷装置に印刷指示を行う装置にインストールされるプリンタドライバであって、
前記装置に、
前記装置にインストールされた他のプリンタドライバが1又は複数の項目の設定値に基づいて決定した設定ポリシーが記憶部の所定の記憶領域に保存されている場合に、前記印刷装置の機能に応じた項目の内の前記設定ポリシーに関連する1又は複数の項目の設定値を前記設定ポリシーに応じて変更する設定ポリシー反映処理、
前記設定値を変更した印刷設定画面を表示部に表示させる表示処理、を実行させる、
ことを特徴とするプリンタドライバ。
A printer driver installed in a device that issues a print instruction to a printing device,
In the device,
When a setting policy determined by another printer driver installed in the apparatus based on the setting value of one or more items is stored in a predetermined storage area of the storage unit, the function corresponds to the function of the printing apparatus A setting policy reflection process for changing a setting value of one or a plurality of items related to the setting policy of items according to the setting policy;
Causing the display unit to display a print setting screen in which the setting value has been changed,
A printer driver characterized by that.
前記設定ポリシー反映処理では、
予め記憶された、前記設定ポリシーと前記項目と当該項目の設定値とを関連付ける情報を参照して、前記設定ポリシーに関連する項目を特定し、特定した項目の内の少なくとも1つの項目の設定値を前記情報に基づいて変更する、
ことを特徴とする請求項11に記載のプリンタドライバ。
In the setting policy reflection process,
Referring to information stored in advance that associates the setting policy with the item and the setting value of the item, the item related to the setting policy is specified, and the setting value of at least one item among the specified items Change based on the information,
The printer driver according to claim 11.
前記装置に、前記設定ポリシー決定処理を実行させる場合は、
前記1又は複数の項目の設定値に基づいて、設定を反映させる程度を示す設定レベルを決定し、決定した前記設定レベルを前記記憶部の前記所定の記憶領域に保存し、
前記装置に、前記設定ポリシー反映処理を実行させる場合は、
前記記憶部の前記所定の記憶領域に前記他のプリンタドライバが決定した前記設定ポリシー及び前記設定レベルが保存されている場合に、前記設定ポリシーに関連する項目の中から、前記設定レベルに応じた項目を特定し、特定した項目の設定値を前記情報に基づいて変更する、
ことを特徴とする請求項10に記載のプリンタドライバ。
When causing the device to execute the setting policy determination process,
Based on the setting values of the one or more items, determine a setting level indicating the degree to which the setting is reflected, save the determined setting level in the predetermined storage area of the storage unit,
When causing the device to execute the setting policy reflection process,
When the setting policy and the setting level determined by the other printer driver are stored in the predetermined storage area of the storage unit, an item corresponding to the setting level is selected from items related to the setting policy. Identify the item and change the setting value of the identified item based on the information,
The printer driver according to claim 10.
前記設定ポリシー反映処理では、
前記記憶部の前記所定の記憶領域に前記他のプリンタドライバが決定した前記設定ポリシー、及び、設定を反映させる程度を示す指標として予め設定された設定レベルが保存されている場合に、前記設定ポリシーに関連する項目の中から、前記設定レベルに応じた項目を特定し、特定した項目の設定値を前記情報に基づいて変更する、
ことを特徴とする請求項10又は12に記載のプリンタドライバ。
In the setting policy reflection process,
The setting policy when the setting policy determined by the other printer driver and a setting level set in advance as an index indicating the degree of reflecting the setting are stored in the predetermined storage area of the storage unit Identifying an item according to the setting level from the items related to, and changing the setting value of the identified item based on the information,
The printer driver according to claim 10 or 12, characterized in that:
前記他のプリンタドライバが前記設定ポリシーを決定する際に参照する前記1又は複数の項目と、前記設定ポリシーに基づいて自身が設定値を変更する前記1又は複数の項目と、は少なくとも一部が異なる、
ことを特徴とする請求項9乃至14のいずれか一に記載のプリンタドライバ。
The one or more items that are referred to when the other printer driver determines the setting policy and the one or more items that change the setting value based on the setting policy are at least partly. Different,
The printer driver according to claim 9, wherein the printer driver is a printer driver.
前記設定ポリシー反映処理では、
前記他のプリンタドライバが前記設定ポリシーを決定する際に参照する項目が、自身が設定可能な項目の中にない場合は、前記設定ポリシーに関連する他の項目の設定値を変更する、
ことを特徴とする請求項15に記載のプリンタドライバ。
In the setting policy reflection process,
When the item referred to when the other printer driver determines the setting policy is not among the items that can be set by itself, the setting value of the other item related to the setting policy is changed.
The printer driver according to claim 15.
前記設定ポリシー反映処理では、
前記他のプリンタドライバが前記設定ポリシーを決定する際に参照する項目が、自身が設定可能な項目の中にある場合、当該項目に代えて、若しくは、当該項目に加えて、前記設定ポリシーに関連する他の項目の設定値を変更する、
ことを特徴とする請求項15に記載のプリンタドライバ。
In the setting policy reflection process,
If an item that the other printer driver refers to when determining the setting policy is among the items that can be set by itself, it is related to the setting policy instead of or in addition to the item. Change the settings of other items
The printer driver according to claim 15.
JP2014212205A 2014-10-17 2014-10-17 Printing instruction apparatus and printer driver Active JP6497574B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014212205A JP6497574B2 (en) 2014-10-17 2014-10-17 Printing instruction apparatus and printer driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014212205A JP6497574B2 (en) 2014-10-17 2014-10-17 Printing instruction apparatus and printer driver

Publications (3)

Publication Number Publication Date
JP2016081314A JP2016081314A (en) 2016-05-16
JP2016081314A5 JP2016081314A5 (en) 2017-11-30
JP6497574B2 true JP6497574B2 (en) 2019-04-10

Family

ID=55956317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014212205A Active JP6497574B2 (en) 2014-10-17 2014-10-17 Printing instruction apparatus and printer driver

Country Status (1)

Country Link
JP (1) JP6497574B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011113262A (en) * 2009-11-26 2011-06-09 Ricoh Co Ltd System and apparatus for forming image
JP2014059689A (en) * 2012-09-18 2014-04-03 Konica Minolta Inc Print condition recommendation device and print processor

Also Published As

Publication number Publication date
JP2016081314A (en) 2016-05-16

Similar Documents

Publication Publication Date Title
US8493596B2 (en) Printer driver, recording medium, information processing apparatus, printing system, and printer driver setting method
JP6319584B2 (en) Image forming system
JP6395374B2 (en) Image forming apparatus, image forming apparatus control method, and computer-readable program
KR101650731B1 (en) Management apparatus and method for managing device driver of management apparatus
US8994972B2 (en) Printing system and method for obtaining a desired or an alternative pull-printing result
CN104917922A (en) Image forming apparatus, data management method, and storage medium
CN107229437B (en) Pull type printing system
US10126992B2 (en) Image processing apparatus, control method thereof, and storage medium
CN108459832B (en) Image forming apparatus and display method
US9955035B2 (en) Pull print system that improves security performance
US11620095B2 (en) Information processing apparatus and non-transitory computer readable medium for information processing
US20150150117A1 (en) Information processing apparatus, method of controlling the same and storage medium
KR20200038858A (en) Printing apparatus, control method therefor, and non-transitory computer-readable storage medium
US10209932B2 (en) Printing apparatus that processes print data based on security setting data
US9906679B2 (en) Image forming device and image forming method
US20150278982A1 (en) Information processing device and information processing method
JP2008059332A (en) Multifunctional device and use condition setting program
US20170034365A1 (en) Information processing apparatus, method of controlling the same, and storage medium
US9256179B1 (en) Image forming apparatus, image forming method, and non-transitory computer readable medium
US9001359B2 (en) Information processing apparatus capable of setting configuration information for use by an image processing apparatus, and control method and storage medium therefor
JP6497574B2 (en) Printing instruction apparatus and printer driver
US11070691B2 (en) Appliance setting apparatus and non-transitory computer-readable recording medium storing appliance setting program
KR20110085783A (en) Method for storing document in document box, host apparatus and image forming apparatus for performing the method
US9030683B2 (en) Information processing apparatus, control method, and storage medium with deletion unit deleting a virtual device object
US20200125306A1 (en) Image forming apparatus, control method, and storage medium storing program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171017

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171017

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180508

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190205

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190228

R150 Certificate of patent or registration of utility model

Ref document number: 6497574

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150