JPH05318886A - Tape printing device - Google Patents

Tape printing device

Info

Publication number
JPH05318886A
JPH05318886A JP15450492A JP15450492A JPH05318886A JP H05318886 A JPH05318886 A JP H05318886A JP 15450492 A JP15450492 A JP 15450492A JP 15450492 A JP15450492 A JP 15450492A JP H05318886 A JPH05318886 A JP H05318886A
Authority
JP
Japan
Prior art keywords
tape
printing
data
character string
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15450492A
Other languages
Japanese (ja)
Inventor
Yuka Yamaura
由佳 山浦
Shiro Yamada
史郎 山田
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 JP15450492A priority Critical patent/JPH05318886A/en
Publication of JPH05318886A publication Critical patent/JPH05318886A/en
Pending legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To provide a tape printing device capable of stopping a printing over a printing area of a set length of a tape relating to printing of inputting character string and numbering character string. CONSTITUTION:In automatic count setting processing, when a print key is operated in a state that an automatic count mode and a set length of a tape are set, a total length of the tape wherein a right side margin quantity and a left side margin quantity are added to a total length of inputting character string and automatic count number is obtained (S82). When the total tape length is shorter than the set tape length (S83: yes), a dot pattern data is made based on a document data in a text memory (S85) and printed by a printing mechanism (S86), and the automatic count number is counted up (S90). On the other hand, when the total tape length is longer than the set tape length (S83: no), a warning message is displayed on a display and printing is not performed (S91).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、印字媒体としてのテー
プに文字列を印字するテープ印字装置に関し、特に定長
印字機能とナンバリング機能とを兼ね備えたものに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tape printer for printing a character string on a tape as a print medium, and more particularly to a tape printer having both a fixed length printing function and a numbering function.

【0002】[0002]

【従来の技術】本願出願人は、実開平1−85050号
公報に記載のように、印字媒体としてのテープ(例え
ば、10ミリ、約24ミリの幅のテープ)に文字や記号
を印字できるテープ印字装置を実用化したが、このテー
プ印字装置は、ファイルの表紙や背表紙などに貼着する
ファイル名を印字したテープを作成するのに好適なもの
である。ところで、本願の発明者は、例えば、複数個の
ファイルに貼着するのに適したテープとして、「タイト
ル」及び「通し番号」を印字したテープを作成する為
に、1桁又は複数桁の数字からなるナンバリング文字列
を、初期値から順次ナンバリング処理しながら印字でき
るナンバリング機能を備えたテープ印字装置を提案し
た。
2. Description of the Related Art As described in Japanese Utility Model Application Laid-Open No. 1-85050, the applicant of the present invention is a tape capable of printing characters and symbols on a tape (for example, a tape having a width of 10 mm or about 24 mm) as a printing medium. Although a printing device has been put into practical use, this tape printing device is suitable for producing a tape on which a file name is printed, which is attached to the front cover or spine of a file. By the way, the inventor of the present application, for example, in order to create a tape having a "title" and a "serial number" printed thereon, as a tape suitable for being attached to a plurality of files, one or more digit numbers are used. We proposed a tape printer with a numbering function that can print the following numbering character strings sequentially from the initial value.

【0003】[0003]

【発明が解決しようとする課題】上述したように、ナン
バリング機能を備えたテープ印字装置において、ナンバ
リング文字列を初期値からナンバリング処理する際に、
ナンバリング文字列に桁上がりが生じ、この桁上がりに
よりナンバリング文字列の文字数が増加して、印字した
テープのテープ長が順次拡大され、そのテープがファイ
ルの表紙や背表紙の規定された貼着領域よりも長くなっ
て貼着不可能になる結果、印字された多数のテープが無
駄になるという問題がある。
As described above, in the tape printer having the numbering function, when the numbering character string is numbered from the initial value,
A carry occurs in the numbering character string, and the number of characters in the numbering character string increases due to this carry, and the tape length of the printed tape is gradually increased, and that tape is the specified attachment area on the front cover of the file or spine cover. As a result, the tape becomes longer and cannot be attached, and as a result, many printed tapes are wasted.

【0004】本発明の目的は、入力文字列とナンバリン
グ文字列との印字に関して、設定したテープ長の印字領
域以上となる印字を中止し得るようにしたテープ印字装
置を提供することにある。
It is an object of the present invention to provide a tape printer which is capable of canceling the printing of an input character string and a numbering character string when the print area exceeds the print area of the set tape length.

【0005】[0005]

【課題を解決するための手段】請求項1のテープ印字装
置は、図1の機能ブロック図に示すように、文字や記号
及び種々の指令を入力する為の入力手段と、入力された
データを記憶するデータ記憶手段と、データ記憶手段の
データを受けて、印字媒体としてのテープを長さ方向に
送りながらテープに印字する印字手段と、データ記憶手
段に記憶された文字や記号を表示するディスプレイを含
む表示手段とを備えたテープ印字装置において、印字後
分断される分断テープの所定の右端余白と印字領域と所
定の左端余白の合計長であるテープ長を設定する為のテ
ープ長設定手段と、印字される文字や記号のサイズを設
定する為のサイズ設定手段と、印字領域に入力文字列と
ともに印字され且つ分断テープ毎にカウントアップされ
るナンバリング文字列の少なくとも初期値を設定する為
の初期値設定手段と、設定された初期値のデータをデー
タ記憶手段に入力文字列に付随させて記憶させるデータ
書込み手段と、印字領域への印字完了毎にナンバリング
文字列を初期値から順にカウントアップしそのデータで
データ記憶手段のナンバリング文字列のデータを書換え
るデータ書換え手段と、設定されたテープ長のデータ及
び文字サイズのデータと、データ記憶手段に記憶された
ナンバリング文字列のデータに基いて、印字領域に印字
される入力文字列とナンバリング文字列の合計長を演算
して印字領域に印字可能か否か判別する判別手段と、判
別手段が印字不可能と判別したときに、印字手段に印字
を中止させる中止指令手段とを備えたものである。
A tape printer according to a first aspect of the present invention, as shown in the functional block diagram of FIG. 1, stores input data for inputting characters and symbols and various commands, and input data. A data storage means for storing, a printing means for receiving data from the data storage means and printing on the tape as a print medium while feeding the tape in the length direction, and a display for displaying characters and symbols stored in the data storage means In a tape printer having a display means including a tape length setting means for setting a tape length which is a total length of a predetermined right end margin, a print area and a predetermined left end margin of a divided tape which is divided after printing, , A size setting means for setting the size of characters or symbols to be printed, and a numbering statement which is printed together with the input character string in the printing area and is counted up for each cutting tape. Initial value setting means for setting at least the initial value of the column, data writing means for storing the data of the set initial value in the data storage means in association with the input character string, and for each completion of printing in the print area A data rewriting means for counting up the numbering character string in order from the initial value and rewriting the data of the numbering character string of the data storage means with the data, and data of the set tape length data and character size and the data storage means. Based on the data of the numbered character string, the judgment means for calculating the total length of the input character string and the numbering character string printed in the print area and judging whether or not the print area can be printed, and the judgment means When it is determined that the printing is possible, the printing means is provided with a stop command means for stopping the printing.

【0006】[0006]

【作用】請求項1に係るテープ印字装置においては、印
字領域に入力文字列とともに印字され且つ分断テープ毎
にカウントアップされるナンバリング文字列の少なくと
も初期値は、初期値設定手段により設定され、この設定
された初期値のデータは、データ書込み手段により入力
文字列に付随させてデータ記憶手段に記憶される。一
方、データ記憶手段のデータが印字媒体としてのテープ
を長さ方向に送りながら印字手段によりテープの印字領
域に印字される毎に、データ書換え手段によりナンバリ
ング文字列が初期値から順にカウントアップされ、更に
そのデータでデータ記憶手段のナンバリング文字列のデ
ータが書換えられる。このとき、判別手段は、設定され
たテープ長のデータ及び文字サイズのデータと、データ
記憶手段に記憶されたナンバリング文字列のデータに基
いて、印字領域に印字される入力文字列とナンバリング
文字列の合計長を演算し、更に印字領域に印字可能か否
か判別する。その結果、判別手段が印字不可能と判別し
たときには、中止指令手段は印字手段に印字を中止させ
る。
In the tape printer according to the first aspect, at least the initial value of the numbering character string which is printed together with the input character string in the printing area and is counted up for each divided tape is set by the initial value setting means. The data of the set initial value is stored in the data storage unit in association with the input character string by the data writing unit. On the other hand, every time the data in the data storage means is printed in the print area of the tape by the printing means while feeding the tape as the print medium in the length direction, the numbering character string is sequentially counted up from the initial value by the data rewriting means, Further, the data of the numbering character string in the data storage means is rewritten with the data. At this time, the determining means determines the input character string and the numbering character string to be printed in the print area based on the set tape length data and character size data and the numbering character string data stored in the data storage means. The total length is calculated, and it is further determined whether or not the print area can be printed. As a result, when the determination means determines that printing is impossible, the stop command means causes the printing means to stop printing.

【0007】このように、データ記憶手段に記憶された
入力文字列とナンバリング文字列とがテープの印字領域
に印字される毎に、ナンバリング文字列は初期値から順
にカウントアップされてデータ記憶手段に記憶され、更
に入力文字列とナンバリング文字列の合計長が印字領域
に印字不可能なときには、入力文字列とナンバリング文
字列の印字が中止されるので、例えば、ファイルの表紙
や背表紙の規定された貼着領域の大きさを越えた不要な
テープの作成を未然に防止できる。
As described above, every time the input character string and the numbering character string stored in the data storage means are printed in the print area of the tape, the numbering character string is sequentially counted up from the initial value and stored in the data storage means. If the total length of the input character string and the numbering character string cannot be printed in the print area, the printing of the input character string and the numbering character string will be stopped. It is possible to prevent the creation of unnecessary tape that exceeds the size of the pasted area.

【0008】[0008]

【実施例】以下、本発明の実施例について図面に基いて
説明する。本実施例は、ナンバリング機能(以下、オー
トカウント機能という)を備え、アルファベット文字や
記号などの多数のキャラクタを印字用テープ(印字媒体
としてのテープ)に印字可能な英語専用のテープ印字装
置に本発明を適用した場合のものである。図2に示すよ
うに、テープ印字装置1の本体フレーム2の前部にはキ
ーボード3が配設され、キーボード3の後方で本体フレ
ーム2内には印字機構PMが配設され、またキーボード
3の後方には文字や記号を表示可能な液晶ディスプレイ
22が設けられている。
Embodiments of the present invention will be described below with reference to the drawings. The present embodiment has a numbering function (hereinafter, referred to as an auto-counting function) and is intended for an English-only tape printing device capable of printing many characters such as alphabetic characters and symbols on a printing tape (tape as a printing medium). This is a case where the invention is applied. As shown in FIG. 2, a keyboard 3 is arranged in the front part of the main body frame 2 of the tape printer 1, a printing mechanism PM is arranged in the main body frame 2 behind the keyboard 3, and the keyboard 3 A liquid crystal display 22 capable of displaying characters and symbols is provided on the rear side.

【0009】キーボード3には、アルファベットや数字
や記号を入力する為の文字キー、スペースキー、リター
ンキー、カーソルを右方或いは左方へ移動させるカーソ
ル移動キー、文書データを作成する文書作成キー、印字
フォーマットを設定する為のフォーマット設定キー、印
字文字のサイズを設定するサイズ設定キー、印字文字の
書体を設定する書体設定キー、文字列印字の為のテープ
長を設定する為のテープ長設定キー、オートカウントモ
ードを設定する為のオートカウント設定キー、各種の印
字フォーマット設定処理を終了する為の実行キー、印字
を実行する印字キー、印字用テープ5をテープ送りする
テープ送りキー、電源をON・OFFする為の電源キー
などが設けられている。
The keyboard 3 includes character keys for inputting alphabets, numbers and symbols, a space key, a return key, a cursor movement key for moving the cursor to the right or left, a document creation key for creating document data, Format setting key to set the print format, size setting key to set the size of print characters, type setting key to set the font of print characters, tape length setting key to set the tape length for character string printing , Auto count setting key for setting auto count mode, execution key for ending various print format setting processing, print key for executing printing, tape feed key for feeding the tape 5 for printing, power ON・ A power key to turn it off is provided.

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

【0011】従って、テープ送りモータ24(図4参
照)の所定回転方向への駆動により接合ローラ12と巻
取りスプール9とが所定回転方向に夫々同期して駆動さ
れながら発熱素子群18に通電されたとき、印字用テー
プ5上には複数のドット列により文字が印字され、しか
も印字用テープ5は両面テープ10を接合した状態でテ
ープ送り方向Aにテープ送りされる。尚、印字機構PM
の詳細については、特開平2─106555号公報を参
照。
Therefore, when the tape feed motor 24 (see FIG. 4) is driven in the predetermined rotation direction, the joining roller 12 and the take-up spool 9 are driven in synchronization with each other in the predetermined rotation direction, and the heating element group 18 is energized. At this time, characters are printed on the printing tape 5 by a plurality of dot rows, and the printing tape 5 is fed in the tape feeding direction A with the double-sided tape 10 joined. The printing mechanism PM
For details of the above, see Japanese Patent Application Laid-Open No. 2-106555.

【0012】次に、テープ印字装置1の制御系は、図4
のブロック図に示すように構成されている。キーボード
3と、液晶ディスプレイ(LCD)22に表示データを
出力する為の表示用RAMを有するディスプレイコント
ローラ(LCDC)23と、サーマルヘッド13を駆動
する為の駆動回路25と、テープ送りモータ24を駆動
する為の駆動回路26と、警告用ブザー20の為の駆動
回路21とは制御装置Cの入出力インターフェース27
に夫々接続されている。制御装置Cは、CPU29と、
このCPU29にデータバスなどのバス28を介して接
続された入出力インターフェース27、CGROM3
0、ROM31・32及びRAM40とから構成されて
いる。
Next, the control system of the tape printer 1 is shown in FIG.
The block diagram of FIG. A keyboard 3, a display controller (LCDC) 23 having a display RAM for outputting display data to a liquid crystal display (LCD) 22, a drive circuit 25 for driving the thermal head 13, and a tape feed motor 24. The drive circuit 26 for operating the warning buzzer 20 and the drive circuit 21 for the warning buzzer 20 are the input / output interface 27 of the controller C.
Connected to each. The control device C includes a CPU 29,
An input / output interface 27, CGROM 3 connected to the CPU 29 via a bus 28 such as a data bus
0, ROM 31, 32 and RAM 40.

【0013】CGROM(パターンデータメモリ)30
には、多数のキャラクタの各々に関して、表示の為のド
ットパターンデータがコードデータに対応させて格納さ
れている。ROM(アウトラインデータメモリ)31に
は、キャラクタを印字する為に多数のキャラクタの各々
に関して、キャラクタの輪郭線を規定する輪郭線データ
(アウトラインデータ)が書体(ゴシック系書体、明朝
系書体など)毎に分類されコードデータに対応させて格
納されている。尚、これら多数のアウトラインデータの
各々には、印字イメージの縦方向の寸法と横方向の寸法
とが夫々格納されている。
CGROM (pattern data memory) 30
For each of a large number of characters, the dot pattern data for display is stored in the column corresponding to the code data. A ROM (outline data memory) 31 has contour data (outline data) that defines the contour of each character for printing characters, such as a Gothic typeface and a Mincho typeface. It is classified for each and stored corresponding to the code data. Each of the large number of outline data stores the vertical dimension and the horizontal dimension of the print image.

【0014】ROM32には、キーボード3から入力さ
れた文字や数字や記号などのキャラクタのコードデータ
に対応させてディスプレイコントローラ23を制御する
表示駆動制御プログラム、テキストメモリ41の各コー
ドデータに対応するアウトラインデータから印字用のド
ットパターンデータに変換処理して印字バッファ45に
展開するイメージ展開処理制御プログラム、印字バッフ
ァ45のデータを順次読出してサーマルヘッド13やテ
ープ送りモータ24を駆動する印字駆動制御プログラ
ム、本願特有の後述のテープ印字制御の制御プログラム
などが格納されている。尚、前記イメージ展開処理制御
プログラムには、キャラクタにボールドやアンダーライ
ンや白抜きなどの文字修飾処理制御の為の各種のサブル
ーチンが含まれている。
In the ROM 32, a display drive control program for controlling the display controller 23 in accordance with character code data such as characters, numbers and symbols input from the keyboard 3, and an outline corresponding to each code data in the text memory 41. An image development processing control program for converting data into dot pattern data for printing and developing it in the print buffer 45, a print drive control program for sequentially reading the data in the print buffer 45 and driving the thermal head 13 and the tape feed motor 24, A control program for tape print control, which will be described later, peculiar to the present application is stored. The image development processing control program includes various subroutines for controlling character modification processing such as bolding, underlining, and whitening of characters.

【0015】更に、このROM32には、図5に示すよ
うに、テープ長を設定する為に、「2.2インチ」〜
「9.8インチ」に亙って0.2インチピッチ毎の設定
テープ長データLDを多数格納したテープ長テーブルT
B1と、図6に示すように、「00」〜「99」に亙っ
て1ずつインクリメントする多数のカウント値を格納し
たカウント値テーブルTB2とが格納されている。
Further, in this ROM 32, as shown in FIG. 5, in order to set the tape length, "2.2 inches".
A tape length table T storing a large number of set tape length data LD for each 0.2 inch pitch over "9.8 inches"
B1 and, as shown in FIG. 6, a count value table TB2 that stores a large number of count values that are incremented by 1 over "00" to "99" are stored.

【0016】RAM40のテキストメモリ41には、キ
ーボード3から入力された文字や記号のコードデータが
文書データとして格納される。印字フォーマットメモリ
42には、設定された文字サイズデータや書体のデータ
など複数の印字フォーマット情報が格納される。テープ
長メモリ43には、設定されたテープ長のデータLDが
格納される。ポインタメモリ44には、テープ長テーブ
ルTB1の設定テープ長を指示するテープ長ポインタ値
TPと、カウント値テーブルTB2におけるカウント値
を指示するカウントポインタのポインタ値CP及び最大
カウントアップ値を指示する最大ポインタMPのポイン
タ値が格納される。
In the text memory 41 of the RAM 40, code data of characters and symbols input from the keyboard 3 is stored as document data. The print format memory 42 stores a plurality of print format information such as set character size data and typeface data. The data LD of the set tape length is stored in the tape length memory 43. In the pointer memory 44, a tape length pointer value TP indicating a set tape length in the tape length table TB1, a pointer value CP of a count pointer indicating a count value in the count value table TB2, and a maximum pointer indicating a maximum count-up value. The MP pointer value is stored.

【0017】印字バッファ45には、イメージ展開され
た複数の文字や記号のドットパターンデータが格納され
る。従って、この印字バッファ45には、縦方向(ドッ
ト列方向)に128ドットに対応する128ビット(1
6バイト)、横方向に複数文字分の所定ビットからなる
大きさのメモリ容量が設けられている。フラグメモリ4
6には、オートカウントモードが設定されたときにセッ
ト(データが「1」)されるオートカウントフラグAF
のフラグデータが格納される。
The print buffer 45 stores dot pattern data of a plurality of characters and symbols which have been image-developed. Therefore, the print buffer 45 has 128 bits (1 bit) corresponding to 128 dots in the vertical direction (dot row direction).
6 bytes), and a memory capacity of a size consisting of predetermined bits for a plurality of characters in the horizontal direction. Flag memory 4
An auto-count flag AF 6 is set (data is "1") when the auto-count mode is set.
Flag data is stored.

【0018】次に、テープ印字装置1の制御装置Cで行
なわれるテープ印字制御のルーチンについて、その概略
を図7のフローチャートに基いて説明する。尚、図中符
号Si(i=10、11、12・・・・)は各ステップ
である。電源キー操作により電源が投入されるとこの制
御が開始され、先ずフォーマット設定キーの操作によ
り、サイズ設定キー操作による文字サイズ設定処理や書
体設定キー操作による書体設定処理及び修飾種類の設定
処理、テープ長設定キー操作によるテープ長設定処理な
どの印字フォーマットを設定する各種の処理が実行され
る(S10)。次に、文書作成キーの操作後、操作され
た文字キーやスペースキーやリターンキーに対応するコ
ードデータを文書データとして入力する文書データ入力
・編集処理が実行される(S30)。例えば、この文書
データ入力・編集処理により、図11に示すように、文
書データとして「MARCH 8」が入力され、この文
書データがテキストメモリ41に格納されるとともに、
ディスプレイ22に表示されている。尚、この文書デー
タ中の数字「8」は、ナンバリング数字(以下、オート
カウント数字という)の初期値として入力設定されたも
のであり、入力文字列「MARCH」に付随してテキス
トメモリ41に記憶されている。また、符号MKは印字
フォーマットが設定されていることを示すフォーマット
マークである。
Next, an outline of a tape print control routine executed by the controller C of the tape printer 1 will be described with reference to the flowchart of FIG. In the figure, reference numeral Si (i = 10, 11, 12, ...) Indicates each step. This control is started when the power is turned on by the power key operation. First, by operating the format setting key, the character size setting process by the size setting key operation, the font type setting process by the type setting key operation and the modification type setting process, the tape Various processes for setting the print format such as the tape length setting process by the length setting key operation are executed (S10). Next, after the operation of the document creation key, a document data inputting / editing process of inputting code data corresponding to the operated character key, space key or return key as document data is executed (S30). For example, by this document data input / edit processing, as shown in FIG. 11, “MARCH 8” is input as document data, this document data is stored in the text memory 41, and
It is displayed on the display 22. The number "8" in this document data is set as the initial value of the numbering number (hereinafter referred to as the auto-count number), and is stored in the text memory 41 in association with the input character string "MARCH". Has been done. Further, reference numeral MK is a format mark indicating that the print format is set.

【0019】次に、オートカウント設定キーが操作され
たときには、オートカウント設定処理が実行される。そ
して、印字キーの操作により文書データを印字する為の
印字用ドットパターンデータを印字バッファ45に展開
するドットパターンデータ作成処理と、このドットパタ
ーンデータを印字機構PMに出力して印字させる印字処
理が実行される(S80)。
Next, when the auto count setting key is operated, the auto count setting process is executed. Then, a dot pattern data creation process for expanding the print dot pattern data for printing the document data by operating the print key in the print buffer 45 and a print process for outputting the dot pattern data to the printing mechanism PM for printing. It is executed (S80).

【0020】次に、S10で実行されるテープ長設定処
理制御のルーチンについて、図8のフローチャートに基
いて説明する。この制御が開始されると、先ずテープ長
ポインタ値TPにテープ長テーブルTB1の先頭アドレ
スがセットされ(S31)、このテープ長ポインタ値T
Pで指示する設定テープ長LDに基いてテープ長設定画
面がディスプレイ22に表示される(S32)。例え
ば、図12に示すように、図11に示す文書データ表示
画面が消去され、テープ長設定画面がディスプレイ22
に表示される。このとき、設定テープ長は、最小の
「2.2INCH」が表示される。そして、カーソル上
移動キーが操作されると(S33・S34:Yes)、
テープ長ポインタ値TPが1つインクリメントされ(S
35)、このテープ長ポインタ値TPで指示する設定テ
ープ長LDがディスプレイ22に表示され(S36)、
S33に戻る。尚、使用頻度の高いテープ長、例えば
「6.0INCH」をデフォルト値としてROM32に
記憶しておき、前記S32において、このデフォルト値
がディスプレイ22に表示されるようにしてもよい。ま
た、前回設定された設定テープ長が表示されるようにし
てもよい。
Next, the routine of the tape length setting process control executed in S10 will be described with reference to the flowchart of FIG. When this control is started, first, the head address of the tape length table TB1 is set in the tape length pointer value TP (S31), and the tape length pointer value T is set.
A tape length setting screen is displayed on the display 22 based on the set tape length LD designated by P (S32). For example, as shown in FIG. 12, the document data display screen shown in FIG. 11 is deleted and the tape length setting screen is displayed on the display 22.
Displayed in. At this time, the minimum set tape length "2.2INCH" is displayed. When the cursor up key is operated (S33 / S34: Yes),
The tape length pointer value TP is incremented by 1 (S
35), the set tape length LD designated by the tape length pointer value TP is displayed on the display 22 (S36),
Return to S33. Note that a frequently used tape length, for example, “6.0INCH” may be stored in the ROM 32 as a default value, and the default value may be displayed on the display 22 in S32. Also, the set tape length set last time may be displayed.

【0021】一方、カーソル下移動キーが操作されると
(S33:Yes、S34:No、S37:Yes)、
テープ長ポインタ値TPが1つデクリメントされ(S3
8)、このテープ長ポインタ値TPで指示する設定テー
プ長LDがディスプレイ22に表示され(S36)、S
33に戻る。例えば、図13に示すように、カーソル上
移動キーが3回操作されたときには、テープ長ポインタ
値TPが3つインクリメントされ、ディスプレイ22に
は「2.8INCH」が表示される。次に、実行キーが
操作されると(S33:Yes、S34・S37:N
o、S39:Yes)、このテープ長ポインタ値TPで
指示する設定テープ長LDがテープ長メモリ43に記憶
され(S40)、テープ長設定画面をクリアし且つ文書
データ表示画面が表示され(S41)、この制御を終了
するのに伴ってテープ印字制御にリターンする。尚、カ
ーソル上・下移動キー、実行キー以外のキーが操作され
たときには(S33:Yes、S34・S37・S3
9:No)、警告の為にブザー20が鳴動され(S4
2)、S33に戻る。
On the other hand, when the cursor down movement key is operated (S33: Yes, S34: No, S37: Yes),
The tape length pointer value TP is decremented by 1 (S3
8) The set tape length LD designated by the tape length pointer value TP is displayed on the display 22 (S36), and S
Return to 33. For example, as shown in FIG. 13, when the cursor up key is operated three times, the tape length pointer value TP is incremented by 3, and "2.8INCH" is displayed on the display 22. Next, when the execution key is operated (S33: Yes, S34 and S37: N
o, S39: Yes), the set tape length LD designated by the tape length pointer value TP is stored in the tape length memory 43 (S40), the tape length setting screen is cleared and the document data display screen is displayed (S41). The control returns to the tape print control with the completion of this control. Incidentally, when a key other than the cursor up / down movement key and the execution key is operated (S33: Yes, S34, S37, S3).
9: No), the buzzer 20 sounds for warning (S4).
2) and returns to S33.

【0022】次に、オートカウント設定キーの操作によ
り実行されるオートカウント設定処理制御のルーチンに
ついて、図9のフローチャートに基いて説明する。この
制御が開始される前に、予めカーソル右移動キー又は左
移動キーを操作して、カーソルKを文書データ中のオー
トカウント数字(カウントアップ初期値)の第1桁に移
動させておく。例えば、図11に示すように、予めカー
ソルKをオートカウント数字「8」に移動させておく。
この状態でオートカウント設定キーが操作されると、オ
ートカウント設定処理制御のルーチンが実行され、最大
カウントアップ数字を入力する為のオートカウント設定
画面がディスプレイ22に表示される(S62)。例え
ば、図14に示すように、「1」〜「99」までの範囲
で最大カウントアップ数字の入力を促すオートカウント
設定画面がディスプレイ22に表示される。
Next, the routine of the automatic count setting process control executed by operating the automatic count setting key will be described with reference to the flowchart of FIG. Before this control is started, the cursor right movement key or the left movement key is operated in advance to move the cursor K to the first digit of the automatic count number (count-up initial value) in the document data. For example, as shown in FIG. 11, the cursor K is moved to the automatic count number “8” in advance.
When the auto count setting key is operated in this state, the auto count setting process control routine is executed, and the auto count setting screen for inputting the maximum count-up number is displayed on the display 22 (S62). For example, as shown in FIG. 14, an automatic count setting screen that prompts the user to input a maximum count-up number in the range of “1” to “99” is displayed on the display 22.

【0023】そして、この設定画面に基いて数字2桁に
より最大カウントアップ数字の入力処理が実行される
(S63)。例えば、最大カウントアップ数字「11」
を入力すると、図15に示すように、数字「11」が表
示される。そして、この最大カウントアップ数字入力処
理の終了に伴って、前記カウントアップ初期値と最大カ
ウントアップ値に対応するカウント値テーブルTB2の
アドレスがカウントポインタ値CP、最大ポインタ値M
Pに夫々セットされ(S64)、オートカウントフラグ
AFがセットされ(S65)、この制御を終了するのに
伴ってテープ印字制御にリターンする。例えば、図6に
示すように、カウントポインタ値CPにはカウントアッ
プ初期値「8」に対応するアドレスがセットされ、最大
ポインタMP値には「11」に対応するアドレスがセッ
トされる。
Then, based on this setting screen, the maximum count-up numeral input processing is executed by the two-digit numeral (S63). For example, the maximum count-up number "11"
When is input, the number “11” is displayed as shown in FIG. With the completion of the maximum count-up numeral input process, the addresses of the count value table TB2 corresponding to the count-up initial value and the maximum count-up value are the count pointer value CP and the maximum pointer value M.
Each of them is set to P (S64), the auto-count flag AF is set (S65), and the control returns to the tape print control as the control ends. For example, as shown in FIG. 6, the count pointer value CP is set to the address corresponding to the count-up initial value “8”, and the maximum pointer MP value is set to the address corresponding to “11”.

【0024】次に、印字キーの操作により実行される印
字処理制御のルーチンについて、図10のフローチャー
トに基いて説明する。この制御が開始されたときに、オ
ートカウントフラグAFがセットされてオートカウント
モードが設定されているときには(S81:Yes)、
文字サイズデータとアウトラインデータとテキストメモ
リ41内の文書データとに基いて、この文書全体の文字
幅つまり入力文字列とオートカウント数字との文字列合
計長を求める一方、この文字列合計長に、印字用テープ
5の所定量の右端余白量RYと左端余白量LYとを加算
した総テープ長TLが求められる(S82)。
Next, a print processing control routine executed by operating the print key will be described with reference to the flowchart of FIG. When this control is started and the auto count flag AF is set and the auto count mode is set (S81: Yes),
Based on the character size data, the outline data, and the document data in the text memory 41, the character width of the entire document, that is, the total character string length of the input character string and the auto-count number is obtained, while the total character string length is The total tape length TL is calculated by adding the right end margin amount RY and the left end margin amount LY of the predetermined amount of the printing tape 5 (S82).

【0025】そして、この総テープ長TLが設定テープ
長LDより大きいときには(S83:No)、警告メッ
セージがディスプレイ22に表示され(S91)、最大
ポインタ値MPにカウント値テーブルTB2の先頭アド
レスがセットされ(S92)、オートカウントフラグA
Fがリセットされ(S93)、この制御を終了するのに
伴ってテープ印字制御のS10にリターンする。例え
ば、図16に示すように、警告メッセージ「TAPE TOO S
HORT」がディスプレイ22に表示される。尚、S82に
おいて、文字列合計長のみを演算し、S83において、
設定テープ長LDから両余白量RY・LYを差し引いた
印字領域D(図17参照)の寸法と文字列合計長との大
きさを判別するようにしてもよい。
When the total tape length TL is larger than the set tape length LD (S83: No), a warning message is displayed on the display 22 (S91) and the maximum pointer value MP is set to the leading address of the count value table TB2. (S92), auto count flag A
F is reset (S93), and upon completion of this control, the process returns to S10 of tape printing control. For example, as shown in FIG. 16, a warning message "TAPE TOO S
“HORT” is displayed on the display 22. In S82, only the total length of the character string is calculated, and in S83,
The size of the print area D (see FIG. 17) obtained by subtracting both margin amounts RY and LY from the set tape length LD and the total length of the character string may be determined.

【0026】しかし、総テープ長TLが設定テープ長L
D以下のときには(S83:Yes)、テキストメモリ
41内の文書データが読込まれる(S84)。次に、文
書データの各文字について印字用のドットパターンデー
タが作成され、このドットパターンデータを順次印字バ
ッファ45に展開するイメージ展開処理が実行され(S
85)、この印字バッファ45に格納されたドットパタ
ーンデータを印字機構PMに出力して印字処理が実行さ
れる(S86)。ここで、入力文字列やオートカウント
数字のドットパターンデータは、前記印字領域にジャス
ティファイ(行頭・行末揃え)モードと同様にイメージ
展開される。
However, the total tape length TL is the set tape length L.
When it is D or less (S83: Yes), the document data in the text memory 41 is read (S84). Next, dot pattern data for printing is created for each character of the document data, and an image expansion process for sequentially expanding this dot pattern data in the print buffer 45 is executed (S
85), the dot pattern data stored in the print buffer 45 is output to the printing mechanism PM and the printing process is executed (S86). Here, the dot pattern data of the input character string and the automatic count number is image-developed in the print area in the same manner as in the justify (line head / line end alignment) mode.

【0027】次に、オートカウントモードのときに(S
87:Yes)、カウントポインタ値CPが最大ポイン
タ値MPより小さいときには(S88:No)、カウン
トポインタ値CPが1つインクリメントされ(S8
9)、テキストメモリ41内のオートカウント数字がこ
のカウントポインタ値CPで指示するカウント値に書換
えられ(S90)、S82に戻る。そして、S82〜S
90が繰り返され、オートカウント数字を順次カウント
アップしながら文書データが印字用テープ5に印字処理
される。例えば、図17に示すように、オートカウント
数字「8」を順次インクリメントしながら文書「MAR
CH 8」、「MARCH 9」が印字用テープ5に印
字される。そして、オートカウント数字の桁上がりによ
り、総テープ長TLが設定テープ長LDより大きくなっ
たときには(S83:No)、前述と同様に警告メッセ
ージが表示されるとともに、この桁上がりしたオートカ
ウント数字を含む文書の印字を中止し且つこの制御を終
了し、テープ印字制御のS10にリターンする。尚、こ
の印字処理制御が開始されたときに、オートカウントモ
ードが設定されていないときには(S81:No)、S
84〜S87を経てテキストメモリ41内の文書データ
が印字用テープ5に印字され、この制御を終了してテー
プ印字制御のS10にリターンする。
Next, in the auto count mode (S
87: Yes) and when the count pointer value CP is smaller than the maximum pointer value MP (S88: No), the count pointer value CP is incremented by 1 (S8).
9) Then, the auto-count number in the text memory 41 is rewritten to the count value designated by the count pointer value CP (S90), and the process returns to S82. And S82-S
90 is repeated, and the document data is printed on the printing tape 5 while sequentially counting up the auto count number. For example, as shown in FIG. 17, the document “MAR
"CH 8" and "MARCH 9" are printed on the printing tape 5. Then, when the total tape length TL becomes larger than the set tape length LD due to the carry of the auto-count number (S83: No), the warning message is displayed in the same manner as described above, and the carry-up auto-count number is displayed. The printing of the included document is stopped and this control is ended, and the process returns to S10 of tape printing control. When the print processing control is started and the automatic count mode is not set (S81: No), S
After 84 to S87, the document data in the text memory 41 is printed on the printing tape 5, the control is terminated, and the process returns to S10 of the tape printing control.

【0028】以上説明したように、テキストメモリ41
に記憶された入力文字列とオートカウント数字(ナンバ
リング文字列)とが印字用テープ5の印字領域に印字さ
れる毎に、オートカウント数字は初期値から順にカウン
トアップされてテキストメモリ41に記憶され、入力文
字列とオートカウント数字の文字列合計長が印字領域に
印字不可能なときには、入力文字列とオートカウント数
字の印字が中止されるので、ファイルの表紙や背表紙の
規定された貼着領域の大きさを越えた不要なテープの作
成を未然に防止できる。
As described above, the text memory 41
Every time the input character string and the auto-counting number (numbering character string) stored in are printed in the printing area of the printing tape 5, the auto-counting number is sequentially incremented from the initial value and stored in the text memory 41. , When the total length of the input character string and the character string of the auto-count digit cannot be printed in the print area, the printing of the input character string and the auto-count digit is stopped. It is possible to prevent the creation of unnecessary tape that exceeds the size of the area.

【0029】尚、オートカウント設定処理制御におい
て、オートカウント数字の初期値を設定するように構成
することも可能である。尚、テープ長テーブルTB1や
カウント値テーブルTB2を設けずに、カウントポイン
タ値CP及びテープ長ポインタ値TPに所定量ずつ増減
させた値を順次セットするようにしてもよい。尚、テー
プ幅が12mm以外である種々の印字用テープ5を使用す
ることも可能である。尚、文字や記号の印字イメージを
ドットパターンデータで記憶するようにしたテープ印字
装置など、種々のテープ印字装置に本発明を適用し得
る。
In the automatic count setting process control, it is possible to set the initial value of the automatic count number. The tape length table TB1 and the count value table TB2 may not be provided, and the count pointer value CP and the tape length pointer value TP may be sequentially set to values that are increased or decreased by a predetermined amount. It is also possible to use various printing tapes 5 having a tape width other than 12 mm. The present invention can be applied to various tape printers such as a tape printer that stores a character or symbol print image as dot pattern data.

【0030】[0030]

【発明の効果】請求項1に係るテープ印字装置によれ
ば、テープ長設定手段と、サイズ設定手段と、初期値設
定手段と、データ書込み手段と、データ書換え手段と、
判別手段及び中止指令手段とを設け、データ記憶手段に
記憶された入力文字列とナンバリング文字列とがテープ
の印字領域に印字される毎に、ナンバリング文字列は初
期値から順にカウントアップされてデータ記憶手段に記
憶され、入力文字列とナンバリング文字列の合計長が印
字領域に印字不可能なときには、入力文字列とナンバリ
ング文字列の印字が中止されるので、ファイルの表紙や
背表紙の規定された貼着領域の大きさを越えた不要なテ
ープの作成を未然に防止できる。
According to the tape printer of the first aspect, the tape length setting means, the size setting means, the initial value setting means, the data writing means, the data rewriting means,
Each time the input character string and the numbering character string stored in the data storage means are printed in the print area of the tape, the numbering character string is sequentially counted up from the initial value and the data is added. If the total length of the input character string and the numbering character string cannot be printed in the print area, the printing of the input character string and the numbering character string is stopped. It is possible to prevent the creation of unnecessary tape that exceeds the size of the pasted area.

【図面の簡単な説明】[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 diagram illustrating a tape length table.

【図6】カウント値テーブルを説明する図表である。FIG. 6 is a diagram illustrating a count value table.

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

【図8】テープ長設定処理制御のルーチンの概略フロー
チャートである。
FIG. 8 is a schematic flowchart of a tape length setting process control routine.

【図9】オートカウント設定処理制御のルーチンの概略
フローチャートである。
FIG. 9 is a schematic flowchart of a routine for automatic count setting processing control.

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

【図11】文書データの表示例を示す図である。FIG. 11 is a diagram showing a display example of document data.

【図12】テープ長設定画面の表示例を示す図である。FIG. 12 is a diagram showing a display example of a tape length setting screen.

【図13】所望のテープ長を設定した図12相当図であ
る。
FIG. 13 is a view corresponding to FIG. 12 in which a desired tape length is set.

【図14】オートカウント設定画面の表示例を示す図で
ある。
FIG. 14 is a diagram showing a display example of an automatic count setting screen.

【図15】所望の最大カウント値を設定した図14相当
図ある。
15 is a diagram corresponding to FIG. 14 in which a desired maximum count value is set.

【図16】警告メッセージの表示例を示す図である。FIG. 16 is a diagram showing a display example of a warning message.

【図17】オートカウントモードによる文書の印字例を
示す図である。
FIG. 17 is a diagram illustrating an example of printing a document in the auto count mode.

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

1 テープ印字装置 3 キーボード 13 サーマルヘッド 22 液晶ディスプレイ 24 テープ送りモータ 29 CPU 32 ROM 40 RAM 41 テキストメモリ 44 印字バッファ C 制御装置 PM 印字機構 1 Tape Printing Device 3 Keyboard 13 Thermal Head 22 Liquid Crystal Display 24 Tape Feed Motor 29 CPU 32 ROM 40 RAM 41 Text Memory 44 Print Buffer C Controller PM Printing Mechanism

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文字や記号及び種々の指令を入力する為
の入力手段と、入力されたデータを記憶するデータ記憶
手段と、データ記憶手段のデータを受けて、印字媒体と
してのテープを長さ方向に送りながらテープに印字する
印字手段と、データ記憶手段に記憶された文字や記号を
表示するディスプレイを含む表示手段とを備えたテープ
印字装置において、 印字後分断される分断テープの所定の右端余白と印字領
域と所定の左端余白の合計長であるテープ長を設定する
為のテープ長設定手段と、 前記印字される文字や記号のサイズを設定する為のサイ
ズ設定手段と、 前記印字領域に入力文字列とともに印字され且つ分断テ
ープ毎にカウントアップされるナンバリング文字列の少
なくとも初期値を設定する為の初期値設定手段と、 前記設定された初期値のデータをデータ記憶手段に入力
文字列に付随させて記憶させるデータ書込み手段と、 前記印字領域への印字完了毎にナンバリング文字列を初
期値から順にカウントアップしそのデータでデータ記憶
手段のナンバリング文字列のデータを書換えるデータ書
換え手段と、 前記設定されたテープ長のデータ及び文字サイズのデー
タと、データ記憶手段に記憶されたナンバリング文字列
のデータに基いて、前記印字領域に印字される入力文字
列とナンバリング文字列の合計長を演算して印字領域に
印字可能か否か判別する判別手段と、 前記判別手段が印字不可能と判別したときに、印字手段
に印字を中止させる中止指令手段と、 を備えたことを特徴とするテープ印字装置。
1. A length of a tape as a printing medium which receives input data for inputting characters and symbols and various commands, data storage means for storing the input data, and data of the data storage means. In a tape printer having a printing means for printing on a tape while feeding in a direction, and a display means including a display for displaying characters and symbols stored in a data storage means, a predetermined right end of a divided tape to be divided after printing. A tape length setting means for setting a tape length which is a total length of a margin and a print area and a predetermined left end margin, a size setting means for setting a size of the character or symbol to be printed, and a print area in the print area. Initial value setting means for setting at least an initial value of a numbering character string which is printed together with the input character string and is counted up for each divided tape; Data writing means for storing the data of the initial value in the data storage means in association with the input character string, and the numbering character string is sequentially counted up from the initial value each time the printing in the printing area is completed, and the data is stored in the data storage means. Data rewriting means for rewriting the data of the numbering character string, data of the set tape length data and character size, and the data of the numbering character string stored in the data storage means are printed in the printing area. Determining means for calculating the total length of the input character string and the numbering character string to determine whether or not it is possible to print in the print area, and stopping when the determining means determines that printing is impossible A tape printing device comprising: an instruction unit.
JP15450492A 1992-05-21 1992-05-21 Tape printing device Pending JPH05318886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15450492A JPH05318886A (en) 1992-05-21 1992-05-21 Tape printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15450492A JPH05318886A (en) 1992-05-21 1992-05-21 Tape printing device

Publications (1)

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

Family

ID=15585692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15450492A Pending JPH05318886A (en) 1992-05-21 1992-05-21 Tape printing device

Country Status (1)

Country Link
JP (1) JPH05318886A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316690A (en) * 2006-05-23 2007-12-06 Brother Ind Ltd Label preparation device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316690A (en) * 2006-05-23 2007-12-06 Brother Ind Ltd Label preparation device
JP4730203B2 (en) * 2006-05-23 2011-07-20 ブラザー工業株式会社 Label making device

Similar Documents

Publication Publication Date Title
JP2556238B2 (en) Tape printer
JPH07164712A (en) Tape printer
JP3094658B2 (en) Tape printer
JP2621741B2 (en) Recording device
JP4075076B2 (en) Tape printer
JP3377277B2 (en) Document processing device
JP2910817B2 (en) Tape printer
JP4491220B2 (en) Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program
JPH05318886A (en) Tape printing device
JP3249687B2 (en) Tape-shaped label making device
JP3809194B2 (en) Tape printer
JP3050469B2 (en) Tape printer
JP3719473B2 (en) Tape printer
JPH07214860A (en) Document processing equipment
JP3464205B2 (en) Tape printer
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
JP3237979B2 (en) Tape printer
JPH05177901A (en) Printer
JPH05342386A (en) Bar code printer
JPH05324641A (en) Tape printer
JP3189924B2 (en) Tape printer
JP3053137B2 (en) Document processing device
JP3123577B2 (en) Tape printer
JP3258578B2 (en) Recording device
JPH0830591A (en) Label preparation device