



























この発明は、制御対象のデバイスにジョブを実行させるデバイスドライバ手段を有する情報処理装置、デバイスドライバ手段により制御対象のデバイスにジョブを実行させるデバイス制御方法、コンピュータを上記のような情報処理装置として機能させるデバイス制御プログラム、およびこのようなデバイス制御プログラムを記録したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to an information processing apparatus having device driver means for causing a device to be controlled to execute a job, a device control method for causing a device to be controlled to execute a job by the device driver means, and a computer to function as the information processing apparatus as described above The present invention relates to a device control program to be executed and a computer-readable recording medium on which such a device control program is recorded.
近年、コンピュータによりデバイスを制御する場合、オペレーティングシステム(OS)上でそのデバイスを制御するためのデバイスドライバプログラムを実行することにより、デバイスを制御するデバイスドライバの機能を実現することが行われている。この場合、ユーザが、文書作成ソフトや表計算ソフト、画像編集ソフト等の各種アプリケーションプログラム(以下単に「アプリ」という)を実行して、デバイスに何らかの動作をさせることを指示すると、アプリがその指示をデバイスドライバ(のプロセス)に渡し、デバイスドライバが指示に従ってデバイスの制御を行う。 In recent years, when a device is controlled by a computer, a device driver function for controlling the device is realized by executing a device driver program for controlling the device on an operating system (OS). . In this case, if the user executes various application programs (hereinafter simply referred to as “apps”) such as document creation software, spreadsheet software, and image editing software to instruct the device to perform some operation, the application To the device driver (the process), and the device driver controls the device according to the instruction.
例えばプリンタを制御して印刷を実行させる場合、ユーザが文書作成ソフトや表計算ソフト、画像編集ソフト等の各種アプリで作成・閲覧した文書を印刷する指示を行うと、アプリは、指示に従って印刷すべき文書のデータをプリンタドライバに渡し、プリンタドライバがその文書のデータをプリンタに渡して印刷を実行させる。 For example, when printing is executed by controlling a printer, if the user instructs to print a document created or viewed with various applications such as document creation software, spreadsheet software, or image editing software, the application prints according to the instruction. The document data is transferred to the printer driver, and the printer driver passes the document data to the printer to execute printing.
また、アプリが印刷指示を受け付ける際、集約、製本、拡大縮小、仕上げ処理等、プリンタが有する豊富な印刷機能に関する設定を受け付ける機能を提供し、ユーザが様々な設定を組み合わせることで、よりユーザの要望に適した印刷物を得ることを可能とする機能を搭載したプリンタドライバも提供されている。 In addition, when an application accepts a print instruction, it provides a function for accepting settings related to abundant printing functions of the printer, such as aggregation, bookbinding, enlargement / reduction, and finishing processing. There is also provided a printer driver equipped with a function that makes it possible to obtain a printed matter suitable for the request.
特に近年、その機能の組み合わせをより分かりやすくするために、アイコンやサムネイル等のグラフィックシンボルにより各機能を視覚化することで利用者に対して簡便な印刷設定操作を可能としているものが多い。これらには、印刷設定に応じてどのような印刷物が得られるかを実際の出力結果を表現したアイコン等で表示する機能や、複数の機能を組み合わせた印刷設定を1つのアイコンで表現するという、いわゆるワンクリック機能というものがある。これは印刷時の様々な設定を1つのアイコンで表現しプリンタドライバに登録することで、次回以降はそのアイコンを選択すれば、本来複数回の印刷設定操作が必要なところを1回のアイコン選択で済ませることができる機能であり、以下の特許文献1乃至5に記載されているように、各プリンタベンダからも数多く提案されている。 In particular, in recent years, in order to make the combination of functions easier to understand, there are many cases where a user can perform a simple print setting operation by visualizing each function with graphic symbols such as icons and thumbnails. These include a function to display what kind of printed matter can be obtained according to the print setting with an icon representing an actual output result, and a print setting that combines a plurality of functions to be expressed with one icon. There is a so-called one-click function. This means that various settings at the time of printing are expressed by one icon and registered in the printer driver. If the icon is selected from the next time onward, it will be necessary to select a single icon where multiple print setting operations are required. As described in
また、マイクロソフト社は、非特許文献1にあるように、Microsoft Windows Vista(商標)における印刷支援機能として、印刷設定の内容を構造化言語であるXML(Extensible Markup Language)形式で記載したPrintTicketや、プリンタの能力を示す情報をXML形式の文書として記載したPrintCapabilitiesを提案している。 In addition, as described in Non-Patent
ところで、OSとしてMicrosoft Windows(登録商標) 2000やXP等を用いる場合、印刷対象の文書を印刷するときの設定内容はDEVMODEという構造体に格納され、この内容はアプリからOSのグラフィックエンジンを介してプリンタドライバに入力される。そして、上述のワンクリック機能を設ける場合、予め任意の設定内容の組み合わせをDEVMODE構造体として登録しておき、アイコンが選択された場合に、そのアイコンと対応するDEVMODE構造体を読み出して印刷に使用することが考えられる。 By the way, when using Microsoft Windows (registered trademark) 2000, XP, or the like as the OS, the setting contents when printing the document to be printed are stored in a structure called DEVMODE, and this contents are stored in the application via the OS graphic engine. Input to the printer driver. When the above-mentioned one-click function is provided, any combination of setting contents is registered in advance as a DEVMODE structure, and when an icon is selected, the DEVMODE structure corresponding to the icon is read and used for printing. It is possible to do.
また、このDEVMODE構造体には、OSで定義されているパブリック領域と、各プリンタドライバのベンダが任意に定義可能なプライベート領域という領域があり、例えば上述のワンクリック機能を例にすると、用紙サイズや用紙の方向等のように、プリンタベンダに共通する内容はパブリック領域に、プリンタベンダ固有の機能はプライベート領域にその内容が格納される。 The DEVMODE structure includes a public area defined by the OS and a private area that can be arbitrarily defined by each printer driver vendor. For example, when the one-click function described above is used as an example, the paper size The contents common to the printer vendor, such as the direction of the paper and the like, are stored in the public area, and the functions unique to the printer vendor are stored in the private area.
しかし、DEVMODE構造体の場合、プライベート領域に格納されている印刷設定は、その印刷設定を行ったプリンタドライバでしかその内容を認識することができない。そのため、あるプリンタドライバで登録しておいた設定内容を別のプリンタドライバで利用したくとも、その別のプリンタドライバは、プライベート領域に格納されている内容を認識することができないため、利用できなかった。そこで、利用者はその別のプリンタドライバを用いて再度同じ設定を行わなければならず、操作が面倒であるという問題があった。 However, in the case of the DEVMODE structure, the print settings stored in the private area can be recognized only by the printer driver that performed the print settings. Therefore, even if you want to use the settings registered with a printer driver with another printer driver, the other printer driver cannot recognize the content stored in the private area and cannot use it. It was. Therefore, the user has to perform the same setting again using another printer driver, and there is a problem that the operation is troublesome.
このような問題は、制御対象がプリンタ以外のデバイスの場合にも、同様に発生するものである。
また、非特許文献1にも、PrintTicketやPrintCapabilitiesを活用して適切にこの問題を解決する手法は記載されていない。Such a problem also occurs when the control target is a device other than a printer.
Also, Non-Patent
この発明は、このような問題を解決し、特定のデバイスドライバを用いて行った設定の内容を、他のデバイスドライバを用いる場合でも容易かつ適切に利用できるようにすることを目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to solve such problems and to make it possible to easily and appropriately use the contents of settings made using a specific device driver even when other device drivers are used.
上記の目的を達成するための、この発明は、PrintTicketに記載された設定内容に従って制御対象のデバイスにジョブを実行させるデバイスドライバ手段を有する情報処理装置において、上記デバイスドライバ手段に、上記デバイスの能力を示すデバイス能力情報を記憶する記憶手段と、上記デバイスの制御に使用するPrintTicketの指定を受け付ける受付手段と、その受付手段で指定を受け付けたPrintTicketが、そのデバイスドライバ手段で作成されたものか、他のデバイスドライバ手段で作成されたものかを判別する判別手段と、上記判別手段により、上記受け付けたPrintTicketがそのデバイスドライバ手段で作成されたものであると判別した場合に、上記受け付けたPrintTicketに記載された設定内容を、全て上記デバイスの制御に使用する設定内容に反映させる第1の制御手段と、上記判別手段により、上記受け付けたPrintTicketが他のデバイスドライバ手段で作成されたものであると判別した場合に、上記読み出した受け付けたPrintTicketを、上記記憶手段が記憶するデバイス能力情報と比較し、上記受け付けたPrintTicketに記載された設定内容のうち、その比較結果に応じた範囲を、上記デバイスの制御に使用する設定内容に反映させる第2の制御手段とを設けたものである。 In order to achieve the above object, the present invention provides an information processing apparatus having device driver means for causing a device to be controlled to execute a job in accordance with the setting contents described in PrintTicket. Storage means for storing device capability information indicating, a receiving means for accepting designation of a PrintTicket used for controlling the device, and a PrintTicket for which designation is accepted by the accepting means is created by the device driver means, If the determination means determines whether the received PrintTicket is created by the device driver means, the determination means for determining whether the received PrintTicket is created by the device driver means, Reflect all settings described in the settings used to control the above devices. The storage means stores the read received PrintTicket when the received PrintTicket is determined to have been created by another device driver means by the first control means for determining and the determining means. A second control means is provided for comparing the device capability information with the setting content used for controlling the device, out of the setting content described in the received PrintTicket, according to the comparison result. Is.
このような情報処理装置において、上記第2の制御手段を、上記受け付けたPrintTicketと上記記憶手段に記憶されているデバイス能力情報との比較の結果、上記受け付けたPrintTicketに、上記記憶手段に記憶されているデバイス能力情報が示すデバイスの能力に含まれていない設定内容があった場合、その部分の内容を、上記デバイスの制御に使用する設定内容に反映させない手段とするとよい。 In such an information processing apparatus, the second control unit is stored in the storage unit in the received PrintTicket as a result of the comparison between the received PrintTicket and the device capability information stored in the storage unit. If there is a setting content that is not included in the device capability indicated by the device capability information, it is preferable that the content of that portion is not reflected in the setting content used for controlling the device.
さらに、上記デバイスドライバ手段に、許可しない設定の組み合わせを記憶する排他記憶手段と、上記受け付けたPrintTicketに記載された設定内容の全部又は一部を上記デバイスの制御に使用する設定内容に反映させる場合、その反映により、そのデバイスの制御に使用する設定内容に、上記排他記憶手段に記憶されている組み合わせが含まれることになるか否か判断し、含まれることになる場合、その含まれる組み合わせに関する項目の設定内容は、上記デバイスの制御に使用する設定内容に反映させない排他制御手段とを設けるとよい。 Further, when the device driver means reflects an exclusive storage means for storing a combination of settings that are not permitted, and all or a part of the setting contents described in the received PrintTicket is reflected in the setting contents used for controlling the device. , It is determined whether or not a combination stored in the exclusive storage means is included in the setting contents used for control of the device by the reflection, and if included, it relates to the included combination It is preferable to provide an exclusive control unit that does not reflect the setting contents of the items in the setting contents used for controlling the device.
さらに、上記デバイスドライバ手段が備える上記受付手段を、初期状態では、そのデバイスドライバ手段と対応する記憶位置に記憶されているPrintTicketを選択肢とし、ユーザの指示に応じて、それ以外のPrintTicketも選択肢に加えて、上記デバイスの制御に使用するPrintTicketの指定を受け付ける手段とするとよい。 Further, in the initial state, the accepting means included in the device driver means is an option of a PrintTicket stored in a storage location corresponding to the device driver means, and other PrintTickets are also selected according to a user instruction. In addition, it may be a means for accepting designation of a PrintTicket used for controlling the device.
さらにまた、上記制御対象のデバイスをプリンタとし、上記受付手段を、指定可能な各PrintTicketにつき、そのPrintTicketに記載された設定内容に従って上記プリンタに印刷を行わせた場合の書式の内容を示すグラフィックシンボルを画面に表示させて、そのグラフィックシンボルにより、上記デバイスの制御に使用するPrintTicketの指定を受け付ける手段とするとよい。 Furthermore, a graphic symbol indicating the content of the format when the device to be controlled is a printer and the accepting unit causes the printer to print according to the setting content described in the PrintTicket for each printTicket that can be specified. Is displayed on the screen, and the graphic symbol may be used as a means for receiving designation of the PrintTicket used for controlling the device.
また、この発明のデバイス制御方法は、制御対象のデバイスの能力を示すデバイス能力情報を記憶する記憶手段を有するデバイスドライバ手段により、PrintTicketに記載された設定内容に従って制御対象のデバイスにジョブを実行させるデバイス制御方法において、上記デバイスドライバ手段に、上記デバイスの制御に使用するPrintTicketの指定を受け付ける受付手順と、その受付手順で指定を受け付けたPrintTicketが、そのデバイスドライバ手段で作成されたものか、他のデバイスドライバ手段で作成されたものかを判別する判別手順と、上記判別手順により、上記受け付けたPrintTicketがそのデバイスドライバ手段で作成されたものであると判別した場合に、上記受け付けたPrintTicketに記載された設定内容を、全て上記デバイスの制御に使用する設定内容に反映させる第1の制御手順と、上記判別手順により、上記受け付けたPrintTicketが他のデバイスドライバ手段で作成されたものであると判別した場合に、上記受け付けたPrintTicketを、上記記憶手段に記憶されているデバイス能力情報と比較し、上記受け付けたPrintTicketに記載された設定内容のうち、その比較結果に応じた範囲を、上記デバイスの制御に使用する設定内容に反映させる第2の制御手順とを実行させるものである。 Further, the device control method of the present invention causes the device to be controlled to execute a job in accordance with the setting contents described in the PrintTicket by the device driver means having storage means for storing device capability information indicating the capability of the device to be controlled. In the device control method, the above-mentioned device driver means accepts a procedure for accepting the designation of the PrintTicket used to control the above-mentioned device, and whether the PrintTicket accepted by the acceptance procedure is created by the device driver means, If it is determined that the received PrintTicket is created by the device driver means according to the determination procedure for determining whether the received device is created by the device driver means, and the received PrintTicket is described in the received PrintTicket. Settings that are used to control all of the above settings When it is determined by the first control procedure to be reflected in the contents and the determination procedure that the received PrintTicket is created by another device driver means, the received PrintTicket is stored in the storage means. A second control procedure for reflecting the range according to the comparison result among the setting contents described in the received PrintTicket to the setting contents used for the control of the device, in comparison with the received device capability information Is to execute.
このようなデバイス制御方法において、上記第2の制御手順を、上記受け付けたPrintTicketと上記記憶手段に記憶されているデバイス能力情報との比較の結果、上記受け付けたPrintTicketに、上記記憶手段に記憶されているデバイス能力情報が示すデバイスの能力に含まれていない設定内容があった場合、その部分の内容を、上記デバイスの制御に使用する設定内容に反映させない手順とするとよい。 In such a device control method, the second control procedure is stored in the storage unit in the received PrintTicket as a result of comparison between the received PrintTicket and the device capability information stored in the storage unit. If there is a setting content that is not included in the device capability indicated by the device capability information, the procedure may be such that the content of that portion is not reflected in the setting content used for controlling the device.
さらに、上記デバイスドライバ手段を、許可しない設定の組み合わせを記憶する排他記憶手段を有するものとし、上記デバイスドライバ手段に、上記受け付けたPrintTicketに記載された設定内容の全部又は一部を上記デバイスの制御に使用する設定内容に反映させる場合、その反映により、そのデバイスの制御に使用する設定内容に、上記排他記憶手段に記憶されている組み合わせが含まれることになるか否か判断し、含まれることになる場合、その含まれる組み合わせに関する項目の設定内容は、上記デバイスの制御に使用する設定内容に反映させない排他制御手順を実行させるようにするとよい。 Further, the device driver means includes an exclusive storage means for storing a combination of settings that are not permitted, and the device driver means controls the device to transfer all or part of the setting contents described in the received PrintTicket. When reflecting the setting contents used for the device, it is determined whether or not the combination contents stored in the exclusive storage means are included in the setting contents used for the control of the device. In such a case, it is preferable to execute an exclusive control procedure that does not reflect the setting contents of the items related to the included combinations in the setting contents used for controlling the device.
さらに、上記デバイスドライバ手段に実行させる上記受付手順を、初期状態では、そのデバイスドライバ手段と対応する記憶位置に記憶されているPrintTicketを選択肢とし、ユーザの指示に応じて、それ以外のPrintTicketも選択肢に加えて、上記デバイスの制御に使用するPrintTicketの指定を受け付ける手順とするとよい。 Further, in the initial state, the accepting procedure to be executed by the device driver means is an option of a PrintTicket stored in a storage location corresponding to the device driver means, and other PrintTickets are also selected according to a user instruction. In addition to this, the procedure may be to accept the designation of the PrintTicket used to control the device.
さらにまた、上記制御対象のデバイスをプリンタとし、上記受付手順を、指定可能な各PrintTicketにつき、そのPrintTicketに記載された設定内容に従って上記プリンタに印刷を行わせた場合の書式の内容を示すグラフィックシンボルを画面に表示させて、そのグラフィックシンボルにより、上記デバイスの制御に使用するPrintTicketの指定を受け付ける手順とするとよい。 Furthermore, a graphic symbol indicating the content of the format when the device to be controlled is a printer and the reception procedure is performed for each of the print titles that can be specified according to the setting content described in the print title. Is displayed on the screen, and the procedure for accepting designation of the PrintTicket to be used for controlling the device by the graphic symbol may be used.
また、この発明のデバイス制御プログラムは、コンピュータを、PrintTicketに記載された設定内容に従って制御対象のデバイスにジョブを実行させる情報処理装置として機能させるデバイス制御プログラムであって、上記デバイスドライバ手段が、上記デバイスの能力を示すデバイス能力情報を記憶する記憶手段と、上記デバイスの制御に使用するPrintTicketの指定を受け付ける受付手段と、その受付手段で指定を受け付けたPrintTicketが、そのデバイスドライバ手段で作成されたものか、他のデバイスドライバ手段で作成されたものかを判別する判別手段と、上記判別手段により、上記受け付けたPrintTicketがそのデバイスドライバ手段で作成されたものであると判別した場合に、上記受け付けたPrintTicketに記載された設定内容を、全て上記デバイスの制御に使用する設定内容に反映させる第1の制御手段と、上記判別手段により、上記受け付けたPrintTicketがが他のデバイスドライバ手段で作成されたものであると判別した場合に、上記受け付けたPrintTicketを、上記記憶手段が記憶するPrintCapabilitiesと比較し、上記受け付けたPrintTicketに記載された設定内容のうち、その比較結果に応じた範囲を、上記デバイスの制御に使用する設定内容に反映させる第2の制御手段として機能させるデバイス制御プログラムである。 The device control program of the present invention is a device control program that causes a computer to function as an information processing apparatus that causes a device to be controlled to execute a job in accordance with the setting content described in PrintTicket. The storage means for storing the device capability information indicating the capability of the device, the accepting means for accepting the designation of the PrintTicket used for controlling the device, and the PrintTicket accepted by the accepting means are created by the device driver means. A determination unit that determines whether the received PrintTicket is generated by the device driver unit, and a determination unit that determines whether the received PrintTicket is generated by the device driver unit. All the settings described in the PrintTicket When it is determined by the first control means to be reflected in the setting contents used for control and the determination means that the received PrintTicket is created by another device driver means, the received PrintTicket is The second control for comparing with the PrintCapabilities stored in the storage means and reflecting the range according to the comparison result among the setting contents described in the received PrintTicket to the setting contents used for the control of the device It is a device control program that functions as a means.
このようなデバイス制御プログラムにおいて、上記第2の制御手段を、上記受け付けたPrintTicketと上記記憶手段に記憶されているデバイス能力情報との比較の結果、上記受け付けたPrintTicketに、上記記憶手段に記憶されているデバイス能力情報が示すデバイスの能力に含まれていない設定内容があった場合、その部分の内容を、上記デバイスの制御に使用する設定内容に反映させない手段とするとよい。
さらに、上記コンピュータを、許可しない設定の組み合わせを記憶する排他記憶手段と、上記受け付けたPrintTicketに記載された設定内容の全部又は一部を上記デバイスの制御に使用する設定内容に反映させる場合、その反映により、そのデバイスの制御に使用する設定内容に、上記排他記憶手段に記憶されている組み合わせが含まれることになるか否か判断し、含まれることになる場合、その含まれる組み合わせに関する設定項目の設定は、上記デバイスの制御に使用する設定内容に反映させない排他制御手段として機能させるためのプログラムをさらに含めるとよい。In such a device control program, the second control unit is stored in the storage unit in the received PrintTicket as a result of comparison between the received PrintTicket and the device capability information stored in the storage unit. If there is a setting content that is not included in the device capability indicated by the device capability information, it is preferable that the content of that portion is not reflected in the setting content used for controlling the device.
Further, when the computer stores the exclusive storage means for storing the combination of settings that are not permitted, and the setting contents used for controlling the device, all or part of the setting contents described in the received PrintTicket, By reflecting, it is determined whether or not a combination stored in the exclusive storage means is included in the setting contents used for controlling the device, and if included, a setting item related to the included combination This setting may further include a program for causing it to function as an exclusive control means that is not reflected in the setting contents used for controlling the device.
さらに、上記受付手段を、初期状態では、そのデバイスドライバ手段と対応する記憶位置に記憶されているPrintTicketを選択肢とし、ユーザの指示に応じて、それ以外のPrintTicketも選択肢に加えて、上記デバイスの制御に使用するPrintTicketの指定を受け付ける手段とするとよい。 Further, in the initial state, the accepting means uses the PrintTicket stored in the storage location corresponding to the device driver means as an option, and other PrintTickets in addition to the options in response to a user instruction, A means to accept the specification of PrintTicket used for control is good.
さらにまた、上記制御対象のデバイスをプリンタとし、上記受付手段を、指定可能な各PrintTicketにつき、そのPrintTicketに記載された設定内容に従って上記プリンタに印刷を行わせた場合の書式の内容を示すグラフィックシンボルを画面に表示させて、そのグラフィックシンボルにより、上記デバイスの制御に使用するPrintTicketの指定を受け付ける手段とするとよい。 Furthermore, a graphic symbol indicating the content of the format when the device to be controlled is a printer and the accepting unit causes the printer to print according to the setting content described in the PrintTicket for each printTicket that can be specified. Is displayed on the screen, and the graphic symbol may be used as a means for receiving designation of the PrintTicket used for controlling the device.
この発明の記録媒体は、上記のいずれかのデバイス制御プログラムを記録したコンピュータ読み取り可能な記録媒体である。 The recording medium of the present invention is a computer-readable recording medium on which any one of the above device control programs is recorded.
以上のようなこの発明の情報処理装置又はデバイス制御方法によれば、特定のデバイスドライバを用いて行った設定の内容を、他のデバイスドライバを用いる場合でも容易かつ適切に利用できるようにすることができる。
また、この発明のデバイス制御プログラムによれば、コンピュータにデバイスを制御する機能を実現させ、上記の効果を得ることができる。この発明の記録媒体によれば、上記のプログラムを記憶していないコンピュータにそのデバイス制御プログラムを読み出させて実行させ、上記の効果を得ることができる。According to the information processing apparatus or the device control method of the present invention as described above, the settings made using a specific device driver can be used easily and appropriately even when other device drivers are used. Can do.
Further, according to the device control program of the present invention, it is possible to realize the above-described effect by causing a computer to realize a function of controlling a device. According to the recording medium of the present invention, the device control program can be read and executed by a computer that does not store the above program, and the above effects can be obtained.
以下、この発明を実施するための形態を図面に基づいて具体的に説明する。
〔実施形態:図1乃至図22〕
まず図1に、この発明の情報処理装置の実施形態であるPC(パーソナルコンピュータ)と、そのPCによる制御対象のデバイスとを備えたプリントシステムの構成例を示す。
図1に示すように、このプリントシステム1は、PC10a,10b,10c(以下、個体を特定する必要がない場合には符号「10」を用いて示す)と、これらのPC10により制御されるデバイスであり、PC10からの印刷要求に従って用紙に画像を形成する画像形成装置である、プリンタ20a,20b(以下、個体を特定する必要がない場合には符号「20」を用いて示す)とを、ネットワーク30により接続して構成したシステムである。ネットワーク30としては、LAN(ローカルエリアネットワーク)を始め、有線、無線を問わず、任意の通信経路を採用可能である。Hereinafter, embodiments for carrying out the present invention will be specifically described with reference to the drawings.
[Embodiment: FIGS. 1 to 22]
First, FIG. 1 shows a configuration example of a print system including a PC (personal computer) which is an embodiment of the information processing apparatus of the present invention and a device to be controlled by the PC.
As shown in FIG. 1, the
ここで、図2にPC10のハードウェア構成を示す。
この図に示すように、PC10は、CPU11,ROM12,RAM13,表示器14,操作部15,HDD(ハードディスクドライブ)16,通信インタフェース(I/F)17を備え、これらがシステムバス18により接続された構成である。表示器14は、例えば液晶ディスプレイ、操作部15は、例えばマウスやキーボードである。もちろん、外部の表示器や操作部を用いてもよい。
これらのハードウェアは、ハードウェアとしては公知の構成でよい。Here, FIG. 2 shows a hardware configuration of the
As shown in this figure, the
These hardware may have a known configuration as hardware.
そして、PC10においては、CPU11が実行するOS上で、ROM12やHDD16に記憶されているこの発明のプログラムの実施形態であるプリンタドライバプログラムを動作させることにより、プリンタ20を制御するデバイスドライバ手段であるプリンタドライバの機能を実現することができる。
なお、ここでいうプリンタ20の制御とは、PC10とプリンタ20との間で相互にデータを送受信しながら行うものだけでなく、印刷対象のデータに基づいてプリンタ20に印刷動作を実行させるための処理全般を含む。例えば、OSの内部命令をプリンタが解釈可能な言語に変換し、PDL(Page Description Language)で記載されたプリントデータを生成する処理も含む。The
The control of the printer 20 here is not only performed while data is transmitted and received between the
なお、OSとしては、Microsoft Windows Vista(商標)を使用しており、OSが提供するプラットフォームを利用して、プリンタドライバがプリンタに指示する各種印刷設定の内容を、プリンタの能力の中で選択された設定(例えば「用紙サイズはA4」等)を示すXML形式の文書であるPrintTicketとして記載することができる。PrintTicketの書式は、OSの供給元であるMicrosoft社によってある程度決められているため、PrintTicketは、印刷設定の内容をPrintTicket形式で記載した印刷設定情報であると考えることもできる。
また、プリンタドライバによる制御対象であるプリンタが有する能力を示す情報を、XML文書の形式であるPrintCapabilitiesとして記載することもできる。PrintCapabilitiesの書式も、OSの供給元であるMicrosoft社によってある程度決められているため、PrintCapabilitiesは、デバイスが有する機能の内容をPrintCapabilities形式で記載したデバイス能力情報であると考えることもできる。As the OS, Microsoft Windows Vista (trademark) is used, and using the platform provided by the OS, the contents of various print settings that the printer driver instructs the printer are selected within the capabilities of the printer. Can be described as a PrintTicket, which is a document in XML format indicating the setting (for example, “paper size is A4”). Since the format of the PrintTicket is determined to some extent by Microsoft, which is the supplier of the OS, the PrintTicket can be considered as print setting information in which the contents of the print setting are described in the PrintTicket format.
In addition, information indicating the capability of the printer that is controlled by the printer driver can be described as PrintCapabilities, which is the format of the XML document. Since the format of PrintCapabilities is determined to some extent by Microsoft, which is the supplier of the OS, PrintCapabilities can be considered as device capability information in which the contents of the functions of the device are described in the PrintCapabilities format.
また、プリンタ20も、ハードウェアとしては、CPU,ROM,RAM,通信I/F(インタフェース),操作パネル,プリントエンジン等を備えた公知のものでよい。そして、このプリンタ20は、プリンタドライバからのプリント命令に従い、プリントデータに付されたPrintTicketに記載された設定内容に従った設定で、プリントデータが示す内容の画像を印刷するプリント機能を有する。また、プリンタ20を、スキャン、ファクシミリ通信、文書蓄積等の機能を併せ持つMFP(デジタル複合機)として構成してもよい。
以上のプリントシステム1を構成するPCやプリンタの台数には、特に制限はない。Also, the printer 20 may be a known hardware including a CPU, a ROM, a RAM, a communication I / F (interface), an operation panel, a print engine, and the like as hardware. The printer 20 has a print function for printing an image having the contents indicated by the print data in accordance with the setting contents described in the PrintTicket attached to the print data in accordance with a print command from the printer driver. Further, the printer 20 may be configured as an MFP (digital multifunction peripheral) having functions such as scanning, facsimile communication, and document storage.
There are no particular restrictions on the number of PCs or printers constituting the
次に、図3に、図1に示したPC10の機能のうち、この実施形態の特徴に関連する部分の機能構成を示す。
図3に示すように、PC10は、上述のプリンタドライバプログラムにより実現されるプリンタドライバ110の機能と、文書作成ソフトや表計算ソフト、画像編集ソフト等の各種アプリケーションプログラムにより実現されるアプリケーション120の機能とを有する。また、プリンタドライバ110もアプリケーション120も、1台のPC10に複数存在していてもよい。Next, FIG. 3 shows a functional configuration of a part related to the feature of this embodiment among the functions of the
As shown in FIG. 3, the
そして、アプリケーション120は、ユーザの操作に従って文書や画像等のデータを作成すると共に、ユーザの印刷指示に従って適当なプリンタドライバ110を起動して、作成した文書や画像等のデータを渡し、印刷に必要な処理を実行させる機能を有する。
一方、プリンタドライバ110は、印刷設定情報管理部111,印刷設定情報読み込み部112,印刷設定情報検査部113,印刷設定反映部114,印刷設定情報作成/保存部115,印刷実行部116を有する。The application 120 creates data such as a document and an image in accordance with the user's operation, starts an appropriate printer driver 110 according to the user's print instruction, passes the created document and image data, and is necessary for printing. A function to execute various processes.
On the other hand, the printer driver 110 includes a print setting
印刷設定情報管理部111は、プリンタドライバ110の機能を利用してユーザが作成したPrintTicketの格納位置を管理する機能を有する。また、他のプリンタドライバからの照会に応じて、その格納位置の情報を提供したり、他のプリンタドライバにより作成されたPrintTicketの格納位置を記憶したりする機能も有する。
印刷設定情報読み込み部112は、印刷設定情報管理部111が記憶する格納先から、ユーザが指定したPrintTicketを読み込むと共に、その書式を確認する機能を有する。
また、DEVMODE構造体あるいは他の形式で登録されている印刷設定情報を読み込み、これをPrintTicket形式に変換する機能を設けてもよい。The print setting
The print setting
Also, a function may be provided in which print setting information registered in the DEVMODE structure or other format is read and converted into the PrintTicket format.
印刷設定情報検査部113は、印刷設定情報読み込み部112が読み込んだPrintTicketの内容を解析し、そこに記載されている情報が、自ドライバによる制御対象のプリンタが有する機能の範囲内の情報であるか否かを判断する機能を有する。制御対象のプリンタが有する機能の情報は、所定のフォルダに格納されるPrintCapabilitiesファイルとして記憶している。 The print setting
印刷設定反映部114は、印刷設定情報読み込み部112が読み込んだPrintTicketの内容に基づき、印刷実行時にプリンタに送信するPrintTicketの内容を変更する機能を有する。この変更は、読み込んだPrintTicketが、自ドライバが生成したものである場合には、PrintTicketに記載された設定内容をそのまま全て印刷実行時にプリンタに送信するPrintTicket(以下「印刷用PrintTicket」という)の内容に反映させる形で行う。また、読み込んだPrintTicketが、他のドライバが生成したものである場合には、PrintTicketに記載された設定内容のうち、印刷設定情報検査部113による検査結果に応じた範囲のみ、より具体的には、制御対象のプリンタが有する機能の範囲内の設定内容を、印刷用PrintTicketの内容に反映させる形で行う。 The print
印刷設定情報作成/保存部115は、後述する図7に示すようなGUIにより設定指示を受け付け、ユーザから受け付けた印刷設定の内容に従って、印刷用PrintTicketを作成する機能を有する。この機能により作成した印刷用PrintTicketに、印刷設定反映部114の機能により読み込んだPrintTicketの内容を反映させることもできるし、逆に、印刷設定反映部114の機能により読み込んだPrintTicketの内容を反映させた後で、その全部または一部を、ユーザから受け付けた印刷設定の内容に従って変更することもできる。 The print setting information creating / saving
さらに、印刷設定情報作成/保存部115は、この作成した印刷用PrintTicketや、印刷設定反映部114が読み込んだPrintTicketの内容を反映させた後の印刷用PrintTicketを、印刷設定情報管理部111が管理する記憶位置に保存する機能も有する。
印刷実行部116は、ユーザから印刷実行の指示があった場合に、アプリケーション120から渡された印刷すべきドキュメントの内容を示すデータを、制御対象のプリンタが理解できるプリンタ言語形式のプリントデータに変換し、これに作成しておいた印刷用PrintTicketを付加してプリントコマンドを生成し、プリンタに送信する機能を有する。そして、このことにより、プリンタに印刷を実行させることができる。Further, the print setting information creating / saving
When there is a print execution instruction from the user, the
ここで、図4に、PC10におけるPrintTicketの格納状況を示す。
PC10においては、各プリンタドライバ110と対応させて、そのプリンタドライバ110が作成したPrintTicketを格納する印刷設定情報記憶フォルダを設け、これを印刷設定情報記憶手段として用いている。そして、各プリンタドライバ110は、印刷設定情報作成/保存部115によるPrintTicketの保存は、自ドライバと対応するフォルダに行う。一方、印刷設定情報読み込み部112によるPrintTicketの読み込みについては、基本的には自ドライバと対応するフォルダから行うが、ユーザの指示により、図4に破線で示したように、他のプリンタドライバと対応するフォルダからもPrintTicketを読み込むことができる。この場合、読み込むべきPrintTicketの位置は、他のプリンタドライバの印刷設定情報管理部111に問い合せたり、PrintTicketのファイル名の拡張子でファイル検索をしたりして、把握することができる。Here, FIG. 4 shows the storage status of the PrintTicket in the
In the
なお、以降の説明においては、プリンタドライバを、制御対象のデバイス毎に区別する場合には、プリンタ20aを制御するためのプリンタドライバを「プリンタドライバA」、プリンタ20bを制御するためのプリンタドライバを「プリンタドライバB」と呼ぶことにする。 In the following description, when the printer driver is distinguished for each device to be controlled, the printer driver for controlling the
次に、図5に、PC10が備えるプリンタドライバの1つであるプリンタドライバAが持つPrintCapabilitiesの内容を示す。
このPrintCapabilitiesは、プリンタドライバAが制御するプリンタ20aが有する機能の内容を示すものである。ただし、ここで示すのは、説明の用に供するため、実際にプリンタが備える機能のごく一部に関するデータのみを記載したものであり、実際に使用されるPrintCapabilitiesには、図に示したものよりはるかに多くの機能に関する記載が含まれる。これは、以降説明する全てのPrintCapabilitiesやPrintTicketについて同様である。
また、PrintCapabilitiesは、予め所定の記憶手段に記憶しておいてもよいが、プリンタドライバが起動された際、さらにはその後定期的に、制御対象のプリンタにアクセスして取得するようにしてもよい。Next, FIG. 5 shows the contents of PrintCapabilities possessed by the printer driver A which is one of the printer drivers provided in the
This PrintCapabilities indicates the contents of the functions of the
The PrintCapabilities may be stored in a predetermined storage unit in advance. However, when the printer driver is activated, the PrintCapabilities may be acquired by accessing the control target printer periodically thereafter. .
そして、図中に示した各要素のうち、最上位のFeature要素1つが、機能1単位を示す。また、そのname属性が、機能の識別子を示す。図5の例では、5つのFeature要素211〜215により、プリンタ20aが、"PageMediaSize"(用紙サイズ),"JobInputBin"(給紙トレイ),"JobGraphicsMode"(グラフィックモード),"PageOrientation"(原稿方向),"JobHolePunch"(パンチ穴あけ)の5つの機能を有することが示されている。 Of the elements shown in the figure, one uppermost Feature element indicates one function unit. The name attribute indicates a function identifier. In the example of FIG. 5, the five
また、各Feature要素の子要素であるOption要素は、Feature要素が示す機能について設定できる各選択肢を示している。例えば、"PageMediaSize"のFeature要素211(name属性の値が"PageMediaSize"のFeature要素)は、4つのOption要素216〜219を子要素として持ち、これらの各々が、選択可能な設定内容として、"ISOA6"(A6),"ISOA3"(A3),"ISOA4"(A4),"ISOB4"(B4)の4つの選択肢を示している。"JobInputBin"のFeature要素212は、4つのOption要素220〜223を子要素として持ち、これらの各々が、選択可能な設定内容として、"AUTO"(自動選択),"Manual"(手差しトレイ),"Tray1"(トレイ1),"Tray2"(トレイ2)の4つの選択肢を示している。 An Option element that is a child element of each Feature element indicates each option that can be set for the function indicated by the Feature element. For example, a
また、Feature要素の中には、その要素が示す機能の設定を行うと、同時に他の項目に関する設定を行う必要があるものもある。例えば、用紙サイズを設定すると、それに合わせて用紙の幅と高さを設定する必要が生じる。そして、"PageMediaSize"のFeature要素211においては、各Option要素216〜219に、子要素としてScoredProperty要素224,225を設け、そのOption要素を選択した場合に値を設定すべき項目と、その値を記載している。図5の例では例えば、"PageMediaSize"について"ISOA6"を選択した場合には、"MediaSizeWidth"の項目にValue要素226が示す「105000」を、"MediaSizeHeight"の項目にValue要素227が示す「148000」を設定することがわかる。 Some Feature elements need to be set for other items at the same time when the function indicated by the element is set. For example, when the paper size is set, it is necessary to set the width and height of the paper accordingly. In the
次に、図6に、プリンタドライバAが生成するPrintTicketの例を示す。
このPrintTicketは、プリンタドライバAが印刷要求時にプリンタ20aに送信して設定を要求する設定内容を示すものである。
PrintTicketにおいては、まず、先頭のFeature要素231に、そのPrintTicketを生成したプリンタドライバの識別情報を記載している。識別情報自体は、Feature要素231の子要素であるOption要素237のname属性として記載しており、ここでは、識別情報として"Printer_A"を記載している。Next, FIG. 6 shows an example of PrintTicket generated by the printer driver A.
This PrintTicket indicates the setting contents that the printer driver A sends to the
In the PrintTicket, first, the identification information of the printer driver that generated the PrintTicket is described in the head Feature element 231. The identification information itself is described as the name attribute of the Option element 237 which is a child element of the Feature element 231. Here, “Printer_A” is described as the identification information.
また、2番目以降のFeature要素232〜236は、このPrintTicketを生成したプリンタドライバAが持つPrintCapabilitiesに含まれるFeature要素が示す各機能につき、設定する選択肢を示すものである。そして、Feature要素232〜236の子要素としては、PrintCapabilitiesにおいて同名のFeature要素が有していたOption要素のうち、設定する選択肢を示すOption要素を1つ記載している。例えば、Feature要素233は、子要素であるOption要素238により、給紙トレイの機能につき、トレイ1を設定することを示している。 The second and
PrintTicketには、ユーザの指示に応じて読み出せるように図4に示したように所定のフォルダに格納しておくもの、デフォルトの書式を示すデータとして記憶しておくもの、プリントデータに付加してプリンタに送信するもの(印刷用PrintTicket)等があるが、どの用途に用いる場合も書式は同じである。 In PrintTicket, what is stored in a predetermined folder as shown in FIG. 4 so that it can be read out in accordance with a user instruction, what is stored as data indicating a default format, and added to print data There are things to send to the printer (PrintTicket for printing), etc., but the format is the same for any application.
次に、図7に、プリンタドライバ110がユーザからの設定指示を受け付けるためのGUI画面の表示例を示す。ユーザからの設定指示を受け付けるための画面は、プリンタドライバ毎に異なるが、図7に示したのは、プリンタドライバAが用いる画面である。
そして、この図に示す印刷設定画面310には、プリンタドライバAによる制御対象であるプリンタ20aが有する各機能につき、ユーザから設定すべき値の指示を受け付けるための画面である。このため、印刷設定画面310には、図5に示したPrintCapabilities中のFeature要素211〜215と対応する選択部311〜315を設け、Feature要素211〜215が示す用紙サイズ,給紙トレイ,グラフィックモード,原稿方向,パンチ穴あけの各項目につき、Feature要素211〜215の子要素であるOption要素が示す選択肢のいずれかの選択を受け付けることができるようにしている。Next, FIG. 7 shows a display example of a GUI screen for the printer driver 110 to accept a setting instruction from the user. The screen for accepting a setting instruction from the user differs for each printer driver, but FIG. 7 shows a screen used by the printer driver A.
A
各選択部311〜315における選択肢の初期値は、プリンタドライバAがデフォルトの書式を示すデータとして記憶しているデフォルトPrintTicketの内容に従って定める。また、プリンタドライバ110は、印刷設定画面310を表示した場合には、デフォルトPrintTicketをコピーして、プリントデータに付加してプリンタに送信する印刷用PrintTicketを生成し、以後、各選択部311〜315において選択肢の選択が変更される度に、その変更後の設定内容を反映させるように、印刷用PrintTicketの内容を変更する。 The initial values of options in the
OKボタン316は、選択部311〜315で行った設定に基づく印刷の実行指示を受け付けるボタン、キャンセルボタン317は、印刷を中止して前の画面に戻る指示を受け付けるボタンである。
なお、印刷設定画面310の内容を示すデータは、PrintCapabilitiesに基づいて生成する必要はなく、PrintCapabilitiesと独立して用意しておけばよい。
また、印刷設定画面310には、PrintTicketを用いた一括設定を行うためのショートカットアイコン管理画面330の表示指示を受け付けるショートカット設定ボタン318も設けている。An
Note that the data indicating the contents of the
The
次に、図8に、このショートカットアイコン管理画面の表示例を示す。
そして、この図に示すショートカットアイコン管理画面330には、アイコン表示部331,設定内容表示部333,設定登録ボタン334,設定呼び出しボタン335,閉じるボタン336を設けている。Next, FIG. 8 shows a display example of this shortcut icon management screen.
The shortcut
このうちアイコン表示部331は、印刷設定情報記憶フォルダに登録されている印刷設定の一覧を表示すると共に、印刷に使用する印刷設定の選択を受け付ける部分である。そして、印刷設定毎に、その名称と、その印刷設定の内容に従って制御対象のプリンタに印刷を行わせた場合の書式の内容を示すアイコンとを表示して、各印刷設定の内容を分かり易くしている。なお、この印刷設定の内容は、印刷設定情報記憶フォルダにPrintTicketとして登録されている。 Of these, the
印刷設定に基づいてアイコンを生成する方法については、適宜公知のものを採用すればよい。また、アイコンに代えて、プリントデータが示す印刷内容を印刷設定の内容に従って加工して生成する、出力される印刷物の状態を模式的に示すサムネイル画像等、他のグラフィックシンボルを用いてもよい。 As a method for generating an icon based on print settings, a known method may be adopted as appropriate. Instead of the icon, other graphic symbols such as a thumbnail image schematically showing the state of the printed matter to be output, which is generated by processing the print content indicated by the print data according to the print setting content, may be used.
そして、ユーザは、このアイコンをシングルクリックすることにより、そのアイコンを選択することができる。いずれかのアイコンが選択されると、カーソル332によりその旨が示され、設定内容表示部333に、そのアイコンと対応する印刷設定の内容が表示される。 The user can select the icon by single-clicking the icon. When any icon is selected, this is indicated by the
また、ユーザは、アイコン表示部331のアイコンをダブルクリックすることにより、アイコンと対応する印刷設定を選択し、その印刷設定を、図7に示した印刷設定画面310の内容に反映させることができる。この場合、プリンタドライバ110は、ユーザが選択したアイコンと対応する印刷設定の内容を示すPrintTicketを印刷設定情報記憶フォルダから読み出して、その内容を印刷用PrintTicketに反映させる。 In addition, the user can select a print setting corresponding to the icon by double-clicking the icon on the
この読み出しは、自ドライバ(印刷設定画面310やショートカットアイコン管理画面330を表示させたプリンタドライバ)と対応する印刷設定情報記憶フォルダから行うこともあれば、他のプリンタドライバと対応する印刷設定情報記憶フォルダから行うこともある。また、読み出したPrintTicketの内容を全て印刷用PrintTicketに反映させるとは限らないが、この点については後述する。そして、この反映の結果印刷用PrintTicketの内容が変更された場合には、図7に示した印刷設定画面310の選択部311〜315における選択肢の選択内容もこれに合わせて変更する。 This reading may be performed from a print setting information storage folder corresponding to the own driver (printer driver displaying the
また、反映後の設定内容に従って印刷を行う場合には、閉じるボタン336を押下して印刷設定画面310に戻り、ここでOKボタン316を押下すればよい。設定内容をさらに変更する場合には、印刷設定画面310において変更操作が可能である。 In addition, when printing is performed according to the setting contents after reflection, the
また、ユーザは、アイコン表示部331のいずれかのアイコンをシングルクリックして選択した状態で設定登録ボタン334を押下することにより、その時点で印刷設定画面310においてなされていた印刷設定の内容を、選択したアイコンと対応する印刷設定として登録することができる。この場合、プリンタドライバ110は、設定登録ボタン334が押下された時点での印刷用PrintTicketを、選択されていたアイコンと対応する印刷設定の内容を示すPrintTicketとして、それまでのPrintTicketに上書きして印刷設定情報記憶フォルダに登録する。この場合、アイコンの表示も、新たに登録したPrintTicketの内容に応じて変更する。また、新規のアイコンを作成し、印刷設定の内容を、そのアイコンと対応する印刷設定の内容を示すPrintTicketとして登録できるようにしてもよい。 In addition, the user presses the setting
設定呼び出しボタン335は、他のプリンタドライバにより登録された印刷設定を示すアイコンを、アイコン表示部331における選択肢に追加する指示を受け付けるためのボタンである。この追加の後では、アイコン表示部331により、他のプリンタドライバが作成し、そのプリンタドライバと対応する印刷設定情報記憶フォルダに格納されているPrintTicketを読み出す指示を行うことができる状態になる。 The
なお、設定呼び出しボタン335の押下に応じてアイコン表示部331に表示させたアイコンについては、そのアイコンが選択された状態で設定登録ボタン334が押下されても、そのアイコンと対応するPrintTicketの登録は行わない。他ドライバと対応する印刷設定情報記憶フォルダの内容を不用意に変更してしまうと、そのドライバの動作に不具合が生じる恐れがあるためである。 Note that for the icon displayed on the
以上の図7及び図8の説明からわかるように、プリンタドライバ110を利用する場合、ユーザは、予め所望の印刷設定をPrintTicketとして登録しておき、後でアイコン表示部331においてその印刷設定を示すアイコンをクリックするだけで、登録しておいた印刷設定を再現することができる。また、他のプリンタドライバにより登録した印刷設定についても、同様にアイコンをクリックするだけで再現することができる。 As can be understood from the description of FIGS. 7 and 8 above, when using the printer driver 110, the user registers a desired print setting in advance as a PrintTicket, and the
以下、この機能を実現するための処理について説明する。
まず、図9に、プリンタドライバ110がPrintTicketを印刷設定情報記憶フォルダに登録する際に実行する処理の流れを示す。
この図に示す処理の各ステップは、ユーザの操作に応じてイベント駆動でなされるものであるが、処理の流れを分かり易くするため、連続した処理の流れとして示した。また、この図9に示す処理は、PC10のCPUが所要のプログラム(ここではプリンタドライバ110)を実行することにより行うものであるが、説明を簡単にするため、そのプログラムが処理を実行するとして説明する。以後の図に示す処理についても同様である。Hereinafter, processing for realizing this function will be described.
First, FIG. 9 shows a flow of processing executed when the printer driver 110 registers the PrintTicket in the print setting information storage folder.
Each step of the processing shown in this figure is performed by event driving according to the user's operation, but is shown as a continuous processing flow for easy understanding of the processing flow. Further, the processing shown in FIG. 9 is performed by the CPU of the
図9に示す処理においては、まず、印刷設定画面310の表示指示があった場合に、プリンタドライバ110がディスプレイに図7に示した印刷設定画面310を表示させ、ユーザからの印刷設定の指示を受け付けると共に、印刷用PrintTicketの初期値を生成する(S11)。印刷設定画面310の表示指示には、ユーザがアプリ上で印刷指示を行った場合にアプリから発せられたり、ユーザが直接行ったりするプリンタドライバ110の起動指示も含む。
その後、プリンタドライバ110は、ユーザからの各選択部311〜315における印刷設定変更指示に応じて、その変更指示に従って印刷用PrintTicketの内容を変更する(S12)。また、印刷設定画面310の表示更新も行う。In the processing shown in FIG. 9, first, when there is an instruction to display the
Thereafter, the printer driver 110 changes the contents of the PrintTicket for printing according to the change instruction according to the print setting change instruction in each of the
次に、ユーザが所望の設定変更指示を行い、これが印刷用PrintTicketに反映された後で、ユーザがショートカット設定ボタン318を押下すると、プリンタドライバ110はディスプレイに図8に示したショートカットアイコン管理画面330を表示させる(S13)。
そして、ユーザがショートカットアイコン管理画面330においてアイコンを選択して設定登録ボタン334を押下すると、プリンタドライバ110は、設定登録ボタン334押下時点の印刷用PrintTicketのコピーを、選択されたアイコンと対応するPrintTicketとして、自ドライバと対応する印刷設定情報記憶フォルダに保存する(S14)。Next, when the user gives a desired setting change instruction and this is reflected in the PrintTicket for printing, when the user presses the
When the user selects an icon on the shortcut
以後も、ユーザはショートカットアイコン管理画面330や印刷設定画面310における操作が可能であるが、このステップS14までの手順でプリンタドライバ110に処理を実行させることにより、ユーザは、印刷設定情報記憶フォルダに所望の設定内容を示すPrintTicketを登録することができる。 Thereafter, the user can perform operations on the shortcut
次に、図10に、図9に示した処理により登録されたPrintTicketを利用した印刷を行う場合の処理の流れを示す。この図に示す処理の各ステップも、図9の場合と同様、イベント駆動でなされるものであるが、処理の流れを分かり易くするため、連続した処理の流れとして示した。
図9に示す処理においては、まず、ユーザからドキュメントファイルを開く指示があった場合に、PC10のOSが、適当なアプリケーション120を起動して、指示されたドキュメントファイルを開く(S21)。Next, FIG. 10 shows a flow of processing when printing is performed using the PrintTicket registered by the processing shown in FIG. Each step of the processing shown in this figure is also event driven as in the case of FIG. 9, but is shown as a continuous processing flow for easy understanding of the processing flow.
In the process shown in FIG. 9, first, when a user gives an instruction to open a document file, the OS of the
そしてその後、ユーザがアプリケーション120に対してドキュメントの印刷指示を行うと、これを検出したアプリケーション120が印刷に使用するプリンタを制御するプリンタドライバ110を起動して、指示されたドキュメントの印刷を行わせる。このとき、プリンタドライバ110の機能により図7に示した印刷設定画面310の表示を行う(S22)。このとき、デフォルトの書式を示す印刷用PrintTicketの生成も行う。 After that, when the user instructs the application 120 to print a document, the application 120 that detects this activates the printer driver 110 that controls the printer used for printing, and causes the designated document to be printed. . At this time, the
そして、ユーザが印刷設定画面310においてショートカット設定ボタン318を押下すると、プリンタドライバ110はディスプレイに図8に示したショートカットアイコン管理画面330を表示させる(S23)。またこの時点では、起動されているプリンタドライバ110と対応する印刷設定情報記憶フォルダに格納されているPrintTicketを示すアイコンを、アイコン表示部331に表示する。 When the user presses the
そして、ショートカットアイコン管理画面330において、ユーザが設定呼び出しボタン335を押下すると、プリンタドライバ110は、他ドライバと対応する印刷設定情報記憶フォルダに格納されているPrintTicketを検索し、発見されたPrintTicketと対応するアイコンをアイコン表示部に追加する(S24)。 When the user presses the
ここで行う検索としては、例えば、また、PC10が備える全て又は所定範囲のフォルダについて、拡張子等を用いてPrintTicketのファイルを検索し、得られたファイルについて"DeviceName"のFeature要素の内容を参照して、PC10にインストールされているプリンタドライバが生成したPrintTicketを取得することが考えられる。
また、PC10が備える全部又は一部のプリンタドライバについて、対応する印刷設定情報記憶フォルダの情報を保持しておき、その全てのフォルダ又はそのうちユーザが指定したフォルダに格納されているPrintTicketを検索することも考えられる。As a search performed here, for example, a printTicket file is searched using an extension or the like for all or a predetermined range of folders included in the
Further, for all or some of the printer drivers provided in the
そして、ステップS24の処理を行うことにより、ユーザが他のプリンタドライバが登録したPrintTicketを選択して印刷用PrintTicketに反映させることができるようになる。しかし、プリンタドライバ110と対応する印刷設定情報記憶フォルダに格納されているPrintTicketを印刷用PrintTicketに反映させるのであれば、このステップS24の処理を行う必要はない。 Then, by performing the process of step S24, the user can select a PrintTicket registered by another printer driver and reflect it on the PrintTicket for printing. However, if the PrintTicket stored in the print setting information storage folder corresponding to the printer driver 110 is reflected in the print PrintTicket, it is not necessary to perform the process of step S24.
次に、ショートカットアイコン管理画面330において、ユーザがアイコンをダブルクリックしてそのアイコンと対応する印刷設定の反映を指示すると、プリンタドライバ110は、そのダブルクリックされたショートカットアイコンと対応するPrintTicketを適当な印刷設定情報記憶フォルダから読み出し、その内容を印刷用PrintTicketに反映させる(S25)。この反映の処理については、後に詳述する。
また、この反映の結果印刷用PrintTicketの内容が変更された場合には、図7に示した印刷設定画面310の選択部311〜315における選択肢の選択内容もこれに合わせて変更し、表示を更新する(S26)。Next, when the user double-clicks the icon on the shortcut
When the contents of the PrintTicket for printing are changed as a result of the reflection, the selection contents of the options in the
その後、ユーザが閉じるボタン336を押下してショートカットアイコン管理画面330を閉じた後、印刷設定画面310に戻ってOKボタン316を押下すると、プリンタドライバ310は、印刷を指示されたドキュメントのデータに、印刷用PrintTicketを付加してプリントコマンドを生成し、これを制御対象のプリンタに送信して、印刷用PrintTicketが示す設定内容に従った印刷を実行させる(S27)。ここで送信する印刷用PrintTicketは、ステップS25においてショートカットアイコンと対応するPrintTicketの内容が反映されたものとなっている。 Thereafter, when the user presses the
以上の後、プリンタドライバ110による処理は終了し、ユーザによる操作対象はアプリケーション120に戻る。このステップS27までの手順で各プログラムに処理を実行させることにより、ユーザは、印刷設定情報記憶フォルダに登録されているPrintTicketの内容に従った印刷を実行することができる。ステップS26とS27の間で、印刷設定画面310において印刷設定の内容を変更することも可能ではあるが、ステップS25の処理は、読み出したPrintTicketを、すぐに印刷に使用できる状態で印刷用PrintTicketに反映させるものである。そして、この反映の指示を受け付ける場合、PC10のCPUは受付手段として機能する。 After the above, the processing by the printer driver 110 ends, and the operation target by the user returns to the application 120. By causing each program to execute processing in accordance with the procedure up to step S27, the user can execute printing according to the contents of the PrintTicket registered in the print setting information storage folder. Although it is possible to change the contents of the print settings on the
また、ステップS27の完了後、ユーザは、アイコンの選択及び設定登録ボタン334の押下を行うことにより、読み出したPrintTicketの内容を反映させた後の印刷用PrintTicketを、図9のステップS14の場合と同様、選択されたアイコンと対応するPrintTicketとして自ドライバの印刷設定情報記憶フォルダに登録することができる。 Further, after the completion of step S27, the user selects the icon and presses the setting
次に、図11を用いて、図10のステップS25に示したPrintTicketの読み出し及び反映の処理の内容を、より詳細に説明する。
この図に示すように、プリンタドライバ110は、ユーザがアイコンをダブルクリックしてそのアイコンと対応する印刷設定の反映を指示すると、図10のステップS25に示した部分の処理として、まず、ダブルクリックされたアイコンと対応するPrintTicketを適当な印刷設定情報記憶フォルダから読み出す(S31)。各アイコンと対応するPrintTicketの格納位置は、アイコン表示部331にアイコンを表示する際に記憶しておけばよい。この処理においては、PC10のCPUは読出手段として機能する。Next, the contents of the PrintTicket reading and reflecting process shown in step S25 of FIG. 10 will be described in more detail with reference to FIG.
As shown in this figure, when the user double-clicks on an icon to instruct the reflection of print settings corresponding to the icon, the printer driver 110 first double-clicks as the processing of the part shown in step S25 of FIG. The PrintTicket corresponding to the selected icon is read from an appropriate print setting information storage folder (S31). The storage position of the PrintTicket corresponding to each icon may be stored when the icon is displayed on the
その後、読み出したPrintTicketは自ドライバが作成したものか否か判断する(S32)。この判断はここでは、PrintTicketに含まれる、"DriverName"のFeature要素(例えば図6に符号231で示したもの)に記載されたドライバの識別情報に基づいて行うことができる。また、アイコンに対応付けて自他識別情報を用意しておき、これに基づいて行ってもよい。この処理においては、PC10のCPUは判別手段として機能する。 Thereafter, it is determined whether or not the read PrintTicket is created by the own driver (S32). Here, this determination can be made based on the identification information of the driver described in the “DriverName” Feature element (for example, one indicated by reference numeral 231 in FIG. 6) included in the PrintTicket. Further, the self-other identification information may be prepared in association with the icon, and the determination may be performed based on this. In this process, the CPU of the
そして、ステップS32でYESの場合、読み出したPrintTicketに記載されている設定は、全て制御対象のプリンタで使用可能なものであると考えられる。そこで、読み出したPrintTicketを、そのまま新たな印刷用PrintTicketとすることにより、読み出したPrintTicketに記載された設定内容を、印刷用PrintTicketに反映させる(S33)。この場合、"DriverName"のFeature要素も変更する必要はない。ステップS32でYESの場合、この処理においては、PC10のCPUは第1の制御手段として機能する。なお、PrintTicketにヘッダやフッタが付されている場合には、ステップS33にて、ヘッダやフッタの内容を適切な内容に変更する処理も行う。 If YES in step S32, all the settings described in the read PrintTicket are considered to be usable by the printer to be controlled. Therefore, the read PrintTicket is directly used as a new PrintTicket for printing, so that the setting content described in the read PrintTicket is reflected in the PrintTicket for printing (S33). In this case, it is not necessary to change the Feature element of "DriverName". When YES is determined in the step S32, the CPU of the
一方、ステップS32でNOの場合、読み出したPrintTicketは、他のプリンタで使用するために作成されたものであると考えられるから、制御対象のプリンタで使用できない設定が含まれている可能性がある。そこで、読み出したPrintTicketの内容と、自ドライバが有するPrintCapabilitiesの内容とを比較する(S34)。ここで用いるPrintCapabilitiesは、制御対象のプリンタが有する機能を示すものである。 On the other hand, if NO in step S32, the read PrintTicket is considered to have been created for use by another printer, and therefore may contain settings that cannot be used by the printer to be controlled. . Therefore, the content of the read PrintTicket is compared with the content of PrintCapabilities that the driver has (S34). The PrintCapabilities used here indicate the functions of the printer to be controlled.
図12に、このステップS34で行う比較処理のより詳細なフローチャートを示す。
この図に示すように、ステップS34の処理においては、まずFeature要素を1つ取得する(S51)。そして、PrintCapabilities中に、ステップS51で取得したものと同じ名前のFeature要素があり、かつ、そのFeature要素の子要素であるOption要素に、ステップS51で取得したFeature要素の子要素であるOption要素と同じ名前のものがあるか否か判断する(S52)。ここでOption要素についての判断も行うのは、制御対象のプリンタがある機能を有していても、PrintTicketにより指定される特定の選択肢には対応できない場合もあり得るためである。例えば、用紙サイズの選択として、PrintTicketではA3が選択されているが、制御対象のプリンタはA4サイズまでしか給紙できない等である。FIG. 12 shows a more detailed flowchart of the comparison process performed in step S34.
As shown in this figure, in the process of step S34, first, one Feature element is acquired (S51). In the PrintCapabilities, there is a Feature element having the same name as that acquired in step S51, and an Option element that is a child element of the Feature element and an Option element that is a child element of the Feature element acquired in step S51. It is determined whether there is an identical name (S52). The reason for determining the Option element is that even if the printer to be controlled has a certain function, it may not be able to cope with a specific option specified by PrintTicket. For example, A3 is selected in PrintTicket as the paper size selection, but the printer to be controlled can feed paper up to A4 size.
ステップS52の判断がYESであれば、制御対象のプリンタは、ステップS51で取得したFeature要素についての印刷設定に従った印刷を行う機能を有していることがわかる。また、NOであれば、その機能を有していないことがわかる。
そこで、ステップS52でNOの場合には、ステップS51で取得したFeature要素が示す機能を制御対象のデバイスが有していない旨の情報を記憶する(S53)。If the determination in step S52 is YES, it is understood that the printer to be controlled has a function of performing printing according to the print settings for the Feature element acquired in step S51. Moreover, if it is NO, it turns out that it does not have the function.
Therefore, in the case of NO in step S52, information indicating that the device to be controlled does not have the function indicated by the Feature element acquired in step S51 is stored (S53).
そして、どちらの場合も、PrintTicketにまだステップS51で取得していないFeature要素が残っている限り、ステップS54からステップS51に戻って処理を繰り返し、全てのFeature要素について処理が完了すると、図11のステップS35の処理に進む。ただし、"DriverName"のFeature要素のように、機能と無関係なFeature要素については、そもそもPrintCapabilitiesに含まれていない場合もあるため、処理対象とする必要はない。あるいは、ステップS53での登録を行わないようにしてもよい。
以上の処理により、図11のステップS31で読み出したPrintTicketに記載された設定内容のうち、制御対象のプリンタの能力の範囲内の設定と、能力の範囲外の設定とを判別することができる。In either case, as long as the Feature elements that have not yet been acquired in Step S51 remain in the PrintTicket, the process returns from Step S54 to Step S51 to repeat the processing, and when the processing is completed for all Feature elements, FIG. The process proceeds to step S35. However, since a Feature element that is not related to a function, such as a Feature element of “DriverName”, may not be included in PrintCapabilities in the first place, it is not necessary to be a processing target. Alternatively, the registration in step S53 may not be performed.
Through the processing described above, it is possible to discriminate between the setting contents described in the PrintTicket read in step S31 in FIG. 11 and the setting within the capability range of the printer to be controlled and the setting outside the capability range.
図11の説明に戻ると、図12に示した比較処理の後、プリンタドライバ110は、ステップS31で読み出したPrintTicketが、制御対象のプリンタが対応していない機能の指定を含むか否か判断する(S35)。すなわち、図12のステップS53で何らかの情報を記憶したか否か判断する。 Returning to the description of FIG. 11, after the comparison process shown in FIG. 12, the printer driver 110 determines whether the PrintTicket read in step S <b> 31 includes designation of a function that is not supported by the printer to be controlled. (S35). That is, it is determined whether or not any information is stored in step S53 of FIG.
そして、ここでYESであれば、対応していない機能の情報、すなわち図12のステップS53で記憶した情報をディスプレイに表示する(S36)。この表示は、例えば図13に示すように、制御対象のプリンタが対応していない機能及び選択肢を、その機能に関する設定を行わない旨のメッセージと共に表示すればよい。ここでは、機能及び選択肢の表示は、図示しないGPD(汎用プリンタ記述:Generic Printer Description)データに含まれる文字列を用いて行っており、PrintTicket中のFeature要素及びOption要素のname属性と、GPDデータ中の文字列との対応関係は、プリンタドライバ110が管理している。 If YES is determined in this step, the information on the function that is not supported, that is, the information stored in step S53 of FIG. 12 is displayed on the display (S36). For example, as shown in FIG. 13, this display may be performed by displaying a function and options that are not supported by the printer to be controlled, together with a message that the setting related to the function is not performed. Here, functions and options are displayed using character strings included in GPD (Generic Printer Description) data (not shown), the name attribute of the Feature element and Option element in the PrintTicket, and GPD data. The printer driver 110 manages the correspondence with the character strings in the middle.
また、ステップS36の後は、ステップS31で読み出したPrintTicketのから、制御対象のプリンタが対応していない機能に関する設定情報の部分を削除する(S37)。例えば、読み出したPrintTicketのうち、図12のステップS53で記憶したFeature要素の部分を削除すればよい。 Further, after step S36, the part of the setting information relating to the function not supported by the printer to be controlled is deleted from the PrintTicket read out in step S31 (S37). For example, the feature element stored in step S53 in FIG. 12 may be deleted from the read PrintTicket.
一方、ステップS35でNOであれば、制御対象のプリンタは、読み出したPrintTicketに記載された設定内容に全て対応しているため、この時点ではステップS31で読み出したPrintTicketに加工を加えない。
またいずれの場合も、その後、ステップS31で読み出した(ステップS37での加工後の)PrintTicketに、PrintCapabilitiesに含まれる全てのFeature要素が含まれているか否か判断する(S38)。すなわち、読み出したPrintTicketの記載で、制御対象のプリンタに対して必要な設定を全て行うことができるか否かを判断する。On the other hand, if “NO” in the step S35, the printer to be controlled corresponds to all the setting contents described in the read PrintTicket. Therefore, at this time, no processing is added to the PrintTicket read in the step S31.
In either case, after that, it is determined whether or not all the Feature elements included in PrintCapabilities are included in the PrintTicket read out in step S31 (after processing in step S37) (S38). That is, it is determined whether all necessary settings can be made for the printer to be controlled based on the read description of the PrintTicket.
そして、ここでNOである場合、ステップS31で読み出した(ステップS37での加工後の)PrintTicketに、不足しているFeature要素を追加する。このとき、子要素に持たせるOption要素は、処理を実行中のプリンタドライバ110におけるデフォルト値、すなわちデフォルトPrintTicketの記載に従う(S39)。ステップS31で読み出した時点のPrintTicketに、PrintCapabilitiesに記載されている全てのFeature要素が含まれていたとしても、Option要素の不一致により、ステップS37でそのFeature要素が削除される場合もあるが、この場合には、ステップS39で改めてそのFeature要素を追加することになる。
ステップS38でYESであれば、PrintTicketを加工せずに次の処理に進む。If NO in this step, the missing Feature element is added to the PrintTicket read out in step S31 (after processing in step S37). At this time, the Option element to be given to the child element follows the description of the default value in the printer driver 110 that is executing the process, that is, the default PrintTicket (S39). Even if all the Feature elements described in PrintCapabilities are included in the PrintTicket at the time of reading in Step S31, the Feature element may be deleted in Step S37 due to mismatch of Option elements. In this case, the Feature element is newly added in step S39.
If “YES” in the step S38, the process proceeds to the next process without processing the PrintTicket.
その後、いずれの場合も、ステップS31で読み出した(ステップS37及び/又はステップS39で加工後の)PrintTicketに記載されているドライバの識別情報、すなわち"DriverName"のFeature要素の内容を、自ドライバのものに変更する(S40)。PrintTicketにヘッダやフッタが付されている場合には、ステップS40にて、ヘッダやフッタの内容を適切な内容に変更する処理も行う。
そして、以上の加工後のPrintTicketを、新たな印刷用PrintTicketとする(S41)。Thereafter, in any case, the driver identification information described in the PrintTicket read out in step S31 (after processing in step S37 and / or step S39), that is, the content of the feature element of "DriverName" Change to a thing (S40). If a header or footer is attached to the PrintTicket, processing for changing the content of the header or footer to an appropriate content is also performed in step S40.
Then, the processed PrintTicket is used as a new print PrintTicket (S41).
ここまでのステップS35乃至S41の処理により、ステップS31で読み出したPrintTicketの内容は、PrintCapabilitiesとの比較結果に応じて、制御対象のプリンタで実現可能な範囲の設定内容が印刷用PrintTicketに反映されることになる。この部分の処理においては、PC10のCPUは第2の制御手段として機能する。 Through the processing in steps S35 to S41 so far, the contents of the PrintTicket read out in step S31 reflect the setting contents in the range that can be realized by the printer to be controlled in the print PrintTicket according to the comparison result with PrintCapabilities. It will be. In the processing of this part, the CPU of the
以上のステップS33又はS41までの処理により、プリンタドライバ110は、ユーザがダブルクリックしたアイコンと対応するPrintTicketの内容を、そのPrintTicketを生成したのが自ドライバか他ドライバかに応じて適切に印刷用PrintTicketの内容に反映させることができる。 Through the processing up to step S33 or S41, the printer driver 110 appropriately prints the contents of the PrintTicket corresponding to the icon double-clicked by the user depending on whether the printTicket is generated by the driver or another driver. It can be reflected in the contents of PrintTicket.
次に、このPrintTicketの反映処理について、図4に示したプリンタドライバBにより印刷を行う際に、プリンタドライバAを用いて登録したPrintTicketを用いて印刷設定を行う場合を例に挙げてさらに説明する。
図14に、プリンタドライバBが持つPrintCapabilitiesを示す。Next, the process of reflecting this PrintTicket will be further described by taking as an example a case where print settings are made using the PrintTicket registered using the printer driver A when printing is performed by the printer driver B shown in FIG. .
FIG. 14 shows the PrintCapabilities that the printer driver B has.
このPrintCapabilitiesは、プリンタドライバBが制御するプリンタ20bが有する機能の内容を示すものであり、その形式は、図5に示したプリンタドライバAが持つPrintCapabilitiesと同じである。また、プリンタ20bの機能は、プリンタ20aと比較して、パンチ穴あけ機能がない点が異なるのみである。これを反映して、図14に示したPrintCapabilitiesの内容も、"JobHolePunch"(パンチ穴あけ)機能を示すFeature要素がない点が、図5に示したPrintCapabilitiesと異なるのみである。 This PrintCapabilities indicates the contents of the functions of the
図15に、プリンタドライバBが用いる印刷設定画面の表示例を示す。
この図に示すように、プリンタドライバBが用いる印刷設定画面310′には、制御対象のプリンタ20bにパンチ穴あけ機能がないことに伴い、パンチ穴あけ選択部315はないが、その他の点では、プリンタドライバAが用いる図7に示した画面と同様なものである。FIG. 15 shows a display example of a print setting screen used by the printer driver B.
As shown in this figure, the
図16に、プリンタドライバBにおける印刷設定の初期値を示すデフォルトPrintTicketを示す。
このデータは、Feature要素402〜405の内容により、印刷設定画面310′において、用紙サイズ選択部311の初期値が「A4」、給紙トレイ選択部312の初期値が「自動選択」、グラフィックモード選択部313の初期値が「ラスタ」、原稿方向選択部314の初期値が「縦長」であることを示している。Feature要素401は、PrintTicketを生成したのがプリンタドライバBであることを示すための要素である。そして、このデフォルトPrintTicketの内容が、プリンタドライバBが生成する印刷用PrintTicketの初期値となる。FIG. 16 shows a default PrintTicket indicating an initial value of the print setting in the printer driver B.
According to the contents of the
また、図15に示した印刷設定画面310′においてショートカット設定ボタン318が押下された場合、プリンタドライバBは、ディスプレイにショートカットアイコン管理画面を表示させる。 When the
図17及び図18に、プリンタドライバBが用いるショートカットアイコン管理画面の表示例を示す。
このショートカットアイコン管理画面330′は、枠やボタンの配置は、プリンタドライバAが用いる図8に示した画面と同様なものである。しかし、図4に示したように、プリンタドライバBと対応する印刷設定情報記憶フォルダには、印刷設定情報ファイル(PrintTicket)S,Tが登録されているのみであるので、初めにショートカットアイコン管理画面330′を表示させる時点では、図17に示すように、アイコン表示部331には、PrintTicketS,Tと対応する書式S,Tのアイコンを表示させる。17 and 18 show display examples of shortcut icon management screens used by the printer driver B. FIG.
The shortcut
また、ユーザが設定呼び出しボタン335を押下すると、プリンタドライバBは、他のプリンタドライバと対応する印刷設定情報記憶フォルダに格納されているPrintTicketを検索し、印刷設定情報記憶フォルダAに格納されているPrintTicketP〜Rを発見して、図18に符号337で示すように、これらと対応する書式P〜Rのアイコンをアイコン表示部331に追加する。 When the user presses the
そして、ユーザが書式Pのアイコンをダブルクリックすると、プリンタドライバBは、図11に示した処理を実行し、印刷設定情報記憶フォルダAからクリックされたアイコンと対応するPrintTicketPを読み出して、その内容を印刷用PrintTicketの内容に反映させる。 Then, when the user double-clicks the icon of the format P, the printer driver B executes the processing shown in FIG. 11, reads out the PrintTicketP corresponding to the clicked icon from the print setting information storage folder A, and stores the contents. Reflect the contents of PrintTicket for printing.
ここで、PrintTicketPの内容が図6に示したものであるとすると、図11のステップS34でこのPrintTicketPをプリンタドライバBが持つ図14のPrintCapabilitiesと比較した結果、プリンタドライバBの制御対象であるプリンタ20bは、PrintTicketPに記載された設定内容のうち、"JobHolePunch"には対応していないことがわかる。
そこで、プリンタドライバBは、読み出したPrintTicketPの内容を印刷用PrintTicketに反映させる際、プリンタ20bが対応していない"JobHolePunch"のFeature要素を削除する。そして、この加工後のPrintTicketPは、PrintCapabilitiesに含まれる全てのFeature要素が含まれているものである。Here, assuming that the contents of PrintTicketP are as shown in FIG. 6, as a result of comparing this PrintTicketP with the PrintCapabilities of FIG. It can be seen that 20b does not correspond to “JobHolePunch” among the setting contents described in PrintTicketP.
Therefore, when the content of the read PrintTicketP is reflected in the PrintTicket for printing, the printer driver B deletes the “JobHolePunch” Feature element that is not supported by the
従って、プリンタドライバBにより生成される印刷用PrintTicketは、図19に示すものとなる。
このPrintTicketは、"PageMediaSize","JobInputBin","JobGraphicsMode","PageOrientation"の4つのFeature要素の内容が、図6に示したPrintTicketと同じ内容になっている。"DriverName"のFeature要素の内容は、プリンタドライバBの識別情報を含むものに変更されている。Accordingly, the PrintTicket for printing generated by the printer driver B is as shown in FIG.
In this PrintTicket, the contents of the four Feature elements “PageMediaSize”, “JobInputBin”, “JobGraphicsMode”, and “PageOrientation” are the same as the PrintTicket shown in FIG. The content of the “DriverName” Feature element has been changed to include the identification information of the printer driver B.
また、別の例として、プリンタドライバBが、図20に示すPrintTicketの内容を印刷用PrintTicketに反映させる場合には、図11のステップS34でこのPrintTicketをプリンタドライバBが持つPrintCapabilitiesと比較した結果、プリンタドライバBの制御対象であるプリンタ20bは、PrintTicketに記載された設定内容全てに対応していることがわかる。また、図20に示すPrintTicketは、PrintCapabilitiesに含まれる全てのFeature要素が含まれているものである。 As another example, when the printer driver B reflects the contents of the PrintTicket shown in FIG. 20 on the PrintTicket for printing, the result of comparing this PrintTicket with the PrintCapabilities of the printer driver B in step S34 in FIG. It can be seen that the
そこで、プリンタドライバBは、図20に示したPrintTicketに対し、"DriverName"のFeature要素の内容を、プリンタドライバBの識別情報を含むものに変更する加工を行い、図21に示す印刷用PrintTicketを生成する。
このPrintTicketは、"DriverName"以外の全てのFeature要素の内容が、図20に示したPrintTicketと同じ内容になっている。Accordingly, the printer driver B performs processing for changing the content of the Feature element of “DriverName” to the one including the identification information of the printer driver B with respect to the PrintTicket shown in FIG. 20, and changes the PrintTicket for printing shown in FIG. 21. Generate.
In this PrintTicket, the contents of all Feature elements other than “DriverName” are the same as the PrintTicket shown in FIG.
また、逆に、プリンタドライバAが、図20に示したPrintTicketの内容を印刷用PrintTicketに反映させる場合にも、図11のステップS34でこのPrintTicketをプリンタドライバAが持つ図5に示したPrintCapabilitiesと比較した結果、プリンタドライバAの制御対象であるプリンタ20aは、PrintTicketに記載された設定内容全てに対応していることがわかる。しかし、図20に示したPrintTicketには、PrintCapabilitiesが有するFeature要素のうち、"JobHolePunch"のFeature要素が含まれていない。 Conversely, when the printer driver A reflects the contents of the PrintTicket shown in FIG. 20 on the PrintTicket for printing, the PrintCapabilities shown in FIG. As a result of the comparison, it can be seen that the
そこで、プリンタドライバAは、図示しないデフォルトPrintTicketにおける"JobHolePunch"のFeature要素の内容を、図20に示したPrintTicketに追加する。また、"DriverName"のFeature要素の内容を、プリンタドライバAの識別情報を含むものに変更する加工も行う。 Therefore, the printer driver A adds the content of the “JobHolePunch” Feature element in a default PrintTicket (not shown) to the PrintTicket shown in FIG. Further, the content of the Feature element of “DriverName” is changed to include the identification information of the printer driver A.
この結果、例えば図22に示す印刷用PrintTicketが生成されることになる。
このPrintTicketは、"DriverName"及び、図20に示したPrintTicketに含まれていなかった"JobHolePunch"以外の全てのFeature要素の内容が、図20に示したPrintTicketと同じ内容になっている。As a result, for example, the PrintTicket for printing shown in FIG. 22 is generated.
In this PrintTicket, the contents of all Feature elements other than “DriverName” and “JobHolePunch” not included in the PrintTicket shown in FIG. 20 are the same as the PrintTicket shown in FIG.
そして、図19,図21,図22のいずれの場合にも、プリンタドライバは、他ドライバが生成したPrintTicketを読み出してその内容を印刷用PrintTicketに反映させ、その反映後の印刷用PrintTicketを用いて、制御対象のプリンタに対して印刷設定の内容を通知することができる。 19, 21, and 22, the printer driver reads the PrintTicket generated by another driver, reflects the contents in the print PrintTicket, and uses the print PrintTicket after the reflection. The contents of the print settings can be notified to the printer to be controlled.
このように、以上説明してきたプリンタドライバ110によれば、ユーザは、他のプリンタドライバを用いて作成し保存した設定内容を読み込んで設定を行うことができるため、高い操作性を得ることができる。
また、プリンタドライバ110は、他ドライバが生成したPrintTicketの内容を反映させる場合には、そのPrintTicketと、制御対象のプリンタの機能を示すPrintCapabilitiesとを比較し、その比較結果に応じた範囲の機能に関する設定を印刷用PrintTicketの内容に反映させることができるので、機能の異なるプリンタを制御する他のドライバが生成し、自ドライバの制御対象デバイスが対応していない機能に関する設定情報を含む可能性があるPrintTicketでも、適切に印刷用PrintTicketの内容に反映させることができる。As described above, according to the printer driver 110 described above, the user can read and set the setting contents created and saved by using another printer driver, so that high operability can be obtained. .
Further, when reflecting the contents of the PrintTicket generated by another driver, the printer driver 110 compares the PrintTicket with the PrintCapabilities indicating the function of the printer to be controlled, and relates to a range of functions according to the comparison result. Since settings can be reflected in the contents of the PrintTicket for printing, other drivers that control printers with different functions may generate and include setting information related to functions that are not supported by the control target device of the driver itself. Even PrintTicket can be appropriately reflected in the contents of PrintTicket for printing.
特に、読み出したPrintTicketに、PrintCapabilitiesが示すデバイスの能力に含まれていない設定内容があった場合、その部分の内容を、印刷用PrintTicketに反映させないようにしているため、印刷用PrintTicketに不正な情報を記載してプリンタドライバ110や制御対象のプリンタの動作に不具合を生じさせるような事態を防止できる。 In particular, if the read PrintTicket contains settings that are not included in the device capabilities indicated by PrintCapabilities, the contents of that part are not reflected in the PrintTicket for printing. Thus, it is possible to prevent a situation in which a malfunction occurs in the operation of the printer driver 110 or the printer to be controlled.
また、読み出すPrintTicketの選択を受け付ける場合に、初期状態では、自ドライバと対応する印刷設定情報記憶フォルダに記憶しているPrintTicketを選択肢とし、ユーザの指示に応じて、それ以外のフォルダに記憶しているPrintTicketも選択肢に加えてPrintTicketの指定を受け付けるようにしているので、不必要に選択肢を増やしてユーザを混乱させることがない。
さらに、読み出すPrintTicketの選択を、そのPrintTicketに記載された設定内容に従ってプリンタに印刷を行わせた場合の書式の内容を示すグラフィックシンボルにより受け付けるようにしているため、ユーザは、選択肢となっている各PrintTicketの内容を容易に把握して、スムーズに選択操作を行うことができる。Also, when accepting the selection of PrintTicket to be read, in the initial state, the PrintTicket stored in the print setting information storage folder corresponding to the driver is selected as an option, and is stored in other folders according to the user's instruction. The existing PrintTicket accepts the PrintTicket specification in addition to the choices, so there is no need to unnecessarily increase the choices and confuse the user.
Furthermore, since the selection of the PrintTicket to be read is received by a graphic symbol indicating the contents of the format when the printer performs printing according to the setting contents described in the PrintTicket, the user can select each of the options. You can easily grasp the contents of PrintTicket and perform selection operations smoothly.
〔変形例:図23乃至図28〕
以上で実施形態の説明を終了するが、この発明において、装置の構成、具体的な処理内容、表示する画面の内容や用途、データの形式等が、以上説明してきた実施形態において具体的に説明したものに限られないことは、もちろんである。
例えば、プリンタドライバ110に、許可しない設定の組み合わせを排他設定として記憶させておき、印刷設定情報記憶フォルダから読み出したPrintTicketの内容を印刷用PrintTicketに反映させた際に、その許可しない設定の組み合わせが含まれることになった場合には、その含まれる組み合わせに関する項目の設定内容は、印刷用PrintTicketに反映させないようにする排他制御を行うことも考えられる。[Modification: FIGS. 23 to 28]
This is the end of the description of the embodiment. In the present invention, the configuration of the apparatus, the specific processing contents, the content and use of the screen to be displayed, the data format, and the like are specifically described in the embodiments described above. Of course, it is not limited to what was done.
For example, when a combination of settings that are not permitted is stored as exclusive settings in the printer driver 110 and the contents of the PrintTicket read from the print setting information storage folder are reflected in the PrintTicket for printing, the combination of settings that are not permitted. If it is included, it may be possible to perform exclusive control so that the setting contents of the items relating to the included combination are not reflected in the PrintTicket for printing.
図23に、この排他制御に使用する排他設定のデータ例を示す。
この例では、各行の「LIST」に続くカッコ内に、設定項目(Feature要素に相当)と設定値(Opation要素に相当)により、許可しない設定の組み合わせを記載している。
例えば、1行目のデータは、「InputBin(給紙トレイ)」の項目に「Tray1(トレイ1)」という値が設定され、かつ「Papersize(用紙サイズ)」の項目に「A3」という値が設定された状態になることは許可しない、ということを示している。同様に、2,3行目のデータはそれぞれ、「InputBin」の項目に「Tray1」という値が設定され、かつ「Papersize」の項目に「A6」や「B4」という値が設定された状態になることも許可しない、ということを示している。FIG. 23 shows an example of exclusive setting data used for this exclusive control.
In this example, combinations of settings that are not permitted are described in parentheses following “LIST” in each row by setting items (corresponding to Feature elements) and setting values (corresponding to Opation elements).
For example, in the data on the first line, the value “Tray1 (tray 1)” is set in the item “InputBin (paper feed tray)” and the value “A3” is set in the item “Papersize (paper size)”. It indicates that it is not permitted to enter the set state. Similarly, the data in the 2nd and 3rd lines are in a state where the value “Tray1” is set in the “InputBin” item and the values “A6” and “B4” are set in the “Papersize” item. It also means that it will not be allowed.
このような排他設定は、装置全体としては広範な選択肢(例えば用紙サイズ)に対応しているが、特定の機能を利用した場合、対応可能な範囲が狭まるというような場合に有効に活用できる。プリントエンジンはA3の画像形成に対応しているが、特定の給紙トレイからはA4サイズの用紙しか給紙できない場合等である。
なお、図23に示したデータは、GPDデータとして記載しているため、設定項目や設定値を示す文字列がPrintTicket中の記載とは異なるが、これらの対応関係はプリンタドライバ110が別途管理している。Such exclusive setting corresponds to a wide range of options (for example, paper size) as a whole apparatus, but can be effectively used when a specific function is used and a compatible range is narrowed. The print engine is compatible with A3 image formation, but only when A4 size paper can be fed from a specific paper feed tray.
Since the data shown in FIG. 23 is described as GPD data, the character strings indicating the setting items and setting values are different from those described in the PrintTicket. ing.
図24に、排他制御の処理のフローチャートを示す。
この処理は、上述した実施形態の図11の処理中で、ステップS40とS41の間で行うものである。
この処理では、プリンタドライバ110は、図11のステップS40までの処理で、読み出したPrintTicketを加工して、PrintCapabilitiesとの比較内容に応じて適切な範囲の内容を反映させたPrintTicketを生成した後、その加工後のPrintTicketに、図23に示すように予め登録しておいた排他設定が含まれているか否か判断する(S61)。FIG. 24 shows a flowchart of exclusive control processing.
This process is performed between steps S40 and S41 in the process of FIG. 11 of the above-described embodiment.
In this process, the printer driver 110 processes the read PrintTicket in the process up to step S40 in FIG. 11 and generates a PrintTicket reflecting the contents of an appropriate range according to the comparison contents with the PrintCapabilities. It is determined whether or not the exclusive print settings registered in advance as shown in FIG. 23 are included in the processed PrintTicket (S61).
そして、含まれていると判断した場合、発見した排他設定の内容を表示する(S62)。
この表示は、例えば図25に示すように、排他設定となっている設定内容の組み合わせを、その機能に関する設定を行わない旨のメッセージと共に表示すればよい。図25の例で、GPDデータに基づいて表示を行っていることは、図13の場合と同様である。If it is determined that it is included, the contents of the found exclusion setting are displayed (S62).
For example, as shown in FIG. 25, this display may be performed by displaying a combination of setting contents that are exclusive settings, together with a message that the setting related to the function is not performed. In the example of FIG. 25, the display based on the GPD data is the same as in the case of FIG.
そして、この表示を行った後、発見した排他設定を解消すべく、加工後のPrintTicketのうち排他設定となっている項目の内容を、デフォルトPrintTicketの内容に戻す(S6)。従って、排他設定となった部分については、ステップS31で読み出したPrintTicketの内容は印刷用PrintTicketには反映されないこととなる。
なお、デフォルト値は、排他設定とならないように定められているはずであるが、他の項目との関係によりステップS63の処理で新たな排他設定が生じる危険性がある場合には、ステップS61に戻って排他設定がなくなるまで処理を繰り返してもよい。After this display, in order to cancel the found exclusive setting, the contents of the items that are set exclusively in the processed PrintTicket are returned to the contents of the default PrintTicket (S6). Therefore, the contents of the PrintTicket read out in step S31 are not reflected in the print PrintTicket for the part that is set exclusively.
It should be noted that the default value should be determined not to be exclusive setting, but if there is a risk that a new exclusive setting may occur in the process of step S63 due to the relationship with other items, the process proceeds to step S61. The process may be repeated until the exclusive setting disappears.
そして、以上の処理の後、図11のステップS41に進み、加工後のPrintTicketを印刷用PrintTicketとする。
ステップS61でNOの場合には、そのまま図11のステップS41に進む。
これらのステップS61乃至S63の処理においては、PC10のCPUは排他制御手段として機能する。
なお、自ドライバが作成したPrintTicketの内容を反映させる場合には、登録時に排他設定が含まれないことを確認しているはずであるので、改めて排他設定の有無について検討する必要はなく、このような排他制御は不要である。Then, after the above processing, the process proceeds to step S41 in FIG. 11, and the processed PrintTicket is set as a print PrintTicket.
If NO in step S61, the process proceeds to step S41 in FIG.
In the processes of steps S61 to S63, the CPU of the
If you want to reflect the contents of the PrintTicket created by your driver, you should have confirmed that the exclusive setting is not included at the time of registration. Such exclusive control is unnecessary.
次に、この排他設定を考慮したPrintTicketの反映処理について、具体例を挙げて説明する。ここでは、上述の実施形態で説明したプリンタドライバBにより印刷を行う際に、プリンタドライバAを用いて登録したPrintTicketを用いて印刷設定を行う場合を例に挙げる。 Next, PrintTicket reflection processing in consideration of this exclusive setting will be described with a specific example. Here, a case where print settings are performed using a PrintTicket registered using the printer driver A when performing printing by the printer driver B described in the above embodiment will be described as an example.
図26に、プリンタドライバAが生成して登録し、プリンタドライバBが読み出して印刷用PrintTicketに反映させるPrintTicketの例を示す。
この場合、プリンタドライバBは、図11に示したステップS41までの処理において、図27に示すPrintTicketを生成する。このPrintTicketは、図26に示したPrintTicketのうち、プリンタ20bが対応していない"JobHolePunch"のFeature要素を削除し、"DriverName"のFeature要素の内容を、プリンタドライバBの識別情報を含むものに置き換えたものである。FIG. 26 shows an example of PrintTicket generated and registered by the printer driver A and read out by the printer driver B and reflected in the print PrintTicket.
In this case, the printer driver B generates the PrintTicket shown in FIG. 27 in the processing up to step S41 shown in FIG. This PrintTicket deletes the “JobHolePunch” Feature element that is not supported by the
その後、このPrintTicketについて図24のステップS61で排他設定の有無を判定すると、給紙トレイ(JobInputBin;InputBin)に「トレイ1(Tray1; Tray1)」が設定され、用紙サイズ(PageMediaSize; PaperSize)に「A3(ISOA3;A3)」が設定されていることから、この部分に排他設定がなされていることがわかる。
そこで、プリンタドライバBは、これらの項目を、図16に示したデフォルトPrintTicketの内容に戻し、読み出したPrintTicketの内容を反映した印刷用PrintTicketとして図28に示すPrintTicketを生成する。Thereafter, when it is determined in step S61 in FIG. 24 whether or not the exclusive setting is set for this PrintTicket, “Tray 1 (Tray1; Tray1)” is set in the paper feed tray (JobInputBin; InputBin), and “PaperSize (PageMediaSize; PaperSize)” Since “A3 (ISOA3; A3)” is set, it is understood that the exclusive setting is made in this portion.
Therefore, the printer driver B returns these items to the contents of the default PrintTicket shown in FIG. 16, and generates a PrintTicket shown in FIG. 28 as a PrintTicket for printing reflecting the contents of the read PrintTicket.
以上の処理を行うことにより、他ドライバが作成したPrintTicketを読み出して印刷用PrintTicketに反映させる場合でも、このことにより排他設定がなされてしまうことを防止し、適切な印刷を行えるようにすることができる。どのような設定の組み合わせが排他であるかは、機種によって異なるため、異なるプリンタに対しての使用を前提に登録された、他ドライバ由来のPrintTicketを利用する際には、例えその内容を全て印刷用PrintTicketに反映させたとしても、自ドライバでは排他設定となってしまうことがあり得る。このため、読み出したPrintTicketの内容をそのまま印刷用PrintTicketに反映させる場合でも、排他処理を行うことが好ましいと言える。 By performing the above processing, even when the PrintTicket created by another driver is read out and reflected in the PrintTicket for printing, this prevents the exclusive setting from being made and allows appropriate printing to be performed. it can. Since the combinations of settings that are exclusive differ depending on the model, when using PrintTickets derived from other drivers registered for use on different printers, for example, printing all the contents Even if it is reflected in the PrintTicket, the driver may become an exclusive setting. For this reason, it can be said that it is preferable to perform the exclusive processing even when the contents of the read PrintTicket are directly reflected in the print PrintTicket.
また、別の変形として、PC10が備えるプリンタドライバのうち、一部のプリンタドライバのみについて、上述した印刷設定情報記憶フォルダへのPrintTicketの登録や、他ドライバが登録したPrintTicketの印刷用PrintTicketへの反映の機能を持たせてもよい。登録機能のみや、反映機能のみをもつドライバがあってもよい。また、印刷用PrintTicketに内容を反映させるPrintTicketを、PC10の外部の装置から読み出すことができるようにしてもよい。
さらに、GUIの構成が、ドライバ間で共通である必要はなく、ドライバ毎に異なるGUIを用いても、全く問題ない。As another modification, only a part of printer drivers included in the
Further, the GUI configuration need not be common among the drivers, and there is no problem even if a different GUI is used for each driver.
また、上述した実施形態では、図11のステップS39や図24のステップS63で、該当するFeature要素の内容をデフォルトの内容にする例について説明したが、これに代えて、PrintTicketの読み出し時点での印刷用PrintTicketの内容に変更するようにしてもよい。読み出したPrintTicketの内容を反映させることが不適当な範囲については、ユーザがそれまでに行った設定の内容を尊重する趣旨である。
また、上述した実施形態では、印刷設定情報記憶フォルダから読み出したPrintTicketを加工して新たな印刷用PrintTicketを生成する例について説明したが、PrintTicketの読み出し時点での印刷用PrintTicketに、読み出したPrintTicketの内容のうち反映させるべき部分を上書きすることにより、新たな印刷用PrintTicketを生成するようにしてもよい。In the above-described embodiment, the example in which the content of the corresponding Feature element is set to the default content in step S39 in FIG. 11 or step S63 in FIG. 24 has been described, but instead, at the time of reading the PrintTicket. You may make it change into the content of PrintTicket for printing. The range in which it is inappropriate to reflect the contents of the read PrintTicket is to respect the contents of the settings made by the user so far.
In the above-described embodiment, an example in which a PrintTicket read from the print setting information storage folder is processed to generate a new PrintTicket for printing has been described. A new PrintTicket for printing may be generated by overwriting a portion to be reflected in the contents.
また、上述した実施形態では、デバイスの制御に用いる設定の内容をPrintTicket形式のデータとして取扱い、制御対象のデバイスの能力をPrintCapabilities形式のデータとして取り扱う例について説明した。この形式であると、公知のOSが提供する機能を利用して容易にこの発明の情報処理装置を構成することができるが、他のデータ形式を用いたとしても、同等な機能を実現することは可能である。
また、各プリンタやプリンタドライバが有する機能や選択可能な選択肢が、上述した実施形態のものに限られないことは、もちろんである。Further, in the above-described embodiment, an example has been described in which the setting contents used for device control are handled as PrintTicket format data, and the capabilities of the device to be controlled are handled as PrintCapabilities format data. With this format, the information processing apparatus of the present invention can be easily configured using the functions provided by a known OS, but even if other data formats are used, equivalent functions can be realized. Is possible.
Of course, the functions and selectable options of each printer and printer driver are not limited to those of the above-described embodiments.
また、この発明を、プリンタ以外のデバイスを制御するデバイスドライバ手段を有する情報処理装置に適用してもよいことはもちろんである。例えば、この発明は、スキャナ・ファクシミリ装置・複写機を始めとする種々の画像形成装置,ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム,自動車,航空機等の任意の電子装置を制御するためのデバイスドライバ手段及びそのデバイスドライバ手段を有する情報処理装置を構成する場合に適用可能である。 Of course, the present invention may be applied to an information processing apparatus having device driver means for controlling a device other than a printer. For example, the present invention includes various image forming apparatuses such as scanners, facsimile machines, and copiers, network home appliances, vending machines, medical equipment, power supply devices, air conditioning systems, gas / water / electric metering systems, automobiles, etc. The present invention can be applied to the case of configuring a device driver means for controlling an arbitrary electronic device such as an aircraft and an information processing apparatus having the device driver means.
また、この発明の記録媒体は、コンピュータにハードウェアを制御させて上述したようなデバイスドライバ手段として機能させるためのプログラムを記録した記録媒体である。このような記録媒体からこのプログラムをRAMに読み出させてCPUに実行させることにより、上述した実施形態や変形例と同様の効果を得ることができる。また、このようなプログラムを、記録媒体の配布によらず、ダウンロード等により提供することも可能である。
また、以上述べてきた各実施形態の構成及び変形例は、矛盾しない範囲で適宜組み合わせて適用することも可能である。The recording medium of the present invention is a recording medium that records a program for causing a computer to control hardware to function as device driver means as described above. By reading this program from such a recording medium into the RAM and causing the CPU to execute it, it is possible to obtain the same effects as those of the above-described embodiments and modifications. Further, such a program can be provided by downloading or the like without being distributed on the recording medium.
In addition, the configurations and modifications of the embodiments described above can be applied in appropriate combinations within a consistent range.
以上説明してきたように、この発明の情報処理装置、デバイス制御方法又はデバイス制御プログラムによれば、特定のデバイスドライバを用いて行った設定の内容を、他のデバイスドライバを用いる場合でも容易かつ適切に利用できるようにすることができる。
従って、この発明を適用することにより、操作性のよいデバイスドライバを提供することができる。As described above, according to the information processing apparatus, the device control method, or the device control program of the present invention, the settings made using a specific device driver can be easily and appropriately set even when another device driver is used. Can be made available to you.
Therefore, by applying the present invention, a device driver with good operability can be provided.
10:PC、20:プリンタ、30:ネットワーク、110:プリンタドライバ、
111:印刷設定情報管理部、112:印刷設定情報読み込み部、
113:印刷設定情報検査部、114:印刷設定反映部、
115:印刷設定情報作成/保存部、116:印刷実行部、
310,310′:印刷設定画面、330,330′:ショートカットアイコン管理画面10: PC, 20: printer, 30: network, 110: printer driver,
111: Print setting information management unit, 112: Print setting information reading unit,
113: Print setting information inspection unit, 114: Print setting reflection unit,
115: Print setting information creation / storage unit, 116: Print execution unit,
310, 310 ': Print setting screen, 330, 330': Shortcut icon management screen
この発明は、情報処理装置、印刷制御プログラム、記録媒体及び画像処理システムに関する。The present invention relates to aninformation processing apparatus, a print control program, a recording medium, and an image processing system .
例えばプリンタを制御して印刷を実行させる場合、ユーザが文書作成ソフトや表計算ソフト、画像編集ソフト等の各種アプリで作成・閲覧した文書を印刷する指示を行うと、アプリは、指示に従って印刷すべき文書のデータをプリンタドライバ(印刷制御プログラム)に渡し、プリンタドライバがその文書のデータをプリンタに渡して印刷を実行させる。For example, when printing is executed by controlling a printer, if the user instructs to print a document created or viewed with various applications such as document creation software, spreadsheet software, or image editing software, the application prints according to the instruction. The document data to be transferred is passed to a printer driver(printing control program) , and the printer driver passes the document data to the printer to execute printing.
この発明は、このような問題を解決し、特定の印刷制御プログラムを用いて行った設定の内容を、他の印刷制御プログラムを用いる場合でも容易に利用できるようにすることを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to solve such problems and make it possible toeasily use the contents of settings made using a specificprint control program even when otherprint control programs are used.
上記の目的を達成するため、この発明は、第1の画像処理装置に対して印刷を要求する第1の印刷制御プログラムと、上記第1の画像処理装置とは異なる機種である第2の画像処理装置に対して印刷を要求する第2の印刷制御プログラムとを搭載する情報処理装置において、上記第1の印刷制御プログラムに、上記第1の画像処理装置に対して要求する印刷の設定であって、上記第1の画像処理装置が有する印刷に用いる各機能に対する設定をそれぞれ受け付ける設定画面を表示装置に表示する表示制御手段と、上記第1の画像処理装置が有する印刷に用いる各機能に対する設定として上記設定画面に反映されている設定を格納させておく要求に応じて、その反映されている設定に基づいて第1の印刷設定を生成し、生成したその第1の印刷設定を上記情報処理装置が有する記憶部に格納する生成保存手段と、上記第2の印刷制御プログラムによって生成され、上記記憶部に格納された第2の印刷設定であって、上記第2の画像処理装置が有する印刷に用いる各機能に対する設定に基づく第2の印刷設定と、上記生成保存手段によって格納された上記第1の印刷設定とから、上記設定画面に反映させる一の印刷設定の選択を受け付ける選択受付手段と、上記選択受付手段によって受け付けられた上記一の印刷設定が上記第1の印刷制御プログラムにより生成された印刷設定であるか否かを判定する判定手段と、上記判定手段が上記一の印刷設定は上記第1の印刷制御プログラムにより生成されたと判定した場合、上記一の印刷設定に示された設定を上記設定画面に反映させ、上記判定手段が上記一の印刷設定は上記第1の印刷制御プログラムにより生成されていないと判定した場合、上記第1の画像処理装置が有する印刷に用いる各機能に基づいて、上記一の印刷設定に示された設定のうち上記設定画面に反映可能な設定を上記設定画面に反映させる反映手段とを設けたものである。In order to achieve the above object, the present invention provides a first print control program for requesting printing to the first image processing apparatus, and a second image which is a model different from the first image processing apparatus. In an information processing apparatus equipped with a second print control program for requesting printing to the processing apparatus, the print setting requested to the first image processing apparatus is set in the first print control program. Display control means for displaying on the display device a setting screen for accepting settings for each function used for printing of the first image processing apparatus, and settings for each function used for printing of the first image processing apparatus In response to a request for storing the setting reflected on the setting screen, a first print setting is generated based on the reflected setting, and the generated first print Generation and storage means for storing the settings in a storage unit included in the information processing apparatus, and a second print setting generated by the second print control program and stored in the storage unit, wherein the second image One print setting to be reflected on the setting screen is selected from the second print setting based on the setting for each function used for printing of the processing apparatus and the first print setting stored by the generation storage unit. A selection accepting means for accepting, a judging means for judging whether or not the one print setting accepted by the selection accepting means is a print setting generated by the first print control program; and If it is determined that the one print setting is generated by the first print control program, the setting indicated in the one print setting is reflected on the setting screen, and the determination is performed. When the means determines that the one print setting has not been generated by the first print control program, the one print setting is indicated based on each function used for printing of the first image processing apparatus. Reflecting means for reflecting the setting that can be reflected in the setting screen among the set settings to the setting screen is provided.
このような情報処理装置において、上記生成保存手段が、上記第1の印刷制御プログラムを識別する識別情報を含む第1の設定情報を生成し、上記判定手段が、上記選択受付手段によって受け付けられた上記一の印刷設定に上記第1の印刷制御プログラムを識別する識別情報が含まれているか否かに基づいて、上記一の印刷設定が上記第1の印刷制御プログラムで生成された印刷設定であるか否かを判定するようにするとよい。In such an information processing apparatus, the generation and storage unit generates first setting information including identification information for identifying the first print control program, and the determination unit is received by the selection reception unit. The one print setting is a print setting generated by the first print control program based on whether the one print setting includes identification information for identifying the first print control program. It is good to determine whether or not.
あるいは、上記反映手段が、上記判定手段が上記一の印刷設定は上記第1の印刷制御プログラムにより生成されていないと判定した場合、上記一の印刷設定に示された設定それぞれに対する第2の画像処理装置が有する印刷に用いる各機能と上記第1の画像処理装置が有する印刷に用いる各機能との比較に基づいて、上記一の印刷設定に示された設定のうち上記設定画面に反映可能な設定を上記設定画面に反映させるようにするとよい。Alternatively, when the reflecting unit determines that the one print setting is not generated by the first print control program, the reflecting unit determines a second image for each of the settings indicated in the one print setting. Based on a comparison between each function used for printing included in the processing apparatus and each function used for printing included in the first image processing apparatus, it can be reflected in the setting screen among the settings indicated in the one print setting. The settings should be reflected on the setting screen.
あるいは、上記印刷に用いる機能を、用紙サイズ、給紙トレイ、グラフィックモード、原稿方向、パンチ穴あけのいずれかとするとよい。Alternatively, the function used for the printing may be any of paper size, paper feed tray, graphic mode, document orientation, and punching.
さらに、上記用紙サイズに対する設定を、A6、A3、A4、B4、のいずれかとし、上記給紙トレイに対する設定を、自動選択、手差しトレイ、トレイ1、トレイ2のいずれかとするとよい。Furthermore, the setting for the paper size may be any one of A6, A3, A4, and B4, and the setting for the paper feed tray may be any of automatic selection, manual feed tray,
あるいは、上記第1の印刷設定及び第2の印刷設定を、それぞれPrintTicketとするとよい。Alternatively, each of the first print setting and the second print setting may be PrintTicket.
また、この発明の印刷制御プログラムは、コンピュータに、第1の画像処理装置に対して印刷を要求する機能を実現させるための印刷制御プログラムであって、上記コンピュータを、上記第1の画像処理装置に対して要求する印刷の設定であって、上記第1の画像処理装置が有する印刷に用いる各機能に対する設定をそれぞれ受け付ける設定画面を表示装置に表示する表示制御手段と、上記第1の画像処理装置が有する印刷に用いる各機能に対する設定として上記設定画面に反映されている設定を格納させておく要求に応じて、その反映されている設定に基づいて第1の印刷設定を生成し、生成したその第1の印刷設定を上記情報処理装置が有する記憶部に格納する生成保存手段と、コンピュータに上記第1の画像処理装置とは異なる機種である第2の画像処理装置に対して印刷を要求する機能を実現させるための他の印刷制御プログラムによって生成され、上記記憶部に格納された第2の印刷設定であって、上記第2の画像処理装置が有する印刷に用いる各機能に対する設定に基づく第2の印刷設定と、上記生成保存手段によって格納された上記第1の印刷設定とから、上記設定画面に反映させる一の印刷設定の選択を受け付ける選択受付手段と、上記選択受付手段によって受け付けられた上記一の印刷設定が、その印刷制御プログラムにより生成された印刷設定であるか否かを判定する判定手段と、上記判定手段が上記一の印刷設定はその印刷制御プログラムにより生成されたと判定した場合、上記一の印刷設定に示された設定を上記設定画面に反映させ、上記判定手段が上記一の印刷設定はその印刷制御プログラムにより生成されていないと判定した場合、上記第1の画像処理装置が有する印刷に用いる各機能に基づいて、上記一の印刷設定に示された設定のうち上記設定画面に反映可能な設定を上記設定画面に反映させる反映手段として機能させるための印刷制御プログラムである。According to another aspect of the present invention, there is provided a print control program for causing a computer to realize a function of requesting printing to the first image processing apparatus, wherein the computer is connected to the first image processing apparatus. Display control means for displaying on the display device a setting screen for accepting settings for each function used for printing of the first image processing apparatus, and the first image processing requested by the first image processing apparatus In response to a request to store the setting reflected in the setting screen as a setting for each function used for printing of the apparatus, the first print setting is generated based on the reflected setting and generated. Generation and storage means for storing the first print setting in the storage unit of the information processing apparatus, and a computer with a different model from the first image processing apparatus A second print setting generated by another print control program for realizing a function of requesting printing to the second image processing apparatus and stored in the storage unit, wherein the second image One print setting to be reflected on the setting screen is selected from the second print setting based on the setting for each function used for printing of the processing apparatus and the first print setting stored by the generation storage unit. A selection accepting means for accepting, a judging means for judging whether or not the one print setting accepted by the selection accepting means is a print setting generated by the print control program; If it is determined that the print setting is generated by the print control program, the setting shown in the one print setting is reflected on the setting screen, and the determination unit If it is determined that the print setting is not generated by the print control program, based on the functions used for printing that the first image processing apparatus has, the setting of the setting shown in the one print setting is A print control program for causing a setting that can be reflected on a screen to function as a reflection unit that reflects the setting on the setting screen.
このような印刷制御プログラムにおいて、上記生成保存手段が、上記第1の印刷制御プログラムを識別する識別情報を含む第1の設定情報を生成し、上記判定手段が、上記選択受付手段によって受け付けられた上記一の印刷設定に上記第1の印刷制御プログラムを識別する識別情報が含まれているか否かに基づいて、上記一の印刷設定が上記第1の印刷制御プログラムで生成された印刷設定であるか否かを判定するようにするとよい。In such a print control program, the generation and storage unit generates first setting information including identification information for identifying the first print control program, and the determination unit is received by the selection reception unit. The one print setting is a print setting generated by the first print control program based on whether the one print setting includes identification information for identifying the first print control program. It is good to determine whether or not.
あるいは、上記反映手段が、上記判定手段が上記一の印刷設定はその印刷制御プログラムにより生成されていないと判定した場合、上記一の印刷設定に示された設定それぞれに対する第2の画像処理装置が有する印刷に用いる各機能と上記第1の画像処理装置が有する印刷に用いる各機能との比較に基づいて、上記一の印刷設定に示された設定のうち上記設定画面に反映可能な設定を上記設定画面に反映させるようにするとよい。Alternatively, when the reflection unit determines that the one print setting is not generated by the print control program, the second image processing device for each of the settings indicated in the one print setting is Based on a comparison between each function used for printing and each function used for printing of the first image processing apparatus, settings that can be reflected in the setting screen among the settings shown in the one print setting are described above. It should be reflected on the setting screen.
あるいは、上記印刷に用いる機能を、用紙サイズ、給紙トレイ、グラフィックモード、原稿方向、パンチ穴あけのいずれかとするとよい。Alternatively, the function used for the printing may be any of paper size, paper feed tray, graphic mode, document orientation, and punching.
さらに、上記用紙サイズに対する設定を、A6、A3、A4、B4、のいずれかとし、上記給紙トレイに対する設定を、自動選択、手差しトレイ、トレイ1、トレイ2のいずれかとするとよい。Furthermore, the setting for the paper size may be any one of A6, A3, A4, and B4, and the setting for the paper feed tray may be any of automatic selection, manual feed tray,
あるいは、上記第1の印刷設定及び第2の印刷設定を、それぞれPrintTicketとするとよい。Alternatively, each of the first print setting and the second print setting may be PrintTicket.
また、この発明の記録媒体は、上記のいずれかの印刷制御プログラムを記録した、コンピュータにより読取可能な記録媒体である。The recording medium of the present invention is a computer-readable recording medium on which any one of the above print control programs is recorded.
また、この発明の画像処理システムは、上記のいずれかの印刷制御プログラムと、上記第1の画像処理装置とを備えた画像処理システムである。An image processing system of the present invention is an image processing system including any one of the above print control programs and the first image processing apparatus.
以上のようなこの発明の構成によれば、特定の印刷制御プログラムを用いて行った設定の内容を、他の印刷制御プログラムを用いる場合でも容易かつ適切に利用できるようにすることができる。According to theconfiguration of the present invention as described above, it is possible to easily and appropriately use the contents of the settings performed using a specificprint control program even when using anotherprint control program.
以上説明してきたように、この発明の情報処理装置、印刷制御プログラム、記録媒体及び画像処理システムによれば、特定の印刷制御プログラムを用いて行った設定の内容を、他の印刷制御プログラムを用いる場合でも容易に利用できるようにすることができる。As described above, according to the information processing apparatus, the print control program, the recording medium, and the image processing system of the present invention, the setting contents set by using the specificprint control program are used by anotherprint control program . Even in cases,it can be madeeasily available.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013137886AJP5692294B2 (en) | 2007-08-16 | 2013-07-01 | Information processing apparatus, print control program, recording medium, and image processing system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007212325 | 2007-08-16 | ||
| JP2007212325 | 2007-08-16 | ||
| JP2013137886AJP5692294B2 (en) | 2007-08-16 | 2013-07-01 | Information processing apparatus, print control program, recording medium, and image processing system |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008148305ADivisionJP2009064415A (en) | 2007-08-16 | 2008-06-05 | Information processing apparatus, device control method, device control program, and recording medium |
| Publication Number | Publication Date |
|---|---|
| JP2013211058Atrue JP2013211058A (en) | 2013-10-10 |
| JP5692294B2 JP5692294B2 (en) | 2015-04-01 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008148305APendingJP2009064415A (en) | 2007-08-16 | 2008-06-05 | Information processing apparatus, device control method, device control program, and recording medium |
| JP2013137886AExpired - Fee RelatedJP5692294B2 (en) | 2007-08-16 | 2013-07-01 | Information processing apparatus, print control program, recording medium, and image processing system |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008148305APendingJP2009064415A (en) | 2007-08-16 | 2008-06-05 | Information processing apparatus, device control method, device control program, and recording medium |
| Country | Link |
|---|---|
| JP (2) | JP2009064415A (en) |
| CN (1) | CN101369222B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018045577A (en)* | 2016-09-16 | 2018-03-22 | キヤノン株式会社 | Information processing device, method and program |
| JP2018073089A (en)* | 2016-10-28 | 2018-05-10 | 株式会社リコー | Information processing device, information processing system, information processing method, and program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5768342B2 (en)* | 2009-08-11 | 2015-08-26 | 株式会社リコー | Print control system and data control method |
| JP5581793B2 (en) | 2010-04-30 | 2014-09-03 | 株式会社リコー | Information processing apparatus, program, and storage medium |
| JP2012185806A (en)* | 2011-01-20 | 2012-09-27 | Canon Inc | System and method for updating user interface of printer |
| JP6007015B2 (en)* | 2012-05-22 | 2016-10-12 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus and image forming program |
| JP5619261B2 (en)* | 2012-12-12 | 2014-11-05 | シャープ株式会社 | Electrical equipment |
| JP5825565B2 (en)* | 2013-11-07 | 2015-12-02 | コニカミノルタ株式会社 | Printer driver and method of adding printer driver print function |
| JP2015230705A (en)* | 2014-06-06 | 2015-12-21 | 株式会社リコー | Information processing apparatus, printing method, and program |
| US9531891B2 (en)* | 2014-10-14 | 2016-12-27 | Ricoh Company, Ltd. | Printer identification and setting control program and information processing apparatus implementing the printer identification and setting control program |
| JP6176230B2 (en) | 2014-12-15 | 2017-08-09 | コニカミノルタ株式会社 | Print control apparatus, image forming apparatus, and print control program |
| JP2016177781A (en)* | 2015-03-20 | 2016-10-06 | 株式会社リコー | Information processing system, information processing device, and program |
| JP6694540B2 (en)* | 2019-06-28 | 2020-05-13 | シャープ株式会社 | Print control device, print control device control method, and printer driver program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10326167A (en)* | 1997-03-25 | 1998-12-08 | Seiko Epson Corp | Print system, printer control device, printer, and printer control method |
| JP2003091389A (en)* | 2001-09-14 | 2003-03-28 | Canon Inc | Print control method and apparatus |
| US20060023246A1 (en)* | 1999-07-23 | 2006-02-02 | Electronics For Imaging, Inc. | Apparatus and methods for transferring printer driver preferences |
| JP2006260089A (en)* | 2005-03-16 | 2006-09-28 | Ricoh Co Ltd | PRINT CONTROL DEVICE, PRINT CONTROL PROGRAM, AND STORAGE MEDIUM |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006053717A (en)* | 2004-08-11 | 2006-02-23 | Ricoh Printing Systems Ltd | Method for managing setting information of printer driver in print system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10326167A (en)* | 1997-03-25 | 1998-12-08 | Seiko Epson Corp | Print system, printer control device, printer, and printer control method |
| US20060023246A1 (en)* | 1999-07-23 | 2006-02-02 | Electronics For Imaging, Inc. | Apparatus and methods for transferring printer driver preferences |
| JP2003091389A (en)* | 2001-09-14 | 2003-03-28 | Canon Inc | Print control method and apparatus |
| JP2006260089A (en)* | 2005-03-16 | 2006-09-28 | Ricoh Co Ltd | PRINT CONTROL DEVICE, PRINT CONTROL PROGRAM, AND STORAGE MEDIUM |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018045577A (en)* | 2016-09-16 | 2018-03-22 | キヤノン株式会社 | Information processing device, method and program |
| JP2018073089A (en)* | 2016-10-28 | 2018-05-10 | 株式会社リコー | Information processing device, information processing system, information processing method, and program |
| Publication number | Publication date |
|---|---|
| CN101369222B (en) | 2012-03-28 |
| CN101369222A (en) | 2009-02-18 |
| JP2009064415A (en) | 2009-03-26 |
| JP5692294B2 (en) | 2015-04-01 |
| Publication | Publication Date | Title |
|---|---|---|
| JP5692294B2 (en) | Information processing apparatus, print control program, recording medium, and image processing system | |
| US8144346B2 (en) | Apparatus and method for controlling a device with a device driver | |
| JP4240690B2 (en) | Information processing apparatus, information processing method, information processing system, and recording medium | |
| JP5975666B2 (en) | Information processing apparatus, information processing method, and program | |
| US20050024671A1 (en) | Peripheral device control system and method | |
| US8994970B2 (en) | Information processing apparatus, control method, and storage medium | |
| JP2002215361A (en) | Information processor, printing management, device, system and method, storage medium storing computer- readable program, and printing control program | |
| US20090284783A1 (en) | Image forming apparatus, control method and control program therefor | |
| US8611248B2 (en) | Information processing apparatus, device information display method, and computer-readable storage medium | |
| JP2011164854A (en) | Print setting management device, application device, print setting management method, print control method, and program | |
| US12327057B2 (en) | Information processing apparatus, control method of information processing apparatus, and storage medium for acquiring capability information about a printer | |
| US20090091791A1 (en) | Methods and systems for third-party administrative control of remote imaging jobs and imaging devices | |
| EP2393275B1 (en) | Information processing system, information processing apparatus, control method thereof, and program | |
| US20110279862A1 (en) | Information processing apparatus and control method thereof, and storage medium | |
| US12430083B2 (en) | Information processing apparatus, control method therefor, and non-transitory computer-readable storage medium | |
| US12069213B2 (en) | Information processing apparatus capable of preventing lowering of operability when printing is performed, method of controlling information processing apparatus, and storage medium | |
| JP5326477B2 (en) | Information processing apparatus, information processing program, recording medium, and information processing method | |
| JP2009181401A (en) | Information processing apparatus, device control system, program, and recording medium | |
| JP2010092487A (en) | Print control apparatus and printticket control method | |
| JP2002215721A (en) | INFORMATION PROCESSING APPARATUS AND METHOD, STORAGE MEDIUM CONTAINING COMPUTER-READABLE PROGRAM, AND PRINT CONTROL PROGRAM | |
| JP5893295B2 (en) | Information processing apparatus, display method, and program | |
| JP4011918B2 (en) | Print order receiving apparatus, print order receiving method and program | |
| JP2025107754A (en) | Application program, information processing device and control method thereof | |
| JP2007156994A (en) | Host apparatus and printing control method | |
| JP2004005015A (en) | Search method, search program, and information processing device |
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment | Free format text:JAPANESE INTERMEDIATE CODE: A523 Effective date:20130725 | |
| A521 | Written amendment | Free format text:JAPANESE INTERMEDIATE CODE: A523 Effective date:20130731 | |
| A621 | Written request for application examination | Free format text:JAPANESE INTERMEDIATE CODE: A621 Effective date:20130731 | |
| A977 | Report on retrieval | Free format text:JAPANESE INTERMEDIATE CODE: A971007 Effective date:20140423 | |
| A131 | Notification of reasons for refusal | Free format text:JAPANESE INTERMEDIATE CODE: A131 Effective date:20140527 | |
| A521 | Written amendment | Free format text:JAPANESE INTERMEDIATE CODE: A523 Effective date:20140728 | |
| 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:20150106 | |
| A61 | First payment of annual fees (during grant procedure) | Free format text:JAPANESE INTERMEDIATE CODE: A61 Effective date:20150119 | |
| R151 | Written notification of patent or utility model registration | Ref document number:5692294 Country of ref document:JP Free format text:JAPANESE INTERMEDIATE CODE: R151 | |
| LAPS | Cancellation because of no payment of annual fees |