JP2024030080A - Label printer and information processing program - Google Patents

Label printer and information processing program Download PDF

Info

Publication number
JP2024030080A
JP2024030080A JP2022132640A JP2022132640A JP2024030080A JP 2024030080 A JP2024030080 A JP 2024030080A JP 2022132640 A JP2022132640 A JP 2022132640A JP 2022132640 A JP2022132640 A JP 2022132640A JP 2024030080 A JP2024030080 A JP 2024030080A
Authority
JP
Japan
Prior art keywords
symbol
processor
string data
symbol string
storage means
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
JP2022132640A
Other languages
Japanese (ja)
Inventor
直人 柿木
Naoto Kakigi
博幸 後藤
Hiroyuki Goto
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 JP2022132640A priority Critical patent/JP2024030080A/en
Publication of JP2024030080A publication Critical patent/JP2024030080A/en
Pending legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

To enable an operator of a label printer to easily specify recycling characters.SOLUTION: A label printer includes storage means, detection means, generation means and print means. The storage means stores symbol string data composed of enumeration of a plurality of symbol codes each indicating symbols. The detection means detects a symbol code of a symbol predetermined as a modified symbol from symbol codes included in the symbol string data stored by the storage means. The generation means generates a print image in which as for the symbol indicated the symbol code excluding the symbol code detected by the detection means among the symbol codes included in the symbol string data stored by the storage means, a symbol indicated by the symbol code sandwiched between the symbol codes detected by the detection means is applied with decoration according to the symbol code detected by the detection means. The print means prints the print image generated by the generation means on a label sheet.SELECTED DRAWING: Figure 9

Description

本発明の実施形態は、ラベルプリンタ及び情報処理プログラムに関する。 Embodiments of the present invention relate to a label printer and an information processing program.

販売店で販売する商品に貼付する等のためのラベルを発行するラベルプリンタは既に知られている。
ラベルプリンタにより発行するラベルには、当該ラベルの貼付対象となる商品の包装材に関するリサイクル表示を含める場合がある。リサイクル表示は、包装材の分別回収のための分類を表したリサイクルマークと、包装材の材質を表すリサイクル文字とが含まれる。例えば、ポリプロピレンとポリエチレンテレフタレートとを積層させた複合材質の包装容器の場合、分類が「プラスチック」であることを表すリサイクルマークと、材質がポリプロピレン及びポリエチレンテレフタレートであることを表すリサイクル文字としての「PP,PET」とがリサイクル表示に含められる。なお、複合材質の場合、主たる材質を表す文字に下線を付する必要がある。つまり、例えばポリプロピレンが主たる材質である場合には、リサイクル文字のうちの「PP」のみに下線を付する必要がある。このため、材質の組合せと、それら材質のうちの何れが主たる材質であるかに応じた多数のリサイクル文字が存在する。
このような多数のリサイクル文字が存在する状況にあって、ラベルにプリントすべきリサイクル文字をラベルプリンタの操作者が簡易に指定できることが望まれていた。
2. Description of the Related Art Label printers that issue labels to be attached to products sold at retail stores are already known.
A label issued by a label printer may include a recycling indication regarding the packaging material of the product to which the label is attached. The recycling display includes a recycling mark representing the classification for separate collection of the packaging material and recycling characters representing the material of the packaging material. For example, in the case of a packaging container made of a composite material made by laminating polypropylene and polyethylene terephthalate, there is a recycle mark indicating that the classification is "plastic" and a "PP" recycling symbol indicating that the material is polypropylene and polyethylene terephthalate. , PET' are included in the recycling display. In the case of composite materials, the letters representing the main material must be underlined. That is, for example, if polypropylene is the main material, only "PP" among the recycled characters needs to be underlined. Therefore, there are many recycled characters depending on the combination of materials and which of those materials is the main material.
In a situation where such a large number of recycled characters exist, it has been desired that an operator of a label printer be able to easily specify the recycled characters to be printed on a label.

特開2006-7628号公報Japanese Patent Application Publication No. 2006-7628

本発明が解決しようとする課題は、ラベルにプリントすべきリサイクル文字をラベルプリンタの操作者が簡易に指定することが可能なラベルプリンタ及び情報処理プログラムを提供することである。 An object of the present invention is to provide a label printer and an information processing program that allow a label printer operator to easily specify recycled characters to be printed on a label.

実施形態のラベルプリンタは、記憶手段、検出手段、生成手段及びプリント手段を備える。記憶手段は、それぞれが記号を表す複数の記号コードの羅列よりなる記号列データを記憶する。検出手段は、記憶手段により記憶されている記号列データに含まれる記号コードのうちから、修飾記号として予め定められた記号の記号コードを検出する。生成手段は、記憶手段により記憶されている記号列データに含まれる記号コードのうちで検出手段により検出された記号コードを除く記号コードが表す記号を、検出手段により検出された記号コードどうしにより挟まれている記号コードが表す記号については検出手段により検出された記号コードに応じた修飾を施して表したプリント画像を生成する。プリント手段は、生成手段により生成されたプリント画像をラベル用紙にプリントする。 The label printer of the embodiment includes a storage means, a detection means, a generation means, and a printing means. The storage means stores symbol string data consisting of an enumeration of a plurality of symbol codes each representing a symbol. The detection means detects a symbol code of a symbol predetermined as a modifier symbol from among the symbol codes included in the symbol string data stored by the storage means. The generating means is configured to sandwich symbols represented by symbol codes other than the symbol code detected by the detection means among the symbol codes included in the symbol string data stored by the storage means between the symbol codes detected by the detection means. The symbol represented by the symbol code detected by the detecting means is modified in accordance with the symbol code detected by the detection means to generate a printed image. The printing means prints the print image generated by the generation means on label paper.

一実施形態に係るラベルプリンタの要部回路構成を示すブロック図。FIG. 1 is a block diagram showing a main circuit configuration of a label printer according to an embodiment. フォーマットに関する設定データの1つについての構造を模式的に示す図。FIG. 3 is a diagram schematically showing the structure of one piece of setting data regarding a format. フォーマット選択及び編集のための処理ルーチンのフローチャート。5 is a flowchart of a processing routine for format selection and editing. フォーマット選択及び編集のための処理ルーチンのフローチャート。5 is a flowchart of a processing routine for format selection and editing. 一例としての選択画面を示す図。The figure which shows the selection screen as an example. 一例としての編集画面を示す図。The figure which shows the edit screen as an example. 一例としての一覧画面を示す図。The figure which shows the list screen as an example. 一例としての入力画面を示す図。The figure which shows the input screen as an example. ラベルプリントのための処理ルーチンのフローチャート。Flowchart of a processing routine for label printing. イメージメモリに展開されるラベル画像の一例を示す図。FIG. 3 is a diagram showing an example of a label image developed in an image memory.

以下、実施の形態について図面を用いて説明する。
図1は本実施形態に係るラベルプリンタ1の要部回路構成を示すブロック図である。
ラベルプリンタ1は、プロセッサ11、メモリユニット12、ハードウェアクロック13、表示ユニット14、入力ユニット15、プリントユニット16、インタフェースユニット17及び伝送路18を含む。
Embodiments will be described below with reference to the drawings.
FIG. 1 is a block diagram showing the main circuit configuration of a label printer 1 according to this embodiment.
Label printer 1 includes a processor 11, a memory unit 12, a hardware clock 13, a display unit 14, an input unit 15, a print unit 16, an interface unit 17, and a transmission line 18.

プロセッサ11は、メモリユニット12、ハードウェアクロック13、表示ユニット14、入力ユニット15、プリントユニット16及びインタフェースユニット17と、伝送路18を介して通信可能とされている。そして、プロセッサ11及びメモリユニット12が伝送路18により接続されていることによって、ラベルプリンタ1を制御するためのコンピュータが構成される。 The processor 11 is capable of communicating with a memory unit 12, a hardware clock 13, a display unit 14, an input unit 15, a print unit 16, and an interface unit 17 via a transmission path 18. By connecting the processor 11 and the memory unit 12 via the transmission line 18, a computer for controlling the label printer 1 is configured.

プロセッサ11は、上記コンピュータの中枢部分に相当する。プロセッサ11は、オペレーティングシステム、ファームウェア及びアプリケーションプログラム等の情報処理プログラムに従って、ラベルプリンタ1としての各種の機能を実現するための情報処理を実行する。プロセッサ11は、例えばCPU(central processing unit)である。 The processor 11 corresponds to the central part of the computer. The processor 11 executes information processing to realize various functions of the label printer 1 according to information processing programs such as an operating system, firmware, and application programs. The processor 11 is, for example, a CPU (central processing unit).

メモリユニット12は、上記コンピュータの主記憶部分及び補助記憶部に相当する。メモリユニット12は、読み出し専用のメモリ領域と書き換え可能なメモリ領域とを含む。メモリユニット12は、読み出し専用のメモリ領域では上記の情報処理プログラムを記憶する。メモリユニット12は、プロセッサ11が情報処理を実行する上で必要なデータを読み出し専用のメモリ領域又は書き換え可能なメモリ領域で記憶する場合もある。メモリユニット12は、書き換え可能なメモリ領域を、プロセッサ11によってデータが適宜書き換えられるワークエリアとして使用する。読み出し専用のメモリ領域は、例えばROM(read only memory)及びEEPROM(electric erasable programmable read-only memory)の記憶領域などである。書き換え可能なメモリ領域は、例えばRAM(random access memory)の記憶領域などである。読み出し専用のメモリ領域は、例えばHDD(hard disc drive)、あるいはSSD(solid state drive)等の記憶領域であってもよい。
メモリユニット12が記憶する情報処理プログラムの1つは、制御プログラムPRである。制御プログラムPRは、後述する制御処理を含んだラベルプリンタ1の動作制御のための情報処理について記述された情報処理プログラムである。
The memory unit 12 corresponds to the main memory portion and auxiliary memory portion of the computer. Memory unit 12 includes a read-only memory area and a rewritable memory area. The memory unit 12 stores the above information processing program in a read-only memory area. The memory unit 12 may store data necessary for the processor 11 to perform information processing in a read-only memory area or a rewritable memory area. The memory unit 12 uses a rewritable memory area as a work area in which data is appropriately rewritten by the processor 11. The read-only memory area includes, for example, a ROM (read only memory) and an EEPROM (electric erasable programmable read-only memory) storage area. The rewritable memory area is, for example, a RAM (random access memory) storage area. The read-only memory area may be, for example, a storage area such as an HDD (hard disc drive) or an SSD (solid state drive).
One of the information processing programs stored in the memory unit 12 is a control program PR. The control program PR is an information processing program that describes information processing for controlling the operation of the label printer 1, including control processing to be described later.

ハードウェアクロック13は、常に計時動作を行い、日付情報を出力する。日付情報は、月及び日を少なくとも示す。本実施形態では、日付情報は、年、月、日、時、分、秒をそれぞれ示すこととする。つまり本実施形態では、日付情報は、日付及び時刻を示す。ハードウェアクロック13は、オペレーティングシステムにより管理されるシステムクロックなどのソフトウェアクロックに置き換えられてもよい。 The hardware clock 13 constantly performs timekeeping operations and outputs date information. The date information indicates at least the month and day. In this embodiment, the date information indicates the year, month, day, hour, minute, and second, respectively. That is, in this embodiment, the date information indicates the date and time. Hardware clock 13 may be replaced by a software clock, such as a system clock managed by an operating system.

表示ユニット14は、操作者に対して各種の情報を通知するための各種の表示動作を行う。表示ユニット14としては、液晶表示器等の画面表示デバイス及びLEDランプ等の発光デバイスなどの周知の表示デバイスを、単独又は組み合わせて用いることができる。表示ユニット14に含まれる表示デバイスは例えば、タッチパネルに備えられた表示デバイスである。 The display unit 14 performs various display operations to notify the operator of various information. As the display unit 14, well-known display devices such as a screen display device such as a liquid crystal display and a light emitting device such as an LED lamp can be used alone or in combination. The display device included in the display unit 14 is, for example, a display device included in a touch panel.

入力ユニット15は、操作者による各種の指示を入力する。入力ユニット15としては、タッチセンサ、キースイッチ及びキーボードなどの周知の入力デバイスを、単独又は組み合わせて用いることができる。入力ユニット15に含まれる入力デバイスは例えば、上記のタッチパネルに備えられたタッチセンサである。 The input unit 15 inputs various instructions from the operator. As the input unit 15, well-known input devices such as a touch sensor, a key switch, and a keyboard can be used alone or in combination. The input device included in the input unit 15 is, for example, a touch sensor included in the above-mentioned touch panel.

プリントユニット16は、細長い台紙を搬送しながら、この台紙の一面に貼り付けられているラベル用紙に、文字などを表したラベル画像をプリントする。台紙及びラベル用紙の材質は、典型的には紙であるが、樹脂などの紙以外の材質であっても構わない。また、台紙及びラベル用紙のそれぞれの材質が互いに異なっていてもよい。プリントユニットは、感熱式、熱転写式、ドットインパクト式、あるいはインクジェット式などの種々の周知のプリント方式のいずれが採用されてもよい。 The printing unit 16 prints a label image representing characters or the like on a label sheet pasted on one side of the mount while conveying the long and narrow mount. The mount and label paper are typically made of paper, but may be made of other materials such as resin. Furthermore, the materials of the mount and the label paper may be different from each other. The printing unit may employ any of various known printing methods such as a thermal type, a thermal transfer type, a dot impact type, or an inkjet type.

インタフェースユニット17は、外部の情報端末装置等とデータを授受するための通信処理を行う。インタフェースユニット17としては、例えばLAN(local area network)規格、あるいはUSB(universal serial bus)規格などに準拠した周知の通信デバイスなどを用いることができる。
伝送路18は、アドレスバス、データバス及び制御信号線等を含み、接続された各部の間で授受されるデータ及び制御信号を伝送する。
The interface unit 17 performs communication processing for exchanging data with an external information terminal device or the like. As the interface unit 17, a well-known communication device conforming to, for example, the LAN (local area network) standard or the USB (universal serial bus) standard can be used.
The transmission line 18 includes an address bus, a data bus, a control signal line, etc., and transmits data and control signals exchanged between the connected parts.

メモリユニット12が記憶するデータには、設定データ群DAが含まれる。設定データ群DAは、ラベルプリンタ1の動作に関わる諸設定に関する設定データの集合である。設定データの1つは、ラベルにプリントするラベル画像のフォーマットを表す。設定データ群DAには、それぞれ異なるフォーマットに関する複数の設定データが含まれ得る。 The data stored in the memory unit 12 includes a setting data group DA. The setting data group DA is a set of setting data regarding various settings related to the operation of the label printer 1. One of the setting data represents the format of the label image to be printed on the label. The configuration data group DA may include a plurality of configuration data relating to different formats.

図2はフォーマットに関する設定データDAAの1つについての構造を模式的に示す図である。
設定データDAAは、1つのフォーマットに関連付けられる。フォーマットは、ラベル画像の範囲内に、それぞれ異なる項目に関する情報をプリントするための領域として複数のプリント領域を定めている。設定データDAAは、フィールドFAA,FAB,FAC,FAD…を含む。フィールドFAAには、関連付けられたフォーマットの識別子としてのフォーマット番号がセットされる。フィールドFABには、関連付けられたフォーマットの識別名としてのフォーマット名称がセットされる。フィールドFAC以降には、関連付けられたフォーマットにて定められたプリント領域のそれぞれに関する領域データがセットされる。プリント領域の数は、フォーマット毎に任意である。このため、設定データDAAに含まれるフィールドFAC以降のフィールドの数は、設定データDAAが関連付けられたフォーマットにいくつのプリント領域が設定されているかに応じて変化する。
FIG. 2 is a diagram schematically showing the structure of one of the format-related setting data DAA.
Configuration data DAA is associated with one format. The format defines a plurality of print areas within the range of the label image as areas for printing information regarding different items. The setting data DAA includes fields FAA, FAB, FAC, FAD, and so on. A format number as an identifier of the associated format is set in the field FAA. A format name as an identification name of an associated format is set in the field FAB. After the field FAC, area data regarding each of the print areas defined in the associated format is set. The number of print areas is arbitrary for each format. Therefore, the number of fields after field FAC included in the setting data DAA changes depending on how many print areas are set in the format with which the setting data DAA is associated.

1つの領域データは、1つのプリント領域に関連付けられ、フィールドFBA,FBB,FBCを含む。フィールドFBAには、関連付けられたプリント領域の識別子としての領域番号がセットされる。フィールドFBBには、関連付けられたプリント領域に関する項目の識別子としての項目番号がセットされる。フィールドFBCには、関連付けられたプリント領域に関する設定値がセットされる。フィールドFBCには、複数の設定値を含む場合もある。フィールドFBCにどのような設定値が含まれるかは、関連付けられたプリント領域がどの項目に関するかに応じて変化する。 One area data is associated with one print area and includes fields FBA, FBB, and FBC. An area number as an identifier of the associated print area is set in the field FBA. An item number as an identifier of the item related to the associated print area is set in the field FBB. Setting values regarding the associated print area are set in the field FBC. Field FBC may include multiple setting values. What setting values are included in the field FBC varies depending on which item the associated print area relates to.

また設定データ群DAには、登録済みのリサイクル文字を定義する記号列(以下、定義記号列と称する)を、当該定義記号列の識別子としてのリサイクル文字番号に関連付けて表したリサイクル文字データが含まれる。なお、定義記号列を構成する記号には、リサイクル文字を構成する文字も含まれる。定義記号列は、実際には、文字を含む様々な記号を表す複数の記号コードの羅列よりなる記号列データとして設定データ群DAに含まれる。記号コードとしては、例えばShift_JISコードなどの周知の規格に準拠したコードを用いることができる。記号コードは、文字コードとも称される。かくして設定データ群DAを記憶しているメモリユニット12は、記号列データを記憶する記憶手段に相当する。 The setting data group DA also includes recycled character data in which a symbol string that defines a registered recycled character (hereinafter referred to as a definition symbol string) is associated with a recycled character number as an identifier of the defined symbol string. It will be done. Note that the symbols that make up the definition symbol string also include characters that make up recycled characters. The definition symbol string is actually included in the setting data group DA as symbol string data consisting of a list of a plurality of symbol codes representing various symbols including characters. As the symbol code, a code compliant with a well-known standard such as Shift_JIS code can be used. A symbol code is also called a character code. The memory unit 12 that stores the setting data group DA thus corresponds to storage means that stores symbol string data.

次に以上のように構成されたラベルプリンタ1の動作について説明する。なお、以下に説明する処理の内容は一例であって、一部の処理の順序の変更、一部の処理の省略、あるいは別の処理の追加などは適宜に可能である。
ラベルプリンタ1は、例えば店舗にて陳列販売する商品に貼り付けるラベルを発行するために用いられる。
Next, the operation of the label printer 1 configured as above will be explained. Note that the contents of the processes described below are merely examples, and the order of some processes may be changed, some processes may be omitted, or other processes may be added as appropriate.
The label printer 1 is used, for example, to issue labels to be attached to products displayed and sold at a store.

プロセッサ11は、例えば入力ユニット15での予め定められた操作によりフォーマットを選択する旨が操作者により宣言されたことに応じて、フォーマット選択及び編集のための処理ルーチンを制御プログラムPRに従って実行する。
図3及び図4はフォーマット選択及び編集のための処理ルーチンのフローチャートである。
The processor 11 executes a processing routine for format selection and editing in accordance with the control program PR in response to an operator's declaration that a format is to be selected through a predetermined operation on the input unit 15, for example.
3 and 4 are flowcharts of a processing routine for format selection and editing.

ACT11としてプロセッサ11は、選択画面を表示ユニット14に表示させる。選択画面は、設定データ群DAに含まれる設定データが表すフォーマットの1つを操作者に選択させるための画面である。 As ACT11, the processor 11 causes the display unit 14 to display a selection screen. The selection screen is a screen for allowing the operator to select one of the formats represented by the setting data included in the setting data group DA.

図5は一例としての選択画面SCAを示す図である。なお、選択画面SCA、ならびに後述する各種の画面に関する図示においては、各画面の概略を示し、一部の表示要素についての図示を省略している場合もある。
選択画面SCAは、キー群KAAと、キー群KAAに含まれない、ソフトキーKAB等の複数のソフトキーとを表す。
FIG. 5 is a diagram showing an example selection screen SCA. Note that in illustrations of the selection screen SCA and various screens to be described later, the outline of each screen is shown, and illustrations of some display elements may be omitted.
The selection screen SCA represents a key group KAA and a plurality of soft keys such as soft keys KAB that are not included in the key group KAA.

キー群KAAは、設定データ群DAに含まれる設定データが表すフォーマットのうちの任意の1つを操作者が指定するための複数のソフトキーを含む。図5の例では、最も上に表されるソフトキーは、フォーマット番号が「1」、かつフォーマット名称が「AAA」であるフォーマットを指定するための操作キーであり、その領域内に「1」及び「AAA」なる文字を表している。 The key group KAA includes a plurality of soft keys for the operator to specify any one of the formats represented by the setting data included in the setting data group DA. In the example of FIG. 5, the topmost soft key is an operation key for specifying a format whose format number is "1" and format name is "AAA", and "1" is displayed in the area. and the letters "AAA".

ソフトキーKAB等のその他のソフトキーは、プロセッサ11が選択画面SCAにて指定を受ける複数の機能のそれぞれに関連付けられ、その機能を実行すべき機能として指定するための操作キーである。なお、ソフトキーKABは、実行すべき機能としてフォーマットの編集を指定するための操作キーである。
これらソフトキーは、プロセッサ11が選択画面での操作者の操作を受けるためのGUI(graphical user interface)要素である。選択画面SCAのその他の表示要素も、GUI要素であってもよい。
Other soft keys such as soft key KAB are associated with each of a plurality of functions that the processor 11 receives designation on the selection screen SCA, and are operation keys for designating that function as a function to be executed. Note that the soft key KAB is an operation key for specifying format editing as a function to be executed.
These soft keys are GUI (graphical user interface) elements through which the processor 11 receives operations from the operator on the selection screen. Other display elements on the selection screen SCA may also be GUI elements.

図3中のACT12としてプロセッサ11は、フォーマットの1つが指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT13へと進む。
ACT13としてプロセッサ11は、実行すべき機能が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT12へと戻る。
かくしてプロセッサ11はACT12及びACT13としては、フォーマット又は機能が指定されるのを待ち受ける。
In ACT12 in FIG. 3, the processor 11 checks whether one of the formats has been designated. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and proceeds to ACT13.
In ACT13, the processor 11 checks whether a function to be executed has been specified. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and returns to ACT12.
In this way, the processor 11 waits for the format or function to be specified as ACT12 and ACT13.

操作者は、例えば選択画面SCA中のキー群KAAのうちの所望のフォーマットが関連付けられたソフトキーをタップするなどの予め定められた操作により、フォーマットの1つを指定する。そしてプロセッサ11は、このような操作が入力ユニット15により入力されたならば、ACT12にてYESと判定し、ACT14へと進む。
ACT14としてプロセッサ11は、指定されたフォーマットを有効フォーマットとして設定する。そしてプロセッサ11はこののち、ACT12及びACT13の待受状態に戻る。なおプロセッサ11は、有効フォーマットとして設定されているフォーマットが関連付けられたソフトキーについては、予め定められた方法でハイライト表示する。プロセッサ11は、図5に示す選択画面SCAにおいては、最も上に表されたソフトキーを囲う状態で太線枠を表すことでハイライト表示を行っている。つまり図5に示す選択画面SCAは、フォーマット名称が「AAA」であるフォーマットが有効フォーマットとして設定されている状況を表している。
The operator specifies one of the formats by a predetermined operation such as tapping a soft key associated with a desired format from the key group KAA on the selection screen SCA. If such an operation is input through the input unit 15, the processor 11 determines YES in ACT12, and proceeds to ACT14.
In ACT14, the processor 11 sets the specified format as a valid format. The processor 11 then returns to the standby state for ACT12 and ACT13. Note that the processor 11 highlights soft keys associated with formats set as valid formats in a predetermined manner. In the selection screen SCA shown in FIG. 5, the processor 11 performs highlight display by displaying a thick line frame surrounding the topmost soft key. In other words, the selection screen SCA shown in FIG. 5 represents a situation where the format whose format name is "AAA" is set as the valid format.

操作者は、フォーマットの選択を終え、何らかの処置に進む場合には、その処置のための機能に関連付けられたソフトキーをタップするなどの予め定められた操作を行う。プロセッサ11は、このような操作が入力ユニット15により入力されたならばACT13にてYESと判定し、ACT15へと進む。
ACT15としてプロセッサ11は、指定された機能がフォーマットの編集であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、指定された機能を実現するための処理へと移行するが、その場合についての説明は省略する。
When the operator finishes selecting a format and proceeds to some kind of treatment, the operator performs a predetermined operation such as tapping a soft key associated with a function for that treatment. If such an operation is input through the input unit 15, the processor 11 determines YES in ACT13, and proceeds to ACT15.
In ACT 15, the processor 11 checks whether the specified function is format editing. If the processor 11 cannot confirm the corresponding event, the processor 11 makes a negative determination and proceeds to a process for realizing the specified function, but a description of that case will be omitted.

操作者は、有効フォーマットを編集したいならば、例えば図5中のソフトキーKABをタップするなどの予め定められた操作を行う。プロセッサ11は、このような操作が入力ユニット15により入力されたことに応じてACT15へと進んだ場合は、ACT15にてYESと判定し、ACT16へと進む。
ACT16としてプロセッサ11は、編集画面を表示ユニット14に表示させる。編集画面は、有効フォーマットの編集に関わる様々な指定を受け付けるための画面である。
If the operator wishes to edit the valid format, the operator performs a predetermined operation such as tapping the soft key KAB in FIG. 5, for example. If the processor 11 proceeds to ACT15 in response to such an operation being input by the input unit 15, it determines YES in ACT15 and proceeds to ACT16.
In ACT16, the processor 11 causes the display unit 14 to display an editing screen. The editing screen is a screen for accepting various specifications related to editing the valid format.

図6は一例としての編集画面SCBを示す図である。
編集画面SCBは、有効フォーマットに含まれるプリント領域のそれぞれに関する項目の1つを指定するためのGUI要素を表す。当該のGUI要素は、表示領域ABA,ABB及びソフトキーKBA,KBBを含む。プロセッサ11は、表示領域ABA,ABBには、1つの項目に関する項目番号及び項目名称をそれぞれ表す。ソフトキーKBA,KBBは、表示領域ABA,ABBに表される項目の順送り及び逆送りをそれぞれ指示するための操作キーである。
FIG. 6 is a diagram showing an example of the editing screen SCB.
The editing screen SCB represents a GUI element for specifying one item regarding each of the print areas included in the valid format. The GUI elements include display areas ABA, ABB and soft keys KBA, KBB. The processor 11 displays an item number and an item name regarding one item in display areas ABA and ABB, respectively. Soft keys KBA and KBB are operation keys for instructing forward and reverse forwarding of the items represented in display areas ABA and ABB, respectively.

また編集画面SCBは、ソフトキーKBA,KBB以外に、ソフトキーKBCを含む複数のソフトキーを表す。これらのソフトキーは、それぞれに関連付けられた機能を実行すべき機能として指定するための操作キーである。なおソフトキーKBCは、実行すべき機能として、後述するように対象項目として設定された項目の編集を操作者が指定するため操作キーである。 Further, the editing screen SCB shows a plurality of soft keys including soft key KBC in addition to soft keys KBA and KBB. These soft keys are operation keys for specifying the functions associated with each as a function to be executed. Note that the soft key KBC is an operation key used by the operator to specify editing of an item set as a target item as described later as a function to be executed.

ACT17としてプロセッサ11は、項目の1つが指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT18へと進む。
ACT18としてプロセッサ11は、実行すべき機能が指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT17へと戻る。
かくしてプロセッサ11はACT17及びACT18としては、項目又は機能が指定されるのを待ち受ける。
As ACT17, the processor 11 checks whether one of the items has been specified. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and proceeds to ACT18.
In ACT18, the processor 11 checks whether a function to be executed has been specified. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and returns to ACT17.
In this manner, the processor 11 waits for an item or function to be specified in ACT17 and ACT18.

操作者は、例えばソフトキーKBA,KBBをタップするなどの予め定められた操作により、項目の1つを指定する。そしてプロセッサ11は、このような操作が入力ユニット15により入力されたならば、ACT17にてYESと判定し、ACT19へと進む。
ACT19としてプロセッサ11は、指定された項目を編集の対象項目として設定する。プロセッサ11は例えば、ソフトキーKBA,KBBのいずれかがタップされるごとに、表示領域ABA,ABBに項目番号及び項目名称を表す項目を変更し、当該項目を対象項目とする。そしてプロセッサ11はこののち、ACT17及びACT18の待受状態に戻る。
The operator specifies one of the items by a predetermined operation such as tapping soft keys KBA and KBB. If such an operation is input through the input unit 15, the processor 11 determines YES in ACT17, and proceeds to ACT19.
In ACT 19, the processor 11 sets the specified item as an item to be edited. For example, each time one of the soft keys KBA and KBB is tapped, the processor 11 changes the item representing the item number and item name in the display areas ABA and ABB, and sets the item as the target item. Thereafter, the processor 11 returns to the standby state of ACT17 and ACT18.

操作者は、項目の選択を終え、何らかの処置に進む場合には、例えばソフトキーKBA,KBB以外のいずれかのソフトキーをタップするなどの予め定められた操作を行う。なお、このときに操作者は、対象項目を編集したいならば、例えば図6中のソフトキーKBCをタップするなどの予め定められた操作を行う。プロセッサ11は、このような操作が入力ユニット15により入力されたならばACT18にてYESと判定し、ACT20へと進む。 When the operator finishes selecting an item and proceeds to some kind of treatment, the operator performs a predetermined operation such as tapping any soft key other than the soft keys KBA and KBB. Note that at this time, if the operator wishes to edit the target item, he or she performs a predetermined operation such as tapping the soft key KBC in FIG. 6, for example. If such an operation is input through the input unit 15, the processor 11 determines YES in ACT18, and proceeds to ACT20.

ACT20としてプロセッサ11は、指定された機能が項目の編集であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、指定された機能を実現するための処理に移行するが、その場合についての説明は省略する。 In ACT 20, the processor 11 checks whether the specified function is editing of an item. If the processor 11 cannot confirm the event, the processor 11 makes a negative determination and proceeds to a process for realizing the designated function, but a description of this case will be omitted.

プロセッサ11は、ACT20へと進む契機となった操作が、ソフトキーKBCをタップするなどの項目の編集を実行すべき機能として指定するための操作であったならばACT20にてYESと判定し、ACT21へと進む。
ACT21としてプロセッサ11は、対象項目が「リサイクル文字」であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、対象項目に関する編集のための処理へと移行するが、その場合の処理についての説明は省略する。
The processor 11 determines YES in ACT 20 if the operation that triggered the proceeding to ACT 20 is an operation for specifying editing of an item as a function to be executed, such as tapping the soft key KBC, Proceed to ACT21.
In ACT 21, the processor 11 checks whether the target item is a "recycle character". If the processor 11 cannot confirm the corresponding event, the processor 11 makes a negative determination and proceeds to processing for editing the target item, but a description of the processing in this case will be omitted.

一方、プロセッサ11は、対象項目が「リサイクル文字」であるならば、ACT21にてYESと判定し、図4中のACT31へと進む。
ACT31としてプロセッサ11は、一覧画面を表示ユニット14に表示させる。一覧画面は、登録済みである定義記号列を操作者に確認させるための画面である。
On the other hand, if the target item is a "recycle character", the processor 11 determines YES in ACT21, and proceeds to ACT31 in FIG.
In ACT 31, the processor 11 causes the display unit 14 to display a list screen. The list screen is a screen that allows the operator to confirm the definition symbol strings that have already been registered.

図7は一例としての一覧画面SCCを示す図である。
一覧画面SCCは、リストLCA、表示エリアACA,ACB、ソフトキーKCA,KCBを表す。また一覧画面SCCは、ソフトキーKCA,KCB以外に、ソフトキーKCC,KCD,KCEを含む複数のソフトキーを表す。
FIG. 7 is a diagram showing a list screen SCC as an example.
List screen SCC represents list LCA, display areas ACA and ACB, and soft keys KCA and KCB. The list screen SCC also displays a plurality of soft keys including soft keys KCC, KCD, and KCE in addition to soft keys KCA and KCB.

プロセッサ11は、リストLCAには、設定データ群DAに含まれるリサイクル文字データに基づき、登録済みの定義記号列を表す。プロセッサ11は、表示エリアACAには、リサイクル文字の登録済みの件数を表す。プロセッサ11は、表示エリアACBには、リストの総ページ数と、表示中のページ番号とを表す。かくして図7の例では、3件のリサイクル文字が登録済みであり、リストLCAは総ページ数1ページのうちの第1ページが表されている場合である。また図7の例では、「PP」「PET」「PE」が、それぞれ定義記号列として登録済みである場合である。ソフトキーKCA,KCBは、リストLCAの総ページ数が2ページ以上である場合に、表示するページの順送り及び逆送りをそれぞれ指示するための操作キーである。ソフトキーKCCは、定義記号列の指定を終えて、編集画面SCBへの戻りを指示するための操作キーである。ソフトキーKCDは、登録済みのリサイクル文字の編集開始を指示するための操作キーである。ソフトキーKCEは、新規のリサイクル文字の登録開始を指示するための操作キーである。 The processor 11 represents registered definition symbol strings in the list LCA based on the recycled character data included in the setting data group DA. The processor 11 displays the number of registered recycled characters in the display area ACA. The processor 11 displays the total number of pages in the list and the page number being displayed in the display area ACB. Thus, in the example of FIG. 7, three recycled characters have been registered, and the list LCA represents the first page out of a total of one page. In the example of FIG. 7, "PP", "PET", and "PE" are each registered as definition symbol strings. Soft keys KCA and KCB are operation keys for instructing forward and backward forwarding of displayed pages, respectively, when the total number of pages in list LCA is two or more pages. The soft key KCC is an operation key for instructing to return to the editing screen SCB after specifying the definition symbol string. The soft key KCD is an operation key for instructing to start editing registered recycle characters. The soft key KCE is an operation key for instructing the start of registration of a new recycled character.

ACT32としてプロセッサ11は、登録済みの定義記号列の1つが指定されたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT33へと進む。
ACT33としてプロセッサ11は、定義記号列の1つの指定以外の何らかの指示がなされたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT32へと戻る。
かくしてプロセッサ11はACT32及びACT33としては、定義記号列が指定されるか又はその他の指示がなされるのを待ち受ける。
In ACT32, the processor 11 checks whether one of the registered definition symbol strings has been specified. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and proceeds to ACT33.
In ACT 33, the processor 11 checks whether any instruction other than one of the definition symbol strings has been specified. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and returns to ACT32.
In this manner, the processor 11 waits for a definition symbol string to be designated or for other instructions to be given in ACT32 and ACT33.

操作者は、例えば一覧画面SCC中のリストLCA内で、所望の定義記号列が表されている欄をタップするなどの予め定められた操作により、定義記号列の1つを指定する。そしてプロセッサ11は、このような操作が入力ユニット15により入力されたならば、ACT32にてYESと判定し、ACT34へと進む。
ACT34としてプロセッサ11は、指定された定義記号列により定義されるリサイクル文字を、ラベルプリントに適用すべきリサイクル文字(以下、適用文字と称する)として設定する。そしてプロセッサ11はこののち、ACT32及びACT33の待受状態に戻る。
つまりプロセッサ11は、例えば、操作者が図7に表される一覧画面SCCにて、「PE」と表された欄をタップしたならば、当該定義記号列「PE」により定義されるリサイクル文字を適用文字として設定する。
The operator specifies one of the definition symbol strings by a predetermined operation such as, for example, tapping a column in which a desired definition symbol string is represented in the list LCA in the list screen SCC. If such an operation is input through the input unit 15, the processor 11 determines YES in ACT32, and proceeds to ACT34.
In ACT 34, the processor 11 sets the recycled character defined by the specified definition symbol string as the recycled character (hereinafter referred to as applied character) to be applied to the label print. The processor 11 then returns to the standby state for ACT32 and ACT33.
In other words, for example, if the operator taps the column labeled "PE" on the list screen SCC shown in FIG. Set as applicable character.

操作者は、適用文字として設定されているリサイクル文字を編集したい場合は、例えば一覧画面SCCにてソフトキーKCDにタップするなどの予め定められた操作により編集を指示する。また操作者は、定義文字列として登録されていない新たな定義文字列を登録したい場合には、例えば一覧画面SCCにてソフトキーKCEにタップするなどの予め定められた操作により新規登録のための編集を指示する。プロセッサ11は、上記の指示のような、定義記号列の指定以外の指示がなされたことを確認下ならば、ACT33にてYESと判定してACT35へと進む。
ACT35としてプロセッサ11は、編集が指示されたか否かを確認する。そしてプロセッサ11は、上述のようにして編集が指定されたことを確認したならばYESと判定し、ACT36へと進む。
ACT36としてプロセッサ11は、入力画面を表示ユニット14に表示させる。入力画面は、定義記号列の操作者による入力を受けるための画面である。
If the operator wishes to edit the recycled characters set as applicable characters, the operator instructs the editing by a predetermined operation such as tapping the soft key KCD on the list screen SCC. In addition, if the operator wishes to register a new definition character string that has not been registered as a definition character string, the operator can perform a predetermined operation such as tapping the soft key KCE on the list screen SCC to register a new definition character string. Instruct editing. If the processor 11 confirms that an instruction other than the specification of a definition symbol string, such as the above instruction, has been given, it makes a YES determination in ACT33 and proceeds to ACT35.
In ACT 35, the processor 11 checks whether editing has been instructed. If the processor 11 confirms that editing has been specified as described above, it determines YES and proceeds to ACT36.
As ACT 36, the processor 11 causes the display unit 14 to display an input screen. The input screen is a screen for receiving input of definition symbol strings by the operator.

図8は一例としての入力画面SCDを示す図である。
入力画面SCDは、表示エリアADA、キー群KDAを表す。また入力画面SCDは、キー群KDAに含まれるソフトキー以外に、ソフトキーKDBを含む複数のソフトキーを表す。
FIG. 8 is a diagram showing an example input screen SCD.
The input screen SCD represents a display area ADA and a key group KDA. Furthermore, the input screen SCD represents a plurality of soft keys including soft keys KDB in addition to the soft keys included in the key group KDA.

プロセッサ11は、表示エリアADAには、編集中の定義記号列を表す。なおプロセッサ11は、例えば一覧画面SCCにてソフトキーKCDがタップされたことに応じて表示させる入力画面SCDの表示エリアADAには、適用文字に関する定義記号列を表す。またプロセッサ11は、例えば一覧画面SCCにてソフトキーKCEがタップされたことに応じて表示させる入力画面SCDの表示エリアADAは、空欄とする。キー群KDAは、表示エリアADAに表されている定義記号列を編集するための各種の操作キーである複数のソフトキーが含まれる。ソフトキーKDBは、定義記号列の編集を終えて、一覧画面SCCへの戻りを指示するための操作キーである。 The processor 11 displays the definition symbol string being edited in the display area ADA. Note that the processor 11 displays, for example, a definition symbol string related to the applicable characters in the display area ADA of the input screen SCD that is displayed in response to tapping of the soft key KCD on the list screen SCC. Further, the processor 11 leaves the display area ADA of the input screen SCD, which is displayed in response to tapping of the soft key KCE on the list screen SCC, for example, blank. The key group KDA includes a plurality of soft keys that are various operation keys for editing the definition symbol string represented in the display area ADA. The soft key KDB is an operation key for instructing to return to the list screen SCC after editing the definition symbol string.

ACT37としてプロセッサ11は、定義記号列を編集するための操作が行われたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT38へと進む。
ACT38としてプロセッサ11は、編集操作以外の何らかの指示がなされたか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT37へと戻る。
かくしてプロセッサ11はACT37及びACT38としては、編集操作がなされるか又はそれ以外の指示がなされるのを待ち受ける。
In ACT 37, the processor 11 checks whether an operation for editing the definition symbol string has been performed. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and proceeds to ACT38.
In ACT 38, the processor 11 checks whether any instruction other than an editing operation has been given. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and returns to ACT37.
Thus, in ACT37 and ACT38, the processor 11 waits for an editing operation or other instruction to be performed.

操作者は、例えば、表示エリアADAに表されている登録済みの定義記号列を、キー群KDAの操作によって記号の追加及び削除などを行って変更する。あるいは操作者は、空欄とされている表示エリアADAに、キー群KDAの操作によって新たに定義記号列を入力する。プロセッサ11は、このような編集操作がなされるとACT37にてYESと判定し、ACT39へと進む。
ACT39としてプロセッサ11は、操作に応じて定義記号列を更新する。プロセッサ11は例えば、メモリユニット12のワークエリアに編集対象となっている定義記号列を表したテキストデータを保存しておき、このテキストデータを編集操作に応じて更新する。そしてプロセッサ11はこののち、ACT37及びACT38の待受状態に戻る。
For example, the operator changes the registered definition symbol string displayed in the display area ADA by adding or deleting symbols by operating the key group KDA. Alternatively, the operator inputs a new definition symbol string into the blank display area ADA by operating the key group KDA. When such an editing operation is performed, the processor 11 determines YES in ACT37, and proceeds to ACT39.
As ACT 39, the processor 11 updates the definition symbol string according to the operation. For example, the processor 11 stores text data representing a definition symbol string to be edited in a work area of the memory unit 12, and updates this text data in response to an editing operation. Thereafter, the processor 11 returns to the standby state of ACT37 and ACT38.

操作者は、登録しようとしている定義記号列が表示エリアADAに表示されている状態で、例えばソフトキーKDBをタップする等の予め定められた操作によって戻りを指示する。プロセッサ11は、このような操作を含む何らかの指示のための操作が入力ユニット15により入力されたならばACT38にてYESと判定し、ACT40へと進む。
ACT40としてプロセッサ11は、戻り指示であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、なされた指示に応じた処理へと移行するが、その場合についての説明は省略する。
The operator instructs to return by a predetermined operation such as tapping the soft key KDB while the definition symbol string to be registered is displayed in the display area ADA. If an operation for any instruction including such an operation is input through the input unit 15, the processor 11 determines YES in ACT38, and proceeds to ACT40.
In ACT 40, the processor 11 checks whether it is a return instruction. If the processor 11 cannot confirm the corresponding event, the processor 11 makes a negative determination and proceeds to processing according to the instruction given, but a description of that case will be omitted.

上述のように戻り指示がなされたのであるならば、プロセッサ11はACT40にてYESと判定し、ACT41へと進む。
ACT41としてプロセッサ11は、設定データ群DAに含まれるリサイクル文字データを、この時点で表示エリアADAに表されている定義記号列を含むように更新する。このときプロセッサ11は、例えば一覧画面SCCにてソフトキーKCDがタップされたことに応じてACT35へと進んでいる場合には、適用文字として設定されている定義記号列を表示エリアADAに表されている定義記号列で置き換えるようにする。またプロセッサ11は、例えば一覧画面SCCにてソフトキーKCEがタップされたことに応じてACT35へと進んでいる場合には、表示エリアADAに表されている定義記号列を新たな定義記号列として追加する。具体的には、操作者が図7に表す状態にある一覧画面SCCにてソフトキーKCEをタップし、その後に図8に表すように「//PP//,PET」なる文字列を入力する操作を行い、さらにソフトキーKDBをタップしたとする。この場合にプロセッサ11は、「//PP//,PET」なる定義記号列を、例えばリサイクル文字番号「4」に関連付けて表すようにリサイクル文字データを更新する。かくして制御プログラムPRに基づく情報処理をプロセッサ11が実行することによってプロセッサ11を中枢部分とするコンピュータは、上記のように定義記号列を追加する場合に、その定義記号列を表した記号列データを生成し、当該生成した記号列データを記憶手段としてのメモリユニット12に記憶させる生成手段として機能する。またプロセッサ11を中枢部分とするコンピュータは、上記のように定義記号列を更新する場合に、記憶手段としてのメモリユニット12に記憶されている記号列データを更新する更新手段として機能する。
If the return instruction has been given as described above, the processor 11 determines YES in ACT40 and proceeds to ACT41.
In ACT41, the processor 11 updates the recycled character data included in the setting data group DA so that it includes the definition symbol string currently displayed in the display area ADA. At this time, if the process proceeds to ACT35 in response to tapping of the soft key KCD on the list screen SCC, the processor 11 displays the definition symbol string set as the applicable character in the display area ADA. Replace it with the defined symbol string. Further, if the process proceeds to ACT35 in response to tapping of the soft key KCE on the list screen SCC, the processor 11 sets the definition symbol string represented in the display area ADA as a new definition symbol string. to add. Specifically, the operator taps the soft key KCE on the list screen SCC in the state shown in FIG. 7, and then inputs the character string "//PP//,PET" as shown in FIG. Assume that the user performs the operation and then taps the soft key KDB. In this case, the processor 11 updates the recycle character data so that the definition symbol string "//PP//,PET" is expressed in association with the recycle character number "4", for example. In this way, when the processor 11 executes information processing based on the control program PR, the computer having the processor 11 as its central part can add symbol string data representing the definition symbol string when adding a definition symbol string as described above. It functions as a generating means that generates symbol string data and stores the generated symbol string data in the memory unit 12 as a storage means. Furthermore, when updating the definition symbol string as described above, the computer having the processor 11 as its core functions as an updating means for updating the symbol string data stored in the memory unit 12 as a storage means.

そしてプロセッサ11はこののち、ACT31以降を前述と同様に繰り返す。このとき、プロセッサ11が改めてACT31を実行することにより表示される一覧画面SCCには、上述のように編集又は追加された定義記号列が表されることになる。つまり、上述のように編集又は追加された定義記号列により定義されるリサイクル文字も適用文字としての指定の対象となる。 Thereafter, the processor 11 repeats ACT31 and subsequent steps in the same manner as described above. At this time, the definition symbol string edited or added as described above will be displayed on the list screen SCC displayed when the processor 11 executes ACT31 again. In other words, recycled characters defined by definition symbol strings edited or added as described above are also designated as applicable characters.

操作者は、所望のリサイクル文字が適用文字として設定されている状態で、例えば一覧画面SCCのソフトキーKCCをタップする等の予め定められた操作によって戻りを指示する。
プロセッサ11は、一覧画面SCCを表示させて、ACT32及びACT33の待ち受け状態にあるときに、定義記号列の指定のため、あるいは編集指示のためとは異なる何らかの指示のための操作が入力ユニット15により入力されたならばACT33にてYES、さらにACT35にてNOと判定し、ACT42へと進む。
ACT42としてプロセッサ11は、戻り指示であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、なされた指示に応じた処理へと移行するが、その場合についての説明は省略する。
The operator instructs to return by a predetermined operation such as tapping the soft key KCC on the list screen SCC while the desired recycle character is set as the applicable character.
When the processor 11 displays the list screen SCC and is in a standby state for ACT32 and ACT33, the input unit 15 performs an operation for specifying a definition symbol string or for some instruction other than an editing instruction. If the input is made, YES is determined in ACT33, and NO is determined in ACT35, and the process proceeds to ACT42.
In ACT 42, the processor 11 checks whether it is a return instruction. If the processor 11 cannot confirm the corresponding event, the processor 11 makes a negative determination and proceeds to processing according to the instruction given, but a description of that case will be omitted.

上述のように戻り指示がなされたのであるならば、プロセッサ11はACT42にてYESと判定し、ACT43へと進む。
ACT43としてプロセッサ11は、領域データを更新する。つまりプロセッサ11は例えば、設定データ群DAの中から、有効フォーマットに関する設定データDAAを選び出す。またプロセッサ11は、この選び出した設定データDAAに含まれる領域データのうち、対象項目に関する領域データを選び出す。そしてプロセッサ11は、該当の領域データのフィールドFBCにセットされている設定値を、適用文字を識別するリサイクル文字番号に更新する。そしてプロセッサ11はこののち、図3中のACT16へと戻って、以降の処理を前述と同様に繰り返す。
If the return instruction has been given as described above, the processor 11 determines YES in ACT42 and proceeds to ACT43.
In ACT 43, the processor 11 updates the area data. That is, the processor 11 selects, for example, setting data DAA regarding the valid format from the setting data group DA. The processor 11 also selects area data related to the target item from among the area data included in the selected setting data DAA. Then, the processor 11 updates the setting value set in the field FBC of the corresponding area data to a recycle character number that identifies the applied character. The processor 11 then returns to ACT16 in FIG. 3 and repeats the subsequent processing in the same manner as described above.

一方、操作者は、上述のようにして有効フォーマットとして設定されているフォーマットのラベルをプリントする必要があるならば、例えば入力ユニット15での予め定められた操作によりラベルのプリントを指示する。この指示に応じてプロセッサ11は、ラベルプリントのための処理ルーチンを制御プログラムPRに従って実行する。 On the other hand, if the operator needs to print a label in the format set as the valid format as described above, the operator instructs printing of the label by, for example, a predetermined operation on the input unit 15. In response to this instruction, processor 11 executes a processing routine for label printing according to control program PR.

図9はラベルプリントのための処理ルーチンのフローチャートである。
ACT51としてプロセッサ11は、有効フォーマットで定められているプリント領域のうちの1つを対象領域として決定する。
FIG. 9 is a flowchart of a processing routine for label printing.
In ACT 51, the processor 11 determines one of the print areas defined in the valid format as the target area.

ACT52としてプロセッサ11は、対象領域に関する項目がリサイクル文字であるか否かを確認する。そしてプロセッサ11は、該当の事象を確認できないならばNOと判定し、ACT53へと進む。
ACT53としてプロセッサ11は、メモリユニット12内に設定したイメージメモリに、対象領域に配置すべき文字又は画像などを展開する。
In ACT52, the processor 11 checks whether the item related to the target area is a recycled character. If the processor 11 cannot confirm the corresponding event, the processor 11 determines NO and proceeds to ACT53.
As ACT 53, the processor 11 develops characters, images, etc. to be placed in the target area in the image memory set in the memory unit 12.

一方、プロセッサ11は、対象領域に関する項目がリサイクル文字であるならば、ACT52にてYESと判定し、ACT54へと進む。
ACT54としてプロセッサ11は、対象領域に関するリサイクル文字の定義記号列を読み出す。つまりプロセッサ11は例えば、設定データ群DAの中から、有効フォーマットに関する設定データDAAを選び出す。またプロセッサ11は、この選び出した設定データDAAに含まれる領域データのうち、対象領域に関する領域データを選び出す。そしてプロセッサ11は、該当の領域データのフィールドFBCに設定値として設定されているリサイクル文字番号で識別される定義記号列を設定データ群DAの中から読み出す。
On the other hand, if the item related to the target area is a recycle character, the processor 11 determines YES in ACT52 and proceeds to ACT54.
As ACT 54, the processor 11 reads out a definition symbol string of recycle characters regarding the target area. That is, the processor 11 selects, for example, setting data DAA regarding the valid format from the setting data group DA. The processor 11 also selects area data related to the target area from among the area data included in the selected setting data DAA. Then, the processor 11 reads out the definition symbol string identified by the recycling character number set as a setting value in the field FBC of the corresponding area data from the setting data group DA.

ACT55としてプロセッサ11は、上記の読み出した定義記号列に修飾記号が含まれるか否かを確認する。そしてプロセッサ11は、定義記号列に修飾記号として予め定められた記号が含まれないならばNOと判定し、ACT56へと進む。例えば「PE」なる定義記号列は、修飾記号を含まない。そこでプロセッサ11は、例えば「PE」なる定義記号列を読み出している場合には、ACT56へと進む。 In ACT 55, the processor 11 checks whether the definition symbol string read above includes a modifier symbol. Then, if the definition symbol string does not include a predetermined symbol as a modifier symbol, the processor 11 determines NO and proceeds to ACT56. For example, the definition symbol string "PE" does not include any modifier symbols. Therefore, if the processor 11 is reading out the definition symbol string "PE", for example, the processor 11 proceeds to ACT56.

ACT56としてプロセッサ11は、定義記号列に含まれる全ての文字からなる文字列をリサイクル文字として、対象領域内に配置すべくイメージメモリに展開する。つまりプロセッサ11は、例えば「PE」なる定義記号列を読み出している場合には、対象領域内に「PE」を展開する。 In ACT 56, the processor 11 develops a character string consisting of all the characters included in the definition symbol string into the image memory to be placed in the target area as recycled characters. That is, when the processor 11 is reading a definition symbol string "PE", for example, it expands "PE" into the target area.

本実施形態では、「//」は修飾記号の1つである。かくしてプロセッサ11は、例えば「//PP//,PET」なる定義記号列を読み出している場合には、修飾記号が含まれると判定する。そしてこのように修飾記号が含まれる場合にプロセッサ11は、ACT55にてYESと判定し、ACT57へと進む。かくして制御プログラムPRに基づく情報処理をプロセッサ11が実行することによって、プロセッサ11を中枢部分とするコンピュータは検出手段として機能する。 In this embodiment, "//" is one of the modifier symbols. Thus, for example, when the processor 11 is reading out a definition symbol string "//PP//,PET", it determines that a modifier symbol is included. If a modifier symbol is included in this manner, the processor 11 determines YES in ACT55, and proceeds to ACT57. As the processor 11 executes information processing based on the control program PR, the computer having the processor 11 as its core functions as a detection means.

ACT57としてプロセッサ11は、修飾の対象となる文字(以下、対象文字と称する)を判定する。本実施形態では、修飾記号により挟まれる文字を、その文字を挟み込む修飾記号に応じて予め定められた修飾の対象文字とする。つまりプロセッサ11は、例えば「//PP//,PET」なる定義記号列を読み出している場合には、「PP」を対象文字として判定する。 In ACT 57, the processor 11 determines a character to be modified (hereinafter referred to as a target character). In the present embodiment, a character sandwiched between modifier symbols is a character to be modified that is predetermined according to the modifier symbols that sandwich the character. In other words, when the processor 11 is reading out the definition symbol string "//PP//,PET", for example, the processor 11 determines "PP" as the target character.

ACT58としてプロセッサ11は、修飾方法を判定する。本実施形態では、「//」なる修飾記号に関する修飾方法は下線付与とする。つまりプロセッサ11は、例えば「//PP//,PET」なる定義記号列を読み出している場合には、下線付与を修飾方法として判定する。
ACT59としてプロセッサ11は、読み出している定義記号列から修飾記号を除外する。つまりプロセッサ11は、例えば「//PP//,PET」なる定義記号列を読み出している場合には、「//」を除外して「PP,PET」なる文字列を得る。
In ACT 58, the processor 11 determines the modification method. In this embodiment, the modification method for the modification symbol "//" is underlining. That is, when the processor 11 is reading out a definition symbol string "//PP//,PET", for example, the processor 11 determines that underlining is the modification method.
In ACT 59, the processor 11 excludes the modifier symbol from the definition symbol string being read. In other words, when the processor 11 is reading out the definition symbol string "//PP//,PET", for example, the processor 11 removes "//" and obtains the character string "PP,PET".

ACT60としてプロセッサ11は、ACT59で得た文字列を、ACT57で判定した対象文字に対してはACT58で判定した修飾方法での修飾を適用しつつ、対象領域内に配置すべくイメージメモリに展開する。つまりプロセッサ11は例えば、「PP,PET」なる文字列を「PP」については下線を付しつつイメージメモリに展開する。かくして制御プログラムPRに基づく情報処理をプロセッサ11が実行することによって、プロセッサ11を中枢部分とするコンピュータは生成手段として機能する。 As ACT60, the processor 11 expands the character string obtained in ACT59 into the image memory so as to place it within the target area while applying the modification method determined in ACT58 to the target character determined in ACT57. . That is, the processor 11 develops, for example, a character string "PP,PET" into the image memory while underlining "PP". As the processor 11 executes information processing based on the control program PR, the computer having the processor 11 as a core functions as a generating means.

図10はイメージメモリに展開されるラベル画像IMAの一例を示す図である。
図10は、上述の様に「//PP//,PET」なる定義記号列に基づくリサイクル文字が展開された場合の例である。
FIG. 10 is a diagram showing an example of the label image IMA developed in the image memory.
FIG. 10 is an example in which a recycle character based on the definition symbol string "//PP//,PET" is expanded as described above.

プロセッサ11は、ACT53、ACT56又はACT60のいずれかでの展開ののち、いずれの場合もACT61へと進む。
ACT61としてプロセッサ11は、有効フォーマットで定められているプリント領域のうちに対象領域として未選択の領域が有るか否かを確認する。そしてプロセッサ11は、該当の領域が有るならばYESと判定し、ACT51以降の処理を前述と同様に繰り返す。ただしプロセッサ11は、ACT61からACT51へと進んだ場合にACT51としては、これまでにACT51を実行した際に対象領域として決定した領域とは異なる領域を対象領域として決定する。これによりプロセッサ11は、有効フォーマットで定められているプリント領域のそれぞれを順次に対象領域としながら、ACT52以降の処理を繰り返す。
After expanding in either ACT53, ACT56 or ACT60, the processor 11 proceeds to ACT61 in any case.
In ACT 61, the processor 11 checks whether there is an area that has not been selected as a target area among the print areas defined by the valid format. Then, the processor 11 determines YES if the corresponding area exists, and repeats the processing from ACT51 onward in the same manner as described above. However, when proceeding from ACT61 to ACT51, the processor 11 determines as the target area in ACT51 a different area from the area determined as the target area when executing ACT51 up to now. As a result, the processor 11 repeats the processing from ACT52 onwards, sequentially selecting each of the print areas defined by the effective format as the target area.

プロセッサ11は、有効フォーマットで定められているプリント領域の全てを対象領域として選択し終えた状態でACT61へと進んだならば、未選択の領域が無いとしてNOと判定し、ACT62へと進む。
ACT62としてプロセッサ11は、プリントユニット16を動作させ、イメージメモリに展開されているイメージデータが表すラベル画像をラベル用紙にプリントする。なお、プロセッサ11はここでは、ラベル画像を1枚のラベル用紙のみにプリントするのでも良いし、同じラベル画像を予め定められた枚数のレベル用紙に繰り返しプリントするのでもよい。かくして制御プログラムPRに基づく情報処理をプロセッサ11が実行することによって、プロセッサ11を中枢部分とするコンピュータは制御手段として機能し、この制御手段としての機能とプリントユニット16との協働によってプリント手段としての機能が実現される。そしてプロセッサ11は当該のプリントを終えると、図9に示す処理ルーチンを終了する。
If the processor 11 proceeds to ACT61 with all print areas defined in the valid format selected as target areas, it determines NO as there are no unselected areas, and proceeds to ACT62.
As ACT 62, the processor 11 operates the print unit 16 to print the label image represented by the image data developed in the image memory onto the label paper. Here, the processor 11 may print the label image on only one sheet of label paper, or may print the same label image repeatedly on a predetermined number of sheets of level paper. In this way, by the processor 11 executing information processing based on the control program PR, the computer with the processor 11 as a central part functions as a control means, and by this function as a control means and cooperation with the printing unit 16, it can function as a printing means. Function is realized. When the processor 11 finishes the printing, the processing routine shown in FIG. 9 ends.

以上のようにラベルプリンタ1は、定義記号列において、リサイクル文字を構成する文字のうちの一部の文字を修飾記号により挟み込むことによって、当該の一部の文字のみに下線を付することができる。これにより、複合材質の包装容器に関してラベルにプリントすべきリサイクル文字を、ラベルプリンタ1の操作者が簡易に指定することが可能である。 As described above, in the definition symbol string, the label printer 1 can underline only some of the characters that make up the recycled characters by sandwiching them between modifier symbols. . Thereby, the operator of the label printer 1 can easily specify the recycling characters to be printed on the label regarding the packaging container made of composite material.

この実施形態は、次のような種々の変形実施が可能である。
リサイクル文字のためのプリント領域に関する領域データのフィールドFBCには、定義記号列そのものを設定値としてセットしてもよい。
This embodiment can be modified in various ways as follows.
The definition symbol string itself may be set as a setting value in the field FBC of the area data regarding the print area for recycled characters.

下線の付与のための修飾記号としては、「//」以外の任意の記号が割り当てられてもよい。また下線の付与以外の、例えば白黒反転、四角枠の付与、取り消し線の付与、などの別の修飾も、そのための修飾記号を定めておくことによって同様に実施できる。そしてこの場合、下線付与のための修飾記号である「//」の他に、例えば白黒反転及び四角枠の付与のそれぞれのための修飾記号として「!!」及び「##」を定めておくことによって、それらの修飾を適宜に使い分け可能としてもよい。 Any symbol other than "//" may be assigned as a modifier symbol for underlining. Other modifications than underlining, such as reversing black and white, adding a rectangular frame, and adding a strikethrough line, can also be performed in the same way by defining a modification symbol for the purpose. In this case, in addition to "//" which is a modifier symbol for underlining, "!!" and "##" are defined as modifier symbols for reversing black and white and adding a square frame, respectively. By doing so, it may be possible to use these modifications as appropriate.

情報処理によりプロセッサ11が実現する各機能は、その一部又は全てをロジック回路などのようなプログラムに基づかない情報処理を実行するハードウェアにより実現することも可能である。また上記の各機能のそれぞれは、上記のロジック回路などのハードウェアにソフトウェア制御を組み合わせて実現することも可能である。 Each function realized by the processor 11 through information processing can be partially or entirely realized by hardware that executes information processing not based on a program, such as a logic circuit. Further, each of the above functions can also be realized by combining software control with hardware such as the above logic circuit.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and changes can be made without departing from the gist of the invention. These embodiments and their modifications are included within the scope and gist of the invention, as well as within the scope of the invention described in the claims and its equivalents.

1…ラベルプリンタ、11…プロセッサ、12…メモリユニット、13…ハードウェアクロック、14…表示ユニット、15…入力ユニット、16…プリントユニット、17…インタフェースユニット、18…伝送路。 DESCRIPTION OF SYMBOLS 1...Label printer, 11...Processor, 12...Memory unit, 13...Hardware clock, 14...Display unit, 15...Input unit, 16...Print unit, 17...Interface unit, 18...Transmission line.

Claims (6)

それぞれが記号を表す複数の記号コードの羅列よりなる記号列データを記憶する記憶手段と、
前記記憶手段により記憶されている記号列データに含まれる記号コードのうちから、修飾記号として予め定められた記号の記号コードを検出する検出手段と、
前記記憶手段により記憶されている記号列データに含まれる記号コードのうちで前記検出手段により検出された記号コードを除く記号コードが表す記号を、前記検出手段により検出された記号コードどうしにより挟まれている記号コードが表す記号については前記検出手段により検出された記号コードに応じた修飾を施して表したプリント画像を生成する生成手段と、
前記生成手段により生成されたプリント画像をラベル用紙にプリントするプリント手段と、
を具備するラベルプリンタ。
a storage means for storing symbol string data consisting of an enumeration of a plurality of symbol codes each representing a symbol;
Detection means for detecting a symbol code of a symbol predetermined as a modifier symbol from among the symbol codes included in the symbol string data stored by the storage means;
Among the symbol codes included in the symbol string data stored by the storage means, symbols represented by symbol codes other than the symbol code detected by the detection means are sandwiched between the symbol codes detected by the detection means. generating means for generating a printed image in which the symbol represented by the symbol code detected by the detecting means is modified according to the symbol code detected by the detecting means;
printing means for printing the print image generated by the generation means on label paper;
A label printer equipped with
操作者による指示に応じて記号列データを生成し、当該生成した記号列データを前記記憶手段に記憶させる生成手段、
をさらに備える請求項1に記載のラベルプリンタ。
generating means for generating symbol string data in response to instructions from an operator and storing the generated symbol string data in the storage means;
The label printer according to claim 1, further comprising:
前記記憶手段により記憶されている記号列データを、操作者による指示に応じて更新する更新手段、
をさらに備える請求項1に記載のラベルプリンタ。
updating means for updating the symbol string data stored in the storage means in accordance with an instruction from an operator;
The label printer according to claim 1, further comprising:
前記生成手段は、修飾として下線を付する、
請求項1-請求項3のいずれか一項に記載のラベルプリンタ。
The generating means adds an underline as a modification,
The label printer according to any one of claims 1 to 3.
前記記憶手段は、包装材の材質を表す文字列を構成する複数の記号の記号コードよりなる記号列データを記憶する、
請求項1-請求項3のいずれか一項に記載のラベルプリンタ。
The storage means stores symbol string data consisting of symbol codes of a plurality of symbols constituting a character string representing the material of the packaging material.
The label printer according to any one of claims 1 to 3.
それぞれが記号を表す複数の記号コードの羅列よりなる記号列データを記憶する記憶手段と、
プリント画像をラベル用紙にプリントするプリントユニットと、
を備えるラベルプリンタを制御するコンピュータを、
前記記憶手段により記憶されている記号列データに含まれる記号コードのうちから、修飾記号として予め定められた記号の記号コードを検出する検出手段と、
前記記憶手段により記憶されている記号列データに含まれる記号コードのうちで前記検出手段により検出された記号コードを除く記号コードが表す記号を、前記検出手段により検出された記号コードどうしにより挟まれている記号コードが表す記号については前記検出手段により検出された記号コードに応じた修飾を施して表したプリント画像を生成する生成手段と、
前記生成手段により生成されたプリント画像をプリントするよう前記プリントユニットを制御する制御手段と、
して機能させるための情報処理プログラム。
a storage means for storing symbol string data consisting of an enumeration of a plurality of symbol codes each representing a symbol;
A print unit that prints the print image on label paper,
A computer that controls a label printer equipped with
Detection means for detecting a symbol code of a symbol predetermined as a modifier symbol from among the symbol codes included in the symbol string data stored by the storage means;
Among the symbol codes included in the symbol string data stored by the storage means, symbols represented by symbol codes other than the symbol code detected by the detection means are sandwiched between the symbol codes detected by the detection means. generating means for generating a printed image in which the symbol represented by the symbol code detected by the detecting means is modified according to the symbol code detected by the detecting means;
control means for controlling the print unit to print the print image generated by the generation means;
An information processing program that makes it work.
JP2022132640A 2022-08-23 2022-08-23 Label printer and information processing program Pending JP2024030080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022132640A JP2024030080A (en) 2022-08-23 2022-08-23 Label printer and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022132640A JP2024030080A (en) 2022-08-23 2022-08-23 Label printer and information processing program

Publications (1)

Publication Number Publication Date
JP2024030080A true JP2024030080A (en) 2024-03-07

Family

ID=90105658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022132640A Pending JP2024030080A (en) 2022-08-23 2022-08-23 Label printer and information processing program

Country Status (1)

Country Link
JP (1) JP2024030080A (en)

Similar Documents

Publication Publication Date Title
US20020181985A1 (en) Printing system
JP5967376B2 (en) Display device, image forming apparatus, and display control program
EP0550269B1 (en) Bar code printer
US8107118B2 (en) Print control apparatus that controls printing device performing printing using print sheet having tab
JPH03127088A (en) Label printer
US20190023027A1 (en) Printer and method of controlling printer
JP2024030080A (en) Label printer and information processing program
JP4791860B2 (en) Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program
JP2019215619A (en) Printing process management device and printing process management program
JP2015205501A (en) image forming apparatus
JP2000020829A (en) Label issuing machine
JP2012123704A (en) Control apparatus, control method of control apparatus, and program
US8714847B2 (en) Tape printer and tape printer control method
JP2014151556A (en) Label printer and control program therefor
JP5803389B2 (en) Label issuing device, label issuing method and program
JP2022142636A (en) Label printer and control program of the same
JPH11203032A (en) Method and device for character input
JP2005271239A (en) Printer
JP6589827B2 (en) Image processing device
JP2022039530A (en) Article data processing device and label issuing device
US20110135367A1 (en) Tape printer, method for controlling tape printer, and computer program product
JP2001216113A (en) Information processor
JPS63307976A (en) Recorder
JP2012232562A (en) Recording device, method of controlling the same, and program
JP2011014001A (en) Printing apparatus

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104