JPH05318844A - Tape printer - Google Patents

Tape printer

Info

Publication number
JPH05318844A
JPH05318844A JP15427792A JP15427792A JPH05318844A JP H05318844 A JPH05318844 A JP H05318844A JP 15427792 A JP15427792 A JP 15427792A JP 15427792 A JP15427792 A JP 15427792A JP H05318844 A JPH05318844 A JP H05318844A
Authority
JP
Japan
Prior art keywords
dot pattern
data
image buffer
pattern data
length
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.)
Pending
Application number
JP15427792A
Other languages
Japanese (ja)
Inventor
Hideo Ueno
英生 上野
Minako Ishida
美菜子 石田
Yoshiyo Nagase
吉代 長瀬
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
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP15427792A priority Critical patent/JPH05318844A/en
Publication of JPH05318844A publication Critical patent/JPH05318844A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a tape printer capable of uniformly and continuously performing printing of a character or the like in the proper character intervals even when data length of dot pattern data exceeds memory length of an image buffer. CONSTITUTION:Text data are expanded to a dot pattern in the character expansion work area and stored (S15). Further memory length of an image buffer is compared with data length of data after qualifying the dot pattern data. It is judged (S18) whether or not the dot pattern data can be arranged in the image buffer. In the case (S18:NO) of making arrangement impossible, the dot pattern data of 48 dots length from the rearmost part of the image buffer are evacuated to the evacuation area and stored. Thereafter the dot pattern data of the image buffer are printed and also the data evacuated to the evacuation area are arranged in the front position of the image buffer 44.

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 which prints characters on a long tape to form a tape, and more particularly to data of dot pattern data corresponding to characters input from a keyboard. The present invention relates to a tape printing apparatus capable of printing characters and the like on the tape without breaks at appropriate character intervals even when the length exceeds the memory length of the image buffer.

【0002】[0002]

【従来の技術】従来より、長尺状のテープ上に文字等の
印字を行なってテープを作成するテープ印字装置が種々
提案されている。かかるテープ印字装置においては、キ
ーボードから入力された文字等のコードデータをテキス
トメモリに記憶し、このテキストメモリに記憶されたコ
ードデータに対応するドットパターンデータを所定のメ
モリ長を有するイメージバッファに転送するとともに、
ドット印字ヘッドを介してイメージバッファのドットパ
ターンデータをテープ上に印字するようにしている。
2. Description of the Related Art Conventionally, various tape printers have been proposed which print a character or the like on a long tape to form a tape. In such a tape printer, code data such as characters input from a keyboard is stored in a text memory, and dot pattern data corresponding to the code data stored in the text memory is transferred to an image buffer having a predetermined memory length. Along with
The dot pattern data in the image buffer is printed on the tape via the dot print head.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前記従
来のテープ印字装置では、コスト上、制御上、機構上等
の種々の点に鑑み大容量のイメージバッファを設けるこ
とはできず、従って、自ずとイメージバッファのメモリ
容量には限界があり、比較的容量の小さい一定のメモリ
長を有するイメージバッファが使用されている。これよ
り、イメージバッファのメモリ長を越えるドットパター
ンデータがイメージバッファに転送されてきた場合、ド
ットパターンデータの全部をイメージバッファに記憶さ
せ得ないことから、印字不可能としてエラー処理を行な
わざるを得なかった。
However, in the above-mentioned conventional tape printer, it is not possible to provide a large capacity image buffer in view of various points such as cost, control and mechanism. Since the memory capacity of the buffer is limited, an image buffer having a relatively small capacity and a fixed memory length is used. As a result, if dot pattern data that exceeds the memory length of the image buffer is transferred to the image buffer, the entire dot pattern data cannot be stored in the image buffer. There wasn't.

【0004】かかる場合に、敢えて全部のドットパター
ンデータを連続印字してテープを作成しようとすれば、
先ず、イメージバッファに記憶可能なデータ長のドット
パターンデータをイメージバッファに転送して印字を行
い、この後、イメージバッファに記憶できなかった残り
のドットパターンデータをイメージバッファに転送して
印字を行なうこととなる。
In such a case, if one dares to continuously print all dot pattern data to create a tape,
First, dot pattern data having a data length that can be stored in the image buffer is transferred to the image buffer for printing, and then the remaining dot pattern data that cannot be stored in the image buffer is transferred to the image buffer for printing. It will be.

【0005】このとき、前記残りのドットパターンデー
タをイメージバッファに転送する際には、各ドットパタ
ーンデータのうち最初の文字に対応するドットパターン
データは通常の文字パターン領域内でデータの展開が行
なわれることから、例えば、イタリック文字のように各
文字間のパターン領域が重なってデータ展開されるもの
にあっては、図10(A)に示すようにイメージバッフ
ァの終端位置Lにおいて通常の文字間スペースに比べて
大きい文字間スペースSが形成されてしまう。
At this time, when the remaining dot pattern data is transferred to the image buffer, the dot pattern data corresponding to the first character of each dot pattern data is expanded in a normal character pattern area. Therefore, for example, in the case where data is expanded by overlapping pattern areas between characters such as italic characters, the normal character spacing is set at the end position L of the image buffer as shown in FIG. An inter-character space S that is larger than the space is formed.

【0006】また、同様に特殊な文字、例えば、
「f」、「g」のように各文字間のパターン領域が重な
ってデータ展開されるものにあっても、図10(B)に
示すようにイメージバッファの終端位置Lにおいて通常
の文字間スペースよりも大きな文字間スペースSが形成
されてしまうこととなる。従って、前記従来のテープ印
字装置によっては、ドットパターンデータのデータ長が
イメージバッファのメモリ長を越えた場合に、見栄えの
良い適正な文字間隔をもって切れ目なく文字等の印字を
行なうことができないという問題があった。
Similarly, special characters such as
Even in the case where pattern areas between characters are overlapped and data is developed as in “f” and “g”, a normal inter-character space at the end position L of the image buffer as shown in FIG. 10B. A larger inter-character space S will be formed. Therefore, according to the conventional tape printer, when the data length of the dot pattern data exceeds the memory length of the image buffer, it is not possible to print characters without breaks with proper character spacing that looks good. was there.

【0007】本発明は前記従来技術の問題点を解消する
ためになされたものであり、ドットパターンデータのデ
ータ長がイメージバッファのメモリ長を越えた場合にお
いても、各文字間に配置される文字間隔に長短を生じる
ことなく、均一、且つ、適正な文字間隔をもって切れ目
なく文字等の印字を行なうことができ、もって極めて見
栄えの良いテープを作成することができるテープ印字装
置を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems of the prior art. Even when the data length of dot pattern data exceeds the memory length of the image buffer, the characters arranged between the characters are An object of the present invention is to provide a tape printing device capable of printing characters and the like without breaks at uniform and proper character intervals without breaks, thereby making it possible to create a tape having an extremely good appearance. And

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
本発明は、文字等を入力する文字入力入力手段と、文字
入力手段から入力された文字等のコードデータからなる
テキストを記憶するテキストメモリと、所定のメモリ長
を有するとともにテキストメモリに記憶されたコードデ
ータに対応するドットパターンデータを記憶するイメー
ジバッファと、イメージバッファの内容に従って長尺状
のテープ上に文字等のドット印字を行なうドット印字手
段とを有するテープ印字装置において、前記イメージバ
ッファのメモリ長と前記ドットパターンデータのデータ
長とを比較する比較手段と、前記ドットパターンデータ
のデータ長がイメージバッファのメモリ長より小さくな
るようにドットパターンデータの一部を一時的に退避さ
せて記憶する退避メモリと、前記比較手段により前記ド
ットパターンデータのデータ長が前記イメージバッファ
のメモリ長よりも大きいと判断された場合、ドットパタ
ーンデータの前記一部を除くデータをイメージバッファ
に記憶させるとともに、一部のドットパターンデータを
前記退避メモリに記憶させる記憶制御手段と、前記イメ
ージバッファに記憶されているドットパターンデータを
印字した後、前記退避メモリに記憶されている一部のド
ットパターンデータをイメージバッファに転送して印字
させるように前記ドット印字手段を制御する印字制御手
段とを備えた構成とされる。
In order to achieve the above object, the present invention provides a text input memory for inputting characters and the like, and a text memory for storing text including code data such as characters input from the character inputting means. An image buffer having a predetermined memory length and storing dot pattern data corresponding to the code data stored in the text memory, and dots for printing dots such as characters on a long tape according to the contents of the image buffer. In a tape printer having a printing means, comparing means for comparing the memory length of the image buffer with the data length of the dot pattern data, and the data length of the dot pattern data are smaller than the memory length of the image buffer. Saving to temporarily save and store part of the dot pattern data And the comparison means determines that the data length of the dot pattern data is larger than the memory length of the image buffer, the data except the part of the dot pattern data is stored in the image buffer and Storage control means for storing the dot pattern data in the save memory, and after printing the dot pattern data stored in the image buffer, a part of the dot pattern data stored in the save memory is stored in the image buffer. And a print control means for controlling the dot printing means so as to transfer and print.

【0009】[0009]

【作用】前記構成を有する本発明では、先ず、テキスト
メモリに記憶されたコードデータに対応するドットパタ
ーンデータをイメージバッファに転送する際に、比較手
段を介してイメージバッファのメモリ長とドットパター
ンデータのデータ長とが比較される。かかる比較手段に
よる比較の結果、ドットパターンデータのデータ長がイ
メージバッファのメモリ長よりも大きいと判断された場
合、記憶制御手段を介してドットパターンデータの一部
が退避メモリに記憶されるとともに、その一部のデータ
を除くドットパターンデータをイメージバッファに記憶
させる。
In the present invention having the above structure, first, when the dot pattern data corresponding to the code data stored in the text memory is transferred to the image buffer, the memory length of the image buffer and the dot pattern data are compared through the comparing means. Is compared with the data length of. When it is determined that the data length of the dot pattern data is larger than the memory length of the image buffer as a result of the comparison by the comparison means, a part of the dot pattern data is stored in the save memory via the storage control means, The dot pattern data excluding a part of the data is stored in the image buffer.

【0010】この後、印字制御手段による制御下にドッ
ト印字手段を介して、イメージバッファに記憶されてい
るドットパターンデータをテープ上に印字した後、更
に、前記退避メモリに記憶されている一部のドットパタ
ーンデータをイメージバッファに転送してテープ上に印
字させるものである。
After that, the dot pattern data stored in the image buffer is printed on the tape through the dot printing means under the control of the printing control means, and then the part stored in the save memory is further printed. The dot pattern data is transferred to the image buffer and printed on the tape.

【0011】[0011]

【実施例】以下、本発明の一実施例に基づいて図面を参
照しつつ詳細に説明する。図1はテープカセット収納部
の収納カバーを開けて示すテープ印字装置の平面図であ
る。図1において、テープ印字装置1には文字等のキャ
ラクタを複数行に渡って入力するための文字入力キー
2、印字キー3、後述するように文字入力キー2から入
力された文字等に各種の文字修飾(ボールド文字、アウ
トライン文字、イタリック文字)を施すことを指令する
修飾設定キー4、改行指令を行なったり各種処理の実行
を指令するリターンキー5等の各種のキーが設けられた
キーボード6、キーボード6から入力された文字等を表
示する液晶ディスプレイ7及び後述するテープカセット
13を収納するカセット収納部8が配設されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a plan view of the tape printing apparatus shown with the storage cover of the tape cassette storage section opened. In FIG. 1, the tape printer 1 has a character input key 2 for inputting characters such as characters over a plurality of lines, a print key 3, and various characters and the like input from the character input key 2 as described later. A keyboard 6 provided with various keys such as a modifier setting key 4 for instructing character modification (bold characters, outline characters, italic characters), a return key 5 for issuing a line feed command and executing various processes, A liquid crystal display 7 for displaying characters and the like input from the keyboard 6 and a cassette housing portion 8 for housing a tape cassette 13 described later are provided.

【0012】また、カセット収納部8には、図示しない
パルスモータにより回転駆動され、テープカセット13
のリボン巻取スプール21を回動してサーマルインクリ
ボン17を巻取るリボン巻取軸9が立設されており、
又、その斜め前方(キーボード6側)には、後述するテ
ープ送りモータ40から適宜の伝達機構を介して回転駆
動され、後述するテープ送りローラ27を回動するため
のテープ送りローラ軸10が立設されている。
Further, the tape cassette 13 is rotatably driven by a pulse motor (not shown), and the tape cassette 13
The ribbon winding shaft 9 for winding the thermal ink ribbon 17 by rotating the ribbon winding spool 21 is installed upright.
Further, a tape feed roller shaft 10 for rotating a tape feed roller 27, which will be described later, is rotatably driven by a tape feed motor 40, which will be described later, via an appropriate transmission mechanism at an obliquely forward position (on the keyboard 6 side). It is set up.

【0013】更に、カセット収納部8の前方には、サー
マルインクリボン17を介して後述するフィルムテープ
15上に印字を行うサーマルヘッド11が固設されてい
る。また、かかるカセット収納部8は、テープ印字装置
1の後方に回動可能に枢支された収納カバー12により
開閉され、開状態でテープカセット13の交換等が行わ
れる。
Further, a thermal head 11 for printing on a film tape 15, which will be described later, is fixedly installed in front of the cassette housing portion 8 via a thermal ink ribbon 17. Further, the cassette housing portion 8 is opened and closed by a housing cover 12 which is rotatably supported on the rear side of the tape printer 1, and the tape cassette 13 is exchanged in an open state.

【0014】次に、テープカセット13の構成について
図2を参照して説明する。図2はカセット収納部8にテ
ープカセット13を収納した状態を示す平面図(テープ
カセット13は上ケースを除いて示す)である。
Next, the structure of the tape cassette 13 will be described with reference to FIG. FIG. 2 is a plan view showing the state where the tape cassette 13 is stored in the cassette storage portion 8 (the tape cassette 13 is shown excluding the upper case).

【0015】図2において、下ケース14内には透明な
フィルムテープ15が巻回されたテープスプール16、
サーマルインクリボン17が巻回されたリボンスプール
18、剥離紙付き両面粘着テープ19が剥離紙側を外側
にして巻回された粘着テープスプール20が配設されて
おり、これら各スプール16、18、20は図示しない
上ケースの下面に設けられた支持部との協働により回転
可能に支持されている。
In FIG. 2, a tape spool 16 around which a transparent film tape 15 is wound in a lower case 14,
A ribbon spool 18 around which the 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 facing outward are arranged. These spools 16, 18, 20 is rotatably supported by cooperation with a support portion provided on the lower surface of the upper case (not shown).

【0016】また、各スプール16、18、20の間に
リボン巻取スプール21が同様に回転可能に支持されて
おり、かかるリボン巻取スプール21は前記したリボン
巻取軸9に噛合されリボン巻取軸9の駆動により印字で
使用されたサーマルインクリボン17を巻取る。
A ribbon take-up spool 21 is also rotatably supported between the spools 16, 18 and 20, and the ribbon take-up spool 21 is meshed with the ribbon take-up shaft 9 described above. By driving the take-up shaft 9, the thermal ink ribbon 17 used for printing is taken up.

【0017】更に、前記したサーマルヘッド11は下ケ
ース14に設けられた凹部22に配置され、このサーマ
ルヘッド11にはローラホルダ23に回転可能に支持さ
れたプラテンローラ24が圧接可能な位置に対向配置さ
れている。かかるサーマルヘッド11は多数の発熱素子
(本実施例に係るテープ印字装置1のサーマルヘッド1
1では128個の発熱素子が設けられている)を有して
おり、サーマルインクリボン17を介してフィルムテー
プ15に文字等の印字を行うものである。
Further, the thermal head 11 described above is arranged in a recess 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 it can be pressed. It is arranged. The thermal head 11 includes a large number of heating elements (the thermal head 1 of the tape printer 1 according to the present embodiment).
1 has 128 heating elements), and prints characters and the like on the film tape 15 via the thermal ink ribbon 17.

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

【0019】カセット収納部8において、テープカセッ
ト13の前方(図1、図2中下側)には、ローラホルダ
23が支持軸28により回動可能に枢支され、このロー
ラホルダ23は図示しない手動の切換機構により印字位
置とリリース位置とに切換可能とされている(図1、図
2は共に印字位置に切り換えられた状態を示す)。
In the cassette housing portion 8, a roller holder 23 is rotatably supported by a support shaft 28 in front of the tape cassette 13 (lower side in FIGS. 1 and 2), and the roller holder 23 is not shown. It is possible to switch between the print position and the release position by a manual switching mechanism (FIGS. 1 and 2 both show a state in which the print position is switched to the print position).

【0020】かかるローラホルダ23には、前記したプ
ラテンローラ24及びテープ送りローラ27がそれぞれ
回転可能、且つ、ローラホルダ23が印字位置に切り換
えられたときにサーマルヘッド11及び圧接ローラ26
に対し圧接されるように配設されている。尚、テープ送
りローラ27は前記したテープ送りローラ軸10により
回転駆動され、同時に、圧接ローラ26は図示しないギ
ヤ機構でテープ送りローラ27と連動して回転駆動され
る。
In the roller holder 23, the platen roller 24 and the tape feed roller 27 described above are rotatable, respectively, and when the roller holder 23 is switched to the print position, the thermal head 11 and the pressure contact roller 26.
It is arranged so as to be pressed against. The tape feed roller 27 is rotationally driven by the tape feed roller shaft 10 described above, and at the same time, the pressure contact roller 26 is rotationally driven in conjunction with the tape feed roller 27 by a gear mechanism (not shown).

【0021】また、圧接ローラ26及びテープ送りロー
ラ27は、これらが協働してサーマルヘッド11により
サーマルインクリボン17を介して文字等が印字された
フィルムテープ15に対し両面粘着テープ19の粘着剤
面を圧着し、最終的にテープTを作成するとともに矢印
J方向にテープTを送り出すものである。
Further, the pressure contact roller 26 and the tape feed roller 27 cooperate with each other, and the adhesive agent of the double-sided adhesive tape 19 is applied to 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, the tape T is finally produced, and the tape T is sent out in the direction of the arrow J.

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

【0023】ここに、ROM32は各種のプログラムを
記憶させておくものであり、後述するテープ印字制御プ
ログラム、修飾設定処理プログラム、印字処理プログラ
ム、その他テープ印字装置1の制御上必要な各種のプロ
グラムが記憶されている。そして、CPU31はかかる
ROM32に記憶されている各種のプログラムに基づい
て各種の演算を行なうものである。
The ROM 32 stores various programs, and includes a tape printing control program, a modification setting processing program, a printing processing program, and other various programs necessary for controlling the tape printer 1 as will be described later. Remembered Then, the CPU 31 performs various calculations based on various programs stored in the ROM 32.

【0024】また、CGROM33にはキーボード6か
ら入力される各キャラクタに対応するドットパターンデ
ータが記憶されており、ドットパターンデータがCGR
OM33から読み出されて後述するイメージバッファ4
4に転送されるものである。
Further, the CGROM 33 stores dot pattern data corresponding to each character input from the keyboard 6, and the dot pattern data is CGR.
The image buffer 4 read from the OM 33 and described later
4 is to be transferred.

【0025】更に、RAM34はCPU31により演算
された各種の演算結果を一時的に記憶させておくための
ものであり、かかるRAM34には図4に示すように各
種のメモリが設けられている。
Further, the RAM 34 is for temporarily storing various calculation results calculated by the CPU 31, and the RAM 34 is provided with various memories as shown in FIG.

【0026】図4において、テキストメモリ41はキー
ボード6から入力されたキャラクタに対応するコードデ
ータを文書データとして順次記憶していくものであり、
また、文字展開ワークエリア42はテキストメモリ41
に記憶されているキャラクタコードデータに対応してC
GROM33から読み出されたドットパターンデータが
展開されて記憶されるものであり、この文字展開ワーク
エリア42上で後述する文字修飾処理が行なわれる。
In FIG. 4, the text memory 41 sequentially stores code data corresponding to characters input from the keyboard 6 as document data.
Further, the character development work area 42 is a text memory 41.
C corresponding to the character code data stored in
The dot pattern data read from the GROM 33 is expanded and stored, and the character expansion work area 42 is used for character modification processing described later.

【0027】また、退避エリア43は、後述のように文
字修飾処理の結果、文字展開ワークエリア42に記憶さ
れているドッドパターンデータのデータ長がイメージバ
ッファ44のメモリ長を越えた場合に、そのドットパタ
ーンデータの一部を一時的に退避させて記憶するもので
ある。更に、イメージバッファ44は前記文字展開ワー
クエリア42に記憶されているドットパターンデータが
転送され記憶されるものであり、サーマルヘッド11は
かかるイメージバッファ44に記憶されているドットパ
ターンデータに従ってドット印字を行なうものである。
Further, the save area 43, when the data length of the dod pattern data stored in the character development work area 42 exceeds the memory length of the image buffer 44 as a result of character modification processing as described later, A part of the dot pattern data is temporarily saved and stored. Further, the image buffer 44 transfers and stores the dot pattern data stored in the character development work area 42, and the thermal head 11 prints dots according to the dot pattern data stored in the image buffer 44. To do.

【0028】ここで、図3に戻って制御ブロック図の説
明を続けると、キーボード6が入出力インターフェイス
36を介して、また、液晶ディスプレイ7、ディスプレ
イコントローラ37が入出力インターフェイス36を介
してそれぞれ制御装置30に接続されており、キーボー
ド6からキャラクタが入力された場合前記したキャラク
タデータがテキストメモリ41に順次記憶されていくと
ともに、ドットパターン発生制御プログラムに基づいて
キーボード6を介して入力されたキャラクタを表わすド
ットパターンが液晶ディスプレイ7上に表示される。
Now, returning to FIG. 3 and continuing the description of the control block diagram, 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 the character connected to the device 30 is input from the keyboard 6, the character data described above is sequentially stored in the text memory 41, and the character input via the keyboard 6 based on the dot pattern generation control program. A dot pattern representing is displayed on the liquid crystal display 7.

【0029】また、サーマルヘッド11は駆動回路38
を介して駆動され、前記文字展開エリア42からイメー
ジバッファ44に転送されたドットパターンデータの印
字を行い、これと同期してテープ送りモータ40は駆動
回路39を介してテープTの送り制御を行なうものであ
る。
The thermal head 11 has a drive circuit 38.
The dot pattern data transferred from the character development area 42 to the image buffer 44 is printed by the tape feeding motor 40 and the tape feeding motor 40 controls the feeding of the tape T through the driving circuit 39 in synchronization with the printing. It is a thing.

【0030】続いて、前記のように構成されたテープ印
字装置1の動作について、図5乃至図9を参照して説明
する。図5はテープ印字制御プログラムのフローチャー
トを示し、ステップ(以下、Sと略記する)1において
各種メモリのクリア等のイニシャライズが行なわれる。
続く、S2では、キーボード6上のいずれかのキーから
キー入力があったかどうか判断され、キー入力があった
場合(S2:YES)にはS3に移行するが、一方、キ
ー入力がない場合(S2:NO)にはキー入力があるま
で待機する。
Next, the operation of the tape printer 1 having the above structure will be described with reference to FIGS. FIG. 5 shows a flow chart of the tape print control program. In step (hereinafter abbreviated as S) 1, various memories are initialized such as clearing.
Subsequently, in S2, it is determined whether or not there is a key input from any key on the keyboard 6, and if there is a key input (S2: YES), the process proceeds to S3, while if there is no key input (S2: : NO) waits for key input.

【0031】S3においては文字入力キー2等のテキス
ト作成/編集キーからのキー入力があったかどうか判断
される。テキスト作成/編集キーからのキー入力があっ
た場合(S3:YES)、S4においてテキスト(文
書)の作成/編集が行なわれ、そのテキストデータがテ
キストメモリ41に順次記憶されていきS2に戻る。
In S3, it is determined whether or not there is a key input from the text input / edit key such as the character input key 2. When there is a key input from the text creation / edit key (S3: YES), the text (document) is created / edited in S4, the text data is sequentially stored in the text memory 41, and the process returns to S2.

【0032】テキスト作成/編集キーからのキー入力で
ないと判断された場合(S3:NO)にはS5に移行
し、このS5において修飾設定キー4からのキー入力が
あったかどうか判断される。修飾設定キー4からのキー
入力があった場合(S5:YES)、S6において修飾
設定処理が行なわれた後S2に戻る。
When it is determined that the key input is not the text creation / edit key (S3: NO), the process proceeds to S5, and it is determined in S5 whether or not there is a key input from the modifier setting key 4. When there is a key input from the modification setting key 4 (S5: YES), the modification setting process is performed in S6, and then the process returns to S2.

【0033】かかる修飾設定処理は図6に示す修飾設定
処理プログラムに従って行なわれる。図6において、S
10では修飾設定キー4の押下に基づいて液晶ディスプ
レイ7が図7に示す修飾設定画面にセットされる。図7
において、文字修飾態様の種類としては4種類の修飾態
様が設けられており、「ノーマル」は通常の文字、「ボ
ールド」は印字ドットを重ねて印字される文字、「アウ
トライン」は文字の外形線のみが印字されるいわゆる袋
文字、及び、「イタリック」は文字を傾斜させて印字さ
れる文字である。
The decoration setting processing is performed according to the decoration setting processing program shown in FIG. In FIG. 6, S
In 10, the liquid crystal display 7 is set on the decoration setting screen shown in FIG. 7 when the decoration setting key 4 is pressed. Figure 7
, There are four types of character modification modes. “Normal” is a normal character, “Bold” is a character printed with print dots overlaid, and “Outline” is an outline of the character. A so-called bag character in which only characters are printed, and "italic" are characters inclined and printed.

【0034】続く、S11においては、修飾選択処理が
行なわれる。ここに、修飾選択処理は、前記キーボード
6上に設けられた1乃至4の数字キーを介して各文字修
飾態様が選択されることにより行なわれる。これにて、
修飾設定が終了される。
In S11, a modification selection process is performed. Here, the modification selection process is performed by selecting each character modification mode through the numeric keys 1 to 4 provided on the keyboard 6. With this,
The decoration setting is completed.

【0035】次に、S5において修飾設定キー4からの
キー入力でないと判断された場合(S5:NO)、S7
で印字キー3からのキー入力であるかどうか判断され
る。印字キー3からのキー入力であると判断された場合
(S7:YES)、S8において後述する印字処理が行
われた後S2に戻る。一方、印字キー3からのキー入力
でないと判断された場合(S7:NO)には、S9にお
いて押下されたキーに対応する処理が行われた後S2に
戻る。
Next, when it is determined in S5 that the key input is not from the modification setting key 4 (S5: NO), S7
Then, it is determined whether or not the key input is from the print key 3. When it is determined that the key input is from the print key 3 (S7: YES), the printing process described later is performed in S8, and then the process returns to S2. On the other hand, if it is determined that the key input is not the print key 3 (S7: NO), the process corresponding to the pressed key is performed in S9, and then the process returns to S2.

【0036】次に、前記S8において行われる印字処理
について図8に基づき説明する。図8は印字処理プログ
ラムのフローチャートを示し、S12においてテキスト
メモリ41にテキストデータが記憶されているかどうか
判断される。テキストメモリ41にテキストデータが記
憶されていると判断された場合(S12:YES)には
S13に移行し、一方、テキストメモリ41にテキスト
データが記憶されていないと判断された場合(S12:
NO)にはS26においてブザーが鳴動されること等に
よってアラーム処理が行われた後印字処理が終了され
る。
Next, the printing process performed in S8 will be described with reference to FIG. FIG. 8 shows a flow chart of the print processing program. In S12, it is judged whether or not the text data is stored in the text memory 41. If it is determined that the text data is stored in the text memory 41 (S12: YES), the process proceeds to S13, while if it is determined that the text data is not stored in the text memory 41 (S12:
If the answer is NO, the printing process is terminated after the alarm process is performed by the buzzer sounding in S26.

【0037】S12においてテキストメモリ41にテキ
ストデータが記憶されていると判断された場合(S1
2:YES)、S13にてイメージバッファ44がクリ
アされる。続く、S14では、テキストメモリ41から
1文字分のテキストデータが読み出され、かかるテキス
トデータがCGROM33を介して文字展開ワークエリ
ア42にドットパターンデータ展開され記憶される(S
15)。
When it is determined in S12 that the text data is stored in the text memory 41 (S1
2: YES), and the image buffer 44 is cleared in S13. In S14, the text data for one character is read from the text memory 41, and the text data is expanded and stored in the character development work area 42 via the CGROM 33 (S).
15).

【0038】次の、S16においては、前記のように文
字展開ワークエリア42から読み出されたテキストデー
タについて修飾設定が行われているかどうか判断され
る。文字修飾設定が行われている場合(S16:YE
S)には、S17において文字展開ワークエリア42に
記憶されているドットパターンデータに対して、前記の
ように設定された修飾態様に従って文字修飾が行われた
後S18に移行する。かかる文字修飾が行われると、そ
の修飾態様(例えば、イタリック文字修飾)に応じてド
ットパターンデータのデータ長が大きくなる。一方、S
16において文字修飾設定がなされていないと判断され
た場合(S16:NO)には、直ちにS18に移行す
る。
At the next step S16, it is determined whether the text data read from the character development work area 42 is modified as described above. When the character decoration setting is made (S16: YE
In S), the dot pattern data stored in the character development work area 42 in S17 is subjected to character modification in accordance with the modification mode set as described above, and then the process proceeds to S18. When such character modification is performed, the data length of the dot pattern data increases according to the modification mode (for example, italic character modification). On the other hand, S
If it is determined in 16 that the character decoration setting is not made (S16: NO), the process immediately proceeds to S18.

【0039】S18においては、既にイメージバッファ
44内に記憶されているドットパターンデータのデータ
長に前記のように修飾されたドットパターンデータのデ
ータ長を加えたデータ長とイメージバッファ44のメモ
リ長とを比較することにより、そのドットパターンデー
タをイメージバッファ44に配置可能かどうか判断され
る。配置可能である場合(S18:YES)には、S1
9においてドットパターンデータが順次イメージバッフ
ァ44に配置され記憶されていく(S19)。
In S18, the data length obtained by adding the data length of the dot pattern data modified as described above to the data length of the dot pattern data already stored in the image buffer 44 and the memory length of the image buffer 44. Is compared with each other to determine whether the dot pattern data can be arranged in the image buffer 44. If it can be arranged (S18: YES), S1
At 9, the dot pattern data is sequentially arranged and stored in the image buffer 44 (S19).

【0040】続く、S20では、テキストメモリ41に
次のテキストデータが存在するかどうか判断され、テキ
ストデータが存在する場合(S20:YES)には、後
続のテキストデータについて前記S14乃至S19の処
理を行うべくS14に戻る。これに対し、テキストデー
タが存在しない場合(S20:NO)には、S25にて
イメージバッファ44に記憶されたドットパターンデー
タがサーマルヘッド11を介してフィルムテープ15上
にドット印字される。
In S20, it is determined whether or not the next text data exists in the text memory 41. If the text data exists (S20: YES), the processes in S14 to S19 are performed on the subsequent text data. It returns to S14 to perform. On the other hand, when the text data does not exist (S20: NO), the dot pattern data stored in the image buffer 44 in S25 is dot-printed on the film tape 15 via the thermal head 11.

【0041】一方、前記S18において修飾後のドット
パターンデータがイメージバッファ44に配置できない
と判断された場合(S18:NO)、S21にてイメー
ジバッファ44に記憶されたドットパターンデータのう
ち、イメージバッファ44の最後尾から48ドットデー
タ長の一部のデータが退避エリア43に退避される。こ
の時点において、イメージバッファ44には、そのメモ
リ長よりも48ドット長小さいデータ長のドットパター
ンデータが記憶されている。
On the other hand, when it is determined in S18 that the modified dot pattern data cannot be arranged in the image buffer 44 (S18: NO), the image buffer out of the dot pattern data stored in the image buffer 44 in S21. A part of the data having a data length of 48 dots is saved in the save area 43 from the end of 44. At this point, the image buffer 44 stores dot pattern data having a data length shorter by 48 dots than the memory length.

【0042】この後、S22において、イメージバッフ
ァ44に記憶されているドットパターンデータがサーマ
ルヘッド11を介してフィルムテープ15上に印字さ
れ、S23にてイメージバッファ44のクリアが行われ
る。そして、S24においては、前記S21で退避エリ
ア43に退避した48ドット長のドットパターンデータ
がイメージバッファ44の先頭位置に配置された後、S
19に戻って前記S15及びS16において文字展開ワ
ークエリア42に記憶されているが、前記S18の判断
によってイメージバッファ44内に配置できなかったド
ットパターンデータがイメージバッファ44に配置され
記憶されていく。
Thereafter, the dot pattern data stored in the image buffer 44 is printed on the film tape 15 via the thermal head 11 in S22, and the image buffer 44 is cleared in S23. Then, in S24, the dot pattern data of 48 dot length saved in the save area 43 in S21 is arranged at the head position of the image buffer 44, and then S
Returning to step 19, the dot pattern data, which was stored in the character development work area 42 in S15 and S16 but could not be arranged in the image buffer 44 by the judgment in S18, is arranged and stored in the image buffer 44.

【0043】そして、テキストメモリ41中にテキスト
データがある間はS14〜S20が繰り返し実行され、
テキストメモリ41中のテキストデータがなくなった時
点(S20:NO)でイメージバッファ44のドットパ
ターンデータを印字して印字処理を終了する(S2
5)。
Then, while there is text data in the text memory 41, S14 to S20 are repeatedly executed,
When there is no more text data in the text memory 41 (S20: NO), the dot pattern data in the image buffer 44 is printed and the printing process ends (S2).
5).

【0044】前記のような印字処理に基づいてドットパ
ターンデータの印字を行うことにより得られた印字例を
図9(A)、(B)に示す。図9(A)はイタリック修
飾を行って英大文字を印字した例を示すものであり、イ
メージバッファ44の終端位置Lにおいても前記従来の
テープ印字装置とは異なり、「E」と「F」との間に形
成されるスペースSは他の英大文字と同一のスペースが
形成され、これより各文字が適正に配置されるものであ
る。
Printing examples obtained by printing the dot pattern data based on the above printing process are shown in FIGS. 9 (A) and 9 (B). FIG. 9A shows an example in which an uppercase letter is printed by performing italic modification. Even at the terminal position L of the image buffer 44, unlike the conventional tape printer, "E" and "F" are displayed. The space S formed between the spaces is the same as that of other uppercase letters, and the characters are properly arranged from this space.

【0045】また、図9(B)は英小文字を印字した例
を示すものであり、図9(A)と同様にイメージバッフ
ァ44の終端位置Lにおいても「f」と「g」との間に
形成されるスペースSは他の英小文字と同一のスペース
が形成され、これより各文字が適正に配置される。
Further, FIG. 9B shows an example in which lowercase letters are printed, and between the "f" and "g" at the end position L of the image buffer 44 as in FIG. 9A. The space S formed in is the same as that of other lowercase letters, and each character is properly arranged from this space.

【0046】以上詳細に説明した通り、本実施例に係る
テープ印字装置では、テキストメモリ41に記憶された
テキストデータに基づいて発生されたドットパターンデ
ータを文字展開ワークエリア42に展開して記憶すると
ともに、かかるドットパターンデータの修飾等の後にお
けるデータのデータ長とイメージバッファ44のメモリ
長とを比較してドットパターンデータがイメージバッフ
ァ44に配置可能かどうかを判断し、配置不可能な場合
にはイメージバッファ44の最後尾から48ドット長の
ドットパターンデータを退避エリア43に退避して記憶
させた後、イメージバッファ44のドットパターンデー
タを印字するとともに、退避エリア43に退避されたデ
ータをイメージバッファ44の先頭位置に配置するよう
にしたので、退避されたドットパターンデータを印字す
る場合においてもイメージバッファ44の終端位置Lで
不必要に大きなスペースSが形成されてしまうことがな
い。
As described in detail above, in the tape printer according to this embodiment, the dot pattern data generated based on the text data stored in the text memory 41 is expanded and stored in the character expansion work area 42. At the same time, the data length of the data after such modification of the dot pattern data and the memory length of the image buffer 44 are compared to determine whether the dot pattern data can be arranged in the image buffer 44. Prints the dot pattern data of the image buffer 44 after storing the dot pattern data of 48 dots in length from the tail end of the image buffer 44 in the save area 43, and stores the image of the data saved in the save area 43. Since it is arranged at the beginning position of the buffer 44, it is saved Never large space S unnecessarily will be formed at the end position L of the image buffer 44 even when printing a dot pattern data.

【0047】これにより、各文字間に配置される文字間
隔に長短を生じることなく、均一、且つ、適正な文字間
隔をもって切れ目なく文字等の印字を行なうことがで
き、もって極めて見栄えの良いテープを作成することが
できる
As a result, it is possible to print characters and the like uniformly and without interruption in the character intervals arranged between the characters, with a proper character interval, so that a very good-looking tape can be obtained. Can be created

【0048】尚、本発明は前記実施例に限定されるもの
ではなく、本発明の要旨を逸脱しない範囲内で種々の変
形、改良が可能であることは勿論である。例えば、前記
実施例では、退避エリア43に退避させるドットパター
ンデータのデータ長をイメージバッファ44の最後尾か
ら48ドット長としているが、これに限定されるもので
はなく必要に応じて可変とできることは明らかである。
The present invention is not limited to the above-mentioned embodiments, and it goes without saying that various modifications and improvements can be made without departing from the gist of the present invention. For example, in the above-described embodiment, the data length of the dot pattern data to be saved in the save area 43 is set to 48 dots from the end of the image buffer 44, but the present invention is not limited to this, and it can be changed as necessary. it is obvious.

【0049】[0049]

【発明の効果】以上説明した通り本発明は、ドットパタ
ーンデータのデータ長がイメージバッファのメモリ長を
越えた場合においても、各文字間に配置される文字間隔
に長短を生じることなく、均一、且つ、適正な文字間隔
をもって切れ目なく文字等の印字を行なうことができ、
もって極めて見栄えの良いテープを作成することができ
るテープ印字装置を提供でき、その産業上奏する効果は
大である。
As described above, according to the present invention, even when the data length of the dot pattern data exceeds the memory length of the image buffer, the character intervals arranged between the characters are uniform and long and short. In addition, it is possible to print characters without breaks with proper character spacing.
Therefore, it is possible to provide a tape printing device capable of producing a tape having an extremely good-looking appearance, and its industrial effect is great.

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

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

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

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

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

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

【図6】修飾設定処理プログラムのフローチャートであ
る。
FIG. 6 is a flowchart of a modification setting processing program.

【図7】液晶ディスプレイを修飾設定画面に設定した状
態を示す説明図である。
FIG. 7 is an explanatory diagram showing a state in which a liquid crystal display is set on a decoration setting screen.

【図8】印字処理プログラムのフローチャートである。FIG. 8 is a flowchart of a print processing program.

【図9】本実施例に係るテープ印字装置により印字した
印字例を示す説明図である。
FIG. 9 is an explanatory diagram showing a printing example in which printing is performed by the tape printing apparatus according to the present embodiment.

【図10】従来のテープ印字装置により印字した印字例
を示す説明図である。
FIG. 10 is an explanatory diagram showing an example of printing performed by a conventional tape printer.

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

1 テープ印字装置 2 文字入力キー 3 印字キー 4 修飾設定キー 6 キーボード 11 サーマルヘッド 30 制御装置 31 CPU 32 ROM 33 CGROM 34 RAM 41 テキストメモリ 42 文字展開ワークエリア 43 退避エリア 44 イメージバッファ 1 Tape printing device 2 Character input key 3 Printing key 4 Modification setting key 6 Keyboard 11 Thermal head 30 Controller 31 CPU 32 ROM 33 CGROM 34 RAM 41 Text memory 42 Character expansion work area 43 Evacuation area 44 Image buffer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字等を入力する文字入力入力手段
と、文字入力手段から入力された文字等のコードデータ
からなるテキストを記憶するテキストメモリと、所定の
メモリ長を有するとともにテキストメモリに記憶された
コードデータに対応するドットパターンデータを記憶す
るイメージバッファと、イメージバッファの内容に従っ
て長尺状のテープ上に文字等のドット印字を行なうドッ
ト印字手段とを有するテープ印字装置において、 前記イメージバッファのメモリ長と前記ドットパターン
データのデータ長とを比較する比較手段と、 前記ドットパターンデータのデータ長がイメージバッフ
ァのメモリ長より小さくなるようにドットパターンデー
タの一部を一時的に退避させて記憶する退避メモリと、 前記比較手段により前記ドットパターンデータのデータ
長が前記イメージバッファのメモリ長よりも大きいと判
断された場合、ドットパターンデータの前記一部を除く
データをイメージバッファに記憶させるとともに、一部
のドットパターンデータを前記退避メモリに記憶させる
記憶制御手段と、 前記イメージバッファに記憶されているドットパターン
データを印字した後、前記退避メモリに記憶されている
一部のドットパターンデータをイメージバッファに転送
して印字させるように前記ドット印字手段を制御する印
字制御手段とを備えたことを特徴とするテープ印字装
置。
1. A character input / input means for inputting characters and the like, a text memory for storing a text consisting of code data of characters and the like input from the character input means, and a text memory having a predetermined memory length and stored in the text memory. In a tape printer having an image buffer for storing dot pattern data corresponding to the code data, and dot printing means for printing dots such as characters on a long tape in accordance with the contents of the image buffer. Comparing means for comparing the memory length with the data length of the dot pattern data; and temporarily storing part of the dot pattern data so that the data length of the dot pattern data is smaller than the memory length of the image buffer. Save memory, and the dot pattern by the comparison means. When it is determined that the data length of the data is larger than the memory length of the image buffer, the data excluding the part of the dot pattern data is stored in the image buffer, and part of the dot pattern data is stored in the save memory. Storage control means for causing the dot pattern data stored in the image buffer to be printed, and the dot printing for transferring part of the dot pattern data stored in the save memory to the image buffer for printing. A tape printing apparatus comprising: a printing control unit that controls the printing unit.
JP15427792A 1992-05-20 1992-05-20 Tape printer Pending JPH05318844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15427792A JPH05318844A (en) 1992-05-20 1992-05-20 Tape printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15427792A JPH05318844A (en) 1992-05-20 1992-05-20 Tape printer

Publications (1)

Publication Number Publication Date
JPH05318844A true JPH05318844A (en) 1993-12-03

Family

ID=15580647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15427792A Pending JPH05318844A (en) 1992-05-20 1992-05-20 Tape printer

Country Status (1)

Country Link
JP (1) JPH05318844A (en)

Similar Documents

Publication Publication Date Title
JP2629527B2 (en) Tape printer
JP3382659B2 (en) Code label making device
JPH0789115A (en) Thermal printer
JPH06199017A (en) Tape printing apparatus
JPH061000A (en) Printing device
JPH05318844A (en) Tape printer
JPH07214860A (en) Document processing equipment
JP3158662B2 (en) Printing device and printing method
JPH06243135A (en) Tape printing device
JPH05305753A (en) Printer
JP2560958B2 (en) Tape printer
JP3094710B2 (en) Tape printer
JPH05305738A (en) Printer
JPH06199002A (en) Tape printing machine
JPH07251533A (en) Tape printer
JP3141522B2 (en) Tape printer
JPH07200556A (en) Document preparing device
JPH05318843A (en) Tape printer
JPH05338267A (en) Printer
JPH08314924A (en) Document processor
JPH06998A (en) Printing device
JPH06198965A (en) Tape printer
JPH05305732A (en) Tape printer
JPH06155818A (en) Printer
JPH05294043A (en) Tape printing apparatus