Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4540419B2 - Printer and printing system - Google Patents
[go: Go Back, main page]

JP4540419B2 - Printer and printing system - Google Patents

Printer and printing system Download PDF

Info

Publication number
JP4540419B2
JP4540419B2 JP2004216493A JP2004216493A JP4540419B2 JP 4540419 B2 JP4540419 B2 JP 4540419B2 JP 2004216493 A JP2004216493 A JP 2004216493A JP 2004216493 A JP2004216493 A JP 2004216493A JP 4540419 B2 JP4540419 B2 JP 4540419B2
Authority
JP
Japan
Prior art keywords
data
printer
scanner
command
control unit
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.)
Expired - Fee Related
Application number
JP2004216493A
Other languages
Japanese (ja)
Other versions
JP2006035522A (en
Inventor
和之 金子
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.)
Sato Corp
Original Assignee
Sato Holdings Corp
Sato 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 Sato Holdings Corp, Sato Corp filed Critical Sato Holdings Corp
Priority to JP2004216493A priority Critical patent/JP4540419B2/en
Publication of JP2006035522A publication Critical patent/JP2006035522A/en
Application granted granted Critical
Publication of JP4540419B2 publication Critical patent/JP4540419B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、ホスト装置及び外部機器を接続し、印刷媒体に情報の印刷を行うプリンタと、当該プリンタ、ホスト装置及び外部機器により構成されるプリントシステムと、前記プリンタにおいて実行されるデータ中継プログラムに関する。   The present invention relates to a printer that connects a host device and an external device and prints information on a print medium, a printing system that includes the printer, the host device, and the external device, and a data relay program that is executed in the printer. .

従来より、ラベル等の印刷媒体にバーコード等の情報を印刷するプリンタには、スキャナを外部接続し、当該スキャナにより印刷媒体に印刷された情報を読み取らせて、印刷が正しく行われたか否かを検証することが可能なものが存在する(例えば、特許文献1参照)。このようなプリンタでは、スキャナを動作させるためのプログラムは、プリンタ内のROM(Read Only Memory)に組み込まれている。   Conventionally, a printer that prints information such as a barcode on a print medium such as a label is externally connected to the scanner, and the information printed on the print medium is read by the scanner to check whether printing has been performed correctly. Can be verified (see, for example, Patent Document 1). In such a printer, a program for operating the scanner is incorporated in a ROM (Read Only Memory) in the printer.

印刷時において、プリンタは、ROM内のプログラムを実行して、スキャナの設定を行い、パーソナルコンピュータ等のホスト装置から送られる印刷データの受信待ちの状態となる。そして、プリンタは、ホスト装置から印刷データが送られた場合には、その印刷データに基づいてラベル等に印刷を行う。更に、プリンタは、スキャナに印刷された情報を読み取らせて、読み取られた情報に対応するデータ(読取データ)と印刷データとの照合を行う。なお、ホスト装置がプリンタの代わりに読取データと印刷データとの照合を行うようにしても良い。照合の結果、印刷が正しく行なわれたと判断される場合には、次の印刷データがホスト装置からプリンタに送られ、プリンタは、更にラベル等への印刷を行う。一方、照合の結果、印刷が正しく行なわれなかったと判断される場合には、プリンタは、エラーコマンドの発行を行ったり、内蔵する表示パネルにエラーコメントの表示を行う。
特開2003−11941号公報
At the time of printing, the printer executes a program in the ROM, sets the scanner, and waits for reception of print data sent from a host device such as a personal computer. Then, when print data is sent from the host device, the printer prints on a label or the like based on the print data. Further, the printer causes the scanner to read the printed information, and collates the data (read data) corresponding to the read information with the print data. The host device may collate the read data with the print data instead of the printer. As a result of the collation, if it is determined that printing has been performed correctly, the next print data is sent from the host device to the printer, and the printer further prints on a label or the like. On the other hand, if it is determined as a result of the collation that printing has not been performed correctly, the printer issues an error command or displays an error comment on a built-in display panel.
JP 2003-111941 A

上述した従来のプリンタでは、スキャナを動作させるためのプログラムは接続されるスキャナの機種、製造メーカ等により異なる。このため、多種多様なスキャナを動作させるためには、スキャナを動作させるためのプログラムが組み込まれたROMをスキャナ毎に用意して、スキャナを交換する都度、ROMを交換する必要がある。このような作業は、時間を要し、煩雑であった。   In the above-described conventional printer, the program for operating the scanner differs depending on the model of the connected scanner, the manufacturer, and the like. For this reason, in order to operate a wide variety of scanners, it is necessary to prepare a ROM incorporating a program for operating the scanner for each scanner, and to replace the ROM each time the scanner is replaced. Such work is time consuming and complicated.

本発明は従来の問題を解決するためになされたもので、接続される外部機器を簡易に動作可能とするプリンタ及びプリントシステムを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a printer and a printing system that can easily operate an external device to be connected.

発明に係るプリントシステムは、印刷媒体に情報の印刷を行うプリンタと、前記プリンタに接続されるホスト装置及びスキャナ装置とを有するプリントシステムであって、前記ホスト装置は、前記プリンタデータを送信する送信手段印刷データと読取データを照合して一致するか否かを判定する判定手段とを有し、前記プリンタは、前記ホスト装置との間でデータの送受信を行う第1の中継手段と、前記スキャナ装置との間でデータの送受信を行う第2の中継手段と、 前記第1の中継手段により受信されたデータを解析し、このデータが前記プリンタを動作させるためのデータであるか、又は印刷データか、又は前記スキャナ装置の動作に関するデータか否か判定する解析手段と、前記解析手段によりプリンタを動作させるためのデータであると判定すると、このデータに応じた動作制御を行い、印刷データであると判定すると前記印刷媒体に印刷し、前記スキャナ装置の動作に関するデータであると判定すると前記第2の中継手段により前記スキャナに送信する制御手段を有し、前記スキャナ装置は、前記ホスト装置から送信された印刷データに基づいて前記プリンタで印刷媒体に印刷された情報を前記スキャナ装置によって読取って前記第2の中継手段を介して読取データをプリンタに送信し、この読取データを第1の中継手段を介して前記プリンタがホスト装置に送信し、前記ホスト装置は前記判定手段によって前記印刷データと前記読取データを照合して一致するか否かを判定することを特徴とする。
Printing system according to the present invention, a printer for printing information on a printing medium, a printing system having a host device and a scanner device connected to the printer, the host device may send the printer and data has a transmission receiving means for receiving, the determination means for determining whether matching by matching data read and print data, the printer first performs transmission and reception of data to and from the host apparatus A first relay unit, a second relay unit that transmits and receives data to and from the scanner device, and the data received by the first relay unit is analyzed, and the data is used to operate the printer. whether the data, or print data, or analyzing means for determining whether data or not related to the operation of the scanner device, for operating the printer by the analysis means If it is determined that the data is, the operation control according to the data is performed. If it is determined that the data is print data, printing is performed on the print medium. If the data is related to the operation of the scanner device, the second relay unit Control means for transmitting to the scanner by the scanner, and the scanner device reads the information printed on the print medium by the printer based on the print data transmitted from the host device, and reads the second information by the scanner device. The read data is transmitted to the printer via the relay means, and the printer transmits the read data to the host device via the first relay means. The host device sends the print data and the read data by the determination means. It is characterized by determining whether or not they match by matching.

また、本発明に係るプリントシステムは、前記判定手段が前記印刷データと前記読取データが一致しないと判定すると、前記ホスト装置がプリンタを動作させるためのデータとしてエラー表示要求データを前記プリンタに送信し、前記プリンタにエラーを表示させることを特徴とする。
In the print system according to the present invention, when the determination unit determines that the print data and the read data do not match, the host device transmits error display request data to the printer as data for operating the printer. An error is displayed on the printer.

本発明は、プリンタにホスト装置と外部機器とが接続されている場合において、プリンタがホスト装置からの外部機器の動作に関するデータを外部機器へ中継することにより、外部機器において外部機器の動作に関するデータに応じた動作が実現され、ホスト装置による外部機器の制御が可能となる。このため、プリンタに搭載される、外部機器を動作させるためのプログラムが組み込まれたROMを、外部機器を交換する都度交換するといった煩雑さを解消し、外部機器を簡易に動作可能とすることができる。   According to the present invention, when a host device and an external device are connected to a printer, the printer relays data related to the operation of the external device from the host device to the external device, whereby the data related to the operation of the external device in the external device. Accordingly, the host device can control the external device. For this reason, it is possible to eliminate the trouble of exchanging the ROM installed in the printer and incorporating the program for operating the external device every time the external device is replaced, thereby enabling the external device to be operated easily. it can.

以下、本発明の実施の形態のプリントシステムについて、図面を用いて説明する。   Hereinafter, a printing system according to an embodiment of the present invention will be described with reference to the drawings.

本発明の実施の形態におけるプリントシステムのブロック図を図1に示す。図1に示すプリントシステムは、ラベル用紙300において台紙310に仮着されたラベル320の表面に印刷を行うプリンタ100と、このプリンタに接続されるパーソナルコンピュータ等のホスト400と、ラベル320に印刷された情報を読み取るスキャナ500とを有する。   FIG. 1 shows a block diagram of a printing system according to an embodiment of the present invention. The printing system shown in FIG. 1 is printed on a label 100 and a printer 100 that performs printing on the surface of a label 320 temporarily attached to a mount 310, a host 400 such as a personal computer connected to the printer, and a label 320. A scanner 500 for reading the received information.

プリンタ100は、制御部102、ラベル搬送機構(プラテンローラ)104、供給ローラ106、光反射センサ112、サーマルヘッド(印刷ヘッド)114、操作・表示パネル116、データポート118及びステータスポート120を有する。   The printer 100 includes a control unit 102, a label transport mechanism (platen roller) 104, a supply roller 106, a light reflection sensor 112, a thermal head (print head) 114, an operation / display panel 116, a data port 118, and a status port 120.

供給ローラ106の回転軸には、ロール状に巻回されたラベル用紙300が装着される。ラベル搬送機構104は、回転駆動することにより、ラベル用紙300を供給ローラ106の回転軸から繰り出す。ラベルエンド検出センサ105は、ラベル用紙300の終端の検出、換言すれば、用紙切れの検出を行う。   A label sheet 300 wound in a roll shape is mounted on the rotation shaft of the supply roller 106. The label transport mechanism 104 is driven to rotate to feed the label paper 300 from the rotation shaft of the supply roller 106. The label end detection sensor 105 detects the end of the label sheet 300, in other words, detects the out of sheet.

光反射センサ112は、供給ローラ106の回転軸から繰り出されたラベル用紙300の台紙310の裏面に印刷された検出マーク(アイマーク)を検出する。サーマルヘッド114は、ラベル用紙300を挟んでラベル搬送機構104に対向する位置に配置され、光反射センサ112がアイマークを検出し、そのアイマークの裏面にあるラベル320の先端がサーマルヘッド114まで搬送されてから、ラベル320の表面に情報(例えば、文字、バーコード、2次元バーコード等の視認あるいは光学的認識が可能な情報)を印刷する。例えば、サーマルヘッド114は、内蔵する発熱素子(図示せず)を発熱させることにより、ラベル320の表面を感熱発色させることにより印刷を行う。なお、サーマルヘッド114の印字方式は、感熱発色式に限定されるものではなく、熱転写式やインクジェット方式であっても良い。   The light reflection sensor 112 detects a detection mark (eye mark) printed on the back surface of the mount 310 of the label paper 300 fed out from the rotation axis of the supply roller 106. The thermal head 114 is disposed at a position facing the label transport mechanism 104 with the label sheet 300 interposed therebetween, and the light reflection sensor 112 detects the eye mark, and the leading end of the label 320 on the back surface of the eye mark extends to the thermal head 114. After being conveyed, information (for example, information that enables visual recognition or optical recognition of characters, barcodes, two-dimensional barcodes, etc.) is printed on the surface of the label 320. For example, the thermal head 114 performs printing by causing the surface of the label 320 to thermally develop color by generating heat from a built-in heating element (not shown). The printing method of the thermal head 114 is not limited to the thermal coloring method, and may be a thermal transfer method or an ink jet method.

操作・表示パネル116は、操作キーが配置されるとともに、プリンタ100に関する様々な情報を表示する画面が配置される。   On the operation / display panel 116, operation keys are arranged, and a screen for displaying various information about the printer 100 is arranged.

データポート118は、プリンタ100と外部接続されたホスト400との間の通信に関する様々な制御処理を行うものであり、例えば、100BASE−Tや1000BASE−T等のイーサネット(登録商標)の規格に対応している。具体的には、データポート118は、ホスト400からのプリンタ100やスキャナ500を動作させるためのコマンドを受信するとともに、そのコマンドの実行結果をホスト400へ送信する。また、データポート118は、ホスト400からのラベル320に印刷する印刷データを受信する。   The data port 118 performs various control processes related to communication between the printer 100 and the externally connected host 400, and supports, for example, Ethernet (registered trademark) standards such as 100BASE-T and 1000BASE-T. is doing. Specifically, the data port 118 receives a command for operating the printer 100 and the scanner 500 from the host 400 and transmits the execution result of the command to the host 400. The data port 118 receives print data to be printed on the label 320 from the host 400.

ステータスポート120は、プリンタ100と外部接続されたスキャナ500との間の通信に関する様々な制御処理を行うものであり、例えば、シリアル通信の規格であるRS−232Cに対応している。具体的には、ステータスポート120は、スキャナ500を動作させるためのコマンドを当該スキャナ500へ送信するとともに、スキャナ500からのそのコマンドの実行結果を受信する。また、ステータスポート120は、スキャナ500によってラベル320から読み取られた情報に対応するデータ(読取データ)を受信する。   The status port 120 performs various control processes related to communication between the printer 100 and the externally connected scanner 500, and corresponds to, for example, RS-232C, which is a serial communication standard. Specifically, the status port 120 transmits a command for operating the scanner 500 to the scanner 500 and receives an execution result of the command from the scanner 500. The status port 120 receives data (read data) corresponding to information read from the label 320 by the scanner 500.

制御部102は、上述したプリンタ100の各部を制御する。この制御部102は、ROM(Read Only Memory)122及びRAM(Random Access Memory)124を内蔵している。ROM122には、プリンタ100のプリント機構(ラベル320に印刷を行う機構)を制御するためのプリンタ制御プログラムや、プリンタ100の動作に必要となる各種データが格納されている。また、RAM124には、プリンタ100の動作に必要な各種データが格納されるとともに、スキャナ500によってラベル320から読み取られた情報に対応する読取データが展開されるエリア、ラベル320に印刷される情報が展開されるエリア、ワークエリア等が形成される。   The control unit 102 controls each unit of the printer 100 described above. The control unit 102 includes a ROM (Read Only Memory) 122 and a RAM (Random Access Memory) 124. The ROM 122 stores a printer control program for controlling the printing mechanism of the printer 100 (mechanism for printing on the label 320) and various data necessary for the operation of the printer 100. The RAM 124 stores various data necessary for the operation of the printer 100, and also includes an area where read data corresponding to information read from the label 320 by the scanner 500 is developed, and information printed on the label 320. An area to be developed, a work area, and the like are formed.

制御部102は、データポート118によってホスト400からのデータが受信されると、このデータを解析する。制御部102は、プリンタ制御プログラム等により、プリンタ100を動作させるためのコマンドと印刷データについて特定することが可能である。解析によりデータがプリンタ100を動作させるためのコマンドであると判定した場合には、制御部102は、このコマンドに応じた動作制御を行う。また、解析によりデータが印刷データであると判定した場合には、制御部102は、この印刷データをラベル320に印刷するための動作制御を行う。更に、データがプリンタ100を動作させるためのコマンドでも印刷データでもない場合には、制御部102は、データがスキャナ500を動作させるためのコマンドであると判定し、このコマンドを、ステータスポート120を介してスキャナ500へ送信する制御を行う。このような判定により、制御部102は、スキャナ500を動作させるためのコマンドを把握していなくても、そのコマンドを他のデータと区別することが可能である。   When the data from the host 400 is received by the data port 118, the control unit 102 analyzes this data. The control unit 102 can specify a command and print data for operating the printer 100 by a printer control program or the like. When the analysis determines that the data is a command for operating the printer 100, the control unit 102 performs operation control according to the command. In addition, when it is determined by analysis that the data is print data, the control unit 102 performs operation control for printing the print data on the label 320. Further, when the data is neither a command for operating the printer 100 nor print data, the control unit 102 determines that the data is a command for operating the scanner 500, and sends this command to the status port 120. Control to be transmitted to the scanner 500. By such determination, the control unit 102 can distinguish the command from other data without knowing the command for operating the scanner 500.

また、制御部102は、プリンタ100を動作させるためのコマンドの実行結果を、データポート118を介してホスト400へ送信する制御を行う。また、制御部102は、ステータスポート120によってスキャナ500からの読取データを受信した場合には、この読取データを、データポート118を介してホスト400へ送信する制御を行う。   In addition, the control unit 102 performs control to transmit a command execution result for operating the printer 100 to the host 400 via the data port 118. Further, when the read data from the scanner 500 is received through the status port 120, the control unit 102 performs control to transmit the read data to the host 400 via the data port 118.

ホスト400は、データポート118に対して、プリンタ100やスキャナ500を動作させるためのコマンドを送信するとともに、ラベル320に印刷する印刷データを送信する。また、ホスト400は、データポート118からのコマンドの実行結果や読取データを受信する。   The host 400 transmits a command for operating the printer 100 and the scanner 500 to the data port 118 and transmits print data to be printed on the label 320. The host 400 also receives command execution results and read data from the data port 118.

スキャナ500は、ステータスポート120からのスキャナ500を動作させるためのコマンドを受信し、そのコマンドに応じた動作を行う。また、スキャナ500は、レーザを点灯してラベル320や他の媒体に印刷された情報を読み取り、読取データとしてステータスポート120へ送信する。   The scanner 500 receives a command for operating the scanner 500 from the status port 120, and performs an operation according to the command. In addition, the scanner 500 turns on the laser, reads information printed on the label 320 and other media, and transmits the information to the status port 120 as read data.

次に、ラベル320に印刷された情報の検証を行う場合におけるプリントシステムの動作を説明する。   Next, the operation of the print system when the information printed on the label 320 is verified will be described.

ラベル320に印刷された情報の検証時におけるホスト400の動作のフローチャートを図2に示す。   A flowchart of the operation of the host 400 at the time of verifying the information printed on the label 320 is shown in FIG.

ホスト400は、プリンタ100へスキャナ初期化コマンドを送信する(S201)。このスキャナ初期化コマンドは、プリンタ100からスキャナ500へ送られ、スキャナ500が初期化される。   The host 400 transmits a scanner initialization command to the printer 100 (S201). This scanner initialization command is sent from the printer 100 to the scanner 500, and the scanner 500 is initialized.

次に、ホスト400は、プリンタ100へスキャナ準備コマンドを送信する(S202)。このスキャナ初期化コマンドは、プリンタ100からスキャナ500へ送られ、スキャナ500は、レーザを点灯してラベル320に印刷された情報を読み取り可能な状態となる。   Next, the host 400 transmits a scanner preparation command to the printer 100 (S202). This scanner initialization command is sent from the printer 100 to the scanner 500, and the scanner 500 is in a state in which the information printed on the label 320 can be read by turning on the laser.

更に、ホスト400は、プリンタ100へ読取データ削除コマンドを送信する(S203)。プリンタ100内の制御部102は、この読取データ削除コマンドに応じて、以前にスキャナ500によって読み取られ、RAM124に格納されている読取データを削除する制御を行う。   Further, the host 400 transmits a read data deletion command to the printer 100 (S203). In response to the read data deletion command, the control unit 102 in the printer 100 performs control to delete the read data previously read by the scanner 500 and stored in the RAM 124.

次に、ホスト400は、プリンタ100へ印刷データを送信する(S204)。プリンタ100内の制御部102は、この印刷データを受信すると、ラベル320に印刷する処理を行う。   Next, the host 400 transmits print data to the printer 100 (S204). When the control unit 102 in the printer 100 receives this print data, it performs a process of printing on the label 320.

次に、ホスト400は、プリンタ100へ読取データ要求コマンドを送信する(S205)。プリンタ100内の制御部102は、この読取データ要求コマンドに応じて、新たにスキャナ500によって読み取られ、RAM124に格納されている読取データが存在する場合には、その読取データをホスト400へ送信する制御を行う。   Next, the host 400 transmits a read data request command to the printer 100 (S205). In response to the read data request command, the control unit 102 in the printer 100 transmits the read data to the host 400 when there is read data newly read by the scanner 500 and stored in the RAM 124. Take control.

次に、ホスト400は、プリンタ100からの読取データを受信したか否かを判定する(S206)。読取データを受信した場合には、ホスト400は、S204において送信した印刷データと受信した読取データとを照合し(S207)、これらのデータが一致したか否かを判定する(S208)。   Next, the host 400 determines whether or not the read data from the printer 100 has been received (S206). When the read data is received, the host 400 collates the print data transmitted in S204 with the received read data (S207), and determines whether or not these data match (S208).

印刷データと読取データとが一致する場合には、ラベル320への印刷が正常に行われている。この場合、ホスト400は、プリンタ100へ読取停止コマンドを送信する(S209)。この読取停止コマンドは、プリンタ100からスキャナ500へ送られ、スキャナ500は、レーザを消灯してラベル320に印刷された情報を読み取り不可能な状態となる。   If the print data and the read data match, printing on the label 320 is normally performed. In this case, the host 400 transmits a reading stop command to the printer 100 (S209). This reading stop command is sent from the printer 100 to the scanner 500, and the scanner 500 turns off the laser and cannot read the information printed on the label 320.

更に、ホスト400は、次の印刷の検証を可能とすべく、次の印刷データを準備し(S210)、スキャナ準備コマンドの送信(S202)以降の動作を繰り返す。   Further, the host 400 prepares the next print data so that the next print can be verified (S210), and repeats the operation after the transmission of the scanner preparation command (S202).

一方、印刷データと読取データとが一致しない場合には、ラベル320への印刷が正常に行われていない。この場合には、ホスト400は、プリンタ100へエラー表示要求コマンドを送信する(S211)。プリンタ100内の制御部102は、このエラー表示要求コマンドに応じて、ラベル320への印刷が正常に行われなかった旨のエラー表示のための処理を行う。   On the other hand, if the print data does not match the read data, printing on the label 320 is not performed normally. In this case, the host 400 transmits an error display request command to the printer 100 (S211). In response to the error display request command, the control unit 102 in the printer 100 performs a process for displaying an error indicating that printing on the label 320 has not been performed normally.

その後、ホスト400は、プリンタ100へ読取停止コマンドを送信する(S212)。プリンタ100内の制御部102は、この読取停止コマンドは、プリンタ100からスキャナ500へ送られ、スキャナ500は、ラベル320に印刷された情報を読み取り不可能な状態となる。   Thereafter, the host 400 transmits a reading stop command to the printer 100 (S212). The control unit 102 in the printer 100 sends this reading stop command from the printer 100 to the scanner 500, and the scanner 500 becomes incapable of reading the information printed on the label 320.

更に、ホスト400は、エラーが発生した印刷データについての印刷の再度の検証を可能とすべく、そのエラーが発生した印刷データを準備し(S213)、スキャナ準備コマンドの送信(S202)以降の動作を繰り返す。   Further, the host 400 prepares the print data in which the error has occurred in order to enable re-verification of the print for the print data in which the error has occurred (S213), and the operations after the transmission of the scanner preparation command (S202). repeat.

また、S206において読み取りデータを受信していないと判断した場合にも、ホスト400は、プリンタ100へエラー表示要求コマンドを送信する(S211)。プリンタ100内の制御部102は、このエラー表示要求コマンドに応じて、読取データが存在しない旨のエラー表示のための処理を行う。その後、ホスト400は、プリンタ100へ読取停止コマンドを送信し(S212)、更に、エラーが発生した印刷データを準備して(S213)、スキャナ準備コマンドの送信(S202)以降の動作を繰り返す。   Even when it is determined in S206 that read data has not been received, the host 400 transmits an error display request command to the printer 100 (S211). In response to the error display request command, the control unit 102 in the printer 100 performs processing for displaying an error indicating that there is no read data. Thereafter, the host 400 transmits a reading stop command to the printer 100 (S212), further prepares print data in which an error has occurred (S213), and repeats the operations after transmitting the scanner preparation command (S202).

ラベル320に印刷された情報の検証時におけるプリンタ100内の制御部102の動作のフローチャートを図3に示す。   A flowchart of the operation of the control unit 102 in the printer 100 at the time of verifying the information printed on the label 320 is shown in FIG.

制御部102は、データポート118によってホスト400からのスキャナ500を動作させるためのコマンド(スキャナ500向けのコマンド)が受信されたか否かを判定する(S301)。制御部102は、データポート118によって受信されたデータを解析し、この受信データがプリンタ100を動作させるためのコマンドでも印刷データでもない場合には、スキャナ500向けのコマンドであると判定し、当該コマンドを、ステータスポート120を介してスキャナ500へ送信する制御を行う(S302)。   The control unit 102 determines whether or not a command for operating the scanner 500 from the host 400 (command for the scanner 500) is received from the data port 118 (S301). The control unit 102 analyzes the data received by the data port 118. If the received data is neither a command for operating the printer 100 nor print data, the control unit 102 determines that the command is for the scanner 500, and Control is performed to transmit the command to the scanner 500 via the status port 120 (S302).

制御部102は、スキャナ500向けのコマンドをスキャナ500へ送信する制御を行った後、データポート118によってホスト400からの読取データ削除コマンドが受信されたか否かを判定する(S303)。読取データ削除コマンドはプリンタ100を動作させるためのコマンドであるため、制御部102は、このコマンドを特定することが可能である。   The control unit 102 performs control to transmit a command for the scanner 500 to the scanner 500, and then determines whether a read data deletion command from the host 400 is received by the data port 118 (S303). Since the read data deletion command is a command for operating the printer 100, the control unit 102 can specify this command.

読取データ削除コマンドが受信されていない場合には、制御部102は、再びホスト400からのスキャナ500向けのコマンドが受信されたか否かの判定(S301)以降の動作を繰り返す。   When the read data deletion command has not been received, the control unit 102 repeats the operation after the determination whether the command for the scanner 500 from the host 400 is received again (S301).

ホスト500は、図2のS201、S202及びS203に示すように、スキャナ500向けのコマンドであるスキャナ初期化コマンドとスキャナ準備コマンドを送信した後に、読取データ削除コマンドを送信する。従って、制御部102は、ホスト400からのスキャナ500向けのコマンドが受信されたか否かの判定(S301)とスキャナ500へのスキャナ500向けのコマンドの送信制御(S302)とを2回繰り返して、スキャナ初期化コマンドとスキャナ準備コマンドをスキャナ500へ送信する制御を行った後、S303において、読取データ削除コマンドが受信されたと判定することになる。   As shown in S201, S202, and S203 in FIG. 2, the host 500 transmits a scanner initialization command and a scanner preparation command, which are commands for the scanner 500, and then transmits a read data deletion command. Therefore, the control unit 102 repeats the determination of whether or not the command for the scanner 500 from the host 400 has been received (S301) and the transmission control of the command for the scanner 500 to the scanner 500 (S302) twice. After controlling to transmit the scanner initialization command and the scanner preparation command to the scanner 500, it is determined in S303 that the read data deletion command has been received.

そして、読取データ削除コマンドが受信された場合には、制御部102は、以前にスキャナ500によって読み取られ、RAM124に格納されているデータを削除する処理を行う(S304)。   When the read data deletion command is received, the control unit 102 performs a process of deleting data previously read by the scanner 500 and stored in the RAM 124 (S304).

次に、制御部102は、データポート118によってホスト400からの印刷データが受信されたか否かを判定する(S305)。印刷データが受信された場合には、制御部102は、印刷処理を行う(S306)。具体的には、制御部102は、印刷データをサーマルヘッド114へ送信し、サーマルヘッド114は、この受信したデータに基づいて、ラベル320の表面に情報を印刷する。   Next, the control unit 102 determines whether print data from the host 400 has been received by the data port 118 (S305). When the print data is received, the control unit 102 performs print processing (S306). Specifically, the control unit 102 transmits print data to the thermal head 114, and the thermal head 114 prints information on the surface of the label 320 based on the received data.

スキャナ500は、サーマルヘッド114によってラベル320に印刷された情報を読み取った場合には、読取データとしてステータスポート120へ送信する。制御部102は、ステータスポート120によってスキャナ500からの読取データが受信されたか否かを判定する(S307)。読取データが受信された場合には、制御部102は、その読取データをRAM124に保存する処理を行う(S308)。   When the scanner 500 reads the information printed on the label 320 by the thermal head 114, the scanner 500 transmits the information to the status port 120 as read data. The control unit 102 determines whether read data from the scanner 500 has been received by the status port 120 (S307). When the read data is received, the control unit 102 performs processing for storing the read data in the RAM 124 (S308).

更に、制御部102は、データポート118によってホスト400からの読取データ要求コマンドが受信されたか否かを判定する(S309)。読取データ要求コマンドはプリンタ100を動作させるためのコマンドであるため、制御部102は、このコマンドを特定することが可能である。   Further, the control unit 102 determines whether or not a read data request command from the host 400 is received by the data port 118 (S309). Since the read data request command is a command for operating the printer 100, the control unit 102 can specify this command.

読取データ要求コマンドが受信された場合には、制御部102は、S308においてRAM124に保存した読取データを、データポート118を介してホスト400へ送信する制御を行う(S310)。読取データを受信したホスト400は、図2のS207及びS208に示すように、印刷データとの照合を行って一致したか否かを判定することにより、ラベル320に印刷された情報を検証する。   When the read data request command is received, the control unit 102 performs control to transmit the read data stored in the RAM 124 in S308 to the host 400 via the data port 118 (S310). The host 400 that has received the read data verifies the information printed on the label 320 by checking with the print data to determine whether they match as shown in S207 and S208 of FIG.

読取データの送信制御の後、制御部102は、データポート118によってホスト400からのエラー表示要求コマンドが受信されたか否かを判定する(S311)。ホスト400は、読取データと印刷データとが一致しない場合には、図2のS211に示すように、プリンタ100へエラー表示要求コマンドを送信する。この場合、すなわち、ラベル320への印刷が正常に行われず、ホスト400において読取データと印刷データとが一致しなかった場合には、制御部102は、ラベル320への印刷が正常に行われなかった旨のエラーを操作・表示パネル116に表示するための処理を行う(S312)。   After the read data transmission control, the control unit 102 determines whether an error display request command is received from the host 400 by the data port 118 (S311). If the read data does not match the print data, the host 400 transmits an error display request command to the printer 100 as shown in S211 of FIG. In this case, that is, when the printing on the label 320 is not performed normally and the read data and the printing data do not match in the host 400, the control unit 102 does not perform the printing on the label 320 normally. Processing for displaying an error to the effect on the operation / display panel 116 is performed (S312).

その後、制御部102は、ホスト400からのスキャナ500向けコマンドの受信判定(S301)以降の動作を繰り返す。ホスト400は、プリンタ100へエラー表示要求コマンドを送信した後、更に、プリンタ100へ図2のS212及びS202に示すように読取停止コマンド及びスキャナ準備コマンドを送信し、その後、プリンタ100へ読取データ削除コマンドを送信する。従って、制御部102は、エラー表示処理(S312)に続いて、ホスト400からのスキャナ500向けのコマンドが受信されたか否かの判定(S301)とスキャナ500へのスキャナ500向けのコマンドの送信制御(S302)とを2回繰り返して、読取停止コマンドとスキャナ初期化コマンドをスキャナ500へ送信する制御を行った後、S303において、読取データ削除コマンドが受信されたと判定することになる。   Thereafter, the control unit 102 repeats the operations after the determination of receiving the command for the scanner 500 from the host 400 (S301). After sending the error display request command to the printer 100, the host 400 further sends a reading stop command and a scanner preparation command to the printer 100 as shown in S212 and S202 of FIG. Send a command. Therefore, following the error display process (S312), the control unit 102 determines whether or not a command for the scanner 500 from the host 400 has been received (S301) and controls transmission of the command for the scanner 500 to the scanner 500. (S302) is repeated twice, and after the control to transmit the reading stop command and the scanner initialization command to the scanner 500 is performed, it is determined in S303 that the read data deletion command has been received.

一方、エラー表示要求コマンドが受信されない場合、換言すれば、ラベル320への印刷が正常に行われ、ホスト400において読取データと印刷データとが一致した場合には、制御部102は、ホスト400からのスキャナ500向けコマンドの受信判定(S301)以降の動作を繰り返す。ホスト400は、読取データと印刷データとが一致した場合には、プリンタ100へ図2のS209及びS202に示すように読取停止コマンド及びスキャナ準備コマンドを送信し、その後、プリンタ100へ読取データ削除コマンドを送信する。従って、制御部102は、S311において、エラー表示要求コマンドが受信されなかったと判定した場合には、ホスト400からのスキャナ500向けのコマンドが受信されたか否かの判定(S301)とスキャナ500へのスキャナ500向けのコマンドの送信制御(S302)とを2回繰り返して、読取停止コマンドとスキャナ初期化コマンドをスキャナ500へ送信する制御を行った後、S303において、読取データ削除コマンドが受信されたと判定することになる。   On the other hand, when the error display request command is not received, in other words, when the printing on the label 320 is normally performed and the read data and the print data match in the host 400, the control unit 102 receives the command from the host 400. The operations after receiving the command for the scanner 500 (S301) are repeated. When the read data and the print data match, the host 400 transmits a read stop command and a scanner preparation command to the printer 100 as shown in S209 and S202 of FIG. Send. Therefore, if the control unit 102 determines in S <b> 311 that the error display request command has not been received, the control unit 102 determines whether or not a command for the scanner 500 from the host 400 has been received (S <b> 301) and the scanner 500. After the command transmission control for the scanner 500 (S302) is repeated twice to perform the control to transmit the reading stop command and the scanner initialization command to the scanner 500, it is determined in S303 that the read data deletion command has been received. Will do.

また、S307において、スキャナ500からの読取データが受信されなかったと判定した場合には、制御部102は、更に、データポート118によってホスト400からの読取データ要求コマンドが受信されたか否かを判定する(S313)。読取データ要求コマンドが受信されなかった場合には、制御部102は、読取データの受信判定(S307)以降の動作を繰り返す。   If it is determined in step S307 that read data from the scanner 500 has not been received, the control unit 102 further determines whether a read data request command from the host 400 has been received by the data port 118. (S313). When the read data request command is not received, the control unit 102 repeats the operations after the read data reception determination (S307).

一方、読取データ要求コマンドが受信された場合には、制御部102は、読取データを受信していないため、読取データがないことを示す情報を、データポート118を介してホスト400へ送信し(S314)、データポート118によってホスト400からのエラー表示要求コマンドが受信されたか否かを判定する(S311)。ホスト400は、読取データを受信しなかった場合には、図2のS211に示すように、プリンタ100へエラー表示要求コマンドを送信する。制御部102は、このエラー表示要求コマンドを受信した場合には、読取データが存在しない旨のエラーを操作・表示パネル116に表示するための処理を行う(S312)。   On the other hand, when the read data request command is received, the control unit 102 does not receive the read data, and therefore transmits information indicating that there is no read data to the host 400 via the data port 118 ( In step S314, it is determined whether an error display request command is received from the host 400 by the data port 118 (S311). When the host 400 does not receive the read data, the host 400 transmits an error display request command to the printer 100 as shown in S211 of FIG. When receiving the error display request command, the control unit 102 performs a process for displaying an error indicating that the read data does not exist on the operation / display panel 116 (S312).

その後、制御部102は、ホスト400からのスキャナ500向けコマンドの受信判定(S301)以降の動作を繰り返す。ホスト400は、プリンタ100へエラー表示要求コマンドを送信した後、更に、プリンタ100へ図2のS212及びS202に示すように読取停止コマンド及びスキャナ準備コマンドを送信し、その後、プリンタ100へ読取データ削除コマンドを送信する。従って、制御部102は、エラー表示処理(S312)に続いて、ホスト400からのスキャナ500向けのコマンドが受信されたか否かの判定(S301)とスキャナ500へのスキャナ500向けのコマンドの送信制御(S302)とを2回繰り返して、読取停止コマンドとスキャナ初期化コマンドをスキャナ500へ送信する制御を行った後、S303において、読取データ削除コマンドが受信されたと判定することになる。   Thereafter, the control unit 102 repeats the operations after the determination of receiving the command for the scanner 500 from the host 400 (S301). After sending the error display request command to the printer 100, the host 400 further sends a reading stop command and a scanner preparation command to the printer 100 as shown in S212 and S202 of FIG. Send a command. Therefore, following the error display process (S312), the control unit 102 determines whether or not a command for the scanner 500 from the host 400 has been received (S301) and controls transmission of the command for the scanner 500 to the scanner 500. (S302) is repeated twice, and after the control to transmit the reading stop command and the scanner initialization command to the scanner 500 is performed, it is determined in S303 that the read data deletion command has been received.

ラベル320に印刷された情報の検証時におけるプリントシステムの動作の一例のシーケンス図を図4及び図5に示す。   FIG. 4 and FIG. 5 show sequence diagrams of an example of the operation of the printing system when verifying information printed on the label 320.

図4に示すように、まず、スキャナ初期化コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S401、S402)。更に、スキャナ初期化コマンドは、制御部102において、スキャナ500向けのコマンドであると判定されて、ステータスポート120を介してスキャナ500へ送られる(S403、S404)。スキャナ500は、このスキャナ初期化コマンドを受信すると、予め定められた初期化処理を行う(S405)。   As shown in FIG. 4, first, a scanner initialization command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S401, S402). Further, the scanner initialization command is determined by the control unit 102 to be a command for the scanner 500, and is sent to the scanner 500 via the status port 120 (S403, S404). Upon receiving this scanner initialization command, the scanner 500 performs a predetermined initialization process (S405).

その後、スキャナ準備コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S406、S407)。更に、スキャナ準備コマンドは、制御部102において、スキャナ500向けのコマンドであると判定されて、ステータスポート120を介してスキャナ500へ送られる(S408、S409)。スキャナ500は、このスキャナ準備コマンドを受信すると、ラベル320に印刷された情報を読み取り可能な状態となる(S410)。   Thereafter, a scanner preparation command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S406, S407). Further, the scanner preparation command is determined by the control unit 102 to be a command for the scanner 500, and is sent to the scanner 500 via the status port 120 (S408, S409). Upon receiving this scanner preparation command, the scanner 500 is ready to read the information printed on the label 320 (S410).

次に、読取データ削除コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S411、S412)。更に、制御部102において、受信データが読取データ削除コマンドであることが特定されると、制御部102は、RAM124内の読取データを削除する処理を行う(S413)。   Next, a read data deletion command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S411, S412). Further, when the control unit 102 specifies that the received data is a read data deletion command, the control unit 102 performs a process of deleting the read data in the RAM 124 (S413).

次に、印刷データが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S414、S415)。更に、制御部102において、受信データが印刷データであることが特定されると、制御部102は、この印刷データを利用してラベル320に情報を印刷する処理を行う(S416)。この時、スキャナ500において、このラベル320に印刷された情報の読み取りが成功すると(S417)、読取データが、スキャナ500からプリンタ100内のステータスポート120を介して制御部102へ送られる(S418、S419)。更に、読取データは、制御部102において、RAM124に保存される(S420)。   Next, print data is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S414, S415). Further, when the control unit 102 specifies that the received data is print data, the control unit 102 performs processing for printing information on the label 320 using the print data (S416). At this time, when the scanner 500 successfully reads the information printed on the label 320 (S417), the read data is sent from the scanner 500 to the control unit 102 via the status port 120 in the printer 100 (S418, S419). Further, the read data is stored in the RAM 124 in the control unit 102 (S420).

その後、読取データ要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られ(S421、S422)、制御部102において、受信データが読取データ要求コマンドであることが特定されると、この読取データ要求コマンドに応じた読取データが、制御部102からデータポート118を介してホスト400へ送られる(S423、S424)。   Thereafter, a read data request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S421, S422), and the control unit 102 specifies that the received data is a read data request command. Then, the read data corresponding to the read data request command is sent from the control unit 102 to the host 400 via the data port 118 (S423, S424).

読取データを受信したホスト400は、印刷データとの照合を行う(S425)。照合の結果、読取データと印刷データとが一致する場合(照合が正常である場合)には、読取停止コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S426、S427)。更に、読取停止コマンドは、制御部102において、スキャナ500向けのコマンドであると判定されて、ステータスポート120を介してスキャナ500へ送られる(S428、S429)。スキャナ500は、ラベル320に印刷された情報を読み取り不可能な状態となる(S430)。   The host 400 that has received the read data collates with the print data (S425). As a result of the collation, if the read data matches the print data (if the collation is normal), a read stop command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 ( S426, S427). Further, the reading stop command is determined by the control unit 102 to be a command for the scanner 500, and is sent to the scanner 500 via the status port 120 (S428, S429). The scanner 500 becomes unable to read the information printed on the label 320 (S430).

その後、図5に示す動作に移行し、スキャナ準備コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S501、S502)。更に、スキャナ準備コマンドは、制御部102において、スキャナ500向けのコマンドであると判定されて、ステータスポート120を介してスキャナ500へ送られる(S503、S504)。スキャナ500は、このスキャナ準備コマンドを受信すると、ラベル320に印刷された情報を読み取り可能な状態となる(S505)。   Thereafter, the operation proceeds to the operation shown in FIG. 5, and a scanner preparation command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S501, S502). Further, the scanner preparation command is determined by the control unit 102 to be a command for the scanner 500, and is sent to the scanner 500 via the status port 120 (S503, S504). Upon receiving this scanner preparation command, the scanner 500 is ready to read the information printed on the label 320 (S505).

次に、読取データ削除コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S506、S507)。更に、制御部102において、受信データが読取データ削除コマンドであることが特定されると、制御部102は、RAM124内の読取データを削除する処理を行う(S508)。   Next, a read data deletion command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S506, S507). Further, when the control unit 102 specifies that the received data is a read data deletion command, the control unit 102 performs a process of deleting the read data in the RAM 124 (S508).

次に、印刷データが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S509、S510)。更に、制御部102において、受信データが印刷データであることが特定されると、制御部102は、この印刷データを利用してラベル320に情報を印刷する処理を行う(S511)。この時、スキャナ500において、このラベル320に印刷された情報の読み取りが失敗し(S512)、更に、読取データ要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102に送られ(S513、S514)、制御部02において受信データが読取データ要求コマンドであることが特定された場合には、制御部102内のRAM124に読取データが格納されていないため、読取データがないことを示す情報が、制御部102からデータポート118を介してホスト400へ送られる(S515、S516)。   Next, print data is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S509, S510). Further, when the control unit 102 specifies that the received data is print data, the control unit 102 performs processing for printing information on the label 320 using the print data (S511). At this time, the scanner 500 fails to read the information printed on the label 320 (S512), and a read data request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100. When the control unit 02 determines that the received data is a read data request command, the read data is not stored in the RAM 124 in the control unit 102, and therefore there is no read data. Is sent from the control unit 102 to the host 400 via the data port 118 (S515, S516).

そして、読取データがないことを示す情報に対応して、エラー表示要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S517、S518)。更に、制御部102において、受信データがエラー表示コマンドであることが特定されると、制御部102は、エラー表示処理を行う(S519)。   In response to the information indicating that there is no read data, an error display request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S517, S518). Further, when the control unit 102 specifies that the received data is an error display command, the control unit 102 performs an error display process (S519).

次に、スキャナ500によって読み取られた情報のラベル320への印刷を行う場合におけるプリントシステムの動作を説明する。   Next, the operation of the printing system when printing information on the label 320 of information read by the scanner 500 will be described.

スキャナ500によって読み取られた情報のラベル320への印刷時におけるホスト400の動作のフローチャートを図6に示す。   FIG. 6 shows a flowchart of the operation of the host 400 at the time of printing the information read by the scanner 500 on the label 320.

ホスト400は、プリンタ100へ読取データ削除コマンドを送信する(S601)。プリンタ100内の制御部102は、この読取データ削除コマンドに応じて、以前にスキャナ500によって読み取られ、RAM124に格納されているデータを削除する制御を行う。   The host 400 transmits a read data deletion command to the printer 100 (S601). In response to the read data deletion command, the control unit 102 in the printer 100 performs control to delete data that has been previously read by the scanner 500 and stored in the RAM 124.

次に、ホスト400は、プリンタ100へメッセージ表示要求コマンドを送信する(S602)。プリンタ100内の制御部102は、このメッセージ表示要求コマンドに応じて、スキャナ500によって所定の媒体に印刷された情報を読み取る旨のメッセージ表示のための処理を行う。   Next, the host 400 transmits a message display request command to the printer 100 (S602). In response to the message display request command, the control unit 102 in the printer 100 performs a process for displaying a message to read information printed on a predetermined medium by the scanner 500.

次に、ホスト400は、プリンタ100へ読取データ要求コマンドを送信する(S603)。プリンタ100内の制御部102は、新たにスキャナ500によって読み取られ、RAM124に格納されている読取データが存在する場合には、この読取データ要求コマンドに応じて、読取データをホスト400へ送信する制御を行う。   Next, the host 400 transmits a read data request command to the printer 100 (S603). When there is read data newly read by the scanner 500 and stored in the RAM 124, the control unit 102 in the printer 100 transmits the read data to the host 400 in response to the read data request command. I do.

次に、ホスト400は、プリンタ100からの読取データを受信したか否かを判定する(S604)。読取データを受信した場合には、ホスト400は、プリンタ100へメッセージ・データ表示要求コマンドを送信する(S605)。プリンタ100内の制御部102は、このメッセージ表示要求コマンドに応じて、スキャナ500によって所定の媒体に印刷された情報を読み取った旨のメッセージ表示とスキャナ500によって読み取られたデータの表示のための処理を行う。   Next, the host 400 determines whether or not the read data from the printer 100 has been received (S604). When the read data is received, the host 400 transmits a message / data display request command to the printer 100 (S605). In response to this message display request command, the control unit 102 in the printer 100 displays a message indicating that the information printed on a predetermined medium has been read by the scanner 500 and a process for displaying the data read by the scanner 500. I do.

その後、ホスト400は、プリンタ100へ印刷要求コマンドを送信する(S606)。プリンタ100内の制御部102は、この印刷要求コマンドを受信すると、RAM124内の読取データをラベル320に印刷する処理を行う。   Thereafter, the host 400 transmits a print request command to the printer 100 (S606). When receiving the print request command, the control unit 102 in the printer 100 performs a process of printing the read data in the RAM 124 on the label 320.

スキャナ500によって読み取られた情報のラベル320への印刷時におけるプリンタ100の動作のフローチャートを図7に示す。   FIG. 7 shows a flowchart of the operation of the printer 100 when printing the information read by the scanner 500 on the label 320.

制御部102は、データポート118によってホスト400からの読取データ削除コマンドが受信されたか否かを判定する(S701)。読取データ削除コマンドはプリンタ100を動作させるためのコマンドであるため、制御部102は、このコマンドを特定することが可能である。   The control unit 102 determines whether a read data deletion command is received from the host 400 via the data port 118 (S701). Since the read data deletion command is a command for operating the printer 100, the control unit 102 can specify this command.

読取データ削除コマンドが受信された場合には、制御部102は、以前にスキャナ500によって読み取られ、RAM124に格納されている読取データを削除する処理を行う(S702)。   When the read data deletion command is received, the control unit 102 performs a process of deleting the read data previously read by the scanner 500 and stored in the RAM 124 (S702).

次に、制御部102は、データポート118によってホスト400からのメッセージ表示要求コマンドが受信されたか否かを判定する(S703)。メッセージ表示要求コマンドが受信された場合には、制御部102は、スキャナ500によって所定の媒体に印刷された情報を読み取る旨のメッセージ(例えば、「Barcode」等)を操作・表示パネル116に表示するための処理を行う(S704)。   Next, the control unit 102 determines whether or not a message display request command is received from the host 400 by the data port 118 (S703). When the message display request command is received, the control unit 102 displays a message (for example, “Barcode” or the like) on the operation / display panel 116 to read information printed on a predetermined medium by the scanner 500. For this purpose (S704).

更に、制御部102は、ステータスポート120によってスキャナ500からの読取データが受信されたか否かを判定する(S705)。読取データが受信された場合には、制御部102は、その読取データをRAM124に保存する処理を行う(S706)。   Further, the control unit 102 determines whether or not read data from the scanner 500 is received by the status port 120 (S705). When the read data is received, the control unit 102 performs processing for storing the read data in the RAM 124 (S706).

次に、制御部102は、データポート118によってホスト400からの読取データ要求コマンドが受信されたか否かを判定する(S707)。読取データ要求コマンドはプリンタ100を動作させるためのコマンドであるため、制御部102は、このコマンドを特定することが可能である。   Next, the control unit 102 determines whether or not a read data request command is received from the host 400 via the data port 118 (S707). Since the read data request command is a command for operating the printer 100, the control unit 102 can specify this command.

読取データ要求コマンドが受信された場合には、制御部102は、S706においてRAM124に保存した読取データを、データポート118を介してホスト400へ送信する制御を行う(S708)。読取データを受信したホスト400は、図6のS605に示すように、プリンタ100へメッセージ・データ表示コマンドを送信する。   When the read data request command is received, the control unit 102 performs control to transmit the read data stored in the RAM 124 in S706 to the host 400 via the data port 118 (S708). The host 400 that has received the read data transmits a message / data display command to the printer 100 as shown in S605 of FIG.

次に、制御部102は、データポート118によってホスト400からのメッセージ・データ表示要求コマンドが受信されたか否かを判定する(S709)。メッセージ・データ表示要求コマンドはプリンタ100を動作させるためのコマンドであるため、制御部102は、このコマンドを特定することが可能である。   Next, the control unit 102 determines whether a message / data display request command from the host 400 is received by the data port 118 (S709). Since the message / data display request command is a command for operating the printer 100, the control unit 102 can specify the command.

メッセージ・データ表示要求コマンドが受信された場合、制御部102は、スキャナ500によって所定の媒体に印刷された情報が読み取られた旨のメッセージ(例えば、「Barcode」等)と、スキャナ500によって読み取られてRAM124に格納されている読取データとを操作・表示パネル116に表示するための処理を行う(S710)。   When the message / data display request command is received, the control unit 102 reads the message (for example, “Barcode” or the like) that the information printed on the predetermined medium by the scanner 500 is read, and the scanner 500 reads the information. Then, a process for displaying the read data stored in the RAM 124 on the operation / display panel 116 is performed (S710).

その後、制御部102は、データポート118によってホスト400からの印刷要求コマンドが受信されたか否かを判定する(S711)。印刷要求コマンドはプリンタ100を動作させるためのコマンドであるため、制御部102は、このコマンドを特定することが可能である。   Thereafter, the control unit 102 determines whether a print request command is received from the host 400 via the data port 118 (S711). Since the print request command is a command for operating the printer 100, the control unit 102 can specify this command.

印刷要求コマンドが受信された場合には、制御部102は、印刷処理を行う(S712)。具体的には、制御部102は、スキャナ500によって読み取られてRAM124に格納されている読取データをサーマルヘッド114へ送信し、サーマルヘッド114は、この受信した読取データを利用して、ラベル320の表面に情報を印刷する。その後、制御部102は、ホスト400からの読取データ削除コマンドの受信判定(S701)以降の動作を繰り返す。   When the print request command is received, the control unit 102 performs print processing (S712). Specifically, the control unit 102 transmits the read data read by the scanner 500 and stored in the RAM 124 to the thermal head 114, and the thermal head 114 uses the received read data to read the label 320. Print information on the surface. Thereafter, the control unit 102 repeats the operations after the reception determination of the read data deletion command from the host 400 (S701).

一方、S705において、スキャナ500からの読取データが受信されなかったと判定した場合には、制御部102は、更に、データポート118によってホスト400からの読取データ要求コマンドが受信されたか否かを判定する(S713)。読取データ要求コマンドが受信されなかった場合には、制御部102は、スキャナ500からの読取データの受信判定(S705)以降の動作を繰り返す。   On the other hand, if it is determined in step S <b> 705 that the read data from the scanner 500 has not been received, the control unit 102 further determines whether a read data request command from the host 400 has been received by the data port 118. (S713). When the read data request command has not been received, the control unit 102 repeats the operation after the determination of receiving the read data from the scanner 500 (S705).

一方、読取データ要求コマンドが受信された場合には、制御部102は、読取データを受信していないため、読取データがないことを示す情報を、データポート118を介してホスト400へ送信し(S714)、その後、ホスト400からの読取データ削除コマンドの受信判定(S701)以降の動作を繰り返す。   On the other hand, when the read data request command is received, the control unit 102 does not receive the read data, and therefore transmits information indicating that there is no read data to the host 400 via the data port 118 ( Thereafter, the operations after the reception determination of the read data deletion command from the host 400 (S701) are repeated.

スキャナ500によって読み取られた情報のラベル320への印刷時におけるプリントシステムの動作の一例のシーケンス図を図8に示す。   FIG. 8 shows a sequence diagram of an example of the operation of the printing system at the time of printing information read by the scanner 500 on the label 320.

まず、読取データ削除コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S801、S802)。更に、制御部102において、受信データが読取データ削除コマンドであることが特定されると、制御部102は、RAM124内の読取データを削除する処理を行う(S803)。   First, a read data deletion command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S801, S802). Further, when the control unit 102 specifies that the received data is a read data deletion command, the control unit 102 performs a process of deleting the read data in the RAM 124 (S803).

次に、メッセージ表示要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S804、S805)。更に、制御部102において、受信データがメッセージ表示要求コマンドであることが特定されると、制御部102は、スキャナ500によって所定の媒体に印刷された情報を読み取る旨のメッセージの表示処理を行う(S806)。   Next, a message display request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S804, S805). Further, when the control unit 102 specifies that the received data is a message display request command, the control unit 102 performs a message display process for reading information printed on a predetermined medium by the scanner 500 ( S806).

その後、読取データ要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102に送られ(S807、S808)、制御部102において、受信データがメッセージ表示要求コマンドであることが特定される。この時、スキャナ500によって読み取りが行われておらず、制御部102内のRAM124に読取データが格納されていない場合には、読取データがないことを示す情報が、制御部102からデータポート118を介してホスト400へ送られる(S809、S810)。   Thereafter, a read data request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S807, S808), and the control unit 102 specifies that the received data is a message display request command. Is done. At this time, when reading is not performed by the scanner 500 and read data is not stored in the RAM 124 in the control unit 102, information indicating that there is no read data is sent from the control unit 102 to the data port 118. To the host 400 (S809, S810).

その後、スキャナ500において、所定の媒体に印刷された情報が読み取られると(S811)、読取データが、スキャナ500からプリンタ100内のステータスポート120を介して制御部102へ送られる(S812、S813)。更に、読取データは、制御部102において、RAM124に保存される(S814)。   Thereafter, when the information printed on a predetermined medium is read by the scanner 500 (S811), the read data is sent from the scanner 500 to the control unit 102 via the status port 120 in the printer 100 (S812, S813). . Further, the read data is stored in the RAM 124 in the control unit 102 (S814).

更に、読取データ要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102に送られ(S815、S816)、制御部102において、受信データが読取データ要求コマンドであることが特定されると、この読取データ要求コマンドに応じた読取データが、制御部102からデータポート118を介してホスト400へ送られる(S817、S818)。   Further, a read data request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S815, S816), and the control unit 102 specifies that the received data is a read data request command. Then, read data corresponding to this read data request command is sent from the control unit 102 to the host 400 via the data port 118 (S817, S818).

次に、メッセージ・データ表示要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S819、S820)。更に、制御部102において、受信データがメッセージ・データ表示要求コマンドであることが特定されると、制御部102は、スキャナ500によって所定の媒体に印刷された情報が読み取られた旨のメッセージと、読取データとの表示処理を行う(S821)。   Next, a message / data display request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S819, S820). Further, when the control unit 102 specifies that the received data is a message / data display request command, the control unit 102 displays a message that the information printed on the predetermined medium by the scanner 500 has been read, Display processing with the read data is performed (S821).

その後、印刷要求コマンドが、ホスト400からプリンタ100内のデータポート118を介して制御部102へ送られる(S822、S823)。更に、制御部102において、受信データが印刷要求コマンドであることが特定されると、制御部102は、RAM124に格納された読取データを利用してラベル320に情報を印刷する処理を行う(S824)。   Thereafter, a print request command is sent from the host 400 to the control unit 102 via the data port 118 in the printer 100 (S822, S823). Further, when the control unit 102 specifies that the received data is a print request command, the control unit 102 performs a process of printing information on the label 320 using the read data stored in the RAM 124 (S824). ).

このように、本実施形態のプリントシステムでは、プリンタ100は、ホスト400からのスキャナ500を動作させるためのコマンドを受信した場合には、このコマンドをスキャナ500へ送信するだけで、そのスキャナ500に、ホスト400からのコマンドに応じた動作を行なわせることができ、ホスト400によるスキャナ500の動作制御が可能となる。従って、従来のように、プリンタ100にスキャナ500を動作させるためのプログラムが組み込まれたROMを搭載し、スキャナ500を交換する都度、そのROMを交換するといった煩雑さを解消し、スキャナ500を簡易に動作可能とすることができる。   As described above, in the printing system according to the present embodiment, when the printer 100 receives a command for operating the scanner 500 from the host 400, the printer 100 simply transmits the command to the scanner 500, and The operation according to the command from the host 400 can be performed, and the operation of the scanner 500 can be controlled by the host 400. Therefore, as in the past, the printer 100 is equipped with a ROM in which a program for operating the scanner 500 is installed, and each time the scanner 500 is replaced, the complexity of replacing the ROM is eliminated, and the scanner 500 is simplified. Can be operable.

また、プリンタ100は、スキャナ500から当該スキャナ500におけるコマンドの実行結果である読取データを受信した場合には、この読取データをホスト400へ送信しており、ホスト400は、自身が送信したコマンドに応じた、スキャナ500における動作の結果を取得することができる。   In addition, when the printer 100 receives the read data that is the execution result of the command in the scanner 500 from the scanner 500, the printer 100 transmits the read data to the host 400. In response, the result of the operation in the scanner 500 can be acquired.

また、プリンタ100は、ホスト400からのデータを解析し、スキャナ500を動作させるためのコマンドと、それ以外のコマンド等とを区別しており、ホスト400からの受信データの内、スキャナ500を動作させるためのコマンドのみを、そのスキャナ500へ送信することができる。   In addition, the printer 100 analyzes data from the host 400 and distinguishes a command for operating the scanner 500 from other commands and the like, and operates the scanner 500 among the received data from the host 400. Only a command for the purpose can be transmitted to the scanner 500.

以上のように、本発明にかかるプリンタ及びプリントシステムは、外部機器を簡易に動作可能とすることができるという効果を有し、プリンタ及びプリントシステムとして有用である。   As described above, the printer and the print system according to the present invention have an effect that the external device can be easily operated, and are useful as a printer and a print system.

プリントシステムのブロック図である。1 is a block diagram of a printing system. ラベルに印刷された情報の検証時におけるホストの動作のフローチャートである。It is a flowchart of operation | movement of a host at the time of verification of the information printed on the label. ラベルに印刷された情報の検証時におけるホストの動作のフローチャートである。It is a flowchart of operation | movement of a host at the time of verification of the information printed on the label. ラベルに印刷された情報の検証時におけるプリントシステムの動作の一例を示す第1のシーケンス図である。It is a 1st sequence diagram which shows an example of operation | movement of a printing system at the time of verification of the information printed on the label. ラベルに印刷された情報の検証時におけるプリントシステムの動作の一例を示す第2のシーケンス図である。It is a 2nd sequence diagram which shows an example of operation | movement of a printing system at the time of verification of the information printed on the label. スキャナによって読み取られた情報のラベルへの印刷時におけるホストの動作のフローチャートである。It is a flowchart of operation | movement of a host at the time of printing on the label of the information read by the scanner. スキャナによって読み取られた情報のラベルへの印刷時におけるプリンタの動作のフローチャートである。6 is a flowchart of the operation of a printer when printing information on a label read by a scanner. スキャナによって読み取られた情報のラベルへの印刷時におけるプリントシステムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation | movement of a printing system at the time of printing on the label of the information read by the scanner.

符号の説明Explanation of symbols

100 プリンタ
102 制御部
104 ラベル搬送機構
106 供給ローラ
112 光反射センサ
114 サーマルヘッド
116 操作・表示パネル
118 データポート
120 ステータスポート
122 ROM
124 RAM
300 ラベル用紙
310 台紙
320 ラベル
400 ホスト
500 スキャナ
DESCRIPTION OF SYMBOLS 100 Printer 102 Control part 104 Label conveyance mechanism 106 Supply roller 112 Light reflection sensor 114 Thermal head 116 Operation / display panel 118 Data port 120 Status port 122 ROM
124 RAM
300 Label paper 310 Mount 320 Label 400 Host 500 Scanner

Claims (2)

印刷媒体に情報の印刷を行うプリンタと、前記プリンタに接続されるホスト装置及びスキャナ装置とを有するプリントシステムであって、
前記ホスト装置は、
前記プリンタデータを送信する送信手段と、
印刷データと読取データを照合して一致するか否かを判定する判定手段とを有し、
前記プリンタは、
前記ホスト装置との間でデータの送受信を行う第1の中継手段と、
前記スキャナ装置との間でデータの送受信を行う第2の中継手段と、
前記第1の中継手段により受信されたデータを解析し、このデータが前記プリンタを動作させるためのデータであるか、又は印刷データか、又は前記スキャナ装置の動作に関するデータか否かを判定する解析手段と、
前記解析手段によりプリンタを動作させるためのデータであると判定すると、このデータに応じた動作制御を行い、印刷データであると判定すると前記印刷媒体に印刷し、前記スキャナ装置の動作に関するデータであると判定すると前記第2の中継手段により前記スキャナに送信する制御手段を有し、
前記スキャナ装置は、
前記プリンタとの間でデータを送受信する送受信手段を有し、
前記ホスト装置から送信された印刷データに基づいて前記プリンタで印刷媒体に印刷された情報を前記スキャナ装置によって読取って前記第2の中継手段を介して読取データをプリンタに送信し、
この読取データを第1の中継手段を介して前記プリンタがホスト装置に送信し、
前記ホスト装置は前記判定手段によって前記印刷データと前記読取データを照合して一致するか否かを判定することを特徴とするプリントシステム。
A printing system having a printer for printing information on a printing medium, and a host device and a scanner device connected to the printer,
The host device is
And receiving means transmit to receive send the printer data,
Determining means for comparing the print data and the read data to determine whether they match,
The printer is
First relay means for transmitting and receiving data to and from the host device;
Second relay means for transmitting and receiving data to and from the scanner device ;
Analysis said first analyzes the data received by the relay unit, whether the data is data for operating the printer, or printing data, or to determine whether data or not related to the operation of the scanner device Means ,
When it is determined that the data is for operating the printer by the analyzing means , operation control is performed according to this data. And having a control means for transmitting to the scanner by the second relay means,
The scanner device includes:
A transmission / reception means for transmitting / receiving data to / from the printer;
Based on the print data transmitted from the host device, the information printed on the print medium by the printer is read by the scanner device, and the read data is transmitted to the printer via the second relay unit,
The printer transmits the read data to the host device via the first relay means,
The printing system according to claim 1, wherein the host device determines whether or not the print data and the read data match by the determination unit.
前記判定手段が前記印刷データと前記読取データが一致しないと判定すると、前記ホスト装置がプリンタを動作させるためのデータとしてエラー表示要求データを前記プリンタに送信し、前記プリンタにエラーを表示させることを特徴とする請求項1記載のプリントシステム。When the determination unit determines that the print data and the read data do not match, the host device transmits error display request data to the printer as data for operating the printer, and causes the printer to display an error. The printing system according to claim 1, wherein:
JP2004216493A 2004-07-23 2004-07-23 Printer and printing system Expired - Fee Related JP4540419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004216493A JP4540419B2 (en) 2004-07-23 2004-07-23 Printer and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004216493A JP4540419B2 (en) 2004-07-23 2004-07-23 Printer and printing system

Publications (2)

Publication Number Publication Date
JP2006035522A JP2006035522A (en) 2006-02-09
JP4540419B2 true JP4540419B2 (en) 2010-09-08

Family

ID=35901028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004216493A Expired - Fee Related JP4540419B2 (en) 2004-07-23 2004-07-23 Printer and printing system

Country Status (1)

Country Link
JP (1) JP4540419B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011049626A (en) * 2009-08-25 2011-03-10 Fuji Xerox Co Ltd Processing apparatus, processing system, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10244734A (en) * 1997-03-03 1998-09-14 Fuji Xerox Co Ltd Printer, external function-expanding apparatus, and system using computer, printer, and external function-expanding apparatus

Also Published As

Publication number Publication date
JP2006035522A (en) 2006-02-09

Similar Documents

Publication Publication Date Title
JP6137137B2 (en) Relay connection system, relay connection program
US9335957B2 (en) Communication apparatus and method for controlling the same, and storage medium
EP3103645B1 (en) Printer, and printing method and memory therefor
CN103568606B (en) Printing equipment, print system and printing process
CN103426257B (en) Media processing apparatus and POS system
CN103707664A (en) Printing system and printing device
JP4681397B2 (en) Electronic equipment
JP4540419B2 (en) Printer and printing system
JP2017117272A (en) Printer setting method, printing system, and printer setting program
EP1903771A1 (en) Printing apparatus and print control method
JP7137752B2 (en) Printer and processing program
JP6602053B2 (en) Information processing apparatus, control method, and program
CN110782607B (en) Printing apparatus and control method of printing apparatus
JP2013230662A (en) Recording control device, recording device and control method of recording device
JP2012192575A (en) Printer, and print history management program
JP6569474B2 (en) Printing apparatus, printing apparatus control method, and program
JP5945451B2 (en) Printer and program
JP5958143B2 (en) Printing apparatus, printing system, and printing control apparatus
JP2009214456A (en) Thermal printer
JP2006157565A (en) Image processing device
JP5924126B2 (en) Medium processing apparatus and POS system
JP2023094880A (en) MEDIUM PROCESSING DEVICE AND MEDIUM PROCESSING DEVICE CONTROL METHOD
JP6127638B2 (en) Printing apparatus, printing apparatus control method, and program
JP2002304278A (en) Network system, server device, information processing device, output device, device product management method, medium, and program for device product management
JP2016081320A (en) Print setting method, program and printing system for printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100528

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4540419

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees