JP2011103066A - Driver generation program, recording medium, information processor, image forming device and printing system - Google Patents

Driver generation program, recording medium, information processor, image forming device and printing system Download PDF

Info

Publication number
JP2011103066A
JP2011103066A JP2009257779A JP2009257779A JP2011103066A JP 2011103066 A JP2011103066 A JP 2011103066A JP 2009257779 A JP2009257779 A JP 2009257779A JP 2009257779 A JP2009257779 A JP 2009257779A JP 2011103066 A JP2011103066 A JP 2011103066A
Authority
JP
Japan
Prior art keywords
information
driver
protocol
image forming
processing apparatus
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.)
Pending
Application number
JP2009257779A
Other languages
Japanese (ja)
Inventor
Hideki Yanagi
英樹 柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009257779A priority Critical patent/JP2011103066A/en
Publication of JP2011103066A publication Critical patent/JP2011103066A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program or a device enabling automatic generation of a driver, even when apparatus information can not be acquired from an apparatus. <P>SOLUTION: An information processor such as a PC executes a driver generation program to function as a protocol decision part 103, an information acquisition part 104, and a driver generation part 105. The protocol decision part 103 detects a protocol used for communication with the apparatus, and decides whether or not the protocol is a designated protocol. The information acquisition part 104 acquires the apparatus information from the apparatus when it is decided that the protocol is the designated protocol, and acquires the apparatus information common to types from an information storage part when it is decided that the protocol is not the designated protocol. The driver generation part 105 generates the driver corresponding to the apparatus based on the acquired apparatus information. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、機器から当該機器の機器情報を、取得可能か否かを判断し、可能である場合は機器情報を取得し、それを使用して、不可能である場合は予め保持する機器情報を使用して、当該機器を動作させるためのドライバを自動生成するドライバ生成プログラム、そのプログラムが記録された記録媒体、ドライバ生成プログラムを実行する情報処理装置、そのプログラムにより生成されたドライバによって送信された印刷データの印刷処理を行う画像形成装置、その情報処理装置とその画像形成装置とを含む印刷システムに関する。   The present invention determines whether or not the device information of the device can be acquired from the device, acquires the device information if it is possible, and uses the device information to hold the device information in advance if it is not possible A driver generation program for automatically generating a driver for operating the device, a recording medium on which the program is recorded, an information processing apparatus for executing the driver generation program, and a driver generated by the program. The present invention relates to an image forming apparatus that performs print processing of the print data, a printing system that includes the information processing apparatus, and the image forming apparatus.

PCにプリンタを初めて接続し、印刷を実行しようとする場合、そのPC上にそのプリンタを動作させるためのプリンタドライバがインストールされていなければならない。そのプリンタドライバをインストールする方法として、Plug and Playと呼ばれる方式が数多く採用されるようになってきている。これは、PCが実装するOSに同梱されているドライバが存在すれば、プリンタを接続した時点でそのプリンタに対応したドライバが自動でインストールされるというものである。   When a printer is connected to a PC for the first time and printing is to be performed, a printer driver for operating the printer must be installed on the PC. As a method for installing the printer driver, a method called Plug and Play has been adopted. This means that if there is a driver bundled with the OS installed on the PC, the driver corresponding to the printer is automatically installed when the printer is connected.

しかしながら、すべてのドライバをOSに同梱することはデータサイズが大きくなってしまうことから困難であり、これに対応するために、プリンタから取得したCapability情報を基にプリンタドライバを自動生成する仕組みが提案されている。ここで、Capability情報とは、プリンタが有する機能情報で、プリンタの機能に関する情報が記載されたテキストファイルとして作成されるプリンタ設定ファイルに、値を付与するために用いられる設定データを含むものである。   However, it is difficult to bundle all drivers with the OS because the data size becomes large, and in order to cope with this, there is a mechanism that automatically generates a printer driver based on Capability information acquired from the printer. Proposed. Here, Capability information is function information that the printer has, and includes setting data that is used to add a value to a printer setting file that is created as a text file in which information related to the function of the printer is described.

この仕組みは、windows(登録商標)vistaにおけるWSD(Web Service on Device)スキーマを採用している。WSDスキーマでは、WSDに対応したプリンタをネットワークに接続すると自動的に認識されるようになっており、様々な機器を簡単につないで利用するための手続きを規定するWSDプロトコルを使用し、そのプリンタからCapability情報を取得することができる。   This mechanism employs a WSD (Web Service on Device) schema in windows (registered trademark) vista. In the WSD schema, a printer that supports WSD is automatically recognized when it is connected to the network. The printer uses the WSD protocol that defines the procedure for easily connecting and using various devices. Capability information can be acquired.

この仕組みを利用すれば、このようにして取得したCapability情報を基にプリンタドライバを自動生成することができるが、この仕組みはWSDに対応したプリンタに対してのみサポートされ、その他の、例えばUSB接続する場合のPlug and Playについてはサポートされていないので、プリンタドライバを自動生成することはできなかった。   If this mechanism is used, a printer driver can be automatically generated based on Capability information acquired in this way, but this mechanism is supported only for printers that support WSD, and other, for example, USB connections Since Plug and Play is not supported, the printer driver could not be generated automatically.

従来、ドライバを自動生成してインストールするシステムおよび方法として、プリンタから各機種固有の機能情報を取得し、その機能情報を基にプリンタドライバを生成し、自動的にインストールする技術が提案されている(特許文献1参照)。この技術では、そのシステムがデバイスドライバ生成ロジックおよびデバイスジョブ処理ロジックを有し、デバイスドライバ生成ロジックにより、周辺装置から第1の機能説明情報、一般的なデバイスドライバファイル、コンフィギュレーションデータを受信し、これらに基づき周辺装置およびOSについてデバイスドライバを生成し、また、デバイスジョブ処理ロジックにより、第1の機能説明情報に基づき周辺装置が実行するジョブを記述するジョブチケットを生成し、ページ記述言語にフォーマットされたジョブデータとともに周辺装置に送信している。   Conventionally, as a system and method for automatically generating and installing a driver, a technique has been proposed in which function information specific to each model is acquired from a printer, a printer driver is generated based on the function information, and is automatically installed. (See Patent Document 1). In this technology, the system has device driver generation logic and device job processing logic, and the device driver generation logic receives first function description information, a general device driver file, and configuration data from a peripheral device. Based on these, a device driver is generated for the peripheral device and the OS, and a job ticket that describes a job to be executed by the peripheral device is generated based on the first function description information by the device job processing logic, and is formatted in a page description language. And transmitted to the peripheral device together with the job data.

しかしながら、この技術も、プリンタから機能情報を取得することができない場合、ドライバを自動生成することはできない。   However, this technique also cannot automatically generate a driver when function information cannot be acquired from a printer.

これでは機能情報を取得することができない場合、ユーザ自身がその機器に対応したドライバをインストールしなければ機器を使用することができず、特に機器の設置台数が多い企業等においては面倒な作業であった。   If the function information cannot be obtained, the user cannot use the device unless the user himself / herself installs the driver corresponding to the device. This is particularly troublesome for companies with a large number of devices installed. there were.

本発明は、上記課題に鑑み、機能情報を含む機器情報を取得することができる機器か否かを判断し、その判断に応じて機器情報をその機器から取得するか、自己が保持する情報を使用するかを決定し、いずれかから取得した情報に基づき、機器を動作させるためのドライバを自動生成するドライバ生成プログラムを提供する。これにより、プリンタから機器情報を取得することができない場合であっても、ドライバを自動生成することができ、その生成したドライバをインストールし、その機器を動作させることができる。   In view of the above problems, the present invention determines whether or not a device is capable of acquiring device information including function information, and acquires device information from the device according to the determination, or stores information held by itself. Provided is a driver generation program that automatically determines a driver for operating a device based on information acquired from any one of them. Thus, even when the device information cannot be acquired from the printer, the driver can be automatically generated, and the generated driver can be installed and the device can be operated.

具体的には、そのドライバ生成プログラムは、PC等の情報処理装置に、機器との通信に使用されるプロトコルを検出し、そのプロトコルが指定されたプロトコルであるか否かを判定するステップと、指定されたプロトコルであると判定された場合、その機器から機器情報を取得し、指定されたプロトコルでないと判定された場合、情報格納部から機種共通の機器情報を取得するステップと、取得した機器情報に基づき、その機器に対応したドライバを生成するステップとを実行させる。   Specifically, the driver generation program detects, in an information processing apparatus such as a PC, a protocol used for communication with a device, and determines whether the protocol is a designated protocol; If it is determined that the protocol is specified, device information is acquired from the device; if it is determined that the protocol is not specified, device information common to the model is acquired from the information storage unit; and the acquired device And generating a driver corresponding to the device based on the information.

また、そのドライバ生成プログラムは、情報処理装置により実行されて、その情報処理装置を、機器との通信に使用されるプロトコルを検出し、そのプロトコルが指定されたプロトコルであるか否かを判定するプロトコル判定部と、指定されたプロトコルであると判定された場合、その機器から機器情報を取得し、指定されたプロトコルでないと判定された場合、情報格納部から機種共通の機器情報を取得する情報取得部と、取得した機器情報に基づき、その機器に対応したドライバを生成するドライバ生成部として機能させることができ、本発明では、この情報処理装置を提供することも可能である。   The driver generation program is executed by the information processing apparatus, detects a protocol used for communication with the device, and determines whether the protocol is a designated protocol. Information that acquires device information from the device if it is determined to be the specified protocol with the protocol determination unit, and device information that is common to the models from the information storage unit if it is determined that it is not the specified protocol Based on the acquisition unit and the acquired device information, it can function as a driver generation unit that generates a driver corresponding to the device. In the present invention, this information processing apparatus can also be provided.

上記の機器は、印刷を実行する画像形成装置とすることができ、上記の情報処理装置は、当該画像形成装置に対応したドライバを生成し、そのドライバを実行して、画像形成装置に対し印刷を指令する。この場合、情報処理装置が上記の情報格納部を備えることができる。   The above apparatus can be an image forming apparatus that executes printing, and the above information processing apparatus generates a driver corresponding to the image forming apparatus, executes the driver, and prints on the image forming apparatus. Is commanded. In this case, the information processing apparatus can include the information storage unit.

また、機種共通の機器情報は、情報処理装置以外の外部記憶装置に記憶することもでき、この場合、情報処理装置は、この外部記憶装置にアクセスし、読み出して使用することができる。   In addition, device information common to all models can be stored in an external storage device other than the information processing device. In this case, the information processing device can access, read, and use the external storage device.

上記情報取得部は、機器から機器情報を取得することが可能な場合に、その機器から当該機器に固有の機器情報のみを取得し、情報格納部から機種共通の機器情報を取得し、上記ドライバ生成部は、それらの機器情報を組み合わせてその機器に対応したドライバを生成することも可能である。   When the device information can be acquired from the device, the information acquisition unit acquires only device information unique to the device from the device, acquires device information common to the model from the information storage unit, and the driver The generation unit can also generate a driver corresponding to the device by combining the device information.

また、上記のドライバ生成プログラムにより生成されたドライバを実行する情報処理装置から送信された印刷データの印刷処理を行う、画像形成装置を提供することもでき、この画像形成装置は、そのドライバ生成プログラムを格納するプログラム格納部と、そのドライバ生成プログラムを情報処理装置へ送信するプログラム送信部とを備えることができる。   Further, it is possible to provide an image forming apparatus that performs print processing of print data transmitted from an information processing apparatus that executes a driver generated by the driver generation program, and the image forming apparatus includes the driver generation program. And a program transmission unit for transmitting the driver generation program to the information processing apparatus.

本発明では、機器としての画像形成装置とその画像形成装置を動作させるためのドライバを自動生成するドライバ生成プログラムを実行する情報処理装置とを含む印刷システムも提供することができる。   The present invention can also provide a printing system including an image forming apparatus as a device and an information processing apparatus that executes a driver generation program that automatically generates a driver for operating the image forming apparatus.

ドライバ生成プログラムは、情報処理装置が保持するばかりでなく、画像形成装置が保持し、情報処理装置との通信時に提供することが可能であり、画像形成装置は、このプログラムを情報処理装置へ送信すると、情報処理装置は、このプログラムを実行してドライバを生成し、そのドライバをインストールして、情報処理装置から画像形成装置を動作させることができる。   The driver generation program can be held not only by the information processing apparatus but also by the image forming apparatus and provided when communicating with the information processing apparatus. The image forming apparatus transmits the program to the information processing apparatus. Then, the information processing apparatus can execute this program to generate a driver, install the driver, and operate the image forming apparatus from the information processing apparatus.

本実施形態の印刷システムの概略図。1 is a schematic diagram of a printing system according to an embodiment. 印刷システムが備える画像形成装置と情報処理装置の機能ブロック図。FIG. 2 is a functional block diagram of an image forming apparatus and an information processing apparatus provided in the printing system. ドライバを自動生成する処理の流れを示したフローチャート図。The flowchart figure which showed the flow of the process which produces | generates a driver automatically. 画像形成装置から取得した機器情報を例示した図。The figure which illustrated the apparatus information acquired from the image forming apparatus. 機種共通の機器情報を例示した図。The figure which illustrated the equipment information common to a model. 機種に固有の機器情報を例示した図。The figure which illustrated apparatus information peculiar to a model.

図1は、機器としての画像形成装置と、その画像形成装置を動作させるためのドライバを自動生成するドライバ生成プログラムを実行する情報処理装置とを含む印刷システムの概略図である。図1に示す印刷システムは、1台の情報処理装置100と3台の画像形成装置200、210、220とがネットワーク300に接続され、また、その情報処理装置100と1台の画像形成装置230とが直接接続され、互いに通信可能とされている。   FIG. 1 is a schematic diagram of a printing system including an image forming apparatus as an apparatus and an information processing apparatus that executes a driver generation program that automatically generates a driver for operating the image forming apparatus. In the printing system shown in FIG. 1, one information processing apparatus 100 and three image forming apparatuses 200, 210, and 220 are connected to a network 300, and the information processing apparatus 100 and one image forming apparatus 230 are connected. Are directly connected and can communicate with each other.

情報処理装置100は、基本ソフトウェアとしてのOS、各機能を実現するためのアプリケーション、画像形成装置200、210、220、230を動作させ、OSが制御できるようにするためのドライバを生成するドライバ生成プログラム、コアドライバ、各種データを記憶するメモリやHDDと、それらを読み出して処理するCPUとを備えるPC、ワークステーション、サーバまたは他の形式のホストコンピュータ、PDA等の携帯端末とすることができる。この情報処理装置100は、windows(登録商標)シリーズ、UNIX(登録商標)、LINUX(登録商標)、MAC OS(登録商標)等のOSを実装し、このOSの管理下で、アプリケーション、ドライバ生成プログラム、コアドライバ、生成したドライバ等を実行する。   The information processing apparatus 100 generates an OS as basic software, an application for realizing each function, and a driver for operating the image forming apparatuses 200, 210, 220, and 230 so that the OS can control the OS. It can be a portable terminal such as a PC, workstation, server or other type of host computer, PDA, etc., comprising a memory or HDD for storing programs, core drivers, various data, and a CPU for reading and processing them. The information processing apparatus 100 has an OS such as a windows (registered trademark) series, UNIX (registered trademark), LINUX (registered trademark), or MAC OS (registered trademark), and generates an application and a driver under the management of the OS. Execute programs, core drivers, generated drivers, etc.

ネットワーク300は、インターネットやLANとされ、TCP/IP、WSD(Web Service on Device)、UDP等のプロトコルを使用して情報処理装置100と画像形成装置200、210、220との間のデータ通信を可能にしている。また、情報処理装置100に通信ケーブルにより直接接続される画像形成装置230は、USBやRS-232C等のプロトコルを使用してデータ通信を可能にしている。   The network 300 is the Internet or a LAN, and performs data communication between the information processing apparatus 100 and the image forming apparatuses 200, 210, and 220 using protocols such as TCP / IP, WSD (Web Service on Device), and UDP. It is possible. In addition, the image forming apparatus 230 that is directly connected to the information processing apparatus 100 via a communication cable enables data communication using a protocol such as USB or RS-232C.

画像形成装置200、210、220、230は、情報処理装置100と同様、メモリやHDD、CPUを備えることができる。また、画像形成装置200、210、220、230は、プリンタ、スキャナ、コピー機、FAX装置、これらの機能を有する複合機(MFP)等とすることができ、MFPである場合、画像を読み取るための読取装置および印刷して出力するための印刷装置を備える。   Similar to the information processing apparatus 100, the image forming apparatuses 200, 210, 220, and 230 can include a memory, an HDD, and a CPU. The image forming apparatuses 200, 210, 220, and 230 can be printers, scanners, copiers, fax machines, multifunction peripherals (MFPs) having these functions, and the like. And a printing device for printing and outputting.

読取装置は、原稿に光を照射する光源と、反射した光を所定の方向へ向けるミラーと、その反射光を受光し、電気信号として出力するCCDとを備えて構成される。また、印刷装置は、プリンタドライバによって描画されたイメージデータを受け付け、そのイメージデータに基づき印刷出力を行う。   The reading apparatus includes a light source that irradiates light on a document, a mirror that directs reflected light in a predetermined direction, and a CCD that receives the reflected light and outputs it as an electrical signal. The printing apparatus accepts image data drawn by the printer driver and performs print output based on the image data.

印刷装置が電子写真方式のプリンタである場合、印刷装置は、イメージデータを受け付け、イメージデータに基づき露光装置に指示するコントローラと、コントローラからの指示を受け付け、感光体ドラムに書き込み光を照射する露光装置と、書き込み光が照射され、潜像が形成される感光体ドラムと、感光体ドラムを帯電する帯電ユニットと、感光体ドラム上に形成された潜像を、トナーを付着させることにより現像する現像ユニットと、用紙を給紙する給紙ユニットと、現像により形成されたトナー像を用紙に転写する転写ユニットと、用紙に転写されたトナー像に圧力および熱を加えて用紙にトナーを定着させる定着ユニットと、印刷された用紙が排紙される排紙ユニットと、感光体ドラムや転写ユニット上に残ったトナーを取り除くクリーニングユニットとを含んで構成される。   When the printing apparatus is an electrophotographic printer, the printing apparatus receives image data, receives a controller that instructs the exposure apparatus based on the image data, and receives an instruction from the controller and exposes the photosensitive drum with writing light. The apparatus, the photosensitive drum on which the writing light is irradiated and a latent image is formed, the charging unit for charging the photosensitive drum, and the latent image formed on the photosensitive drum are developed by attaching toner. A developing unit, a paper feeding unit for feeding paper, a transfer unit for transferring a toner image formed by development onto the paper, and applying pressure and heat to the toner image transferred to the paper to fix the toner on the paper Remove the toner remaining on the fixing unit, the paper discharge unit that discharges the printed paper, and the photosensitive drum and transfer unit. Configured to include a leaning unit.

このように、画像形成装置200、210、220、230は、印刷装置を含み、情報処理装置100は、その印刷装置を制御して利用するために、ドライバとしてプリンタドライバを使用する。したがって、ドライバ生成プログラムを実行して生成されるドライバを、プリンタドライバとして以下説明する。   As described above, the image forming apparatuses 200, 210, 220, and 230 include a printing apparatus, and the information processing apparatus 100 uses a printer driver as a driver in order to control and use the printing apparatus. Therefore, a driver generated by executing the driver generation program will be described below as a printer driver.

ここで、情報処理装置100に実装されるOSがwindows(登録商標)vistaである場合、印刷およびスキャン用の周辺機器の接続に関するプロトコルであるWSDプロトコルが提供され、このWSDプロトコルを使用して、ネットワーク300に接続されたWSDに対応したプリンタ、スキャナ、プロジェクタ等を探索し、それらを認識し、それらから機能情報等を取得することができる。本実施例では、windows(登録商標)vistaのWSDプロトコルについて説明するが、このWSDプロトコルに限定されるものではない。   Here, when the OS installed in the information processing apparatus 100 is windows (registered trademark) vista, a WSD protocol that is a protocol related to connection of peripheral devices for printing and scanning is provided, and using this WSD protocol, It is possible to search for printers, scanners, projectors and the like corresponding to the WSD connected to the network 300, recognize them, and acquire function information and the like from them. In this embodiment, the WSD protocol of windows (registered trademark) vista will be described, but the present invention is not limited to this WSD protocol.

WSD対応機器は、ネットワークに接続する際、ネットワーク上の機器にメッセージを通知し、接続している間は、他のWSD対応機器からの発見やデータ交換の要求に対して応答を返すように構成されている。   WSD-compatible devices are configured to send messages to network devices when connected to the network, and return responses to requests for discovery and data exchange from other WSD-compatible devices while connected. Has been.

実際に機器を発見する場合、WSD対応機器から、ルーティングや名前解決といった制御情報のやりとりに使用する専用アドレス宛に、発見対象機器の種類を指定して発見要求パケットを送信する。指定された種類の機器がネットワークに接続されていれば、その発見要求パケットに対し、ユニキャストで応答する。例えば、発見対象機器としてプリンタを指定すれば、その発見要求パケットに対し、ネットワーク上のすべてのプリンタが応答を返す。   When a device is actually discovered, a discovery request packet is transmitted by designating the type of device to be discovered to a dedicated address used for exchanging control information such as routing and name resolution from a WSD-compatible device. If the specified type of device is connected to the network, it responds to the discovery request packet by unicast. For example, if a printer is designated as a discovery target device, all printers on the network respond to the discovery request packet.

なお、vistaでは、WSDプロトコルのほか、SSDPと呼ばれるネットワーク上のUPnP機器を探索、発見するためのプロトコルも使用してネットワークに接続された機器を探索、発見するが、これらのプロトコルでは自らの情報を通知しない。したがって、待ち状態とされ、他の機器が探索しにきたときにはじめて情報を交換する。このため、システム起動時に、探索プロトコルが使用するポートを開けて待機する。WSD対応機器がネットワークに接続され、その機器が探索しにくると、その開かれたポートを使用して、デバイス名、ネットワークアドレス、製造業者名、機種名等の情報交換を行うことができる。なお、この探索は、定期的に行われ、これにより、接続の有無を定期的に確認する。   Vista uses a protocol for searching and discovering UPnP devices on the network called SSDP in addition to the WSD protocol to search for and discover devices connected to the network. Do not notify. Therefore, information is exchanged only when another device enters the waiting state and comes to search. Therefore, when the system is started, the port used by the search protocol is opened and waits. When a WSD-compatible device is connected to a network and the device comes to search, information such as a device name, a network address, a manufacturer name, and a model name can be exchanged using the opened port. Note that this search is periodically performed, thereby periodically confirming the presence or absence of connection.

図2は、印刷システムが備える情報処理装置と画像形成装置の機能ブロック図である。情報処理装置100は、インストール処理部101と、I/F制御部102と、プロトコル判定部103と、情報取得部104と、ドライバ生成部105と、ドライバ格納部106と、情報格納部107とを備えている。また、画像形成装置200は、ホストI/F201と、情報提供部202と、情報格納部203とを備えている。ここでは、画像形成装置200の構成例を示したが、画像形成装置210、220、230も同様の構成である。   FIG. 2 is a functional block diagram of the information processing apparatus and the image forming apparatus provided in the printing system. The information processing apparatus 100 includes an installation processing unit 101, an I / F control unit 102, a protocol determination unit 103, an information acquisition unit 104, a driver generation unit 105, a driver storage unit 106, and an information storage unit 107. I have. In addition, the image forming apparatus 200 includes a host I / F 201, an information providing unit 202, and an information storage unit 203. Here, the configuration example of the image forming apparatus 200 is shown, but the image forming apparatuses 210, 220, and 230 have the same configuration.

ネットワーク300に接続された情報処理装置100のインストール処理部101は、画像形成装置200がネットワーク300に接続され、情報処理装置100と画像形成装置200とが接続されると、自動的にプリンタドライバのインストールを開始し、その処理を正常に行う。プリンタドライバのインストールは、このインストール処理部101によるインストールに限られるものではなく、OSのAPI関数を使用してインストールすることも可能である。   The installation processing unit 101 of the information processing apparatus 100 connected to the network 300 automatically selects a printer driver when the image forming apparatus 200 is connected to the network 300 and the information processing apparatus 100 and the image forming apparatus 200 are connected. Start the installation and proceed normally. Installation of the printer driver is not limited to installation by the installation processing unit 101, and installation using an API function of the OS is also possible.

I/F制御部102は、情報処理装置100と画像形成装置200との間で通信を行う際に、情報処理装置100と画像形成装置200の接続形態に応じて、画像形成装置200へ情報を送信したり、応答を受信する。接続形態は、ネットワーク接続、USB接続、RS-232C接続等があり、これらの接続における通信で使用されるプロトコルから判別することができる。   When communicating between the information processing apparatus 100 and the image forming apparatus 200, the I / F control unit 102 sends information to the image forming apparatus 200 according to the connection form between the information processing apparatus 100 and the image forming apparatus 200. Send or receive a response. Connection forms include network connection, USB connection, RS-232C connection, and the like, and can be determined from the protocol used for communication in these connections.

情報処理装置100のCPUがドライバ生成プログラムを実行すると、そのCPUは、プロトコル判定部103、情報取得部104、ドライバ生成部105として機能し、まず、プロトコル判定部103は、情報処理装置100と画像形成装置200との間の通信に使用されるプロトコルが、指定されたプロトコルか否かを判定する。例えば、指定されたプロトコルがWSDプロトコルとされている場合、WSDプロトコルであるか否かを判定する。   When the CPU of the information processing apparatus 100 executes the driver generation program, the CPU functions as a protocol determination unit 103, an information acquisition unit 104, and a driver generation unit 105. First, the protocol determination unit 103 is connected to the information processing apparatus 100 and an image. It is determined whether or not the protocol used for communication with the forming apparatus 200 is a designated protocol. For example, when the designated protocol is the WSD protocol, it is determined whether or not it is the WSD protocol.

WSDプロトコルは、WSDスキーマにより機器情報を取得することができることから、機器から機器情報を取得することができるプロトコルで、その他のUSBプロトコル等は、機器から機器情報を取得することができず、多くの情報のやりとりを行うことが難しいものである。   The WSD protocol can acquire device information from the WSD schema, so it can acquire device information from the device. Other USB protocols, etc. cannot acquire device information from the device, and many It is difficult to exchange information.

指定されたプロトコルであった場合、プロトコル判定部103が情報取得部104へその旨を通知し、情報取得部104が、I/F制御部102を介して画像形成装置200へ機器情報取得要求を送り、画像形成装置200から機器情報を取得する。ここで、機器情報は、プリンタドライバを生成するために必要な情報を含み、具体的には、パンチ機能やステープル機能等の機器に固有な情報のほか、画像形成装置200、210、220、230のすべてに共通な、設定可能な用紙サイズ、印刷方向、選択可能な給紙装置、品質、部数、拡大/縮小、両面印刷機能等の情報を含む。   In the case of the designated protocol, the protocol determination unit 103 notifies the information acquisition unit 104 to that effect, and the information acquisition unit 104 sends a device information acquisition request to the image forming apparatus 200 via the I / F control unit 102. Device information is acquired from the image forming apparatus 200. Here, the device information includes information necessary for generating the printer driver. Specifically, in addition to information unique to the device such as a punch function and a staple function, the image forming apparatuses 200, 210, 220, and 230 are included. Information including a settable paper size, printing direction, selectable paper feeding device, quality, number of copies, enlargement / reduction, duplex printing function, and the like.

情報格納部107は、ネットワーク300に接続されている画像形成装置200、210、220や直接接続される画像形成装置230のすべてに共通な、上記のような機器情報を格納する。ドライバ格納部106は、画像形成装置200、210、220、230を使用する際に絶対に必要なドライバとして機種に依存しないコアドライバを格納し、また、ドライバ生成部105により生成されたプリンタドライバも格納する。これらのドライバは、互いを識別するためにドライバ名が関連付けられ格納される。   The information storage unit 107 stores device information as described above that is common to all of the image forming apparatuses 200, 210, and 220 connected to the network 300 and the image forming apparatus 230 that is directly connected thereto. The driver storage unit 106 stores a core driver independent of the model as a driver that is absolutely necessary when using the image forming apparatuses 200, 210, 220, and 230, and also includes a printer driver generated by the driver generation unit 105. Store. These drivers are stored in association with driver names to identify each other.

図2では、情報格納部107は、情報処理装置100が備える構成となっているが、情報処理装置100以外の外付けハードディスク等の外部記憶装置とすることもできる。この場合、情報処理装置100は、この外部記憶装置にアクセスし、画像形成装置200、210、220、230のすべてに共通な機器情報を読み出して使用することができる。   In FIG. 2, the information storage unit 107 is configured to be included in the information processing apparatus 100, but may be an external storage device such as an external hard disk other than the information processing apparatus 100. In this case, the information processing apparatus 100 can access the external storage device and read and use device information common to all the image forming apparatuses 200, 210, 220, and 230.

コアドライバは、プリンタドライバのインストールを要求するOSの管理モジュールから呼び出され、その呼び出しに応答して、機器情報取得要求を画像形成装置200へ送信し、その画像形成装置200から機器情報を取得する。したがって、このコアドライバは、CPUに実行されて上記の情報取得部104として機能し、ドライバ生成プログラムの一部を構成するものである。   The core driver is called from an OS management module that requests installation of a printer driver, and in response to the call, transmits a device information acquisition request to the image forming apparatus 200 and acquires device information from the image forming apparatus 200. . Therefore, this core driver is executed by the CPU and functions as the information acquisition unit 104, and constitutes a part of the driver generation program.

ドライバ生成部105は、動作させる画像形成装置200の機器情報を、プロトコルに応じて画像形成装置200または情報取得部104から取得し、取得した機器情報に基づき、画像形成装置200に対応したプリンタドライバを生成する。   The driver generation unit 105 acquires device information of the image forming apparatus 200 to be operated from the image forming apparatus 200 or the information acquisition unit 104 according to a protocol, and based on the acquired device information, a printer driver corresponding to the image forming apparatus 200 Is generated.

プリンタドライバは、プリンタの機能に関する情報が記述されたテキストファイルとして作成されるプリンタ設定ファイルを含み、そのプリンタ設定ファイルは、GPD(Generic Printer Description)ファイルとして実装することができる。GPDファイルは、windows(登録商標)シリーズのOSで、OSが標準的に備えている汎用的なプリンタドライバであるUniversal Printer Driverを使用して印刷処理を行う場合に使用されるDLL(Dynamic Link Library)ファイルとして実装される。   The printer driver includes a printer setting file created as a text file in which information related to the function of the printer is described. The printer setting file can be implemented as a GPD (Generic Printer Description) file. The GPD file is a DLL (Dynamic Link Library) that is used when performing printing using the Universal Printer Driver, which is a general-purpose printer driver that comes standard with the OS in the Windows (registered trademark) series. ) Implemented as a file.

また、GPDファイルには、画像形成装置200が情報処理装置100に対して、プリンタ設定情報として機能するデータ構造体であるDEVMODEを設定するための情報が登録され、このファイルは、上記の汎用的なプリンタドライバをカスタマイズして印刷処理を実行するのに使用される。なお、DEVMODEは、windows(登録商標)系のOSで使用されるデータ構造体で、情報処理装置100のレジストリに登録される。   In the GPD file, information for setting DEVMODE, which is a data structure that functions as printer setting information, is registered in the information processing apparatus 100 by the image forming apparatus 200. Used to customize the printer driver and execute the printing process. DEVMODE is a data structure used in a Windows (registered trademark) OS and is registered in the registry of the information processing apparatus 100.

UNIX(登録商標)やLINUX(登録商標)では、プリンタ設定情報として、printerinfo.txt等を使用することができる。したがって、OSとしてこれらを採用する場合、画像形成装置200には、priterinfo.txtを設定するための情報を登録しておくことができる。   In UNIX (registered trademark) and LINUX (registered trademark), printerinfo.txt or the like can be used as printer setting information. Therefore, when these are employed as the OS, information for setting priterinfo.txt can be registered in the image forming apparatus 200.

機器情報は、HTML、HXTML、XML言語で記述されたテキストファイルとして取得され、ドライバ生成部105は、GPDファイルのテンプレートに、取得した機器情報を記述してGPDファイルを生成する。GPDファイルのテンプレートは、GPDファイルに記述される情報のうち、変更されないものを予め記述した雛形であり、情報処理装置100のHDDやNVRAM等の不揮発性記憶装置に予め格納されている。ドライバ生成部105は、このようにして生成したGPDファイルと、必要に応じてファームウェア等として予め搭載されたプリンタドライバが使用するプログラムやその他のファイルとをセットとして登録し、プリンタドライバを生成する。そして、ドライバ生成部105は、これを、画像形成装置200に対応したドライバとして、ドライバ格納部106にドライバ名を関連付けて格納する。   The device information is acquired as a text file described in HTML, HXTML, and XML languages, and the driver generation unit 105 generates the GPD file by describing the acquired device information in the GPD file template. The GPD file template is a template in which information that is not changed among the information described in the GPD file is described in advance, and is stored in advance in a nonvolatile storage device such as an HDD or NVRAM of the information processing apparatus 100. The driver generation unit 105 registers the GPD file generated in this way and a program and other files used by a printer driver previously installed as firmware or the like as a set as necessary to generate a printer driver. Then, the driver generation unit 105 stores the driver name in association with the driver name in the driver storage unit 106 as a driver corresponding to the image forming apparatus 200.

インストール処理部101は、プリンタドライバが生成され、ドライバ格納部106に格納されたことの通知をドライバ生成部105から受けて、そのときに通知されたドライバ名を基に、ドライバ格納部106からプリンタドライバを読み出し、プリンタドライバをインストールする。   The installation processing unit 101 receives a notification from the driver generation unit 105 that a printer driver has been generated and stored in the driver storage unit 106, and based on the driver name notified at that time, the installation processing unit 101 receives a printer from the driver storage unit 106. Read the driver and install the printer driver.

このようにしてインストールが完了すると、情報処理装置100からその画像形成装置200を操作することが可能になり、その画像形成装置200が備えるすべての機能を使用することが可能となる。   When the installation is completed in this manner, the image forming apparatus 200 can be operated from the information processing apparatus 100, and all the functions of the image forming apparatus 200 can be used.

一方、ネットワーク300に接続された機器が、WSD対応機器でない場合、WSDプロトコルを使用して通信を行うことはできず、他のプロトコルを使用して通信を行うことになる。USBのローカルケーブルで接続される場合、USBプロトコルにより通信を行うことになるが、このUSBプロトコルは、多くの情報のやり取りを行うことが難しく、プロトコル判定部103が、指定されたプロトコルであるWSDプロトコルでないと判定する。   On the other hand, when the device connected to the network 300 is not a WSD-compatible device, communication cannot be performed using the WSD protocol, and communication is performed using another protocol. When connected with a USB local cable, communication is performed using the USB protocol. However, it is difficult to exchange a large amount of information in the USB protocol, and the protocol determination unit 103 uses the specified protocol WSD. Judge that it is not a protocol.

このため、プロトコル判定部103は、情報取得部104にその旨を通知し、情報取得部104は、情報格納部107から機種共通の機器情報を読み出して取得し、その情報をドライバ生成部105へ送る。   For this reason, the protocol determination unit 103 notifies the information acquisition unit 104 to that effect, and the information acquisition unit 104 reads out and acquires device information common to all models from the information storage unit 107, and sends the information to the driver generation unit 105. send.

ドライバ生成部105は、GPDファイルのテンプレートに、取得した機器情報を記述してGPDファイルを生成し、プリンタドライバを生成する。ドライバ生成部105は、上記と同様、生成したプリンタドライバをドライバ格納部106にドライバ名を関連付けて格納する。その後の処理は、上記と同様である。   The driver generation unit 105 describes the acquired device information in a GPD file template to generate a GPD file, and generates a printer driver. Similarly to the above, the driver generation unit 105 stores the generated printer driver in the driver storage unit 106 in association with the driver name. Subsequent processing is the same as described above.

画像形成装置200が備えるホストI/F201は、情報処理装置100が備えるI/F制御部102との間で通信を行い、情報処理装置100からの要求を受け取り、情報処理装置100に対して応答を返す処理を行う。情報格納部203は、画像形成装置200の機能に関する機能情報や属性が記述されたメタデータ等を機器情報として格納する。情報提供部202は、ホストI/F201を介して機器情報取得要求が送信されてきた場合に、情報格納部203から機器情報を読み出し、情報処理装置100に対してその機器情報を提供する。   The host I / F 201 included in the image forming apparatus 200 communicates with the I / F control unit 102 included in the information processing apparatus 100, receives a request from the information processing apparatus 100, and responds to the information processing apparatus 100. Process to return. The information storage unit 203 stores functional information related to the function of the image forming apparatus 200, metadata describing attributes, and the like as device information. When a device information acquisition request is transmitted via the host I / F 201, the information providing unit 202 reads the device information from the information storage unit 203 and provides the device information to the information processing apparatus 100.

これまで各装置が備える各部の機能について説明してきたが、次に、図3を参照して、ドライバを自動生成する処理を詳細に説明する。情報処理装置100と画像形成装置200とを接続すると、大きく分けて2つの方法で自動的にプリンタドライバのインストールが開始される。   The function of each unit included in each device has been described so far. Next, a process for automatically generating a driver will be described in detail with reference to FIG. When the information processing apparatus 100 and the image forming apparatus 200 are connected, installation of the printer driver is automatically started by two methods.

1つは、USBケーブル等で互いを直接接続した場合で、もう1つは、WSDプロトコルを使用して通信するネットワークに接続した場合である。前者の場合、Plug and Playという技術により情報処理装置100が保持する情報を基にプリンタドライバを生成し、それをインストールする。後者の場合は、ローカルとネットワークの区別をユーザに意識させない新しいPlug and Play機構であるPnP-Xという技術により画像形成装置200から機器情報を取得し、それを用いてプリンタドライバを生成し、それをインストールする。   One is a case where they are directly connected to each other by a USB cable or the like, and the other is a case where they are connected to a network for communication using the WSD protocol. In the former case, a printer driver is generated based on information held by the information processing apparatus 100 using a technology called Plug and Play, and is installed. In the latter case, device information is acquired from the image forming apparatus 200 by a technology called PnP-X, which is a new Plug and Play mechanism that does not make the user aware of the distinction between local and network, and a printer driver is generated using it. Install.

そこで、このドライバを自動生成する処理では、ステップ300から開始すると、まず、ステップ305で、Plug and PlayによりOSの管理モジュールがプリンタドライバのインストールを要求し、ドライバ格納部106からコアドライバを読み出し、コアドライバをインストールする。このコアドライバのインストールにより情報取得部104としての機能が実現され、情報取得部104が機器情報の取得処理を行うことができるようになる。   Therefore, in the process of automatically generating the driver, starting from step 300, first, in step 305, the OS management module requests installation of the printer driver by Plug and Play, reads the core driver from the driver storage unit 106, Install the core driver. By installing the core driver, a function as the information acquisition unit 104 is realized, and the information acquisition unit 104 can perform an apparatus information acquisition process.

情報取得部104が機器情報取得要求を送信する前に、ステップ310で、プロトコル判定部103が、情報処理装置100と画像形成装置200との間の通信で使用されているプロトコルがWSDプロトコルであるか否かを判定する。WSDプロトコルであるか否かの判定は、WSDプロトコルを使用して通信を行う場合、通信を行うために開かれたポートのポート名に「WSD」という文字がつけられることから、ポート名を確認することにより判定することができる。なお、この判定法は、あくまで一例であり、レジストリを確認する等の他の方法により判定することも可能である。   Before the information acquisition unit 104 transmits the device information acquisition request, in step 310, the protocol used by the protocol determination unit 103 in communication between the information processing apparatus 100 and the image forming apparatus 200 is the WSD protocol. It is determined whether or not. To determine whether or not the WSD protocol is used, when communicating using the WSD protocol, the port name of the port opened for communication is marked with "WSD", so check the port name. It can be determined by doing. Note that this determination method is merely an example, and the determination can be performed by other methods such as checking the registry.

ステップ310でWSDプロトコルであると判定された場合、ステップ315へ進み、プロトコル判定部103がその旨を情報取得部104へ通知し、情報取得部104がそれを受け取ると、画像形成装置200へ機器情報取得要求を送る。そして、ステップ320で、情報取得部104は、画像形成装置200から機器情報を受信して取得する。WSDプロトコルで通信を行う場合、情報処理装置100は、マルチキャストで発見要求パケットをネットワーク300上に出し、それに対してユニキャストで送られてきた応答に含まれるネットワークアドレス等の情報を取得しており、情報取得部104は、そのネットワークアドレス等の情報を使用して画像形成装置200へ機器情報取得要求を送る。それに応答して、画像形成装置200は、自己が保持する機器情報を収集する等して取得し、その機器情報を情報処理装置100へ送る。これにより、情報取得部104は、その機器情報を受け取る。   If it is determined in step 310 that the protocol is the WSD protocol, the process proceeds to step 315, where the protocol determination unit 103 notifies the information acquisition unit 104 to that effect, and when the information acquisition unit 104 receives it, the image forming apparatus 200 is notified of the device. Send information acquisition request. In step 320, the information acquisition unit 104 receives and acquires device information from the image forming apparatus 200. When performing communication using the WSD protocol, the information processing apparatus 100 sends a discovery request packet to the network 300 by multicast, and acquires information such as a network address included in a response sent by unicast to the packet. The information acquisition unit 104 sends a device information acquisition request to the image forming apparatus 200 using information such as the network address. In response to this, the image forming apparatus 200 collects and acquires the device information held by the image forming apparatus 200 and sends the device information to the information processing apparatus 100. Thereby, the information acquisition unit 104 receives the device information.

一方、ステップ310でWSDプロトコルでないと判定された場合、ステップ325へ進み、情報格納部107に格納されている画像形成装置の機種に共通の機器情報を読み出して取得する。   On the other hand, if it is determined in step 310 that the protocol is not the WSD protocol, the process advances to step 325 to read out and acquire device information common to the model of the image forming apparatus stored in the information storage unit 107.

このようにして取得された機器情報を用い、ステップ330において、GPDファイルのテンプレートに必要な情報を記述し、プリンタドライバが使用するプログラムや他のファイル、記述されたGPDファイルをセットとして登録し、プリンタドライバを生成する。生成したプリンタドライバは、ドライバ格納部106へドライバ名が関連付けられて格納される。   In step 330, using the device information acquired in this way, describe necessary information in the template of the GPD file, register the program and other files used by the printer driver, and the described GPD file as a set, Create a printer driver. The generated printer driver is stored in the driver storage unit 106 in association with the driver name.

最後に、ステップ335で、インストール処理部101が、ドライバ生成部105からプリンタドライバを生成した旨の通知を受け、その通知に含まれるドライバ名を基にドライバ格納部106から読み出し、プリンタドライバをインストールする。そして、ステップ340において、インストールが完了した時点でこの処理は終了となる。   Finally, in step 335, the installation processing unit 101 receives a notification that the printer driver has been generated from the driver generation unit 105, reads out from the driver storage unit 106 based on the driver name included in the notification, and installs the printer driver. To do. In step 340, the process ends when the installation is completed.

上記の例では、WSDプロトコルを使用して通信が行われる場合に、画像形成装置200から機器情報のすべてを取得したが、すべての情報ではなく、画像形成装置200の機種に固有な機器情報のみを取得し、そのほかは、情報格納部107に格納されている機種共通の機器情報を取得し、それらを組み合わせてプリンタドライバを生成することも可能である。ちなみに、機種に固有な機器情報は、上述したパンチ機能やステープル機能に関する情報やフィニッシャの構成情報等であり、機種共通の機器情報は、上述した設定可能な用紙サイズ、印刷方向、選択可能な給紙装置、品質、部数、拡大/縮小、両面印刷機能等の情報である。   In the above example, when communication is performed using the WSD protocol, all the device information is acquired from the image forming apparatus 200. However, not all the information but only device information specific to the model of the image forming apparatus 200 is acquired. In addition, it is also possible to acquire device information common to the models stored in the information storage unit 107 and combine them to generate a printer driver. Incidentally, the device information specific to the model is the information regarding the punch function and the staple function described above, the configuration information of the finisher, and the like, and the device information common to the model is the above-described settable paper size, print direction, and selectable feed. Information such as paper device, quality, number of copies, enlargement / reduction, and duplex printing function.

このようにして、画像形成装置200から機器情報が取得することができるか否かに関係なく、情報処理装置100にプリンタドライバが同梱されていなくても、Plug and Play時にプリンタドライバを自動生成し、インストールを行うことができる。これまで機器が画像形成装置200として説明してきたため、生成されるドライバをプリンタドライバとしたが、これに限られるものではない。   In this manner, regardless of whether or not device information can be acquired from the image forming apparatus 200, a printer driver is automatically generated during plug and play even if the information processing apparatus 100 does not include a printer driver. And can be installed. Since the device has been described as the image forming apparatus 200 so far, the generated driver is the printer driver, but the present invention is not limited to this.

ここで、画像形成装置200から取得する機器情報の一例を、図4に示す。機器情報は、xml方式で記述されたテキストファイルとすることができる。xmlは、適切な名前空間により定義された各種のタグを利用して記述されており、開始タグおよび終了タグの間に各情報を設定するタグが配置される。図4に示す例では、パンチ機能、用紙方向、両面印刷に関する機器情報を記載しているのが示されている。   Here, an example of the device information acquired from the image forming apparatus 200 is shown in FIG. The device information can be a text file described in the xml format. The xml is described using various tags defined by an appropriate name space, and tags for setting each information are arranged between the start tag and the end tag. In the example shown in FIG. 4, the device information related to the punch function, the paper direction, and duplex printing is shown.

この機器情報のうち、「rodp:HolePunch」と「/rodp:HolePunch」で囲まれた記述部分が、パンチ機能に関する情報である。次の「rodp:Orientation」と「/rodp:Orientation」で囲まれた記述部分が、用紙方向に関する情報である。また、「rodp:Sides」と「/rodp:Sides」で囲まれた記述部分が、両面印刷機能に関する情報である。   Among the device information, a description part surrounded by “rodp: HolePunch” and “/ rodp: HolePunch” is information regarding the punch function. The description portion surrounded by “rodp: Orientation” and “/ rodp: Orientation” is information relating to the paper orientation. Further, a description part surrounded by “rodp: Sides” and “/ rodp: Sides” is information regarding the duplex printing function.

パンチ機能に関する情報には、この機能をOFFにするという情報、穴を左に2つ、上に2つ、右に2つという情報が含まれ、用紙方向に関する情報には、横方向、縦方向という情報が含まれ、両面印刷機能に関する情報には、片面印刷をしないという情報、用紙の長辺を反転させるという情報、短辺を反転させるという情報が含まれている。   The information on the punch function includes information on turning off this function, information on two holes on the left, two on the top, and two on the right. Information on the paper direction includes the horizontal direction and the vertical direction. The information regarding the double-sided printing function includes information that single-sided printing is not performed, information that the long side of the paper is reversed, and information that the short side is reversed.

また、情報格納部107に格納されている機種共通の機器情報の一例を、図5に示す。この例では、画像形成装置200から取得することができる機器情報の中で機種共通の用紙方向および両面印刷機能に関する情報のみが記載されているのが示されている。   An example of device information common to the models stored in the information storage unit 107 is shown in FIG. In this example, it is shown that only the information related to the paper orientation common to all models and the duplex printing function is described in the device information that can be acquired from the image forming apparatus 200.

画像形成装置200の情報格納部203に格納されている機種に固有な機器情報の一例を、図6に示す。この例では、図4に示す機器情報から図5に示す機種共通の機器情報を除いたパンチ機能に関する情報のみが記載されているのが示されている。   An example of device information specific to the model stored in the information storage unit 203 of the image forming apparatus 200 is shown in FIG. In this example, only the information regarding the punch function excluding the device information common to the models shown in FIG. 5 from the device information shown in FIG. 4 is shown.

機器情報は、パンチ機能、用紙方向、両面印刷機能の3つに限られるものではなく、その他の機能等を含むことができ、他の適切なタグで設定された各種の設定を記述することができる。   The device information is not limited to the punch function, the paper orientation, and the duplex printing function, but can include other functions, and can describe various settings set by other appropriate tags. it can.

プリンタドライバは、プリンタ設定ファイルに、GUIに表示される表示文字列を固有に識別する情報を登録することができる。表示文字列は、機器情報から言語テーブルを使用して抽出することができ、言語テーブルは、データベース等として実装することができる。   The printer driver can register information that uniquely identifies the display character string displayed on the GUI in the printer setting file. The display character string can be extracted from the device information using a language table, and the language table can be implemented as a database or the like.

プロトコル判定部103およびドライバ生成部105としてCPUを機能させるためのモジュールと、コアドライバとを含むドライバ生成プログラムは、情報処理装置100に格納され、情報処理装置100で実行されて当該情報処理装置100をドライバ生成システムとして機能させることができるが、このドライバ生成プログラムは、SDカードやCD-ROM等の記録媒体に記録され、記録媒体として提供することもできる。   A driver generation program including a module for causing the CPU to function as the protocol determination unit 103 and the driver generation unit 105 and a core driver is stored in the information processing apparatus 100 and is executed by the information processing apparatus 100. The driver generation program can be recorded on a recording medium such as an SD card or a CD-ROM and provided as a recording medium.

また、ドライバ生成プログラムは、画像形成装置200、210、220、230が備えるHDD等に格納され、WSD対応機器の探索時等において、情報処理装置100へ送信することも可能である。この場合、情報処理装置100は、画像形成装置200、210、220、230のいずれかからドライバ生成プログラムを受信すると、そのドライバ生成プログラムに含まれるコアドライバをインストールし、上述したようにして、機器情報取得要求を送信し、機器情報を取得することができ、その機器情報を基にプリンタドライバを生成することができる。   The driver generation program is stored in an HDD or the like included in the image forming apparatuses 200, 210, 220, and 230, and can be transmitted to the information processing apparatus 100 when searching for a WSD-compatible device. In this case, when the information processing apparatus 100 receives a driver generation program from any one of the image forming apparatuses 200, 210, 220, and 230, the core driver included in the driver generation program is installed, and as described above, the device An information acquisition request can be transmitted to acquire device information, and a printer driver can be generated based on the device information.

なお、このようにドライバ生成プログラムを機器情報と分離して提供するのではなく、一緒に提供することも可能である。   The driver generation program can be provided together with the device information instead of being provided separately from the device information.

これまで本発明を上述した実施の形態をもって説明してきたが、本発明は上述した実施の形態に限定されるものではなく、他の実施の形態、追加、変更、削除など、当業者が想到することができる範囲内で変更することができ、いずれの態様においても本発明の作用・効果を奏する限り、本発明の範囲に含まれるものである。したがって、ドライバを生成するために必要な機器情報としては上述した情報に限られるものではなく、必要に応じて他の情報も含めることができるものである。   The present invention has been described with the above-described embodiments, but the present invention is not limited to the above-described embodiments, and those skilled in the art will conceive other embodiments, additions, changes, deletions, and the like. It can be changed within the range that can be performed, and any embodiment is included in the scope of the present invention as long as the operation and effect of the present invention are exhibited. Therefore, the device information necessary for generating the driver is not limited to the information described above, and other information can be included as necessary.

100…情報処理装置、101…インストール処理部、102…I/F制御部、103…プロトコル判定部、104…情報取得部、105…ドライバ生成部、106…ドライバ格納部、107…情報格納部、200、210、220、230…画像形成装置、201…ホストI/F、202…情報提供部、203…情報格納部、300…ネットワーク DESCRIPTION OF SYMBOLS 100 ... Information processing apparatus 101 ... Installation processing part 102 ... I / F control part 103 ... Protocol determination part 104 ... Information acquisition part 105 ... Driver generation part 106 ... Driver storage part 107 ... Information storage part 200, 210, 220, 230 ... image forming apparatus, 201 ... host I / F, 202 ... information providing unit, 203 ... information storage unit, 300 ... network

特開2009−59365号公報JP 2009-59365 A

Claims (11)

機器を動作させるためのドライバを生成する処理を情報処理装置に実行させるドライバ生成プログラムであって、前記ドライバ生成プログラムが、
前記機器との通信に使用されるプロトコルを検出し、前記プロトコルが指定されたプロトコルであるか否かを判定するステップと、
前記指定されたプロトコルであると判定された場合、前記機器から機器情報を取得し、前記指定されたプロトコルでないと判定された場合、情報格納部から機種共通の機器情報を取得するステップと、
取得した前記機器情報に基づき前記機器に対応したドライバを生成するステップとを前記情報処理装置に実行させる、ドライバ生成プログラム。
A driver generation program that causes an information processing device to execute processing for generating a driver for operating a device, wherein the driver generation program includes:
Detecting a protocol used for communication with the device and determining whether the protocol is a designated protocol;
Acquiring device information from the device if determined to be the specified protocol, and acquiring device information common to models from the information storage unit if determined not to be the specified protocol;
A driver generation program that causes the information processing apparatus to execute a step of generating a driver corresponding to the device based on the acquired device information.
前記取得するステップは、前記指定されたプロトコルであると判定された場合、前記機器から当該機器に固有な機器情報のみを取得し、前記情報格納部から機種共通の機器情報を取得し、前記生成するステップは、前記固有な機器情報および前記機種共通の機器情報を組み合わせて前記機器に対応したドライバを生成する、請求項1に記載のドライバ生成プログラム。   When it is determined that the specified protocol is the specified protocol, the acquiring step acquires only device information unique to the device from the device, acquires device information common to the model from the information storage unit, and generates the generated information. The driver generating program according to claim 1, wherein the step of generating generates a driver corresponding to the device by combining the unique device information and the device information common to the models. 請求項1または2に記載のプログラムが記録された記録媒体。   A recording medium on which the program according to claim 1 is recorded. 機器を動作させるためのドライバを自動生成する情報処理装置であって、
前記機器との通信に使用されるプロトコルを検出し、前記プロトコルが指定されたプロトコルであるか否かを判定するプロトコル判定部と、
前記指定されたプロトコルであると判定された場合、前記機器から機器情報を取得し、前記指定されたプロトコルでないと判定された場合、情報格納部から機種共通の機器情報を取得する情報取得部と、
取得した前記機器情報に基づき前記機器に対応したドライバを生成するドライバ生成部とを備える、情報処理装置。
An information processing apparatus that automatically generates a driver for operating a device,
A protocol determination unit that detects a protocol used for communication with the device and determines whether the protocol is a designated protocol;
An information acquisition unit that acquires device information from the device when determined to be the specified protocol, and acquires device information common to models from an information storage unit when determined not to be the specified protocol; ,
An information processing apparatus comprising: a driver generation unit configured to generate a driver corresponding to the device based on the acquired device information.
前記情報処理装置が、前記機種共通の機器情報を格納する前記情報格納部を備える、請求項4に記載の情報処理装置。   The information processing apparatus according to claim 4, wherein the information processing apparatus includes the information storage unit that stores device information common to the models. 前記機種共通の機器情報は、前記情報処理装置と通信可能な前記情報格納部としての外部記憶装置に格納され、前記外部記憶装置から取得される、請求項4に記載の情報処理装置。   5. The information processing apparatus according to claim 4, wherein the device information common to the models is stored in an external storage device serving as the information storage unit capable of communicating with the information processing device, and is acquired from the external storage device. 前記情報取得部は、前記機器から前記機器情報を取得することが可能な場合に、前記機器から当該機器に固有な機器情報のみを取得し、前記情報格納部から前記機種共通の機器情報を取得し、前記ドライバ生成部は、前記固有な機器情報および前記機種共通の機器情報を組み合わせて前記機器に対応したドライバを生成する、請求項4〜6のいずれか1項に記載の情報処理装置。   When the device information can be acquired from the device, the information acquisition unit acquires only device information unique to the device from the device, and acquires device information common to the model from the information storage unit. The information processing apparatus according to claim 4, wherein the driver generation unit generates a driver corresponding to the device by combining the unique device information and the device information common to the models. 前記機器は、印刷を実行する画像形成装置であり、前記情報処理装置は、前記画像形成装置に対応したプリンタドライバを生成し、前記プリンタドライバを実行して、前記画像形成装置に対し印刷を指令する、請求項4〜7のいずれか1項に記載の情報処理装置。   The device is an image forming apparatus that executes printing, and the information processing apparatus generates a printer driver corresponding to the image forming apparatus, executes the printer driver, and instructs the image forming apparatus to perform printing. The information processing apparatus according to any one of claims 4 to 7. 請求項1または2に記載のドライバ生成プログラムにより生成されたドライバを実行する情報処理装置から送信された印刷データの印刷処理を行う、画像形成装置。   An image forming apparatus that performs print processing of print data transmitted from an information processing apparatus that executes a driver generated by the driver generation program according to claim 1. 請求項1または2に記載のドライバ生成プログラムを格納するプログラム格納部と、前記ドライバ生成プログラムを情報処理装置へ送信するプログラム送信部とを備える、画像形成装置。   An image forming apparatus comprising: a program storage unit that stores the driver generation program according to claim 1; and a program transmission unit that transmits the driver generation program to an information processing apparatus. 請求項1または2に記載のドライバ生成プログラムを格納する画像形成装置と情報処理装置とを含む印刷システムであって、前記画像形成装置と前記情報処理装置の通信時に、前記画像形成装置から前記情報処理装置へ前記プログラムを提供し、前記情報処理装置が前記プログラムを実行し、前記画像形成装置に対応したドライバを生成する、印刷システム。   A printing system including an image forming apparatus for storing the driver generation program according to claim 1 and an information processing apparatus, wherein the information is received from the image forming apparatus during communication between the image forming apparatus and the information processing apparatus. A printing system that provides the program to a processing apparatus, and the information processing apparatus executes the program to generate a driver corresponding to the image forming apparatus.
JP2009257779A 2009-11-11 2009-11-11 Driver generation program, recording medium, information processor, image forming device and printing system Pending JP2011103066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009257779A JP2011103066A (en) 2009-11-11 2009-11-11 Driver generation program, recording medium, information processor, image forming device and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009257779A JP2011103066A (en) 2009-11-11 2009-11-11 Driver generation program, recording medium, information processor, image forming device and printing system

Publications (1)

Publication Number Publication Date
JP2011103066A true JP2011103066A (en) 2011-05-26

Family

ID=44193372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009257779A Pending JP2011103066A (en) 2009-11-11 2009-11-11 Driver generation program, recording medium, information processor, image forming device and printing system

Country Status (1)

Country Link
JP (1) JP2011103066A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019072978A (en) * 2017-10-19 2019-05-16 株式会社日立産機システム Inkjet recording device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019072978A (en) * 2017-10-19 2019-05-16 株式会社日立産機システム Inkjet recording device

Similar Documents

Publication Publication Date Title
JP5691668B2 (en) Printer detection in web pages
JP3740403B2 (en) Printing system, printing control apparatus, information processing method, control program
US7831657B2 (en) Electronic apparatus for identifying and utilizing external applications contained on external apparatuses
JP5413077B2 (en) Information processing system, image forming apparatus, information processing apparatus, information processing method, and program
JP5423079B2 (en) Device management system, device, device management method and device management program
US20090077169A1 (en) Network device, service providing method, and service providing program
JP2010002967A (en) Device setting device, and device setting method
JP2011040065A (en) Method for printing print job, print system, and computer-readable medium
JP2009205529A (en) Driver installation method and driver installation program
JP6737170B2 (en) Server device, image processing unit and program
US8659782B2 (en) Image forming apparatus using option controller for printing
US8665478B2 (en) Printing system, control method of the same, print server, control method of the print server, and storage medium
JP2008009889A (en) Shared document printer and shared document printing control method
JP5369782B2 (en) Image forming apparatus, information processing method, and program
JP2011103066A (en) Driver generation program, recording medium, information processor, image forming device and printing system
US11275539B2 (en) Printer device, control method for a printer device, information processing apparatus, control method for an information processing apparatus, and storage medium therefor
JP2009042840A (en) Image forming apparatus
JP2021043547A (en) Information processing device and control method for information processing device, and program
JP2005130102A (en) Image forming apparatus, information processor, information processing method, information processing program, and recording medium
JP2013020342A (en) Image formation system, output management method and program
JP5220166B2 (en) Printing system, server apparatus, printing method, and computer program
JP4262007B2 (en) Network device and data processing system control method
JP2005071302A (en) Image-forming device
US20090313618A1 (en) Information processing apparatus, control method therefor, storage medium storing control program therefor, image processing apparatus, control method therefor, and storage medium storing control program therefor
JP2009188583A (en) Method of confirming extension ui correspondence to image-forming device and extension ui device using the method, and image-forming system