JP2508933C - - Google Patents

Info

Publication number
JP2508933C
JP2508933C JP2508933C JP 2508933 C JP2508933 C JP 2508933C JP 2508933 C JP2508933 C JP 2508933C
Authority
JP
Japan
Prior art keywords
data
print
tape
character
line
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

【発明の詳細な説明】 【産業上の利用分野】 本発明は、印字媒体テープ上に複数の印字行にわたってキャラクタ印字が可能
なテープ印字装置に関する。 【従来の技術】 従来、幅約10ミリ前後の印字用テープに所望の文字列を印字する小型のテー
プ印字装置に関して種々提案されている。そこで、本願出願人は特開平1−15
2070号公報において、印字可能な全角文字と4倍角文字のうち全角文字につ
いて、印字するキャラクタの印字位置を印字用テープの幅方向の中央位置に揃え
て印字するセンタ印字モードとその幅方向の下側に揃えて印字する下揃え印字モ
ードとを選択可能に構成した印字位置変更可能な印字装置を提案した。 【発明が解決しようとする課題】 一般に、このテープ印字装置を用いて、例えばファイルの「表題」や「内容」
を印字用テープに印字し、この印字された印字用テープをファイルの所定の貼付 位置に貼着する場合が多い。 しかし、本願出願人が提案した印字位置変更可能な印字装置においては、印字
用テープに印字するキャラクタの印字位置をセンタに揃える印字モードと下側に
揃える下揃え印字モードとしか設けていないので、所定の貼付位置に貼着する印
字用テープに印字可能な文字数は、その貼付位置の長さと印字文字の文字幅とで
決定される文字数以内の文字数に制限されるという問題がある。 また上記のように印字用テープの貼付箇所の事情によって、テープ内に多数の
文字を印字しなければならなかったり、そのテープの幅内に2行あるいは複数行
に並べて印字したいことがある。 テープ印字装置は、ほぼ制限のない長さのテープに連続して印字するものであ
るから、一般のワードプロセッサのように印字ヘッドを印字媒体に沿って往復移
動させかつそれと直角方向に印字媒体を送ることによって印字媒体全面に複数行
印字したり、印字媒体の左右幅の範囲で印字データに自動的に改行を付して印字
することができない。 本発明の目的は、印字媒体テープ上に複数の印字行にわたってキャラクタ印字
が可能なテープ印字装置を提供することにある。 【課題を解決するための手段】 本発明に係るテープ印字装置は、図1に大略構成を示すように印字媒体テープ
の幅方向に対応配置された印字ヘッドと、その印字ヘッドと前記テープをそのテ
ープの幅方向と直交する長手方向に相対移動させる移動手段と、印字されるべき
キャラクタのデータを入力する入力手段と、前記キャラクタのデータを適宜の位
置で区切って前記テープの幅方向に複数の印字行に印字することを設定するため
の行印字指令データを入力する行設定手段と、前記入力手段により入力されたキ
ャラクタのデータ及び前記行設定手段により入力された行印字指令データを入力
順に格納するための入力データバッファと、前記行設定手段で入力され、前記入
力データバッファに格納された前記行印字指令データに基づいて、前記入力デー
タバッファに格納された各印字行のキャラクタのデータを、前記テープの幅内に
対応して配置し印字データに形成するデータ形成手段を備え、前記データ形成手
段は、前記テープの幅内に対応する全ての行の印字データを並行して前記印字ヘ ッドに供給するとともに前記テープの長手方向に対応するデータを順次前記印字
ヘッドに供給する構成を備えたものである。 本発明に係るテープ印字装置において、前記データ形成手段は、前記キャラク
タのデータに対応したパターンデータを格納したパターンデータ記憶手段と、前
記各行のキャラクタのデータに対応するパターンデータを前記パターンデータ記
憶手段から受けて、前記テープの幅方向に配置される複数行に合成する合成手段
を備えることができる。 さらに本発明に係るテープ印字装置において、前記データ形成手段は、前記入
力データバッファと、その入力データバッファから供給されるキャラクタのデー
タを前記行印字指令データに基づいて、複数行に再配列して格納するデータ再配
列手段と、前記キャラクタのデータに対応したパターンデータを格納したパター
ンデータ記憶手段と、前記データ再配列手段に格納された各行のキャラクタのデ
ータに対応するパターンデータを前記パターンデータ記憶手段から受けて、前記
テープの幅方向に配置される複数行に合成する合成手段を備えることができる。 さらに本発明に係るテープ印字装置は、前記入力手段により入力されたキャラ
クタ及び前記行設定手段による行の設定をあらわすマークを、1行に表示する表
示手段を備えることができる。 して本発明に係るテープ印字装置は、さらに前記複数行の中の前記テープ長
手方向に長い行を検出する手段を備えることができる。 【作用】 本発明に係るテープ印字装置においては、入力手段から印字されるべきキャラ
クタのデータを入力し、キャラクタのデータを複数の印字行に形成する。データ
形成手段は、各印字行のキャラクタのデータを、テープの幅内に配置される印字
データとして形成する。そして、テープの幅方向に対応する全ての行のデータを
並行して印字ヘッドに供給するとともにテープの長手向に対応するデータを順次
印字ヘッドに供給することによって、印字ヘッドとテープをテープの長手方向に
相対移動しながら複数行を同時に印字することができる。 上記データ形成手段は、キャラクタのデータに対応したパターンデータを格納
したパターンデータ記憶手段から、各行のキャラクタのデータに対応するパター ンデータを受けて、テープの幅方向に配置される複数行に合成することで、印字
ヘッドに並行して供給するための複数行のデータを形成することができる。 またデータ形成手段は、上記のようにパターンデータを合成するに際して、入
力されたキャラクタのデータ及び行印字指令データを入力データバッファに格納
し、その入力データバッファから供給されるデータを行印字指令データに基づい
て、データ再配列手段に複数行に再配列して格納する。そして上記のように、再
配列されたキャラクタのデータに対応するパターンデータを受けて、複数行に合
成することができる。 さらに表示手段は、キャラクタ及び行の設定をあらわすマークを1行に表示す
る小型のものであっても、上記のようにデータ形成手段で複数行のデータを形成
することができる。 そして複数行の中のテープ長手方向に長い行を検出することで、ほぼ制限のな
い長さのテープに行長に長短のある印字をして排出し、所望のテープ片を形成す
ることができる。 【発明の効果】 本発明に係るテープ印字装置によれば、入力されたキャラクタのデータを、テ
ープ幅内に印字されるように複数の行のデータに形成するものであるから、テー
プの長手方向に長く印字するものであっても、複数行の印字を達成することがで
き、テープの貼付箇所の事情等で所定幅のテープに多数のキャラクタを印字した
り、あるいは「表題」等を複数行にわたって印字したい要望に応えることができ
るものである。 【実施例】 以下、本発明の実施例を図面に基づいて説明する。 本実施例は、漢字やひらがなやカタカナ及びアルファベット文字などの多数の
キャラクタを印字用テープ(印字媒体テープ)に印字するテープ印字装置に本発
明を適用した場合のものである。 図2に示すように、テープ印字装置1の本体フレーム2の前部には印字する為
の文字や記号(以下、キャラクタという)を選択するための環状の選字用ダイヤ
ル3が回転自在に配設されるとともに、キーボード部4が配設され、選字用ダイ ヤル3の後方には6文字分表示可能な液晶ディスプレイ19が設けられている。
この選字用ダイヤル3の中央部には、選字用ダイヤル3の回転操作で選択したキ
ャラクタを確定したり或いは印字に関する設定内容を確定する為の設定キー5が
設けられている。更に、選字用ダイヤル3の後方の本体フレーム2内には印字機
構PMが内蔵されている。 前記選字用ダイヤル3には1回転で50箇所の停止位置が設けられており、選
字用ダイヤル3の上面にはこれら50箇所の停止位置の夫々に対応させてキャラ
クタのイメージが2列に描かれている。尚、符号6は選字位置マークである。キ
ーボード部4には、「ひらがな」と「カタカナ」と「アルファベット」との入力
を択一的に切換える為の文字種切換えキー、変換キー及び無変換キー、2行印字
を指示する2行印字キー、1行印字を指示する1行印字キー、印字を実行する印
字キー、キャラクタの書体を選択する書体選択キー、印字用テープ9をテープ送
りする為のテープ送りキー、電源をON・OFFする為の電源スイッチなどが設
けられている。 次に、図3に基づいて印字機構PMについて簡単に説明すると、矩形状のテー
プ収納カセットCSには、透明なフィルムからなる印字用テープ9が巻装された
テープスプール8と、インクリボン12が巻装されたリボン供給スプール13と
、このインクリボン12を巻取る巻取りスプール14と、印字用テープ9と同一
幅を有する両面テープ15が剥離紙を外側にして巻装された供給スプール16と
、これら印字用テープ9と両面テープ15とを接合させる接合ローラとが回転自
在に設けられている。 印字用テープ9とインクリボン12とが重なる位置には、サーマルヘッド7が
立設され、これら印字用テープ9とインクリボン12とをサーマルヘッド7に押
圧するプラテンローラ17と両テープ9・15を接合ローラ10に押圧する送り
ローラ45とは支持体46に回転可能に枢支されている。このサーマルヘッド7
には、図5に示すように48個の発熱素子からなる発熱素子群11が上下方向す
なわちテープの長手方向と直角な幅方向に列設されている。 従って、接合ローラ10と巻取りスプール14とがテープ送りモータ(図4参
照)18で所定の回転方向に夫々同期して駆動されながら発熱素子群11に通電 されたとき、印字用テープ9上には図5に示すように複数のドット列により文字
が印字され、しかも印字用テープ9は両面テープ15を接合した状態でテープ送
り方向Aすなわちテープの長手方向にテープ送りされて本体フレーム2外に送出
される。尚印字機構PMの詳細については特開平2−106555号公報を参照
。 次に、テープ印字装置1の制御系は図4のブロック図に示すように構成され
ている。 表示機構DMは液晶ディスプレイ19と、このディスプレイ19に表示データ
を出力するための表示用RAMを有するディスプレイコントローラ(LCDコン
トローラ)20とを備えた一般的なものである。選字用ダイヤル3に連結された
絶対値エンコーダ21は、選字用ダイヤル3の50箇所の停止位置に対応して5
0種類の絶対値エンコーダ信号ENSを夫々出力する為のものであり、これら絶
対値エンコーダ信号ENSと文字種切換キーからの信号とに基づいて選字位置マ
ーク6に対応させて選択されたキャラクタのコードデータが得られるとともに、
選択操作前の絶対値エンコーダ信号ENSと現在の絶対値エンコーダ信号ENS
とを比較することにより選字用ダイヤル3の回転方向及びその回転量が得られる
。符号22はサーマルヘッド7を駆動する為の駆動回路、符号23はテープ送り
モータ18を駆動する為の駆動回路である。 制御装置Cは、CPU27と、CPU27にデータバスなどのバス26を介し
て接続された入出力インターフェイス25、ROM28・29及びRAM30と
から構成されている。この制御回路Cで、複数行印字の為の印字データを形成す
るデータ形成手段が構成される。 ROM(プログラムメモリ)28には、選字用ダイヤル3で選択されたコード
データに対応させて表示機構DMを制御する表示制御プログラム、設定キー5が
操作されたときのキャラクタのコードデータや印字の設定内容に関する種々の設
定データを入力データバッファ31に格納する制御プログラム、印字バッファ3
7のデータを順次読出してサーマルヘッド7とテープ送りモータ18とを駆動制
御する駆動制御プログラム、後述のテープ印字制御の制御プログラムなどが格納
されている。 ROM(パターンデータメモリ)29には、選字用ダイヤル3上面に描かれた 多数のキャラクタの夫々に関するドットパターンデータが、16ドット(縦)×
15ドット(横)からなるSS文字パターンデータと48ドット(縦)×48ド
ット(横)からなるL文字パターンデータとでキャラクタのコードデータに対応
づけて夫々格納されている。尚、SS文字パターンデータは2行印字及び表示に
使用される。また、L文字パターンデータは1行印字に使用される。尚、符号2
4は、種々の書体のドットパターンデータを格納したオプション用のROMカー
ドを接続するためのコネクタである。 RAM30の入力データバッファ31には、印字するキャラクタのコードデー
タや印字の設定内容に関する種々の設定データが格納される(図12参照、尚、
先頭アドレスをA0000 とする)。第1再配列メモリ32には、1行印字のコード
データ及び2行印字の上段行のコードデータが格納され(図13参照、尚、先頭
アドレスをa0000 とする)、また第2再配列メモリ33には、2行印字の下段行
のコードデータが格納される(図13参照、尚、先頭アドレスをb0000 とする)
。第1ポインタ34には、第1再配列メモリ32の1つのアドレスが格納され、
また第2ポインタ35には、第2再配列メモリ33の1つのアドレスが格納され
る。 印字基線位置変更量メモリ36には、通常印字基線位置PS2・PS3に対す
る印字基線位置のテープ幅方向の変更量が格納される。印字バッファ37には、
図17に示すように、縦方向(ドット列方向)に48ドットに対応する48ビッ
ト(6バイト)、横方向に48ドットに対応する48ビット(6バイト)からな
る大きさのメモリ容量が設けられ、印字するキャラクタのドットパターンデータ
がパターンデータメモリ29から読出して格納される。フラグメモリ38には、
2行印字のときにセット(データが「1」)される2行印字フラグF1、2行印
字における上段行印字(1行目印字)のときにセットされる上段行フラグF2、
印字基線位置変更に関する選択内容の表示中にセットされる表示フラグF3、印
字基線位置変更のときにセットされる基線位置変更フラグF4、印字基線位置の
変更量に関する選択内容の表示中にセットされる表示フラグF5及び書体に関連
するフラグなどその他のフラグのフラグデータが夫々格納される。 次に、テープ印字装置1の制御装置Cで行なわれるテープ印字制御のルーチン について、図6〜図11のフローチャートに基づいて説明する。尚、図中、Si
(i=1、2、3・・・)は各ステップである。ここで、この制御においては図
5に示すように、1行印字のときには文字「A」で示すように、L文字パターン
データに基づいてサーマルヘッド7の発熱素子群11に対応する印字用テープ9
上の印字領域PE全域に亙って印字用テープ9上に印字され、また2行印字のと
きにはSS文字パターンデータに基づいて、上段行の印字はこの印字領域PE内
の上段印字行ULに行なわれ、下段行の印字は印字領域PEの下段印字行LLに
行なわれる。更に、L文字の通常印字基線位置PS1は発熱素子群11の最下位
置に対応し、またSS文字に関する上段行の印字基線位置PS2は発熱素子群1
1の幅方向の中央位置に対応する中央線CLよりも「4」ドット分上側の位置に
設けられ、SS文字に関する下段行の通常印字基線位置PS3は前記印字基線位
置PS1よりも「4」ドット分上側の位置に設けられている。 このテープ印字装置1に電源が投入されるとこの制御が開始され、先ず表示機
構DMや各メモリ31〜38をクリアするとともに、ディスプレイ19に1行印
字マーク「>」が表示され且つこの1行印字マーク「>」に対応する1行印字指
令データを入力データバッファ31の先頭アドレスに格納するなどの初期設定が
実行される(S1)。次に、選字用ダイヤル3が回転操作されたときには(S2
:No、S13:Yes)、何れのフラグF1・F3・F5・・・もセットされ
ていないので(S14・S19・S24・S26:No)、絶対値エンコーダ2
1からのエンコーダ信号ENSに基づいて選択されたキャラクタがディスプレイ
19に表示され(S28)、S2に戻る。 そして、設定キーが操作されたときに(S2・S3:Yes)、フラグF1〜
F5は何れもセットされていないときには(S29・S36・S41・S44:
No)、ディスプレイ19に表示中のキャラクタが確定されてそのコードデータ
が入力データバッファ31に格納される(S46)。例えば、ディスプレイ19
に文字「A」、「B」、「C」を表示させる毎に設定キーを操作したときには、
図2・図12に示すように、各文字「A」、「B」、「C」のコードデータが入
力データバッファ31に順次格納される。 次に、2行印字を実行する為に2行印字キーを操作したときには(S2:Ye s、S3:No、S4:Yes)、2行印字に関する先頭の選択内容、例えば「
上段印字行」がディスプレイ19に表示され(S5)、フラグF1がセットされ
る(S6)。次に、選字用ダイヤル3が回転操作されたとき(S2:No、S1
3:Yes)、フラグF1がセットされているので(S14:Yes)、2行印
字に関する次の選択内容、例えば「下段印字行」がディスプレイ19に表示され
(S15)、「上段印字行」を表示しているときには(S16:Yes)、フラ
グF2がセットされるが(S17)、「下段印字行」を表示しているときには(
S16:No)、フラグF2がリセットされる(S18)。 そして、設定キーが操作されたとき(S2・S3:Yes)、両フラグF1・
F2がセットされているときには(S29・S30:Yes)、上段印字行マー
ク「△」がディスプレイ19に表示されるとともに、この上段印字行マーク「△
」に対応する上段行印字指令データが入力データバッファ31に格納される。ま
た、フラグF2がリセットされているときには(S29:Yes、S30:No
)、下段行印字行マーク「▽」がディスプレイ19に表示されるとともに、この
下段印字行マーク「▽」に対応する下段行印字指令データが入力データバッファ
31に格納される(S32)。例えば、ディスプレイ19に「上段印字行」が表
示されているときに設定キーを操作したときには、上段印字行マーク「△」が表
示され且つ図12に示すように入力データバッファ31のアドレスA0004 には上
段行印字指令データが格納される。 そして、フラグF1がリセットされ(S33)、印字基線位置変更に関する先
頭の選択内容、例えば印字基線位置を通常印字基線位置PS2・PS3に対して
変更しない「通常基線位置」がディスプレイ19に表示され(S34)、フラグ
F3がセットされる(S35)。 次に、選字用ダイヤル3が回転操作されたとき(S2:No、S13:Yes
)、フラグF3がセットされているので(S14:No、S19:Yes)、印
字基線位置変更に関する次の選択内容、例えば印字基線位置を変更する「基線位
置変更」がディスプレイ19に表示され(S20)、「基線位置変更」を表示し
ているときには(S21:Yes)、フラグF4がセットされるが(S22)、
「通常基線位置」を表示しているときには(S21:No)、フラグF4がリセ ットされる(S23)。 そして、設定キーが操作されたとき(S2・S3:Yes)、フラグF3がセ
ットされているときには(S29:No、S36:Yes)、このフラグF3が
リセットされ(S37)、更にフラグF4がセットされているときには(S38
:Yes)、印字基線位置に関する先頭の選択内容、例えば印字基線位置を通常
印字基線位置PS2・PS3に対して印字用テープ9の上端側に4ドット分だけ
変更する「基線位置+4」がディスプレイ19に表示され(S39)、フラグF
5がセットされる(S40)。 次に、選字用ダイヤル3が回転操作されたとき(S2:No、S13:Yes
)、フラグF5がセットされているので(S14・S19:No、S24:Ye
s)、印字基線位置に関する次の選択内容、例えば「基線位置+3」がディスプ
レイ19に表示される(S25)。以後、選字用ダイヤル3を連続して回転操作
したときには、選択内容「基線位置+2」→「基線位置+1」→「基線位置−1
」→「基線位置−2」→「基線位置−3」→「基線位置−4」→「基線位置+4
」が順次ディスプレイ19に表示される。尚、「基線位置−1」〜「基線位置−
4」は、印字基線位置を通常印字基線位置PS2・PS3に対して印字用テープ
9の下端側への変更である。 そして、設定キーが操作されたとき(S2・S3:Yes)、フラグF5がセ
ットされているので(S29・S36:No、S41:Yes)、ディスプレイ
19に表示されている選択内容に対応する印字基線位置変更量データが上段行印
字指令データ或いは下段行印字指令データ内に格納され(S42)、フラグF5
がリセットされる(S43)。 例えば、選択内容「基線位置+4」がディスプレイ19に表示されているとき
に選択キーを操作したときには、図12に示すようにアドレスA0004 の上段行印
字指令データ内に「+4ドット」の変更量データが格納される。更に、入力デー
タバッファ31において、以後選択された文字「D」、「E」、「F」の各コー
ドデータ、「−4ドット」の変更量データが格納された下段行印字指令データ、
選択された文字「G」、「H」、「I」、「J」の各コードデータが順次格納さ
れる。 次に、1行印字のために1行印字キーが操作されたときには(S2:Yes、
S3・S4:No、S7:Yes)、1行印字マーク「>」がディスプレイ19
に表示され且つ1行印字指令データが入力データバッファ31に格納され(S8
)、フラグF1がリセットされる(S9)。例えば、図12に示すように入力デ
ータバッファ31には、アドレスA000D に1行印字指令データが格納されるとと
もに、以後選択された文字「K」、「L」、「M」のコードデータがアドレスA0
00E 〜アドレスA0010 に亙って格納される。尚、選字用ダイヤル3が回転操作さ
れたとき(S2:No、S13:Yes)、フラグF1・F3・F5以外のフラ
グがセットされているときには(S14・S19・S24:No、S26:Ye
s)、そのセットされているフラグに対応する選択内容が順次表示される(S2
7)。また、設定キーの操作時に(S2・S3:Yes)、その他のフラグがセ
ットされているときには(S29・S36・S41:No、S44:Yes)、
そのフラグに対応する選択内容が設定される(S45)。 次に、印字キーが操作されたときには(S2:Yes、S3・S4・S7:N
o、S10:Yes)、印字処理制御(図9参照)が実行される(S11)。こ
の制御が開始されると、先ず印字に関する種々のフラグやメモリなどのイニシャ
ライズが実行され(S50)、再配列処理制御(図10参照)が実行される(S
51)。尚、図12〜図16を参照しながらこの制御を説明する。この制御が開
始されると、図13に示すように、先ず入力データバッファ31に格納されてい
る全てのコードデータが第1再配列メモリ32に格納される(S70)。但し、
このこれら複数のコードデータの最後に終了データとして「FF」が追加格納され
る。 次に、第1ポインタ34に第1再配列メモリ32の先頭アドレスa0000 (以下
、この内容をP1とし、第1ポインタP1という)がセットされ(S71)、こ
の第1ポインタP1で指示する第1再配列メモリ32のデータが読出され(S7
2)、読出されたデータが1行印字指令データのときには(S73・S85・S
83:No)、第1ポインタP1に次のアドレスがセットされ(S84)、S7
2に戻る。そして、読出したデータがキャラクタのコードデータのときには上記
と同様の制御が繰り返される。 次に、第1ポインタP1が「アドレスa0004」のときには上段行印字指令デー
タなので(S73:Yes)、第1ポインタP1により第1再配列メモリ32が
検索され(S74)、上段行印字指令データの次の指令データとして下段行印字
指令データが格納されているとき(S75:Yes)、図14に示すように、第
1ポインタP1に対応する第2再配列メモリ33の「アドレスb0004」が第2ポ
インタ35にセット(以下、同様に第2ポインタP2という)され、下段行印字
指令データ及びこれに続く下段印字行LLに印字するキャラクタのコードデータ
が第2ポインタP2以降の各アドレスに格納される(S76)。ここで、入力デ
ータバッファ31において、上段行印字指令データに続いて下段行印字指令デー
タが格納されているときには、下段印字指令データはこの指令データに続くコー
ドデータについて、印字する印字行を設定するとともに、その印字位置も設定さ
れる。 次に、上段印字行ULに印字するキャラクタのコードデータ数UDNが下段印
字行LLのコードデータ数LDNより小さいときには(S78・S80:No)
、図15に示すように第1再配列メモリ32の「アドレスa0 008」にスペースコ
ード「SP」が格納される(S81)。しかし、コードデータ数UDNがコードデ
ータ数LDNより大きいときには(S78:Yes)、第2再配列メモリ33の
所定のアドレスにスペースコード「S P」が格納される(S79)。尚、両コー
ドデータ数UDN・LDNが等しいときには(S78:No、S80:Yes)
、S82へ移行する。次に、図16に示すように第1再配列メモリ32において
、第2再配列メモリ33に格納したデータを削除し且つ削除したデータ以降の各
データ「>、K、L、M、FF」を夫々移動させるなどの整理処理が実行され(S
82)、第1再配列メモリ32内に検索するデータが存在するときには(S83
:No)、第1ポインタP1に次に検索するアドレスとして「アドレスb0009」
がセットされる(S84)。 そして、以降の各データ「>、K、L、M」については、S70〜S72、S
73・S85:No、S83〜S84が繰り返して実行され、終了データ「FF」
により(S83:Yes)、この制御を終了してリターンする。 ところで、下段行印字指令データが存在しないときには(S75:No)、第 2再配列メモリ33内において、上段印字行ULのコードデータ数UDNに相当
するスペースコード「SP」が格納される(S77)。また、第1ポインタP1に
基づいて読出したデータが下段行印字指令データのときには(S73:No、S
85:Yes)、第1ポインタP1に対応する第2再配列メモリ33のアドレス
が第2ポインタP2にセットされ、下段行印字指令データ及びこれに続く下段印
字行LLに印字するキャラクタのコードデータが第2ポインタP2以降の各アド
レスに格納され(S86)、第1再配列メモリ32において、これら下段行印字
指令データ及び下段印字行LLに印字するキャラクタのコードデータが全てスペ
ースコードに変換される(S87)。 次に、印字処理制御にリターンし、第1ポインタP1に第1再配列メモリ32
の先頭アドレスがセットされ(S52)、この第1ポインタP1に基づいて第1
再配列メモリ32のデータが読出され(S53)、この読出したデータが1行印
字指令データのときには(S54・S55:No、S56:Yes)、フラグF
1がリセットされ(S57)、フラグF1に基づいて1行印字に用いるL文字サ
イズの文字幅の値「48ドット」がRAM30に格納され(S59)、第1ポイ
ンタP1がインクリメントされ(S60)、S53に戻る。次に、読出したデー
タが文字「A」のコードデータのときには(S54:No、S55:Yes)、
L文字サイズに対応する文字間スペース値、例えば「3ドット」が設定され(S
61)、フラグF1がリセットされているので(S62:No)、コードデータ
に対応するドットパターンデータがパターンデータメモリ29から読出され、図
17に示すように印字バッファ37に格納され(S63)、文字「A」の印字が
実行され(S65)、S60へ移行する。但し、2番目のキャラクタ以降の各キ
ャラクタの印字の際には、先ず文字間スペースが設けられ、次にキャラクタ印字
が実行される。 次に、読出したデータが上段行印字指令データのときには(S54・S55・
S56:No)、フラグF1がセットされ(S58)、フラグF1に基づいて2
行印字に用いるSS文字サイズの文字幅の値「16ドット」がRAM30に格納
され(S59)、S60を経てS53に戻る。そして、次に読出した文字「D」
はSS文字サイズなので(S54:No、S55:Yes)、SS文字サイズ に対応する文字間スペース値、例えば「1ドット」が設定され(S61)、フラ
グF1がセットされているので(S62:Yes)、データ合成処理制御(図1
1参照)が実行される(S64)。 この制御が開始されると、先ず第1ポインタP1に対応する第2再配列メモリ
33のアドレス「b0005」が第2ポインタP2にセットされ(S90)、第1ポ
インタP1で指示する文字「D」のコードデータが読出され(S91)、図18
に示すようにこのコードデータのドットパターンデータが印字バッファ37内の
前記中央線CLに対応する位置上に格納され(S92)、上段行印字指令データ
に印字基線位置変更量dが格納されているときには(S93:Yes)、その基
線位置変更量d(+4ドット)が読出されて印字基線位置変更量メモリ36に格
納され(S94)、図19に示すようにこのドットパターンデータを上段行の通
常印字基線位置PS2にシフトさせる為の「4ドット」にこの基線位置変更量d
を加算したドット数分だけドット列方向にシフトされる(S96)。 更に、第2ポインタP2で指示する文字「G」のコードデータが読出され(S
97)、図20に示すようにこのコードデータのドットパターンデータが印字バ
ッファ37内の下端位置上に合成して格納され(S98)、同様に下段行印字指
令データに印字基線位置変更量dが格納されているときには(S99:Yes)
、その基線位置変更量d(−4ドット)が読出され印字基線位置変更量メモリ3
6に格納され(S100)、ドットパターンデータを下段行の通常印字基線位置
PS3にシフトさせる為の「4ドット」にこの基線位置変更量dを加算したドッ
ト数分だけドット列方向にシフトされ(S102)、この制御を終了してリター
ンする。尚、S92で読出したデータが下段行印字指令データであっても、S9
3〜S102が実行される。また、S93でNoと判定されたとき及びS99で
Noと判定されたときには、印字基線位置変更量メモリ36に変更量dとして「
0」が夫々格納される。 その後、図20に示すように印字バッファ37に合成して格納された2文字分
のドットパターンデータに基づいて文字印字処理が実行される(S65)。以下
、同様にして、図16に示すように第1及び第2再配列メモリ32・33に格納
されたデータが、S50〜S65の印字処理制御により印字され、図21に示す ように、印字用テープ9には文字列「ABC、KLM」が印字領域PEに対応し
て1行印字されるとともに、文字列「DEF」が上段印字行ULに印字され且つ
文字列「GHIJ」が下段印字行LLに印字される。しかも、これら文字列「D
EF」と文字列「GHIJ」とは、指示した印字基線位置変更量dに基づいて夫
々印字位置変更して印字される。尚、図16に示す第1及び第2再配列メモリ3
2・33のデータを印字基線位置変更しないで印字したときには、図22に示す
ように印字される。 尚、パターンデータメモリ29に3〜4種類の文字サイズのドットパターンデ
ータを格納し、1行印字及び2行印字において所望の文字サイズを選択可能に構
成しても良い。 尚、印字用テープ9上の印字領域PEを3〜4つに分割し、これら3〜4つの
印字行のうちの何れかの印字行を設定するように構成することも可能である。 尚、印字用バッファを追加し、ドット列データが読出されている印字バッファ
以外の印字バッファに、次の印字の為のドット列データを格納するようにしても
よい。 以上説明したように、サーマルヘッド7の発熱素子群11に対応する印字用テ
ープ9の印字領域PEを上段印字行ULと下段印字行LLとに分割し、これら2
つの印字行UL・LLのうちの何れかの印字行及びその印字位置を、上段行印字
指令データ或いは下段行印字指令データでもって入力されたキャラクタのコード
データと対応づけて入力データバッファ31に格納する。これら上段行及び下段
行印字指令データに基づいて上段印字行ULに印字されるコードデータが第1再
配列メモリ32に再配列されるとともに、下段印字行LLに印字されるコードデ
ータが第2再配列メモリ33に再配列される。両再配置メモリに配置されたデー
タ数を比較し、短い行の再配置メモリにスペースコードが格納される。これら両
再配列メモリ32・33に再配列された2つのコードデータのドットパターンデ
ータが印字バッファ37に合成して格納され、この合成されたドット列データに
基づいて印字用テープ9上に印字される。これにより印字用テープ9上に設けた
2つの印字行に分けて任意のキャラクタを印字できる。また、2つの印字行UL
・LLのうちの所望の印字行に入力したキャラクタを印字でき且つ上段印字行U Lと下段印字行LLとに亙って多数のキャラクタを印字することができる。そし
てほぼ制限のない長さのテープに行長に長短のある印字をした場合、長い行の印
字にしたがって排出し、所望のテープ片を形成することができる。 尚、印字用テープ9を手動で引き出しながら印字用テープ9上にキャラクタ印
字をするように構成したものやワイヤードット方式によるテープ印字装置など、
種々のテープ印字装置に本発明を適用し得ることは勿論である。
DETAILED DESCRIPTION OF THE INVENTION [Industrial applications]   The present invention enables character printing over multiple printing lines on print media tape.
And a tape printing device. [Prior art]   Conventionally, a small tape that prints a desired character string on a printing tape with a width of about 10 mm was used.
Various proposals have been made for printing devices. Accordingly, the applicant of the present application has disclosed in
In Japanese Patent Publication No. 2070, two-byte characters that can be printed are
And align the printing position of the character to be printed with the center position in the width direction of the printing tape.
Center printing mode for printing with
We have proposed a printing device that can change the printing position and that can select the printing mode. [Problems to be solved by the invention]   Generally, using this tape printer, for example, the "title" and "content"
Is printed on a printing tape, and the printed printing tape is attached to a file in a predetermined manner. It is often attached to a location.   However, in a printing device that can change the printing position proposed by the present applicant, the printing
Print mode to align the print position of the character to be printed on the tape to the center
Since only the bottom alignment print mode is provided, the mark to be attached to the specified attachment position
The number of characters that can be printed on the character tape depends on the length of the sticking position and the character width of the printed characters.
There is a problem that the number of characters is limited to the determined number of characters.   Also, as described above, depending on the situation where the printing tape is attached,
Characters must be printed or two or more lines within the width of the tape
Sometimes I want to print them side by side.   Tape printing devices print continuously on tapes of almost unlimited length.
Therefore, the print head is reciprocated along the print medium like a general word processor.
Moving the print medium in a direction perpendicular to the print medium
Prints or prints the print data by automatically adding a line feed within the range of the left and right width of the print medium.
Can not do it.   An object of the present invention is to print a character over a plurality of print lines on a print medium tape.
It is to provide a tape printer capable of performing the above. [Means for Solving the Problems]   The tape printing apparatus according to the present invention is a printing medium tape as shown in FIG.
A print head arranged corresponding to the width direction of the
Moving means for relatively moving in the longitudinal direction perpendicular to the width direction of the
Input means for inputting character data; andAs appropriate
Separated bySet printing on multiple print lines in the width direction of the tapeFor
Input line print command dataLine setting means;The key input by the input means
Inputs character data and line print command data input by the line setting means
An input data buffer for storing data in order,
Input data based on the line print command data stored in the input data buffer.
Character data of each print line stored in the data bufferWithin the width of the tape
Data forming means for correspondingly arranging and forming print data;
The row stores print data of all lines corresponding to the width of the tape in parallel with the print data. And data corresponding to the longitudinal direction of the tape are sequentially printed.
It is provided with a configuration for supplying to the head.   In the tape printing apparatus according to the present invention, the data forming unit includes the character
Pattern data storage means for storing pattern data corresponding to the data of the
The pattern data corresponding to the character data of each line is stored in the pattern data record.
Synthesizing means for receiving from the storage means and synthesizing a plurality of lines arranged in the width direction of the tape
Can be provided.   Further, in the tape printing apparatus according to the present invention, the data forming unit includes the input unit.
Input data buffer and character data supplied from the input data buffer.
The aboveLine print command dataData rearranged and stored in multiple rows based on
Column means, and a pattern storing pattern data corresponding to the character data.
Data storage means and the data of the characters of each line stored in the data rearrangement means.
Receiving pattern data corresponding to the data from the pattern data storage means,
A synthesizing unit for synthesizing a plurality of rows arranged in the width direction of the tape can be provided.   Further, the tape printing apparatus according to the present invention may further comprise a character input by the input means.
And a mark indicating the line setting by the line setting means and the line setting means in one line.
Indicating means can be providedYou. So The tape printing apparatus according to the present invention further comprises the tape length in the plurality of lines.
Means for detecting a line that is long in the hand direction can be provided. [Action]   In the tape printer according to the present invention, the character to be printed from the input means is used.
Enter the data for,The character data is formed on a plurality of print lines. data
Forming means prints the character data of each print line within the width of the tape.
Form as data. Then, the data of all rows corresponding to the width direction of the tape is
Data is supplied to the print head in parallel and the data corresponding to the longitudinal direction of the tape is sequentially read.
By supplying the print head and the tape, the print head and the tape
Multiple lines can be printed simultaneously while moving relative to each other.   The data forming means stores pattern data corresponding to character data.
Pattern data corresponding to the character data of each line from the stored pattern data storage means. Print data by combining the data into multiple lines arranged in the width direction of the tape.
A plurality of rows of data to be supplied to the head in parallel can be formed.   Further, when synthesizing the pattern data as described above, the data forming means
Character data andLine print command dataIs stored in the input data buffer.
And the data supplied from the input data bufferLine print command dataBased on
Then, the data is rearranged into a plurality of rows and stored in the data rearranging means. And as mentioned above,
Receiving pattern data corresponding to the data of the arranged characters,
Can be achieved.   Further, the display means displays a mark representing the character and line setting on one line.
Even if the data is small, multiple rows of data are formed by the data forming means as described above.
can do.   By detecting a long line in the tape longitudinal direction among a plurality of lines, there is almost no restriction.
Print a tape with a long or short line on a long tape and eject it to form the desired tape piece.
Can be 【The invention's effect】   According to the tape printing apparatus of the present invention, the data of the input character is converted to the text data.
Because it is formed into data of multiple lines so that it is printed within the tape width,
Even if the print is long in the longitudinal direction of the tape, it is possible to achieve multi-line printing.
Many characters were printed on a tape of a predetermined width due to the circumstances of the place where the tape was attached.
Or print a “title” over multiple lines.
Things. 【Example】   Hereinafter, embodiments of the present invention will be described with reference to the drawings.   In this embodiment, a large number of characters such as kanji, hiragana, katakana, and alphabetic characters are used.
Originally developed on a tape printing device that prints characters on printing tape (printing media tape).
It is the case where the light is applied.   As shown in FIG. 2, printing is performed on the front part of the main body frame 2 of the tape printer 1.
For selecting characters and symbols (hereinafter referred to as characters)
The keyboard 3 is disposed in a rotatable manner, and a character selection die is provided. A liquid crystal display 19 capable of displaying six characters is provided behind the dial 3.
A key selected by rotating the character selection dial 3 is provided at the center of the character selection dial 3.
The setting key 5 for confirming the character or setting contents related to printing is
Is provided. Further, a printing machine is provided in the main body frame 2 behind the character selection dial 3.
There is a built-in PM.   The character selection dial 3 is provided with 50 stop positions for one rotation.
The upper surface of the character dial 3 is provided with a character corresponding to each of these 50 stop positions.
Kuta images are depicted in two columns. Reference numeral 6 denotes a character selection position mark. Ki
-Input "Hiragana", "Katakana" and "Alphabet" in the board section 4.
Character type switching key for alternately switching between, conversion key and non-conversion key, 2-line printing
Two-line print key to specify one line, one-line print key to specify one-line printing,
Character key, character type selection key for selecting character type, and tape
Key and a power switch to turn the power on and off.
Have been killed.   Next, the printing mechanism PM will be briefly described with reference to FIG.
A printing tape 9 made of a transparent film is wound around the cassette housing cassette CS.
A tape spool 8, a ribbon supply spool 13 around which the ink ribbon 12 is wound,
The same as the winding spool 14 for winding the ink ribbon 12 and the printing tape 9
A supply spool 16 around which a double-sided tape 15 having a width is wound with the release paper outside.
The joining roller for joining the printing tape 9 and the double-sided tape 15 rotates automatically.
Is provided.   The thermal head 7 is located at the position where the printing tape 9 and the ink ribbon 12 overlap.
The printing tape 9 and the ink ribbon 12 are pressed against the thermal head 7.
Feed to press the platen roller 17 and the tapes 9 and 15 to be pressed against the joining roller 10
The roller 45 is rotatably supported by a support 46. This thermal head 7
As shown in FIG. 5, a heating element group 11 composed of 48 heating elements
That is, they are arranged in a row in the width direction perpendicular to the longitudinal direction of the tape.   Therefore, the joining roller 10 and the take-up spool 14 are connected to the tape feed motor (see FIG. 4).
(Electricity) is supplied to the heating element group 11 while being driven in synchronization with each other in a predetermined rotation direction at 18 5, the character is printed on the printing tape 9 by a plurality of dot rows as shown in FIG.
Is printed, and the printing tape 9 is fed with the double-sided tape 15 joined.
The tape is fed in the direction A, that is, in the longitudinal direction of the tape, and is sent out of the main body frame 2.
Is done. For details of the printing mechanism PM, refer to JP-A-2-106555.
. Next, the control system of the tape printer 1 is configured as shown in the block diagram of FIG.
ing.   The display mechanism DM includes a liquid crystal display 19 and display data on the display 19.
Display controller having a display RAM for outputting
(Troller) 20. Connected to the character selection dial 3
The absolute value encoder 21 has five positions corresponding to the 50 stop positions of the character selection dial 3.
This is for outputting zero kinds of absolute value encoder signals ENS.
Character selection position mapping is performed based on the value encoder signal ENS and the signal from the character type switching key.
In addition to obtaining code data of the character selected corresponding to the mark 6,
The absolute encoder signal ENS before the selection operation and the current absolute encoder signal ENS
And the rotation direction and the amount of rotation of the character selection dial 3 can be obtained by comparing
. Reference numeral 22 denotes a drive circuit for driving the thermal head 7, and reference numeral 23 denotes a tape feed.
This is a drive circuit for driving the motor 18.   The control device C communicates with the CPU 27 via a bus 26 such as a data bus.
I / O interface 25, ROMs 28 and 29, and RAM 30
It is composed of The control circuit C forms print data for multi-line printing.
Data forming means.   The code selected by the character selection dial 3 is stored in a ROM (program memory) 28.
A display control program for controlling the display mechanism DM corresponding to the data, and a setting key 5
Various settings related to character code data and print settings when operated
Control program for storing constant data in input data buffer 31, print buffer 3
7 is read out sequentially to drive the thermal head 7 and the tape feed motor 18
Drive control program to be controlled, tape print control control program described later, etc. are stored.
Have been.   The ROM (pattern data memory) 29 is drawn on the upper surface of the character selection dial 3. The dot pattern data for each of a large number of characters is 16 dots (vertical) ×
SS character pattern data consisting of 15 dots (horizontal) and 48 dots (vertical) x 48 dots
And character code data with L character pattern data
In addition, each is stored. The SS character pattern data can be printed and displayed in two lines.
used. The L character pattern data is used for one-line printing. Note that reference numeral 2
4 is an optional ROM card storing dot pattern data of various fonts.
This is a connector for connecting a cable.   The input data buffer 31 of the RAM 30 stores the code data of the character to be printed.
Various setting data related to the setting contents of data and printing are stored (see FIG. 12;
The start address is A0000). The first rearrangement memory 32 has a one-line print code
The data and the code data in the upper row of the two-line printing are stored (see FIG.
The address is set to a0000).
(See FIG. 13, the starting address is b0000)
. One address of the first rearrangement memory 32 is stored in the first pointer 34,
In the second pointer 35, one address of the second rearrangement memory 33 is stored.
You.   The print base line position change amount memory 36 stores the normal print base line positions PS2 and PS3.
The change amount of the print base line position in the tape width direction is stored. In the print buffer 37,
As shown in FIG. 17, 48 bits corresponding to 48 dots in the vertical direction (dot row direction)
(6 bytes) and 48 bits (6 bytes) corresponding to 48 dots in the horizontal direction.
Dot pattern data for characters to be printed
Is read from the pattern data memory 29 and stored. In the flag memory 38,
Two-line print flag F1, which is set (data is "1") during two-line printing, two-line printing
Upper line flag F2 set at the time of upper line printing (first line printing)
A display flag F3, which is set while displaying the selected content related to the change of the print base line position,
Baseline position change flag F4 set when changing the character baseline position,
Related to the display flag F5 set during the display of the selected content related to the change amount and the font
Flag data of other flags such as a flag to be executed is stored.   Next, a tape print control routine performed by the control device C of the tape printer 1 Will be described based on the flowcharts of FIGS. In the figure, Si
(I = 1, 2, 3,...) Are each step. Here, in this control,
As shown in FIG. 5, when printing one line, as shown by the character "A", the L character pattern
The printing tape 9 corresponding to the heating element group 11 of the thermal head 7 based on the data
The entire print area PE is printed on the print tape 9 over the entire print area PE.
The upper line is printed in this print area PE based on the SS character pattern data.
Is performed on the upper print line UL, and the lower line is printed on the lower print line LL of the print area PE.
Done. Further, the normal printing base line position PS1 of the L character is the lowest order of the heating element group 11.
And the printing base line position PS2 in the upper row for the SS character is the heating element group 1
1 at a position "4" dots above the center line CL corresponding to the center position in the width direction.
The normal printing baseline position PS3 in the lower row for the SS character is provided as the printing baseline position.
It is provided at a position "4" dots higher than the position PS1.   When the tape printer 1 is powered on, this control is started, and first, the display
In addition to clearing the structure DM and the memories 31 to 38, one line is marked on the display 19.
Character mark ">" is displayed and a one-line print finger corresponding to the one-line print mark ">" is displayed.
Command data at the start address of the input data buffer 31.
It is executed (S1). Next, when the character selection dial 3 is rotated (S2
: No, S13: Yes), and all the flags F1, F3, F5,... Are set.
(S14 / S19 / S24 / S26: No), the absolute value encoder 2
The character selected based on the encoder signal ENS from 1 is displayed.
19 is displayed (S28), and the process returns to S2.   When the setting key is operated (S2 · S3: Yes), the flag F1
When none of F5 is set (S29, S36, S41, S44:
No), the character being displayed on the display 19 is determined and its code data
Is stored in the input data buffer 31 (S46). For example, the display 19
When the setting key is operated each time the characters "A", "B", and "C" are displayed,
As shown in FIGS. 2 and 12, code data of each of the characters “A”, “B”, and “C” is entered.
Are sequentially stored in the input data buffer 31.   Next, when a two-line printing key is operated to execute two-line printing (S2: Ye s, S3: No, S4: Yes), the first selection content regarding two-line printing, for example, “
The upper print line "is displayed on the display 19 (S5), and the flag F1 is set.
(S6). Next, when the character selection dial 3 is rotated (S2: No, S1
3: Yes), since the flag F1 is set (S14: Yes), the second line is marked.
The next selection related to the character, for example, “lower print line” is displayed on the display 19.
(S15) When the “upper print line” is displayed (S16: Yes),
F2 is set (S17), but when "lower print line" is displayed (
(S16: No), the flag F2 is reset (S18).   When the setting key is operated (S2, S3: Yes), both flags F1.
When F2 is set (S29 / S30: Yes), the upper print line mark
The mark “△” is displayed on the display 19 and the upper print line mark “△” is displayed.
Is stored in the input data buffer 31. Ma
When the flag F2 is reset (S29: Yes, S30: No)
), The lower line print line mark “▽” is displayed on the display 19, and
The lower line print command data corresponding to the lower line mark “▽” is stored in the input data buffer.
31 (S32). For example, "upper printing line" is displayed on the display 19.
When the setting key is operated while displayed, the upper line mark (△) is displayed.
As shown in FIG. 12 and as shown in FIG.
The row printing command data is stored.   Then, the flag F1 is reset (S33), and the destination related to the change of the print base line position is changed.
The head selection contents, for example, the print base line position is set to the normal print base line position PS2 / PS3.
The "normal base line position" which is not changed is displayed on the display 19 (S34), and the flag is displayed.
F3 is set (S35).   Next, when the character selection dial 3 is rotated (S2: No, S13: Yes)
), Since the flag F3 is set (S14: No, S19: Yes),
The following selections for changing the character base line position, for example, "Base line position
"Change position" is displayed on the display 19 (S20), and "Change base line position" is displayed.
(S21: Yes), the flag F4 is set (S22).
When the “normal base line position” is displayed (S21: No), the flag F4 is reset. Is set (S23).   When the setting key is operated (S2 · S3: Yes), the flag F3 is set.
Is set (S29: No, S36: Yes), this flag F3 is
It is reset (S37), and when the flag F4 is set (S38)
: Yes), the first selection of the print base line position, for example, the print base line position
Only 4 dots on the upper end side of the printing tape 9 with respect to the printing base line positions PS2 and PS3
The "base line position +4" to be changed is displayed on the display 19 (S39), and the flag F
5 is set (S40).   Next, when the character selection dial 3 is rotated (S2: No, S13: Yes)
), Since the flag F5 is set (S14 / S19: No, S24: Ye)
s), the next selection of the print base line position, for example, “base line position + 3” is displayed.
It is displayed on the ray 19 (S25). Afterwards, the character selection dial 3 is continuously rotated.
When the selection is made, the selection contents “baseline position + 2” → “baseline position + 1” → “baseline position−1”
"→ Baseline position-2" → "Baseline position-3" → "Baseline position-4" → "Baseline position + 4"
Are sequentially displayed on the display 19. In addition, "baseline position-1" to "baseline position-
4 ”is a printing tape in which the printing baseline position is set to the normal printing baseline position PS2 / PS3.
9 is a change to the lower end side.   When the setting key is operated (S2 · S3: Yes), the flag F5 is set.
Display (S29 / S36: No, S41: Yes)
The print base line position change amount data corresponding to the selected content displayed in step 19 is marked in the upper row.
Is stored in the character command data or the lower row print command data (S42), and the flag F5
Is reset (S43).   For example, when the selected content “baseline position + 4” is displayed on the display 19
When the selection key is operated, the upper row mark of the address A0004 is displayed as shown in FIG.
The change amount data of “+4 dots” is stored in the character command data. In addition, input data
In the buffer 31, each of the characters “D”, “E”, and “F”
Row data, lower row print command data in which “−4 dot” change amount data is stored,
Code data of the selected characters "G", "H", "I", and "J" are sequentially stored.
It is.   Next, when the one-line printing key is operated for one-line printing (S2: Yes,
S3 / S4: No, S7: Yes) One line print mark ">" is displayed on the display 19.
And the one-line print command data is stored in the input data buffer 31 (S8).
), The flag F1 is reset (S9). For example, as shown in FIG.
When one-line print command data is stored at address A000D in data buffer 31,
The code data of the characters "K", "L", and "M" selected thereafter are stored in the address A0.
Stored from 00E to address A0010. Note that the character selection dial 3 is rotated.
(S2: No, S13: Yes), flags other than flags F1, F3, F5
Is set (S14 / S19 / S24: No, S26: Ye)
s), selection contents corresponding to the set flags are sequentially displayed (S2).
7). When the setting key is operated (S2 / S3: Yes), other flags are set.
Is set (S29, S36, S41: No, S44: Yes),
The selection corresponding to the flag is set (S45).   Next, when the print key is operated (S2: Yes, S3 / S4 / S7: N
o, S10: Yes), print processing control (see FIG. 9) is executed (S11). This
When control of the printer is started, first, various flags related to printing and the
Rise is executed (S50), and rearrangement processing control (see FIG. 10) is executed (S50).
51). This control will be described with reference to FIGS. This control is open
When the processing is started, as shown in FIG.
All the code data are stored in the first rearrangement memory 32 (S70). However,
At the end of these multiple code data, "FF" is additionally stored as end data.
You.   Next, the first pointer 34 is assigned to the first address a0000 (hereinafter referred to as the first address) of the first rearrangement memory 32.
This content is set to P1 and a first pointer P1) is set (S71).
Is read from the first rearrangement memory 32 indicated by the first pointer P1 (S7).
2) If the read data is one-line print command data (S73 / S85 / S
83: No), the next address is set to the first pointer P1 (S84), and S7
Return to 2. When the read data is character code data,
Is repeated.   Next, when the first pointer P1 is at “address a0004”, the upper row print command data
(S73: Yes), the first reordering memory 32 is
Is searched (S74), and the lower line printing is performed as command data following the upper line printing command data.
When the command data is stored (S75: Yes), as shown in FIG.
The “address b0004” of the second rearrangement memory 33 corresponding to one pointer P1 is the second pointer
It is set in the interface 35 (hereinafter, also referred to as a second pointer P2), and the lower line is printed.
Command data and character code data to be printed on the lower print line LL following the command data
Is stored in each address after the second pointer P2 (S76). Here, the input data
In the data buffer 31, following the upper line print command data, the lower line print command data
When the data is stored, the lower printing command data is the code following this command data.
For print data, set the print line to be printed and the print position.
It is.   Next, the code data number UDN of the character to be printed on the upper printing line UL is indicated by the lower printing mark.
When it is smaller than the code data number LDN of the character line LL (S78 / S80: No)
As shown in FIG. 15, space address is added to "address a0 008" of the first rearrangement memory 32.
The mode “SP” is stored (S81). However, the number of code data UDN is
If the number is larger than the data number LDN (S78: Yes),
The space code "SP" is stored at a predetermined address (S79). In addition, both
Data numbers UDN and LDN are equal (S78: No, S80: Yes)
, To S82. Next, as shown in FIG.
, The data stored in the second rearrangement memory 33 is deleted, and each of the data after the deleted data is deleted.
Arrangement processing such as moving data “>, K, L, M, FF” respectively is executed (S
82) If there is data to be searched in the first rearrangement memory 32 (S83)
: No), “address b0009” is set as the next search address in the first pointer P1.
Is set (S84).   Then, for the subsequent data “>, K, L, M”, S70 to S72, S
73 · S85: No, S83-S84 are repeatedly executed, and the end data “FF”
(S83: Yes), this control ends and the routine returns.   By the way, when there is no lower row print command data (S75: No), 2 Equivalent to the code data number UDN of the upper print line UL in the rearrangement memory 33
Is stored (S77). Also, the first pointer P1
When the data read based on the data is lower row print command data (S73: No, S
85: Yes), the address of the second rearrangement memory 33 corresponding to the first pointer P1
Is set to the second pointer P2, and the lower row print command data and the lower row
The code data of the character to be printed on the character line LL is stored in each address after the second pointer P2.
(S86), and the lower row printing is performed in the first rearrangement memory 32.
The command data and the code data of the characters to be printed on the lower printing line LL are all
(S87).   Next, the process returns to the printing process control, and stores the first pointer P1 in the first rearrangement memory 32.
Is set (S52), and the first address is set based on the first pointer P1.
The data in the rearrangement memory 32 is read (S53), and the read data is
In the case of character command data (S54 / S55: No, S56: Yes), the flag F
1 is reset (S57), and the L characters used for one-line printing are determined based on the flag F1.
The character width value of “48 dots” is stored in the RAM 30 (S59), and the first
The counter P1 is incremented (S60), and the process returns to S53. Next, read the data
If the character is the code data of the character "A" (S54: No, S55: Yes),
An inter-character space value corresponding to the L character size, for example, “3 dots” is set (S
61) Since the flag F1 has been reset (S62: No), the code data
Is read from the pattern data memory 29, and
As shown in FIG. 17, the print data is stored in the print buffer 37 (S63), and the printing of the character "A" is performed.
The process is executed (S65), and the process proceeds to S60. However, each key after the second character
When printing characters, a space between characters is first provided, followed by character printing.
Is executed.   Next, when the read data is the upper row print command data (S54, S55,
(S56: No), the flag F1 is set (S58), and 2 is set based on the flag F1.
Character width value "16 dots" of SS character size used for line printing is stored in RAM 30
(S59), and the process returns to S53 via S60. Then, the next read character "D"
Is the SS character size (S54: No, S55: Yes), the SS character size Is set, for example, "1 dot" (S61).
Since the flag F1 is set (S62: Yes), data synthesis processing control (FIG. 1)
1) is executed (S64).   When this control is started, first, the second rearrangement memory corresponding to the first pointer P1
33, the address “b0005” is set to the second pointer P2 (S90), and the first pointer
The code data of the character "D" designated at the interface P1 is read (S91), and FIG.
The dot pattern data of this code data is stored in the print buffer 37 as shown in FIG.
It is stored at a position corresponding to the center line CL (S92), and the upper row print command data
When the print base line position change amount d is stored in (S93: Yes),
The line position change amount d (+4 dots) is read out and stored in the print base line position change amount memory 36.
(S94), and as shown in FIG. 19, the dot pattern data is transmitted to the upper row.
The base line position change amount d is set to “4 dots” for shifting to the normal printing base line position PS2.
Is shifted in the dot row direction by the number of dots obtained by adding (S96).   Further, the code data of the character "G" designated by the second pointer P2 is read (S
97), the dot pattern data of this code data is
It is combined and stored on the lower end position in the buffer 37 (S98).
When the print base line position change amount d is stored in the command data (S99: Yes)
, The base line position change amount d (−4 dots) is read out and the print base line position change amount memory 3
6 (S100), and stores the dot pattern data in the lower row of the normal printing base line position.
Dot obtained by adding this baseline position change amount d to “4 dots” for shifting to PS3
(S102), the control is terminated, and the
On. Note that even if the data read in S92 is the lower row print command data,
Steps S3 to S102 are performed. Also, when No is determined in S93 and in S99
When the determination is No, the change amount d is stored in the print baseline position change amount memory 36 as “
"0" is stored respectively.   Thereafter, as shown in FIG. 20, the two characters stored in the print buffer 37 are stored.
The character printing process is executed based on the dot pattern data (S65). Less than
Similarly, as shown in FIG. 16, the data is stored in the first and second rearrangement memories 32 and 33.
The printed data is printed by the print processing control of S50 to S65, and is shown in FIG. Thus, the character string “ABC, KLM” corresponds to the print area PE on the print tape 9.
Is printed on one line, and the character string “DEF” is printed on the upper print line UL, and
The character string “GHIJ” is printed on the lower print line LL. Moreover, these strings "D
EF ”and the character string“ GHIJ ”are based on the designated print base line position change amount d.
Each print position is changed and printed. The first and second rearrangement memories 3 shown in FIG.
When data of 2.33 is printed without changing the print base line position, it is shown in FIG.
Is printed as follows.   The pattern data memory 29 stores dot pattern data of three to four types of character sizes.
Data is stored, and a desired character size can be selected in one-line printing and two-line printing.
You can do it.   The print area PE on the print tape 9 is divided into three to four parts, and these three to four
It is also possible to configure so as to set any one of the print lines.   In addition, a print buffer is added, and the print buffer from which dot row data is read
Even if you store the dot string data for the next print in a print buffer other than
Good.   As described above, the printing head corresponding to the heating element group 11 of the thermal head 7 is used.
The print area PE of the loop 9 is divided into an upper print line UL and a lower print line LL.
One of the print lines UL / LL and its print position are printed in the upper row
Code of character input with command data or lower row print command data
The data is stored in the input data buffer 31 in association with the data. These upper row and lower row
The code data printed on the upper printing line UL based on the line printing command data is
The code data that is rearranged in the array memory 32 and printed on the lower print line LL
The data is rearranged in the second rearrangement memory 33. Data located in both relocation memories
The space code is stored in the relocation memory in a short row by comparing the data numbers. Both of these
Dot pattern data of two code data rearranged in rearrangement memories 32 and 33
Data is synthesized and stored in the print buffer 37, and the synthesized dot string data
It is printed on the printing tape 9 on the basis of this. This provided the printing tape 9 on the printing tape 9.
Arbitrary characters can be printed in two print lines. Also, two print lines UL
The character input to the desired print line of LL can be printed and the upper print line U A large number of characters can be printed over L and the lower print line LL. Soshi
When printing with long or short line lengths on tapes of almost unlimited length,
It can be ejected according to the letter to form a desired tape piece.   While pulling out the printing tape 9 manually, a character mark is printed on the printing tape 9.
Such as those configured to print characters and tape printers using the wire dot method,
Of course, the present invention can be applied to various tape printers.

【図面の簡単な説明】 【図1】 本発明の構成を示す機能ブロック図である。 【図2】 テープ印字装置の平面図である。 【図3】 印字機構の概略平面図である。 【図4】 テープ印字装置の制御系のブロック図である。 【図5】 印字用テープ及びサーマルヘッドを示す印字機構の部分正面図である。 【図6】 テープ印字制御のルーチンの概略フローチャートの一部分である。 【図7】 テープ印字制御のルーチンの概略フローチャートの一部分である。 【図8】 テープ印字制御のルーチンの概略フローチャートの一部分である。 【図9】 印字処理制御のルーチンの概略フローチャートである。 【図10】 再配列処理制御のルーチンの概略フローチャートである。 【図11】 データ合成処理制御のルーチンの概略フローチャートである。 【図12】 入力データバッファ内のデータを模式的に示す説明図である。 【図13】 第1及び第2再配列メモリ内のデータを模式的に示す説明図である。 【図14】 第1及び第2再配列メモリ内のデータを模式的に示す説明図である。 【図15】 第1及び第2再配列メモリ内のデータを模式的に示す説明図である。 【図16】 第1及び第2再配列メモリ内のデータを模式的に示す説明図である。 【図17】 印字バッファ内のドットパターンデータを模式的に示す説明図である。 【図18】 印字バッファ内のドットパターンデータを模式的に示す説明図である。 【図19】 印字バッファ内のドットパターンデータを模式的に示す説明図である。 【図20】 印字バッファ内のドットパターンデータを模式的に示す説明図である。 【図21】 2行印字の各印字行の文字列を印字基線位置変更して印字用テープに印字した印
字例を示す例示図である。 【図22】 2行印字の各印字行の文字列を印字基線位置変更しないで印字用テープに印字し
た印字例を示す例示図である。 【符号の説明】 1 テープ印字装置 3 選字用ダイヤル 4 キーボード部 5 選択キー 7 サーマルヘッド 9 印字用テープ 27 CPU 28 ROM(プログラムメモリ) 29 ROM(パターンデータメモリ) 30 RAM 31 入力データバッファ 32 第1再配列メモリ 33 第2再配列メモリ 37 印字バッファ C 制御装置 PE 印字領域 UL 上段印字行 LL 下段印字行
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a functional block diagram showing a configuration of the present invention. FIG. 2 is a plan view of the tape printer. FIG. 3 is a schematic plan view of a printing mechanism. FIG. 4 is a block diagram of a control system of the tape printer. FIG. 5 is a partial front view of a printing mechanism showing a printing tape and a thermal head. FIG. 6 is a part of a schematic flowchart of a tape print control routine; FIG. 7 is a part of a schematic flowchart of a tape print control routine; FIG. 8 is a part of a schematic flowchart of a tape print control routine. FIG. 9 is a schematic flowchart of a print processing control routine. FIG. 10 is a schematic flowchart of a rearrangement process control routine. FIG. 11 is a schematic flowchart of a data synthesis processing control routine. FIG. 12 is an explanatory diagram schematically showing data in an input data buffer. FIG. 13 is an explanatory diagram schematically showing data in first and second rearrangement memories. FIG. 14 is an explanatory diagram schematically showing data in first and second rearrangement memories. FIG. 15 is an explanatory diagram schematically showing data in the first and second rearrangement memories. FIG. 16 is an explanatory diagram schematically showing data in first and second rearrangement memories. FIG. 17 is an explanatory diagram schematically showing dot pattern data in a print buffer. FIG. 18 is an explanatory diagram schematically showing dot pattern data in a print buffer. FIG. 19 is an explanatory diagram schematically showing dot pattern data in a print buffer. FIG. 20 is an explanatory diagram schematically showing dot pattern data in a print buffer. FIG. 21 is an exemplary diagram showing a print example in which the character string of each print line of two-line printing is printed on a print tape by changing the print base line position. FIG. 22 is an exemplary diagram showing a print example in which a character string of each print line of two-line printing is printed on a print tape without changing a print base line position. [Description of Signs] 1 Tape printer 3 Character selection dial 4 Keyboard unit 5 Selection key 7 Thermal head 9 Printing tape 27 CPU 28 ROM (program memory) 29 ROM (pattern data memory) 30 RAM 31 Input data buffer 32 1 rearrangement memory 33 second rearrangement memory 37 print buffer C control device PE print area UL upper print line LL lower print line

Claims (1)

【特許請求の範囲】 【請求項1】 印字媒体テープの幅に対応配置された印字ヘッドと、 その印字ヘッドと前記テープをそのテープの幅方向と直交する長手方向に相対
移動させる移動手段と、 印字されるべきキャラクタのデータを入力する入力手段と、 前記キャラクタのデータを適宜の位置で区切って前記テープの幅方向に複数の
印字行に印字することを設定するための行印字指令データを入力する行設定手段
と、 前記入力手段により入力されたキャラクタのデータ及び前記行設定手段により
入力された行印字指令データを入力順に格納するための入力データバッファと、 前記行設定手段で入力され、前記入力データバッファに格納された前記行印字
指令データに基づいて、前記入力データバッファに格納された各印字行のキャラ
クタのデータを、前記テープの幅内に対応して配置し印字データに形成するデー
タ形成手段 を備え、前記データ形成手段は、前記テープの幅内に対応する全ての行の印字
データを並行して前記印字ヘッドに供給するとともに前記テープの長手方向に対
応するデータを順次前記印字ヘッドに供給することを特徴とするテープ印字装置
。 【請求項2】 請求項1において、前記データ形成手段は、 前記キャラクタのデータに対応したパターンデータを格納したパターンデータ
記憶手段と、 前記各行のキャラクタのデータに対応するパターンデータを前記パターンデー
タ記憶手段から受けて、前記テープの幅方向に配置される複数行に合成する合成
手段 を備えることを特徴とするテープ印字装置。 【請求項3】 請求項1において、前記データ形成手段は、 前記入力データバッファと、 その入力データバッファから供給されるキャラクタのデータを前記行印字指令
データに基づいて、複数行に再配列して格納するデータ再配列手段と、 前記キャラクタのデータに対応したパターンデータを格納したパターンデータ
記憶手段と、前記データ再配列手段に格納された各行のキャラクタのデータに対
応するパターンデータを前記パターンデータ記憶手段から受けて、前記テープの
幅方向に配置される複数行に合成する合成手段 を備えることを特徴とするテープ印字装置。 【請求項4】 請求項1、2または3において、さらに 前記入力手段により入力されたキャラクタ及び前記行設定手段による行の設定
をあらわすマークを、1行に表示する表示手段を備えることを特徴とするテープ
印字装置。 【請求項5】 請求項1において、さらに 前記複数行の中の前記テープ長手方向に長い行を検出する手段 を備えることを特徴とするテープ印字装置。
Claims: 1. A print head arranged corresponding to a width of a print medium tape, a moving means for relatively moving the print head and the tape in a longitudinal direction orthogonal to a width direction of the tape, Input means for inputting data of a character to be printed , and line print command data for setting printing of a plurality of print lines in the width direction of the tape by dividing the data of the character at appropriate positions and line setting means for, by the data and the line setting means of the input character by the input means
An input data buffer for storing the input line print command data in the order of input, and the line print input by the line setting means and stored in the input data buffer
Based on the command data, the character of each print line stored in the input data buffer
Data forming means for arranging the data of the tape in the width of the tape to form print data, wherein the data forming means concurrently prints the print data of all the rows corresponding to the width of the tape. And supplying data corresponding to a longitudinal direction of the tape to the print head sequentially. 2. The data processing device according to claim 1, wherein the data forming unit stores pattern data corresponding to the character data, and stores the pattern data corresponding to the character data of each row in the pattern data. A tape printing device comprising: a synthesizing unit that receives from the unit and synthesizes a plurality of lines arranged in the width direction of the tape. 3. The method of claim 1, wherein the data forming means, the line printing command data of a character to be supplied with said input data buffer, from the input data buffer
Data rearranging means for rearranging and storing the data in a plurality of rows based on data; pattern data storage means for storing pattern data corresponding to the data of the character; and characters of each row stored in the data rearranging means. And a synthesizing means for receiving pattern data corresponding to the data from the pattern data storage means and synthesizing the data into a plurality of rows arranged in the width direction of the tape. 4. The display device according to claim 1, further comprising display means for displaying, on one line, a character input by said input means and a mark indicating line setting by said line setting means. Tape printing device. 5. The tape printing apparatus according to claim 1, further comprising means for detecting a long line in the tape longitudinal direction among the plurality of lines .

Family

ID=

Similar Documents

Publication Publication Date Title
JP2536322B2 (en) Tape printing device
JP2508933B2 (en) Tape printing device
EP0551995B1 (en) Tape printer having line enhancement capability
US5551785A (en) Divisionally-printable label producing apparatus
JP2546194B2 (en) Tape printer capable of printing multiple lines of data
JP2513441B2 (en) Tape printing device capable of printing multiple lines
JP2508933C (en)
JP3047751B2 (en) Tape printer capable of printing on multiple print lines
JPH0596790A (en) Tape printer
JP2513441C (en)
EP0606768A2 (en) Registration dot pattern data processor of a text processing apparatus
JP2546194C (en)
JP3063544B2 (en) Tape printer
JPH05185654A (en) Tape printing apparatus
JP2560650B2 (en) Tape printer
JP3060443B2 (en) Printing device
JP3292393B2 (en) Document processing device
JP3123376B2 (en) Printing device
JP2606126B2 (en) Tape recorder
JPH05298464A (en) Barcode printer
JP2606126C (en)
JPH0679927A (en) Scale printer
JPH0588825A (en) Printer
JPH06203028A (en) Document processor
JP2560650C (en)