JP2011251484A - Tape printing device, method for controlling the same and program - Google Patents
Tape printing device, method for controlling the same and program Download PDFInfo
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Printers Characterized By Their Purpose (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
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.
このようなテープ印刷装置を用いてラベルを作成する際に、ユーザーは、過去に作成したラベルと同様の文字コード情報や属性情報(文字属性)のフォーマット情報のラベルを作成にしたい場合があった。例えば、ファイルの背表紙に貼付するラベルを作成する場合には、過去に作成したラベルと同じフォーマット情報にすることで、見た目を同様にしたいという要望があった。しかしながら、従来のテープ印刷装置では、フォーマット情報を設定変更するための操作を熟知していないと、過去に作成したラベルと同様なフォーマットのラベルを作成するのは困難であった。また、他人が作成したラベルと同様なフォーマットのラベルを作成することも困難であるという問題があった。 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.
以下、実施形態について説明する。 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
筐体10の上面手前側には、キーボード11が備えられている。キーボード11は、文字(キャラクター)列の入力等、ユーザーによる各種入力操作を受け付ける入力部であり、仮名、漢字、アルファベット、数字、および記号等の文字列を入力可能な多数の文字キーと、テープ印刷装置1に対して各種動作を指示するための複数の制御キーとを有している。キーボード11が備える制御キーには、電源のオンとオフとを切り換えるための電源キー、漢字に変換するための変換キー、入力した文字列等を確定させるための決定キー、属性情報としての印刷属性を設定するための印刷属性メニュー画面を表示させる印刷属性メニューキー、カーソルの移動等に用いられるカーソルキー、印刷を実行させるための印刷キー等が含まれる。
A
筐体10の上面奥側には、液晶表示装置等からなる表示部12が備えられている。表示部12は、マトリクス状に配列された多数の画素で画像を形成するものであり、キーボード11から入力された文字の表示や、メニュー画面やメッセージ画面の表示等に用いられる。
A
筐体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
テープカートリッジ2には、カートリッジケース20の内部に、ともに帯状のテープTとインクリボンRとが内蔵されている。テープTは、テープ印刷装置1の印刷媒体であり、PET(ポリエチレンテレフタレート)或いは紙材等からなる基材の裏面に接着剤層が形成され、それが剥離紙によって覆われた構成になっている。テープ印刷装置1は、テープTの幅や素材(基材の材質)、色等が異なる複数種類のテープカートリッジ2に対応可能であり、ユーザーは、用途や好みに応じたテープカートリッジ2を使用することができる。なお、テープカートリッジ2の裏面には、内蔵するテープTを識別するための複数の孔(図示せず)が設けられており、テープ印刷装置1は、凹部13の底面に備えられたマイクロスイッチ等の識別センサー19(図3参照)によって、装着されたテープカートリッジ2のテープ種別を識別することができる。
The
テープカートリッジ2を凹部13に装着すると、テープTの表面は、ヘッド嵌合部21において、インクリボンRを介してサーマルヘッド15と対向する。サーマルヘッド15には、テープTの長手方向(搬送方向)と直交する方向に1列に配列された複数の発熱素子(図示せず)が形成されており、各発熱素子を選択的に発熱させることにより、インクリボンRのインクがテープTの表面に転写(熱転写)される。ここで、回転軸16a,16bを回転駆動すると、テープTとインクリボンRは搬送されて、テープTはカートリッジケース20の外部に排出され、インクリボンRはカートリッジケース20の内部で巻き取られる。そして、テープTとインクリボンRとを少しずつ搬送しながら上記の熱転写を繰り返すことにより、複数のドットで構成される画像がテープTの表面に印刷される。
When the
筐体10の側面には、筐体10の外部と凹部13とを連通するスリット17が設けられており、カートリッジケース20から排出された印刷済みのテープTは、スリット17を通って筐体10の外部に向けて所定量だけ搬送される。筐体10の内部には、スリット17を横断するテープTを切断するためのカッターユニット18が配設されており、テープTの印刷済みの部位は、このカッターユニット18によって切り離され、テープ片(ラベル)としてスリット17の開口部(テープ排出口)から排出される。
A
撮像部50は、筐体50aで覆われた構成を有しており、CCDカメラを有している。筐体50aの前面50fには、撮像レンズ51が露出している。また、筐体50aの上面50tには、撮像を指示するための撮像キー52を備えている。撮像キー52が押下されると、CCDカメラによって撮像が行われ、撮像された撮影画像データが、ケーブルCBを介してテープ印刷装置1の本体に転送される。なお、本実施形態では、撮像部50は、CCDカメラとしたが、これに限定しない。その他の撮像機能を備えたカメラとしてもよいし、撮像素子を備えたスキャナー等としてもよい。
The
図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
As shown in FIG. 3, the
制御部30は、コンピューターとして機能するものであり、互いにバス30aを介して接続されたCPU(Central Processing Unit)31、RAM(Random Access Memory)32、ROM33、CGROM(キャラクタージェネレーターROM)34、入力インターフェイス(I/F)35、出力インターフェイス(I/F)36等を有している。
The
CPU31は、ROM33に記憶されている制御プログラムに従って動作し、テープ印刷装置1全体の各種動作を制御する。
The
RAM32は、揮発性の記憶装置で構成された記憶部であり、CPU31の各種処理結果や、キーボード11から入力された文字コード情報(以降、「文字コードデータ」と呼ぶ)、表示部12に表示させる表示画像データ、サーマルヘッド15に印刷させる印刷画像データ等を一時的に記憶する。RAM32は、文字コードデータ記憶部32a、属性データ記憶部32b、および画像解析用メモリー32cを備えている。
The
文字コードデータ記憶部32aは、上述した文字コードデータを記憶する。また、属性データ記憶部32bは、文字コードデータに対して設定された印刷属性(以降、「属性データ」ともいう)を記憶する。
The character code
ここで、属性データ記憶部32bについて説明する。
図4は、属性データ記憶部32bの構成の説明図である。
図4に示すように、属性データ記憶部32bに印刷属性として記憶される属性種類は、文字の書体種別を示す「書体」、文字に対する装飾種別を示す「装飾」、文字の大きさを示す「文字サイズ(dot)」、縦書き/横書きを示す「縦・横」、キャラクター全体にかかる印刷属性として文字列全体にかかる枠を示す「枠」、文字と文字の間隔を示す「文字間(dot)」、テープTの長さを示す「テープ長(dot)」である。ここで、「dot」はドット数を意味している。
Here, the attribute
FIG. 4 is an explanatory diagram of the configuration of the attribute
As shown in FIG. 4, the attribute types stored as print attributes in the attribute
ユーザーが、印刷属性を設定するための印刷属性メニュー画面によって、印刷属性を設定すると、設定された設定値が属性データ記憶部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
図3に戻り、RAM32の画像解析用メモリー32cは、撮像部50が撮像した撮影画像データを記憶する。そして、CPU31が撮影画像データの解析を行って、撮影画像データに含まれる文字コードデータ(テキストデータ)を抽出したり、属性データを抽出したりする。
Returning to FIG. 3, the
ROM33およびCGROM34は、マスクROMやフラッシュメモリー等の不揮発性の記憶装置で構成された記憶部であり、ROM33には、上述した制御プログラムや各種データ等が記憶されている。また、ROM33には、画像解析用メモリー32cの撮影画像データを解析して、文字コードデータや属性データを抽出する画像解析プログラム33aを備えている。
The
CGROM34には、テープ印刷装置1で印刷可能な文字のフォントデータが記憶されている。フォントデータは、サーマルヘッド15に印刷させる文字や、表示部12に表示させる文字を生成するためのビットマップ形式のデータである。ビットマップ形式のフォントデータは多数のドットで構成されており、各ドットはサーマルヘッド15の発熱素子や表示部12の画素に対応する。CGROM34には、複数のフォントのフォントデータが記憶されており、CPU31は、フォントの種別、文字サイズおよび文字コードを指定することによって、対応するフォントデータをCGROM34から取得し、このフォントデータを用いて表示画像データおよび印刷画像データを形成する。なお、フォントデータとしては、種々の文字サイズに対応させやすいアウトライン形式のフォントデータを用いるようにしてもよい。
The
入力インターフェイス35には、キーボード11、識別センサー19、および撮像部50が接続されている。ユーザーによりキーボード11が操作されると、キーボード11は、この操作を受け付けて、操作されたキーに対応するキー情報を、入力インターフェイス35を介してCPU31に出力する。また、識別センサー19は、装着されたテープカートリッジ2のテープ種別に応じた識別情報を、入力インターフェイス35を介してCPU31に出力する。また、撮像部50が撮像した撮影画像データは、入力インターフェイス35を介して画像解析用メモリー32cに記憶される。
The
出力インターフェイス36には、表示駆動部41、ヘッド駆動部42、搬送駆動部43、およびカッター駆動部44が接続されており、これらは、CPU31の制御に基づいて、表示部12、サーマルヘッド15、搬送機構16、およびカッターユニット18をそれぞれ駆動する。
A
上記のように構成されたテープ印刷装置1において、ユーザーにより電源キーが操作されると、テープ印刷装置1は、動作を開始し、文字キーによる文字の入力や、制御キーによる各種指示が可能な状態となる。
In the
ここで、ユーザーにより文字キーが操作されて文字が入力されると、キーボード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
また、ユーザーにより印刷属性メニューキーが押下され、印刷属性メニュー画面において操作がなされると、制御部30は、操作された操作情報に基づき、設定された印刷属性を属性データ記憶部32bに記憶する。
When the user presses the print attribute menu key and performs an operation on the print attribute menu screen, the
文字(文字列)や印刷属性が入力された後、ユーザーにより印刷キーが操作されると、テープ印刷装置1は、印刷処理を実行する。
When the user operates a print key after inputting characters (character strings) and print attributes, the
次に、テープ印刷装置1がテープ状印刷物である印刷ラベルを撮像して、フォーマット情報として文字コードデータや属性データを抽出する処理について説明する。
図5は、テープ印刷装置1の文字コードデータおよび属性データの抽出処理を説明するためのフローチャートである。また、図6は、撮像対象としての印刷ラベルと撮像データの説明図であり、図6(a)は、印刷ラベルの平面図であり、図6(b)は、印刷ラベルを撮像した撮影画像データの説明図である。
Next, a description will be given of a process in which the
FIG. 5 is a flowchart for explaining the character code data and attribute data extraction processing of the
制御部30は、表示駆動部41に指示を出して、撮像する印刷ラベルL1のテープ幅情報を入力させるための撮像テープ幅選択画面を表示させる(ステップS101)。ここで、撮像テープ幅選択画面について説明する。
図7は、撮像テープ幅選択画面を表す説明図である。
The
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
図5に戻り、制御部30は、撮像テープ幅選択画面G1を表示した状態で、撮像する印刷ラベルのテープ幅をユーザーに選択させる(ステップS102)。テープ幅が選択されていなければ(ステップS102:NO)、ステップS102をループして、選択されるのを待ち続ける。テープ幅が選択されると(ステップS102:YES)、制御部30は、選択されたテープ幅(テープ幅情報)をRAM32に一時記憶する(ステップS103)。このときの制御部30およびキーボード11がテープ幅入力部に相当する。
Returning to FIG. 5, the
次に、制御部30は、撮像部50の撮像キー52が押下されたか否かを判断する(ステップS104)。撮像キー52が押下されていなければ(ステップS104:NO)、ステップS104をループして、押下されるのを待ち続ける。
Next, the
ユーザーによって撮像キー52が押下されると(ステップS104:YES)、撮像部50は、CCDカメラによって、図6(a)のような印刷ラベルL1を撮像する(ステップS105)。このとき、撮像した撮影画像データは、図6(b)に示すような撮影画像データD1となる。そして、制御部30は、撮像部50が撮像した撮影画像データD1を入力し、RAM32の画像解析用メモリー32cに記憶させる。
When the
そして、制御部30は、画像解析プログラム33aを実行して画像解析用メモリー32cの撮影画像データD1を解析する(ステップS106)。そして、制御部30は、文字コードデータおよび属性データを抽出する(ステップS107)。具体的には、制御部30は、撮影画像データD1に対して、輪郭抽出処理を行う。そして、パターンマッチング処理を行って、文字や図形の形状の抽出を行う。これにより、「文字コードデータ」、および「書体」、「装飾」、「枠」、「縦・横」といった属性データを抽出する。
Then, the
また、図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
制御部30は、抽出した文字コードデータおよび属性データを、文字コードデータ記憶部32aおよび属性データ記憶部32bに書き込むことで、編集中の文書データに反映させる(ステップS108)。このときの制御部30が、フォーマット反映部に相当する。そして、文字コードデータや属性データを抽出する処理を終了する。
The
図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
上述した実施形態によれば、以下の効果が得られる。
(1)テープ印刷装置1は、撮像部50によって印刷ラベルL1を撮像し、撮影画像データD1を解析して属性データを抽出する。そして、抽出した属性データを属性データ記憶部32bに反映する。つまり、テープ印刷装置1は、印刷ラベルL1の書体、装飾、枠、縦・横といった属性データを抽出して編集中の文書データに反映することができる。そして、ユーザーは、その文書データを編集したり印刷したりすることができる。これにより、ユーザーは、属性データを設定変更するための操作を熟知していなくても、テープ印刷装置1によって、過去に作成した印刷ラベルと同様の属性データの印刷ラベルを容易に作成することが可能になる。また、他人が作成した印刷ラベルと同様の属性データの印刷ラベルを作成することも可能になる。
According to the embodiment described above, the following effects can be obtained.
(1) The
(2)テープ印刷装置1は、撮像部50によって印刷ラベルL1を撮像し、撮影画像データD1を解析して文字コードデータを抽出する。そして、抽出した文字コードデータを文字コードデータ記憶部32aに反映する。つまり、テープ印刷装置1は、印刷ラベルL1の文字コードデータを抽出して編集中の文書データに反映することができる。そして、ユーザーは、その文書データを編集したり印刷したりすることができる。これにより、ユーザーは、文字コードデータを入力するための操作を熟知していなくても、テープ印刷装置1によって、過去に作成した印刷ラベルと同様の文字コードデータの印刷ラベルを容易に作成することが可能になる。また、他人が作成した印刷ラベルと同様の文字コードデータの印刷ラベルを作成することも可能になる。
(2) The
(3)テープ印刷装置1は、印刷ラベルL1のテープ幅(テープ幅情報)の入力を受け付ける。そして、テープ印刷装置1は、撮影画像データD1とテープ幅とに基づいて、印刷ラベルのテープ長を算出する。また、文字サイズや文字間も算出する。これにより、ユーザーは、テープ長、文字サイズ、文字間を設定変更するための操作を熟知していなくても、テープ印刷装置1によって、過去に作成した印刷ラベルと同様なテープ長、文字サイズ、文字間の印刷ラベルを容易に作成することができる。また、他人が作成した印刷ラベルと同様なテープ長、文字サイズ、文字間の印刷ラベルを作成することも可能になる。
(3) The
(4)テープ印刷装置1は、撮像部50によって印刷ラベルを撮像することが可能であるため、例えば、テープ印刷装置1の取扱説明書等に印刷ラベルのサンプルを掲載しておけば、そのサンプルを撮像して、同様な属性データの印刷ラベルを作成することができる。よって、ユーザーは、複雑な属性データの設定を容易に行うことができる。
(4) Since the
また、上述した実施形態は、上記機能を実現するためのプログラムをコンピューターで読み取り可能に記録した記録媒体等の態様で構成することも可能である。記録媒体としては、フレキシブルディスクやハードディスク、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
(変形例2)上記実施形態では、テープ印刷装置1の属性データ記憶部32bに記憶される属性種類は、「書体」、「装飾」、「文字サイズ」、「縦・横」、「枠」、「文字間」、「テープ長」としたが、これに限定するものではない。その他の印刷属性を抽出して記憶してもよい。
(Modification 2) In the above embodiment, the attribute types stored in the attribute
(変形例3)上記実施形態では、テープ印刷装置1の属性データ記憶部32bの「文字サイズ」、「文字間」、「テープ長」は、ドット数で記憶するものとしたが、これに限定するものではない。例えば、テープ幅に対する相対的な大きさを表す数値として記憶してもよい。
(Modification 3) In the above embodiment, the “character size”, “inter-character”, and “tape length” of the attribute
(変形例4)上記実施形態では、テープ印刷装置1の本体と撮像部50とは、ケーブルCBを介して接続されるものとしたが、これに限定するものではない。例えば、電波等による無線通信によって撮像した撮影画像データを送信してもよい。また、撮像部50で撮像した撮影画像データをメモリーカード等の記録媒体に記憶し、その記録媒体をテープ印刷装置1の本体に装填することで、撮影画像データを画像解析用メモリー32cに転送するような態様としてもよい。
(Modification 4) In the above embodiment, the main body of the
(変形例5)上記実施形態では、テープTに文字等を印刷するための印刷方式として、サーマルヘッド15による熱転写方式を用いているが、この方式に限られず、インク滴を吐出するインクジェット方式等、他の印刷方式を用いてもよい。
(Modification 5) In the above embodiment, the thermal transfer method using the
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
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:
前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれるキャラクターの属性情報であることを特徴とするテープ印刷装置。 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.
前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれる前記キャラクターの文字コード情報であることを特徴とするテープ印刷装置。 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.
前記フォーマット抽出部が抽出する前記フォーマット情報は、前記撮影画像データに含まれる前記キャラクター全体にかかる属性情報であることを特徴とするテープ印刷装置。 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.
前記テープ状印刷物のテープ幅情報を入力するテープ幅入力部をさらに備え、
前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記テープ状印刷物の長さを前記フォーマット情報として抽出することを特徴とするテープ印刷装置。 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.
前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記撮影画像データに含まれる前記キャラクターの大きさを前記フォーマット情報として抽出することを特徴とするテープ印刷装置。 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.
前記フォーマット抽出部は、前記テープ幅情報に基づいて、前記撮影画像データに含まれる前記キャラクターの文字間を前記フォーマット情報として抽出することを特徴とするテープ印刷装置。 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:
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)
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 |
-
2010
- 2010-06-03 JP JP2010127591A patent/JP2011251484A/en not_active Withdrawn
Cited By (2)
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 |