JP2005301345A - Method for controlling printing device, method for creating data for printing receipt, program, printer driver, printing device, merchandize sales data processing device, and pos system - Google Patents

Method for controlling printing device, method for creating data for printing receipt, program, printer driver, printing device, merchandize sales data processing device, and pos system Download PDF

Info

Publication number
JP2005301345A
JP2005301345A JP2004112089A JP2004112089A JP2005301345A JP 2005301345 A JP2005301345 A JP 2005301345A JP 2004112089 A JP2004112089 A JP 2004112089A JP 2004112089 A JP2004112089 A JP 2004112089A JP 2005301345 A JP2005301345 A JP 2005301345A
Authority
JP
Japan
Prior art keywords
data
image
character string
image data
print data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004112089A
Other languages
Japanese (ja)
Other versions
JP4492188B2 (en
Inventor
Masahiro Minowa
政寛 箕輪
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004112089A priority Critical patent/JP4492188B2/en
Publication of JP2005301345A publication Critical patent/JP2005301345A/en
Application granted granted Critical
Publication of JP4492188B2 publication Critical patent/JP4492188B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for controlling a printing device that can effectively arrange a logo, a decoration, and an image for an advertisement and sales promotion of a store on a receipt, and to provide a method for creating data for printing a receipt, a program, a printer driver, a printing device, a merchandize sales data processing device, and a POS system. <P>SOLUTION: The invention relates to a method for controlling a printing device that adds an image to a receipt in merchandize sales and prints it, by which a predetermined character string showing a printing position of an image data is searched from settlement printing data, and the predetermined character string is extracted. Instruction information is obtained on whether the image should be a background image or an inset image. A line number specified by the predetermined character string extracted is obtained, and an image addition setting command is created based on the line number. The settlement printing data and the image addition setting command are transmitted to the printing device (50). The image data can be printed quickly even when a low speed interface is used for an interface between a PC (40) and the printing device (50). <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、商品販売に関する入力情報に基づいて生成された決済処理印刷データに、既に記憶されている画像データを付加して印刷する印刷装置の制御方法、レシート印刷データ生成方法、プログラム、プリンタドライバ、印刷装置、商品販売データ処理装置およびPOSシステムに関するものである。   The present invention relates to a printing apparatus control method, receipt print data generation method, program, and printer driver for printing image data that has been stored in addition to payment processing print data generated based on input information related to merchandise sales. , A printing apparatus, a merchandise sales data processing apparatus, and a POS system.

従来、スーパーやコンビニエンス・ストア等の小売業において利用されているPOSシステム(販売時点情報管理システム)では、商品販売に関する入力情報を取得するホストコンピュータと、レシートに印刷を行うための印刷装置とによってPOS端末が構成されている。この種のPOS端末としては、ホストコンピュータにより生成された決済処理印刷データを、印刷装置が受信し、当該決済処理印刷データに基づいて、レシート上に印刷を行う形態(例えば、特許文献1参照。)が一般的である(図8参照)が、近年では、この決済処理印刷データの他に、例えば店のロゴなどの画像データを印刷可能なものも知られている。   2. Description of the Related Art Conventionally, in a POS system (sales point information management system) used in a retail business such as a supermarket or a convenience store, a host computer that acquires input information related to product sales and a printing device for printing receipts are used. A POS terminal is configured. As this type of POS terminal, a printing apparatus receives payment processing print data generated by a host computer, and prints on a receipt based on the payment processing print data (see, for example, Patent Document 1). In recent years, in addition to the payment processing print data, there is also known one capable of printing image data such as a store logo, for example.

ところで、このような決済処理印刷データと画像データとを同一のレシート上に印刷するPOS端末においては、ホストコンピュータ内に画像データを格納しておき、この画像データとホストコンピュータ内で生成された決済処理印刷データとをコンバインした後、印刷装置にデータを送信している。しかしながら、ホストコンピュータと印刷装置とが低速インターフェースを用いて接続されている場合、データ伝送に時間がかかり、レシートの発行が遅れてしまうといった問題があった。このため、全体として処理効率が悪化し、顧客を待たせてしまうなど、業務に支障をきたしていた。   By the way, in such a POS terminal that prints payment processing print data and image data on the same receipt, image data is stored in the host computer, and the image data and the payment generated in the host computer are stored. After combining the processed print data, the data is transmitted to the printing apparatus. However, when the host computer and the printing apparatus are connected using a low-speed interface, there is a problem in that data transmission takes time, and receipt issuance is delayed. For this reason, processing efficiency deteriorates as a whole, causing troubles in operations such as waiting for customers.

特開2001−273560号公報(図8等)JP 2001-273560 A (FIG. 8 etc.)

本発明は、上記の問題点に鑑み、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷可能な印刷装置の制御方法、レシート印刷データ生成方法、プログラム、プリンタドライバ、印刷装置、商品販売データ処理装置およびPOSシステムを提供することを目的とする。   In view of the above problems, the present invention provides a printing apparatus control method, a receipt print data generation method, a program, and a printing apparatus capable of printing image data quickly even when a low-speed interface is used as an interface between the host computer and the printing apparatus. It is an object of the present invention to provide a printer driver, a printing apparatus, a merchandise sales data processing apparatus, and a POS system.

本発明の印刷装置の制御方法は、商品販売に関する入力情報に基づいて生成された決済処理印刷データに、所定の画像データを付加して印刷する印刷装置の制御方法であって、決済処理印刷データを取得する決済処理印刷データ取得工程と、決済処理印刷データから、画像データの印刷位置を示す所定文字列を検索し、当該所定文字列を抽出する文字列抽出工程と、抽出した所定文字列によって特定される位置情報を取得する位置情報取得工程と、画像データの印刷形式を挿入形式とするか、背景形式とするかを指定する情報を取得する工程と、取得した位置情報に基づき、画像付加設定コマンドを生成する画像付加設定コマンド生成工程と、決済処理印刷データおよび画像付加設定コマンドを、印刷装置に送信する送信工程と、を備え、印刷装置は、画像付加設定コマンドの解析結果に基づいて、決済処理印刷データに画像データを付加することを特徴とする。   A printing apparatus control method according to the present invention is a printing apparatus control method for printing by adding predetermined image data to payment processing print data generated on the basis of input information relating to merchandise sales. A payment processing print data acquisition step of acquiring a character string, a predetermined character string indicating a print position of image data from the payment processing print data, a character string extraction step of extracting the predetermined character string, and the extracted predetermined character string A location information acquisition step for acquiring specified location information, a step for acquiring information for specifying whether the print format of the image data is an insertion format or a background format, and an image addition based on the acquired location information An image addition setting command generation step for generating a setting command, and a transmission step for transmitting the settlement processing print data and the image addition setting command to the printing apparatus. Apparatus, based on the analysis result of the image addition setting command, characterized by adding the image data to the payment transaction print data.

この印刷装置の制御方法は、生成した決済処理印刷データの中から、画像データの印刷位置を示す所定文字列を抽出し、この所定文字列によって特定される位置情報に基づいて画像付加設定コマンドを生成する。そして、決済処理印刷データと共に、印刷装置に送信する。印刷装置は、決済処理印刷データに、画像付加設定コマンドの解析結果に基づいて画像データを付加し、レシート上に印刷するためのデータを生成する。このため、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷することができる。また、ホストコンピュータ側で画像データを付加するための付加設定コマンドを生成するため、印刷装置を直接操作することなくホストコンピュータにより画像データの付加設定を行うことができる。さらに、画像データの印刷位置が、画像付加設定コマンドに含まれるパラメータの一つである位置情報で特定されるため、印刷装置は、容易に印刷位置を決定し、画像データの付加処理を行うことができる。特に、所定文字列を、レシート上に必ず印刷される文字列(例えば「領収証」、「合計金額」など)とすることで、レシート長に応じて、適切な位置に画像データが印刷されたレシートを発行することができる。   This printing apparatus control method extracts a predetermined character string indicating the print position of image data from the generated settlement processing print data, and issues an image addition setting command based on the position information specified by the predetermined character string. Generate. And it transmits to a printing apparatus with payment processing print data. The printing apparatus adds image data to the settlement processing print data based on the analysis result of the image addition setting command, and generates data for printing on the receipt. Therefore, even when a low-speed interface is used as an interface between the host computer and the printing apparatus, image data can be printed quickly. In addition, since an addition setting command for adding image data is generated on the host computer side, the image data addition setting can be performed by the host computer without directly operating the printing apparatus. Furthermore, since the print position of the image data is specified by the position information that is one of the parameters included in the image addition setting command, the printing apparatus can easily determine the print position and perform image data addition processing. Can do. In particular, a receipt in which image data is printed at an appropriate position according to the receipt length by making the predetermined character string a character string that is always printed on the receipt (for example, “receipt”, “total amount”, etc.) Can be issued.

この場合、所定文字列は、画像の付加を開始する位置を示すスタート文字列であり、位置情報取得工程では、スタート文字列特定される位置情報を取得することが好ましい。この構成によれば、スタート文字列特定される位置から所定の範囲の領域に画像を付加することができる。この場合、画像を付加する終了位置は、決済処理データの終了までとすることができる。このため、レシート長に応じて、適切な領域に画像データが印刷されたレシートを発行することができる。   In this case, the predetermined character string is a start character string indicating a position where image addition is started, and in the position information acquisition step, it is preferable to acquire position information specified by the start character string. According to this configuration, an image can be added to an area within a predetermined range from the position specified by the start character string. In this case, the end position to which the image is added can be until the end of the payment processing data. For this reason, a receipt in which image data is printed in an appropriate area can be issued according to the receipt length.

又、スタート文字列に加えて、画像データの付加を終了する位置を示すエンド文字列を所定文字列として使うことにより、位置情報取得工程で特定されるスタート行からエンド行の間に画像を付加することができる。この場合も上記と同様、レシート長に応じて、適切な領域に画像データが印刷されたレシートを発行することができ、更に詳細にレシートを区分けして、複数の画像を決済処理情報と重ね印刷することができる。   In addition to the start character string, an end character string indicating the position at which image data addition ends is used as a predetermined character string, thereby adding an image between the start line and the end line specified in the position information acquisition process. can do. In this case as well, a receipt in which image data is printed in an appropriate area can be issued according to the receipt length, and a plurality of images are overprinted with payment processing information by further dividing the receipt. can do.

印刷装置には、画像データのファイルである画像データファイルが複数記憶されており、スタート文字列およびエンド文字列と、複数の画像データファイルの中から1の画像データファイルを指定するための画像指定データとを関連づけた定義テーブルを記憶する定義テーブル記憶工程と、定義テーブルから、文字列抽出工程によって抽出されたスタート文字列およびエンド文字列に関連する画像指定データを取得する画像指定データ取得工程と、を更に備え、画像付加設定コマンド生成工程では、取得した位置情報および画像指定データに基づき、画像付加設定コマンドを生成することが好ましい。   The printing apparatus stores a plurality of image data files, which are image data files. An image designation for designating a start character string, an end character string, and one image data file from the plurality of image data files. A definition table storage step for storing a definition table associated with data, and an image designation data acquisition step for obtaining image designation data related to the start character string and the end character string extracted by the character string extraction step from the definition table; In the image addition setting command generation step, it is preferable to generate an image addition setting command based on the acquired position information and image designation data.

この構成によれば、印刷装置には、複数の画像データファイルが記憶されており、画像付加設定コマンドは、複数の画像データファイルの中から1の画像データファイルを指定するための画像指定データに関するパラメータを含むため、当該画像指定データに関するパラメータを変化させることで種々の画像データを付加させることができる。したがって、多様なレシートを作成することができる。   According to this configuration, the printing apparatus stores a plurality of image data files, and the image addition setting command relates to image designation data for designating one image data file from among the plurality of image data files. Since the parameters are included, various image data can be added by changing the parameters relating to the image designation data. Therefore, various receipts can be created.

この場合、スタート文字列および/またはエンド文字列を設定する文字列設定工程を更に備えたことが好ましい。この構成によれば、印刷領域を特定するためのスタート文字列および/またはエンド文字列を設定することができるため、ユーザの好みに応じて印刷領域を任意に設定することができる。この場合、文字列設定工程によって設定されるスタート文字列および/またはエンド文字列と関連づけて、画像指定データを設定する画像指定データ設定工程を更に備えたことが好ましい。   In this case, it is preferable to further include a character string setting step for setting a start character string and / or an end character string. According to this configuration, since the start character string and / or end character string for specifying the print area can be set, the print area can be arbitrarily set according to the user's preference. In this case, it is preferable to further include an image designation data setting step for setting image designation data in association with the start character string and / or the end character string set by the character string setting step.

この構成によれば、スタート文字列および/またはエンド文字列と関連づけて、画像指定データを設定することができるため、ユーザの好みに応じて多様なレシートを作成することができる。この場合、位置情報取得工程において、スタート文字列の位置情報またはスタート文字列より1行下の位置情報のいずれを取得させるか、並びにエンド文字列の位置情報またはエンド文字列より1行上の位置情報のいずれを取得させるかを設定する位置情報設定工程を更に備えたことが好ましい。この構成によれば、印刷領域を特定するための位置情報をどのように取得するか(すなわち、対象文字列を含む位置で特定するか含まない位置で特定するか)を設定することができるため、画像データの付加処理のバリエーションを拡げることができる。   According to this configuration, the image designation data can be set in association with the start character string and / or the end character string, so that various receipts can be created according to the user's preference. In this case, in the position information acquisition step, the position information of the start character string or the position information one line below the start character string is acquired, and the position information of the end character string or the position one line above the end character string It is preferable to further include a position information setting step for setting which information is to be acquired. According to this configuration, it is possible to set how to acquire position information for specifying a print area (that is, whether to specify at a position including the target character string or not). The variation of the image data addition process can be expanded.

上記の印刷装置においてカラー印刷が可能である場合、画像データの印刷色を設定する印刷色設定工程を更に備え、画像付加設定コマンドは、印刷色を示すパラメータを含むことが好ましい。   When color printing is possible in the above-described printing apparatus, it is preferable to further include a print color setting step for setting a print color of image data, and the image addition setting command preferably includes a parameter indicating the print color.

この構成によれば、カラー印刷が可能であるため、レシートの視認性を高めることができる。また、画像付加設定コマンドは、印刷色を示すパラメータを含むため、印刷色を示すパラメータを変化させることで、多様なレシートを作成することができる。   According to this configuration, since color printing is possible, the visibility of the receipt can be improved. Further, since the image addition setting command includes a parameter indicating the print color, various receipts can be created by changing the parameter indicating the print color.

本発明のレシート印刷データ生成方法は、商品販売に関する入力情報に基づいてホストコンピュータにより生成された決済処理印刷データに、既に記憶されている画像データを付加して、レシート印刷データを生成するレシート印刷データ生成方法であって、画像データを記憶する画像データ記憶工程と、ホストコンピュータから、決済処理印刷データを取得する決済処理印刷データ取得工程と、ホストコンピュータから、画像データを付加して印刷するための画像付加設定コマンドを取得する画像付加設定コマンド取得工程と、画像付加設定コマンドを解析し、画像データの印刷位置を示す位置情報を取得するコマンド解析工程と、位置情報に基づき、決済処理印刷データに画像データを付加してレシート印刷データを生成するレシート印刷データ生成工程と、を備えたことを特徴とする。   The receipt print data generation method of the present invention adds receipt image data to the payment processing print data generated by the host computer based on input information related to product sales, and generates receipt print data. A data generation method for image data storage step for storing image data, payment processing print data acquisition step for acquiring payment processing print data from a host computer, and printing by adding image data from a host computer An image addition setting command acquisition step of acquiring the image addition setting command, a command analysis step of analyzing the image addition setting command and acquiring position information indicating the print position of the image data, and payment processing print data based on the position information Receipt stamp that generates receipt print data by adding image data to Characterized by comprising a data generating step.

本発明のプログラムは、上記に記載の印刷装置の制御方法における各工程、若しくは上記のレシート印刷データ生成方法における各工程をコンピュータに実行させることを特徴とする。   The program of the present invention causes a computer to execute each step in the control method of the printing apparatus described above or each step in the receipt print data generation method.

この構成によれば、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷可能なプログラムを提供することができる。   According to this configuration, it is possible to provide a program that can quickly print image data even when a low-speed interface is used as an interface between the host computer and the printing apparatus.

本発明のプリンタドライバは、上記に記載の印刷装置の制御方法における各工程をコンピュータに実行させることを特徴とする。   A printer driver according to the present invention causes a computer to execute each step in the control method for a printing apparatus described above.

この構成によれば、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷可能なプリンタドライバを提供することができる。また、プリンタドライバによって、上記の印刷装置の制御方法を実現することで、ホストコンピュータが例えば単色・テキストベースのアプリケーションであっても、アプリケーションを変更することなく、印刷装置によってカラー・グラフィックベースのレシートを発行することができる。   According to this configuration, it is possible to provide a printer driver capable of printing image data quickly even when a low-speed interface is used as an interface between the host computer and the printing apparatus. In addition, by implementing the above-described printing apparatus control method using a printer driver, even if the host computer is a monochrome / text-based application, for example, a color / graphics-based receipt can be printed by the printing apparatus without changing the application. Can be issued.

また、本発明の印刷装置は、商品販売に関する入力情報に基づいてホストコンピュータにより生成された決済処理印刷データに、既に記憶している画像データを付加して、レシート印刷データを生成する印刷装置において、画像データを記憶する画像データ記憶手段と、ホストコンピュータから、決済処理印刷データを取得する決済処理印刷データ取得手段と、ホストコンピュータから、画像データを付加して印刷するための画像付加設定コマンドを取得する画像付加設定コマンド取得手段と、画像付加設定コマンドを解析し、画像データの印刷位置を示す位置情報を取得するコマンド解析手段と、位置情報に基づき、決済処理印刷データに画像データを付加してレシート印刷データを生成するレシート印刷データ生成手段と、を備えたことを特徴とする。   The printing apparatus of the present invention is a printing apparatus that generates receipt print data by adding already stored image data to payment processing print data generated by a host computer based on input information relating to merchandise sales. Image data storage means for storing image data, payment processing print data acquisition means for acquiring payment processing print data from the host computer, and an image addition setting command for adding image data and printing from the host computer An image addition setting command acquisition unit to acquire, a command analysis unit to analyze the image addition setting command and acquire position information indicating a print position of the image data, and add image data to the settlement processing print data based on the position information Receipt print data generation means for generating receipt print data And it features.

これらのレシート印刷データ生成方法および印刷装置は、印刷装置に画像データを記憶しておき、ホストコンピュータから決済処理印刷データと、画像データを付加するための画像付加設定コマンドを取得する。そして、画像付加設定コマンドを解析することで、印刷位置を示す位置情報を取得し、この位置情報に基づいて、決済処理印刷データに画像データを付加する。このため、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷することができる。また、ホストコンピュータ側で画像データを付加するための付加設定コマンドを生成するため、印刷装置を直接操作することなくホストコンピュータにより画像データの付加設定を行うことができる。さらに、画像データの印刷位置が、画像付加設定コマンドに含まれるパラメータの一つである位置情報で特定されるため、印刷装置は、容易に印刷領域を決定し、画像データの付加処理を行うことができる。   These receipt print data generation method and printing apparatus store image data in the printing apparatus, and acquire settlement processing print data and an image addition setting command for adding the image data from the host computer. Then, by analyzing the image addition setting command, position information indicating the printing position is acquired, and based on this position information, image data is added to the settlement processing print data. Therefore, even when a low-speed interface is used as an interface between the host computer and the printing apparatus, image data can be printed quickly. In addition, since an addition setting command for adding image data is generated on the host computer side, the image data addition setting can be performed by the host computer without directly operating the printing apparatus. Further, since the print position of the image data is specified by the position information which is one of the parameters included in the image addition setting command, the printing apparatus can easily determine the print area and perform the image data addition process. Can do.

また、この場合、主色と、当該主色以外の少なくとも1色の副色とによるカラー印刷を行うカラー印刷手段を更に備え、カラー印刷手段は、決済処理印刷データを主色によって印刷し、画像データを少なくとも1色の副色によって印刷することが好ましい。   In this case, the image processing apparatus further includes color printing means for performing color printing using the primary color and at least one sub color other than the primary color, and the color printing means prints the settlement processing print data in the primary color, The data is preferably printed with at least one sub-color.

これらの構成によれば、決済処理印刷データを主色によって印刷し、画像データを副色によって印刷するため、決済処理印刷データの見やすさを損ねることなく、画像データを付加することができる。また、カラー印刷が可能であるため、レシートの視認性を高めることができる。   According to these configurations, since the settlement process print data is printed in the primary color and the image data is printed in the secondary color, the image data can be added without impairing the visibility of the settlement process print data. Moreover, since color printing is possible, the visibility of a receipt can be improved.

また、本発明の商品販売データ処理装置は、上記に記載の印刷装置と、印刷装置に対し、決済処理印刷データと、画像付加設定コマンドとを送信することにより、印刷装置を制御するホストコンピュータと、を備えた商品販売データ処理装置において、ホストコンピュータは、決済処理印刷データを生成する決済処理印刷データ生成手段と、決済処理印刷データから、画像データの印刷位置を示す所定文字列を検索し、当該所定文字列を抽出する文字列抽出手段と、抽出した所定文字列によって特定される位置情報を取得する位置情報取得手段と、取得した位置情報に基づき、画像付加設定コマンドを生成する画像付加設定コマンド生成手段と、決済処理印刷データおよび画像付加設定コマンドを、印刷装置に送信する送信手段と、を有することを特徴とする。   According to another aspect of the present invention, there is provided a merchandise sales data processing apparatus, a host computer that controls a printing apparatus by transmitting settlement processing print data and an image addition setting command to the printing apparatus described above. In the merchandise sales data processing apparatus, the host computer searches the payment processing print data generation means for generating payment processing print data and a predetermined character string indicating the print position of the image data from the payment processing print data, Character string extraction means for extracting the predetermined character string, position information acquisition means for acquiring position information specified by the extracted predetermined character string, and image addition setting for generating an image addition setting command based on the acquired position information A command generation unit; and a transmission unit that transmits the settlement processing print data and the image addition setting command to the printing apparatus. And wherein the door.

この商品販売データ処理装置は、生成した決済処理印刷データの中から、画像データの印刷位置を示す所定文字列を抽出し、この所定文字列によって特定される位置情報に基づいて画像付加設定コマンドを生成する。そして、決済処理印刷データと共に、印刷装置に送信する。印刷装置は、決済処理印刷データに、画像付加設定コマンドの解析結果に基づいて画像データを付加し、レシート上に印刷するためのデータを生成する。このため、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷することができる。また、ホストコンピュータ側で画像データを付加するための付加設定コマンドを生成するため、印刷装置を直接操作することなくホストコンピュータにより画像データの付加設定を行うことができる。さらに、画像データの印刷位置が、画像付加設定コマンドに含まれるパラメータの一つである位置情報で特定されるため、印刷装置は、容易に印刷位置を決定し、画像データの付加処理を行うことができる。   The merchandise sales data processing apparatus extracts a predetermined character string indicating the print position of the image data from the generated payment processing print data, and issues an image addition setting command based on the position information specified by the predetermined character string. Generate. And it transmits to a printing apparatus with payment processing print data. The printing apparatus adds image data to the settlement processing print data based on the analysis result of the image addition setting command, and generates data for printing on the receipt. Therefore, even when a low-speed interface is used as an interface between the host computer and the printing apparatus, image data can be printed quickly. In addition, since an addition setting command for adding image data is generated on the host computer side, the image data addition setting can be performed by the host computer without directly operating the printing apparatus. Furthermore, since the print position of the image data is specified by the position information that is one of the parameters included in the image addition setting command, the printing apparatus can easily determine the print position and perform image data addition processing. Can do.

この構成によれば、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷可能なPOSシステムを提供することができる。   According to this configuration, it is possible to provide a POS system that can quickly print image data even when a low-speed interface is used as an interface between a host computer and a printing apparatus.

本発明の印刷装置がPOSシステムに用いられる場合、店のロゴ、あるいはデコレーション、更には、宣伝、販売促進など情報を画像データとして記憶させておくことで、所定の領域に店のロゴ、あるいは、が印刷されたレシートを容易に発行することができる。すなわち、レシートプリンタとして用いる印刷装置に、ロゴ等の画像データを格納するメモリを備え、本発明の印刷方法実現するプログラムを付加することにより、視認性の高いレシートを作成することができると共に、顧客に対して店舗のイメージを強く印象づけ、宣伝効果を高めることができる。   When the printing apparatus of the present invention is used in a POS system, store logos or decorations, and further information such as advertisements and sales promotions are stored as image data. Can be issued easily. That is, a printing device used as a receipt printer is provided with a memory for storing image data such as a logo, and a program for realizing the printing method of the present invention can be added to create a highly visible receipt and In contrast, the store image can be strongly impressed and the advertising effect can be enhanced.

以下、本発明の一実施形態に係る印刷装置の制御方法、レシート印刷データ生成方法、プログラム、プリンタドライバ、印刷装置、商品販売データ処理装置およびPOSシステムについて、添付図面を参照しながら詳細に説明する。本発明は、ホストコンピュータにより、決済処理印刷データの中から、画像データの印刷位置を示す所定文字列を抽出し、この所定文字列によって特定される位置情報に基づいて、決済処理印刷データに画像データを付加するための画像付加設定コマンドを生成する。そして、印刷装置では、この画像付加設定コマンドから取得した位置情報に基づいて、画像データを決済処理印刷データに付加し、レシート上に印刷するためのレシート印刷データを生成する。上記位置情報としては、テキストを基本とするレシート印刷の場合、印刷行番号を用いることが最適であり、以下実施例では行番号を用いて説明する。   Hereinafter, a printing apparatus control method, receipt print data generation method, program, printer driver, printing apparatus, merchandise sales data processing apparatus, and POS system according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. . According to the present invention, a host computer extracts a predetermined character string indicating a print position of image data from payment processing print data, and an image is displayed on the payment processing print data based on position information specified by the predetermined character string. An image addition setting command for adding data is generated. Then, the printing apparatus adds image data to the settlement processing print data based on the position information acquired from the image addition setting command, and generates receipt print data for printing on the receipt. As the position information, in the case of receipt printing based on text, it is optimal to use a print line number. In the following embodiment, description will be made using line numbers.

すなわち、この構成により、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、印刷装置により迅速に画像データを印刷可することができる。また、ホストコンピュータに組み込んだプリンタドライバによって画像付加設定コマンドの生成を行うことで、ホストコンピュータが例えば単色・テキストベースのアプリケーションであっても、アプリケーションを変更することなく、印刷装置によってカラー・グラフィックベースのレシートを発行することができる。また、印刷装置では、画像付加設定コマンドから位置情報を取得することによって、容易に印刷位置を特定することができ、ひいては見栄えの良いレシートを作成することができるなどの作用・効果を奏するものである。   That is, with this configuration, even when a low-speed interface is used as an interface between the host computer and the printing apparatus, image data can be printed quickly by the printing apparatus. In addition, by generating an image addition setting command using a printer driver incorporated in the host computer, even if the host computer is a monochrome / text-based application, for example, the color / graphic base can be changed by the printing device without changing the application. A receipt can be issued. In addition, the printing apparatus can obtain the position and information from the image addition setting command, so that the printing position can be easily specified, and thus a good-looking receipt can be created. is there.

そこで、以下、スーパーやコンビニエンス・ストア等の店舗にて利用され、オペレータによって入力された商品販売に関する入力情報に基づいてレシートを発行するPOSシステムを例に挙げて説明する。   In view of this, a POS system that is used in stores such as supermarkets and convenience stores and issues receipts based on input information related to product sales input by an operator will be described as an example.

図1に示すように、本発明のPOSシステム10は、オペレータ(ユーザ)によって、主に商品に付されたバーコードが読み取られることにより入力情報を取得する複数の商品販売データ処理装置であるPOS端末20(1つのみ図示)と、ネットワークを介して当該POS端末20と相互に接続され、POS端末20に入力された入力情報の管理を行うPOSサーバ30とによって構成されている。   As shown in FIG. 1, the POS system 10 of the present invention is a POS system that is a plurality of merchandise sales data processing devices that acquire input information by an operator (user) reading a bar code attached to a merchandise. A terminal 20 (only one is shown) and a POS server 30 that are connected to the POS terminal 20 via a network and manage input information input to the POS terminal 20 are configured.

POSサーバ30は、制御装置(CPU31)の他、ROM32やRAM33等のメモリを有し、ROM32内に記憶された制御プログラムにしたがって、RAM33内のバッファ39等に記憶された情報の処理を行う。特にRAM33内には、商品コードブロック35、商品名ブロック36、金額ブロック37、在庫ブロック38等からなる商品マスタを有しており、CPU31は、POS端末20より送信された入力情報に基づいて、商品マスタから商品コード、商品名、金額に関する情報を抽出し、レシート61への印刷およびPOS端末20のディスプレイ42の表示に用いる商品データを生成する。なお、「商品データ」とは、PC40で生成される決済処理印刷データの元となるデータであり、レシート61上に印刷される商品名やその金額等の商品情報が含まれるものである。   The POS server 30 has a memory such as a ROM 32 and a RAM 33 in addition to a control device (CPU 31), and processes information stored in the buffer 39 and the like in the RAM 33 according to a control program stored in the ROM 32. In particular, the RAM 33 has a product master composed of a product code block 35, a product name block 36, a price block 37, an inventory block 38, etc., and the CPU 31 is based on the input information transmitted from the POS terminal 20. Information on a product code, a product name, and a price is extracted from the product master, and product data used for printing on the receipt 61 and displaying on the display 42 of the POS terminal 20 is generated. The “product data” is data that is the basis of payment processing print data generated by the PC 40, and includes product information such as a product name printed on the receipt 61 and its amount.

POS端末20は、入力情報に基づき、POSサーバ30の商品データを参照して、レシート61上に印刷する決済処理印刷データ(商品情報の他、店舗名や電話番号、日付、顧客に対するメッセージなどを印刷するためのデータおよびコマンドを言う;図18参照)を生成したり、入力データをPOSサーバ30に登録する等の金銭登録処理をするPOSアプリケーション実行部41aを有するパーソナルコンピュータ(PC)40と、印刷データに基づいてレシート61上に印刷を行う印刷装置50(レシートプリンタ)とを備え、互いにコネクタ46,53を介して接続されている。PC40は、キーボード43による入力またはバーコードリーダ44によるバーコードの読み取りによって商品に関する情報(商品情報)や顧客60に関する情報(顧客情報)などの入力情報を取得する。また、カードリーダ45によって顧客60のクレジットカードや会員カードを読み取り、クレジット清算に関する情報や会員番号等の会員に関する情報を取得する。さらに、POSサーバ30から送信された商品データを元に生成した商品情報を表示するディスプレイ42を有し、顧客60に対して購入商品の金額等を提示する。   The POS terminal 20 refers to the product data of the POS server 30 based on the input information, and prints the settlement processing print data to be printed on the receipt 61 (in addition to product information, store name, phone number, date, message to the customer, etc. A personal computer (PC) 40 having a POS application execution unit 41a for generating data and commands for printing; see FIG. 18), or performing a cash registration process such as registering input data in the POS server 30; A printing apparatus 50 (receipt printer) that prints on the receipt 61 based on the print data is provided, and is connected to each other via connectors 46 and 53. The PC 40 acquires input information such as information related to a product (product information) and information related to a customer 60 (customer information) by inputting using the keyboard 43 or reading a barcode using the barcode reader 44. In addition, the credit card or member card of the customer 60 is read by the card reader 45, and information relating to membership such as information relating to credit clearing or a membership number is acquired. Furthermore, it has a display 42 for displaying product information generated based on product data transmitted from the POS server 30, and presents the amount of purchased product to the customer 60.

また、PC40の制御は、ウィンドウズ(登録商標)等のOS上で稼働するプリンタドライバOLE for Retail POS(以下、OPOSという)により行われる。OPOSとは、OS上で稼働するPOSアプリケーション41aに対して、印刷装置50やバーコードリーダ44等の周辺デバイスとの機種依存性のないインターフェースを提供するものであり、デバイスのカテゴリ毎に対応したコントロールオブジェクト(CO)41bと、デバイスの機種毎に対応したサービスオブジェクト(SO)41cとによって構成されている。   The PC 40 is controlled by a printer driver OLE for Retail POS (hereinafter referred to as OPOS) that runs on an OS such as Windows (registered trademark). The OPOS provides a POS application 41a running on the OS with a model-independent interface with peripheral devices such as the printing apparatus 50 and the barcode reader 44, and corresponds to each device category. A control object (CO) 41b and a service object (SO) 41c corresponding to each device model are configured.

POSアプリケーション41aは、POSサーバ30から送信される商品データや入力情報に基づいてレシート61上に印刷するための決済処理印刷データを生成するが、この決済処理印刷データは、OS41dを介して印刷装置用のCO41bに引き渡され、さらにCO41bから印刷装置50の機種に対応したSO41cに引き渡される。SO41cは、この印刷データを加工して、印刷装置50のコマンド仕様に応じた印刷コマンドを生成し、印刷装置50へ送信する。なお、上記したOPOSは、SO41cとCO41bとを結合した形態で、プリンタドライバ109としてユーザに提供される。   The POS application 41a generates payment processing print data for printing on the receipt 61 based on the product data and input information transmitted from the POS server 30, and this payment processing print data is transmitted to the printing device via the OS 41d. Is delivered to the CO 41b for use, and further delivered to the SO 41c corresponding to the model of the printing apparatus 50 from the CO 41b. The SO 41 c processes this print data, generates a print command according to the command specification of the printing apparatus 50, and transmits it to the printing apparatus 50. The OPOS described above is provided to the user as the printer driver 109 in a form in which SO41c and CO41b are combined.

また、SO41cでは、画像データを決済処理印刷データに付加するための画像付加設定コマンドの生成を行うと共に、画像データの各種設定を行う画像データ設定プログラム108が実装されている。具体的な説明は後述するが、画像データ設定プログラム108は、ディスプレイ42上に所定の設定画面300(図6参照)を表示させることにより、画像データ設定のためのインターフェースをユーザに提供するものである。このように、プリンタドライバ109によって画像データ設定プログラム(ユーティリティ実行プログラム)108が提供されるため、PC40のPOSアプリケーション41aを変更することなく、PC40から画像データの設定を行うことができる。   In SO41c, an image data setting program 108 for generating various image data settings as well as generating an image addition setting command for adding image data to payment processing print data is installed. Although specific description will be given later, the image data setting program 108 provides a user with an interface for setting image data by displaying a predetermined setting screen 300 (see FIG. 6) on the display 42. is there. As described above, since the printer driver 109 provides the image data setting program (utility execution program) 108, image data can be set from the PC 40 without changing the POS application 41a of the PC 40.

一方、印刷装置50は、インクジェット方式で印刷が行われるインクジェットプリンタであり、第1印刷ヘッド55aないし第6印刷ヘッド55fの、6つのインクジェットヘッドを有する印刷部120を備えている。これらのインクジェットヘッド55は、それぞれ、M(マゼンタ)、C(シアン)、Y(イエロー)、LM(ライトマゼンタ)、LC(ライトシアン)、K(ブラック)のインクを吐出することで、フルカラーの印刷ができるように構成されている。なお、印刷ヘッド55の構成は、これに限らず、ヘッド数を増やして、さらに多色の印刷を行い得るよう構成しても良いし、ヘッド数を減らして1色若しくは2色のみの印刷を行う構成としても良い。   On the other hand, the printing apparatus 50 is an ink jet printer that performs printing by an ink jet method, and includes a printing unit 120 having six ink jet heads, that is, a first print head 55a to a sixth print head 55f. Each of these inkjet heads 55 ejects ink of M (magenta), C (cyan), Y (yellow), LM (light magenta), LC (light cyan), and K (black), thereby printing in full color. It is configured to be able to. The configuration of the print head 55 is not limited to this, and the print head 55 may be configured to increase the number of heads so that multicolor printing can be performed. Alternatively, the number of heads can be reduced to print only one or two colors. It is good also as a structure to perform.

また、印刷装置50は、第6印刷ヘッド55fのみで印刷を行うモノクロ印刷モードと、全ての印刷ヘッドによって印刷を行うカラー印刷モードとのいずれかを、図示しないディップスイッチあるいは、ソフトディップスイッチによって設定可能となっている。そして、このモード設定に関する情報をPC40が取得し、生成する印刷データにカラー情報を含ませるか否かを判断することができる。したがって、カラー印刷モードに設定されている場合であって、且つ印刷データにカラー情報が含まれる場合、これに基づきレシート61上に2色若しくは多色刷りの印刷を行うことが可能となる。なお、以下の説明では、印刷装置50はカラー印刷モードに設定されており、決済処理印刷データは主色の「K(ブラック)」にて印刷され、画像データは主色(K(ブラック))以外の指定された副色にて印刷されるものとする。   In addition, the printing apparatus 50 sets either a monochrome print mode in which printing is performed only by the sixth print head 55f or a color print mode in which printing is performed by all the print heads by a dip switch or a soft dip switch (not shown) It is possible. Then, the PC 40 can acquire information related to the mode setting and determine whether or not to include color information in the generated print data. Accordingly, when the color print mode is set and color information is included in the print data, it is possible to perform two-color or multicolor printing on the receipt 61 based on this. In the following description, the printing apparatus 50 is set to the color printing mode, the settlement processing print data is printed in the primary color “K (black)”, and the image data is the primary color (K (black)). It shall be printed with the specified sub color other than.

次に、POS端末20の装置構成について、図2を参照して説明する。図2(a)は、POS端末20をオペレータによる操作側から見た正面斜視図であり、図2(b)は、これを顧客側から見た背面斜視図である。両図に示すように、POS端末20は、箱形の本体ケース48によってその主体部を成すPC40と、本体ケース48の後部左側に配置される印刷装置50とによって構成されている。なお、印刷装置50は、本体ケース48とケーブル接続されているため、この配置に限らず、ケーブル長が許す範囲で任意の場所に配置可能となっている。   Next, the device configuration of the POS terminal 20 will be described with reference to FIG. FIG. 2A is a front perspective view of the POS terminal 20 as viewed from the operation side by the operator, and FIG. 2B is a rear perspective view of the POS terminal 20 as viewed from the customer side. As shown in both figures, the POS terminal 20 includes a PC 40 that forms a main part of a box-shaped main body case 48 and a printing device 50 that is arranged on the left side of the rear portion of the main body case 48. Since the printing apparatus 50 is connected to the main body case 48 by a cable, the printing apparatus 50 is not limited to this arrangement, and can be arranged at an arbitrary place as long as the cable length allows.

PC40は、本体ケース48の前部上面にオペレータが商品情報や顧客情報などの情報を入力するキーボード43と、その後部右側にオペレータが入力情報を確認するオペレータ用ディスプレイ42aとを配置し、本体ケース48内にはキャッシュドロア49が収納さている。また、本体ケース48の右側側面には商品に貼付若しくは印刷されたバーコードを読み取るためのバーコードリーダ44、左側側面には印刷装置50と接続するためのインターフェース47を備え、キーボード43の右側には、顧客60から提示されたクレジットカードを読み取るためのカードリーダ用スロット45が形成されている。さらに、本体ケース48の背面側には、顧客60が商品情報等を確認するための顧客用ディスプレイ42bが配置されている。なお、画像データ設定のための設定画面(図6参照)は、上記のオペレータ側ディスプレイ42aに表示され、オペレータはこれを確認しながら、設定操作を行うこととなる。   The PC 40 has a keyboard 43 on which the operator inputs information such as product information and customer information on the upper surface of the front part of the main body case 48, and an operator display 42a on which the operator confirms the input information on the right side of the rear part. A cash drawer 49 is accommodated in 48. Further, a bar code reader 44 for reading a bar code affixed or printed on a product is provided on the right side surface of the main body case 48, and an interface 47 for connecting to the printing device 50 is provided on the left side surface. Are formed with a card reader slot 45 for reading a credit card presented by the customer 60. Further, a customer display 42 b for the customer 60 to confirm product information and the like is disposed on the back side of the main body case 48. Note that a setting screen for setting image data (see FIG. 6) is displayed on the operator-side display 42a, and the operator performs a setting operation while confirming this.

一方、印刷装置50は、その前面側に動作表示ランプ65と、インターフェース51とが配置されており、インターフェース51と、PC40に備えられた印刷装置側インターフェース47とはケーブル63およびコネクタ46,53を介して接続されている。また、印刷装置50の上面には、印刷済みのレシート61が排出されるレシート排出口64が形成されている。   On the other hand, the operation display lamp 65 and the interface 51 are arranged on the front side of the printing apparatus 50. The interface 51 and the printing apparatus side interface 47 provided in the PC 40 include a cable 63 and connectors 46 and 53. Connected through. In addition, a receipt discharge port 64 through which a printed receipt 61 is discharged is formed on the upper surface of the printing apparatus 50.

次に、PC40の制御構成について、図3の機能ブロック図を参照して説明する。PC40は、画像付加設定コマンドを生成するための参照テーブルである定義テーブル(図9等参照)を設定する定義テーブル設定部201と、決済処理印刷データを生成する決済処理印刷データ生成部202と、画像付加設定コマンドを生成する画像付加設定コマンド生成部203と、定義テーブル記憶部221、決済処理印刷データ記憶部222および画像付加設定コマンド記憶部223を有し、各種データを記憶するデータ記憶部204と、決済処理印刷データ送信部225および画像付加設定コマンド送信部226を有し、インターフェース47を介して決済処理印刷データおよび画像付加設定コマンドの送信を行うデータ送信部205とを備えている。また、定義テーブル設定部201、画像付加設定コマンド生成部203は、主にプリンタドライバ109によって実現されるものである。   Next, the control configuration of the PC 40 will be described with reference to the functional block diagram of FIG. The PC 40 includes a definition table setting unit 201 that sets a definition table (see FIG. 9 and the like) that is a reference table for generating an image addition setting command, a payment processing print data generation unit 202 that generates payment processing print data, An image addition setting command generation unit 203 that generates an image addition setting command, a definition table storage unit 221, a settlement processing print data storage unit 222, and an image addition setting command storage unit 223, and a data storage unit 204 that stores various data. A payment processing print data transmission unit 225 and an image addition setting command transmission unit 226, and a data transmission unit 205 that transmits payment processing print data and an image addition setting command via the interface 47. The definition table setting unit 201 and the image addition setting command generation unit 203 are mainly realized by the printer driver 109.

定義テーブル設定部201は、プリンタドライバ109によって提供される画像データ設定プログラム108により実行され、画像データの印刷位置を示す所定文字列(スタート文字列および/又はエンド文字列(図14等参照))を設定する文字列設定部211と、付加対象となる画像データを指定するための画像指定データ(ファイル名など)を設定する画像指定データ設定部212と、画像データの印刷位置を特定する行番号の取得パターンを設定する(詳細については後述する)行番号設定部213と、画像データの印刷色を設定するカラー情報設定部214とを備えている。この定義テーブル設定部201における設定事項は、ユーザが設定画面300(図6参照)、又は400(図17)に必要事項を入力することで設定されるものであり、入力された情報はRAM等のメモリに記憶され、必要に応じて書き換え可能となっている。   The definition table setting unit 201 is executed by the image data setting program 108 provided by the printer driver 109, and is a predetermined character string (start character string and / or end character string (see FIG. 14, etc.)) indicating the print position of the image data. A character string setting unit 211 for setting image data, an image designation data setting unit 212 for setting image designation data (file name, etc.) for designating image data to be added, and a line number for specifying the print position of the image data A line number setting unit 213 (which will be described in detail later) and a color information setting unit 214 for setting the print color of the image data. The setting items in the definition table setting unit 201 are set when the user inputs necessary items on the setting screen 300 (see FIG. 6) or 400 (FIG. 17), and the input information is RAM or the like. Is stored in the memory and can be rewritten as necessary.

画像付加設定コマンド生成部203は、決済処理印刷データを検索して所定文字列を抽出する文字列抽出部216と、所定文字列によって特定される行番号を取得する行番号取得部217と、定義テーブルから所定文字列に関連づけられた画像指定データを取得する画像指定データ取得部218とを備えており、図11および図12に示すような、画像付加設定コマンド「ESC I n1,n2,n3・・・」を生成する。画像付加設定コマンドの構成については、後述する。   The image addition setting command generation unit 203 searches the payment processing print data and extracts a predetermined character string, a line number acquisition unit 217 that acquires a line number specified by the predetermined character string, a definition And an image designation data acquisition unit 218 that acquires image designation data associated with a predetermined character string from the table. As shown in FIGS. 11 and 12, the image addition setting command “ESC I n1, n2, n3.・ ・ 」Is generated. The configuration of the image addition setting command will be described later.

そして、PC40は、上記の構成により、決済処理印刷データ生成部202によって生成された決済処理印刷データの中から、定義テーブル設定部201で設定された定義テーブルにしたがって、所定文字列を抽出し、その所定文字列によって特定される行番号、および所定文字列に関連づけられた画像指定データに基づいて、画像付加設定コマンド生成部203により画像付加設定コマンドを生成する。そして、生成した決済処理印刷データおよび画像付加設定コマンドをデータ送信部205により、印刷装置50へ送信する。   Then, with the above configuration, the PC 40 extracts a predetermined character string from the payment process print data generated by the payment process print data generation unit 202 according to the definition table set by the definition table setting unit 201, The image addition setting command generation unit 203 generates an image addition setting command based on the line number specified by the predetermined character string and the image designation data associated with the predetermined character string. Then, the generated payment processing print data and the image addition setting command are transmitted to the printing apparatus 50 by the data transmission unit 205.

続いて、印刷装置50の制御構成について、図4の機能ブロック図を参照して説明する。印刷装置50は、PC40からインターフェース51を介して決済処理印刷データおよび画像付加設定コマンドを取得するデータ取得部231と、取得したデータおよび複数の画像データファイル(図13参照)を記憶するデータ記憶部232と、PC40から送信された画像付加設定−*するコマンド解析部233と、レシート61に印刷するためのレシート印刷データを生成するレシート印刷データ生成部234と、レシート印刷データに基づいて印刷を行う印刷部235とを備えている。   Next, the control configuration of the printing apparatus 50 will be described with reference to the functional block diagram of FIG. The printing apparatus 50 includes a data acquisition unit 231 that acquires payment processing print data and an image addition setting command from the PC 40 via the interface 51, and a data storage unit that stores the acquired data and a plurality of image data files (see FIG. 13). 232, a command analysis unit 233 for image addition setting- * transmitted from the PC 40, a receipt print data generation unit 234 for generating receipt print data for printing on the receipt 61, and printing based on the receipt print data And a printing unit 235.

データ取得部231は、決済処理印刷データ取得部241と、画像付加設定コマンド取得部242とを有し、それぞれ決済処理印刷データ記憶部245と、画像付加設定コマンド記憶部246とにデータを送るが、実際には、決済処理印刷データと、画像付加設定コマンドが同時に送信され、決済処理印刷データの中から画像付加設定コマンドを抽出して解析処理を行うことになる。ここでは、説明を容易にするため、決済処理印刷データと画像付加設定コマンドとは個別に取得および記憶するものとして図示する。したがって、決済処理印刷データは、画像付加設定コマンドを除いた、商品データを印刷するためのデータ・コマンドによって構成されるものとする。   The data acquisition unit 231 includes a settlement process print data acquisition unit 241 and an image addition setting command acquisition unit 242, and sends data to the settlement process print data storage unit 245 and the image addition setting command storage unit 246, respectively. Actually, the settlement processing print data and the image addition setting command are transmitted simultaneously, and the image addition setting command is extracted from the settlement processing print data and analyzed. Here, for ease of explanation, the payment processing print data and the image addition setting command are illustrated as being acquired and stored separately. Accordingly, it is assumed that the settlement processing print data is constituted by data commands for printing product data excluding the image addition setting command.

データ記憶部232は、画像データ記憶部244と、決済処理印刷データ記憶部245と、画像付加設定コマンド記憶部246とを有し、画像データ記憶部244には、予め複数の画像データファイルが記憶されている。なお、これら複数の画像データファイルは、PC40によりスキャナ等で読み込まれたデータや、描画ソフトによって作成されたデータが、画像データ設定プログラム108により実行される設定画面300、又は設定画面400において登録され(図6「画像データ登録」タブ参照)、これを印刷装置50に送信したものを、画像データ記憶部244内に記憶したものであり、ユーザのニーズに応じて適宜書き換えができるよう構成されている。   The data storage unit 232 includes an image data storage unit 244, a settlement process print data storage unit 245, and an image addition setting command storage unit 246. The image data storage unit 244 stores a plurality of image data files in advance. Has been. The plurality of image data files are registered in the setting screen 300 or the setting screen 400 in which data read by the scanner or the like by the PC 40 or data created by the drawing software is executed by the image data setting program 108. (See FIG. 6 “Image Data Registration” Tab), what is transmitted to the printing apparatus 50 is stored in the image data storage unit 244, and can be appropriately rewritten according to user needs. Yes.

コマンド解析部233は、PC40から送信された画像付加設定コマンドを解析することによって行番号を取得する行番号取得部248と、同じく画像付加設定コマンドから画像指定データ(ファイル名や画像指定No.等)を取得する画像指定データ取得部249と、同じく画像付加設定コマンドから画像データの印刷色を示すカラー情報を取得するカラー情報取得部250とを有し、取得した情報は、後述するRAM144内に格納される。   The command analysis unit 233 analyzes the image addition setting command transmitted from the PC 40 and acquires a line number by analyzing the image addition setting command. Similarly, the command analysis unit 233 receives image designation data (file name, image designation number, etc.) from the image addition setting command. ) And a color information acquisition unit 250 that acquires color information indicating the print color of the image data from the image addition setting command. The acquired information is stored in the RAM 144 described later. Stored.

印刷装置50は、上記の構成により、データ取得部231によって、決済処理印刷データおよび画像付加設定コマンドを取得し、コマンド解析部233によって画像付加設定コマンドを解析することにより、行番号、画像指定データおよびカラー情報を得る。さらに、これらの情報に基づいて、レシート印刷データ生成部234により、決済処理印刷データに画像データを付加し、レシート印刷データを生成する。   With the above configuration, the printing apparatus 50 acquires the payment processing print data and the image addition setting command by the data acquisition unit 231, and analyzes the image addition setting command by the command analysis unit 233, whereby the line number and the image designation data are And get color information. Further, based on these pieces of information, the receipt print data generation unit 234 adds image data to the settlement processing print data to generate receipt print data.

図5は、印刷装置50の制御ブロック図を示したものであるが、同図に示すように、印刷装置50は、インターフェース51を有し、PC40からの画像付加設定コマンドや決済処理印刷データを入力するデータ入力部110と、6つのインクジェットヘッド55を有し、それぞれ異なる色のインクを吐出することによってカラー印刷を行う印刷部120と、ヘッドドライバ131を有し、インクジェットヘッド55を駆動する駆動部130と、印刷装置50全体を制御する制御部140とによって構成されている。   FIG. 5 shows a control block diagram of the printing apparatus 50. As shown in FIG. 5, the printing apparatus 50 has an interface 51, and receives an image addition setting command and payment processing print data from the PC 40. A data input unit 110 for input and six inkjet heads 55, each having a printing unit 120 for performing color printing by ejecting ink of different colors, and a head driver 131, and driving for driving the inkjet head 55 And a control unit 140 that controls the entire printing apparatus 50.

制御部140は、CPU141、ROM142、CG−ROM143およびRAM144を有し、互いに内部バス145により接続されている。ROM142は、CPU141で処理する制御プログラムを記憶する制御プログラムブロック142aの他、各種テーブルを含む制御データを記憶する制御データブロック142bを有している。また、CG−ROM143は、印刷する文字のフォントデータを記憶し、文字を特定するコードが与えられたときに対応するフォントデータを出力する。   The control unit 140 includes a CPU 141, a ROM 142, a CG-ROM 143, and a RAM 144, which are connected to each other via an internal bus 145. The ROM 142 has a control data block 142b for storing control data including various tables in addition to a control program block 142a for storing a control program to be processed by the CPU 141. The CG-ROM 143 stores font data of characters to be printed, and outputs corresponding font data when a code for specifying the characters is given.

RAM144は、フラグ等として使用される各種ワークエリアブロック151の他、画像データファイルを複数記憶する画像データブロック152と、PC40から送信された決済処理印刷データを記憶する決済処理印刷データブロック153と、画像付加設定コマンドの解析結果に関する情報を記憶する画像付加設定コマンドブロック154と、決済処理印刷データに画像データを付加することによって生成したレシート印刷データを記憶するレシート印刷データブロック155とを有し、制御処理のための作業領域として使用される。また、RAM144は電源が切断されても記憶したデータを保持しておくように常にバックアップされている。   The RAM 144 includes various work area blocks 151 used as flags and the like, an image data block 152 that stores a plurality of image data files, a settlement processing print data block 153 that stores settlement processing print data transmitted from the PC 40, An image addition setting command block 154 that stores information relating to the analysis result of the image addition setting command, and a receipt print data block 155 that stores receipt print data generated by adding image data to the settlement processing print data. Used as a work area for control processing. The RAM 144 is always backed up so as to retain the stored data even when the power is turned off.

画像付加設定コマンドブロック154は、画像付加設定コマンドの解析の結果得られた行番号、画像指定データおよびカラー情報をそれぞれ記憶する行番号ブロック157、画像指定データブロック158およびカラー情報ブロック159を備え、前記コマンド解析部233(図4参照)の各部によって取得された情報を記憶している。   The image addition setting command block 154 includes a line number block 157, an image designation data block 158, and a color information block 159 for storing a line number, image designation data, and color information obtained as a result of the analysis of the image addition setting command, respectively. Information acquired by each unit of the command analysis unit 233 (see FIG. 4) is stored.

また、内部バス145は、データ入力部110および駆動部130とも接続され、インターフェース51から入力データ(画像付加設定コマンド、決済処理印刷データ等)を取り込む(図4参照)と共に、CPU151等から出力された出力データ(レシート印刷データ等)や制御信号を、駆動部130(ヘッドドライバ131)に出力する。   The internal bus 145 is also connected to the data input unit 110 and the drive unit 130, and takes in input data (image addition setting command, payment processing print data, etc.) from the interface 51 (see FIG. 4) and is output from the CPU 151 or the like. The output data (receipt print data and the like) and control signals are output to the drive unit 130 (head driver 131).

そして、CPU141は、上記の構成により、ROM142内の制御プログラムに基づいて、印刷装置50内の各部から各種信号・データ等を入力し、RAM144内の各種データ等を処理すると共に、各部に各種信号・データ等を出力することにより、画像付加設定コマンドの解析を行い、その解析結果にしたがって画像データを決済処理印刷データに付加することでレシート印刷データを生成し、これに基づいて印刷を行うなど、印刷装置50全体を制御している。   The CPU 141 receives various signals and data from each unit in the printing apparatus 50 based on the control program in the ROM 142 and processes various data in the RAM 144 and various signals in each unit.・ Analyze image addition setting command by outputting data, etc., generate receipt print data by adding image data to payment processing print data according to the analysis result, and print based on this The entire printing apparatus 50 is controlled.

なお、インターフェース51およびPC40に備えられたインターフェース47は、RS−232規格などのシリアルデータ転送、セントロニクス規格などのパラレルデータ転送、イーサネット(登録商標)の10Base−Tなどのネットワーク接続、若しくはUSBなどのデータ転送規格に対応したものを採用することができる。   The interface 47 and the interface 47 provided in the PC 40 are serial data transfer such as RS-232 standard, parallel data transfer such as Centronics standard, network connection such as 10Base-T of Ethernet (registered trademark), or USB. The one corresponding to the data transfer standard can be adopted.

次に、画像データの設定処理について、図6を参照して説明する。画像データの設定は、PC40において、画像データ設定プログラム108(図1参照)が実行されることにより行われる。具体的には、画像データ設定プログラム108が起動されると、図6に示すような設定画面が、オペレータ側ディスプレイ42aに表示され、オペレータが各種情報を入力することにより設定が行われる。   Next, image data setting processing will be described with reference to FIG. The image data is set by executing the image data setting program 108 (see FIG. 1) in the PC 40. Specifically, when the image data setting program 108 is activated, a setting screen as shown in FIG. 6 is displayed on the operator-side display 42a, and setting is performed by the operator inputting various information.

同図に示すように、設定画面300では、画像データを設定するための各種情報が複数の画面に分かれて設定可能となっており、オペレータ(ユーザ)は、所望の設定画面を開いて設定を行っていく。なお、最初のタブ「基本」の設定画面を開くと、レシート61の幅サイズ、画像データの印刷濃度および印刷品質等を設定可能となっており、通常の印刷設定ユーティリティとほぼ同内容であるため、ここでは説明を省略する。また、3つ目のタブ「画像データ登録」の設定画面を開くと、図13に示すような画像データを登録可能となっており、これについても通常の登録方法を用いることができるため、説明を省略する。したがって、ここではタブ「定義テーブル」の設定画面についてのみ説明する。   As shown in the figure, on the setting screen 300, various information for setting image data can be divided into a plurality of screens, and an operator (user) opens a desired setting screen to make settings. Go. When the setting screen of the first tab “Basic” is opened, the width size of the receipt 61, the print density of the image data, the print quality, and the like can be set, and the contents are almost the same as the normal print setting utility. The description is omitted here. Further, when the setting screen of the third tab “image data registration” is opened, image data as shown in FIG. 13 can be registered, and a normal registration method can be used for this as well. Is omitted. Therefore, only the setting screen of the tab “definition table” will be described here.

図6に示すように、「定義テーブル」の設定画面300では、まず、所定文字列の設定を行う。所定文字列は、一例としてスタート文字列とエンド文字列とからなり、前者は、画像データの付加を開始する位置を示し、後者は、画像データの付加を終了する位置を示すものである。オペレータは、これらスタート文字列およびエンド文字列を、スタート文字列設定欄301およびエンド文字列設定欄302の上下アイコンにより既に登録されている文字列の中から選択しても良いし、各設定欄301、302に直接文字列を入力しても良い。ここでは、スタート文字列として「領収証」が、また、エンド文字列として「お買いあげ」が設定されたものとする。   As shown in FIG. 6, on the “definition table” setting screen 300, first, a predetermined character string is set. The predetermined character string includes, for example, a start character string and an end character string. The former indicates a position where image data addition is started, and the latter indicates a position where image data addition ends. The operator may select the start character string and the end character string from among the character strings already registered by the upper and lower icons of the start character string setting field 301 and the end character string setting field 302. A character string may be directly input in 301 and 302. Here, it is assumed that “receipt” is set as the start character string and “purchase” is set as the end character string.

上記実施例では、スタート文字列とエンド文字列で指定された領域に画像を重ねる例を示しているが、スタート文字列のみ指定して、画像の終了は会計情報の印刷の終了位置と一致させることも可能である。   In the above embodiment, an example is shown in which an image is overlaid on an area designated by a start character string and an end character string. However, only the start character string is designated, and the end of the image is made to coincide with the print information end position. It is also possible.

続いて、画像指定データの設定を行う。画像指定データの設定は、オペレータにより既登録ファイル一覧303の中から1のファイルが選択されることによって画像データとなるファイルが指定され、ファイル設定欄304に入力される。また、オペレータは、登録済みのIDをID欄305で選択することにより、ファイルを指定することも可能である。ここでは、「画像データ」として、図13に示すように、3つの画像ファイルが登録されており、これらの中から1の画像データを選択することができるものとし、本設定操作では、「炎柄(ID:U2)」が選択されたものとする。   Subsequently, the image designation data is set. The setting of the image designation data is designated by the operator by selecting one file from the registered file list 303 and is input to the file setting column 304. The operator can also specify a file by selecting a registered ID in the ID column 305. Here, as “image data”, as shown in FIG. 13, three image files are registered, and one of these image data can be selected. It is assumed that “pattern (ID: U2)” is selected.

続いて、行番号の設定を行う。ここでは、印刷領域を特定するための行番号として、スタート文字列の行番号またはスタート文字列より1行下の行番号のいずれを取得させるか、並びにエンド文字列の行番号またはエンド文字列より1行上の行番号のいずれを取得させるかを設定することができる。つまり、印刷領域を、対象文字列を含む位置で特定するか、含まない位置で特定するかを設定することができる。ここでは、スタート文字列を「含む」位置(行)からエンド文字列を「含む」位置(行)までを印刷領域として特定するものとする。   Subsequently, the line number is set. Here, as the line number for specifying the print area, either the line number of the start character string or the line number one line lower than the start character string is obtained, and the line number of the end character string or the end character string It is possible to set which line number on one line is to be acquired. That is, it is possible to set whether the print area is specified at a position including the target character string or at a position not including the target character string. Here, it is assumed that the print area is specified from the position (line) including the start character string to the position (line) including the end character string.

続いて、カラー設定を行う。ここでは、まず、カラー指定を行うか否かが設定される。そして、オペレータによりカラー設定を「指定する」にチェックされた場合は、カラー設定欄306において、画像データを印刷する印刷色が設定される。   Subsequently, color setting is performed. Here, first, whether or not to specify color is set. If the color setting is checked by the operator, the color setting field 306 sets a print color for printing the image data.

なお、ここでは、決済処理印刷データの印刷が主色「K(ブラック)」にて行われるように予め設定されているため、画像データは、「K(ブラック)」以外の印刷色(副色)が設定可能となっている。したがって、例えば、「K(ブラック」と「R(レッド)」のみの2色印刷を行う印刷装置では、印刷データが主色「K(ブラック」にて印刷される場合は、画像データは必然的に副色「R(レッド)」にて印刷されることになる。このように、印刷データが主色にて印刷され、画像データが副色にて印刷されることで、印刷データによって印刷される文字等の見やすさを損ねることなく、画像データを付加することができる。なお、本設定操作では、印刷色「Red(赤色)」が選択されたものとする。   Here, since the payment processing print data is set in advance to be printed in the primary color “K (black)”, the image data has a print color (sub color) other than “K (black)”. ) Can be set. Therefore, for example, in a printing apparatus that performs two-color printing of only “K (black) and“ R (red) ”, image data is inevitable when the print data is printed in the primary color“ K (black) ”. In this way, the print data is printed in the primary color, and the image data is printed in the secondary color, so that the print data is printed in the secondary color “R (red)”. It is possible to add image data without impairing the visibility of the characters to be displayed, etc. In this setting operation, it is assumed that the print color “Red (red)” is selected.

なお、カラー設定を「指定しない」にチェックされた場合、画像データは予め設定された印刷色(例えば、店舗のテーマカラーなど)で印刷されることになる。但し、画像データがカラーで登録されている場合などは、その登録されたカラーで印刷されるように構成しても良い。以上の内容の設定が完了すると、オペレータにより「OK」ボタン307がクリックされ、「定義テーブル」について設定された情報が、PC40内のRAM等のメモリに格納される。   When the color setting is not checked, the image data is printed with a preset print color (for example, a store theme color). However, when the image data is registered in color, the image data may be printed in the registered color. When the setting of the above contents is completed, an “OK” button 307 is clicked by the operator, and information set for the “definition table” is stored in a memory such as a RAM in the PC 40.

図17は、設定画面の他の実施例を示す。画像配置形式設定欄401では、画像の印刷形式が設定可能で、挿入を選択すると、指定文字列の直後に、指定された画像が挿入されて印刷される。文字列設定欄40で、例えば商品名の一部、または全ての文字列を入力しておくことにより、この文字列が商品名の部分に印刷される場合、その行の直後、あるいは所定の領域に入力欄404で指定された画像が、挿入される。例えば、図に示すようにコーラという文字列が検出された場合、クーポン券の画像ファイルであるQpon.jpgというファイルが選択され、文字列「コーラ」の直後に挿入され、以降の決済情報が、この画像の後に印刷されるように印刷データが形成される。尚、ここではクーポンの画像ファイルの挿入位置を文字列「コーラ」としているが、挿入位置は、例えば「お買い上げありがとうございます」などのレシートの最終行近傍に挿入してもよい。   FIG. 17 shows another embodiment of the setting screen. In the image arrangement format setting field 401, the print format of the image can be set. When the insertion is selected, the designated image is inserted and printed immediately after the designated character string. In the character string setting column 40, for example, by inputting a part or all of the character string of the product name, when this character string is printed on the product name part, immediately after that line or in a predetermined area The image designated in the input field 404 is inserted into the field. For example, when a character string “cola” is detected as shown in the figure, Qpon. A file named jpg is selected and inserted immediately after the character string “cola”, and print data is formed so that the subsequent settlement information is printed after this image. Here, the insertion position of the coupon image file is the character string “cola”, but the insertion position may be inserted in the vicinity of the last line of the receipt such as “Thank you for your purchase”.

また、背景画像が選択された場合、指定文字列は、スタート文字列として用いられ、エンド文字列の指定がない場合、レシートの最終行、あるいは画像データの大きさで決まる位置まで、画像が背景画像として決済情報の印刷データに重ねて印刷される。   When a background image is selected, the specified character string is used as a start character string.When the end character string is not specified, the image is moved to the final line of the receipt or the position determined by the size of the image data. It is printed as an image on the print data of payment information.

ここで、図9および図14を参照し、上記の設定による定義テーブル、および印刷結果について説明する。図9に示すように、定義テーブルには、上記の一連の操作により設定された情報にアイテムNo.が付され、ここでは、1のアイテム(アイテムNo.1)のみが設定されていることを示している。また、スタート文字列として「領収証」が設定され、且つ、エンド文字列として「お買いあげ」が設定されており、それぞれの行番号設定は「1」となっている。これは、その対象文字列を「含む」位置(行)で印刷領域を特定していることを示したものであり、その対象文字列を「含まない」位置(対象文字列が「スタート文字列」の場合はその1行下の行、また、対象文字列が「エンド文字列」の場合はその1行上の行が取得する行番号となる)で印刷領域を特定する場合は、「0」となる。   Here, with reference to FIG. 9 and FIG. 14, the definition table by the above setting and the print result will be described. As shown in FIG. 9, in the definition table, item No. is added to the information set by the above series of operations. Here, only one item (item No. 1) is set. Further, “receipt” is set as the start character string, “purchase” is set as the end character string, and each line number setting is “1”. This indicates that the print area is specified by the position (line) that includes the target character string, and the position that does not include the target character string (the target character string is “start character string”). ”Is the line one line below, and when the target character string is“ end character string ”, the line above that line is the line number to be acquired)) "

また、画像指定データとして、「U2/C:fire.jpg」が設定されているが、テーブル上には、ファイル名「fire」で記憶されるようにしても良い。また、ファイル名に代えて、画像データファイル毎に付された連番、若しくは所定の法則に基づいて付された数値で記憶されるようにしても良い。ここでは、IDである「U2」に基づいて、画像指定No.「02」が記憶されるものとする。   Further, “U2 / C: fire.jpg” is set as the image designation data, but it may be stored with the file name “fire” on the table. Further, instead of the file name, a serial number assigned to each image data file or a numerical value assigned based on a predetermined rule may be stored. Here, based on the ID “U2”, the image designation No. It is assumed that “02” is stored.

また、カラー指定として、「Red」が設定されているが、テーブル上には、カラー名に代えて、カラー毎に付されたカラー指定No.、若しくは所定の法則に基づいて付された数値で記憶されるようにしても良い。ここでは、カラー毎に付されたカラー指定No.(Redは「2」とする)が記憶されるものとする。   In addition, “Red” is set as the color designation, but the color designation No. assigned to each color is displayed on the table instead of the color name. Alternatively, it may be stored as a numerical value attached based on a predetermined law. Here, the color designation No. assigned to each color is shown. (Red is “2”).

続いて、定義テーブルに上記の情報が記憶されている場合であって、且つ決済処理印刷データにスタート文字列「領収証」およびエンド文字列「お買いあげ」が含まれている場合のデータ取得結果を同図に示す。すなわち、この場合は、”画像指定No.02の画像データを、行番号「x1」から「x2」の印刷領域にカラー指定No.2で印刷する”ことを示すデータを取得する。行番号「x1」および「x2」とは、それぞれスタート文字列「領収証」およびエンド文字列「お買いあげ」が含まれる行を示す行番号である。   Subsequently, the data acquisition result in the case where the above information is stored in the definition table, and the payment processing print data includes the start character string “receipt” and the end character string “purchase” Is shown in FIG. That is, in this case, the image data of “Image designation No. 02 is transferred to the print area of line numbers“ x1 ”to“ x2 ”. The data indicating “print with 2” is acquired. The line numbers “x1” and “x2” are line numbers indicating lines including the start character string “receipt” and the end character string “purchase”, respectively. is there.

そして、上記のようなデータを取得した結果、得られる印刷結果が、図14に示す<印刷例1>である。ここに示すように、レシート61上には、決済処理印刷データ(図17参照)に画像データ「U2/C:fire.jpg」(炎柄;図13参照)が付加されており、その印刷色は「Red」となる。また、印刷領域は、スタート文字列「領収証」が含まれる行番号「x1」からエンド文字列「お買いあげ」が含まれる行番号「x2」までとなっている。さらに、ここに示すように、画像データは、スタート文字列が含まれる行からエンド文字列が含まれる行までの長さに応じて、繰り返し印刷される。   And as a result of acquiring the above data, the printing result obtained is <printing example 1> shown in FIG. As shown here, image data “U2 / C: fire.jpg” (flame pattern; see FIG. 13) is added to the payment processing print data (see FIG. 17) on the receipt 61, and the print color Becomes “Red”. The print area is from the line number “x1” including the start character string “receipt” to the line number “x2” including the end character string “purchase”. Further, as shown here, the image data is repeatedly printed according to the length from the line including the start character string to the line including the end character string.

なお、決済処理印刷データの中に、スタート文字列またはエンド文字列のいずれかのみが含まれる場合、すなわちスタート文字列およびエンド文字列の両方が含まれない場合は、印刷領域が特定できないため画像データの付加は行われない。但し、設計変更により、スタート文字列またはエンド文字列のいずれかを抽出した場合、スタート文字列から下方にx行分、またはスタート文字列からレシート終了行まで画像データを付加したり、エンド文字列から上方にy行分、またはエンド文字列からレシート開始行まで画像データを付加したりなどとすることも可能である。   Note that if the payment processing print data contains only either the start character string or the end character string, that is, if both the start character string and the end character string are not included, the print area cannot be specified and the image No data is added. However, if either the start character string or the end character string is extracted due to a design change, image data is added from the start character string to x lines downward, or from the start character string to the receipt end line, or the end character string It is also possible to add image data from the end character string to the receipt start line from the end character string up to y lines upward.

このように、本発明では、画像データの印刷領域が、画像付加設定コマンドに含まれるパラメータの一つである行番号で特定されるため、印刷装置50は、容易に印刷領域を決定し、画像データの付加処理を行うことができる。特に、所定文字列を、レシート上に必ず印刷される文字列(例えば「領収証」、「合計金額」など)とすることで、レシート長に応じて、適切な位置に画像データが印刷されたレシート61を発行することができる。   As described above, in the present invention, the print area of the image data is specified by the line number that is one of the parameters included in the image addition setting command. Therefore, the printing apparatus 50 can easily determine the print area and Data addition processing can be performed. In particular, a receipt in which image data is printed at an appropriate position according to the receipt length by making the predetermined character string a character string that is always printed on the receipt (for example, “receipt”, “total amount”, etc.) 61 can be issued.

続いて、図9に示すデータ取得結果に基づいて生成される画像付加設定コマンドについて、図11を参照して説明する。図11(a)は、画像付加設定コマンドの構成を示したものであるが、このうち「ESC I」が画像付加設定コマンドコードを示し、これに続く「n1,n2,n3,n4」がパラメータを示す(一般的にESCシーケンスと呼ばれるコマンドを利用している)。各パラメータは1byte(8bit)で構成されており、n1は、画像指定No.を示し、<印刷例1>の場合は「02」を表す。また、n2およびn3は、スタート行番号およびエンド行番号を示し、<印刷例1>の場合は「x1」および「x2」を表す。また、n4は、カラー情報(カラー指定No.)を示し、<印刷例1>の場合は「2」を表す(図9参照)。   Next, an image addition setting command generated based on the data acquisition result shown in FIG. 9 will be described with reference to FIG. FIG. 11A shows the configuration of an image addition setting command. Among these, “ESC I” indicates an image addition setting command code, and “n1, n2, n3, n4” following this is a parameter. (A command generally called an ESC sequence is used). Each parameter is composed of 1 byte (8 bits), and n1 is an image designation number. In the case of <printing example 1>, “02” is represented. N2 and n3 indicate a start line number and an end line number, and in the case of <printing example 1>, they represent “x1” and “x2”. N4 indicates color information (color designation number), and in the case of <printing example 1>, “2” is represented (see FIG. 9).

また、図9に示すように、スタート行番号を示すパラメータ「n2」は、8bitのうち、最初の1bitで、行番号設定を表し(図9参照)、行番号を含む場合は「1」、含まない場合は「0」で表される。また、残りの7bitでは、スタート行番号(第1行ないし第128行)を表す。エンド行番号を示すパラメータ「n3」についても、同様の構成である。なお、各パラメータを構成するbit数およびパラメータの順序は適宜変更可能である。   Also, as shown in FIG. 9, the parameter “n2” indicating the start line number represents the line number setting in the first 1 bit out of 8 bits (see FIG. 9), and “1” if the line number is included. When not included, it is represented by “0”. The remaining 7 bits represent the start line number (1st to 128th lines). The parameter “n3” indicating the end line number has the same configuration. The number of bits constituting each parameter and the order of the parameters can be changed as appropriate.

ここで、スタート行番号n2が、0であった場合、画像を決済情報に重ねて印刷するのではなく、画像を所定の位置に挿入すると定義しておくことも可能である。この場合、エンド行番号n3が、挿入開始位置を示すことにしておけば、例えば設定画面400にもエンド文字列の設定欄を設けることによって、挿入開始位置の任意な指定も可能となる。   Here, when the start line number n2 is 0, it is possible to define that the image is inserted at a predetermined position instead of being printed over the payment information. In this case, if the end line number n3 indicates the insertion start position, the insertion start position can be arbitrarily specified by providing an end character string setting field on the setting screen 400, for example.

このように、本発明では、画像付加設定コマンドとして画像データを付加するための専用コマンドを設定し、決済処理印刷データと共に、各種情報をパラメータとして同時に送信可能することができる。これにより、受信した印刷装置50では、印刷処理等に支障をきたすことなく容易に画像データの付加処理(レシート印刷データの生成処理)を行うことができる。   As described above, according to the present invention, a dedicated command for adding image data can be set as the image addition setting command, and various information can be transmitted simultaneously as parameters together with the payment processing print data. Thus, the received printing apparatus 50 can easily perform image data addition processing (receipt print data generation processing) without causing any trouble in printing processing or the like.

次に、PC40における決済処理印刷データ/画像付加設定コマンドの送信処理について、図7のフローチャートを参照して説明する。PC40は、キーボード43による入力またはバーコードリーダ44によるバーコードの読み取りによって商品に関する入力情報を取得し、これに基づいて決済処理印刷データを生成する(S11)。そして、決済処理印刷データを検索することによって、これに含まれる所定文字列(スタート文字列およびエンド文字列)を抽出する(S12)。   Next, payment processing print data / image addition setting command transmission processing in the PC 40 will be described with reference to the flowchart of FIG. The PC 40 obtains input information related to the product by inputting with the keyboard 43 or reading the barcode with the barcode reader 44, and generates payment processing print data based on this (S11). Then, by searching the settlement processing print data, a predetermined character string (start character string and end character string) included therein is extracted (S12).

このとき、所定文字列は、上記のとおり、予め設定されて定義テーブルとして記憶されている。そして、所定文字列(<印刷例1>の場合、スタート文字列「領収証」およびエンド文字列「お買いあげ」)を抽出した場合(S13:Yes)は、その所定文字列によって特定される行番号、並びに所定文字列に関連づけられて記憶されている画像指定データおよびカラー情報を取得する(S14;図9参照)。そして、その取得結果から画像付加設定コマンドを生成し(S15;図11参照)、決済処理印刷データと共に印刷装置50に送信し(S16)、処理を終了する(S18)。一方、所定文字列を抽出しなかった場合(S13:No)は、画像付加設定コマンドを生成することなく、決済処理印刷データのみを印刷装置50に送信する(S17)。前記文字列は、意味のある用語、単語が好ましいが、1文字であっても意味をなす特別な文字で有れば、1文字でも良い。   At this time, the predetermined character string is preset and stored as a definition table as described above. When a predetermined character string (in the case of <print example 1>), a start character string “receipt” and an end character string “purchase” are extracted (S13: Yes), the line specified by the predetermined character string The number, image designation data and color information stored in association with the predetermined character string are acquired (S14; see FIG. 9). Then, an image addition setting command is generated from the obtained result (S15; see FIG. 11), and is transmitted to the printing apparatus 50 together with the settlement process print data (S16), and the process is terminated (S18). On the other hand, when the predetermined character string is not extracted (S13: No), only the settlement processing print data is transmitted to the printing apparatus 50 without generating the image addition setting command (S17). The character string is preferably a meaningful term or word, but may be a single character as long as it is a special character that makes sense even if it is a single character.

続いて、上記のPC40における決済処理印刷データ/画像付加設定コマンドの送信処理に続く、印刷装置50におけるレシート印刷データ生成処理について、図8のフローチャートを参照して説明する。印刷装置50は、PC40から決済処理印刷データを取得すると(S21:Yes)、その決済処理印刷データと共に画像付加設定コマンドが送信されたか否かを判別する(S23)。取得したデータが、決済処理印刷データでない場合は(S21:No)、その指示に応じた処理を行う(S22)。また、画像付加設定コマンドが送信されていない場合は(S23:No)、画像データの付加処理を行うことなく(S24)、決済処理印刷データをそのままレシート印刷データとする(S27)。   Next, a receipt print data generation process in the printing apparatus 50 subsequent to the payment process print data / image addition setting command transmission process in the PC 40 will be described with reference to the flowchart of FIG. When the payment processing print data is acquired from the PC 40 (S21: Yes), the printing apparatus 50 determines whether an image addition setting command is transmitted together with the payment processing print data (S23). If the acquired data is not settlement processing print data (S21: No), processing according to the instruction is performed (S22). If the image addition setting command has not been transmitted (S23: No), the payment processing print data is directly used as the receipt print data without performing the image data addition processing (S24) (S27).

一方、決済処理印刷データと共に画像付加設定コマンドが送信された場合(S23:Yes)は、画像付加設定コマンドを解析し(S25)、行番号(スタート行番号およびエンド行番号)、画像指定データ(画像指定No.)およびカラー情報(カラー指定No.)を取得する(S26;図11参照)。そして、取得した情報に基づき、決済処理印刷データに画像データを付加(スーパーポーズ)してレシート印刷データを生成し(S27)、処理を終了する(S28)。   On the other hand, when the image addition setting command is transmitted together with the settlement processing print data (S23: Yes), the image addition setting command is analyzed (S25), the line number (start line number and end line number), and image designation data ( Image designation No.) and color information (color designation No.) are acquired (S26; see FIG. 11). Then, based on the acquired information, image data is added to the settlement process print data (super pause) to generate receipt print data (S27), and the process ends (S28).

このように、本発明では、PC40によって生成された決済処理印刷データを検索することによって、画像データの印刷位置、すなわち実質的なレシート上の印刷位置を特定するための所定文字列を抽出し、この所定文字列によって特定される行番号に基づいて画像付加設定コマンドを生成する。そして、PC40は、決済処理印刷データと共に、これを印刷装置50に送信する。一方、印刷装置50は、決済処理印刷データに、画像付加設定コマンドに基づいて画像データを付加し、レシート上に印刷するためのレシート印刷データを生成する。すなわち、この構成により、PC40と印刷装置50間のインターフェースとして低速インターフェースが用いられた場合でも、迅速に画像データを印刷することができる。また、PC40側で画像データを付加するための付加設定コマンドを生成するため、印刷装置50を直接操作することなくPC40により画像データの設定を行うことができる。   Thus, in the present invention, by searching the settlement processing print data generated by the PC 40, a predetermined character string for specifying the print position of the image data, that is, the print position on the substantial receipt is extracted, An image addition setting command is generated based on the line number specified by the predetermined character string. Then, the PC 40 transmits the payment processing print data to the printing apparatus 50 together with the payment processing print data. On the other hand, the printing device 50 adds image data to the settlement processing print data based on the image addition setting command, and generates receipt print data for printing on the receipt. That is, with this configuration, even when a low-speed interface is used as an interface between the PC 40 and the printing apparatus 50, image data can be printed quickly. Further, since an addition setting command for adding image data is generated on the PC 40 side, image data can be set by the PC 40 without directly operating the printing apparatus 50.

ここで、幾つかの例を挙げて、その他の画像データの印刷例について説明する。図10(a)、図12(a)および図15は、<印刷例2>における、定義テーブル、データ取得結果、画像付加設定コマンドおよび印刷結果を示したものである。図10(a)に示すように、定義テーブルには、同じ画像データ「U0/C:hana.jpg」(花模様)を指定した2つのアイテムが記憶されている。この場合、データ取得結果は、同図に示すとおり、1の画像指定データに対して、スタート行番号、エンド行番号、カラー指定がセットになって、2組関連づけられた形式となり、2つの印刷領域に同じ画像データが印刷されることとなる。そのため、図12(a)に示すとおり、画像付加設定コマンドも、画像指定データを示すパラメータ「n1」の後に、スタート行番号、エンド行番号、カラー情報を示すパラメータ(「n2,n3,n4」および「n5,n6,n7」)がセットになって付加される。   Here, some examples of printing other image data will be described. FIGS. 10A, 12A, and 15 show a definition table, a data acquisition result, an image addition setting command, and a print result in <Print Example 2>. As shown in FIG. 10A, the definition table stores two items specifying the same image data “U0 / C: hana.jpg” (flower pattern). In this case, as shown in the figure, the data acquisition result is a format in which two sets are associated with a set of start line number, end line number, and color designation for one image designation data. The same image data is printed in the area. For this reason, as shown in FIG. 12A, the image addition setting command also includes parameters (“n2, n3, n4” indicating start line number, end line number, and color information after the parameter “n1” indicating image designation data. And “n5, n6, n7”) are added as a set.

但し、<印刷例2>では、エンド文字列「領収証」に対する行番号設定が「0」となっているため(図10(a)参照)、パラメータ「n3」の、行番号設定を表す先頭bitは「0」となる(図11(b)参照))。したがって、エンド文字列「領収証」が含まれる行は印刷領域と成らず、エンド文字列「領収証」が含まれる行から1行上の行までが印刷領域となる。   However, in <Print Example 2>, since the line number setting for the end character string “receipt” is “0” (see FIG. 10A), the first bit representing the line number setting of the parameter “n3” is displayed. Becomes “0” (see FIG. 11B)). Therefore, the line including the end character string “receipt” does not form a print area, and the line up to the line one line above the line including the end character string “receipt” is the print area.

そこで、図12(a)に示す画像付加設定コマンドが送信された場合の印刷結果を、図15に示した。ここに示すとおり、画像データ(花模様)が、2つの印刷領域に印刷され、1つ目の印刷領域(スタート行番号「x1」およびエンド行番号「x2」で特定される印刷領域)では、画像データが行番号「x1」から行番号「x2−1」まで印刷され、2つ目の印刷領域(スタート行番号「x3」およびエンド行番号「x4」で特定される印刷領域)では、画像データが行番号「x3」から行番号「x4」まで印刷されている。   Therefore, FIG. 15 shows a printing result when the image addition setting command shown in FIG. As shown here, image data (flower pattern) is printed in two print areas, and in the first print area (print area specified by the start line number “x1” and the end line number “x2”), The image data is printed from the line number “x1” to the line number “x2-1”, and in the second print area (the print area specified by the start line number “x3” and the end line number “x4”), the image data Data is printed from line number “x3” to line number “x4”.

このように、<印刷例2>に示すとおり、同じ画像指定データに対して、複数の所定文字列が抽出された場合、より簡単な構成の画像付加設定コマンドで、画像データの付加設定を行うことができる。   Thus, as shown in <Printing example 2>, when a plurality of predetermined character strings are extracted for the same image designation data, addition setting of image data is performed with an image addition setting command having a simpler configuration. be able to.

続いて、図10(b)、図12(b)および図16は、<印刷例3>における、定義テーブル、データ取得結果、画像付加設定コマンドおよび印刷結果を示したものである。図10(b)に示すように、定義テーブルには、異なる画像データ(「U3/C:syoku.jpg」,「U4/C:nichi.jpg」,「U5/C:iyaku.jpg」)に対して、それぞれスタート文字列およびエンド文字列が関連づけられた3つのアイテムが記憶されている。この場合、データ取得結果は、同図に示すとおり、各画像指定データに対して、スタート行番号、エンド行番号、カラー指定がそれぞれ関連づけられた形式となっている。そのため、図12(b)に示すとおり、画像付加設定コマンドも、画像指定データ、スタート行番号、エンド行番号、カラー情報を示すパラメータ(「n1,n2,n3,n4」および「n5,n6,n7、n8」・・・)がセットになって付加される。   Next, FIG. 10B, FIG. 12B, and FIG. 16 show a definition table, a data acquisition result, an image addition setting command, and a print result in <Print Example 3>. As shown in FIG. 10B, the definition table contains different image data (“U3 / C: syoku.jpg”, “U4 / C: nichi.jpg”, “U5 / C: iyaku.jpg”). On the other hand, three items, each associated with a start character string and an end character string, are stored. In this case, the data acquisition result has a format in which the start line number, end line number, and color designation are associated with each image designation data, as shown in FIG. Therefore, as shown in FIG. 12 (b), the image addition setting command also includes image designation data, start line number, end line number, and parameters indicating color information (“n1, n2, n3, n4” and “n5, n6”). n7, n8 "...) are added as a set.

但し、<印刷例3>では、3つのアイテムが定義テーブルに記憶されているが、これらはスタート文字列が異なるものの、エンド文字列が全て同じ文字列「カテゴリ合計」である。この場合、スタート文字列から下側に存在し、且つ最上行に存在する文字列をそのスタート文字列に対するエンド文字列としている。このため、同じエンド文字列が異なるアイテムに記憶されていても、そのエンド文字列が複数決済処理印刷データ内に存在する場合、複数の画像データが重ねて印刷されることはない。   However, in <Print Example 3>, three items are stored in the definition table, but these are the same character string “category total”, although the end character strings are all the same, although the start character strings are different. In this case, the character string existing below the start character string and existing in the uppermost line is used as the end character string for the start character string. For this reason, even if the same end character string is stored in different items, if the end character string exists in the plurality of settlement processing print data, the plurality of image data are not printed in an overlapping manner.

そこで、図12(b)に示す画像付加設定コマンドが送信された場合の印刷結果を、図16に示した。ここに示すとおり、画像データ「U3/C:syoku.jpg」,「U4/C:nichi.jpg」および「U5/C:iyaku.jpg」に対して、それぞれのスタート文字列およびエンド文字列によって特定される印刷領域に印刷されている。また、エンド文字列が同じ文字列であっても、そのエンド文字列が複数決済処理印刷データ内に存在するため、3つの画像データが重ねて印刷されることはない。   FIG. 16 shows the print result when the image addition setting command shown in FIG. 12B is transmitted. As shown here, the image data "U3 / C: syoku.jpg", "U4 / C: nichi.jpg" and "U5 / C: iyaku.jpg" Printed in the specified print area. Further, even if the end character string is the same character string, since the end character string exists in the plurality of settlement processing print data, the three image data are not overprinted.

このように、<印刷例3>に示すとおり、複数の画像指定データを、異なる印刷領域に印刷する場合でも、1の画像付加設定コマンドで、画像データの付加設定を行うことができる。   In this way, as shown in <Print Example 3>, even when a plurality of image designation data is printed in different print areas, it is possible to perform addition setting of image data with one image addition setting command.

以上の通り、本発明は、決済処理印刷データから所定の文字列を検索し、そのデータを印刷したときのレシート上の位置を実質的に特定する情報を取得して文字列位置特定し、その文字列位置の情報を用いて、画像データのレシート上の起点、もしくは終点を決定し、前記決済処理印刷データに前記画像データを合成してレシート印刷データを生成し、生成されたレシート印刷データを印刷する印刷装置、および印刷方法である。   As described above, the present invention retrieves a predetermined character string from the settlement processing print data, acquires information that substantially identifies the position on the receipt when the data is printed, identifies the character string position, Using the character string position information, the starting point or the ending point on the receipt of the image data is determined, the image data is combined with the settlement processing print data to generate receipt print data, and the generated receipt print data is A printing apparatus and a printing method for printing.

又、好適な実施例によれば、画像指定データ、スタート文字列およびエンド文字列を関連づけ、定義テーブルとして複数記憶しておくことにより、決済処理印刷データに含まれる文字列に応じて、多種多様な画像データを所望する印刷領域に印刷することができる。   According to a preferred embodiment, image designation data, start character strings and end character strings are associated with each other and stored as a plurality of definition tables, so that various kinds of data can be obtained depending on the character strings included in the settlement processing print data. Image data can be printed in a desired print area.

特に、本実施形態のように、POSシステム10において本発明の印刷装置50が用いられる場合は、店のロゴなどを画像データとして記憶させておくことで、特定の領域に店のロゴが印刷されたレシート61を発行することができる。すなわち、レシートプリンタとして用いる印刷装置50に、画像データ(ロゴ)を格納するだけの小さなメモリを備えるだけで、視認性の高いレシートを作成することができると共に、顧客に対して店舗のイメージを強く印象づけ、宣伝効果を高めることができる。   In particular, when the printing apparatus 50 of the present invention is used in the POS system 10 as in this embodiment, the store logo is printed in a specific area by storing the store logo or the like as image data. A receipt 61 can be issued. That is, a printing device 50 used as a receipt printer can be provided with a high-visibility receipt only by providing a small memory for storing image data (logo), and strongly enhance the store image to the customer. Impress and enhance advertising effectiveness.

なお、上記の実施形態では、画像付加設定コマンドの生成が、PC40内の制御部140に組み込まれたプリンタドライバ109によって実現されるものとしたが、これを記録媒体に格納し、他のPCや印刷装置で生成プログラムを利用できるように構成しても良い。記憶媒体としては、ハードディスク、フラッシュROM、メモリカード(コンパクトフラッシュ(登録商標)、スマートメディア、メモリースティック等)、コンパクトディスク、光磁気ディスク、デジタルバーサタイルディスクおよびフレキシブルディスク等を利用することができる。   In the above embodiment, the generation of the image addition setting command is realized by the printer driver 109 incorporated in the control unit 140 in the PC 40. However, this is stored in a recording medium and stored in another PC or You may comprise so that a production | generation program can be utilized with a printing apparatus. As the storage medium, a hard disk, flash ROM, memory card (compact flash (registered trademark), smart media, memory stick, etc.), compact disk, magneto-optical disk, digital versatile disk, flexible disk, and the like can be used.

以上の通り、本発明の印刷装置の制御方法、レシート印刷データ生成方法、プログラム、プリンタドライバ、印刷装置、商品販売データ処理装置およびPOSシステムによれば、PC40から印刷装置50に画像データを送信するのではなく、印刷装置50内に画像データを記憶しておき、PC40から画像データを付加するための画像付加設定コマンドを送信するため、PC40と印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、伝送時間が問題とならず、処理効率を低下させることがない。   As described above, according to the printing apparatus control method, receipt print data generation method, program, printer driver, printing apparatus, merchandise sales data processing apparatus, and POS system of the present invention, image data is transmitted from the PC 40 to the printing apparatus 50. Instead of storing image data in the printing apparatus 50 and transmitting an image addition setting command for adding image data from the PC 40, even when a low-speed interface is used as an interface between the PC 40 and the printing apparatus. The transmission time is not a problem and the processing efficiency is not lowered.

また、印刷装置50は、画像付加設定コマンドに含まれるパラメータから行番号を取得することによって、容易に印刷位置を特定することができ、ひいては見栄えの良いレシートを作成することができるなどの作用・効果を奏する。   In addition, the printing apparatus 50 can easily specify the printing position by acquiring the line number from the parameter included in the image addition setting command, and thus can create a receipt that looks good. There is an effect.

また、画像データを付加するための画像付加設定コマンドを、プリンタドライバ109によって生成することにより、印刷装置50を直接操作することなく、PC40から画像データの設定を行うことができる。さらに、PC40が、単色・テキストベースのアプリケーションであっても、これを変更することなく、印刷装置50によってカラー・グラフィックベースのレシートを発行することができる。   Further, by generating an image addition setting command for adding image data by the printer driver 109, the image data can be set from the PC 40 without directly operating the printing apparatus 50. Further, even if the PC 40 is a monochrome / text-based application, a color / graphics-based receipt can be issued by the printing apparatus 50 without changing the application.

なお、上記の例では、決済処理印刷データが主色「K(ブラック)」にて行われるように予め設定されており、画像データは、「K(ブラック)」以外の印刷色(副色)が設定可能となっているものとしたが、画像データとして「K(ブラック)」を設定できるように構成しても良い。但し、この場合(決済処理印刷データと画像データが同色で印刷されるように設定された場合)、画像データは自動的に印刷濃度を低くして印刷されるように設定されることが好ましい。この構成によれば、決済処理印刷データの見やすさを損ねることなく、画像データを付加することができる。   In the above example, the payment processing print data is set in advance to be performed in the primary color “K (black)”, and the image data has a print color (sub color) other than “K (black)”. However, it may be configured such that “K (black)” can be set as image data. However, in this case (when the settlement processing print data and the image data are set to be printed in the same color), it is preferable that the image data is set to be automatically printed with a lower print density. According to this configuration, image data can be added without impairing the visibility of the settlement processing print data.

また、画像データだけでなく、決済処理印刷データの印刷色も設定可能に構成しても良い。但し、この場合も、画像データは決済処理印刷データの設定色以外の印刷色のみが設定可能に構成されるか、若しくは決済処理印刷データと画像データが同色で印刷されるように設定された場合、画像データは自動的に印刷濃度を低くして印刷されるように設定されることが好ましい。   Further, not only the image data but also the print color of the settlement processing print data may be settable. However, in this case as well, image data is configured so that only print colors other than the set color of payment processing print data can be set, or payment processing print data and image data are set to be printed in the same color The image data is preferably set so that it is automatically printed at a lower print density.

また、上記の例では、スタート文字列とエンド文字列の両方を設定するものとしたが、これら両方の設定がない場合は、デフォルト値にしたがって、画像データの印刷領域を特定するようにしても良い。例えば、スタート文字列の設定がない場合は、レシート61の前端から所定長さXの行から画像データを印刷開始し、エンド文字列の指定がない場合、レシート61の後端から所定長さYの行までで画像データの印刷を終了するようにしても良い。また、スタート文字列の指定がない場合は、決済処理印刷データに含まれる所定文字列(例えば「TEL:」など)が印刷される行から画像データを印刷開始し、エンド文字列の指定がない場合は、印刷データに含まれる他の所定文字列(例えば、「お買いあげありがとうございました。」など)が印刷される行までで画像データの印刷を終了するようにしても良い。これらの構成によれば、ユーザが印刷領域に拘らない場合に設定の手間を省くことができる。   In the above example, both the start character string and the end character string are set. If neither of these settings is set, the print area of the image data may be specified according to the default value. good. For example, when there is no start character string setting, printing of image data is started from a line having a predetermined length X from the front end of the receipt 61, and when no end character string is specified, a predetermined length Y is started from the rear end of the receipt 61. The printing of the image data may be finished up to the line. If no start character string is specified, printing of image data is started from a line on which a predetermined character string (for example, “TEL:”) included in the settlement processing print data is printed, and no end character string is specified. In this case, the printing of the image data may be completed up to a line where another predetermined character string (for example, “Thank you for your purchase”) included in the print data is printed. According to these configurations, setting work can be saved when the user is not concerned with the print area.

また、画像データ(定義テーブル)の設定は、図6に示した設定内容に限らず、画像データの拡大・縮小や回転角度の設定、2以上の画像データの指定およびそれらの印刷色の設定などを行い得るように構成しても良い。この構成によれば、さらに多様な画像データを付加することができる。   The setting of the image data (definition table) is not limited to the setting contents shown in FIG. 6, but the image data is enlarged / reduced, the rotation angle is set, two or more image data are specified, and the print color is set. You may comprise so that it can perform. According to this configuration, more various image data can be added.

又、上記実施例では、決済処理の印刷データに、画像データを重畳して、いわゆる背景画像を付加したレシートを作成するものであるが、本発明はこれに限定されるものではなく、例えば、キャンペーン用のメッセージを画像データとして、会計情報の印刷の中に挿入するということもできる。この場合、画像付加設定コマンドに「挿入」、もしくは「重畳」の一方の印刷処理を選択するための所定のパラメータを付加することにより容易に実現できる。   Further, in the above embodiment, the receipt is created by superimposing the image data on the print data of the settlement process and adding a so-called background image, but the present invention is not limited to this, for example, It can also be said that a message for campaign is inserted as image data into the printing of accounting information. In this case, this can be easily realized by adding a predetermined parameter for selecting one of “insertion” or “superimposition” print processing to the image addition setting command.

また、上記の例では、印刷装置50として、インクジェット方式のものを使用するものとしたが、これに限らず、サーマルヘッド方式、ワイヤードット方式の印刷装置を使用しても良い。   In the above example, an ink jet type printer is used as the printing apparatus 50. However, the present invention is not limited to this, and a thermal head type or wire dot type printing apparatus may be used.

また、上述したPOSシステムの例によらず、例えば、サーバに接続されないスタンドアロンタイプのECR、キャッシュレジスタなど、システム構成や装置構成について、本発明の要旨を逸脱しない範囲で、適宜変更も可能である。   In addition, the system configuration and the device configuration, such as a stand-alone type ECR that is not connected to a server and a cash register, can be appropriately changed without departing from the gist of the present invention, regardless of the above-described POS system example. .

上述のように、本発明の印刷装置の制御方法、レシート印刷データ生成方法、プログラム、プリンタドライバ、印刷装置、商品販売データ処理装置およびPOSシステムによれば、ホストコンピュータ内に画像データを記憶して、ホストコンピュータから画像データを送信するのではなく、印刷装置内に画像データを記憶しておき、ホストコンピュータからは画像データを付加するための画像付加設定コマンドを送信するため、ホストコンピュータと印刷装置間のインターフェースとして低速インターフェースを用いた場合でも、迅速に画像データを印刷することができるなどの効果を奏する。   As described above, according to the printing apparatus control method, receipt print data generation method, program, printer driver, printing apparatus, merchandise sales data processing apparatus, and POS system of the present invention, image data is stored in the host computer. Instead of transmitting image data from the host computer, the image data is stored in the printing apparatus, and the host computer and the printing apparatus are used to transmit an image addition setting command for adding image data from the host computer. Even when a low-speed interface is used as an interface between them, it is possible to quickly print image data.

また、上述した実施例によらず、例えばシステム構成や装置構成等について、本発明の要旨を逸脱しない範囲で、適宜変更も可能である。   Further, the system configuration, the device configuration, and the like can be appropriately changed without departing from the gist of the present invention, for example, without depending on the above-described embodiment.

本発明のPOSシステムの一例を示す構成図である。It is a block diagram which shows an example of the POS system of this invention. 本発明のPOSシステムを構成するPOS端末の外観斜視図である。It is an external appearance perspective view of the POS terminal which comprises the POS system of this invention. 本発明のPCの機能ブロック図である。It is a functional block diagram of PC of this invention. 本発明の印刷装置の機能ブロック図である。It is a functional block diagram of the printing apparatus of the present invention. 本発明の印刷装置の制御ブロック図である。It is a control block diagram of the printing apparatus of the present invention. 本発明の画像データを設定するための設定画面の一例を示す図である。It is a figure which shows an example of the setting screen for setting the image data of this invention. 本発明の決済処理印刷データ/画像付加設定コマンド送信処理の一例を示すフローチャートである。It is a flowchart which shows an example of the payment process print data / image addition setting command transmission process of this invention. 本発明のレシート印刷データ生成処理の一例を示すフローチャートである。It is a flowchart which shows an example of the receipt print data generation process of this invention. 本発明の定義テーブル、並びに決済処理印刷データから得られるデータ取得結果を示す図である。It is a figure which shows the data acquisition result obtained from the definition table of this invention, and payment processing print data. 本発明の定義テーブル、並びに決済処理印刷データから得られるデータ取得結果を示す図である。It is a figure which shows the data acquisition result obtained from the definition table of this invention, and payment processing print data. 本発明の画像付加設定コマンドコードの一例を示す図である。It is a figure which shows an example of the image addition setting command code of this invention. 本発明の画像付加設定コマンドコードの一例を示す図である。It is a figure which shows an example of the image addition setting command code of this invention. 画像データの一例を示す図である。It is a figure which shows an example of image data. 本発明によって作成されるレシートの一例である<印刷例1>を示す図である。It is a figure which shows <print example 1> which is an example of the receipt produced by this invention. 本発明によって作成されるレシートの一例である<印刷例2>を示す図である。It is a figure which shows <print example 2> which is an example of the receipt produced by this invention. 本発明によって作成されるレシートの一例である<印刷例3>を示す図である。It is a figure which shows <printing example 3> which is an example of the receipt produced by this invention. 本発明の画像データを設定するための設定画面の他の実施例を示す図である。It is a figure which shows the other Example of the setting screen for setting the image data of this invention. 本発明の従来例におけるレシートの作成例を示す図である。It is a figure which shows the example of preparation of the receipt in the prior art example of this invention.

符号の説明Explanation of symbols

10 POSシステム
20 POS端末
30 POSサーバ
40 PC
41a POSアプリケーション実行部
41b コントロールオブジェクト
41c サービスオブジェクト
41d OS
47 インターフェース
50 印刷装置
51 インターフェース
61 レシート
108 画像データ設定プログラム
109 プリンタドライバ
110 データ入出力部
120 印刷部
130 駆動部
140 制御部
141 CPU
142 ROM
143 CG−ROM
144 RAM
145 内部バス
201 定義テーブル設定部
202 決済処理印刷データ生成部
203 画像付加設定コマンド生成部
204 データ記憶部(PC)
205 データ送信部
231 データ取得部
232 データ記憶部(印刷装置)
233 コマンド解析部
234 レシート印刷データ生成部
235 印刷部
300 設定画面
10 POS system 20 POS terminal 30 POS server 40 PC
41a POS application execution unit 41b Control object 41c Service object 41d OS
47 interface 50 printing device 51 interface 61 receipt 108 image data setting program 109 printer driver 110 data input / output unit 120 printing unit 130 drive unit 140 control unit 141 CPU
142 ROM
143 CG-ROM
144 RAM
145 Internal bus 201 Definition table setting unit 202 Payment processing print data generation unit 203 Image addition setting command generation unit 204 Data storage unit (PC)
205 Data transmission unit 231 Data acquisition unit 232 Data storage unit (printing apparatus)
233 Command analysis unit 234 Receipt print data generation unit 235 Printing unit 300 Setting screen

Claims (17)

商品販売に関する入力情報に基づいて生成された決済処理印刷データに、所定の画像データを付加して印刷する印刷装置の制御方法であって、
前記決済処理印刷データを取得する決済処理印刷データ取得工程と、
前記決済処理印刷データから、前記画像データの印刷位置を示す所定文字列を検索し、当該所定文字列を抽出する文字列抽出工程と、
抽出した前記所定文字列によって特定される印刷位置情報を取得する位置情報取得工程と、
前期画像データの印刷形式を挿入形式とするか、背景形式とするかを指定する情報を取得する工程と、
取得した前記位置情報に基づき、前記位置情報で特定される位置を基準として前記画像データが印刷されるように前記決済処理印刷データに前記画像データを付加し、合成した印刷結果を得ることを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus that prints by adding predetermined image data to payment processing print data generated based on input information related to product sales,
A payment processing print data acquisition step for acquiring the payment processing print data;
A character string extraction step of searching a predetermined character string indicating a printing position of the image data from the payment processing print data,
A position information acquisition step of acquiring print position information specified by the extracted predetermined character string;
Obtaining information for specifying whether the print format of the previous image data is an insert format or a background format;
Based on the acquired position information, the image data is added to the settlement processing print data so that the image data is printed with reference to the position specified by the position information, and a combined print result is obtained. A control method for a printing apparatus.
前記制御方法は、更に取得した前記位置情報に基づき、画像付加設定コマンドを生成する画像付加設定コマンド生成工程と、
前記決済処理印刷データおよび前記画像付加設定コマンドを、前記印刷装置に送信する送信工程とを有し、
前記印刷装置は、前記画像付加設定コマンドの解析結果に基づいて、前記決済処理印刷データに前記画像データを付加することを特徴とする請求項1に印刷装置の制御方法。
The control method further includes an image addition setting command generation step for generating an image addition setting command based on the acquired position information;
A transmission step of transmitting the settlement processing print data and the image addition setting command to the printing apparatus;
The method according to claim 1, wherein the printing apparatus adds the image data to the settlement processing print data based on an analysis result of the image addition setting command.
前記所定文字列は、前記画像データの付加を開始する位置を示すスタート文字列であり、
前記位置情報取得工程では、前記スタート文字列によって特定される印刷行番号を取得することを特徴とする請求項2に記載の印刷装置の制御方法。
The predetermined character string is a start character string indicating a position where the addition of the image data is started,
The method for controlling a printing apparatus according to claim 2, wherein in the position information acquisition step, a print line number specified by the start character string is acquired.
前記所定文字列は、前記画像データの付加を開始する位置を示すスタート文字列、および画像データの付加を終了する位置を示すエンド文字列から成り、
前記位置情報取得工程では、前記スタート文字列およびエンド文字列によって特定される複数の位置情報を取得することを特徴とする請求項2に記載の印刷装置の制御方法。
The predetermined character string includes a start character string indicating a position where the addition of the image data is started and an end character string indicating a position where the addition of the image data is ended,
The method for controlling a printing apparatus according to claim 2, wherein in the position information acquisition step, a plurality of pieces of position information specified by the start character string and end character string are acquired.
前記印刷装置には、前記画像データのファイルである画像データファイルが複数記憶されており、
前記スタート文字列および前記エンド文字列と、前記印刷装置に記憶された複数の画像データファイルの中から1の画像データファイルを指定するための画像指定データとを関連づけた定義テーブルを記憶する定義テーブル記憶工程と、
前記定義テーブルから、前記文字列抽出工程によって抽出された前記スタート文字列および前記エンド文字列に関連する画像指定データを取得する画像指定データ取得工程と、を更に備え、
前記画像付加設定コマンド生成工程では、取得した前記位置情報および前記画像指定データに基づき、前記画像付加設定コマンドを生成することを特徴とする請求項3に記載の印刷装置の制御方法。
The printing apparatus stores a plurality of image data files that are files of the image data,
Definition table for storing a definition table in which the start character string and the end character string are associated with image designation data for designating one image data file among a plurality of image data files stored in the printing apparatus. Memory process;
An image designation data acquisition step of acquiring image designation data related to the start character string and the end character string extracted by the character string extraction step from the definition table;
The method for controlling a printing apparatus according to claim 3, wherein, in the image addition setting command generation step, the image addition setting command is generated based on the acquired position information and the image designation data.
前記スタート文字列および/または前記エンド文字列を設定する文字列設定工程を更に備えたことを特徴とする請求項3に記載の印刷装置の制御方法。   The method for controlling a printing apparatus according to claim 3, further comprising a character string setting step for setting the start character string and / or the end character string. 前記文字列設定工程によって設定される前記スタート文字列および/または前記エンド文字列と関連づけて、前記画像指定データを設定する画像指定データ設定工程を更に備えたことを特徴とする請求項6に記載の印刷装置の制御方法。   7. The image designation data setting step for setting the image designation data in association with the start character string and / or the end character string set by the character string setting step. Method for controlling the printing apparatus. 前記位置情報取得工程において、前記スタート文字列の位置情報または前記スタート文字列より1行下の位置情報のいずれを取得させるか、並びに前記エンド文字列の位置情報または前記エンド文字列より1行上の位置情報のいずれを取得させるかを設定する位置情報設定工程を更に備えたことを特徴とする請求項4に記載の印刷装置の制御方法。   In the position information acquisition step, which of the position information of the start character string or the position information of one line below the start character string is acquired, and the position information of the end character string or the end character string is one line above 5. The method for controlling a printing apparatus according to claim 4, further comprising a position information setting step for setting which position information is to be acquired. 前記印刷装置においてカラー印刷が可能である場合、 前記画像データの印刷色を設定する印刷色設定工程を更に備え、前記画像付加設定コマンドは、前記印刷色を示すパラメータを含むことを特徴とする請求項2に記載の印刷装置の制御方法。   When the printing apparatus is capable of color printing, the printing apparatus further includes a printing color setting step for setting a printing color of the image data, and the image addition setting command includes a parameter indicating the printing color. Item 3. A method for controlling a printing apparatus according to Item 2. 商品販売に関する入力情報に基づいてホストコンピュータにより生成された決済処理印刷データに、既に記憶されている画像データを付加して、レシート印刷データを生成するレシート印刷データ生成方法であって、
前記画像データを記憶する画像データ記憶工程と、
前記ホストコンピュータから、前記決済処理印刷データを取得する決済処理印刷データ取得工程と、
前記ホストコンピュータから、前記画像データを付加して印刷するための画像付加設定コマンドを取得する画像付加設定コマンド取得工程と、
前記画像付加設定コマンドを解析し、前記画像データの印刷位置を示す位置情報を取得するコマンド解析工程と、
前記位置情報に基づき、前記決済処理印刷データに前記画像データを付加して前記レシート印刷データを生成するレシート印刷データ生成工程と、
を備えたことを特徴とするレシート印刷データ生成方法。
A receipt print data generation method for generating receipt print data by adding already stored image data to payment processing print data generated by a host computer based on input information relating to product sales,
An image data storage step for storing the image data;
A payment processing print data acquisition step of acquiring the payment processing print data from the host computer;
An image addition setting command acquisition step for acquiring an image addition setting command for adding and printing the image data from the host computer;
A command analysis step of analyzing the image addition setting command and acquiring position information indicating a print position of the image data;
A receipt print data generation step of generating the receipt print data by adding the image data to the settlement processing print data based on the position information;
A receipt print data generation method comprising:
請求項1に記載の印刷装置の制御方法における各工程、若しくは請求項10に記載のレシート印刷データ生成方法における各工程を実行させるためのプログラム。   The program for performing each process in the control method of the printing apparatus of Claim 1, or each process in the receipt print data generation method of Claim 10. 請求項1に記載の印刷装置の制御方法における各工程をコンピュータに実行させるためのプリンタドライバ。   A printer driver for causing a computer to execute each step in the method for controlling a printing apparatus according to claim 1. 商品販売に関する入力情報に基づいてホストコンピュータにより生成された決済処理印刷データに、既に記憶している画像データを付加して、レシート印刷データを生成する印刷装置において、
前記画像データを記憶する画像データ記憶手段と、
前記ホストコンピュータから、前記決済処理印刷データを取得する決済処理印刷データ取得手段と、
前記ホストコンピュータから、前記画像データを付加して印刷するための画像付加設定コマンドを取得する画像付加設定コマンド取得手段と、
前記画像付加設定コマンドを解析し、前記画像データの印刷位置を示す位置情報を取得するコマンド解析手段と、
前記位置情報に基づき、前記決済処理印刷データに前記画像データを付加して前記レシート印刷データを生成するレシート印刷データ生成手段と、
を備えたことを特徴とする印刷装置。
In a printing apparatus that generates receipt print data by adding already stored image data to payment processing print data generated by a host computer based on input information related to product sales,
Image data storage means for storing the image data;
Payment processing print data acquisition means for acquiring the payment processing print data from the host computer;
Image addition setting command acquisition means for acquiring an image addition setting command for adding and printing the image data from the host computer;
Command analysis means for analyzing the image addition setting command and obtaining position information indicating a print position of the image data;
Receipt print data generation means for generating the receipt print data by adding the image data to the settlement processing print data based on the position information;
A printing apparatus comprising:
主色と、当該主色以外の少なくとも1色の副色とによるカラー印刷を行うカラー印刷手段を更に備え、
前記カラー印刷手段は、前記決済処理印刷データを前記主色によって印刷し、前記画像データを前記少なくとも1色の副色によって印刷することを特徴とする請求項13に記載の印刷装置。
Color printing means for performing color printing with a primary color and at least one sub-color other than the primary color;
The printing apparatus according to claim 13, wherein the color printing unit prints the settlement processing print data with the primary color and prints the image data with the at least one sub-color.
請求項13に記載の印刷装置と、
前記印刷装置に対し、前記決済処理印刷データと、前記画像付加設定コマンドとを送信することにより、前記印刷装置を制御するホストコンピュータと、を備えた商品販売データ処理装置において、
前記ホストコンピュータは、前記決済処理印刷データを生成する決済処理印刷データ生成手段と、
前記決済処理印刷データから、前記画像データの印刷位置を示す所定文字列を検索し、当該所定文字列を抽出する文字列抽出手段と、
抽出した前記所定文字列によって特定される位置情報を取得する位置情報取得手段と、
取得した前記位置情報に基づき、前記画像付加設定コマンドを生成する画像付加設定コマンド生成手段と、
前記決済処理印刷データおよび前記画像付加設定コマンドを、前記印刷装置に送信する送信手段と、
を有することを特徴とする商品販売データ処理装置。
A printing apparatus according to claim 13;
In a merchandise sales data processing apparatus comprising: a host computer that controls the printing apparatus by transmitting the settlement processing print data and the image addition setting command to the printing apparatus;
The host computer, a payment processing print data generating means for generating the payment processing print data;
A character string extracting means for retrieving a predetermined character string indicating a print position of the image data from the payment processing print data and extracting the predetermined character string;
Position information acquisition means for acquiring position information specified by the extracted predetermined character string;
An image addition setting command generating means for generating the image addition setting command based on the acquired position information;
Transmitting means for transmitting the settlement processing print data and the image addition setting command to the printing apparatus;
A product sales data processing apparatus characterized by comprising:
請求項15に記載の商品販売データ処理装置と、
ネットワークを介して前記商品販売データ処理装置と接続され、当該商品販売データ処理装置を管理するPOSサーバと、によって構成されていることを特徴とするPOSシステム。
The merchandise sales data processing device according to claim 15;
A POS system comprising: a POS server connected to the merchandise sales data processing apparatus via a network and managing the merchandise sales data processing apparatus.
商品販売に関する入力情報に基づいてホストコンピュータにより生成された決済処理印刷データに、画像データを付加し、レシート印刷データを生成して印刷する印刷装置において、
決済処理印刷データから所定の文字列を検索し、そのレシート上の位置を実質的に特定する情報を取得する文字列位置特定手段と、
その文字列位置の情報を用いて、画像データのレシート上の起点、もしくは終点を決定し、前記決済処理印刷データに前記画像データを合成してレシート印刷データを生成するレシート印刷データ生成手段と、
生成されたレシート印刷データを印刷する印刷手段とを有することを特徴とする印刷装置。
In a printing apparatus that adds image data to payment processing print data generated by a host computer based on input information related to product sales, generates receipt print data, and prints the print data,
A character string position specifying means for searching for a predetermined character string from the payment processing print data and acquiring information for substantially specifying the position on the receipt;
Using the character string position information, a start point or an end point on the receipt of the image data is determined, and a receipt print data generating unit that generates the receipt print data by combining the image data with the settlement processing print data;
A printing apparatus comprising: a printing unit that prints the generated receipt print data.
JP2004112089A 2004-04-06 2004-04-06 POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system Expired - Lifetime JP4492188B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004112089A JP4492188B2 (en) 2004-04-06 2004-04-06 POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004112089A JP4492188B2 (en) 2004-04-06 2004-04-06 POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system

Publications (2)

Publication Number Publication Date
JP2005301345A true JP2005301345A (en) 2005-10-27
JP4492188B2 JP4492188B2 (en) 2010-06-30

Family

ID=35332849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004112089A Expired - Lifetime JP4492188B2 (en) 2004-04-06 2004-04-06 POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system

Country Status (1)

Country Link
JP (1) JP4492188B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009132067A (en) * 2007-11-30 2009-06-18 Seiko Epson Corp Printer and control method of printer
JP2009132066A (en) * 2007-11-30 2009-06-18 Seiko Epson Corp Printer and control method of printer
JP2009132068A (en) * 2007-11-30 2009-06-18 Seiko Epson Corp Printer and control method of printer
JP2009137259A (en) * 2007-12-10 2009-06-25 Seiko Epson Corp Printer, and control method for printer
CN102649355A (en) * 2011-02-24 2012-08-29 精工爱普生株式会社 Liquid discharging apparatus
JP2012179905A (en) * 2012-03-30 2012-09-20 Seiko Epson Corp Control method for printing apparatus
US8994961B2 (en) 2011-04-28 2015-03-31 Seiko Epson Corporation Reducing white space in a medium for printing
JP2017094535A (en) * 2015-11-19 2017-06-01 コニカミノルタ株式会社 Image formation device
CN114126886A (en) * 2019-08-30 2022-03-01 佐藤控股株式会社 Printer, program, and information processing system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05185695A (en) * 1992-01-08 1993-07-27 Brother Ind Ltd Printing device
JPH08153274A (en) * 1994-11-29 1996-06-11 Casio Comput Co Ltd Sales data printer
JPH08161331A (en) * 1994-11-30 1996-06-21 Casio Comput Co Ltd Input setting device
JPH08161636A (en) * 1994-11-30 1996-06-21 Casio Comput Co Ltd Sales data printer
JP2002342837A (en) * 2001-05-18 2002-11-29 Toshiba Tec Corp Processor for sales data of article, controller for layout information, and method of issuing original receipt
JP2003272049A (en) * 2002-03-18 2003-09-26 Seiko Epson Corp Printer control device, printer control method, program for executing method in computer, recording media for recording program, printer system and pos system
JP2003291423A (en) * 2002-04-01 2003-10-14 Seiko Epson Corp Printer, printer controlling method, pos system, program for executing the methods by computer, and recording medium with the program recorded
JP2004058323A (en) * 2002-07-25 2004-02-26 Star Micronics Co Ltd Printer
JP2004086477A (en) * 2002-08-26 2004-03-18 Seiko Epson Corp Printing method, program for realizing its printing method, recording medium, printing device, printer driver, pos terminal and pos system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05185695A (en) * 1992-01-08 1993-07-27 Brother Ind Ltd Printing device
JPH08153274A (en) * 1994-11-29 1996-06-11 Casio Comput Co Ltd Sales data printer
JPH08161331A (en) * 1994-11-30 1996-06-21 Casio Comput Co Ltd Input setting device
JPH08161636A (en) * 1994-11-30 1996-06-21 Casio Comput Co Ltd Sales data printer
JP2002342837A (en) * 2001-05-18 2002-11-29 Toshiba Tec Corp Processor for sales data of article, controller for layout information, and method of issuing original receipt
JP2003272049A (en) * 2002-03-18 2003-09-26 Seiko Epson Corp Printer control device, printer control method, program for executing method in computer, recording media for recording program, printer system and pos system
JP2003291423A (en) * 2002-04-01 2003-10-14 Seiko Epson Corp Printer, printer controlling method, pos system, program for executing the methods by computer, and recording medium with the program recorded
JP2004058323A (en) * 2002-07-25 2004-02-26 Star Micronics Co Ltd Printer
JP2004086477A (en) * 2002-08-26 2004-03-18 Seiko Epson Corp Printing method, program for realizing its printing method, recording medium, printing device, printer driver, pos terminal and pos system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009132067A (en) * 2007-11-30 2009-06-18 Seiko Epson Corp Printer and control method of printer
JP2009132066A (en) * 2007-11-30 2009-06-18 Seiko Epson Corp Printer and control method of printer
JP2009132068A (en) * 2007-11-30 2009-06-18 Seiko Epson Corp Printer and control method of printer
JP2009137259A (en) * 2007-12-10 2009-06-25 Seiko Epson Corp Printer, and control method for printer
CN102649355A (en) * 2011-02-24 2012-08-29 精工爱普生株式会社 Liquid discharging apparatus
US8994961B2 (en) 2011-04-28 2015-03-31 Seiko Epson Corporation Reducing white space in a medium for printing
JP2012179905A (en) * 2012-03-30 2012-09-20 Seiko Epson Corp Control method for printing apparatus
JP2017094535A (en) * 2015-11-19 2017-06-01 コニカミノルタ株式会社 Image formation device
CN114126886A (en) * 2019-08-30 2022-03-01 佐藤控股株式会社 Printer, program, and information processing system
CN114126886B (en) * 2019-08-30 2024-01-02 佐藤控股株式会社 Printer, storage medium, information processing system

Also Published As

Publication number Publication date
JP4492188B2 (en) 2010-06-30

Similar Documents

Publication Publication Date Title
JP4407183B2 (en) Printing method, program for realizing the printing method, recording medium printing apparatus, and printer driver
US20040105126A1 (en) Method of printing, program for realizing the same, recording medium, apparatus for printing, printer driver, merchandise sales data processing device, and point-of-sale system
US8988702B2 (en) Printing apparatus and printing method
JP4710903B2 (en) PRINT SYSTEM, POS SYSTEM, CONNECTION DEVICE, PRINT SYSTEM CONTROL METHOD AND ITS PROGRAM
US9290022B2 (en) Receipt printing device having improved recording and cutting operation
JP4670264B2 (en) Printing apparatus, printer interface, POS system, program, and printing apparatus control method
US7375844B2 (en) Method for generating a print data file, method for storing print data, a data storage medium therefor, and an apparatus for generating a data storage file
JP2006318158A (en) Printing system, pos system, connection device, control method for printing system and program therefor
US20180121770A1 (en) Printer and control method of a printer
EP1408465B1 (en) Method of controlling printing apparatus in POS systems
JP4492188B2 (en) POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system
KR100550714B1 (en) Apparatus and method for two-color printing based on single color data
JP4284963B2 (en) Printing apparatus control method, program for realizing the same, recording medium, printer driver, merchandise sales data processing apparatus, and POS system
US20150002889A1 (en) Control device, control system, and control method of a control device
JP4492191B2 (en) POS terminal control method and program
JP4341326B2 (en) Printing method, printing apparatus, printer driver, merchandise sales data processing apparatus, and POS system
JP4168722B2 (en) Receipt print data generation method, program for realizing the same, recording medium, and printing apparatus
US20060055950A1 (en) Image data registration method, image data registration program, and printing apparatus
JP4692053B2 (en) Image registration apparatus, image confirmation method, and image preview program
JP2004013630A (en) Printer, printer driver, printing system, pos system, control method for printer, generation method of print data, program for impementing the methods by computer, and recording medium for the program
JP2004086477A (en) Printing method, program for realizing its printing method, recording medium, printing device, printer driver, pos terminal and pos system
JP2005301506A (en) Print system, pos system, connection device, and printing control method
EP1396808A1 (en) Method and apparatus of printing payment transaction information, program, printer driver and point of sale system for realising the same
JP4414742B2 (en) Passbook printing system
JP4144289B2 (en) Printing method, program for realizing the printing method, recording medium recording the program, POS terminal and POS system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070320

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090728

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090925

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100316

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100329

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140416

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350