[go: up one dir, main page]

JP2003109020A - Data string editing device and program - Google Patents

Data string editing device and program

Info

Publication number
JP2003109020A
JP2003109020A JP2001297798A JP2001297798A JP2003109020A JP 2003109020 A JP2003109020 A JP 2003109020A JP 2001297798 A JP2001297798 A JP 2001297798A JP 2001297798 A JP2001297798 A JP 2001297798A JP 2003109020 A JP2003109020 A JP 2003109020A
Authority
JP
Japan
Prior art keywords
data string
importance
unit
image forming
tape
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001297798A
Other languages
Japanese (ja)
Other versions
JP4677700B2 (en
Inventor
Tomomoto Miyashita
智基 宮下
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2001297798A priority Critical patent/JP4677700B2/en
Publication of JP2003109020A publication Critical patent/JP2003109020A/en
Application granted granted Critical
Publication of JP4677700B2 publication Critical patent/JP4677700B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically store a data string in an image forming medium of a predetermined prescribed size. SOLUTION: A significance granting part 57a grants significance to respective items constituting the data string. An image formation deciding part 57b decides that an item with significance equal to or greater than a threshold stored in a RAM is formed in an image forming medium, and meanwhile, in an item with significance lower than the threshold, decides that the item is not formed in the image forming medium until the data string is decided to be stored in the image forming medium of a prescribed size. A data string constructing part 57c constructs a data string to be stored in the prescribed size of the image forming medium on the basis of decision results of the image formation deciding part.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、画像形成媒体に形
成される文字列やグラフィックパターン等のデータ列を
編集するデータ列編集装置、及びそのプログラムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data string editing apparatus for editing a data string such as a character string or a graphic pattern formed on an image forming medium, and a program therefor.

【0002】[0002]

【従来の技術】従来より、巻き回された長尺のテープを
モータによって巻き解きつつ走行させて、所定長さの文
字列等をテープに印刷するテーププリンタが知られてい
る。このテーププリンタの用途として、例えば、食品の
加工日や賞味期限などの食品情報を購入者に提供するた
め、食品の加工日や賞味期限などの文字列データや、そ
れらに基づくバーコードパターンを印刷したラベルを作
製して、作製したラベルを食品やそのパッケージなどに
貼付することが行われている。このラベルの作製は、加
工日や賞味期限などの複数項目からなるデータベースを
利用しながら、予め定められたフォーマットに従ってデ
ータベースの項目の情報を配置し直したり、バーコード
パターンに変換したりして、文字列やグラフィックパタ
ーン等のデータ列として編集し、編集されたデータ列を
テープに印刷することによって行われている。
2. Description of the Related Art Conventionally, there is known a tape printer for printing a character string or the like having a predetermined length on a tape by running a wound long tape while unwinding it by a motor. As an application of this tape printer, for example, in order to provide the purchaser with food information such as the food processing date and the expiration date, character string data such as the food processing date and the expiration date, and a barcode pattern based on them are printed. It has been practiced to produce such a label and attach the produced label to food, its package, or the like. The production of this label, while using a database consisting of multiple items such as processing date and expiration date, rearrange the information of the items in the database according to a predetermined format, or by converting into a barcode pattern, This is performed by editing a data string such as a character string or a graphic pattern and printing the edited data string on a tape.

【0003】[0003]

【発明が解決しようとする課題】ところが、データ列を
印刷するテープのテープ長が予め定められていない場合
には次のような問題があった。即ち、上記予め定められ
たフォーマットに重要な情報でない項目(例えば、ラベ
ルに表示することによって購入者に提供するまでもない
ような情報の項目)が含まれているような場合において
まで、上記予め定められたフォーマットに従って重要な
情報でない項目を含む全ての項目をラベルに印刷してし
まい、この結果、ラベルを作成するためのテープの消費
量が多くなってしまうという問題があった。
However, there is the following problem when the tape length of the tape for printing the data string is not predetermined. That is, even in the case where the predetermined format includes items that are not important information (for example, items of information that need not be provided to the purchaser by displaying them on a label), There is a problem in that all items including items that are not important information are printed on the label in accordance with the defined format, and as a result, the tape consumption for creating the label increases.

【0004】また、データ列を印刷するテープのテープ
長が予め定められている場合には次のような問題があっ
た。即ち、ユーザがデータ列を編集した後にその編集し
たデータ列をテープに印刷しようとしたとき、ユーザが
編集したデータ列のデータ列長が予め定められたテープ
のテープ長を超えることがある。このような場合、ユー
ザは予め定められたテープ長のテープ内にデータ列が収
まるようにユーザ自ら手動でデータ列を再編集しなけれ
ばならないという問題があった。
Further, when the tape length of the tape for printing the data string is predetermined, there are the following problems. That is, when the user edits the data string and then tries to print the edited data string on the tape, the data string length of the data string edited by the user may exceed a predetermined tape length of the tape. In such a case, there is a problem that the user must manually re-edit the data string so that the data string fits within the tape having a predetermined tape length.

【0005】本発明は、データ列を印刷するテープのテ
ープ長(画像形成媒体のサイズ)が予め定められていな
い場合には重要な項目の情報を残しながらテープ(画像
形成媒体)の消費量の軽減を図ることが可能であり、デ
ータ列を印刷するテープのテープ長が予め定められてい
る場合には自動的に予め定められたテープ長のテープ内
にデータ列を収めることが可能であるデータ列編集装
置、及びそのプログラムを提供することを目的とする。
According to the present invention, when the tape length (size of the image forming medium) of the tape for printing the data string is not predetermined, the consumption amount of the tape (image forming medium) is reduced while the information of important items is left. It is possible to reduce the data, and when the tape length of the tape for printing the data string is predetermined, the data string can be automatically stored in the tape having the predetermined tape length. An object of the present invention is to provide a column editing device and its program.

【0006】[0006]

【課題を解決するための手段】請求項1に記載のデータ
列編集装置は、画像形成媒体に形成される文字列やグラ
フィックパターン等のデータ列を編集するためのデータ
列編集装置において、前記データ列に含まれており且つ
それぞれが1又は複数の単位要素からなる複数の構成部
分のそれぞれに重要度を付与するための重要度付与手段
と、前記データ列を構成する各単位要素について、少な
くとも前記重要度付与手段により複数の前記構成部分の
それぞれに付与された重要度に基づいて、前記画像形成
媒体に形成すべきか否かを判断するための画像形成判断
手段と、前記データ列を構成する単位要素のうち前記画
像形成判断手段によって前記画像形成媒体に形成すべき
でないと判断された単位要素を含まない新たなデータ列
を構成するためのデータ列構成手段とを備えていること
を特徴とする。
A data string editing apparatus according to claim 1, wherein the data string editing apparatus is for editing a data string such as a character string or a graphic pattern formed on an image forming medium. With respect to each unit element constituting the data string, at least the above-mentioned importance assigning means for assigning an importance degree to each of a plurality of constituent parts included in the column and each of which is composed of one or more unit elements, An image formation judging means for judging whether or not to form on the image forming medium, based on the importance given to each of the plurality of constituent parts by the importance giving means, and a unit forming the data string. To form a new data string that does not include a unit element that has been determined not to be formed on the image forming medium by the image forming determination means among the elements Characterized in that it comprises a chromatography data string configuration means.

【0007】請求項11に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項1のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data string formed on an image forming medium according to claim 11 is a program for causing a computer to function as the data string editing device according to claim 1.

【0008】請求項1または請求項11に記載の発明に
よると、データ列を構成する構成部分に付与された重要
度に基づいて画像形成媒体に形成される単位要素が決定
されるため、重要度の高い構成部分に関する情報を残し
ながら画像形成媒体の使用量の軽減を図ることができ
る。又、予め定められた所定サイズの画像形成媒体内に
自動的にデータ列を収めることが可能になり、この結
果、データ列を所定サイズの画像形成媒体内に収めるた
めにユーザ自らデータ列を再編集する必要がなく、ユー
ザの利便性が向上する。
According to the first or eleventh aspect of the present invention, since the unit element formed on the image forming medium is determined based on the degree of importance given to the constituent parts constituting the data string, the degree of importance is increased. It is possible to reduce the amount of use of the image forming medium while leaving the information about the high-constant components. In addition, it becomes possible to automatically store the data string in the image forming medium having a predetermined size, and as a result, the user himself / herself rewrites the data string in order to fit the data string in the image forming medium having the predetermined size. There is no need to edit, improving user convenience.

【0009】請求項2に記載のデータ列編集装置は、前
記データ列を構成する各単位要素が所定サイズで前記画
像形成媒体に形成されたときに前記データ列が予め定め
られた範囲内に収まるかどうかを判定するための形成範
囲判定手段をさらに備えており、前記画像形成判断手段
は、前記データ列が前記予め定められた範囲内に収まら
ないと前記形成範囲判定手段が判定した場合にのみ前記
判断を行うことを特徴とする。
According to another aspect of the data string editing apparatus of the present invention, when each unit element forming the data string is formed on the image forming medium in a predetermined size, the data string falls within a predetermined range. The image forming determination unit further includes a formation range determination unit for determining whether or not the image formation determination unit determines that the formation range determination unit determines that the data string does not fall within the predetermined range. It is characterized in that the judgment is performed.

【0010】請求項12に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項2のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a twelfth aspect is a program for causing a computer to function as the data sequence editing apparatus according to the second aspect.

【0011】請求項2または請求項12に記載の発明に
よると、重要度の高い構成部分に関する情報を画像形成
媒体に形成しながらデータ列が予め定められた所定サイ
ズの画像形成媒体内に収まるように、自動的にデータ列
が再編集され、この結果、ユーザによるデータ列の再編
集が不要になって、ユーザの利便性が向上する。
According to the second or the twelfth aspect of the present invention, the data sequence can be stored in the image forming medium of a predetermined size while forming the information on the constituent parts of high importance on the image forming medium. Moreover, the data string is automatically re-edited, and as a result, the user does not need to re-edit the data string, which improves the convenience of the user.

【0012】請求項3に記載のデータ列編集装置は、前
記画像形成判断手段は、1つの前記構成部分中の一部の
単位要素だけについて前記画像形成媒体に形成すべきで
ないと判断可能であることを特徴とする。
In the data string editing apparatus according to the present invention, the image formation judging means can judge that only some of the unit elements in one of the constituent parts should not be formed on the image forming medium. It is characterized by

【0013】請求項13に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項3のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a thirteenth aspect is a program for causing a computer to function as the data sequence editing apparatus according to the third aspect.

【0014】請求項3または請求項13に記載の発明に
よると、データ列を構成するある一の構成部分中の一部
の単位要素が画像形成媒体に形成されることがあるた
め、その構成部分中の全ての単位要素を削除した場合に
は得られなくなるような情報が画像形成媒体に形成され
たデータ列から取得可能になる。
According to the third or thirteenth aspect of the present invention, some of the unit elements in one constituent part of the data string may be formed on the image forming medium. Information that cannot be obtained when all the unit elements in the inside are deleted can be acquired from the data string formed on the image forming medium.

【0015】請求項4に記載のデータ列編集装置は、画
像形成媒体に形成される文字列やグラフィックパターン
等のデータ列を編集するためのデータ列編集装置におい
て、前記データ列を構成する各単位要素が所定サイズで
前記画像形成媒体に形成されたときに前記データ列が予
め定められた範囲内に収まるかどうかを判定するための
形成範囲判定手段と、前記データ列が前記予め定められ
た範囲内に収まらないと前記形成範囲判定手段が判定し
た場合、前記予め定められた範囲内における前記データ
列のレイアウトを変更するレイアウト変更処理を実行す
るためのレイアウト変更手段とを備えていることを特徴
とする。
A data string editing apparatus according to a fourth aspect is a data string editing apparatus for editing a data string such as a character string or a graphic pattern formed on an image forming medium, and each unit forming the data string. Forming range determination means for determining whether or not the data string falls within a predetermined range when an element is formed on the image forming medium in a predetermined size, and the data string is within the predetermined range. And a layout changing unit for executing a layout changing process for changing the layout of the data string within the predetermined range when the formation range determination unit determines that the size does not fall within the predetermined range. And

【0016】請求項14に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項4のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a fourteenth aspect is a program for causing a computer to function as the data sequence editing device according to the fourth aspect.

【0017】請求項4または請求項14に記載の発明に
よると、所定サイズの画像形成媒体内にデータ列が収ま
るようにデータ列のレイアウトが自動的に変更され、こ
の結果、ユーザが編集したデータ列が所定サイズの画像
形成媒体内に収まらないような場合でもユーザ自ら所定
サイズの画像形成媒体内にデータ列が収まるようにデー
タ列を再編集する必要がなく、ユーザの利便性が向上す
る。
According to the invention described in claim 4 or claim 14, the layout of the data string is automatically changed so that the data string fits in the image forming medium of a predetermined size, and as a result, the data edited by the user is changed. Even when the column does not fit in the image forming medium having the predetermined size, the user does not need to re-edit the data column so that the data column fits in the image forming medium having the predetermined size, thereby improving the convenience for the user.

【0018】請求項5に記載のデータ列編集装置は、前
記レイアウト変更手段が、前記データ列に含まれており
且つそれぞれが1又は複数の単位要素からなる複数の構
成部分のそれぞれに重要度を付与するための重要度付与
手段と、前記重要度付与手段により複数の前記構成部分
のそれぞれに付与された重要度が最も低い方から抽出さ
れた少なくとも1つの前記構成部分を複数行とするため
の改行手段とを備えていることを特徴とする。
According to a fifth aspect of the present invention, there is provided a data string editing device, wherein the layout changing means assigns importance to each of a plurality of constituent parts which are included in the data string and each of which is composed of one or a plurality of unit elements. For assigning an importance degree for giving, and for making at least one of the constituent parts extracted from the lowest importance given to each of the plurality of constituent parts by the importance giving means a plurality of lines It is characterized by having a line feed means.

【0019】請求項15に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項5のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a fifteenth aspect is a program for causing a computer to function as the data sequence editing apparatus according to the fifth aspect.

【0020】請求項5または請求項15に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは複数行で画像形成媒体に形成
されることになるものの、ユーザが編集した全ての構成
部分を含んだデータ列が所定サイズの画像形成媒体内に
収まるように自動的に再編集され、この結果、ユーザに
よるデータ列の再編集が不要になって、ユーザの利便性
が向上する。
According to the fifth or fifteenth aspect of the present invention, among the constituent parts constituting the data string edited by the user, the less important ones are formed in a plurality of lines on the image forming medium. , The data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits within the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. The convenience of is improved.

【0021】請求項6に記載のデータ列編集装置は、前
記レイアウト変更手段が、前記改行手段によって複数行
とされた前記構成部分のサイズを縮小するためのサイズ
縮小手段をさらに備えていることを特徴とする。
According to a sixth aspect of the present invention, in the data string editing device, the layout changing means further comprises size reducing means for reducing the size of the constituent portion made into a plurality of lines by the line feed means. Characterize.

【0022】請求項16に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項6のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a sixteenth aspect is a program for causing a computer to function as the data sequence editing apparatus according to the sixth aspect.

【0023】請求項6または請求項16に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは小さいサイズで画像形成媒体
に形成されることになるものの、ユーザが編集した全て
の構成部分を含んだデータ列が所定サイズの画像形成媒
体内に収まるように自動的に再編集され、この結果、ユ
ーザによるデータ列の再編集が不要になって、ユーザの
利便性が向上する。
According to the sixth or sixteenth aspect of the present invention, among the constituent parts of the data string edited by the user, the less important ones are formed on the image forming medium in a small size. , The data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits within the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. The convenience of is improved.

【0024】請求項7に記載のデータ列編集装置は、前
記レイアウト変更手段が、前記データ列に含まれており
且つそれぞれが1又は複数の単位要素からなる複数の構
成部分のそれぞれに重要度を付与するための重要度付与
手段と、前記重要度付与手段により複数の前記構成部分
のそれぞれに付与された重要度が最も高い方から前記構
成部分が上の行になるように複数の前記構成部分を複数
行に配置するためのデータ列配置手段とを備えているこ
とを特徴とする。
According to a seventh aspect of the present invention, in the data string editing device, the layout changing means assigns importance to each of a plurality of constituent parts which are included in the data string and each of which is composed of one or a plurality of unit elements. Importance assigning means for giving the plurality of constituent parts such that the constituent parts are arranged in the upper row from the highest importance given to each of the plurality of constituent parts by the importance giving means. Is arranged in a plurality of rows.

【0025】請求項17に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項7のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a seventeenth aspect is a program for causing a computer to function as the data sequence editing apparatus according to the seventh aspect.

【0026】請求項7または請求項17に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは下の方の行に画像形成媒体に
形成されることになるものの、ユーザが編集した全ての
構成部分を含んだデータ列が所定サイズの画像形成媒体
内に収まるように自動的に再編集され、この結果、ユー
ザによるデータ列の再編集が不要になって、ユーザの利
便性が向上する。
According to the invention of claim 7 or claim 17, the less important one of the constituent parts of the data string edited by the user is formed in the lower row on the image forming medium. However, the data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits in the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. As a result, user convenience is improved.

【0027】請求項8に記載のデータ列編集装置は、前
記レイアウト変更手段が、前記データ列配置手段によっ
て下の行に配置された前記構成部分のサイズを縮小する
ためのサイズ縮小手段をさらに備えていることを特徴と
する。
In the data string editing apparatus according to the present invention, the layout changing unit further comprises a size reducing unit for reducing the size of the constituent portion arranged in the lower row by the data column arranging unit. It is characterized by

【0028】請求項18に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項8のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data string formed on an image forming medium according to claim 18 is a program for causing a computer to function as a data string editing device according to claim 8.

【0029】請求項8または請求項18に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは小さいサイズで画像形成媒体
に形成されることになるものの、ユーザが編集した全て
の構成部分を含んだデータ列が所定サイズの画像形成媒
体内に収まるように自動的に再編集され、この結果、ユ
ーザによるデータ列の再編集が不要になって、ユーザの
利便性が向上する。
According to the invention described in claim 8 or claim 18, among the constituent parts constituting the data string edited by the user, the less important ones are formed in a small size on the image forming medium. , The data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits within the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. The convenience of is improved.

【0030】請求項9に記載のデータ列編集装置は、前
記レイアウト変更手段は、複数のレイアウト変更処理を
行うことが可能であると共に、前記形成範囲判定手段に
よって前記データ列が前記予め定められた範囲内に収ま
ると判定されるまで、複数の前記レイアウト変更処理
を、これらを実行する順番である優先順位にしたがって
順次実行することを特徴とする。
According to a ninth aspect of the data string editing apparatus, the layout changing means is capable of performing a plurality of layout changing processes, and the data string is predetermined by the forming range determining means. It is characterized in that the plurality of layout changing processes are sequentially executed in accordance with the priority order, which is the order of executing these processes, until it is determined that the layout changing processes fall within the range.

【0031】請求項19に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項9のようなデータ列編集装置として機能
させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a nineteenth aspect is a program for causing a computer to function as the data sequence editing device according to the ninth aspect.

【0032】請求項9または請求項19に記載の発明に
よると、複数のレイアウト回避処理を設けることによっ
てデータ列を自動的に所定サイズの画像形成媒体内に収
めることができる割合が増大するという利点を有する
(レイアウト回避処理が1つの場合にはその処理によっ
てデータ列を所定サイズの画像形成媒体内に収めること
ができない場合が起こりうる)。
According to the ninth or nineteenth aspect of the present invention, by providing a plurality of layout avoiding processes, the rate at which a data string can be automatically stored in an image forming medium of a predetermined size is increased. (If there is one layout avoiding process, the process may not be able to fit the data string in the image forming medium of a predetermined size).

【0033】請求項10に記載のデータ列編集装置は、
複数の前記レイアウト変更処理の優先順位を変更するた
めの優先順位変更手段をさらに備えていることを特徴と
する。
A data string editing apparatus according to a tenth aspect is
It is characterized by further comprising priority changing means for changing the priority of the plurality of layout changing processes.

【0034】請求項20に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラムは、コンピュ
ータを、請求項20のようなデータ列編集装置として機
能させるためのプログラムである。
A program for editing a data sequence formed on an image forming medium according to a twentieth aspect is a program for causing a computer to function as the data sequence editing apparatus according to the twentieth aspect.

【0035】請求項10または請求項20に記載の発明
によると、複数のレイアウト回避処理を実行する優先順
位を変更することが可能であるため、ユーザが望むレイ
アウト回避処理の順番でレイアウト回避処理が実行さ
れ、画像形成媒体に形成されるデータ列がユーザの望む
データ列により近くなるという利点を有する。
According to the tenth or twentieth aspect of the present invention, since it is possible to change the priority order for executing a plurality of layout avoidance processes, the layout avoidance processes can be performed in the order of the layout avoidance processes desired by the user. This has the advantage that the data sequence executed and formed on the image forming medium is closer to the data sequence desired by the user.

【0036】尚、請求項11〜20のそれぞれに記載さ
れたようなプログラムは、CD−ROMのようなリムー
バブル型記録媒体やハードディスクなどの固定型記録媒
体に記録して配布可能であるほか、有線又は無線の電気
通信手段によってインターネットなどの通信ネットワー
クを介して配布可能である。
The program as described in each of claims 11 to 20 can be distributed by being recorded on a removable recording medium such as a CD-ROM or a fixed recording medium such as a hard disk, or by wire. Alternatively, it can be distributed through a communication network such as the Internet by wireless telecommunication means.

【0037】[0037]

【発明の実施の形態】以下、本発明の好適な実施の形態
について、図面を参照しつつ説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

【0038】図1は、本実施の形態に係るデータ列編集
装置として機能するパーソナルコンピュータ(以下、コ
ンピュータという)、及び印刷装置の概略を示す外観斜
視図である。図1に示すように、コンピュータ1と印刷
装置2とは接続ケーブル3によって互いに接続され、接
続ケーブル3を介してデータの授受を行う。
FIG. 1 is an external perspective view showing the outline of a personal computer (hereinafter referred to as a computer) that functions as a data string editing apparatus according to the present embodiment and a printing apparatus. As shown in FIG. 1, the computer 1 and the printing device 2 are connected to each other by a connection cable 3, and data is exchanged via the connection cable 3.

【0039】また、図1に示すように、コンピュータ1
は、その内部にCPUやRAMなどを備えた制御本体部
4と、表示部(液晶パネル)5aを有する液晶ディスプ
レイ5と、その上面に文字キーや制御キーなどの多数の
キーを含むキーボード6と、特定の座標値を指し示して
入力するためのマウス7とを備えており、液晶ディスプ
レイ5、キーボード6、及びマウス7は、夫々、制御本
体部4に接続線によって接続されている。
Also, as shown in FIG.
Is a control body 4 having a CPU, RAM, etc. inside thereof, a liquid crystal display 5 having a display unit (liquid crystal panel) 5a, and a keyboard 6 including a large number of keys such as character keys and control keys on its upper surface. , A mouse 7 for pointing and inputting specific coordinate values, and the liquid crystal display 5, the keyboard 6, and the mouse 7 are connected to the control main body 4 by connecting lines.

【0040】また、図1に示すように、印刷装置2に
は、その筐体2aの前面にテープ8を排出するための排
出口2bが設けられている。そして、印刷装置2は、そ
の内部に以下で説明するテープ収容カセット30を着脱
自在に装着することができると共に、テープ駆動印刷機
構10及びテープを切断するためのカッター17(共に
図2参照)などが含まれており、テープ収容カセット3
0から引き出されて印刷されたテープ8はカッター17
で切断された後に、排出口2bから排出される。
As shown in FIG. 1, the printer 2 is provided with a discharge port 2b for discharging the tape 8 on the front surface of its housing 2a. Then, the printing apparatus 2 can detachably mount a tape storage cassette 30 described below therein, and the tape drive printing mechanism 10 and a cutter 17 for cutting the tape (see FIG. 2 together). Included, tape storage cassette 3
The tape 8 printed by pulling out from 0 is a cutter 17
After being cut by, it is discharged from the discharge port 2b.

【0041】図2は、図1に外観を示した印刷装置2の
内部に配置された印刷機構10及びテープ収容カセット
30の構造を説明するための平面図である。図2に示す
ように、印刷装置2内のカセット収納部フレーム11に
は、テープ収容カセット30が着脱自在に装着されてい
る。テープ収容カセット30には、PET(ポリエチレ
ンテレフタレート)フィルム等透明な表層テープ31が
巻装されたテープスプール32と、インクリボン33が
巻装されたリボン供給スプール34と、使用済みのイン
クリボン33を巻き取る巻取りスプール35と、表層テ
ープ31と同一幅で両面に接着剤層を有する両面接着テ
ープの片面に剥離テープが貼り合わされた二重テープ3
6が剥離テープを外側にして巻装された基材供給スプー
ル37と、二重テープ36と表層テープ31とを重ねて
接合させるための接合ローラ38とが夫々回転自在に設
けられている。
FIG. 2 is a plan view for explaining the structures of the printing mechanism 10 and the tape accommodating cassette 30 which are arranged inside the printing apparatus 2 shown in FIG. As shown in FIG. 2, a tape storage cassette 30 is detachably attached to the cassette storage frame 11 in the printing apparatus 2. The tape accommodating cassette 30 includes a tape spool 32 wound with a transparent surface tape 31 such as a PET (polyethylene terephthalate) film, a ribbon supply spool 34 wound with an ink ribbon 33, and a used ink ribbon 33. Double tape 3 in which a take-up spool 35 and a double-sided adhesive tape having the same width as the surface tape 31 and having adhesive layers on both sides and a release tape attached to one side
A base material supply spool 37, in which the peeling tape 6 is wound outside, and a joining roller 38 for joining the double tape 36 and the surface tape 31 in an overlapping manner are rotatably provided.

【0042】テープ収容カセット30には、テープ収容
カセット30に収容されているテープのテープ幅を判別
するために利用される3つの突出爪を組み合わせた突出
片39が設けられている。そして、印刷装置2は、突出
片39の突出爪の状態からテープ幅を検出するテープ幅
検出センサ46(図3参照)を備えている。尚、テープ
は、6mm、9mm、12mm、18mm、24mm幅
などのものがある。
The tape accommodating cassette 30 is provided with a projecting piece 39 which is a combination of three projecting claws used for determining the tape width of the tape accommodated in the tape accommodating cassette 30. The printing device 2 includes a tape width detection sensor 46 (see FIG. 3) that detects the tape width from the state of the protruding claw of the protruding piece 39. The tape may have a width of 6 mm, 9 mm, 12 mm, 18 mm or 24 mm.

【0043】図2に示すように、カセット収容部フレー
ム11には、軸20aを中心にして揺動可能となるよう
にアーム20が取り付けられている。アーム20の先端
には、共にゴムなどの可撓性部材を表面に有するプラテ
ンローラ21及び送りローラ22が回動自在に取り付け
られている。アーム20が最も時計回りに揺動した位置
では、プラテンローラ21が表層テープ31及びインク
リボン33を介して後述するプレート12に配置された
サーマルヘッド13と圧接し、送りローラ22が表層テ
ープ31及び二重テープ36を介して接合ローラ38と
圧接する。
As shown in FIG. 2, an arm 20 is attached to the cassette housing frame 11 so as to be swingable about a shaft 20a. A platen roller 21 and a feed roller 22 each having a flexible member such as rubber on the surface thereof are rotatably attached to the tip of the arm 20. At a position where the arm 20 swings most clockwise, the platen roller 21 comes into pressure contact with the thermal head 13 arranged on the plate 12 described later via the surface layer tape 31 and the ink ribbon 33, and the feed roller 22 causes the surface roller tape 31 and It is pressed against the joining roller 38 via the double tape 36.

【0044】カセット収納部フレーム11からはプレー
ト12が立設している。プレート12のプラテンローラ
21側には、多数の発熱素子が図2の紙面垂直方向に1
列に配列されたサーマルヘッド13が配置されている。
プレート12は、テープ収納カセット30が所定位置に
装着されたときに、テープ収納カセット30の凹部14
にはめ込まれる。また、カセット収納部フレーム11か
らは、リボン巻取りローラ15及び接合ローラ駆動ロー
ラ16が立設している。テープ収納カセット30が所定
位置に装着されると、リボン巻取りローラ15及び接合
ローラ駆動ローラ16はそれぞれ巻取りスプール35及
び接合ローラ38内に挿入される。
A plate 12 is erected from the cassette housing frame 11. On the platen roller 21 side of the plate 12, a large number of heating elements are arranged in the direction perpendicular to the paper surface of FIG.
The thermal heads 13 arranged in rows are arranged.
The plate 12 is provided in the recess 14 of the tape storage cassette 30 when the tape storage cassette 30 is mounted at a predetermined position.
Be fitted into. A ribbon take-up roller 15 and a joining roller driving roller 16 are erected from the cassette housing frame 11. When the tape storage cassette 30 is mounted at a predetermined position, the ribbon take-up roller 15 and the joining roller drive roller 16 are inserted into the take-up spool 35 and the joining roller 38, respectively.

【0045】そして、印刷装置2が備えているテープ送
りモータ48a(図3参照)に電力が供給されると、リ
ボン巻取りローラ15を介して巻取りスプール35、接
合ローラ駆動ローラ16を介して接合ローラ38、プラ
テンローラ21及び送りローラ22が回転し、これらの
回転によって生じる駆動力によってテープ収納カセット
30内の表層テープ31、インクリボン33及び二重テ
ープ36が巻き解かれつつ下流側へと搬送される。表層
テープ31及びインクリボン33は、互いに重ね合わさ
れてからプラテンローラ21とサーマルヘッド13との
間を通過する。これらがプラテンローラ21とサーマル
ヘッド13とによって挟まれた状態で搬送されつつ、サ
ーマルヘッド13に配列された多数の発熱素子に選択的
かつ間欠的に通電が行われることにより、表層テープ3
1にインクリボン33のインクがドット単位で転写され
てそこに所望のドット画像が鏡像で形成される。また、
サーマルヘッド13を通過したインクリボン33がリボ
ン巻取りローラ15によって巻き取られた後、表層テー
プ31は二重テープ36と重ねられて送りローラ22と
接合ローラ38との間を通過する。これによって、ドッ
ト印刷済みの表層テープ31はその印刷面側が二重テー
プ36と強固に重ね合わされる。
When electric power is supplied to the tape feed motor 48a (see FIG. 3) provided in the printer 2, the ribbon take-up roller 15 is used, the take-up spool 35 and the joining roller drive roller 16 are used. The joining roller 38, the platen roller 21, and the feed roller 22 rotate, and the driving force generated by these rotations unwinds the surface tape 31, the ink ribbon 33, and the double tape 36 in the tape storage cassette 30 to the downstream side. Be transported. The surface tape 31 and the ink ribbon 33 pass between the platen roller 21 and the thermal head 13 after being superposed on each other. While these are conveyed while being sandwiched between the platen roller 21 and the thermal head 13, a large number of heating elements arranged in the thermal head 13 are selectively and intermittently energized, whereby the surface tape 3
The ink of the ink ribbon 33 is transferred to the unit 1 in dot units, and a desired dot image is formed as a mirror image there. Also,
After the ink ribbon 33 that has passed through the thermal head 13 is taken up by the ribbon take-up roller 15, the surface tape 31 is superposed on the double tape 36 and passes between the feed roller 22 and the joining roller 38. As a result, the printed surface side of the dot-printed surface tape 31 is firmly superposed on the double tape 36.

【0046】表層テープ31と二重テープ36とが重ね
合わされたテープ8は、表層テープ31の印刷面とは反
対側から印刷画像の正像を見ることができるものであっ
て、送りローラ22のさらに下流側に配置されたカッタ
ー17によって切断されてから排出口2bから排出され
る。カッター17は、固定刃17aに対して回動刃17
bが回動して切断対象物を剪断する鋏形式であり、回動
刃17bはカッター駆動モータ49a(図3参照)によ
って支点を中心に往復揺動することによりテープ8を切
断する。切断されたテープ8は、剥離テープを剥がすこ
とにより任意の場所に貼り付けることが可能な粘着ラベ
ルとして用いることができる。
The tape 8 in which the surface tape 31 and the double tape 36 are superposed is such that the normal image of the printed image can be seen from the side opposite to the printing surface of the surface tape 31, and the tape 8 of the feed roller 22 can be seen. Further, it is cut by the cutter 17 arranged on the downstream side and then discharged from the discharge port 2b. The cutter 17 has a rotary blade 17 with respect to the fixed blade 17a.
b is a scissors type that rotates to shear the object to be cut, and the rotating blade 17b cuts the tape 8 by reciprocally swinging around a fulcrum by a cutter driving motor 49a (see FIG. 3). The cut tape 8 can be used as an adhesive label that can be attached to any place by peeling off the peeling tape.

【0047】次に、本実施の形態に係るデータ列編集装
置として機能するコンピュータ1の制御系について、図
3を参照しつつ説明する。図3は、コンピュータ1の制
御系を説明するためのブロック図である。
Next, the control system of the computer 1 functioning as the data string editing apparatus according to this embodiment will be described with reference to FIG. FIG. 3 is a block diagram for explaining the control system of the computer 1.

【0048】図3に示すように、制御本体部4は、CP
U41、CG−ROM42、ハードディスク43、RA
M44、及び入出力インターフェース(以下、I/Fと
いう)45を備えている。
As shown in FIG. 3, the control main body 4 is
U41, CG-ROM 42, hard disk 43, RA
An M44 and an input / output interface (hereinafter referred to as I / F) 45 are provided.

【0049】制御本体部4が備えるI/F45には、液
晶ディスプレイコントローラ(LCDC)5b、キーボ
ード6及びマウス7が接続されている。I/F45に接
続されたLCDC5bはビデオRAMを備えており、ビ
デオRAMはそのビットパターンが液晶ディスプレイ
(LCD)5のドットパターンに対応したものである。
そして、LCDC5bはビデオRAMに格納されたデー
タに基づいてビデオRAMに格納されたデータに関する
画像をLCD5に表示するための制御を行う。
A liquid crystal display controller (LCDC) 5b, a keyboard 6 and a mouse 7 are connected to the I / F 45 provided in the control body section 4. The LCDC 5b connected to the I / F 45 includes a video RAM, and the bit pattern of the video RAM corresponds to the dot pattern of the liquid crystal display (LCD) 5.
Then, the LCDC 5b performs control for displaying on the LCD 5 an image related to the data stored in the video RAM based on the data stored in the video RAM.

【0050】さらに、I/F45には、印刷装置2のサ
ーマルヘッド13を駆動するための駆動回路47、上述
したテープ送りモータ48aを駆動するための駆動回路
48b、上述したカッター駆動モータ49aを駆動する
ための駆動回路49b、及び上述したテープ幅検出セン
サ46が接続されている。
Further, the I / F 45 drives the drive circuit 47 for driving the thermal head 13 of the printing apparatus 2, the drive circuit 48b for driving the tape feed motor 48a, and the cutter drive motor 49a. The drive circuit 49b for doing so and the tape width detection sensor 46 described above are connected.

【0051】CPU41は、各種制御や演算を行うもの
であり、本実施の形態における主たる機能について図4
を参照しつつ説明する。但し、図4は、本実施の形態に
おけるCPUの主たる機能を説明するためのブロック図
である。
The CPU 41 performs various controls and calculations, and the main functions in this embodiment are shown in FIG.
Will be described with reference to. However, FIG. 4 is a block diagram for explaining the main functions of the CPU in the present embodiment.

【0052】CPU41は、図4に示すように、定長設
定ON/OFFフラグ設定部51、定長設定ON/OF
Fフラグ判定部52、形成範囲判定部53、定長オーバ
回避方法選定部54、定長オーバ回避方法判定部55、
優先順位変更部56、及びレイアウト変更部57などと
して機能する。
As shown in FIG. 4, the CPU 41 has a fixed length setting ON / OFF flag setting unit 51, a fixed length setting ON / OF.
F flag determination unit 52, formation range determination unit 53, fixed length over avoidance method selection unit 54, fixed length over avoidance method determination unit 55,
It functions as the priority changing unit 56, the layout changing unit 57, and the like.

【0053】定長設定ON/OFFフラグ設定部51
は、I/F45を介して入力されるキーボード6からの
押下信号またはマウス7からの座標信号に基づいてRA
M44の定長設定ON/OFFフラグ記憶領域44a
(図5参照)に記憶されている情報を更新する。即ち、
ユーザがデータ列(文字列やグラフィックパターン等か
ら構成される構成部分である項目からなるもの)を予め
定められた所定サイズのテープ内に収める後述する定長
オーバ回避処理を実行することを選択した場合、定長設
定ON/OFFフラグ設定部51は定長設定ON/OF
Fフラグ記憶領域44aの記憶内容を“1”に設定する
(定長設定ON/OFFフラグをONに設定する)。一
方、ユーザが定長オーバ回避処理を実行しないことを選
択した場合、定長設定ON/OFFフラグ設定部51は
定長設定ON/OFFフラグ記憶領域44aの記憶内容
を“0”に設定する(定長設定ON/OFFフラグをO
FFに設定する)。尚、例えば、液晶ディスプレイ5の
表示画面に定長オーバ回避処理を実行するか否かをユー
ザが選択するためのボタンなどを表示するようにすれ
ば、ユーザは定長オーバ回避処理を実行するか否かを容
易に選択することが可能になる。
Fixed length setting ON / OFF flag setting section 51
On the basis of a push signal from the keyboard 6 or a coordinate signal from the mouse 7 input via the I / F 45.
M44 constant length setting ON / OFF flag storage area 44a
The information stored in (see FIG. 5) is updated. That is,
The user has chosen to execute the fixed length over avoidance process described below, in which a data string (consisting of items that are components that consist of character strings and graphic patterns) is stored in a tape of a predetermined size. In this case, the fixed length setting ON / OFF flag setting unit 51 sets the fixed length setting ON / OF.
The storage content of the F flag storage area 44a is set to "1" (the constant length setting ON / OFF flag is set to ON). On the other hand, when the user selects not to execute the fixed length overshooting process, the fixed length setting ON / OFF flag setting unit 51 sets the storage content of the fixed length setting ON / OFF flag storage area 44a to "0" ( Set fixed length ON / OFF flag to O
Set to FF). Note that, for example, if a button or the like for the user to select whether or not to execute the fixed length overshooting process is displayed on the display screen of the liquid crystal display 5, whether the user executes the fixed length overshooting process or not. It becomes possible to easily select whether or not.

【0054】定長設定ON/OFFフラグ判定部52
は、RAM44の定長設定ON/OFFフラグ記憶領域
44a(図5参照)に記憶されている情報に基づいてデ
ータ列を予め定められた所定サイズのテープ内に収める
ための定長オーバ回避処理を実行するか否かを判定す
る。
Fixed length setting ON / OFF flag determination unit 52
Is a fixed length over avoiding process for storing a data string in a tape of a predetermined size determined in advance based on the information stored in the fixed length setting ON / OFF flag storage area 44a (see FIG. 5) of the RAM 44. Determine whether to execute.

【0055】形成範囲判定部53は、データ列がRAM
44の定長長さ記憶領域44b(図5参照)に記憶され
ている値に対応するテープ長のテープ内に収まるか否か
を判定するテープ長方向判定部53aと、データ列がユ
ーザによって指定されたテープ幅または印刷装置2に収
容されているテープ幅のテープ内に収まるか否かを判定
するテープ幅方向判定部53bとして作用する。
In the formation range determination unit 53, the data string is RAM
A tape length direction determination unit 53a for determining whether or not a tape having a tape length corresponding to a value stored in a constant length storage area 44b (see FIG. 5) of 44 and a data string are designated by the user. The tape width direction determining unit 53b determines whether or not the tape width fits within the tape width or the tape width accommodated in the printing device 2.

【0056】定長オーバ回避方法選定部54は、RAM
44の定長オーバ回避方法記憶領域44e(図5、図6
参照)に記憶されている情報に基づいて、複数の後述す
る定長オーバ回避方法の中から優先順位の高い順に定長
オーバ回避方法を選定する。但し、優先順位とは、複数
用意されている定長オーバ回避方法を実行する順番であ
る。
The fixed length over avoidance method selecting unit 54 is a RAM.
Fixed length over avoidance method storage area 44e of 44 (FIGS. 5 and 6)
The fixed length overrun avoiding method is selected from a plurality of fixed length overrun avoiding methods, which will be described later, in descending order of priority. However, the priority order is the order in which a plurality of prepared fixed length overrun methods are executed.

【0057】定長オーバ回避方法判定部55は、定長オ
ーバ回避方法選定部54によって選定された定長オーバ
回避方法が複数用意されている定長オーバ回避方法のい
ずれであるかを判定する。
The fixed length over avoiding method determining unit 55 determines which of the plural fixed length over avoiding methods selected by the fixed length over avoiding method selecting unit 54 is prepared.

【0058】優先順位変更部56は、ユーザによる指定
に従ってRAM44の定長オーバ回避方法記憶領域44
e(図5、図6参照)に記憶されている各定長オーバ回
避方法の優先順位を変更する。
The priority order changing unit 56, in accordance with the designation by the user, stores the fixed length overrun method storage area 44 of the RAM 44.
e (see FIGS. 5 and 6), the priority of each fixed length over avoidance method stored therein is changed.

【0059】尚、例えば、複数容易されている各定長オ
ーバ回避方法の優先順位を入力するための図8に示すよ
うな優先順位入力領域5c(ユーザは優先順位の高いも
のから“1”、“2”、…を入力する)を含む優先順位
入力画面を液晶ディスプレイ5に表示する。そして、優
先順位変更部56は、ユーザの入力情報に基づいて、R
AM44の定長オーバ回避方法記憶領域44e(図5、
図6参照)に記憶されている情報を更新する。これによ
って、ユーザは複数の定長オーバ回避方法を実行する順
番を指定することが可能になると共に、ユーザが指定し
た順番で定長オーバ回避方法の実行が可能になる。
Note that, for example, a priority order input area 5c as shown in FIG. 8 for inputting the priority order of a plurality of fixed length overrun avoiding methods (a user is "1" from the highest priority order, The priority order input screen including "2", ... is displayed on the liquid crystal display 5. Then, the priority order changing unit 56 sets R based on the input information of the user.
Fixed length over avoidance method storage area 44e of AM44 (FIG. 5,
The information stored in FIG. 6) is updated. As a result, the user can specify the order in which a plurality of fixed length overrun avoiding methods are executed, and the fixed length overrun avoiding method can be executed in the order specified by the user.

【0060】レイアウト変更部57は、“重要度の低い
ものをドロップ”する定長オーバ回避方法(図17参
照)、“全体のサイズを小さくする”定長オーバ回避方
法(図18参照)、“重要度の低いものを複数行にす
る”定長オーバ回避方法(図19参照)、“全体を複数
行にして重要度を低いものは下の方の行で、サイズを小
さくする”定長オーバ回避方法(図20参照)、“項目
間のスペースをつめる”定長オーバ回避方法(図22参
照)、“バーコードのフォーマットサイズを小さくす
る”定長オーバ回避方法(図23参照)、“日付のみに
する”定長オーバ回避方法(図24参照)、“左右マー
ジンを減らす”定長オーバ回避方法(図25参照)など
の定長オーバ回避方法を実行するとともに、RAM44
の重要度記憶領域61b、62b、63b、…(図7参
照)に記憶されているデータ列を構成する各項目の重要
度、及びRAM44の閾値記憶領域44d(図5参照)
に記憶されている閾値に基づいて、データ列を構成する
項目から閾値以下の重要度の項目を削除する方法(図1
4:ステップS103〜ステップS105参照)を実行
する。尚、各定長オーバ回避方法の詳細についてはフロ
ーチャートを参照しつつ説明するためここではその説明
を省略し、レイアウト変更部57の機能の一部を説明す
るにとどめる。
The layout changing unit 57 "drops the less important ones" in the fixed length over avoiding method (see FIG. 17), "reduces the overall size" in the fixed length over avoiding method (see FIG. 18), and ". A method of avoiding the fixed length over that makes the less important ones more than one line (see Fig. 19), "A smaller number of lines makes the whole less important and lowers the size" Fixed length over Avoidance method (see Fig. 20), "Fill space between items" Fixed length over avoidance method (see Fig. 22), "Reduce barcode format size" Fixed length over avoidance method (see Fig. 23), "Date" The fixed length over avoiding method such as “only fixed length over avoiding method” (refer to FIG. 24) and “reduce left and right margins” (refer to FIG. 25) is executed, and RAM 44
Importance storage areas 61b, 62b, 63b, ... (See FIG. 7), the importance of each item forming the data sequence, and the threshold storage area 44d of the RAM 44 (see FIG. 5).
Based on the threshold value stored in the item, a method of deleting the items having the importance level equal to or lower than the threshold value from the items forming the data string (see FIG. 1).
4: execute steps S103 to S105). The details of each method of avoiding the constant length will be described with reference to a flowchart, and therefore the description thereof is omitted here, and only a part of the function of the layout changing unit 57 will be described.

【0061】レイアウト変更部57は、重要度付与部5
7a、画像形成判断部57b、データ列構成部57c、
改行部57d、データ列配置部57e、サイズ縮小部5
7fなどとして機能する。
The layout changing unit 57 includes the importance level assigning unit 5
7a, the image formation determining unit 57b, the data string forming unit 57c,
Line feed part 57d, data string arrangement part 57e, size reduction part 5
It functions as 7f.

【0062】重要度付与部57aは、データ列を構成す
る複数の項目に重要度を付与すると共に、各項目に付与
した重要度の情報をRAM44の重要度記憶領域61
b、62b、63b、…(図7参照)に格納する。
The importance assigning section 57a assigns importance to a plurality of items forming a data string, and stores the importance information assigned to each item in the importance storage area 61 of the RAM 44.
b, 62b, 63b, ... (See FIG. 7).

【0063】ここで、重要度付与部57aによるデータ
列を構成する複数の項目の重要度付与方法について図9
を参照しつつ説明する。但し、図9は、重要度付与部に
よる重要度付与方法を説明するための説明図である。
Here, a method of assigning importance to a plurality of items forming a data string by the importance assigning section 57a will be described with reference to FIG.
Will be described with reference to. However, FIG. 9 is an explanatory diagram for explaining the importance degree giving method by the importance degree giving unit.

【0064】図9に示すように、データ列を構成する複
数の項目に対して予め重要度を定めておき、複数の項目
とその項目に予め定められた重要度とを関連付けてRA
M44に格納しておく。重要度付与部57aは、RAM
44に格納された各項目の重要度に基づいて、データ列
を構成する項目の夫々に対して予め定められた重要度を
付与する。そして、重要度付与部57aは、データ列を
構成する各項目に付与した重要度をその項目に対応する
RAM44の重要度記憶領域61b、62b、63b、
…(図7参照)に格納する。
As shown in FIG. 9, the degree of importance is set in advance for a plurality of items forming the data string, and the plurality of items and the degree of importance set in advance for the items are associated with each other to be RA.
It is stored in M44. The importance assigning unit 57a is a RAM
Based on the importance of each item stored in 44, a predetermined importance is given to each of the items forming the data string. Then, the importance assigning unit 57a assigns the importance assigned to each item constituting the data string to the importance storage areas 61b, 62b, 63b of the RAM 44 corresponding to the item.
... (see FIG. 7).

【0065】例えば、図9に示すように、“イラス
ト”、“バーコード”、“品名”に対して、それぞれ、
30、100、50の重要度が割り当てられており、ま
た、RAM44の重要度記憶領域61b、62b、63
b(図7参照)の夫々が、“イラスト”、“バーコー
ド”、“品名”に対応しているものとすれば、重要度記
憶領域61b、62b、63bの夫々に30、100、
50が格納されることになる。
For example, as shown in FIG. 9, for "illustration", "bar code", and "article name",
The importance levels of 30, 100, and 50 are assigned, and the importance level storage areas 61b, 62b, and 63 of the RAM 44 are assigned.
If each of b (see FIG. 7) corresponds to “illustration”, “bar code”, and “article name”, the importance storage areas 61b, 62b, 63b have 30, 100,
50 will be stored.

【0066】尚、例えば、データ列を構成する複数の項
目に対して重要度を入力するための図10に示すような
重要度入力領域57aを含む重要度入力画面を液晶ディ
スプレイ5に表示する。そして、重要度付与部5dは、
ユーザの入力情報に基づいて、RAM44の重要度記憶
領域61b、62b、63b、…に記憶されている情報
を更新する。これによって、ユーザはデータ列を構成す
る各項目の重要度を指定することが可能になると共に、
ユーザが指定した重要度で自動的にデータ列の編集を行
うことが可能になる。この結果、ユーザが重要な情報を
含んでいると考える項目を優先的にテープに印刷するデ
ータ列に含めることが可能になるという利点を有してい
る。
It should be noted that, for example, an importance input screen including an importance input area 57a as shown in FIG. 10 for inputting importance to a plurality of items forming a data string is displayed on the liquid crystal display 5. Then, the importance degree giving unit 5d
The information stored in the importance storage areas 61b, 62b, 63b, ... Of the RAM 44 is updated based on the user's input information. This allows the user to specify the importance of each item that makes up the data string, and
It is possible to automatically edit the data string with the importance specified by the user. As a result, there is an advantage that items that the user thinks contain important information can be preferentially included in the data string to be printed on the tape.

【0067】画像形成判断部57bは、RAM44の重
要度記憶領域61b、62b、63b、…(図7参照)
に記憶された重要度とRAM44の閾値記憶領域44d
に記憶された閾値とに基づいて、データ列を構成する各
項目をテープに印刷するデータ列に含めるか否かを判断
する。データ列構成部57cは、画像形成判断部57b
の判断結果に基づいて、データ列を再構成する。
The image formation judging section 57b has the importance storage areas 61b, 62b, 63b, ... Of the RAM 44 (see FIG. 7).
And the threshold storage area 44d of the RAM 44 stored in the RAM 44
It is determined whether or not each item forming the data string is included in the data string to be printed on the tape based on the threshold value stored in. The data string configuration unit 57c is the image formation determination unit 57b.
The data string is reconstructed based on the judgment result of.

【0068】そして、画像形成判断部57bとデータ列
構成部57cとが一体となって、“閾値以下を全て”ド
ロップするドロップ方法、“一番多くの項目が入る組み
合わせ”を選択するドロップ方法、“フォーマットの配
置順(後から)”でドロップするドロップ方法、“フォ
ーマットの配置順(前から)”でドロップするドロップ
方法、“データベースの並び順(後から)”でドロップ
するドロップ方法、“データベースの並び順(前か
ら)”でドロップするドロップ方法などの各ドロップ方
法を実行する。
Then, the image formation judging section 57b and the data string constructing section 57c are integrated, and the drop method is to drop "all below threshold", the drop method to select "combination containing the most items", Drop method to drop in "Format layout order (after)", Drop method to "Format layout order (from front)", Drop method to "Database arrangement order (after)", "Database" Execute each drop method such as the drop method in which the drop order is "(from the front)".

【0069】ここで、上記各ドロップ方法について図1
1を参照しつつ説明する。但し、図11は、ドロップ方
法を説明するための説明図である。尚、閾値は“80”
が設定されているものとする。
Here, each of the drop methods will be described with reference to FIG.
This will be described with reference to 1. However, FIG. 11 is an explanatory diagram for explaining the drop method. The threshold is "80"
Is set.

【0070】図11(a)は、データ列のフォーマット
の一例を表しており、図11(a)に示すフォーマット
の各項目の並びは、前から順に、“バーコード”、“加
工日”、“賞味期限”、“品名”、“産地番号”、“生
産者番号”、“分類”となっている。尚、テープ71
は、予め定められたテープ長のテープを表したものであ
り、また、バーコード71a、加工日71b、賞味期限
71c、品名71d、産地番号71e、生産者番号71
f、分類71gはテープ71に対する相対的な寸法で表
している。
FIG. 11A shows an example of the format of the data string, and the arrangement of each item in the format shown in FIG. 11A is "bar code", "processing date", in order from the front. "Expiration date", "product name", "production place number", "producer number", and "classification". Incidentally, the tape 71
Represents a tape having a predetermined tape length, and also includes a barcode 71a, a processing date 71b, a shelf life 71c, a product name 71d, a production number 71e, and a producer number 71.
f and classification 71g are represented by relative dimensions to the tape 71.

【0071】図11(b)は、データ列を構成する各項
目の重要度の一例を表しており、図11(b)に示すよ
うに、“バーコード”には重要度“100”が割り当て
られており、“加工日”、“賞味期限”、“品名”、
“産地番号”、“生産者番号”、“分類”には重要度
“50”が割り当てられている。
FIG. 11B shows an example of the degree of importance of each item forming the data string. As shown in FIG. 11B, the “bar code” is assigned the degree of importance “100”. “Processing date”, “Best before date”, “Product name”,
The degree of importance “50” is assigned to “production place number”, “producer number”, and “classification”.

【0072】図11(c)は、データ列を構成する項目
のデータベースの一例を表しており、図11(c)に示
すデータベースの各項目の並びは、“バーコード”、
“品名”、“分類”、“加工日”、“賞味期限”、“産
地番号”、“生産者番号”となっている。
FIG. 11 (c) shows an example of a database of items forming a data string, and the arrangement of each item in the database shown in FIG. 11 (c) is "bar code",
"Product name", "Classification", "Processing date", "Best before date", "Production number", "Producer number".

【0073】“閾値以下を全て”ドロップするドロップ
方法は、閾値以上の重要度の項目を全てテープに印刷す
るデータ列に残し、閾値未満の重要度の項目を全てデー
タ列から削除する方法である。図11(a)〜図11
(c)のような場合、閾値以上の重要度の“バーコー
ド”をデータ列に残し、閾値未満の重要度の“加工
日”、“賞味期限”、“品名”、“産地番号”、“生産
者番号”、“分類”をデータ列から削除する。従って、
図11(d)に示すように、テープに印刷されるデータ
列は“バーコード”のみとなる。
The drop method of "all less than or equal to threshold" is a method of leaving all the items with the importance above the threshold in the data string to be printed on the tape and deleting all the items with the importance below the threshold from the data string. . 11A to 11
In the case of (c), the "bar code" having the importance level higher than the threshold is left in the data string, and the "processing date", "expiration date", "product name", "production place number", " Delete “Producer number” and “Classification” from the data string. Therefore,
As shown in FIG. 11D, the data string printed on the tape is only the “bar code”.

【0074】“一番多くの項目が入る組み合わせ”を選
択するドロップ方法は、閾値以上の重要度の項目を全て
テープに印刷するデータ列に残しながら、閾値未満の重
要度の項目について、重要度の低い順に一つずつ項目を
取り出し、取り出した項目をデータ列から削除する。こ
の際に、同じ重要度の項目がある場合には、同じ重要度
の項目がテープ71内に最も多く入る組み合わせを選
び、その最も多く入る組み合わせに含まれる項目をテー
プに印刷するデータ列に含める方法である。尚、同じ重
要度の項目が最も多く入る組み合わせを選ぶ処理は、同
じ重要度の項目を少なくとも一つ含む全ての組み合わせ
に対して、予め定められたテープ長のテープ内に収まる
か否かを調べ、テープ内に収まると判定された組み合わ
せの中で項目数の最も多いものを選ぶことによって行
う。尚、“一番多くの項目が入る組み合わせ”を選択す
るドロップ方法を実行して得られるデータ列の一例が図
11(e)に示されている。
The drop method for selecting the "combination in which the most items are included" is such that all the items having the importance level equal to or higher than the threshold value are left in the data string to be printed on the tape, while the importance level items less than the threshold value are important. The items are taken out one by one in ascending order, and the taken items are deleted from the data string. At this time, if there are items having the same importance, a combination in which the items having the same importance are contained in the tape 71 most is selected, and the items included in the combination having the most importance are included in the data string to be printed on the tape. Is the way. It should be noted that the process of selecting a combination that contains the most items of the same importance is to check whether or not all combinations including at least one item of the same importance can fit within the tape of a predetermined tape length. , Among the combinations determined to fit on the tape, the one with the largest number of items is selected. An example of the data string obtained by executing the drop method of selecting the "combination containing the most items" is shown in FIG. 11 (e).

【0075】“フォーマットの配置順(後から)”でド
ロップするドロップ方法は、次のようなものである。閾
値以上の重要度の項目を全てテープに印刷するデータ列
に残しながら、閾値未満の重要度の項目について、重要
度の低い順に一つずつ項目を取り出し、取り出した項目
をデータ列から削除する。この際に、同じ重要度の項目
がある場合には、同じ重要度の項目の中からフォーマッ
トの配置順に従い配置順の後から一つ項目を取り出し
て、取り出した項目をデータ列から削除する。そして、
この処理を削除後のデータ列が予め定められたテープ長
のテープ内に収まるまで繰り返し行う方法である。
The drop method of dropping in the "format arrangement order (afterwards)" is as follows. While leaving all the items with the degree of importance greater than the threshold value in the data string to be printed on the tape, the items with the degree of importance less than the threshold value are taken out one by one in ascending order of importance, and the taken-out items are deleted from the data string. At this time, if there are items having the same importance, one item is taken out from the items having the same importance after the arrangement order according to the arrangement order of the format, and the taken-out item is deleted from the data string. And
This process is repeated until the data string after deletion fits within a tape having a predetermined tape length.

【0076】図11(a)〜図11(c)のような場
合、閾値以上の重要度の“バーコード”をデータ列に残
す。そして、“加工日”、“賞味期限”、“品名”、
“産地番号”、“生産者番号”、“分類”は閾値未満の
重要度で且つ同じ重要度であるため、フォーマットの配
置順に従い配置順の後から一つの項目“分類”を取り出
してデータ列から削除する。“分類”を削除しても削除
後のデータ列が予め定められたテープ長のテープ内に収
まらないため、さらに、フォーマットの配置順に従い配
置順の後から一つの項目“生産者番号”を取り出してデ
ータ列から削除する。“生産者番号”を削除しても削除
後のデータ列が予め定められたテープ長のテープ内に収
まらないため、さらに、フォーマットの配置順に従い配
置順の後から一つの項目“産地番号”を取り出してデー
タ列から削除する。“産地番号”を削除した後のデータ
列は予め定められたテープ長のテープ内に収まるので、
“加工日”、“賞味期限”、“品名”がテープに印刷さ
れるデータ列として残る。従って、図11(f)に示す
ように、テープに印刷されるデータ列は“バーコー
ド”、“加工日”、“賞味期限”、“品名”となる。
In the case of FIG. 11A to FIG. 11C, the “bar code” having the degree of importance equal to or higher than the threshold is left in the data string. And, "Processing date", "Expiration date", "Product name",
Since "production number,""producernumber," and "classification" are less than the threshold and have the same importance, one item "classification" is extracted after the arrangement order according to the arrangement order of the format, and the data string Remove from. Even if the "classification" is deleted, the data string after deletion does not fit in the tape of the predetermined tape length, so one item "producer number" is taken out after the arrangement order according to the arrangement order of the format. Delete from the data column. Even if the "Producer number" is deleted, the data string after deletion does not fit in the tape of the predetermined tape length. Therefore, according to the arrangement order of the format, add one item "Place of origin number" after the arrangement order. Take it out and delete it from the data string. Since the data string after deleting the "production number" fits within the tape of the predetermined tape length,
The "processing date", "expiration date", and "product name" remain as a data string to be printed on the tape. Therefore, as shown in FIG. 11 (f), the data string printed on the tape is “bar code”, “processing date”, “expiration date”, and “article name”.

【0077】“フォーマットの配置順(前から)”でド
ロップするドロップ方法は、次のようなものである。閾
値以上の重要度の項目を全てテープに印刷するデータ列
に残しながら、閾値未満の重要度の項目について、重要
度の低い順に一つずつ項目を取り出し、取り出した項目
をデータ列から削除する。この際に、同じ重要度の項目
がある場合には、同じ重要度の項目の中からフォーマッ
トの配置順に従い配置順の前から一つ項目を取り出し
て、取り出した項目をデータ列から削除する。そして、
この処理を削除後のデータ列が予め定められたテープ長
のテープ内に収まるまで繰り返し行う方法である。
The drop method of dropping in the "format arrangement order (from the front)" is as follows. While leaving all the items with the degree of importance greater than the threshold value in the data string to be printed on the tape, the items with the degree of importance less than the threshold value are taken out one by one in ascending order of importance, and the taken-out items are deleted from the data string. At this time, if there are items of the same importance, one item is taken out from the items of the same importance according to the arrangement order of the format, and the taken item is deleted from the data string. And
This process is repeated until the data string after deletion fits within a tape having a predetermined tape length.

【0078】図11(a)〜図11(c)のような場
合、閾値以上の重要度の“バーコード”をデータ列に残
す。そして、“加工日”、“賞味期限”、“品名”、
“産地番号”、“生産者番号”、“分類”は閾値未満の
重要度で且つ同じ重要度であるため、フォーマットの配
置順に従い配置順の前から一つの項目“加工日”を取り
出してデータ列から削除する。“加工日”を削除しても
削除後のデータ列が予め定められたテープ長のテープ内
に収まらないため、さらに、フォーマットの配置順に従
い配置順の前から一つの項目“賞味期限”を取り出して
データ列から削除する。“賞味期限”を削除しても削除
後のデータ列が予め定められたテープ長のテープ内に収
まらないため、さらに、フォーマットの配置順に従い配
置順の前から一つの項目“品名”を取り出してデータ列
から削除する。“品名”を削除した後のデータ列は予め
定められたテープ長のテープ内に収まるので、“産地番
号”、“生産者番号”、“分類”がテープに印刷される
データ列として残る。従って、図11(g)に示すよう
に、テープに印刷されるデータ列は“バーコード”、
“産地番号”、“生産者番号”、“分類”となる。
In the cases shown in FIGS. 11A to 11C, the "bar code" having the degree of importance equal to or higher than the threshold is left in the data string. And, "Processing date", "Expiration date", "Product name",
Since "Place of origin number", "Producer number", and "Classification" are less than the threshold and have the same importance, one item "Processing date" is extracted from the arrangement order before the data according to the arrangement order of the format. Remove from column. Even if the "Processing date" is deleted, the data string after deletion does not fit in the tape of the predetermined tape length, so one item "Expiration date" is taken out from the front of the arrangement order according to the arrangement order of the format. Delete from the data column. Even if you delete the "expiration date", the data string after deletion does not fit in the tape with the predetermined tape length. Therefore, according to the layout order of the format, take out one item "product name" from the front of the layout order. Delete from the data column. Since the data string after the "product name" is deleted fits within the tape having a predetermined tape length, the "production place number", "producer number", and "classification" remain as the data string to be printed on the tape. Therefore, as shown in FIG. 11G, the data string printed on the tape is a "bar code",
"Producer number", "Producer number", "Classification".

【0079】“データベースの並び順(後から)”でド
ロップするドロップ方法は、次のようなものである。閾
値以上の重要度の項目を全てテープに印刷するデータ列
に残しながら、閾値未満の重要度の項目について、重要
度の低い順に一つずつ項目を取り出し、取り出した項目
をデータ列から削除する。この際に、同じ重要度の項目
がある場合には、同じ重要度の項目の中からデータベー
スの配置順に従い配置順の後から一つ項目を取り出し
て、取り出した項目をデータ列から削除する。そして、
この処理を削除後のデータ列が予め定められたテープ長
のテープ内に収まるまで繰り返し行う方法である。
The drop method of dropping in the "database order (later)" is as follows. While leaving all the items with the degree of importance greater than the threshold value in the data string to be printed on the tape, the items with the degree of importance less than the threshold value are taken out one by one in ascending order of importance, and the taken-out items are deleted from the data string. At this time, if there are items of the same importance, one item is taken out from the items of the same importance after the arrangement order according to the arrangement order of the database, and the taken-out item is deleted from the data string. And
This process is repeated until the data string after deletion fits within a tape having a predetermined tape length.

【0080】図11(a)〜図11(c)のような場
合、閾値以上の重要度の“バーコード”をデータ列に残
す。そして、“加工日”、“賞味期限”、“品名”、
“産地番号”、“生産者番号”、“分類”は閾値未満の
重要度で且つ同じ重要度であるため、データベースの配
置順に従い配置順の後から一つの項目“生産者番号”を
取り出してデータ列から削除する。“生産者番号”を削
除しても削除後のデータ列が予め定められたテープ長の
テープ内に収まらないため、さらに、データベースの配
置順に従い配置順の後から一つの項目“産地番号”を取
り出してデータ列から削除する。“産地番号”を削除し
ても削除後のデータ列が予め定められたテープ長のテー
プ内に収まらないため、さらに、データベースの配置順
に従い配置順の後から一つの項目“賞味期限”を取り出
してデータ列から削除する。“賞味期限”を削除した後
のデータ列は予め定められたテープ長のテープ内に収ま
るので、“品名”、“分類”、“加工日”がテープに印
刷されるデータ列として残る。従って、図11(h)に
示すように、テープに印刷されるデータ列は“バーコー
ド”、“品名”、“分類”、“加工日”となる。
In the case of FIG. 11A to FIG. 11C, the “bar code” having the degree of importance equal to or higher than the threshold is left in the data string. And, "Processing date", "Expiration date", "Product name",
Since "Producer number", "Producer number", and "Classification" are less than the threshold and have the same importance, one item "Producer number" is extracted after the arrangement order in the database according to the arrangement order. Delete from the data column. Even if the “Producer number” is deleted, the data string after deletion does not fit in the tape with the predetermined tape length. Therefore, one item “Producer number” is added after the arrangement order according to the arrangement order of the database. Take it out and delete it from the data string. Even if you delete the "Production number", the deleted data string will not fit in the tape with the predetermined tape length. Therefore, one item "Expiration date" is taken out after the arrangement order according to the arrangement order of the database. Delete from the data column. Since the data string after the "expiration date" is deleted fits within the tape having a predetermined tape length, the "product name", "classification", and "processing date" remain as the data string to be printed on the tape. Therefore, as shown in FIG. 11 (h), the data string printed on the tape is "bar code", "product name", "classification", and "processing date".

【0081】“データベースの並び順(前から)”でド
ロップするドロップ方法は、次のようなものである。閾
値以上の重要度の項目を全てテープに印刷するデータ列
に残しながら、閾値未満の重要度の項目について、重要
度の低い順に一つずつ項目を取り出し、取り出した項目
をデータ列から削除する。この際に、同じ重要度の項目
がある場合には、同じ重要度の項目の中からデータベー
スの配置順に従い配置順の前から一つ項目を取り出し
て、取り出した項目をデータ列から削除する。そして、
この処理を削除後のデータ列が予め定められたテープ長
のテープ内に収まるまで繰り返し行う方法である。
The drop method of dropping in the "database order (from the front)" is as follows. While leaving all the items with the degree of importance greater than the threshold value in the data string to be printed on the tape, the items with the degree of importance less than the threshold value are taken out one by one in ascending order of importance, and the taken-out items are deleted from the data string. At this time, if there is an item of the same importance, one item is taken out from the items of the same importance according to the order of arrangement of the database, and the taken item is deleted from the data string. And
This process is repeated until the data string after deletion fits within a tape having a predetermined tape length.

【0082】図11(a)〜図11(c)のような場
合、閾値以上の重要度の“バーコード”をデータ列に残
す。そして、“加工日”、“賞味期限”、“品名”、
“産地番号”、“生産者番号”、“分類”は閾値未満の
重要度で且つ同じ重要度であるため、データベースの配
置順に従い配置順の前から一つの項目“品名”を取り出
してデータ列から削除する。“品名”を削除しても削除
後のデータ列が予め定められたテープ長のテープ内に収
まらないため、さらに、データベースの配置順に従い配
置順の前から一つの項目“分類”を取り出してデータ列
から削除する。“分類”を削除した後のデータ列は予め
定められたテープ長のテープ内に収まるので、“加工
日”、“賞味期限”、“産地番号”、“生産者番号”が
テープに印刷されるデータ列として残る。従って、図1
1(i)に示すように、テープに印刷されるデータ列は
“バーコード”、“加工日”、“賞味期限”、“産地番
号”、“生産者番号”となる。
In the case of FIG. 11A to FIG. 11C, the “bar code” having the degree of importance above the threshold is left in the data string. And, "Processing date", "Expiration date", "Product name",
Since "Producer number", "Producer number", and "Classification" are less than the threshold and have the same importance, one item "Product name" is extracted from the order of arrangement according to the database arrangement order and the data string Remove from. Even if you delete the "product name", the data string after deletion does not fit in the tape with the predetermined tape length. Therefore, in accordance with the database arrangement order, one item "classification" is retrieved from the front of the arrangement order and the data Remove from column. The data string after the "classification" is deleted fits within the tape of a predetermined tape length, so the "processing date", "expiration date", "production place number", and "producer number" are printed on the tape. It remains as a data string. Therefore, FIG.
As shown in 1 (i), the data string printed on the tape is "bar code", "processing date", "expiration date", "production area number", and "producer number".

【0083】改行部57dは、“重要度の低いものを複
数行にする”定長オーバ回避方法(図19参照)におい
てデータ列を構成する項目から重要度に基づいて取り出
された項目の行を増加させる。データ列配置部57e
は、“全体を複数行にして重要度の低いものは下の方の
行で、サイズを小さくする”定長オーバ回避方法(図2
0参照)において、重要度に基づいて取り出された項目
を一つ下の行に移動させる。サイズ縮小部57fは、デ
ータ列を構成する項目のサイズを小さくする。
The line feed portion 57d removes the line of the item taken out based on the importance from the items forming the data string in the method of avoiding the fixed length over "to make the lines of low importance a plurality of lines" (see FIG. 19). increase. Data string arranging unit 57e
Is a method of avoiding a fixed length over ("Let the whole line be multiple lines and the one with less importance is the lower line and the size is smaller" (Fig. 2
In 0), the item retrieved based on the importance is moved to the line below. The size reduction unit 57f reduces the size of the items forming the data string.

【0084】CG−ROM42には、多数のキャラクタ
に関しキャラクタを液晶ディスプレイ(LCD)5に表
示するためのキャラクタパターンがそのキャラクタコー
ドに関連付けられて格納されている。ハードディスク4
3には、GUI(GraphicalUser Interface)ベースの
OS(Operating System)ソフトウェアのほか、本発明
の一実施の形態に係るデータ列編集プログラムなどの各
種プログラムやデータテーブル類が格納されている。
In the CG-ROM 42, a character pattern for displaying characters on a liquid crystal display (LCD) 5 for a large number of characters is stored in association with the character code. Hard disk 4
In addition to GUI (Graphical User Interface) -based OS (Operating System) software, 3 stores various programs such as a data string editing program according to an embodiment of the present invention and data tables.

【0085】RAM44には複数の記憶領域があり、そ
の詳細について図5を参照しつつ説明する。但し、図5
は、RAM44の記憶内容を説明するための説明図であ
る。
The RAM 44 has a plurality of storage areas, the details of which will be described with reference to FIG. However, FIG.
FIG. 4 is an explanatory diagram for explaining the stored contents of the RAM 44.

【0086】図5に示すように、RAM44は、定長設
定ON/OFFフラグ記憶領域44a、定長長さ記憶領
域44b、ドロップ方法記憶領域44c、閾値記憶領域
44d、定長オーバ回避方法記憶領域44e、フォーマ
ット情報記憶領域44f、テキスト領域44g、及びワ
ーク領域44hなどを含んでいる。
As shown in FIG. 5, the RAM 44 includes a fixed length setting ON / OFF flag storage area 44a, a fixed length length storage area 44b, a drop method storage area 44c, a threshold storage area 44d, and a fixed length overshooting method storage area. 44e, a format information storage area 44f, a text area 44g, a work area 44h, and the like.

【0087】定長設定ON/OFFフラグ記憶領域44
aは、データ列を予め定められたサイズのテープ内に収
める後述する定長オーバ回避処理を実行するか否かに関
する情報を記憶する領域である。そして、定長設定ON
/OFFフラグ記憶領域44aには、定長オーバ回避処
理を実行する場合、“1”が格納され、一方、定長オー
バ回避処理を実行しない場合、“0”が格納される。
Fixed length setting ON / OFF flag storage area 44
An area a stores information about whether or not to execute a fixed length over avoidance process, which will be described later, in which a data string is stored in a tape having a predetermined size. And fixed length setting ON
In the / OFF flag storage area 44a, "1" is stored when the fixed length over avoidance process is executed, while "0" is stored when the fixed length over avoidance process is not executed.

【0088】定長長さ記憶領域44bには、後述する定
長オーバ回避処理で用いられる予め定められたテープの
テープ長の値が記憶される。
The constant length storage area 44b stores a tape length value of a predetermined tape used in the constant length avoidance processing described later.

【0089】ドロップ方法記憶領域44cは、図11を
参照しつつ上述した複数のドロップ方法のうち実行する
ドロップ方法を特定するための情報(各ドロップ方法に
割り当てられた値:図12参照)を記憶する領域であ
る。尚、図12に示すように、“閾値以下を全て”ドロ
ップするドロップ方法には“0”が割り当てられてお
り、“一番多くの項目が入る組み合わせ”を選択するド
ロップ方法には“1”が割り当てられている。また、
“フォーマットの配置順(前から)”でドロップするド
ロップ方法には“2”が割り当てられており、“フォー
マットの配置順(後から)”でドロップするドロップ方
法には“3”が割り当てられている。また、“データベ
ースの並び順(前から)”でドロップするドロップ方法
には“4”が割り当てられており、“データベースの並
び順(後から)”でドロップするドロップ方法には
“5”が割り当てられている。
The drop method storage area 44c stores information (value assigned to each drop method: see FIG. 12) for specifying the drop method to be executed among the plurality of drop methods described above with reference to FIG. This is the area to be used. As shown in FIG. 12, "0" is assigned to the drop method of "all less than or equal to the threshold value", and "1" is assigned to the drop method of selecting the "combination containing the most items". Has been assigned. Also,
"2" is assigned to the drop method that drops in the "format placement order (from the front)", and "3" is assigned to the drop method that drops in the "format placement order (from the back)" There is. In addition, "4" is assigned to the drop method that drops in the "database order (from before)", and "5" is assigned to the drop method that drops in the "database order (after)". Has been.

【0090】閾値記憶領域44dには、データ列を構成
する項目からドロップ(削除)する項目を選択する際に
利用される閾値が記憶される。
The threshold storage area 44d stores a threshold used when selecting an item to be dropped (deleted) from the items forming the data string.

【0091】定長オーバ回避方法記憶領域44eは、定
長オーバ回避処理において行われる複数の後述する定長
オーバ回避方法に割り当てられた番号(図13参照)を
定長オーバ回避方法が行われる順番で記憶する領域であ
り、図6に示すように、最初に実行する定長オーバ回避
方法に割り当てられた番号を記憶する回避方法記憶領域
65a、二番目に実行する定長オーバ回避方法に割り当
てられた番号を記憶する回避方法記憶領域65b、三番
目に実行する定長オーバ回避方法に割り当てられた番号
を記憶する回避方法記憶領域65cなどからなる。
In the fixed length over avoiding method storage area 44e, the numbers (see FIG. 13) assigned to a plurality of fixed length over avoiding methods to be described later, which are performed in the fixed length over avoiding processing, are stored in the order in which the fixed length over avoiding method is performed. 6, an avoidance method storage area 65a for storing the number assigned to the fixed length over avoidance method to be executed first, and an assigned number for the fixed length over avoidance method to be executed second, as shown in FIG. The avoidance method storage area 65b stores the number, and the avoidance method storage area 65c stores the number assigned to the third fixed length overrun avoiding method.

【0092】尚、図13に示すように、“重要度の低い
ものをドロップ”する定長オーバ回避方法には“1”が
割り当てられており、“全体のサイズを小さくする”定
長オーバ回避方法には“2”が割り当てられている。ま
た、“重要度の低いものを複数行にする”定長オーバ回
避方法には“3”が割り当てられており、“全体を複数
行にして重要度の低いものは下の方の行で、サイズを小
さくする”定長オーバ回避方法には“4”が割り当てら
れている。また、“項目間のスペースをつめる”定長オ
ーバ回避方法には“5”が割り当てられており、“バー
コードのフォーマットサイズを小さくする”定長オーバ
回避方法には“6”が割り当てられている。また、“日
付のみにする”定長オーバ回避方法には“7”が割り当
てられており、“左右マージンを減らす”定長オーバ回
避方法には“8”が割り当てられている。また、各定長
オーバ回避方法を行う順番が設定されていない“設定な
し”には“0”が割り当てられている。
Note that, as shown in FIG. 13, "1" is assigned to the fixed length over avoiding method of "dropping a less important one", and "decrease the overall size" of fixed length over avoidance. “2” is assigned to the method. In addition, "3" is assigned to the fixed length over avoidance method of "making less important ones into multiple lines", and "the entire line is less important in the lower line, "4" is assigned to the "fixed length over-avoidance method" for reducing the size. Also, "5" is assigned to the fixed length over avoidance method that "closes the space between items", and "6" is assigned to the "reduce the barcode format size" fixed length over avoidance method. There is. Further, "7" is assigned to the method of avoiding the fixed length over that "only the date is used", and "8" is assigned to the method of avoiding the fixed length over that "reduces the left and right margins". Further, "0" is assigned to "no setting" in which the order of performing each fixed length overshooting method is not set.

【0093】フォーマット情報記憶領域44fは、図7
に示すように、データ列を構成する項目ごとに割り当て
られる項目情報記憶領域61、62、63、…からな
る。そして、各項目情報記憶領域61、62、63、…
は、項目をデータ列中のどの位置に配置するかを示す情
報を記憶する配置情報記憶領域61a、62a、63
a、…とその項目の重要度を記憶する重要度記憶領域6
1b、62b、63b、…とからなる。
The format information storage area 44f is shown in FIG.
, The item information storage areas 61, 62, 63, ... Are assigned to the respective items constituting the data string. Then, each item information storage area 61, 62, 63, ...
Is an arrangement information storage area 61a, 62a, 63 for storing information indicating at which position in the data string the item is arranged.
..., and the importance storage area 6 for storing the importance of the item
1b, 62b, 63b, ...

【0094】テキスト領域44fは、データ列を構成す
る項目に含まれる文字など(単位要素)に関する情報が
記憶される領域である。また、ワーク領域44hは、C
PU41が各種制御や演算の際に利用する作業領域であ
る。
The text area 44f is an area for storing information about characters (unit elements) included in the items constituting the data string. Further, the work area 44h is C
It is a work area used by the PU 41 for various controls and calculations.

【0095】以下、コンピュータ1のCPU41が行う
データ列編集処理について図14を参照しつつ説明す
る。図14は、コンピュータのCPUが行うデータ列編
集処理における動作手順を説明するためのフローチャー
トである。
The data string editing process performed by the CPU 41 of the computer 1 will be described below with reference to FIG. FIG. 14 is a flowchart for explaining the operation procedure in the data string edit processing performed by the CPU of the computer.

【0096】ステップS101において、CPU41は
ユーザがテープに印刷することを指定したレコードを特
定する。尚、ユーザは複数のレコードを選択することが
できる。
In step S101, the CPU 41 identifies the record designated by the user to print on the tape. The user can select a plurality of records.

【0097】ステップS102において、CPU41の
定長設定ON/OFFフラグ判定部52は、RAM44
の定長設定ON/OFFフラグ記憶領域44aに記憶さ
れた内容が“1”であるか否か、即ち定長設定ON/O
FFフラグがONになっているか否かを判定する。定長
設定ON/OFFフラグ判定部52によって定長設定O
N/OFFフラグがONになっていると判定された場合
には(ステップS102:YES)、レコードに対応す
るデータ列を予め定められたサイズのテープ内に収める
ための処理を実行するためステップS106の処理に移
行する。一方、定長設定ON/OFFフラグ判定部52
によって定長設定ON/OFFフラグがONになってい
ない、即ち定長設定ON/OFFフラグがOFFになっ
ていると判定された場合には(ステップS102:N
O)、印刷に使用されるテープのテープ長さを短くする
ための処理を実行するためステップS103の処理に移
行する。
In step S102, the constant length setting ON / OFF flag determining section 52 of the CPU 41 causes the RAM 44 to operate.
Whether or not the content stored in the fixed length setting ON / OFF flag storage area 44a is “1”, that is, the fixed length setting ON / O
It is determined whether the FF flag is ON. Fixed length setting ON / OFF flag determination unit 52 sets fixed length setting O
If it is determined that the N / OFF flag is ON (step S102: YES), step S106 for executing a process for storing the data string corresponding to the record in the tape of a predetermined size. Process shifts to. On the other hand, the fixed length setting ON / OFF flag determination unit 52
When it is determined that the fixed length setting ON / OFF flag is not turned on, that is, the fixed length setting ON / OFF flag is turned off (step S102: N
O), the process proceeds to step S103 in order to execute the process for shortening the tape length of the tape used for printing.

【0098】ステップS103において、CPU41の
画像形成判断部57bは、データ列の中から一つの項目
を取り出し、取り出した項目に付与された重要度がRA
M44の閾値記憶領域44dに記憶された閾値以上であ
るか否かを判定する(取り出した項目をテープに印刷す
るデータ列に含めるか否かを判定する)。そして、画像
形成判断部57bによって項目の重要度が閾値以上であ
ると判定された場合には(ステップS103:YE
S)、ステップS105の処理に移行する。一方、画像
形成判断部57bによって項目の重要度が閾値以上でな
いと判定された場合には(ステップS103:NO)、
ステップS104の処理に移行する。
In step S103, the image formation determination unit 57b of the CPU 41 extracts one item from the data string, and the importance assigned to the extracted item is RA.
It is determined whether or not the threshold value is equal to or larger than the threshold value stored in the threshold value storage area 44d of M44 (whether or not the extracted item is included in the data string to be printed on the tape). When the image formation determination unit 57b determines that the importance of the item is equal to or higher than the threshold value (step S103: YE
S) and the process proceeds to step S105. On the other hand, when the image formation determining unit 57b determines that the importance of the item is not equal to or more than the threshold value (step S103: NO),
The process proceeds to step S104.

【0099】図14のフローチャートの説明に戻って、
ステップS104において、CPU41のデータ列構成
部57cは、ステップS103で重要度が閾値未満と判
定された項目をテープに印刷するデータ列から削除す
る。
Returning to the explanation of the flow chart of FIG.
In step S104, the data string configuration unit 57c of the CPU 41 deletes the item whose importance is determined to be less than the threshold value in step S103 from the data string to be printed on the tape.

【0100】ステップS105において、CPU41の
レイアウト変更部57は、データ列を構成する全ての項
目に対してステップS103の処理を行ったか否かを判
定する。レイアウト変更部57によって全ての項目に対
してステップS103の処理が行われたと判定された場
合には(ステップS105:YES)、ステップS11
2の処理に移行する。一方、レイアウト変更部57によ
って全ての項目に対してステップS103の処理が行わ
れていないと判定された場合には(ステップS105:
NO)、ステップS103の処理に戻り、再度ステップ
S103、ステップS104及びステップS105の処
理が繰り返される。
In step S105, the layout changing section 57 of the CPU 41 determines whether or not the process of step S103 has been performed on all the items forming the data string. When the layout changing unit 57 determines that the process of step S103 has been performed on all items (step S105: YES), step S11.
The process shifts to 2. On the other hand, when the layout changing unit 57 determines that the process of step S103 has not been performed for all items (step S105:
NO), the process returns to step S103, and the processes of step S103, step S104 and step S105 are repeated again.

【0101】ステップS105でデータ列を構成する全
ての項目に対してステップS103の処理が行われたと
判定された場合、テープに印刷するデータ列を構成する
項目は全てその重要度がRAM44の閾値記憶領域44
dに記憶された閾値以上のものとなる。
If it is determined in step S105 that the processing in step S103 has been performed on all the items forming the data string, the importance of all the items forming the data string to be printed on the tape is stored in the threshold value of the RAM 44. Area 44
It is equal to or larger than the threshold value stored in d.

【0102】ここで、ステップS103からステップS
105の処理によりデータ列を構成する項目が閾値以上
の項目のみになる例を図15に挙げる。図15(a)に
示すように、“賞味期限”、“加工日”、“イラスト”
の重要度は、夫々、100、50、20であるとする。
また、図15(b)は、ステップS101でユーザがレ
コードを選択するレコード選択画面を示している。ユー
ザはこのレコード選択画面において、カーソル76を所
望のレコードの位置に移動させることによってレコード
の選択を行う。
Here, from step S103 to step S
FIG. 15 shows an example in which the items constituting the data string are only those items which are equal to or more than the threshold value by the processing of 105. As shown in FIG. 15A, "expiration date", "processing date", and "illustration"
The importance of is 100, 50, and 20, respectively.
Further, FIG. 15B shows a record selection screen in which the user selects a record in step S101. The user selects a record by moving the cursor 76 to a desired record position on this record selection screen.

【0103】RAM44の閾値記憶領域44dに記憶さ
れている閾値の値が0の場合、図15(c)に示すよう
に、いずれの項目もデータ列から削除されず、全ての項
目がテープに印刷される。また、閾値記憶領域44dに
記憶されている閾値の値が40の場合、図15(d)に
示すように、閾値未満の重要度の“イラスト”がデータ
列から削除され、“イラスト”を除く“賞味期限”、
“加工日”がテープに印刷される。さらに、閾値記憶領
域44dに記憶されている閾値の値が80の場合、図1
5(e)に示すように、閾値未満の重要度の“イラス
ト”、及び“加工日”がデータ列から削除され、“賞味
期限”のみがテープに印刷される。
If the threshold value stored in the threshold storage area 44d of the RAM 44 is 0, as shown in FIG. 15C, none of the items are deleted from the data string, and all items are printed on the tape. To be done. Further, when the threshold value stored in the threshold storage area 44d is 40, as shown in FIG. 15D, the “illustration” with the degree of importance less than the threshold is deleted from the data string and the “illustration” is excluded. "expiration date",
The "processing date" is printed on the tape. Furthermore, when the threshold value stored in the threshold storage area 44d is 80,
As shown in FIG. 5 (e), the “illustration” and the “processing date” with the importance less than the threshold value are deleted from the data string, and only the “expiration date” is printed on the tape.

【0104】ステップS106において、CPU41の
テープ長方向判定部53aはレコードに対応するデータ
列のデータ列長がRAM44の定長長さ記憶領域44b
に記憶されているテープのテープ長(定長)を超えてい
るか否かを判定する。テープ長長さ方向判定部53aに
よってデータ列長が定長を超えていると判定された場合
には(ステップS106:YES)、ステップS107
の処理に移行する。一方、テープ長長さ方向判定部53
aによってデータ列長が定長を超えていないと判定され
た場合には(ステップS106:NO)、既にテープに
印刷するデータ列が予め定められたサイズのテープ内に
収まるため、定長オーバ回避処理を実行する必要がな
く、ステップS112の処理に移行する。
In step S106, the tape length direction determination unit 53a of the CPU 41 determines that the data string length of the data string corresponding to the record is the constant length storage area 44b of the RAM 44.
It is determined whether or not the tape length (fixed length) of the tape stored in is exceeded. When the tape length length direction determination unit 53a determines that the data string length exceeds the fixed length (step S106: YES), step S107.
Process shifts to. On the other hand, the tape length / length direction determination unit 53
When it is determined by a that the data string length does not exceed the fixed length (step S106: NO), the data string to be printed on the tape already fits in the tape of a predetermined size, so that the fixed length overshoot is avoided. It is not necessary to execute the process, and the process proceeds to step S112.

【0105】ステップS107において、CPU41は
定長オーバ回避処理(図16参照)を実行する。
In step S107, the CPU 41 executes a fixed length overshooting process (see FIG. 16).

【0106】ステップS108において、CPU41の
テープ長方向判定部53aは、ステップS107で定長
オーバ回避処理が実行された後のデータ列のデータ列長
がRAM44の定長長さ記憶領域44bに記憶されてい
るテープのテープ長(定長)を超えているか否かを判定
する。テープ長方向判定部53aによってデータ列長が
定長を超えていると判定された場合には(ステップS1
08:YES)、ステップS111の処理を実行する。
一方、テープ長方向判定部53aによってデータ列長が
定長を超えていないと判定された場合には(ステップS
108:NO)、ステップS109の処理に移行する。
In step S108, the tape length direction determination unit 53a of the CPU 41 stores the data string length of the data string after the fixed length overshooting process is executed in step S107 in the fixed length storage area 44b of the RAM 44. It is determined whether or not it exceeds the tape length (fixed length) of the existing tape. When the tape length direction determination unit 53a determines that the data string length exceeds the fixed length (step S1
08: YES), and the process of step S111 is executed.
On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S
108: NO), and proceeds to the process of step S109.

【0107】ステップS109においてCPU41は、
液晶ディスプレイ5にステップS107で定長オーバ回
避処理が実行された後のデータ列をイメージで表示する
(印刷プレビュー)とともに、印刷を実行するか否かを
確認するメッセージ(印刷実行確認メッセージ)を表示
する。
In step S109, the CPU 41
On the liquid crystal display 5, the data string after the fixed length overshooting process is executed in step S107 is displayed as an image (print preview), and a message confirming whether to execute printing (print execution confirmation message) is displayed. To do.

【0108】ステップS110において、CPU41
は、ユーザによって印刷が指示されたか否かをマウス7
からの座標信号やキーボード6からの押下信号に基づい
て判定する。CPU41によってユーザが印刷を指示し
たと判定された場合には(ステップS110:YE
S)、ステップS112の処理に移行する。一方、CP
U41によってユーザが印刷を指示していないと判定さ
れた場合には(ステップS110:NO)、ステップS
113の処理に移行する。
In step S110, the CPU 41
The mouse 7 indicates whether printing has been instructed by the user.
Is determined based on the coordinate signal from the keypad and the pressing signal from the keyboard 6. When the CPU 41 determines that the user has instructed printing (step S110: YE
S) and the process proceeds to step S112. On the other hand, CP
If it is determined by U41 that the user has not instructed printing (step S110: NO), step S
The processing moves to 113.

【0109】尚、ユーザが印刷を指示したか否かの判定
は、例えば、液晶ディスプレイ5にユーザが印刷を指示
する際にクリックする印刷ボタンを表示し、この印刷ボ
タンがユーザによってマウス7でクリックされたか否か
をマウス7からの座標信号に基づいて判定することによ
り実現できる。
Whether or not the user has instructed to print is determined by, for example, displaying a print button to be clicked when the user instructs to print on the liquid crystal display 5, and clicking this print button with the mouse 7 by the user. It can be realized by determining whether or not it has been performed based on the coordinate signal from the mouse 7.

【0110】ステップS111において、CPU41
は、ステップS107で定長オーバ回避処理を実行して
もデータ列を予め定められたサイズのテープ内に収める
ことができなかったため、ユーザにデータ列を予め定め
られたサイズのテープ内に収めることに失敗したことを
通知するエラーメッセージを液晶ディスプレイ5に表示
する(定長オーバ失敗エラーのメッセージの表示)。
In step S111, the CPU 41
Since the data string could not be stored in the tape of the predetermined size even if the fixed length over-avoidance process was executed in step S107, the user should store the data string in the tape of the predetermined size. A liquid crystal display 5 displays an error message notifying that it has failed (display of error message of fixed length over-failure).

【0111】ステップS112において、CPU41
は、データ列がテープに印刷されるように印刷装置2を
制御する。これによって、データ列の印刷が行われたラ
ベルが作製される。
In step S112, the CPU 41
Controls the printing device 2 so that the data string is printed on the tape. As a result, a label on which the data string is printed is produced.

【0112】ステップS113において、CPU41
は、ステップS101でユーザによって選択されたレコ
ードの全てに対して印刷処理(ステップS102からス
テップS112の処理)が試みられたか否かを判定す
る。CPU41によって全てのレコードに対して印刷処
理が試みられていないと判定された場合には(ステップ
S113:NO)、まだ印刷処理が試みられていないレ
コードを取り出して、ステップS102の処理に戻り、
取り出したレコードに対してステップS102からステ
ップS112の処理を実行する。一方、CPU41によ
って全てのレコードに対して印刷処理が試みられたと判
定された場合には(ステップS113:YES)、ユー
ザが選択したレコードの全てに対して印刷処理が試みら
れたのでデータ列編集処理を終了する。
In step S113, the CPU 41
Determines whether or not the print processing (the processing from step S102 to step S112) has been attempted for all the records selected by the user in step S101. When the CPU 41 determines that the print processing has not been attempted for all the records (step S113: NO), the record for which the print processing has not been attempted is taken out, and the processing returns to step S102.
The processing from step S102 to step S112 is executed on the retrieved record. On the other hand, when the CPU 41 determines that the print processing has been attempted for all the records (step S113: YES), the print processing has been attempted for all the records selected by the user, and thus the data string editing processing is performed. To finish.

【0113】次に、図14のフローチャート中の定長オ
ーバ回避処理について図16を参照しつつ説明する。図
16は、定長オーバ回避処理におけるCPUの動作手順
を説明するためのフローチャートである。
Next, the fixed length over avoidance processing in the flowchart of FIG. 14 will be described with reference to FIG. FIG. 16 is a flowchart for explaining the operation procedure of the CPU in the constant length overshooting process.

【0114】ステップS201において、CPU41の
定長オーバ回避方法選定部54は、RAM44の定長オ
ーバ回避方法記憶領域44eに記憶されている情報に基
づいて、優先順位の一番高い定長オーバ回避方法を選択
する。
In step S201, the fixed length overrun avoiding method selection unit 54 of the CPU 41 determines the fixed length overrun avoiding method having the highest priority based on the information stored in the fixed length overrun avoiding method storage area 44e of the RAM 44. Select.

【0115】ステップS202において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS202
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“重要度の低いものをド
ロップ”する定長オーバ回避方法であるか否かを判定す
る。定長オーバ回避方法判定部55によって“重要度の
低いものをドロップ”する定長オーバ回避方法であると
判定された場合には(ステップS202:YES)、ス
テップS203の処理に移行する。一方、定長オーバ回
避方法判定部55によって“重要度の低いものをドロッ
プ”する定長オーバ回避方法でないと判定された場合に
は(ステップS202:NO)、ステップS204の処
理に移行する。
In step S202, the fixed length overshooting method determination unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S202.
After performing the processing of (1), it is determined whether or not the fixed length over avoidance method selected in step S220, which will be described later, is a fixed length over avoidance method of "dropping a less important one". When the fixed length over avoidance method determination unit 55 determines that the fixed length over avoidance method is to “drop a less important one” (step S202: YES), the process proceeds to step S203. On the other hand, when the fixed length over avoidance method determination unit 55 determines that the method is not the fixed length over avoidance method of “dropping a less important one” (step S202: NO), the process proceeds to step S204.

【0116】ステップS203において、CPU41
は、“重要度を低いものをドロップ”する定長オーバ回
避方法(図17参照)を実行し、ステップS218の処
理に移行する。
In step S203, the CPU 41
Executes the fixed length over avoidance method (see FIG. 17) of “dropping one with low importance”, and shifts to the processing of step S218.

【0117】ステップS204において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS204
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“全体のサイズを小さく
する”定長オーバ回避方法であるか否かを判定する。定
長オーバ回避方法判定部55によって“全体のサイズを
小さくする”定長オーバ回避方法であると判定された場
合には(ステップS204:YES)、ステップS20
5の処理に移行する。一方、定長オーバ回避方法判定部
55によって“全体のサイズを小さくする”定長オーバ
回避方法でないと判定された場合には(ステップS20
4:NO)、ステップS206の処理に移行する。
In step S204, the fixed length overshooting method determination unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S204
After performing the processing of (1), it is determined whether or not the fixed length over avoidance method selected in step S220, which will be described later, is the “reduced overall size” fixed length over avoidance method. When it is determined by the fixed length over avoidance method determination unit 55 that the “overall size reduction” is the fixed length over avoidance method (step S204: YES), step S20.
The process moves to step 5. On the other hand, when it is determined by the fixed length over avoidance method determination unit 55 that the fixed length over avoidance method is “to reduce the overall size” (step S20).
4: NO), and the process proceeds to step S206.

【0118】ステップS205において、CPU41
は、“全体のサイズを小さくする”定長オーバ回避方法
(図18参照)を実行し、ステップS218の処理に移
行する。
In step S205, the CPU 41
Executes the constant length overshooting method of "reducing the overall size" (see FIG. 18), and shifts to the processing of step S218.

【0119】ステップS206において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS206
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“重要度の低いものを複
数行にする”定長オーバ回避方法であるか否かを判定す
る。定長オーバ回避方法判定部55によって“重要度の
低いものを複数行にする”定長オーバ回避方法であると
判定された場合には(ステップS206:YES)、ス
テップS207の処理に移行する。一方、定長オーバ回
避方法判定部55によって“重要度の低いものを複数行
にする”定長オーバ回避方法でないと判定された場合に
は(ステップS206:NO)、ステップS208の処
理に移行する。
In step S206, the fixed length overshooting method determination unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S206.
After performing the processing of (1), it is determined whether or not the fixed length over avoidance method selected in step S220 described later is the “fixed length over avoidance method in which a less important item is made into a plurality of lines”. When it is determined by the fixed length over avoidance method determination unit 55 that the fixed length over avoidance method is “make less important ones into a plurality of lines” (step S206: YES), the process proceeds to step S207. On the other hand, when it is determined by the fixed length over avoidance method determination unit 55 that the fixed length over avoidance method does not "make less important ones into a plurality of lines" (step S206: NO), the process proceeds to step S208. .

【0120】ステップS207において、CPU41
は、“重要度の低いものを複数行にする”定長オーバ回
避方法(図19参照)を実行し、ステップS218の処
理に移行する。
In step S207, the CPU 41
Executes the fixed length over avoidance method (refer to FIG. 19) of “making less important ones into plural lines”, and shifts to the processing of step S218.

【0121】ステップS208において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS208
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“全体を複数行にして重
要度の低いものは下の方の行で、サイズを小さくする”
定長オーバ回避方法であるか否かを判定する。定長オー
バ回避方法判定部55によって“全体を複数行にして重
要度の低いものは下の方の行で、サイズを小さくする”
定長オーバ回避方法であると判定された場合には(ステ
ップS208:YES)、ステップS209の処理に移
行する。一方、定長オーバ回避方法判定部55によって
“全体を複数行にして重要度の低いものは下の方の行
で、サイズを小さくする”定長オーバ回避方法でないと
判定された場合には(ステップS208:NO)、ステ
ップS210の処理に移行する。
In step S208, the fixed length overshooting method determining unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S208.
After performing the processing of (1), the fixed length over avoidance method selected in step S220, which will be described later, is “to reduce the size in the lower row if the whole is made into a plurality of rows and the degree of importance is lower”.
It is determined whether the method is a method of avoiding the constant length over. By the fixed length over avoidance method determination unit 55, "the entire line is made into a plurality of lines and the one having a lower importance is the lower line and the size is reduced"
When it is determined that the method for avoiding the constant length is exceeded (step S208: YES), the process proceeds to step S209. On the other hand, when it is determined by the fixed length over avoidance method determination unit 55 that the fixed length over avoidance method is not “the entire line is made up of a plurality of lines and the one having lower importance is the lower line and the size is reduced” ( (Step S208: NO), the process proceeds to step S210.

【0122】ステップS209において、CPU41
は、“全体を複数行にして重要度の低いものは下の方の
行で、サイズを小さくする”定長オーバ回避方法(図2
0参照)を実行し、ステップS218の処理に移行す
る。
In step S209, the CPU 41
Is a method of avoiding a fixed length over ("Let the whole line be multiple lines and the one with less importance is the lower line and the size is smaller" (Fig. 2
0 (see 0) is executed, and the process proceeds to step S218.

【0123】ステップS210において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS210
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“項目間のスペースをつ
める”定長オーバ回避方法であるか否かを判定する。定
長オーバ回避方法判定部55によって“項目間のスペー
スをつめる”定長オーバ回避方法であると判定された場
合には(ステップS210:YES)、ステップS21
1の処理に移行する。一方、定長オーバ回避方法判定部
55によって“項目間のスペースをつめる”定長オーバ
回避方法でないと判定された場合には(ステップS21
0:NO)、ステップS212の処理に移行する。
In step S210, the fixed length overshooting method determination unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S210.
After performing the processing of step S <b> 220, it is determined whether the fixed length over avoidance method selected in step S <b> 220, which will be described later, is a “closed space between items” fixed length over avoidance method. When the fixed length over avoidance method determination unit 55 determines that the fixed length over avoidance method is to "fill the space between items" (step S210: YES), step S21.
The processing shifts to 1. On the other hand, when it is determined by the fixed length over avoidance method determination unit 55 that the fixed length over avoidance method of "filling the space between items" is not performed (step S21).
0: NO), the process proceeds to step S212.

【0124】ステップS211において、CPU41
は、“項目間のスペースをつめる”定長オーバ回避方法
(図22参照)を実行し、ステップS218の処理に移
行する。
In step S211, the CPU 41
Executes the fixed length over avoidance method of "filling the space between items" (see FIG. 22) and shifts to the processing of step S218.

【0125】ステップS212において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS212
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“バーコードのフォーマ
ットサイズを小さくする”定長オーバ回避方法であるか
否かを判定する。定長オーバ回避方法判定部55によっ
て“バーコードのフォーマットサイズを小さくする”定
長オーバ回避方法であると判定された場合には(ステッ
プS212:YES)、ステップS213の処理に移行
する。一方、定長オーバ回避方法判定部55によって
“バーコードのフォーマットサイズを小さくする”定長
オーバ回避方法でないと判定された場合には(ステップ
S212:NO)、ステップS214の処理に移行す
る。
In step S212, the fixed length overshooting method determination unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S212.
After performing the processing of (1), it is determined whether the fixed length over avoidance method selected in step S220, which will be described later, is the “fixed length over avoidance method of reducing the format size of the barcode”. When it is determined by the fixed length over avoidance method determination unit 55 that the “reduced barcode format size” is the fixed length over avoidance method (step S212: YES), the process proceeds to step S213. On the other hand, when the fixed length over avoidance method determination unit 55 determines that it is not the “reduce the barcode format size” fixed length over avoidance method (step S212: NO), the process proceeds to step S214.

【0126】ステップS213において、CPU41
は、“バーコードのフォーマットサイズを小さくする”
定長オーバ回避方法(図23参照)を実行し、ステップ
S218の処理に移行する。
In step S213, the CPU 41
“Reduce the barcode format size”
The fixed length over avoidance method (see FIG. 23) is executed, and the process proceeds to step S218.

【0127】ステップS214において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS214
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“日付のみにする”定長
オーバ回避方法であるか否かを判定する。定長オーバ回
避方法判定部55によって“日付のみにする”定長オー
バ回避方法であると判定された場合には(ステップS2
14:YES)、ステップS215の処理に移行する。
一方、定長オーバ回避方法判定部55によって“日付の
みにする”定長オーバ回避方法でないと判定された場合
には(ステップS214:NO)、ステップS216の
処理に移行する。
In step S214, the fixed length overshooting method determination unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S214.
After performing the processing of (1), it is determined whether the fixed length over avoidance method selected in step S220, which will be described later, is the “only date” fixed length over avoidance method. When it is determined by the fixed length over avoidance method determination unit 55 that the “only date is set” is the fixed length over avoidance method (step S2).
14: YES), and proceeds to the process of step S215.
On the other hand, when the fixed length over avoidance method determination unit 55 determines that it is not the “only date” fixed length over avoidance method (step S214: NO), the process proceeds to step S216.

【0128】ステップS215において、CPU41
は、“日付のみにする”定長オーバ回避方法(図24参
照)を実行し、ステップS218の処理に移行する。
In step S215, the CPU 41
Executes the "only date" avoiding fixed length over (see FIG. 24), and proceeds to the processing of step S218.

【0129】ステップS216において、CPU41の
定長オーバ回避方法判定部55は、ステップS201で
選択された定長オーバ回避方法(一度ステップS216
の処理を実行した後は後述するステップS220で選択
された定長オーバ回避方法)が“左右マージンを減ら
す”定長オーバ回避方法であるか否かを判定する。定長
オーバ回避方法判定部55によって“左右マージンを減
らす”定長オーバ回避方法であると判定された場合には
(ステップS216:YES)、ステップS217の処
理に移行する。一方、定長オーバ回避方法判定部55に
よって“左右マージンを減らす”定長オーバ回避方法で
ないと判定された場合には(ステップS216:N
O)、ステップS218の処理に移行する。
In step S216, the fixed length overshooting method determination unit 55 of the CPU 41 determines the fixed length overrunning method selected in step S201 (once step S216.
After performing the processing of (1), it is determined whether the fixed length over avoidance method selected in step S220, which will be described later, is the “reduced left / right margin” fixed length over avoidance method. When it is determined by the fixed length over avoidance method determination unit 55 that the “reduced left / right margin” is the fixed length over avoidance method (step S216: YES), the process proceeds to step S217. On the other hand, when it is determined by the fixed length over avoidance method determination unit 55 that the fixed length over avoidance method is not to “reduce the left and right margins” (step S216: N
O), the process proceeds to step S218.

【0130】ステップS217において、CPU41
は、“左右マージンを減らす”定長オーバ回避方法(図
25参照)を実行し、ステップS218の処理に移行す
る。
In step S217, the CPU 41
Executes the fixed length over avoidance method of "reducing the left and right margins" (see FIG. 25), and proceeds to the processing of step S218.

【0131】ステップS218において、CPU41の
テープ長方向判定部53aは、ステップS201で選択
された定長オーバ回避方法(一度ステップS218の処
理が実行された後は後述するステップS220で選択さ
れた定長オーバ回避方法)が実行された後のデータ列の
データ列長がRAM44の閾値記憶領域44dに記憶さ
れたテープのテープ長(定長)を超えているか否かを判
定する。テープ長方向判定部53aによってデータ列長
が定長を超えていると判定された場合には(ステップS
218:YES)ステップS219の処理に移行する。
一方、テープ長方向判定部53aによってデータ列長が
定長を超えていないと判定された場合には(ステップS
218:NO)、ステップS201で選択された定長オ
ーバ回避方法(一度ステップS218の処理が実行され
た後は後述するステップS220で選択された定長オー
バ回避方法)を実行することによってデータ列が所定サ
イズのテープ内に収まるようになっているので、定長オ
ーバ回避処理を終了して、図14を参照しつつ説明した
ステップS108の処理へ移行する。
In step S218, the tape length direction determining unit 53a of the CPU 41 determines the fixed length over avoiding method selected in step S201 (after the process of step S218 is once executed, the fixed length selected in step S220 described later is selected). It is determined whether or not the data string length of the data string after execution of the (over-avoidance method) exceeds the tape length (fixed length) of the tape stored in the threshold value storage area 44d of the RAM 44. When the tape length direction determination unit 53a determines that the data string length exceeds the fixed length (step S
218: YES) The process moves to step S219.
On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S
218: NO), the fixed length over avoidance method selected in step S201 (the fixed length over avoidance method selected in step S220, which will be described later, once the processing in step S218 has been executed) is executed, so that the data string is Since it fits within the tape of a predetermined size, the fixed length over avoiding process is ended, and the process proceeds to step S108 described with reference to FIG.

【0132】ステップS219において、CPU41の
定長オーバ回避方法選定部54は、RAM44の定長オ
ーバ回避方法記憶領域44eに記憶されている情報に基
づいて、いままで実行してきた定長オーバ回避方法の次
に優先順位が高い定長オーバ回避方法が設定されている
か否かを判定する。定長オーバ回避方法選定部54によ
っていままで実行してきた定長オーバ回避方法の次に優
先順位が高い定長オーバ回避方法が設定されていると判
定された場合には(ステップS219:YES)、ステ
ップS220の処理に移行する。一方、定長オーバ回避
方法選定部54によっていままで実行してきた定長オー
バ回避方法の次に優先順位が高い定長オーバ回避方法が
設定されていないと判定された場合には(ステップS2
19:NO)、設定された定長オーバ回避方法が全て実
行されたことから、定長オーバ回避処理を終了して、図
14を参照しつつ説明したステップS108の処理に移
行する。
In step S219, the fixed length overrun avoiding method selection unit 54 of the CPU 41 determines the fixed length overrun avoiding method that has been executed so far based on the information stored in the fixed length overrun avoiding method storage area 44e of the RAM 44. Next, it is determined whether or not the fixed length overrun prevention method with the next highest priority is set. If it is determined by the fixed length over avoidance method selection unit 54 that the fixed length over avoidance method having the next highest priority is set next to the fixed length over avoidance method that has been executed so far (step S219: YES), The process proceeds to step S220. On the other hand, if the fixed length over avoidance method selecting unit 54 determines that the fixed length over avoidance method having the next highest priority is not set (step S2).
19: NO), since all the set fixed length over avoiding methods have been executed, the fixed length over avoiding process is ended, and the process proceeds to step S108 described with reference to FIG.

【0133】ステップS220において、CPU41の
定長オーバ回避方法選定部54は、RAM44の定長オ
ーバ回避方法記憶領域44eに記憶されている情報に基
づいて、今まで実行してきた定長オーバ回避方法の次に
優先順位が高い定長オーバ回避方法を選択してステップ
S202の処理に戻り、ステップS202からステップ
S220の一連の処理が繰り返される。
In step S220, the fixed length overrun avoiding method selecting unit 54 of the CPU 41 determines the fixed length overrun avoiding method that has been executed so far based on the information stored in the fixed length overrun avoiding method storage area 44e of the RAM 44. Next, the fixed length over avoidance method having the next highest priority is selected, the process returns to step S202, and the series of processes from step S202 to step S220 is repeated.

【0134】さらに、図16のフローチャート中の“重
要度の低いものをドロップ”する定長オーバ回避方法に
ついて図17を参照しつつ説明する。図17は、“重要
度の低いものをドロップ”する定長オーバ回避方法にお
けるCPUの動作手順を説明するためのフローチャート
である。
Further, a fixed length over avoiding method of "dropping a less important one" in the flowchart of FIG. 16 will be described with reference to FIG. FIG. 17 is a flowchart for explaining the operation procedure of the CPU in the fixed length over avoiding method of “dropping a less important one”.

【0135】ステップS301において、CPU41の
画像形成判断部57bは、RAM44の重要度記憶領域
61b、62b、63b、…に記憶されている重要度に
基づいて、データ列を構成する項目(既にステップS3
01の処理が行われている場合には既に取り出された項
目を除く項目)の中から重要度の一番低い項目を一つ取
り出す。
In step S301, the image formation determining unit 57b of the CPU 41 configures a data string based on the importance levels stored in the importance level storage areas 61b, 62b, 63b, ... Of the RAM 44 (already in step S3).
When the process of 01 is performed, one item with the lowest importance is taken out from the items (excluding the items already taken out).

【0136】ステップS302において、CPU41の
画像形成判断部57bは、ステップS301で取り出し
た項目の重要度がRAM44の閾値記憶領域44dに記
憶されている閾値の値よりも小さいか否かを判定する
(取り出した項目をテープに印刷するデータ列から削除
するか否かを判定する)。画像形成判断部57bによっ
てステップS301で取り出した項目の重要度が閾値よ
り小さいと判定された場合には(ステップS302:Y
ES)、ステップS303の処理に移行する。一方、画
像形成判断部57bによってステップS301で取り出
した項目の重要度が閾値より小さくないと判定された場
合には(ステップS302:NO)、既に閾値より小さ
い重要度の項目がデータ列に存在しなくなっているた
め、“重要度の低いものをドロップ”する定長オーバ回
避方法を終了し、図16を参照しつつ説明したステップ
S218の処理に移行する。
In step S302, the image formation determination unit 57b of the CPU 41 determines whether or not the importance of the item extracted in step S301 is smaller than the threshold value stored in the threshold storage area 44d of the RAM 44 ( Determine whether to remove the retrieved item from the data string to be printed on the tape). When the image formation determination unit 57b determines that the importance of the item extracted in step S301 is smaller than the threshold value (step S302: Y
ES), and the process proceeds to step S303. On the other hand, when the image formation determination unit 57b determines that the importance of the item extracted in step S301 is not smaller than the threshold value (step S302: NO), an item having the importance level smaller than the threshold value already exists in the data string. Since it has disappeared, the fixed length over avoiding method of "dropping a less important one" is ended, and the process proceeds to step S218 described with reference to FIG.

【0137】ステップS303において、CPU41の
データ列構成部57cは、ステップS301で取り出し
た項目をテープに印刷するデータ列の項目からドロップ
(削除)して新たなデータ列を形成する。
In step S303, the data string forming unit 57c of the CPU 41 forms a new data string by dropping (deleting) the item extracted in step S301 from the item of the data string to be printed on the tape.

【0138】ステップS304において、CPU41の
テープ長方向判定部53aは、ステップS301で取り
出した項目がデータ列から削除された後のデータ列のデ
ータ列長がRAM44の定長長さ記憶領域44bに記憶
されているテープのテープ長(定長)を超えているか否
かを判定する。テープ長方向判定部53aによってデー
タ列長が定長を超えていると判定された場合には(ステ
ップS304:YES)、ステップS301の処理に戻
って、ステップS301からステップS304の処理が
繰り返される。一方、テープ長方向判定部53aによっ
てデータ列長が定長を超えていないと判定された場合に
は(ステップS304:NO)、ステップS301で取
り出した項目が削除された後のデータ列が予め定められ
た長さのテープ内に収まるようになっているため、“重
要度の低いものをドロップ”する定長オーバ回避方法を
終了し、図16を参照しつつ説明したステップS218
の処理に移行する。
In step S304, the tape length direction determination unit 53a of the CPU 41 stores the data string length of the data string after the item extracted in step S301 is deleted from the data string in the fixed length storage area 44b of the RAM 44. It is determined whether or not it exceeds the tape length (fixed length) of the tape being recorded. When the tape length direction determination unit 53a determines that the data string length exceeds the fixed length (step S304: YES), the process returns to step S301 and the processes from step S301 to step S304 are repeated. On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S304: NO), the data string after the item taken out in step S301 is deleted is predetermined. Since it fits within the tape of the specified length, the fixed length over avoiding method of "dropping a less important one" is ended, and step S218 described with reference to FIG.
Process shifts to.

【0139】さらに、図16のフローチャート中の“全
体のサイズを小さくする”定長オーバ回避方法について
図18を参照しつつ説明する。図18は、“全体のサイ
ズを小さくする”定長オーバ回避方法におけるCPUの
動作手順を説明するためのフローチャートである。
Further, a method of avoiding the fixed length over in the flow chart of FIG. 16 to "reduce the overall size" will be described with reference to FIG. FIG. 18 is a flow chart for explaining the operation procedure of the CPU in the method of avoiding the fixed length over to “reduce the overall size”.

【0140】ステップS351において、CPU41の
レイアウト変更部57は、データ列のサイズを小さくす
ることができるか否かを判定する。レイアウト変更部5
7によってデータ列のサイズを小さくすることができる
と判定された場合には(ステップS351:YES)、
ステップS352の処理に移行する。一方、レイアウト
変更部57によってデータ列のサイズを小さくすること
ができないと判定された場合には(ステップS351:
NO)、これ以上データ列のサイズを小さくすることが
できないため、“全体のサイズを小さくする”定長オー
バ回避方法を終了し、図16を参照しつつ説明したステ
ップS218の処理に移行する。尚、例えば、現時点の
データ列のサイズが予め決められた最小のサイズより所
定サイズ分(後述するステップS352でデータ列のサ
イズを小さくするサイズ分)大きいか否かによって、デ
ータ列のサイズを小さくすることができるか否かを判定
する。
In step S351, the layout changing section 57 of the CPU 41 determines whether or not the size of the data string can be reduced. Layout change section 5
When it is determined that the size of the data string can be reduced by 7 (step S351: YES),
Then, the process proceeds to step S352. On the other hand, when the layout changing unit 57 determines that the size of the data string cannot be reduced (step S351:
NO), since the size of the data string cannot be further reduced, the method of avoiding the fixed length over which "reduces the overall size" is terminated, and the process proceeds to step S218 described with reference to FIG. Note that, for example, the size of the data string is reduced depending on whether or not the size of the data string at present is larger than a predetermined minimum size by a predetermined size (a size for reducing the size of the data string in step S352 described later). It is determined whether it can be done.

【0141】ステップS352において、CPU41の
レイアウト変更部41は、データ列のサイズを1段階
(所定サイズ)小さくする。
In step S352, the layout changing section 41 of the CPU 41 reduces the size of the data string by one level (predetermined size).

【0142】ステップS353において、CPU41の
テープ長方向判定部53aは、ステップS352でサイ
ズが1段階小さくされた後のデータ列のデータ列長がR
AM44の定長長さ記憶領域44bに記憶されているテ
ープのテープ長(定長)を超えているか否かを判定す
る。テープ長方向判定部53aによってデータ列長が定
長を超えていると判定された場合には(ステップS35
3:YES)、ステップS351の処理に戻って、ステ
ップS351からステップS353の処理が繰り返され
る。一方、テープ長方向判定部53aによってデータ列
長が定長を超えていないと判定された場合には(ステッ
プS353:NO)、ステップS352でサイズが1段
階小さくされた後のデータ列が予め定められた長さのテ
ープ内に収まるようになっているため、“全体のサイズ
を小さくする”定長オーバ回避方法を終了し、図16を
参照しつつ説明したステップS218の処理に移行す
る。
In step S353, the tape length direction determination unit 53a of the CPU 41 determines that the data string length of the data string after the size is reduced by one step in step S352 is R.
It is determined whether the tape length (fixed length) of the tape stored in the fixed length storage area 44b of the AM 44 is exceeded. If the tape length direction determination unit 53a determines that the data string length exceeds the fixed length (step S35).
3: YES), returning to the process of step S351, the processes of steps S351 to S353 are repeated. On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S353: NO), the data string whose size has been reduced by one step in step S352 is predetermined. Since it fits within the tape of the specified length, the method of avoiding the fixed length over to "reduce the overall size" is ended, and the process proceeds to step S218 described with reference to FIG.

【0143】さらに、図16のフローチャート中の“重
要度の低いものを複数行にする”定長オーバ回避方法に
ついて図19を参照しつつ説明する。図19は、“重要
度の低いものを複数行にする”定長オーバ回避方法にお
けるCPUの動作手順を説明するためのフローチャート
である。
Further, a method of avoiding the fixed length over in which "low importance is made into a plurality of lines" in the flowchart of FIG. 16 will be described with reference to FIG. FIG. 19 is a flowchart for explaining the operation procedure of the CPU in the method of avoiding the fixed length over in which “a less important item is made into a plurality of lines”.

【0144】ステップS401において、CPU41の
レイアウト変更部57は、RAM44の重要度記憶領域
61b、62b、63b、…に記憶されている重要度に
基づいて、データ列を構成する項目(既にステップS4
01の処理が行われている場合には既に取り出された項
目を除く項目)の中から重要度の一番低い項目を一つ取
り出す。
In step S401, the layout changing unit 57 of the CPU 41 configures the data string based on the importance levels stored in the importance level storage areas 61b, 62b, 63b, ... Of the RAM 44 (already in step S4).
When the process of 01 is performed, one item with the lowest importance is taken out from the items (excluding the items already taken out).

【0145】ステップS402において、CPU41の
テープ幅方向判定部53bは、ステップS401で取り
出した項目の行数をさらに増やすことができるか否かを
判定する。テープ幅方向判定部53bによってステップ
S401で取り出した項目の行数をさらに増やすことが
できると判定された場合には(ステップS402:YE
S)、ステップS403の処理に移行する。一方、テー
プ幅方向判定部53bによってステップS401で取り
出した項目の行数をさらに増やすことができないと判定
された場合には(ステップS402:NO)、ステップ
S405の処理に移行する。
In step S402, the tape width direction determining portion 53b of the CPU 41 determines whether or not the number of lines of the item taken out in step S401 can be further increased. When it is determined by the tape width direction determination unit 53b that the number of lines of the item extracted in step S401 can be further increased (step S402: YE
S) and the process proceeds to step S403. On the other hand, when the tape width direction determination unit 53b determines that the number of lines of the item taken out in step S401 cannot be further increased (step S402: NO), the process proceeds to step S405.

【0146】ステップS403において、CPU41の
改行部57dは、ステップS401で取り出した項目の
行数を一つ増やす(図26(f)参照)。即ち、ステッ
プS401で取り出した項目の行数が“n”行であった
場合、ステップS403の処理により、その項目の行数
は“n+1”行になる。
In step S403, the line feed portion 57d of the CPU 41 increments the number of lines of the item extracted in step S401 by one (see FIG. 26 (f)). That is, when the number of rows of the item fetched in step S401 is "n" rows, the number of rows of the item becomes "n + 1" rows by the processing of step S403.

【0147】ステップS404において、CPU41の
テープ長方向判定部53aは、ステップS401で取り
出した項目の行数を増やした後のデータ列のデータ列長
がRAM44の定長長さ記憶領域44bに記憶されてい
るテープのテープ長(定長)を超えているか否かを判定
する。テープ長方向判定部53aによってデータ列長が
定長を超えていると判定された場合には(ステップS4
04:YES)、ステップS402の処理に戻って、再
度ステップS401で取り出した項目の行数を増やすこ
とを試みる。一方、テープ長方向判定部53aによって
データ列長が定長を超えていないと判定された場合には
(ステップS404:NO)、ステップS401で取り
出した項目の行数を増やした後のデータ列が予め定めら
れた長さのテープ内に収まるようになっているため、
“重要度の低いものを複数行にする”定長オーバ回避方
法を終了し、図16を参照しつつ説明したステップS2
18の処理に移行する。
In step S404, the tape length direction determination unit 53a of the CPU 41 stores the data string length of the data string after increasing the number of rows of the item extracted in step S401 in the constant length storage area 44b of the RAM 44. It is determined whether or not it exceeds the tape length (fixed length) of the existing tape. When the tape length direction determination unit 53a determines that the data string length exceeds the fixed length (step S4
04: YES), returning to the process of step S402, an attempt is made to increase the number of lines of the item extracted in step S401 again. On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S404: NO), the data string after increasing the number of rows of the item extracted in step S401 is Since it fits in a tape of a predetermined length,
The method of avoiding the fixed length over in which “less important items are made into a plurality of lines” is completed, and step S2 described with reference to FIG.
The process moves to 18.

【0148】ステップS405において、CPU41の
レイアウト変更部57は、データ列を構成する項目のう
ちステップS401で取り出されていない項目があるか
否かを判定する。レイアウト変更部57によって取り出
されていない項目があると判定された場合には(ステッ
プS405:YES)、ステップS401の処理に移行
し、まだ取り出されていない項目のうち最も重要度の低
い項目を取り出すなどステップS401からステップS
405の処理を行う。一方、レイアウト変更部57によ
って取り出されていない項目がないと判定された場合に
は(ステップS405:NO)、データ列を構成する項
目の全てに対して複数行にする処理を試みたことになる
ので、“重要度の低いものを複数行にする”定長オーバ
回避方法を終了して、図16を参照しつつ説明したステ
ップS218の処理に移行する。
In step S405, the layout changing section 57 of the CPU 41 determines whether or not there is an item that has not been taken out in step S401 among the items forming the data string. When the layout changing unit 57 determines that there is an item that has not been extracted (step S405: YES), the process proceeds to step S401, and the item with the lowest importance is extracted from the items that have not been extracted yet. Etc. From step S401 to step S
The processing of 405 is performed. On the other hand, when the layout changing unit 57 determines that there is no item that has not been taken out (step S405: NO), it means that the process for making all the items forming the data string into a plurality of lines is attempted. Therefore, the method of avoiding the fixed length over in which “low importance is set to a plurality of lines” is ended, and the process proceeds to step S218 described with reference to FIG.

【0149】さらに、図16のフローチャート中の“全
体を複数行にして重要の低いものは下の方の行で、サイ
ズを小さくする”定長オーバ回避方法について図20を
参照しつつ説明する。図20は、“全体を複数行にして
重要度の低いものは下の方の行で、サイズを小さくす
る”定長オーバ回避方法におけるCPUの動作手順を説
明するためのフローチャートである。
Further, referring to FIG. 20, a method for avoiding the fixed length over will be described in which "the entire line is a plurality of lines and the less important one is the lower line in the lower line" in the flowchart of FIG. FIG. 20 is a flow chart for explaining the operation procedure of the CPU in the method of avoiding the fixed length over in which “the entire row is a plurality of rows and the less important one is the lower row, and the size is smaller”.

【0150】ステップS451において、CPU41の
レイアウト変更部57は、データ列を構成する項目のテ
ープの長手方向に並んだ項目からなる行(項目の並びの
行)のうち一番長い項目の並びの行を見つける。例え
ば、図21の場合には、項目77c、77d、77eか
らなる行(項目の並びの行)を見つける。
In step S451, the layout changing unit 57 of the CPU 41 causes the line of the longest item among the lines (the line of the line of items) of the items forming the data string to be arranged in the longitudinal direction of the tape. Find out. For example, in the case of FIG. 21, a line (a line of a line of items) including items 77c, 77d, and 77e is found.

【0151】ステップS452において、CPU41の
レイアウト変更部57は、ステップS451で見つけた
項目の並びの行は最も下の行であるか否かを判定する。
レイアウト変更部57によってステップS451で見つ
けた項目の並びの行が最下行であると判定された場合に
は(ステップS452:YES)、ステップS453の
処理に移行する。一方、レイアウト変更部57によって
ステップS451で見つけた項目の並びの行が最下行で
ないと判定された場合には(ステップS452:N
O)、ステップS455の処理に移行する。尚、データ
列が1行の場合には常にステップS453の処理に移行
する。
In step S452, the layout changing section 57 of the CPU 41 determines whether or not the line of the item sequence found in step S451 is the bottom line.
When the layout changing unit 57 determines that the line of the item array found in step S451 is the bottom line (step S452: YES), the process proceeds to step S453. On the other hand, when the layout changing unit 57 determines that the line of the item sequence found in step S451 is not the bottom line (step S452: N
O), and the process proceeds to step S455. When the data string is one row, the process always proceeds to step S453.

【0152】ステップS453において、CPU41の
テープ幅方向判定部53bは、データ列の行を追加でき
るか否か、即ちデータ列の行を増やしてもデータ列がテ
ープのテープ幅内に収まるか否かを判定する。テープ幅
方向判定部53bによってデータ列の行を追加できると
判定された場合には(ステップS453:YES)、ス
テップS454の処理に移行する。一方、テープ幅方向
判定部53bによってデータ列の行を追加できないと判
定された場合には(ステップS453:NO)、データ
列の行をこれ以上追加する処理を行えばデータ列がテー
プのテープ幅をはみ出すことになるので、“全体の行を
複数行にして重要度の低いものは下の方の行で、サイズ
を小さくする”定長オーバ回避方法を終了して、図16
を参照しつつ説明したステップS218の処理に移行す
る。
In step S453, the tape width direction determination unit 53b of the CPU 41 determines whether or not a row of data columns can be added, that is, whether or not the number of data rows can be increased and the data rows can fit within the tape width of the tape. To judge. When the tape width direction determination unit 53b determines that the row of the data string can be added (step S453: YES), the process proceeds to step S454. On the other hand, when the tape width direction determination unit 53b determines that the row of the data string cannot be added (step S453: NO), if the process of adding the row of the data string further is performed, the data string has the tape width of the tape. Therefore, the method of avoiding the fixed length over is ended, and "the whole line is made up of a plurality of lines and the one having a lower degree of importance is the lower line and the size is reduced".
The process shifts to the process of step S218 described with reference to.

【0153】ステップS454において、CPU41の
データ列配置部57eは、データ列の行を1行追加し、
ステップS455の処理に移行する。
In step S454, the data string arranging unit 57e of the CPU 41 adds one row of the data string,
Then, the process proceeds to step S455.

【0154】ステップS455において、CPU41の
レイアウト変更部57は、ステップS451で見つけた
項目の並び行に含まれる項目の中から、RAM44の重
要度記憶領域61b、62b、63b、…に記憶されて
いる重要度に基づいて重要度の最も低いものを一つ取り
出す。
In step S455, the layout changing section 57 of the CPU 41 stores the items included in the line of the items found in step S451 in the importance storage areas 61b, 62b, 63b, ... Of the RAM 44. The one with the lowest importance is taken out based on the importance.

【0155】ステップS456において、CPU41の
サイズ縮小部57fは、ステップS455で取り出した
項目のサイズを一つ下の行に割り当てられたサイズに縮
小し、データ列配置部57eはサイズを縮小した項目を
一つ下の行に移動させる。
In step S456, the size reduction unit 57f of the CPU 41 reduces the size of the item fetched in step S455 to the size assigned to the row below, and the data string arrangement unit 57e reduces the size of the item. Move down one row.

【0156】ステップS457において、CPU41の
テープ長方向判定部53aは、ステップS456の処理
が行われた後のデータ列のデータ列長がRAM44の定
長長さ記憶領域44bに記憶されているテープのテープ
長(定長)を超えているか否かを判定する。テープ長方
向判定部53aによってデータ列長が定長を超えている
と判定された場合には(ステップS457:YES)、
ステップS451の処理に戻って、ステップS451か
らステップS457の処理が繰り返される。一方、テー
プ長方向判定部53aによってデータ列長が定長を超え
ていないと判定された場合には(ステップS457:N
O)、ステップS456の処理が行われた後のデータ列
が予め定められた長さのテープ内に収まるようになって
いるため、“全体を複数行にして重要度の低いものは下
の方の行で、サイズを小さくする”定長オーバ回避方法
を終了し、図16を参照しつつ説明したステップS21
8の処理に移行する。
In step S457, the tape length direction determination unit 53a of the CPU 41 determines that the data string length of the data string after the process of step S456 is stored in the fixed length storage area 44b of the RAM 44. It is determined whether the tape length (fixed length) is exceeded. When the tape length direction determination unit 53a determines that the data string length exceeds the fixed length (step S457: YES),
Returning to the processing of step S451, the processing of steps S451 to S457 is repeated. On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S457: N
O), the data string after the process of step S456 is to be stored in the tape having a predetermined length. Line, the size is reduced ", the fixed length over avoiding method is completed, and step S21 described with reference to FIG.
The process shifts to the process of 8.

【0157】ここで、図20を参照しつつ説明した“全
体を複数行にして重要度の低いものは下の方の行で、サ
イズを小さくする”定長オーバ回避方法の例について図
21を参照しつつ説明する。但し、図21は、“全体を
複数行にして重要度の低いものは下の方の行で、サイズ
を小さくする”定長オーバ回避方法の例を示す図であ
る。尚、図中、テープ8aはRAM44の定長長さ記憶
領域44bに記憶されているテープのテープ長に対応し
たものであり、項目77a、77b、77c、77d、
77e、77f、77gは、夫々、テープ8aのサイズ
に対する相対的なサイズで表しているとする。
Here, referring to FIG. 20, an example of a method of avoiding the fixed length over is described in which “the whole line is made up of a plurality of lines and the one having a lower importance is the lower line and the size is reduced” described with reference to FIG. The description will be made with reference. However, FIG. 21 is a diagram showing an example of a fixed length over avoidance method in which "the entire line is a plurality of lines and the one having a low importance is the lower line and the size is reduced". In the figure, the tape 8a corresponds to the tape length of the tape stored in the fixed length storage area 44b of the RAM 44, and items 77a, 77b, 77c, 77d,
It is assumed that 77e, 77f and 77g are represented by relative sizes to the size of the tape 8a.

【0158】図21(a)に示すような状態にデータ列
がなっているとすると、項目77c、77d、77eか
らなる項目の並びの行が取り出され(ステップS45
1)、最下行でないと判定される(ステップS45
2)。そして、項目77c、77d、77eの中で項目
77eが最も重要度が低いとすると、項目77eが取り
出され(ステップS455)、項目77eのサイズを小
さくして項目77f、77gからなる項目の並びの行に
移動させる(ステップS456)。これによって、図2
1(a)に示すデータ列が図21(b)に示すデータ列
となる。
Assuming that the data string is in the state as shown in FIG. 21A, the row of the item array consisting of the items 77c, 77d and 77e is taken out (step S45).
1), it is determined that it is not the bottom line (step S45)
2). Then, if the item 77e has the lowest degree of importance among the items 77c, 77d, and 77e, the item 77e is extracted (step S455), the size of the item 77e is reduced, and the items 77f and 77g are arranged in a row. The line is moved (step S456). As a result, FIG.
The data string shown in 1 (a) becomes the data string shown in FIG. 21 (b).

【0159】図21(b)に示すデータ列は予め定めら
れたテープ長のテープ内に収まらないと判定されて(ス
テップS457)、項目77e、77f、77gからな
る項目の並びの行が取り出される(ステップS45
1)。そして、項目77e、77f、77gからなる項
目の並びの行は最下行であると判定される(ステップS
452)。さらに、行が追加できる状態となっているも
のとすると、行を追加できると判定されて(ステップS
453)、データ列の行を1行追加する(ステップS4
54)。そして、項目77e、77f、77gの中で項
目77gが最も重要度が低いとすると、項目77gが取
り出され(ステップS455)、項目77gのサイズを
小さくして新たに追加した行に移動させる(ステップS
456)。これによって、図21(b)に示すデータ列
が図21(c)に示すデータ列となる。
It is determined that the data string shown in FIG. 21 (b) does not fit in the tape having the predetermined tape length (step S457), and the row of the item array consisting of the items 77e, 77f, 77g is taken out. (Step S45
1). Then, it is determined that the line of the line of items including the items 77e, 77f, and 77g is the bottom line (step S
452). Further, assuming that the line can be added, it is determined that the line can be added (step S
453), and one row of the data column is added (step S4)
54). Then, if the item 77g is the least important among the items 77e, 77f, and 77g, the item 77g is taken out (step S455), and the size of the item 77g is reduced and moved to the newly added row (step S455). S
456). As a result, the data string shown in FIG. 21 (b) becomes the data string shown in FIG. 21 (c).

【0160】図21(c)に示すデータ列は予め定めら
れたテープ長のテープ内に収まると判定されて(ステッ
プS457)、“全体を複数行にして、重要度の低いも
のは下の方の行で、サイズを小さくする”定長オーバ回
避方法を終了する。
It is determined that the data string shown in FIG. 21 (c) fits within the tape having a predetermined tape length (step S457), and "the whole is a plurality of lines, the one having the lower importance is the lower one". End the "fixed length over avoidance method" to reduce the size.

【0161】さらに、図16のフローチャート中の“項
目間のスペースをつめる”定長オーバ回避方法について
図22を参照しつつ説明する。図22は、“項目間のス
ペースをつめる”定長オーバ回避方法におけるCPUの
動作手順を説明するためのフローチャートである。
Further, a method of avoiding the fixed length over in which the space between items is filled in the flowchart of FIG. 16 will be described with reference to FIG. FIG. 22 is a flowchart for explaining the operation procedure of the CPU in the method of avoiding the fixed length over in which the space between items is reduced.

【0162】ステップS501において、CPU51の
レイアウト変更部57は、データ列を構成する項目間の
スペースを減らすことができるか否かを判定する。レイ
アウト変更部57によってデータ列を構成する項目間の
スペースを減らすことができると判定された場合には
(ステップS501:YES)、ステップS502の処
理に移行する。一方、レイアウト変更部57によってデ
ータ列を構成する項目間のスペースを減らすことができ
ないと判定された場合には(ステップS501:N
O)、データ列を構成する項目間のスペースをこれ以上
狭めることができないため、“項目間のスペースをつめ
る”定長オーバ回避方法を終了し、図16を参照しつつ
説明したステップS218の処理に移行する。尚、例え
ば、レイアウト変更部57は、データ列を構成する項目
間の距離がある値以上(予め定められた最小の項目間の
距離に、後述するステップS502で項目間のスペース
の量を減らす値を加算した値以上)であるか否かによ
り、項目間のスペースを減らすことができるか否かを判
定する。
In step S501, the layout changing section 57 of the CPU 51 determines whether or not the space between items forming the data string can be reduced. When the layout changing unit 57 determines that the space between the items forming the data string can be reduced (step S501: YES), the process proceeds to step S502. On the other hand, when the layout changing unit 57 determines that the space between the items forming the data string cannot be reduced (step S501: N
O), since the space between the items forming the data string cannot be narrowed any more, the "close the space between items" avoiding method of fixed length over is ended, and the process of step S218 described with reference to FIG. Move to. Note that, for example, the layout changing unit 57 is configured such that the distance between the items forming the data string is a certain value or more (a value that reduces the amount of space between items in step S502 described later to a predetermined minimum distance between items). It is determined whether or not the space between items can be reduced depending on whether or not the value is greater than or equal to

【0163】ステップS502において、CPU41の
レイアウト変更部57は、データ列を構成する項目間の
スペースを予め定められた一定量減らす。
In step S502, the layout changing section 57 of the CPU 41 reduces the space between the items forming the data string by a predetermined amount.

【0164】ステップS503において、CPU41の
テープ長方向判定部53aは、ステップS502でデー
タ列を構成する項目間のスペースが一定量減らされた後
のデータ列のデータ列長がRAM44の定長長さ記憶領
域44bに記憶されているテープのテープ長(定長)を
超えているか否かを判定する。テープ長方向判定部53
aによってデータ列長が定長を超えていると判定された
場合には(ステップS503:YES)、ステップS5
01の処理に戻って、ステップS501からステップS
503の処理が繰り返される。一方、テープ長方向判定
部53aによってデータ列長が定長を超えていないと判
定された場合には(ステップS503:NO)、ステッ
プS502で項目間のスペースが一定量減らされた後の
データ列が予め定められた長さのテープ内に収まるよう
になっているため、“項目間のスペースをつめる”定長
オーバ回避方法を終了し、図16を参照しつつ説明した
ステップS218の処理に移行する。
In step S503, the tape length direction determination unit 53a of the CPU 41 determines that the data string length of the data string after the space between the items forming the data string is reduced by a certain amount in step S502 is the constant length of the RAM 44. It is determined whether the tape length (fixed length) of the tape stored in the storage area 44b is exceeded. Tape length direction determination unit 53
When it is determined by a that the data string length exceeds the fixed length (step S503: YES), step S5
Returning to the processing of 01, from step S501 to step S501
The process of 503 is repeated. On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S503: NO), the data string after the space between items is reduced by a certain amount in step S502. Is to be accommodated in the tape having a predetermined length, the method of avoiding the fixed length over of "filling the space between items" is ended, and the process proceeds to step S218 described with reference to FIG. To do.

【0165】さらに、図16のフローチャート中の“バ
ーコードのフォーマットサイズを小さくする”定長オー
バ回避方法について図23を参照しつつ説明する。図2
3は、“バーコードのフォーマットサイズを小さくす
る”定長オーバ回避方法におけるCPUの動作手順を説
明するためのフローチャートである。
Further, a method of avoiding the fixed length over in which the format size of the bar code is reduced in the flowchart of FIG. 16 will be described with reference to FIG. Figure 2
FIG. 3 is a flow chart for explaining the operation procedure of the CPU in the method of avoiding the fixed length over to “reduce the format size of the barcode”.

【0166】ステップS551において、CPU41の
レイアウト変更部57は、データ列を構成する項目の中
にバーコードが含まれているか否かを判定する。レイア
ウト変更部57によってデータ列を構成する項目の中に
バーコードが含まれていると判定された場合には(ステ
ップS551:YES)、ステップS552の処理に移
行する。一方、レイアウト変更部57によってバーコー
ドが含まれていないと判定された場合には(ステップS
551:NO)、“バーコードのフォーマットサイズを
小さくする”定長オーバ回避方法を終了し、図16を参
照しつつ説明したステップS218の処理に移行する。
In step S551, the layout changing section 57 of the CPU 41 determines whether or not the item forming the data string includes a bar code. When the layout changing unit 57 determines that the bar code is included in the items forming the data string (step S551: YES), the process proceeds to step S552. On the other hand, if the layout changing unit 57 determines that the barcode is not included (step S
551: NO), the fixed length over avoidance method of “reducing the barcode format size” is ended, and the process proceeds to step S218 described with reference to FIG.

【0167】ステップS552において、CPU41の
レイアウト変更部57は、データ列を構成する項目から
バーコードに関する項目を取り出し、取り出したバーコ
ードのフォーマットサイズを予め定められたサイズに変
更して、バーコードのフォーマットサイズを小さくす
る。これで“バーコードのフォーマットサイズを小さく
する”定長オーバ回避方法が終了するので、図16を参
照しつつ説明したステップS218の処理に移行する。
In step S552, the layout changing unit 57 of the CPU 41 takes out the item relating to the barcode from the items forming the data string, changes the format size of the fetched barcode to a predetermined size, and changes the format of the barcode. Reduce the format size. This completes the method of avoiding the fixed length over to "reduce the format size of the barcode", and the process shifts to step S218 described with reference to FIG.

【0168】さらに、図16のフローチャート中の“日
付のみにする”定長オーバ回避方法について図24を参
照しつつ説明する。図24は、“日付のみにする”定長
オーバ回避方法におけるCPUの動作手順を説明するた
めのフローチャートである。
Further, a method of avoiding the fixed length over in the flow chart of FIG. 16 will be described with reference to FIG. FIG. 24 is a flow chart for explaining the operation procedure of the CPU in the method of avoiding the fixed length over of “only date”.

【0169】ステップS601において、CPU41の
レイアウト変更部57は、データ列を構成する全ての項
目を列挙したか(全ての項目に対して以下のステップS
602からステップS604の処理を行ったか)否かを
判定する。レイアウト変更部57によってデータ列を構
成する全ての項目が列挙されていないと判定された場合
には(ステップS601:NO)、ステップS602の
処理に移行する。一方、レイアウト変更部57によって
データ列を構成する全ての項目が列挙されたと判定され
た場合には(ステップS601:YES)、データ列を
構成する項目のうち日付を含む項目は既に日付のみにな
っているので、“日付のみにする”定長オーバ回避方法
を終了し、図16を参照しつつ説明したステップS21
8の処理に移行する。
In step S601, the layout changing unit 57 of the CPU 41 has enumerated all the items that make up the data string (for all items, the following step S60).
Whether the processing from step 602 to step S604 has been performed) is determined. When the layout changing unit 57 determines that all the items forming the data string are not listed (step S601: NO), the process proceeds to step S602. On the other hand, when it is determined by the layout changing unit 57 that all the items forming the data string are listed (step S601: YES), the items including the date among the items forming the data string are already only the date. Therefore, the method of avoiding the fixed length over of “making only the date” ends, and step S21 described with reference to FIG.
The process shifts to the process of 8.

【0170】ステップS602において、CPU41の
レイアウト変更部57は、データ列を構成する複数の項
目(既にステップS602の処理が行われている場合に
はその際に取りされた項目を除く)から1の項目を取り
出す。
In step S602, the layout changing section 57 of the CPU 41 selects one from a plurality of items forming the data string (excluding the item taken at that time when the process of step S602 has already been performed). Take out the item.

【0171】ステップS603において、CPU41の
レイアウト変更部57は、ステップS602で取り出し
た項目が日付を含む項目であるか否かを判定する。レイ
アウト変更部57によってステップS602で取り出さ
れた項目が日付を含む項目であると判定された場合には
(ステップS603:YES)、ステップS604の処
理に移行する。一方、レイアウト変更部57によってス
テップS602で取り出された項目が日付を含まない項
目であると判定された場合には(ステップS603:N
O)、ステップS601の処理に戻る。
In step S603, the layout changing section 57 of the CPU 41 determines whether the item retrieved in step S602 is an item including a date. When the layout changing unit 57 determines that the item extracted in step S602 is an item including a date (step S603: YES), the process proceeds to step S604. On the other hand, when the layout changing unit 57 determines that the item extracted in step S602 does not include the date (step S603: N
O), and the process returns to step S601.

【0172】ステップS604において、CPU41の
レイアウト変更部57は、ステップS602で取り出し
た項目に含まれる文字から日付に関する文字以外を削除
して、取り出した項目を日付のみの項目に変更する。そ
して、ステップS601の処理に戻る。
In step S604, the layout changing unit 57 of the CPU 41 deletes the characters included in the item extracted in step S602 other than the characters related to the date, and changes the extracted item into the item including only the date. Then, the process returns to step S601.

【0173】さらに、図16のフローチャート中の“左
右マージンを減らす”定長オーバ回避方法について図2
5を参照しつつ説明する。図25は、“左右マージンを
減らす”定長オーバ回避方法におけるCPUの動作手順
を説明するためのフローチャートである。
Further, FIG. 2 shows a method for avoiding the fixed length over in which "the left and right margins are reduced" in the flowchart of FIG.
This will be described with reference to FIG. FIG. 25 is a flow chart for explaining the operation procedure of the CPU in the method of avoiding the fixed length over to “reduce the left and right margins”.

【0174】ステップS651において、CPU41の
レイアウト変更部57は、データ列をテープに印刷した
場合のテープの長手方向の両端の余白幅(左右のマージ
ン)を減らすことができるか否かを判定する。レイアウ
ト変更部57によって左右のマージンを減らすことがで
きると判定された場合には(ステップS651:YE
S)、ステップS652の処理に移行する。一方、レイ
アウト変更部57によって左右マージンを減らすことが
できないと判定された場合には(ステップS651:N
O)、左右マージンをこれ以上減らすことができないた
め、“左右マージンを減らす”定長オーバ回避方法を終
了し、図16を参照しつつ説明したステップS218の
処理に移行する。尚、例えば、レイアウト変更部57
は、左右マージンの値がある値以上(予め定められた最
小の左右マージン幅の値に、後述するステップS652
で左右マージンを減らす値を加算した値以上)であるか
否かにより、左右マージンを減らすことができるか否か
を判定する。
In step S651, the layout changing unit 57 of the CPU 41 determines whether or not the margin width (left and right margins) at both ends in the longitudinal direction of the tape when the data string is printed on the tape can be reduced. When the layout changing unit 57 determines that the left and right margins can be reduced (step S651: YE
S) and the process proceeds to step S652. On the other hand, when the layout changing unit 57 determines that the left and right margins cannot be reduced (step S651: N
O), because the left and right margins cannot be reduced any further, the method of avoiding the fixed length over to “reduce the left and right margins” is ended, and the process proceeds to step S218 described with reference to FIG. Note that, for example, the layout changing unit 57
Is equal to or greater than a certain value of the left and right margins (the value of the predetermined minimum left and right margin widths is set to the step S652 which will be described later).
It is determined whether or not the left and right margins can be reduced by determining whether or not the left and right margins are added or more).

【0175】ステップS652において、CPU41の
レイアウト変更部57は、左右マージンを予め定められ
た一定量減らす。
In step S652, the layout changing section 57 of the CPU 41 reduces the left and right margins by a predetermined amount.

【0176】ステップS653において、CPU41の
テープ長方向判定部53aは、ステップS652で左右
マージンが一定量減らされた後のデータ列のデータ列長
がRAM44の定長長さ記憶領域44bに記憶されてい
るテープのテープ長(定長)を超えているか否かを判定
する。テープ長方向判定部53aによってデータ列長が
定長を超えていると判定された場合には(ステップS6
53:YES)、ステップS651の処理に戻って、ス
テップS651からステップS653の処理が繰り返さ
れる。一方、テープ長方向判定部53aによってデータ
列長が定長を超えていないと判定された場合には(ステ
ップS653:NO)、ステップS652で左右マージ
ンが一定量減らされた後の文字列が予め定められた長さ
のテープ内に収まるようになっているため、“左右マー
ジンを減らす”定長オーバ回避方法を終了し、図16を
参照しつつ説明したステップS218の処理に移行す
る。
In step S653, the tape length direction determination unit 53a of the CPU 41 stores the data string length of the data string after the left and right margins have been reduced by a certain amount in step S652 in the fixed length storage area 44b of the RAM 44. It is determined whether or not the tape length (fixed length) of the existing tape is exceeded. If the tape length direction determination unit 53a determines that the data string length exceeds the fixed length (step S6).
53: YES), the process returns to step S651, and the processes of steps S651 to S653 are repeated. On the other hand, when the tape length direction determination unit 53a determines that the data string length does not exceed the fixed length (step S653: NO), the character string after the left and right margins have been reduced by a certain amount in step S652 is previously stored. Since it fits in the tape having the defined length, the method of avoiding the fixed length over to "reduce the left and right margins" is ended, and the process proceeds to step S218 described with reference to FIG.

【0177】ここで、上記各定長オーバ回避方法の一例
を図26に示す。但し、図26は、各定長オーバ回避方
法が実行された後のデータ列の例を示す図である。尚、
閾値は“60”が設定されているものとする。
FIG. 26 shows an example of each of the fixed length over avoidance methods. However, FIG. 26 is a diagram showing an example of a data string after each fixed length overshooting method is executed. still,
It is assumed that the threshold is set to "60".

【0178】図26(a)は、データ列のフォーマット
の一例を表しており、図26(a)に示すフォーマット
の各項目の並びは、前から順に、“バーコード”、“加
工日”、“賞味期限”、“品名”となっている。尚、テ
ープ78は、RAM44の定長長さ記憶領域44bに記
憶された値に対応するテープ長のテープを表したもので
あり、また、バーコード78a、加工日78b、賞味期
限78c、品名78dはテープ78に対する相対的な寸
法で表している。
FIG. 26A shows an example of the format of the data string. The arrangement of each item in the format shown in FIG. 26A is "bar code", "processing date", in order from the front. It has "best before date" and "product name". The tape 78 represents a tape having a tape length corresponding to the value stored in the constant length storage area 44b of the RAM 44, and also has a barcode 78a, a processing date 78b, a shelf life 78c, and a product name 78d. Are shown relative to the tape 78.

【0179】図26(b)は、データ列を構成する各項
目の重要度の一例を表しており、図26(b)に示すよ
うに、“バーコード”、“加工日”、“賞味期限”、
“品名”、の夫々に、重要度として、100、50、7
0、30が割り当てられている。
FIG. 26B shows an example of the degree of importance of each item constituting the data string. As shown in FIG. 26B, "bar code", "processing date", and "best before date". ",
100, 50, 7 as the degree of importance for each "product name"
0 and 30 are assigned.

【0180】図26(c)は、データ列を構成する項目
のデータベースの一例を表しており、図26(c)に示
すデータベースの各項目の並びは、“バーコード”、
“加工日”、“賞味期限”、“品名”となっている。こ
こで、ユーザは“バーコード”が“FOS21001”
であるレコードをステップS101で選択したものとす
る。
FIG. 26 (c) shows an example of a database of items forming a data string. The arrangement of each item in the database shown in FIG. 26 (c) is "bar code",
"Processing date", "Best before date", and "Product name". Here, the user has a “bar code” of “FOS21001”.
It is assumed that the record is selected in step S101.

【0181】図26(a)から図26(c)に示すよう
な場合において、“重要度を低いものをドロップ”する
定長オーバ回避方法を実行した場合について簡単に記載
する。まず、重要度が最も低い“品名”が取り出され
(ステップS301)、取り出された“品名”の重要度
が閾値より小さいと判定され(ステップS302)、
“品名”がデータ列から削除される(ステップS30
3)。そして、“品名”が削除された後のデータ列は予
め定められたテープ長のテープ内に収まると判定される
(ステップS304)。そして、“品名”を除く項目か
らなるデータ列が、図26(d)に示すように、テープ
に印刷されることになる。
In the case shown in FIGS. 26A to 26C, a case where the fixed length over avoiding method of "dropping a less important one" is executed will be briefly described. First, the "product name" having the lowest importance is extracted (step S301), and it is determined that the importance of the extracted "product name" is smaller than the threshold value (step S302).
“Product name” is deleted from the data string (step S30)
3). Then, it is determined that the data string after the "product name" is deleted fits within the tape having a predetermined tape length (step S304). Then, a data string including items other than the "product name" is printed on the tape as shown in FIG.

【0182】図26(a)から図26(c)に示すよう
な場合において、“全体のサイズを小さくする”定長オ
ーバ回避方法を実行した場合について簡単に記載する。
尚、データ列のサイズを少なくとも1段階小さくするこ
とができ、且つ、1段階データ列のサイズを小さくする
と、データ列が予め定められたテープ長のテープ内に収
まるものとする。
In the case shown in FIGS. 26 (a) to 26 (c), a brief description will be given of the case of executing the method of avoiding the fixed length over "to reduce the overall size".
It should be noted that the size of the data string can be reduced by at least one step, and if the size of the data string is reduced by one step, the data string will fit within the tape having a predetermined tape length.

【0183】まず、データ列のサイズを小さくすること
ができると判定され(ステップS351)、データ列全
体のサイズを一段階小さくし(ステップS352)、一
段階サイズを小さくした後のデータ列が予め定められた
テープ長のテープ内に収まると判定される(ステップS
353)。そして、1段階サイズが小さくされた後のデ
ータ列が、図26(e)に示すように、テープに印刷さ
れることになる。
First, it is determined that the size of the data string can be reduced (step S351), the size of the entire data string is reduced by one step (step S352), and the data string after the size is decreased by one step is stored in advance. It is determined that the tape fits within the tape having the determined tape length (step S
353). Then, the data string after the size is reduced by one step is printed on the tape as shown in FIG.

【0184】図26(a)から図26(c)に示すよう
な場合において、“重要度を低いものを複数行にする”
定長オーバ回避方法を実行した場合について簡単に記載
する。尚、“品名”の“さくらんぼ”を2行にすること
ができ、且つ、“さくらんぼ”を2行にすると、データ
列が予め定められたテープ長のテープ内に収まるものと
する。
In the case as shown in FIGS. 26 (a) to 26 (c), "a row having a low importance is made into a plurality of rows".
A brief description will be given for the case where the fixed length over avoidance method is executed. It should be noted that the "cherry" of the "product name" can be made into two lines, and if the "cherry" is made into two lines, the data string will fit within the tape of a predetermined tape length.

【0185】まず、重要度が最も低い“品名”がデータ
列から取り出され(ステップS401)、取り出した
“品名”(さくらんぼ)の行数を増やすことができると
判定される(ステップS402)。そして、“さくらん
ぼ”の行数を2行とし(ステップS403)、“さくら
んぼ”を2行にした後のデータ列が予め定められたテー
プ長のテープ内に収まると判定される(ステップS40
4)。そして、“さくらんぼ”を2行にした後のデータ
列が、図26(f)に示すように、テープに印刷される
ことになる。
First, the "product name" having the lowest importance is extracted from the data string (step S401), and it is determined that the number of lines of the extracted "product name" (cherries) can be increased (step S402). Then, the number of lines of "cherries" is set to 2 (step S403), and it is determined that the data string after the lines of "cherries" are set to fit within a tape having a predetermined tape length (step S40).
4). Then, the data string after "cherry" is made into two rows is printed on the tape as shown in FIG. 26 (f).

【0186】図26(a)から図26(c)に示すよう
な場合において、“全体を複数行にして重要度の低いも
のは下の方の行で、サイズを小さくする”定長オーバ回
避方法を実行した場合について簡単に記載する。尚、デ
ータ列を2行にすることが可能であり、且つ、データ列
を2行にすると、データ列が予め定められたテープ長の
テープ内に収まるものとする。
In the case shown in FIGS. 26 (a) to 26 (c), "the whole row is made up of a plurality of rows and the one having a lower importance is the lower row, and the size is reduced". The case where the method is executed is briefly described. It should be noted that it is possible to have two data rows, and if the data rows are two rows, the data rows will fit within a tape having a predetermined tape length.

【0187】まず、項目の並びの行の一番長いもの(項
目78a、78b、78c、78dからなる行)を取り
出し(ステップS451)、取り出した項目の並びの行
は最下行であると判定される(ステップS452)。さ
らに、データ列の行数を増やすことができると判定され
て(ステップS453)、データ列の行を追加する(ス
テップS454)。そして、項目の並びのうち重要度が
最も低い“品名”がデータ列から取り出され(ステップ
S4455)、取り出した“品名”(さくらんぼ)のサ
イズを小さくし、且つ、新たに追加した行に“さくらん
ぼ”を移動させることにより、新たなデータ列が作成さ
れる(ステップS456)。新たなデータ列が予め定め
られたテープ長のテープ内に収まると判定される(ステ
ップS457)。そして、新たなデータ列が、図26
(g)に示すように、テープに印刷されることになる。
First, the longest line of items arranged (the line consisting of items 78a, 78b, 78c, 78d) is taken out (step S451), and the taken line of items is judged to be the bottom line. (Step S452). Further, it is determined that the number of rows of the data string can be increased (step S453), and the row of the data string is added (step S454). Then, the "product name", which has the lowest importance in the sequence of items, is extracted from the data string (step
In step S4455, a new data string is created by reducing the size of the extracted "product name" (cherry) and moving "cherry" to the newly added row (step S456). It is determined that the new data string fits within the tape having the predetermined tape length (step S457). Then, the new data string is shown in FIG.
As shown in (g), it will be printed on the tape.

【0188】図26(a)から図26(c)に示すよう
な場合において、“項目間のスペースをつめる”定長オ
ーバ回避方法を実行した場合について簡単に記載する。
尚、データ列の項目間を少なくとも1回つめることが可
能であり、且つ、項目間のスペースを1段階詰めると、
データ列が予め定められたテープ長のテープ内に収まる
ものとする。
In the case as shown in FIGS. 26 (a) to 26 (c), a case where the fixed length over avoidance method of "filling spaces between items" is executed will be briefly described.
Note that it is possible to fill the space between items in the data string at least once, and if the space between items is reduced by one level,
It is assumed that the data string fits within a tape having a predetermined tape length.

【0189】まず、データ列を構成する項目間のスペー
スを一定量減らすことができると判定され(ステップS
501)、項目間のスペースを一定量減らす(ステップ
S502)。そして、項目間のスペースが一定量減らさ
れた後のデータ列が予め定められたテープ長のテープ内
に収まると判定される(ステップS503)。そして、
項目間のスペースが一定量減らされた後のデータ列が、
図26(h)に示すように、テープに印刷されることに
なる。
First, it is determined that the space between items forming the data string can be reduced by a certain amount (step S
501), the space between items is reduced by a certain amount (step S502). Then, it is determined that the data string after the space between items has been reduced by a certain amount can be accommodated within the tape having a predetermined tape length (step S503). And
The data string after the space between items is reduced by a certain amount,
As shown in FIG. 26 (h), the tape is printed.

【0190】図26(a)から図26(c)に示すよう
な場合において、“バーコードのフォーマットサイズを
小さくする”定長オーバ回避方法を実行した場合につい
て簡単に記載する。
In the case shown in FIGS. 26 (a) to 26 (c), a case will be briefly described in which the fixed length over avoidance method of "reducing the format size of the bar code" is executed.

【0191】まず、データ列を構成する項目78a、7
8b、78c、78dの中に“バーコード”に関する項
目があるかを判定し、“バーコード”に関する項目があ
ると判定される(ステップS501)。そして、データ
列を構成する項目78a、78b、78c、78dの中
から“バーコード”に関する項目78aを取り出し、取
り出した項目78aのサイズを所定のフォーマットサイ
ズへと小さくする(ステップS502)。そして、“バ
ーコード”のフォーマットサイズが小さくされた後のデ
ータ列が、図26(i)に示すように、テープに印刷さ
れることになる。
First, the items 78a and 7 which form the data string.
It is determined whether or not there is an item regarding "bar code" in 8b, 78c, 78d, and it is determined that there is an item regarding "bar code" (step S501). Then, the item 78a relating to the "bar code" is taken out from the items 78a, 78b, 78c, 78d forming the data string, and the size of the taken item 78a is reduced to a predetermined format size (step S502). Then, the data string after the format size of the “bar code” is reduced is printed on the tape as shown in FIG.

【0192】図26(a)から図26(c)に示すよう
な場合において、“日付のみにする”定長オーバ回避方
法を実行した場合について簡単に記載する。
In the case shown in FIGS. 26 (a) to 26 (c), the case where the "only date" constant length over avoiding method is executed will be briefly described.

【0193】まず、項目78a、78b、78c、78
dから順に一つの項目を取り出す(ステップS60
2)。取り出した項目が“加工日”、“賞味期限”の場
合には、日付を含んでいると判定されて(ステップS6
03)、項目を構成する文字から日付以外の文字を削除
して、日付のみにする(ステップS604)。そして、
日付を含む項目は日付のみにされた後のデータ列が、図
26(j)に示すように、テープに印刷されることにな
る。
First, items 78a, 78b, 78c, 78.
One item is taken out in order from d (step S60
2). If the retrieved items are "processing date" and "expiration date", it is determined that the date is included (step S6).
03), the characters other than the date are deleted from the characters forming the item to make only the date (step S604). And
As for the item including the date, the data string after only the date is printed on the tape as shown in FIG. 26 (j).

【0194】図26(a)から図26(c)に示すよう
な場合において、“左右マージンを減らす”定長オーバ
回避方法を実行した場合について簡単に記載する。尚、
左右マージンは少なくとも1回減らすことが可能であ
り、且つ、左右マージンを1回減らすと、データ列が予
め定められたテープ長のテープ内に収まるものとする。
In the case as shown in FIGS. 26 (a) to 26 (c), the case of executing the method of avoiding the fixed length over to "reduce the left and right margins" will be briefly described. still,
The left and right margins can be reduced at least once, and if the left and right margins are reduced once, the data string will fit within a tape having a predetermined tape length.

【0195】まず、左右マージンが一定量減らすことが
できると判定されて(ステップS651)、左右マージ
ンが一定量減らされる(ステップS652)。そして、
左右マージンが一定量減らされた後のデータ列が予め定
められたテープ長のテープ内に収まると判定される(ス
テップS653)。そして、左右マージンが一定量減ら
された後のデータ列が、図26(k)に示すように、テ
ープに印刷されることになる。
First, it is determined that the left and right margins can be reduced by a fixed amount (step S651), and the left and right margins are reduced by a fixed amount (step S652). And
It is determined that the data string after the left and right margins have been reduced by a certain amount fits within the tape having a predetermined tape length (step S653). Then, the data string after the left and right margins have been reduced by a certain amount is printed on the tape as shown in FIG.

【0196】以上説明したように、予め定められたテー
プ長のテープ内にデータ列を収める必要がない場合にお
いて、データ列を構成する項目(構成部分)に付与され
た重要度に基づいて、項目の重要度が閾値未満の場合に
はその項目をデータ列から削除するため、重要度の高い
項目をデータ列に残しながら、テープの使用量の軽減を
図ることができる。また、予め定められたテープ長のテ
ープ内にデータ列を収める必要がある場合において、
“重要度の低いものをドロップ”する定長オーバ回避方
法では、重要度が閾値以上の項目は必ずデータ列に残し
ながら、重要度の低い項目から順にデータ列から削除し
ているため、重要度の高い項目をテープに印刷するデー
タ列に含めながらデータ列が予め定められた所定サイズ
のテープ内に収まるように、自動的にデータ列が再編集
される。この結果、予め定められた所定サイズのテープ
内にデータ列を収めるためにユーザ自らデータ列を再編
集する必要がなく、ユーザの利便性が向上する。
As described above, when it is not necessary to store a data string in a tape having a predetermined tape length, an item based on the degree of importance given to an item (component part) forming the data string When the importance of is less than the threshold value, the item is deleted from the data string, so that it is possible to reduce the tape usage while leaving the item of high importance in the data string. In addition, when it is necessary to store a data string in a tape of a predetermined tape length,
In the fixed length over avoidance method that "drops the ones with low importance", the items with the importance higher than the threshold value are always left in the data string, but the items with lower importance are deleted from the data string in order. The data string is automatically re-edited so that the data string can be accommodated in the tape having a predetermined size while including the high item in the data string to be printed on the tape. As a result, it is not necessary for the user to re-edit the data string by himself / herself in order to store the data string in a tape of a predetermined size, which improves the convenience for the user.

【0197】また、複数の定長オーバ回避方法(レイア
ウト回避処理)を設けているため、データ列を所定サイ
ズのテープ内に自動的に収めることができる割合が増大
する(定長オーバ回避方法が1つの場合にはその方法に
よってはデータ列を所定サイズのテープ内に収めること
ができない場合が起こりうる)。そして、複数の定長オ
ーバ回避方法を実行する順番をユーザ自ら変更すること
ができるため、ユーザが望む定長オーバ回避方法の順番
で定長オーバ回避方法が実行され、テープに印刷される
データ列がユーザの望むデータ列により近くなるという
利点を有する。
Also, since a plurality of fixed length over avoiding methods (layout avoiding processing) are provided, the rate at which a data string can be automatically stored in a tape of a predetermined size increases (the fixed length over avoiding method is In one case, depending on the method, the data string may not fit in the tape of a predetermined size. Since the user can change the order in which a plurality of fixed length overrun avoiding methods are executed, the fixed length overrun avoiding method is executed in the order of the fixed length overrun avoiding method desired by the user, and a data string to be printed on the tape. Has the advantage that it is closer to the data sequence desired by the user.

【0198】《変形例:重要度付与方法》上記実施の形
態とは異なるデータ列を構成する項目に重要度を付与す
る重要度付与方法について図27を参照しつつ説明す
る。但し、図27は、他の重要度付与方法を説明するた
めの説明図である。
<< Modification: Importance Assigning Method >> An importance assigning method for assigning an importance to an item constituting a data string different from the above embodiment will be described with reference to FIG. However, FIG. 27 is an explanatory diagram for explaining another importance degree assigning method.

【0199】図27(a)に示す重要度付与方法は、デ
ータ列を構成する各項目のフォーマット81上の位置に
基づいて各項目の重要度を決定するものであって、フォ
ーマット81上の配置位置が前にある項目ほど高い重要
度を付与する方法である。この方法では、図27(a)
に示すようなデータ列のフォーマット81の場合には、
イラスト81aが最も重要度が高く、バーコード81b
が二番目に重要度が高く、品名81cが最も重要度が低
くなる。
The importance degree assigning method shown in FIG. 27A determines the importance degree of each item based on the position on the format 81 of each item forming the data string, and is arranged on the format 81. This is a method of giving higher importance to items that are located earlier. In this method, FIG.
In the case of the data string format 81 as shown in,
Illustration 81a is the most important and barcode 81b
Has the second highest importance, and the product name 81c has the lowest importance.

【0200】図27(b)に示す重要度付与方法は、デ
ータ列を構成する各項目のフォーマット81上の位置に
基づいて各項目の重要度を決定するものであって、フォ
ーマット81上の配置位置が後にある項目ほど高い重要
度を付与する方法である。この方法では、図27(b)
に示すような文字列のフォーマット81の場合には、イ
ラスト81aが最も重要度が低く、バーコード81bが
二番目に重要度が低く、品名81cが最も重要度が高く
なる。
The importance degree assigning method shown in FIG. 27B determines the importance degree of each item based on the position on the format 81 of each item constituting the data string, and is arranged on the format 81. This is a method of giving higher importance to items that are located later. In this method, FIG.
In the case of the character string format 81 as shown in (1), the illustration 81a has the lowest importance, the barcode 81b has the second lowest importance, and the product name 81c has the highest importance.

【0201】さらに、二つの他の重要度付与方法につい
て図28を参照しつつ説明する。但し、図28は、他の
重要度付与方法を説明するための説明図である。
Further, two other importance degree assigning methods will be described with reference to FIG. However, FIG. 28 is an explanatory diagram for explaining another importance degree assigning method.

【0202】図28(a)に示す重要度付与方法は、文
字列を構成する各項目のデータベース82上の位置に基
づいて各項目の重要度を決定するものであって、データ
ベース82上の配置位置が前にある項目ほど高い重要度
を付与する方法である。この方法では、図28(a)に
示すようなデータベース82の場合には、バーコードが
最も重要度が高く、品名が二番目に重要度が高く、イラ
ストが最も重要度が低くなる。
The importance level assigning method shown in FIG. 28A determines the importance level of each item based on the position on the database 82 of each item forming a character string, and the allocation on the database 82 is performed. This is a method of giving higher importance to items that are located earlier. According to this method, in the case of the database 82 as shown in FIG. 28A, the barcode has the highest importance, the item name has the second highest importance, and the illustration has the lowest importance.

【0203】図28(b)に示す重要度付与方法は、文
字列を構成する各項目のデータベース82上の位置に基
づいて各項目の重要度を決定するものであって、データ
ベース82上の配置位置が後にある項目ほど高い重要度
を付与する方法である。この方法では、図28(b)に
示すようなデータベース82の場合には、バーコードが
最も重要度が低く、品名が二番目に重要度が低く、イラ
ストが最も重要度が高くなる。
The importance level assigning method shown in FIG. 28B determines the importance level of each item based on the position of each item constituting the character string on the database 82. This is a method of giving higher importance to items that are located later. According to this method, in the case of the database 82 as shown in FIG. 28B, the bar code has the lowest importance, the item name has the second lowest importance, and the illustration has the highest importance.

【0204】さらに、他の重要度付与方法について図2
9を参照しつつ説明する。但し、図29は、他の重要度
付与方法を説明するための説明図である。
Further, another method of giving importance will be described with reference to FIG.
This will be described with reference to FIG. However, FIG. 29 is an explanatory diagram for explaining another importance level assigning method.

【0205】図29に示す重要度付与方法は、データ列
を構成する項目を以下に記載する3つの分類のいずれか
に分類分けするものである。第1分類はデータ列から項
目全体の削除のみを認めるものであり(ドロップ可)、
第2分類はデータ列から項目の削除を認めないものであ
り(ドロップ不可)、第3分類は項目を構成する一部の
文字など(単位要素)の削除を認めるものである(省略
可)。図29に示す場合には、イラストは第1分類(ド
ロップ可)に属するように重要度が付与されており、バ
ーコードは第2分類(ドロップ不可)に属するように重
要度が付与されており、品名は第3分類(省略可)に属
するように分類わけされている。
The importance assigning method shown in FIG. 29 classifies the items forming the data string into one of the three classes described below. The first category only allows deletion of entire items from the data string (drops allowed),
The second classification does not allow deletion of items from the data string (drop is not allowed), and the third classification allows deletion of some characters (unit elements) constituting the items (may be omitted). In the case shown in FIG. 29, the illustrations are given importance so as to belong to the first classification (drop possible), and the bar codes are given importance so as to belong to the second classification (no drop). The product names are classified so as to belong to the third classification (may be omitted).

【0206】《変形例:項目削除》上記実施の形態で
は、項目をデータ列から削除する場合、項目を構成する
単位要素(文字など)全てを削除するようにしている
が、項目に含まれる1または複数の単位要素(文字な
ど)の一部を削除するようにしてもよい。例えば、項目
に含まれる文字の前から所定の文字数分(例えば5文
字)の文字のみを残してそれ以外の文字を全て削除する
ようにしてもよい(図30(a)、(b)参照)。この
場合、図30(a)のようなデータ列が、図30(b)
に示すバーコードと“ノートブッ”からなるデータ列に
代わる。
<< Modification: Item Deletion >> In the above embodiment, when deleting an item from a data string, all unit elements (characters, etc.) constituting the item are deleted. Alternatively, some of the plurality of unit elements (such as characters) may be deleted. For example, it is possible to leave only a predetermined number of characters (for example, 5 characters) before the characters included in the item and delete all other characters (see FIGS. 30 (a) and 30 (b)). . In this case, the data string as shown in FIG.
It replaces the data string consisting of the barcode and "Notebook" shown in.

【0207】また、項目に含まれる文字の前から所定の
文字数分(例えば3文字)の文字と後から所定の文字数
分(例えば2文字)の文字を残してそれ以外を全て削除
するようにしてもよい(図30(a)、(c)参照)。
この場合、図30(a)のようなデータ列が、図30
(c)に示すバーコードと“ノートA4”からなるデー
タ列に代わる。
[0207] Also, the characters included in the item are deleted by leaving a predetermined number of characters (for example, 3 characters) before the character and a predetermined number of characters (for example, 2 characters) after the character included in the item. (See FIGS. 30 (a) and 30 (c)).
In this case, the data string as shown in FIG.
It replaces the data string consisting of the bar code and "Note A4" shown in (c).

【0208】このような場合、項目中の一部の文字など
がテープに印刷されるため、その項目に含まれる全ての
文字などを削除した場合には得られなくなるような情報
がテープに印刷されたデータ列から取得可能になるとい
う利点を有する。
In such a case, since some characters in the item are printed on the tape, information that cannot be obtained if all the characters contained in the item are deleted is printed on the tape. It has the advantage that it can be obtained from a data string.

【0209】以上、本発明の好適な実施の形態について
説明したが、本発明は上述の実施の形態に限られるもの
ではなく、特許請求の範囲に記載した限りにおいて様々
な設計変更が可能なものである。例えば、上述した実施
の形態においては、コンピュータ1と印刷装置2とを接
続ケーブル3で互いに接続する構成であるが、スタンド
アロン機に上述した機能を適用することができることは
いうまでもない。また、上述の実施の形態はユーザが編
集した文字列をテープに印刷する場合について説明した
が、本発明は画像形成媒体が印材であって、印材に文字
列を製版してスタンプを作製する場合にも適用できるこ
とはいうまでもない。
The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-mentioned embodiments, and various design changes are possible within the scope of the claims. Is. For example, in the above-described embodiment, the computer 1 and the printing device 2 are connected to each other by the connection cable 3, but it goes without saying that the above-described function can be applied to a stand-alone machine. In the above embodiment, the case where the character string edited by the user is printed on the tape has been described. However, in the present invention, when the image forming medium is a stamp material and the stamp is manufactured by making the character string on the stamp material. It goes without saying that it can also be applied to.

【0210】また、データ列を構成する構成部分のうち
バーコードに関する構成部分やバーコードに関連付けら
れた構成部分は必ず画像形成媒体に形成するデータ列に
含める(データ列から削除しない)ように、画像形成媒
体に形成するデータ列を形成するようにしてもよい。
Further, among the constituent parts constituting the data string, the constituent parts relating to the barcode and the constituent parts associated with the barcode are always included in the data string formed on the image forming medium (not deleted from the data string). A data string to be formed on the image forming medium may be formed.

【0211】さらに、各フローチャートで示した動作手
順をCPUに行わせるプログラムをCD−ROMなどの
記録媒体に保存するようにしてもよい。この場合には、
上記手順を行うプログラムの販売が容易となる。
Further, a program for causing the CPU to perform the operation procedure shown in each flowchart may be stored in a recording medium such as a CD-ROM. In this case,
It becomes easy to sell a program that performs the above procedure.

【0212】[0212]

【発明の効果】以上説明したように、請求項1または請
求項11に記載の発明によると、データ列を構成する構
成部分に付与された重要度に基づいて画像形成媒体に形
成される単位要素が決定されるため、重要度の高い構成
部分に関する情報を残しながら画像形成媒体の使用量の
軽減を図ることができる。又、予め定められた所定サイ
ズの画像形成媒体内に自動的にデータ列を収めることが
可能になり、この結果、データ列を所定サイズの画像形
成媒体内に収めるためにユーザ自らデータ列を再編集す
る必要がなく、ユーザの利便性が向上する。
As described above, according to the invention described in claim 1 or claim 11, the unit element formed on the image forming medium based on the degree of importance given to the constituent parts constituting the data string. Is determined, it is possible to reduce the amount of use of the image forming medium while leaving the information about the constituent part having high importance. In addition, it becomes possible to automatically store the data string in the image forming medium having a predetermined size, and as a result, the user himself / herself rewrites the data string in order to fit the data string in the image forming medium having the predetermined size. There is no need to edit, improving user convenience.

【0213】請求項2または請求項12に記載の発明に
よると、重要度の高い構成部分に関する情報を画像形成
媒体に形成しながらデータ列が予め定められた所定サイ
ズの画像形成媒体内に収まるように、自動的にデータ列
が再編集され、この結果、ユーザによるデータ列の再編
集が不要になって、ユーザの利便性が向上する。
According to the second or the twelfth aspect of the present invention, the data string can be contained within the image forming medium of a predetermined size while forming the information on the constituent parts of high importance on the image forming medium. Moreover, the data string is automatically re-edited, and as a result, the user does not need to re-edit the data string, which improves the convenience of the user.

【0214】請求項3または請求項13に記載の発明に
よると、データ列を構成するある一の構成部分中の一部
の単位要素が画像形成媒体に形成されることがあるた
め、その構成部分中の全ての単位要素を削除した場合に
は得られなくなるような情報が画像形成媒体に形成され
たデータ列から取得可能になる。
According to the invention of claim 3 or claim 13, since some unit elements in a certain constituent part constituting the data string may be formed on the image forming medium, the constituent part thereof may be formed. Information that cannot be obtained when all the unit elements in the inside are deleted can be acquired from the data string formed on the image forming medium.

【0215】請求項4または請求項14に記載の発明に
よると、所定サイズの画像形成媒体内にデータ列が収ま
るようにデータ列のレイアウトが自動的に変更され、こ
の結果、ユーザが編集したデータ列が所定サイズの画像
形成媒体内に収まらないような場合でもユーザ自ら所定
サイズの画像形成媒体内にデータ列が収まるようにデー
タ列を再編集する必要がなく、ユーザの利便性が向上す
る。
According to the invention described in claim 4 or claim 14, the layout of the data string is automatically changed so that the data string fits in the image forming medium of a predetermined size, and as a result, the data edited by the user is edited. Even when the column does not fit in the image forming medium having the predetermined size, the user does not need to re-edit the data column so that the data column fits in the image forming medium having the predetermined size, thereby improving the convenience for the user.

【0216】請求項5または請求項15に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは複数行で画像形成媒体に形成
されることになるものの、ユーザが編集した全ての構成
部分を含んだデータ列が所定サイズの画像形成媒体内に
収まるように自動的に再編集され、この結果、ユーザに
よるデータ列の再編集が不要になって、ユーザの利便性
が向上する。
According to the fifth or fifteenth aspect of the present invention, among the constituent parts constituting the data string edited by the user, the less important ones are formed on the image forming medium in a plurality of rows. , The data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits within the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. The convenience of is improved.

【0217】請求項6または請求項16に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは小さいサイズで画像形成媒体
に形成されることになるものの、ユーザが編集した全て
の構成部分を含んだデータ列が所定サイズの画像形成媒
体内に収まるように自動的に再編集され、この結果、ユ
ーザによるデータ列の再編集が不要になって、ユーザの
利便性が向上する。
According to the sixth or sixteenth aspect of the present invention, among the constituent parts constituting the data string edited by the user, the less important ones are formed in a small size on the image forming medium. , The data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits within the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. The convenience of is improved.

【0218】請求項7または請求項17に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは下の方の行に画像形成媒体に
形成されることになるものの、ユーザが編集した全ての
構成部分を含んだデータ列が所定サイズの画像形成媒体
内に収まるように自動的に再編集され、この結果、ユー
ザによるデータ列の再編集が不要になって、ユーザの利
便性が向上する。
According to the invention of claim 7 or claim 17, the less important one of the constituent parts constituting the data string edited by the user is formed in the lower row on the image forming medium. However, the data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits in the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. As a result, user convenience is improved.

【0219】請求項8または請求項18に記載の発明に
よると、ユーザが編集したデータ列を構成する構成部分
のうち重要度の低いものは小さいサイズで画像形成媒体
に形成されることになるものの、ユーザが編集した全て
の構成部分を含んだデータ列が所定サイズの画像形成媒
体内に収まるように自動的に再編集され、この結果、ユ
ーザによるデータ列の再編集が不要になって、ユーザの
利便性が向上する。
According to the eighth or the eighteenth aspect of the present invention, among the constituent parts constituting the data string edited by the user, the less important ones are formed on the image forming medium in a small size. , The data string including all the constituent parts edited by the user is automatically re-edited so that the data string fits within the image forming medium of a predetermined size, and as a result, the user does not need to re-edit the data string. The convenience of is improved.

【0220】請求項9または請求項19に記載の発明に
よると、複数のレイアウト回避処理を設けることによっ
てデータ列を自動的に所定サイズの画像形成媒体内に収
めることができる割合が増大するという利点を有する
(レイアウト回避処理が1つの場合にはその処理によっ
てデータ列を所定サイズの画像形成媒体内に収めること
ができない場合が起こりうる)。
According to the ninth or nineteenth aspect of the present invention, by providing a plurality of layout avoidance processes, the rate at which a data string can be automatically stored in an image forming medium of a predetermined size is increased. (If there is one layout avoiding process, the process may not be able to fit the data string in the image forming medium of a predetermined size).

【0221】請求項10または請求項20に記載の発明
によると、複数のレイアウト回避処理を実行する優先順
位を変更することが可能であるため、ユーザが望むレイ
アウト回避処理の順番でレイアウト回避処理が実行さ
れ、画像形成媒体に形成されるデータ列がユーザの望む
データ列により近くなるという利点を有する。
According to the tenth or twentieth aspect of the present invention, since it is possible to change the priority order for executing a plurality of layout avoidance processes, the layout avoidance processes can be performed in the order of the layout avoidance processes desired by the user. This has the advantage that the data sequence executed and formed on the image forming medium is closer to the data sequence desired by the user.

【図面の簡単な説明】[Brief description of drawings]

【図1】 文字列編集装置として機能するパーソナルコ
ンピュータ、及び印刷装置の概略を示す外観斜視図であ
る。
FIG. 1 is an external perspective view showing the outline of a personal computer that functions as a character string editing device and a printing device.

【図2】 図1に外観を示した印刷装置の内部に配置さ
れた印刷機構及びテープ収容カセットの構造を説明する
ための平面図である。
FIG. 2 is a plan view for explaining the structure of a printing mechanism and a tape accommodating cassette arranged inside the printing apparatus whose appearance is shown in FIG.

【図3】 図1に外観を示したコンピュータの制御系を
説明するためのブロック図である。
FIG. 3 is a block diagram for explaining a control system of the computer whose appearance is shown in FIG.

【図4】 図3に制御系を示したコンピュータ内のCP
Uの動作を説明するためのブロック図である。
4 is a CP in a computer whose control system is shown in FIG.
It is a block diagram for explaining operation of U.

【図5】 図3に制御系を示したコンピュータ内のRA
Mを説明するための説明図である。
FIG. 5 is an RA in a computer whose control system is shown in FIG.
It is explanatory drawing for demonstrating M.

【図6】 図5に示したRAMの一の記憶領域を説明す
るための説明図である。
6 is an explanatory diagram for explaining one storage area of the RAM shown in FIG. 5. FIG.

【図7】 図5に示したRAMの他の記憶領域を説明す
るための説明図である。
FIG. 7 is an explanatory diagram for explaining another storage area of the RAM shown in FIG.

【図8】 図1に外観を示した液晶ディスプレイに表示
される優先順位入力画面の一例を示す図である。
8 is a diagram showing an example of a priority order input screen displayed on the liquid crystal display whose appearance is shown in FIG.

【図9】 図4に示したCPUが行う重要度付与方法を
説明するための説明図である。
9 is an explanatory diagram for explaining an importance degree giving method performed by the CPU shown in FIG. 4. FIG.

【図10】 図1に外観を示した液晶ディスプレイに表
示される重要度入力画面の一例を示す図である。
FIG. 10 is a diagram showing an example of an importance input screen displayed on the liquid crystal display whose appearance is shown in FIG.

【図11】 図4に示したCPUが行うドロップ方法を
説明するための説明図である。
FIG. 11 is an explanatory diagram for explaining a drop method performed by the CPU shown in FIG.

【図12】 図4に示したCPUが行うドロップ方法の
種類を記載した図である。
FIG. 12 is a diagram describing the types of drop methods performed by the CPU shown in FIG.

【図13】 図4に示したCPUが行う定長オーバ回避
方法の種類を記載した図である。
FIG. 13 is a diagram showing types of fixed length over avoidance methods performed by the CPU shown in FIG. 4;

【図14】 図4に示したCPUのデータ列編集処理の
動作手順を説明するためのフローチャートである。
14 is a flowchart for explaining an operation procedure of a data string editing process of the CPU shown in FIG.

【図15】 データ列編集処理において作成されるデー
タ列の一例を説明するための説明図である。
FIG. 15 is an explanatory diagram illustrating an example of a data string created in a data string editing process.

【図16】 図4に示したCPUの定長オーバ回避処理
の動作手順を説明するためのフローチャートである。
16 is a flowchart for explaining an operation procedure of constant length overshooting processing of the CPU shown in FIG.

【図17】 図4に示したCPUの一の定長オーバ回避
方法の動作手順を説明するためのフローチャートであ
る。
FIG. 17 is a flow chart for explaining an operation procedure of a method of avoiding a fixed length over of the CPU shown in FIG.

【図18】 図4に示したCPUの他の定長オーバ回避
方法の動作手順を説明するためのフローチャートであ
る。
FIG. 18 is a flowchart for explaining an operation procedure of another fixed length over avoidance method of the CPU shown in FIG.

【図19】 図4に示したCPUのさらに他の定長オー
バ回避方法の動作手順を説明するためのフローチャート
である。
19 is a flowchart for explaining the operation procedure of still another method of avoiding a fixed length over of the CPU shown in FIG.

【図20】 図4に示したCPUのさらに他の定長オー
バ回避方法の動作手順を説明するためのフローチャート
である。
20 is a flowchart for explaining an operation procedure of still another method of avoiding a fixed length over of the CPU shown in FIG.

【図21】 図20にフローチャートを示した定長オー
バ回避方法を説明するための説明図である。
FIG. 21 is an explanatory diagram for explaining the fixed length over avoiding method whose flowchart is shown in FIG. 20.

【図22】 図4に示したCPUのさらに他の定長オー
バ回避方法の動作手順を説明するためのフローチャート
である。
22 is a flowchart for explaining the operation procedure of still another method of avoiding the fixed length over of the CPU shown in FIG.

【図23】 図4に示したCPUのさらに他の定長オー
バ回避方法の動作手順を説明するためのフローチャート
である。
FIG. 23 is a flowchart for explaining an operation procedure of still another method of avoiding a fixed length over of the CPU shown in FIG. 4.

【図24】 図4に示したCPUのさらに他の定長オー
バ回避方法の動作手順を説明するためのフローチャート
である。
FIG. 24 is a flowchart for explaining the operation procedure of still another method of avoiding a fixed length over of the CPU shown in FIG. 4;

【図25】 図4に示したCPUのさらに他の定長オー
バ回避方法の動作手順を説明するためのフローチャート
である。
FIG. 25 is a flowchart for explaining the operation procedure of still another method of avoiding a fixed length over of the CPU shown in FIG.

【図26】 図4に示したCPUが行う各定長オーバ回
避方法を説明するための説明図である。
26 is an explanatory diagram for explaining each fixed length over avoidance method performed by the CPU shown in FIG. 4;

【図27】 図4に示したCPUが行う他の重要度付与
方法を説明するための説明図である。
FIG. 27 is an explanatory diagram for explaining another importance degree giving method performed by the CPU shown in FIG. 4;

【図28】 図4に示したCPUが行うさらに他の重要
度付与方法を説明するための説明図である。
28 is an explanatory diagram for explaining still another importance degree giving method performed by the CPU shown in FIG. 4. FIG.

【図29】 図4に示したCPUが行うさらに他の重要
度付与方法を説明するための説明図である。
FIG. 29 is an explanatory diagram for explaining still another importance degree giving method performed by the CPU shown in FIG. 4;

【図30】 図4に示したCPUが行う項目に含まれる
1又は複数の文字を削除する削除方法を説明するための
説明図である。
30 is an explanatory diagram illustrating a deletion method for deleting one or more characters included in an item performed by the CPU illustrated in FIG.

【符号の説明】[Explanation of symbols]

1 パーソナルコンピュータ 2 印刷装置 3 接続ケーブル 4 制御本体部 5 ディスプレイ 6 キーボード 7 マウス 8 テープ 41 CPU 42 CG−ROM 43 ハードディスク 44 RAM 45 入出力インターフェース 51 定長設定ON/OFFフラグ設定部 52 定長設定ON/OFFフラグ判定部 53 形成範囲判定部 53a テープ長方向判定部 53b テープ幅方向判定部 54 定長オーバ回避方法選定部 55 定長オーバ回避方法判定部 56 優先順位判定部 57 レイアウト変更部 57a 重要度付与部 57b 画像形成判断部 57c データ列構成部 57d 改行部 57e データ列配置部 57f サイズ縮小部 1 personal computer 2 printing devices 3 connection cable 4 Control body 5 display 6 keyboard 7 mice 8 tapes 41 CPU 42 CG-ROM 43 hard disk 44 RAM 45 I / O interface 51 Fixed length setting ON / OFF flag setting section 52 Fixed length setting ON / OFF flag determination unit 53 formation range determination unit 53a Tape length direction determination unit 53b Tape width direction determination unit 54 Fixed length over avoidance method selection section 55 Fixed Length Over Avoidance Method Judgment Section 56 Priority judgment section 57 Layout change section 57a Importance assigning section 57b Image formation determination unit 57c Data string configuration unit 57d line feed 57e Data string arrangement section 57f size reduction unit

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 画像形成媒体に形成される文字列やグラ
フィックパターン等のデータ列を編集するためのデータ
列編集装置において、 前記データ列に含まれており且つそれぞれが1又は複数
の単位要素からなる複数の構成部分のそれぞれに重要度
を付与するための重要度付与手段と、 前記データ列を構成する各単位要素について、少なくと
も前記重要度付与手段により複数の前記構成部分のそれ
ぞれに付与された重要度に基づいて、前記画像形成媒体
に形成すべきか否かを判断するための画像形成判断手段
と、 前記データ列を構成する単位要素のうち前記画像形成判
断手段によって前記画像形成媒体に形成すべきでないと
判断された単位要素を含まない新たなデータ列を構成す
るためのデータ列構成手段とを備えていることを特徴と
するデータ列編集装置。
1. A data string editing apparatus for editing a data string such as a character string or a graphic pattern formed on an image forming medium, comprising: one or a plurality of unit elements which are included in the data string. And a degree-of-importance means for giving a degree of importance to each of the plurality of constituent parts, and for each unit element forming the data string, at least the degree of importance is given to each of the plurality of the constituent parts An image formation determining means for determining whether or not to form on the image forming medium based on importance, and an image forming determination means for forming the data sequence on the image forming medium among the unit elements constituting the data sequence. And a data sequence constructing means for constructing a new data sequence that does not include a unit element determined not to be valid. Data row editing device.
【請求項2】 前記データ列を構成する各単位要素が所
定サイズで前記画像形成媒体に形成されたときに前記デ
ータ列が予め定められた範囲内に収まるかどうかを判定
するための形成範囲判定手段をさらに備えており、 前記画像形成判断手段は、前記データ列が前記予め定め
られた範囲内に収まらないと前記形成範囲判定手段が判
定した場合にのみ前記判断を行うことを特徴とする請求
項1に記載のデータ列編集装置。
2. A formation range determination for determining whether or not the data sequence falls within a predetermined range when each unit element forming the data sequence is formed in a predetermined size on the image forming medium. The image forming determination means further comprises means, and the image formation determination means makes the determination only when the formation range determination means determines that the data string does not fall within the predetermined range. Item 1. The data string editing device according to item 1.
【請求項3】 前記画像形成判断手段は、1つの前記構
成部分中の一部の単位要素だけについて前記画像形成媒
体に形成すべきでないと判断可能であることを特徴とす
る請求項1又は2に記載のデータ列編集装置。
3. The image forming determination means is capable of determining that only some of the unit elements in one of the constituent parts should not be formed on the image forming medium. A data string editing device described in.
【請求項4】 画像形成媒体に形成される文字列やグラ
フィックパターン等のデータ列を編集するためのデータ
列編集装置において、 前記データ列を構成する各単位要素が所定サイズで前記
画像形成媒体に形成されたときに前記データ列が予め定
められた範囲内に収まるかどうかを判定するための形成
範囲判定手段と、 前記データ列が前記予め定められた範囲内に収まらない
と前記形成範囲判定手段が判定した場合、前記予め定め
られた範囲内における前記データ列のレイアウトを変更
するレイアウト変更処理を実行するためのレイアウト変
更手段とを備えていることを特徴とするデータ列編集装
置。
4. A data string editing apparatus for editing a data string such as a character string or a graphic pattern formed on an image forming medium, wherein each unit element constituting the data string has a predetermined size on the image forming medium. Forming range determining means for determining whether the data string falls within a predetermined range when formed, and the forming range determining means if the data string does not fall within the predetermined range If the determination is made, the data string editing device is provided with a layout changing means for executing a layout changing process for changing the layout of the data string within the predetermined range.
【請求項5】 前記レイアウト変更手段が、 前記データ列に含まれており且つそれぞれが1又は複数
の単位要素からなる複数の構成部分のそれぞれに重要度
を付与するための重要度付与手段と、 前記重要度付与手段により複数の前記構成部分のそれぞ
れに付与された重要度が最も低い方から抽出された少な
くとも1つの前記構成部分を複数行とするための改行手
段とを備えていることを特徴とする請求項4に記載のデ
ータ列編集装置。
5. The layout changing unit, and an importance assigning unit for assigning an importance to each of a plurality of constituent parts included in the data string and each of which includes one or a plurality of unit elements, A line feed means for making at least one of the constituent parts extracted from the lowest importance given to each of the plurality of constituent parts by the importance giving means into a plurality of lines. The data string editing device according to claim 4.
【請求項6】 前記レイアウト変更手段が、 前記改行手段によって複数行とされた前記構成部分のサ
イズを縮小するためのサイズ縮小手段をさらに備えてい
ることを特徴とする請求項5に記載のデータ列編集装
置。
6. The data according to claim 5, wherein the layout changing unit further comprises a size reducing unit for reducing the size of the constituent part formed into a plurality of lines by the line feed unit. Column editing device.
【請求項7】 前記レイアウト変更手段が、 前記データ列に含まれており且つそれぞれが1又は複数
の単位要素からなる複数の構成部分のそれぞれに重要度
を付与するための重要度付与手段と、 前記重要度付与手段により複数の前記構成部分のそれぞ
れに付与された重要度が最も高い方から前記構成部分が
上の行になるように複数の前記構成部分を複数行に配置
するためのデータ列配置手段とを備えていることを特徴
とする請求項4に記載のデータ列編集装置。
7. The layout changing unit, and an importance assigning unit for assigning an importance to each of a plurality of constituent parts included in the data string and each of which includes one or a plurality of unit elements, A data string for arranging a plurality of the constituent parts in a plurality of rows so that the constituent parts are in the upper row from the highest importance given to each of the plurality of the constituent parts by the importance degree giving means. 5. The data string editing device according to claim 4, further comprising an arranging unit.
【請求項8】 前記レイアウト変更手段が、 前記データ列配置手段によって下の行に配置された前記
構成部分のサイズを縮小するためのサイズ縮小手段をさ
らに備えていることを特徴とする請求項7に記載のデー
タ列編集装置。
8. The layout changing means further comprises size reducing means for reducing the size of the constituent portion arranged in the lower row by the data column arranging means. A data string editing device described in.
【請求項9】 前記レイアウト変更手段は、複数のレイ
アウト変更処理を行うことが可能であると共に、前記形
成範囲判定手段によって前記データ列が前記予め定めら
れた範囲内に収まると判定されるまで、複数の前記レイ
アウト変更処理を、これらを実行する順番である優先順
位にしたがって順次実行することを特徴とする請求項4
に記載のデータ列編集装置。
9. The layout changing unit is capable of performing a plurality of layout changing processes, and until the formation range determining unit determines that the data string falls within the predetermined range, 5. The plurality of layout changing processes are sequentially executed in accordance with a priority order which is the order of executing these processes.
A data string editing device described in.
【請求項10】 複数の前記レイアウト変更処理の優先
順位を変更するための優先順位変更手段をさらに備えて
いることを特徴とする請求項9に記載のデータ列編集装
置。
10. The data string editing apparatus according to claim 9, further comprising priority order changing means for changing a priority order of the plurality of layout changing processes.
【請求項11】 コンピュータを、 文字列やグラフィックパターン等のデータ列に含まれて
おり且つそれぞれが1又は複数の単位要素からなる複数
の構成部分のそれぞれに重要度を付与するための重要度
付与手段と、 前記データ列を構成する各単位要素について、少なくと
も前記重要度付与手段により複数の前記構成部分のそれ
ぞれに付与された重要度に基づいて、前記画像形成媒体
に形成すべきか否かを判断するための画像形成判断手段
と、 前記データ列を構成する単位要素のうち前記画像形成判
断手段によって前記画像形成媒体に形成すべきでないと
判断された単位要素を含まない新たなデータ列を構成す
るためのデータ列構成手段として機能させることを特徴
とする画像形成媒体に形成されるデータ列を編集するた
めのプログラム。
11. A degree of importance for assigning a degree of importance to a plurality of constituent parts, each of which includes a computer and is included in a data string such as a character string or a graphic pattern, and each of which includes one or a plurality of unit elements. Unit and each unit element forming the data string, it is determined whether or not to form on the image forming medium based on at least the degree of importance given to each of the plurality of constituent parts by the degree of importance giving unit. And a new data sequence that does not include a unit element that has been determined by the image formation determination means not to be formed on the image forming medium by the image formation determination means among the unit elements that form the data sequence. A program for editing a data string formed on an image forming medium, characterized in that the program functions as a data string forming unit for the.
【請求項12】 コンピュータを、 前記データ列を構成する各単位要素が所定サイズで前記
画像形成媒体に形成されたときに前記データ列が予め定
められた範囲内に収まるかどうかを判定するための形成
範囲判定手段としてさらに機能させ、 前記画像形成判断手段は、前記データ列が前記予め定め
られた範囲内に収まらないと前記形成範囲判定手段が判
定した場合にのみ前記判断を行うことを特徴とする請求
項11に記載の画像形成媒体に形成されるデータ列を編
集するためのプログラム。
12. A computer for determining whether or not the data string falls within a predetermined range when each unit element forming the data string is formed on the image forming medium in a predetermined size. Further functioning as a formation range determination means, the image formation determination means makes the determination only when the formation range determination means determines that the data string does not fall within the predetermined range. A program for editing a data string formed on the image forming medium according to claim 11.
【請求項13】 前記画像形成判断手段は、1つの前記
構成部分中の一部の単位要素だけについて前記画像形成
媒体に形成すべきでないと判断可能であることを特徴と
する請求項11又は12に記載の画像形成媒体に形成さ
れるデータ列を編集するためのプログラム。
13. The image forming determination means is capable of determining that only some of the unit elements in one of the constituent parts should not be formed on the image forming medium. A program for editing a data string formed on the image forming medium according to [1].
【請求項14】 コンピュータを、 データ列やグラフィックパターン等のデータ列を構成す
る各単位要素が所定サイズで前記画像形成媒体に形成さ
れたときに前記データ列が予め定められた範囲内に収ま
るかどうかを判定するための形成範囲判定手段と、 前記データ列が前記予め定められた範囲内に収まらない
と前記形成範囲判定手段が判定した場合、前記予め定め
られた範囲内における前記データ列のレイアウトを変更
するレイアウト変更処理を実行するためのレイアウト変
更手段として機能させることを特徴とする画像形成媒体
に形成されるデータ列を編集するためのプログラム。
14. A computer, if each unit element forming a data sequence such as a data sequence or a graphic pattern is formed in a predetermined size on the image forming medium, the data sequence falls within a predetermined range. Forming range determining means for determining whether or not the layout of the data string within the predetermined range when the forming range determining means determines that the data string does not fall within the predetermined range A program for editing a data string formed on an image forming medium, which functions as a layout changing unit for executing a layout changing process for changing the.
【請求項15】 前記レイアウト変更手段を、 前記データ列に含まれており且つそれぞれが1又は複数
の単位要素からなる複数の構成部分のそれぞれに重要度
を付与するための重要度付与手段と、 前記重要度付与手段により複数の前記構成部分のそれぞ
れに付与された重要度が最も低い方から抽出された少な
くとも1つの前記構成部分を複数行とするための改行手
段として機能させることを特徴とする請求項14に記載
の画像形成媒体に形成されるデータ列を編集するための
プログラム。
15. The layout changing unit, and an importance assigning unit for assigning an importance to each of a plurality of constituent parts included in the data string and each of which includes one or a plurality of unit elements, It is characterized in that at least one of the constituent parts extracted from the one having the lowest importance given to each of the plurality of constituent parts by the importance giving means functions as a line feed means for making a plurality of lines. A program for editing a data string formed on the image forming medium according to claim 14.
【請求項16】 前記レイアウト変更手段を、 前記改行手段によって複数行とされた前記構成部分のサ
イズを縮小するためのサイズ縮小手段としてさらに機能
させることを特徴とする請求項15に記載の画像形成媒
体に形成されるデータ列を編集するためのプログラム。
16. The image forming apparatus according to claim 15, wherein the layout changing unit is further caused to function as a size reducing unit for reducing the size of the constituent portion formed into a plurality of lines by the line feed unit. A program for editing a data string formed on a medium.
【請求項17】 前記レイアウト変更手段を、 前記データ列に含まれており且つそれぞれが1又は複数
の単位要素からなる複数の構成部分のそれぞれに重要度
を付与するための重要度付与手段と、 前記重要度付与手段により複数の前記構成部分のそれぞ
れに付与された重要度が最も高い方から前記構成部分が
上の行になるように複数の前記構成部分を複数行に配置
するためのデータ列配置手段として機能させることを特
徴とする請求項14に記載の画像形成媒体に形成される
データ列を編集するためのプログラム。
17. The layout changing unit, and an importance assigning unit for assigning an importance to each of a plurality of constituent parts included in the data string and each of which includes one or a plurality of unit elements, A data string for arranging a plurality of the constituent parts in a plurality of rows so that the constituent parts are in the upper row from the highest importance given to each of the plurality of the constituent parts by the importance degree giving means. The program for editing a data string formed on an image forming medium according to claim 14, which functions as an arrangement unit.
【請求項18】 前記レイアウト変更手段を、 前記データ列配置手段によって下の行に配置された前記
構成部分のサイズを縮小するためのサイズ縮小手段とし
てさらに機能させることを特徴とする請求項17に記載
の画像形成媒体に形成されるデータ列を編集するための
プログラム。
18. The layout changing means is further caused to function as a size reducing means for reducing the size of the component arranged in the lower row by the data column arranging means. A program for editing a data string formed on the described image forming medium.
【請求項19】 前記レイアウト変更手段は、複数のレ
イアウト変更処理を行うことが可能であると共に、前記
形成範囲判定手段によって前記データ列が前記予め定め
られた範囲内に収まると判定されるまで、複数の前記レ
イアウト変更処理を、これらを実行する順番である優先
順位にしたがって順次実行することを特徴とする請求項
14に記載の画像形成媒体に形成されるデータ列を編集
するためのプログラム。
19. The layout changing unit is capable of performing a plurality of layout changing processes, and until the formation range determining unit determines that the data string falls within the predetermined range, The program for editing a data string formed on an image forming medium according to claim 14, wherein the plurality of layout changing processes are sequentially executed in accordance with a priority order which is an order of executing the layout changing processes.
【請求項20】 コンピュータを、 複数の前記レイアウト変更処理の優先順位を変更するた
めの優先順位変更手段としてさらに機能させることを特
徴とする請求項19に記載の画像形成媒体に形成される
データ列を編集するためのプログラム。
20. A data string formed on an image forming medium according to claim 19, further comprising causing a computer to function as a priority changing unit for changing a priority of a plurality of the layout changing processes. A program for editing.
JP2001297798A 2001-09-27 2001-09-27 Data sequence editing apparatus and program Expired - Fee Related JP4677700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001297798A JP4677700B2 (en) 2001-09-27 2001-09-27 Data sequence editing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001297798A JP4677700B2 (en) 2001-09-27 2001-09-27 Data sequence editing apparatus and program

Publications (2)

Publication Number Publication Date
JP2003109020A true JP2003109020A (en) 2003-04-11
JP4677700B2 JP4677700B2 (en) 2011-04-27

Family

ID=19118804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001297798A Expired - Fee Related JP4677700B2 (en) 2001-09-27 2001-09-27 Data sequence editing apparatus and program

Country Status (1)

Country Link
JP (1) JP4677700B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006035523A (en) * 2004-07-23 2006-02-09 Sato Corp Printer
JP2007245663A (en) * 2006-03-17 2007-09-27 Casio Comput Co Ltd Printing device
JP2008155388A (en) * 2006-12-21 2008-07-10 Seiko Epson Corp Printing apparatus and tape printing apparatus
JP2009246601A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Bar code ornamentation apparatus and bar code ornamentation program
JP2012006407A (en) * 2011-09-29 2012-01-12 Sato Holdings Corp Printer
JP2013018140A (en) * 2011-07-07 2013-01-31 Brother Industries Ltd Printing label forming device, printing label forming program, and printing label forming method
JP2013111843A (en) * 2011-11-29 2013-06-10 Seiko Epson Corp Label generation apparatus, label generation system, and label generation method
JP2014188728A (en) * 2013-03-26 2014-10-06 Brother Ind Ltd Printer
JP2019144648A (en) * 2018-02-16 2019-08-29 カシオ計算機株式会社 Image processing apparatus, printing system, printing apparatus, image processing method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260095A (en) * 1991-02-15 1992-09-16 Nippon Telegr & Teleph Corp <Ntt> Character information display system
JPH05216390A (en) * 1992-02-04 1993-08-27 Brother Ind Ltd Electronic learning machine
JPH0651925A (en) * 1992-07-29 1994-02-25 Ricoh Co Ltd Image forming device
JPH06251062A (en) * 1993-02-26 1994-09-09 Sony Corp Information display method and device
JPH07314794A (en) * 1994-05-24 1995-12-05 Tec Corp Label printer
JPH1196157A (en) * 1997-09-25 1999-04-09 Sharp Corp Document processing device and computer-readable recording medium recording document processing program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260095A (en) * 1991-02-15 1992-09-16 Nippon Telegr & Teleph Corp <Ntt> Character information display system
JPH05216390A (en) * 1992-02-04 1993-08-27 Brother Ind Ltd Electronic learning machine
JPH0651925A (en) * 1992-07-29 1994-02-25 Ricoh Co Ltd Image forming device
JPH06251062A (en) * 1993-02-26 1994-09-09 Sony Corp Information display method and device
JPH07314794A (en) * 1994-05-24 1995-12-05 Tec Corp Label printer
JPH1196157A (en) * 1997-09-25 1999-04-09 Sharp Corp Document processing device and computer-readable recording medium recording document processing program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006035523A (en) * 2004-07-23 2006-02-09 Sato Corp Printer
JP2007245663A (en) * 2006-03-17 2007-09-27 Casio Comput Co Ltd Printing device
US8270034B2 (en) 2006-03-17 2012-09-18 Casio Computer Co., Ltd. Printing apparatus for printing a two-dimensional code together with characters on a medium having a designated size
JP2008155388A (en) * 2006-12-21 2008-07-10 Seiko Epson Corp Printing apparatus and tape printing apparatus
JP2009246601A (en) * 2008-03-31 2009-10-22 Brother Ind Ltd Bar code ornamentation apparatus and bar code ornamentation program
JP2013018140A (en) * 2011-07-07 2013-01-31 Brother Industries Ltd Printing label forming device, printing label forming program, and printing label forming method
JP2012006407A (en) * 2011-09-29 2012-01-12 Sato Holdings Corp Printer
JP2013111843A (en) * 2011-11-29 2013-06-10 Seiko Epson Corp Label generation apparatus, label generation system, and label generation method
JP2014188728A (en) * 2013-03-26 2014-10-06 Brother Ind Ltd Printer
JP2019144648A (en) * 2018-02-16 2019-08-29 カシオ計算機株式会社 Image processing apparatus, printing system, printing apparatus, image processing method, and program
JP7087434B2 (en) 2018-02-16 2022-06-21 カシオ計算機株式会社 Image processing equipment, printing system, printing equipment, image processing method and program

Also Published As

Publication number Publication date
JP4677700B2 (en) 2011-04-27

Similar Documents

Publication Publication Date Title
CN1072565C (en) Printing apparatus
US8582133B2 (en) Cable label forming apparatus, tape printing apparatus, method of forming cable label for cable label forming apparatus and program
EP0577247B1 (en) Tape print device
CN101045402B (en) Printing apparatus and format edit program recorded in computer-readable recording medium
US8082495B2 (en) Label creating apparatus and program
JP4501985B2 (en) Label data creation device, program, and recording medium
JP2010523366A (en) Tape printer
JP2003109020A (en) Data string editing device and program
JP2003085163A (en) Character string editing device and character string editing program
JP2000076231A (en) Output image data creation recording medium, output image data creation device and printer
CN100413694C (en) Belt printing device and control method thereof
CN101628508B (en) Documentation apparatus and tape printing apparatus
JP3377277B2 (en) Document processing device
JP4506230B2 (en) Tape printer
JP3464205B2 (en) Tape printer
JP2976416B2 (en) Barcode printing device
JP3445661B2 (en) Tape-shaped label making device
JP4534502B2 (en) Tape printer
JPH0825710A (en) Tape label making device
JP3254653B2 (en) Tape printer
JPH0781149A (en) Printer for label making
JPH0781150A (en) Printer for label making
JP2914473B2 (en) Document processing device
JP3237979B2 (en) Tape printer
JP6175872B2 (en) Printing apparatus and content editing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100803

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101001

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101213

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110104

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110117

R150 Certificate of patent or registration of utility model

Ref document number: 4677700

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees