JP2012027569A - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP2012027569A
JP2012027569A JP2010163578A JP2010163578A JP2012027569A JP 2012027569 A JP2012027569 A JP 2012027569A JP 2010163578 A JP2010163578 A JP 2010163578A JP 2010163578 A JP2010163578 A JP 2010163578A JP 2012027569 A JP2012027569 A JP 2012027569A
Authority
JP
Japan
Prior art keywords
input
data
text data
character
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010163578A
Other languages
Japanese (ja)
Inventor
Nako Yoshimura
奈子 吉村
Yasunori Suzuki
靖典 鈴木
Shigeyasu Yoshido
慈泰 吉堂
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 JP2010163578A priority Critical patent/JP2012027569A/en
Publication of JP2012027569A publication Critical patent/JP2012027569A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printing device capable of realizing an appropriate word learning function corresponding to a user in a printing device having a predictive conversion function and a word learning function.SOLUTION: After printing processing (S3) following input of a printing key 12 or memory storage processing (S5) following input of a memory storage key 16, a tape printing device 1 executes registration processing (S6) of data for conversion. In the registration processing (S6) of data for conversion, with reference to a delimiter character arbitrarily settable in delimiter setting processing (S13), the tape printing device 1 divides input text data which is a target of printing or memory storing to generate divided text data and registers the divided text data as data for predictive conversion on a storage area 44A of data for conversion. The data for predictive conversion registered on the storage area 44A of data for conversion is referenced in a predictive conversion function (S9, S11) in the tape printing device 1.

Description

本発明は、ユーザによる入力内容を学習し、学習した内容をテキスト等の入力に有効活用し得る印刷装置に関する。   The present invention relates to a printing apparatus that learns input contents by a user and can effectively use the learned contents for inputting text or the like.

従来、文字や記号等からなるテキストを入力可能な入力手段を有し、入力内容を被記録媒体に印刷可能な印刷装置に関し、種々の発明がなされている。そして、上記テキスト入力を補助する機能として、「予測変換機能」が知られている。当該「予測変換機能」とは、ユーザにより入力されたキャラクタ(文字や記号)に基づいて、当該キャラクタを含むキャラクタ列を提示し、所望のキャラクタ列を選択・確定することにより、キャラクタ列の入力操作を補助する機能である。   2. Description of the Related Art Conventionally, various inventions have been made with respect to a printing apparatus having an input means capable of inputting text consisting of characters, symbols, etc. and capable of printing input contents on a recording medium. As a function for assisting the text input, a “predictive conversion function” is known. The “predictive conversion function” refers to the input of a character string by presenting a character string including the character based on the character (character or symbol) input by the user, and selecting and confirming a desired character string. This function assists the operation.

このような「予測変換機能」に関する発明として、特許文献1記載の発明が知られている。特許文献1記載の発明では、テンキー等で入力された文字に基づいて、AIデータベース、変換データベースの記憶内容を検索し、抽出された予測候補単語をディスプレイの候補窓に表示する。そして、当該発明においては、候補窓に表示された予測候補単語から、所望の予測候補単語をシフトキー等の操作により選択・確定することにより、所望の予測候補単語の入力がなされる。   As an invention relating to such a “predictive conversion function”, an invention described in Patent Document 1 is known. In the invention described in Patent Document 1, the storage contents of the AI database and the conversion database are searched based on characters input with a numeric keypad and the like, and the extracted prediction candidate words are displayed in the candidate window of the display. And in the said invention, a desired prediction candidate word is input by selecting and confirming a desired prediction candidate word by operation of a shift key etc. from the prediction candidate word displayed on the candidate window.

特開2005−234742号公報JP 2005-234742 A

ここで、特許文献1記載の発明の「予測変換機能」においては、入力されたキャラクタを条件として、データベース内に記憶されている予測候補単語群から、該当する予測候補単語を抽出する。従って、データベース内に所望の予測候補単語が記憶されていなければ、ユーザは、所望の単語をキャラクタ単位で入力しなければならない。このため、「予測変換機能」による入力を有効に活用するためには、データベースに記憶されている予測候補単語群がユーザに適した内容であることが望ましい。即ち、「予測変換機能」を有効活用するためには、ユーザの入力内容を適切にデータベースに登録する「単語学習機能」を有していることが望ましい。   Here, in the “prediction conversion function” of the invention described in Patent Document 1, the corresponding prediction candidate word is extracted from the prediction candidate word group stored in the database on the condition of the input character. Therefore, if the desired prediction candidate word is not stored in the database, the user must input the desired word in character units. For this reason, in order to effectively utilize the input by the “prediction conversion function”, it is desirable that the prediction candidate word group stored in the database has contents suitable for the user. That is, in order to effectively use the “predictive conversion function”, it is desirable to have a “word learning function” for appropriately registering user input contents in a database.

本発明は、予測変換機能及び単語学習機能を有する印刷装置に関し、ユーザに応じた適切な単語学習機能を実現し得る印刷装置を提供する。   The present invention relates to a printing apparatus having a predictive conversion function and a word learning function, and provides a printing apparatus capable of realizing an appropriate word learning function according to a user.

本発明の請求項1に係る印刷装置は、ユーザによる操作に基づいて、複数のキャラクタからなるテキストデータを印刷対象として入力する入力手段と、前記入力手段により、印刷対象として入力された入力テキストデータを印刷する際に操作される印刷操作手段と、前記印刷操作手段の操作に基づいて、前記入力テキストデータを被印刷媒体に印刷する印刷手段と、複数のキャラクタからなる予測変換用データを記憶する予測変換用データ記憶手段と、前記入力手段により入力されたキャラクタと、前記予測変換用データ記憶手段に記憶された予測変換用データに基づいて、入力されたキャラクタを含むテキストの入力を補助する予測変換を行う予測変換手段と、を有する印刷装置であって、前記印刷操作手段の操作に基づいて、特定種類のキャラクタであるデリミタキャラクタを、前記入力テキストデータを構成するキャラクタから特定する特定手段と、前記特定手段により特定されたデリミタキャラクタの前後を基準として、前記入力テキストデータを分割した分割テキストデータを生成する分割手段と、前記分割手段により生成された分割テキストデータを、前記予測変換用データとして前記予測変換用データ記憶手段に登録する登録手段と、を備えることを特徴とする。   According to a first aspect of the present invention, there is provided a printing apparatus according to a first aspect of the present invention, an input unit that inputs text data including a plurality of characters as a print target based on an operation by a user, and input text data that is input as a print target by the input unit A printing operation means that is operated when printing an image, a printing means that prints the input text data on a printing medium based on an operation of the printing operation means, and data for predictive conversion consisting of a plurality of characters. Prediction conversion data storage means, a character input by the input means, and prediction for assisting the input of text including the input character based on the prediction conversion data stored in the prediction conversion data storage means A predictive conversion unit that performs conversion, and based on an operation of the print operation unit, a specific type of A delimiter character that is a character is identified from a character constituting the input text data, and divided text data is generated by dividing the input text data with reference to before and after the delimiter character identified by the identifying unit. And dividing means for registering the divided text data generated by the dividing means as the predictive conversion data in the predictive conversion data storage means.

当該印刷装置は、印刷操作手段の操作に基づいて、入力テキストデータから分割テキストデータを生成し、当該分割テキストデータを予測変換用データとして、予測変換用データ記憶手段に登録する。印刷操作手段の操作が行われる場合、入力テキストデータは、誤字・脱字がなく、ユーザの意図を反映した状態であることが多い。従って、当該印刷装置は、ユーザの用途等に応じた予測変換用データを予測変換用データ記憶手段に登録することができ、ユーザに応じた適切な「単語学習機能」を実現し得る。又、当該印刷装置は、入力テキストデータにおけるデリミタキャラクタを特定し、デリミタキャラクタの前後を基準として、分割テキストデータを生成する。ここで、当該印刷装置は、入力手段により入力されたキャラクタと、前記予測変換用データ記憶手段に記憶された予測変換用データに基づいて、入力されたキャラクタを含むテキストの入力を補助する予測変換を行う。従って、デリミタキャラクタの前後を基準に分割した分割テキストデータを予測変換用データとして登録することで、当該印刷装置は、確実にユーザの意図を反映し、且つ、利便性の高い「予測変換機能」を用いた入力を実現し得る。   The printing apparatus generates divided text data from the input text data based on the operation of the printing operation unit, and registers the divided text data in the predictive conversion data storage unit as predictive conversion data. When the printing operation means is operated, the input text data is often in a state that reflects the user's intention without any typographical error or omission. Therefore, the printing apparatus can register the data for predictive conversion corresponding to the user's use etc. in the data storage means for predictive conversion, and can realize an appropriate “word learning function” according to the user. Further, the printing apparatus specifies a delimiter character in the input text data, and generates divided text data with reference to the front and back of the delimiter character. Here, the printing apparatus performs predictive conversion that assists input of text including the input character based on the character input by the input unit and the predictive conversion data stored in the predictive conversion data storage unit. I do. Therefore, by registering the divided text data divided on the basis of the front and rear of the delimiter character as prediction conversion data, the printing apparatus reliably reflects the user's intention and has a highly convenient “prediction conversion function”. Input using can be realized.

そして、請求項2記載の印刷装置は、請求項1記載の印刷装置であって、前記デリミタキャラクタは、前記入力テキストデータの編集に用いられる編集記号を含み、前記特定手段は、前記入力テキストデータを構成するキャラクタに含まれる前記編集記号を特定し、前記分割手段は、前記特定手段により特定された編集記号を基準として、前記入力テキストデータを分割して前記分割テキストデータを生成することを特徴とする。   The printing apparatus according to claim 2 is the printing apparatus according to claim 1, wherein the delimiter character includes an edit symbol used for editing the input text data, and the specifying unit includes the input text data. The edit symbol included in the character constituting the character is specified, and the dividing unit generates the divided text data by dividing the input text data on the basis of the edit symbol specified by the specifying unit. And

当該印刷装置は、デリミタキャラクタとして、入力テキストデータの編集に用いられる編集記号を含む。当該編集記号は、スペース、タブ、改行、改ブロック(段落(ブロック)を改める記号)を含んでいる。そして、これらの編集記号は、一般に入力テキストデータを構成する文字列(単語)の意味が異なる位置に位置することが多い。従って、当該印刷装置は、入力テキストデータを編集記号の前後を基準として分割し、分割テキストデータを生成・登録するので、精度の良い単語学習機能を実現し得る。   The printing apparatus includes an edit symbol used for editing input text data as a delimiter character. The edit symbols include spaces, tabs, line feeds, and block breaks (symbols that modify paragraphs (blocks)). These edit symbols are generally located at positions where the meanings of character strings (words) constituting input text data are different. Therefore, the printing apparatus divides the input text data on the basis of the edit symbol before and after, and generates and registers the divided text data, so that a highly accurate word learning function can be realized.

又、請求項3記載の印刷装置は、請求項1又は請求項2記載の印刷装置であって、前記入力手段により入力可能なキャラクタから、ユーザの操作に基づいて、一のキャラクタを指定する指定手段と、前記指定手段により指定された一のキャラクタに基づいて、前記デリミタキャラクタに含まれるキャラクタ種別を編集する編集手段と、を有することを特徴とする。   According to a third aspect of the present invention, there is provided the printing apparatus according to the first or second aspect, wherein the character that can be input by the input means is designated to designate one character based on a user operation. And editing means for editing the character type included in the delimiter character based on the one character specified by the specifying means.

当該印刷装置は、編集手段により、指定手段により指定されたユーザ所望のキャラクタを、デリミタキャラクタに含まれるキャラクタ種類に設定又は設定解除する編集を行い得る。これにより、当該印刷装置は、ユーザ所望のキャラクタ種類に係るデリミタキャラクタを基準として、分割テキストデータを生成することができ、当該分割テキストデータを予測変換用データとして登録し得る。この結果、当該印刷装置は、よりユーザの使用態様に応じた単語学習機能を実現し得る。   In the printing apparatus, the editing unit can perform editing to set or cancel the setting of the character desired by the user specified by the specifying unit to the character type included in the delimiter character. Accordingly, the printing apparatus can generate divided text data based on a delimiter character related to a user-desired character type, and can register the divided text data as predictive conversion data. As a result, the printing apparatus can realize a word learning function according to the usage mode of the user.

又、請求項4記載の印刷装置は、請求項1乃至請求項3の何れかに記載の印刷装置であって、前記分割手段により生成された分割テキストデータを前記予測変換用データ記憶手段に登録する際に、前記分割テキストデータを構成するキャラクタの数が、所定の数値範囲を示す登録条件を満たすことを条件に、前記予測変換用データとして、当該分割テキストデータを前記予測変換用データ記憶手段に登録する登録制御手段と、を有することを特徴とする。   A printing apparatus according to a fourth aspect is the printing apparatus according to any one of the first to third aspects, wherein the divided text data generated by the dividing means is registered in the predictive conversion data storage means. In this case, on the condition that the number of characters constituting the divided text data satisfies a registration condition indicating a predetermined numerical range, the divided text data is stored as the predicted conversion data as the predictive conversion data. And a registration control means for registering to the system.

当該印刷装置は、分割テキストデータを構成するキャラクタの数に係る登録条件を満たす場合に、当該分割テキストデータを予測変換用データとして登録する。従って、当該印刷装置は、一の予測変換用データのデータ量を適正な範囲とすることができ、予測変換用データ記憶手段の記憶容量を有効に活用し得る。   The printing apparatus registers the divided text data as predictive conversion data when the registration condition relating to the number of characters constituting the divided text data is satisfied. Therefore, the printing apparatus can set the data amount of one prediction conversion data within an appropriate range, and can effectively use the storage capacity of the prediction conversion data storage unit.

又、請求項5記載の印刷装置は、請求項1乃至請求項4の何れかに記載の印刷装置であって、前記分割手段により生成された分割テキストデータを前記予測変換用データ記憶手段に登録する際に、前記予測変換用データ記憶手段に登録されている予測変換用データについて、当該分割テキストデータを構成するキャラクタと一致するキャラクタ構成の予測変換用データを検索する検索手段と、前記検索手段により、前記分割テキストデータと一致する予測変換用データが検索された場合に、検索された予測変換用データを、前記分割テキストデータに基づく内容に更新する更新手段と、を有することを特徴とする。   A printing apparatus according to claim 5 is the printing apparatus according to any one of claims 1 to 4, wherein the divided text data generated by the dividing means is registered in the predictive conversion data storage means. A search means for searching for the predictive conversion data registered in the predictive conversion data storage means for predictive conversion data having a character configuration that matches the character constituting the divided text data; and the search means When the prediction conversion data that matches the divided text data is searched, update means for updating the searched prediction conversion data to contents based on the divided text data is provided. .

当該印刷装置は、分割テキストデータを前記予測変換用データ記憶手段に登録する際に、検索手段により、前記予測変換用データ記憶手段から分割テキストデータと一致するキャラクタ構成の予測変換用データが検索された場合に、検索された予測変換用データを、前記分割テキストデータに基づく内容に更新する。従って、当該印刷装置は、同一内容の予測変換用データが予測変換用データ記憶手段に重複登録される状態を防止することができ、予測変換用データ記憶手段の記憶容量を有効に活用し得る。   In the printing apparatus, when the divided text data is registered in the predictive conversion data storage unit, the search unit searches the predictive conversion data storage unit for predictive conversion data having a character configuration that matches the divided text data. In such a case, the retrieved prediction conversion data is updated to the content based on the divided text data. Therefore, the printing apparatus can prevent a state in which prediction conversion data having the same content is registered in the prediction conversion data storage unit, and can effectively utilize the storage capacity of the prediction conversion data storage unit.

又、請求項6記載の印刷装置は、請求項1乃至請求項5の何れかに記載の印刷装置であって、前記分割手段により生成された分割テキストデータを前記予測変換用データ記憶手段に登録する際に、前記予測変換用データ記憶手段の記憶容量と、当該予測変換用データ記憶手段に既に登録されている予測変換データのデータ量と、登録対象である分割テキストデータのデータ量に基づいて、前記予測変換データのデータ量と、当該分割テキストデータのデータ量の和が前記予測変換データ記憶手段の記憶容量を超えるか否かを判断する判断手段と、前記判断手段により、前記予測変換データのデータ量と当該分割テキストデータのデータ量の和が前記予測変換データ記憶手段の記憶容量を超えると判断された場合に、前記予測変換用データ記憶手段への登録時点が古い予測変換用データを削除することで、当該分割テキストデータの登録に要する記憶容量を確保する記憶容量確保手段と、を有することを特徴とする。   A printing apparatus according to claim 6 is the printing apparatus according to any one of claims 1 to 5, wherein the divided text data generated by the dividing means is registered in the predictive conversion data storage means. In this case, based on the storage capacity of the prediction conversion data storage means, the data amount of the prediction conversion data already registered in the prediction conversion data storage means, and the data amount of the divided text data to be registered A judgment means for judging whether or not a sum of the data amount of the prediction conversion data and the data amount of the divided text data exceeds a storage capacity of the prediction conversion data storage means; and the prediction conversion data by the judgment means And when the sum of the data amount of the divided text data exceeds the storage capacity of the prediction conversion data storage means, the prediction conversion data storage By registering the time of the stage to remove the old prediction conversion data, and having a storage capacity securing section to secure a storage capacity necessary for registration of the divided text data.

当該印刷装置は、分割テキストデータを前記予測変換用データ記憶手段に登録する際に、判断手段により、予測変換用データ記憶手段に記憶されている予測変換データのデータ量と、当該分割テキストデータのデータ量の和が前記予測変換データ記憶手段の記憶容量を超えるか否かを判断する。当該印刷装置は、前記判断手段により、前記予測変換データのデータ量と当該分割テキストデータのデータ量の和が前記予測変換データ記憶手段の記憶容量を超えると判断された場合に、記憶容量確保手段により、前記予測変換用データ記憶手段への登録時点が古い予測変換用データを削除することで、当該分割テキストデータの登録に要する記憶容量を確保する。従って、当該印刷装置は、最新の分割テキストデータを予測変換用データとして確実に登録することができ、予測変換用データ記憶手段内の予測変換データを、できるだけ最新の状況に維持し得る。   When the divided text data is registered in the predictive conversion data storage unit, the printing apparatus uses the determination unit to store the data amount of the predictive conversion data stored in the predictive conversion data storage unit and the divided text data. It is determined whether or not the sum of the data amounts exceeds the storage capacity of the predictive conversion data storage means. When the determination unit determines that the sum of the data amount of the predicted conversion data and the data amount of the divided text data exceeds the storage capacity of the prediction conversion data storage unit, the printing apparatus is configured to store the storage capacity. Thus, the storage capacity required for registering the divided text data is ensured by deleting the prediction conversion data whose registration time is old in the prediction conversion data storage means. Therefore, the printing apparatus can surely register the latest divided text data as prediction conversion data, and can maintain the prediction conversion data in the prediction conversion data storage unit as up-to-date as possible.

又、請求項7記載の印刷装置は、請求項1乃至請求項6の何れかに記載の印刷装置であって、前記特定手段は、前記印刷操作手段の操作に基づいて、前記デリミタキャラクタと異なる特定種類のキャラクタである特殊キャラクタ(例えば、@:アットマーク)を、前記入力テキストデータを構成するキャラクタから特定し、前記分割手段は、前記特定手段により特定された特殊キャラクタの直前位置を基準として、前記入力テキストデータを分割した分割テキストデータを生成することを特徴とする。   A printing apparatus according to a seventh aspect is the printing apparatus according to any one of the first to sixth aspects, wherein the specifying unit is different from the delimiter character based on an operation of the printing operation unit. A special character that is a specific type of character (for example, @: at sign) is identified from the characters constituting the input text data, and the dividing means is based on the position immediately before the special character identified by the identifying means. The divided text data is generated by dividing the input text data.

当該印刷装置は、入力テキストデータに含まれる特殊キャラクタを特定し、当該特殊キャラクタの直前位置を基準として、入力テキストデータを分割して分割テキストデータを生成する。従って、当該印刷装置は、先頭に特殊キャラクタを含む分割テキストデータを、予測変換用データとして予測変換用データ記憶手段に登録し得る。これにより、当該印刷装置は、特殊キャラクタを先頭位置に含むテキスト入力についても、予測変換機能による入力を実現し得る。   The printing apparatus identifies a special character included in the input text data, and divides the input text data using the position immediately before the special character as a reference to generate divided text data. Therefore, the printing apparatus can register the divided text data including the special character at the head as the prediction conversion data in the prediction conversion data storage unit. Thereby, the printing apparatus can realize input by the predictive conversion function even for text input including a special character at the head position.

又、請求項8記載の印刷装置は、請求項1乃至請求項7の何れかに記載の印刷装置であって、前記入力手段により入力された入力テキストデータ全体を記憶する入力テキスト記憶手段と、前記入力手段により入力された入力テキストデータ全体を、前記入力テキスト記憶手段へ登録する際に操作される登録操作手段と、を有し、前記特定手段は、前記登録操作手段の操作に基づいて、前記入力テキストデータを構成するキャラクタから、前記デリミタキャラクタを特定し、前記分割手段は、前記特定手段により特定されたデリミタキャラクタの前後を基準として、前記入力テキストデータを分割した分割テキストデータを生成することを特徴とする。   Further, the printing apparatus according to claim 8 is the printing apparatus according to any one of claims 1 to 7, wherein the input text storage means stores the entire input text data input by the input means, Registration operation means operated when registering the entire input text data input by the input means in the input text storage means, the specifying means based on the operation of the registration operation means, The delimiter character is specified from the characters constituting the input text data, and the dividing means generates divided text data obtained by dividing the input text data with reference to the front and back of the delimiter character specified by the specifying means. It is characterized by that.

当該印刷装置は、登録操作手段の入力により、入力テキスト記憶手段に、入力テキストデータ全体を登録し得る。そして、当該印刷装置は、登録操作手段の入力に基づいて、当該入力テキストデータにおけるデリミタキャラクタを特定し、デリミタキャラクタの前後を基準として、分割テキストデータを生成する。従って、当該印刷装置は、登録操作手段の入力により、入力テキスト記憶手段に入力テキストデータ全体を登録する際であっても、デリミタキャラクタを用いた単語学習機能を実現することができ、確実にユーザの意図を反映し、且つ、利便性の高い「予測変換機能」を用いた入力を実現し得る。   The printing apparatus can register the entire input text data in the input text storage unit by the input of the registration operation unit. Then, the printing apparatus specifies a delimiter character in the input text data based on the input of the registration operation means, and generates divided text data with reference to the front and back of the delimiter character. Therefore, the printing apparatus can realize the word learning function using the delimiter character even when registering the entire input text data in the input text storage unit by the input of the registration operation unit. The input using the “predictive conversion function” that reflects the intention of the user and is highly convenient can be realized.

本実施形態に係るテープ印刷装置の上面図である。It is a top view of the tape printer concerning this embodiment. テープ印刷装置の側面図である。It is a side view of a tape printer. テープ印刷装置の制御系を示すブロック図である。It is a block diagram which shows the control system of a tape printer. 液晶ディスプレイの表示態様の一例を示す説明図である。It is explanatory drawing which shows an example of the display mode of a liquid crystal display. 本実施形態に係るメイン制御プログラムのフローチャートである。It is a flowchart of the main control program which concerns on this embodiment. 変換用データ登録処理プログラムのフローチャートである。It is a flowchart of a data registration processing program for conversion. キャラクタ設定記憶領域の記憶内容の一例を示す説明図である。It is explanatory drawing which shows an example of the memory content of a character setting storage area. 分割テキストデータの生成に関する説明図である。It is explanatory drawing regarding the production | generation of division | segmentation text data. 登録内容更新処理プログラムのフローチャートである。It is a flowchart of a registration content update processing program. 変換用データ記憶領域の記憶内容の更新に関する説明図である。It is explanatory drawing regarding the update of the memory content of the data storage area for conversion. 変換候補表示処理プログラムのフローチャートである。It is a flowchart of a conversion candidate display processing program. 変換候補選択処理プログラムのフローチャートである。It is a flowchart of a conversion candidate selection processing program. 変換候補の選択・確定時におけるディスプレイを示す説明図である。It is explanatory drawing which shows the display at the time of selection / confirmation of a conversion candidate. デリミタ設定処理プログラムのフローチャートである。It is a flowchart of a delimiter setting processing program. デリミタ設定時におけるディスプレイを示す説明図である。It is explanatory drawing which shows the display at the time of a delimiter setting.

以下、本発明に係る印刷装置を、テープカセットから排出されるテープに対して印刷を行うテープ印刷装置1に具体化した実施形態について、図面を参照しつつ詳細に説明する。先ず、本実施形態に係るテープ印刷装置の概略構成について図1及び図2に基づき説明する。   Hereinafter, an embodiment in which a printing apparatus according to the present invention is embodied in a tape printing apparatus 1 that performs printing on a tape discharged from a tape cassette will be described in detail with reference to the drawings. First, a schematic configuration of the tape printer according to the present embodiment will be described with reference to FIGS. 1 and 2.

図1及び図2に示すように、本実施形態に係るテープ印刷装置1は、筐体5を有しており、筐体5内部にテープ印刷装置1を構成する各種構成部品を格納している。筐体5上面の後方には、収納カバー6が開閉自在に軸支されている。当該収納カバー6は、筐体5内部に形成されたカセット収納部20の上方を覆う。   As shown in FIG. 1 and FIG. 2, the tape printing apparatus 1 according to the present embodiment has a casing 5, and various components constituting the tape printing apparatus 1 are stored inside the casing 5. . A storage cover 6 is pivotally supported behind the upper surface of the housing 5 so as to be openable and closable. The storage cover 6 covers the upper portion of the cassette storage portion 20 formed inside the housing 5.

カセット収納部20には、テープカセットCが着脱可能に装着される。テープカセットCは、感熱発色性を有する被記録媒体であるラベルテープを巻回状態で収納している。又、カセット収納部20には、サーマルヘッド25と、テープ搬送機構27と、テープ切断機構29が配設されている(図3参照)。サーマルヘッド25は、複数の発熱素子を列設して備えており、各発熱素子の通電制御を行うことにより、ラベルテープに印刷データに基づく印刷を施す。テープ搬送機構27は、プラテンローラ等の各種ローラと、搬送モータを有しており、テープカセットCからラベルテープを引き出し、筐体5外部へ搬送する。そして、テープ切断機構29は、テープカセットCから引き出されたラベルテープを、所定位置(後述するラベル排出口7の内側近傍)で切断する。   A tape cassette C is detachably attached to the cassette storage unit 20. The tape cassette C stores a label tape, which is a recording medium having heat-sensitive color development, in a wound state. Further, the cassette housing unit 20 is provided with a thermal head 25, a tape transport mechanism 27, and a tape cutting mechanism 29 (see FIG. 3). The thermal head 25 includes a plurality of heating elements arranged in a row, and performs printing based on the print data on the label tape by performing energization control of each heating element. The tape transport mechanism 27 has various rollers such as a platen roller and a transport motor. The tape transport mechanism 27 pulls out the label tape from the tape cassette C and transports it to the outside of the housing 5. Then, the tape cutting mechanism 29 cuts the label tape drawn from the tape cassette C at a predetermined position (near the inside of a label discharge port 7 described later).

そして、本実施形態に係るテープ印刷装置1において、筐体5には、ラベル排出口7、アダプタ挿入口8、コネクタ9が形成されている。ラベル排出口7は、カセット収納部20の左側面部に形成されている。印刷されたラベルテープは、当該ラベル排出口7から筐体5外部へ排出される。アダプタ挿入口8及びコネクタ9は、カセット収納部20の右側面部に形成されている。アダプタ挿入口8には、テープ印刷装置1へ電源を供給する電源アダプタが取り付けられる。コネクタ9には、USBケーブルが取り付けられ、テープ印刷装置1とコンピュータ装置(図示せず)とを通信可能に接続する。   In the tape printer 1 according to this embodiment, the housing 5 is formed with a label discharge port 7, an adapter insertion port 8, and a connector 9. The label discharge port 7 is formed on the left side surface portion of the cassette storage unit 20. The printed label tape is discharged from the label discharge port 7 to the outside of the housing 5. The adapter insertion port 8 and the connector 9 are formed on the right side surface portion of the cassette housing portion 20. A power adapter for supplying power to the tape printer 1 is attached to the adapter insertion port 8. A USB cable is attached to the connector 9, and the tape printer 1 and a computer device (not shown) are communicably connected.

テープ印刷装置1は、筐体5上面の前側部分に、キーボード10を有している。当該キーボード10は、文字入力キー11、印刷キー12、変換キー13、カーソルキー14、リターンキー15、メモリ保存キー16、デリミタ設定キー17等の複数の入力キーを備える。   The tape printer 1 has a keyboard 10 on the front side portion of the upper surface of the housing 5. The keyboard 10 includes a plurality of input keys such as a character input key 11, a print key 12, a conversion key 13, a cursor key 14, a return key 15, a memory storage key 16, and a delimiter setting key 17.

文字入力キー11は、複数のキャラクタを含み得るテキストデータを作成する際に入力される。本実施形態においては、文字入力キー11の入力により作成されたテキストデータを「入力テキストデータ」という。そして、文字入力キー11により入力されるキャラクタには、アルファベット、数字、仮名文字等の文字キャラクタに加え、「等号、不等号等の算術記号」「句点、読点、ピリオド、クエスチョンマーク等の記述記号」「大括弧、小括弧等の括弧類」「♂、♀等の学術記号」「%、℃等の単位記号」「通貨記号」「@、&等の一般的記号」「スペース、タブ等の編集記号」が含まれる。   The character input key 11 is input when creating text data that can include a plurality of characters. In the present embodiment, text data created by inputting the character input key 11 is referred to as “input text data”. Characters input by the character input key 11 include descriptive symbols such as “arithmetic symbols such as equal signs, inequality signs”, “punctuation marks, punctuation marks, periods, question marks, etc., in addition to character characters such as alphabets, numbers, and kana characters. "" Brackets such as brackets, parentheses, etc. "" scientific symbols such as ♂, ♀ "" unit symbols such as%, ° C "," currency symbols "" common symbols such as @, & etc. "" space, tab, etc. "Edit symbol" is included.

印刷キー12は、テキストデータ等の印刷データをラベルテープに対して印刷する際に入力される。カーソルキー14は、液晶ディスプレイ30に表示されたカーソルE(図13、図15等)を上下、左右に移動させる際に入力される。リターンキー15は、テキストデータ作成時に改行、改ブロックを入力する際や、各種処理の実行、選択確定を指令する際に入力される。メモリ保存キー16は、後述するEEPROM44の所定領域に、入力テキストデータ全体を登録する際に入力される。当該テープ印刷装置1においては、EEPROM44に登録されたテキストデータを読み出すことで、同一内容を入力テキストデータとして入力し得る。デリミタ設定キー17は、後述するデリミタ設定処理プログラム(図14参照)により、分割テキストデータを生成する際の基準となるデリミタキャラクタ等に係る設定を行う際に操作される。そしてキーボード10の下側には、制御基板35が配設されている。制御基板35には、後述する制御部40が構成される   The print key 12 is input when printing data such as text data on a label tape. The cursor key 14 is input when the cursor E (FIG. 13, FIG. 15, etc.) displayed on the liquid crystal display 30 is moved up and down and left and right. The return key 15 is input when a line feed or break block is input when creating text data, or when execution of various processes or selection confirmation is instructed. The memory storage key 16 is input when registering the entire input text data in a predetermined area of the EEPROM 44 described later. In the tape printer 1, the same content can be input as input text data by reading the text data registered in the EEPROM 44. The delimiter setting key 17 is operated when a setting related to a delimiter character or the like serving as a reference when generating divided text data is performed by a delimiter setting processing program (see FIG. 14) described later. A control board 35 is disposed below the keyboard 10. The control board 35 is configured with a control unit 40 described later.

テープ印刷装置1は、筐体5上面のキーボード10後方部分に、液晶ディスプレイ30を有している。当該液晶ディスプレイ30は、文字入力キー11等の入力に従ったキャラクタ(即ち、入力テキストデータの内容)を表示しうる。又、当該液晶ディスプレイ30は、後述するテキスト入力画面60等を表示しうる。   The tape printer 1 has a liquid crystal display 30 in the rear portion of the keyboard 10 on the top surface of the housing 5. The liquid crystal display 30 can display a character (that is, the content of input text data) according to the input from the character input key 11 or the like. Further, the liquid crystal display 30 can display a text input screen 60 and the like which will be described later.

テキスト入力画面60は、テープ印刷装置1で文字入力キー11等の入力操作により、入力テキストデータを生成する際に、液晶ディスプレイ30に表示される。図4に示すように、テキスト入力画面60は、通常入力画面と、第1変換候補表示画面を含む。図4(A)に示すように、通常入力画面は、ステータス表示エリア61と、入力テキスト表示エリア62を有している。ステータス表示エリア61は、テープ印刷装置1における現在の設定状況(文字サイズ、文字修飾等)を表示する領域である。入力テキスト表示エリア62は、文字入力キー11等の入力により生成された入力テキストデータの内容が表示される。当該入力テキスト表示エリア62には、カーソルバーが表示されており、入力・編集の対象となる位置を示している。   The text input screen 60 is displayed on the liquid crystal display 30 when input text data is generated by an input operation of the character input key 11 or the like in the tape printer 1. As shown in FIG. 4, the text input screen 60 includes a normal input screen and a first conversion candidate display screen. As shown in FIG. 4A, the normal input screen has a status display area 61 and an input text display area 62. The status display area 61 is an area for displaying the current setting status (character size, character modification, etc.) in the tape printer 1. The input text display area 62 displays the contents of the input text data generated by the input of the character input key 11 or the like. In the input text display area 62, a cursor bar is displayed to indicate a position to be input / edited.

そして、第1変換候補表示画面は、後述する変換候補表示処理プログラム(図11参照)において、変換用データ記憶領域44Aから、入力テキストデータの先頭文字と前方一致する予測変換用データを抽出した場合に、液晶ディスプレイ30に表示される。図4(B)に示すように、第1変換候補表示画面は、入力テキスト表示エリア62と、第1変換候補表示エリア63を有している。第1変換候補表示エリア63には、入力テキストデータの先頭文字と前方一致する予測変換用データの内、変換用データ記憶領域44Aへの登録時が最も新しいものの内容がテキスト表示される。   Then, the first conversion candidate display screen is obtained by extracting, from the conversion data storage area 44A, predictive conversion data that matches the first character of the input text data in the conversion candidate display processing program (see FIG. 11) described later. Then, it is displayed on the liquid crystal display 30. As shown in FIG. 4B, the first conversion candidate display screen has an input text display area 62 and a first conversion candidate display area 63. In the first conversion candidate display area 63, the content of the most recent data at the time of registration in the conversion data storage area 44 </ b> A among the prediction conversion data that coincides with the first character of the input text data is displayed in text.

次に、テープ印刷装置1の制御系について図3に基づき説明する。図3に示すように、制御部40は、CPU41、CGROM42、ROM43、EEPROM44、RAM45等を備えている。   Next, the control system of the tape printer 1 will be described with reference to FIG. As shown in FIG. 3, the control unit 40 includes a CPU 41, a CGROM 42, a ROM 43, an EEPROM 44, a RAM 45, and the like.

CPU41は、テープ印刷装置1の制御の中枢を担う中央演算装置であり、ROM43内の各種制御プログラムに基づいて各種の演算を行なう。CGROM42は、各キャラクタに対応するドットパターンデータを記憶している。各キャラクタは、当該CGROM42から読み出されたドットパターンデータに基づいて、液晶ディスプレイ30上に表示される。   The CPU 41 is a central processing unit that plays a central role in controlling the tape printer 1, and performs various calculations based on various control programs in the ROM 43. The CGROM 42 stores dot pattern data corresponding to each character. Each character is displayed on the liquid crystal display 30 based on the dot pattern data read from the CGROM 42.

ROM43は、各種制御プログラムを記憶するメモリであり、後述するメイン制御プログラム(図5参照)、変換用データ登録処理プログラム(図6参照)、登録内容更新処理プログラム(図9参照)、変換候補表示処理プログラム(図11参照)、変換候補選択処理プログラム(図12参照)、デリミタ設定処理プログラム(図14参照)を記憶している。   The ROM 43 is a memory for storing various control programs, and a main control program (see FIG. 5), a conversion data registration processing program (see FIG. 6), a registration content update processing program (see FIG. 9), and conversion candidate display to be described later. A processing program (see FIG. 11), a conversion candidate selection processing program (see FIG. 12), and a delimiter setting processing program (see FIG. 14) are stored.

又、EEPROM44は、テープ印刷装置1の電源をオフしてもこれらの記憶内容を保持可能なメモリであり、変換用データ記憶領域44A、キャラクタ設定記憶領域44Bを有している。そして、EEPROM44には、メモリ保存キー16入力時に入力されている入力テキストデータ全体を記憶する為のメモリ保存エリアが形成されている。従って、当該テープ印刷装置1は、当該メモリ保存エリアからデータを読み出すことで、入力テキストデータ全体を一度に入力することができる。   The EEPROM 44 is a memory that can retain the stored contents even when the tape printer 1 is turned off, and has a conversion data storage area 44A and a character setting storage area 44B. The EEPROM 44 has a memory storage area for storing the entire input text data inputted when the memory storage key 16 is input. Therefore, the tape printer 1 can input the entire input text data at a time by reading the data from the memory storage area.

変換用データ記憶領域44Aは、後述する変換用データ登録処理プログラムにより、予測変換用データが登録される記憶領域である。各予測変換用データは、後述する変換候補表示処理プログラム、変換候補選択処理プログラムの実行時に読み出される。尚、各予測変換用データを構成するキャラクタ数は、3以上42以下である。   The conversion data storage area 44A is a storage area in which predictive conversion data is registered by a conversion data registration processing program described later. Each prediction conversion data is read out when a conversion candidate display processing program and a conversion candidate selection processing program described later are executed. The number of characters constituting each prediction conversion data is 3 or more and 42 or less.

キャラクタ設定記憶領域44Bは、後述するデリミタキャラクタ、特殊キャラクタに関する設定の有効・無効を、キャラクタ種類毎に関連付けて記憶する記憶領域である(図7参照)。当該テープ印刷装置1は、このキャラクタ設定記憶領域44Bの設定内容を参照することにより、デリミタキャラクタ、特殊キャラクタを特定する。そして、RAM45は、CPU41により演算された各種の演算結果を一時的に記憶するメモリである。   The character setting storage area 44B is a storage area for storing validity / invalidity of settings relating to delimiter characters and special characters described later in association with each character type (see FIG. 7). The tape printer 1 identifies a delimiter character and a special character by referring to the setting contents of the character setting storage area 44B. The RAM 45 is a memory that temporarily stores various calculation results calculated by the CPU 41.

制御部40には、キーボード10、ヘッド駆動回路51と、搬送駆動回路53と、切断駆動回路55とがそれぞれ接続されている。ヘッド駆動回路51は、ラベルテープへの印刷を行う際に、サーマルヘッド25を駆動制御する。搬送駆動回路53は、ラベルテープを搬送する際に、テープ搬送機構27を駆動制御する。切断駆動回路55は、ラベルテープを切断する際に、テープ切断機構29を駆動制御する。   The controller 40 is connected to the keyboard 10, the head drive circuit 51, the transport drive circuit 53, and the cutting drive circuit 55. The head drive circuit 51 drives and controls the thermal head 25 when printing on the label tape. The transport drive circuit 53 drives and controls the tape transport mechanism 27 when transporting the label tape. The cutting drive circuit 55 drives and controls the tape cutting mechanism 29 when cutting the label tape.

次に、本実施形態に係るテープ印刷装置1のメイン制御プログラムについて、図5を参照しつつ詳細に説明する。当該メイン制御プログラムは、テープ印刷装置1に対する電源投入と共に、CPU41により実行される。尚、テープ印刷装置1への電源投入と同時に、液晶ディスプレイ30には、通常入力画面(図4(A)参照)が表示される。   Next, the main control program of the tape printer 1 according to the present embodiment will be described in detail with reference to FIG. The main control program is executed by the CPU 41 when the tape printer 1 is turned on. At the same time when the tape printer 1 is turned on, a normal input screen (see FIG. 4A) is displayed on the liquid crystal display 30.

メイン制御プログラムの実行を開始すると、CPU41は、キーボード10を構成するキーからのキー入力があったか否かを判断する(S1)。キー入力があった場合(S1:YES)、CPU41は、S2に処理を移行する。キー入力がなかった場合(S1:NO)、CPU41は、キー入力があるまで処理を待機する。   When the execution of the main control program is started, the CPU 41 determines whether or not there is a key input from a key constituting the keyboard 10 (S1). When there is a key input (S1: YES), the CPU 41 shifts the process to S2. When there is no key input (S1: NO), the CPU 41 stands by for processing until there is a key input.

S2においては、CPU41は、印刷キー12が入力されたか否かを判断する。印刷キー12が入力された場合(S2:YES)、CPU41は、S3に処理を移行する。印刷キー12が入力されていない場合(S2:NO)、CPU41は、S4に処理を移行する。   In S2, the CPU 41 determines whether or not the print key 12 has been input. When the print key 12 is input (S2: YES), the CPU 41 shifts the process to S3. When the print key 12 is not input (S2: NO), the CPU 41 proceeds to S4.

S3では、CPU41は、現時点における入力テキストデータに基づいて、ラベルテープに対する印刷処理を実行する。この時、CPU41は、ヘッド駆動回路51、搬送駆動回路53、切断駆動回路55により、サーマルヘッド25、テープ搬送機構27、テープ切断機構29を制御する。入力テキストデータをラベルテープに印刷した後、CPU41は、S6に処理を移行する。   In S3, the CPU 41 executes a printing process for the label tape based on the input text data at the current time. At this time, the CPU 41 controls the thermal head 25, the tape transport mechanism 27, and the tape cutting mechanism 29 by the head drive circuit 51, the transport drive circuit 53, and the cutting drive circuit 55. After printing the input text data on the label tape, the CPU 41 proceeds to S6.

S4に移行すると、CPU41は、メモリ保存キー16が入力されたか否かを判断する。メモリ保存キー16が入力された場合(S4:YES)、CPU41は、S5に処理を移行する。メモリ保存キー16が入力されていない場合(S4:NO)、CPU41は、S7に処理を移行する。   In S4, the CPU 41 determines whether or not the memory save key 16 has been input. When the memory save key 16 is input (S4: YES), the CPU 41 proceeds to S5. When the memory saving key 16 is not input (S4: NO), the CPU 41 shifts the process to S7.

S5においては、CPU41は、メモリ保存処理を実行する。メモリ保存処理(S5)では、CPU41は、現時点における入力テキストデータの内容を、EEPROM44のメモリ保存エリアに登録する。入力テキストデータをメモリ保存エリアに登録した後、CPU41は、S6に処理を移行する。   In S5, the CPU 41 executes a memory saving process. In the memory storage process (S5), the CPU 41 registers the contents of the input text data at the current time in the memory storage area of the EEPROM 44. After registering the input text data in the memory storage area, the CPU 41 proceeds to S6.

S6では、CPU41は、変換用データ登録処理を実行する。変換用データ登録処理(S6)においては、CPU41は、後述する変換用データ登録処理プログラム(図6参照)を実行することにより、入力テキストデータに基づく分割テキストデータを、予測変換用データとして変換用データ記憶領域44Aに登録する。変換用データ登録処理の詳細については、後に図面を参照しつつ詳細に説明する。尚、この場合における入力テキストデータは、印刷キー12の入力に伴う印刷処理(S3)の対象である入力テキストデータと、メモリ保存キー16の入力に伴うメモリ保存処理(S6)の対象である入力テキストデータの両者を含む。変換用データ登録処理(S6)を終了すると、CPU41は、S1に処理を戻す。   In S6, the CPU 41 executes conversion data registration processing. In the conversion data registration process (S6), the CPU 41 executes the conversion data registration process program (see FIG. 6) described later to convert the divided text data based on the input text data as the prediction conversion data. Register in the data storage area 44A. Details of the conversion data registration processing will be described later in detail with reference to the drawings. The input text data in this case is input text data that is a target of the printing process (S3) accompanying the input of the print key 12, and an input that is a target of the memory saving process (S6) accompanying the input of the memory saving key 16. Includes both text data. When the conversion data registration process (S6) ends, the CPU 41 returns the process to S1.

S7に移行すると、CPU41は、文字入力キー11が入力されたか否かを判断する。文字入力キー11が入力された場合(S7:YES)、CPU41は、S8に処理を移行する。一方、文字入力キー11が入力されていない場合(S7:NO)、CPU41は、S10に処理を移行する。   In step S7, the CPU 41 determines whether or not the character input key 11 has been input. When the character input key 11 is input (S7: YES), the CPU 41 shifts the process to S8. On the other hand, when the character input key 11 is not input (S7: NO), the CPU 41 shifts the process to S10.

S8においては、CPU41は、文字入力処理を実行する。当該文字入力処理(S8)では、CPU41は、入力された文字入力キー11に基づくキャラクタ(文字・記号含む)を、入力テキストデータに追加する。文字入力処理(S8)を終了すると、CPU41は、S9に処理を移行する。   In S8, the CPU 41 executes a character input process. In the character input process (S8), the CPU 41 adds a character (including characters and symbols) based on the input character input key 11 to the input text data. When the character input process (S8) is finished, the CPU 41 proceeds to S9.

S9では、CPU41は、変換候補表示処理を実行する。変換候補表示処理(S9)においては、CPU41は、後述する変換候補表示処理プログラム(図11参照)を実行することにより、入力テキストデータに基づき、変換用データ記憶領域44Aを検索し、変換候補として抽出された予測変換用データを表示する。変換候補表示処理の詳細については、後に図面を参照しつつ詳細に説明する。変換候補表示処理(S9)を終了すると、CPU41は、S1に処理を戻す。   In S9, the CPU 41 executes conversion candidate display processing. In the conversion candidate display process (S9), the CPU 41 executes a conversion candidate display process program (see FIG. 11) described later to search the conversion data storage area 44A on the basis of the input text data and use it as a conversion candidate. The extracted prediction conversion data is displayed. Details of the conversion candidate display processing will be described later in detail with reference to the drawings. When the conversion candidate display process (S9) ends, the CPU 41 returns the process to S1.

S10に移行すると、CPU41は、変換キー13が入力されたか否かを判断する。変換キー13が入力された場合(S10:YES)、CPU41は、S11に処理を移行する。変換キー13が入力されていない場合(S10:NO)、CPU41は、S12に処理を移行する。   After shifting to S10, the CPU 41 determines whether or not the conversion key 13 has been input. When the conversion key 13 is input (S10: YES), the CPU 41 proceeds to S11. If the conversion key 13 has not been input (S10: NO), the CPU 41 proceeds to S12.

S11においては、CPU41は、変換候補選択処理を実行する。変換候補選択処理(S11)では、CPU41は、後述する変換候補選択処理プログラム(図12参照)を実行することにより、変換候補として抽出された予測変換用データの一覧から、ユーザ所望の一の変換候補の選択を受け付け、選択を確定する。変換候補選択処理の詳細については、後に図面を参照しつつ詳細に説明する。変換候補選択処理(S11)を終了すると、CPU41は、S1に処理を戻す。   In S11, the CPU 41 executes conversion candidate selection processing. In the conversion candidate selection process (S11), the CPU 41 executes a conversion candidate selection process program (see FIG. 12), which will be described later, to perform one conversion desired by the user from the list of prediction conversion data extracted as conversion candidates. Accept candidate selection and confirm selection. Details of the conversion candidate selection processing will be described later in detail with reference to the drawings. When the conversion candidate selection process (S11) ends, the CPU 41 returns the process to S1.

S12では、CPU41は、デリミタ設定キー17が入力されたか否かを判断する。デリミタ設定キー17が入力された場合(S12:YES)、CPU41は、S13に処理を移行する。デリミタ設定キー17が入力されていない場合(S12:NO)、CPU41は、S14に処理を移行する。   In S12, the CPU 41 determines whether or not the delimiter setting key 17 has been input. When the delimiter setting key 17 is input (S12: YES), the CPU 41 shifts the process to S13. If the delimiter setting key 17 has not been input (S12: NO), the CPU 41 proceeds to S14.

S13に移行すると、CPU41は、デリミタ設定処理を実行する。デリミタ設定処理(S13)では、CPU41は、後述するデリミタ設定処理プログラム(図14参照)を実行することにより、分割テキストデータ生成の基準となるデリミタキャラクタ、特殊キャラクタに関する設定処理を行う。デリミタ設定処理の詳細については、後に図面を参照しつつ詳細に説明する。デリミタ設定処理(S13)を終了すると、CPU41は、S1に処理を戻す。   After shifting to S13, the CPU 41 executes a delimiter setting process. In the delimiter setting process (S13), the CPU 41 executes a delimiter setting process program (see FIG. 14), which will be described later, to perform a setting process related to delimiter characters and special characters that are the basis for generating divided text data. Details of the delimiter setting process will be described later in detail with reference to the drawings. When the delimiter setting process (S13) ends, the CPU 41 returns the process to S1.

S14では、CPU41は、その他の処理を実行する。当該その他の処理では、CPU41は、テープ印刷装置1に係る種々の設定処理や、入力テキストデータに係る文字修飾等の種々の処理を行う。その他の処理(S14)を終了すると、CPU41は、S1に処理を戻す。   In S14, the CPU 41 executes other processing. In the other processing, the CPU 41 performs various processing such as various setting processing related to the tape printer 1 and character modification related to input text data. When the other process (S14) ends, the CPU 41 returns the process to S1.

次に、変換用データ登録処理(S6)で実行される変換用データ登録処理プログラムについて、図6等を参照しつつ詳細に説明する。変換用データ登録処理(S6)に移行すると、先ず、CPU41は、入力テキストの処理を完了したか否かを判断する(S21)。   Next, the conversion data registration processing program executed in the conversion data registration processing (S6) will be described in detail with reference to FIG. When the process proceeds to the conversion data registration process (S6), the CPU 41 first determines whether or not the input text process has been completed (S21).

ここで、変換用データ登録処理(S6)においては、印刷処理(S3)の印刷対象若しくは、メモリ保存処理(S5)の保存対象である入力テキストデータを処理対象とする。本実施形態に係る変換用データ登録処理では、当該入力テキストデータを構成する各キャラクタの種類(後述するデリミタキャラクタ、特殊キャラクタ等)を特定し、キャラクタの種類に応じて、分割テキストデータを生成する(図8参照)。図8(A)に示すように、変換用データ登録処理(S6)では、入力テキストデータを構成する各キャラクタを、入力テキストデータの先頭(開始位置Ps)から後方へ向かう順(対象位置変更方向Diの順)に処理対象とし、当該キャラクタの種類を特定する。尚、本実施形態においては、処理対象となるキャラクタの位置を「対象位置」という。そして、入力テキストデータの最後尾に位置するキャラクタの種類を特定した時点(即ち、対象位置が完了位置Pfとなった時点)で、入力テキストデータの処理を完了したこととなる。   Here, in the conversion data registration process (S6), the input text data to be processed in the printing process (S3) or the storage object in the memory storage process (S5) is set as the processing object. In the conversion data registration processing according to the present embodiment, the type of each character constituting the input text data (delimiter character, special character, etc. described later) is specified, and divided text data is generated according to the type of character. (See FIG. 8). As shown in FIG. 8A, in the conversion data registration process (S6), the characters constituting the input text data are moved in the order from the head (start position Ps) of the input text data to the rear (target position change direction). The character type is specified as a processing target in the order of Di). In the present embodiment, the position of the character to be processed is referred to as “target position”. Then, when the type of character positioned at the end of the input text data is specified (that is, when the target position becomes the completion position Pf), the processing of the input text data is completed.

即ち、対象位置が入力テキストデータの後端よりも後方の完了位置に位置し、入力テキストの処理を完了している場合(S21:YES)、CPU41は、S33に処理を移行する。一方、対象位置が入力テキストデータを構成するキャラクタ上に位置し、入力テキストの処理を完了していない場合(S21:NO)、CPU41は、S22に処理を移行する。   That is, when the target position is located at a completion position behind the rear end of the input text data and the processing of the input text is completed (S21: YES), the CPU 41 proceeds to S33. On the other hand, when the target position is located on the character constituting the input text data and the processing of the input text is not completed (S21: NO), the CPU 41 shifts the processing to S22.

S22においては、CPU41は、対象位置に係るキャラクタがデリミタキャラクタであるか否かを判断する。ここで、デリミタキャラクタとは、当該デリミタキャラクタの直前位置及び直後位置において、入力テキストデータを分割するキャラクタであり、分割テキストデータを構成することのないキャラクタである。当該デリミタキャラクタは、デリミタ設定処理(S13)により、キャラクタ種別(例えば、スペース、改行、タブ等)毎に設定される(図7参照)。具体的には、CPU41は、対象位置に係るキャラクタと、キャラクタ設定記憶領域44Bの記憶内容に基づいて、当該キャラクタがデリミタキャラクタとして設定されているか否かを特定し、S22の判断処理を行う。デリミタキャラクタを検出した場合(S22:YES)、CPU41は、S23に処理を移行する。一方、デリミタキャラクタを検出していない場合(S22:NO)、CPU41は、S27に処理を移行する。   In S22, the CPU 41 determines whether or not the character related to the target position is a delimiter character. Here, the delimiter character is a character that divides input text data at a position immediately before and after the delimiter character, and is a character that does not constitute divided text data. The delimiter character is set for each character type (for example, space, line feed, tab, etc.) by the delimiter setting process (S13) (see FIG. 7). Specifically, the CPU 41 specifies whether or not the character is set as a delimiter character based on the character related to the target position and the stored contents of the character setting storage area 44B, and performs the determination process of S22. When the delimiter character is detected (S22: YES), the CPU 41 proceeds to S23. On the other hand, when the delimiter character is not detected (S22: NO), the CPU 41 shifts the process to S27.

S23では、CPU41は、分割テキストデータを構成する構成キャラクタ数が3以上であるか否かを判断する。この場合の分割テキストデータは、S22で検出されたデリミタキャラクタの直前位置を境界として分割され、且つ、当該デリミタキャラクタの前方に位置するテキストデータを意味する。尚、この場合、当該分割テキストデータには、S22で検出されたデリミタキャラクタは含まれない。構成キャラクタ数が3以上である場合(S23:YES)、CPU41は、S24に処理を移行する。構成キャラクタ数が2以下である場合(S23:NO)、CPU41は、S25に処理を移行する。   In S23, the CPU 41 determines whether or not the number of constituent characters constituting the divided text data is 3 or more. The divided text data in this case means text data that is divided with the position immediately before the delimiter character detected in S22 as a boundary and is positioned in front of the delimiter character. In this case, the divided text data does not include the delimiter character detected in S22. When the number of constituent characters is 3 or more (S23: YES), the CPU 41 shifts the process to S24. When the number of constituent characters is 2 or less (S23: NO), the CPU 41 proceeds to S25.

S24に移行すると、CPU41は、登録内容更新処理を実行する。登録内容更新処理(S24)では、CPU41は、後述する登録内容更新処理プログラム(図9参照)を実行することにより、重複登録を排除しつつ、分割テキストデータを変換用データ記憶領域44Aに登録する。登録内容更新処理(S24)の詳細については、後に図面を参照しつつ説明する。登録内容更新処理(S24)を終了すると、CPU41は、S25に処理を移行する。   After shifting to S24, the CPU 41 executes a registration content update process. In the registration content update process (S24), the CPU 41 executes a registration content update process program (see FIG. 9) described later to register the divided text data in the conversion data storage area 44A while eliminating duplicate registration. . Details of the registered content update process (S24) will be described later with reference to the drawings. When the registration content update process (S24) ends, the CPU 41 proceeds to S25.

S25においては、CPU41は、デリミタキャラクタを基準に分割され、S23、S24の処理対象であった分割テキストデータをRAM45からクリアする。分割テキストデータをクリアした後、CPU41は、S26に処理を移行する。   In S25, the CPU 41 is divided based on the delimiter character, and clears the divided text data that was the processing target in S23 and S24 from the RAM 45. After clearing the divided text data, the CPU 41 proceeds to S26.

S26では、CPU41は、対象位置を次のキャラクタに変更する。このS26の処理を行うことにより、対象位置は、入力テキストデータを構成する各キャラクタを、対象位置変更方向Diの順に移動する(図8参照)。対象位置を変更した後、CPU41は、S21に処理を戻し、新たな対象位置に関する処理を行う。   In S26, the CPU 41 changes the target position to the next character. By performing the processing of S26, the target position moves each character constituting the input text data in the order of the target position changing direction Di (see FIG. 8). After changing the target position, the CPU 41 returns the process to S21 and performs a process related to the new target position.

S27に移行すると、CPU41は、対象位置に係るキャラクタが特殊キャラクタであるか否かを判断する。ここで、特殊キャラクタとは、当該特殊キャラクタの直前位置のみで、入力テキストデータを分割するキャラクタであり、デリミタ設定処理(S13)により設定される(図7参照)。本実施形態における特殊キャラクタとしては、「@:アットマーク」が該当する。そして、特殊キャラクタは、分割テキストデータの先頭キャラクタとして含まれ得る。具体的には、CPU41は、対象位置に係るキャラクタと、キャラクタ設定記憶領域44Bの記憶内容に基づいて、当該キャラクタが特殊キャラクタとして設定されているか否かを特定し、S27の判断処理を行う。特殊キャラクタを検出した場合(S27:YES)、CPU41は、S28に処理を移行する。一方、特殊キャラクタを検出していない場合(S27:NO)、CPU41は、S32に処理を移行する。   In S27, the CPU 41 determines whether or not the character related to the target position is a special character. Here, the special character is a character that divides the input text data only at the position immediately before the special character, and is set by the delimiter setting process (S13) (see FIG. 7). The special character in this embodiment corresponds to “@: at sign”. The special character can be included as the first character of the divided text data. Specifically, the CPU 41 specifies whether or not the character is set as a special character based on the character related to the target position and the content stored in the character setting storage area 44B, and performs the determination process in S27. When the special character is detected (S27: YES), the CPU 41 proceeds to S28. On the other hand, when a special character is not detected (S27: NO), the CPU 41 proceeds to S32.

S28においては、CPU41は、分割テキストデータを構成する構成キャラクタ数が3以上であるか否かを判断する。この場合の分割テキストデータは、S27で検出された特殊キャラクタの直前位置を境界として分割され、且つ、当該特殊キャラクタの前方に位置するテキストデータを意味する。尚、この場合、当該分割テキストデータには、S27で検出された特殊キャラクタは含まれない。構成キャラクタ数が3以上である場合(S28:YES)、CPU41は、S29に処理を移行する。構成キャラクタ数が2以下である場合(S28:NO)、CPU41は、S30に処理を移行する。   In S28, the CPU 41 determines whether or not the number of constituent characters constituting the divided text data is 3 or more. The divided text data in this case means text data that is divided with the position immediately before the special character detected in S27 as a boundary and is positioned in front of the special character. In this case, the divided text data does not include the special character detected in S27. When the number of constituent characters is 3 or more (S28: YES), the CPU 41 proceeds to S29. When the number of constituent characters is two or less (S28: NO), the CPU 41 proceeds to S30.

S29では、CPU41は、登録内容更新処理を実行する。登録内容更新処理(S29)では、CPU41は、後述する登録内容更新処理プログラム(図9参照)を実行することにより、重複登録を排除しつつ、分割テキストデータを変換用データ記憶領域44Aに登録する。登録内容更新処理(S29)の詳細については、後に図面を参照しつつ説明する。登録内容更新処理(S29)を終了すると、CPU41は、S30に処理を移行する。   In S29, the CPU 41 executes a registration content update process. In the registration content update process (S29), the CPU 41 executes a registration content update process program (see FIG. 9) described later to register the divided text data in the conversion data storage area 44A while eliminating duplicate registration. . Details of the registration content update process (S29) will be described later with reference to the drawings. When the registered content update process (S29) ends, the CPU 41 proceeds to S30.

S30に移行すると、CPU41は、特殊キャラクタを基準に分割され、S28、S29の処理対象であった分割テキストデータをRAM45からクリアする。分割テキストデータをクリアした後、CPU41は、S31に処理を移行する。   After shifting to S30, the CPU 41 is divided based on the special character, and clears the divided text data, which is the processing target of S28 and S29, from the RAM 45. After clearing the divided text data, the CPU 41 proceeds to S31.

S31においては、CPU41は、新たな分割テキストデータを構成するキャラクタとして、対象位置に係る特殊キャラクタを追加して、RAM45に格納する。これにより、その後の処理対象となる分割テキストデータには、特殊キャラクタが先頭位置のキャラクタとして含まれる。特殊キャラクタを追加した後、CPU41は、S26に処理を移行する。   In S31, the CPU 41 adds a special character relating to the target position as a character constituting the new divided text data, and stores it in the RAM 45. Accordingly, the special text is included as the character at the head position in the divided text data to be processed thereafter. After adding the special character, the CPU 41 proceeds to S26.

S32では、CPU41は、RAM45に格納されている分割テキストデータの末尾に、対象位置に係るキャラクタを追加し、分割テキストデータを更新する。尚、このS32に係る処理は、対象位置に係るキャラクタがデリミタキャラクタ、特殊キャラクタの何れにも該当しない場合に実行される。分割テキストデータの更新を終了すると、CPU41は、S26に処理を移行する。   In S32, the CPU 41 adds the character related to the target position to the end of the divided text data stored in the RAM 45, and updates the divided text data. The process according to S32 is executed when the character at the target position does not correspond to either the delimiter character or the special character. When the update of the divided text data is completed, the CPU 41 proceeds to S26.

S33に移行すると、CPU41は、分割テキストデータを構成する構成キャラクタ数が3以上であるか否かを判断する。この場合の分割テキストデータは、入力テキストデータの末尾を含む分割テキストデータである。構成キャラクタ数が3以上である場合(S33:YES)、CPU41は、S34に処理を移行する。構成キャラクタ数が2以下である場合(S33:NO)、CPU41は、S35に処理を移行する。   After shifting to S33, the CPU 41 determines whether or not the number of constituent characters constituting the divided text data is 3 or more. The divided text data in this case is divided text data including the end of the input text data. When the number of constituent characters is 3 or more (S33: YES), the CPU 41 proceeds to S34. When the number of constituent characters is 2 or less (S33: NO), the CPU 41 shifts the process to S35.

S34においては、CPU41は、登録内容更新処理を実行する。登録内容更新処理(S34)では、CPU41は、後述する登録内容更新処理プログラム(図9参照)を実行することにより、重複登録を排除しつつ、分割テキストデータを変換用データ記憶領域44Aに登録する。登録内容更新処理(S34)の詳細については、後に図面を参照しつつ説明する。登録内容更新処理(S34)を終了すると、CPU41は、S35に処理を移行する。   In S34, the CPU 41 executes a registration content update process. In the registration content update process (S34), the CPU 41 executes a registration content update process program (see FIG. 9) described later to register the divided text data in the conversion data storage area 44A while eliminating duplicate registration. . Details of the registered content update process (S34) will be described later with reference to the drawings. When the registration content update process (S34) ends, the CPU 41 proceeds to S35.

S35では、CPU41は、入力テキストデータの末尾を含み、S33、S34の処理対象であった分割テキストデータをRAM45からクリアする。分割テキストデータをクリアした後、CPU41は、変換用データ登録処理プログラムを終了する。   In S <b> 35, the CPU 41 clears the divided text data including the end of the input text data and the processing target of S <b> 33 and S <b> 34 from the RAM 45. After clearing the divided text data, the CPU 41 ends the conversion data registration processing program.

ここで、変換用データ登録処理(S6)の処理内容について、図8に示す具体例をもって説明する。尚、この具体例においては、図8(A)に示す入力テキストデータが処理対象となる。上述したように、変換用データ登録処理(S6)では、入力テキストデータを構成する各キャラクタを、開始位置Psから順に対象位置変更方向Diに向かって処理対象とする。   Here, the processing content of the conversion data registration processing (S6) will be described with a specific example shown in FIG. In this specific example, the input text data shown in FIG. As described above, in the conversion data registration process (S6), each character constituting the input text data is set as a processing target in order from the start position Ps toward the target position changing direction Di.

図8(A)に示す入力テキストデータにおいて、開始位置Psには、「*:アスタリスク」が存在している。この場合、CPU41は、キャラクタ設定記憶領域44Bを参照して、当該「*:アスタリスク」をデリミタキャラクタと判断する。当該「*:アスタリスク」の直前位置にキャラクタが存在しないため、CPU41は、そのまま次のキャラクタ(即ち、「A」)に、対象位置を変更して処理を進める。そして、改行記号Rが対象位置となった場合、CPU41は、図7に示すように、改行記号Rがデリミタキャラクタに該当するため、入力テキストデータを、改行記号Rの前後位置で分割する。従って、CPU41は、改行記号Rの直前位置に位置する「分割テキストデータ:ABC.12-3」を対象として、S23、S24の処理を行う。   In the input text data shown in FIG. 8A, “*: asterisk” exists at the start position Ps. In this case, the CPU 41 refers to the character setting storage area 44B and determines that “*: asterisk” is a delimiter character. Since there is no character immediately before the “*: asterisk”, the CPU 41 changes the target position to the next character (that is, “A”) as it is, and proceeds with the process. When the line feed symbol R becomes the target position, the CPU 41 divides the input text data at the positions before and after the line feed symbol R because the line feed symbol R corresponds to a delimiter character as shown in FIG. Accordingly, the CPU 41 performs the processes of S23 and S24 for “divided text data: ABC.12-3” positioned immediately before the line feed symbol R.

「ABC.12-3」の処理を完了すると、CPU41は、改行記号R以後のキャラクタに関する処理を行う。「XX」の後方に位置するスペース記号Spが対象位置になると、CPU41は、図7に示すように、スペース記号Spがデリミタキャラクタに該当するため、入力テキストデータを、スペース記号Spの前後位置で分割し、「分割テキストデータ:XX」を処理対象とする。当該分割テキストデータの構成キャラクタ数が2であるため、「分割テキストデータ:XX」は、変換用データ記憶領域44Aに登録されることなく、クリアされる。   When the processing of “ABC.12-3” is completed, the CPU 41 performs processing related to the character after the line feed symbol R. When the space symbol Sp located behind “XX” is the target position, the CPU 41 corresponds to the delimiter character as shown in FIG. The data is divided and “divided text data: XX” is processed. Since the number of constituent characters of the divided text data is 2, “divided text data: XX” is cleared without being registered in the conversion data storage area 44A.

「分割テキストデータ:XX」の処理後、CPU41は、スペース記号Sp以後のキャラクタに関する処理を行う。「YYzz」の後方に位置する「@:アットマーク」が対象位置となると、CPU41は、図7に示すように、「@」が特殊キャラクタに該当するため、入力テキストデータを、「@」の前方位置で分割し、「分割テキストデータ:YYzz」を処理対象とする。S28、S29により、CPU41は、「当該分割テキストデータ:YYzz」を、変換用データ記憶領域44Aに登録する。その後、CPU41は、特殊キャラクタである「@」を、次の処理対象となる分割テキストデータの先頭キャラクタとして追加する(S31)。そして、完了位置Pfが対象位置となった場合、CPU41は、「分割テキストデータ:@abcde.co.jp」を処理対象として、S33、S34の処理を行い、変換用データ記憶領域44Aに登録する。   After processing “divided text data: XX”, the CPU 41 performs processing related to the character after the space symbol Sp. When “@: at mark” located behind “YYzz” becomes the target position, as shown in FIG. 7, since “@” corresponds to a special character, the CPU 41 converts the input text data to “@”. Division is performed at the front position, and “division text data: YYzz” is set as a processing target. Through S28 and S29, the CPU 41 registers “the divided text data: YYzz” in the conversion data storage area 44A. Thereafter, the CPU 41 adds “@”, which is a special character, as the first character of the divided text data to be processed next (S31). Then, when the completion position Pf becomes the target position, the CPU 41 performs the processing of S33 and S34 with “division text data: @ abcde.co.jp” as a processing target, and registers it in the conversion data storage area 44A. .

続いて、登録内容更新処理(S24、S29、S34)で実行される登録内容更新処理プログラムについて、図9を参照しつつ詳細に説明する。登録内容更新処理(S24、S29、S34)に移行すると、CPU41は、先ず、処理対象である分割テキストデータを構成するキャラクタ数(以下、分割キャラクタ数)が所定数(本実施形態では42)以下であるか否かを判断する(S41)。分割キャラクタ数が42以下である場合(S41:YES)、CPU41は、S43に処理を移行する。一方、分割キャラクタ数が43以上である場合(S41:NO)、CPU41は、S42に処理を移行する。   Next, the registration content update processing program executed in the registration content update processing (S24, S29, S34) will be described in detail with reference to FIG. When the registration content update process (S24, S29, S34) is started, the CPU 41 first has a predetermined number (42 in the present embodiment) of the number of characters composing the divided text data to be processed (hereinafter, divided character number). It is determined whether or not (S41). When the number of divided characters is 42 or less (S41: YES), the CPU 41 shifts the process to S43. On the other hand, when the number of divided characters is 43 or more (S41: NO), the CPU 41 proceeds to S42.

S42では、CPU41は、分割テキスト編集処理を実行する。分割テキスト編集処理(S42)においては、CPU41は、処理対象である分割キャラクタ数が43以上である分割テキストデータを編集し、分割キャラクタ数が42以内となるように、分割テキストデータの43番目以後のキャラクタを削除する。分割キャラクタ数を42以下に編集した分割テキストデータを処理対象に設定した後、CPU41は、分割テキスト編集処理(S42)を終了し、S43に処理を移行する。   In S42, the CPU 41 executes a divided text editing process. In the divided text editing process (S42), the CPU 41 edits the divided text data in which the number of divided characters to be processed is 43 or more, and the 43rd and subsequent pieces of divided text data so that the number of divided characters is within 42. Delete the character. After setting the divided text data edited to have the number of divided characters equal to or less than 42, the CPU 41 ends the divided text editing process (S42), and proceeds to S43.

S43においては、CPU41は、変換用データ検索処理を実行する(S43)。変換用データ検索処理では、CPU41は、処理対象である分割テキストデータに基づいて、変換用データ記憶領域44Aを検索し、当該分割テキストデータと同一のキャラクタ構成を有する予測変換用データ(以下、同一データ)を抽出する(S43)。変換用データ検索処理を終了すると、CPU41は、S44に処理を移行する。   In S43, the CPU 41 executes a conversion data search process (S43). In the conversion data search process, the CPU 41 searches the conversion data storage area 44A based on the divided text data to be processed, and predictive conversion data having the same character configuration as the divided text data (hereinafter, the same). Data) is extracted (S43). When the conversion data search process ends, the CPU 41 shifts the process to S44.

S44においては、CPU41は、変換用データ検索処理(S43)の検索結果に基づいて、前記同一データが変換用データ記憶領域44Aに存在するか否かを判断する。同一データが変換用データ記憶領域44Aに存在する場合(S44:YES)、CPU41は、S45に処理を移行する。同一データが変換用データ記憶領域44Aに存在しない場合(S44:NO)、CPU41は、S46に処理を移行する。   In S44, the CPU 41 determines whether or not the same data exists in the conversion data storage area 44A based on the search result of the conversion data search process (S43). When the same data exists in the conversion data storage area 44A (S44: YES), the CPU 41 proceeds to S45. When the same data does not exist in the conversion data storage area 44A (S44: NO), the CPU 41 shifts the process to S46.

S45では、CPU41は、同一データ削除処理を実行する。同一データ削除処理(S45)においては、CPU41は、変換用データ検索処理(S43)で特定された同一データを、変換用データ記憶領域44Aから削除する。同一データ削除処理を終了した後、CPU41は、S46に処理を移行する。   In S45, the CPU 41 executes the same data deletion process. In the same data deletion process (S45), the CPU 41 deletes the same data specified in the conversion data search process (S43) from the conversion data storage area 44A. After finishing the same data deletion process, the CPU 41 shifts the process to S46.

S46に移行すると、CPU41は、処理対象である分割テキストデータ(分割キャラクタ数が42以下)を、変換用データ記憶領域44Aに登録可能であるか否かを判断する。具体的には、CPU41は、変換用データ記憶領域44Aの記憶容量Mと、処理対象である分割テキストデータのデータサイズ及び変換用データ記憶領域44Aに既に登録されている全ての予測変換用データのデータサイズの総和(以下、データサイズD)とを比較することで、S46の判断処理を行う。データサイズDが記憶容量Mより大きい場合(S46:YES)、CPU41は、S48に処理を移行する。データサイズDが記憶容量M以下である場合(S46:NO)、CPU41は、S47に処理を移行する。   After shifting to S46, the CPU 41 determines whether or not the divided text data to be processed (the number of divided characters is 42 or less) can be registered in the conversion data storage area 44A. Specifically, the CPU 41 stores the storage capacity M of the conversion data storage area 44A, the data size of the divided text data to be processed, and all the prediction conversion data already registered in the conversion data storage area 44A. The determination process of S46 is performed by comparing the sum of the data sizes (hereinafter, data size D). When the data size D is larger than the storage capacity M (S46: YES), the CPU 41 shifts the process to S48. When the data size D is less than or equal to the storage capacity M (S46: NO), the CPU 41 shifts the process to S47.

S47においては、CPU41は、分割テキスト登録処理を実行する。分割テキスト登録処理(S47)では、CPU41は、処理対象である分割テキストデータを、予測変換用データとして変換用データ記憶領域44Aに登録する。この登録を行う際に、CPU41は、登録順(登録日時)を示す情報を関連付ける(図10参照)。分割テキスト登録処理終了後、CPU41は、登録内容更新処理プログラムを終了する。   In S47, the CPU 41 executes a divided text registration process. In the divided text registration process (S47), the CPU 41 registers the divided text data to be processed in the conversion data storage area 44A as predictive conversion data. When this registration is performed, the CPU 41 associates information indicating the registration order (registration date and time) (see FIG. 10). After completing the divided text registration process, the CPU 41 ends the registered content update process program.

S48では、CPU41は、必要容量確保処理を実行する。必要容量確保処理(S48)では、CPU41は、S47で関連付けられた登録順を示す情報に基づいて、変換用データ記憶領域44Aに格納されている予測変換用データの内、最も登録時の古い予測変換用データを特定し、当該予測変換用データを変換用データ記憶領域44Aから削除する。必要容量確保処理を終了すると、CPU41は、S46に処理を戻す。S46、S48の処理を繰り返すことにより、変換用データ記憶領域44A内に十分な空き容量が確保されるので、テープ印刷装置1は、処理対象である分割テキストデータを、新たな予測変換用データとして登録し得る。   In S48, the CPU 41 executes a necessary capacity securing process. In the necessary capacity securing process (S48), the CPU 41, based on the information indicating the registration order associated in S47, among the prediction conversion data stored in the conversion data storage area 44A, the oldest prediction at the time of registration. The conversion data is specified, and the prediction conversion data is deleted from the conversion data storage area 44A. When the necessary capacity securing process ends, the CPU 41 returns the process to S46. By repeating the processes of S46 and S48, a sufficient free space is secured in the conversion data storage area 44A. Therefore, the tape printer 1 uses the divided text data to be processed as new predictive conversion data. You can register.

登録内容更新処理(S24、S29、S34)の処理内容について、図10を参照しつつ具体的に説明する。当該具体例においては、処理対象である分割テキストデータは、「ABC.12-3」であるものとする。   The processing content of the registration content update processing (S24, S29, S34) will be specifically described with reference to FIG. In this specific example, it is assumed that the divided text data to be processed is “ABC.12-3”.

当該具体例において、変換用データ検索処理(S43)を実行すると、CPU41は、処理対象である「ABC.12-3」と同一のキャラクタ構成の予測変換データ(即ち、図10左図における登録順:2の予測変換データ)を特定し、当該予測変換データを削除する(S45)。変換用データ記憶領域44Aにおける予測変換データの登録順は、当該予測変換データの削除により更新される。そして、CPU41は、処理対象である「ABC.12-3」の分割テキストデータを、新たな予測変換用データ(登録順:N)として登録する(図10右図)。これにより、変換用データ記憶領域44Aの登録内容は、処理対象である分割テキストデータを、重複登録することなく登録し得る。   In this specific example, when the conversion data search process (S43) is executed, the CPU 41 predicts conversion data having the same character configuration as that of “ABC.12-3” to be processed (that is, the registration order in the left diagram of FIG. 10). : Prediction conversion data of 2), and the prediction conversion data is deleted (S45). The registration order of prediction conversion data in the conversion data storage area 44A is updated by deleting the prediction conversion data. Then, the CPU 41 registers the divided text data “ABC.12-3” to be processed as new predictive conversion data (registration order: N) (the right diagram in FIG. 10). As a result, the registered contents of the conversion data storage area 44A can register the divided text data to be processed without being registered redundantly.

次に、変換候補表示処理(S9)で実行される変換候補表示処理プログラムについて、図11を参照しつつ詳細に説明する。変換候補表示処理(S9)に移行すると、CPU41は、入力キャラクタ種別特定処理を実行する(S51)。入力キャラクタ種別特定処理(S51)では、CPU41は、S7における文字入力キー11の入力より入力された入力キャラクタの種別を特定する。入力キャラクタ種別特定処理(S51)を終了した後、CPU41は、S52に処理を移行する。   Next, the conversion candidate display processing program executed in the conversion candidate display processing (S9) will be described in detail with reference to FIG. After shifting to the conversion candidate display process (S9), the CPU 41 executes an input character type specifying process (S51). In the input character type specifying process (S51), the CPU 41 specifies the type of the input character input from the input of the character input key 11 in S7. After completing the input character type specifying process (S51), the CPU 41 proceeds to S52.

S52においては、CPU41は、入力キャラクタ種別が変換対象種別であるか否かを判断する。本実施形態において、変換対象種別は、デリミタキャラクタに該当しない種別とし、通常のキャラクタ(仮名文字、アルファベット等)や特殊キャラクタも含まれる。入力キャラクタ種別が変換対象種別である場合(S52:YES)、CPU41は、S53に処理を移行する。入力キャラクタ種別が変換対象種別ではない場合(S52:NO)、CPU41は、S54に処理を移行する。   In S52, the CPU 41 determines whether or not the input character type is a conversion target type. In the present embodiment, the conversion target type is a type that does not correspond to the delimiter character, and includes normal characters (kana characters, alphabets, etc.) and special characters. When the input character type is the conversion target type (S52: YES), the CPU 41 proceeds to S53. When the input character type is not the conversion target type (S52: NO), the CPU 41 shifts the process to S54.

S53では、CPU41は、S52の対象である入力キャラクタを、変換対象テキストデータに追加する。ここで、変換対象テキストデータとは、予測変換用データを利用した予測変換機能に用いられ、変換用データ記憶領域44Aの検索条件としての意味合いを有する。変換対象テキストデータに入力キャラクタを追加した後、CPU41は、S55に処理を移行する。   In S53, the CPU 41 adds the input character that is the target of S52 to the conversion target text data. Here, the conversion target text data is used for a predictive conversion function using the predictive conversion data, and has meaning as a search condition in the conversion data storage area 44A. After adding the input character to the conversion target text data, the CPU 41 proceeds to S55.

S54に移行すると、CPU41は、変換対象種別に該当しないキャラクタが入力されたことに基づいて、RAM45に格納されている変換対象テキストデータをクリアする。その後、CPU41は、S58に処理を移行する。   In step S54, the CPU 41 clears the conversion target text data stored in the RAM 45 based on the input of a character that does not correspond to the conversion target type. Thereafter, the CPU 41 shifts the processing to S58.

S55においては、CPU41は、変換候補検索処理を実行する。変換候補検索処理(S55)では、CPU41は、変換用データ記憶領域44Aから、変換対象テキストデータと前方一致する予測変換用データ(以下、該当データ)を検索する。変換候補検索処理(S55)を終了すると、CPU41は、S56に処理を移行する。   In S55, the CPU 41 executes conversion candidate search processing. In the conversion candidate search process (S55), the CPU 41 searches the conversion data storage area 44A for predictive conversion data (hereinafter referred to as corresponding data) that matches forward with the conversion target text data. When the conversion candidate search process (S55) ends, the CPU 41 proceeds to S56.

S56では、CPU41は、変換候補検索処理(S55)の検索結果に基づいて、該当データが変換用データ記憶領域44Aに存在するか否かを判断する。該当データが変換用データ記憶領域44A内に存在する場合(S56:YES)、CPU41は、S57に処理を移行する。該当データが変換用データ記憶領域44Aに存在しない場合(S56:NO)、CPU41は、S58に処理を移行する。   In S56, the CPU 41 determines whether the corresponding data exists in the conversion data storage area 44A based on the search result of the conversion candidate search process (S55). When the corresponding data exists in the conversion data storage area 44A (S56: YES), the CPU 41 shifts the process to S57. When the corresponding data does not exist in the conversion data storage area 44A (S56: NO), the CPU 41 proceeds to S58.

S57に移行すると、CPU41は、第1変換候補表示画面(図4(B)参照)を液晶ディスプレイ30に表示する。この時、第1変換候補表示エリア63には、該当データとして抽出された予測変換用データの内、登録時が最も新しい予測変換用データの内容がテキスト表示される。第1変換候補表示画面を表示した後、CPU41は、変換候補表示処理プログラムを終了する。   After shifting to S57, the CPU 41 displays the first conversion candidate display screen (see FIG. 4B) on the liquid crystal display 30. At this time, in the first conversion candidate display area 63, the content of the prediction conversion data that is the newest at the time of registration among the prediction conversion data extracted as the corresponding data is displayed in text. After displaying the first conversion candidate display screen, the CPU 41 ends the conversion candidate display processing program.

S58においては、CPU41は、通常入力画面(図4(A)参照)を液晶ディスプレイ30に表示する。通常入力画面を液晶ディスプレイ30に表示した後、CPU41は、変換候補表示処理プログラムを終了する。   In S58, the CPU 41 displays a normal input screen (see FIG. 4A) on the liquid crystal display 30. After displaying the normal input screen on the liquid crystal display 30, the CPU 41 ends the conversion candidate display processing program.

続いて、変換候補選択処理(S11)で実行される変換候補選択処理プログラムについて、図12等を参照しつつ詳細に説明する。変換候補選択処理(S11)に移行すると、CPU41は、変換候補検索処理(S55)の検索結果に基づいて、変換候補(該当データ)が存在するか否かを判断する(S61)。変換候補(即ち、該当データ)が存在する場合(S61:YES)、CPU41は、S62に処理を移行する。変換候補が存在しない場合(S61:NO)、CPU41は、変換候補選択処理プログラムを終了する。   Next, the conversion candidate selection process program executed in the conversion candidate selection process (S11) will be described in detail with reference to FIG. When the process proceeds to the conversion candidate selection process (S11), the CPU 41 determines whether there is a conversion candidate (corresponding data) based on the search result of the conversion candidate search process (S55) (S61). When there is a conversion candidate (that is, corresponding data) (S61: YES), the CPU 41 proceeds to S62. When there is no conversion candidate (S61: NO), the CPU 41 ends the conversion candidate selection processing program.

S62においては、CPU41は、変換候補一覧画面65を液晶ディスプレイ30に表示する。図13(A)に示すように、変換候補一覧画面65では、変換候補検索処理(S55)により抽出された各該当データに基づいて、各変換候補の一覧をテキスト表示する。又、変換候補一覧画面65上には、カーソルEが表示され、当該カーソルEにより所望の変換候補を選択可能となっている。変換候補一覧画面65を液晶ディスプレイ30に表示した後、CPU41は、S63に処理を移行する。   In S <b> 62, the CPU 41 displays a conversion candidate list screen 65 on the liquid crystal display 30. As shown in FIG. 13A, on the conversion candidate list screen 65, a list of conversion candidates is displayed as text based on the corresponding data extracted by the conversion candidate search process (S55). A cursor E is displayed on the conversion candidate list screen 65, and a desired conversion candidate can be selected by the cursor E. After displaying the conversion candidate list screen 65 on the liquid crystal display 30, the CPU 41 proceeds to S63.

S63では、CPU41は、カーソルキー14が入力されたか否かを判断する。カーソルキー14が入力された場合(S63:YES)、CPU41は、S64に処理を移行する。カーソルキー14が入力されていない場合(S63:NO)、CPU41は、S65に処理を移行する。   In S63, the CPU 41 determines whether or not the cursor key 14 has been input. When the cursor key 14 is input (S63: YES), the CPU 41 proceeds to S64. If the cursor key 14 has not been input (S63: NO), the CPU 41 proceeds to S65.

S64に移行すると、CPU41は、変換候補変更処理を実行する。変換候補変更処理(S64)では、CPU41は、カーソルEにより変換候補として選択されている該当データを、カーソルキー14の入力操作に基づいて、異なる該当データに変更する(例えば、図13(C)参照)。変換候補変更処理(S64)を終了すると、CPU41は、S63に処理を移行する。   After shifting to S64, the CPU 41 executes conversion candidate change processing. In the conversion candidate change process (S64), the CPU 41 changes the corresponding data selected as the conversion candidate by the cursor E to different corresponding data based on the input operation of the cursor key 14 (for example, FIG. 13C). reference). When the conversion candidate change process (S64) ends, the CPU 41 proceeds to S63.

尚、図13(A)に示すように、カーソルEにより選択されている変換候補のテキスト全体が表示されていない場合(図13(A)中の「sebastian.montgomerie」)、CPU41は、カーソルキー14の右操作が入力されたことを条件に、変換候補詳細画面70を液晶ディスプレイ30に表示する。図13(B)に示すように、変換候補詳細画面70は、カーソルEにより選択されている変換候補のテキスト全体を、液晶ディスプレイ30全体を用いて表示する。これにより、ユーザは、現在選択している変換候補の詳細を把握し得る。   As shown in FIG. 13A, when the entire conversion candidate text selected by the cursor E is not displayed (“sebastian.montgomerie” in FIG. 13A), the CPU 41 uses the cursor key. The conversion candidate detail screen 70 is displayed on the liquid crystal display 30 on condition that the right operation 14 is input. As shown in FIG. 13B, the conversion candidate detail screen 70 displays the entire text of the conversion candidate selected by the cursor E using the entire liquid crystal display 30. Thereby, the user can grasp the details of the currently selected conversion candidate.

S65においては、CPU41は、リターンキー15が入力されたか否かを判断する。リターンキー15が入力された場合(S65:YES)、CPU41は、S66に処理を移行する。リターンキー15が入力されていない場合(S65:NO)、CPU41は、S63に処理を戻す。   In S65, the CPU 41 determines whether or not the return key 15 has been input. When the return key 15 is input (S65: YES), the CPU 41 proceeds to S66. When the return key 15 is not input (S65: NO), the CPU 41 returns the process to S63.

S66では、CPU41は、変換確定処理を実行する。変換確定処理(S66)においては、CPU41は、予測変換の対象を、リターンキー15入力時に選択されている変換候補に係る予測変換用データに特定し、変換対象テキストデータを補完して予測変換用データに基づくテキスト全体を入力した状態とする。変換確定処理(S66)を終了した後、CPU41は、S67に処理を移行する。   In S66, the CPU 41 executes a conversion confirmation process. In the conversion confirmation process (S66), the CPU 41 identifies the target of prediction conversion as the data for prediction conversion related to the conversion candidate selected when the return key 15 is input, and complements the conversion target text data for prediction conversion. The entire text based on the data is entered. After completing the conversion confirmation process (S66), the CPU 41 shifts the process to S67.

S67に移行すると、CPU41は、RAM45に格納されている変換対象テキストデータをクリアする。変換対象テキストデータをクリアした後、CPU41は、S68に処理を移行する。   In step S67, the CPU 41 clears the conversion target text data stored in the RAM 45. After clearing the conversion target text data, the CPU 41 proceeds to S68.

S68においては、CPU41は、変換確定処理(S66)及び変換対象テキストデータのクリアに伴い、通常入力画面(図13(D)参照)を液晶ディスプレイ30に表示する。図13(D)に示すように、この場合の通常入力画面における入力テキスト表示エリア62には、変換確定処理(S66)で予測変換用データに基づいて予測変換入力されたテキスト(例えば、「sebastian.montgomerie」)が表示される。通常入力画面を液晶ディスプレイ30に表示した後、CPU41は、変換候補選択処理プログラムを終了する。   In S68, the CPU 41 displays a normal input screen (see FIG. 13D) on the liquid crystal display 30 in accordance with the conversion confirmation process (S66) and clearing of the conversion target text data. As shown in FIG. 13D, in the input text display area 62 on the normal input screen in this case, the text (for example, “sebastian” inputted by predictive conversion based on the predictive conversion data in the conversion confirmation process (S66)). .montgomerie ") is displayed. After displaying the normal input screen on the liquid crystal display 30, the CPU 41 ends the conversion candidate selection processing program.

次に、デリミタ設定処理(S13)で実行されるデリミタ設定処理プログラムについて、図14等を参照しつつ詳細に説明する。デリミタ設定処理(S13)に移行すると、CPU41は、デリミタ設定画面75を液晶ディスプレイ30に表示する(S71)。図15(A)に示すように、デリミタ設定画面75は、デリミタキャラクタとして設定可能なキャラクタ種類毎の設定項目と、任意デリミタの追加を示す設定項目(図15中、「Add Delimiter」)を一覧として有している。又、デリミタ設定画面75上には、カーソルEが表示されており、当該カーソルEにより所望の設定項目を選択し得る。デリミタ設定画面75を液晶ディスプレイ30に表示した後、CPU41は、S72に処理を移行する。   Next, the delimiter setting process program executed in the delimiter setting process (S13) will be described in detail with reference to FIG. When the process proceeds to the delimiter setting process (S13), the CPU 41 displays a delimiter setting screen 75 on the liquid crystal display 30 (S71). As shown in FIG. 15A, the delimiter setting screen 75 lists a setting item for each character type that can be set as a delimiter character and a setting item that indicates the addition of an optional delimiter (“Add Delimiter” in FIG. 15). Have as. A cursor E is displayed on the delimiter setting screen 75, and a desired setting item can be selected by the cursor E. After displaying the delimiter setting screen 75 on the liquid crystal display 30, the CPU 41 proceeds to S72.

S72においては、CPU41は、カーソルキー14が入力されたか否かを判断する。カーソルキー14が入力された場合(S72:YES)、CPU41は、S73に処理を移行する。一方、カーソルキー14が入力されていない場合(S72:NO)、CPU41は、S74に処理を移行する。   In S72, the CPU 41 determines whether or not the cursor key 14 has been input. When the cursor key 14 is input (S72: YES), the CPU 41 proceeds to S73. On the other hand, when the cursor key 14 is not input (S72: NO), the CPU 41 shifts the process to S74.

S73では、CPU41は、項目変更処理を実行する。項目変更処理(S73)においては、CPU41は、カーソルキー14の操作に基づいて、カーソルEにより現在選択されている設定項目を、異なる設定項目に変更する。項目変更処理を実行した後、CPU41は、S72に処理を戻す。   In S73, the CPU 41 executes an item change process. In the item change process (S73), the CPU 41 changes the setting item currently selected by the cursor E to a different setting item based on the operation of the cursor key 14. After executing the item changing process, the CPU 41 returns the process to S72.

S74に移行すると、CPU41は、リターンキー15が入力されたか否かを判断する。リターンキー15が入力された場合(S74:YES)、CPU41は、S75に処理を移行する。リターンキー15が入力されていない場合(S74:NO)、CPU41は、S72に処理を戻す。   In step S74, the CPU 41 determines whether the return key 15 has been input. When the return key 15 is input (S74: YES), the CPU 41 proceeds to S75. When the return key 15 is not input (S74: NO), the CPU 41 returns the process to S72.

S75においては、CPU41は、任意デリミタ設定(図15中、「Add Delimiter」)が選択されたか否かを判断する。図15(C)に示すように、任意デリミタ設定が選択された場合(S75:YES)、CPU41は、S76に処理を移行する。任意デリミタ設定が選択されていない場合(S75:NO)、CPU41は、S81に処理を移行する。   In S75, the CPU 41 determines whether or not an arbitrary delimiter setting (“Add Delimiter” in FIG. 15) is selected. As shown in FIG. 15C, when the arbitrary delimiter setting is selected (S75: YES), the CPU 41 shifts the process to S76. When the arbitrary delimiter setting is not selected (S75: NO), the CPU 41 shifts the process to S81.

S76では、CPU41は、任意デリミタ設定画面80を液晶ディスプレイ30に表示する。図15(D)に示すように、任意デリミタ設定画面80は、「デリミタキャラクタとして追加するキャラクタの入力を促すメッセージ」と共に、文字入力キー11により入力されたキャラクタを表示する表示エリアを有している。任意デリミタ設定画面80を液晶ディスプレイ30に表示した後、CPU41は、S77に処理を移行する。   In S <b> 76, the CPU 41 displays an arbitrary delimiter setting screen 80 on the liquid crystal display 30. As shown in FIG. 15D, the optional delimiter setting screen 80 has a display area for displaying a character input by the character input key 11 together with a “message for prompting input of a character to be added as a delimiter character”. Yes. After displaying the arbitrary delimiter setting screen 80 on the liquid crystal display 30, the CPU 41 proceeds to S77.

S77に移行すると、CPU41は、リターンキー15が入力されたか否かを判断する。リターンキー15が入力された場合(S77:YES)、CPU41は、S78に処理を移行する。リターンキー15が入力されていない場合(S77:NO)、CPU41は、S79に処理を移行する。   In step S77, the CPU 41 determines whether the return key 15 has been input. When the return key 15 is input (S77: YES), the CPU 41 proceeds to S78. When the return key 15 has not been input (S77: NO), the CPU 41 proceeds to S79.

S78においては、CPU41は、任意デリミタ設定画面80に対して入力されたキャラクタを、デリミタキャラクタとして追加する。この時、CPU41は、追加されたデリミタキャラクタの設定を、キャラクタ設定記憶領域44Bに格納する。その後、CPU41は、デリミタ設定処理プログラムを終了する。   In S78, the CPU 41 adds the character input to the optional delimiter setting screen 80 as a delimiter character. At this time, the CPU 41 stores the setting of the added delimiter character in the character setting storage area 44B. Thereafter, the CPU 41 ends the delimiter setting processing program.

S79では、CPU41は、文字入力キー11が入力されたか否かを判断する。文字入力キー11が入力された場合(S79:YES)、CPU41は、S80に処理を移行する。文字入力キー11が入力されていない場合(S79:NO)、CPU41は、S77に処理を戻す。   In S79, the CPU 41 determines whether or not the character input key 11 has been input. When the character input key 11 is input (S79: YES), the CPU 41 proceeds to S80. When the character input key 11 is not input (S79: NO), the CPU 41 returns the process to S77.

S80に移行すると、CPU41は、文字入力キー11の入力により、入力されたキャラクタを任意デリミタ設定画面80上に表示すると共に、当該キャラクタを、デリミタキャラクタとして追加するキャラクタとして受け付ける。その後、CPU41は、S77に処理を戻す。   In step S80, the CPU 41 displays the input character on the arbitrary delimiter setting screen 80 by the input of the character input key 11, and accepts the character as a character to be added as a delimiter character. Thereafter, the CPU 41 returns the process to S77.

キャラクタ種類毎の設定項目が選択された場合(S75:NO)に移行するS81においては、CPU41は、選択された設定項目に係るキャラクタ種別がデリミタキャラクタとして設定されているか否かを判断する。具体的には、CPU41は、選択されたキャラクタ種別と、キャラクタ設定記憶領域44B(図7参照)の記憶内容に基づいて、S81の判断を行う。選択されたキャラクタがデリミタ設定中である場合(S81:YES)、CPU41は、S82に処理を移行する。選択されたキャラクタがデリミタ設定中でない場合(S81:NO)、CPU41は、S83に処理を移行する。   In S81, when the setting item for each character type is selected (S75: NO), the CPU 41 determines whether or not the character type related to the selected setting item is set as a delimiter character. Specifically, the CPU 41 performs the determination in S81 based on the selected character type and the stored contents of the character setting storage area 44B (see FIG. 7). When the selected character is in the delimiter setting (S81: YES), the CPU 41 proceeds to S82. If the selected character is not in the delimiter setting (S81: NO), the CPU 41 shifts the process to S83.

S82では、CPU41は、設定有効化処理を実行する。即ち、CPU41は、選択されたキャラクタをデリミタキャラクタとして機能する状態にするため、キャラクタ設定記憶領域44Bにおける当該キャラクタに係る設定状態を「設定中」に変更する(図7参照)。この時、CPU41は、任意デリミタ設定画面80において、当該キャラクタに係る設定項目の傍に、「設定中を示す記号(本実施形態では“*”)」を表示する。その後、CPU41は、デリミタ設定処理プログラムを終了する。   In S82, the CPU 41 executes a setting validation process. That is, the CPU 41 changes the setting state relating to the character in the character setting storage area 44B to “setting” in order to make the selected character function as a delimiter character (see FIG. 7). At this time, on the arbitrary delimiter setting screen 80, the CPU 41 displays “a symbol indicating that the character is being set (“ * ”in the present embodiment)” beside the setting item relating to the character. Thereafter, the CPU 41 ends the delimiter setting processing program.

S83に移行すると、CPU41は、設定解除処理を実行する。即ち、CPU41は、選択されたキャラクタをデリミタキャラクタから除外するため、キャラクタ設定記憶領域44Bにおける当該キャラクタに係る設定状態を「設定解除」に変更する(図7参照)。この時、CPU41は、任意デリミタ設定画面80において、当該キャラクタに係る設定項目の傍に表示されている「設定中を示す記号(即ち、“*”)」を消去する(図15(B)参照)。その後、CPU41は、デリミタ設定処理プログラムを終了する。   After shifting to S83, the CPU 41 executes a setting cancellation process. That is, the CPU 41 changes the setting state relating to the character in the character setting storage area 44B to “setting release” in order to exclude the selected character from the delimiter character (see FIG. 7). At this time, the CPU 41 deletes the “symbol indicating setting (ie,“ * ”)” displayed near the setting item relating to the character on the arbitrary delimiter setting screen 80 (see FIG. 15B). ). Thereafter, the CPU 41 ends the delimiter setting processing program.

以上、説明したように、本実施形態に係るテープ印刷装置1は、印刷キー12の入力に伴う印刷処理(S3)又は、メモリ保存キー16の入力に伴うメモリ保存処理(S5)の後、変換用データ登録処理(S6)を実行することにより、印刷又はメモリ保存の対象である入力テキストデータを、デリミタキャラクタを基準として分割して分割テキストデータを生成し、予測変換用データとして変換用データ記憶領域44A(図10参照)に登録する。印刷又はメモリ保存を行う場合、入力テキストデータは、誤字・脱字がなく、ユーザの意図を反映した状態であることが多い。従って、当該テープ印刷装置1は、ユーザの用途等に応じた予測変換用データを変換用データ記憶領域44Aに登録することができ、ユーザに応じた適切な「単語学習機能」を実現し得る。   As described above, the tape printer 1 according to the present embodiment performs the conversion after the printing process (S3) accompanying the input of the print key 12 or the memory saving process (S5) accompanying the input of the memory saving key 16. By executing the data registration process (S6), the input text data to be printed or stored in the memory is divided based on the delimiter character to generate divided text data, and the conversion data is stored as the prediction conversion data. Registration is made in the area 44A (see FIG. 10). When printing or storing in memory, the input text data is often in a state that reflects the user's intention without any typographical errors or omissions. Therefore, the tape printing apparatus 1 can register the predictive conversion data according to the user's usage in the conversion data storage area 44A, and can realize an appropriate “word learning function” according to the user.

又、当該テープ印刷装置1は、文字入力キー11の入力により入力された入力テキストデータと、変換用データ記憶領域44Aに格納されている予測変換用データに基づいて、入力されたキャラクタを含むユーザ所望のテキスト入力を補助する予測変換を行う(S9、S11)。ここで、予測変換用データは、入力テキストデータに含まれるデリミタキャラクタの前後、又は、特殊キャラクタの直前位置を基準として、当該入力テキストデータを分割した分割テキストデータに基づいて登録される。従って、当該テープ印刷装置1は、多様な種類で、且つ、適切な文長の予測変換用データを保持し得るので、確実にユーザの意図を反映し、且つ、利便性の高い「予測変換機能」を用いた入力を実現し得る。   The tape printer 1 also includes a user including an input character based on input text data input by the input of the character input key 11 and predicted conversion data stored in the conversion data storage area 44A. Predictive conversion that assists the desired text input is performed (S9, S11). Here, the predictive conversion data is registered based on the divided text data obtained by dividing the input text data with reference to the position before or after the delimiter character included in the input text data or the position immediately before the special character. Accordingly, since the tape printer 1 can hold prediction conversion data of various types and appropriate sentence lengths, it accurately reflects the user's intention and is highly convenient with the “prediction conversion function”. Can be input.

更に、当該テープ印刷装置1は、デリミタキャラクタとして、入力テキストデータの編集に用いられる編集記号を含む。当該編集記号は、スペース、タブ、改行、改ブロック(段落(ブロック)を改める記号)を含んでいる。そして、これらの編集記号は、一般に入力テキストデータを構成する文字列(単語)の意味が異なる位置に位置することが多い。従って、当該テープ印刷装置1は、入力テキストデータを編集記号の前後を基準として分割し、分割テキストデータを生成・登録するので、精度の良い単語学習機能を実現し得る。   Further, the tape printer 1 includes an edit symbol used for editing the input text data as a delimiter character. The edit symbols include spaces, tabs, line feeds, and block breaks (symbols that modify paragraphs (blocks)). These edit symbols are generally located at positions where the meanings of character strings (words) constituting input text data are different. Therefore, since the tape printer 1 divides the input text data before and after the edit symbol, and generates and registers the divided text data, a highly accurate word learning function can be realized.

そして、当該テープ印刷装置1は、デリミタ設定処理(S13)を実行することにより、文字入力キー11又はカーソルキー14により指定されたユーザ所望のキャラクタを、デリミタキャラクタに含まれるキャラクタ種類に設定又は設定解除し得る。これにより、当該テープ印刷装置1は、ユーザ所望のキャラクタ種類に係るデリミタキャラクタを基準として、分割テキストデータを生成することができ、当該分割テキストデータを予測変換用データとして登録し得る。この結果、当該テープ印刷装置1は、よりユーザの使用態様に応じた単語学習機能を実現し得る。   Then, the tape printer 1 sets or sets the character desired by the user designated by the character input key 11 or the cursor key 14 to the character type included in the delimiter character by executing the delimiter setting process (S13). Can be released. Thus, the tape printer 1 can generate divided text data based on the delimiter character related to the user-desired character type, and can register the divided text data as predictive conversion data. As a result, the tape printer 1 can realize a word learning function that is more in accordance with the usage mode of the user.

当該テープ印刷装置1は、分割テキストデータの構成キャラクタ数に係る条件を満たす場合に、当該分割テキストデータを予測変換用データとして登録する(S23、S28、S33、S41、S42参照)。従って、当該テープ印刷装置1は、一の予測変換用データのデータ量を適正な範囲とすることができ、変換用データ記憶領域44Aの記憶容量を有効に活用し得る。   The tape printer 1 registers the divided text data as predictive conversion data when the condition relating to the number of constituent characters of the divided text data is satisfied (see S23, S28, S33, S41, and S42). Therefore, the tape printing apparatus 1 can set the data amount of one prediction conversion data within an appropriate range, and can effectively use the storage capacity of the conversion data storage area 44A.

又、当該テープ印刷装置1は、分割テキストデータを変換用データ記憶領域44Aに登録する際に、同一のキャラクタ構成の予測変換用データを検索し、抽出された同一データを削除した後(S45)、当該分割テキストデータを変換用データ記憶領域44Aに登録する(S47)。従って、当該テープ印刷装置1は、同一内容の予測変換用データが変換用データ記憶領域44Aに重複登録される状態を防止することができ、変換用データ記憶領域44Aの記憶容量を有効に活用し得る。   When the tape printer 1 registers the divided text data in the conversion data storage area 44A, the tape printer 1 searches for prediction conversion data having the same character configuration and deletes the extracted same data (S45). Then, the divided text data is registered in the conversion data storage area 44A (S47). Therefore, the tape printer 1 can prevent a state in which prediction conversion data having the same content is registered in the conversion data storage area 44A, and effectively uses the storage capacity of the conversion data storage area 44A. obtain.

又、当該テープ印刷装置1は、分割テキストデータを変換用データ記憶領域44Aに登録する際に、現状の変換用データ記憶領域44Aの空き容量で、当該分割テキストデータを予測変換用データとして登録可能か否かを判断し(S46)、登録不能である場合に、最も古い予測変換用データを削除することで、登録に要する記憶容量を確保する(S48)。従って、当該テープ印刷装置1は、最新の分割テキストデータを予測変換用データとして確実に登録することができ、変換用データ記憶領域44A内の予測変換データを、できるだけ最新の状況に維持し得る。   Further, when the divided text data is registered in the conversion data storage area 44A, the tape printer 1 can register the divided text data as predictive conversion data with the free capacity of the current conversion data storage area 44A. If the registration is impossible, the oldest predictive conversion data is deleted to secure the storage capacity required for registration (S48). Therefore, the tape printer 1 can surely register the latest divided text data as prediction conversion data, and can maintain the predicted conversion data in the conversion data storage area 44A as up-to-date as possible.

更に、当該テープ印刷装置1は、入力テキストデータから分割テキストデータを生成する際に、特殊キャラクタ(例えば、@:アットマーク)の直前位置を基準に分割する。そして、当該テープ印刷装置1は、次の分割テキストデータの先頭位置に、当該特殊キャラクタを付加する。これにより、当該テープ印刷装置1は、特殊キャラクタを先頭位置に含むテキスト入力(例えば、「@abcde.co.jp」の入力)についても、予測変換機能による入力を実現し得る。   Further, when the tape printer 1 generates divided text data from the input text data, the tape printer 1 divides the text based on the position immediately before the special character (for example, @: at sign). Then, the tape printer 1 adds the special character to the head position of the next divided text data. Thereby, the tape printer 1 can realize the input by the predictive conversion function even for the text input including the special character at the head position (for example, input of “@ abcde.co.jp”).

以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能である。例えば、本実施形態においては、デリミタキャラクタとして設定可能なキャラクタ(即ち、文字入力キー11により入力可能なキャラクタ)として、文字キャラクタや、種々の記号(例えば、算術記号等)を挙げていたが、この態様に限定されるものではない。   Although the present invention has been described based on the embodiments, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be made without departing from the spirit of the present invention. For example, in the present embodiment, as a character that can be set as a delimiter character (that is, a character that can be input by the character input key 11), a character character and various symbols (for example, arithmetic symbols) are cited. It is not limited to this aspect.

例えば、アイコン等のマークや、バーコード等をデリミタキャラクタとして設定可能にすることも可能である。更に、デリミタキャラクタとして、タイムスタンプマークを設定可能としてもよい。当該タイムスタンプマークは、液晶ディスプレイ30への表示上では一定のマークとして表示され、ラベルテープ等への印刷実行時には、印刷実行時の日時を示すテキストとして印刷される。   For example, a mark such as an icon, a barcode, or the like can be set as a delimiter character. Furthermore, a time stamp mark may be set as a delimiter character. The time stamp mark is displayed as a certain mark on the display on the liquid crystal display 30, and is printed as text indicating the date and time when printing is performed when printing on a label tape or the like.

1 テープ印刷装置
10 キーボード
12 印刷キー
16 メモリ保存キー
17 デリミタ設定キー
25 サーマルヘッド
40 制御部
41 CPU
44 EEPROM
44A 変換用データ記憶領域
44B キャラクタ設定記憶領域
DESCRIPTION OF SYMBOLS 1 Tape printer 10 Keyboard 12 Print key 16 Memory save key 17 Delimiter setting key 25 Thermal head 40 Control part 41 CPU
44 EEPROM
44A Conversion data storage area 44B Character setting storage area

Claims (8)

ユーザによる操作に基づいて、複数のキャラクタからなるテキストデータを印刷対象として入力する入力手段と、
前記入力手段により、印刷対象として入力された入力テキストデータを印刷する際に操作される印刷操作手段と、
前記印刷操作手段の操作に基づいて、前記入力テキストデータを被印刷媒体に印刷する印刷手段と、
複数のキャラクタからなる予測変換用データを記憶する予測変換用データ記憶手段と、
前記入力手段により入力されたキャラクタと、前記予測変換用データ記憶手段に記憶された予測変換用データに基づいて、入力されたキャラクタを含むテキストの入力を補助する予測変換を行う予測変換手段と、を有する印刷装置であって、
前記印刷操作手段の操作に基づいて、特定種類のキャラクタであるデリミタキャラクタを、前記入力テキストデータを構成するキャラクタから特定する特定手段と、
前記特定手段により特定されたデリミタキャラクタの前後を基準として、前記入力テキストデータを分割した分割テキストデータを生成する分割手段と、
前記分割手段により生成された分割テキストデータを、前記予測変換用データとして、前記予測変換用データ記憶手段に登録する登録手段と、を備える
ことを特徴とする印刷装置。
An input means for inputting text data consisting of a plurality of characters as a print target based on an operation by a user;
A printing operation means that is operated when printing the input text data input as a print target by the input means;
Printing means for printing the input text data on a printing medium based on the operation of the printing operation means;
Predictive conversion data storage means for storing predictive conversion data comprising a plurality of characters;
Predictive conversion means for performing predictive conversion for assisting input of text including the input character based on the character input by the input means and the predictive conversion data stored in the predictive conversion data storage means; A printing device comprising:
A specifying means for specifying a delimiter character, which is a specific type of character, from the characters constituting the input text data based on the operation of the printing operation means;
Dividing means for generating divided text data obtained by dividing the input text data with reference to before and after the delimiter character specified by the specifying means;
A printing apparatus comprising: registration means for registering the divided text data generated by the dividing means in the predictive conversion data storage means as the predictive conversion data.
請求項1記載の印刷装置であって、
前記デリミタキャラクタは、前記入力テキストデータの編集に用いられる編集記号を含み、
前記特定手段は、前記入力テキストデータを構成するキャラクタに含まれる前記編集記号を特定し、
前記分割手段は、前記特定手段により特定された編集記号を基準として、前記入力テキストデータを分割して前記分割テキストデータを生成する
ことを特徴とする印刷装置。
The printing apparatus according to claim 1,
The delimiter character includes an edit symbol used for editing the input text data,
The specifying means specifies the edit symbol included in the character constituting the input text data,
The printing apparatus according to claim 1, wherein the dividing unit generates the divided text data by dividing the input text data on the basis of the edit symbol specified by the specifying unit.
請求項1又は請求項2記載の印刷装置であって、
前記入力手段により入力可能なキャラクタから、ユーザの操作に基づいて、一のキャラクタを指定する指定手段と、
前記指定手段により指定された一のキャラクタに基づいて、前記デリミタキャラクタに含まれるキャラクタ種別を編集する編集手段と、を有する
ことを特徴とする印刷装置。
The printing apparatus according to claim 1 or 2, wherein
From a character that can be input by the input means, based on a user operation, a designation means for designating one character,
An editing unit that edits a character type included in the delimiter character based on one character specified by the specifying unit.
請求項1乃至請求項3の何れかに記載の印刷装置であって、
前記分割手段により生成された分割テキストデータを前記予測変換用データ記憶手段に登録する際に、
前記分割テキストデータを構成するキャラクタの数が、所定の数値範囲を示す登録条件を満たすことを条件に、前記予測変換用データとして、当該分割テキストデータを前記予測変換用データ記憶手段に登録する登録制御手段と、を有する
ことを特徴とする印刷装置。
A printing apparatus according to any one of claims 1 to 3,
When registering the divided text data generated by the dividing means in the predictive conversion data storage means,
Registration for registering the divided text data in the predictive conversion data storage means as the predictive conversion data on condition that the number of characters constituting the split text data satisfies a registration condition indicating a predetermined numerical range. And a control unit.
請求項1乃至請求項4の何れかに記載の印刷装置であって、
前記分割手段により生成された分割テキストデータを前記予測変換用データ記憶手段に登録する際に、
前記予測変換用データ記憶手段に登録されている予測変換用データについて、当該分割テキストデータを構成するキャラクタと一致するキャラクタ構成の予測変換用データを検索する検索手段と、
前記検索手段により、前記分割テキストデータと一致する予測変換用データが検索された場合に、検索された予測変換用データを、前記分割テキストデータに基づく内容に更新する更新手段と、を有する
ことを特徴とする印刷装置。
A printing apparatus according to any one of claims 1 to 4,
When registering the divided text data generated by the dividing means in the predictive conversion data storage means,
Retrieval means for retrieving prediction conversion data having a character configuration that matches the characters constituting the divided text data for the prediction conversion data registered in the prediction conversion data storage means;
Update means for updating the searched prediction conversion data to the content based on the divided text data when the search means searches for predicted conversion data that matches the divided text data. Characteristic printing device.
請求項1乃至請求項5の何れかに記載の印刷装置であって、
前記分割手段により生成された分割テキストデータを前記予測変換用データ記憶手段に登録する際に、
前記予測変換用データ記憶手段の記憶容量と、当該予測変換用データ記憶手段に既に登録されている予測変換データのデータ量と、登録対象である分割テキストデータのデータ量に基づいて、前記予測変換データのデータ量と、当該分割テキストデータのデータ量の和が前記予測変換データ記憶手段の記憶容量を超えるか否かを判断する判断手段と、
前記判断手段により、前記予測変換データのデータ量と当該分割テキストデータのデータ量の和が前記予測変換データ記憶手段の記憶容量を超えると判断された場合に、前記予測変換用データ記憶手段への登録時点が古い予測変換用データを削除することで、当該分割テキストデータの登録に要する記憶容量を確保する記憶容量確保手段と、を有する
ことを特徴とする印刷装置。
A printing apparatus according to any one of claims 1 to 5,
When registering the divided text data generated by the dividing means in the predictive conversion data storage means,
Based on the storage capacity of the prediction conversion data storage means, the amount of prediction conversion data already registered in the prediction conversion data storage means, and the amount of divided text data to be registered, the prediction conversion Determining means for determining whether the sum of the data amount of the data and the data amount of the divided text data exceeds the storage capacity of the predictive conversion data storage means;
When it is determined by the determination means that the sum of the data amount of the prediction conversion data and the data amount of the divided text data exceeds the storage capacity of the prediction conversion data storage means, the prediction conversion data storage means A printing apparatus comprising: a storage capacity securing unit that secures a storage capacity required for registering the divided text data by deleting prediction conversion data whose registration time is old.
請求項1乃至請求項6の何れかに記載の印刷装置であって、
前記特定手段は、前記印刷操作手段の操作に基づいて、前記デリミタキャラクタと異なる特定種類のキャラクタである特殊キャラクタを、前記入力テキストデータを構成するキャラクタから特定し、
前記分割手段は、前記特定手段により特定された特殊キャラクタの直前位置を基準として、前記入力テキストデータを分割した分割テキストデータを生成する
ことを特徴とする印刷装置。
A printing apparatus according to any one of claims 1 to 6,
The specifying unit specifies a special character, which is a specific type of character different from the delimiter character, from the characters constituting the input text data based on the operation of the printing operation unit,
The printing apparatus according to claim 1, wherein the dividing unit generates divided text data obtained by dividing the input text data on the basis of a position immediately before the special character specified by the specifying unit.
請求項1乃至請求項7の何れかに記載の印刷装置であって、
前記入力手段により入力された入力テキストデータ全体を記憶する入力テキスト記憶手段と、
前記入力手段により入力された入力テキストデータ全体を、前記入力テキスト記憶手段へ登録する際に操作される登録操作手段と、を有し、
前記特定手段は、前記登録操作手段の操作に基づいて、前記入力テキストデータを構成するキャラクタから、前記デリミタキャラクタを特定し、
前記分割手段は、前記特定手段により特定されたデリミタキャラクタの前後を基準として、前記入力テキストデータを分割した分割テキストデータを生成する
ことを特徴とする印刷装置。

A printing apparatus according to any one of claims 1 to 7,
Input text storage means for storing the entire input text data input by the input means;
Registration operation means operated when registering the entire input text data input by the input means to the input text storage means,
The specifying means specifies the delimiter character from the characters constituting the input text data based on the operation of the registration operation means,
The printing apparatus according to claim 1, wherein the dividing unit generates divided text data obtained by dividing the input text data with reference to before and after the delimiter character specified by the specifying unit.

JP2010163578A 2010-07-21 2010-07-21 Printing device Pending JP2012027569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010163578A JP2012027569A (en) 2010-07-21 2010-07-21 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010163578A JP2012027569A (en) 2010-07-21 2010-07-21 Printing device

Publications (1)

Publication Number Publication Date
JP2012027569A true JP2012027569A (en) 2012-02-09

Family

ID=45780448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010163578A Pending JP2012027569A (en) 2010-07-21 2010-07-21 Printing device

Country Status (1)

Country Link
JP (1) JP2012027569A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013199075A (en) * 2012-03-26 2013-10-03 Casio Computer Co Ltd Tape printing apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135018A (en) * 1991-11-12 1993-06-01 Canon Inc Method for processing character and device therefor
JPH10301926A (en) * 1997-04-18 1998-11-13 Kano Densan Hongkong Yugenkoshi Mail device, its mail address managing method and recording medium
JPH10333952A (en) * 1997-05-30 1998-12-18 N T T Data:Kk Text converter
JP2005301427A (en) * 2004-04-07 2005-10-27 Sony Corp Information processing device, information processing method, and program
JP2009015756A (en) * 2007-07-09 2009-01-22 Brother Ind Ltd Text editing apparatus, character conversion processing method for text printing, and character conversion processing program for text printing
JP2009169882A (en) * 2008-01-21 2009-07-30 Yamatake Corp Data management device, data management method, and data management program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135018A (en) * 1991-11-12 1993-06-01 Canon Inc Method for processing character and device therefor
JPH10301926A (en) * 1997-04-18 1998-11-13 Kano Densan Hongkong Yugenkoshi Mail device, its mail address managing method and recording medium
JPH10333952A (en) * 1997-05-30 1998-12-18 N T T Data:Kk Text converter
JP2005301427A (en) * 2004-04-07 2005-10-27 Sony Corp Information processing device, information processing method, and program
JP2009015756A (en) * 2007-07-09 2009-01-22 Brother Ind Ltd Text editing apparatus, character conversion processing method for text printing, and character conversion processing program for text printing
JP2009169882A (en) * 2008-01-21 2009-07-30 Yamatake Corp Data management device, data management method, and data management program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013199075A (en) * 2012-03-26 2013-10-03 Casio Computer Co Ltd Tape printing apparatus

Similar Documents

Publication Publication Date Title
JP4268906B2 (en) Document display device and document display program
US9218337B2 (en) Text editing apparatus and storage medium
JP2013161273A (en) Control device, printing system, printer, method for controlling print, and program
JP2012027569A (en) Printing device
KR101225017B1 (en) Information processing apparatus and control method for the same
JP6136493B2 (en) Data creation device and data creation program
JPH07230451A (en) Character input device
EP0274438B1 (en) Typing device
US4464069A (en) Printing apparatus display device for simultaneously displaying complete words
JP2008077615A (en) Information display control device and information display control program
JP4535186B2 (en) Electronic device and program with dictionary function
JP4189040B2 (en) Sentence proofreading apparatus and proofreading method
JP4985689B2 (en) Printing device
JP4215077B2 (en) Image forming apparatus
JP4506230B2 (en) Tape printer
JP5929729B2 (en) Tape printer, program, and storage medium
JP6175872B2 (en) Printing apparatus and content editing program
JP2008192165A (en) Text proofreading device and text proofreading method
JP4404436B2 (en) Character input device
JP4594972B2 (en) Sentence proofreading apparatus and proofreading method
JP6241105B2 (en) Printing device
JP2014205251A (en) Data preparation device and data preparation program
JP2004288220A (en) Document preparing device
JP2006120174A (en) Sentence revision device and method
JPH0679309B2 (en) Word processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140408