JP2012221093A - Print driver and printing-command device - Google Patents
Print driver and printing-command device Download PDFInfo
- Publication number
- JP2012221093A JP2012221093A JP2011084441A JP2011084441A JP2012221093A JP 2012221093 A JP2012221093 A JP 2012221093A JP 2011084441 A JP2011084441 A JP 2011084441A JP 2011084441 A JP2011084441 A JP 2011084441A JP 2012221093 A JP2012221093 A JP 2012221093A
- Authority
- JP
- Japan
- Prior art keywords
- display screen
- control
- information
- print driver
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
本発明は、印刷ドライバー及び印刷指令装置に関する。 The present invention relates to a print driver and a print command device.
従来、印刷ドライバーとしては、プリンター内に印刷ドライバーの設定情報を保持し、ユーザー単位で印刷ドライバーの設定情報を管理し、必要なときに印刷ドライバーの設定情報をユーザーが使用するコンピューター(PC)に提供するものとし、異なるPC間における同一ユーザーに対する印刷ドライバーの設定情報の流用や、PCに依存しない印刷ドライバーの設定情報の管理や故障や誤動作による設定情報の損失からの容易な回復を図るものが提案されている(例えば、特許文献1参照)。 Conventionally, as a print driver, the print driver setting information is stored in the printer, the print driver setting information is managed for each user, and the print driver setting information is stored on the computer (PC) used by the user when necessary. Some of them are intended to be used for diverting print driver setting information for the same user between different PCs, managing print driver setting information independent of the PC, and easily recovering from loss of setting information due to failure or malfunction. It has been proposed (see, for example, Patent Document 1).
ところで、特許文献1などの印刷ドライバーは、プリンターの機能に応じて印刷設定の表示画面を変えなければならないことがある。例えば、ユーザーごとにプリンターの機能をカスタマイズする場合など、印刷ドライバーのプログラムの変更が必要であった。印刷ドライバーのプログラムは、比較的大規模であり、小変更であっても影響が多岐に亘ることがあり、また、プログラムの変更には、専門的な知識が必要であることから、その変更をより容易に行うことが望まれていた。 By the way, a print driver such as Patent Document 1 may have to change a display screen for print settings in accordance with a function of the printer. For example, when customizing printer functions for each user, it is necessary to change the print driver program. The print driver program is relatively large, and even small changes can have a wide range of effects, and changing the program requires specialized knowledge. It was desired to make it easier.
本発明は、このような課題に鑑みなされたものであり、変更をより容易に行うことができる印刷ドライバー及び印刷指令装置を提供することを主目的とする。 The present invention has been made in view of such problems, and a main object of the present invention is to provide a print driver and a print command apparatus that can be changed more easily.
本発明は、上述の主目的を達成するために以下の手段を採った。 The present invention adopts the following means in order to achieve the main object described above.
本発明の印刷ドライバーは、
印刷装置の印刷処理に関する表示画面を表示出力する印刷ドライバーであって、
前記表示画面に配置するオブジェクトの画像データを複数格納したリソース情報と、
前記オブジェクトに対応付けられた、前記表示画面での動作に関する制御情報を格納した制御ファイルと、
前記制御情報に対応付けられた動作方法を有し、オブジェクトに対応付けられている前記制御情報を前記制御ファイルから取得し、前記表示画面上でオブジェクトが選択された際に該制御情報に対応する動作を実行した前記表示画面を表示出力する表示出力モジュールと、
を備えたものである。
The print driver of the present invention is
A print driver that displays and displays a display screen related to printing processing of a printing apparatus,
Resource information storing a plurality of image data of objects to be arranged on the display screen;
A control file storing control information related to the operation on the display screen, associated with the object;
Having an operation method associated with the control information, obtaining the control information associated with the object from the control file, and corresponding to the control information when the object is selected on the display screen A display output module that displays and outputs the display screen that has performed the operation;
It is equipped with.
この印刷ドライバーでは、リソース情報に画面に表示するオブジェクトの画像データを複数格納し、制御ファイルに、オブジェクトに対応付けられた表示画面での動作に関する制御情報を格納しておき、オブジェクトに対応付けられている制御情報を制御ファイルから取得し、表示画面上でこのオブジェクトが選択された際に、制御情報に対応する動作を実行した表示画面を表示出力する。例えば、表示出力モジュールで定義されている動作が新たに加わる場合などにおいては、情報が格納されたリソース情報や制御ファイルの内容を書き換えればよく、プログラムである表示出力モジュール側の変更をする必要がない。したがって、動作を新たに追加するなどの、印刷ドライバーの変更をより容易に行うことができる。なお、この印刷ドライバーは、コンピューターが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピューターから別のコンピューターへ配信されてもよいし、その他どのような形で授受されてもよい。この印刷ドライバーを一つのコンピューターに実行させるか又は複数のコンピューターに各ステップを分担して実行させるものとしてもよい。 In this print driver, the resource information stores a plurality of image data of objects to be displayed on the screen, and the control file stores control information related to operations on the display screen associated with the objects, and is associated with the objects. Control information is acquired from the control file, and when this object is selected on the display screen, a display screen on which an operation corresponding to the control information is executed is displayed and output. For example, when the operation defined in the display output module is newly added, it is only necessary to rewrite the contents of the resource information and control file in which the information is stored, and it is necessary to change the program on the display output module side. Absent. Therefore, it is possible to change the print driver more easily, such as adding a new operation. The print driver may be recorded on a computer-readable recording medium (for example, a hard disk, ROM, FD, CD, DVD, etc.) or via a transmission medium (communication network such as the Internet or a LAN). It may be distributed from one computer to another, or may be exchanged in any other form. The print driver may be executed by one computer, or each step may be shared and executed by a plurality of computers.
本発明の印刷ドライバーにおいて、前記制御ファイルは、マークアップ言語で記述されているものとしてもよい。こうすれば、タグの内容などを書き換えればよいから、制御ファイルの内容の変更をより容易に行うことができる。ここで、マークアップ言語としては、XML、XHTML、XAMLなどが挙げられる。 In the print driver of the present invention, the control file may be described in a markup language. In this way, the contents of the tag can be rewritten, so that the contents of the control file can be changed more easily. Here, examples of the markup language include XML, XHTML, XAML, and the like.
本発明の印刷ドライバーにおいて、前記制御ファイルは、前記制御情報として前記表示画面での動作の識別番号を格納しているものとしてもよい。こうすれば、動作の指定を動作の識別番号により行うことができるから、動作に関する制御ファイルの内容の変更をより容易に行うことができる。 In the print driver of the present invention, the control file may store an identification number of an operation on the display screen as the control information. In this way, since the operation can be specified by the operation identification number, the contents of the control file relating to the operation can be changed more easily.
本発明の印刷ドライバーにおいて、前記制御ファイルは、前記オブジェクトの識別番号を格納しており、前記表示出力モジュールは、前記オブジェクトの識別番号を前記制御ファイルから取得し、該取得したオブジェクトの識別番号を用いて前記表示画面を表示出力するものとしてもよい。こうすれば、オブジェクトの指定をオブジェクトの識別番号により行うことができるため、オブジェクトに関する制御ファイルの内容の変更をより容易に行うことができる。 In the print driver of the present invention, the control file stores the identification number of the object, and the display output module acquires the identification number of the object from the control file, and the identification number of the acquired object is The display screen may be used for display output. In this way, since the object can be designated by the object identification number, the contents of the control file relating to the object can be changed more easily.
本発明の印刷ドライバーは、前記印刷装置で利用可能な機能を含む設定情報を格納した設定ファイル、を備え、前記表示出力モジュールは、前記設定ファイルに格納されている設定情報に応じた前記制御情報を前記制御ファイルから取得して前記表示画面を表示出力するものとしてもよい。こうすれば、印刷装置の利用可能な機能を変更する際には、情報が格納された設定ファイルを書き換えればよいから、印刷ドライバーの変更をより容易に行うことができる。 The print driver of the present invention includes a setting file storing setting information including functions usable in the printing apparatus, and the display output module controls the control information according to the setting information stored in the setting file. May be acquired from the control file and the display screen may be displayed and output. In this way, when changing the available functions of the printing apparatus, it is only necessary to rewrite the setting file in which information is stored, so that the print driver can be changed more easily.
本発明の印刷指令装置は、
印刷装置の印刷処理に関する表示画面を表示出力する印刷指令装置であって、
前記表示画面に配置するオブジェクトの画像データを複数格納したリソース情報と、前記オブジェクトに対応付けられた、前記表示画面での動作に関する制御情報を格納した制御ファイルと、を記憶する記憶手段と、
前記制御情報に対応付けられた動作方法を有し、オブジェクトに対応付けられている前記制御情報を前記制御ファイルから取得し、前記表示画面上でオブジェクトが選択された際に該制御情報に対応する動作を実行した前記表示画面を表示出力する表示出力手段と、
を備えたものである。
The printing command device of the present invention is
A print command device for displaying and outputting a display screen relating to printing processing of a printing device,
Storage means for storing resource information that stores a plurality of image data of objects to be arranged on the display screen, and a control file that stores control information related to operations on the display screen, associated with the objects;
Having an operation method associated with the control information, obtaining the control information associated with the object from the control file, and corresponding to the control information when the object is selected on the display screen Display output means for displaying and outputting the display screen that has performed the operation;
It is equipped with.
この印刷指令装置では、上述した印刷ドライバーと同様に、表示出力モジュールで定義されている動作が新たに加わる場合などにおいては、情報が格納されたリソース情報や制御ファイルの内容を書き換えればよく、プログラムである表示出力モジュール側の変更をする必要がない。したがって、動作を新たに追加するなどの変更をより容易に行うことができる。なお、この印刷指令装置において、上述した印刷ドライバーの種々の態様を採用してもよいし、また、上述した印刷ドライバーの各機能を実現するような構成を追加してもよい。 In this print command device, as in the case of the above-described print driver, when an operation defined in the display output module is newly added, the resource information storing the information and the contents of the control file may be rewritten. There is no need to change the display output module side. Therefore, a change such as adding a new operation can be performed more easily. In this print command apparatus, various aspects of the above-described print driver may be adopted, and a configuration that realizes each function of the above-described print driver may be added.
本発明の印刷指令装置の制御方法は、
印刷装置の印刷処理に関する表示画面に配置するオブジェクトの画像データを複数格納したリソース情報と、前記オブジェクトに対応付けられた、前記表示画面での動作に関する制御情報を格納した制御ファイルと、を記憶する記憶手段を備え、前記表示画面を表示出力する印刷指令装置の制御方法であって、
オブジェクトに対応付けられている前記制御情報を前記制御ファイルから取得し、前記表示画面上でオブジェクトが選択された際に該制御情報に対応する動作を実行した前記表示画面を表示出力するステップ、を含むものである。
The control method of the print command apparatus of the present invention is:
Resource information that stores a plurality of image data of objects to be arranged on a display screen related to printing processing of a printing apparatus, and a control file that stores control information related to operations on the display screen that are associated with the objects are stored. A control method for a print command apparatus that includes a storage unit and displays and outputs the display screen,
Obtaining the control information associated with an object from the control file, and displaying and displaying the display screen on which an operation corresponding to the control information is executed when the object is selected on the display screen; Is included.
この印刷指令装置の制御方法では、上述した印刷ドライバーと同様に、表示出力モジュールで定義されている動作が新たに加わる場合などにおいては、情報が格納されたリソース情報や制御ファイルの内容を書き換えればよく、プログラムである表示出力モジュール側の変更をする必要がない。したがって、動作を新たに追加するなどの変更をより容易に行うことができる。なお、この印刷指令装置の制御方法において、上述した印刷ドライバーの種々の態様を採用してもよいし、また、上述した印刷ドライバーの各機能を実現するようなステップを追加してもよい。 In this print command device control method, as in the case of the print driver described above, when the operation defined in the display output module is newly added, the resource information storing the information and the contents of the control file can be rewritten. Often, there is no need to change the display output module, which is a program. Therefore, a change such as adding a new operation can be performed more easily. In the control method of the print command apparatus, various aspects of the above-described print driver may be adopted, and steps for realizing the functions of the above-described print driver may be added.
次に、本発明の実施の形態を図面を用いて説明する。図1は、本発明の一実施形態であるプリンターシステム10の構成の概略を示す構成図である。図2は、HDD35に記憶されている情報の説明図である。図3は、制御ファイル42の一例を示す説明図である。本実施形態のプリンターシステム10は、図1に示すように、大判印刷可能に構成されたプリンター20と、印刷設定画面を表示出力し印刷ジョブをプリンター20へ出力する印刷指令装置としての機能を有するユーザーパソコン(PC)30とを備えている。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing an outline of a configuration of a printer system 10 according to an embodiment of the present invention. FIG. 2 is an explanatory diagram of information stored in the
プリンター20は、装置全体をコントロールするコントローラー21と着色剤としてのインクを印刷媒体Sに吐出する印刷機構25とを備えている。コントローラー21は、各種処理プログラムを記憶したフラッシュメモリー23と一時的にデータを記憶するRAM24とを備え、CPU22を中心とするマイクロプロセッサーとして構成されている。印刷機構25は、キャリッジ軸に沿って左右(主走査方向)に往復動するキャリッジ26と、各色のインクに圧力をかけノズルからインク滴を吐出する印刷ヘッド27と、各色のインクを収容しこの収容したインクを印刷ヘッドへ供給するインクカートリッジ28とを備えている。印刷ヘッド27は、圧電素子に電圧をかけることによりこの圧電素子を変形させてインクを加圧する方式によりインクを吐出するものとした。なお、印刷ヘッドは、ヒーターによりインクを加圧して印刷媒体Sに向かって吐出する方式を採用してもよい。インクカートリッジ28は、シアン(C)・マゼンタ(M)・イエロー(Y)・ブラック(K)などの各色のインクを個別に収容している。
The
ユーザーPC30は、ユーザーが使用する印刷指令装置として構成されたパソコンである。このユーザーPC30は、各種制御を実行するCPU32や各種制御プログラムを記憶するフラッシュメモリー33、データを一時記憶するRAM34などを備えたコントローラー31と、各種アプリケーションプログラムや各種データファイルを記憶する大容量メモリーであるHDD35と、プリンター20などの外部機器と通信を行うインターフェイス(I/F)36とを備えている。HDD35には、印刷設定や印刷実行を行う印刷ドライバー40や、印刷実行時に利用されるスプールシステム48、実行プログラムであるアプリケーションプログラム49(例えば文書編集プログラム)などが記憶されている。
The
また、ユーザーPC30は、ユーザーが各種指令を入力するキーボード及びマウス等の入力装置37や、各種情報を画面表示するディスプレイ38などを備えている。このユーザーPC30は、ディスプレイ38に表示されたカーソル等をユーザーが入力装置37を介して入力操作するとその入力操作に応じた動作を実行する機能を有している。コントローラー31やHDD35、I/F36、入力装置37及びディスプレイ38は、バス39によって電気的に接続され、各種制御信号やデータのやり取りができるよう構成されている。このユーザーPC30は、インストールされたプログラムによりプリンター20に対して印刷処理を指令したりプリンター20の情報を表示したりする。
Further, the
ここで、HDD35に記憶されている印刷ドライバー40について説明する。印刷ドライバー40は、プリンター20の印刷設定及び印刷実行に用いられる。この印刷ドライバー40は、印刷設定に関する画面を表示制御する表示出力モジュール41や、印刷設定画面での入力に対する動作の内容を識別番号で格納した制御ファイル42、データベースとしての設定ファイル43及びUIリソーススクリプト44、関連DLL群45などにより構成されている。表示出力モジュール41は、ディスプレイ38に表示される印刷処理に関する表示画面を制御するプログラムである。この表示出力モジュール41は、表示画面上での動作(振る舞い)に関する識別番号(制御情報)に対応付けられた動作方法を関連DLL群45と共有しており、オブジェクトに対応付けられている動作に関する識別番号とオブジェクトに対応付けられている識別番号とを制御ファイル42から取得し、表示画面上でオブジェクトが選択された際に、識別番号に対応する動作を実行した表示画面を表示出力する機能を有している。このとき、表示出力モジュール41は、設定ファイル43に格納されている設定情報に応じた識別番号を制御ファイル42から取得して表示画面を表示出力する。制御ファイル42は、詳しくは後述するが、表示画面に表示するオブジェクトの情報のほか、オブジェクトの選択などにおり、表示画面上でどのように動作するか(振る舞うか)の情報を、識別番号(ID)で格納している。この制御ファイルは、例えば、XMLベースのマークアップ言語で記述されている。設定ファイル43は、プリンター20で利用可能な機能を含む設定情報を格納したデータベースとして構成されている。UIリソーススクリプト44は、表示画面に配置するオブジェクトの画像データや、配置座標などの情報を複数格納したデータベースとして構成されている。なお、関連DLL群45は、OSや他のアプリケーションプログラムで共用されている。
Here, the
この印刷ドライバー40では、表示画面のオブジェクトが選択された際にどのように振る舞うかの情報を制御ファイル42に格納している。表示出力モジュール41では、予め動作方法が定められており、制御ファイル42の内容を解釈して表示制御を実現するよう構成されている。この動作方法とは、例えば、クリックされるとプルダウンメニューを表示する、や、クリックされると注意メッセージウインドウを開く、スライダー操作でオブジェクトを移動させる、などであり、それぞれに対応するタイプ(識別番号)が設定されている。制御ファイル42は、例えば、図3に示す書式で、印刷設定タブに関する情報、ダイアログに関する情報、各コントロールに関する情報、メッセージの情報等を、ノードツリーの形式で保持している。図3に示すように、例えば、「DocumentPropertySheetsInfo」は表示画面のタブに関する情報が保持されるタグであり、「PropertySheet」は各タブの情報が保持されるタグであり、「DialogInfo」はダイアログに関する情報が保持されるタグであり、「Dialog」は各ダイアログの情報が保持されるタグであり、「MessageInfo」はメッセージに関する情報が保持されるタグであり、「Message」は各メッセージの情報が保持されるタグである。また、各オブジェクトやコントロールに対しては、固有のIDが付与されている。例えば、「did」はダイアログIDであり、ダイアログごとに番号が対応付けられている。「type」は振る舞いに関する情報(制御情報)であり、そのオブジェクトの振る舞い方に応じて番号付けされている。「ctrlid」はコントロールID(制御情報)であり、コントロールごとに番号が対応付けられている。「fid」はファンクションIDであり、コントロールによってどのように変化するかがわかるように、例えば、給紙装置や用紙サイズなど、印刷機能ごとに番号が対応付けられている。「mid」はメッセージIDであり、メッセージごとに番号が対応付けられている。「captionid」はキャプションIDであり、見出しごとに番号が対応付けられている。「textid」はテキストIDであり、テキスト(文字列)ごとに番号が対応付けられている。そして、図2に示すように、各識別番号(ID)に対応付けられて、オブジェクトでは各データがUIリソーススクリプト44に格納されており、コントロールでは表示出力モジュール41が各動作方法を有している。
In the
設定ファイル43は、図2に示すように、印刷用紙サイズや印刷用紙種別の情報や、両面印刷、フチなし印刷、コピーなどプリンター20が利用可能な印刷機能の情報などが格納されている。この設定ファイル43を用いて、禁則条件などを把握可能となっている。UIリソーススクリプト44は、オブジェクトの画像や、配置位置、大きさなどの情報を複数格納している。また、テキスト(文字列)、メッセージなども格納している。このように、印刷ドライバー40では、機種に応じて設定ファイル43やUIリソーススクリプト44を差し替えればいいように、ローカライズされている。また、印刷ドライバー40では、1つの表示画面において、複数のダイアログを配列した構成となっており(後述図6参照)、各ダイアログに含まれるオブジェクトを上記識別番号の形式で制御ファイル42に記述している。そして、表示出力モジュール41が制御ファイル42の内容を解釈し、設定ファイル43で規定されているプリンター20の機能に応じた情報を、各識別番号を用いてUIリソーススクリプト44から取得することにより表示画面を構成するのである。
As shown in FIG. 2, the setting
次に、こうして構成された本実施形態の印刷ドライバー40において、ベンダーが印刷ドライバー40の内容を変更する際の処理について説明する。図4は、新たな機能を追加する説明図である。ここでは、一例として、ハガキサイズの印刷用紙を利用可能とし、印刷設定画面上でその用紙が選択された場合にメッセージを表示する、という変更を行う場合について説明する。まず、設定ファイル43の印刷可能用紙に、ハガキを追加し、これが選択されたときに表示されるメッセージ及び表示位置・サイズを識別番号を付与してUIリソーススクリプト44に格納する。そして、制御ファイル42に、印刷設定表示画面で、用紙サイズの選択ダイアログにおいて、ハガキが選択された際の振る舞いとしてメッセージウインドウを表示するコントロールIDを追加し、且つそのときに表示されるメッセージIDを追加する。例えば、制御ファイル42を用いない場合には、新たにメッセージを表示させるようにするには、表示出力モジュール41を改変する必要があった。表示出力モジュール41は、大規模なプログラムであり、その一部を書き換えた場合でも影響が多岐に亘るため、検査工数が多く必要であり、リスクを伴い柔軟性に欠けるものである。これに対して、印刷ドライバー40では、予め定義された動作であれば、プログラムではないデータを格納した制御ファイル42、設定ファイル43及びUIリソーススクリプト44の書き換えだけですみ、表示出力モジュール41の変更を行わなくてよい。このため、仕様変更やカスタマイズに柔軟に対応することができる。
Next, in the
次に、印刷ドライバー40の動作、ユーザーPC30においてアプリケーションプログラム49から印刷ドライバーを起動し、印刷設定を行う際の動作について説明する。図5は、CPU32によって実行される表示処理ルーチンの一例を表すフローチャートである。図6は、印刷設定表示画面70の説明図である。まず、ユーザーは、アプリケーションプログラム49を起動して印刷を行う画像を呼び出し、印刷ドライバー40を起動する。表示処理ルーチンは、印刷ドライバー40の起動後に実行される。
Next, the operation of the
このルーチンが開始されると、CPU32は、ユーザーの選択内容を取得し(ステップS100)、選択内容について調べる(ステップS110)。選択内容が他の画面表示である場合は、CPU32は、制御ファイル42から表示するタブに関する情報を取得し(ステップS120)、表示処理する(ステップS130)。この印刷設定表示画面70は、図6に示すように、複数のダイアログ、例えば、用紙種類などに関する第1プルダウンメニュー72や、色補正に関する第1チェックボックス73、給紙方法などに関する第1コンボボックス74、フチなし印刷に関する第2チェックボックス75、選択内容を決定する入力ボタン76などが配置されている。なお、これらは各々ダイアログとして構成されている。ステップS110で取得するタブに関する情報としては、例えば、第1プルダウンメニュー72では、プルダウンメニューのタイプや、コントロール、表示する画像及び文字列などの識別番号などが挙げられる。そして、表示処理では、表示出力モジュール41がこれらの識別番号のリストをスプールシステム48を介してOSへ出力し、これを受けたOSがUIリソーススクリプト44を参照して表示画面を生成し、表示出力モジュール41が表示出力する。そして、処理終了したか否かを、印刷設定表示画面70が閉じられたか否かに基づいて判定し(ステップS160)、処理終了していないときにはステップS100以降の処理を実行する。
When this routine is started, the
一方、ステップS110で選択内容がダイアログ(オブジェクト)であるときには、CPU32は、設定ファイル43から表示に必要な情報を取得し(ステップS140)、制御ファイル42から表示内容(例えばタイトル、本文、アイコンなど)の情報を取得し(ステップS150)、ステップS130で表示処理を実行する。例えば、第1コンボボックス74がカーソル71でクリックされた際には、設定ファイル43からプリンター20に対応する印刷用紙種別の情報を取得し、表示出力する。また、新たに加えられた「ハガキ」が選択された場合は、制御ファイル42のコントロールで規定されているように、UIリソーススクリプト44のメッセージを参照してメッセージ画面80を表示出力させる。そして、ステップS100で処理終了であるときには、そのままこのルーチンを終了する。このように、CPU32は、表示出力モジュール41を実行することにより、制御ファイル42から表示画面の振る舞いの情報を取得し、設定ファイル43から対応する機能を取得し、UIリソーススクリプト44から表示させる内容を取得し、印刷設定表示画面70の表示制御を行うのである。
On the other hand, when the selection content is a dialog (object) in step S110, the
ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のUIリソーススクリプト44が本発明のリソース情報に相当し、制御ファイル42が制御ファイルに相当し、設定ファイル43が設定ファイルに相当し、表示出力モジュール41が表示出力モジュールに相当し、タイプ及びコントロールIDが制御情報及び動作の識別番号に相当し、ダイアログID,メッセージID及びテキストIDなどがオブジェクトの識別番号に相当する。なお、本実施形態では、ユーザーPC30の動作を説明することにより本発明の印刷指令装置の一例も明らかにしている。
Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The
以上詳述した本実施形態の印刷ドライバー40によれば、UIリソーススクリプト44に画面に表示するオブジェクトの画像データを複数格納し、制御ファイル42に、オブジェクトに対応付けられた表示画面での動作の識別番号を格納しておき、オブジェクトに対応付けられている識別番号を制御ファイル42から取得し、表示画面上でこのオブジェクトが選択された際に、識別番号に対応する動作を実行した表示画面を表示出力する。例えば、表示出力モジュール41で定義されている動作が新たに加わる場合などにおいては、情報が格納されたUIリソーススクリプト44や制御ファイル42の内容を書き換えればよく、プログラムである表示出力モジュール41側の変更をする必要がない。したがって、動作を新たに追加するなどの、印刷ドライバー40の変更をより容易に行うことができる。また、動作の指定を動作の識別番号により行うことができるから、動作に関する制御ファイルの内容の変更を識別番号を用いてより容易に行うことができる。更に、制御ファイル42は、マークアップ言語で記述されているため、タグの内容などを書き換えればよいから、制御ファイルの内容の変更をより容易に行うことができる。更にまた、制御ファイル42には動作の識別番号や、オブジェクトの識別番号を格納しており、動作やオブジェクトの指定を識別番号により行うことができるから、動作やオブジェクトに関する制御ファイルの内容の変更をより容易に行うことができる。そして、設定ファイル43に格納されている設定情報に応じた表示内容を制御ファイル42から取得するから、印刷ドライバー40で、印刷装置の利用可能な機能を変更する際には、情報が格納された設定ファイルを書き換えればよいから、印刷ドライバー40の変更をより容易に行うことができる。
According to the
なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。 It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.
例えば、上述した実施形態では、設定ファイル43を有していたが、設定ファイル43の内容をUIリソーススクリプト44に格納してもよいし、これを省略してもよい。
For example, in the above-described embodiment, the
上述した実施形態では、制御ファイル42は、XMLベースのマークアップ言語で記述されているものとしたが、例えば、XHTMLで記述してもよいし、マークアップ言語以外(例えばバイナリなど)で記述してもよい。こうしても、制御ファイル42を用いて、印刷ドライバー40の変更をより容易に行うことができる。
In the above-described embodiment, the
上述した実施形態では、制御情報として動作の識別番号を用いるものとしたが、動作を特定可能な情報であれば、例えば文字列など、特にこれに限定されない。 In the above-described embodiment, the operation identification number is used as the control information. However, the information is not particularly limited to this, for example, a character string as long as the information can specify the operation.
上述した実施形態では、ベンダーが印刷ドライバー40の機能追加を行うものとしたが、特にこれに限定されず、ユーザーが行うものとしてもよい。
In the above-described embodiment, the vendor adds the function of the
上述した実施形態では、ユーザーPC30を本発明の印刷指令装置として説明したが、プリンター20の印刷設定表示画面を表示出力するものであれば特にこれに限定されない。また、印刷ドライバー40の態様で説明したが、印刷指令装置の制御方法の態様としてもよい。
In the above-described embodiment, the
10 プリンターシステム、20 プリンター、21 コントローラー、22 CPU、23 フラッシュメモリー、24 RAM、25 印刷機構、26 キャリッジ、27 印刷ヘッド、28 インクカートリッジ、30 ユーザーパソコン(PC)、31 コントローラー、32 CPU、33 フラッシュメモリー、34 RAM、35 HDD、36 インターフェイス(I/F)、37 入力装置、38 ディスプレイ、39 バス、40 印刷ドライバー、41 表示出力モジュール、42 制御ファイル、43 設定ファイル、44 UIリソーススクリプト、45 関連DLL群、48 スプールシステム、49 アプリケーションプログラム、70 印刷設定表示画面、71 カーソル、72 第1プルダウンメニュー、73 第1チェックボックス、74 第1コンボボックス、75 第2チェックボックス、76 入力ボタン、80 メッセージ画面、S 印刷媒体。 10 Printer system, 20 Printer, 21 Controller, 22 CPU, 23 Flash memory, 24 RAM, 25 Printing mechanism, 26 Carriage, 27 Print head, 28 Ink cartridge, 30 User personal computer (PC), 31 Controller, 32 CPU, 33 Flash Memory, 34 RAM, 35 HDD, 36 Interface (I / F), 37 Input device, 38 Display, 39 Bus, 40 Print driver, 41 Display output module, 42 Control file, 43 Setting file, 44 UI resource script, 45 DLL group, 48 spool system, 49 application program, 70 print setting display screen, 71 cursor, 72 first pull-down menu, 73 first check box , 74 1st combo box, 75 2nd check box, 76 input buttons, 80 message screen, S print medium.
Claims (6)
前記表示画面に配置するオブジェクトの画像データを複数格納したリソース情報と、
前記オブジェクトに対応付けられた、前記表示画面での動作に関する制御情報を格納した制御ファイルと、
前記制御情報に対応付けられた動作方法を有し、オブジェクトに対応付けられている前記制御情報を前記制御ファイルから取得し、前記表示画面上でオブジェクトが選択された際に該制御情報に対応する動作を実行した前記表示画面を表示出力する表示出力モジュールと、
を備えた印刷ドライバー。 A print driver that displays and displays a display screen related to printing processing of a printing apparatus,
Resource information storing a plurality of image data of objects to be arranged on the display screen;
A control file storing control information related to the operation on the display screen, associated with the object;
Having an operation method associated with the control information, obtaining the control information associated with the object from the control file, and corresponding to the control information when the object is selected on the display screen A display output module that displays and outputs the display screen that has performed the operation;
Print driver with
前記表示出力モジュールは、前記オブジェクトの識別番号を前記制御ファイルから取得し、該取得したオブジェクトの識別番号を用いて前記表示画面を表示出力する、請求項1〜3のいずれか1項に記載の印刷ドライバー。 The control file stores an identification number of the object,
4. The display output module according to claim 1, wherein the display output module acquires an identification number of the object from the control file, and displays and outputs the display screen using the acquired identification number of the object. Print driver.
前記印刷装置で利用可能な機能を含む設定情報を格納した設定ファイル、を備え、
前記表示出力モジュールは、前記設定ファイルに格納されている設定情報に応じた前記制御情報を前記制御ファイルから取得して前記表示画面を表示出力する、印刷ドライバー。 The print driver according to any one of claims 1 to 4,
A setting file storing setting information including functions usable in the printing apparatus,
The display output module is a print driver that obtains the control information according to setting information stored in the setting file from the control file and displays and outputs the display screen.
前記表示画面に配置するオブジェクトの画像データを複数格納したリソース情報と、前記オブジェクトに対応付けられた、前記表示画面での動作に関する制御情報を格納した制御ファイルと、を記憶する記憶手段と、
前記制御情報に対応付けられた動作方法を有し、オブジェクトに対応付けられている前記制御情報を前記制御ファイルから取得し、前記表示画面上でオブジェクトが選択された際に該制御情報に対応する動作を実行した前記表示画面を表示出力する表示出力手段と、
を備えた印刷指令装置。 A print command device for displaying and outputting a display screen relating to printing processing of a printing device,
Storage means for storing resource information that stores a plurality of image data of objects to be arranged on the display screen, and a control file that stores control information related to operations on the display screen, associated with the objects;
Having an operation method associated with the control information, obtaining the control information associated with the object from the control file, and corresponding to the control information when the object is selected on the display screen Display output means for displaying and outputting the display screen that has performed the operation;
A printing command device equipped with
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011084441A JP2012221093A (en) | 2011-04-06 | 2011-04-06 | Print driver and printing-command device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011084441A JP2012221093A (en) | 2011-04-06 | 2011-04-06 | Print driver and printing-command device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012221093A true JP2012221093A (en) | 2012-11-12 |
Family
ID=47272565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011084441A Withdrawn JP2012221093A (en) | 2011-04-06 | 2011-04-06 | Print driver and printing-command device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012221093A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016014916A (en) * | 2014-06-30 | 2016-01-28 | キヤノン株式会社 | Information processing apparatus, information processing method, and program |
-
2011
- 2011-04-06 JP JP2011084441A patent/JP2012221093A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016014916A (en) * | 2014-06-30 | 2016-01-28 | キヤノン株式会社 | Information processing apparatus, information processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4656642B2 (en) | Information processing apparatus, status display method, and program | |
JP5072676B2 (en) | Information processing apparatus, information processing method, and printing system | |
US7924461B2 (en) | Printing method based on remaining color toner or ink information | |
US8736873B2 (en) | Information processing apparatus, information processing apparatus control method, and storage medium | |
US20160004939A1 (en) | Print control system, print control apparatus, print control method, and storage medium | |
US20130033725A1 (en) | Information processing apparatus, control method, and storage medium | |
CN111251732A (en) | Control method and storage medium | |
US20070115492A1 (en) | Information processing apparatus, method, and computer program | |
JP4537276B2 (en) | PRINT CONTROL DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, PRINTER DRIVER AND PRINT DEVICE | |
US8332739B2 (en) | Printer driver program, print control apparatus and print control method | |
US20150302280A1 (en) | Data processing apparatus, recording apparatus and control method of the data processing apparatus | |
JP6351282B2 (en) | Print control apparatus, print control method, and program | |
JP5387360B2 (en) | Information processing method, program thereof, and information processing apparatus | |
JP2012221093A (en) | Print driver and printing-command device | |
JP2012226696A (en) | Print driver and print command device | |
JP4442875B2 (en) | Data processing apparatus, printing control method in the apparatus, and program | |
JP5152243B2 (en) | Data structure of print program, print control device, and print setting information | |
JP5569028B2 (en) | Display control apparatus, display control method, and program | |
JP5551532B2 (en) | Print setting device | |
JP2012141732A (en) | Information processor, control method and program | |
US20220283750A1 (en) | Information processing apparatus, method of controlling information processing apparatus, and storage medium | |
JP2007193722A (en) | User interface | |
US20240036778A1 (en) | Information processing apparatus and non-transitory computer-readable storage medium | |
US20240036785A1 (en) | Information processing apparatus and non-transitory computer-readable storage medium | |
JP2003202971A (en) | Printer driver and file set for installation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140701 |