JPH0596790A - Tape printer - Google Patents

Tape printer

Info

Publication number
JPH0596790A
JPH0596790A JP9149091A JP9149091A JPH0596790A JP H0596790 A JPH0596790 A JP H0596790A JP 9149091 A JP9149091 A JP 9149091A JP 9149091 A JP9149091 A JP 9149091A JP H0596790 A JPH0596790 A JP H0596790A
Authority
JP
Japan
Prior art keywords
print
printing
character
tape
data
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
JP9149091A
Other languages
Japanese (ja)
Inventor
Kazuhisa Hirono
和久 広野
Yasuyo Oshio
康代 大塩
Takashi Ito
崇 伊藤
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 JP9149091A priority Critical patent/JPH0596790A/en
Publication of JPH0596790A publication Critical patent/JPH0596790A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a variation to a layout of a printing character string by a method wherein dot pattern data stored in a printing buffer is shifted in a dot column direction so that a character can be printed on a set printing base line position on a printing medium tape. CONSTITUTION:When an electric current is passed to a heating element group while a bonding roller 10 and a take-up spool 14 are driven in a predetermined rotating direction by a tape feed motor 18 in synchronism with each other, a character is printed by a plurality of dot columns on a printing tape 9. The printing tape 9 is fed with an adhesive double coated tape 15 bonded to be delivered outside a body frame 2. A position of a character printing base line is set variably in an orthogonal direction to a tape feed direction. Dot pattern data in a printing buffer 37 is shifted in a dot column direction so that a character can printed on the set printing base line position.

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,
In particular, it relates to a printing medium in which the printing base line position of a character to be printed on the tape can be variably set in the tape width direction.

【0002】[0002]

【従来の技術】従来、幅約10ミリ前後の印字用テープ
に所望の文字列を印字する小型のテープ印字装置に関し
て種々提案されている。そこで、本願出願人は特開平1
─152070号公報において、印字可能な全角文字と
4倍角文字のうち全角文字について、印字するキャラク
タの印字位置を印字用テープの幅方向の中央位置に揃え
て印字するセンタ印字モードとその幅方向の下側に揃え
て印字する下揃え印字モードとを選択可能に構成した印
字位置変更可能な印字装置を提案した。
2. Description of the Related Art Heretofore, various proposals have been made for a small tape printer for printing a desired character string on a printing tape having a width of about 10 mm. Therefore, the applicant of the present application filed JP
In Japanese Laid-Open Patent Publication No. 152070, a center print mode for printing the full-width character of the printable full-width character and the double-width character with the print position of the print character aligned with the center position in the width direction of the printing tape and the width direction thereof. We have proposed a printing device that can change the printing position and is configured to select a bottom-aligned printing mode that prints on the lower side.

【0003】[0003]

【発明が解決しようとする課題】しかし、本願出願人が
提案した印字位置変更可能な印字装置においては、印字
用テープに印字する全角文字の印字位置をセンタに揃え
る印字モードと下側に揃える下揃え印字モードとしか設
けていないので、4倍角文字と全角文字との位置関係を
微妙に変更できず、印字文字列のレイアウトが単調にな
るという問題がある。
However, in the printing device capable of changing the printing position proposed by the applicant of the present application, the printing position of the double-byte characters to be printed on the printing tape is aligned with the center and the lower printing mode is arranged. Since only the alignment print mode is provided, there is a problem that the positional relationship between the quadruple-width character and the full-width character cannot be subtly changed, and the layout of the print character string becomes monotonous.

【0004】本発明の目的は、印字文字列のレイアウト
にバリエーションを施すことができるようなテープ印字
装置を提供することにある。
An object of the present invention is to provide a tape printer capable of varying the layout of a print character string.

【0005】[0005]

【課題を解決するための手段】本発明に係るテープ印字
装置は、キャラクタのコードデータ及び種々の指令信号
を入力する為の入力手段と、入力されたコードデータを
格納する為の入力データバッファと、多数のキャラクタ
のドットパターンデータを格納したパターンデータ記憶
手段と、印字されるキャラクタのドットパターンデータ
をパターンデータ記憶手段から受けて格納する為の印字
バッファと、キャラクタが印字される印字媒体テープ上
にドット列にて印字可能な印字ヘッドと、印字バッファ
からドットパターンデータのドット列データを順次受け
て印字ヘッドを制御する制御手段とを備えたテープ印字
装置において、印字媒体テープに印字するときの印字基
線位置をテープ送り方向と直交方向に可変に設定する為
の基線位置設定手段と、基線位置設定手段の出力を受
け、設定された印字基線位置でもって印字媒体テープ上
に印字するように、印字バッファ内のドットパターンデ
ータをドット列方向にシフトさせるパターンデータシフ
ト手段とを備えたものである。
SUMMARY OF THE INVENTION A tape printer according to the present invention comprises an input means for inputting character code data and various command signals, and an input data buffer for storing the input code data. , A pattern data storage means for storing dot pattern data of a large number of characters, a print buffer for receiving the dot pattern data of the character to be printed from the pattern data storage means, and a print medium tape on which the character is printed When printing on a print medium tape in a tape printer having a print head capable of printing in a dot row and a control means for sequentially receiving dot row data of dot pattern data from a print buffer and controlling the print head Base line position setting procedure to variably set the print base line position in the direction orthogonal to the tape feed direction. And pattern data shift means for receiving the output of the base line position setting means and shifting the dot pattern data in the print buffer in the dot row direction so that the print medium tape is printed at the set print base line position. It is a thing.

【0006】[0006]

【作用】本発明に係るテープ印字装置においては、入力
手段から入力されたコードデータが入力データバッファ
から読出され、この読出されたコードデータに基いて印
字するキャラクタのドットパターンデータがパターンデ
ータ記憶手段から受けて印字バッファに格納されたと
き、パターンデータシフト手段は基線位置設定手段から
の出力を受け、テープ送り方向と直交方向に可変に設定
された印字基線位置でもって印字媒体テープ上に印字す
るように、印字バッファ内のドットパターンデータをド
ット列方向にシフトさせる。その結果、制御手段は印字
バッファからシフトされたドットパターンデータのドッ
ト列データを順次受けて印字ヘッドを制御するので、キ
ャラクタは設定された印字媒体テープ上の印字基線位置
に揃えて印字される。
In the tape printer according to the present invention, the code data input from the input means is read from the input data buffer, and the dot pattern data of the character to be printed based on the read code data is the pattern data storage means. Pattern data shift means receives the output from the baseline position setting means and prints on the print medium tape with the print baseline position variably set in the direction orthogonal to the tape feeding direction. As described above, the dot pattern data in the print buffer is shifted in the dot row direction. As a result, the control means sequentially receives the dot row data of the shifted dot pattern data from the print buffer to control the print head, so that the characters are printed in alignment with the set print base line position on the print medium tape.

【0007】[0007]

【発明の効果】本発明に係るテープ印字装置によれば、
基線位置設定手段とパターンデータシフト手段とを設
け、キャラクタの印字基線位置をテープ送り方向と直交
方向に可変に設定でき、しかも設定された印字基線位置
となるように印字バッファ内のドットパターンデータが
ドット列方向にシフトされて印字媒体テープに印字され
るので、印字媒体テープに印字された文字列のレイアウ
トに種々のバリエーションを施すことができる。
According to the tape printer of the present invention,
The base line position setting means and the pattern data shift means are provided so that the print base line position of the character can be variably set in the direction orthogonal to the tape feed direction, and the dot pattern data in the print buffer can be set to the set print base line position. Since it is shifted in the dot row direction and printed on the print medium tape, various variations can be applied to the layout of the character string printed on the print medium tape.

【0008】[0008]

【実施例】以下、本発明の実施例について図面に基いて
説明する。本実施例は、漢字やひらがなやカタカナ及び
アルファベット文字などの多数のキャラクタを印字用テ
ープ(印字媒体テープ)に印字するテープ印字装置に本
発明を適用した場合のものである。図2に示すように、
テープ印字装置1の本体フレーム2の前部には印字する
為の文字や記号(以下、キャラクタという)を選択する
ための環状の選字用ダイヤル3が回転自在に配設される
とともに、キーボード部4が配設され、選字用ダイヤル
3の後方には6文字分表示可能な液晶ディスプレイ19
が設けられている。この選字用ダイヤル3の中央部に
は、選字用ダイヤル3の回転操作で選択したキャラクタ
を確定したり或いは印字に関する設定内容を確定する為
の設定キー5が設けられている。更に、選字用ダイヤル
3の後方の本体フレーム2内には印字機構PMが内蔵さ
れている。
Embodiments of the present invention will be described below with reference to the drawings. This embodiment is a case where the present invention is applied to a tape printer for printing a large number of characters such as kanji, hiragana, katakana and alphabetic characters on a printing tape (printing medium tape). As shown in FIG.
At the front part of the main body frame 2 of the tape printer 1, an annular character selection dial 3 for selecting characters or symbols (hereinafter referred to as characters) for printing is rotatably arranged, and a keyboard part is provided. 4 is provided, and a liquid crystal display 19 capable of displaying six characters is provided behind the character selection dial 3.
Is provided. At the center of the character selection dial 3, there is provided a setting key 5 for confirming the character selected by the rotation operation of the character selection dial 3 or for confirming the setting contents concerning printing. Further, a printing mechanism PM is built in the main body frame 2 behind the character selection dial 3.

【0009】前記選字用ダイヤル3には1回転で50箇
所の停止位置が設けられており、選字用ダイヤル3の上
面にはこれら50箇所の停止位置の夫々に対応させてキ
ャラクタのイメージが2列に描かれている。尚、符号6
は選字位置マークである。キーボード部4には、「ひら
がな」と「カタカナ」と「アルファベット」との入力を
択一的に切換える為の文字種切換えキー、変換キー及び
無変換キー、2行印字を指示する2行印字キー、1行印
字を指示する1行印字キー、印字を実行する印字キー、
キャラクタの書体を選択する書体選択キー、印字用テー
プ9をテープ送りする為のテープ送りキー、電源をON
・OFFする為の電源スイッチなどが設けられている。
The character selection dial 3 is provided with 50 stop positions per rotation, and the upper surface of the character selection dial 3 has a character image corresponding to each of these 50 stop positions. It is drawn in two columns. Incidentally, reference numeral 6
Is a character selection position mark. The keyboard unit 4 includes a character type switching key for selectively switching between "Hiragana", "Katakana", and "Alphabet", a conversion key and a non-conversion key, and a two-line printing key for instructing two-line printing, 1-line print key to instruct 1-line print, print key to execute print,
A typeface selection key for selecting the typeface of the character, a tape feed key for feeding the printing tape 9 to the tape, and the power ON
-A power switch for turning it off is provided.

【0010】次に、図3に基いて印字機構PMについて
簡単に説明すると、矩形状のテープ収納カセットCSに
は、透明なフィルムからなる印字用テープ9が巻装され
たテープスプール8と、インクリボン12が巻装された
リボン供給スプール13と、このインクリボン12を巻
取る巻取りスプール14と、印字用テープ9と同一幅を
有する両面テープ15が剥離紙を外側にして巻装された
供給スプール16と、これら印字用テープ9と両面テー
プ15とを接合させる接合ローラとが回転自在に設けら
れている。印字用テープ9とインクリボン12とが重な
る位置には、サーマルヘッド7が立設され、これら印字
用テープ9とインクリボン12とをサーマルヘッド7に
押圧するプラテンローラ17と両テープ9・15を接合
ローラ10に押圧する送りローラ45とは支持体46に
回転可能に枢支されている。このサーマルヘッド7に
は、図5に示すように48個の発熱素子からなる発熱素
子群11が上下方向に列設されている。
Next, the printing mechanism PM will be briefly described with reference to FIG. 3. In the rectangular tape storage cassette CS, the tape spool 8 on which the printing tape 9 made of a transparent film is wound, and the ink. A ribbon supply spool 13 around which a ribbon 12 is wound, a take-up spool 14 around which the ink ribbon 12 is wound, and a double-sided tape 15 having the same width as the printing tape 9 are wound with a release paper outside. A spool 16 and a joining roller for joining the printing tape 9 and the double-sided tape 15 are rotatably provided. A thermal head 7 is erected at a position where the printing tape 9 and the ink ribbon 12 overlap each other, and a platen roller 17 for pressing the printing tape 9 and the ink ribbon 12 against the thermal head 7 and both tapes 9 and 15 are provided. The feed roller 45 that presses the joining roller 10 is rotatably supported by the support 46. As shown in FIG. 5, the thermal head 7 is provided with a heating element group 11 composed of 48 heating elements arranged in a vertical direction.

【0011】従って、接合ローラ10と巻取りスプール
14とがテープ送りモータ(図4参照)18で所定の回
転方向に夫々同期して駆動されながら発熱素子群11に
通電されたとき、印字用テープ9上には図5に示すよう
に複数のドット列により文字が印字され、しかも印字用
テープ9は両面テープ15を接合した状態でテープ送り
方向Aにテープ送りされて本体フレーム2外に送出され
る。尚印字機構PMの詳細については特開平2−106
555号公報を参照。
Therefore, when the joining roller 10 and the take-up spool 14 are driven by the tape feed motor (see FIG. 4) 18 in synchronism with each other in a predetermined rotation direction to energize the heating element group 11, the printing tape is printed. Characters are printed by a plurality of dot rows on the printer 9 as shown in FIG. 5, and the printing tape 9 is fed in the tape feeding direction A with the double-sided tape 15 joined and sent out of the main body frame 2. It The details of the printing mechanism PM are described in JP-A-2-106.
See Japanese Patent No. 555.

【0012】次に、テープ印字装置1の制御系は図4の
ブロック図に示すように構成されている。表示機構DM
は液晶ディスプレイ19と、このディスプレイ19に表
示データを出力するための表示用RAMを有するディス
プレイコントローラ(LCDコントローラ)20とを備
えた一般的なものである。選字用ダイヤル3に連結され
た絶対値エンコーダ21は、選字用ダイヤル3の50箇
所の停止位置に対応して50種類の絶対値エンコーダ信
号ENSを夫々出力する為のものであり、これら絶対値
エンコーダ信号ENSと文字種切換キーからの信号とに
基いて選字位置マーク6に対応させて選択されたキャラ
クタのコードデータが得られるとともに、選択操作前の
絶対値エンコーダ信号ENSと現在の絶対値エンコーダ
信号ENSとを比較することにより選字用ダイヤル3の
回転方向及びその回転量が得られる。符号22はサーマ
ルヘッド7を駆動する為の駆動回路、符号23はテープ
送りモータ18を駆動する為の駆動回路である。
Next, the control system of the tape printer 1 is constructed as shown in the block diagram of FIG. Display mechanism DM
Is a general one having a liquid crystal display 19 and a display controller (LCD controller) 20 having a display RAM for outputting display data to the display 19. The absolute value encoder 21 connected to the character selection dial 3 is for outputting 50 kinds of absolute value encoder signals ENS corresponding to 50 stop positions of the character selection dial 3, respectively. Code data of the character selected corresponding to the character selection position mark 6 is obtained based on the value encoder signal ENS and the signal from the character type switching key, and the absolute value encoder signal ENS before the selection operation and the current absolute value are obtained. By comparing with the encoder signal ENS, the rotation direction and the rotation amount of the character selection dial 3 can be obtained. Reference numeral 22 is a drive circuit for driving the thermal head 7, and reference numeral 23 is a drive circuit for driving the tape feed motor 18.

【0013】制御装置Cは、CPU27と、CPU27
にデータバスなどのバス26を介して接続された入出力
インターフェイス25、ROM28・29及びRAM3
0とから構成されている。ROM(プログラムメモリ)
28には、選字用ダイヤル3で選択されたコードデータ
に対応させて表示機構DMを制御する表示制御プログラ
ム、設定キー5が操作されたときのキャラクタのコード
データや印字の設定内容に関する種々の設定データを入
力データバッファ31に格納する制御プログラム、印字
バッファ37のデータを順次読出してサーマルヘッド7
とテープ送りモータ18とを駆動制御する駆動制御プロ
グラム、後述のテープ印字制御の制御プログラムなどが
格納されている。
The controller C has a CPU 27 and a CPU 27.
An input / output interface 25, ROMs 28 and 29, and a RAM 3 connected to a bus 26 such as a data bus.
It is composed of 0 and. ROM (program memory)
Reference numeral 28 denotes a display control program for controlling the display mechanism DM in correspondence with the code data selected by the character selection dial 3, and various kinds of character code data and print setting contents when the setting key 5 is operated. The control program for storing the setting data in the input data buffer 31 and the data in the print buffer 37 are sequentially read to read the thermal head 7.
A drive control program for driving and controlling the tape feed motor 18, a control program for tape printing control, which will be described later, and the like are stored.

【0014】ROM(パターンデータメモリ)29に
は、選字用ダイヤル3上面に描かれた多数のキャラクタ
の夫々に関するドットパターンデータが、16ドット
(縦)×15ドット(横)からなるSS文字パターンデ
ータと48ドット(縦)×48ドット(横)からなるL
文字パターンデータとでキャラクタのコードデータに対
応づけて夫々格納されている。尚、SS文字パターンデ
ータは2行印字及び表示に使用される。また、L文字パ
ターンデータは1行印字に使用される。尚、符号24
は、種々の書体のドットパターンデータを格納したオプ
ション用のROMカードを接続するためのコネクタであ
る。
A ROM (pattern data memory) 29 is an SS character pattern in which dot pattern data for each of a large number of characters drawn on the upper surface of the character selection dial 3 is 16 dots (vertical) × 15 dots (horizontal). L consisting of data and 48 dots (vertical) x 48 dots (horizontal)
The character pattern data and the character pattern data are stored in association with each other. The SS character pattern data is used for printing and displaying two lines. The L character pattern data is used for printing one line. Incidentally, reference numeral 24
Is a connector for connecting an optional ROM card which stores dot pattern data of various typefaces.

【0015】RAM30の入力データバッファ31に
は、印字するキャラクタのコードデータや印字の設定内
容に関する種々の設定データが格納される(図12参
照、尚、先頭アドレスをA0000 とする)。第1再配列メ
モリ32には、1行印字のコードデータ及び2行印字の
上段行のコードデータが格納され(図13参照、尚、先
頭アドレスをa0000 とする)、また第2再配列メモリ3
3には、2行印字の下段行のコードデータが格納される
(図13参照、尚、先頭アドレスをb0000 とする)。第
1ポインタ34には、第1再配列メモリ32の1つのア
ドレスが格納され、また第2ポインタ35には、第2再
配列メモリ33の1つのアドレスが格納される。
An input data buffer 31 of the RAM 30 stores code data of a character to be printed and various setting data relating to print setting contents (see FIG. 12, the leading address is A0000). The first rearrangement memory 32 stores the code data for one-line printing and the code data for the upper row of two-line printing (see FIG. 13, the start address is a0000), and the second rearrangement memory 3
In 3, the code data of the lower line of the two-line print is stored (see FIG. 13, the start address is b0000). The first pointer 34 stores one address of the first rearrangement memory 32, and the second pointer 35 stores one address of the second rearrangement memory 33.

【0016】印字基線位置変更量メモリ36には、通常
印字基線位置PS2・PS3に対する印字基線位置のテ
ープ幅方向の変更量dが格納される。印字バッファ37
には、図17に示すように、縦方向(ドット列方向)に
48ドットに対応する48ビット(6バイト)、横方向
に48ドットに対応する48ビット(6バイト)からな
る大きさのメモリ容量が設けられ、印字するキャラクタ
のドットパターンデータがパターンデータメモリ29か
ら読出して格納される。フラグメモリ38には、2行印
字のときにセット(データが「1」)される2行印字フ
ラグF1、2行印字における上段行印字(1行目印字)
のときにセットされる上段行フラグF2、印字基線位置
変更に関する選択内容の表示中にセットされる表示フラ
グF3、印字基線位置変更のときにセットされる基線位
置変更フラグF4、印字基線位置の変更量dに関する選
択内容の表示中にセットされる表示フラグF5及び書体
に関連するフラグなどその他のフラグのフラグデータが
夫々格納される。
The print base line position change amount memory 36 stores the change amount d in the tape width direction of the print base line positions relative to the normal print base line positions PS2 and PS3. Print buffer 37
As shown in FIG. 17, a memory having a size of 48 bits (6 bytes) corresponding to 48 dots in the vertical direction (dot row direction) and 48 bits (6 bytes) corresponding to 48 dots in the horizontal direction. A capacity is provided, and dot pattern data of a character to be printed is read from the pattern data memory 29 and stored. In the flag memory 38, a two-line printing flag F1 that is set (data is "1") when two lines are printed, upper line printing in two-line printing (first line printing)
Upper row flag F2 that is set when, a display flag F3 that is set while the selection contents regarding the print base line position change are displayed, a base line position change flag F4 that is set when the print base line position is changed, and a print base line position change The flag data of the other flags such as the display flag F5 and the flag related to the typeface, which are set during the display of the selection content regarding the amount d, are stored.

【0017】次に、テープ印字装置1の制御装置Cで行
なわれるテープ印字制御のルーチンについて、図6〜図
11のフローチャートに基いて説明する。尚、図中、S
i(i=1、2、3・・・)は各ステップである。ここ
で、この制御においては図5に示すように、1行印字の
ときには文字「A」で示すように、L文字パターンデー
タに基いてサーマルヘッド7の発熱素子群11に対応す
る印字用テープ9上の印字領域PE全域に亙って印字用
テープ9上に印字され、また2行印字のときにはSS文
字パターンデータに基いて、上段行の印字はこの印字領
域PE内の上段印字行ULに行なわれ、下段行の印字は
印字領域PEの下段印字行LLに行なわれる。更に、L
文字の通常印字基線位置PS1は発熱素子群11の最下
位置に対応し、またSS文字に関する上段行の印字基線
位置PS2は発熱素子群11の幅方向の中央位置に対応
する中央線CLよりも「4」ドット分上側の位置に設け
られ、SS文字に関する下段行の通常印字基線位置PS
3は前記印字基線位置PS1よりも「4」ドット分上側
の位置に設けられている。
Next, the tape print control routine executed by the controller C of the tape printer 1 will be described with reference to the flow charts of FIGS. In the figure, S
i (i = 1, 2, 3, ...) Is each step. Here, in this control, as shown in FIG. 5, the printing tape 9 corresponding to the heating element group 11 of the thermal head 7 is based on the L character pattern data, as indicated by the character "A" when printing one line. The entire upper printing area PE is printed on the printing tape 9, and when printing two lines, the upper row is printed on the upper printing row UL in this printing area PE based on the SS character pattern data. The lower row is printed on the lower print row LL of the print area PE. Furthermore, L
The normal print base line position PS1 of the character corresponds to the lowermost position of the heating element group 11, and the print base line position PS2 of the upper row regarding the SS character is more than the center line CL corresponding to the center position of the heating element group 11 in the width direction. The normal print base line position PS of the lower line for the SS character is provided at a position above "4" dots.
3 is provided at a position above the print base line position PS1 by "4" dots.

【0018】このテープ印字装置1に電源が投入される
とこの制御が開始され、先ず表示機構DMや各メモリ3
1〜38をクリアするとともに、ディスプレイ19に1
行印字マーク「>」が表示され且つこの1行印字マーク
「>」に対応する1行印字指令データを入力データバッ
ファ31の先頭アドレスに格納するなどの初期設定が実
行される(S1)。次に、選字用ダイヤル3が回転操作
されたときには(S2:No、S13:Yes)、何れ
のフラグF1・F3・F5・・・もセットされていない
ので(S14・S19・S24・S26:No)、絶対
値エンコーダ21からのエンコーダ信号ENSに基いて
選択されたキャラクタがディスプレイ19に表示され
(S28)、S2に戻る。
When the tape printer 1 is powered on, this control is started. First, the display mechanism DM and each memory 3 are started.
Clear 1 to 38, and display 1
The line print mark ">" is displayed and the initial setting such as storing the one line print command data corresponding to the one line print mark ">" at the head address of the input data buffer 31 is executed (S1). Next, when the character selection dial 3 is rotated (S2: No, S13: Yes), none of the flags F1, F3, F5, ... Is set (S14, S19, S24, S26: No), the character selected based on the encoder signal ENS from the absolute value encoder 21 is displayed on the display 19 (S28), and the process returns to S2.

【0019】そして、設定キーが操作されたときに(S
2・S3:Yes)、フラグF1〜F5は何れもセット
されていないときには(S29・S36・S41・S4
4:No)、ディスプレイ19に表示中のキャラクタが
確定されてそのコードデータが入力データバッファ31
に格納される(S46)。例えば、ディスプレイ19に
文字「A」、「B」、「C」を表示させる毎に設定キー
を操作したときには、図2・図12に示すように、各文
字「A」、「B」、「C」のコードデータが入力データ
バッファ31に順次格納される。
When the setting key is operated (S
2. S3: Yes), when none of the flags F1 to F5 are set (S29, S36, S41, S4)
4: No), the character being displayed on the display 19 is confirmed, and the code data is input to the input data buffer 31.
(S46). For example, when the setting key is operated each time the characters “A”, “B”, and “C” are displayed on the display 19, as shown in FIGS. 2 and 12, the characters “A”, “B”, “ Code data “C” is sequentially stored in the input data buffer 31.

【0020】次に、2行印字を実行する為に2行印字キ
ーを操作したときには(S2:Yes、S3:No、S
4:Yes)、2行印字に関する先頭の選択内容、例え
ば「上段印字行」がディスプレイ19に表示され(S
5)、フラグF1がセットされる(S6)。次に、選字
用ダイヤル3が回転操作されたとき(S2:No、S1
3:Yes)、フラグF1がセットされているので(S
14:Yes)、2行印字に関する次の選択内容、例え
ば「下段印字行」がディスプレイ19に表示され(S1
5)、「上段印字行」を表示しているときには(S1
6:Yes)、フラグF2がセットされるが(S1
7)、「下段印字行」を表示しているときには(S1
6:No)、フラグF2がリセットされる(S18)。
Next, when the 2-line print key is operated to execute the 2-line print (S2: Yes, S3: No, S
4: Yes) The selection contents at the beginning regarding two-line printing, for example, “upper print line” is displayed on the display 19 (S
5) The flag F1 is set (S6). Next, when the character selection dial 3 is rotated (S2: No, S1
3: Yes), since the flag F1 is set (S
14: Yes), the next selected content regarding two-line printing, for example, "lower print line" is displayed on the display 19 (S1)
5) When the "upper print line" is displayed (S1
6: Yes), the flag F2 is set (S1
7), when the "lower print line" is displayed (S1
6: No), the flag F2 is reset (S18).

【0021】そして、設定キーが操作されたとき(S2
・S3:Yes)、両フラグF1・F2がセットされて
いるときには(S29・S30:Yes)、上段印字行
マーク「△」がディスプレイ19に表示されるととも
に、この上段印字行マーク「△」に対応する上段行印字
指令データが入力データバッファ31に格納される。ま
た、フラグF2がリセットされているときには(S2
9:Yes、S30:No)、下段行印字行マーク
「▽」がディスプレイ19に表示されるとともに、この
下段印字行マーク「▽」に対応する下段行印字指令デー
タが入力データバッファ31に格納される(S32)。
例えば、ディスプレイ19に「上段印字行」が表示され
ているときに設定キーを操作したときには、上段印字行
マーク「△」が表示され且つ図12に示すように入力デ
ータバッファ31のアドレスA0004 には上段行印字指令
データが格納される。
When the setting key is operated (S2
・ S3: Yes), when both flags F1 and F2 are set (S29 ・ S30: Yes), the upper print line mark “Δ” is displayed on the display 19 and the upper print line mark “Δ” is displayed. The corresponding upper row print command data is stored in the input data buffer 31. When the flag F2 is reset (S2
9: Yes, S30: No), the lower row print line mark “▽” is displayed on the display 19, and the lower row print command data corresponding to the lower row print line mark “▽” is stored in the input data buffer 31. (S32).
For example, when the setting key is operated while the “upper print line” is displayed on the display 19, the upper print line mark “Δ” is displayed and the address A0004 of the input data buffer 31 is displayed as shown in FIG. Stores upper row print command data.

【0022】そして、フラグF1がリセットされ(S3
3)、印字基線位置変更に関する先頭の選択内容、例え
ば印字基線位置を通常印字基線位置PS2・PS3に対
して変更しない「通常基線位置」がディスプレイ19に
表示され(S34)、フラグF3がセットされる(S3
5)。
Then, the flag F1 is reset (S3
3), the first selection content regarding the change of the print base line position, for example, "normal base line position" that does not change the print base line position with respect to the normal print base line positions PS2 and PS3 is displayed on the display 19 (S34), and the flag F3 is set. (S3
5).

【0023】次に、選字用ダイヤル3が回転操作された
とき(S2:No、S13:Yes)、フラグF3がセ
ットされているので(S14:No、S19:Ye
s)、印字基線位置変更に関する次の選択内容、例えば
印字基線位置を変更する「基線位置変更」がディスプレ
イ19に表示され(S20)、「基線位置変更」を表示
しているときには(S21:Yes)、フラグF4がセ
ットされるが(S22)、「通常基線位置」を表示して
いるときには(S21:No)、フラグF4がリセット
される(S23)。
Next, when the character selection dial 3 is rotated (S2: No, S13: Yes), the flag F3 is set (S14: No, S19: Ye).
s), the next selection content regarding the print base line position change, for example, "base line position change" for changing the print base line position is displayed on the display 19 (S20), and when "base line position change" is displayed (S21: Yes). ), The flag F4 is set (S22), but when the "normal base line position" is displayed (S21: No), the flag F4 is reset (S23).

【0024】そして、設定キーが操作されたとき(S2
・S3:Yes)、フラグF3がセットされているとき
には(S29:No、S36:Yes)、このフラグF
3がリセットされ(S37)、更にフラグF4がセット
されているときには(S38:Yes)、印字基線位置
に関する先頭の選択内容、例えば印字基線位置を通常印
字基線位置PS2・PS3に対して印字用テープ9の上
端側に4ドット分だけ変更する「基線位置+4」がディ
スプレイ19に表示され(S39)、フラグF5がセッ
トされる(S40)。
When the setting key is operated (S2
-S3: Yes), when the flag F3 is set (S29: No, S36: Yes), this flag F
3 is reset (S37), and when the flag F4 is set (S38: Yes), the first selection content regarding the print base line position, for example, the print base line position is set to the normal print base line positions PS2 and PS3 as the printing tape. “Baseline position + 4” for changing by 4 dots on the upper end side of 9 is displayed on the display 19 (S39), and the flag F5 is set (S40).

【0025】次に、選字用ダイヤル3が回転操作された
とき(S2:No、S13:Yes)、フラグF5がセ
ットされているので(S14・S19:No、S24:
Yes)、印字基線位置に関する次の選択内容、例えば
「基線位置+3」がディスプレイ19に表示される(S
25)。以後、選字用ダイヤル3を連続して回転操作し
たときには、選択内容「基線位置+2」→「基線位置+
1」→「基線位置−1」→「基線位置−2」→「基線位
置−3」→「基線位置−4」→「基線位置+4」が順次
ディスプレイ19に表示される。尚、「基線位置−1」
〜「基線位置−4」は、印字基線位置を通常印字基線位
置PS2・PS3に対して印字用テープ9の下端側への
変更量である。
Next, when the character selection dial 3 is rotated (S2: No, S13: Yes), the flag F5 is set (S14 / S19: No, S24:
Yes), the next selection content regarding the print base line position, for example, "base line position +3" is displayed on the display 19 (S).
25). After that, when the character selection dial 3 is continuously rotated, the selected content “baseline position + 2” → “baseline position +
1 ”→“ baseline position-1 ”→“ baseline position-2 ”→“ baseline position-3 ”→“ baseline position-4 ”→“ baseline position + 4 ”are sequentially displayed on the display 19. "Baseline position-1"
"Base line position-4" is the amount of change of the print base line position to the lower end side of the printing tape 9 with respect to the normal print base line positions PS2 and PS3.

【0026】そして、設定キーが操作されたとき(S2
・S3:Yes)、フラグF5がセットされているので
(S29・S36:No、S41:Yes)、ディスプ
レイ19に表示されている選択内容に対応する印字基線
位置変更量データが上段行印字指令データ或いは下段行
印字指令データ内に格納され(S42)、フラグF5が
リセットされる(S43)。
When the setting key is operated (S2
Since the flag F5 is set (S3: Yes) and the flag F5 is set (S29: S36: No, S41: Yes), the print baseline position change amount data corresponding to the selection content displayed on the display 19 is the upper row print command data. Alternatively, it is stored in the lower row print command data (S42), and the flag F5 is reset (S43).

【0027】例えば、選択内容「基線位置+4」がディ
スプレイ19に表示されているときに選択キーを操作し
たときには、図12に示すようにアドレスA0004 の上段
行印字指令データ内に「+4ドット」の変更量データが
格納される。更に、入力データバッファ31において、
以後選択された文字「D」、「E」、「F」の各コード
データ、「−4ドット」の変更量データが格納された下
段行印字指令データ、選択された文字「G」、「H」、
「I」、「J」の各コードデータが順次格納される。
For example, when the selection key is operated while the selection content "baseline position +4" is displayed on the display 19, as shown in FIG. 12, "+4 dots" is set in the upper row print command data at the address A0004. Change amount data is stored. Furthermore, in the input data buffer 31,
After that, the lower row print command data in which the respective code data of the selected characters "D", "E", "F" and the change amount data of "-4 dots" are stored, the selected characters "G", "H"",
Code data of "I" and "J" are sequentially stored.

【0028】次に、1行印字のために1行印字キーが操
作されたときには(S2:Yes、S3・S4:No、
S7:Yes)、1行印字マーク「>」がディスプレイ
19に表示され且つ1行印字指令データが入力データバ
ッファ31に格納され(S8)、フラグF1がリセット
される(S9)。例えば、図12に示すように入力デー
タバッファ31には、アドレスA000D に1行印字指令デ
ータが格納されるとともに、以後選択された文字
「K」、「L」、「M」のコードデータがアドレスA000
E 〜アドレスA0010 に亙って格納される。尚、選字用ダ
イヤル3が回転操作されたとき(S2:No、S13:
Yes)、フラグF1・F3・F5以外のフラグがセッ
トされているときには(S14・S19・S24:N
o、S26:Yes)、そのセットされているフラグに
対応する選択内容が順次表示される(S27)。また、
設定キーの操作時に(S2・S3:Yes)、その他の
フラグがセットされているときには(S29・S36・
S41:No、S44:Yes)、そのフラグに対応す
る選択内容が設定される(S45)。
Next, when the one-line print key is operated to print one line (S2: Yes, S3, S4: No,
(S7: Yes), the one-line print mark ">" is displayed on the display 19, the one-line print command data is stored in the input data buffer 31 (S8), and the flag F1 is reset (S9). For example, as shown in FIG. 12, the input data buffer 31 stores the one-line print command data at the address A000D, and the code data of the subsequently selected characters “K”, “L”, and “M”. A000
Stored from E to address A0010. When the character selection dial 3 is rotated (S2: No, S13:
Yes), and when flags other than the flags F1, F3, and F5 are set (S14, S19, S24: N
o, S26: Yes), the selection contents corresponding to the set flags are sequentially displayed (S27). Also,
At the time of operating the setting key (S2, S3: Yes), when other flags are set (S29, S36,
(S41: No, S44: Yes), the selection content corresponding to the flag is set (S45).

【0029】次に、印字キーが操作されたときには(S
2:Yes、S3・S4・S7:No、S10:Ye
s)、印字処理制御(図9参照)が実行される(S1
1)。この制御が開始されると、先ず印字に関する種々
のフラグやメモリなどのイニシャライズが実行され(S
50)、再配列処理制御(図10参照)が実行される
(S51)。尚、図12〜図16を参照しながらこの制
御を説明する。この制御が開始されると、図13に示す
ように、先ず入力データバッファ31に格納されている
全てのコードデータが第1再配列メモリ32に格納され
る(S70)。但し、このこれら複数のコードデータの
最後に終了データとして「FF」が追加格納される。
Next, when the print key is operated (S
2: Yes, S3, S4, S7: No, S10: Ye
s), print processing control (see FIG. 9) is executed (S1).
1). When this control is started, various flags relating to printing and initialization of memory etc. are first executed (S
50), rearrangement processing control (see FIG. 10) is executed (S51). The control will be described with reference to FIGS. When this control is started, as shown in FIG. 13, first, all the code data stored in the input data buffer 31 is stored in the first rearrangement memory 32 (S70). However, “FF” is additionally stored as the end data at the end of the code data.

【0030】次に、第1ポインタ34に第1再配列メモ
リ32の先頭アドレスa0000 (以下、この内容をP1と
し、第1ポインタP1という)がセットされ(S7
1)、この第1ポインタP1で指示する第1再配列メモ
リ32のデータが読出され(S72)、読出されたデー
タが1行印字指令データのときには(S73・S85・
S83:No)、第1ポインタP1に次のアドレスがセ
ットされ(S84)、S72に戻る。そして、読出した
データがキャラクタのコードデータのときには上記と同
様の制御が繰り返される。次に、第1ポインタP1が
「アドレスa0004 」のときには上段行印字指令データな
ので(S73:Yes)、第1ポインタP1により第1
再配列メモリ32が検索され(S74)、上段行印字指
令データの次の指令データとして下段行印字指令データ
が格納されているとき(S75:Yes)、図14に示
すように、第1ポインタP1に対応する第2再配列メモ
リ33の「アドレスb0004 」が第2ポインタ35にセッ
ト(以下、同様に第2ポインタP2という)され、下段
行印字指令データ及びこれに続く下段印字行LLに印字
するキャラクタのコードデータが第2ポインタP2以降
の各アドレスに格納される(S76)。
Next, the start address a0000 of the first rearrangement memory 32 (hereinafter, the content is referred to as P1 and the first pointer P1) is set in the first pointer 34 (S7).
1) The data in the first rearrangement memory 32 designated by the first pointer P1 is read (S72), and when the read data is the one-line print command data (S73, S85.
(S83: No), the next address is set in the first pointer P1 (S84), and the process returns to S72. When the read data is character code data, the same control as above is repeated. Next, when the first pointer P1 is "address a0004", since it is the upper row print command data (S73: Yes), the first pointer P1 is used to
When the rearrangement memory 32 is searched (S74) and the lower row print command data is stored as the instruction data next to the upper row print instruction data (S75: Yes), as shown in FIG. 14, the first pointer P1 "Address b0004" of the second rearrangement memory 33 corresponding to is set in the second pointer 35 (hereinafter, also referred to as the second pointer P2), and the lower row print command data and the subsequent lower row print line LL are printed. The character code data is stored in each address after the second pointer P2 (S76).

【0031】次に、上段印字行ULに印字するキャラク
タのコードデータ数UDNが下段印字行LLのコードデ
ータ数LDNより小さいときには(S78・S80:N
o)、図15に示すように第1再配列メモリ32の「ア
ドレスa0008 」にスペースコード「SP」が格納される
(S81)。しかし、コードデータ数UDNがコードデ
ータ数LDNより大きいときには(S78:Yes)、
第2再配列メモリ33の所定のアドレスにスペースコー
ド「SP」が格納される(S79)。尚、両コードデータ
数UDN・LDNが等しいときには(S78:No、S
80:Yes)、S82へ移行する。次に、図16に示
すように第1再配列メモリ32において、第2再配列メ
モリ33に格納したデータを削除し且つ削除したデータ
以降の各データ「>、K、L、M、FF」を夫々移動させ
るなどの整理処理が実行され(S82)、第1再配列メ
モリ32内に検索するデータが存在するときには(S8
3:No)、第1ポインタP1に次に検索するアドレス
として「アドレスb0009 」がセットされる(S84)。
Next, when the code data number UDN of the character to be printed on the upper print line UL is smaller than the code data number LDN of the lower print line LL (S78 / S80: N).
o) As shown in FIG. 15, the space code "SP" is stored in "address a0008" of the first rearrangement memory 32 (S81). However, when the code data number UDN is larger than the code data number LDN (S78: Yes),
The space code "SP" is stored at a predetermined address of the second rearrangement memory 33 (S79). When both code data numbers UDN and LDN are equal (S78: No, S
80: Yes), and proceeds to S82. Next, as shown in FIG. 16, in the first rearrangement memory 32, the data stored in the second rearrangement memory 33 is deleted and each data “>, K, L, M, FF” after the deleted data is deleted. When rearranging processing such as moving each is executed (S82), and there is data to be searched in the first rearrangement memory 32 (S8).
3: No), "address b0009" is set to the first pointer P1 as the address to be searched next (S84).

【0032】そして、以降の各データ「>、K、L、
M」については、S70〜S72、S73・S85:N
o、S83〜S84が繰り返して実行され、終了データ
「FF」により(S83:Yes)、この制御を終了して
リターンする。ところで、下段行印字指令データが存在
しないときには(S75:No)、第2再配列メモリ3
3内において、上段印字行ULのコードデータ数UDN
に相当するスペースコード「SP」が格納される(S7
7)。また、第1ポインタP1に基いて読出したデータ
が下段行印字指令データのときには(S73:No、S
85:Yes)、第1ポインタP1に対応する第2再配
列メモリ33のアドレスが第2ポインタP2にセットさ
れ、下段行印字指令データ及びこれに続く下段印字行L
Lに印字するキャラクタのコードデータが第2ポインタ
P2以降の各アドレスに格納され(S86)、第1再配
列メモリ32において、これら下段行印字指令データ及
び下段印字行LLに印字するキャラクタのコードデータ
が全てスペースコードに変換される(S87)。
Then, each of the following data ">, K, L,
For “M”, S70 to S72, S73 and S85: N
o, S83 to S84 are repeatedly executed, and by the end data "FF" (S83: Yes), this control is ended and the process returns. By the way, when there is no lower row print command data (S75: No), the second rearrangement memory 3
Within 3, the number of code data UDN in the upper print line UL
A space code "SP" corresponding to is stored (S7
7). Further, when the data read based on the first pointer P1 is the lower row print command data (S73: No, S
85: Yes), the address of the second rearrangement memory 33 corresponding to the first pointer P1 is set in the second pointer P2, and the lower-row print command data and the lower-row print row L subsequent thereto are set.
The code data of the character to be printed on L is stored in each address after the second pointer P2 (S86), and the code data of the character to be printed on these lower row print command data and lower row print line LL in the first rearrangement memory 32. Are all converted into space codes (S87).

【0033】次に、印字処理制御にリターンし、第1ポ
インタP1に第1再配列メモリ32の先頭アドレスがセ
ットされ(S52)、この第1ポインタP1に基いて第
1再配列メモリ32のデータが読出され(S53)、こ
の読出したデータが1行印字指令データのときには(S
54・S55:No、S56:Yes)、フラグF1が
リセットされ(S57)、フラグF1に基いて1行印字
に用いるL文字サイズの文字幅の値「48ドット」がR
AM30に格納され(S59)、第1ポインタP1がイ
ンクリメントされ(S60)、S53に戻る。次に、読
出したデータが文字「A」のコードデータのときには
(S54:No、S55:Yes)、L文字サイズに対
応する文字間スペース値、例えば「3ドット」が設定さ
れ(S61)、フラグF1がリセットされているので
(S62:No)、コードデータに対応するドットパタ
ーンデータがパターンデータメモリ29から読出され、
図17に示すように印字バッファ37に格納され(S6
3)、文字「A」の印字が実行され(S65)、S60
へ移行する。但し、2番目のキャラクタ以降の各キャラ
クタの印字の際には、先ず文字間スペースが設けられ、
次にキャラクタ印字が実行される。
Next, returning to the print processing control, the first address of the first rearrangement memory 32 is set in the first pointer P1 (S52), and the data of the first rearrangement memory 32 is set based on the first pointer P1. Is read (S53), and when the read data is one-line print command data (S53)
54.S55: No, S56: Yes), the flag F1 is reset (S57), and the value "48 dots" of the character width of L character size used for one line printing is R based on the flag F1.
It is stored in the AM 30 (S59), the first pointer P1 is incremented (S60), and the process returns to S53. Next, when the read data is the code data of the character "A" (S54: No, S55: Yes), the inter-character space value corresponding to the L character size, for example, "3 dots" is set (S61), and the flag is set. Since F1 is reset (S62: No), the dot pattern data corresponding to the code data is read from the pattern data memory 29,
It is stored in the print buffer 37 as shown in FIG. 17 (S6
3), the character "A" is printed (S65), S60
Move to. However, when printing each character after the second character, a space between characters is first provided,
Next, character printing is executed.

【0034】次に、読出したデータが上段行印字指令デ
ータのときには(S54・S55・S56:No)、フ
ラグF1がセットされ(S58)、フラグF1に基いて
2行印字に用いるSS文字サイズの文字幅の値「16ド
ット」がRAM30に格納され(S59)、S60を経
てS53に戻る。そして、次に読出した文字「D」はS
S文字サイズなので(S54:No、S55:Ye
s)、SS文字サイズに対応する文字間スペース値、例
えば「1ドット」が設定され(S61)、フラグF1が
セットされているので(S62:Yes)、データ合成
処理制御(図11参照)が実行される(S64)。
Next, when the read data is the upper row print command data (S54, S55, S56: No), the flag F1 is set (S58), and the SS character size used for two-line printing is set based on the flag F1. The character width value "16 dots" is stored in the RAM 30 (S59), and returns to S53 via S60. Then, the next read character "D" is S
Because it is S character size (S54: No, S55: Ye
s), the inter-character space value corresponding to the SS character size, for example, "1 dot" is set (S61), and the flag F1 is set (S62: Yes). Therefore, the data synthesis processing control (see FIG. 11) is performed. It is executed (S64).

【0035】この制御が開始されると、先ず第1ポイン
タP1に対応する第2再配列メモリ33のアドレス「b0
005 」が第2ポインタP2にセットされ(S90)、第
1ポインタP1で指示する文字「D」のコードデータが
読出され(S91)、図18に示すようにこのコードデ
ータのドットパターンデータが印字バッファ37内の前
記中央線CLに対応する位置上に格納され(S92)、
上段行印字指令データに印字基線位置変更量dが格納さ
れているときには(S93:Yes)、その基線位置変
更量d(+4ドット)が読出されて印字基線位置変更量
メモリ36に格納され(S94)、図19に示すように
このドットパターンデータを上段行の通常印字基線位置
PS2にシフトさせる為の「4ドット」にこの基線位置
変更量dを加算したドット数分だけドット列方向にシフ
トされる(S96)。
When this control is started, first, the address "b0 of the second rearrangement memory 33 corresponding to the first pointer P1 is stored.
"005" is set to the second pointer P2 (S90), the code data of the character "D" designated by the first pointer P1 is read (S91), and the dot pattern data of this code data is printed as shown in FIG. It is stored on the position corresponding to the center line CL in the buffer 37 (S92),
When the print base line position change amount d is stored in the upper row print command data (S93: Yes), the base line position change amount d (+4 dots) is read and stored in the print base line position change amount memory 36 (S94). ), As shown in FIG. 19, the dot pattern data is shifted in the dot row direction by the number of dots obtained by adding the baseline position change amount d to "4 dots" for shifting to the normal print baseline position PS2 of the upper row. (S96).

【0036】更に、第2ポインタP2で指示する文字
「G」のコードデータが読出され(S97)、図20に
示すようにこのコードデータのドットパターンデータが
印字バッファ37内の下端位置上に合成して格納され
(S98)、同様に下段行印字指令データに印字基線位
置変更量dが格納されているときには(S99:Ye
s)、その基線位置変更量d(−4ドット)が読出され
印字基線位置変更量メモリ36に格納され(S10
0)、ドットパターンデータを下段行の通常印字基線位
置PS3にシフトさせる為の「4ドット」にこの基線位
置変更量dを加算したドット数分だけドット列方向にシ
フトされ(S102)、この制御を終了してリターンす
る。尚、S92で読出したデータが下段行印字指令デー
タであっても、S93〜S102が実行される。また、
S93でNoと判定されたとき及びS99でNoと判定
されたときには、印字基線位置変更量メモリ36に変更
量dとして「0」が夫々格納される。
Further, the code data of the character "G" designated by the second pointer P2 is read (S97), and the dot pattern data of this code data is synthesized on the lower end position in the print buffer 37 as shown in FIG. Are stored (S98), and similarly, when the print base line position change amount d is stored in the lower row print command data (S99: Ye
s), the base line position change amount d (-4 dots) is read out and stored in the print base line position change amount memory 36 (S10).
0), the dot pattern data is shifted in the dot row direction by the number of dots obtained by adding the baseline position change amount d to "4 dots" for shifting to the normal print baseline position PS3 in the lower row (S102), and this control is performed. Ends and returns. Even if the data read in S92 is the lower row print command data, S93 to S102 are executed. Also,
When it is determined No in S93 and No in S99, "0" is stored as the change amount d in the print base line position change amount memory 36, respectively.

【0037】その後、図20に示すように印字バッファ
37に合成して格納された2文字分のドットパターンデ
ータに基いて文字印字処理が実行される(S65)。以
下、同様にして、図16に示すように第1及び第2再配
列メモリ32・33に格納されたデータが、S50〜S
65の印字処理制御により印字され、図21に示すよう
に、印字用テープ9には文字列「ABC、KLM」が印
字領域PEに対応して1行印字されるとともに、文字列
「DEF」が上段印字行ULに印字され且つ文字列「G
HIJ」が下段印字行LLに印字される。しかも、これ
ら文字列「DEF」と文字列「GHIJ」とは、指示し
た印字基線位置変更量dに基いて夫々印字位置変更して
印字される。尚、図16に示す第1及び第2再配列メモ
リ32・33のデータを印字基線位置変更しないで印字
したときには、図22に示すように印字される。
Thereafter, as shown in FIG. 20, character printing processing is executed based on the dot pattern data for two characters which are combined and stored in the print buffer 37 (S65). Similarly, the data stored in the first and second rearrangement memories 32 and 33 as shown in FIG.
Printing is performed by the printing processing control of 65, and as shown in FIG. 21, the character string "ABC, KLM" is printed on the printing tape 9 for one line corresponding to the printing area PE, and the character string "DEF" is also printed. The character string "G" is printed on the upper print line UL.
"HIJ" is printed on the lower print line LL. Moreover, the character strings "DEF" and "GHIJ" are printed with their print positions changed based on the designated print base line position change amount d. When the data in the first and second rearrangement memories 32 and 33 shown in FIG. 16 is printed without changing the print base line position, the data is printed as shown in FIG.

【0028】尚、1行印字用のドットパターンデータと
して、48ドット×48ドットより小さいドット数から
なるドットパターンデータを用いて、1行印字のときに
も印字基線位置を変更可能に構成することも可能であ
る。また、この印字基線位置の最大変更量を「±4ドッ
ト」以上に設定することも可能である。尚、パターンデ
ータメモリ29に3〜4種類の文字サイズのドットパタ
ーンデータを格納し、所望の文字サイズを選択可能に構
成しても良い。尚、印字基線位置変更量データを入力デ
ータバッファ31とは別のメモリに設けることも可能で
ある。
As the dot pattern data for printing one line, dot pattern data having a number of dots smaller than 48 dots × 48 dots should be used so that the print base line position can be changed even when printing one line. Is also possible. Further, it is possible to set the maximum change amount of the print base line position to "± 4 dots" or more. The pattern data memory 29 may store dot pattern data of 3 to 4 different character sizes so that a desired character size can be selected. The print baseline position change amount data may be provided in a memory different from the input data buffer 31.

【0029】以上説明したように、キャラクタの印字基
線位置を通常印字基線位置PS2・PS3に対してテー
プ送り方向と直交方向に可変に設定でき、しかも設定さ
れた印字基線位置となるように印字バッファ37内のド
ットパターンデータがドット列方向にシフトされ、その
シフト結果が印字用テープ9に印字されるので、印字用
テープ9に印字された文字列のレイアウトに種々のバリ
エーションを施すことができる。
As described above, the character print base line position can be variably set in the tape feed direction and the direction orthogonal to the normal print base line positions PS2 and PS3, and the print buffer position is set to the set print base line position. Since the dot pattern data in 37 is shifted in the dot row direction and the shift result is printed on the printing tape 9, various variations can be applied to the layout of the character string printed on the printing tape 9.

【0030】尚、印字用テープ9を手動で引き出しなが
ら印字用テープ9上にキャラクタ印字をするように構成
したものやワイヤードット方式によるテープ印字装置な
ど、種々のテープ印字装置に本発明を適用し得ることは
勿論である。
The present invention is applied to various tape printers such as a printer configured to print characters on the print tape 9 by manually pulling out the print tape 9 or a wire dot tape printer. Of course you can get it.

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

【図1】本発明の構成を示す機能ブロック図である。FIG. 1 is a functional block diagram showing a configuration of the present invention.

【図2】テープ印字装置の平面図である。FIG. 2 is a plan view of the tape printer.

【図3】印字機構の概略平面図である。FIG. 3 is a schematic plan view of a printing mechanism.

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

【図5】印字用テープ及びサーマルヘッドを示す印字機
構の部分正面図である。
FIG. 5 is a partial front view of a printing mechanism showing a printing tape and a thermal head.

【図6】テープ印字制御のルーチンの概略フローチャー
トの一部分である。
FIG. 6 is a part of a schematic flowchart of a tape print control routine.

【図7】テープ印字制御のルーチンの概略フローチャー
トの一部分である。
FIG. 7 is a part of a schematic flowchart of a tape print control routine.

【図8】テープ印字制御のルーチンの概略フローチャー
トの一部分である。
FIG. 8 is a part of a schematic flowchart of a tape print control routine.

【図9】印字処理制御のルーチンの概略フローチャート
である。
FIG. 9 is a schematic flowchart of a print processing control routine.

【図10】再配列処理制御のルーチンの概略フローチャ
ートである。
FIG. 10 is a schematic flowchart of a rearrangement process control routine.

【図11】データ合成処理制御のルーチンの概略フロー
チャートである。
FIG. 11 is a schematic flowchart of a routine of data combination processing control.

【図12】入力データバッファ内のデータを模式的に示
す説明図である。
FIG. 12 is an explanatory diagram schematically showing data in an input data buffer.

【図13】第1及び第2再配列メモリ内のデータを模式
的に示す説明図である。
FIG. 13 is an explanatory diagram schematically showing data in first and second rearrangement memories.

【図14】第1及び第2再配列メモリ内のデータを模式
的に示す説明図である。
FIG. 14 is an explanatory diagram schematically showing data in first and second rearrangement memories.

【図15】第1及び第2再配列メモリ内のデータを模式
的に示す説明図である。
FIG. 15 is an explanatory diagram schematically showing data in first and second rearrangement memories.

【図16】第1及び第2再配列メモリ内のデータを模式
的に示す説明図である。
FIG. 16 is an explanatory diagram schematically showing data in first and second rearrangement memories.

【図17】印字バッファ内のドットパターンデータを模
式的に示す説明図である。
FIG. 17 is an explanatory diagram schematically showing dot pattern data in a print buffer.

【図18】印字バッファ内のドットパターンデータを模
式的に示す説明図である。
FIG. 18 is an explanatory diagram schematically showing dot pattern data in a print buffer.

【図19】印字バッファ内のドットパターンデータを模
式的に示す説明図である。
FIG. 19 is an explanatory diagram schematically showing dot pattern data in a print buffer.

【図20】印字バッファ内のドットパターンデータを模
式的に示す説明図である。
FIG. 20 is an explanatory diagram schematically showing dot pattern data in a print buffer.

【図21】2行印字の各印字行の文字列を印字基線位置
変更して印字用テープに印字した印字例を示す例示図で
ある。
FIG. 21 is an exemplary diagram showing a print example in which the character string of each print line of two-line print is changed on the print base line and printed on the print tape.

【図22】2行印字の各印字行の文字列を印字基線位置
変更しないで印字用テープに印字した印字例を示す例示
図である。
FIG. 22 is an exemplary diagram showing a print example in which a character string of each print line of two-line print is printed on a printing tape without changing the print base line position.

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

1 テープ印字装置 3 選字用ダイヤル 4 キーボード部 5 選択キー 7 サーマルヘッド 9 印字用テープ 27 CPU 28 ROM(プログラムメモリ) 29 ROM(パターンデータメモリ) 30 RAM 31 入力データバッファ 36 印字基線位置変更量メモリ 37 印字バッファ C 制御装置 PS2 上段行の通常印字基線位置 PS3 下段行の通常印字基線位置 1 Tape printing device 3 Character selection dial 4 Keyboard section 5 Selection key 7 Thermal head 9 Printing tape 27 CPU 28 ROM (program memory) 29 ROM (pattern data memory) 30 RAM 31 Input data buffer 36 Printing baseline position change amount memory 37 Print buffer C Controller PS2 Normal print baseline position of upper row PS3 Normal print baseline position of lower row

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 B41J 3/46 9110−2C 5/30 A 8907−2C G06K 15/10 2116−5L 8804−2C B41J 3/12 C ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location B41J 3/46 9110-2C 5/30 A 8907-2C G06K 15/10 2116-5L 8804-2C B41J 3/12 C

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 キャラクタのコードデータ及び種々の指
令信号を入力する為の入力手段と、入力されたコードデ
ータを格納する為の入力データバッファと、多数のキャ
ラクタのドットパターンデータを格納したパターンデー
タ記憶手段と、印字されるキャラクタのドットパターン
データをパターンデータ記憶手段から受けて格納する為
の印字バッファと、キャラクタが印字される印字媒体テ
ープ上にドット列にて印字可能な印字ヘッドと、印字バ
ッファからドットパターンデータのドット列データを順
次受けて印字ヘッドを制御する制御手段とを備えたテー
プ印字装置において、 前記印字媒体テープに印字するときの印字基線位置をテ
ープ送り方向と直交方向に可変に設定する為の基線位置
設定手段と、 前記基線位置設定手段の出力を受け、設定された印字基
線位置でもって印字媒体テープ上に印字するように、印
字バッファ内のドットパターンデータをドット列方向に
シフトさせるパターンデータシフト手段とを備えたこと
を特徴とするテープ印字装置。
1. Input means for inputting character code data and various command signals, an input data buffer for storing input code data, and pattern data storing dot pattern data for many characters. Storage means, a print buffer for receiving and storing dot pattern data of a character to be printed from the pattern data storage means, a print head capable of printing a dot array on a print medium tape on which a character is printed, and a print In a tape printer having control means for controlling a print head by sequentially receiving dot row data of dot pattern data from a buffer, a print base line position when printing on the print medium tape is varied in a direction orthogonal to a tape feed direction. A base line position setting means for setting, and receiving the output of the base line position setting means, As printing with a constant been printed base line located on the print medium tape, the tape printing apparatus characterized by comprising a pattern data shift means for shifting the dot pattern data in the dot column direction in the print buffer.
JP9149091A 1991-03-28 1991-03-28 Tape printer Pending JPH0596790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9149091A JPH0596790A (en) 1991-03-28 1991-03-28 Tape printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9149091A JPH0596790A (en) 1991-03-28 1991-03-28 Tape printer

Publications (1)

Publication Number Publication Date
JPH0596790A true JPH0596790A (en) 1993-04-20

Family

ID=14027862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9149091A Pending JPH0596790A (en) 1991-03-28 1991-03-28 Tape printer

Country Status (1)

Country Link
JP (1) JPH0596790A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5649775A (en) * 1993-11-04 1997-07-22 Brother Kogyo Kabushiki Kaisha Tape printing apparatus
JP2000071520A (en) * 1998-08-28 2000-03-07 Seiko Epson Corp Method for printing image and apparatus therefor
US6290327B1 (en) 1998-03-27 2001-09-18 Seiko Epson Corporation Image-forming device and printing apparatus incorporating the device as well as image-forming method therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5649775A (en) * 1993-11-04 1997-07-22 Brother Kogyo Kabushiki Kaisha Tape printing apparatus
US6290327B1 (en) 1998-03-27 2001-09-18 Seiko Epson Corporation Image-forming device and printing apparatus incorporating the device as well as image-forming method therefor
JP2000071520A (en) * 1998-08-28 2000-03-07 Seiko Epson Corp Method for printing image and apparatus therefor

Similar Documents

Publication Publication Date Title
JP2536322B2 (en) Tape printing device
JPH0596789A (en) Tape printer
JPH05177898A (en) Bar code printer
JP2546194B2 (en) Tape printer capable of printing multiple lines of data
JPH0596790A (en) Tape printer
JP2513441B2 (en) Tape printing device capable of printing multiple lines
JP3047751B2 (en) Tape printer capable of printing on multiple print lines
JP2621726B2 (en) Tape printer
JP3063544B2 (en) Tape printer
JPH08106370A (en) Document processor
JP2976416B2 (en) Barcode printing device
JP3060443B2 (en) Printing device
JP3087447B2 (en) Printing device
JPH06198962A (en) Preparing device for registration dot pattern data of tape printer
JP2560650B2 (en) Tape printer
JP2508933C (en)
JP2513441C (en)
JP3292393B2 (en) Document processing device
JP2546194C (en)
JPH08314924A (en) Document processor
JP3123376B2 (en) Printing device
JP2606126B2 (en) Tape recorder
JP2974095B2 (en) Barcode printing device
JP3479359B2 (en) Tape printer
JP2985530B2 (en) Tape printer