JP5109575B2 - Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus - Google Patents

Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus Download PDF

Info

Publication number
JP5109575B2
JP5109575B2 JP2007272828A JP2007272828A JP5109575B2 JP 5109575 B2 JP5109575 B2 JP 5109575B2 JP 2007272828 A JP2007272828 A JP 2007272828A JP 2007272828 A JP2007272828 A JP 2007272828A JP 5109575 B2 JP5109575 B2 JP 5109575B2
Authority
JP
Japan
Prior art keywords
length
characters
excess
character string
character
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.)
Active
Application number
JP2007272828A
Other languages
Japanese (ja)
Other versions
JP2009101527A (en
Inventor
紀章 村山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007272828A priority Critical patent/JP5109575B2/en
Publication of JP2009101527A publication Critical patent/JP2009101527A/en
Application granted granted Critical
Publication of JP5109575B2 publication Critical patent/JP5109575B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、定長領域の長さを予め設定する機能を有する情報処理装置、テープ印刷装置、情報処理装置の文字列表示方法およびプログラムに関する。   The present invention relates to an information processing apparatus, a tape printing apparatus, a character string display method for an information processing apparatus, and a program having a function of presetting the length of a fixed length area.

従来、ユーザが予め印刷テープの長さを設定することで所望の長さの印刷テープを作成する機能、いわゆる定長印刷機能を有するテープ印刷装置が知られている。このテープ印刷装置では、ユーザが入力した文字列に基づく印刷画像が予め設定された定長領域(定長範囲)に収まらない場合、印刷画像を縮小して定長領域に収まるようにする(例えば、特許文献1参照)。
特開平11−277837号公報
2. Description of the Related Art Conventionally, a tape printing apparatus having a function of creating a printing tape having a desired length by setting a length of the printing tape in advance by a user, that is, a so-called constant length printing function is known. In this tape printing apparatus, when a print image based on a character string input by a user does not fit in a preset fixed-length area (fixed-length range), the print image is reduced so as to fit in the fixed-length area (for example, , See Patent Document 1).
Japanese Patent Laid-Open No. 11-277837

ところで、上記のテープ印刷装置では、入力した文字列に基づく印刷画像が定長領域に収まらない場合、最終的には「定長字余り」という警告表示をしてユーザにその旨を報知している。しかしながら、ユーザからみれば、定長領域に収まらないことは把握できるものの、一体どれくらいの文字数が字余りになっているのかを把握することは困難である。つまり、字余りの文字数を把握するためには、ユーザは警告表示が出なくなるまで、ある程度の文字の削除を繰り返し行う必要があり、手間がかかると共に入力した文字を忘れてしまうという問題がある。   By the way, in the above-described tape printer, when the print image based on the inputted character string does not fit in the fixed length area, a warning message “Remaining fixed length characters” is finally displayed to notify the user to that effect. . However, although it can be understood from the user that it does not fit in the fixed-length area, it is difficult to grasp how many characters are in excess. In other words, in order to grasp the number of remaining characters, it is necessary for the user to repeatedly delete a certain amount of characters until no warning is displayed, which is troublesome and forgets the input characters.

本発明は、このような問題点に鑑み、定長領域の長さを超える文字列を入力したことにより字余りが発生した場合、ユーザが字余り分の文字および文字数を容易に把握することができる情報処理装置、テープ印刷装置、情報処理装置の文字列表示方法およびプログラムを提供する。   In view of such a problem, the present invention provides information that allows a user to easily grasp the characters and the number of characters for the remaining character when a character residue occurs due to the input of a character string exceeding the length of the fixed length region. A character string display method and program for a processing device, a tape printing device, and an information processing device are provided.

本発明の情報処理装置は、印字対象となる文字を入力する入力手段と、定長領域の長さを設定する定長設定手段と、入力された1以上の文字から成る文字列の長さを算出する文字列長算出手段と、算出された文字列の長さが、定長領域の長さを超過するか否かを判別する超過判別手段と、超過判別手段により文字列の長さ>定長領域の長さであると判別した場合、文字列の長さ≦定長領域の長さになるまで、最後に入力された文字から入力順序を遡って文字列から文字を差し引いた文字列の長さと、定長領域の長さと、を比較することで、超過した長さに相当する文字数を算出する超過文字数算出手段と、超過文字数算出手段による算出結果に基づいて、最後に入力された文字から入力順序を遡って、超過した文字数分の文字を超過文字とし、超過文字とそれ以外の文字とを識別可能に表示する表示手段と、を備えたことを特徴とする。
また、上記の情報処理装置において、表示手段は、文字列の長さが定長領域の長さを超過する原因が、既に入力済の文字列の途中に文字を挿入したことである場合、超過文字数算出手段による算出結果に基づいて、挿入した文字の最後に入力された文字から入力順序を遡って、超過した文字数分の文字を超過文字として表示することを特徴とする。
また、上記の情報処理装置において、表示手段は、超過文字を点滅させて表示すると共に超過文字以外の文字を通常表示することを特徴とする。
また、上記の情報処理装置において、表示手段は、超過文字の文字数をさらに数値表示することを特徴とする。
本発明のテープ印刷装置は、上記に記載の情報処理装置における各手段と、定長領域の長さに相当する印刷テープに、超過文字以外の文字を印刷する印刷手段と、を備えたことを特徴とする。
本発明の情報処理装置の文字列表示方法は、定長領域の長さを設定する定長設定工程と、入力された1以上の文字から成る文字列の長さを算出する文字列長算出工程と、算出された文字列の長さが、定長領域の長さを超過するか否かを判別する超過判別工程と、超過判別工程により文字列の長さ>定長領域の長さであると判別した場合、文字列の長さ≦定長領域の長さになるまで、最後に入力された文字から入力順序を遡って文字列から文字を差し引いた文字列の長さと、定長領域の長さと、を比較することで、超過した長さに相当する文字数を算出する超過文字数算出工程と、超過文字数算出工程による算出結果に基づいて、最後に入力された文字から入力順序を遡って、超過した文字数分の文字を超過文字とし、超過文字とそれ以外の文字とを識別可能に表示する表示工程と、を備えたことを特徴とする。
本発明のプログラムは、コンピュータに、上記に記載の情報処理装置の文字列表示方法における各工程を実行させるためのものであることを特徴とする。
なお、以下の構成としても良い。
本発明の情報処理装置は、印字対象となる文字を入力する入力手段と、定長領域の長さを設定する定長設定手段と、入力された1以上の文字から成る文字列の長さを算出する文字列長算出手段と、算出された文字列の長さが、定長領域の長さを超過するか否かを判別する超過判別手段と、超過判別手段により文字列の長さが定長領域の長さを超過したと判別された場合、当該超過した長さに相当する文字数を算出する超過文字数算出手段と、超過文字数算出手段による算出結果に基づいて、最後に入力された文字から入力順序を遡って、超過した文字数分の文字である超過文字を当該超過文字以外の文字と識別可能に表示する表示手段と、を備えたことを特徴とする。
The information processing apparatus according to the present invention includes an input unit that inputs characters to be printed, a fixed length setting unit that sets the length of a fixed length region, and a length of a character string that includes one or more input characters. Character string length calculation means to be calculated, excess determination means for determining whether or not the calculated character string length exceeds the length of the fixed length area, and the length of the character string> fixed by the excess determination means If it is determined that the length is the length of the long area, the character string is obtained by subtracting the characters from the last input character from the last input character until the length of the character string ≤ the length of the constant length area. By comparing the length with the length of the fixed-length area, the last character entered based on the calculation result by the excess character count calculation means for calculating the number of characters corresponding to the excess length and the excess character count calculation means Go back to the input order and set the excess characters as excess characters. And display means for identifiably displaying the excess characters and other characters, characterized by comprising a.
In the above information processing apparatus, the display means may exceed the length of the character string if the reason that the length of the character string exceeds the length of the fixed length area is that a character has been inserted in the middle of the already input character string. Based on the calculation result by the number-of-characters calculation means, the input order is traced back from the last input character of the inserted characters, and the excess number of characters is displayed as an excess character.
In the above information processing apparatus, the display means displays excess characters blinking and normally displays characters other than the excess characters.
In the above information processing apparatus, the display means further displays the number of excess characters numerically.
A tape printer according to the present invention comprises: each unit in the information processing apparatus described above; and a printing unit that prints characters other than excess characters on a printing tape corresponding to the length of the fixed length region. Features.
A character string display method for an information processing apparatus according to the present invention includes a constant length setting step for setting a length of a constant length region, and a character string length calculation step for calculating the length of a character string composed of one or more input characters. And an excess determination step for determining whether or not the calculated length of the character string exceeds the length of the fixed length region, and the length of the character string> the length of the fixed length region by the excess determination step If the length of the character string is equal to or less than the length of the constant-length area, the length of the character string obtained by subtracting the character from the character string from the last input character and the length of the constant-length area Based on the calculation result of the excess character count calculation step that calculates the number of characters corresponding to the excess length by comparing the length with the excess character count calculation step, the input order is traced back from the last input character, The excess characters are regarded as excess characters, and the excess characters and other statements Characterized by comprising a display step of identifiably displayed and.
The program of the present invention is for causing a computer to execute each step in the character string display method of the information processing apparatus described above.
The following configuration may be used.
The information processing apparatus according to the present invention includes an input unit that inputs characters to be printed, a fixed length setting unit that sets the length of a fixed length region, and a length of a character string that includes one or more input characters. The character string length is determined by the calculated character string length calculating means, the excess determining means for determining whether the calculated character string length exceeds the length of the fixed length area, and the excess determining means. If it is determined that the length of the long area has been exceeded, the excess character count calculation means for calculating the number of characters corresponding to the excess length and the character input from the last input based on the calculation result by the excess character count calculation means It is characterized by comprising display means for displaying the excess characters, which are as many as the number of characters exceeding the input order, so as to be distinguishable from characters other than the excess characters.

また、本発明の情報処理装置の文字列表示方法は、定長領域の長さを設定する定長設定工程と、入力された1以上の文字から成る文字列の長さを算出する文字列長算出工程と、算出された文字列の長さが、定長領域の長さを超過するか否かを判別する超過判別工程と、超過判別工程により文字列の長さが定長領域の長さを超過したと判別した場合、当該超過した長さに相当する文字数を算出する超過文字数算出工程と、超過文字数算出工程による算出結果に基づいて、最後に入力された文字から入力順序を遡って、超過した文字数分の文字である超過文字を当該超過文字以外の文字と識別可能に表示する表示工程と、を備えたことを特徴とする。   Further, the character string display method of the information processing apparatus according to the present invention includes a constant length setting step for setting the length of the constant length region, and a character string length for calculating the length of the character string composed of one or more input characters. The calculation process, the excess determination process for determining whether the calculated character string length exceeds the length of the fixed length area, and the length of the character string by the excess determination process is the length of the fixed length area Based on the calculation result of the excess character count calculation step for calculating the number of characters corresponding to the excess length and the calculation result of the excess character count calculation step, the input order is traced back from the last input character, A display step of displaying an excess character, which is the number of excess characters, so as to be distinguishable from characters other than the excess characters.

これらの構成によれば、入力された文字列(文字)の長さが定長領域の長さを超過する場合(入力された文字列が定長領域に収容できず、字余りが発生する場合)、定長領域を超過する文字数を算出する。そして、その算出結果に基づいて、最後に入力された文字から入力順序を遡って、超過文字(超過した文字数分の文字)を当該超過文字以外の文字と識別できるように表示する。これにより、ユーザはどの文字が超過文字であり、何文字超過しているのかを容易に把握することができる。また、ユーザは超過文字および文字数を把握することで、後何文字削除すれば定長領域に収めることができるか、あるいは、文字列(単語)の一部が超過文字の対象となっている場合には、入力された文字列から超過文字を引いた文字数の文字列(単語)に変更すれば、入力された文字列が定長領域に収まるということを知ることができる。また、例えば、入力した文字列が定長領域を超えてしまう要因の1つとして、一旦文章を作成し、その後、修飾語句(文章の内容を分かり易くするための文字(文字列)、形容詞、副詞)などを挿入して文章の内容をより詳細にするような場合が考えられる。このような場合、文章の最後尾から定長を超えた部分を超過文字として削除すると、文章の意味が損なわれる。そこで、最後に挿入した文字から入力順序を遡って超過文字とすることで(上記の修飾語句の一部または全部に相当)、当該超過文字を削除/変更したとしても文意を損なわずに定長領域内に収めることができる。なお、定長領域とは貼付対象領域に貼付可能な長さの範囲をいう。   According to these configurations, when the length of the input character string (character) exceeds the length of the fixed-length area (when the input character string cannot be accommodated in the fixed-length area and a remainder is generated) The number of characters exceeding the fixed length area is calculated. Based on the calculation result, the input order is traced back from the last input character, and the excess characters (characters corresponding to the excess number of characters) are displayed so as to be distinguished from characters other than the excess characters. Thereby, the user can easily grasp which characters are excess characters and how many characters are exceeded. Also, if the user knows the excess characters and the number of characters, how many characters can be deleted later to fit in the fixed-length area, or when a part of the character string (word) is the target of excess characters It is possible to know that if the input character string is changed to a character string (word) having the number of characters obtained by subtracting excess characters from the input character string, the input character string can fit in the fixed-length area. Also, for example, as one of the factors that the input character string exceeds the fixed length region, a sentence is once created, and then a modifier (character (character string), adjective to make the contents of the sentence easy to understand, In some cases, the content of the sentence is made more detailed by inserting an adverb). In such a case, if the portion exceeding the fixed length from the end of the sentence is deleted as an excess character, the meaning of the sentence is impaired. Therefore, by setting the input order backward from the last inserted character to be an excess character (corresponding to a part or all of the above modifier), even if the excess character is deleted / changed, it is determined without impairing the meaning of the sentence. Can fit in long area. The constant length region means a range of length that can be pasted to the pasting target region.

この場合、表示手段は、超過文字を点滅させて表示すると共に超過文字以外の文字を通常表示することが好ましい。   In this case, it is preferable that the display means displays excess characters blinking and normally displays characters other than the excess characters.

この構成によれば、超過文字を点滅させ、それ以外の文字を通常表示させることで、超過文字を一層際立たせることができ、ユーザに対して超過文字をより確実に伝えることができる。   According to this configuration, the excess characters are blinked and the other characters are normally displayed, so that the excess characters can be made more prominent, and the excess characters can be more reliably transmitted to the user.

これらの場合、表示手段は、超過文字の文字数をさらに数値表示することが好ましい。   In these cases, it is preferable that the display means further displays the number of excess characters numerically.

この構成によれば、超過文字の文字数を数値表示することで、ユーザは何文字超過しているかを容易に把握することができる。   According to this configuration, by displaying the number of excess characters numerically, the user can easily grasp how many characters have been exceeded.

本発明のテープ印刷装置は、上記に記載の情報処理装置における各手段と、定長領域の長さに相当する印刷テープに、超過文字以外の文字を印刷する印刷手段と、を備えたことを特徴とする。   A tape printer according to the present invention comprises: each unit in the information processing apparatus described above; and a printing unit that prints characters other than excess characters on a printing tape corresponding to the length of the fixed length region. Features.

この構成によれば、定長領域を超過する文字列が入力された場合、最後に入力された文字から入力順序を遡って、超過した超過文字および文字数を表示することで、ユーザは何文字削除すればよいのか、あるいは何文字の文字列に変更すれば定長領域に収まるのかを容易に把握することができる。そして、対象となる超過文字を削除/変更することで文章の意味を損ねることなく修正を行い、文字列を定長領域に収めることが容易となる。このため、貼付対象領域に貼付可能な長さ(定長)の印刷テープを印刷(作成)することが求められるテープ印刷装置に適用することで、より効果的である。   According to this configuration, when a character string exceeding the fixed length area is input, the user deletes the number of characters by displaying the excess characters and the number of characters exceeding the last input character. It is possible to easily grasp how many characters should be processed or how many characters the character string can be changed to fit in the fixed-length area. Then, by deleting / changing the target excess characters, it is possible to make corrections without impairing the meaning of the sentence, and to easily store the character string in the fixed length area. For this reason, it is more effective when applied to a tape printer that is required to print (create) a printing tape having a length (fixed length) that can be applied to the application target region.

本発明のプログラムは、コンピュータに上記に記載の情報処理装置の文字列表示方法における各工程を実行させるためのものであることを特徴とする。   The program of the present invention is for causing a computer to execute each step in the character string display method of the information processing apparatus described above.

このプログラムを用いることにより、定長領域を超える文字列が入力され字余りが発生した場合、最後に入力された文字から超過した文字数分の超過文字を、当該超過文字以外の文字と識別可能に表示すると共に当該超過文字の文字数を表示することができる。   By using this program, when a character string exceeding the fixed length area is input and a character remainder occurs, the excess characters for the number of characters exceeding the last input character are displayed so that they can be distinguished from the other characters. In addition, the number of excess characters can be displayed.

以下、本発明の一実施形態について、添付図面を参照しながら詳細に説明する。本実施形態では、情報処理装置の各手段(各工程)を適用した電子機器として、テープ状媒体に印刷を行うことによってラベルを作成するテープ印刷装置を例に挙げて説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In the present embodiment, as an electronic apparatus to which each means (each process) of the information processing apparatus is applied, a tape printing apparatus that creates a label by printing on a tape-like medium will be described as an example.

図1は、本実施形態に係るテープ印刷装置1の開閉蓋4を開いた状態の外観斜視図である。図1に示すようにテープ印刷装置1は、装置ケース2により外郭が形成され、装置ケース2の前部上面には各種入力キーを備えたキーボード3(入力手段)が配置されると共に、後部上面には、その左部に開閉蓋4が取り付けられ、その右部には表示画面5が配設されている。開閉蓋4の内側にはテープカートリッジCを装着するためのカートリッジ装着部6が窪入形成されており、テープカートリッジCは、開閉蓋4を開放した状態でカートリッジ装着部6に着脱可能に装着される。また、開閉蓋4にはこれを閉じた状態でテープカートリッジCの装着/非装着を視認するための覗き窓7が形成されている。   FIG. 1 is an external perspective view of the tape printer 1 according to the present embodiment with the opening / closing lid 4 opened. As shown in FIG. 1, the tape printer 1 has an outer case formed by an apparatus case 2, and a keyboard 3 (input means) having various input keys is disposed on the upper surface of the front of the apparatus case 2, and the upper surface of the rear part. Is provided with an opening / closing lid 4 on its left side and a display screen 5 on its right side. A cartridge mounting portion 6 for mounting a tape cartridge C is recessed inside the opening / closing lid 4, and the tape cartridge C is detachably mounted on the cartridge mounting portion 6 with the opening / closing lid 4 opened. The The open / close lid 4 is formed with a viewing window 7 for visually confirming mounting / non-mounting of the tape cartridge C in the closed state.

キーボード3には、文字キー群3a、および各種動作モード等を指定するための機能キー群3bが配列されている。文字キー群3aは、JIS配列に基づいたフルキー構成であり、操作するキー数の増加を抑えるためのシフトキーを備えるなど、一般のワードプロセッサ等と同様である。また、機能キー群3bには、定長印刷時のテープ長(定長領域)を設定する[定長印刷]キー11、印刷を指示するための[印刷]キー12、カーソル移動やスクロール操作を行うためのカーソルキー([↓],[↑],[←],[→])13、メニューの選択や入力された文字列の確定などを行うための[選択改行]キー14、文字を削除する[削除]キー15などが含まれる。   On the keyboard 3, a character key group 3a and a function key group 3b for designating various operation modes are arranged. The character key group 3a has a full key configuration based on the JIS layout, and is similar to a general word processor or the like, including a shift key for suppressing an increase in the number of keys to be operated. The function key group 3b includes a [fixed length print] key 11 for setting a tape length (fixed length area) for fixed length printing, a [print] key 12 for instructing printing, cursor movement and scroll operations. Cursor keys ([↓], [↑], [←], [→]) 13 for performing, [Select line feed] key 14 for performing menu selection, input character string confirmation, etc., deleting characters [Delete] key 15 is included.

表示画面5は、液晶ディスプレイであり、ユーザがキーボード3からデータを入力して、文字列(テキスト)や画像などの印刷データを作成・編集したり、その結果等を確認したりする際に用いられる。また、詳細は後述するが、ユーザにより入力された文字列や画像が定長領域を超えた場合には、その旨を通知するための情報を表示する。   The display screen 5 is a liquid crystal display, and is used when a user inputs data from the keyboard 3 to create / edit print data such as a character string (text) or an image, and confirm the result. It is done. Although details will be described later, when the character string or image input by the user exceeds the fixed length area, information for notifying that is displayed.

装置ケース2の左側部には、カートリッジ装着部6と外部とを連通するテープ排出口21が形成され、このテープ排出口21には、送り出した印刷テープT(テープ状部材)を切断するためのテープカッタ22が臨んでいる。そして、テープ排出口21から印刷済みの印刷テープTが所定長さだけ送り出され、送りを一旦停止させた状態で、この印刷済みの印刷テープTをテープカッタ22により切断することにより、ラベルを作成する。なお、切断処理については、自動カットと手動カットとを切り替え可能であり、定長印刷などの場合には自動(オート)で、任意長印刷などの場合にはキーボード3に含まれるカットキーの操作により手動(マニュアル)で、カッタモータ23(図3参照)を駆動する。   On the left side of the apparatus case 2 is formed a tape discharge port 21 that allows the cartridge mounting portion 6 to communicate with the outside, and this tape discharge port 21 is used for cutting the fed print tape T (tape-like member). The tape cutter 22 is facing. Then, the printed printing tape T is sent out from the tape discharge port 21 by a predetermined length, and after the feeding is temporarily stopped, the printed printing tape T is cut by the tape cutter 22 to create a label. To do. The cutting process can be switched between automatic cutting and manual cutting, and is automatic (automatic) for fixed-length printing or the like, and operation of a cut key included in the keyboard 3 for arbitrary-length printing or the like. Thus, the cutter motor 23 (see FIG. 3) is driven manually.

一方、カートリッジ装着部6には、ヘッドカバー25内にサーマルヘッドから成る印刷ヘッド26(印刷手段)が内蔵されたヘッドユニット24と、印刷ヘッド26に対峙するプラテン駆動軸27と、後述のインクリボンRを巻き取る巻き取り駆動軸28と、後述のテープリール32の位置決め突起29とを備えている。また、カートリッジ装着部6の下側には、プラテン駆動軸27および巻き取り駆動軸28を回転させるテープ送りモータ30(図3参照)が内蔵されている。   On the other hand, the cartridge mounting unit 6 includes a head unit 24 in which a print head 26 (printing means) including a thermal head is built in a head cover 25, a platen drive shaft 27 facing the print head 26, and an ink ribbon R described later. Is provided with a take-up drive shaft 28 and a positioning projection 29 of a tape reel 32 described later. Further, a tape feed motor 30 (see FIG. 3) for rotating the platen drive shaft 27 and the take-up drive shaft 28 is built in the lower side of the cartridge mounting portion 6.

テープカートリッジCは、カートリッジケース31内部の上部中央部に、一定の幅(4.5mm〜48mm程度)の印刷テープTを巻回したテープリール32と、右下部にインクリボンRを巻回したリボンリール33とを収容して構成されており、印刷テープTとインクリボンRは同じ幅で構成されている。また、テープリール32の左下部には前記ヘッドユニット24を覆うヘッドカバー25に差し込むための貫通孔34が形成されており、印刷テープTとインクリボンRとが重なる部分に対応して、前記プラテン駆動軸27に嵌合されて回転駆動するプラテンローラ35が配置されている。一方、前記リボンリール33に近接してリボン巻き取りリール36が配置され、リボンリール33から繰り出されたインクリボンRは、ヘッドカバー25を周回するように配置されたリボン巻き取りリール36に巻き取られるようになっている。   The tape cartridge C has a tape reel 32 in which a printing tape T having a certain width (about 4.5 mm to 48 mm) is wound at the upper center portion inside the cartridge case 31, and a ribbon in which an ink ribbon R is wound in the lower right portion. The reel 33 is accommodated, and the printing tape T and the ink ribbon R are configured with the same width. A through hole 34 for insertion into the head cover 25 covering the head unit 24 is formed in the lower left portion of the tape reel 32, and the platen driving is performed corresponding to the portion where the printing tape T and the ink ribbon R overlap. A platen roller 35 that is fitted to the shaft 27 and rotationally driven is disposed. On the other hand, a ribbon take-up reel 36 is arranged in the vicinity of the ribbon reel 33, and the ink ribbon R fed out from the ribbon reel 33 is taken up by the ribbon take-up reel 36 arranged so as to go around the head cover 25. It is like that.

印刷テープTは、裏面に粘着剤層が形成された記録テープTa(基材テープ)と、この粘着剤層により記録テープTaに貼付けられた剥離テープTbとから構成されている(図1参照)。印刷テープTは、記録テープTaを外側にし、かつ剥離テープTbを内側にしてロール状に巻回されてカートリッジケース31内に収容されている。また、印刷テープTは、テープ種別(テープ幅、テープ色、インク色など)が異なる複数種のものが用意されており、カートリッジケース31の裏側には、この種別を特定する複数の孔(図示省略)が設けられている。また、複数の孔に対応してカートリッジ装着部6には、これらを識別するテープ識別センサ(マイクロスイッチ)37(図3参照)が、複数設けられており、このテープ識別センサ37により複数の孔の状態を検出することで、テープ種別を判別できるようになっている。   The printing tape T is composed of a recording tape Ta (base material tape) having an adhesive layer formed on the back surface and a release tape Tb attached to the recording tape Ta by this adhesive layer (see FIG. 1). . The printing tape T is wound in a roll shape with the recording tape Ta on the outside and the release tape Tb on the inside, and is accommodated in the cartridge case 31. In addition, a plurality of types of printing tape T having different tape types (tape width, tape color, ink color, etc.) are prepared, and a plurality of holes (illustrated) are specified on the back side of the cartridge case 31. (Omitted) is provided. In addition, a plurality of tape identification sensors (microswitches) 37 (see FIG. 3) for identifying these are provided in the cartridge mounting portion 6 corresponding to the plurality of holes. By detecting this state, the tape type can be determined.

次に、図2を参照し、表示画面5の表示内容について説明する。図2は、表示画面5にテキスト入力画面41を表示した状態を示したものである。表示画面5は、横方向に区切った3つの領域(上から上部インジケータ領域43a、テキスト領域42、下部インジケータ領域43b)に分割されている。上部インジケータ領域43aおよび下部インジケータ領域43bは、表示画面5の上下に標記された各項目に対応する所定の情報を示す領域である。また、テキスト領域42は、縦方向に区切った2つの領域(左端部領域45と、それ以外の領域であるメイン領域46)に分割されている。なお、図2では、上記の各領域を点線で区切っているが、実際の表示画面5上には、この点線は表示されない。また、上記各領域は、物理的には1の液晶ディスプレイで構成される。   Next, the display content of the display screen 5 will be described with reference to FIG. FIG. 2 shows a state in which the text input screen 41 is displayed on the display screen 5. The display screen 5 is divided into three regions (upper indicator region 43a, text region 42, and lower indicator region 43b from the top) divided in the horizontal direction. The upper indicator area 43 a and the lower indicator area 43 b are areas indicating predetermined information corresponding to the items marked on the upper and lower sides of the display screen 5. The text area 42 is divided into two areas (the left end area 45 and the main area 46, which is the other area) divided in the vertical direction. In FIG. 2, each of the above regions is divided by dotted lines, but these dotted lines are not displayed on the actual display screen 5. Each area is physically constituted by one liquid crystal display.

テキスト領域42の左端部領域45は、テープ長さ(単位:cm)とテープ幅(単位:mm)とを数値表示する(参照番号51)。テープ長さとは、入力された情報に基づいて算出される印刷テープT(ラベル)の長手方向における長さを指す。また、テープ幅とは、テープ識別センサ37の検出結果に基づく印刷テープTの幅方向における長さを示す。   The left end area 45 of the text area 42 displays the tape length (unit: cm) and the tape width (unit: mm) as numerical values (reference number 51). The tape length refers to the length in the longitudinal direction of the printing tape T (label) calculated based on the input information. Further, the tape width indicates the length in the width direction of the printing tape T based on the detection result of the tape identification sensor 37.

また、表示画面5にテキスト入力画面41を表示している状態において、テキスト領域42のメイン領域46は、その下側に、入力されたテキスト内容52を表示する。テキスト内容52には、何行目の入力であるかを示す行頭マーク53、入力された文字列54、および入力位置(編集位置)を示すカーソルKが含まれている。さらに、メイン領域46の上側には、入力されたテキスト内容52に基づいて、印刷レイアウト55を反転表示する。   In the state where the text input screen 41 is displayed on the display screen 5, the main area 46 of the text area 42 displays the input text content 52 below the main area 46. The text content 52 includes a line head mark 53 indicating what line is input, an input character string 54, and a cursor K indicating an input position (edit position). Further, the print layout 55 is highlighted on the upper side of the main area 46 based on the input text content 52.

一方、上部インジケータ領域43aおよび下部インジケータ領域43bには、3本の線から成る指標マーク56(56a〜56f)を複数箇所表示する。この指標マーク56は、表示画面5の上下に設けられた項目表示部47の各項目に対応しており、項目表示部47の標記に対応する位置に指標マーク56が表示されている場合、その項目が設定されている、またはカーソル指定されている文字がその項目に該当することを意味する。例えば、図2に示した6つの指標マーク56は、自動カット設定(指標マーク56a)、よこ書設定(指標マーク56b)、文字サイズが26ポイント(指標マーク56c)、ABC入力(指標マーク56d)、定長設定(指標マーク56e)、書体がゴシック体(指標マーク56f)であることを示している。   On the other hand, in the upper indicator area 43a and the lower indicator area 43b, a plurality of index marks 56 (56a to 56f) including three lines are displayed. The index mark 56 corresponds to each item of the item display unit 47 provided at the top and bottom of the display screen 5. When the index mark 56 is displayed at a position corresponding to the mark of the item display unit 47, This means that the item is set or the character specified by the cursor corresponds to the item. For example, the six index marks 56 shown in FIG. 2 include automatic cut setting (index mark 56a), horizontal writing setting (index mark 56b), character size of 26 points (index mark 56c), and ABC input (index mark 56d). , Constant length setting (index mark 56e), and indicates that the typeface is Gothic (index mark 56f).

次に、図3の制御ブロック図を参照し、テープ印刷装置1の制御構成について説明する。テープ印刷装置1は、中央処理装置であるCPU(Central Processing Unit)61、RAM(Random Access Memory)62、ROM(Read Only Memory)63、表示画面5、キーボード3、カッタモータ23、テープカッタ22、テープ送りモータ30、印刷ヘッド26およびテープ識別センサ37を備えている。また、これらのうち、ROM63、表示画面5、キーボード3、カッタモータ23、テープ送りモータ30、印刷ヘッド26およびテープ識別センサ37はバス64を介してCPU61と接続されている。また、CPU61は、RAM62と直接接続されており、当該RAM62を、各種制御を行う際のワークエリアとして用いる。   Next, the control configuration of the tape printer 1 will be described with reference to the control block diagram of FIG. The tape printer 1 includes a central processing unit (CPU) 61, a random access memory (RAM) 62, a read only memory (ROM) 63, a display screen 5, a keyboard 3, a cutter motor 23, a tape cutter 22, A tape feed motor 30, a print head 26, and a tape identification sensor 37 are provided. Of these, ROM 63, display screen 5, keyboard 3, cutter motor 23, tape feed motor 30, print head 26, and tape identification sensor 37 are connected to CPU 61 via bus 64. The CPU 61 is directly connected to the RAM 62, and the RAM 62 is used as a work area when performing various controls.

ROM63は、CPU61が各種制御を行うための制御プログラムおよび制御データを記憶している。制御プログラムとしては、具体的に、定長設定プログラム65(定長設定手段)、定長超過判別プログラム66(文字列長算出手段,超過判別手段,超過文字数算出手段)が含まれる。定長設定プログラム65は、作成される印刷テープT(ラベル)の長さ(定長領域)を設定するものである。定長超過判別プログラム66は、入力された文字列の長さが設定された定長領域を超過するか否かを判別し、文字列の長さが定長領域の長さを超過して字余りが発生した場合、超過した文字数を算出すると共に超過対象となる文字(以下、「超過文字」と称す。)を特定するものである。   The ROM 63 stores a control program and control data for the CPU 61 to perform various controls. Specifically, the control program includes a fixed length setting program 65 (fixed length setting means) and a fixed length excess determination program 66 (character string length calculation means, excess determination means, excess character number calculation means). The fixed length setting program 65 sets the length (fixed length region) of the print tape T (label) to be created. The fixed length excess determination program 66 determines whether or not the length of the input character string exceeds the set fixed length area, and the length of the character string exceeds the length of the fixed length area and the character remainder When the error occurs, the excess number of characters is calculated and the character to be exceeded (hereinafter referred to as “excess characters”) is specified.

表示画面5は、入力された文字列や定長字余りの警告を表示するための表示手段として機能する。特に、図4に示すように、入力した文字列の長さが定長領域の長さを超過して字余りが発生した場合、超過文字71を点滅させることで、超過文字71を当該超過文字71以外の文字(以下、「非超過文字72」と称す。)と識別できるように表示を行う。   The display screen 5 functions as a display unit for displaying an input character string or a warning about remaining fixed-length characters. In particular, as shown in FIG. 4, when the length of the input character string exceeds the length of the fixed length area and a character remainder occurs, the excess character 71 is caused to blink, thereby causing the excess character 71 to flash. Is displayed so that it can be distinguished from other characters (hereinafter referred to as “non-excess characters 72”).

カッタモータ23は、テープカッタ22と接続され、切断手段として機能する。また、テープ送りモータ30および印刷ヘッド26は、印刷テープT上に印刷を行うための印刷手段として機能する。印刷ヘッド26およびテープ識別センサ37は、上記のとおり、カートリッジ装着部6に設けられ、テープ識別センサ37は、テープカートリッジCに収容された印刷テープTの種別を検出する。   The cutter motor 23 is connected to the tape cutter 22 and functions as a cutting means. The tape feed motor 30 and the print head 26 function as printing means for performing printing on the printing tape T. The print head 26 and the tape identification sensor 37 are provided in the cartridge mounting portion 6 as described above, and the tape identification sensor 37 detects the type of the print tape T accommodated in the tape cartridge C.

ここで、図5および図6を参照し、入力した文字列が定長領域に収まらない場合の表示画面5(テキスト入力画面41)の状態について説明する。図5に示す画面D01は、まだ何も入力されていない状態のテキスト入力画面41を示している。この状態で、[定長印刷]キー11が押されると、定長印刷設定画面D02に遷移する。定長印刷設定画面D02では、1cm刻みで設定された複数の長さの候補の中から、カーソルキー13の操作によって1の候補を選択できるようになっている。   Here, the state of the display screen 5 (text input screen 41) when the input character string does not fit in the fixed-length area will be described with reference to FIGS. A screen D01 shown in FIG. 5 shows the text input screen 41 in a state where nothing has been input yet. In this state, when the [constant length printing] key 11 is pressed, the screen shifts to the constant length printing setting screen D02. On the fixed-length print setting screen D02, one candidate can be selected by operating the cursor key 13 from a plurality of length candidates set in increments of 1 cm.

画面D02に示すように、複数表示される候補の中から、カーソルキー13を操作して候補[7cm]が選択され(反転表示した状態)、この状態で[選択改行]キー14が押されると、定長として「7cm」に設定し、テキスト入力画面D03に遷移する。なお、画面D03では、定長印刷が設定されている旨を示すために「定長印刷:7cm」と表示しているが、実際は、指標マーク56e(図2参照)が点灯し、定長印刷が設定されていることを示す。   As shown in screen D02, candidate [7cm] is selected from among a plurality of displayed candidates by operating cursor key 13 (in a highlighted state), and in this state, [selected line feed] key 14 is pressed. Then, the fixed length is set to “7 cm”, and a transition is made to the text input screen D03. In the screen D03, “fixed length printing: 7 cm” is displayed to indicate that the fixed length printing is set. However, in actuality, the index mark 56e (see FIG. 2) is lit and the fixed length printing is performed. Indicates that is set.

画面D03の状態において、ユーザにより文字列として「開発東京支部」が入力され、[選択改行]キー14が押されると、入力された文字列を確定して画面D04に遷移する。画面D04の状態では、入力された「開発東京支部」は定長領域に収まると判別し、次の文字の入力待ち状態となる。   In the state of the screen D03, when “development Tokyo branch” is input as a character string by the user and the [selected line feed] key 14 is pressed, the input character string is confirmed and the screen is shifted to the screen D04. In the state of the screen D04, it is determined that the input “development Tokyo branch” falls within the fixed-length area, and the next character input waiting state is entered.

次に、画面D04の状態において、ユーザにより[←]カーソルキー13が4回押され、文字「発」と「東」の間に「グループ」という文字列が挿入されると、図6に示す画面D05の状態に遷移する。この状態で、[選択改行]キー14が押されると、「グループ」を確定して画面D06に遷移する。この画面D06では、挿入した文字列を含めた「開発グループ東京支社」は、設定した定長領域に収まらないと判別し、メイン領域46の上側(印刷レイアウト55)に「定長→字余り」の警告表示を行うと共に、定長領域を超過した文字数の超過文字71を点滅表示する。この超過文字71は、最後に入力した文字から入力順序を遡って超過した文字数分に相当する。つまり、画面D06においては、3文字が超過している(3文字が字余り)と判別し、その対象として最後に入力した「グループ」の末尾の文字「プ」から入力順序を遡って「ー」、「ル」を超過文字71とする。そして、その超過文字71「ループ」を点滅表示する。この時、非超過文字72である「開発グ」および「東京支社」は通常表示される(点滅表示されない)。このように、超過文字71を点滅表示し、非超過文字72を通常表示することで、超過文字71を際立たせることができ、ユーザに対して超過文字71(間接的に超過文字71の文字数)を確実に認識させることができる。つまり、4文字の「グループ」を1文字に変更すれば定長領域に収まると把握できる。   Next, in the state of the screen D04, when the user presses the [←] cursor key four times and the character string “group” is inserted between the characters “Hang” and “East”, it is shown in FIG. Transition to the state of the screen D05. In this state, when the [selected line feed] key 14 is pressed, the “group” is confirmed and the screen shifts to the screen D06. In this screen D06, it is determined that the “development group Tokyo branch office” including the inserted character string does not fit in the set fixed-length area, and “fixed length → character remainder” is displayed above the main area 46 (print layout 55). In addition to displaying a warning, the excess characters 71 exceeding the fixed length area are displayed blinking. The excess characters 71 correspond to the number of characters that have exceeded the input order from the last input character. That is, on the screen D06, it is determined that three characters are exceeded (three characters are the remaining characters), and “-” is traced back from the last character “group” of “group” last input as the target. , “L” is an excess character 71. Then, the excess character 71 “loop” is displayed blinking. At this time, “development group” and “Tokyo branch office” which are non-excess characters 72 are normally displayed (not blinking). In this way, the excess characters 71 are displayed blinking and the non-excess characters 72 are normally displayed, so that the excess characters 71 can be highlighted, and the excess characters 71 (the number of characters of the excess characters 71 indirectly) for the user. Can be reliably recognized. In other words, it can be understood that if the “group” of 4 characters is changed to 1 character, it will fit in the fixed length area.

画面D07は、画面D06の状態からユーザにより[削除]キー15が4回押されて「グループ」が削除され、「グループ」を省略した「G」が改めて入力(挿入)された状態を示す。このため、画面D07のように、ユーザにより「グループ」が「G」に変更されることで、所望する文字列(テキスト)の意味を損ねずに定長領域に収めることが可能となる。   Screen D07 shows a state in which “Delete” key 15 is pressed four times by the user from the state of screen D06, “Group” is deleted, and “G” in which “Group” is omitted is newly input (inserted). For this reason, as shown in the screen D07, the user can change the “group” to “G” so that the desired character string (text) can be stored in the fixed-length region without impairing the meaning.

次に、図7のフローチャートを参照し、CPU61の制御に基づいて、入力した文字列が定長領域を超過するか否かを判別する処理手順(定長超過判別処理)について説明する。なお、定長領域は所定の長さに設定されているものとする。まず、CPU61は、定長超過判別プログラム66を起動して、ユーザにより入力された文字列の長さ(以下、「文字列長L」と称す。)を算出する(S01,文字列長算出手段)。次に、CPU61は、算出された文字列長Lが、定長領域の長さを超過するか否かを判別する(S02,超過判別手段)。「文字列長L」が「定長領域の長さ」を超過しない場合(S03;No,文字列長L≦定長領域の長さ)、CPU61は、入力された文字列は定長領域に収まると判別し、当該判別処理を終了する。   Next, with reference to the flowchart of FIG. 7, a processing procedure (fixed length excess determination process) for determining whether or not the input character string exceeds the fixed length area based on the control of the CPU 61 will be described. It is assumed that the fixed length area is set to a predetermined length. First, the CPU 61 activates the fixed length excess determination program 66 and calculates the length of the character string input by the user (hereinafter referred to as “character string length L”) (S01, character string length calculation means). ). Next, the CPU 61 determines whether or not the calculated character string length L exceeds the length of the fixed length area (S02, excess determination means). When the “character string length L” does not exceed the “length of the fixed length area” (S03; No, the character string length L ≦ the length of the fixed length area), the CPU 61 stores the input character string in the fixed length area. It is discriminated that it fits, and the discrimination processing is terminated.

一方、文字列長Lが定長領域の長さを超過した場合(S03;Yes,文字列長L>定長領域の長さ)、CPU61は、超過文字71の文字数を示す変数n(nは自然数)を1に設定し(S04)、最後に入力された文字から変数n文字分の文字を削除した(差し引いた)文字列長Lnを算出する(S05,超過文字数算出手段)。そして、算出した文字列長Lnが、定長領域の長さを超過するか否かを判別する(S06)。文字列長Lnが定長領域の長さを超過する場合(S07;Yes,文字列長Ln>定長領域の長さ)、CPU61は、変数nを増加させ(S08)、再び、文字列長Lnを算出する(S05)。   On the other hand, when the character string length L exceeds the length of the fixed length area (S03; Yes, the character string length L> the length of the fixed length area), the CPU 61 sets a variable n (n is the number of characters of the excess characters 71). Natural number) is set to 1 (S04), and a character string length Ln obtained by deleting (subtracting) characters for n variables from the last input character is calculated (S05, excess character number calculating means). Then, it is determined whether or not the calculated character string length Ln exceeds the length of the fixed length area (S06). When the character string length Ln exceeds the length of the fixed length area (S07; Yes, the character string length Ln> the length of the fixed length area), the CPU 61 increases the variable n (S08), and again the character string length. Ln is calculated (S05).

一方、文字列長Lnが定長領域の長さを超過しない場合(S07;No,文字列長Ln≦定長領域の長さ)、CPU61は、表示画面5(メイン領域46の上側)に「定長→字余り」の警告を表示すると共に(S09)、最後に入力された文字から入力順序を遡って、変数nの値に対応する文字数分の文字(超過文字71)を点滅表示させる(S10,表示手段)。そして、判別処理を終了する。このように、変数nを増加させながら文字列長Lnと定長領域の長さとを比較する処理を行うことで、文字の大きさ(サイズ)に関わらず、定長領域を超過した長さに相当する超過文字71を確実に判別することができる。   On the other hand, when the character string length Ln does not exceed the length of the fixed length area (S07; No, character string length Ln ≦ the length of the fixed length area), the CPU 61 displays “ A warning “fixed length → character remainder” is displayed (S09), and the number of characters (excess characters 71) corresponding to the value of the variable n is blinked and displayed retroactively from the last input character (S10). , Display means). Then, the discrimination process ends. In this way, by performing the process of comparing the character string length Ln and the length of the fixed length area while increasing the variable n, the length exceeding the fixed length area is obtained regardless of the size (size) of the character. The corresponding excess character 71 can be reliably determined.

以上のように、本実施形態によれば、入力された文字列の長さが定長領域の長さを超過する場合(字余りが発生する場合)、定長領域を超過する文字数を算出する。そして、その算出結果に基づいて、最後に入力された文字から入力順序を遡って、超過した文字数分の超過文字71と、それ以外の非超過文字72とを識別できるように表示する。これにより、ユーザはどの文字が超過文字71であり、何文字超過しているのかを容易に把握することができる。また、ユーザは超過文字71および文字数を把握することで、後何文字削除すれば定長領域に収めることができるか、あるいは、文字列(単語)の一部が超過文字71の対象となっている場合には、入力された文字列から超過文字71を引いた文字数の文字列(単語)に変更すれば、入力された文字列が定長領域に収まるということを知ることができる。   As described above, according to the present embodiment, when the length of the input character string exceeds the length of the fixed-length area (when a character remainder occurs), the number of characters exceeding the fixed-length area is calculated. Then, based on the calculation result, the input order is traced back from the last input character, and the excess characters 71 for the excess number of characters and the other non-excess characters 72 are displayed so as to be identified. Thereby, the user can easily grasp which characters are the excess characters 71 and how many characters are exceeded. In addition, the user knows the excess characters 71 and the number of characters, how many characters can be deleted later to fit in the fixed-length area, or a part of the character string (word) becomes the target of the excess characters 71. If the character string is changed to a character string (word) of the number of characters obtained by subtracting the excess characters 71 from the input character string, it can be known that the input character string fits in the fixed length area.

また、例えば、入力した文字列が定長領域を超えてしまう要因の1つとして、一旦文章を作成し、その後、修飾語句(文章の内容を分かり易くするための文字(文字列)、形容詞や副詞)などを挿入して文章の内容をより詳細にするような場合が考えられる。このような場合、文章の最後尾から定長を超えた部分を超過文字71として削除すると、文章の意味が損なわれる。そこで、最後に挿入した文字から入力順序を遡って超過文字71とすることで(上記の修飾語句の一部または全部に相当)、当該超過文字71を削除/変更したとしても文意を損なわずに定長領域内に収めることができる。   Also, for example, as one of the factors that the input character string exceeds the fixed length region, a sentence is once created, and then a modifier (character (character string), adjective or In some cases, the content of the sentence is made more detailed by inserting an adverb). In such a case, if the portion exceeding the fixed length from the end of the sentence is deleted as the excess character 71, the meaning of the sentence is impaired. Therefore, the input order is traced back from the last inserted character to the excess character 71 (corresponding to a part or all of the above modifier), so that even if the excess character 71 is deleted / changed, the meaning of the sentence is not impaired. Can be accommodated in the constant length region.

なお、本実施形態では、超過文字71を点滅させることで、超過文字71と非超過文字72とを識別可能に表示するようにしているが、これに限らず、例えば、超過文字71を網掛け表示したり、あるいは、超過文字71に下線を付けるなどして非超過文字72と識別可能に表示するようにしても良い。   In the present embodiment, the excess characters 71 are blinked to display the excess characters 71 and the non-excess characters 72 in a distinguishable manner. However, the present invention is not limited to this. For example, the excess characters 71 are shaded. You may make it display so that it can identify from the non-excess character 72 by underlining the excess character 71, etc.

また、超過文字71を識別可能に表示することに加え、当該超過文字71の文字数を表示画面5上に数値表示するようにしても良い。これにより、ユーザは何文字超過しているかを容易に把握することができる。   In addition to displaying the excess characters 71 in an identifiable manner, the number of characters of the excess characters 71 may be numerically displayed on the display screen 5. Thereby, the user can easily grasp how many characters are exceeded.

また、上記の実施形態に示したテープ印刷装置1の各構成要素をプログラムとして提供することが可能である。また、そのプログラムを記憶媒体(図示省略)に格納して提供することも可能である。記録媒体としては、CD−ROM、フラッシュROM、メモリカード(コンパクトフラッシュ(登録商標)、スマートメディア、メモリースティック等)、コンパクトディスク、光磁気ディスク、デジタルバーサタイルディスクおよびフレキシブルディスク等を利用することができる。   Moreover, it is possible to provide each component of the tape printer 1 shown in said embodiment as a program. It is also possible to provide the program stored in a storage medium (not shown). As the recording medium, a CD-ROM, a flash ROM, a memory card (compact flash (registered trademark), smart media, memory stick, etc.), a compact disk, a magneto-optical disk, a digital versatile disk, a flexible disk, and the like can be used.

また、上述した実施例によらず、テープ印刷装置1の装置構成や処理工程等について、本発明の要旨を逸脱しない範囲で、適宜変更も可能である。   Further, regardless of the above-described embodiments, the device configuration, processing steps, and the like of the tape printer 1 can be changed as appropriate without departing from the scope of the present invention.

開蓋状態のテープ印刷装置の外観斜視図である。It is an external appearance perspective view of the tape printer of an open state. 表示画面の表示内容を示す図である。It is a figure which shows the display content of a display screen. テープ印刷装置の制御ブロック図である。It is a control block diagram of a tape printer. 文字列長が定長領域を超過した時の表示画面の様子を示す図である。It is a figure which shows the mode of a display screen when a character string length exceeds a fixed length area | region. 入力した文字列が定長領域に収まらない場合の表示画面の状態を示す遷移図である。It is a transition diagram which shows the state of a display screen when the input character string does not fit in a fixed length area | region. 入力した文字列が定長領域に収まらない場合の表示画面の状態を示す遷移図である。It is a transition diagram which shows the state of a display screen when the input character string does not fit in a fixed length area | region. 入力した文字列が定長領域を超過するか否かを判別する処理手順について説明するフローチャートである。It is a flowchart explaining the process sequence which discriminate | determines whether the input character string exceeds a fixed length area | region.

符号の説明Explanation of symbols

1…テープ印刷装置 3…キーボード 5…表示画面 26…印刷ヘッド 65…定長設定プログラム 66…定長超過判別プログラム 71…超過文字 72…非超過文字 T…印刷テープ L,Ln…文字列長   DESCRIPTION OF SYMBOLS 1 ... Tape printer 3 ... Keyboard 5 ... Display screen 26 ... Print head 65 ... Fixed length setting program 66 ... Fixed length excess discrimination program 71 ... Excess character 72 ... Non-excess character T ... Printing tape L, Ln ... Character string length

Claims (7)

印字対象となる文字を入力する入力手段と、
定長領域の長さを設定する定長設定手段と、
入力された1以上の前記文字から成る文字列の長さを算出する文字列長算出手段と、
算出された前記文字列の長さが、前記定長領域の長さを超過するか否かを判別する超過判別手段と、
前記超過判別手段により前記文字列の長さ>前記定長領域の長さであると判別した場合、前記文字列の長さ≦前記定長領域の長さになるまで、最後に入力された文字から入力順序を遡って前記文字列から前記文字を差し引いた文字列の長さと、前記定長領域の長さと、を比較することで、超過した長さに相当する文字数を算出する超過文字数算出手段と、
前記超過文字数算出手段による算出結果に基づいて、前記最後に入力された文字から入力順序を遡って、超過した前記文字数分の文字を超過文字とし、前記過文字とそれ以外の文字とを識別可能に表示する表示手段と、を備えたことを特徴とする情報処理装置。
An input means for inputting characters to be printed;
A fixed length setting means for setting the length of the fixed length area;
A character string length calculating means for calculating a length of a character string composed of one or more input characters;
Excess determination means for determining whether or not the calculated length of the character string exceeds the length of the fixed length region;
If it is determined by the excess determination means that the length of the character string> the length of the fixed length area, the last input character until the length of the character string ≦ the length of the fixed length area By comparing the length of the character string obtained by subtracting the character from the character string from the input order and the length of the fixed length region, the excess character number calculating means for calculating the number of characters corresponding to the excess length When,
Based on the calculation result of the excessive number-of-characters calculation means, the last back the input order from the input character, and the excess was the number of characters and exceeds the character, and the super-over letters and other characters An information processing apparatus comprising: display means for displaying the information in an identifiable manner.
前記表示手段は、  The display means includes
前記文字列の長さが前記定長領域の長さを超過する原因が、既に入力済の前記文字列の途中に前記文字を挿入したことである場合、前記超過文字数算出手段による算出結果に基づいて、挿入した前記文字の最後に入力された文字から入力順序を遡って、超過した前記文字数分の文字を超過文字として表示することを特徴とする請求項1に記載の情報処理装置。  When the cause of the length of the character string exceeding the length of the fixed length region is that the character has been inserted in the middle of the already input character string, based on the calculation result by the excess character number calculating means The information processing apparatus according to claim 1, wherein the number of characters that exceed the number of characters is displayed as an excess character by going back in the input order from the character that is input at the end of the inserted character.
前記表示手段は、
前記超過文字を点滅させて表示すると共に前記超過文字以外の文字を通常表示することを特徴とする請求項1または2に記載の情報処理装置。
The display means includes
The information processing apparatus according to claim 1 or 2, characterized in that the normal display characters other than the excess characters and displays by blinking the excess characters.
前記表示手段は、
前記超過文字の文字数をさらに数値表示することを特徴とする請求項1ないし3のいずれか1項に記載の情報処理装置。
The display means includes
The information processing apparatus according to any one of claims 1 to 3, wherein the further numerical display the number of characters of the excess characters.
請求項1ないしのいずれか1項に記載の情報処理装置における各手段と、
前記定長領域の長さに相当する印刷テープに、前記超過文字以外の文字を印刷する印刷手段と、を備えたことを特徴とするテープ印刷装置。
Each means in the information processing apparatus according to any one of claims 1 to 4 ,
A tape printing apparatus comprising: a printing unit that prints characters other than the excess characters on a printing tape corresponding to the length of the fixed length region.
定長領域の長さを設定する定長設定工程と、
入力された1以上の文字から成る文字列の長さを算出する文字列長算出工程と、
算出された前記文字列の長さが、前記定長領域の長さを超過するか否かを判別する超過判別工程と、
前記超過判別工程により前記文字列の長さ>前記定長領域の長さであると判別した場合、前記文字列の長さ≦前記定長領域の長さになるまで、最後に入力された文字から入力順序を遡って前記文字列から前記文字を差し引いた文字列の長さと、前記定長領域の長さと、を比較することで、超過した長さに相当する文字数を算出する超過文字数算出工程と、
前記超過文字数算出工程による算出結果に基づいて、前記最後に入力された文字から入力順序を遡って、超過した前記文字数分の文字を超過文字とし、前記超過文字とそれ以外の文字とを識別可能に表示する表示工程と、を備えたことを特徴とする情報処理装置の文字列表示方法。
A fixed length setting step for setting the length of the fixed length area;
A character string length calculating step for calculating a length of a character string including one or more input characters;
An excess determination step of determining whether or not the calculated length of the character string exceeds the length of the fixed length region;
If it is determined in the excess determination step that the length of the character string is greater than the length of the fixed length area, the last input character until the length of the character string ≦ the length of the fixed length area The excess character number calculating step of calculating the number of characters corresponding to the excess length by comparing the length of the character string obtained by subtracting the character from the character string and the length of the constant length region from the input sequence When,
Based on the calculation result of the excessive number calculation step, the finally back to input order from the input character, and the excess was the number of characters and excess characters, identifying said excess characters and other characters A character string display method for an information processing apparatus, comprising: a display step for enabling display.
コンピュータに、請求項に記載の情報処理装置の文字列表示方法における各工程を実行させるためのプログラム。 The program for making a computer perform each process in the character string display method of the information processing apparatus of Claim 6 .
JP2007272828A 2007-10-19 2007-10-19 Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus Active JP5109575B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007272828A JP5109575B2 (en) 2007-10-19 2007-10-19 Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007272828A JP5109575B2 (en) 2007-10-19 2007-10-19 Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus

Publications (2)

Publication Number Publication Date
JP2009101527A JP2009101527A (en) 2009-05-14
JP5109575B2 true JP5109575B2 (en) 2012-12-26

Family

ID=40703822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007272828A Active JP5109575B2 (en) 2007-10-19 2007-10-19 Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus

Country Status (1)

Country Link
JP (1) JP5109575B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5909867B2 (en) * 2011-04-22 2016-04-27 セイコーエプソン株式会社 Label data processing apparatus and label data processing method
JP2014131850A (en) * 2013-01-07 2014-07-17 Teraoka Seiko Co Ltd Label printer
JP6131657B2 (en) 2013-03-21 2017-05-24 セイコーエプソン株式会社 Tape printer

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2667084B2 (en) * 1992-06-29 1997-10-22 チノン株式会社 Label printing device
JP3514056B2 (en) * 1996-12-03 2004-03-31 セイコーエプソン株式会社 Image creation device
JP3721864B2 (en) * 1999-06-22 2005-11-30 セイコーエプソン株式会社 Character string processing method for printing apparatus and apparatus therefor

Also Published As

Publication number Publication date
JP2009101527A (en) 2009-05-14

Similar Documents

Publication Publication Date Title
JP5092614B2 (en) Tape printer and program
US5496119A (en) Tape printer having a display
US5609424A (en) Tape-shaped label producing device having input instructing messages
US8767248B2 (en) Label data processing apparatus and label data processing method
US7418667B2 (en) Character input apparatus and tape printing apparatus incorporating the same as well as character input method
US6793422B2 (en) Printing apparatus for printing characters on a tape in a size determined by tape use
KR101248923B1 (en) Tape printing apparatus, paragraph arrangement deciding method for tape printing apparatus, and recording medium having program for the same thereon
JP5109575B2 (en) Information processing apparatus, tape printing apparatus, character string display method and program for information processing apparatus
US6835013B2 (en) Label printer
US6302603B1 (en) Tape printing apparatus and method
JP2012139952A (en) Label forming device and control method for label forming device
JP5375568B2 (en) Information processing apparatus and control method thereof
JP2010224703A (en) Information processing apparatus, tape printer, and program
JP2009048480A (en) Text processor, tape printer, text processing method and program
JP5320874B2 (en) Document processing apparatus and tape printing apparatus
JP2012139953A (en) Label forming device and control method of label forming device
US6863458B2 (en) Tape printing apparatus and data input processing method therefor
JP5104601B2 (en) Printer and tape printer
US8339652B2 (en) Label creating apparatus, method for controlling label creating apparatus and computer program
JP5186897B2 (en) Character processing device, character processing method for character processing device, and program
JP2012038191A (en) Electronic device and method for controlling electronic device
JP5240391B2 (en) Tape printer and program
JP2018154007A (en) Print data generation device, label printer, print data generation method, and program therefor
JP2010146272A (en) Character processor, tape printing device, method for controlling character processor, and its program
JP2011104797A (en) Printer and control method therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120501

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120529

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

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

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

Free format text: PAYMENT UNTIL: 20151019

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5109575

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350