Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4903064B2 - Print control apparatus, print control method, and print control program - Google Patents
[go: Go Back, main page]

JP4903064B2 - Print control apparatus, print control method, and print control program - Google Patents

Print control apparatus, print control method, and print control program Download PDF

Info

Publication number
JP4903064B2
JP4903064B2 JP2007026173A JP2007026173A JP4903064B2 JP 4903064 B2 JP4903064 B2 JP 4903064B2 JP 2007026173 A JP2007026173 A JP 2007026173A JP 2007026173 A JP2007026173 A JP 2007026173A JP 4903064 B2 JP4903064 B2 JP 4903064B2
Authority
JP
Japan
Prior art keywords
information
printer
print
display
input
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.)
Expired - Fee Related
Application number
JP2007026173A
Other languages
Japanese (ja)
Other versions
JP2008191954A (en
Inventor
伸治 亀澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007026173A priority Critical patent/JP4903064B2/en
Publication of JP2008191954A publication Critical patent/JP2008191954A/en
Application granted granted Critical
Publication of JP4903064B2 publication Critical patent/JP4903064B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷制御装置、印刷制御方法、及び印刷制御プログラムに関する。   The present invention relates to a print control apparatus, a print control method, and a print control program.

プリンタドライバは、プリンタを制御するためのプログラムモジュールである。プリンタドライバは、アプリケーションから文書を印刷させる際等にそのGUI(Graphical User Interface)を表示させる。例えば、一般的なWindows(登録商標)アプリケーションでは、ファイルメニューの印刷メニュー項目を選択すると当該アプリケーションによって印刷ダイアログが表示される。その印刷ダイアログにおけるプロパティボタンを押すと、印刷先として選択されているプリンタに対応するプリンタドライバのGUI、すなわち、プリンタプロパティダイアログが表示される。   The printer driver is a program module for controlling the printer. The printer driver displays its GUI (Graphical User Interface) when printing a document from an application. For example, in a general Windows (registered trademark) application, when a print menu item in the file menu is selected, a print dialog is displayed by the application. When a property button in the print dialog is pressed, a printer driver GUI corresponding to the printer selected as the print destination, that is, a printer property dialog is displayed.

プリンタプロパティダイアログの表示内容は、プリンタに応じて異なる。プリンタごとに設定可能な印刷条件が異なるからである。また、プリンタドライバは、アプリケーションの文書をプリンタに解釈可能なプリンタ言語に変換する役割を担うが、プリンタに応じて解釈可能なプリンタ言語は異なる。したがって、ユーザは、自らが利用するプリンタに対応したプリンタドライバをインストールする必要がある。
特開2002−366502号公報 特開2003−280842号公報
The display contents of the printer property dialog differ depending on the printer. This is because the print conditions that can be set differ for each printer. The printer driver plays a role of converting an application document into a printer language that can be interpreted by a printer, but the printer language that can be interpreted differs depending on the printer. Therefore, the user needs to install a printer driver corresponding to the printer used by the user.
JP 2002-366502 A JP 2003-280842 A

しかしながら、オフィス等、複数台のプリンタがネットワークに接続されている環境では、それぞれに対応するプリンタドライバを各PC(Personal Computer)等にインストールする必要が生じ、システム管理者等にとって多大な負担となっていた。   However, in an environment where a plurality of printers are connected to a network such as an office, it is necessary to install a corresponding printer driver in each PC (Personal Computer) or the like, which is a heavy burden on a system administrator or the like. It was.

また、プリンタ側において機能強化が図られた場合、当該機能強化に対応するためには、手動でPC側のプリンタドライバの更新作業を行わなければならなかった。   Further, when the function is enhanced on the printer side, the printer driver on the PC side must be manually updated in order to cope with the function enhancement.

本発明は、上記の点に鑑みてなされたものであって、プリンタの機種の相違や機能強化に対して柔軟に対応することのできる印刷制御装置、印刷制御方法、及び印刷制御プログラムの提供を目的とする。   The present invention has been made in view of the above points, and provides a print control apparatus, a print control method, and a print control program that can flexibly cope with differences in printer models and functional enhancements. Objective.

そこで上記課題を解決するため、本発明は、ネットワークを介して接続するプリンタより、入力を受け付ける複数の表示部品を有する印刷設定画面の構成情報と、前記表示部品に対する入力情報をプリンタ言語によるコマンドに変換するための複数のプログラムモジュールとを有するプリンタ情報を取得し、記憶装置に保存する情報取得手段と、前記構成情報に基づいて前記印刷設定画面を構築し、表示装置に表示させる表示制御手段と、前記表示部品に対する入力情報を前記プログラムモジュールを用いて前記コマンドに変換する変換手段とを有し、前記構成情報は、前記表示部品と前記プログラムモジュールとを対応させる前記プログラムモジュールの識別情報を有し、前記変換手段は、前記情報取得手段により取得した前記構成情報が有する前記識別情報により特定される前記プログラムモジュールに基づいて、当該表示部品に入力された前記入力情報を前記コマンドに変換し、前記コマンドを前記プリンタに送信することにより前記プリンタに印刷を実行させることを特徴とする。 Accordingly, in order to solve the above-described problem, the present invention provides a print language configuration command including configuration information of a print setting screen having a plurality of display components that accept input from a printer connected via a network, and input information for the display components . Information acquisition means for acquiring printer information having a plurality of program modules for conversion and storing the information in a storage device; display control means for constructing the print setting screen based on the configuration information and displaying the print setting screen on the display device; Conversion means for converting input information for the display component into the command using the program module, and the configuration information includes identification information of the program module that associates the display component with the program module. And the converting means receives the configuration information acquired by the information acquiring means. Wherein based on said program module identified by the identification information, and converting the input information inputted to the display component on the command, thereby executing the printing on the printer by sending the command to the printer to It is characterized by.

このような印刷制御装置では、プリンタの機種の相違や機能強化に対して柔軟に対応することができる。   In such a print control apparatus, it is possible to flexibly cope with differences in printer models and functional enhancement.

本発明によれば、プリンタの機種の相違や機能強化に対して柔軟に対応することのできる印刷制御装置、印刷制御方法、及び印刷制御プログラムを提供することができる。   According to the present invention, it is possible to provide a print control apparatus, a print control method, and a print control program that can flexibly cope with differences in printer models and function enhancement.

以下、図面に基づいて本発明の実施の形態を説明する。本発明の実施の形態における印刷システムの構成例を示す図である。図1において、印刷システム1は、ホストコンピュータ10とプリンタ20とがLAN(Local Area Network)等のネットワーク(有線又は無線の別は問わない。)を介して接続されることにより構成されている。図1においては、一台のプリンタ20しか表示されていないが、ネットワークには複数のプリンタが接続されていてもよい。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. It is a figure which shows the structural example of the printing system in embodiment of this invention. In FIG. 1, a printing system 1 is configured by connecting a host computer 10 and a printer 20 via a network such as a LAN (Local Area Network) (whether wired or wireless). Although only one printer 20 is displayed in FIG. 1, a plurality of printers may be connected to the network.

ホストコンピュータ10は、プリンタ20に対して印刷指示を行うPC(Personal Computer)等のコンピュータである。図1において、ホストコンピュータ10には、アプリケーション11、プリンタドライバ12、及びプリンタ情報13等のソフトウェアが実装されている。   The host computer 10 is a computer such as a PC (Personal Computer) that issues a print instruction to the printer 20. In FIG. 1, software such as an application 11, a printer driver 12, and printer information 13 is installed in the host computer 10.

アプリケーション11は、ワープロソフトや表計算ソフト等、印刷対象となる文書を作成するための一般的なアプリケーションが相当する。   The application 11 corresponds to a general application for creating a document to be printed, such as word processing software or spreadsheet software.

プリンタドライバ12は、アプリケーション11等から文書の印刷が指示された際に、プリンタ20に対応した印刷条件を設定させるためのダイアログを表示させる。例えば、一般的なWindows(登録商標)アプリケーションでは、ファイルメニューの印刷メニュー項目を選択すると当該アプリケーションによって印刷ダイアログが表示される。その印刷ダイアログにおけるプロパティボタンを押すと、印刷先として選択されているプリンタに対応するプリンタプロパティダイアログ(印刷設定ダイアログ)が表示される。当該ダイアログは、プリンタドライバ12によって表示されるダイアログの一つに相当する。   The printer driver 12 displays a dialog for setting printing conditions corresponding to the printer 20 when printing of a document is instructed from the application 11 or the like. For example, in a general Windows (registered trademark) application, when a print menu item in the file menu is selected, a print dialog is displayed by the application. When a property button in the print dialog is pressed, a printer property dialog (print setting dialog) corresponding to the printer selected as the print destination is displayed. This dialog corresponds to one of the dialogs displayed by the printer driver 12.

プリンタドライバ12は、印刷設定ダイアログに設定された印刷条件に基づいて、アプリケーション11の文書をプリンタ20に印刷させるための印刷データを生成する。印刷データは、プリンタ20に解釈可能なプリンタ言語(PDL(Page Description Language)データ等)によるコマンドが記述されたデータである。プリンタドライバ12によって生成された印刷データは、プリンタ20に送信される。   The printer driver 12 generates print data for causing the printer 20 to print the document of the application 11 based on the print conditions set in the print setting dialog. The print data is data in which commands in a printer language (PDL (Page Description Language) data or the like) that can be interpreted by the printer 20 are described. The print data generated by the printer driver 12 is transmitted to the printer 20.

プリンタ情報13は、プリンタドライバ12が表示させるダイアログの構成情報(表示情報)や当該ダイアログに入力された値(入力情報)をプリンタ言語への変換処理を実行するための情報を含む。   The printer information 13 includes information for executing processing for converting the configuration information (display information) of the dialog displayed by the printer driver 12 and the value (input information) input to the dialog into the printer language.

図3は、プリンタ情報の構成例を示す図である。図3において、プリンタ情報13は、バージョン情報131、UI情報132、及び機能モジュール情報133等より構成される。バージョン情報131は、プリンタ情報13のバージョンを示す情報である。   FIG. 3 is a diagram illustrating a configuration example of printer information. In FIG. 3, the printer information 13 includes version information 131, UI information 132, functional module information 133, and the like. The version information 131 is information indicating the version of the printer information 13.

UI情報132は、プリンタドライバ12が表示させるダイアログの構成情報である。UI情報132には、ダイアログの数が定義され、そのダイアログの数分のダイアログ情報1321が含まれている。ダイアログ情報1321には、一つのダイアログの構成情報としてダイアログのサイズ及びダイアログのアイテム数と、ダイアログのアイテム数分のアイテム情報1322が定義されている。アイテム情報には、一つのアイテム(ダイアログ情報の表示部品)の表示情報及び制御情報として、アイテム種類、アイテム座標、初期値、最大値、最小値、対応機能モジュール識別子等が定義されている。アイテム種類は、テキストボックス、ラジオボタン、コンボボックス等、アイテムの種類を識別するための情報である。アイテム座標は、ダイアログ上においてアイテムが配置される位置を示す情報である。初期値は、アイテムに設定される初期値である。最大値、最小値は、アイテムに設定可能な最大値、最小値である。対応機能モジュール識別子は、アイテムに入力された情報をプリンタ言語に変換するための機能モジュールの識別子である。すなわち、対応機能モジュール識別子によって各アイテムと機能モジュールとが関連付けられている。   The UI information 132 is configuration information of a dialog displayed by the printer driver 12. The UI information 132 defines the number of dialogs, and includes dialog information 1321 corresponding to the number of dialogs. The dialog information 1321 defines the dialog size, the number of dialog items, and item information 1322 corresponding to the number of dialog items as the configuration information of one dialog. Item information defines item type, item coordinates, initial value, maximum value, minimum value, corresponding function module identifier, and the like as display information and control information of one item (display component of dialog information). The item type is information for identifying the item type, such as a text box, a radio button, or a combo box. Item coordinates are information indicating a position where an item is arranged on the dialog. The initial value is an initial value set for the item. The maximum and minimum values are the maximum and minimum values that can be set for the item. The corresponding function module identifier is an identifier of a function module for converting information input to the item into a printer language. That is, each item is associated with a functional module by the corresponding functional module identifier.

機能モジュール情報133は、機能モジュールに関する情報であり、機能モジュールの数分定義されている。機能モジュール情報133には、機能モジュール識別子と、機能モジュールの実体が含まれている。機能モジュール識別子は、例えば、OSの種類、PDLの種類、及び機能名等に基づいて作成される。機能モジュールの実体は、アイテムに入力された情報をプリンタ言語によるコマンドに変換するためのプログラムモジュールである。   The functional module information 133 is information regarding functional modules, and is defined for the number of functional modules. The functional module information 133 includes a functional module identifier and a functional module entity. The function module identifier is created based on, for example, the OS type, PDL type, and function name. The entity of the functional module is a program module for converting information input to the item into a command in the printer language.

なお、プリンタ情報13は、プリンタ20よりダウンロードされ、ホストコンピュータ10の記憶装置に保存される。プリンタ情報13がダウンロードされていない状態(以下「初期状態」という。)において、プリンタドライバ12が表示可能な画面、及び実行可能な機能は、プリンタ20の機種や機能強化等に依存しない部分に限られる。   The printer information 13 is downloaded from the printer 20 and stored in the storage device of the host computer 10. In a state where the printer information 13 has not been downloaded (hereinafter referred to as “initial state”), the screens that can be displayed by the printer driver 12 and the functions that can be executed are limited to parts that do not depend on the model or functional enhancement of the printer 20. It is done.

図4は、プリンタドライバの初期状態の構成例を示す図である。図4に示されるようにプリンタドライバ12は、UIモジュール121及び印刷モジュール122等より構成される。UIモジュール121は、プリンタ情報13に含まれるUI情報132に基づいてダイアログを表示させる。印刷モジュール122は、機能モジュールを用いてUIモジュール121が表示させたダイアログにおいて設定された情報に応じた印刷データを生成する。   FIG. 4 is a diagram illustrating a configuration example of an initial state of the printer driver. As shown in FIG. 4, the printer driver 12 includes a UI module 121, a print module 122, and the like. The UI module 121 displays a dialog based on the UI information 132 included in the printer information 13. The print module 122 generates print data according to information set in the dialog displayed by the UI module 121 using the function module.

図1に戻る。プリンタ20は、ホストコンピュータ10より転送される印刷データに基づいて文書を印刷するいわゆるプリンタである。プリンタ20には、通信部21、コマンドパーサ部22、印刷処理部23、及びプリンタ情報管理部24等のソフトウェアが実装されている。   Returning to FIG. The printer 20 is a so-called printer that prints a document based on print data transferred from the host computer 10. The printer 20 includes software such as a communication unit 21, a command parser unit 22, a print processing unit 23, and a printer information management unit 24.

通信部21は、ホストコンピュータ10より転送されるコマンドの受信や、プリンタ20のプリンタ情報(ホストコンピュータ10においてプリンタ情報13として保存される情報)の送信等を行う。ここで、ホストコンピュータ10より転送されるコマンドには、印刷データの他、プリンタ情報の転送要求等が含まれる。当該コマンドは、全てプリンタ言語によって記述される。   The communication unit 21 receives a command transferred from the host computer 10, transmits printer information of the printer 20 (information stored as printer information 13 in the host computer 10), and the like. Here, the command transferred from the host computer 10 includes a print information transfer request in addition to the print data. All the commands are described in the printer language.

コマンドパーサ部22は、通信部21によって受信されたコマンドを解釈し、当該コマンドに応じた処理を制御する。当該コマンドが印刷要求(印刷データ)であった場合、コマンドパーサ部22は、印刷処理部23に処理を実行させる。当該コマンドがプリンタ情報の転送要求であった場合、コマンドパーサ部22は、プリンタ情報管理部24よりプリンタ情報を取得し、当該プリンタ情報をホストコンピュータ10に送信する。   The command parser unit 22 interprets the command received by the communication unit 21 and controls processing according to the command. If the command is a print request (print data), the command parser unit 22 causes the print processing unit 23 to execute processing. If the command is a printer information transfer request, the command parser unit 22 acquires the printer information from the printer information management unit 24 and transmits the printer information to the host computer 10.

印刷処理部23は、印刷データに基づいて文書の印刷をプリンタ20に実行させる。プリンタ情報管理部24は、プリンタ20の記憶装置に保存されているプリンタ20に固有のプリンタ情報を管理する。   The print processing unit 23 causes the printer 20 to print a document based on the print data. The printer information management unit 24 manages printer information unique to the printer 20 stored in the storage device of the printer 20.

図2は、本発明の実施の形態におけるホストコンピュータのハードウェア構成例を示す図である。図2のホストコンピュータ10は、それぞれバスBで相互に接続されているドライブ装置100と、補助記憶装置102と、メモリ装置103と、CPU104と、インタフェース装置105と、表示装置106と、入力装置107とを有するように構成される。   FIG. 2 is a diagram illustrating a hardware configuration example of the host computer according to the embodiment of the present invention. The host computer 10 in FIG. 2 includes a drive device 100, an auxiliary storage device 102, a memory device 103, a CPU 104, an interface device 105, a display device 106, and an input device 107, which are mutually connected by a bus B. And is configured to have.

ホストコンピュータ10での処理を実現するプログラムは、CD−ROM等の記録媒体101によって提供される。プログラムを記録した記録媒体101がドライブ装置100にセットされると、プログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。補助記憶装置102は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。   A program for realizing processing in the host computer 10 is provided by a recording medium 101 such as a CD-ROM. When the recording medium 101 on which the program is recorded is set in the drive device 100, the program is installed from the recording medium 101 to the auxiliary storage device 102 via the drive device 100. The auxiliary storage device 102 stores the installed program and also stores necessary files and data.

メモリ装置103は、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従ってホストコンピュータ10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。表示装置106はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置107はキーボード及びマウス等で構成され、様々な操作指示を入力させるために用いられる。   The memory device 103 reads the program from the auxiliary storage device 102 and stores it when there is an instruction to start the program. The CPU 104 implements functions related to the host computer 10 in accordance with programs stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network. The display device 106 displays a GUI (Graphical User Interface) or the like by a program. The input device 107 includes a keyboard and a mouse, and is used for inputting various operation instructions.

なお、プログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。   The program need not be installed from the recording medium 101 and may be downloaded from another computer via a network.

以下、印刷システム1の処理手順について説明する。図5は、プリンタ情報の転送処理を説明するためのシーケンス図である。   Hereinafter, the processing procedure of the printing system 1 will be described. FIG. 5 is a sequence diagram for explaining the printer information transfer process.

まず、ホストコンピュータ10のプリンタドライバ12は、プリンタ20におけるプリンタ情報のバージョンを問い合わせる(S101)。当該問い合わせは、プリンタ言語によるコマンドとしてプリンタ20に送信される。   First, the printer driver 12 of the host computer 10 inquires about the version of printer information in the printer 20 (S101). The inquiry is transmitted to the printer 20 as a command in the printer language.

プリンタドライバ12からの問い合わせは、プリンタ20の通信部21によって受信され、コマンドパーサ部22によって解釈される。コマンドパーサ部22は、プリンタ情報管理部24よりプリンタ情報のバージョン情報131を取得し、プリンタドライバ12に送信する(S102)。   Inquiries from the printer driver 12 are received by the communication unit 21 of the printer 20 and interpreted by the command parser unit 22. The command parser unit 22 acquires the version information 131 of the printer information from the printer information management unit 24 and transmits it to the printer driver 12 (S102).

プリンタドライバ12は、転送されたプリンタ情報のバージョン情報と、ホストコンピュータ10に保存されているプリンタ情報13とのバージョン情報131を比較する。転送されたバージョン情報131の方が新しい場合、プリンタドライバ12は、プリンタ情報の転送を要求するためのプリンタ言語によるコマンドをプリンタ20に送信する(S103)。   The printer driver 12 compares the version information 131 of the transferred printer information with the version information 131 of the printer information 13 stored in the host computer 10. If the transferred version information 131 is newer, the printer driver 12 transmits a command in the printer language for requesting transfer of the printer information to the printer 20 (S103).

プリンタドライバ12からのプリンタ情報の転送要求は、プリンタ20の通信部21によって受信され、コマンドパーサ部22によって解釈される。コマンドパーサ部22は、プリンタ情報管理部24よりプリンタ情報を取得し、プリンタドライバ12に送信する(S104)。   The printer information transfer request from the printer driver 12 is received by the communication unit 21 of the printer 20 and interpreted by the command parser unit 22. The command parser unit 22 acquires printer information from the printer information management unit 24 and transmits it to the printer driver 12 (S104).

なお、プリンタドライバ12によるプリンタ情報13の取得は、定期的に行われても良いし、後述されるように、印刷設定ダイアログ等を表示させる際に行われても良い。   Note that the printer information 13 may be acquired periodically by the printer driver 12, or may be performed when a print setting dialog or the like is displayed, as will be described later.

次に、ホストコンピュータ10において印刷設定ダイアログの表示が要求された際の処理について説明する。図6は、印刷設定ダイアログの表示時のプリンタドライバの処理手順を説明するためのフローチャートである。   Next, processing when the host computer 10 requests display of the print setting dialog will be described. FIG. 6 is a flowchart for explaining the processing procedure of the printer driver when the print setting dialog is displayed.

印刷設定ダイアログの表示が要求されると、プリンタドライバ12は、プリンタ20のプリンタ情報のバージョン情報131を取得する(S201)。続いて、プリンタドライバ12は、ホストコンピュータ10におけるプリンタ情報13のバージョン情報131と取得されたプリンタ情報のバージョン情報131とを比較することにより、プリンタ20に更新がなされたか否かを判定する(S202)。すなわち、プリンタ20に対して機能強化等が施された場合、印刷設定に影響がある場合はプリンタ20におけるプリンタ情報も更新されるからである。   When the display of the print setting dialog is requested, the printer driver 12 acquires the version information 131 of the printer information of the printer 20 (S201). Subsequently, the printer driver 12 determines whether the printer 20 has been updated by comparing the version information 131 of the printer information 13 in the host computer 10 with the version information 131 of the acquired printer information (S202). ). That is, when function enhancement or the like is applied to the printer 20, printer information in the printer 20 is also updated if print settings are affected.

プリンタ20より取得されたバージョン情報の方が新しい場合(S202でYes)、プリンタドライバ12は、プリンタ20より図3に示されるようなプリンタ情報を取得し(S203)、当該プリンタ情報をプリンタ情報13として補助記憶装置102に保存する(S204)。なお、ステップS201〜S204の処理は、図5において説明した処理に相当する。また、ステップS201及びS202は、ホストコンピュータ10に既にプリンタ情報13がダウンロードされている場合に行えばよい。   If the version information acquired from the printer 20 is newer (Yes in S202), the printer driver 12 acquires the printer information as shown in FIG. 3 from the printer 20 (S203), and the printer information is used as the printer information 13 Is stored in the auxiliary storage device 102 (S204). Note that the processing in steps S201 to S204 corresponds to the processing described in FIG. Steps S201 and S202 may be performed when the printer information 13 has already been downloaded to the host computer 10.

一方、プリンタ20に更新が行われていない場合(S202でNo)、ホストコンピュータ10にプリンタ情報13が既にダウンロードされている場合は(S209でYes)、プリンタ20からのプリンタ情報の取得は行われない。   On the other hand, if the printer 20 has not been updated (No in S202), if the printer information 13 has already been downloaded to the host computer 10 (Yes in S209), the printer information is acquired from the printer 20. Absent.

ステップS204又はステップS209でYesの場合に続いて、プリンタドライバ12のUIモジュール121は、プリンタ情報13のUI情報132に基づいて印刷設定ダイアログを構築し(S205)、表示装置106に表示させる(S206)。   Subsequent to Yes in step S204 or step S209, the UI module 121 of the printer driver 12 constructs a print setting dialog based on the UI information 132 of the printer information 13 (S205) and displays it on the display device 106 (S206). ).

印刷設定ダイアログにおいて印刷条件が設定され、印刷の実行指示が入力されると、プリンタドライバ12の印刷モジュール122は、アイテムごとに定義されている対応機能モジュール識別子に基づいて対応する機能モジュールを特定し、当該機能モジュールを実行することにより、印刷設定ダイアログに対する入力情報をプリンタ言語によるコマンドによって構成される印刷データに変換し(S207)、当該印刷データをプリンタ20に送信する(S208)。   When print conditions are set in the print setting dialog and a print execution instruction is input, the print module 122 of the printer driver 12 specifies the corresponding function module based on the corresponding function module identifier defined for each item. By executing the function module, input information for the print setting dialog is converted into print data constituted by commands in the printer language (S207), and the print data is transmitted to the printer 20 (S208).

なお、プリンタ情報13がダウンロードされることにより、プリンタドライバ12の構成は、例えば、次のようになる。図7は、プリンタ情報のダウンロード後のプリンタドライバの構成例を示す図である。   By downloading the printer information 13, the configuration of the printer driver 12 is as follows, for example. FIG. 7 is a diagram illustrating a configuration example of the printer driver after downloading the printer information.

図7では、UI情報132として、カラー設定UI情報132a及び解像度設定UI情報132bが示されている。カラー設定UI情報132aは、カラー設定用のダイアログ情報1321に相当する。解像度設定UI情報132bは、解像度設定用のダイアログ情報1321に相当する。この場合、プリンタドライバ12のUIモジュール121は、カラー設定UI情報132a及び解像度設定UI情報132b等に基づいて印刷設定ダイアログを表示させる。   In FIG. 7, color setting UI information 132 a and resolution setting UI information 132 b are shown as UI information 132. The color setting UI information 132a corresponds to dialog information 1321 for color setting. The resolution setting UI information 132b corresponds to the dialog information 1321 for resolution setting. In this case, the UI module 121 of the printer driver 12 displays a print setting dialog based on the color setting UI information 132a, the resolution setting UI information 132b, and the like.

また、図7では、機能モジュール情報133として、カラー設定モジュール情報133a及び解像度設定モジュール情報133bが示されている。したがって、プリンタドライバ12の印刷モジュール122は、カラー設定用のダイアログ1321に対する設定内容については、カラー設定モジュール情報133aに含まれている機能モジュールを用いてプリンタ言語によるコマンドに変換する。また、印刷モジュール122は、解像度設定用のダイアログ1322に対する設定内容については、解像度設定モジュール情報133bに含まれている機能モジュールを用いてプリンタ言語によるコマンドに変換する。   In FIG. 7, color setting module information 133 a and resolution setting module information 133 b are shown as the function module information 133. Therefore, the print module 122 of the printer driver 12 converts the setting contents for the color setting dialog 1321 into a command in the printer language using the function module included in the color setting module information 133a. Further, the print module 122 converts the setting contents for the resolution setting dialog 1322 into a command in the printer language using the function module included in the resolution setting module information 133b.

上述したように、本実施の形態における印刷システム1によれば、印刷設定を行うためのダイアログに関する情報は、プリンタ20よりダウンロードされる。また、当該情報が更新された場合にも、改めて自動的にダウンロードされる。したがって、プリンタ20の機能強化等が行われ、印刷設定画面に変更が生じる場合であっても、各ホストコンピュータ10に対するプリンタドライバ12の更新を意識することなく、当該機能強化に対応した印刷設定画面を表示させることができる。   As described above, according to the printing system 1 in the present embodiment, information related to the dialog for performing print settings is downloaded from the printer 20. Also, when the information is updated, it is automatically downloaded again. Therefore, even when the function enhancement of the printer 20 is performed and the print setting screen is changed, the print setting screen corresponding to the function enhancement is unaware of the update of the printer driver 12 for each host computer 10. Can be displayed.

また、印刷設定画面の構成情報のみならず、印刷設定画面に対する入力情報をプリンタ言語によるコマンドに変換するためのプログラムモジュールもプリンタ20よりダウンロードされるため、プリンタドライバ12による表示内容の更新のみならず、処理内容の更新も自動的に行われる。   Further, not only the configuration information of the print setting screen but also the program module for converting the input information for the print setting screen into a command in the printer language is downloaded from the printer 20, so that not only the display contents are updated by the printer driver 12. The processing contents are automatically updated.

なお、異なる機種によるプリンタが複数台存在する環境では、プリンタごとにプリンタ情報を保存しておき、プリンタドライバ12からの要求に応じて当該プリンタ情報を返信するようにすればよい。そうすることにより、プリンタドライバ12は、各機種のプリンタ情報を参照することで、各機種に応じた表示及び処理を実行することができる。   In an environment where there are a plurality of printers of different models, the printer information may be stored for each printer, and the printer information may be returned in response to a request from the printer driver 12. By doing so, the printer driver 12 can execute display and processing corresponding to each model by referring to the printer information of each model.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   As mentioned above, although the Example of this invention was explained in full detail, this invention is not limited to such specific embodiment, In the range of the summary of this invention described in the claim, various deformation | transformation・ Change is possible.

本発明の実施の形態における印刷システムの構成例を示す図である。It is a figure which shows the structural example of the printing system in embodiment of this invention. 本発明の実施の形態におけるホストコンピュータのハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the host computer in embodiment of this invention. プリンタ情報の構成例を示す図である。3 is a diagram illustrating a configuration example of printer information. FIG. プリンタドライバの初期状態の構成例を示す図である。3 is a diagram illustrating a configuration example of an initial state of a printer driver. FIG. プリンタ情報の転送処理を説明するためのシーケンス図である。FIG. 10 is a sequence diagram for describing printer information transfer processing; 印刷設定ダイアログの表示時のプリンタドライバの処理手順を説明するためのフローチャートである。6 is a flowchart for explaining a processing procedure of a printer driver when a print setting dialog is displayed. プリンタ情報のダウンロード後のプリンタドライバの構成例を示す図である。3 is a diagram illustrating a configuration example of a printer driver after downloading printer information. FIG.

符号の説明Explanation of symbols

1 印刷システム
10 ホストコンピュータ
11 アプリケーション
12 プリンタドライバ
13 プリンタ情報
20 プリンタ
21 通信部
22 コマンドパーサ部
23 印刷処理部
24 プリンタ情報管理部
100 ドライブ装置
101 記録媒体
102 補助記憶装置
103 メモリ装置
104 演算処理装置
105 インタフェース装置
106 表示装置
107 入力装置
121 UIモジュール
122 印刷モジュール
B バス
DESCRIPTION OF SYMBOLS 1 Printing system 10 Host computer 11 Application 12 Printer driver 13 Printer information 20 Printer 21 Communication part 22 Command parser part 23 Print processing part 24 Printer information management part 100 Drive apparatus 101 Recording medium 102 Auxiliary storage apparatus 103 Memory apparatus 104 Arithmetic processing apparatus 105 Interface device 106 Display device 107 Input device 121 UI module 122 Printing module B Bus

Claims (9)

ネットワークを介して接続するプリンタより、入力を受け付ける複数の表示部品を有する印刷設定画面の構成情報と、前記表示部品に対する入力情報をプリンタ言語によるコマンドに変換するための複数のプログラムモジュールとを有するプリンタ情報を取得し、記憶装置に保存する情報取得手段と、
前記構成情報に基づいて前記印刷設定画面を構築し、表示装置に表示させる表示制御手段と、
前記表示部品に対する入力情報を前記プログラムモジュールを用いて前記コマンドに変換する変換手段とを有し、
前記構成情報は、前記表示部品と前記プログラムモジュールとを対応させる前記プログラムモジュールの識別情報を有し、
前記変換手段は、前記情報取得手段により取得した前記構成情報が有する前記識別情報により特定される前記プログラムモジュールに基づいて、当該表示部品に入力された前記入力情報を前記コマンドに変換し、
前記コマンドを前記プリンタに送信することにより前記プリンタに印刷を実行させることを特徴とする印刷制御装置。
Printer having configuration information of a print setting screen having a plurality of display parts for receiving input from a printer connected via a network, and a plurality of program modules for converting input information for the display parts into commands in a printer language Information acquisition means for acquiring information and storing it in a storage device;
Display control means for constructing the print setting screen based on the configuration information and displaying it on a display device;
Conversion means for converting input information for the display component into the command using the program module;
The configuration information includes identification information of the program module that associates the display component with the program module,
The conversion means converts the input information input to the display component into the command based on the program module specified by the identification information included in the configuration information acquired by the information acquisition means,
A print control apparatus that causes the printer to execute printing by transmitting the command to the printer.
前記プリンタ情報の更新の有無を判定する判定手段を有し、
前記情報取得手段は、前記プリンタ情報が更新されている場合に前記プリンタ情報を取得することを特徴とする請求項1記載の印刷制御装置。
Determining means for determining whether or not the printer information is updated;
The print control apparatus according to claim 1, wherein the information acquisition unit acquires the printer information when the printer information is updated.
前記判定手段は、前記プリンタより前記プリンタ情報のバージョン情報を取得し、取得されたバージョン情報と、前記記憶装置に保存されている前記プリンタ情報のバージョン情報とを比較することにより前記更新の有無を判定することを特徴とする請求項2記載の印刷制御装置。   The determination unit acquires version information of the printer information from the printer, and compares the acquired version information with the version information of the printer information stored in the storage device to determine whether or not the update has been performed. The print control apparatus according to claim 2, wherein the determination is made. コンピュータが実行する印刷制御方法であって、
ネットワークを介して接続するプリンタより、入力を受け付ける複数の表示部品を有する印刷設定画面の構成情報と、前記表示部品に対する入力情報をプリンタ言語によるコマンドに変換するための複数のプログラムモジュールとを有するプリンタ情報を取得し、記憶装置に保存する情報取得手順と、
前記構成情報に基づいて前記印刷設定画面を構築し、表示装置に表示させる表示制御手順と、
前記表示部品に対する入力情報を前記プログラムモジュールを用いて前記コマンドに変換する変換手順とを有し、
前記構成情報は、前記表示部品と前記プログラムモジュールとを対応させる前記プログラムモジュールの識別情報を有し、
前記変換手順は、前記情報取得手順により取得した前記構成情報が有する前記識別情報により特定される前記プログラムモジュールに基づいて、当該表示部品に入力された前記入力情報を前記コマンドに変換し、
前記コマンドを前記プリンタに送信することにより前記プリンタに印刷を実行させることを特徴とする印刷制御方法。
A printing control method executed by a computer,
Printer having configuration information of a print setting screen having a plurality of display parts for receiving input from a printer connected via a network, and a plurality of program modules for converting input information for the display parts into commands in a printer language An information acquisition procedure for acquiring information and storing it in a storage device;
A display control procedure for constructing the print setting screen based on the configuration information and displaying the print setting screen on a display device;
A conversion procedure for converting the input information for the display component into the command using the program module;
The configuration information includes identification information of the program module that associates the display component with the program module,
The conversion procedure converts the input information input to the display component into the command based on the program module specified by the identification information included in the configuration information acquired by the information acquisition procedure,
A printing control method for causing the printer to execute printing by transmitting the command to the printer.
前記プリンタ情報の更新の有無を判定する判定手順を有し、
前記情報取得手順は、前記プリンタ情報が更新されている場合に前記プリンタ情報を取得することを特徴とする請求項4記載の印刷制御方法。
A determination procedure for determining whether or not the printer information is updated;
The print control method according to claim 4, wherein the information acquisition procedure acquires the printer information when the printer information is updated.
前記判定手順は、前記プリンタより前記プリンタ情報のバージョン情報を取得し、取得されたバージョン情報と、前記記憶装置に保存されている前記プリンタ情報のバージョン情報とを比較することにより前記更新の有無を判定することを特徴とする請求項5記載の印刷制御方法。   The determination procedure acquires version information of the printer information from the printer, and compares the acquired version information with the version information of the printer information stored in the storage device to determine whether or not the update has been performed. The printing control method according to claim 5, wherein the determination is performed. コンピュータに、
ネットワークを介して接続するプリンタより、入力を受け付ける複数の表示部品を有する印刷設定画面の構成情報と、前記表示部品に対する入力情報をプリンタ言語によるコマンドに変換するための複数のプログラムモジュールとを有するプリンタ情報を取得し、記憶装置に保存する情報取得手順と、
前記構成情報に基づいて前記印刷設定画面を構築し、表示装置に表示させる表示制御手順と、
前記情報取得手順により取得した前記構成情報が有する識別情報によって、前記表示部品と関連付けられた前記プログラムモジュールに基づいて、当該表示部品に入力された前記入力情報を前記コマンドに変換する変換手順とを実行させるための印刷制御プログラム。
On the computer,
Printer having configuration information of a print setting screen having a plurality of display parts for receiving input from a printer connected via a network, and a plurality of program modules for converting input information for the display parts into commands in a printer language An information acquisition procedure for acquiring information and storing it in a storage device;
A display control procedure for constructing the print setting screen based on the configuration information and displaying the print setting screen on a display device;
A conversion procedure for converting the input information input to the display component into the command based on the program module associated with the display component based on the identification information included in the configuration information acquired by the information acquisition procedure. Print control program to be executed.
前記プリンタ情報の更新の有無を判定する判定手順を有し、
前記情報取得手順は、前記プリンタ情報が更新されている場合に前記プリンタ情報を取得することを特徴とする請求項7記載の印刷制御プログラム。
A determination procedure for determining whether or not the printer information is updated;
The print control program according to claim 7, wherein the information acquisition procedure acquires the printer information when the printer information is updated.
前記判定手順は、前記プリンタより前記プリンタ情報のバージョン情報を取得し、取得されたバージョン情報と、前記記憶装置に保存されている前記プリンタ情報のバージョン情報とを比較することにより前記更新の有無を判定することを特徴とする請求項8記載の印刷制御プログラム。   The determination procedure acquires version information of the printer information from the printer, and compares the acquired version information with the version information of the printer information stored in the storage device to determine whether or not the update has been performed. The printing control program according to claim 8, wherein the determination is made.
JP2007026173A 2007-02-05 2007-02-05 Print control apparatus, print control method, and print control program Expired - Fee Related JP4903064B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007026173A JP4903064B2 (en) 2007-02-05 2007-02-05 Print control apparatus, print control method, and print control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007026173A JP4903064B2 (en) 2007-02-05 2007-02-05 Print control apparatus, print control method, and print control program

Publications (2)

Publication Number Publication Date
JP2008191954A JP2008191954A (en) 2008-08-21
JP4903064B2 true JP4903064B2 (en) 2012-03-21

Family

ID=39751995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007026173A Expired - Fee Related JP4903064B2 (en) 2007-02-05 2007-02-05 Print control apparatus, print control method, and print control program

Country Status (1)

Country Link
JP (1) JP4903064B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5249477B2 (en) * 2013-02-12 2013-07-31 キヤノン株式会社 Printer, system, control method therefor, and program
JP5929851B2 (en) * 2013-07-26 2016-06-08 コニカミノルタ株式会社 Printing system, information processing apparatus, and program.

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11143662A (en) * 1997-11-04 1999-05-28 Ricoh Co Ltd Printer device
JPH11327828A (en) * 1998-05-20 1999-11-30 Canon Inc Print control apparatus, driver management method of print control apparatus, and storage medium storing computer-readable program
JP2000172469A (en) * 1998-12-09 2000-06-23 Sharp Corp Automatic display of print setting information
JP4258983B2 (en) * 2001-03-09 2009-04-30 コニカミノルタビジネステクノロジーズ株式会社 Software setting system
JP3817500B2 (en) * 2002-07-26 2006-09-06 キヤノン株式会社 Information processing apparatus, control method, and control program
JP2004318329A (en) * 2003-04-14 2004-11-11 Ricoh Co Ltd Information acquisition method
JP2005267541A (en) * 2004-03-22 2005-09-29 Fuji Xerox Co Ltd Peripheral equipment driver, peripheral equipment controller, and installation method for peripheral equipment control driver
JP2006107388A (en) * 2004-10-08 2006-04-20 Canon Sales Co Inc Information processor, and information processing method and program
JP4840968B2 (en) * 2005-03-14 2011-12-21 キヤノン株式会社 Information processing apparatus, information processing method, and computer program
JP2006268643A (en) * 2005-03-25 2006-10-05 Fuji Xerox Co Ltd Program, information processor and print system
JP2006293777A (en) * 2005-04-12 2006-10-26 Canon Inc Installation system, installation method, installation program, storage medium, and information processing apparatus

Also Published As

Publication number Publication date
JP2008191954A (en) 2008-08-21

Similar Documents

Publication Publication Date Title
KR102743687B1 (en) Information processing device, control method, and program
JP4874859B2 (en) Information processing apparatus, information processing system, program, and recording medium thereof
US8537438B2 (en) Information processing apparatus in which a plurality of types of print drivers and plurality of graphics units run, control method therefor, and program
US8736877B2 (en) Print system, client, control method, and storage medium
US20200004473A1 (en) Information apparatus, controlling method for information apparatus, and storage medium
US9329825B2 (en) Information processing apparatus, computer-readable storage medium, and method that generate a screen based on stored screen information and functional information
JP5825565B2 (en) Printer driver and method of adding printer driver print function
EP1830250A2 (en) Non-postscript printer description file generating tool
US9830544B2 (en) Image processing apparatus, control method, and storage medium for executing print processing using a password including selecting a personal identification code type that indicates a purpose for using the password
JP7487277B2 (en) PROGRAM, INFORMATION PROCESSING APPARATUS, AND METHOD FOR CONTROLLING INFORMATION PROCESSING APPARATUS
US8842321B2 (en) Information processing apparatus, printer driver, print setting method and data structure
JP2011180681A (en) Installer and method for installing printer driver
JP2015184915A (en) Information processing apparatus and method, and program
JP4903064B2 (en) Print control apparatus, print control method, and print control program
JP2020030697A (en) Information processing apparatus, terminal device, setting screen display system, and setting screen display method
JP6007015B2 (en) Image forming apparatus and image forming program
JP5353997B2 (en) Information processing apparatus, information processing system, program, and recording medium thereof
JP7746895B2 (en) Support Program
US11385848B2 (en) Information processing apparatus and control method
JP5389219B2 (en) Information processing apparatus, print setting method, and program
JP5779917B2 (en) Information processing apparatus, driver program, installer program, and storage medium
JP2007241877A (en) Print control apparatus, print control method, print control program, and recording medium
US20240004592A1 (en) Information processing device setting value for print job on the basis of settings information acquired from external device
JP2012141732A (en) Information processor, control method and program
JP2009230426A (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111104

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120104

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4903064

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150113

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees