JP2006338412A - Method of installing print data output program, and program - Google Patents
Method of installing print data output program, and program Download PDFInfo
- Publication number
- JP2006338412A JP2006338412A JP2005163292A JP2005163292A JP2006338412A JP 2006338412 A JP2006338412 A JP 2006338412A JP 2005163292 A JP2005163292 A JP 2005163292A JP 2005163292 A JP2005163292 A JP 2005163292A JP 2006338412 A JP2006338412 A JP 2006338412A
- Authority
- JP
- Japan
- Prior art keywords
- print data
- printer
- program
- data output
- identification information
- 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
Links
Images
Abstract
Description
本発明は印刷データ出力プログラムインストール方法及びプログラムに関する。 The present invention relates to a print data output program installation method and program.
各種アプリケーションプログラムが実行されるコンピュータと、プリンタと、を含み、各種アプリケーションプログラムで作成された文書や画像等をプリンタから印刷出力する印刷システムが一般的に知られている。このような印刷システムでは、アプリケーションプログラムに所定のプリンタを対応づけておき、該アプリケーションプログラムからの印刷が該所定のプリンタで行われるように設定させておくことが行われている。 2. Description of the Related Art A printing system that includes a computer that executes various application programs and a printer and that prints out documents, images, and the like created by the various application programs from the printer is generally known. In such a printing system, a predetermined printer is associated with an application program, and settings are made so that printing from the application program is performed by the predetermined printer.
以上のような印刷システムにおいてプリンタを他のプリンタに変更する場合、ユーザは新たなプリンタに対応するプログラム(例えばプリンタドライバ等)をコンピュータにインストールするとともに、アプリケーションプログラムからの印刷が新たなプリンタで行われるように設定を変更しなければならず、プリンタの変更に伴う手間が発生していた。 When the printer is changed to another printer in the printing system as described above, the user installs a program (for example, a printer driver) corresponding to the new printer in the computer and prints from the application program on the new printer. Settings have to be changed so that the printer is changed.
本発明は上記課題に鑑みてなされたものであって、その目的は、プリンタの変更に伴って発生する手間を軽減できるようになる印刷データ出力プログラムインストール方法及びプログラムを提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a print data output program installation method and program that can reduce the troubles caused by changing the printer.
上記課題を解決するために、本発明に係る印刷データ出力プログラムインストール方法は、第1の印刷データ出力プログラムを含む1又は複数の印刷データ出力プログラムを記憶するプログラム記憶手段を含むコンピュータに、前記第1の印刷データ出力プログラムに対応する第2の印刷データ出力プログラムをインストールするための印刷データ出力プログラムインストール方法であって、前記コンピュータは、アプリケーションプログラムを実行する手段と、前記印刷データ出力プログラムに対応づけて、該印刷データ出力プログラムを識別するための識別情報を1又は複数記憶する識別情報記憶手段と、前記アプリケーションプログラムに対応づけて、少なくとも1つの前記識別情報を記憶する手段と、を含み、前記アプリケーションプログラムに対応する印刷データを、該アプリケーションプログラムに対応づけられた前記識別情報によって識別される印刷データ出力プログラムによって出力させ、該印刷データ出力プログラムインストール方法は、前記第2の印刷データ出力プログラムを前記プログラム記憶手段に記憶させるためのステップと、前記第1の印刷データ出力プログラムに対応づけられていた識別情報に、前記第1の印刷データ出力プログラムに代えて前記第2の印刷データ出力プログラムが対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するための更新ステップと、を含むことを特徴とする。 In order to solve the above-described problem, a print data output program installation method according to the present invention includes a computer including program storage means for storing one or more print data output programs including a first print data output program. A print data output program installation method for installing a second print data output program corresponding to one print data output program, wherein the computer corresponds to means for executing an application program and the print data output program An identification information storage unit that stores one or more identification information for identifying the print data output program, and a unit that stores at least one of the identification information in association with the application program, The application Print data corresponding to a program is output by a print data output program identified by the identification information associated with the application program, and the print data output program installation method is configured to output the second print data output program as the second print data output program. Instead of the first print data output program, the second print data output program corresponds to the step for storing in the program storage means and the identification information associated with the first print data output program. And an update step for updating the storage contents of the identification information storage means so as to be stored together.
また、本発明に係るプログラムは、第1の印刷データ出力プログラムを含む1又は複数の印刷データ出力プログラムを記憶するプログラム記憶手段を含むコンピュータに、前記第1の印刷データ出力プログラムに対応する第2の印刷データ出力プログラムをインストールするためのプログラムであって、前記コンピュータは、アプリケーションプログラムを実行する手段と、前記印刷データ出力プログラムに対応づけて、該印刷データ出力プログラムを識別するための識別情報を1又は複数記憶する識別情報記憶手段と、前記アプリケーションプログラムに対応づけて、少なくとも1つの前記識別情報を記憶する手段と、を含み、前記アプリケーションプログラムに対応する印刷データを、該アプリケーションプログラムに対応づけられた前記識別情報によって識別される印刷データ出力プログラムによって出力させ、該プログラムは、前記第2の印刷データ出力プログラムを前記プログラム記憶手段に記憶させるためのステップと、前記第1の印刷データ出力プログラムに対応づけられていた識別情報に、前記第1の印刷データ出力プログラムに代えて前記第2の印刷データ出力プログラムが対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するための更新ステップと、を前記コンピュータに実行させることを特徴とする。 According to another aspect of the present invention, there is provided a program corresponding to the first print data output program in a computer including program storage means for storing one or a plurality of print data output programs including the first print data output program. The print data output program is installed in the computer, and the computer includes means for executing the application program and identification information for identifying the print data output program in association with the print data output program. One or more identification information storage means for storing, and means for storing at least one of the identification information in association with the application program, wherein print data corresponding to the application program is associated with the application program Before Output by a print data output program identified by the identification information, the program being associated with the step for storing the second print data output program in the program storage means and the first print data output program Update for updating the stored contents of the identification information storage means so that the second print data output program is stored in association with the identification information that has been stored instead of the first print data output program And causing the computer to execute steps.
また、本発明に係る情報記憶媒体は、上記プログラムを記憶したコンピュータ読み取り可能な情報記憶媒体である。 An information storage medium according to the present invention is a computer-readable information storage medium storing the above program.
本発明は、第1の印刷データ出力プログラムを含む1又は複数の印刷データ出力プログラムを記憶するプログラム記憶手段を含むコンピュータに対する、前記第1の印刷データ出力プログラムに対応する第2の印刷データ出力プログラムのインストールに関するものである。該コンピュータは、アプリケーションプログラムを実行する手段と、印刷データ出力プログラムに対応づけて、該印刷データ出力プログラムを識別するための識別情報を1又は複数記憶する識別情報記憶手段と、アプリケーションプログラムに対応づけて、少なくとも1つの前記識別情報を記憶する手段と、を含み、アプリケーションプログラムに対応する印刷データを、該アプリケーションプログラムに対応づけられた識別情報によって識別される印刷データ出力プログラムによって出力させる。また、該インストールでは、第2の印刷データ出力プログラムがプログラム記憶手段に格納される。そして、第1の印刷データ出力プログラムに対応づけられた識別情報に、第1の印刷データ出力プログラムに代えて第2の印刷データ出力プログラムが対応づけて記憶されるように、識別情報記憶手段の記憶内容が更新される。本発明によれば、プリンタを他のプリンタに変更する場合において、アプリケーションプログラムからの印刷が新たなプリンタで行われるように設定を変更する必要がなくなるため、プリンタの変更に伴って発生する手間を軽減できるようになる。 The present invention relates to a second print data output program corresponding to the first print data output program for a computer including program storage means for storing one or more print data output programs including the first print data output program. Is about the installation of. The computer is associated with means for executing an application program, identification information storage means for storing one or a plurality of identification information for identifying the print data output program in association with the print data output program, and the application program And at least one means for storing the identification information, and print data corresponding to the application program is output by a print data output program identified by the identification information associated with the application program. In the installation, the second print data output program is stored in the program storage unit. The identification information storage means stores the identification information associated with the first print data output program in association with the second print data output program instead of the first print data output program. The stored contents are updated. According to the present invention, when changing the printer to another printer, it is not necessary to change the setting so that printing from the application program is performed by the new printer. Can be reduced.
また、本発明の一態様では、前記第2の印刷データ出力プログラムを識別するための仮識別情報を生成するとともに、前記第2の印刷データ出力プログラムと、該仮識別情報と、が対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するためのステップを含み、前記更新ステップは、前記第1の印刷データ出力プログラムに対応づけて前記識別情報記憶手段に記憶される識別情報を取得するための識別情報取得ステップと、前記第2の印刷データ出力プログラムに対応づけて前記識別情報記憶手段に記憶される識別情報を、前記仮識別情報から、前記識別情報取得ステップによって取得された識別情報に更新するためのステップと、を含むようにしてもよい。なお、「仮識別情報を生成すること」と、「第2の印刷データ出力プログラムと、仮識別情報と、を対応づけて記憶させること」は、一体的に行われるものであってもよいし、個別に行われるものであってもよい。 In one aspect of the present invention, temporary identification information for identifying the second print data output program is generated, and the second print data output program is associated with the temporary identification information. And storing the identification information stored in the identification information storage unit in association with the first print data output program so as to be stored. An identification information acquisition step for acquiring information, and identification information stored in the identification information storage means in association with the second print data output program is acquired from the temporary identification information by the identification information acquisition step. A step for updating to the identified identification information. “Generating temporary identification information” and “storing the second print data output program and temporary identification information in association with each other” may be performed integrally. It may be performed individually.
また、本発明の一態様では、前記コンピュータは、プリンタを通信可能に接続するための1又は複数のインタフェースを含み、前記識別情報記憶手段には、前記識別情報に対応づけて、前記1又は複数のインタフェースのいずれかを特定する情報が記憶され、前記更新ステップは、前記第2の印刷データ出力プログラムに対応するプリンタが接続されるインタフェースを特定する前記インタフェース特定情報を取得するためのインタフェース特定情報取得ステップと、前記第1の印刷データ出力プログラムに対応づけられていた識別情報に、前記インタフェース特定情報取得ステップによって取得されるインタフェース特定情報が対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するためのステップと、を含むようにしてもよい。 In one embodiment of the present invention, the computer includes one or more interfaces for connecting a printer so as to be communicable, and the identification information storage unit associates the identification information with the one or more interfaces. Information specifying any one of the interfaces is stored, and the updating step includes interface specifying information for acquiring the interface specifying information for specifying an interface to which a printer corresponding to the second print data output program is connected. The identification information storage means so that the interface specifying information acquired by the interface specifying information acquiring step is stored in correspondence with the acquiring step and the identification information associated with the first print data output program. Updating the stored content of the It may be.
以下、本発明の実施形態の一例について図面に基づき詳細に説明する。 Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施形態に係る印刷システムの全体構成を示す図である。同図に示すように、本実施の形態に係る印刷システム1はホストコンピュータ10(印刷データ出力装置)と、プリンタ20と、を含んで構成される。
FIG. 1 is a diagram showing an overall configuration of a printing system according to an embodiment of the present invention. As shown in the figure, the printing system 1 according to the present embodiment includes a host computer 10 (print data output device) and a
図1に示すように、ホストコンピュータ10は制御部11と、記憶部12と、入力部13と、表示部14と、インタフェース(I/F)15と、光ディスク読み取り部16と、を含んで構成されるコンピュータである。
As shown in FIG. 1, the
制御部11は、記憶部12に記憶されるオペレーティングシステム及びその他のプログラムに従って動作し、各種情報処理を実行する。また、記憶部12はコンピュータ読み取り可能な情報記憶媒体で構成される。例えば、記憶部12はROM(Read Only Memory)、RAM(Random Access Memory)やハードディスク装置を含んで構成される。記憶部12には、制御部11によって実行されるプログラムが格納される。また、記憶部12は、制御部11の処理の過程で必要となる種々のデータを記憶するワークメモリとしても動作する。
The
光ディスク読み取り部16は、制御部11からの指示に従って、例えばDVD−ROM等の光ディスク(情報記憶媒体)に記憶されたプログラムやデータを読み取る。
The optical
入力部13は例えばキーボード又はマウス等であり、ユーザの操作入力に応じたデータを制御部11に入力する。表示部14は例えばディスプレイ等であり、制御部11から入力される指示に従って情報の表示を行う。
The
インタフェース15は、各種周辺機器や情報記憶媒体(メモリカード等)をホストコンピュータ10に接続するためのインタフェースである。インタフェース15は周辺機器等から入力されるデータを制御部11に出力する。また、インタフェース15は制御部11から入力される指示に従って、種々のデータを周辺機器等に出力する。ホストコンピュータ10には、例えばRS−232Cインタフェース規格に則った1又は複数の接続口(ポート)や、USB(Universal Serial Bus)インタフェース規格に則った1又は複数の接続口が設けられる。なお、以下では、RS−232Cインタフェース規格に則った接続口を「COMポート」と記載し、USBインタフェース規格に則った接続口を「USBポート」と記載する。
The
ホストコンピュータ10にはインタフェース15を介してプリンタ20が相互にデータ授受可能に接続される。図1に示すように、プリンタ20は制御部21と、記憶部22と、画像形成部23と、インタフェース(I/F)24と、を含んで構成される。
The
制御部21はプリンタ20全体の制御を行う。記憶部22はROMやRAMを含んで構成され、印刷実行のために必要な各種プログラムやデータを記憶する。インタフェース24はホストコンピュータ10から送信されるデータを受信し、制御部21に出力する。プリンタ20にはインタフェース24として、例えばCOMポートやUSBポートが設けられる。画像形成部23は制御部21から入力されるデータに基づいて画像データを生成し、その画像データを印刷用紙等の画像記録媒体に印刷出力する。
The
例えば、プリンタ20はフォント画像データを記憶部22に記憶し、文書等の内容を示すコマンドデータ(文字列を示すコマンドデータ)やフォント種類を示すコマンドデータ等をホストコンピュータ10から受信し、これらのコマンドデータに基づいてラスタ画像データを生成し、該ラスタ画像データを画像記録媒体に形成する。また例えば、プリンタ20は、所定のデータ形式のラスタ画像データ(より正確には、画像を構成する各画素ごとの着色情報を示すコマンドデータ)をホストコンピュータ10から受信し、該ラスタ画像データを画像記録媒体に形成する。
For example, the
また例えば、プリンタ20はオートカッタ機構を備え、画像記録媒体に画像を形成するための上記コマンドデータとともに、画像記録媒体の切断を指示するコマンドデータをホストコンピュータ10から受信し、画像記録媒体を所与の位置において所与の態様で切断する。
Further, for example, the
本実施の形態では、マイクロソフト社製のウィンドウズ(登録商標)がオペレーティングシステムとしてホストコンピュータ10にインストールされている。また、POS(Point Of Sales)アプリケーションプログラム(以下、POSアプリケーションと記載する。)がホストコンピュータ10にインストールされている。このPOSアプリケーションはレシート作成機能を有している。プリンタ20は、このPOSアプリケーションで作成されたレシート画像を印刷するために用いられる。
In the present embodiment, Windows (registered trademark) manufactured by Microsoft Corporation is installed in the
ここで、レシート画像の印刷が行われる際のホストコンピュータ10の動作について説明する。図2は、かかる動作を説明するための図である。ここでは、プリンタ20として「フォント画像データを記憶部22に記憶し、文書等の内容を示すコマンドデータやフォント種類を示すコマンドデータ等のコマンドデータをホストコンピュータ10から受信し、これらのコマンドデータに基づいてラスタ画像データを生成し、該ラスタ画像データを画像記録媒体に形成するプリンタA」がホストコンピュータ10の「COMポート1」に接続されていることとする。また、ホストコンピュータ10には、プリンタAに対応するプリンタドライバ(印刷データ出力プログラム)がインストールされている。
Here, the operation of the
図2に示すように、POSアプリケーション30においてレシート画像の印刷指示が行われると、レシート画像の描画命令を表すメタデータがGDI(Graphic Device Interface)プログラム31によって生成される。このGDIプログラム31はオペレーティングシステムの一部として提供されるプログラムであり、このメタデータはデバイス(プリンタ)に依存しないデータである。
As shown in FIG. 2, when a receipt image print instruction is issued in the
GDIプログラム31によって生成されたメタデータは、スプーラ32を介してプリンタドライバ33に供給される。なお、ホストコンピュータ10には、プリンタ20に関し、例えば図3に示すようなプリンタ情報が記憶されている。同図に示すように、このプリンタ情報は「識別名」フィールドと、「プリンタドライバ」フィールドと、「ポート」フィールドと、を含んでいる。「識別名」フィールドには、プリンタドライバとポートとの組み合わせを識別する識別情報が格納される。例えばプリンタ20の機種名に基づく文字列が格納される。「プリンタドライバ」フィールドには、プリンタドライバを特定する情報が格納される。例えばプリンタドライバ名が格納される。「ポート」フィールドには、プリンタ20が接続されたポートを特定する情報が格納される。なお、同図の例は、ホストコンピュータ10にプリンタAのみが接続される状態を示している。ホストコンピュータ10に複数のプリンタ20が接続される場合には、複数のプリンタ20の各々のプリンタ情報が記憶されることになる。本実施の形態では、POSアプリケーション30には一の「識別名」が対応づけられるようになっており、GDIプログラム31によって生成されたメタデータは、POSアプリケーション30に対応づけられた「識別名」に対応するプリンタドライバ33に供給されるようになっている。
The metadata generated by the
プリンタドライバ33では、メタデータがプリンタAに対応した印刷データ(デバイスに依存したデータ)に変換される。例えば、プリンタAにおいて画像記録媒体にレシート画像を形成させるためのコマンドデータや、プリンタAの機構を制御するためのコマンドデータ(例えば、画像記録媒体のカットを指示するコマンドデータ)等がメタデータに基づいて生成される。
In the
プリンタドライバ33によって生成された印刷データは、スプーラ32によって記憶部12に一時的に保持される。スプーラ32はプリンタ20の状態を監視しながら、印刷データをプリンタ20に順次送信する。すなわち、印刷データがポートドライバ34を介して、POSアプリケーション30に対応づけられた「識別名」に対応するポート(図3参照)から出力され、プリンタ20(プリンタA)に供給される。
The print data generated by the
なお、プリンタAに対応した印刷データはプリンタドライバ33以外のプログラムによって生成される場合もある。図4は、その場合におけるホストコンピュータ10の動作を示している。なお、図2と同様の動作を行うものについては同じ符号を付して説明を省略する。
Note that print data corresponding to the printer A may be generated by a program other than the
図4に示すように、POSアプリケーション30aにおいてレシート画像の印刷指示が行われると、プリンタAに対応した印刷データが印刷データ生成プログラム35によって生成される。印刷データ生成プログラム35は、例えばPOSアプリケーション30aの一部として提供されるプログラムである。
As shown in FIG. 4, when a receipt image print instruction is issued in the
印刷データ生成プログラム35によって生成された印刷データは、プリンタドライバ33を介することなく、スプーラ32及びポートドライバ34を介して、プリンタ20(プリンタA)に供給される。なお、POSアプリケーション30a又は印刷データ生成プログラム35には一のポートが対応づけられる。例えば、一の「識別名」(図3参照)がPOSアプリケーション30a又は印刷データ生成プログラム35に対応づけられることによって、POSアプリケーション30a又は印刷データ生成プログラム35に一のポートが対応づけられるようになっている。印刷データ生成プログラム35によって生成された印刷データは、POSアプリケーション30a又は印刷データ生成プログラム35に対応づけられたポートから出力され、プリンタ20(プリンタA)に供給される。
The print data generated by the print
以上に説明した印刷システム1において、プリンタ20をプリンタA(第2のプリンタ)から「所定のデータ形式のラスタ画像データを受信し、該ラスタ画像データを画像記録媒体に形成するプリンタB(第1のプリンタ)」に変更する場合、レシート画像の印刷をプリンタBに行わせるためのプログラムが必要となる。このとき、POSアプリケーション30からプリンタBに印刷を行わせる場合には、プリンタBに対応するプリンタドライバ33が通常は必要となり、POSアプリケーション30aからプリンタBに印刷を行わせる場合には、プリンタBに対応する印刷データ生成プログラム35が通常は必要となる。以下、上記のような場合において、POSアプリケーション30,30aごとに異なるプログラムを用意する必要なく、プリンタBの利用を開始できるようにするための技術について説明する。
In the printing system 1 described above, the
また、印刷システム1において、プリンタ20をプリンタAからプリンタBに変更する場合、プリンタAの印刷出力とプリンタBの印刷出力との間に差異が生じる場合がある。以下、上記のような場合において、プリンタAと同様の印刷出力をプリンタBにおいて得ることができるようにするとともに、それを、POSアプリケーション側の仕様や設定等に変更を加えることなく実現するための技術についても説明する。
In the printing system 1, when the
まず、ホストコンピュータ10に接続されるプリンタ20をプリンタAからプリンタBに変更する場合に実行される手順について説明する。なお、ここでは、プリンタBがホストコンピュータ10の「USBポート1」に接続されることとして説明する。
First, a procedure executed when the
ホストコンピュータ10に接続されるプリンタ20をプリンタBに変更する場合、ユーザはホストコンピュータ10とプリンタAとの接続を解除し、プリンタBのプリンタドライバが記憶された光ディスク(インストールディスク)を光ディスク読み取り部16に装着させる。その後、ユーザはホストコンピュータ10の「USBポート1」にプリンタBを接続する。
When the
ホストコンピュータ10の「USBポート1」にプリンタBが接続されたことが検出されると、ホストコンピュータ10では図5に示すようなインストール処理が実行されるようになっている。なお、同図に示すインストール処理において、S101乃至S104はオペレーティングシステムによって実行される。また、S105乃至S107は、インストールディスクに記憶された所定のプログラムが読み出され、制御部11に実行されることによって実現される。
When it is detected that the printer B is connected to “USB port 1” of the
図5に示すように、まず、プリンタBが接続されたポートが特定される(S101)。次に、プリンタBに対応したプリンタドライバがインストールディスクから読み出されて、ホストコンピュータ10にインストールされる(S102)。ここでインストールされるプリンタドライバは、GDIプログラム31によって生成されたメタデータをプリンタAに対応する印刷データに変換するプリンタドライバ本体(プリンタドライバ33と同等のもの)と、ランゲージモニタプログラムと、印刷データ変換プログラムと、を含んで構成されるものである。ランゲージモニタプログラム及び印刷データ変換プログラムは、プリンタAに対応する印刷データをプリンタBに対応する印刷データに変換するためのものである。詳しくは後述する(図9及び図10参照)。
As shown in FIG. 5, first, the port to which the printer B is connected is specified (S101). Next, a printer driver corresponding to the printer B is read from the installation disk and installed in the host computer 10 (S102). The printer driver installed here includes a printer driver main body (equivalent to the printer driver 33) that converts the metadata generated by the
次に、仮識別名が生成される(S103)。仮識別名は例えばプリンタBの機種名に基づいて生成される。次に、プリンタBのプリンタ情報が生成され、追加登録される(S104)。このプリンタBのプリンタ情報の「識別名」フィールドには、S103で生成された仮識別名が格納される。また、「プリンタドライバ」フィールドには、S102でインストールされたプリンタドライバを示す情報が格納される。さらに、「ポート」フィールドには、S101で検出されたポートを示す情報が格納される。その結果、プリンタ情報は図6に示すように更新される。なお、S103の処理とS104の処理とは一体的に行われるものであってもよいし、個別に行われるものであってもよい。 Next, a temporary identification name is generated (S103). The temporary identification name is generated based on the model name of the printer B, for example. Next, printer information of the printer B is generated and additionally registered (S104). In the “identification name” field of the printer information of the printer B, the temporary identification name generated in S103 is stored. The “printer driver” field stores information indicating the printer driver installed in S102. Further, information indicating the port detected in S101 is stored in the “port” field. As a result, the printer information is updated as shown in FIG. In addition, the process of S103 and the process of S104 may be performed integrally, and may be performed separately.
次に、プリンタAに対応する「識別名」が取得される(S105)。すなわち、プリンタAのプリンタ情報の「識別名」フィールドの内容が取得される。次に、プリンタAのプリンタ情報が削除される(S106)。最後に、プリンタBのプリンタ情報の「識別名」フィールドの内容が、S106で取得された識別名に更新される(S107)。その結果、プリンタ情報は図7に示すように更新される。すなわち、プリンタAに対応づけられていた「識別名」に、プリンタAのプリンタドライバと、プリンタAが接続されたポートと、に代えて、プリンタBのプリンタドライバと、プリンタBが接続されたポートと、が対応づけられることになる。言い換えれば、プリンタAに対応づけられていた「識別名」に、プリンタBのプリンタドライバと、プリンタBが接続されたポートと、が対応づけられてなるプリンタ情報が、プリンタBのプリンタ情報として記憶されることになる。 Next, an “identification name” corresponding to the printer A is acquired (S105). That is, the contents of the “identification name” field of the printer information of the printer A are acquired. Next, the printer information of the printer A is deleted (S106). Finally, the content of the “identification name” field of the printer information of the printer B is updated to the identification name acquired in S106 (S107). As a result, the printer information is updated as shown in FIG. That is, instead of the printer driver of printer A and the port to which printer A is connected to the “identification name” associated with printer A, the printer driver of printer B and the port to which printer B is connected Are associated with each other. In other words, printer information in which the printer driver of printer B and the port connected to printer B are associated with the “identification name” associated with printer A is stored as printer information of printer B. Will be.
なお、プリンタBがホストコンピュータ10の「USBポート」以外のポート(例えば「COMポート1」)に接続される場合には、以下に説明するような手順が実行される。すなわち、ユーザはホストコンピュータ10とプリンタAとの接続を解除し、プリンタBのプリンタドライバと、このプリンタドライバのインストールプログラムと、が記憶された光ディスク(インストールディスク)を光ディスク読み取り部16に装着させた後、インストールプログラムを実行させる。図8は、このインストールプログラムによって実行されるインストール処理を示すフロー図である。
When the printer B is connected to a port other than the “USB port” of the host computer 10 (for example, “COM port 1”), the procedure described below is executed. That is, the user releases the connection between the
図8に示すように、まず、プリンタBが接続されたポートが特定される(S201)。プリンタBが接続されたポートは自動的に検出されるようにしてもよいし、ユーザに入力させるようにしてもよい。次に、プリンタBに対応したプリンタドライバがインストールされる(S202)。ここでインストールされるプリンタドライバは、図5のS102において説明したプリンタドライバと同様である。次に、プリンタAのプリンタ情報が更新される(S203)。具体的には、プリンタAのプリンタ情報の「プリンタドライバ」フィールドの内容が、S202でインストールされたプリンタドライバを示すように更新される。また、「ポート」フィールドの内容が、S201で特定されたポートを示すように更新される。すなわち、図7に示すようにプリンタ情報が更新される。すなわち、プリンタAに対応づけられていた「識別名」に、プリンタBのプリンタドライバと、プリンタBが接続されたポートと、が対応づけられてなるプリンタ情報が、プリンタBのプリンタ情報として生成されることになる。 As shown in FIG. 8, first, the port to which the printer B is connected is specified (S201). The port to which the printer B is connected may be automatically detected or may be input by the user. Next, a printer driver corresponding to the printer B is installed (S202). The printer driver installed here is the same as the printer driver described in S102 of FIG. Next, the printer information of the printer A is updated (S203). Specifically, the content of the “printer driver” field of the printer information of printer A is updated to indicate the printer driver installed in S202. In addition, the content of the “port” field is updated to indicate the port specified in S201. That is, the printer information is updated as shown in FIG. That is, printer information in which the printer driver of printer B and the port connected to printer B are associated with the “identification name” associated with printer A is generated as printer information of printer B. Will be.
なお、S202では、ランゲージモニタプログラム及び印刷データ変換プログラムのみがインストールされるようにしてもよい。この場合、S203では、「ポート」フィールドの内容のみが更新されるようにしてもよい。例えば、POSアプリケーション30aのみが実行されるホストコンピュータ10ではこのようにすればよい。このとき、POSアプリケーション30a又は印刷データ生成プログラム35に対応づけられるポートが、S201で特定されたポートに更新されるようにすればよい。
In S202, only the language monitor program and the print data conversion program may be installed. In this case, only the contents of the “port” field may be updated in S203. For example, this may be done in the
以上に説明したインストール処理(図5又は図8参照)によれば、プリンタAに元々対応づけられていた「識別名」に、新たにインストールされたプリンタBのプリンタドライバと、プリンタBが接続されたポートと、が自動的に対応づけられるようになっている。このため、ユーザがPOSアプリケーション側で印刷出力先等の設定を変更しなくても、レシート画像の印刷出力がプリンタBで行われるようになる。 According to the installation process described above (see FIG. 5 or FIG. 8), the printer driver of the newly installed printer B and the printer B are connected to the “identification name” originally associated with the printer A. The corresponding port is automatically associated. For this reason, even if the user does not change the setting of the print output destination or the like on the POS application side, the print output of the receipt image is performed by the printer B.
次に、インストール処理(図5又は図8参照)が実行された後のホストコンピュータ10においてレシート画像の印刷が行われる際の動作について説明する。図9は、かかる動作を説明するための図である。なお、図2及び図4と同様の動作を行うものについては同じ符号を付して説明を省略する。また、図9には、POSアプリケーション30とPOSアプリケーション30aとの両方が記載されているが、ホストコンピュータ10にはこれらの少なくとも一方がインストールされる。
Next, an operation when a receipt image is printed in the
図9に示すように、POSアプリケーション30においてレシート画像の印刷指示が行われると、レシート画像の描画命令を表すメタデータがGDIプログラム31によって生成される。GDIプログラム31によって生成されたメタデータは、プリントスプーラ32を介してプリンタドライバ33に供給される。なお、ここでのプリンタドライバ33は、図5のS102又は図8のS202においてインストールされたプリンタドライバに含まれる「プリンタドライバ本体」を指している。プリンタドライバ33では、メタデータがプリンタAに対応した印刷データに変換される。一方、POSアプリケーション30aにおいてレシート画像の印刷指示が行われると、プリンタAに対応した印刷データが印刷データ生成プログラム35によって生成される。
As illustrated in FIG. 9, when a receipt image print instruction is issued in the
プリンタドライバ33又は印刷データ生成プログラム35によって生成された印刷データ(内部印刷データ)は、スプーラ32を介してランゲージモニタプログラム36に供給される。なお、印刷データ生成プログラム35によって生成された印刷データについては、印刷データ生成プログラム35からランゲージモニタプログラム36に直接供給されるようにしてもよい。ランゲージモニタプログラム36は、印刷データが供給されたか否かを監視し、印刷データが供給されたことが検知された場合には、その印刷データを印刷データ変換プログラム37に供給する。なお、ランゲージモニタプログラム36は、プリンタ20からポートドライバ34を介して供給されるプリンタ20のステータス情報を受け取り、それを所定のプログラム(例えばプリンタステータス参照プログラム等)に供給するためにも用いられるものである。また、ランゲージモニタプログラム36と印刷データ変換プログラム37とは一体的なものとして設けられるものであってもよいし、別体として設けられるものであってもよい。
Print data (internal print data) generated by the
印刷データ変換プログラム37では、プリンタドライバ33又は印刷データ生成プログラム35によって生成された印刷データが、プリンタBに対応した印刷データに変換される。例えば、プリンタドライバ33又は印刷データ生成プログラム35によって生成された印刷データに含まれる「プリンタAにおいて画像記録媒体にレシート画像を形成させるためのコマンドデータ」が「プリンタBにおいて画像記録媒体にレシート画像を形成させるためのコマンドデータ」に変換される。また例えば、「プリンタAの機構を制御するためのコマンドデータ」が「プリンタBの機構を同様に制御するためのコマンドデータ」に変換される。印刷データ変換プログラム37によって生成された印刷データは、ランゲージモニタプログラム36及びポートドライバ34を介して、POSアプリケーション30に対応づけられた「識別名」に対応するポート(図7参照)、又は、POSアプリケーション30a又は印刷データ生成プログラム35に対応づけられたポートから出力され、プリンタ20(プリンタB)に供給される。
In the print
ここで、印刷データ変換プログラム37によって実現される機能について詳しく説明する。
Here, functions realized by the print
図10は、インストール処理(図5又は図8参照)が実行された後のホストコンピュータ10において実現される機能ブロックのうち、本発明に関するものを主として示す機能ブロック図である。同図に示すように、ホストコンピュータ10は内部印刷データ生成部40と印刷データ出力部42とを含んでいる。
FIG. 10 is a functional block diagram mainly showing those related to the present invention among the functional blocks realized in the
[1.内部印刷データ生成部]
内部印刷データ生成部40は、プリンタAに対応する印刷データを内部印刷データとして生成する。内部印刷データには、プリンタAに記憶されるフォントのうちの少なくとも1つを指定するコマンドデータが含まれる。また、内部印刷データには、プリンタAの機構を制御するためのコマンドデータ(機構制御データ)が含まれる。例えば、プリンタAに画像記録媒体のカットを行わせるためのコマンドデータが含まれる。内部印刷データ生成部40は、プリンタドライバ33又は印刷データ生成プログラム35が制御部11によって実行されることによって実現される。
[1. Internal print data generator]
The internal print
例えば図11に示すようなレシート画像の印刷が行われる場合、プリンタAに印刷開始を指示するためのコマンドデータが内部印刷データ生成部40によって生成され、印刷データ出力部42に供給される。その後、例えば「ESC RS F 0」のような、プリンタAにフォント種類を指示するためのコマンドデータが生成され、印刷データ出力部42に供給される。また、例えば「ESC d 3」のような、画像記録媒体のカット位置及びカット態様をプリンタAに指示するためのコマンドデータが生成され、印刷データ出力部42に供給される。その後、例えば「’a’’b’’c’LF」や「’d’’e’’f’LF」等のような、1ラインごとの印字内容及び印字改行をプリンタAに指示するためのコマンドデータが順次生成され、印刷データ出力部42に供給される。また、以上の他、例えば印字色を指示するためのコマンドデータ等が適宜生成されて、印刷データ出力部42に供給される。そして、最後に、プリンタAに印刷終了を指示するためのコマンドデータが生成され、印刷データ出力部42に供給される。なお、上記において、「ESC RS F 0」はID「0」のフォント種類を指定するコマンドデータを示している。また、「LF」は印字改行を指示するコマンドデータを示している。また、「ESC d 3」はカット位置まで用紙を送ってパーシャルカット(一点残しカット)を行うことを指示するコマンドデータを示している。
For example, when a receipt image is printed as shown in FIG. 11, command data for instructing the printer A to start printing is generated by the internal print
[2.印刷データ出力部]
印刷データ出力部42は、内部印刷データ生成部40によって生成された内部印刷データに基づいて、プリンタBに対応する印刷データを生成し、出力する。印刷データ出力部42は、ランゲージモニタプログラム36及び印刷データ変換プログラム37が実行されることによって実現される。
[2. Print data output section]
The print data output unit 42 generates and outputs print data corresponding to the printer B based on the internal print data generated by the internal print
図10に示すように、印刷データ出力部42は中間データ生成部44と、印刷データ生成部46と、プリンタ保持情報記憶部48と、を含んで構成される。
As shown in FIG. 10, the print data output unit 42 includes an intermediate
[2−1.プリンタ保持情報記憶部]
プリンタ保持情報記憶部48は記憶部12を主として実現される。例えば、プリンタ保持情報記憶部48(フォント画像データ記憶手段)は、プリンタAの記憶部22に記憶されるフォントに応じたフォント画像データを記憶する。例えば、プリンタAが所定の解像度で印刷を行い、該解像度に応じたビットマップフォントのフォント画像データを記憶する場合、プリンタ保持情報記憶部48は、同様のビットマップフォントのフォント画像データを記憶する。
[2-1. Printer holding information storage unit]
The printer holding
また例えば、プリンタ保持情報記憶部48は、プリンタAに保持されていた各種情報であって、フォント画像データ以外の情報に基づくプリンタ保持情報(第2のプリンタ保持情報)も記憶する。例えば、プリンタAにディップスイッチやメモリスイッチが設けられており、ディップスイッチやメモリスイッチの設定内容(印字濃度等)に基づいて印刷が行われるような場合には、プリンタAのディップスイッチやメモリスイッチの設定内容を示すデータがプリンタ保持情報記憶部48に記憶される。また例えば、プリンタAがロゴ画像データの登録指示コマンドデータを受け付けた場合に、該ロゴ画像データを記憶部22に格納し、ロゴ画像データの印字指示コマンドデータを受け付けた場合に、記憶部22に格納されたロゴ画像データを画像記録媒体に形成するようになっている場合には、プリンタAに保持されたロゴ画像データがプリンタ保持情報記憶部48に記憶される。
Further, for example, the printer holding
なお、インストール処理(図5又は図8参照)がプリンタAが接続された状態で実行されるようにし、インストール処理において、プリンタAに保持される各種情報が自動的に取得され、プリンタ保持情報記憶部48に書き込まれるようにしてもよい。
Note that the installation process (see FIG. 5 or FIG. 8) is executed in a state where the printer A is connected, and in the installation process, various information held in the printer A is automatically acquired, and the printer holding information storage is performed. It may be written in the
また、ユーザがロゴ画像データをプリンタAに登録させるのと同様にして、ロゴ画像データをプリンタ保持情報記憶部48に登録できるようにしてもよい。すなわち、内部印刷データ生成部40は、ロゴ画像データの登録指示コマンドデータを生成するようにしてもよい。そして、印刷データ出力部42(中間データ生成部44)は、この登録指示コマンドデータを受け付けた場合、ロゴ画像データをプリンタ保持情報記憶部48に格納させるようにしてもよい。
Further, the logo image data may be registered in the printer holding
また例えば、プリンタ保持情報記憶部48は、プリンタBに保持される各種情報に基づくプリンタ保持情報(第1のプリンタ保持情報)を記憶する。例えば、プリンタBのディップスイッチやメモリスイッチの設定内容を示すデータが記憶される。なお、プリンタ保持情報記憶部48は、プリンタBに保持される各種情報をプリンタBから所定のタイミングで自動的に取得して、プリンタBに関するプリンタ保持情報を記憶するようにしてもよい。
In addition, for example, the printer holding
[2−2.中間データ生成部]
中間データ生成部44は、内部印刷データ生成部40によって生成された内部印刷データに基づいて中間データを生成する。より具体的には、中間データ生成部44は、内部印刷データ生成部40によって生成された内部印刷データと、プリンタ保持情報記憶部48に記憶されるフォント画像データと、プリンタ保持情報記憶部48に記憶されるプリンタAに関するプリンタ保持情報と、に基づいて、印刷対象のレシート画像のラスタ画像データを生成する。また、中間データ生成部44は、内部印刷データ生成部40によって生成された内部印刷データに含まれる少なくとも一部のコマンドデータに関し、該コマンドデータの制御内容を所定の形式で示す中間制御データを生成する。
[2-2. Intermediate data generator]
The intermediate
具体的には、中間データ生成部44は、内部印刷データ生成部40から順次供給されるコマンドデータを解釈し、ラスタ画像データ及び中間制御データを生成する。例えば、中間データ生成部44は、プリンタAにフォント種類を指示するためのコマンドデータを受け付けた場合、例えば「Font=・・・」のような中間制御データを生成する。また例えば、中間データ生成部44は、画像記録媒体のカット命令を示すコマンドデータを受け付けた場合、例えば「Feed to cutter=True;Cut percentage=50%;・・・」のような中間制御データを生成する。また例えば、中間データ生成部44は、1ラインごとの印字内容及び印字改行をプリンタAに指示するためのコマンドデータを受け付けた場合、1ラインごとのラスタ画像データを生成する。このラスタ画像データは、例えばフォント種類に関する中間制御データと、プリンタ保持情報記憶部48に記憶されるフォント画像データ及びプリンタAに関するプリンタ保持情報(例えば印字濃度)と、に基づいて生成される。また例えば、中間データ生成部44は、ロゴ画像データの印字指示コマンドデータを受け付けた場合、ロゴ画像データをプリンタ保持情報記憶部48から読み出し、該ロゴ画像データに基づいてラスタ画像データを生成する。中間データ生成部44によって生成された中間データ(ラスタ画像データ及び中間制御データ)は、印刷データ生成部46に順次供給される。
Specifically, the intermediate
[2−3.印刷データ生成部]
印刷データ生成部46は、中間データ生成部44によって生成された中間データに基づいて、プリンタBに対応する印刷データを生成する。また、印刷データ生成部46は、第1プリンタ保持情報記憶部48に記憶されるプリンタ保持情報にさらに基づいて、印刷データを生成する。より具体的には、印刷データ生成部46は、中間データ生成部44によって生成されたラスタ画像データを、プリンタBにおいて画像記録媒体に形成させるためのコマンドデータを生成する。言い換えれば、画像を構成する各画素ごとの着色情報をプリンタBに対応するデータ形式で示すコマンドデータを生成する。また、印刷制御データ生成部46は、中間データ生成部44によって生成された中間制御データによって示される内容の制御をプリンタBに行わせるためのコマンドデータを生成する。
[2-3. Print data generator]
The print
具体的には、印刷データ生成部46は、例えば「ESC * r A」のような、プリンタBに印刷開始を指示するためのコマンドデータを生成する。また例えば、中間制御データに示されるカット位置及びカット態様でプリンタBに画像記録媒体を切断させるためのコマンドデータを生成する。例えば「¥x1bd3」のような、カット位置まで用紙を送ってパーシャルカットをプリンタBに行わせるためのコマンドデータが生成される。また例えば、印刷データ生成部46は、中間データ生成部44からラスタ画像データを受け付けた場合、該ラスタ画像データに基づき、1ドット列ごとの各画素の着色情報をプリンタBに指示するためのコマンドデータを順次生成する。例えば「b¥x25¥x01・・・」のようなコマンドデータを1ドット列ごとに生成する。最後に、印刷データ生成部46は、例えば「ESC * r B」のような、プリンタBに印刷終了を指示するためのコマンドデータを生成する。印刷データ生成部46によって順次生成されたコマンドデータは、POSアプリケーションに対応づけられたポート(USBポート1)から印刷データとして順次出力され、プリンタ20(プリンタB)に送信される。
Specifically, the print
プリンタ20(プリンタB)では、印刷データ出力部42から順次送信されるコマンドデータが受信及び解釈され、それらのコマンドデータに従って、レシート画像の画像記録媒体への形成や画像記録媒体の切断等が実行される。 In the printer 20 (printer B), command data sequentially transmitted from the print data output unit 42 is received and interpreted, and in accordance with the command data, a receipt image is formed on the image recording medium, and the image recording medium is cut. Is done.
以上説明したように、本実施の形態に係る印刷システム1では、「フォントデータを記憶部22に記憶し、文書等の内容を示すデータや、フォントの種類を指示するデータ等を含んでなるコマンドデータを受け取り、これらのデータに基づいてラスタ画像データを生成し、該ラスタ画像データを画像記録媒体に形成するプリンタA」に対応する印刷データがまず生成されるようになっている。また、印刷システム1では、プリンタAに保持される情報(フォント画像データ、ディップスイッチやメモリスイッチの設定内容等)が記憶されており、かかる情報と、プリンタAに対応する印刷データと、に基づいてラスタ画像データが生成されるようになっている。すなわち、プリンタAが同様の印刷データを受け付けた場合に生成するラスタ画像データと同様のラスタ画像データが、ホストコンピュータ10において生成されるようになっている。そして、そのラスタ画像データをプリンタBにおいて画像記録媒体に形成させるための印刷データが生成され、プリンタBに出力されるようになっている。このため、印刷システム1によれば、プリンタAからの印刷出力と同様の印刷出力をプリンタBからの印刷出力において再現させることが可能になる。例えば、プリンタBがプリンタAに比較して安価なプリンタ(例えばGDIプリンタ等)である場合にも、プリンタBにおいてプリンタAと同等の印刷出力を得ることが可能になる。すなわち、印刷システム1によれば、比較的安価なプリンタにおいて、より高価なプリンタが有する印刷機能(印字機能)と同等の機能を実現できるようになる。
As described above, in the printing system 1 according to the present embodiment, “a command that stores font data in the
また、印刷システム1では、追加インストールされるランゲージモニタプログラム36及び印刷データ変換プログラム37によって、上記再現が実現されるようになっている。このため、印刷システム1によれば、POSアプリケーション30,30a側に変更を加えることなく、上記再現を実現できるようになる。また、上記再現を実現するにあたり、POSアプリケーション30,30aごとに異なるプログラムを用意する必要がないようになっている。
In the printing system 1, the above reproduction is realized by the additionally installed
また、印刷システム1では、一のプリンタ(プリンタA)に対応する印刷データを他のプリンタ(プリンタB)に対応する印刷データに変換する場合に、一のプリンタに対応する印刷データから所定のデータ形式の中間データを一旦生成した後、その中間データから該他のプリンタに対応する印刷データを生成するようになっている。例えば、プリンタの変更(置き換え)が複数のプリンタ間で行われ得る場合において、一のプリンタに対応する印刷データを他のプリンタに対応する印刷データに直接変換する場合、プリンタの組み合わせごとに印刷データの変換モジュールを用意する必要がある。これに対し、本実施の形態では、各プリンタごとに中間データとの間の変換モジュールを用意しておけば足りる。また例えば、新たな仕様のプリンタの提供が開始される場合にも、該新たなプリンタに対応する印刷データと中間データとの間の変換モジュールを用意すれば足りる。すなわち、既存の各プリンタごとに該新たなプリンタとの間の印刷データの変換モジュールを用意する必要がない。 Further, in the printing system 1, when converting print data corresponding to one printer (printer A) into print data corresponding to another printer (printer B), predetermined data is obtained from the print data corresponding to the one printer. After the intermediate data in the format is once generated, print data corresponding to the other printer is generated from the intermediate data. For example, when the change (replacement) of the printer can be performed between a plurality of printers, when the print data corresponding to one printer is directly converted into the print data corresponding to another printer, the print data for each combination of printers It is necessary to prepare a conversion module. On the other hand, in the present embodiment, it is sufficient to prepare a conversion module between intermediate data for each printer. For example, even when provision of a printer with a new specification is started, it is sufficient to prepare a conversion module between print data and intermediate data corresponding to the new printer. That is, it is not necessary to prepare a print data conversion module for each existing printer.
なお、本発明は以上に説明した実施の形態に限定されるものではない。 The present invention is not limited to the embodiment described above.
例えば、ホストコンピュータ10で実行されるオペレーティングシステムはマイクロソフト製のウィンドウズ(登録商標)に限られない。また、ホストコンピュータ10で実行されるアプリケーションはPOSアプリケーション30,30aに限られない。すなわち、プリンタ20における印刷対象はPOSアプリケーション30,30aによって生成されたレシート画像に限られず、他のアプリケーションによって生成された文書や画像等であってもよい。
For example, the operating system executed on the
また例えば、以上では、ホストコンピュータ10とプリンタ20とがシリアルケーブル又はUSBケーブルを介して接続されることとして説明したが、ホストコンピュータ10とプリンタ20とはLAN(Local Area Network)等の通信ネットワークを介して通信接続されるようにしてもよい。この場合、インタフェース15及び24は通信ネットワークに接続するための通信インタフェースとして構成されるようにすればよい。
Further, for example, in the above description, the
また例えば、図5のS102又は図8のS202でインストールされるプリンタドライバには、プリンタAからプリンタBへの印刷データ変換プログラムだけでなく、プリンタAからプリンタB以外のプリンタへの印刷データ変換プログラムが含まれるようにしてもよい。この場合、どの変換プログラムを用いるかを示す情報を記憶部12(ハードディスク装置)に記憶させておき、その情報によって示される変換プログラムによって印刷データの変換が実行されるようにしてもよい。 Further, for example, the printer driver installed in S102 of FIG. 5 or S202 of FIG. 8 includes not only a print data conversion program from printer A to printer B but also a print data conversion program from printer A to a printer other than printer B. May be included. In this case, information indicating which conversion program is used may be stored in the storage unit 12 (hard disk device), and print data conversion may be executed by the conversion program indicated by the information.
また例えば、インストールディスクには複数種類の印刷データ変換プログラムを記憶させておくようにしてもよい。この場合、インストール処理(図5及び図8参照)では、変更前後のプリンタの種類(機種)をユーザに入力させるようにし、或いは自動的に取得するようにし、該変更前後のプリンタに対応する印刷データ変換プログラムをホストコンピュータ10にインストールするようにしてもよい。
For example, a plurality of types of print data conversion programs may be stored in the installation disk. In this case, in the installation process (see FIGS. 5 and 8), the type (model) of the printer before and after the change is input by the user, or is automatically acquired, and printing corresponding to the printer before and after the change is performed. The data conversion program may be installed in the
また例えば、内部印刷データ生成部40及び印刷データ出力部42は、「プリンタドライバ」以外の他の名称で呼ばれるプログラムによって実現されるようにしてもよい。また、印刷データ出力部42は、「ランゲージモニタプログラム」以外の名称で呼ばれるプログラム(例えば、「ポートエミュレータ」等)によって実現されるようにしてもよい。
Further, for example, the internal print
1 印刷システム、10 ホストコンピュータ、11 制御部、12 記憶部、13 入力部、14 表示部、15 インタフェース、16 光ディスク読み取り部、20 プリンタ、21 制御部、22 記憶部、23 画像形成部、24 インタフェース、30,30a POSアプリケーション、31 GDIプログラム、32 スプーラ、33 プリンタドライバ、34 ポートドライバ、35 印刷データ生成プログラム、36 ランゲージモニタプログラム、37 印刷データ変換プログラム、40 内部印刷データ生成部、42 印刷データ出力部、44 中間データ生成部、46 印刷データ生成部、48 プリンタ保持情報記憶部。
DESCRIPTION OF SYMBOLS 1 Printing system, 10 Host computer, 11 Control part, 12 Storage part, 13 Input part, 14 Display part, 15 Interface, 16 Optical disk reading part, 20 Printer, 21 Control part, 22 Storage part, 23 Image formation part, 24
Claims (4)
前記コンピュータは、アプリケーションプログラムを実行する手段と、前記印刷データ出力プログラムに対応づけて、該印刷データ出力プログラムを識別するための識別情報を1又は複数記憶する識別情報記憶手段と、前記アプリケーションプログラムに対応づけて、少なくとも1つの前記識別情報を記憶する手段と、を含み、前記アプリケーションプログラムに対応する印刷データを、該アプリケーションプログラムに対応づけられた前記識別情報によって識別される印刷データ出力プログラムによって出力させ、
該印刷データ出力プログラムインストール方法は、
前記第2の印刷データ出力プログラムを前記プログラム記憶手段に記憶させるためのステップと、
前記第1の印刷データ出力プログラムに対応づけられていた識別情報に、前記第1の印刷データ出力プログラムに代えて前記第2の印刷データ出力プログラムが対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するための更新ステップと、を含む、
ことを特徴とする印刷データ出力プログラムインストール方法。 To install a second print data output program corresponding to the first print data output program in a computer including program storage means for storing one or more print data output programs including the first print data output program Print data output program installation method,
The computer includes: means for executing an application program; identification information storage means for storing one or a plurality of identification information for identifying the print data output program in association with the print data output program; and the application program Means for storing at least one piece of identification information in association with each other, and printing data corresponding to the application program is output by a print data output program identified by the identification information associated with the application program Let
The print data output program installation method includes:
Storing the second print data output program in the program storage means;
The identification information is stored such that the identification information associated with the first print data output program is stored in association with the second print data output program instead of the first print data output program. An update step for updating the storage content of the storage means,
A print data output program installation method.
前記第2の印刷データ出力プログラムを識別するための仮識別情報を生成するとともに、前記第2の印刷データ出力プログラムと、該仮識別情報と、が対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するためのステップを含み、
前記更新ステップは、
前記第1の印刷データ出力プログラムに対応づけて前記識別情報記憶手段に記憶される識別情報を取得するための識別情報取得ステップと、
前記第2の印刷データ出力プログラムに対応づけて前記識別情報記憶手段に記憶される識別情報を、前記仮識別情報から、前記識別情報取得ステップによって取得された識別情報に更新するためのステップと、を含む、
ことを特徴とする印刷データ出力プログラムインストール方法。 A print data output program installation method according to claim 1,
The identification information is generated so that temporary identification information for identifying the second print data output program is generated, and the second print data output program and the temporary identification information are stored in association with each other. Including the step of updating the stored contents of the storage means;
The updating step includes
An identification information acquisition step for acquiring identification information stored in the identification information storage means in association with the first print data output program;
Updating the identification information stored in the identification information storage means in association with the second print data output program from the temporary identification information to the identification information acquired by the identification information acquisition step; including,
A print data output program installation method.
前記コンピュータは、プリンタを通信可能に接続するための1又は複数のインタフェースを含み、
前記識別情報記憶手段には、前記識別情報に対応づけて、前記1又は複数のインタフェースのいずれかを特定する情報が記憶され、
前記更新ステップは、
前記第2の印刷データ出力プログラムに対応するプリンタが接続されるインタフェースを特定する前記インタフェース特定情報を取得するためのインタフェース特定情報取得ステップと、
前記第1の印刷データ出力プログラムに対応づけられていた識別情報に、前記インタフェース特定情報取得ステップによって取得されるインタフェース特定情報が対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するためのステップと、を含む、
ことを特徴とする印刷データ出力プログラムインストール方法。 A print data output program installation method according to claim 1 or 2,
The computer includes one or more interfaces for communicatively connecting a printer;
In the identification information storage means, information specifying either one or the plurality of interfaces is stored in association with the identification information,
The updating step includes
An interface specifying information acquisition step for acquiring the interface specifying information for specifying an interface to which a printer corresponding to the second print data output program is connected;
The storage content of the identification information storage means is stored so that the interface identification information acquired in the interface identification information acquisition step is stored in association with the identification information associated with the first print data output program. Including steps for updating,
A print data output program installation method.
前記コンピュータは、アプリケーションプログラムを実行する手段と、前記印刷データ出力プログラムに対応づけて、該印刷データ出力プログラムを識別するための識別情報を1又は複数記憶する識別情報記憶手段と、前記アプリケーションプログラムに対応づけて、少なくとも1つの前記識別情報を記憶する手段と、を含み、前記アプリケーションプログラムに対応する印刷データを、該アプリケーションプログラムに対応づけられた前記識別情報によって識別される印刷データ出力プログラムによって出力させ、
該プログラムは、
前記第2の印刷データ出力プログラムを前記プログラム記憶手段に記憶させるためのステップと、
前記第1の印刷データ出力プログラムに対応づけられていた識別情報に、前記第1の印刷データ出力プログラムに代えて前記第2の印刷データ出力プログラムが対応づけて記憶されるように、前記識別情報記憶手段の記憶内容を更新するための更新ステップと、を前記コンピュータに実行させる、
ことを特徴とするプログラム。
To install a second print data output program corresponding to the first print data output program in a computer including program storage means for storing one or more print data output programs including the first print data output program The program of
The computer includes: means for executing an application program; identification information storage means for storing one or a plurality of identification information for identifying the print data output program in association with the print data output program; and the application program Means for storing at least one piece of identification information in association with each other, and printing data corresponding to the application program is output by a print data output program identified by the identification information associated with the application program Let
The program
Storing the second print data output program in the program storage means;
The identification information is stored such that the identification information associated with the first print data output program is stored in association with the second print data output program instead of the first print data output program. Updating the storage content of the storage means, and causing the computer to execute the update step.
A program characterized by that.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005163292A JP2006338412A (en) | 2005-06-02 | 2005-06-02 | Method of installing print data output program, and program |
EP06114861.5A EP1736863B1 (en) | 2005-06-02 | 2006-06-01 | Print system |
US11/444,777 US8634088B2 (en) | 2005-06-02 | 2006-06-01 | Print system |
CN2006100833487A CN1873662B (en) | 2005-06-02 | 2006-06-02 | Print system, method for installing print data output program into print system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005163292A JP2006338412A (en) | 2005-06-02 | 2005-06-02 | Method of installing print data output program, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006338412A true JP2006338412A (en) | 2006-12-14 |
Family
ID=37558909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005163292A Pending JP2006338412A (en) | 2005-06-02 | 2005-06-02 | Method of installing print data output program, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006338412A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012173999A (en) * | 2011-02-22 | 2012-09-10 | Seiko Epson Corp | Program for changing printer, method for changing printer, and host device |
JP2015149077A (en) * | 2015-03-05 | 2015-08-20 | セイコーエプソン株式会社 | Program for changing printer, method for changing printer, and host device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10312274A (en) * | 1997-05-14 | 1998-11-24 | Fujitsu Ltd | Method and device for substituting program during operation in software system |
JPH11184656A (en) * | 1997-12-19 | 1999-07-09 | Toshiba Corp | Automatic printer driver recognizing device, and computer readable recording medium recording automatic printer driver recognizing program |
JP2004005533A (en) * | 2002-04-09 | 2004-01-08 | Canon Inc | Print-managing apparatus, device driver registering method, and computer program |
JP2004078406A (en) * | 2002-08-13 | 2004-03-11 | Murata Mach Ltd | Networked print system |
JP2004213264A (en) * | 2002-12-27 | 2004-07-29 | Ricoh Co Ltd | Information processor, image forming apparatus, and method and program for allocating identification information of application |
JP2004252936A (en) * | 2002-12-27 | 2004-09-09 | Canon Sales Co Inc | Information processing device, control method for the same, program, and recording medium |
-
2005
- 2005-06-02 JP JP2005163292A patent/JP2006338412A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10312274A (en) * | 1997-05-14 | 1998-11-24 | Fujitsu Ltd | Method and device for substituting program during operation in software system |
JPH11184656A (en) * | 1997-12-19 | 1999-07-09 | Toshiba Corp | Automatic printer driver recognizing device, and computer readable recording medium recording automatic printer driver recognizing program |
JP2004005533A (en) * | 2002-04-09 | 2004-01-08 | Canon Inc | Print-managing apparatus, device driver registering method, and computer program |
JP2004078406A (en) * | 2002-08-13 | 2004-03-11 | Murata Mach Ltd | Networked print system |
JP2004213264A (en) * | 2002-12-27 | 2004-07-29 | Ricoh Co Ltd | Information processor, image forming apparatus, and method and program for allocating identification information of application |
JP2004252936A (en) * | 2002-12-27 | 2004-09-09 | Canon Sales Co Inc | Information processing device, control method for the same, program, and recording medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012173999A (en) * | 2011-02-22 | 2012-09-10 | Seiko Epson Corp | Program for changing printer, method for changing printer, and host device |
JP2015149077A (en) * | 2015-03-05 | 2015-08-20 | セイコーエプソン株式会社 | Program for changing printer, method for changing printer, and host device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4785577B2 (en) | Information processing apparatus, control method therefor, and program | |
JP4942198B2 (en) | Printing system, client terminal device and printing control method | |
JP4627683B2 (en) | Printing system, printing system control method and program | |
CN111251732B (en) | Control method and storage medium | |
US20090219576A1 (en) | Image forming apparatus, print control method and control program | |
JP4685624B2 (en) | Environment setting data setting method, environment setting data setting program, and print data supply device | |
EP1128256B1 (en) | Printer having function of administrating print job and method for administrating print job | |
US7961341B2 (en) | Print system, print data supplying device, and method for supplying print data to printer | |
US8634088B2 (en) | Print system | |
US20110273740A1 (en) | Preview screen display control apparatus and preview screen display control program | |
JP4761535B2 (en) | Document management apparatus and method, program | |
US20050094163A1 (en) | Printer driver and method of forming user interface | |
JP2006338412A (en) | Method of installing print data output program, and program | |
JP2008226124A (en) | Printing system, control method of printing system, and program | |
JP2016213646A (en) | Print image generating device, color conversion control program and color conversion control method | |
JP2005092744A (en) | Print controller, image forming system, computer program, and storage medium | |
JP2008046821A (en) | Image forming system, information processor, and print control method and program | |
KR100565054B1 (en) | Method and apparatus for print file editing and color image forming system employing the same | |
JP4670627B2 (en) | Printer control apparatus, system, method, program, and recording medium | |
US20030117648A1 (en) | Print data output system, and print data output program | |
EP4311216A1 (en) | Image forming apparatus, control method for controlling image forming apparatus, and storage medium | |
JP3810238B2 (en) | Print job management apparatus, print job management method, and recording medium recording program | |
JP2005222267A (en) | Print controller, print control method, program and recording medium remote management system | |
JP2008137210A (en) | Server device and its control method, program, and printing system | |
JP3919547B2 (en) | Form printing system, terminal device, printing method, computer-readable storage medium, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080513 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100528 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100608 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100806 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20101102 |