JP2803509B2 - Tape printer - Google Patents

Tape printer

Info

Publication number
JP2803509B2
JP2803509B2 JP5017971A JP1797193A JP2803509B2 JP 2803509 B2 JP2803509 B2 JP 2803509B2 JP 5017971 A JP5017971 A JP 5017971A JP 1797193 A JP1797193 A JP 1797193A JP 2803509 B2 JP2803509 B2 JP 2803509B2
Authority
JP
Japan
Prior art keywords
tape
text
length
size
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5017971A
Other languages
Japanese (ja)
Other versions
JPH06199005A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=11958623&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2803509(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP5017971A priority Critical patent/JP2803509B2/en
Publication of JPH06199005A publication Critical patent/JPH06199005A/en
Application granted granted Critical
Publication of JP2803509B2 publication Critical patent/JP2803509B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は文字等の文書データより
なるテキストを長尺状のテープ上に印字して文字付テー
プを作成するテープ印字装置に関し、特に、テープのテ
ープ幅に基づいて文字サイズを自動的に決定するととも
に、その決定された文字サイズによるテキスト長が任意
設定されたテープ長よりも小さい場合にテキストの印
字を行い、また、テープ長が自動的に設定される場合に
はテキスト長とテープ長とを比較することなく前記のよ
うに決定された文字サイズに従ってテキストの印字を行
ようにしたテープ印字装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tape printer for producing a tape with characters by printing text consisting of document data such as characters on a long tape, and more particularly to a tape printer based on the tape width of the tape. The size is determined automatically, and the text length according to the determined character size is arbitrary.
There line printing of text when set smaller than the tape length, also when the tape length is automatically set
Is described above without comparing the text length with the tape length.
Prints text according to the determined character size.
Cormorant as it relates to the tape printer you.

【0002】[0002]

【従来の技術】従来より、各種のテープ印字装置が提案
されており、例えば、予め定められた複数種類の文字サ
イズの内から所望の文字サイズを選択設定するととも
に、印字したいテープの長さ(テープ長)とを設定し、
選択設定された文字サイズに基づいて文字等の印字デー
タ長を算出して計算されたテキストが、設定されたテー
プ長内に印字可能かどうかを判断するようにしたテープ
印字装置が存在する。
2. Description of the Related Art Various types of tape printers have been proposed. For example, a desired character size is selected and set from a plurality of predetermined character sizes, and the length of a tape to be printed (e.g., Tape length) and
There is a tape printing apparatus which determines whether a text calculated by calculating a print data length of a character or the like based on a selected and set character size can be printed within a set tape length.

【0003】かかるテープ印字装置では、計算されたテ
キストの長さ(テキスト長)が設定されたテープ長より
も小さいと判断された場合には、印字可能としてテキス
トをテープ上に印字し、一方、テキスト長がテープ長よ
りも大きいと判断された場合には、テキストが設定され
たテープ長からはみ出してしまうことから印字不可能と
してエラー処理を行なうものである。
In such a tape printer, when it is determined that the calculated text length (text length) is smaller than the set tape length, the text is printed on the tape as printable, and If it is determined that the text length is longer than the tape length, the text is protruded from the set tape length, so that printing is disabled and error processing is performed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記し
た従来のテープ印字装置において、エラー処理が行なわ
れた場合テキストの印字が不可能となるので、操作者は
一旦選択設定した文字サイズを小さい文字サイズに変更
したり、また、テープ長が長くなるようにテープ長の変
更を行なったりする必要がある。かかる文字サイズの変
更とテープ長の変更は、相互に相対的なものであり、そ
の変更時にバランスをとることが非常に難しいものであ
る。例えば、文字サイズを小さく変更することによりテ
キストが設定されたテープ長の範囲内に入るようにした
場合、テープ長に対して文字サイズの大きさが小さくな
り過ぎて作成されたテープの見栄えが極端に悪くなる虞
がある。また、テープ長を長く変更してテキストがテー
プ長の範囲内に入るようにした場合でも、前記と同様に
文字サイズとテープ長とのバランスが崩れて見栄えの悪
いテープしか作成できなくなる虞も存在する。
However, in the above-described conventional tape printing apparatus, when error processing is performed, printing of text becomes impossible, so that the operator changes the character size once selected and set to a small character size. Or the tape length needs to be changed so that the tape length becomes longer. The change of the character size and the change of the tape length are relative to each other, and it is very difficult to balance at the time of the change. For example, if the text size falls within the set tape length range by changing the text size to a small size, the size of the text size becomes too small for the tape length, and the appearance of the tape created will be extremely high. May be worse. In addition, even when the tape length is changed to make the text fall within the range of the tape length, there is a possibility that the balance between the character size and the tape length is broken as described above, and only a tape having a poor appearance can be created. I do.

【0005】このように、前記従来のテープ印字装置で
は、テキスト長がテープ長よりも大きいと判断されてエ
ラー処理が行なわれた場合、予め定められた文字サイズ
の内から変更すべき文字サイズの選択とテープ長の変更
とを相対的に行なう必要があり、この結果、文字サイズ
とテープ長とのバランスが良好で、見栄えの良い文字付
テープを作成することが困難であるという問題があっ
た。
As described above, in the conventional tape printer, when the text length is determined to be longer than the tape length and error processing is performed, the character size to be changed from the predetermined character size is changed. It is necessary to relatively perform selection and change of the tape length, and as a result, there is a problem that it is difficult to create a good-looking character-attached tape with a good balance between the character size and the tape length. .

【0006】本発明は前記従来技術の問題点を解消する
するためになされたものであり、テープ幅に基づいて文
字サイズを自動的に決定するとともに決定された文字サ
イズからテキスト長を算出し、テキスト長と任意に設定
されたテープ長とを比較してテキスト長がテープ長より
も小さい場合にはテキストをテープ上に印字し、テキス
ト長がテープ長より大きい場合においても文字サイズと
テープ長との相対的変更を要することなく簡単な操作に
より文字サイズとテープ長とのバランスが良好で、且
つ、見栄えの良い文字付テープを作成することができ
また、テープ長が自動的に設定される場合にはテキスト
長とテープ長とを比較することなく前記のように決定さ
れた文字サイズに従ってテキストをテープ上に印字して
簡単な処理に基づき迅速に見栄えの良い文字付テープを
作成することができるテープ印字装置を提供することを
目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the problems of the prior art, and automatically determines a character size based on a tape width and calculates a text length from the determined character size. Text length and optional setting
When the text length is smaller than the tape length, the text is printed on the tape, and when the text length is larger than the tape length, the character size and the tape length need to be changed relative to each other. The balance between the character size and the tape length is good and the tape with good appearance can be created by a simple operation without any trouble .
If the tape length is set automatically, the text
Determined as above without comparing the length to the tape length.
Print the text on the tape according to the
Quickly make good-looking tape with text based on simple processing
And to provide a tape printer that can be created.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
本発明に係るテープ印字装置は、文字等の文書データよ
りなるテキストを作成するテキスト作成手段と、テキス
ト作成手段により作成されたテキストを複数種類のテー
プ幅を有する長尺状のテープに印字する印字手段とを有
するテープ印字装置において、前記各テープのテープ幅
を検出するテープ幅検出手段と、前記テープ幅検出手段
により検出されたテープ幅に基づいて、そのテープに印
字される文字等のサイズを自動的に決定する第1文字サ
イズ決定手段と、前記第1文字サイズ決定手段を介して
決定されたサイズを有する文字等のテキスト長を算出す
るテキスト長算出手段と、前記テキストが印字されるテ
ープのテープ長を任意に設定するか、又は、前記テキス
ト長算出手段を介して算出されたテキスト長に従って自
動的にテープのテープ長を設定するテープ長設定手段
と、前記テキスト長算出手段により算出されたテキスト
長と前記テープ長設定手段により任意に設定されたテー
プ長とを比較する第1比較手段と、前記印字手段を制御
する印字制御手段とを有し、前記印字制御手段は、前記
テープ長設定手段を介してテープのテープ長が任意に設
定されるととともに、前記第1比較手段により前記テキ
スト長が前記テープ長よりも小さいと判断された場合、
前記第1文字サイズ決定手段により決定されたサイズを
有する文字等のテキストを印字手段を介してテープ上印
字させ、前記テープ長設定手段を介して自動的にテープ
のテープ長が設定された場合、前記第1比較手段による
比較を行うことなく前記第 1文字サイズにより決定され
たサイズに従い印字手段を介して文字等のテキストをテ
ープ上に印字させることを特徴とする。
In order to achieve the above object, a tape printing apparatus according to the present invention comprises a text creating means for creating a text composed of document data such as characters, and a plurality of texts created by the text creating means. A tape printing device having a printing unit that prints on a long tape having a different tape width, a tape width detecting unit that detects a tape width of each tape, and a tape width detected by the tape width detecting unit. Based on the first character size determining means for automatically determining the size of characters and the like printed on the tape, and the text length of characters and the like having the size determined via the first character size determining means. Text length calculating means for calculating, and arbitrarily setting a tape length of a tape on which the text is printed , or
Automatically according to the text length calculated via the
Tape length setting means for dynamically setting the tape length of the tape, and first comparing means for comparing the text length calculated by the text length calculation means with the tape length arbitrarily set by the tape length setting means Controls the printing means
And print control means, wherein the print control means,
Arbitrarily set the tape length of the tape via the tape length setting means.
And the first comparison means
If it is determined that the strike length is smaller than the tape length,
The size determined by the first character size determining means is
Text on the tape via a printing means
The tape automatically through the tape length setting means.
Is set by the first comparing means.
Determined by the first character size without comparison
Text such as characters via printing means according to the size
It is characterized by printing on a loop.

【0008】また、本発明に係るテープ印字装置は、文
字等の文書データよりなるテキストを作成するテキスト
作成手段と、テキスト作成手段により作成されたテキス
トを複数種類のテープ幅を有する長尺状のテープに印字
する印字手段とを有するテープ印字装置において、前記
各テープのテープ幅を検出するテープ幅検出手段と、前
記テープ幅検出手段により検出されたテープ幅に基づい
て、そのテープに印字される文字等のサイズを自動的に
決定する第1文字サイズ決定手段と、前記第1文字サイ
ズ決定手段を介して決定されたサイズを有する文字等の
テキスト長を算出するテキスト長算出手段と、前記テキ
ストが印字されるテープのテープ長を任意に設定する
か、又は、前記テキスト長算出手段を介して算出された
テキスト長に従って自動的にテープのテープ長を設定す
テープ長設定手段と、前記テープ長設定手段により
意に設定されたテープ長に基づいてそのテープに印字さ
れる文字等のサイズを自動的に決定する第2文字サイズ
決定手段と、前記第1文字サイズ決定手段により決定さ
れた文字等のサイズと前記第2文字サイズ決定手段によ
り決定された文字等のサイズとを比較する第2比較手段
と、前記印字手段を制御する印字制御手段を有し、前記
印字制御手段は、前記テープ長設定手段を介してテープ
のテープ長が任意に設定された場合、前記第2比較手段
を介して第1文字サイズ決定手段により決定されたサイ
ズと第2文字サイズ決定手段により決定されたサイズの
うち小さい方のサイズを選択するとともに、第2比較手
段により選択された小さいほうのサイズに従い印字手段
を介して文字等のテキストをテープ上に印字させ、前記
テープ長設定手段を介して自動的にテープのテープ長が
設定された場合、第2比較手段による比較を行うことな
く前記第1文字サイズ決定手段により決定されたサイズ
に従い印字手段を介して文字等のテキストをテープ上に
印字させることを特徴とする。
Further, the tape printing apparatus according to the present invention comprises a text creating means for creating a text consisting of document data such as characters, and a long text having a plurality of types of tape widths. In a tape printer having printing means for printing on a tape, a tape width detecting means for detecting a tape width of each tape, and printing is performed on the tape based on the tape width detected by the tape width detecting means. a first character size determination means for automatically determining the size of characters and the like, the first character rhino
Such as characters having the size determined through the
Text length calculating means for calculating a text length, and arbitrarily setting a tape length of a tape on which the text is printed
Or calculated via the text length calculation means
Set the tape length automatically according to the text length
A tape length setting means that, appointed by the tape length setting means
A second character size determining means for automatically determining the size of characters and the like to be printed on the tape based on the tape length set arbitrarily; and the size of the characters and the like determined by the first character size determining means. A second comparing unit for comparing the size of the character or the like determined by the second character size determining unit;
Having printing control means for controlling the printing means,
The printing control means controls the tape through the tape length setting means.
If the tape length is set arbitrarily, a smaller one of the size determined by the first character size determining means and the size determined by the second character size determining means is selected via the second comparing means. And printing the text such as characters on the tape via the printing means in accordance with the smaller size selected by the second comparing means ,
The tape length of the tape is automatically set via the tape length setting means.
If set, the comparison by the second comparing means should not be performed.
The size determined by the first character size determining means.
Text on the tape via the printing means according to
It is characterized by printing.

【0009】ここに、テープ印字装置は、前記テキスト
作成手段によるテキスト作成時、テキストを所定のブロ
ック毎に分割して入力することを可能とするブロック設
定手段を有し、前記第1文字サイズ決定手段は前記ブロ
ック設定手段により設定されたブロック毎に文字等のサ
イズを自動的に決定することが望ましい。 また、本発明
に係るテープ印字装置は、文字等の文書データよりなる
テキストを作成するテキスト作成手段と、テキスト作成
手段により作成されたテキストを複数種類のテープ幅を
有する長尺状のテープに印字する印字手段とを有するテ
ープ印字装置において、前記各テープのテープ幅を検出
するテープ幅検出手段と、前記テープ幅検出手段により
検出されたテープ幅に基づいて、そのテープに印字され
る文字等のサイズを自動的に決定する第1文字サイズ決
定手段と、前記第1文字サイズ決定手段を介して決定さ
れたサイズを有する文字等のテキスト長を算出するテキ
スト長算出手段と、前記テキスト長算出手段を介して算
出されたテキスト長に従って自動的にテープのテープ長
を設定する自動テープ長設定手段と、前記印字手段を制
御して、第1文字サイズ決定手段により決定されたサイ
ズを有する文字等のテキストを、前記自動テープ長設定
手段により設定されるテープ長を有するテープ上に印字
させる印字制御手段とを備えたことを特徴とする。
Here, the tape printing apparatus has a block setting means for allowing the text to be divided into predetermined blocks and input when the text is created by the text creating means, and the first character size determination is made. Preferably, the means automatically determines the size of characters and the like for each block set by the block setting means . In addition, the present invention
Is composed of document data such as characters.
Text creation means for creating text and text creation
Text created by means of multiple tape widths
Printing means for printing on a long tape having
In the tape printer, the tape width of each tape is detected
Tape width detecting means, and the tape width detecting means
Prints on the tape based on the detected tape width.
First character size determination that automatically determines the size of characters
Setting means and the first character size determining means.
For calculating the length of text such as characters with different sizes
Calculation via the text length calculation means and the text length calculation means.
Automatically tape length according to the text length issued
Automatic tape length setting means for setting the
Controlling the size determined by the first character size determining means.
The automatic tape length setting can be performed with text such as characters having
Print on tape with tape length set by means
And print control means for causing

【0010】[0010]

【作用】前記構成を有する本発明では、先ず、テキスト
作成手段を介して文字等の文書データからなるテキスト
が作成されるとともに、テープ長設定手段により印字さ
れるテープのテープ長が任意に設定されるか、又は、自
動的に設定されるかが選択される。そして、テープ幅検
出手段により使用されるテープのテープ幅が検出され、
また、第1文字サイズ決定手段を介して、検出されたテ
ープ幅に基づき文字等のサイズが自動的に決定される。
このとき、テキスト作成手段によりテキストがブロック
設定手段を介してブロック毎に分割して入力されている
場合、第1文字サイズ決定手段はブロック毎に文字サイ
ズを自動的に決定する。更に、このように決定された文
字サイズを有する文字等のテキスト長が、テキスト長算
出手段により算出される。
In the present invention having the above construction, first, text composed of document data such as characters is created via the text creating means, and the tape length of the tape to be printed is set arbitrarily by the tape length setting means. either that, or, self
It is selected whether it is set dynamically. Then, the tape width of the tape used by the tape width detecting means is detected,
Further, the size of the character or the like is automatically determined based on the detected tape width via the first character size determining means.
At this time, when the text is divided and input for each block by the text creation unit via the block setting unit, the first character size determination unit automatically determines the character size for each block. Further, the text length of a character or the like having the determined character size is calculated by the text length calculation means.

【0011】次に、テープ長設定によりテープのテープ
長が任意に設定された場合には、前記のようにテキスト
長算出手段を介して算出されたテキスト長とテープ長設
定手段を介して任意に設定されたテープ長とが、第1比
較手段により比較され、その比較の結果、テキスト長が
テープ長よりも小さいと判断された場合には、印字制御
手段による制御下に印字手段を介してテキストがテープ
上に印字される。一方、第1比較手段を介してテキスト
長がテープ長よりも大きいと判断された場合、前記のよ
うに文字サイズはテープ幅に基づいて文字サイズ決定手
段により自動的に決定されることから、テープ長設定手
段によりテープ長のみを変更すればよいものである。
た、テープ長設定手段によりテープのテープ長が自動的
に設定される場合には、そのテープ長は、テキスト長算
出手段により算出されたテキスト長に従って設定される
ので、第1比較手段による比較を行う必要がなく、第1
文字サイズ決定手段により自動的に決定された文字サイ
ズに従って、印字制御手段による制御下に印字手段を介
してテキストがテープ上に印字される。これにより処理
が簡単となり、迅速に文字付テープを作成することが可
能となる。
Next, the tape of the tape is set by setting the tape length.
When the length is arbitrarily set , the text length calculated via the text length calculating means as described above and the tape length arbitrarily set via the tape length setting means are compared by the first comparing means. If the text length is determined to be smaller than the tape length as a result of the comparison, the text is printed on the tape via the printing means under the control of the printing control means. On the other hand, if it is determined via the first comparing means that the text length is larger than the tape length, the character size is automatically determined by the character size determining means based on the tape width as described above. Only the tape length needs to be changed by the length setting means. Ma
The tape length is automatically set by the tape length setting means.
If set to, the tape length is calculated as the text length
Set according to the text length calculated by the output means
Therefore, there is no need to perform the comparison by the first comparing means.
Character size automatically determined by character size determination means
Through the printing means under the control of the printing control means in accordance with the
And the text is printed on the tape. Processing by this
Makes it easy to create tapes with text quickly
It works.

【0012】また、本発明では、テープ長設定手段によ
り任意にテープ長が設定された場合には、第2文字サイ
ズ決定手段を介して、テープ長設定手段により任意に
定されたテープ長に基づいて、そのテープ長を有するテ
ープに印字される文字等のサイズが自動的に決定され
る。更に、前記のように第1文字サイズ決定手段により
決定された文字等のサイズと第2文字サイズ決定手段に
より決定された文字等のサイズとが、第2比較手段を介
して比較される。比較の結果、小さい方のサイズが選択
されるとともに、印字制御手段による制御下に印字手段
を介して、選択された小さい方のサイズに従い文字等の
テキストがテープ上に印字されるものである。一方、テ
ープ長設定手段により自動的にテープのテープ長が設定
された場合には、テープ長方向における文字サイズは考
慮する必要がなくなるので、第2比較手段による比較を
行うことなく、第1文字サイズ決定手段により決定され
たサイズに従い印字制御手段による制御下に印字手段を
介してテキストがテープ上に印字される。 これにより、
テープ長が任意に設定された場合には、第2比較手段に
より小さ いほうのサイズが選択されることから、そのテ
ープ長に合致するようにテキストを印字することがで
き、また、テープ長が自動的にせっていされた場合に
は、第2比較手段による比較を行う必要がなく簡単な処
理をもって迅速に文字付テープを作成することが可能と
なる。 更に、本発明では、テキスト作成手段を介して文
字等の文書データからなるテキストが作成されるととも
に、テープ幅検出手段により使用されるテープのテープ
幅が検出される。また、第1文字サイズ決定手段を介し
て、検出されたテープ幅に基づき文字等のサイズが自動
的に決定される。次に、テープ長が、自動テープ長設定
手段を介して、テキスト長算出手段により算出されたテ
キスト長に従って自動的に設定される。このとき、テー
プ長方向における文字サイズについては考慮する必要が
ないので、第1文字サイズ決定手段により自動的に決定
された文字サイズに従って、印字制御手段による制御下
に印字手段を介してテキストがテープ上に印字される。
これにより、文字サイズとテープ長との相対的変更を要
することなく簡単な操作により文字サイズとテープ長と
のバランスが良好で、且つ、見栄えの良い文字付テープ
を作成することができ、また、テープ長方向における文
字サイズについては考慮する必要がないことに基づき処
理が簡単となり、迅速に文字付テープを作成することが
可能となる。
Also, in the present invention, the tape length setting means
When the tape length is arbitrarily set, the tape having the tape length is set via the second character size determining unit based on the tape length arbitrarily set by the tape length setting unit. The size of the characters or the like to be printed is automatically determined. Further, the size of the character or the like determined by the first character size determining unit and the size of the character or the like determined by the second character size determining unit as described above are compared via the second comparing unit. As a result of the comparison, the smaller size is selected, and text such as characters is printed on the tape according to the selected smaller size via the printing means under the control of the printing control means. On the other hand,
The tape length is automatically set by the tape length setting means
Character size in the tape length direction
Since there is no need to take into account, the comparison by the second comparing means
Without being determined by the first character size determining means.
Printing means under the control of the printing control means according to the size
Text is printed on the tape. This allows
If the tape length is set arbitrarily, the second comparison means
Since more small illegal size is selected, the Te
Text to match the loop length.
When the tape length is automatically set to
Is a simple processing that does not require comparison by the second comparing means.
It is possible to create lettered tape quickly and reasonably
Become. Further, according to the present invention, the sentence
When text consisting of document data such as characters is created
The tape of the tape used by the tape width detecting means
The width is detected. Also, via the first character size determining means
The size of characters etc. automatically based on the detected tape width.
Is determined. Next, the tape length is automatically set
Via the means, the text calculated by the text length calculating means.
It is set automatically according to the text length. At this time,
It is necessary to consider the character size in the
Automatically determined by the first character size determination means
Under the control of the print control means according to the specified character size.
The text is printed on the tape via the printing means.
This requires a relative change between the character size and the tape length.
Character size and tape length by simple operation without
With good balance and good appearance with lettering
Can be created, and statements in the tape length direction can be created.
It is not necessary to consider the font size.
Makes it easier to create tapes with text
It becomes possible.

【0013】[0013]

【実施例】以下、本発明を具体化した一実施例に基づき
図面を参照しつつ詳細に説明する。図1はテープカセッ
ト収納部の収納カバーを開けて示すテープ印字装置の平
面図である。図1において、テープ印字装置1には、文
字等のキャラクタを複数行に渡って入力し文書データか
らなるテキストを作成するための文字入力キー2、テキ
ストの印字を指令する印字キー3、各文字等の文字サイ
ズ(「ES」、「SS」、「S」、「M」、「L」、
「LL」、「XL」、「自動」からセットされる)をセ
ットするための文字サイズセットキー4、文字等を印字
して作成されるテープの長さを設定するテープ長セット
キー5、液晶ディスプレイ7上でカーソルを上下、左右
に移動させるカーソルキーC、改行指令や各種処理の実
行を指令するリターンキーR、テキストにおける所望の
ブロック毎に改ブロックマークを挿入してテキストを所
定数のブロックに分割するブロック指定キーB、及び、
後述するように文字サイズセット時に文字サイズを選択
するための数字キーN等が設けられたキーボード6、キ
ーボード6から入力された文字等を表示する液晶ディス
プレイ7及び後述するテープカセット13を収納するカ
セット収納部8が配設されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a plan view of the tape printing apparatus in which a storage cover of a tape cassette storage unit is opened. 1, a character input key 2 for inputting characters such as characters over a plurality of lines to create a text composed of document data, a print key 3 for instructing text printing, Character sizes ("ES", "SS", "S", "M", "L",
Character size set key 4 for setting “LL”, “XL”, “automatic”), tape length set key 5 for setting the length of a tape created by printing characters and the like, liquid crystal A cursor key C for moving the cursor up and down, left and right on the display 7, a return key R for instructing a line feed command and execution of various processes, and inserting a new block mark for each desired block in the text to convert the text into a predetermined number of blocks A block designating key B to be divided into
As will be described later, a keyboard 6 provided with numeric keys N and the like for selecting a character size at the time of character size setting, a liquid crystal display 7 for displaying characters and the like inputted from the keyboard 6, and a cassette for accommodating a tape cassette 13 to be described later A storage section 8 is provided.

【0014】また、カセット収納部8には、図示しない
パルスモータにより回転駆動され、テープカセット13
のリボン巻取スプール21を回動してサーマルインクリ
ボン17を巻取るリボン巻取軸9が立設されており、
又、その斜め前方(キーボード6側)には、後述するテ
ープ送りモータ40から適宜の伝達機構を介して回転駆
動され、後述するテープ送りローラ27を回動するため
のテープ送りローラ軸10が立設されている。更に、カ
セット収納部8の前方には、サーマルインクリボン17
を介して後述するフィルムテープ15上に印字を行うサ
ーマルヘッド11が固設されている。
The cassette housing 8 is driven to rotate by a pulse motor (not shown),
A ribbon winding shaft 9 for rotating the ribbon winding spool 21 to wind the thermal ink ribbon 17 is provided upright.
Further, a tape feed roller shaft 10 for rotating a tape feed roller 27 to be described later, which is rotatably driven by a tape feed motor 40 to be described later via an appropriate transmission mechanism, is provided obliquely forward (on the keyboard 6 side). Has been established. Further, a thermal ink ribbon 17 is provided in front of the cassette housing section 8.
A thermal head 11 for performing printing on a film tape 15 to be described later is fixedly provided.

【0015】更に、カセット収納部8の後方には、テー
プカセット13内に収蔵されているフィルムテープ15
等の各種テープ(各テープのテープ幅は1つのテープカ
セット13については同一のテープ幅を有している)の
テープ幅を検出するためのテープ幅検出器Kが配設され
ている。
Further, behind the cassette housing section 8, a film tape 15 stored in a tape cassette 13 is provided.
The tape width detector K for detecting the tape width of various tapes (the tape width of each tape has the same tape width for one tape cassette 13) is provided.

【0016】このテープ幅検出器Kは3つのフォトカッ
プラP1、P2、P3からなり、かかるフォトカップラ
P1、P2、P3には、テープカセット13のカセット
収納部8への装着時にテープカセット13の裏面に設け
られた判別部材(図示せず)が挿嵌され判別部材がフォ
トカップラP1、P2、P3を選択的に遮断することに
よりテープカセット13内に収蔵されているフィルムテ
ープ15等の各種テープのテープ幅を検出するものであ
る。
The tape width detector K comprises three photocouplers P1, P2, and P3. The photocouplers P1, P2, and P3 have the back surface of the tape cassette 13 when the tape cassette 13 is mounted on the cassette storage section 8. A discriminating member (not shown) provided in the tape cassette 13 is inserted and the discriminating member selectively shuts off the photocouplers P1, P2, and P3. This is to detect the tape width.

【0017】ここに、本実施例ではフィルムテープ15
等のテープ幅の種類として6mm、9mm、12mm、
18mm、24mmの5種類があり、前記各フォトカッ
プラP1、P2、P3は判別部材による選択的遮断に基
づき発せられる「H」信号と、「L」信号の組合せによ
りテープカセット13内のテープ幅を検出するものであ
る。尚、かかるテープ幅検出器Kの構成については特願
平3−217860号、特願平3−217861号に記
載されたものと同一の構成を有するので、ここではその
詳細な説明は省略する。また、かかるカセット収納部8
は、テープ印字装置1の後方に回動可能に枢支された収
納カバー12により開閉され、開状態でテープカセット
13の交換等が行われる。
In this embodiment, the film tape 15
6mm, 9mm, 12mm, etc.
There are five types, 18 mm and 24 mm, and each of the photocouplers P1, P2, and P3 adjusts the tape width in the tape cassette 13 by a combination of an "H" signal and an "L" signal generated based on selective blocking by a discriminating member. It is to detect. Since the configuration of the tape width detector K has the same configuration as that described in Japanese Patent Application Nos. 3-217860 and 3-217860, detailed description thereof will be omitted. In addition, the cassette storage unit 8
Is opened and closed by a storage cover 12 pivotally supported at the rear of the tape printer 1, and the tape cassette 13 is replaced in an open state.

【0018】次に、テープカセット13の構成について
図2を参照して説明する。図2はカセット収納部8にテ
ープカセット13を収納した状態を示す平面図(テープ
カセット13は上ケースを除いて示す)である。図2に
おいて、下ケース14内には透明なフィルムテープ15
が巻回されたテープスプール16、サーマルインクリボ
ン17が巻回されたリボンスプール18、剥離紙付き両
面粘着テープ19が剥離紙側を外側にして巻回された粘
着テープスプール20が配設されており、これら各スプ
ール16、18、20は図示しない上ケースの下面に設
けられた支持部との協働により回転可能に支持されてい
る。
Next, the configuration of the tape cassette 13 will be described with reference to FIG. FIG. 2 is a plan view showing a state in which the tape cassette 13 is stored in the cassette storage section 8 (the tape cassette 13 is shown without the upper case). In FIG. 2, a transparent film tape 15 is
Are wound, a ribbon spool 18 around which a thermal ink ribbon 17 is wound, and an adhesive tape spool 20 around which a double-sided adhesive tape 19 with release paper is wound with the release paper side outside. The spools 16, 18, and 20 are rotatably supported in cooperation with a support portion provided on the lower surface of an upper case (not shown).

【0019】また、各スプール16、18、20の間に
リボン巻取スプール21が同様に回転可能に支持されて
おり、かかるリボン巻取スプール21は前記したリボン
巻取軸9に噛合されリボン巻取軸9の駆動により印字で
使用されたサーマルインクリボン17を巻取る。更に、
前記したサーマルヘッド11は下ケース14に設けられ
た凹部22に配置され、このサーマルヘッド11にはロ
ーラホルダ23に回転可能に支持されたプラテンローラ
24が圧接可能な位置に対向配置されている。かかるサ
ーマルヘッド11は多数の発熱素子(本実施例に係るテ
ープ印字装置1のサーマルヘッド11では128個の発
熱素子が設けられている)を有しており、サーマルイン
クリボン17を介してフィルムテープ15に文字等の印
字を行うものである。
A ribbon take-up spool 21 is similarly rotatably supported between the spools 16, 18, and 20, and the ribbon take-up spool 21 is engaged with the ribbon take-up shaft 9 to form a ribbon take-up. By driving the take-up shaft 9, the thermal ink ribbon 17 used for printing is wound up. Furthermore,
The above-described thermal head 11 is disposed in a concave portion 22 provided in the lower case 14, and a platen roller 24 rotatably supported by a roller holder 23 is opposed to the thermal head 11 at a position where the platen roller 24 can be pressed against the thermal head 11. The thermal head 11 has a large number of heating elements (128 heating elements are provided in the thermal head 11 of the tape printing apparatus 1 according to the present embodiment). 15 prints characters and the like.

【0020】また、下ケース14のテープ排出部25
(図1、図2中左下側)の近傍にテープ圧接ローラ26
が回転可能に支持され、このテープ圧接ローラ26には
ローラホルダ23に回転可能に支持されたテープ送りロ
ーラ27が圧接可能な位置に対向配置されている。
The tape discharge section 25 of the lower case 14
(The lower left side in FIGS. 1 and 2), the tape pressing roller 26
Is rotatably supported, and a tape feed roller 27 rotatably supported by the roller holder 23 is opposed to the tape press roller 26 at a position where the tape feed roller 27 can be pressed.

【0021】カセット収納部8において、テープカセッ
ト13の前方(図1、図2中下側)には、ローラホルダ
23が支持軸28により回動可能に枢支され、このロー
ラホルダ23は図示しない手動の切換機構により印字位
置とリリース位置とに切換可能とされている(図1、図
2は共に印字位置に切り換えられた状態を示す)。かか
るローラホルダ23には、前記したプラテンローラ24
及びテープ送りローラ27がそれぞれ回転可能に、且
つ、ローラホルダ23が印字位置に切り換えられたとき
にサーマルヘッド11及び圧接ローラ26に対し圧接さ
れるように配設されている。尚、テープ送りローラ27
は前記したテープ送りローラ軸10により回転駆動さ
れ、同時に、圧接ローラ26は図示しないギヤ機構でテ
ープ送りローラ27と連動して回転駆動される。
In the cassette storage section 8, a roller holder 23 is pivotally supported by a support shaft 28 in front of the tape cassette 13 (the lower side in FIGS. 1 and 2), and the roller holder 23 is not shown. The print position and the release position can be switched by a manual switching mechanism (FIGS. 1 and 2 both show a state where the print position is switched to the print position). The roller holder 23 includes the platen roller 24 described above.
The tape feed roller 27 is rotatable, and is pressed against the thermal head 11 and the pressure roller 26 when the roller holder 23 is switched to the printing position. The tape feed roller 27
Is driven to rotate by the tape feed roller shaft 10 described above, and at the same time, the pressure contact roller 26 is driven to rotate in conjunction with the tape feed roller 27 by a gear mechanism (not shown).

【0022】また、圧接ローラ26及びテープ送りロー
ラ27は、これらが協働してサーマルヘッド11により
サーマルインクリボン17を介して文字等が印字された
フィルムテープ15に対し両面粘着テープ19の粘着剤
面を圧着し、最終的にテープTを作成するとともに矢印
J方向にテープTを送り出すものである。尚、作成され
たテープTはテープカセット13の左方側に配設された
カッタ(図示せず)により切断される。かかるカッタの
構成については公知のものであるので、ここでは説明を
省略する。
The pressing roller 26 and the tape feed roller 27 cooperate with each other to form an adhesive of the double-sided adhesive tape 19 on the film tape 15 on which characters and the like are printed by the thermal head 11 via the thermal ink ribbon 17. The surface is pressure-bonded, and finally the tape T is created and the tape T is sent out in the direction of arrow J. The created tape T is cut by a cutter (not shown) provided on the left side of the tape cassette 13. Since the configuration of such a cutter is known, its description is omitted here.

【0023】次に、このように構成されるテープ印字装
置1の制御系について図3を参照して説明する。図3は
テープ印字装置1の制御ブロック図を示し、制御装置3
0を核として構成されている。制御装置30はCPU3
1、ROM32、CGROM33、及び、RAM34か
らなり、これらはバス35を介して相互に接続されてい
るとともに、入出力インターフェイス36にも接続され
ている。
Next, a control system of the tape printer 1 configured as described above will be described with reference to FIG. FIG. 3 shows a control block diagram of the tape printing apparatus 1, and the control apparatus 3
It is configured with 0 as the core. The control device 30 is a CPU 3
1, a ROM 32, a CGROM 33, and a RAM 34, which are connected to each other via a bus 35 and also to an input / output interface 36.

【0024】ここに、ROM32は各種のプログラムを
記憶させておくものであり、後述するテキスト編集等を
行なう基本制御プログラム、文字サイズセットプログラ
ム、テープ長セットプログラム、印字制御プログラム、
文字等のサイズを自動的に計算する文字サイズ自動計算
プログラム、テープ長セットキー5によりテープ長がセ
ットされた場合にそのセットされたテープ長に基づいて
文字サイズを計算するテープ長文字サイズ計算プログラ
ム、文字サイズ自動計算プログラム及びテープ長文字サ
イズ計算プログラムにより計算された文字サイズが、テ
ープ幅検出器Kにより検出されたテープ幅、及び、テー
プ長セットキーによりセットされたテープ長の範囲内に
入るかどうかをチェックする縦横チェックプログラム、
その他テープ印字装置1の制御上必要な各種のプログラ
ムが記憶されている。そして、CPU31はかかるRO
M32に記憶されている各種のプログラムに基づいて各
種の演算を行なうものである。
The ROM 32 stores various programs, and includes a basic control program for performing text editing and the like, a character size setting program, a tape length setting program, a print control program, and the like.
A character size automatic calculation program for automatically calculating the size of characters and the like, and a tape length character size calculation program for calculating the character size based on the set tape length when the tape length is set by the tape length set key 5 The character size calculated by the character size automatic calculation program and the tape length character size calculation program falls within the range of the tape width detected by the tape width detector K and the tape length set by the tape length set key. Vertical and horizontal check program to check whether
In addition, various programs necessary for controlling the tape printer 1 are stored. Then, the CPU 31 determines the RO
Various calculations are performed based on various programs stored in M32.

【0025】また、ROM32には、図4(A)に示す
ようにテープ印字装置1に使用される各テープ(フィル
ムテープ15等)の5種類の各テープ幅(テープ検出器
Kにより検出される)と各テープ幅に対応して予め決定
されたドット数TH(テープ幅方向の印字に適したドッ
ト数)とを対応させてなるテーブルが記憶されている。
このテーブルにおいて、6mmテープには28ドット、
9mmテープには49ドット、12mmテープには57
ドット、18mmテープには85ドット、24mmテー
プには128ドットがそれぞれ対応している。
In the ROM 32, as shown in FIG. 4A, five types of tape widths (detected by the tape detector K) of each tape (such as the film tape 15) used in the tape printer 1 are stored. ) Is stored in correspondence with the number of dots TH (the number of dots suitable for printing in the tape width direction) predetermined for each tape width.
In this table, 28 dots for 6 mm tape,
49 dots for 9mm tape, 57 dots for 12mm tape
The dots correspond to 85 dots for the 18 mm tape and 128 dots for the 24 mm tape.

【0026】更に、ROM32には、図4(B)に示す
ように各テープ幅と印字可能な最大文字サイズ(ビッグ
サイズ)のポイント数とを対応させたテーブルが記憶さ
れている。このテーブルにおいて、6mmテープにはB
1ポイント、9mmテープにはB2ポイント、12mm
テープにはB3ポイント、18mmテープにはB4ポイ
ント、24mmテープにはB5ポイントの文字サイズが
対応している。
Further, the ROM 32 stores a table associating each tape width with the number of points of the maximum printable character size (big size) as shown in FIG. 4B. In this table, 6mm tape has B
1 point, B2 point for 9mm tape, 12mm
The B3 point corresponds to the tape, the B4 point corresponds to the 18 mm tape, and the B5 point corresponds to the 24 mm tape.

【0027】また、ROM32には、後述のテープ長文
字サイズ計算プログラムにおいて使用され、セットされ
たテープ長方向のドット数TWと全ブロックの移動量の
累積値RXとからテープ長に基づく文字サイズYpを計
算するための次の計算式が記憶されている。
The ROM 32 stores a character size Yp based on the tape length based on the set number of dots TW in the tape length direction and the accumulated value RX of the movement amount of all blocks, which is used in a tape length character size calculation program described later. The following calculation formula for calculating is stored.

【数1】 更に、CGROM33にはキーボード6から入力される
各キャラクタに対応するドットパターンデータが記憶さ
れており、ドットパターンデータがCGROM33から
読み出されて展開された後、後述するイメージバッファ
42に転送されるものである。更に、RAM34はCP
U31により演算された各種の演算結果を一時的に記憶
させておくためのものであり、かかるRAM34には図
5に示すように各種のメモリが設けられている。
(Equation 1) Further, the CGROM 33 stores dot pattern data corresponding to each character input from the keyboard 6. The dot pattern data is read out from the CGROM 33 and expanded, and then transferred to an image buffer 42 described later. It is. Further, the RAM 34 has a CP
This is for temporarily storing various calculation results calculated by U31, and the RAM 34 is provided with various memories as shown in FIG.

【0028】図5において、テキストメモリ41は、キ
ーボード6から入力されたキャラクタに対応するコード
データを文書データ(テキスト)として記憶するもので
ある。また、イメージバッファ42は、テキストメモリ
41に記憶されているテキストの文書データに対応して
CGROM33から読み出されたドットパターンデータ
が展開されて記憶されるものである。更に、印字バッフ
ァ43は印字時にイメージバッファ42に記憶されたド
ットデータが転送され記憶されるものであり、サーマル
ヘッド11はかかる印字バッファ43に記憶されている
ドットデータに従ってドット印字を行なうものである。
In FIG. 5, a text memory 41 stores code data corresponding to a character input from the keyboard 6 as document data (text). The image buffer 42 expands and stores dot pattern data read from the CGROM 33 corresponding to text document data stored in the text memory 41. Further, the print buffer 43 transfers and stores dot data stored in the image buffer 42 at the time of printing, and the thermal head 11 performs dot printing in accordance with the dot data stored in the print buffer 43. .

【0029】全ブロック数メモリNはテキスト中におけ
る全ブロック数を記憶するメモリ、ブロック行数メモリ
mnは各ブロックおける行数をブロック毎に記憶するメ
モリ、リメイクフラグRMKは演算のやり直しがなされ
たかどうかを「1」又は「0」で記憶するメモリ、テー
プ幅ドット数メモリTHは検出された各テープ幅に対応
して前記ROM32中のテーブル(図4(A)参照)か
ら読み出されたテープ幅に対応するドット数THを記憶
するメモリ、テープ長ドット数メモリTWはテープ長に
基づいて演算により求められたテープ長方向のドット数
TWを記憶するメモリ、幅オーバーフラグF1は各ブロ
ック毎における文字の縦方向のドット数累積値が前記テ
ープ幅ドット数メモリTHに記憶されたドット数THを
越えているかどうかを「1」又は「0」で記憶するメモ
リ、幅オーバーフラグF2は文字の幅方向における全ブ
ロックのドット数累積値が前記テープ長ドット数メモリ
TWに記憶されたドット数TWを越えているかどうかを
「1」又は「0」で記憶するメモリ、ブロックカウンタ
nはテキストにおけるブロック数をカウントするメモ
リ、行カウンタmは各ブロックにおける行数をカウント
するメモリ、ブロックポイント数メモリTpnは各ブロ
ック毎に演算された文字サイズポイント数を記憶するメ
モリ、テープ長ポイント数メモリYpはセットされたテ
ープ長に基づいて演算された文字サイズポイント数を記
憶するメモリ、全ブロック移動量累積値メモリRXは全
ブロックの文字幅方向の移動量(250x250の座標
系における文字幅(横)方向の文字ピッチを意味する)
を累積した値を記憶するメモリ、1ブロック移動量累積
値メモリRBは各ブロック毎に文字幅(横)方向の移動
量を累積した値を記憶するメモリ、1行移動量累積値メ
モリRGは各ブロックにおいて文字幅(横)方向に1行
分の移動量を累積した値を記憶するメモリ、全ブロック
ドット数累積値メモリRWは全ブロックの文字幅(横)
方向のドット数の累積値を記憶するメモリ、1ブロック
ドット数累積値メモリBWは各ブロック毎に文字幅
(横)方向のドット数を累積した値を記憶するメモリ、
1行ドット数累積値メモリGWは各ブロックにおいて文
字幅(横)方向に1行分のドット数を累積した値を記憶
するメモリ、1ブロックドット数累積値メモリBHは各
ブロック毎に文字の高さ(縦)方向のドット数を累積し
た値を記憶するメモリ、1行ドット数累積値メモリGH
は各ブロックにおいて文字の高さ(縦)方向に1行分の
ドット数を累積した値を記憶するメモリである。
The total block number memory N is a memory for storing the total number of blocks in the text, the block line number memory mn is a memory for storing the number of lines in each block for each block, and the remake flag RMK indicates whether or not the operation has been performed again. Is stored as "1" or "0", and the tape width dot number memory TH is a tape width read from a table (see FIG. 4A) in the ROM 32 corresponding to each detected tape width. , A memory for storing the number of dots TW in the tape length direction obtained by calculation based on the tape length, and a width over flag F1 for storing characters in each block. Is greater than the dot number TH stored in the tape width dot number memory TH. Is stored as "1" or "0", and the width over flag F2 indicates whether the cumulative number of dots in all blocks in the character width direction exceeds the number of dots TW stored in the tape long dot number memory TW. Is stored as "1" or "0", a block counter n is a memory for counting the number of blocks in the text, a line counter m is a memory for counting the number of lines in each block, and a block point number memory Tpn is for each block. The memory for storing the calculated character size point number, the tape length point number memory Yp is the memory for storing the character size point number calculated based on the set tape length, and the total block movement amount accumulated value memory RX is all the blocks. In the character width direction (the character pitch in the character width (horizontal) direction in a 250 × 250 coordinate system). Means h)
Is stored in a memory for storing a value obtained by accumulating the movement amount in the character width (horizontal) direction for each block, and a one-line movement amount accumulation value memory RG is provided for each block. A memory for storing a value obtained by accumulating the movement amount of one line in the character width (horizontal) direction in a block, and a cumulative dot number memory RW for all blocks have character width (horizontal) of all blocks
A memory for storing the cumulative value of the number of dots in the horizontal direction, a memory for storing the cumulative number of dots in one block, and a memory for storing the cumulative number of dots in the character width (horizontal) direction for each block;
The one-line dot number accumulation value memory GW stores a value obtained by accumulating the number of dots of one line in the character width (horizontal) direction in each block, and the one-dot dot number accumulation value memory BH stores the character height for each block. A memory for storing a value obtained by accumulating the number of dots in the vertical direction, and a one-dot dot number accumulated value memory GH
Is a memory for storing a value obtained by accumulating the number of dots for one line in the character height (vertical) direction in each block.

【0030】また、テープ幅メモリ44は、テープカセ
ット13をカセット収納部8に収納した際に、テープ幅
検出器Kにより検出されたテープ幅データ(6mm、9
mm、12mm、18mm、24mmのいずれかのテー
プ幅)を記憶するものである。また、文字サイズメモリ
45には、後述するようにセットされる文字サイズデー
タ(「ES」、「SS」、「S」、「M」、「L」、
「LL」、「XL」、「自動」のずれかの文字サイズ)
が記憶されるものである。さらに、テープ長メモリ46
は、後述するテープ長セット処理にて設定されるテープ
長にかかるテープ長データを記憶するものである。
The tape width memory 44 stores the tape width data (6 mm, 9 mm) detected by the tape width detector K when the tape cassette 13 is stored in the cassette storage section 8.
mm, 12 mm, 18 mm, or 24 mm tape width). In the character size memory 45, character size data (“ES”, “SS”, “S”, “M”, “L”,
(Letter size of "LL", "XL", "Auto")
Is stored. Further, the tape length memory 46
Is for storing tape length data relating to a tape length set in a tape length setting process described later.

【0031】ここで、図3に戻って制御ブロック図の説
明を続けると、キーボード6が入出力インターフェイス
36を介して、また、液晶ディスプレイ7、ディスプレ
イコントローラ37が入出力インターフェイス36を介
してそれぞれ制御装置30に接続されており、キーボー
ド6の文字入力キー2を介して文字等が入力された場
合、その文書データがテキストメモリ41に順次記憶さ
れていくとともに、ドットパターン発生制御プログラム
及び表示制御プログラムに基づいてキーボード6を介し
て入力された文字等に対応するドットパターンが液晶デ
ィスプレイ7上に表示される。また、テープ幅検出器K
からの検出信号は、入出力インターフェイス36を介し
てCPU31に入力され、前記テープ幅メモリ44に記
憶される。
Returning to FIG. 3, the description of the control block diagram will be continued. The keyboard 6 is controlled via the input / output interface 36, and the liquid crystal display 7 and the display controller 37 are controlled via the input / output interface 36, respectively. When a character or the like is input through the character input keys 2 of the keyboard 6 and is connected to the apparatus 30, the document data is sequentially stored in the text memory 41, and a dot pattern generation control program and a display control program , A dot pattern corresponding to a character or the like input via the keyboard 6 is displayed on the liquid crystal display 7. The tape width detector K
Is input to the CPU 31 via the input / output interface 36, and is stored in the tape width memory 44.

【0032】また、サーマルヘッド11は駆動回路38
を介して駆動され、前記イメージバッファ42から印字
バッファ43に転送されたドットデータの印字を行い、
これと同期してテープ送りモータ40は駆動回路39を
介してテープTの送り制御を行なうものである。
The thermal head 11 has a drive circuit 38.
And prints the dot data transferred from the image buffer 42 to the print buffer 43,
In synchronization with this, the tape feed motor 40 controls the feed of the tape T via the drive circuit 39.

【0033】次に、前記のように構成されたテープ印字
装置1の動作について図6乃至図14に基づき説明す
る。先ず、テキストの編集等を行なう基本動作について
図6を参照して説明する。図6は基本制御プログラムの
フローチャートであり、先ずステップ(以下、Sと略記
する)1においてRAM34の各種メモリのクリア等の
初期化が行なわれた後、キーボード6におけるいずれか
のキーからキー入力があったかどうか判断される(S
2)。キー入力がない場合(S2:NO)にはキー入力
があるまで待機し、キー入力があった場合(S2:YE
S)には印字キー3からのキー入力であるかどうか判断
される(S3)。
Next, the operation of the tape printer 1 configured as described above will be described with reference to FIGS. First, a basic operation of editing a text will be described with reference to FIG. FIG. 6 is a flowchart of the basic control program. First, in step (hereinafter abbreviated as S) 1, initialization such as clearing various memories of the RAM 34 is performed, and then key input from any key on the keyboard 6 is performed. It is determined whether there was (S
2). If there is no key input (S2: NO), the process waits until there is a key input, and if there is a key input (S2: YE).
In S), it is determined whether the input is the key input from the print key 3 (S3).

【0034】印字キー3からのキー入力があった場合
(S3:YES)、後述する印字処理が行なわれた(S
4)後S2に戻る。印字キー3からのキー入力でない場
合(S3:NO)には文字サイズセットキー4からのキ
ー入力であるかどうか判断され(S5)、文字サイズセ
ットキー4からのキー入力である場合(S5:YES)
には後述する文字サイズセット処理が行なわれた(S
6)後S2に戻る。
When there is a key input from the print key 3 (S3: YES), a printing process described later is performed (S3).
4) Return to S2. If it is not a key input from the print key 3 (S3: NO), it is determined whether it is a key input from the character size set key 4 (S5), and if it is a key input from the character size set key 4 (S5: YES)
, A character size setting process described later is performed (S
6) Return to S2.

【0035】文字サイズキー4からのキー入力でない場
合(S5:NO)、テープ長セットキー5からのキー入
力であるかどうか判断され(S7)、テープ長セットキ
ー5からのキー入力である場合(S7:YES)には後
述するテープ長セット処理が行なわれた(S8)後S2
に戻る。テープ長セットキー5からのキー入力でない場
合(S7:NO)には、前記以外のテキスト編集キー、
例えば、文字入力キー2からのキー入力があったかどう
か判断される(S9)。テキスト編集キーからのキー入
力があった場合(S9:YES)にはテキストの編集処
理が行なわれた(S10)後S2に戻る。一方、テキス
ト編集キー以外のキーからキー入力があった場合(S
9:NO)には、その押下されたキーに対応する処理が
行なわれた(S11)後S2に戻る。
If the input is not from the character size key 4 (S5: NO), it is determined whether the input is from the tape length set key 5 (S7). If the input is from the tape length set key 5, In (S7: YES), a tape length setting process described later is performed (S8), and then in S2.
Return to If it is not a key input from the tape length set key 5 (S7: NO), a text editing key other than the above
For example, it is determined whether there is a key input from the character input key 2 (S9). If there is a key input from the text edit key (S9: YES), the text is edited (S10), and the process returns to S2. On the other hand, when there is a key input from a key other than the text edit key (S
9: NO), the process corresponding to the pressed key is performed (S11), and the process returns to S2.

【0036】続いて、前記S6において行なわれる文字
サイズセット処理について図7及び図8を参照して説明
する。図7は文字サイズセットプログラムのフローチャ
ート、図8は液晶ディスプレイ7に表示された文字サイ
ズセット画面を示す。図7において、先ず、文字サイズ
セットキー4が押下されると、液晶ディスプレイ7上に
図8に示す文字サイズセット画面が表示される(S2
0)。文字サイズの種類としては、図8に示すように
「ES」、「SS」、「S」、「M」、「L」、「L
L」、「XL」、「自動」の8種類の候補が表示され、
各文字サイズは数字キーNの内「1」のキー乃至「8」
のキーを介して選択される。ここに、「ES」から「X
L」にいくに従って、文字サイズが順に大きく設定され
ており、また、「自動」は、後述するように、テープ幅
検出器Kにより検出されたテープ幅、及び、テープ長セ
ットキー5を介してセットされたテープ長に基づいて文
字サイズが自動的に設定されるモードを示すものであ
る。
Next, the character size setting process performed in S6 will be described with reference to FIGS. FIG. 7 is a flowchart of the character size setting program, and FIG. 8 shows a character size setting screen displayed on the liquid crystal display 7. In FIG. 7, when the character size set key 4 is first depressed, a character size set screen shown in FIG. 8 is displayed on the liquid crystal display 7 (S2).
0). As shown in FIG. 8, the types of the character sizes are "ES", "SS", "S", "M", "L", "L".
L, “XL”, and “Auto” are displayed.
Each character size is from "1" to "8" of the numeric keys N
Is selected via the key. Here, from "ES" to "X
L, the character size is set to increase in order, and “automatic” is set via the tape width detected by the tape width detector K and the tape length set key 5 as described later. This shows a mode in which the character size is automatically set based on the set tape length.

【0037】次に、キーボード6上のいずれかのキーか
らキー入力があったかどうか判断される(S21)。キ
ー入力がない場合(S21:NO)にはキー入力がある
まで待機する一方、キー入力があった場合(S21:Y
ES)には、そのキー入力が数字キーN(「1」乃至
「8」のキー)からのキー入力であるかどうか判断され
る(S22)。
Next, it is determined whether a key input has been made from any key on the keyboard 6 (S21). If there is no key input (S21: NO), the process waits until there is a key input, while if there is a key input (S21: Y)
ES), it is determined whether or not the key input is a key input from the numeric keys N (keys “1” to “8”) (S22).

【0038】数字キーNからのキー入力でない場合(S
22:NO)には、再度S21に戻ってキー入力を待
ち、数字キーNからのキー入力である場合(S22:Y
ES)には、その押下された数字キーNに従って文字サ
イズがセットされるとともに、そのセットされた文字サ
イズデータがRAM34の文字サイズメモリ45に記憶
される。これにて、文字サイズセット処理はリターンさ
れ、前記S2に戻る。
If the input is not a key input from the numeric key N (S
22: NO), the flow returns to S21 again to wait for a key input, and when the key input is from the numeric key N (S22: Y)
ES), the character size is set according to the pressed numeric key N, and the set character size data is stored in the character size memory 45 of the RAM 34. Thus, the character size setting process is returned, and returns to S2.

【0039】続いて、前記S8で行なわれるテープ長セ
ット処理について図9及び図10を参照して説明する。
図9はテープ長セットプログラムのフローチャート、図
10は液晶ディスプレイ7に表示されるテープ長セット
画面を示す。図9において、先ず、テープ長セットキー
5が押下されると、液晶ディスプレイ7上に図10に示
すようなテープ長セット画面が表示される(S30)。
テープ長は5cmから27cmの範囲内で0.1cm毎
にセット可能とされており、また、下限値5cmの次、
上限値27cmの次には「自動」が表示される(図10
には、一例として15cmが表示されている)。ここ
に、「自動」はテープ長がセットされておらず文字等の
テキスト長に従って自動的にテープ長が決定されるモー
ドを示す。
Next, the tape length setting process performed in S8 will be described with reference to FIGS.
FIG. 9 is a flowchart of the tape length setting program, and FIG. 10 shows a tape length setting screen displayed on the liquid crystal display 7. In FIG. 9, when the tape length set key 5 is first pressed, a tape length set screen as shown in FIG. 10 is displayed on the liquid crystal display 7 (S30).
The tape length can be set in increments of 0.1 cm within the range of 5 cm to 27 cm.
"Auto" is displayed after the upper limit of 27 cm (see FIG. 10).
, 15 cm is displayed as an example). Here, “automatic” indicates a mode in which the tape length is not set and the tape length is automatically determined according to the text length of characters and the like.

【0040】次に、キーボード6上のいずれかのキーか
らキー入力があったかどうか判断される(S31)。キ
ー入力がない場合(S31:NO)にはキー入力がある
まで待機する一方、キー入力があった場合(S31:Y
ES)にはカーソルキーCの内上カーソルキー「↑」か
らのキー入力があったかどうか判断される(S32)。
上カーソルキー「↑」からのキー入力があった場合(S
32:YES)には、液晶ディスプレイ7に表示されて
いるテープ長を0.1cmだけ減少させた(S33)
後、S31に戻る。
Next, it is determined whether a key input has been made from any key on the keyboard 6 (S31). If there is no key input (S31: NO), the process waits until there is a key input, while if there is a key input (S31: Y)
ES), it is determined whether or not there is a key input from the upper cursor key "@" of the cursor keys C (S32).
When there is a key input from the up cursor key “↑” (S
32: YES), the tape length displayed on the liquid crystal display 7 is reduced by 0.1 cm (S33).
Then, the process returns to S31.

【0041】一方、上カーソルキー「↑」からのキー入
力でない場合(S32:NO)、下カーソルキー「↓」
からのキー入力であるかどうか判断され(S34)、下
カーソルキー「↓」からのキー入力である場合(S3
4:YES)には液晶ディスプレイ7に表示されている
テープ長を0.1cmだけ増加させた(S35)後、S
31に戻る。また、下カーソルキー「↓」からのキー入
力でない場合(S34:NO)、リターンキーRからの
キー入力であるかどうか判断される(S36)。リター
ンキーRからのキー入力でない場合(S36:NO)、
再度のキー入力を待つべくS31に戻り、リターンキー
Rからのキー入力である場合(S36:YES)には液
晶ディスプレイ7に表示されているテープ長(5cm乃
至27cmの範囲でセットされるテープ長、又は、「自
動」)をセットすべきテープ長として確定、セットする
とともに、そのセットされたテープ長にかかるテープ長
データがテープ長メモリ46に記憶される(S37)。
これにて、テープ長セット処理はリターンされ、前記S
2に移行する。
On the other hand, when the input is not from the up cursor key "↑" (S32: NO), the down cursor key "↓"
It is determined whether the input is a key input from the down cursor key "↓" (S34).
4: YES), the tape length displayed on the liquid crystal display 7 is increased by 0.1 cm (S35), and then S
Return to 31. If it is not a key input from the down cursor key "↓" (S34: NO), it is determined whether the input is a key input from the return key R (S36). If it is not a key input from the return key R (S36: NO),
The process returns to S31 to wait for the key input again, and if the key input is from the return key R (S36: YES), the tape length displayed on the liquid crystal display 7 (the tape length set in the range of 5 cm to 27 cm). Or "automatic") is determined and set as the tape length to be set, and the tape length data relating to the set tape length is stored in the tape length memory 46 (S37).
Then, the tape length setting process is returned, and the S
Move to 2.

【0042】次に、前記S4にて行なわれる印字処理に
ついて図11乃至図14に基づき説明する。図11は印
字制御プログラムのフローチャートを示し、先ず、S4
0においてテキストメモリ41に記憶されているテキス
ト中にブロック指定キーBを介して挿入されている改ブ
ロックマークを検出してテキスト中における全ブロック
数を求め、その求めた全ブロック数を全ブロック数メモ
リNに記憶する。また、各ブロックにおける行数を求
め、その求めた各ブロック毎の行数をブロック行数メモ
リmnに記憶する。
Next, the printing process performed in S4 will be described with reference to FIGS. FIG. 11 shows a flowchart of the print control program.
At 0, a new block mark inserted through the block designation key B in the text stored in the text memory 41 is detected, and the total number of blocks in the text is obtained. It is stored in the memory N. Further, the number of rows in each block is obtained, and the obtained number of rows for each block is stored in the block row number memory mn.

【0043】この後、リメイクフラグRMKを「0」に
セットする(S41)。更に、テープ幅検出器Kを介し
てカセット収納部8に収納されているテープカセット1
3に内蔵された各テープのテープ幅を検出するととも
に、その検出されたテープ幅に対応するドット数をRO
M32に記憶されているテーブル(図4参照)を参照し
て求め、求めたドット数THをテープ幅ドット数メモリ
THに記憶する(S42)。
Thereafter, the remake flag RMK is set to "0" (S41). Further, the tape cassette 1 stored in the cassette storage unit 8 via the tape width detector K
3 and the number of dots corresponding to the detected tape width is determined by RO.
With reference to the table (see FIG. 4) stored in M32, the obtained dot number TH is stored in the tape width dot number memory TH (S42).

【0044】続くS43では、テープ長が「自動」にセ
ットされているかどうか判断される。テープ長が「自
動」にセットされていない場合(S43:NO)、テー
プ長メモリ46に記憶されているテープ長データに基づ
いてテープ長方向のドット数を求めてテープ長ドット数
メモリTWに記憶した(S44)後、S45に移行す
る。一方、テープ長が「自動」にセットされている場合
(S43:YES)には、直ちにS45に移行する。
In the following S43, it is determined whether or not the tape length is set to "auto". If the tape length is not set to "auto" (S43: NO), the number of dots in the tape length direction is obtained based on the tape length data stored in the tape length memory 46 and stored in the tape length dot number memory TW. after the (S 44), the process proceeds to S45. On the other hand, when the tape length is set to “automatic” (S43: YES), the process immediately proceeds to S45.

【0045】S45では、文字サイズが「自動」にセッ
トされているかどうか判断される。文字サイズが「自
動」にセットされている場合(S45:YES)、文字
サイズを決定する必要があるのでS46において後述す
る文字サイズの自動計算が行なわれた後、S47に移行
する。一方、文字サイズが「自動」にセットされていな
い場合(S45:NO)には、既に文字サイズがセット
されていることから直ちにS47に移行する。
In S45, it is determined whether the character size is set to "auto". If the character size is set to "auto" (S45: YES), it is necessary to determine the character size. After performing the automatic calculation of the character size described later in S46, the process proceeds to S47. On the other hand, if the character size is not set to "auto" (S45: NO), the process immediately proceeds to S47 because the character size has already been set.

【0046】ここで、S46において行なわれる文字サ
イズを自動的に計算して決定する手順について図12及
び図13を参照しつつ説明する。図12は文字サイズ自
動計算プログラムであり、図13はテープ長文字サイズ
計算プログラムである。先ず図12において、S60で
ブロックカウンタnに1をセットし、第1番目のブロッ
ク(nブロック)の処理を開始する。S61では、その
ブロックの行数が1行かどうか判断され、ブロックの行
数が1行である場合(S61:YES)にはリメイクフ
ラグRMKが「1」にセットされているかどうか判断さ
れる(S62)。リメイクフラグRMKが「1」にセッ
トされている場合(S62:YES)、既に1回のやり
直しが行なわれていることになるのでS65に移行する
が、一方、リメイクフラグRMKに「0」がセットされ
ている場合(S62:NO)には、その1行のテキスト
中の全ての文字がビッグサイズの対象となる文字かどう
か判断される(S63)。ここに、ビッグサイズの対象
となる文字とは、例えば、英大文字「ABC」や数字
「123」のように各文字のベースラインから下方には
み出す部分のない文字をいう。例えば、英小文字「g
j」のように文字のベースラインから下方にはみ出す文
字についてはビッグサイズの対象とならない。尚、かか
るビッグサイズ文字の印字を行なうテープ印字装置につ
いては、特願平4−19495号の願書に添付した明細
書、図面に詳細に記載されているので、ここでは説明を
省略する。
Here, the procedure for automatically calculating and determining the character size performed in S46 will be described with reference to FIGS. FIG. 12 shows a character size automatic calculation program, and FIG. 13 shows a tape length character size calculation program. First, in FIG. 12, 1 is set to the block counter n in S60, and the processing of the first block (n block) is started. In S61, it is determined whether the number of lines in the block is one. If the number of lines in the block is one (S61: YES), it is determined whether the remake flag RMK is set to "1" (S62). ). If the remake flag RMK is set to "1" (S62: YES), it means that one retry has already been performed, so the flow shifts to S65. On the other hand, "0" is set to the remake flag RMK. If it has been performed (S62: NO), it is determined whether all the characters in the text of the one line are the characters to be subjected to the big size (S63). Here, the target character of the big size refers to a character such as an uppercase letter “ABC” or a number “123”, which has no portion protruding downward from the baseline of each character. For example, the lowercase letter “g”
Characters that protrude downward from the character baseline, such as “j”, are not subject to big size. The tape printer that prints such big-size characters is described in detail in the specification and drawings attached to the application for Japanese Patent Application No. 4-19495, and the description is omitted here.

【0047】全ての文字がビッグサイズの対象となる文
字でない場合(S63:NO)にはS65に移行する一
方、全ての文字がビッグサイズの対象となる文字である
場合(S63:YES)には前記ROM32に記憶され
ているテーブル(図4(B)参照)を参照して、検出さ
れたテープ幅に対して印字可能な文字サイズのポイント
数を読み出し、これをブロックポイント数メモリTpn
に記憶した(S64)後S67に移行する。
If all the characters are not the characters to be subjected to the big size (S63: NO), the process proceeds to S65, while if all the characters are the characters to be subjected to the big size (S63: YES), With reference to the table (see FIG. 4B) stored in the ROM 32, the number of printable character size points for the detected tape width is read out and stored in the block point number memory Tpn.
After that, the process proceeds to S67.

【0048】これに対して、ブロックにおける行数が1
行でない場合(S61:NO)、S65において前記S
42でテープ幅ドット数メモリTHに記憶したドット数
THを行数で割り算し、1行当りのドット数(テープ幅
方向のドット数)を求める。この後、その求めたドット
数を所定の定数(K1)で割り算して文字サイズのポイ
ント数を求め、これをブロックポイント数メモリTpn
に記憶する(S66)。
On the other hand, if the number of rows in the block is 1
If it is not a row (S61: NO), the process goes to S65.
In step 42, the number of dots TH stored in the tape width dot number memory TH is divided by the number of lines to obtain the number of dots per line (the number of dots in the tape width direction). Thereafter, the obtained number of dots is divided by a predetermined constant (K1) to obtain the number of points of the character size, which is stored in the block point number memory Tpn.
(S66).

【0049】続くS67では、ブロックカウンタnの値
が全ブロック数メモリNの値と同一になったかどうか判
断される。同一でない場合(S67:NO)、ブロック
カウンタnを1だけ加算した(S68)後、再度新たな
ブロックについて同様の処理を行なうべくS61に戻
る。一方、全ブロック数メモリNに記憶されている全て
のブロックについて前記S61乃至S66の処理が終了
した場合(S67:YES)、S69に移行しセットさ
れたテープ長に基づいて文字サイズを決定する処理を行
なう。
In the following S67, it is determined whether or not the value of the block counter n has become equal to the value of the total block number memory N. If they are not the same (S67: NO), the block counter n is incremented by 1 (S68), and the process returns to S61 to perform the same processing again for a new block. On the other hand, when the processing of S61 to S66 is completed for all the blocks stored in the total block number memory N (S67: YES), the flow proceeds to S69 to determine the character size based on the set tape length. Perform

【0050】尚、前記S61乃至68の処理を各ブロッ
クについて繰り返して行なうことにより、テープ幅に基
づいて文字の縦方向を基準とする文字サイズポイントが
各ブロック毎に決定されることとなる。S69ではテー
プ長が「自動」にセットされているかどうか判断され
る。テープ長が「自動」にセットされている場合(S6
9:YES)にはテープ長に基づいて文字サイズを自動
計算する必要がないので、文字サイズ自動計算処理を終
了して図11のフローチャートにおけるS47に移行す
る。一方、テープ長が「自動」にセットされていない場
合(S69:NO)、リメイクフラグRMKが「0」に
セットされているかどうか判断される(S70)。リメ
イクフラグRMKが「0」にセットされている場合(S
70:YES)には、文字サイズ自動計算処理を終了し
てS47に移行する。また、リメイクフラグRMKが
「0」にセットされていない場合(S70:NO)に
は、S71にて後述するセットされたテープ長に基づい
て文字サイズYpを自動計算するテープ長文字サイズ計
算が行なわれる。
By repeating the processing of S61 to S68 for each block, the character size point based on the vertical direction of the character is determined for each block based on the tape width. In S69, it is determined whether the tape length is set to "auto". When the tape length is set to "auto" (S6
9: YES), there is no need to automatically calculate the character size based on the tape length, so the character size automatic calculation process ends, and the flow shifts to S47 in the flowchart of FIG. On the other hand, if the tape length is not set to "auto" (S69: NO), it is determined whether the remake flag RMK is set to "0" (S70). When the remake flag RMK is set to “0” (S
70: YES), the character size automatic calculation process ends, and the routine goes to S47. If the remake flag RMK is not set to "0" (S70: NO), tape length character size calculation for automatically calculating the character size Yp based on the set tape length described later is performed in S71. It is.

【0051】次に、ブロックカウンタnを「1」にセッ
トし直した後(S72)、前記S61乃至S68にて計
算されブロックポイント数メモリTpnに記憶されてい
る文字サイズポイント数が、S71にて計算されテープ
長ポイント数メモリYpに記憶されている文字サイズポ
イント数よりも大きいかどうか判断される(S73)。
S73における判断がYESの場合、テープ長ポイント
数メモリYpの内容をブロックポイント数メモリTpn
にセットした(S74)後S75に移行し、一方、S7
3における判断がNOの場合、直ちにS75に移行す
る。これにより、テープ幅に基づいて各ブロック毎に計
算された文字サイズポイント数とテープ長に基づいて計
算された文字サイズポイント数とを比較して、小さい方
の文字ポイント数が優先されることが理解される。
Next, after the block counter n is reset to "1" (S72), the character size points calculated in S61 to S68 and stored in the block point number memory Tpn are updated in S71. It is determined whether or not the number is larger than the calculated character size point number stored in the tape length point number memory Yp (S73).
If the determination in S73 is YES, the contents of the tape length point number memory Yp are stored in the block point number memory Tpn.
(S74), and then goes to S75.
If the determination at 3 is NO, the process immediately proceeds to S75. As a result, the number of character size points calculated for each block based on the tape width is compared with the number of character size points calculated based on the tape length, and the smaller number of character points is prioritized. Understood.

【0052】S75ではブロックカウンタnの値が全ブ
ロック数メモリNの値と同一となったかどうか判断され
る。ブロックカウンタnの値が全ブロック数メモリNの
値よりも小さい場合、即ち、全ブロックについての処理
が終了していない場合(S75:NO)には、ブロック
カウンタnの値を1だけ加算した(S76)後、次のブ
ロックについて処理を行なうためS73に戻る。全ブロ
ック数メモリNに記憶されているそれぞれのブロックに
ついての処理が終了した場合(S75:YES)には、
文字サイズの自動計算処理を終了してS47に移行す
る。これにより、テキストにおける全ブロックについて
前記S73乃至S75の処理を終了した時点において、
テープ幅に基づいて各ブロック毎に計算された文字サイ
ズポイント数とテープ長に基づいて計算された文字サイ
ズポイント数の内、小さい方の文字サイズポイント数が
各ブロック毎にブロックポイント数メモリTpnに記憶
され、その記憶された文字サイズポイント数に従って後
述するように印字処理が行なわれる。
In S75, it is determined whether or not the value of the block counter n has become equal to the value of the total block number memory N. If the value of the block counter n is smaller than the value of the total block number memory N, that is, if the processing for all the blocks has not been completed (S75: NO), the value of the block counter n is incremented by 1 (S75: NO). After S76), the process returns to S73 to perform processing for the next block. When the processing for each block stored in the total block number memory N is completed (S75: YES),
The character size automatic calculation process ends, and the flow shifts to S47. As a result, at the time when the processing of S73 to S75 is completed for all blocks in the text,
The smaller of the character size points calculated for each block based on the tape width and the character size points calculated based on the tape length is stored in the block point number memory Tpn for each block. It is stored and a printing process is performed according to the stored number of character size points as described later.

【0053】続いて、前記S71において行なわれるテ
ープ長文字サイズの自動計算手順について図13を参照
しつつ説明する。先ず、S80においてブロックカウン
タnの値を「1」にセットし、全ブロック移動量累積値
メモリRXに「0」をセットする(S81)。更に、行
カウンタmに「1」をセットする(S82)とともに1
ブロック移動量累積値メモリRBに「0」をセットする
(S83)。
Next, the procedure for automatically calculating the tape long character size performed in S71 will be described with reference to FIG. First, in step S80, the value of the block counter n is set to "1", and "0" is set to the total block movement amount accumulated value memory RX (S81). Further, "1" is set to the row counter m (S82) and 1
"0" is set in the block movement amount accumulation value memory RB (S83).

【0054】次に、1行(m行)分の移動量の合計を求
め、その求めた移動量を1行移動量メモリRGに記憶す
る(S84)。そして、1行移動量メモリRGに記憶さ
れた移動量が1ブロック移動量累積値メモリRBの値よ
りも大きいかどうか判断される(通常、最初においては
前記S83の処理によりS85の判断はYESとな
る)。1行移動量メモリRGの移動量が1ブロック移動
量累積値メモリRBの値よりも大きい場合(S85:Y
ES)、1行移動量メモリRGの移動量値を1ブロック
移動量累積値メモリRBに記憶した(S88)後、S8
7に移行する。尚、S85における判断がNOの場合直
ちにS87に移行する。
Next, the sum of the movement amounts for one row (m rows) is obtained, and the obtained movement amount is stored in the one-row movement amount memory RG (S84). Then, it is determined whether or not the movement amount stored in the one-row movement amount memory RG is larger than the value of the one-block movement amount accumulation value memory RB (normally, initially, the determination in S85 is YES through the processing in S83). Become). When the movement amount of the one-row movement amount memory RG is larger than the value of the one-block movement amount accumulation value memory RB (S85: Y
ES) After the movement amount value of the one-row movement amount memory RG is stored in the one-block movement amount accumulation value memory RB (S88), S8 is performed.
Move to 7. If the determination in S85 is NO, the process immediately proceeds to S87.

【0055】S87では、行カウンタmの値がブロック
行数メモリmnの値と同一になったかどうか判断され
る。同一でない場合、即ち、1ブロック内の全ての行に
ついての移動量の処理が終了していない場合(S87:
NO)には、次の行についての処理を行なうべくS84
に戻る。一方、同一である場合、即ち、1ブロック内の
全ての行についての移動量の処理が終了した場合(S8
7:YES)には、全ブロック累積値メモリRXに、そ
のメモリRXの値に1ブロック移動量累積値メモリRB
の移動量値を加えた値をセットする(S89)。
In S87, it is determined whether or not the value of the row counter m is equal to the value of the block row number memory mn. If they are not the same, that is, if the processing of the movement amount has not been completed for all the rows in one block (S87:
NO), the process proceeds to S84 in order to perform the process for the next line.
Return to On the other hand, when they are the same, that is, when the processing of the movement amounts for all the rows in one block is completed (S8)
7: YES), the value of the memory RX is stored in the all block cumulative value memory RX, and the one block movement amount cumulative value memory RB is stored in the memory RX.
Then, a value obtained by adding the movement amount value is set (S89).

【0056】次に、ブロックカウンタnの値が全ブロッ
ク数メモリNの値と同一になったかどうか、即ち、テキ
ストの全ブロックについて移動量の累積処理が終了した
かどうか判断される(S90)。全ブロックについての
移動量の累積処理が終了していない場合(S90:N
O)、ブロックカウンタnの値を「1」だけ加算した
(S91)後、次のブロックについて処理を行なうべく
S82に戻る。これに対して、全ブロックについての移
動量の累積処理が終了した場合(S90:YES)に
は、ROM32に記憶されている計算式に従って、前記
S44にて求めてテープ長ドット数メモリTWに記憶さ
れているドット数と前記のように計算して全ブロック移
動量累積値メモリRXに記憶されている移動量とからテ
ープ長に基づく文字サイズポイントが計算されてテープ
長ポイント数メモリYpに記憶されるものである。これ
にて、テープ長文字サイズの自動計算処理が終了し、前
記S72に移行するものである。
Next, it is determined whether or not the value of the block counter n has become equal to the value of the total block number memory N, that is, whether or not the movement amount accumulation processing has been completed for all blocks of the text (S90). When the movement amount accumulation processing for all blocks has not been completed (S90: N
O), after adding "1" to the value of the block counter n (S91), the process returns to S82 to perform processing for the next block. On the other hand, when the movement amount accumulation processing for all the blocks is completed (S90: YES), it is obtained in S44 according to the calculation formula stored in the ROM 32 and stored in the tape long dot number memory TW. The character size point based on the tape length is calculated from the number of dots and the movement amount calculated as described above and stored in the total block movement amount accumulation value memory RX, and stored in the tape length point number memory Yp. Things. Thus, the automatic calculation process of the tape long character size is completed, and the flow shifts to S72.

【0057】ここで、図11のフローチャートに戻って
説明を続けると、前記のようにS46において文字サイ
ズの自動計算が行なわれた後、S47にて縦横チェック
が行なわれる。かかる縦横チェックの手順について図1
4のフローチャートに基づき説明する。図14は縦横チ
ェックプログラムのフローチャートを示し、先ず、幅オ
ーバーフラグF1、及び、長さオーバーフラグF2をク
リアし(S100)、ブロックカウンタnに「1」をセ
ットする(S101)。また、全ブロックドット数累積
値メモリRWに「0」をセットし(S102)、行カウ
ンタmに「1」をセットする(S103)。更に、文字
幅(横)方向の1ブロックドット数累積値メモリBWと
文字高さ(縦)方向の1ブロックドット数累積値メモリ
BHとに「0」をセットする(S104)。
Here, returning to the flowchart of FIG. 11, the description is continued. After the automatic calculation of the character size is performed in S46 as described above, the vertical and horizontal checks are performed in S47. Fig. 1
4 will be described. FIG. 14 shows a flowchart of the vertical / horizontal check program. First, the width over flag F1 and the length over flag F2 are cleared (S100), and "1" is set to the block counter n (S101). Further, "0" is set in the total block dot number accumulation value memory RW (S102), and "1" is set in the row counter m (S103). Further, "0" is set in the one-block dot number cumulative value memory BW in the character width (horizontal) direction and the one-block dot number cumulative value memory BH in the character height (vertical) direction (S104).

【0058】そして、S105において、1行(m行)
目の縦ドット数を所定の計算式に従って求め、その求め
た縦ドット数を1行ドット数メモリGHに記憶する。こ
の後、文字縦方向の1ブロックドット数累積値メモリB
Hに、その記憶されている値に1行ドット数メモリGH
に記憶した値を加算した値をセットする(S106)。
次に、S107において、1行(m行)目の横ドット数
を所定の計算式に従って求め、その求めたドット数を文
字横方向の1行ドット数累積値メモリGWに記憶する。
Then, in S105, one line (m lines)
The number of vertical dots of the eye is obtained according to a predetermined calculation formula, and the obtained number of vertical dots is stored in the one-row dot number memory GH. Thereafter, the one-block dot number cumulative value memory B in the character vertical direction is stored.
H, the stored value is stored in one line dot number memory GH.
Is set (S106).
Next, in S107, the number of horizontal dots in the first row (m-th row) is obtained according to a predetermined formula, and the obtained number of dots is stored in the one-row dot number accumulation value memory GW in the character horizontal direction.

【0059】続いて、S108において、文字横方向の
1ブロックドット数累積値メモリBWの値が、前記のよ
うに求めた1行ドット数累積値メモリGWに記憶された
値よりも小さいかどうか判断される。小さい場合(S1
08:YES)には、メモリGWに記憶されている大き
い方の値を1ブロックドット数累積値メモリBWにセッ
トした(S109)後、S110に移行する。一方、メ
モリBWの値がメモリGWの値よりも大きい場合(S1
08:NO)には、直ちにS110に移行する。これに
より、文字横方向の1ブロックドット数累積値メモリB
Wには、ドット数累積値の大きい行の値が順次更新され
つつ記憶されていくこととなる。
Subsequently, in S108, it is determined whether or not the value of the one-block dot number cumulative value memory BW in the character horizontal direction is smaller than the value stored in the one-line dot number cumulative value memory GW obtained as described above. Is done. If small (S1
08: YES), the larger value stored in the memory GW is set in the one-block dot number accumulation value memory BW (S109), and then the process proceeds to S110. On the other hand, when the value of the memory BW is larger than the value of the memory GW (S1
08: NO), the process immediately proceeds to S110. Thereby, one block dot number accumulated value memory B in the character horizontal direction
In W, the value of the row having the larger dot cumulative value is stored while being sequentially updated.

【0060】S110では、このブロック内に次の行が
存在するかどうか判断される。次の行がある場合(S1
10:YES)、行カウンタmの値を「1」だけ加算し
た(S111)後次の行の処理を行なうべくS105に
戻る。一方、次の行がない場合(S110:NO)、文
字横方向の全ブロックドット数累積値メモリRWに、そ
の時点で記憶されている値に1ブロックドット数累積値
メモリBWの値を加算した値を記憶する(S112)。
この時点において、1ブロックに関しテープ幅方向(文
字高さ(縦)方向)におけるドット数の累積値が1ブロ
ックドット数累積値メモリBHに記憶されることとな
り、また、同様に、テープ長さ方向(文字幅(横)方
向)におけるドット数の累積値が全ブロックドット数累
積値メモリRWに記憶されることとなる。
In S110, it is determined whether or not the next line exists in this block. If there is a next line (S1
10: YES), the value of the row counter m is incremented by "1" (S111), and the process returns to S105 to perform the processing of the next row. On the other hand, if there is no next line (S110: NO), the value of the one-block dot number accumulation value memory BW is added to the value stored at that time in the character block total dot number accumulation value memory RW. The value is stored (S112).
At this time, the cumulative value of the number of dots in the tape width direction (character height (vertical) direction) for one block is stored in the one-block dot number cumulative value memory BH. The cumulative value of the number of dots in the (character width (horizontal) direction) is stored in the total block dot number cumulative value memory RW.

【0061】次に、S113において、1ブロックドッ
ト数累積値メモリBHの値が、S42にて求めテープ幅
ドット数メモリTHに記憶されている値よりも大きいか
どうか判断される。これにより、テキスト中のブロック
データがテープ幅内に印字可能かどうか判断されること
となる。1ブロックドット数累積値メモリBHの値がテ
ープ幅ドット数メモリTHの値よりも大きい場合(S1
13:YES)、テキストがテープ幅からはみ出してし
まうので、幅オーバーフラグF1をONにセットした
(S120)後、処理を終了して後述のS48に移行す
る。
Next, in S113, it is determined whether or not the value of the one-block dot number cumulative value memory BH is larger than the value obtained in S42 and stored in the tape width dot number memory TH. Thus, it is determined whether the block data in the text can be printed within the tape width. When the value of the one-block dot number accumulation value memory BH is larger than the value of the tape width dot number memory TH (S1)
13: YES), since the text runs out of the tape width, the over-width flag F1 is set to ON (S120), and then the process ends and the process proceeds to S48 described later.

【0062】これに対して、1ブロックドット数累積値
メモリBHの値がテープ幅ドット数メモリTHの値より
も小さい場合(S113:NO)、次のブロックがある
かどうか判断される(S114)。次のブロックがある
場合(S114:YES)、ブロックカウンタnの値を
1だけ加算した(S115)後、次のブロックの処理を
行なうべくS103に戻る。次のブロックがない場合
(S114:NO)には、テープ長が「自動」にセット
されているかどうか判断され(S116)、テープ長が
「自動」にセットされている場合(S116:YES)
には処理を終了してS48に移行する。
On the other hand, when the value of the one-block dot number accumulation value memory BH is smaller than the value of the tape width dot number memory TH (S113: NO), it is determined whether there is a next block (S114). . If there is a next block (S114: YES), the value of the block counter n is incremented by 1 (S115), and the process returns to S103 to perform processing of the next block. If there is no next block (S114: NO), it is determined whether the tape length is set to "auto" (S116), and if the tape length is set to "auto" (S116: YES).
, The process ends, and the flow shifts to S48.

【0063】一方、テープ長が「自動」にセットされて
いない場合(S116:NO)、テープ長ドット数メモ
リTWから記憶されている値を読み出し(S117)、
続いてS118にて全ブロックドット数累積値メモリR
Wの値が、テープ長ドット数メモリTWから読み出され
た値と等しいか、又は、小さいかどうか判断される。等
しい場合、又は、小さい場合(S118:YES)に
は、セットされたテープ長の範囲内でテキストの印字が
可能であるので、処理を終了してS48に移行する。一
方、全ブロックドット数累積値メモリRWの値が、テー
プ長ドット数メモリTWから読み出された値よりも大き
い場合(S118:NO)、テキストがセットされたテ
ープ長からはみ出してしまうので、長さオーバーフラグ
F2にONがセットされた(S119)後、処理を終了
してS48に移行する。
On the other hand, when the tape length is not set to "auto" (S116: NO), the stored value is read from the tape long dot number memory TW (S117).
Subsequently, in step S118, the total block dot number accumulated value memory R
It is determined whether the value of W is equal to or smaller than the value read from the tape length dot number memory TW. If they are equal or smaller (S118: YES), the text can be printed within the range of the set tape length, so that the process ends and the process proceeds to S48. On the other hand, if the value of the total block dot number accumulated value memory RW is larger than the value read from the tape long dot number memory TW (S118: NO), the text runs out of the set tape length. After ON is set to the overflag F2 (S119), the process ends, and the process shifts to S48.

【0064】再度、図11に示すフローチャートに戻っ
て説明を続けると、前記のように行なわれる縦横チェッ
クが終了した後、S48にて幅オーバーフラグF1がO
Nされているかどうか判断される。幅オーバーフラグF
1がONされている場合(S48:YES)、文字サイ
ズが「自動」にセットされているかどうか判断される
(S49)。文字サイズが「自動」にセットされている
場合(S49:YES)には、リメイクフラグRMKが
「0」にセットされているかどうか判断され(S5
0)、「0」にセットされておれば(S50:YES)
リメイクフラグRMKを「1」にセットした(S51)
後、S43に戻る。
Returning to the flowchart shown in FIG. 11, the description will be continued. After the vertical and horizontal checks performed as described above are completed, the width over flag F1 is set to 0 in S48.
N is determined. Width over flag F
If 1 is ON (S48: YES), it is determined whether the character size is set to "auto" (S49). If the character size is set to "auto" (S49: YES), it is determined whether the remake flag RMK is set to "0" (S5).
0), if set to “0” (S50: YES)
The remake flag RMK is set to "1" (S51)
Then, the process returns to S43.

【0065】一方、リメイクフラグRMKが「0」にセ
ットされていない場合(S50:NO)、及び、文字サ
イズが「自動」にセットされていない場合(S49:N
O)には、テキストの印字が不可能であるので、エラー
処理が行なわれた(S52)後前記S2に移行するもの
である。従って、この場合にはテキストがテープに印字
されることはない。かかるエラー処理が行なわれた場合
には、再度図9に示すテープ長セット処理を行い、テキ
ストの全体がテープ長の範囲に入るようにテープ長をセ
ットすればよい。これにより、文字サイズについては何
ら考慮することなくテープ長の再セットのみを行なえば
よいので、操作が極めて簡単になるものである。
On the other hand, when the remake flag RMK is not set to "0" (S50: NO) and when the character size is not set to "auto" (S49: N)
In the case of O), since text printing is not possible, the process shifts to S2 after error processing is performed (S52). Therefore, no text is printed on the tape in this case. When such error processing is performed, the tape length setting processing shown in FIG. 9 is performed again, and the tape length may be set so that the entire text falls within the range of the tape length. As a result, only the resetting of the tape length need be performed without any consideration regarding the character size, so that the operation becomes extremely simple.

【0066】また、S48にて幅オーバーフラグF1が
ONにセットされていない場合(S48:NO)には、
テープ長が「自動」にセットされているかどうか判断さ
れる(S53)。テープ長が「自動」にセットされてい
る場合(S53:YES)にはS55に移行する一方、
テープ長が「自動」にセットされていない場合(S5
3:NO)、続いて長さオーバーフラグF2がONされ
ているかどうか判断される(S54)。ONされていな
い場合(S54:NO)にはS55に移行するが、ON
されている場合(S54:YES)には前記S49に移
行して前記と同様の処理が行なわれる。
When the width over flag F1 is not set to ON in S48 (S48: NO),
It is determined whether the tape length is set to "auto" (S53). When the tape length is set to “automatic” (S53: YES), the process proceeds to S55,
If the tape length is not set to "auto" (S5
3: NO) Then, it is determined whether or not the length over flag F2 is ON (S54). If it is not turned on (S54: NO), the process moves to S55,
If so (S54: YES), the flow shifts to S49, and the same processing as described above is performed.

【0067】S55においては、テキストメモリ41に
記憶されているテキストの内容が、CGROM33を介
してドットパターンにイメージ展開され、その展開され
たイメージデータがイメージバッファ42に転送され
る。この後、S56においてイメージバッファ42のイ
メージデータが印字バッファ43に転送され、サーマル
ヘッド11を介してテープ上にテキストの印字が行なわ
れた後、前記S2に戻る。
In S 55, the contents of the text stored in the text memory 41 are developed into a dot pattern via the CGROM 33, and the developed image data is transferred to the image buffer 42. Thereafter, in S56, the image data in the image buffer 42 is transferred to the print buffer 43, and after the text is printed on the tape via the thermal head 11, the process returns to S2.

【0068】以上詳細に説明した通り本実施例に係るテ
ープ印字装置1では、テープ幅検出器Kにより検出され
たテープ幅に基づいてテープ幅ドット数を求めるととも
に、テープ長セットキー5等を介してセットされたテー
プ長に基づいてテープ長ドット数を求め、また、これら
のテープ幅ドット数、テープ長ドット数に基づいて文字
高さ方向の文字サイズと文字幅方向の文字サイズを自動
的に決定するとともに小さい方の文字サイズを選択し、
テキスト長がテープ長の範囲内に入る場合にはその選択
された文字サイズの文字等をサーマルヘッド11を介し
てテープ上に印字するようにしたので、文字サイズとテ
ープ長とのバランスが良好で、且つ、見栄えの良い文字
付テープを作成することができる。
As described in detail above, in the tape printer 1 according to the present embodiment, the number of dots in the tape width is obtained based on the tape width detected by the tape width detector K, and the number of dots is set via the tape length set key 5 and the like. The number of tape long dots is calculated based on the set tape length, and the character size in the character height direction and the character size in the character width direction are automatically determined based on the number of tape width dots and the number of tape long dots. Decide and select the smaller font size,
When the text length falls within the range of the tape length, characters of the selected character size are printed on the tape via the thermal head 11, so that the balance between the character size and the tape length is good. In addition, it is possible to create a tape with a good appearance.

【0069】また、テキスト長がテープ長の範囲内に入
らない場合には、文字サイズは前記のように自動的に決
定されることから文字サイズ変更を行なうことなくテー
プ長セットキー5等を介してテープ長を変更すればよ
く、これにより従来のテープ印字装置におけるように文
字サイズとテープ長との相対的変更を要することなく簡
単な操作により文字サイズとテープ長とのバランスが良
好で、且つ、見栄えの良い文字付テープを作成すること
ができるものである。尚、本発明は前記実施例に限定さ
れるものではなく、本発明の要旨を逸脱しない範囲内で
種々の改良、変形が可能であることは勿論である。
If the text length does not fall within the range of the tape length, the character size is automatically determined as described above. It is sufficient to change the tape length by using a simple operation without having to relatively change the character size and the tape length as in the conventional tape printer, and the balance between the character size and the tape length is good, and This makes it possible to produce a tape with a good appearance. It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that various improvements and modifications can be made without departing from the spirit of the present invention.

【0070】[0070]

【発明の効果】以上説明した通り本発明は、テープ幅に
基づいて文字サイズを自動的に決定するとともに決定さ
れた文字サイズからテキスト長を算出し、テキスト長と
任意に設定されたテープ長とを比較してテキスト長がテ
ープ長よりも小さい場合にはテキストをテープ上に印字
し、テキスト長がテープ長より大きい場合においても文
字サイズとテープ長との相対的変更を要することなく簡
単な操作により文字サイズとテープ長とのバランスが良
好で、且つ、見栄えの良い文字付テープを作成すること
ができ、また、テープ長が自動的に設定される場合には
テキスト長とテープ長とを比較することなく前記のよう
に決定された文字サイズに従ってテキストをテープ上に
印字して簡単な処理に基づき迅速に見栄えの良い文字付
テープを作成することができるテープ印字装置を提供す
ることができ、その奏する効果は大である。
As described above, according to the present invention, the character size is automatically determined based on the tape width, and the text length is calculated from the determined character size.
If the text length is smaller than the tape length, the text is printed on the tape, and if the text length is longer than the tape length, the character size and the tape length are compared. A good balance between the character size and the tape length can be created by a simple operation without any change, and a good-looking tape with text can be created . In addition, when the tape length is automatically set,
Without comparing the text length with the tape length
Text on tape according to the character size determined
With printable and easy-to-look text with simple processing
Tape can provide a tape printer that is Ru can be created and the achieved effect is large.

【図面の簡単な説明】[Brief description of the drawings]

【図1】テープカセット収納部の収納カバーを開けて示
すテープ印字装置の平面図である。
FIG. 1 is a plan view of a tape printer in which a storage cover of a tape cassette storage unit is opened.

【図2】カセット収納部にテープカセットを収納した状
態を示す平面図である。
FIG. 2 is a plan view illustrating a state where a tape cassette is stored in a cassette storage unit.

【図3】テープ印字装置の制御ブロック図である。FIG. 3 is a control block diagram of the tape printer.

【図4】ROMに記憶されている各テープのテープ幅と
テープ幅ドット数とを対応付けたテーブル、及び、テー
プ幅と文字のビッグサイズとを対応付けたテーブルの内
容を模式的に示す説明図である。
FIG. 4 is a diagram schematically showing the contents of a table in which a tape width of each tape and a tape width dot number stored in a ROM and a table in which a tape width is associated with a big size of a character are stored. FIG.

【図5】RAMの内容を模式的に示す説明図である。FIG. 5 is an explanatory diagram schematically showing the contents of a RAM.

【図6】テキスト編集等を行なう基本制御プログラムの
フローチャートである。
FIG. 6 is a flowchart of a basic control program for performing text editing and the like.

【図7】文字サイズセットプログラムのフローチャート
である。
FIG. 7 is a flowchart of a character size setting program.

【図8】液晶ディスプレイ上に表示された文字サイズセ
ット画面を示す説明図である。
FIG. 8 is an explanatory diagram showing a character size setting screen displayed on a liquid crystal display.

【図9】テープ長セットプログラムのフローチャートで
ある。
FIG. 9 is a flowchart of a tape length setting program.

【図10】液晶ディスプレイ上に表示されたテープ長セ
ット画面を示す説明図である。
FIG. 10 is an explanatory diagram showing a tape length setting screen displayed on a liquid crystal display.

【図11】印字制御プログラムのフローチャートであ
る。
FIG. 11 is a flowchart of a print control program.

【図12】文字サイズ自動計算プログラムのフローチャ
ートである。
FIG. 12 is a flowchart of a character size automatic calculation program.

【図13】テープ長文字サイズ計算プログラムのフロー
チャートである。
FIG. 13 is a flowchart of a tape length character size calculation program.

【図14】縦横チェックプログラムのフローチャートで
ある。
FIG. 14 is a flowchart of a vertical / horizontal check program.

【符号の説明】[Explanation of symbols]

1 テープ印字装置 2 文字入力キー 3 印字キー 4 文字サイズセットキー 5 テープ長セットキー 6 キーボード 7 液晶ディスプレイ 11 サーマルヘッド 30 制御装置 31 CPU 32 ROM 33 CGROM 34 RAM 41 テキストメモリ 42 イメージバッファ 43 印字バッファ 44 テープ幅メモリ 45 文字サイズメモリ K テープ幅検出器 N 全ブロック数メモリ TH テープ幅ドット数メモリ TW テープ長ドット数メモリ F1 幅オーバーフラグ F2 長さオーバーフラグ Tpn ブロックポイント数メモリ Yp テープ長ポイント数メモリ REFERENCE SIGNS LIST 1 tape printer 2 character input key 3 print key 4 character size set key 5 tape length set key 6 keyboard 7 liquid crystal display 11 thermal head 30 controller 31 CPU 32 ROM 33 CGROM 34 RAM 41 text memory 42 image buffer 43 print buffer 44 Tape width memory 45 Character size memory K Tape width detector N Total block number memory TH Tape width dot number memory TW Tape length dot number memory F1 Width over flag F2 Length over flag Tpn Block point number memory Yp Tape length point number memory

フロントページの続き (56)参考文献 特開 昭60−107357(JP,A) 特開 昭63−122568(JP,A) 特開 平2−5176(JP,A) 特開 平5−330140(JP,A) 特開 平6−143690(JP,A) 特開 平5−169757(JP,A) 実開 平5−18853(JP,U) (58)調査した分野(Int.Cl.6,DB名) B41J 21/00 B41J 2/485 B41J 3/36Continuation of front page (56) References JP-A-60-107357 (JP, A) JP-A-63-122568 (JP, A) JP-A-2-5176 (JP, A) JP-A-5-330140 (JP) JP-A-6-143690 (JP, A) JP-A-5-169757 (JP, A) JP-A-5-18853 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB Name) B41J 21/00 B41J 2/485 B41J 3/36

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字等の文書データよりなるテキストを
作成するテキスト作成手段と、テキスト作成手段により
作成されたテキストを複数種類のテープ幅を有する長尺
状のテープに印字する印字手段とを有するテープ印字装
置において、 前記各テープのテープ幅を検出するテープ幅検出手段
と、 前記テープ幅検出手段により検出されたテープ幅に基づ
いて、そのテープに印字される文字等のサイズを自動的
に決定する第1文字サイズ決定手段と、 前記第1文字サイズ決定手段を介して決定されたサイズ
を有する文字等のテキスト長を算出するテキスト長算出
手段と、 前記テキストが印字されるテープのテープ長を任意に
定するか、又は、前記テキスト長算出手段を介して算出
されたテキスト長に従って自動的にテープのテープ長を
設定するテープ長設定手段と、 前記テキスト長算出手段により算出されたテキスト長と
前記テープ長設定手段により任意に設定されたテープ長
とを比較する第1比較手段と、前記印字手段を制御する印字制御手段とを有し、 前記印字制御手段は、 前記テープ長設定手段を介してテープのテープ長が任意
に設定されるととともに、前記第1比較手段により前記
テキスト長が前記テープ長よりも小さいと判断された場
合、前記第1文字サイズ決定手段により決定されたサイ
ズを有する文字等のテキストを印字手段を介してテープ
上印字させ、 前記テープ長設定手段を介して自動的にテープのテープ
長が設定された場合、前記第1比較手段による比較を行
うことなく前記第1文字サイズにより決定されたサイズ
に従い印字手段を介して文字等のテキストをテープ上に
印字させる ことを特徴とするテープ印字装置。
1. A text creating means for creating text composed of document data such as characters, and a printing means for printing the text created by the text creating means on a long tape having a plurality of tape widths. In the tape printer, a tape width detecting unit that detects a tape width of each tape, and a size of a character or the like printed on the tape is automatically determined based on the tape width detected by the tape width detecting unit. A first character size determining unit, a text length calculating unit that calculates a text length of a character having a size determined through the first character size determining unit, and a tape length of a tape on which the text is printed. Arbitrarily set or calculated via the text length calculation means
The tape length automatically according to the text length
A tape length setting means for setting a first comparing means for comparing a tape length set arbitrarily by text length and the tape length setting means calculated by the text length calculating means, printing for controlling the printing means Control means, wherein the print control means controls the tape length of the tape to an arbitrary value via the tape length setting means.
And set by the first comparing means.
If the text length is determined to be smaller than the tape length
The size determined by the first character size determination means.
Text such as characters with a letter
Print on the tape and automatically tape the tape via the tape length setting means.
When the length is set, the comparison by the first comparing means is performed.
Size determined by the first character size
Text on the tape via the printing means according to
Tape printer, characterized in that to print.
【請求項2】 文字等の文書データよりなるテキストを
作成するテキスト作成手段と、テキスト作成手段により
作成されたテキストを複数種類のテープ幅を有する長尺
状のテープに印字する印字手段とを有するテープ印字装
置において、 前記各テープのテープ幅を検出するテープ幅検出手段
と、 前記テープ幅検出手段により検出されたテープ幅に基づ
いて、そのテープに印字される文字等のサイズを自動的
に決定する第1文字サイズ決定手段と、前記第1文字サイズ決定手段を介して決定されたサイズ
を有する文字等のテキスト長を算出するテキスト長算出
手段と、 前記テキストが印字されるテープのテープ長を任意に
定するか、又は、前記テキスト長算出手段を介して算出
されたテキスト長に従って自動的にテープのテープ長を
設定するテープ長設定手段と、 前記テープ長設定手段により任意に設定されたテープ長
に基づいてそのテープに印字される文字等のサイズを自
動的に決定する第2文字サイズ決定手段と、 前記第1文字サイズ決定手段により決定された文字等の
サイズと前記第2文字サイズ決定手段により決定された
文字等のサイズとを比較する第2比較手段と 前記印字手段を制御する印字制御手段を有し、 前記印字制御手段は、 前記テープ長設定手段を介してテープのテープ長が任意
に設定された場合、 前記第2比較手段を介して第1文字
サイズ決定手段により決定されたサイズと第2文字サイ
ズ決定手段により決定されたサイズのうち小さい方のサ
イズを選択するとともに、第2比較手段により選択され
た小さいほうのサイズに従い印字手段を介して文字等の
テキストをテープ上に印字させ 前記テープ長設定手段を介して自動的にテープのテープ
長が設定された場合、第2比較手段による比較を行うこ
となく前記第1文字サイズ決定手段により決定されたサ
イズに従い印字手段を介して文字等のテキストをテープ
上に印字させ ることを特徴とするテープ印字装置。
2. A text composed of document data such as characters.
The text creation means to create and the text creation means
The created text is long with multiple tape widths
Printing device having a printing means for printing on a tape in the shape of a tape
A tape width detecting means for detecting a tape width of each of the tapes
Based on the tape width detected by the tape width detecting means.
Automatically adjusts the size of characters and the like printed on the tape.
First character size determining means for determiningThe size determined via the first character size determining means
Length calculation to calculate the text length of characters with characters
Means, The tape length of the tape on which the text is printedOptionallySetting
SpecifyOr calculated via the text length calculation means
The tape length automatically according to the text length
SetTape length setting means, and the tape length setting meansOptionallySet tape length
The size of characters etc. printed on the tape based on the
A second character size determining means for dynamically determining, and a character or the like determined by the first character size determining means.
Size and determined by the second character size determining means
A second comparing means for comparing the size of characters and the like;, Having printing control means for controlling the printing means, The printing control means, Arbitrary tape length of the tape via the tape length setting means
If set to The first character via the second comparing means
The size determined by the size determining means and the second character size
Smaller of the sizes determined by the size determination means.
Select sizeAlong withSelected by the second comparing means
Characters, etc. via the printing means according to the smaller size
Print the text on the tape, The tape of the tape automatically through the tape length setting means
When the length is set, the comparison by the second comparing means is performed.
The size determined by the first character size determining means.
Tape text such as characters through printing means according to the size
Print on top A tape printer.
【請求項3】 前記テキスト作成手段によるテキスト作
成時、テキストを所定のブロック毎に分割して入力する
ことを可能とするブロック設定手段を有し、 前記第1文字サイズ決定手段は前記ブロック設定手段に
より設定されたブロック毎に文字等のサイズを自動的に
決定することを特徴とする請求項1記載のテープ印字装
置。
3. When a text is created by the text creating unit, the text setting unit includes a block setting unit that allows a text to be divided and input for each predetermined block, and the first character size determining unit includes the block setting unit. 2. The tape printing apparatus according to claim 1, wherein the size of a character or the like is automatically determined for each block set by (1).
【請求項4】 文字等の文書データよりなるテキストを
作成するテキスト作 成手段と、テキスト作成手段により
作成されたテキストを複数種類のテープ幅を有する長尺
状のテープに印字する印字手段とを有するテープ印字装
置において、 前記各テープのテープ幅を検出するテープ幅検出手段
と、 前記テープ幅検出手段により検出されたテープ幅に基づ
いて、そのテープに印字される文字等のサイズを自動的
に決定する第1文字サイズ決定手段と、 前記第1文字サイズ決定手段を介して決定されたサイズ
を有する文字等のテキスト長を算出するテキスト長算出
手段と、 前記テキスト長算出手段を介して算出されたテキスト長
に従って自動的にテープのテープ長を設定する自動テー
プ長設定手段と、 前記印字手段を制御して、第1文字サイズ決定手段によ
り決定されたサイズを有する文字等のテキストを、前記
自動テープ長設定手段により設定されるテープ長を有す
るテープ上に印字させる印字制御手段とを備えたことを
特徴とするテープ印字装置。
4. A text composed of document data such as characters.
And text creation means for creating, by the text creating means
The created text is long with multiple tape widths
Printing device having a printing means for printing on a tape in the shape of a tape
In location, the tape width detecting means for detecting the tape width of each tape
Based on the tape width detected by the tape width detecting means.
Automatically adjusts the size of characters and the like printed on the tape.
A first character size determining means for determining the first character size , and a size determined via the first character size determining means.
Length calculation to calculate the text length of characters with characters
Means, and the text length calculated via the text length calculation means
Automatically sets the tape length according to the
The first character size determining means controls the length setting means and the printing means.
Text, such as characters having the determined size,
Has a tape length set by the automatic tape length setting means
Print control means for printing on a tape
Characteristic tape printing device.
JP5017971A 1993-01-07 1993-01-07 Tape printer Expired - Lifetime JP2803509B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5017971A JP2803509B2 (en) 1993-01-07 1993-01-07 Tape printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5017971A JP2803509B2 (en) 1993-01-07 1993-01-07 Tape printer

Publications (2)

Publication Number Publication Date
JPH06199005A JPH06199005A (en) 1994-07-19
JP2803509B2 true JP2803509B2 (en) 1998-09-24

Family

ID=11958623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5017971A Expired - Lifetime JP2803509B2 (en) 1993-01-07 1993-01-07 Tape printer

Country Status (1)

Country Link
JP (1) JP2803509B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11138907A (en) * 1997-11-05 1999-05-25 Seiko Epson Corp Method and apparatus for determining character size
JP4654553B2 (en) * 2001-09-07 2011-03-23 ブラザー工業株式会社 Character string editing device and character string editing program
JP5224112B2 (en) * 2008-09-02 2013-07-03 カシオ計算機株式会社 Tape printer

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60107357A (en) * 1983-11-16 1985-06-12 Hitachi Ltd Word-processor
JPS63122568A (en) * 1986-11-12 1988-05-26 Canon Inc Character processor
JP2825816B2 (en) * 1988-06-24 1998-11-18 松下電器産業株式会社 Document logical structure editing device
JP2583625Y2 (en) * 1991-08-30 1998-10-27 カシオ計算機株式会社 Printer
JP2703458B2 (en) * 1992-06-03 1998-01-26 チノン株式会社 Label printing device

Also Published As

Publication number Publication date
JPH06199005A (en) 1994-07-19

Similar Documents

Publication Publication Date Title
EP0577247B1 (en) Tape print device
JP2629516B2 (en) Tape printer
JP2803509B2 (en) Tape printer
JP3258486B2 (en) Tape printer
JP3377277B2 (en) Document processing device
JP2621726B2 (en) Tape printer
US6290327B1 (en) Image-forming device and printing apparatus incorporating the device as well as image-forming method therefor
EP0606768A2 (en) Registration dot pattern data processor of a text processing apparatus
US5924106A (en) Tape printing device and method
JP3139514B2 (en) Tape printer
JP3189925B2 (en) Tape printer
JP2827879B2 (en) Tape printer
JPH07214860A (en) Document processing equipment
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
JP3168744B2 (en) Printing device
JP3292393B2 (en) Document processing device
JPH07137377A (en) Tape printer
JPH08314924A (en) Document processor
JP2874544B2 (en) Tape printer
JP3189924B2 (en) Tape printer
JP3366729B2 (en) Document processing apparatus and document processing method
JP2760246B2 (en) Tape printer
JPH06155864A (en) Scale printing device
JPH07266628A (en) Tape printer
JP2914473B2 (en) Document processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080717

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090717

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100717

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110717

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120717

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120717

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20130717

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130717

Year of fee payment: 15