JP2006346946A - Printer, printing system, and method for controlling the printer - Google Patents

Printer, printing system, and method for controlling the printer Download PDF

Info

Publication number
JP2006346946A
JP2006346946A JP2005174358A JP2005174358A JP2006346946A JP 2006346946 A JP2006346946 A JP 2006346946A JP 2005174358 A JP2005174358 A JP 2005174358A JP 2005174358 A JP2005174358 A JP 2005174358A JP 2006346946 A JP2006346946 A JP 2006346946A
Authority
JP
Japan
Prior art keywords
image data
printer
image
identification number
registered
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
JP2005174358A
Other languages
Japanese (ja)
Other versions
JP4779455B2 (en
Inventor
Junichi Otsuka
順一 大塚
Toshiyuki Sugimoto
季之 杉本
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 JP2005174358A priority Critical patent/JP4779455B2/en
Priority to US11/404,726 priority patent/US7884958B2/en
Publication of JP2006346946A publication Critical patent/JP2006346946A/en
Priority to US13/012,355 priority patent/US8237971B2/en
Application granted granted Critical
Publication of JP4779455B2 publication Critical patent/JP4779455B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer capable of not erroneously recognizing a key code and image data, a printer system, and a method for controlling the printer. <P>SOLUTION: This printer 50 is communicably connected to an image registration device 10, and comprises a data communication section 100 for receiving image data transmitted from the image registration device 10, an image registration section 212 for registering the received image data to a prescribed memory area, and a GUID generation section 211 that updates a GUID every time when the processing is carried out by the image registration section 212. The printer 50 transmits the GUID to the image registration device 10 through the data communication section 100 every time when the GUID is updated. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プリンタ、プリンタシステム及びプリンタの制御方法に関する。   The present invention relates to a printer, a printer system, and a printer control method.

POSシステム等で用いられるプリンタの中には、画像データを保持しているものがある。この種のプリンタは、NVRAM等の不揮発性メモリを備え、この不揮発性メモリ内に店舗名を示すロゴやクーポン情報等を示す画像データが保存される。プリンタは、ホストコンピュータからの指示に基づき、これらの画像データを例えばロール紙に印刷してレシートとして出力する。これにより、テキスト情報のみからなるレシートと比べて、見栄えがよく、顧客を惹きつける印象的なレシートを出力することができる。   Some printers used in the POS system or the like hold image data. This type of printer includes a non-volatile memory such as NVRAM, and image data indicating a logo indicating a store name, coupon information, and the like are stored in the non-volatile memory. Based on an instruction from the host computer, the printer prints the image data on, for example, roll paper and outputs it as a receipt. As a result, it is possible to output an impressive receipt that has a good appearance and attracts customers as compared with a receipt that is composed only of text information.

また、このシステムによれば、予め画像データがプリンタ内部に保存されているため、画像データを印刷毎にホストコンピュータからプリンタに送信する必要が無い。したがって、ホストコンピュータとプリンタ間のデータの伝送レートが低く、画像データの送受信に向かない場合でも、店舗ロゴのように頻繁に印刷される画像データを印刷させることができる。   Further, according to this system, since the image data is stored in the printer in advance, it is not necessary to transmit the image data from the host computer to the printer every time printing is performed. Therefore, even when the data transmission rate between the host computer and the printer is low and the image data is not suitable for transmission / reception, image data that is frequently printed such as a store logo can be printed.

プリンタに保存される画像データには、キーコード(またはID:Identification)と呼ばれる画像データを識別する識別子がそれぞれ設定されている。プリンタ内部では、画像データは対応するキーコードとともに一対一で管理されており、ホストコンピュータから所定のタイミングでキーコードまたはキーコードと関連付けられた所定の印刷指示を指定したコマンドを受信すると、受信したキーコードに対応する画像データまたはあらかじめ関連付けられたコマンドに対する画像をロール紙上に印刷するように構成されている。このように、画像データを印刷するにあたって、ホストコンピュータは、基本的にはキーコードまたはキーコードと関連付けられた印刷指示のみを指定すればよい。   In the image data stored in the printer, an identifier for identifying the image data called a key code (or ID: Identification) is set. Inside the printer, the image data is managed on a one-to-one basis with the corresponding key code. When a command specifying a key code or a predetermined print instruction associated with the key code is received from the host computer at a predetermined timing, the image data is received. An image corresponding to a key code or an image corresponding to a command associated in advance is printed on roll paper. As described above, when printing image data, the host computer basically only needs to specify a key code or a print instruction associated with the key code.

出願人が先に出願した特願平2005-118965では、ホストコンピュータが、プリンタ内部の画像に割り当てられたキーコードを把握するとともに、キーコードに対応する画像データがどのような画像であるかを把握するための画像登録手段について記載されている。このような画像登録手段を用いると、ホストコンピュータは、プリンタからキーコードのみを取得することにより、プリンタからキーコードに対応する画像データを取得することなくキーコードに対応する画像データを素早く認識することができる。   In Japanese Patent Application No. 2005-118965 filed earlier by the applicant, the host computer grasps the key code assigned to the image inside the printer, and what kind of image the image data corresponding to the key code is. The image registration means for grasping is described. When such an image registration unit is used, the host computer can quickly recognize the image data corresponding to the key code without acquiring the image data corresponding to the key code from the printer by acquiring only the key code from the printer. be able to.

しかしながら、このような手法を用いても、キーコードと画像データとの関係を把握している画像登録手段が与り知らぬところで、他のホストコンピュータにプリンタを接続してプリンタ内部の画像データを書き換えてしまったり、同一のホストコンピュータから他の画像登録手段を用いてプリンタ内部の画像データを書き換えてしまったりした場合には、先の画像登録手段が把握しているキーコードと画像データとの関係性が崩れ、画像登録手段がキーコードに対応する画像データを誤認識してしまう虞がある。   However, even if such a method is used, the image registration means that knows the relationship between the key code and the image data is not known, so that the printer can be connected to another host computer to store the image data inside the printer. If the image data in the printer is rewritten or rewritten from the same host computer using another image registration means, the key code and image data that the previous image registration means knows There is a risk that the relationship will be lost and the image registration means will erroneously recognize the image data corresponding to the key code.

本発明は、上記を鑑み、キーコードと画像データとを誤認識することのないプリンタ、プリンタシステム及びプリンタの制御方法を提供することを目的とする。   In view of the above, an object of the present invention is to provide a printer, a printer system, and a printer control method that do not misrecognize a key code and image data.

本発明の目的は、以下の構成により達成される。
(1) 画像登録装置と通信可能に接続されるプリンタであって、
前記画像登録装置から送信される画像データを受信するデータ送受信部と、
受信する画像データを所定の記憶領域に登録する画像登録部と、
前記画像登録部による処理が実行される毎に識別番号を書き換える識別番号書換部と、を備え、
前記データ送受信部は、前記識別番号書換部が前記識別番号を書き換える毎に、前記画像登録装置に前記識別番号を送信することを特徴とするプリンタ。
(2) 前記識別番号は、前記プリンタのシリアル番号と所定の文字列から構成されることを特徴とする(1)に記載のプリンタ。
(3) 互いに通信可能に接続される画像登録装置とプリンタとから構成されるプリンタシステムであって、
前記画像登録装置は、前記プリンタに画像データの登録または削除を指示し、
前記プリンタは、前記画像登録装置から送信される指示または画像データを受信するデータ送受信部と、登録された画像データを所定の記憶領域に登録する画像登録部と、前記画像登録部による処理が実行される毎に識別番号を書き換える識別番号書換部と、を備え、
前記プリンタの前記データ送受信部は、前記識別番号書換部が前記識別番号を書き換える毎に、前記画像登録装置に前記識別番号を送信することを特徴とするプリンタシステム。
(4) 前記画像登録装置は、前記プリンタから前記識別番号が送信される毎に、前記プリンタに送信した画像データと当該画像データのそれぞれに対応して設けられたキーコードとが関連づけられた登録画像データ情報ファイルを前記送信された識別番号と関連づけすることを特徴とする(3)に記載のプリンタシステム。
(5) 前記画像登録装置は、前記画像データを送信する以前に、前記プリンタから前記識別番号を受信し、受信した識別番号と一致する登録画像データ情報ファイルが存在しているとき、前記画像データを前記プリンタに送信し、前記登録画像データ情報ファイルに前記画像データの情報を追記して、新しい登録画像データ情報ファイルを生成することを特徴とする(4)に記載のプリンタシステム。
(6) 前記画像登録装置は、前記画像データを送信する以前に、前記プリンタから前記識別番号を受信し、受信した識別番号と一致する登録画像データ情報ファイルが存在しないとき、前記画像データを前記プリンタに送信し、前記画像データの情報のみを持つ新しい登録画像データ情報ファイルを生成することを特徴とする(4)に記載のプリンタシステム。
(7) 前記画像登録装置は、前記プリンタに登録された画像データの削除指示を送信する以前に、前記プリンタから前記識別番号を受信し、前記削除指示を前記プリンタに送信した後、受信した識別番号と一致する登録画像データ情報ファイルが存在しているとき、登録画像データ情報ファイルから前記画像データの情報を削除することを特徴とする(4)に記載のプリンタシステム。
(8) 前記画像登録装置は、前記プリンタに登録された画像データの表示を行う以前に、前記プリンタから前記識別番号を受信し、受信した識別番号と一致する登録画像データ情報ファイルが存在しているときのみ、プリンタから画像データを取得することなく前記画像データの表示を行うことを特徴とする(4)に記載のプリンタシステム。
(9) 前記画像登録装置は、前記所定のファイルを参照して、登録画像データ情報ファイルに書かれている画像データの情報に関しては、プリンタから画像データを取得することなく、前記画像データの表示を行うことを特徴とする(7)に記載のプリンタシステム。
(10) 画像登録装置と通信可能に接続されるプリンタの制御方法であって、
前記画像登録装置から送信される画像データに関する指示を受信するステップと、
前記画像データに関する指示に応じて画像データに対し所定の処理を実行するステップと、
前記所定の処理が実行される毎に識別番号を書き換えるステップと、
前記書き換えられた識別番号を前記画像登録装置に送信するステップと、を備えたプリンタの制御方法。
(11) 前記画像データに関する指示は、前記プリンタへの画像データの登録指示であり、前記画像データが登録されると、前記識別番号が書き換えられ、前記画像登録装置に送信されることを特徴とする(10)に記載のプリンタの制御方法。
(12) 前記画像データに関する指示は、前記プリンタから画像データの削除指示であり、前記画像データが削除されると、前記識別番号が書き換えられ、前記画像登録装置に送信されることを特徴とする(10)に記載のプリンタの制御方法。
(13) 前記識別番号は、前記プリンタのシリアル番号と所定の文字列から構成されることを特徴とする(10)〜(12)の何れか1項に記載のプリンタの制御方法。
The object of the present invention is achieved by the following configurations.
(1) A printer that is communicably connected to an image registration device,
A data transmission / reception unit for receiving image data transmitted from the image registration device;
An image registration unit for registering received image data in a predetermined storage area;
An identification number rewriting unit that rewrites the identification number each time processing by the image registration unit is performed,
The data transmission / reception unit transmits the identification number to the image registration device every time the identification number rewriting unit rewrites the identification number.
(2) The printer according to (1), wherein the identification number includes a serial number of the printer and a predetermined character string.
(3) A printer system including an image registration device and a printer that are communicably connected to each other.
The image registration device instructs the printer to register or delete image data,
The printer executes a data transmission / reception unit that receives an instruction or image data transmitted from the image registration device, an image registration unit that registers registered image data in a predetermined storage area, and processing by the image registration unit An identification number rewriting unit that rewrites the identification number each time
The printer system according to claim 1, wherein the data transmission / reception unit of the printer transmits the identification number to the image registration device every time the identification number rewriting unit rewrites the identification number.
(4) Each time the identification number is transmitted from the printer, the image registration apparatus registers image data transmitted to the printer and a key code provided corresponding to each of the image data. The printer system according to (3), wherein an image data information file is associated with the transmitted identification number.
(5) The image registration apparatus receives the identification number from the printer before transmitting the image data, and when there is a registered image data information file that matches the received identification number, the image data Is transmitted to the printer, and the image data information is added to the registered image data information file to generate a new registered image data information file.
(6) The image registration device receives the identification number from the printer before transmitting the image data, and when there is no registered image data information file matching the received identification number, the image data The printer system according to (4), wherein a new registered image data information file having only the image data information is generated by being transmitted to the printer.
(7) The image registration apparatus receives the identification number from the printer before transmitting an instruction to delete the image data registered in the printer, transmits the deletion instruction to the printer, and then receives the received identification. (4) The printer system according to (4), wherein when the registered image data information file matching the number exists, the information of the image data is deleted from the registered image data information file.
(8) The image registration apparatus receives the identification number from the printer before displaying the image data registered in the printer, and there is a registered image data information file that matches the received identification number. (4) The printer system according to (4), wherein the image data is displayed without acquiring the image data from the printer only when the printer is on.
(9) The image registration apparatus refers to the predetermined file, and displays the image data without obtaining the image data from the printer with respect to the image data information written in the registered image data information file. (7) The printer system according to (7).
(10) A method for controlling a printer communicably connected to an image registration apparatus,
Receiving an instruction regarding image data transmitted from the image registration device;
Performing predetermined processing on the image data in response to an instruction relating to the image data;
Rewriting the identification number each time the predetermined process is executed;
And a step of transmitting the rewritten identification number to the image registration apparatus.
(11) The instruction relating to the image data is an instruction to register image data to the printer, and when the image data is registered, the identification number is rewritten and transmitted to the image registration apparatus. The printer control method according to (10).
(12) The instruction relating to the image data is an instruction to delete image data from the printer, and when the image data is deleted, the identification number is rewritten and transmitted to the image registration apparatus. (10) The printer control method according to (10).
(13) The printer control method according to any one of (10) to (12), wherein the identification number includes a serial number of the printer and a predetermined character string.

本発明によれば、画像登録装置からの指示に応じて、プリンタの画像登録部で処理を実行する毎にプリンタ内の識別番号が書き換えられ、書き換えられた識別番号が画像登録装置に送信される。画像登録装置は受け取った識別番号と対になる登録画像データの情報を保持する。したがって、他の画像登録装置によりプリンタ内に記憶されている画像データまたは画像データに関連する情報が変更された場合には、プリンタが有する識別番号と画像登録装置内の前記所定のファイルと関連づけられた識別番号を比較することにより、画像登録装置が把握している画像データに関する情報とプリンタ内部の情報が一致しているどうかを容易に把握することができる。したがって、画像登録装置が把握している画像データとプリンタに登録されている画像データとの間の対応関係が以前とは異なっているにもかかわらず一致しているものという仮定で作業が行われることが防止され、ひいては、プリンタに記憶されている画像データを誤った認識で操作し、プリンタが把握している情報と画像登録装置が把握している情報との間の不整合が生じることを未然に防止することができる。   According to the present invention, in response to an instruction from the image registration apparatus, the identification number in the printer is rewritten each time processing is performed by the image registration unit of the printer, and the rewritten identification number is transmitted to the image registration apparatus. . The image registration apparatus holds information of registered image data that is paired with the received identification number. Therefore, when image data stored in the printer or information related to the image data is changed by another image registration apparatus, the identification number of the printer is associated with the predetermined file in the image registration apparatus. By comparing the identification numbers, it is possible to easily grasp whether the information related to the image data grasped by the image registration apparatus matches the information inside the printer. Therefore, the operation is performed on the assumption that the correspondence between the image data grasped by the image registration apparatus and the image data registered in the printer is the same even though the correspondence is different from the previous one. In other words, the image data stored in the printer is manipulated by erroneous recognition, and the inconsistency between the information grasped by the printer and the information grasped by the image registration apparatus occurs. It can be prevented in advance.

以下、本発明に係るプリンタ、プリンタシステム及びプリンタの制御方法の一実施形態について、図面を参照しながら説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, an embodiment of a printer, a printer system, and a printer control method according to the present invention will be described with reference to the drawings.

(POSシステムの全体構成)
図1は本発明の一実施形態に係るPOSシステムの構成図であり、図2は画像登録装置およびプリンタの制御ブロック図であり、図3は、プリンタが記憶する設定値を示す図であり、図4は、レシート装飾処理の一例を示す説明図である。
(Overall configuration of POS system)
FIG. 1 is a configuration diagram of a POS system according to an embodiment of the present invention, FIG. 2 is a control block diagram of an image registration apparatus and a printer, and FIG. 3 is a diagram illustrating setting values stored in the printer. FIG. 4 is an explanatory diagram showing an example of a receipt decoration process.

図1に示すように、本実施形態におけるプリンタ50は、スーパーやコンビニエンス・ストア等の店舗にて商用に利用され、オペレータによって入力された商品販売に関する入力情報に基づいてレシートを発行するPOSシステムにおいて、POSアプリケーション41aを備えたPOS端末装置40において生成された決済情報印刷データを受信してロール紙等に印刷を行い、レシートとして出力するものである。また、プリンタ50は、予め記憶している設定値に基づいて、POS端末装置40から受信した決済情報印刷データに画像データを付加して印刷するレシート装飾処理(詳細は後述する)を行うことが可能である。このレシート装飾処理に関する設定値の設定は、プリンタ50と接続される画像登録装置10によって行う。なお、画像登録装置10は、POS端末装置40と同一の装置であってもよい。   As shown in FIG. 1, a printer 50 according to the present embodiment is used in a store such as a supermarket or a convenience store, and is used in a POS system that issues a receipt based on input information related to product sales input by an operator. The payment information print data generated in the POS terminal device 40 provided with the POS application 41a is received, printed on roll paper, etc., and output as a receipt. Further, the printer 50 may perform a receipt decoration process (details will be described later) for adding image data to the payment information print data received from the POS terminal device 40 and printing based on the preset values stored in advance. Is possible. Setting of the setting value related to the receipt decoration process is performed by the image registration apparatus 10 connected to the printer 50. Note that the image registration device 10 may be the same device as the POS terminal device 40.

POS端末装置40は、プリンタ50とインターフェースを介して有線又は無線で接続される。POS端末装置40は、キーボード43による入力またはバーコードリーダ44によるバーコードの読み取りによって商品に関する入力情報を取得する。また、POS端末装置40は、カードリーダ45によって顧客60のクレジットカードや会員カードを読み取り、クレジット清算に関する情報や会員番号等の会員に関する情報を取得する。さらに、後述するPOSサーバ30から送信された商品データを元に生成した商品情報を表示するディスプレイ42を有し、顧客60に対して購入商品の金額等を掲示する。これらの制御は、POS端末装置40内のPOSアプリケーション41aによって行われ、POSアプリケーション41aは、POSサーバ30から送信される商品データや入力情報に基づいてレシート上に印刷するための決済情報印刷データを生成し、プリンタ50へプリンタドライバ41bを経由して送信する。   The POS terminal device 40 is connected to the printer 50 via a wired or wireless connection. The POS terminal device 40 obtains input information related to the product by inputting with the keyboard 43 or reading the barcode with the barcode reader 44. Further, the POS terminal device 40 reads the credit card or the membership card of the customer 60 by the card reader 45, and acquires information relating to the member such as information relating to credit clearing and a membership number. Furthermore, it has a display 42 for displaying product information generated based on product data transmitted from a POS server 30 to be described later, and displays the price of purchased products to the customer 60. These controls are performed by the POS application 41a in the POS terminal device 40. The POS application 41a generates payment information print data for printing on a receipt based on product data and input information transmitted from the POS server 30. It is generated and transmitted to the printer 50 via the printer driver 41b.

POSサーバ30は、制御装置(CPU31)の他、ROM32やRAM33等のメモリを有し、ROM32内に記憶された制御プログラムにしたがって、RAM33内のバッファ39等に記憶された情報の処理を行う。特にRAM33内には商品コードブロック35、商品名ブロック36、金額ブロック37、在庫ブロック38等からなる商品マスタを有しており、CPU31は、POS端末装置40から送信された入力情報に基づいて、商品マスタから商品コード、商品名、金額に関する情報を抽出し、レシートRへの印刷およびPOS端末装置40のディスプレイ42の表示に用いる商品データを生成する。   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 including 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 device 40. 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 R and displaying on the display 42 of the POS terminal device 40 is generated.

プリンタ50は、レシートプリンタであり、POS端末装置40から各種制御コマンドや決済情報印刷データを受信するデータ送受信部100の他、搬送部110、印刷部120、切断部130、当該印刷部120および切断部130を駆動する駆動部140、プリンタ50全体を制御する制御部200等を備えている。制御部200は、レシートに付加して印刷するための画像データや、画像データに関する各種設定値(図3参照)を記憶するメモリ(RAM230,図2参照)を備えており、当該各種設定値に従って、画像データをロゴとしてレシートに付加するレシート装飾処理(詳細は後述する)の制御を行う。なお、RAM230は、機能や用途に応じて物理的に異なる複数のメモリ素子から構成されていてもよい。なお、データ送受信部100は、画像登録装置10とのデータの送受信も行う。   The printer 50 is a receipt printer. In addition to the data transmission / reception unit 100 that receives various control commands and payment information print data from the POS terminal device 40, the conveyance unit 110, the printing unit 120, the cutting unit 130, the printing unit 120, and the cutting unit. A driving unit 140 that drives the unit 130, a control unit 200 that controls the entire printer 50, and the like are provided. The control unit 200 includes a memory (RAM 230, see FIG. 2) that stores image data to be added to the receipt for printing and various setting values (see FIG. 3) relating to the image data, and according to the various setting values. Control of receipt decoration processing (details will be described later) for adding image data to a receipt as a logo is performed. Note that the RAM 230 may be composed of a plurality of memory elements that are physically different depending on functions and applications. The data transmission / reception unit 100 also transmits / receives data to / from the image registration apparatus 10.

画像登録装置10は、例えばパーソナルコンピュータ等のプリンタ50に対するホストコンピュータであり、レシートRに付加して印刷するための画像データの編集やプリンタ50への画像データの登録、並びに上記したレシート装飾処理に関する設定値の設定や取得、プリンタ50のテスト印刷を行う印刷制御プログラム24を備えている。ユーザは、マウス12やキーボード11を含む入力手段およびディスプレイ13を介して、プリンタ50のレシート装飾処理に関する設定値の設定やテスト印刷を行うことができる。また、画像登録装置10とプリンタ50とはインターフェースを介して有線又は無線で接続されている。なお、画像登録装置10は、画像データの編集や登録、およびレシート装飾処理に関する設定値の設定や取得、並びにテスト印刷時に、プリンタ50と接続して用いられるものであり、プリンタ50と常時接続される必要はない。   The image registration device 10 is a host computer for the printer 50 such as a personal computer, for example, editing image data to be added to the receipt R and printing, registering image data in the printer 50, and the above-described receipt decoration processing. A print control program 24 for setting and acquiring setting values and performing test printing of the printer 50 is provided. The user can perform setting of setting values related to receipt decoration processing of the printer 50 and test printing via the input means including the mouse 12 and the keyboard 11 and the display 13. Further, the image registration apparatus 10 and the printer 50 are connected to each other via a wired or wireless connection via an interface. The image registration apparatus 10 is used by being connected to the printer 50 at the time of setting and obtaining setting values for image data editing and registration, and receipt decoration processing, and test printing, and is always connected to the printer 50. There is no need to

ここで、図2を参照して画像登録装置10およびプリンタ50の制御構成について詳細に説明する。
図2に示すように、画像登録装置10は、プリンタ50とデータの送受信を行うためのインターフェース21の他、CPU25、ROM26、RAM27、キーボード11、マウス12、ディスプレイ13、ハードディスク22を備え、これらはシステムバス28を介して互いに接続されている。
Here, the control configuration of the image registration apparatus 10 and the printer 50 will be described in detail with reference to FIG.
As shown in FIG. 2, the image registration apparatus 10 includes a CPU 25, a ROM 26, a RAM 27, a keyboard 11, a mouse 12, a display 13, and a hard disk 22 in addition to an interface 21 for transmitting and receiving data to and from the printer 50. They are connected to each other via a system bus 28.

ハードディスク22は、オペレーティング・システム(以下OSと記載)およびプリンタ50に関する設定やテスト印刷を行うための印刷制御プラグラム24に加え、他のアプリケーションプログラムを記憶しており、また、印刷制御プログラム24および他のアプリケーションプログラムの環境設定や起動時の表示に関する設定ファイル等を記憶している。また、OS23は、マウス12およびキーボード11からの入力の受付やディスプレイ13への表示等、それぞれのアプリケーションに共通する処理を提供するものであり、画像登録装置10を動作させるための基本となるソフトウェアである。   The hard disk 22 stores other application programs in addition to an operating system (hereinafter referred to as an OS) and a print control program 24 for performing settings relating to the printer 50 and test printing, and the print control program 24 and others. The application program environment settings and setting files related to display at startup are stored. The OS 23 provides processing common to each application such as reception of input from the mouse 12 and the keyboard 11 and display on the display 13, and is a basic software for operating the image registration apparatus 10. It is.

CPU25は、OS23のプログラムや印刷制御プログラム24、並びに他のアプリケーションプログラムに基づいて各種演算処理を行い画像登録装置10の制御を行う。ROM26は、キーボード11、ディスプレイ13、ハードディスク22といったデバイスをコントロールするプログラムであるBIOS等が記憶されており、OS23はBIOSに命令を出すことでこれらのデバイスを制御する。RAM27は、ハードディスク22や他の記憶媒体(CD―ROMやCD−R等)から一時的に読み出されたOS23のプログラムおよびアプリケーションプログラムが、CPU25の制御の下に実行される作業領域として使用される。   The CPU 25 controls the image registration apparatus 10 by performing various arithmetic processes based on the program of the OS 23, the print control program 24, and other application programs. The ROM 26 stores a BIOS that is a program for controlling devices such as the keyboard 11, the display 13, and the hard disk 22, and the OS 23 controls these devices by issuing commands to the BIOS. The RAM 27 is used as a work area in which programs of the OS 23 and application programs temporarily read from the hard disk 22 and other storage media (CD-ROM, CD-R, etc.) are executed under the control of the CPU 25. The

一方、プリンタ50は、POS端末装置40や画像登録装置10とのデータの送受信を行うインターフェース51と、レシート送りモータ111を有し、レシートRの搬送を行う搬送部110と、印刷ヘッド121を有し、レシートRの搬送に同期してレシート上に各種印刷データの印刷を行う印刷部120を備えている。
さらに、プリンタ50は、レシートカッタ132およびこれを駆動するカッタモータ131を有し、印刷済みレシートRの後端を切断する切断部130と、送りモータドライバ141、ヘッドドライバ142およびカッタモータドライバ143を有し、各部を駆動する駆動部140と、各部と接続され、プリンタ50全体を制御する制御部200と、によって構成されている。
On the other hand, the printer 50 includes an interface 51 that transmits and receives data to and from the POS terminal device 40 and the image registration device 10, a receipt feed motor 111, a transport unit 110 that transports the receipt R, and a print head 121. The printing unit 120 prints various print data on the receipt in synchronization with the conveyance of the receipt R.
Further, the printer 50 includes a receipt cutter 132 and a cutter motor 131 that drives the receipt cutter 132, and includes a cutting unit 130 that cuts the rear end of the printed receipt R, a feed motor driver 141, a head driver 142, and a cutter motor driver 143. And a drive unit 140 that drives each unit, and a control unit 200 that is connected to each unit and controls the entire printer 50.

制御部200は、CPU210、ROM220、RAM230および入出力制御装置(以下、「IOC:Input Output Controller」という)240を備え、互いにシステムバス250により接続されている。
ROM220は、印刷や後述するレシート装飾処理を含む制御をCPU210が実行するための制御プログラムを記憶する制御プログラムブロック221と、受信した印刷データに基づく印刷や後述するレシート装飾処理のための制御データや各種テーブル等を記憶する制御データブロック222と、を有している。
また、本実施形態では、制御プログラムブロック221の所定のプログラムがCPU210で実行されることにより、後述するGUID(Global Unique Identifier)を生成するGUID生成部(識別番号書換部)211と、RAM230の所定領域に画像を登録したり画像を削除したりする画像登録部212が設けられる。このGUIDとGUID生成部211については、後ほど詳しく説明する。
The control unit 200 includes a CPU 210, a ROM 220, a RAM 230, and an input / output control device (hereinafter referred to as “IOC: Input Output Controller”) 240, which are connected to each other via a system bus 250.
The ROM 220 stores a control program block 221 for storing a control program for the CPU 210 to execute control including printing and receipt decoration processing to be described later, control data for printing based on received print data and receipt decoration processing to be described later, And a control data block 222 for storing various tables and the like.
In the present embodiment, a predetermined program in the control program block 221 is executed by the CPU 210, whereby a GUID generation unit (identification number rewriting unit) 211 that generates a GUID (Global Unique Identifier) described later, and a predetermined number in the RAM 230. An image registration unit 212 that registers an image in an area or deletes an image is provided. The GUID and GUID generation unit 211 will be described in detail later.

RAM230は、フラグ等として使用される各種ワークエリアブロック231の他、データ送受信部100(図1参照)によって受信した印刷データを一時的に記憶する受信バッファ232、印刷部120により印刷可能な状態に展開したデータを記憶するプリントバッファ233、レシートRの任意の位置にロゴとして印刷するための複数の画像データを記憶する画像データブロック234を備えている。   In addition to various work area blocks 231 used as flags and the like, the RAM 230 is ready for printing by the reception buffer 232 for temporarily storing print data received by the data transmission / reception unit 100 (see FIG. 1) and the printing unit 120. A print buffer 233 for storing the developed data and an image data block 234 for storing a plurality of image data for printing as a logo at an arbitrary position on the receipt R are provided.

また、レシートの先頭に付加する画像データすなわちトップロゴTLに関する設定値を記憶するトップロゴブロック235、レシートの末尾に付加する画像データすなわちボトムロゴBLに関する設定値を記憶するボトムロゴブロック236、レシートにウォーターマークとして印刷するウォーターマークWMに関する設定値を記憶するウォーターマークブロック237、特定の文字列に対応してレシートに付加する画像データすなわちキーワードロゴKLに関する設定値を記憶するキーワードロゴブロック238、及びGUIDを記憶するGUID記憶部239を有している。CPU210は、これらの設定値に基づいて受信した印刷データの展開処理を行う。また、RAM230は電源が切断されても記憶したデータを保持しておくように常にバックアップされている。なお、画像データブロック234、トップロゴブロック235、ボトムロゴブロック236、ウォーターマークブロック237、キーワードロゴブロック238及びGUID記憶部239は、NVRAM等の不揮発性のメモリに記憶されていてもよい。   The top logo block 235 stores image data to be added to the top of the receipt, that is, a set value related to the top logo TL, the image data to be added to the end of the receipt, that is, the bottom logo block 236 to store the set value related to the bottom logo BL, and the receipt contains water. A watermark block 237 that stores setting values related to the watermark WM to be printed as a mark, a keyword logo block 238 that stores image data to be added to a receipt corresponding to a specific character string, that is, a setting value related to the keyword logo KL, and a GUID A GUID storage unit 239 for storing is provided. The CPU 210 performs processing for developing the received print data based on these setting values. The RAM 230 is always backed up so that the stored data is retained even when the power is turned off. The image data block 234, the top logo block 235, the bottom logo block 236, the watermark block 237, the keyword logo block 238, and the GUID storage unit 239 may be stored in a nonvolatile memory such as NVRAM.

IOC240には、CPU210の機能を補うと共に各種周辺回路とのインターフェース信号を取り扱うための論理回路が、ゲートアレイやカスタムLSIなどにより構成されて組み込まれている。これにより、IOC240は、POS端末装置40および画像登録装置10から受信した印刷データや制御データをそのまま或いは加工してシステムバス250に取り込むと共に、CPU210と連動して、CPU210からシステムバス250に出力されたデータや制御信号を、そのまま或いは加工して印刷部120等各部に出力する。   In the IOC 240, a logic circuit that complements the functions of the CPU 210 and handles interface signals with various peripheral circuits is configured and configured by a gate array, a custom LSI, or the like. As a result, the IOC 240 fetches the print data and control data received from the POS terminal device 40 and the image registration device 10 into the system bus 250 as they are or after processing them, and outputs them from the CPU 210 to the system bus 250 in conjunction with the CPU 210. The data and control signals are output as they are or after being processed to each unit such as the printing unit 120.

そして、CPU210は、上記の構成により、ROM220内の制御プログラムに従って、IOC240を介してプリンタ50内の各部から各種信号・データを入力する。また、入力した各種信号・データに基づいてRAM230内の各種データを処理し、IOC240を介してプリンタ50内の各部に各種信号・データを出力することにより、印刷処理の制御を行う。   The CPU 210 inputs various signals and data from each unit in the printer 50 via the IOC 240 according to the control program in the ROM 220 with the above configuration. In addition, various data in the RAM 230 is processed based on the various signals and data that have been input, and various signals and data are output to each unit in the printer 50 via the IOC 240, thereby controlling the printing process.

(GUIDについて)
本実施形態のプリンタ50は、複数の画像登録装置からそれぞれ独立して画像登録、画像削除、画像のプレビュー等が実行されることを考慮し、GUIDと呼ばれる識別番号を生成するように構成されている。このGUIDは、図2に示すGUID生成部211によって画像登録装置10による画像登録処理(削除処理も含む)の開始、または、終了毎に再生成されるものである。GUIDは、例えばプリンタ50のシリアル番号と連番を基に、以下のように生成される。連番は、実際に画像登録または削除が行われる回数を考慮し、この回数のオーダーよりも十分に大きな桁数を有する数値であることが好ましい。
(About GUID)
The printer 50 according to the present embodiment is configured to generate an identification number called a GUID in consideration that image registration, image deletion, image preview, and the like are performed independently from a plurality of image registration apparatuses. Yes. This GUID is regenerated every time the image registration process (including the deletion process) by the image registration apparatus 10 starts or ends by the GUID generation unit 211 shown in FIG. The GUID is generated as follows based on the serial number and serial number of the printer 50, for example. The serial number is preferably a numerical value having a number of digits sufficiently larger than the order of the number of times in consideration of the number of times image registration or deletion is actually performed.

例えば、プリンタ50のシリアル番号をABCDEFGとすると、以下のように連番の値がインクリメントされていくことによりGUIDが再生成される。

GUID(初期値) : ABCDEFG0000000000000000
(第1回再生成後) : ABCDEFG0000000000000001
(第2回再生成後) : ABCDEFG0000000000000002
・ ・
・ ・
・ ・
For example, if the serial number of the printer 50 is ABCDEFG, the GUID is regenerated by incrementing the serial number value as follows.

GUID (initial value): ABCDEFG0000000000000000
(After the first regeneration): ABCDEFG0000000000000001
(After the second regeneration): ABCDEFG0000000000000002
・ ・
・ ・
・ ・

そして、GUIDがABCDEFGFFFFFFFFFFFFFFFFとなった次に生成されるGUIDの値は、再度初期値であるABCDEFG0000000000000000に戻る。このABCDEFG0000000000000000は、過去に利用したことがあるGUIDと重複するが、数値部分の桁数が十分に大きければ、対応するGUIDはかなり古いものとなり、実使用上特に問題が生じないと考えられる。   Then, the value of the GUID generated next after the GUID becomes ABCDEFGFFFFFFFFFFFFFFFF returns to the initial value ABCDEFG0000000000000000 again. This ABCDEFG0000000000000000 overlaps with a GUID that has been used in the past, but if the number of digits in the numerical value part is sufficiently large, the corresponding GUID becomes quite old, and it is considered that there will be no particular problem in practical use.

このように、本実施形態では、GUIDは、プリンタ50のシリアル番号を基に画像登録処理の実行時毎に再生成される。GUIDは、プリンタ50のシリアル番号をベースとして生成されるため個々のプリンタに固有なものである。GUIDは、画像登録処理の実行時毎に再生成されるので、あるプリンタ50を他のプリンタから完全に区別するとともに、複数の画像登録装置により画像登録が行われた場合であっても、プリンタ50に登録されている画像に関する情報と画像登録装置10が把握している画像に関する情報が一致しているかどうかを常に確認することができる。   As described above, in this embodiment, the GUID is regenerated every time the image registration process is executed based on the serial number of the printer 50. Since the GUID is generated based on the serial number of the printer 50, it is unique to each printer. Since the GUID is regenerated every time the image registration process is executed, the printer 50 is completely distinguished from other printers, and even if the image registration is performed by a plurality of image registration apparatuses, the printer It is possible to always check whether the information related to the image registered in 50 matches the information related to the image recognized by the image registration apparatus 10.

(レシート装飾機能)
次に、プリンタ50が備えたレシート装飾機能について説明する。まず、レシート装飾処理に用いる画像データに関する設定値について図3の〈設定値〉欄を参照して説明する。トップロゴブロック235に記憶している設定値には、トップロゴTLとして印刷する画像データを識別するためのキーコード(図ではID、以下同様)と、トップロゴTLの位置揃え(左よせ、中央よせ、右よせの何れかに設定)に加えて、受信した決済情報印刷データの情報とトップロゴTLの情報が重複することを防ぐため、受信した決済情報印刷データの不要部分を削除するために設定する、受信した決済情報印刷データの先頭行からの削除行数、が含まれている。
(Receipt decoration function)
Next, the receipt decoration function provided in the printer 50 will be described. First, setting values relating to image data used for receipt decoration processing will be described with reference to the <setting value> column in FIG. The setting value stored in the top logo block 235 includes a key code for identifying image data to be printed as the top logo TL (ID in the figure, the same applies hereinafter) and alignment of the top logo TL (left and center) In order to prevent the received payment information print data information from overlapping with the top logo TL information in order to delete unnecessary portions of the received payment information print data. The number of deleted lines from the first line of the received payment information print data to be set is included.

また、ボトムロゴブロック236に記憶している設定値には、ボトムロゴBLとして印刷する画像データを識別するためのキーコード(図ではID、以下同様)と、ボトムロゴBLの位置揃えが含まれている。   The setting value stored in the bottom logo block 236 includes a key code (ID in the figure, the same applies hereinafter) for identifying image data to be printed as the bottom logo BL, and alignment of the bottom logo BL. .

また、ウォーターマークブロック237に記憶している設定値には、ウォーターマークWMとして印刷する画像データを識別するためのキーコード(図ではID、以下同様)と、レシート先端から先頭のウォーターマークの印刷位置までの長さとなる上余白L1、ウォーターマーク間の長さとなる印刷間隔L2、並びに位置揃えが含まれている。   The setting value stored in the watermark block 237 includes a key code for identifying image data to be printed as the watermark WM (ID in the figure, the same applies hereinafter) and printing of the first watermark from the leading end of the receipt. The upper margin L1 that is the length to the position, the printing interval L2 that is the length between the watermarks, and the alignment are included.

さらに、キーワードロゴブロック238に記憶している設定値には、キーワードロゴKLとして印刷する画像データを識別するためのキーコード(図ではID、以下同様)と、キーワードロゴ印刷のトリガとなる特定文字列(受信した決済情報印刷データにこの特定文字列が含まれる場合、特定文字列の位置に基づきキーワードロゴが印刷される)と、位置揃えに加えて、トップロゴTLと同様の理由で設定する、特定文字列行の次行を削除開始行とした削除行数、が含まれている。さらに、キーワードロゴKLの設定値には印刷位置が含まれており、この印刷位置として、特定文字列行と置き換えて挿入するか、特定文字列行の次行に挿入するか、並びに特定文字列行の前行に挿入するか、を選択することができる。具体的な設定値を図3に示す。   Further, the setting value stored in the keyword logo block 238 includes a key code (ID in the figure, the same applies hereinafter) for identifying image data to be printed as the keyword logo KL, and a specific character that triggers the keyword logo printing. In addition to the alignment (when the received payment information print data includes this specific character string, the keyword logo is printed based on the position of the specific character string), the alignment is set for the same reason as the top logo TL. , The number of deleted lines, with the next line after the specific character string line as the deletion start line. Further, the setting value of the keyword logo KL includes a print position. As the print position, the keyword logo KL is inserted in place of the specific character string line, inserted in the next line of the specific character string line, and the specific character string. You can choose whether to insert it before the line. Specific setting values are shown in FIG.

図4に示すレシートRは、図3に示す設定値に基づいてレシート装飾処理が行われたレシートRを示している。このレシートRには、トップロゴTLとしてID(キーコード)「2020」の画像データが設定され、レシート先頭に「中央よせ」の位置で印刷されている。また、トップロゴTLの削除行数「3」の設定値に基づき決済情報印刷データの先頭行(1行目)から3行目が削除行とみなされ印刷が行われていない。また、ボトムロゴBLとしてID(キーコード)「2021」の画像データが設定され、レシート末尾に「中央よせ」の位置で印刷されている。   The receipt R shown in FIG. 4 shows the receipt R on which the receipt decoration process has been performed based on the setting values shown in FIG. On this receipt R, image data of ID (key code) “2020” is set as the top logo TL, and is printed at the position of “middle center” at the top of the receipt. Further, the third line from the first line (first line) of the payment information print data is regarded as a deleted line based on the set value of the number of deleted lines “3” of the top logo TL, and printing is not performed. In addition, image data with an ID (key code) “2021” is set as the bottom logo BL, and is printed at the position “center center” at the end of the receipt.

また、キーワードロゴKLとしてID(キーコード)「2025」の画像データが設定され、特定文字列として設定された「いちご」を含む特定文字列行(図では9行目)の次行に位置して「中央よせ」で印刷されている。また、キーワードロゴKLの削除行数(正確には特定文字列「いちご」に対する削除行数;詳細は後述する)は「0」に設定されているので特定文字列行以降の決済情報印刷データは削除されることなく印刷されている。さらに、ウォーターマークWMとして設定されたID(キーコード)「2022」の画像データがレシートRにウォーターマークとして「中央よせ」の位置で印刷されている。また、先頭のウォーターマークWMは、設定値に基づきレシート先端から40dotの位置に印刷され、ウォーターマークWMの間隔は、設定値に基づき20dotの長さに設定されている。なお、本実施形態ではウォーターマークの上余白L1および印刷間隔L2の指定としてドット単位を想定しているが、これに限るものではない。例えばインチおよびミリ単位で表してもよい。   Also, image data of ID (key code) “2025” is set as the keyword logo KL, and it is positioned on the next line of the specific character string line (the ninth line in the figure) including “strawberry” set as the specific character string. Is printed in the "Center Yose". Further, since the number of deleted lines of the keyword logo KL (exactly, the number of deleted lines for the specific character string “strawberry”; details will be described later) is set to “0”, the payment information print data after the specific character string line is Printed without being deleted. Further, the image data of the ID (key code) “2022” set as the watermark WM is printed on the receipt R as a watermark at the position “center center”. The leading watermark WM is printed at a position of 40 dots from the front end of the receipt based on the set value, and the interval between the watermarks WM is set to a length of 20 dots based on the set value. In the present embodiment, the dot unit is assumed as the designation of the upper margin L1 and the printing interval L2 of the watermark, but the present invention is not limited to this. For example, it may be expressed in units of inches and millimeters.

(グラフィックスレジスターとレシートデザイナー)
次に、レシート装飾処理に用いる画像データの登録および設定値の設定方法について説明する。これらの処理は画像登録装置10内の印刷制御プログラム24により行われる。
(Graphics register and receipt designer)
Next, a method for registering image data and setting a setting value used for receipt decoration processing will be described. These processes are performed by the print control program 24 in the image registration apparatus 10.

図5は、印刷制御プログラム24の詳細構成を示すブロック図である。
本実施形態では、印刷制御プログラム24は、図5に示すように、プリンタ50との接続設定を行うゲートウェイ(Gateway)60と、プリンタ50に対し画像データを登録するグラフィックスレジスター(GR: Graphics Register)70と、プリンタ50に登録された画像に各種設定値を設定するレシートデザイナー(RD: Receipt Designer)80の3つのアプリケーションにより構成されている。
FIG. 5 is a block diagram showing a detailed configuration of the print control program 24.
In this embodiment, as shown in FIG. 5, the print control program 24 includes a gateway 60 for setting connection with the printer 50 and a graphics register (GR: Graphics Register) for registering image data in the printer 50. ) 70 and a receipt designer (RD: Receipt Designer) 80 for setting various setting values for an image registered in the printer 50.

図6は、ゲートウェイ60のウィンドウの表示例である。
ゲートウェイ60は、プリンタ50に対する接続を確立する接続設定を行い、グラフィックスレジスター70及びレシートデザイナー80をプリンタ50と通信可能にするためのアプリケーションである。図6に示すように、ゲートウェイ60は、接続名を登録指定する接続名登録指定部61と、接続名登録指定部61で指定した接続名に対し、プリンタの種類、ポート種類、ポート名、伝送レート、パリティ、ストップビット、フロー制御、ビット長との各種設定条件を設定する伝送条件設定部62と、グラフィックスレジスター70及びレシートデザイナー80を起動するツール選択部63とを備えたウィンドウ型のユーザインターフェース画面を備えている。
FIG. 6 is a display example of the gateway 60 window.
The gateway 60 is an application for performing connection settings for establishing a connection to the printer 50 so that the graphics register 70 and the receipt designer 80 can communicate with the printer 50. As shown in FIG. 6, the gateway 60 includes a connection name registration designation unit 61 for registering and specifying a connection name, and a printer type, port type, port name, and transmission for the connection name designated by the connection name registration designation unit 61. A window-type user having a transmission condition setting unit 62 for setting various setting conditions such as rate, parity, stop bit, flow control, and bit length, and a tool selection unit 63 for starting the graphics register 70 and the receipt designer 80 It has an interface screen.

グラフィックスレジスター70またはレシートデザイナー80を介してプリンタ50への画像の登録または画像設定値の設定を行う場合には、接続名登録指定部61にて、接続先を選択してツール起動部63内のボタン64またはボタン65をクリックする。これにより、ボタン64またはボタン65に対応するアプリケーションとして、グラフィックスレジスター70またはレシートデザイナー80が選択され、グラフィックスレジスター70またはレシートデザイナー80が伝送条件設定部62にて指定されたプリンタと通信を行いながら各種作業を行える状況下で起動される。   When registering an image in the printer 50 or setting an image setting value via the graphics register 70 or the receipt designer 80, the connection name registration / designation unit 61 selects a connection destination and stores it in the tool activation unit 63. The button 64 or the button 65 is clicked. As a result, the graphics register 70 or the receipt designer 80 is selected as an application corresponding to the button 64 or the button 65, and the graphics register 70 or the receipt designer 80 communicates with the printer designated by the transmission condition setting unit 62. However, it is activated under circumstances where various tasks can be performed.

グラフィックスレジスター70は、プリンタ50に対し画像データを登録するための各種機能を備えた画像登録アプリケーション(画像登録手段、画像登録プログラム)である。グラフィックスレジスター70は、ユーザインターフェースとしてウィンドウを備えている。ユーザは、このウィンドウ内の表示を切り替えていくことにより、各種設定登録を行う。   The graphics register 70 is an image registration application (image registration means, image registration program) having various functions for registering image data in the printer 50. The graphics register 70 includes a window as a user interface. The user registers various settings by switching the display in this window.

図7は、グラフィックスレジスター70のウィンドウ70A内に表示される画面表示の一例(画面70a)の模式図である。
図7に示すように、画面70aには、上部に画像データ(グラフィックス)を登録するまでのステージを視覚的に示す四個のアイコンボタン71a〜71dからなるステージ選択表示部71が設けられている。グラフィックスレジスター70は、ユーザがこのステージ選択表示部71に設けられた各ボタンをマウス等によりクリックすることにより、各アイコンボタン71a〜71dに対応してステージ選択表示部71の下方の画面を切り替える。どのアイコンボタン71a〜71dが選択されたかは、アイコンボタン71a〜71dの何れか一つを囲むように表示された選択ボタン表示マーク71eにて示されている。図7では、“1”により示されるアイコンボタン71aが選択されている状態が示されている。この状態では、画面70aがウィンドウ70A内に表示される。
FIG. 7 is a schematic diagram of an example of the screen display (screen 70a) displayed in the window 70A of the graphics register 70.
As shown in FIG. 7, the screen 70 a is provided with a stage selection display unit 71 including four icon buttons 71 a to 71 d that visually indicate the stage until image data (graphics) is registered. Yes. The graphics register 70 switches the screen below the stage selection display unit 71 corresponding to each icon button 71a to 71d when the user clicks each button provided on the stage selection display unit 71 with a mouse or the like. . Which icon button 71a to 71d is selected is indicated by a selection button display mark 71e displayed so as to surround any one of the icon buttons 71a to 71d. FIG. 7 shows a state where the icon button 71a indicated by “1” is selected. In this state, the screen 70a is displayed in the window 70A.

図7に示す画面70aでは、登録しようとする画像ファイルのリストを示す一覧表示部72が中央に設けられており、この一覧表示部72の下方に一覧表示部72に表示させるリストを開くためのリストオープン部73aと、リストへのグラフィックスを追加、リストからの削除、またはリスト上のグラフィックスの編集を行うリスト編集部73bが設けられている。ユーザは、この図7に示す画面70aで、プリンタ50に登録すべき画像データの基となる画像ファイルを選択する。基となる画像ファイルは、画像登録装置10内の記憶装置に保存されている各種画像ファイルである。画像登録装置10がネットワーク等を介して他の装置と接続されている場合には、他の装置に保存された画像ファイルを選択できるようにしてもよい。   In the screen 70 a shown in FIG. 7, a list display unit 72 showing a list of image files to be registered is provided in the center, and a list to be displayed on the list display unit 72 is opened below the list display unit 72. A list opening unit 73a and a list editing unit 73b for adding graphics to the list, deleting from the list, or editing graphics on the list are provided. The user selects an image file as a basis of image data to be registered in the printer 50 on the screen 70a shown in FIG. The base image file is various image files stored in the storage device in the image registration apparatus 10. When the image registration apparatus 10 is connected to another apparatus via a network or the like, an image file stored in the other apparatus may be selected.

図8は、グラフィックスレジスター70のウィンドウ70A内に表示される画面表示の別例(画面70b)の模式図である。
図8に示すように、画面70bには、図7において“2”により示されるアイコンボタン71bが選択された状態であり、図7に示す画面70aと比べて一覧表示部72の下方の表示が一部切り替わって表示される。
FIG. 8 is a schematic diagram of another example (screen 70b) of the screen display displayed in the window 70A of the graphics register 70.
As shown in FIG. 8, the icon 70b indicated by “2” in FIG. 7 is selected on the screen 70b, and the display below the list display portion 72 is displayed as compared to the screen 70a shown in FIG. Partially switched to display.

図8に示す画面70bでは、一覧表示部72の下方に、白黒やカラー等の色設定を行うカラー設定部74aと、階調表現や明るさに関する設定を行うハーフトーン設定部74bと、画像データのサイズを設定するサイズ設定部74cとが設けられている。ユーザは、この画面70bでは、基となる画像ファイルからプリンタ50に送信する送信用画像データを作成するために画像変換処理の種類を指定する。ユーザは、この図8に示す画面70bで、一覧表示部72にリストアップされた個々の画像ファイルそれぞれに対して画像変換処理の種類を指定することができる。   On the screen 70b shown in FIG. 8, below the list display section 72, a color setting section 74a that performs color settings such as black and white, color, a halftone setting section 74b that performs settings related to gradation expression and brightness, and image data A size setting unit 74c is provided for setting the size. On this screen 70b, the user designates the type of image conversion processing for creating transmission image data to be transmitted to the printer 50 from the base image file. The user can specify the type of image conversion processing for each image file listed in the list display section 72 on the screen 70b shown in FIG.

図9は、グラフィックスレジスター70のウィンドウ70A内に表示される画面表示の別例(画面70c)の模式図である。
図9に示すように、画面70cには、図7または図8において“3”により示されるアイコンボタン71cが選択された状態であり、図7または図8に示す画面70a,70bと比べてステージ選択表示部71の下方の表示が切り替わって表示される。
FIG. 9 is a schematic diagram of another example of the screen display (screen 70c) displayed in the window 70A of the graphics register 70.
As shown in FIG. 9, an icon button 71c indicated by “3” in FIG. 7 or FIG. 8 is selected on the screen 70c, and the stage is compared with the screens 70a and 70b shown in FIG. The display below the selection display unit 71 is switched and displayed.

図9に示す画面では、ステージ選択表示部71の下方に、図7及び図8に示した一覧表示部72と同等の一覧表示部75と、プリンタ50に実際に登録された画像データのリストを示す登録画像データ一覧表示部76とが設けられている。そして、それらの下方には、プリンタ50の登録サイズに関する情報を表示する登録サイズ表示部77aと、キーコードを設定するキーコード設定部77bと、プリンタ50への画像データの送信及び登録と削除を実行する画像データ登録部77cとが設けられている。   On the screen shown in FIG. 9, below the stage selection display unit 71, a list display unit 75 equivalent to the list display unit 72 shown in FIGS. 7 and 8 and a list of image data actually registered in the printer 50 are displayed. A registered image data list display section 76 is provided. Below that, a registered size display part 77a for displaying information relating to the registered size of the printer 50, a key code setting part 77b for setting a key code, and transmission, registration and deletion of image data to the printer 50. An image data registration unit 77c to be executed is provided.

ユーザは、この図9に示すウィンドウで、プリンタ50に登録すべき画像データにキーコードを割り当てる。そして、画像データ登録部77cに設けられた登録ボタンをマウスクリック等で選択することにより、元となる画像ファイルから送信用の画像データが生成され、そしてプリンタ50に生成された画像データが送信される。プリンタ50では、画像登録部212によってプリンタ50のRAM230内に画像データがキーコードと関連づけて保存される。本実施形態では、この画像をキーコードと関連づけて保存する動作を“登録”と呼ぶ。   The user assigns a key code to image data to be registered in the printer 50 in the window shown in FIG. Then, by selecting a registration button provided in the image data registration unit 77c with a mouse click or the like, image data for transmission is generated from the original image file, and the generated image data is transmitted to the printer 50. The In the printer 50, image data is stored in the RAM 230 of the printer 50 in association with the key code by the image registration unit 212. In the present embodiment, the operation of storing this image in association with the key code is called “registration”.

ここで、グラフィックスレジスター70は、プリンタ50への登録を行う前に、プリンタ50からGUIDを取得する。そして、一連の登録処理が完了すると、プリンタから新しいGUIDを取得する。グラフィックスレジスター70は、古いGUIDと関連付けられた登録画像データ情報ファイルを検索し、プリンタ50に登録した画像データの基となる画像ファイルへの画像登録装置10内の記憶装置における保存場所(ルートディレクトリを基準としてファイル場所を示す論理パス)と、キーコードと、画像ファイルに施された画像変換処理の種類及び内容(色数、減色方法、明るさ、大きさ、下余白量等)を関連づけて登録画像データ情報ファイル(登録ログファイル)66に保存する。そして、この登録画像データ情報ファイルを新しいGUIDと関連付ける。   Here, the graphics register 70 acquires the GUID from the printer 50 before performing registration with the printer 50. When a series of registration processes is completed, a new GUID is acquired from the printer. The graphics register 70 searches the registered image data information file associated with the old GUID, and saves the image file that is the basis of the image data registered in the printer 50 in the storage device in the image registration apparatus 10 (root directory). The logical path indicating the file location on the basis of the image), the key code, and the type and content of the image conversion process applied to the image file (number of colors, color reduction method, brightness, size, amount of bottom margin, etc.) The data is stored in a registered image data information file (registered log file) 66. Then, this registered image data information file is associated with a new GUID.

このように構成することによって、グラフィックスレジスター70は、プリンタ50からキーコードを取得するだけで、プリンタ50に登録した画像ファイルと、どのような画像データを実際に送信したかを誤認識することなく把握できる。なお、プリンタ50に登録された画像データは、登録画像データ一覧表示部76に表示される。   By configuring in this way, the graphics register 70 misrecognizes the image file registered in the printer 50 and what kind of image data is actually transmitted simply by acquiring the key code from the printer 50. I can grasp without. The image data registered in the printer 50 is displayed on the registered image data list display unit 76.

図10は、グラフィックスレジスター70のウィンドウ70A内に表示される画面表示の別例(画面70d)の模式図である。
図10に示すように、画面70dには、図7〜9において“4”により示されるアイコンボタン71dが選択された状態であり、図7〜図9に示す画面70a,70b,70cと比べてステージ選択表示部71の下方の表示が切り替わって表示される。
FIG. 10 is a schematic diagram of another example of the screen display (screen 70d) displayed in the window 70A of the graphics register 70.
As shown in FIG. 10, an icon button 71d indicated by “4” in FIGS. 7 to 9 is selected on the screen 70d, compared with the screens 70a, 70b, and 70c shown in FIGS. The display below the stage selection display unit 71 is switched and displayed.

図10に示す画面では、図9に示す登録画像データ一覧表示部76と同等の登録画像データ一覧表示部77が中央に設けられ、その下方にプリンタ50に登録された画像データの情報を取得する登録情報取得部78aと、オプション設定を行うオプション設定部78bと、プリンタ50に登録された画像データの印刷を指示する印刷指示部78cが設けられている。   In the screen shown in FIG. 10, a registered image data list display unit 77 equivalent to the registered image data list display unit 76 shown in FIG. 9 is provided in the center, and information on image data registered in the printer 50 is acquired below. A registration information acquisition unit 78a, an option setting unit 78b for setting options, and a print instruction unit 78c for instructing printing of image data registered in the printer 50 are provided.

ユーザがこの図10に示す画面70dにおいて、登録情報取得部78aの“登録情報の取得”ボタンをマウスクリック等により選択すると、グラフィックスレジスター70は、プリンタ50に指示を出し、プリンタ50内に登録された画像データのキーコードのみを取得する。そして、グラフィックスレジスター70は、取得したキーコードと登録画像データ情報ファイル66とを参照して登録情報取得部78aに登録された画像データの元ファイル名と、キーコードと登録された画像データのサイズとを一覧表示する。そして、ユーザがオプション設定部78bを介してオプション設定を行い、印刷指示部78cを介して印刷指示を行うと、登録情報取得部78aのリスト中の選択されたまたは全ての画像データを印刷するよう、プリンタ50に指示を出す。この場合も、プリンタ50にキーコードのみを送信することで、プリンタ50に印刷を実行させる。   When the user selects the “acquire registration information” button of the registration information acquisition unit 78 a on the screen 70 d shown in FIG. 10 by clicking the mouse, the graphics register 70 issues an instruction to the printer 50 and registers in the printer 50. Only the key code of the obtained image data is acquired. Then, the graphics register 70 refers to the acquired key code and the registered image data information file 66, the original file name of the image data registered in the registration information acquisition unit 78a, the key code and the registered image data. List sizes and. When the user performs option setting via the option setting unit 78b and issues a print instruction via the print instruction unit 78c, the selected information or all image data in the list of the registration information acquisition unit 78a is printed. The printer 50 is instructed. Also in this case, the printer 50 is caused to execute printing by transmitting only the key code to the printer 50.

このように、グラフィックスレジスター70は、プリンタ50に画像データをキーコードとともに登録し、登録画像データ情報ファイル66を利用することにより、キーコードをキーとして登録した情報を管理し、ユーザの要望に応じてリストアップしたり、プリンタ50に印刷指示を出したりすることができる。   As described above, the graphics register 70 registers image data with the key code in the printer 50, and manages the information registered using the key code as a key by using the registered image data information file 66. In response, the user can list up or give a print instruction to the printer 50.

次に、レシートデザイナー80について詳細に説明する。
レシートデザイナー80は、プリンタ50に登録された画像に各種設定値を設定するための各種機能を備えた設定値登録アプリケーション(設定値登録手段、設定値登録プログラム)である。ここで、設定値とは、画像データの印刷位置(トップ、ボトム、ウォーターマーク、キーワードロゴ)と、印刷位置に付随する詳細設定を指す。すなわち、グラフィックスレジスター70によってプリンタ50に画像を登録し、そしてレシートデザイナー80によって画像の印刷位置について詳細に設定してやることにより、ユーザが望む位置に所望の画像を割り当てプリンタ50に印刷させるようにすることができる。
Next, the receipt designer 80 will be described in detail.
The receipt designer 80 is a setting value registration application (setting value registration means, setting value registration program) having various functions for setting various setting values in an image registered in the printer 50. Here, the set value refers to the print position (top, bottom, watermark, keyword logo) of the image data and detailed settings associated with the print position. That is, an image is registered in the printer 50 by the graphics register 70, and the print position of the image is set in detail by the receipt designer 80, whereby a desired image is assigned to a position desired by the user and is printed on the printer 50. be able to.

レシートデザイナー80は、ユーザインターフェースとしてウィンドウを備えている。ユーザは、このウィンドウ内の表示を切り替えていくことにより、各種設定登録を行う。なお、レシートデザイナー80は、グラフィックスレジスター70と異なるウィンドウを有しており、グラフィックスレジスター70を起動した状態で、レシートデザイナー80を同時に動作させることが可能である。   The receipt designer 80 includes a window as a user interface. The user registers various settings by switching the display in this window. The receipt designer 80 has a window different from that of the graphics register 70, and the receipt designer 80 can be operated at the same time with the graphics register 70 activated.

図11は、レシートデザイナー80のウィンドウ80A内に表示される画面表示の一例(画面80a)の模式図である。
図11に示すように、画面80aには、上部に画像データ(グラフィックス)を設定するまでのステージを視覚的に示す六個のアイコンボタン81a〜81fからなるステージ選択表示部81が設けられている。レシートデザイナー80は、ユーザがこのステージ選択表示部81に設けられた各ボタンをマウス等によりクリックすることにより、各アイコンボタン81a〜81fに対応してステージ選択表示部81の下方の画面を切り替える。どのアイコンボタン81a〜81fが選択されたかは、アイコンボタン81a〜81fの何れか一つを囲むように表示された選択ボタン表示マーク81gにて示されている。図11では、“1”により示されるアイコンボタン81aが選択されている状態が示されている。この状態では、画面80aがウィンドウ80A内に表示される。
FIG. 11 is a schematic diagram of an example of the screen display (screen 80a) displayed in the window 80A of the receipt designer 80.
As shown in FIG. 11, the screen 80 a is provided with a stage selection display section 81 including six icon buttons 81 a to 81 f that visually indicate the stage until image data (graphics) is set. Yes. The receipt designer 80 switches the screen below the stage selection display unit 81 corresponding to each icon button 81a to 81f when the user clicks each button provided on the stage selection display unit 81 with a mouse or the like. Which icon button 81a to 81f is selected is indicated by a selection button display mark 81g displayed so as to surround any one of the icon buttons 81a to 81f. FIG. 11 shows a state where the icon button 81a indicated by “1” is selected. In this state, the screen 80a is displayed in the window 80A.

図11に示す画面80aでは、中央に現在プリンタ50に登録された画像データのリストを表示する一覧表示部82が設けられており、この一覧表示部82の下方に一覧表示部82に表示させるリストを取得するための登録情報取得部83aと、外部から設定のインポートを行うオプション設定部83bが設けられている。   In the screen 80 a shown in FIG. 11, a list display unit 82 that displays a list of image data currently registered in the printer 50 is provided at the center, and a list to be displayed on the list display unit 82 below the list display unit 82. A registration information acquisition unit 83a for acquiring the settings and an option setting unit 83b for importing settings from the outside are provided.

ユーザがこの図11に示す画面80a内の登録情報取得部83aの取得ボタンをマウスクリック等で選択すると、レシートデザイナー80は、プリンタ50にコマンドを出力し、プリンタ50のGUID、プリンタ50から保存された各画像データのキーコードと各画像データに設定された設定値を取得して、一覧表示部82にリスト表示する。そして、レシートデザイナー80は、プリンタ50のGUIDを基に該当する登録画像データ情報ファイル66を検索し、該当する登録画像データ情報ファイル66を参照して、画像キーコード(ID)に対するファイル名を一覧表示部82にリスト表示する。図11に示すリストに表示された画像データには、まだ設定値が設定されておらず、印刷位置及びその詳細が決定されていないこともある。   When the user selects the acquisition button of the registration information acquisition unit 83a in the screen 80a shown in FIG. 11 with a mouse click or the like, the receipt designer 80 outputs a command to the printer 50, and the GUID of the printer 50 is saved from the printer 50. The key code of each image data and the set value set for each image data are acquired and displayed in a list on the list display unit 82. The receipt designer 80 searches the corresponding registered image data information file 66 based on the GUID of the printer 50, refers to the corresponding registered image data information file 66, and lists the file names for the image key code (ID). A list is displayed on the display unit 82. In the image data displayed in the list shown in FIG. 11, no setting value has been set yet, and the print position and its details may not be determined.

また、レシートデザイナー80において、プリンタ50に登録された画像データのプレビューを行う場合には、リスト中のファイル名等をマウスのダブルクリック等により選択すると、登録画像データ情報ファイル66を参照して該当する画像ファイルに登録時に処理された画像変換処理を施して、画面に表示する。   When the receipt designer 80 previews the image data registered in the printer 50, when a file name or the like in the list is selected by double-clicking the mouse or the like, the registered image data information file 66 is referred to and the corresponding data is selected. The image conversion process processed at the time of registration is performed on the image file to be displayed and displayed on the screen.

図12〜14は、レシートデザイナー80のウィンドウ80A内に表示される画面表示の別例(画面80b,80c,80d)の模式図である。   12 to 14 are schematic diagrams of other examples (screens 80b, 80c, and 80d) of screen display displayed in the window 80A of the receipt designer 80. FIG.

まず、図12について説明する。
画面80bには、図11において“2”により示されるアイコンボタン81bが選択された状態であり、図11に示す画面80aと比べて一覧表示部82の下方の表示が一部切り替わって表示される。図12に示す画面80bは、一覧表示部82にリスト表示された画像データをボトムロゴまたはトップロゴとして設定する画面であり、一覧表示部82にて画像データを選択した状態でトップ・ボトム設定・解除部84aにて設定を行うことにより、選択された画像をトップロゴまたはボトムロゴとして設定する。選択された画像データの詳細印刷設定については、属性設定部84bにて設定する。この段階では、レシートデザイナー80に設定値が保持された状態であり、プリンタ50には設定値は送信されない。
First, FIG. 12 will be described.
In the screen 80b, the icon button 81b indicated by “2” in FIG. 11 is selected, and the display below the list display portion 82 is partially switched compared to the screen 80a shown in FIG. . A screen 80b shown in FIG. 12 is a screen for setting the image data listed in the list display unit 82 as a bottom logo or a top logo, and the top / bottom setting / cancellation is performed with the image data selected in the list display unit 82. By setting in the part 84a, the selected image is set as a top logo or a bottom logo. The detailed print setting of the selected image data is set by the attribute setting unit 84b. At this stage, the setting value is held in the receipt designer 80, and the setting value is not transmitted to the printer 50.

次に、図13について説明する。
画面80cには、図11において“3”により示されるアイコンボタン81cが選択された状態であり、図11に示す画面80aと比べて一覧表示部82の下方の表示が一部切り替わって表示される。図13に示す画面80cは、一覧表示部82にリスト表示された画像データをウォーターマークとして設定する画面であり、一覧表示部82にて画像データを選択した状態でウォーターマーク設定・解除部85aにて設定を行うことにより、選択された画像をウォーターマークとして設定する。選択された画像データの詳細印刷設定については、属性設定部85bにて設定する。この段階では、レシートデザイナー80に設定値が保持された状態であり、プリンタ50には設定値は送信されない。
Next, FIG. 13 will be described.
In the screen 80c, the icon button 81c indicated by “3” in FIG. 11 is selected, and the display below the list display portion 82 is partially switched compared to the screen 80a shown in FIG. . A screen 80c shown in FIG. 13 is a screen for setting the image data listed in the list display unit 82 as a watermark. In the state where the image data is selected in the list display unit 82, the watermark setting / release unit 85a displays the image data. To set the selected image as a watermark. The detailed print setting of the selected image data is set by the attribute setting unit 85b. At this stage, the setting value is held in the receipt designer 80, and the setting value is not transmitted to the printer 50.

次に、図14について説明する。
画面80dには、図11において“4”により示されるアイコンボタン81dが選択された状態であり、図11に示す画面80aと比べて一覧表示部82の下方の表示が一部切り替わって表示される。図14に示す画面80dは、一覧表示部82にリスト表示された画像データをキーワードロゴとして設定する画面であり、一覧表示部82にて画像データを選択した状態で、キーワード入力部86aにてキーワードを入力し、キーワードロゴ追加・変更・解除部86bで設定を行うことにより、選択された画像をキーワードロゴとして設定する。選択された画像データの詳細印刷設定については、属性設定部86cにて設定する。この段階では、レシートデザイナー80に設定値が保持された状態であり、プリンタ50には設定値は送信されない。
Next, FIG. 14 will be described.
In the screen 80d, the icon button 81d indicated by “4” in FIG. 11 is selected, and the display below the list display portion 82 is partially switched compared to the screen 80a shown in FIG. . A screen 80d shown in FIG. 14 is a screen for setting the image data listed in the list display unit 82 as a keyword logo, and the keyword input unit 86a selects a keyword in a state where the image data is selected in the list display unit 82. Is set in the keyword logo addition / change / cancellation unit 86b, and the selected image is set as the keyword logo. The detailed print setting of the selected image data is set by the attribute setting unit 86c. At this stage, the setting value is held in the receipt designer 80, and the setting value is not transmitted to the printer 50.

図15は、レシートデザイナー80のウィンドウ80A内に表示される画面表示の別例(画面80e)の模式図である。   FIG. 15 is a schematic diagram of another example (screen 80e) of the screen display displayed in the window 80A of the receipt designer 80.

画面80dには、図11において“5”により示されるアイコンボタン81eが選択された状態であり、図11に示す画面80aと比べて一覧表示部82の下方の表示が一部切り替わって表示される。図15に示す画面80eは、プリンタ50に設定情報を送信する画面であり、ユーザが登録部87に設けられた登録ボタンをマウスクリック等により選択することで、レシートデザイナー80に保持された設定値がプリンタ50にキーコードとともに送信される。プリンタ50では、キーコードとともに設定値を受信すると、画像登録部232がトップロゴブロック235、ボトムロゴブロック236,ウォーターマークブロック237,キーワードロゴブロック238にキーコード(ID)と詳細設定値をそれぞれ保存する。これにより、プリンタ50に保存された画像データに対する設定値の設定が完了する。   In the screen 80d, the icon button 81e indicated by “5” in FIG. 11 is selected, and the display below the list display portion 82 is partially switched compared to the screen 80a shown in FIG. . A screen 80e shown in FIG. 15 is a screen for transmitting setting information to the printer 50. When the user selects a registration button provided in the registration unit 87 with a mouse click or the like, setting values held in the receipt designer 80 are displayed. Is transmitted to the printer 50 together with the key code. In the printer 50, when the setting value is received together with the key code, the image registration unit 232 stores the key code (ID) and the detailed setting value in the top logo block 235, the bottom logo block 236, the watermark block 237, and the keyword logo block 238, respectively. To do. Thereby, the setting of the setting value for the image data stored in the printer 50 is completed.

また、レシートデザイナー80は、送信した設定値を任意のファイルに保存することができる。設定値の保存ファイルは、グラフィックスレジスター70が生成する登録画像データ情報ファイルを利用し、このファイルに設定値が追加情報として追記されるように構成してもよい。   In addition, the receipt designer 80 can save the transmitted setting value in an arbitrary file. As the setting value storage file, a registered image data information file generated by the graphics register 70 may be used, and the setting value may be added to the file as additional information.

図16は、レシートデザイナー80のウィンドウ80A内に表示される画面表示の別例(画面80f)の模式図である。   FIG. 16 is a schematic diagram of another example of the screen display (screen 80f) displayed in the window 80A of the receipt designer 80.

画面80fには、図11において“6”により示されるアイコンボタン81fが選択された状態であり、図11に示す画面80aと比べて一覧表示部82の下方の表示が一部切り替わって表示される。図16に示す画面80fは、プリンタ50から設定値情報を取得して印刷表示する画面であり、ユーザは登録情報取得部88aを介して登録した設定値をプリンタ50から取得し、印刷設定部88bにて印刷設定を行い、印刷指示部88cにて印刷指示を行う。このとき、画像登録装置10はプリンタの初期設定コマンドとテスト印刷パターンのみを送信することにより、プリンタ50に印刷を実行させる。   In the screen 80f, the icon button 81f indicated by “6” in FIG. 11 is selected, and the display below the list display portion 82 is partially switched compared to the screen 80a shown in FIG. . A screen 80f shown in FIG. 16 is a screen for acquiring setting value information from the printer 50 and printing it. The user acquires the setting value registered via the registration information acquisition unit 88a from the printer 50, and print setting unit 88b. The print setting is performed at, and a print instruction is issued by the print instruction unit 88c. At this time, the image registration apparatus 10 causes the printer 50 to execute printing by transmitting only the printer initial setting command and the test print pattern.

このようにレシートデザイナー80は、キーコードと対で設定値をプリンタ50に送信することにより、グラフィックスレジスター70によって登録された画像データの印刷位置を詳細印刷設定とともに指定することができる。   In this way, the receipt designer 80 can specify the print position of the image data registered by the graphics register 70 together with the detailed print settings by transmitting the set value to the printer 50 in pairs with the key code.

(GUIDを用いた画像データの処理)
次に、グラフィックスレジスター70及びレシートデザイナー80とプリンタ50間のGUIDを用いた連携動作について詳細に説明する。
(Processing of image data using GUID)
Next, the cooperative operation using the GUID between the graphics register 70 and the receipt designer 80 and the printer 50 will be described in detail.

上述したとおり、グラフィックスレジスター70とレシートデザイナー80は、プリンタ50から一切画像データの取得を行わない。グラフィックスレジスター70は、画像データの登録時に登録画像データ情報ファイル66を生成し、その後グラフィックスレジスター70とレシートデザイナー80は、GUIDと登録画像のキーコードのみを取得して、この登録画像データ情報ファイルを参照して、それぞれのキーコードに対する画像データを印刷及びプレビューを実行する。   As described above, the graphics register 70 and the receipt designer 80 do not acquire any image data from the printer 50. The graphics register 70 generates a registered image data information file 66 when registering the image data. Thereafter, the graphics register 70 and the receipt designer 80 obtain only the GUID and the key code of the registered image, and this registered image data information. With reference to the file, the image data for each key code is printed and previewed.

以下、本実施形態における、画像データの登録、削除、プレビューについてフローチャートを参照しながら詳細に説明する。   Hereinafter, registration, deletion, and preview of image data in this embodiment will be described in detail with reference to flowcharts.

まず、画像データのプリンタ50への登録について説明する。
図17は、画像データのプリンタ50への登録の流れを示すフローチャートである。ここでは、画像登録装置10のグラフィックスレジスター70がプリンタ50に画像データを登録する流れを説明する。
First, registration of image data to the printer 50 will be described.
FIG. 17 is a flowchart showing a flow of registration of image data in the printer 50. Here, a flow in which the graphics register 70 of the image registration apparatus 10 registers image data in the printer 50 will be described.

まず、グラフィックスレジスター70は、プリンタ50に画像データの登録をする前準備として、プリンタ50に対して、GUIDの取得を要求する(ステップS1)。プリンタ50は、GUIDの取得を要求されると、RAM230のNV領域(以下、NVRAMと呼ぶ)のGUID記憶部239に記憶されたGUIDを読み出し、グラフィックスレジスター70(画像登録装置10)に送信する(ステップS2)。   First, as a preparation for registering image data in the printer 50, the graphics register 70 requests the printer 50 to acquire a GUID (step S1). When the printer 50 is requested to acquire the GUID, the printer 50 reads the GUID stored in the GUID storage unit 239 in the NV area (hereinafter referred to as NVRAM) of the RAM 230 and transmits it to the graphics register 70 (image registration apparatus 10). (Step S2).

グラフィックスレジスター70は、プリンタ50からGUIDを取得した後、プリンタ50に対して、NVRAM書き込みモードへの移行を指示する(ステップS3)。プリンタ50は、このNVRAM書き込みモードへの移行を指示されると、NVRAM書き込みモードに移行し、RAM230のNV領域である、画像データブロック234、トップロゴブロック235、ボトムロゴブロック236、ウォーターマークブロック237及びキーワードロゴブロック238が書き換え可能な状態となる(ステップS4)。   After obtaining the GUID from the printer 50, the graphics register 70 instructs the printer 50 to shift to the NVRAM writing mode (step S3). When the printer 50 is instructed to shift to the NVRAM writing mode, the printer 50 shifts to the NVRAM writing mode, and the image data block 234, the top logo block 235, the bottom logo block 236, and the watermark block 237, which are NV areas of the RAM 230. And the keyword logo block 238 is in a rewritable state (step S4).

その後、グラフィックスレジスター70は、基となる画像ファイルから設定に応じて画像データの色数、減色、明るさ、大きさ、下余白量等を調整した送信用画像データを生成し、プリンタ50に登録情報、具体的には送信用画像データとキーコードを送信する(ステップS5)。プリンタ50は、送信用画像データを受信すると、受信した画像データをキーコードとともに画像データブロック234に保存し、画像データの登録を行う(ステップS6)。   Thereafter, the graphics register 70 generates transmission image data in which the number of colors of the image data, color reduction, brightness, size, bottom margin amount, etc. are adjusted according to the settings from the base image file, and is sent to the printer 50. Registration information, specifically, image data for transmission and a key code are transmitted (step S5). Upon receiving the transmission image data, the printer 50 stores the received image data together with the key code in the image data block 234, and registers the image data (step S6).

グラフィックスレジスター70は登録情報の送信を完了すると、NVRAM書き込みモードの終了をプリンタ50に指示する(ステップS7)。プリンタ50は、NVRAM書き込みモードの終了が指示されると、GUID生成部211において新たなGUIDを生成し、生成された新たなGUIDをGUID記憶部239に上書き保存する(ステップS8)。そして、NVRAM書き込みモードを終了し、通常の待機状態となる(ステップS9)。   When the graphics register 70 completes the transmission of the registration information, it instructs the printer 50 to end the NVRAM writing mode (step S7). When the end of the NVRAM writing mode is instructed, the printer 50 generates a new GUID in the GUID generation unit 211, and overwrites and saves the generated new GUID in the GUID storage unit 239 (step S8). Then, the NVRAM write mode is terminated and a normal standby state is entered (step S9).

プリンタ50は、NVRAM書き込みモードを終了すると、グラフィックスレジスター70に新たに生成されたGUIDを送信する(ステップS10)。
グラフィックスレジスター70は、プリンタ50から新たなGUIDを受信すると、ステップS2で受け取ったGUIDに対応するファイル名称を有する登録画像データ情報ファイル66を開く(ステップS11)。そして、登録画像データ情報ファイル66内のキーコードを検索し、送信したキーコードと画像データに応じて登録画像データ情報ファイル66内の情報を書き換える(ステップS12)。この時点で、プリンタ50に登録された画像データ及びキーコードの情報と、登録画像データ情報ファイル66に記録された画像データ及びキーコードの情報との間の対応関係は一致する。
When the printer 50 ends the NVRAM write mode, the printer 50 transmits the newly generated GUID to the graphics register 70 (step S10).
When receiving a new GUID from the printer 50, the graphics register 70 opens the registered image data information file 66 having a file name corresponding to the GUID received in step S2 (step S11). Then, the key code in the registered image data information file 66 is searched, and the information in the registered image data information file 66 is rewritten according to the transmitted key code and image data (step S12). At this point, the correspondence between the image data and key code information registered in the printer 50 and the image data and key code information recorded in the registered image data information file 66 match.

そして、グラフィックスレジスター70は、ステップS10で受け取った新たなGUIDの名称を基として、登録画像データ情報ファイル66のファイル名を更新する(ステップS13)。ここでは、ファイル名は、新たなGUIDと同一、またはGUIDと関連づけられたファイル名が付される。以上により、プリンタ50内の画像データの登録が実行される。   Then, the graphics register 70 updates the file name of the registered image data information file 66 based on the name of the new GUID received in step S10 (step S13). Here, the file name is the same as the new GUID or a file name associated with the GUID. As described above, registration of image data in the printer 50 is executed.

このように、本実施形態では、グラフィックレジスター70が画像をプリンタ50に登録すると、プリンタ50が自分自身でGUIDを書き換える。そして、グラフィックスレジスター70は書き換えられたGUIDを基に登録画像データ情報ファイル66のファイル名が付されることにより、確実にプリンタ50の情報が書き換えられた、または、書き換えられていないことを知ることができる。ここで、次に画像登録装置10がプリンタ50と通信し、グラフィックスレジスター70を介して、プリンタ50から受信したGUIDが、登録画像データ情報ファイル66に関連づけられたGUIDと一致していれば、グラフィックスレジスター70は、前回の接続から今に至るまで他の画像登録装置によってプリンタ50の情報が書き換えられていないと判断することができる。一方、プリンタ50から受信したGUIDが、登録画像データ情報ファイル66に関連づけられたGUIDと異なっていれば、グラフィックスレジスター70は、他の画像登録装置10がプリンタ50に登録されている画像データに関する情報になんらかの操作を加え、情報が変化したと判断することができる。   Thus, in this embodiment, when the graphic register 70 registers an image in the printer 50, the printer 50 rewrites the GUID by itself. Then, the graphics register 70 is given the file name of the registered image data information file 66 on the basis of the rewritten GUID, thereby knowing that the information of the printer 50 has been rewritten or not rewritten reliably. be able to. Here, if the image registration apparatus 10 communicates with the printer 50 next and the GUID received from the printer 50 via the graphics register 70 matches the GUID associated with the registered image data information file 66, The graphics register 70 can determine that the information of the printer 50 has not been rewritten by another image registration apparatus from the previous connection to the present. On the other hand, if the GUID received from the printer 50 is different from the GUID associated with the registered image data information file 66, the graphics register 70 relates to the image data in which another image registration device 10 is registered in the printer 50. It is possible to determine that the information has changed by performing some operation on the information.

すなわち、本実施形態では、プリンタ50は、画像登録装置10の種類にかかわらず、画像データが書き換えられる毎にGUIDを書き換えるので、必ずGUIDが生成され、そのGUIDはユニークである。したがって、本実施形態によれば、他の画像登録装置によりプリンタ10内に記憶されている画像データとキーコードに関する対応関係に操作が加えられており、グラフィックスレジスター70が把握している画像データとキーコードに関する対応関係が以前とは異なっているにもかかわらず、プリンタ10に記憶されている画像データを誤った認識で操作し、キーコードと画像データとの間に不整合が生じることを未然に防止することができる。   In other words, in this embodiment, the printer 50 rewrites the GUID every time the image data is rewritten regardless of the type of the image registration device 10, so a GUID is always generated and the GUID is unique. Therefore, according to the present embodiment, the image data stored in the printer 10 by another image registration apparatus is operated on the correspondence relationship between the key codes and the image data grasped by the graphics register 70. The correspondence between the key code and the image data is different from the previous one, but the image data stored in the printer 10 is operated with incorrect recognition, and there is a mismatch between the key code and the image data. It can be prevented in advance.

なお、先の画像登録手段が把握しているキーコードと画像データとの関係性が崩れている場合には、グラフィックスレジスター70がプリンタ10からキーコード及び画像データを取得し、登録画像データ情報ファイル66を再構成するようにしてもよい。この場合には、プリンタ10から新たに取得したGUIDを登録画像データ情報ファイル66に関連づけることにより、次回からの処理において、キーコードと画像データ間の対応関係を取った状態で処理を進めることができる。   If the relationship between the key code and the image data known by the previous image registration means is broken, the graphics register 70 acquires the key code and the image data from the printer 10, and the registered image data information The file 66 may be reconfigured. In this case, by associating the GUID newly acquired from the printer 10 with the registered image data information file 66, the processing can proceed in a state where the correspondence between the key code and the image data is taken in the next processing. it can.

次に、画像データのプリンタ50からの削除について説明する。
図18は、画像データのプリンタ50への登録の流れを示すフローチャートである。ここでは、画像登録装置10のグラフィックスレジスター80がプリンタ50から画像データを削除する流れを説明する。
Next, deletion of image data from the printer 50 will be described.
FIG. 18 is a flowchart showing a flow of registration of image data in the printer 50. Here, a flow in which the graphics register 80 of the image registration apparatus 10 deletes image data from the printer 50 will be described.

まず、グラフィックスレジスター70は、プリンタ50から画像データを削除する前準備として、プリンタ50に対して、GUIDの取得を要求する(ステップS21)。プリンタ50は、GUIDの取得を要求されると、RAM230のNV領域のGUID記憶部239に記憶されたGUIDを読み出し、グラフィックスレジスター70(画像登録装置10)に送信する(ステップS22)。   First, as a preparation for deleting image data from the printer 50, the graphics register 70 requests the printer 50 to obtain a GUID (step S21). When the printer 50 is requested to acquire the GUID, the printer 50 reads the GUID stored in the GUID storage unit 239 in the NV area of the RAM 230 and transmits it to the graphics register 70 (image registration apparatus 10) (step S22).

グラフィックスレジスター70は、プリンタ50に対して、NVRAM書き込みモードへの移行を指示する(ステップS23)。プリンタ50は、このNVRAM書き込みモードへの移行を指示されると、NVRAM書き込みモードに移行し、RAM230のNV領域である、画像データブロック234、トップロゴブロック235、ボトムロゴブロック236、ウォーターマークブロック237及びキーワードロゴブロック238が書き換え可能な状態となる(ステップS24)。   The graphics register 70 instructs the printer 50 to shift to the NVRAM writing mode (step S23). When the printer 50 is instructed to shift to the NVRAM writing mode, the printer 50 shifts to the NVRAM writing mode, and the image data block 234, the top logo block 235, the bottom logo block 236, and the watermark block 237, which are NV areas of the RAM 230. The keyword logo block 238 is rewritable (step S24).

その後、グラフィックスレジスター70は、削除すべき画像データに対応するキーコードをプリンタ50に送信する(ステップS25)。プリンタ50は、キーコードを受信すると、キーコードに対応する画像データの登録を削除する(ステップS26)。   Thereafter, the graphics register 70 transmits a key code corresponding to the image data to be deleted to the printer 50 (step S25). When receiving the key code, the printer 50 deletes the registration of the image data corresponding to the key code (step S26).

グラフィックスレジスター70は削除すべきキーコードの送信を完了すると、NVRAM書き込みモードの終了をプリンタ50に指示する(ステップS27)。プリンタ50は、NVRAM書き込みモードの終了が指示されると、GUID生成部211において新たなGUIDを生成し、生成された新たなGUIDをGUID記憶部239に上書き保存する(ステップS28)。そして、NVRAM書き込みモードを終了し、通常の待機状態となる(ステップS29)。   When the graphics register 70 completes the transmission of the key code to be deleted, the graphics register 70 instructs the printer 50 to end the NVRAM writing mode (step S27). When the end of the NVRAM writing mode is instructed, the printer 50 generates a new GUID in the GUID generation unit 211, and overwrites and saves the generated new GUID in the GUID storage unit 239 (step S28). Then, the NVRAM write mode is terminated and a normal standby state is entered (step S29).

プリンタ50は、NVRAM書き込みモードを終了すると、グラフィックスレジスター70に新たに生成されたGUIDを送信する(ステップS30)。
グラフィックスレジスター70は、プリンタ50から新たなGUIDを受信すると、ステップS2で受け取ったGUIDに対応するファイル名称を有する登録画像データ情報ファイル66を開く(ステップS31)。そして、登録画像データ情報ファイル66内のキーコードを検索し、削除した画像データに対応するキーコードとそれに付随する情報を登録画像データ情報ファイル66内から削除する(ステップS32)。この時点で、プリンタ50に登録された画像データ及びキーコードの情報と、登録画像データ情報ファイル66に記録された画像データ及びキーコードの情報との間の対応関係は一致する。
When finishing the NVRAM writing mode, the printer 50 transmits the newly generated GUID to the graphics register 70 (step S30).
When receiving a new GUID from the printer 50, the graphics register 70 opens the registered image data information file 66 having a file name corresponding to the GUID received in step S2 (step S31). Then, the key code in the registered image data information file 66 is searched, and the key code corresponding to the deleted image data and the associated information are deleted from the registered image data information file 66 (step S32). At this point, the correspondence between the image data and key code information registered in the printer 50 and the image data and key code information recorded in the registered image data information file 66 match.

そして、グラフィックスレジスター70は、ステップS10で受け取った新たなGUIDの名称を基として、登録画像データ情報ファイル66のファイル名を更新する(ステップS33)。ここでは、ファイル名は、新たなGUIDと同一、またはGUIDと関連づけられたファイル名が付される。以上により、プリンタ50内の画像データの削除が実行される。   Then, the graphics register 70 updates the file name of the registered image data information file 66 based on the name of the new GUID received in step S10 (step S33). Here, the file name is the same as the new GUID or a file name associated with the GUID. As described above, deletion of image data in the printer 50 is executed.

このように、本実施形態では、プリンタ50が自分自身でGUIDを書き換える。そして、グラフィックスレジスター70は書き換えられたGUIDを基に登録画像データ情報ファイル66のファイル名が付されることにより、確実にプリンタ50の情報が書き換えられた、または、書き換えられていないことを知ることができる。したがって、登録の場合と同様に、次に画像登録装置10がプリンタ50と通信し、グラフィックスレジスター70を介して、プリンタ50から受信したGUIDが、登録画像データ情報ファイル66に関連づけられたGUIDと一致していれば、グラフィックスレジスター70は、前回の接続から今に至るまで他の画像登録装置によってプリンタ50の情報が書き換えられていないと判断することができる。一方、プリンタ50から受信したGUIDが、登録画像データ情報ファイル66に関連づけられたGUIDと異なっていれば、グラフィックスレジスター70は、他の画像登録装置10がプリンタ50に登録されている画像データに関する情報になんらかの操作を加え、情報が変化したと判断することができる。   Thus, in this embodiment, the printer 50 rewrites the GUID by itself. Then, the graphics register 70 is given the file name of the registered image data information file 66 on the basis of the rewritten GUID, thereby knowing that the information of the printer 50 has been rewritten or not rewritten reliably. be able to. Therefore, as in the case of registration, the image registration apparatus 10 communicates with the printer 50 next, and the GUID received from the printer 50 via the graphics register 70 is the GUID associated with the registered image data information file 66. If they match, the graphics register 70 can determine that the information of the printer 50 has not been rewritten by another image registration apparatus from the previous connection until now. On the other hand, if the GUID received from the printer 50 is different from the GUID associated with the registered image data information file 66, the graphics register 70 relates to the image data in which another image registration device 10 is registered in the printer 50. It is possible to determine that the information has changed by performing some operation on the information.

したがって、本実施形態によれば、他の画像登録装置によりプリンタ10内に記憶されている画像データとキーコードに関する対応関係に操作が加えられており、グラフィックスレジスター70が把握している画像データとキーコードに関する対応関係が以前とは異なっているにもかかわらず、プリンタ10に記憶されている画像データを誤った認識で操作し、キーコードと画像データとの間に不整合が生じることを未然に防止することができる。   Therefore, according to the present embodiment, the image data stored in the printer 10 by another image registration apparatus is operated on the correspondence relationship between the key codes and the image data grasped by the graphics register 70. The correspondence between the key code and the image data is different from the previous one, but the image data stored in the printer 10 is operated with incorrect recognition, and there is a mismatch between the key code and the image data. It can be prevented in advance.

なお、先の画像登録手段が把握しているキーコードと画像データとの関係性が崩れている場合には、登録の場合と同様に、グラフィックスレジスター70がプリンタ10からキーコード及び画像データを取得し、登録画像データ情報ファイル66を再構成するようにしてもよい。この場合には、プリンタ10から新たに取得したGUIDを登録画像データ情報ファイル66に関連づけることにより、次回からの処理において、キーコードと画像データ間の対応関係を取った状態で処理を進めることができる。   If the relationship between the key code and the image data known by the previous image registration means is broken, the graphics register 70 receives the key code and the image data from the printer 10 as in the case of registration. The registered image data information file 66 may be acquired and reconfigured. In this case, by associating the GUID newly acquired from the printer 10 with the registered image data information file 66, the processing can proceed in a state where the correspondence between the key code and the image data is taken in the next processing. it can.

次に、プリンタ50に登録された画像データに関連した設定情報(以下では、特にキーコード)をプリンタ50から取得して、対応する画像データを閲覧する処理について説明する。
図19は、画像データのプリンタ50からキーコード取得から画像データのプレビューまでの流れを示すフローチャートである。ここでは、画像登録装置10のグラフィックスレジスター70がプリンタ50からキーコードを取得する場合について説明する。なお、情報の取得は、レシートデザイナー80が行うことも可能であり、この場合も以下に示す順序で処理が行われる。
Next, a description will be given of a process for acquiring setting information (hereinafter, in particular, a key code) related to image data registered in the printer 50 from the printer 50 and browsing corresponding image data.
FIG. 19 is a flowchart showing a flow from acquisition of a key code from the printer 50 of image data to preview of the image data. Here, a case where the graphics register 70 of the image registration apparatus 10 acquires a key code from the printer 50 will be described. The acquisition of information can also be performed by the receipt designer 80. In this case as well, the processing is performed in the order shown below.

まず、グラフィックスレジスター70は、プリンタ50に画像データに対応するキーコードを取得する前準備として、プリンタ50に対して、GUIDの取得を要求する(ステップS41)。プリンタ50は、GUIDの取得を要求されると、RAM230のNV領域のGUID記憶部239に記憶されたGUIDを読み出し、グラフィックスレジスター70(画像登録装置10)に送信する(ステップS42)。   First, as a preparation for acquiring a key code corresponding to image data from the printer 50, the graphics register 70 requests the printer 50 to acquire a GUID (step S41). When the printer 50 is requested to acquire the GUID, the printer 50 reads the GUID stored in the GUID storage unit 239 in the NV area of the RAM 230 and transmits it to the graphics register 70 (image registration apparatus 10) (step S42).

グラフィックスレジスター70は、プリンタ50からGUIDを取得した後、プリンタ50に対して、キーコードの送信を要求する(ステップS43)。プリンタ50は、キーコードの送信を指示されると、RAM230に記憶されたキーコードを読み出し、グラフィックスレジスター70に送信する(ステップS44)。   After obtaining the GUID from the printer 50, the graphics register 70 requests the printer 50 to transmit a key code (step S43). When instructed to transmit the key code, the printer 50 reads out the key code stored in the RAM 230 and transmits it to the graphics register 70 (step S44).

グラフィックスレジスター70は、プリンタ50からキーコードを受信すると、ステップS2で受け取ったGUIDに対応するファイル名称を有する登録画像データ情報ファイル66を開く(ステップS45)。そして、登録画像データ情報ファイル66内のキーコードを検索し、受信したキーコードと一致するものを捜し出す(ステップS46)。そして、ユーザからの操作に応じて、登録画像データ情報ファイル66に保存されたキーコードに対応する画像データのファイルパスを参照して、画像データの表示等を行う(ステップS47)。   When receiving the key code from the printer 50, the graphics register 70 opens the registered image data information file 66 having the file name corresponding to the GUID received in step S2 (step S45). Then, the key code in the registered image data information file 66 is searched to search for a key code that matches the received key code (step S46). Then, according to the operation from the user, the image data is displayed with reference to the file path of the image data corresponding to the key code stored in the registered image data information file 66 (step S47).

このように、本実施形態では、グラフィックレジスター70は、プリンタ50からキーコードを受信する以前に、GUIDを受信し、GUIDに対応する登録画像データ情報ファイル66を参照し、画像表示等を行う。したがって、プリンタ50の画像データに関する情報が、他の画像登録装置により変更されていないことを確認した上で、処理が実行される。   As described above, in the present embodiment, the graphic register 70 receives the GUID before receiving the key code from the printer 50, refers to the registered image data information file 66 corresponding to the GUID, and performs image display or the like. Therefore, the processing is executed after confirming that the information relating to the image data of the printer 50 has not been changed by another image registration apparatus.

したがって、本実施形態によれば、他の画像登録装置によりプリンタ10内に記憶されている画像データとキーコードに関する対応関係に操作が加えられており、グラフィックスレジスター70が把握している画像データとキーコードに関する対応関係が以前とは異なっているにもかかわらず、プリンタ10に記憶されている画像データと異なる画像データの表示といった、キーコードと画像データとの間に不整合が生じることを未然に防止することができる。   Therefore, according to the present embodiment, the image data stored in the printer 10 by another image registration apparatus is operated on the correspondence relationship between the key codes and the image data grasped by the graphics register 70. Inconsistency between the key code and the image data, such as display of image data different from the image data stored in the printer 10, even though the correspondence relationship between the key code and the key code is different from the previous one. It can be prevented in advance.

なお、先の画像登録手段が把握しているキーコードと画像データとの関係性が崩れている場合には、グラフィックスレジスター70がプリンタ10からキーコード及び画像データを取得し、登録画像データ情報ファイル66を再構成するようにしてもよい。この場合には、プリンタ10から新たに取得したGUIDを登録画像データ情報ファイル66に関連づけることにより、次回からの処理において、キーコードと画像データ間の対応関係を取った状態で処理を進めることができる。   If the relationship between the key code and the image data known by the previous image registration means is broken, the graphics register 70 acquires the key code and the image data from the printer 10, and the registered image data information The file 66 may be reconfigured. In this case, by associating the GUID newly acquired from the printer 10 with the registered image data information file 66, the processing can proceed in a state where the correspondence between the key code and the image data is taken in the next processing. it can.

なお、上記説明では、GUIDは、プリンタのシリアル番号に連番を付け加えたものとして説明したが、プリンタがシリアル番号を単独で送信可能であれば、GUIDとしては連番のみとし、シリアル番号とGUIDの双方を用いて、プリンタの識別と画像に関する情報の一致・不一致を確認してもよい。また、GUIDは重複しないようにすれば良いので、プリンタのシリアル番号の変わりに、プリンタの個体を特定できる他のIDを用いてもよい。 連番についても、時刻などを用いても良い。   In the above description, the GUID is described as a serial number added to the serial number of the printer. However, if the printer can transmit the serial number independently, only the serial number is used as the GUID, and the serial number and the GUID. Both of these may be used to confirm the identity of the printer and the match / mismatch of information about the image. Further, since it is sufficient that the GUIDs do not overlap, other IDs that can identify individual printers may be used instead of the printer serial numbers. The time etc. may be used also about a serial number.

なお、上記説明では、GUIDは、一つのプリンタが一つ有しており、この一つのGUIDを再生成していくとして説明を行ったが、画像データ毎にGUIDを設定してもよい。この場合のGUIDは、プリンタのシリアル番号と連番とキーコードに対応する何らかの情報(例えば、画像ファイル名、もしくはキーコードそれ自体)等から生成される。   In the above description, one GUID has one printer, and it has been described that one GUID is regenerated. However, a GUID may be set for each image data. The GUID in this case is generated from some information (for example, the image file name or the key code itself) corresponding to the serial number, serial number, and key code of the printer.

また、画像データをあるカテゴリー毎に分類し、分類されたカテゴリー毎にプリンタがGUIDを生成するようにしてもよい。この場合には、書き込みモードの定義及び書き込みモードへの移行及び終了指示をあるカテゴリーに対する書き込みモード、及び書き込みモードへの移行及び終了指示に改めればよい。   Further, the image data may be classified for each category, and the printer may generate a GUID for each classified category. In this case, the definition of the write mode and the instruction to shift to and end the write mode may be changed to the write mode for a certain category and the instruction to shift to and end the write mode.

本発明の一実施形態に係るPOSシステムの構成図である。1 is a configuration diagram of a POS system according to an embodiment of the present invention. 画像登録装置およびプリンタの制御ブロック図である。It is a control block diagram of an image registration apparatus and a printer. プリンタが記憶する設定値を示す図である。FIG. 4 is a diagram illustrating setting values stored in a printer. レシート装飾処理の一例を示す説明図である。It is explanatory drawing which shows an example of a receipt decoration process. 印刷制御プログラムの詳細構成を示すブロック図である。3 is a block diagram illustrating a detailed configuration of a print control program. FIG. ゲートウェイのウィンドウの表示例である。It is a display example of the window of a gateway. グラフィックスレジスターのウィンドウに表示される画面表示の一模式図である。It is a schematic diagram of the screen display displayed on the window of a graphics register. グラフィックスレジスターのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of a graphics register. グラフィックスレジスターのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of a graphics register. グラフィックスレジスターのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of a graphics register. レシートデザイナーのウィンドウに表示される画面表示の一模式図である。It is a schematic diagram of a screen display displayed on the window of the receipt designer. レシートデザイナーのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of the receipt designer. レシートデザイナーのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of the receipt designer. レシートデザイナーのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of the receipt designer. レシートデザイナーのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of the receipt designer. レシートデザイナーのウィンドウに表示される画面表示の他の模式図である。It is another schematic diagram of the screen display displayed on the window of the receipt designer. 画像データのプリンタへの登録の流れを示すフローチャートである。6 is a flowchart illustrating a flow of registration of image data in a printer. 画像データのプリンタからの削除の流れを示すフローチャートである。6 is a flowchart illustrating a flow of deleting image data from a printer. プリンタに登録された画像データのプレビューの流れを示すフローチャートである。4 is a flowchart illustrating a preview flow of image data registered in a printer.

符号の説明Explanation of symbols

10 画像登録装置
50 プリンタ
60 ゲートウェイ
66 登録画像データ情報ファイル(登録ログファイル)
70 グラフィックスレジスター
80 レシートデザイナー
10 Image Registration Device 50 Printer 60 Gateway 66 Registered Image Data Information File (Registration Log File)
70 Graphics Register 80 Receipt Designer

Claims (13)

画像登録装置と通信可能に接続されるプリンタであって、
前記画像登録装置から送信される画像データを受信するデータ送受信部と、
受信する画像データを所定の記憶領域に登録する画像登録部と、
前記画像登録部による処理が実行される毎に識別番号を書き換える識別番号書換部と、を備え、
前記データ送受信部は、前記識別番号書換部が前記識別番号を書き換える毎に、前記画像登録装置に前記識別番号を送信することを特徴とするプリンタ。
A printer communicably connected to an image registration device,
A data transmission / reception unit for receiving image data transmitted from the image registration device;
An image registration unit for registering received image data in a predetermined storage area;
An identification number rewriting unit that rewrites the identification number each time processing by the image registration unit is performed,
The data transmission / reception unit transmits the identification number to the image registration device every time the identification number rewriting unit rewrites the identification number.
前記識別番号は、前記プリンタのシリアル番号と所定の文字列から構成されることを特徴とする請求項1に記載のプリンタ。   The printer according to claim 1, wherein the identification number includes a serial number of the printer and a predetermined character string. 互いに通信可能に接続される画像登録装置とプリンタとから構成されるプリンタシステムであって、
前記画像登録装置は、前記プリンタに画像データの登録または削除を指示し、
前記プリンタは、前記画像登録装置から送信される指示または画像データを受信するデータ送受信部と、登録された画像データを所定の記憶領域に登録する画像登録部と、前記画像登録部による処理が実行される毎に識別番号を書き換える識別番号書換部と、を備え、
前記プリンタの前記データ送受信部は、前記識別番号書換部が前記識別番号を書き換える毎に、前記画像登録装置に前記識別番号を送信することを特徴とするプリンタシステム。
A printer system including an image registration apparatus and a printer that are communicably connected to each other,
The image registration device instructs the printer to register or delete image data,
The printer executes a data transmission / reception unit that receives an instruction or image data transmitted from the image registration device, an image registration unit that registers registered image data in a predetermined storage area, and processing by the image registration unit An identification number rewriting unit that rewrites the identification number each time
The printer system according to claim 1, wherein the data transmission / reception unit of the printer transmits the identification number to the image registration device every time the identification number rewriting unit rewrites the identification number.
前記画像登録装置は、前記プリンタから前記識別番号が送信される毎に、前記プリンタに送信した画像データと当該画像データのそれぞれに対応して設けられたキーコードとが関連づけられた登録画像データ情報ファイルを前記送信された識別番号と関連づけすることを特徴とする請求項3に記載のプリンタシステム。   Each time the identification number is transmitted from the printer, the image registration device registers image data information in which image data transmitted to the printer is associated with a key code provided corresponding to each of the image data. 4. The printer system according to claim 3, wherein a file is associated with the transmitted identification number. 前記画像登録装置は、前記画像データを送信する以前に、前記プリンタから前記識別番号を受信し、受信した識別番号と一致する登録画像データ情報ファイルが存在しているとき、前記画像データを前記プリンタに送信し、前記登録画像データ情報ファイルに前記画像データの情報を追記して、新しい登録画像データ情報ファイルを生成することを特徴とする請求項4に記載のプリンタシステム。   The image registration device receives the identification number from the printer before transmitting the image data, and when there is a registered image data information file that matches the received identification number, the image data is transferred to the printer. 5. The printer system according to claim 4, wherein a new registered image data information file is generated by adding the information of the image data to the registered image data information file and adding the information of the image data to the registered image data information file. 前記画像登録装置は、前記画像データを送信する以前に、前記プリンタから前記識別番号を受信し、受信した識別番号と一致する登録画像データ情報ファイルが存在しないとき、前記画像データを前記プリンタに送信し、前記画像データの情報のみを持つ新しい登録画像データ情報ファイルを生成することを特徴とする請求項4に記載のプリンタシステム。   The image registration device receives the identification number from the printer before transmitting the image data, and transmits the image data to the printer when there is no registered image data information file that matches the received identification number. 5. The printer system according to claim 4, wherein a new registered image data information file having only the image data information is generated. 前記画像登録装置は、前記プリンタに登録された画像データの削除指示を送信する以前に、前記プリンタから前記識別番号を受信し、前記削除指示を前記プリンタに送信した後、受信した識別番号と一致する登録画像データ情報ファイルが存在しているとき、登録画像データ情報ファイルから前記画像データの情報を削除することを特徴とする請求項4に記載のプリンタシステム。   The image registration device receives the identification number from the printer before transmitting an instruction to delete the image data registered in the printer, and after transmitting the deletion instruction to the printer, matches the received identification number. 5. The printer system according to claim 4, wherein when there is a registered image data information file to be deleted, the image data information is deleted from the registered image data information file. 前記画像登録装置は、前記プリンタに登録された画像データの表示を行う以前に、前記プリンタから前記識別番号を受信し、受信した識別番号と一致する登録画像データ情報ファイルが存在しているときのみ、プリンタから画像データを取得することなく前記画像データの表示を行うことを特徴とする請求項4に記載のプリンタシステム。   The image registration device receives the identification number from the printer before displaying the image data registered in the printer, and only when a registered image data information file that matches the received identification number exists. 5. The printer system according to claim 4, wherein the image data is displayed without acquiring the image data from the printer. 前記画像登録装置は、前記所定のファイルを参照して、登録画像データ情報ファイルに書かれている画像データの情報に関しては、プリンタから画像データを取得することなく、前記画像データの表示を行うことを特徴とする請求項7に記載のプリンタシステム。   The image registration device refers to the predetermined file, and displays the image data without acquiring the image data from the printer with respect to the image data information written in the registered image data information file. The printer system according to claim 7. 画像登録装置と通信可能に接続されるプリンタの制御方法であって、
前記画像登録装置から送信される画像データに関する指示を受信するステップと、
前記画像データに関する指示に応じて画像データに対し所定の処理を実行するステップと、
前記所定の処理が実行される毎に識別番号を書き換えるステップと、
前記書き換えられた識別番号を前記画像登録装置に送信するステップと、を備えたプリンタの制御方法。
A method for controlling a printer communicably connected to an image registration apparatus,
Receiving an instruction regarding image data transmitted from the image registration device;
Performing predetermined processing on the image data in response to an instruction relating to the image data;
Rewriting the identification number each time the predetermined process is executed;
And a step of transmitting the rewritten identification number to the image registration apparatus.
前記画像データに関する指示は、前記プリンタへの画像データの登録指示であり、前記画像データが登録されると、前記識別番号が書き換えられ、前記画像登録装置に送信されることを特徴とする請求項10に記載のプリンタの制御方法。   The instruction relating to the image data is an instruction to register image data in the printer, and when the image data is registered, the identification number is rewritten and transmitted to the image registration apparatus. The printer control method according to claim 10. 前記画像データに関する指示は、前記プリンタから画像データの削除指示であり、前記画像データが削除されると、前記識別番号が書き換えられ、前記画像登録装置に送信されることを特徴とする請求項10に記載のプリンタの制御方法。   11. The instruction relating to the image data is an instruction to delete image data from the printer, and when the image data is deleted, the identification number is rewritten and transmitted to the image registration apparatus. The printer control method as described in 1. 前記識別番号は、前記プリンタのシリアル番号と所定の文字列から構成されることを特徴とする請求項10〜12の何れか1項に記載のプリンタの制御方法。   The printer control method according to claim 10, wherein the identification number includes a serial number of the printer and a predetermined character string.
JP2005174358A 2005-04-15 2005-06-14 Printer, printer system, and printer control method Expired - Fee Related JP4779455B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2005174358A JP4779455B2 (en) 2005-06-14 2005-06-14 Printer, printer system, and printer control method
US11/404,726 US7884958B2 (en) 2005-04-15 2006-04-14 Printer system, printer, and image registration method
US13/012,355 US8237971B2 (en) 2005-04-15 2011-01-24 Printer system, printer, and image registration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005174358A JP4779455B2 (en) 2005-06-14 2005-06-14 Printer, printer system, and printer control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011103393A Division JP4894967B2 (en) 2011-05-06 2011-05-06 Printer system

Publications (2)

Publication Number Publication Date
JP2006346946A true JP2006346946A (en) 2006-12-28
JP4779455B2 JP4779455B2 (en) 2011-09-28

Family

ID=37643292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005174358A Expired - Fee Related JP4779455B2 (en) 2005-04-15 2005-06-14 Printer, printer system, and printer control method

Country Status (1)

Country Link
JP (1) JP4779455B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656008B (en) * 2008-08-18 2011-12-28 精工爱普生株式会社 Receipt issuing device, control method for a receipt issuing device
JP2013105181A (en) * 2011-11-10 2013-05-30 Seiko Epson Corp Control unit, control method for control unit, and program
JP2013105407A (en) * 2011-11-16 2013-05-30 Seiko Epson Corp Control unit, control method for control unit, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02277667A (en) * 1989-04-20 1990-11-14 Pfu Ltd Registering method for character through operating panel of printer
JPH0732678A (en) * 1993-07-22 1995-02-03 Nec Corp Document outputting device
JP2003175645A (en) * 1992-01-16 2003-06-24 Ricoh Co Ltd Printer with scanner
JP2004142172A (en) * 2002-10-23 2004-05-20 Sato Corp Print system and printing method
JP2004348414A (en) * 2003-05-22 2004-12-09 Seiko Epson Corp Print controller of pos system, and registration method and initialization method for image data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02277667A (en) * 1989-04-20 1990-11-14 Pfu Ltd Registering method for character through operating panel of printer
JP2003175645A (en) * 1992-01-16 2003-06-24 Ricoh Co Ltd Printer with scanner
JPH0732678A (en) * 1993-07-22 1995-02-03 Nec Corp Document outputting device
JP2004142172A (en) * 2002-10-23 2004-05-20 Sato Corp Print system and printing method
JP2004348414A (en) * 2003-05-22 2004-12-09 Seiko Epson Corp Print controller of pos system, and registration method and initialization method for image data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656008B (en) * 2008-08-18 2011-12-28 精工爱普生株式会社 Receipt issuing device, control method for a receipt issuing device
US8953195B2 (en) 2008-08-18 2015-02-10 Seiko Epson Corporation Receipt issuing device, control method for a receipt issuing device, printing device, and control method for a printing device
US9830585B2 (en) 2008-08-18 2017-11-28 Seiko Epson Corporation Receipt issuing device, control method for a receipt issuing device, printing device, and control method for a printing device
JP2013105181A (en) * 2011-11-10 2013-05-30 Seiko Epson Corp Control unit, control method for control unit, and program
JP2013105407A (en) * 2011-11-16 2013-05-30 Seiko Epson Corp Control unit, control method for control unit, and program

Also Published As

Publication number Publication date
JP4779455B2 (en) 2011-09-28

Similar Documents

Publication Publication Date Title
US7884958B2 (en) Printer system, printer, and image registration method
JP4595399B2 (en) Printing apparatus, program, and printing method
JP4027274B2 (en) Information processing apparatus, control method therefor, and program
JP2006338443A (en) Filter device driver, duplication printing control method and its control program
JP4779455B2 (en) Printer, printer system, and printer control method
JP4692053B2 (en) Image registration apparatus, image confirmation method, and image preview program
JP2003291423A (en) Printer, printer controlling method, pos system, program for executing the methods by computer, and recording medium with the program recorded
AU2009342571B2 (en) Printer device and printer system
JP4894967B2 (en) Printer system
JP4492188B2 (en) POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system
JP4087788B2 (en) Information processing apparatus, control method therefor, and program
JP2006301738A (en) Image registration apparatus, and image registration deleting method and program
JP4748275B2 (en) Printing apparatus, program, and printing method
JP4492261B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD AND PROGRAM FOR PRINT CONTROL DEVICE
JP4726250B2 (en) Information processing apparatus, control method therefor, and computer program
JP2007054986A (en) Printer and its control method
JP2013041440A (en) Output control device, control method of control device, and program
JP2006076163A (en) Print controller, program, and test printing method of print controller
JP4648289B2 (en) Screen input device and screen input control program
JP4587182B2 (en) Information processing apparatus, control method therefor, and computer program
JP2006044232A (en) Printing apparatus, program, and printing control method
US20180091659A1 (en) Printer and printer control method
JP2006076162A (en) Method for generating test print data, print controller and program
JP2006007523A (en) Printer, program, and printing method
EP1253549B1 (en) Printer with forms overlay

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080408

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110308

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110506

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

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

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

Free format text: PAYMENT UNTIL: 20140715

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4779455

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

LAPS Cancellation because of no payment of annual fees