JP2019067455A - Information processing apparatus and program - Google Patents

Information processing apparatus and program Download PDF

Info

Publication number
JP2019067455A
JP2019067455A JP2019005899A JP2019005899A JP2019067455A JP 2019067455 A JP2019067455 A JP 2019067455A JP 2019005899 A JP2019005899 A JP 2019005899A JP 2019005899 A JP2019005899 A JP 2019005899A JP 2019067455 A JP2019067455 A JP 2019067455A
Authority
JP
Japan
Prior art keywords
function
printer
information
unit
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019005899A
Other languages
Japanese (ja)
Other versions
JP2019067455A5 (en
JP6816781B2 (en
Inventor
和子 浅野
Kazuko Asano
和子 浅野
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
Publication of JP2019067455A publication Critical patent/JP2019067455A/en
Publication of JP2019067455A5 publication Critical patent/JP2019067455A5/en
Application granted granted Critical
Publication of JP6816781B2 publication Critical patent/JP6816781B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

To provide an information processing apparatus or the like capable of utilizing a function of a device as much as possible, according to a kind of the device.SOLUTION: An information processing apparatus for acquiring device configuration information from a device connected thereto, and capable of configuring settings, in accordance with the connected device, on the basis of the configuration information. The information processing apparatus includes: function file storage means 422 having a function file in which functions of a device are described; device classification read means 424 and 426 for classifying the device on the basis of the configuration information acquired from the device, and reading a function file corresponding to result of classification, from the function file storage means 424; information acquisition means 106 for acquiring function information relating to the function described in the function file read by the device classification read means 424 and 426, from the device; and display means 402 which displays a setting screen for configuring predetermined settings on the device, on the basis of the function information acquired by the information acquisition means 106.SELECTED DRAWING: Figure 4

Description

本発明は、ネットワークを介して機種が異なる複数の機器へ印刷の要求が可能な情報処理装置及びコンピュータをそのような装置として機能させるプログラムに関する。   The present invention relates to an information processing apparatus capable of requesting printing to a plurality of apparatuses of different models via a network and a program that causes a computer to function as such an apparatus.

ネットワーク又はシリアルで、例えばパーソナルコンピュータ等の情報処理装置(以下、単にPCという。)と、例えばプリンタ、スキャナ又はファクシミリ(FAX)等の周辺機器とが接続されている場合に、PCは、自身にインストールされているアプリケーションで作成又は閲覧されたデータを周辺機器が処理可能なデータへ変換するためのデバイスドライバを有する。   When a network or serial, for example, an information processing apparatus such as a personal computer (hereinafter simply referred to as PC) and a peripheral device such as a printer, scanner or facsimile (FAX) are connected, the PC It has a device driver for converting data created or browsed by an installed application into data that can be processed by a peripheral device.

例えば、レーザプリンタ(LP)及び複合機能プリンタ(MFP)等の画像形成装置(以下、単にプリンタという。)の場合に、PCには、一般的に、そのプリンタ専用のプリンタドライバが組み込まれており、これによって、アプリケーションで作成又は閲覧されたデータは、プリンタが処理可能なプリンタ言語(PDL)データへと変換される。   For example, in the case of an image forming apparatus (hereinafter, simply referred to as a printer) such as a laser printer (LP) and a multifunction printer (MFP), a PC generally has a printer driver dedicated to the printer. Thus, data created or viewed by the application is converted into printer language (PDL) data that can be processed by the printer.

一般的に、プリンタは、プリンタ毎に、その機能に従って、使用可能な印刷設定が異なることが多い。プリンタの機能には、機種及び/又はベンダーとは無関係に共通する機能と、各プリンタに搭載されているオプション構成部分によって定められる機能とがある。オプション構成は、機種及び/又はベンダー等によって異なり、プリンタは、オプション構成に依存して、プリンタ毎に異なった機能を有することができる。   Generally, printers often differ in available print settings according to their functions. The functions of the printer include a common function regardless of the model and / or the vendor and a function defined by an optional component installed in each printer. The optional configuration varies depending on the model and / or the vendor, and the printer can have different functions for each printer depending on the optional configuration.

従来技術として、オプション構成の異なったあらゆる種類のプリンタに対応させるため、オプション構成に依らずそれらのプリンタに共通する機能のみを設定可能なプリンタドライバが知られる。   As a prior art, in order to correspond to various types of printers having different optional configurations, printer drivers are known which can set only functions common to those printers regardless of the optional configurations.

あるいは、プリンタドライバは、プリンタの機能を活かした印刷設定を行うことができるよう、プリンタと双方向通信を行って、プリンタに搭載されているオプション構成を取得し、プリンタドライバに反映する技術も知られる。   Alternatively, the printer driver also performs bi-directional communication with the printer to obtain print settings utilizing the function of the printer, acquires the optional configuration installed in the printer, and reflects the technology on the printer driver. Be

このような技術は、例えば、特開2002−259085号公報(特許文献1)及び特開2002−175258号公報(特許文献2)に開示されている。   Such a technique is disclosed, for example, in Japanese Patent Application Laid-Open Nos. 2002-259085 (Patent Document 1) and 2002-175258 (Patent Document 2).

しかし、前出のあらゆる種類のプリンタに対応可能なプリンタドライバは、それらのプリンタに共通する機能しか設定できないので、夫々のプリンタが有する機能の一部しか利用することができないという問題がある。   However, since the printer driver compatible with all types of printers described above can set only the function common to those printers, there is a problem that only a part of the function possessed by each printer can be used.

一方、上記特許文献1及び2に開示される先行技術では、プリンタドライバは、予め認識していたプリンタについてはその機能を詳細に設定することが可能であるが、そうでないプリンタについてはその設定を行うことができないという問題がある。   On the other hand, in the prior art disclosed in Patent Documents 1 and 2, the printer driver can set its function in detail for the printer that has been recognized in advance, but for the other printer, the setting is There is a problem that it can not be done.

本発明は、上記問題を鑑みて、機器の種類に従って、機器の有する機能を可能な限り活用することができる情報処理装置及びプログラムを提供することを目的とする。   An object of the present invention is to provide an information processing apparatus and a program that can use the function of the device as much as possible according to the type of the device in view of the above-mentioned problems.

上記目的を達成するために、本発明の情報処理装置は、ネットワークを介して機種が異なる複数の機器へ印刷の要求が可能な情報処理装置であって、
ネットワークを介して接続された機器から該機器に関する構成情報を受信する構成情報受信手段と、
前記構成情報によって識別される機器が備える機能を確認するための要求情報を、前記構成情報と対応付けて複数記憶する要求情報記憶手段と、
前記構成情報受信手段によって受信される機器の構成情報に対応づけられて前記要求情報記憶手段に記憶されている要求情報を該機器に送信するか否かを判断する判断手段と、
前記判断手段によって送信すると判断された要求情報を該機器に送信する送信手段と、
前記印刷の要求を行うための画面を、前記送信手段によって送信された前記要求情報に対して該機器から応答された機能を示す情報に基づいて表示する表示手段と、
を有することを特徴とする。
In order to achieve the above object, an information processing apparatus according to the present invention is an information processing apparatus capable of requesting printing to a plurality of devices of different models via a network,
Configuration information receiving means for receiving configuration information related to the device from the device connected via the network;
Request information storage means for storing a plurality of request information for confirming the function of the device identified by the configuration information in association with the configuration information;
A determination unit that determines whether to transmit request information stored in the request information storage unit in association with the configuration information of the device received by the configuration information reception unit;
Transmission means for transmitting request information determined to be transmitted by the determination means to the device;
Display means for displaying a screen for requesting the printing on the basis of the information indicating the function that the apparatus responds to the request information transmitted by the transmission means;
It is characterized by having.

これにより、使用する機器の種類に従って、機器の有する機能を可能な限り活用することができる情報処理装置を提供することができる。本発明の情報処理装置は、あらゆる機器に対応可能であり、更に、その機器の種類に応じて、その機器において利用可能な機能の中から、当該情報処理装置が設定可能な機能を取捨選択することができる。   Thus, it is possible to provide an information processing apparatus capable of utilizing the function of the device as much as possible according to the type of the device to be used. The information processing apparatus according to the present invention is compatible with any device, and further selects, according to the type of the device, functions that can be set by the information processing device from functions available in the device. be able to.

また、上記目的は、コンピュータを当該情報処理装置の各手段として機能させるためのプログラムによっても達成される。   The above object is also achieved by a program for causing a computer to function as each means of the information processing apparatus.

本発明により、機器の種類に従って、機器の有する機能を可能な限り活用することができる情報処理装置及びプログラムを提供することが可能となる。   According to the present invention, it is possible to provide an information processing apparatus and program capable of utilizing the function of the device as much as possible according to the type of the device.

本実施形態の情報処理システムのネットワーク構成例を示す図である。It is a figure showing an example of network composition of an information processing system of this embodiment. 本実施形態のコンピュータのハードウェア構成例を示す図である。It is a figure showing the example of hardware constitutions of the computer of this embodiment. 本実施形態のコンピュータの機能構成例を示す図である。It is a figure showing an example of functional composition of a computer of this embodiment. 本実施形態のコンピュータにおけるプリンタドライバの構成例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of a printer driver in a computer of the present embodiment. 本実施形態のプリンタにおけるMIBのデータ構成例を示す図である。FIG. 3 is a view showing an example of the data configuration of the MIB in the printer of the embodiment. 本実施形態のコンピュータにおいてプリンタ機能設定画面を表示させる動作の一例を示す。An example of operation which displays a printer function setting screen in a computer of this embodiment is shown. 実施例1のプリンタドライバによるプリンタ分類動作の一例を示すシーケンス図である。FIG. 7 is a sequence diagram showing an example of a printer classification operation by the printer driver of the first embodiment. 実施例1においてプリンタのMIBに格納された構成情報の一例を示す図である。FIG. 7 is a diagram showing an example of configuration information stored in the MIB of the printer in the first embodiment. 実施例1の機能ファイルの記述例である。7 is a description example of a function file according to the first embodiment. 実施例1の機能設定画面の一例を示す図である。FIG. 7 is a diagram showing an example of a function setting screen of the first embodiment. 実施例2のプリンタドライバによるプリンタ分類動作の一例を示すシーケンス図である。FIG. 14 is a sequence diagram showing an example of a printer classification operation by the printer driver of the second embodiment. 実施例2においてプリンタのMIBに格納された構成情報の一例を示す図である。FIG. 16 is a diagram showing an example of configuration information stored in the MIB of the printer in the second embodiment. 実施例2の機能ファイルの記述例である。7 is a description example of a function file of Example 2; 実施例2の機能設定画面の一例を示す図である。FIG. 18 is a diagram showing an example of a function setting screen of the second embodiment. 実施例3のプリンタドライバによるプリンタ分類動作の一例を示すシーケンス図である。FIG. 18 is a sequence diagram showing an example of a printer classification operation by the printer driver of the third embodiment. 実施例3においてプリンタのMIBに格納された構成情報の一例を示す図である。FIG. 17 is a diagram showing an example of configuration information stored in the MIB of the printer in the third embodiment. 実施例3の機能ファイルの記述例である。21 is a description example of a function file according to a third embodiment. 実施例3の機能設定画面の一例を示す図である。FIG. 18 is a diagram showing an example of a function setting screen of the third embodiment. 実施例4のプリンタドライバによるプリンタ分類動作の一例を示すシーケンス図である。FIG. 18 is a sequence diagram showing an example of a printer classification operation by the printer driver of the fourth embodiment. 実施例4においてプリンタのMIBに格納された構成情報の一例を示す図である。FIG. 18 is a diagram showing an example of configuration information stored in the MIB of the printer in the fourth embodiment. 実施例4の機能ファイルの記述例である。21 is a description example of a function file of Example 4; 実施例4の機能設定画面の一例を示す図である。FIG. 18 is a diagram showing an example of a function setting screen of the fourth embodiment. 実施例5のプリンタドライバによる動作中止の一例を示すシーケンス図である。FIG. 18 is a sequence diagram showing an example of operation cancellation by the printer driver of the fifth embodiment.

本発明を実施するための最良の形態を、添付の図面を参照して説明する。   The best mode for carrying out the present invention will be described with reference to the attached drawings.

〔構成〕
図1は、本発明の一実施形態としての情報処理システムのネットワーク構成例を示す。
〔Constitution〕
FIG. 1 shows an example of the network configuration of an information processing system according to an embodiment of the present invention.

図1において、情報処理システム1は、情報処理装置としてのコンピュータ10と、第1及び第2のプリンタ12及び14と、それらを相互に接続して、データ通信を可能にするネットワーク16とを有する。   In FIG. 1, an information processing system 1 includes a computer 10 as an information processing apparatus, first and second printers 12 and 14, and a network 16 for interconnecting them to enable data communication. .

コンピュータ10は、OS(Operationing System)に基づくユーザインターフェース(UI)を表示することが可能なパーソナルコンピュータ(PC)、PDA(Personal Digital Assistants)又は携帯電話等の装置であっても良い。   The computer 10 may be a device such as a personal computer (PC) capable of displaying a user interface (UI) based on an operating system (OS), a personal digital assistant (PDA), or a mobile phone.

第1及び第2のプリンタ12、14は、コンピュータ10からの要求に従って動作する機器であって、本実施形態では、レーザプリンタ(LP)又は複合機能プリンタ(MFP)等の画像形成装置を例とする。   The first and second printers 12 and 14 are devices that operate according to a request from the computer 10. In the present embodiment, an image forming apparatus such as a laser printer (LP) or a multifunction printer (MFP) is used as an example. Do.

図1では、コンピュータ及びプリンタは、夫々、1台又は2台ずつしか示されていないが、実際には複数台であっても良い。また、コンピュータとプリンタとの間の接続は、図1に示されるようなローカルエリアネットワーク(LAN)やインターネット等のネットワーク形式はもちろん、例えばUSB等のようなシリアル形式であっても良い。   Although only one or two computers and printers are shown in FIG. 1, respectively, in practice, a plurality of computers and printers may be provided. Further, the connection between the computer and the printer may be a network format such as a local area network (LAN) or the Internet as shown in FIG. 1, or may be a serial format such as USB.

以下、本実施形態の情報処理システムについて、SNMP(Simple Network Manegement Protocol)によって管理されるネットワークシステムを例として説明する。SNMPは、ネットワークに接続された機器をネットワーク経由で監視することによってネットワークシステムを管理するプロトコルである。   Hereinafter, the information processing system of the present embodiment will be described by way of an example of a network system managed by SNMP (Simple Network Management Protocol). SNMP is a protocol that manages a network system by monitoring devices connected to the network via the network.

図2は、本発明の一実施形態としてのコンピュータのハードウェア構成例を示す図である。図2に示されるように、コンピュータ10は、バス26によって相互に接続されたドライブ装置21と、補助記憶装置22と、メモリ装置23と、演算処理装置24と、インターフェース装置25とを有する。コンピュータ10での処理を実現するプログラムは、CD−ROM等の記録媒体27によって提供される。   FIG. 2 is a diagram showing an example of a hardware configuration of a computer according to an embodiment of the present invention. As shown in FIG. 2, the computer 10 has a drive device 21, an auxiliary storage device 22, a memory device 23, an arithmetic processing unit 24 and an interface device 25 mutually connected by a bus 26. A program for realizing the processing in the computer 10 is provided by a recording medium 27 such as a CD-ROM.

ドライブ装置21は、記録媒体27を読み取るための装置である。プログラムを記録した記録媒体27がドライブ装置21にセットされると、プログラムが記録媒体27からドライブ装置21を介して補助記憶装置22にインストールされる。なお、本実施形態では、記録媒体に記録されたプログラムとして、プリンタドライバやPC−FAXドライバ等の各種デバイスドライバが適用可能であるが、説明を簡単なものとするため、以降はプリンタドライバを例として説明する。   The drive device 21 is a device for reading the recording medium 27. When the recording medium 27 in which the program is recorded is set in the drive device 21, the program is installed from the recording medium 27 into the auxiliary storage device 22 via the drive device 21. In the present embodiment, various device drivers such as a printer driver and a PC-FAX driver can be applied as the program recorded in the recording medium, but in order to simplify the description, the printer driver is exemplified hereinafter. Explain as.

補助記憶装置22は、インストールされたプログラムを格納すると共に、必要なファイル及びデータ等を格納する装置である。メモリ装置23は、プログラムの起動指示があった場合に、補助記憶装置22からプログラムを読み出して格納する装置である。演算処理装置24は、メモリ装置23に格納されたプログラムに従って、コンピュータ10に係る機能を実行する装置である。インターフェース装置25は、コンピュータ10を図1のネットワーク16へ接続するための装置である。   The auxiliary storage device 22 is a device that stores the installed program and stores necessary files, data, and the like. The memory device 23 is a device that reads the program from the auxiliary storage device 22 and stores it when there is an instruction to start the program. The arithmetic processing unit 24 is a device that executes a function related to the computer 10 in accordance with a program stored in the memory unit 23. The interface device 25 is a device for connecting the computer 10 to the network 16 of FIG.

図3は、コンピュータ10の機能構成例を示す図である。図3に示されるように、コンピュータ10は、ネットワーク16を介してプリンタ12に接続されており、アプリケーション102と、プリンタドライバ104と、情報取得部106と、通信部108とを有する。   FIG. 3 is a diagram showing an example of a functional configuration of the computer 10. As shown in FIG. 3, the computer 10 is connected to the printer 12 via the network 16 and has an application 102, a printer driver 104, an information acquisition unit 106, and a communication unit 108.

アプリケーション102は、例えばウィンドウズ(登録商標)のようなOS上で動作するプログラムであって、例えば、文書作成ソフト及び表計算ソフト等のような汎用アプリケーションである。   The application 102 is a program that operates on an OS such as Windows (registered trademark), for example, and is a general-purpose application such as document creation software and spreadsheet software.

プリンタドライバ104は、アプリケーション102で作成又は閲覧された画像データを、OSの内部命令とともに、プリンタ12が処理可能なデータ、所謂プリンタ言語(PDL)データに変換するモジュールである。   The printer driver 104 is a module that converts image data created or browsed by the application 102 into data that can be processed by the printer 12, so-called printer language (PDL) data, together with an internal command of the OS.

情報取得部106は、プリンタ12と通信して、プリンタ12の構成情報を取得及び/又は設定するモジュールとして機能し、SNMPのネットワークシステムでは、一般的にマネージャと呼ばれる。以降、情報取得部106をマネージャと称する。また、マネージャ106は、プリンタドライバ104で生成されたPDLデータをスプールするモジュールの一部であっても良い。   The information acquisition unit 106 communicates with the printer 12 to function as a module for acquiring and / or setting configuration information of the printer 12. In the network system of SNMP, the information acquisition unit 106 is generally called a manager. Hereinafter, the information acquisition unit 106 is referred to as a manager. Also, the manager 106 may be part of a module that spools PDL data generated by the printer driver 104.

通信部108は、プリンタ12と通信して、相互に情報を送受信するための、所謂、通信ポートである。   The communication unit 108 is a so-called communication port for communicating with the printer 12 to mutually transmit and receive information.

一方、図3に示されるように、プリンタ12は、通信ポートとしての通信部200と、構成情報送信部202と、構成情報記憶部204とを有する。   On the other hand, as shown in FIG. 3, the printer 12 includes a communication unit 200 as a communication port, a configuration information transmission unit 202, and a configuration information storage unit 204.

構成情報送信部202は、コンピュータ10からネットワーク16を介して送られた要求に応じて、構成情報記憶部204に格納された構成情報を取得し、要求先のコンピュータへ返す手段であり、SNMPのネットワークシステムでは、一般的にエージェントと呼ばれる。以降、構成情報送信部202をエージェントと称する。ここで、「構成情報」とは、プリンタ12に係る情報であって、プリンタ12のPDLの記述形式と、機種名又はデバイスIDなどの機種特定情報と、ベンダー情報と、プリンタ12において利用できる可能性がある機能に係る機能情報とを含む。   The configuration information transmission unit 202 is means for acquiring the configuration information stored in the configuration information storage unit 204 in response to the request sent from the computer 10 via the network 16 and returning it to the request destination computer. In a network system, it is generally called an agent. Hereinafter, the configuration information transmission unit 202 is referred to as an agent. Here, “configuration information” is information related to the printer 12 and can be used in the description format of the PDL of the printer 12, model identification information such as a model name or device ID, vendor information, and the printer 12 And function information pertaining to a function having a gender.

構成情報記憶部204は、プリンタ12の構成情報を格納する手段であり、SNMPのネットワークシステムでは、一般的にMIB(Management Information Base)と呼ばれる。   The configuration information storage unit 204 is a means for storing configuration information of the printer 12 and is generally called a Management Information Base (MIB) in a network system of SNMP.

図4は、本実施形態のコンピュータが有しているプリンタドライバ104の構成例を示すブロック図である。図4に示されるように、プリンタドライバ104は、マネージャ106に接続されており、ユーザインターフェース(UI)部40と、機能情報取得部42とを有する。マネージャ106は、ネットワーク16を介して、プリンタ12(図3参照。)のエージェント202に接続されている。   FIG. 4 is a block diagram showing an example of the configuration of the printer driver 104 included in the computer of this embodiment. As shown in FIG. 4, the printer driver 104 is connected to the manager 106 and has a user interface (UI) unit 40 and a function information acquisition unit 42. The manager 106 is connected via the network 16 to the agent 202 of the printer 12 (see FIG. 3).

UI部40は、プリンタ12を設定するための画面を表示し、ユーザ入力に基づいてプリンタ12の各機能を設定する手段であって、表示部402と、入力部404と、設定記憶部406と、設定読込部408とを有する。   The UI unit 40 is a means for displaying a screen for setting the printer 12 and setting each function of the printer 12 based on user input, and includes a display unit 402, an input unit 404, and a setting storage unit 406. , And a setting reading unit 408.

表示部402は、プリンタ12の機能を設定するための画面を生成し、例えばモニタ等のディスプレイ装置(図示せず。)に表示する手段である。また、表示部402は、ユーザによって入力された各機能に対する設定を受け付ける。入力部404は、プリンタ12の機能を設定するために、ユーザが夫々の機能に対する設定を入力する手段である。入力部404は、例えば、マウス及びキーボード等の入力装置であっても良い。設定記憶部406は、プリンタ12の機能に対する前回の設定を記憶しておく手段である。設定読込部408は、設定記憶部406に記憶されたプリンタ12の各機能に対する設定を読み込み、その設定を、表示部402によって表示される設定画面に反映するため、機能情報取得部42の機能情報記憶部428へ送る手段である。   The display unit 402 is means for generating a screen for setting the function of the printer 12 and displaying the screen on a display device (not shown) such as a monitor. The display unit 402 also receives settings for each function input by the user. The input unit 404 is means for the user to input settings for each function in order to set the function of the printer 12. The input unit 404 may be, for example, an input device such as a mouse and a keyboard. The setting storage unit 406 is means for storing the previous setting for the function of the printer 12. The setting reading unit 408 reads the settings for each function of the printer 12 stored in the setting storage unit 406, and reflects the settings on the setting screen displayed by the display unit 402. It is a means to send to the storage unit 428.

また、機能情報取得部42は、プリンタ12のMIB204(図3参照。)に格納された機能情報を取得して、UI部40の表示部402によって表示される設定画面に反映する手段であって、機能ファイル記憶部422と、機器分類部424と、機能ファイル読込部426と、機能情報記憶部428とを有する。   Also, the function information acquisition unit 42 is a means for acquiring the function information stored in the MIB 204 (see FIG. 3) of the printer 12 and reflecting it on the setting screen displayed by the display unit 402 of the UI unit 40. , A function file storage unit 422, a device classification unit 424, a function file reading unit 426, and a function information storage unit 428.

機能ファイル記憶部422は、同じ機種のプリンタに共通する機能が記述された第1の機能ファイルと、プリンタの機種とは無関係に、同じベンダーの全てのプリンタに共通する機能が記述された第2の機能ファイルと、プリンタの機種及びベンダーとは無関係に、全てのプリンタに共通する機能が記述された第3の機能ファイルとを記憶する手段である。   The function file storage unit 422 includes a first function file describing functions common to printers of the same model and a second function file describing functions common to all printers of the same vendor regardless of the printer model. And a third function file in which functions common to all the printers are described regardless of the printer model and vendor.

機器分類部424は、プリンタ12から取得した機種名及びベンダー情報等の構成情報に基づいて、プリンタ12を、
(1)プリンタドライバ104にとって既知のプリンタ(同じベンダーの製品であって、プリンタドライバ104がそのプリンタ専用の機能ファイルを有するプリンタ)、
(2)プリンタドライバ104にとって未知のプリンタ(同じベンダーの製品であるが、プリンタドライバ104がそのプリンタ専用の機能ファイルを有さないプリンタ)、
(3)プリンタドライバ104にとって未知のプリンタ(他のベンダーの製品であって、プリンタドライバ104がそのプリンタ専用の機能ファイルを有さないプリンタ)
の3種類のいずれかに分類する手段である。
The device classification unit 424 uses the printer 12 based on configuration information such as model name and vendor information acquired from the printer 12.
(1) A printer known to the printer driver 104 (a product of the same vendor, wherein the printer driver 104 has a function file dedicated to that printer)
(2) A printer unknown to the printer driver 104 (a product of the same vendor, but the printer driver 104 does not have a function file dedicated to the printer)
(3) A printer unknown to the printer driver 104 (a product of another vendor, in which the printer driver 104 does not have a function file dedicated to that printer)
It is a means to classify into any of three types.

機能ファイル読込部426は、機能ファイル記憶部422から、機器分類部424によるプリンタ12の分類結果に応じた機能ファイルを読み込む手段である。機能情報記憶部428は、機能ファイル読込部426により読み込まれた機能ファイルに記述された機能に係る機能情報を動作中に一時的に記憶する手段である。機能情報記憶部428に記憶された機能情報は、最終的に、UI部40の設定記憶部406に格納される。   The function file reading unit 426 is a means for reading from the function file storage unit 422 a function file according to the classification result of the printer 12 by the device classification unit 424. The function information storage unit 428 is means for temporarily storing, during operation, function information related to the function described in the function file read by the function file reading unit 426. The function information stored in the function information storage unit 428 is finally stored in the setting storage unit 406 of the UI unit 40.

図5は、図3のMIB204のデータ構成例を示す図である。図5に示されるように、MIB204は、共通領域510と、専用領域520とを有する。   FIG. 5 is a view showing an example of the data configuration of the MIB 204 of FIG. As shown in FIG. 5, the MIB 204 has a common area 510 and a dedicated area 520.

共通領域510は、ベンダー及び機種とは無関係に、全てのプリンタに共通する情報を格納している領域である。   The common area 510 is an area storing information common to all the printers regardless of the vendor and the model.

専用領域520は、ベンダーフリーな領域であって、機種共通領域522と、機種専用領域524とを有する。機種共通領域522は、同じベンダーの製品に対して共通のルールに従って機能情報を格納している領域であって、一方、機種専用領域524は、同じベンダーの製品であるが、機種ごとに異なったルールで機能情報を格納している領域である。   The dedicated area 520 is a vendor-free area, and includes a model common area 522 and a model dedicated area 524. The model common area 522 is an area for storing the function information according to the rule common to products of the same vendor, while the model dedicated area 524 is a product of the same vendor but different for each model This is an area where functional information is stored in rules.

以下、このコンピュータ10の動作の幾つかを説明する。   Hereinafter, some of the operations of the computer 10 will be described.

〔動作〕
図6は、コンピュータ10において、プリンタの機能を設定するための画面を表示させる動作の一例を示すシーケンス図である。
[Operation]
FIG. 6 is a sequence diagram showing an example of an operation of displaying a screen for setting the function of the printer in the computer 10.

最初に、ステップS101で、ユーザは、UI部40の入力部404によりプリンタ12の設定要求を行う。具体的な例としては、OSがウィンドウズ(登録商標)である場合に、ユーザは、「コントロールパネル」から「プリンタ」を選択し、更に、該当するプリンタを選択した状態で右クリックメニューから「プロパティ」を選択する。ユーザからの要求を受けて、UI部40は、ステップS102で、設定記憶部406に記憶された前回の設定を設定読込部408により読み込む。ここで、前回の設定とは、通信ポート108に前回接続されていたプリンタの機種名と、前回のプリンタにおいての機能に対する機能設定とを含む。UI部40は、ステップS103で、先のステップS102で設定読込部408により読み込んだ設定のうち少なくとも機種名及び機能設定を機能情報取得部42へ送る。ステップS104で、機能情報取得部42は、機能ファイル読込部426により、機能ファイル記憶部422に記憶された複数の機能ファイルの中から、先のステップS103でUI部から送られた機種名に対応する機能ファイルを読み込み、機能情報記憶部428に記憶する。ステップS105で、機能情報記憶部428は、先のステップS103でUI部40から送られた機能設定を、先のステップS104で記憶された機能ファイルにマージして、機能情報として記憶する。次にステップS106で、UI部40は、機能情報記憶部428で機能設定をマージされた機能ファイルに基づいて表示部402にプリンタ設定画面を表示させる。   First, in step S101, the user makes a setting request for the printer 12 through the input unit 404 of the UI unit 40. As a specific example, when the OS is Windows (registered trademark), the user selects "Printer" from "Control Panel", and further, while selecting the corresponding printer, "Properties" from the right-click menu Select ". In response to a request from the user, the UI unit 40 causes the setting reading unit 408 to read the previous setting stored in the setting storage unit 406 in step S102. Here, the previous setting includes the model name of the printer previously connected to the communication port 108 and the function setting for the function of the previous printer. In step S103, the UI unit 40 sends at least a model name and a function setting out of the settings read by the setting reading unit 408 in the previous step S102 to the function information acquisition unit 42. In step S104, the function information acquisition unit 42 corresponds to the model name sent from the UI unit in step S103 among the plurality of function files stored in the function file storage unit 422 by the function file reading unit 426. Function file is read and stored in the function information storage unit 428. In step S105, the function information storage unit 428 merges the function setting sent from the UI unit 40 in step S103 with the function file stored in step S104, and stores the merged function file as function information. Next, in step S106, the UI unit 40 causes the display unit 402 to display a printer setting screen based on the function file merged with the function setting in the function information storage unit 428.

更に、ステップS107で、ユーザは、入力部404により、表示部402により表示されたプリンタ設定画面から機能設定画面を表示させるよう要求する。例えば、機能設定画面は、プリンタ設定画面内にタブ形式で表示されても良い。ユーザからの要求を受けて、ステップS108で、UI部40は機能情報取得部42に機能情報の提供を要求する。ステップS109で、機能取得部42は、機能情報記憶部428に記憶されている機能情報をUI部40へ送る。ステップS110で、UI部40は、表示部402に、この機能情報に基づく機能設定画面を表示させる。最後に、ステップS111で、UI部40は、機能情報を設定記憶部406に記憶する。設定記憶部406に記憶された機能情報は、機能設定に係る情報を含み、プリンタ設定画面の表示要求が再びあった場合に「前回の設定」として用いられる。   Further, in step S107, the user requests the input unit 404 to display the function setting screen from the printer setting screen displayed by the display unit 402. For example, the function setting screen may be displayed in a tab format in the printer setting screen. In response to the request from the user, in step S108, the UI unit 40 requests the function information acquisition unit 42 to provide the function information. In step S109, the function acquisition unit 42 sends the function information stored in the function information storage unit 428 to the UI unit 40. In step S110, the UI unit 40 causes the display unit 402 to display a function setting screen based on the function information. Finally, in step S111, the UI unit 40 stores the function information in the setting storage unit 406. The function information stored in the setting storage unit 406 includes information relating to the function setting, and is used as “previous setting” when a request for displaying the printer setting screen is made again.

このように、プリンタドライバ104は、アプリケーションから呼び出されると、前回使用したプリンタの機能ファイルを選択し、動作を開始する。なお、プリンタドライバ104は、インストール直後には、工場出荷時に、又はプリンタ管理者によって、初期設定された機能ファイルを選択する。   Thus, when called from the application, the printer driver 104 selects the function file of the previously used printer and starts operation. Immediately after installation, the printer driver 104 selects a function file that has been initialized by the time of factory shipment or by the printer administrator.

機能設定画面内には「更新」ボタンが設けられており(図10参照。)、このボタンがユーザにより押されると、プリンタドライバ104は、プリンタ12から情報を取得することにより、プリンタ12を分類する。   An "update" button is provided in the function setting screen (see FIG. 10). When this button is pressed by the user, the printer driver 104 classifies the printer 12 by acquiring information from the printer 12. Do.

プリンタドライバ104は、プリンタ12の分類結果に応じて適切な機能ファイルを選択し、選択した機能ファイルに記述されている機能に係る機能情報をプリンタ12から取得し、この情報に基づいて動作する。   The printer driver 104 selects an appropriate function file according to the classification result of the printer 12, acquires function information related to the function described in the selected function file from the printer 12, and operates based on this information.

以下、上述したコンピュータ10でのプリンタ12の分類動作について、更に詳細に説明する。   Hereinafter, the classification operation of the printer 12 in the computer 10 described above will be described in more detail.

本実施例は、接続されるプリンタ12が、プリンタドライバ104にとって既知のプリンタ(同じベンダーの製品であって、プリンタドライバ104がそのプリンタ専用の機能ファイルを有するプリンタ)であって、更に、プリンタドライバ104で予め読み込まれている機能ファイルに対応するプリンタである場合のコンピュータ10の動作を例とする。このような動作を図7のシーケンス図を交えながら説明する。   In this embodiment, the printer 12 to be connected is a printer known to the printer driver 104 (a product of the same vendor, the printer driver 104 having a function file dedicated to the printer), and further, the printer driver The operation of the computer 10 in the case of the printer corresponding to the function file read in advance in 104 is taken as an example. Such an operation will be described with reference to the sequence diagram of FIG.

最初に、ステップS201で、ユーザは、UI部40の入力部404により機能設定画面の更新要求を行う。具体的には、ユーザは、UI部40の表示部402により表示された機能設定画面内の「更新」ボタン(図10(a)参照。)を押す。ユーザからの要求を受けて、UI部40は、ステップS202で、マネージャ106に対して、ポート名を指定して、プリンタ12と双方向通信するよう要求する。   First, in step S201, the user uses the input unit 404 of the UI unit 40 to make a request for updating the function setting screen. Specifically, the user presses the “update” button (see FIG. 10A) in the function setting screen displayed by the display unit 402 of the UI unit 40. In response to the request from the user, the UI unit 40 requests the manager 106 to bi-directionally communicate with the printer 12 by specifying the port name in step S202.

UI部40からの要求を受けて、マネージャ106は、ステップS203で、ネットワーク16を介してプリンタ12のエージェント202に対して、PDLの記述形式に係るPDL情報を取得するよう要求する。ステップS204で、エージェント202は、MIB204の共通領域510からPDL情報を取得し、マネージャ106へ返す。ステップS205で、マネージャ106は、プリンタ12から取得したPDL情報を機能情報取得部42に送る。ステップS206で、機能情報取得部42は、機器分類部424により、プリンタ12から取得したPDL情報から、プリンタのPDL記述形式がプリンタドライバ104に対応する形式であるかを確認する。   In response to the request from the UI unit 40, in step S203, the manager 106 requests the agent 202 of the printer 12 via the network 16 to acquire PDL information related to the PDL description format. In step S 204, the agent 202 acquires PDL information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S205, the manager 106 sends the PDL information acquired from the printer 12 to the function information acquisition unit 42. In step S 206, the function information acquisition unit 42 causes the device classification unit 424 to confirm whether the PDL description format of the printer corresponds to the printer driver 104 from the PDL information acquired from the printer 12.

プリンタのPDL記述形式がプリンタドライバ104に対応する形式である場合に、ステップS207で、機能情報取得部42は、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して機種名を取得するよう要求させる。ステップS208で、エージェント202は、MIB204の共通領域510から機種名を取得し、マネージャ106へ返す。ステップS209で、マネージャ106は、プリンタ12から取得した機種名を機能情報取得部42に送る。ステップS210で、機能情報取得部42は、機器分類部424により、(図6のステップS105で)予め読み込んだ機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが同じであるかを確認する。   If the PDL description format of the printer is a format corresponding to the printer driver 104, the function information acquisition unit 42 acquires the model name from the agent 106 of the printer 12 to the manager 106 via the network 16 in step S207. To require In step S208, the agent 202 acquires the model name from the common area 510 of the MIB 204 and returns the model name to the manager 106. In step S 209, the manager 106 sends the model name acquired from the printer 12 to the function information acquisition unit 42. In step S210, the function information acquisition unit 42 causes the device classification unit 424 to make the model name described in the function file read in advance (in step S105 in FIG. 6) the same as the model name acquired from the printer 12 Check if there is.

機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが同じである場合に、ステップS211で、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204の機種専用領域524から、予め読み込んだ機能ファイルに記述された機能に係る機能情報を取得するよう要求させる。ステップS212で、エージェント202は、MIB204の機種専用領域524から機能情報を取得し、マネージャ106へ返す。ステップS213で、マネージャ106は、プリンタ12から取得した機能情報を機能情報取得部42に送る。ステップS214で、機能情報取得部42は、プリンタ12から取得した機能情報を機能情報記憶部428に記憶する。記憶された機能情報は、ステップS215で、機能情報取得部42からUI部40へ送られる。ステップS216で、UI部40は、表示部402に、この機能情報に基づく機能設定画面を再表示させる。機能設定画面が再表示された後、機能設定画面のタブの外であって、同じくプリンタ設定画面内に表示された「適用」又は「OK」ボタン(図10(b)参照。)がユーザによって押されると、ステップS217で、UI部40は、機能情報を設定記憶部406に記憶する。   If the model name described in the function file is the same as the model name acquired from the printer 12, the function information acquisition unit 42 further sends the manager 106 to the printer 12 via the network 16 in step S 211. The agent 202 is requested to acquire function information related to the function described in the function file read in advance from the model-dedicated area 524 of the MIB 204. In step S 212, the agent 202 acquires the function information from the model dedicated area 524 of the MIB 204 and returns the function information to the manager 106. At step S 213, the manager 106 sends the function information acquired from the printer 12 to the function information acquisition unit 42. In step S214, the function information acquisition unit 42 stores the function information acquired from the printer 12 in the function information storage unit 428. The stored function information is sent from the function information acquisition unit 42 to the UI unit 40 in step S215. In step S216, the UI unit 40 causes the display unit 402 to redisplay a function setting screen based on the function information. After the function setting screen is redisplayed, the user applies the "Apply" or "OK" button (see FIG. 10B) displayed on the printer setting screen, which is also displayed outside the tab of the function setting screen. If pressed, the UI unit 40 stores the function information in the setting storage unit 406 in step S217.

図8は、本実施例においてプリンタのMIBに格納された構成情報の一例を示す図である。図8に示されるように、本実施例のMIB204aは、共通領域510aにPDLの記述形式と、機種名と、ベンダー識別IDとを有し、機種専用領域524aに機能IDを有する。   FIG. 8 is a diagram showing an example of configuration information stored in the MIB of the printer in this embodiment. As shown in FIG. 8, the MIB 204a of this embodiment has a PDL description format, a model name, and a vendor identification ID in the common area 510a, and has a function ID in the model dedicated area 524a.

ベンダー識別IDは、プリンタのベンダーを識別するための識別情報であって、図7のステップS208で、プリンタ12のエージェント202から機種名とともにマネージャ106へ送られても良い。プリンタドライバ104は、機種名によって、そのプリンタ12が既知であるかを、また、ベンダー識別IDによって、そのプリンタ12が同じベンダーの製品であるかを確認することができる。これにより、プリンタドライバ104は、プリンタ12を上記3種類のいずれかに分類することができる。   The vendor identification ID is identification information for identifying the printer vendor, and may be sent from the agent 202 of the printer 12 to the manager 106 together with the model name in step S208 of FIG. 7. The printer driver 104 can confirm whether the printer 12 is known by the model name and whether the printer 12 is a product of the same vendor by the vendor identification ID. Thus, the printer driver 104 can classify the printer 12 into any of the above three types.

機能IDは、プリンタ12が実行可能な機能を識別するための識別情報である。機能IDは、夫々の機能ごとに異なる。プリンタ12において実際に利用可能な機能は、機能IDを含むオプション構成情報により表される。   The function ID is identification information for identifying a function that can be executed by the printer 12. The function ID is different for each function. The functions actually available in the printer 12 are represented by optional configuration information including a function ID.

なお、本実施例では、現在使用するプリンタ12は、PDLの記述形式が"あああ"であり、プリンタ12の機種名が"PrinterA"であり、ベンダー識別IDが"ooo"であって、プリンタドライバ104と同じベンダーの製品であり、また、機能IDが"2"である機能を実行することができるとする。   In the present embodiment, the printer 12 currently used has a PDL description format of "AAA", the model name of the printer 12 is "Printer A", and the vendor identification ID is "ooo". It is assumed that a product of the same vendor as that of 104 and a function ID of "2" can be executed.

また、図9は、本実施例の機能ファイルの記述例である。図9に示されるように、機能ファイル900は、機能ファイル900に対応するプリンタの機種名902と、そのプリンタにおいて利用可能な機能910及び920とを記述される。機能910及び920は、夫々、その機能に付与された機能ID912及び922の夫々を有する。   FIG. 9 is a description example of the function file of this embodiment. As shown in FIG. 9, the function file 900 describes the model name 902 of the printer corresponding to the function file 900 and the functions 910 and 920 available for the printer. The functions 910 and 920 have the function IDs 912 and 922 respectively assigned to the function.

本実施例では、機種名902として"PrinterA"が記述されている。また、第1の機能910は、機能名"FinisherAAA"を有する機能であって、機能ID912として"1"を有する。第2の機能920は、機能名"Z Unit"を有する機能であって、機能ID922として"2"を有する。   In the present embodiment, “Printer A” is described as a model name 902. The first function 910 is a function having a function name “FinisherAAA”, and has “1” as a function ID 912. The second function 920 is a function having a function name “Z Unit”, and has “2” as a function ID 922.

以下、プリンタ12が図8の構成情報(MIB204a)を有し、プリンタドライバ104が図9の機能ファイル900を予め読み込んでいる場合を例として、図7に示した動作について更に具体的に説明する。   The operation shown in FIG. 7 will be described in more detail by taking the case where the printer 12 has the configuration information (MIB 204a) shown in FIG. 8 and the printer driver 104 reads the function file 900 shown in FIG. .

マネージャ106が、プリンタ12のエージェント202に対して機種名の取得を要求する(S207)と、エージェント202は、MIB204aの共通領域510aから機種名="PrinterA"を取得し、これをマネージャ106に返す(S208)。この機種名は、マネージャ106から機能情報取得部42へ送られ(S209)、機能情報取得部42は、機器分類部424により、プリンタ12から取得した機種名="PrinterA"と、予め読み込んでいる機能ファイル900に記述されている機種名902とを比較し、プリンタ12が機能ファイル900に対応するプリンタであると判断する(S210)。   When the manager 106 requests acquisition of a model name from the agent 202 of the printer 12 (S207), the agent 202 acquires model name = "Printer A" from the common area 510a of the MIB 204a and returns this to the manager 106. (S208). The model name is sent from the manager 106 to the function information acquisition unit 42 (S 209), and the function information acquisition unit 42 reads in advance the model name = “Printer A” acquired from the printer 12 by the device classification unit 424. The model name 902 described in the function file 900 is compared, and it is determined that the printer 12 is a printer corresponding to the function file 900 (S210).

その後、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204aの機種専用領域524aから、機能ファイル900に記述された機能910及び920に係る機能情報を取得するよう要求させる(S211)。エージェント202は、マネージャ106からの取得要求に応じて、機能910及び920に対応する機能IDを有する機能に係る機能情報を機種専用領域524aから取得する。しかし、機種専用領域524aには第2の機能920に対応する機能ID="2"しか格納されていないので、エージェント202は機能ID="2"を有する機能に係る機能情報を取得し、これをマネージャ106に返す(S212)。この機能情報は、マネージャ106から機能情報取得部42へ送られ(S213)、機能情報記憶部428に記憶される(S214)。また、機能情報記憶部428は、機能ID="1"を有する機能に関して、その機能情報を取得することができず、現在利用可能でない旨を表す情報も記憶することができる。   After that, the function information acquisition unit 42 further relates to the functions 910 and 920 described in the function file 900 from the model dedicated area 524 a of the MIB 204 a to the agent 106 of the printer 12 via the network 16 to the manager 106. A request is made to acquire function information (S211). In response to the acquisition request from the manager 106, the agent 202 acquires function information related to a function having a function ID corresponding to the functions 910 and 920 from the model-dedicated area 524a. However, since only the function ID = "2" corresponding to the second function 920 is stored in the model dedicated area 524a, the agent 202 acquires the function information related to the function having the function ID = "2", Are returned to the manager 106 (S212). The function information is sent from the manager 106 to the function information acquisition unit 42 (S213), and stored in the function information storage unit 428 (S214). In addition, the function information storage unit 428 can store information indicating that the function information can not be acquired for the function having the function ID “1” and that it is not currently available.

図10は、本実施例の機能設定画面の一例を示す図である。(a)は、前回の機能情報に基づく画面であり、一方、(b)は、(a)の画面において「更新」ボタンが押された後、現在使用するプリンタから取得した機能情報に基づいて再表示された画面である。   FIG. 10 is a diagram showing an example of the function setting screen of the present embodiment. (A) is a screen based on the previous function information, while (b) is based on the function information acquired from the printer currently used after the "update" button is pressed on the screen of (a) It is a screen redisplayed.

更新前の機能設定画面110は、前回使用されたプリンタの機種が有する全ての機能112及び114の夫々の機能名"FinisherAAA"及び"Z Unit"と、それらの機能がそのプリンタにおいて実際に利用可能であるか否かを示す夫々のチェックボックスとを表示する。前回使用されたプリンタでは、その機種が有する全ての機能が実際に利用可能であったとすると、これらのチェックボックスは両方ともオンとされている。機能設定画面110は、「更新」ボタン116を更に有し、これがユーザにより押されることによって、図7で示されたような動作が実施される。   The function setting screen 110 before update is the function names “FinisherAAA” and “Z Unit” of all the functions 112 and 114 of the printer type used last time, and those functions are actually usable in the printer And each check box indicating whether or not. In the previously used printer, if all the functions of the model are actually available, both of these check boxes are checked. The function setting screen 110 further includes an "update" button 116, which is pressed by the user to perform the operation as shown in FIG.

更新後の機能設定画面120は、現在使用されるプリンタの機能を設定するための画面であり、現在使用されるプリンタが前回使用されたプリンタと同じ機種である場合に、更新前の機能設定画面110と同じく、その機種が有する全ての112及び114の夫々の機能名"FinisherAAA"及び"Z Unit"と、それらの機能が現在使用されるプリンタにおいて利用可能であるか否かを示す夫々のチェックボックスとを表示する。しかし、現在使用されているプリンタが利用可能な機能は第2の機能"Z Unit"114のみである場合には、第1の機能112のチェックボックスはオフとされる。   The function setting screen 120 after the update is a screen for setting the function of the printer currently used, and when the printer currently used is the same model as the printer used last time, the function setting screen before the update As with 110, all 112 and 114 feature names "FinisterAAA" and "Z Unit" of the model and their respective checks indicating whether those features are available for the currently used printer Display a box. However, if the currently used printer is only capable of using the second function "Z Unit" 114, the check box of the first function 112 is unchecked.

以上、本実施例により、コンピュータは、現在使用するプリンタが、前に同じ通信ポートに接続されていたプリンタと機種が同じである既知のプリンタであることを確認し、その機種のプリンタが実行可能な全ての機能のうち、現在のプリンタで実際に利用可能な機能に係る情報のみをプリンタから取得して、現在のプリンタで実際に利用可能/不可能という情報をプリンタの設定画面に反映させることができる。   As described above, according to this embodiment, the computer confirms that the currently used printer is a known printer of the same model as the printer previously connected to the same communication port, and the printer of that model can be executed. Of all the functions, only the information related to the functions that can actually be used by the current printer is acquired from the printer, and the information that the current printer can actually be used is reflected or not reflected on the setting screen of the printer. Can.

従来のコンピュータでは、個々のプリンタごとに専用のプリンタドライバと、専用の通信ポートとを設けなくてはならないので、たとえ接続されるプリンタが、普段同じ通信ポートに接続されているプリンタと同じ機種であったとしても、プリンタが備えている付加機能が異なっている場合、接続されるプリンタが備えた実行可能な機能を全て使用できるとは限らない。しかし、本実施例のコンピュータでは、所定の機種のプリンタが実行可能な全ての機能を記述したファイルを有することによって、同じ機種の別個のプリンタを同じ通信ポートに接続して、その機能を適切に設定することが可能となる。   In the conventional computer, since it is necessary to provide a dedicated printer driver and a dedicated communication port for each printer, even if the connected printer is the same model as a printer usually connected to the same communication port. Even if the additional functions provided by the printer are different, it may not be possible to use all the executable functions provided by the connected printer. However, in the computer of this embodiment, by having a file describing all the functions that can be executed by a printer of a predetermined model, separate printers of the same model can be connected to the same communication port, and the functions can be properly performed. It becomes possible to set.

本実施例は、接続されるプリンタ12が、実施例1と同じく、プリンタドライバ104にとって既知のプリンタ(プリンタドライバ104と同じベンダーの製品であって、プリンタドライバ104がそのプリンタ専用の機能ファイルを有するプリンタ)であるが、プリンタドライバ104で予め読み込まれている機能ファイルとは別の機能ファイルに対応するプリンタである場合のコンピュータ10の動作を例とする。このような動作を図11のシーケンス図を交えながら説明する。   In this embodiment, the printer 12 to be connected is a printer (a product of the same vendor as the printer driver 104 known to the printer driver 104 as in the first embodiment, and the printer driver 104 has a function file dedicated to the printer). The operation of the computer 10 in the case where the printer 10) is a printer corresponding to a function file different from the function file previously read by the printer driver 104 is taken as an example. Such an operation will be described with reference to the sequence diagram of FIG.

最初に、ステップS301で、ユーザは、UI部40の入力部404により機能設定画面の更新要求を行う。具体的には、ユーザは、UI部40の表示部402により表示された機能設定画面内の「更新」ボタン(図14(a)参照。)を押す。ユーザからの要求を受けて、UI部40は、ステップS302で、マネージャ106に対して、ポート名を指定して、プリンタ12と双方向通信するよう要求する。   First, in step S301, the user uses the input unit 404 of the UI unit 40 to make a request for updating the function setting screen. Specifically, the user presses the “update” button (see FIG. 14A) in the function setting screen displayed by the display unit 402 of the UI unit 40. In response to the request from the user, the UI unit 40 requests the manager 106 to bi-directionally communicate with the printer 12 by specifying the port name in step S302.

UI部40からの要求を受けて、マネージャ106は、ステップS303で、ネットワーク16を介してプリンタ12のエージェント202に対して、PDLの記述形式に係るPDL情報を取得するよう要求する。ステップS304で、エージェント202は、MIB204の共通領域510からPDL情報を取得し、マネージャ106へ返す。ステップS305で、マネージャ106は、プリンタ12から取得したPDL情報を機能情報取得部42に送る。ステップS306で、機能情報取得部42は、機器分類部424により、プリンタ12から取得したPDL情報から、プリンタのPDL記述形式がプリンタドライバ104に対応する形式であるかを確認する。   In response to the request from the UI unit 40, in step S303, the manager 106 requests the agent 202 of the printer 12 via the network 16 to acquire PDL information related to the PDL description format. In step S304, the agent 202 acquires PDL information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S305, the manager 106 sends the PDL information acquired from the printer 12 to the function information acquisition unit 42. In step S306, the function information acquisition unit 42 causes the device classification unit 424 to confirm whether the PDL description format of the printer corresponds to the printer driver 104 from the PDL information acquired from the printer 12.

プリンタのPDL記述形式がプリンタドライバ104に対応する形式である場合に、ステップS307で、機能情報取得部42は、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して機種名を取得するよう要求させる。ステップS308で、エージェント202は、MIB204の共通領域510から機種名を取得し、マネージャ106へ返す。ステップS309で、マネージャ106は、プリンタ12から取得した機種名を機能情報取得部42に送る。ステップS310で、機能情報取得部42は、機器分類部424により、(図6のステップS105で)予め読み込んだ機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが同じであるかを確認する。   If the PDL description format of the printer is a format corresponding to the printer driver 104, the function information acquisition unit 42 acquires the model name from the manager 106 to the agent 202 of the printer 12 via the network 16 in step S307. To require In step S308, the agent 202 acquires the model name from the common area 510 of the MIB 204, and returns the model name to the manager 106. In step S309, the manager 106 sends the model name acquired from the printer 12 to the function information acquisition unit 42. In step S310, the function information acquisition unit 42 causes the device classification unit 424 to make the model name described in the function file read in advance (in step S105 in FIG. 6) the same as the model name acquired from the printer 12 Check if there is.

本実施例では、ステップS311で、機器分類部424により、機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが異なっていると判断される。この場合に、ステップS312で、機能情報取得部42は、マネージャ106に、更に、ネットワーク16を介してプリンタ12のエージェント202に対してベンダー情報を取得するよう要求させる。ステップS313で、エージェント202は、MIB204の共通領域510からベンダー情報を取得し、マネージャ106へ返す。ステップS314で、マネージャ106は、プリンタ12から取得したベンダー情報を機能情報取得部42に送る。ステップS315で、機能情報取得部42は、機器分類部424により、プリンタ12ら取得したベンダー情報から、プリンタ12のベンダーがプリンタドライバ104と同じベンダーの製品であるかを確認する。   In the present embodiment, in step S311, the device classification unit 424 determines that the model name described in the function file is different from the model name acquired from the printer 12. In this case, in step S312, the function information acquisition unit 42 further requests the manager 106 to acquire the vendor information of the agent 202 of the printer 12 via the network 16. In step S313, the agent 202 acquires vendor information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S314, the manager 106 sends the vendor information acquired from the printer 12 to the function information acquisition unit 42. In step S315, the function information acquisition unit 42 causes the device classification unit 424 to confirm whether the vendor of the printer 12 is a product of the same vendor as the printer driver 104 from the vendor information acquired by the printer 12 or the like.

プリンタ12のベンダーがプリンタドライバ104と同じベンダーの製品である場合に、ステップS316で、機能情報取得部42は、機能ファイル読込部426により、機能ファイル記憶部422から、プリンタ12から取得した機種名に基づいて、プリンタ12に対応する機能ファイルを検索する。検索の結果、機能ファイル記憶部422においてプリンタ12に対応する機能ファイルが見つかった場合には、ステップS317で、機能ファイル読込部426は、現在読み込まれている機能ファイルに換えて、機能ファイル記憶部422から、検索により見つかった、プリンタ12に対応する機能ファイルを新たに読み込む。   If the vendor of the printer 12 is a product of the same vendor as the printer driver 104, the function information acquisition unit 42 acquires the model name acquired from the printer 12 from the function file storage unit 422 by the function file reading unit 426 in step S316. The function file corresponding to the printer 12 is searched on the basis of. If a function file corresponding to the printer 12 is found in the function file storage unit 422 as a result of the search, the function file reading unit 426 replaces the currently read function file with the function file storage unit in step S317. From 422, a function file corresponding to the printer 12 found by the search is newly read.

次に、ステップS318で、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204の機種専用領域524から、ステップS317で読み込んだ機能ファイルに記述された機能に係る機能情報を取得するよう要求させる。ステップS319で、エージェント202は、MIB204の機種専用領域524から機能情報を取得し、マネージャ106へ返す。ステップS320で、マネージャ106は、プリンタ12から取得した機能情報を機能情報取得部42に送る。ステップS321で、機能情報取得部42は、プリンタ12から取得した機能情報を機能情報記憶部428に記憶する。記憶された機能情報は、ステップS322で、機能情報取得部42からUI部40へ送られる。ステップS323で、UI部40は、表示部402に、この機能情報に基づく機能設定画面を再表示させる。機能設定画面が再表示された後、機能設定画面のタブの外であって、同じくプリンタ設定画面内に表示された「適用」又は「OK」ボタン(図14(b)参照。)がユーザによって押されると、ステップS324で、UI部40は、機能情報を設定記憶部406に記憶する。   Next, in step S318, the function information acquisition unit 42 further instructs the manager 106 on the agent 202 of the printer 12 via the network 16 from the model dedicated area 524 of the MIB 204 in the function file read in step S317. Request to acquire function information related to the described function. In step S319, the agent 202 acquires the function information from the device type dedicated area 524 of the MIB 204, and returns the function information to the manager 106. In step S320, the manager 106 sends the function information acquired from the printer 12 to the function information acquisition unit 42. In step S 321, the function information acquisition unit 42 stores the function information acquired from the printer 12 in the function information storage unit 428. The stored function information is sent from the function information acquisition unit 42 to the UI unit 40 in step S322. In step S323, the UI unit 40 causes the display unit 402 to redisplay a function setting screen based on the function information. After the function setting screen is redisplayed, the user applies the "Apply" or "OK" button (see FIG. 14B) displayed on the printer setting screen, which is also displayed outside the tab of the function setting screen. If pressed, the UI unit 40 stores the function information in the setting storage unit 406 in step S324.

図12は、本実施例においてプリンタのMIBに格納された構成情報の一例を示す図である。図12に示されるように、本実施例のMIB204bは、共通領域510bにPDLの記述形式と、機種名と、ベンダー識別IDとを有し、機種専用領域524bに機能IDを有する。   FIG. 12 is a diagram showing an example of configuration information stored in the MIB of the printer in this embodiment. As shown in FIG. 12, the MIB 204b of this embodiment has a PDL description format, a model name, and a vendor identification ID in the common area 510b, and has a function ID in the model dedicated area 524b.

なお、本実施例では、現在使用するプリンタ12は、PDLの記述形式が"あああ"であり、プリンタ12の機種名が"PrinterB"であり、ベンダー識別IDが"ooo"であって、プリンタドライバ104と同じベンダーの製品であり、また、機能IDが"3"である機能を実行することができるとする。   In the present embodiment, the printer 12 currently used has a PDL description format of "AAA", the model name of the printer 12 is "Printer B", the vendor identification ID is "ooo", and the printer driver It is assumed that a product of the same vendor as that of 104 and a function ID of "3" can be executed.

図13は、本実施例の機能ファイルの記述例である。図13に示されるように、機能ファイル1300は、機能ファイル1300に対応するプリンタの機種名1302と、そのプリンタにおいて利用可能な機能1310とを記述される。機能1310は、その機能に付与された機能ID1312を有する。   FIG. 13 is a description example of the function file of this embodiment. As shown in FIG. 13, the function file 1300 describes the model name 1302 of the printer corresponding to the function file 1300 and the functions 1310 available for the printer. The function 1310 has a function ID 1312 assigned to the function.

本実施例では、機種名1302として"PrinterB"が記述されている。また、機能1310は、機能名="FinisherBBB"と、機能ID1312="3"とを有する。   In the present embodiment, “Printer B” is described as a model name 1302. Also, the function 1310 has a function name “FinisherBBB” and a function ID 1312 “3”.

以下、プリンタ12が図12の構成情報(MIB204b)を有し、プリンタドライバ104が図9の機能ファイル900を予め読み込んでいる状態で、機能ファイル記憶部422から検索した図13の機能ファイル1300を読み込み直す場合を例として、図11に示した動作について更に具体的に説明する。   Hereinafter, with the printer 12 having the configuration information (MIB 204b) of FIG. 12 and the printer driver 104 reading in advance the function file 900 of FIG. 9, the function file 1300 of FIG. The operation shown in FIG. 11 will be described more specifically by taking the case of reloading as an example.

マネージャ106が、プリンタ12のエージェント202に対して機種名の取得を要求する(S307)と、エージェント202は、MIB204bの共通領域510bから機種名="PrinterB"を取得し、これをマネージャ106に返す(S308)。この機種名は、マネージャ106から機能情報取得部42へ送られ(S309)、機能情報取得部42は、機器分類部424により、プリンタ12から取得した機種名="PrinterB"と、予め読み込んでいる機能ファイル900に記述されている機種名902とを比較し(S310)、プリンタ12が機能ファイル900に対応するプリンタではないと判断する(S311)。   When the manager 106 requests acquisition of a model name from the agent 202 of the printer 12 (S307), the agent 202 acquires model name = "Printer B" from the common area 510b of the MIB 204b and returns this to the manager 106 (S308). The model name is sent from the manager 106 to the function information acquisition unit 42 (S 309), and the function information acquisition unit 42 reads in advance the model name = “Printer B” acquired from the printer 12 by the device classification unit 424. The model name 902 described in the function file 900 is compared (S310), and it is determined that the printer 12 is not a printer corresponding to the function file 900 (S311).

次に、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対してベンダー情報を取得するよう要求させる(S312)。エージェント202は、マネージャ106からの取得要求に応じて、MIB204bの共通領域510bからベンダー識別ID="ooo"を取得し、これをマネージャ106に返す(S313)。このベンダー識別IDは、マネージャ106から機能情報取得部42へ送られ(S314)、機能情報取得部42は、機器分類部424により、プリンタ12から取得したベンダー識別ID="ooo"から、プリンタ12がプリンタドライバ104と同じベンダーの製品であるかを確認する(S315)。プリンタ12が同じベンダーの製品であることが確認されると、機能情報取得部42は、機能ファイル読込部426により、機能ファイル記憶部422から、プリンタ12から取得した機種名="PrinterB"と同じ機種名を記述された機能ファイル1300を検索し(S316)、現在読み込まれている機能ファイル900に換えて、検索により見つかった機能ファイル1300を新たに読み込む(S317)。   Next, the function information acquisition unit 42 further causes the manager 106 to request the agent 202 of the printer 12 to acquire vendor information via the network 16 (S312). In response to the acquisition request from the manager 106, the agent 202 acquires the vendor identification ID = "ooo" from the common area 510b of the MIB 204b, and returns this to the manager 106 (S313). The vendor identification ID is sent from the manager 106 to the function information acquisition unit 42 (S 314), and the function information acquisition unit 42 causes the device classification unit 424 to obtain the printer 12 from the vendor identification ID = “ooo” acquired from the printer 12. It is confirmed whether the printer driver 104 is a product of the same vendor as the printer driver 104 (S315). If it is confirmed that the printer 12 is a product of the same vendor, the function information acquisition unit 42 causes the function file reading unit 426 to have the same model name “Printer B” acquired from the printer 12 from the function file storage unit 422. The function file 1300 in which the model name is described is searched (S316), and instead of the currently read function file 900, the function file 1300 found by the search is newly read (S317).

その後、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204bの機種専用領域524bから、機能ファイル1300に記述された機能1310に係る機能情報を取得するよう要求させる(S318)。エージェント202は、マネージャ106からの取得要求に応じて、機能1310に対応する機能ID="3"を有する機能に係る機能情報を機種専用領域524bから取得し、これをマネージャ106に返す(S319)。この機能情報は、マネージャ106から機能情報取得部42へ送られ(S320)、機能情報記憶部28に記憶される(S321)。   After that, the function information acquisition unit 42 further instructs the manager 106 to send the agent 202 of the printer 12 via the network 16 to the function information related to the function 1310 described in the function file 1300 from the model dedicated area 524 b of the MIB 204 b. Request to acquire (S318). In response to the acquisition request from the manager 106, the agent 202 acquires function information relating to the function having the function ID “3” corresponding to the function 1310 from the model-dedicated area 524b, and returns this to the manager 106 (S319). . The function information is sent from the manager 106 to the function information acquisition unit 42 (S320), and stored in the function information storage unit 28 (S321).

図14は、本実施例の機能設定画面の一例を示す図である。(a)は、前回の機能情報に基づく画面であり、一方、(b)は、(a)の画面において「更新」ボタンが押された後、現在使用するプリンタから取得した機能情報に基づいて再表示された画面である。   FIG. 14 is a view showing an example of a function setting screen of the present embodiment. (A) is a screen based on the previous function information, while (b) is based on the function information acquired from the printer currently used after the "update" button is pressed on the screen of (a) It is a screen redisplayed.

更新前の機能設定画面110は、前回使用されたプリンタの機種が有する全ての機能112及び114の夫々の機能名"FinisherAAA"及び"Z Unit"と、それらの機能がそのプリンタにおいて実際に利用可能であるか否かを示す夫々のチェックボックスとを表示する。前回使用されたプリンタでは、その機種が有する全ての機能が実際に利用可能であったとすると、これらのチェックボックスは両方ともオンとされている。機能設定画面110は、「更新」ボタン116を更に有し、これがユーザにより押されることによって、図11で示されたような動作が実施される。   The function setting screen 110 before update is the function names “FinisherAAA” and “Z Unit” of all the functions 112 and 114 of the printer type used last time, and those functions are actually usable in the printer And each check box indicating whether or not. In the previously used printer, if all the functions of the model are actually available, both of these check boxes are checked. The function setting screen 110 further includes an "update" button 116, which is pressed by the user to perform the operation as shown in FIG.

更新後の機能設定画面130は、現在使用されるプリンタの機能を設定するための画面であり、現在使用されるプリンタが、プリンタドライバ104とベンダーは同じであるが、前回使用されたプリンタと機種が異なる既知のプリンタである場合に、現在使用されるプリンタの機種が有する全ての機能132の機能名"FinisherBBB"と、その機能が現在使用されるプリンタにおいて実際に利用可能であるか否かを示すチェックボックスとを表示する。   The function setting screen 130 after the update is a screen for setting the function of the printer currently used, and the printer currently used is the same as the printer driver 104 although the vendor is the same as that of the printer driver 104 used last time. If the printer is a different known printer, the function name "FinisherBBB" of all the functions 132 of the currently used printer model and whether the function is actually available in the currently used printer Display the check box shown.

図14に示されるように、プリンタドライバ104とベンダーは同じであるが、前回使用されたプリンタと機種が異なる既知のプリンタが使用される場合には、更新により、チェックボックスのオン・オフのみならず、機能名の表示も変更される。   As shown in FIG. 14, when the printer driver 104 is the same as the vendor but a known printer of a different model from the previously used printer is used, the update only turns the check box ON / OFF. Also, the display of function names is also changed.

以上、本実施例により、コンピュータは、現在使用するプリンタが、前に同じ通信ポートに接続されていたプリンタとは機種が異なる既知のプリンタであることを確認し、その機種のプリンタが実行可能な全ての機能を記述したファイルを読み込み、その実行可能な全ての機能のうち、現在のプリンタで実際に利用可能な機能に係る情報のみをプリンタから取得して、現在のプリンタで実際に利用可能/不可能という情報をプリンタの設定画面に反映させることができる。   As described above, according to the present embodiment, the computer confirms that the printer used at present is a known printer whose model is different from that of the printer previously connected to the same communication port, and the printer of that model can be executed. Loads a file that describes all functions, and among all the functions that can be executed, acquires from the printer only the information related to the functions that can actually be used by the current printer, and can actually be used by the current printer It is possible to reflect the information of impossible on the setting screen of the printer.

従来のコンピュータでは、個々のプリンタごとに専用のプリンタドライバと、専用の通信ポートとを設けなくてはならないので、接続されるプリンタは、その専用のプリンタドライバ及び通信ポートに必ず接続されなければならない。しかし、本実施例のコンピュータでは、所定の機種のプリンタが実行可能な全ての機能を記述したファイルを読み込むことによって、機種が異なる別個のプリンタを同じ通信ポートに接続して、その機能を適切に設定することが可能となる。   In a conventional computer, since each printer must have a dedicated printer driver and a dedicated communication port, the connected printer must be connected to the dedicated printer driver and communication port. . However, in the computer of this embodiment, by reading a file describing all the functions that can be executed by a printer of a predetermined model, different printers of different models are connected to the same communication port, and the functions are properly performed. It becomes possible to set.

本実施例は、接続されるプリンタ12が、プリンタドライバ104にとって未知である(即ち、プリンタドライバ104は、そのプリンタ12に対応する機能ファイルを有さない。)が、プリンタドライバ104と同じベンダーの製品である場合のコンピュータ10の動作を例とする。このような動作を図15のシーケンス図を交えながら説明する。   In this embodiment, the printer 12 to be connected is unknown to the printer driver 104 (ie, the printer driver 104 does not have a function file corresponding to the printer 12), but is of the same vendor as the printer driver 104. The operation of the computer 10 in the case of a product is taken as an example. Such an operation will be described with reference to the sequence diagram of FIG.

最初に、ステップS401で、ユーザは、UI部40の入力部404により機能設定画面の更新要求を行う。具体的には、ユーザは、UI部40の表示部402により表示された機能設定画面内の「更新」ボタン(図18(a)参照。)を押す。ユーザからの要求を受けて、UI部40は、ステップS402で、マネージャ106に対して、ポート名を指定して、プリンタ12と双方向通信するよう要求する。   First, in step S401, the user uses the input unit 404 of the UI unit 40 to make a request for updating the function setting screen. Specifically, the user presses the “update” button (see FIG. 18A) in the function setting screen displayed by the display unit 402 of the UI unit 40. In response to the request from the user, the UI unit 40 requests the manager 106 to perform bi-directional communication with the printer 12 by designating the port name in step S402.

UI部40からの要求を受けて、マネージャ106は、ステップS403で、ネットワーク16を介してプリンタ12のエージェント202に対して、PDLの記述形式に係るPDL情報を取得するよう要求する。ステップS404で、エージェント202は、MIB204の共通領域510からPDL情報を取得し、マネージャ106へ返す。ステップS405で、マネージャ106は、プリンタ12から取得したPDL情報を機能情報取得部42に送る。ステップS406で、機能情報取得部42は、機器分類部424により、プリンタ12から取得したPDL情報から、プリンタのPDL記述形式がプリンタドライバ104に対応する形式であるかを確認する。   In response to the request from the UI unit 40, in step S403, the manager 106 requests the agent 202 of the printer 12 via the network 16 to acquire PDL information related to the PDL description format. In step S404, the agent 202 acquires PDL information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S 405, the manager 106 sends PDL information acquired from the printer 12 to the function information acquisition unit 42. In step S406, the function information acquisition unit 42 causes the device classification unit 424 to confirm whether the PDL description format of the printer corresponds to the printer driver 104 from the PDL information acquired from the printer 12.

プリンタのPDL記述形式がプリンタドライバ104に対応する形式である場合に、ステップS407で、機能情報取得部42は、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して機種名を取得するよう要求させる。ステップS408で、エージェント202は、MIB204の共通領域510から機種名を取得し、マネージャ106へ返す。ステップS409で、マネージャ106は、プリンタ12から取得した機種名を機能情報取得部42に送る。ステップS410で、機能情報取得部42は、機器分類部424により、(図6のステップS105で)予め読み込んだ機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが同じであるかを確認する。   When the PDL description format of the printer is a format corresponding to the printer driver 104, the function information acquisition unit 42 acquires the model name from the agent 106 of the printer 12 to the manager 106 via the network 16 in step S407. To require In step S408, the agent 202 acquires the model name from the common area 510 of the MIB 204, and returns the model name to the manager 106. In step S409, the manager 106 sends the model name acquired from the printer 12 to the function information acquisition unit 42. In step S410, the function information acquisition unit 42 causes the device classification unit 424 to make the model name described in the function file read in advance (in step S105 in FIG. 6) the same as the model name acquired from the printer 12 Check if there is.

本実施例では、ステップS411で、機器分類部424により、機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが異なっていると判断される。この場合に、ステップS412で、機能情報取得部42は、マネージャ106に、更に、ネットワーク16を介してプリンタ12のエージェント202に対してベンダー情報を取得するよう要求させる。ステップS413で、エージェント202は、MIB204の共通領域510からベンダー情報を取得し、マネージャ106へ返す。ステップS414で、マネージャ106は、プリンタ12から取得したベンダー情報を機能情報取得部42に送る。ステップS415で、機能情報取得部42は、機器分類部424により、プリンタ12から取得したベンダー情報から、プリンタ12のベンダーがプリンタドライバ104と同じベンダーの製品であるかを確認する。   In the present embodiment, in step S411, the device classification unit 424 determines that the model name described in the function file is different from the model name acquired from the printer 12. In this case, in step S412, the function information acquisition unit 42 further requests the manager 106 to acquire the vendor information of the agent 202 of the printer 12 via the network 16. In step S413, the agent 202 acquires vendor information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S 414, the manager 106 sends vendor information acquired from the printer 12 to the function information acquisition unit 42. In step S 415, the function information acquisition unit 42 causes the device classification unit 424 to confirm whether the vendor of the printer 12 is a product of the same vendor as the printer driver 104 from the vendor information acquired from the printer 12.

プリンタ12のベンダーがプリンタドライバ104と同じである場合に、ステップS416で、機能情報取得部42は、機能ファイル読込部426により、機能ファイル記憶部422から、プリンタ12から取得した機種名に基づいて、プリンタ12に対応する機能ファイルを検索する。本実施例では、ステップS417で、機能ファイル読込部426は、検索の結果、機能ファイル記憶部422においてプリンタ12に対応する機能ファイルを見つけることができない。この場合に、ステップS418で、機能ファイル読込部426は、現在読み込まれている機能ファイルに換えて、機能ファイル記憶部422から、機種とは無関係なベンダー共通の機能ファイルを新たに読み込む。   If the vendor of the printer 12 is the same as the printer driver 104, the function information acquisition unit 42 causes the function file reading unit 426 to select the model name acquired from the printer 12 from the function file storage unit 422 in step S416. , Function files corresponding to the printer 12 are searched. In the present embodiment, in step S417, the function file reading unit 426 can not find the function file corresponding to the printer 12 in the function file storage unit 422 as a result of the search. In this case, in step S418, the function file reading unit 426 newly reads a vendor common function file unrelated to the model from the function file storage unit 422 in place of the currently read function file.

次に、ステップS419で、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204の機種共通領域522から、ステップS418で読み込んだ機能ファイルに記述された機能に係る機能情報を取得するよう要求させる。ステップS420で、エージェント202は、MIB204の機種共通領域522からベンダー共通の機能に係る機能情報を取得し、マネージャ106へ返す。ステップS421で、マネージャ106は、プリンタ12から取得した機能情報を機能情報取得部42に送る。ステップS422で、機能情報取得部42は、プリンタ12から取得した機能情報を機能情報記憶部428に記憶する。   Next, in step S419, the function information acquisition unit 42 further instructs the manager 106 on the agent 202 of the printer 12 via the network 16 from the model common area 522 of the MIB 204 in the function file read in step S418. Request to acquire function information related to the described function. In step S420, the agent 202 acquires function information related to the function common to the vendor from the type common area 522 of the MIB 204, and returns the function information to the manager 106. In step S421, the manager 106 sends the function information acquired from the printer 12 to the function information acquisition unit 42. In step S422, the function information acquisition unit 42 stores the function information acquired from the printer 12 in the function information storage unit 428.

続いて、ステップS423で、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204の共通領域510から、ステップS418で読み込んだ機能ファイルに記述された機能に係る機能情報を取得するよう要求させる。ステップS424で、エージェント202は、MIB204の共通領域510からプリンタ共通の機能に係る機能情報を取得し、マネージャ106へ返す。ステップS425で、マネージャ106は、プリンタ12から取得した機能情報を機能情報取得部42に送る。ステップS426で、機能情報取得部42は、プリンタ12から取得した機能情報を機能情報記憶部428に記憶する。   Subsequently, in step S 423, the function information acquisition unit 42 further instructs the manager 106 on the agent 202 of the printer 12 via the network 16 from the common area 510 of the MIB 204 in the function file read in step S 418. Request to acquire function information related to the specified function. In step S 424, the agent 202 acquires function information related to the function common to the printer from the common area 510 of the MIB 204, and returns the function information to the manager 106. In step S 425, the manager 106 sends the function information acquired from the printer 12 to the function information acquisition unit 42. In step S426, the function information acquisition unit 42 stores the function information acquired from the printer 12 in the function information storage unit 428.

ステップS422及びS426の夫々で機能情報記憶部428に記憶された機能情報は、ステップS427で、機能情報取得部42からUI部40へ送られる。ステップS428で、UI部40は、表示部402に、この機能情報に基づく機能設定画面を再表示させる。機能設定画面が再表示された後、機能設定画面のタブの外であって、同じくプリンタ設定画面内に表示された「適用」又は「OK」ボタン(図18(b)参照。)がユーザによって押されると、ステップS429で、UI部40は、機能情報を設定記憶部406に記憶する。   The function information stored in the function information storage unit 428 in each of steps S422 and S426 is sent from the function information acquisition unit 42 to the UI unit 40 in step S427. In step S428, the UI unit 40 causes the display unit 402 to redisplay a function setting screen based on the function information. After the function setting screen is redisplayed, the user applies the "Apply" or "OK" button (see FIG. 18B) displayed on the printer setting screen, which is also displayed on the printer setting screen, outside the tab of the function setting screen. When pressed, the UI unit 40 stores the function information in the setting storage unit 406 in step S429.

図16は、本実施例においてプリンタのMIBに格納された構成情報の一例を示す図である。図16に示されるように、本実施例のMIB204cは、共通領域510cにPDLの記述形式と、機種名と、ベンダー識別IDと、印刷に用いられる色数を表す色情報と、印刷用紙が収納されるトレイの情報とを有し、機種共通領域522cに機能IDを有する。   FIG. 16 is a diagram showing an example of configuration information stored in the MIB of the printer in this embodiment. As shown in FIG. 16, the MIB 204c of this embodiment stores the PDL description format, model name, vendor identification ID, color information representing the number of colors used for printing, and printing paper in the common area 510c. And the function ID in the model common area 522c.

なお、本実施例では、現在使用するプリンタ12は、PDLの記述形式が"あああ"であり、プリンタ12の機種名が(プリンタドライバ104にとって)不明であり、ベンダー識別IDが"ooo"であって、プリンタドライバ104と同じベンダーの製品であり、色情報が4色カラー印刷を表す"4"であり、第1及び第2のトレイ情報が夫々"Tray1"及び"Tray2"であり、また、機能IDが"1"である機能を実行することができるとする。   In the present embodiment, the printer 12 currently used has a PDL description format of "AAA", the model name of the printer 12 is unknown (for the printer driver 104), and the vendor identification ID is "ooo". The printer driver 104 is a product of the same vendor, the color information is “4” representing four-color printing, and the first and second tray information are “Tray1” and “Tray2”, respectively, and It is assumed that a function whose function ID is "1" can be executed.

図17は、本実施例の機能ファイルの記述例である。図17に示されるように、機能ファイル1700は、機能ファイル1700に対応するプリンタの機種名1702と、そのプリンタにおいて利用可能な機能1710、1720及び1750とを記述される。   FIG. 17 is an example of description of the function file of this embodiment. As shown in FIG. 17, the function file 1700 describes the model name 1702 of the printer corresponding to the function file 1700 and the functions 1710, 1720, and 1750 that can be used in the printer.

機種名1702には、実際の機種名ではなく、プリンタドライバ104と同じベンダーのプリンタである旨が記される。例えば、本実施例では、"ooo製Printer"と記述されている。   The model name 1702 indicates that the printer is the same vendor as the printer driver 104, not the actual model name. For example, in the present embodiment, it is described as "Printer made by ooo".

第1の機能1710は、その機能に付与された機能ID1712を有する。本実施例では、第1の機能情報1710は、機種とは無関係にベンダー共通で実行される機能に係る機能情報であって、機能ID1712として"1"を有する。   The first function 1710 has a function ID 1712 assigned to the function. In the present embodiment, the first function information 1710 is function information related to a function executed commonly by vendors regardless of the model, and has “1” as the function ID 1712.

第2の機能1720は、第1のサブ機能1730と、第2のサブ機能1740とを有し、第1及び第2のサブ機能1730、1740は、夫々、その機能に付与された機能ID1732及び1742の夫々を有する。本実施例では、第2の機能1720は、機能名"Color"を有し、カラー印刷が可能であるか否かを表す。この場合に、第1のサブ機能1730は、カラー印刷機能を表し、その機能ID1732は、色数に等しい値"4"を有する。一方、第2のサブ機能1740は、モノクロ印刷機能を表し、その機能ID1742は、色数に等しい値"1"を有する。   The second function 1720 has a first subfunction 1730 and a second subfunction 1740, and the first and second subfunctions 1730 and 1740 have function ID 1732 and function ID 1732 assigned to the function, respectively. It has 1742 each. In the present embodiment, the second function 1720 has a function name "Color" and indicates whether color printing is possible. In this case, the first subfunction 1730 represents a color printing function, and its function ID 1732 has a value "4" equal to the number of colors. On the other hand, the second sub function 1740 represents a monochrome printing function, and its function ID 1742 has a value "1" equal to the number of colors.

第3の機能1750は、本実施例では、プリンタからトレイ情報を取得するために、機能ファイル1700に記述されている。   The third function 1750 is described in the function file 1700 in the present embodiment in order to obtain tray information from the printer.

以下、プリンタ12が図16の構成情報(MIB204c)を有し、プリンタドライバ104が図9の機能ファイル900を予め読み込んでいる状態で、機能ファイル記憶部422から検索した図17の機能ファイル1700を読み込み直す場合を例として、図15に示した動作について更に具体的に説明する。   Hereinafter, with the printer 12 having the configuration information (MIB 204c) of FIG. 16 and the printer driver 104 reading in advance the function file 900 of FIG. 9, the function file 1700 of FIG. The operation shown in FIG. 15 will be described more specifically by taking the case of reloading as an example.

マネージャ106が、プリンタ12のエージェント202に対して機種名の取得を要求する(S407)と、エージェント202は、MIB204cの共通領域510cから機種名="(不明)"を取得し、これをマネージャ106に返す(S408)。この機種名は、マネージャ106から機能情報取得部42へ送られ(S409)、機能情報取得部42は、機器分類部424により、プリンタ12から取得した機種名="(不明)"と、予め読み込んでいる機能ファイル900に記述されている機種名902とを比較し(S410)、プリンタ12が機能ファイル900に対応するプリンタではないと判断する(S411)。   When the manager 106 requests acquisition of a model name from the agent 202 of the printer 12 (S407), the agent 202 acquires model name = "(unknown)" from the common area 510c of the MIB 204c, (S408). The model name is sent from the manager 106 to the function information acquisition unit 42 (S 409), and the function information acquisition unit 42 reads in advance the model name “(unknown)” acquired from the printer 12 by the device classification unit 424. The model name 902 described in the function file 900 is compared (S410), and it is determined that the printer 12 is not a printer corresponding to the function file 900 (S411).

次に、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対してベンダー情報を取得するよう要求させる(S412)。エージェント202は、マネージャ106からの取得要求に応じて、MIB204cの共通領域510cからベンダー識別ID="ooo"を取得し、これをマネージャ106に返す(S413)。このベンダー識別IDは、マネージャ106から機能情報取得部42へ送られ(S414)、機能情報取得部42は、機器分類部424により、プリンタ12から取得したベンダー識別ID="ooo"から、プリンタ12がプリンタドライバ104と同じベンダーの製品であるかを確認する(S415)。プリンタ12が同じベンダーの製品であることが確認されると、機能情報取得部42は、機能ファイル読込部426により、機能ファイル記憶部422から、プリンタ12から取得した機種名="(不明)"と同じ機種名を記述された機能ファイルを検索する(S416)。検索の結果、プリンタ12から取得した機種名="(不明)"と同じ機種名を記述された機能ファイルが存在しない場合には(S417)、機能ファイル読込部426は、現在読み込まれている機能ファイル900に換えて、機種とは無関係なベンダー共通の機能ファイル1700を機能ファイル記憶部422から新たに読み込む(S418)。   Next, the function information acquisition unit 42 further causes the manager 106 to request the agent 202 of the printer 12 to acquire vendor information via the network 16 (S412). In response to the acquisition request from the manager 106, the agent 202 acquires the vendor identification ID = "ooo" from the common area 510c of the MIB 204c, and returns this to the manager 106 (S413). The vendor identification ID is sent from the manager 106 to the function information acquisition unit 42 (S 414), and the function information acquisition unit 42 causes the device classification unit 424 to obtain the printer 12 from the vendor identification ID = “ooo” acquired from the printer 12. It is confirmed whether the printer driver 104 is a product of the same vendor as the printer driver 104 (S415). If it is confirmed that the printer 12 is a product of the same vendor, the function information acquisition unit 42 causes the function file reading unit 426 to obtain the model name “(not known)” acquired from the printer 12 from the function file storage unit 422. The function file in which the same model name is described is searched (S416). As a result of the search, when there is no function file in which the same model name as the model name “(unknown)” acquired from the printer 12 is described (S417), the function file reading unit 426 reads the currently read function. Instead of the file 900, a vendor-common function file 1700 unrelated to the model is newly read from the function file storage unit 422 (S418).

その後、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204cの機種共通領域522cから、機能ファイル1700に記述された機能1710に係る機能情報を取得するよう要求させる(S419)。エージェント202は、マネージャ106からの取得要求に応じて、機能1710に対応する機能IDを有する機能に係る機能情報を機種共通領域522cから取得する。本実施例では、機種共通領域522cには第1の機能1710に対応する機能ID="1"が含まれているので、エージェント202は、機種共通領域522cから機能ID="1"を有する機能に係る機能情報を取得し、これをマネージャ106に返す(S420)。この機能情報は、マネージャ106から機能情報取得部42へ送られ(S421)、機能情報記憶部428に記憶される(S422)。   Thereafter, the function information acquisition unit 42 further instructs the manager 106 on the agent 202 of the printer 12 via the network 16 from the model common area 522 c of the MIB 204 c to function information related to the function 1710 described in the function file 1700. Are required to acquire (S419). In response to the acquisition request from the manager 106, the agent 202 acquires function information related to a function having a function ID corresponding to the function 1710 from the model common area 522c. In the present embodiment, since the model common area 522 c includes the function ID “1” corresponding to the first function 1710, the agent 202 has a function having the function ID “1” from the model common area 522 c. Function information pertaining to is acquired and returned to the manager 106 (S420). The function information is sent from the manager 106 to the function information acquisition unit 42 (S421), and stored in the function information storage unit 428 (S422).

続いて、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204cの共通領域510cから、機能ファイル1700に記述された機能1720及び1750に係る機能情報を取得するよう要求させる(S423)。エージェント202は、マネージャ106からの取得要求に応じて、機能1720及び1750に対応する機能情報を共通領域510cから取得する。本実施例では、共通領域510cには、色数が4であることを表す色情報「色数:4」が含まれているので、エージェント202は、共通領域510cから機能1720に対応する機能情報として色情報"4"を取得し、これをマネージャ106に返す。更に、本実施例では、共通領域510cには、トレイ情報「トレイ:Tray1」及び「トレイ:Tray2」が含まれているので、エージェント202は、共通領域510cから機能1750に対応するトレイ情報として"Tray1"及び"Tray2"を取得し、これらをマネージャ106に返す(S424)。なお、実際には、色情報及びトレイ情報は、MIBにおいて異なる識別子(OID)を割り振られているので、夫々タイミングをずらして取得される。これらの機能情報は、マネージャ106から機能情報取得部42へ送られ(S425)、機能情報記憶部428に記憶される(S426)。   Subsequently, the function information acquisition unit 42 further relates to the functions 106 and 1750 described in the function file 1700 from the common area 510 c of the MIB 204 c with respect to the agent 202 of the printer 12 via the network 16 to the manager 106. A request is made to acquire function information (S423). In response to the acquisition request from the manager 106, the agent 202 acquires function information corresponding to the functions 1720 and 1750 from the common area 510c. In the present embodiment, since the common area 510 c includes color information “the number of colors: 4” indicating that the number of colors is 4, the agent 202 can perform the function information corresponding to the function 1720 from the common area 510 c. As color information "4" is acquired, this is returned to the manager 106. Furthermore, in the present embodiment, since the common area 510 c includes tray information “tray: Tray1” and “tray: Tray2”, the agent 202 can be used as tray information corresponding to the function 1750 from the common area 510 c. The “Tray 1” and “Tray 2” are obtained, and these are returned to the manager 106 (S424). Note that, in practice, color information and tray information are acquired at different timings because different identifiers (OIDs) are assigned in the MIB. The function information is sent from the manager 106 to the function information acquisition unit 42 (S425), and stored in the function information storage unit 428 (S426).

従って、機能情報記憶部428には、機種とは無関係にベンダー共通で実行される機能に係る機能情報と、カラー印刷機能に係る機能情報と、プリンタ12から取得したトレイ情報とが記憶される。   Accordingly, the function information storage unit 428 stores function information related to functions executed commonly by vendors regardless of the model, function information related to the color printing function, and tray information acquired from the printer 12.

図18は、本実施例の機能設定画面の一例を示す図である。(a)は、前回の機能情報に基づく画面であり、一方、(b)は、(a)の画面において「更新」ボタンが押された後、現在使用するプリンタから取得した機能情報に基づいて再表示された画面である。   FIG. 18 is a view showing an example of the function setting screen of the present embodiment. (A) is a screen based on the previous function information, while (b) is based on the function information acquired from the printer currently used after the "update" button is pressed on the screen of (a) It is a screen redisplayed.

更新前の機能設定画面110は、前回使用されたプリンタの機種が有する全ての機能112及び114の夫々の機能名"FinisherAAA"及び"Z Unit"と、それらの機能がそのプリンタにおいて実際に利用可能であるか否かを示す夫々のチェックボックスとを表示する。前回使用されたプリンタでは、その機種が有する全ての機能が実際に利用可能であったとすると、これらのチェックボックスは両方ともオンとされている。機能設定画面110は、「更新」ボタン116を更に有し、これがユーザにより押されることによって、図15で示されたような動作が実施される。   The function setting screen 110 before update is the function names “FinisherAAA” and “Z Unit” of all the functions 112 and 114 of the printer type used last time, and those functions are actually usable in the printer And each check box indicating whether or not. In the previously used printer, if all the functions of the model are actually available, both of these check boxes are checked. The function setting screen 110 further includes an "update" button 116, which is pressed by the user to perform the operation as shown in FIG.

更新後の機能設定画面140は、現在使用されるプリンタの機能を設定するための画面であって、現在使用されるプリンタが、プリンタドライバ104とベンダーは同じであるが、前回使用されたプリンタと機種が異なっており、更にはプリンタドライバ104にとって未知である場合に、ベンダー共通の、プリンタの機種とは無関係な全ての機能142、144、146及び148の夫々の機能名"Color"、"FunctionUnit1"、 "Tray1"及び"Tray2"と、それらの機能が現在使用されるプリンタにおいて実際に利用可能であるか否かを示す夫々のチェックボックスとを表示する。   The function setting screen 140 after update is a screen for setting the function of the printer currently used, and the printer currently used is the same as the printer used last time although the printer driver 104 and the vendor are the same. If the model is different and it is unknown to the printer driver 104, the function names "Color" and "Function Unit 1" of all the functions 142, 144, 146 and 148 common to the vendor and unrelated to the printer model "," Tray1 "and" Tray2 "and their respective check boxes indicating whether their features are actually available on the printer currently being used.

図18に示されるように、プリンタドライバ104とベンダーは同じであるが、前回使用されたプリンタと機種が異なっており、更にはプリンタドライバ104にとって未知であるプリンタが使用される場合には、更新により、チェックボックスのオン・オフのみならず、機能名の表示も変更される。   As shown in FIG. 18, when the printer driver 104 is the same as the vendor, but is different from the previously used printer and the model, and is unknown to the printer driver 104, the printer driver 104 is updated. Not only changes the check box on / off but also changes the display of the function name.

以上、本実施例により、コンピュータは、現在使用するプリンタが、前に同じ通信ポートに接続されていたプリンタとは機種が異なっており、更には、プリンタドライバ104にとって未知の機種ではあるが、プリンタドライバ104と同じベンダーの製品であることを確認する場合に、そのベンダーのプリンタが共通に実行可能な全ての機能を記述したファイルを読み込み、その実行可能な全ての機能のうち、現在のプリンタで実際に利用可能な機能に係る情報のみをプリンタから取得して、現在のプリンタで実際に利用可能/不可能という情報をプリンタの設定画面に反映させることができる。   As described above, according to the present embodiment, in the computer, the printer used at present is different in model from the printer previously connected to the same communication port, and the printer is an unknown model for the printer driver 104. When confirming that the product is a product of the same vendor as the driver 104, the printer of the vendor reads a file describing all functions that can be executed in common, and of all the functions that can be executed, the current printer Only information related to functions that can actually be used can be acquired from the printer, and information that the printer can actually be used / not available can be reflected on the setting screen of the printer.

従来のコンピュータでは、個々のプリンタごとに専用のプリンタドライバと、専用の通信ポートとを設けなくてはならないので、たとえ接続されるプリンタがプリンタドライバと同じベンダーの製品であったとしても、そのプリンタを使用することはできない。しかし、本実施例のコンピュータでは、所定のベンダーのプリンタが共通に実行可能な全ての機能を記述したファイルを読み込むことによって、プリンタドライバと同じベンダーの製品である別個のプリンタを同じ通信ポートに接続して、その機能を適切に設定することが可能となる。   In a conventional computer, a dedicated printer driver and a dedicated communication port must be provided for each printer, so even if the connected printer is a product of the same vendor as the printer driver, the printer Can not be used. However, in the computer of this embodiment, a separate printer which is a product of the same vendor as the printer driver is connected to the same communication port by reading a file describing all the functions that can be commonly executed by a printer of a predetermined vendor. Then, it becomes possible to set the function appropriately.

本実施例は、接続されるプリンタ12が、プリンタドライバ104にとって未知であって(即ち、プリンタドライバ104は、そのプリンタ12に対応する機能ファイルを有さない。)、且つ、プリンタドライバ104とは異なったベンダーの製品である場合のコンピュータ10の動作を例とする。このような動作を図19のシーケンス図を交えながら説明する。   In this embodiment, the printer 12 to be connected is unknown to the printer driver 104 (that is, the printer driver 104 does not have a function file corresponding to the printer 12), and the printer driver 104 is The operation of the computer 10 in the case of products of different vendors is taken as an example. Such an operation will be described with reference to the sequence diagram of FIG.

最初に、ステップS501で、ユーザは、UI部40の入力部404により機能設定画面の更新要求を行う。具体的には、ユーザは、UI部40の表示部402により表示された機能設定画面内の「更新」ボタン(図22(a)参照。)を押す。ユーザからの要求を受けて、UI部40は、ステップS502で、マネージャ106に対して、ポート名を指定して、プリンタ12と双方向通信するよう要求する。   First, in step S501, the user uses the input unit 404 of the UI unit 40 to make a request for updating the function setting screen. Specifically, the user presses the “update” button (see FIG. 22A) in the function setting screen displayed by the display unit 402 of the UI unit 40. In response to the request from the user, the UI unit 40 requests the manager 106 to bi-directionally communicate with the printer 12 by designating the port name in step S502.

UI部40からの要求を受けて、マネージャ106は、ステップS503で、ネットワーク16を介してプリンタ12のエージェント202に対して、PDLの記述形式に係るPDL情報を取得するよう要求する。ステップS504で、エージェント202は、MIB204の共通領域510からPDL情報を取得し、マネージャ106へ返す。ステップS505で、マネージャ106は、プリンタ12から取得したPDL情報を機能情報取得部42に送る。ステップS506で、機能情報取得部42は、機器分類部424により、プリンタ12から取得したPDL情報から、プリンタのPDL記述形式がプリンタドライバ104に対応する形式であるかを確認する。   In response to the request from the UI unit 40, in step S503, the manager 106 requests the agent 202 of the printer 12 via the network 16 to acquire PDL information related to the PDL description format. In step S 504, the agent 202 acquires PDL information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S505, the manager 106 sends PDL information acquired from the printer 12 to the function information acquisition unit 42. In step S 506, the function information acquisition unit 42 causes the device classification unit 424 to check whether the PDL description format of the printer corresponds to the printer driver 104 from the PDL information acquired from the printer 12.

プリンタのPDL記述形式がプリンタドライバ104に対応する形式である場合に、ステップS507で、機能情報取得部42は、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して機種名を取得するよう要求させる。ステップS508で、エージェント202は、MIB204の共通領域510から機種名を取得し、マネージャ106へ返す。ステップS509で、マネージャ106は、プリンタ12から取得した機種名を機能情報取得部42に送る。ステップS510で、機能情報取得部42は、機器分類部424により、(図6のステップS105で)予め読み込んだ機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが同じであるかを確認する。   If the PDL description format of the printer is a format corresponding to the printer driver 104, the function information acquisition unit 42 acquires the model name from the manager 106 to the agent 202 of the printer 12 via the network 16 in step S507. To require In step S 508, the agent 202 acquires the model name from the common area 510 of the MIB 204 and returns the model name to the manager 106. In step S 509, the manager 106 sends the model name acquired from the printer 12 to the function information acquisition unit 42. In step S510, the function information acquisition unit 42 causes the device classification unit 424 to make the model name described in the function file read in advance (in step S105 in FIG. 6) the same as the model name acquired from the printer 12 Check if there is.

本実施例では、ステップS511で、機器分類部424により、機能ファイルに記述されている機種名と、プリンタ12から取得した機種名とが異なっていると判断される。この場合に、ステップS512で、機能情報取得部42は、マネージャ106に、更に、ネットワーク16を介してプリンタ12のエージェント202に対してベンダー情報を取得するよう要求させる。ステップS513で、エージェント202は、MIB204の共通領域510からベンダー情報を取得し、マネージャ106へ返す。ステップS514で、マネージャ106は、プリンタ12から取得したベンダー情報を機能情報取得部42に送る。ステップS515で、機能情報取得部42は、機器分類部424により、プリンタ12から取得したベンダー情報から、プリンタ12のベンダーがプリンタドライバ104と同じベンダーの製品であるかを確認する。   In the present embodiment, in step S 511, the device classification unit 424 determines that the model name described in the function file is different from the model name acquired from the printer 12. In this case, in step S512, the function information acquisition unit 42 further causes the manager 106 to request the agent 202 of the printer 12 to acquire vendor information via the network 16. In step S513, the agent 202 acquires vendor information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S514, the manager 106 sends the vendor information acquired from the printer 12 to the function information acquisition unit 42. In step S515, the function information acquisition unit 42 causes the device classification unit 424 to confirm whether the vendor of the printer 12 is a product of the same vendor as the printer driver 104 from the vendor information acquired from the printer 12.

本実施例では、ステップS516で、機器分類部424により、プリンタ12のベンダーがプリンタドライバ104とは異なる他のベンダーであると判断される。この場合に、ステップS517で、機能ファイル読込部426は、現在読み込まれている機能ファイルに換えて、機能ファイル記憶部422から、機種のみならずベンダーにも無関係であって、全てのプリンタに共通する機能ファイルを新たに読み込む。   In the present embodiment, in step S516, the device classification unit 424 determines that the vendor of the printer 12 is another vendor different from the printer driver 104. In this case, in step S517, the function file reading unit 426 is replaced with the function file currently read, and from the function file storage unit 422, it is irrelevant to not only the model but also the vendor, and is common to all printers. Load a new function file.

次に、ステップS518で、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204の共通領域510から、ステップS517で読み込んだ機能ファイルに記述された機能に係る機能情報を取得するよう要求させる。ステップS519で、エージェント202は、MIB204の共通領域510からプリンタ共通の機能に係る機能情報を取得し、マネージャ106へ返す。ステップS520で、マネージャ106は、プリンタ12から取得した機能情報を機能情報取得部42に送る。ステップS521で、機能情報取得部42は、プリンタ12から取得した機能情報を機能情報記憶部428に記憶する。記憶された機能情報は、ステップS522で、機能情報取得部42からUI部40へ送られる。ステップS523で、UI部40は、表示部402に、この機能情報に基づく機能設定画面を再表示させる。機能設定画面が再表示された後、機能設定画面のタブの外であって、同じくプリンタ設定画面内に表示された「適用」又は「OK」ボタン(図22(b)参照。)がユーザによって押されると、ステップS524で、UI部40は、機能情報を設定記憶部406に記憶する。   Next, in step S518, the function information acquisition unit 42 further instructs the manager 106 on the agent 202 of the printer 12 via the network 16 from the common area 510 of the MIB 204 in the function file read in step S517. Request to acquire function information related to the specified function. In step S519, the agent 202 acquires function information related to the function common to the printer from the common area 510 of the MIB 204, and returns it to the manager 106. In step S520, the manager 106 sends the function information acquired from the printer 12 to the function information acquisition unit 42. In step S 521, the function information acquisition unit 42 stores the function information acquired from the printer 12 in the function information storage unit 428. The stored function information is sent from the function information acquisition unit 42 to the UI unit 40 in step S522. In step S523, the UI unit 40 causes the display unit 402 to redisplay a function setting screen based on the function information. After the function setting screen is redisplayed, the user applies the "Apply" or "OK" button (see FIG. 22B) displayed outside the tab of the function setting screen and also similarly displayed in the printer setting screen. If pressed, the UI unit 40 stores the function information in the setting storage unit 406 in step S524.

図20は、本実施例においてプリンタのMIBに格納された構成情報の一例を示す図である。図20に示されるように、本実施例のMIB204dは、共通領域510dにPDLの記述形式と、機種名と、ベンダー識別IDと、印刷に用いられる色数を表す色情報と、印刷用紙が収納されるトレイの情報とを有する。   FIG. 20 shows an example of configuration information stored in the MIB of the printer in this embodiment. As shown in FIG. 20, the MIB 204 d of this embodiment stores a PDL description format, a model name, a vendor identification ID, color information representing the number of colors used for printing, and printing paper in the common area 510 d. And the information of the tray to be

なお、本実施例では、現在使用するプリンタ12は、PDLの記述形式が"あああ"であり、プリンタ12の機種名及びベンダー識別情報が(プリンタドライバ104にとって)不明であり、色情報が4色カラー印刷を表す"4"であり、第1、第2及び第3のトレイ情報が夫々"Tray1"、"Tray2"及び"Tray3"であるとする。   In the present embodiment, the printer 12 currently used has a PDL description format of "A", the model name and vendor identification information of the printer 12 are unknown (for the printer driver 104), and the color information is four colors. It is assumed that "4" indicating color printing is used, and the first, second and third tray information are "Tray1", "Tray2" and "Tray3", respectively.

図21は、本実施例の機能ファイルの記述例である。図21に示されるように、機能ファイル2100は、機能ファイル2100に対応するプリンタの機種名2102と、そのプリンタにおいて利用可能な機能の機能2110及び2140とを記述される。   FIG. 21 is a description example of the function file of this embodiment. As shown in FIG. 21, the function file 2100 describes the model name 2102 of the printer corresponding to the function file 2100 and the functions 2110 and 2140 of the functions available in the printer.

機種名2102には、実際の機種名ではなく、プリンタドライバ104とは異なる他のベンダーのプリンタである旨が記される。例えば、本実施例では、"OtherPrinter"と記述されている。   The model name 2102 indicates that it is not an actual model name but a printer of another vendor different from the printer driver 104. For example, in the present embodiment, "OtherPrinter" is described.

第1の機能2110は、第1のサブ機能2120と、第2のサブ機能2130とを有し、第1及び第2のサブ機能2120、2130は、夫々、その機能に付与された機能ID2122及び2132の夫々を含む。本実施例では、第1の機能2110は、機能名"Color"を有し、カラー印刷が可能であるか否かを表す。この場合に、第1のサブ機能2120は、カラー印刷機能を表し、その機能ID2122は、色数に等しい値"4"を有する。一方、第2のサブ機能2130は、モノクロ印刷機能を表し、その機能ID2132は、色数に等しい値"1"を有する。   The first function 2110 has a first sub-function 2120 and a second sub-function 2130, and the first and second sub-functions 2120 and 2130 respectively have a function ID 2122 and a function ID 2122 assigned to the function. Includes 2132 each. In the present embodiment, the first function 2110 has a function name "Color" and indicates whether color printing is possible. In this case, the first sub-function 2120 represents a color printing function, and its function ID 2122 has a value "4" equal to the number of colors. On the other hand, the second sub-function 2130 represents a monochrome printing function, and its function ID 2132 has a value “1” equal to the number of colors.

第2の機能2140は、本実施例では、プリンタからトレイ情報を取得するために、機能ファイル2100に記述されている。   The second function 2140 is described in the function file 2100 in order to obtain tray information from the printer in this embodiment.

以下、プリンタ12が図20の構成情報(MIB204d)を有し、プリンタドライバ104が図9の機能ファイル900を予め読み込んでいる状態で、機能ファイル記憶部422から検索した図21の機能ファイル2100を読み込み直す場合を例として、図19に示した動作について更に具体的に説明する。   Hereinafter, with the printer 12 having the configuration information (MIB 204 d) of FIG. 20 and the printer driver 104 reading in advance the function file 900 of FIG. 9, the function file 2100 of FIG. The operation shown in FIG. 19 will be described more specifically by taking the case of reading again as an example.

マネージャ106が、プリンタ12のエージェント202に対して機種名の取得を要求する(S507)と、エージェント202は、MIB204dの共通領域510dから機種名="(不明)"を取得し、これをマネージャ106に返す(S508)。この機種名は、マネージャ106から機能情報取得部42へ送られ(S509)、機能情報取得部42は、機器分類部424により、プリンタ12から取得した機種名="(不明)"と、予め読み込んでいる機能ファイル900に記述されている機種名902とを比較し(S510)、プリンタ12が機能ファイル900に対応するプリンタではないと判断する(S511)。   When the manager 106 requests acquisition of a model name from the agent 202 of the printer 12 (S507), the agent 202 acquires model name = "(unknown)" from the common area 510d of the MIB 204d, (S508). The model name is sent from the manager 106 to the function information acquisition unit 42 (S 509), and the function information acquisition unit 42 reads in advance the model name “(unknown)” acquired from the printer 12 by the device classification unit 424. The model name 902 described in the function file 900 is compared (S510), and it is determined that the printer 12 is not a printer corresponding to the function file 900 (S511).

次に、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対してベンダー情報を取得するよう要求させる(S512)。エージェント202は、マネージャ106からの取得要求に応じて、MIB204dの共通領域510dからベンダー識別ID="(不明)"を取得し、これをマネージャ106に返す(S513)。このベンダー識別IDは、マネージャ106から機能情報取得部42へ送られ(S514)、機能情報取得部42は、機器分類部424により、プリンタ12から取得したベンダー識別ID="(不明)"から、プリンタ12がプリンタドライバ104と同じベンダーの製品であるかを確認する(S515)。プリンタ12が同じベンダーの製品ではないことが確認される(S516)と、機能情報取得部42は、機能ファイル読込部426により、現在読み込まれている機能ファイル900に換えて、機種及びベンダーとは無関係なプリンタ共通の機能ファイル2100を機能ファイル記憶部422から新たに読み込む(S517)。   Next, the function information acquisition unit 42 further causes the manager 106 to request the agent 202 of the printer 12 to acquire vendor information via the network 16 (S512). In response to the acquisition request from the manager 106, the agent 202 acquires a vendor identification ID = "(unknown)" from the common area 510d of the MIB 204d, and returns this to the manager 106 (S513). The vendor identification ID is sent from the manager 106 to the function information acquisition unit 42 (S 514), and the function information acquisition unit 42 causes the device classification unit 424 to obtain the vendor identification ID “(not known)” acquired from the printer 12. It is checked whether the printer 12 is a product of the same vendor as the printer driver 104 (S515). When it is confirmed that the printer 12 is not a product of the same vendor (S516), the function information acquisition unit 42 replaces the function file 900 currently read by the function file reading unit 426 with the model and the vendor. A function file 2100 common to unrelated printers is newly read from the function file storage unit 422 (S517).

その後、機能情報取得部42は、更に、マネージャ106に、ネットワーク16を介してプリンタ12のエージェント202に対して、MIB204dの共通領域510dから、機能ファイル2100に記述された機能2110及び2140に係る機能情報を取得するよう要求させる(S518)。エージェント202は、マネージャ106からの取得要求に応じて、機能2110及び2140に対応する機能情報を共通領域510dから取得する。本実施例では、共通領域510dには、色数が4であることを表す色情報「色数:4」が含まれているので、エージェント202は、共通領域510dから機能2110に対応する機能情報として色情報"4"を取得し、これをマネージャ106に返す。また、本実施例では、共通領域510dには、トレイ情報「トレイ:Tray1」、「トレイ:Tray2」及び「トレイ:Tray3」が含まれているので、エージェント202は、共通領域510dから機能2140に対応するトレイ情報として"Tray1"、"Tray2"及び"Tray3"を取得し、これらをマネージャ106に返す(S519)。なお、実際には、色情報及びトレイ情報は、MIBにおいて異なる識別子(OID)を割り振られているので、夫々タイミングをずらして取得される。これらの機能情報は、マネージャ106から機能情報取得部42へ送られ(S520)、機能情報記憶部428に記憶される(S521)。   After that, the function information acquisition unit 42 further instructs the manager 106 on the agent 202 of the printer 12 via the network 16 from the common area 510 d of the MIB 204 d to the functions 2110 and 2140 described in the function file 2100 It is requested to acquire information (S518). In response to the acquisition request from the manager 106, the agent 202 acquires function information corresponding to the functions 2110 and 2140 from the common area 510d. In the present embodiment, since the common area 510 d includes color information “the number of colors: 4” indicating that the number of colors is 4, the agent 202 can perform the function information corresponding to the function 2110 from the common area 510 d. As color information "4" is acquired, this is returned to the manager 106. Further, in the present embodiment, since the common area 510 d includes tray information “tray: Tray 1”, “tray 2: Tray 2”, and “tray 3: Tray 3”, the agent 202 changes the function from the common area 510 d to the function 2140. The corresponding tray information “Tray1”, “Tray2” and “Tray3” are acquired, and these are returned to the manager 106 (S519). Note that, in practice, color information and tray information are acquired at different timings because different identifiers (OIDs) are assigned in the MIB. The function information is sent from the manager 106 to the function information acquisition unit 42 (S520), and stored in the function information storage unit 428 (S521).

従って、機能情報記憶部428には、カラー印刷機能に係る機能情報と、プリンタ12から取得したトレイ情報とが記憶される。   Therefore, the function information storage unit 428 stores function information related to the color printing function and tray information acquired from the printer 12.

図22は、本実施例の機能設定画面の一例を示す図である。(a)は、前回の機能情報に基づく画面であり、一方、(b)は、(a)の画面において「更新」ボタンが押された後、現在使用するプリンタから取得した機能情報に基づいて再表示された画面である。   FIG. 22 is a view showing an example of the function setting screen of the present embodiment. (A) is a screen based on the previous function information, while (b) is based on the function information acquired from the printer currently used after the "update" button is pressed on the screen of (a) It is a screen redisplayed.

更新前の機能設定画面110は、前回使用されたプリンタの機種が有する全ての機能112及び114の夫々の機能名"FinisherAAA"及び"Z Unit"と、それらの機能がそのプリンタにおいて実際に利用可能であるか否かを示す夫々のチェックボックスとを表示する。前回使用されたプリンタでは、その機種が有する全ての機能が実際に利用可能であったとすると、これらのチェックボックスは両方ともオンとされている。機能設定画面110は、「更新」ボタン116を更に有し、これがユーザにより押されることによって、図19で示されたような動作が実施される。   The function setting screen 110 before update is the function names “FinisherAAA” and “Z Unit” of all the functions 112 and 114 of the printer type used last time, and those functions are actually usable in the printer And each check box indicating whether or not. In the previously used printer, if all the functions of the model are actually available, both of these check boxes are checked. The function setting screen 110 further includes an "update" button 116, which is pressed by the user to perform the operation as shown in FIG.

更新後の機能設定画面150は、現在使用されるプリンタの機能を設定するための画面であって、現在使用されるプリンタが、プリンタドライバとは異なる他のベンダーの製品である場合に、プリンタの機種及びベンダーとは無関係なプリンタ共通の全ての機能152、154、156及び158の夫々の機能名"Color"、"Tray1"、"Tray2"及び"Tray3"と、それらの機能が現在のプリンタにおいて実際に利用可能であるか否かを示す夫々のチェックボックスとを表示する。   The updated function setting screen 150 is a screen for setting the function of the currently used printer, and when the currently used printer is a product of another vendor different from the printer driver, The function names "Color", "Tray1", "Tray2" and "Tray3" of all the functions 152, 154, 156 and 158 common to all printers common to printer types and vendors, and those functions in the current printer Display each check box indicating whether it is actually available or not.

図22に示されるように、前回使用されたプリンタと異なる機種であって、更には、プリンタドライバと異なる他のベンダーの製品であるプリンタが使用される場合に、更新により、チェックボックスのオン・オフのみならず、機能名の表示も変更される。   As shown in FIG. 22, when a printer of a different model from the printer used last time and a product of another vendor different from the printer driver is used, the check box is selected by update. Not only is it turned off, but the display of function names is also changed.

以上、本実施例により、コンピュータは、現在使用するプリンタが、前に同じ通信ポートに接続されていたプリンタとは機種が異なっており、更には、プリンタドライバ104にとって未知の機種であって、且つ、プリンタドライバドライバ104とは異なる他のベンダーの製品であることを確認する場合に、機種及びベンダーとは無関係に全てのプリンタが共通に実行可能な全ての機能を記述したファイルを読み込み、その実行可能な全ての機能のうち、現在のプリンタで実際に利用可能な機能に係る情報のみをプリンタから取得して、現在のプリンタで実際に利用可能/不可能という情報をプリンタの設定画面に反映させることができる。   As described above, according to the present embodiment, the computer is different in model from the printer used at present in the printer previously connected to the same communication port, and is a model unknown to the printer driver 104, and , When confirming that the product is a product of another vendor different from the printer driver 104, read a file describing all functions that can be commonly executed by all printers regardless of the model and vendor, and execute the file Among all possible functions, only the information related to the function actually available in the current printer is acquired from the printer, and the information that the current printer can actually be used / unavailable is reflected on the setting screen of the printer be able to.

従来のコンピュータでは、個々のプリンタごとに専用のプリンタドライバと、専用の通信ポートとを設けなくてはならないので、そのようなプリンタドライバ及び通信ポートを設けられていない、又は、設けられていたとしても、対応するプリンタドライバ及び通信ポートに接続されないプリンタは、コンピュータにとって未知のプリンタであると判断され、そのプリンタを使用することができない。しかし、本実施例のコンピュータでは、全てのプリンタが共通に実行可能な全ての機能を記述したファイルを読み込むことによって、接続されるプリンタが未知のプリンタであると判断された場合にも、その機能を適切に設定することが可能となる。   In a conventional computer, since it is necessary to provide a dedicated printer driver and a dedicated communication port for each individual printer, such printer driver and communication port are not provided or provided. Also, a printer not connected to the corresponding printer driver and communication port is determined to be an unknown printer for the computer, and the printer can not be used. However, in the computer of this embodiment, even if it is determined that the connected printer is an unknown printer by reading a file describing all functions that can be commonly executed by all the printers, the function is Can be set appropriately.

本実施例は、接続されるプリンタ12が、プリンタドライバ104が未対応のPDL記述形式に対応するプリンタである場合のコンピュータ10の動作を例とする。このような動作を図23のシーケンス図を交えながら説明する。   The present embodiment takes as an example the operation of the computer 10 in the case where the connected printer 12 is a printer in which the printer driver 104 supports a non-compliant PDL description format. Such an operation will be described with reference to the sequence diagram of FIG.

最初に、ステップS601で、ユーザは、UI部40の入力部404により機能設定画面の更新要求を行う。具体的には、ユーザは、UI部40の表示部402により表示された機能設定画面内の「更新」ボタン(図10(a)等参照。)を押す。ユーザからの要求を受けて、UI部40は、ステップS602で、マネージャ106に対して、ポート名を指定して、プリンタ12と双方向通信するよう要求する。   First, in step S601, the user uses the input unit 404 of the UI unit 40 to request a function setting screen update. Specifically, the user presses an “update” button (see FIG. 10A or the like) in the function setting screen displayed by the display unit 402 of the UI unit 40. In response to the request from the user, the UI unit 40 requests the manager 106 to perform bi-directional communication with the printer 12 by designating the port name in step S602.

UI部40からの要求を受けて、マネージャ106は、ステップS603で、ネットワーク16を介してプリンタ12のエージェント202に対して、PDLの記述形式に係るPDL情報を取得するよう要求する。ステップS604で、エージェント202は、MIB204の共通領域510からPDL情報を取得し、マネージャ106へ返す。ステップS605で、マネージャ106は、プリンタ12から取得したPDL情報を機能情報取得部42に送る。ステップS606で、機能情報取得部42は、機器分類部424により、プリンタ12から取得したPDL情報から、プリンタのPDL記述形式がプリンタドライバ104に対応する形式であるかを確認する。   In response to the request from the UI unit 40, in step S603, the manager 106 requests the agent 202 of the printer 12 via the network 16 to acquire PDL information related to the PDL description format. In step S 604, the agent 202 acquires PDL information from the common area 510 of the MIB 204 and returns it to the manager 106. In step S 605, the manager 106 sends PDL information acquired from the printer 12 to the function information acquisition unit 42. In step S 606, the function information acquisition unit 42 causes the device classification unit 424 to confirm whether the PDL description format of the printer corresponds to the printer driver 104 from the PDL information acquired from the printer 12.

本実施例では、ステップS607で、機器分類部424により、プリンタ12のPDL記述形式が、プリンタドライバ104が未対応の形式であると判断される。この場合に、ステップS608で、機能情報取得部42は、UI部40に対して、PDLの記述形式が対象外である旨を通知する。この通知を受けて、ステップS609で、UI部40は、表示部402に、プリンタ12の機能を設定することができない旨を表す画面を表示させる。   In the present embodiment, in step S 607, the device classification unit 424 determines that the PDL description format of the printer 12 is a format in which the printer driver 104 is not compatible. In this case, in step S608, the function information acquisition unit 42 notifies the UI unit 40 that the PDL description format is not the target. In response to this notification, in step S609, the UI unit 40 causes the display unit 402 to display a screen indicating that the function of the printer 12 can not be set.

以上、本実施例により、コンピュータは、機器において利用可能な機能に係る機能情報を取得する前に、そもそも機器自体が利用可能であるかを確認することができる。   As described above, according to the present embodiment, the computer can confirm whether the device itself is available before acquiring the function information related to the function available in the device.

〔変形例〕
以上、本発明の実施形態では、プリンタドライバに関して説明したが、アプリケーションからの指示を機器が処理可能なデータに変換するソフトウェアであれば、スキャナドライバ及びPC−FAXドライバ等の他のデバイスドライバにも適用することができる。
[Modification]
As described above, in the embodiment of the present invention, the printer driver has been described. However, as long as the software converts an instruction from an application into data that can be processed by an apparatus, the scanner driver and other device drivers such as a PC-FAX driver may be used. It can apply.

また、本発明の機能は、情報処理装置のハードディスク(HDD)、読出し専用メモリ(ROM)等のメモリに格納されたプログラムによっても実現されるとしたが、あるいは、情報処理装置においてハードウェアとして実現されても良い。   In addition, although the functions of the present invention are realized by a program stored in a memory such as a hard disk drive (HDD) or a read only memory (ROM) of the information processing apparatus, or alternatively, they are realized as hardware in the information processing apparatus It may be done.

また、本発明の実施形態は、デバイスドライバドライバ及びそれに準じるモジュールの形態に限定されず、アプリケーション自身に適用させても良い。   Also, the embodiment of the present invention is not limited to the form of the device driver and the module conforming thereto, and may be applied to the application itself.

以上、発明を実施するための最良の形態について説明を行ったが、本発明は、この最良の形態で述べた実施の形態に限定されるものではない。本発明の主旨を損なわない範囲で変更することが可能である。   Although the best mode for carrying out the invention has been described above, the present invention is not limited to the embodiment described in the best mode. It is possible to change in the range which does not impair the main point of the present invention.

特許請求の範囲に挙げられている各手段は、本発明の実施形態として図に表されたコンピュータ及びプリンタの各部に対応しており、例えば、特許請求の範囲の「機器分類読み込み手段」は、図4の「機器分類部」及び「機能ファイル読込部」によって実現される。   Each means listed in the claims corresponds to each part of the computer and the printer shown in the figures as an embodiment of the present invention. For example, the “device classification reading means” in the claims is This is realized by the “device classification unit” and the “function file reading unit” in FIG.

1 情報処理システム
10 コンピュータ
12,14 プリンタ
16 ネットワーク
102 アプリケーション
104 プリンタドライバ
106 情報取得部(マネージャ)
108,200 通信部(通信ポート)
110,120,130,140,150 設定画面
27 記録媒体
202 構成情報送信部(エージェント)
204 構成情報記憶部(MIB)
40 UI部
402 表示部
404 入力部
406 設定記憶部
408 設定読込部
42 機能情報取得部
422 機能ファイル記憶部
424 機器分類部
426 機能ファイル読込部
428 機能情報記憶部
510 共通領域
520 専用領域
522 機種共通領域
524 機種専用領域
900,1300,1700,2100 機能ファイル
1 information processing system 10 computer 12, 14 printer 16 network 102 application 104 printer driver 106 information acquisition section (manager)
108, 200 Communication unit (Communication port)
110, 120, 130, 140, 150 setting screen 27 recording medium 202 configuration information transmitter (agent)
204 Configuration Information Storage Unit (MIB)
40 UI unit 402 Display unit 404 Input unit 406 Setting storage unit 408 Setting reading unit 42 Function information acquisition unit 422 Function file storage unit 424 Device classification unit 426 Function file reading unit 428 Function information storage unit 510 Common area 520 Dedicated area 522 Common to all models Area 524 Model-specific area 900, 1300, 1700, 2100 Function file

特開2002−259085号公報Japanese Patent Application Laid-Open No. 2002-259085 特開2002−175258号公報JP 2002-175258 A

Claims (6)

ネットワークを介して複数の機種の機器に印刷の要求が可能な情報処理装置であって、
前記機種それぞれに応じた構成情報と、該構成情報のいずれかと対応し、前記印刷の要求を行うための画面の表示に必要な情報を要求するための要求情報とを記憶する記憶手段と、
ネットワークを介して接続された機器から前記構成情報を受信する構成情報受信手段と、
前記構成情報受信手段によって前記接続された機器から受信された構成情報に基づいて、該構成情報に対応する前記要求情報に応じた、該機器に前記印刷の要求を行うための画面の表示に必要な情報を、該機器へ要求するか否かを判断する判断手段と、
前記判断手段によって要求すると判断された場合のみ、前記画面の表示に必要な情報を該機器へ要求する要求手段と、
前記画面を、前記要求手段による要求に対して該機器から応答された前記画面の表示に必要な情報に基づいて表示する表示手段と、
を有することを特徴とする情報処理装置。
An information processing apparatus capable of requesting printing of a plurality of types of devices via a network,
Storage means for storing configuration information corresponding to each of the models and any one of the configuration information and storing request information for requesting information required for displaying a screen for requesting the printing;
Configuration information receiving means for receiving the configuration information from a device connected via a network;
Necessary for displaying a screen for requesting the printing to the device according to the request information corresponding to the configuration information based on the configuration information received from the connected device by the configuration information receiving means Determining means for determining whether or not to request the information from the device;
Requesting means for requesting the device for information necessary for displaying the screen only when it is judged by the judging means that the request is made;
Display means for displaying the screen on the basis of information necessary for displaying the screen, which has been replied from the device in response to the request by the request means;
An information processing apparatus comprising:
前記画面の表示に必要な情報は、前記機器の機能を特定するための情報であることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the information necessary for displaying the screen is information for specifying a function of the device. 前記構成情報は、PDLの記述形式と、前記機種を特定する情報と、ベンダー情報のいずれかを含むことを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the configuration information includes one of a description format of PDL, information specifying the model, and vendor information. ネットワークを介して複数の機種の機器に印刷の要求が可能な印刷制御プログラムであって、
コンピュータに、
前記機種それぞれに応じた構成情報と、該構成情報のいずれかと対応し、前記印刷の要求を行うための画面の表示に必要な情報を要求するための要求情報とを記憶する記憶手段と、
ネットワークを介して接続された機器から前記構成情報を受信する構成情報受信手段と、
前記構成情報受信手段によって前記接続された機器から受信された構成情報に基づいて、該構成情報に対応する前記要求情報に応じた、該機器に前記印刷の要求を行うための画面の表示に必要な情報を、該機器へ要求するか否かを判断する判断手段と、
前記判断手段によって要求すると判断された場合のみ、前記画面の表示に必要な情報を該機器へ要求する要求手段と、
前記画面を、前記要求手段による要求に対して該機器から応答された前記画面の表示に必要な情報に基づいて表示する表示手段と、
を実行させることを特徴とするプログラム。
A print control program that can request printing of multiple models of devices via a network.
On the computer
Storage means for storing configuration information corresponding to each of the models and any one of the configuration information and storing request information for requesting information required for displaying a screen for requesting the printing;
Configuration information receiving means for receiving the configuration information from a device connected via a network;
Necessary for displaying a screen for requesting the printing to the device according to the request information corresponding to the configuration information based on the configuration information received from the connected device by the configuration information receiving means Determining means for determining whether or not to request the information from the device;
Requesting means for requesting the device for information necessary for displaying the screen only when it is judged by the judging means that the request is made;
Display means for displaying the screen on the basis of information necessary for displaying the screen, which has been replied from the device in response to the request by the request means;
A program characterized by causing
前記画面の表示に必要な情報は、前記機器の機能を特定するための情報であることを特徴とする請求項4に記載のプログラム。   5. The program according to claim 4, wherein the information necessary for displaying the screen is information for specifying a function of the device. 前記構成情報は、PDLの記述形式と、前記機種を特定する情報と、ベンダー情報のいずれかを含むことを特徴とする請求項4に記載のプログラム。   5. The program according to claim 4, wherein the configuration information includes one of a description format of PDL, information specifying the model, and vendor information.
JP2019005899A 2006-09-15 2019-01-17 Print control program, information processing device and information processing system Active JP6816781B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006251900 2006-09-15
JP2006251900 2006-09-15

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017195342A Division JP6468334B2 (en) 2006-09-15 2017-10-05 Information processing apparatus, information processing method, and program

Publications (3)

Publication Number Publication Date
JP2019067455A true JP2019067455A (en) 2019-04-25
JP2019067455A5 JP2019067455A5 (en) 2020-05-28
JP6816781B2 JP6816781B2 (en) 2021-01-20

Family

ID=46239406

Family Applications (6)

Application Number Title Priority Date Filing Date
JP2011251950A Active JP5353993B2 (en) 2006-09-15 2011-11-17 Information processing apparatus, method, system, program, and recording medium thereof
JP2013177547A Pending JP2013242927A (en) 2006-09-15 2013-08-29 Information processing apparatus, method, system, program, and recording medium thereof
JP2014176781A Active JP5920424B2 (en) 2006-09-15 2014-09-01 Information processing apparatus and program
JP2016080764A Expired - Fee Related JP6222270B2 (en) 2006-09-15 2016-04-14 Information processing apparatus, information processing program, information processing system, and information processing method
JP2017195342A Active JP6468334B2 (en) 2006-09-15 2017-10-05 Information processing apparatus, information processing method, and program
JP2019005899A Active JP6816781B2 (en) 2006-09-15 2019-01-17 Print control program, information processing device and information processing system

Family Applications Before (5)

Application Number Title Priority Date Filing Date
JP2011251950A Active JP5353993B2 (en) 2006-09-15 2011-11-17 Information processing apparatus, method, system, program, and recording medium thereof
JP2013177547A Pending JP2013242927A (en) 2006-09-15 2013-08-29 Information processing apparatus, method, system, program, and recording medium thereof
JP2014176781A Active JP5920424B2 (en) 2006-09-15 2014-09-01 Information processing apparatus and program
JP2016080764A Expired - Fee Related JP6222270B2 (en) 2006-09-15 2016-04-14 Information processing apparatus, information processing program, information processing system, and information processing method
JP2017195342A Active JP6468334B2 (en) 2006-09-15 2017-10-05 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (6) JP5353993B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018045436A (en) * 2016-09-14 2018-03-22 株式会社リコー Information processing apparatus, program, and system
US10191697B2 (en) 2017-03-17 2019-01-29 Ricoh Company Ltd. Information processing apparatus, information processing system, and information processing method
JP7286273B2 (en) * 2018-06-28 2023-06-05 キヤノン株式会社 Program, method, and information processing apparatus for installing printer driver
JP7301503B2 (en) * 2018-06-29 2023-07-03 キヤノン株式会社 Information processing device, control method for information processing device, program and application
JP7328405B2 (en) * 2018-06-29 2023-08-16 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and print setting application
JP7278772B2 (en) * 2018-12-28 2023-05-22 キヤノン株式会社 Information processing device, control method and application program
CN110851086A (en) * 2019-10-11 2020-02-28 杭州珐珞斯科技有限公司 Data reading method, device, system and equipment of printing equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044374A (en) * 2001-07-31 2003-02-14 Matsushita Graphic Communication Systems Inc Device and method for monitoring network
JP2004310644A (en) * 2003-04-10 2004-11-04 Seiko Epson Corp Print system, printer, and printer driver
JP2005258721A (en) * 2004-03-10 2005-09-22 Canon Inc Method for acquiring device configuration information and information processor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003050687A (en) * 2001-08-07 2003-02-21 Canon Inc Print controller, print system, print control method, computer readable recording medium and computer program
JP2005115440A (en) * 2003-10-03 2005-04-28 Seiko Epson Corp Computer program for making computer perform uninstallation
JP2005258691A (en) * 2004-03-10 2005-09-22 Canon Inc Device management apparatus
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
JP2006202022A (en) * 2005-01-20 2006-08-03 Canon Inc Rearrangement device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044374A (en) * 2001-07-31 2003-02-14 Matsushita Graphic Communication Systems Inc Device and method for monitoring network
JP2004310644A (en) * 2003-04-10 2004-11-04 Seiko Epson Corp Print system, printer, and printer driver
JP2005258721A (en) * 2004-03-10 2005-09-22 Canon Inc Method for acquiring device configuration information and information processor

Also Published As

Publication number Publication date
JP5353993B2 (en) 2013-11-27
JP6816781B2 (en) 2021-01-20
JP6222270B2 (en) 2017-11-01
JP2013242927A (en) 2013-12-05
JP2016129075A (en) 2016-07-14
JP6468334B2 (en) 2019-02-13
JP2015008007A (en) 2015-01-15
JP2018010694A (en) 2018-01-18
JP5920424B2 (en) 2016-05-18
JP2012079326A (en) 2012-04-19

Similar Documents

Publication Publication Date Title
JP4870621B2 (en) Information processing apparatus, method, system, program, and recording medium thereof
JP6816781B2 (en) Print control program, information processing device and information processing system
JP6414287B2 (en) The present invention relates to a printing system, an image forming apparatus, a specific information storage apparatus, a processing method thereof, and a program.
JP5677047B2 (en) Printing system, information processing apparatus, printing method, and program
US8640148B2 (en) Information processing apparatus, information processing method and storage medium
JP5025342B2 (en) Image processing apparatus, image processing system, image processing apparatus control method, and program
KR101650731B1 (en) Management apparatus and method for managing device driver of management apparatus
JP4434196B2 (en) Image forming apparatus and image forming system
JP5920833B2 (en) Printing system, printing system control method, portable terminal, portable terminal control method, image forming apparatus, image forming apparatus control method, and program
JP2009015798A (en) Information processor, program and recording medium
JP2005258721A (en) Method for acquiring device configuration information and information processor
JP2006115222A (en) Image processing apparatus, control method thereof, and computer program
JP5636829B2 (en) Customization system, image forming apparatus, information processing apparatus, and customization program
JP5672838B2 (en) Image forming apparatus, information processing method, and information processing system
JP6946762B2 (en) Image forming device and program
CN116257194A (en) Printing system and apparatus, information processing apparatus, control method, and storage medium
JP5298829B2 (en) Image processing program, image processing apparatus, and image processing system
JP2009212694A (en) Image processor, image processing system and image processing program
JP2000197165A (en) Multi-function system, remote copy system and its data transfer method
JP2013210861A (en) Image forming system, image forming apparatus, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200512

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200713

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201207

R151 Written notification of patent or utility model registration

Ref document number: 6816781

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151