JP2009110266A - Label issuing program and label issuing device - Google Patents

Label issuing program and label issuing device Download PDF

Info

Publication number
JP2009110266A
JP2009110266A JP2007281890A JP2007281890A JP2009110266A JP 2009110266 A JP2009110266 A JP 2009110266A JP 2007281890 A JP2007281890 A JP 2007281890A JP 2007281890 A JP2007281890 A JP 2007281890A JP 2009110266 A JP2009110266 A JP 2009110266A
Authority
JP
Japan
Prior art keywords
label
rfid
data
setting
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007281890A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kato
裕幸 加藤
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2007281890A priority Critical patent/JP2009110266A/en
Publication of JP2009110266A publication Critical patent/JP2009110266A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To utilize a label format file conventionally created, thereby writing and printing RFID data to print and issue an RFID label. <P>SOLUTION: A computer 300 connected to an RFID label printer 200 has a setting interface, and is allowed to access a file 312 including the label format defining a print layout. The computer 300 creates a format command by obtaining the label format through access to the file 312 according to the description of a label issuing program 315; creates a data command based on a print data inputted; displays a setting screen on the setting interface to set setting items to be applied to an RFID object necessary to create an RFID command; creates the RFID command by applying the setting items to the predetermined RFID object; and transmits these commands to the RFID label printer 200. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、RFIDタグを備えるRFIDラベルへの印刷およびデータ書き込みを行うRFIDラベルプリンタを制御するための制御コマンドを生成して送信する機能をコンピュータに実行させるラベル発行プログラム、および、このプログラムの記述に従った処理を実行するラベル発行装置に関する。   The present invention relates to a label issuing program that causes a computer to execute a function of generating and transmitting a control command for controlling an RFID label printer that performs printing and data writing on an RFID label including an RFID tag, and a description of the program The present invention relates to a label issuing device that executes processing according to the above.

従来、白紙のラベルに印刷データを印刷しラベルを印刷発行するラベルプリンタが実用化されている。ラベルプリンタは、コンピュータから送信される制御コマンドに従って印刷などの処理を実行する。制御コマンドを生成しラベルプリンタに送信するコンピュータは、特許文献1に示されているようなラベルのレイアウトを定義する予め設定されたラベルフォーマット(特許文献1の段落番号0030〜0033、および、図6参照)を利用し、ラベルフォーマットに基づいて印刷レイアウトを定義するようRFIDラベルプリンタを制御するためのフォーマットコマンドと、印刷データをRFIDラベルに印刷するようRFIDラベルプリンタを制御するためのデータコマンドとを生成してラベルプリンタに送信し、RFIDラベルプリンタにラベル発行を行わせる。ラベルフォーマットは、ラベルに印刷されるテキスト、バーコード、図形、画像、外字などの属性と、各属性に対して定義される印刷位置、サイズなどの各種の属性値とからなるデータで構成されており、ラベルフォーマットはラベル全体のレイアウトを規定している。これらのラベルフォーマットは、各種ラベルフォーマットを生成するためのソフトウェア(ラベルフォーマットジェネレータ)によって生成され、ラベルフォーマットファイルの態様で蓄積されている。そして、このようなラベルフォーマットファイルは、ラベルプリンタからラベルを印刷発行する際に活用されている。   Conventionally, a label printer that prints print data on a blank label and prints and issues the label has been put to practical use. The label printer executes processing such as printing in accordance with a control command transmitted from the computer. A computer that generates a control command and transmits it to a label printer is configured with a preset label format (paragraph numbers 0030 to 0033 of Patent Document 1 and FIG. 6) that defines a label layout as shown in Patent Document 1. And a format command for controlling the RFID label printer to define a print layout based on the label format, and a data command for controlling the RFID label printer to print the print data on the RFID label. It is generated and transmitted to the label printer, and the RFID label printer is caused to issue a label. The label format is composed of data consisting of attributes such as text, barcode, figure, image, and external characters printed on the label, and various attribute values such as printing position and size defined for each attribute. The label format defines the layout of the entire label. These label formats are generated by software (label format generator) for generating various label formats and stored in the form of label format files. Such a label format file is utilized when printing and issuing a label from a label printer.

特開2006−072557公報JP 2006-072557 A

近年、印刷機能だけでなくRFIDタグにデータを書き込むRFID通信機能を搭載して、RFIDラベルへの印刷とRFIDタグへのデータ書き込みとを行ってRFIDラベルを印刷発行するRFIDラベルプリンタが実用化されている。このRFIDラベルプリンタに印刷処理やRFIDタグへのデータ書き込み処理を実行させるには、RFIDラベルプリンタに対して、印刷やデータ書き込みを行うようRFIDラベルプリンタを制御するための制御コマンドを送信する必要がある。   In recent years, RFID label printers that have not only a printing function but also an RFID communication function for writing data to an RFID tag and that print and issue an RFID label by printing on the RFID label and writing data on the RFID tag have been put into practical use. ing. In order for this RFID label printer to execute printing processing and data writing processing to an RFID tag, it is necessary to transmit a control command for controlling the RFID label printer to perform printing and data writing to the RFID label printer. is there.

しかし、RFID通信技術は近年急速に広まった技術である。そのため、従来のラベルフォーマットジェネレータによって作成されたラベルフォーマットファイルには、RFID通信をRFIDラベルプリンタに実行させるためのRFIDコマンドを生成する際に用いられる情報が含まれていない。そのため、従来作成されたラベルフォーマットファイルを活用してRFIDラベルプリンタを用いてRFIDラベルの印刷発行を行う場合であっても、RFIDタグにRFIDタグへのデータ書き込むことができず、RFIDラベルプリンタの機能を十分に発揮できない。   However, RFID communication technology is a technology that has spread rapidly in recent years. Therefore, the label format file created by the conventional label format generator does not include information used when generating an RFID command for causing the RFID label printer to execute RFID communication. Therefore, even when the RFID label printer is used to print and issue an RFID label using a label format file created in the past, data cannot be written to the RFID tag. The function cannot be fully demonstrated.

本発明の目的は、従来作成されたラベルフォーマットファイルを活用し、RFIDデータ書き込みおよび印刷を行ってRFIDラベルを発行することである。   An object of the present invention is to issue an RFID label by writing and printing RFID data using a conventionally created label format file.

本発明のラベル発行プログラムは、印刷レイアウトを定義するラベルフォーマットに印刷データを適用してRFIDラベルに対し印刷を行いそのRFIDラベルに含まれるRFIDタグにデータ書き込みを実行するRFIDラベルプリンタとデータ通信自在に接続し、印刷データを取得するためのデータ取得手段と、情報入力部および情報出力部を備えてRFIDタグにデータ書き込みを行うよう前記RFIDラベルプリンタを制御するためのRFIDコマンドを生成するために必要となるRFIDオブジェクトに対し適用される設定項目を設定するための設定インタフェイスと、を備え、前記ラベルフォーマットを含むファイルにアクセス可能なコンピュータにインストールされ、当該コンピュータに、(A)前記ファイルにアクセスして当該ファイルに含まれるラベルフォーマットを取得する取得機能と、(B)前記設定項目を設定するための設定画面を前記設定インタフェイスに表示し、当該設定インタフェイスからの入力操作によって設定された設定項目を所定のRFIDオブジェクトに適用する設定機能と、(C)前記RFIDラベル毎に、前記データ取得手段から印刷データを取得し、前記取得したラベルフォーマットに基づいて印刷レイアウトを定義するよう前記RFIDラベルプリンタを制御するためのフォーマットコマンドと、前記取得した印刷データを前記RFIDラベルに印刷するよう前記RFIDラベルプリンタを制御するためのデータコマンドと、前記入力された設定項目を適用したRFIDオブジェクトに基づいて前記RFIDタグにデータ書き込みを行うよう前記RFIDラベルプリンタを制御するためのRFIDコマンドと、を生成し、前記生成したフォーマットコマンドとデータコマンドとRFIDコマンドとを前記RFIDラベルプリンタに送信して当該RFIDラベルプリンタにラベル発行を行わせる機能と、を実行させる。   The label issuing program of the present invention is capable of data communication with an RFID label printer that applies print data to a label format that defines a print layout, prints the RFID label, and writes data to the RFID tag included in the RFID label. A data acquisition means for acquiring print data, an information input unit and an information output unit, and for generating an RFID command for controlling the RFID label printer to write data to the RFID tag A setting interface for setting setting items to be applied to necessary RFID objects, and installed in a computer that can access a file including the label format. Access An acquisition function for acquiring a label format included in the file; and (B) a setting screen for setting the setting item is displayed on the setting interface, and the setting item is set by an input operation from the setting interface. And (C) the RFID label printer so as to acquire print data from the data acquisition means for each RFID label and to define a print layout based on the acquired label format. Based on a format command for controlling the data, a data command for controlling the RFID label printer to print the acquired print data on the RFID label, and an RFID object to which the input setting item is applied. Write data to RFID tag RFID commands for controlling the RFID label printer to be generated are generated, and the generated format command, data command, and RFID command are transmitted to the RFID label printer to cause the RFID label printer to issue a label. And execute the function.

また、本発明は、上記ラベル発行プログラムを記憶する記憶部と、前記データ取得手段と、前記設定インタフェイスと、前記ラベル発行プログラムの記述に従った処理を実行する情報処理部と、を備えるラベル発行装置についても規定する。   The present invention also provides a label comprising: a storage unit that stores the label issuing program; the data acquisition unit; the setting interface; and an information processing unit that executes processing according to the description of the label issuing program. The issuing device is also specified.

本発明によれば、RFIDタグにデータ書き込みを行うようRFIDラベルプリンタを制御するためのRFIDコマンドが生成されてRFIDラベルプリンタに送信され、RFIDラベルプリンタはRFIDコマンドに従って処理を実行しラベルを発行するため、従来作成されたラベルフォーマットファイルを活用し、RFIDデータ書き込みおよび印刷を行ってRFIDラベルを発行することができる。   According to the present invention, an RFID command for controlling the RFID label printer to write data to the RFID tag is generated and transmitted to the RFID label printer, and the RFID label printer performs processing according to the RFID command and issues a label. Therefore, it is possible to issue an RFID label by writing and printing RFID data by using a label format file created conventionally.

本発明の実施の一形態を図1ないし図6に基づいて説明する。   An embodiment of the present invention will be described with reference to FIGS.

図1は、ラベル発行システム101のシステム構成図である。ラベル発行システム101は、RFIDラベルプリンタ200とコンピュータ構成のラベル発行装置300とがデータ通信自在に接続されて構成されている。   FIG. 1 is a system configuration diagram of the label issuing system 101. The label issuing system 101 is configured by connecting an RFID label printer 200 and a computer-configured label issuing apparatus 300 so that data communication is possible.

RFIDラベルプリンタ200は、ラベル用紙保持軸201と、搬送ローラ202と、プラテンローラ203と、インクリボン保持部204と、サーマルヘッド205と、RFIDリーダライタ206とを備えて構成されている。RFIDラベルプリンタ200は、印刷レイアウトを定義するラベルフォーマット312aに印刷データを適用してRFIDラベル252に対し印刷を行いそのRFIDラベル252に含まれるRFIDタグ253へのデータ書き込みを実行する。   The RFID label printer 200 includes a label paper holding shaft 201, a transport roller 202, a platen roller 203, an ink ribbon holding unit 204, a thermal head 205, and an RFID reader / writer 206. The RFID label printer 200 applies print data to a label format 312a that defines a print layout, prints the RFID label 252 and writes data to the RFID tag 253 included in the RFID label 252.

ラベル用紙保持軸201は、ロール状に巻回されたラベル用紙250を回転自在に保持する。ラベル用紙250は、長尺状の台紙251に一定間隔でRFIDラベル252が貼付されたものである。各RFIDラベル252には、ICチップとアンテナとで構成されるRFIDタグ253が埋設されている。   The label paper holding shaft 201 rotatably holds the label paper 250 wound in a roll shape. The label sheet 250 is obtained by attaching an RFID label 252 to a long mount 251 at regular intervals. Each RFID label 252 has an RFID tag 253 embedded with an IC chip and an antenna.

搬送ローラ202およびプラテンローラ203は、モータ216の動力によって回転駆動し、ラベル用紙保持軸201に保持されたロール状のラベル用紙250に搬送力を与えて引き出し搬送させる搬送機構207を構成する。ロール状態から引き出されたラベル用紙250は、互いに対向配置されているプラテンローラ203とサーマルヘッド205との間に導入される。   The conveyance roller 202 and the platen roller 203 constitute a conveyance mechanism 207 that is driven to rotate by the power of the motor 216 and applies a conveyance force to the roll-shaped label sheet 250 held on the label sheet holding shaft 201 to be drawn out and conveyed. The label paper 250 drawn out from the roll state is introduced between the platen roller 203 and the thermal head 205 that are arranged to face each other.

インクリボン保持部204は、ロール状に巻回されたインクリボン254を回転自在に保持する。インクリボン254は、ロール状態から引き出された後、プラテンローラ203とサーマルヘッド205との間を通され、結果として搬送されるラベル用紙250の上面に接した状態となる。   The ink ribbon holding unit 204 rotatably holds the ink ribbon 254 wound in a roll shape. After the ink ribbon 254 is pulled out of the roll state, the ink ribbon 254 is passed between the platen roller 203 and the thermal head 205 and comes into contact with the upper surface of the label paper 250 to be conveyed.

サーマルヘッド205はライン状に配列された多数の抵抗発熱体(図示せず)を有しており、ラベル用紙250に対してインクリボン254からインクを転写して所定事項を印刷する。   The thermal head 205 has a large number of resistance heating elements (not shown) arranged in a line, and prints predetermined items by transferring ink from the ink ribbon 254 to the label paper 250.

RFIDリーダライタ206は、搬送ローラ202とプラテンローラ203との間に位置付けられている。RFIDリーダライタ206は内部にリーダライタアンテナを備え、RFIDラベル252に含まれるRFIDタグ253に対して無線通信を実行し、RFIDタグに対しデータ書き込みやデータ読み取りを行う。   The RFID reader / writer 206 is positioned between the transport roller 202 and the platen roller 203. The RFID reader / writer 206 includes a reader / writer antenna therein, performs wireless communication with the RFID tag 253 included in the RFID label 252, and performs data writing and data reading with respect to the RFID tag.

また、RFIDラベルプリンタ200は、各種演算処理を実行し各部を制御するCPU210を備えている。CPU210には、固定データを固定的に記憶保存するROM211と、可変データを書き換え自在に記憶してワークエリアとして使用されるRAM212と、各種のデータファイルを書換自在に記憶するHDD213とがバス接続されている。CPU210とROM211とRAM212とは、マイクロコンピュータ214を構成する。マイクロコンピュータ214には、図示しない入出力回路を介して、モータ216および通信インタフェイス217も接続されている。モータ216は、マイクロコンピュータ214が行う制御によって、搬送機構207を駆動する駆動源となる。このモータ216は、一例として、順逆両方に回転するステッピングモータである。通信インタフェイス217は、マイクロコンピュータ214が行う制御によって、通信ケーブル401を介するRFIDラベルプリンタ200とラベル発行装置300とのデータ通信を実現する。   The RFID label printer 200 includes a CPU 210 that executes various arithmetic processes and controls each unit. The CPU 210 is bus-connected to a ROM 211 that stores fixed data in a fixed manner, a RAM 212 that stores variable data in a rewritable manner and is used as a work area, and an HDD 213 that stores various data files in a rewritable manner. ing. The CPU 210, the ROM 211, and the RAM 212 constitute a microcomputer 214. A motor 216 and a communication interface 217 are also connected to the microcomputer 214 via an input / output circuit (not shown). The motor 216 serves as a drive source that drives the transport mechanism 207 under the control of the microcomputer 214. For example, the motor 216 is a stepping motor that rotates in both forward and reverse directions. The communication interface 217 realizes data communication between the RFID label printer 200 and the label issuing device 300 via the communication cable 401 under the control of the microcomputer 214.

ラベル発行装置300は、通信ケーブル401を介してRFIDラベルプリンタ200とデータ通信自在に接続されている。ラベル発行装置300は、CPU302と、これにバスライン303を介して接続されるROM304およびRAM305とによって構成されるマイクロコンピュータ301を備えている。   The label issuing device 300 is connected to the RFID label printer 200 via a communication cable 401 so as to be capable of data communication. The label issuing device 300 includes a microcomputer 301 including a CPU 302 and a ROM 304 and a RAM 305 connected to the CPU 302 via a bus line 303.

マイクロコンピュータ301には、バスライン303を介して、入出力コントローラ306とHDD307と通信インタフェイスと308とが接続されている。入出力コントローラ306は、マイクロコンピュータ301の制御によって、情報出力部であるLCD309をを駆動制御し所望のテキストデータ及び画像データをLCD309に表示させる。また、入出力コントローラ306は、情報入力部であるキーボード310からの入力信号をマイクロコンピュータ301に取り込む。通信インタフェイス308は、通信ケーブル401を介してRFIDラベルプリンタ200との間でのデータ通信を実現する。   An input / output controller 306, an HDD 307, a communication interface 308 are connected to the microcomputer 301 via a bus line 303. The input / output controller 306 drives and controls the LCD 309 as an information output unit under the control of the microcomputer 301 to display desired text data and image data on the LCD 309. The input / output controller 306 takes in an input signal from the keyboard 310 as an information input unit to the microcomputer 301. The communication interface 308 realizes data communication with the RFID label printer 200 via the communication cable 401.

ラベル発行装置300への印刷データ等の各種データのデータ入力は、キーボード310によって実現される以外にも、通信インタフェイス308を介して接続する図示しない外部機器から送信されるデータを受信することによっても実現される。この他にも、ラベル発行装置300へのデータ入力は、マイクロコンピュータ301が、HDD307に記憶されている印刷データを一時的に記憶した印刷データファイルを読み込んだり、CD−ROMドライブなどの外部記憶媒体読込装置を用いてCD−ROMなどの外部記憶媒体からデータを読み込んだりすることで実現してもよい。これらの手段は、ラベル発行装置300が印刷データを取得するためのデータ取得手段を構成する。   Data input of various data such as print data to the label issuing device 300 is realized by receiving data transmitted from an external device (not shown) connected via the communication interface 308 in addition to being realized by the keyboard 310. Is also realized. In addition to this, data input to the label issuing device 300 is performed by the microcomputer 301 reading a print data file temporarily storing the print data stored in the HDD 307 or an external storage medium such as a CD-ROM drive. You may implement | achieve by reading data from external storage media, such as CD-ROM, using a reading apparatus. These means constitute data acquisition means for the label issuing device 300 to acquire print data.

ラベル発行装置300に備わるHDD307には、各種プログラムを格納するプログラムファイル311、各種のラベルフォーマット312aを格納するラベルフォーマットファイル312など各種のデータがファイルの態様で記憶されている。HDD307に記憶されているプログラムファイル311には、RFIDラベルプリンタ200を制御するための制御コマンドを生成してRFIDラベルプリンタ200に送信する処理をマイクロコンピュータ301に実行させるラベル発行プログラム315(図3参照)、このラベル発行プログラム315を利用するユーザアプリケーション314(図3参照)が含まれる。すなわち、HDD307は、ラベル発行プログラム315を記憶する記憶部としての役割を果たす。マイクロコンピュータ301は、情報処理を実行する情報処理部としての役割を果たし、プログラムファイル311に含まれる各種のプログラムの記述内容に従った情報処理を実行する。   The HDD 307 provided in the label issuing device 300 stores various data such as a program file 311 for storing various programs and a label format file 312 for storing various label formats 312a in the form of files. In the program file 311 stored in the HDD 307, a label issuing program 315 (see FIG. 3) that causes the microcomputer 301 to execute a process of generating a control command for controlling the RFID label printer 200 and transmitting it to the RFID label printer 200. ), A user application 314 (see FIG. 3) that uses the label issuing program 315 is included. That is, the HDD 307 serves as a storage unit that stores the label issuing program 315. The microcomputer 301 serves as an information processing unit that executes information processing, and executes information processing according to the description contents of various programs included in the program file 311.

本実施の形態のラベル発行装置300では、マイクロコンピュータ301がプログラムファイル311の記述に従って処理を実行する。その中で、ラベル発行装置300のマイクロコンピュータ301がRFIDタグ253にデータ書き込みを行うようRFIDラベルプリンタ200を制御するためのRFIDコマンドを生成する際に、RFIDオブジェクトを必要とする。RFIDオブジェクトは、RFIDコマンドを生成させるためのメソッドを含んでおり、プログラムファイル311の一部を構成している。そして、ラベル発行装置300のマイクロコンピュータ301は、LCD309に第1設定画面501(図5参照)および第2設定画面(図6参照)を表示して、キーボード310からの入力操作によってRFIDオブジェクトに適用される設定項目の設定を可能にし、この入力操作によって設定された設定項目を所定のRFIDオブジェクトに適用して、このRFIDオブジェクトをRFIDコマンドの生成の際に使用する。すなわち、LCD309およびキーボード310は、RFIDオブジェクトに対して適用される設定項目を設定するための設定インタフェイス316としての役割を果たす。   In the label issuing device 300 of this embodiment, the microcomputer 301 executes processing according to the description of the program file 311. Among them, the RFID object is required when the microcomputer 301 of the label issuing device 300 generates an RFID command for controlling the RFID label printer 200 to write data to the RFID tag 253. The RFID object includes a method for generating an RFID command, and constitutes a part of the program file 311. Then, the microcomputer 301 of the label issuing device 300 displays the first setting screen 501 (see FIG. 5) and the second setting screen (see FIG. 6) on the LCD 309, and applies them to the RFID object by an input operation from the keyboard 310. The setting item to be set can be set, the setting item set by this input operation is applied to a predetermined RFID object, and this RFID object is used when generating the RFID command. That is, the LCD 309 and the keyboard 310 serve as a setting interface 316 for setting setting items applied to the RFID object.

図2は、ラベルフォーマットファイル312の構成の一例を示す模式図である。ラベルフォーマットファイル312は、HDD307に複数保存されている。各々のラベルフォーマットファイル312は、RFIDラベル252上に印刷される印刷データの印刷レイアウトを定義するラベルフォーマット312aを備えて構成されている(図2(a))。ラベルフォーマット312aは、そのラベルフォーマット312aの内容を示す属性312bとその属性値312cとからなるデータ312dにより構成されている。図2に示す黒い四角は、引数312eである。引数312eは、ラベル発行装置300のマイクロコンピュータ301が、入力された印刷データをラベルフォーマット312aに適用して変更することができる値である。例えば、図2に示す「テキスト1」というラベルフォーマット312aは、所望の表示テキストデータをRFIDラベル252に印刷する際に用いられ、「表示テキスト」、「x」、「y」、「サイズ」等の属性312bを有するデータ312dにより構成されており、このうち「表示テキスト」という属性312bはデータ312dが外部指定によって変更可能であるテキストデータであることを示す。なお、「x」および「y」という属性312bは、そのデータ312dが、引数312eの指定によって決定される「表示テキスト」をRFIDラベル252に印刷する際の印刷開始位置となる座標(x,y)に相当することを示す。また、「サイズ」という属性312bは、そのデータ312dが、引数312eの指定によって決定される「表示テキスト」をRFIDラベル252に印刷する際の表示テキストの大きさに相当することを示す。このようなデータ312dを備えて構成される「テキスト1」というラベルフォーマット312aは、マイクロコンピュータ301が、引数312eとして指定された表示テキストデータを、RFIDラベル252上の座標(x=X1,y=Y1)からサイズ=S1で書き出す処理を実行する際に用いられる。   FIG. 2 is a schematic diagram illustrating an example of the configuration of the label format file 312. A plurality of label format files 312 are stored in the HDD 307. Each label format file 312 includes a label format 312a that defines a print layout of print data to be printed on the RFID label 252 (FIG. 2A). The label format 312a includes data 312d including an attribute 312b indicating the contents of the label format 312a and an attribute value 312c. A black square shown in FIG. 2 is an argument 312e. The argument 312e is a value that the microcomputer 301 of the label issuing device 300 can change by applying the input print data to the label format 312a. For example, the label format 312a “text 1” shown in FIG. 2 is used when desired display text data is printed on the RFID label 252, and “display text”, “x”, “y”, “size”, etc. Of these, the attribute 312b “display text” indicates that the data 312d is text data that can be changed by external designation. Note that the attributes 312b “x” and “y” have coordinates (x, y) corresponding to the data 312d serving as the print start position when the “display text” determined by the designation of the argument 312e is printed on the RFID label 252. ). The attribute “312b” of “size” indicates that the data 312d corresponds to the size of the display text when the “display text” determined by the designation of the argument 312e is printed on the RFID label 252. In the label format 312a of “text 1” configured by including such data 312d, the microcomputer 301 converts the display text data designated as the argument 312e into the coordinates (x = X1, y = Y1) is used when executing the process of writing with size = S1.

この「テキスト1」をはじめ、ラベルフォーマットファイル312を構成する各種のラベルフォーマット312aは、RFIDラベル252に印刷される各パーツと対応している(図2(b))。   The various label formats 312a constituting the label format file 312 including the “text 1” correspond to the parts printed on the RFID label 252 (FIG. 2B).

図3は、ラベル発行システム101の概要を示す模式図である。   FIG. 3 is a schematic diagram showing an outline of the label issuing system 101.

上記に述べた構成のラベル発行システム101では、印刷データが印刷されRFIDタグ253に対しデータ書き込みが行われたRFIDラベル252が印刷発行される。このラベル発行システム101において、マイクロコンピュータ301は、記憶部としてのHDD307に記憶されたユーザアプリケーション314およびラベル発行プログラム315のそれぞれの記述に基づく処理を実行する。   In the label issuing system 101 having the above-described configuration, the RFID label 252 in which print data is printed and data is written to the RFID tag 253 is printed and issued. In this label issuing system 101, the microcomputer 301 executes processing based on the descriptions of the user application 314 and the label issuing program 315 stored in the HDD 307 as a storage unit.

ラベル発行装置300のマイクロコンピュータ301は、ユーザアプリケーション314の記述に基づく処理を実行中に、入力された印刷データをRAM305やHDD307に記憶保持する。そして、ラベル発行装置300のマイクロコンピュータ301が実行している処理がユーザアプリケーション314に基づく処理からラベル発行プログラム315に基づく処理に処理フェイズが移行する際には、この記憶保持されている印刷データはそのまま引き渡される。   The microcomputer 301 of the label issuing device 300 stores and holds the input print data in the RAM 305 and the HDD 307 during execution of processing based on the description of the user application 314. When the process executed by the microcomputer 301 of the label issuing apparatus 300 shifts from the process based on the user application 314 to the process based on the label issuance program 315, the stored print data is Delivered as is.

また、ラベル発行装置300のマイクロコンピュータ301は、ユーザアプリケーション314からラベル発行プログラム315に処理フェイズを移す際、印刷データを適用するラベルフォーマットファイル312を特定するためのラベルフォーマットファイル312の特定情報を引数として指定してラベル発行プログラム315を呼び出す。   Further, when the microcomputer 301 of the label issuing apparatus 300 shifts the processing phase from the user application 314 to the label issuing program 315, the specification information of the label format file 312 for specifying the label format file 312 to which the print data is applied is used as an argument. And the label issuing program 315 is called.

ラベル発行プログラム315は、以下に述べる機能をマイクロコンピュータ301に実行させる。第一に、ラベル発行プログラム315は、ユーザアプリケーション314において指定された一のラベルフォーマットファイル312にアクセスして、このラベルフォーマットファイル312に含まれているラベルフォーマット312aを取得する機能を、マイクロコンピュータ301に実行させる。このラベルフォーマットファイル312は、ラベルフォーマットジェネレータ313によって生成されHDD307に記憶されている。第二に、ラベル発行プログラム315は、LCD309に第1設定画面501(図5参照)および第2設定画面601(図6参照)を表示し、キーボード310等の入力デバイスからの入力操作によって設定された設定項目を所定のRFIDオブジェクトに適用する機能をマイクロコンピュータ301に実行させる。RFIDオブジェクトは、ラベル発行プログラム315にメソッドとして記述されているものが用いられる。なお、ラベルフォーマットファイル312にRFIDオブジェクトが含まれている場合は、入力操作によって設定された設定項目はラベルフォーマットファイル312に含まれているRFIDオブジェクトに適用される。第三に、ラベル発行プログラム315は、RFIDラベル252を発行するに際して、各RFIDラベル252毎に、入力された印刷データを取得し、フォーマットコマンドと、データコマンドと、RFIDコマンドとを生成し、生成したこれらのコマンドをRFIDラベルプリンタ200に送信してRFIDラベルプリンタ200からラベル発行を行わせる機能をマイクロコンピュータ301に実行させる。フォーマットコマンドは、ラベルフォーマットファイル312から取得したラベルフォーマット312aに基づいて印刷レイアウトを定義するようRFIDラベルプリンタ200を制御するための制御コマンドである。データコマンドは、取得した印刷データをRFIDラベル252に印刷するようRFIDラベルプリンタ200を制御するための制御コマンドである。RFIDコマンドは、入力された設定項目を適用したRFIDオブジェクトに基づいてRFIDタグ253にデータ書き込みを行うようRFIDラベルプリンタ200を制御するための制御コマンドである。   The label issuing program 315 causes the microcomputer 301 to execute the functions described below. First, the label issuing program 315 has a function of accessing one label format file 312 designated by the user application 314 and acquiring the label format 312 a included in the label format file 312. To run. The label format file 312 is generated by the label format generator 313 and stored in the HDD 307. Second, the label issuing program 315 displays a first setting screen 501 (see FIG. 5) and a second setting screen 601 (see FIG. 6) on the LCD 309, and is set by an input operation from an input device such as the keyboard 310. The microcomputer 301 is caused to execute a function of applying the set item to a predetermined RFID object. An RFID object described as a method in the label issuing program 315 is used. When the RFID object is included in the label format file 312, the setting items set by the input operation are applied to the RFID object included in the label format file 312. Third, when issuing the RFID label 252, the label issuing program 315 acquires the input print data for each RFID label 252, generates a format command, a data command, and an RFID command. The microcomputer 301 is caused to execute a function of transmitting these commands to the RFID label printer 200 and causing the RFID label printer 200 to issue a label. The format command is a control command for controlling the RFID label printer 200 to define a print layout based on the label format 312 a acquired from the label format file 312. The data command is a control command for controlling the RFID label printer 200 to print the acquired print data on the RFID label 252. The RFID command is a control command for controlling the RFID label printer 200 to write data to the RFID tag 253 based on the RFID object to which the input setting item is applied.

ラベル発行プログラム315には、この他にも、RFIDラベルプリンタ200から送信されるラベル印刷発行の処理結果を示すステータスをラベル発行装置300が受信し、そのステータスがエラーを示すものである場合は表示部としてのLCD309にエラー表示する機能をマイクロコンピュータ301に実行させる処理内容が含まれる。また、ラベル発行装置300が受信したステータスは、RAM305やHDD307に記憶保持されてユーザアプリケーション314にも引き渡される。   In addition to this, the label issuing program 315 displays a status when the label issuing device 300 receives the status indicating the processing result of the label printing issuance transmitted from the RFID label printer 200, and the status indicates an error. Processing contents for causing the microcomputer 301 to execute a function of displaying an error on the LCD 309 as a unit are included. Further, the status received by the label issuing device 300 is stored and held in the RAM 305 or the HDD 307 and is also transferred to the user application 314.

図4は、ラベル発行装置300のマイクロコンピュータ301が実行する処理の流れを示すフローチャートである。ラベル発行装置300のマイクロコンピュータ301は、ユーザアプリケーション314に記述されている処理を実行中、その中でラベル発行を実行する旨の記述があった場合、ラベル発行プログラム315を呼び出して処理フェイズをユーザアプリケーション314からラベル発行プログラム315に移す。ラベル発行プログラム315は、図4に示す各ステップを実行するためのメソッドにより構成されており、ラベル発行装置300のマイクロコンピュータ301は、各メソッドを呼び出すことで図4に示す各ステップの処理を実行する。このとき、印刷データはRAM305やHDD307に記憶されている必要がある。また、ユーザアプリケーション314内でラベル発行プログラム315を呼び出す際には、印刷データを適用したいラベルフォーマットファイル312を特定する特定情報が、引数指定等の手段によってユーザアプリケーション314内で指定されている必要がある。   FIG. 4 is a flowchart showing the flow of processing executed by the microcomputer 301 of the label issuing device 300. When the microcomputer 301 of the label issuing device 300 executes the process described in the user application 314 and there is a description to execute the label issuance, the label issuing program 315 is called and the processing phase is set to the user. Transfer from the application 314 to the label issuing program 315. The label issuing program 315 includes methods for executing the steps shown in FIG. 4, and the microcomputer 301 of the label issuing device 300 executes the processing of each step shown in FIG. 4 by calling each method. To do. At this time, the print data needs to be stored in the RAM 305 or the HDD 307. Further, when calling the label issuing program 315 in the user application 314, specific information for specifying the label format file 312 to which the print data is to be applied needs to be designated in the user application 314 by means such as argument designation. is there.

ラベル発行装置300のマイクロコンピュータ301は、処理フェイズをラベル発行プログラム315に移すと、まず、RFIDラベルプリンタ200とのデータ通信を開始するために通信ポートを開いて、ラベル発行をするためにRFIDラベルプリンタ200に対するデータ通信の準備をする(ステップS101)。   When the microcomputer 301 of the label issuing device 300 moves the processing phase to the label issuing program 315, it first opens a communication port to start data communication with the RFID label printer 200, and performs RFID labeling to issue a label. Preparations for data communication with the printer 200 are made (step S101).

続く処理として、ラベル発行装置300のマイクロコンピュータ301は、指定されたラベルフォーマットファイル312の特定情報に基づいて所望のラベルフォーマットファイルからラベルフォーマット312aを取得する(ステップS102)。なお、ラベルフォーマットファイル312にRFIDオブジェクトが含まれている場合、ラベル発行装置300のマイクロコンピュータ301は、ステップS102において、ラベルフォーマットファイル312に含まれるRFIDオブジェクトも取得する。   As a subsequent process, the microcomputer 301 of the label issuing device 300 acquires the label format 312a from the desired label format file based on the specified information of the label format file 312 (step S102). If the RFID object is included in the label format file 312, the microcomputer 301 of the label issuing device 300 also acquires the RFID object included in the label format file 312 in step S102.

続く処理として、ラベル発行装置300のマイクロコンピュータ301は、RFIDコマンドを生成するためにRFIDオブジェクトに適用する設定項目を設定するための処理を実行する(ステップS103)。ステップS103において、マイクロコンピュータ301は、ラベル発行プログラム315の記述に従って、RFIDオブジェクトに適用される設定項目を設定するための設定画面をLCD309に表示する。より詳細には、マイクロコンピュータ301は、ラベル発行プログラム315の記述内容に従って、ラベル発行装置300の操作者が行うRFIDオブジェクトに適用する設定項目の設定操作を支援するために、第1設定画面501(図5参照)および第2設定画面601(図6参照)をLCD309に表示する。   As a subsequent process, the microcomputer 301 of the label issuing device 300 executes a process for setting a setting item to be applied to the RFID object in order to generate an RFID command (step S103). In step S <b> 103, the microcomputer 301 displays a setting screen for setting setting items applied to the RFID object on the LCD 309 in accordance with the description of the label issuing program 315. More specifically, the microcomputer 301 uses the first setting screen 501 (in order to support the setting item setting operation applied to the RFID object performed by the operator of the label issuing device 300 in accordance with the description contents of the label issuing program 315. 5) and a second setting screen 601 (see FIG. 6) are displayed on the LCD 309.

図5は、第1設定画面501の一例を示す模式図である。第1設定画面501には、RFIDラベル252のラベル印刷発行の方式を決定するための方式選択部502と、第2設定画面601(図6参照)への切り替えを行うための切替ボタン503と、設定項目の設定操作の完了を指定するための完了ボタン504と、を含んで構成されている。   FIG. 5 is a schematic diagram illustrating an example of the first setting screen 501. The first setting screen 501 includes a method selection unit 502 for determining a method for issuing label printing of the RFID label 252, a switching button 503 for switching to the second setting screen 601 (see FIG. 6), And a completion button 504 for designating the completion of the setting item setting operation.

方式選択部502は、「RFIDオブジェクト情報」というメッセージと、「ラベルフォーマット」、「設定」、および、「一時変更」の三つの選択肢から一を選択するための複数の選択ボタンとにより構成される。ラベル発行装置300の使用者は、LCD309に表示された第1設定画面501の中から、方式選択部502に示される三つの方式のうち一の方式を選択する。   The method selection unit 502 includes a message “RFID object information” and a plurality of selection buttons for selecting one of three options “label format”, “setting”, and “temporary change”. . The user of the label issuing device 300 selects one of the three methods shown in the method selection unit 502 from the first setting screen 501 displayed on the LCD 309.

「ラベルフォーマット」は、ラベルフォーマットファイル312によって定義される印刷レイアウトに、入力された印刷データを適用した結果をRFIDラベル252に印刷させてラベルを印刷発行する方式である。ここで、ラベルフォーマットファイル312にRFIDオブジェクトが含まれていてステップS102における処理でラベルフォーマットファイル312に含まれているRFIDオブジェクトを取得した場合、ラベル発行装置300のマイクロコンピュータ301は、この取得したRFIDオブジェクトに基づいてRFIDコマンドを生成する。   The “label format” is a method for printing and issuing a label by causing the RFID label 252 to print the result of applying the input print data to the print layout defined by the label format file 312. Here, when the RFID object is included in the label format file 312 and the RFID object included in the label format file 312 is acquired in the processing in step S102, the microcomputer 301 of the label issuing apparatus 300 acquires the acquired RFID. Generate an RFID command based on the object.

「設定」は、「ラベルフォーマット」の場合と同様にRFIDラベル252に印刷を行うとともに、ラベルフォーマットファイル312にRFIDオブジェクトが含まれていないときにRFIDタグ253に第2設定画面601(図6参照)で設定されるRFIDデータを書き込んでラベルを印刷発行する方式である。ラベルフォーマットファイル312にRFIDオブジェクトが含まれている場合、この「設定」はグレーアウト表示となって選択不可となる。   “Setting” prints on the RFID label 252 as in the case of “label format”, and when the RFID object is not included in the label format file 312, the second setting screen 601 (see FIG. 6) is displayed on the RFID tag 253. The RFID data set in (1) is written and a label is printed and issued. When the label format file 312 includes an RFID object, this “setting” is grayed out and cannot be selected.

「一時変更」は、「ラベルフォーマット」の場合と同様にRFIDラベル252に印刷を行うとともに、ラベルフォーマットファイル312にRFIDオブジェクトがあるときに一時的にRFIDオブジェクトの内容を第2設定画面601(図6参照)で設定される設定項目に変更し、第2設定画面601(図6参照)で設定されるRFIDデータをRFIDタグ253に書き込んでラベルを印刷発行する方式である。ラベルフォーマットファイル312にRFIDオブジェクトが含まれていない場合は、この選択肢「一時変更」はグレーアウト表示となって選択不可となる。   “Temporary change” prints on the RFID label 252 as in the case of the “label format”, and when there is an RFID object in the label format file 312, the contents of the RFID object are temporarily displayed on the second setting screen 601 (FIG. 6), the setting item is changed to the setting item set in the second setting screen 601 (see FIG. 6), the RFID data set in the RFID tag 253 is written, and the label is printed and issued. If the RFID object is not included in the label format file 312, this option “temporary change” is grayed out and cannot be selected.

切替ボタン503は、「RFIDオブジェクト情報」と表示されたボタンアイコンである。方式選択部502の選択肢のうち「設定」もしくは「一時変更」が選択されている状態で選択指定可能となる。切替ボタン503が有効となっている状態で切替ボタン503がキーボード310やポインティングデバイスなどにより選択指定されると、LCD309には第2設定画面601(図6参照)が表示される。この第2設定画面601については、図6に基づいて後述する。これに対し、方式選択部502の選択肢のうち「ラベルフォーマット」が選択されている状態では、切替ボタン503はグレーアウトされ選択不可となる。   The switch button 503 is a button icon displayed as “RFID object information”. Selection can be made while “setting” or “temporary change” is selected from the options of the method selection unit 502. When the switch button 503 is selected and designated by the keyboard 310 or a pointing device while the switch button 503 is enabled, a second setting screen 601 (see FIG. 6) is displayed on the LCD 309. The second setting screen 601 will be described later with reference to FIG. On the other hand, when “label format” is selected from the options of the method selection unit 502, the switch button 503 is grayed out and cannot be selected.

完了ボタン504は、「OK」と表示されたボタンアイコンである。この完了ボタン504が選択指定されると、ラベル発行装置300のマイクロコンピュータ301は、ステップS103に示す処理を終了し、処理をステップS104に進める。   The completion button 504 is a button icon displayed as “OK”. When the completion button 504 is selected and designated, the microcomputer 301 of the label issuing device 300 ends the process shown in step S103 and advances the process to step S104.

図6は、第2設定画面601の一例を示す模式図である。第1設定画面501(図5参照)において方式選択部502から「設定」もしくは「一時変更」が選択された状態で完了ボタン504が選択指定された場合、ラベル発行装置300のマイクロコンピュータ301は、LCD309に第2設定画面601を表示する。LCD309には、RFIDタグ253に書き込まれるRFDIデータの入力を行うための入力ボックス602と、第2設定画面601で設定した設定項目の内容を確定するOKボタン603と、第2設定画面601で設定した設定項目の内容を破棄するキャンセルボタン604と、RFIDタグ253の製品規格やRFIDタグ253にデータ書き込みする際の論理フォーマット、各種書き込みオプションなどを指定するRFID形式指定部605と、プリセットされているRFID形式指定部605の設定を簡易に呼び出すためのモジュール指定部606と、が含まれている。この中で特に大切なのは入力ボックス602である。ラベル発行装置300のマイクロコンピュータ301は、入力ボックス602にRFIDデータが入力された状態でOKボタン603が選択指定されると、ラベル発行装置300のマイクロコンピュータ301は、入力されたRFIDデータの内容およびRFID形式指定部605で設定された設定項目を記憶保持してLCD309に第1設定画面501(図5参照)を表示する。これに対し、ラベル発行装置300のマイクロコンピュータ301は、入力ボックス602にRFIDデータが入力された状態であってもキャンセルボタン604が選択指定されると、入力されたRFIDデータの内容およびRFID形式指定部605で設定された設定項目を記憶保持することなく第1設定画面501を表示する。   FIG. 6 is a schematic diagram illustrating an example of the second setting screen 601. When the completion button 504 is selected and specified in a state where “setting” or “temporary change” is selected from the method selection unit 502 on the first setting screen 501 (see FIG. 5), the microcomputer 301 of the label issuing device 300 A second setting screen 601 is displayed on the LCD 309. The LCD 309 has an input box 602 for inputting RFDI data written to the RFID tag 253, an OK button 603 for confirming the contents of the setting items set on the second setting screen 601, and a setting on the second setting screen 601. A cancel button 604 for discarding the contents of the set item, an RFID format designation unit 605 for designating a product standard of the RFID tag 253, a logical format for writing data to the RFID tag 253, various write options, and the like. A module specification unit 606 for simply calling the setting of the RFID format specification unit 605 is included. Of these, the input box 602 is particularly important. When the OK button 603 is selected and specified in the state in which the RFID data is input to the input box 602, the microcomputer 301 of the label issuing device 300 displays the contents of the input RFID data and the contents of the input RFID data. The setting items set by the RFID format specifying unit 605 are stored and held, and the first setting screen 501 (see FIG. 5) is displayed on the LCD 309. On the other hand, when the cancel button 604 is selected and designated even when the RFID data is input to the input box 602, the microcomputer 301 of the label issuing device 300 specifies the content of the input RFID data and the RFID format. The first setting screen 501 is displayed without storing and holding the setting items set in the unit 605.

図4に基づく説明に戻る。ステップS103に続く処理として、ラベル発行装置300のマイクロコンピュータ301は、RAM305やHDD307に記憶保持している印刷データからRFIDラベル252一枚分の印刷データを読み込む(ステップS104)。一例として、RAM305やHDD307には印刷データが、個々のRFIDラベル252に対応するよう設定されているレコードに区切られて記憶されている。そして、ラベル発行装置300のマイクロコンピュータ301は、ステップS104において一レコード分の印刷データを読み込む。RFIDラベル252に印刷される印刷データが存在しステップS104において印刷データを取得できた場合(ステップS105のY)、ラベル発行装置300のマイクロコンピュータ301は、フォーマットコマンドとデータコマンドとRFIDコマンドとを生成する(ステップS106)。より詳細には、ラベル発行装置300のマイクロコンピュータ301は、ラベルフォーマット312aに基づいて印刷レイアウトを定義するようRFIDラベルプリンタ200を制御するためのフォーマットコマンドを生成する。また、ラベル発行装置300のマイクロコンピュータ301は、RFIDラベル252に印刷するようRFIDラベルプリンタ200を制御するためのデータコマンドを生成する。また、ラベル発行装置300のマイクロコンピュータ301は、ステップS103に示す処理において設定された設定項目を適用したRFIDオブジェクトを用いてRFIDタグ253に書き込むようRFIDラベルプリンタ200を制御するためのRFIDコマンドを生成する。ステップS103において第1設定画面501の方式選択部502で方式「設定」が選択された場合、ラベル発行装置300のマイクロコンピュータ301は、第2設定画面601のRFID形式指定部605で設定された各種設定項目および入力ボックス602をラベル発行プログラム315に記述されているRFIDオブジェクトに適用してRFIDタグ253にデータ書き込むようRFIDラベルプリンタ200を制御するためのRFIDコマンドを生成する。これに対し、ステップS103において第1設定画面501の方式選択部502で方式「一時変更」が選択された場合、ラベル発行装置300のマイクロコンピュータ301は、ラベルフォーマットファイル312に含まれるRFIDオブジェクトに対して第2設定画面601で設定された各種設定項目および入力されたRFIDデータを適用してRFIDオブジェクトの内容を変更し、第2設定画面601で設定された内容に基づくRFIDコマンドを生成する。   Returning to the description based on FIG. As processing subsequent to step S103, the microcomputer 301 of the label issuing device 300 reads print data for one RFID label 252 from print data stored in the RAM 305 or the HDD 307 (step S104). As an example, the print data is stored in the RAM 305 and the HDD 307 by being divided into records set to correspond to the individual RFID labels 252. In step S104, the microcomputer 301 of the label issuing device 300 reads print data for one record. When there is print data to be printed on the RFID label 252 and the print data can be acquired in step S104 (Y in step S105), the microcomputer 301 of the label issuing device 300 generates a format command, a data command, and an RFID command. (Step S106). More specifically, the microcomputer 301 of the label issuing device 300 generates a format command for controlling the RFID label printer 200 to define a print layout based on the label format 312a. In addition, the microcomputer 301 of the label issuing device 300 generates a data command for controlling the RFID label printer 200 to print on the RFID label 252. Further, the microcomputer 301 of the label issuing device 300 generates an RFID command for controlling the RFID label printer 200 to write to the RFID tag 253 using the RFID object to which the setting item set in the process shown in step S103 is applied. To do. When the method “setting” is selected by the method selection unit 502 of the first setting screen 501 in step S103, the microcomputer 301 of the label issuing device 300 performs various settings set by the RFID format designation unit 605 of the second setting screen 601. An RFID command for controlling the RFID label printer 200 to write data to the RFID tag 253 by applying the setting item and the input box 602 to the RFID object described in the label issuing program 315 is generated. On the other hand, when the method “temporary change” is selected by the method selection unit 502 of the first setting screen 501 in step S103, the microcomputer 301 of the label issuing device 300 performs the processing for the RFID object included in the label format file 312. By applying various setting items set on the second setting screen 601 and the input RFID data, the content of the RFID object is changed, and an RFID command based on the content set on the second setting screen 601 is generated.

なお、ステップS103において第1設定画面501の方式選択部502で方式「ラベルフォーマット」が選択された場合、ラベル発行装置300のマイクロコンピュータ301はステップS106における処理を実行する際に、ラベルフォーマットファイル312にRFIDオブジェクトが含まれていなければRFIDコマンドを生成せず、ラベルフォーマットファイル312にRFIDオブジェクトが含まれていればこのRFIDオブジェクトに基づいたRFIDコマンドを生成する。   When the method “label format” is selected by the method selection unit 502 of the first setting screen 501 in step S103, the microcomputer 301 of the label issuing device 300 executes the label format file 312 when executing the processing in step S106. If the RFID object is not included in the RFID format, no RFID command is generated. If the RFID object is included in the label format file 312, an RFID command based on the RFID object is generated.

続く処理として、ラベル発行装置300のマイクロコンピュータ301は、RFIDラベルプリンタ200に対しステップS105で生成したフォーマットコマンドとデータコマンドとRFIDコマンドとを送信し、これらとともにラベル発行コマンドを送信して、RFIDラベルプリンタ200にラベル発行を実行させる(ステップS107)。   As a subsequent process, the microcomputer 301 of the label issuing device 300 transmits the format command, the data command, and the RFID command generated in step S105 to the RFID label printer 200, and transmits the label issuing command together with these to issue the RFID label. The printer 200 is caused to issue a label (step S107).

続く処理として、ラベル発行装置300のマイクロコンピュータ301は、RFIDラベルプリンタ200から送信されるRFIDラベル252の印刷発行結果を示すステータスの受信を待機する(ステップS108)。RFIDラベルプリンタ200から送信されるステータスを受信すると(ステップS108のY)、ラベル発行装置300のマイクロコンピュータ301は、受信したステータスがラベル印刷発行においてエラーが発生したことを示すものであるか否かを判定し(ステップS109)、エラーがあると判定した場合のみ(ステップS109のY)、LCD309にエラー表示を行ってRFIDラベル252の印刷発行の過程においてエラーが発生したことをラベル発行装置300の使用者に報知し(ステップS110)、処理をステップS104に戻す。これに対し、ステップS109においてエラーがないと判定した場合(ステップS109のN)、ラベル発行装置300のマイクロコンピュータ301は、ステップS110に示す処理を実行せずに処理をステップS104に戻す。   As a subsequent process, the microcomputer 301 of the label issuing device 300 waits for reception of a status indicating the printing issue result of the RFID label 252 transmitted from the RFID label printer 200 (step S108). When the status transmitted from the RFID label printer 200 is received (Y in step S108), the microcomputer 301 of the label issuing device 300 determines whether or not the received status indicates that an error has occurred in the label printing issuance. Only when it is determined that there is an error (Y in step S109), an error is displayed on the LCD 309 to indicate that an error has occurred in the process of printing and issuing the RFID label 252. The user is notified (step S110), and the process returns to step S104. On the other hand, if it is determined in step S109 that there is no error (N in step S109), the microcomputer 301 of the label issuing device 300 returns the process to step S104 without executing the process shown in step S110.

ステップS105における判定について、RFIDラベル252に印刷される印刷データが存在せずステップS104において印刷データが取得できなかった場合(ステップS105のN)、ラベル発行装置300のマイクロコンピュータ301は、通信ポートを閉じてRFIDラベルプリンタ200とのデータ通信を終了し(ステップS111)、プログラム制御をユーザアプリケーション314に移すことで、ラベル発行プログラム315に従った処理を終了する。   Regarding the determination in step S105, if there is no print data to be printed on the RFID label 252 and the print data cannot be acquired in step S104 (N in step S105), the microcomputer 301 of the label issuing device 300 sets the communication port. The process is closed to end the data communication with the RFID label printer 200 (step S111), and the program control is transferred to the user application 314, whereby the process according to the label issuing program 315 is ended.

このように、本実施の形態のRFIDラベルプリンタ200は、記憶部としてのHDD307に格納されているラベル発行プログラム315の記述に従って実行される処理によって、RFIDタグ253にデータ書き込みを行うようRFIDラベルプリンタ200を制御するためのRFIDコマンドが生成されてRFIDラベルプリンタ200に送信され、RFIDラベルプリンタ200はRFIDコマンドに従って処理を実行しラベルを発行するため、従来作成されたラベルフォーマットファイル312を活用し、RFIDデータ書き込みおよび印刷を行ってRFIDラベル252を発行することができる。   As described above, the RFID label printer 200 according to the present embodiment performs the data writing to the RFID tag 253 by the process executed in accordance with the description of the label issuing program 315 stored in the HDD 307 as a storage unit. An RFID command for controlling 200 is generated and transmitted to the RFID label printer 200. The RFID label printer 200 performs processing according to the RFID command and issues a label. The RFID label 252 can be issued by writing and printing RFID data.

なお、図4のステップS103に示す処理は、ユーザアプリケーション314から呼び出したラベル発行プログラム315の中で実行されるほか、別の実施の形態として、ユーザアプリケーション314の実行中にラベル発行プログラム315と連動することなく第1設定画面501および第2設定画面601を表示して設定項目の設定を可能にしてもよいし、ユーザアプリケーション314を実行していなくても第1設定画面501および第2設定画面601をLCD309に表示して設定項目の設定を可能にしてもよい。   The process shown in step S103 of FIG. 4 is executed in the label issuing program 315 called from the user application 314. As another embodiment, the process is linked with the label issuing program 315 during the execution of the user application 314. The first setting screen 501 and the second setting screen 601 may be displayed without making it possible to set the setting items, or even if the user application 314 is not executed, the first setting screen 501 and the second setting screen 601 may be displayed on the LCD 309 to enable setting items to be set.

また、別の実施の形態として、ラベル発行装置300のマイクロコンピュータ301は、ステップS106の処理を実行する直前に第1設定画面501や第2設定画面601を表示して設定項目を設定するための処理(ステップS103)を実行するようにし、RFIDラベル252のそれぞれについて個別にRFIDオブジェクトに適用する設定項目をラベル発行装置300の使用者に設定させるようにしてもよい。   As another embodiment, the microcomputer 301 of the label issuing device 300 displays the first setting screen 501 and the second setting screen 601 and sets the setting items immediately before executing the process of step S106. The process (step S103) may be executed to allow the user of the label issuing device 300 to set the setting items to be individually applied to the RFID object for each of the RFID labels 252.

ラベル発行システムのシステム構成図である。It is a system block diagram of a label issuing system. ラベルフォーマットファイルの構成の一例を示す模式図である。It is a schematic diagram which shows an example of a structure of a label format file. ラベル発行システムの概要を示す模式図である。It is a schematic diagram which shows the outline | summary of a label issuing system. ラベル発行装置のマイクロコンピュータが実行する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which the microcomputer of a label issuing apparatus performs. 第1設定画面の一例を示す模式図である。It is a schematic diagram which shows an example of a 1st setting screen. 第2設定画面の一例を示す模式図である。It is a schematic diagram which shows an example of a 2nd setting screen.

符号の説明Explanation of symbols

200…RFIDラベルプリンタ、252…RFIDラベル、253…RFIDタグ、310…キーボード(データ取得手段、情報入力部)、300…ラベル発行装置(コンピュータ)、301…マイクロコンピュータ(情報処理部)、307…HDD(記憶部)、309…LCD(情報出力部)、312…ラベルフォーマットファイル(ファイル)、312a…ラベルフォーマット、315…ラベル発行プログラム、316…設定インタフェイス   DESCRIPTION OF SYMBOLS 200 ... RFID label printer, 252 ... RFID label, 253 ... RFID tag, 310 ... Keyboard (data acquisition means, information input unit), 300 ... Label issuing device (computer), 301 ... Microcomputer (information processing unit), 307 ... HDD (storage unit), 309 ... LCD (information output unit), 312 ... label format file (file), 312a ... label format, 315 ... label issuing program, 316 ... setting interface

Claims (3)

印刷レイアウトを定義するラベルフォーマットに印刷データを適用してRFIDラベルに対し印刷を行いそのRFIDラベルに含まれるRFIDタグにデータ書き込みを実行するRFIDラベルプリンタとデータ通信自在に接続し、印刷データを取得するためのデータ取得手段と、情報入力部および情報出力部を備えてRFIDタグにデータ書き込みを行うよう前記RFIDラベルプリンタを制御するためのRFIDコマンドを生成するために必要となるRFIDオブジェクトに対し適用される設定項目を設定するための設定インタフェイスと、を備え、前記ラベルフォーマットを含むファイルにアクセス可能なコンピュータにインストールされ、当該コンピュータに、
前記ファイルにアクセスして当該ファイルに含まれるラベルフォーマットを取得する取得機能と、
前記設定項目を設定するための設定画面を前記設定インタフェイスに表示し、当該設定インタフェイスからの入力操作によって設定された設定項目を所定のRFIDオブジェクトに適用する設定機能と、
前記RFIDラベル毎に、前記データ取得手段から印刷データを取得し、前記取得したラベルフォーマットに基づいて印刷レイアウトを定義するよう前記RFIDラベルプリンタを制御するためのフォーマットコマンドと、前記取得した印刷データを前記RFIDラベルに印刷するよう前記RFIDラベルプリンタを制御するためのデータコマンドと、前記入力された設定項目を適用したRFIDオブジェクトに基づいて前記RFIDタグにデータ書き込みを行うよう前記RFIDラベルプリンタを制御するためのRFIDコマンドと、を生成し、前記生成したフォーマットコマンドとデータコマンドとRFIDコマンドとを前記RFIDラベルプリンタに送信して当該RFIDラベルプリンタにラベル発行を行わせる機能と、
を実行させるラベル発行プログラム。
Apply print data to the label format that defines the print layout, print on the RFID label, and write data to the RFID tag included in the RFID label. Applicable to RFID objects necessary for generating RFID commands for controlling the RFID label printer so as to write data to the RFID tag by providing data acquisition means for performing data writing and an information output unit A setting interface for setting setting items to be set, and installed in a computer accessible to a file including the label format,
An acquisition function for accessing the file and acquiring a label format included in the file;
A setting function for displaying a setting screen for setting the setting item on the setting interface, and applying the setting item set by an input operation from the setting interface to a predetermined RFID object;
For each RFID label, print data is acquired from the data acquisition means, a format command for controlling the RFID label printer to define a print layout based on the acquired label format, and the acquired print data The RFID label printer is controlled to write data to the RFID tag based on a data command for controlling the RFID label printer to print on the RFID label and an RFID object to which the input setting item is applied. An RFID command for generating the label command, and sending the generated format command, data command, and RFID command to the RFID label printer, and causing the RFID label printer to issue a label,
Issuing a label issuing program.
前記ファイルは、RFIDオブジェクトを含み、
前記取得機能では、前記コンピュータに、前記ファイルに含まれるRFIDオブジェクトを取得させ、
前記設定機能では、前記入力された設定項目を前記ファイルから取得したRFIDオブジェクトに適用して当該RFIDオブジェクトに含まれるデータを変更する機能を前記コンピュータに実行させる、
請求項1記載のラベル発行プログラム。
The file includes an RFID object;
The acquisition function causes the computer to acquire an RFID object included in the file,
The setting function causes the computer to execute a function of changing the data included in the RFID object by applying the input setting item to the RFID object acquired from the file.
The label issuing program according to claim 1.
請求項1または2記載のラベル発行プログラムを記憶する記憶部と、
前記データ取得手段と、
前記設定インタフェイスと、
前記ラベル発行プログラムの記述に従った処理を実行する情報処理部と、
を備えるラベル発行装置。
A storage unit for storing the label issuing program according to claim 1 or 2,
The data acquisition means;
The setting interface;
An information processing unit that executes processing according to the description of the label issuing program;
A label issuing device comprising:
JP2007281890A 2007-10-30 2007-10-30 Label issuing program and label issuing device Pending JP2009110266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007281890A JP2009110266A (en) 2007-10-30 2007-10-30 Label issuing program and label issuing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007281890A JP2009110266A (en) 2007-10-30 2007-10-30 Label issuing program and label issuing device

Publications (1)

Publication Number Publication Date
JP2009110266A true JP2009110266A (en) 2009-05-21

Family

ID=40778699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007281890A Pending JP2009110266A (en) 2007-10-30 2007-10-30 Label issuing program and label issuing device

Country Status (1)

Country Link
JP (1) JP2009110266A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661547A (en) * 2009-09-22 2010-03-03 中兴通讯股份有限公司 Method for writing data to tag in radio frequency identification system and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661547A (en) * 2009-09-22 2010-03-03 中兴通讯股份有限公司 Method for writing data to tag in radio frequency identification system and device
WO2011035511A1 (en) * 2009-09-22 2011-03-31 中兴通讯股份有限公司 Method and device for writing data into tag in radio frequency identification system
CN101661547B (en) * 2009-09-22 2012-10-10 中兴通讯股份有限公司 Method for writing data to tag in radio frequency identification system and device

Similar Documents

Publication Publication Date Title
EP1905603B1 (en) Two-dimensional code printing apparatus and method and tangible medium
US8363247B2 (en) Printer control method
JP2006228066A5 (en)
US7588380B2 (en) Label data creating apparatus, label data creating method, and computer program product
CN101670713A (en) Print label editing apparatus
US8856637B2 (en) Applying borders to each page in N-up printing
JP2011143648A (en) Tape printing device, label forming method, and storage medium storing program for forming label
JPH10138569A (en) Character information-processing apparatus
JP2009110266A (en) Label issuing program and label issuing device
JP2000225747A (en) Printing cutting apparatus and memory medium
JP6986948B2 (en) Printer device
JP3627259B2 (en) Barcode print data creation device
JP5142852B2 (en) Image forming apparatus having customizable user interface
JP2008290431A (en) Method of preparing printing sample form by printer
JP2016128215A (en) Printer and control method of the same
JP2005103948A (en) Letter information processing system, letter information processing apparatus, and letter information processing program
JP2004130683A (en) Printer, program, and medium recording that program
JP2022143585A (en) Label generation program
JP2009020593A (en) Print control system
JP2022124607A (en) Information processing apparatus, tape printer, tape printing system, control method of information processing apparatus, and program
JP2009160809A (en) Portable printer
JP2004066502A (en) Printer
KR100594728B1 (en) Page setting method in image forming device and printing system
JP5447638B2 (en) Process execution method, program thereof, and print instruction apparatus
JPH0872320A (en) Tapelike label forming apparatus

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20091030

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201