JP2010020373A - Tape printer, character string conversion device, and character string conversion method - Google Patents

Tape printer, character string conversion device, and character string conversion method Download PDF

Info

Publication number
JP2010020373A
JP2010020373A JP2008177606A JP2008177606A JP2010020373A JP 2010020373 A JP2010020373 A JP 2010020373A JP 2008177606 A JP2008177606 A JP 2008177606A JP 2008177606 A JP2008177606 A JP 2008177606A JP 2010020373 A JP2010020373 A JP 2010020373A
Authority
JP
Japan
Prior art keywords
character string
language
registered
kana
unit
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.)
Withdrawn
Application number
JP2008177606A
Other languages
Japanese (ja)
Inventor
Seiji Tanaka
静治 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2008177606A priority Critical patent/JP2010020373A/en
Publication of JP2010020373A publication Critical patent/JP2010020373A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a tape printer for raising convenience in putting the character string of a foreign language, and to provide a character string conversion device and a character string conversion method therefor. <P>SOLUTION: Dictionary data Sd stores multiple registration character strings in association with Kana (the Japanese syllabary) character strings expressing the readings. Language information expressing the language is associated with the respective registration character strings stored in the dictionary data Sd, thereby specifying the language of each registration character string among the four languages, i.e., Japanese, Chinese (simplified characters), Chinese (traditional characters), and English. When the Kana character string is input by a keyboard 11, a CPU 31 extracts the registered character string corresponding to the Kana character string from the dictionary data Sd, and displays the registered character string in a display part 12 as a conversion candidate. A language mark relative to corresponding language information is added to each displayed registered character string. Thus, a user recognizes the language of each registered character string, based on the language mark. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、テープ印刷装置、文字列変換装置、及び文字列変換方法に関する。   The present invention relates to a tape printer, a character string conversion device, and a character string conversion method.

テープ(ラベル)に文字列等を印刷するテープ印刷装置(ラベルプリンタ)には、仮名から漢字への変換(かな漢字変換)を行う、かな漢字変換装置が備えられている(例えば、特許文献1参照)。このため、キーボード等からローマ字入力やかな入力によって入力された仮名(読み)を、漢字を含んだ文字列に容易に変換することが可能となり、日本語が印刷されたテープを作成する際の利便性が向上している。一方、かな漢字変換を行わずに、キーボード等から入力されたアルファベットをそのまま印刷すれば、外国語の文字列(例えば、英単語)が印刷されたテープを作成することもできる。   2. Description of the Related Art A tape printing apparatus (label printer) that prints a character string or the like on a tape (label) is provided with a kana-kanji conversion apparatus that converts kana to kanji (kana-kanji conversion) (see, for example, Patent Document 1). . This makes it possible to easily convert kana (reading) entered by romaji input from a keyboard or the like into a character string containing kanji, which is convenient for creating tapes printed in Japanese. Improved. On the other hand, if an alphabet entered from a keyboard or the like is printed as it is without performing kana-kanji conversion, a tape on which a foreign language character string (for example, English words) is printed can be created.

特開2000−20515号公報JP 2000-20515 A

しかしながら、外国語の文字列を入力する際には、外国語の文字や、文字列(単語)の綴り(スペル)を知っていなければならない。このため、外国語を不得手とするユーザにとっては、普段よく耳にしたり、片仮名で目にしたりする外国語であっても、事前に辞書等で文字やスペルを確認しなければならず、利便性が損なわれていた。   However, when inputting a foreign language character string, it is necessary to know the foreign language character and the spelling of the character string (word). For this reason, for users who are not good at foreign languages, characters and spelling must be checked in advance using a dictionary, etc., even for foreign languages that are often heard or used in katakana. Sex was impaired.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態又は適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]本適用例に係るテープ印刷装置は、テープに文字列を印刷するテープ印刷装置であって、外国語の文字列を含む複数の登録文字列とその読み仮名とをそれぞれ対応付けて格納した辞書データを記憶する記憶部と、仮名文字列が入力される文字列入力部と、前記辞書データに格納されている前記複数の登録文字列の中から、入力された前記仮名文字列を読み仮名とする少なくとも1つの登録文字列を抽出する文字列抽出部と、前記文字列抽出部が抽出した前記登録文字列を表示する表示部と、前記表示部に表示された前記登録文字列の中から1つを選択する選択部と、前記選択部で選択された前記登録文字列を前記テープに印刷する印刷部と、を備えたことを特徴とする。   Application Example 1 A tape printing apparatus according to this application example is a tape printing apparatus that prints a character string on a tape, and associates a plurality of registered character strings including foreign language character strings with their reading kana characters. A storage unit for storing the dictionary data stored in the memory, a character string input unit for inputting a kana character string, and the input kana character string from among the plurality of registered character strings stored in the dictionary data A character string extraction unit that extracts at least one registered character string that reads as a kana, a display unit that displays the registered character string extracted by the character string extraction unit, and the registered character string displayed on the display unit And a printing unit for printing the registered character string selected by the selection unit on the tape.

このテープ印刷装置によれば、辞書データには、外国語の文字列がその読み仮名に対応付けられて格納されているため、文字列入力部に読み仮名を入力することによって、外国語の文字列を印刷することが可能となる。つまり、読み仮名を知っていれば外国語の文字列を印刷することが可能となるため、利便性が向上する。   According to this tape printer, since the foreign character string is stored in the dictionary data in association with the reading kana, by inputting the reading kana into the character string input unit, the foreign character The column can be printed. That is, if the kana is known, it is possible to print a foreign language character string, which improves convenience.

[適用例2]上記適用例に係るテープ印刷装置において、前記辞書データに格納された前記登録文字列には、当該登録文字列の言語を表す言語情報が対応付けられており、前記表示部は、前記文字列抽出部が抽出した前記登録文字列を表示するとともに、前記言語情報に基づいて、前記登録文字列の言語を表示することが望ましい。   Application Example 2 In the tape printer according to the application example described above, the registered character string stored in the dictionary data is associated with language information indicating a language of the registered character string, and the display unit It is preferable that the registered character string extracted by the character string extraction unit is displayed and the language of the registered character string is displayed based on the language information.

このテープ印刷装置によれば、表示部は、文字列抽出部が抽出した登録文字列とともにその言語を表示するため、選択部で登録文字列を選択する際、表示される言語を参照することが可能となる。このため、所望の言語の登録文字列を選択することが容易になる。   According to this tape printer, the display unit displays the language together with the registered character string extracted by the character string extracting unit, and therefore, when the registered character string is selected by the selection unit, the displayed language can be referred to. It becomes possible. For this reason, it becomes easy to select a registered character string in a desired language.

[適用例3]上記適用例に係るテープ印刷装置において、言語を指定する言語指定部と、前記文字列抽出部が抽出した前記登録文字列の中から、前記言語指定部で指定された言語の登録文字列を前記言語情報に基づいて抽出する言語抽出部と、をさらに備え、前記表示部は、前記言語抽出部によって抽出された前記登録文字列を表示することが望ましい。   [Application Example 3] In the tape printer according to the application example described above, a language specification unit that specifies a language and a language specified by the language specification unit from the registered character strings extracted by the character string extraction unit. It is preferable that a language extraction unit that extracts a registered character string based on the language information is further included, and the display unit displays the registered character string extracted by the language extraction unit.

このテープ印刷装置によれば、言語抽出部は、文字列抽出部が抽出した登録文字列の中から、指定された言語の登録文字列を抽出し、表示部は、言語抽出部が抽出した登録文字列を表示するため、選択部で登録文字列を選択する際の選択肢(候補)の数を、言語によって絞り込むことが可能となる。このため、所望の言語の登録文字列を選択することがさらに容易になる。   According to this tape printer, the language extraction unit extracts the registered character string of the specified language from the registered character strings extracted by the character string extraction unit, and the display unit registers the registration extracted by the language extraction unit. Since the character string is displayed, the number of choices (candidates) when the registered character string is selected by the selection unit can be narrowed down by language. This makes it easier to select a registered character string in a desired language.

[適用例4]上記適用例に係るテープ印刷装置において、言語を指定する言語指定部をさらに備え、前記文字列抽出部は、前記辞書データから、前記言語指定部で指定された言語の登録文字列を前記言語情報に基づいて抽出するようにしてもよい。   Application Example 4 In the tape printer according to the application example described above, the tape printing apparatus further includes a language designating unit that designates a language, and the character string extraction unit uses the dictionary data to register registered characters in the language designated by the language designating unit. The column may be extracted based on the language information.

このテープ印刷装置によれば、言語指定部で指定した言語の登録文字列のみを文字列抽出部に抽出させることが可能となるため、所望の言語の登録文字列を選択することがさらに容易になる。   According to this tape printer, since it is possible to cause the character string extraction unit to extract only the registered character string of the language specified by the language specifying unit, it is further easy to select the registered character string of the desired language. Become.

[適用例5]本適用例に係る文字列変換装置は、外国語の文字列を含む複数の登録文字列とその読み仮名とをそれぞれ対応付けて格納した辞書データを記憶する記憶部と、仮名文字列が入力される文字列入力部と、前記辞書データに格納されている前記複数の登録文字列の中から、入力された前記仮名文字列を読み仮名とする少なくとも1つの登録文字列を抽出する文字列抽出部と、前記文字列抽出部が抽出した前記登録文字列を表示する表示部と、前記表示部に表示された前記登録文字列の中から1つを選択する選択部と、前記文字列入力部に入力された前記仮名文字列を、前記選択部で選択された前記登録文字列に変換する文字列変換部と、を備えたことを特徴とする。   Application Example 5 A character string conversion device according to this application example includes a storage unit that stores dictionary data in which a plurality of registered character strings including foreign language character strings and their reading kana are associated with each other, and a kana Extract at least one registered character string that reads the input kana character string as a kana from the character string input unit for inputting a character string and the plurality of registered character strings stored in the dictionary data A character string extraction unit, a display unit that displays the registered character string extracted by the character string extraction unit, a selection unit that selects one of the registered character strings displayed on the display unit, A character string conversion unit that converts the kana character string input to the character string input unit into the registered character string selected by the selection unit;

この文字列変換装置によれば、辞書データには、外国語の文字列がその読み仮名に対応付けられて格納されているため、文字列入力部に読み仮名を入力することによって、外国語の文字列に変換することが可能となる。つまり、読み仮名を知っていれば外国語の文字列を入力することが可能となるため、利便性が向上する。   According to this character string converter, since the foreign character string is stored in the dictionary data in association with the reading kana, by inputting the reading kana to the character string input unit, It can be converted to a character string. In other words, if the kana is known, it is possible to input a foreign language character string, which improves convenience.

[適用例6]本適用例に係る文字列変換方法は、仮名文字列を入力する文字列入力ステップと、外国語の文字列を含む複数の登録文字列とその読み仮名とをそれぞれ対応付けて格納した辞書データから、入力された前記仮名文字列を読み仮名とする少なくとも1つの登録文字列を抽出する文字列抽出ステップと、前記文字列抽出ステップで抽出した前記登録文字列を表示する表示ステップと、前記表示ステップで表示された前記登録文字列の中から1つを選択する選択ステップと、前記文字列入力ステップで入力された前記仮名文字列を、前記選択ステップで選択された前記登録文字列に変換する文字列変換ステップと、を備えたことを特徴とする。   [Application Example 6] In the character string conversion method according to this application example, a character string input step for inputting a kana character string, a plurality of registered character strings including a foreign language character string, and the reading kana are associated with each other. A character string extracting step for extracting at least one registered character string using the input kana character string as a reading from the stored dictionary data, and a display step for displaying the registered character string extracted in the character string extracting step A selection step of selecting one of the registered character strings displayed in the display step; and the kana character string input in the character string input step, the registered character selected in the selection step And a character string conversion step for converting into a string.

この文字列変換方法によれば、外国語の文字列とその読み仮名とを対応付けて格納した辞書データを用いているため、文字列入力部に読み仮名を入力することによって、外国語の文字列に変換することが可能となる。つまり、読み仮名を知っていれば外国語の文字列を入力することが可能となるため、利便性が向上する。   According to this character string conversion method, the dictionary data in which a foreign language character string and its reading kana are stored in association with each other is used. It becomes possible to convert to a column. In other words, if the kana is known, it is possible to input a foreign language character string, which improves convenience.

また、上述したテープ印刷装置、文字列変換装置、及び文字列変換方法が、テープ印刷装置又は文字列変換装置に備えられたコンピュータを用いて構築されている場合には、上記形態及び上記適用例は、その機能を実現するためのプログラム、或いは当該プログラムを前記コンピュータで読み取り可能に記録した記録媒体等の態様で構成することも可能である。記録媒体としては、フレキシブルディスクやCD−ROM、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコード等の符号が印刷された印刷物、テープ印刷装置又は文字列変換装置の内部記憶装置(RAMやROM等のメモリ)、及び外部記憶装置等、前記コンピュータが読み取り可能な種々の媒体を利用することができる。   Further, when the above-described tape printing apparatus, character string conversion apparatus, and character string conversion method are constructed using a computer provided in the tape printing apparatus or the character string conversion apparatus, the above form and the above application example Can be configured in the form of a program for realizing the function or a recording medium on which the program is recorded so as to be readable by the computer. As a recording medium, a flexible disk, a CD-ROM, a magneto-optical disk, an IC card, a ROM cartridge, a punch card, a printed matter on which a code such as a barcode is printed, an internal storage device (RAM) of a tape printer or a character string converter And various other media that can be read by the computer, such as an external storage device.

(第1実施形態)
以下、第1実施形態として、入力された文字列等をテープに印刷するテープ印刷装置について、図面を参照して説明する。
本実施形態のテープ印刷装置は、文字列変換装置としても機能するものであり、ユーザにより仮名で入力された文字列(仮名文字列)を、漢字等で構成される日本語の文字列(仮名漢字文字列)に適宜変換して印刷することができる。さらに、本実施形態のテープ印刷装置は、入力された仮名文字列を、外国語の文字列(外国語文字列)に変換することも可能になっており、ユーザは、外国語文字列の読み仮名を入力することにより、本来の言語で表記された外国語文字列を印刷することができる。なお、本実施形態のテープ印刷装置は、中国語(簡体字)、中国語(繁体字)、及び英語の3つの外国語に対応しており、入力された仮名文字列(読み仮名)を、日本語を含めた4つの言語の文字列に変換することができる。
(First Embodiment)
Hereinafter, as a first embodiment, a tape printer that prints an input character string or the like on a tape will be described with reference to the drawings.
The tape printer according to the present embodiment also functions as a character string conversion device. A character string (kana character string) input by a user as a kana character is converted into a Japanese character string (kana character) composed of kanji or the like. Kanji character strings) can be appropriately converted and printed. Furthermore, the tape printer of this embodiment can also convert the input kana character string into a foreign language character string (foreign language character string), and the user can read the foreign language character string. By inputting a kana, a foreign language character string written in the original language can be printed. Note that the tape printer of this embodiment supports three foreign languages, Chinese (simplified), Chinese (traditional), and English, and the input kana character string (reading kana) It can be converted into character strings of four languages including words.

図1及び図2は、本実施形態のテープ印刷装置を示す斜視図であり、図3は、テープ印刷装置に備わる表示部を示す平面図である。
図1及び図2に示すように、テープ印刷装置1は、本体が筐体10に収容された構成を有しており、筐体10の上面手前側には、文字列入力部としてのキーボード11が備えられている。キーボード11は、アルファベット、仮名、数字、記号等からなる文字列を入力可能な多数の文字キーの他に、テープ印刷装置1に対して各種動作を指示するための複数の制御キーを有している。キーボード11が備える制御キーには、電源のオンとオフとを切り換える電源キー、日本語(仮名)の入力方式(「かな入力」及び「ローマ字入力」)を切り換える入力切換キー、入力された仮名文字列を仮名漢字文字列や外国語文字列に変換(文字変換)するための変換キー、入力した文字列や変換した文字列を確定させるための決定キー、カーソルの移動や文字変換の際の変換候補の選択等に用いられるカーソルキー(上下左右の4方向に対応する4つのキー)等が含まれる。
1 and 2 are perspective views showing the tape printer of this embodiment, and FIG. 3 is a plan view showing a display unit provided in the tape printer.
As shown in FIGS. 1 and 2, the tape printer 1 has a configuration in which a main body is accommodated in a housing 10, and a keyboard 11 as a character string input unit is provided on the front side of the upper surface of the housing 10. Is provided. The keyboard 11 has a plurality of control keys for instructing the tape printing apparatus 1 to perform various operations in addition to a large number of character keys capable of inputting a character string composed of alphabets, kana, numbers, symbols, and the like. Yes. Control keys provided on the keyboard 11 include a power key for switching the power on and off, an input switching key for switching Japanese (kana) input methods ("Kana input" and "Romaji input"), and input kana characters Conversion key for converting a string into a kana / kanji character string or a foreign language character string (character conversion), a decision key for confirming the input character string or the converted character string, conversion during cursor movement or character conversion Cursor keys (four keys corresponding to four directions, up, down, left, and right) used for candidate selection and the like are included.

筐体10の上面奥側には、液晶表示装置等からなる表示部12が備えられている。表示部12は、キーボード11から入力された文字の表示や、文字変換の際の変換候補の表示、印刷イメージの表示、設定メニュー画面の表示等、各種画像の表示に用いられる。   A display unit 12 made of a liquid crystal display device or the like is provided on the back side of the upper surface of the housing 10. The display unit 12 is used for displaying various images such as displaying characters input from the keyboard 11, displaying conversion candidates during character conversion, displaying a print image, and displaying a setting menu screen.

図3に示すように、表示部12の画像表示領域12aは、入力された文字列を表示する入力文字表示領域Asと、入力された文字列がテープに印刷された場合の印刷イメージを表示するイメージ表示領域Aiとを含んでいる。入力文字表示領域Asは、キーボード11により入力された仮名文字列や、これを変換した文字列を表示する領域であり、決定キーによって既に確定された文字列については、ポジで表示され、確定前の文字列については、ネガ(文字色及び背景色がポジとは反転した状態)で表示される。また、イメージ表示領域Aiには、入力された文字列のうち、決定キーによって確定した文字列が表示される。   As shown in FIG. 3, the image display area 12a of the display unit 12 displays an input character display area As that displays an input character string and a print image when the input character string is printed on a tape. And an image display area Ai. The input character display area As is an area for displaying a kana character string input by the keyboard 11 or a character string obtained by converting the kana character string. A character string that has already been confirmed by the enter key is displayed in a positive manner. Are displayed in a negative (character color and background color reversed from positive). In the image display area Ai, a character string determined by the enter key among the input character strings is displayed.

図2に戻って、筐体10の上面奥側には、表示部12に隣接して、テープカートリッジ2を装着するための凹部13が形成されている。凹部13の開口部上には、開閉蓋14が開閉可能に備えられており、開閉蓋14を開放状態にすることによって、テープカートリッジ2を着脱することが可能となる。また、開閉蓋14には、光透過性を有する確認窓14aが備えられており、凹部13にテープカートリッジ2が装着されているか否かを外部から視認可能になっている。凹部13の底面には、凸状のサーマルヘッド15や、搬送機構16を構成する回転軸16a,16bが設けられており、凹部13にテープカートリッジ2を装着すると、テープカートリッジ2に設けられた孔状のヘッド嵌合部21にサーマルヘッド15が嵌合するとともに、回転軸16a,16bがそれぞれテープカートリッジ2の被駆動部22a,22bと係合する。   Returning to FIG. 2, a recess 13 for mounting the tape cartridge 2 is formed adjacent to the display unit 12 on the back side of the upper surface of the housing 10. An opening / closing lid 14 is provided on the opening of the recess 13 so as to be openable and closable. By opening the opening / closing lid 14, the tape cartridge 2 can be attached and detached. Further, the opening / closing lid 14 is provided with a light-transmitting confirmation window 14a so that whether or not the tape cartridge 2 is mounted in the recess 13 can be visually recognized from the outside. A convex thermal head 15 and rotating shafts 16a and 16b constituting a transport mechanism 16 are provided on the bottom surface of the concave portion 13. When the tape cartridge 2 is mounted in the concave portion 13, holes provided in the tape cartridge 2 are provided. The thermal head 15 is fitted to the head-like fitting portion 21 and the rotating shafts 16a and 16b are engaged with the driven portions 22a and 22b of the tape cartridge 2, respectively.

テープカートリッジ2には、カートリッジケース20の内部に、ともに帯状のテープTとインクリボンRとが内蔵されている。テープTは、PET(ポリエチレンテレフタレート)或いは紙材等からなる基材の裏面に接着剤層が形成され、それが剥離紙によって覆われた構成になっている。テープ印刷装置1は、テープTの幅や素材(基材の材質)、色等が異なる複数種類のテープカートリッジ2に対応可能であり、ユーザは、用途や好みに応じたテープカートリッジ2を使用することができる。なお、テープカートリッジ2の裏面には、内蔵するテープTの幅を識別可能な複数の孔(図示せず)が設けられており、テープ印刷装置1は、凹部13の底面に備えられたマイクロスイッチ等の識別センサ19(図4参照)によって、装着されたテープカートリッジ2のテープ幅を識別することができる。   The tape cartridge 2 has a belt-like tape T and an ink ribbon R built in the cartridge case 20. The tape T has a configuration in which an adhesive layer is formed on the back surface of a base material made of PET (polyethylene terephthalate) or paper, and is covered with release paper. The tape printer 1 can cope with a plurality of types of tape cartridges 2 having different widths, materials (materials of base materials), colors, and the like of the tape T, and the user uses the tape cartridge 2 according to the application and preference. be able to. Note that a plurality of holes (not shown) that can identify the width of the tape T incorporated therein are provided on the back surface of the tape cartridge 2, and the tape printer 1 is a micro switch provided on the bottom surface of the recess 13. The identification sensor 19 (see FIG. 4) or the like can identify the tape width of the mounted tape cartridge 2.

テープカートリッジ2を凹部13に装着すると、テープTの表面は、ヘッド嵌合部21において、インクリボンRを介してサーマルヘッド15と対向するようになっており、サーマルヘッド15を発熱駆動することにより、入力された文字列等で構成される画像をテープTの表面に熱転写(印刷)することができる。また、この状態で回転軸16a,16bを回転駆動させると、テープTとインクリボンRは搬送されて、テープTはカートリッジケース20の外部に排出され、インクリボンRはカートリッジケース20の内部で巻き取られる。   When the tape cartridge 2 is mounted in the recess 13, the surface of the tape T is opposed to the thermal head 15 via the ink ribbon R in the head fitting portion 21, and the thermal head 15 is driven to generate heat. The image composed of the input character string or the like can be thermally transferred (printed) onto the surface of the tape T. Further, when the rotary shafts 16 a and 16 b are driven to rotate in this state, the tape T and the ink ribbon R are conveyed, the tape T is discharged to the outside of the cartridge case 20, and the ink ribbon R is wound inside the cartridge case 20. Taken.

筐体10の側面には、凹部13と筐体10の外部とを連通するスリット17が設けられており、カートリッジケース20から排出された印刷済みのテープTは、スリット17を通って筐体10の外部に向けて所定量だけ搬送される。筐体10の内部には、スリット17を横断するテープTを切断可能なカッタユニット18が配設されており、テープTの印刷済みの部位は、このカッタユニット18によってテープ片(ラベル)として切り離され、スリット17の開口部(テープ排出口)から排出される。   A slit 17 is provided on the side surface of the housing 10 to communicate the recess 13 and the outside of the housing 10, and the printed tape T discharged from the cartridge case 20 passes through the slit 17. It is conveyed by a predetermined amount toward the outside. A cutter unit 18 capable of cutting the tape T traversing the slit 17 is disposed inside the housing 10, and the printed portion of the tape T is cut off as a tape piece (label) by the cutter unit 18. Then, it is discharged from the opening (tape discharge port) of the slit 17.

図4は、テープ印刷装置1の回路構成を示すブロック図である。
図4に示すように、テープ印刷装置1は、上述したキーボード11、表示部12、サーマルヘッド15、回転軸16a,16b(図2参照)を含む搬送機構16、カッタユニット18、識別センサ19の他に、テープ印刷装置1の動作を統括制御する制御部30と、表示部12に画像を表示させる表示駆動部41と、サーマルヘッド15を発熱駆動するヘッド駆動部42と、搬送機構16を駆動する搬送駆動部43と、カッタユニット18を駆動するカッタ駆動部44とを備えている。
FIG. 4 is a block diagram illustrating a circuit configuration of the tape printer 1.
As shown in FIG. 4, the tape printing apparatus 1 includes the keyboard 11, the display unit 12, the thermal head 15, the transport mechanism 16 including the rotation shafts 16 a and 16 b (see FIG. 2), the cutter unit 18, and the identification sensor 19. In addition, the control unit 30 that performs overall control of the operation of the tape printer 1, the display drive unit 41 that displays an image on the display unit 12, the head drive unit 42 that drives the thermal head 15 to generate heat, and the transport mechanism 16 are driven. And a cutter driving unit 44 for driving the cutter unit 18.

制御部30は、コンピュータとして機能するものであり、互いにバス30aを介して接続されたCPU(Central Processing Unit)31、RAM(Random Access Memory)32、ROM(Read Only Memory)33、CGROM(キャラクタジェネレータROM)34、入力インターフェイス(I/F)35、出力インターフェイス(I/F)36等を含んでいる。   The control unit 30 functions as a computer, and is a CPU (Central Processing Unit) 31, a RAM (Random Access Memory) 32, a ROM (Read Only Memory) 33, a CGROM (character generator) connected to each other via a bus 30a. ROM) 34, input interface (I / F) 35, output interface (I / F) 36, and the like.

CPU31は、ROM33に記憶されている制御プログラムに従って動作し、テープ印刷装置1の各種動作を司る。RAM32は、CPU31の処理結果や、キーボード11から入力された文字の文字コード、表示部12に表示させる画像の画像データ等を一時的に記憶する。   The CPU 31 operates according to a control program stored in the ROM 33 and controls various operations of the tape printer 1. The RAM 32 temporarily stores processing results of the CPU 31, character codes of characters input from the keyboard 11, image data of images to be displayed on the display unit 12, and the like.

ROM33は、フラッシュメモリ等の不揮発性の記憶装置で構成された記憶部であり、上述した制御プログラム等を記憶する。ROM33が記憶する制御プログラムには、キーボード11により入力された仮名文字列を仮名漢字文字列や外国語文字列に変換する文字変換プログラムSpが含まれており、ROM33には、文字変換を行う際に参照される辞書データSdも記憶されている。辞書データSdは、仮名漢字文字列及び外国語文字列からなる多数の文字列(登録文字列)が、その読み仮名である仮名文字列に対応付けられて格納されており、CPU31は、仮名文字列を表す文字コードの列(文字コード列)を指定することにより、対応する登録文字列の文字コード列を抽出可能になっている。   The ROM 33 is a storage unit configured by a nonvolatile storage device such as a flash memory, and stores the above-described control program and the like. The control program stored in the ROM 33 includes a character conversion program Sp for converting a kana character string input from the keyboard 11 into a kana / kanji character string or a foreign language character string. The ROM 33 performs character conversion. The dictionary data Sd referred to is also stored. In the dictionary data Sd, a large number of character strings (registered character strings) composed of kana-kanji character strings and foreign language character strings are stored in association with kana character strings that are the reading kana characters. A character code string of a corresponding registered character string can be extracted by designating a character code string (character code string) representing the string.

CGROM34は、テープ印刷装置1で印刷可能な文字や記号等のフォントデータを記憶している。フォントデータは、文字等を印刷したり、表示部12に表示させたりする際に用いられるビットマップ形式のデータであり、それぞれ文字コードに対応付けられて記憶されている。CPU31は、文字コードを指定することによりCGROM34から対応するフォントデータを取得し、このフォントデータを用いて表示用及び印刷用の画像データを形成する。なお、フォントデータとしては、種々の文字サイズに対応させやすいアウトライン形式のフォントデータを用いるようにしてもよい。   The CGROM 34 stores font data such as characters and symbols that can be printed by the tape printer 1. The font data is bitmap format data used when characters or the like are printed or displayed on the display unit 12, and is stored in association with each character code. The CPU 31 acquires corresponding font data from the CGROM 34 by designating a character code, and forms display and print image data using this font data. As the font data, outline-format font data that can easily correspond to various character sizes may be used.

入力インターフェイス35には、キーボード11及び識別センサ19が接続されている。ユーザによりキーボード11が操作されると、キーボード11は、操作されたキーに対応するキー情報を、入力インターフェイス35を介してCPU31に出力する。また、識別センサ19は、装着されたテープカートリッジ2のテープ幅に応じた識別情報を、入力インターフェイス35を介してCPU31に出力する。   The input interface 35 is connected to the keyboard 11 and the identification sensor 19. When the user operates the keyboard 11, the keyboard 11 outputs key information corresponding to the operated key to the CPU 31 via the input interface 35. Further, the identification sensor 19 outputs identification information corresponding to the tape width of the mounted tape cartridge 2 to the CPU 31 via the input interface 35.

出力インターフェイス36には、表示駆動部41、ヘッド駆動部42、搬送駆動部43、及びカッタ駆動部44が接続されており、これらは、CPU31の制御に基づいて、表示部12、サーマルヘッド15、搬送機構16、及びカッタユニット18をそれぞれ駆動する。   A display drive unit 41, a head drive unit 42, a transport drive unit 43, and a cutter drive unit 44 are connected to the output interface 36, and these are based on the control of the CPU 31, the display unit 12, the thermal head 15, The transport mechanism 16 and the cutter unit 18 are driven.

本実施形態のテープ印刷装置1は、上記のような構成を有しており、ユーザがキーボード11を操作して仮名を入力すると、CPU31は、キーボード11から入力されるキー情報、及び設定されている入力方式(「かな入力」又は「ローマ字入力」)に基づいて、入力された仮名を特定し、この仮名を表す文字コードをRAM32に格納する。さらに、CPU31は、この文字コードに対応するフォントデータをCGROM34から取得し、このフォントデータを用いて表示用の画像データを形成する。CPU31がこの画像データを表示駆動部41に供給すると、表示部12には、入力された仮名が表示される。ユーザが仮名の入力を繰り返すことによって仮名文字列を入力すると、RAM32には、仮名文字列を表す文字コード列が格納され、表示部12には、仮名文字列が表示される。   The tape printer 1 according to the present embodiment has the above-described configuration. When the user operates the keyboard 11 to input a pseudonym, the CPU 31 sets key information input from the keyboard 11 and is set. The input kana is specified based on the input method (“kana input” or “romaji input”), and the character code representing this kana is stored in the RAM 32. Further, the CPU 31 acquires font data corresponding to the character code from the CGROM 34, and forms display image data using the font data. When the CPU 31 supplies this image data to the display drive unit 41, the input pseudonym is displayed on the display unit 12. When the user inputs a kana character string by repeating the input of the kana, a character code string representing the kana character string is stored in the RAM 32, and the kana character string is displayed on the display unit 12.

その後、ユーザがキーボード11の変換キーを操作すると、CPU31は、文字変換プログラムSpに従って動作し、入力された仮名文字列を、これを読み仮名とする他の文字列に変換する。具体的には、CPU31は、入力された仮名文字列、即ちRAM32に記憶されている文字コード列に基づいて、対応する登録文字列(仮名漢字文字列及び/又は外国語文字列)の文字コード列を辞書データSdから抽出する。ここで、入力された仮名文字列に対応する登録文字列が複数存在する場合には、これら複数の登録文字列が抽出される。次いで、CPU31は、抽出された登録文字列の文字コード列に基づいてCGROM34からフォントデータを取得する。そして、このフォントデータを用いて表示用の画像データを生成し、これを表示駆動部41に供給すると、表示部12には、抽出された1つ又は複数の登録文字列が変換候補として表示される。登録文字列が複数表示された場合には、ユーザは、カーソルキーにより1つの登録文字列を選択することができる。その後、ユーザが決定キーを操作すると、変換すべき文字列(変換文字列)が確定する。   Thereafter, when the user operates the conversion key of the keyboard 11, the CPU 31 operates in accordance with the character conversion program Sp, and converts the input kana character string into another character string having this as a reading kana. Specifically, the CPU 31 determines the character code of the corresponding registered character string (kana / kanji character string and / or foreign language character string) based on the input kana character string, that is, the character code string stored in the RAM 32. A column is extracted from the dictionary data Sd. Here, when there are a plurality of registered character strings corresponding to the input kana character string, the plurality of registered character strings are extracted. Next, the CPU 31 acquires font data from the CGROM 34 based on the extracted character code string of the registered character string. Then, when image data for display is generated using this font data and is supplied to the display drive unit 41, one or more extracted registered character strings are displayed on the display unit 12 as conversion candidates. The When a plurality of registered character strings are displayed, the user can select one registered character string with the cursor keys. Thereafter, when the user operates the enter key, a character string to be converted (converted character string) is determined.

ユーザが、所望の文字列の入力及び変換を終えて印刷キーを操作すると、CPU31は、確定した変換文字列を含む印刷用の画像データを形成し、この画像データに基づいて、ヘッド駆動部42及び搬送駆動部43にサーマルヘッド15及び搬送機構16をそれぞれ駆動させる。この結果、画像データに応じた画像がテープTに印刷される。その後、CPU31は、カッタ駆動部44にカッタユニット18を駆動させて、テープTを切断させる。   When the user finishes input and conversion of a desired character string and operates the print key, the CPU 31 forms image data for printing including the determined converted character string, and the head drive unit 42 based on this image data. And the thermal drive 15 and the conveyance mechanism 16 are driven to the conveyance drive part 43, respectively. As a result, an image corresponding to the image data is printed on the tape T. Thereafter, the CPU 31 causes the cutter driving unit 44 to drive the cutter unit 18 to cut the tape T.

ここで、文字変換プログラムSpに従った文字変換について詳述する。
図5は、ROM33に記憶されている辞書データSdの内容を模式的に示した説明図である。
図5に示すように、辞書データSdには、多数の登録文字列が、その読み仮名を表す仮名文字列に対応付けられて格納されている。例えば、仮名文字列の「いち」には、日本語(片仮名又は漢字)で表記された「イチ」、「一」、「位置」や、アラビア数字の「1」等が登録文字列として対応付けられている。また、本来は中国語である「にーはお」という仮名文字列には、日本語(片仮名)で表記された文字列「ニーハオ」とともに、本来の言語(中国語)で表記された文字列が対応付けられている。そして、仮名文字列の「わん」にも、それぞれの言語で「わん」と発音される複数の文字列が対応付けられており、ここには、英語で「わん」と発音される文字列として、本来の言語(英語)、即ちアルファベットで表記された文字列「ONE」が含まれている。また、仮名文字列「わん」には、アラビア数字の「1」も対応付けられている。
Here, the character conversion according to the character conversion program Sp will be described in detail.
FIG. 5 is an explanatory diagram schematically showing the contents of the dictionary data Sd stored in the ROM 33.
As shown in FIG. 5, in the dictionary data Sd, a large number of registered character strings are stored in association with kana character strings representing the reading kana. For example, “ichi” in kana character string “1”, “one”, “position” written in Japanese (Katakana or kanji), “1” in Arabic numerals, etc. are associated as registered character strings. It has been. In addition, the kana character string “Nihao”, which is originally Chinese, has a character string written in the original language (Chinese) along with the character string “Nihao” written in Japanese (Katakana). It is associated. The kana character string “Wan” is also associated with a plurality of character strings that are pronounced “Wan” in each language. The original language (English), that is, the character string “ONE” written in alphabet is included. Further, the Arabic character “1” is also associated with the kana character string “Wan”.

さらに、辞書データSdに格納されている各登録文字列には、その言語を表す言語情報が対応付けられており、各登録文字列が、日本語、中国語(簡体字)、中国語(繁体字)、及び英語の4つの言語のうち、いずれの言語の文字列であるかを特定可能になっている。ここで、「腕」のように複数の言語で共通の読み仮名となる登録文字列については、1つの登録文字列に複数の言語情報が付されている。なお、仮名文字列の「わん」に対応付けられている「万」及び「王」の文字(登録文字列)は、日本語でも使用される文字であるが、これらが「わん」と発音されるのは中国語の場合であることから、「わん」に対応付けられた「万」及び「王」には、日本語を表す言語情報は付されていない。また、アラビア数字の「1」については、日本語として発音された場合の読み仮名「いち」に対応するものには日本語を表す言語情報が付され、中国語として発音された場合の読み仮名「いー」に対応するものには、中国語(簡体字及び繁体字)を表す言語情報が付され、英語として発音された場合の読み仮名「わん」に対応するものには、英語を表す言語情報が付されている。   In addition, each registered character string stored in the dictionary data Sd is associated with language information representing the language, and each registered character string includes Japanese, Chinese (simplified characters), Chinese (traditional characters). ) And English, it is possible to specify which language is the character string. Here, for a registered character string that is a common reading character in a plurality of languages such as “arm”, a plurality of language information is attached to one registered character string. Note that the characters “Man” and “King” (registered character strings) associated with “Wan” in the kana character string are also used in Japanese, but they are pronounced “Wan”. Since this is the case of Chinese, language information representing Japanese is not attached to “ten” and “king” associated with “Wan”. In addition, for the Arabic numeral “1”, the linguistic information representing Japanese is attached to the one corresponding to the reading kana “1” when pronounced as Japanese, and the reading kana when pronounced as Chinese. The language corresponding to "I-" is accompanied by language information representing Chinese (simplified and traditional), and the language corresponding to the reading kana "Wan" when pronounced as English is the language representing English. Information is attached.

図6は、文字変換を行う際の制御部30の動作示すフローチャートであり、図7は、文字変換を行う際に表示部12に表示される画像を示す説明図である。仮名文字列が入力された状態で、ユーザにより変換キーが操作されると、制御部30は、文字変換プログラムSpに従って、図6に示すように動作する。なお、ここでは、「わん」という仮名文字列が入力された状態(図7(a)参照)で変換キーが操作されたものとする。また、この状態では、入力された文字列が確定される前の状態であるため、イメージ表示領域Aiには、何も表示されていない。   FIG. 6 is a flowchart illustrating the operation of the control unit 30 when performing character conversion, and FIG. 7 is an explanatory diagram illustrating an image displayed on the display unit 12 when performing character conversion. When the conversion key is operated by the user in a state where the kana character string is input, the control unit 30 operates as shown in FIG. 6 according to the character conversion program Sp. Here, it is assumed that the conversion key is operated in a state where the kana character string “Wan” is input (see FIG. 7A). In this state, nothing is displayed in the image display area Ai because it is a state before the input character string is confirmed.

図6に示すように、ステップS101では、CPU31は、入力された仮名文字列(確定前の仮名文字列)の文字コード列に基づいて、辞書データSdから対応する登録文字列を抽出する。この結果、片仮名の「ワン」や、日本語及び/又は中国語で「わん」と発音される様々な文字列(漢字)の他に、英語で「わん」と発音される文字列「ONE」やアラビア数字「1」等、「わん」という仮名文字列に対応付けられた複数の登録文字列が抽出される。CPU31は、抽出した登録文字列の文字コード列、及び抽出した各登録文字列に対応する言語情報を取得してRAM32に記憶する。   As shown in FIG. 6, in step S101, the CPU 31 extracts a corresponding registered character string from the dictionary data Sd based on a character code string of the input kana character string (kana character string before confirmation). As a result, in addition to Katakana “One” and various character strings (Kanji) pronounced “Wan” in Japanese and / or Chinese, the character string “ONE” pronounced “Wan” in English. And a plurality of registered character strings associated with the kana character string “Wan” such as Arabic numeral “1”. The CPU 31 acquires the character code string of the extracted registered character string and the language information corresponding to each extracted registered character string and stores them in the RAM 32.

ステップS102では、CPU31は、表示部12の画像表示領域12a内に変換候補表示領域Acを設け(図7(b)参照)、この変換候補表示領域Ac内に、抽出した登録文字列を所定の順序(例えば、登録順、使用頻度の高い順等)で表示する。なお、抽出された登録文字列の数が、変換候補表示領域Ac内に表示可能な数を超える場合には、表示可能な数の登録文字列のみが変換候補表示領域Ac内に表示され、一部の登録文字列は非表示となる。表示された各登録文字列には、対応する言語情報に応じた言語マークMが付されており、この言語マークMによって各登録文字列の言語を認識することが可能になっている。言語マークMは、言語を表す漢字一文字が印されたアイコンであり、言語情報が日本語を表す場合には「日」、中国語の簡体字の場合には「簡」、中国語の繁体字の場合には「繁」、英語の場合には「英」の文字が表示される。また、変換候補表示領域Ac内に表示された登録文字列の中の1つ(先頭の登録文字列「ワン」)は、ネガ表示になっており、この登録文字列が選択された状態であることを示している。ユーザは、上下方向に対応するカーソルキーを操作することによって他の登録文字列を選択することができる。   In step S102, the CPU 31 provides a conversion candidate display area Ac in the image display area 12a of the display unit 12 (see FIG. 7B), and the extracted registered character string is stored in the conversion candidate display area Ac in a predetermined manner. Display in order (for example, registration order, use frequency, etc.). When the number of extracted registered character strings exceeds the number that can be displayed in the conversion candidate display area Ac, only the displayable number of registered character strings is displayed in the conversion candidate display area Ac. The registered character string of the copy is not displayed. Each displayed registered character string is provided with a language mark M corresponding to the corresponding language information, and the language of each registered character string can be recognized by this language mark M. The language mark M is an icon with a single kanji character representing the language. If the language information represents Japanese, it is “Japanese”, if the Chinese character is Simplified, “simplified”, and the Chinese traditional character. In this case, “Traditional” is displayed, and in English, “English” is displayed. One of the registered character strings displayed in the conversion candidate display area Ac (first registered character string “one”) is displayed in a negative state, and this registered character string is selected. It is shown that. The user can select another registered character string by operating the cursor keys corresponding to the vertical direction.

ステップS103では、CPU31は、ユーザにより上下方向に対応するカーソルキーが操作されたか否かを判断する。そして、カーソルキーが操作された場合にはステップS104に移行し、カーソルキーが操作されていない場合にはステップS105に移行する。   In step S103, the CPU 31 determines whether or not the user has operated the cursor key corresponding to the vertical direction. If the cursor key is operated, the process proceeds to step S104. If the cursor key is not operated, the process proceeds to step S105.

カーソルキーが操作されてステップS104に移行した場合には、CPU31は、操作されたカーソルキーの方向に応じた他の登録文字列を選択し、ステップS103に戻る。具体的には、CPU31は、上方向のカーソルキーが操作された場合には、現在選択されている登録文字列の1つ上に表示されている登録文字列を選択し、下方向のカーソルキーが操作された場合には、現在選択されている登録文字列の1つ下に表示されている登録文字列を選択する。ここで、抽出された登録文字列の数が変換候補表示領域Ac内に表示可能な数を超えている場合において、変換候補表示領域Ac内の一番下の登録文字列が選択された状態(図7(c)参照)で下方向のカーソルキーが操作されると、非表示であった次の登録文字列とその言語マークMがスクロールして表示され、この登録文字列が選択された状態となる(図7(d)参照)。また、先頭の登録文字列が選択されている状態(図7(b)参照)で上方向のカーソルキーが操作された場合には、最後尾の登録文字列が選択され(図7(e)参照)、最後尾の登録文字列が選択されている状態で下方向のカーソルキーが操作された場合には、先頭の登録文字列が選択される。なお、抽出された登録文字列が1つの場合には、カーソルキーの操作は無視される。   When the cursor key is operated and the process proceeds to step S104, the CPU 31 selects another registered character string corresponding to the direction of the operated cursor key, and returns to step S103. Specifically, when the up cursor key is operated, the CPU 31 selects the registered character string displayed one above the currently selected registered character string, and the down cursor key. When is operated, the registered character string displayed immediately below the currently selected registered character string is selected. Here, when the number of extracted registered character strings exceeds the number that can be displayed in the conversion candidate display area Ac, the lowest registered character string in the conversion candidate display area Ac is selected ( When the downward cursor key is operated in FIG. 7C, the next registered character string and its language mark M which are not displayed are scrolled and displayed, and this registered character string is selected. (See FIG. 7D). In addition, when the upward cursor key is operated in a state where the first registered character string is selected (see FIG. 7B), the last registered character string is selected (FIG. 7E). If the last cursor key is operated while the last registered character string is selected, the first registered character string is selected. When the extracted registered character string is one, the operation of the cursor key is ignored.

一方、ステップS103においてカーソルキーが操作されずにステップS105に移行した場合には、CPU31は、ユーザにより決定キーが操作されたか否かを判断する。そして、決定キーが操作された場合にはステップS106に移行し、決定キーが操作されていない場合にはステップS103に戻る。   On the other hand, when the cursor key is not operated in step S103 and the process proceeds to step S105, the CPU 31 determines whether or not the determination key is operated by the user. If the enter key is operated, the process proceeds to step S106, and if the enter key is not operated, the process returns to step S103.

決定キーが操作されてステップS106に移行した場合には、CPU31は、現在選択されている登録文字列を変換文字列として確定し、フローを終了する。具体的には、図7(f)に示すように、CPU31は、表示部12に表示させていた変換候補表示領域Acを消去するとともに、入力文字表示領域Asに表示されていた仮名文字列を、選択された登録文字列(例えば、「王」)に変換して表示し、さらに、登録文字列の選択(変換)結果をイメージ表示領域Aiに反映させる。   When the enter key is operated and the process proceeds to step S106, the CPU 31 determines the currently selected registered character string as a converted character string, and ends the flow. Specifically, as shown in FIG. 7F, the CPU 31 erases the conversion candidate display area Ac displayed on the display unit 12 and displays the kana character string displayed in the input character display area As. The registered character string (for example, “king”) is converted and displayed, and the registered character string selection (conversion) result is reflected in the image display area Ai.

以上説明したように、本実施形態のテープ印刷装置1によれば、以下の効果を得ることができる。   As described above, according to the tape printer 1 of the present embodiment, the following effects can be obtained.

(1)本実施形態のテープ印刷装置1によれば、辞書データSdには、本来の言語で表記された外国語の文字列がその読み仮名(仮名文字列)に対応付けられて格納されているため、キーボード11により読み仮名を入力することによって、本来の言語で表記された外国語の文字列を印刷することが可能となる。つまり、外国語の文字や綴りを知らないユーザであっても、読み仮名さえ知っていれば外国語の文字列を印刷することが可能となり、利便性が向上する。   (1) According to the tape printer 1 of the present embodiment, the dictionary data Sd stores a foreign language character string written in the original language in association with the reading kana (kana character string). Therefore, it is possible to print a foreign language character string written in the original language by inputting the reading kana with the keyboard 11. That is, even a user who does not know a foreign language character or spelling can print a foreign language character string as long as he / she knows the reading kana, improving convenience.

(2)本実施形態のテープ印刷装置1によれば、表示部12に変換候補(登録文字列)を表示する際に、辞書データSdから抽出された登録文字列に、その言語を表す言語マークMを付しているため、ユーザは、変換候補として表示された登録文字列の言語を知ることが可能となる。このため、表示された登録文字列の中から所望の言語の文字列を選択することが容易になる。   (2) According to the tape printer 1 of the present embodiment, when displaying the conversion candidate (registered character string) on the display unit 12, the language mark indicating the language is displayed in the registered character string extracted from the dictionary data Sd. Since M is added, the user can know the language of the registered character string displayed as the conversion candidate. For this reason, it becomes easy to select a character string in a desired language from the displayed registered character strings.

なお、本実施形態では、ステップS101を実行して登録文字列を抽出する際のCPU31が文字列抽出部に相当し、抽出された登録文字列の中から1つの登録文字列を選択するためのキーボード11(カーソルキー及び決定キー)が選択部に相当する。また、ステップS106を実行して変換文字列を確定する際のCPU31が文字列変換部に相当し、CPU31の制御に基づいてテープTに文字列を印刷する際のヘッド駆動部42、搬送駆動部43、サーマルヘッド15、及び搬送機構16が、印刷部に相当する。   In this embodiment, the CPU 31 that executes step S101 to extract a registered character string corresponds to the character string extraction unit, and selects one registered character string from the extracted registered character strings. The keyboard 11 (cursor key and determination key) corresponds to the selection unit. Further, the CPU 31 when executing the step S106 to determine the converted character string corresponds to the character string converting unit, and the head driving unit 42 and the conveyance driving unit when printing the character string on the tape T based on the control of the CPU 31. 43, the thermal head 15, and the conveyance mechanism 16 correspond to a printing unit.

(第2実施形態)
以下、第2実施形態のテープ印刷装置1について、図面を参照して説明する。
本実施形態のテープ印刷装置1のキーボード11は、制御キーの1つとして、言語指定部としての言語指定キーを備えており、変換候補表示領域Acに表示される登録文字列の言語を言語指定キーによって指定可能になっている。これ以外の構成については、第1実施形態と同一である。
(Second Embodiment)
Hereinafter, the tape printer 1 of 2nd Embodiment is demonstrated with reference to drawings.
The keyboard 11 of the tape printer 1 of the present embodiment includes a language designation key as a language designation section as one of the control keys, and designates the language of the registered character string displayed in the conversion candidate display area Ac as the language designation. Can be specified by key. Other configurations are the same as those in the first embodiment.

本実施形態では、ステップS101(図6参照)で辞書データSdから複数の登録文字列が抽出され、ステップS102で(図6参照)これらが変換候補表示領域Acに表示された状態において、ユーザにより言語指定キーが操作されて言語が指定されると、CPU31は、抽出された登録文字列をさらに絞り込み、指定された言語の登録文字列のみを変換候補表示領域Acに表示させる。CPU31は、言語指定キーが操作される度に、変換候補表示領域Acの表示状態を、日本語の登録文字列のみを表示する日本語表示状態、中国語の簡体字の登録文字列のみを表示する簡体字表示状態、中国語の繁体字の登録文字列のみを表示する繁体字表示状態、英語の登録文字列のみを表示する英語表示状態、及びすべての言語の登録文字列を表示する全言語表示状態の5つの状態に順次切り換える。   In the present embodiment, a plurality of registered character strings are extracted from the dictionary data Sd in step S101 (see FIG. 6), and are displayed in the conversion candidate display area Ac in step S102 (see FIG. 6). When the language is designated by operating the language designation key, the CPU 31 further narrows down the extracted registered character string, and displays only the registered character string of the designated language in the conversion candidate display area Ac. Whenever the language designation key is operated, the CPU 31 displays the display state of the conversion candidate display area Ac, the Japanese display state in which only the Japanese registered character string is displayed, and the Chinese simplified character registered character string only. Simplified character display state, traditional Chinese character display state that displays only Chinese traditional registered characters, English display state that displays only English registered character strings, and all language display states that display registered character strings in all languages The five states are sequentially switched.

図8は、本実施形態のテープ印刷装置1の表示部12に表示される画像を示す説明図であり、変換候補表示領域Acの表示状態の切り換えを示す図である。
ステップS102で変換候補の登録文字列が表示された状態では、変換候補表示領域Acは全言語表示状態であり、すべての(4つの)言語の登録文字列が表示される(図7(b)〜(e)参照)。この状態でユーザにより言語指定キーが操作されると、CPU31は、ステップS101で抽出されたすべての登録文字列の中から、日本語を表す言語情報に対応する登録文字列のみをさらに抽出して表示し、変換候補表示領域Acを日本語表示状態とする(図8(a)参照)。また、日本語表示状態で言語指定キーが操作されると、CPU31は、ステップS101で抽出されたすべての登録文字列の中から、中国語(簡体字)を表す言語情報に対応する登録文字列のみを抽出して表示し、変換候補表示領域Acを簡体字表示状態とする(図8(b)参照)。以降も同様に、簡体字表示状態で言語指定キーが操作されると、中国語(繁体字)を表す言語情報に対応する登録文字列のみを抽出して繁体字表示状態とし(図8(c)参照)、繁体字表示状態で言語指定キーが操作されると、英語を表す言語情報に対応する登録文字列のみを抽出して英語表示状態とする(図8(d)参照)。そして、英語表示状態で言語指定キーが操作された場合には、言語情報に拘わらずに、ステップS101で抽出されたすべての登録文字列を表示する全言語表示状態(図7(b)参照)に戻る。
FIG. 8 is an explanatory diagram illustrating an image displayed on the display unit 12 of the tape printer 1 according to the present embodiment, and illustrates switching of the display state of the conversion candidate display area Ac.
In the state where the conversion candidate registration character string is displayed in step S102, the conversion candidate display area Ac is in the all-language display state, and all (four) language registration character strings are displayed (FIG. 7B). To (e)). When the language designation key is operated by the user in this state, the CPU 31 further extracts only the registered character string corresponding to the language information representing Japanese from all the registered character strings extracted in step S101. The conversion candidate display area Ac is displayed in Japanese (see FIG. 8A). When the language designation key is operated in the Japanese display state, the CPU 31 selects only a registered character string corresponding to language information representing Chinese (simplified characters) from all the registered character strings extracted in step S101. Are extracted and displayed, and the conversion candidate display area Ac is set in a simplified display state (see FIG. 8B). Similarly, when the language designation key is operated in the simplified character display state, only the registered character string corresponding to the language information representing Chinese (traditional characters) is extracted and set in the traditional character display state (FIG. 8C). When the language designation key is operated in the traditional character display state, only the registered character string corresponding to the language information representing English is extracted and set in the English display state (see FIG. 8D). When the language designation key is operated in the English display state, the all language display state in which all the registered character strings extracted in step S101 are displayed regardless of the language information (see FIG. 7B). Return to.

以上説明したように、本実施形態のテープ印刷装置1によれば、ユーザは、辞書データSdから変換候補(登録文字列)が抽出された後で言語指定キーを操作することにより、選択の対象となる変換候補(選択肢)の数を言語によって絞り込むことが可能となる。このため、所望の言語の登録文字列を選択することが容易になる。   As described above, according to the tape printer 1 of the present embodiment, the user can select a target by operating the language designation key after the conversion candidate (registered character string) is extracted from the dictionary data Sd. It becomes possible to narrow down the number of conversion candidates (options) to be reduced by language. For this reason, it becomes easy to select a registered character string in a desired language.

なお、本実施形態において、ステップS101で抽出されたすべての登録文字列の中から、言語指定キーによって指定された言語の登録文字列のみを抽出する際のCPU31は、言語抽出部に相当する。   In the present embodiment, the CPU 31 that extracts only the registered character string of the language designated by the language designation key from all the registered character strings extracted in step S101 corresponds to a language extracting unit.

また、本実施形態では、1つの言語指定キーを繰り返し操作することによって言語を順に切り換える態様を示したが、言語を指定する態様は、これに限定されず、例えば、各言語に対応する複数の言語指定キーを備えるようにして、一度の操作で所望の表示状態に切り換え可能な構成にすることも可能である。この場合には、言語指定キーで言語が指定された後で、同一の言語指定キーを再び操作することにより全言語表示状態に復帰するようにしてもよい。   Further, in the present embodiment, the mode in which the languages are sequentially switched by repeatedly operating one language designation key has been described. However, the mode for designating the language is not limited to this, for example, a plurality of languages corresponding to each language. It is also possible to provide a language designation key so that it can be switched to a desired display state by a single operation. In this case, after the language is designated by the language designation key, the same language designation key may be operated again to return to the all language display state.

また、本実施形態では、辞書データSdから登録文字列を抽出した後で、言語指定キーによって変換候補を絞り込む構成を示したが、ステップS101における辞書データSdからの登録文字列の抽出に先立って言語を指定し、指定された言語の登録文字列のみを辞書データSdから抽出する構成にすることも可能である。言語を指定する際には、上記のような言語指定キーを用いてもよいし、各言語に対応する複数の変換キーを備えるようにして、操作された変換キーに応じた言語の登録文字列を抽出するようにしてもよい。この場合にも、所望の言語の登録文字列のみを変換候補として抽出させることが可能となるため、登録文字列を選択する際の利便性が向上する。   Further, in the present embodiment, the configuration is shown in which the conversion candidate is narrowed down by the language designation key after extracting the registered character string from the dictionary data Sd. However, prior to the extraction of the registered character string from the dictionary data Sd in step S101. It is possible to designate a language and extract only the registered character string of the designated language from the dictionary data Sd. When specifying a language, the language specification key as described above may be used, or a registered character string of a language corresponding to the operated conversion key so as to have a plurality of conversion keys corresponding to each language. May be extracted. Also in this case, only the registered character string in the desired language can be extracted as the conversion candidate, so that the convenience for selecting the registered character string is improved.

(変形例)
また、上記実施形態(第1実施形態及び第2の実施形態)は、以下のように変更してもよい。
(Modification)
Moreover, you may change the said embodiment (1st Embodiment and 2nd Embodiment) as follows.

上記実施形態では、1つの仮名文字列に複数の登録文字列を対応付けた辞書データSd(図5参照)を示したが、仮名文字列と登録文字列の対応付けがなされていれば、辞書データSdの構成はこれに限定されない。例えば、図9に示すように、1つの登録文字列に複数の仮名文字列を対応付けた構成にすることも可能である。この場合、登録文字列と言語情報との対応付けについては、仮名文字列毎に行えばよい。   In the above embodiment, the dictionary data Sd (see FIG. 5) in which a plurality of registered character strings are associated with one kana character string is shown. However, if the kana character string and the registered character string are associated with each other, the dictionary The configuration of the data Sd is not limited to this. For example, as shown in FIG. 9, it is possible to adopt a configuration in which a plurality of kana character strings are associated with one registered character string. In this case, the registered character string and the language information may be associated with each kana character string.

上記実施形態では、言語情報が格納された態様の辞書データSdを示したが、言語情報は必須の構成ではない。   In the above embodiment, the dictionary data Sd in a mode in which language information is stored is shown, but the language information is not an essential configuration.

上記実施形態では、複数の言語の登録文字列を1つの辞書データSdに格納した構成を示したが、言語別に複数の辞書データSdを備えた構成にすることも可能である。この場合には、登録文字列を変換候補として抽出する際に、どの辞書データSdから抽出されたかによって登録文字列の言語を特定することが可能となるため、辞書データSd自体が言語情報として機能することになり、辞書データSdに言語情報を格納する必要がなくなる。   In the above embodiment, a configuration in which registered character strings of a plurality of languages are stored in one dictionary data Sd is shown, but a configuration having a plurality of dictionary data Sd for each language is also possible. In this case, when extracting the registered character string as a conversion candidate, it is possible to specify the language of the registered character string depending on which dictionary data Sd is extracted from, so the dictionary data Sd itself functions as language information. This eliminates the need to store language information in the dictionary data Sd.

上記実施形態において、辞書データSdに格納する外国語文字列の読み仮名、即ち外国語の登録文字列に対応付けるべき仮名文字列としては、日本で一般的に用いられる表記を用いればよい。また、「にーはお」と「にいはお」、或いは「TWO」に対する「とぅー」と「つー」のように、1つの外国語文字列(登録文字列)を複数の仮名文字列に対応付けてもよい。   In the above embodiment, as a reading kana of a foreign language character string stored in the dictionary data Sd, that is, a kana character string to be associated with a registered character string of a foreign language, a notation generally used in Japan may be used. In addition, one foreign language character string (registered character string) can be converted into a plurality of kana character strings, such as “Niihao” and “Niihao” or “Two” and “Tsu” for “TWO”. May be associated.

上記実施形態では、テープTに文字列を印刷するための印刷方式として、サーマルヘッド15による熱転写方式を用いているが、この方式に限られず、インクジェット方式等、他の印刷方式を用いてもよい。   In the above embodiment, the thermal transfer method using the thermal head 15 is used as a printing method for printing a character string on the tape T. However, the printing method is not limited to this method, and other printing methods such as an ink jet method may be used. .

上記実施形態では、テープ印刷装置1を例にして説明しているが、入力された読み仮名を外国語文字列に変換する文字列変換装置としての機能については、テープ印刷装置1以外の他の装置(例えば、電子辞書やワードプロセッサ等)に適用することも可能である。   In the above embodiment, the tape printer 1 has been described as an example, but the function as a character string conversion device that converts the input reading kana into a foreign language character string is other than the tape printer 1. It is also possible to apply to an apparatus (for example, an electronic dictionary or a word processor).

テープ印刷装置を示す斜視図。The perspective view which shows a tape printer. テープ印刷装置を示す斜視図。The perspective view which shows a tape printer. テープ印刷装置に備わる表示部を示す平面図。The top view which shows the display part with which a tape printer is equipped. テープ印刷装置の回路構成を示すブロック図。The block diagram which shows the circuit structure of a tape printer. ROMに記憶されている辞書データの内容を模式的に示した説明図。Explanatory drawing which showed typically the content of the dictionary data memorize | stored in ROM. 文字変換を行う際の制御部の動作示すフローチャート。The flowchart which shows operation | movement of the control part at the time of performing character conversion. 文字変換を行う際に表示部に表示される画像を示す説明図。Explanatory drawing which shows the image displayed on a display part when performing character conversion. 第2実施形態のテープ印刷装置において、文字変換を行う際に表示部に表示される画像を示す説明図。Explanatory drawing which shows the image displayed on a display part, when performing character conversion in the tape printer of 2nd Embodiment. 変形例に係る辞書データの内容を模式的に示した説明図。Explanatory drawing which showed typically the content of the dictionary data concerning a modification.

符号の説明Explanation of symbols

1…テープ印刷装置、2…テープカートリッジ、10…筐体、11…キーボード、12…表示部、13…凹部、14…開閉蓋、15…サーマルヘッド、16…搬送機構、17…スリット、18…カッタユニット、19…識別センサ、20…カートリッジケース、30…制御部、30a…バス、31…CPU、32…RAM、33…ROM、34…CGROM、35…入力インターフェイス、36…出力インターフェイス、41…表示駆動部、42…ヘッド駆動部、43…搬送駆動部、44…カッタ駆動部、Ac…変換候補表示領域、Ai…イメージ表示領域、As…入力文字表示領域、M…言語マーク、R…インクリボン、Sd…辞書データ、Sp…文字変換プログラム、T…テープ。   DESCRIPTION OF SYMBOLS 1 ... Tape printer, 2 ... Tape cartridge, 10 ... Housing | casing, 11 ... Keyboard, 12 ... Display part, 13 ... Recessed part, 14 ... Opening / closing lid, 15 ... Thermal head, 16 ... Conveyance mechanism, 17 ... Slit, 18 ... Cutter unit, 19 ... identification sensor, 20 ... cartridge case, 30 ... control unit, 30a ... bus, 31 ... CPU, 32 ... RAM, 33 ... ROM, 34 ... CGROM, 35 ... input interface, 36 ... output interface, 41 ... Display drive unit 42... Head drive unit 43. Transport drive unit 44. Cutter drive unit Ac Ac conversion candidate display area Ai Image display area As As input character display area M M Language mark R Ink Ribbon, Sd ... dictionary data, Sp ... character conversion program, T ... tape.

Claims (6)

テープに文字列を印刷するテープ印刷装置であって、
外国語の文字列を含む複数の登録文字列とその読み仮名とをそれぞれ対応付けて格納した辞書データを記憶する記憶部と、
仮名文字列が入力される文字列入力部と、
前記辞書データに格納されている前記複数の登録文字列の中から、入力された前記仮名文字列を読み仮名とする少なくとも1つの登録文字列を抽出する文字列抽出部と、
前記文字列抽出部が抽出した前記登録文字列を表示する表示部と、
前記表示部に表示された前記登録文字列の中から1つを選択する選択部と、
前記選択部で選択された前記登録文字列を前記テープに印刷する印刷部と、
を備えたことを特徴とするテープ印刷装置。
A tape printer for printing a character string on a tape,
A storage unit for storing dictionary data in which a plurality of registered character strings including foreign language character strings and their readings are associated with each other;
A character string input part for inputting a kana character string;
A character string extraction unit that extracts at least one registered character string that reads the input kana character string as a kana from the plurality of registered character strings stored in the dictionary data;
A display unit for displaying the registered character string extracted by the character string extraction unit;
A selection unit for selecting one of the registered character strings displayed on the display unit;
A printing unit that prints the registered character string selected by the selection unit on the tape;
A tape printing apparatus comprising:
請求項1に記載のテープ印刷装置であって、
前記辞書データに格納された前記登録文字列には、当該登録文字列の言語を表す言語情報が対応付けられており、
前記表示部は、前記文字列抽出部が抽出した前記登録文字列を表示するとともに、前記言語情報に基づいて、前記登録文字列の言語を表示することを特徴とするテープ印刷装置。
The tape printer according to claim 1,
The registered character string stored in the dictionary data is associated with language information representing the language of the registered character string,
The tape printing apparatus, wherein the display unit displays the registered character string extracted by the character string extraction unit and displays a language of the registered character string based on the language information.
請求項2に記載のテープ印刷装置であって、
言語を指定する言語指定部と、
前記文字列抽出部が抽出した前記登録文字列の中から、前記言語指定部で指定された言語の登録文字列を前記言語情報に基づいて抽出する言語抽出部と、
をさらに備え、
前記表示部は、前記言語抽出部によって抽出された前記登録文字列を表示することを特徴とするテープ印刷装置。
The tape printer according to claim 2, wherein
A language specification section for specifying a language;
A language extracting unit that extracts a registered character string of a language designated by the language designating unit from the registered character string extracted by the character string extracting unit based on the language information;
Further comprising
The tape printing apparatus, wherein the display unit displays the registered character string extracted by the language extraction unit.
請求項2に記載のテープ印刷装置であって、
言語を指定する言語指定部をさらに備え、
前記文字列抽出部は、前記辞書データから、前記言語指定部で指定された言語の登録文字列を前記言語情報に基づいて抽出することを特徴とするテープ印刷装置。
The tape printer according to claim 2, wherein
A language designating part for designating a language;
The tape printing apparatus, wherein the character string extraction unit extracts a registered character string of a language designated by the language designation unit from the dictionary data based on the language information.
外国語の文字列を含む複数の登録文字列とその読み仮名とをそれぞれ対応付けて格納した辞書データを記憶する記憶部と、
仮名文字列が入力される文字列入力部と、
前記辞書データに格納されている前記複数の登録文字列の中から、入力された前記仮名文字列を読み仮名とする少なくとも1つの登録文字列を抽出する文字列抽出部と、
前記文字列抽出部が抽出した前記登録文字列を表示する表示部と、
前記表示部に表示された前記登録文字列の中から1つを選択する選択部と、
前記文字列入力部に入力された前記仮名文字列を、前記選択部で選択された前記登録文字列に変換する文字列変換部と、
を備えたことを特徴とする文字列変換装置。
A storage unit for storing dictionary data in which a plurality of registered character strings including foreign language character strings and their readings are associated with each other;
A character string input part for inputting a kana character string;
A character string extraction unit that extracts at least one registered character string that reads the input kana character string as a kana from the plurality of registered character strings stored in the dictionary data;
A display unit for displaying the registered character string extracted by the character string extraction unit;
A selection unit for selecting one of the registered character strings displayed on the display unit;
A character string conversion unit that converts the kana character string input to the character string input unit into the registered character string selected by the selection unit;
A character string conversion device comprising:
仮名文字列を入力する文字列入力ステップと、
外国語の文字列を含む複数の登録文字列とその読み仮名とをそれぞれ対応付けて格納した辞書データから、入力された前記仮名文字列を読み仮名とする少なくとも1つの登録文字列を抽出する文字列抽出ステップと、
前記文字列抽出ステップで抽出した前記登録文字列を表示する表示ステップと、
前記表示ステップで表示された前記登録文字列の中から1つを選択する選択ステップと、
前記文字列入力ステップで入力された前記仮名文字列を、前記選択ステップで選択された前記登録文字列に変換する文字列変換ステップと、
を備えたことを特徴とする文字列変換方法。
A character string input step for inputting a kana character string;
Characters for extracting at least one registered character string using the input kana character string as a reading kana from dictionary data in which a plurality of registered character strings including a foreign language character string and their kana are stored in association with each other A column extraction step;
A display step for displaying the registered character string extracted in the character string extraction step;
A selection step of selecting one from the registered character strings displayed in the display step;
A character string conversion step of converting the kana character string input in the character string input step into the registered character string selected in the selection step;
A character string conversion method characterized by comprising:
JP2008177606A 2008-07-08 2008-07-08 Tape printer, character string conversion device, and character string conversion method Withdrawn JP2010020373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008177606A JP2010020373A (en) 2008-07-08 2008-07-08 Tape printer, character string conversion device, and character string conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008177606A JP2010020373A (en) 2008-07-08 2008-07-08 Tape printer, character string conversion device, and character string conversion method

Publications (1)

Publication Number Publication Date
JP2010020373A true JP2010020373A (en) 2010-01-28

Family

ID=41705230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008177606A Withdrawn JP2010020373A (en) 2008-07-08 2008-07-08 Tape printer, character string conversion device, and character string conversion method

Country Status (1)

Country Link
JP (1) JP2010020373A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101384139B1 (en) 2012-11-23 2014-04-10 박선정 Transformation method for chinese simplified character, study method using the same, recoding medium, storage medium and mobile communication device including storage medium
CN106313916A (en) * 2015-06-30 2017-01-11 兄弟工业株式会社 Printing apparatus, and print image display processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101384139B1 (en) 2012-11-23 2014-04-10 박선정 Transformation method for chinese simplified character, study method using the same, recoding medium, storage medium and mobile communication device including storage medium
WO2014081238A1 (en) * 2012-11-23 2014-05-30 Park Sun-Jung Conversion method for learning simplified chinese characters, learning method using same, recording medium, storage medium, and mobile communication terminal including said storage medium
CN106313916A (en) * 2015-06-30 2017-01-11 兄弟工业株式会社 Printing apparatus, and print image display processing method
JP2017013298A (en) * 2015-06-30 2017-01-19 ブラザー工業株式会社 Printer

Similar Documents

Publication Publication Date Title
JP5299011B2 (en) Tape printer, control method and program for tape printer
JP4630163B2 (en) Tape printer image editing apparatus, tape printer image editing method, program, and tape printer
US6104381A (en) Character input apparatus
EP2364856A2 (en) Tape printer, method for controlling tape printer, and program product
JP5360488B2 (en) Printing device, creation method for creating printed matter, and computer-readable storage medium
US8587821B2 (en) Tape printer, method for controlling tape printer, and computer program product
US20120139954A1 (en) Electronic device, display control method and storage medium for displaying a plurality of lines of character strings
JP5035677B2 (en) Document editing apparatus, document printing character conversion processing method, and document printing character conversion processing program
JP2010020373A (en) Tape printer, character string conversion device, and character string conversion method
US6593948B1 (en) Character information processor
JP2008162236A (en) Tape printing system
JPH0555911B2 (en)
JP2008135041A (en) Tape printer
JP2007034364A (en) Tape printing system, tape printer, and its control method
EP0930559B1 (en) Character entry method and device
JP5772045B2 (en) Tape printer, control method of tape printer, and program
JP4491220B2 (en) Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program
JP5186897B2 (en) Character processing device, character processing method for character processing device, and program
JP4603828B2 (en) Tape printer
JP2011011450A (en) Tape printer and method for controlling the same
JP2010221632A (en) Tape printer, control method of tape printer, and program
JPH07125373A (en) Printing device
TW200532566A (en) System, method, and program for generating barcode data
JP2007118505A (en) Image forming apparatus, image forming method, program, and printer
JP2018101344A (en) Character processor, character processing method, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20111004