JP2017068304A - Information processing device and program - Google Patents

Information processing device and program Download PDF

Info

Publication number
JP2017068304A
JP2017068304A JP2015189256A JP2015189256A JP2017068304A JP 2017068304 A JP2017068304 A JP 2017068304A JP 2015189256 A JP2015189256 A JP 2015189256A JP 2015189256 A JP2015189256 A JP 2015189256A JP 2017068304 A JP2017068304 A JP 2017068304A
Authority
JP
Japan
Prior art keywords
function
print setting
information
print
change
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.)
Granted
Application number
JP2015189256A
Other languages
Japanese (ja)
Other versions
JP6578851B2 (en
Inventor
高橋 奈穂美
Naomi Takahashi
奈穂美 高橋
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2015189256A priority Critical patent/JP6578851B2/en
Publication of JP2017068304A publication Critical patent/JP2017068304A/en
Application granted granted Critical
Publication of JP6578851B2 publication Critical patent/JP6578851B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device which makes a pring setting function, which is set when performing printing, changeable according to an application.SOLUTION: A terminal device 10 comprises: a function change interpretation unit 123 which accepts PT (Print Ticket) including a print setting function which is set for printing and change information for changing the print setting function, from an application 101; a display control unit 122 which performs control to display a print setting screen on which change of the print setting function by the change information is reflected; a rendering module change unit 112 which receives PT when a print instruction is issued on the print setting screen, and derives a processing order of processing relating to the changed print setting function from the PT; and a rendering module 113 for performing processing relating to the print setting function in the processing order derived by the rendering module change unit.SELECTED DRAWING: Figure 3

Description

本発明は、情報処理装置およびプログラムに関する。   The present invention relates to an information processing apparatus and a program.

従来技術として、プリンタードライバーを構成するモジュールに対して、アドインモジュールを追加することで、印刷を行う際に設定される印刷設定機能を追加する技術が存在する(例えば、特許文献1参照)。   As a conventional technique, there is a technique for adding a print setting function that is set when printing is performed by adding an add-in module to a module constituting a printer driver (see, for example, Patent Document 1).

特開2007−272763号公報JP 2007-272863 A

ところで、既存の印刷設定機能とは異なる印刷設定機能を利用するためにプリンタードライバーの構成を変更した場合、異なるアプリケーションから印刷要求を行った場合であっても同じ印刷設定機能が適用されることになる。この場合、アプリケーションに応じて新たに印刷設定機能を追加したり、アプリケーションに応じて既存の印刷設定機能を削除したりすることはできない。
本発明は、印刷を行う際に設定される印刷設定機能をアプリケーションに応じて変更可能にすることを目的とする。
By the way, if the configuration of the printer driver is changed to use a print setting function different from the existing print setting function, the same print setting function is applied even when a print request is made from a different application. Become. In this case, a new print setting function cannot be added according to the application, or an existing print setting function cannot be deleted according to the application.
It is an object of the present invention to make it possible to change a print setting function set when printing is performed in accordance with an application.

請求項1に係る発明は、印刷に関して設定される印刷設定機能と、当該印刷設定機能を変更する変更情報とを含む印刷設定情報をアプリケーションから受け付ける受付手段と、前記変更情報による前記印刷設定機能の変更を反映した印刷設定画面を表示するように制御する表示制御手段と、前記印刷設定画面にて印刷指示がなされた場合に、前記印刷設定情報を受け取り、変更後の前記印刷設定機能に係る処理の処理順序を当該印刷設定情報から導出する導出手段と、前記導出手段にて導出された処理順序で前記印刷設定機能に係る処理を行う処理手段とを備える情報処理装置である。
請求項2に係る発明は、前記表示制御手段は、前記印刷設定機能に対して追加機能を付加する情報が前記変更情報に含まれる場合に、当該追加機能の設定項目を追加した前記印刷設定画面を表示するように制御することを特徴とする請求項1に記載の情報処理装置である。
請求項3に係る発明は、前記表示制御手段は、前記追加機能との間に禁則が生じる前記印刷設定機能または当該印刷設定機能の設定値を設定できないように、前記印刷設定画面を制御することを特徴とする請求項2に記載の情報処理装置である。
請求項4に係る発明は、前記処理手段は、前記追加機能に係る処理の処理順序において当該追加機能に係る処理を実行する実行手段を呼び出して、当該追加機能に係る処理を行うことを特徴とする請求項2または3に記載の情報処理装置である。
請求項5に係る発明は、前記表示制御手段は、前記印刷設定機能を制限する情報が前記変更情報に含まれる場合に、制限する当該印刷設定機能の設定項目を削除した前記印刷設定画面を表示する制御を行うことを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置である。
請求項6に係る発明は、印刷に関して設定される印刷設定機能と、当該印刷設定機能を変更する変更情報とを含む印刷設定情報をアプリケーションから受け付ける受付手段と、前記変更情報による前記印刷設定機能の変更を反映した印刷設定画面を表示するように制御する表示制御手段と、前記印刷設定画面にて印刷指示がなされた場合に、前記印刷設定機能に係る処理を行う処理手段に対して、前記変更情報を含む前記印刷設定情報を出力する出力手段とを備える情報処理装置である。
請求項7に係る発明は、コンピュータに、印刷に関して設定される印刷設定機能の設定値と、当該印刷設定機能を変更する変更情報とを含む印刷設定情報をアプリケーションから受け付ける機能と、前記変更情報による前記印刷設定機能の変更を反映した印刷設定画面を表示させる機能と、前記印刷設定画面にて印刷指示がなされた場合に、前記印刷設定情報を受け取り、変更後の前記印刷設定機能に係る処理の処理順序を当該印刷設定情報から導出する機能と、変更後の前記印刷設定機能に係る処理を、導出された前記処理順序で行わせる機能とを実現させるためのプログラムである。
According to the first aspect of the present invention, there is provided a receiving unit that receives print setting information including a print setting function set for printing and change information for changing the print setting function from an application, and the print setting function based on the change information. Display control means for controlling to display a print setting screen reflecting the change, and processing related to the print setting function after receiving the print setting information when a print instruction is given on the print setting screen And a processing unit that performs processing related to the print setting function in the processing order derived by the derivation unit.
According to a second aspect of the present invention, when the change information includes information for adding an additional function to the print setting function, the display control unit adds the setting item for the additional function. The information processing apparatus according to claim 1, wherein the information processing apparatus is controlled to display a message.
According to a third aspect of the present invention, the display control unit controls the print setting screen so that the print setting function or a setting value of the print setting function that causes a prohibition with the additional function cannot be set. The information processing apparatus according to claim 2.
The invention according to claim 4 is characterized in that the processing means calls the execution means for executing the processing related to the additional function in the processing order of the processing related to the additional function, and performs the processing related to the additional function. The information processing apparatus according to claim 2 or 3.
According to a fifth aspect of the present invention, the display control means displays the print setting screen in which the setting items of the print setting function to be restricted are deleted when the information to restrict the print setting function is included in the change information. The information processing apparatus according to any one of claims 1 to 4, wherein control is performed.
According to a sixth aspect of the present invention, there is provided: a receiving unit that receives, from an application, print setting information that includes a print setting function that is set for printing; and change information that changes the print setting function; The display control unit that controls to display the print setting screen reflecting the change, and the processing unit that performs processing related to the print setting function when a print instruction is given on the print setting screen. And an output unit that outputs the print setting information including information.
According to a seventh aspect of the present invention, there is provided a function for accepting print setting information from an application including a set value of a print setting function set for printing and change information for changing the print setting function in a computer, and the change information. A function for displaying a print setting screen reflecting the change of the print setting function, and when a print instruction is given on the print setting screen, the print setting information is received, and a process related to the print setting function after the change is performed. A program for realizing a function for deriving a processing order from the print setting information and a function for performing a process related to the changed print setting function in the derived processing order.

請求項1に係る発明によれば、印刷を行う際に設定される印刷設定機能をアプリケーションに応じて変更することが可能となる。
請求項2に係る発明によれば、追加機能の設定項目を印刷設定画面に追加しない場合と比較して、アプリケーションにより追加機能が付加されたことを把握しやすくなる。
請求項3に係る発明によれば、禁則が生じる印刷設定機能またはその設定値を設定できるように印刷設定画面を制御する場合と比較して、追加機能と禁則が生じる印刷設定機能またはその設定値を誤って設定することが抑制される。
請求項4に係る発明によれば、実行手段を呼び出して追加機能に係る処理を行わない場合と比較して、アプリケーションよる追加機能の実現を容易にすることができる。
請求項5に係る発明によれば、アプリケーションにより制限される印刷設定機能を印刷設定画面に表示する場合と比較して、制限された印刷設定機能を誤って設定することが抑制される。
請求項6に係る発明によれば、印刷を行う際に設定される印刷設定機能をアプリケーションに応じて変更することが可能となる。
請求項7に係る発明によれば、印刷を行う際に設定される印刷設定機能をアプリケーションに応じて変更することが可能となる。
According to the first aspect of the present invention, it is possible to change the print setting function set when printing is performed according to the application.
According to the second aspect of the present invention, it is easier to grasp that the additional function is added by the application, compared to the case where the setting item of the additional function is not added to the print setting screen.
According to the third aspect of the present invention, the print setting function causing the prohibition and the setting value thereof are compared with the case of controlling the print setting screen so that the prohibition can be set. It is possible to suppress the erroneous setting.
According to the fourth aspect of the present invention, it is possible to facilitate the realization of the additional function by the application as compared with the case where the execution unit is called to perform the process related to the additional function.
According to the fifth aspect of the present invention, it is possible to suppress erroneous setting of the restricted print setting function as compared with the case where the print setting function restricted by the application is displayed on the print setting screen.
According to the invention which concerns on Claim 6, it becomes possible to change the print setting function set when performing printing according to an application.
According to the seventh aspect of the invention, it is possible to change the print setting function set when printing is performed according to the application.

本実施の形態に係る印刷システムの概略構成の一例を示す図である。It is a figure which shows an example of schematic structure of the printing system which concerns on this Embodiment. 本実施の形態に係る端末装置のハードウェア構成例を示した図である。It is the figure which showed the hardware structural example of the terminal device which concerns on this Embodiment. 本実施の形態に係る端末装置の機能構成例を示したブロック図である。It is the block diagram which showed the function structural example of the terminal device which concerns on this Embodiment. 印刷設定機能の追加を行う場合にアプリケーションにより作成されるPTの例を示した図である。FIG. 10 is a diagram illustrating an example of a PT created by an application when adding a print setting function. 表示を変更する前の拡張印刷設定UIの印刷設定画面の一例を示した図である。FIG. 10 is a diagram illustrating an example of a print setting screen of an extended print setting UI before a display is changed. 図4に示したPTの記述に基づいて表示を変更した後の拡張印刷設定UIの印刷設定画面の一例を示した図である。FIG. 5 is a diagram showing an example of a print setting screen of an extended print setting UI after the display is changed based on the description of PT shown in FIG. 4. アプリケーションにより追加機能として「ID Print」機能が追加される場合に、アプリケーションにより作成されるPTの一例を示している。An example of a PT created by an application when an “ID Print” function is added as an additional function by the application is shown. 図7に示したPTの記述に基づいて表示を変更した後の拡張印刷設定UIの印刷設定画面の一例を示した図である。FIG. 8 is a diagram showing an example of a print setting screen of an extended print setting UI after the display is changed based on the description of PT shown in FIG. 7. アプリケーションにより既存機能を削除する指示がなされた場合の拡張印刷設定UIの印刷設定画面の一例を示した図である。6 is a diagram illustrating an example of a print setting screen of an extended print setting UI when an instruction to delete an existing function is given by an application. FIG. ドライバー拡張UIにて行われる処理の手順の一例を示すフローチャートである。5 is a flowchart illustrating an example of a procedure of processing performed in a driver expansion UI. プリンタードライバーにて行われる処理の手順の一例を示すフローチャートである。6 is a flowchart illustrating an example of a procedure of processing performed by a printer driver.

以下、添付図面を参照して、本発明の実施の形態について詳細に説明する。
<システムの全体構成>
まず、本実施の形態に係る印刷システム1の全体構成について説明する。図1は、本実施の形態に係る印刷システム1の概略構成の一例を示す図である。図示するように、印刷システム1は、ネットワーク30を介して接続された、端末装置10と印刷装置20とを備えている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
<Overall system configuration>
First, the overall configuration of the printing system 1 according to the present embodiment will be described. FIG. 1 is a diagram illustrating an example of a schematic configuration of a printing system 1 according to the present embodiment. As illustrated, the printing system 1 includes a terminal device 10 and a printing device 20 that are connected via a network 30.

端末装置10は、ユーザが文書を印刷する際に操作するコンピュータ装置であり、ユーザの操作をもとに印刷装置20に対して印刷の指示を行う。端末装置10としては、例えばPC(Personal Computer)を用いればよい。本実施の形態では、情報処理装置の一例として、端末装置10が用いられる。   The terminal device 10 is a computer device that is operated when a user prints a document, and instructs the printing device 20 to print based on the user's operation. For example, a PC (Personal Computer) may be used as the terminal device 10. In the present embodiment, the terminal device 10 is used as an example of the information processing apparatus.

印刷装置20は、用紙等の記録媒体に画像を形成し印刷処理を行う装置である。印刷装置20としては、プリント機能のみを有するものを用いてもよいが、プリント機能に加えて、コピー機能、スキャン機能、ファクシミリ機能等の他の画像処理機能を有するものを用いてもよい。   The printing apparatus 20 is an apparatus that forms an image on a recording medium such as paper and performs a printing process. As the printing apparatus 20, a printer having only a print function may be used. In addition to the print function, a printer having other image processing functions such as a copy function, a scan function, and a facsimile function may be used.

ネットワーク30は、端末装置10と印刷装置20との間の情報通信に用いられる通信手段であり、例えば、LAN(Local Area Network)やインターネットを用いるとよい。   The network 30 is a communication unit used for information communication between the terminal device 10 and the printing device 20, and for example, a LAN (Local Area Network) or the Internet may be used.

ここで、本実施の形態に係る印刷システム1では、ユーザが端末装置10を操作して印刷する際、端末装置10にてプリンタードライバーが起動され、印刷の設定を行うための印刷設定画面が表示される。   Here, in the printing system 1 according to the present embodiment, when the user operates the terminal device 10 to perform printing, the printer driver is activated in the terminal device 10 and a print setting screen for performing print settings is displayed. Is done.

以下では、端末装置10で起動されるプリンタードライバーの一例として、Windows(登録商標)のV4のプリンタードライバーを挙げて説明する。詳細については後述するが、WindowsのV4のプリンタードライバーでは、印刷装置20に特有の機能を指定可能な拡張UIが使用される。
なお、本実施の形態で用いられるプリンタードライバーとしては、V4のプリンタードライバーに限られるものではない。
In the following, a Windows (registered trademark) V4 printer driver will be described as an example of a printer driver activated in the terminal device 10. Although details will be described later, in the Windows V4 printer driver, an extended UI capable of designating a function specific to the printing apparatus 20 is used.
The printer driver used in the present embodiment is not limited to the V4 printer driver.

<端末装置のハードウェア構成>
次に、端末装置10のハードウェア構成について説明する。図2は、本実施の形態に係る端末装置10のハードウェア構成例を示した図である。
<Hardware configuration of terminal device>
Next, the hardware configuration of the terminal device 10 will be described. FIG. 2 is a diagram illustrating a hardware configuration example of the terminal device 10 according to the present embodiment.

図示するように、端末装置10は、演算手段であるCPU(Central Processing Unit)11と、記憶手段であるメインメモリ12および磁気ディスク装置(HDD:Hard Disk Drive)13とを備える。ここで、CPU11は、OS(Operating System)やアプリケーションプログラム(以下、「アプリケーション」という)等の各種プログラムを実行し、端末装置10の各機能を実現する。また、メインメモリ12は、各種プログラムやその実行に用いるデータ等を記憶する記憶領域であり、磁気ディスク装置13は、各種プログラムに対する入力データや各種プログラムからの出力データ等を記憶する記憶領域である。さらに、端末装置10は、外部との通信を行うための通信I/F14と、ビデオメモリやディスプレイ等からなる表示機構15と、キーボードやマウス等の入力デバイス16とを備える。   As shown in the figure, the terminal device 10 includes a CPU (Central Processing Unit) 11 that is a calculation means, a main memory 12 that is a storage means, and a magnetic disk device (HDD: Hard Disk Drive) 13. Here, the CPU 11 executes various programs such as an OS (Operating System) and application programs (hereinafter referred to as “applications”), and realizes each function of the terminal device 10. The main memory 12 is a storage area for storing various programs and data used for execution thereof, and the magnetic disk device 13 is a storage area for storing input data for various programs, output data from various programs, and the like. . Further, the terminal device 10 includes a communication I / F 14 for performing communication with the outside, a display mechanism 15 including a video memory and a display, and an input device 16 such as a keyboard and a mouse.

なお、本発明の実施の形態を実現するプログラムは、磁気記録媒体(磁気テープ、磁気ディスクなど)、光記録媒体(光ディスクなど)、光磁気記録媒体、半導体メモリなどのコンピュータが読取可能な記録媒体に記憶した状態で提供し得る。また、インターネットなどの通信手段を用いて端末装置10にダウンロードさせてもよい。   The program for realizing the embodiment of the present invention is a computer-readable recording medium such as a magnetic recording medium (magnetic tape, magnetic disk, etc.), an optical recording medium (optical disk, etc.), a magneto-optical recording medium, or a semiconductor memory. Can be provided in a state stored in the memory. Moreover, you may make it download to the terminal device 10 using communication means, such as the internet.

<端末装置の機能構成>
次に、端末装置10の機能構成について説明する。図3は、本実施の形態に係る端末装置10の機能構成例を示したブロック図である。端末装置10では、アプリケーション101と、OS102と、プリンタードライバー110と、ドライバー拡張UI120と、追加機能モジュール103と、スプーラー104と、ポートモニター105とが動作する。
<Functional configuration of terminal device>
Next, the functional configuration of the terminal device 10 will be described. FIG. 3 is a block diagram illustrating a functional configuration example of the terminal device 10 according to the present embodiment. In the terminal device 10, an application 101, an OS 102, a printer driver 110, a driver extension UI 120, an additional function module 103, a spooler 104, and a port monitor 105 operate.

アプリケーション101は、V4プリンタードライバーと連動してインストール可能なWindowsストアデバイスアプリと呼ばれるアプリケーションの一種である。このアプリケーション101は、ユーザの操作に応じて、OS102上で動作し、印刷対象となる画像データが含まれる印刷データを作成する。
また、アプリケーション101は、印刷要求があった場合に、プリントケーパビリティ(PC:Print Capabilities)の要求を、OS102を介してプリンタードライバー110の後述する構成モジュール111に送信する。
The application 101 is a type of application called a Windows store device application that can be installed in conjunction with the V4 printer driver. The application 101 operates on the OS 102 according to a user operation, and creates print data including image data to be printed.
In addition, when there is a print request, the application 101 transmits a print capability (PC) request to the later-described configuration module 111 of the printer driver 110 via the OS 102.

ここで、PCとは、印刷装置20がサポートする機能をXML形式で記述したものである。具体的には、PCには、プリンタードライバー110にて設定可能な印刷設定機能と、それぞれの印刷設定機能の設定値およびその属性がXML形式で記述されている。例えば、用紙の種類のように複数の選択肢から選択する印刷設定機能の場合には、「用紙種類の設定値は選択式で、A4、A5、Letterが選択可能」という内容がXML形式で記述される。また、印刷部数のように数値を設定する印刷設定機能の場合には、「設定値は数値で、0〜999まで入力可能」という内容がXML形式で記述される。   Here, the PC describes functions supported by the printing apparatus 20 in the XML format. Specifically, the PC describes a print setting function that can be set by the printer driver 110, setting values and attributes of each print setting function in an XML format. For example, in the case of a print setting function for selecting from a plurality of options such as the paper type, the content “setting value of paper type is selectable and A4, A5, Letter can be selected” is described in XML format. The In the case of a print setting function for setting a numerical value such as the number of copies to be printed, the content “setting value is a numerical value and can be input from 0 to 999” is described in XML format.

アプリケーション101は、構成モジュール111からPCを受け取ると、PCに記述される内容を把握し、それに基づいて、ドライバー拡張UI120に対して後述する拡張印刷設定UI121の表示要求を行う。
詳細については後述するが、アプリケーション101は、拡張印刷設定UI121の表示要求に際し、PCに記述される内容に基づいてプリントチケット(PT:Print Ticket)を作成する。そして、アプリケーション101は、作成したPTを、OS102を介してドライバー拡張UI120の後述する機能変更解釈部123に送信する。
When the application 101 receives a PC from the configuration module 111, the application 101 grasps the contents described in the PC, and makes a display request for an extended print setting UI 121, which will be described later, to the driver extended UI 120 based thereon.
As will be described in detail later, the application 101 creates a print ticket (PT) based on the contents described in the PC when a request for displaying the extended print setting UI 121 is made. Then, the application 101 transmits the created PT to the function change interpretation unit 123 described later of the driver extension UI 120 via the OS 102.

ここで、PTとは、印刷設定情報の一例であり、PCで定義されている印刷設定機能に対しての設定値をXML形式で記述したものである。例えば、「用紙種類はA4」という内容がXML形式で記述される。設定値としては、拡張印刷設定UI121に表示する際のデフォルト値や、プリンタードライバー110側で設定された値が記述される場合もある。   Here, PT is an example of print setting information, and describes setting values for a print setting function defined in the PC in an XML format. For example, the content “paper type is A4” is described in the XML format. As the setting value, a default value displayed on the extended print setting UI 121 or a value set on the printer driver 110 side may be described.

PTは、カスタマイズが可能である。例えば、アプリケーション101は、PTを作成する際に、PCで定義されている印刷設定機能とは異なる印刷設定機能の追加や、PCで定義されている印刷設定機能の削除についての情報を付加することもできる。詳細については後述するが、アプリケーション101がPTに付加する印刷設定機能の追加や削除についての情報としては、追加する印刷設定機能に係る設定項目の印刷設定画面における表示位置や、追加する印刷設定機能に係るフィルター処理の処理順序、削除する印刷設定機能の設定項目やその選択肢等の情報が挙げられる。
なお、以下の説明において、PCで定義されている印刷設定機能を「既存機能」と呼び、アプリケーション101により新たに追加する印刷設定機能を「追加機能」と呼ぶ場合がある。
The PT can be customized. For example, when creating the PT, the application 101 adds information about addition of a print setting function different from the print setting function defined on the PC or deletion of the print setting function defined on the PC. You can also. Although details will be described later, information on addition or deletion of the print setting function added to the PT by the application 101 includes the display position of the setting item related to the print setting function to be added on the print setting screen, and the print setting function to be added Information on the processing order of the filter processing, the setting items of the print setting function to be deleted, and options thereof.
In the following description, a print setting function defined in the PC may be referred to as an “existing function”, and a print setting function newly added by the application 101 may be referred to as an “additional function”.

また、アプリケーション101は、印刷時には、XPS(XML Paper Specification)形式の印刷データを、PTとともにプリンタードライバー110に送信する。ここで、XPSとは、電子文書を記述するためのXMLベースのフォーマットである。   Further, at the time of printing, the application 101 transmits print data in the XPS (XML Paper Specification) format to the printer driver 110 together with the PT. Here, XPS is an XML-based format for describing an electronic document.

OS102は、基本ソフトウェアであって、端末装置10のハードウェアとソフトウェアとを管理し、各種プログラムやその実行の制御を行う。   The OS 102 is basic software, manages the hardware and software of the terminal device 10, and controls various programs and their execution.

追加機能モジュール103は、実行手段の一例であって、印刷データに対して追加機能に対応する加工処理を行うプラグインモジュールである。追加機能モジュール103は、プリンタードライバー110の後述するレンダリングモジュール113からの呼び出しに基づいて、アプリケーション101から送信されたXPS形式の印刷データに対して加工を施す。追加機能モジュール103は、後述するレンダリングモジュール113と同様に、加工処理がXPSフィルターとして定義されて、XPSファイルに含まれる印刷設定に応じて加工が施される。本実施の形態のプリンタードライバー110では、追加機能モジュール103により、レンダリングモジュール113におけるXPSフィルター構成を変更することなく、追加機能に対応する加工処理を施すことができるようになっている。   The additional function module 103 is an example of an execution unit, and is a plug-in module that performs processing corresponding to the additional function on the print data. The additional function module 103 performs processing on the XPS format print data transmitted from the application 101 based on a call from the rendering module 113 described later of the printer driver 110. In the additional function module 103, similarly to the rendering module 113 described later, the processing is defined as an XPS filter, and processing is performed according to the print settings included in the XPS file. In the printer driver 110 of this embodiment, the additional function module 103 can perform processing corresponding to the additional function without changing the XPS filter configuration in the rendering module 113.

スプーラー104は、印刷処理のスケジュール管理を行うOSモジュールである。このスプーラー104は、後述するレンダリングモジュール113により登録された印刷データを受け付けて、順次送信する制御を行う。   The spooler 104 is an OS module that performs print processing schedule management. The spooler 104 performs control of receiving print data registered by a rendering module 113 described later and sequentially transmitting the print data.

ポートモニター105は、スプーラー104と印刷装置20との間のデータのやり取りを仲介するモジュールである。具体的には、ポートモニター105は、スプーラー104から印刷データを受け付けて、受け付けた印刷データを印刷装置20に送信する。印刷データが印刷装置20に送信されることにより、印刷装置20にて印刷処理が行われる。   The port monitor 105 is a module that mediates data exchange between the spooler 104 and the printing apparatus 20. Specifically, the port monitor 105 receives print data from the spooler 104 and transmits the received print data to the printing apparatus 20. When the print data is transmitted to the printing apparatus 20, the printing apparatus 20 performs a printing process.

プリンタードライバー110は、V4プリンタードライバーであり、構成モジュール111と、レンダリングモジュール変更部112と、レンダリングモジュール113とを有している。   The printer driver 110 is a V4 printer driver, and includes a configuration module 111, a rendering module changing unit 112, and a rendering module 113.

構成モジュール111は、プリンタードライバー110が備える印刷設定機能の情報を保持する。そして、構成モジュール111は、アプリケーション101からOS102を介してPCの要求を受けた場合に、PCを生成し、OS102を介してアプリケーション101にPCを返す。
また、構成モジュール111は、OS102を介してドライバー拡張UI120の後述する拡張印刷設定UI121から受け取ったPTに基づいて印刷設定制御を行う。
The configuration module 111 holds information on print setting functions provided in the printer driver 110. When the configuration module 111 receives a PC request from the application 101 via the OS 102, the configuration module 111 generates a PC and returns the PC to the application 101 via the OS 102.
In addition, the configuration module 111 performs print setting control based on the PT received from the later-described extended print setting UI 121 of the driver extended UI 120 via the OS 102.

レンダリングモジュール変更部112は、導出手段の一例であって、OS102を介してドライバー拡張UI120の拡張印刷設定UI121から受け取ったPTに基づいて、追加機能の有無や、既存機能の削除の有無等を解釈する。また、レンダリングモジュール変更部112は、追加機能がある場合や既存機能の削除がある場合には、PTに記述される追加機能モジュール103の呼び出し位置や削除する既存機能に関する情報を、レンダリングモジュール113に伝える。言い換えると、レンダリングモジュール変更部112は、PTに記述される情報に基づいて、追加機能や既存機能に係る処理の処理順序を導出し、レンダリングモジュール113に伝える。   The rendering module changing unit 112 is an example of a derivation unit, and interprets the presence / absence of an additional function, the presence / absence of deletion of an existing function, and the like based on the PT received from the extended print setting UI 121 of the driver extended UI 120 via the OS 102 To do. In addition, when there is an additional function or when an existing function is deleted, the rendering module changing unit 112 sends the information on the calling position of the additional function module 103 described in the PT and the existing function to be deleted to the rendering module 113. Tell. In other words, the rendering module changing unit 112 derives the processing order of the processing related to the additional function and the existing function based on the information described in the PT, and notifies the rendering module 113 of the processing order.

レンダリングモジュール113は、処理手段の一例であって、アプリケーション101から送信されたXPS形式の印刷データに対して様々な加工を施す。ここで、プリンタードライバー110では、各加工処理がXPSフィルターとして定義される。そのため、レンダリングモジュール113には、各種のXPSフィルター(XPSフィルター群)が設けられており、印刷データとともに送られたPTに記述される印刷設定やレンダリングモジュール変更部112からの情報に応じて、各XPSフィルターにて適切な加工が施されていく。
詳細については後述するが、例えば追加機能がある場合には、レンダリングモジュール113は、レンダリングモジュール変更部112から受け取った呼び出し位置に関する情報に基づいて、追加機能モジュール103を呼び出し、処理を実行する。また、既存機能の削除がある場合には、レンダリングモジュール113は、削除する既存機能に関する処理をスキップしながら、各処理を実行する。
The rendering module 113 is an example of a processing unit, and performs various processes on the XPS format print data transmitted from the application 101. Here, in the printer driver 110, each processing is defined as an XPS filter. For this reason, the rendering module 113 is provided with various XPS filters (XPS filter group), and according to the print settings described in the PT sent together with the print data and the information from the rendering module changing unit 112, Appropriate processing is performed with the XPS filter.
Although details will be described later, for example, when there is an additional function, the rendering module 113 calls the additional function module 103 based on the information regarding the calling position received from the rendering module changing unit 112 and executes the processing. Further, when there is a deletion of an existing function, the rendering module 113 executes each process while skipping a process related to the existing function to be deleted.

また、レンダリングモジュール113には、印刷データを最終的には印刷装置20が解釈するページ記述言語(PDL(Page Description Language))に変換するXPSフィルターも存在しており、このXPSフィルターが印刷データをスプーラー104に登録する。   The rendering module 113 also has an XPS filter that converts the print data into a page description language (PDL (Page Description Language)) that is finally interpreted by the printing apparatus 20, and this XPS filter converts the print data. Register with the spooler 104.

ドライバー拡張UI120は、Windowsストアデバイスアプリの一種であり、プリンタードライバー110に詳細な印刷設定を行わせるためのアプリケーションである。このドライバー拡張UI120が存在する環境では、アプリケーション101からOS102を介してドライバー拡張UI120を呼び出すことができる。ドライバー拡張UI120は、拡張印刷設定UI121と、表示制御部122と、機能変更解釈部123とを有している。   The driver expansion UI 120 is a kind of Windows store device application, and is an application for causing the printer driver 110 to perform detailed print settings. In an environment where the driver extension UI 120 exists, the driver extension UI 120 can be called from the application 101 via the OS 102. The driver extension UI 120 includes an extension print setting UI 121, a display control unit 122, and a function change interpretation unit 123.

拡張印刷設定UI121は、ドライバー拡張UI120にて動作する印刷設定画面であり、ユーザからの操作入力を受け付けるモジュールである。例えば、拡張印刷設定UI121は、ユーザからの操作入力をもとに、画面に表示された印刷設定の設定変更を受け付ける。また、この拡張印刷設定UI121では、Microsoft社が提示するV4のUIガイドラインに準拠する必要があるが、各プリンターベンダーにて自由に拡張した表示を行うことができる。   The extended print setting UI 121 is a print setting screen that operates on the driver extended UI 120, and is a module that receives an operation input from the user. For example, the extended print setting UI 121 receives a change in the print setting displayed on the screen based on an operation input from the user. In addition, the extended print setting UI 121 needs to comply with the V4 UI guidelines provided by Microsoft, but each printer vendor can freely perform display.

また、拡張印刷設定UI121は、印刷設定画面にてユーザからの操作入力を受け付けた場合に、ユーザが設定した設定値(選択肢)をPTに格納し、プリンタードライバー110のレンダリングモジュール変更部112に出力する出力手段としても機能する。   Further, when the operation input from the user is accepted on the print setting screen, the extended print setting UI 121 stores the setting value (option) set by the user in the PT and outputs it to the rendering module changing unit 112 of the printer driver 110. It also functions as an output means.

表示制御部122は、表示制御手段の一例であって、各プリンターベンダーにて拡張した拡張印刷設定UI121の画面を表示機構15などに表示して制御するモジュールである。本実施の形態の表示制御部122は、機能変更解釈部123から受け取った表示情報に基づいて、拡張印刷設定UI121の印刷設定画面のレイアウトを決定する。詳細については後述するが、機能変更解釈部123は、機能変更解釈部123からの表示情報に基づいて、拡張印刷設定UI121の印刷設定画面にて追加機能に係る設定項目を追加したり、既存機能に係る設定項目の表示を削除したりする。   The display control unit 122 is an example of a display control unit, and is a module that displays and controls the screen of the extended print setting UI 121 extended by each printer vendor on the display mechanism 15 or the like. The display control unit 122 according to the present embodiment determines the layout of the print setting screen of the extended print setting UI 121 based on the display information received from the function change interpretation unit 123. Although details will be described later, the function change interpretation unit 123 adds a setting item related to an additional function on the print setting screen of the extended print setting UI 121 based on the display information from the function change interpretation unit 123 or an existing function. Delete the display of the setting items related to.

機能変更解釈部123は、受付手段の一例であって、OS102を介して、プリンタードライバー110の構成モジュール111との間でPTのやり取りを行う。具体的には、機能変更解釈部123は、拡張印刷設定UI121にて表示された情報をPTに反映し、OS102を介して構成モジュール111に出力する。
さらに、機能変更解釈部123は、OS102を介して構成モジュール111から受け取ったPTを表示情報として解釈し、解釈した表示情報を表示制御部122に出力する。
The function change interpretation unit 123 is an example of a reception unit, and exchanges PTs with the configuration module 111 of the printer driver 110 via the OS 102. Specifically, the function change interpretation unit 123 reflects the information displayed on the extended print setting UI 121 on the PT, and outputs the information to the configuration module 111 via the OS 102.
Further, the function change interpretation unit 123 interprets the PT received from the configuration module 111 via the OS 102 as display information, and outputs the interpreted display information to the display control unit 122.

さらに、本実施の形態の機能変更解釈部123は、OS102を介してアプリケーション101から受け取ったPTを表示情報として解釈し、解釈した表示情報を表示制御部122に出力する。
なお、上述したように、アプリケーション101からのPTには、表示情報として、アプリケーション101にて追加された印刷設定機能(追加機能)の仕様やアプリケーション101にて削除された既存機能の種類等の情報が記録される。
Furthermore, the function change interpretation unit 123 according to the present embodiment interprets the PT received from the application 101 via the OS 102 as display information, and outputs the interpreted display information to the display control unit 122.
As described above, the display from the application 101 includes information such as the specification of the print setting function (additional function) added by the application 101 and the type of the existing function deleted by the application 101 as display information. Is recorded.

上述したように、V4プリンタードライバーでは、拡張印刷設定UI121における表示レイアウトを変更(カスタマイズ)することが可能に構成されている。
例えば、プリンタードライバー110は、構成モジュール111が保持する印刷設定機能の情報を変更することで、拡張印刷設定UI121の印刷設定画面の表示レイアウトを変更することができる。
As described above, the V4 printer driver is configured such that the display layout in the extended print setting UI 121 can be changed (customized).
For example, the printer driver 110 can change the display layout of the print setting screen of the extended print setting UI 121 by changing the information of the print setting function held by the configuration module 111.

ところで、例えば業務専用のアプリケーション101を用いる場合に特殊な印刷設定機能が必要になる等、構成モジュール111が保持する印刷設定機能とは異なる印刷設定機能を使用したい場合がある。
具体的には、特定のアプリケーション101から印刷要求を行う場合に特殊の印刷設定機能を用いたいという場合や、アプリケーション101の種類等に応じて異なる印刷設定機能を用いたいという場合がある。また、このような場合には、アプリケーション101による印刷設定機能の追加や削除に応じて、拡張印刷設定UI121の印刷設定画面を変更(カスタマイズ)する必要がある。
By the way, there is a case where it is desired to use a print setting function different from the print setting function held by the configuration module 111, for example, when a special print setting function is required when using the business-specific application 101.
Specifically, when a print request is made from a specific application 101, there is a case where a special print setting function is desired, or a case where a different print setting function is desired depending on the type of the application 101 or the like. In such a case, it is necessary to change (customize) the print setting screen of the extended print setting UI 121 in accordance with the addition or deletion of the print setting function by the application 101.

しかしながら、上述したように構成モジュール111が保持する印刷設定機能の情報を変更してプリンタードライバー110ごとに拡張印刷設定UI121の印刷設定画面の表示レイアウトを変更する場合には、異なるアプリケーション101から印刷要求を行った場合であっても、同じ表示内容の印刷設定画面が表示されることになる。この場合、特定のアプリケーション101により既存の印刷設定機能とは異なる印刷設定機能の追加を行った場合に印刷設定画面に追加機能が表示されなかったり、特定のアプリケーション101では用いることができない印刷設定機能が印刷設定画面に表示されたりする場合がある。   However, when the print setting function information held by the configuration module 111 is changed and the display layout of the print setting screen of the extended print setting UI 121 is changed for each printer driver 110 as described above, a print request is issued from a different application 101. Even when this is performed, the print setting screen having the same display content is displayed. In this case, when a print setting function different from the existing print setting function is added by the specific application 101, the additional function is not displayed on the print setting screen or cannot be used by the specific application 101. May be displayed on the print settings screen.

また、例えばWindows 8以降のOS102を用いる場合、プリンタードライバー110をインストールする際に、プリンタードライバー110への電子署名が必須となっている。
このため、アプリケーション101によって印刷設定機能の追加や削除を行う場合にプリンタードライバー110の構成を変更した場合、再度電子署名を行う必要がある。このような場合には、拡張印刷設定UI121の印刷設定画面の表示を変更したり、印刷データに対してアプリケーション101により追加された追加機能に係る処理を施したりする場合に、電子署名を行う必要があるため、手間がかかりやすい。
For example, when using the OS 102 of Windows 8 or later, when installing the printer driver 110, an electronic signature to the printer driver 110 is essential.
For this reason, if the configuration of the printer driver 110 is changed when adding or deleting the print setting function by the application 101, it is necessary to re-sign the electronic signature. In such a case, it is necessary to perform an electronic signature when changing the display of the print setting screen of the extended print setting UI 121 or when performing processing related to the additional function added by the application 101 to the print data. Because it is, it is easy to take time.

これに対し、本実施の形態では、アプリケーション101で作成されるPTを用いることで、プリンタードライバー110の構成を変更することなく、アプリケーション101による印刷設定機能の追加や削除を可能としている。   On the other hand, in this embodiment, by using the PT created by the application 101, it is possible to add or delete the print setting function by the application 101 without changing the configuration of the printer driver 110.

<アプリケーションによる印刷設定機能の変更に係る処理例1>
続いて、アプリケーション101により、PCにて定義されている印刷設定機能とは異なる印刷設定機能(追加機能)が追加された場合に本実施の形態の印刷システム1にて行われる処理について、具体例を用いて説明する。
図4は、印刷設定機能の追加を行う場合にアプリケーション101により作成されるPTの例を示した図である。ここで、図4では、アプリケーション101により追加機能として「ID Print」機能が追加される場合に、アプリケーション101が作成するPTを示している。
<Processing Example 1 for Changing Print Setting Function by Application>
Next, a specific example of processing performed in the printing system 1 of the present embodiment when a print setting function (additional function) different from the print setting function defined on the PC is added by the application 101. Will be described.
FIG. 4 is a diagram illustrating an example of a PT created by the application 101 when a print setting function is added. Here, FIG. 4 shows a PT created by the application 101 when the application 101 adds an “ID Print” function as an additional function.

アプリケーション101は、プリンタードライバー110の構成モジュール111からPCを受け取ると、受け取ったPCに基づいて、PTを作成する。
本実施の形態のアプリケーション101は、上述したように、PCで定義されている印刷設定機能(既存機能)とは異なる印刷設定機能の追加を行う場合、PTに追加する印刷設定機能(追加機能)に関する情報を付加する。
When the application 101 receives a PC from the configuration module 111 of the printer driver 110, the application 101 creates a PT based on the received PC.
As described above, the application 101 according to the present embodiment adds a print setting function (additional function) to the PT when adding a print setting function different from the print setting function (existing function) defined in the PC. Add information about.

具体的には、アプリケーション101は、図4に示すように、PCにて定義されている印刷設定機能(既存機能)に対しての設定値に関する設定値情報P1に加えて、追加する印刷設定機能(追加機能)の仕様に関する追加仕様情報P2を記述する。追加仕様情報P2は、追加機能の仕様として、追加機能の名称、追加機能の設定値の型(選択型、設定型等)、設定値の選択肢、設定値のデフォルト値、追加機能に対する制限、追加機能に係る設定項目の表示位置、追加機能のフィルター処理位置等が、ドライバー拡張UI120の機能変更解釈部123が解釈できる形式で記述される。追加仕様情報P2は、設定値情報P1とは異なり、PCに記述される印刷設定機能の仕様と同様の形式で記述される。
この例では、追加仕様情報P2が印刷設定機能を変更する変更情報に当たる。
Specifically, as shown in FIG. 4, the application 101 adds a print setting function to be added in addition to the setting value information P1 related to the setting value for the print setting function (existing function) defined in the PC. Additional specification information P2 regarding the specification of (additional function) is described. The additional specification information P2 includes the additional function name, additional function setting value type (selection type, setting type, etc.), setting value choices, setting value default values, restrictions on the additional function, and additional functions. The display position of the setting item related to the function, the filter processing position of the additional function, and the like are described in a format that can be interpreted by the function change interpretation unit 123 of the driver extension UI 120. Unlike the setting value information P1, the additional specification information P2 is described in the same format as the specification of the print setting function described in the PC.
In this example, the additional specification information P2 corresponds to change information for changing the print setting function.

図4に示すPTには、追加機能である「ID Print」の名称、設定値の型、設定値のデフォルト値(「fx12345」)、追加機能である「ID Print」の設定項目の表示位置等が、XML形式で記述されている。   In the PT shown in FIG. 4, the name of the additional function “ID Print”, the type of the setting value, the default value of the setting value (“fx12345”), the display position of the setting item of the additional function “ID Print”, and the like Is described in the XML format.

そして、アプリケーション101は、設定値情報P1と追加仕様情報P2とを記述したPTを、ドライバー拡張UI120(機能変更解釈部123)に送る。   Then, the application 101 sends the PT describing the setting value information P1 and the additional specification information P2 to the driver extension UI 120 (function change interpretation unit 123).

ドライバー拡張UI120の機能変更解釈部123は、アプリケーション101にて作成されたPTを受け取ると、PTに記述された設定値情報P1および追加仕様情報P2を解釈する。そして、ドライバー拡張UI120の表示制御部122は、機能変更解釈部123にて解釈した設定値情報P1および追加仕様情報P2に基づいて、拡張印刷設定UI121の印刷設定画面を変更して表示する。
図5は、表示を変更する前の(アプリケーション101により印刷設定機能を追加していない)拡張印刷設定UI121の印刷設定画面の一例を示した図である。また、図6は、図4に示したPTの記述に基づいて表示を変更した後の拡張印刷設定UI121の印刷設定画面の一例を示した図である。
When the function change interpretation unit 123 of the driver extension UI 120 receives the PT created by the application 101, it interprets the setting value information P1 and the additional specification information P2 described in the PT. Then, the display control unit 122 of the driver extended UI 120 changes and displays the print setting screen of the extended print setting UI 121 based on the setting value information P1 and the additional specification information P2 interpreted by the function change interpreting unit 123.
FIG. 5 is a diagram illustrating an example of a print setting screen of the extended print setting UI 121 (the print setting function is not added by the application 101) before the display is changed. FIG. 6 is a diagram showing an example of the print setting screen of the extended print setting UI 121 after the display is changed based on the description of the PT shown in FIG.

アプリケーション101により印刷設定機能が追加されていない場合に表示される印刷設定画面は、図5に示すように、PCにて記述されている既存機能の設定項目として、「用紙サイズ」の項目201、「給紙方法」の項目202、「カラーモード」の項目203、「印刷の向き」の項目204、「まとめて1枚」の項目205が表示されている。そして、図5に示すように、PTに記述された設定値情報P1に基づいて、「用紙サイズ」の項目201は「A4」、「給紙方法」の項目202は「自動」、「カラーモード」の項目203は「カラー」、「印刷の向き」の項目204は「縦」、「まとめて1枚」の項目205は「2アップ」が設定されている。   The print setting screen displayed when the print setting function is not added by the application 101, as shown in FIG. 5, is an item 201 of “paper size” as a setting item of the existing function described in the PC. A “paper feeding method” item 202, a “color mode” item 203, a “print orientation” item 204, and a “collective one” item 205 are displayed. Then, as shown in FIG. 5, based on the setting value information P1 described in PT, the “paper size” item 201 is “A4”, the “paper feeding method” item 202 is “automatic”, “color mode” ”Item 203 is set to“ color ”,“ print orientation ”item 204 is set to“ vertical ”, and“ collectively one sheet ”item 205 is set to“ 2 up ”.

一方、アプリケーション101によって印刷設定機能(この例では、「ID Print」機能)が追加されると、ドライバー拡張UI120の表示制御部122は、PTに記述された追加仕様情報P2に基づいて、印刷設定画面に対して追加機能の設定項目として「ID Print」の項目210を追加する。ここでは、図6に示すように、追加機能である「ID Print」の項目210が、既存機能の設定項目である「まとめて1枚」の項目205の下部に表示される。そして、図6に示すように、追加機能である「ID Print」の項目210のIDの設定値(デフォルト値)として、「fx12345」が設定される。
このように、アプリケーション101によって追加された追加機能の設定項目が印刷設定画面に表示されることで、ユーザが追加機能の設定項目およびその設定値を把握することが可能となる。これにより、ユーザが意図しない追加機能が実現されることが抑制される。
On the other hand, when a print setting function (in this example, “ID Print” function) is added by the application 101, the display control unit 122 of the driver extension UI 120 performs print setting based on the additional specification information P2 described in the PT. An item “ID Print” 210 is added to the screen as an additional function setting item. Here, as shown in FIG. 6, the item 210 of “ID Print” that is an additional function is displayed below the item 205 of “collectively one” that is a setting item of the existing function. Then, as shown in FIG. 6, “fx12345” is set as the ID setting value (default value) of the item 210 of “ID Print” which is an additional function.
As described above, the setting items for the additional functions added by the application 101 are displayed on the print setting screen, so that the user can grasp the setting items for the additional functions and their setting values. Thereby, it is suppressed that the additional function which a user does not intend is implement | achieved.

続いて、印刷設定画面において追加機能が表示され、設定値が設定(または選択)された状態でユーザにより印刷が指示されると、拡張印刷設定UI121は、追加仕様情報P2に、設定または選択された追加機能の設定値の情報を加え、PTに格納する。そして、拡張印刷設定UI121は、既存機能に係る設定値情報P1および追加機能に係る追加仕様情報P2が格納されたPTを、OS102を介してプリンタードライバー110に出力する。   Subsequently, when an additional function is displayed on the print setting screen and printing is instructed by the user with the setting value set (or selected), the extended print setting UI 121 is set or selected in the additional specification information P2. Information on the set value of the additional function is added and stored in the PT. Then, the extended print setting UI 121 outputs the PT storing the setting value information P1 related to the existing function and the additional specification information P2 related to the additional function to the printer driver 110 via the OS 102.

プリンタードライバー110のレンダリングモジュール変更部112は、拡張印刷設定UI121からPTを受け取ると、PTに記述されている設定値情報P1、追加仕様情報P2を解釈する。本実施の形態では、レンダリングモジュール変更部112は、設定値情報P1から既存機能の設定項目および設定値を解釈するのに加えて、追加仕様情報P2から、追加機能の設定項目(「ID Print」)、設定値(fx12345)、および追加機能に係る処理を行う順序(追加機能に係るフィルターの呼び出し位置)を解釈する。言い換えると、レンダリングモジュール変更部112は、PTから追加機能および既存機能に係る処理の処理順序を導出する。   Upon receiving the PT from the extended print setting UI 121, the rendering module changing unit 112 of the printer driver 110 interprets the setting value information P1 and the additional specification information P2 described in the PT. In the present embodiment, the rendering module changing unit 112 interprets the setting item and setting value of the existing function from the setting value information P1, and also sets the setting item (“ID Print”) of the additional function from the additional specification information P2. ), The set value (fx12345), and the order in which processing related to the additional function is performed (filter call position related to the additional function). In other words, the rendering module changing unit 112 derives the processing order of processing related to the additional function and the existing function from the PT.

続いて、プリンタードライバー110のレンダリングモジュール113は、レンダリングモジュール変更部112にて解釈した情報に基づき、印刷データに対して加工を施す。すなわち、レンダリングモジュール113は、レンダリングモジュール変更部112にて導出された処理順序に基づき、既存機能に係るフィルター処理および追加機能に係るフィルター処理を行う。言い換えると、レンダリングモジュール113は、既存機能に係るフィルター処理を行いながら、レンダリングモジュール変更部112にて解釈された呼び出し位置で追加機能モジュール103から追加機能に係るフィルターを呼び出して、追加機能に係るフィルター処理を行う。   Subsequently, the rendering module 113 of the printer driver 110 processes the print data based on the information interpreted by the rendering module changing unit 112. That is, the rendering module 113 performs filter processing related to the existing function and filter processing related to the additional function based on the processing order derived by the rendering module changing unit 112. In other words, the rendering module 113 calls the filter related to the additional function from the additional function module 103 at the calling position interpreted by the rendering module changing unit 112 while performing the filter processing related to the existing function, and filters the additional function. Process.

ここで、本実施の形態では、レンダリングモジュール113は、追加機能に係るフィルター処理を行う場合には、レンダリングモジュール113に設けられるXPSフィルター群に追加機能に係るフィルターを追加するのではなく、プリンタードライバー110の外に設けられた追加機能モジュール103から追加機能に係るフィルターを呼び出して処理を行う。このような構成を採用することで、アプリケーション101からの要求に応じて追加機能に係る処理を行う場合であっても、プリンタードライバー110の構成を変更する必要がなくなる。これにより、本実施の形態では、プリンタードライバー110について再度電子署名を行うことなく、アプリケーション101により追加された追加機能に係る処理を行うことが可能となっている。   Here, in the present embodiment, when the rendering module 113 performs the filter processing related to the additional function, the rendering module 113 does not add the filter related to the additional function to the XPS filter group provided in the rendering module 113 but the printer driver. A filter related to the additional function is called from the additional function module 103 provided outside 110 to perform processing. By adopting such a configuration, it is not necessary to change the configuration of the printer driver 110 even when processing related to an additional function is performed in response to a request from the application 101. As a result, in the present embodiment, it is possible to perform processing related to the additional function added by the application 101 without re-signing the digital signature for the printer driver 110.

その後、レンダリングモジュール113は、既存機能および追加機能に係る処理を施しPDLに変換した印刷データをスプーラー104に出力する。そして、スプーラー104に登録された印刷データは、ポートモニター105を介して印刷装置20に送信され、印刷装置20にて印刷処理が行われる。これにより、本実施の形態の印刷システム1にて行われる一連の処理が終了する。   After that, the rendering module 113 outputs the print data that has been subjected to processing related to the existing function and the additional function and converted into PDL to the spooler 104. The print data registered in the spooler 104 is transmitted to the printing apparatus 20 via the port monitor 105, and printing processing is performed in the printing apparatus 20. Thereby, a series of processes performed in the printing system 1 of the present embodiment is completed.

<アプリケーションによる印刷設定機能の変更に係る処理例2>
アプリケーション101によって、PCにて定義されている印刷設定機能(既存機能)とは異なる印刷設定機能(追加機能)が追加された場合、既存機能と追加機能との間で禁則が生じる場合がある。具体的には、PCにて定義されている既存機能の中に、アプリケーション101により追加された追加機能とは同時に行うことができない印刷設定機能が存在したり、アプリケーション101により追加された追加機能とは同時に設定(または選択)することができない追加機能の設定値(選択肢)が存在したりする場合がある。
ここでは、既存機能と追加機能との間で禁則が生じる場合に本実施の形態の印刷システム1にて行われる処理例について説明する。
<Processing Example 2 for Changing Print Setting Function by Application>
When a print setting function (additional function) different from the print setting function (existing function) defined in the PC is added by the application 101, a prohibition may occur between the existing function and the additional function. Specifically, among the existing functions defined in the PC, there are print setting functions that cannot be performed simultaneously with the additional functions added by the application 101, and additional functions added by the application 101 May have setting values (options) for additional functions that cannot be set (or selected) at the same time.
Here, an example of processing performed in the printing system 1 of the present embodiment when a prohibition occurs between an existing function and an additional function will be described.

図7は、アプリケーション101により追加機能として「ID Print」機能が追加される場合に、アプリケーション101により作成されるPTの一例を示している。
図7に示すPTには、既存機能に対しての設定値に関する設定値情報P1、および追加機能の仕様に関する追加仕様情報P2に加えて、アプリケーション101により追加される追加機能と既存機能との間に生じる禁則に関しての情報(禁則情報P3)が記述される。
この例では、追加仕様情報P2および禁則情報P3が変更情報に当たる。
FIG. 7 shows an example of a PT created by the application 101 when the “ID Print” function is added as an additional function by the application 101.
In the PT shown in FIG. 7, in addition to the setting value information P1 related to the setting value for the existing function and the additional specification information P2 related to the specification of the additional function, the additional function added by the application 101 and the existing function The information about the prohibition that occurs in (the prohibition information P3) is described.
In this example, the additional specification information P2 and the prohibition information P3 correspond to the change information.

ここで、禁則情報P3には、追加機能と禁則関係にある既存機能の種類や、追加機能と禁則関係にある既存機能の設定値(選択肢)が記述される。
具体的には、図7に示すように、禁則情報P3には、追加機能と禁則関係にある既存機能やその設定値が例えば<ns0000:Constraint>等のような独自のタグ内に表記される。この例では、追加機能である「ID Print」機能と禁則関係にある既存機能として、<ns0000:Constraint>のタグ内に、「まとめて1枚」機能(Document NUp)が表記されている。
Here, the prohibition information P3 describes the type of an existing function that is in a prohibition relationship with the additional function, and the setting value (option) of the existing function that is in a prohibition relationship with the additional function.
Specifically, as shown in FIG. 7, in the prohibition information P3, an existing function that has a prohibition relation with the additional function and its set value are described in a unique tag such as <ns0000: Constraint>, for example. . In this example, as an existing function that is in a prohibited relationship with the “ID Print” function that is an additional function, a “collectively one sheet” function (Document NUp) is described in the tag of <ns0000: Constraint>.

ドライバー拡張UI120の機能変更解釈部123は、禁則情報P3が記述されたPTをアプリケーション101から受け取ると、設定値情報P1および追加仕様情報P2と同様に、禁則情報P3についても解釈する。機能変更解釈部123は、禁則情報P3について具体的には、追加機能と禁則関係にある既存機能の種類や既存機能の設定値(選択肢)を解釈する。そして、機能変更解釈部123は、禁則情報P3に基づいて、設定値情報P1に含まれる既存機能やその設定値が、追加機能と禁則関係に当たるか否かを判定する。   When the function change interpretation unit 123 of the driver extension UI 120 receives the PT in which the prohibition information P3 is described from the application 101, the function change interpretation unit 123 interprets the prohibition information P3 as well as the setting value information P1 and the additional specification information P2. Specifically, the function change interpretation unit 123 interprets the prohibition information P3 by interpreting the types of existing functions and the set values (options) of the existing functions that are in a prohibition relationship with the additional functions. Then, based on the prohibition information P3, the function change interpretation unit 123 determines whether the existing function included in the setting value information P1 and the setting value thereof are in a prohibition relationship with the additional function.

次いで、ドライバー拡張UI120の表示制御部122は、機能変更解釈部123にて解釈した設定値情報P1、追加仕様情報P2および禁則情報P3に基づいて、拡張印刷設定UI121の印刷設定画面を変更して表示する。具体的には、表示制御部122は、印刷設定画面において、追加機能と禁則関係にある既存機能に係る設定項目、または追加機能と禁則関係にある既存機能の設定値(選択肢)を、非表示またはグレーアウトで表示する。これにより、印刷設定画面においてユーザが追加機能と禁則関係にある既存機能に係る設定項目、または追加機能と禁則関係にある既存機能の設定値(選択肢)を設定できないようにする。   Next, the display control unit 122 of the driver extension UI 120 changes the print setting screen of the extension print setting UI 121 based on the setting value information P1, the additional specification information P2, and the prohibition information P3 interpreted by the function change interpretation unit 123. indicate. Specifically, the display control unit 122 does not display, on the print setting screen, the setting items related to the existing functions that are prohibited by the additional functions or the setting values (options) of the existing functions that are prohibited by the additional functions. Or display in gray out. This prevents the user from setting a setting item related to an existing function that is prohibited by the additional function or a setting value (option) of the existing function that is prohibited by the additional function on the print setting screen.

また、本実施の形態のドライバー拡張UI120では、印刷設定画面においてユーザにより各設定項目の設定値(選択肢)が変更される度に、PTの更新を行うとともに、機能変更解釈部123が、設定された設定値(選択肢)が追加機能と禁則関係に当たるか否かの判定を行う。そして、機能変更解釈部123によって、ユーザにより設定された設定値(選択肢)が追加機能と禁則関係に当たると判定された場合には、表示制御部122は、禁則関係に当たる設定項目または設定値(選択肢)を非表示またはグレーアウトで表示する。   In the driver extension UI 120 of the present embodiment, the PT is updated each time the setting value (option) of each setting item is changed by the user on the print setting screen, and the function change interpretation unit 123 is set. It is determined whether or not the set value (option) is in a forbidden relationship with the additional function. When the function change interpreting unit 123 determines that the setting value (option) set by the user is in a prohibited relationship with the additional function, the display control unit 122 sets the setting item or setting value (option to be in the prohibited relationship). ) Is hidden or grayed out.

本実施の形態では、追加機能と禁則関係にある既存機能の設定項目、または追加機能と禁則関係にある既存機能の設定値(選択肢)を設定できないようにすることで、ユーザが禁則関係にある既存機能やその設定値を誤って設定することが抑制される。   In the present embodiment, the setting item (option) of the existing function that is in a prohibition relationship with the additional function or the setting value (option) of the existing function that is in a prohibition relationship with the additional function cannot be set, so that the user has a prohibition relationship. Setting an existing function or its setting value incorrectly is suppressed.

図8は、図7に示したPTの記述に基づいて表示を変更した後の拡張印刷設定UI121の印刷設定画面の一例を示した図である。
図8に示すように、印刷設定画面には、表示制御部122により、アプリケーション101にて追加された「ID Print」機能に係る設定項目210が追加して表示される。さらに、図8に示すように、印刷設定画面には、表示制御部122により、「ID Print」機能と禁則関係にある「まとめて1枚」機能の設定項目205が、グレーアウトで表示される。これにより、「まとめて1枚」機能の設定項目205が、ユーザによる操作対象から外れ、「ID Print」機能と禁則となる「まとめて1枚」機能に係る処理が設定されることが防止される。
FIG. 8 is a diagram showing an example of a print setting screen of the extended print setting UI 121 after the display is changed based on the description of PT shown in FIG.
As shown in FIG. 8, a setting item 210 related to the “ID Print” function added by the application 101 is additionally displayed on the print setting screen by the display control unit 122. Further, as shown in FIG. 8, the setting item 205 of the “collectively one sheet” function that is in a prohibited relationship with the “ID Print” function is displayed in gray on the print setting screen by the display control unit 122. This prevents the setting item 205 of the “collectively one sheet” function from being excluded from the operation target by the user and setting the processing related to the “collectively one sheet” function that is prohibited from the “ID Print” function. The

その後、印刷設定画面にてユーザにより印刷指示がされると、拡張印刷設定UI121は、上述した設定値情報P1および追加仕様情報P2に加えて、追加機能と禁則となる既存機能に係る禁則情報P3をPTに格納する。そして、拡張印刷設定UI121は、PTを、プリンタードライバー110のレンダリングモジュール変更部112に出力する。
レンダリングモジュール変更部112は、拡張印刷設定UI121からPTを受け取ると、既存機能の設定値、追加機能の設定値および追加機能に係る処理を行う順序に加えて、禁則となる既存機能を解釈する。
After that, when the user gives a print instruction on the print setting screen, the extended print setting UI 121 displays, in addition to the setting value information P1 and the additional specification information P2, the prohibition information P3 relating to the additional function and the existing function that is prohibited. Is stored in PT. Then, the extended print setting UI 121 outputs the PT to the rendering module changing unit 112 of the printer driver 110.
When the rendering module changing unit 112 receives the PT from the extended print setting UI 121, the rendering module changing unit 112 interprets the existing function that is prohibited in addition to the setting value of the existing function, the setting value of the additional function, and the order of the processing related to the additional function.

そして、レンダリングモジュール113は、レンダリングモジュール変更部112にて解釈された処理順序に基づき、追加機能モジュール103を呼び出しながら、既存機能に係るフィルター処理および追加機能に係るフィルター処理を行う。この際、レンダリングモジュール113は、追加機能と禁則となる既存機能については、処理を行わずにスキップする。この例では、レンダリングモジュール113は、「まとめて1枚」機能に係る処理を行わずにスキップする。   Then, the rendering module 113 performs filter processing related to the existing function and filter processing related to the additional function while calling the additional function module 103 based on the processing order interpreted by the rendering module changing unit 112. At this time, the rendering module 113 skips the additional functions and the existing functions that are prohibited, without performing the process. In this example, the rendering module 113 skips without performing the process related to the “collectively one sheet” function.

その後、レンダリングモジュール113は、既存機能および追加機能に係る処理を施しPDLに変換した印刷データをスプーラー104に出力する。そして、スプーラー104に登録された印刷データは、ポートモニター105を介して印刷装置20に送信され、印刷装置20にて印刷処理が行われる。これにより、本実施の形態の印刷システム1にて行われる一連の処理が終了する。   After that, the rendering module 113 outputs the print data that has been subjected to processing related to the existing function and the additional function and converted into PDL to the spooler 104. The print data registered in the spooler 104 is transmitted to the printing apparatus 20 via the port monitor 105, and printing processing is performed in the printing apparatus 20. Thereby, a series of processes performed in the printing system 1 of the present embodiment is completed.

<アプリケーションによる印刷設定機能の変更に係る処理例3>
また、アプリケーション101によって、PCにて定義されている印刷設定機能(既存機能)を用いた印刷を許可せずに削除する指示をする場合がある。PCにて定義されている既存機能を削除する場合にアプリケーション101が作成するPTには、既存機能に対しての設定値に関する設定値情報P1(図4参照)に加えて、削除する既存機能を示した情報(削除情報)が記述される。この例では、削除情報が変更情報に当たる。
<Processing Example 3 for Changing Print Setting Function by Application>
In some cases, the application 101 may instruct deletion without permitting printing using the print setting function (existing function) defined in the PC. In the PT created by the application 101 when the existing function defined on the PC is deleted, the existing function to be deleted is added to the setting value information P1 (see FIG. 4) regarding the setting value for the existing function. The indicated information (deletion information) is described. In this example, the deletion information corresponds to the change information.

例えば、アプリケーション101がカラーでの印刷を許可しない場合には、アプリケーション101により作成されるPTには、削除情報として、「カラーモード」機能を削除する旨が、ドライバー拡張UI120の機能変更解釈部123が解釈できる形式で記述される。さらに、カラーでの印刷をせずにモノクロでの印刷を行うために、PTの設定値情報P1には、「カラーモード」機能の設定値として「モノクロ」が指定され記述される。   For example, when the application 101 does not permit printing in color, the function change interpreting unit 123 of the driver extension UI 120 indicates that the “color mode” function is deleted as deletion information in the PT created by the application 101. Is written in a format that can be interpreted. Further, in order to perform monochrome printing without performing color printing, “monochrome” is designated and described as the setting value of the “color mode” function in the PT setting value information P1.

ドライバー拡張UI120の機能変更解釈部123は、削除情報が記述されたPTをアプリケーション101から受け取ると、削除する既存機能を解釈する。
そして、ドライバー拡張UI120の表示制御部122は、機能変更解釈部123にて解釈した削除情報に基づいて、拡張印刷設定UI121の印刷設定画面を変更して表示する。具体的には、表示制御部122は、印刷設定画面において、削除する既存機能に係る設定項目を非表示とし、削除しない既存機能の設定項目のみを表示する。
When the function change interpretation unit 123 of the driver extension UI 120 receives the PT in which the deletion information is described from the application 101, the function change interpretation unit 123 interprets the existing function to be deleted.
Then, the display control unit 122 of the driver extension UI 120 changes and displays the print setting screen of the extension print setting UI 121 based on the deletion information interpreted by the function change interpretation unit 123. Specifically, the display control unit 122 hides the setting items related to the existing function to be deleted and displays only the setting items of the existing function that is not deleted on the print setting screen.

図9は、アプリケーション101(図3参照)により既存機能を削除する指示がなされた場合の拡張印刷設定UI121の印刷設定画面の一例を示した図である。図9に示すように、印刷設定画面は、表示制御部122により、「カラーモード」機能の設定項目203(図5参照)が削除され非表示状態とされる。また、印刷設定画面には、「カラーモード」機能以外の既存機能の設定項目である「用紙サイズ」の項目201、「給紙方法」の項目202、「印刷の向き」の項目204、「まとめて1枚」の項目205およびその設定値が表示される。   FIG. 9 is a diagram illustrating an example of a print setting screen of the extended print setting UI 121 when an instruction to delete an existing function is issued by the application 101 (see FIG. 3). As shown in FIG. 9, the setting item 203 (see FIG. 5) of the “color mode” function is deleted from the print setting screen by the display control unit 122. In the print setting screen, “paper size” item 201, “paper feeding method” item 202, “print orientation” item 204, “summary”, which are setting items for existing functions other than the “color mode” function, are displayed. "One sheet" item 205 and its set value are displayed.

その後、印刷設定画面にてユーザにより印刷指示がされると、拡張印刷設定UI121からプリンタードライバー110のレンダリングモジュール変更部112にPTが出力される。この例では、アプリケーション101により「カラーモード」機能が削除されておりカラーでの印刷が制限されるため、上述したように、PTには、「カラーモード」の設定値として「モノクロ」が設定され記述されている。
レンダリングモジュール変更部112は、拡張印刷設定UI121からPTを受け取ると、既存機能の設定値や、アプリケーション101により削除された既存機能の種類、既存機能の処理順序を解釈する。
Thereafter, when the user gives a print instruction on the print setting screen, PT is output from the extended print setting UI 121 to the rendering module changing unit 112 of the printer driver 110. In this example, since the “color mode” function is deleted by the application 101 and printing in color is restricted, “monochrome” is set as the setting value of “color mode” in PT as described above. It has been described.
When the rendering module changing unit 112 receives the PT from the extended print setting UI 121, the rendering module changing unit 112 interprets the setting value of the existing function, the type of the existing function deleted by the application 101, and the processing order of the existing function.

そして、レンダリングモジュール113は、レンダリングモジュール変更部112にて解釈された処理順序に基づき、既存機能に係るフィルター処理を行う。この際、レンダリングモジュール113は、アプリケーション101により削除された既存機能については、処理を行わずにスキップする。
この例では、上述したように、アプリケーション101により「カラーモード」機能が削除されており、「カラーモード」の設定値として「モノクロ」が設定されている。したがって、レンダリングモジュール113は、印刷データに対して「カラー」フィルターによる処理は行わずに、モノクロの印刷データをスプーラー104に出力する。
Then, the rendering module 113 performs filter processing related to the existing function based on the processing order interpreted by the rendering module changing unit 112. At this time, the rendering module 113 skips the existing function deleted by the application 101 without performing the process.
In this example, as described above, the “color mode” function is deleted by the application 101, and “monochrome” is set as the setting value of “color mode”. Therefore, the rendering module 113 outputs the monochrome print data to the spooler 104 without performing the process by the “color” filter on the print data.

その後、スプーラー104に登録された印刷データは、ポートモニター105を介して印刷装置20に送信され、印刷装置20にて印刷処理が行われる。これにより、本実施の形態の印刷システム1にて行われる一連の処理が終了する。   Thereafter, the print data registered in the spooler 104 is transmitted to the printing apparatus 20 via the port monitor 105, and printing processing is performed in the printing apparatus 20. Thereby, a series of processes performed in the printing system 1 of the present embodiment is completed.

<ドライバー拡張UIにおける処理手順>
続いて、アプリケーション101により印刷設定機能の追加・変更がされる場合に、ドライバー拡張UI120にて行われる処理の手順について説明する。図10は、ドライバー拡張UI120にて行われる処理の手順の一例を示すフローチャートである。
上述したように、印刷要求がなされると、プリンタードライバー110の構成モジュール111からPCを受け取ったアプリケーション101にて、PCに基づいてPTが作成され、PTがOS102を介してドライバー拡張UI120に出力される。
<Processing procedure in the driver extension UI>
Next, a procedure of processing performed by the driver extension UI 120 when the print setting function is added / changed by the application 101 will be described. FIG. 10 is a flowchart illustrating an example of a processing procedure performed by the driver extension UI 120.
As described above, when a print request is made, the application 101 that has received the PC from the configuration module 111 of the printer driver 110 creates a PT based on the PC, and the PT is output to the driver extension UI 120 via the OS 102. The

ドライバー拡張UI120の機能変更解釈部123は、アプリケーション101から出力されたPTを受け付ける(ステップ101)。
そして、機能変更解釈部123は、受け付けたPTの内容を解釈し(ステップ102)、PTに追加機能の仕様に関する追加仕様情報P2があるか否かの判定を行う(ステップ103)。言い換えると、機能変更解釈部123は、アプリケーション101によりPCに定義されている既存機能とは異なる印刷設定機能(追加機能)の追加が行われているか否かを判定する。
The function change interpretation unit 123 of the driver extension UI 120 receives the PT output from the application 101 (step 101).
Then, the function change interpretation unit 123 interprets the contents of the received PT (step 102), and determines whether or not the additional specification information P2 related to the specification of the additional function exists in the PT (step 103). In other words, the function change interpretation unit 123 determines whether or not a print setting function (additional function) different from the existing function defined in the PC by the application 101 is added.

ステップ103においてPTに追加仕様情報P2があると判定された場合(ステップ103にてYes)、機能変更解釈部123は、PTの追加仕様情報P2から追加機能の設定項目、および拡張印刷設定UI121の印刷設定画面における追加機能の設定項目の表示位置を解釈し、表示制御部122に伝える(ステップ104)。また、PTに禁則情報P3が含まれる場合には、ステップ104において機能変更解釈部123は、追加機能と禁則となる既存機能の設定項目または設定値を解釈し、併せて表示制御部122に伝える。   If it is determined in step 103 that the additional specification information P2 is present in the PT (Yes in step 103), the function change interpretation unit 123 sets the additional function setting items and the extended print setting UI 121 from the additional specification information P2 of the PT. The display position of the setting item of the additional function on the print setting screen is interpreted and transmitted to the display control unit 122 (step 104). When the prohibition information P3 is included in the PT, in step 104, the function change interpreting unit 123 interprets the setting item or the setting value of the additional function and the existing function that is prohibited, and transmits it to the display control unit 122. .

次いで、表示制御部122は、機能変更解釈部123から受け取った情報に基づいて、拡張印刷設定UI121の印刷設定画面に対して、追加機能の設定項目を追加する変更を行う(ステップ105)。また、表示制御部122は、追加機能に禁則となる既存機能の設定項目または設定値がある場合には、その既存機能を印刷設定画面から削除またはグレーアウトする変更を行う。   Next, based on the information received from the function change interpretation unit 123, the display control unit 122 performs a change to add an additional function setting item to the print setting screen of the extended print setting UI 121 (step 105). In addition, when there is a setting item or setting value of an existing function that is prohibited as an additional function, the display control unit 122 changes the existing function to be deleted or grayed out from the print setting screen.

また、ステップ103においてPTに追加仕様情報P2がないと判定された場合(ステップ103にてNo)、ステップ104およびステップ105を行わずに、後述するステップ106へ移行する。   If it is determined in step 103 that there is no additional specification information P2 in the PT (No in step 103), the process proceeds to step 106 described later without performing steps 104 and 105.

続いて、機能変更解釈部123は、PTに既存機能の削除に関する削除情報があるか否かの判定を行う(ステップ106)。言い換えると、機能変更解釈部123は、アプリケーション101によりPCに定義されている既存機能の削除が行われているか否かを判定する。   Subsequently, the function change interpretation unit 123 determines whether or not there is deletion information regarding deletion of the existing function in the PT (step 106). In other words, the function change interpretation unit 123 determines whether or not the existing function defined in the PC is deleted by the application 101.

ステップ106においてPTに削除情報があると判定された場合(ステップ106にてYes)、機能変更解釈部123は、PTの削除情報から削除する既存機能の設定項目を解釈し、表示制御部122に伝える(ステップ107)。
次いで、表示制御部122は、機能変更解釈部123から受け取った情報に基づいて、削除する既存機能の設定項目を拡張印刷設定UI121の印刷設定画面から削除する変更を行う(ステップ108)。
一方、ステップ106において削除情報がないと判定された場合(ステップ106にてNo)、ステップ107およびステップ108を行わずに、ステップ109へ移行する。
If it is determined in step 106 that there is deletion information in the PT (Yes in step 106), the function change interpretation unit 123 interprets the setting items of the existing function to be deleted from the deletion information of the PT, and displays it in the display control unit 122. Tell (step 107).
Next, based on the information received from the function change interpretation unit 123, the display control unit 122 performs a change to delete the setting item of the existing function to be deleted from the print setting screen of the extended print setting UI 121 (step 108).
On the other hand, when it is determined in step 106 that there is no deletion information (No in step 106), the process proceeds to step 109 without performing steps 107 and 108.

次いで、表示制御部122は、変更後の拡張印刷設定UI121の印刷設定画面を表示する(ステップ109)。これにより、例えばアプリケーション101により印刷設定機能(追加機能)の追加がされた場合には、図6および図8に示したように、追加機能(「ID Print」機能)の設定項目210が追加された印刷設定画面が表示される。また、アプリケーション101により印刷設定機能(既存機能)の削除がされた場合には、図9に示したように、既存機能(「カラーモード」機能)の設定項目203(図5参照)が削除された印刷設定画面が表示される。これにより、ドライバー拡張UI120における一連の処理フローが終了する。   Next, the display control unit 122 displays the print setting screen of the changed extended print setting UI 121 (step 109). As a result, for example, when the print setting function (additional function) is added by the application 101, the setting item 210 of the additional function (“ID Print” function) is added as shown in FIGS. The print setting screen appears. If the print setting function (existing function) is deleted by the application 101, the setting item 203 (see FIG. 5) of the existing function (“color mode” function) is deleted as shown in FIG. The print setting screen appears. Thereby, a series of processing flows in the driver expansion UI 120 is completed.

<プリンタードライバーにおける処理手順>
続いて、アプリケーション101により印刷設定機能の追加・変更がされる場合に、プリンタードライバー110にて行われる処理の手順について説明する。図11は、プリンタードライバー110にて行われる処理の手順の一例を示すフローチャートである。
上述したように、拡張印刷設定UI121の印刷設定画面においてユーザにより印刷が指示されると、拡張印刷設定UI121により、既存機能および追加機能の設定項目、設定値(選択肢)、処理順序等が格納されたPTがOS102を介してプリンタードライバー110に出力される。
<Processing procedure in the printer driver>
Next, a procedure of processing performed by the printer driver 110 when the print setting function is added / changed by the application 101 will be described. FIG. 11 is a flowchart illustrating an example of a processing procedure performed by the printer driver 110.
As described above, when printing is instructed by the user on the print setting screen of the extended print setting UI 121, the extended print setting UI 121 stores setting items, setting values (options), processing order, and the like of existing functions and additional functions. The PT is output to the printer driver 110 via the OS 102.

プリンタードライバー110のレンダリングモジュール変更部112は、拡張印刷設定UI121から出力されたPTを受け付ける(ステップ201)。
そして、レンダリングモジュール変更部112は、受け付けたPTの内容を解釈し、アプリケーション101からの印刷設定機能(追加機能)の追加があるか否かの判定を行う(ステップ202)。
The rendering module changing unit 112 of the printer driver 110 receives the PT output from the extended print setting UI 121 (step 201).
Then, the rendering module changing unit 112 interprets the contents of the received PT, and determines whether or not a print setting function (additional function) has been added from the application 101 (step 202).

ステップ202において、アプリケーション101からの印刷設定機能(追加機能)の追加があると判定された場合(ステップ202にてYes)、レンダリングモジュール変更部112は、PTから、追加機能に係る処理を行う追加機能モジュールの呼び出し位置を解釈し、レンダリングモジュール113に伝える(ステップ203)。言い換えると、レンダリングモジュール変更部112は、追加機能に係る処理の処理順序を解釈し、レンダリングモジュール113に伝える。
一方、ステップ202においてアプリケーション101からの印刷設定機能(追加機能)の追加がないと判定された場合(ステップ202にてNo)、ステップ203の処理は行わずに、ステップ204に移行する。
In step 202, when it is determined that the print setting function (additional function) is added from the application 101 (Yes in step 202), the rendering module changing unit 112 performs addition related to processing related to the additional function from the PT. The function module call position is interpreted and transmitted to the rendering module 113 (step 203). In other words, the rendering module changing unit 112 interprets the processing order of the processing related to the additional function and notifies the rendering module 113 of the processing order.
On the other hand, if it is determined in step 202 that the print setting function (additional function) is not added from the application 101 (No in step 202), the process proceeds to step 204 without performing the process in step 203.

続いて、レンダリングモジュール変更部112は、PTの内容を解釈し、アプリケーション101から印刷設定機能(既存機能)の削除があるか否かの判定を行う(ステップ204)。
ステップ204において、アプリケーション101からの印刷設定機能(既存機能)の削除があると判定された場合(ステップ204にてYes)、レンダリングモジュール変更部112は、PTから、削除する既存機能に係る機能モジュールを解釈し、レンダリングモジュール113に伝える(ステップ205)。
一方、ステップ204においてアプリケーション101からの印刷設定機能(既存機能)の削除がないと判定された場合(ステップ204にてNo)、ステップ205の処理は行わずに、ステップ206に移行する。
Subsequently, the rendering module changing unit 112 interprets the contents of the PT and determines whether or not the print setting function (existing function) has been deleted from the application 101 (step 204).
If it is determined in step 204 that the print setting function (existing function) has been deleted from the application 101 (Yes in step 204), the rendering module changing unit 112 determines from the PT the function module related to the existing function to be deleted. Is transmitted to the rendering module 113 (step 205).
On the other hand, if it is determined in step 204 that the print setting function (existing function) has not been deleted from the application 101 (No in step 204), the process proceeds to step 206 without performing the process in step 205.

続いて、レンダリングモジュール113は、レンダリングモジュール変更部112から伝えられた情報に基づき、印刷データに対して処理を施す(ステップ206)。
例えば、アプリケーション101からの印刷設定機能(追加機能)の追加がある場合には、レンダリングモジュール113は、レンダリングモジュール変更部112から伝えられた呼び出し位置で、追加機能モジュール103から追加機能に係るフィルターを呼び出して、追加機能に係るフィルター処理を行う。また、アプリケーション101からの印刷設定機能(既存機能)の削除がある場合には、レンダリングモジュール113は、削除する既存機能に係るフィルター処理を行わずにスキップしながら、他の既存機能に係るフィルター処理を実行する。
また、アプリケーション101からの印刷設定機能(追加機能)の追加や印刷設定機能(既存機能)の削除がない場合には、レンダリングモジュール113は、既存機能に係るフィルター処理を予め定められた順序で実行する。
Subsequently, the rendering module 113 performs processing on the print data based on the information transmitted from the rendering module changing unit 112 (step 206).
For example, when there is an addition of a print setting function (additional function) from the application 101, the rendering module 113 adds a filter related to the additional function from the additional function module 103 at the calling position transmitted from the rendering module changing unit 112. Call and perform filter processing for additional functions. When the print setting function (existing function) is deleted from the application 101, the rendering module 113 skips without performing the filtering process related to the existing function to be deleted, and performs the filtering process related to another existing function. Execute.
In addition, when there is no addition of a print setting function (additional function) or deletion of a print setting function (existing function) from the application 101, the rendering module 113 executes filter processing related to the existing function in a predetermined order. To do.

次いで、レンダリングモジュール113は、それぞれの印刷設定機能に係る処理を施しPDLに変換した印刷データをスプーラー104に出力する(ステップ207)。これにより、プリンタードライバー110における一連の処理フローが終了する。   Next, the rendering module 113 outputs the print data converted to PDL by performing processing related to each print setting function to the spooler 104 (step 207). Thereby, a series of processing flow in the printer driver 110 is completed.

1…印刷システム、10…端末装置、20…印刷装置、103…追加機能モジュール、110…プリンタードライバー、111…構成モジュール、112…レンダリングモジュール変更部、113…レンダリングモジュール、120…ドライバー拡張UI、121…拡張印刷設定UI、122…表示制御部、123…機能変更解釈部 DESCRIPTION OF SYMBOLS 1 ... Printing system, 10 ... Terminal device, 20 ... Printing device, 103 ... Additional function module, 110 ... Printer driver, 111 ... Configuration module, 112 ... Rendering module change part, 113 ... Rendering module, 120 ... Driver expansion UI, 121 ... extended print setting UI, 122 ... display control unit, 123 ... function change interpretation unit

Claims (7)

印刷に関して設定される印刷設定機能と、当該印刷設定機能を変更する変更情報とを含む印刷設定情報をアプリケーションから受け付ける受付手段と、
前記変更情報による前記印刷設定機能の変更を反映した印刷設定画面を表示するように制御する表示制御手段と、
前記印刷設定画面にて印刷指示がなされた場合に、前記印刷設定情報を受け取り、変更後の前記印刷設定機能に係る処理の処理順序を当該印刷設定情報から導出する導出手段と、
前記導出手段にて導出された処理順序で前記印刷設定機能に係る処理を行う処理手段と
を備える情報処理装置。
A receiving unit that receives from the application print setting information including a print setting function set for printing and change information for changing the print setting function;
Display control means for controlling to display a print setting screen reflecting the change of the print setting function by the change information;
A derivation unit that receives the print setting information when a print instruction is given on the print setting screen, and derives the processing order of the process related to the print setting function after the change from the print setting information;
An information processing apparatus comprising: processing means for performing processing related to the print setting function in the processing order derived by the derivation means.
前記表示制御手段は、前記印刷設定機能に対して追加機能を付加する情報が前記変更情報に含まれる場合に、当該追加機能の設定項目を追加した前記印刷設定画面を表示するように制御することを特徴とする請求項1に記載の情報処理装置。   The display control means controls to display the print setting screen to which setting items of the additional function are added when the information to add an additional function to the print setting function is included in the change information. The information processing apparatus according to claim 1. 前記表示制御手段は、前記追加機能との間に禁則が生じる前記印刷設定機能または当該印刷設定機能の設定値を設定できないように、前記印刷設定画面を制御することを特徴とする請求項2に記載の情報処理装置。   The display control means controls the print setting screen so that the print setting function or a setting value of the print setting function that causes a prohibition with the additional function cannot be set. The information processing apparatus described. 前記処理手段は、前記追加機能に係る処理の処理順序において当該追加機能に係る処理を実行する実行手段を呼び出して、当該追加機能に係る処理を行うことを特徴とする請求項2または3に記載の情報処理装置。   4. The processing unit according to claim 2, wherein the processing unit calls the execution unit that executes the process related to the additional function in the processing order of the process related to the additional function, and performs the process related to the additional function. Information processing device. 前記表示制御手段は、前記印刷設定機能を制限する情報が前記変更情報に含まれる場合に、制限する当該印刷設定機能の設定項目を削除した前記印刷設定画面を表示する制御を行うことを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。   The display control means performs control to display the print setting screen from which the setting items of the print setting function to be restricted are deleted when information for restricting the print setting function is included in the change information. The information processing apparatus according to any one of claims 1 to 4. 印刷に関して設定される印刷設定機能と、当該印刷設定機能を変更する変更情報とを含む印刷設定情報をアプリケーションから受け付ける受付手段と、
前記変更情報による前記印刷設定機能の変更を反映した印刷設定画面を表示するように制御する表示制御手段と、
前記印刷設定画面にて印刷指示がなされた場合に、前記印刷設定機能に係る処理を行う処理手段に対して、前記変更情報を含む前記印刷設定情報を出力する出力手段と
を備える情報処理装置。
A receiving unit that receives from the application print setting information including a print setting function set for printing and change information for changing the print setting function;
Display control means for controlling to display a print setting screen reflecting the change of the print setting function by the change information;
An information processing apparatus comprising: an output unit that outputs the print setting information including the change information to a processing unit that performs a process related to the print setting function when a print instruction is given on the print setting screen.
コンピュータに、
印刷に関して設定される印刷設定機能の設定値と、当該印刷設定機能を変更する変更情報とを含む印刷設定情報をアプリケーションから受け付ける機能と、
前記変更情報による前記印刷設定機能の変更を反映した印刷設定画面を表示させる機能と、
前記印刷設定画面にて印刷指示がなされた場合に、前記印刷設定情報を受け取り、変更後の前記印刷設定機能に係る処理の処理順序を当該印刷設定情報から導出する機能と、
変更後の前記印刷設定機能に係る処理を、導出された前記処理順序で行わせる機能と
を実現させるためのプログラム。
On the computer,
A function for accepting print setting information from the application including a setting value of a print setting function set for printing and change information for changing the print setting function;
A function for displaying a print setting screen reflecting the change of the print setting function by the change information;
A function of receiving the print setting information when a print instruction is made on the print setting screen, and deriving a processing order of the process related to the print setting function after the change from the print setting information;
A program for realizing a function for performing processing related to the print setting function after the change in the derived processing order.
JP2015189256A 2015-09-28 2015-09-28 Information processing apparatus and program Expired - Fee Related JP6578851B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015189256A JP6578851B2 (en) 2015-09-28 2015-09-28 Information processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015189256A JP6578851B2 (en) 2015-09-28 2015-09-28 Information processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2017068304A true JP2017068304A (en) 2017-04-06
JP6578851B2 JP6578851B2 (en) 2019-09-25

Family

ID=58494982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015189256A Expired - Fee Related JP6578851B2 (en) 2015-09-28 2015-09-28 Information processing apparatus and program

Country Status (1)

Country Link
JP (1) JP6578851B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019074906A (en) * 2017-10-16 2019-05-16 キヤノン株式会社 program
JP2019074793A (en) * 2017-10-12 2019-05-16 コニカミノルタ株式会社 Print instruction apparatus
JP2020009055A (en) * 2018-07-05 2020-01-16 キヤノン株式会社 Information processing device and program
JP2020129169A (en) * 2019-02-07 2020-08-27 京セラドキュメントソリューションズ株式会社 Printer driver
WO2020195332A1 (en) * 2019-03-28 2020-10-01 ブラザー工業株式会社 Support program, information processing device, and printing method
JP2022028840A (en) * 2017-10-16 2022-02-16 キヤノン株式会社 Program and information processing apparatus
WO2022185745A1 (en) * 2021-03-03 2022-09-09 キヤノン株式会社 Printing device, printing control device, printing system, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012226582A (en) * 2011-04-20 2012-11-15 Ricoh Co Ltd Printer driver, program, and recording medium
JP2013206250A (en) * 2012-03-29 2013-10-07 Canon Inc Information processing apparatus, information processing system, control method, and computer program
JP2014209316A (en) * 2013-03-27 2014-11-06 株式会社リコー Print control program, information processor and printing system
JP2015018474A (en) * 2013-07-12 2015-01-29 キヤノン株式会社 Information processor, control method, and program
JP2015121974A (en) * 2013-12-24 2015-07-02 キヤノン株式会社 Information processor, information processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012226582A (en) * 2011-04-20 2012-11-15 Ricoh Co Ltd Printer driver, program, and recording medium
JP2013206250A (en) * 2012-03-29 2013-10-07 Canon Inc Information processing apparatus, information processing system, control method, and computer program
JP2014209316A (en) * 2013-03-27 2014-11-06 株式会社リコー Print control program, information processor and printing system
JP2015018474A (en) * 2013-07-12 2015-01-29 キヤノン株式会社 Information processor, control method, and program
JP2015121974A (en) * 2013-12-24 2015-07-02 キヤノン株式会社 Information processor, information processing method, and program

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019074793A (en) * 2017-10-12 2019-05-16 コニカミノルタ株式会社 Print instruction apparatus
KR20210134876A (en) * 2017-10-16 2021-11-11 캐논 가부시끼가이샤 Control method
US11662963B2 (en) 2017-10-16 2023-05-30 Canon Kabushiki Kaisha Control method for acquiring data
JP7263491B2 (en) 2017-10-16 2023-04-24 キヤノン株式会社 Program and Information Processing Equipment
JP2019074906A (en) * 2017-10-16 2019-05-16 キヤノン株式会社 program
KR102461063B1 (en) 2017-10-16 2022-11-01 캐논 가부시끼가이샤 Control method
JP2022028840A (en) * 2017-10-16 2022-02-16 キヤノン株式会社 Program and information processing apparatus
JP7171272B2 (en) 2018-07-05 2022-11-15 キヤノン株式会社 Information processing device and program
JP2020009055A (en) * 2018-07-05 2020-01-16 キヤノン株式会社 Information processing device and program
JP2020129169A (en) * 2019-02-07 2020-08-27 京セラドキュメントソリューションズ株式会社 Printer driver
CN113574499A (en) * 2019-03-28 2021-10-29 兄弟工业株式会社 Support program, information processing apparatus, and printing method
US10970013B2 (en) 2019-03-28 2021-04-06 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable recording medium, information processing apparatus and printing method
JP2020166433A (en) * 2019-03-28 2020-10-08 ブラザー工業株式会社 Support program, information processing apparatus, and printing method
WO2020195332A1 (en) * 2019-03-28 2020-10-01 ブラザー工業株式会社 Support program, information processing device, and printing method
US11609727B2 (en) 2019-03-28 2023-03-21 Brother Kogyo Kabushiki Kaisha Non-transitory computer-readable recording medium, information processing apparatus and printing method
JP7293804B2 (en) 2019-03-28 2023-06-20 ブラザー工業株式会社 Support program, information processing device, and printing method
WO2022185745A1 (en) * 2021-03-03 2022-09-09 キヤノン株式会社 Printing device, printing control device, printing system, and program

Also Published As

Publication number Publication date
JP6578851B2 (en) 2019-09-25

Similar Documents

Publication Publication Date Title
JP6578851B2 (en) Information processing apparatus and program
US8493596B2 (en) Printer driver, recording medium, information processing apparatus, printing system, and printer driver setting method
US9317232B2 (en) Information processing apparatus, information processing method, and program
JP5458909B2 (en) Information processing apparatus, print control program, computer-readable storage medium, image processing apparatus, and print system
JP5201188B2 (en) Device control program and printing program
JP6225822B2 (en) Output system, terminal device, program, and output method
US9160888B2 (en) Information processing apparatus, user information management control method, and storage medium
US8223364B2 (en) Printer driver, apparatus and methods for conrolling a printer from a devmode data structure
JP5392201B2 (en) Universal driver and device control method
US8456666B2 (en) Printer driver interface and methods
JP4933302B2 (en) Printing system, printing apparatus, and reprint control method
US10592180B2 (en) Information processing device, information processing method, and recording medium
JP2020086525A (en) Print system, terminal device and print setting method
JP6949629B2 (en) Image forming device, control method and program
JP2005246683A (en) Image forming apparatus and printing control program
US20140198332A1 (en) Method and apparatus for creating instance of driver of image forming apparatus
JP6938877B2 (en) Image forming device and program
US9262109B2 (en) Print instruction apparatus, printing system, and non-transitory computer readable medium
US11579815B1 (en) Methods and system for implementing print options for a printing device using visual information
JP7247780B2 (en) Image forming device, information processing device and program
JP6418304B2 (en) Output system, terminal device, program, and output method
JP7255277B2 (en) Image processing device and image processing system
JP2010191716A (en) Information processing method and information processing apparatus
JP2017062752A (en) Print setting support device and program
JP4654909B2 (en) Terminal device, system, and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190123

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190315

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190812

R150 Certificate of patent or registration of utility model

Ref document number: 6578851

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees