JP2017202593A - Information processor, tape printer, edition method, and program - Google Patents

Information processor, tape printer, edition method, and program Download PDF

Info

Publication number
JP2017202593A
JP2017202593A JP2016094343A JP2016094343A JP2017202593A JP 2017202593 A JP2017202593 A JP 2017202593A JP 2016094343 A JP2016094343 A JP 2016094343A JP 2016094343 A JP2016094343 A JP 2016094343A JP 2017202593 A JP2017202593 A JP 2017202593A
Authority
JP
Japan
Prior art keywords
image
character string
frame
unit
candidates
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
JP2016094343A
Other languages
Japanese (ja)
Inventor
裕介 張替
Yusuke Harikae
裕介 張替
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 JP2016094343A priority Critical patent/JP2017202593A/en
Publication of JP2017202593A publication Critical patent/JP2017202593A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an information processor allowing a user to quickly search a desired surrounding frame, and a tape printer, an edition method and a program.SOLUTION: A tape printer 1 includes: an input unit 110 inputting a character string; a candidate display unit 140 displaying a candidate of a surrounding frame surrounding the character string according to the character string; a selection unit 150 selecting an arbitrary surrounding frame from the candidates of the surrounding frame; an edition processing unit 160 synthesizing the character string and the arbitrary surrounding frame; a printing data generation unit 170 generating printing data based on an edition processing result by the edition processing unit 160; and a printing unit 180 printing the printing data onto a tape.SELECTED DRAWING: Figure 3

Description

本発明は、入力された文字列に囲み枠を付加する情報処理装置、テープ印刷装置、編集方法、プログラムに関する。   The present invention relates to an information processing apparatus, a tape printing apparatus, an editing method, and a program for adding a frame to an input character string.

この種の技術として、例えば特許文献1が知られている。特許文献1には、ユーザーが文字や記号等の文書を入力する手段と、複数種類のフレームパターンを記憶する手段と、ユーザーが複数種類のフレーム(囲み枠)の中から所望のフレームを選択する手段と、入力された文書と選択されたフレームを合成したラベルを印刷する手段と、を有する印刷装置が開示されている。   For example, Patent Document 1 is known as this type of technology. In Patent Document 1, a user inputs a document such as a character or a symbol, a means for storing a plurality of types of frame patterns, and a user selects a desired frame from a plurality of types of frames (enclosed frames). There is disclosed a printing apparatus having means and means for printing a label obtained by combining an input document and a selected frame.

特開平6−328791号公報JP-A-6-328791

ところが、特許文献1の技術では、囲み枠の選択肢として多数のフレームパターンが記憶されている場合、ユーザーが所望の囲み枠を探し出すための選択作業に時間を要する。これを解決するべく、囲み枠をカテゴリー分類し、カテゴリー選択の後、所望の囲み枠を選択する技術も知られているが、所望の囲み枠がどのカテゴリーに属するのかの判断が難しい場合がある。また、どのような囲み枠が記憶されているかを把握していないユーザーの場合、記憶されている全ての囲み枠を一通り確認してから、所望の囲み枠を選択する必要があり、選択作業にさらに時間がかかってしまう。   However, in the technique of Patent Document 1, when a large number of frame patterns are stored as options for the frame, it takes time for the user to select a desired frame. In order to solve this problem, a technique is also known in which a box is classified into categories and a desired box is selected after selecting a category. However, it may be difficult to determine which category the box belongs to. . For users who do not know what box is stored, it is necessary to check all stored boxes and then select the desired box. Takes more time.

本発明は、上記の問題点に鑑み、ユーザーが所望の囲み枠を迅速に探し出すことが可能な情報処理装置、テープ印刷装置、編集方法、プログラムを提供することを目的とする。   An object of the present invention is to provide an information processing apparatus, a tape printing apparatus, an editing method, and a program that allow a user to quickly find a desired frame.

本発明の情報処理装置は、文字列を入力する入力部と、文字列に応じて、当該文字列を囲む囲み枠の候補を表示する候補表示部と、囲み枠の候補の中から任意の囲み枠を選択する選択部と、文字列と、任意の囲み枠と、を合成する編集処理部と、を備えることを特徴とする。   An information processing apparatus according to the present invention includes an input unit that inputs a character string, a candidate display unit that displays a candidate for a frame surrounding the character string according to the character string, and an arbitrary box among the candidates for the frame The image processing apparatus includes a selection unit that selects a frame, an edit processing unit that synthesizes a character string and an arbitrary frame.

本発明のテープ印刷装置は、文字列を入力する入力部と、文字列に応じて、当該文字列を囲む囲み枠の候補を表示する候補表示部と、囲み枠の候補の中から任意の囲み枠を選択する選択部と、文字列と、任意の囲み枠と、を合成する編集処理部と、編集処理部による編集処理結果に基づいて、印刷データを生成する印刷データ生成部と、印刷データをテープに印刷する印刷部と、を備えることを特徴とする。   The tape printer of the present invention includes an input unit for inputting a character string, a candidate display unit for displaying a candidate for a frame surrounding the character string according to the character string, and an arbitrary box among the candidates for the frame A selection unit that selects a frame, an edit processing unit that combines a character string and an arbitrary frame, a print data generation unit that generates print data based on an editing processing result by the editing processing unit, and print data And a printing unit that prints on a tape.

本発明の編集方法は、文字列を取得する文字列取得ステップと、文字列に応じて、当該文字列を囲む囲み枠の候補を表示する候補表示ステップと、囲み枠の候補の中から任意の囲み枠を選択した選択結果を取得する選択結果取得ステップと、文字列と、任意の囲み枠と、を合成する編集処理ステップと、を実行することを特徴とする。   The editing method of the present invention includes a character string acquisition step for acquiring a character string, a candidate display step for displaying a frame candidate surrounding the character string in accordance with the character string, and any of the frame candidates. A selection result acquisition step of acquiring a selection result of selecting an enclosing frame, and an editing process step of combining a character string and an arbitrary enclosing frame are executed.

一般的に、文字列に対して囲み枠を付加しようとする場合、文字列と関係のある囲み枠を選択することが多い。本発明の構成によれば、入力された文字列(取得した文字列)に応じて、当該文字列を囲む囲み枠の候補を表示するため、ユーザーは、表示された(推奨された)囲み枠の候補の中から所望の囲み枠を選択すれば良い。つまり、予め用意された多数の囲み枠の候補を全て確認することなく、迅速に所望の囲み枠を探し出すことができる。
なお、「文字列」とは、1以上の文字を指す。また、「文字」とは、数字、記号、絵文字等も含む概念である。
また、「囲み枠」は、必ずしも文字列の全体を囲むものでなくても良い。例えば、文字列の上下、左右、四隅の角部分を囲むものであっても良い。
また、選択する「任意の囲み枠」は、1の囲み枠であっても良いし、複数の囲み枠であっても良い。後者の場合、編集処理部(編集処理ステップ)では、入力された文字列と、複数の囲み枠のそれぞれとを合成すれば良い。
In general, when adding an enclosing frame to a character string, an enclosing frame related to the character string is often selected. According to the configuration of the present invention, in order to display a candidate for a surrounding frame that surrounds the character string in accordance with the input character string (acquired character string), the user can display (recommended) the surrounding frame. A desired frame may be selected from the candidates. That is, it is possible to quickly find a desired surrounding frame without confirming all of the numerous surrounding frame candidates prepared in advance.
The “character string” refers to one or more characters. The “character” is a concept including numbers, symbols, pictograms, and the like.
Further, the “enclosing frame” does not necessarily have to enclose the entire character string. For example, the character string may surround the corners of the top, bottom, left, right, and four corners.
The “arbitrary frame” to be selected may be one frame or a plurality of frame. In the latter case, the editing processing unit (editing processing step) may synthesize the input character string and each of the plurality of surrounding frames.

上記の情報処理装置において、候補表示部は、文字列に含まれる1以上の単語と、当該1以上の単語のうち少なくとも1つの単語の文字種と、に応じて、囲み枠の候補を表示することを特徴とする。   In the above information processing apparatus, the candidate display unit displays a frame candidate according to one or more words included in the character string and a character type of at least one word of the one or more words. It is characterized by.

本発明の構成によれば、文字列に含まれる各単語の文字種を考慮して、より適切な囲み枠の候補をユーザーに推奨することができる。   According to the configuration of the present invention, it is possible to recommend a more suitable box candidate to the user in consideration of the character type of each word included in the character string.

上記の情報処理装置において、文字種は、文字の書体、表記言語、文字体系、文字サイズのうち1以上の情報により区別されることを特徴とする。   In the information processing apparatus, the character type is distinguished by one or more pieces of information among a character typeface, a notation language, a character system, and a character size.

本発明の構成によれば、文字の書体、表記言語、文字体系、文字サイズのうち1以上の情報を考慮して、囲み枠の候補をユーザーに推奨することができる。
なお、「文字体系」は、仮名、片仮名、漢字、アルファベットなどに区別される。
According to the configuration of the present invention, it is possible to recommend a frame candidate to the user in consideration of one or more pieces of information of a character typeface, a notation language, a character system, and a character size.
The “character system” is classified into kana, katakana, kanji, alphabet, and the like.

上記の情報処理装置において、候補表示部は、囲み枠の候補を複数表示する場合、文字列に含まれる1以上の単語のうち少なくとも1つの単語の文字種に応じて表示順序を変更することを特徴とする。   In the information processing apparatus, the candidate display unit changes the display order according to the character type of at least one word among one or more words included in the character string when displaying a plurality of enclosing frame candidates. And

本発明の構成によれば、文字列に含まれる各単語の文字種を考慮して、推奨度の高い順に複数の囲み枠の候補を表示することができる。これにより、ユーザーは、推奨度を参考にして、所望の囲み枠を選択することができる。   According to the configuration of the present invention, it is possible to display a plurality of surrounding frame candidates in descending order of recommendation in consideration of the character type of each word included in the character string. Thereby, the user can select a desired frame with reference to the recommendation degree.

上記の情報処理装置において、囲み枠は、複数の画像要素の組み合わせから成り、候補表示部は、囲み枠の候補として、画像要素別の画像候補を表示し、選択部は、任意の囲み枠として、画像要素別の画像を選択することを特徴とする。   In the above information processing apparatus, the surrounding frame is composed of a combination of a plurality of image elements, the candidate display unit displays image candidates for each image element as candidates for the surrounding frame, and the selection unit is configured as an arbitrary surrounding frame. And selecting an image for each image element.

本発明の構成によれば、ユーザーにより選択された画像要素別の画像を組み合わせることによって、ユーザーの好みに合った囲み枠を提供することができる。   According to the configuration of the present invention, it is possible to provide an enclosing frame that suits the user's preference by combining images for each image element selected by the user.

上記の情報処理装置において、文字列を印刷する印刷媒体の種類を取得する取得部を備え、候補表示部は、文字列と、印刷媒体の種類と、に応じて、囲み枠の候補を表示することを特徴とする。   The information processing apparatus includes an acquisition unit that acquires a type of a print medium on which a character string is printed, and the candidate display unit displays a surrounding frame candidate according to the character string and the type of the print medium. It is characterized by that.

本発明の構成によれば、印刷媒体の種類を考慮して、より適切な囲み枠の候補をユーザーに推奨することができる。   According to the configuration of the present invention, it is possible to recommend a more appropriate frame candidate to the user in consideration of the type of print medium.

上記の情報処理装置において、印刷媒体の種類は、印刷媒体の媒体色および印刷媒体への印刷色の少なくとも一方の情報により区別されることを特徴とする。   In the above information processing apparatus, the type of the print medium is distinguished by at least one information of a medium color of the print medium and a print color on the print medium.

本発明の構成によれば、印刷媒体の媒体色および印刷媒体への印刷色の少なくとも一方の情報を考慮して、囲み枠の候補をユーザーに推奨することができる。   According to the configuration of the present invention, it is possible to recommend a frame candidate to the user in consideration of information on at least one of the medium color of the print medium and the print color on the print medium.

本発明のプログラムは、コンピューターを上記の情報処理装置における各部、若しくは上記のテープ印刷装置における各部として機能させることを特徴とする。   A program according to the present invention causes a computer to function as each unit in the information processing apparatus or each unit in the tape printing apparatus.

このプログラムを実行することにより、ユーザーが所望の囲み枠を迅速に探し出すことが可能な情報処理装置またはテープ印刷装置を実現できる。   By executing this program, it is possible to realize an information processing apparatus or a tape printing apparatus that allows a user to quickly find a desired frame.

テープ印刷装置の外観斜視図である。It is an external appearance perspective view of a tape printer. テープ印刷装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of a tape printer. 第1実施形態に係るテープ印刷装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the tape printer which concerns on 1st Embodiment. 『さくら』の文字体系係数と、『さくら』に関連付けられた画像を示す図である。It is a figure which shows the character system coefficient of "Sakura" and the image linked | related with "Sakura". 『はなみ』の文字体系係数と、『はなみ』に関連付けられた画像を示す図である。It is a figure which shows the character system coefficient of "Hanami", and the image linked | related with "Hanami". ラベルの作成例を示す図である。It is a figure which shows the example of creation of a label. 合計係数の算出例を示す図である。It is a figure which shows the example of calculation of a total coefficient. 画像候補の表示優先度の一例を示す図である。It is a figure which shows an example of the display priority of an image candidate. テープ印刷装置の編集方法および印刷方法を示すフローチャートである。It is a flowchart which shows the edit method and printing method of a tape printer. 図9に続くフローチャートである。It is a flowchart following FIG. 第2実施形態に係る印刷システムの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the printing system which concerns on 2nd Embodiment.

[第1実施形態]
以下、添付の図面を参照して、本発明の情報処理装置、テープ印刷装置、編集方法、プログラムについて説明する。本実施形態では、本発明の情報処理装置を、テープ印刷装置1に適用した場合を例示する。
[First embodiment]
Hereinafter, an information processing apparatus, a tape printing apparatus, an editing method, and a program according to the present invention will be described with reference to the accompanying drawings. In this embodiment, the case where the information processing apparatus of the present invention is applied to the tape printer 1 is illustrated.

図1は、テープ印刷装置1の外観斜視図である。同図に示すようにテープ印刷装置1は、装置ケース2により外郭が形成され、装置ケース2の前部上面には各種入力キー・ボタンを備えたキーボード3が配置される。また、テープ印刷装置1の後部上面には、その左部に開閉蓋21が取り付けられ、その右部には表示画面41が配設されている。開閉蓋21の内側にはテープカートリッジCを装着するためのカートリッジ装着部6が窪入形成されており、テープカートリッジCは、開閉蓋21を開放した状態でカートリッジ装着部6に装着される。   FIG. 1 is an external perspective view of the tape printer 1. As shown in the figure, the tape printer 1 has an outer case formed by a device case 2, and a keyboard 3 having various input keys and buttons is arranged on the upper surface of the front portion of the device case 2. In addition, an opening / closing lid 21 is attached to the left part of the upper surface of the rear part of the tape printer 1, and a display screen 41 is provided on the right part thereof. A cartridge mounting portion 6 for mounting the tape cartridge C is recessed inside the opening / closing lid 21, and the tape cartridge C is mounted to the cartridge mounting portion 6 with the opening / closing lid 21 opened.

装置ケース2の左側部には、カートリッジ装着部6と外部とを連通するテープ排出口22が形成され、このテープ排出口22には、不図示のテープ搬送機構により送り出した印刷テープT(テープ)を切断するためのテープカッター23が臨んでいる。そして、テープ排出口22から印刷済みの印刷テープTが所定長さだけ送り出され、送りを一旦停止させた状態でテープカッター23により切断されて、短冊状のラベルL(図6参照)が作成される。   A tape discharge port 22 is formed on the left side of the apparatus case 2 to communicate the cartridge mounting portion 6 with the outside. The tape discharge port 22 has a print tape T (tape) fed by a tape transport mechanism (not shown). The tape cutter 23 for cutting is facing. Then, the printed printing tape T is fed out from the tape outlet 22 by a predetermined length, and is cut by the tape cutter 23 in a state where the feeding is temporarily stopped, and a strip-shaped label L (see FIG. 6) is created. The

一方、カートリッジ装着部6には、ヘッドカバー61a内にサーマルタイプの印刷ヘッド7が内蔵されたヘッドユニット61と、印刷ヘッド7に対峙するプラテン駆動軸62と、後述のインクリボンRを巻き取る巻き取り駆動軸63と、後述のテープリール17の位置決め突起64と、を備えている。また、カートリッジ装着部6の下側には、テープ搬送機構となるプラテン駆動軸62および巻き取り駆動軸63を回転させるテープ送りモーター26(図2参照)が内蔵されている。   On the other hand, the cartridge mounting portion 6 has a head unit 61 in which a thermal type print head 7 is built in a head cover 61a, a platen drive shaft 62 facing the print head 7, and a winding for winding an ink ribbon R described later. A drive shaft 63 and a positioning projection 64 of the tape reel 17 described later are provided. In addition, a tape feed motor 26 (see FIG. 2) for rotating the platen drive shaft 62 and the take-up drive shaft 63 serving as a tape transport mechanism is incorporated below the cartridge mounting portion 6.

テープカートリッジCは、カートリッジケース51内部の上部中央部に、一定の幅の印刷テープTを巻回したテープリール17と、右下部にインクリボンRを巻回したリボンリール19とを収容して構成されている。また、テープリール17の左下部には、上記ヘッドユニット61を覆うヘッドカバー61aが差し込まれるための貫通孔55が形成されている。また、リボンリール19に近接してリボン巻き取りリール54が配置され、リボンリール19から繰り出されたインクリボンRは、ヘッドカバー61aを周回するように、リボン巻き取りリール54に巻き取られる。   The tape cartridge C includes a tape reel 17 around which a printing tape T having a certain width is wound and a ribbon reel 19 around which an ink ribbon R is wound at the lower right portion in an upper center portion inside the cartridge case 51. Has been. A through hole 55 for inserting a head cover 61a covering the head unit 61 is formed in the lower left portion of the tape reel 17. Further, a ribbon take-up reel 54 is disposed in the vicinity of the ribbon reel 19, and the ink ribbon R fed out from the ribbon reel 19 is taken up by the ribbon take-up reel 54 so as to go around the head cover 61a.

一方、印刷テープTは、裏面に粘着剤層が形成された記録テープと、剥離テープとから成り、記録テープを外側にしてロール状に巻回され、カートリッジケース51内に収容されている。また、印刷テープTは、テープ種別が異なる複数種のものが用意されており、各カートリッジケース51には、このうち1種類の印刷テープTが収容されている。   On the other hand, the printing tape T includes a recording tape having a pressure-sensitive adhesive layer formed on the back surface and a release tape, and is wound in a roll shape with the recording tape facing outside and is accommodated in the cartridge case 51. In addition, a plurality of types of printing tape T having different tape types are prepared, and one type of printing tape T is accommodated in each cartridge case 51.

次に、図2を参照し、テープ印刷装置1のハードウェア構成について説明する。テープ印刷装置1は、ハードウェア構成として、キーボード3、表示画面41、テープ識別センサー27、メモリー70、印刷機構71および制御機構72を備える。   Next, the hardware configuration of the tape printer 1 will be described with reference to FIG. The tape printer 1 includes a keyboard 3, a display screen 41, a tape identification sensor 27, a memory 70, a printing mechanism 71, and a control mechanism 72 as hardware configurations.

キーボード3は、文字(数字、記号、絵文字等を含む)の入力および編集、画像の挿入および編集、各種設定等を行うために用いられる。特に本実施形態では、入力された文字列を囲む囲み枠の指定、囲み枠の画像(以下、「囲み枠画像80」と称する)を構成する画像要素別の画像(前画像81および後画像82,図6参照)の選択等に用いられる。   The keyboard 3 is used for inputting and editing characters (including numbers, symbols, pictograms, etc.), inserting and editing images, and various settings. In particular, in the present embodiment, specification of a surrounding frame surrounding the input character string, and images for each image element constituting the surrounding frame image (hereinafter referred to as “enclosing frame image 80”) (the front image 81 and the rear image 82). , See FIG. 6).

表示画面41は、各種情報を表示する。特に本実施形態では、文字列を入力する入力画面、画像要素別の画像候補を示す候補画面、入力された文字列と選択された画像を合成した合成結果を示すプレビュー画面、等を表示する(いずれも図示省略)。   The display screen 41 displays various information. In particular, in the present embodiment, an input screen for inputting a character string, a candidate screen indicating image candidates for each image element, a preview screen indicating a combined result of combining the input character string and the selected image, and the like are displayed ( (All are not shown).

テープ識別センサー27は、印刷テープTのテープ幅、テープ色、テープ材質、およびインクリボンRのインク色など、テープカートリッジCの情報を検出する。検出方法としては、テープカートリッジCに貼付または印刷された画像(バーコードや2次元コードなど)やRFID(Radio Frequency Identification)を読み取る方法、テープカートリッジCに形成された1以上の穴の有無を検出する方法、などが考えられる。   The tape identification sensor 27 detects information of the tape cartridge C, such as the tape width of the printing tape T, the tape color, the tape material, and the ink color of the ink ribbon R. As a detection method, a method of reading an image (bar code, two-dimensional code, etc.) or RFID (Radio Frequency Identification) affixed or printed on the tape cartridge C, or the presence or absence of one or more holes formed in the tape cartridge C is detected. The method of doing, etc. can be considered.

メモリー70は、不揮発性の記憶領域であり、テープ印刷装置1のファームウェアや各種設定情報を記憶する。特に本実施形態では、各単語の文字体系係数と各単語に関連付けられた画像が記録された単語テーブルや、囲み枠画像80を形成するための画像データなどを記憶する。   The memory 70 is a non-volatile storage area, and stores firmware and various setting information of the tape printer 1. In particular, in this embodiment, a word table in which a character system coefficient of each word and an image associated with each word are recorded, image data for forming a frame image 80, and the like are stored.

印刷機構71は、印刷ヘッド7、テープ送りモーター26、カッターモーター25およびテープカッター23を含む。印刷ヘッド7は、繰り出された印刷テープTの記録テープに印刷を行う。テープ送りモーター26は、繰り出された印刷テープTをテープ排出口22(図1参照)に向けて搬送する。カッターモーター25は、テープカッター23を駆動し、印刷テープTの印刷済み部分を切断する。   The printing mechanism 71 includes the print head 7, the tape feed motor 26, the cutter motor 25, and the tape cutter 23. The print head 7 performs printing on the recording tape of the fed print tape T. The tape feed motor 26 transports the fed printing tape T toward the tape discharge port 22 (see FIG. 1). The cutter motor 25 drives the tape cutter 23 and cuts the printed portion of the printing tape T.

制御機構72は、CPU(Central Processing Unit)およびRAM(Random Access Memory)等によって構成され、上記の各部と連携し、編集処理や印刷制御を行う。特に本実施形態では、文字列が入力された状態で囲み枠が指定された場合、入力された文字列に関連する画像の候補(囲み枠を構成する画像要素別の画像候補)をユーザーに推奨する。詳細については、後述する。   The control mechanism 72 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like, and performs editing processing and print control in cooperation with the above-described units. In particular, in this embodiment, when a frame is specified in a state where a character string is input, image candidates related to the input character string (image candidates for each image element constituting the frame) are recommended to the user. To do. Details will be described later.

次に、図3を参照し、テープ印刷装置1の機能構成について説明する。テープ印刷装置1は、機能構成として、入力部110、辞書記憶部120、画像データ記憶部130、候補表示部140、選択部150、編集処理部160、印刷データ生成部170および印刷部180を備える。   Next, the functional configuration of the tape printer 1 will be described with reference to FIG. The tape printer 1 includes an input unit 110, a dictionary storage unit 120, an image data storage unit 130, a candidate display unit 140, a selection unit 150, an editing processing unit 160, a print data generation unit 170, and a printing unit 180 as functional configurations. .

入力部110は、キーボード3を用いて文字列を入力する。ここで、「文字列」とは、1以上の文字の集合体を指す。辞書記憶部120は、平仮名、片仮名、漢字の変換を行う日本語変換プログラムを記憶する。また、辞書記憶部120は、各単語(各読み方)の文字体系係数および各単語に関連付けられた画像を示す単語テーブルを記憶する。図4,図5は、当該単語テーブルの一例を示したものである。図4は、読み方『さくら』の文字体系係数と、読み方『さくら』に関連付けられた画像を示す図である。また、図5は、読み方『はなみ』の文字体系係数と、読み方『はなみ』に関連付けられた画像を示す図である。   The input unit 110 inputs a character string using the keyboard 3. Here, the “character string” refers to a collection of one or more characters. The dictionary storage unit 120 stores a Japanese conversion program for converting hiragana, katakana, and kanji. In addition, the dictionary storage unit 120 stores a word table indicating a character system coefficient of each word (each reading) and an image associated with each word. 4 and 5 show an example of the word table. FIG. 4 is a diagram illustrating a character system coefficient of the reading “Sakura” and an image associated with the reading “Sakura”. FIG. 5 is a diagram showing a character system coefficient of the reading “Hanami” and an image associated with the reading “Hanami”.

本実施形態において、文字体系は、平仮名、片仮名、漢字に区別する。図4に示すように、読み方『さくら』の場合、平仮名、片仮名、漢字の文字体系係数は、それぞれ「5、3、1」である。つまり、入力部110により「さくら」と入力された場合(囲み枠により囲まれる文字列が「さくら」の場合)、その単語の係数は「5」となる。同様に、「サクラ」と入力された場合、その単語の係数は「3」となり、「桜」と入力された場合、その単語の係数は「1」となる。また、読み方『さくら』には、同図に示す5種類の画像が関連付けられている。また、これらの画像には、画像順位が定められている。当該画像順位は、画像候補の表示優先度を決定するために利用される。表示優先度については、後述する。なお、単語だけでなく、記号(「!」や「?」など)についても、上述のような単語テーブルを記憶する構成でも良い。   In this embodiment, the character system is classified into hiragana, katakana, and kanji. As shown in FIG. 4, in the case of reading “Sakura”, the character system coefficients of Hiragana, Katakana, and Kanji are “5, 3, 1”, respectively. That is, when “Sakura” is input by the input unit 110 (when the character string surrounded by the enclosing frame is “Sakura”), the coefficient of the word is “5”. Similarly, when “Sakura” is input, the coefficient of the word is “3”, and when “Sakura” is input, the coefficient of the word is “1”. In addition, five types of images shown in the figure are associated with the reading “Sakura”. In addition, an image order is determined for these images. The image order is used to determine display priority of image candidates. The display priority will be described later. Note that not only words but also symbols (“!”, “?”, Etc.) may be configured to store the word table as described above.

画像データ記憶部130は、囲み枠の構成要素となる各画像の画像データ(イメージファイル)を記憶する。例えば、図6の前画像81は、「桜の花」の画像を示し、後画像82は「団子」の画像を示すが、画像データ記憶部130は、これらの画像を印刷および表示するための画像データを記憶する。なお、囲み枠画像80は、複数の画像要素(前画像81と、後画像82と、中間画像83)により構成される。また、中間画像83は、上中間画像83aおよび下中間画像83bから成る。当該中間画像83の画像データも、画像データ記憶部130に記憶されている。また、同図において、符号85は、入力部110により入力された文字列を示す画像(以下、「文字列画像85」と称する)を指す。   The image data storage unit 130 stores image data (image file) of each image that is a component of the surrounding frame. For example, the front image 81 of FIG. 6 shows an image of “Sakura no Hana” and the rear image 82 shows an image of “Dango”, but the image data storage unit 130 is an image for printing and displaying these images. Store the data. The frame image 80 is composed of a plurality of image elements (a front image 81, a rear image 82, and an intermediate image 83). The intermediate image 83 includes an upper intermediate image 83a and a lower intermediate image 83b. The image data of the intermediate image 83 is also stored in the image data storage unit 130. Also, in the figure, reference numeral 85 denotes an image indicating a character string input by the input unit 110 (hereinafter referred to as “character string image 85”).

なお、図6では、前画像用の画像(「桜の花」)と、後画像用の画像(「団子」)を示しているが、画像データ記憶部130には、全ての画像について、前画像用の画像データと後画像用の画像データを記憶している。例えば、画像「桜の花」の場合、桜の花を示す絵柄の上、下、右側をそれぞれ直線で囲ったものが、後画像用の画像データとなる(図示省略)。   FIG. 6 shows an image for the previous image (“Sakura no Hana”) and an image for the subsequent image (“Dango”), but the image data storage unit 130 stores the previous image for all the images. The image data for use and the image data for the subsequent image are stored. For example, in the case of the image “cherry blossoms”, the image data representing the cherry blossoms is obtained by enclosing the upper, lower, and right sides with a straight line as image data for the subsequent image (not shown).

図3の説明に戻る。候補表示部140は、入力部110により入力された文字列に応じて、当該文字列を囲む囲み枠の画像候補を表示する。具体的には、入力された文字列に含まれる1以上の単語と、当該1以上の単語のうち少なくとも1つの単語の文字体系(文字種)と、に応じて、画像要素別の画像候補を表示する。つまり、前画像用の画像候補と、後画像用の画像候補を表示する。また、本実施形態では、画像要素別にそれぞれ複数の画像候補を表示する。さらに、文字列に含まれる各単語の文字体系に応じて(正確には、文字体系に関連付けられた係数に応じて)、複数の画像候補の表示順序を決定する。   Returning to the description of FIG. The candidate display unit 140 displays image candidates for a surrounding frame surrounding the character string in accordance with the character string input by the input unit 110. Specifically, image candidates for each image element are displayed according to one or more words included in the input character string and a character system (character type) of at least one word among the one or more words. To do. That is, the image candidate for the previous image and the image candidate for the subsequent image are displayed. In the present embodiment, a plurality of image candidates are displayed for each image element. Further, the display order of the plurality of image candidates is determined according to the character system of each word included in the character string (more precisely, according to the coefficient associated with the character system).

ここで、複数の画像候補の決定方法、およびその表示優先度の決定方法について、具体例を挙げて説明する。例えば、図7に示すように、文字列として「さくらがサイタ、花見だ」が入力された場合を想定する。この文字列を、ユーザーの入力操作(確定操作および変換操作など)に基づいて、1以上の部分文字列(例えば、文節単位)に分割する。同図では、変換単位1〜3の3つの部分文字列に分割している。さらに、各部分文字列を各単語に分割する。例えば図7の例では、変換単位1の部分文字列「さくらが」が、2つの単語「さくら」と「が」に分割され、それぞれの係数が「5,1」であることを示している。ここで、単語「さくら」については、文字体系が平仮名であるため係数が「5」となっている(図4参照)。これらの係数を合計することにより、部分文字列「さくらが」の合計係数「6」を算出する。同様に、変換単位2の部分文字列「サイタ、」、変換単位3の部分文字列「花見だ」についても合計係数「1」、「2」を算出する。   Here, a method for determining a plurality of image candidates and a method for determining the display priority thereof will be described with specific examples. For example, as shown in FIG. 7, a case is assumed where “Sakura is a sight, cherry blossom viewing” is input as a character string. This character string is divided into one or more partial character strings (for example, in phrase units) based on a user input operation (such as a confirmation operation and a conversion operation). In the figure, it is divided into three partial character strings of conversion units 1 to 3. Furthermore, each partial character string is divided into words. For example, in the example of FIG. 7, the partial character string “Sakura” of the conversion unit 1 is divided into two words “Sakura” and “Ga”, and each coefficient is “5, 1”. . Here, the word “Sakura” has a coefficient of “5” because the character system is hiragana (see FIG. 4). By summing up these coefficients, the sum coefficient “6” of the partial character string “Sakura” is calculated. Similarly, the total coefficients “1” and “2” are also calculated for the partial character string “Cita,” in conversion unit 2 and the partial character string “Hanamida” in conversion unit 3.

次に、これらの部分文字列に含まれる単語が、辞書記憶部120内の単語テーブルに記憶されているか否かを判定する。上記のとおり、単語「さくら」と単語「花見」は、単語テーブルに記憶されているため、これらの単語に関連付けられた画像を画像候補として決定する。また、画像候補の表示優先度は、各部分文字列の合計係数に基づいて決定する。例えば、変換単位1の部分文字列「さくらが」の合計係数は「6」であるため、変換単位1の最優先画像候補(1−1)は、画像順位1の画像「桜の花」となる(図4,図8参照)。因みに、合計係数が「1」であった場合は画像順位5の画像、合計係数が「2」であった場合は画像順位4の画像が最優先画像候補となる。また、合計係数が「3」であった場合は画像順位3の画像、合計係数が「4」であった場合は画像順位2の画像、合計係数が「5」以上であった場合は画像順位1の画像が最優先画像候補となる。また、最優先画像候補以下の表示候補は、画像順位に従う。つまり、変換単位1の部分文字列「さくらが」に基づく画像候補の表示優先度(1−1〜1−5)は、図4に示す画像順位1,2,3,4,5となる。なお、特に図示しないが、変換単位1の文字列が「桜が」と表記された場合、合計係数が「2」となるため、最優先画像候補は画像順位4の画像「団子」であり、表示優先度は、画像順位4,5,1,2,3となる。   Next, it is determined whether or not the words included in these partial character strings are stored in the word table in the dictionary storage unit 120. As described above, since the word “Sakura” and the word “Hanami” are stored in the word table, images associated with these words are determined as image candidates. Further, the display priority of the image candidates is determined based on the total coefficient of each partial character string. For example, since the sum coefficient of the partial character string “Sakura” in the conversion unit 1 is “6”, the highest priority image candidate (1-1) in the conversion unit 1 is the image “Sakura no Hana” in the image ranking 1. (See FIGS. 4 and 8). Incidentally, when the total coefficient is “1”, the image with the image rank 5 is the highest priority image candidate, and when the total coefficient is “2”, the image with the image rank 4 is the highest priority image candidate. In addition, when the total coefficient is “3”, the image rank 3 image, when the total coefficient is “4”, the image rank 2 image, and when the total coefficient is “5” or more, the image rank One image is the highest priority image candidate. In addition, display candidates below the highest priority image candidate follow the image ranking. That is, the display priorities (1-1 to 1-5) of the image candidates based on the partial character string “Sakura” of the conversion unit 1 are the image ranks 1, 2, 3, 4, and 5 shown in FIG. Although not shown in particular, when the character string of the conversion unit 1 is written as “Sakuraga”, the total coefficient is “2”, so the highest priority image candidate is the image “Dango” of the image ranking 4; The display priority is image ranking 4, 5, 1, 2, 3.

一方、図8に示すように、変換単位2の部分文字列「サイタ、」については、単語テーブルに登録がないため、画像候補は存在しない(2−1参照)。また、変換単位3の部分文字列「花見だ」については、単語「花見」が単語テーブルに登録されており、合計係数が「2」であるため、画像候補の表示優先度(3−1〜3−5)は、図5に示す画像順位4,5,1,2,3となる。   On the other hand, as shown in FIG. 8, there is no image candidate for the partial character string “citer” of the conversion unit 2 because it is not registered in the word table (see 2-1). For the partial character string “Hanamida” of the conversion unit 3, the word “Hanami” is registered in the word table and the total coefficient is “2”. 3-5) is the image ranking 4, 5, 1, 2, 3 shown in FIG.

このように、各部分文字列について、画像候補の表示優先度を決定した後、画像要素別に画像候補の表示優先度を決定する。図7,図8の例では、3つの部分文字列に分割しているため、これらのうち前半の変換単位1,2に基づいて、前画像要素の画像候補を決定する。本例では、変換単位2について画像候補が存在しないため、変換単位1の画像候補を、前画像要素の画像候補として決定する。同様に、3つの部分文字列のうち後半の変換単位2,3に基づいて、後画像要素の画像候補を決定する。本例では、変換単位2について画像候補が存在しないため、変換単位3の画像候補を、後画像要素の画像候補として決定する。   Thus, after determining the display priority of the image candidate for each partial character string, the display priority of the image candidate is determined for each image element. In the example of FIGS. 7 and 8, since it is divided into three partial character strings, the image candidate of the previous image element is determined based on the conversion units 1 and 2 in the first half. In this example, since there is no image candidate for the conversion unit 2, the image candidate for the conversion unit 1 is determined as the image candidate of the previous image element. Similarly, the image candidate of the subsequent image element is determined based on the conversion units 2 and 3 in the latter half of the three partial character strings. In this example, since there is no image candidate for the conversion unit 2, the image candidate for the conversion unit 3 is determined as the image candidate for the subsequent image element.

なお、変換単位2について画像候補が存在する場合は、合計係数に基づいて画像候補を決定する。本例では、変換単位1の合計係数が変換単位2の合計係数よりも大きいため、変換単位1の画像候補を、前画像要素の画像候補として決定する。同様に、変換単位3の合計係数が変換単位2の合計係数よりも大きいため、変換単位3の画像候補を、後画像要素の画像候補として決定する。また、変換単位1と変換単位2の合計係数が同じ場合は、変換単位1と変換単位2の両画像候補を、前画像要素の画像候補として決定する。同様に、変換単位2と変換単位3の合計係数が同じ場合は、変換単位2と変換単位3の両画像候補を、後画像要素の画像候補として決定する。若しくは、例えば変換単位1と変換単位2の合計係数が同じ場合、文字列の前に位置する変換単位(この場合、変換単位1)の画像候補を、前画像要素の画像候補として決定しても良い。さらに、変換単位1と変換単位2の合計係数が同じ場合、前にある変換単位(この場合、変換単位1)の画像候補の表示優先度を変更しても良い(例えば、最優先画像候補を、画像順位が2位の「桜の木」に変更するなど)。   In addition, when an image candidate exists for the conversion unit 2, the image candidate is determined based on the total coefficient. In this example, since the total coefficient of the conversion unit 1 is larger than the total coefficient of the conversion unit 2, the image candidate of the conversion unit 1 is determined as the image candidate of the previous image element. Similarly, since the total coefficient of the conversion unit 3 is larger than the total coefficient of the conversion unit 2, the image candidate of the conversion unit 3 is determined as the image candidate of the subsequent image element. If the total coefficients of conversion unit 1 and conversion unit 2 are the same, both image candidates of conversion unit 1 and conversion unit 2 are determined as image candidates of the previous image element. Similarly, when the total coefficients of the conversion unit 2 and the conversion unit 3 are the same, both image candidates of the conversion unit 2 and the conversion unit 3 are determined as image candidates of the subsequent image elements. Alternatively, for example, when the total coefficients of the conversion unit 1 and the conversion unit 2 are the same, the image candidate of the conversion unit (in this case, the conversion unit 1) positioned in front of the character string may be determined as the image candidate of the previous image element. good. Further, when the total coefficients of the conversion unit 1 and the conversion unit 2 are the same, the display priority of the image candidate of the previous conversion unit (in this case, the conversion unit 1) may be changed (for example, the highest priority image candidate is changed). , And change the image ranking to “Sakura no Ki” with 2nd place).

また、文字列を構成する部分文字列の数が偶数の場合は、半数ずつに分けたグループ内で前画像要素と後画像要素の画像候補を決定する。この場合、例えばグループ内で合計係数が最も多い変換単位の画像候補を、各画像要素の画像候補として決定しても良い。若しくは、グループに含まれる全ての変換単位の全ての画像候補を、各画像要素の画像候補として決定しても良い。また、部分文字列が2つの場合は、変換単位1に基づいて前画像要素の画像候補を表示し、変換単位2に基づいて後画像要素の画像候補を表示すれば良い。また、部分文字列が1つの場合は、前画像要素と後画像要素で同じ画像候補を表示しても良い。若しくは、前画像要素または後画像要素の画像候補のみを表示し、後述する選択部150で選択されたいずれかの画像要素の画像に基づいて他方の画像要素の画像を自動的に決定する方法でも良い。さらに、全ての変換単位について、画像候補が存在しない場合は、その旨のメッセージを表示し、ユーザーに対し前画像81および後画像82の手動選択を促す。   When the number of partial character strings constituting the character string is an even number, image candidates for the previous image element and the subsequent image element are determined within a group divided into half. In this case, for example, an image candidate of a conversion unit having the largest total coefficient in the group may be determined as an image candidate of each image element. Alternatively, all image candidates of all conversion units included in the group may be determined as image candidates for each image element. When there are two partial character strings, the image candidates of the previous image element may be displayed based on the conversion unit 1, and the image candidates of the subsequent image element may be displayed based on the conversion unit 2. When there is one partial character string, the same image candidate may be displayed for the previous image element and the subsequent image element. Alternatively, a method of displaying only the image candidates of the previous image element or the subsequent image element and automatically determining the image of the other image element based on the image of one of the image elements selected by the selection unit 150 described later. good. Further, when there are no image candidates for all the conversion units, a message to that effect is displayed and the user is prompted to manually select the front image 81 and the rear image 82.

なお、候補表示部140による画像候補の表示方法としては、各画像要素の画像候補として、複数の画像候補を同時表示またはスクロール表示しても良い。若しくは、最初に最優先画像候補のみを表示し、キー操作にしたがって2番目以降の画像候補を順次切り替え表示していく方法でも良い。   As a method for displaying image candidates by the candidate display unit 140, a plurality of image candidates may be displayed simultaneously or scrolled as image candidates for each image element. Alternatively, only the top priority image candidate may be displayed first, and the second and subsequent image candidates may be sequentially switched and displayed according to key operations.

図3の説明に戻る。選択部150は、キーボード3を用いて、候補表示部140により表示された画像要素別の複数の画像候補の中から任意の画像を選択する。つまり、前画像用の画像と後画像用の画像を選択する。本実施形態では、画像要素別に1つずつ画像を選択する。   Returning to the description of FIG. The selection unit 150 uses the keyboard 3 to select an arbitrary image from among a plurality of image candidates for each image element displayed by the candidate display unit 140. That is, an image for the previous image and an image for the subsequent image are selected. In the present embodiment, one image is selected for each image element.

編集処理部160は、入力部110により入力された文字列と、選択部150により選択された前画像81および後画像82と、予め用意された中間画像83と、を合成する。なお、中間画像83は、選択された前画像81および/または後画像82に応じて、複数種類の中からいずれかを選択的に用いても良い。   The edit processing unit 160 combines the character string input by the input unit 110, the front image 81 and the rear image 82 selected by the selection unit 150, and the intermediate image 83 prepared in advance. The intermediate image 83 may be selectively used from among a plurality of types according to the selected front image 81 and / or rear image 82.

印刷データ生成部170は、編集処理部160による編集処理結果(つまり、入力された文字列と画像要素別に選択された画像との合成結果)に基づいて、印刷データを生成する。印刷部180は、印刷データ生成部170により生成された印刷データを印刷テープTに印刷する。図6は、印刷部180による印刷結果の一例(ラベルLの作成例)を示す図である。同図では、前画像81として、「桜の花」の画像(図8の1−1参照)が選択され、後画像82として、「団子」の画像(図8の3−4参照)が選択された場合のラベル作成例を示している。このように、本実施形態では、ユーザーが入力した文字列に適した画像を組み合わせて囲み枠画像80を生成し、文字列画像85と組み合わせて所望のラベルLを作成することが可能である。   The print data generation unit 170 generates print data based on the editing processing result by the editing processing unit 160 (that is, the combination result of the input character string and the image selected for each image element). The printing unit 180 prints the print data generated by the print data generation unit 170 on the print tape T. FIG. 6 is a diagram illustrating an example of a printing result by the printing unit 180 (an example of creating a label L). In the figure, the image of “Sakura no Hana” (see 1-1 in FIG. 8) is selected as the front image 81, and the image of “Dango” (see 3-4 in FIG. 8) is selected as the rear image 82. An example of creating a label is shown. As described above, in this embodiment, it is possible to generate an enclosing frame image 80 by combining images suitable for a character string input by the user, and to create a desired label L in combination with the character string image 85.

次に、図9,図10のフローチャートを参照し、テープ印刷装置1の編集方法および印刷方法の流れを説明する。テープ印刷装置1は、文字列が入力され(S01,文字列取得ステップ)、囲み枠の付加が指定されると(S02)、入力モードを判定する(S03)。入力モードが「英語入力」と判定された場合は、入力された文字列を辞書検索し(S04)、前画像要素の画像候補(以下、「前画像候補」と称する)および/または後画像要素の画像候補(以下、「後画像候補」と称する)を決定する(S05)。本実施形態では、「英語入力」の場合、入力された文字列に含まれる単語のうち、単語テーブルに登録されている全ての単語に関連付けられた画像を前画像候補および後画像候補として決定する。   Next, the flow of the editing method and the printing method of the tape printer 1 will be described with reference to the flowcharts of FIGS. When a character string is input (S01, character string acquisition step) and the addition of a frame is specified (S02), the tape printer 1 determines the input mode (S03). When it is determined that the input mode is “English input”, the input character string is searched for a dictionary (S04), the image candidate of the previous image element (hereinafter referred to as “previous image candidate”), and / or the subsequent image element. Image candidates (hereinafter referred to as “post-image candidates”) are determined (S05). In this embodiment, in the case of “English input”, images associated with all the words registered in the word table among words included in the input character string are determined as the previous image candidate and the subsequent image candidate. .

その後、テープ印刷装置1は、決定した前画像候補および後画像候補を表示する(S06,候補表示ステップ)。表示した前画像候補および後画像候補の中から、ユーザー操作により前画像81および後画像82が選択されると(S07,選択結果取得ステップ)、入力された文字列と選択された前画像81および後画像82(および予め用意された中間画像83)を合成する(S08,編集処理ステップ)。また、その合成結果に基づいて印刷データを生成し(S09)、当該印刷データを印刷テープTに印刷する(S10)。   Thereafter, the tape printer 1 displays the determined previous image candidate and subsequent image candidate (S06, candidate display step). When the previous image 81 and the subsequent image 82 are selected by the user operation from the displayed previous image candidates and subsequent image candidates (S07, selection result acquisition step), the input character string and the selected previous image 81 and The rear image 82 (and the intermediate image 83 prepared in advance) is synthesized (S08, editing process step). Further, print data is generated based on the synthesis result (S09), and the print data is printed on the print tape T (S10).

一方、S03において入力モードが「日本語入力」と判定された場合、変換情報を保存する(図10のS11)。当該変換情報は、入力された文字列を部分文字列に分割するための情報であり、変換単位や、変換後の文字体系を示す情報である。さらに、変換情報を用いて、部分文字列ごとに辞書検索を行い(S12)、単語テーブルから特定される各単語の係数に基づいて、各部分文字列の合計係数を算出する(S13)。その後、部分文字列が3つ以上か否かを判定し(S14)、3つ以上と判定された場合は(S14:Yes)、部分文字列を前グループと後グループに分け、各部分文字列の合計係数を比較する(S15)。また、当該比較結果に基づいて、前画像候補および後画像候補を決定する(図9のS05)。   On the other hand, if the input mode is determined to be “Japanese input” in S03, the conversion information is saved (S11 in FIG. 10). The conversion information is information for dividing the input character string into partial character strings, and is information indicating a conversion unit and a character system after conversion. Furthermore, a dictionary search is performed for each partial character string using the conversion information (S12), and a total coefficient of each partial character string is calculated based on the coefficient of each word specified from the word table (S13). Thereafter, it is determined whether or not there are three or more partial character strings (S14). If it is determined that there are three or more partial character strings (S14: Yes), the partial character strings are divided into a previous group and a rear group, and each partial character string is Are compared (S15). Further, based on the comparison result, the previous image candidate and the subsequent image candidate are determined (S05 in FIG. 9).

以上説明したとおり、本実施形態のテープ印刷装置1によれば、入力された文字列に応じて、囲み枠を構成する画像要素別の画像候補を表示するため、ユーザーは、表示された画像候補の中から所望の画像を選択すれば良い。つまり、予め用意された多数の画像候補を全て確認することなく、迅速に所望の画像を探し出すことができる。   As described above, according to the tape printer 1 of the present embodiment, the image candidate for each image element constituting the enclosing frame is displayed according to the input character string. A desired image may be selected from the list. That is, it is possible to quickly find a desired image without confirming all the many image candidates prepared in advance.

また、文字列に含まれる各単語の文字体系に応じて部分文字列ごとに合計係数を算出し、その算出結果に基づいて画像候補を決定するため、入力された文字列に、より相応しい画像候補をユーザーに推奨することができる。さらに、画像候補の表示優先度は、合計係数に基づいて決定する(つまり、文字体系に応じて表示順序を変更する)ため、推奨度の高いものを優先的にユーザーに推奨することができる。これにより、ユーザーは、推奨度を参考にして、所望の画像を選択することができる。   In addition, a total coefficient is calculated for each partial character string according to the character system of each word included in the character string, and image candidates are determined based on the calculation result. Therefore, image candidates more suitable for the input character string Can be recommended to users. Furthermore, since the display priority of the image candidates is determined based on the total coefficient (that is, the display order is changed according to the character system), it is possible to preferentially recommend a highly recommended image to the user. Thereby, the user can select a desired image with reference to the recommendation degree.

また、囲み枠の種類を選択するのではなく、囲み枠を構成する画像要素別に画像を選択可能であるため、よりユーザーの好みに合った囲み枠を提供することができる。さらに、ユーザーに提示する画像要素別の画像候補は、文字列に含まれる単語数と、各単語の配列(各単語が前グループと後グループのいずれに属するか)と、に応じて決定するため、文字列が長い場合など、各単語の位置(先頭位置、後端位置など)を考慮した画像候補をユーザーに推奨することができる。   In addition, instead of selecting the type of the surrounding frame, it is possible to select an image for each image element constituting the surrounding frame. Therefore, it is possible to provide a surrounding frame more suitable for the user's preference. Furthermore, image candidates for each image element to be presented to the user are determined according to the number of words included in the character string and the arrangement of each word (whether each word belongs to the previous group or the rear group). For example, when the character string is long, it is possible to recommend to the user image candidates that take into account the position of each word (such as the start position and the end position).

なお、以下の変形例を採用可能である。
[変形例1]
上記の実施形態の候補表示部140は、入力された文字列と、当該文字列に含まれる各単語の文字体系と、に応じて画像候補を表示したが、入力された文字列と、印刷媒体の種類と、に応じて画像候補を表示しても良い。この場合、テープ印刷装置1は、文字列を印刷する印刷媒体の種類を取得する取得部(図示省略)を備える。ここで「印刷媒体の種類」は、テープ識別センサー27により検出されるテープカートリッジCの情報から取得可能である。また、「印刷媒体の種類」は、印刷媒体の媒体色および印刷媒体への印刷色により区別される。つまり、候補表示部140は、印刷テープTのテープ色およびインクリボンRのインク色に応じて画像候補を表示する。例えば、文字列「さくら」と入力された場合、テープ色が「白色・赤色・青色」の場合は画像「桜の花」を最優先画像候補とし、テープ色が「茶色」の場合は画像「桜の木」を最優先画像候補とし、テープ色が「緑色・黄色」の場合は画像「鶯」を最優先画像候補とする、などの実施例が考えられる。この構成によれば、印刷媒体の種類(印刷媒体の媒体色および印刷色)を考慮して、より適切な画像候補をユーザーに推奨することができる。
なお、さらなる変形例として、印刷媒体の媒体色および印刷色のいずれか一方に応じて、画像候補を表示しても良い。また、これら印刷媒体の媒体色および印刷色以外の印刷媒体の種類を示す情報(印刷テープTのテープ幅やテープ材質など)に応じて、画像候補を表示しても良い。
In addition, the following modifications can be employed.
[Modification 1]
The candidate display unit 140 of the above embodiment displays the image candidates according to the input character string and the character system of each word included in the character string, but the input character string and the print medium Image candidates may be displayed according to the type of the image. In this case, the tape printer 1 includes an acquisition unit (not shown) that acquires the type of print medium on which the character string is printed. Here, the “type of print medium” can be acquired from the information of the tape cartridge C detected by the tape identification sensor 27. The “print medium type” is distinguished by the medium color of the print medium and the print color on the print medium. That is, the candidate display unit 140 displays image candidates according to the tape color of the printing tape T and the ink color of the ink ribbon R. For example, if the character string “Sakura” is entered, if the tape color is “white, red, blue”, the image “Cherry blossom” is the highest priority image candidate, and if the tape color is “brown”, the image “Sakura no Sakura” An embodiment is conceivable in which “tree” is the highest priority image candidate, and when the tape color is “green / yellow”, the image “鶯” is the highest priority image candidate. According to this configuration, more appropriate image candidates can be recommended to the user in consideration of the type of print medium (the medium color and print color of the print medium).
As a further modification, image candidates may be displayed according to either the medium color or the print color of the print medium. In addition, image candidates may be displayed according to information indicating the medium color of the print medium and the type of print medium other than the print color (tape width of the print tape T, tape material, etc.).

[変形例2]
上記の実施形態の候補表示部140は、囲み枠を構成する画像要素別に画像候補を表示したが、囲み枠の候補を表示しても良い(囲み枠単位で候補表示しても良い)。この場合、選択部150は、複数表示された囲み枠の候補の中から任意の囲み枠を選択する。また、編集処理部160は、入力部110により入力された文字列と、選択部150により選択された任意の囲み枠と、を合成する。
また、さらなる変形例として、変形例1と変形例2を組み合わせ、入力された文字列と、印刷媒体の種類と、に応じて囲み枠の候補を表示しても良い。
また、入力モードが英語入力の場合(図9のS03:英語入力の場合)も、画像要素別の画像候補ではなく、囲み枠の候補を表示しても良い。
[Modification 2]
Although the candidate display unit 140 of the above-described embodiment displays image candidates for each image element constituting the surrounding frame, the candidate for the surrounding frame may be displayed (candidate display may be performed in units of surrounding frames). In this case, the selection unit 150 selects an arbitrary frame from among a plurality of box frame candidates displayed. Further, the edit processing unit 160 combines the character string input by the input unit 110 and an arbitrary frame selected by the selection unit 150.
As a further modification, the modification 1 and the modification 2 may be combined, and a frame candidate may be displayed according to the input character string and the type of the print medium.
In addition, when the input mode is English input (S03 in FIG. 9: English input), a frame candidate may be displayed instead of the image candidate for each image element.

[変形例3]
上記の実施形態の候補表示部140は、文字体系に応じて画像候補を表示したが、文字体系以外の文字種(文字の書体、表記言語、文字サイズなど)に応じて画像候補を表示しても良い。なお、「書体」とは、フォント種類、文字の太さ、幅、傾斜、文字スタイル(下線、下付き/上付き文字など)、全角/半角により区別される。また、「表記言語」とは、日本語、中国語、韓国語などにより区別される。また、中国語など地域によって主流となる言語(方言)が異なる場合、地域の言語(北京語と広東語など)によって表記言語を区別しても良い。
なお、さらなる変形例として、文字の書体、文字体系、表記言語、文字サイズのうち複数の情報の組み合わせで文字種を特定しても良い。
[Modification 3]
The candidate display unit 140 of the above embodiment displays the image candidates according to the character system, but may display the image candidates according to a character type other than the character system (character typeface, writing language, character size, etc.). good. “Typeface” is distinguished by font type, character thickness, width, inclination, character style (underline, subscript / superscript, etc.), and full-width / half-width. The “notation language” is distinguished by Japanese, Chinese, Korean, and the like. In addition, when a main language (dialect) such as Chinese is different depending on a region such as Chinese, a notation language may be distinguished depending on a region language (Mandarin and Cantonese, etc.).
As a further modification, the character type may be specified by a combination of a plurality of pieces of information among a character font, a character system, a notation language, and a character size.

[変形例4]
上記の実施形態の選択部150は、画像要素別に、表示された2以上の画像候補の中から1つずつ画像を選択したが、複数の画像を選択可能としても良い。この場合、編集処理部160は、入力された文字列と、複数の囲み枠のそれぞれとを合成した複数の合成画像を生成すれば良い。
また、さらなる変形例として、変形例2と変形例4を組み合わせ、表示された2以上の囲み枠の候補の中から、複数の囲み枠を選択可能としても良い。
[Modification 4]
The selection unit 150 of the above embodiment selects one image from two or more displayed image candidates for each image element. However, a plurality of images may be selectable. In this case, the edit processing unit 160 may generate a plurality of combined images by combining the input character string and each of the plurality of surrounding frames.
Further, as a further modification, the modification 2 and the modification 4 may be combined so that a plurality of surrounding frames can be selected from two or more displayed surrounding frame candidates.

[変形例5]
上記の実施形態では、文字列を横書きで印刷する場合を例示したが、文字列を縦書きで印刷する場合にも、本発明を適用可能である。また、囲み枠は、必ずしも文字列の全体を囲むものでなくても良く、文字列の上下、左右、四隅の角部分を囲むものであっても良い。
[Modification 5]
In the above embodiment, the case where the character string is printed in horizontal writing is exemplified, but the present invention can also be applied to the case where the character string is printed in vertical writing. Further, the surrounding frame does not necessarily surround the entire character string, and may surround the upper and lower, left and right corners of the character string.

[第2実施形態]
次に、図11を参照し、本発明の第2実施形態について説明する。上記の第1実施形態では、本発明の情報処理装置をテープ印刷装置1に適用したが、本実施形態ではホスト装置100に適用する。以下、第1実施形態と異なる点のみ説明する。なお、本実施形態において、第1実施形態と同様の構成部分については同様の符号を付し、詳細な説明を省略する。また、第1実施形態と同様の構成部分について適用される変形例は、本実施形態についても同様に適用される。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to FIG. In the first embodiment described above, the information processing apparatus of the present invention is applied to the tape printer 1, but in the present embodiment, it is applied to the host apparatus 100. Only differences from the first embodiment will be described below. In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted. Moreover, the modification applied about the component similar to 1st Embodiment is applied similarly about this embodiment.

図11は、第2実施形態に係る印刷システムSYの機能構成を示すブロック図である。本実施形態の印刷システムSYは、ホスト装置100およびテープ印刷装置1´を備える。ホスト装置100としては、パーソナルコンピューター、スマートフォン、携帯電話など、各種情報処理端末を適用可能である。ホスト装置100は、テープ印刷装置1´を制御するための制御アプリケーションを記憶している。一方、テープ印刷装置1´は、第1実施形態に示したテープ印刷装置1と同様のハードウェア構成を採用しても良いが、キーボード3および表示画面41を省略した構成でも良い。   FIG. 11 is a block diagram illustrating a functional configuration of the printing system SY according to the second embodiment. The printing system SY of this embodiment includes a host device 100 and a tape printer 1 ′. As the host device 100, various information processing terminals such as a personal computer, a smartphone, and a mobile phone can be applied. The host device 100 stores a control application for controlling the tape printer 1 ′. On the other hand, the tape printer 1 ′ may adopt the same hardware configuration as the tape printer 1 shown in the first embodiment, but may have a configuration in which the keyboard 3 and the display screen 41 are omitted.

ホスト装置100は、機能構成として、入力部110、辞書記憶部120、画像データ記憶部130、候補表示部140、選択部150、編集処理部160、印刷データ生成部170および印刷データ送信部210を備える。これらは、ホスト装置100内に記憶された上記の制御アプリケーションにより実現される機能である。印刷データ送信部210は、印刷データ生成部170により生成された印刷データを、テープ印刷装置1´に送信する。   The host device 100 includes an input unit 110, a dictionary storage unit 120, an image data storage unit 130, a candidate display unit 140, a selection unit 150, an editing processing unit 160, a print data generation unit 170, and a print data transmission unit 210 as functional configurations. Prepare. These are functions realized by the control application stored in the host apparatus 100. The print data transmission unit 210 transmits the print data generated by the print data generation unit 170 to the tape printer 1 ′.

一方、テープ印刷装置1´は、機能構成として、印刷データ受信部220および印刷部180を備える。印刷データ受信部220は、ホスト装置100(印刷データ送信部210)から送信された印刷データを受信する。   On the other hand, the tape printer 1 ′ includes a print data receiving unit 220 and a printing unit 180 as functional configurations. The print data receiving unit 220 receives print data transmitted from the host device 100 (print data transmitting unit 210).

以上説明したとおり、第2実施形態によれば、ホスト装置100側で印刷データの生成を行うため、テープ印刷装置1´の装置構成の簡素化および低廉化を図ることができる。   As described above, according to the second embodiment, since print data is generated on the host device 100 side, it is possible to simplify and reduce the cost of the tape printer 1 '.

以上、2つの実施形態および変形例を示したが、これらに示したテープ印刷装置1または印刷システムSYにおける各構成要素をプログラムとして提供しても良い。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリー等)に格納して提供しても良い。すなわち、コンピューターをテープ印刷装置1または印刷システムSYの各構成要素として機能させるためのプログラム、それを記録したコンピューター読み取り可能な記録媒体も、本発明の権利範囲に含まれる。その他、第2実施形態のホスト装置100の各部をクラウドコンピューティングで実現するなど、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。   Although two embodiments and modifications have been described above, each component in the tape printer 1 or the printing system SY described above may be provided as a program. The program may be provided by being stored in various recording media (CD-ROM, flash memory, etc.). That is, a program for causing a computer to function as each component of the tape printer 1 or the printing system SY and a computer-readable recording medium on which the program is recorded are also included in the scope of the present invention. In addition, the respective units of the host device 100 of the second embodiment can be appropriately changed without departing from the gist of the present invention, such as realization by cloud computing.

1…テープ印刷装置、110…入力部、120…辞書記憶部、130…画像データ記憶部、140…候補表示部、150…選択部、160…編集処理部、170…印刷データ生成部、180…印刷部。   DESCRIPTION OF SYMBOLS 1 ... Tape printer, 110 ... Input part, 120 ... Dictionary storage part, 130 ... Image data storage part, 140 ... Candidate display part, 150 ... Selection part, 160 ... Editing process part, 170 ... Print data generation part, 180 ... Printing department.

Claims (10)

文字列を入力する入力部と、
前記文字列に応じて、当該文字列を囲む囲み枠の候補を表示する候補表示部と、
前記囲み枠の候補の中から任意の囲み枠を選択する選択部と、
前記文字列と、前記任意の囲み枠と、を合成する編集処理部と、を備えることを特徴とする情報処理装置。
An input part for inputting a character string;
In accordance with the character string, a candidate display unit that displays candidates for a surrounding frame surrounding the character string;
A selection unit for selecting an arbitrary frame from the candidates for the frame;
An information processing apparatus comprising: an editing processing unit that synthesizes the character string and the arbitrary frame.
前記候補表示部は、前記文字列に含まれる1以上の単語と、当該1以上の単語のうち少なくとも1つの単語の文字種と、に応じて、前記囲み枠の候補を表示することを特徴とする請求項1に記載の情報処理装置。   The candidate display unit displays the frame candidate according to one or more words included in the character string and a character type of at least one of the one or more words. The information processing apparatus according to claim 1. 前記文字種は、文字の書体、表記言語、文字体系、文字サイズのうち1以上の情報により区別されることを特徴とする請求項2に記載の情報処理装置。   The information processing apparatus according to claim 2, wherein the character type is distinguished by one or more pieces of information of a character typeface, a notation language, a character system, and a character size. 前記候補表示部は、前記囲み枠の候補を複数表示する場合、前記文字列に含まれる1以上の単語のうち少なくとも1つの単語の文字種に応じて表示順序を変更することを特徴とする請求項2または3に記載の情報処理装置。   The said candidate display part changes a display order according to the character type of at least 1 word among the one or more words contained in the said character string, when displaying the candidate of the said surrounding frame two or more. The information processing apparatus according to 2 or 3. 前記囲み枠は、複数の画像要素の組み合わせから成り、
前記候補表示部は、前記囲み枠の候補として、前記画像要素別の画像候補を表示し、
前記選択部は、前記任意の囲み枠として、前記画像要素別の画像を選択することを特徴とする請求項1ないし4のいずれか1項に記載の情報処理装置。
The frame is composed of a combination of a plurality of image elements,
The candidate display unit displays image candidates for each image element as candidates for the surrounding frame,
The information processing apparatus according to claim 1, wherein the selection unit selects an image for each image element as the arbitrary enclosing frame.
前記文字列を印刷する印刷媒体の種類を取得する取得部を備え、
前記候補表示部は、前記文字列と、前記印刷媒体の種類と、に応じて、前記囲み枠の候補を表示することを特徴とする請求項1に記載の情報処理装置。
An acquisition unit for acquiring the type of print medium on which the character string is printed;
The information processing apparatus according to claim 1, wherein the candidate display unit displays the surrounding frame candidates according to the character string and the type of the print medium.
前記印刷媒体の種類は、前記印刷媒体の媒体色および前記印刷媒体への印刷色の少なくとも一方の情報により区別されることを特徴とする請求項6に記載の情報処理装置。   The information processing apparatus according to claim 6, wherein the type of the print medium is distinguished by information on at least one of a medium color of the print medium and a print color on the print medium. 文字列を入力する入力部と、
前記文字列に応じて、当該文字列を囲む囲み枠の候補を表示する候補表示部と、
前記囲み枠の候補の中から任意の囲み枠を選択する選択部と、
前記文字列と、前記任意の囲み枠と、を合成する編集処理部と、
前記編集処理部による編集処理結果に基づいて、印刷データを生成する印刷データ生成部と、
前記印刷データをテープに印刷する印刷部と、を備えることを特徴とするテープ印刷装置。
An input part for inputting a character string;
In accordance with the character string, a candidate display unit that displays candidates for a surrounding frame surrounding the character string;
A selection unit for selecting an arbitrary frame from the candidates for the frame;
An edit processing unit that synthesizes the character string and the arbitrary frame;
A print data generation unit that generates print data based on an editing processing result by the editing processing unit;
A tape printing apparatus comprising: a printing unit that prints the print data on a tape.
文字列を取得する文字列取得ステップと、
前記文字列に応じて、当該文字列を囲む囲み枠の候補を表示する候補表示ステップと、
前記囲み枠の候補の中から任意の囲み枠を選択した選択結果を取得する選択結果取得ステップと、
前記文字列と、前記任意の囲み枠と、を合成する編集処理ステップと、を実行することを特徴とする編集方法。
A character string acquisition step for acquiring a character string;
In accordance with the character string, a candidate display step for displaying a candidate for a frame surrounding the character string;
A selection result acquisition step of acquiring a selection result of selecting an arbitrary frame from among the candidates for the frame;
An editing method, comprising: an editing processing step of combining the character string and the arbitrary enclosing frame.
コンピューターを、請求項1ないし7のいずれか1項に記載の情報処理装置における各部、若しくは請求項8に記載のテープ印刷装置における各部として機能させるためのプログラム。   The program for functioning a computer as each part in the information processing apparatus of any one of Claim 1 thru | or 7, or each part in the tape printer of Claim 8.
JP2016094343A 2016-05-10 2016-05-10 Information processor, tape printer, edition method, and program Pending JP2017202593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016094343A JP2017202593A (en) 2016-05-10 2016-05-10 Information processor, tape printer, edition method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016094343A JP2017202593A (en) 2016-05-10 2016-05-10 Information processor, tape printer, edition method, and program

Publications (1)

Publication Number Publication Date
JP2017202593A true JP2017202593A (en) 2017-11-16

Family

ID=60321837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016094343A Pending JP2017202593A (en) 2016-05-10 2016-05-10 Information processor, tape printer, edition method, and program

Country Status (1)

Country Link
JP (1) JP2017202593A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021002227A (en) * 2019-06-21 2021-01-07 カシオ計算機株式会社 Print data output device, print data output method, program, printer, and print system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021002227A (en) * 2019-06-21 2021-01-07 カシオ計算機株式会社 Print data output device, print data output method, program, printer, and print system

Similar Documents

Publication Publication Date Title
CN101844460B (en) Tape printer, method of controlling tape printer
JP6380159B2 (en) Information processing apparatus, information processing apparatus display method and program
JP2007245663A (en) Printer
JP5488381B2 (en) Print data editing device, control program for print data editing device
CN107921801B (en) Information processing apparatus, tape printing apparatus, and editing method for information processing apparatus
US20110222946A1 (en) Tape printer, method for controlling tape printer, and computer program product
US8587821B2 (en) Tape printer, method for controlling tape printer, and computer program product
US9218337B2 (en) Text editing apparatus and storage medium
JP2011143648A (en) Tape printing device, label forming method, and storage medium storing program for forming label
JP2017204209A (en) Selection program and selection apparatus
JP2017202593A (en) Information processor, tape printer, edition method, and program
JP5907387B2 (en) Printing apparatus and printing method
JP7439615B2 (en) Template processing device, printing system, processing method of template processing device, and program
JP2016221940A (en) Label creating device, label creating method and label creating program
JP2016221940A5 (en)
JP2007034364A (en) Tape printing system, tape printer, and its control method
JP2010026554A (en) Documentation apparatus and tape printing apparatus
JP7293900B2 (en) PRINT IMAGE GENERATION DEVICE, PRINT IMAGE GENERATION METHOD, AND PROGRAM
JP2018154007A (en) Print data generation device, label printer, print data generation method, and program therefor
JP2021157709A (en) Template processing apparatus, printing system, method for processing template processing apparatus, and program
JP2018008476A (en) Information processing device, tape printer, method for controlling information processing device, and program thereof
US20110135367A1 (en) Tape printer, method for controlling tape printer, and computer program product
JP4449494B2 (en) Printing apparatus, program, and character input method
JP2010152437A (en) Character processor, tape printer, control method for character processor and program thereof
US20080069619A1 (en) Paper Bundle Print System, Method of Controlling Paper Bundle Print System, and Paper Bundle Printer

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180906

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181119