JPH082014A - Printer enabling printing of plurality of lines on tape - Google Patents

Printer enabling printing of plurality of lines on tape

Info

Publication number
JPH082014A
JPH082014A JP6277727A JP27772794A JPH082014A JP H082014 A JPH082014 A JP H082014A JP 6277727 A JP6277727 A JP 6277727A JP 27772794 A JP27772794 A JP 27772794A JP H082014 A JPH082014 A JP H082014A
Authority
JP
Japan
Prior art keywords
print
line
printing
lines
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.)
Pending
Application number
JP6277727A
Other languages
Japanese (ja)
Inventor
Yoshiyo Nagase
吉代 長瀬
Shoji Sakuragi
章二 桜木
Hideo Ueno
英生 上野
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 JP6277727A priority Critical patent/JPH082014A/en
Publication of JPH082014A publication Critical patent/JPH082014A/en
Pending legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enable setting of prescribed line modification for print lines by a method wherein the number of lines of a character string inputted from an input means is retrieved, prescribed line modification is set for prescribed print lines when the lines are in a plurality, printing data are prepared on the basis of the line modification and the lines are printed in the direction of the width of a tape. CONSTITUTION:A character string is inputted by an input means and stored as new-line data in an input data buffer. The number of print lines of these character data is retrieved by a retrieving means and inputted to a printing control means. When the number of the print lines is two or more, the print line is discriminated by a discriminating means.) Besides, at least one of line modifications including a left end mode wherein the lines are trued up at the left ends, a center mode of truing them up at the center, a right end mode of truing them up at the right ends, a character spacing mode, etc., is set by a mode setting means. When the number of the print lines is two or more, the printing control means controls printing in conformity with character position data set with the longest print line in a character position memory made a basis, on the basis of the set line modification.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、テープを印字媒体とし
て印字する印字装置に関し、特にそのテープの幅方向に
1行または複数行印字でき、かつ複数行印字する場合
に、左端揃え、センター揃え、右端揃え、等文字間隔、
の行修飾のうちの少なくとも1つを設定可能にした印字
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus for printing a tape as a printing medium, and more particularly, when printing one or more lines in the width direction of the tape, and when printing a plurality of lines, left edge alignment and center alignment are performed. , Right edge alignment, equal character spacing,
To a printing device capable of setting at least one of the line modifications.

【0002】[0002]

【従来の技術】本願出願人は、ドットパターンで印字す
る印字ヘッドを備え、印字媒体としてのテープに印字す
るように構成した印字装置を提案し実用化した。例え
ば、ファイルの「表題」や「内容」をテープに印字して
そのテープをファイルの所定位置に貼付けたり、或いは
「名前」をテープに印字してネームプレートに貼付ける
等、この印字装置は種々の用途に適用可能である。
2. Description of the Related Art The applicant of the present application has proposed and put into practical use a printing apparatus having a print head for printing in a dot pattern and configured to print on a tape as a print medium. For example, the "title" and "contents" of a file are printed on a tape and the tape is pasted at a predetermined position on the file, or the "name" is printed on the tape and pasted on a name plate. It can be applied to.

【0003】前記印字装置の印字ヘッドは固定的に設け
られ、印字するときには、印字ヘッドに対して直交する
1方向に印字用テープをテープ送り駆動するとともに、
テープ送りと同期させて上下方向に1列に設けられた印
字ヘッドの複数の印字素子を所定のタイミングで通電す
ることにより、印字用テープ上に複数のドット列からな
るドットパターンの文字を1行又は複数行に印字してい
た。
The printing head of the printing apparatus is fixedly provided, and when printing, the printing tape is driven in a direction orthogonal to the printing head, and
By energizing a plurality of print elements of the print head arranged in a row in the vertical direction in synchronization with the tape feed at a predetermined timing, one line of a dot pattern character consisting of a plurality of dot rows is printed on the printing tape. Or, it was printed on multiple lines.

【0004】[0004]

【発明が解決しようとする課題】例えばタイプライタや
ワードプロセッサなどの印字装置では、印字用紙の左右
長さを基準にして、左端揃え、右端揃え、センタリング
等の行修飾を設定して印字することができる。しかしこ
の種のテープ用の印字装置は、ほぼ制限のない長さのテ
ープに任意長さの文字列を印字するものであるから、左
端揃えや右端揃えなどの行修飾を従来の技術を適用して
設定することができない。印字されたテープが種々の用
途、例えば前述のように「表題」や「名前」等、外から
見やすいところに用いられる関係上、1行のみ印字する
場合よりも、複数行印字する場合その印字内容に応じて
各行を左端揃えや右端揃えなどして体裁よく配置したい
ことがある。しかし従来の装置では、複数行のうちの各
行の長さを計数して空白等を挿入しなければならず、面
倒であった。
For example, in a printing device such as a typewriter or a word processor, it is possible to set line modifications such as left edge alignment, right edge alignment, centering, etc. on the basis of the left-right length of the printing paper. it can. However, since this type of tape printing device prints a character string of arbitrary length on a tape of almost unlimited length, line modification such as left-edge alignment or right-edge alignment is applied using conventional technology. Can not be set. Because the printed tape is used for various purposes, such as "title" and "name" as mentioned above, where it is easy to see from the outside, the printing content when printing multiple lines rather than when printing only one line Depending on the situation, you may want to arrange each line in a neat manner by aligning the left edge and the right edge. However, in the conventional device, the length of each line of the plurality of lines must be counted and a blank or the like must be inserted, which is troublesome.

【0005】本発明の目的は、テープに1行または複数
行印字でき、かつ複数行印字する場合、そのうちの少な
くとも1つの印字行に、左端揃え、センター揃え、右端
揃え、等文字間隔、の行修飾のうちの少なくとも1つを
設定できるようにするものである。
An object of the present invention is to print one line or a plurality of lines on a tape, and in the case of printing a plurality of lines, at least one of the lines is left-aligned, center-aligned, right-aligned, or evenly spaced. It allows at least one of the modifications to be set.

【0006】[0006]

【課題を解決するための手段】本発明の印字装置は、図
1の機能ブロック図に示すように、印字媒体としてのテ
ープに印字する文字列、及びその文字列を複数行に構成
するための改行データを入力する入力手段と、左端揃え
で印字する左端モード、センター揃えで印字するセンタ
リングモード、右端揃えで印字する右端モード、等文字
間隔で印字する等文字間隔モード、の行修飾のうち少な
くとも1つを、前記複数行のうちの少なくとも1つの印
字行に設定するモード設定手段と、前記入力手段により
入力された文字列の印字行数を検索する検索手段と、印
字ヘッドと前記テープをそのテープの長手方向に相対移
動しながら、そのテープの長手方向に沿った文字列をテ
ープ幅方向に1行または複数行印字する印字手段と、前
記検索手段により検索された印字行数が複数あるとき、
前記少なくとも1つの印字行に入力された文字列を、そ
こに設定された行修飾にもとづいて、印字データに作成
し、前記印字ヘッドに印字させる印字制御手段を備え
る。
As shown in the functional block diagram of FIG. 1, a printer according to the present invention comprises a character string to be printed on a tape as a print medium, and a character string formed into a plurality of lines. At least one of input means for inputting line feed data and line modification of left edge mode for left edge alignment, centering mode for center alignment, right edge mode for right edge alignment, equal character spacing mode for equal character spacing A mode setting means for setting one to at least one print line of the plurality of lines, a search means for searching the print line number of the character string input by the input means, a print head and the tape. Printing means for printing a character string along the longitudinal direction of the tape in one or more lines in the tape width direction while relatively moving in the longitudinal direction of the tape; When number of printing rows cord there are multiple,
A print control unit is provided that creates a character string input to the at least one print line into print data based on the line decoration set therein and causes the print head to print the print data.

【0007】上記印字装置において好ましくは、さらに
前記検索手段により検索された印字行数が複数あると
き、その複数行のうちの最長の印字行を判別する判別手
段を備え、前記印字制御手段は、前記行修飾が設定され
た印字行の各文字について前記最長の印字行を基準とし
て演算した文字位置データを格納する文字位置メモリ、
その文字位置データにもとづいて各文字の印字データを
格納する印字バッファを有する。
Preferably, in the above printing apparatus, further, when there are a plurality of print lines retrieved by the retrieval means, there is provided a discriminating means for discriminating the longest print line among the plurality of print lines, and the print control means. A character position memory that stores character position data calculated based on the longest print line for each character of the print line in which the line decoration is set,
It has a print buffer for storing print data of each character based on the character position data.

【0008】また本発明の印字装置は、印字媒体として
のテープに印字する文字のコードデータ、及びその文字
を複数行に構成するための改行データを入力する入力手
段と、その入力手段により入力されたコードデータ及び
改行データを格納する入力データバッファと、左端揃え
で印字する左端モード、センター揃えで印字するセンタ
リングモード、右端揃えで印字する右端モード、等文字
間隔で印字する等文字間隔モード、の行修飾のうち少な
くとも1つを、複数行のうちの少なくとも1つの印字行
に設定するモード設定手段と、前記入力手段により入力
された文字列の印字行数を検索する検索手段と、前記検
索手段により検索された印字行数が複数あるとき、その
複数行のうちの最長の印字行を判別する判別手段と、多
数の文字のパターンデータを格納したパターンデータ格
納手段と、印字ヘッドと前記テープをそのテープの長手
方向に相対移動しながら、そのテープの長手方向に沿っ
た文字列をテープ幅方向に複数行印字する印字手段と、
前記入力データバッファに格納されたコードデータに対
応するパターンデータを前記パターンデータ記憶手段か
ら読み出し、そのパターンデータにもとづいて前記印字
ヘッドに印字させる印字制御手段を備え、前記印字制御
手段は、前記検索手段により検索された印字行数が複数
あるとき、前記少なくとも1つの印字行に設定された行
修飾にもとづいて、その行の文字について前記最長の印
字行を基準として演算した文字位置データを格納する文
字位置メモリを有する構成とすることもできる。
Further, the printing apparatus of the present invention has input means for inputting code data of characters to be printed on a tape as a printing medium and line feed data for constructing the characters in a plurality of lines, and input by the input means. The input data buffer that stores the code data and line feed data, the left edge mode that prints with left edge alignment, the centering mode that prints with center alignment, the right edge mode that prints with right edge alignment, and the equal character spacing mode that prints with equal character spacing. Mode setting means for setting at least one of the line modifications to at least one print line of a plurality of lines, search means for searching the print line number of the character string input by the input means, and the search means When there are a plurality of print lines retrieved by, the discriminating means for discriminating the longest print line among the plural lines and a pattern of a large number of characters A pattern data storing means for storing data, while relatively moving the print head tape in the longitudinal direction of the tape, a printing means for multiline print a character string in the tape width direction along the longitudinal direction of the tape,
Pattern data corresponding to the code data stored in the input data buffer is read from the pattern data storage means, and print control means for causing the print head to print based on the pattern data is provided. When there are a plurality of print lines retrieved by the means, the character position data calculated based on the longest print line for the characters of the line is stored based on the line decoration set in the at least one print line. It is also possible to have a configuration having a character position memory.

【0009】上記印字制御手段は好ましくは、さらに前
記入力データバッファに格納されたコードデータに対応
するパターンデータを前記文字位置データにもとづいて
格納する印字バッファを有する。
The print control means preferably further has a print buffer for storing pattern data corresponding to the code data stored in the input data buffer based on the character position data.

【0010】また上記印字ヘッドは好ましくは、前記テ
ープの印字領域の複数行の各文字に対応する多数の印字
素子を有する。
The print head preferably also has a number of print elements corresponding to each character in a plurality of lines of the print area of the tape.

【0011】さらに上記印字装置は、好ましくは前記検
索手段により検索された印字行数にもとづいて印字時の
文字サイズを指定する手段を備え、また前記複数行のう
ち、前記行修飾を設定する印字行を選択する手段を備え
ることもできる。
Further, the printing device preferably further comprises means for designating a character size at the time of printing based on the number of printing lines retrieved by the retrieval means, and printing for setting the line modification among the plurality of lines. Means for selecting rows may also be provided.

【0012】[0012]

【作用】本発明に係る印字装置においては、入力手段に
より文字列を入力し、改行データで複数行に構成する。
その入力した行数を検索手段で検索し、複数行ある場
合、モード設定手段により左端モード、センタリングモ
ード、右端モード、等文字間隔モード、の行修飾のうち
の1つを、複数行のうちの少なくとも1つの印字行に設
定する。また複数行あるとき、印字制御手段により、前
記の少なくとも1つの印字行に入力された文字列を、そ
こに設定された行修飾にもとづいて、印字データに作成
し、印字ヘッドによりテープ幅方向に複数行を配置した
状態でテープの長手方向に沿って印字する。
In the printing apparatus according to the present invention, a character string is input by the input means, and line feed data is formed into a plurality of lines.
The input means is searched for the number of input lines, and when there are a plurality of lines, one of the line modifications of the left edge mode, the centering mode, the right edge mode, and the equal character spacing mode is selected from the plurality of lines by the mode setting means. Set to at least one print line. Further, when there are a plurality of lines, the print control means creates the character string input to the at least one print line into print data based on the line decoration set therein, and prints the print data in the tape width direction by the print head. Printing is performed along the longitudinal direction of the tape with a plurality of lines arranged.

【0013】好ましくは、判別手段で複数行のうちの最
長の印字行を判別し、行修飾が設定された印字行の各文
字について最長の印字行を基準として演算した文字位置
データを文字位置メモリに格納し、その文字位置データ
にもとづいて各文字の印字データを印字バッファに格納
することで、印字ヘッドは、印字バッファから読みだし
た印字データにもとづいて印字することができる。
It is preferable that the discriminating means discriminates the longest print line of the plurality of lines, and character position data calculated for each character of the print line for which line modification is set with the longest print line as a reference is stored in the character position memory. By storing the print data of each character in the print buffer based on the character position data, the print head can print based on the print data read from the print buffer.

【0014】また好ましくは、入力手段は文字をコード
データで入力する。それらのコードデータ、また改行デ
ータを入力データバッファに格納する。上記のようにモ
ード設定手段で複数行のうちの少なくとも1つの印字行
に対し行修飾を設定し、文字位置メモリに、行修飾を設
定した印字行の各文字について演算した文字位置データ
を格納する。そしてコードデータに対応するパターンデ
ータを、パターンデータ格納手段から読みだし、上記文
字位置データにしたがって印字ヘッドで印字することが
できる。この場合、読みだしたパターンデータは印字バ
ッファに格納することで、上記と同様に、印字ヘッドで
印字することができる。
Further preferably, the input means inputs the character as code data. The code data and line feed data are stored in the input data buffer. As described above, the mode setting means sets the line decoration for at least one print line of the plurality of lines, and stores the character position data calculated for each character of the print line for which the line decoration is set in the character position memory. . Then, the pattern data corresponding to the code data can be read from the pattern data storage means and printed by the print head according to the character position data. In this case, the read pattern data is stored in the print buffer so that it can be printed by the print head as described above.

【0015】印字ヘッドは、テープの印字領域の複数行
の各文字に対応する多数の印字素子を有することで、テ
ープに対し長手方向に相対移動するだけで複数行を並行
して印字することができる。
Since the print head has a large number of printing elements corresponding to the respective characters of a plurality of lines in the print area of the tape, it is possible to print a plurality of lines in parallel simply by moving them relative to the tape in the longitudinal direction. it can.

【0016】さらに好ましくは、検索した行数にもとづ
いて文字サイズを指定することで、狭いテープ幅内にお
いて行数に合った文字サイズで印字することができる。
More preferably, by specifying the character size based on the retrieved number of lines, it is possible to print with a character size that matches the number of lines within a narrow tape width.

【0017】さらに上記印字装置は、複数行のうち、行
修飾を設定する印字行を選択することで、任意の印字行
に行修飾を施すことができる。
Further, the printing apparatus can perform line modification on an arbitrary print line by selecting a print line for which line modification is to be set among a plurality of lines.

【0018】このように、任意の長さのテープに1行ま
たは複数行印字でき、複数行印字する場合には、行修飾
を設定できるので、印字行の外観が向上し、印字装置の
実用性を高めることができる。
As described above, one or more lines can be printed on a tape of an arbitrary length, and in the case of printing a plurality of lines, line modification can be set, so that the appearance of the printed line is improved and the practicability of the printing apparatus is improved. Can be increased.

【0019】[0019]

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

【0020】本実施例は、アルファベット文字や数字、
記号など(本明細書ではそれらを総称して単に「文字」
という)を印字用テープに印字可能な印字装置に本発明
を適用した場合のものである。
In this embodiment, alphabetic characters and numbers,
Symbols, etc. (In this specification, they are collectively referred to simply as "characters")
") Is applied to a printing device capable of printing a printing tape.

【0021】図2に示すように、印字装置1の本体フレ
ーム2の前部にはキーボード3が配設され、キーボード
3の後方で本体フレーム2内には印字機構PMが配設さ
れ、またキーボード3の後方には文字を表示可能な液晶
ディスプレイ4が設けられている。尚、ディスプレイ4
は、2行分表示可能になっている。
As shown in FIG. 2, a keyboard 3 is provided in the front portion of the main body frame 2 of the printer 1, a printing mechanism PM is provided in the main body frame 2 behind the keyboard 3, and the keyboard is also provided. Behind 3 is provided a liquid crystal display 4 capable of displaying characters. Display 4
Can display two lines.

【0022】キーボード3には、文字を入力するための
文字キー、カーソル移動キー、改行を指令するための改
行キー、文書データを作成するための文書作成キー、文
書作成の終了を指令するための作成終了キー、行修飾指
定モードを設定するためのモード設定キー、図5に示す
ように、左端揃えで印字する左端モードに行修飾を設定
するための左端モードキー、図6に示すように、センタ
ー揃えで印字するセンタリングモードに行修飾を設定す
るためのセンタリングモードキー、図7に示すように、
右端揃えで印字する右端モードに行修飾を設定するため
の右端モードキー、図8に示すように、等文字間隔で印
字する等文字間隔モードに行修飾を設定するための等文
字間隔モードキ−、印字を指令するための印字キー、電
源をON・OFFするための電源キーなどが設けられて
いる。
The keyboard 3 is provided with a character key for inputting characters, a cursor movement key, a line feed key for instructing a line feed, a document creation key for creating document data, and an instruction to end document creation. A creation end key, a mode setting key for setting a line decoration designation mode, a left end mode key for setting a line decoration in a left end mode for printing with left end alignment as shown in FIG. 5, and a as shown in FIG. Centering mode key for setting line decoration in the centering mode for printing with center alignment, as shown in FIG.
The right edge mode key for setting the line decoration in the right edge mode for printing with right edge alignment, as shown in FIG. 8, the equal character spacing mode key for setting the line decoration for the equal character spacing mode for printing at equal character spacing, A print key for instructing printing, a power key for turning the power on and off, and the like are provided.

【0023】次に、印字機構PMについて簡単に説明す
る。
Next, the printing mechanism PM will be briefly described.

【0024】図3に示すように、本体フレーム2には、
矩形状のテープ収納カセットCSが着脱自在に装着さ
れ、このテープ収納カセットCSには、透明なフィルム
からなる幅約24mmの印字用テープ5が巻装されたテー
プスプール6と、インクリボン7が巻装されたリボン供
給スプール8と、このインクリボン7を巻取る巻取りス
プール9と、印字用テープ5と同一幅を有する両面テー
プ10が剥離紙を外側にして巻装された供給スプール1
1と、これら印字用テープ5と両面テープ10とを接合
させる接合ローラ12とが回転自在に設けられている。
As shown in FIG. 3, the main body frame 2 includes
A rectangular tape storage cassette CS is detachably mounted, and a tape spool 6 around which a printing tape 5 made of a transparent film and having a width of about 24 mm and an ink ribbon 7 are wound around the tape storage cassette CS. A supply spool 1 in which a ribbon supply spool 8 mounted, a take-up spool 9 for winding the ink ribbon 7, and a double-sided tape 10 having the same width as the printing tape 5 are wound with a release paper outside.
1, and a joining roller 12 for joining the printing tape 5 and the double-sided tape 10 are rotatably provided.

【0025】印字用テープ5とインクリボン7とが重な
る位置には、サーマルヘッド13が固定的に立設され、
これら印字用テープ5とインクリボン7とをサーマルヘ
ッド13に押圧するプラテンローラ14と、印字用テー
プ5と両面テープ10とを接合ローラ12に押圧する送
りローラ15とは支持体16に回転可能に枢支されてい
る。このサーマルヘッド13には、上下方向(すなわち
テープの幅方向)に1列に列設された128個の発熱素
子からなる発熱素子群13a(図9参照)が設けられて
いる。
At the position where the printing tape 5 and the ink ribbon 7 overlap, a thermal head 13 is fixedly erected,
The platen roller 14 that presses the printing tape 5 and the ink ribbon 7 against the thermal head 13, and the feed roller 15 that presses the printing tape 5 and the double-sided tape 10 against the joining roller 12 are rotatable on the support 16. It is pivotally supported. The thermal head 13 is provided with a heating element group 13a (see FIG. 9) including 128 heating elements arranged in a row in the vertical direction (that is, the width direction of the tape).

【0026】テープ送りモータ24を回転駆動して接合
ローラ12と巻取りスプール9とを夫々所定方向に同期
回転駆動しながら、これに同期して発熱素子群13aに
所定のタイミングで複数回通電することにより、印字用
テープ5上には複数のドット列からなるドットパターン
の文字が印字され、その後、印字用テープ5の印字面に
は両面テープ10が貼付けられて送り方向A(すなわち
テープの長手方向に)にテープ送りされる。尚、印字機
構PMは、公知の構成(例えば特開平2ー106555
号公報を参照)と同様である。
The tape feed motor 24 is rotationally driven to synchronously drive the joining roller 12 and the take-up spool 9 respectively in predetermined directions, and in synchronization with this, the heating element group 13a is energized a plurality of times at predetermined timing. As a result, the characters of the dot pattern composed of a plurality of dot rows are printed on the printing tape 5, and then the double-sided tape 10 is attached to the printing surface of the printing tape 5 in the feeding direction A (that is, the longitudinal direction of the tape). In the direction). The printing mechanism PM has a known configuration (for example, Japanese Patent Laid-Open No. 2-106555).
(See Japanese Patent Publication).

【0027】図9に示すように、印字用テープ5の幅方
向には、発熱素子群13aに対応する印字領域PEが設
定され、この印字領域PEに最大3行まで印字可能にな
っており、1行印字の場合には、図9に「A」で示すよ
うに、ドットパターンデータが120ドット(縦)×1
20ドット(横)からなるLサイズ文字で、2行印字の
場合には、図9に「D」で示すように、ドットパターン
データが48ドット(縦)×48ドット(横)からなる
Mサイズ文字で、3行印字の場合には、図9に「F」で
示すように、ドッドパターンデータが32ドット(縦)
×32ドット(横)からなるSサイズ文字で印字され
る。また、1行印字、2行印字、3行印字のいづれの場
合においても、印字下端と印字上端は、印字下限ライン
BLと印字上限ラインTLより夫々4ドット分内側に印
字されるようになっている。
As shown in FIG. 9, a printing area PE corresponding to the heating element group 13a is set in the width direction of the printing tape 5, and up to 3 lines can be printed in the printing area PE. In the case of printing one line, the dot pattern data is 120 dots (vertical) x 1 as shown by "A" in FIG.
When printing two lines with L size characters consisting of 20 dots (horizontal), as shown by “D” in FIG. 9, dot pattern data is M size consisting of 48 dots (vertical) × 48 dots (horizontal). When printing three lines of characters, the dot pattern data is 32 dots (vertical) as shown by "F" in FIG.
Printed in S size characters consisting of 32 dots (horizontal). Further, in the case of one-line printing, two-line printing, and three-line printing, the lower printing end and the upper printing end are each printed 4 dots inside the lower printing limit line BL and the upper printing limit line TL. There is.

【0028】次に、印字装置1の制御系について説明す
る。
Next, the control system of the printer 1 will be described.

【0029】図4に示すように、キーボード3と、液晶
ディスプレイ(LCD)4に表示データを出力するため
の表示用RAMを有するディスプレイコントローラ(L
CDC)23と、サーマルヘッド13を駆動するための
駆動回路25と、テープ送りモータ24を駆動するため
の駆動回路26と、警告用ブザー20のための駆動回路
21とは制御装置Cの入出力インターフェース27に夫
々接続されている。
As shown in FIG. 4, a display controller (L) having a keyboard 3 and a display RAM for outputting display data to a liquid crystal display (LCD) 4.
CDC) 23, a drive circuit 25 for driving the thermal head 13, a drive circuit 26 for driving the tape feed motor 24, and a drive circuit 21 for the warning buzzer 20. Each is connected to the interface 27.

【0030】制御装置Cは、CPU29と、このCPU
29にデータバスなどのバス28を介して接続された入
出力インターフェース27、CGROM30、ROM3
1及びRAM40とから構成されている。
The control device C includes a CPU 29 and this CPU
An input / output interface 27, a CGROM 30, and a ROM 3 which are connected to 29 via a bus 28 such as a data bus.
1 and RAM 40.

【0031】CGROM30には、多数の文字の各々に
関して、印字用のLサイズ、Mサイズ、Sサイズのドッ
トパターンデータと、ディスプレイコントローラ23の
表示用RAMに出力するための所定サイズのドットパタ
ーンデータとがコードデータに対応させて格納されてい
る。
The CGROM 30 stores dot pattern data of L size, M size, and S size for printing, and dot pattern data of a predetermined size to be output to the display RAM of the display controller 23 for each of a large number of characters. Are stored in association with the code data.

【0032】ROM31には、データ入力処理制御、表
示処理制御、印字処理制御及び本願特有の行修飾を設定
するためのモード設定処理制御などを含むテープ印字制
御の制御プログラムと、印字行数と使用する文字サイズ
のサイズ指定データとを対応づけたテーブルが格納され
ている。
The ROM 31 includes a tape print control control program including data input process control, display process control, print process control, and mode setting process control for setting line modifications unique to the present application, the number of print lines, and the number of print lines used. A table is stored in which the size designation data of the character size to be associated is associated.

【0033】RAM40のラインバッファ41には、図
10に示すように、キーボード3から入力された各文字
について、文字のコードデータと、文字サイズを指定す
るサイズ指定データなどの文字修飾データなどが一時的
に格納される。テキストメモリ42には、ラインバッフ
ァ41から転送されたデータが格納される。行数メモリ
43には、検索された印字行数Nが一時的に格納され
る。フラグメモリ44には、行修飾が左端モード、セン
タリングモード、右端モードに夫々設定されたときにセ
ットされる左端モードフラグLF、センタリングモード
フラグCF、右端モードフラグRFのフラグデータが、
行修飾が設定された印字行に対応させて格納される。最
長行メモリ45には、複数行に印字される場合に最長行
の行番号が格納される。文字位置メモリ46には、行修
飾が設定されている各印字行の各文字について、設定さ
れた行修飾に印字されるように印字バッファ47にドッ
トパターンデータを展開するための文字位置のデータが
コードデータやサイズ指定データとともに格納される。
印字バッファ47には、文字位置メモリ46に格納され
た文字位置データなどにもとづいてドットパターンデー
タに展開された複数文字の印字データが格納される。
In the line buffer 41 of the RAM 40, as shown in FIG. 10, for each character input from the keyboard 3, character code data and character modification data such as size designation data for designating the character size are temporarily stored. Are stored in the memory. The data transferred from the line buffer 41 is stored in the text memory 42. In the line number memory 43, the retrieved print line number N is temporarily stored. In the flag memory 44, flag data of a left end mode flag LF, a centering mode flag CF, and a right end mode flag RF, which are set when the line modification is set to the left end mode, the centering mode, and the right end mode, respectively,
It is stored corresponding to the print line for which line modification is set. The longest line memory 45 stores the line number of the longest line when printing is performed on a plurality of lines. In the character position memory 46, for each character of each print line for which line modification is set, character position data for expanding dot pattern data in the print buffer 47 so as to be printed in the set line modification is stored. It is stored together with code data and size specification data.
The print buffer 47 stores print data of a plurality of characters which is expanded into dot pattern data based on the character position data stored in the character position memory 46 and the like.

【0034】次に、印字装置1の制御装置Cで行なわれ
るテープ印字制御のルーチンについて、図11〜図15
のフローチャートにもとづいて説明する。尚、図中符号
Si(i=10、11、12・・・・)は各ステップで
ある。また、以下の説明では、図8に示すように、3行
印字において、各印字行を等文字間隔モードに行修飾す
る場合について説明する。
Next, the tape print control routine executed by the controller C of the printer 1 will be described with reference to FIGS.
The explanation will be given based on the flowchart of. In the figure, reference numeral Si (i = 10, 11, 12, ...) Indicates each step. Further, in the following description, as shown in FIG. 8, in the case of printing three lines, each print line is modified to the equal character spacing mode.

【0035】電源キー操作により電源が投入されるとこ
の制御が開始され、先ず各メモリ41〜47や印字行を
指定する行カウンタをクリアするなどの初期設定が実行
され(S10)、文書作成キーが操作されると(S11
・S12:Yes)、文字キーを操作することにより入
力されるデータを入力処理するデータ入力処理制御(図
12参照)が開始される(S13)。
When the power is turned on by operating the power key, this control is started, and initial settings such as clearing the memories 41 to 47 and the line counter designating the print line are executed (S10), and the document creation key. Is operated (S11
(S12: Yes), data input processing control (see FIG. 12) for input processing of data input by operating the character keys is started (S13).

【0036】データ入力処理制御が開始され、文字キー
が操作されると(S20:Yes)、その文字の文字コ
ードデータが順次ラインバッファ41に格納され(S2
1)、更にその文字がディスプレイ4に表示される(S
22)。即ち、「ABCDEFGHJKLMN」と順次
入力すると、これらの文字列がディスプレイ4の上段行
に表示される。次に、文字列「ABCDEFG」を改行
して印字するために改行キーを操作すると(S23:Y
es)、改行データがラインバッファ41に記憶され
(S24)、カーソルがディスプレイ4の下段行の左端
に移動する(S25)。次に、前記同様に文字キーを操
作して「ABCDEFG」の各文字を入力することによ
り、S20〜S22が繰り返され、次に、文字列「AB
C」を改行して印字するために改行キーを操作すると、
前記同様にS24・S25が実行される。尚、この場
合、S25において、文字列が一行スクロールされて、
カーソルがディスプレイ4の下段行の左端に移動する。
When the data input processing control is started and the character key is operated (S20: Yes), the character code data of the character is sequentially stored in the line buffer 41 (S2).
1) Further, the character is displayed on the display 4 (S
22). That is, when "ABCDEFGHJKLMN" is sequentially input, these character strings are displayed in the upper row of the display 4. Next, when the line feed key is operated to print the line feed of the character string "ABCDEFG" (S23: Y
es), the line feed data is stored in the line buffer 41 (S24), and the cursor moves to the left end of the lower row of the display 4 (S25). Next, S20 to S22 are repeated by operating the character keys and inputting each character "ABCDEFG" in the same manner as described above, and then the character string "AB
When you operate the line feed key to print "C" with line feed,
Similar to the above, S24 and S25 are executed. In this case, in S25, the character string is scrolled by one line,
The cursor moves to the left end of the lower row of the display 4.

【0037】このようにして、文字入力が終わって作成
終了キーが操作されると(S20・S23:No、S2
6:Yes)、ラインバッファ41に記憶された改行デ
ータにもとづいて行数Nが検索されて行数メモリ43に
格納され(S27)、次に、行数Nにもとづいて印字時
の文字サイズが設定される(S28)。即ち、本実施例
においては行数は3行なので、ROM31のテーブルに
もとづいてSサイズ文字を指定するサイズ指定データ
が、ラインバッファ41に各文字の文字コードデータに
付随さて格納される。その後、ラインバッファ41のデ
ータはテキストメモリ42に転送される(S29)。
In this way, when the character input is completed and the creation end key is operated (S20 / S23: No, S2).
6: Yes), the line number N is retrieved based on the line feed data stored in the line buffer 41 and stored in the line number memory 43 (S27), and then the character size at the time of printing is determined based on the line number N. It is set (S28). That is, in the present embodiment, since the number of lines is three, the size designation data designating the S size character based on the table of the ROM 31 is stored in the line buffer 41 in association with the character code data of each character. Then, the data in the line buffer 41 is transferred to the text memory 42 (S29).

【0038】次に、モード設定キーが操作されると(S
11:Yes、S12:No、S14:Yes)、行修
飾を設定するためのモード設定処理制御(図13参照)
が開始される(S15)。この制御が開始され、行数メ
モリ43のデータにもとづいて、行数Nが2行以上と判
定された場合には(S40:Yes)、1行目を指定す
るために行カウンタCに「1」がセットされ(S4
1)、次に、1行目の文字列がディスプレイ4に表示さ
れる(S42)。次に、左端モードキーが操作された場
合には(S43:Yes)、左端モードフラグLFがセ
ットされるとともに、センタリングモードフラグCFと
右端モードフラグRFがリセットされ(S44)、セン
タリングモードキーが操作された場合には(S43:N
o、S45:Yes)、センタリングモードフラグCF
がセットされるとともに、左端モードフラグLFと右端
モードフラグRFとがリセットされ(S46)、右端モ
ードキーが操作された場合には(S43・S45:N
o、S47:Yes)、右端モードフラグRFがセット
されるとともに、左端モードフラグLFとセンタリング
モードフラグCFとがリセットされ(S48)、等文字
間隔モードキーが操作された場合には(S43・S45
・S47:No、S49:Yes)、左端モードフラグ
LF、センタリングモードフラグCF及び右端モードフ
ラグRFともにリセットされる(S50)。本実施例に
おいては、等文字間隔モードに設定するので、各フラグ
LF、CF、RFともにリセットされ、これらフラグデ
ータは、各印字行に対応させてフラグメモリ44に格納
される。
Next, when the mode setting key is operated (S
11: Yes, S12: No, S14: Yes), mode setting process control for setting line decoration (see FIG. 13)
Is started (S15). When this control is started and it is determined that the number of rows N is two or more based on the data in the row number memory 43 (S40: Yes), the row counter C is set to "1" to designate the first row. Is set (S4
1) Next, the character string on the first line is displayed on the display 4 (S42). Next, when the left end mode key is operated (S43: Yes), the left end mode flag LF is set, the centering mode flag CF and the right end mode flag RF are reset (S44), and the centering mode key is operated. If it is done (S43: N
o, S45: Yes), centering mode flag CF
Is set, the left end mode flag LF and the right end mode flag RF are reset (S46), and when the right end mode key is operated (S43 / S45: N).
o, S47: Yes), the right edge mode flag RF is set, the left edge mode flag LF and the centering mode flag CF are reset (S48), and the equal character spacing mode key is operated (S43 / S45).
-S47: No, S49: Yes), the left end mode flag LF, the centering mode flag CF, and the right end mode flag RF are reset (S50). In this embodiment, since the equal character spacing mode is set, each flag LF, CF, RF is reset, and these flag data are stored in the flag memory 44 corresponding to each print line.

【0039】このようにして、1行目の行修飾が設定さ
れると、行カウンタCがインクリメントされ(S5
2)、次にカウンタ値が4以上か否かが判定される(S
53)。この場合、1行目の行修飾の設定が終わったば
かりなので(S53:No)、S42に移行し、以下同
様に2行目、3行目ついて行修飾が設定される。全ての
行について行修飾の設定が終わると(S53:Ye
s)、S11に移行する。尚、S40において、行数N
が1行と判定された場合又は左端モードキー、センタリ
ングモードキー、右端モードキー及び等文字間隔モード
キー以外のキーが操作された場合には(S43・S45
・S47・S49:No)、警告のためにブザー20が
鳴動される(S51)。
When the line modification of the first line is set in this way, the line counter C is incremented (S5
2) Next, it is determined whether the counter value is 4 or more (S
53). In this case, since the setting of the line modification for the first line has just been completed (S53: No), the process proceeds to S42, and the line modification is similarly set for the second and third lines. When the line modification settings have been completed for all lines (S53: Ye
s), and shifts to S11. Incidentally, in S40, the number of rows N
Is determined to be one line, or a key other than the left end mode key, the centering mode key, the right end mode key, and the equal character interval mode key is operated (S43 / S45).
-S47-S49: No), the buzzer 20 sounds for a warning (S51).

【0040】次に、印字キーが操作されると(S11:
Yes、S12・S14:No、S16:Yes)、印
字処理制御(図14)が開始される(S17)。
Next, when the print key is operated (S11:
Yes, S12 / S14: No, S16: Yes), and the print processing control (FIG. 14) is started (S17).

【0041】この制御が開始されると、行数メモリ43
のデータにもとづいて行数Nが1行か否かが判定され
(S60)、行数Nが1行の場合には(S60:Ye
s)、テキストメモリ42の文字コードデータ及びサイ
ズ指定データにもとづいて、印字バッファ47にドット
パターンデータとして展開処理される(S62)。一
方、行数Nが2行以上の場合には(S60:No)、各
行の各文字を、設定された行修飾にもとづいて印字バッ
ファ47にドットパターンデータとして展開するための
再配列処理制御(図15)が開始される(S63)。
When this control is started, the row number memory 43
It is determined whether the number of rows N is 1 based on the data of (S60), and when the number of rows N is 1 (S60: Ye
s), based on the character code data and the size designation data of the text memory 42, the print buffer 47 is developed as dot pattern data (S62). On the other hand, when the number of lines N is 2 or more (S60: No), rearrangement processing control for expanding each character of each line in the print buffer 47 as dot pattern data based on the set line decoration ( 15) is started (S63).

【0042】この制御が開始されると、各行の文字数を
比較することにより最長行が検索され、最長行の行番号
が最長行メモリ45に記憶される(S70)。本実施例
においては、1行目が最長行なので行番号「1」が記憶
される。次に、1行目を指定するために行カウンタCに
「1」がセットされ(S71)、次に、テキストメモリ
42より1行目のデータが読み出される(S72)。次
に、行カウンタCのカウンタ値と最長行メモリ45に格
納されたデータにもとづいて、1行目が最長行か否かが
判定され(S73)、最長行である場合には(S73:
Yes)、行数メモリ43の行数Nのデータと、テキス
トメモリ42の1行目の各文字についてのサイズ指定デ
ータと文字コードデータなどにもとづいて、1行目の各
文字について、印字バッファ47にドットパターンデー
タに展開処理するための位置が演算され、その演算結果
が文字位置データとしてサイズ指定データや文字コード
データとともに文字位置メモリ46に記憶される(S7
4)。即ち、本実施例においては、1行目が最長行であ
るので、図16に示すように、1行目の「ABCDEF
GHJKLMN」の各文字について、そのドットパター
ンデータを印字バッファ47に展開するための展開基準
位置Pn が例えば印字バッファ47の原点Oを基準とし
て演算され、その演算結果が文字位置データとしてサイ
ズ指定データや文字コードデータとともに文字位置メモ
リ46に記憶される。
When this control is started, the longest line is searched by comparing the number of characters of each line, and the line number of the longest line is stored in the longest line memory 45 (S70). In this embodiment, the line number "1" is stored because the first line is the longest line. Next, "1" is set to the line counter C to specify the first line (S71), and then the data of the first line is read from the text memory 42 (S72). Next, based on the counter value of the row counter C and the data stored in the longest row memory 45, it is determined whether the first row is the longest row (S73), and if it is the longest row (S73:
Yes), based on the data of the number of lines N of the line number memory 43, the size designation data and the character code data of each character of the first line of the text memory 42, etc., the print buffer 47 for each character of the first line. The position for developing the dot pattern data is calculated, and the calculation result is stored as character position data in the character position memory 46 together with the size designation data and the character code data (S7).
4). That is, in this embodiment, since the first line is the longest line, as shown in FIG. 16, the first line "ABCDEF
For each character of "GHJKLMN", the expansion reference position Pn for expanding the dot pattern data in the print buffer 47 is calculated with the origin O of the print buffer 47 as a reference, and the calculation result is used as character position data for size designation data or It is stored in the character position memory 46 together with the character code data.

【0043】次に、行カウンタCがインクリメントされ
(S82)、次にカウンタ値が4以上か否かが判定され
る(S83)。この場合は、1行目の処理が終わったば
かりなので、S72に移行し、2行目のデータが読み出
され、次に、S73において2行目が最長行か否かがカ
ウンタ値と最長行メモリ45のデータにもとづいて判定
される。本実施例においては、2行目が最長行でないこ
とが判定され(S73:No)、次に、フラグメモリ4
4に格納されたフラグデータにもとづいて、2行目が等
文字間隔モードに行修飾モードが設定されていることが
判定され(S75・S77・S79:No)。そして
2行目の「ABCDEFG」の各文字が最長印字行を基
準とする等文字間隔モードで印字されるように、最長行
についてその行の長さが演算され、最長行の長さを基準
として2行目の各文字について、ドットパターンデータ
を印字バッファ47に展開するための展開基準位置Pn
が演算され、その演算結果が文字位置データとしてサイ
ズ指定データや文字コードデータとともに文字位置メモ
リ46に記憶される(S81)。その後、S82に移行
し、前記同様にS83、S72〜S81が実行される。
このようにして、全部の行について処理が終わると(S
83:Yes)、S62に移行する。尚、行修飾が左端
モード(S75:Yes)、センタリングモード(S7
7:Yes)、及び右端モード(S79:Yes)に設
定されているときには、夫々S76・S78・S80が
実行される。
Next, the row counter C is incremented (S82), and then it is determined whether the counter value is 4 or more (S83). In this case, since the processing of the first row has just been completed, the process proceeds to S72, the data of the second row is read, and then, in S73, it is determined whether or not the second row is the longest row. It is judged based on the data of. In the present embodiment, it is determined that the second line is not the longest line (S73: No), and then the flag memory 4
4 based on the stored flag data, it Ru is determined that the row modification mode to the second line is equal character spacing mode is set (S75 · S77 · S79: No ). Then, the length of the longest line is calculated so that each character "ABCDEFG" on the second line is printed in the equal character spacing mode with the longest print line as the reference, and the length of the longest line is used as the reference. Development reference position Pn for expanding the dot pattern data in the print buffer 47 for each character on the second line
Is calculated and the calculation result is stored as character position data in the character position memory 46 together with the size designation data and the character code data (S81). After that, the processing shifts to S82, and S83 and S72 to S81 are executed as described above.
In this way, when the processing is completed for all rows (S
83: Yes), and proceeds to S62. The line modification is the leftmost mode (S75: Yes) and the centering mode (S7).
7: Yes) and the right end mode (S79: Yes), S76, S78, and S80 are executed, respectively.

【0044】次に、文字位置メモリ46に格納された各
行の各文字の文字位置データ、サイズ指示データ及び文
字コードデータにもとづいて、図16に示すように、各
文字のドットパターンデータが印字バッファ47に展開
される(S62)。こうして、全ての文字についてドッ
トパターンデータが印字バッファ47に展開されると、
テープ送りモータ24が回転駆動されて接合ローラ12
と巻取りスプール9とが同期回転駆動されるとともに、
印字バッファ47のドットパターンデータにもとづいて
発熱素子群13aが所定のタイミングで通電されて印字
用テープ5上には複数のドット列により文字が印字さ
れ、印字テープ5の印字面には両面テープ10が貼付け
られる(S64)。その後、全ての文字の印字が終わる
と、所定量のテープ送り処理と切断処理の実行が指令さ
れ(S65)、この制御を終了してリターンする。
Next, based on the character position data of each character of each line stored in the character position memory 46, the size instruction data and the character code data, as shown in FIG. 16, the dot pattern data of each character is printed in the print buffer. It is expanded to 47 (S62). Thus, when the dot pattern data is expanded in the print buffer 47 for all characters,
The tape feed motor 24 is driven to rotate and the joining roller 12
And the take-up spool 9 are driven to rotate synchronously,
Based on the dot pattern data of the print buffer 47, the heating element group 13a is energized at a predetermined timing, characters are printed on the printing tape 5 by a plurality of dot rows, and the double-sided tape 10 is printed on the printing surface of the printing tape 5. Is pasted (S64). After that, when printing of all the characters is completed, execution of a predetermined amount of tape feeding processing and cutting processing is instructed (S65), and this control is ended and the process returns.

【0045】このように、左端モードキー、センタリン
グモードキー、右端モード及び等文字間隔モードキーを
操作することにより、複数行のうちの任意の印字行に行
修飾を設定出来るので、印字レイアウトの自由度が高め
られ、印字行の外観が向上し、印字装置の実用性を高め
ることが出来る。
As described above, by operating the left end mode key, the centering mode key, the right end mode, and the equal character spacing mode key, the line decoration can be set to any print line among a plurality of lines, so that the print layout can be freely set. And the appearance of the printed line is improved, and the practicality of the printing device can be improved.

【0046】尚、前記実施例では、3行印字について説
明したが、4行以上に印字することも可能である。更
に、印字用にCGROMを別途設け、このCGROMに
ドットパターンデータに代えて、各文字についての輪郭
線データを格納するようにしてもよい。加えて、文字サ
イズは、前記文字サイズ以外に、種々の文字サイズを設
定することも可能であるし、文字サイズを指定するため
のキーを設け、このキーを操作することにより、所望の
文字サイズを選択できるように構成することも可能であ
る。
In the above embodiment, printing of three lines is described, but printing of four lines or more is also possible. Further, a CGROM may be separately provided for printing, and the contour line data for each character may be stored in this CGROM instead of the dot pattern data. In addition to the character size, it is also possible to set various character sizes, and by providing a key to specify the character size and operating this key, the desired character size can be set. It is also possible to configure so that can be selected.

【0047】[0047]

【発明の効果】以上のように本発明の印字装置は、行数
を検索して複数行あるとき、そのうちの少なくとも1つ
の印字行に行修飾を設定できるので、任意の長さのテー
プにおいても、1行または複数行を体裁よく印字でき
る。さらに行数にもとづいて文字サイズを指定するよう
にすることによって、1行および複数行を見やすく印字
することができ、特に複数行の場合には行修飾の効果と
相俟って印字行の外観が向上する。また複数行のうち任
意の行を選択して行修飾を施すことによって、印字レイ
アウトの自由度を高めることができる。
As described above, according to the printing apparatus of the present invention, when the number of lines is searched and a plurality of lines are present, line modification can be set to at least one of the printing lines, so that even a tape having an arbitrary length can be set. One line or a plurality of lines can be printed clearly. Furthermore, by specifying the character size based on the number of lines, it is possible to print one line and multiple lines in an easy-to-see manner. Especially when there are multiple lines, the appearance of the printed lines is combined with the effect of line modification. Is improved. In addition, the flexibility of the print layout can be increased by selecting an arbitrary line from a plurality of lines and performing line modification.

【0048】したがって「表題」や「名前」等のために
1行または複数行を見やすく印字することができ、テー
プ用の印字装置の実用性を高めることができるものであ
る。
Therefore, one line or a plurality of lines can be easily printed for the "title", "name", etc., and the practicability of the tape printing apparatus can be improved.

【図面の簡単な説明】[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 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 printing apparatus.

【図5】右端モードの印字例を示す図である。FIG. 5 is a diagram illustrating an example of printing in a right edge mode.

【図6】センタリングモードの印字例を示す図である。FIG. 6 is a diagram showing an example of printing in a centering mode.

【図7】右端モードの印字例を示す図である。FIG. 7 is a diagram illustrating an example of printing in a right edge mode.

【図8】等文字間隔モードの印字例を示す図である。FIG. 8 is a diagram showing a printing example in an equal character spacing mode.

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

【図10】ラインバッファ内のデータを示す説明図であ
る。
FIG. 10 is an explanatory diagram showing data in a line buffer.

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

【図12】データ入力処理制御のサブルーチンの概略フ
ローチャートである。
FIG. 12 is a schematic flowchart of a subroutine of data input processing control.

【図13】モード設定処理制御のサブルーチンの概略フ
ローチャートである。
FIG. 13 is a schematic flowchart of a subroutine of mode setting processing control.

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

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

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

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

1 印字装置 3 キーボード 29 CPU 30 CGROM 31 ROM 40 RAM C 制御装置 PM 印字機構 1 Printer 3 Keyboard 29 CPU 30 CGROM 31 ROM 40 RAM C Controller PM Printing Mechanism

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 印字媒体としてのテープに印字する文字
列、及びその文字列を複数行に構成するための改行デー
タを入力する入力手段と、 左端揃えで印字する左端モード、センター揃えで印字す
るセンタリングモード、右端揃えで印字する右端モー
ド、等文字間隔で印字する等文字間隔モード、の行修飾
のうち少なくとも1つを、前記複数行のうちの少なくと
も1つの印字行に設定するモード設定手段と、 前記入力手段により入力された文字列の印字行数を検索
する検索手段と、 印字ヘッドと前記テープをそのテープの長手方向に相対
移動しながら、そのテープの長手方向に沿った文字列を
テープ幅方向に1行または複数行印字する印字手段と、 前記検索手段により検索された印字行数が複数あると
き、前記少なくとも1つの印字行に入力された文字列
を、そこに設定された行修飾にもとづいて、印字データ
に作成し、前記印字ヘッドに印字させる印字制御手段を
備えることを特徴とする印字装置。
1. A character string to be printed on a tape as a print medium, and an input means for inputting line feed data to compose the character string into a plurality of lines, a left-edge mode for printing in left-edge alignment, and a center-alignment for printing. Mode setting means for setting at least one of the line modifications of the centering mode, the right edge mode for printing with right edge alignment, and the equal character spacing mode for printing at equal character intervals in at least one print line of the plurality of lines. A retrieval unit for retrieving the number of print lines of the character string input by the input unit; a tape for character strings along the longitudinal direction of the tape while moving the print head and the tape in the longitudinal direction of the tape; Printing means for printing one or more lines in the width direction, and when there are a plurality of printing lines searched by the searching means, input to the at least one printing line A character string, based on the set row modified therein, the printing apparatus to create the print data, characterized in that it comprises a printing control means for printing on the print head.
【請求項2】 請求項1において、さらに前記検索手段
により検索された印字行数が複数あるとき、その複数行
のうちの最長の印字行を判別する判別手段を備え、前記
印字制御手段は、前記行修飾が設定された印字行の各文
字について前記最長の印字行を基準として演算した文字
位置データを格納する文字位置メモリ、その文字位置デ
ータにもとづいて各文字の印字データを格納する印字バ
ッファを有することを特徴とする印字装置。
2. The print control means according to claim 1, further comprising: a determining means for determining the longest print line among the plurality of print lines when the number of print lines searched by the search means is plural. A character position memory that stores character position data calculated based on the longest print line for each character of the print line set with the line modification, and a print buffer that stores print data of each character based on the character position data A printing device comprising:
【請求項3】 印字媒体としてのテープに印字する文字
のコードデータ、及びその文字を複数行に構成するため
の改行データを入力する入力手段と、 その入力手段により入力されたコードデータ及び改行デ
ータを格納する入力データバッファと、 左端揃えで印字する左端モード、センター揃えで印字す
るセンタリングモード、右端揃えで印字する右端モー
ド、等文字間隔で印字する等文字間隔モード、の行修飾
のうち少なくとも1つを、複数行のうちの少なくとも1
つの印字行に設定するモード設定手段と、 前記入力手段により入力された文字列の印字行数を検索
する検索手段と、 前記検索手段により検索された印字行数が複数あると
き、その複数行のうちの最長の印字行を判別する判別手
段と、 多数の文字のパターンデータを格納したパターンデータ
格納手段と、 印字ヘッドと前記テープをそのテープの長手方向に相対
移動しながら、そのテープの長手方向に沿った文字列を
テープ幅方向に複数行印字する印字手段と、 前記入力データバッファに格納されたコードデータに対
応するパターンデータを前記パターンデータ記憶手段か
ら読み出し、そのパターンデータにもとづいて前記印字
ヘッドに印字させる印字制御手段を備え、前記印字制御
手段は、前記検索手段により検索された印字行数が複数
あるとき、前記少なくとも1つの印字行に設定された行
修飾にもとづいて、その行の文字について前記最長の印
字行を基準として演算した文字位置データを格納する文
字位置メモリを有することを特徴とする印字装置。
3. Input means for inputting code data of characters to be printed on a tape as a print medium and line feed data for composing the characters into a plurality of lines, and code data and line feed data input by the input means. At least one of the line modifiers of the input data buffer that stores, the left edge mode that prints with left edge alignment, the centering mode that prints with center edge alignment, the right edge mode that prints with right edge alignment, and the equal character spacing mode that prints with equal character spacing. At least one of multiple lines
Mode setting means for setting one print line, search means for searching the print line number of the character string input by the input means, and when there are a plurality of print line searched by the search means, Of the longest print line, the pattern data storage means for storing the pattern data of a large number of characters, the print head and the tape in the longitudinal direction of the tape while moving the tape in the longitudinal direction of the tape. Printing means for printing a plurality of character strings along the tape width direction in the tape width direction, pattern data corresponding to the code data stored in the input data buffer is read from the pattern data storage means, and the printing is performed based on the pattern data. A print control unit for printing on the head is provided, and the print control unit has a plurality of print lines searched by the search unit. At this time, the printing is characterized by having a character position memory that stores character position data calculated based on the longest print line for the characters of the line based on the line decoration set in the at least one print line. apparatus.
【請求項4】 請求項3において、 前記印字制御手段は、さらに前記入力データバッファに
格納されたコードデータに対応するパターンデータを前
記文字位置データにもとづいて格納する印字バッファを
有することを特徴とする印字装置。
4. The print control means according to claim 3, further comprising a print buffer for storing pattern data corresponding to the code data stored in the input data buffer based on the character position data. Printing device.
【請求項5】 請求項1または3において、 前記印字ヘッドは、前記テープの印字領域の複数行の各
文字に対応する多数の印字素子を有することを特徴とす
る印字装置。
5. The printing device according to claim 1, wherein the print head has a large number of printing elements corresponding to respective characters in a plurality of lines in a print area of the tape.
【請求項6】 請求項1または3において、さらに前記
検索手段により検索された印字行数にもとづいて印字時
の文字サイズを指定する手段を備えることを特徴とする
印字装置。
6. The printing apparatus according to claim 1, further comprising a unit for designating a character size at the time of printing based on the number of print lines searched by the searching unit.
【請求項7】 請求項1または3において、さらに前記
複数行のうち、前記行修飾を設定する印字行を選択する
手段を備えることを特徴とする印字装置。
7. The printing apparatus according to claim 1, further comprising a unit for selecting a print line for setting the line decoration from among the plurality of lines.
JP6277727A 1994-11-11 1994-11-11 Printer enabling printing of plurality of lines on tape Pending JPH082014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6277727A JPH082014A (en) 1994-11-11 1994-11-11 Printer enabling printing of plurality of lines on tape

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6277727A JPH082014A (en) 1994-11-11 1994-11-11 Printer enabling printing of plurality of lines on tape

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP4018508A Division JP2556233B2 (en) 1992-01-07 1992-01-07 Tape printer

Publications (1)

Publication Number Publication Date
JPH082014A true JPH082014A (en) 1996-01-09

Family

ID=17587485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6277727A Pending JPH082014A (en) 1994-11-11 1994-11-11 Printer enabling printing of plurality of lines on tape

Country Status (1)

Country Link
JP (1) JPH082014A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005297269A (en) * 2004-04-08 2005-10-27 Casio Comput Co Ltd Character output apparatus
JP2006001131A (en) * 2004-06-17 2006-01-05 Seiko Epson Corp Character information processor, information processing method of character information processor, program and storage medium
JP2016132154A (en) * 2015-01-19 2016-07-25 コニカミノルタ株式会社 Manufacturing method of printed matter, printer, and control program for controlling printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005297269A (en) * 2004-04-08 2005-10-27 Casio Comput Co Ltd Character output apparatus
JP2006001131A (en) * 2004-06-17 2006-01-05 Seiko Epson Corp Character information processor, information processing method of character information processor, program and storage medium
JP2016132154A (en) * 2015-01-19 2016-07-25 コニカミノルタ株式会社 Manufacturing method of printed matter, printer, and control program for controlling printer

Similar Documents

Publication Publication Date Title
JP2556233B2 (en) Tape printer
JP2556238B2 (en) Tape printer
JPH05305749A (en) Tape printer
JP2621741B2 (en) Recording device
JPH082014A (en) Printer enabling printing of plurality of lines on tape
JP2621726B2 (en) Tape printer
JPH0778140A (en) Document processor
JP2546194B2 (en) Tape printer capable of printing multiple lines of data
JPH07210138A (en) Document processor
JP3118999B2 (en) Scale printing equipment
JPH07214860A (en) Document processing equipment
JPH07276715A (en) Tape printer capable of printing a plurality of blocks in optional number of lines
JPH06198961A (en) Register dot pattern data processor of document processor
JP3060443B2 (en) Printing device
JPH06110891A (en) Documentation device
JPH07266628A (en) Tape printer
JPH0776146A (en) Tape printer
JPH05177901A (en) Printer
JPH0872321A (en) Tapelike label forming apparatus
JPH07285244A (en) Printing device
JPH08314924A (en) Document processor
JP2556233C (en)
JP3292393B2 (en) Document processing device
JPH0679927A (en) Scale printer
JP2513441B2 (en) Tape printing device capable of printing multiple lines