Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3687564B2 - Text management method and text management apparatus - Google Patents
[go: Go Back, main page]

JP3687564B2 - Text management method and text management apparatus - Google Patents

Text management method and text management apparatus Download PDF

Info

Publication number
JP3687564B2
JP3687564B2 JP2001123859A JP2001123859A JP3687564B2 JP 3687564 B2 JP3687564 B2 JP 3687564B2 JP 2001123859 A JP2001123859 A JP 2001123859A JP 2001123859 A JP2001123859 A JP 2001123859A JP 3687564 B2 JP3687564 B2 JP 3687564B2
Authority
JP
Japan
Prior art keywords
text
text data
display
line
cursor
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 - Fee Related
Application number
JP2001123859A
Other languages
Japanese (ja)
Other versions
JP2002318796A (en
Inventor
弘康 倉科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001123859A priority Critical patent/JP3687564B2/en
Priority to US10/123,057 priority patent/US20020178189A1/en
Priority to CNB021401187A priority patent/CN1213378C/en
Publication of JP2002318796A publication Critical patent/JP2002318796A/en
Priority to HK03104411.0A priority patent/HK1052236A1/en
Application granted granted Critical
Publication of JP3687564B2 publication Critical patent/JP3687564B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、テキスト管理方法およびテキスト管理装置に関する。
【0002】
【従来の技術】
パソコンやワープロでは、任意の文字、記号、数字、図形など(以下、代表して「文字」または総称して「キャラクタ」という)を1以上並べたキャラクタ列(文字列)を入力・編集し、所望の文(以下「テキスト」という)を作成し、印刷対象物に任意に印刷するなど、テキストを制御(管理)対象とするテキスト管理が行われる。また、テープ印刷装置なども、この種の小型の装置として知られている。すなわち、テープ印刷装置においても、任意のキャラクタ列の入力・編集により所望のテキストを作成してテープに印刷するなど、テキストを管理対象とするテキスト管理が行われる。
【0003】
【発明が解決しようとする課題】
ところで、従来のこの種のテキスト管理では、複数の文書(テキスト)を入力した後、任意の時点で任意のテキストについての編集や印刷などの各種処理を行えるように、各テキストをファイル(テキストファイル)等として登録(記憶)しておき、それらのうちの1つをテキスト編集画面等と呼ばれる処理画面(いわゆる編集画面)に読み出して表示する。この場合、キーボード等からの入力に基づいて編集する編集対象は、編集画面に表示されている1つのテキストであり、印刷指示により印刷対象となるテキストも、編集画面に表示中の1つのテキストとなる。
【0004】
このため、別のテキストを編集したり印刷するためには、そのテキストを登録された複数のファイルの中から探し、そのファイルから読み出して表示する必要ある。また、表示中のテキストに対して修正等の編集を加えている場合には、一旦、その表示中のテキストをファイルに再登録(セーブ)してから、次のテキストを読み出して表示する必要がある。すなわち、編集や印刷などの各種処理のためには、各テキストの読出・書込を頻繁に行う必要がある。また、これらに対応して、近年のパソコン等では、一度に複数の互いに別のテキストに対する編集画面を表示できるようにしているが、この方法は、パソコン等の大きな表示画面を有する装置にのみ適用できる方法であり、例えばテープ印刷装置などの比較的小さな表示画面の装置には適当ではない。
【0005】
本発明は、複数の互いに独立して処理対象となる各テキストを管理する場合に、小さな表示画面を使用しても、複数の各テキストの表示と記憶とを関連づけることができ、所望のテキストについての編集や印刷などの各種処理が簡易な操作で自在にできるテキスト管理方法およびテキスト管理装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
本発明のテキスト管理方法は、各々独立して処理対象となるL個(Lは2以上の整数)のテキストデータを記憶するテキスト記憶工程と、記憶された前記L個のテキストデータのうちのJ個(Jは1≦J≦Lとなる整数)のテキストデータを、それぞれ1行で全体を表示可能な所定の形式で並べて、それぞれの少なくとも一部を表示対象として、当該表示対象の画像を、J行の表示行を有する表示画面に表示するテキスト表示工程と、前記表示対象の一部を、カーソルの相対的な行間移動によって指定することにより、指定された行の1個のテキストデータの全体を、処理対象として選択する処理対象選択工程と、を備え、前記テキスト表示工程では、前記カーソルの同一行内での相対的な移動によって、前記処理対象となる1個のテキストデータの全体を前記表示画面に表示可能であることを特徴とする。
【0007】
また、本発明のテキスト管理装置は、各々独立して処理対象となるL個(Lは2以上の整数)のテキストデータを記憶するテキスト記憶手段と、記憶された前記L個のテキストデータのうちのJ個(Jは1≦J≦Lとなる整数)のテキストデータを、それぞれ1行で全体を表示可能な所定の形式で並べて、それぞれの少なくとも一部を表示対象として、当該表示対象の画像を、J行の表示行を有する表示画面に表示するテキスト表示手段と、前記表示対象の一部を、カーソルの相対的な行間移動によって指定することにより、指定された行の1個のテキストデータの全体を、処理対象として選択する処理対象選択手段と、を備え、前記テキスト表示手段は、前記カーソルの同一行内での相対的な移動によって、前記処理対象となる1個のテキストデータの全体を前記表示画面に表示可能であることを特徴とする。
【0008】
このテキスト管理方法およびテキスト管理装置では、各々独立して処理対象となる各々1行以上のL個(Lは2以上の整数)のテキストデータを記憶し、そのうちのJ個(Jは1≦J≦Lとなる整数)のテキストデータを、それぞれ1行で全体を表示可能な所定の形式で並べて、それぞれの少なくとも一部を表示対象として、その画像を、J行(Jは1≦J≦Lとなる整数)の表示行を有する所定の表示画面に表示し、表示対象の一部を、カーソルの相対的な行間移動によって指定することにより、指定された行の1個のテキストデータの全体を、処理対象として選択する。この場合、カーソルの同一行内での相対的な移動(以下「行内移動」)により、処理対象のテキストデータの全体を表示画面に表示可能である。すなわち、カーソルの相対的な行間移動および行内移動により、処理対象となるテキストデータの選択およびその内容全体の確認ができ、このため、簡易な操作で、表示により確認後に処理を行うことができる。また、これにより、複数の互いに独立して処理対象となる各テキストを管理する場合に、小さな表示画面を使用しても、複数の各テキストの表示と記憶とを関連づけることができ、所望のテキストについての編集や印刷などの各種処理が簡易な操作で自在にできる。なお、一行表示の場合、必然的にその表示行(1行:1個)のテキストデータが処理対象として選択される。
【0009】
また、上述のテキスト管理方法において、前記テキスト記憶工程では、前記L個のテキストデータを、表示するときの前記所定の形式に従ったL行のテキストデータとして記憶し、前記テキスト表示工程では、前記L行のテキストデータとして記憶されたうちの前記J個のテキストデータを、前記表示画面に画像展開して表示することが好ましい。
【0010】
また、上述のテキスト管理装置において、前記テキスト記憶手段は、前記L個のテキストデータを、表示するときの前記所定の形式に従ったL行のテキストデータとして記憶し、前記テキスト表示手段は、前記L行のテキストデータとして記憶されたうちの前記J個のテキストデータを、前記表示画面に画像展開して表示することが好ましい。
【0014】
このテキスト管理方法およびテキスト管理装置では、表示するときの所定の形式に従ったL行のテキストデータとして記憶するので、L行のテキストデータとして記憶されたうちのJ行に対応するテキストデータを、表示画面に画像展開して表示することにより、読み出してそのまま表示に利用できる。
【0015】
また、前述のテキスト管理方法において、前記テキスト記憶工程では、前記L個のテキストデータを、前記所定の形式で表示するときのL行に対応づけて個別に記憶し、前記テキスト表示工程は、前記L個のテキストデータのうちの少なくともm番目〜m+J+1番目(mは1≦m≦Lとなる整数。ただし、L+1番目は1番目とする。)のJ+2個のテキストデータを、表示に先だってテキスト表示候補領域に読み出すテキスト読出工程と、読み出された前記J+2個のテキストデータのうちのJ個のテキストデータを、前記表示画面に画像展開して表示する表示画像展開工程と、を有することが好ましい。
【0016】
また、前述のテキスト管理装置において、前記テキスト記憶手段は、前記L個のテキストデータを、前記所定の形式で表示するときのL行に対応づけて個別に記憶し、前記テキスト表示手段は、前記L個のテキストデータのうちの少なくともm番目〜m+J+1番目(mは1≦m≦Lとなる整数。ただし、L+1番目は1番目とする。)のJ+2個のテキストデータを、表示に先だってテキスト表示候補領域に読み出すテキスト読出手段と、読み出された前記J+2個のテキストデータのうちのJ個のテキストデータを、前記表示画面に画像展開して表示する表示画像展開手段と、を有することが好ましい。
【0017】
このテキスト管理方法およびテキスト管理装置では、L個のテキストデータを、所定の形式で表示するときのL行に対応づけて個別に記憶し、L個の処理候補のテキストデータのうちの少なくともm番目〜m+J+1番目(mは1≦m≦Lとなる整数。ただし、L+1番目は1番目とする。)のJ+2個の各テキストデータを、表示に先だってテキスト表示候補領域に読み出し、読み出されたJ+2個のテキストデータのうちのJ個のテキストデータを、表示画面に画像展開して表示する。この場合、L個のテキストデータを個別に記憶するので、記憶のための領域を分散して分担できる一方、表示するときのL行に対応づけて記憶し、表示に先立って読み出すので、表示にも支障無く、また、L個の全てを一括して扱わなくても済むので、処理の負荷が軽減される。すなわち、複数の互いに独立して処理対象となる各テキストを管理する場合に、小さな表示画面を使用しても、複数の各テキストの表示と記憶とを関連づけることができ、所望のテキストについての編集や印刷などの各種処理が簡易な操作で自在にできる。
【0018】
また、上述のテキスト管理方法において、前記処理対象のテキストデータは、前記L個のうちのk番目(kはm+1≦k≦m+Jとなる整数。ただし、k=1のときのk−1番目はL番目、k=Lのときのk+1番目は1番目、とする。)のテキストデータであり、前記表示画像展開工程では、前記カーソルのk−1番目側への行間移動に応じて、m番目〜m+J−1番目のJ個のテキストデータを画像展開し、前記カーソルのk+1番目側への行間移動に応じて、m+2番目〜m+J+1番目のJ個のテキストデータを画像展開し、前記テキスト読出工程は、前記テキスト表示候補領域内における配置または割付において、前記カーソルの前記k−1番目側への行間移動に応じて、前記m番目〜m+J番目のJ+1個のテキストデータを、新たなm+1番目〜m+J+1番目のJ+1個のテキストデータに変更し、前記カーソルの前記k+1番目側への行間移動に応じて、前記m+1番目〜m+J+1番目のJ+1個のテキストデータを、新たなm番目〜m+J番目のJ+1個のテキストデータに変更して、変更後のm+1番目〜m+J番目のJ個のテキストデータのそれぞれの一部を新たな表示対象とする表示対象変更工程と、前記テキスト表示候補領域に対して、前記カーソルの前記k−1番目側への行間移動に応じて、m−1番目のテキストデータを新たなm番目のテキストデータとして読み出し、前記カーソルの前記k+1番目側への行間移動に応じて、m+J+2番目のテキストデータを新たなm+J+1番目のテキストデータとして読み出して、次回の表示対象とするための準備をする次回表示準備工程と、を有することが好ましい。
【0019】
また、上述のテキスト管理装置において、前記処理対象のテキストデータは、前記L個のうちのk番目(kはm+1≦k≦m+Jとなる整数。ただし、k=1のときのk−1番目はL番目、k=Lのときのk+1番目は1番目、とする。)のテキストデータであり、前記表示画像展開手段は、前記カーソルのk−1番目側への行間移動に応じて、m番目〜m+J−1番目のJ個のテキストデータを画像展開し、前記カーソルのk+1番目側への行間移動に応じて、m+2番目〜m+J+1番目のJ個のテキストデータを画像展開し、前記テキスト読出手段は、前記テキスト表示候補領域内における配置または割付において、前記カーソルの前記k−1番目側への行間移動に応じて、前記m番目〜m+J番目のJ+1個のテキストデータを、新たなm+1番目〜m+J+1番目のJ+1個のテキストデータに変更し、前記カーソルの前記k+1番目側への行間移動に応じて、前記m+1番目〜m+J+1番目のJ+1個のテキストデータを、新たなm番目〜m+J番目のJ+1個のテキストデータに変更して、変更後のm+1番目〜m+J番目のJ個のテキストデータのそれぞれの一部を新たな表示対象とする表示対象変更手段と、前記テキスト表示候補領域に対して、前記カーソルの前記k−1番目側への行間移動に応じて、m−1番目のテキストデータを新たなm番目のテキストデータとして読み出し、前記カーソルの前記k+1番目側への行間移動に応じて、m+J+2番目のテキストデータを新たなm+J+1番目のテキストデータとして読み出して、次回の表示対象とするための準備をする次回表示準備手段と、を有することが好ましい。
【0020】
このテキスト管理方法およびテキスト管理装置では、処理対象のテキストデータは、L個のうちのk番目(kはm+1≦k≦m+Jとなる整数)であり、テキスト表示候補領域に読み出されたm番目〜m+J+1番目のJ+2個のテキストデータのうちの、m+1番目〜m+J番目のうちの1個である。また、k=1のときのk−1番目はL番目、k=Lのときのk+1番目は1番目なので、循環した番号付けになっていて、これにより、処理対象を循環して選択可能になっている。このため、カーソルの相対的な行間移動により循環して処理対象を選択でき、任意の行から他の任意の行への処理対象の変更の手間や時間等を平均的且つ効率的にできる。
【0021】
また、カーソルの行間移動がk−1番目側のときには(すなわちカーソルが小さい番号側に移動すると)、m番目〜m+J−1番目(すなわち小さい番号側)のJ個のテキストデータ、k+1番目側のときには(すなわち大きい側に移動すると)、m+2番目〜m+J+1番目(すなわち大きい番号側)のJ個のテキストデータ、を画像展開する(すなわち表示対象とする)。この場合、カーソルが相対的に行間移動すると、その分だけ表示がスクロールするので、カーソルの存在する行がJ行の表示行のうちの固定(所定番目)の行となり、このため、処理対象のテキストデータが表示される位置もその固定行となり、これらの結果、カーソルを見失うことなく、また、処理対象の内容確認等もし易い。
【0022】
また、テキスト表示候補領域内における配置または割付において、カーソルが小さい番号側に移動すると、m番目〜m+J番目(小さい番号側)のJ+1個を新たなm+1番目〜m+J+1番目のJ+1個とし、大きい番号側に移動すると、m+1番目〜m+J+1番目(大きい番号側)のJ+1個を新たなm番目〜m+J番目のJ+1個として、変更後のm+1番目〜m+J番目のJ個のテキストデータのそれぞれの一部を新たな表示対象とする。このため、概念上、カーソルが小さい番号側へ移動すると、テキストデータを大きい番号側へ移動させ、テキスト表示候補領域内の小さい番号側に1個分の余地が生じ、カーソルが大きい番号側へ移動すると、テキストデータを小さい番号側へ移動させ、テキスト表示候補領域内の大きい番号側に1個分の余地が生じる。
【0023】
そこで、カーソルが小さい番号側に移動したときには、テキスト表示候補領域内の小さい番号側(m番目の領域)に、より小さい番号に対応する(m−1番目の)テキストデータを読み出し、カーソルが大きい番号側に移動したときには、テキスト表示候補領域内の大きい番号側(m+J+1番目の領域)に、より大きい番号に対応する(m+J+2番目の)テキストデータを読み出す。これにより、余地ができた側に、新たに必要となるテキストデータを読み出すことができる。
【0024】
すなわち、表示対象のJ行を隣接行を含むJ行に移動させた場合、その隣接行が表示対象となるとともに、次に表示対象となる可能性のあるテキストデータ、すなわち次のテキスト表示の候補のテキストデータを表示に先立って読み出す。このため、実際に表示対象となったときには、そのテキストデータを表示画面に画像展開して迅速に表示させることができる。また、この場合、テキスト表示候補領域としてはJ+2行分(J+2個のテキストデータ分)の領域があれば良いので、メモリを節約でき、また、表示に先立って1行(1個のテキストデータ)分だけテキスト表示候補領域に読み出せば良いので、迅速に処理できる。
【0036】
また、上述した各テキスト管理方法において、前記処理対象のテキストデータに対して編集を行う編集工程をさらに備えたことが好ましい。
【0037】
また、上述した各テキスト管理装置において、前記処理対象のテキストデータに対して編集を行う編集手段をさらに備えたことが好ましい。
【0038】
このテキスト管理方法およびテキスト管理装置では、処理対象のテキストデータに対して編集(データの修正:追加、削除、変更など)を行うことができる。
【0039】
また、上述した各テキスト管理方法において、前記処理対象のテキストデータに基づいて、それらに対応する画像の少なくとも一部を印刷対象物に印刷する印刷工程をさらに備えたことが好ましい。
【0040】
また、上述した各テキスト管理装置において、前記処理対象のテキストデータに基づいて、それらに対応する画像の少なくとも一部を印刷対象物に印刷する印刷手段をさらに備えたことが好ましい。
【0041】
このテキスト管理方法およびテキスト管理装置では、処理対象のテキストデータに基づいて、それらに対応する画像の少なくとも一部を印刷対象物に印刷することができる。
【0042】
また、上述のテキスト管理方法において、前記印刷対象物がテープであることが好ましい。
【0043】
また、上述のテキスト管理装置において、前記印刷対象物がテープであることが好ましい。
【0044】
このテキスト管理方法およびテキスト管理装置では、印刷対象物がテープなので、テープ印刷装置に適用できる。
【0047】
【発明の実施の形態】
以下、本発明の一実施形態に係るテキスト管理方法およびテキスト管理装置を適用したテープ印刷装置について、添付図面を参照しながら詳細に説明する。
【0048】
図1および図2は、本実施形態におけるテープ印刷装置の全体および開閉蓋を開けたときの外観構成を示し、図3は、その制御系のブロック図である。図1および図2に示すように、このテープ印刷装置1は、上下2分割の装置ケース2により外殻が形成され、キーボード3およびディスプレイ4が配設された上側ケース(開閉蓋)21と、ポケット6等の機構部が配設された下側ケース22を備えている。
【0049】
また、図3に示すように、基本的な構成として、キーボード3やディスプレイ4を有してユーザとのインタフェースを行う操作部11、印刷ヘッド(サーマルヘッド)7やテープ送り部120を有してポケット6内に装着したテープカートリッジCの印刷用テープ(以下単に「テープ」)Tに印刷を行う印刷部12、印刷後のテープTの切断を行う切断部13、各種センサを有して各種検出を行う検出部14、各種ドライバを有して各部回路を駆動する駆動部270、および、テープ印刷装置1内の各部を制御する制御部200を備えている。このため、装置ケース2の内部には、印刷部12、切断部13、検出部14などの他、図外の回路基板が収納されている。この回路基板には、電源ユニットの他、駆動部270や制御部200の各回路などが搭載され、図外のACアダプタ接続口や外部から着脱可能なニッカド電池等の電池に接続されている。
【0050】
テープ印刷装置1では、ユーザが、ポケット6にテープカートリッジCを装着した後、ディスプレイ4により入力・編集結果を確認しながらキーボード3により所望の文字など(文字、数字、記号、簡易図形等のキャラクタ)の印刷情報を入力して、印刷を指示すると、テープ送り部120によりテープカートリッジCからテープTを繰り出して、印刷ヘッド7によりテープTに所望の印刷を行い、印刷済み部分はテープ排出口22から随時外部に送り出される。所望の印刷が完了すると、テープ送り部120は、余白分を含むテープ長さの位置までテープTの送りを行った後、その送りを停止する。
【0051】
図2および図3に示すように、印刷部12には、テープカートリッジCを装着するためのポケット6が設けられていて、テープカートリッジCは、開閉蓋21を開放した状態でポケット6に対して着脱される。テープカートリッジCには、カートリッジケース51の内部に一定の幅(4.5mm〜48mm程度)のテープTとインクリボンRとを収容されており、また、ポケット6に配設されたヘッドユニット61に差し込むための貫通孔55が形成されている。また、相異なる幅等のテープTの種別を識別できるように、裏面に小さな複数の孔が設けられ、ポケット6には、この孔の有無を検出するマイクロスイッチ等のテープ識別センサ142が設けられていて、これにより、テープTの種別や任意設定情報を検出できるようになっている。
【0052】
テープTは、裏面に接着面が形成され、それが剥離紙によって覆われた構成になっている。テープTとインクリボンRは、貫通孔55の位置で相互に重なり合った状態で走行するとともに、テープTのみが外部に排出され、インクリボンRは内部で巻き取られるようになっている。
【0053】
ヘッドユニット61には、サーマルヘッドから成る印刷ヘッド7が内蔵されており、テープカートリッジCがポケット6に装着された状態で、印刷ヘッド7が、テープカートリッジCの貫通孔55から露出しているインクリボンRの裏面に当たるようになっている。そして、印刷ヘッド7を発熱駆動することにより、所望の文字などがテープTの表面に印刷される。また、ポケット6には、環境(周囲)温度を検出して報告するサーミスタなどの周囲温度センサ143が設けられていて、周囲温度を検出して制御部200に報告する。
【0054】
また、装置ケース2(下側ケース22)の左側部には、ポケット6と装置外部とを連通するテープ排出口23が形成され、テープ排出口23には、送りだしたテープTを切断するテープカッタ132が臨んでいる。また、ポケット6には、装着されたテープカートリッジ4の被駆動部が係合する駆動軸62、63などが設けられており、送りモータ121を駆動源として、これらの駆動軸62、63により、テープカートリッジC内のテープTおよびインクリボンRの送りが行われ、かつこれらに同期して印刷ヘッド7を駆動することで、印刷が行われる。また、印刷完了後、テープTの送りが続行され所定の切断位置がテープカッタ132の位置まで送られる。
【0055】
なお、印刷ヘッド7の表面に密着してサーミスタなどのヘッド表面温度センサ144が設けられていて、印刷ヘッド7の表面温度を検出して制御部200に報告する。また、送りモータ121の先端には図外の検出開口が形成された円盤が固着され、その検出開口に臨むようにフォトセンサ等を有する回転速度センサ141が設けられていて、送りモータ121の回転速度を検出して制御部200に報告する。
【0056】
切断部13は、テープカッタ132と、任意長印刷などの場合に手動によりテープカッタ132を切断動作させるカットボタン133と、定長印刷などの場合に自動的にテープカッタ132を切断動作させるカッタモータ131と、を備えている。また、これにより、テープ印刷装置1では、モード設定によって、自動/手動を切り替えられるようにしている。このため、手動カットの場合、印刷が完了した時点で、ユーザが、装置ケース2に配設されたカットボタン133を押すことで、テープカッタ132が作動しテープTが所望の長さに切断される。また、自動カットの場合、印刷が終了して余白分だけテープ送りされ、それが停止すると同時に、カッタモータ131が駆動され、テープTの切断が行われる。
【0057】
検出部14は、前述の回転速度センサ141、テープ識別センサ142、周囲温度センサ143、ヘッド表面温度センサ144を備えている。なお、実状に合わせて、これらを省略した構成とすることもできる。
【0058】
駆動部270は、ディスプレイドライバ271と、ヘッドドライバ272と、モータドライバ273とを備えている。ディスプレイドライバ271は、制御部200から出力される制御信号に基づき、その指示に従って、操作部11のディスプレイ4を駆動する。同様に、ヘッドドライバ272は、制御部200の指示に従って、印刷部12の印刷ヘッド7を駆動する。また、モータドライバ273は、印刷部12の送りモータ121を駆動する送りモータドライバ273dと、切断部13のカッタモータ131を駆動するカッタモータドライバ273cとを有し、同様に、制御部200の指示に従って、各モータを駆動する。
【0059】
操作部11は、キーボード3とディスプレイ4とを備えている。ディスプレイ4は、任意の文字、記号、数字、図形など(以下、代表して「文字」または総称して「キャラクタ」という)を、横方向(X方向)に全角で6文字分(6キャラクタ分)だけ表示可能な表示画面41を有し、処理対象のキャラクタ列を選択したり、ユーザがキーボード3からデータや各種指令・指示等を入力して、キャラクタ列を編集したり、その結果等を視認したりする際などに用いられる。
【0060】
キーボード3には、アルファベットキー群、記号キー群、数字キー群、平仮名や片仮名等の仮名キー群、および外字を呼び出して選択するための外字キー群等を含む文字キー群31の他、各種の動作モードなどを指定するための機能キー群32などが配列されている。
【0061】
機能キー群32には、図外の電源キー、印刷動作を指示するための印刷キー322、テキスト入力時のデータ確定や改行および選択画面における各種モードの選択指示のための選択キー、網掛け、アンダーライン、囲み等のいわゆる文字装飾や背景模様(地模様やイラスト等を含む)などの装飾を設定するための装飾設定キー、文字色、背景色、装飾色などの色彩(濃淡、彩度、色艶、透明度等を含む)を設定するための色彩設定キー、並びに、それぞれ上(「↑」)、下(「↓」)、左(「←」)、右(「→」)方向へのカーソル移動や表示画面41の表示範囲を移動させるための4個のカーソルキー330(330U、330D、330L、330R:「カーソル「↑」キー330U」など)が含まれる。
【0062】
機能キー群32には、さらに、各種指示を取り消すための取消キー、各キーの役割を変更したり、描画登録画像データの修正等に用いられるシフトキー、テキスト入力画面や選択画面と印刷画像データの表示画面(イメージ画面)とを相互に切り換えるためのイメージキー、印刷画像データとイメージ画面に表示する表示画像データとの大きさの比率を変更するための比率変更(ズーム)キー、文字の書体を含む各種フォームを設定するためのフォームキーなどが含まれる。
【0063】
なお、当然ながら、一般的なキーボードと同様に、これらのキー入力は、各キー入力毎に個別にキーを設けて入力しても良いし、シフトキー等と組み合わせてより少ない数のキーを用いて入力しても良い。ここでは、理解を容易にするために上記の分だけキーがあるものとする。図3に示すように、キーボード3は、上述のような種々の指令およびデータを制御部200に入力する。
【0064】
制御部200は、CPU210、ROM220、キャラクタジェネレータROM(CG−ROM)230、RAM240、周辺制御回路(P−CON)250を備え、互いに内部バス260により接続されている。ROM220は、CPU210で処理する制御プログラムを記憶する制御プログラム領域221の他、色変換テーブルや文字修飾テーブルなどを含む制御データを記憶する制御データ領域222を有している。CG−ROM230は、テープ印刷装置1に用意されている文字、記号、図形等のフォントデータを記憶していて、文字等を特定するコードデータが与えられたときに、対応するフォントデータを出力する。
【0065】
RAM240は、電源キー321の操作により電源がオフにされても、記憶したデータを保持しておくように図外のバックアップ回路によって電源の供給を受けており、各種レジスタ群241や、ユーザがキーボード3から入力した文字等のテキストデータを記憶するテキストデータ領域242、表示画面41の表示画像データを記憶する表示画像データ領域243、印刷画像データを記憶する印刷画像データ領域244、描画登録画像データを記憶する描画登録画像データ領域245の他、印刷履歴データ領域246やその他の色変換バッファなどの各種変換バッファ領域247などの領域を有し、制御処理のための作業領域として使用される。
【0066】
P−CON250には、CPU21の機能を補うとともに周辺回路とのインタフェース信号を取り扱うための論理回路が、ゲートアレイやカスタムLSIなどにより構成されて組み込まれている。例えば、種々の計時を行うタイマ251などもP−CON250内の機能として組み込まれている。このため、P−CON250は、検出部14の各種センサやキーボード3と接続され、検出部14からの前述した各種検出信号およびキーボード3からの各種指令や入力データなどをそのままあるいは加工して内部バス260に取り込むとともに、CPU210と連動して、CPU210等から内部バス260に出力されたデータや制御信号を、そのままあるいは加工して駆動部270に出力する。
【0067】
そして、CPU210は、上記の構成により、ROM220内の制御プログラムに従って、P−CON250を介して各種検出信号、各種指令、各種データ等を入力し、CG−ROM230からのフォントデータ、RAM240内の各種データ等を処理し、P−CON250を介して駆動部270に制御信号を出力することにより、印刷の位置制御や表示画面41の表示制御等を行うとともに、印刷ヘッド7を制御して所定の印刷条件でテープTに印刷するなど、テープ印刷装置1全体を制御している。
【0068】
次に、テープ印刷装置1の制御全体の処理フローについて、図4を参照して説明する。電源オン等により処理が開始すると、同図に示すように、まず、テープ印刷装置1を、前回の電源オフ時の状態に戻すために、退避していた各制御フラグを復旧するなどの初期設定を行い(S1)、次に、前回の表示画面を初期画面として表示する(S2)。図4のその後の処理、すなわちキー入力か否かの判断分岐(S3)および各種割込処理(S4)は、概念的に示した処理である。実際には、テープ印刷装置1では、初期画面表示(S2)が終了すると、キー入力割込を許可し、キー入力割込が発生するまでは、そのままの状態を維持し(S3:No)、何らかのキー入力割込が発生すると(S3:Yes)、それぞれの割込処理に移行して(S4)、その割込処理が終了すると、再度、キー入力割込待機状態(S3:No)となる。
【0069】
次に、本実施形態において採用するキャラクタ処理方法について、原理的に説明しておく。ここでいうキャラクタ処理方法では、各文書(各テキスト)毎に編集や印刷等を行えるように各テキストを管理するので、テキスト管理方法として適用する(あるいは呼称する)こともできる。
【0070】
まず、例えば図5(a)に示すように、第1段落の第1行が「あいう」、第2行が「えおかきくけこ」、第2段落の第1行が「さ」、第2行が「し」、第3行が「すせ」の文字列(キャラクタ列)から成る文書(テキスト)の印刷画像G1をテープ(印刷対象物)Tに印刷する場合、印刷画像G1を表現する印刷画像データが必要となる。
【0071】
この場合の印刷画像データの作成では、例えば「あいう」の「あ」や「い」や「う」等の各キャラクタ画像を、印刷画像データ領域244内の予め設定された位置に、かつ予め設定されたキャラクタサイズで、配置する。各キャラクタ画像は、各キャラクタを表現するコードデータに基づいて、CG−ROM230など(この他、外字登録その他により予め登録した(ROM220やRAM240内の)メモリ領域など)からドットマップやアウトラインなどのフォントデータを読み出して、画像展開することにより得られる。以下、この印刷画像データの作成のために必要なデータを、テキストデータと呼ぶ。
【0072】
この場合、テキストデータには、各キャラクタ(画像)のキャラクタサイズが含まれるが、キャラクタサイズは、例えば予めユーザにより手動設定できる他、印刷対象のテープTのテープ幅を検出し、各段落毎に行数に応じて自動設定することもできるし、それらをモード等により選択設定できるようにしても良い。以下の説明では、テープ幅と行数に応じて自動的に決定されるものとし、説明を省略(簡略化)する。例えば図5に示す各印刷例も自動で決定したキャラクタサイズに基づくものであり、同図(a)における第1段落の「あいう」等は、第1段落が2行のため、テープ幅に応じた2行のときのキャラクタサイズに、第2段落の「さ」等は、第2段落が3行のため、3行のときのキャラクタサイズに設定されているものとする。
【0073】
なお、この他、テキストデータには、各キャラクタ(画像)を印刷する際のゴシック体や明朝体などの書体等を含むいわゆる書式データ、斜体や白抜きなどのいわゆるスタイルを示すスタイルデータなどの他、強調や網掛けなどの装飾情報を含む各種モードのデータなど、いわゆるフォーマットを決定するためのフォーマットデータを含むものとし、編集作業ではこれらのフォーマットデータを変更することもでき、また、これらの各種趣向を凝らしたテキストデータに基づいて、それらの趣向を反映させた印刷画像の印刷ができるが、これらについても以下では説明を省略する。一方、もちろん、テキストデータには、印刷画像データの作成のため、すなわち印刷画像G1の印刷のため、「あいう」の「あ」や「い」や「う」等の各キャラクタ画像を表現するコードデータが含まれる。
【0074】
ここで、本実施形態では、各段落の第1行には、○(丸)の中に「1」を入れた丸付番号(以下、(丸1)等のように示す)、第2行には(丸2)、……、など(図5を対比しつつ図6参照)、行番号を示す丸付番号のキャラクタを付して説明する。なお、この種の属性を示す属性キャラクタ(例えば(丸1)等)の付加を説明にのみ使用し、実際には、他の方法でその属性(ここでは行番号)の情報を(テキストデータに)含ませることもできるが、本実施形態では、キャラクタ列(例えば「あいう」)の直前に、実際に付すことにする。この場合、属性キャラクタ(例えば(丸1)等)が各キャラクタ列の属性情報を保持することになる。これにより、他のキャラクタと同様に扱えるので、扱いやすくなるほか、表示の際にも属性情報を付したまま表示することにより、ユーザは各キャラクタ列の属性情報を把握しやすくなる。
【0075】
例えば図5(a)に対しては、「(丸1)あいう」、「(丸2)えおかきくけこ」等のキャラクタ列により、第1段落の第1行が「あいう」、第2行が「えおかきくけこ」であることを示し、再度(丸1)が付される「(丸1)さ」のキャラクタ列により、次の段落(第2段落)の第1行が「さ」であることを示し、「(丸2)し」、「(丸3)すせ」等のキャラクタ列により、第2行が「し」、第3行が「すせ」のキャラクタ列であることを示す。この場合、これらにより(これらを表示した表示画面41を見れば)、ユーザは印刷したときに印刷画像G1のように印刷されることを容易にイメージできる。
【0076】
次に、上記のようなテキストデータを扱う方法、いわばテキスト管理方法について、まず、従来の方法について説明してから、本実施形態における方法を説明する。
【0077】
まず、従来の方法では、例えば図5に示す6種類の印刷画像G1〜G2を任意の時点で印刷できるようにする場合、複数の文書(テキスト)を入力した後、任意の時点で任意のテキストについての編集や印刷などの各種処理を行えるように、例えば図6に示すように、各テキストをファイル(テキストファイル)01〜06等として登録(記憶)しておき、それらのうちの1つをテキスト編集画面等と呼ばれる処理画面(いわゆる編集画面)に読み出して表示する。
【0078】
ここで、後述の本実施形態におけるテキスト管理(キャラクタ処理)方法と比較しやすいように、例えば図7に示すように、仮想的なマトリクスの行および列の一方(この例では行方向)をX方向および他方(この例では列方向)をY方向として、1区画に全角の1キャラクタ(半角で2キャラクタ)分を配置できる仮想的なマトリクスEMを考える。すなわち任意の全角の1キャラクタ(半角の2キャラクタ)を要素とする仮想的なマトリクスEMを考える。ここでは、X方向にM個(Mは1以上の整数)かつY方向にL個(Lは2以上の整数)の、最大でM×L個のキャラクタを要素として有することが可能な仮想的なマトリクスEMとする。
【0079】
従来の方法において、図5(a)で前述し図6のファイル01で示したテキスト(テキスト01)を編集対象とした場合、編集対象となるテキストデータを保持する領域(以下「テキスト編集領域」)EAは、上述の仮想的なマトリクス(以下「テキストマトリクス」)EMに相当し、例えば図8に示すように、テキスト編集領域」)EAに読み出された(コピーされた)テキストデータ(ファイルデータ)F1のイメージは、概念的(仮想的)には、同図に示すようになる。
【0080】
また、上述の場合の編集画面(具体的にはディスプレイ4の表示画面41)に表示される(表示対象となる)テキストデータを保持する領域(以下「テキスト表示領域」)DAは、テキストマトリクスEMでイメージ化できるテキスト編集領域EAのいわば部分マトリクスに相当し、表示画面41に表示可能な文字数(キャラクタ数)がX方向にN個(Nは1≦N≦Mとなる整数)かつY方向にJ個(Jは1≦J≦Lとなる整数)とすれば、最大でN×J個のキャラクタを要素として有することが可能な仮想的なマトリクス(以下「表示対象マトリクス」)に相当する。
【0081】
例えば表示画面41に表示可能な文字数(キャラクタ数)が、2行(X方向:N=2)×6文字(Y方向:J=6)とすれば、テキスト表示領域(表示対象マトリクス相当)D1のイメージは、図9に示すようになる。また、1行(X方向:N=1)×6文字(Y方向:J=6)とすれば、テキスト表示領域(表示対象マトリクス相当)D1sのイメージは、図10に示すようになる。
【0082】
また、上述の表示画面41すなわちテキスト表示領域DAにおいて、表示内容を例えばカーソルキー等によるスクロール指示に従って上下左右にスクロールさせる場合、図11に示すように、テキスト表示領域DAは、テキスト編集領域EA内で移動するので、表示内容は変化するものの、同一テキスト内で変化するのみとなる。すなわち、従来の方法では、キーボード3等からの入力に基づいて編集する編集対象は、編集画面に表示されている1つのテキストである。また、印刷キーの押下により印刷を指示して印刷対象となるテキストも、編集画面に表示中のテキストとなる。
【0083】
このため、別のテキストを編集したり印刷するためには、それをファイルから読み出して表示する必要がある。例えば前述のファイル01のテキスト(テキスト01)を編集対象または印刷対象とした後に、ファイル02のテキスト(テキスト02)を編集対象または印刷対象とするためには、図11に示すように、ファイル領域FAのファイル02の領域F2Aからテキスト02のテキストデータ(ファイルデータ)F2をテキスト編集領域に読み出す(コピーする、ロードする)必要がある。
【0084】
また、表示中のテキストに対して修正等の編集を加えている場合には、一旦、その表示中のテキストをファイルに再登録(セーブ)してから、次のテキストを読み出して表示する必要がある。例えば上述の例では、テキスト02のテキストデータF2をロードする(読み出す)前に、編集中のテキスト01のテキストデータF1を、例えば元のファイル01の領域F1Aに書き込む(セーブする)必要がある。すなわち、編集や印刷などの各種処理のためには、各テキストの読出・書込を頻繁に行う必要がある。
【0085】
なお、近年の(パソコン等の)オペレーティング(OS)では、一度に複数の互いに別のテキストに対する編集画面を(マルチウィンドウ)表示できるようにしているが、この方法は、パソコン等の大きな表示画面を有する装置にのみ適用できる方法であり、例えば本実施形態のテープ印刷装置1などの比較的小さな表示画面41の装置には適当ではない。
【0086】
そこで、テープ印刷装置1では、テキストマトリクスEMの部分マトリクスの1つであり、Y方向に任意のk番目(k=1、2、3、……、L)のX方向に最大でM個のキャラクタを要素として有することが可能な仮想的なマトリクス(第k処理候補マトリクス)PM(k)を考える。この場合、図12に示すように、テキスト編集領域EAがテキストマトリクスEMでイメージ化できるのと同様に、処理候補の文書番号kのテキスト(第kテキスト)のテキストデータTD(k)を保存する領域(以下「第k処理候補領域」)PA(k)のイメージは、図12に示すようになる。
【0087】
例えば、図5および図6で前述のテキスト01からテキスト06を第1テキストから第6テキストとし、各テキストデータをテキストデータTD(1)〜TD(6)として、図13に示すように、第1処理候補領域PA(1)〜PA(6)のそれぞれに保存(格納)しておくことができる。
【0088】
また、図12において、第1処理候補マトリクスPM(1)から第L処理候補マトリクスPM(L)までのL個の処理候補マトリクスのうちの1個を処理対象マトリクスPM(0)として選択することにより、処理対象マトリクスPM(0)のテキストデータTD(0)を処理対象とすることができる。言い換えれば、第1処理候補領域PA(1)〜PA(L)のうちの1個を選択することにより、それぞれに保存(格納)されたテキストデータTD(1)〜TD(L)のうちの1個を処理対象のテキストデータTD(0)として選択できる。すなわち、各テキストの読出・書込を頻繁に行うことなく、複数のテキストについての編集や印刷などの各種処理が自在にできる。
【0089】
例えば図13において、第1処理候補領域PA(1)(すなわち第1処理候補マトリクスPM(1))を選択すれば、テキストデータTD(1)について編集したり、前述のような印刷画像G1(図5(a)参照)を印刷するなど、各種処理ができる。同様に、第2処理候補領域PA(2)(すなわち第2処理候補マトリクスPM(1))を選択すれば、テキストデータTD(2)の編集や印刷(図5(b)参照)などの処理ができる。第3処理候補領域PA(3)〜第6処理候補領域PA(6)についても同様に、それぞれを選択して、それぞれ、テキストデータTD(3)〜TD(6)の編集や印刷(図5(c)〜(f)参照)などの処理ができる。
【0090】
なお、図13では、第1処理候補領域PA(1)〜第6処理候補領域PA(6)までのY方向に連続する領域を用いたが、これに限らず、飛び飛びの領域を使用しても良い。また、図14に示すように、テキストデータを未登録の領域には、第1段落の第1行の行番号を示す(丸1)を予め格納しておいても良い。また、その他、入力可能な段落数や行数分の段落番号や行番号を予め格納しておいても良い(図21〜図23、図27〜図28等参照)。これにより、改行や改段落の操作等が不要になる。
【0091】
また、上述の各例では、テキストマトリクスEMのY方向の要素数をL個としていたが、メモリ容量等を勘案して適宜定めれば良く、また、必要になった時点で、適宜数を増減させても良い(X方向の要素数Mについても同様)。以下では、図15に示すように、仮にL=8として、説明を簡略化する。また、さらに図示の見やすさの面から要素間の区切り(点線)の図示を省略して、図16のように示す。
【0092】
ところで、上記のようなキャラクタ処理(テキスト管理)においても、テキストマトリクスEMに対する表示対象マトリクスDMの関係は、従来と同様であるが、テキストマトリクスEMの要素が異なるので、表示内容が異なってくる。例えば表示画面41に表示可能な文字数(キャラクタ数)が、2行(Y方向:J=2)×6文字(X方向:N=6)とすれば、テキスト表示領域DA(表示対象マトリクスDM相当)のイメージは、図17に示すようになる。また、1行(Y方向:J=1)×6文字(X方向:N=6)とすれば、テキスト表示領域DA(表示対象マトリクスDM相当)のイメージは、図18に示すようになる。
【0093】
また、テープ印刷装置1では、図19に示すように、4個のカーソルキー330(330U、330D、330L、330R)に押すことによって、テキスト表示領域DA(表示対象マトリクスDM)のテキスト編集領域EA(テキストマトリクスEM)内での位置を変更(スクロール)できるので、ユーザは、テキスト編集領域EA(テキストマトリクスEM)内の各部を表示させることにより、記憶されたテキストデータを確認できる。また、編集等の処理を行う場合には、その処理(編集)結果の確認ができる。
【0094】
また、この場合、カーソル「←」キー330Lやカーソル「→」キー330Rによるスクロール、すなわち左右のスクロールにおいては、従来と同様に同一テキスト内での表示内容(表示範囲)の変更となっているが、カーソル「↑」キー330Uやカーソル「↓」キー330Dによるスクロール、すなわち上下のスクロールにおいては、別のテキストデータを表示することになる。
【0095】
このため、例えば図18で上述のテキスト表示領域DA(表示対象マトリクスDM)が1行の場合、表示されているテキストデータ(図の例ではテキストデータTD(3))を処理対象のテキストデータTD(0)と定めておくことにより、カーソルキー330(この場合、330U、330D)を操作して処理対象のテキストデータTD(0)を選択できる。このため、例えば図18に図示の状態で印刷キーを押すことにより、第3処理候補領域PA(3)(第3処理候補マトリクスPM(3)相当)のテキストデータTD(3)を、処理対象(処理対象領域PA(0)(処理対象マトリクス(0)相当))のテキストデータTD(0)として選択でき、図5(b)の印刷画像G2を印刷できる。
【0096】
このことは、図18で上述のような1行表示の場合ばかりでなく、複数表示の場合にも適用できる。例えば図17で上述のようにテキスト表示領域DA(表示対象マトリクスDM)が2行の場合、表示されている(J=)2個のテキストデータ(図の例ではテキストデータTD(2)、TD(3))のうちの上側(J個のうちの上から1番目)を処理対象のテキストデータTD(0)と定めておけば、カーソルキー330U、330Dを操作して処理対象のテキストデータTD(0)を選択できる(図の例ではテキストデータTD(0)=テキストデータTD(2))。このため、例えば図17に図示の状態で印刷キーを押すことにより、テキストデータTD(2)を処理対象のテキストデータTD(0)として選択でき、図5(a)の印刷画像G1を印刷できる。
【0097】
もちろん、(J=)2個のテキストデータのうちの下側(J個のうちの上から2番目)を処理対象のテキストデータと定めておけば、図18で上述の例と同様に、テキストデータTD(3)を処理対象のテキストデータTD(0)として選択でき、図5(b)の印刷画像G2を印刷できる。
【0098】
図17〜図19で上述の例では、処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)相当))は、(L=)8個の処理候補領域PA(1)〜PA(8)(処理候補マトリクスPM(1)〜PM(8)相当)のうちの、少なくとも一部がテキスト表示領域DA(表示対象マトリクスDM相当)と重複するJ個(図17では2個、図18では1個)の処理候補マトリクスのうちから選択されるので、処理対象マトリクスの少なくとも一部を表示により確認した後に、処理対象として選択できる。また、処理対象も表示されるので、編集等の処理の場合にも結果確認等がし易く便利となる。
【0099】
また、テープ印刷装置1では、処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)相当))は、J個の処理候補マトリクスのうちの所定番目(図17では1番目または2番目、図18では1番目)の1個である。すなわち、テキスト表示領域DA(表示対象マトリクスDM相当)の位置を変更することにより、J個の処理候補マトリクスも変化するが、そのうちの所定番目なので、テキスト表示領域DA(表示対象マトリクスDM相当)の位置を変更することにより、処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)相当))は、自動的に定まる。すなわち、テキスト表示領域DA(表示対象マトリクスDM相当)の位置を変更することにより、処理対象マトリクスを選択できる。
【0100】
上述のように、テープ印刷装置1におけるキャラクタ処理方法では、まず、Mは1以上の整数、Lは2以上の整数、Nは1≦N≦Mとなる整数、Jは1≦J≦Lとなる整数、任意のk番目のk=1、2、3、……、Lとして、図7で前述のように、最大で(X方向)M個×(Y方向)L個の任意の(テキスト)キャラクタを要素とする仮想的なテキストマトリクスEMおよびそれに相当するテキスト編集領域EA(図7、図12等参照)、最大で(X方向)N個×(Y方向)J個の(表示対象)キャラクタを要素とする表示対象マトリクスDMおよびそれに相当するテキスト表示領域DA(図17〜図20等参照)、並びに、最大で(X方向)M個×(Y方向)1個の(第k処理候補)キャラクタを要素とするk=1〜Lの第k処理候補マトリクスPM(k)およびそれに相当する第k処理候補領域PA(k)(図12〜図15等参照)、を仮想的なマトリクスおよびそれに相当する領域として考える。
【0101】
そして、このキャラクタ処理方法では、テキストキャラクタを表現するテキストデータを、テキストマトリクスEMに対応づけてテキスト編集領域EAに記憶し、テキストキャラクタのうちの表示対象キャラクタのテキストデータに基づいて、表示対象キャラクタの画像を表示し、第1処理候補マトリクスPM(1)から第L処理候補マトリクスPM(L)までのL個の処理候補マトリクスのうちの1個を処理対象マトリクスPM(0)として選択し、処理対象マトリクスPM(0)内に存在する各キャラクタを処理対象キャラクタとして確定させる。
【0102】
すなわち、第1処理候補マトリクスPM(1)から第L処理候補マトリクスPM(L)までのL個の処理候補マトリクスにそれぞれ別のキャラクタ群(例えば文書(テキスト)))を割り当てておけば、そのうちの1個を処理対象マトリクスPM(0)として選択して、処理対象マトリクス内のキャラクタ群(例えばテキスト)を処理対象として確定させることができる。
【0103】
また、この場合、例えば図13〜図15等で前述のように、テキスト編集領域EA(テキストマトリクスEM)のX方向に、言い換えると、第1〜第LのL個の第k処理候補領域PA(k)(第k処理候補マトリクスPM(k))のそれぞれのX方向に、単にバラバラなキャラクタの集合(キャラクタ群)ではなく、文書(テキスト)と成りうるキャラクタ群(前述の第kテキスト)が配置される(割り当てられている)ので、そのうちの1個を処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)))として選択して、その内のテキストを処理対象として確定させることができる。
【0104】
このため、このキャラクタ処理方法では、複数の文書(テキスト)のうちのいずれかを処理対象として編集や印刷などの各種処理を行う場合にも、各テキストの読出・書込を特に行うことなく、処理対象として選択できる。また、この場合、複数のテキストを一度に表示させる必要もないので、大きな表示画面を必要としない。したがって、このキャラクタ処理方法では、小さな表示画面41を使用しても、各テキストの読出・書込を頻繁に行うことなく、複数のテキストについての編集や印刷などの各種処理が自在にできる。
【0105】
なお、この場合の処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)))の選択は、図17〜図19で上述のような方法ばかりでなく、例えば第k処理候補の任意のkを数値入力するなどの他の方法でも可能である。
【0106】
また、上述の各例では、属性キャラクタとして各段落の第1行には(丸1)、第2行には(丸2)、……、など、行番号を示す丸付番号のキャラクタを付したが、各テキストの先頭、すなわち第1段落の第1行の前に、文書(テキスト)番号を示す四角付き番号(四角内に番号)を付すこともできる。また、この場合、第1段落の第1行の行番号(丸1)の直前に付されるので、例えば図18に対応して図20に示すように、第1段落の第1行直前の(丸1)を省略することもできる。この他、各段落(文書番号と併用するときは第2段落以降)の第1行直前の(丸1)の代わりに、他の種のキャラクタにより段落番号を示す属性キャラクタを付すこともできる。
【0107】
これらの場合、属性キャラクタが各キャラクタ列の属性情報を保持し、かつ、他のキャラクタと同様に扱えるので、表示の際にも属性情報を付したまま表示することにより、ユーザは各キャラクタ列の属性情報(文書番号、段落番号、行番号等)を把握しやすくなる。特に文書番号、段落番号、行番号等の属性キャラクタは、各キャラクタ列の配置情報を保持するので、ユーザは各キャラクタ列の配置情報、すなわち表示されているキャラクタ列が、何番目の文書、何番目の段落、何番目の行、に含まれるものかなど、を把握しやすくなる。
【0108】
次に、本実施形態のキャラクタ処理方法に基づいて行う編集や印刷の処理について、その操作例を説明する。まず、以下では、図21に示すように、扱う文書数(テキスト数)を20とし、図20で上述と同様に、文書(テキスト)番号を示す四角付き番号を付し、第1段落の第1行直前の行番号(丸1)を省略する。また、段落数が増えても、説明が煩雑になるだけで、図5で前述のように同様に処理できるので、段落数は1とする。また、行数は同様の理由により3行までとする(以上、図20(a)の(1)〜(3))。その他も同図(a)に従う((5)〜(9))。
【0109】
また、図22以降では、図21(b)の表記フォーマットに示すように図示するものとする。また、テキスト表示画面DAに対応するディスプレイ4の表示画面41の表示状態を画面Dxxで表現し、参照番号としてはDxxのみで示す。また、初期状態は、説明の便宜上および理解しやすさから、文書番号1(第1テキスト)から文書番号20(第20テキスト)の全てについて、文書番号(第1段落第1行の(丸1)を兼ねる)および同段落の行番号(丸2)(丸3)がすでに登録(記憶)されているものとする。もちろん、文書数(テキスト数)は任意に増加させることができるものとし、例えば最初に新たな文書番号を入力した時点で、その処理候補領域(処理候補マトリクス)を用意するようにしても良いが、ここでは、第1〜第20テキストの領域(第1処理候補領域PA(1)〜第20処理候補領域PA(20))およびその属性キャラクタがすでに用意されているものとする。
【0110】
例えば図22に示すように、図4で前述の初期画面表示等において、第1テキストの初期状態が表示されているものとする(D10)。この初期状態では、印刷キー322を押しても、印刷すべきキャラクタがないので、その旨(指示エラー)を示すように瞬間的に(例えば0.75秒)消灯した後、現状に復帰する。また、この状態(D10)から、ユーザによりカーソル「↓」キー330Dが押されると、第2テキストの例えば初期状態を表示する(D11)。以下同様に、カーソル「↓」キー330Dの押下に従って、第3テキストの状態〜第20テキストの状態を表示する(D12〜D14)。
【0111】
この場合、テキスト編集領域EAに記憶されたテキストマトリクスEMの要素となる各キャラクタのテキストデータを背景とし、第1処理候補領域PA(1)に記憶された第1処理候補マトリクスPM(1)のテキストデータTD(1)を処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)))のテキストデータTD(0)として選択した状態(D10)から、第20処理候補領域PA(20)に記憶された第20処理候補マトリクスPM(20)のテキストデータTD(20)を処理対象のテキストデータTD(0)として選択した状態(D14)まで、カーソル「↓」キー330Dの押下に従って(表示をスクロールして)、状態(画面)を遷移させたことを意味する。すなわち、カーソル操作により、第1テキスト〜第20テキストの(L=)20個の処理候補のテキストデータTD(1)〜TD(20)のうちの1個を、処理対象のテキストデータTD(0)として、容易に選択・確定できる。
【0112】
なお、本例では、第20テキストの表示に第1テキストの表示が続く(循環表示する、ローテートする)ようになっていて、第20テキストの初期状態を表示した状態(D14)から、さらにカーソル「↓」キー330Dが押されると、第1テキストの初期状態を表示する(D15:D10と同じ)。なお、この状態(D15)から、すなわちカーソルKがテキスト番号の位置にあり、これ以上左側には何もない(何もキャラクタがない)状態から(D10〜D14からでも同じ)、カーソル「←」キー330Lが押されると、その旨(指示エラー)を示すように瞬間的に消灯(D16)した後、現状に復帰する(D17)。
【0113】
また、この状態(D17:D10やD15と同じ)から、カーソル「→」キー330Rが押されると、カーソルが相対的に右に移動、すなわちカーソルKは固定位置なので、表示されるキャラクタが左に移動し、第2行を示す行番号(丸2)の下にカーソルKが移動する(D18:図22と図23で共通)。図23に示すように、同様に、この状態(D18)から、カーソル「→」キー330Rが押されると、第3行を示す行番号(丸3)の下にカーソルKが移動する(D19)。同様に、この状態(D19)から、すなわちこれ以上右側には何もキャラクタがない状態から、カーソル「→」キー330Rが押されると、その旨(指示エラー)を示すように瞬間的に消灯(D20)の後、現状に復帰する(D21)。
【0114】
また、この状態(D21:D19と同じ)から、カーソル「↑」キー330Uが押されると、第20テキストの状態を表示する(D22)。なお、この状態(D22)から、すなわち第3行を示す行番号(丸3)の下にカーソルKがある状態(D22)から、カーソル「←」キー330Lが押されると、カーソルKが相対的に左に移動し(表示されるキャラクタが右に移動し)、第2行を示す行番号(丸2)の下にカーソルKが移動する(D23)。同様に、この状態(D23)から、カーソル「←」キー330Lが押されると、カーソルKがテキスト番号の位置に移動し、これ以上左側には何もキャラクタがない状態(D24)になるので、この状態(D24)から、カーソル「←」キー330Lがさらに押されると、その旨(指示エラー)を示すように瞬間的に消灯(D25)した後、現状に復帰する(D27)。
【0115】
次に、図22で前述の状態(D10:図22と図24で共通)から、図24に示すように、ユーザにより文字キー群31の文字(キャラクタ)である「A」キー(以下、この種のキーの参照番号は全て文字キー群の31で代表する)31が押されると、カーソルKのある位置(ここでは、テキスト番号「1」のキャラクタの下の位置)より左側にある全キャラクタの表示を左に移動し、カーソルKの位置にキー入力されたキャラクタ「A」を挿入する(D30)。もちろん、テキスト編集領域EA(テキストマトリクスEM)内では、この位置(テキスト番号「1」の右:行番号(丸2)の前)に、キャラクタ「A」のコードデータがテキストデータの一部として挿入される。このため、この状態(D30)で印刷キー322が押されると、1文字の「A」の印刷画像G30を印刷する。
【0116】
同様に、この状態(D30)から、「7」キー31が押されると、カーソルKのある位置(ここでは、キャラクタ「A」の下の位置)より左側の表示を左に移動し、その位置にキー入力されたキャラクタ「7」を挿入する(D31)。もちろん、テキスト編集領域EA(テキストマトリクスEM)内でも、キャラクタ「7」が挿入されるため、この状態(D31)で印刷キー322が押されると、2文字×1行の「A7」の印刷画像G31を印刷する。
【0117】
この状態(D31)から、カーソル「→」キー330Rが押されると、カーソルKが相対的に右に移動し、第2行を示す行番号(丸2)の下にカーソルKが移動する(D32)。この状態(D32)では、テキストデータは何ら変化しないので、印刷キー322が押されると、印刷画像G31と同じ2文字×1行の「A7」の印刷画像G32を印刷する。
【0118】
この状態(D32)から、「f」キー31が押されると、カーソルKのある位置(行番号のキャラクタ(丸2)の下の位置)より左側の表示を左に移動し、その位置にキー入力されたキャラクタ「f」を挿入する(D33)。もちろん、テキスト編集領域EA(テキストマトリクスEM)内でも、キャラクタ「f」が挿入されるため、この状態(D33)で印刷キー322が押されると、1行目は、2文字の「A7」、2行目は1文字の「f」の画像を展開した印刷画像G33を印刷する。
【0119】
同様に、この状態(D33)から、順次、「G」キー31、「8」キー31が押されると、次々に、カーソルKのある位置より左側の表示を左に移動し、その位置にキー入力されたキャラクタ「G」、「8」を挿入する(D34〜D35)。もちろん、テキストデータも挿入されるため、これらの状態(D34、D35)で印刷キー322が押されると、1行目は、2文字の「A7」、2行目は2文字「fG」の画像または3文字「fg8」の画像を展開した印刷画像G34または印刷画像G35を印刷する。
【0120】
この状態(D35)から、カーソル「←」キー330Lが押されると、カーソルKが相対的に左に移動し、第2行の末尾のキャラクタ「8」の下にカーソルKが移動する(D36:図24と図25で共通)。テキストデータは何ら変化していないので、印刷キー322が押されると、印刷画像G35と同じ印刷画像G36を印刷する。
【0121】
次に、図24で上述の状態(D36:図24と図25で共通)から、図25に示すように、ユーザによりカーソル「↓」キー330Dが押されると、第1テキストの状態を表示している状態(D36)から第2テキストの初期状態を表示する状態(D37)に移行する。この場合、本来なら、カーソルKは、元のカーソルKの位置(第1テキストの第6キャラクタに相当するキャラクタ「G」の下の位置)に該当する位置(第2テキストの第6キャラクタに相当する位置)に移るが、第2テキストには、該当する位置にキャラクタがない(第6キャラクタに相当する位置がない)ので、第2テキストの末(文末:ここでは、第2テキストの第3キャラクタの下の位置)に移動する(D37)。もちろん、この初期状態(D37)では、印刷キー322を押しても、印刷すべきキャラクタがないので、その旨(指示エラー)を示すように瞬間的に消灯した後、現状に復帰する(D37)。
【0122】
また、この状態(D37)から、カーソル「↑」キー330Uが押されると、第2テキストの状態を表示している状態(D37)から第1テキストの状態を表示する状態(D38)に移行する。この場合、カーソルKの位置は、元のカーソルKの位置(第2テキストの第3キャラクタに相当する行番号(丸3)の下の位置)に該当する位置(第1テキストの第3キャラクタに相当するキャラクタ「7」の下の位置)に移動する(D38)。もちろん、この状態(D38)で、印刷キー322が押されると、第1テキストに対応する前述の印刷画像G35等と同じ印刷画像G38を印刷する。
【0123】
また、この状態(D38)から、カーソル「↑」キー330Uが押されると、第1テキストの状態を表示している状態(D38)から第20テキストの状態を表示する状態(D39)に移行する。この場合、カーソルKの位置は、元と同じ第3キャラクタに相当する行番号(丸3)の下の位置に移行する。もちろん、この初期状態(D39)では、印刷キー322を押しても、印刷すべきキャラクタがないので、その旨(指示エラー)を示すように瞬間的に消灯した後、現状に復帰する(D39)。
【0124】
この状態(D39)から、「T」キー31が押されると、カーソルKのある位置(行番号(丸3)の下の位置)より左側の表示を左に移動し、その位置にキー入力されたキャラクタ「T」を挿入する(D40)。もちろん、テキスト編集領域EA(テキストマトリクスEM)内でも、キャラクタ「T」が挿入されるため、この状態(D40)で、印刷キー322が押されると、3行目に1文字の「T」の画像を展開した印刷画像G40を印刷する。
【0125】
この状態(D40)から、カーソル「←」キー330Lが3回押されると、カーソルKが相対的に左に3キャラクタ分だけ移動し、テキスト番号の「20」の下にカーソルKが移動する(D41)。テキストデータは何ら変化していないので、印刷キー322が押されると、印刷画像G40と同じ印刷画像G41を印刷する。
【0126】
この状態(D41)から、「9」キー31が押されると、カーソルKのある位置(テキスト番号「20」のキャラクタの下の位置)より左側の表示(テキスト番号「20」のキャラクタのみ)を左に移動し、その位置にキー入力されたキャラクタ「9」を挿入する(D40)。もちろん、テキスト編集領域EA(テキストマトリクスEM)内でも、キャラクタ「9」が挿入されるため、この状態(D40)で印刷キー322が押されると、1行目に1文字の「9」、3行目に1文字の「T」の画像を展開した印刷画像G42を印刷する。
【0127】
また、この状態(D42)から、カーソル「↑」キー330Uが押されると、第20テキストの状態を表示している状態(D42)から第19テキストの状態を表示する状態(D43:図25と図26で共通)に移行する。この場合、カーソルKの位置は、元と同じ第2キャラクタに相当する行番号(丸2)の下の位置に移行する。もちろん、この初期状態(D43)では、印刷キー322を押しても、印刷すべきキャラクタがないので、その旨(指示エラー)を示すように瞬間的に消灯した後、現状に復帰する。
【0128】
次に、図25で上述の状態(D43:図25と図26で共通)から、図26に示すように、「Z」キー31が押されると、カーソルKのある位置(行番号(丸2)のキャラクタの下の位置)より左側の表示を左に移動し、その位置にキー入力されたキャラクタ「Z」を挿入する(D44)。もちろん、テキスト編集領域EA(テキストマトリクスEM)内でも、キャラクタ「Z」が挿入されるため、この状態(D44)で、印刷キー322が押されると、2行目に1文字の「Z」の画像を展開した印刷画像G45を印刷する。
【0129】
また、この状態(D45)から、カーソル「→」キー330Rが押されると、カーソルKが相対的に右に移動し、行番号(丸3)の下にカーソルKが移動する(D45)。テキストデータは何ら変化していないので、印刷キー322が押されると、印刷画像G44と同じ印刷画像G45を印刷する。
【0130】
この状態(D45)から、スペースキー31が押されると、カーソルKのある位置(行番号(丸3)のキャラクタの下の位置)より左側の表示を左に移動し、その位置にキー入力されたキャラクタ「 」(スペース:SP)を挿入する(D46)。もちろん、テキスト編集領域EA(テキストマトリクスEM)内でも、キャラクタ「 」(スペース:SP)が挿入されるため、この状態(D46)で、印刷キー322が押されると、2行目に1文字の「Z」、3行目に1文字の「 」(1文字分のスペース)の画像を展開した印刷画像G46を印刷する。
【0131】
また、この状態(D46)から、カーソル「↓」キー330Dが押されると、第19テキストの状態を表示している状態(D46)から第20テキストの状態を表示する状態(D47)に移行する。この場合、カーソルKの位置は、元と同じ第5キャラクタに相当する3行目のキャラクタ「T」の下(この場合、末尾)の位置に移行する。もちろん、この状態(D47)で、印刷キー322が押されると、前述の印刷画像G42と同じ印刷画像G47を印刷する。
【0132】
また、この状態(D47)から、カーソル「↓」キー330Dが押されると、第20テキストの状態を表示している状態(D47)から第1テキストの状態を表示する状態(D48)に移行する。この場合、カーソルKの位置は、元と同じ第5キャラクタに相当する2行目のキャラクタ「f」の下の位置に移行する。もちろん、この状態(D48)で、印刷キー322が押されると、前述の印刷画像G35等と同じ印刷画像G48を印刷する。
【0133】
上述のように、本実施形態のテープ印刷装置1のキャラクタ処理(またはテキスト管理)方法では、処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)))を編集対象マトリクスとして、処理対象キャラクタのテキストデータTD(0)を追加、削除または変更することにより、テキスト編集領域EA(テキストマトリクスEM)のテキストキャラクタに対する編集を行うことができる。
【0134】
また、このキャラクタ処理方法では、処理対象(処理対象領域PA(0)(処理対象マトリクスPM(0)))を印刷対象マトリクスとして、処理対象キャラクタのテキストデータTD(0)に基づいて、それらの画像の少なくとも一部をテープ(印刷対象物)Tに印刷できる。なお、前述したように、処理対象キャラクタに属性キャラクタが含まれる場合には、特に文書番号、段落番号、行番号等の属性キャラクタが含まれる場合には、属性キャラクタ自体は印刷せず、それが付随された他のキャラクタ列をその属性キャラクタに従って(例えば指定の段落や行に)印刷できる。
【0135】
また、別の見方をすれば、本実施形態のテープ印刷装置1のキャラクタ処理(またはテキスト管理)方法では、独立して処理対象となるテキストデータTD(k)を各行として、それぞれ処理候補となるL個(Lは2以上の整数)のテキストデータTD(1)〜TD(L)を、L行のテキストデータTD(1)〜TD(L)として記憶する。また、記憶されたL行のテキストデータTD(1)〜TD(L)のうちの少なくとも1行の少なくとも一部を表示対象として、その表示対象内のテキストデータ(例えば図17のTD(2)およびTD(3)、図18や図20のTD(3))を示す画像を表示する。
【0136】
そして、L個の処理候補のテキストデータTD(1)〜TD(L)のうちの少なくとも一部が表示された1個のテキストデータ(例えば図17ではTD(2)またはTD(3)、図18や図20ではTD(3))を、処理対象のテキストデータTD(0)として選択する。この場合、処理対象となるのは、少なくとも一部を表示により確認できるテキストデータなので、表示により確認後に処理を行うことができる。なお、図18以降で示した例では、一行表示なので、必然的にその表示行(1行:1個)のテキストデータが処理対象として選択される。
【0137】
また、このテキスト管理方法では、処理対象のテキストデータTD(0)は、表示対象となっている行のうちの所定番目(図17では1番目または2番目、図18以降では、1行表示なので、1番目)の行のテキストデータである。このため、表示対象の行が決定すれば、処理対象のテキストデータTD(0)も決定する。逆に言えば、このことにより、表示対象の行を変更することにより、処理対象を変更することが可能になる。
【0138】
そして、テープ印刷装置1では、カーソルKを処理対象の選択手段にしているので、カーソルKを操作して容易に処理対象を変更・選択できる。この場合、L行のテキストデータTD(1)〜TD(L)のうちの表示対象となる部分を変更できるので、ユーザはL行のテキストデータTD(1)〜TD(L)のうちの各部を表示させることにより、記憶されたテキストデータを確認できる。特に、表示対象となっている行(のうちの所定番目)が処理対象となるので、カーソル「↑」キー330Uまたはカーソル「↓」キー330Dを操作して、カーソルKを相対的に上下の行に移動させ、表示対象の行を変更することにより、処理対象を変更できる。
【0139】
この場合、L個のテキストデータTD(1)〜TD(L)を同時に処理候補として、各テキストの読出・書込を特に行うことなく、処理対象を選択できる。また、この場合、複数のテキストデータを一度に表示させる必要もないので、大きな表示画面を必要としない。したがって、このテキスト管理方法では、複数の互いに独立した各テキストを同時に処理候補として、小さな表示画面を使用しても、各テキストの読出・書込を頻繁に行うことなく、表示されたテキストについての編集や印刷などの各種処理が自在にできる。
【0140】
また、図22〜図26で上述の例では、第20テキストの表示に第1テキストの表示が続く(循環表示する、ローテートする)ようになっている。これらの場合、L行のうちの第1行の前に隣接する行(図示の1行上の行)は第L行であり、第L行の後(図示の1行上の下)に隣接する行は第1行であるように、表示対象の行を循環表示可能に変更するので、表示対象の行を任意の行から別の任意の行に変更する際の手間や時間等を平均的かつ効率的にできる。
【0141】
さらに具体的に、上述のテキスト管理方法では、少なくとも印刷対象となるときには1行または複数行の1段落または複数段落にて印刷可能な任意の1個のテキストデータを、表示対象とするときには1行で表示可能な、所定の形式が定められているので(例えば図5と図17等参照)、印刷時には1行/複数行の1段落/複数段落のいずれに相当しても、表示時には1行で表示できる。ここで、その所定の形式に従って、各々独立して処理対象となる各々1行以上のL個(Lは2以上の整数)のテキストデータを記憶する。すなわち、これらL個のテキストデータは、それぞれ1行で表示可能なテキストデータである。
【0142】
また、L個のうちの少なくとも1個のテキストデータのうちの少なくとも一部を表示対象として、そのテキストデータを示す画像を所定の表示画面(テキスト表示領域DA:表示画面DA)に表示する(図17〜図26等参照)。この場合、各テキストデータは1行として表示される。また、表示画面(所定の表示画面)DAは、カーソルKのある表示行を含むJ行(Jは1≦J≦Lとなる整数:図17の例ではJ=2、図18〜図26の例ではJ=1)の表示行を有する。
【0143】
そして、図24〜図26で上述のように、印刷キー322の押下(所定の印刷指示)に従って、カーソルKのある表示行に少なくともその一部が表示されたテキストデータを印刷対象として、テープ(印刷対象物)Tに印刷する。すなわち、カーソルKのある表示行に1行として表示されたテキストデータを印刷対象として印刷する。
【0144】
もちろん、この場合の印刷対象のテキストデータは、印刷時には1行/複数行の1段落/複数段落のいずれに相当しても良い。また、少なくともカーソルKのある表示行を含めばよいので、表示画面(所定の表示画面)DAとしては少なくとも1行の表示ができるものであれば良い。すなわち、小さな表示画面で良い。また、カーソルKのある表示行のテキストデータを印刷対象とするので、印刷対象となるテキスト(データ)を、それを登録したファイル等を探すことなく簡易な操作で指定できる。
【0145】
また、図19および図24〜図26で上述のように、表示画面DAにおいてカーソルKを相対的に行間移動させることにより、印刷対象となるテキストデータを別のテキストデータに変更できる。この場合、カーソルKは、その表示行を含むJ行の表示行を有する所定の表示画面内にある(上述の各例ではJ=1なので、表示画面DA全体がカーソルのある表示行となる)ので、この場合の相対的な行間移動としては、そのカーソルKの位置を固定しておき、上述の各例のように、J行の表示行を変更(例えばスクロール)させるカーソル固定方式と、説明は省略するが、カーソルKを表示画面DAで文字通り行間移動させるカーソル移動方式のいずれを採用しても良い。
【0146】
そして、いずれにせよ、カーソルKの相対的な行間移動という簡易な操作で、印刷対象となるテキストデータを指定・変更できる。また、このカーソルKの相対的な行間移動という簡易な操作で、表示画面に表示するテキストデータを変更できるので、ユーザは記憶されたL個のテキストデータを表示により確認できる。また、カーソルKを同一方向に行間移動させることにより、L個のテキストデータを循環表示させるので、表示させるテキストデータを任意の1から別の任意の1に変更する際の手間や時間等を平均的かつ効率的にできる。また、カーソルKのある表示行に表示されたテキストデータを編集対象として、そのテキストデータの内容を書き換えることができる。
【0147】
なお、図22〜図26で上述の例では、段落数を1として、文書(テキスト)番号を示す四角付き番号を付し、第1段落の第1行直前の行番号(丸1)を省略して、入力可能な行数分(3行)の残りの行に対して行番号(丸2)(丸3)を予め格納したが、複数段落の場合にもその行数分の行番号等を予め格納できる。例えば段落数を2とし、第2段落の行番号を菱形「◇」付きの番号として第1段落と区別し、各段落で入力可能な行数分を3行として、図17に対応して図27に示すように、各段落の各行の行番号とその段落を区別して、図示のテキストデータTD(4)、TD(8)のようにデフォルトとして(すなわち初期状態として)予め格納しておくことができる。
【0148】
また、図22〜図26で上述の例と同様に、文書(テキスト)番号を示す四角付き番号を付し、第1段落の第1行直前の行番号(丸1)を省略して、入力可能な行数分(3行)の残りの行に対して行番号(丸2)(丸3)を予め格納することもできる。この場合、例えば上記の図27の例に対応して図28に示すようになる。
【0149】
図27または図28で上述の例において、図示の第1テキストデータTD(1)は、第1段落1行目のみを入力したものである。また、図27または図28に図示の第7テキストデータTD(7)を処理対象として印刷すると(印刷対象とすると)、図29(a)に示すように、2行の印刷画像G11を印刷できる。また、例えば自分より後に文字(キャラクタ)の入力のない行番号のみは無視し、後に入力のある行番号のみの行は空白行と見なして、両図の第6テキストデータTD(6)を印刷することにより、図29(b)に示すように、3行のうちの2行目が空白行の印刷画像G12を印刷できる。
【0150】
また、上述の各例では、図19等で説明したように、テキスト編集領域EAに、L個のテキストデータを表示するときの所定の形式に従ったL行のテキストデータとして記憶する。このため、J行(Jは1≦J≦Lとなる整数)の表示行を有する所定の表示画面41(テキスト表示領域DA)に、各テキストデータに対応して各々1行の所定の形式で表示するときに、L行のテキストデータとして記憶されたうちのJ行に対応するテキストデータを、表示画面DAに画像展開して表示することにより、読み出してそのまま表示に利用できる。
【0151】
なお、上述のようにテキスト編集領域EAにL個のテキストデータの全てを記憶して一括して扱う場合、L個が大きい(数が多い)ときには、処理が重くなりすぎる可能性もある。そのような場合、例えば図30に示すように、表示画面DAに表示する(表示対象の)J個のテキストデータの近傍(図示では隣接のみ)の行のテキストデータのみを、テキスト編集領域EAにおいて扱うようにしても良い。
【0152】
この場合、L個のテキストデータは、例えば図11で前述の従来の方法と同様に個別のファイルF1A〜F8A等に記憶しておく。また、テキスト編集領域EAには、表示対象のJ行(図示では2行)とそれに隣接する行とを含むJ+2行(図示では4行)のテキストデータを、各テキストデータに対応して各々1行の所定の形式で表示できるように記憶する。すなわち、J+2(=4)個のテキストデータを各々1行の所定の形式で記憶する。
【0153】
そして、この状態から、例えばカーソル「↑」キー330Uの押下によりカーソルKを(相対的に)1行上に移動させたときには、表示対象行(表示対象のテキストデータ)が1行上にずれるので、その分、上側に隣接する行のテキストデータをファイルから読み出す。すなわち、続いてカーソルKが上に移動したときに表示対象となる行のテキストデータを予め読み出してテキスト編集領域EAに所定の形式で記憶する。同様に、例えばカーソル「↓」キー330Dの押下によりカーソルKを(相対的に)1行下に移動させたときには、表示対象行(表示対象のテキストデータ)が1行下にずれるので、その分、下側に隣接する行のテキストデータをファイルから読み出す。
【0154】
このため、この場合のテキスト編集領域EAは、次に表示対象となる可能性のあるテキストデータ、すなわち次のテキスト表示の候補のテキストデータを表示に先立って読み出して記憶するテキスト表示候補領域となる。また、これにより、実際に表示対象となったときには、そのテキストデータを表示画面に画像展開して迅速に表示させることができる。もちろん、所定番目の行に表示される(選択される)ことによって編集等の処理対象となるテキストデータなので、前述してきたテキスト編集領域EAとしての役目も兼ねる領域となる。なお、この場合、テキスト編集領域EAにおける各テキストデータに対応して各々1行の所定の形式で表示できれば良いので、ファイル領域FA内に記憶する場合には他の形式(データ形式:フォーマット等)でも良い。
【0155】
上述のように、本実施形態のテープ印刷装置1(のテキスト管理方法)では、各々独立して処理対象となる各々1行以上のL個(Lは2以上の整数)のテキストデータを記憶し、そのうちの少なくとも1個の少なくとも一部を表示対象として、表示対象のテキストデータを示す画像を、J行(Jは1≦J≦Lとなる整数)の表示行を有する所定の表示画面DAに、各テキストデータに対応して各々1行の所定の形式で表示し、少なくとも一部が表示された1個のテキストデータを、処理対象のテキストデータとして選択する。
【0156】
この場合、処理対象となるのは、少なくとも一部を表示により確認できるテキストデータなので、表示により確認後に処理を行うことができる。このため、複数の互いに独立して処理対象となる各テキストを管理する場合に、小さな表示画面を使用しても、複数の各テキストの表示と記憶とを関連づけることができ、所望のテキストについての編集や印刷などの各種処理が簡易な操作で自在にできる。なお、一行表示の場合、必然的にその表示行(1行:1個)のテキストデータが処理対象として選択される。
【0157】
なお、上述の実施形態では、テープ印刷装置について説明したが、キャラクタ列(またはテキスト)を対象として編集や印刷などの各種処理を行う形態であれば、種々の形態を採用でき、テープではない印刷対象物に編集したキャラクタ列(またはテキスト)の画像を印刷する各種の印刷装置や、その他、特に小さい表示画面が使用して、複数のテキストについて編集や印刷などの各種処理を行う装置に適用でき、本発明の要旨を逸脱しない範囲で、適宜変更も可能である。
【0158】
【発明の効果】
上述のように、本発明のテキスト管理方法およびテキスト管理装置では、複数の互いに独立して処理対象となる各テキストを管理する場合に、小さな表示画面を使用しても、複数の各テキストの表示と記憶とを関連づけることができ、所望のテキストについての編集や印刷などの各種処理が簡易な操作で自在にできる、などの効果がある。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るテキスト管理方法およびテキスト管理装置を適用したテープ印刷装置の外観斜視図である。
【図2】図1のテープ印刷装置の開蓋状態の外観斜視図である。
【図3】図1のテープ印刷装置の制御系のブロック図である。
【図4】図1のテープ印刷装置の制御全体の概念的処理を示すフローチャートである。
【図5】印刷画像の例を示す説明図である。
【図6】従来のテキスト管理に係るキャラクタ処理方法において、各テキストをテキストファイルとして登録するイメージを示す説明図である。
【図7】テキストマトリクスおよびテキスト編集領域のイメージを示す説明図である。
【図8】従来のテキスト管理に係るキャラクタ処理方法において、テキストファイルからテキスト編集領域に読み出したテキストデータのイメージ示す説明図である。
【図9】図8の場合の表示対象マトリクスおよびテキスト表示領域のイメージを示す説明図である。
【図10】別の一例を示す、図9と同様の説明図である。
【図11】従来のテキスト管理に係るキャラクタ処理方法におけるテキスト編集領域と、テキスト表示領域と、ファイル領域との関係の一例をイメージ化した説明図である。
【図12】テキストマトリクスおよびテキスト編集領域と、第k処理候補マトリクスおよび第k処理候補領域と、の関係の一例をイメージ化した説明図である。
【図13】図13の場合に、各第k処理候補領域に各kテキストデータを保存するときのイメージを示す説明図である。
【図14】別の一例を示す、図13と同様の説明図である。
【図15】さらに別の一例を示す、図13と同様の説明図である。
【図16】図5を簡略化した、図15と同様の説明図である。
【図17】図16の場合の、テキスト編集領域とテキスト表示領域との関係の一例をイメージ化した説明図である。
【図18】別の一例を示す、図17と同様の説明図である。
【図19】テキスト編集領域、テキスト表示領域および第k処理候補領域の関係の一例をイメージ化した説明図である。
【図20】別の一例を示す、図16と同様の説明図である。
【図21】図22以降に示す操作例の図示に関する注記を示す説明図である。
【図22】テキスト表示領域および表示対象マトリクスのテキスト編集領域内およびテキストマトリクス内での位置を変更するための操作例を示す説明図である。
【図23】図22に続く、図22と同様の説明図である。
【図24】編集や印刷などの各種処理についての操作例を示す説明図である。
【図25】図24に続く、図24と同様の説明図である。
【図26】図25に続く、図24と同様の説明図である。
【図27】さらに別の一例を示す、図17と同様の説明図である。
【図28】さらに別の一例を示す、図17と同様の説明図である。
【図29】別の一例を示す、図5と同様の説明図である。
【図30】図11と同様のファイル領域を利用した場合の別の一例を示す、図19と同様の説明図である。
【符号の説明】
1 テープ印刷装置
3 キーボード
4 ディスプレイ
5 テープカートリッジ
7 印刷ヘッド
11 操作部
12 印刷部
13 切断部
14 検出部
31 文字キー群
32 機能キー群
41 表示画面
141 テープ識別センサ
142 回転速度センサ
200 制御部
210 CPU
220 ROM
230 CG−ROM
240 RAM
241 各種レジスタ群
242 テキストデータ領域
243 表示画像データ領域
244 印刷画像データ領域
270 駆動部
DA テキスト表示領域
DM 表示対象マトリクス
EA テキスト編集領域
EM テキストマトリクス
PA(k) 第k処理候補領域
PM(k) 第k処理候補マトリクス
TD(k) 第kテキストのテキストデータ
T テープ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a text management method and a text management device.
[0002]
[Prior art]
A personal computer or word processor inputs and edits a character string (character string) in which one or more arbitrary characters, symbols, numbers, figures, etc. (hereinafter referred to as “character” or generically “character”) are arranged, Text management is performed with text as a control (management) target, such as creating a desired sentence (hereinafter referred to as “text”) and printing it arbitrarily on a print target. A tape printer or the like is also known as this type of small device. That is, even in the tape printer, text management is performed with text as a management target, such as creating a desired text by inputting / editing an arbitrary character string and printing it on a tape.
[0003]
[Problems to be solved by the invention]
By the way, in this type of conventional text management, after inputting a plurality of documents (text), each text is saved in a file (text file) so that various processes such as editing and printing can be performed on any text at any time. ) Etc., and one of them is read out and displayed on a processing screen called a text editing screen (so-called editing screen). In this case, the editing target to be edited based on the input from the keyboard or the like is one text displayed on the editing screen, and the text to be printed by the print instruction is also the same as the one displayed on the editing screen. Become.
[0004]
For this reason, in order to edit or print another text, it is necessary to search for the text from a plurality of registered files, read it from the file, and display it. In addition, when editing such as correction is added to the displayed text, it is necessary to re-register (save) the displayed text in a file and then read and display the next text. is there. That is, it is necessary to frequently read and write each text for various processes such as editing and printing. Correspondingly, in recent personal computers, etc., an edit screen for a plurality of different texts can be displayed at one time. However, this method is applicable only to a device having a large display screen such as a personal computer. This method is not suitable for a device having a relatively small display screen such as a tape printer.
[0005]
In the present invention, when managing a plurality of texts to be processed independently of each other, even if a small display screen is used, the display and storage of each of the plurality of texts can be associated with each other. An object of the present invention is to provide a text management method and a text management apparatus that can freely perform various processes such as editing and printing of the text by simple operations.
[0006]
[Means for Solving the Problems]
  The present inventionTeKist management methods are subject to processing independently.LA text storage step for storing text data (L is an integer of 2 or more), and the stored text data of the L text dataJ pieces of text data (where J is an integer satisfying 1 ≦ J ≦ L) are arranged in a predetermined format that can be displayed entirely on a single line.At least a part of the display target, the display targetPaintingThe statue, JIn lineHas a display lineTableDisplay screenIn the tableA text display process to show,By specifying a part of the display object by relative line-to-line movement of the cursor,1 text dataWholeVs. processingWith elephantA processing object selection step to selectIn the text display step, the entire text data to be processed can be displayed on the display screen by relative movement of the cursor within the same line.
[0007]
  Also,The present inventionEach text management device is independently processed.LText storage means for storing pieces of text data (L is an integer of 2 or more), of the L pieces of text data storedJ pieces of text data (where J is an integer satisfying 1 ≦ J ≦ L) are arranged in a predetermined format that can be displayed entirely on a single line.At least a part of the display target, the display targetPaintingThe statue, JIn lineHas a display lineTableDisplay screenIn the tableText display means to display;By specifying a part of the display object by relative line-to-line movement of the cursor,1 text dataWholeVs. processingWith elephantProcessing object selection means for selectingThe text display means can display the entire text data to be processed on the display screen by relative movement of the cursor within the same line.
[0008]
  In this text management method and text management apparatus, L pieces of text data of one or more lines (L is an integer of 2 or more), which are each independently processed, are stored,J pieces of text data (where J is an integer satisfying 1 ≦ J ≦ L) are arranged in a predetermined format that can be displayed entirely on a single line.At least a part of the display target,ThatA predetermined display screen having J lines (J is an integer satisfying 1 ≦ J ≦ L).In the tableShowBy specifying a part of the display target by relative line-to-line movement of the cursor,1 text dataWholeVs. processingWith elephantTo select. in this case,The entire text data to be processed can be displayed on the display screen by relative movement of the cursor within the same line (hereinafter referred to as “in-line movement”). In other words, the relative movement between the cursors and the movement within the line allows you to select the text data to be processed and check the entire contents.Processing can be performed after confirmation by display.This alsoWhen managing multiple texts to be processed independently of each other, even if a small display screen is used, the display and storage of each text can be associated with each other, and editing and printing of the desired text Various processes such as can be freely performed with simple operations. In the case of single-line display, the text data of the display line (one line: one) is inevitably selected as a processing target.
[0009]
  Also,AboveIn the text management method, in the text storing step, the L text data are stored as L lines of text data according to the predetermined format when displayed.Then, in the text display step, the J text data stored as the text data of the L lines is displayed as an image on the display screen.It is preferable to do.
[0010]
  Also,AboveIn the text management device, the text storage means stores the L text data as L lines of text data according to the predetermined format when displayed.The text display means expands and displays the J text data stored as the L-line text data on the display screen.It is preferable to do.
[0014]
In the text management method and the text management apparatus, since L lines of text data according to a predetermined format for display are stored, text data corresponding to J lines stored as L lines of text data are By developing and displaying an image on the display screen, it can be read and used as it is for display.
[0015]
  Also,AboveIn the text management method, in the text storing step, the L text data areIn the predetermined formatWhen displayingLEach of the text display steps is stored in association with the L items.TeOf the text dataAt least mth to m + J + 1th (m is an integer satisfying 1 ≦ m ≦ L, where L + 1 is the first) J + 2A text reading step of reading the text data into the text display candidate area prior to display;Of the J + 2 text data read out, JIt is preferable to include a display image expanding step of displaying text data on the display screen.
[0016]
  Also,AboveIn the text management device, the text storage deviceStage, The L text data,In the predetermined formatWhen displayingLThe text display means stores the L items in correspondence with the lines.TeOf the text dataAt least mth to m + J + 1th (m is an integer satisfying 1 ≦ m ≦ L, where L + 1 is the first) J + 2Text reading means for reading the text data into the text display candidate area prior to display;Of the J + 2 text data read out, JIt is preferable to have display image expansion means for expanding and displaying text data on the display screen.
[0017]
  In this text management method and text management apparatus, L text data areIn the prescribed formatStored individually in association with L lines when displayed, at least of the text data of L processing candidatesm + J + th (m is an integer satisfying 1 ≦ m ≦ L, where L + 1 is the first) J + 2Each text data was read and read to the text display candidate area prior to display.J + 2 piecesJ of text dataPiecesText data is displayed as an image on the display screen. In this case, since the L text data are individually stored, the storage area can be distributed and shared, while being stored in association with the L lines when displayed and read out prior to display. In addition, since it is not necessary to handle all L pieces at once, the processing load is reduced. In other words, when managing a plurality of texts to be processed independently of each other, even if a small display screen is used, the display and storage of each of the plurality of texts can be associated with each other, and the desired text can be edited. Various processes such as printing and printing can be performed with simple operations.
[0018]
  Also,AboveIn the text management method ofThe text data to be processed is the kth of the L pieces (k is an integer satisfying m + 1 ≦ k ≦ m + J. However, k−1 when k = 1 is Lth, and when k = L. k + 1-th is the first text data), and in the display image development step, the m-th to m + J-1th J-th items are generated in accordance with the line-to-line movement of the cursor to the (k-1) -th side. The image data is expanded, and m + 2 to m + J + 1th J text data are expanded according to the movement of the cursor to the (k + 1) th line.The text reading stepIn the arrangement or allocation in the text display candidate area, the m + 1st to m + Jth J + 1 text data are transferred to the new m + 1st to the new m + 1th to the k−1th line movement in accordance with the movement of the cursor to the k−1th side. Change to the (m + J + 1) th J + 1 text data, and change the (m + 1) th to (m + J + 1) th J + 1 text data to a new mth to (m + J) th J + 1 in response to the movement of the cursor to the (k + 1) th line. Change to a piece of text data, and a display target changing step in which a part of each of m + 1 to m + J-th text data after the change is a new display target, and the text display candidate area, In accordance with the line-to-line movement of the cursor to the (k-1) th side, the (m-1) th text data is set as new mth text data. The next display preparation step of reading out the m + J + 2nd text data as new m + J + 1th text data in accordance with the movement of the cursor to the (k + 1) th line, and preparing for the next display target And havingIt is preferable.
[0019]
  Also,AboveIn the text management device ofThe text data to be processed is the kth of the L pieces (k is an integer satisfying m + 1 ≦ k ≦ m + J. However, k−1 when k = 1 is Lth, and when k = L. k + 1-th is assumed to be the first text data), and the display image expanding means is adapted to move the cursor to the (k-1) -th side between the m-th to m + J-1-th J data. The image data is expanded, and m + 2 to m + J + 1th J text data are expanded according to the movement of the cursor to the (k + 1) th line.The text reading means includes:In the arrangement or allocation in the text display candidate area, the m + 1st to m + Jth J + 1 text data are changed to the new m + 1st to m + J + 1th in accordance with the line-to-line movement of the cursor to the (k−1) th side. To the (J + 1) th text data, and in response to the movement of the cursor to the (k + 1) th line, the (m + 1) th to (m + J + 1) th J + 1 text data are changed to the new (m + 1) th to m + Jth J + 1th text data. The display object changing means for changing to text data and changing a part of each of the m + 1-th to m + J-th text data after the change, and the cursor for the text display candidate area Read the m-1st text data as the new mth text data in response to the inter-line movement to the k-1st side. And a next display preparation means for reading out the m + J + 2nd text data as new m + J + 1th text data in accordance with the movement of the cursor between the k + 1th line and preparing for the next display target. HaveIt is preferable.
[0020]
  In this text management method and text management device,The text data to be processed is the kth of L pieces (k is an integer satisfying m + 1 ≦ k ≦ m + J), and the mth to m + J + 1th J + 2 pieces of text data read into the text display candidate area. Of these, one of the m + 1th to m + Jth. Also, since k−1 when k = 1 is Lth, and k + 1 when k = L is first, the numbering is cyclic, so that processing targets can be selected by circulation. It has become. For this reason, it is possible to select a processing target in a cycle by relative movement between the cursors, and it is possible to average and efficiently change the processing target from an arbitrary line to another arbitrary line, time and the like.
[0021]
  Also, when the movement of the cursor between lines is on the (k−1) th side (that is, when the cursor moves to the smaller number side), the mth to m + J−1th (that is, smaller number side) J text data, the k + 1th side Sometimes (that is, when moving to the larger side), m + 2 to m + J + 1th (that is, the larger number side) J text data are expanded (that is, set as display targets). In this case, if the cursor moves relatively between lines, the display scrolls accordingly, so the line on which the cursor is located is the fixed (predetermined) line of the displayed lines of the J line. The position where the text data is displayed is also a fixed line. As a result, it is easy to confirm the contents of the processing target without losing sight of the cursor.
[0022]
  Further, in the arrangement or assignment in the text display candidate area, when the cursor moves to the smaller number side, the m + 1 to m + Jth (smaller number side) J + 1 numbers are changed to the new m + 1th to m + J + 1th J + 1 numbers, and the larger number is assigned. When moving to the side, m + 1th to m + J + 1th (larger number side) J + 1 are changed to new mth to m + Jth J + 1, and part of each of the m + 1th to m + Jth J text data after the change Is a new display target. For this reason, conceptually, when the cursor moves to the smaller number side, the text data is moved to the larger number side, leaving one space on the smaller number side in the text display candidate area, and the cursor moving to the larger number side. Then, the text data is moved to the smaller number side, and there is room for one on the larger number side in the text display candidate area.
[0023]
  Therefore, when the cursor moves to the smaller number side, the (m−1) th text data corresponding to the smaller number is read to the smaller number side (mth region) in the text display candidate region, and the cursor is large. When moving to the number side, the (m + J + 2nd) text data corresponding to the larger number is read on the larger number side (m + J + 1th region) in the text display candidate region. This makes it possible to read out the newly required text data on the side where there is room.
[0024]
  That is, when the J line to be displayed is moved to the J line including the adjacent line, the adjacent line becomes the display object, and the text data that may be the next display object, that is, the next text display candidate Read the text data before display. For this reason, when actually becoming a display target, the text data can be quickly displayed on the display screen by developing the image. Further, in this case, since it is sufficient if the text display candidate area has an area of J + 2 lines (J + 2 text data), memory can be saved, and one line (one text data) prior to display. Since it suffices to read the text display candidate area as much as possible, it can be processed quickly.
[0036]
  Also,Each of the aboveThe text management method preferably further includes an editing step of editing the text data to be processed.
[0037]
  Also,Each of the abovePreferably, the text management device further includes an editing unit that edits the text data to be processed.
[0038]
In this text management method and text management apparatus, editing (modification of data: addition, deletion, change, etc.) can be performed on text data to be processed.
[0039]
  Also,Each of the aboveThe text management method preferably further includes a printing step of printing at least a part of an image corresponding to the processing target text data on a print target based on the text data to be processed.
[0040]
  Also,Each of the abovePreferably, the text management device further includes a printing unit that prints at least a part of an image corresponding to the text data to be processed on the print object based on the text data to be processed.
[0041]
In this text management method and text management apparatus, based on text data to be processed, at least a part of an image corresponding to the text data can be printed on a print target.
[0042]
  Also,AboveIn the text management method, it is preferable that the print object is a tape.
[0043]
  Also,AboveIn the text management apparatus, the print object is preferably a tape.
[0044]
This text management method and text management apparatus can be applied to a tape printing apparatus because the object to be printed is a tape.
[0047]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a tape printer to which a text management method and a text management apparatus according to an embodiment of the present invention are applied will be described in detail with reference to the accompanying drawings.
[0048]
FIG. 1 and FIG. 2 show the overall configuration of the tape printer and the external configuration when the opening / closing lid is opened, and FIG. 3 is a block diagram of its control system. As shown in FIGS. 1 and 2, the tape printer 1 includes an upper case (opening / closing lid) 21 in which an outer shell is formed by a device case 2 divided into upper and lower parts, a keyboard 3 and a display 4 are disposed, A lower case 22 in which a mechanism portion such as a pocket 6 is disposed is provided.
[0049]
As shown in FIG. 3, the basic configuration includes an operation unit 11 that has a keyboard 3 and a display 4 to interface with a user, a print head (thermal head) 7, and a tape feeding unit 120. A printing unit 12 for printing on a printing tape (hereinafter simply referred to as “tape”) T of a tape cartridge C mounted in the pocket 6, a cutting unit 13 for cutting the tape T after printing, and various sensors. And a drive unit 270 that has various drivers to drive each circuit, and a control unit 200 that controls each unit in the tape printer 1. For this reason, a circuit board (not shown) is housed in the apparatus case 2 in addition to the printing unit 12, the cutting unit 13, the detection unit 14, and the like. In addition to the power supply unit, each circuit of the drive unit 270 and the control unit 200 is mounted on this circuit board, and is connected to a battery such as a non-illustrated AC adapter connection port or a nickel-cadmium battery detachable from the outside.
[0050]
In the tape printer 1, the user installs the tape cartridge C in the pocket 6, and then checks the input / editing result on the display 4 and confirms desired characters and the like (characters such as letters, numbers, symbols, and simple figures) with the keyboard 3. ) Is input and printing is instructed, the tape T is fed from the tape cartridge C by the tape feeding unit 120, and desired printing is performed on the tape T by the print head 7. The printed portion is the tape discharge port 22 Sent out from time to time. When the desired printing is completed, the tape feeding unit 120 feeds the tape T to the position of the tape length including the margin, and then stops the feeding.
[0051]
As shown in FIGS. 2 and 3, the printing unit 12 is provided with a pocket 6 for mounting the tape cartridge C. The tape cartridge C is placed in the pocket 6 with the opening / closing lid 21 opened. Detachable. The tape cartridge C accommodates a tape T and an ink ribbon R having a certain width (about 4.5 mm to 48 mm) inside the cartridge case 51, and is attached to the head unit 61 disposed in the pocket 6. A through hole 55 for insertion is formed. A plurality of small holes are provided on the back surface so that the types of the tapes T having different widths can be identified, and the pocket 6 is provided with a tape identification sensor 142 such as a micro switch for detecting the presence or absence of the holes. Thus, the type of tape T and arbitrary setting information can be detected.
[0052]
The tape T has a configuration in which an adhesive surface is formed on the back surface and is covered with release paper. The tape T and the ink ribbon R run in a state where they overlap each other at the position of the through hole 55, and only the tape T is discharged to the outside, and the ink ribbon R is wound up inside.
[0053]
The head unit 61 incorporates a print head 7 formed of a thermal head, and the print head 7 is exposed from the through hole 55 of the tape cartridge C in a state where the tape cartridge C is mounted in the pocket 6. It hits the back of the ribbon R. A desired character or the like is printed on the surface of the tape T by driving the print head 7 to generate heat. The pocket 6 is provided with an ambient temperature sensor 143 such as a thermistor for detecting and reporting the environment (ambient) temperature, and detects the ambient temperature and reports it to the control unit 200.
[0054]
Further, a tape discharge port 23 that communicates the pocket 6 with the outside of the device is formed on the left side of the device case 2 (lower case 22). The tape discharge port 23 is a tape cutter that cuts the tape T that has been fed out. 132 is approaching. The pocket 6 is provided with drive shafts 62, 63 and the like to be engaged with the driven portions of the mounted tape cartridge 4, and the feed motor 121 is used as a drive source to drive the drive shafts 62, 63. Printing is performed by feeding the tape T and the ink ribbon R in the tape cartridge C and driving the print head 7 in synchronization therewith. Further, after the printing is completed, the feeding of the tape T is continued and the predetermined cutting position is fed to the position of the tape cutter 132.
[0055]
A head surface temperature sensor 144 such as a thermistor is provided in close contact with the surface of the print head 7 to detect the surface temperature of the print head 7 and report it to the control unit 200. A disc having a detection opening (not shown) is fixed to the tip of the feed motor 121, and a rotation speed sensor 141 having a photo sensor or the like is provided so as to face the detection opening. The speed is detected and reported to the control unit 200.
[0056]
The cutting unit 13 includes a tape cutter 132, a cut button 133 that manually cuts the tape cutter 132 in the case of arbitrary length printing, and a cutter motor that automatically cuts the tape cutter 132 in the case of constant length printing. 131. Thereby, in the tape printer 1, automatic / manual can be switched by mode setting. For this reason, in the case of manual cutting, when printing is completed, the user presses the cut button 133 provided on the apparatus case 2 to operate the tape cutter 132 and cut the tape T to a desired length. The In the case of automatic cutting, printing is completed and the tape is fed by the margin, and at the same time, the cutter motor 131 is driven and the tape T is cut.
[0057]
The detection unit 14 includes the rotational speed sensor 141, the tape identification sensor 142, the ambient temperature sensor 143, and the head surface temperature sensor 144 described above. In addition, it can also be set as the structure which abbreviate | omitted these according to the actual condition.
[0058]
The drive unit 270 includes a display driver 271, a head driver 272, and a motor driver 273. The display driver 271 drives the display 4 of the operation unit 11 according to the instruction based on the control signal output from the control unit 200. Similarly, the head driver 272 drives the print head 7 of the printing unit 12 in accordance with an instruction from the control unit 200. The motor driver 273 includes a feed motor driver 273d that drives the feed motor 121 of the printing unit 12, and a cutter motor driver 273c that drives the cutter motor 131 of the cutting unit 13, and similarly, an instruction from the control unit 200 Each motor is driven according to
[0059]
The operation unit 11 includes a keyboard 3 and a display 4. The display 4 displays arbitrary characters, symbols, numbers, figures, etc. (hereinafter, representatively “characters” or generically referred to as “characters”) for six full-width characters (for six characters) in the horizontal direction (X direction). Display screen 41 that can be displayed only, the character string to be processed is selected, the user inputs data and various commands / instructions from the keyboard 3, the character string is edited, and the results are displayed. It is used for visual recognition.
[0060]
The keyboard 3 includes an alphabet key group, a symbol key group, a numeric key group, a kana key group such as hiragana and katakana, a character key group 31 including an external character key group for calling and selecting an external character, and various types of character keys. A function key group 32 and the like for designating an operation mode are arranged.
[0061]
The function key group 32 includes a power key (not shown), a print key 322 for instructing a printing operation, a selection key for instructing selection of various modes in data confirmation and line feed and selection screens when text is input, Decoration setting keys for setting decorations such as so-called character decorations such as underline and outline, and background patterns (including ground patterns and illustrations), and colors such as text color, background color, decoration color (shading, saturation, Color setting keys for setting color gloss, transparency, etc., and upward (“↑”), down (“↓”), left (“←”), right (“→”) directions Four cursor keys 330 (330U, 330D, 330L, 330R: “cursor“ ↑ ”key 330U”, etc.) for moving the cursor and moving the display range of the display screen 41 are included.
[0062]
The function key group 32 further includes a cancel key for canceling various instructions, a shift key used for changing the role of each key, correction of drawing registration image data, a text input screen, a selection screen, and print image data. An image key for switching between the display screen (image screen), a ratio change (zoom) key for changing the ratio of the size of the print image data and the display image data displayed on the image screen, and a character font Contains form keys for setting various forms.
[0063]
Of course, like a general keyboard, these key inputs may be input by providing a key for each key input, or by using a smaller number of keys in combination with a shift key or the like. You may enter. Here, it is assumed that there are as many keys as described above for easy understanding. As shown in FIG. 3, the keyboard 3 inputs various commands and data as described above to the control unit 200.
[0064]
The control unit 200 includes a CPU 210, a ROM 220, a character generator ROM (CG-ROM) 230, a RAM 240, and a peripheral control circuit (P-CON) 250, which are connected to each other by an internal bus 260. The ROM 220 has a control data area 222 for storing control data including a color conversion table and a character modification table in addition to a control program area 221 for storing a control program processed by the CPU 210. The CG-ROM 230 stores font data such as characters, symbols, and figures prepared in the tape printer 1 and outputs corresponding font data when given code data specifying the characters. .
[0065]
Even if the power is turned off by the operation of the power key 321, the RAM 240 is supplied with power by a backup circuit (not shown) so as to retain stored data. 3, a text data area 242 for storing text data such as characters input from 3, a display image data area 243 for storing display image data on the display screen 41, a print image data area 244 for storing print image data, and a drawing registration image data In addition to the drawing registration image data area 245 to be stored, it has areas such as a print history data area 246 and various conversion buffer areas 247 such as other color conversion buffers, and is used as a work area for control processing.
[0066]
In the P-CON 250, a logic circuit that complements the function of the CPU 21 and handles interface signals with peripheral circuits is configured and configured by a gate array, a custom LSI, or the like. For example, a timer 251 that performs various timings is incorporated as a function in the P-CON 250. For this reason, the P-CON 250 is connected to various sensors of the detection unit 14 and the keyboard 3, and the internal bus is processed as it is or by processing the above-described various detection signals from the detection unit 14 and various commands and input data from the keyboard 3. The data and control signals output from the CPU 210 and the like to the internal bus 260 are output to the drive unit 270 as they are or after being processed in conjunction with the CPU 210.
[0067]
With the above configuration, the CPU 210 inputs various detection signals, various commands, various data, etc. via the P-CON 250 according to the control program in the ROM 220, and the font data from the CG-ROM 230 and the various data in the RAM 240. And the like, and by outputting a control signal to the drive unit 270 via the P-CON 250, the print position control, the display control of the display screen 41, and the like are performed, and the print head 7 is controlled to perform predetermined print conditions. The entire tape printer 1 is controlled such as printing on the tape T.
[0068]
Next, the processing flow of the entire control of the tape printer 1 will be described with reference to FIG. When the process is started by turning on the power, etc., as shown in FIG. 1, first, the initial setting such as restoring each control flag that has been saved in order to return the tape printer 1 to the previous power-off state. Next, the previous display screen is displayed as an initial screen (S2). The subsequent processing of FIG. 4, that is, the determination branch (S 3) for determining whether or not the key is input and various interrupt processing (S 4) are processing conceptually shown. Actually, in the tape printer 1, when the initial screen display (S2) ends, the key input interrupt is permitted, and the state is maintained until the key input interrupt is generated (S3: No). When any key input interrupt occurs (S3: Yes), the process proceeds to the respective interrupt process (S4), and when the interrupt process ends, the key input interrupt standby state is again entered (S3: No). .
[0069]
Next, the character processing method employed in this embodiment will be described in principle. In the character processing method here, each text is managed so that editing or printing can be performed for each document (each text), so that it can also be applied (or called) as a text management method.
[0070]
First, for example, as shown in FIG. 5 (a), the first line of the first paragraph is "Ah", the second line is "Eokaki Kukeko", the first line of the second paragraph is "Sa", the second When a print image G1 of a document (text) composed of a character string (character string) having a line “shi” and a third line “suse” is printed on a tape (print target) T, the print image G1 is expressed. Print image data is required.
[0071]
In creating the print image data in this case, for example, each character image such as “A”, “A”, “I”, “U”, etc. is set in a preset position in the print image data area 244 and set in advance. Arrange with the specified character size. Each character image is a font such as a dot map or outline from CG-ROM 230 or the like (in addition, a memory area (in ROM 220 or RAM 240) previously registered by external character registration or the like) based on code data representing each character. It is obtained by reading out the data and developing the image. Hereinafter, the data necessary for creating the print image data is referred to as text data.
[0072]
In this case, the text data includes the character size of each character (image). For example, the character size can be manually set in advance by the user, or the tape width of the tape T to be printed is detected, It can be automatically set according to the number of lines, or can be selected and set depending on the mode or the like. In the following description, it is automatically determined according to the tape width and the number of lines, and the description is omitted (simplified). For example, each print example shown in FIG. 5 is also based on the automatically determined character size. In FIG. 5A, “A” in the first paragraph corresponds to the tape width because the first paragraph has two lines. In the character size for the second line, “sa” in the second paragraph is set to the character size for the third line because the second paragraph has three lines.
[0073]
In addition, the text data includes so-called format data including typefaces such as Gothic and Mincho when printing each character (image), and style data indicating so-called styles such as italic and outline. In addition, format data for determining so-called formats such as data of various modes including decoration information such as emphasis and shading are included, and these format data can be changed in the editing work. A print image that reflects the preferences can be printed based on elaborate text data, and the description thereof will be omitted below. On the other hand, of course, in the text data, a code representing each character image such as “A”, “I”, “U”, etc. of “A” for the purpose of creating print image data, that is, for printing the print image G1. Contains data.
[0074]
  Here, in this embodiment, the first line of each paragraph includes○ Circle number with “1” in (circle) (hereinafter indicated as (circle 1), etc.), second line (circle 2),... (See Fig. 6)A description will be given with a circled character indicating a line number. An attribute character indicating this type of attribute (for example,(Circle 1)Etc.) is used only for explanation, and in fact, the attribute (here, line number) information can be included (in the text data) by other methods, but in this embodiment, the character string ( For example, it is actually added immediately before “that”. In this case, an attribute character (for example,(Circle 1)Etc.) holds the attribute information of each character string. As a result, it can be handled in the same manner as other characters, so that it is easy to handle, and by displaying with the attribute information attached, the user can easily grasp the attribute information of each character string.
[0075]
  For example, for FIG.(Circle 1)"That", "(Circle 2)A character string such as “Eokaki Kekko” indicates that the first line of the first paragraph is “Ah” and the second line is “Eokak Keko”.(Circle 1)Is attached(Circle 1)The character string “sa” indicates that the first line of the next paragraph (second paragraph) is “sa”,(Circle 2)""(Circle 3)A character string such as “suse” indicates that the second row is “shi” and the third row is “suse”. In this case, by these (when viewing the display screen 41 displaying them), the user can easily imagine that it is printed like the print image G1 when printing.
[0076]
Next, with regard to a method for handling text data as described above, that is, a text management method, a conventional method will be described first, and then a method according to the present embodiment will be described.
[0077]
First, in the conventional method, for example, when six types of print images G1 to G2 shown in FIG. 5 can be printed at an arbitrary time point, an arbitrary text is input at an arbitrary time point after inputting a plurality of documents (text). For example, as shown in FIG. 6, each text is registered (stored) as a file (text file) 01 to 06, and one of them is stored so that various processes such as editing and printing can be performed. The data is read out and displayed on a processing screen (a so-called editing screen) called a text editing screen.
[0078]
Here, to facilitate comparison with a text management (character processing) method in the present embodiment described later, for example, as shown in FIG. 7, one of the rows and columns of the virtual matrix (in this example, the row direction) is X. Consider a virtual matrix EM that can arrange one full-width character (two half-width characters) in one section with the direction and the other (in this example, the column direction) as the Y direction. That is, consider a virtual matrix EM having one full-width character (two half-width characters) as an element. Here, it is possible to have a maximum of M × L characters as elements in the M direction (M is an integer of 1 or more) in the X direction and L (L is an integer of 2 or more) in the Y direction. Matrix EM.
[0079]
In the conventional method, when the text (text 01) described above in FIG. 5A and shown in the file 01 in FIG. 6 is to be edited, an area for holding text data to be edited (hereinafter referred to as “text editing area”). ) EA corresponds to the above-described virtual matrix (hereinafter “text matrix”) EM, for example, text data (file) read (copied) to EA as shown in FIG. The image of (data) F1 is conceptually (virtual) as shown in FIG.
[0080]
Further, an area (hereinafter referred to as “text display area”) DA that holds text data (to be displayed) displayed on the editing screen (specifically, the display screen 41 of the display 4) in the above case is a text matrix EM. Corresponds to a so-called partial matrix of the text editing area EA that can be imaged by the number of characters (number of characters) that can be displayed on the display screen 41 in the X direction (N is an integer satisfying 1 ≦ N ≦ M) and in the Y direction. J (where J is an integer satisfying 1 ≦ J ≦ L) corresponds to a virtual matrix (hereinafter referred to as “display target matrix”) capable of having N × J characters as elements at maximum.
[0081]
For example, if the number of characters (number of characters) that can be displayed on the display screen 41 is 2 rows (X direction: N = 2) × 6 characters (Y direction: J = 6), the text display area (corresponding to the display target matrix) D1 The image of is as shown in FIG. Further, if one line (X direction: N = 1) × 6 characters (Y direction: J = 6), an image of the text display area (corresponding to a display target matrix) D1s is as shown in FIG.
[0082]
Further, when the display content is scrolled up and down and left and right in accordance with a scroll instruction using a cursor key or the like on the display screen 41, that is, the text display area DA, as shown in FIG. 11, the text display area DA is within the text editing area EA. The display content changes, but only changes within the same text. That is, in the conventional method, the editing target to be edited based on the input from the keyboard 3 or the like is one text displayed on the editing screen. In addition, the text to be printed by instructing printing by pressing the print key is also the text being displayed on the editing screen.
[0083]
For this reason, in order to edit or print another text, it is necessary to read it from a file and display it. For example, in order to set the text (text 02) of the file 02 to be edited or printed after the text (text 01) of the file 01 is set to be edited or printed, as shown in FIG. It is necessary to read (copy or load) the text data (file data) F2 of the text 02 from the area F2A of the FA file 02 to the text editing area.
[0084]
In addition, when editing such as correction is added to the displayed text, it is necessary to re-register (save) the displayed text in a file and then read and display the next text. is there. For example, in the above-described example, before loading (reading out) the text data F2 of the text 02, it is necessary to write (save) the text data F1 of the text 01 being edited, for example, in the area F1A of the original file 01. That is, it is necessary to frequently read and write each text for various processes such as editing and printing.
[0085]
In recent operating systems (OS) (such as personal computers), editing screens for a plurality of different texts can be displayed (multi-window) at a time, but this method uses a large display screen such as a personal computer. This method can be applied only to a device having the same, and is not suitable for a device having a relatively small display screen 41 such as the tape printer 1 of the present embodiment.
[0086]
Therefore, in the tape printer 1, it is one of the partial matrices of the text matrix EM, and at most M pieces in the X direction of any k-th (k = 1, 2, 3,..., L) in the Y direction. Consider a virtual matrix (kth processing candidate matrix) PM (k) that can have characters as elements. In this case, as shown in FIG. 12, the text data TD (k) of the text (kth text) of the document number k as the processing candidate is stored in the same manner that the text editing area EA can be imaged by the text matrix EM. An image of the area (hereinafter “kth process candidate area”) PA (k) is as shown in FIG.
[0087]
For example, in FIG. 5 and FIG. 6, the above-described text 01 to text 06 are changed from the first text to the sixth text, and the text data are set as text data TD (1) to TD (6). Each processing candidate area PA (1) to PA (6) can be saved (stored).
[0088]
In FIG. 12, one of L processing candidate matrices from the first processing candidate matrix PM (1) to the Lth processing candidate matrix PM (L) is selected as the processing target matrix PM (0). Thus, the text data TD (0) of the processing target matrix PM (0) can be set as the processing target. In other words, by selecting one of the first processing candidate areas PA (1) to PA (L), the text data TD (1) to TD (L) stored (stored) in each of them is selected. One can be selected as text data TD (0) to be processed. That is, various processes such as editing and printing of a plurality of texts can be performed without frequently reading and writing each text.
[0089]
For example, in FIG. 13, if the first processing candidate area PA (1) (that is, the first processing candidate matrix PM (1)) is selected, the text data TD (1) is edited, or the print image G1 ( Various processes such as printing (see FIG. 5A) can be performed. Similarly, if the second processing candidate area PA (2) (that is, the second processing candidate matrix PM (1)) is selected, processing such as editing and printing (see FIG. 5B) of the text data TD (2). Can do. Similarly, the third processing candidate area PA (3) to the sixth processing candidate area PA (6) are selected, and the text data TD (3) to TD (6) are edited and printed (FIG. 5). (See (c) to (f)).
[0090]
  In FIG. 13, an area that is continuous in the Y direction from the first process candidate area PA (1) to the sixth process candidate area PA (6) is used. However, the present invention is not limited to this, and a jump area is used. Also good. Further, as shown in FIG. 14, the area where text data is not registered indicates the line number of the first line of the first paragraph.(Circle 1)May be stored in advance. In addition, the number of paragraphs and the number of lines that can be input may be stored in advance (see FIGS. 21 to 23, FIGS. 27 to 28, etc.). This eliminates the need for line breaks and paragraph breaks.
[0091]
In each example described above, the number of elements in the Y direction of the text matrix EM is set to L. However, the number may be appropriately determined in consideration of the memory capacity and the like, and the number may be increased or decreased as needed. (The same applies to the number M of elements in the X direction). In the following, as shown in FIG. 15, the description is simplified assuming that L = 8. Further, the illustration of the separation (dotted line) between elements is omitted from the viewability of the illustration as shown in FIG.
[0092]
By the way, also in the character processing (text management) as described above, the relationship of the display target matrix DM with respect to the text matrix EM is the same as the conventional one, but the display contents differ because the elements of the text matrix EM are different. For example, if the number of characters (number of characters) that can be displayed on the display screen 41 is 2 rows (Y direction: J = 2) × 6 characters (X direction: N = 6), the text display area DA (corresponding to the display target matrix DM) ) Is as shown in FIG. Further, if one line (Y direction: J = 1) × 6 characters (X direction: N = 6), the image of the text display area DA (corresponding to the display target matrix DM) is as shown in FIG.
[0093]
Further, in the tape printer 1, as shown in FIG. 19, by pressing the four cursor keys 330 (330U, 330D, 330L, 330R), the text editing area EA of the text display area DA (display target matrix DM) is displayed. Since the position in (text matrix EM) can be changed (scrolled), the user can confirm the stored text data by displaying each part in the text editing area EA (text matrix EM). When processing such as editing is performed, the processing (editing) result can be confirmed.
[0094]
In this case, the scrolling by the cursor “←” key 330L or the cursor “→” key 330R, that is, the left-right scrolling, changes the display content (display range) in the same text as in the conventional case. In the scrolling by the cursor “↑” key 330U or the cursor “↓” key 330D, that is, the vertical scrolling, another text data is displayed.
[0095]
Therefore, for example, when the text display area DA (display target matrix DM) described above in FIG. 18 is one line, the displayed text data (text data TD (3) in the example in the figure) is processed text data TD. By setting (0), the text data TD (0) to be processed can be selected by operating the cursor key 330 (330U, 330D in this case). Therefore, for example, by pressing the print key in the state shown in FIG. 18, the text data TD (3) in the third processing candidate area PA (3) (corresponding to the third processing candidate matrix PM (3)) is processed. It can be selected as text data TD (0) of (processing target area PA (0) (corresponding to processing target matrix (0)), and the print image G2 of FIG. 5B can be printed.
[0096]
This can be applied not only to the case of the one-line display as described above in FIG. 18 but also to the case of a plurality of displays. For example, when the text display area DA (display target matrix DM) has two lines as described above in FIG. 17, two (J =) text data displayed (text data TD (2), TD in the example in the figure). If the upper side of (3)) (first from the top of J) is determined as the text data TD (0) to be processed, the text data TD to be processed is operated by operating the cursor keys 330U and 330D. (0) can be selected (in the example shown, text data TD (0) = text data TD (2)). Therefore, for example, by pressing the print key in the state shown in FIG. 17, the text data TD (2) can be selected as the text data TD (0) to be processed, and the print image G1 in FIG. 5A can be printed. .
[0097]
Of course, if (J =) the lower side of the two pieces of text data (the second from the top of the J pieces) is determined as the text data to be processed, the text is similar to the above example in FIG. The data TD (3) can be selected as the text data TD (0) to be processed, and the print image G2 shown in FIG. 5B can be printed.
[0098]
17 to 19, the processing target (processing target area PA (0) (corresponding to the processing target matrix PM (0))) is (L =) eight processing candidate areas PA (1) to PA. (8) J (corresponding to the processing candidate matrices PM (1) to PM (8)) at least partially overlaps the text display area DA (corresponding to the display target matrix DM) (two in FIG. 17, FIG. 18 is selected from among the processing candidate matrices, and can be selected as a processing target after confirming at least a part of the processing target matrix by display. In addition, since the processing target is also displayed, it is easy to confirm the result in the case of processing such as editing, which is convenient.
[0099]
Further, in the tape printer 1, the processing target (processing target area PA (0) (corresponding to the processing target matrix PM (0)) is a predetermined number of the J processing candidate matrices (first or second in FIG. 17). , The first in FIG. 18). That is, by changing the position of the text display area DA (corresponding to the display target matrix DM), the J processing candidate matrices also change, but since it is a predetermined number, the text display area DA (corresponding to the display target matrix DM) By changing the position, the processing target (processing target area PA (0) (corresponding to processing target matrix PM (0))) is automatically determined. That is, the processing target matrix can be selected by changing the position of the text display area DA (corresponding to the display target matrix DM).
[0100]
As described above, in the character processing method in the tape printer 1, first, M is an integer of 1 or more, L is an integer of 2 or more, N is an integer satisfying 1 ≦ N ≦ M, and J is 1 ≦ J ≦ L. , An arbitrary k-th k = 1, 2, 3,..., L, and the maximum (X direction) M × (Y direction) L arbitrary (text) as described above with reference to FIG. ) A virtual text matrix EM having characters as elements and a text editing area EA corresponding to the virtual text matrix EM (see FIGS. 7 and 12, etc.), at most (X direction) N × (Y direction) J (display target) Display target matrix DM having characters as elements and text display area DA corresponding thereto (see FIGS. 17 to 20 and the like) and a maximum of (M in the X direction) × 1 (in the Y direction) (kth processing candidate) ) K = 1st to Lth process candidate matrix with character as element Scan PM (k) and a k candidate processing areas PA corresponding thereto (k) (see FIGS. 12 to 15 etc.), considered as a virtual matrix and the region corresponding to it.
[0101]
In this character processing method, the text data representing the text character is stored in the text editing area EA in association with the text matrix EM, and the display target character is based on the text data of the display target character among the text characters. And selecting one of the L processing candidate matrices from the first processing candidate matrix PM (1) to the Lth processing candidate matrix PM (L) as the processing target matrix PM (0), Each character existing in the processing target matrix PM (0) is determined as a processing target character.
[0102]
That is, if different character groups (for example, documents (texts)) are assigned to L process candidate matrices from the first process candidate matrix PM (1) to the Lth process candidate matrix PM (L), Can be selected as the processing target matrix PM (0), and a character group (for example, text) in the processing target matrix can be determined as the processing target.
[0103]
In this case, for example, as described above with reference to FIGS. 13 to 15 and the like, in the X direction of the text editing area EA (text matrix EM), in other words, the first to L-th L-th k-th processing candidate areas PA. (K) Character groups that can become documents (text) in the X direction of each of the k-th processing candidate matrices PM (k), rather than simply a set of disjoint characters (character groups) (the k-th text described above) Are allocated (assigned), so that one of them is selected as a processing target (processing target area PA (0) (processing target matrix PM (0))), and the text in the processing target is selected as the processing target. It can be confirmed.
[0104]
For this reason, in this character processing method, even when various processes such as editing and printing are performed on any one of a plurality of documents (texts), reading and writing of each text is not performed. Can be selected for processing. In this case, since it is not necessary to display a plurality of texts at a time, a large display screen is not required. Therefore, in this character processing method, even if a small display screen 41 is used, various processes such as editing and printing of a plurality of texts can be freely performed without frequently reading and writing each text.
[0105]
The selection of the processing target (processing target area PA (0) (processing target matrix PM (0))) in this case is not limited to the method described above with reference to FIGS. Other methods such as numerical input of an arbitrary k are also possible.
[0106]
  In each of the above examples, the first line of each paragraph is an attribute character.(Circle 1)In the second line(Circle 2), ..., etc., with a circled number character indicating the line number, but with a square number indicating the document (text) number at the beginning of each text, that is, before the first line of the first paragraph (inside the square) Can also be numbered. In this case, the line number of the first line of the first paragraph(Circle 1)Is attached immediately before, for example, as shown in FIG. 20 corresponding to FIG. 18, immediately before the first line of the first paragraph.(Circle 1)Can be omitted. In addition, immediately before the first line of each paragraph (after the second paragraph when used together with the document number)(Circle 1)Instead of, an attribute character indicating a paragraph number can be added by another type of character.
[0107]
In these cases, the attribute character holds the attribute information of each character string and can be handled in the same way as other characters. It becomes easy to grasp attribute information (document number, paragraph number, line number, etc.). In particular, attribute characters such as document number, paragraph number, and line number hold the arrangement information of each character string, so that the user can arrange the character string arrangement information, that is, the displayed character string is what document, what number This makes it easier to understand what is included in the first paragraph and what number line.
[0108]
  Next, an operation example of editing and printing processing performed based on the character processing method of the present embodiment will be described. First, in the following, as shown in FIG. 21, the number of documents to be handled (number of texts) is 20, and in FIG. 20, similarly to the above, a number with a square indicating a document (text) number is attached, and the first paragraph Line number just before one line(Circle 1)Is omitted. Further, even if the number of paragraphs increases, the explanation is complicated, and processing can be performed in the same manner as described above with reference to FIG. In addition, the number of rows is limited to 3 for the same reason (the above (1) to (3) in FIG. 20A). Others follow (a) in the figure ((5) to (9)).
[0109]
  In FIG. 22 and subsequent figures, it is illustrated as shown in the notation format of FIG. Further, the display state of the display screen 41 of the display 4 corresponding to the text display screen DA is represented by a screen Dxx, and the reference number is represented only by Dxx. In the initial state, for convenience of explanation and ease of understanding, all document numbers 1 (first text) to document number 20 (20th text) are document numbers (first paragraph, first line).(Circle 1)And the line number in the same paragraph(Circle 2) (circle 3)Is already registered (stored). Of course, the number of documents (number of texts) can be arbitrarily increased. For example, when a new document number is first input, the processing candidate area (processing candidate matrix) may be prepared. Here, it is assumed that the first to twentieth text areas (first processing candidate area PA (1) to twentieth processing candidate area PA (20)) and their attribute characters are already prepared.
[0110]
For example, as shown in FIG. 22, it is assumed that the initial state of the first text is displayed in the initial screen display described above in FIG. 4 (D10). In this initial state, even if the print key 322 is pressed, there is no character to be printed, so that it is turned off instantaneously (for example, 0.75 seconds) to indicate that (instruction error), and then returns to the current state. Also, from this state (D10), when the cursor “↓” key 330D is pressed by the user, for example, the initial state of the second text is displayed (D11). Similarly, the state of the third text to the twentieth text is displayed in accordance with the depression of the cursor “↓” key 330D (D12 to D14).
[0111]
In this case, the text data of each character that is an element of the text matrix EM stored in the text editing area EA is used as a background, and the first processing candidate matrix PM (1) stored in the first processing candidate area PA (1) is stored. From the state (D10) in which the text data TD (1) is selected as the text data TD (0) of the processing target (processing target area PA (0) (processing target matrix PM (0))), the twentieth processing candidate area PA ( 20) According to the pressing of the cursor “↓” key 330D until the text data TD (20) of the 20th processing candidate matrix PM (20) stored in 20) is selected as the text data TD (0) to be processed (D14). It means that the state (screen) is changed (by scrolling the display). That is, one of the (L =) 20 processing candidate text data TD (1) to TD (20) of the first text to the twentieth text is converted into the text data TD (0) to be processed by the cursor operation. ) Can be easily selected and confirmed.
[0112]
In this example, the display of the 20th text is followed by the display of the 1st text (circular display, rotate), and the cursor is further moved from the state (D14) in which the initial state of the 20th text is displayed. When the “↓” key 330D is pressed, the initial state of the first text is displayed (D15: same as D10). From this state (D15), that is, from the state where the cursor K is at the position of the text number and there is no further left side (no character) (the same applies from D10 to D14), the cursor “←” When the key 330L is pressed, the light is instantaneously turned off (D16) to indicate that (instruction error), and then the current state is restored (D17).
[0113]
  Also, from this state (D17: same as D10 and D15), when the cursor “→” key 330R is pressed, the cursor moves to the right relatively, that is, the cursor K is a fixed position, so the displayed character is left. The line number that moves to the second line(Circle 2)The cursor K moves downward (D18: common to FIGS. 22 and 23). Similarly, as shown in FIG. 23, when the cursor “→” key 330R is pressed from this state (D18), the line number indicating the third line is displayed.(Circle 3)The cursor K moves downward (D19). Similarly, when the cursor “→” key 330R is pressed from this state (D19), that is, from the state where there is no character on the right side any longer, the light is instantaneously turned off to indicate that (indication error) ( After D20), the current state is restored (D21).
[0114]
  Also, from this state (D21: same as D19), when the cursor “↑” key 330U is pressed, the state of the 20th text is displayed (D22). From this state (D22), that is, the row number indicating the third row(Circle 3)When the cursor “←” key 330L is pressed from the state where the cursor K is under (D22), the cursor K moves relatively to the left (the displayed character moves to the right), and the second line The line number to indicate(Circle 2)The cursor K moves downward (D23). Similarly, when the cursor “←” key 330L is pressed from this state (D23), the cursor K moves to the position of the text number, and there is no character on the left side (D24). When the cursor “←” key 330L is further pressed from this state (D24), it is turned off instantaneously (D25) to indicate that (instruction error), and then returns to the current state (D27).
[0115]
  Next, from the state described above in FIG. 22 (D10: common to FIGS. 22 and 24), as shown in FIG. 24, the “A” key (hereinafter referred to as “character”) of the character key group 31 by the user as shown in FIG. When the key 31 is pressed, all the characters on the left side of the position where the cursor K is located (here, the position below the character with the text number “1”) are pressed. Is moved to the left, and the character “A” keyed in at the position of the cursor K is inserted (D30). Of course, in the text editing area EA (text matrix EM), this position (right of the text number “1”: line number)(Circle 2)Code data of the character “A” is inserted as a part of the text data. Therefore, when the print key 322 is pressed in this state (D30), the print image G30 of one character “A” is printed.
[0116]
Similarly, when the “7” key 31 is pressed from this state (D30), the display on the left side from the position where the cursor K is located (here, the position below the character “A”) is moved to the left. The character “7” keyed in is inserted (D31). Of course, since the character “7” is inserted even in the text editing area EA (text matrix EM), when the print key 322 is pressed in this state (D31), a print image of “A7” of 2 characters × 1 line is displayed. G31 is printed.
[0117]
  When the cursor “→” key 330R is pressed from this state (D31), the cursor K moves relatively to the right, and the row number indicating the second row(Circle 2)The cursor K moves downward (D32). In this state (D32), since the text data does not change at all, when the print key 322 is pressed, the same 2 characters × 1 line “A7” print image G32 as the print image G31 is printed.
[0118]
  From this state (D32), when the "f" key 31 is pressed, the position where the cursor K is located (the character of the line number)(Circle 2)The display on the left side is moved to the left from the lower position), and the character “f” keyed in is inserted at that position (D33). Of course, since the character “f” is inserted even in the text editing area EA (text matrix EM), when the print key 322 is pressed in this state (D33), the first line is “A7”, The second line prints a print image G33 in which a one-character “f” image is developed.
[0119]
Similarly, when the “G” key 31 and the “8” key 31 are sequentially pressed from this state (D33), the display on the left side is moved to the left from the position where the cursor K is located, and the key is moved to that position. The input characters “G” and “8” are inserted (D34 to D35). Of course, since text data is also inserted, when the print key 322 is pressed in these states (D34, D35), the first line is an image of two characters “A7” and the second line is an image of two characters “fG”. Alternatively, the print image G34 or the print image G35 in which the image of the three characters “fg8” is developed is printed.
[0120]
When the cursor “←” key 330L is pressed from this state (D35), the cursor K moves relatively to the left, and the cursor K moves under the last character “8” on the second line (D36: 24 and FIG. 25). Since the text data has not changed at all, when the print key 322 is pressed, the same print image G36 as the print image G35 is printed.
[0121]
Next, from the state shown in FIG. 24 (D36: common to FIGS. 24 and 25), as shown in FIG. 25, when the user presses the cursor “↓” key 330D, the state of the first text is displayed. The state (D36) is shifted to the state (D37) for displaying the initial state of the second text. In this case, the cursor K is originally a position corresponding to the position of the original cursor K (position below the character “G” corresponding to the sixth character of the first text) (corresponding to the sixth character of the second text). The second text has no character at the corresponding position (there is no position corresponding to the sixth character), so the end of the second text (end of sentence: here, the third of the second text) (Position below the character) (D37). Of course, in this initial state (D37), even if the print key 322 is pressed, there is no character to be printed, so that it is turned off instantaneously to indicate that (instruction error) and then returns to the current state (D37).
[0122]
  When the cursor “↑” key 330U is pressed from this state (D37), the state (D37) displaying the state of the second text is shifted to the state (D38) displaying the state of the first text. . In this case, the position of the cursor K is the original cursor K position (the line number corresponding to the third character of the second text).(Circle 3)(Position below the character “7” corresponding to the third character of the first text) (D38). Of course, when the print key 322 is pressed in this state (D38), the same print image G38 as the above-described print image G35 corresponding to the first text is printed.
[0123]
  When the cursor “↑” key 330U is pressed from this state (D38), the state (D38) displaying the state of the first text is shifted to the state (D39) displaying the state of the 20th text. . In this case, the position of the cursor K is the line number corresponding to the same third character as the original.(Circle 3)Move to the lower position. Of course, in this initial state (D39), even if the print key 322 is pressed, there is no character to be printed, so that it is turned off instantaneously to indicate that (indication error) and then returns to the current state (D39).
[0124]
  When the “T” key 31 is pressed from this state (D39), the position where the cursor K is located (line number)(Circle 3)The display on the left side is moved to the left, and the character “T” keyed in is inserted at that position (D40). Of course, since the character “T” is also inserted in the text editing area EA (text matrix EM), when the print key 322 is pressed in this state (D40), the character “T” in the third line is displayed. A print image G40 obtained by developing the image is printed.
[0125]
From this state (D40), when the cursor “←” key 330L is pressed three times, the cursor K is relatively moved to the left by three characters, and the cursor K is moved under the text number “20” ( D41). Since the text data has not changed, when the print key 322 is pressed, the same print image G41 as the print image G40 is printed.
[0126]
When the “9” key 31 is pressed from this state (D41), the display on the left side (only the character with the text number “20”) from the position where the cursor K is located (the position below the character with the text number “20”). Move to the left and insert the character “9” keyed in at that position (D40). Of course, since the character “9” is also inserted in the text editing area EA (text matrix EM), when the print key 322 is pressed in this state (D40), the character “9”, 3 A print image G42 in which an image of one character “T” is developed on the line is printed.
[0127]
  When the cursor “↑” key 330U is pressed from this state (D42), the state of displaying the state of the 20th text (D42) to the state of displaying the state of the 19th text (D43: FIG. 25). (Common to FIG. 26). In this case, the position of the cursor K is the line number corresponding to the same second character as the original.(Circle 2)Move to the lower position. Of course, in this initial state (D43), even if the print key 322 is pressed, there is no character to be printed. Therefore, after the light is turned off instantaneously to indicate that (instruction error), the current state is restored.
[0128]
  Next, when the “Z” key 31 is pressed from the state described above in FIG. 25 (D43: common to FIGS. 25 and 26), as shown in FIG.(Circle 2)The display on the left side is moved to the left from the lower position of the character (2), and the character “Z” keyed in is inserted at that position (D44). Of course, since the character “Z” is inserted even in the text editing area EA (text matrix EM), when the print key 322 is pressed in this state (D44), the character “Z” is displayed on the second line. A print image G45 obtained by developing the image is printed.
[0129]
  Also, from this state (D45), when the cursor “→” key 330R is pressed, the cursor K moves to the right and the line number(Circle 3)The cursor K moves downward (D45). Since the text data has not changed at all, when the print key 322 is pressed, the same print image G45 as the print image G44 is printed.
[0130]
  From this state (D45), when the space key 31 is pressed, the position where the cursor K is located (line number)(Circle 3)The display on the left side is moved to the left from the position below (the character below), and the character “” (space: SP) keyed in is inserted at that position (D 46). Of course, since the character “” (space: SP) is also inserted in the text editing area EA (text matrix EM), when the print key 322 is pressed in this state (D46), one character is displayed on the second line. “Z”, a print image G46 in which an image of one character “” (space for one character) is developed on the third line is printed.
[0131]
Further, when the cursor “↓” key 330D is pressed from this state (D46), the state (D46) displaying the state of the 19th text is shifted to the state (D47) displaying the state of the 20th text. . In this case, the position of the cursor K shifts to a position below (in this case, the end) of the character “T” on the third line corresponding to the same fifth character as the original. Of course, when the print key 322 is pressed in this state (D47), the same print image G47 as the above-described print image G42 is printed.
[0132]
When the cursor “↓” key 330D is pressed from this state (D47), the state (D47) displaying the state of the 20th text is shifted to the state (D48) displaying the state of the first text. . In this case, the position of the cursor K shifts to a position below the character “f” on the second line corresponding to the same fifth character as the original. Of course, when the print key 322 is pressed in this state (D48), the same print image G48 as the above-described print image G35 or the like is printed.
[0133]
As described above, in the character processing (or text management) method of the tape printer 1 according to this embodiment, the processing target (processing target area PA (0) (processing target matrix PM (0))) is set as the editing target matrix. By adding, deleting or changing the text data TD (0) of the character to be processed, the text character in the text editing area EA (text matrix EM) can be edited.
[0134]
Further, in this character processing method, the processing target (processing target area PA (0) (processing target matrix PM (0))) is set as a printing target matrix, based on the text data TD (0) of the processing target character. At least a part of the image can be printed on the tape (print target) T. As described above, when an attribute character is included in the processing target character, particularly when an attribute character such as a document number, paragraph number, or line number is included, the attribute character itself is not printed. Other attached character strings can be printed according to the attribute character (for example, in a specified paragraph or line).
[0135]
From another point of view, in the character processing (or text management) method of the tape printer 1 according to the present embodiment, the text data TD (k) to be processed independently is used as each row and becomes a processing candidate. L pieces of text data TD (1) to TD (L) (L is an integer of 2 or more) are stored as text data TD (1) to TD (L) of L rows. Further, at least a part of at least one of the stored L line of text data TD (1) to TD (L) is set as a display target, and the text data in the display target (for example, TD (2) in FIG. 17). And TD (3) and an image showing TD (3) in FIG. 18 and FIG. 20 are displayed.
[0136]
Then, one piece of text data (for example, TD (2) or TD (3) in FIG. 17), in which at least a part of L pieces of text data TD (1) to TD (L) is displayed. In FIG. 18 and FIG. 20, TD (3)) is selected as text data TD (0) to be processed. In this case, since the processing target is text data that can be confirmed at least partially by display, processing can be performed after confirmation by display. In the example shown in FIG. 18 and subsequent figures, since the display is one line, the text data of the display line (one line: one) is inevitably selected as the processing target.
[0137]
Further, in this text management method, the text data TD (0) to be processed is displayed at a predetermined number (first or second in FIG. 17 and one line in FIG. 18 and thereafter) of the lines to be displayed. 1st) text data. For this reason, if the line to be displayed is determined, the text data TD (0) to be processed is also determined. In other words, this makes it possible to change the processing target by changing the display target row.
[0138]
In the tape printer 1, since the cursor K is used as a processing target selection unit, the processing target can be easily changed and selected by operating the cursor K. In this case, since the display target portion of the L-line text data TD (1) to TD (L) can be changed, the user can change each part of the L-row text data TD (1) to TD (L). By displaying, the stored text data can be confirmed. In particular, since a row to be displayed (a predetermined number of them) is a processing target, the cursor “↑” key 330U or the cursor “↓” key 330D is operated to move the cursor K to the upper and lower rows. The processing target can be changed by moving to and changing the display target line.
[0139]
In this case, L text data TD (1) to TD (L) can be used as processing candidates at the same time, and a processing target can be selected without particularly reading and writing each text. In this case, since it is not necessary to display a plurality of text data at a time, a large display screen is not required. Therefore, in this text management method, even if a plurality of mutually independent texts are simultaneously processed as candidates for processing, even if a small display screen is used, each text is not read and written frequently without being frequently read and written. Various processes such as editing and printing can be performed freely.
[0140]
In the example described above with reference to FIGS. 22 to 26, the display of the first text is followed by the display of the twentieth text (circular display or rotation). In these cases, the row adjacent to the first row of the L rows (the row on the first row in the drawing) is the Lth row, and is adjacent to the row after the Lth row (below the first row on the drawing). Since the line to be displayed is changed so that the display target line can be circularly displayed so that it is the first line, the labor and time when changing the display target line from an arbitrary line to another arbitrary line are averaged. And efficient.
[0141]
More specifically, in the text management method described above, at least one line of text data that can be printed in one or more paragraphs or a plurality of paragraphs is displayed when it is to be printed. Since a predetermined format that can be displayed is determined (see, for example, FIG. 5 and FIG. 17), one line at the time of printing / one paragraph of a plurality of lines / a plurality of paragraphs corresponds to one line at the time of display. Can be displayed. Here, in accordance with the predetermined format, L pieces of text data (L is an integer of 2 or more) of one or more lines that are each independently processed are stored. That is, these L pieces of text data are text data that can be displayed in one line.
[0142]
Further, at least a part of at least one of the L pieces of text data is displayed, and an image showing the text data is displayed on a predetermined display screen (text display area DA: display screen DA) (FIG. 17-FIG. 26 etc.). In this case, each text data is displayed as one line. The display screen (predetermined display screen) DA is a J line including a display line where the cursor K is located (J is an integer satisfying 1 ≦ J ≦ L: J = 2 in the example of FIG. 17, and FIGS. 18 to 26. In the example, it has a display line of J = 1).
[0143]
Then, as described above with reference to FIGS. 24 to 26, text data at least a part of which is displayed on the display line where the cursor K is displayed is printed as a tape (( Print on the printing object T. That is, the text data displayed as one line on the display line with the cursor K is printed as a print target.
[0144]
Of course, the text data to be printed in this case may correspond to one line / a plurality of lines of one paragraph / a plurality of paragraphs at the time of printing. Further, since at least the display line with the cursor K may be included, any display screen (predetermined display screen) DA may be used as long as it can display at least one line. That is, a small display screen may be used. Further, since the text data of the display line where the cursor K is located is to be printed, the text (data) to be printed can be designated by a simple operation without searching for a file or the like in which the text is registered.
[0145]
Further, as described above with reference to FIGS. 19 and 24 to 26, the text data to be printed can be changed to another text data by relatively moving the cursor K between the lines on the display screen DA. In this case, the cursor K is in a predetermined display screen having J display lines including the display line (since J = 1 in each of the above examples, the entire display screen DA becomes the display line with the cursor). Therefore, as relative line-to-line movement in this case, a cursor fixing method in which the position of the cursor K is fixed and the display line of the J line is changed (for example, scrolled) as in the above-described examples, Although omitted, any of the cursor movement methods in which the cursor K is literally moved between lines on the display screen DA may be employed.
[0146]
In any case, the text data to be printed can be designated and changed by a simple operation of relative movement of the cursor K between lines. Further, since the text data displayed on the display screen can be changed by a simple operation of the relative movement of the cursor K between the lines, the user can confirm the stored L text data by display. In addition, since the L text data is cyclically displayed by moving the cursor K in the same direction, the time and labor when changing the text data to be displayed from arbitrary 1 to arbitrary 1 are averaged. Can be done efficiently and efficiently. Further, the text data displayed on the display line where the cursor K is located can be edited, and the contents of the text data can be rewritten.
[0147]
  In the example described above with reference to FIGS. 22 to 26, the number of paragraphs is 1, a number with a square indicating a document (text) number is added, and the line number immediately before the first line of the first paragraph is added.(Circle 1)Is omitted and the line number for the remaining number of lines that can be entered (3 lines)(Circle 2) (circle 3)Is stored in advance, but in the case of a plurality of paragraphs, the number of lines corresponding to the number of lines can be stored in advance. For example, the number of paragraphs is set to 2, the line number of the second paragraph is distinguished from the first paragraph as a number with a diamond “◇”, and the number of lines that can be input in each paragraph is set to 3 lines, corresponding to FIG. As shown in FIG. 27, the line number of each line of each paragraph is distinguished from the paragraph and stored in advance as a default (ie, as an initial state) as shown in the text data TD (4), TD (8). Can do.
[0148]
  Also, as in the above example in FIGS. 22 to 26, a square number indicating a document (text) number is attached, and the line number immediately before the first line of the first paragraph is added.(Circle 1)Is omitted and the line number for the remaining number of lines that can be entered (3 lines)(Circle 2) (circle 3)Can also be stored in advance. In this case, for example, FIG. 28 corresponds to the example of FIG.
[0149]
In the example described above with reference to FIG. 27 or FIG. 28, the illustrated first text data TD (1) is obtained by inputting only the first line of the first paragraph. Further, when the seventh text data TD (7) shown in FIG. 27 or FIG. 28 is printed as a processing target (if it is a printing target), a two-line print image G11 can be printed as shown in FIG. . Also, for example, only the line number without character (character) input after me is ignored, and the line with only input line number after is regarded as a blank line, and the sixth text data TD (6) in both figures is printed By doing so, as shown in FIG. 29B, the print image G12 in which the second of the three lines is a blank line can be printed.
[0150]
In each of the above examples, as described with reference to FIG. 19 and the like, the text editing area EA stores L text data as L lines of text data according to a predetermined format. Therefore, a predetermined display screen 41 (text display area DA) having display lines of J lines (J is an integer satisfying 1 ≦ J ≦ L) has a predetermined format of one line corresponding to each text data. When displaying, the text data corresponding to the J line stored as the text data of the L line can be read out and displayed as it is by displaying the image on the display screen DA.
[0151]
As described above, when all the L pieces of text data are stored in the text editing area EA and handled collectively, the processing may become too heavy when the number of L pieces is large (the number is large). In such a case, for example, as shown in FIG. 30, only text data in a row in the vicinity (only adjacent in the drawing) of J text data (to be displayed) displayed on the display screen DA is stored in the text editing area EA. You may make it handle.
[0152]
In this case, the L pieces of text data are stored in individual files F1A to F8A and the like as in the conventional method described above with reference to FIG. Further, in the text editing area EA, text data of J + 2 lines (4 lines in the figure) including J lines (2 lines in the figure) to be displayed and lines adjacent to the display object are respectively 1 corresponding to each text data. Store the row so that it can be displayed in a predetermined format. That is, J + 2 (= 4) pieces of text data are stored in a predetermined format for each line.
[0153]
From this state, for example, when the cursor K is moved (relatively) one line by pressing the cursor “↑” key 330U, the display target line (display target text data) is shifted up by one line. The text data of the line adjacent to the upper side is read from the file accordingly. That is, the text data of the line to be displayed when the cursor K subsequently moves up is read in advance and stored in a predetermined format in the text editing area EA. Similarly, for example, when the cursor K is moved down (relatively) by pressing the cursor “↓” key 330D, the display target line (display target text data) is shifted down by one line. Read the text data of the line adjacent to the lower side from the file.
[0154]
Therefore, the text editing area EA in this case is a text display candidate area in which text data that may be the next display target, that is, text data of the next text display candidate is read and stored prior to display. . In addition, this makes it possible to quickly display the text data on the display screen by developing the image when it is actually displayed. Of course, since it is text data to be processed for editing or the like by being displayed (selected) in a predetermined line, it is an area that also serves as the text editing area EA described above. In this case, it is only necessary to display each line of text data in a predetermined format corresponding to each text data in the text editing area EA. But it ’s okay.
[0155]
As described above, the tape printer 1 (text management method) according to the present embodiment stores L (L is an integer of 2 or more) text data of one or more lines to be processed independently. An image showing text data to be displayed is displayed on a predetermined display screen DA having J rows (J is an integer satisfying 1 ≦ J ≦ L), with at least a part of at least one of them being displayed. Each of the text data is displayed in a predetermined format corresponding to each text data, and one text data at least partially displayed is selected as the text data to be processed.
[0156]
In this case, since the processing target is text data that can be confirmed at least partially by display, processing can be performed after confirmation by display. For this reason, when managing a plurality of texts to be processed independently of each other, even if a small display screen is used, the display and storage of each of the plurality of texts can be associated with each other. Various processes such as editing and printing can be performed with simple operations. In the case of single-line display, the text data of the display line (one line: one) is inevitably selected as a processing target.
[0157]
In the above-described embodiment, the tape printing apparatus has been described. However, as long as various processes such as editing and printing are performed on a character string (or text), various forms can be adopted, and printing that is not a tape. It can be applied to various printing devices that print images of character strings (or text) edited on objects, and other devices that perform various processes such as editing and printing on multiple texts using a particularly small display screen. Any change may be made as appropriate without departing from the scope of the present invention.
[0158]
【The invention's effect】
As described above, in the text management method and the text management apparatus of the present invention, when managing a plurality of texts to be processed independently of each other, even if a small display screen is used, a plurality of texts are displayed. And memory can be associated with each other, and various processes such as editing and printing of a desired text can be freely performed with a simple operation.
[Brief description of the drawings]
FIG. 1 is an external perspective view of a tape printing apparatus to which a text management method and a text management apparatus according to an embodiment of the present invention are applied.
FIG. 2 is an external perspective view of the tape printer of FIG. 1 in an open state.
3 is a block diagram of a control system of the tape printer of FIG. 1. FIG.
4 is a flowchart showing a conceptual process of overall control of the tape printer of FIG. 1; FIG.
FIG. 5 is an explanatory diagram illustrating an example of a print image.
FIG. 6 is an explanatory diagram showing an image for registering each text as a text file in a conventional character processing method related to text management.
FIG. 7 is an explanatory diagram showing an image of a text matrix and a text editing area.
FIG. 8 is an explanatory diagram showing an image of text data read from a text file to a text editing area in a conventional character processing method related to text management.
FIG. 9 is an explanatory diagram showing an image of a display target matrix and a text display area in the case of FIG. 8;
10 is an explanatory view similar to FIG. 9, showing another example. FIG.
FIG. 11 is an explanatory diagram illustrating an example of a relationship among a text editing area, a text display area, and a file area in a conventional character processing method related to text management.
FIG. 12 is an explanatory diagram illustrating an example of a relationship between a text matrix and a text editing area, and a k-th processing candidate matrix and a k-th processing candidate area.
FIG. 13 is an explanatory diagram showing an image when each k text data is stored in each k-th processing candidate area in the case of FIG. 13;
FIG. 14 is an explanatory view similar to FIG. 13, showing another example.
FIG. 15 is an explanatory view similar to FIG. 13, showing yet another example.
16 is an explanatory diagram similar to FIG. 15 and simplified FIG.
17 is an explanatory diagram illustrating an example of a relationship between a text editing area and a text display area in the case of FIG.
18 is an explanatory view similar to FIG. 17, showing another example. FIG.
FIG. 19 is an explanatory diagram in which an example of a relationship among a text editing area, a text display area, and a k-th processing candidate area is imaged.
FIG. 20 is an explanatory view similar to FIG. 16, showing another example.
FIG. 21 is an explanatory diagram showing notes regarding the illustration of the operation examples shown in FIG.
FIG. 22 is an explanatory diagram illustrating an operation example for changing the positions of the text display area and the display target matrix in the text editing area and the text matrix.
FIG. 23 is an explanatory diagram similar to FIG.
FIG. 24 is an explanatory diagram illustrating an operation example of various processes such as editing and printing.
25 is an explanatory diagram similar to FIG. 24, following FIG. 24;
FIG. 26 is an explanatory view similar to FIG. 24, following FIG. 25;
FIG. 27 is an explanatory view similar to FIG. 17, showing yet another example.
FIG. 28 is an explanatory view similar to FIG. 17, showing yet another example.
FIG. 29 is an explanatory view similar to FIG. 5, showing another example.
30 is an explanatory view similar to FIG. 19, showing another example when a file area similar to FIG. 11 is used.
[Explanation of symbols]
1 Tape printer
3 Keyboard
4 display
5 Tape cartridge
7 Print head
11 Operation unit
12 Printing department
13 Cutting part
14 detector
31 character keys
32 Function keys
41 Display screen
141 Tape identification sensor
142 Rotational speed sensor
200 Control unit
210 CPU
220 ROM
230 CG-ROM
240 RAM
241 Various register groups
242 Text data area
243 Display image data area
244 Print image data area
270 Drive unit
DA text display area
DM Display target matrix
EA text editing area
EM text matrix
PA (k) k-th processing candidate area
PM (k) k-th processing candidate matrix
TD (k) Text data of kth text
T tape

Claims (11)

各々独立して処理対象となるL個(Lは2以上の整数)のテキストデータを記憶するテキスト記憶工程と、
記憶された前記L個のテキストデータのうちのJ個(Jは1≦J≦Lとなる整数)のテキストデータを、それぞれ1行で全体を表示可能な所定の形式で並べて、それぞれの少なくとも一部を表示対象として、当該表示対象の画像を、J行の表示行を有する表示画面に表示するテキスト表示工程と、
前記表示対象の一部を、カーソルの相対的な行間移動によって指定することにより、指定された行の1個のテキストデータの全体を、処理対象として選択する処理対象選択工程と、
を備え
前記テキスト表示工程では、前記カーソルの同一行内での相対的な移動によって、前記処理対象となる1個のテキストデータの全体を前記表示画面に表示可能であることを特徴とするテキスト管理方法。
Text storage step of storing the text data of each independently processed and ing the L (L is an integer of 2 or more),
Of the L pieces of stored text data, J pieces of text data (J is an integer satisfying 1 ≦ J ≦ L) are arranged in a predetermined format capable of displaying the whole in one line, and at least one of each is arranged. parts as display targets, the images of the display object, and table Shimesuru text display process in Table示画surface that have a display line of the J line,
A portion of the display target, by designating by the relative line spacing movement of the cursor, and the processing target selection step of the entire one text data in the specified row is selected as the processing Target,
Equipped with a,
In the text display step, the entire text data to be processed can be displayed on the display screen by relative movement of the cursor within the same line.
前記テキスト記憶工程では、前記L個のテキストデータを、表示するときの前記所定の形式に従ったL行のテキストデータとして記憶し、
前記テキスト表示工程では、前記L行のテキストデータとして記憶されたうちの前記J個のテキストデータを、前記表示画面に画像展開して表示することを特徴とする、請求項1に記載のテキスト管理方法。
In the text storing step, the L text data are stored as L lines of text data according to the predetermined format when displayed ,
2. The text management according to claim 1, wherein in the text display step, the J text data stored as the text data of the L lines is displayed on the display screen by developing an image. Method.
前記テキスト記憶工程では、前記L個のテキストデータを、前記所定の形式で表示するときのL行に対応づけて個別に記憶し、
前記テキスト表示工程は、
前記L個のテキストデータのうちの少なくともm番目〜m+J+1番目(mは1≦m≦Lとなる整数。ただし、L+1番目は1番目とする。)のJ+2個のテキストデータを、表示に先だってテキスト表示候補領域に読み出すテキスト読出工程と、
読み出された前記J+2個のテキストデータのうちのJ個のテキストデータを、前記表示画面に画像展開して表示する表示画像展開工程と、
を有することを特徴とする、請求項1に記載のテキスト管理方法。
In the text storage step, the L pieces of text data are individually stored in association with L lines when displayed in the predetermined format ,
The text display step includes
The L text at least m-th ~m + J + 1 th of the data (m is an integer comprised between 1 ≦ m ≦ L. However, L + 1 th to first.) The J + 2 pieces of text data, prior to display A text reading process for reading the text display candidate area;
A display image expansion step of displaying the J text data of the read J + 2 text data on the display screen by expanding the image;
The text management method according to claim 1, further comprising:
前記処理対象のテキストデータは、前記L個のうちのk番目(kはm+1≦k≦m+Jとなる整数。ただし、k=1のときのk−1番目はL番目、k=Lのときのk+1番目は1番目、とする。)のテキストデータであり、The text data to be processed is the kth of the L pieces (k is an integer satisfying m + 1 ≦ k ≦ m + J. However, k−1 when k = 1 is Lth, and when k = L. k + 1 is the first, and the text data)
前記表示画像展開工程では、前記カーソルのk−1番目側への行間移動に応じて、m番目〜m+J−1番目のJ個のテキストデータを画像展開し、前記カーソルのk+1番目側への行間移動に応じて、m+2番目〜m+J+1番目のJ個のテキストデータを画像展開し、  In the display image expanding step, m-th to m + J−1th J text data are expanded according to the line-to-line movement of the cursor to the (k−1) th side, and the line spacing to the k + 1th side of the cursor is expanded. In response to movement, m + 2 to m + J + 1th J text data are expanded into images,
前記テキスト読出工程は、  The text reading step includes:
前記テキスト表示候補領域内における配置または割付において、前記カーソルの前記k−1番目側への行間移動に応じて、前記m番目〜m+J番目のJ+1個のテキストデータを、新たなm+1番目〜m+J+1番目のJ+1個のテキストデータに変更し、前記カーソルの前記k+1番目側への行間移動に応じて、前記m+1番目〜m+J+1番目のJ+1個のテキストデータを、新たなm番目〜m+J番目のJ+1個のテキストデータに変更して、変更後のm+1番目〜m+J番目のJ個のテキストデータのそれぞれの一部を新たな表示対象とする表示対象変更工程と、  In the arrangement or allocation in the text display candidate area, the m + 1st to m + Jth J + 1 text data are changed to the new m + 1st to m + J + 1th in accordance with the line-to-line movement of the cursor to the (k−1) th side. To the (J + 1) th text data, and in response to the movement of the cursor to the (k + 1) th line, the (m + 1) th to (m + J + 1) th J + 1 text data are changed to the new (m + 1) th to m + Jth J + 1th text data. Changing to text data, a display object changing step in which a part of each of the m + 1-th to m + J-th text data after the change is a new display object;
前記テキスト表示候補領域に対して、前記カーソルの前記k−1番目側への行間移動に応じて、m−1番目のテキストデータを新たなm番目のテキストデータとして読み出し、前記カーソルの前記k+1番目側への行間移動に応じて、m+J+2番目のテキストデータを新たなm+J+1番目のテキストデータとして読み出して、次回の表示対象とするための準備をする次回表示準備工程と、  In response to the inter-line movement of the cursor to the (k-1) th side with respect to the text display candidate area, the m-1st text data is read as new mth text data, and the (k + 1) th of the cursor A next display preparation step of reading out the m + J + 2nd text data as new m + J + 1st text data in accordance with the line-to-line movement to the side, and preparing for the next display target;
を有することを特徴とする、請求項3に記載のテキスト管理方法。The text management method according to claim 3, further comprising:
各々独立して処理対象となるL個(Lは2以上の整数)のテキストデータを記憶するテキスト記憶手段と、
記憶された前記L個のテキストデータのうちのJ個(Jは1≦J≦Lとなる整数)のテキストデータを、それぞれ1行で全体を表示可能な所定の形式で並べて、それぞれの少なくとも一部を表示対象として、当該表示対象の画像を、J行の表示行を有する表示画面に表示するテキスト表示手段と、
前記表示対象の一部を、カーソルの相対的な行間移動によって指定することにより、指定された行の1個のテキストデータの全体を、処理対象として選択する処理対象選択手段と、
を備え
前記テキスト表示手段は、前記カーソルの同一行内での相対的な移動によって、前記処理対象となる1個のテキストデータの全体を前記表示画面に表示可能であることを特徴とするテキスト管理装置。
Text storage means for storing text data of each independently processed and ing the L (L is an integer of 2 or more),
Of the L pieces of stored text data, J pieces of text data (J is an integer satisfying 1 ≦ J ≦ L) are arranged in a predetermined format capable of displaying the whole in one line, and at least one of each is arranged. parts as display targets, the images of the display object, and table Shimesuru text display means in Table示画surface that have a display line of the J line,
A portion of the display target, by designating by the relative line spacing movement of the cursor, the process target selection means the whole of a single text data in the specified row is selected as the processing Target,
Equipped with a,
The text management device, wherein the text display means can display the entire text data to be processed on the display screen by relative movement of the cursor within the same line.
前記テキスト記憶手段は、前記L個のテキストデータを、表示するときの前記所定の形式に従ったL行のテキストデータとして記憶し、
前記テキスト表示手段は、前記L行のテキストデータとして記憶されたうちの前記J個のテキストデータを、前記表示画面に画像展開して表示することを特徴とする、請求項に記載のテキスト管理装置。
The text storage means stores the L text data as L lines of text data in accordance with the predetermined format when displayed ,
6. The text management according to claim 5 , wherein the text display means displays the J text data stored as the text data of the L lines on the display screen by developing an image. apparatus.
前記テキスト記憶手段は、前記L個のテキストデータを、前記所定の形式で表示するときのL行に対応づけて個別に記憶し、
前記テキスト表示手段は、
前記L個のテキストデータのうちの少なくともm番目〜m+J+1番目(mは1≦m≦Lとなる整数。ただし、L+1番目は1番目とする。)のJ+2個のテキストデータを、表示に先だってテキスト表示候補領域に読み出すテキスト読出手段と、
読み出された前記J+2個のテキストデータのうちのJ個のテキストデータを、前記表示画面に画像展開して表示する表示画像展開手段と、
を有することを特徴とする、請求項に記載のテキスト管理装置。
Said text storage hands stage, the L number of the text data, stored separately in association with the L line when displayed in said predetermined format,
The text display means includes
The L text at least m-th ~m + J + 1 th of the data (m is an integer comprised between 1 ≦ m ≦ L. However, L + 1 th to first.) The J + 2 pieces of text data, prior to display Text reading means for reading the text display candidate area;
Display image expansion means for expanding and displaying J text data of the read J + 2 text data on the display screen;
The text management apparatus according to claim 5 , further comprising:
前記処理対象のテキストデータは、前記L個のうちのk番目(kはm+1≦k≦m+Jとなる整数。ただし、k=1のときのk−1番目はL番目、k=Lのときのk+1番目は1番目、とする。)のテキストデータであり、The text data to be processed is the kth of the L pieces (k is an integer satisfying m + 1 ≦ k ≦ m + J. However, k−1 when k = 1 is Lth, and when k = L. k + 1 is the first, and the text data)
前記表示画像展開手段は、前記カーソルのk−1番目側への行間移動に応じて、m番目〜m+J−1番目のJ個のテキストデータを画像展開し、前記カーソルのk+1番目側への行間移動に応じて、m+2番目〜m+J+1番目のJ個のテキストデータを画像展開し、  The display image expansion means expands the mth to m + J−1th J text data in accordance with the movement of the cursor to the (k−1) th line, and expands the line to the (k + 1) th line of the cursor. In response to movement, m + 2 to m + J + 1th J text data are expanded into images,
前記テキスト読出手段は、  The text reading means includes:
前記テキスト表示候補領域内における配置または割付において、前記カーソルの前記k−1番目側への行間移動に応じて、前記m番目〜m+J番目のJ+1個のテキストデータを、新たなm+1番目〜m+J+1番目のJ+1個のテキストデータに変更し、前記カーソルの前記k+1番目側への行間移動に応じて、前記m+1番目〜m+J+1番目のJ+1個のテキストデータを、新たなm番目〜m+J番目のJ+1個のテキストデータに変更して、変更後のm+1番目〜m+J番目のJ個のテキストデータのそれぞれの一部を新たな表示対象とする表示対象変更手段と、  In the arrangement or allocation in the text display candidate area, the m + 1st to m + Jth J + 1 text data are changed to the new m + 1st to m + J + 1th in accordance with the line-to-line movement of the cursor to the (k−1) th side. To the (J + 1) th text data, and in response to the movement of the cursor to the (k + 1) th line, the (m + 1) th to (m + J + 1) th J + 1 text data are changed to the new (m + 1) th to m + Jth J + 1th text data. Display object changing means for changing to text data and changing a part of each of the m + 1 to m + Jth text data after the change to a new display object;
前記テキスト表示候補領域に対して、前記カーソルの前記k−1番目側への行間移動に応じて、m−1番目のテキストデータを新たなm番目のテキストデータとして読み出し、前記カーソルの前記k+1番目側への行間移動に応じて、m+J+2番目のテキストデータを新たなm+J+1番目のテキストデータとして読み出して、次回の表示対象とするための準備をする次回表示準備手段と、  In response to the inter-line movement of the cursor to the (k-1) th side with respect to the text display candidate area, the m-1st text data is read as new mth text data, and the (k + 1) th of the cursor Next display preparation means for reading out the m + J + 2nd text data as new m + J + 1st text data in accordance with the line-to-line movement to the side, and preparing for the next display target;
を有することを特徴とする、請求項7に記載のテキスト管理装置。The text management apparatus according to claim 7, further comprising:
前記処理対象のテキストデータに対して編集を行う編集手段をさらに備えたことを特徴とする、請求項ないしのいずれかに記載のテキスト管理装置。Characterized in that said further comprising an editing means for editing on the text data to be processed, text management apparatus according to any one of claims 5 to 8. 前記処理対象のテキストデータに基づいて、それらに対応する画像の少なくとも一部を印刷対象物に印刷する印刷手段をさらに備えたことを特徴とする、請求項ないしのいずれかに記載のテキスト管理装置。Based on the text data of the processing target, characterized by their in further comprising a printing means for printing the printing object at least a portion of the corresponding image, text according to any one of claims 5 to 9 Management device. 前記印刷対象物がテープであることを特徴とする、請求項10に記載のテキスト管理装置。The text management apparatus according to claim 10 , wherein the print object is a tape.
JP2001123859A 2001-04-23 2001-04-23 Text management method and text management apparatus Expired - Fee Related JP3687564B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2001123859A JP3687564B2 (en) 2001-04-23 2001-04-23 Text management method and text management apparatus
US10/123,057 US20020178189A1 (en) 2001-04-23 2002-04-12 Text control method and apparatus
CNB021401187A CN1213378C (en) 2001-04-23 2002-04-23 Text management method and text management device
HK03104411.0A HK1052236A1 (en) 2001-04-23 2003-06-19 Text control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001123859A JP3687564B2 (en) 2001-04-23 2001-04-23 Text management method and text management apparatus

Publications (2)

Publication Number Publication Date
JP2002318796A JP2002318796A (en) 2002-10-31
JP3687564B2 true JP3687564B2 (en) 2005-08-24

Family

ID=18973346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001123859A Expired - Fee Related JP3687564B2 (en) 2001-04-23 2001-04-23 Text management method and text management apparatus

Country Status (1)

Country Link
JP (1) JP3687564B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7384100B2 (en) 2020-03-30 2023-11-21 セイコーエプソン株式会社 Tape printer, information processing device, tape printer control method, and program

Also Published As

Publication number Publication date
JP2002318796A (en) 2002-10-31

Similar Documents

Publication Publication Date Title
JP3945165B2 (en) Text data processing device
EP1045310B1 (en) Character information processor for printing characters
JP4131084B2 (en) Printing device
WO1996016813A1 (en) Character information processor with layout display function
CN1051958C (en) Tape printer
US6375306B1 (en) Image printing method and device
EP1241014B1 (en) Printing device
US5276796A (en) Dual screen display control apparatus for a word processor
JP4423871B2 (en) Printing apparatus, printing apparatus explanation posting method and program
KR19980063578A (en) Character printer
JP3687564B2 (en) Text management method and text management apparatus
JP3854020B2 (en) Label making device
US20020178189A1 (en) Text control method and apparatus
JP4491220B2 (en) Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program
EP0930559B1 (en) Character entry method and device
US4934851A (en) Text processing system including plural text and corresponding memories
EP0573262B1 (en) Wordprocessing device
KR100461036B1 (en) Character processing device and character processing method and storage medium
JP2002318795A (en) Text management method and text management device
JP3475532B2 (en) Character information processing device
US20060093422A1 (en) Printing device
EP0660248B1 (en) Word processor
JPH05177901A (en) Printer
JP2001301238A (en) Tape printer
JP2592840B2 (en) Character processor

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050530

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090617

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100617

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110617

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110617

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120617

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130617

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130617

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees