JP2556238C - - Google Patents

Info

Publication number
JP2556238C
JP2556238C JP2556238C JP 2556238 C JP2556238 C JP 2556238C JP 2556238 C JP2556238 C JP 2556238C
Authority
JP
Japan
Prior art keywords
tape
size
printing
block
print
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.)
Expired - Lifetime
Application number
Other languages
Japanese (ja)
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Publication date

Links

Description

【発明の詳細な説明】 【産業上の利用分野】 本発明は、テープに文字や記号を印字するテープ印字装置に関し、特に任意行
数の文字や記号毎にブロックとして指定し、複数のブロックをテープの長手方向 に配置して印字するものにおいて、ブロックに含まれる複数の文字や記号を印字
する為の文字サイズを、各ブロックの印字行数に応じてブロック毎に選択するよ
うにしたものに関する。 【従来の技術】 本願出願人は、実開平1ー85050号公報に記載のように、印字媒体として
のテープ(例えば、10ミリ、約24ミリの幅のテープ)に文字や記号を印字で
きるテープ印字装置を実用化したが、このテープ印字装置は、ファイルの背表紙
に貼るファイル名を印字したテープを作成するのに好適なものである。 更に、本願出願人は、前記テープに複数行の文字や記号を印字する機能を付加
したテープ印字装置を提案した(特願平3ー91492号参照)。 【発明が解決しようとする課題】 上記テープ印字装置においては、入力しようとする行数を設定し、しかも複数
行のときには1つずつ行を指定してデータを入力しなければならず、非常に面倒
である。また従来のテープ印字装置において、テキストメモリに格納した文書デ
ータを設定した所望の印字行数、例えば、2行或いは3行で印字する場合の文字
サイズは、その印字行数に応じて予め1種類だけ設定するようになっている。と
ころで、テープに印字する文字列によっては、これら文字列を、例えば、2行印
字部分と3行印字部分のように、印字行数を変更し且つ連続させて印字したい場
合がある。この場合、最大の印字行数でテープ印字が可能となる文字サイズを予
め設定して文字列を印字するので、行数が変更されても1種類の文字サイズで印
字されることになり、特に印字行数が少ない文字列の文字サイズがテープ幅に対
して小さくなり、全体として見栄えが低下するという問題がある。 本発明は、任意行数の文字や記号からなるブロックをテープの長手方向に複数
配置して印字するテープ印字装置において、ブロックに含まれる複数の文字や記
号を印字する為の文字サイズを、各ブロックの印字行数に応じて選択し、テープ
幅に対し、各ブロックを見栄えよく印字することを目的とする。 【課題を解決するための手段】 本発明に係るテープ印字装置は、文字や記号を入力する入力手段と、印字媒体
としてのテープにそのテープの長手方向に相対移動して印字する印字ヘッドを含 む印字手段と、任意行数の文字や記号を1つのブロックとして区切ってそのブロ
ックを前記テープの長手方向に複数個配置するための改ブロックデータを入力す
るブロック指定手段と、前記印字手段に供されるテープの幅に関するデータを検
出する検出手段と、前記ブロック毎にそのブロック内にある行数を求める行数演
算手段と、前記ブロック毎に、前記行数と前記テープの幅に基いてそのブロック
に印字可能な文字や記号のサイズを前記テープのテープ幅の各々についてそのテ
ープ幅に印字可能な文字サイズを印字行数毎に設定したサイズテーブルを参照し
選択するサイズ選択手段と、その選択した文字や記号のサイズで、前記入力さ
れた文字や記号を前記印字手段に印字させる印字制御手段とを備えた構成とする
ことができる。 上記テープ印字装置において好ましくは、前記テープに印字する文字の複数の
サイズデータを格納した格納手段を備え、前記サイズ選択手段はその格納手段か
ら所定のサイズを選択するように構成することができる。 さらに上記テープ印字装置において好ましくは、前記テープに印字する文字や
記号のサイズを手動選択するサイズ設定キーを備え、そのサイズ設定キーで文字
や記号のサイズを手動選択する状態と、前記サイズ選択手段で自動選択する状態
を切換え可能に構成することができる。 【作用】 本発明のテープ印字装置は、上記構成により、入力手段で文字や記号を入力す
るに際して、改行キーや改ブロックキーで、文字や記号を任意長さで改行してテ
ープ幅方向の複数行に配列するとともに、任意行数でブロックとして区切り、複
数のブロックをテープ長手方向に配置する。文字や記号の任意の位置で改行、改
ブロックを指定するので、容易に文字や記号を所望の配置にすることができる。
そして印字に際して、検出手段によりテープの幅に関するデータが検出され、且
つ、行数演算手段により各ブロック内の行数が求められ、その行数とテープ幅に
基いてそのブロックに印字可能な文字や記号のサイズが、サイズ選択手段により
テープのテープ幅の各々についてそのテープ幅に印字可能な文字サイズを印字行
数毎に設定したサイズテーブルを参照して、各ブロックの印字行数に応じて各ブ
ロック単位に自動的に選択される。印字制御手段は、選択されたサイズに基いて ドットパターンデータを作成して印字手段に印字させる。 このように、文字印字の為のサイズはブロック単位でその印字行数に応じて
ープのテープ幅の各々についてそのテープ幅に印字可能な文字サイズを印字行数
毎に設定したサイズテーブルを参照して、自動的に選択されるので、印字行数が
増減しても、各ブロックの文字や記号をテープ幅に対して常にバランス良く且つ
良好に印字できる。 また好ましくは、文字や記号のサイズは、上記のように自動で選択できるだけ
でなく、手動でも任意の大きさを選択してテープ上に印字をすることもでき、テ
ープ作成の自由度を増すことができる。 【実施例】 以下、本発明の実施例について図面に基いて説明する。 本実施例は、アルファベット文字や記号などの多数のキャラクタを印字用テー
プ(印字媒体としてのテープ)に印字可能な英語専用のテープ印字装置に本発明
を適用した場合のものである。 図に示すように、テープ印字装置1の本体フレーム2の前部にはキーボード
3が配設され、キーボード3の後方で本体フレーム2内には印字機構PMが配設
され、またキーボード3の後方には文字や記号を表示可能な液晶ディスプレイ2
2が設けられている。 キーボード3には、アルファベットや数字や記号を入力する為の文字キー、ス
ペースキー、改行指令の為の改行キー、改ブロック指令の為の改ブロックキー、
カーソルを右方或いは左方へ移動させるカーソル移動キー、文書データを作成す
る文書作成キー、印字フォーマットを設定する為のフォーマット設定キー、印字
文字のサイズを設定するサイズ設定キー、印字文字の書体を設定する書体設定キ
ー、印字を実行する印字キー、電源をON・OFFする為の電源キーなどが設け
られている。 次に、図に基いて印字機構PMについて簡単に説明すると、印字機構PMに
着脱自在に矩形状のテープ収納カセットCSが装着されており、このテープ収納
カセットCSには、透明なフィルムからなる幅約24mmの印字用テープ5が巻装
されたテープスプール6と、インクリボン7が巻装されたリボン供給スプール8 と、このインクリボン7を巻取る巻取りスプール9と、印字用テープ5と同一幅
を有する両面テープ10が剥離紙を外側にして巻装された供給スプール11と、
これら印字用テープ5と両面テープ10とを接合させる接合ローラ12とが回転
自在に設けられている。 印字用テープ5とインクリボン7とが重なる位置には、サーマルヘッド13が
立設され、これら印字用テープ5とインクリボン7とをサーマルヘッド13に押
圧するプラテンローラ14と、印字用テープ5と両面テープ10とを接合ローラ
12に押圧する送りローラ15とは支持体16に回転可能に枢支されている。こ
のサーマルヘッド13には、上下方向すなわちテープ幅方向に列設された128
個の発熱素子からなる発熱素子群が設けられている。従って、テープ送りモータ
24(図参照)の所定回転方向への駆動により接合ローラ12と巻取りスプー
ル9とが所定回転方向に夫々同期して駆動されながら発熱素子群に通電されたと
き、印字用テープ5上はその長手方向(テープ送り方向A)に送られながら複数
のドット列により文字が印字され、しかも印字後、印字用テープ5は両面テープ
10を接合した状態で送り出される。印字機構PMは、公知の構成(例えば特開
平2ー106555号公報を参照)と同様である。 前記テープ収納カセットCSの底部壁にはテープ収納カセットCSの種類つま
り収納された印字用テープ5のテープ幅を設定する為のカセット判別部材17が
取付けられており、カセット判別部材17に設けられた突出片(図示略)を検出
する為のフォトインタラプタからなるカセット判別センサ18(図参照)が本
体フレーム2に取付けられている。従って、カセット判別センサ18からの判別
信号に基いてテープ幅を検出できるようになっている。また、テープ幅を「6mm
」、「9mm」、「12mm」、「18mm」とする印字用テープ5が巻装された各種
のテープ収納カセットCSが別途準備されている。 次に、テープ印字装置1の制御系は、図のブロック図に示すように構成され
ている。 キーボード3と、カセット判別センサ18と、警告用ブザー20の為の駆動回
路21と、液晶ディスプレイ(LCD)22に表示データを出力する為の表示用
RAMを有するディスプレイコントローラ(LCDC)23と、サーマルヘッド 13を駆動する為の駆動回路25と、テープ送りモータ24を駆動する為の駆動
回路26と、は制御装置Cの入出力インターフェース27に夫々接続されている
。制御装置Cは、CPU29と、このCPU29にデータバスなどのバス28を
介して接続された入出力インターフェース27、CGROM30、ROM31・
32及びRAM40とから構成されている。 CGROM(パターンデータメモリ)30には、多数のキャラクタの各々に関
して、表示の為のドットパターンデータがコードデータに対応させて格納されて
いる。ROM(アウトラインデータメモリ)31には、キャラクタを印字する為
に多数のキャラクタの各々に関して、キャラクタの輪郭線を規定する輪郭線デー
タ(アウトラインデータ)が書体(ゴシック系書体、明朝系書体など)毎に分類
されコードデータに対応させて格納されている。尚、これら多数のアウトライン
データの各々には、印字イメージの縦方向の寸法と横方向の寸法とが夫々格納さ
れている。 ROM32には、キーボード3から入力された文字や数字や記号などのキャラ
クタのコードデータに対応させてディスプレイコントローラ23を制御する表示
駆動制御プログラム、テキストメモリ41の各コードデータに対応するアウトラ
インデータから印字用のドットパターンデータに変換処理して印字バッファ47
に展開するイメージ展開処理制御プログラム、印字バッファ47のデータを順次
読出してサーマルヘッド13やテープ送りモータ24を駆動する印字駆動制御プ
ログラム、本願特有の後述のテープ印字制御の制御プログラムなどが格納されて
いる。更に、ROM32には、印字用テープ5の5種類のテープ幅の各々につい
て、そのテープ幅に印字可能な文字サイズを印字行数毎に設定したサイズテーブ
ルTBが予め格納されている。例えば、「24mm」のテープ幅のサイズテーブル
TB(24)は、図に示すように、印字可能な印字行数「1」〜「5」の各々
についてその文字サイズが設定されている。尚、他の4種類のサイズテーブルT
Bについても同様なので、その図示及び説明を省略する。 RAM40のテキストメモリ41には、キーボード3から入力された文字や記
号のコードデータが文書データとして格納される。印字フォーマットメモリ42
には、設定された文字サイズデータPZや書体のデータなど複数の印字フォーマ ット情報が格納される。ブロック数カウンタ43には、テキストメモリ41に格
納された文書データ中のブロック数Nがセットされる。文字サイズメモリ44に
は、設定されたサイズデータPZが格納される。印字行数メモリ45には、ブロ
ック文書データの印字行数Lが格納される。ワークメモリ46には、読出された
ブロック文書データが格納される。印字バッファ47には、イメージ展開された
複数の文字や記号のドットパターンデータが格納される。従って、この印字バッ
ファ47には、縦方向(ドット列方向)に128ドットに対応する128ビット
(16バイト)、横方向に50文字分の所定ビットからなる大きさのメモリ容量
が設けられ、1行又は複数行の印字文字のドットパターンデータが展開される。
フラグメモリ48には、文字サイズとしてオートサイズが設定されたときにセッ
ト(データが「1」)されるオートフラグAFのフラグデータが格納される。更
に、RAM40には、CPU40で演算した演算結果を一時的に格納するバッフ
ァやカウンタやポインタなどが設けられている。 次に、テープ印字装置1の制御装置Cで行なわれるテープ印字制御のルーチン
について、その概略を図のフローチャートに基いて説明する。尚、図中符号S
i(i=10、30、60・・・・)は各ステップである。 電源キー操作により電源が投入されるとこの制御が開始され、先ず文書作成キ
ーの操作後、操作された文字キーやスペースキーや改行キーや改ブロックキーに
対応するコードデータを文書データとして入力する文書データ入力・編集処理が
実行される(S10)。 次に、フォーマット設定キーの操作により、文字サイズや書体や修飾指定など
の印字フォーマットを設定する処理が実行される(S30)。従って、この印字
フォーマット設定処理には、文字サイズ設定処理や書体設定処理など複数のフォ
ーマット設定処理が含まれている。次に、印字キーの操作により文書データを印
字する為の印字用ドットパターンデータを印字バッファ47に展開するドットパ
ターンデータ作成処理が実行され(S60)、この印字バッファ47から読出し
たドットパターンデータを印字機構PMに出力して印字処理が実行される(S9
0)。 次に、前記印字フォーマット設定処理に含まれる文字サイズ設定処理制御のル ーチンについて、図のフローチャートに基いて説明する。 サイズ設定キーが操作されるとこの制御が開始され、先ず文字サイズ設定画面
がディスプレイ22に表示される(S31)。例えば、図に示すように、数字
「1」〜「6」に対応して印字の為の文字サイズがポイント値で夫々表示される
とともに、数字「7」に対応してオートサイズが表示される。次に、文字サイズ
設定に有効な数字キーが操作されたときに(S32・S33:Yes)、オート
サイズ以外の任意の文字サイズが設定されたときには(S34:No)、オート
サイズフラグAFがリセットされ(S36)、設定されたサイズデータPZが文
字サイズメモリ44に記憶され(S37)、この制御を終了してテープ印字制御
にリターンする。しかし、オートサイズが選択されたときには(S34:Yes
)、オートサイズフラグAFがセットされてオートサイズモードが設定され(S
35)、同様にテープ印字制御にリターンする。 次に、S60で実行される印字用ドットパターンデータ作成処理制御のルーチ
ンについて、図のフローチャートに基いて説明する。尚、このとき、テキスト
メモリ41には、図に示すように、第1・第2・第3ブロックの文書データが
順次格納されるとともに、各ブロック文書データの区切り位置には改ブロックキ
ー操作で入力された改ブロックコードが夫々格納されている。そして、第1ブロ
ックの文書データとして2行印字の為の文字列が格納され、第2ブロックの文書
データとして1行印字の為の文字列が格納され、第3ブロックの文書データとし
て5行印字の為の文字列が格納されている(図10参照)。 この制御が開始されたときに、先ずカセット判別センサ18からの判別信号に
基いてテープ幅のデータが読込まれる(S61)。そして、テキストメモリ41
内に印字すべき文書データが存在するときには(S62:Yes)、改ブロック
コードの数に基いてブロック数Nが求められ(S63)、そのブロック数Nがブ
ロック数カウンタ43にブロック数BCとして格納される(S64)。次に、オ
ートサイズモードが設定されているときには(S65:Yes)、先ず先頭ブロ
ックのブロック文書データが読出されてワークメモリ46に格納される(S66
)。例えば、図に示すテキストメモリ41から、第1印字行の文字列「WEA
K」と第2印字行の文字列「POINT」とからなる第1ブロック文書データが ワークメモリ46に格納される。次に、このブロック文書データの印字行数Lが
改行コード及び改ブロックコードの数により求められ、その印字行数Lが印字行
数メモリ45に格納される(S67)。 次に、テープ幅データに対応するサイズテーブルTBと印字行数Lとに基いて
、使用中の印字用テープ5に文字印字する為の読出されたサイズデータがオート
サイズAPとして求められ、このオートサイズAPが文字サイズメモリ44に格
納される(S68)。例えば、使用中の印字用テープ5のテープ幅が「24mm」
で、印字行数Lが「2」のときには、図に示すサイズテーブルTBからオート
サイズAPとして「20ポイント」が求められる。そして、オートサイズAPと
テープ幅データと印字行数Lとアウトラインデータとに基いて各印字行の基線位
置(ベースライン位置)が夫々求められる(S69)。次に、これら各印字行の
基線位置に基いて、ワークメモリ46から各印字行の文字列のコードデータが読
込まれ、アウトラインデータを拡大縮小処理するとともに、このアウトラインデ
ータから印字用のドットパターンデータが作成され、このドットパターンデータ
が順次印字バッファ47に展開される(S70)。次に、前記ブロック数BCが
1つデクリメントされ(S71)、ブロック数BCが「0」でないときつまり後
続するブロック文書データがテキストメモリ41に存在するときには(S72:
No)、S65以降が実行され、後続するブロック文書データについて順次ドッ
トパターンデータが作成されて印字バッファ47に展開される。 そして、テキストメモリ41内の全てのブロック文書データについてドットパ
ターンデータが作成されたときには(S72:Yes)、この制御を終了した後
、この印字バッファ47に格納されたドットパターンデータに基いて印字処理が
実行される(S90)。例えば、図に示すテキストメモリ41から、後続する
1印字行からなる第2ブロックの文書データ、5印字行からなる第3ブロックの
文書データが読出され、各ブロック毎に求めたオートサイズAPとなるように、
ドットパターンデータが順次作成されて印字バッファ47に格納される。 そして、印字処理された結果、図10に示すように、第1・第2・第3ブロッ
クB1〜B3の各々は、ブロック単位でその印字行数Lに応じて自動的に選択さ
れ、印字行数Lが増減しても、各ブロックB1〜B3の文字や記号をテープ幅に 対して常にバランス良く且つ良好に印字できる。更に、各ブロックB1〜B3の
文字や記号が同一サイズで印字され、各ブロックB1〜B3における文字や記号
のバランスを常に良好にできる。 一方、オートサイズモードが設定されていないときには(S65:No)、S
66、S67と同様に先ず先頭ブロックのブロック文書データが読出されるとと
もに、そのブロック文書データの印字行数Lが求められる(S73・S74)。
そして、文字サイズメモリ44に格納されたサイズデータPZとテープ幅データ
と印字行数Lとアウトラインデータとに基いて、各印字行の文字高さを合計した
総文字高さが印字用テープ5の印字可能領域より小さく、印字可能なときには(
S75:Yes)、S69以降が実行され、各ブロック文書データについてその
ドットパターンデータが順次作成されて印字バッファ47に格納される。尚、こ
の制御の開始時に印字すべき文書データがテキストメモリ41に存在しないとき
(S61:No)、又は総文字高さが印字可能領域より大きなり、印字不可能な
ときには(S75:No)、警告の為にブザー20が鳴動され(S76)、テー
プ印字制御のS10に移行する。 尚、サイズテーブルTBに格納する印字行数やサイズは一例に過ぎず、複数の
印字行数や各種のサイズを設定することが可能である。尚、テープ幅Wが24mm
以外の種々の印字用テープ5を使用することも可能である。尚、文字や記号の印
字イメージをドットパターンデータで記憶するようにしたテープ印字装置など、
種々のテープ印字装置に本発明を適用し得ることは勿論である。 【発明の効果】 以上のように本発明によれば次のような効果が得られる。すなわち文字印字の
為のサイズがブロック毎にその印字行数に応じて自動的に選択され、印字行数が
増減しても、各ブロックの文字や記号をテープ幅に対して常にバランス良く且つ
良好に印字できる。 またサイズ選択手段で、各ブロック毎に1つのサイズを選択することで、各ブ
ロックの文字や記号が同一サイズで印字され、各ブロックにおける文字や記号の
バランスを常に良好にできる。 また本発明のテープ印字装置は、文字や記号を入力するに際して、文字や記号 の任意の位置で改行、改ブロックを指定することで、容易に文字や記号を所望の
配置にすることができ、そして印字に際して、各ブロック内の行数を求め、その
行数に基いて選択したサイズの文字や記号で上記のようにバランスよく印字でき
る。 さらに文字や記号のサイズを選択するに際してテープ幅も参照されることで、
任意のテープ幅に対してバランスよく印字できる。 また文字や記号のサイズは、上記のように自動で選択できるだけでなく、手動
でも任意の大きさを選択してテープ上に印字をすることもでき、テープ作成の自
由度を増すことができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tape printer for printing characters and symbols on a tape, and more particularly to a tape printer for designating a block for each character or symbol of an arbitrary number of lines. In the case of printing by arranging in the longitudinal direction of the tape, the character size for printing a plurality of characters and symbols included in the block is selected for each block according to the number of printing lines of each block . 2. Description of the Related Art As described in Japanese Utility Model Laid-Open Publication No. 1-85050, the applicant of the present invention has a tape (for example, a tape having a width of 10 mm and a width of about 24 mm) as a printing medium which can print characters and symbols. Although a printing device has been put to practical use, this tape printing device is suitable for producing a tape on which the file name to be attached to the spine of a file is printed. Further, the applicant of the present application has proposed a tape printing apparatus having a function of printing a plurality of lines of characters and symbols on the tape (see Japanese Patent Application No. 3-91492). In the above-described tape printer, the number of lines to be input must be set, and when there are a plurality of lines, data must be input by designating one line at a time. It is troublesome. In a conventional tape printer, the desired number of print lines set for document data stored in the text memory, for example, the character size when printing two or three lines is determined by one type in advance according to the number of print lines. Only set it. By the way, depending on the character strings to be printed on the tape, there are cases where it is desired to change the number of print lines and continuously print these character strings, for example, in a two-line print part and a three-line print part. In this case, a character string is printed in advance by setting a character size that enables tape printing with the maximum number of printing lines, so that even if the number of lines is changed, printing is performed with one type of character size. There is a problem that the character size of a character string having a small number of print lines becomes smaller with respect to the tape width, and overall appearance is reduced. The present invention provides a tape printer that prints a plurality of blocks of characters and symbols of an arbitrary number of lines arranged in the longitudinal direction of the tape, and sets a character size for printing a plurality of characters and symbols included in the blocks. The purpose is to select each block according to the number of print lines of the block, and to print each block with good appearance over the tape width. Tape printer according to the problem-solving means for the present invention includes an input means for inputting characters and symbols, a print head for printing by relative movement in the longitudinal direction of the tape in the tape as a print medium Printing means for inputting new block data for dividing a character or symbol of an arbitrary number of lines into one block and arranging a plurality of such blocks in the longitudinal direction of the tape; Detecting means for detecting data relating to the width of the tape to be performed; line number calculating means for obtaining the number of lines in the block for each block; and for each block, the number of lines based on the number of lines and the width of the tape. The size of the characters or symbols that can be printed on the block is specified for each tape width of the tape.
Refer to the size table that sets the character size that can be printed in the
And a print control unit for causing the printing unit to print the input character or symbol in the size of the selected character or symbol. The tape printing apparatus preferably includes a storage unit storing a plurality of size data of characters to be printed on the tape, and the size selection unit can be configured to select a predetermined size from the storage unit. The tape printing apparatus preferably further comprises a size setting key for manually selecting the size of the character or symbol to be printed on the tape, wherein the size setting key manually selects the size of the character or symbol; , The state of automatic selection can be switched. According to the tape printing apparatus of the present invention, characters and symbols are inputted by the input means .
When entering characters and symbols with a line feed key or block
In addition to arranging on multiple lines in the width direction of the
A number of blocks are arranged in the longitudinal direction of the tape. Line breaks and line breaks at any position in characters and symbols
Since a block is specified, characters and symbols can be easily arranged in a desired arrangement.
Then, at the time of printing, data relating to the width of the tape is detected by the detecting means, and
First, the number of lines in each block is calculated by the line number calculating means, and the number of lines and the tape width are calculated.
The size of characters and symbols that can be printed on the block based on the size selection means
Prints the printable character size for each tape width of the tape.
By referring to the size table set for each number, it is automatically selected for each block according to the number of print lines of each block. The printing control means creates dot pattern data based on the selected size and causes the printing means to print. Te In this way, the size of the order of the character printing in accordance with the number of the print line on a block-by-block basis
For each tape width of the tape, the character size that can be printed on that tape width is the number of printing lines.
Since the size is automatically selected by referring to the size table set for each block, even if the number of print lines increases or decreases, characters and symbols in each block can always be printed in a well-balanced and good manner with respect to the tape width. Preferably, the size of characters and symbols can be automatically selected as described above, and the size can be manually selected and printed on the tape, thereby increasing the degree of freedom in tape creation. Can be. Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the present embodiment, the present invention is applied to a tape printer exclusively for English which can print a large number of characters such as alphabetic characters and symbols on a printing tape (tape as a printing medium). As shown in FIG. 1 , a keyboard 3 is provided at a front portion of a main body frame 2 of the tape printer 1, a printing mechanism PM is provided in the main body frame 2 behind the keyboard 3, and a keyboard 3 is provided. A liquid crystal display 2 that can display characters and symbols behind
2 are provided. The keyboard 3 includes a character key for inputting alphabets, numbers and symbols, a space key, a line feed key for a line feed command, a line feed key for a line feed command,
Cursor movement keys to move the cursor right or left, document creation key to create document data, format setting key to set print format, size setting key to set print character size, font of print character A typeface setting key for setting, a print key for executing printing, a power key for turning on / off the power, and the like are provided. Next, the printing mechanism PM will be briefly described with reference to FIG. 2. A rectangular tape storage cassette CS is detachably mounted on the printing mechanism PM, and the tape storage cassette CS is made of a transparent film. A tape spool 6 on which a printing tape 5 having a width of about 24 mm is wound, a ribbon supply spool 8 on which an ink ribbon 7 is wound, a winding spool 9 for winding the ink ribbon 7, and a printing tape 5; A supply spool 11 on which a double-sided tape 10 having the same width is wound with the release paper outside,
A joining roller 12 for joining the printing tape 5 and the double-sided tape 10 is rotatably provided. At a position where the printing tape 5 and the ink ribbon 7 overlap with each other, a thermal head 13 is erected, and a platen roller 14 for pressing the printing tape 5 and the ink ribbon 7 against the thermal head 13; A feed roller 15 for pressing the double-sided tape 10 against the joining roller 12 is rotatably supported by a support 16. The thermal head 13 has 128 heads arranged in the vertical direction, that is, in the tape width direction.
A heating element group including a plurality of heating elements is provided. Therefore, when the joining roller 12 and the take-up spool 9 are driven in synchronization with each other in the predetermined rotation direction by the drive of the tape feed motor 24 (see FIG. 3 ) in the predetermined rotation direction, and when the heating element group is energized, printing is performed. On the printing tape 5, characters are printed by a plurality of dot rows while being sent in the longitudinal direction (tape feeding direction A), and after printing, the printing tape 5 is sent out with the double-sided tape 10 joined. The printing mechanism PM has the same configuration as that of a known configuration (for example, see Japanese Patent Application Laid-Open No. 2-106555). A cassette discriminating member 17 for setting the type of the tape accommodating cassette CS, that is, the tape width of the stored printing tape 5 is attached to the bottom wall of the tape accommodating cassette CS. A cassette discriminating sensor 18 (see FIG. 3 ) composed of a photo interrupter for detecting a projecting piece (not shown) is attached to the main body frame 2. Therefore, the tape width can be detected based on the discrimination signal from the cassette discrimination sensor 18. Also, set the tape width to "6mm
, "9 mm", "12 mm", and "18 mm", various tape storage cassettes CS around which the printing tape 5 is wound are separately prepared. Next, the control system of the tape printing apparatus 1 is configured as shown in the block diagram of FIG. A keyboard 3; a cassette discrimination sensor 18; a drive circuit 21 for a warning buzzer 20; a display controller (LCDC) 23 having a display RAM for outputting display data to a liquid crystal display (LCD) 22; A drive circuit 25 for driving the head 13 and a drive circuit 26 for driving the tape feed motor 24 are connected to an input / output interface 27 of the control device C, respectively. The control device C includes a CPU 29, an input / output interface 27 connected to the CPU 29 via a bus 28 such as a data bus, a CGROM 30, a ROM 31.
32 and a RAM 40. In a CGROM (pattern data memory) 30, dot pattern data for display is stored in association with code data for each of a large number of characters. In a ROM (outline data memory) 31, outline data (outline data) for defining the outline of the character for each of a large number of characters in order to print the character is a typeface (Gothic typeface, Mincho typeface, etc.). Each code is classified and stored in association with the code data. It should be noted that each of these multiple outline data stores a vertical dimension and a horizontal dimension of the print image. The ROM 32 prints from a display drive control program for controlling the display controller 23 in correspondence with character code data such as characters, numbers and symbols input from the keyboard 3, and outline data corresponding to each code data in the text memory 41. To print dot pattern data
And a print drive control program for sequentially reading data from the print buffer 47 and driving the thermal head 13 and the tape feed motor 24, and a tape print control control program unique to the present application. I have. Further, in the ROM 32, for each of the five types of tape widths of the printing tape 5, a size table TB in which the character size that can be printed on the tape width is set for each number of printing lines is stored in advance. For example, in the size table TB (24) having a tape width of “24 mm”, as shown in FIG. 4 , the character size is set for each of the printable line numbers “1” to “5”. The other four types of size tables T
Since the same applies to B, its illustration and description are omitted. The text memory 41 of the RAM 40 stores code data of characters and symbols input from the keyboard 3 as document data. Print format memory 42
Stores a plurality of print format information such as set character size data PZ and typeface data. The number of blocks N in the document data stored in the text memory 41 is set in the block number counter 43. The set size data PZ is stored in the character size memory 44. The print line number memory 45 stores the print line number L of the block document data. The work memory 46 stores the read block document data. The print buffer 47 stores dot pattern data of a plurality of characters and symbols developed as images. Therefore, the print buffer 47 is provided with a memory capacity of 128 bits (16 bytes) corresponding to 128 dots in the vertical direction (dot row direction) and predetermined bits of 50 characters in the horizontal direction. The dot pattern data of a line or a plurality of lines of print characters is developed.
The flag memory 48 stores the flag data of the auto flag AF which is set (the data is “1”) when the auto size is set as the character size. Further, the RAM 40 is provided with a buffer, a counter, a pointer, and the like for temporarily storing the calculation result calculated by the CPU 40. Next, the routine of the tape print control performed by the controller C of the tape printer 1 will be described with reference to the schematic in the flowchart of FIG. In addition, the symbol S in the figure
i (i = 10, 30, 60...) is each step. When the power is turned on by operating the power key, this control is started. First, after operating the document creation key, code data corresponding to the operated character key, space key, line feed key, and block feed key is input as document data. The document data input / edit processing is executed (S10). Next, a process for setting a print format such as a character size, a font, and a decoration designation is performed by operating the format setting key (S30). Therefore, the print format setting process includes a plurality of format setting processes such as a character size setting process and a font setting process. Next, a dot pattern data creation process for expanding the print dot pattern data for printing the document data in the print buffer 47 by operating the print key is executed (S60), and the dot pattern data read from the print buffer 47 is read. The data is output to the printing mechanism PM and the printing process is executed (S9).
0). Next, the routine of the character size setting process control included in the print format setting process will be described with reference to the flowchart of FIG. When the size setting key is operated, this control is started, and first, a character size setting screen is displayed on the display 22 (S31). For example, as shown in FIG. 9 , the character size for printing is displayed as a point value corresponding to the numbers "1" to "6", and the auto size is displayed corresponding to the number "7". You. Next, when a numeric key valid for the character size setting is operated (S32 / S33: Yes), and when any character size other than the automatic size is set (S34: No), the auto size flag AF is reset. (S36), the set size data PZ is stored in the character size memory 44 (S37), and the control is terminated to return to the tape print control. However, when the auto size is selected (S34: Yes
), The auto size flag AF is set and the auto size mode is set (S
35) Similarly, the flow returns to the tape print control. Next, the routine of the print dot pattern data creation processing control executed by the S60, will be described with reference to the flowchart of FIG. At this time, as shown in FIG. 8 , the text memory 41 sequentially stores the document data of the first, second, and third blocks, and operates a new block key operation at the delimiting position of each block of document data. Are stored respectively. A character string for two-line printing is stored as document data of the first block, a character string for one-line printing is stored as document data of the second block, and five lines are printed as document data of the third block. Is stored (see FIG. 10 ). When this control is started, first, tape width data is read based on a discrimination signal from the cassette discrimination sensor 18 (S61). Then, the text memory 41
If there is document data to be printed in the block (S62: Yes), the number of blocks N is obtained based on the number of new block codes (S63), and the number of blocks N is stored in the block number counter 43 as the number of blocks BC. Is performed (S64). Next, when the auto size mode is set (S65: Yes), first, the block document data of the first block is read and stored in the work memory 46 (S66).
). For example, from the text memory 41 shown in FIG. 8 , the character string "WEA
First block document data composed of “K” and the character string “POINT” of the second print line is stored in the work memory 46. Next, the number L of print lines of the block document data is determined from the number of line feed codes and block feed codes, and the number L of print lines is stored in the print line number memory 45 (S67). Next, based on the size table TB corresponding to the tape width data and the number of print lines L, read-out size data for printing characters on the printing tape 5 in use is obtained as an auto size AP. The size AP is stored in the character size memory 44 (S68). For example, the tape width of the printing tape 5 in use is “24 mm”
In, when the number of print line L is "2", "20 points" is obtained as the auto size AP from the size table TB shown in FIG. Then, the base line position (base line position) of each print line is obtained based on the auto size AP, the tape width data, the number of print lines L, and the outline data (S69). Next, the code data of the character string of each print line is read from the work memory 46 based on the base line position of each print line, and the outline data is scaled up and down. Are created, and the dot pattern data is sequentially developed in the print buffer 47 (S70). Next, the block number BC is decremented by one (S71), and when the block number BC is not "0", that is, when the subsequent block document data exists in the text memory 41 (S72:
No), S65 and the subsequent steps are executed, and dot pattern data is sequentially created for the subsequent block document data and developed in the print buffer 47. When the dot pattern data has been created for all the block document data in the text memory 41 (S72: Yes), after this control is completed, the printing process is performed based on the dot pattern data stored in the print buffer 47. Is executed (S90). For example, from the text memory 41 shown in FIG. 8 , the following document data of the second block consisting of one print line is read out, and the document data of the third block consisting of five print lines is read out. So that
The dot pattern data is sequentially created and stored in the print buffer 47. As a result of the printing process, as shown in FIG. 10 , each of the first, second, and third blocks B1 to B3 is automatically selected in block units according to the number L of printing lines, and Even if the number L increases or decreases, characters and symbols in the blocks B1 to B3 can always be printed in a well-balanced and good manner with respect to the tape width. Further, the characters and symbols in each of the blocks B1 to B3 are printed in the same size, and the balance of the characters and symbols in each of the blocks B1 to B3 can always be improved. On the other hand, when the auto size mode is not set (S65: No),
Similarly to 66 and S67, first, the block document data of the first block is read, and the number L of print lines of the block document data is obtained (S73 and S74).
Then, based on the size data PZ, the tape width data, the number of print lines L, and the outline data stored in the character size memory 44, the total character height obtained by summing the character heights of the respective print lines is equal to the total character height of the print tape 5. When it is smaller than the printable area and printable (
S75: Yes), S69 and the subsequent steps are executed, and dot pattern data for each block document data is sequentially created and stored in the print buffer 47. If the document data to be printed does not exist in the text memory 41 at the start of this control (S61: No), or if the total character height is larger than the printable area and printing is not possible (S75: No), The buzzer 20 is sounded for a warning (S76), and the flow shifts to S10 for tape print control. Note that the number of print lines and the size stored in the size table TB are merely examples, and a plurality of print lines and various sizes can be set. In addition, tape width W is 24mm
It is also possible to use various printing tapes 5 other than the above. In addition, such as a tape printer that stores the print image of characters and symbols as dot pattern data,
Of course, the present invention can be applied to various tape printers. As described above, according to the present invention, the following effects can be obtained. In other words, the size for character printing is automatically selected for each block according to the number of printing lines, and even if the number of printing lines increases or decreases, characters and symbols in each block are always balanced and good with respect to the tape width. Can be printed on Also, by selecting one size for each block by the size selection means, characters and symbols in each block are printed in the same size, and the balance of characters and symbols in each block can always be improved. In addition, the tape printing apparatus of the present invention can easily arrange characters and symbols in a desired arrangement by designating a line feed or block at an arbitrary position of the character or symbol when inputting the character or symbol, At the time of printing, the number of lines in each block is obtained, and the characters and symbols of the size selected based on the number of lines can be printed in a well-balanced manner as described above. In addition, when selecting the size of characters and symbols, the tape width is also referred to,
Printing can be performed in a balanced manner for any tape width. In addition to the automatic selection of the size of characters and symbols as described above, it is also possible to manually select an arbitrary size and print on the tape, thereby increasing the degree of freedom in tape creation.

【図面の簡単な説明】 【図1】 テープ印字装置の平面図である。 【図2】 印字機構の概略平面図である。 【図3】 テープ印字装置の制御系のブロック図である。 【図4】 サイズテーブルの設定内容を示す図表である。 【図5】テープ印字制御のルーチンの概略フローチャートである。 【図6】 文字サイズ設定処理制御のルーチンの概略フローチャートである。 【図7】 印字用ドットパターンデータ作成処理制御のルーチンの概略フローチャートで
ある。 【図8】 テキストメモリ内のデータ構成を説明する説明図である。 【図9】 文字サイズ設定画面の表示例を示す図である。 【図10】 ブロック単位でサイズを決定して印字された印字例を示す図である。 【符号の説明】 1 テープ印字装置 3 キーボード 13 サーマルヘッド 24 テープ送りモータ 29 CPU 31 ROM 32 ROM 40 RAM 41 テキストメモリ 44 印字バッファ C 制御装置 CS テープ収納カセット PM 印字機構 TB サイズテーブル
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a plan view of a tape printer. FIG. 2 is a schematic plan view of a printing mechanism. FIG. 3 is a block diagram of a control system of the tape printer. FIG. 4 is a table showing setting contents of a size table. FIG. 5 is a schematic flowchart of a tape print control routine. FIG. 6 is a schematic flowchart of a character size setting process control routine; FIG. 7 is a schematic flowchart of a printing dot pattern data creation processing control routine;
is there. FIG. 8 is an explanatory diagram illustrating a data configuration in a text memory. FIG. 9 is a diagram illustrating a display example of a character size setting screen. FIG. 10 is a diagram illustrating a print example in which a size is determined and printed in block units. [Description of Signs] 1 Tape printer 3 Keyboard 13 Thermal head 24 Tape feed motor 29 CPU 31 ROM 32 ROM 40 RAM 41 Text memory 44 Print buffer C Controller CS Tape storage cassette PM Printing mechanism TB Size table

Claims (1)

【特許請求の範囲】 【請求項】 文字や記号を入力する入力手段と、 印字媒体としてのテープにそのテープの長手方向に相対移動して印字する印字
ヘッドを含む印字手段と、 任意行数の文字や記号を1つのブロックとして区切ってそのブロックを前記テ
ープの長手方向に複数個配置するための改ブロックデータを入力するブロック指
定手段と、 前記印字手段に供されるテープの幅に関するデータを検出する検出手段と、 前記ブロック毎にそのブロック内にある行数を求める行数演算手段と、 前記ブロック毎に、前記行数と前記テープの幅に基いてそのブロックに印字可
能な文字や記号のサイズを前記テープのテープ幅の各々についてそのテープ幅に
印字可能な文字サイズを印字行数毎に設定したサイズテーブルを参照して選択す
るサイズ選択手段と、 その選択した文字や記号のサイズで、前記入力された文字や記号を前記印字手
段に印字させる印字制御手段と を備えたことを特徴とするテープ印字装置。 【請求項】 さらに前記テープに印字する文字の複数のサイズデータを格納
した格納手段を備え、前記サイズ選択手段はその格納手段から所定のサイズを選
択することを特徴とする請求項に記載のテープ印字装置。 【請求項】 さらに前記テープに印字する文字や記号のサイズを手動選択す
るサイズ設定キーを備え、そのサイズ設定キーで文字や記号のサイズを手動選択
する状態と、前記サイズ選択手段で自動選択する状態を切換え可能にしたことを
特徴とする請求項に記載のテープ印字装置。
Claims: 1. An input means for inputting characters and symbols, a printing means including a print head for relatively moving a tape as a printing medium in a longitudinal direction of the tape and printing, and an arbitrary number of lines. Block designating means for inputting new block data for arranging the characters and symbols as one block and arranging a plurality of blocks in the longitudinal direction of the tape; and data relating to the width of the tape provided to the printing means Detecting means for detecting, line number calculating means for calculating the number of lines in the block for each block, characters and symbols printable on the block based on the number of lines and the width of the tape for each block To the tape width for each of the tape widths of the tape
Size selection means for selecting a printable character size by referring to a size table set for each number of printing lines, and causing the printing means to print the input characters and symbols in the size of the selected characters and symbols. A tape printer, comprising: a print controller. Wherein further comprising a storage means for storing a plurality of size data of the characters to be printed on the tape, the size selecting means according to claim 1, characterized in that selecting a predetermined size from the storage unit Tape printing device. 3. A size setting key for manually selecting the size of a character or a symbol to be printed on the tape, wherein the size of the character or symbol is manually selected with the size setting key, and the size is automatically selected by the size selecting means. 2. The tape printing apparatus according to claim 1 , wherein the state of the tape printing is switched.

Family

ID=

Similar Documents

Publication Publication Date Title
JP2556238B2 (en) Tape printer
JP2556224B2 (en) Tape printer
JP2536322B2 (en) Tape printing device
JP2940404B2 (en) Label making device
JP3094658B2 (en) Tape printer
JP2629516B2 (en) Tape printer
JP2621741B2 (en) Recording device
JP2560951B2 (en) Tape printer
JP3377277B2 (en) Document processing device
JPH0830600A (en) Document processor
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
JP3249687B2 (en) Tape-shaped label making device
JP2998829B2 (en) Tape-shaped label making device
JP3139514B2 (en) Tape printer
JP2556238C (en)
JPH05185654A (en) Tape printing apparatus
JPH06198962A (en) Preparing device for registration dot pattern data of tape printer
JP3064810B2 (en) Label making device
JP3063544B2 (en) Tape printer
JP3292393B2 (en) Document processing device
JPH07285244A (en) Printing device
JP2560650B2 (en) Tape printer
JP2606126B2 (en) Tape recorder
JP3045021B2 (en) Tape printer
JP3123577B2 (en) Tape printer