JP2006338412A - Method of installing print data output program, and program - Google Patents

Method of installing print data output program, and program Download PDF

Info

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
Application number
JP2005163292A
Other languages
Japanese (ja)
Inventor
Albert Kennis
ケニス アルバート
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.)
Star Micronics Co Ltd
Original Assignee
Star Micronics 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 Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP2005163292A priority Critical patent/JP2006338412A/en
Priority to EP06114861.5A priority patent/EP1736863B1/en
Priority to US11/444,777 priority patent/US8634088B2/en
Priority to CN2006100833487A priority patent/CN1873662B/en
Publication of JP2006338412A publication Critical patent/JP2006338412A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method of installing a print data output program capable of reducing labors and times generated in accompaniment to replacement of a printer. <P>SOLUTION: The present invention relates to an installation method for installing the second print data output program corresponding to the first print data output program, in a computer for storing one or a plurality of the print data output programs including the first print data output program. In the installation method, the print data output programs is installed in the computer, and the print data output programs is stored correlatedly instead of the first print data output program, in identification information correlated with the first print data output program. <P>COPYRIGHT: (C)2007,JPO&INPIT

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 printer 20.

図1に示すように、ホストコンピュータ10は制御部11と、記憶部12と、入力部13と、表示部14と、インタフェース(I/F)15と、光ディスク読み取り部16と、を含んで構成されるコンピュータである。   As shown in FIG. 1, the host computer 10 includes a control unit 11, a storage unit 12, an input unit 13, a display unit 14, an interface (I / F) 15, and an optical disk reading unit 16. Computer.

制御部11は、記憶部12に記憶されるオペレーティングシステム及びその他のプログラムに従って動作し、各種情報処理を実行する。また、記憶部12はコンピュータ読み取り可能な情報記憶媒体で構成される。例えば、記憶部12はROM(Read Only Memory)、RAM(Random Access Memory)やハードディスク装置を含んで構成される。記憶部12には、制御部11によって実行されるプログラムが格納される。また、記憶部12は、制御部11の処理の過程で必要となる種々のデータを記憶するワークメモリとしても動作する。   The control unit 11 operates according to an operating system and other programs stored in the storage unit 12 and executes various types of information processing. The storage unit 12 is composed of a computer-readable information storage medium. For example, the storage unit 12 includes a ROM (Read Only Memory), a RAM (Random Access Memory), and a hard disk device. The storage unit 12 stores a program executed by the control unit 11. The storage unit 12 also operates as a work memory that stores various data required in the process of the control unit 11.

光ディスク読み取り部16は、制御部11からの指示に従って、例えばDVD−ROM等の光ディスク(情報記憶媒体)に記憶されたプログラムやデータを読み取る。   The optical disk reading unit 16 reads a program and data stored on an optical disk (information storage medium) such as a DVD-ROM, for example, according to an instruction from the control unit 11.

入力部13は例えばキーボード又はマウス等であり、ユーザの操作入力に応じたデータを制御部11に入力する。表示部14は例えばディスプレイ等であり、制御部11から入力される指示に従って情報の表示を行う。   The input unit 13 is a keyboard or a mouse, for example, and inputs data corresponding to a user operation input to the control unit 11. The display unit 14 is a display, for example, and displays information in accordance with instructions input from the control unit 11.

インタフェース15は、各種周辺機器や情報記憶媒体(メモリカード等)をホストコンピュータ10に接続するためのインタフェースである。インタフェース15は周辺機器等から入力されるデータを制御部11に出力する。また、インタフェース15は制御部11から入力される指示に従って、種々のデータを周辺機器等に出力する。ホストコンピュータ10には、例えばRS−232Cインタフェース規格に則った1又は複数の接続口(ポート)や、USB(Universal Serial Bus)インタフェース規格に則った1又は複数の接続口が設けられる。なお、以下では、RS−232Cインタフェース規格に則った接続口を「COMポート」と記載し、USBインタフェース規格に則った接続口を「USBポート」と記載する。   The interface 15 is an interface for connecting various peripheral devices and information storage media (such as a memory card) to the host computer 10. The interface 15 outputs data input from a peripheral device or the like to the control unit 11. Further, the interface 15 outputs various data to peripheral devices or the like in accordance with instructions input from the control unit 11. The host computer 10 is provided with, for example, one or a plurality of connection ports (ports) conforming to the RS-232C interface standard and one or a plurality of connection ports conforming to the USB (Universal Serial Bus) interface standard. Hereinafter, a connection port conforming to the RS-232C interface standard is referred to as “COM port”, and a connection port conforming to the USB interface standard is referred to as “USB port”.

ホストコンピュータ10にはインタフェース15を介してプリンタ20が相互にデータ授受可能に接続される。図1に示すように、プリンタ20は制御部21と、記憶部22と、画像形成部23と、インタフェース(I/F)24と、を含んで構成される。   The printer 20 is connected to the host computer 10 via the interface 15 so as to be able to exchange data with each other. As shown in FIG. 1, the printer 20 includes a control unit 21, a storage unit 22, an image forming unit 23, and an interface (I / F) 24.

制御部21はプリンタ20全体の制御を行う。記憶部22はROMやRAMを含んで構成され、印刷実行のために必要な各種プログラムやデータを記憶する。インタフェース24はホストコンピュータ10から送信されるデータを受信し、制御部21に出力する。プリンタ20にはインタフェース24として、例えばCOMポートやUSBポートが設けられる。画像形成部23は制御部21から入力されるデータに基づいて画像データを生成し、その画像データを印刷用紙等の画像記録媒体に印刷出力する。   The control unit 21 controls the entire printer 20. The storage unit 22 includes a ROM and a RAM, and stores various programs and data necessary for printing execution. The interface 24 receives data transmitted from the host computer 10 and outputs it to the control unit 21. The printer 20 is provided with, for example, a COM port or a USB port as the interface 24. The image forming unit 23 generates image data based on data input from the control unit 21, and prints the image data on an image recording medium such as a printing paper.

例えば、プリンタ20はフォント画像データを記憶部22に記憶し、文書等の内容を示すコマンドデータ(文字列を示すコマンドデータ)やフォント種類を示すコマンドデータ等をホストコンピュータ10から受信し、これらのコマンドデータに基づいてラスタ画像データを生成し、該ラスタ画像データを画像記録媒体に形成する。また例えば、プリンタ20は、所定のデータ形式のラスタ画像データ(より正確には、画像を構成する各画素ごとの着色情報を示すコマンドデータ)をホストコンピュータ10から受信し、該ラスタ画像データを画像記録媒体に形成する。   For example, the printer 20 stores font image data in the storage unit 22, receives command data (command data indicating a character string) indicating the contents of a document or the like, command data indicating a font type, and the like from the host computer 10. Raster image data is generated based on the command data, and the raster image data is formed on an image recording medium. Further, for example, the printer 20 receives raster image data in a predetermined data format (more precisely, command data indicating coloring information for each pixel constituting the image) from the host computer 10 and receives the raster image data as an image. It is formed on a recording medium.

また例えば、プリンタ20はオートカッタ機構を備え、画像記録媒体に画像を形成するための上記コマンドデータとともに、画像記録媒体の切断を指示するコマンドデータをホストコンピュータ10から受信し、画像記録媒体を所与の位置において所与の態様で切断する。   Further, for example, the printer 20 is provided with an auto cutter mechanism, receives command data for instructing cutting of the image recording medium from the host computer 10 together with the command data for forming an image on the image recording medium, and stores the image recording medium. Cut in a given manner at a given location.

本実施の形態では、マイクロソフト社製のウィンドウズ(登録商標)がオペレーティングシステムとしてホストコンピュータ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 host computer 10 as an operating system. A POS (Point Of Sales) application program (hereinafter referred to as a POS application) is installed in the host computer 10. This POS application has a receipt creation function. The printer 20 is used to print a receipt image created by this POS application.

ここで、レシート画像の印刷が行われる際のホストコンピュータ10の動作について説明する。図2は、かかる動作を説明するための図である。ここでは、プリンタ20として「フォント画像データを記憶部22に記憶し、文書等の内容を示すコマンドデータやフォント種類を示すコマンドデータ等のコマンドデータをホストコンピュータ10から受信し、これらのコマンドデータに基づいてラスタ画像データを生成し、該ラスタ画像データを画像記録媒体に形成するプリンタA」がホストコンピュータ10の「COMポート1」に接続されていることとする。また、ホストコンピュータ10には、プリンタAに対応するプリンタドライバ(印刷データ出力プログラム)がインストールされている。   Here, the operation of the host computer 10 when a receipt image is printed will be described. FIG. 2 is a diagram for explaining such an operation. Here, as the printer 20, “font image data is stored in the storage unit 22, command data indicating the contents of a document or the like, command data indicating a font type, or the like is received from the host computer 10, and the command data It is assumed that a printer “A” that generates raster image data based on this and forms the raster image data on an image recording medium is connected to “COM port 1” of the host computer 10. In addition, a printer driver (print data output program) corresponding to the printer A is installed in the host computer 10.

図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 POS application 30, metadata representing a receipt image drawing command is generated by a GDI (Graphic Device Interface) program 31. The GDI program 31 is a program provided as a part of the operating system, and the metadata is data independent of the device (printer).

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 GDI program 31 is supplied to the printer driver 33 via the spooler 32. The host computer 10 stores printer information related to the printer 20, for example, as shown in FIG. As shown in the figure, this printer information includes an “identification name” field, a “printer driver” field, and a “port” field. The “identification name” field stores identification information for identifying a combination of a printer driver and a port. For example, a character string based on the model name of the printer 20 is stored. The “printer driver” field stores information for specifying the printer driver. For example, the printer driver name is stored. The “port” field stores information for specifying the port to which the printer 20 is connected. Note that the example in the figure shows a state in which only the printer A is connected to the host computer 10. When a plurality of printers 20 are connected to the host computer 10, printer information of each of the plurality of printers 20 is stored. In the present embodiment, one “identification name” is associated with the POS application 30, and the metadata generated by the GDI program 31 is “identification name” associated with the POS application 30. Is supplied to the printer driver 33 corresponding to the above.

プリンタドライバ33では、メタデータがプリンタAに対応した印刷データ(デバイスに依存したデータ)に変換される。例えば、プリンタAにおいて画像記録媒体にレシート画像を形成させるためのコマンドデータや、プリンタAの機構を制御するためのコマンドデータ(例えば、画像記録媒体のカットを指示するコマンドデータ)等がメタデータに基づいて生成される。   In the printer driver 33, the metadata is converted into print data (device-dependent data) corresponding to the printer A. For example, command data for forming a receipt image on the image recording medium in the printer A, command data for controlling the mechanism of the printer A (for example, command data for instructing cutting of the image recording medium), and the like are included in the metadata. Based on.

プリンタドライバ33によって生成された印刷データは、スプーラ32によって記憶部12に一時的に保持される。スプーラ32はプリンタ20の状態を監視しながら、印刷データをプリンタ20に順次送信する。すなわち、印刷データがポートドライバ34を介して、POSアプリケーション30に対応づけられた「識別名」に対応するポート(図3参照)から出力され、プリンタ20(プリンタA)に供給される。   The print data generated by the printer driver 33 is temporarily held in the storage unit 12 by the spooler 32. The spooler 32 sequentially transmits print data to the printer 20 while monitoring the state of the printer 20. That is, the print data is output from the port (see FIG. 3) corresponding to the “identification name” associated with the POS application 30 via the port driver 34 and supplied to the printer 20 (printer A).

なお、プリンタAに対応した印刷データはプリンタドライバ33以外のプログラムによって生成される場合もある。図4は、その場合におけるホストコンピュータ10の動作を示している。なお、図2と同様の動作を行うものについては同じ符号を付して説明を省略する。   Note that print data corresponding to the printer A may be generated by a program other than the printer driver 33. FIG. 4 shows the operation of the host computer 10 in that case. In addition, the same code | symbol is attached | subjected about what performs the operation | movement similar to FIG. 2, and description is abbreviate | omitted.

図4に示すように、POSアプリケーション30aにおいてレシート画像の印刷指示が行われると、プリンタAに対応した印刷データが印刷データ生成プログラム35によって生成される。印刷データ生成プログラム35は、例えばPOSアプリケーション30aの一部として提供されるプログラムである。   As shown in FIG. 4, when a receipt image print instruction is issued in the POS application 30 a, print data corresponding to the printer A is generated by the print data generation program 35. The print data generation program 35 is a program provided as a part of the POS application 30a, for example.

印刷データ生成プログラム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 data generation program 35 is supplied to the printer 20 (printer A) via the spooler 32 and the port driver 34 without passing through the printer driver 33. One port is associated with the POS application 30a or the print data generation program 35. For example, one “identification name” (see FIG. 3) is associated with the POS application 30a or the print data generation program 35, so that one port is associated with the POS application 30a or the print data generation program 35. ing. The print data generated by the print data generation program 35 is output from a port associated with the POS application 30a or the print data generation program 35 and supplied to the printer 20 (printer A).

以上に説明した印刷システム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 printer 20 receives from the printer A (second printer) “printer B (first data receiving raster image data in a predetermined data format and forming the raster image data on the image recording medium” In order to change the printer to “printer”, a program for causing the printer B to print the receipt image is required. At this time, when the printer B is made to print from the POS application 30, the printer driver 33 corresponding to the printer B is normally required, and when the printer B is made to print from the POS application 30a, the printer B is made to print. A corresponding print data generation program 35 is normally required. Hereinafter, a technique for enabling the use of the printer B without the need to prepare different programs for the POS applications 30 and 30a in the above case will be described.

また、印刷システム1において、プリンタ20をプリンタAからプリンタBに変更する場合、プリンタAの印刷出力とプリンタBの印刷出力との間に差異が生じる場合がある。以下、上記のような場合において、プリンタAと同様の印刷出力をプリンタBにおいて得ることができるようにするとともに、それを、POSアプリケーション側の仕様や設定等に変更を加えることなく実現するための技術についても説明する。   In the printing system 1, when the printer 20 is changed from the printer A to the printer B, there may be a difference between the print output of the printer A and the print output of the printer B. Hereinafter, in the above case, a print output similar to that of the printer A can be obtained in the printer B, and this can be realized without changing the specifications and settings on the POS application side. The technology is also explained.

まず、ホストコンピュータ10に接続されるプリンタ20をプリンタAからプリンタBに変更する場合に実行される手順について説明する。なお、ここでは、プリンタBがホストコンピュータ10の「USBポート1」に接続されることとして説明する。   First, a procedure executed when the printer 20 connected to the host computer 10 is changed from the printer A to the printer B will be described. Here, it is assumed that the printer B is connected to “USB port 1” of the host computer 10.

ホストコンピュータ10に接続されるプリンタ20をプリンタBに変更する場合、ユーザはホストコンピュータ10とプリンタAとの接続を解除し、プリンタBのプリンタドライバが記憶された光ディスク(インストールディスク)を光ディスク読み取り部16に装着させる。その後、ユーザはホストコンピュータ10の「USBポート1」にプリンタBを接続する。   When the printer 20 connected to the host computer 10 is changed to the printer B, the user releases the connection between the host computer 10 and the printer A, and the optical disk (installation disk) storing the printer driver of the printer B is read by the optical disk reading unit. 16 is attached. Thereafter, the user connects the printer B to “USB port 1” of the host computer 10.

ホストコンピュータ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 host computer 10, the host computer 10 executes an installation process as shown in FIG. In the installation process shown in the figure, S101 to S104 are executed by the operating system. S105 to S107 are realized by reading a predetermined program stored in the installation disk and executing it by the control unit 11.

図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 GDI program 31 into print data corresponding to the printer A, a language monitor program, and print data. And a conversion program. The language monitor program and the print data conversion program are for converting print data corresponding to the printer A into print data corresponding to the printer B. Details will be described later (see FIGS. 9 and 10).

次に、仮識別名が生成される(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 host computer 10 and the printer A, and causes the optical disc reading unit 16 to mount an optical disc (install disc) in which the printer driver of the printer B and an installation program for the printer driver are stored. Then, run the installation program. FIG. 8 is a flowchart showing an installation process executed by the installation program.

図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 host computer 10 where only the POS application 30a is executed. At this time, the port associated with the POS application 30a or the print data generation program 35 may be updated to the port specified in S201.

以上に説明したインストール処理(図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 host computer 10 after the installation process (see FIG. 5 or FIG. 8) is executed will be described. FIG. 9 is a diagram for explaining such an operation. 2 and 4 are denoted by the same reference numerals and description thereof is omitted. FIG. 9 shows both the POS application 30 and the POS application 30a. At least one of them is installed in the host computer 10.

図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 POS application 30, metadata representing a receipt image drawing command is generated by the GDI program 31. The metadata generated by the GDI program 31 is supplied to the printer driver 33 via the print spooler 32. Here, the printer driver 33 indicates the “printer driver main body” included in the printer driver installed in S102 of FIG. 5 or S202 of FIG. The printer driver 33 converts the metadata into print data corresponding to the printer A. On the other hand, when a receipt image print instruction is issued in the POS application 30 a, print data corresponding to the printer A is generated by the print data generation program 35.

プリンタドライバ33又は印刷データ生成プログラム35によって生成された印刷データ(内部印刷データ)は、スプーラ32を介してランゲージモニタプログラム36に供給される。なお、印刷データ生成プログラム35によって生成された印刷データについては、印刷データ生成プログラム35からランゲージモニタプログラム36に直接供給されるようにしてもよい。ランゲージモニタプログラム36は、印刷データが供給されたか否かを監視し、印刷データが供給されたことが検知された場合には、その印刷データを印刷データ変換プログラム37に供給する。なお、ランゲージモニタプログラム36は、プリンタ20からポートドライバ34を介して供給されるプリンタ20のステータス情報を受け取り、それを所定のプログラム(例えばプリンタステータス参照プログラム等)に供給するためにも用いられるものである。また、ランゲージモニタプログラム36と印刷データ変換プログラム37とは一体的なものとして設けられるものであってもよいし、別体として設けられるものであってもよい。   Print data (internal print data) generated by the printer driver 33 or the print data generation program 35 is supplied to the language monitor program 36 via the spooler 32. Note that the print data generated by the print data generation program 35 may be directly supplied from the print data generation program 35 to the language monitor program 36. The language monitor program 36 monitors whether or not print data has been supplied. When it is detected that the print data has been supplied, the language monitor program 36 supplies the print data to the print data conversion program 37. The language monitor program 36 is also used for receiving status information of the printer 20 supplied from the printer 20 via the port driver 34 and supplying it to a predetermined program (for example, a printer status reference program). It is. Further, the language monitor program 36 and the print data conversion program 37 may be provided as an integral unit or may be provided separately.

印刷データ変換プログラム37では、プリンタドライバ33又は印刷データ生成プログラム35によって生成された印刷データが、プリンタBに対応した印刷データに変換される。例えば、プリンタドライバ33又は印刷データ生成プログラム35によって生成された印刷データに含まれる「プリンタAにおいて画像記録媒体にレシート画像を形成させるためのコマンドデータ」が「プリンタBにおいて画像記録媒体にレシート画像を形成させるためのコマンドデータ」に変換される。また例えば、「プリンタAの機構を制御するためのコマンドデータ」が「プリンタBの機構を同様に制御するためのコマンドデータ」に変換される。印刷データ変換プログラム37によって生成された印刷データは、ランゲージモニタプログラム36及びポートドライバ34を介して、POSアプリケーション30に対応づけられた「識別名」に対応するポート(図7参照)、又は、POSアプリケーション30a又は印刷データ生成プログラム35に対応づけられたポートから出力され、プリンタ20(プリンタB)に供給される。   In the print data conversion program 37, the print data generated by the printer driver 33 or the print data generation program 35 is converted into print data corresponding to the printer B. For example, “command data for forming a receipt image on the image recording medium in the printer A” included in the print data generated by the printer driver 33 or the print data generation program 35 is “print data on the image recording medium in the printer B”. It is converted into “command data for forming”. Further, for example, “command data for controlling the mechanism of the printer A” is converted into “command data for similarly controlling the mechanism of the printer B”. The print data generated by the print data conversion program 37 is sent via the language monitor program 36 and the port driver 34 to the port corresponding to the “identification name” associated with the POS application 30 (see FIG. 7) or POS. The data is output from a port associated with the application 30a or the print data generation program 35 and supplied to the printer 20 (printer B).

ここで、印刷データ変換プログラム37によって実現される機能について詳しく説明する。   Here, functions realized by the print data conversion program 37 will be described in detail.

図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 host computer 10 after the installation process (see FIG. 5 or FIG. 8) is executed. As shown in the figure, the host computer 10 includes an internal print data generation unit 40 and a print data output unit 42.

[1.内部印刷データ生成部]
内部印刷データ生成部40は、プリンタAに対応する印刷データを内部印刷データとして生成する。内部印刷データには、プリンタAに記憶されるフォントのうちの少なくとも1つを指定するコマンドデータが含まれる。また、内部印刷データには、プリンタAの機構を制御するためのコマンドデータ(機構制御データ)が含まれる。例えば、プリンタAに画像記録媒体のカットを行わせるためのコマンドデータが含まれる。内部印刷データ生成部40は、プリンタドライバ33又は印刷データ生成プログラム35が制御部11によって実行されることによって実現される。
[1. Internal print data generator]
The internal print data generation unit 40 generates print data corresponding to the printer A as internal print data. The internal print data includes command data for designating at least one of fonts stored in the printer A. The internal print data includes command data (mechanism control data) for controlling the mechanism of the printer A. For example, command data for causing the printer A to cut the image recording medium is included. The internal print data generation unit 40 is realized by the printer driver 33 or the print data generation program 35 being executed by the control unit 11.

例えば図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 data generation unit 40 and supplied to the print data output unit 42. Thereafter, command data for instructing the font type to the printer A, such as “ESC RS F 0”, for example, is generated and supplied to the print data output unit 42. Further, command data for instructing the printer A on the cut position and cut mode of the image recording medium, such as “ESC d 3”, for example, is generated and supplied to the print data output unit 42. After that, for example, in order to instruct the printer A to print contents and line feeds for each line, such as “'a ″ b ″ c′LF” and “′ d ″ e ″ f′LF”. Command data is sequentially generated and supplied to the print data output unit 42. In addition to the above, for example, command data for instructing the print color is appropriately generated and supplied to the print data output unit 42. Finally, command data for instructing the printer A to end printing is generated and supplied to the print data output unit 42. In the above, “ESC RS F 0” indicates command data for designating the font type of ID “0”. “LF” indicates command data instructing a print line feed. “ESC d 3” indicates command data for instructing to perform a partial cut (cut by leaving one point) by feeding the sheet to the cut position.

[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 data generation unit 40. The print data output unit 42 is realized by executing the language monitor program 36 and the print data conversion program 37.

図10に示すように、印刷データ出力部42は中間データ生成部44と、印刷データ生成部46と、プリンタ保持情報記憶部48と、を含んで構成される。   As shown in FIG. 10, the print data output unit 42 includes an intermediate data generation unit 44, a print data generation unit 46, and a printer holding information storage unit 48.

[2−1.プリンタ保持情報記憶部]
プリンタ保持情報記憶部48は記憶部12を主として実現される。例えば、プリンタ保持情報記憶部48(フォント画像データ記憶手段)は、プリンタAの記憶部22に記憶されるフォントに応じたフォント画像データを記憶する。例えば、プリンタAが所定の解像度で印刷を行い、該解像度に応じたビットマップフォントのフォント画像データを記憶する場合、プリンタ保持情報記憶部48は、同様のビットマップフォントのフォント画像データを記憶する。
[2-1. Printer holding information storage unit]
The printer holding information storage unit 48 is realized mainly by the storage unit 12. For example, the printer holding information storage unit 48 (font image data storage unit) stores font image data corresponding to the font stored in the storage unit 22 of the printer A. For example, when the printer A performs printing at a predetermined resolution and stores font image data of a bitmap font corresponding to the resolution, the printer holding information storage unit 48 stores font image data of the same bitmap font. .

また例えば、プリンタ保持情報記憶部48は、プリンタAに保持されていた各種情報であって、フォント画像データ以外の情報に基づくプリンタ保持情報(第2のプリンタ保持情報)も記憶する。例えば、プリンタAにディップスイッチやメモリスイッチが設けられており、ディップスイッチやメモリスイッチの設定内容(印字濃度等)に基づいて印刷が行われるような場合には、プリンタAのディップスイッチやメモリスイッチの設定内容を示すデータがプリンタ保持情報記憶部48に記憶される。また例えば、プリンタAがロゴ画像データの登録指示コマンドデータを受け付けた場合に、該ロゴ画像データを記憶部22に格納し、ロゴ画像データの印字指示コマンドデータを受け付けた場合に、記憶部22に格納されたロゴ画像データを画像記録媒体に形成するようになっている場合には、プリンタAに保持されたロゴ画像データがプリンタ保持情報記憶部48に記憶される。   Further, for example, the printer holding information storage unit 48 also stores printer holding information (second printer holding information) based on information other than font image data, which is various information held in the printer A. For example, when the printer A is provided with a dip switch and a memory switch and printing is performed based on the setting contents (print density, etc.) of the dip switch and the memory switch, the dip switch and the memory switch of the printer A Is stored in the printer holding information storage unit 48. Further, for example, when the printer A receives logo image data registration instruction command data, the logo image data is stored in the storage unit 22, and when logo image data print instruction command data is received, the storage unit 22 stores the logo image data. When the stored logo image data is formed on the image recording medium, the logo image data held in the printer A is stored in the printer holding information storage unit 48.

なお、インストール処理(図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 part 48.

また、ユーザがロゴ画像データをプリンタAに登録させるのと同様にして、ロゴ画像データをプリンタ保持情報記憶部48に登録できるようにしてもよい。すなわち、内部印刷データ生成部40は、ロゴ画像データの登録指示コマンドデータを生成するようにしてもよい。そして、印刷データ出力部42(中間データ生成部44)は、この登録指示コマンドデータを受け付けた場合、ロゴ画像データをプリンタ保持情報記憶部48に格納させるようにしてもよい。   Further, the logo image data may be registered in the printer holding information storage unit 48 in the same manner as when the user registers the logo image data in the printer A. That is, the internal print data generation unit 40 may generate registration instruction command data for logo image data. The print data output unit 42 (intermediate data generation unit 44) may store the logo image data in the printer holding information storage unit 48 when the registration instruction command data is received.

また例えば、プリンタ保持情報記憶部48は、プリンタBに保持される各種情報に基づくプリンタ保持情報(第1のプリンタ保持情報)を記憶する。例えば、プリンタBのディップスイッチやメモリスイッチの設定内容を示すデータが記憶される。なお、プリンタ保持情報記憶部48は、プリンタBに保持される各種情報をプリンタBから所定のタイミングで自動的に取得して、プリンタBに関するプリンタ保持情報を記憶するようにしてもよい。   In addition, for example, the printer holding information storage unit 48 stores printer holding information (first printer holding information) based on various information held in the printer B. For example, data indicating the setting contents of the DIP switch and memory switch of the printer B is stored. The printer holding information storage unit 48 may automatically acquire various types of information held in the printer B from the printer B at a predetermined timing and store the printer holding information related to the printer B.

[2−2.中間データ生成部]
中間データ生成部44は、内部印刷データ生成部40によって生成された内部印刷データに基づいて中間データを生成する。より具体的には、中間データ生成部44は、内部印刷データ生成部40によって生成された内部印刷データと、プリンタ保持情報記憶部48に記憶されるフォント画像データと、プリンタ保持情報記憶部48に記憶されるプリンタAに関するプリンタ保持情報と、に基づいて、印刷対象のレシート画像のラスタ画像データを生成する。また、中間データ生成部44は、内部印刷データ生成部40によって生成された内部印刷データに含まれる少なくとも一部のコマンドデータに関し、該コマンドデータの制御内容を所定の形式で示す中間制御データを生成する。
[2-2. Intermediate data generator]
The intermediate data generation unit 44 generates intermediate data based on the internal print data generated by the internal print data generation unit 40. More specifically, the intermediate data generation unit 44 stores the internal print data generated by the internal print data generation unit 40, the font image data stored in the printer holding information storage unit 48, and the printer holding information storage unit 48. Raster image data of a receipt image to be printed is generated based on the stored printer holding information regarding the printer A. The intermediate data generation unit 44 generates intermediate control data indicating the control content of the command data in a predetermined format for at least part of the command data included in the internal print data generated by the internal print data generation unit 40. To do.

具体的には、中間データ生成部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 data generation unit 44 interprets command data sequentially supplied from the internal print data generation unit 40, and generates raster image data and intermediate control data. For example, when the command data for instructing the font type to the printer A is received, the intermediate data generation unit 44 generates intermediate control data such as “Font =. For example, when the intermediate data generation unit 44 receives command data indicating a cut command for the image recording medium, the intermediate data generation unit 44 outputs intermediate control data such as “Feed to cutter = True; Cut percentage = 50%; Generate. Further, for example, when the intermediate data generation unit 44 receives command data for instructing the printer A to print contents and print line breaks for each line, the intermediate data generation unit 44 generates raster image data for each line. The raster image data is generated based on, for example, intermediate control data relating to the font type, font image data stored in the printer holding information storage unit 48, and printer holding information (eg, print density) relating to the printer A. For example, when the intermediate data generation unit 44 receives the print instruction command data for the logo image data, the intermediate data generation unit 44 reads the logo image data from the printer holding information storage unit 48 and generates raster image data based on the logo image data. Intermediate data (raster image data and intermediate control data) generated by the intermediate data generation unit 44 is sequentially supplied to the print data generation unit 46.

[2−3.印刷データ生成部]
印刷データ生成部46は、中間データ生成部44によって生成された中間データに基づいて、プリンタBに対応する印刷データを生成する。また、印刷データ生成部46は、第1プリンタ保持情報記憶部48に記憶されるプリンタ保持情報にさらに基づいて、印刷データを生成する。より具体的には、印刷データ生成部46は、中間データ生成部44によって生成されたラスタ画像データを、プリンタBにおいて画像記録媒体に形成させるためのコマンドデータを生成する。言い換えれば、画像を構成する各画素ごとの着色情報をプリンタBに対応するデータ形式で示すコマンドデータを生成する。また、印刷制御データ生成部46は、中間データ生成部44によって生成された中間制御データによって示される内容の制御をプリンタBに行わせるためのコマンドデータを生成する。
[2-3. Print data generator]
The print data generation unit 46 generates print data corresponding to the printer B based on the intermediate data generated by the intermediate data generation unit 44. In addition, the print data generation unit 46 generates print data based on the printer holding information stored in the first printer holding information storage unit 48. More specifically, the print data generation unit 46 generates command data for causing the printer B to form the raster image data generated by the intermediate data generation unit 44 on the image recording medium. In other words, command data indicating the coloring information for each pixel constituting the image in a data format corresponding to the printer B is generated. The print control data generation unit 46 generates command data for causing the printer B to control the content indicated by the intermediate control data generated by the intermediate data generation unit 44.

具体的には、印刷データ生成部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 data generation unit 46 generates command data for instructing the printer B to start printing, such as “ESC * r A”. Further, for example, command data for causing the printer B to cut the image recording medium at the cutting position and cutting mode indicated in the intermediate control data is generated. For example, command data for sending the paper to the cutting position and causing the printer B to perform partial cutting, such as “¥ x1bd3”, is generated. Further, for example, when the print data generation unit 46 receives raster image data from the intermediate data generation unit 44, a command for instructing the printer B to color information of each pixel for each dot row based on the raster image data Generate data sequentially. For example, command data such as “b ¥ x25 ¥ x01...” Is generated for each dot row. Finally, the print data generation unit 46 generates command data for instructing the printer B to end printing, such as “ESC * r B”. The command data sequentially generated by the print data generation unit 46 is sequentially output as print data from the port (USB port 1) associated with the POS application and transmitted to the printer 20 (printer B).

プリンタ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 storage unit 22 and includes data indicating the content of a document, data indicating a font type, and the like. Data is received, raster image data is generated based on these data, and print data corresponding to the printer “A” that forms the raster image data on an image recording medium is first generated. The printing system 1 stores information (font image data, dip switch and memory switch settings, etc.) held in the printer A, and is based on the information and print data corresponding to the printer A. Thus, raster image data is generated. That is, raster image data similar to the raster image data generated when the printer A receives similar print data is generated in the host computer 10. Then, print data for forming the raster image data on the image recording medium in the printer B is generated and output to the printer B. Therefore, according to the printing system 1, it is possible to reproduce the same print output from the printer A as the print output from the printer B. For example, even when the printer B is a cheaper printer (such as a GDI printer) than the printer A, the printer B can obtain a print output equivalent to the printer A. That is, according to the printing system 1, a relatively inexpensive printer can realize a function equivalent to the printing function (printing function) of a more expensive printer.

また、印刷システム1では、追加インストールされるランゲージモニタプログラム36及び印刷データ変換プログラム37によって、上記再現が実現されるようになっている。このため、印刷システム1によれば、POSアプリケーション30,30a側に変更を加えることなく、上記再現を実現できるようになる。また、上記再現を実現するにあたり、POSアプリケーション30,30aごとに異なるプログラムを用意する必要がないようになっている。   In the printing system 1, the above reproduction is realized by the additionally installed language monitor program 36 and the print data conversion program 37. Therefore, according to the printing system 1, the above reproduction can be realized without changing the POS applications 30 and 30a. In order to realize the above reproduction, it is not necessary to prepare a different program for each POS application 30, 30a.

また、印刷システム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 host computer 10 is not limited to Microsoft Windows (registered trademark). Further, the applications executed on the host computer 10 are not limited to the POS applications 30 and 30a. That is, the print target in the printer 20 is not limited to the receipt image generated by the POS applications 30 and 30a, but may be a document or an image generated by another application.

また例えば、以上では、ホストコンピュータ10とプリンタ20とがシリアルケーブル又はUSBケーブルを介して接続されることとして説明したが、ホストコンピュータ10とプリンタ20とはLAN(Local Area Network)等の通信ネットワークを介して通信接続されるようにしてもよい。この場合、インタフェース15及び24は通信ネットワークに接続するための通信インタフェースとして構成されるようにすればよい。   Further, for example, in the above description, the host computer 10 and the printer 20 are described as being connected via a serial cable or a USB cable. However, the host computer 10 and the printer 20 are connected to a communication network such as a LAN (Local Area Network). It is also possible to establish communication connection via the network. In this case, the interfaces 15 and 24 may be configured as communication interfaces for connecting to a communication network.

また例えば、図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 host computer 10.

また例えば、内部印刷データ生成部40及び印刷データ出力部42は、「プリンタドライバ」以外の他の名称で呼ばれるプログラムによって実現されるようにしてもよい。また、印刷データ出力部42は、「ランゲージモニタプログラム」以外の名称で呼ばれるプログラム(例えば、「ポートエミュレータ」等)によって実現されるようにしてもよい。   Further, for example, the internal print data generation unit 40 and the print data output unit 42 may be realized by a program called by a name other than “printer driver”. The print data output unit 42 may be realized by a program called by a name other than the “language monitor program” (for example, “port emulator”).

本発明の実施形態に係る印刷システムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of a printing system according to an embodiment of the present invention. ホストコンピュータの動作を説明するための図である。It is a figure for demonstrating operation | movement of a host computer. プリンタ情報の一例を示す図である。FIG. 4 is a diagram illustrating an example of printer information. ホストコンピュータの動作を説明するための図である。It is a figure for demonstrating operation | movement of a host computer. インストール処理の一例を示すフロー図である。It is a flowchart which shows an example of an installation process. プリンタ情報の一例を示す図である。FIG. 4 is a diagram illustrating an example of printer information. プリンタ情報の一例を示す図である。FIG. 4 is a diagram illustrating an example of printer information. インストール処理の他の一例を示すフロー図である。It is a flowchart which shows another example of an installation process. ホストコンピュータの動作を説明するための図である。It is a figure for demonstrating operation | movement of a host computer. 本発明の実施形態に係る印刷システムの機能ブロック図である。1 is a functional block diagram of a printing system according to an embodiment of the present invention. レシート画像の一例を示す図である。It is a figure which shows an example of a receipt image.

符号の説明Explanation of symbols

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 interface 30, 30a POS application, 31 GDI program, 32 spooler, 33 printer driver, 34 port driver, 35 print data generation program, 36 language monitor program, 37 print data conversion program, 40 internal print data generation unit, 42 print data output , 44 Intermediate data generation unit, 46 Print data generation unit, 48 Printer holding information storage unit.

Claims (4)

第1の印刷データ出力プログラムを含む1又は複数の印刷データ出力プログラムを記憶するプログラム記憶手段を含むコンピュータに、前記第1の印刷データ出力プログラムに対応する第2の印刷データ出力プログラムをインストールするための印刷データ出力プログラムインストール方法であって、
前記コンピュータは、アプリケーションプログラムを実行する手段と、前記印刷データ出力プログラムに対応づけて、該印刷データ出力プログラムを識別するための識別情報を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.
請求項1に記載の印刷データ出力プログラムインストール方法であって、
前記第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又は2に記載の印刷データ出力プログラムインストール方法であって、
前記コンピュータは、プリンタを通信可能に接続するための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又は複数の印刷データ出力プログラムを記憶するプログラム記憶手段を含むコンピュータに、前記第1の印刷データ出力プログラムに対応する第2の印刷データ出力プログラムをインストールするためのプログラムであって、
前記コンピュータは、アプリケーションプログラムを実行する手段と、前記印刷データ出力プログラムに対応づけて、該印刷データ出力プログラムを識別するための識別情報を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.
JP2005163292A 2005-06-02 2005-06-02 Method of installing print data output program, and program Pending JP2006338412A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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