JP2011251484A - Tape printing device, method for controlling the same and program - Google Patents

Tape printing device, method for controlling the same and program Download PDF

Info

Publication number
JP2011251484A
JP2011251484A JP2010127591A JP2010127591A JP2011251484A JP 2011251484 A JP2011251484 A JP 2011251484A JP 2010127591 A JP2010127591 A JP 2010127591A JP 2010127591 A JP2010127591 A JP 2010127591A JP 2011251484 A JP2011251484 A JP 2011251484A
Authority
JP
Japan
Prior art keywords
tape
format
unit
character
imaging
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
JP2010127591A
Other languages
Japanese (ja)
Inventor
誠 ▲高▼田
Makoto Takada
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 JP2010127591A priority Critical patent/JP2011251484A/en
Publication of JP2011251484A publication Critical patent/JP2011251484A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a tape printing device, method for controlling the printing device and program, which can prepare a print label of a format similar to that prepared in the past.SOLUTION: The tape printing device 1 includes: an imaging section 50 for picking up an image of a tape shaped printed matter (step S105); a format extraction section for extracting format information of the tape shaped printed matter by analyzing a photographed image data for which the imaging section 50 picks up the image (step S106, step S107); and a format reflection section for reflecting the format information extracted by the format extraction section to a document data (step S108).

Description

本発明は、テープ印刷装置、テープ印刷装置の制御方法、およびプログラムに関する。   The present invention relates to a tape printer, a control method for the tape printer, and a program.

従来、文字列等を含んだ文書データに基づく画像を、テープ(ラベル)に印刷するテープ印刷装置が知られている。このようなテープ印刷装置では、文書データにおける文字サイズや書体、装飾等のフォーマット情報を様々に変更することが可能になっている。特許文献1では、ユーザーが、文字サイズや書体等の文字属性(フォーマット情報)を段落単位、行単位、文字単位に設定することが可能なテープ印刷装置が開示されている。   2. Description of the Related Art Conventionally, a tape printing apparatus that prints an image based on document data including a character string on a tape (label) is known. In such a tape printer, it is possible to variously change format information such as character size, typeface, and decoration in document data. Patent Document 1 discloses a tape printer that allows a user to set character attributes (format information) such as character size and typeface in paragraph units, line units, and character units.

特許第3100164号公報Japanese Patent No. 3100164

このようなテープ印刷装置を用いてラベルを作成する際に、ユーザーは、過去に作成したラベルと同様の文字コード情報や属性情報(文字属性)のフォーマット情報のラベルを作成にしたい場合があった。例えば、ファイルの背表紙に貼付するラベルを作成する場合には、過去に作成したラベルと同じフォーマット情報にすることで、見た目を同様にしたいという要望があった。しかしながら、従来のテープ印刷装置では、フォーマット情報を設定変更するための操作を熟知していないと、過去に作成したラベルと同様なフォーマットのラベルを作成するのは困難であった。また、他人が作成したラベルと同様なフォーマットのラベルを作成することも困難であるという問題があった。   When creating a label using such a tape printer, the user may want to create a label of the format information of the character code information and attribute information (character attribute) similar to the label created in the past. . For example, when creating a label to be attached to the back cover of a file, there has been a demand for making the appearance the same by making the same format information as the label created in the past. However, in the conventional tape printer, it is difficult to create a label having the same format as the label created in the past unless the user knows the operation for changing the setting of the format information. There is also a problem that it is difficult to create a label having the same format as a label created by another person.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することが可能である。   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]本適用例に係るテープ印刷装置は、文書データに基づく画像をテープに印刷するテープ印刷装置であって、テープ状印刷物を撮像する撮像部と、前記撮像部が撮像した撮影画像データを解析して前記テープ状印刷物のフォーマット情報を抽出するフォーマット抽出部と、前記フォーマット抽出部が抽出した前記フォーマット情報を前記文書データに反映するフォーマット反映部と、を備えることを特徴とする。   Application Example 1 A tape printing apparatus according to this application example is a tape printing apparatus that prints an image based on document data on a tape, and includes an imaging unit that captures a tape-like printed material, and a captured image that is captured by the imaging unit. A format extraction unit that analyzes data to extract format information of the tape-like printed material, and a format reflection unit that reflects the format information extracted by the format extraction unit in the document data.

このようなテープ印刷装置によれば、撮像部は、テープ状印刷物を撮像する。フォーマット抽出部は、撮影画像データを解析してテープ状印刷物のフォーマット情報を抽出する。フォーマット反映部は、フォーマット情報を文書データに反映する。つまり、テープ印刷装置は、テープ状印刷物のフォーマット情報を抽出して文書データに反映することができる。そして、テープに印刷することができる。これにより、ユーザーは、テープ印刷装置のフォーマット情報を設定変更するための操作を熟知していなくても、過去に作成した印刷ラベル(テープ状印刷物)と同様のフォーマット情報を有する印刷ラベルを作成することが可能になる。また、他人が作成した印刷ラベルと同様なフォーマット情報を有する印刷ラベルを作成することも可能になる。   According to such a tape printer, an imaging part images a tape-shaped printed matter. The format extraction unit analyzes the captured image data and extracts format information of the tape-like printed material. The format reflection unit reflects the format information on the document data. That is, the tape printer can extract the format information of the tape-like printed material and reflect it in the document data. It can then be printed on tape. As a result, the user creates a print label having the same format information as a print label (tape-like printed material) created in the past even if the user does not know the operation for changing the setting information of the format information of the tape printer. It becomes possible. It is also possible to create a print label having the same format information as a print label created by another person.

[適用例2]上記適用例に係るテープ印刷装置において、前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれるキャラクターの属性情報であることを特徴とする。   Application Example 2 In the tape printer according to the application example, the format information extracted by the format extraction unit is character attribute information included in the captured image data.

このようなテープ印刷装置によれば、フォーマット抽出部が抽出するフォーマット情報は、撮影画像データに含まれるキャラクターの属性情報である。ここで、属性情報とは、文字列を印刷する際のいわゆる印刷属性である。これにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)上のキャラクターの印刷属性と同様な印刷属性の印刷ラベルを作成することができる。   According to such a tape printer, the format information extracted by the format extraction unit is character attribute information included in the captured image data. Here, the attribute information is a so-called print attribute when a character string is printed. Thereby, the tape printer can create a print label having a print attribute similar to the print attribute of the character on the label (tape-like printed matter) created in the past.

[適用例3]上記適用例に係るテープ印刷装置において、前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれる前記キャラクターの文字コード情報であることを特徴とする。   Application Example 3 In the tape printer according to the application example, the format information extracted by the format extraction unit is character code information of the character included in the captured image data.

このようなテープ印刷装置によれば、フォーマット抽出部が抽出するフォーマット情報は、撮影画像データに含まれるキャラクターの文字コード情報である。これにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)上のキャラクターと同様な文字コード情報の印刷ラベルを作成することができる。   According to such a tape printer, the format information extracted by the format extraction unit is character code information of characters included in the captured image data. Thereby, the tape printer can create a print label of character code information similar to the character on the label (tape-like printed matter) created in the past.

[適用例4]上記適用例に係るテープ印刷装置において、前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれる前記キャラクター全体にかかる属性情報であることを特徴とする。   Application Example 4 In the tape printer according to the application example described above, the format information extracted by the format extraction unit is attribute information on the entire character included in the captured image data.

このようなテープ印刷装置によれば、フォーマット抽出部が抽出するフォーマット情報は、撮影画像データに含まれるキャラクター全体にかかる属性情報(印刷属性)である。これにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)上のキャラクター全体にかかる印刷属性と同様な印刷属性の印刷ラベルを作成することができる。   According to such a tape printer, the format information extracted by the format extraction unit is attribute information (print attribute) relating to the entire character included in the captured image data. Thereby, the tape printer can create a print label having a print attribute similar to the print attribute of the entire character on the label (tape-like printed matter) created in the past.

[適用例5]上記適用例に係るテープ印刷装置において、前記テープ状印刷物のテープ幅情報を入力するテープ幅入力部をさらに備え、前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記テープ状印刷物の長さを前記フォーマット情報として抽出することを特徴とする。   Application Example 5 In the tape printer according to the application example described above, the tape printer further includes a tape width input unit that inputs tape width information of the tape-shaped printed matter, and the format extraction unit is configured to input the tape based on the tape width information. The length of the printed material is extracted as the format information.

このようなテープ印刷装置によれば、テープ幅入力部は、テープ状印刷物のテープ幅情報を入力する。そして、フォーマット抽出部は、撮影画像データとテープ幅情報とに基づいて、テープ状印刷物の長さ(テープ長)をフォーマット情報として抽出する。これにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)と同様な長さの印刷ラベルを作成することができる。   According to such a tape printer, the tape width input unit inputs the tape width information of the tape-like printed material. Then, the format extraction unit extracts the length of the tape-like printed matter (tape length) as format information based on the captured image data and the tape width information. Thereby, the tape printer can create a printed label having the same length as a label (tape-like printed material) created in the past.

[適用例6]上記適用例に係るテープ印刷装置において、前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記撮影画像データに含まれる前記キャラクターの大きさを前記フォーマット情報として抽出することを特徴とする。   Application Example 6 In the tape printer according to the application example, the format extraction unit extracts the size of the character included in the captured image data as the format information based on the tape width information. Features.

このようなテープ印刷装置によれば、フォーマット抽出部は、撮影画像データとテープ幅情報とに基づいて、撮影画像データに含まれるキャラクターの大きさ(文字サイズ)を抽出する。これにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)と同様なキャラクターの大きさの印刷ラベルを作成することができる。   According to such a tape printer, the format extraction unit extracts the character size (character size) included in the photographed image data based on the photographed image data and the tape width information. Thereby, the tape printer can create a printed label having the same character size as the label (tape-like printed material) created in the past.

[適用例7]上記適用例に係るテープ印刷装置において、前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記撮影画像データに含まれる前記キャラクターの文字間を前記フォーマット情報として抽出することを特徴とする。   Application Example 7 In the tape printer according to the application example described above, the format extraction unit extracts, as the format information, the character spacing included in the photographed image data based on the tape width information. Features.

このようなテープ印刷装置によれば、フォーマット抽出部は、撮影画像データとテープ幅情報とに基づいて、撮影画像データに含まれるキャラクターの文字間を抽出する。これにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)と同様なキャラクターの文字間の印刷ラベルを作成することができる。   According to such a tape printer, the format extraction unit extracts the character spacing included in the photographed image data based on the photographed image data and the tape width information. Thereby, the tape printer can create a printed label between character characters similar to a label (tape-like printed matter) created in the past.

[適用例8]本適用例に係るテープ印刷装置の制御方法は、テープ状印刷物を撮像する撮像部を有し、文書データに基づく画像をテープに印刷するテープ印刷装置の制御方法であって、前記テープ状印刷物を撮像する撮像ステップと、前記撮像ステップによって撮像した撮影画像データを解析して前記テープ状印刷物のフォーマット情報を抽出するフォーマット抽出ステップと、前記フォーマット抽出ステップが抽出した前記フォーマット情報を前記文書データに反映するフォーマット反映ステップと、を備えることを特徴とする。   Application Example 8 A control method for a tape printing apparatus according to this application example is a control method for a tape printing apparatus that includes an imaging unit that images a tape-like printed matter and prints an image based on document data on a tape. An imaging step for imaging the tape-shaped printed material, a format extracting step for analyzing the captured image data captured at the imaging step and extracting format information of the tape-shaped printed material, and the format information extracted by the format extracting step. A format reflecting step for reflecting the document data.

このようなテープ印刷装置の制御方法によれば、テープ印刷装置は、テープ状印刷物のフォーマット情報を抽出して文書データに反映することができる。そして、テープに印刷することができる。これにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)と同様のフォーマット情報を有する印刷ラベルを作成することが可能になる。   According to such a control method of the tape printer, the tape printer can extract the format information of the tape-like printed material and reflect it in the document data. It can then be printed on tape. Thereby, the tape printer can create a print label having the same format information as a label (tape-like printed material) created in the past.

[適用例9]本適用例に係るプログラムは、コンピューターに、上記適用例に記載のテープ印刷装置の制御方法における各ステップを実行させるためのものであることを特徴とする。   Application Example 9 A program according to this application example is for causing a computer to execute each step in the method for controlling a tape printing apparatus according to the application example.

このようなプログラムをコンピューターに実行させることにより、テープ印刷装置は、過去に作成したラベル(テープ状印刷物)と同様のフォーマット情報を有する印刷ラベルを作成することが可能になる。   By causing the computer to execute such a program, the tape printing apparatus can create a print label having the same format information as a label (tape-like printed material) created in the past.

実施形態のテープ印刷装置を示す斜視図。A perspective view showing a tape printer of an embodiment. 実施形態のテープ印刷装置を示す斜視図。A perspective view showing a tape printer of an embodiment. テープ印刷装置の回路構成を示すブロック図。The block diagram which shows the circuit structure of a tape printer. 属性データ記憶部の構成の説明図。Explanatory drawing of a structure of an attribute data storage part. テープ印刷装置の文字コードデータおよび属性データの抽出処理を説明するためのフローチャート。6 is a flowchart for explaining extraction processing of character code data and attribute data of the tape printer. 撮像対象としての印刷ラベルと撮像データの説明図であり、(a)は、印刷ラベルの平面図、(b)は、印刷ラベルを撮像した撮影画像データの説明図。It is explanatory drawing of the printing label and imaging data as an imaging target, (a) is a top view of a printing label, (b) is explanatory drawing of the picked-up image data which imaged the printing label. 撮像テープ幅選択画面を表す説明図。Explanatory drawing showing the imaging tape width selection screen. 文字コードデータ記憶部および属性データ記憶部の構成の説明図であり、(a)は、文字コードデータ記憶部の説明図であり、(b)は、属性データ記憶部の説明図。It is explanatory drawing of the structure of a character code data storage part and an attribute data storage part, (a) is explanatory drawing of a character code data storage part, (b) is explanatory drawing of an attribute data storage part.

以下、実施形態について説明する。   Hereinafter, embodiments will be described.

(実施形態)
本実施形態では、印刷ラベルを撮像して画像解析を行い、フォーマット情報(文字コード情報、属性情報)を抽出するテープ印刷装置について説明する。
(Embodiment)
In the present embodiment, a tape printer that captures a print label, analyzes the image, and extracts format information (character code information, attribute information) will be described.

図1および図2は、本実施形態のテープ印刷装置を示す斜視図である。
図1および図2に示すように、テープ印刷装置1は、本体が筐体10に収容された構成を有している。また、テープ印刷装置1は、本体にケーブルCBを介して接続された撮像部50を有している。
1 and 2 are perspective views showing the tape printer of this embodiment.
As shown in FIGS. 1 and 2, the tape printer 1 has a configuration in which the main body is housed in a housing 10. Moreover, the tape printer 1 has the imaging part 50 connected to the main body via the cable CB.

筐体10の上面手前側には、キーボード11が備えられている。キーボード11は、文字(キャラクター)列の入力等、ユーザーによる各種入力操作を受け付ける入力部であり、仮名、漢字、アルファベット、数字、および記号等の文字列を入力可能な多数の文字キーと、テープ印刷装置1に対して各種動作を指示するための複数の制御キーとを有している。キーボード11が備える制御キーには、電源のオンとオフとを切り換えるための電源キー、漢字に変換するための変換キー、入力した文字列等を確定させるための決定キー、属性情報としての印刷属性を設定するための印刷属性メニュー画面を表示させる印刷属性メニューキー、カーソルの移動等に用いられるカーソルキー、印刷を実行させるための印刷キー等が含まれる。   A keyboard 11 is provided on the upper front side of the housing 10. The keyboard 11 is an input unit that accepts various input operations by the user, such as inputting a character (character) string, and includes a number of character keys that can input character strings such as kana, kanji, alphabets, numbers, and symbols, and a tape. And a plurality of control keys for instructing the printing apparatus 1 to perform various operations. The control keys provided on the keyboard 11 include a power key for switching power on and off, a conversion key for converting to kanji, a decision key for confirming an input character string, and a printing attribute as attribute information. A print attribute menu key for displaying a print attribute menu screen for setting the menu, a cursor key used for moving a cursor, a print key for executing printing, and the like.

筐体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 forms an image with a large number of pixels arranged in a matrix, and is used for displaying characters input from the keyboard 11, displaying a menu screen, a message screen, and the like.

筐体10の上面奥側には、表示部12に隣接して、テープカートリッジ2を装着するための凹部13が形成されている。凹部13の開口部上には、開閉蓋14が開閉可能に備えられており、開閉蓋14を開放状態にすることによって、テープカートリッジ2を着脱することが可能となる。また、開閉蓋14には、透光性を有する確認窓14aが備えられており、凹部13にテープカートリッジ2が装着されているか否かを外部から視認可能になっている。凹部13の底面には、サーマルヘッド15や、搬送機構16(図3参照)を構成する回転軸16a,16bが設けられており、凹部13にテープカートリッジ2を装着すると、テープカートリッジ2に設けられた孔状のヘッド嵌合部21にサーマルヘッド15が嵌合するとともに、孔状の被駆動部22a,22bに回転軸16a,16bがそれぞれ係合する。   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. In addition, the opening / closing lid 14 is provided with a translucent 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. The bottom surface of the recess 13 is provided with a thermal head 15 and rotary shafts 16a and 16b constituting a transport mechanism 16 (see FIG. 3). When the tape cartridge 2 is mounted in the recess 13, the tape cartridge 2 is provided. The thermal head 15 is fitted into the hole-shaped head fitting portion 21, and the rotary shafts 16a, 16b are engaged with the hole-shaped driven portions 22a, 22b, respectively.

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

テープカートリッジ2を凹部13に装着すると、テープTの表面は、ヘッド嵌合部21において、インクリボンRを介してサーマルヘッド15と対向する。サーマルヘッド15には、テープTの長手方向(搬送方向)と直交する方向に1列に配列された複数の発熱素子(図示せず)が形成されており、各発熱素子を選択的に発熱させることにより、インクリボンRのインクがテープTの表面に転写(熱転写)される。ここで、回転軸16a,16bを回転駆動すると、テープTとインクリボンRは搬送されて、テープTはカートリッジケース20の外部に排出され、インクリボンRはカートリッジケース20の内部で巻き取られる。そして、テープTとインクリボンRとを少しずつ搬送しながら上記の熱転写を繰り返すことにより、複数のドットで構成される画像がテープTの表面に印刷される。   When the tape cartridge 2 is mounted in the recess 13, the surface of the tape T faces the thermal head 15 through the ink ribbon R at the head fitting portion 21. The thermal head 15 is formed with a plurality of heating elements (not shown) arranged in a line in a direction orthogonal to the longitudinal direction (conveying direction) of the tape T, and selectively heats each heating element. As a result, the ink on the ink ribbon R is transferred (thermally transferred) to the surface of the tape T. Here, when the rotary shafts 16 a and 16 b are rotationally driven, 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 taken up inside the cartridge case 20. Then, by repeating the above thermal transfer while transporting the tape T and the ink ribbon R little by little, an image composed of a plurality of dots is printed on the surface of the tape T.

筐体10の側面には、筐体10の外部と凹部13とを連通するスリット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 outside of the housing 10 with the recess 13, 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 for cutting the tape T that crosses the slit 17 is disposed inside the housing 10, and the printed portion of the tape T is cut by the cutter unit 18 and a tape piece ( The label is discharged from the opening (tape discharge port) of the slit 17.

撮像部50は、筐体50aで覆われた構成を有しており、CCDカメラを有している。筐体50aの前面50fには、撮像レンズ51が露出している。また、筐体50aの上面50tには、撮像を指示するための撮像キー52を備えている。撮像キー52が押下されると、CCDカメラによって撮像が行われ、撮像された撮影画像データが、ケーブルCBを介してテープ印刷装置1の本体に転送される。なお、本実施形態では、撮像部50は、CCDカメラとしたが、これに限定しない。その他の撮像機能を備えたカメラとしてもよいし、撮像素子を備えたスキャナー等としてもよい。   The imaging unit 50 has a configuration covered with a housing 50a and includes a CCD camera. The imaging lens 51 is exposed on the front surface 50f of the housing 50a. An imaging key 52 for instructing imaging is provided on the upper surface 50t of the housing 50a. When the imaging key 52 is pressed, imaging is performed by the CCD camera, and the captured image data is transferred to the main body of the tape printer 1 via the cable CB. In the present embodiment, the imaging unit 50 is a CCD camera, but is not limited thereto. It may be a camera having another imaging function or a scanner having an imaging element.

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

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

CPU31は、ROM33に記憶されている制御プログラムに従って動作し、テープ印刷装置1全体の各種動作を制御する。   The CPU 31 operates according to a control program stored in the ROM 33 and controls various operations of the entire tape printer 1.

RAM32は、揮発性の記憶装置で構成された記憶部であり、CPU31の各種処理結果や、キーボード11から入力された文字コード情報(以降、「文字コードデータ」と呼ぶ)、表示部12に表示させる表示画像データ、サーマルヘッド15に印刷させる印刷画像データ等を一時的に記憶する。RAM32は、文字コードデータ記憶部32a、属性データ記憶部32b、および画像解析用メモリー32cを備えている。   The RAM 32 is a storage unit configured by a volatile storage device, and displays various processing results of the CPU 31, character code information (hereinafter referred to as “character code data”) input from the keyboard 11, and the display unit 12. Display image data to be printed, print image data to be printed on the thermal head 15, and the like are temporarily stored. The RAM 32 includes a character code data storage unit 32a, an attribute data storage unit 32b, and an image analysis memory 32c.

文字コードデータ記憶部32aは、上述した文字コードデータを記憶する。また、属性データ記憶部32bは、文字コードデータに対して設定された印刷属性(以降、「属性データ」ともいう)を記憶する。   The character code data storage unit 32a stores the character code data described above. Further, the attribute data storage unit 32b stores print attributes (hereinafter, also referred to as “attribute data”) set for the character code data.

ここで、属性データ記憶部32bについて説明する。
図4は、属性データ記憶部32bの構成の説明図である。
図4に示すように、属性データ記憶部32bに印刷属性として記憶される属性種類は、文字の書体種別を示す「書体」、文字に対する装飾種別を示す「装飾」、文字の大きさを示す「文字サイズ(dot)」、縦書き/横書きを示す「縦・横」、キャラクター全体にかかる印刷属性として文字列全体にかかる枠を示す「枠」、文字と文字の間隔を示す「文字間(dot)」、テープTの長さを示す「テープ長(dot)」である。ここで、「dot」はドット数を意味している。
Here, the attribute data storage unit 32b will be described.
FIG. 4 is an explanatory diagram of the configuration of the attribute data storage unit 32b.
As shown in FIG. 4, the attribute types stored as print attributes in the attribute data storage unit 32 b are “typeface” indicating the font type of the character, “decoration” indicating the type of decoration for the character, and “ “Character size (dot)”, “Vertical / Horizontal” indicating vertical writing / horizontal writing, “Frame” indicating a frame covering the entire character string as a printing attribute for the entire character, “Character spacing (dot)” indicating the space between characters ”” Is “tape length (dot)” indicating the length of the tape T. Here, “dot” means the number of dots.

ユーザーが、印刷属性を設定するための印刷属性メニュー画面によって、印刷属性を設定すると、設定された設定値が属性データ記憶部32bのそれぞれの属性種類の設定データに記憶される。図4では、設定データに初期値(デフォルト値)が記憶されている。   When the user sets the print attribute on the print attribute menu screen for setting the print attribute, the set setting value is stored in the setting data of each attribute type in the attribute data storage unit 32b. In FIG. 4, initial values (default values) are stored in the setting data.

図3に戻り、RAM32の画像解析用メモリー32cは、撮像部50が撮像した撮影画像データを記憶する。そして、CPU31が撮影画像データの解析を行って、撮影画像データに含まれる文字コードデータ(テキストデータ)を抽出したり、属性データを抽出したりする。   Returning to FIG. 3, the image analysis memory 32 c of the RAM 32 stores the captured image data captured by the imaging unit 50. Then, the CPU 31 analyzes the photographed image data, extracts character code data (text data) included in the photographed image data, and extracts attribute data.

ROM33およびCGROM34は、マスクROMやフラッシュメモリー等の不揮発性の記憶装置で構成された記憶部であり、ROM33には、上述した制御プログラムや各種データ等が記憶されている。また、ROM33には、画像解析用メモリー32cの撮影画像データを解析して、文字コードデータや属性データを抽出する画像解析プログラム33aを備えている。   The ROM 33 and the CGROM 34 are storage units configured by a nonvolatile storage device such as a mask ROM or a flash memory. The ROM 33 stores the above-described control program, various data, and the like. The ROM 33 includes an image analysis program 33a that analyzes the captured image data of the image analysis memory 32c and extracts character code data and attribute data.

CGROM34には、テープ印刷装置1で印刷可能な文字のフォントデータが記憶されている。フォントデータは、サーマルヘッド15に印刷させる文字や、表示部12に表示させる文字を生成するためのビットマップ形式のデータである。ビットマップ形式のフォントデータは多数のドットで構成されており、各ドットはサーマルヘッド15の発熱素子や表示部12の画素に対応する。CGROM34には、複数のフォントのフォントデータが記憶されており、CPU31は、フォントの種別、文字サイズおよび文字コードを指定することによって、対応するフォントデータをCGROM34から取得し、このフォントデータを用いて表示画像データおよび印刷画像データを形成する。なお、フォントデータとしては、種々の文字サイズに対応させやすいアウトライン形式のフォントデータを用いるようにしてもよい。   The CGROM 34 stores font data of characters that can be printed by the tape printer 1. The font data is bitmap format data for generating characters to be printed on the thermal head 15 and characters to be displayed on the display unit 12. Bitmap font data is composed of a large number of dots, and each dot corresponds to a heating element of the thermal head 15 or a pixel of the display unit 12. The CGROM 34 stores font data of a plurality of fonts. The CPU 31 acquires the corresponding font data from the CGROM 34 by designating the font type, character size, and character code, and uses the font data. Display image data and print image data are formed. As the font data, outline-format font data that can easily correspond to various character sizes may be used.

入力インターフェイス35には、キーボード11、識別センサー19、および撮像部50が接続されている。ユーザーによりキーボード11が操作されると、キーボード11は、この操作を受け付けて、操作されたキーに対応するキー情報を、入力インターフェイス35を介してCPU31に出力する。また、識別センサー19は、装着されたテープカートリッジ2のテープ種別に応じた識別情報を、入力インターフェイス35を介してCPU31に出力する。また、撮像部50が撮像した撮影画像データは、入力インターフェイス35を介して画像解析用メモリー32cに記憶される。   The input interface 35 is connected to the keyboard 11, the identification sensor 19, and the imaging unit 50. When the user operates the keyboard 11, the keyboard 11 receives this operation and outputs key information corresponding to the operated key to the CPU 31 via the input interface 35. The identification sensor 19 outputs identification information corresponding to the tape type of the mounted tape cartridge 2 to the CPU 31 via the input interface 35. The captured image data captured by the imaging unit 50 is stored in the image analysis memory 32c 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 conveyance 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, Each of the transport mechanism 16 and the cutter unit 18 is driven.

上記のように構成されたテープ印刷装置1において、ユーザーにより電源キーが操作されると、テープ印刷装置1は、動作を開始し、文字キーによる文字の入力や、制御キーによる各種指示が可能な状態となる。   In the tape printing apparatus 1 configured as described above, when the user operates the power key, the tape printing apparatus 1 starts operation, and can input characters using the character keys and various instructions using the control keys. It becomes a state.

ここで、ユーザーにより文字キーが操作されて文字が入力されると、キーボード11は、この入力を受け付けて制御部30にキー情報を出力する。制御部30は、キーボード11から入力されるキー情報に基づいて、入力された文字の文字コードを特定し、この文字コードをRAM32の文字コードデータ記憶部32aに記憶する。そして、この文字コードに対応するフォントデータをCGROM34から取得し、このフォントデータを用いて表示画像データを形成する。制御部30がこの表示画像データを表示駆動部41に供給すると、入力された文字が表示部12に表示される。そして、ユーザーが文字の入力を複数回繰り返せば、文字コードデータ記憶部32aには、複数の文字コードを含んだ文字コードデータが記憶され、表示部12には、複数の文字からなる文字列が表示される。   Here, when the user operates a character key to input a character, the keyboard 11 receives this input and outputs key information to the control unit 30. The control unit 30 specifies the character code of the input character based on the key information input from the keyboard 11 and stores this character code in the character code data storage unit 32 a of the RAM 32. Then, font data corresponding to the character code is acquired from the CGROM 34, and display image data is formed using the font data. When the control unit 30 supplies the display image data to the display driving unit 41, the input characters are displayed on the display unit 12. If the user repeats character input a plurality of times, the character code data storage unit 32a stores character code data including a plurality of character codes, and the display unit 12 includes a character string composed of a plurality of characters. Is displayed.

また、ユーザーにより印刷属性メニューキーが押下され、印刷属性メニュー画面において操作がなされると、制御部30は、操作された操作情報に基づき、設定された印刷属性を属性データ記憶部32bに記憶する。   When the user presses the print attribute menu key and performs an operation on the print attribute menu screen, the control unit 30 stores the set print attribute in the attribute data storage unit 32b based on the operated operation information. .

文字(文字列)や印刷属性が入力された後、ユーザーにより印刷キーが操作されると、テープ印刷装置1は、印刷処理を実行する。   When the user operates a print key after inputting characters (character strings) and print attributes, the tape printer 1 executes print processing.

次に、テープ印刷装置1がテープ状印刷物である印刷ラベルを撮像して、フォーマット情報として文字コードデータや属性データを抽出する処理について説明する。
図5は、テープ印刷装置1の文字コードデータおよび属性データの抽出処理を説明するためのフローチャートである。また、図6は、撮像対象としての印刷ラベルと撮像データの説明図であり、図6(a)は、印刷ラベルの平面図であり、図6(b)は、印刷ラベルを撮像した撮影画像データの説明図である。
Next, a description will be given of a process in which the tape printer 1 captures a print label that is a tape-like printed matter and extracts character code data and attribute data as format information.
FIG. 5 is a flowchart for explaining the character code data and attribute data extraction processing of the tape printer 1. FIG. 6 is an explanatory diagram of a print label and image data as an imaging target, FIG. 6 (a) is a plan view of the print label, and FIG. 6 (b) is a captured image obtained by imaging the print label. It is explanatory drawing of data.

制御部30は、表示駆動部41に指示を出して、撮像する印刷ラベルL1のテープ幅情報を入力させるための撮像テープ幅選択画面を表示させる(ステップS101)。ここで、撮像テープ幅選択画面について説明する。
図7は、撮像テープ幅選択画面を表す説明図である。
The control unit 30 instructs the display driving unit 41 to display an imaging tape width selection screen for inputting the tape width information of the print label L1 to be imaged (step S101). Here, the imaging tape width selection screen will be described.
FIG. 7 is an explanatory diagram showing an imaging tape width selection screen.

図7に示すように、撮像テープ幅選択画面G1の最上部には、撮像テープ幅選択画面であることを表す「撮像テープ幅選択」の文字列が表示されている。その下には、順番に、「6mm」、「9mm」、「12mm」、「18mm」の文字列が表示されている。ユーザーは、キーボード11に備わるカーソルキーを押下し、さらに決定キーを押下することで、いずれかを選択することができる。選択されたテープ幅(テープ幅情報)は、RAM32に一時記憶される。ここで、選択中の項目は、白黒反転した文字で表示される。なお、本実施形態では、選択可能なテープ幅は、「6mm」、「9mm」、「12mm」、「18mm」としているが、これに限定するものではない。   As shown in FIG. 7, a character string “imaging tape width selection” representing the imaging tape width selection screen is displayed at the top of the imaging tape width selection screen G1. Below that, character strings of “6 mm”, “9 mm”, “12 mm”, and “18 mm” are displayed in order. The user can select one by pressing a cursor key provided on the keyboard 11 and further pressing a determination key. The selected tape width (tape width information) is temporarily stored in the RAM 32. Here, the currently selected item is displayed in black and white reversed characters. In the present embodiment, selectable tape widths are “6 mm”, “9 mm”, “12 mm”, and “18 mm”, but are not limited thereto.

図5に戻り、制御部30は、撮像テープ幅選択画面G1を表示した状態で、撮像する印刷ラベルのテープ幅をユーザーに選択させる(ステップS102)。テープ幅が選択されていなければ(ステップS102:NO)、ステップS102をループして、選択されるのを待ち続ける。テープ幅が選択されると(ステップS102:YES)、制御部30は、選択されたテープ幅(テープ幅情報)をRAM32に一時記憶する(ステップS103)。このときの制御部30およびキーボード11がテープ幅入力部に相当する。   Returning to FIG. 5, the control unit 30 causes the user to select the tape width of the print label to be imaged while the imaging tape width selection screen G1 is displayed (step S102). If the tape width has not been selected (step S102: NO), step S102 is looped to wait for selection. When the tape width is selected (step S102: YES), the control unit 30 temporarily stores the selected tape width (tape width information) in the RAM 32 (step S103). The control unit 30 and the keyboard 11 at this time correspond to a tape width input unit.

次に、制御部30は、撮像部50の撮像キー52が押下されたか否かを判断する(ステップS104)。撮像キー52が押下されていなければ(ステップS104:NO)、ステップS104をループして、押下されるのを待ち続ける。   Next, the control unit 30 determines whether or not the imaging key 52 of the imaging unit 50 has been pressed (step S104). If the imaging key 52 has not been pressed (step S104: NO), step S104 is looped to wait for the pressing.

ユーザーによって撮像キー52が押下されると(ステップS104:YES)、撮像部50は、CCDカメラによって、図6(a)のような印刷ラベルL1を撮像する(ステップS105)。このとき、撮像した撮影画像データは、図6(b)に示すような撮影画像データD1となる。そして、制御部30は、撮像部50が撮像した撮影画像データD1を入力し、RAM32の画像解析用メモリー32cに記憶させる。   When the imaging key 52 is pressed by the user (step S104: YES), the imaging unit 50 images the print label L1 as shown in FIG. 6A with the CCD camera (step S105). At this time, the captured image data is captured image data D1 as shown in FIG. Then, the control unit 30 inputs the captured image data D1 captured by the imaging unit 50 and stores it in the image analysis memory 32c of the RAM 32.

そして、制御部30は、画像解析プログラム33aを実行して画像解析用メモリー32cの撮影画像データD1を解析する(ステップS106)。そして、制御部30は、文字コードデータおよび属性データを抽出する(ステップS107)。具体的には、制御部30は、撮影画像データD1に対して、輪郭抽出処理を行う。そして、パターンマッチング処理を行って、文字や図形の形状の抽出を行う。これにより、「文字コードデータ」、および「書体」、「装飾」、「枠」、「縦・横」といった属性データを抽出する。   Then, the control unit 30 executes the image analysis program 33a and analyzes the captured image data D1 in the image analysis memory 32c (step S106). Then, the control unit 30 extracts character code data and attribute data (step S107). Specifically, the control unit 30 performs contour extraction processing on the captured image data D1. Then, pattern matching processing is performed to extract the shapes of characters and figures. Thereby, “character code data” and attribute data such as “typeface”, “decoration”, “frame”, “vertical / horizontal” are extracted.

また、図6(b)に示すように、撮影画像データからテープ輪郭TOを抽出してテープ幅方向とテープ長さ方向の比率を算出し、ステップS103で記憶したテープ幅(テープ幅情報)に基づいて、「テープ長」のドット数を算出する。また、テープ輪郭TOに占める文字部分の比率を算出し、テープ幅やテープ長のドット数から、「文字サイズ」、「文字間」を算出する。このときの制御部30が、フォーマット抽出部に相当する。なお、輪郭抽出処理およびパターンマッチング処理は、既知の技術を用いる。また、文字の抽出処理は、既知のOCR(Optical Character Recognition)技術に基づいて行うことも可能である。   Further, as shown in FIG. 6B, the tape contour TO is extracted from the captured image data, the ratio between the tape width direction and the tape length direction is calculated, and the tape width (tape width information) stored in step S103 is calculated. Based on this, the number of dots of “tape length” is calculated. Further, the ratio of the character portion occupying the tape outline TO is calculated, and “character size” and “character spacing” are calculated from the number of dots of the tape width and tape length. The control unit 30 at this time corresponds to a format extraction unit. Note that the contour extraction process and the pattern matching process use known techniques. The character extraction process can also be performed based on a known OCR (Optical Character Recognition) technique.

制御部30は、抽出した文字コードデータおよび属性データを、文字コードデータ記憶部32aおよび属性データ記憶部32bに書き込むことで、編集中の文書データに反映させる(ステップS108)。このときの制御部30が、フォーマット反映部に相当する。そして、文字コードデータや属性データを抽出する処理を終了する。   The control unit 30 writes the extracted character code data and attribute data into the character code data storage unit 32a and the attribute data storage unit 32b, thereby reflecting them in the document data being edited (step S108). The control unit 30 at this time corresponds to a format reflection unit. And the process which extracts character code data and attribute data is complete | finished.

図8は、フォーマット情報を抽出して反映する処理を行った後の文字コードデータ記憶部32aおよび属性データ記憶部32bの構成の説明図であり、図8(a)は、文字コードデータ記憶部32aの説明図であり、図8(b)は、属性データ記憶部32bの説明図である。上述した文字コードデータや属性データを抽出する処理を行うと、図8に示すように、文字コードデータ記憶部32aには、印刷ラベルL1と同様な文字コードデータ「ABC」が記憶される。また、属性データ記憶部32bに、印刷ラベルL1から抽出された属性データが記憶される。   FIG. 8 is an explanatory diagram of the configuration of the character code data storage unit 32a and the attribute data storage unit 32b after the process of extracting and reflecting the format information, and FIG. 8A shows the character code data storage unit. FIG. 8B is an explanatory diagram of the attribute data storage unit 32b. When the process of extracting the character code data and attribute data described above is performed, as shown in FIG. 8, the character code data “ABC” similar to the print label L1 is stored in the character code data storage unit 32a. Further, the attribute data extracted from the print label L1 is stored in the attribute data storage unit 32b.

上述した実施形態によれば、以下の効果が得られる。
(1)テープ印刷装置1は、撮像部50によって印刷ラベルL1を撮像し、撮影画像データD1を解析して属性データを抽出する。そして、抽出した属性データを属性データ記憶部32bに反映する。つまり、テープ印刷装置1は、印刷ラベルL1の書体、装飾、枠、縦・横といった属性データを抽出して編集中の文書データに反映することができる。そして、ユーザーは、その文書データを編集したり印刷したりすることができる。これにより、ユーザーは、属性データを設定変更するための操作を熟知していなくても、テープ印刷装置1によって、過去に作成した印刷ラベルと同様の属性データの印刷ラベルを容易に作成することが可能になる。また、他人が作成した印刷ラベルと同様の属性データの印刷ラベルを作成することも可能になる。
According to the embodiment described above, the following effects can be obtained.
(1) The tape printer 1 images the print label L1 by the imaging unit 50, analyzes the captured image data D1, and extracts attribute data. Then, the extracted attribute data is reflected in the attribute data storage unit 32b. That is, the tape printer 1 can extract attribute data such as the typeface, decoration, frame, and vertical / horizontal of the print label L1 and reflect it in the document data being edited. The user can edit or print the document data. Thus, even if the user is not familiar with the operation for changing the setting of the attribute data, the tape printing apparatus 1 can easily create a print label having the same attribute data as the print label created in the past. It becomes possible. It is also possible to create a print label having the same attribute data as a print label created by another person.

(2)テープ印刷装置1は、撮像部50によって印刷ラベルL1を撮像し、撮影画像データD1を解析して文字コードデータを抽出する。そして、抽出した文字コードデータを文字コードデータ記憶部32aに反映する。つまり、テープ印刷装置1は、印刷ラベルL1の文字コードデータを抽出して編集中の文書データに反映することができる。そして、ユーザーは、その文書データを編集したり印刷したりすることができる。これにより、ユーザーは、文字コードデータを入力するための操作を熟知していなくても、テープ印刷装置1によって、過去に作成した印刷ラベルと同様の文字コードデータの印刷ラベルを容易に作成することが可能になる。また、他人が作成した印刷ラベルと同様の文字コードデータの印刷ラベルを作成することも可能になる。   (2) The tape printer 1 images the print label L1 by the imaging unit 50, analyzes the captured image data D1, and extracts character code data. Then, the extracted character code data is reflected in the character code data storage unit 32a. That is, the tape printer 1 can extract the character code data of the print label L1 and reflect it in the document data being edited. The user can edit or print the document data. Thereby, even if the user does not know the operation for inputting the character code data, the tape printer 1 can easily create the print label of the character code data similar to the print label created in the past. Is possible. It is also possible to create a print label of character code data similar to a print label created by another person.

(3)テープ印刷装置1は、印刷ラベルL1のテープ幅(テープ幅情報)の入力を受け付ける。そして、テープ印刷装置1は、撮影画像データD1とテープ幅とに基づいて、印刷ラベルのテープ長を算出する。また、文字サイズや文字間も算出する。これにより、ユーザーは、テープ長、文字サイズ、文字間を設定変更するための操作を熟知していなくても、テープ印刷装置1によって、過去に作成した印刷ラベルと同様なテープ長、文字サイズ、文字間の印刷ラベルを容易に作成することができる。また、他人が作成した印刷ラベルと同様なテープ長、文字サイズ、文字間の印刷ラベルを作成することも可能になる。   (3) The tape printer 1 receives input of the tape width (tape width information) of the print label L1. Then, the tape printer 1 calculates the tape length of the print label based on the photographed image data D1 and the tape width. The character size and character spacing are also calculated. Thereby, even if the user is not familiar with the operation for changing the setting of the tape length, character size, and character spacing, the tape printer 1 can use the tape length, character size, Printing labels between characters can be easily created. It is also possible to create a print label similar to a print label created by another person, such as tape length, character size, and character.

(4)テープ印刷装置1は、撮像部50によって印刷ラベルを撮像することが可能であるため、例えば、テープ印刷装置1の取扱説明書等に印刷ラベルのサンプルを掲載しておけば、そのサンプルを撮像して、同様な属性データの印刷ラベルを作成することができる。よって、ユーザーは、複雑な属性データの設定を容易に行うことができる。   (4) Since the tape printing apparatus 1 can capture an image of the print label by the imaging unit 50, for example, if a sample of the print label is placed in the instruction manual of the tape printing apparatus 1, the sample Can be used to create a print label with similar attribute data. Therefore, the user can easily set complicated attribute data.

また、上述した実施形態は、上記機能を実現するためのプログラムをコンピューターで読み取り可能に記録した記録媒体等の態様で構成することも可能である。記録媒体としては、フレキシブルディスクやハードディスク、CDやDVD、Blu−ray Disc(登録商標)等の光ディスク、光磁気ディスク、不揮発性の半導体メモリーを搭載したメモリーカードやUSBメモリー、テープ印刷装置の内部記憶装置(RAMやROM等の半導体メモリー)等、前記コンピューターが読み取り可能な種々の媒体を利用することができる。   In addition, the above-described embodiment can be configured in the form of a recording medium or the like in which a program for realizing the above functions is recorded so as to be readable by a computer. Recording media include flexible disks, hard disks, CDs and DVDs, optical disks such as Blu-ray Disc (registered trademark), magneto-optical disks, memory cards equipped with non-volatile semiconductor memory, USB memories, and internal storage of tape printers. Various media that can be read by the computer, such as a device (a semiconductor memory such as a RAM or a ROM), can be used.

なお、上述した実施形態に限定されず、種々の変更や改良等を加えて実施することが可能である。変形例を以下に述べる。   In addition, it is not limited to embodiment mentioned above, It is possible to implement by adding various change, improvement, etc. A modification will be described below.

(変形例1)上記実施形態では、テープ印刷装置1は、ソフトウェアとしての画像解析プログラム33aを実行することで、撮影画像データD1を解析して文字コードデータや属性データを抽出しているが、画像解析プログラム33aと同様な処理を実行可能な回路装置(ハードウェア)を備え、その回路装置によって処理を行ってもよい。   (Modification 1) In the above embodiment, the tape printer 1 analyzes the captured image data D1 and extracts the character code data and attribute data by executing the image analysis program 33a as software. A circuit device (hardware) capable of executing the same processing as that of the image analysis program 33a may be provided, and the processing may be performed by the circuit device.

(変形例2)上記実施形態では、テープ印刷装置1の属性データ記憶部32bに記憶される属性種類は、「書体」、「装飾」、「文字サイズ」、「縦・横」、「枠」、「文字間」、「テープ長」としたが、これに限定するものではない。その他の印刷属性を抽出して記憶してもよい。   (Modification 2) In the above embodiment, the attribute types stored in the attribute data storage unit 32b of the tape printer 1 are “typeface”, “decoration”, “character size”, “vertical / horizontal”, “frame”. “Between characters” and “tape length”, but are not limited thereto. Other print attributes may be extracted and stored.

(変形例3)上記実施形態では、テープ印刷装置1の属性データ記憶部32bの「文字サイズ」、「文字間」、「テープ長」は、ドット数で記憶するものとしたが、これに限定するものではない。例えば、テープ幅に対する相対的な大きさを表す数値として記憶してもよい。   (Modification 3) In the above embodiment, the “character size”, “inter-character”, and “tape length” of the attribute data storage unit 32b of the tape printer 1 are stored as the number of dots. Not what you want. For example, you may memorize | store as a numerical value showing the relative magnitude | size with respect to a tape width.

(変形例4)上記実施形態では、テープ印刷装置1の本体と撮像部50とは、ケーブルCBを介して接続されるものとしたが、これに限定するものではない。例えば、電波等による無線通信によって撮像した撮影画像データを送信してもよい。また、撮像部50で撮像した撮影画像データをメモリーカード等の記録媒体に記憶し、その記録媒体をテープ印刷装置1の本体に装填することで、撮影画像データを画像解析用メモリー32cに転送するような態様としてもよい。   (Modification 4) In the above embodiment, the main body of the tape printer 1 and the imaging unit 50 are connected via the cable CB. However, the present invention is not limited to this. For example, captured image data captured by wireless communication using radio waves or the like may be transmitted. The captured image data captured by the imaging unit 50 is stored in a recording medium such as a memory card, and the captured image data is transferred to the image analysis memory 32c by loading the recording medium in the main body of the tape printer 1. It is good also as such an aspect.

(変形例5)上記実施形態では、テープTに文字等を印刷するための印刷方式として、サーマルヘッド15による熱転写方式を用いているが、この方式に限られず、インク滴を吐出するインクジェット方式等、他の印刷方式を用いてもよい。   (Modification 5) In the above embodiment, the thermal transfer method using the thermal head 15 is used as a printing method for printing characters and the like on the tape T. However, the present invention is not limited to this method, and an inkjet method for ejecting ink droplets or the like. Other printing methods may be used.

1…テープ印刷装置、2…テープカートリッジ、10…筐体、11…キーボード、12…表示部、15…サーマルヘッド、16…搬送機構、18…カッターユニット、19…識別センサー、30…制御部、31…CPU、32…RAM、32a…文字コードデータ記憶部、32b…属性データ記憶部、32c…画像解析用メモリー、33…ROM、33a…画像解析プログラム、34…CGROM、35…入力インターフェイス、36…出力インターフェイス、41…表示駆動部、42…ヘッド駆動部、43…搬送駆動部、44…カッター駆動部、50…撮像部、51…撮像レンズ、52…撮像キー。   DESCRIPTION OF SYMBOLS 1 ... Tape printer, 2 ... Tape cartridge, 10 ... Housing | casing, 11 ... Keyboard, 12 ... Display part, 15 ... Thermal head, 16 ... Conveyance mechanism, 18 ... Cutter unit, 19 ... Identification sensor, 30 ... Control part, 31 ... CPU, 32 ... RAM, 32a ... character code data storage unit, 32b ... attribute data storage unit, 32c ... memory for image analysis, 33 ... ROM, 33a ... image analysis program, 34 ... CGROM, 35 ... input interface, 36 DESCRIPTION OF SYMBOLS ... Output interface, 41 ... Display drive part, 42 ... Head drive part, 43 ... Conveyance drive part, 44 ... Cutter drive part, 50 ... Imaging part, 51 ... Imaging lens, 52 ... Imaging key.

Claims (9)

文書データに基づく画像をテープに印刷するテープ印刷装置であって、
テープ状印刷物を撮像する撮像部と、
前記撮像部が撮像した撮影画像データを解析して前記テープ状印刷物のフォーマット情報を抽出するフォーマット抽出部と、
前記フォーマット抽出部が抽出した前記フォーマット情報を前記文書データに反映するフォーマット反映部と、
を備えることを特徴とするテープ印刷装置。
A tape printer for printing an image based on document data on a tape,
An imaging unit for imaging a tape-like printed matter;
A format extraction unit that analyzes the captured image data captured by the imaging unit and extracts format information of the tape-like printed matter;
A format reflecting unit that reflects the format information extracted by the format extracting unit on the document data;
A tape printing apparatus comprising:
請求項1に記載のテープ印刷装置であって、
前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれるキャラクターの属性情報であることを特徴とするテープ印刷装置。
The tape printer according to claim 1,
The tape printer according to claim 1, wherein the format information extracted by the format extraction unit is character attribute information included in the captured image data.
請求項1または2に記載のテープ印刷装置であって、
前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれる前記キャラクターの文字コード情報であることを特徴とするテープ印刷装置。
The tape printer according to claim 1 or 2,
The tape printing apparatus, wherein the format information extracted by the format extraction unit is character code information of the character included in the captured image data.
請求項1乃至3のいずれか一項に記載のテープ印刷装置であって、
前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれる前記キャラクター全体にかかる属性情報であることを特徴とするテープ印刷装置。
It is a tape printer as described in any one of Claims 1 thru | or 3, Comprising:
The tape printing apparatus according to claim 1, wherein the format information extracted by the format extraction unit is attribute information relating to the entire character included in the captured image data.
請求項1乃至4のいずれか一項に記載のテープ印刷装置であって、
前記テープ状印刷物のテープ幅情報を入力するテープ幅入力部をさらに備え、
前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記テープ状印刷物の長さを前記フォーマット情報として抽出することを特徴とするテープ印刷装置。
It is a tape printer as described in any one of Claims 1 thru | or 4, Comprising:
A tape width input unit for inputting tape width information of the tape-like printed matter;
The said format extraction part extracts the length of the said tape-shaped printed matter as said format information based on the said tape width information, The tape printer characterized by the above-mentioned.
請求項5に記載のテープ印刷装置であって、
前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記撮影画像データに含まれる前記キャラクターの大きさを前記フォーマット情報として抽出することを特徴とするテープ印刷装置。
The tape printer according to claim 5, wherein
The format extracting unit extracts the size of the character included in the captured image data as the format information based on the tape width information.
請求項5または6に記載のテープ印刷装置であって、
前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記撮影画像データに含まれる前記キャラクターの文字間を前記フォーマット情報として抽出することを特徴とするテープ印刷装置。
The tape printer according to claim 5 or 6,
The said format extraction part extracts the space between the characters of the said character contained in the said picked-up image data as said format information based on the said tape width information, The tape printing apparatus characterized by the above-mentioned.
テープ状印刷物を撮像する撮像部を有し、文書データに基づく画像をテープに印刷するテープ印刷装置の制御方法であって、
前記テープ状印刷物を撮像する撮像ステップと、
前記撮像ステップによって撮像した撮影画像データを解析して前記テープ状印刷物のフォーマット情報を抽出するフォーマット抽出ステップと、
前記フォーマット抽出ステップが抽出した前記フォーマット情報を前記文書データに反映するフォーマット反映ステップと、
を備えることを特徴とするテープ印刷装置の制御方法。
A control method of a tape printer having an imaging unit for imaging a tape-like printed matter and printing an image based on document data on a tape,
An imaging step of imaging the tape-like printed matter;
A format extraction step of analyzing the captured image data captured by the imaging step and extracting format information of the tape-like printed matter;
A format reflecting step of reflecting the format information extracted by the format extracting step on the document data;
A control method for a tape printer, comprising:
コンピューターに、請求項8に記載のテープ印刷装置の制御方法における各ステップを実行させるためのプログラム。   The program for making a computer perform each step in the control method of the tape printer of Claim 8.
JP2010127591A 2010-06-03 2010-06-03 Tape printing device, method for controlling the same and program Withdrawn JP2011251484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010127591A JP2011251484A (en) 2010-06-03 2010-06-03 Tape printing device, method for controlling the same and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010127591A JP2011251484A (en) 2010-06-03 2010-06-03 Tape printing device, method for controlling the same and program

Publications (1)

Publication Number Publication Date
JP2011251484A true JP2011251484A (en) 2011-12-15

Family

ID=45415826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010127591A Withdrawn JP2011251484A (en) 2010-06-03 2010-06-03 Tape printing device, method for controlling the same and program

Country Status (1)

Country Link
JP (1) JP2011251484A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021070167A (en) * 2019-10-29 2021-05-06 株式会社寺岡精工 Label information processing device, label information processing method and program
EP4379530A1 (en) 2022-11-29 2024-06-05 Seiko Instruments Inc. Printing system, host device, printing control method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021070167A (en) * 2019-10-29 2021-05-06 株式会社寺岡精工 Label information processing device, label information processing method and program
EP4379530A1 (en) 2022-11-29 2024-06-05 Seiko Instruments Inc. Printing system, host device, printing control method, and program

Similar Documents

Publication Publication Date Title
CN101025780B (en) Image creating apparatus and printing apparatus containing same
KR100779299B1 (en) Print-image forming apparatus, print-image forming method, and program
EP2364856A2 (en) Tape printer, method for controlling tape printer, and program product
US9120329B2 (en) Printing apparatus for printing on print receiving tape, printing method and recording medium
US8587821B2 (en) Tape printer, method for controlling tape printer, and computer program product
US20130148142A1 (en) Recording medium
JP5914983B2 (en) Tape printing apparatus and display method in tape printing apparatus
JP5548992B2 (en) Printing device, printing method, printing control program
JP2011251484A (en) Tape printing device, method for controlling the same and program
JP2014000680A (en) Tape cartridge, tape printer, and control method of tape printer
JP5772045B2 (en) Tape printer, control method of tape printer, and program
CN108241594B (en) Character editing method, electronic device, and recording medium
JP4586701B2 (en) Printing device
JP2007034364A (en) Tape printing system, tape printer, and its control method
JP2012121216A (en) Tape printer, control method for tape printer, and program
JP6303692B2 (en) Printing apparatus, printing method, and program
US20110135367A1 (en) Tape printer, method for controlling tape printer, and computer program product
JP2011011450A (en) Tape printer and method for controlling the same
JP6812924B2 (en) Printing processing program and printing equipment
JP2018154007A (en) Print data generation device, label printer, print data generation method, and program therefor
JP2018161758A (en) Tape cassette and printer
JP2011240505A (en) Tape printing device, method of controlling the same, and program
JP3358614B2 (en) Tape cartridge, tape printing method, tape printing apparatus, and label making method
JP2015060540A (en) Creation device and creation method of correction sheet
JP6394553B2 (en) Editing device and printing device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130806