JP3047751B2 - Tape printer capable of printing on multiple print lines - Google Patents

Tape printer capable of printing on multiple print lines

Info

Publication number
JP3047751B2
JP3047751B2 JP26520794A JP26520794A JP3047751B2 JP 3047751 B2 JP3047751 B2 JP 3047751B2 JP 26520794 A JP26520794 A JP 26520794A JP 26520794 A JP26520794 A JP 26520794A JP 3047751 B2 JP3047751 B2 JP 3047751B2
Authority
JP
Japan
Prior art keywords
data
print
tape
printing
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP26520794A
Other languages
Japanese (ja)
Other versions
JPH07266626A (en
Inventor
和久 広野
康代 大塩
崇 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP26520794A priority Critical patent/JP3047751B2/en
Publication of JPH07266626A publication Critical patent/JPH07266626A/en
Application granted granted Critical
Publication of JP3047751B2 publication Critical patent/JP3047751B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 capable of printing a character on each of a plurality of print lines obtained by dividing a print area on a print medium tape into a plurality of print areas.

【0002】[0002]

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

【0003】[0003]

【発明が解決しようとする課題】一般に、このテープ印
字装置を用いて、例えばファイルの「表題」や「内容」
を印字用テープに印字し、この印字された印字用テープ
をファイルの所定の貼付位置に貼付する場合が多い。
Generally, using this tape printing apparatus, for example, the "title" and "content" of a file are used.
Is often printed on a printing tape, and the printed printing tape is attached to a predetermined attaching position of a file in many cases.

【0004】しかし、本願出願人が提案した印字位置変
更可能な印字装置においては、印字用テープに印字する
キャラクタの印字位置をセンタに揃える印字モードと下
側に揃える下揃え印字モードとしか設けていないので、
所定の貼付位置に貼付する印字用テープに印字可能な行
数は1行に制限され、また文字数は、その貼付位置の長
さで決定される文字数に制限されるという問題がある。
[0004] However, the printing device capable of changing the printing position proposed by the applicant of the present application has only a printing mode in which the printing position of the character to be printed on the printing tape is centered and a bottom-aligned printing mode in which the printing position of the character is aligned downward. Since there is no,
There is a problem that the number of lines that can be printed on the printing tape to be attached to a predetermined attachment position is limited to one line, and the number of characters is limited to the number of characters determined by the length of the attachment position.

【0005】ところで、この印字装置に印字用テープの
幅方向の上側に揃えて印字する上揃え印字モードを別途
設けたとしても、上揃えモードで印字した文字と下揃え
印字モードで印字した文字とは印字用テープの幅方向の
同位相の位置に印字できないので、上記と同様の問題が
ある。
[0005] By the way, even if this printing apparatus is provided with an upper alignment printing mode for aligning and printing the upper side in the width direction of the printing tape, characters printed in the upper alignment mode and characters printed in the lower alignment printing mode are different. Cannot print at the same phase position in the width direction of the printing tape, and thus has the same problem as described above.

【0006】テープ印字装置は、ほぼ制限のない長さの
テープに連続して印字するものであるから、一般のワー
ドプロセッサのように印字ヘッドを印字媒体に沿って往
復移動させかつそれと直角方向に印字媒体を送ることに
よって印字媒体全面に複数行印字したり、印字媒体の左
右幅の範囲で印字データに自動的に改行を付して印字す
ることができない。
[0006] Since a tape printing apparatus prints continuously on a tape of almost unlimited length, a printing head is reciprocated along a printing medium like a general word processor and printing is performed at right angles to the printing head. By feeding the medium, it is not possible to print a plurality of lines on the entire surface of the print medium, or to automatically print a new line within the range of the left and right widths of the print medium.

【0007】本発明の目的は、印字媒体テープ上の印字
領域を複数に分割した複数の印字行を設け、入力したキ
ャラクタを所望の印字行に印字でき、また複数の印字行
にわたて多数のキャラクタが印字できるテープ印字装置
を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a plurality of print lines obtained by dividing a print area on a print medium tape into a plurality of print lines so that an input character can be printed on a desired print line. An object of the present invention is to provide a tape printing device capable of printing characters.

【0008】[0008]

【課題を解決するための手段】請求項1に係る発明の
ープ印字装置は、図1に大略構成を示すように、印字媒
体テープの幅に対応配置された印字ヘッドと、その印字
ヘッドと前記テープをそのテープの幅方向と直交する長
手方向に相対移動させる移動手段と、印字されるべきキ
ャラクタのデータを入力する入力手段と、少なくとも前
記印字ヘッドに対応する前記テープ上の印字領域を複数
に分割した複数の印字行のうちの何れかの印字行を、入
力されたキャラクタと対応づけて設定するための印字設
定手段と、入力されたキャラクタのデータを、前記印字
設定手段の出力を受けて、複数行印字のために前記テー
プ幅方向に対応して再配列して印字データに形成するデ
ータ形成手段と、多数のキャラクタのデータに対応した
パターンデータを格納したパターンデータ記憶手段とを
備え、前記データ形成手段は、前記入力手段により入力
されたキャラクタのデータ及び前記印字設定手段からの
設定データを入力順に格納するための入力データバッフ
ァと、その入力データバッファから供給されるキャラク
タのデータを前記設定データに基づいて複数行印字のた
めに再配列し、その再配列された各行のキャラクタのデ
ータに対応するパターンデータを前記パターンデータ記
憶手段から読み出して、前記テープの幅方向に配置され
る複数行に合成する合成手段を備えるものである。
According to a first aspect of the present invention, there is provided a tape printing apparatus comprising: a printing head arranged to correspond to a width of a printing medium tape; Moving means for relatively moving the print head and the tape in a longitudinal direction orthogonal to the width direction of the tape; input means for inputting data of a character to be printed; and at least a tape on the tape corresponding to the print head. A print setting means for setting any one of a plurality of print lines obtained by dividing the print area into a plurality of print lines in association with an input character; receiving an output means, said data forming means and re arranged corresponding to the tape width direction is formed on the print data for multiple lines printed, corresponding to the data of many character
Pattern data storage means for storing pattern data
Wherein the data forming means is input by the input means.
Character data and the
Input data buffer for storing setting data in input order
And the character supplied from the input data buffer.
Data of multiple lines based on the setting data.
For each character in each reordered line.
The pattern data corresponding to the data
Read from the storage means and arranged in the width direction of the tape.
And a synthesizing means for synthesizing into a plurality of rows .

【0009】また、請求項2に係る発明のテープ印字装
置は、請求項1に係る発明の構成に加え、前記データ形
成手段は、前記テープの幅方向に対応する全ての行の印
字データを並行して前記印字ヘッドに供給するとともに
前記テープの長手方向に対応するデータを順次前記印字
ヘッドに供給する構成とすることができる。
A tape printing apparatus according to the second aspect of the present invention.
In addition to the configuration of the invention according to claim 1, the data forming means supplies print data of all rows corresponding to a width direction of the tape to the print head in parallel and a longitudinal direction of the tape. May be sequentially supplied to the print head.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【作用】請求項1に係る発明のテープ印字装置において
は、入力手段から印字されるべきキャラクタのデータを
入力するとともに、印字設定手段でテープ上の複数の印
字行のうちのいずれかの印字行を、キャラクタのデータ
と対応づけて設定する。データ形成手段では、入力され
たキャラクタのデータ及び印字設定手段からの設定デー
タは入力順に入力データバッファに格納され、その入力
データバッファから供給されるキャラクタのデータを設
定データに基づいて、合成手段は、複数行に再配列し、
その再配列された各行のキャラクタのデータに対応する
パターンデータをパターンデータ記憶手段から読み出し
て、テープの幅方向に配置される複数行に合成すること
ができる。これにより、テープの幅方向に複数行の印字
をすることができるとともに、複数行の内の所望の行の
みにも印字をすることができるものである。
In the tape printer according to the first aspect of the present invention, data of a character to be printed is input from input means, and any one of a plurality of print lines on the tape is printed by the print setting means. Is set in association with character data. In the data forming means,
Character data and setting data from the print setting
Data are stored in the input data buffer in the order of input,
Set the character data supplied from the data buffer.
Based on the constant data, the synthesizing unit rearranges the data into a plurality of rows,
Corresponding to the data of the characters in each of the rearranged rows
Read pattern data from pattern data storage
Into multiple lines arranged in the width direction of the tape.
Can be. Thus, printing can be performed on a plurality of lines in the width direction of the tape, and printing can be performed only on a desired line among the plurality of lines.

【0013】また、請求項2に係る発明のテープ印字装
置においては、請求項1に係る発明の作用に加え、テー
プの幅方向に対応する全ての行のデータを並行して印字
ヘッドに供給するとともにテープの長手向に対応するデ
ータを順次印字ヘッドに供給することによって、印字ヘ
ッドとテープをテープの長手方向に相対移動しながら複
数行を同時に印字することができる。
[0013] A tape printing apparatus according to the second aspect of the present invention.
In addition, in addition to the operation of the invention according to claim 1, in addition to supplying the data of all the rows corresponding to the width direction of the tape to the print head in parallel, the data corresponding to the longitudinal direction of the tape is sequentially transmitted to the print head. By supplying, a plurality of lines can be simultaneously printed while the print head and the tape are relatively moved in the longitudinal direction of the tape.

【0014】[0014]

【0015】[0015]

【0016】[0016]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】本実施例は、漢字やひらがなやカタカナ及
びアルファベット文字などの多数のキャラクタを印字用
テープ(印字媒体テープ)に印字するテープ印字装置に
本発明を適用した場合のものである。
In this embodiment, 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).

【0018】図2に示すように、テープ印字装置1の本
体フレーム2の前部には印字するための文字や記号(以
下、キャラクタという)を選択するための環状の選字用
ダイヤル3が回転自在に配設されるとともに、キーボー
ド部4が配設され、選字用ダイヤル3の後方には6文字
分表示可能な液晶ディスプレイ19が設けられている。
この選字用ダイヤル3の中央部には、選字用ダイヤル3
の回転操作で選択したキャラクタを確定したり或いは印
字に関する設定内容を確定するための設定キー5が設け
られている。更に、選字用ダイヤル3の後方の本体フレ
ーム2内には印字機構PMが内蔵されている。
As shown in FIG. 2, an annular character selection dial 3 for selecting characters or symbols (hereinafter referred to as characters) for printing is rotated at the front of the main body frame 2 of the tape printer 1. A keyboard unit 4 is provided freely, and a liquid crystal display 19 capable of displaying six characters is provided behind the character selection dial 3.
In the center of the character selection dial 3, there is a character selection dial 3.
A setting key 5 is provided for confirming the character selected by the rotation operation or for confirming the setting contents relating to printing. Further, a printing mechanism PM is built in the main body frame 2 behind the character selection dial 3.

【0019】前記選字用ダイヤル3には1回転で50箇
所の停止位置が設けられており、選字用ダイヤル3の上
面にはこれら50箇所の停止位置の夫々に対応させてキ
ャラクタのイメージが2列に描かれている。尚、符号6
は選字位置マークである。
The character selection dial 3 is provided with 50 stop positions for one rotation, and a character image corresponding to each of the 50 stop positions is provided on the upper surface of the character selection dial 3. It is drawn in two columns. Note that reference numeral 6
Is a character selection position mark.

【0020】キーボード部4には、「ひらがな」と「カ
タカナ」と「アルファベット」との入力を択一的に切換
えるための文字種切換えキー、変換キー及び無変換キ
ー、2行印字を指示する2行印字キー、1行印字を指示
する1行印字キー、印字を実行する印字キー、キャラク
タの書体を選択する書体選択キー、印字用テープ9をテ
ープ送りするためのテープ送りキー、電源をON・OF
Fするための電源スイッチなどが設けられている。
A keyboard unit 4 has a character type switching key for selectively switching between input of "Hiragana", "Katakana" and "Alphabet", a conversion key and a non-conversion key, and two lines for instructing two-line printing. Print key, one-line print key for instructing one-line printing, print key for executing printing, font selection key for selecting character font, tape feed key for feeding tape 9 for printing, power ON / OFF
A power switch and the like for turning on the power are provided.

【0021】次に、図3に基づいて印字機構PMについ
て簡単に説明すると、矩形状のテープ収納カセットCS
には、透明なフィルムからなる印字用テープ9が巻装さ
れたテープスプール8と、インクリボン12が巻装され
たリボン供給スプール13と、このインクリボン12を
巻取る巻取りスプール14と、印字用テープ9と同一幅
を有する両面テープ15が剥離紙を外側にして巻装され
た供給スプール16と、これら印字用テープ9と両面テ
ープ15とを接合させる接合ローラとが回転自在に設け
られている。
Next, the printing mechanism PM will be briefly described with reference to FIG.
A tape spool 8 on which a printing tape 9 made of a transparent film is wound; a ribbon supply spool 13 on which an ink ribbon 12 is wound; a winding spool 14 for winding the ink ribbon 12; A supply spool 16 on which a double-sided tape 15 having the same width as the printing tape 9 is wound with the release paper outside, and a joining roller for joining the printing tape 9 and the double-sided tape 15 are provided rotatably. I have.

【0022】印字用テープ9とインクリボン12とが重
なる位置には、サーマルヘッド7が立設され、これら印
字用テープ9とインクリボン12とをサーマルヘッド7
に押圧するプラテンローラ17と両テープ9・15を接
合ローラ10に押圧する送りローラ45とは支持体46
に回転可能に枢支されている。このサーマルヘッド7に
は、図5に示すように48個の発熱素子からなる発熱素
子群11が上下方向すなわちテープの長手方向と直角な
幅方向に列設されている。
At a position where the printing tape 9 and the ink ribbon 12 overlap with each other, a thermal head 7 is erected, and the printing tape 9 and the ink ribbon 12 are attached to the thermal head 7.
The platen roller 17 pressing the tapes 9 and 15 and the feed roller 45 pressing the tapes 9 and 15 against the joining roller 10 include a support 46.
It is rotatably pivoted. In the thermal head 7, as shown in FIG. 5, a heating element group 11 composed of 48 heating elements is arranged in the vertical direction, that is, in the width direction perpendicular to the longitudinal direction of the tape.

【0023】従って、接合ローラ10と巻取りスプール
14とがテープ送りモータ(図4参照)18で所定の回
転方向に夫々同期して駆動されながら発熱素子群11に
通電されたとき、印字用テープ9上には図5に示すよう
に複数のドット列により文字が印字され、しかも印字用
テープ9は両面テープ15を接合した状態でテープ送り
方向Aすなわちテープの長手方向にテープ送りされて本
体フレーム2外に送出される。尚印字機構PMは公知の
構成(例えば特開平2−106555号公報)と同じで
ある。
Accordingly, when the heating element group 11 is energized while the joining roller 10 and the take-up spool 14 are driven synchronously in a predetermined rotation direction by a tape feed motor (see FIG. 4) 18, the printing tape As shown in FIG. 5, characters are printed on the printhead 9 in a plurality of dot rows, and the printing tape 9 is fed in the tape feed direction A, that is, in the longitudinal direction of the tape, with the double-sided tape 15 joined thereto. 2 sent out. The printing mechanism PM has the same configuration as a known configuration (for example, Japanese Patent Laid-Open No. 2-106555).

【0024】次に、テープ印字装置1の制御系は図4の
ブロック図に示すように構成されている。
Next, the control system of the tape printer 1 is configured as shown in the block diagram of FIG.

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

【0026】制御装置Cは、CPU27と、CPU27
にデータバスなどのバス26を介して接続された入出力
インターフェイス25、ROM28・29及びRAM3
0とから構成されている。この制御装置Cで、複数の印
字行の印字データを形成するためのデータ形成手段が構
成される。
The control device C comprises a CPU 27 and a CPU 27
Input / output interface 25, ROMs 28 and 29, and RAM 3 connected to a data bus or the like via a bus 26.
0. The control device C constitutes data forming means for forming print data of a plurality of print lines.

【0027】ROM(プログラムメモリ)28には、選
字用ダイヤル3で選択されたコードデータに対応させて
表示機構DMを制御する表示制御プログラム、設定キー
5が操作されたときのキャラクタのコードデータや印字
の設定内容に関する種々の設定データを入力データバッ
ファ31に格納する制御プログラム、印字バッファ37
のデータを順次読出してサーマルヘッド7とテープ送り
モータ18とを駆動制御する駆動制御プログラム、後述
のテープ印字制御の制御プログラムなどが格納されてい
る。
A ROM (program memory) 28 has a display control program for controlling the display mechanism DM corresponding to the code data selected by the character selection dial 3, and the code data of the character when the setting key 5 is operated. A control program for storing various setting data relating to print settings and print contents in the input data buffer 31;
And a drive control program for sequentially controlling the thermal head 7 and the tape feed motor 18 to read out the data, and a control program for tape printing control described later.

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

【0029】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つのアドレスが格納される。
The input data buffer 31 of the RAM 30 stores code data of characters to be printed and various setting data relating to print setting contents (refer to FIG. 12, the head 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 starting address is a0000).
3, the code data of the lower row of the two-line printing is stored (see FIG. 13, the head 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.

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

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

【0032】このテープ印字装置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
Clear 1 to 38 and display 1 on the display 19
Initial setting such as displaying a line print mark ">" and storing 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,... Are 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.

【0033】そして、設定キーが操作されたときに(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 is set (S29 / S36 / S41 / S4)
4: No), the character being displayed on the display 19 is determined, and its code data is stored in the input data buffer 31.
(S46). For example, 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", " The code data “C” is sequentially stored in the input data buffer 31.

【0034】次に、2行印字を実行するために2行印字
キーを操作したときには(S2:Yes、S3:No、
S4: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 a two-line printing key is operated to execute two-line printing (S2: Yes, S3: No,
S4: Yes) The first selection content regarding the two-line printing, for example, “upper printing line” is displayed on the display 19 (S4: Yes).
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 selection content regarding two-line printing, for example, “lower printing 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).

【0035】そして、設定キーが操作されたとき(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 and 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 line print line mark “▽” is displayed on the display 19, and the lower line print command data corresponding to the lower line print line mark “▽” is stored in the input data buffer 31. (S32).
For example, when the setting key is operated while “upper print line” is displayed on the display 19, an upper print line mark “△” is displayed and the address A0004 of the input data buffer 31 is displayed as shown in FIG. Upper row print command data is stored.

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

【0037】次に、選字用ダイヤル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), when the next selection regarding the change of the print base line position, for example, “change base line position” for changing the print base line position is displayed on the display 19 (S20), and when “change base line position” is displayed (S21: Yes) Although the flag F4 is set (S22), when the "normal base line position" is displayed (S21: No), the flag F4 is reset (S23).

【0038】そして、設定キーが操作されたとき(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
When the flag F3 is set (S3: Yes), the flag F3 is set (S29: No, S36: Yes).
3 is reset (S37), and when the flag F4 is set (S38: Yes), the first selection of the print base line position, for example, the print base line position is set to the normal print base position PS2 / PS3 with respect to the printing tape. “Baseline position + 4”, which is changed by 4 dots, is displayed on the display 19 at the upper end side of 9 (S39), and the flag F5 is set (S40).

【0039】次に、選字用ダイヤル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 selecting dial 3 is rotated (S2: No, S13: Yes), the flag F5 is set (S14 / S19: No, S24: No).
Yes), the next selection of the print base line position, for example, “base line position + 3” is displayed on the display 19 (S)
25). Thereafter, when the character selection dial 3 is continuously rotated, the selection 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. In addition, "baseline position-1"
-"Baseline position -4" is a change of the print baseline position to the lower end side of the printing tape 9 with respect to the normal print baseline positions PS2 and PS3.

【0040】そして、設定キーが操作されたとき(S2
・S3:Yes)、フラグF5がセットされているので
(S29・S36:No、S41:Yes)、ディスプ
レイ19に表示されている選択内容に対応する印字基線
位置変更量データが上段行印字指令データ或いは下段行
印字指令データ内に格納され(S42)、フラグF5が
リセットされる(S43)。
When the setting key is operated (S2
(S3: Yes) Since the flag F5 is set (S29 / S36: No, S41: Yes), the print base line position change amount data corresponding to the selection 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).

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

【0042】次に、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 printing key is operated for one-line printing (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, in the input data buffer 31, one-line print command data is stored at an address A000D, and code data of characters "K", "L", and "M" selected thereafter are stored in an address. A000
It is stored from E to address A0010. When the character selection dial 3 is rotated (S2: No, S13:
Yes), when flags other than the flags F1, F3, F5 are set (S14, S19, S24: N
o, S26: Yes), selection contents corresponding to the set flag are sequentially displayed (S27). Also,
When the setting key is operated (S2 · S3: Yes), when other flags are set (S29 · S36 ·
(S41: No, S44: Yes), selection contents corresponding to the flag are set (S45).

【0043】次に、印字キーが操作されたときには(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, first, various flags related to printing and a memory are initialized (S
50), rearrangement processing control (see FIG. 10) is executed (S51). This control will be described with reference to FIGS. When this control is started, as shown in FIG. 13, first, all code data stored in the input data buffer 31 is stored in the first rearrangement memory 32 (S70). However, "FF" is additionally stored as end data at the end of the plurality of code data.

【0044】次に、第1ポインタ34に第1再配列メモ
リ32の先頭アドレスa0000 (以下、この内容をP1と
し、第1ポインタP1という)がセットされ(S7
1)、この第1ポインタP1で指示する第1再配列メモ
リ32のデータが読出され(S72)、読出されたデー
タが1行印字指令データのときには(S73・S85・
S83:No)、第1ポインタP1に次のアドレスがセ
ットされ(S84)、S72に戻る。そして、読出した
データがキャラクタのコードデータのときには上記と同
様の制御が繰り返される。
Next, the start address a0000 of the first rearrangement memory 32 (hereinafter, this content is referred to as P1 and the first pointer P1) is set in the first pointer 34 (S7).
1) The data of the first rearrangement memory 32 indicated by the first pointer P1 is read (S72), and when the read data is one-line print command data (S73 / S85 /
(S83: No), the next address is set to the first pointer P1 (S84), and the process returns to S72. When the read data is character code data, the same control as described above is repeated.

【0045】次に、第1ポインタP1が「アドレスa000
4 」のときには上段行印字指令データなので(S73:
Yes)、第1ポインタP1により第1再配列メモリ3
2が検索され(S74)、上段行印字指令データの次の
指令データとして下段行印字指令データが格納されてい
るとき(S75:Yes)、図14に示すように、第1
ポインタP1に対応する第2再配列メモリ33の「アド
レスb0004 」が第2ポインタ35にセット(以下、同様
に第2ポインタP2という)され、下段行印字指令デー
タ及びこれに続く下段印字行LLに印字するキャラクタ
のコードデータが第2ポインタP2以降の各アドレスに
格納される(S76)。ここで、入力データバッファ3
1において、上段行印字指令データに続いて下段行印字
指令データが格納されているときには、下段印字指令デ
ータはこの指令データに続くコードデータについて、印
字する印字行を設定するとともに、その印字位置も設定
される。
Next, the first pointer P1 is set to "address a000
4 "is upper row print command data (S73:
Yes), the first reordering memory 3 is determined by the first pointer P1.
Is retrieved (S74), and when the lower row print command data is stored as the next command data of the upper row print command data (S75: Yes), as shown in FIG.
The “address b0004” of the second rearrangement memory 33 corresponding to the pointer P1 is set in the second pointer 35 (hereinafter, also referred to as a second pointer P2), and the lower row print command data and the lower row print line LL subsequent thereto are set. The code data of the character to be printed is stored in each address after the second pointer P2 (S76). Here, the input data buffer 3
In step 1, when the lower row print command data is stored following the upper row print command data, the lower print command data sets the print line to be printed for the code data following this command data, and also sets the print position. Is set.

【0046】次に、上段印字行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 the "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 in the second rearrangement memory 33 (S79). When the 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. Arrangement processing such as moving each is performed (S82), and when data to be searched exists in the first rearrangement memory 32 (S8).
3: No), “address b0009” is set to the first pointer P1 as the next search address (S84).

【0047】そして、以降の各データ「>、K、L、
M」については、S70〜S72、S73・S85:N
o、S83〜S84が繰り返して実行され、終了データ
「FF」により(S83:Yes)、この制御を終了して
リターンする。
Then, each subsequent data ">, K, L,
M ”, S70 to S72, S73 and S85: N
o, S83 to S84 are repeatedly executed, and with the end data “FF” (S83: Yes), this control is ended and the routine returns.

【0048】ところで、下段行印字指令データが存在し
ないときには(S75:No)、第2再配列メモリ33
内において、上段印字行ULのコードデータ数UDNに
相当するスペースコード「SP」が格納される(S7
7)。また、第1ポインタP1に基づいて読出したデー
タが下段行印字指令データのときには(S73:No、
S85:Yes)、第1ポインタP1に対応する第2再
配列メモリ33のアドレスが第2ポインタP2にセット
され、下段行印字指令データ及びこれに続く下段印字行
LLに印字するキャラクタのコードデータが第2ポイン
タP2以降の各アドレスに格納され(S86)、第1再
配列メモリ32において、これら下段行印字指令データ
及び下段印字行LLに印字するキャラクタのコードデー
タが全てスペースコードに変換される(S87)。
If the lower row print command data does not exist (S75: No), the second rearrangement memory 33
, A space code “SP” corresponding to the code data number UDN of the upper printing line UL is stored (S7).
7). When the data read based on the first pointer P1 is the lower row print command data (S73: No,
S85: Yes), the address of the second rearrangement memory 33 corresponding to the first pointer P1 is set to the second pointer P2, and the lower row print command data and the code data of the character to be printed on the lower row print line LL following this are stored. It is stored at each address after the second pointer P2 (S86), and in the first rearrangement memory 32, the lower row print command data and the code data of the characters to be printed on the lower row LL are all converted into space codes ( S87).

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

【0050】次に、読出したデータが上段行印字指令デ
ータのときには(S54・S55・S56:No)、フ
ラグF1がセットされ(S58)、フラグF1に基づい
て2行印字に用いるSS文字サイズの文字幅の値「16
ドット」がRAM30に格納され(S59)、S60を
経てS53に戻る。そして、次に読出した文字「D」は
SS文字サイズなので(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 based on the flag F1, the SS character size used for 2-line printing is set. Character width value "16
The "dot" is stored in the RAM 30 (S59), and the process returns to S53 via S60. Then, the next read character "D" is the SS character size (S54: No, S55: Ye).
s) Since 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), the data synthesis processing control (see FIG. 11) is performed. It is executed (S64).

【0051】この制御が開始されると、先ず第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
005 "is set in 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 at a 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 out and stored in the print base line position change amount memory 36 (S94). 19), as shown in FIG. 19, the dot pattern data is shifted in the dot column direction by the number of dots obtained by adding the base line position change amount d to "4 dots" for shifting the dot pattern data to the normal printing base line position PS2 in the upper row. (S96).

【0052】更に、第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" indicated by the second pointer P2 is read out (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. 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 base line position change amount d to “4 dots” for shifting the dot pattern data to the normal printing base line position PS3 in the lower row (S102). And returns. Note that, even if the data read in S92 is lower row print command data, S93 to S102 are executed. When No is determined in S93 and No is determined in S99, “0” is stored as the change amount d in the print base line position change amount memory 36, respectively.

【0053】その後、図20に示すように印字バッファ
37に合成して格納された2文字分のドットパターンデ
ータに基づいて文字印字処理が実行される(S65)。
以下、同様にして、図16に示すように第1及び第2再
配列メモリ32・33に格納されたデータが、S50〜
S65の印字処理制御により印字され、図21に示すよ
うに、印字用テープ9には文字列「ABC、KLM」が
印字領域PEに対応して1行印字されるとともに、文字
列「DEF」が上段印字行ULに印字され且つ文字列
「GHIJ」が下段印字行LLに印字される。しかも、
これら文字列「DEF」と文字列「GHIJ」とは、指
示した印字基線位置変更量dに基づいて夫々印字位置変
更して印字される。尚、図16に示す第1及び第2再配
列メモリ32・33のデータを印字基線位置変更しない
で印字したときには、図22に示すように印字される。
Thereafter, as shown in FIG. 20, a character printing process is executed based on the dot pattern data of two characters which are combined and stored in the print buffer 37 (S65).
Hereinafter, similarly, the data stored in the first and second rearrangement memories 32 and 33 as shown in FIG.
The character string "ABC, KLM" is printed on the printing tape 9 in one line corresponding to the print area PE, and the character string "DEF" is printed on the printing tape 9 as shown in FIG. The character string “GHIJ” is printed on the upper print line UL and the character string “GHIJ” is printed on the lower print line LL. Moreover,
These 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.

【0054】尚、パターンデータメモリ29に3〜4種
類の文字サイズのドットパターンデータを格納し、1行
印字及び2行印字において所望の文字サイズを選択可能
に構成しても良い。
The pattern data memory 29 may store dot pattern data of three to four types of character sizes so that a desired character size can be selected in one-line printing and two-line printing.

【0055】尚、印字用テープ9上の印字領域PEを3
〜4つに分割し、これら3〜4つの印字行のうちの何れ
かの印字行を設定するように構成することも可能であ
る。
The print area PE on the print tape 9 is set to 3
It is also possible to divide the print line into four and to set any one of these three or four print lines.

【0056】尚、印字用バッファを追加し、ドット列デ
ータが読出されている印字バッファ以外の印字バッファ
に、次の印字のためのドット列データを格納するように
してもよい。
It should be noted that a print buffer may be added to store dot row data for the next print in a print buffer other than the print buffer from which the dot row data has been read.

【0057】以上説明したように、サーマルヘッド7の
発熱素子群11に対応する印字用テープ9の印字領域P
Eを上段印字行ULと下段印字行LLとに分割し、これ
ら2つの印字行UL・LLのうちの何れかの印字行及び
その印字位置を、上段行印字指令データ或いは下段行印
字指令データでもって入力されたキャラクタのコードデ
ータと対応づけて入力データバッファ31に格納し、こ
れら上段行及び下段行印字指令データに基づいて上段印
字行ULに印字されるコードデータが第1再配列メモリ
32に再配列されるとともに、下段印字行LLに印字さ
れるコードデータが第2再配列メモリ33に再配列さ
れ、これら両再配列メモリ32・33に再配列された2
つのコードデータのドットパターンデータが印字バッフ
ァ37に合成して格納され、この合成されたドット列デ
ータに基づいて印字用テープ9上に印字されるので、印
字用テープ9上に設けた2つの印字行UL・LLのうち
の所望の印字行に入力したキャラクタを印字でき且つ上
段印字行ULと下段印字行LLとに亙って多数のキャラ
クタを印字することができる。
As described above, the printing area P of the printing tape 9 corresponding to the heating element group 11 of the thermal head 7
E is divided into an upper print line UL and a lower print line LL, and any one of these two print lines UL and LL and its print position are determined by upper line print command data or lower line print command data. The data stored in the input data buffer 31 in association with the code data of the character input in advance, and the code data to be printed on the upper print line UL based on the upper row and lower row print command data are stored in the first rearrangement memory 32. While being rearranged, the code data to be printed on the lower print line LL is rearranged in the second rearrangement memory 33, and the two data rearranged in the rearrangement memories 32
The dot pattern data of the two code data are combined and stored in the print buffer 37, and are printed on the printing tape 9 based on the combined dot string data. Characters input to a desired print line among the lines UL and LL can be printed, and a large number of characters can be printed over the upper print line UL and the lower print line LL.

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

【0059】[0059]

【発明の効果】以上のように本発明に係るテープ印字装
置によれば、テープ上の複数の印字行のうちのいずれか
の印字行を、入力されたキャラクタのデータと対応づけ
て設定し、入力されたキャラクタのデータを、印字設定
手段の出力を受けて、テープ幅方向に対応して再配列し
て印字データに形成するので、印字媒体テープ上に設け
た複数の印字行のうちの所望の印字行に入力したキャラ
クタを印字でき、また複数の印字行にわたって多数のキ
ャラクタを印字することができる。
As described above, according to the tape printing apparatus of the present invention, any one of a plurality of printing lines on a tape is set in association with input character data, The input character data is re-arranged corresponding to the tape width direction to form print data in response to the output of the print setting means. Can print the characters input in the print line, and can print a large number of characters over a plurality of print lines.

【図面の簡単な説明】[Brief description of the 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 routine of tape print control.

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

【図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 data synthesis processing control routine.

【図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 the 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 a character string of each print line of two-line printing is printed on a print tape by changing a print base line position.

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

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

1 テープ印字装置 3 選字用ダイヤル 4 キーボード部 5 選択キー 7 サーマルヘッド 9 印字用テープ 27 CPU 28 ROM(プログラムメモリ) 29 ROM(パターンデータメモリ) 30 RAM 31 入力データバッファ 32 第1再配列メモリ 33 第2再配列メモリ 37 印字バッファ C 制御装置 PE 印字領域 UL 上段印字行 LL 下段印字行 DESCRIPTION OF SYMBOLS 1 Tape printing device 3 Character selection dial 4 Keyboard part 5 Selection key 7 Thermal head 9 Printing tape 27 CPU 28 ROM (program memory) 29 ROM (pattern data memory) 30 RAM 31 Input data buffer 32 First rearrangement memory 33 Second rearrangement memory 37 Print buffer C Controller PE Print area UL Upper print line LL Lower print line

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−273260(JP,A) 特開 昭55−82387(JP,A) 特開 昭63−159974(JP,A) 実開 平1−178948(JP,U) (58)調査した分野(Int.Cl.7,DB名) B41J 3/36 B41J 2/485 B41J 2/515 G06F 3/12 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-2-273260 (JP, A) JP-A-55-82387 (JP, A) JP-A-63-159974 (JP, A) 178948 (JP, U) (58) Field surveyed (Int. Cl. 7 , DB name) B41J 3/36 B41J 2/485 B41J 2/515 G06F 3/12

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印字媒体テープの幅に対応配置された印
字ヘッドと、 その印字ヘッドと前記テープをそのテープの幅方向と直
交する長手方向に相対移動させる移動手段と、 印字されるべきキャラクタのデータを入力する入力手段
と、 少なくとも前記印字ヘッドに対応する前記テープ上の印
字領域を複数に分割した複数の印字行のうちの何れかの
印字行を、入力されたキャラクタと対応づけて設定する
ための印字設定手段と、 入力されたキャラクタのデータを、前記印字設定手段の
出力を受けて、複数行印字のために前記テープ幅方向に
対応して再配列して印字データに形成するデータ形成手
と、 多数のキャラクタのデータに対応したパターンデータを
格納したパターンデータ記憶手段とを備え、 前記データ形成手段は、前記入力手段により入力された
キャラクタのデータ及び前記印字設定手段からの設定デ
ータを入力順に格納するための入力データバッファと、
その入力データバッファから供給されるキャラクタのデ
ータを前記設定データに基づいて複数行印字のために再
配列し、その再配列された各行のキャラクタのデータに
対応するパターンデータを前記パターンデータ記憶手段
から読み出して、前記テープの幅方向に配置される複数
行に合成する合成手段 を備えることを特徴とするテープ
印字装置。
1. A print head arranged corresponding to the width of a print medium tape, moving means for relatively moving the print head and the tape in a longitudinal direction orthogonal to the width direction of the tape, An input unit for inputting data; and setting at least one of a plurality of print lines obtained by dividing a print area on the tape corresponding to the print head into a plurality of print lines in association with the input character. A print setting means for receiving the output of the print setting means, and rearranging the input character data corresponding to the tape width direction to form print data in order to print a plurality of lines. Means and pattern data corresponding to the data of many characters
Pattern data storing means, wherein the data forming means is inputted by the input means.
Character data and setting data from the print setting means
An input data buffer for storing data in the order of input,
Character data supplied from the input data buffer
Data for multi-line printing based on the setting data.
Array, and the data of the characters in each rearranged line
The corresponding pattern data is stored in the pattern data storage means.
From the plurality of tapes arranged in the width direction of the tape.
A tape printing device comprising a combining means for combining into lines .
【請求項2】 請求項1において、前記データ形成手段
は、前記テープの幅方向に対応する全ての行の印字デー
タを並行して前記印字ヘッドに供給するとともに前記テ
ープの長手方向に対応するデータを順次前記印字ヘッド
に供給することを特徴とするテープ印字装置。
2. The data forming means according to claim 1, wherein said data forming means supplies print data of all rows corresponding to a width direction of said tape to said print head in parallel and data corresponding to a longitudinal direction of said tape. Characterized by sequentially supplying the print head to the print head.
JP26520794A 1994-10-28 1994-10-28 Tape printer capable of printing on multiple print lines Expired - Fee Related JP3047751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26520794A JP3047751B2 (en) 1994-10-28 1994-10-28 Tape printer capable of printing on multiple print lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26520794A JP3047751B2 (en) 1994-10-28 1994-10-28 Tape printer capable of printing on multiple print lines

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP3091492A Division JP2508933B2 (en) 1991-03-28 1991-03-28 Tape printing device

Publications (2)

Publication Number Publication Date
JPH07266626A JPH07266626A (en) 1995-10-17
JP3047751B2 true JP3047751B2 (en) 2000-06-05

Family

ID=17414023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26520794A Expired - Fee Related JP3047751B2 (en) 1994-10-28 1994-10-28 Tape printer capable of printing on multiple print lines

Country Status (1)

Country Link
JP (1) JP3047751B2 (en)

Also Published As

Publication number Publication date
JPH07266626A (en) 1995-10-17

Similar Documents

Publication Publication Date Title
JP2536322B2 (en) Tape printing device
JP2508933B2 (en) Tape printing device
JP2556233B2 (en) Tape printer
JP2629516B2 (en) Tape printer
JPH05305748A (en) Printer
JP2546194B2 (en) Tape printer capable of printing multiple lines of data
JP3047751B2 (en) Tape printer capable of printing on multiple print lines
JP2513441B2 (en) Tape printing device capable of printing multiple lines
JP2621726B2 (en) Tape printer
JPH0596790A (en) Tape printer
JP3063544B2 (en) Tape printer
JP2976416B2 (en) Barcode printing device
JP2560650B2 (en) Tape printer
JPH06198962A (en) Preparing device for registration dot pattern data of tape printer
JP3060443B2 (en) Printing device
JP2508933C (en)
JP3292393B2 (en) Document processing device
JPH08314924A (en) Document processor
JP2513441C (en)
JP2546194C (en)
JP2001347702A (en) Tape printer
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
JP2606126B2 (en) Tape recorder
JP3203986B2 (en) Tape printer
JP3123376B2 (en) Printing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000222

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

Free format text: PAYMENT UNTIL: 20080324

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090324

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090324

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100324

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110324

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees